(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"+4Da":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"0dze":function(t,e,n){var i=n("XCkw")("keys"),r=n("aig0");t.exports=function(t){return i[t]||(i[t]=r(t))}},"1J+/":function(t,e,n){var i=n("+4Da"),r=n("zghF"),o=n("1k5C")(!1),a=n("0dze")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},"1k5C":function(t,e,n){var i=n("zghF"),r=n("FzTG"),o=n("2WkB");t.exports=function(t){return function(e,n,a){var s,l=i(e),u=r(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},2:function(t,e,n){t.exports=n("9rzN")},"2Cff":function(t,e){e.f={}.propertyIsEnumerable},"2WkB":function(t,e,n){var i=n("fzXU"),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},"3UdA":function(t,e,n){"use strict";var i=n("M3/C"),r=n("XdFA"),o=n("fYXY"),a=n("Kj25"),s=n("RcZF"),l=n("FzTG"),u=n("V0AS"),c=n("EeJJ");r(r.S+r.F*!n("neMV")(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,r,d,f=o(t),h="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,b=void 0!==m,g=0,v=c(f);if(b&&(m=i(m,p>2?arguments[2]:void 0,2)),null==v||h==Array&&s(v))for(n=new h(e=l(f.length));e>g;g++)u(n,g,b?m(f[g],g):f[g]);else for(d=v.call(f),n=new h;!(r=d.next()).done;g++)u(n,g,b?a(d,m,[r.value,g],!0):r.value);return n.length=g,n}})},"3gpc":function(t,e,n){"use strict";var i=n("45Vf"),r=n("DDXM"),o=n("nBEg"),a=n("2Cff"),s=n("fYXY"),l=n("Mo8M"),u=Object.assign;t.exports=!u||n("OZBl")(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=i})?function(t,e){for(var n=s(t),u=arguments.length,c=1,d=o.f,f=a.f;u>c;)for(var h,p=l(arguments[c++]),m=d?r(p).concat(d(p)):r(p),b=m.length,g=0;b>g;)h=m[g++],i&&!f.call(p,h)||(n[h]=p[h]);return n}:u},"45Vf":function(t,e,n){t.exports=!n("OZBl")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"4Toj":function(t,e,n){var i=n("54Wo");t.exports=function(t,e){var n=i(t,e)/1e3;return n>0?Math.floor(n):Math.ceil(n)}},"4Wae":function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=9)}([function(t,e,n){var i=n(6);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(3).default)("09280948",i,!0,{})},function(t,e,n){var i=n(8);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(3).default)("51e4c3f9",i,!0,{})},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n,i=t[1]||"",r=t[3];if(!r)return i;if(e&&"function"==typeof btoa){var o=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[i].concat(a).concat([o]).join("\n")}return[i].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;rn.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r',"\nscript:\n...\ninfiniteHandler($state) {\n ajax('https://www.example.com/api/news')\n .then((res) => {\n if (res.data.length) {\n $state.loaded();\n } else {\n $state.complete();\n }\n });\n}\n...","","more details: https://github.com/PeachScript/vue-infinite-loading/issues/57#issuecomment-324370549"].join("\n"),INFINITE_EVENT:"`:on-infinite` property will be deprecated soon, please use `@infinite` event instead.",IDENTIFIER:"the `reset` event will be deprecated soon, please reset this component by change the `identifier` property."},a={INFINITE_LOOP:["executed the callback function more than ".concat(i.loopCheckMaxCalls," times for a short time, it looks like searched a wrong scroll wrapper that doest not has fixed height or maximum height, please check it. If you want to force to set a element as scroll wrapper ranther than automatic searching, you can do this:"),'\n\x3c!-- add a special attribute for the real scroll wrapper --\x3e\n
\n ...\n \x3c!-- set force-use-infinite-wrapper --\x3e\n \n
\nor\n
\n ...\n \x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\x3e\n \n
\n ',"more details: https://github.com/PeachScript/vue-infinite-loading/issues/55#issuecomment-316934169"].join("\n")},s={READY:0,LOADING:1,COMPLETE:2,ERROR:3},l={color:"#666",fontSize:"14px",padding:"10px 0"},u={mode:"development",props:{spinner:"default",distance:100,forceUseInfiniteWrapper:!1},system:i,slots:{noResults:"No results :(",noMore:"No more data :)",error:"Opps, something went wrong :(",errorBtnText:"Retry",spinner:""},WARNINGS:o,ERRORS:a,STATUS:s},c=n(4),d=n.n(c),f={BUBBLES:{render:function(t){return t("span",{attrs:{class:"loading-bubbles"}},Array.apply(Array,Array(8)).map(function(){return t("span",{attrs:{class:"bubble-item"}})}))}},CIRCLES:{render:function(t){return t("span",{attrs:{class:"loading-circles"}},Array.apply(Array,Array(8)).map(function(){return t("span",{attrs:{class:"circle-item"}})}))}},DEFAULT:{render:function(t){return t("i",{attrs:{class:"loading-default"}})}},SPIRAL:{render:function(t){return t("i",{attrs:{class:"loading-spiral"}})}},WAVEDOTS:{render:function(t){return t("span",{attrs:{class:"loading-wave-dots"}},Array.apply(Array,Array(5)).map(function(){return t("span",{attrs:{class:"wave-item"}})}))}}};function h(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}var p=h({name:"Spinner",computed:{spinnerView:function(){return f[(this.$attrs.spinner||"").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return u.slots.spinner&&"string"==typeof u.slots.spinner?{render:function(){return this._v(u.slots.spinner)}}:"object"===d()(u.slots.spinner)?u.slots.spinner:f[u.props.spinner.toUpperCase()]||f.DEFAULT}}},function(){var t=this.$createElement;return(this._self._c||t)(this.spinnerView,{tag:"component"})},[],!1,function(t){var e=n(5);e.__inject__&&e.__inject__(t)},"46b20d22",null);p.options.__file="Spinner.vue";var m=p.exports;function b(t){"production"!==u.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(t))}var g={timers:[],caches:[],throttle:function(t){var e=this;-1===this.caches.indexOf(t)&&(this.caches.push(t),this.timers.push(setTimeout(function(){t(),e.caches.splice(e.caches.indexOf(t),1),e.timers.shift()},u.system.throttleLimit)))},reset:function(){this.timers.forEach(function(t){clearTimeout(t)}),this.timers.length=0,this.caches=[]}},v={isChecked:!1,timer:null,times:0,track:function(){var t=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout(function(){t.isChecked=!0},u.system.loopCheckTimeout),this.times>u.system.loopCheckMaxCalls&&(function(t){console.error("[Vue-infinite-loading error]: ".concat(t))}(a.INFINITE_LOOP),this.isChecked=!0)}},y={key:"_infiniteScrollHeight",getScrollElm:function(t){return t===window?document.documentElement:t},save:function(t){var e=this.getScrollElm(t);e[this.key]=e.scrollHeight},restore:function(t){var e=this.getScrollElm(t);"number"==typeof e[this.key]&&(e.scrollTop=e.scrollHeight-e[this.key]+e.scrollTop),this.remove(e)},remove:function(t){void 0!==t[this.key]&&delete t[this.key]}};function w(t){return t.offsetWidth+t.offsetHeight>0}var S=h({name:"InfiniteLoading",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:s.READY,slots:u.slots}},components:{Spinner:m},computed:{isShowSpinner:function(){return this.status===s.LOADING},isShowError:function(){return this.status===s.ERROR},isShowNoResults:function(){return this.status===s.COMPLETE&&this.isFirstLoad},isShowNoMore:function(){return this.status===s.COMPLETE&&!this.isFirstLoad},slotStyles:function(){var t=this,e={};return Object.keys(u.slots).forEach(function(n){var i=function(t){return t.replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())})}(n);(!t.$slots[i]&&!u.slots[n].render||t.$slots[i]&&!t.$slots[i][0].tag)&&(e[n]=l)}),e}},props:{distance:{type:Number,default:u.props.distance},spinner:String,direction:{type:String,default:"bottom"},forceUseInfiniteWrapper:{type:[Boolean,String],default:u.props.forceUseInfiniteWrapper},identifier:{default:+new Date},onInfinite:Function},watch:{identifier:function(){this.stateChanger.reset()}},mounted:function(){var t=this;this.$watch("forceUseInfiniteWrapper",function(){t.scrollParent=t.getScrollParent()},{immediate:!0}),this.scrollHandler=function(e){t.status===s.READY&&(e&&e.constructor===Event&&w(t.$el)?g.throttle(t.attemptLoad):t.attemptLoad())},setTimeout(function(){t.scrollHandler(),t.scrollParent.addEventListener("scroll",t.scrollHandler,r)},1),this.$on("$InfiniteLoading:loaded",function(e){t.isFirstLoad=!1,"top"===t.direction&&t.$nextTick(function(){y.restore(t.scrollParent)}),t.status===s.LOADING&&t.$nextTick(t.attemptLoad.bind(null,!0)),e&&e.target===t||b(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:complete",function(e){t.status=s.COMPLETE,t.$nextTick(function(){t.$forceUpdate()}),t.scrollParent.removeEventListener("scroll",t.scrollHandler,r),e&&e.target===t||b(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:reset",function(e){t.status=s.READY,t.isFirstLoad=!0,y.remove(t.scrollParent),t.scrollParent.addEventListener("scroll",t.scrollHandler,r),setTimeout(function(){g.reset(),t.scrollHandler()},1),e&&e.target===t||b(o.IDENTIFIER)}),this.stateChanger={loaded:function(){t.$emit("$InfiniteLoading:loaded",{target:t})},complete:function(){t.$emit("$InfiniteLoading:complete",{target:t})},reset:function(){t.$emit("$InfiniteLoading:reset",{target:t})},error:function(){t.status=s.ERROR,g.reset()}},this.onInfinite&&b(o.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,r)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,r)},methods:{attemptLoad:function(t){var e=this;this.status!==s.COMPLETE&&w(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=s.LOADING,"top"===this.direction&&this.$nextTick(function(){y.save(e.scrollParent)}),"function"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit("infinite",this.stateChanger),!t||this.forceUseInfiniteWrapper||v.isChecked||v.track()):this.status===s.LOADING&&(this.status=s.READY)},getCurrentDistance:function(){return"top"===this.direction?"number"==typeof this.scrollParent.scrollTop?this.scrollParent.scrollTop:this.scrollParent.pageYOffset:this.$el.getBoundingClientRect().top-(this.scrollParent===window?window.innerHeight:this.scrollParent.getBoundingClientRect().bottom)},getScrollParent:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el;return"string"==typeof this.forceUseInfiniteWrapper&&(t=e.querySelector(this.forceUseInfiniteWrapper)),t||("BODY"===e.tagName?t=window:!this.forceUseInfiniteWrapper&&["scroll","auto"].indexOf(getComputedStyle(e).overflowY)>-1?t=e:(e.hasAttribute("infinite-wrapper")||e.hasAttribute("data-infinite-wrapper"))&&(t=e)),t||this.getScrollParent(e.parentNode)}},destroyed:function(){!this.status!==s.COMPLETE&&(g.reset(),y.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,r))}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"infinite-loading-container"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowSpinner,expression:"isShowSpinner"}],staticClass:"infinite-status-prompt",style:t.slotStyles.spinner},[t._t("spinner",[n("spinner",{attrs:{spinner:t.spinner}})])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowNoResults,expression:"isShowNoResults"}],staticClass:"infinite-status-prompt",style:t.slotStyles.noResults},[t._t("no-results",[t.slots.noResults.render?n(t.slots.noResults,{tag:"component"}):[t._v(t._s(t.slots.noResults))]])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowNoMore,expression:"isShowNoMore"}],staticClass:"infinite-status-prompt",style:t.slotStyles.noMore},[t._t("no-more",[t.slots.noMore.render?n(t.slots.noMore,{tag:"component"}):[t._v(t._s(t.slots.noMore))]])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowError,expression:"isShowError"}],staticClass:"infinite-status-prompt",style:t.slotStyles.error},[t._t("error",[t.slots.error.render?n(t.slots.error,{tag:"component",attrs:{trigger:t.attemptLoad}}):[t._v("\n "+t._s(t.slots.error)+"\n "),n("br"),t._v(" "),n("button",{staticClass:"btn-try-infinite",domProps:{textContent:t._s(t.slots.errorBtnText)},on:{click:t.attemptLoad}})]],{trigger:t.attemptLoad})],2)])},[],!1,function(t){var e=n(7);e.__inject__&&e.__inject__(t)},"46b21138",null);S.options.__file="InfiniteLoading.vue";var x=S.exports;function T(t){u.mode=t.config.productionTip?"development":"production"}Object.defineProperty(x,"install",{configurable:!1,enumerable:!1,value:function(t,e){Object.assign(u.props,e&&e.props),Object.assign(u.slots,e&&e.slots),Object.assign(u.system,e&&e.system),t.component("infinite-loading",x),T(t)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",x),T(window.Vue)),e.default=x}])},"4kDO":function(t,e,n){"use strict";var i=n("xZdT")(!0);n("H3kC")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},"54Wo":function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t),r=i(e);return n.getTime()-r.getTime()}},"6DAA":function(t,e,n){var i=n("kOWh");t.exports=function(){var t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["am","pm"],l=["a.m.","p.m."],u={MMM:function(e){return t[e.getMonth()]},MMMM:function(t){return e[t.getMonth()]},dd:function(t){return n[t.getDay()]},ddd:function(t){return r[t.getDay()]},dddd:function(t){return o[t.getDay()]},A:function(t){return t.getHours()/12>=1?a[1]:a[0]},a:function(t){return t.getHours()/12>=1?s[1]:s[0]},aa:function(t){return t.getHours()/12>=1?l[1]:l[0]}};return["M","D","DDD","d","Q","W"].forEach(function(t){u[t+"o"]=function(e,n){return function(t){var e=t%100;if(e>20||e<10)switch(e%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}(n[t](e))}}),{formatters:u,formattingTokensRegExp:i(u)}}},"7jYL":function(t,e,n){var i=n("OIIs");t.exports=Array.isArray||function(t){return"Array"==i(t)}},"8oxB":function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(l=u,u=[];++d1)for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:e;return m(e)?e.reduce(function(e,n){return[].concat(F(e),[t(n,n)])},[]):N(e)?B(e).reduce(function(n,i){return function(t){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:null;if(!(e=m(e)?e.join("."):e)||!I(t))return n;if(e in t)return t[e];var i=(e=String(e).replace(/\[(\d+)]/g,".$1")).split(".").filter(Boolean);return 0===i.length?n:i.every(function(e){return I(t)&&e in t&&null!=(t=t[e])})?t:n};function R(t){return(R="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)}var H=function(t){return R(t)},z=function(t){return Object.prototype.toString.call(t).slice(8,-1)},G=function(t){return void 0===t},U=function(t){return null===t},W=function(t){return"function"===H(t)},Y=function(t){return"boolean"===H(t)},X=function(t){return"string"===H(t)},q=function(t){return"number"===H(t)},K=function(t){return t instanceof Date},J=function(t){return"RegExp"===z(t)},Z=function t(e){var n=O(e),i=!0,r=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(i=(a=s.next()).done);i=!0){var l=a.value,u=e[l];e[l]=u&&I(u)?t(u):u}}catch(t){r=!0,o=t}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return P(e)}({breakpoints:["xs","sm","md","lg","xl"],BAlert:{dismissLabel:"Close",variant:"info"},BBadge:{variant:"secondary"},BButton:{variant:"secondary"},BButtonClose:{textVariant:null,ariaLabel:"Close"},BCardSubTitle:{subTitleTextVariant:"muted"},BCarousel:{labelPrev:"Previous Slide",labelNext:"Next Slide",labelGotoSlide:"Goto Slide",labelIndicators:"Select a slide to display"},BDropdown:{toggleText:"Toggle Dropdown",variant:"secondary",splitVariant:null},BFormFile:{browseText:"Browse",placeholder:"No file chosen",dropPlaceholder:"Drop files here"},BFormText:{textVariant:"muted"},BImg:{blankColor:"transparent"},BImgLazy:{blankColor:"transparent"},BJumbotron:{bgVariant:null,borderVariant:null,textVariant:null},BListGroupItem:{variant:null},BModal:{titleTag:"h5",size:"md",headerBgVariant:null,headerBorderVariant:null,headerTextVariant:null,headerCloseVariant:null,bodyBgVariant:null,bodyTextVariant:null,footerBgVariant:null,footerBorderVariant:null,footerTextVariant:null,cancelTitle:"Cancel",cancelVariant:"secondary",okTitle:"OK",okVariant:"primary",headerCloseLabel:"Close"},BNavbar:{variant:null},BNavbarToggle:{label:"Toggle navigation"},BProgress:{variant:null},BProgressBar:{variant:null},BSpinner:{variant:null},BTable:{selectedVariant:"primary",headVariant:null,footVariant:null},BToast:{toaster:"b-toaster-top-right",autoHideDelay:5e3,variant:null,toastClass:null,headerClass:null,bodyClass:null,solid:!1},BToaster:{ariaLive:null,ariaAtomic:null,role:null},BTooltip:{delay:0,boundary:"scrollParent",boundaryPadding:5},BPopover:{delay:0,boundary:"scrollParent",boundaryPadding:5}});function Q(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};if(N(t)){var e=O(t),n=!0,i=!1,r=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;if(!j(Z,s))return void u('config: unknown config property "'.concat(s,'"'));var l=t[s];if("breakpoints"===s){var c=t.breakpoints;!m(c)||c.length<2||c.some(function(t){return!X(t)||0===t.length})?u('config: "breakpoints" must be an array of at least 2 breakpoint names'):this.$_config.breakpoints=L(c)}else if(N(l)){var d=O(l),f=!0,h=!1,p=void 0;try{for(var b,g=d[Symbol.iterator]();!(f=(b=g.next()).done);f=!0){var v=b.value;j(Z[s],v)?(this.$_config[s]=this.$_config[s]||{},G(l[v])||(this.$_config[s][v]=L(l[v]))):u('config: unknown config property "'.concat(s,'.{$prop}"'))}}catch(t){h=!0,p=t}finally{try{f||null==g.return||g.return()}finally{if(h)throw p}}}}}catch(t){i=!0,r=t}finally{try{n||null==a.return||a.return()}finally{if(i)throw r}}}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return L(this.$_config)}},{key:"getConfigValue",value:function(t){return L(V(this.$_config,t,V(Z,t)))}},{key:"defaults",get:function(){return Z}}])&&Q(e.prototype,n),i&&Q(e,i),t}(),et=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;e.prototype.$bvConfig=r.prototype.$bvConfig=e.prototype.$bvConfig||r.prototype.$bvConfig||new tt,e.prototype.$bvConfig.setConfig(t)};function nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var it,rt,ot=(it=!1,rt=["Multiple instances of Vue detected!","You may need to set up an alias for Vue in your bundler config.","See: https://bootstrap-vue.js.org/docs#using-module-bundlers"].join("\n"),function(t){it||r===t||o.k||u(rt),it=!0}),at=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,n=t.directives,i=t.plugins,r=function t(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,ot(r),et(o,r),ct(r,e),ft(r,n),lt(r,i))};return r.installed=!1,r},st=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},{install:at(t)})},lt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)n&&e[n]&&t.use(e[n])},ut=function(t,e,n){t&&e&&n&&t.component(e,n)},ct=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)ut(t,n,e[n])},dt=function(t,e,n){t&&e&&n&&t.directive(e.replace(/^VB/,"B"),n)},ft=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)dt(t,n,e[n])},ht=function(t){var e=E(null);return function(){for(var n=arguments.length,i=new Array(n),r=0;r1&&void 0!==arguments[1]?arguments[1]:null;return e?mt("".concat(t,".").concat(e)):mt(t)||{}},gt=function(){return mt("breakpoints")},vt=ht(function(){return gt()}),yt=function(){return L(vt())},wt=ht(function(){var t=yt();return t[0]="",t}),St=o.i?window:{},xt=o.b?document:{},Tt="undefined"!=typeof Element?Element.prototype:{},kt=Tt.matches||Tt.msMatchesSelector||Tt.webkitMatchesSelector,Ot=Tt.closest||function(t){var e=this;do{if(Dt(e,t))return e;e=e.parentElement||e.parentNode}while(!U(e)&&e.nodeType===Node.ELEMENT_NODE);return null},Bt=St.requestAnimationFrame||St.webkitRequestAnimationFrame||St.mozRequestAnimationFrame||St.msRequestAnimationFrame||St.oRequestAnimationFrame||function(t){return setTimeout(t,16)},Ct=St.MutationObserver||St.WebKitMutationObserver||St.MozMutationObserver||null,_t=function(t){return o.e?I(t)?t:{useCapture:Boolean(t||!1)}:Boolean(I(t)?t.useCapture:t)},$t=function(t,e,n,i){t&&t.addEventListener&&t.addEventListener(e,n,_t(i))},Pt=function(t,e,n,i){t&&t.removeEventListener&&t.removeEventListener(e,n,_t(i))},Et=function(t){return Boolean(t&&t.nodeType===Node.ELEMENT_NODE)},jt=function(t){if(!Et(t)||!Lt(xt.body,t))return!1;if("none"===t.style.display)return!1;var e=Yt(t);return Boolean(e&&e.height>0&&e.width>0)},It=function(t){return!Et(t)||t.disabled||Boolean(Ut(t,"disabled"))||Ht(t,"disabled")},Nt=function(t){return Et(t)&&t.offsetHeight},At=function(t,e){return p((Et(e)?e:xt).querySelectorAll(t))},Mt=function(t,e){return(Et(e)?e:xt).querySelector(t)||null},Dt=function(t,e){return!!Et(t)&&kt.call(t,e)},Ft=function(t,e){if(!Et(e))return null;var n=Ot.call(e,t);return n===e?null:n},Lt=function(t,e){return!(!t||!W(t.contains))&&t.contains(e)},Vt=function(t,e){e&&Et(t)&&t.classList&&t.classList.add(e)},Rt=function(t,e){e&&Et(t)&&t.classList&&t.classList.remove(e)},Ht=function(t,e){return!!(e&&Et(t)&&t.classList)&&t.classList.contains(e)},zt=function(t,e,n){e&&Et(t)&&t.setAttribute(e,n)},Gt=function(t,e){e&&Et(t)&&t.removeAttribute(e)},Ut=function(t,e){return e&&Et(t)?t.getAttribute(e):null},Wt=function(t,e){return e&&Et(t)?t.hasAttribute(e):null},Yt=function(t){return Et(t)?t.getBoundingClientRect():null},Xt=function(t){return o.i&&Et(t)?St.getComputedStyle(t):{}},qt=function(t){var e={top:0,left:0};if(!Et(t)||0===t.getClientRects().length)return e;var n=Yt(t);if(n){var i=t.ownerDocument.defaultView;e.top=n.top+i.pageYOffset,e.left=n.left+i.pageXOffset}return e},Kt=function(t){var e={top:0,left:0};if(!Et(t))return e;var n={top:0,left:0},i=Xt(t);if("fixed"===i.position)e=Yt(t)||e;else{e=qt(t);for(var r=t.ownerDocument,o=t.offsetParent||r.documentElement;o&&(o===r.body||o===r.documentElement)&&"static"===Xt(o).position;)o=o.parentNode;if(o&&o!==t&&o.nodeType===Node.ELEMENT_NODE){n=qt(o);var a=Xt(o);n.top+=parseFloat(a.borderTopWidth),n.left+=parseFloat(a.borderLeftWidth)}}return{top:e.top-n.top-parseFloat(i.marginTop),left:e.left-n.left-parseFloat(i.marginLeft)}},Jt=function(){return(Jt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Boolean(e[t]||n[t])},le=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n[t]||i[t];return W(r)?r(e):r},ue={methods:{hasNormalizedSlot:function(t){return se(t,this.$scopedSlots,this.$slots)},normalizeSlot:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=le(t,e,this.$scopedSlots,this.$slots);return n?g(n):n}}};var ce={disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:function(){return bt("BButtonClose","ariaLabel")}},textVariant:{type:String,default:function(){return bt("BButtonClose","textVariant")}}},de=r.extend({name:"BButtonClose",functional:!0,props:ce,render:function(t,e){var n,i,r,o=e.props,a=e.data,s=(e.listeners,e.slots),l=e.scopedSlots,u=s(),c=l||{},d={staticClass:"close",class:(n={},i="text-".concat(o.textVariant),r=o.textVariant,i in n?Object.defineProperty(n,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[i]=r,n),attrs:{type:"button",disabled:o.disabled,"aria-label":o.ariaLabel?String(o.ariaLabel):null},on:{click:function(t){o.disabled&&t instanceof Event&&(t.stopPropagation(),t.preventDefault())}}};return se("default",c,u)||(d.domProps={innerHTML:"×"}),t("button",ee(a,d),le("default",{},c,u))}});var fe=function(t){return""===t||Y(t)?0:(t=parseInt(t,10))>0?t:0},he=function(t){return""===t||!0===t||!(parseInt(t,10)<1)&&Boolean(t)},pe=function(t){return!isNaN(parseInt(t,10))},me=r.extend({name:"BAlert",mixins:[ue],model:{prop:"show",event:"input"},props:{variant:{type:String,default:function(){return bt("BAlert","variant")}},dismissible:{type:Boolean,default:!1},dismissLabel:{type:String,default:function(){return bt("BAlert","dismissLabel")}},show:{type:[Boolean,Number,String],default:!1},fade:{type:Boolean,default:!1}},data:function(){return{countDownTimerId:null,countDown:0,localShow:he(this.show)}},watch:{show:function(t){this.countDown=fe(t),this.localShow=he(t)},countDown:function(t){var e=this;this.clearTimer(),pe(this.show)&&(this.$emit("dismiss-count-down",t),this.show!==t&&this.$emit("input",t),t>0?(this.localShow=!0,this.countDownTimerId=setTimeout(function(){e.countDown--},1e3)):this.$nextTick(function(){Bt(function(){e.localShow=!1})}))},localShow:function(t){t||!this.dismissible&&!pe(this.show)||this.$emit("dismissed"),pe(this.show)||this.show===t||this.$emit("input",t)}},created:function(){this.countDown=fe(this.show),this.localShow=he(this.show)},mounted:function(){this.countDown=fe(this.show),this.localShow=he(this.show)},beforeDestroy:function(){this.clearTimer()},methods:{dismiss:function(){this.clearTimer(),this.countDown=0,this.localShow=!1},clearTimer:function(){this.countDownTimerId&&(clearInterval(this.countDownTimerId),this.countDownTimerId=null)}},render:function(t){var e,n,i,r;if(this.localShow){var o=t(!1);this.dismissible&&(o=t(de,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot("dismiss")])),e=[e=t("div",{key:this._uid,staticClass:"alert",class:(n={"alert-dismissible":this.dismissible},i="alert-".concat(this.variant),r=this.variant,i in n?Object.defineProperty(n,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[i]=r,n),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0}},[o,this.normalizeSlot("default")])]}return t(ae,{props:{noFade:!this.fade}},e)}}),be=st({components:{BAlert:me}}),ge=function(t){return t},ve=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ge;return(m(t)?t.slice():B(t)).reduce(function(t,i){return t[n(i)]=e[i],t},{})},ye=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return G(t)||U(t)?"":m(t)||N(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},we=/%2C/g,Se=/[!'()*]/g,xe=function(t){return"%"+t.charCodeAt(0).toString(16)},Te=function(t){return encodeURIComponent(ye(t)).replace(Se,xe).replace(we,",")},ke=decodeURIComponent,Oe=function(t){var e={};return(t=ye(t).trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),i=ke(n.shift()),r=n.length>0?ke(n.join("=")):null;G(e[i])?e[i]=r:m(e[i])?e[i].push(r):e[i]=[e[i],r]}),e):e},Be=function(t){return"a"!==t},Ce=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.href,n=t.to,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(Be(i))return null;if(e)return e;if(n){if(X(n))return n||o;if(N(n)&&(n.path||n.query||n.hash)){var a=ye(n.path),s=function(t){if(!N(t))return"";var e=B(t).map(function(e){var n=t[e];return G(n)?"":U(n)?Te(e):m(n)?n.reduce(function(t,n){return U(n)?t.push(Te(e)):G(n)||t.push(Te(e)+"="+Te(n)),t},[]).join("&"):Te(e)+"="+Te(n)}).filter(function(t){return t.length>0}).join("&");return e?"?".concat(e):""}(n.query),l=ye(n.hash);return l=l&&"#"!==l.charAt(0)?"#".concat(l):l,"".concat(a).concat(s).concat(l)||o}}return r};function _e(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=t.to,n=t.disabled,i=arguments.length>1?arguments[1]:void 0;return i.$router&&e&&!n?i.$nuxt?"nuxt-link":"router-link":"a"}(n,r),s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,n=t.rel;return"_blank"===e&&U(n)?"noopener":n||null}(n),l=Ce(n,a),u=Be(a)?"nativeOn":"on",c=(i[u]||{}).click,d={click:je({tag:a,href:l,disabled:n.disabled,suppliedHandler:c,parent:r})},f=ee(i,{class:{active:n.active,disabled:n.disabled},attrs:{rel:s,target:n.target,tabindex:n.disabled?"-1":i.attrs?i.attrs.tabindex:null,"aria-disabled":n.disabled?"true":null},props:_e({},n,{tag:n.routerTag})});return l?f.attrs.href=l:delete f.props.href,f[u]=_e({},f[u]||{},d),t(a,f,o)}});function Ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ae=Ee();delete Ae.href.default,delete Ae.to.default;var Me=function(t){for(var e=1;e]+)>)/gi,Ve=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(Le,"")},Re=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}};function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ze=function(t){for(var e=1;e-1&&(e=e.slice(0,n).reverse(),this.setItemFocus(e[0]))},focusNext:function(t){var e=this.getItems(),n=e.indexOf(t.target);n>-1&&(e=e.slice(n+1),this.setItemFocus(e[0]))},focusLast:function(t){var e=this.getItems().reverse();this.setItemFocus(e[0])},getItems:function(){var t=At(bn,this.$el);return t.forEach(function(t){t.tabIndex=-1}),t.filter(function(t){return jt(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")])}}),vn=st({components:{BButtonToolbar:gn,BBtnToolbar:gn}}),yn=function(t){return X(t)||(t=String(t)),(t=t.trim()).charAt(0).toUpperCase()+t.slice(1)},wn=function(t,e){return t+yn(e)},Sn=function(t){return(t=String(t)).charAt(0).toLowerCase()+t.slice(1)},xn=function(t,e){return Sn(e.replace(t,""))};function Tn(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:ge;if(m(t))return t.map(e);var n={};for(var i in t)t.hasOwnProperty(i)&&(n[e(i)]=I(t[i])?Tn({},t[i]):t[i]);return n},Bn={props:{tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}}},Cn={title:{type:String,default:""},titleTag:{type:String,default:"h4"}},_n=r.extend({name:"BCardTitle",functional:!0,props:Cn,render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.titleTag,ee(i,{staticClass:"card-title"}),r||n.title)}}),$n={subTitle:{type:String,default:""},subTitleTag:{type:String,default:"h6"},subTitleTextVariant:{type:String,default:function(){return bt("BCardSubTitle","subTitleTextVariant")}}},Pn=r.extend({name:"BCardSubTitle",functional:!0,props:$n,render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.subTitleTag,ee(i,{staticClass:"card-subtitle",class:[n.subTitleTextVariant?"text-".concat(n.subTitleTextVariant):null]}),r||n.subTitle)}});function En(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0)&&(this.isShown=!0,this.setListeners(!1))},checkView:function(){if(this.isShown)this.setListeners(!1);else{var t=parseInt(this.offset,10)||0,e=document.documentElement,n=0-t,i=0-t,r=e.clientHeight+t,o=e.clientWidth+t,a=Yt(this.$el);a.right>=n&&a.bottom>=i&&a.left<=o&&a.top<=r&&this.doShow([{isIntersecting:!0}])}},onScroll:function(){this.isShown?this.setListeners(!1):(clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(this.checkView,parseInt(this.throttle,10)||100))}},render:function(t){return t(Jn,{props:{src:this.computedSrc,blank:this.computedBlank,width:this.computedWidth,height:this.computedHeight,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}})}});function ei(t){for(var e=1;e0||r.removedNodes.length>0)&&(n=!0)}n&&e()});return r.observe(t,function(t){for(var e=1;e0),touchStartX:0,touchDeltaX:0}},watch:{value:function(t,e){t!==e&&this.setSlide(t)},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._intervalId=null,this._animationTimeout=null,this._touchTimeout=null,this.isPaused=!(parseInt(this.interval,10)>0)},mounted:function(){this.transitionEndEvent=function(t){for(var e in bi)if(!G(t.style[e]))return bi[e];return null}(this.$el)||null,this.updateSlides(),fi(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]})},beforeDestroy:function(){clearTimeout(this._animationTimeout),clearTimeout(this._touchTimeout),clearInterval(this._intervalId),this._intervalId=null,this._animationTimeout=null,this._touchTimeout=null},methods:{setSlide:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(o.j&&document.visibilityState&&document.hidden)){var i=this.slides.length;0!==i&&(this.isSliding?this.$once("sliding-end",function(){return e.setSlide(t,n)}):(this.direction=n,t=Math.floor(t),this.index=t>=i?0:t>=0?t:i-1))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(t){t||(this.isPaused=!0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=null)},start:function(t){t||(this.isPaused=!1),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=null),this.interval&&this.slides.length>1&&(this._intervalId=setInterval(this.next,Math.max(1e3,this.interval)))},restart:function(t){this.$el.contains(document.activeElement)||this.start()},doSlide:function(t,e){var n=this,i=Boolean(this.interval),r=this.calcDirection(this.direction,e,t),o=r.overlayClass,a=r.dirClass,s=this.slides[e],l=this.slides[t];if(s&&l){if(this.isSliding=!0,i&&this.pause(!1),this.$emit("sliding-start",t),this.$emit("input",this.index),this.noAnimation)Vt(l,"active"),Rt(s,"active"),this.isSliding=!1,this.$nextTick(function(){return n.$emit("sliding-end",t)});else{Vt(l,o),Nt(l),Vt(s,a),Vt(l,a);var u=!1,c=function e(i){if(!u){if(u=!0,n.transitionEndEvent)n.transitionEndEvent.split(/\s+/).forEach(function(t){return Pt(s,t,e,gi)});n._animationTimeout=null,Rt(l,a),Rt(l,o),Vt(l,"active"),Rt(s,"active"),Rt(s,a),Rt(s,o),zt(s,"aria-current","false"),zt(l,"aria-current","true"),zt(s,"aria-hidden","true"),zt(l,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick(function(){return n.$emit("sliding-end",t)})}};if(this.transitionEndEvent)this.transitionEndEvent.split(/\s+/).forEach(function(t){return $t(s,t,c,gi)});this._animationTimeout=setTimeout(c,650)}i&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=At(".carousel-item",this.$refs.inner);var t=this.slides.length,e=Math.max(0,Math.min(Math.floor(this.index),t-1));this.slides.forEach(function(n,i){var r=i+1;i===e?(Vt(n,"active"),zt(n,"aria-current","true")):(Rt(n,"active"),zt(n,"aria-current","false")),zt(n,"aria-posinset",String(r)),zt(n,"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,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t?pi[t]:n>e?pi.next:pi.prev},handleClick:function(t,e){var n=t.keyCode;"click"!==t.type&&n!==mn.SPACE&&n!==mn.ENTER||(t.preventDefault(),t.stopPropagation(),e())},handleSwipe:function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0?this.prev():e<0&&this.next()}},touchStart:function(t){o.f&&mi[t.pointerType.toUpperCase()]?this.touchStartX=t.clientX:o.f||(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){o.f&&mi[t.pointerType.toUpperCase()]&&(this.touchDeltaX=t.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this._touchTimeout&&clearTimeout(this._touchTimeout),this._touchTimeout=setTimeout(this.start,500+Math.max(1e3,this.interval))}},render:function(t){var e=this,n=t("div",{ref:"inner",class:["carousel-inner"],attrs:{id:this.safeId("__BV_inner_"),role:"list"}},[this.normalizeSlot("default")]),i=t(!1);this.controls&&(i=[t("a",{class:["carousel-control-prev"],attrs:{href:"#",role:"button","aria-controls":this.safeId("__BV_inner_")},on:{click:function(t){e.handleClick(t,e.prev)},keydown:function(t){e.handleClick(t,e.prev)}}},[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_")},on:{click:function(t){e.handleClick(t,e.next)},keydown:function(t){e.handleClick(t,e.next)}}},[t("span",{class:["carousel-control-next-icon"],attrs:{"aria-hidden":"true"}}),t("span",{class:["sr-only"]},[this.labelNext])])]);var r=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(n,i){return t("li",{key:"slide_".concat(i),class:{active:i===e.index},attrs:{role:"button",id:e.safeId("__BV_indicator_".concat(i+1,"_")),tabindex:e.indicators?"0":"-1","aria-current":i===e.index?"true":"false","aria-label":"".concat(e.labelGotoSlide," ").concat(i+1),"aria-describedby":e.slides[i].id||null,"aria-controls":e.safeId("__BV_inner_")},on:{click:function(t){e.handleClick(t,function(){e.setSlide(i)})},keydown:function(t){e.handleClick(t,function(){e.setSlide(i)})}}})})),a={mouseenter:this.noHoverPause?ci:this.pause,mouseleave:this.noHoverPause?ci:this.restart,focusin:this.pause,focusout:this.restart,keydown:function(t){if(!/input|textarea/i.test(t.target.tagName)){var n=t.keyCode;n!==mn.LEFT&&n!==mn.RIGHT||(t.preventDefault(),t.stopPropagation(),e[n===mn.LEFT?"prev":"next"]())}}};return!this.noTouch&&o.h&&(o.f?(a["&pointerdown"]=this.touchStart,a["&pointerup"]=this.touchEnd):(a["&touchstart"]=this.touchStart,a["&touchmove"]=this.touchMove,a["&touchend"]=this.touchEnd)),t("div",{staticClass:"carousel",class:{slide:!this.noAnimation,"carousel-fade":!this.noAnimation&&this.fade,"pointer-event":!this.noTouch&&o.h&&o.f},style:{background:this.background},attrs:{role:"region",id:this.safeId(),"aria-busy":this.isSliding?"true":"false"},on:a},[n,i,r])}}),yi={imgSrc:{type:String},imgAlt:{type:String},imgWidth:{type:[Number,String]},imgHeight:{type:[Number,String]},imgBlank:{type:Boolean,default:!1},imgBlankColor:{type:String,default:"transparent"},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}},wi=r.extend({name:"BCarouselSlide",mixins:[hi,ue],inject:{bvCarousel:{default:function(){return{noTouch:!0}}}},props:yi,data:function(){return{}},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.bvCarousel.noTouch&&o.h,n=this.normalizeSlot("img");n||!this.imgSrc&&!this.imgBlank||(n=t(Jn,{props:{fluidGrow:!0,block:!0,src:this.imgSrc,blank:this.imgBlank,blankColor:this.imgBlankColor,width:this.computedWidth,height:this.computedHeight,alt:this.imgAlt},on:e?{dragstart:function(t){t.preventDefault()}}:{}})),n||(n=t(!1));var i=t(this.contentTag,{staticClass:"carousel-caption",class:this.contentClasses},[this.caption||this.captionHtml?t(this.captionTag,{domProps:Re(this.captionHtml,this.caption)}):t(!1),this.text||this.textHtml?t(this.textTag,{domProps:Re(this.textHtml,this.text)}):t(!1),this.normalizeSlot("default")]);return t("div",{staticClass:"carousel-item",style:{background:this.background||this.bvCarousel.background||null},attrs:{id:this.safeId(),role:"listitem"}},[n,i])}}),Si=st({components:{BCarousel:vi,BCarouselSlide:wi}}),xi={methods:{listenOnRoot:function(t,e){var n=this;return this.$root.$on(t,e),this.$on("hook:beforeDestroy",function(){n.$root.$off(t,e)}),this},listenOnRootOnce:function(t,e){var n=this;return this.$root.$once(t,e),this.$on("hook:beforeDestroy",function(){n.$root.$off(t,e)}),this},emitOnRoot:function(t){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r0&&(t.__BV_toggle_TARGETS__=i,t.__BV_toggle_CONTROLS__=i.join(" "),t.__BV_toggle_STATE__=!1,zt(t,"aria-controls",t.__BV_toggle_CONTROLS__),zt(t,"aria-expanded","false"),"BUTTON"!==t.tagName&&zt(t,"role","button"),t[Ii]=function(e,n){-1!==(t.__BV_toggle_TARGETS__||[]).indexOf(e)&&(zt(t,"aria-expanded",n?"true":"false"),t.__BV_toggle_STATE__=n,n?Rt(t,"collapsed"):Vt(t,"collapsed"))},n.context.$root.$on("bv::collapse::state",t[Ii]),n.context.$root.$on("bv::collapse::sync::state",t[Ii]))},componentUpdated:Mi,updated:Mi,unbind:function(t,e,n){Ei(n,e,ji),t[Ii]&&(n.context.$root.$off("bv::collapse::state",t[Ii]),n.context.$root.$off("bv::collapse::sync::state",t[Ii])),Ni(t,Ii),Ni(t,"__BV_toggle_STATE__"),Ni(t,"__BV_toggle_CONTROLS__"),Ni(t,"__BV_toggle_TARGETS__"),Rt(t,"collapsed"),Gt(t,"aria-expanded"),Gt(t,"aria-controls"),Gt(t,"role")}},Fi=st({components:{BCollapse:ki},directives:{VBToggle:Di}}),Li=(o.i?window:{}).HTMLElement||Object,Vi=n("8L3F");function Ri(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));k(this,t.Defaults,this.constructor.Defaults,n,{type:e}),C(this,{type:M(),cancelable:M(),nativeEvent:M(),target:M(),relatedTarget:M(),vueTarget:M(),componentId:M()});var i=!1;this.preventDefault=function(){this.cancelable&&(i=!0)},_(this,"defaultPrevented",{enumerable:!0,get:function(){return i}})}var e,n,i;return e=t,i=[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}],(n=null)&&Ri(e.prototype,n),i&&Ri(e,i),t}(),zi={data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(t,e){t!==e&&(Pt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1),t&&$t(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="ontouchstart"in document.documentElement?"touchstart":"click"),this.listenForClickOut&&$t(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1)},beforeDestroy:function(){Pt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1)},methods:{isClickOut:function(t){return!Lt(this.$el,t.target)},_clickOutHandler:function(t){this.clickOutHandler&&this.isClickOut(t)&&this.clickOutHandler(t)}}},Gi={data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&(Pt(this.focusInElement,"focusin",this._focusInHandler,!1),t&&$t(this.focusInElement,"focusin",this._focusInHandler,!1))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&$t(this.focusInElement,"focusin",this._focusInHandler,!1)},beforeDestroy:function(){Pt(this.focusInElement,"focusin",this._focusInHandler,!1)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}};function Ui(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Wi={FORM_CHILD:".dropdown form",ITEM_SELECTOR:[".dropdown-item",".b-dropdown-form"].map(function(t){return"".concat(t,":not(.disabled):not([disabled])")}).join(", ")},Yi="top-start",Xi="top-end",qi="bottom-start",Ki="bottom-end",Ji="right-start",Zi="left-start",Qi={mixins:[zi,Gi],provide:function(){return{bvDropdown:this}},props:{disabled:{type:Boolean,default:!1},text:{type:String,default:""},html:{type:String},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(){}}},data:function(){return{visible:!1,inNavbar:null,visibleChangePrevented:!1}},computed:{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 n=t?"show":"hide",i=new Hi(n,{cancelable:!0,vueTarget:this,target:this.$refs.menu,relatedTarget:null});if(this.emitEvent(i),i.defaultPrevented)return this.visibleChangePrevented=!0,this.visible=e,void this.$off("hidden",this.focusToggler);"show"===n?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.removePopper()},beforeDestroy:function(){this.visible=!1,this.whileOpenListen(!1),this.removePopper()},methods:{emitEvent:function(t){var e=t.type;this.$emit(e,t),this.$root.$emit("bv::dropdown::".concat(e),t)},showMenu:function(){var t=this;if(!this.disabled){if(this.$root.$emit("bv::dropdown::shown",this),U(this.inNavbar)&&this.isNav&&(this.inNavbar=Boolean(Ft(".navbar",this.$el))),!this.inNavbar)if(void 0===Vi.default)u("b-dropdown: Popper.js not found. Falling back to CSS positioning.");else{var e=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;e=e.$el||e,this.createPopper(e)}this.whileOpenListen(!0),this.$nextTick(function(){t.focusMenu(),t.$emit("shown")})}},hideMenu:function(){this.whileOpenListen(!1),this.$root.$emit("bv::dropdown::hidden",this),this.$emit("hidden"),this.removePopper()},createPopper:function(t){this.removePopper(),this._popper=new Vi.default(t,this.$refs.menu,this.getPopperConfig())},removePopper:function(){this._popper&&this._popper.destroy(),this._popper=null},getPopperConfig:function(){var t=qi;this.dropup?t=this.right?Xi:Yi:this.dropright?t=Ji:this.dropleft?t=Zi:this.right&&(t=Ki);var e={placement:t,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}};return this.boundary&&(e.modifiers.preventOverflow={boundariesElement:this.boundary}),function(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0];this.disabled||(this.visible=!1,t&&this.$once("hidden",this.focusToggler))},toggle:function(t){var e=(t=t||{}).type,n=t.keyCode;"click"!==e&&("keydown"!==e||n!==mn.ENTER&&n!==mn.SPACE&&n!==mn.DOWN)||(this.disabled?this.visible=!1:(this.$emit("toggle",t),t.defaultPrevented||(t.preventDefault(),t.stopPropagation(),this.visible=!this.visible)))},click:function(t){this.disabled?this.visible=!1:this.$emit("click",t)},onKeydown:function(t){var e=t.keyCode;e===mn.ESC?this.onEsc(t):e===mn.DOWN?this.focusNext(t,!1):e===mn.UP&&this.focusNext(t,!0)},onEsc:function(t){this.visible&&(this.visible=!1,t.preventDefault(),t.stopPropagation(),this.$once("hidden",this.focusToggler))},clickOutHandler:function(){this.visible&&(this.visible=!1)},focusInHandler:function(t){!this.visible||Lt(this.$refs.menu,t.target)||Lt(this.$refs.toggle,t.target)||(this.visible=!1)},focusNext:function(t,e){var n=this;!this.visible||t&&Ft(Wi.FORM_CHILD,t.target)||(t.preventDefault(),t.stopPropagation(),this.$nextTick(function(){var i=n.getItems();if(!(i.length<1)){var r=i.indexOf(t.target);e&&r>0?r--:!e&&r0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;return"".concat(e).concat(yn(t))}),Qr={name:"BFormGroup",mixins:[hi,Fr,ue],get props(){return delete this.props,this.props=(t=wt(),e=t.reduce(function(t,e){return t[Zr(e,"labelCols")]={type:[Number,String,Boolean],default:!e&&null},t},E(null)),n=t.reduce(function(t,e){return t[Zr(e,"labelAlign")]={type:String,default:null},t},E(null)),Wr({label:{type:String,default:null},labelFor:{type:String,default:null},labelSize:{type:String,default:null},labelSrOnly:{type:Boolean,default:!1}},e,n,{labelClass:{type:[String,Array,Object],default:null},description:{type:String,default:null},invalidFeedback:{type:String,default:null},validFeedback:{type:String,default:null},tooltip:{type:Boolean,default:!1},feedbackAriaLive:{type:String,default:"assertive"},validated:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},horizontal:{type:Boolean,default:!1,deprecated:Xr},breakpoint:{type:String,default:null,deprecated:Xr}}));var t,e,n},computed:{labelColProps:function(){var t=this,e={};if(this.horizontal){u("b-form-group: ".concat(Xr));var n=this.breakpoint||wt()[1],i=parseInt(this.labelCols,10)||3;return e[n]=i>0?i:3,e}return wt().forEach(function(n){var i=t[Zr(n,"labelCols")];if(Y(i=""===i||(i||!1))||(i=(i=parseInt(i,10)||0)>0&&i),i){var r=n||(Y(i)?"col":"cols");e[r]=i}}),e},labelAlignClasses:function(){var t=this,e=[];return wt().forEach(function(n){var i=t[Zr(n,"labelAlign")]||null;if(i){var r=n?"text-".concat(n,"-").concat(i):"text-".concat(i);e.push(r)}}),e},isHorizontal:function(){return B(this.labelColProps).length>0},labelId:function(){return this.$slots.label||this.label?this.safeId("_BV_label_"):null},descriptionId:function(){return this.$slots.description||this.description?this.safeId("_BV_description_"):null},hasInvalidFeedback:function(){var t=this.$slots;return!1===this.computedState&&(t["invalid-feedback"]||this.invalidFeedback)},invalidFeedbackId:function(){return this.hasInvalidFeedback?this.safeId("_BV_feedback_invalid_"):null},hasValidFeedback:function(){return!0===this.computedState&&(this.$slots["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 n=At("input:not([disabled]),textarea:not([disabled]),select:not([disabled])",this.$refs.content).filter(jt);n&&1===n.length&&n[0].focus&&n[0].focus()}}},setInputDescribedBy:function(t,e){if(this.labelFor&&o.j){var n=Mt("#".concat(this.labelFor),this.$refs.content);if(n){var i="aria-describedby",r=(Ut(n,i)||"").split(/\s+/);t=(t||"").split(/\s+/),e=(e||"").split(/\s+/),r=r.filter(function(t){return!b(e,t)}).concat(t).filter(Boolean),(r=B(r.reduce(function(t,e){return Wr({},t,Yr({},e,!0))},{})).join(" ").trim())?zt(n,i,r):Gt(n,i)}}}},render:function(t){var e=!this.labelFor,n=this.isHorizontal,i=function(t,e){var n=e.normalizeSlot("label")||e.label,i=e.labelFor,r=!i,o=e.isHorizontal,a=r?"legend":"label";if(n||o){if(e.labelSrOnly){var s=t(!1);return n&&(s=t(a,{class:"sr-only",attrs:{id:e.labelId,for:i||null}},[n])),t(o?Ur:"div",{props:o?e.labelColProps:{}},[s])}return t(o?Ur:a,{on:r?{click:e.legendClick}:{},props:o?Wr({tag:a},e.labelColProps):{},attrs:{id:e.labelId,for:i||null,tabindex:r?"-1":null},class:[o||r?"col-form-label":"",!o&&r?"pt-0":"",o||r?"":"d-block",e.labelSize?"col-form-label-".concat(e.labelSize):"",e.labelAlignClasses,e.labelClass]},[n])}return t(!1)}(t,this),r=t(n?Ur:"div",{ref:"content",attrs:{tabindex:e?"-1":null,role:e?"group":null}},[this.normalizeSlot("default")||t(!1),qr(t,this),Kr(t,this),Jr(t,this)]),o={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&&n?this.labelId:null,"aria-describedby":e?this.describedByIds:null}};return t(e?"fieldset":n?Mr:"div",o,n&&e?[t(Mr,{},[i,r])]:[i,r])}},to=st({components:{BFormGroup:Qr,BFormFieldset:Qr}}),eo=function(t,e){for(var n=0;n-1:Bi(t,e)},isRadio:function(){return!1},isCheck:function(){return!0}},watch:{computedLocalChecked:function(t,e){this.$emit("input",t),this.$refs&&this.$refs.input&&this.$emit("update:indeterminate",this.$refs.input.indeterminate)},indeterminate:function(t,e){this.setIndeterminate(t)}},mounted:function(){this.setIndeterminate(this.indeterminate)},methods:{handleChange:function(t){var e=t.target,n=e.checked,i=e.indeterminate,r=this.computedLocalChecked,o=this.value,a=m(r),s=a?null:this.uncheckedValue;if(a){var l=eo(r,o);n&&l<0?r=r.concat(o):!n&&l>-1&&(r=r.slice(0,l).concat(r.slice(l+1)))}else r=n?o:s;this.computedLocalChecked=r,this.$emit("change",n?o:s),this.isGroup&&this.bvGroup.$emit("change",r),this.$emit("update:indeterminate",i)},setIndeterminate:function(t){m(this.computedLocalChecked)&&(t=!1),this.$refs&&this.$refs.input&&(this.$refs.input.indeterminate=t,this.$emit("update:indeterminate",t))}}}),ao=r.extend({name:"BFormRadio",mixins:[hi,io,no,ro,Fr],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:{checked:{type:[String,Object,Number,Boolean],default:null}},computed:{isChecked:function(){return Bi(this.value,this.computedLocalChecked)},isRadio:function(){return!0},isCheck:function(){return!1}},watch:{computedLocalChecked:function(t,e){this.$emit("input",this.computedLocalChecked)}},methods:{handleChange:function(t){var e=t.target.checked,n=this.value;this.computedLocalChecked=n,this.$emit("change",e?n:null),this.isGroup&&this.bvGroup.$emit("change",e?n:null)}}}),so={mixins:[ue],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?"true":!1===this.computedState?"true":null}},watch:{checked:function(t,e){this.localChecked=t},localChecked:function(t,e){this.$emit("input",t)}},render:function(t){var e=this,n=this.formOptions.map(function(n,i){var r="_BV_option_".concat(i,"_");return t(e.isRadioGroup?ao:oo,{key:r,props:{id:e.safeId(r),value:n.value,disabled:n.disabled||!1}},[t("span",{domProps:Re(n.html,n.text)})])});return t("div",{class:this.groupClasses,attrs:{id:this.safeId(),role:this.isRadioGroup?"radiogroup":"group",tabindex:"-1","aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid}},[this.normalizeSlot("first"),n,this.normalizeSlot("default")])}},lo={switches:{type:Boolean,default:!1},checked:{type:[String,Number,Object,Array,Boolean],default:null}},uo=r.extend({name:"BFormCheckboxGroup",mixins:[hi,no,so,Or,ro,Fr],provide:function(){return{bvCheckGroup:this}},props:lo,data:function(){return{localChecked:this.checked||[]}},computed:{isRadioGroup:function(){return!1}}}),co=st({components:{BFormCheckbox:oo,BCheckbox:oo,BCheck:oo,BFormCheckboxGroup:uo,BCheckboxGroup:uo,BCheckGroup:uo}}),fo={checked:{type:[String,Object,Number,Boolean],default:null}},ho=r.extend({name:"BFormRadioGroup",mixins:[hi,no,so,Or,ro,Fr],provide:function(){return{bvRadioGroup:this}},props:fo,data:function(){return{localChecked:this.checked}},computed:{isRadioGroup:function(){return!0}}}),po=st({components:{BFormRadio:ao,BRadio:ao,BFormRadioGroup:ho,BRadioGroup:ho}}),mo={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,default:null},placeholder:{type:String,default:null},formatter:{type:Function,default:null},trim:{type:Boolean,default:!1},number:{type:Boolean,default:!1},lazyFormatter:{type:Boolean,value:!1}},data:function(){return{localValue:this.stringifyValue(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}},watch:{value:function(t){t!==this.localValue&&(this.localValue=this.stringifyValue(t))}},mounted:function(){var t=this.stringifyValue(this.value);t!==this.localValue&&(this.localValue=t)},methods:{stringifyValue:function(t){return G(t)||U(t)?"":String(t)},getFormatted:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t=this.stringifyValue(t),this.lazyFormatter&&!n||!W(this.formatter)||(t=this.formatter(t,e)),t},updateValue:function(t){if((t=this.stringifyValue(t))!==this.localValue){if(this.localValue=t,this.number){var e=parseFloat(t);t=isNaN(e)?t:e}else this.trim&&(t=t.trim());this.$emit("update",t)}else this.$refs.input&&t!==this.$refs.input.value&&(this.$refs.input.value=t)},onInput:function(t){if(!t.target.composing){var e=this.getFormatted(t.target.value,t);!1===e||t.defaultPrevented?t.preventDefault():(this.updateValue(e),this.$emit("input",e))}},onChange:function(t){if(!t.target.composing){var e=this.getFormatted(t.target.value,t);!1===e||t.defaultPrevented?t.preventDefault():(this.updateValue(e),this.$emit("change",e))}},onBlur:function(t){if(this.lazyFormatter){var e=this.getFormatted(t.target.value,t,!0);if(!1===e)return;this.updateValue(e)}this.$emit("blur",t)},focus:function(){this.disabled||this.$el.focus()},blur:function(){this.disabled||this.$el.blur()}}},bo={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)}}},go={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)}}};function vo(t){for(var e=1;ed?s:"".concat(d,"px")}},render:function(t){return t("textarea",{ref:"input",class:this.computedClass,style:this.computedStyle,directives:[{name:"model",rawName:"v-model",value:this.localValue,expression:"localValue"}],attrs:{id:this.safeId(),name:this.name,form:this.form||null,disabled:this.disabled,placeholder:this.placeholder,required:this.required,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},domProps:{value:this.localValue},on:To({},this.$listeners,{input:this.onInput,change:this.onChange,blur:this.onBlur})})}}),Bo=st({components:{BFormTextarea:Oo,BTextarea:Oo}}),Co={props:{plain:{type:Boolean,default:!1}},computed:{custom:function(){return!this.plain}}},_o=r.extend({name:"BFormFile",mixins:[hi,no,Fr,Co,ue],model:{prop:"value",event:"input"},props:{value:{default:null},accept:{type:String,default:""},capture:{type:Boolean,default:!1},placeholder:{type:String,default:function(){return bt("BFormFile","placeholder")}},browseText:{type:String,default:function(){return bt("BFormFile","browseText")}},dropPlaceholder:{type:String,default:function(){return bt("BFormFile","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=g(this.selectedFile).filter(Boolean);return this.hasNormalizedSlot("file-name")?[this.normalizeSlot("file-name",{files:t,names:t.map(function(t){return t.name})})]:W(this.fileNameFormatter)?String(this.fileNameFormatter(t)):t.map(function(t){return t.name}).join(", ")}},watch:{selectedFile:function(t,e){t===e||m(t)&&m(e)&&t.length===e.length&&t.every(function(t,n){return t===e[n]})||(!t&&this.multiple?this.$emit("input",[]):this.$emit("input",t))},value:function(t){(!t||m(t)&&0===t.length)&&this.reset()}},methods:{focusHandler:function(t){this.plain||"focusout"===t.type?this.hasFocus=!1:this.hasFocus=!0},reset:function(){try{this.$refs.input.value=""}catch(t){}this.$refs.input.type="",this.$refs.input.type="file",this.selectedFile=this.multiple?[]:null},onFileChange:function(t){var e=this;this.$emit("change",t);var n=t.dataTransfer&&t.dataTransfer.items;if(!n||this.noTraverse)this.setFiles(t.target.files||t.dataTransfer.files);else{for(var i=[],r=0;r0&&void 0!==arguments[0]?arguments[0]:[];if(t)if(this.multiple){for(var e=[],n=0;n0&&this.onFileChange(t))},traverseFileTree:function(t,e){var n=this;return new Promise(function(i){e=e||"",t.isFile?t.file(function(t){t.$path=e,i(t)}):t.isDirectory&&t.createReader().readEntries(function(r){for(var o=[],a=0;a0}},watch:{modalCount:function(t,e){o.j&&(this.getScrollbarWidth(),t>0&&0===e?(this.checkScrollbar(),this.setScrollbar(),Vt(document.body,"modal-open")):0===t&&e>0&&(this.resetScrollbar(),Rt(document.body,"modal-open")),zt(document.body,"data-modal-open-count",String(t)))},modals:function(t,e){var n=this;this.checkScrollbar(),Bt(function(){n.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(U(this.baseZIndex)&&o.j){var t=document.createElement("div");t.className="modal-backdrop d-none",t.style.display="none",document.body.appendChild(t),this.baseZIndex=parseInt(Xt(t).zIndex||1040,10),document.body.removeChild(t)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(U(this.scrollbarWidth)&&o.j){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t),this.scrollbarWidth=Yt(t).width-t.clientWidth,document.body.removeChild(t)}return this.scrollbarWidth||0},updateModals:function(t){var e=this,n=this.getBaseZIndex(),i=this.getScrollbarWidth();t.forEach(function(t,r){t.zIndex=n+r,t.scrollbarWidth=i,t.isTop=r===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=Yt(document.body),e=t.left,n=t.right;this.isBodyOverflowing=e+n1&&void 0!==arguments[1]?arguments[1]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=function(t,e){return!e||"object"!==Ca(e)&&"function"!=typeof e?Pa(t):e}(this,ja(e).call(this,t,i)),C(Pa(n),{trigger:M()}),n}var n,i,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}(e,Hi),n=e,r=[{key:"Defaults",get:function(){return function(t){for(var e=1;e0&&!e[0].text?e[0]:t(!1)}}),Ma=r.extend({name:"BTransporterSingle",mixins:[ue],props:{disabled:{type:Boolean,default:!1},container:{type:[String,Li],default:"body"},tag:{type:String,default:"div"}},watch:{disabled:{immediate:!0,handler:function(t){t?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this._bv_defaultFn=null,this._bv_target=null},beforeMount:function(){this.mountTarget()},updated:function(){var t=this;this.$nextTick(function(){t.updateTarget()})},beforeDestroy:function(){this.unmountTarget(),this._bv_defaultFn=null},methods:{getContainer:function(){if(o.j){var t=this.container;return X(t)?Mt(t):t}return null},mountTarget:function(){if(!this._bv_target){var t=this.getContainer();if(t){var e=document.createElement("div");t.appendChild(e),this._bv_target=new Aa({el:e,parent:this,propsData:{nodes:g(this.normalizeSlot("default",{}))}})}}},updateTarget:function(){if(o.j&&this._bv_target){var t=this.$scopedSlots.default;this.disabled||(t&&this._bv_defaultFn!==t?this._bv_target.updatedNodes=t:t||(this._bv_target.updatedNodes=this.$slots.default)),this._bv_defaultFn=t}},unmountTarget:function(){this._bv_target&&(this._bv_target.$destroy(),this._bv_target=null)}},render:function(t){if(this.disabled){var e=g(this.normalizeSlot("default",{})).filter(Boolean);if(e.length>0&&!e[0].text)return e[0]}return t(!1)}});function Da(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Fa={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},La={passive:!0,capture:!1},Va={title:{type:String,default:""},titleHtml:{type:String},titleTag:{type:String,default:function(){return bt("BModal","titleTag")}},size:{type:String,default:function(){return bt("BModal","size")}},centered:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},buttonSize:{type:String,default:""},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},headerBgVariant:{type:String,default:function(){return bt("BModal","headerBgVariant")}},headerBorderVariant:{type:String,default:function(){return bt("BModal","headerBorderVariant")}},headerTextVariant:{type:String,default:function(){return bt("BModal","headerTextVariant")}},headerCloseVariant:{type:String,default:function(){return bt("BModal","headerCloseVariant")}},headerClass:{type:[String,Array],default:null},bodyBgVariant:{type:String,default:function(){return bt("BModal","bodyBgVariant")}},bodyTextVariant:{type:String,default:function(){return bt("BModal","bodyTextVariant")}},modalClass:{type:[String,Array],default:null},dialogClass:{type:[String,Array],default:null},contentClass:{type:[String,Array],default:null},bodyClass:{type:[String,Array],default:null},footerBgVariant:{type:String,default:function(){return bt("BModal","footerBgVariant")}},footerBorderVariant:{type:String,default:function(){return bt("BModal","footerBorderVariant")}},footerTextVariant:{type:String,default:function(){return bt("BModal","footerTextVariant")}},footerClass:{type:[String,Array],default:null},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:{default:null},headerCloseLabel:{type:String,default:function(){return bt("BModal","headerCloseLabel")}},cancelTitle:{type:String,default:function(){return bt("BModal","cancelTitle")}},cancelTitleHtml:{type:String},okTitle:{type:String,default:function(){return bt("BModal","okTitle")}},okTitleHtml:{type:String},cancelVariant:{type:String,default:function(){return bt("BModal","cancelVariant")}},okVariant:{type:String,default:function(){return bt("BModal","okVariant")}},lazy:{type:Boolean,default:!1},busy:{type:Boolean,default:!1},static:{type:Boolean,default:!1}},Ra=r.extend({name:"BModal",mixins:[hi,xi,ue],model:{prop:"visible",event:"change"},props:Va,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:Ba.getBaseZIndex(),isTop:!0,isBodyOverflowing:!1}},computed:{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={},Da(t,"modal-".concat(this.size),Boolean(this.size)),Da(t,"modal-dialog-centered",this.centered),Da(t,"modal-dialog-scrollable",this.scrollable),t),this.dialogClass]},headerClasses:function(){var t;return[(t={},Da(t,"bg-".concat(this.headerBgVariant),Boolean(this.headerBgVariant)),Da(t,"text-".concat(this.headerTextVariant),Boolean(this.headerTextVariant)),Da(t,"border-".concat(this.headerBorderVariant),Boolean(this.headerBorderVariant)),t),this.headerClass]},bodyClasses:function(){var t;return[(t={},Da(t,"bg-".concat(this.bodyBgVariant),Boolean(this.bodyBgVariant)),Da(t,"text-".concat(this.bodyTextVariant),Boolean(this.bodyTextVariant)),t),this.bodyClass]},footerClasses:function(){var t;return[(t={},Da(t,"bg-".concat(this.footerBgVariant),Boolean(this.footerBgVariant)),Da(t,"text-".concat(this.footerTextVariant),Boolean(this.footerTextVariant)),Da(t,"border-".concat(this.footerBorderVariant),Boolean(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}}},watch:{visible:function(t,e){t!==e&&this[t?"show":"hide"]()}},created:function(){this._observer=null},mounted:function(){this.zIndex=Ba.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._observer&&(this._observer.disconnect(),this._observer=null),this.setEnforceFocus(!1),this.setResizeEvent(!1),this.isVisible&&(this.isVisible=!1,this.isShow=!1,this.isTransitioning=!1)},methods:{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 Na(t,function(t){for(var e=1;e0&&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._observer&&(this._observer.disconnect(),this._observer=null),this.isVisible=!1,this.updateModel(!1)}},toggle:function(t){t&&(this.return_focus=t),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){if(o.j){var t=document.activeElement;if(t&&t!==document.body&&t.focus)return t}return null},doShow:function(){var t=this;Ba.modalsAreOpen&&this.noStacking?this.listenOnRootOnce("bv::modal::hidden",this.doShow):(Ba.registerModal(this),this.isHidden=!1,this.$nextTick(function(){t.isVisible=!0,t.isOpening=!1,t.updateModel(!0),t.$nextTick(function(){t._observer=fi(t.$refs.content,t.checkModalOverflow.bind(t),Fa)})}))},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){this.isBlock=!0},onAfterEnter:function(){var t=this;this.checkModalOverflow(),this.isShow=!0,this.isTransitioning=!1,this.$nextTick(function(){t.emitEvent(t.buildEvent("shown")),t.focusFirst(),t.setEnforceFocus(!0)})},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var t=this;this.isBlock=!1,this.isTransitioning=!1,this.setEnforceFocus(!1),this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick(function(){t.returnFocusTo(),t.isClosing=!1,t.return_focus=null,Ba.unregisterModal(t),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;$t(e,"mouseup",function n(i){Pt(e,"mouseup",n,La),i.target===e&&(t.ignoreBackdropClick=!0)},La)},onClickOut:function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&Lt(document.body,t.target)&&(Lt(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===mn.ESC&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(t){var e=this.$refs.modal;!this.noEnforceFocus&&this.isTop&&this.isVisible&&e&&document!==t.target&&!Lt(e,t.target)&&e.focus({preventScroll:!0})},setEnforceFocus:function(t){(t?$t:Pt)(document,"focusin",this.focusHandler,La)},setResizeEvent:function(t){var e=t?$t:Pt;e(window,"resize",this.checkModalOverflow,La),e(window,"orientationchange",this.checkModalOverflow,La)},showHandler:function(t,e){t===this.safeId()&&(this.return_focus=e||this.getActiveElement(),this.show())},hideHandler:function(t){t===this.safeId()&&this.hide("event")},toggleHandler:function(t,e){t===this.safeId()&&this.toggle(e)},modalListener:function(t){this.noStacking&&t.vueTarget!==this&&this.hide()},focusFirst:function(){if(o.j){var t=this.$refs.modal,e=this.getActiveElement();!t||e&&Lt(t,e)||this.$nextTick(function(){t.scrollTop=0,t.focus()})}},returnFocusTo:function(){var t=this.returnFocus||this.return_focus||null;(t=X(t)?Mt(t):t)&&(t=t.$el||t,jt(t)&&t.focus&&t.focus())},checkModalOverflow:function(){if(this.isVisible){var t=this.$refs.modal;this.isModalOverflowing=t.scrollHeight>document.documentElement.clientHeight}},makeModal:function(t){var e=t(!1);if(!this.hideHeader){var n=this.normalizeSlot("modal-header",this.slotScope);if(!n){var i=t(!1);this.hideHeaderClose||(i=t(de,{props:{disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose}},[this.normalizeSlot("modal-header-close",{})]));var r=!this.hasNormalizedSlot("modal-title")&&this.titleHtml?{innerHTML:this.titleHtml}:{};n=[t(this.titleTag,{class:["modal-title"],domProps:r},[this.normalizeSlot("modal-title",this.slotScope)||Ve(this.title)]),i]}e=t("header",{ref:"header",staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.safeId("__BV_modal_header_")}},[n])}var o=t("div",{ref:"body",staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.safeId("__BV_modal_body_")}},this.normalizeSlot("default",this.slotScope)),a=t(!1);if(!this.hideFooter){var s=this.normalizeSlot("modal-footer",this.slotScope);if(!s){var l=t(!1);if(!this.okOnly){var u=this.cancelTitleHtml?{innerHTML:this.cancelTitleHtml}:null;l=t(cn,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},on:{click:this.onCancel}},[this.normalizeSlot("modal-cancel",{})||(u?t("span",{domProps:u}):Ve(this.cancelTitle))])}var c=this.okTitleHtml?{innerHTML:this.okTitleHtml}:null;s=[l,t(cn,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},on:{click:this.onOk}},[this.normalizeSlot("modal-ok",{})||(c?t("span",{domProps:c}):Ve(this.okTitle))])]}a=t("footer",{ref:"footer",staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.safeId("__BV_modal_footer_")}},[s])}var d=t("div",{ref:"content",staticClass:"modal-content",class:this.contentClass,attrs:{role:"document",id:this.safeId("__BV_modal_content_"),"aria-labelledby":this.hideHeader?null:this.safeId("__BV_modal_header_"),"aria-describedby":this.safeId("__BV_modal_body_")}},[e,o,a]),f=t("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown}},[d]),h=t("div",{ref:"modal",staticClass:"modal",class:this.modalClasses,style:this.modalStyles,directives:[{name:"show",rawName:"v-show",value:this.isVisible,expression:"isVisible"}],attrs:{id:this.safeId(),role:"dialog",tabindex:"-1","aria-hidden":this.isVisible?null:"true","aria-modal":this.isVisible?"true":null},on:{keydown:this.onEsc,click:this.onClickOut}},[f]);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 p=t(!1);!this.hideBackdrop&&this.isVisible&&(p=t("div",{staticClass:"modal-backdrop",attrs:{id:this.safeId("__BV_modal_backdrop_")}},[this.normalizeSlot("modal-backdrop",{})])),p=t(ae,{props:{noFade:this.noFade}},[p]);var m=t(!1);return this.isVisible&&this.isTop&&!this.noEnforceFocus&&(m=t("div",{attrs:{tabindex:"0"}})),t("div",{key:"modal-outer-".concat(this._uid),style:this.modalOuterStyle,attrs:{id:this.safeId("__BV_modal_outer_")}},[h,m,p])}},render:function(t){return this.static?this.lazy&&this.isHidden?t(!1):this.makeModal(t):this.isHidden?t(!1):t(Ma,{},[this.makeModal(t)])}}),Ha=Ra,za={click:!0},Ga=function(t,e,n){"BUTTON"!==t.tagName&&zt(t,"role","button")},Ua={bind:function(t,e,n){Pi(n,e,za,function(t){var e=t.targets,n=t.vnode;e.forEach(function(t){n.context.$root.$emit("bv::show::modal",t,n.elm)})}),Ga(t)},updated:Ga,componentUpdated:Ga,unbind:function(t,e,n){Ei(n,e,za),"BUTTON"!==t.tagName&&Gt(t,"role")}};function Wa(t,e){for(var n=0;n1?n-1:0),r=1;r1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;if(t&&!l("$bvModal")&&!s("$bvModal")&&W(i))return function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ja;if(!s("$bvModal")&&!l("$bvModal")){var r=new e({parent:n,propsData:Ya({},Qa(bt("BModal")||{}),{hideHeaderClose:!0,hideHeader:!(t.title||t.titleHtml)},A(t,B(Za)),{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return B(Za).forEach(function(e){G(t[e])||(r.$slots[Za[e]]=g(t[e]))}),new Promise(function(t,e){var n=!1;r.$once("hook:destroyed",function(){n||e(new Error("BootstrapVue MsgBox destroyed before resolve"))}),r.$on("hide",function(e){if(!e.defaultPrevented){var r=i(e);e.defaultPrevented||(n=!0,t(r))}});var o=document.createElement("div");document.body.appendChild(o),r.$mount(o)})}}(Ya({},Qa(n),{msgBoxContent:t}),this._vm,i)}},{key:"msgBoxOk",value:function(t){var e=Ya({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:t});return this.msgBox(t,e,function(t){return!0})}},{key:"msgBoxConfirm",value:function(t){var e=Ya({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return this.msgBox(t,e,function(t){var e=t.trigger;return"ok"===e||"cancel"!==e&&null})}}])&&Wa(n.prototype,i),r&&Wa(n,r),t}();t.mixin({beforeCreate:function(){this._bv__modal=new n(this)}}),t.prototype.hasOwnProperty("$bvModal")||_(t.prototype,"$bvModal",{get:function(){return this&&this._bv__modal||a("'".concat("$bvModal","' must be accessed from a Vue instance 'this' context")),this._bv__modal}})}}}),es=st({components:{BModal:Ra},directives:{VBModal:Ua},plugins:{BVModalPlugin:ts}});function ns(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var is={tag:{type:String,default:"ul"},fill:{type:Boolean,default:!1},justified:{type:Boolean,default:!1},align:{type:String,default:null},tabs:{type:Boolean,default:!1},pills:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},small:{type:Boolean,default:!1},isNavBar:{type:Boolean,default:!1,deprecated:'Setting prop "is-nav-bar" is deprecated. Use the component instead.'}},rs=r.extend({name:"BNav",functional:!0,props:is,render:function(t,e){var n,i,r=e.props,o=e.data,a=e.children;return t(r.tag,ee(o,{class:(n={nav:!r.isNavBar,"navbar-nav":r.isNavBar,"nav-tabs":r.tabs&&!r.isNavBar,"nav-pills":r.pills&&!r.isNavBar,"flex-column":r.vertical&&!r.isNavBar,"nav-fill":!r.vertical&&r.fill,"nav-justified":!r.vertical&&r.justified},ns(n,(i=r.align,"justify-content-".concat(i="left"===i?"start":"right"===i?"end":i)),!r.vertical&&r.align),ns(n,"small",r.small),n)}),a)}});function os(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var as=Ee(),ss=r.extend({name:"BNavItem",functional:!0,props:function(t){for(var e=1;ee?e:n<1?1:n}function Ns(t){if(t.keyCode===mn.SPACE)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),t.currentTarget.click(),!1}var As={mixins:[ue],model:{prop:"value",event:"input"},props:{disabled:{type:Boolean,default:!1},value:{type:[Number,String],default:null,validator:function(t){var e=parseInt(t,10);return!(!U(t)&&(isNaN(e)||e<1))||(u("pagination: v-model value must be a number greater than 0"),!1)}},limit:{type:[Number,String],default:Es,validator:function(t){var e=parseInt(t,10);return!(isNaN(e)||e<1)||(u('pagination: prop "limit" must be a number greater than 0'),!1)}},size:{type:String,default:"md"},align:{type:String,default:"left"},hideGotoEndButtons:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Pagination"},labelFirstPage:{type:String,default:"Go to first page"},firstText:{type:String,default:"«"},labelPrevPage:{type:String,default:"Go to previous page"},prevText:{type:String,default:"‹"},labelNextPage:{type:String,default:"Go to next page"},nextText:{type:String,default:"›"},labelLastPage:{type:String,default:"Go to last page"},lastText:{type:String,default:"»"},labelPage:{type:[String,Function],default:"Go to page"},hideEllipsis:{type:Boolean,default:!1},ellipsisText:{type:String,default:"…"}},data:function(){var t=parseInt(this.value,10);return{currentPage:t>0?t:-1,localNumPages:1,localLimit:Es}},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":""},computedCurrentPage:function(){return Is(this.currentPage,this.localNumPages)},paginationParams:function(){var t=this.limit,e=this.localNumPages,n=this.computedCurrentPage,i=this.hideEllipsis,r=!1,o=!1,a=t,s=1;return e<=t?a=e:n3?i||(o=!0,a=t-1):e-n+23?(i||(a=t-1,r=!0),s=e-a+1):(t>3&&!i&&(a=t-2,r=o=!0),s=n-Math.floor(a/2)),s<1?s=1:s>e-a&&(s=e-a+1),{showFirstDots:r,showLastDots:o,numLinks:a,startNum:s}},pageList:function(){var t=this.paginationParams,e=t.numLinks,n=t.startNum,i=this.computedCurrentPage,r=function(t,e){return Ps(e).map(function(e,n){return{number:n+t,classes:null}})}(n,e);if(r.length>3){var o=i-n,a="bv-d-xs-down-none";if(0===o)for(var s=3;so+1;c--)r[c].classes=a}}return r}},watch:{value:function(t,e){t!==e&&(this.currentPage=Is(t,this.localNumPages))},currentPage:function(t,e){t!==e&&this.$emit("input",t>0?t:null)},limit:function(t,e){t!==e&&(this.localLimit=js(t))}},created:function(){var t=this;this.localLimit=js(this.limit),this.$nextTick(function(){t.currentPage=t.currentPage>t.localNumPages?t.localNumPages:t.currentPage})},methods:{getButtons:function(){return At("a.page-link",this.$el).filter(function(t){return jt(t)})},setBtnFocus:function(t){t.focus()},focusCurrent:function(){var t=this;this.$nextTick(function(){var e=t.getButtons().find(function(e){return parseInt(Ut(e,"aria-posinset"),10)===t.computedCurrentPage});e&&e.focus?t.setBtnFocus(e):t.focusFirst()})},focusFirst:function(){var t=this;this.$nextTick(function(){var e=t.getButtons().find(function(t){return!It(t)});e&&e.focus&&e!==document.activeElement&&t.setBtnFocus(e)})},focusLast:function(){var t=this;this.$nextTick(function(){var e=t.getButtons().reverse().find(function(t){return!It(t)});e&&e.focus&&e!==document.activeElement&&t.setBtnFocus(e)})},focusPrev:function(){var t=this;this.$nextTick(function(){var e=t.getButtons(),n=e.indexOf(document.activeElement);n>0&&!It(e[n-1])&&e[n-1].focus&&t.setBtnFocus(e[n-1])})},focusNext:function(){var t=this;this.$nextTick(function(){var e=t.getButtons(),n=e.indexOf(document.activeElement);ni,p=n<1?1:n>i?i:n,m={disabled:h,page:p,index:p-1},b=e.normalizeSlot(a,m)||ye(s)||t(!1),g=t(h?"span":Ie,{staticClass:"page-link",props:h?{}:e.linkProps(n),attrs:{role:"menuitem",tabindex:h?null:"-1","aria-label":o,"aria-controls":e.ariaControls||null,"aria-disabled":h?"true":null},on:h?{}:{click:function(t){e.onClick(n,t)},keydown:Ns}},[b]);return t("li",{key:f,staticClass:"page-item",class:{disabled:h,"flex-fill":u},attrs:{role:"none presentation","aria-hidden":h?"true":null}},[g])},h=function(n){return t("li",{key:"ellipsis-".concat(n?"last":"first"),staticClass:"page-item",class:["disabled","bv-d-xs-down-none",u?"flex-fill":""],attrs:{role:"separator"}},[t("span",{staticClass:"page-link"},[e.normalizeSlot("ellipsis-text",{})||ye(e.ellipsisText)||t(!1)])])};n.push(this.hideGotoEndButtons?t(!1):f(1,this.labelFirstPage,"first-text",this.firstText,1,"bookend-goto-first")),n.push(f(l-1,this.labelPrevPage,"prev-text",this.prevText,1,"bookend-goto-prev")),n.push(a?h(!1):t(!1)),this.pageList.forEach(function(o,a){var s=c(o.number)&&!d,l=r?null:s||d&&0===a?"0":"-1",f={role:"menuitemradio","aria-disabled":r?"true":null,"aria-controls":e.ariaControls||null,"aria-label":W(e.labelPage)?e.labelPage(o.number):"".concat(e.labelPage," ").concat(o.number),"aria-checked":s?"true":"false","aria-posinset":o.number,"aria-setsize":i,tabindex:l},h=ye(e.makePage(o.number)),p={page:o.number,index:o.number-1,content:h,active:s,disabled:r},m=t(r?"span":Ie,{props:r?{}:e.linkProps(o.number),staticClass:"page-link",attrs:f,on:r?{}:{click:function(t){e.onClick(o.number,t)},keydown:Ns}},[e.normalizeSlot("page",p)||h]);n.push(t("li",{key:"page-".concat(o.number),staticClass:"page-item",class:[{disabled:r,active:s,"flex-fill":u},o.classes],attrs:{role:"none presentation"}},[m]))}),n.push(s?h(!0):t(!1)),n.push(f(l+1,this.labelNextPage,"next-text",this.nextText,i,"bookend-goto-next")),n.push(this.hideGotoEndButtons?t(!1):f(i,this.labelLastPage,"last-text",this.lastText,i,"bookend-goto-last"));var p=t("ul",{ref:"ul",staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment],attrs:{role:"menubar","aria-disabled":r?"true":"false","aria-label":this.ariaLabel||null},on:{keydown:function(t){var n=t.keyCode,i=t.shiftKey;n===mn.LEFT?(t.preventDefault(),i?e.focusFirst():e.focusPrev()):n===mn.RIGHT&&(t.preventDefault(),i?e.focusLast():e.focusNext())}}},n);return this.isNav?t("nav",{attrs:{"aria-disabled":r?"true":null,"aria-hidden":r?"true":"false"}},[p]):p}},Ms=20,Ds=0;var Fs={perPage:{type:[Number,String],default:Ms},totalRows:{type:[Number,String],default:Ds},ariaControls:{type:String,default:null}},Ls=r.extend({name:"BPagination",mixins:[As],props:Fs,computed:{numberOfPages:function(){var t,e,n=Math.ceil((t=this.totalRows,((e=parseInt(t,10)||Ds)<0?0:e)/function(t){var e=parseInt(t,10)||Ms;return e<1?1:e}(this.perPage)));return n<1?1:n}},watch:{numberOfPages:function(t){t!==this.localNumPages&&(this.localNumPages=t,this.currentPage=1)}},created:function(){var t=this;this.localNumPages=this.numberOfPages;var e=parseInt(this.value,10)||0;e>0?this.currentPage=e:this.$nextTick(function(){t.currentPage=0})},mounted:function(){this.localNumPages=this.numberOfPages},methods:{onClick:function(t,e){var n=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;jt(t)&&n.$el.contains(t)&&t.focus?t.focus():n.focusCurrent()})},makePage:function(t){return t},linkProps:function(t){return{href:"#"}}}}),Vs=st({components:{BPagination:Ls}}),Rs={numberOfPages:{type:[Number,String],default:1,validator:function(t){var e=parseInt(t,10);return!(isNaN(e)||e<1)||(u('b-pagination: prop "number-of-pages" must be a number greater than 0'),!1)}},baseUrl:{type:String,default:"/"},useRouter:{type:Boolean,default:!1},linkGen:{type:Function,default:null},pageGen:{type:Function,default:null},pages:{type:Array,default:null},noPageDetect:{type:Boolean,default:!1},activeClass:{type:String},exact:{type:Boolean,default:!1},exactActiveClass:{type:String},noPrefetch:{type:Boolean,default:!1}},Hs=r.extend({name:"BPaginationNav",mixins:[As],props:Rs,computed:{isNav:function(){return!0},computedValue:function(){var t=parseInt(this.value,10);return isNaN(t)||t<1?null:t}},watch:{numberOfPages:function(t,e){var n=this;this.$nextTick(function(){n.setNumPages()})},pages:function(t,e){var n=this;this.$nextTick(function(){n.setNumPages()})}},created:function(){this.setNumPages()},mounted:function(){var t=this;this.$router&&this.$watch("$route",function(e,n){t.$nextTick(function(){Bt(function(){t.guessCurrentPage()})})})},methods:{setNumPages:function(){var t,e,n=this;m(this.pages)&&this.pages.length>0?this.localNumPages=this.pages.length:this.localNumPages=(t=this.numberOfPages,(e=parseInt(t,10)||1)<1?1:e),this.$nextTick(function(){n.guessCurrentPage()})},onClick:function(t,e){var n=this;t!==this.currentPage&&(Bt(function(){n.currentPage=t,n.$emit("change",t)}),this.$nextTick(function(){try{(e.currentTarget||e.target).blur()}catch(t){}}))},getPageInfo:function(t){if(!m(this.pages)||0===this.pages.length||G(this.pages[t-1])){var e="".concat(this.baseUrl).concat(t);return{link:this.useRouter?{path:e}:e,text:ye(t)}}var n=this.pages[t-1];if(I(n)){var i=n.link;return{link:I(i)?i:this.useRouter?{path:i}:i,text:ye(n.text||t)}}return{link:ye(n),text:ye(t)}},makePage:function(t){var e=this.getPageInfo(t);return this.pageGen&&W(this.pageGen)?this.pageGen(t,e):e.text},makeLink:function(t){var e=this.getPageInfo(t);return this.linkGen&&W(this.linkGen)?this.linkGen(t,e):e.link},linkProps:function(t){var e=this.makeLink(t),n={target:this.target||null,rel:this.rel||null,disabled:this.disabled,exact:this.exact,activeClass:this.activeClass,exactActiveClass:this.exactActiveClass,append:this.append,replace:this.replace,noPrefetch:this.noPrefetch};return this.useRouter||I(e)?n.to=e:n.href=e,n},resolveLink:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(t=document.createElement("a")).href=Ce({to:e},"a","/","/"),document.body.appendChild(t);var n=t,i=n.pathname,r=n.hash,o=n.search;return document.body.removeChild(t),{path:i,hash:r,query:Oe(o)}}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,n=this.$route;if(!this.noPageDetect&&!t&&(o.j||!o.j&&e))for(var i=e&&n?{path:n.path,hash:n.hash,query:n.query}:{},r=o.j?window.location||document.location:null,a=r?{path:r.pathname,hash:r.hash,query:Oe(r.search)}:{},s=1;!t&&s<=this.localNumPages;s++){var l=this.makeLink(s);t=e&&(I(l)||this.useRouter)?Bi(this.resolveRoute(l),i)?s:null:o.j?Bi(this.resolveLink(l),a)?s:null:-1}this.currentPage=t>0?t:0}}}),zs=st({components:{BPaginationNav:Hs}});function Gs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Us(t,e){for(var n=0;n
',trigger:"hover focus",title:"",delay:0,html:!1,placement:"top",offset:0,arrowPadding:6,container:!1,fallbackPlacement:"flip",callbacks:{},boundary:"scrollParent",boundaryPadding:5},nl={WebkitTransition:["webkitTransitionEnd"],MozTransition:["transitionend"],OTransition:["otransitionend","oTransitionEnd"],transition:["transitionend"]},il={passive:!0,capture:!1},rl=1,ol=function(t){return"__BV_".concat(t,"_").concat(rl++,"__")},al=function(){function t(e,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$isEnabled=!0,this.$fadeTimeout=null,this.$hoverTimeout=null,this.$visibleInterval=null,this.$hoverState="",this.$activeTrigger={},this.$popper=null,this.$element=e,this.$tip=null,this.$id=ol(this.constructor.NAME),this.$root=i||null,this.$routeWatcher=null,this.$forceHide=this.forceHide.bind(this),this.$doHide=this.doHide.bind(this),this.$doShow=this.doShow.bind(this),this.$doDisable=this.doDisable.bind(this),this.$doEnable=this.doEnable.bind(this),this._noop=ci.bind(this),this.updateConfig(n)}var e,n,i;return e=t,i=[{key:"getAttachment",value:function(t){return Ys[t.toUpperCase()]}},{key:"Default",get:function(){return el}},{key:"NAME",get:function(){return"tooltip"}}],(n=[{key:"updateConfig",value:function(t){var e=function(t){for(var e=1;e0&&e.forEach(function(e){Rt(t,e)})}},{key:"handlePopperPlacementChange",value:function(t){this.cleanTipClass(),this.addAttachmentClass(this.constructor.getAttachment(t.placement))}},{key:"fixTransition",value:function(t){var e=this.$config.animation||!1;U(Ut(t,"x-placement"))&&(Rt(t,Js),this.$config.animation=!1,this.hide(),this.show(),this.$config.animation=e)}}])&&Us(e.prototype,n),i&&Us(e,i),t}();function sl(t){return(sl="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 ll(t,e){for(var n=0;n

'}),ml="fade",bl="show",gl=".popover-header",vl=".popover-body",yl=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),ul(this,cl(e).apply(this,arguments))}var n,i,r;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dl(t,e)}(e,al),n=e,r=[{key:"Default",get:function(){return pl}},{key:"NAME",get:function(){return"popover"}}],(i=[{key:"isWithContent",value:function(t){if(!(t=t||this.$tip))return!1;var e=Boolean((Mt(gl,t)||{}).innerHTML),n=Boolean((Mt(vl,t)||{}).innerHTML);return e||n}},{key:"addAttachmentClass",value:function(t){Vt(this.getTipElement(),"".concat("bs-popover","-").concat(t))}},{key:"setContent",value:function(t){this.setElementContent(Mt(gl,t),this.getTitle()),this.setElementContent(Mt(vl,t),this.getContent()),Rt(t,ml),Rt(t,bl)}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(hl);!U(e)&&e.length>0&&e.forEach(function(e){Rt(t,e)})}},{key:"getTitle",value:function(){var t=this.$config.title||"";return W(t)&&(t=t(this.$element)),I(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),X(t)&&(t=t.trim()),t||(t=(t=Ut(this.$element,"title")||Ut(this.$element,"data-original-title")||"").trim()),t}},{key:"getContent",value:function(){var t=this.$config.content||"";return W(t)&&(t=t(this.$element)),I(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),X(t)&&(t=t.trim()),t}}])&&ll(n.prototype,i),r&&ll(n,r),e}();function wl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Sl={top:"top",topleft:"topleft",topright:"topright",right:"right",righttop:"righttop",rightbottom:"rightbottom",bottom:"bottom",bottomleft:"bottomleft",bottomright:"bottomright",left:"left",lefttop:"lefttop",leftbottom:"leftbottom",auto:"auto"},xl={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["class","style"]},Tl={props:{target:{type:[String,Object,Li,Function]},offset:{type:[Number,String],default:0},noFade:{type:Boolean,default:!1},container:{type:String,default:null},show:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{localShow:!1}},computed:{baseConfig:function(){var t=this.container,e=I(this.delay)?this.delay:parseInt(this.delay,10)||0;return{title:(this.title||"").trim()||"",content:(this.content||"").trim()||"",placement:Sl[this.placement]||"auto",fallbackPlacement:this.fallbackPlacement||"flip",container:!!t&&(/^#/.test(t)?t:"#".concat(t)),boundary:this.boundary,boundaryPadding:this.boundaryPadding,delay:e||0,offset:this.offset||0,animation:!this.noFade,trigger:m(this.triggers)?this.triggers.join(" "):this.triggers,callbacks:{show:this.onShow,shown:this.onShown,hide:this.onHide,hidden:this.onHidden,enabled:this.onEnabled,disabled:this.onDisabled}}}},watch:{show:function(t,e){t!==e&&(t?this.onOpen():this.onClose())},disabled:function(t,e){t!==e&&(t?this.onDisable():this.onEnable())},localShow:function(t,e){t!==this.show&&this.$emit("update:show",t)}},created:function(){this._toolpop=null,this._obs_title=null,this._obs_content=null},mounted:function(){var t=this;this.$nextTick(function(){t.createToolpop()&&(t.disabled&&t.onDisable(),t.$on("open",t.onOpen),t.$on("close",t.onClose),t.$on("disable",t.onDisable),t.$on("enable",t.onEnable),t.setObservers(!0),t.show&&t.onOpen())})},updated:function(){this._toolpop&&this._toolpop.updateConfig(this.getConfig())},activated:function(){this.setObservers(!0)},deactivated:function(){this._toolpop&&(this.setObservers(!1),this._toolpop.hide())},beforeDestroy:function(){this.$off("open",this.onOpen),this.$off("close",this.onClose),this.$off("disable",this.onDisable),this.$off("enable",this.onEnable),this.setObservers(!1),this.bringItBack(),this._toolpop&&(this._toolpop.destroy(),this._toolpop=null)},methods:{getConfig:function(){var t=function(t){for(var e=1;e0&&B(t).forEach(function(e){var i=Gl(e,t[e]);i&&n.push(i)}),0===n.length&&m(e)&&e.length>0){var i=e[0];B(i).forEach(function(t){Vl[t]||n.push({key:t,label:Ll(t)})})}var r={};return n.filter(function(t){return!r[t.key]&&(r[t.key]=!0,t.label=X(t.label)?t.label:Ll(t.key),!0)})},Wl={props:{items:{type:Array,default:function(){return[]}},fields:{type:[Array,Object],default:null},primaryKey:{type:String,default:null},value:{type:Array,default:function(){return[]}}},data:function(){return{localItems:m(this.items)?this.items.slice():[]}},computed:{computedFields:function(){return Ul(this.fields,this.localItems)},computedFieldsObj:function(){return this.computedFields.reduce(function(t,e){return e[t.key]=t,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:parseInt(this.perPage,10)||0,currentPage:parseInt(this.currentPage,10)||1,apiUrl:this.apiUrl}}},watch:{items:function(t){m(t)?this.localItems=t.slice():(G(t)||U(t))&&(this.localItems=[])},computedItems:function(t){this.$emit("input",t)},context:function(t,e){Bi(t,e)||this.$emit("context-changed",t)}},mounted:function(){this.$emit("input",this.computedItems)}};function Yl(t){return B(t).reduce(function(e,n){return Vl[n]||(e[n]=t[n]),e},{})}function Xl(t){return G(t)||U(t)?"":t instanceof Object&&!(t instanceof Date)?B(t).sort().filter(function(t){return!G(t)&&!U(t)}).map(function(e){return Xl(t[e])}).join(" "):String(t)}var ql='Supplying a function to prop "filter" is deprecated. Use "filter-function" instead.',Kl={props:{filter:{type:[String,RegExp,Object,Array,Function],default:null,deprecation:ql},filterFunction:{type:Function,default:null}},data:function(){return{isFiltered:!1}},computed:{localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilter:function(){return W(this.filter)?"":!this.localFiltering||W(this.filterFunction)||X(this.filter)||J(this.filter)?L(this.filter):""},localFilterFn:function(){var t=this.filter,e=this.filterFunction;return W(e)?e:W(t)?(u("b-table: ".concat(ql)),t):null},filteredItems:function(){var t=this.localItems||[],e=this.localFilter,n=this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e);return this.localFiltering&&n&&t.length>0&&(t=t.filter(n)),t}},watch:{filteredCheck:function(t){var e,n=t.filteredItems,i=(t.localItems,t.localFilter);(e=!!i&&(!Bi(i,[])&&!Bi(i,{})&&!!i))&&this.$emit("filtered",n,n.length),this.isFiltered=e},isFiltered:function(t,e){!1===t&&!0===e&&this.$emit("filtered",this.localItems,this.localItems.length)}},created:function(){var t=this;this.$nextTick(function(){t.isFiltered=Boolean(t.localFilter)})},methods:{filterFnFactory:function(t,e){if(!t||!W(t)||!e||Bi(e,[])||Bi(e,{}))return null;return function(n){return t(n,e)}},defaultFilterFnFactory:function(t){if(!t||!X(t)&&!J(t))return null;var e=t;if(X(e)){var n=t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&").replace(/[\s\uFEFF\xA0]+/g,"\\s+");e=new RegExp(".*".concat(n,".*"),"i")}return function(t){return e.lastIndex=0,e.test((n=t)instanceof Object?Xl(Yl(n)):"");var n}}}},Jl=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]})};var Zl={props:{sortBy:{type:String,default:null},sortDesc:{type:Boolean,default:!1},sortDirection:{type:String,default:"asc",validator:function(t){return b(["asc","desc","last"],t)}},sortCompare:{type:Function,default:null},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}},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,n=this.localSortDesc,i=this.sortCompare,r=this.localSorting;return e&&r?Jl(t,function(t,r){var o=null;return W(i)&&(o=i(t,r,e,n)),(G(o)||U(o)||!1===o)&&(o=function(t,e,n){return t=V(t,n,""),e=V(e,n,""),K(t)&&K(e)||q(t)&&q(e)?te?1:0:Xl(t).localeCompare(Xl(e),void 0,{numeric:!0})}(t,r,e)),(o||0)*(n?-1:1)}):t}},watch:{isSortable:function(t,e){t?this.isSortable&&this.$on("head-clicked",this.handleSort):this.$off("head-clicked",this.handleSort)},sortDesc:function(t,e){t!==this.localSortDesc&&(this.localSortDesc=t||!1)},sortBy:function(t,e){t!==this.localSortBy&&(this.localSortBy=t||null)},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,n,i){var r=this;if(this.isSortable&&(!i||!this.noFooterSorting)){var o=!1,a=function(){var t=e.sortDirection||r.sortDirection;"asc"===t?r.localSortDesc=!1:"desc"===t&&(r.localSortDesc=!0)};e.sortable?(t===this.localSortBy?this.localSortDesc=!this.localSortDesc:(this.localSortBy=t,a()),o=!0):this.localSortBy&&!this.noSortReset&&(this.localSortBy=null,a(),o=!0),o&&this.$emit("sort-changed",this.context)}},sortTheadThClasses:function(t,e,n){return{}},sortTheadThAttrs:function(t,e,n){if(!this.isSortable||n&&this.noFooterSorting)return{};var i=e.sortable,r="";e.label&&e.label.trim()||e.headerTitle||(r=Ll(t));var o="";if(i)if(this.localSortBy===t)o=this.localSortDesc?this.labelSortAsc:this.labelSortDesc;else{o=this.localSortDesc?this.labelSortDesc:this.labelSortAsc;var a=this.sortDirection||e.sortDirection;"asc"===a?o=this.labelSortAsc:"desc"===a&&(o=this.labelSortDesc)}else this.noSortReset||(o=this.localSortBy?this.labelSortClear:"");return{"aria-label":(r=[r.trim(),o.trim()].filter(Boolean).join(": "))||null,"aria-sort":i&&this.localSortBy===t?this.localSortDesc?"descending":"ascending":i?"none":null}}}},Ql={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=Math.max(parseInt(this.currentPage,10)||1,1),n=Math.max(parseInt(this.perPage,10)||0,0);return this.localPaging&&n&&(t=t.slice((e-1)*n,e*n)),t}}},tu={props:{caption:{type:String,default:null},captionHtml:{type:String},captionTop:{type:Boolean,default:!1}},computed:{captionClasses:function(){return{"b-table-caption-top":this.captionTop}},captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var t=this.$createElement,e=this.normalizeSlot("table-caption",{}),n=t(!1);if(e||this.caption||this.captionHtml){var i={key:"caption",class:this.captionClasses,attrs:{id:this.captionId}};e||(i.domProps=Re(this.captionHtml,this.caption)),n=t("caption",i,[e])}return n}}},eu={methods:{renderColgroup:function(){var t=this.$createElement,e=this.computedFields,n=t(!1);return this.hasNormalizedSlot("table-colgroup")&&(n=t("colgroup",{key:"colgroup"},[this.normalizeSlot("table-colgroup",{columns:e.length,fields:e})])),n}}};function nu(t){if(t&&t.target){var e=t.target;if("TD"===e.tagName||"TH"===e.tagName||"TR"===e.tagName||e.disabled)return!1;if(Ft(".dropdown-menu",e))return!0;var n="LABEL"===e.tagName?e:Ft("label",e);return!(!n||!n.control||n.control.disabled)||Dt(e,Rl)}}function iu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=window;if(e&&e.getSelection&&""!==e.getSelection().toString()&&Et(t)){var n=e.getSelection();return!!n.containsNode&&n.containsNode(t,!0)}return!1}function ru(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0],n=this.$createElement;if(!0===this.isStacked)return n(!1);var i=this.computedFields||[],r=i.map(function(i,r){var o=null;i.label.trim()||i.headerTitle||(o=Ll(i.key));var a=t.$listeners["head-clicked"]||t.isSortable,s={};a&&(s.click=function(n){t.headClicked(n,i,e)},s.keydown=function(n){var r=n.keyCode;r!==mn.ENTER&&r!==mn.SPACE||t.headClicked(n,i,e)});var l=t.isSortable?t.sortTheadThAttrs(i.key,i,e):{},u=t.isSortable?t.sortTheadThClasses(i.key,i,e):null,c={key:i.key,class:[t.fieldClasses(i),u],style:i.thStyle||{},attrs:ru({tabindex:a?"0":null,abbr:i.headerAbbr||null,title:i.headerTitle||null,role:"columnheader",scope:"col","aria-colindex":String(r+1),"aria-label":o},l),on:s},d={label:i.label,column:i.key,field:i},f=e&&t.hasNormalizedSlot("FOOT_".concat(i.key))?t.normalizeSlot("FOOT_".concat(i.key),d):t.normalizeSlot("HEAD_".concat(i.key),d);return f||(c.domProps=Re(i.labelHtml)),n("th",c,f||i.label)}).filter(function(t){return t}),o=[];if(e)o.push(n("tr",{class:this.tfootTrClass,attrs:{role:"row"}},r));else{var a={columns:i.length,fields:i};o.push(this.normalizeSlot("thead-top",a)||n(!1)),o.push(n("tr",{class:this.theadTrClass,attrs:{role:"row"}},r))}return n(e?"tfoot":"thead",{key:e?"tfoot":"thead",class:e?this.footClasses:this.headClasses,attrs:{role:"rowgroup"}},o)}}},su={props:{footClone:{type:Boolean,default:!1},footVariant:{type:String,default:function(){return bt("BTable","footVariant")}},tfootClass:{type:[String,Array,Object],default:null},tfootTrClass:{type:[String,Array,Object],default:null}},computed:{footClasses:function(){var t=this.footVariant||this.headVariant||null;return[t?"thead-".concat(t):"",this.tfootClass]}},methods:{renderTfoot:function(){var t=this.$createElement;return this.footClone?this.renderThead(!0):t(!1)}}};function lu(t){for(var e=1;e0?o[a-1].focus():i===mn.DOWN&&a0&&(h=String((this.currentPage-1)*this.perPage+e+1));var p=this.primaryKey,m=!p||G(t[p])||U(t[p])?String(e):ye(t[p]),b=!p||G(t[p])||U(t[p])?null:this.safeId("_row_".concat(t[p])),g={};s&&(g.click=function(i){n.rowClicked(i,t,e)},g.keydown=function(i){n.tbodyRowKeydown(i,t,e)});var v=this.selectableRowClasses?this.selectableRowClasses(e):{},y=this.selectableRowAttrs?this.selectableRowAttrs(e):{};if(c.push(i("tr",{key:"__b-table-row-".concat(m,"__"),ref:"itemRows",refInFor:!0,class:[this.rowClasses(t),v,{"b-table-has-details":u}],attrs:lu({id:b,tabindex:s?"0":null,"data-pk":b?String(t[p]):null,"aria-describedby":d,"aria-owns":d,"aria-rowindex":h,role:"row"},y),on:lu({},g,{auxclick:function(i){2===i.which&&n.middleMouseRowClicked(i,t,e)},contextmenu:function(i){n.rowContextmenu(i,t,e)},dblclick:function(i){n.rowDblClicked(i,t,e)},mouseenter:function(i){n.rowHovered(i,t,e)},mouseleave:function(i){n.rowUnhovered(i,t,e)}})},f)),u){var w={id:d,role:"row"},S=i("td",{attrs:{colspan:String(o.length),role:"cell"}},[l({item:t,index:e,fields:o,toggleDetails:function(){l&&n.$set(t,"_showDetails",!t._showDetails)}})]);a&&c.push(i("tr",{key:"__b-table-details-".concat(e,"-stripe__"),staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"}})),c.push(i("tr",{key:"__b-table-details-".concat(e,"__"),staticClass:"b-table-details",class:[W(this.tbodyTrClass)?this.tbodyTrClass(t,"row-details"):this.tbodyTrClass],attrs:w},[S]))}else l&&(c.push(i(!1)),a&&c.push(i(!1)));return c}}}],props:{tbodyClass:{type:[String,Array],default:null},tbodyTransitionProps:{type:Object},tbodyTransitionHandlers:{type:Object}},methods:{renderTbody:function(){var t=this,e=this.$createElement,n=this.computedItems,i=[],r=this.renderBusy?this.renderBusy():null;r?i.push(r):(i.push(this.renderTopRow?this.renderTopRow():e(!1)),n.forEach(function(e,n){i.push(t.renderTbodyRow(e,n))}),i.push(this.renderEmpty?this.renderEmpty():e(!1)),i.push(this.renderBottomRow?this.renderBottomRow():e(!1)));var o=this.tbodyTransitionProps||this.tbodyTransitionHandlers,a={},s={};return o&&(s=this.tbodyTransitionHandlers||{},a=function(t){for(var e=1;e0){n=m(t)&&m(e)&&t.length===e.length;for(var i=0;n&&i-1&&n.shiftKey){for(var a=Math.min(this.selectedLastRow,e);a<=Math.max(this.selectedLastRow,e);a++)i[a]=!0;r=!0}else n.ctrlKey||n.metaKey||(i=[],r=!0),this.selectedLastRow=r?e:-1;i[e]=r,this.selectedRows=i}else this.clearSelected()}}};function vu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var yu={mixins:[xi],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 this.items instanceof Function},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),function(t){for(var e=1;e0&&!this.computedBusy,"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-stacked":!0===this.stacked||""===this.stacked},"b-table-stacked-".concat(this.stacked),!0!==this.stacked&&this.stacked),this.selectableTableClasses]},tableAttrs:function(){var t=[(this.$attrs||{})["aria-describedby"],this.captionId].filter(Boolean).join(" ")||null,e=this.computedItems,n=this.computedFields,i=this.selectableTableAttrs||{};return function(t){for(var e=1;ee.length?String(this.filteredItems.length):null},this.$attrs,{id:this.safeId(),role:this.isStacked?"table":null,"aria-busy":this.computedBusy?"true":"false","aria-colcount":String(n.length),"aria-describedby":t},i)}},render:function(t){var e=this.renderCaption?this.renderCaption():null,n=this.renderColgroup?this.renderColgroup():null,i=this.renderThead(),r=this.renderTfoot(),o=this.renderTbody(),a=t("table",{key:"b-table",staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs},[e,n,i,r,o].filter(Boolean));return this.isResponsive?t("div",{key:"b-table-responsive",class:this.responsiveClass},[a]):a}},xu=r.extend({name:"BTable",mixins:[hi,ue,Wl,Su,au,su,du,Kl,Zl,Ql,tu,eu,gu,fu,hu,pu,mu,yu]}),Tu=r.extend({name:"BTableLite",mixins:[hi,ue,Wl,Su,au,su,du,tu,eu]}),ku=st({components:{BTable:xu,BTableLite:Tu}});function Ou(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Bu=A(is,["tabs","isNavBar"]),Cu=function(t){return!t.disabled},_u=r.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(){this.$refs&&this.$refs.link&&this.$refs.link.focus&&this.$refs.link.focus()},handleEvt:function(t){function e(){t.preventDefault(),t.stopPropagation()}if(!this.tab.disabled){var n=t.type,i=t.keyCode,r=t.shiftKey;"click"===n?(e(),this.$emit("click",t)):"keydown"!==n||this.noKeyNav||i!==mn.SPACE?"keydown"!==n||this.noKeyNav||(i===mn.UP||i===mn.LEFT||i===mn.HOME?(e(),r||i===mn.HOME?this.$emit("first",t):this.$emit("prev",t)):i!==mn.DOWN&&i!==mn.RIGHT&&i!==mn.END||(e(),r||i===mn.END?this.$emit("last",t):this.$emit("next",t))):(e(),this.$emit("click",t))}}},render:function(t){var e=t(Ie,{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:{href:this.tab.href,disabled:this.tab.disabled},attrs:{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])}}),$u=r.extend({name:"BTabs",mixins:[hi,ue],provide:function(){return{bvTabs:this}},model:{prop:"value",event:"input"},props:function(t){for(var e=1;e0){var n=t.map(function(t){return"#".concat(t.safeId())}).join(", ");e=At(n,this.$el).map(function(t){return t.id}).filter(Boolean)}return Jl(t,function(t,n){return e.indexOf(t.safeId())-e.indexOf(n.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 n=this.currentTab;n>=t.length?e=t.indexOf(t.slice().reverse().find(Cu)):t[n]&&!t[n].disabled&&(e=n)}e<0&&(e=t.indexOf(t.find(Cu))),t.forEach(function(t,e){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 n=this.tabs.indexOf(t);!t.disabled&&n>-1&&(e=!0,this.currentTab=n)}return e||this.$emit("input",this.currentTab),e},deactivateTab:function(t){return!!t&&this.activateTab(this.tabs.filter(function(e){return e!==t}).find(Cu))},focusButton:function(t){var e=this;this.$nextTick(function(){var n=e.getButtonForTab(t);n&&n.focus&&n.focus()})},emitTabClick:function(t,e){e&&e instanceof Event&&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(Cu);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))},previousTab:function(t){var e=Math.max(this.currentTab,0),n=this.tabs.slice(0,e).reverse().find(Cu);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},nextTab:function(t){var e=Math.max(this.currentTab,-1),n=this.tabs.slice(e+1).find(Cu);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(Cu);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))}},render:function(t){var e=this,n=this.tabs,i=n.find(function(t){return t.localActive&&!t.disabled}),r=n.find(function(t){return!t.disabled}),o=n.map(function(o,a){var s=null;return e.noKeyNav||(s=-1,(i===o||!i&&r===o)&&(s=null)),t(_u,{key:o._uid||a,ref:"buttons",refInFor:!0,props:{tab:o,tabs:n,id:o.controlledBy||(e.tab&&e.tab.safeId?e.tab.safeId("_BV_tab_button_"):null),controls:e.tab&&e.tab.safeId?e.tab.safeId():null,tabIndex:s,setSize:n.length,posInSet:a+1,noKeyNav:e.noKeyNav},on:{click:function(t){e.clickTab(o,t)},first:e.firstTab,prev:e.previousTab,next:e.nextTab,last:e.lastTab}})}),a=t(rs,{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}},[o,this.normalizeSlot("tabs")]);a=t("div",{key:"bv-tabs-nav",class:[{"card-header":this.card&&!this.vertical&&!(this.end||this.bottom),"card-footer":this.card&&!this.vertical&&(this.end||this.bottom),"col-auto":this.vertical},this.navWrapperClass]},[a]);var s=t(!1);n&&0!==n.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_")}},g(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||this.bottom?l:t(!1),[a],this.end||this.bottom?t(!1):l])}}),Pu='Setting prop "href" is deprecated. Use the component instead.',Eu=r.extend({name:"BTab",mixins:[hi,ue],inject:{bvTabs:{default:function(){return{noKeyNav:!0}}}},props:{active:{type:Boolean,default:!1},tag:{type:String,default:"div"},buttonId:{type:String,default:""},title:{type:String,default:""},titleItemClass:{type:[String,Array,Object],default:null},titleLinkClass:{type:[String,Array,Object],default:null},headHtml:{type:String,default:null},disabled:{type:Boolean,default:!1},noBody:{type:Boolean,default:!1},href:{type:String,default:"#",deprecated:Pu},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,e){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,this.href&&"#"!==this.href&&u("b-tab: ".concat(Pu))},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(),tabindex:this.localActive&&!this.bvTabs.noKeyNav?"-1":null,"aria-hidden":this.localActive?"false":"true","aria-labelledby":this.controlledBy||null}},[this.localActive||!this.computedLazy?this.normalizeSlot("default"):t(!1)]);return t(ae,{props:{mode:"out-in",noFade:this.computedNoFade}},[e])}}),ju=st({components:{BTabs:$u,BTab:Eu}}),Iu=n("K4j9"),Nu={name:{type:String,required:!0},ariaLive:{type:String,default:function(){return bt("BToaster","ariaLive")}},ariaAtomic:{type:String,default:function(){return bt("BToaster","ariaAtomic")}},role:{type:String,default:function(){return bt("BToaster","role")}}},Au=r.extend({data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(t){var e=this;Bt(function(){Rt(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)}}),Mu=r.extend({name:"BToaster",props:Nu,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var t=this;this.staticName=this.name,Iu.Wormhole.hasTarget(this.staticName)?(u("b-toaster: A with name '".concat(this.name,"' already exists in the document.")),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 n=t(Iu.PortalTarget,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:Au}});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}},[n])}return e}});function Du(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return new Hi(t,Du({cancelable:!1,target:this.$el||null,relatedTarget:null},e,{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(t){var e=t.type;this.$root.$emit("bv::toast:".concat(e),t),this.$emit(e,t)},ensureToaster:function(){if(!this.static&&!Iu.Wormhole.hasTarget(this.computedToaster)){var t=document.createElement("div");document.body.appendChild(t),new Mu({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=t?$t:Pt;e(this.$refs.btoast,"mouseenter",this.onPause,Lu),e(this.$refs.btoast,"mouseleave",this.onUnPause,Lu)},onPause:function(t){if(!this.noAutoHide&&!this.noHoverPause&&this.timer&&!this.resumeDismiss){var e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=Math.max(this.computedDuration-e,1e3))}},onUnPause:function(t){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var t=this;this.$nextTick(function(){Bt(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,n=[],i=this.normalizeSlot("toast-title",this.slotScope);i?n.push(i):this.title&&n.push(t("strong",{staticClass:"mr-2"},this.title)),this.noCloseButton||n.push(t(de,{staticClass:"ml-auto mb-1",on:{click:function(t){e.hide()}}}));var r=t(!1);n.length>0&&(r=t("header",{staticClass:"toast-header",class:this.headerClass},n));var o=this.href||this.to,a=t(o?Ie:"div",{staticClass:"toast-body",class:this.bodyClass,props:o?{to:this.to,href:this.href}:{},on:o?{click:this.onLinkClick}:{}},[this.normalizeSlot("default",this.slotScope)||t(!1)]);return t("div",{key:"toast-".concat(this._uid),ref:"toast",staticClass:"toast",class:this.toastClass,attrs:Du({},this.$attrs,{tabindex:"0",id:this.safeId()})},[r,a])}},render:function(t){if(!this.doRender||!this.isMounted)return t(!1);var e="b-toast-".concat(this._uid);return t(Iu.Portal,{props:{name:e,to:this.computedToaster,order:this.order,slim:!0,disabled:this.static}},[t("div",{key:e,ref:"btoast",staticClass:"b-toast",class:this.bToastClasses,attrs:{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(ae,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(t):t(!1)])])])}});function Hu(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};t&&!s("$bvToast")&&function(t,n){if(!s("$bvToast")){var i=new e({parent:n,propsData:zu({},Yu(bt("BToast")||{}),A(t,B(Wu)),{static:!1,visible:!0})});B(Wu).forEach(function(e){var r=t[e];G(r)||("title"===e&&X(r)&&(r=[n.$createElement("strong",{class:"mr-2"},r)]),i.$slots[Wu[e]]=g(r))});var r=document.createElement("div");document.body.appendChild(r),i.$mount(r)}}(zu({},Yu(n),{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)}}])&&Hu(n.prototype,i),r&&Hu(n,r),t}();t.mixin({beforeCreate:function(){this._bv__toast=new n(this)}}),t.prototype.hasOwnProperty("$bvToast")||_(t.prototype,"$bvToast",{get:function(){return this&&this._bv__toast||a("'".concat("$bvToast","' must be accessed from a Vue instance 'this' context")),this._bv__toast}})}}}),qu=st({components:{BToast:Ru,BToaster:Mu},plugins:{BVToastPlugin:Xu}}),Ku=r.extend({name:"BTooltip",mixins:[Tl,ue],props:{title:{type:String,default:""},triggers:{type:[String,Array],default:"hover focus"},placement:{type:String,default:"top"},fallbackPlacement:{type:[String,Array],default:"flip",validator:function(t){return m(t)||b(["flip","clockwise","counterclockwise"],t)}},delay:{type:[Number,Object,String],default:function(){return bt("BTooltip","delay")}},boundary:{type:[String,Li],default:function(){return bt("BTooltip","boundary")}},boundaryPadding:{type:Number,default:function(){return bt("BTooltip","boundaryPadding")}}},data:function(){return{}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new al(t,this.getConfig(),this.$root):(this._toolpop=null,u("b-tooltip: 'target' element not found!")),this._toolpop}},render:function(t){return t("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[t("div",{ref:"title"},this.normalizeSlot("default"))])}});function Ju(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Zu="__BV_ToolTip__",Qu={focus:!0,hover:!0,click:!0,blur:!0},tc=function(t){var e="BTooltip",n={delay:bt(e,"delay"),boundary:String(bt(e,"boundary")),boundaryPadding:parseInt(bt(e,"boundaryPadding"),10)||0};X(t.value)?n.title=t.value:W(t.value)?n.title=t.value:I(t.value)&&(n=function(t){for(var e=1;e=n){var i=this.$targets[this.$targets.length-1];this.$activeTarget!==i&&this.activate(i)}else{if(this.$activeTarget&&t0)return this.$activeTarget=null,void this.clear();for(var r=this.$offsets.length;r--;){this.$activeTarget!==this.$targets[r]&&t>=this.$offsets[r]&&(G(this.$offsets[r+1])||t0&&this.$root&&this.$root.$emit("bv::scrollspy::activate",t,n)}},{key:"clear",value:function(){var t=this;At("".concat(this.$selector,", ").concat(hc.NAV_ITEMS),this.$el).filter(function(t){return Ht(t,fc)}).forEach(function(e){return t.setActiveState(e,!1)})}},{key:"setActiveState",value:function(t,e){t&&(e?Vt(t,fc):Rt(t,fc))}}])&&lc(e.prototype,n),i&&lc(e,i),t}(),wc="__BV_ScrollSpy__",Sc=function(t,e,n){if(o.j){var i=function(t){var e={};return t.arg&&(e.element="#".concat(t.arg)),B(t.modifiers).forEach(function(t){/^\d+$/.test(t)?e.offset=parseInt(t,10):/^(auto|position|offset)$/.test(t)&&(e.method=t)}),X(t.value)?e.element=t.value:q(t.value)?e.offset=Math.round(t.value):I(t.value)&&B(t.value).filter(function(t){return Boolean(yc.DefaultType[t])}).forEach(function(n){e[n]=t.value[n]}),e}(e);t[wc]?t[wc].updateConfig(i,n.context.$root):t[wc]=new yc(t,i,n.context.$root)}},xc={bind:function(t,e,n){Sc(t,e,n)},inserted:function(t,e,n){Sc(t,e,n)},update:function(t,e,n){e.value!==e.oldValue&&Sc(t,e,n)},componentUpdated:function(t,e,n){e.value!==e.oldValue&&Sc(t,e,n)},unbind:function(t){!function(t){t[wc]&&(t[wc].dispose(),t[wc]=null,delete t[wc])}(t)}},Tc=st({directives:{VBScrollspy:xc}}),kc=st({directives:{VBToggle:Di}}),Oc=st({directives:{VBTooltip:nc}}),Bc={install:at({plugins:{componentsPlugin:rc,directivesPlugin:st({plugins:{VBModalPlugin:oc,VBPopoverPlugin:ac,VBScrollspyPlugin:Tc,VBTogglePlugin:kc,VBTooltipPlugin:Oc}})}}),setConfig:et},Cc=n("4Wae"),_c=n.n(Cc),$c=n("kGIl"),Pc=n.n($c),Ec=n("YlT8"),jc=n.n(Ec),Ic=function(t,e,n){var i=n.includeSeconds,r=n.addSuffix;return void 0===r&&(r=!0),jc()(t,{locale:e,includeSeconds:i,addSuffix:r})},Nc=function(t,e){if(!t.prototype.$timeago){var n={locale:e.locale};t.prototype.$timeago=t.observable?t.observable(n):new t({data:n});var i=function(t){void 0===t&&(t={});var e=t.locales||{};return{name:t.name||"Timeago",props:{datetime:{required:!0},title:{type:[String,Boolean]},locale:{type:String},autoUpdate:{type:[Number,Boolean]},converter:{type:Function},converterOptions:{type:Object}},data:function(){return{timeago:this.getTimeago()}},computed:{localeName:function(){return this.locale||this.$timeago.locale}},mounted:function(){this.startUpdater()},beforeDestroy:function(){this.stopUpdater()},render:function(t){return t("time",{attrs:{datetime:new Date(this.datetime),title:"string"==typeof this.title?this.title:!1===this.title?null:this.timeago}},[this.timeago])},methods:{getTimeago:function(n){return(this.converter||t.converter||Ic)(n||this.datetime,e[this.locale||this.$timeago.locale],this.converterOptions||{})},convert:function(t){this.timeago=this.getTimeago(t)},startUpdater:function(){var t=this;if(this.autoUpdate){var e=!0===this.autoUpdate?60:this.autoUpdate;this.updater=setInterval(function(){t.convert()},1e3*e)}},stopUpdater:function(){this.updater&&(clearInterval(this.updater),this.updater=null)}},watch:{autoUpdate:function(t){this.stopUpdater(),t&&this.startUpdater()},datetime:function(){this.convert()},localeName:function(){this.convert()},converter:function(){this.convert()},converterOptions:{handler:function(){this.convert()},deep:!0}}}}(e);t.component(i.name,i)}};n("GUC0");function Ac(t){return(Ac="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)}window.Vue=n("XuX8"),Vue.use(Bc),Vue.use(_c.a),Vue.use(Pc.a),Vue.use(Nc,{name:"Timeago",locale:"en"}),pixelfed.readmore=function(){$(".read-more").each(function(t,e){var n=$(this),i=n.attr("data-readmore");"undefined"!==Ac(i)&&!1!==i||n.readmore({collapsedHeight:45,heightMargin:48,moreLink:'Read more ...',lessLink:'Hide'})})};try{document.createEvent("TouchEvent"),$("body").addClass("touch")}catch(t){}window.filesize=n("SdWe"),window.pixelfed.n={},$(document).ready(function(){$(function(){$('[data-toggle="tooltip"]').tooltip()})});console.log("%cStop!","color:red; font-size:60px; font-weight: bold; -webkit-text-stroke: 1px black;"),console.log('%cThis is a browser feature intended for developers. If someone told you to copy and paste something here to enable a Pixelfed feature or "hack" someone\'s account, it is a scam and will give them access to your Pixelfed account.',"font-size: 18px;")},"A2j+":function(t,e,n){n("y/xV"),t.exports=n("IMlG").Object.is},BMGi:function(t,e,n){var i=n("GUnJ"),r=n("Boo/"),o=n("UaRJ"),a=n("0dze")("IE_PROTO"),s=function(){},l=function(){var t,e=n("XQy5")("iframe"),i=o.length;for(e.style.display="none",n("CBVc").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("