(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{2:function(t,e,n){t.exports=n("9rzN")},"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 b=p.exports;function g(t){"production"!==u.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(t))}var m={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 O=h({name:"InfiniteLoading",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:s.READY,slots:u.slots}},components:{Spinner:b},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)?m.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||g(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||g(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(){m.reset(),t.scrollHandler()},1),e&&e.target===t||g(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,m.reset()}},this.onInfinite&&g(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&&(m.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);O.options.__file="InfiniteLoading.vue";var S=O.exports;function T(t){u.mode=t.config.productionTip?"development":"production"}Object.defineProperty(S,"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",S),T(t)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",S),T(window.Vue)),e.default=S}])},"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)}}},"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 d(e)?e.reduce(function(e,n){return[].concat(D(e),[t(n,n)])},[]):P(e)?y(e).reduce(function(n,i){return j({},n,E({},i,t(e[i],e[i])))},{}):n},N=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!(e=d(e)?e.join("."):e)||!x(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 x(t)&&e in t&&null!=(t=t[e])})?t:n};function A(t){return(A="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 M=function(t){return A(t)},F=function(t){return Object.prototype.toString.call(t).slice(8,-1)},L=function(t){return void 0===t},V=function(t){return null===t},R=function(t){return"function"===M(t)},H=function(t){return"boolean"===M(t)},z=function(t){return"string"===M(t)},G=function(t){return"number"===M(t)},U=function(t){return t instanceof Date},W=function(t){return"RegExp"===F(t)},Y=function t(e){return y(e).forEach(function(n){var i=e[n];e[n]=i&&(P(i)||d(i))?t(i):i}),S(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"},BPopover:{boundary:"scrollParent",boundaryPadding:5,customClass:null,delay:0,variant:null},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:{boundary:"scrollParent",boundaryPadding:5,customClass:null,delay:0,variant:null}});function q(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};if(P(e)){var n=v(e);n.forEach(function(n){if(k(Y,n)){var i=e[n];if("breakpoints"===n){var r=e.breakpoints;!d(r)||r.length<2||r.some(function(t){return!z(t)||0===t.length})?u('config: "breakpoints" must be an array of at least 2 breakpoint names'):t.$_config.breakpoints=I(r)}else if(P(i)){v(i).forEach(function(e){k(Y[n],e)?(t.$_config[n]=t.$_config[n]||{},L(i[e])||(t.$_config[n][e]=I(i[e]))):u('config: unknown config property "'.concat(n,'.{$prop}"'))})}}else u('config: unknown config property "'.concat(n,'"'))})}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return I(this.$_config)}},{key:"getConfigValue",value:function(t){return I(N(this.$_config,t,N(Y,t)))}},{key:"defaults",get:function(){return Y}}])&&q(e.prototype,n),i&&q(e,i),t}(),K=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 X,e.prototype.$bvConfig.setConfig(t)};function Z(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function J(t){for(var e=1;e0&&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,nt(r),K(o,r),st(r,e),ut(r,n),ot(r,i))};return r.installed=!1,r},rt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return J({},e,{install:it(t)})},ot=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])},at=function(t,e,n){t&&e&&n&&t.component(e,n)},st=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)at(t,n,e[n])},lt=function(t,e,n){t&&e&&n&&t.directive(e.replace(/^VB/,"B"),n)},ut=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)lt(t,n,e[n])},ct=function(t){var e=T(null);return function(){for(var n=arguments.length,i=new Array(n),r=0;r1&&void 0!==arguments[1]?arguments[1]:null;return e?ft("".concat(t,".").concat(e)):ft(t)||{}},pt=function(){return ft("breakpoints")},bt=ct(function(){return pt()}),gt=function(){return I(bt())},mt=ct(function(){var t=gt();return t[0]="",t}),vt=o.i?window:{},yt=o.b?document:{},wt="undefined"!=typeof Element?Element.prototype:{},Ot=wt.matches||wt.msMatchesSelector||wt.webkitMatchesSelector,St=wt.closest||function(t){var e=this;do{if(It(e,t))return e;e=e.parentElement||e.parentNode}while(!V(e)&&e.nodeType===Node.ELEMENT_NODE);return null},Tt=vt.requestAnimationFrame||vt.webkitRequestAnimationFrame||vt.mozRequestAnimationFrame||vt.msRequestAnimationFrame||vt.oRequestAnimationFrame||function(t){return setTimeout(t,16)},kt=vt.MutationObserver||vt.WebKitMutationObserver||vt.MozMutationObserver||null,xt=function(t){return o.e?x(t)?t:{useCapture:Boolean(t||!1)}:Boolean(x(t)?t.useCapture:t)},Pt=function(t,e,n,i){t&&t.addEventListener&&t.addEventListener(e,n,xt(i))},Bt=function(t,e,n,i){t&&t.removeEventListener&&t.removeEventListener(e,n,xt(i))},Ct=function(t){return Boolean(t&&t.nodeType===Node.ELEMENT_NODE)},_t=function(t){if(!Ct(t)||!At(yt.body,t))return!1;if("none"===t.style.display)return!1;var e=Gt(t);return Boolean(e&&e.height>0&&e.width>0)},$t=function(t){return!Ct(t)||t.disabled||Boolean(Ht(t,"disabled"))||Lt(t,"disabled")},jt=function(t){return Ct(t)&&t.offsetHeight},Et=function(t,e){return c((Ct(e)?e:yt).querySelectorAll(t))},Dt=function(t,e){return(Ct(e)?e:yt).querySelector(t)||null},It=function(t,e){return!!Ct(t)&&Ot.call(t,e)},Nt=function(t,e){if(!Ct(e))return null;var n=St.call(e,t);return n===e?null:n},At=function(t,e){return!(!t||!R(t.contains))&&t.contains(e)},Mt=function(t,e){e&&Ct(t)&&t.classList&&t.classList.add(e)},Ft=function(t,e){e&&Ct(t)&&t.classList&&t.classList.remove(e)},Lt=function(t,e){return!!(e&&Ct(t)&&t.classList)&&t.classList.contains(e)},Vt=function(t,e,n){e&&Ct(t)&&t.setAttribute(e,n)},Rt=function(t,e){e&&Ct(t)&&t.removeAttribute(e)},Ht=function(t,e){return e&&Ct(t)?t.getAttribute(e):null},zt=function(t,e){return e&&Ct(t)?t.hasAttribute(e):null},Gt=function(t){return Ct(t)?t.getBoundingClientRect():null},Ut=function(t){return o.i&&Ct(t)?vt.getComputedStyle(t):{}},Wt=function(t){var e={top:0,left:0};if(!Ct(t)||0===t.getClientRects().length)return e;var n=Gt(t);if(n){var i=t.ownerDocument.defaultView;e.top=n.top+i.pageYOffset,e.left=n.left+i.pageXOffset}return e},Yt=function(t){var e={top:0,left:0};if(!Ct(t))return e;var n={top:0,left:0},i=Ut(t);if("fixed"===i.position)e=Gt(t)||e;else{e=Wt(t);for(var r=t.ownerDocument,o=t.offsetParent||r.documentElement;o&&(o===r.body||o===r.documentElement)&&"static"===Ut(o).position;)o=o.parentNode;if(o&&o!==t&&o.nodeType===Node.ELEMENT_NODE){n=Wt(o);var a=Ut(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)}},qt=function(){return(qt=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])},ae=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 R(r)?r(e):r},se={methods:{hasNormalizedSlot:function(t){return oe(t,this.$scopedSlots,this.$slots)},normalizeSlot:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ae(t,e,this.$scopedSlots,this.$slots);return n?h(n):n}}};var le={disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:function(){return ht("BButtonClose","ariaLabel")}},textVariant:{type:String,default:function(){return ht("BButtonClose","textVariant")}}},ue=r.extend({name:"BButtonClose",functional:!0,props:le,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 oe("default",c,u)||(d.domProps={innerHTML:"×"}),t("button",Jt(a,d),ae("default",{},c,u))}});var ce=function(t){return""===t||H(t)?0:(t=parseInt(t,10))>0?t:0},de=function(t){return""===t||!0===t||!(parseInt(t,10)<1)&&Boolean(t)},fe=function(t){return!isNaN(parseInt(t,10))},he=r.extend({name:"BAlert",mixins:[se],model:{prop:"show",event:"input"},props:{variant:{type:String,default:function(){return ht("BAlert","variant")}},dismissible:{type:Boolean,default:!1},dismissLabel:{type:String,default:function(){return ht("BAlert","dismissLabel")}},show:{type:[Boolean,Number,String],default:!1},fade:{type:Boolean,default:!1}},data:function(){return{countDownTimerId:null,countDown:0,localShow:de(this.show)}},watch:{show:function(t){this.countDown=ce(t),this.localShow=de(t)},countDown:function(t){var e=this;this.clearTimer(),fe(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(){Tt(function(){e.localShow=!1})}))},localShow:function(t){t||!this.dismissible&&!fe(this.show)||this.$emit("dismissed"),fe(this.show)||this.show===t||this.$emit("input",t)}},created:function(){this.countDown=ce(this.show),this.localShow=de(this.show)},mounted:function(){this.countDown=ce(this.show),this.localShow=de(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(ue,{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(re,{props:{noFade:!this.fade}},e)}}),pe=rt({components:{BAlert:he}}),be=function(t){return t},ge=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:be;return(d(t)?t.slice():y(t)).reduce(function(t,i){return t[n(i)]=e[i],t},{})},me=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return L(t)||V(t)?"":d(t)||P(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},ve=/%2C/g,ye=/[!'()*]/g,we=function(t){return"%"+t.charCodeAt(0).toString(16)},Oe=function(t){return encodeURIComponent(me(t)).replace(ye,we).replace(ve,",")},Se=decodeURIComponent,Te=function(t){if(!P(t))return"";var e=y(t).map(function(e){var n=t[e];return L(n)?"":V(n)?Oe(e):d(n)?n.reduce(function(t,n){return V(n)?t.push(Oe(e)):L(n)||t.push(Oe(e)+"="+Oe(n)),t},[]).join("&"):Oe(e)+"="+Oe(n)}).filter(function(t){return t.length>0}).join("&");return e?"?".concat(e):""},ke=function(t){var e={};return(t=me(t).trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),i=Se(n.shift()),r=n.length>0?Se(n.join("=")):null;L(e[i])?e[i]=r:d(e[i])?e[i].push(r):e[i]=[e[i],r]}),e):e},xe=function(t){return"a"!==me(t).toLowerCase()},Pe=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(xe(i))return null;if(e)return e;if(n){if(z(n))return n||o;if(P(n)&&(n.path||n.query||n.hash)){var a=me(n.path),s=Te(n.query),l=me(n.hash);return l=l&&"#"!==l.charAt(0)?"#".concat(l):l,"".concat(a).concat(s).concat(l)||o}}return r};function Be(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);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"}({to:this.to,disabled:this.disabled},this)},isRouterLink:function(){return xe(this.computedTag)},computedRel:function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,n=t.rel;return"_blank"===e&&V(n)?"noopener":n||null}({target:this.target,rel:this.rel})},computedHref:function(){return Pe({to:this.to,href:this.href},this.computedTag)},computedProps:function(){return this.isRouterLink?_e({},this.$props,{tag:this.routerTag}):{}}},methods:{onClick:function(t){var e=arguments,n=t instanceof Event,i=this.isRouterLink,r=this.$listeners.click;n&&this.disabled?(t.stopPropagation(),t.stopImmediatePropagation()):(i&&t.currentTarget.__vue__&&t.currentTarget.__vue__.$emit("click",t),h(r).filter(function(t){return R(t)}).forEach(function(t){t.apply(void 0,Be(e))}),this.$root.$emit("clicked::link",t)),n&&(this.disabled||!i&&"#"===this.computedHref)&&t.preventDefault()},focus:function(){this.$el&&this.$el.focus&&this.$el.focus()},blur:function(){this.$el&&this.$el.blur&&this.$el.blur()}},render:function(t){var e=this.computedTag,n=this.computedRel,i=this.computedHref,r=this.isRouterLink,o=_e({},this.$listeners,{click:this.onClick}),a={class:{active:this.active,disabled:this.disabled},attrs:_e({},this.$attrs,{rel:n,target:this.target,tabindex:this.disabled?"-1":L(this.$attrs.tabindex)?null:this.$attrs.tabindex,"aria-disabled":this.disabled?"true":null}),props:this.computedProps,on:r?{}:o,nativeOn:r?o:{}};return i?a.attrs.href=i:delete a.props.href,t(e,a,this.normalizeSlot("default",{}))}}));function De(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function Ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ne=je();delete Ne.href.default,delete Ne.to.default;var Ae=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){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function ze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ge=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=Et(yn,this.$el);return t.forEach(function(t){t.tabIndex=-1}),t.filter(function(t){return _t(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")])}}),On=rt({components:{BButtonToolbar:wn,BBtnToolbar:wn}}),Sn=function(t){return z(t)||(t=String(t)),(t=t.trim()).charAt(0).toUpperCase()+t.slice(1)},Tn=function(t,e){return t+Sn(e)},kn=function(t){return(t=String(t)).charAt(0).toLowerCase()+t.slice(1)},xn=function(t,e){return kn(e.replace(t,""))};function Pn(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function Bn(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:be;if(d(t))return t.map(e);var n={};for(var i in t)t.hasOwnProperty(i)&&(n[e(i)]=x(t[i])?Bn({},t[i]):t[i]);return n},$n={props:{tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}}},jn={title:{type:String,default:""},titleTag:{type:String,default:"h4"}},En=r.extend({name:"BCardTitle",functional:!0,props:jn,render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.titleTag,Jt(i,{staticClass:"card-title"}),r||n.title)}}),Dn={subTitle:{type:String,default:""},subTitleTag:{type:String,default:"h6"},subTitleTextVariant:{type:String,default:function(){return ht("BCardSubTitle","subTitleTextVariant")}}},In=r.extend({name:"BCardSubTitle",functional:!0,props:Dn,render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.subTitleTag,Jt(i,{staticClass:"card-subtitle",class:[n.subTitleTextVariant?"text-".concat(n.subTitleTextVariant):null]}),r||n.subTitle)}});function Nn(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=Gt(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(oi,{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 ui(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function ci(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 Pi)if(!L(t.style[e]))return Pi[e];return null}(this.$el)||null,this.updateSlides(),Si(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)Mt(l,"active"),Ft(s,"active"),this.isSliding=!1,this.$nextTick(function(){return n.$emit("sliding-end",t)});else{Mt(l,o),jt(l),Mt(s,a),Mt(l,a);var u=!1,c=function e(i){if(!u){if(u=!0,n.transitionEndEvent)n.transitionEndEvent.split(/\s+/).forEach(function(t){return Bt(s,t,e,Bi)});n._animationTimeout=null,Ft(l,a),Ft(l,o),Mt(l,"active"),Ft(s,"active"),Ft(s,a),Ft(s,o),Vt(s,"aria-current","false"),Vt(l,"aria-current","true"),Vt(s,"aria-hidden","true"),Vt(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 Pt(s,t,c,Bi)});this._animationTimeout=setTimeout(c,650)}i&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=Et(".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?(Mt(n,"active"),Vt(n,"aria-current","true")):(Ft(n,"active"),Vt(n,"aria-current","false")),Vt(n,"aria-posinset",String(r)),Vt(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?ki[t]:n>e?ki.next:ki.prev},handleClick:function(t,e){var n=t.keyCode;"click"!==t.type&&n!==vn.SPACE&&n!==vn.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&&xi[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&&xi[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?yi:this.pause,mouseleave:this.noHoverPause?yi:this.restart,focusin:this.pause,focusout:this.restart,keydown:function(t){if(!/input|textarea/i.test(t.target.tagName)){var n=t.keyCode;n!==vn.LEFT&&n!==vn.RIGHT||(t.preventDefault(),t.stopPropagation(),e[n===vn.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])}}),_i={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}},$i=r.extend({name:"BCarouselSlide",mixins:[Ti,se],inject:{bvCarousel:{default:function(){return{noTouch:!0}}}},props:_i,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(oi,{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(!1),r=[!(!this.caption&&!this.captionHtml)&&t(this.captionTag,{domProps:Re(this.captionHtml,this.caption)}),!(!this.text&&!this.textHtml)&&t(this.textTag,{domProps:Re(this.textHtml,this.text)}),this.normalizeSlot("default")||!1];return r.some(Boolean)&&(i=t(this.contentTag,{staticClass:"carousel-caption",class:this.contentClasses},r.map(function(e){return e||t(!1)}))),t("div",{staticClass:"carousel-item",style:{background:this.background||this.bvCarousel.background||null},attrs:{id:this.safeId(),role:"listitem"}},[n,i])}}),ji=rt({components:{BCarousel:Ci,BCarouselSlide:$i}}),Ei={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,Vt(t,"aria-controls",t.__BV_toggle_CONTROLS__),Vt(t,"aria-expanded","false"),"BUTTON"!==t.tagName&&Vt(t,"role","button"),t[zi]=function(e,n){-1!==(t.__BV_toggle_TARGETS__||[]).indexOf(e)&&(Vt(t,"aria-expanded",n?"true":"false"),t.__BV_toggle_STATE__=n,n?Ft(t,"collapsed"):Mt(t,"collapsed"))},n.context.$root.$on("bv::collapse::state",t[zi]),n.context.$root.$on("bv::collapse::sync::state",t[zi]))},componentUpdated:Wi,updated:Wi,unbind:function(t,e,n){Ri(n,e,Hi),t[zi]&&(n.context.$root.$off("bv::collapse::state",t[zi]),n.context.$root.$off("bv::collapse::sync::state",t[zi])),Gi(t,zi),Gi(t,"__BV_toggle_STATE__"),Gi(t,"__BV_toggle_CONTROLS__"),Gi(t,"__BV_toggle_TARGETS__"),Ft(t,"collapsed"),Rt(t,"aria-expanded"),Rt(t,"aria-controls"),Rt(t,"role")}},qi=rt({components:{BCollapse:Ii},directives:{VBToggle:Yi}}),Xi=(o.i?window:{}).HTMLElement||Object,Ki=n("8L3F");function Zi(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."));m(this,t.Defaults,this.constructor.Defaults,n,{type:e}),w(this,{type:C(),cancelable:C(),nativeEvent:C(),target:C(),relatedTarget:C(),vueTarget:C(),componentId:C()});var i=!1;this.preventDefault=function(){this.cancelable&&(i=!0)},O(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)&&Zi(e.prototype,n),i&&Zi(e,i),t}(),Qi={data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(t,e){t!==e&&(Bt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1),t&&Pt(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&&Pt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1)},beforeDestroy:function(){Bt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1)},methods:{isClickOut:function(t){return!At(this.$el,t.target)},_clickOutHandler:function(t){this.clickOutHandler&&this.isClickOut(t)&&this.clickOutHandler(t)}}},tr={data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&(Bt(this.focusInElement,"focusin",this._focusInHandler,!1),t&&Pt(this.focusInElement,"focusin",this._focusInHandler,!1))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&Pt(this.focusInElement,"focusin",this._focusInHandler,!1)},beforeDestroy:function(){Bt(this.focusInElement,"focusin",this._focusInHandler,!1)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}};function er(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function nr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ir={FORM_CHILD:".dropdown form",ITEM_SELECTOR:[".dropdown-item",".b-dropdown-form"].map(function(t){return"".concat(t,":not(.disabled):not([disabled])")}).join(", ")},rr="top-start",or="top-end",ar="bottom-start",sr="bottom-end",lr="right-start",ur="left-start",cr={mixins:[Qi,tr],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},lazy:{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 Ji(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),V(this.inNavbar)&&this.isNav&&(this.inNavbar=Boolean(Nt(".navbar",this.$el))),!this.inNavbar)if(void 0===Ki.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 Ki.default(t,this.$refs.menu,this.getPopperConfig())},removePopper:function(){this._popper&&this._popper.destroy(),this._popper=null},getPopperConfig:function(){var t=ar;this.dropup?t=this.right?or:rr:this.dropright?t=lr:this.dropleft?t=ur:this.right&&(t=sr);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!==vn.ENTER&&n!==vn.SPACE&&n!==vn.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===vn.ESC?this.onEsc(t):e===vn.DOWN?this.focusNext(t,!1):e===vn.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||At(this.$refs.menu,t.target)||At(this.$refs.toggle,t.target)||(this.visible=!1)},focusNext:function(t,e){var n=this;!this.visible||t&&Nt(ir.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(Sn(t))}),mo={name:"BFormGroup",mixins:[Ti,Qr,se],get props(){return delete this.props,this.props=(t=mt(),e=t.reduce(function(t,e){return t[go(e,"labelCols")]={type:[Number,String,Boolean],default:!e&&null},t},T(null)),n=t.reduce(function(t,e){return t[go(e,"labelAlign")]={type:String,default:null},t},T(null)),uo({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:fo},breakpoint:{type:String,default:null,deprecated:fo}}));var t,e,n},computed:{labelColProps:function(){var t=this,e={};if(this.horizontal){u("b-form-group: ".concat(fo));var n=this.breakpoint||mt()[1],i=parseInt(this.labelCols,10)||3;return e[n]=i>0?i:3,e}return mt().forEach(function(n){var i=t[go(n,"labelCols")];if(H(i=""===i||(i||!1))||(i=(i=parseInt(i,10)||0)>0&&i),i){var r=n||(H(i)?"col":"cols");e[r]=i}}),e},labelAlignClasses:function(){var t=this,e=[];return mt().forEach(function(n){var i=t[go(n,"labelAlign")]||null;if(i){var r=n?"text-".concat(n,"-").concat(i):"text-".concat(i);e.push(r)}}),e},isHorizontal:function(){return y(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=Et("input:not([disabled]),textarea:not([disabled]),select:not([disabled])",this.$refs.content).filter(_t);n&&1===n.length&&n[0].focus&&n[0].focus()}}},setInputDescribedBy:function(t,e){if(this.labelFor&&o.j){var n=Dt("#".concat(this.labelFor),this.$refs.content);if(n){var i="aria-describedby",r=(Ht(n,i)||"").split(/\s+/);t=(t||"").split(/\s+/),e=(e||"").split(/\s+/),r=r.filter(function(t){return!f(e,t)}).concat(t).filter(Boolean),(r=y(r.reduce(function(t,e){return uo({},t,co({},e,!0))},{})).join(" ").trim())?Vt(n,i,r):Rt(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?so:"div",{props:o?e.labelColProps:{}},[s])}return t(o?so:a,{on:r?{click:e.legendClick}:{},props:o?uo({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?so:"div",{ref:"content",attrs:{tabindex:e?"-1":null,role:e?"group":null}},[this.normalizeSlot("default")||t(!1),ho(t,this),po(t,this),bo(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?Zr:"div",o,n&&e?[t(Zr,{},[i,r])]:[i,r])}},vo=rt({components:{BFormGroup:mo,BFormFieldset:mo}}),yo=function(t,e){for(var n=0;n-1:Ai(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=d(r),s=a?null:this.uncheckedValue;if(a){var l=yo(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){d(this.computedLocalChecked)&&(t=!1),this.$refs&&this.$refs.input&&(this.$refs.input.indeterminate=t,this.$emit("update:indeterminate",t))}}}),ko=r.extend({name:"BFormRadio",mixins:[Ti,Oo,wo,So,Qr],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:{checked:{type:[String,Object,Number,Boolean],default:null}},computed:{isChecked:function(){return Ai(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)}}}),xo={mixins:[se],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?ko:To,{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")])}},Po={switches:{type:Boolean,default:!1},checked:{type:[String,Number,Object,Array,Boolean],default:null}},Bo=r.extend({name:"BFormCheckboxGroup",mixins:[Ti,wo,xo,Lr,So,Qr],provide:function(){return{bvCheckGroup:this}},props:Po,data:function(){return{localChecked:this.checked||[]}},computed:{isRadioGroup:function(){return!1}}}),Co=rt({components:{BFormCheckbox:To,BCheckbox:To,BCheck:To,BFormCheckboxGroup:Bo,BCheckboxGroup:Bo,BCheckGroup:Bo}}),_o={checked:{type:[String,Object,Number,Boolean],default:null}},$o=r.extend({name:"BFormRadioGroup",mixins:[Ti,wo,xo,Lr,So,Qr],provide:function(){return{bvRadioGroup:this}},props:_o,data:function(){return{localChecked:this.checked}},computed:{isRadioGroup:function(){return!0}}}),jo=rt({components:{BFormRadio:ko,BRadio:ko,BFormRadioGroup:$o,BRadioGroup:$o}}),Eo={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 L(t)||V(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||!R(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()}}},Do={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)}}},Io={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 No(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function Ao(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:Ho({},this.$listeners,{input:this.onInput,change:this.onChange,blur:this.onBlur})})}}),Uo=rt({components:{BFormTextarea:Go,BTextarea:Go}}),Wo={props:{plain:{type:Boolean,default:!1}},computed:{custom:function(){return!this.plain}}},Yo=r.extend({name:"BFormFile",mixins:[Ti,wo,Qr,Wo,se],model:{prop:"value",event:"input"},props:{value:{default:null},accept:{type:String,default:""},capture:{type:Boolean,default:!1},placeholder:{type:String,default:function(){return ht("BFormFile","placeholder")}},browseText:{type:String,default:function(){return ht("BFormFile","browseText")}},dropPlaceholder:{type:String,default:function(){return ht("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=h(this.selectedFile).filter(Boolean);return this.hasNormalizedSlot("file-name")?[this.normalizeSlot("file-name",{files:t,names:t.map(function(t){return t.name})})]:R(this.fileNameFormatter)?String(this.fileNameFormatter(t)):t.map(function(t){return t.name}).join(", ")}},watch:{selectedFile:function(t,e){t===e||d(t)&&d(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||d(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(),Mt(document.body,"modal-open")):0===t&&e>0&&(this.resetScrollbar(),Ft(document.body,"modal-open")),Vt(document.body,"data-modal-open-count",String(t)))},modals:function(t,e){var n=this;this.checkScrollbar(),Tt(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(V(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(Ut(t).zIndex||1040,10),document.body.removeChild(t)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(V(this.scrollbarWidth)&&o.j){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t),this.scrollbarWidth=Gt(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=Gt(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"!==Za(e)&&"function"!=typeof e?es(t):e}(this,is(e).call(this,t,i)),w(es(n),{trigger:C()}),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&&rs(t,e)}(e,Ji),n=e,r=[{key:"Defaults",get:function(){return function(t){for(var e=1;e0&&!e[0].text?e[0]:t(!1)}}),ss=r.extend({name:"BTransporterSingle",mixins:[se],props:{disabled:{type:Boolean,default:!1},container:{type:[String,Xi],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 z(t)?Dt(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 as({el:e,parent:this,propsData:{nodes:h(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=h(this.normalizeSlot("default",{})).filter(Boolean);if(e.length>0&&!e[0].text)return e[0]}return t(!1)}});function ls(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function us(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return new os(t,us({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},e,{vueTarget:this,componentId:this.safeId()}))},show:function(){if(!this.isVisible&&!this.isOpening)if(this.isClosing)this.$once("hidden",this.show);else{this.isOpening=!0,this.return_focus=this.return_focus||this.getActiveElement();var t=this.buildEvent("show",{cancelable:!0});if(this.emitEvent(t),t.defaultPrevented||this.isVisible)return this.isOpening=!1,void this.updateModel(!1);this.doShow()}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.isVisible&&!this.isClosing){this.isClosing=!0;var e=this.buildEvent("hide",{cancelable:"FORCE"!==t,trigger:t||null});if("ok"===t?this.$emit("ok",e):"cancel"===t?this.$emit("cancel",e):"headerclose"===t&&this.$emit("close",e),this.emitEvent(e),e.defaultPrevented||!this.isVisible)return this.isClosing=!1,void this.updateModel(!0);this._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;Ka.modalsAreOpen&&this.noStacking?this.listenOnRootOnce("bv::modal::hidden",this.doShow):(Ka.registerModal(this),this.isHidden=!1,this.$nextTick(function(){t.isVisible=!0,t.isOpening=!1,t.updateModel(!0),t.$nextTick(function(){t._observer=Si(t.$refs.content,t.checkModalOverflow.bind(t),ds)})}))},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,Ka.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;Pt(e,"mouseup",function n(i){Bt(e,"mouseup",n,fs),i.target===e&&(t.ignoreBackdropClick=!0)},fs)},onClickOut:function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&At(document.body,t.target)&&(At(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===vn.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&&!At(e,t.target)&&e.focus({preventScroll:!0})},setEnforceFocus:function(t){(t?Pt:Bt)(document,"focusin",this.focusHandler,fs)},setResizeEvent:function(t){var e=t?Pt:Bt;e(window,"resize",this.checkModalOverflow,fs),e(window,"orientationchange",this.checkModalOverflow,fs)},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&&At(t,e)||this.$nextTick(function(){t.scrollTop=0,t.focus()})}},returnFocusTo:function(){var t=this.returnFocus||this.return_focus||null;(t=z(t)?Dt(t):t)&&(t=t.$el||t,_t(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(ue,{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(hn,{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(hn,{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(re,{props:{noFade:this.noFade}},[p]);var b=t(!1);return this.isVisible&&this.isTop&&!this.noEnforceFocus&&(b=t("div",{attrs:{tabindex:"0"}})),t("div",{key:"modal-outer-".concat(this._uid),style:this.modalOuterStyle,attrs:{id:this.safeId("__BV_modal_outer_")}},[h,b,p])}},render:function(t){return this.static?this.lazy&&this.isHidden?t(!1):this.makeModal(t):this.isHidden?t(!1):t(ss,{},[this.makeModal(t)])}}),bs=ps,gs={click:!0},ms=function(t,e,n){"BUTTON"!==t.tagName&&Vt(t,"role","button")},vs={bind:function(t,e,n){Vi(n,e,gs,function(t){var e=t.targets,n=t.vnode;e.forEach(function(t){n.context.$root.$emit("bv::show::modal",t,n.elm)})}),ms(t)},updated:ms,componentUpdated:ms,unbind:function(t,e,n){Ri(n,e,gs),"BUTTON"!==t.tagName&&Rt(t,"role")}};function ys(t,e){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:xs;if(!s("$bvModal")&&!l("$bvModal")){var r=new e({parent:n,propsData:Os({},Bs(ht("BModal")||{}),{hideHeaderClose:!0,hideHeader:!(t.title||t.titleHtml)},B(t,y(Ps)),{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return y(Ps).forEach(function(e){L(t[e])||(r.$slots[Ps[e]]=h(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)})}},i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),m(this,{_vm:e,_root:e.$root}),w(this,{_vm:C(),_root:C()})}var e,i,r;return e=t,(i=[{key:"show",value:function(t){if(t&&this._root){for(var e,n=arguments.length,i=new Array(n>1?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")&&R(i))return n(Os({},Bs(e),{msgBoxContent:t}),this._vm,i)}},{key:"msgBoxOk",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Os({},e,{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:t});return this.msgBox(t,n,function(t){return!0})}},{key:"msgBoxConfirm",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Os({},e,{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return this.msgBox(t,n,function(t){var e=t.trigger;return"ok"===e||"cancel"!==e&&null})}}])&&ys(e.prototype,i),r&&ys(e,r),t}();t.mixin({beforeCreate:function(){this._bv__modal=new i(this)}}),t.prototype.hasOwnProperty("$bvModal")||O(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}})}}}),_s=rt({components:{BModal:ps},directives:{VBModal:vs},plugins:{BVModalPlugin:Cs}});function $s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var js={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.'}},Es=r.extend({name:"BNav",functional:!0,props:js,render:function(t,e){var n,i,r=e.props,o=e.data,a=e.children;return t(r.tag,Jt(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},$s(n,(i=r.align,"justify-content-".concat(i="left"===i?"start":"right"===i?"end":i)),!r.vertical&&r.align),$s(n,"small",r.small),n)}),a)}});function Ds(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function Is(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ns=je(),As=r.extend({name:"BNavItem",functional:!0,props:function(t){for(var e=1;ee?e:n<1?1:n}function fl(t){if(t.keyCode===vn.SPACE)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),t.currentTarget.click(),!1}var hl={mixins:[se],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!(!V(t)&&(isNaN(e)||e<1))||(u("pagination: v-model value must be a number greater than 0"),!1)}},limit:{type:[Number,String],default:ul,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:ul}},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 dl(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 ll(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=dl(t,this.localNumPages))},currentPage:function(t,e){t!==e&&this.$emit("input",t>0?t:null)},limit:function(t,e){t!==e&&(this.localLimit=cl(t))}},created:function(){var t=this;this.localLimit=cl(this.limit),this.$nextTick(function(){t.currentPage=t.currentPage>t.localNumPages?t.localNumPages:t.currentPage})},methods:{getButtons:function(){return Et("a.page-link",this.$el).filter(function(t){return _t(t)})},setBtnFocus:function(t){t.focus()},focusCurrent:function(){var t=this;this.$nextTick(function(){var e=t.getButtons().find(function(e){return parseInt(Ht(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!$t(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!$t(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&&!$t(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,b={disabled:h,page:p,index:p-1},g=e.normalizeSlot(a,b)||me(s)||t(!1),m=t(h?"span":Ee,{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:fl}},[g]);return t("li",{key:f,staticClass:"page-item",class:{disabled:h,"flex-fill":u},attrs:{role:"none presentation","aria-hidden":h?"true":null}},[m])},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",{})||me(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":R(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=me(e.makePage(o.number)),p={page:o.number,index:o.number-1,content:h,active:s,disabled:r},b=t(r?"span":Ee,{props:r?{}:e.linkProps(o.number),staticClass:"page-link",attrs:f,on:r?{}:{click:function(t){e.onClick(o.number,t)},keydown:fl}},[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"}},[b]))}),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===vn.LEFT?(t.preventDefault(),i?e.focusFirst():e.focusPrev()):n===vn.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}},pl=20,bl=0;var gl={perPage:{type:[Number,String],default:pl},totalRows:{type:[Number,String],default:bl},ariaControls:{type:String,default:null}},ml=r.extend({name:"BPagination",mixins:[hl],props:gl,computed:{numberOfPages:function(){var t,e,n=Math.ceil((t=this.totalRows,((e=parseInt(t,10)||bl)<0?0:e)/function(t){var e=parseInt(t,10)||pl;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;_t(t)&&n.$el.contains(t)&&t.focus?t.focus():n.focusCurrent()})},makePage:function(t){return t},linkProps:function(t){return{href:"#"}}}}),vl=rt({components:{BPagination:ml}}),yl={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}},wl=r.extend({name:"BPaginationNav",mixins:[hl],props:yl,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(){Tt(function(){t.guessCurrentPage()})})})},methods:{setNumPages:function(){var t,e,n=this;d(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&&(Tt(function(){n.currentPage=t,n.$emit("change",t)}),this.$nextTick(function(){try{(e.currentTarget||e.target).blur()}catch(t){}}))},getPageInfo:function(t){if(!d(this.pages)||0===this.pages.length||L(this.pages[t-1])){var e="".concat(this.baseUrl).concat(t);return{link:this.useRouter?{path:e}:e,text:me(t)}}var n=this.pages[t-1];if(x(n)){var i=n.link;return{link:x(i)?i:this.useRouter?{path:i}:i,text:me(n.text||t)}}return{link:me(n),text:me(t)}},makePage:function(t){var e=this.getPageInfo(t);return this.pageGen&&R(this.pageGen)?this.pageGen(t,e):e.text},makeLink:function(t){var e=this.getPageInfo(t);return this.linkGen&&R(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||x(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=Pe({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:ke(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:ke(r.search)}:{},s=1;!t&&s<=this.localNumPages;s++){var l=this.makeLink(s);t=e&&(x(l)||this.useRouter)?Ai(this.resolveRoute(l),i)?s:null:o.j?Ai(this.resolveLink(l),a)?s:null:-1}this.currentPage=t>0?t:0}}}),Ol=rt({components:{BPaginationNav:wl}});function Sl(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function Tl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kl(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,variant:null,customClass:null},Nl={WebkitTransition:["webkitTransitionEnd"],MozTransition:["transitionend"],OTransition:["otransitionend","oTransitionEnd"],transition:["transitionend"]},Al={passive:!0,capture:!1},Ml=1,Fl=function(t){return"__BV_".concat(t,"_").concat(Ml++,"__")},Ll=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=Fl(this.constructor.NAME),this.$parent=i||null,this.$root=i&&i.$root?i.$root: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=yi.bind(this),this.updateConfig(n),i&&i.$once("hook:beforeDestroy",this.destroy.bind(this))}var e,n,i;return e=t,i=[{key:"getAttachment",value:function(t){return Pl[t.toUpperCase()]}},{key:"Default",get:function(){return Il}},{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){Ft(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;V(Ht(t,"x-placement"))&&(Ft(t,$l),this.$config.animation=!1,this.hide(),this.show(),this.$config.animation=e)}}])&&kl(e.prototype,n),i&&kl(e,i),t}();function Vl(t){return(Vl="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 Rl(t,e){for(var n=0;n

'}),Xl="fade",Kl="show",Zl=".popover-header",Jl=".popover-body",Ql=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Hl(this,zl(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&&Gl(t,e)}(e,Ll),n=e,r=[{key:"Default",get:function(){return ql}},{key:"NAME",get:function(){return"popover"}}],(i=[{key:"isWithContent",value:function(t){if(!(t=t||this.$tip))return!1;var e=Boolean((Dt(Zl,t)||{}).innerHTML),n=Boolean((Dt(Jl,t)||{}).innerHTML);return e||n}},{key:"addAttachmentClass",value:function(t){Mt(this.getTipElement(),"".concat("bs-popover","-").concat(t))}},{key:"setContent",value:function(t){this.setElementContent(Dt(Zl,t),this.getTitle()),this.setElementContent(Dt(Jl,t),this.getContent()),Ft(t,Xl),Ft(t,Kl)}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(Yl);!V(e)&&e.length>0&&e.forEach(function(e){Ft(t,e)})}},{key:"getTitle",value:function(){var t=this.$config.title||"";return R(t)&&(t=t(this.$element)),x(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),z(t)&&(t=t.trim()),t||(t=(t=Ht(this.$element,"title")||Ht(this.$element,"data-original-title")||"").trim()),t}},{key:"getContent",value:function(){var t=this.$config.content||"";return R(t)&&(t=t(this.$element)),x(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),z(t)&&(t=t.trim()),t}}])&&Rl(n.prototype,i),r&&Rl(n,r),e}();function tu(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function eu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nu={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"},iu={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["class","style"]},ru={props:{target:{type:[String,Object,Xi,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=x(this.delay)?this.delay:parseInt(this.delay,10)||0;return{title:(this.title||"").trim()||"",content:(this.content||"").trim()||"",placement:nu[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,variant:this.variant,customClass:this.customClass,trigger:d(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&&y(t).forEach(function(e){var i=Iu(e,t[e]);i&&n.push(i)}),0===n.length&&d(e)&&e.length>0){var i=e[0];y(i).forEach(function(t){_u[t]||n.push({key:t,label:Cu(t)})})}var r={};return n.filter(function(t){return!r[t.key]&&(r[t.key]=!0,t.label=z(t.label)?t.label:Cu(t.key),!0)})},Au={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:d(this.items)?this.items.slice():[]}},computed:{computedFields:function(){return Nu(this.fields,this.localItems)},computedFieldsObj:function(){return this.computedFields.reduce(function(t,e){return t[e.key]=e,t},{})},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){d(t)?this.localItems=t.slice():(L(t)||V(t))&&(this.localItems=[])},computedItems:function(t){this.$emit("input",t)},context:function(t,e){Ai(t,e)||this.$emit("context-changed",t)}},mounted:function(){this.$emit("input",this.computedItems)},methods:{getFieldFormatter:function(t){var e=this.computedFieldsObj[t],n=this.$parent,i=e&&e.formatter;return z(i)&&R(n[i])?i=n[i]:R(i)||(i=void 0),i}}};function Mu(t){return y(t).reduce(function(e,n){return _u[n]||(e[n]=t[n]),e},{})}function Fu(t){return L(t)||V(t)?"":t instanceof Object&&!(t instanceof Date)?y(t).sort().filter(function(t){return!L(t)&&!V(t)}).map(function(e){return Fu(t[e])}).join(" "):String(t)}var Lu='Supplying a function to prop "filter" is deprecated. Use "filter-function" instead.',Vu={props:{filter:{type:[String,RegExp,Object,Array,Function],default:null,deprecation:Lu},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 R(this.filter)?"":!this.localFiltering||R(this.filterFunction)||z(this.filter)||W(this.filter)?I(this.filter):""},localFilterFn:function(){var t=this.filterFunction,e=this.filter;return R(t)?t:R(e)?(u("b-table: ".concat(Lu)),e):null},filteredItems:function(){var t=this.localItems||[],e=null;if(this.localFiltering){var n=this.localFilter;e=this.filterFnFactory(this.localFilterFn,n)||this.defaultFilterFnFactory(n)}return e&&t.length>0?t.filter(e):t}},watch:{filteredCheck:function(t){var e=t.filteredItems,n=(t.localItems,t.localFilter),i=!1;n?Ai(n,[])||Ai(n,{})?i=!1:n&&(i=!0):i=!1,i&&this.$emit("filtered",e,e.length),this.isFiltered=i},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||!R(t)||!e||Ai(e,[])||Ai(e,{}))return null;return function(n){return t(n,e)}},defaultFilterFnFactory:function(t){if(!t||!z(t)&&!W(t))return null;var e=t;if(z(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?Fu(Mu(n)):"");var n}}}},Ru=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]})};function Hu(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function zu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Gu={props:{sortBy:{type:String,default:""},sortDesc:{type:Boolean,default:!1},sortDirection:{type:String,default:"asc",validator:function(t){return f(["asc","desc","last"],t)}},sortCompare:{type:Function,default:null},sortCompareOptions:{type:Object,default:function(){return{numeric:!0}}},sortCompareLocale:{type:String},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,o=function(t){for(var e=1;es?1:0:Fu(a).localeCompare(Fu(s),o,r)}(t,r,e,s,o,a)),(l||0)*(n?-1:1)})}return 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||"")},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="",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=Cu(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}}}},Uu={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}}},Wu={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}}},Yu={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 qu(t){if(t&&t.target){var e=t.target;if("TD"===e.tagName||"TH"===e.tagName||"TR"===e.tagName||e.disabled)return!1;if(Nt(".dropdown-menu",e))return!0;var n="LABEL"===e.tagName?e:Nt("label",e);return!(!n||!n.control||n.control.disabled)||It(e,$u)}}function Xu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=window;if(e&&e.getSelection&&""!==e.getSelection().toString()&&Ct(t)){var n=e.getSelection();return!!n.containsNode&&n.containsNode(t,!0)}return!1}function Ku(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function Zu(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0],n=this.$createElement,i=this.computedFields||[];if(!0===this.isStacked||0===i.length)return n(!1);var r=function(i,r){var o=null;i.label.trim()||i.headerTitle||(o=Cu(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!==vn.ENTER&&r!==vn.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:Zu({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)},o=i.map(r).filter(function(t){return t}),a=[];if(e)a.push(n("tr",{class:this.tfootTrClass,attrs:{role:"row"}},o));else{var s={columns:i.length,fields:i};a.push(this.normalizeSlot("thead-top",s)||n(!1)),a.push(n("tr",{class:this.theadTrClass,attrs:{role:"row"}},o))}return n(e?"tfoot":"thead",{key:e?"tfoot":"thead",class:e?this.footClasses:this.headClasses,attrs:{role:"rowgroup"}},a)}}},tc={props:{footClone:{type:Boolean,default:!1},footVariant:{type:String,default:function(){return ht("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 ec(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function nc(t){for(var e=1;e0?o[a-1].focus():i===vn.DOWN&&a0&&(h=String((this.currentPage-1)*this.perPage+e+1));var p=this.primaryKey,b=!p||L(t[p])||V(t[p])?String(e):me(t[p]),g=!p||L(t[p])||V(t[p])?null:this.safeId("_row_".concat(t[p])),m={};s&&(m.click=function(i){n.rowClicked(i,t,e)},m.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(b,"__"),ref:"itemRows",refInFor:!0,class:[this.rowClasses(t),v,{"b-table-has-details":u}],attrs:nc({id:g,tabindex:s?"0":null,"data-pk":g?String(t[p]):null,"aria-describedby":d,"aria-owns":d,"aria-rowindex":h,role:"row"},y),on:nc({},m,{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"},O=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:[R(this.tbodyTrClass)?this.tbodyTrClass(t,"row-details"):this.tbodyTrClass],attrs:w},[O]))}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=d(t)&&d(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 hc(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function pc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var bc={mixins:[Ei],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}},yc=r.extend({name:"BTable",mixins:[Ti,se,Au,vc,Qu,tc,ac,Vu,Gu,Uu,Wu,Yu,fc,sc,lc,uc,cc,bc]}),wc=r.extend({name:"BTableLite",mixins:[Ti,se,Au,vc,Qu,tc,ac,Wu,Yu]}),Oc=rt({components:{BTable:yc,BTableLite:wc}});function Sc(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function Tc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var kc=B(js,["tabs","isNavBar"]),xc=function(t){return!t.disabled},Pc=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!==vn.SPACE?"keydown"!==n||this.noKeyNav||(i===vn.UP||i===vn.LEFT||i===vn.HOME?(e(),r||i===vn.HOME?this.$emit("first",t):this.$emit("prev",t)):i!==vn.DOWN&&i!==vn.RIGHT&&i!==vn.END||(e(),r||i===vn.END?this.$emit("last",t):this.$emit("next",t))):(e(),this.$emit("click",t))}}},render:function(t){var e=t(Ee,{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])}}),Bc=r.extend({name:"BTabs",mixins:[Ti,se],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=Et(n,this.$el).map(function(t){return t.id}).filter(Boolean)}return Ru(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(xc)):t[n]&&!t[n].disabled&&(e=n)}e<0&&(e=t.indexOf(t.find(xc))),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(xc))},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(xc);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(xc);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(xc);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(xc);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(Pc,{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(Es,{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_")}},h(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])}}),Cc='Setting prop "href" is deprecated. Use the component instead.',_c=r.extend({name:"BTab",mixins:[Ti,se],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:Cc},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(Cc))},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(re,{props:{mode:"out-in",noFade:this.computedNoFade}},[e])}}),$c=rt({components:{BTabs:Bc,BTab:_c}}),jc=n("K4j9"),Ec={name:{type:String,required:!0},ariaLive:{type:String,default:function(){return ht("BToaster","ariaLive")}},ariaAtomic:{type:String,default:function(){return ht("BToaster","ariaAtomic")}},role:{type:String,default:function(){return ht("BToaster","role")}}},Dc=r.extend({data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(t){var e=this;Tt(function(){Ft(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)}}),Ic=r.extend({name:"BToaster",props:Ec,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var t=this;this.staticName=this.name,jc.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(jc.PortalTarget,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:Dc}});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 Nc(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function Ac(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return new Ji(t,Ac({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&&!jc.Wormhole.hasTarget(this.computedToaster)){var t=document.createElement("div");document.body.appendChild(t),new Ic({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?Pt:Bt;e(this.$refs.btoast,"mouseenter",this.onPause,Fc),e(this.$refs.btoast,"mouseleave",this.onUnPause,Fc)},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(){Tt(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(ue,{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?Ee:"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:Ac({},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(jc.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(re,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(t):t(!1)])])])}});function Rc(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};t&&!s("$bvToast")&&n(zc({},Yc(e),{toastContent:t}),this._vm)}},{key:"show",value:function(t){t&&this._root.$emit("bv::show::toast",t)}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit("bv::hide::toast",t)}}])&&Rc(e.prototype,i),r&&Rc(e,r),t}();t.mixin({beforeCreate:function(){this._bv__toast=new i(this)}}),t.prototype.hasOwnProperty("$bvToast")||O(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}})}}}),Xc=rt({components:{BToast:Vc,BToaster:Ic},plugins:{BVToastPlugin:qc}}),Kc=r.extend({name:"BTooltip",mixins:[ru,se],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 d(t)||f(["flip","clockwise","counterclockwise"],t)}},variant:{type:String,default:function(){return ht("BTooltip","variant")}},customClass:{type:String,default:function(){return ht("BTooltip","customClass")}},delay:{type:[Number,Object,String],default:function(){return ht("BTooltip","delay")}},boundary:{type:[String,Xi],default:function(){return ht("BTooltip","boundary")}},boundaryPadding:{type:Number,default:function(){return ht("BTooltip","boundaryPadding")}}},data:function(){return{}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new Ll(t,this.getConfig(),this):(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 Zc(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function Jc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Qc="__BV_ToolTip__",td={focus:!0,hover:!0,click:!0,blur:!0},ed=/^html$/,nd=/^nofade$/i,id=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/,rd=/^(window|viewport|scrollParent)$/,od=/^d\d+$/,ad=/^o-?\d+$/,sd=/^v-.+$/,ld=function(t){var e="BTooltip",n={delay:ht(e,"delay"),boundary:String(ht(e,"boundary")),boundaryPadding:parseInt(ht(e,"boundaryPadding"),10)||0,variant:ht(e,"variant"),customClass:ht(e,"customClass")};z(t.value)?n.title=t.value:R(t.value)?n.title=t.value:x(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]&&(L(this.$offsets[r+1])||t0&&this.$root&&this.$root.$emit("bv::scrollspy::activate",t,n)}},{key:"clear",value:function(){var t=this;Et("".concat(this.$selector,", ").concat(Sd.NAV_ITEMS),this.$el).filter(function(t){return Lt(t,Od)}).forEach(function(e){return t.setActiveState(e,!1)})}},{key:"setActiveState",value:function(t,e){t&&(e?Mt(t,Od):Ft(t,Od))}}])&&md(e.prototype,n),i&&md(e,i),t}(),_d="__BV_ScrollSpy__",$d=function(t,e,n){if(o.j){var i=function(t){var e={};return t.arg&&(e.element="#".concat(t.arg)),y(t.modifiers).forEach(function(t){/^\d+$/.test(t)?e.offset=parseInt(t,10):/^(auto|position|offset)$/.test(t)&&(e.method=t)}),z(t.value)?e.element=t.value:G(t.value)?e.offset=Math.round(t.value):x(t.value)&&y(t.value).filter(function(t){return Boolean(Cd.DefaultType[t])}).forEach(function(n){e[n]=t.value[n]}),e}(e);t[_d]?t[_d].updateConfig(i,n.context.$root):t[_d]=new Cd(t,i,n.context.$root)}},jd={bind:function(t,e,n){$d(t,e,n)},inserted:function(t,e,n){$d(t,e,n)},update:function(t,e,n){e.value!==e.oldValue&&$d(t,e,n)},componentUpdated:function(t,e,n){e.value!==e.oldValue&&$d(t,e,n)},unbind:function(t){!function(t){t[_d]&&(t[_d].dispose(),t[_d]=null,delete t[_d])}(t)}},Ed=rt({directives:{VBScrollspy:jd}}),Dd=rt({directives:{VBToggle:Yi}}),Id=rt({directives:{VBTooltip:cd}}),Nd={install:it({plugins:{componentsPlugin:fd,directivesPlugin:rt({plugins:{VBModalPlugin:hd,VBPopoverPlugin:pd,VBScrollspyPlugin:Ed,VBTogglePlugin:Dd,VBTooltipPlugin:Id}})}}),setConfig:K},Ad=n("4Wae"),Md=n.n(Ad),Fd=n("kGIl"),Ld=n.n(Fd),Vd=n("YlT8"),Rd=n.n(Vd),Hd=function(t,e,n){var i=n.includeSeconds,r=n.addSuffix;return void 0===r&&(r=!0),Rd()(t,{locale:e,includeSeconds:i,addSuffix:r})},zd=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||Hd)(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 Gd(t){return(Gd="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(Nd),Vue.use(Md.a),Vue.use(Ld.a),Vue.use(zd,{name:"Timeago",locale:"en"}),pixelfed.readmore=function(){$(".read-more").each(function(t,e){var n=$(this),i=n.attr("data-readmore");"undefined"!==Gd(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;")},DT56:function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t).getTime(),r=i(e).getTime();return nr?1:0}},F809:function(t,e,n){var i=n("yNUO"),r=n("sunR"),o=n("DT56");t.exports=function(t,e){var n=i(t),a=i(e),s=o(n,a),l=Math.abs(r(n,a));return n.setMonth(n.getMonth()-s*l),s*(l-(o(n,a)===-s))}},GUC0:function(t,e,n){(function(e,n){t.exports=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="swal-button";e.CLASS_NAMES={MODAL:"swal-modal",OVERLAY:"swal-overlay",SHOW_MODAL:"swal-overlay--show-modal",MODAL_TITLE:"swal-title",MODAL_TEXT:"swal-text",ICON:"swal-icon",ICON_CUSTOM:"swal-icon--custom",CONTENT:"swal-content",FOOTER:"swal-footer",BUTTON_CONTAINER:"swal-button-container",BUTTON:i,CONFIRM_BUTTON:i+"--confirm",CANCEL_BUTTON:i+"--cancel",DANGER_BUTTON:i+"--danger",BUTTON_LOADING:i+"--loading",BUTTON_LOADER:i+"__loader"},e.default=e.CLASS_NAMES},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNode=function(t){var e="."+t;return document.querySelector(e)},e.stringToNode=function(t){var e=document.createElement("div");return e.innerHTML=t.trim(),e.firstChild},e.insertAfter=function(t,e){var n=e.nextSibling;e.parentNode.insertBefore(t,n)},e.removeNode=function(t){t.parentElement.removeChild(t)},e.throwErr=function(t){throw"SweetAlert: "+(t=(t=t.replace(/ +(?= )/g,"")).trim())},e.isPlainObject=function(t){if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype},e.ordinalSuffixOf=function(t){var e=t%10,n=t%100;return 1===e&&11!==n?t+"st":2===e&&12!==n?t+"nd":3===e&&13!==n?t+"rd":t+"th"}},function(t,e,n){"use strict";function i(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),i(n(25));var r=n(26);e.overlayMarkup=r.default,i(n(27)),i(n(28)),i(n(29));var o=n(0),a=o.default.MODAL_TITLE,s=o.default.MODAL_TEXT,l=o.default.ICON,u=o.default.FOOTER;e.iconMarkup='\n
',e.titleMarkup='\n
\n',e.textMarkup='\n
',e.footerMarkup='\n
\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1);e.CONFIRM_KEY="confirm",e.CANCEL_KEY="cancel";var r={visible:!0,text:null,value:null,className:"",closeModal:!0},o=Object.assign({},r,{visible:!1,text:"Cancel",value:null}),a=Object.assign({},r,{text:"OK",value:!0});e.defaultButtonList={cancel:o,confirm:a};var s=function(t){switch(t){case e.CONFIRM_KEY:return a;case e.CANCEL_KEY:return o;default:var n=t.charAt(0).toUpperCase()+t.slice(1);return Object.assign({},r,{text:n,value:t})}},l=function(t,e){var n=s(t);return!0===e?Object.assign({},n,{visible:!0}):"string"==typeof e?Object.assign({},n,{visible:!0,text:e}):i.isPlainObject(e)?Object.assign({visible:!0},n,e):Object.assign({},n,{visible:!1})},u=function(t){var n={};switch(t.length){case 1:n[e.CANCEL_KEY]=Object.assign({},o,{visible:!1});break;case 2:n[e.CANCEL_KEY]=l(e.CANCEL_KEY,t[0]),n[e.CONFIRM_KEY]=l(e.CONFIRM_KEY,t[1]);break;default:i.throwErr("Invalid number of 'buttons' in array ("+t.length+").\n If you want more than 2 buttons, you need to use an object!")}return n};e.getButtonListOpts=function(t){var n=e.defaultButtonList;return"string"==typeof t?n[e.CONFIRM_KEY]=l(e.CONFIRM_KEY,t):Array.isArray(t)?n=u(t):i.isPlainObject(t)?n=function(t){for(var e={},n=0,i=Object.keys(t);n=0&&m.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),o(t,e),e}function l(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),o(t,e),e}function u(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function c(t,e){var n,i,r,o;if(e.transform&&t.css){if(!(o=e.transform(t.css)))return function(){};t.css=o}if(e.singleton){var u=g++;n=b||(b=s(e)),i=d.bind(null,n,u,!1),r=d.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=function(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=v(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),i=function(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){a(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function d(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var f={},h=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),p=function(t){var e={};return function(t){return void 0===e[t]&&(e[t]=function(t){return document.querySelector(t)}.call(this,t)),e[t]}}(),b=null,g=0,m=[],v=n(15);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=h()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return i(n,e),function(t){for(var o=[],a=0;athis.length)&&-1!==this.indexOf(t,e)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,e){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),i=n.length>>>0;if(0===i)return!1;for(var r=0|e,o=Math.max(r>=0?r:i-Math.abs(r),0);o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},r(19),i.setImmediate=e,i.clearImmediate=n},function(t,e,n){(function(t,e){!function(t,n){"use strict";function i(t){delete s[t]}function r(t){if(l)setTimeout(r,0,t);else{var e=s[t];if(e){l=!0;try{!function(t){var e=t.callback,i=t.args;switch(i.length){case 0:e();break;case 1:e(i[0]);break;case 2:e(i[0],i[1]);break;case 3:e(i[0],i[1],i[2]);break;default:e.apply(n,i)}}(e)}finally{i(t),l=!1}}}}if(!t.setImmediate){var o,a=1,s={},l=!1,u=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?o=function(t){e.nextTick(function(){r(t)})}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&r(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),o=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){r(t.data)},o=function(e){t.port2.postMessage(e)}}():u&&"onreadystatechange"in u.createElement("script")?function(){var t=u.documentElement;o=function(e){var n=u.createElement("script");n.onreadystatechange=function(){r(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():o=function(t){setTimeout(r,0,t)},c.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n1)for(var n=1;n',e.default=e.modalMarkup},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.OVERLAY,o='
\n
';e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.ICON;e.errorIconMarkup=function(){var t=r+"--error",e=t+"__line";return'\n
\n \n \n
\n '},e.warningIconMarkup=function(){var t=r+"--warning";return'\n \n \n \n '},e.successIconMarkup=function(){var t=r+"--success";return'\n \n \n\n
\n
\n '}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.CONTENT;e.contentMarkup='\n
\n\n
\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.BUTTON_CONTAINER,o=i.default.BUTTON,a=i.default.BUTTON_LOADER;e.buttonMarkup='\n
\n\n \n\n
\n
\n
\n
\n
\n\n
\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),r=n(2),o=n(0),a=o.default.ICON,s=o.default.ICON_CUSTOM,l=["error","warning","success","info"],u={error:r.errorIconMarkup(),warning:r.warningIconMarkup(),success:r.successIconMarkup()};e.default=function(t){if(t){var e=i.injectElIntoModal(r.iconMarkup);l.includes(t)?function(t,e){var n=a+"--"+t;e.classList.add(n);var i=u[t];i&&(e.innerHTML=i)}(t,e):function(t,e){e.classList.add(s);var n=document.createElement("img");n.src=t,e.appendChild(n)}(t,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),r=n(4),o=function(t){navigator.userAgent.includes("AppleWebKit")&&(t.style.display="none",t.offsetHeight,t.style.display="")};e.initTitle=function(t){if(t){var e=r.injectElIntoModal(i.titleMarkup);e.textContent=t,o(e)}},e.initText=function(t){if(t){var e=document.createDocumentFragment();t.split("\n").forEach(function(t,n,i){e.appendChild(document.createTextNode(t)),n0}).forEach(function(t){b.classList.add(t)}),n&&t===l.CONFIRM_KEY&&b.classList.add(s),b.textContent=r;var m={};return m[t]=o,d.setActionValue(m),d.setActionOptionsFor(t,{closeModal:h}),b.addEventListener("click",function(){return c.onAction(t)}),p};e.default=function(t,e){var n=r.injectElIntoModal(u.footerMarkup);for(var i in t){var o=t[i],a=f(i,o,e);o.visible&&n.appendChild(a)}0===n.children.length&&n.remove()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),r=n(4),o=n(2),a=n(5),s=n(6),l=n(0),u=l.default.CONTENT,c=function(t){t.addEventListener("input",function(t){var e=t.target,n=e.value;a.setActionValue(n)}),t.addEventListener("keyup",function(t){if("Enter"===t.key)return s.onAction(i.CONFIRM_KEY)}),setTimeout(function(){t.focus(),a.setActionValue("")},0)};e.default=function(t){if(t){var e=r.injectElIntoModal(o.contentMarkup),n=t.element,i=t.attributes;"string"==typeof n?function(t,e,n){var i=document.createElement(e),r=u+"__"+e;for(var o in i.classList.add(r),n){var a=n[o];i[o]=a}"input"===e&&c(i),t.appendChild(i)}(e,n,i):e.appendChild(n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n(2);e.default=function(){var t=i.stringToNode(r.overlayMarkup);document.body.appendChild(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(5),r=n(6),o=n(1),a=n(3),s=n(0),l=s.default.MODAL,u=s.default.BUTTON,c=s.default.OVERLAY,d=function(t){if(i.default.isOpen)switch(t.key){case"Escape":return r.onAction(a.CANCEL_KEY)}},f=function(t){if(i.default.isOpen)switch(t.key){case"Tab":return function(t){t.preventDefault(),p()}(t)}},h=function(t){if(i.default.isOpen)return"Tab"===t.key&&t.shiftKey?function(t){t.preventDefault(),b()}(t):void 0},p=function(){var t=o.getNode(u);t&&(t.tabIndex=0,t.focus())},b=function(){var t=o.getNode(l),e=t.querySelectorAll("."+u),n=e.length-1,i=e[n];i&&i.focus()},g=function(){var t=o.getNode(l),e=t.querySelectorAll("."+u);e.length&&(function(t){t[t.length-1].addEventListener("keydown",f)}(e),function(t){t[0].addEventListener("keydown",h)}(e))},m=function(t){if(o.getNode(c)===t.target)return r.onAction(a.CANCEL_KEY)};e.default=function(t){t.closeOnEsc?document.addEventListener("keyup",d):document.removeEventListener("keyup",d),t.dangerMode?p():b(),g(),function(t){var e=o.getNode(c);e.removeEventListener("click",m),t&&e.addEventListener("click",m)}(t.closeOnClickOutside),function(t){i.default.timer&&clearTimeout(i.default.timer),t&&(i.default.timer=window.setTimeout(function(){return r.onAction(a.CANCEL_KEY)},t))}(t.timer)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n(3),o=n(37),a=n(38),s={title:null,text:null,icon:null,buttons:r.defaultButtonList,content:null,className:null,closeOnClickOutside:!0,closeOnEsc:!0,dangerMode:!1,timer:null},l=Object.assign({},s);e.setDefaults=function(t){l=Object.assign({},s,t)};var u=function(t){var e=t&&t.button,n=t&&t.buttons;return void 0!==e&&void 0!==n&&i.throwErr("Cannot set both 'button' and 'buttons' options!"),void 0!==e?{confirm:e}:n},c=function(t){return i.ordinalSuffixOf(t+1)},d=function(t,e){i.throwErr(c(e)+" argument ('"+t+"') is invalid")},f=function(t,e){var n=t+1,r=e[n];i.isPlainObject(r)||void 0===r||i.throwErr("Expected "+c(n)+" argument ('"+r+"') to be a plain object")},h=function(t,e,n,r){var o=typeof e,a="string"===o,s=e instanceof Element;if(a){if(0===n)return{text:e};if(1===n)return{text:e,title:r[0]};if(2===n)return f(n,r),{icon:e};d(e,n)}else{if(s&&0===n)return f(n,r),{content:e};if(i.isPlainObject(e))return function(t,e){var n=t+1,r=e[n];void 0!==r&&i.throwErr("Unexpected "+c(n)+" argument ("+r+")")}(n,r),e;d(e,n)}};e.getOpts=function(){for(var t=[],e=0;e1&&void 0!==arguments[1]&&arguments[1],n=t.to,i=t.from;if(n&&i&&this.transports[n])if(e)this.transports[n]=[];else{var r=this.$_getTransportIndex(t);if(r>=0){var o=this.transports[n].slice(0);o.splice(r,1),this.transports[n]=o}}},registerTarget:function(t,e,n){s&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){s&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var i in this.transports[e])if(this.transports[e][i].from===n)return+i;return-1}}}))(u),h=1,p=r.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(h++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick(function(){f.registerSource(t.name,t)})},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){f.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};f.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:a(t),order:this.order};f.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),b=r.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:f.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick(function(){f.registerTarget(t.name,t)})},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){f.unregisterTarget(e),f.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick(function(){t.firstRender=!1})},beforeDestroy:function(){f.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce(function(t,n){var i=n.passengers[0],r="function"==typeof i?i(e):n.passengers;return t.concat(r)},[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),i=this.transition||this.tag;return e?n[0]:this.slim&&!i?t():t(i,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),g=0,m=["disabled","name","order","slim","slotProps","tag","to"],v=["multiple","transition"],y=r.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(g++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(f.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=f.targets[e.name];else{var n=e.append;if(n){var i="string"==typeof n?n:"DIV",r=document.createElement(i);t.appendChild(r),t=r}var o=l(this.$props,v);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new b({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=l(this.$props,m);return t(p,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});var w={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",p),t.component(e.portalTargetName||"PortalTarget",b),t.component(e.MountingPortalName||"MountingPortal",y)}};e.default=w,e.Portal=p,e.PortalTarget=b,e.MountingPortal=y,e.Wormhole=f},LZbM:function(t,e){t.exports=function(){var t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(e,n,i){var r;return i=i||{},r="string"==typeof t[e]?t[e]:1===n?t[e].one:t[e].other.replace("{{count}}",n),i.addSuffix?i.comparison>0?"in "+r:r+" ago":r}}}},NmtT:function(t,e,n){var i=n("yHON"),r=n("yNUO"),o=n("4Toj"),a=n("F809"),s=n("Us+F"),l=1440,u=2520,c=43200,d=86400;t.exports=function(t,e,n){var f=n||{},h=i(t,e),p=f.locale,b=s.distanceInWords.localize;p&&p.distanceInWords&&p.distanceInWords.localize&&(b=p.distanceInWords.localize);var g,m,v={addSuffix:Boolean(f.addSuffix),comparison:h};h>0?(g=r(t),m=r(e)):(g=r(e),m=r(t));var y,w=o(m,g),O=m.getTimezoneOffset()-g.getTimezoneOffset(),S=Math.round(w/60)-O;if(S<2)return f.includeSeconds?w<5?b("lessThanXSeconds",5,v):w<10?b("lessThanXSeconds",10,v):w<20?b("lessThanXSeconds",20,v):w<40?b("halfAMinute",null,v):b(w<60?"lessThanXMinutes":"xMinutes",1,v):0===S?b("lessThanXMinutes",1,v):b("xMinutes",S,v);if(S<45)return b("xMinutes",S,v);if(S<90)return b("aboutXHours",1,v);if(S1&&void 0!==arguments[1]?arguments[1]:{},v=[],y=0,w=void 0,O=void 0;if(isNaN(t))throw new Error("Invalid arguments");return o=!0===m.bits,f=!0===m.unix,e=m.base||2,d=void 0!==m.round?m.round:f?1:2,h=void 0!==m.separator&&m.separator||"",p=void 0!==m.spacer?m.spacer:f?"":" ",g=m.symbols||m.suffixes||{},b=2===e&&m.standard||"jedec",c=m.output||"string",s=!0===m.fullform,l=m.fullforms instanceof Array?m.fullforms:[],w=void 0!==m.exponent?m.exponent:-1,a=e>2?1e3:1024,(u=(O=Number(t))<0)&&(O=-O),(-1===w||isNaN(w))&&(w=Math.floor(Math.log(O)/Math.log(a)))<0&&(w=0),w>8&&(w=8),0===O?(v[0]=0,v[1]=f?"":i[b][o?"bits":"bytes"][w]):(y=O/(2===e?Math.pow(2,10*w):Math.pow(1e3,w)),o&&(y*=8)>=a&&w<8&&(y/=a,w++),v[0]=Number(y.toFixed(w>0?d:0)),v[1]=10===e&&1===w?o?"kb":"kB":i[b][o?"bits":"bytes"][w],f&&(v[1]="jedec"===b?v[1].charAt(0):w>0?v[1].replace(/B$/,""):v[1],n.test(v[1])&&(v[0]=Math.floor(v[0]),v[1]=""))),u&&(v[0]=-v[0]),v[1]=g[v[1]]||v[1],"array"===c?v:"exponent"===c?w:"object"===c?{value:v[0],suffix:v[1],symbol:v[1]}:(s&&(v[1]=l[w]?l[w]:r[b][w]+(o?"bit":"byte")+(1===v[0]?"":"s")),h.length>0&&(v[0]=v[0].toString().replace(".",h)),v.join(p))}o.partial=function(t){return function(e){return o(e,t)}},t.exports=o}("undefined"!=typeof window&&window)}).call(this,n("yLpj"))},URgk:function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new o(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n("YBdB"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},"Us+F":function(t,e,n){var i=n("LZbM"),r=n("6DAA");t.exports={distanceInWords:i(),format:r()}},VGX7:function(t,e){t.exports=function(t){var e=new Date(t.getTime()),n=e.getTimezoneOffset();return e.setSeconds(0,0),6e4*n+e.getTime()%6e4}},YBdB:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,o,a,s,l=1,u={},c=!1,d=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick(function(){p(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},i=function(t){o.port2.postMessage(t)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,i=function(t){var e=d.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(p,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&p(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),i=function(e){t.postMessage(a+e,"*")}),f.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n0,d=(/msie|trident/.test(u),function(){var t=!1;if(l)try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}()),f=l&&("ontouchstart"in document.documentElement||navigator.maxTouchPoints>0),h=l&&Boolean(window.PointerEvent||window.MSPointerEvent),p=l&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,b=function(){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=void 0!==t&&t&&t.env||{};return e?i[e]||n:i}("BOOTSTRAP_VUE_NO_WARN")}}).call(this,n("8oxB"))},kGIl:function(t,e,n){"undefined"!=typeof self&&self,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=1)}([function(t,e,n){},function(t,e,n){"use strict";n.r(e);var i="undefined"!=typeof window?window.HTMLElement:Object,r={mounted:function(){document.addEventListener("focusin",this.focusIn)},methods:{focusIn:function(t){if(this.isActive&&t.target!==this.$el&&!this.$el.contains(t.target)){var e=this.container?this.container:this.isFullPage?null:this.$el.parentElement;(this.isFullPage||e&&e.contains(t.target))&&(t.preventDefault(),this.$el.focus())}}},beforeDestroy:function(){document.removeEventListener("focusin",this.focusIn)}};function o(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 a=o({name:"spinner",props:{color:{type:String,default:"#000"},height:{type:Number,default:64},width:{type:Number,default:64}}},function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,stroke:this.color}},[e("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{transform:"translate(1 1)","stroke-width":"2"}},[e("circle",{attrs:{"stroke-opacity":".25",cx:"18",cy:"18",r:"18"}}),e("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.8s",repeatCount:"indefinite"}})],1)])])])},[],!1,null,null,null).exports,s=o({name:"dots",props:{color:{type:String,default:"#000"},height:{type:Number,default:240},width:{type:Number,default:60}}},function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:this.color,width:this.width,height:this.height}},[e("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":"0.3"}},[e("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])},[],!1,null,null,null).exports,l=o({name:"bars",props:{color:{type:String,default:"#000"},height:{type:Number,default:40},width:{type:Number,default:40}}},function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",height:this.height,width:this.width,fill:this.color}},[e("rect",{attrs:{x:"0",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"10",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"20",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}})])])},[],!1,null,null,null).exports,u=o({name:"vue-loading",mixins:[r],props:{active:Boolean,programmatic:Boolean,container:[Object,Function,i],isFullPage:{type:Boolean,default:!0},transition:{type:String,default:"fade"},canCancel:Boolean,onCancel:{type:Function,default:function(){}},color:String,backgroundColor:String,opacity:Number,width:Number,height:Number,zIndex:Number,loader:{type:String,default:"spinner"}},data:function(){return{isActive:this.active}},components:{Spinner:a,Dots:s,Bars:l},beforeMount:function(){this.programmatic&&(this.container?(this.isFullPage=!1,this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted:function(){this.programmatic&&(this.isActive=!0),document.addEventListener("keyup",this.keyPress)},methods:{cancel:function(){this.canCancel&&this.isActive&&(this.hide(),this.onCancel.apply(null,arguments))},hide:function(){var t=this;this.$emit("hide"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout(function(){var e;t.$destroy(),void 0!==(e=t.$el).remove?e.remove():e.parentNode.removeChild(e)},150))},keyPress:function(t){27===t.keyCode&&this.cancel()}},watch:{active:function(t){this.isActive=t}},beforeDestroy:function(){document.removeEventListener("keyup",this.keyPress)}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.transition}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"vld-overlay is-active",class:{"is-full-page":t.isFullPage},style:{zIndex:this.zIndex},attrs:{tabindex:"0","aria-busy":t.isActive,"aria-label":"Loading"}},[n("div",{staticClass:"vld-background",style:{background:this.backgroundColor,opacity:this.opacity},on:{click:function(e){return e.preventDefault(),t.cancel(e)}}}),n("div",{staticClass:"vld-icon"},[t._t("before"),t._t("default",[n(t.loader,{tag:"component",attrs:{color:t.color,width:t.width,height:t.height}})]),t._t("after")],2)])])},[],!1,null,null,null).exports,c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{show:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,o=Object.assign({},e,i,{programmatic:!0}),a=new(t.extend(u))({el:document.createElement("div"),propsData:o}),s=Object.assign({},n,r);return Object.keys(s).map(function(t){a.$slots[t]=s[t]}),a}}};n(0),u.install=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=c(t,e,n);t.$loading=i,t.prototype.$loading=i},e.default=u}]).default},kOWh:function(t,e){var n=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];t.exports=function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);var r=n.concat(e).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+r.join("|")+"|.)","g")}},pzWd:function(t,e){t.exports=function(t){return t instanceof Date}},sunR:function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t),r=i(e);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}},yHON:function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t).getTime(),r=i(e).getTime();return n>r?-1:n0&&(j+=M)}return new Date(E+D+j)}var F,L,V;return new Date(t)}}},[[2,0,1]]]);