diff --git a/src/assets/index.html b/src/assets/index.html index 3e14ea5..b5256e5 100644 --- a/src/assets/index.html +++ b/src/assets/index.html @@ -431,8 +431,6 @@ - - diff --git a/src/assets/javascripts/bootstrap-vue.min.js b/src/assets/javascripts/bootstrap-vue.min.js deleted file mode 100644 index 52768f2..0000000 --- a/src/assets/javascripts/bootstrap-vue.min.js +++ /dev/null @@ -1,11 +0,0 @@ -/*! - * BootstrapVue 2.15.0 - * - * @link https://bootstrap-vue.org - * @source https://github.com/bootstrap-vue/bootstrap-vue - * @copyright (c) 2016-2020 BootstrapVue - * @license MIT - * https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE - */ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):(t=t||self).bootstrapVue=e(t.Vue)}(this,(function(t){"use strict";function e(t){return(e="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 i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var i=0;it.length)&&(e=t.length);for(var i=0,n=new Array(e);i0,K=(/msie|trident/.test(Y),function(){var t=!1;if(U)try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}()),X=U&&("ontouchstart"in document.documentElement||navigator.maxTouchPoints>0),Z=U&&Boolean(window.PointerEvent||window.MSPointerEvent),J=U&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,Q=function(){return 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}("BOOTSTRAP_VUE_NO_WARN")},tt=H?window:{},et=H?tt.Element:function(t){l(Element,t);var e=v(Element);function Element(){return i(this,Element),e.apply(this,arguments)}return Element}(f(Object)),HTMLElement=H?tt.HTMLElement:function(t){l(HTMLElement,t);var e=v(HTMLElement);function HTMLElement(){return i(this,HTMLElement),e.apply(this,arguments)}return HTMLElement}(et),SVGElement=H?tt.SVGElement:function(t){l(SVGElement,t);var e=v(SVGElement);function SVGElement(){return i(this,SVGElement),e.apply(this,arguments)}return SVGElement}(et),it=H?tt.File:function(t){l(n,t);var e=v(n);function n(){return i(this,n),e.apply(this,arguments)}return n}(f(Object)),nt=function(t){return e(t)},at=function(t){return void 0===t},rt=function(t){return null===t},ot=function(t){return at(t)||rt(t)},st=function(t){return"function"===nt(t)},lt=function(t){return"boolean"===nt(t)},ut=function(t){return"string"===nt(t)},ct=function(t){return"number"===nt(t)},dt=function(t){return t instanceof Date},ht=function(t){return t instanceof Event},ft=function(t){return"RegExp"===function(t){return Object.prototype.toString.call(t).slice(8,-1)}(t)},pt=function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return k(e)?e.reduce((function(e,i){return[].concat(y(e),[t(i,i)])}),[]):N(e)?A(e).reduce((function(i,n){return s(s({},i),{},r({},n,t(e[n],e[n])))}),{}):i},mt=function(t){return t},vt=/\[(\d+)]/g,gt=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!(e=k(e)?e.join("."):e)||!V(t))return i;if(e in t)return t[e];var n=(e=String(e).replace(vt,".$1")).split(".").filter(mt);return 0===n.length?i:n.every((function(e){return V(t)&&e in t&&!ot(t=t[e])}))?t:rt(t)?null:i},bt=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=gt(t,e);return ot(n)?i:n},yt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Q()||console.warn("[BootstrapVue warn]: ".concat(e?"".concat(e," - "):"").concat(t))},St=function(t){return!U&&(yt("".concat(t,": Can not be called during SSR.")),!0)},Tt=function(t){return!G&&(yt("".concat(t,": Requires Promise support.")),!0)},wt=function t(e){return A(e).forEach((function(i){var n=e[i];e[i]=n&&(N(n)||k(n))?t(n):n})),I(e)}({breakpoints:["xs","sm","md","lg","xl"],formControls:{size:void 0},BAlert:{dismissLabel:"Close",variant:"info"},BAvatar:{variant:"secondary",badgeVariant:"primary"},BBadge:{variant:"secondary"},BButton:{size:void 0,variant:"secondary"},BButtonClose:{content:"×",textVariant:void 0,ariaLabel:"Close"},BCalendar:{labelPrevDecade:"Previous decade",labelPrevYear:"Previous year",labelPrevMonth:"Previous month",labelCurrentMonth:"Current month",labelNextMonth:"Next month",labelNextYear:"Next year",labelNextDecade:"Next decade",labelToday:"Today",labelSelected:"Selected date",labelNoDateSelected:"No date selected",labelCalendar:"Calendar",labelNav:"Calendar navigation",labelHelp:"Use cursor keys to navigate calendar dates"},BCardSubTitle:{subTitleTextVariant:"muted"},BCarousel:{labelPrev:"Previous Slide",labelNext:"Next Slide",labelGotoSlide:"Goto Slide",labelIndicators:"Select a slide to display"},BDropdown:{toggleText:"Toggle Dropdown",size:void 0,variant:"secondary",splitVariant:void 0},BFormDatepicker:{labelPrevDecade:void 0,labelPrevYear:void 0,labelPrevMonth:void 0,labelCurrentMonth:void 0,labelNextMonth:void 0,labelNextYear:void 0,labelNextDecade:void 0,labelToday:void 0,labelSelected:void 0,labelNoDateSelected:void 0,labelCalendar:void 0,labelNav:void 0,labelHelp:void 0,labelTodayButton:"Select today",labelResetButton:"Reset",labelCloseButton:"Close"},BFormFile:{browseText:"Browse",placeholder:"No file chosen",dropPlaceholder:"Drop files here"},BFormRating:{variant:null,color:null},BFormTag:{removeLabel:"Remove tag",variant:"secondary"},BFormTags:{addButtonText:"Add",addButtonVariant:"outline-secondary",duplicateTagText:"Duplicate tag(s)",invalidTagText:"Invalid tag(s)",placeholder:"Add tag...",tagRemoveLabel:"Remove tag",tagRemovedLabel:"Tag removed",tagVariant:"secondary"},BFormText:{textVariant:"muted"},BFormTimepicker:{labelNoTimeSelected:void 0,labelSelected:void 0,labelHours:void 0,labelMinutes:void 0,labelSeconds:void 0,labelAmpm:void 0,labelAm:void 0,labelPm:void 0,labelDecrement:void 0,labelIncrement:void 0,labelNowButton:"Select now",labelResetButton:"Reset",labelCloseButton:"Close"},BFormSpinbutton:{labelDecrement:"Decrement",labelIncrement:"Increment"},BImg:{blankColor:"transparent"},BImgLazy:{blankColor:"transparent"},BInputGroup:{size:void 0},BJumbotron:{bgVariant:void 0,borderVariant:void 0,textVariant:void 0},BLink:{routerComponentName:void 0},BListGroupItem:{variant:void 0},BModal:{titleTag:"h5",size:"md",headerBgVariant:void 0,headerBorderVariant:void 0,headerTextVariant:void 0,headerCloseVariant:void 0,bodyBgVariant:void 0,bodyTextVariant:void 0,footerBgVariant:void 0,footerBorderVariant:void 0,footerTextVariant:void 0,cancelTitle:"Cancel",cancelVariant:"secondary",okTitle:"OK",okVariant:"primary",headerCloseContent:"×",headerCloseLabel:"Close"},BNavbar:{variant:null},BNavbarToggle:{label:"Toggle navigation"},BPagination:{size:void 0},BPaginationNav:{size:void 0},BPopover:{boundary:"scrollParent",boundaryPadding:5,customClass:void 0,delay:50,variant:void 0},BProgress:{variant:void 0},BProgressBar:{variant:void 0},BSpinner:{variant:void 0},BSidebar:{bgVariant:"light",textVariant:"dark",shadow:!1,width:void 0,tag:"div",backdropVariant:"dark"},BTable:{selectedVariant:"active",headVariant:void 0,footVariant:void 0},BTime:{labelNoTimeSelected:"No time selected",labelSelected:"Selected time",labelHours:"Hours",labelMinutes:"Minutes",labelSeconds:"Seconds",labelAmpm:"AM/PM",labelAm:"AM",labelPm:"PM",labelIncrement:void 0,labelDecrement:void 0},BToast:{toaster:"b-toaster-top-right",autoHideDelay:5e3,variant:void 0,toastClass:void 0,headerClass:void 0,bodyClass:void 0},BToaster:{ariaLive:void 0,ariaAtomic:void 0,role:void 0},BTooltip:{boundary:"scrollParent",boundaryPadding:5,customClass:void 0,delay:50,variant:void 0}}),Bt="BvConfig",Ct=function(){function t(){i(this,t),this.$_config={},this.$_cachedBreakpoints=null}return a(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(N(e)){var i=O(e);i.forEach((function(i){if(E(wt,i)){var n=e[i];if("breakpoints"===i){var a=e.breakpoints;!k(a)||a.length<2||a.some((function(t){return!ut(t)||0===t.length}))?yt('"breakpoints" must be an array of at least 2 breakpoint names',Bt):t.$_config.breakpoints=pt(a)}else if(N(n)){O(n).forEach((function(e){E(wt[i],e)?(t.$_config[i]=t.$_config[i]||{},at(n[e])||(t.$_config[i][e]=pt(n[e]))):yt('Unknown config property "'.concat(i,".").concat(e,'"'),Bt)}))}}else yt('Unknown config property "'.concat(i,'"'),Bt)}))}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return pt(this.$_config)}},{key:"getConfigValue",value:function(t){return pt(gt(this.$_config,t,gt(wt,t)))}},{key:"defaults",get:function(){return wt}}],[{key:"Defaults",get:function(){return wt}}]),t}(),kt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;i.prototype.$bvConfig=t.prototype.$bvConfig=i.prototype.$bvConfig||t.prototype.$bvConfig||new Ct,i.prototype.$bvConfig.setConfig(e)},xt=(w=!1,B=["Multiple instances of Vue detected!","You may need to set up an alias for Vue in your bundler config.","See: https://bootstrap-vue.org/docs#using-module-bundlers"].join("\n"),function(e){w||t===e||q||yt(B),w=!0}),$t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,i=t.directives,n=t.plugins,a=function t(a){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,xt(a),kt(r,a),Ft(a,e),Ot(a,i),Pt(a,n))};return a.installed=!1,a},Dt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s(s({},e),{},{install:$t(t)})},Pt=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])},_t=function(t,e,i){t&&e&&i&&t.component(e,i)},Ft=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)_t(t,i,e[i])},It=function(t,e,i){t&&e&&i&&t.directive(e.replace(/^VB/,"B"),i)},Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)It(t,i,e[i])},At=function(t){var e=P(null);return function(){for(var i=arguments.length,n=new Array(i),a=0;a1&&void 0!==arguments[1]?arguments[1]:null;return e?Vt("".concat(t,".").concat(e)):Vt(t)||{}},Lt=function(){return Vt("breakpoints")},Mt=At((function(){return Lt()})),Rt=At((function(){var t=pt(Mt());return t[0]="",t})),Ht=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,i=parseInt(t,10);return isNaN(i)?e:i},zt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,i=parseFloat(t);return isNaN(i)?e:i},jt=function(t,e){return zt(t).toFixed(Ht(e,0))},Gt=/^\s+/,Wt=/[-/\\^$*+?.()|[\]{}]/g,Ut=/-(\w)/g,Yt=/\B([A-Z])/g,qt=function(t){return t.replace(Yt,"-$1").toLowerCase()},Kt=function(t){return(t=qt(t).replace(Ut,(function(t,e){return e?e.toUpperCase():""}))).charAt(0).toUpperCase()+t.slice(1)},Xt=function(t){return(t=ut(t)?t.trim():String(t)).charAt(0).toUpperCase()+t.slice(1)},Zt=function(t){return t.replace(Wt,"\\$&")},Jt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return ot(t)?"":k(t)||N(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},Qt=function(t){return Jt(t).trim()},te=function(t){return Jt(t).toLowerCase()},ee=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map((function(t){return"".concat(t,":not(:disabled):not([disabled])")})).join(", "),ie=H?window:{},ne=z?document:{},ae="undefined"!=typeof Element?Element.prototype:{},re=ae.matches||ae.msMatchesSelector||ae.webkitMatchesSelector,oe=ae.closest||function(t){var e=this;do{if(be(e,t))return e;e=e.parentElement||e.parentNode}while(!rt(e)&&e.nodeType===Node.ELEMENT_NODE);return null},se=ie.requestAnimationFrame||ie.webkitRequestAnimationFrame||ie.mozRequestAnimationFrame||ie.msRequestAnimationFrame||ie.oRequestAnimationFrame||function(t){return setTimeout(t,16)},le=ie.MutationObserver||ie.WebKitMutationObserver||ie.MozMutationObserver||null,ue=function(t){return!(!t||t.nodeType!==Node.ELEMENT_NODE)},ce=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=ne.activeElement;return e&&!t.some((function(t){return t===e}))?e:null},de=function(t,e){return Jt(t).toLowerCase()===Jt(e).toLowerCase()},he=function(t){return ue(t)&&t===ce()},fe=function(t){if(!ue(t)||!t.parentNode||!Se(ne.body,t))return!1;if("none"===t.style.display)return!1;var e=Pe(t);return!!(e&&e.height>0&&e.width>0)},pe=function(t){return!ue(t)||t.disabled||De(t,"disabled")||Ce(t,"disabled")},me=function(t){return ue(t)&&t.offsetHeight},ve=function(t,e){return C((ue(e)?e:ne).querySelectorAll(t))},ge=function(t,e){return(ue(e)?e:ne).querySelector(t)||null},be=function(t,e){return!!ue(t)&&re.call(t,e)},ye=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!ue(e))return null;var n=oe.call(e,t);return i?n:n===e?null:n},Se=function(t,e){return!(!t||!st(t.contains))&&t.contains(e)},Te=function(t){return ne.getElementById(/^#/.test(t)?t.slice(1):t)||null},we=function(t,e){e&&ue(t)&&t.classList&&t.classList.add(e)},Be=function(t,e){e&&ue(t)&&t.classList&&t.classList.remove(e)},Ce=function(t,e){return!!(e&&ue(t)&&t.classList)&&t.classList.contains(e)},ke=function(t,e,i){e&&ue(t)&&t.setAttribute(e,i)},xe=function(t,e){e&&ue(t)&&t.removeAttribute(e)},$e=function(t,e){return e&&ue(t)?t.getAttribute(e):null},De=function(t,e){return e&&ue(t)?t.hasAttribute(e):null},Pe=function(t){return ue(t)?t.getBoundingClientRect():null},_e=function(t){return H&&ue(t)?ie.getComputedStyle(t):{}},Fe=function(){return H&&ie.getSelection?ie.getSelection():null},Ie=function(t){var e={top:0,left:0};if(!ue(t)||0===t.getClientRects().length)return e;var i=Pe(t);if(i){var n=t.ownerDocument.defaultView;e.top=i.top+n.pageYOffset,e.left=i.left+n.pageXOffset}return e},Oe=function(t){var e={top:0,left:0};if(!ue(t))return e;var i={top:0,left:0},n=_e(t);if("fixed"===n.position)e=Pe(t)||e;else{e=Ie(t);for(var a=t.ownerDocument,r=t.offsetParent||a.documentElement;r&&(r===a.body||r===a.documentElement)&&"static"===_e(r).position;)r=r.parentNode;if(r&&r!==t&&r.nodeType===Node.ELEMENT_NODE){i=Ie(r);var o=_e(r);i.top+=zt(o.borderTopWidth,0),i.left+=zt(o.borderLeftWidth,0)}}return{top:e.top-i.top-zt(n.marginTop,0),left:e.left-i.left-zt(n.marginLeft,0)}},Ae=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return ve(ee,t).filter(fe).filter((function(t){return t.tabIndex>-1&&!t.disabled}))},Ee=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t.focus(e)}catch(t){}return he(t)},Ve=function(t){try{t.blur()}catch(t){}return!he(t)},Ne=function(){return(Ne=Object.assign||function(t){for(var e,i=1,n=arguments.length;i1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(t=$(t).filter(mt)).some((function(t){return e[t]||i[t]}))},qe=function(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=$(t).filter(mt);for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},i=qe(t,e,this.$scopedSlots,this.$slots);return i?$(i):i}}},Xe="BButtonClose",Ze={content:{type:String,default:function(){return Nt(Xe,"content")}},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:function(){return Nt(Xe,"ariaLabel")}},textVariant:{type:String,default:function(){return Nt(Xe,"textVariant")}}},Je=t.extend({name:Xe,functional:!0,props:Ze,render:function(t,e){var i=e.props,n=e.data,a=e.slots,o=e.scopedSlots,s=a(),l=o||{},u={staticClass:"close",class:r({},"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&&ht(t)&&(t.stopPropagation(),t.preventDefault())}}};return Ye("default",l,s)||(u.domProps={innerHTML:i.content}),t("button",je(n,u),qe("default",{},l,s))}}),Qe=function(t){return""===t||lt(t)?0:(t=Ht(t,0))>0?t:0},ti=function(t){return""===t||!0===t||!(Ht(t,0)<1)&&!!t},ei=function(t){return!isNaN(Ht(t))},ii=Dt({components:{BAlert:t.extend({name:"BAlert",mixins:[Ke],model:{prop:"show",event:"input"},props:{variant:{type:String,default:function(){return Nt("BAlert","variant")}},dismissible:{type:Boolean,default:!1},dismissLabel:{type:String,default:function(){return Nt("BAlert","dismissLabel")}},show:{type:[Boolean,Number,String],default:!1},fade:{type:Boolean,default:!1}},data:function(){return{countDown:0,countDownTimeout:null,localShow:ti(this.show)}},watch:{show:function(t){this.countDown=Qe(t),this.localShow=ti(t)},countDown:function(t){var e=this;this.clearCountDownInterval(),ei(this.show)&&(this.$emit("dismiss-count-down",t),this.show!==t&&this.$emit("input",t),t>0?(this.localShow=!0,this.countDownTimeout=setTimeout((function(){e.countDown--}),1e3)):this.$nextTick((function(){se((function(){e.localShow=!1}))})))},localShow:function(t){t||!this.dismissible&&!ei(this.show)||this.$emit("dismissed"),ei(this.show)||this.show===t||this.$emit("input",t)}},created:function(){this.countDown=Qe(this.show),this.localShow=ti(this.show)},mounted:function(){this.countDown=Qe(this.show),this.localShow=ti(this.show)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){this.countDownTimeout&&(clearTimeout(this.countDownTimeout),this.countDownTimeout=null)}},render:function(t){var e;if(this.localShow){var i=t();this.dismissible&&(i=t(Je,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot("dismiss")])),e=[e=t("div",{key:this._uid,staticClass:"alert",class:r({"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(Ue,{props:{noFade:!this.fade}},e)}})}}),ni=Math.min,ai=Math.max,ri=Math.abs,oi=Math.ceil,si=Math.floor,li=Math.pow,ui=Math.round,ci=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,di=/[/:]/,hi=Dt({components:{BAspect:t.extend({name:"BAspect",mixins:[Ke],props:{aspect:{type:[Number,String],default:"1:1"},tag:{type:String,default:"div"}},computed:{padding:function(){var t=this.aspect,e=1;if(ci.test(t)){var i=b(t.split(di).map((function(t){return zt(t)||1})),2);e=i[0]/i[1]}else e=zt(t)||1;return"".concat(100/ri(e),"%")}},render:function(t){var e=t("div",{staticClass:"".concat("b-aspect","-sizer flex-grow-1"),style:{paddingBottom:this.padding,height:0}}),i=t("div",{staticClass:"".concat("b-aspect","-content flex-grow-1 w-100 mw-100"),style:{marginLeft:"-100%"}},[this.normalizeSlot("default")]);return t(this.tag,{staticClass:"".concat("b-aspect"," d-flex")},[e,i])}})}}),fi=function(t,e){return t+Xt(e)},pi=function(t,e){return i=e.replace(t,""),(i=ut(i)?i.trim():String(i)).charAt(0).toLowerCase()+i.slice(1);var i},mi=function(t,e){return e+(t?Xt(t):"")},vi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:mt;if(k(t))return t.map(e);var i={};for(var n in t)E(t,n)&&(i[e(n)]=V(t[n])?L(t[n]):t[n]);return i},gi=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:mt;return(k(t)?t.slice():A(t)).reduce((function(t,n){return t[i(n)]=e[n],t}),{})},bi=/%2C/g,yi=/[!'()*]/g,Si=/\+/g,Ti=/^(\?|#|&)/,wi=function(t){return"%"+t.charCodeAt(0).toString(16)},Bi=function(t){return encodeURIComponent(Jt(t)).replace(yi,wi).replace(bi,",")},Ci=decodeURIComponent,ki=function(t){if(!N(t))return"";var e=A(t).map((function(e){var i=t[e];return at(i)?"":rt(i)?Bi(e):k(i)?i.reduce((function(t,i){return rt(i)?t.push(Bi(e)):at(i)||t.push(Bi(e)+"="+Bi(i)),t}),[]).join("&"):Bi(e)+"="+Bi(i)})).filter((function(t){return t.length>0})).join("&");return e?"?".concat(e):""},xi=function(t){var e={};return(t=Jt(t).trim().replace(Ti,""))?(t.split("&").forEach((function(t){var i=t.replace(Si," ").split("="),n=Ci(i.shift()),a=i.length>0?Ci(i.join("=")):null;at(e[n])?e[n]=a:k(e[n])?e[n].push(a):e[n]=[e[n],a]})),e):e},$i=function(t){return!(!t.href&&!t.to)},Di=function(t){return!de(t,"a")},Pi=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]:"a",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(Di(n))return null;if(e)return e;if(i){if(ut(i))return i||r;if(N(i)&&(i.path||i.query||i.hash)){var o=Jt(i.path),s=ki(i.query),l=Jt(i.hash);return l=l&&"#"!==l.charAt(0)?"#".concat(l):l,"".concat(o).concat(s).concat(l)||r}}return a},_i=I({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}),Fi=function(t){return{handler:function(e,i){for(var n in i)E(e,n)||this.$delete(this.$data[t],n);for(var a in e)this.$set(this.$data[t],a,e[a])}}},Ii=function(t,e){return{data:function(){return r({},e,{})},watch:r({},t,Fi(e)),created:function(){this[e]=s({},this[t])}}},Oi=Ii("$attrs","bvAttrs"),Ai=Ii("$listeners","bvListeners"),Ei={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"}},Vi={prefetch:{type:Boolean,default:null},noPrefetch:{type:Boolean,default:!1}},Ni=s(s(s({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}},Ei),Vi),{},{routerComponentName:{type:String,default:function(){return Nt("BLink","routerComponentName")}}}),Li=t.extend({name:"BLink",mixins:[Oi,Ai,Ke],inheritAttrs:!1,props:Ni,computed:{computedTag:function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.to,i=t.disabled,n=t.routerComponentName,a=arguments.length>1?arguments[1]:void 0,r=a.$router;return!r||r&&i||r&&!e?"a":n||(a.$nuxt?"nuxt-link":"router-link")}({to:this.to,disabled:this.disabled,routerComponentName:this.routerComponentName},this)},isRouterLink:function(){return Di(this.computedTag)},computedRel:function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,i=t.rel;return"_blank"===e&&rt(i)?"noopener":i||null}({target:this.target,rel:this.rel})},computedHref:function(){return Pi({to:this.to,href:this.href},this.computedTag)},computedProps:function(){var t=this.prefetch;return this.isRouterLink?s(s({},gi(s(s({},Ei),Vi),this)),{},{prefetch:lt(t)?t:void 0,tag:this.routerTag}):{}},computedAttrs:function(){var t=this.bvAttrs,e=this.computedHref,i=this.computedRel,n=this.disabled,a=this.target,r=this.routerTag,o=this.isRouterLink;return s(s(s(s({},t),e?{href:e}:{}),o&&"a"!==r&&"area"!==r?{}:{rel:i,target:a}),{},{tabindex:n?"-1":at(t.tabindex)?null:t.tabindex,"aria-disabled":n?"true":null})},computedListeners:function(){return s(s({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(t){var e=arguments,i=ht(t),n=this.isRouterLink,a=this.bvListeners.click;i&&this.disabled?(t.stopPropagation(),t.stopImmediatePropagation()):(n&&t.currentTarget.__vue__&&t.currentTarget.__vue__.$emit("click",t),$(a).filter((function(t){return st(t)})).forEach((function(t){t.apply(void 0,y(e))})),this.$root.$emit("clicked::link",t)),i&&(this.disabled||!n&&"#"===this.computedHref)&&t.preventDefault()},focus:function(){Ee(this.$el)},blur:function(){Ve(this.$el)}},render:function(t){var e=this.active,i=this.disabled;return t(this.computedTag,r({class:{active:e,disabled:i},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot("default"))}}),Mi=R(Ni,["event","routerTag"]);delete Mi.href.default,delete Mi.to.default;var Ri=s(s({},{block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String,default:function(){return Nt("BButton","size")}},variant:{type:String,default:function(){return Nt("BButton","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}}),Mi),Hi=function(t){"focusin"===t.type?we(t.target,"focus"):"focusout"===t.type&&Be(t.target,"focus")},zi=function(t){return $i(t)||de(t.tag,"a")},ji=function(t){return lt(t.pressed)},Gi=function(t){return!(zi(t)||t.tag&&!de(t.tag,"button"))},Wi=function(t){return!zi(t)&&!Gi(t)},Ui=function(t){var e;return["btn-".concat(t.variant||Nt("BButton","variant")),(e={},r(e,"btn-".concat(t.size),t.size),r(e,"btn-block",t.block),r(e,"rounded-pill",t.pill),r(e,"rounded-0",t.squared&&!t.pill),r(e,"disabled",t.disabled),r(e,"active",t.pressed),e)]},Yi=function(t){return zi(t)?gi(Mi,t):{}},qi=function(t,e){var i=Gi(t),n=zi(t),a=ji(t),r=Wi(t),o=n&&"#"===t.href,s=e.attrs&&e.attrs.role?e.attrs.role:null,l=e.attrs?e.attrs.tabindex:null;return(r||o)&&(l="0"),{type:i&&!n?t.type:null,disabled:i?t.disabled:null,role:r||o?"button":s,"aria-disabled":r?String(t.disabled):null,"aria-pressed":a?String(t.pressed):null,autocomplete:a?"off":null,tabindex:t.disabled&&!i?"-1":l}},Ki=t.extend({name:"BButton",functional:!0,props:Ri,render:function(t,e){var i=e.props,n=e.data,a=e.listeners,r=e.children,o=ji(i),s=zi(i),l=Wi(i),u=s&&"#"===i.href,c={keydown:function(t){if(!i.disabled&&(l||u)){var e=t.keyCode;if(e===_i.SPACE||e===_i.ENTER&&l){var n=t.currentTarget||t.target;t.preventDefault(),n.click()}}},click:function(t){i.disabled&&ht(t)?(t.stopPropagation(),t.preventDefault()):o&&a&&a["update:pressed"]&&$(a["update:pressed"]).forEach((function(t){st(t)&&t(!i.pressed)}))}};o&&(c.focusin=Hi,c.focusout=Hi);var d={staticClass:"btn",class:Ui(i),props:Yi(i),attrs:qi(i,n),on:c};return t(s?Li:i.tag,je(n,d),r)}}),Xi={variant:{type:String,default:null},fontScale:{type:[Number,String],default:1},scale:{type:[Number,String],default:1},rotate:{type:[Number,String],default:0},flipH:{type:Boolean,default:!1},flipV:{type:Boolean,default:!1},shiftH:{type:[Number,String],default:0},shiftV:{type:[Number,String],default:0},animation:{type:String,default:null}},Zi={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img",alt:"icon"},Ji={width:null,height:null,focusable:null,role:null,alt:null},Qi=t.extend({name:"BVIconBase",functional:!0,props:s({content:{type:String},stacked:{type:Boolean,default:!1}},Xi),render:function(t,e){var i,n=e.data,a=e.props,o=e.children,s=ai(zt(a.fontScale,1),0)||1,l=ai(zt(a.scale,1),0)||1,u=zt(a.rotate,0),c=zt(a.shiftH,0),d=zt(a.shiftV,0),h=a.flipH,f=a.flipV,p=a.animation,m=h||f||1!==l,v=m||u,g=c||d,b=[v?"translate(8 8)":null,m?"scale(".concat((h?-1:1)*l," ").concat((f?-1:1)*l,")"):null,u?"rotate(".concat(u,")"):null,v?"translate(-8 -8)":null].filter(mt),y=a.stacked,S=!ot(a.content),T=t("g",{attrs:{transform:b.join(" ")||null},domProps:S?{innerHTML:a.content||""}:{}},o);return g&&(T=t("g",{attrs:{transform:"translate(".concat(16*c/16," ").concat(-16*d/16,")")}},[T])),y&&(T=t("g",{},[T])),t("svg",je({staticClass:"b-icon bi",class:(i={},r(i,"text-".concat(a.variant),!!a.variant),r(i,"b-icon-animation-".concat(p),!!p),i),attrs:Zi,style:y?{}:{fontSize:1===s?null:"".concat(100*s,"%")}},n,y?{attrs:Ji}:{},{attrs:{xmlns:y?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),[T])}}),tn=function(e,i){var n="BIcon".concat(Kt(e)),a="bi-".concat(qt(e)),r=Qt(i||"");return t.extend({name:n,functional:!0,props:s(s({},Xi),{},{stacked:{type:Boolean,default:!1}}),render:function(t,e){var i=e.data,n=e.props;return t(Qi,je(i,{staticClass:a,props:s(s({},n),{},{content:r})}))}})},en=tn("Blank",""),nn=tn("Calendar",''),an=tn("CalendarFill",''),rn=tn("ChevronBarLeft",''),on=tn("ChevronDoubleLeft",''),sn=tn("ChevronDown",''),ln=tn("ChevronLeft",''),un=tn("ChevronUp",''),cn=tn("CircleFill",''),dn=tn("Clock",''),hn=tn("ClockFill",''),fn=tn("Dash",''),pn=tn("PersonFill",''),mn=tn("Plus",''),vn=tn("Star",''),gn=tn("StarFill",''),bn=tn("StarHalf",''),yn=tn("X",''),Sn=/^BIcon/,Tn=t.extend({name:"BIcon",functional:!0,props:s(s({icon:{type:String,default:null}},Xi),{},{stacked:{type:Boolean,default:!1}}),render:function(t,e){var i=e.data,n=e.props,a=e.parent,r=Kt(Qt(n.icon||"")).replace(Sn,""),o="BIcon".concat(r),l=((a||{}).$options||{}).components;return t(r&&l?l[o]||en:r?o:en,je(i,{props:s(s({},n),{},{icon:null})}))}}),wn=/^[0-9]*\.?[0-9]+$/,Bn={sm:"1.5em",md:"2.5em",lg:"3.5em"},Cn=R(Ni,["active","event","routerTag"]),kn=s(s({src:{type:String},text:{type:String},icon:{type:String},alt:{type:String,default:"avatar"},variant:{type:String,default:function(){return Nt("BAvatar","variant")}},size:{type:[Number,String],default:null},square:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},button:{type:Boolean,default:!1},buttonType:{type:String,default:"button"},badge:{type:[Boolean,String],default:!1},badgeVariant:{type:String,default:function(){return Nt("BAvatar","badgeVariant")}},badgeTop:{type:Boolean,default:!1},badgeLeft:{type:Boolean,default:!1},badgeOffset:{type:String,default:"0px"}},Cn),{},{ariaLabel:{type:String}}),xn=function(t){return t=ot(t)||""===t?"md":ut(t)&&wn.test(t)?zt(t,0):t,ct(t)?"".concat(t,"px"):Bn[t]||t},$n=Dt({components:{BAvatar:t.extend({name:"BAvatar",mixins:[Ke],inject:{bvAvatarGroup:{default:null}},props:kn,data:function(){return{localSrc:this.src||null}},computed:{computedSize:function(){return xn(this.bvAvatarGroup?this.bvAvatarGroup.size:this.size)},computedVariant:function(){var t=this.bvAvatarGroup;return t&&t.variant?t.variant:this.variant},computedRounded:function(){var t=this.bvAvatarGroup,e=!(!t||!t.square)||this.square,i=t&&t.rounded?t.rounded:this.rounded;return e?"0":""===i||(i||"circle")},fontStyle:function(){var t=this.computedSize;return(t=t?"calc(".concat(t," * ").concat(.4,")"):null)?{fontSize:t}:{}},marginStyle:function(){var t=this.bvAvatarGroup,e=t?t.overlapScale:0,i=this.computedSize,n=i&&e?"calc(".concat(i," * -").concat(e,")"):null;return n?{marginLeft:n,marginRight:n}:{}},badgeStyle:function(){var t=this.computedSize,e=this.badgeTop,i=this.badgeLeft,n=this.badgeOffset||"0px";return{fontSize:t?"calc(".concat(t," * ").concat(.4*.7," )"):null,top:e?n:null,bottom:e?null:n,left:i?n:null,right:i?null:n}}},watch:{src:function(t,e){t!==e&&(this.localSrc=t||null)}},methods:{onImgError:function(t){this.localSrc=null,this.$emit("img-error",t)},onClick:function(t){this.$emit("click",t)}},render:function(t){var e,i=this.computedVariant,n=this.disabled,a=this.computedRounded,o=this.icon,l=this.localSrc,u=this.text,c=this.fontStyle,d=this.marginStyle,h=this.computedSize,f=this.button,p=this.buttonType,m=this.badge,v=this.badgeVariant,g=this.badgeStyle,b=!f&&$i(this),y=f?Ki:b?Li:"span",S=this.alt||null,T=this.ariaLabel||null,w=null;this.hasNormalizedSlot("default")?w=t("span",{staticClass:"b-avatar-custom"},[this.normalizeSlot("default")]):l?(w=t("img",{style:i?{}:{width:"100%",height:"100%"},attrs:{src:l,alt:S},on:{error:this.onImgError}}),w=t("span",{staticClass:"b-avatar-img"},[w])):w=o?t(Tn,{props:{icon:o},attrs:{"aria-hidden":"true",alt:S}}):u?t("span",{staticClass:"b-avatar-text",style:c},[t("span",u)]):t(pn,{attrs:{"aria-hidden":"true",alt:S}});var B=t(),C=this.hasNormalizedSlot("badge");if(m||""===m||C){var k=!0===m?"":m;B=t("span",{staticClass:"b-avatar-badge",class:r({},"badge-".concat(v),!!v),style:g},[C?this.normalizeSlot("badge"):k])}return t(y,{staticClass:"b-avatar",class:(e={},r(e,"badge-".concat(i),!f&&i),r(e,"rounded",!0===a),r(e,"rounded-".concat(a),a&&!0!==a),r(e,"disabled",n),e),style:s({width:h,height:h},d),attrs:{"aria-label":T||null},props:f?{variant:i,disabled:n,type:p}:b?gi(Cn,this):{},on:f||b?{click:this.onClick}:{}},[w,B])}}),BAvatarGroup:t.extend({name:"BAvatarGroup",mixins:[Ke],provide:function(){return{bvAvatarGroup:this}},props:{variant:{type:String,default:null},size:{type:String,default:null},overlap:{type:[Number,String],default:.3},square:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},tag:{type:String,default:"div"}},computed:{computedSize:function(){return xn(this.size)},overlapScale:function(){return ni(ai(zt(this.overlap,0),0),1)/2},paddingStyle:function(){var t=this.computedSize;return(t=t?"calc(".concat(t," * ").concat(this.overlapScale,")"):null)?{paddingLeft:t,paddingRight:t}:{}}},render:function(t){var e=t("div",{staticClass:"b-avatar-group-inner",style:this.paddingStyle},[this.normalizeSlot("default")]);return t(this.tag,{staticClass:"b-avatar-group",attrs:{role:"group"}},[e])}})}}),Dn=R(Ni,["event","routerTag"]);delete Dn.href.default,delete Dn.to.default;var Pn=s({tag:{type:String,default:"span"},variant:{type:String,default:function(){return Nt("BBadge","variant")}},pill:{type:Boolean,default:!1}},Dn),_n=t.extend({name:"BBadge",functional:!0,props:Pn,render:function(t,e){var i=e.props,n=e.data,a=e.children,r=$i(i);return t(r?Li:i.tag,je(n,{staticClass:"badge",class:[i.variant?"badge-".concat(i.variant):"badge-secondary",{"badge-pill":i.pill,active:i.active,disabled:i.disabled}],props:r?gi(Dn,i):{}}),a)}}),Fn=Dt({components:{BBadge:_n}}),In=/(<([^>]+)>)/gi,On=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(In,"")},An=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}},En=s({text:{type:String,default:null},html:{type:String,default:null},ariaCurrent:{type:String,default:"location"}},R(Ni,["event","routerTag"])),Vn=t.extend({name:"BBreadcrumbLink",functional:!0,props:En,render:function(t,e){var i=e.props,n=e.data,a=e.children,r=i.active,o=r?"span":Li,s={attrs:{"aria-current":r?i.ariaCurrent:null},props:gi(En,i)};return a||(s.domProps=An(i.html,i.text)),t(o,je(n,s),a)}}),Nn=t.extend({name:"BBreadcrumbItem",functional:!0,props:En,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t("li",je(n,{staticClass:"breadcrumb-item",class:{active:i.active}}),[t(Vn,{props:i},a)])}}),Ln={items:{type:Array,default:null}},Mn=Dt({components:{BBreadcrumb:t.extend({name:"BBreadcrumb",functional:!0,props:Ln,render:function(t,e){var i=e.props,n=e.data,a=e.children;if(k(i.items)){var r=!1;a=i.items.map((function(e,n){V(e)||(e={text:Jt(e)});var a=e.active;return a&&(r=!0),a||r||(a=n+1===i.items.length),t(Nn,{props:s(s({},e),{},{active:a})})}))}return t("ol",je(n,{staticClass:"breadcrumb"}),a)}}),BBreadcrumbItem:Nn,BBreadcrumbLink:Vn}}),Rn=Dt({components:{BButton:Ki,BBtn:Ki,BButtonClose:Je,BBtnClose:Je}}),Hn={vertical:{type:Boolean,default:!1},size:{type:String,default:function(){return Nt("BButton","size")}},tag:{type:String,default:"div"},ariaRole:{type:String,default:"group"}},zn=t.extend({name:"BButtonGroup",functional:!0,props:Hn,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(i.tag,je(n,{class:r({"btn-group":!i.vertical,"btn-group-vertical":i.vertical},"btn-group-".concat(i.size),i.size),attrs:{role:i.ariaRole}}),a)}}),jn=Dt({components:{BButtonGroup:zn,BBtnGroup:zn}}),Gn=[".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(","),Wn=t.extend({name:"BButtonToolbar",mixins:[Ke],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===_i.UP||e===_i.LEFT?(this.stop(t),i?this.focusFirst(t):this.focusPrev(t)):e!==_i.DOWN&&e!==_i.RIGHT||(this.stop(t),i?this.focusLast(t):this.focusNext(t))}},focusFirst:function(){var t=this.getItems();Ee(t[0])},focusPrev:function(t){var e=this.getItems(),i=e.indexOf(t.target);i>-1&&(e=e.slice(0,i).reverse(),Ee(e[0]))},focusNext:function(t){var e=this.getItems(),i=e.indexOf(t.target);i>-1&&(e=e.slice(i+1),Ee(e[0]))},focusLast:function(){var t=this.getItems().reverse();Ee(t[0])},getItems:function(){var t=ve(Gn,this.$el);return t.forEach((function(t){t.tabIndex=-1})),t.filter((function(t){return fe(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")])}}),Un=Dt({components:{BButtonToolbar:Wn,BBtnToolbar:Wn}}),Yn=function(t,e){if(t.length!==e.length)return!1;for(var i=!0,n=0;i&&n1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t=Jn(t),e=Jn(e)||t,i=Jn(i)||t,t?ti?i:t:null},ha=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map((function(t){return t.toLowerCase()})),fa=/-u-.+/,pa=function(t){var e=Jt(t).toLowerCase().replace(fa,"").split("-"),i=e.slice(0,2).join("-"),n=e[0];return x(ha,i)||x(ha,n)},ma={props:{id:{type:String}},data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick((function(){t.localId_="__BVID__".concat(t._uid)}))}},va="BCalendar",ga=_i.UP,ba=_i.DOWN,ya=_i.LEFT,Sa=_i.RIGHT,Ta=_i.PAGEUP,wa=_i.PAGEDOWN,Ba=_i.HOME,Ca=_i.END,ka=_i.ENTER,xa=_i.SPACE,$a=t.extend({name:va,mixins:[Oi,ma,Ke],model:{prop:"value",event:"input"},props:{value:{type:[String,Date]},valueAsDate:{type:Boolean,default:!1},initialDate:{type:[String,Date]},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},min:{type:[String,Date]},max:{type:[String,Date]},dateDisabledFn:{type:Function},startWeekday:{type:[Number,String],default:0},locale:{type:[String,Array]},direction:{type:String},selectedVariant:{type:String,default:"primary"},todayVariant:{type:String},noHighlightToday:{type:Boolean,default:!1},dateInfoFn:{type:Function},width:{type:String,default:"270px"},block:{type:Boolean,default:!1},hideHeader:{type:Boolean,default:!1},showDecadeNav:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},ariaControls:{type:String},roleDescription:{type:String},labelPrevDecade:{type:String,default:function(){return Nt(va,"labelPrevDecade")}},labelPrevYear:{type:String,default:function(){return Nt(va,"labelPrevYear")}},labelPrevMonth:{type:String,default:function(){return Nt(va,"labelPrevMonth")}},labelCurrentMonth:{type:String,default:function(){return Nt(va,"labelCurrentMonth")}},labelNextMonth:{type:String,default:function(){return Nt(va,"labelNextMonth")}},labelNextYear:{type:String,default:function(){return Nt(va,"labelNextYear")}},labelNextDecade:{type:String,default:function(){return Nt(va,"labelNextDecade")}},labelToday:{type:String,default:function(){return Nt(va,"labelToday")}},labelSelected:{type:String,default:function(){return Nt(va,"labelSelected")}},labelNoDateSelected:{type:String,default:function(){return Nt(va,"labelNoDateSelected")}},labelCalendar:{type:String,default:function(){return Nt(va,"labelCalendar")}},labelNav:{type:String,default:function(){return Nt(va,"labelNav")}},labelHelp:{type:String,default:function(){return Nt(va,"labelHelp")}},dateFormatOptions:{type:Object,default:function(){return{year:"numeric",month:"long",day:"numeric",weekday:"long"}}},weekdayHeaderFormat:{type:String,default:"short",validator:function(t){return x(["long","short","narrow"],t)}}},data:function(){var t=Qn(this.value)||"";return{selectedYMD:t,activeYMD:t||Qn(da(this.initialDate||this.getToday()),this.min,this.max),gridHasFocus:!1,isLive:!1}},computed:{valueId:function(){return this.safeId()},widgetId:function(){return this.safeId("_calendar-wrapper_")},navId:function(){return this.safeId("_calendar-nav_")},gridId:function(){return this.safeId("_calendar-grid_")},gridCaptionId:function(){return this.safeId("_calendar-grid-caption_")},gridHelpId:function(){return this.safeId("_calendar-grid-help_")},activeId:function(){return this.activeYMD?this.safeId("_cell-".concat(this.activeYMD,"_")):null},selectedDate:function(){return Jn(this.selectedYMD)},activeDate:function(){return Jn(this.activeYMD)},computedMin:function(){return Jn(this.min)},computedMax:function(){return Jn(this.max)},computedWeekStarts:function(){return ai(Ht(this.startWeekday,0),0)%7},computedLocale:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"gregory";t=$(t).filter(mt);var i=new Intl.DateTimeFormat(t,{calendar:e});return i.resolvedOptions().locale}($(this.locale).filter(mt),"gregory")},calendarLocale:function(){var t=new Intl.DateTimeFormat(this.computedLocale,{calendar:"gregory"}),e=t.resolvedOptions().calendar,i=t.resolvedOptions().locale;return"gregory"!==e&&(i=i.replace(/-u-.+$/i,"").concat("-u-ca-gregory")),i},calendarYear:function(){return this.activeDate.getFullYear()},calendarMonth:function(){return this.activeDate.getMonth()},calendarFirstDay:function(){return Zn(this.calendarYear,this.calendarMonth,1)},calendarDaysInMonth:function(){var t=Zn(this.calendarFirstDay);return t.setMonth(t.getMonth()+1,0),t.getDate()},computedVariant:function(){return"btn-".concat(this.selectedVariant||"primary")},computedTodayVariant:function(){return"btn-outline-".concat(this.todayVariant||this.selectedVariant||"primary")},isRTL:function(){var t=Jt(this.direction).toLowerCase();return"rtl"===t||"ltr"!==t&&pa(this.computedLocale)},context:function(){var t=this.selectedYMD,e=Jn(t),i=this.activeYMD,n=Jn(i);return{selectedYMD:t,selectedDate:e,selectedFormatted:e?this.formatDateString(e):this.labelNoDateSelected,activeYMD:i,activeDate:n,activeFormatted:n?this.formatDateString(n):"",disabled:this.dateDisabled(n),locale:this.computedLocale,calendarLocale:this.calendarLocale,rtl:this.isRTL}},dateOutOfRange:function(){var t=this.computedMin,e=this.computedMax;return function(i){return i=Jn(i),t&&ie}},dateDisabled:function(){var t=this.dateOutOfRange,e=st(this.dateDisabledFn)?this.dateDisabledFn:function(){return!1};return function(i){i=Jn(i);var n=Qn(i);return!(!t(i)&&!e(n,i))}},formatDateString:function(){return ta(this.calendarLocale,s(s({year:"numeric",month:"2-digit",day:"2-digit"},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:"gregory"}))},formatYearMonth:function(){return ta(this.calendarLocale,{year:"numeric",month:"long",calendar:"gregory"})},formatWeekdayName:function(){return ta(this.calendarLocale,{weekday:"long",calendar:"gregory"})},formatWeekdayNameShort:function(){return ta(this.calendarLocale,{weekday:this.weekdayHeaderFormat||"short",calendar:"gregory"})},formatDay:function(){var t=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(e){return t.format(e.getDate())}},prevDecadeDisabled:function(){var t=this.computedMin;return this.disabled||t&&na(ua(this.activeDate))t},nextYearDisabled:function(){var t=this.computedMax;return this.disabled||t&&ia(la(this.activeDate))>t},nextDecadeDisabled:function(){var t=this.computedMax;return this.disabled||t&&ia(ca(this.activeDate))>t},calendar:function(){for(var t=[],e=this.calendarFirstDay,i=e.getFullYear(),n=e.getMonth(),a=this.calendarDaysInMonth,r=e.getDay(),o=(this.computedWeekStarts>r?7:0)-this.computedWeekStarts,l=st(this.dateInfoFn)?this.dateInfoFn:function(){return{}},u=0-o-r,c=0;c<6&&u0);i!==this.visible&&(this.visible=i,this.callback(i),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}]),t}(),qa=function(t){var e=t[Wa];e&&e.stop&&e.stop(),delete t[Wa]},Ka=function(t,e,i){var n=e.value,a=e.modifiers,r={margin:"0px",once:!1,callback:n};A(a).forEach((function(t){Ua.test(t)?r.margin="".concat(t,"px"):"once"===t.toLowerCase()&&(r.once=!0)})),qa(t),t[Wa]=new Ya(t,r,i),t[Wa]._prevModifiers=L(a)},Xa={bind:Ka,componentUpdated:function(t,e,i){var n=e.value,a=e.oldValue,r=e.modifiers;r=L(r),!t||n===a&&t[Wa]&&qn(r,t[Wa]._prevModifiers)||Ka(t,{value:n,modifiers:r},i)},unbind:function(t){qa(t)}},Za='',Ja={src:{type:String},srcset:{type:[String,Array]},sizes:{type:[String,Array]},alt:{type:String},width:{type:[Number,String]},height:{type:[Number,String]},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 Nt("BImg","blankColor")}}},Qa=t.extend({name:"BImg",functional:!0,props:Ja,render:function(t,e){var i,n=e.props,a=e.data,o=n.src,s=Ht(n.width)||null,l=Ht(n.height)||null,u=null,c=n.block,d=$(n.srcset).filter(mt).join(","),h=$(n.sizes).filter(mt).join(",");return n.blank&&(!l&&s?l=s:!s&&l&&(s=l),s||l||(s=1,l=1),o=function(t,e,i){var n=encodeURIComponent(Za.replace("%{w}",Jt(t)).replace("%{h}",Jt(e)).replace("%{f}",i));return"data:image/svg+xml;charset=UTF-8,".concat(n)}(s,l,n.blankColor||"transparent"),d=null,h=null),n.left?u="float-left":n.right?u="float-right":n.center&&(u="mx-auto",c=!0),t("img",je(a,{attrs:{src:o,alt:n.alt||null,width:s?Jt(s):null,height:l?Jt(l):null,srcset:d||null,sizes:h||null},class:(i={"img-thumbnail":n.thumbnail,"img-fluid":n.fluid||n.fluidGrow,"w-100":n.fluidGrow,rounded:""===n.rounded||!0===n.rounded},r(i,"rounded-".concat(n.rounded),ut(n.rounded)&&""!==n.rounded),r(i,u,u),r(i,"d-block",c),i)}))}}),tr={src:{type:String,required:!0},srcset:{type:[String,Array]},sizes:{type:[String,Array]},alt:{type:String},width:{type:[Number,String]},height:{type:[Number,String]},blankSrc:{type:String,default:null},blankColor:{type:String,default:function(){return Nt("BImgLazy","blankColor")}},blankWidth:{type:[Number,String]},blankHeight:{type:[Number,String]},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}},er=t.extend({name:"BImgLazy",directives:{bVisible:Xa},props:tr,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=$(this.srcset).filter(mt).join(",");return!this.blankSrc||this.isShown?t:null},computedSizes:function(){var t=$(this.sizes).filter(mt).join(",");return!this.blankSrc||this.isShown?t:null}},watch:{show:function(t,e){if(t!==e){var i=!J||t;this.isShown=i,i!==t&&this.$nextTick(this.updateShowProp)}},isShown:function(t,e){t!==e&&this.updateShowProp()}},mounted:function(){this.isShown=!J||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={},r(e,"".concat(Ht(this.offset,0)),!0),r(e,"once",!0),e)});return t(Qa,{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}})}}),ir=s(s({},R(tr,["left","right","center","block","rounded","thumbnail","fluid","fluidGrow"])),{},{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}}),nr={textTag:{type:String,default:"p"}},ar={tag:{type:String,default:"div"},deck:{type:Boolean,default:!1},columns:{type:Boolean,default:!1}},rr=Dt({components:{BCard:Ga,BCardHeader:Na,BCardBody:Ea,BCardTitle:Fa,BCardSubTitle:Oa,BCardFooter:Ma,BCardImg:Ha,BCardImgLazy:t.extend({name:"BCardImgLazy",functional:!0,props:ir,render:function(t,e){var i=e.props,n=e.data,a="card-img";i.top?a+="-top":i.right||i.end?a+="-right":i.bottom?a+="-bottom":(i.left||i.start)&&(a+="-left");var r=s(s({},i),{},{left:!1,right:!1,center:!1});return t(er,je(n,{class:[a],props:r}))}}),BCardText:t.extend({name:"BCardText",functional:!0,props:nr,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(i.textTag,je(n,{staticClass:"card-text"}),a)}}),BCardGroup:t.extend({name:"BCardGroup",functional:!0,props:ar,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(i.tag,je(n,{class:i.deck?"card-deck":i.columns?"card-columns":"card-group"}),a)}})}}),or=function(){},sr=function(t,e,i){if(t=t?t.$el||t:null,!ue(t))return null;if(n="observeDom",!W&&(yt("".concat(n,": Requires MutationObserver support.")),1))return null;var n,a=new le((function(t){for(var i=!1,n=0;n0||a.removedNodes.length>0))&&(i=!0)}i&&e()}));return a.observe(t,s({childList:!0,subtree:!0},i)),a},lr={passive:!0},ur={passive:!0,capture:!1},cr=function(t){return K?V(t)?t:{capture:!!t||!1}:!!(V(t)?t.capture:t)},dr=function(t,e,i,n){t&&t.addEventListener&&t.addEventListener(e,i,cr(n))},hr=function(t,e,i,n){t&&t.removeEventListener&&t.removeEventListener(e,i,cr(n))},fr=function(t){for(var e=t?dr:hr,i=arguments.length,n=new Array(i>1?i-1:0),a=1;a0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:{value:function(t,e){t!==e&&this.setSlide(Ht(t,0))},interval:function(t,e){t!==e&&(t?(this.pause(!0),this.start(!1)):this.pause(!1))},isPaused:function(t,e){t!==e&&this.$emit(t?"paused":"unpaused")},index:function(t,e){t===e||this.isSliding||this.doSlide(t,e)}},created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(Ht(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=function(t){for(var e in gr)if(!at(t.style[e]))return gr[e];return null}(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){clearInterval(this.$_interval),this.$_interval=null})),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=sr(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(U&&document.visibilityState&&document.hidden)){var n=this.noWrap,a=this.numSlides;t=si(t),0!==a&&(this.isSliding?this.$once("sliding-end",(function(){return e.setSlide(t,i)})):(this.direction=i,this.index=t>=a?n?a-1:0:t<0?n?0:a-1:t,n&&this.index!==t&&this.index!==this.value&&this.$emit("input",this.index)))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(t){t||(this.isPaused=!0),this.clearInterval()},start:function(t){t||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,ai(1e3,this.interval)))},restart:function(){this.$el.contains(ce())||this.start()},doSlide:function(t,e){var i=this,n=Boolean(this.interval),a=this.calcDirection(this.direction,e,t),r=a.overlayClass,o=a.dirClass,s=this.slides[e],l=this.slides[t];if(s&&l){if(this.isSliding=!0,n&&this.pause(!1),this.$emit("sliding-start",t),this.$emit("input",this.index),this.noAnimation)we(l,"active"),Be(s,"active"),this.isSliding=!1,this.$nextTick((function(){return i.$emit("sliding-end",t)}));else{we(l,r),me(l),we(s,o),we(l,o);var u=!1,c=function e(){if(!u){if(u=!0,i.transitionEndEvent)i.transitionEndEvent.split(/\s+/).forEach((function(t){return hr(s,t,e,ur)}));i.clearAnimationTimeout(),Be(l,o),Be(l,r),we(l,"active"),Be(s,"active"),Be(s,o),Be(s,r),ke(s,"aria-current","false"),ke(l,"aria-current","true"),ke(s,"aria-hidden","true"),ke(l,"aria-hidden","false"),i.isSliding=!1,i.direction=null,i.$nextTick((function(){return i.$emit("sliding-end",t)}))}};if(this.transitionEndEvent)this.transitionEndEvent.split(/\s+/).forEach((function(t){return dr(s,t,c,ur)}));this.$_animationTimeout=setTimeout(c,650)}n&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=ve(".carousel-item",this.$refs.inner);var t=this.slides.length,e=ai(0,ni(si(this.index),t-1));this.slides.forEach((function(i,n){var a=n+1;n===e?(we(i,"active"),ke(i,"aria-current","true")):(Be(i,"active"),ke(i,"aria-current","false")),ke(i,"aria-posinset",String(a)),ke(i,"aria-setsize",String(t))})),this.setSlide(e),this.start(this.isPaused)},calcDirection:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t?mr[t]:i>e?mr.next:mr.prev},handleClick:function(t,e){var i=t.keyCode;"click"!==t.type&&i!==_i.SPACE&&i!==_i.ENTER||(t.preventDefault(),t.stopPropagation(),e())},handleSwipe:function(){var t=ri(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0?this.prev():e<0&&this.next()}},touchStart:function(t){Z&&vr[t.pointerType.toUpperCase()]?this.touchStartX=t.clientX:Z||(this.touchStartX=t.touches[0].clientX)},touchMove:function(t){t.touches&&t.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=t.touches[0].clientX-this.touchStartX},touchEnd:function(t){Z&&vr[t.pointerType.toUpperCase()]&&(this.touchDeltaX=t.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,500+ai(1e3,this.interval))}},render:function(t){var e=this,i=t("div",{ref:"inner",class:["carousel-inner"],attrs:{id:this.safeId("__BV_inner_"),role:"list"}},[this.normalizeSlot("default")]),n=t();if(this.controls){var a=function(t){e.isSliding?t.preventDefault():e.handleClick(t,e.prev)},r=function(t){e.isSliding?t.preventDefault():e.handleClick(t,e.next)};n=[t("a",{class:["carousel-control-prev"],attrs:{href:"#",role:"button","aria-controls":this.safeId("__BV_inner_"),"aria-disabled":this.isSliding?"true":null},on:{click:a,keydown:a}},[t("span",{class:["carousel-control-prev-icon"],attrs:{"aria-hidden":"true"}}),t("span",{class:["sr-only"]},[this.labelPrev])]),t("a",{class:["carousel-control-next"],attrs:{href:"#",role:"button","aria-controls":this.safeId("__BV_inner_"),"aria-disabled":this.isSliding?"true":null},on:{click:r,keydown:r}},[t("span",{class:["carousel-control-next-icon"],attrs:{"aria-hidden":"true"}}),t("span",{class:["sr-only"]},[this.labelNext])])]}var o=t("ol",{class:["carousel-indicators"],directives:[{name:"show",rawName:"v-show",value:this.indicators,expression:"indicators"}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":this.indicators?"false":"true","aria-label":this.labelIndicators,"aria-owns":this.safeId("__BV_inner_")}},this.slides.map((function(i,n){return t("li",{key:"slide_".concat(n),class:{active:n===e.index},attrs:{role:"button",id:e.safeId("__BV_indicator_".concat(n+1,"_")),tabindex:e.indicators?"0":"-1","aria-current":n===e.index?"true":"false","aria-label":"".concat(e.labelGotoSlide," ").concat(n+1),"aria-describedby":e.slides[n].id||null,"aria-controls":e.safeId("__BV_inner_")},on:{click:function(t){e.handleClick(t,(function(){e.setSlide(n)}))},keydown:function(t){e.handleClick(t,(function(){e.setSlide(n)}))}}})}))),s={mouseenter:this.noHoverPause?or:this.pause,mouseleave:this.noHoverPause?or:this.restart,focusin:this.pause,focusout:this.restart,keydown:function(t){if(!/input|textarea/i.test(t.target.tagName)){var i=t.keyCode;i!==_i.LEFT&&i!==_i.RIGHT||(t.preventDefault(),t.stopPropagation(),e[i===_i.LEFT?"prev":"next"]())}}};return!this.noTouch&&X&&(Z?(s["&pointerdown"]=this.touchStart,s["&pointerup"]=this.touchEnd):(s["&touchstart"]=this.touchStart,s["&touchmove"]=this.touchMove,s["&touchend"]=this.touchEnd)),t("div",{staticClass:"carousel",class:{slide:!this.noAnimation,"carousel-fade":!this.noAnimation&&this.fade,"pointer-event":!this.noTouch&&X&&Z},style:{background:this.background},attrs:{role:"region",id:this.safeId(),"aria-busy":this.isSliding?"true":"false"},on:s},[i,n,o])}}),yr={imgSrc:{type:String},imgAlt:{type:String},imgWidth:{type:[Number,String]},imgHeight:{type:[Number,String]},imgBlank:{type:Boolean,default:!1},imgBlankColor:{type:String,default:"transparent"}},Sr=s(s({},yr),{},{contentVisibleUp:{type:String},contentTag:{type:String,default:"div"},caption:{type:String},captionHtml:{type:String},captionTag:{type:String,default:"h3"},text:{type:String},textHtml:{type:String},textTag:{type:String,default:"p"},background:{type:String}}),Tr=Dt({components:{BCarousel:br,BCarouselSlide:t.extend({name:"BCarouselSlide",mixins:[ma,Ke],inject:{bvCarousel:{default:function(){return{noTouch:!0}}}},props:Sr,computed:{contentClasses:function(){return[this.contentVisibleUp?"d-none":"",this.contentVisibleUp?"d-".concat(this.contentVisibleUp,"-block"):""]},computedWidth:function(){return this.imgWidth||this.bvCarousel.imgWidth||null},computedHeight:function(){return this.imgHeight||this.bvCarousel.imgHeight||null}},render:function(t){var e=this.normalizeSlot("img");if(!e&&(this.imgSrc||this.imgBlank)){var i={};!this.bvCarousel.noTouch&&X&&(i.dragstart=function(t){t.preventDefault()}),e=t(Qa,{props:s(s({},gi(yr,this.$props,pi.bind(null,"img"))),{},{width:this.computedWidth,height:this.computedHeight,fluidGrow:!0,block:!0}),on:i})}var n=[!(!this.caption&&!this.captionHtml)&&t(this.captionTag,{domProps:An(this.captionHtml,this.caption)}),!(!this.text&&!this.textHtml)&&t(this.textTag,{domProps:An(this.textHtml,this.text)}),this.normalizeSlot("default")||!1],a=t();return n.some(Boolean)&&(a=t(this.contentTag,{staticClass:"carousel-caption",class:this.contentClasses},n.map((function(e){return e||t()})))),t("div",{staticClass:"carousel-item",style:{background:this.background||this.bvCarousel.background||null},attrs:{id:this.safeId(),role:"listitem"}},[e,a])}})}}),wr={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},Br={enter:function(t){t.style.height=0,se((function(){me(t),t.style.height="".concat(t.scrollHeight,"px")}))},afterEnter:function(t){t.style.height=null},leave:function(t){t.style.height="auto",t.style.display="block",t.style.height="".concat(Pe(t).height,"px"),me(t),t.style.height=0},afterLeave:function(t){t.style.height=null}},Cr=t.extend({name:"BVCollapse",functional:!0,props:{appear:{type:Boolean,default:!1}},render:function(t,e){var i=e.props,n=e.data,a=e.children;return t("transition",je(n,{props:wr,on:Br},{props:i}),a)}}),kr={methods:{listenOnRoot:function(t,e){var i=this;this.$root.$on(t,e),this.$on("hook:beforeDestroy",(function(){i.$root.$off(t,e)}))},listenOnRootOnce:function(t,e){var i=this;this.$root.$once(t,e),this.$on("hook:beforeDestroy",(function(){i.$root.$off(t,e)}))},emitOnRoot:function(t){for(var e,i=arguments.length,n=new Array(i>1?i-1:0),a=1;a=0)return 1;return 0}();var Zr=Kr&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),Xr))}};function Jr(t){return t&&"[object Function]"==={}.toString.call(t)}function Qr(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function to(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function eo(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Qr(t),i=e.overflow,n=e.overflowX,a=e.overflowY;return/(auto|scroll|overlay)/.test(i+a+n)?t:eo(to(t))}function io(t){return t&&t.referenceNode?t.referenceNode:t}var no=Kr&&!(!window.MSInputMethodContext||!document.documentMode),ao=Kr&&/MSIE 10/.test(navigator.userAgent);function ro(t){return 11===t?no:10===t?ao:no||ao}function oo(t){if(!t)return document.documentElement;for(var e=ro(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===Qr(i,"position")?oo(i):i:t?t.ownerDocument.documentElement:document.documentElement}function so(t){return null!==t.parentNode?so(t.parentNode):t}function lo(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,a=i?e:t,r=document.createRange();r.setStart(n,0),r.setEnd(a,0);var o,s,l=r.commonAncestorContainer;if(t!==l&&e!==l||n.contains(a))return"BODY"===(s=(o=l).nodeName)||"HTML"!==s&&oo(o.firstElementChild)!==o?oo(l):l;var u=so(t);return u.host?lo(u.host,e):lo(t,so(e).host)}function uo(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var a=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||a;return r[i]}return t[i]}function co(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=uo(e,"top"),a=uo(e,"left"),r=i?-1:1;return t.top+=n*r,t.bottom+=n*r,t.left+=a*r,t.right+=a*r,t}function ho(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"])+parseFloat(t["border"+n+"Width"])}function fo(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],ro(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function po(t){var e=t.body,i=t.documentElement,n=ro(10)&&getComputedStyle(i);return{height:fo("Height",e,i,n),width:fo("Width",e,i,n)}}var mo=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},vo=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]&&arguments[2],n=ro(10),a="HTML"===e.nodeName,r=So(t),o=So(e),s=eo(t),l=Qr(e),u=parseFloat(l.borderTopWidth),c=parseFloat(l.borderLeftWidth);i&&a&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var d=yo({top:r.top-o.top-u,left:r.left-o.left-c,width:r.width,height:r.height});if(d.marginTop=0,d.marginLeft=0,!n&&a){var h=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);d.top-=u-h,d.bottom-=u-h,d.left-=c-f,d.right-=c-f,d.marginTop=h,d.marginLeft=f}return(n&&!i?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(d=co(d,e)),d}function wo(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=To(t,i),a=Math.max(i.clientWidth,window.innerWidth||0),r=Math.max(i.clientHeight,window.innerHeight||0),o=e?0:uo(i),s=e?0:uo(i,"left"),l={top:o-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:a,height:r};return yo(l)}function Bo(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===Qr(t,"position"))return!0;var i=to(t);return!!i&&Bo(i)}function Co(t){if(!t||!t.parentElement||ro())return document.documentElement;for(var e=t.parentElement;e&&"none"===Qr(e,"transform");)e=e.parentElement;return e||document.documentElement}function ko(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},o=a?Co(t):lo(t,io(e));if("viewport"===n)r=wo(o,a);else{var s=void 0;"scrollParent"===n?"BODY"===(s=eo(to(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===n?t.ownerDocument.documentElement:n;var l=To(s,o,a);if("HTML"!==s.nodeName||Bo(o))r=l;else{var u=po(t.ownerDocument),c=u.height,d=u.width;r.top+=l.top-l.marginTop,r.bottom=c+l.top,r.left+=l.left-l.marginLeft,r.right=d+l.left}}var h="number"==typeof(i=i||0);return r.left+=h?i:i.left||0,r.top+=h?i:i.top||0,r.right-=h?i:i.right||0,r.bottom-=h?i:i.bottom||0,r}function xo(t){return t.width*t.height}function $o(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var o=ko(i,n,r,a),s={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},l=Object.keys(s).map((function(t){return bo({key:t},s[t],{area:xo(s[t])})})).sort((function(t,e){return e.area-t.area})),u=l.filter((function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight})),c=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function Do(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=n?Co(e):lo(e,io(i));return To(i,a,n)}function Po(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function _o(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function Fo(t,e,i){i=i.split("-")[0];var n=Po(t),a={width:n.width,height:n.height},r=-1!==["right","left"].indexOf(i),o=r?"top":"left",s=r?"left":"top",l=r?"height":"width",u=r?"width":"height";return a[o]=e[o]+e[l]/2-n[l]/2,a[s]=i===s?e[s]-n[u]:e[_o(s)],a}function Io(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Oo(t,e,i){return(void 0===i?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===i}));var n=Io(t,(function(t){return t[e]===i}));return t.indexOf(n)}(t,"name",i))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&Jr(i)&&(e.offsets.popper=yo(e.offsets.popper),e.offsets.reference=yo(e.offsets.reference),e=i(e,t))})),e}function Ao(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Do(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=$o(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=Fo(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Oo(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Eo(t,e){return t.some((function(t){var i=t.name;return t.enabled&&i===e}))}function Vo(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n1&&void 0!==arguments[1]&&arguments[1],i=Yo.indexOf(t),n=Yo.slice(i+1).concat(Yo.slice(0,i));return e?n.reverse():n}var Ko="flip",Xo="clockwise",Zo="counterclockwise";function Jo(t,e,i,n){var a=[0,0],r=-1!==["right","left"].indexOf(n),o=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=o.indexOf(Io(o,(function(t){return-1!==t.search(/,|\s/)})));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return(u=u.map((function(t,n){var a=(1===n?!r:r)?"height":"width",o=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,o=!0,t):o?(t[t.length-1]+=e,o=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,i,n){var a=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+a[1],o=a[2];if(!r)return t;if(0===o.indexOf("%")){var s=void 0;switch(o){case"%p":s=i;break;case"%":case"%r":default:s=n}return yo(s)[e]/100*r}if("vh"===o||"vw"===o){return("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(t,a,e,i)}))}))).forEach((function(t,e){t.forEach((function(i,n){zo(i)&&(a[e]+=i*("-"===t[n-1]?-1:1))}))})),a}var Qo={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var a=t.offsets,r=a.reference,o=a.popper,s=-1!==["bottom","top"].indexOf(i),l=s?"left":"top",u=s?"width":"height",c={start:go({},l,r[l]),end:go({},l,r[l]+r[u]-o[u])};t.offsets.popper=bo({},o,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,a=t.offsets,r=a.popper,o=a.reference,s=n.split("-")[0],l=void 0;return l=zo(+i)?[+i,0]:Jo(i,r,o,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||oo(t.instance.popper);t.instance.reference===i&&(i=oo(i));var n=Vo("transform"),a=t.instance.popper.style,r=a.top,o=a.left,s=a[n];a.top="",a.left="",a[n]="";var l=ko(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);a.top=r,a.left=o,a[n]=s,e.boundaries=l;var u=e.priority,c=t.offsets.popper,d={primary:function(t){var i=c[t];return c[t]l[t]&&!e.escapeWithReference&&(n=Math.min(c[i],l[t]-("right"===t?c.width:c.height))),go({},i,n)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=bo({},c,d[e](t))})),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,a=t.placement.split("-")[0],r=Math.floor,o=-1!==["top","bottom"].indexOf(a),s=o?"right":"bottom",l=o?"left":"top",u=o?"width":"height";return i[s]r(n[s])&&(t.offsets.popper[l]=r(n[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!Wo(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var a=t.placement.split("-")[0],r=t.offsets,o=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(a),u=l?"height":"width",c=l?"Top":"Left",d=c.toLowerCase(),h=l?"left":"top",f=l?"bottom":"right",p=Po(n)[u];s[f]-po[f]&&(t.offsets.popper[d]+=s[d]+p-o[f]),t.offsets.popper=yo(t.offsets.popper);var m=s[d]+s[u]/2-p/2,v=Qr(t.instance.popper),g=parseFloat(v["margin"+c]),b=parseFloat(v["border"+c+"Width"]),y=m-t.offsets.popper[d]-g-b;return y=Math.max(Math.min(o[u]-p,y),0),t.arrowElement=n,t.offsets.arrow=(go(i={},d,Math.round(y)),go(i,h,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(Eo(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=ko(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],a=_o(n),r=t.placement.split("-")[1]||"",o=[];switch(e.behavior){case Ko:o=[n,a];break;case Xo:o=qo(n);break;case Zo:o=qo(n,!0);break;default:o=e.behavior}return o.forEach((function(s,l){if(n!==s||o.length===l+1)return t;n=t.placement.split("-")[0],a=_o(n);var u=t.offsets.popper,c=t.offsets.reference,d=Math.floor,h="left"===n&&d(u.right)>d(c.left)||"right"===n&&d(u.left)d(c.top)||"bottom"===n&&d(u.top)d(i.right),m=d(u.top)d(i.bottom),g="left"===n&&f||"right"===n&&p||"top"===n&&m||"bottom"===n&&v,b=-1!==["top","bottom"].indexOf(n),y=!!e.flipVariations&&(b&&"start"===r&&f||b&&"end"===r&&p||!b&&"start"===r&&m||!b&&"end"===r&&v),S=!!e.flipVariationsByContent&&(b&&"start"===r&&p||b&&"end"===r&&f||!b&&"start"===r&&v||!b&&"end"===r&&m),T=y||S;(h||g||T)&&(t.flipped=!0,(h||g)&&(n=o[l+1]),T&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=n+(r?"-"+r:""),t.offsets.popper=bo({},t.offsets.popper,Fo(t.instance.popper,t.offsets.reference,t.placement)),t=Oo(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,a=n.popper,r=n.reference,o=-1!==["left","right"].indexOf(i),s=-1===["top","left"].indexOf(i);return a[o?"left":"top"]=r[i]-(s?a[o?"width":"height"]:0),t.placement=_o(e),t.offsets.popper=yo(a),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Wo(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=Io(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomi.right||e.top>i.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};mo(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=Zr(this.update.bind(this)),this.options=bo({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(bo({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){n.options.modifiers[e]=bo({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return bo({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&Jr(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return vo(t,[{key:"update",value:function(){return Ao.call(this)}},{key:"destroy",value:function(){return No.call(this)}},{key:"enableEventListeners",value:function(){return Ro.call(this)}},{key:"disableEventListeners",value:function(){return Ho.call(this)}}]),t}();ts.Utils=("undefined"!=typeof window?window:global).PopperUtils,ts.placements=Uo,ts.Defaults=Qo;var BvEvent=function(){function BvEvent(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,BvEvent),!t)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));D(this,BvEvent.Defaults,this.constructor.Defaults,e,{type:t}),_(this,{type:{enumerable:!0,configurable:!1,writable:!1},cancelable:{enumerable:!0,configurable:!1,writable:!1},nativeEvent:{enumerable:!0,configurable:!1,writable:!1},target:{enumerable:!0,configurable:!1,writable:!1},relatedTarget:{enumerable:!0,configurable:!1,writable:!1},vueTarget:{enumerable:!0,configurable:!1,writable:!1},componentId:{enumerable:!0,configurable:!1,writable:!1}});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},F(this,"defaultPrevented",{enumerable:!0,get:function(){return n}})}return a(BvEvent,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),BvEvent}(),es={data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(t,e){t!==e&&(hr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,ur),t&&dr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,ur))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&dr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,ur)},beforeDestroy:function(){hr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,ur)},methods:{isClickOut:function(t){return!Se(this.$el,t.target)},_clickOutHandler:function(t){this.clickOutHandler&&this.isClickOut(t)&&this.clickOutHandler(t)}}},is={data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&(hr(this.focusInElement,"focusin",this._focusInHandler,ur),t&&dr(this.focusInElement,"focusin",this._focusInHandler,ur))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&dr(this.focusInElement,"focusin",this._focusInHandler,ur)},beforeDestroy:function(){hr(this.focusInElement,"focusin",this._focusInHandler,ur)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}},ns="".concat("bv::dropdown::","shown"),as="".concat("bv::dropdown::","hidden"),rs={FORM_CHILD:".dropdown form",ITEM_SELECTOR:[".dropdown-item",".b-dropdown-form"].map((function(t){return"".concat(t,":not(.disabled):not([disabled])")})).join(", ")},os="top-start",ss="top-end",ls="bottom-start",us="bottom-end",cs="right-start",ds="left-start",hs={dropup:{type:Boolean,default:!1},dropright:{type:Boolean,default:!1},dropleft:{type:Boolean,default:!1},right:{type:Boolean,default:!1},offset:{type:[Number,String],default:0},noFlip:{type:Boolean,default:!1},popperOpts:{default:function(){}},boundary:{type:[String,HTMLElement],default:"scrollParent"}},fs={mixins:[ma,es,is],provide:function(){return{bvDropdown:this}},inject:{bvNavbar:{default:null}},props:s({disabled:{type:Boolean,default:!1}},hs),data:function(){return{visible:!1,visibleChangePrevented:!1}},computed:{inNavbar:function(){return!rt(this.bvNavbar)},toggler:function(){var t=this.$refs.toggle;return t?t.$el||t:null},directionClass:function(){return this.dropup?"dropup":this.dropright?"dropright":this.dropleft?"dropleft":""}},watch:{visible:function(t,e){if(this.visibleChangePrevented)this.visibleChangePrevented=!1;else if(t!==e){var i=t?"show":"hide",n=new BvEvent(i,{cancelable:!0,vueTarget:this,target:this.$refs.menu,relatedTarget:null,componentId:this.safeId?this.safeId():this.id||null});if(this.emitEvent(n),n.defaultPrevented)return this.visibleChangePrevented=!0,this.visible=e,void this.$off("hidden",this.focusToggler);"show"===i?this.showMenu():this.hideMenu()}},disabled:function(t,e){t!==e&&t&&this.visible&&(this.visible=!1)}},created:function(){this.$_popper=null},deactivated:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper()},beforeDestroy:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper()},methods:{emitEvent:function(t){var e=t.type;this.$emit(e,t),this.$root.$emit("".concat("bv::dropdown::").concat(e),t)},showMenu:function(){var t=this;if(!this.disabled){if(!this.inNavbar)if("undefined"==typeof ts)yt("Popper.js not found. Falling back to CSS positioning","BDropdown");else{var e=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;e=e.$el||e,this.createPopper(e)}this.$root.$emit(ns,this),this.whileOpenListen(!0),this.$nextTick((function(){t.focusMenu(),t.$emit("shown")}))}},hideMenu:function(){this.whileOpenListen(!1),this.$root.$emit(as,this),this.$emit("hidden"),this.destroyPopper()},createPopper:function(t){this.destroyPopper(),this.$_popper=new ts(t,this.$refs.menu,this.getPopperConfig())},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){try{this.$_popper.scheduleUpdate()}catch(t){}},getPopperConfig:function(){var t=ls;this.dropup?t=this.right?ss:os:this.dropright?t=cs:this.dropleft?t=ds:this.right&&(t=us);var e={placement:t,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}};return this.boundary&&(e.modifiers.preventOverflow={boundariesElement:this.boundary}),s(s({},e),this.popperOpts||{})},whileOpenListen:function(t){this.listenForClickOut=t,this.listenForFocusIn=t;var e=t?"$on":"$off";this.$root[e](ns,this.rootCloseListener)},rootCloseListener:function(t){t!==this&&(this.visible=!1)},show:function(){var t=this;this.disabled||se((function(){t.visible=!0}))},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.disabled||(this.visible=!1,t&&this.$once("hidden",this.focusToggler))},toggle:function(t){var e=t=t||{},i=e.type,n=e.keyCode;("click"===i||"keydown"===i&&-1!==[_i.ENTER,_i.SPACE,_i.DOWN].indexOf(n))&&(this.disabled?this.visible=!1:(this.$emit("toggle",t),t.preventDefault(),t.stopPropagation(),this.visible?this.hide(!0):this.show()))},onMousedown:function(t){t.preventDefault()},onKeydown:function(t){var e=t.keyCode;e===_i.ESC?this.onEsc(t):e===_i.DOWN?this.focusNext(t,!1):e===_i.UP&&this.focusNext(t,!0)},onEsc:function(t){this.visible&&(this.visible=!1,t.preventDefault(),t.stopPropagation(),this.$once("hidden",this.focusToggler))},onSplitClick:function(t){this.disabled?this.visible=!1:this.$emit("click",t)},hideHandler:function(t){var e=t.target;!this.visible||Se(this.$refs.menu,e)||Se(this.toggler,e)||this.hide()},clickOutHandler:function(t){this.hideHandler(t)},focusInHandler:function(t){this.hideHandler(t)},focusNext:function(t,e){var i=this,n=t.target;!this.visible||t&&ye(rs.FORM_CHILD,n)||(t.preventDefault(),t.stopPropagation(),this.$nextTick((function(){var t=i.getItems();if(!(t.length<1)){var a=t.indexOf(n);e&&a>0?a--:!e&&a1&&void 0!==arguments[1]?arguments[1]:null;if(N(t)){var i=bt(t,this.valueField),n=bt(t,this.textField);return{value:at(i)?e||n:i,text:On(String(at(n)?e:n)),html:bt(t,this.htmlField),disabled:Boolean(bt(t,this.disabledField))}}return{value:e||t,text:On(String(t)),disabled:!1}},normalizeOptions:function(t){var e=this;return k(t)?t.map((function(t){return e.normalizeOption(t)})):N(t)?(yt('Setting prop "options" to an object is deprecated. Use the array format instead.',this.$options.name),A(t).map((function(i){return e.normalizeOption(t[i]||{},i)}))):[]}}},Es=t.extend({name:"BFormDatalist",mixins:[As,Ke],props:{id:{type:String,required:!0}},render:function(t){var e=this.formOptions.map((function(e,i){var n=e.value,a=e.text,r=e.html,o=e.disabled;return t("option",{attrs:{value:n,disabled:o},domProps:An(r,a),key:"option_".concat(i)})}));return t("datalist",{attrs:{id:this.id}},[e,this.normalizeSlot("default")])}}),Vs={id:{type:String},tag:{type:String,default:"small"},textVariant:{type:String,default:function(){return Nt("BFormText","textVariant")}},inline:{type:Boolean,default:!1}},Ns=t.extend({name:"BFormText",functional:!0,props:Vs,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(i.tag,je(n,{class:r({"form-text":!i.inline},"text-".concat(i.textVariant),i.textVariant),attrs:{id:i.id}}),a)}}),Ls={id:{type:String},tag:{type:String,default:"div"},tooltip:{type:Boolean,default:!1},forceShow:{type:Boolean,default:!1},state:{type:Boolean,default:null},ariaLive:{type:String},role:{type:String}},Ms=t.extend({name:"BFormInvalidFeedback",functional:!0,props:Ls,render:function(t,e){var i=e.props,n=e.data,a=e.children,r=!0===i.forceShow||!1===i.state;return t(i.tag,je(n,{class:{"invalid-feedback":!i.tooltip,"invalid-tooltip":i.tooltip,"d-block":r},attrs:{id:i.id||null,role:i.role||null,"aria-live":i.ariaLive||null,"aria-atomic":i.ariaLive?"true":null}}),a)}}),Rs={id:{type:String},tag:{type:String,default:"div"},tooltip:{type:Boolean,default:!1},forceShow:{type:Boolean,default:!1},state:{type:Boolean,default:null},ariaLive:{type:String},role:{type:String}},Hs=t.extend({name:"BFormValidFeedback",functional:!0,props:Rs,render:function(t,e){var i=e.props,n=e.data,a=e.children,r=!0===i.forceShow||!0===i.state;return t(i.tag,je(n,{class:{"valid-feedback":!i.tooltip,"valid-tooltip":i.tooltip,"d-block":r},attrs:{id:i.id||null,role:i.role||null,"aria-live":i.ariaLive||null,"aria-atomic":i.ariaLive?"true":null}}),a)}}),zs={tag:{type:String,default:"div"}},js=t.extend({name:"BFormRow",functional:!0,props:zs,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(i.tag,je(n,{staticClass:"form-row"}),a)}}),Gs=Dt({components:{BForm:xs,BFormDatalist:Es,BDatalist:Es,BFormText:Ns,BFormInvalidFeedback:Ms,BFormFeedback:Ms,BFormValidFeedback:Hs,BFormRow:js}}),Ws=function(t,e){for(var i=0;i-1:qn(t,e)},isRadio:function(){return!1},isCheck:function(){return!0}},watch:{computedLocalChecked:function(t){this.$emit("input",t),this.$refs&&this.$refs.input&&this.$emit("update:indeterminate",this.$refs.input.indeterminate)},indeterminate:function(t){this.setIndeterminate(t)}},mounted:function(){this.setIndeterminate(this.indeterminate)},methods:{handleChange:function(t){var e=t.target,i=e.checked,n=e.indeterminate,a=this.computedLocalChecked,r=this.value,o=k(a),s=o?null:this.uncheckedValue;if(o){var l=Ws(a,r);i&&l<0?a=a.concat(r):!i&&l>-1&&(a=a.slice(0,l).concat(a.slice(l+1)))}else a=i?r:s;this.computedLocalChecked=a,this.$emit("change",i?r:s),this.isGroup&&this.bvGroup.$emit("change",a),this.$emit("update:indeterminate",n)},setIndeterminate:function(t){k(this.computedLocalChecked)&&(t=!1),this.$refs&&this.$refs.input&&(this.$refs.input.indeterminate=t,this.$emit("update:indeterminate",t))}}}),Zs=t.extend({name:"BFormRadio",mixins:[ma,Ys,Us,qs,Ks],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:{checked:{default:null}},computed:{isChecked:function(){return qn(this.value,this.computedLocalChecked)},isRadio:function(){return!0},isCheck:function(){return!1}},watch:{computedLocalChecked:function(){this.$emit("input",this.computedLocalChecked)}},methods:{handleChange:function(t){var e=t.target.checked,i=this.value;this.computedLocalChecked=i,this.$emit("change",e?i:null),this.isGroup&&this.bvGroup.$emit("change",e?i:null)}}}),Js={mixins:[Ke],model:{prop:"checked",event:"input"},props:{validated:{type:Boolean,default:!1},ariaInvalid:{type:[Boolean,String],default:!1},stacked:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},buttons:{type:Boolean,default:!1},buttonVariant:{type:String,default:"secondary"}},computed:{inline:function(){return!this.stacked},groupName:function(){return this.name||this.safeId()},groupClasses:function(){return this.buttons?["btn-group-toggle",this.inline?"btn-group":"btn-group-vertical",this.size?"btn-group-".concat(this.size):"",this.validated?"was-validated":""]:[this.validated?"was-validated":""]},computedAriaInvalid:function(){var t=this.ariaInvalid;return!0===t||"true"===t||""===t||!1===this.computedState?"true":null}},watch:{checked:function(t){this.localChecked=t},localChecked:function(t){this.$emit("input",t)}},render:function(t){var e=this,i=this.formOptions.map((function(i,n){var a="BV_option_".concat(n);return t(e.isRadioGroup?Zs:Xs,{props:{id:e.safeId(a),value:i.value,disabled:i.disabled||!1},key:a},[t("span",{domProps:An(i.html,i.text)})])}));return t("div",{class:[this.groupClasses,"bv-no-focus-ring"],attrs:{id:this.safeId(),role:this.isRadioGroup?"radiogroup":"group",tabindex:"-1","aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid}},[this.normalizeSlot("first"),i,this.normalizeSlot("default")])}},Qs={switches:{type:Boolean,default:!1},checked:{type:Array,default:null}},tl=t.extend({name:"BFormCheckboxGroup",mixins:[ma,Us,Js,As,qs,Ks],provide:function(){return{bvCheckGroup:this}},props:Qs,data:function(){return{localChecked:this.checked||[]}},computed:{isRadioGroup:function(){return!1}}}),el=Dt({components:{BFormCheckbox:Xs,BCheckbox:Xs,BCheck:Xs,BFormCheckboxGroup:tl,BCheckboxGroup:tl,BCheckGroup:tl}}),il="__BV_hover_handler__",nl=function(t,e,i){fr(t,e,"mouseenter",i,ur),fr(t,e,"mouseleave",i,ur)},al=function(t,e){var i=e.value,n=void 0===i?null:i;if(U){var a=t[il],r=st(a),o=!(r&&a.fn===n);r&&o&&(nl(!1,t,a),delete t[il]),st(n)&&o&&(t[il]=function(t){var e=function(e){t("mouseenter"===e.type,e)};return e.fn=t,e}(n),nl(!0,t,t[il]))}},rl={bind:al,componentUpdated:al,unbind:function(t){al(t,{value:null})}},ol=hs,sl=t.extend({name:"BVFormBtnLabelControl",directives:{BHover:rl},mixins:[ma,Ke,fs],props:{value:{type:String,default:""},formattedValue:{type:String},placeholder:{type:String},labelSelected:{type:String},state:{type:Boolean,default:null},size:{type:String},name:{type:String},form:{type:String},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},lang:{type:String},rtl:{type:Boolean,default:null},buttonOnly:{type:Boolean,default:!1},buttonVariant:{type:String,default:"secondary"},menuClass:{type:[String,Array,Object]}},data:function(){return{isHovered:!1,hasFocus:!1}},computed:{idButton:function(){return this.safeId()},idLabel:function(){return this.safeId("_value_")},idMenu:function(){return this.safeId("_dialog_")},idWrapper:function(){return this.safeId("_outer_")},computedDir:function(){return!0===this.rtl?"rtl":!1===this.rtl?"ltr":null}},methods:{focus:function(){this.disabled||Ee(this.$refs.toggle)},blur:function(){this.disabled||Ve(this.$refs.toggle)},setFocus:function(t){this.hasFocus="focus"===t.type},handleHover:function(t){this.isHovered=t},stopEvent:function(t){t.stopPropagation()}},render:function(t){var e,i,n,a=this.idButton,o=this.idLabel,s=this.idMenu,l=this.idWrapper,u=this.disabled,c=this.readonly,d=this.required,h=this.isHovered,f=this.hasFocus,p=this.state,m=this.visible,v=this.size,g=Jt(this.value)||"",b=this.labelSelected,y=!!this.buttonOnly,S=this.buttonVariant,T={isHovered:h,hasFocus:f,state:p,opened:m},w=t("button",{ref:"toggle",staticClass:"btn",class:(e={},r(e,"btn-".concat(S),y),r(e,"btn-".concat(v),!!v),r(e,"h-auto",!y),r(e,"dropdown-toggle",y),r(e,"dropdown-toggle-no-caret",y),e),attrs:{id:a,type:"button",disabled:u,"aria-haspopup":"dialog","aria-expanded":m?"true":"false","aria-invalid":!1===p||d&&!g?"true":null,"aria-required":d?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle,"!focus":this.setFocus,"!blur":this.setFocus}},[this.hasNormalizedSlot("button-content")?this.normalizeSlot("button-content",T):t(sn,{props:{scale:1.25}})]),B=t();this.name&&!u&&(B=t("input",{attrs:{type:"hidden",name:this.name||null,form:this.form||null,value:g}}));var C=t("div",{ref:"menu",staticClass:"dropdown-menu",class:[this.menuClass,{show:m,"dropdown-menu-right":this.right}],attrs:{id:s,role:"dialog",tabindex:"-1","aria-modal":"false","aria-labelledby":o},on:{keydown:this.onKeydown}},[this.normalizeSlot("default",{opened:m})]),k=t("label",{staticClass:"form-control text-break text-wrap bg-transparent h-auto",class:(i={"sr-only":y,"text-muted":!g},r(i,"form-control-".concat(v),!!v),r(i,"is-invalid",!1===p),r(i,"is-valid",!0===p),i),attrs:{id:o,for:a,"aria-invalid":!1===p||d&&!g?"true":null,"aria-required":d?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{"!click":this.stopEvent}},[g?this.formattedValue||g:this.placeholder||"",g&&b?t("bdi",{staticClass:"sr-only"},b):""]);return t("div",{staticClass:"b-form-btn-label-control dropdown",class:[this.directionClass,(n={"btn-group":y,"form-control":!y},r(n,"form-control-".concat(v),!!v&&!y),r(n,"d-flex",!y),r(n,"h-auto",!y),r(n,"align-items-stretch",!y),r(n,"focus",f&&!y),r(n,"show",m),r(n,"is-valid",!0===p),r(n,"is-invalid",!1===p),n)],attrs:{id:l,role:y?null:"group",lang:this.lang||null,dir:this.computedDir,"aria-disabled":u,"aria-readonly":c&&!u,"aria-labelledby":o,"aria-invalid":!1===p||d&&!g?"true":null,"aria-required":d?"true":null}},[w,B,C,k])}}),ll="BFormDatepicker",ul=function(t){return Nt(ll,t)||Nt("BCalendar",t)},cl={props:s({value:{type:[String,Date],default:null},valueAsDate:{type:Boolean,default:!1},resetValue:{type:[String,Date]},initialDate:{type:[String,Date]},placeholder:{type:String},size:{type:String},min:{type:[String,Date]},max:{type:[String,Date]},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},name:{type:String},form:{type:String},state:{type:Boolean,default:null},dateDisabledFn:{type:Function},noCloseOnSelect:{type:Boolean,default:!1},hideHeader:{type:Boolean,default:!1},showDecadeNav:{type:Boolean,default:!1},locale:{type:[String,Array]},startWeekday:{type:[Number,String],default:0},direction:{type:String},buttonOnly:{type:Boolean,default:!1},buttonVariant:{type:String,default:"secondary"},calendarWidth:{type:String,default:"270px"},selectedVariant:{type:String,default:"primary"},todayVariant:{type:String},noHighlightToday:{type:Boolean,default:!1},todayButton:{type:Boolean,default:!1},labelTodayButton:{type:String,default:function(){return Nt(ll,"labelTodayButton")}},todayButtonVariant:{type:String,default:"outline-primary"},resetButton:{type:Boolean,default:!1},labelResetButton:{type:String,default:function(){return Nt(ll,"labelResetButton")}},resetButtonVariant:{type:String,default:"outline-danger"},closeButton:{type:Boolean,default:!1},labelCloseButton:{type:String,default:function(){return Nt(ll,"labelCloseButton")}},closeButtonVariant:{type:String,default:"outline-secondary"},dateInfoFn:{type:Function},labelPrevDecade:{type:String,default:function(){return ul("labelPrevDecade")}},labelPrevYear:{type:String,default:function(){return ul("labelPrevYear")}},labelPrevMonth:{type:String,default:function(){return ul("labelPrevMonth")}},labelCurrentMonth:{type:String,default:function(){return ul("labelCurrentMonth")}},labelNextMonth:{type:String,default:function(){return ul("labelNextMonth")}},labelNextYear:{type:String,default:function(){return ul("labelNextYear")}},labelNextDecade:{type:String,default:function(){return ul("labelNextDecade")}},labelToday:{type:String,default:function(){return ul("labelToday")}},labelSelected:{type:String,default:function(){return ul("labelSelected")}},labelNoDateSelected:{type:String,default:function(){return ul("labelNoDateSelected")}},labelCalendar:{type:String,default:function(){return ul("labelCalendar")}},labelNav:{type:String,default:function(){return ul("labelNav")}},labelHelp:{type:String,default:function(){return ul("labelHelp")}},dateFormatOptions:{type:Object,default:function(){return{year:"numeric",month:"long",day:"numeric",weekday:"long"}}},weekdayHeaderFormat:{type:String,default:"short",validator:function(t){return x(["long","short","narrow"],t)}},dark:{type:Boolean,default:!1},menuClass:{type:[String,Array,Object]}},ol)},dl=t.extend({name:ll,mixins:[ma,cl],model:{prop:"value",event:"input"},data:function(){return{localYMD:Qn(this.value)||"",isVisible:!1,localLocale:null,isRTL:!1,formattedValue:"",activeYMD:""}},computed:{calendarYM:function(){return this.activeYMD.slice(0,-3)},calendarProps:function(){return{hidden:!this.isVisible,value:this.localYMD,min:this.min,max:this.max,initialDate:this.initialDate,readonly:this.readonly,disabled:this.disabled,locale:this.locale,startWeekday:this.startWeekday,direction:this.direction,width:this.calendarWidth,dateDisabledFn:this.dateDisabledFn,selectedVariant:this.selectedVariant,todayVariant:this.todayVariant,dateInfoFn:this.dateInfoFn,hideHeader:this.hideHeader,showDecadeNav:this.showDecadeNav,noHighlightToday:this.noHighlightToday,labelPrevDecade:this.labelPrevDecade,labelPrevYear:this.labelPrevYear,labelPrevMonth:this.labelPrevMonth,labelCurrentMonth:this.labelCurrentMonth,labelNextMonth:this.labelNextMonth,labelNextYear:this.labelNextYear,labelNextDecade:this.labelNextDecade,labelToday:this.labelToday,labelSelected:this.labelSelected,labelNoDateSelected:this.labelNoDateSelected,labelCalendar:this.labelCalendar,labelNav:this.labelNav,labelHelp:this.labelHelp,dateFormatOptions:this.dateFormatOptions,weekdayHeaderFormat:this.weekdayHeaderFormat}},computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null},computedResetValue:function(){return Qn(da(this.resetValue))||""}},watch:{value:function(t){this.localYMD=Qn(t)||""},localYMD:function(t){this.isVisible&&this.$emit("input",this.valueAsDate?Jn(t)||null:t||"")},calendarYM:function(t,e){if(t!==e&&e)try{this.$refs.control.updatePopper()}catch(t){}}},methods:{focus:function(){this.disabled||Ee(this.$refs.control)},blur:function(){this.disabled||Ve(this.$refs.control)},setAndClose:function(t){var e=this;this.localYMD=t,this.noCloseOnSelect||this.$nextTick((function(){e.$refs.control.hide(!0)}))},onSelected:function(t){var e=this;this.$nextTick((function(){e.setAndClose(t)}))},onInput:function(t){this.localYMD!==t&&(this.localYMD=t)},onContext:function(t){var e=t.activeYMD,i=t.isRTL,n=t.locale,a=t.selectedYMD,r=t.selectedFormatted;this.isRTL=i,this.localLocale=n,this.formattedValue=r,this.localYMD=a,this.activeYMD=e,this.$emit("context",t)},onTodayButton:function(){this.setAndClose(Qn(da(Zn(),this.min,this.max)))},onResetButton:function(){this.setAndClose(this.computedResetValue)},onCloseButton:function(){this.$refs.control.hide(!0)},onShow:function(){this.isVisible=!0},onShown:function(){var t=this;this.$nextTick((function(){Ee(t.$refs.calendar),t.$emit("shown")}))},onHidden:function(){this.isVisible=!1,this.$emit("hidden")},defaultButtonFn:function(t){var e=t.isHovered,i=t.hasFocus;return this.$createElement(e||i?an:nn,{attrs:{"aria-hidden":"true"}})}},render:function(t){var e=this.$scopedSlots,i=this.localYMD,n=this.disabled,a=this.readonly,r=ot(this.placeholder)?this.labelNoDateSelected:this.placeholder,o=[];if(this.todayButton){var l=this.labelTodayButton;o.push(t(Ki,{props:{size:"sm",disabled:n||a,variant:this.todayButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onTodayButton}},l))}if(this.resetButton){var u=this.labelResetButton;o.push(t(Ki,{props:{size:"sm",disabled:n||a,variant:this.resetButtonVariant},attrs:{"aria-label":u||null},on:{click:this.onResetButton}},u))}if(this.closeButton){var c=this.labelCloseButton;o.push(t(Ki,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onCloseButton}},c))}o.length>0&&(o=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":o.length>1,"justify-content-end":o.length<2}},o)]);var d=t($a,{key:"calendar",ref:"calendar",staticClass:"b-form-date-calendar w-100",props:this.calendarProps,on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:M(e,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"])},o);return t(sl,{ref:"control",staticClass:"b-form-datepicker",props:s(s({},this.$props),{},{id:this.safeId(),rtl:this.isRTL,lang:this.computedLang,value:i||"",formattedValue:i?this.formattedValue:"",placeholder:r||"",menuClass:[{"bg-dark":!!this.dark,"text-light":!!this.dark},this.menuClass]}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:{"button-content":e["button-content"]||this.defaultButtonFn}},[d])}}),hl=Dt({components:{BFormDatepicker:dl,BDatepicker:dl}}),fl={props:{plain:{type:Boolean,default:!1}},computed:{custom:function(){return!this.plain}}},pl="BFormFile",ml=function t(e){return e instanceof it||k(e)&&e.every((function(e){return t(e)}))},vl=t.extend({name:pl,mixins:[Oi,ma,Us,Ks,fl,Ke],inheritAttrs:!1,model:{prop:"value",event:"input"},props:{size:{type:String,default:function(){return Nt("BFormControl","size")}},value:{type:[it,Array],default:null,validator:function(t){return""===t?(yt('Setting "value"/"v-model" to an empty string for reset is deprecated. Set to "null" instead.',pl),!0):ot(t)||ml(t)}},accept:{type:String,default:""},capture:{type:Boolean,default:!1},placeholder:{type:String,default:function(){return Nt(pl,"placeholder")}},browseText:{type:String,default:function(){return Nt(pl,"browseText")}},dropPlaceholder:{type:String,default:function(){return Nt(pl,"dropPlaceholder")}},multiple:{type:Boolean,default:!1},directory:{type:Boolean,default:!1},noTraverse:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1},fileNameFormatter:{type:Function,default:null}},data:function(){return{selectedFile:null,dragging:!1,hasFocus:!1}},computed:{selectLabel:function(){if(this.dragging&&this.dropPlaceholder)return this.dropPlaceholder;if(!this.selectedFile||0===this.selectedFile.length)return this.placeholder;var t=$(this.selectedFile).filter(mt);return this.hasNormalizedSlot("file-name")?[this.normalizeSlot("file-name",{files:t,names:t.map((function(t){return t.name}))})]:st(this.fileNameFormatter)?Jt(this.fileNameFormatter(t)):t.map((function(t){return t.name})).join(", ")},computedAttrs:function(){return s(s({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:this.name,disabled:this.disabled,required:this.required,form:this.form||null,capture:this.capture||null,accept:this.accept||null,multiple:this.multiple,webkitdirectory:this.directory,"aria-required":this.required?"true":null})}},watch:{selectedFile:function(t,e){t===e||k(t)&&k(e)&&t.length===e.length&&t.every((function(t,i){return t===e[i]}))||(!t&&this.multiple?this.$emit("input",[]):this.$emit("input",t))},value:function(t){(!t||k(t)&&0===t.length)&&this.reset()}},methods:{focusHandler:function(t){this.plain||"focusout"===t.type?this.hasFocus=!1:this.hasFocus=!0},reset:function(){try{var t=this.$refs.input;t.value="",t.type="",t.type="file"}catch(t){}this.selectedFile=this.multiple?[]:null},onFileChange:function(t){var e=this;this.$emit("change",t);var i=t.dataTransfer&&t.dataTransfer.items;if(!i||this.noTraverse)this.setFiles(t.target.files||t.dataTransfer.files);else{for(var n=[],a=0;a0&&void 0!==arguments[0]?arguments[0]:[];if(t)if(this.multiple){for(var e=[],i=0;i0&&this.onFileChange(t))},traverseFileTree:function(t,e){var i=this;return new Promise((function(n){e=e||"",t.isFile?t.file((function(t){t.$path=e,n(t)})):t.isDirectory&&t.createReader().readEntries((function(a){for(var r=[],o=0;o0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;return"".concat(e).concat(Xt(t))})),Dl={name:"BFormGroup",mixins:[ma,Ks,Ke],get props(){return delete this.props,this.props=(t=Rt(),e=t.reduce((function(t,e){return t[$l(e,"labelCols")]={type:[Number,String,Boolean],default:!e&&null},t}),P(null)),i=t.reduce((function(t,e){return t[$l(e,"labelAlign")]={type:String},t}),P(null)),s(s(s({label:{type:String},labelFor:{type:String},labelSize:{type:String},labelSrOnly:{type:Boolean,default:!1}},e),i),{},{labelClass:{type:[String,Array,Object]},description:{type:String},invalidFeedback:{type:String},validFeedback:{type:String},tooltip:{type:Boolean,default:!1},feedbackAriaLive:{type:String,default:"assertive"},validated:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}}));var t,e,i},computed:{labelColProps:function(){var t=this,e={};return Rt().forEach((function(i){var n=t[$l(i,"labelCols")];if(lt(n=""===n||(n||!1))||"auto"===n||(n=(n=Ht(n,0))>0&&n),n){var a=i||(lt(n)?"col":"cols");e[a]=n}})),e},labelAlignClasses:function(){var t=this,e=[];return Rt().forEach((function(i){var n=t[$l(i,"labelAlign")]||null;if(n){var a=i?"text-".concat(i,"-").concat(n):"text-".concat(n);e.push(a)}})),e},isHorizontal:function(){return A(this.labelColProps).length>0},labelId:function(){return this.hasNormalizedSlot("label")||this.label?this.safeId("_BV_label_"):null},descriptionId:function(){return this.hasNormalizedSlot("description")||this.description?this.safeId("_BV_description_"):null},hasInvalidFeedback:function(){return!1===this.computedState&&(this.hasNormalizedSlot("invalid-feedback")||this.invalidFeedback)},invalidFeedbackId:function(){return this.hasInvalidFeedback?this.safeId("_BV_feedback_invalid_"):null},hasValidFeedback:function(){return!0===this.computedState&&(this.hasNormalizedSlot("valid-feedback")||this.validFeedback)},validFeedbackId:function(){return this.hasValidFeedback?this.safeId("_BV_feedback_valid_"):null},describedByIds:function(){return[this.descriptionId,this.invalidFeedbackId,this.validFeedbackId].filter(Boolean).join(" ")||null}},watch:{describedByIds:function(t,e){t!==e&&this.setInputDescribedBy(t,e)}},mounted:function(){var t=this;this.$nextTick((function(){t.setInputDescribedBy(t.describedByIds)}))},methods:{legendClick:function(t){if(!this.labelFor){var e=t.target?t.target.tagName:"";if(!/^(input|select|textarea|label|button|a)$/i.test(e)){var i=ve("input:not([disabled]),textarea:not([disabled]),select:not([disabled])",this.$refs.content).filter(fe);i&&1===i.length&&Ee(i[0])}}},setInputDescribedBy:function(t,e){if(this.labelFor&&U){var i=ge("#".concat(this.labelFor),this.$refs.content);if(i){var n="aria-describedby",a=($e(i,n)||"").split(/\s+/);t=(t||"").split(/\s+/),e=(e||"").split(/\s+/),a=a.filter((function(t){return!x(e,t)})).concat(t).filter(Boolean),(a=A(a.reduce((function(t,e){return s(s({},t),{},r({},e,!0))}),{})).join(" ").trim())?ke(i,n,a):xe(i,n)}}}},render:function(t){var e=!this.labelFor,i=this.isHorizontal,n=function(t,e){var i=e.normalizeSlot("label")||e.label,n=e.labelFor,a=!n,r=e.isHorizontal,o=a?"legend":"label";if(i||r){if(e.labelSrOnly){var l=t();return i&&(l=t(o,{class:"sr-only",attrs:{id:e.labelId,for:n||null}},[i])),t(r?Bl:"div",{props:r?e.labelColProps:{}},[l])}return t(r?Bl:o,{on:a?{click:e.legendClick}:{},props:r?s({tag:o},e.labelColProps):{},attrs:{id:e.labelId,for:n||null,tabindex:a?"-1":null},class:[a?"bv-no-focus-ring":"",r||a?"col-form-label":"",!r&&a?"pt-0":"",r||a?"":"d-block",e.labelSize?"col-form-label-".concat(e.labelSize):"",e.labelAlignClasses,e.labelClass]},[i])}return t()}(t,this),a=t(i?Bl:"div",{ref:"content",staticClass:"bv-no-focus-ring",attrs:{tabindex:e?"-1":null,role:e?"group":null}},[this.normalizeSlot("default")||t(),Cl(t,this),kl(t,this),xl(t,this)]),r={staticClass:"form-group",class:[this.validated?"was-validated":null,this.stateClass],attrs:{id:this.safeId(),disabled:e?this.disabled:null,role:e?null:"group","aria-invalid":!1===this.computedState?"true":null,"aria-labelledby":e&&i?this.labelId:null,"aria-describedby":e?this.describedByIds:null}};return t(e?"fieldset":i?js:"div",r,i&&e?[t(js,[n,a])]:[n,a])}},Pl=Dt({components:{BFormGroup:Dl,BFormFieldset:Dl}}),_l={computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(t){this.$refs.input.selectionStart=t}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(t){this.$refs.input.selectionEnd=t}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(t){this.$refs.input.selectionDirection=t}}},methods:{select:function(){var t;(t=this.$refs.input).select.apply(t,arguments)},setSelectionRange:function(){var t;(t=this.$refs.input).setSelectionRange.apply(t,arguments)},setRangeText:function(){var t;(t=this.$refs.input).setRangeText.apply(t,arguments)}}},Fl={model:{prop:"value",event:"update"},props:{value:{type:[String,Number],default:""},ariaInvalid:{type:[Boolean,String],default:!1},readonly:{type:Boolean,default:!1},plaintext:{type:Boolean,default:!1},autocomplete:{type:String},placeholder:{type:String},formatter:{type:Function},lazyFormatter:{type:Boolean,default:!1},trim:{type:Boolean,default:!1},number:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},debounce:{type:[Number,String],default:0}},data:function(){return{localValue:Jt(this.value),vModelValue:this.value}},computed:{computedClass:function(){return[{"custom-range":"range"===this.type,"form-control-plaintext":this.plaintext&&"range"!==this.type&&"color"!==this.type,"form-control":!this.plaintext&&"range"!==this.type||"color"===this.type},this.sizeFormClass,this.stateClass]},computedAriaInvalid:function(){return this.ariaInvalid&&"false"!==this.ariaInvalid?!0===this.ariaInvalid?"true":this.ariaInvalid:!1===this.computedState?"true":null},computedDebounce:function(){return ai(Ht(this.debounce,0),0)},hasFormatter:function(){return st(this.formatter)}},watch:{value:function(t){var e=Jt(t);e!==this.localValue&&t!==this.vModelValue&&(this.clearDebounce(),this.localValue=e,this.vModelValue=t)}},created:function(){this.$_inputDebounceTimer=null},mounted:function(){this.$on("hook:beforeDestroy",this.clearDebounce);var t=this.value,e=Jt(t);e!==this.localValue&&t!==this.vModelValue&&(this.localValue=e,this.vModelValue=t)},methods:{clearDebounce:function(){clearTimeout(this.$_inputDebounceTimer),this.$_inputDebounceTimer=null},formatValue:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t=Jt(t),!this.hasFormatter||this.lazyFormatter&&!i||(t=this.formatter(t,e)),t},modifyValue:function(t){return this.trim&&(t=t.trim()),this.number&&(t=zt(t,t)),t},updateValue:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.lazy;if(!n||i)if((t=this.modifyValue(t))!==this.vModelValue){this.clearDebounce();var a=function(){e.vModelValue=t,e.$emit("update",t)},r=this.computedDebounce;r>0&&!n&&!i?this.$_inputDebounceTimer=setTimeout(a,r):a()}else if(this.hasFormatter){var o=this.$refs.input;o&&t!==o.value&&(o.value=t)}},onInput:function(t){if(!t.target.composing){var e=t.target.value,i=this.formatValue(e,t);!1===i||t.defaultPrevented?t.preventDefault():(this.localValue=i,this.updateValue(i),this.$emit("input",i))}},onChange:function(t){var e=t.target.value,i=this.formatValue(e,t);!1===i||t.defaultPrevented?t.preventDefault():(this.localValue=i,this.updateValue(i,!0),this.$emit("change",i))},onBlur:function(t){var e=t.target.value,i=this.formatValue(e,t,!0);!1!==i&&(this.localValue=Jt(this.modifyValue(i)),this.updateValue(i,!0)),this.$emit("blur",t)},focus:function(){this.disabled||Ee(this.$el)},blur:function(){this.disabled||Ve(this.$el)}}},Il={computed:{validity:{cache:!1,get:function(){return this.$refs.input.validity}},validationMessage:{cache:!1,get:function(){return this.$refs.input.validationMessage}},willValidate:{cache:!1,get:function(){return this.$refs.input.willValidate}}},methods:{setCustomValidity:function(){var t;return(t=this.$refs.input).setCustomValidity.apply(t,arguments)},checkValidity:function(){var t;return(t=this.$refs.input).checkValidity.apply(t,arguments)},reportValidity:function(){var t;return(t=this.$refs.input).reportValidity.apply(t,arguments)}}},Ol=["text","password","email","number","url","tel","search","range","color","date","time","datetime","datetime-local","month","week"],Al=t.extend({name:"BFormInput",mixins:[Ai,ma,Us,qs,Ks,Fl,_l,Il],props:{type:{type:String,default:"text",validator:function(t){return x(Ol,t)}},noWheel:{type:Boolean,default:!1},min:{type:[String,Number]},max:{type:[String,Number]},step:{type:[String,Number]},list:{type:String}},computed:{localType:function(){return x(Ol,this.type)?this.type:"text"},computedAttrs:function(){var t=this.localType,e=this.disabled,i=this.placeholder,n=this.required,a=this.min,r=this.max,o=this.step;return{id:this.safeId(),name:this.name||null,form:this.form||null,type:t,disabled:e,placeholder:i,required:n,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,min:a,max:r,step:o,list:"password"!==t?this.list:null,"aria-required":n?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return s(s({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{noWheel:function(t){this.setWheelStopper(t)}},mounted:function(){this.setWheelStopper(this.noWheel)},deactivated:function(){this.setWheelStopper(!1)},activated:function(){this.setWheelStopper(this.noWheel)},beforeDestroy:function(){this.setWheelStopper(!1)},methods:{setWheelStopper:function(t){var e=this.$el;fr(t,e,"focus",this.onWheelFocus),fr(t,e,"blur",this.onWheelBlur),t||hr(document,"wheel",this.stopWheel)},onWheelFocus:function(){dr(document,"wheel",this.stopWheel)},onWheelBlur:function(){hr(document,"wheel",this.stopWheel)},stopWheel:function(t){t.preventDefault(),Ve(this.$el)}},render:function(t){return t("input",{ref:"input",class:this.computedClass,attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners})}}),El=Dt({components:{BFormInput:Al,BInput:Al}}),Vl=t.extend({name:"BFormRadioGroup",mixins:[ma,Us,Js,As,qs,Ks],provide:function(){return{bvRadioGroup:this}},props:{checked:{default:null}},data:function(){return{localChecked:this.checked}},computed:{isRadioGroup:function(){return!0}}}),Nl=Dt({components:{BFormRadio:Zs,BRadio:Zs,BFormRadioGroup:Vl,BRadioGroup:Vl}}),Ll=_i.LEFT,Ml=_i.RIGHT,Rl=_i.UP,Hl=_i.DOWN,zl=t.extend({name:"BVFormRatingStar",mixins:[Ke],props:{rating:{type:Number,default:0},star:{type:Number,default:0},focused:{type:Boolean,default:!1},variant:{type:String},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},hasClear:{type:Boolean,default:!1}},methods:{onClick:function(t){this.disabled||this.readonly||(t.preventDefault(),this.$emit("selected",this.star))}},render:function(t){var e=this.rating,i=this.star,n=this.focused,a=this.hasClear,r=this.variant,o=this.disabled,s=this.readonly,l=a?0:1,u=e>=i?"full":e>=i-.5?"half":"empty",c={variant:r,disabled:o,readonly:s};return t("span",{staticClass:"b-rating-star",class:{focused:n&&e===i||!Ht(e)&&i===l,"b-rating-star-empty":"empty"===u,"b-rating-star-half":"half"===u,"b-rating-star-full":"full"===u},attrs:{tabindex:o||s?null:"-1"},on:{click:this.onClick}},[t("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(u,c)])])}}),jl=function(t){return ai(3,Ht(t,5))},Gl=function(t,e,i){return ai(ni(t,i),e)},Wl=t.extend({name:"BFormRating",components:{BIconStar:vn,BIconStarHalf:bn,BIconStarFill:gn,BIconX:yn},mixins:[ma],model:{prop:"value",event:"change"},props:{value:{type:[Number,String],default:null},stars:{type:[Number,String],default:5,validator:function(t){return Ht(t)>=3}},variant:{type:String,default:function(){return Nt("BFormRating","variant")}},color:{type:String,default:function(){return Nt("BFormRating","color")}},showValue:{type:Boolean,default:!1},showValueMax:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},size:{type:String},name:{type:String},form:{type:String},noBorder:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},precision:{type:[Number,String],default:null},iconEmpty:{type:String,default:"star"},iconHalf:{type:String,default:"star-half"},iconFull:{type:String,default:"star-fill"},iconClear:{type:String,default:"x"},locale:{type:[String,Array]},showClear:{type:Boolean,default:!1}},data:function(){var t=zt(this.value,null),e=jl(this.stars);return{localValue:rt(t)?null:Gl(t,0,e),hasFocus:!1}},computed:{computedStars:function(){return jl(this.stars)},computedRating:function(){var t=zt(this.localValue,0),e=Ht(this.precision,3);return Gl(zt(t.toFixed(e)),0,this.computedStars)},computedLocale:function(){var t=$(this.locale).filter(mt);return new Intl.NumberFormat(t).resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return pa(this.computedLocale)},formattedRating:function(){var t=Ht(this.precision),e=this.showValueMax,i=this.computedLocale,n={notation:"standard",minimumFractionDigits:isNaN(t)?0:t,maximumFractionDigits:isNaN(t)?3:t},a=this.computedStars.toLocaleString(i),r=this.localValue;return r=rt(r)?e?"-":"":r.toLocaleString(i,n),e?"".concat(r,"/").concat(a):r}},watch:{value:function(t,e){if(t!==e){var i=zt(t,null);this.localValue=rt(i)?null:Gl(i,0,this.computedStars)}},localValue:function(t,e){t!==e&&t!==(this.value||0)&&this.$emit("change",t||null)},disabled:function(t){t&&(this.hasFocus=!1,this.blur())}},methods:{focus:function(){this.disabled||Ee(this.$el)},blur:function(){this.disabled||Ve(this.$el)},onKeydown:function(t){var e=t.keyCode;if(this.isInteractive&&x([Ll,Hl,Ml,Rl],e)){t.preventDefault();var i=Ht(this.localValue,0),n=this.showClear?0:1,a=this.computedStars,r=this.isRTL?-1:1;e===Ll?this.localValue=Gl(i-r,n,a)||null:e===Ml?this.localValue=Gl(i+r,n,a):e===Hl?this.localValue=Gl(i-1,n,a)||null:e===Rl&&(this.localValue=Gl(i+1,n,a))}},onSelected:function(t){this.isInteractive&&(this.localValue=t)},onFocus:function(t){this.hasFocus=!!this.isInteractive&&"focus"===t.type},renderIcon:function(t){return this.$createElement(Tn,{props:{icon:t,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(Tn,{props:{icon:this.iconClear}})}},render:function(t){var e,i=this,n=this.disabled,a=this.readonly,o=this.size,s=this.name,l=this.form,u=this.inline,c=this.variant,d=this.color,h=this.noBorder,f=this.hasFocus,p=this.computedRating,m=this.computedStars,v=this.formattedRating,g=this.showClear,b=this.isRTL,y=this.isInteractive,S=this.$scopedSlots,T=[];if(g&&!n&&!a){var w=t("span",{staticClass:"b-rating-icon"},[(S["icon-clear"]||this.iconClearFn)()]);T.push(t("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:f&&0===p},attrs:{tabindex:y?"-1":null},on:{click:function(){return i.onSelected(null)}},key:"clear"},[w]))}for(var B=0;B1&&void 0!==arguments[1]?arguments[1]:null;if(N(t)){var i=bt(t,this.valueField),n=bt(t,this.textField),a=bt(t,this.optionsField,null);return rt(a)?{value:at(i)?e||n:i,text:String(at(n)?e:n),html:bt(t,this.htmlField),disabled:Boolean(bt(t,this.disabledField))}:{label:String(bt(t,this.labelField)||n),options:this.normalizeOptions(a)}}return{value:e||t,text:String(t),disabled:!1}}}},ql={value:{required:!0},disabled:{type:Boolean,default:!1}},Kl=t.extend({name:"BFormSelectOption",functional:!0,props:ql,render:function(t,e){var i=e.props,n=e.data,a=e.children,r=i.value;return t("option",je(n,{attrs:{disabled:i.disabled},domProps:{value:r}}),a)}}),Xl=t.extend({name:"BFormSelectOptionGroup",mixins:[Ke,As],props:{label:{type:String,required:!0}},render:function(t){var e=this.formOptions.map((function(e,i){var n=e.value,a=e.text,r=e.html,o=e.disabled;return t(Kl,{attrs:{value:n,disabled:o},domProps:An(r,a),key:"option_".concat(i)})}));return t("optgroup",{attrs:{label:this.label}},[this.normalizeSlot("first"),e,this.normalizeSlot("default")])}}),Zl=t.extend({name:"BFormSelect",mixins:[ma,Ke,Us,qs,Ks,fl,Yl],model:{prop:"value",event:"input"},props:{value:{},multiple:{type:Boolean,default:!1},selectSize:{type:Number,default:0},ariaInvalid:{type:[Boolean,String],default:!1}},data:function(){return{localValue:this.value}},computed:{computedSelectSize:function(){return this.plain||0!==this.selectSize?this.selectSize:null},inputClass:function(){return[this.plain?"form-control":"custom-select",this.size&&this.plain?"form-control-".concat(this.size):null,this.size&&!this.plain?"custom-select-".concat(this.size):null,this.stateClass]},computedAriaInvalid:function(){return!0===this.ariaInvalid||"true"===this.ariaInvalid||"is-invalid"===this.stateClass?"true":null}},watch:{value:function(t){this.localValue=t},localValue:function(){this.$emit("input",this.localValue)}},methods:{focus:function(){Ee(this.$refs.input)},blur:function(){Ve(this.$refs.input)},onChange:function(t){var e=this,i=t.target,n=C(i.options).filter((function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));this.localValue=i.multiple?n:n[0],this.$nextTick((function(){e.$emit("change",e.localValue)}))}},render:function(t){var e=this.name,i=this.disabled,n=this.required,a=this.computedSelectSize,r=this.localValue,o=this.formOptions.map((function(e,i){var n=e.value,a=e.label,r=e.options,o=e.disabled,s="option_".concat(i);return k(r)?t(Xl,{props:{label:a,options:r},key:s}):t(Kl,{props:{value:n,disabled:o},domProps:An(e.html,e.text),key:s})}));return t("select",{class:this.inputClass,attrs:{id:this.safeId(),name:e,form:this.form||null,multiple:this.multiple||null,size:a,disabled:i,required:n,"aria-required":n?"true":null,"aria-invalid":this.computedAriaInvalid},on:{change:this.onChange},directives:[{name:"model",value:r}],ref:"input"},[this.normalizeSlot("first"),o,this.normalizeSlot("default")])}}),Jl=Dt({components:{BFormSelect:Zl,BFormSelectOption:Kl,BFormSelectOptionGroup:Xl,BSelect:Zl,BSelectOption:Kl,BSelectOptionGroup:Xl}}),Ql="BFormSpinbutton",tu=_i.UP,eu=_i.DOWN,iu=_i.HOME,nu=_i.END,au=_i.PAGEUP,ru=_i.PAGEDOWN,ou=t.extend({name:Ql,mixins:[Oi,ma,Ke],inheritAttrs:!1,props:{value:{type:Number,default:null},min:{type:[Number,String],default:1},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},wrap:{type:Boolean,default:!1},formatterFn:{type:Function},size:{type:String},placeholder:{type:String},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},name:{type:String},form:{type:String},state:{type:Boolean,default:null},inline:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},ariaLabel:{type:String},ariaControls:{type:String},labelDecrement:{type:String,default:function(){return Nt(Ql,"labelDecrement")}},labelIncrement:{type:String,default:function(){return Nt(Ql,"labelIncrement")}},locale:{type:[String,Array]},repeatDelay:{type:[Number,String],default:500},repeatInterval:{type:[Number,String],default:100},repeatThreshold:{type:[Number,String],default:10},repeatStepMultiplier:{type:[Number,String],default:4}},data:function(){return{localValue:zt(this.value,null),hasFocus:!1}},computed:{spinId:function(){return this.safeId()},computedInline:function(){return this.inline&&!this.vertical},computedReadonly:function(){return this.readonly&&!this.disabled},computedRequired:function(){return this.required&&!this.computedReadonly&&!this.disabled},computedStep:function(){return zt(this.step,1)},computedMin:function(){return zt(this.min,1)},computedMax:function(){var t=zt(this.max,100),e=this.computedStep,i=this.computedMin;return si((t-i)/e)*e+i},computedDelay:function(){var t=Ht(this.repeatDelay,0);return t>0?t:500},computedInterval:function(){var t=Ht(this.repeatInterval,0);return t>0?t:100},computedThreshold:function(){return ai(Ht(this.repeatThreshold,10),1)},computedStepMultiplier:function(){return ai(Ht(this.repeatStepMultiplier,4),1)},computedPrecision:function(){var t=this.computedStep;return si(t)===t?0:(t.toString().split(".")[1]||"").length},computedMultiplier:function(){return li(10,this.computedPrecision||0)},valueAsFixed:function(){var t=this.localValue;return rt(t)?"":t.toFixed(this.computedPrecision)},computedLocale:function(){var t=$(this.locale).filter(mt);return new Intl.NumberFormat(t).resolvedOptions().locale},computedRTL:function(){return pa(this.computedLocale)},defaultFormatter:function(){var t=this.computedPrecision;return new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:t,maximumFractionDigits:t,notation:"standard"}).format},computedFormatter:function(){return st(this.formatterFn)?this.formatterFn:this.defaultFormatter},computedAttrs:function(){return s(s({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var t=this.spinId,e=this.localValue,i=this.computedRequired,n=this.disabled,a=this.state,r=this.computedFormatter,o=!rt(e);return s(s({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:t,role:"spinbutton",tabindex:n?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":!1===a||!o&&i?"true":null,"aria-required":i?"true":null,"aria-valuemin":Jt(this.computedMin),"aria-valuemax":Jt(this.computedMax),"aria-valuenow":o?e:null,"aria-valuetext":o?r(e):null})}},watch:{value:function(t){this.localValue=zt(t,null)},localValue:function(t){this.$emit("input",t)},disabled:function(t){t&&this.clearRepeat()},readonly:function(t){t&&this.clearRepeat()}},created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||Ee(this.$refs.spinner)},blur:function(){this.disabled||Ve(this.$refs.spinner)},emitChange:function(){this.$emit("change",this.localValue)},stepValue:function(t){var e=this.localValue;if(!this.disabled&&!rt(e)){var i=this.computedStep*t,n=this.computedMin,a=this.computedMax,r=this.computedMultiplier,o=this.wrap;e=ui((e-n)/i)*i+n+i,e=ui(e*r)/r,this.localValue=e>a?o?n:a:e0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;rt(e)?this.localValue=this.computedMin:this.stepValue(1*t)},stepDown:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;rt(e)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*t)},onKeydown:function(t){var e=t.keyCode,i=t.altKey,n=t.ctrlKey,a=t.metaKey;if(!(this.disabled||this.readonly||i||n||a)&&x([tu,eu,iu,nu,au,ru],e)){if(t.preventDefault(),this.$_keyIsDown)return;this.resetTimers(),x([tu,eu],e)?(this.$_keyIsDown=!0,e===tu?this.handleStepRepeat(t,this.stepUp):e===eu&&this.handleStepRepeat(t,this.stepDown)):e===au?this.stepUp(this.computedStepMultiplier):e===ru?this.stepDown(this.computedStepMultiplier):e===iu?this.localValue=this.computedMin:e===nu&&(this.localValue=this.computedMax)}},onKeyup:function(t){var e=t.keyCode,i=t.altKey,n=t.ctrlKey,a=t.metaKey;this.disabled||this.readonly||i||n||a||x([tu,eu,iu,nu,au,ru],e)&&(this.resetTimers(),this.$_keyIsDown=!1,t.preventDefault(),this.emitChange())},handleStepRepeat:function(t,e){var i=this,n=t||{},a=n.type,r=n.button;if(!this.disabled&&!this.readonly){if("mousedown"===a&&r)return;this.resetTimers(),e(1);var o=this.computedThreshold,s=this.computedStepMultiplier,l=this.computedDelay,u=this.computedInterval;this.$_autoDelayTimer=setTimeout((function(){var t=0;i.$_autoRepeatTimer=setInterval((function(){e(t0&&i.indexOf(t)===e}))},vu=function(t){return ut(t)?t:ht(t)&&t.target.value||""},gu=t.extend({name:uu,mixins:[ma,Ke],model:{prop:"value",event:"input"},props:{inputId:{type:String},placeholder:{type:String,default:function(){return Nt(uu,"placeholder")}},disabled:{type:Boolean,default:!1},name:{type:String},form:{type:String},autofocus:{type:Boolean,default:!1},state:{type:Boolean,default:null},size:{type:String},inputType:{type:String,default:"text",validator:function(t){return x(cu,t)}},inputClass:{type:[String,Array,Object]},inputAttrs:{type:Object,default:function(){return{}}},addButtonText:{type:String,default:function(){return Nt(uu,"addButtonText")}},addButtonVariant:{type:String,default:function(){return Nt(uu,"addButtonVariant")}},tagVariant:{type:String,default:function(){return Nt(uu,"tagVariant")}},tagClass:{type:[String,Array,Object]},tagPills:{type:Boolean,default:!1},tagRemoveLabel:{type:String,default:function(){return Nt(uu,"tagRemoveLabel")}},tagRemovedLabel:{type:String,default:function(){return Nt(uu,"tagRemovedLabel")}},tagValidator:{type:Function},duplicateTagText:{type:String,default:function(){return Nt(uu,"duplicateTagText")}},invalidTagText:{type:String,default:function(){return Nt(uu,"invalidTagText")}},separator:{type:[String,Array]},removeOnDelete:{type:Boolean,default:!1},addOnChange:{type:Boolean,default:!1},noAddOnEnter:{type:Boolean,default:!1},noOuterFocus:{type:Boolean,default:!1},value:{type:Array,default:function(){return[]}}},data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:{all:[],valid:[],invalid:[],duplicate:[]}}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return x(cu,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){return s(s({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:this.disabled||null,form:this.form||null})},computedInputHandlers:function(){return{input:this.onInputInput,change:this.onInputChange,keydown:this.onInputKeydown}},computedSeparator:function(){return $(this.separator).filter(ut).filter(mt).join("")},computedSeparatorRegExp:function(){var t=this.computedSeparator;return t?new RegExp("[".concat(Zt(t).replace(du,"\\s"),"]+")):null},computedJoiner:function(){var t=this.computedSeparator.charAt(0);return" "!==t?"".concat(t," "):t},disableAddButton:function(){var t=this,e=Qt(this.newTag);return""===e||!this.splitTags(e).some((function(e){return!x(t.tags,e)&&t.validateTag(e)}))},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0}},watch:{value:function(t){this.tags=mu(t)},tags:function(t,e){qn(t,this.value)||this.$emit("input",t),qn(t,e)||(t=$(t).filter(mt),e=$(e).filter(mt),this.removedTags=e.filter((function(e){return!x(t,e)})))},tagsState:function(t,e){qn(t,e)||this.$emit("tag-state",t.valid,t.invalid,t.duplicate)}},created:function(){this.tags=mu(this.value)},mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{addTag:function(t){if(t=ut(t)?t:this.newTag,!this.disabled&&""!==Qt(t)){var e=this.parseTags(t);if(e.valid.length>0||0===e.all.length)if(be(this.getInput(),"select"))this.newTag="";else{var i=[].concat(y(e.invalid),y(e.duplicate));this.newTag=e.all.filter((function(t){return x(i,t)})).join(this.computedJoiner).concat(i.length>0?this.computedJoiner.charAt(0):"")}e.valid.length>0&&(this.tags=$(this.tags,e.valid)),this.tagsState=e,this.focus()}},removeTag:function(t){var e=this;this.disabled||(this.tags=this.tags.filter((function(e){return e!==t})),this.$nextTick((function(){e.focus()})))},onInputInput:function(t){if(!(this.disabled||ht(t)&&t.target.composing)){var e=vu(t),i=this.computedSeparatorRegExp;this.newTag!==e&&(this.newTag=e),e=Jt(e).replace(Gt,""),i&&i.test(e.slice(-1))?this.addTag():this.tagsState=""===e?{all:[],valid:[],invalid:[],duplicate:[]}:this.parseTags(e)}},onInputChange:function(t){if(!this.disabled&&this.addOnChange){var e=vu(t);this.newTag!==e&&(this.newTag=e),this.addTag()}},onInputKeydown:function(t){if(!this.disabled&&ht(t)){var e=t.keyCode,i=t.target.value||"";this.noAddOnEnter||e!==hu?!this.removeOnDelete||e!==fu&&e!==pu||""!==i||(t.preventDefault(),this.tags=this.tags.slice(0,-1)):(t.preventDefault(),this.addTag())}},onClick:function(t){var e=this;!this.disabled&&ht(t)&&t.target===t.currentTarget&&this.$nextTick((function(){e.focus()}))},onFocusin:function(){this.hasFocus=!0},onFocusout:function(){this.hasFocus=!1},handleAutofocus:function(){var t=this;this.$nextTick((function(){se((function(){t.autofocus&&!t.disabled&&t.focus()}))}))},focus:function(){this.disabled||Ee(this.getInput())},blur:function(){this.disabled||Ve(this.getInput())},splitTags:function(t){t=Jt(t);var e=this.computedSeparatorRegExp;return(e?t.split(e):[t]).map(Qt).filter(mt)},parseTags:function(t){var e=this,i=this.splitTags(t),n={all:i,valid:[],invalid:[],duplicate:[]};return i.forEach((function(t){x(e.tags,t)||x(n.valid,t)?x(n.duplicate,t)||n.duplicate.push(t):e.validateTag(t)?n.valid.push(t):x(n.invalid,t)||n.invalid.push(t)})),n},validateTag:function(t){var e=this.tagValidator;return!st(e)||e(t)},getInput:function(){return ge("#".concat(this.computedInputId),this.$el)},defaultRender:function(t){var e=t.tags,i=t.addTag,n=t.removeTag,a=t.inputType,r=t.inputAttrs,o=t.inputHandlers,l=t.inputClass,u=t.tagClass,c=t.tagVariant,d=t.tagPills,h=t.tagRemoveLabel,f=t.invalidTagText,p=t.duplicateTagText,m=t.isInvalid,v=t.isDuplicate,g=t.disabled,b=t.placeholder,y=t.addButtonText,S=t.addButtonVariant,T=t.disableAddButton,w=this.$createElement,B=e.map((function(t){return t=Jt(t),w(lu,{key:"li-tag__".concat(t),staticClass:"mt-1 mr-1",class:u,props:{tag:"li",title:t,disabled:g,variant:c,pill:d,removeLabel:h},on:{remove:function(){return n(t)}}},t)})),C=f&&m?this.safeId("__invalid_feedback__"):null,k=p&&v?this.safeId("__duplicate_feedback__"):null,x=[r["aria-describedby"],C,k].filter(mt).join(" "),D=w("input",{ref:"input",directives:[{name:"model",value:r.value}],staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:l,style:{outline:0,minWidth:"5rem"},attrs:s(s({},r),{},{"aria-describedby":x||null,type:a,placeholder:b||null}),domProps:{value:r.value},on:o}),P=w(Ki,{ref:"button",staticClass:"b-form-tags-button py-0",class:{invisible:T},style:{fontSize:"90%"},props:{variant:S,disabled:T},on:{click:function(){return i()}}},[this.normalizeSlot("add-button-text")||y]),_=this.safeId("__TAG__LIST__"),F=w("li",{key:"__li-input__",staticClass:"flex-grow-1 mt-1",attrs:{role:"none","aria-live":"off","aria-controls":_}},[w("div",{staticClass:"d-flex",attrs:{role:"group"}},[D,P])]),I=w("ul",{key:"_tags_list_",staticClass:"list-unstyled mt-n1 mb-0 d-flex flex-wrap align-items-center",attrs:{id:_}},$(B,F)),O=w();if(f||p){var A=this.computedJoiner,E=w();C&&(E=w(Ms,{key:"_tags_invalid_feedback_",props:{id:C,forceShow:!0}},[this.invalidTagText,": ",this.invalidTags.join(A)]));var V=w();k&&(V=w(Ns,{key:"_tags_duplicate_feedback_",props:{id:k}},[this.duplicateTagText,": ",this.duplicateTags.join(A)])),O=w("div",{key:"_tags_feedback_",attrs:{"aria-live":"polite","aria-atomic":"true"}},[E,V])}return[I,O]}},render:function(t){var e=this,i={tags:this.tags.slice(),removeTag:this.removeTag,addTag:this.addTag,inputType:this.computedInputType,inputAttrs:this.computedInputAttrs,inputHandlers:this.computedInputHandlers,inputId:this.computedInputId,invalidTags:this.invalidTags.slice(),isInvalid:this.hasInvalidTags,duplicateTags:this.duplicateTags.slice(),isDuplicate:this.hasDuplicateTags,disableAddButton:this.disableAddButton,state:this.state,separator:this.separator,disabled:this.disabled,size:this.size,placeholder:this.placeholder,inputClass:this.inputClass,tagRemoveLabel:this.tagRemoveLabel,tagVariant:this.tagVariant,tagPills:this.tagPills,tagClass:this.tagClass,addButtonText:this.addButtonText,addButtonVariant:this.addButtonVariant,invalidTagText:this.invalidTagText,duplicateTagText:this.duplicateTagText},n=this.normalizeSlot("default",i)||this.defaultRender(i),a=t("output",{staticClass:"sr-only",attrs:{id:this.safeId("_selected-tags_"),role:"status",for:this.computedInputId,"aria-live":this.hasFocus?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),o=t("div",{staticClass:"sr-only",attrs:{id:this.safeId("_removed-tags_"),role:"status","aria-live":this.hasFocus?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),s=t();return this.name&&!this.disabled&&(s=this.tags.map((function(i){return t("input",{key:i,attrs:{type:"hidden",value:i,name:e.name,form:e.form||null}})}))),t("div",{staticClass:"b-form-tags form-control h-auto",class:r({focus:this.hasFocus&&!this.noOuterFocus&&!this.disabled,disabled:this.disabled,"is-valid":!0===this.state,"is-invalid":!1===this.state},"form-control-".concat(this.size),this.size),attrs:{id:this.safeId(),role:"group",tabindex:this.disabled||this.noOuterFocus?null:"-1","aria-describedby":this.safeId("_selected_")},on:{focusin:this.onFocusin,focusout:this.onFocusout,click:this.onClick}},$(a,o,n,s))}}),bu=Dt({components:{BFormTags:gu,BTags:gu,BFormTag:lu,BTag:lu}}),yu=t.extend({name:"BFormTextarea",directives:{"b-visible":Xa},mixins:[Ai,ma,kr,Us,qs,Ks,Fl,_l,Il],props:{rows:{type:[Number,String],default:2},maxRows:{type:[Number,String]},wrap:{type:String,default:"soft"},noResize:{type:Boolean,default:!1},noAutoShrink:{type:Boolean,default:!1}},data:function(){return{heightInPx:null}},computed:{computedStyle:function(){var t={resize:!this.computedRows||this.noResize?"none":null};return this.computedRows||(t.height=this.heightInPx,t.overflowY="scroll"),t},computedMinRows:function(){return ai(Ht(this.rows,2),2)},computedMaxRows:function(){return ai(this.computedMinRows,Ht(this.maxRows,0))},computedRows:function(){return this.computedMinRows===this.computedMaxRows?this.computedMinRows:null},computedAttrs:function(){var t=this.disabled,e=this.required;return{id:this.safeId(),name:this.name||null,form:this.form||null,disabled:t,placeholder:this.placeholder||null,required:e,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,rows:this.computedRows,wrap:this.wrap||null,"aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return s(s({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{localValue:function(){this.setHeight()}},mounted:function(){this.setHeight()},methods:{visibleCallback:function(t){t&&this.$nextTick(this.setHeight)},setHeight:function(){var t=this;this.$nextTick((function(){se((function(){t.heightInPx=t.computeHeight()}))}))},computeHeight:function(){if(this.$isServer||!rt(this.computedRows))return null;var t=this.$el;if(!fe(t))return null;var e=_e(t),i=zt(e.lineHeight,1),n=zt(e.borderTopWidth,0)+zt(e.borderBottomWidth,0),a=zt(e.paddingTop,0)+zt(e.paddingBottom,0),r=n+a,o=i*this.computedMinRows+r,s=t.style.height||e.height;t.style.height="auto";var l=t.scrollHeight;t.style.height=s;var u=ai((l-a)/i,2),c=ni(ai(u,this.computedMinRows),this.computedMaxRows),d=ai(oi(c*i+r),o);return this.noAutoShrink&&zt(s,0)>d?s:"".concat(d,"px")}},render:function(t){return t("textarea",{ref:"input",class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners})}}),Su=Dt({components:{BFormTextarea:yu,BTextarea:yu}}),Tu=_i.LEFT,wu=_i.RIGHT,Bu=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,Cu=function(t){return Nt("BTime",t)||Nt("BFormSpinbutton",t)},ku=function(t){return"00".concat(t||"").slice(-2)},xu=function(t){t=Jt(t);var e=null,i=null,n=null;if(Bu.test(t)){var a=b(t.split(":").map((function(t){return Ht(t,null)})),3);e=a[0],i=a[1],n=a[2]}return{hours:ot(e)?null:e,minutes:ot(i)?null:i,seconds:ot(n)?null:n,ampm:ot(e)||e<12?0:1}},$u=t.extend({name:"BTime",mixins:[ma,Ke],model:{prop:"value",event:"input"},props:{value:{type:String,default:""},showSeconds:{type:Boolean,default:!1},hour12:{type:Boolean,default:null},locale:{type:[String,Array]},ariaLabelledby:{type:String},secondsStep:{type:[Number,String],default:1},minutesStep:{type:[Number,String],default:1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},hideHeader:{type:Boolean,default:!1},labelNoTimeSelected:{type:String,default:function(){return Nt("BTime","labelNoTimeSelected")}},labelSelected:{type:String,default:function(){return Nt("BTime","labelSelected")}},labelHours:{type:String,default:function(){return Nt("BTime","labelHours")}},labelMinutes:{type:String,default:function(){return Nt("BTime","labelMinutes")}},labelSeconds:{type:String,default:function(){return Nt("BTime","labelSeconds")}},labelAmpm:{type:String,default:function(){return Nt("BTime","labelAmpm")}},labelAm:{type:String,default:function(){return Nt("BTime","labelAm")}},labelPm:{type:String,default:function(){return Nt("BTime","labelPm")}},labelIncrement:{type:String,default:function(){return Cu("labelIncrement")}},labelDecrement:{type:String,default:function(){return Cu("labelDecrement")}},hidden:{type:Boolean,default:!1}},data:function(){var t=xu(this.value||"");return{modelHours:t.hours,modelMinutes:t.minutes,modelSeconds:t.seconds,modelAmpm:t.ampm,isLive:!1}},computed:{computedHMS:function(){return function(t){var e=t.hours,i=t.minutes,n=t.seconds,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(rt(e)||rt(i)||a&&rt(n))return"";var r=[e,i,a?n:0];return r.map(ku).join(":")}({hours:this.modelHours,minutes:this.modelMinutes,seconds:this.modelSeconds},this.showSeconds)},resolvedOptions:function(){var t=$(this.locale).filter(mt),e={hour:"numeric",minute:"numeric",second:"numeric"};ot(this.hour12)||(e.hour12=!!this.hour12);var i=new Intl.DateTimeFormat(t,e).resolvedOptions(),n=i.hour12||!1,a=i.hourCycle||(n?"h12":"h23");return{locale:i.locale,hour12:n,hourCycle:a}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return pa(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(mt).join(" ")||null},timeFormatter:function(){var t={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:"numeric",minute:"numeric",timeZone:"UTC"};return this.showSeconds&&(t.second="numeric"),ta(this.computedLocale,t)},numberFormatter:function(){return new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"}).format},formattedTimeString:function(){var t=this.modelHours,e=this.modelMinutes,i=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(Zn(Date.UTC(0,0,1,t,e,i))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var t=this.$createElement;return{increment:function(e){var i=e.hasFocus;return t(un,{props:{scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(e){var i=e.hasFocus;return t(un,{props:{flipV:!0,scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:{value:function(t,e){if(t!==e&&!qn(xu(t),xu(this.computedHMS))){var i=xu(t),n=i.hours,a=i.minutes,r=i.seconds,o=i.ampm;this.modelHours=n,this.modelMinutes=a,this.modelSeconds=r,this.modelAmpm=o}},computedHMS:function(t,e){t!==e&&this.$emit("input",t)},context:function(t,e){qn(t,e)||this.$emit("context",t)},modelAmpm:function(t,e){var i=this;if(t!==e){var n=rt(this.modelHours)?0:this.modelHours;this.$nextTick((function(){0===t&&n>11?i.modelHours=n-12:1===t&&n<12&&(i.modelHours=n+12)}))}},modelHours:function(t,e){t!==e&&(this.modelAmpm=t>11?1:0)}},created:function(){var t=this;this.$nextTick((function(){t.$emit("context",t.context)}))},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||Ee(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var t=ce();Se(this.$el,t)&&Ve(t)}},formatHours:function(t){var e=this.computedHourCycle;return t=0===(t=this.is12Hour&&t>12?t-12:t)&&"h12"===e?12:0===t&&"h24"===e?24:12===t&&"h11"===e?0:t,this.numberFormatter(t)},formatMinutes:function(t){return this.numberFormatter(t)},formatSeconds:function(t){return this.numberFormatter(t)},formatAmpm:function(t){return 0===t?this.labelAm:1===t?this.labelPm:""},setHours:function(t){this.modelHours=t},setMinutes:function(t){this.modelMinutes=t},setSeconds:function(t){this.modelSeconds=t},setAmpm:function(t){this.modelAmpm=t},onSpinLeftRight:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.type,i=t.keyCode;if(!this.disabled&&"keydown"===e&&(i===Tu||i===wu)){t.preventDefault(),t.stopPropagation();var n=this.$refs.spinners||[],a=n.map((function(t){return!!t.hasFocus})).indexOf(!0);a=(a+=i===Tu?-1:1)>=n.length?0:a<0?n.length-1:a,Ee(n[a])}},setLive:function(t){var e=this;t?this.$nextTick((function(){se((function(){e.isLive=!0}))})):this.isLive=!1}},render:function(t){var e=this;if(this.hidden)return t();var i=this.valueId,n=this.computedAriaLabelledby,a=[],r=function(n,r,o){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=e.safeId("_spinbutton_".concat(r,"_"))||null;return a.push(u),t(ou,{key:r,ref:"spinners",refInFor:!0,class:o,props:s({id:u,placeholder:"--",vertical:!0,required:!0,disabled:e.disabled,readonly:e.readonly,locale:e.computedLocale,labelIncrement:e.labelIncrement,labelDecrement:e.labelDecrement,wrap:!0,ariaControls:i,min:0},l),scopedSlots:e.spinScopedSlots,on:{change:n}})},o=function(){return t("div",{staticClass:"d-flex flex-column",class:{"text-muted":e.disabled||e.readonly},attrs:{"aria-hidden":"true"}},[t(cn,{props:{shiftV:4,scale:.5}}),t(cn,{props:{shiftV:-4,scale:.5}})])},l=[];l.push(r(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),l.push(o()),l.push(r(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(l.push(o()),l.push(r(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.is12Hour&&l.push(r(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),l=t("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:this.disabled||this.readonly?null:"-1","aria-labelledby":n},on:{keydown:this.onSpinLeftRight,click:function(t){t.target===t.currentTarget&&e.focus()}}},l);var u=t("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:this.disabled||this.readonly},attrs:{id:i,role:"status",for:a.filter(mt).join(" ")||null,tabindex:this.disabled?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:this.focus,focus:this.focus}},[t("bdi",this.formattedTimeString),this.computedHMS?t("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),c=t("header",{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[u]),d=this.normalizeSlot("default");return d=d?t("footer",{staticClass:"b-time-footer"},d):t(),t("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":n||null,"aria-disabled":this.disabled?"true":null,"aria-readonly":this.readonly&&!this.disabled?"true":null}},[c,l,d])}}),Du="BFormTimepicker",Pu=function(t){return Nt(Du,t)||Nt("BTime",t)||Nt("BFormSpinbutton",t)},_u={props:s({value:{type:String,default:""},resetValue:{type:String,default:""},placeholder:{type:String},size:{type:String},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},name:{type:String},form:{type:String},state:{type:Boolean,default:null},hour12:{type:Boolean,default:null},locale:{type:[String,Array]},showSeconds:{type:Boolean,default:!1},hideHeader:{type:Boolean,default:!1},secondsStep:{type:[Number,String],default:1},minutesStep:{type:[Number,String],default:1},buttonOnly:{type:Boolean,default:!1},buttonVariant:{type:String,default:"secondary"},nowButton:{type:Boolean,default:!1},labelNowButton:{type:String,default:function(){return Nt(Du,"labelNowButton")}},nowButtonVariant:{type:String,default:"outline-primary"},resetButton:{type:Boolean,default:!1},labelResetButton:{type:String,default:function(){return Nt(Du,"labelResetButton")}},resetButtonVariant:{type:String,default:"outline-danger"},noCloseButton:{type:Boolean,default:!1},labelCloseButton:{type:String,default:function(){return Nt(Du,"labelCloseButton")}},closeButtonVariant:{type:String,default:"outline-secondary"},labelSelected:{type:String,default:function(){return Pu("labelSelected")}},labelNoTimeSelected:{type:String,default:function(){return Pu("labelNoTimeSelected")}},labelHours:{type:String,default:function(){return Pu("labelHours")}},labelMinutes:{type:String,default:function(){return Pu("labelMinutes")}},labelSeconds:{type:String,default:function(){return Pu("labelSeconds")}},labelAmpm:{type:String,default:function(){return Pu("labelAmpm")}},labelAm:{type:String,default:function(){return Pu("labelAm")}},labelPm:{type:String,default:function(){return Pu("labelPm")}},labelIncrement:{type:String,default:function(){return Pu("labelIncrement")}},labelDecrement:{type:String,default:function(){return Pu("labelDecrement")}},menuClass:{type:[String,Array,Object]}},ol)},Fu=t.extend({name:Du,mixins:[ma,_u],model:{prop:"value",event:"input"},data:function(){return{localHMS:this.value||"",localLocale:null,isRTL:!1,formattedValue:"",isVisible:!1}},computed:{computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null},timeProps:function(){return{hidden:!this.isVisible,value:this.localHMS,readonly:this.readonly,disabled:this.disabled,locale:this.locale,hour12:this.hour12,hideHeader:this.hideHeader,showSeconds:this.showSeconds,secondsStep:this.secondsStep,minutesStep:this.minutesStep,labelNoTimeSelected:this.labelNoTimeSelected,labelSelected:this.labelSelected,labelHours:this.labelHours,labelMinutes:this.labelMinutes,labelSeconds:this.labelSeconds,labelAmpm:this.labelAmpm,labelAm:this.labelAm,labelPm:this.labelPm,labelIncrement:this.labelIncrement,labelDecrement:this.labelDecrement}}},watch:{value:function(t){this.localHMS=t||""},localHMS:function(t){this.isVisible&&this.$emit("input",t||"")}},methods:{focus:function(){this.disabled||Ee(this.$refs.control)},blur:function(){this.disabled||Ve(this.$refs.control)},setAndClose:function(t){var e=this;this.localHMS=t,this.$nextTick((function(){e.$refs.control.hide(!0)}))},onInput:function(t){this.localHMS!==t&&(this.localHMS=t)},onContext:function(t){var e=t.isRTL,i=t.locale,n=t.value,a=t.formatted;this.isRTL=e,this.localLocale=i,this.formattedValue=a,this.localHMS=n||"",this.$emit("context",t)},onNowButton:function(){var t=new Date,e=[t.getHours(),t.getMinutes(),this.showSeconds?t.getSeconds():0].map((function(t){return"00".concat(t||"").slice(-2)})).join(":");this.setAndClose(e)},onResetButton:function(){this.setAndClose(this.resetValue)},onCloseButton:function(){this.$refs.control.hide(!0)},onShow:function(){this.isVisible=!0},onShown:function(){var t=this;this.$nextTick((function(){Ee(t.$refs.time),t.$emit("shown")}))},onHidden:function(){this.isVisible=!1,this.$emit("hidden")},defaultButtonFn:function(t){var e=t.isHovered,i=t.hasFocus;return this.$createElement(e||i?hn:dn,{attrs:{"aria-hidden":"true"}})}},render:function(t){var e=this.localHMS,i=this.disabled,n=this.readonly,a=ot(this.placeholder)?this.labelNoTimeSelected:this.placeholder,r=[];if(this.nowButton){var o=this.labelNowButton;r.push(t(Ki,{key:"now-btn",props:{size:"sm",disabled:i||n,variant:this.nowButtonVariant},attrs:{"aria-label":o||null},on:{click:this.onNowButton}},o))}if(this.resetButton){r.length>0&&r.push(t("span"," "));var l=this.labelResetButton;r.push(t(Ki,{key:"reset-btn",props:{size:"sm",disabled:i||n,variant:this.resetButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onResetButton}},l))}if(!this.noCloseButton){r.length>0&&r.push(t("span"," "));var u=this.labelCloseButton;r.push(t(Ki,{key:"close-btn",props:{size:"sm",disabled:i,variant:this.closeButtonVariant},attrs:{"aria-label":u||null},on:{click:this.onCloseButton}},u))}r.length>0&&(r=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":r.length>1,"justify-content-end":r.length<2}},r)]);var c=t($u,{ref:"time",staticClass:"b-form-time-control",props:this.timeProps,on:{input:this.onInput,context:this.onContext}},r);return t(sl,{ref:"control",staticClass:"b-form-timepicker",props:s(s({},this.$props),{},{id:this.safeId(),rtl:this.isRTL,lang:this.computedLang,value:e||"",formattedValue:e?this.formattedValue:"",placeholder:a||""}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:{"button-content":this.$scopedSlots["button-content"]||this.defaultButtonFn}},[c])}}),Iu=Dt({components:{BFormTimepicker:Fu,BTimepicker:Fu}}),Ou=Dt({components:{BImg:Qa,BImgLazy:er}}),Au={tag:{type:String,default:"div"}},Eu=t.extend({name:"BInputGroupText",functional:!0,props:Au,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(i.tag,je(n,{staticClass:"input-group-text"}),a)}}),Vu={id:{type:String,default:null},tag:{type:String,default:"div"},isText:{type:Boolean,default:!1}},Nu=t.extend({name:"BInputGroupAddon",functional:!0,props:s(s({},Vu),{},{append:{type:Boolean,default:!1}}),render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(i.tag,je(n,{class:{"input-group-append":i.append,"input-group-prepend":!i.append},attrs:{id:i.id}}),i.isText?[t(Eu,a)]:a)}}),Lu=t.extend({name:"BInputGroupAppend",functional:!0,props:Vu,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(Nu,je(n,{props:s(s({},i),{},{append:!0})}),a)}}),Mu=t.extend({name:"BInputGroupPrepend",functional:!0,props:Vu,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(Nu,je(n,{props:s(s({},i),{},{append:!1})}),a)}}),Ru={id:{type:String},size:{type:String,default:function(){return Nt("BInputGroup","size")}},prepend:{type:String},prependHtml:{type:String},append:{type:String},appendHtml:{type:String},tag:{type:String,default:"div"}},Hu=Dt({components:{BInputGroup:t.extend({name:"BInputGroup",functional:!0,props:Ru,render:function(t,e){var i=e.props,n=e.data,a=e.slots,o=e.scopedSlots,s=i.prepend,l=i.prependHtml,u=i.append,c=i.appendHtml,d=i.size,h=o||{},f=a(),p={},m=t(),v=Ye("prepend",h,f);(v||s||l)&&(m=t(Mu,[v?qe("prepend",p,h,f):t(Eu,{domProps:An(l,s)})]));var g=t(),b=Ye("append",h,f);return(b||u||c)&&(g=t(Lu,[b?qe("append",p,h,f):t(Eu,{domProps:An(c,u)})])),t(i.tag,je(n,{staticClass:"input-group",class:r({},"input-group-".concat(d),d),attrs:{id:i.id||null,role:"group"}}),[m,qe("default",p,h,f),g])}}),BInputGroupAddon:Nu,BInputGroupPrepend:Mu,BInputGroupAppend:Lu,BInputGroupText:Eu}}),zu={tag:{type:String,default:"div"},fluid:{type:[Boolean,String],default:!1}},ju=t.extend({name:"BContainer",functional:!0,props:zu,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(i.tag,je(n,{class:r({container:!(i.fluid||""===i.fluid),"container-fluid":!0===i.fluid||""===i.fluid},"container-".concat(i.fluid),i.fluid&&!0!==i.fluid)}),a)}}),Gu="BJumbotron",Wu={fluid:{type:Boolean,default:!1},containerFluid:{type:[Boolean,String],default:!1},header:{type:String},headerHtml:{type:String},headerTag:{type:String,default:"h1"},headerLevel:{type:[Number,String],default:"3"},lead:{type:String},leadHtml:{type:String},leadTag:{type:String,default:"p"},tag:{type:String,default:"div"},bgVariant:{type:String,default:function(){return Nt(Gu,"bgVariant")}},borderVariant:{type:String,default:function(){return Nt(Gu,"borderVariant")}},textVariant:{type:String,default:function(){return Nt(Gu,"textVariant")}}},Uu=Dt({components:{BJumbotron:t.extend({name:Gu,functional:!0,props:Wu,render:function(t,e){var i,n=e.props,a=e.data,o=e.slots,s=e.scopedSlots,l=n.header,u=n.headerHtml,c=n.lead,d=n.leadHtml,h=n.textVariant,f=n.bgVariant,p=n.borderVariant,m=s||{},v=o(),g={},b=t(),y=Ye("header",m,v);if(y||l||u){var S=n.headerLevel;b=t(n.headerTag,{class:r({},"display-".concat(S),S),domProps:y?{}:An(u,l)},qe("header",g,m,v))}var T=t(),w=Ye("lead",m,v);(w||c||d)&&(T=t(n.leadTag,{staticClass:"lead",domProps:w?{}:An(d,c)},qe("lead",g,m,v)));var B=[b,T,qe("default",g,m,v)];return n.fluid&&(B=[t(ju,{props:{fluid:n.containerFluid}},B)]),t(n.tag,je(a,{staticClass:"jumbotron",class:(i={"jumbotron-fluid":n.fluid},r(i,"text-".concat(h),h),r(i,"bg-".concat(f),f),r(i,"border-".concat(p),p),r(i,"border",p),i)}),B)}})}}),Yu=["start","end","center"],qu=At((function(t,e){return(e=Qt(Jt(e)))?te(["row-cols",t,e].filter(mt).join("-")):null})),Ku=At((function(t){return te(t.replace("cols",""))})),Xu=[],Zu=function(){var t=Rt().reduce((function(t,e){return t[mi(e,"cols")]={type:[String,Number],default:null},t}),P(null));return Xu=A(t),s({tag:{type:String,default:"div"},noGutters:{type:Boolean,default:!1},alignV:{type:String,default:null,validator:function(t){return x($(Yu,"baseline","stretch"),t)}},alignH:{type:String,default:null,validator:function(t){return x($(Yu,"between","around"),t)}},alignContent:{type:String,default:null,validator:function(t){return x($(Yu,"between","around","stretch"),t)}}},t)},Ju=Dt({components:{BContainer:ju,BRow:{name:"BRow",functional:!0,get props(){return delete this.props,this.props=Zu(),this.props},render:function(t,e){var i,n=e.props,a=e.data,o=e.children,s=[];return Xu.forEach((function(t){var e=qu(Ku(t),n[t]);e&&s.push(e)})),s.push((r(i={"no-gutters":n.noGutters},"align-items-".concat(n.alignV),n.alignV),r(i,"justify-content-".concat(n.alignH),n.alignH),r(i,"align-content-".concat(n.alignContent),n.alignContent),i)),t(n.tag,je(a,{staticClass:"row",class:s}),o)}},BCol:Bl,BFormRow:js}}),Qu=Dt({components:{BLink:Li}}),tc={tag:{type:String,default:"div"},flush:{type:Boolean,default:!1},horizontal:{type:[Boolean,String],default:!1}},ec=t.extend({name:"BListGroup",functional:!0,props:tc,render:function(t,e){var i=e.props,n=e.data,a=e.children,o=""===i.horizontal||i.horizontal;o=!i.flush&&o;var s={staticClass:"list-group",class:r({"list-group-flush":i.flush,"list-group-horizontal":!0===o},"list-group-horizontal-".concat(o),ut(o))};return t(i.tag,je(n,s),a)}}),ic=["a","router-link","button","b-link"],nc=R(Ni,["event","routerTag"]);delete nc.href.default,delete nc.to.default;var ac=s({tag:{type:String,default:"div"},action:{type:Boolean,default:null},button:{type:Boolean,default:null},variant:{type:String,default:function(){return Nt("BListGroupItem","variant")}}},nc),rc=Dt({components:{BListGroup:ec,BListGroupItem:t.extend({name:"BListGroupItem",functional:!0,props:ac,render:function(t,e){var i,n=e.props,a=e.data,o=e.children,s=n.button,l=n.variant,u=n.active,c=n.disabled,d=$i(n),h=s?"button":d?Li:n.tag,f=!!(n.action||d||s||x(ic,n.tag)),p={},m={};return de(h,"button")?(a.attrs&&a.attrs.type||(p.type="button"),n.disabled&&(p.disabled=!0)):m=gi(nc,n),t(h,je(a,{attrs:p,props:m,staticClass:"list-group-item",class:(i={},r(i,"list-group-item-".concat(l),l),r(i,"list-group-item-action",f),r(i,"active",u),r(i,"disabled",c),i)}),o)}})}}),oc={tag:{type:String,default:"div"}},sc=t.extend({name:"BMediaBody",functional:!0,props:oc,render:function(t,e){var i=e.props,n=e.data,a=e.children;return t(i.tag,je(n,{staticClass:"media-body"}),a)}}),lc={tag:{type:String,default:"div"},verticalAlign:{type:String,default:"top"}},uc=t.extend({name:"BMediaAside",functional:!0,props:lc,render:function(t,e){var i=e.props,n=e.data,a=e.children,o="top"===i.verticalAlign?"start":"bottom"===i.verticalAlign?"end":i.verticalAlign;return t(i.tag,je(n,{staticClass:"d-flex",class:r({},"align-self-".concat(o),o)}),a)}}),cc={tag:{type:String,default:"div"},rightAlign:{type:Boolean,default:!1},verticalAlign:{type:String,default:"top"},noBody:{type:Boolean,default:!1}},dc=Dt({components:{BMedia:t.extend({name:"BMedia",functional:!0,props:cc,render:function(t,e){var i=e.props,n=e.data,a=e.slots,r=e.scopedSlots,o=e.children,s=i.noBody?o:[];if(!i.noBody){var l=a(),u=r||{},c=qe("aside",{},u,l),d=qe("default",{},u,l);c&&!i.rightAlign&&s.push(t(uc,{staticClass:"mr-3",props:{verticalAlign:i.verticalAlign}},c)),s.push(t(sc,d)),c&&i.rightAlign&&s.push(t(uc,{staticClass:"ml-3",props:{verticalAlign:i.verticalAlign}},c))}return t(i.tag,je(n,{staticClass:"media"}),s)}}),BMediaAside:uc,BMediaBody:sc}}),hc=t.extend({abstract:!0,name:"BTransporterTargetSingle",props:{nodes:{type:[Array,Function]}},data:function(t){return{updatedNodes:t.nodes}},destroyed:function(){var t;(t=this.$el)&&t.parentNode&&t.parentNode.removeChild(t)},render:function(t){var e=st(this.updatedNodes)?this.updatedNodes({}):this.updatedNodes;return(e=$(e).filter(Boolean))&&e.length>0&&!e[0].text?e[0]:t()}}),fc=t.extend({name:"BTransporterSingle",mixins:[Ke],props:{disabled:{type:Boolean,default:!1},container:{type:[String,HTMLElement],default:"body"},tag:{type:String,default:"div"}},watch:{disabled:{immediate:!0,handler:function(t){t?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(U){var t=this.container;return ut(t)?ge(t):t}return null},mountTarget:function(){if(!this.$_target){var t=this.getContainer();if(t){var e=document.createElement("div");t.appendChild(e),this.$_target=new hc({el:e,parent:this,propsData:{nodes:$(this.normalizeSlot("default"))}})}}},updateTarget:function(){if(U&&this.$_target){var t=this.$scopedSlots.default;this.disabled||(t&&this.$_defaultFn!==t?this.$_target.updatedNodes=t:t||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=t}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(t){if(this.disabled){var e=$(this.normalizeSlot("default")).filter(mt);if(e.length>0&&!e[0].text)return e[0]}return t()}}),pc="$_bv_documentHandlers_",mc={created:function(){var t=this;U&&(this[pc]={},this.$once("hook:beforeDestroy",(function(){var e=t[pc]||{};delete t[pc],A(e).forEach((function(t){(e[t]||[]).forEach((function(e){return hr(document,t,e,ur)}))}))})))},methods:{listenDocument:function(t,e,i){t?this.listenOnDocument(e,i):this.listenOffDocument(e,i)},listenOnDocument:function(t,e){this[pc]&&ut(t)&&st(e)&&(this[pc][t]=this[pc][t]||[],x(this[pc][t],e)||(this[pc][t].push(e),dr(document,t,e,ur)))},listenOffDocument:function(t,e){this[pc]&&ut(t)&&st(e)&&(hr(document,t,e,ur),this[pc][t]=(this[pc][t]||[]).filter((function(t){return t!==e})))}}},vc="$_bv_windowHandlers_",gc={beforeCreate:function(){this[vc]={}},beforeDestroy:function(){if(U){var t=this[vc];delete this[vc],A(t).forEach((function(e){(t[e]||[]).forEach((function(t){return hr(window,e,t,ur)}))}))}},methods:{listenWindow:function(t,e,i){t?this.listenOnWindow(e,i):this.listenOffWindow(e,i)},listenOnWindow:function(t,e){U&&this[vc]&&ut(t)&&st(e)&&(this[vc][t]=this[vc][t]||[],x(this[vc][t],e)||(this[vc][t].push(e),dr(window,t,e,ur)))},listenOffWindow:function(t,e){U&&this[vc]&&ut(t)&&st(e)&&(hr(window,t,e,ur),this[vc][t]=(this[vc][t]||[]).filter((function(t){return t!==e})))}}},bc=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&t.$options._scopeId||e},yc={computed:{scopedStyleAttrs:function(){var t=bc(this.$parent);return t?r({},t,""):{}}}},Sc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Tc=".sticky-top",wc=".navbar-toggler",Bc=new(t.extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(t,e){U&&(this.getScrollbarWidth(),t>0&&0===e?(this.checkScrollbar(),this.setScrollbar(),we(document.body,"modal-open")):0===t&&e>0&&(this.resetScrollbar(),Be(document.body,"modal-open")),ke(document.body,"data-modal-open-count",String(t)))},modals:function(t){var e=this;this.checkScrollbar(),se((function(){e.updateModals(t||[])}))}},methods:{registerModal:function(t){var e=this;t&&-1===this.modals.indexOf(t)&&(this.modals.push(t),t.$once("hook:beforeDestroy",(function(){e.unregisterModal(t)})))},unregisterModal:function(t){var e=this.modals.indexOf(t);e>-1&&(this.modals.splice(e,1),t._isBeingDestroyed||t._isDestroyed||this.resetModal(t))},getBaseZIndex:function(){if(rt(this.baseZIndex)&&U){var t=document.createElement("div");t.className="modal-backdrop d-none",t.style.display="none",document.body.appendChild(t),this.baseZIndex=Ht(_e(t).zIndex,1040),document.body.removeChild(t)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(rt(this.scrollbarWidth)&&U){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t),this.scrollbarWidth=Pe(t).width-t.clientWidth,document.body.removeChild(t)}return this.scrollbarWidth||0},updateModals:function(t){var e=this,i=this.getBaseZIndex(),n=this.getScrollbarWidth();t.forEach((function(t,a){t.zIndex=i+a,t.scrollbarWidth=n,t.isTop=a===e.modals.length-1,t.isBodyOverflowing=e.isBodyOverflowing}))},resetModal:function(t){t&&(t.zIndex=this.getBaseZIndex(),t.isTop=!0,t.isBodyOverflowing=!1)},checkScrollbar:function(){var t=Pe(document.body),e=t.left,i=t.right;this.isBodyOverflowing=e+i1&&void 0!==arguments[1]?arguments[1]:{};return i(this,BvModalEvent),n=e.call(this,t,a),_(p(n),{trigger:{enumerable:!0,configurable:!1,writable:!1}}),n}return a(BvModalEvent,null,[{key:"Defaults",get:function(){return s(s({},g(u(BvModalEvent),"Defaults",this)),{},{trigger:null})}}]),BvModalEvent}(BvEvent),Cc="BModal",kc={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},xc={size:{type:String,default:function(){return Nt(Cc,"size")}},centered:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},buttonSize:{type:String},noStacking:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noCloseOnBackdrop:{type:Boolean,default:!1},noCloseOnEsc:{type:Boolean,default:!1},noEnforceFocus:{type:Boolean,default:!1},ignoreEnforceFocusSelector:{type:[Array,String],default:""},title:{type:String,default:""},titleHtml:{type:String},titleTag:{type:String,default:function(){return Nt(Cc,"titleTag")}},titleClass:{type:[String,Array,Object]},titleSrOnly:{type:Boolean,default:!1},ariaLabel:{type:String},headerBgVariant:{type:String,default:function(){return Nt(Cc,"headerBgVariant")}},headerBorderVariant:{type:String,default:function(){return Nt(Cc,"headerBorderVariant")}},headerTextVariant:{type:String,default:function(){return Nt(Cc,"headerTextVariant")}},headerCloseVariant:{type:String,default:function(){return Nt(Cc,"headerCloseVariant")}},headerClass:{type:[String,Array,Object]},bodyBgVariant:{type:String,default:function(){return Nt(Cc,"bodyBgVariant")}},bodyTextVariant:{type:String,default:function(){return Nt(Cc,"bodyTextVariant")}},modalClass:{type:[String,Array,Object]},dialogClass:{type:[String,Array,Object]},contentClass:{type:[String,Array,Object]},bodyClass:{type:[String,Array,Object]},footerBgVariant:{type:String,default:function(){return Nt(Cc,"footerBgVariant")}},footerBorderVariant:{type:String,default:function(){return Nt(Cc,"footerBorderVariant")}},footerTextVariant:{type:String,default:function(){return Nt(Cc,"footerTextVariant")}},footerClass:{type:[String,Array,Object]},hideHeader:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideHeaderClose:{type:Boolean,default:!1},hideBackdrop:{type:Boolean,default:!1},okOnly:{type:Boolean,default:!1},okDisabled:{type:Boolean,default:!1},cancelDisabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!1},returnFocus:{type:[HTMLElement,String,Object],default:null},headerCloseContent:{type:String,default:function(){return Nt(Cc,"headerCloseContent")}},headerCloseLabel:{type:String,default:function(){return Nt(Cc,"headerCloseLabel")}},cancelTitle:{type:String,default:function(){return Nt(Cc,"cancelTitle")}},cancelTitleHtml:{type:String},okTitle:{type:String,default:function(){return Nt(Cc,"okTitle")}},okTitleHtml:{type:String},cancelVariant:{type:String,default:function(){return Nt(Cc,"cancelVariant")}},okVariant:{type:String,default:function(){return Nt(Cc,"okVariant")}},lazy:{type:Boolean,default:!1},busy:{type:Boolean,default:!1},static:{type:Boolean,default:!1},autoFocusButton:{type:String,default:null,validator:function(t){return ot(t)||x(["ok","cancel","close"],t)}}},$c=t.extend({name:Cc,mixins:[Oi,ma,mc,kr,gc,Ke,yc],inheritAttrs:!1,model:{prop:"visible",event:"change"},props:xc,data:function(){return{isHidden:!0,isVisible:!1,isTransitioning:!1,isShow:!1,isBlock:!1,isOpening:!1,isClosing:!1,ignoreBackdropClick:!1,isModalOverflowing:!1,return_focus:this.returnFocus||null,scrollbarWidth:0,zIndex:Bc.getBaseZIndex(),isTop:!0,isBodyOverflowing:!1}},computed:{modalId:function(){return this.safeId()},modalOuterId:function(){return this.safeId("__BV_modal_outer_")},modalHeaderId:function(){return this.safeId("__BV_modal_header_")},modalBodyId:function(){return this.safeId("__BV_modal_body_")},modalTitleId:function(){return this.safeId("__BV_modal_title_")},modalContentId:function(){return this.safeId("__BV_modal_content_")},modalFooterId:function(){return this.safeId("__BV_modal_footer_")},modalBackdropId:function(){return this.safeId("__BV_modal_backdrop_")},modalClasses:function(){return[{fade:!this.noFade,show:this.isShow},this.modalClass]},modalStyles:function(){var t="".concat(this.scrollbarWidth,"px");return{paddingLeft:!this.isBodyOverflowing&&this.isModalOverflowing?t:"",paddingRight:this.isBodyOverflowing&&!this.isModalOverflowing?t:"",display:this.isBlock?"block":"none"}},dialogClasses:function(){var t;return[(t={},r(t,"modal-".concat(this.size),this.size),r(t,"modal-dialog-centered",this.centered),r(t,"modal-dialog-scrollable",this.scrollable),t),this.dialogClass]},headerClasses:function(){var t;return[(t={},r(t,"bg-".concat(this.headerBgVariant),this.headerBgVariant),r(t,"text-".concat(this.headerTextVariant),this.headerTextVariant),r(t,"border-".concat(this.headerBorderVariant),this.headerBorderVariant),t),this.headerClass]},titleClasses:function(){return[{"sr-only":this.titleSrOnly},this.titleClass]},bodyClasses:function(){var t;return[(t={},r(t,"bg-".concat(this.bodyBgVariant),this.bodyBgVariant),r(t,"text-".concat(this.bodyTextVariant),this.bodyTextVariant),t),this.bodyClass]},footerClasses:function(){var t;return[(t={},r(t,"bg-".concat(this.footerBgVariant),this.footerBgVariant),r(t,"text-".concat(this.footerTextVariant),this.footerTextVariant),r(t,"border-".concat(this.footerBorderVariant),this.footerBorderVariant),t),this.footerClass]},modalOuterStyle:function(){return{position:"absolute",zIndex:this.zIndex}},slotScope:function(){return{ok:this.onOk,cancel:this.onCancel,close:this.onClose,hide:this.hide,visible:this.isVisible}},computeIgnoreEnforceFocusSelector:function(){return $(this.ignoreEnforceFocusSelector).filter(mt).join(",").trim()},computedAttrs:function(){return s(s(s({},this.static?{}:this.scopedStyleAttrs),this.bvAttrs),{},{id:this.modalOuterId})},computedModalAttrs:function(){var t=this.isVisible,e=this.ariaLabel;return{id:this.modalId,role:"dialog","aria-hidden":t?null:"true","aria-modal":t?"true":null,"aria-label":e,"aria-labelledby":this.hideHeader||e||!(this.hasNormalizedSlot("modal-title")||this.titleHtml||this.title)?null:this.modalTitleId,"aria-describedby":this.modalBodyId}}},watch:{visible:function(t,e){t!==e&&this[t?"show":"hide"]()}},created:function(){this.$_observer=null},mounted:function(){this.zIndex=Bc.getBaseZIndex(),this.listenOnRoot("bv::show::modal",this.showHandler),this.listenOnRoot("bv::hide::modal",this.hideHandler),this.listenOnRoot("bv::toggle::modal",this.toggleHandler),this.listenOnRoot("bv::modal::show",this.modalListener),!0===this.visible&&this.$nextTick(this.show)},beforeDestroy:function(){this.setObserver(!1),this.isVisible&&(this.isVisible=!1,this.isShow=!1,this.isTransitioning=!1)},methods:{setObserver:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=sr(this.$refs.content,this.checkModalOverflow.bind(this),kc))},updateModel:function(t){t!==this.visible&&this.$emit("change",t)},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new BvModalEvent(t,s(s({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},e),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!this.isVisible&&!this.isOpening)if(this.isClosing)this.$once("hidden",this.show);else{this.isOpening=!0,this.return_focus=this.return_focus||this.getActiveElement();var t=this.buildEvent("show",{cancelable:!0});if(this.emitEvent(t),t.defaultPrevented||this.isVisible)return this.isOpening=!1,void this.updateModel(!1);this.doShow()}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.isVisible&&!this.isClosing){this.isClosing=!0;var e=this.buildEvent("hide",{cancelable:"FORCE"!==t,trigger:t||null});if("ok"===t?this.$emit("ok",e):"cancel"===t?this.$emit("cancel",e):"headerclose"===t&&this.$emit("close",e),this.emitEvent(e),e.defaultPrevented||!this.isVisible)return this.isClosing=!1,void this.updateModel(!0);this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(t){t&&(this.return_focus=t),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){var t=ce(U?[document.body]:[]);return t&&t.focus?t:null},doShow:function(){var t=this;Bc.modalsAreOpen&&this.noStacking?this.listenOnRootOnce("bv::modal::hidden",this.doShow):(Bc.registerModal(this),this.isHidden=!1,this.$nextTick((function(){t.isVisible=!0,t.isOpening=!1,t.updateModel(!0),t.$nextTick((function(){t.setObserver(!0)}))})))},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var t=this;this.isBlock=!0,se((function(){se((function(){t.isShow=!0}))}))},onAfterEnter:function(){var t=this;this.checkModalOverflow(),this.isTransitioning=!1,se((function(){t.emitEvent(t.buildEvent("shown")),t.setEnforceFocus(!0),t.$nextTick((function(){t.focusFirst()}))}))},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var t=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick((function(){t.isClosing=!1,Bc.unregisterModal(t),t.returnFocusTo(),t.emitEvent(t.buildEvent("hidden"))}))},emitEvent:function(t){var e=t.type;this.emitOnRoot("bv::modal::".concat(e),t,t.componentId),this.$emit(e,t)},onDialogMousedown:function(){var t=this,e=this.$refs.modal;dr(e,"mouseup",(function i(n){hr(e,"mouseup",i,ur),n.target===e&&(t.ignoreBackdropClick=!0)}),ur)},onClickOut:function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&Se(document.body,t.target)&&(Se(this.$refs.content,t.target)||this.hide("backdrop"))},onOk:function(){this.hide("ok")},onCancel:function(){this.hide("cancel")},onClose:function(){this.hide("headerclose")},onEsc:function(t){t.keyCode===_i.ESC&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(t){var e=this.$refs.content,i=t.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!e||document===i||Se(e,i)||this.computeIgnoreEnforceFocusSelector&&ye(this.computeIgnoreEnforceFocusSelector,i,!0))){var n=Ae(this.$refs.content),a=this.$refs,r=a.bottomTrap,o=a.topTrap;if(r&&i===r){if(Ee(n[0]))return}else if(o&&i===o&&Ee(n[n.length-1]))return;Ee(e,{preventScroll:!0})}},setEnforceFocus:function(t){this.listenDocument(t,"focusin",this.focusHandler)},setResizeEvent:function(t){this.listenWindow(t,"resize",this.checkModalOverflow),this.listenWindow(t,"orientationchange",this.checkModalOverflow)},showHandler:function(t,e){t===this.modalId&&(this.return_focus=e||this.getActiveElement(),this.show())},hideHandler:function(t){t===this.modalId&&this.hide("event")},toggleHandler:function(t,e){t===this.modalId&&this.toggle(e)},modalListener:function(t){this.noStacking&&t.vueTarget!==this&&this.hide()},focusFirst:function(){var t=this;U&&se((function(){var e=t.$refs.modal,i=t.$refs.content,n=t.getActiveElement();if(e&&i&&(!n||!Se(i,n))){var a=t.$refs["ok-button"],r=t.$refs["cancel-button"],o=t.$refs["close-button"],s=t.autoFocusButton,l="ok"===s&&a?a.$el||a:"cancel"===s&&r?r.$el||r:"close"===s&&o?o.$el||o:i;Ee(l),l===i&&t.$nextTick((function(){e.scrollTop=0}))}}))},returnFocusTo:function(){var t=this.returnFocus||this.return_focus||null;this.return_focus=null,this.$nextTick((function(){(t=ut(t)?ge(t):t)&&(t=t.$el||t,Ee(t))}))},checkModalOverflow:function(){if(this.isVisible){var t=this.$refs.modal;this.isModalOverflowing=t.scrollHeight>document.documentElement.clientHeight}},makeModal:function(t){var e=t();if(!this.hideHeader){var i=this.normalizeSlot("modal-header",this.slotScope);if(!i){var n=t();this.hideHeaderClose||(n=t(Je,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot("modal-header-close")])),i=[t(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot("modal-title")?{}:An(this.titleHtml,this.title)},[this.normalizeSlot("modal-title",this.slotScope)]),n]}e=t("header",{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[i])}var a=t("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot("default",this.slotScope)),r=t();if(!this.hideFooter){var o=this.normalizeSlot("modal-footer",this.slotScope);if(!o){var s=t();this.okOnly||(s=t(Ki,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-cancel")?{}:An(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot("modal-cancel"))),o=[s,t(Ki,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-ok")?{}:An(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot("modal-ok"))]}r=t("footer",{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[o])}var l=t("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[e,a,r]),u=t(),c=t();this.isVisible&&!this.noEnforceFocus&&(u=t("span",{ref:"topTrap",attrs:{tabindex:"0"}}),c=t("span",{ref:"bottomTrap",attrs:{tabindex:"0"}}));var d=t("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[u,l,c]),h=t("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[d]);h=t("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[h]);var f=t();return!this.hideBackdrop&&this.isVisible&&(f=t("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot("modal-backdrop"))),f=t(Ue,{props:{noFade:this.noFade}},[f]),t("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this._uid)},[h,f])}},render:function(t){return this.static?this.lazy&&this.isHidden?t():this.makeModal(t):this.isHidden?t():t(fc,[this.makeModal(t)])}}),Dc="__bv_modal_directive__",Pc=function(t){var e=t.modifiers,i=void 0===e?{}:e,n=t.arg,a=t.value;return ut(a)?a:ut(n)?n:A(i).reverse()[0]},_c=function(t){return t&&be(t,".dropdown-menu > li, li.nav-item")&&ge("a, button",t)||t},Fc=function(t){t&&"BUTTON"!==t.tagName&&(De(t,"role")||ke(t,"role","button"),"A"===t.tagName||De(t,"tabindex")||ke(t,"tabindex","0"))},Ic=function(t){var e=t[Dc]||{},i=e.trigger,n=e.handler;i&&n&&(hr(i,"click",n,lr),hr(i,"keydown",n,lr),hr(t,"click",n,lr),hr(t,"keydown",n,lr)),delete t[Dc]},Oc=function(t,e,i){var n=t[Dc]||{},a=Pc(e),r=_c(t);a===n.target&&r===n.trigger||(Ic(t),function(t,e,i){var n=Pc(e),a=_c(t);if(n&&a){var r=function(t){var e=t.currentTarget;if(!pe(e)){var a=t.type,r=t.keyCode;"click"!==a&&("keydown"!==a||r!==_i.ENTER&&r!==_i.SPACE)||i.context.$root.$emit("bv::show::modal",n,e)}};t[Dc]={handler:r,target:n,trigger:a},Fc(a),dr(a,"click",r,lr),"BUTTON"!==a.tagName&&"button"===$e(a,"role")&&dr(a,"keydown",r,lr)}}(t,e,i)),Fc(r)},Ac={inserted:Oc,updated:function(){},componentUpdated:Oc,unbind:Ic},Ec=["id"].concat(y(A(R(xc,["busy","lazy","noStacking","static","visible"])))),Vc=function(){},Nc={msgBoxContent:"default",title:"modal-title",okTitle:"modal-ok",cancelTitle:"modal-cancel"},Lc=function(t){return Ec.reduce((function(e,i){return at(t[i])||(e[i]=t[i]),e}),{})},Mc=Dt({components:{BModal:$c},directives:{VBModal:Ac},plugins:{BVModalPlugin:Dt({plugins:{plugin:function(t){var e=t.extend({name:"BMsgBox",extends:$c,destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mounted:function(){var t=this,e=function(){var e=t;t.$nextTick((function(){setTimeout((function(){return e.$destroy()}),0)}))};this.$parent.$once("hook:destroyed",e),this.$once("hidden",e),this.$router&&this.$route&&this.$once("hook:beforeDestroy",this.$watch("$router",e)),this.show()}}),n=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Vc;if(!St("$bvModal")&&!Tt("$bvModal")){var a=new e({parent:t,propsData:s(s(s({},Lc(Nt("BModal")||{})),{},{hideHeaderClose:!0,hideHeader:!(i.title||i.titleHtml)},R(i,A(Nc))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return A(Nc).forEach((function(t){at(i[t])||(a.$slots[Nc[t]]=$(i[t]))})),new Promise((function(t,e){var i=!1;a.$once("hook:destroyed",(function(){i||e(new Error("BootstrapVue MsgBox destroyed before resolve"))})),a.$on("hide",(function(e){if(!e.defaultPrevented){var a=n(e);e.defaultPrevented||(i=!0,t(a))}}));var r=document.createElement("div");document.body.appendChild(r),a.$mount(r)}))}},r=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(e&&!Tt("$bvModal")&&!St("$bvModal")&&st(a))return n(t,s(s({},Lc(i)),{},{msgBoxContent:e}),a)},o=function(){function t(e){i(this,t),D(this,{_vm:e,_root:e.$root}),_(this,{_vm:{enumerable:!0,configurable:!1,writable:!1},_root:{enumerable:!0,configurable:!1,writable:!1}})}return a(t,[{key:"show",value:function(t){if(t&&this._root){for(var e,i=arguments.length,n=new Array(i>1?i-1:0),a=1;a1?i-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:{},i=s(s({},e),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:t});return r(this._vm,t,i,(function(){return!0}))}},{key:"msgBoxConfirm",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=s(s({},e),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return r(this._vm,t,i,(function(t){var e=t.trigger;return"ok"===e||"cancel"!==e&&null}))}}]),t}();t.mixin({beforeCreate:function(){this._bv__modal=new o(this)}}),E(t.prototype,"$bvModal")||F(t.prototype,"$bvModal",{get:function(){return this&&this._bv__modal||yt('"'.concat("$bvModal",'" must be accessed from a Vue instance "this" context.'),"BModal"),this._bv__modal}})}}})}}),Rc={tag:{type:String,default:"ul"},fill:{type:Boolean,default:!1},justified:{type:Boolean,default:!1},align:{type:String},tabs:{type:Boolean,default:!1},pills:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},small:{type:Boolean,default:!1},cardHeader:{type:Boolean,default:!1}},Hc=t.extend({name:"BNav",functional:!0,props:Rc,render:function(t,e){var i,n,a=e.props,o=e.data,s=e.children;return t(a.tag,je(o,{staticClass:"nav",class:(i={"nav-tabs":a.tabs,"nav-pills":a.pills&&!a.tabs,"card-header-tabs":!a.vertical&&a.cardHeader&&a.tabs,"card-header-pills":!a.vertical&&a.cardHeader&&a.pills&&!a.tabs,"flex-column":a.vertical,"nav-fill":!a.vertical&&a.fill,"nav-justified":!a.vertical&&a.justified},r(i,(n=a.align,"justify-content-".concat(n="left"===n?"start":"right"===n?"end":n)),!a.vertical&&a.align),r(i,"small",a.small),i)}),s)}}),zc=R(Ni,["event","routerTag"]),jc=t.extend({name:"BNavItem",functional:!0,props:s(s({},zc),{},{linkAttrs:{type:Object,default:function(){}},linkClasses:{type:[String,Object,Array],default:null}}),render:function(t,e){var i=e.props,n=e.data,a=e.listeners,r=e.children;return delete n.on,t("li",je(n,{staticClass:"nav-item"}),[t(Li,{staticClass:"nav-link",class:i.linkClasses,attrs:i.linkAttrs,props:i,on:a},r)])}}),Gc=t.extend({name:"BNavText",functional:!0,props:{},render:function(t,e){var i=e.data,n=e.children;return t("li",je(i,{staticClass:"navbar-text"}),n)}}),Wc=s(s({},R(ks,["inline"])),{},{formClass:{type:[String,Array,Object]}}),Uc=t.extend({name:"BNavForm",functional:!0,props:Wc,render:function(t,e){var i=e.props,n=e.data,a=e.children,r=e.listeners,o=void 0===r?{}:r,l=n.attrs;n.attrs={},n.on={};var u=t(xs,{class:i.formClass,props:s(s({},i),{},{inline:!0}),attrs:l,on:o},a);return t("li",je(n,{staticClass:"form-inline"}),[u])}}),Yc=gi(["text","html","menuClass","toggleClass","noCaret","role","lazy"],ms),qc=t.extend({name:"BNavItemDropdown",mixins:[ma,fs,Ke],props:Yc,computed:{toggleId:function(){return this.safeId("_BV_toggle_")},isNav:function(){return!0},dropdownClasses:function(){return[this.directionClass,{show:this.visible}]},menuClasses:function(){return[this.menuClass,{"dropdown-menu-right":this.right,show:this.visible}]},toggleClasses:function(){return[this.toggleClass,{"dropdown-toggle-no-caret":this.noCaret}]}},render:function(t){var e=this.toggleId,i=this.visible,n=t(Li,{staticClass:"nav-link dropdown-toggle",class:this.toggleClasses,props:{href:"#".concat(this.id||""),disabled:this.disabled},attrs:{id:e,role:"button","aria-haspopup":"true","aria-expanded":i?"true":"false"},on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle},ref:"toggle"},[this.normalizeSlot(["button-content","text"])||t("span",{domProps:An(this.html,this.text)})]),a=t("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{tabindex:"-1","aria-labelledby":e},on:{keydown:this.onKeydown},ref:"menu"},!this.lazy||i?this.normalizeSlot("default",{hide:this.hide}):[t()]);return t("li",{staticClass:"nav-item b-nav-dropdown dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[n,a])}}),Kc=Dt({components:{BNav:Hc,BNavItem:jc,BNavText:Gc,BNavForm:Uc,BNavItemDropdown:qc,BNavItemDd:qc,BNavDropdown:qc,BNavDd:qc},plugins:{DropdownPlugin:Fs}}),Xc={tag:{type:String,default:"nav"},type:{type:String,default:"light"},variant:{type:String,default:function(){return Nt("BNavbar","variant")}},toggleable:{type:[Boolean,String],default:!1},fixed:{type:String},sticky:{type:Boolean,default:!1},print:{type:Boolean,default:!1}},Zc=t.extend({name:"BNavbar",mixins:[Ke],props:Xc,provide:function(){return{bvNavbar:this}},computed:{breakpointClass:function(){var t=null,e=Lt()[0],i=this.toggleable;return i&&ut(i)&&i!==e?t="navbar-expand-".concat(i):!1===i&&(t="navbar-expand"),t}},render:function(t){var e;return t(this.tag,{staticClass:"navbar",class:[(e={"d-print":this.print,"sticky-top":this.sticky},r(e,"navbar-".concat(this.type),this.type),r(e,"bg-".concat(this.variant),this.variant),r(e,"fixed-".concat(this.fixed),this.fixed),e),this.breakpointClass],attrs:{role:de(this.tag,"nav")?null:"navigation"}},[this.normalizeSlot("default")])}}),Jc=gi(["tag","fill","justified","align","small"],Rc),Qc=t.extend({name:"BNavbarNav",functional:!0,props:Jc,render:function(t,e){var i,n,a=e.props,o=e.data,s=e.children;return t(a.tag,je(o,{staticClass:"navbar-nav",class:(i={"nav-fill":a.fill,"nav-justified":a.justified},r(i,(n=a.align,"justify-content-".concat(n="left"===n?"start":"right"===n?"end":n)),a.align),r(i,"small",a.small),i)}),s)}}),td=R(Ni,["event","routerTag"]);td.href.default=void 0,td.to.default=void 0;var ed=s({tag:{type:String,default:"div"}},td),id=t.extend({name:"BNavbarBrand",functional:!0,props:ed,render:function(t,e){var i=e.props,n=e.data,a=e.children,r=i.to||i.href;return t(r?Li:i.tag,je(n,{staticClass:"navbar-brand",props:r?gi(td,i):{}}),a)}}),nd=t.extend({name:"BNavbarToggle",directives:{BToggle:Wr},mixins:[kr,Ke],props:{label:{type:String,default:function(){return Nt("BNavbarToggle","label")}},target:{type:String,required:!0},disabled:{type:Boolean,default:!1}},data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot(Or,this.handleStateEvt),this.listenOnRoot(Ar,this.handleStateEvt)},methods:{onClick:function(t){this.disabled||this.$emit("click",t)},handleStateEvt:function(t,e){t===this.target&&(this.toggleState=e)}},render:function(t){var e=this.disabled;return t("button",{staticClass:"navbar-toggler",class:{disabled:e},directives:[{name:"BToggle",value:this.target}],attrs:{type:"button",disabled:e,"aria-label":this.label},on:{click:this.onClick}},[this.normalizeSlot("default",{expanded:this.toggleState})||t("span",{staticClass:"".concat("navbar-toggler","-icon")})])}}),ad=Dt({components:{BNavbar:Zc,BNavbarNav:Qc,BNavbarBrand:id,BNavbarToggle:nd,BNavToggle:nd},plugins:{NavPlugin:Kc,CollapsePlugin:qr,DropdownPlugin:Fs}}),rd=t.extend({name:"BSpinner",functional:!0,props:{type:{type:String,default:"border"},label:{type:String},variant:{type:String,default:function(){return Nt("BSpinner","variant")}},small:{type:Boolean,default:!1},role:{type:String,default:"status"},tag:{type:String,default:"span"}},render:function(t,e){var i,n=e.props,a=e.data,o=e.slots,s=e.scopedSlots,l=o(),u=qe("label",{},s||{},l)||n.label;return u&&(u=t("span",{staticClass:"sr-only"},u)),t(n.tag,je(a,{attrs:{role:u?n.role||"status":null,"aria-hidden":u?null:"true"},class:(i={},r(i,"spinner-".concat(n.type),n.type),r(i,"spinner-".concat(n.type,"-sm"),n.small),r(i,"text-".concat(n.variant),n.variant),i)}),[u||t()])}}),od={top:0,left:0,bottom:0,right:0},sd=Dt({components:{BOverlay:t.extend({name:"BOverlay",mixins:[Ke],props:{show:{type:Boolean,default:!1},variant:{type:String,default:"light"},bgColor:{type:String},opacity:{type:[Number,String],default:.85,validator:function(t){var e=zt(t,0);return e>=0&&e<=1}},blur:{type:String,default:"2px"},rounded:{type:[Boolean,String],default:!1},noCenter:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},spinnerType:{type:String,default:"border"},spinnerVariant:{type:String},spinnerSmall:{type:Boolean,default:!1},overlayTag:{type:String,default:"div"},wrapTag:{type:String,default:"div"},noWrap:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:10}},computed:{computedRounded:function(){var t=this.rounded;return!0===t||""===t?"rounded":t?"rounded-".concat(t):""},computedVariant:function(){return this.variant&&!this.bgColor?"bg-".concat(this.variant):""},overlayScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(t){var e=t.spinnerType,i=t.spinnerVariant,n=t.spinnerSmall;return this.$createElement(rd,{props:{type:e,variant:i,small:n}})}},render:function(t){var e=this,i=t();if(this.show){var n=this.overlayScope,a=t("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:s(s({},od),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),r=t("div",{staticClass:"position-absolute",style:this.noCenter?s({},od):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot("overlay",n)||this.defaultOverlayFn(n)]);i=t(this.overlayTag,{key:"overlay",staticClass:"b-overlay",class:{"position-absolute":!this.noWrap||this.noWrap&&!this.fixed,"position-fixed":this.noWrap&&this.fixed},style:s(s({},od),{},{zIndex:this.zIndex||10}),on:{click:function(t){return e.$emit("click",t)}}},[a,r])}return i=t(Ue,{props:{noFade:this.noFade,appear:!0},on:{"after-enter":function(){return e.$emit("shown")},"after-leave":function(){return e.$emit("hidden")}}},[i]),this.noWrap?i:t(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":this.show?"true":null}},this.noWrap?[i]:[this.normalizeSlot("default"),i])}})}}),ld=function(t){return Array.apply(null,{length:t})},ud=function(t){var e=Ht(t)||1;return e<1?5:e},cd=function(t,e){var i=Ht(t)||1;return i>e?e:i<1?1:i},dd=function(t){if(t.keyCode===_i.SPACE)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),t.currentTarget.click(),!1},hd={mixins:[Ke],model:{prop:"value",event:"input"},props:{disabled:{type:Boolean,default:!1},value:{type:[Number,String],default:null,validator:function(t){return!(!rt(t)&&Ht(t,0)<1)||(yt('"v-model" value must be a number greater than "0"',"BPagination"),!1)}},limit:{type:[Number,String],default:5,validator:function(t){return!(Ht(t,0)<1)||(yt('Prop "limit" must be a number greater than "0"',"BPagination"),!1)}},align:{type:String,default:"left"},pills:{type:Boolean,default:!1},hideGotoEndButtons:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Pagination"},labelFirstPage:{type:String,default:"Go to first page"},firstText:{type:String,default:"«"},firstNumber:{type:Boolean,default:!1},firstClass:{type:[String,Array,Object],default:null},labelPrevPage:{type:String,default:"Go to previous page"},prevText:{type:String,default:"‹"},prevClass:{type:[String,Array,Object],default:null},labelNextPage:{type:String,default:"Go to next page"},nextText:{type:String,default:"›"},nextClass:{type:[String,Array,Object]},labelLastPage:{type:String,default:"Go to last page"},lastText:{type:String,default:"»"},lastNumber:{type:Boolean,default:!1},lastClass:{type:[String,Array,Object]},labelPage:{type:[String,Function],default:"Go to page"},pageClass:{type:[String,Array,Object]},hideEllipsis:{type:Boolean,default:!1},ellipsisText:{type:String,default:"…"},ellipsisClass:{type:[String,Array,Object]}},data:function(){var t=Ht(this.value,0);return{currentPage:t=t>0?t:-1,localNumberOfPages:1,localLimit:5}},computed:{btnSize:function(){return this.size?"pagination-".concat(this.size):""},alignment:function(){var t=this.align;return"center"===t?"justify-content-center":"end"===t||"right"===t?"justify-content-end":"fill"===t?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return cd(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var t=this.localLimit,e=this.localNumberOfPages,i=this.computedCurrentPage,n=this.hideEllipsis,a=this.firstNumber,r=this.lastNumber,o=!1,s=!1,l=t,u=1;e<=t?l=e:i3?(n&&!r||(s=!0,l=t-(a?0:1)),l=ni(l,t)):e-i+23?(n&&!a||(o=!0,l=t-(r?0:1)),u=e-l+1):(t>3&&(l=t-2,o=!(n&&!a),s=!(n&&!r)),u=i-si(l/2)),u<1?(u=1,o=!1):u>e-l&&(u=e-l+1,s=!1),o&&a&&u<4&&(l+=2,u=1,o=!1);var c=u+l-1;return s&&r&&c>e-3&&(l+=c===e-2?2:3,s=!1),t<=3&&(a&&1===u?l=ni(l+1,e,t+1):r&&e===u+l-1&&(u=ai(u-1,1),l=ni(e-u+1,e,t+1))),{showFirstDots:o,showLastDots:s,numberOfLinks:l=ni(l,e-u+1),startNumber:u}},pageList:function(){var t=this.paginationParams,e=t.numberOfLinks,i=t.startNumber,n=this.computedCurrentPage,a=function(t,e){return ld(e).map((function(e,i){return{number:t+i,classes:null}}))}(i,e);if(a.length>3){var r=n-i,o="bv-d-xs-down-none";if(0===r)for(var s=3;sr+1;c--)a[c].classes=o}}return a}},watch:{value:function(t,e){t!==e&&(this.currentPage=cd(t,this.localNumberOfPages))},currentPage:function(t,e){t!==e&&this.$emit("input",t>0?t:null)},limit:function(t,e){t!==e&&(this.localLimit=ud(t))}},created:function(){var t=this;this.localLimit=ud(this.limit),this.$nextTick((function(){t.currentPage=t.currentPage>t.localNumberOfPages?t.localNumberOfPages:t.currentPage}))},methods:{handleKeyNav:function(t){var e=t.keyCode,i=t.shiftKey;this.isNav||(e===_i.LEFT||e===_i.UP?(t.preventDefault(),i?this.focusFirst():this.focusPrev()):e!==_i.RIGHT&&e!==_i.DOWN||(t.preventDefault(),i?this.focusLast():this.focusNext()))},getButtons:function(){return ve("button.page-link, a.page-link",this.$el).filter((function(t){return fe(t)}))},focusCurrent:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().find((function(e){return Ht($e(e,"aria-posinset"),0)===t.computedCurrentPage}));Ee(e)||t.focusFirst()}))},focusFirst:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().find((function(t){return!pe(t)}));Ee(e)}))},focusLast:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().reverse().find((function(t){return!pe(t)}));Ee(e)}))},focusPrev:function(){var t=this;this.$nextTick((function(){var e=t.getButtons(),i=e.indexOf(ce());i>0&&!pe(e[i-1])&&Ee(e[i-1])}))},focusNext:function(){var t=this;this.$nextTick((function(){var e=t.getButtons(),i=e.indexOf(ce());in,v=i<1?1:i>n?n:i,g={disabled:m,page:v,index:v-1},b=e.normalizeSlot(o,g)||Jt(s)||t(),y=t(m?"span":d?Li:"button",{staticClass:"page-link",class:{"flex-grow-1":!d&&!m&&c},props:m||!d?{}:e.linkProps(i),attrs:{role:d?null:"menuitem",type:d||m?null:"button",tabindex:m||d?null:"-1","aria-label":a,"aria-controls":e.ariaControls||null,"aria-disabled":m?"true":null},on:m?{}:{"!click":function(t){e.onClick(i,t)},keydown:dd}},[b]);return t("li",{key:p,staticClass:"page-item",class:[{disabled:m,"flex-fill":c,"d-flex":c&&!d&&!m},l],attrs:{role:d?null:"presentation","aria-hidden":m?"true":null}},[y])},m=function(i){return t("li",{key:"ellipsis-".concat(i?"last":"first"),staticClass:"page-item",class:["disabled","bv-d-xs-down-none",c?"flex-fill":"",e.ellipsisClass],attrs:{role:"separator"}},[t("span",{staticClass:"page-link"},[e.normalizeSlot("ellipsis-text")||Jt(e.ellipsisText)||t()])])},v=function(i,a){var o=h(i.number)&&!f,s=r?null:o||f&&0===a?"0":"-1",l={role:d?null:"menuitemradio",type:d||r?null:"button","aria-disabled":r?"true":null,"aria-controls":e.ariaControls||null,"aria-label":st(e.labelPage)?e.labelPage(i.number):"".concat(e.labelPage," ").concat(i.number),"aria-checked":d?null:o?"true":"false","aria-current":d&&o?"page":null,"aria-posinset":i.number,"aria-setsize":n,tabindex:d?null:s},u=Jt(e.makePage(i.number)),p={page:i.number,index:i.number-1,content:u,active:o,disabled:r},m=t(r?"span":d?Li:"button",{props:r||!d?{}:e.linkProps(i.number),staticClass:"page-link",class:{"flex-grow-1":!d&&!r&&c},attrs:l,on:r?{}:{"!click":function(t){e.onClick(i.number,t)},keydown:dd}},[e.normalizeSlot("page",p)||u]);return t("li",{key:"page-".concat(i.number),staticClass:"page-item",class:[{disabled:r,active:o,"flex-fill":c,"d-flex":c&&!d&&!r},i.classes,e.pageClass],attrs:{role:d?null:"presentation"}},[m])},g=t();this.firstNumber||this.hideGotoEndButtons||(g=p(1,this.labelFirstPage,"first-text",this.firstText,this.firstClass,1,"pagination-goto-first")),i.push(g),i.push(p(u-1,this.labelPrevPage,"prev-text",this.prevText,this.prevClass,1,"pagination-goto-prev")),i.push(this.firstNumber&&1!==a[0]?v({number:1},0):t()),i.push(s?m(!1):t()),this.pageList.forEach((function(t,n){var r=s&&e.firstNumber&&1!==a[0]?1:0;i.push(v(t,n+r))})),i.push(l?m(!0):t()),i.push(this.lastNumber&&a[a.length-1]!==n?v({number:n},-1):t()),i.push(p(u+1,this.labelNextPage,"next-text",this.nextText,this.nextClass,n,"pagination-goto-next"));var b=t();this.lastNumber||this.hideGotoEndButtons||(b=p(n,this.labelLastPage,"last-text",this.lastText,this.lastClass,n,"pagination-goto-last")),i.push(b);var y=t("ul",{ref:"ul",staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:d?null:"menubar","aria-disabled":r?"true":"false","aria-label":d?null:this.ariaLabel||null},on:d?{}:{keydown:this.handleKeyNav}},i);return d?t("nav",{attrs:{"aria-disabled":r?"true":null,"aria-hidden":r?"true":"false","aria-label":d&&this.ariaLabel||null}},[y]):y}},fd={size:{type:String,default:function(){return Nt("BPagination","size")}},perPage:{type:[Number,String],default:20},totalRows:{type:[Number,String],default:0},ariaControls:{type:String}},pd=function(t){return ai(Ht(t)||20,1)},md=function(t){return ai(Ht(t)||0,0)},vd=Dt({components:{BPagination:t.extend({name:"BPagination",mixins:[hd],props:fd,computed:{numberOfPages:function(){var t=oi(md(this.totalRows)/pd(this.perPage));return t<1?1:t},pageSizeNumberOfPages:function(){return{perPage:pd(this.perPage),totalRows:md(this.totalRows),numberOfPages:this.numberOfPages}}},watch:{pageSizeNumberOfPages:function(t,e){ot(e)||(t.perPage!==e.perPage&&t.totalRows===e.totalRows||t.numberOfPages!==e.numberOfPages&&this.currentPage>t.numberOfPages)&&(this.currentPage=1),this.localNumberOfPages=t.numberOfPages}},created:function(){var t=this;this.localNumberOfPages=this.numberOfPages;var e=Ht(this.value,0);e>0?this.currentPage=e:this.$nextTick((function(){t.currentPage=0}))},mounted:function(){this.localNumberOfPages=this.numberOfPages},methods:{onClick:function(t,e){var i=this;t>this.numberOfPages?t=this.numberOfPages:t<1&&(t=1),this.currentPage=t,this.$emit("change",this.currentPage),this.$nextTick((function(){var t=e.target;fe(t)&&i.$el.contains(t)?Ee(t):i.focusCurrent()}))},makePage:function(t){return t},linkProps:function(){return{}}}})}}),gd="BPaginationNav",bd=R(Ni,["event","routerTag"]),yd=s({size:{type:String,default:function(){return Nt(gd,"size")}},numberOfPages:{type:[Number,String],default:1,validator:function(t){return!(Ht(t,0)<1)||(yt('Prop "number-of-pages" must be a number greater than "0"',gd),!1)}},baseUrl:{type:String,default:"/"},useRouter:{type:Boolean,default:!1},linkGen:{type:Function},pageGen:{type:Function},pages:{type:Array},noPageDetect:{type:Boolean,default:!1}},bd),Sd=Dt({components:{BPaginationNav:t.extend({name:gd,mixins:[hd],props:yd,computed:{isNav:function(){return!0},computedValue:function(){var t=Ht(this.value,0);return t<1?null:t}},watch:{numberOfPages:function(){var t=this;this.$nextTick((function(){t.setNumberOfPages()}))},pages:function(){var t=this;this.$nextTick((function(){t.setNumberOfPages()}))}},created:function(){this.setNumberOfPages()},mounted:function(){var t=this;this.$router&&this.$watch("$route",(function(){t.$nextTick((function(){se((function(){t.guessCurrentPage()}))}))}))},methods:{setNumberOfPages:function(){var t,e=this;k(this.pages)&&this.pages.length>0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=(t=this.numberOfPages,ai(Ht(t,0),1)),this.$nextTick((function(){e.guessCurrentPage()}))},onClick:function(t,e){var i=this;t!==this.currentPage&&(se((function(){i.currentPage=t,i.$emit("change",t)})),this.$nextTick((function(){var t=e.currentTarget||e.target;Ve(t)})))},getPageInfo:function(t){if(!k(this.pages)||0===this.pages.length||at(this.pages[t-1])){var e="".concat(this.baseUrl).concat(t);return{link:this.useRouter?{path:e}:e,text:Jt(t)}}var i=this.pages[t-1];if(V(i)){var n=i.link;return{link:V(n)?n:this.useRouter?{path:n}:n,text:Jt(i.text||t)}}return{link:Jt(i),text:Jt(t)}},makePage:function(t){var e=this.getPageInfo(t);return this.pageGen&&st(this.pageGen)?this.pageGen(t,e):e.text},makeLink:function(t){var e=this.getPageInfo(t);return this.linkGen&&st(this.linkGen)?this.linkGen(t,e):e.link},linkProps:function(t){var e=gi(bd,this),i=this.makeLink(t);return this.useRouter||V(i)?e.to=i:e.href=i,e},resolveLink:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(t=document.createElement("a")).href=Pi({to:e},"a","/","/"),document.body.appendChild(t);var i=t,n=i.pathname,a=i.hash,r=i.search;return document.body.removeChild(t),{path:n,hash:a,query:xi(r)}}catch(e){try{t&&t.parentNode&&t.parentNode.removeChild(t)}catch(t){}return{}}},resolveRoute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{var e=this.$router.resolve(t,this.$route).route;return{path:e.path,hash:e.hash,query:e.query}}catch(t){return{}}},guessCurrentPage:function(){var t=this.computedValue,e=this.$router,i=this.$route;if(!this.noPageDetect&&!t&&(U||!U&&e))for(var n=e&&i?{path:i.path,hash:i.hash,query:i.query}:{},a=U?window.location||document.location:null,r=a?{path:a.pathname,hash:a.hash,query:xi(a.search)}:{},o=1;!t&&o<=this.localNumberOfPages;o++){var s=this.makeLink(o);t=e&&(V(s)||this.useRouter)?qn(this.resolveRoute(s),n)?o:null:U?qn(this.resolveLink(s),r)?o:null:-1}this.currentPage=t>0?t:0}}})}}),Td={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},wd={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},Bd=t.extend({name:"BVPopper",props:{target:{type:[HTMLElement,SVGElement]},placement:{type:String,default:"top"},fallbackPlacement:{type:[String,Array],default:"flip"},offset:{type:Number,default:0},boundary:{type:[String,HTMLElement],default:"scrollParent"},boundaryPadding:{type:Number,default:5},arrowPadding:{type:Number,default:6}},data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var t=this,e=this.placement;return{placement:this.getAttachment(e),modifiers:{offset:{offset:this.getOffset(e)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t.popperPlacementChange(e)},onUpdate:function(e){t.popperPlacementChange(e)}}}},created:function(){var t=this;this.$_popper=null,this.localShow=!0,this.$on("show",(function(e){t.popperCreate(e)})),this.$on("hidden",(function(){t.$nextTick(t.$destroy)})),this.$parent.$once("hook:destroyed",this.$destroy)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},mounted:function(){},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},methods:{hide:function(){this.localShow=!1},getAttachment:function(t){return Td[String(t).toUpperCase()]||"auto"},getOffset:function(t){if(!this.offset){var e=this.$refs.arrow||ge(".arrow",this.$el),i=zt(_e(e).width,0)+zt(this.arrowPadding,0);switch(wd[String(t).toUpperCase()]||0){case 1:return"+50%p - ".concat(i,"px");case-1:return"-50%p + ".concat(i,"px");default:return 0}}return this.offset},popperCreate:function(t){this.destroyPopper(),this.$_popper=new ts(this.target,t,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(t){this.attachment=this.getAttachment(t.placement)},renderTemplate:function(t){return t("div")}},render:function(t){var e=this;return t(Ue,{props:{appear:!0,noFade:this.noFade},on:{beforeEnter:function(t){return e.$emit("show",t)},afterEnter:function(t){return e.$emit("shown",t)},beforeLeave:function(t){return e.$emit("hide",t)},afterLeave:function(t){return e.$emit("hidden",t)}}},[this.localShow?this.renderTemplate(t):t()])}}),Cd=t.extend({name:"BVTooltipTemplate",extends:Bd,mixins:[yc],props:{id:{type:String},html:{type:Boolean}},data:function(){return{title:"",content:"",variant:null,customClass:null,interactive:!0}},computed:{templateType:function(){return"tooltip"},templateClasses:function(){var t;return[(t={noninteractive:!this.interactive},r(t,"b-".concat(this.templateType,"-").concat(this.variant),this.variant),r(t,"bs-".concat(this.templateType,"-").concat(this.attachment),this.attachment),t),this.customClass]},templateAttributes:function(){return s({id:this.id,role:"tooltip",tabindex:"-1"},this.scopedStyleAttrs)},templateListeners:function(){var t=this;return{mouseenter:function(e){t.$emit("mouseenter",e)},mouseleave:function(e){t.$emit("mouseleave",e)},focusin:function(e){t.$emit("focusin",e)},focusout:function(e){t.$emit("focusout",e)}}}},methods:{renderTemplate:function(t){var e=st(this.title)?this.title({}):ot(this.title)?t():this.title,i=this.html&&!st(this.title)?{innerHTML:this.title}:{};return t("div",{staticClass:"tooltip b-tooltip",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[t("div",{ref:"arrow",staticClass:"arrow"}),t("div",{staticClass:"tooltip-inner",domProps:i},[e])])}}}),kd=".modal-content",xd=[kd,".b-sidebar"].join(", "),$d={title:"",content:"",variant:null,customClass:null,triggers:"",placement:"auto",fallbackPlacement:"flip",target:null,container:null,noFade:!1,boundary:"scrollParent",boundaryPadding:5,offset:0,delay:0,arrowPadding:6,interactive:!0,disabled:!1,id:null,html:!1},Dd=t.extend({name:"BVTooltip",props:{},data:function(){return s(s({},$d),{},{activeTrigger:{hover:!1,click:!1,focus:!1},localShow:!1})},computed:{templateType:function(){return"tooltip"},computedId:function(){return this.id||"__bv_".concat(this.templateType,"_").concat(this._uid,"__")},computedDelay:function(){var t={show:0,hide:0};return N(this.delay)?(t.show=ai(Ht(this.delay.show,0),0),t.hide=ai(Ht(this.delay.hide,0),0)):(ct(this.delay)||ut(this.delay))&&(t.show=t.hide=ai(Ht(this.delay,0),0)),t},computedTriggers:function(){return $(this.triggers).filter(Boolean).join(" ").trim().toLowerCase().split(/\s+/).sort()},isWithActiveTrigger:function(){for(var t in this.activeTrigger)if(this.activeTrigger[t])return!0;return!1},computedTemplateData:function(){return{title:this.title,content:this.content,variant:this.variant,customClass:this.customClass,noFade:this.noFade,interactive:this.interactive}}},watch:{computedTriggers:function(t,e){var i=this;qn(t,e)||this.$nextTick((function(){i.unListen(),e.forEach((function(e){x(t,e)||i.activeTrigger[e]&&(i.activeTrigger[e]=!1)})),i.listen()}))},computedTemplateData:function(){this.handleTemplateUpdate()},disabled:function(t){t?this.disable():this.enable()}},created:function(){var t=this;this.$_tip=null,this.$_hoverTimeout=null,this.$_hoverState="",this.$_visibleInterval=null,this.$_enabled=!this.disabled,this.$_noop=or.bind(this),this.$parent&&this.$parent.$once("hook:beforeDestroy",this.$destroy),this.$nextTick((function(){var e=t.getTarget();e&&Se(document.body,e)?(t.scopeId=bc(t.$parent),t.listen()):yt("Unable to find target element in document.",t.templateType)}))},updated:function(){this.$nextTick(this.handleTemplateUpdate)},deactivated:function(){this.forceHide()},beforeDestroy:function(){this.unListen(),this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.clearVisibilityInterval(),this.destroyTemplate(),this.$_noop=null},methods:{getTemplate:function(){return Cd},updateData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=!1;A($d).forEach((function(n){at(e[n])||t[n]===e[n]||(t[n]=e[n],"title"===n&&(i=!0))})),i&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var t=this.getContainer(),e=this.getTemplate(),i=this.$_tip=new e({parent:this,propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:Ht(this.offset,0),arrowPadding:Ht(this.arrowPadding,0),boundaryPadding:Ht(this.boundaryPadding,0)}});this.handleTemplateUpdate(),i.$once("show",this.onTemplateShow),i.$once("shown",this.onTemplateShown),i.$once("hide",this.onTemplateHide),i.$once("hidden",this.onTemplateHidden),i.$once("hook:destroyed",this.destroyTemplate),i.$on("focusin",this.handleEvent),i.$on("focusout",this.handleEvent),i.$on("mouseenter",this.handleEvent),i.$on("mouseleave",this.handleEvent),i.$mount(t.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch(t){}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var t=this,e=this.$_tip;if(e){["title","content","variant","customClass","noFade","interactive"].forEach((function(i){e[i]!==t[i]&&(e[i]=t[i])}))}},show:function(){var t=this.getTarget();if(t&&Se(document.body,t)&&fe(t)&&!this.dropdownOpen()&&(!ot(this.title)&&""!==this.title||!ot(this.content)&&""!==this.content)&&!this.$_tip&&!this.localShow){this.localShow=!0;var e=this.buildEvent("show",{cancelable:!0});this.emitEvent(e),e.defaultPrevented?this.destroyTemplate():(this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow())}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.getTemplateElement();if(e&&this.localShow){var i=this.buildEvent("hide",{cancelable:!t});this.emitEvent(i),i.defaultPrevented||this.hideTemplate()}else this.restoreTitle()},forceHide:function(){this.getTemplateElement()&&this.localShow&&(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent("enabled"))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent("disabled"))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var t=this.$_hoverState;this.$_hoverState="","out"===t&&this.leave(null),this.emitEvent(this.buildEvent("shown"))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent("hidden"))},getTarget:function(){var t=this.target?this.target.$el||this.target:null;return t=ut(t)?Te(t.replace(/^#/,"")):t,t=st(t)?t():t,ue(t)?t:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var t=this.getTarget();return t&&t.id?t.id:null},getContainer:function(){var t=!!this.container&&(this.container.$el||this.container),e=document.body,i=this.getTarget();return!1===t?ye(xd,i)||e:ut(t)&&Te(t.replace(/^#/,""))||e},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var t=this.getTarget();return t&&ye(kd,t)},isDropdown:function(){var t=this.getTarget();return t&&Ce(t,"dropdown")},dropdownOpen:function(){var t=this.getTarget();return this.isDropdown()&&t&&ge(".dropdown-menu.show",t)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var t in this.activeTrigger)this.activeTrigger[t]=!1},addAriaDescribedby:function(){var t=this.getTarget(),e=$e(t,"aria-describedby")||"";e=e.split(/\s+/).concat(this.computedId).join(" ").trim(),ke(t,"aria-describedby",e)},removeAriaDescribedby:function(){var t=this,e=this.getTarget(),i=$e(e,"aria-describedby")||"";(i=i.split(/\s+/).filter((function(e){return e!==t.computedId})).join(" ").trim())?ke(e,"aria-describedby",i):xe(e,"aria-describedby")},fixTitle:function(){var t=this.getTarget();t&&$e(t,"title")&&(ke(t,"data-original-title",$e(t,"title")||""),ke(t,"title",""))},restoreTitle:function(){var t=this.getTarget();t&&De(t,"data-original-title")&&(ke(t,"title",$e(t,"data-original-title")||""),xe(t,"data-original-title"))},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new BvEvent(t,s({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},e))},emitEvent:function(t){var e=t.type,i=this.$root;i&&i.$emit&&i.$emit("bv::".concat(this.templateType,"::").concat(e),t),this.$emit(e,t)},listen:function(){var t=this,e=this.getTarget();e&&(this.setRootListener(!0),this.computedTriggers.forEach((function(i){"click"===i?dr(e,"click",t.handleEvent,ur):"focus"===i?(dr(e,"focusin",t.handleEvent,ur),dr(e,"focusout",t.handleEvent,ur)):"blur"===i?dr(e,"focusout",t.handleEvent,ur):"hover"===i&&(dr(e,"mouseenter",t.handleEvent,ur),dr(e,"mouseleave",t.handleEvent,ur))}),this))},unListen:function(){var t=this,e=this.getTarget();this.setRootListener(!1),["click","focusin","focusout","mouseenter","mouseleave"].forEach((function(i){e&&hr(e,i,t.handleEvent,ur)}),this)},setRootListener:function(t){var e=this.$root;if(e){var i=t?"$on":"$off",n=this.templateType;e[i]("bv::hide::".concat(n),this.doHide),e[i]("bv::show::".concat(n),this.doShow),e[i]("bv::disable::".concat(n),this.doDisable),e[i]("bv::enable::".concat(n),this.doEnable)}},setWhileOpenListeners:function(t){this.setModalListener(t),this.setDropdownListener(t),this.visibleCheck(t),this.setOnTouchStartListener(t)},visibleCheck:function(t){var e=this;this.clearVisibilityInterval();var i=this.getTarget(),n=this.getTemplateElement();t&&(this.$_visibleInterval=setInterval((function(){!n||!e.localShow||i.parentNode&&fe(i)||e.forceHide()}),100))},setModalListener:function(t){this.isInModal()&&this.$root[t?"$on":"$off"]("bv::modal::hidden",this.forceHide)},setOnTouchStartListener:function(t){var e=this;"ontouchstart"in document.documentElement&&C(document.body.children).forEach((function(i){fr(t,i,"mouseover",e.$_noop)}))},setDropdownListener:function(t){var e=this.getTarget();e&&this.$root&&this.isDropdown&&e.__vue__&&e.__vue__[t?"$on":"$off"]("shown",this.forceHide)},handleEvent:function(t){var e=this.getTarget();if(e&&!pe(e)&&this.$_enabled&&!this.dropdownOpen()){var i=t.type,n=this.computedTriggers;if("click"===i&&x(n,"click"))this.click(t);else if("mouseenter"===i&&x(n,"hover"))this.enter(t);else if("focusin"===i&&x(n,"focus"))this.enter(t);else if("focusout"===i&&(x(n,"focus")||x(n,"blur"))||"mouseleave"===i&&x(n,"hover")){var a=this.getTemplateElement(),r=t.target,o=t.relatedTarget;if(a&&Se(a,r)&&Se(e,o)||a&&Se(e,r)&&Se(a,o)||a&&Se(a,r)&&Se(a,o)||Se(e,r)&&Se(e,o))return;this.leave(t)}}},doHide:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.forceHide()},doShow:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.show()},doDisable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.disable()},doEnable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.enable()},click:function(t){this.$_enabled&&!this.dropdownOpen()&&(Ee(t.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){this.$_enabled&&!this.dropdownOpen()&&(this.localShow?this.leave(null):this.enter(null))},enter:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusin"===e.type?"focus":"hover"]=!0),this.localShow||"in"===this.$_hoverState?this.$_hoverState="in":(this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout((function(){"in"===t.$_hoverState?t.show():t.localShow||t.restoreTitle()}),this.computedDelay.show)):this.show())},leave:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusout"===e.type?"focus":"hover"]=!1,"focusout"===e.type&&x(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),this.isWithActiveTrigger||(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout((function(){"out"===t.$_hoverState&&t.hide()}),this.computedDelay.hide):this.hide())}}}),Pd="BTooltip",_d=t.extend({name:Pd,props:{title:{type:String},target:{type:[String,HTMLElement,SVGElement,Function,Object],required:!0},triggers:{type:[String,Array],default:"hover focus"},placement:{type:String,default:"top"},fallbackPlacement:{type:[String,Array],default:"flip",validator:function(t){return k(t)&&t.every((function(t){return ut(t)}))||x(["flip","clockwise","counterclockwise"],t)}},variant:{type:String,default:function(){return Nt(Pd,"variant")}},customClass:{type:String,default:function(){return Nt(Pd,"customClass")}},delay:{type:[Number,Object,String],default:function(){return Nt(Pd,"delay")}},boundary:{type:[String,HTMLElement,Object],default:function(){return Nt(Pd,"boundary")}},boundaryPadding:{type:[Number,String],default:function(){return Nt(Pd,"boundaryPadding")}},offset:{type:[Number,String],default:0},noFade:{type:Boolean,default:!1},container:{type:[String,HTMLElement,Object]},show:{type:Boolean,default:!1},noninteractive:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{type:String}},data:function(){return{localShow:this.show,localTitle:"",localContent:""}},computed:{templateData:function(){return{title:this.localTitle,content:this.localContent,target:this.target,triggers:this.triggers,placement:this.placement,fallbackPlacement:this.fallbackPlacement,variant:this.variant,customClass:this.customClass,container:this.container,boundary:this.boundary,boundaryPadding:this.boundaryPadding,delay:this.delay,offset:this.offset,noFade:this.noFade,interactive:!this.noninteractive,disabled:this.disabled,id:this.id}},templateTitleContent:function(){return{title:this.title,content:this.content}}},watch:{show:function(t,e){t!==e&&t!==this.localShow&&this.$_toolpop&&(t?this.$_toolpop.show():this.$_toolpop.forceHide())},disabled:function(t){t?this.doDisable():this.doEnable()},localShow:function(t){this.$emit("update:show",t)},templateData:function(){var t=this;this.$nextTick((function(){t.$_toolpop&&t.$_toolpop.updateData(t.templateData)}))},templateTitleContent:function(){this.$nextTick(this.updateContent)}},created:function(){this.$_toolpop=null},updated:function(){this.$nextTick(this.updateContent)},beforeDestroy:function(){this.$off("open",this.doOpen),this.$off("close",this.doClose),this.$off("disable",this.doDisable),this.$off("enable",this.doEnable),this.$_toolpop&&(this.$_toolpop.$destroy(),this.$_toolpop=null)},mounted:function(){var t=this;this.$nextTick((function(){var e=t.getComponent();t.updateContent();var i=bc(t)||bc(t.$parent),n=t.$_toolpop=new e({parent:t,_scopeId:i||void 0});n.updateData(t.templateData),n.$on("show",t.onShow),n.$on("shown",t.onShown),n.$on("hide",t.onHide),n.$on("hidden",t.onHidden),n.$on("disabled",t.onDisabled),n.$on("enabled",t.onEnabled),t.disabled&&t.doDisable(),t.$on("open",t.doOpen),t.$on("close",t.doClose),t.$on("disable",t.doDisable),t.$on("enable",t.doEnable),t.localShow&&n.show()}))},methods:{getComponent:function(){return Dd},updateContent:function(){this.setTitle(this.$scopedSlots.default||this.title)},setTitle:function(t){t=ot(t)?"":t,this.localTitle!==t&&(this.localTitle=t)},setContent:function(t){t=ot(t)?"":t,this.localContent!==t&&(this.localContent=t)},onShow:function(t){this.$emit("show",t),t&&(this.localShow=!t.defaultPrevented)},onShown:function(t){this.localShow=!0,this.$emit("shown",t)},onHide:function(t){this.$emit("hide",t)},onHidden:function(t){this.$emit("hidden",t),this.localShow=!1},onDisabled:function(t){t&&"disabled"===t.type&&(this.$emit("update:disabled",!0),this.$emit("disabled",t))},onEnabled:function(t){t&&"enabled"===t.type&&(this.$emit("update:disabled",!1),this.$emit("enabled",t))},doOpen:function(){!this.localShow&&this.$_toolpop&&this.$_toolpop.show()},doClose:function(){this.localShow&&this.$_toolpop&&this.$_toolpop.hide()},doDisable:function(){this.$_toolpop&&this.$_toolpop.disable()},doEnable:function(){this.$_toolpop&&this.$_toolpop.enable()}},render:function(t){return t()}}),Fd=t.extend({name:"BVPopoverTemplate",extends:Cd,computed:{templateType:function(){return"popover"}},methods:{renderTemplate:function(t){var e=st(this.title)?this.title({}):this.title,i=st(this.content)?this.content({}):this.content,n=this.html&&!st(this.title)?{innerHTML:this.title}:{},a=this.html&&!st(this.content)?{innerHTML:this.content}:{};return t("div",{staticClass:"popover b-popover",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[t("div",{ref:"arrow",staticClass:"arrow"}),ot(e)||""===e?t():t("h3",{staticClass:"popover-header",domProps:n},[e]),ot(i)||""===i?t():t("div",{staticClass:"popover-body",domProps:a},[i])])}}}),Id=t.extend({name:"BVPopover",extends:Dd,computed:{templateType:function(){return"popover"}},methods:{getTemplate:function(){return Fd}}}),Od="BPopover",Ad=t.extend({name:Od,extends:_d,inheritAttrs:!1,props:{title:{type:String},content:{type:String},triggers:{type:[String,Array],default:"click"},placement:{type:String,default:"right"},variant:{type:String,default:function(){return Nt(Od,"variant")}},customClass:{type:String,default:function(){return Nt(Od,"customClass")}},delay:{type:[Number,Object,String],default:function(){return Nt(Od,"delay")}},boundary:{type:[String,HTMLElement,Object],default:function(){return Nt(Od,"boundary")}},boundaryPadding:{type:[Number,String],default:function(){return Nt(Od,"boundaryPadding")}}},methods:{getComponent:function(){return Id},updateContent:function(){this.setContent(this.$scopedSlots.default||this.content),this.setTitle(this.$scopedSlots.title||this.title)}}}),Ed="__BV_Popover__",Vd={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},Nd=/^html$/i,Ld=/^nofade$/i,Md=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,Rd=/^(window|viewport|scrollParent)$/i,Hd=/^d\d+$/i,zd=/^ds\d+$/i,jd=/^dh\d+$/i,Gd=/^o-?\d+$/i,Wd=/^v-.+$/i,Ud=/\s+/,Yd=function(t,e,i){if(U){var n=function(t,e){var i="BPopover",n={title:void 0,content:void 0,trigger:"",placement:"right",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,disabled:!1,id:null,html:!1,delay:Nt(i,"delay"),boundary:String(Nt(i,"boundary")),boundaryPadding:Ht(Nt(i,"boundaryPadding"),0),variant:Nt(i,"variant"),customClass:Nt(i,"customClass")};if(ut(t.value)||ct(t.value)||st(t.value)?n.content=t.value:N(t.value)&&(n=s(s({},n),t.value)),t.arg&&(n.container="#".concat(t.arg)),at(n.title)){var a=e.data||{};n.title=a.attrs&&!ot(a.attrs.title)?a.attrs.title:void 0}N(n.delay)||(n.delay={show:Ht(n.delay,0),hide:Ht(n.delay,0)}),A(t.modifiers).forEach((function(t){if(Nd.test(t))n.html=!0;else if(Ld.test(t))n.animation=!1;else if(Md.test(t))n.placement=t;else if(Rd.test(t))t="scrollparent"===t?"scrollParent":t,n.boundary=t;else if(Hd.test(t)){var e=Ht(t.slice(1),0);n.delay.show=e,n.delay.hide=e}else zd.test(t)?n.delay.show=Ht(t.slice(2),0):jd.test(t)?n.delay.hide=Ht(t.slice(2),0):Gd.test(t)?n.offset=Ht(t.slice(1),0):Wd.test(t)&&(n.variant=t.slice(2)||null)}));var r={};return $(n.trigger||"").filter(mt).join(" ").trim().toLowerCase().split(Ud).forEach((function(t){Vd[t]&&(r[t]=!0)})),A(t.modifiers).forEach((function(t){t=t.toLowerCase(),Vd[t]&&(r[t]=!0)})),n.trigger=A(r).join(" "),"blur"===n.trigger&&(n.trigger="focus"),n.trigger||(n.trigger="click"),n}(e,i);if(!t[Ed]){var a=i.context;t[Ed]=new Id({parent:a,_scopeId:bc(a,void 0)}),t[Ed].__bv_prev_data__={},t[Ed].$on("show",(function(){var e={};st(n.title)&&(e.title=n.title(t)),st(n.content)&&(e.content=n.content(t)),A(e).length>0&&t[Ed].updateData(e)}))}var r={title:n.title,content:n.content,triggers:n.trigger,placement:n.placement,fallbackPlacement:n.fallbackPlacement,variant:n.variant,customClass:n.customClass,container:n.container,boundary:n.boundary,delay:n.delay,offset:n.offset,noFade:!n.animation,id:n.id,disabled:n.disabled,html:n.html},o=t[Ed].__bv_prev_data__;if(t[Ed].__bv_prev_data__=r,!qn(r,o)){var l={target:t};A(r).forEach((function(e){r[e]!==o[e]&&(l[e]="title"!==e&&"content"!==e||!st(r[e])?r[e]:r[e](t))})),t[Ed].updateData(l)}}},qd=Dt({directives:{VBPopover:{bind:function(t,e,i){Yd(t,e,i)},componentUpdated:function(t,e,i){i.context.$nextTick((function(){Yd(t,e,i)}))},unbind:function(t){!function(t){t[Ed]&&(t[Ed].$destroy(),t[Ed]=null),delete t[Ed]}(t)}}}}),Kd=Dt({components:{BPopover:Ad},plugins:{VBPopoverPlugin:qd}}),Xd=t.extend({name:"BProgressBar",mixins:[Ke],inject:{bvProgress:{default:function(){return{}}}},props:{value:{type:[Number,String],default:0},label:{type:String},labelHtml:{type:String},max:{type:[Number,String],default:null},precision:{type:[Number,String],default:null},variant:{type:String,default:function(){return Nt("BProgressBar","variant")}},striped:{type:Boolean,default:null},animated:{type:Boolean,default:null},showProgress:{type:Boolean,default:null},showValue:{type:Boolean,default:null}},computed:{progressBarClasses:function(){return[this.computedVariant?"bg-".concat(this.computedVariant):"",this.computedStriped||this.computedAnimated?"progress-bar-striped":"",this.computedAnimated?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.computedValue/this.computedMax*100+"%"}},computedValue:function(){return zt(this.value,0)},computedMax:function(){var t=zt(this.max)||zt(this.bvProgress.max,0);return t>0?t:100},computedPrecision:function(){return ai(Ht(this.precision,Ht(this.bvProgress.precision,0)),0)},computedProgress:function(){var t=this.computedPrecision,e=li(10,t);return jt(100*e*this.computedValue/this.computedMax/e,t)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return lt(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return lt(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return lt(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return lt(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(t){var e=this.label,i=this.labelHtml,n=this.computedValue,a=this.computedPrecision,r=t(),o={};return this.hasNormalizedSlot("default")?r=this.normalizeSlot("default"):e||i?o=An(i,e):this.computedShowProgress?r=this.computedProgress:this.computedShowValue&&(r=jt(n,a)),t("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":Jt(this.computedMax),"aria-valuenow":jt(n,a)},domProps:o},[r])}}),Zd=Dt({components:{BProgress:t.extend({name:"BProgress",mixins:[Ke],provide:function(){return{bvProgress:this}},props:{variant:{type:String,default:function(){return Nt("BProgress","variant")}},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1},height:{type:String},precision:{type:[Number,String],default:0},showProgress:{type:Boolean,default:!1},showValue:{type:Boolean,default:!1},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0}},computed:{progressHeight:function(){return{height:this.height||null}}},render:function(t){var e=this.normalizeSlot("default");return e||(e=t(Xd,{props:{value:this.value,max:this.max,precision:this.precision,variant:this.variant,animated:this.animated,striped:this.striped,showProgress:this.showProgress,showValue:this.showValue}})),t("div",{class:["progress"],style:this.progressHeight},[e])}}),BProgressBar:Xd}}),Jd="BSidebar",Qd=function(t,e){if(e.noHeader)return t();var i=function(t,e){var i=e.normalizeSlot("title",e.slotScope)||Jt(e.title)||null;return i?t("strong",{attrs:{id:e.safeId("__title__")}},[i]):t("span")}(t,e),n=function(t,e){if(e.noHeaderClose)return t();var i=e.closeLabel,n=e.textVariant,a=e.hide;return t(Je,{ref:"close-button",props:{ariaLabel:i,textVariant:n},on:{click:a}},[e.normalizeSlot("header-close")||t(yn)])}(t,e);return t("header",{key:"header",staticClass:"".concat("b-sidebar","-header"),class:e.headerClass},e.right?[n,i]:[i,n])},th=function(t,e){return t("div",{key:"body",staticClass:"".concat("b-sidebar","-body"),class:e.bodyClass},[e.normalizeSlot("default",e.slotScope)])},eh=function(t,e){var i=e.normalizeSlot("footer",e.slotScope);return i?t("footer",{key:"footer",staticClass:"".concat("b-sidebar","-footer"),class:e.footerClass},[i]):t()},ih=function(t,e){var i=Qd(t,e);return e.lazy&&!e.isOpen?i:[i,th(t,e),eh(t,e)]},nh=function(t,e){if(!e.backdrop)return t();var i=e.backdropVariant;return t("div",{directives:[{name:"show",value:e.localShow}],staticClass:"b-sidebar-backdrop",class:r({},"bg-".concat(i),!!i),on:{click:e.onBackdropClick}})},ah=Dt({components:{BSidebar:t.extend({name:Jd,mixins:[Oi,ma,kr,Ke],inheritAttrs:!1,model:{prop:"visible",event:"change"},props:{title:{type:String},right:{type:Boolean,default:!1},bgVariant:{type:String,default:function(){return Nt(Jd,"bgVariant")}},textVariant:{type:String,default:function(){return Nt(Jd,"textVariant")}},shadow:{type:[Boolean,String],default:function(){return Nt(Jd,"shadow")}},width:{type:String,default:function(){return Nt(Jd,"width")}},zIndex:{type:[Number,String]},ariaLabel:{type:String},ariaLabelledby:{type:String},closeLabel:{type:String},tag:{type:String,default:function(){return Nt(Jd,"tag")}},sidebarClass:{type:[String,Array,Object]},headerClass:{type:[String,Array,Object]},bodyClass:{type:[String,Array,Object]},footerClass:{type:[String,Array,Object]},backdrop:{type:Boolean,default:!1},backdropVariant:{type:String,default:function(){return Nt(Jd,"backdropVariant")}},noSlide:{type:Boolean,default:!1},noHeader:{type:Boolean,default:!1},noHeaderClose:{type:Boolean,default:!1},noCloseOnEsc:{type:Boolean,default:!1},noCloseOnBackdrop:{type:Boolean,default:!1},noCloseOnRouteChange:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},visible:{type:Boolean,default:!1}},data:function(){return{localShow:!!this.visible,isOpen:!!this.visible}},computed:{transitionProps:function(){return this.noSlide?{css:!0}:{css:!0,enterClass:"",enterActiveClass:"slide",enterToClass:"show",leaveClass:"show",leaveActiveClass:"slide",leaveToClass:""}},slotScope:function(){return{visible:this.localShow,right:this.right,hide:this.hide}},computedTile:function(){return this.normalizeSlot("title",this.slotScope)||Jt(this.title)||null},titleId:function(){return this.computedTile?this.safeId("__title__"):null},computedAttrs:function(){return s(s({},this.bvAttrs),{},{id:this.safeId(),tabindex:"-1",role:"dialog","aria-modal":this.backdrop?"true":"false","aria-hidden":this.localShow?null:"true","aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||this.titleId||null})}},watch:{visible:function(t,e){t!==e&&(this.localShow=t)},localShow:function(t,e){t!==e&&(this.emitState(t),this.$emit("change",t))},$route:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.noCloseOnRouteChange||t.fullPath===e.fullPath||this.hide()}},created:function(){this.$_returnFocusEl=null},mounted:function(){var t=this;this.listenOnRoot("bv::toggle::collapse",this.handleToggle),this.listenOnRoot("bv::request::collapse::state",this.handleSync),this.$nextTick((function(){t.emitState(t.localShow)}))},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(Or,this.safeId(),t)},emitSync:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(Ar,this.safeId(),t)},handleToggle:function(t){t&&t===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(t){var e=this;t&&t===this.safeId()&&this.$nextTick((function(){e.emitSync(e.localShow)}))},onKeydown:function(t){var e=t.keyCode;!this.noCloseOnEsc&&e===_i.ESC&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var t=Ae(this.$refs.content);Ee(t.reverse()[0])},onBottomTrapFocus:function(){var t=Ae(this.$refs.content);Ee(t[0])},onBeforeEnter:function(){this.$_returnFocusEl=ce(U?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(t){Se(t,ce())||Ee(t),this.$emit("shown")},onAfterLeave:function(){Ee(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit("hidden")}},render:function(t){var e,i=this.localShow,n=""===this.shadow||this.shadow,a=t(this.tag,{ref:"content",directives:[{name:"show",value:i}],staticClass:"b-sidebar",class:[(e={shadow:!0===n},r(e,"shadow-".concat(n),n&&!0!==n),r(e,"".concat("b-sidebar","-right"),this.right),r(e,"bg-".concat(this.bgVariant),!!this.bgVariant),r(e,"text-".concat(this.textVariant),!!this.textVariant),e),this.sidebarClass],attrs:this.computedAttrs,style:{width:this.width}},[ih(t,this)]);a=t("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[a]);var o=t(Ue,{props:{noFade:this.noSlide}},[nh(t,this)]),s=t(),l=t();return this.backdrop&&this.localShow&&(s=t("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),l=t("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),t("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[s,a,l,o])}})},plugins:{VBTogglePlugin:Yr}}),rh=Dt({components:{BSpinner:rd}}),oh={methods:{hasListener:function(t){var e=this.$listeners||{},i=this._events||{};return!at(e[t])||k(i[t])&&i[t].length>0}}},sh=/_/g,lh=/([a-z])([A-Z])/g,uh=/(\s|^)(\w)/g,ch=function(t){return t.replace(sh," ").replace(lh,(function(t,e,i){return e+" "+i})).replace(uh,(function(t,e,i){return e+i.toUpperCase()}))},dh={_rowVariant:!0,_cellVariants:!0,_showDetails:!0},hh=["a","a *","button","button *","input:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])","textarea:not(.disabled):not([disabled])",'[role="link"]','[role="link"] *','[role="button"]','[role="button"] *',"[tabindex]:not(.disabled):not([disabled])"].join(","),fh=function(t,e){var i=[];if(k(t)&&t.filter(mt).forEach((function(t){if(ut(t))i.push({key:t,label:ch(t)});else if(V(t)&&t.key&&ut(t.key))i.push(L(t));else if(V(t)&&1===A(t).length){var e=A(t)[0],n=function(t,e){var i=null;return ut(e)?i={key:t,label:e}:st(e)?i={key:t,formatter:e}:V(e)?(i=L(e)).key=i.key||t:!1!==e&&(i={key:t}),i}(e,t[e]);n&&i.push(n)}})),0===i.length&&k(e)&&e.length>0){var n=e[0];A(n).forEach((function(t){dh[t]||i.push({key:t,label:ch(t)})}))}var a={};return i.filter((function(t){return!a[t.key]&&(a[t.key]=!0,t.label=ut(t.label)?t.label:ch(t.key),!0)}))},ph={props:{items:{type:Array,default:function(){return[]}},fields:{type:Array,default:null},primaryKey:{type:String},value:{type:Array,default:function(){return[]}}},data:function(){return{localItems:k(this.items)?this.items.slice():[]}},computed:{computedFields:function(){return fh(this.fields,this.localItems)},computedFieldsObj:function(){var t=this.$parent;return this.computedFields.reduce((function(e,i){if(e[i.key]=L(i),i.formatter){var n=i.formatter;ut(n)&&st(t[n])?n=t[n]:st(n)||(n=void 0),e[i.key].formatter=n}return e}),{})},computedItems:function(){return(this.paginatedItems||this.sortedItems||this.filteredItems||this.localItems||[]).slice()},context:function(){return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:ai(Ht(this.perPage,0),0),currentPage:ai(Ht(this.currentPage,0),1),apiUrl:this.apiUrl}}},watch:{items:function(t){k(t)?this.localItems=t.slice():ot(t)&&(this.localItems=[])},computedItems:function(t){this.$emit("input",t)},context:function(t,e){qn(t,e)||this.$emit("context-changed",t)}},mounted:function(){this.$emit("input",this.computedItems)},methods:{getFieldFormatter:function(t){var e=this.computedFieldsObj[t];return e?e.formatter:void 0}}},mh={props:{stacked:{type:[Boolean,String],default:!1}},computed:{isStacked:function(){return""===this.stacked||this.stacked},isStackedAlways:function(){return!0===this.isStacked},stackedTableClasses:function(){return r({"b-table-stacked":this.isStackedAlways},"b-table-stacked-".concat(this.stacked),!this.isStackedAlways&&this.isStacked)}}},vh=function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return A(t).reduce((function(a,r){if(!dh[r]&&!(e&&e.length>0&&x(e,r))&&(!(i&&i.length>0)||x(i,r))){var o=n[r]||{},s=t[r],l=o.filterByFormatted,u=st(l)?l:l?o.formatter:null;a[r]=st(u)?u(s,r,t):s}return a}),{})},gh=function t(e){return ot(e)?"":V(e)&&!dt(e)?A(e).sort().filter((function(t){return!ot(t)})).map((function(i){return t(e[i])})).join(" "):Jt(e)},bh='Prop "filter-debounce" is deprecated. Use the debounce feature of "" instead.',yh=/[\s\uFEFF\xA0]+/g,Sh={props:{filter:{type:[String,RegExp,Object,Array],default:null},filterFunction:{type:Function},filterIgnoredFields:{type:Array},filterIncludedFields:{type:Array},filterDebounce:{type:[Number,String],deprecated:bh,default:0,validator:function(t){return/^\d+/.test(String(t))}}},data:function(){return{isFiltered:!1,localFilter:this.filterSanitize(this.filter)}},computed:{computedFilterIgnored:function(){return this.filterIgnoredFields?$(this.filterIgnoredFields).filter(mt):null},computedFilterIncluded:function(){return this.filterIncludedFields?$(this.filterIncludedFields).filter(mt):null},computedFilterDebounce:function(){var t=Ht(this.filterDebounce,0);return t>0&&yt(bh,"BTable"),t},localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilterFn:function(){return st(this.filterFunction)?this.filterFunction:null},filteredItems:function(){var t=this.localItems||[],e=this.localFilter,i=this.localFiltering?this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e):null;return i&&t.length>0?t.filter(i):t}},watch:{computedFilterDebounce:function(t){!t&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(t){var e=this,i=this.computedFilterDebounce;this.clearFilterTimer(),i&&i>0?this.$_filterTimer=setTimeout((function(){e.localFilter=e.filterSanitize(t)}),i):this.localFilter=this.filterSanitize(t)}},filteredCheck:function(t){var e=t.filteredItems,i=t.localFilter,n=!1;i?qn(i,[])||qn(i,{})?n=!1:i&&(n=!0):n=!1,n&&this.$emit("filtered",e,e.length),this.isFiltered=n},isFiltered:function(t,e){!1===t&&!0===e&&this.$emit("filtered",this.localItems,this.localItems.length)}},created:function(){var t=this;this.$_filterTimer=null,this.$nextTick((function(){t.isFiltered=Boolean(t.localFilter)}))},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(t){return!this.localFiltering||this.localFilterFn||ut(t)||ft(t)?pt(t):""},filterFnFactory:function(t,e){if(!t||!st(t)||!e||qn(e,[])||qn(e,{}))return null;return function(i){return t(i,e)}},defaultFilterFnFactory:function(t){var e=this;if(!t||!ut(t)&&!ft(t))return null;var i=t;if(ut(i)){var n=Zt(t).replace(yh,"\\s+");i=new RegExp(".*".concat(n,".*"),"i")}return function(t){return i.lastIndex=0,i.test((n=t,a=e.computedFilterIgnored,r=e.computedFilterIncluded,o=e.computedFieldsObj,V(n)?gh(vh(n,a,r,o)):""));var n,a,r,o}}}},Th=function(t,e){return t.map((function(t,e){return[e,t]})).sort(function(t,e){return this(t[1],e[1])||t[0]-e[0]}.bind(e)).map((function(t){return t[1]}))},wh={props:{sortBy:{type:String,default:""},sortDesc:{type:Boolean,default:!1},sortDirection:{type:String,default:"asc",validator:function(t){return x(["asc","desc","last"],t)}},sortCompare:{type:Function},sortCompareOptions:{type:Object,default:function(){return{numeric:!0}}},sortCompareLocale:{type:[String,Array]},sortNullLast:{type:Boolean,default:!1},noSortReset:{type:Boolean,default:!1},labelSortAsc:{type:String,default:"Click to sort Ascending"},labelSortDesc:{type:String,default:"Click to sort Descending"},labelSortClear:{type:String,default:"Click to clear sorting"},noLocalSorting:{type:Boolean,default:!1},noFooterSorting:{type:Boolean,default:!1},sortIconLeft:{type:Boolean,default:!1}},data:function(){return{localSortBy:this.sortBy||"",localSortDesc:this.sortDesc||!1}},computed:{localSorting:function(){return this.hasProvider?!!this.noProviderSorting:!this.noLocalSorting},isSortable:function(){return this.computedFields.some((function(t){return t.sortable}))},sortedItems:function(){var t=(this.filteredItems||this.localItems||[]).slice(),e=this.localSortBy,i=this.localSortDesc,n=this.sortCompare,a=this.localSorting,r=s(s({},this.sortCompareOptions),{},{usage:"sort"}),o=this.sortCompareLocale||void 0,l=this.sortNullLast;if(e&&a){var u=(this.computedFieldsObj[e]||{}).sortByFormatted,c=st(u)?u:u?this.getFieldFormatter(e):void 0;return Th(t,(function(t,a){var s=null;return st(n)&&(s=n(t,a,e,i,c,r,o)),(ot(s)||!1===s)&&(s=function(t,e,i,n,a,r,o,s){var l=bt(t,i,null),u=bt(e,i,null);return st(a)&&(l=a(l,i,t),u=a(u,i,e)),l=ot(l)?"":l,u=ot(u)?"":u,dt(l)&&dt(u)||ct(l)&&ct(u)?lu?1:0:s&&""===l&&""!==u?1:s&&""!==l&&""===u?-1:gh(l).localeCompare(gh(u),o,r)}(t,a,e,0,c,r,o,l)),(s||0)*(i?-1:1)}))}return t}},watch:{isSortable:function(t){t?this.isSortable&&this.$on("head-clicked",this.handleSort):this.$off("head-clicked",this.handleSort)},sortDesc:function(t){t!==this.localSortDesc&&(this.localSortDesc=t||!1)},sortBy:function(t){t!==this.localSortBy&&(this.localSortBy=t||"")},localSortDesc:function(t,e){t!==e&&this.$emit("update:sortDesc",t)},localSortBy:function(t,e){t!==e&&this.$emit("update:sortBy",t)}},created:function(){this.isSortable&&this.$on("head-clicked",this.handleSort)},methods:{handleSort:function(t,e,i,n){var a=this;if(this.isSortable&&(!n||!this.noFooterSorting)){var r=!1,o=function(){var t=e.sortDirection||a.sortDirection;"asc"===t?a.localSortDesc=!1:"desc"===t&&(a.localSortDesc=!0)};e.sortable?(t===this.localSortBy?this.localSortDesc=!this.localSortDesc:(this.localSortBy=t,o()),r=!0):this.localSortBy&&!this.noSortReset&&(this.localSortBy="",o(),r=!0),r&&this.$emit("sort-changed",this.context)}},sortTheadThClasses:function(t,e,i){return{"b-table-sort-icon-left":e.sortable&&this.sortIconLeft&&!(i&&this.noFooterSorting)}},sortTheadThAttrs:function(t,e,i){if(!this.isSortable||i&&this.noFooterSorting)return{};var n=e.sortable;return{"aria-sort":n&&this.localSortBy===t?this.localSortDesc?"descending":"ascending":n?"none":null}},sortTheadThLabel:function(t,e,i){if(!this.isSortable||i&&this.noFooterSorting)return null;var n="";if(e.sortable)if(this.localSortBy===t)n=this.localSortDesc?this.labelSortAsc:this.labelSortDesc;else{n=this.localSortDesc?this.labelSortDesc:this.labelSortAsc;var a=this.sortDirection||e.sortDirection;"asc"===a?n=this.labelSortAsc:"desc"===a&&(n=this.labelSortDesc)}else this.noSortReset||(n=this.localSortBy?this.labelSortClear:"");return Qt(n)||null}}},Bh={props:{perPage:{type:[Number,String],default:0},currentPage:{type:[Number,String],default:1}},computed:{localPaging:function(){return!this.hasProvider||!!this.noProviderPaging},paginatedItems:function(){var t=this.sortedItems||this.filteredItems||this.localItems||[],e=ai(Ht(this.currentPage,1),1),i=ai(Ht(this.perPage,0),0);return this.localPaging&&i&&(t=t.slice((e-1)*i,e*i)),t}}},Ch={props:{caption:{type:String},captionHtml:{type:String}},computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var t=this.caption,e=this.captionHtml,i=this.$createElement,n=i(),a=this.hasNormalizedSlot("table-caption");return(a||t||e)&&(n=i("caption",{key:"caption",attrs:{id:this.captionId},domProps:a?{}:An(e,t)},this.normalizeSlot("table-caption"))),n}}},kh={methods:{renderColgroup:function(){var t=this.$createElement,e=this.computedFields,i=t();return this.hasNormalizedSlot("table-colgroup")&&(i=t("colgroup",{key:"colgroup"},[this.normalizeSlot("table-colgroup",{columns:e.length,fields:e})])),i}}},xh=["TD","TH","TR"],$h=function(t){if(!t||!t.target)return!1;var e=t.target;if(e.disabled||-1!==xh.indexOf(e.tagName))return!1;if(ye(".dropdown-menu",e))return!0;var i="LABEL"===e.tagName?e:ye("label",e);if(i){var n=$e(i,"for"),a=n?Te(n):ge("input, select, textarea",i);if(a&&!a.disabled)return!0}return be(e,hh)},Dh=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=Fe();return!!(e&&""!==e.toString().trim()&&e.containsNode&&ue(t))&&e.containsNode(t,!0)},Ph={headVariant:{type:String,default:null}},_h=t.extend({name:"BThead",mixins:[Oi,Ai,Ke],inheritAttrs:!1,provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},props:Ph,computed:{isThead:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},theadClasses:function(){return[this.headVariant?"thead-".concat(this.headVariant):null]},theadAttrs:function(){return s({role:"rowgroup"},this.bvAttrs)}},render:function(t){return t("thead",{class:this.theadClasses,attrs:this.theadAttrs,on:this.bvListeners},this.normalizeSlot("default"))}}),Fh={footVariant:{type:String,default:null}},Ih=t.extend({name:"BTfoot",mixins:[Oi,Ai,Ke],inheritAttrs:!1,provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},props:Fh,computed:{isTfoot:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},tfootClasses:function(){return[this.footVariant?"thead-".concat(this.footVariant):null]},tfootAttrs:function(){return s({role:"rowgroup"},this.bvAttrs)}},render:function(t){return t("tfoot",{class:this.tfootClasses,attrs:this.tfootAttrs,on:this.bvListeners},this.normalizeSlot("default"))}}),Oh={variant:{type:String,default:null}},Ah=t.extend({name:"BTr",mixins:[Oi,Ai,Ke],inheritAttrs:!1,provide:function(){return{bvTableTr:this}},inject:{bvTableRowGroup:{default:function(){return{}}}},props:Oh,computed:{inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return"light"!==this.headVariant&&"light"!==this.footVariant&&("dark"===this.headVariant||"dark"===this.footVariant||this.isDark)},trClasses:function(){return[this.variant?"".concat(this.isRowDark?"bg":"table","-").concat(this.variant):null]},trAttrs:function(){return s({role:"row"},this.bvAttrs)}},render:function(t){return t("tr",{class:this.trClasses,attrs:this.trAttrs,on:this.bvListeners},this.normalizeSlot("default"))}}),Eh=function(t){return(t=Ht(t,0))>0?t:null},Vh=function(t){return ot(t)||Eh(t)>0},Nh={variant:{type:String,default:null},colspan:{type:[Number,String],default:null,validator:Vh},rowspan:{type:[Number,String],default:null,validator:Vh},stackedHeading:{type:String,default:null},stickyColumn:{type:Boolean,default:!1}},Lh=t.extend({name:"BTableCell",mixins:[Oi,Ai,Ke],inheritAttrs:!1,inject:{bvTableTr:{default:function(){return{}}}},props:Nh,computed:{tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return Eh(this.colspan)},computedRowspan:function(){return Eh(this.rowspan)},cellClasses:function(){var t=this.variant;return(!t&&this.isStickyHeader&&!this.headVariant||!t&&this.isStickyColumn&&this.inTfoot&&!this.footVariant||!t&&this.isStickyColumn&&this.inThead&&!this.headVariant||!t&&this.isStickyColumn&&this.inTbody)&&(t=this.rowVariant||this.tableVariant||"b-table-default"),[t?"".concat(this.isDark?"bg":"table","-").concat(t):null,this.isStickyColumn?"b-table-sticky-column":null]},cellAttrs:function(){var t=this.inThead||this.inTfoot,e=this.computedColspan,i=this.computedRowspan,n="cell",a=null;return t?(n="columnheader",a=e>0?"colspan":"col"):de(this.tag,"th")&&(n="rowheader",a=i>0?"rowgroup":"row"),s(s({colspan:e,rowspan:i,role:n,scope:a},this.bvAttrs),{},{"data-label":this.isStackedCell&&!ot(this.stackedHeading)?Jt(this.stackedHeading):null})}},render:function(t){var e=[this.normalizeSlot("default")];return t(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?t("div",[e]):e])}}),Mh=t.extend({name:"BTh",extends:Lh,computed:{tag:function(){return"th"}}}),Rh={props:{headVariant:{type:String,default:function(){return Nt("BTable","headVariant")}},headRowVariant:{type:String},theadClass:{type:[String,Array,Object]},theadTrClass:{type:[String,Array,Object]}},methods:{fieldClasses:function(t){return[t.class?t.class:"",t.thClass?t.thClass:""]},headClicked:function(t,e,i){this.stopIfBusy&&this.stopIfBusy(t)||$h(t)||Dh(this.$el)||(t.stopPropagation(),t.preventDefault(),this.$emit("head-clicked",e.key,e,t,i))},renderThead:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.$createElement,n=this.computedFields||[];if(this.isStackedAlways||0===n.length)return i();var a=this.isSortable,r=this.isSelectable,o=this.headVariant,l=this.footVariant,u=this.headRowVariant,c=this.footRowVariant,d=a||this.hasListener("head-clicked"),h=r?this.selectAllRows:or,f=r?this.clearSelected:or,p=function(n,r){var o=n.label,l=n.labelHtml,u=n.variant,c=n.stickyColumn,p=n.key,m=null;n.label.trim()||n.headerTitle||(m=ch(n.key));var v={};d&&(v.click=function(i){t.headClicked(i,n,e)},v.keydown=function(i){var a=i.keyCode;a!==_i.ENTER&&a!==_i.SPACE||t.headClicked(i,n,e)});var g=a?t.sortTheadThAttrs(p,n,e):{},b=a?t.sortTheadThClasses(p,n,e):null,S=a?t.sortTheadThLabel(p,n,e):null,T={class:[t.fieldClasses(n),b],props:{variant:u,stickyColumn:c},style:n.thStyle||{},attrs:s(s({tabindex:d?"0":null,abbr:n.headerAbbr||null,title:n.headerTitle||null,"aria-colindex":r+1,"aria-label":m},t.getThValues(null,p,n.thAttr,e?"foot":"head",{})),g),on:v,key:p},w=["head(".concat(p,")"),"head(".concat(p.toLowerCase(),")"),"head()"];e&&(w=["foot(".concat(p,")"),"foot(".concat(p.toLowerCase(),")"),"foot()"].concat(y(w)));var B={label:o,column:p,field:n,isFoot:e,selectAllRows:h,clearSelected:f},C=t.normalizeSlot(w,B)||i("div",{domProps:An(l,o)}),k=S?i("span",{staticClass:"sr-only"}," (".concat(S,")")):null;return i(Mh,T,[C,k].filter(mt))},m=n.map(p).filter(mt),v=[];if(e)v.push(i(Ah,{class:this.tfootTrClass,props:{variant:ot(c)?u:c}},m));else{var g={columns:n.length,fields:n,selectAllRows:h,clearSelected:f};v.push(this.normalizeSlot("thead-top",g)||i()),v.push(i(Ah,{class:this.theadTrClass,props:{variant:u}},m))}return i(e?Ih:_h,{key:e?"bv-tfoot":"bv-thead",class:(e?this.tfootClass:this.theadClass)||null,props:e?{footVariant:l||o||null}:{headVariant:o||null}},v)}}},Hh={props:{footClone:{type:Boolean,default:!1},footVariant:{type:String,default:function(){return Nt("BTable","footVariant")}},footRowVariant:{type:String},tfootClass:{type:[String,Array,Object]},tfootTrClass:{type:[String,Array,Object]}},methods:{renderTFootCustom:function(){var t=this.$createElement;return this.hasNormalizedSlot("custom-foot")?t(Ih,{key:"bv-tfoot-custom",class:this.tfootClass||null,props:{footVariant:this.footVariant||this.headVariant||null}},this.normalizeSlot("custom-foot",{items:this.computedItems.slice(),fields:this.computedFields.slice(),columns:this.computedFields.length})):t()},renderTfoot:function(){return this.footClone?this.renderThead(!0):this.renderTFootCustom()}}},zh={tbodyTransitionProps:{type:Object},tbodyTransitionHandlers:{type:Object}},jh=t.extend({name:"BTbody",mixins:[Oi,Ai,Ke],inheritAttrs:!1,provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},props:zh,computed:{isTbody:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},isTransitionGroup:function(){return this.tbodyTransitionProps||this.tbodyTransitionHandlers},tbodyAttrs:function(){return s({role:"rowgroup"},this.bvAttrs)},tbodyProps:function(){return this.tbodyTransitionProps?s(s({},this.tbodyTransitionProps),{},{tag:"tbody"}):{}}},render:function(t){var e={props:this.tbodyProps,attrs:this.tbodyAttrs};return this.isTransitionGroup?(e.on=this.tbodyTransitionHandlers||{},e.nativeOn=this.bvListeners):e.on=this.bvListeners,t(this.isTransitionGroup?"transition-group":"tbody",e,this.normalizeSlot("default"))}}),Gh={mixins:[{props:{tbodyTrClass:{type:[String,Array,Object,Function]},tbodyTrAttr:{type:[Object,Function]},detailsTdClass:{type:[String,Array,Object]}},methods:{getTdValues:function(t,e,i,n){var a=this.$parent;if(i){var r=bt(t,e,"");return st(i)?i(r,e,t):ut(i)&&st(a[i])?a[i](r,e,t):i}return n},getThValues:function(t,e,i,n,a){var r=this.$parent;if(i){var o=bt(t,e,"");return st(i)?i(o,e,t,n):ut(i)&&st(r[i])?r[i](o,e,t,n):i}return a},getFormattedValue:function(t,e){var i=e.key,n=this.getFieldFormatter(i),a=bt(t,i,null);return st(n)&&(a=n(a,i,t)),ot(a)?"":a},toggleDetailsFactory:function(t,e){var i=this;return function(){t&&i.$set(e,"_showDetails",!e._showDetails)}},rowHovered:function(t){this.tbodyRowEvtStopped(t)||this.emitTbodyRowEvent("row-hovered",t)},rowUnhovered:function(t){this.tbodyRowEvtStopped(t)||this.emitTbodyRowEvent("row-unhovered",t)},renderTbodyRowCell:function(t,e,i,n){var a=this,r=this.$createElement,o=this.hasNormalizedSlot("row-details"),l=this.getFormattedValue(i,t),u=t.key,c=!this.isStacked&&(this.isResponsive||this.stickyHeader)&&t.stickyColumn,d=c?t.isRowHeader?Mh:Lh:t.isRowHeader?"th":"td",h=i._cellVariants&&i._cellVariants[u]?i._cellVariants[u]:t.variant||null,f={key:"row-".concat(n,"-cell-").concat(e,"-").concat(u),class:[t.class?t.class:"",this.getTdValues(i,u,t.tdClass,"")],props:{},attrs:s({"aria-colindex":String(e+1)},t.isRowHeader?this.getThValues(i,u,t.thAttr,"row",{}):this.getTdValues(i,u,t.tdAttr,{}))};c?f.props={stackedHeading:this.isStacked?t.label:null,stickyColumn:!0,variant:h}:(f.attrs["data-label"]=this.isStacked&&!ot(t.label)?Jt(t.label):null,f.attrs.role=t.isRowHeader?"rowheader":"cell",f.attrs.scope=t.isRowHeader?"row":null,h&&f.class.push("".concat(this.dark?"bg":"table","-").concat(h)));var p={item:i,index:n,field:t,unformatted:bt(i,u,""),value:l,toggleDetails:this.toggleDetailsFactory(o,i),detailsShowing:Boolean(i._showDetails)};this.supportsSelectableRows&&(p.rowSelected=this.isRowSelected(n),p.selectRow=function(){return a.selectRow(n)},p.unselectRow=function(){return a.unselectRow(n)});var m=this.$_bodyFieldSlotNameCache[u],v=m?this.normalizeSlot(m,p):Jt(l);return this.isStacked&&(v=[r("div",[v])]),r(d,f,[v])},renderTbodyRow:function(t,e){var i=this,n=this.$createElement,a=this.computedFields,r=this.striped,o=this.hasNormalizedSlot("row-details"),l=t._showDetails&&o,u=this.$listeners["row-clicked"]||this.hasSelectableRowClick,c=[],d=l?this.safeId("_details_".concat(e,"_")):null,h=a.map((function(n,a){return i.renderTbodyRowCell(n,a,t,e)})),f=null;this.currentPage&&this.perPage&&this.perPage>0&&(f=String((this.currentPage-1)*this.perPage+e+1));var p=this.primaryKey,m=Jt(bt(t,p))||null,v=m||Jt(e),g=m?this.safeId("_row_".concat(m)):null,b=this.selectableRowClasses?this.selectableRowClasses(e):{},y=this.selectableRowAttrs?this.selectableRowAttrs(e):{},S=st(this.tbodyTrClass)?this.tbodyTrClass(t,"row"):this.tbodyTrClass,T=st(this.tbodyTrAttr)?this.tbodyTrAttr(t,"row"):this.tbodyTrAttr;if(c.push(n(Ah,{key:"__b-table-row-".concat(v,"__"),ref:"itemRows",refInFor:!0,class:[S,b,l?"b-table-has-details":""],props:{variant:t._rowVariant||null},attrs:s(s({id:g},T),{},{tabindex:u?"0":null,"data-pk":m||null,"aria-details":d,"aria-owns":d,"aria-rowindex":f},y),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered}},h)),l){var w={item:t,index:e,fields:a,toggleDetails:this.toggleDetailsFactory(o,t)};this.supportsSelectableRows&&(w.rowSelected=this.isRowSelected(e),w.selectRow=function(){return i.selectRow(e)},w.unselectRow=function(){return i.unselectRow(e)});var B=n(Lh,{props:{colspan:a.length},class:this.detailsTdClass},[this.normalizeSlot("row-details",w)]);r&&c.push(n("tr",{key:"__b-table-details-stripe__".concat(v),staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"}}));var C=st(this.tbodyTrClass)?this.tbodyTrClass(t,"row-details"):this.tbodyTrClass,k=st(this.tbodyTrAttr)?this.tbodyTrAttr(t,"row-details"):this.tbodyTrAttr;c.push(n(Ah,{key:"__b-table-details__".concat(v),staticClass:"b-table-details",class:[C],props:{variant:t._rowVariant||null},attrs:s(s({},k),{},{id:d,tabindex:"-1"})},[B]))}else o&&(c.push(n()),r&&c.push(n()));return c}}}],props:s(s({},zh),{},{tbodyClass:{type:[String,Array,Object]}}),beforeDestroy:function(){this.$_bodyFieldSlotNameCache=null},methods:{getTbodyTrs:function(){var t=this.$refs||{},e=t.tbody?t.tbody.$el||t.tbody:null,i=(t.itemRows||[]).map((function(t){return t.$el||t}));return e&&e.children&&e.children.length>0&&i&&i.length>0?C(e.children).filter((function(t){return x(i,t)})):[]},getTbodyTrIndex:function(t){if(!ue(t))return-1;var e="TR"===t.tagName?t:ye("tr",t,!0);return e?this.getTbodyTrs().indexOf(e):-1},emitTbodyRowEvent:function(t,e){if(t&&this.hasListener(t)&&e&&e.target){var i=this.getTbodyTrIndex(e.target);if(i>-1){var n=this.computedItems[i];this.$emit(t,n,i,e)}}},tbodyRowEvtStopped:function(t){return this.stopIfBusy&&this.stopIfBusy(t)},onTbodyRowKeydown:function(t){var e=t.target;if(!this.tbodyRowEvtStopped(t)&&"TR"===e.tagName&&he(e)&&0===e.tabIndex){var i=t.keyCode;if(x([_i.ENTER,_i.SPACE],i))t.stopPropagation(),t.preventDefault(),this.onTBodyRowClicked(t);else if(x([_i.UP,_i.DOWN,_i.HOME,_i.END],i)){var n=this.getTbodyTrIndex(e);if(n>-1){t.stopPropagation(),t.preventDefault();var a=this.getTbodyTrs(),r=t.shiftKey;i===_i.HOME||r&&i===_i.UP?Ee(a[0]):i===_i.END||r&&i===_i.DOWN?Ee(a[a.length-1]):i===_i.UP&&n>0?Ee(a[n-1]):i===_i.DOWN&&n0&&this.selectedRows.some(mt)},selectableIsMultiSelect:function(){return this.isSelectable&&x(["range","multi"],this.selectMode)},selectableTableClasses:function(){var t;return r(t={"b-table-selectable":this.isSelectable},"b-table-select-".concat(this.selectMode),this.isSelectable),r(t,"b-table-selecting",this.selectableHasSelection),r(t,"b-table-selectable-no-click",this.isSelectable&&!this.hasSelectableRowClick),t},selectableTableAttrs:function(){return{"aria-multiselectable":this.isSelectable?this.selectableIsMultiSelect?"true":"false":null}}},watch:{computedItems:function(t,e){var i=!1;if(this.isSelectable&&this.selectedRows.length>0){i=k(t)&&k(e)&&t.length===e.length;for(var n=0;i&&n=0&&t0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?ld(t).map((function(){return!0})):[!0])},isRowSelected:function(t){return!(!ct(t)||!this.selectedRows[t])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(t){if(this.isSelectable&&this.isRowSelected(t)){var e=this.selectedVariant;return r({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(e),e)}return{}},selectableRowAttrs:function(t){return{"aria-selected":this.isSelectable?this.isRowSelected(t)?"true":"false":null}},setSelectionHandlers:function(t){var e=t&&!this.noSelectOnClick?"$on":"$off";this[e]("row-clicked",this.selectionHandler),this[e]("filtered",this.clearSelected),this[e]("context-changed",this.clearSelected)},selectionHandler:function(t,e,i){if(this.isSelectable&&!this.noSelectOnClick){var n=this.selectMode,a=this.selectedRows.slice(),r=!a[e];if("single"===n)a=[];else if("range"===n)if(this.selectedLastRow>-1&&i.shiftKey){for(var o=ni(this.selectedLastRow,e);o<=ai(this.selectedLastRow,e);o++)a[o]=!0;r=!0}else i.ctrlKey||i.metaKey||(a=[],r=!0),this.selectedLastRow=r?e:-1;a[e]=r,this.selectedRows=a}else this.clearSelected()}}},Xh={mixins:[kr],props:{items:{type:[Array,Function],default:function(){return[]}},noProviderPaging:{type:Boolean,default:!1},noProviderSorting:{type:Boolean,default:!1},noProviderFiltering:{type:Boolean,default:!1},apiUrl:{type:String,default:""}},computed:{hasProvider:function(){return st(this.items)},providerTriggerContext:function(){var t={apiUrl:this.apiUrl,filter:null,sortBy:null,sortDesc:null,perPage:null,currentPage:null};return this.noProviderFiltering||(t.filter=this.localFilter),this.noProviderSorting||(t.sortBy=this.localSortBy,t.sortDesc=this.localSortDesc),this.noProviderPaging||(t.perPage=this.perPage,t.currentPage=this.currentPage),L(t)}},watch:{items:function(t){(this.hasProvider||st(t))&&this.$nextTick(this._providerUpdate)},providerTriggerContext:function(t,e){qn(t,e)||this.$nextTick(this._providerUpdate)}},mounted:function(){var t=this;!this.hasProvider||this.localItems&&0!==this.localItems.length||this._providerUpdate(),this.listenOnRoot("bv::refresh::table",(function(e){e!==t.id&&e!==t||t.refresh()}))},methods:{refresh:function(){this.$off("refreshed",this.refresh),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on("refreshed",this.refresh):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=k(this.items)?this.items.slice():[])},_providerSetLocal:function(t){this.localItems=k(t)?t.slice():[],this.localBusy=!1,this.$emit("refreshed"),this.id&&this.emitOnRoot("bv::table::refreshed",this.id)},_providerUpdate:function(){var t=this;this.hasProvider&&(this.computedBusy?this.$nextTick(this.refresh):(this.localBusy=!0,this.$nextTick((function(){try{var e=t.items(t.context,t._providerSetLocal);!ot(i=e)&&st(i.then)&&st(i.catch)?e.then((function(e){t._providerSetLocal(e)})):k(e)?t._providerSetLocal(e):2!==t.items.length&&(yt("Provider function didn't request callback and did not return a promise or data.","BTable"),t.localBusy=!1)}catch(e){yt("Provider function error [".concat(e.name,"] ").concat(e.message,"."),"BTable"),t.localBusy=!1,t.$off("refreshed",t.refresh)}var i}))))}}},Zh={inheritAttrs:!1,mixins:[Oi],provide:function(){return{bvTable:this}},props:{striped:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},hover:{type:Boolean,default:!1},small:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},responsive:{type:[Boolean,String],default:!1},stickyHeader:{type:[Boolean,String],default:!1},noBorderCollapse:{type:Boolean,default:!1},captionTop:{type:Boolean,default:!1},tableVariant:{type:String},tableClass:{type:[String,Array,Object]}},computed:{isResponsive:function(){var t=""===this.responsive||this.responsive;return!this.isStacked&&t},isStickyHeader:function(){var t=""===this.stickyHeader||this.stickyHeader;return!this.isStacked&&t},wrapperClasses:function(){return[this.isStickyHeader?"b-table-sticky-header":"",!0===this.isResponsive?"table-responsive":this.isResponsive?"table-responsive-".concat(this.responsive):""].filter(mt)},wrapperStyles:function(){return this.isStickyHeader&&!lt(this.isStickyHeader)?{maxHeight:this.isStickyHeader}:{}},tableClasses:function(){var t=this.isTableSimple?this.hover:this.hover&&this.computedItems.length>0&&!this.computedBusy;return[this.tableClass,{"table-striped":this.striped,"table-hover":t,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},this.tableVariant?"".concat(this.dark?"bg":"table","-").concat(this.tableVariant):"",this.stackedTableClasses,this.selectableTableClasses]},tableAttrs:function(){var t=[(this.bvAttrs||{})["aria-describedby"],this.captionId].filter(mt).join(" ")||null,e=this.computedItems,i=this.filteredItems,n=this.computedFields,a=this.selectableTableAttrs||{},r=this.isTableSimple?{}:{"aria-busy":this.computedBusy?"true":"false","aria-colcount":Jt(n.length),"aria-describedby":t};return s(s(s({"aria-rowcount":e&&i&&i.length>e.length?Jt(i.length):null},this.bvAttrs),{},{id:this.safeId(),role:"table"},r),a)}},render:function(t){var e=[];this.isTableSimple?e.push(this.normalizeSlot("default")):(e.push(this.renderCaption?this.renderCaption():null),e.push(this.renderColgroup?this.renderColgroup():null),e.push(this.renderThead?this.renderThead():null),e.push(this.renderTbody?this.renderTbody():null),e.push(this.renderTfoot?this.renderTfoot():null));var i=t("table",{key:"b-table",staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs},e.filter(mt));return this.wrapperClasses.length>0?t("div",{key:"wrap",class:this.wrapperClasses,style:this.wrapperStyles},[i]):i}},Jh=t.extend({name:"BTable",mixins:[Oi,oh,ma,Ke,ph,Zh,mh,Rh,Hh,Gh,mh,Sh,wh,Bh,Ch,kh,Kh,Wh,Uh,Yh,qh,Xh]}),Qh=t.extend({name:"BTableLite",mixins:[oh,ma,Ke,ph,Zh,mh,Rh,Hh,Gh,Ch,kh]}),tf=t.extend({name:"BTableSimple",mixins:[ma,Ke,Zh,mh],computed:{isTableSimple:function(){return!0}}}),ef=Dt({components:{BTable:Jh},plugins:{TableLitePlugin:Dt({components:{BTableLite:Qh}}),TableSimplePlugin:Dt({components:{BTableSimple:tf,BTbody:jh,BThead:_h,BTfoot:Ih,BTr:Ah,BTd:Lh,BTh:Mh}})}}),nf=R(Rc,["tabs","isNavBar","cardHeader"]),af=function(t){return!t.disabled},rf=t.extend({name:"BTabButtonHelper",inject:{bvTabs:{default:function(){return{}}}},props:{tab:{default:null},tabs:{type:Array,default:function(){return[]}},id:{type:String,default:null},controls:{type:String,default:null},tabIndex:{type:Number,default:null},posInSet:{type:Number,default:null},setSize:{type:Number,default:null},noKeyNav:{type:Boolean,default:!1}},methods:{focus:function(){Ee(this.$refs.link)},handleEvt:function(t){var e=function(){t.preventDefault(),t.stopPropagation()};if(!this.tab.disabled){var i=t.type,n=t.keyCode,a=t.shiftKey;"click"===i||"keydown"===i&&n===_i.SPACE?(e(),this.$emit("click",t)):"keydown"!==i||this.noKeyNav||(n===_i.UP||n===_i.LEFT||n===_i.HOME?(e(),a||n===_i.HOME?this.$emit("first",t):this.$emit("prev",t)):n!==_i.DOWN&&n!==_i.RIGHT&&n!==_i.END||(e(),a||n===_i.END?this.$emit("last",t):this.$emit("next",t)))}}},render:function(t){var e=t(Li,{ref:"link",staticClass:"nav-link",class:[{active:this.tab.localActive&&!this.tab.disabled,disabled:this.tab.disabled},this.tab.titleLinkClass,this.tab.localActive?this.bvTabs.activeNavItemClass:null],props:{disabled:this.tab.disabled},attrs:s(s({},this.tab.titleLinkAttributes),{},{role:"tab",id:this.id,tabindex:this.tabIndex,"aria-selected":this.tab.localActive&&!this.tab.disabled?"true":"false","aria-setsize":this.setSize,"aria-posinset":this.posInSet,"aria-controls":this.controls}),on:{click:this.handleEvt,keydown:this.handleEvt}},[this.tab.normalizeSlot("title")||this.tab.title]);return t("li",{staticClass:"nav-item",class:[this.tab.titleItemClass],attrs:{role:"presentation"}},[e])}}),of=Dt({components:{BTabs:t.extend({name:"BTabs",mixins:[ma,Ke],provide:function(){return{bvTabs:this}},model:{prop:"value",event:"input"},props:s(s({},nf),{},{tag:{type:String,default:"div"},card:{type:Boolean,default:!1},end:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noNavStyle:{type:Boolean,default:!1},noKeyNav:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object]},navClass:{type:[String,Array,Object]},navWrapperClass:{type:[String,Array,Object]},activeNavItemClass:{type:[String,Array,Object]},activeTabClass:{type:[String,Array,Object]},value:{type:Number,default:null}}),data:function(){return{currentTab:Ht(this.value,-1),tabs:[],registeredTabs:[],isMounted:!1}},computed:{fade:function(){return!this.noFade},localNavClass:function(){var t=[];return this.card&&this.vertical&&t.push("card-header","h-100","border-bottom-0","rounded-0"),[].concat(t,[this.navClass])}},watch:{currentTab:function(t){var e=-1;this.tabs.forEach((function(i,n){t!==n||i.disabled?i.localActive=!1:(i.localActive=!0,e=n)})),this.$emit("input",e)},value:function(t,e){if(t!==e){t=Ht(t,-1),e=Ht(e,0);var i=this.tabs;i[t]&&!i[t].disabled?this.activateTab(i[t]):t0){var i=t.map((function(t){return"#".concat(t.safeId())})).join(", ");e=ve(i,this.$el).map((function(t){return t.id})).filter(mt)}return Th(t,(function(t,i){return e.indexOf(t.safeId())-e.indexOf(i.safeId())}))},updateTabs:function(){var t=this.getTabs(),e=t.indexOf(t.slice().reverse().find((function(t){return t.localActive&&!t.disabled})));if(e<0){var i=this.currentTab;i>=t.length?e=t.indexOf(t.slice().reverse().find(af)):t[i]&&!t[i].disabled&&(e=i)}e<0&&(e=t.indexOf(t.find(af))),t.forEach((function(t){t.localActive=!1})),t[e]&&(t[e].localActive=!0),this.tabs=t,this.currentTab=e},getButtonForTab:function(t){return(this.$refs.buttons||[]).find((function(e){return e.tab===t}))},updateButton:function(t){var e=this.getButtonForTab(t);e&&e.$forceUpdate&&e.$forceUpdate()},activateTab:function(t){var e=!1;if(t){var i=this.tabs.indexOf(t);if(!t.disabled&&i>-1&&i!==this.currentTab){var n=new BvEvent("activate-tab",{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(n.type,i,this.currentTab,n),n.defaultPrevented||(e=!0,this.currentTab=i)}}return e||this.currentTab===this.value||this.$emit("input",this.currentTab),e},deactivateTab:function(t){return!!t&&this.activateTab(this.tabs.filter((function(e){return e!==t})).find(af))},focusButton:function(t){var e=this;this.$nextTick((function(){Ee(e.getButtonForTab(t))}))},emitTabClick:function(t,e){ht(e)&&t&&t.$emit&&!t.disabled&&t.$emit("click",e)},clickTab:function(t,e){this.activateTab(t),this.emitTabClick(t,e)},firstTab:function(t){var e=this.tabs.find(af);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))},previousTab:function(t){var e=ai(this.currentTab,0),i=this.tabs.slice(0,e).reverse().find(af);this.activateTab(i)&&t&&(this.focusButton(i),this.emitTabClick(i,t))},nextTab:function(t){var e=ai(this.currentTab,-1),i=this.tabs.slice(e+1).find(af);this.activateTab(i)&&t&&(this.focusButton(i),this.emitTabClick(i,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(af);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))}},render:function(t){var e=this,i=this.tabs,n=i.find((function(t){return t.localActive&&!t.disabled})),a=i.find((function(t){return!t.disabled})),r=i.map((function(r,o){var s=null;return e.noKeyNav||(s=-1,(n===r||!n&&a===r)&&(s=null)),t(rf,{key:r._uid||o,ref:"buttons",refInFor:!0,props:{tab:r,tabs:i,id:r.controlledBy||(r.safeId?r.safeId("_BV_tab_button_"):null),controls:r.safeId?r.safeId():null,tabIndex:s,setSize:i.length,posInSet:o+1,noKeyNav:e.noKeyNav},on:{click:function(t){e.clickTab(r,t)},first:e.firstTab,prev:e.previousTab,next:e.nextTab,last:e.lastTab}})})),o=t(Hc,{ref:"nav",class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:this.fill,justified:this.justified,align:this.align,tabs:!this.noNavStyle&&!this.pills,pills:!this.noNavStyle&&this.pills,vertical:this.vertical,small:this.small,cardHeader:this.card&&!this.vertical}},[this.normalizeSlot("tabs-start")||t(),r,this.normalizeSlot("tabs-end")||t()]);o=t("div",{key:"bv-tabs-nav",class:[{"card-header":this.card&&!this.vertical&&!this.end,"card-footer":this.card&&!this.vertical&&this.end,"col-auto":this.vertical},this.navWrapperClass]},[o]);var s=t();i&&0!==i.length||(s=t("div",{key:"bv-empty-tab",class:["tab-pane","active",{"card-body":this.card}]},this.normalizeSlot("empty")));var l=t("div",{ref:"tabsContainer",key:"bv-tabs-container",staticClass:"tab-content",class:[{col:this.vertical},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")}},$(this.normalizeSlot("default"),s));return t(this.tag,{staticClass:"tabs",class:{row:this.vertical,"no-gutters":this.vertical&&this.card},attrs:{id:this.safeId()}},[this.end?l:t(),[o],this.end?t():l])}}),BTab:t.extend({name:"BTab",mixins:[ma,Ke],inject:{bvTabs:{default:function(){return{}}}},props:{active:{type:Boolean,default:!1},tag:{type:String,default:"div"},buttonId:{type:String},title:{type:String,default:""},titleItemClass:{type:[String,Array,Object]},titleLinkClass:{type:[String,Array,Object]},titleLinkAttributes:{type:Object},disabled:{type:Boolean,default:!1},noBody:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1}},data:function(){return{localActive:this.active&&!this.disabled,show:!1}},computed:{tabClasses:function(){return[{active:this.localActive,disabled:this.disabled,"card-body":this.bvTabs.card&&!this.noBody},this.localActive?this.bvTabs.activeTabClass:null]},controlledBy:function(){return this.buttonId||this.safeId("__BV_tab_button__")},computedNoFade:function(){return!this.bvTabs.fade},computedLazy:function(){return this.bvTabs.lazy||this.lazy},_isTab:function(){return!0}},watch:{localActive:function(t){this.$emit("update:active",t)},active:function(t,e){t!==e&&(t?this.activate():this.deactivate()||this.$emit("update:active",this.localActive))},disabled:function(t,e){t!==e&&t&&this.localActive&&this.bvTabs.firstTab&&(this.localActive=!1,this.bvTabs.firstTab())}},mounted:function(){this.registerTab(),this.show=this.localActive},updated:function(){this.hasNormalizedSlot("title")&&this.bvTabs.updateButton&&this.bvTabs.updateButton(this)},destroyed:function(){this.unregisterTab()},methods:{registerTab:function(){this.bvTabs.registerTab&&this.bvTabs.registerTab(this)},unregisterTab:function(){this.bvTabs.unregisterTab&&this.bvTabs.unregisterTab(this)},activate:function(){return!(!this.bvTabs.activateTab||this.disabled)&&this.bvTabs.activateTab(this)},deactivate:function(){return!(!this.bvTabs.deactivateTab||!this.localActive)&&this.bvTabs.deactivateTab(this)}},render:function(t){var e=t(this.tag,{ref:"panel",staticClass:"tab-pane",class:this.tabClasses,directives:[{name:"show",rawName:"v-show",value:this.localActive,expression:"localActive"}],attrs:{role:"tabpanel",id:this.safeId(),"aria-hidden":this.localActive?"false":"true","aria-labelledby":this.controlledBy||null}},[this.localActive||!this.computedLazy?this.normalizeSlot("default"):t()]);return t(Ue,{props:{mode:"out-in",noFade:this.computedNoFade}},[e])}})}}),sf=Dt({components:{BTime:$u}});function lf(t){return(lf="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 uf(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e1&&void 0!==arguments[1]&&arguments[1],i=t.to,n=t.from;if(i&&(n||!1!==e)&&this.transports[i])if(e)this.transports[i]=[];else{var a=this.$_getTransportIndex(t);if(a>=0){var r=this.transports[i].slice(0);r.splice(a,1),this.transports[i]=r}}},registerTarget:function(t,e,i){cf&&(this.trackInstances&&!i&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,i){cf&&(this.trackInstances&&!i&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,i=t.from;for(var n in this.transports[e])if(this.transports[e][n].from===i)return+n;return-1}}}))(ff),gf=1,bf=t.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(gf++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){vf.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){vf.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};vf.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:uf(t),order:this.order};vf.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],i=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(i,[this.normalizeOwnChildren(e)]):this.slim?t():t(i,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),yf=t.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:vf.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){vf.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){vf.unregisterTarget(e),vf.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){vf.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,i){var n=i.passengers[0],a="function"==typeof n?n(e):i.passengers;return t.concat(a)}),[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),i=this.children(),n=this.transition||this.tag;return e?i[0]:this.slim&&!n?t():t(n,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},i)}}),Sf=0,Tf=["disabled","name","order","slim","slotProps","tag","to"],wf=["multiple","transition"],Bf=(t.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(Sf++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(vf.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=vf.targets[e.name];else{var i=e.append;if(i){var n="string"==typeof i?i:"DIV",a=document.createElement(n);t.appendChild(a),t=a}var r=df(this.$props,wf);r.slim=this.targetSlim,r.tag=this.targetTag,r.slotProps=this.targetSlotProps,r.name=this.to,this.portalTarget=new yf({el:t,parent:this.$parent||this,propsData:r})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=df(this.$props,Tf);return t(bf,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var i=this.$scopedSlots.manual({to:this.to});return Array.isArray(i)&&(i=i[0]),i||t()}}),{name:{type:String,required:!0},ariaLive:{type:String,default:function(){return Nt("BToaster","ariaLive")}},ariaAtomic:{type:String,default:function(){return Nt("BToaster","ariaAtomic")}},role:{type:String,default:function(){return Nt("BToaster","role")}}}),Cf=t.extend({data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(t){var e=this;se((function(){Be(t,"".concat(e.name,"-enter-to"))}))}},render:function(t){return t("transition-group",{props:{tag:"div",name:this.name},on:{afterEnter:this.onAfterEnter}},this.$slots.default)}}),kf=t.extend({name:"BToaster",props:Bf,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var t=this;this.staticName=this.name,vf.hasTarget(this.staticName)?(yt('A "" with name "'.concat(this.name,'" already exists in the document.'),"BToaster"),this.dead=!0):(this.doRender=!0,this.$once("hook:beforeDestroy",(function(){t.$root.$emit("bv::toaster::destroyed",t.staticName)})))},destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},render:function(t){var e=t("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var i=t(yf,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:Cf}});e=t("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[i])}return e}}),xf=M(Ni,["href","to"]),$f=s({id:{type:String},title:{type:String},toaster:{type:String,default:function(){return Nt("BToast","toaster")}},visible:{type:Boolean,default:!1},variant:{type:String,default:function(){return Nt("BToast","variant")}},isStatus:{type:Boolean,default:!1},appendToast:{type:Boolean,default:!1},noAutoHide:{type:Boolean,default:!1},autoHideDelay:{type:[Number,String],default:function(){return Nt("BToast","autoHideDelay")}},noCloseButton:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noHoverPause:{type:Boolean,default:!1},solid:{type:Boolean,default:!1},toastClass:{type:[String,Object,Array],default:function(){return Nt("BToast","toastClass")}},headerClass:{type:[String,Object,Array],default:function(){return Nt("BToast","headerClass")}},bodyClass:{type:[String,Object,Array],default:function(){return Nt("BToast","bodyClass")}},static:{type:Boolean,default:!1}},xf),Df=t.extend({name:"BToast",mixins:[Oi,ma,kr,Ke,yc],inheritAttrs:!1,model:{prop:"visible",event:"change"},props:$f,data:function(){return{isMounted:!1,doRender:!1,localShow:!1,isTransitioning:!1,isHiding:!1,order:0,timer:null,dismissStarted:0,resumeDismiss:0}},computed:{bToastClasses:function(){return r({"b-toast-solid":this.solid,"b-toast-append":this.appendToast,"b-toast-prepend":!this.appendToast},"b-toast-".concat(this.variant),this.variant)},slotScope:function(){return{hide:this.hide}},computedDuration:function(){return ai(Ht(this.autoHideDelay,0),1e3)},computedToaster:function(){return String(this.toaster)},transitionHandlers:function(){return{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,afterLeave:this.onAfterLeave}},computedAttrs:function(){return s(s({},this.bvAttrs),{},{id:this.safeId(),tabindex:"0"})}},watch:{visible:function(t){t?this.show():this.hide()},localShow:function(t){t!==this.visible&&this.$emit("change",t)},toaster:function(){this.$nextTick(this.ensureToaster)},static:function(t){t&&this.localShow&&this.ensureToaster()}},mounted:function(){var t=this;this.isMounted=!0,this.$nextTick((function(){t.visible&&se((function(){t.show()}))})),this.listenOnRoot("bv::show::toast",(function(e){e===t.safeId()&&t.show()})),this.listenOnRoot("bv::hide::toast",(function(e){e&&e!==t.safeId()||t.hide()})),this.listenOnRoot("bv::toaster::destroyed",(function(e){e===t.computedToaster&&t.hide()}))},beforeDestroy:function(){this.clearDismissTimer()},methods:{show:function(){var t=this;if(!this.localShow){this.ensureToaster();var e=this.buildEvent("show");this.emitEvent(e),this.dismissStarted=this.resumeDismiss=0,this.order=Date.now()*(this.appendToast?1:-1),this.isHiding=!1,this.doRender=!0,this.$nextTick((function(){se((function(){t.localShow=!0}))}))}},hide:function(){var t=this;if(this.localShow){var e=this.buildEvent("hide");this.emitEvent(e),this.setHoverHandler(!1),this.dismissStarted=this.resumeDismiss=0,this.clearDismissTimer(),this.isHiding=!0,se((function(){t.localShow=!1}))}},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new BvEvent(t,s(s({cancelable:!1,target:this.$el||null,relatedTarget:null},e),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(t){var e=t.type;this.emitOnRoot("bv::toast:".concat(e),t),this.$emit(e,t)},ensureToaster:function(){if(!this.static&&!vf.hasTarget(this.computedToaster)){var t=document.createElement("div");document.body.appendChild(t),new kf({parent:this.$root,propsData:{name:this.computedToaster}}).$mount(t)}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.timer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.timer),this.timer=null},setHoverHandler:function(t){var e=this.$refs["b-toast"];fr(t,e,"mouseenter",this.onPause,ur),fr(t,e,"mouseleave",this.onUnPause,ur)},onPause:function(){if(!this.noAutoHide&&!this.noHoverPause&&this.timer&&!this.resumeDismiss){var t=Date.now()-this.dismissStarted;t>0&&(this.clearDismissTimer(),this.resumeDismiss=ai(this.computedDuration-t,1e3))}},onUnPause:function(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var t=this;this.$nextTick((function(){se((function(){t.hide()}))}))},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var t=this.buildEvent("shown");this.emitEvent(t),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var t=this.buildEvent("hidden");this.emitEvent(t),this.doRender=!1},makeToast:function(t){var e=this,i=[],n=this.normalizeSlot("toast-title",this.slotScope);n?i.push(n):this.title&&i.push(t("strong",{staticClass:"mr-2"},this.title)),this.noCloseButton||i.push(t(Je,{staticClass:"ml-auto mb-1",on:{click:function(){e.hide()}}}));var a=t();i.length>0&&(a=t("header",{staticClass:"toast-header",class:this.headerClass},i));var r=$i(this),o=t(r?Li:"div",{staticClass:"toast-body",class:this.bodyClass,props:r?gi(xf,this):{},on:r?{click:this.onLinkClick}:{}},[this.normalizeSlot("default",this.slotScope)||t()]);return t("div",{key:"toast-".concat(this._uid),ref:"toast",staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs},[a,o])}},render:function(t){if(!this.doRender||!this.isMounted)return t();var e="b-toast-".concat(this._uid),i=this.static?{}:this.scopedStyleAttrs;return t(bf,{props:{name:e,to:this.computedToaster,order:this.order,slim:!0,disabled:this.static}},[t("div",{key:e,ref:"b-toast",staticClass:"b-toast",class:this.bToastClasses,attrs:s(s({},i),{},{id:this.safeId("_toast_outer"),role:this.isHiding?null:this.isStatus?"status":"alert","aria-live":this.isHiding?null:this.isStatus?"polite":"assertive","aria-atomic":this.isHiding?null:"true"})},[t(Ue,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(t):t()])])])}}),Pf=["id"].concat(y(A(R($f,["static","visible"])))),_f={toastContent:"default",title:"toast-title"},Ff=function(t){return Pf.reduce((function(e,i){return at(t[i])||(e[i]=t[i]),e}),{})},If=Dt({components:{BToast:Df,BToaster:kf},plugins:{BVToastPlugin:Dt({plugins:{plugin:function(t){var e=t.extend({name:"BToastPop",extends:Df,destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mounted:function(){var t=this,e=function(){t.localShow=!1,t.doRender=!1,t.$nextTick((function(){t.$nextTick((function(){se((function(){t.$destroy()}))}))}))};this.$parent.$once("hook:destroyed",e),this.$once("hidden",e),this.listenOnRoot("bv::toaster::destroyed",(function(i){i===t.toaster&&e()}))}}),n=function(t,i){if(!St("$bvToast")){var n=new e({parent:i,propsData:s(s(s({},Ff(Nt("BToast")||{})),R(t,A(_f))),{},{static:!1,visible:!0})});A(_f).forEach((function(e){var a=t[e];at(a)||("title"===e&&ut(a)&&(a=[i.$createElement("strong",{class:"mr-2"},a)]),n.$slots[_f[e]]=$(a))}));var a=document.createElement("div");document.body.appendChild(a),n.$mount(a)}},r=function(){function t(e){i(this,t),D(this,{_vm:e,_root:e.$root}),_(this,{_vm:{enumerable:!0,configurable:!1,writable:!1},_root:{enumerable:!0,configurable:!1,writable:!1}})}return a(t,[{key:"toast",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t&&!St("$bvToast")&&n(s(s({},Ff(e)),{},{toastContent:t}),this._vm)}},{key:"show",value:function(t){t&&this._root.$emit("bv::show::toast",t)}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit("bv::hide::toast",t)}}]),t}();t.mixin({beforeCreate:function(){this._bv__toast=new r(this)}}),E(t.prototype,"$bvToast")||F(t.prototype,"$bvToast",{get:function(){return this&&this._bv__toast||yt('"'.concat("$bvToast",'" must be accessed from a Vue instance "this" context.'),"BToast"),this._bv__toast}})}}})}}),Of="__BV_Tooltip__",Af={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},Ef=/^html$/i,Vf=/^noninteractive$/i,Nf=/^nofade$/i,Lf=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,Mf=/^(window|viewport|scrollParent)$/i,Rf=/^d\d+$/i,Hf=/^ds\d+$/i,zf=/^dh\d+$/i,jf=/^o-?\d+$/i,Gf=/^v-.+$/i,Wf=/\s+/,Uf=function(t,e,i){if(U){var n=function(t,e){var i="BTooltip",n={title:void 0,trigger:"",placement:"top",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,id:null,html:!1,interactive:!0,disabled:!1,delay:Nt(i,"delay"),boundary:String(Nt(i,"boundary")),boundaryPadding:Ht(Nt(i,"boundaryPadding"),0),variant:Nt(i,"variant"),customClass:Nt(i,"customClass")};if(ut(t.value)||ct(t.value)||st(t.value)?n.title=t.value:N(t.value)&&(n=s(s({},n),t.value)),at(n.title)){var a=e.data||{};n.title=a.attrs&&!ot(a.attrs.title)?a.attrs.title:void 0}N(n.delay)||(n.delay={show:Ht(n.delay,0),hide:Ht(n.delay,0)}),t.arg&&(n.container="#".concat(t.arg)),A(t.modifiers).forEach((function(t){if(Ef.test(t))n.html=!0;else if(Vf.test(t))n.interactive=!1;else if(Nf.test(t))n.animation=!1;else if(Lf.test(t))n.placement=t;else if(Mf.test(t))t="scrollparent"===t?"scrollParent":t,n.boundary=t;else if(Rf.test(t)){var e=Ht(t.slice(1),0);n.delay.show=e,n.delay.hide=e}else Hf.test(t)?n.delay.show=Ht(t.slice(2),0):zf.test(t)?n.delay.hide=Ht(t.slice(2),0):jf.test(t)?n.offset=Ht(t.slice(1),0):Gf.test(t)&&(n.variant=t.slice(2)||null)}));var r={};return $(n.trigger||"").filter(mt).join(" ").trim().toLowerCase().split(Wf).forEach((function(t){Af[t]&&(r[t]=!0)})),A(t.modifiers).forEach((function(t){t=t.toLowerCase(),Af[t]&&(r[t]=!0)})),n.trigger=A(r).join(" "),"blur"===n.trigger&&(n.trigger="focus"),n.trigger||(n.trigger="hover focus"),n}(e,i);if(!t[Of]){var a=i.context;t[Of]=new Dd({parent:a,_scopeId:bc(a,void 0)}),t[Of].__bv_prev_data__={},t[Of].$on("show",(function(){st(n.title)&&t[Of].updateData({title:n.title(t)})}))}var r={title:n.title,triggers:n.trigger,placement:n.placement,fallbackPlacement:n.fallbackPlacement,variant:n.variant,customClass:n.customClass,container:n.container,boundary:n.boundary,delay:n.delay,offset:n.offset,noFade:!n.animation,id:n.id,interactive:n.interactive,disabled:n.disabled,html:n.html},o=t[Of].__bv_prev_data__;if(t[Of].__bv_prev_data__=r,!qn(r,o)){var l={target:t};A(r).forEach((function(e){r[e]!==o[e]&&(l[e]="title"===e&&st(r[e])?r[e](t):r[e])})),t[Of].updateData(l)}}},Yf=Dt({directives:{VBTooltip:{bind:function(t,e,i){Uf(t,e,i)},componentUpdated:function(t,e,i){i.context.$nextTick((function(){Uf(t,e,i)}))},unbind:function(t){!function(t){t[Of]&&(t[Of].$destroy(),t[Of]=null),delete t[Of]}(t)}}}}),qf=Dt({plugins:{AlertPlugin:ii,AspectPlugin:hi,AvatarPlugin:$n,BadgePlugin:Fn,BreadcrumbPlugin:Mn,ButtonPlugin:Rn,ButtonGroupPlugin:jn,ButtonToolbarPlugin:Un,CalendarPlugin:Da,CardPlugin:rr,CarouselPlugin:Tr,CollapsePlugin:qr,DropdownPlugin:Fs,EmbedPlugin:Os,FormPlugin:Gs,FormCheckboxPlugin:el,FormDatepickerPlugin:hl,FormFilePlugin:gl,FormGroupPlugin:Pl,FormInputPlugin:El,FormRadioPlugin:Nl,FormRatingPlugin:Ul,FormSelectPlugin:Jl,FormSpinbuttonPlugin:su,FormTagsPlugin:bu,FormTextareaPlugin:Su,FormTimepickerPlugin:Iu,ImagePlugin:Ou,InputGroupPlugin:Hu,JumbotronPlugin:Uu,LayoutPlugin:Ju,LinkPlugin:Qu,ListGroupPlugin:rc,MediaPlugin:dc,ModalPlugin:Mc,NavPlugin:Kc,NavbarPlugin:ad,OverlayPlugin:sd,PaginationPlugin:vd,PaginationNavPlugin:Sd,PopoverPlugin:Kd,ProgressPlugin:Zd,SidebarPlugin:ah,SpinnerPlugin:rh,TablePlugin:ef,TabsPlugin:of,TimePlugin:sf,ToastPlugin:If,TooltipPlugin:Dt({components:{BTooltip:_d},plugins:{VBTooltipPlugin:Yf}})}}),Kf=Dt({directives:{VBHover:rl}}),Xf=Dt({directives:{VBModal:Ac}}),Zf={element:"body",offset:10,method:"auto",throttle:75},Jf={element:"(string|element|component)",offset:"number",method:"string",throttle:"number"},Qf="dropdown-item",tp="active",ep={ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown, .dropup",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},ip="offset",np="position",ap=/^.*(#[^#]+)$/,rp=["webkitTransitionEnd","transitionend","otransitionend","oTransitionEnd"],op=function(t){return function(t){return Object.prototype.toString.call(t)}(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()},sp=function(){function t(e,n,a){i(this,t),this.$el=e,this.$scroller=null,this.$selector=[ep.NAV_LINKS,ep.LIST_ITEMS,ep.DROPDOWN_ITEMS].join(","),this.$offsets=[],this.$targets=[],this.$activeTarget=null,this.$scrollHeight=0,this.$resizeTimeout=null,this.$scrollerObserver=null,this.$targetsObserver=null,this.$root=a||null,this.$config=null,this.updateConfig(n)}return a(t,[{key:"updateConfig",value:function(t,e){this.$scroller&&(this.unlisten(),this.$scroller=null);var i=s(s({},this.constructor.Default),t);if(e&&(this.$root=e),function(t,e,i){for(var n in i)if(E(i,n)){var a=i[n],r=e[n],o=r&&ue(r)?"element":op(r);o=r&&r._isVue?"component":o,new RegExp(a).test(o)||yt("".concat(t,': Option "').concat(n,'" provided type "').concat(o,'" but expected type "').concat(a,'"'))}}(this.constructor.Name,i,this.constructor.DefaultType),this.$config=i,this.$root){var n=this;this.$root.$nextTick((function(){n.listen()}))}else this.listen()}},{key:"dispose",value:function(){this.unlisten(),clearTimeout(this.$resizeTimeout),this.$resizeTimeout=null,this.$el=null,this.$config=null,this.$scroller=null,this.$selector=null,this.$offsets=null,this.$targets=null,this.$activeTarget=null,this.$scrollHeight=null}},{key:"listen",value:function(){var t=this,e=this.getScroller();e&&"BODY"!==e.tagName&&dr(e,"scroll",this,ur),dr(window,"scroll",this,ur),dr(window,"resize",this,ur),dr(window,"orientationchange",this,ur),rp.forEach((function(e){dr(window,e,t,ur)})),this.setObservers(!0),this.handleEvent("refresh")}},{key:"unlisten",value:function(){var t=this,e=this.getScroller();this.setObservers(!1),e&&"BODY"!==e.tagName&&hr(e,"scroll",this,ur),hr(window,"scroll",this,ur),hr(window,"resize",this,ur),hr(window,"orientationchange",this,ur),rp.forEach((function(e){hr(window,e,t,ur)}))}},{key:"setObservers",value:function(t){var e=this;this.$scrollerObserver&&this.$scrollerObserver.disconnect(),this.$targetsObserver&&this.$targetsObserver.disconnect(),this.$scrollerObserver=null,this.$targetsObserver=null,t&&(this.$targetsObserver=sr(this.$el,(function(){e.handleEvent("mutation")}),{subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]}),this.$scrollerObserver=sr(this.getScroller(),(function(){e.handleEvent("mutation")}),{subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["id","style","class"]}))}},{key:"handleEvent",value:function(t){var e=ut(t)?t:t.type,i=this;"scroll"===e?(this.$scrollerObserver||this.listen(),this.process()):/(resize|orientationchange|mutation|refresh)/.test(e)&&(i.$resizeTimeout||(i.$resizeTimeout=setTimeout((function(){i.refresh(),i.process(),i.$resizeTimeout=null}),i.$config.throttle)))}},{key:"refresh",value:function(){var t=this,e=this.getScroller();if(e){var i=e!==e.window?np:ip,n="auto"===this.$config.method?i:this.$config.method,a=n===np?Oe:Ie,r=n===np?this.getScrollTop():0;return this.$offsets=[],this.$targets=[],this.$scrollHeight=this.getScrollHeight(),ve(this.$selector,this.$el).map((function(t){return $e(t,"href")})).filter((function(t){return t&&ap.test(t||"")})).map((function(t){var i=t.replace(ap,"$1").trim();if(!i)return null;var n=ge(i,e);return n&&fe(n)?{offset:Ht(a(n).top,0)+r,target:i}:null})).filter(Boolean).sort((function(t,e){return t.offset-e.offset})).reduce((function(e,i){return e[i.target]||(t.$offsets.push(i.offset),t.$targets.push(i.target),e[i.target]=!0),e}),{}),this}}},{key:"process",value:function(){var t=this.getScrollTop()+this.$config.offset,e=this.getScrollHeight(),i=this.$config.offset+e-this.getOffsetHeight();if(this.$scrollHeight!==e&&this.refresh(),t>=i){var n=this.$targets[this.$targets.length-1];this.$activeTarget!==n&&this.activate(n)}else{if(this.$activeTarget&&t0)return this.$activeTarget=null,void this.clear();for(var a=this.$offsets.length;a--;){this.$activeTarget!==this.$targets[a]&&t>=this.$offsets[a]&&(at(this.$offsets[a+1])||t0&&this.$root&&this.$root.$emit("bv::scrollspy::activate",t,i)}},{key:"clear",value:function(){var t=this;ve("".concat(this.$selector,", ").concat(ep.NAV_ITEMS),this.$el).filter((function(t){return Ce(t,tp)})).forEach((function(e){return t.setActiveState(e,!1)}))}},{key:"setActiveState",value:function(t,e){t&&(e?we(t,tp):Be(t,tp))}}],[{key:"Name",get:function(){return"v-b-scrollspy"}},{key:"Default",get:function(){return Zf}},{key:"DefaultType",get:function(){return Jf}}]),t}(),lp="__BV_ScrollSpy__",up=/^\d+$/,cp=/^(auto|position|offset)$/,dp=function(t,e,i){if(U){var n=function(t){var e={};return t.arg&&(e.element="#".concat(t.arg)),A(t.modifiers).forEach((function(t){up.test(t)?e.offset=Ht(t,0):cp.test(t)&&(e.method=t)})),ut(t.value)?e.element=t.value:ct(t.value)?e.offset=ui(t.value):V(t.value)&&A(t.value).filter((function(t){return!!sp.DefaultType[t]})).forEach((function(i){e[i]=t.value[i]})),e}(e);t[lp]?t[lp].updateConfig(n,i.context.$root):t[lp]=new sp(t,n,i.context.$root)}},hp=Dt({plugins:{VBHoverPlugin:Kf,VBModalPlugin:Xf,VBPopoverPlugin:qd,VBScrollspyPlugin:Dt({directives:{VBScrollspy:{bind:function(t,e,i){dp(t,e,i)},inserted:function(t,e,i){dp(t,e,i)},update:function(t,e,i){e.value!==e.oldValue&&dp(t,e,i)},componentUpdated:function(t,e,i){e.value!==e.oldValue&&dp(t,e,i)},unbind:function(t){!function(t){t[lp]&&(t[lp].dispose(),t[lp]=null,delete t[lp])}(t)}}}}),VBTogglePlugin:Yr,VBTooltipPlugin:Yf,VBVisiblePlugin:Dt({directives:{VBVisible:Xa}})}}),fp=(s({},Xi),{install:$t({plugins:{componentsPlugin:qf,directivesPlugin:hp}}),NAME:"BootstrapVue"});return hf=fp,H&&window.Vue&&window.Vue.use(hf),H&&hf.NAME&&(window[hf.NAME]=hf),fp})); -//# sourceMappingURL=bootstrap-vue.min.js.map \ No newline at end of file diff --git a/src/assets/javascripts/popper.min.js b/src/assets/javascripts/popper.min.js deleted file mode 100644 index 5b76a56..0000000 --- a/src/assets/javascripts/popper.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/** - * @popperjs/core v2.4.2 - MIT License - */ - -"use strict";!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Popper={})}(this,(function(e){function t(e){return{width:(e=e.getBoundingClientRect()).width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function n(e){return"[object Window]"!==e.toString()?(e=e.ownerDocument)?e.defaultView:window:e}function r(e){return{scrollLeft:(e=n(e)).pageXOffset,scrollTop:e.pageYOffset}}function o(e){return e instanceof n(e).Element||e instanceof Element}function i(e){return e instanceof n(e).HTMLElement||e instanceof HTMLElement}function a(e){return e?(e.nodeName||"").toLowerCase():null}function s(e){return(o(e)?e.ownerDocument:e.document).documentElement}function f(e){return t(s(e)).left+r(e).scrollLeft}function c(e){return n(e).getComputedStyle(e)}function p(e){return e=c(e),/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function l(e,o,c){void 0===c&&(c=!1);var l=s(o);e=t(e);var u=i(o),d={scrollLeft:0,scrollTop:0},m={x:0,y:0};return(u||!u&&!c)&&(("body"!==a(o)||p(l))&&(d=o!==n(o)&&i(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:r(o)),i(o)?((m=t(o)).x+=o.clientLeft,m.y+=o.clientTop):l&&(m.x=f(l))),{x:e.left+d.scrollLeft-m.x,y:e.top+d.scrollTop-m.y,width:e.width,height:e.height}}function u(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function d(e){return"html"===a(e)?e:e.assignedSlot||e.parentNode||e.host||s(e)}function m(e,t){void 0===t&&(t=[]);var r=function e(t){return 0<=["html","body","#document"].indexOf(a(t))?t.ownerDocument.body:i(t)&&p(t)?t:e(d(t))}(e);e="body"===a(r);var o=n(r);return r=e?[o].concat(o.visualViewport||[],p(r)?r:[]):r,t=t.concat(r),e?t:t.concat(m(d(r)))}function h(e){return i(e)&&"fixed"!==c(e).position?e.offsetParent:null}function g(e){for(var t=n(e),r=h(e);r&&0<=["table","td","th"].indexOf(a(r))&&"static"===c(r).position;)r=h(r);if(r&&"body"===a(r)&&"static"===c(r).position)return t;if(!r)e:{for(e=d(e);i(e)&&0>["html","body"].indexOf(a(e));){if("none"!==(r=c(e)).transform||"none"!==r.perspective||"auto"!==r.willChange){r=e;break e}e=e.parentNode}r=null}return r||t}function b(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){n.has(r)||(r=t.get(r))&&e(r)})),r.push(o)}(e)})),r}function v(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function y(e){return e.split("-")[0]}function O(){for(var e=arguments.length,t=Array(e),n=0;n(b.devicePixelRatio||1)?"translate("+e+"px, "+l+"px)":"translate3d("+e+"px, "+l+"px, 0)",d)):Object.assign(Object.assign({},r),{},((t={})[h]=a?l+"px":"",t[m]=u?e+"px":"",t.transform="",t))}function E(e){return e.replace(/left|right|bottom|top/g,(function(e){return U[e]}))}function D(e){return e.replace(/start|end/g,(function(e){return z[e]}))}function P(e,t){var n=!(!t.getRootNode||!t.getRootNode().host);if(e.contains(t))return!0;if(n)do{if(t&&e.isSameNode(t))return!0;t=t.parentNode||t.host}while(t);return!1}function k(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function L(e,o){if("viewport"===o){o=n(e);var a=s(e);o=o.visualViewport;var p=a.clientWidth;a=a.clientHeight;var l=0,u=0;o&&(p=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=o.offsetLeft,u=o.offsetTop)),e=k(e={width:p,height:a,x:l+f(e),y:u})}else i(o)?((e=t(o)).top+=o.clientTop,e.left+=o.clientLeft,e.bottom=e.top+o.clientHeight,e.right=e.left+o.clientWidth,e.width=o.clientWidth,e.height=o.clientHeight,e.x=e.left,e.y=e.top):(u=s(e),e=s(u),l=r(u),o=u.ownerDocument.body,p=Math.max(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Math.max(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-l.scrollLeft+f(u),l=-l.scrollTop,"rtl"===c(o||e).direction&&(u+=Math.max(e.clientWidth,o?o.clientWidth:0)-p),e=k({width:p,height:a,x:u,y:l}));return e}function B(e,t,n){return t="clippingParents"===t?function(e){var t=m(e),n=0<=["absolute","fixed"].indexOf(c(e).position)&&i(e)?g(e):e;return o(n)?t.filter((function(e){return o(e)&&P(e,n)})):[]}(e):[].concat(t),(n=(n=[].concat(t,[n])).reduce((function(t,n){return n=L(e,n),t.top=Math.max(n.top,t.top),t.right=Math.min(n.right,t.right),t.bottom=Math.min(n.bottom,t.bottom),t.left=Math.max(n.left,t.left),t}),L(e,n[0]))).width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}function W(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function A(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function H(e,n){void 0===n&&(n={});var r=n;n=void 0===(n=r.placement)?e.placement:n;var i=r.boundary,a=void 0===i?"clippingParents":i,f=void 0===(i=r.rootBoundary)?"viewport":i;i=void 0===(i=r.elementContext)?"popper":i;var c=r.altBoundary,p=void 0!==c&&c;r=W("number"!=typeof(r=void 0===(r=r.padding)?0:r)?r:A(r,q));var l=e.elements.reference;c=e.rects.popper,a=B(o(p=e.elements[p?"popper"===i?"reference":"popper":i])?p:p.contextElement||s(e.elements.popper),a,f),p=j({reference:f=t(l),element:c,strategy:"absolute",placement:n}),c=k(Object.assign(Object.assign({},c),p)),f="popper"===i?c:f;var u={top:a.top-f.top+r.top,bottom:f.bottom-a.bottom+r.bottom,left:a.left-f.left+r.left,right:f.right-a.right+r.right};if(e=e.modifiersData.offset,"popper"===i&&e){var d=e[n];Object.keys(u).forEach((function(e){var t=0<=["right","bottom"].indexOf(e)?1:-1,n=0<=["top","bottom"].indexOf(e)?"y":"x";u[e]+=d[n]*t}))}return u}function T(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function R(e){return["top","right","bottom","left"].some((function(t){return 0<=e[t]}))}var q=["top","bottom","right","left"],S=q.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),C=[].concat(q,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),N="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),V={placement:"bottom",modifiers:[],strategy:"absolute"},I={passive:!0},_={top:"auto",right:"auto",bottom:"auto",left:"auto"},U={left:"right",right:"left",bottom:"top",top:"bottom"},z={start:"end",end:"start"},F=[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,o=(e=e.options).scroll,i=void 0===o||o,a=void 0===(e=e.resize)||e,s=n(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach((function(e){e.addEventListener("scroll",r.update,I)})),a&&s.addEventListener("resize",r.update,I),function(){i&&f.forEach((function(e){e.removeEventListener("scroll",r.update,I)})),a&&s.removeEventListener("resize",r.update,I)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=j({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options;e=void 0===(e=n.gpuAcceleration)||e,n=void 0===(n=n.adaptive)||n,e={placement:y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:e},null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),M(Object.assign(Object.assign({},e),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:n})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),M(Object.assign(Object.assign({},e),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&a(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{};e=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{}),i(r)&&a(r)&&(Object.assign(r.style,e),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.name,r=void 0===(e=e.options.offset)?[0,0]:e,o=(e=C.reduce((function(e,n){var o=t.rects,i=y(n),a=0<=["left","top"].indexOf(i)?-1:1,s="function"==typeof r?r(Object.assign(Object.assign({},o),{},{placement:n})):r;return o=(o=s[0])||0,s=((s=s[1])||0)*a,i=0<=["left","right"].indexOf(i)?{x:s,y:o}:{x:o,y:s},e[n]=i,e}),{}))[t.placement],i=o.x;o=o.y,null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=i,t.modifiersData.popperOffsets.y+=o),t.modifiersData[n]=e}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options;if(e=e.name,!t.modifiersData[e]._skip){var r=n.mainAxis;r=void 0===r||r;var o=n.altAxis;o=void 0===o||o;var i=n.fallbackPlacements,a=n.padding,s=n.boundary,f=n.rootBoundary,c=n.altBoundary,p=n.flipVariations,l=void 0===p||p,u=n.allowedAutoPlacements;p=y(n=t.options.placement),i=i||(p!==n&&l?function(e){if("auto"===y(e))return[];var t=E(e);return[D(e),t,D(t)]}(n):[E(n)]);var d=[n].concat(i).reduce((function(e,n){return e.concat("auto"===y(n)?function(e,t){void 0===t&&(t={});var n=t.boundary,r=t.rootBoundary,o=t.padding,i=t.flipVariations,a=t.allowedAutoPlacements,s=void 0===a?C:a,f=t.placement.split("-")[1],c=(f?i?S:S.filter((function(e){return e.split("-")[1]===f})):q).filter((function(e){return 0<=s.indexOf(e)})).reduce((function(t,i){return t[i]=H(e,{placement:i,boundary:n,rootBoundary:r,padding:o})[y(i)],t}),{});return Object.keys(c).sort((function(e,t){return c[e]-c[t]}))}(t,{placement:n,boundary:s,rootBoundary:f,padding:a,flipVariations:l,allowedAutoPlacements:u}):n)}),[]);n=t.rects.reference,i=t.rects.popper;var m=new Map;p=!0;for(var h=d[0],g=0;gi[w]&&(O=E(O)),w=E(O),x=[],r&&x.push(0>=j[v]),o&&x.push(0>=j[O],0>=j[w]),x.every((function(e){return e}))){h=b,p=!1;break}m.set(b,x)}if(p)for(r=function(e){var t=d.find((function(t){if(t=m.get(t))return t.slice(0,e).every((function(e){return e}))}));if(t)return h=t,"break"},o=l?3:1;0