UNPKG

bootstrap-vue-editable-table

Version:

A Bootstrap Vue editable table for editing cells using built-in Bootstrap form elements

1 lines 211 kB
var BEditableTable=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(t);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var l=function(){return(l=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},c={kebab:/-(\w)/g,styleProp:/:(.*)/,styleList:/;(?![^(]*\))/g};function u(t,e){return e?e.toUpperCase():""}function d(t){for(var e,n={},r=0,i=t.split(c.styleList);r<i.length;r++){var o=i[r].split(c.styleProp),a=o[0],s=o[1];(a=a.trim())&&("string"==typeof s&&(s=s.trim()),n[(e=a,e.replace(c.kebab,u))]=s)}return n}function h(){for(var t,e,n={},r=arguments.length;r--;)for(var i=0,o=Object.keys(arguments[r]);i<o.length;i++)switch(t=o[i]){case"class":case"style":case"directives":if(Array.isArray(n[t])||(n[t]=[]),"style"===t){var a=void 0;a=Array.isArray(arguments[r].style)?arguments[r].style:[arguments[r].style];for(var s=0;s<a.length;s++){var c=a[s];"string"==typeof c&&(a[s]=d(c))}arguments[r].style=a}n[t]=n[t].concat(arguments[r][t]);break;case"staticClass":if(!arguments[r][t])break;void 0===n[t]&&(n[t]=""),n[t]&&(n[t]+=" "),n[t]+=arguments[r][t].trim();break;case"on":case"nativeOn":n[t]||(n[t]={});for(var u=0,h=Object.keys(arguments[r][t]||{});u<h.length;u++)e=h[u],n[t][e]?n[t][e]=[].concat(n[t][e],arguments[r][t][e]):n[t][e]=arguments[r][t][e];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":n[t]||(n[t]={}),n[t]=l({},arguments[r][t],n[t]);break;default:n[t]||(n[t]=arguments[r][t])}return n}function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){b(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function m(t){return m="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},m(t)}var y="_uid",g=n.default.version.startsWith("3"),O=g?"ref_for":"refInFor",w=["class","staticClass","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"],T=n.default.extend.bind(n.default);if(g){var j=n.default.extend,S=["router-link","transition","transition-group"],P=n.default.vModelDynamic.created,k=n.default.vModelDynamic.beforeUpdate;n.default.vModelDynamic.created=function(t,e,n){P.call(this,t,e,n),t._assign||(t._assign=function(){})},n.default.vModelDynamic.beforeUpdate=function(t,e,n){k.call(this,t,e,n),t._assign||(t._assign=function(){})},T=function(t){if("object"===m(t)&&t.render&&!t.__alreadyPatched){var e=t.render;t.__alreadyPatched=!0,t.render=function(n){var r=function(t,e,r){var i=void 0===r?[]:[Array.isArray(r)?r.filter(Boolean):r],o="string"==typeof t&&!S.includes(t);if(!(e&&"object"===m(e)&&!Array.isArray(e)))return n.apply(void 0,[t,e].concat(i));var a=e.attrs,s=e.props,l=p(p({},v(e,["attrs","props"])),{},{attrs:a,props:o?{}:s});return"router-link"!==t||l.slots||l.scopedSlots||(l.scopedSlots={$hasNormal:function(){}}),n.apply(void 0,[t,l].concat(i))};if(t.functional){var i,o,a=arguments[1],s=p({},a);s.data={attrs:p({},a.data.attrs||{}),props:p({},a.data.props||{})},Object.keys(a.data||{}).forEach((function(t){w.includes(t)?s.data[t]=a.data[t]:t in a.props?s.data.props[t]=a.data[t]:t.startsWith("on")||(s.data.attrs[t]=a.data[t])}));var l=["_ctx"],c=(null===(i=a.children)||void 0===i||null===(o=i.default)||void 0===o?void 0:o.call(i))||a.children;return c&&0===Object.keys(s.children).filter((function(t){return!l.includes(t)})).length?delete s.children:s.children=c,s.data.on=a.listeners,e.call(this,r,s)}return e.call(this,r)}}return j.call(this,t)}.bind(n.default)}n.default.nextTick;var D="undefined"!=typeof window,C="undefined"!=typeof document,E="undefined"!=typeof navigator,$=D&&C&&E,x=D?window:{},F=C?document:{},I=E?navigator:{},M=(I.userAgent||"").toLowerCase();M.indexOf("jsdom"),/msie|trident/.test(M);var _=function(){var t=!1;if($)try{var e={get passive(){t=!0}};x.addEventListener("test",e,e),x.removeEventListener("test",e,e)}catch(e){t=!1}return t}(),R=$&&("ontouchstart"in F.documentElement||I.maxTouchPoints>0);$&&Boolean(x.PointerEvent||x.MSPointerEvent),$&&"IntersectionObserver"in x&&"IntersectionObserverEntry"in x&&x.IntersectionObserverEntry.prototype;var L=["xs","sm","md","lg","xl"],V=/\[(\d+)]/g,A=/^(BV?)/,B=/^\d+$/,H=/(<([^>]+)>)/gi,N=/\B([A-Z])/g,z=/([a-z])([A-Z])/g,G=/^[0-9]*\.?[0-9]+$/,Y=/[-/\\^$*+?.()|[\]{}]/g,W=/[\s\uFEFF\xA0]+/g,U=/(\s|^)(\w)/g,q=/_/g,K=/-(\w)/g,X=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,J=/-|\s|T/,Z=/%2C/g,Q=/[!'()*]/g,tt=/^BIcon/,et=/-u-.+/;function nt(t){return nt="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},nt(t)}function rt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function it(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(t,"prototype",{value:Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),writable:!1}),e&&ct(t,e)}function ot(t){var e=lt();return function(){var n,r=ut(t);if(e){var i=ut(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===nt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function at(t){var e="function"==typeof Map?new Map:void 0;return at=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return st(t,arguments,ut(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ct(r,t)},at(t)}function st(t,e,n){return st=lt()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&ct(i,n.prototype),i},st.apply(null,arguments)}function lt(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function ct(t,e){return ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},ct(t,e)}function ut(t){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ut(t)}var dt=D?x.Element:function(t){it(n,t);var e=ot(n);function n(){return rt(this,n),e.apply(this,arguments)}return n}(at(Object)),ht=D?x.HTMLElement:function(t){it(n,t);var e=ot(n);function n(){return rt(this,n),e.apply(this,arguments)}return n}(dt),ft=D?x.SVGElement:function(t){it(n,t);var e=ot(n);function n(){return rt(this,n),e.apply(this,arguments)}return n}(dt);function pt(t){return pt="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},pt(t)}D&&x.File;var bt=function(t){return pt(t)},vt=function(t){return void 0===t},mt=function(t){return null===t},yt=function(t){return vt(t)||mt(t)},gt=function(t){return"function"===bt(t)},Ot=function(t){return"boolean"===bt(t)},wt=function(t){return"string"===bt(t)},Tt=function(t){return"number"===bt(t)},jt=function(t){return Array.isArray(t)},St=function(t){return null!==t&&"object"===pt(t)},Pt=function(t){return"[object Object]"===Object.prototype.toString.call(t)},kt=function(t){return t instanceof Date},Dt=function(t){return t instanceof Event},Ct=function(t){return"RegExp"===function(t){return Object.prototype.toString.call(t).slice(8,-1)}(t)};function Et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $t(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(n),!0).forEach((function(e){xt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function xt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ft=function(){return Object.assign.apply(Object,arguments)},It=function(t){return Object.keys(t)},Mt=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},_t=function(t){return $t({},t)},Rt=function(t,e){return It(t).filter((function(t){return-1!==e.indexOf(t)})).reduce((function(e,n){return $t($t({},e),{},xt({},n,t[n]))}),{})},Lt=function(t,e){return It(t).filter((function(t){return-1===e.indexOf(t)})).reduce((function(e,n){return $t($t({},e),{},xt({},n,t[n]))}),{})},Vt=function t(e,n){return St(e)&&St(n)&&It(n).forEach((function(r){St(n[r])?(e[r]&&St(e[r])||(e[r]=n[r]),t(e[r],n[r])):Ft(e,xt({},r,n[r]))})),e},At=function(t){return It(t).sort().reduce((function(e,n){return $t($t({},e),{},xt({},n,t[n]))}),{})};function Bt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ht(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bt(Object(n),!0).forEach((function(e){Nt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zt(t){return function(t){if(Array.isArray(t))return Gt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Gt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gt(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Yt=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return jt(e)?e.reduce((function(e,n){return[].concat(zt(e),[t(n,n)])}),[]):Pt(e)?It(e).reduce((function(n,r){return Ht(Ht({},n),{},Nt({},r,t(e[r],e[r])))}),{}):n},Wt=function(t){return t},Ut=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!(e=jt(e)?e.join("."):e)||!St(t))return n;if(e in t)return t[e];var r=(e=String(e).replace(V,".$1")).split(".").filter(Wt);return 0===r.length?n:r.every((function(e){return St(t)&&e in t&&!yt(t=t[e])}))?t:mt(t)?null:n}(t,e);return yt(r)?n:r},qt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="undefined"!=typeof process&&process&&process.env||{};return t?n[t]||e:n},Kt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;qt("BOOTSTRAP_VUE_NO_WARN")||"production"===qt("NODE_ENV")||console.warn("[BootstrapVue warn]: ".concat(e?"".concat(e," - "):"").concat(t))},Xt="BButton",Jt="BCalendar",Zt="BDropdown",Qt="BFormCheckbox",te="BFormDatepicker",ee="BFormInput",ne="BFormRating",re="BFormSelect",ie="BFormSelectOption",oe="BFormSelectOptionGroup",ae="BIcon",se="BLink",le="BTable",ce="BTableCell",ue="BTbody",de="BTfoot",he="BThead",fe="BTooltip",pe="change",be="click",ve="close",me="context",ye="context-changed",ge="disable",Oe="disabled",we="enable",Te="enabled",je="filtered",Se="focusin",Pe="focusout",ke="head-clicked",De="hidden",Ce="hide",Ee="input",$e="mouseenter",xe="mouseleave",Fe="open",Ie="refreshed",Me="row-clicked",_e="selected",Re="show",Le="shown",Ve=g?"vnodeBeforeUnmount":"hook:beforeDestroy",Ae=g?"vNodeUnmounted":"hook:destroyed",Be="update:",He="bv",Ne={passive:!0,capture:!1},ze=void 0,Ge=Array,Ye=Boolean,We=Date,Ue=Function,qe=Number,Ke=Object,Xe=RegExp,Je=String,Ze=[Ge,Ue],Qe=[Ge,Ke],tn=[Ge,Ke,Je],en=[Ge,Je],nn=[Ye,Je],rn=[We,Je],on=[qe,Je],an=[qe,Ke,Je],sn=[Ke,Ue],ln=[Ke,Je],cn="bottom-row",un="button-content",dn="custom-foot",hn="default",fn="first",pn="row-details",bn="table-busy",vn="table-caption",mn="table-colgroup",yn="top-row",gn=function(){return Array.from.apply(Array,arguments)},On=function(t,e){return-1!==t.indexOf(e)},wn=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Array.prototype.concat.apply([],e)},Tn=T({methods:{hasNormalizedSlot:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(t=wn(t).filter(Wt)).some((function(t){return e[t]||n[t]}))}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:hn,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$scopedSlots,arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$slots)},normalizeSlot:function(){var t=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=wn(t).filter(Wt);for(var o=0;o<t.length&&!e;o++){var a=t[o];e=r[a]||i[a]}return gt(e)?e(n):e}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:hn,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$scopedSlots,arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.$slots);return t?wn(t):t}}}),jn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseInt(t,10);return isNaN(n)?e:n},Sn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseFloat(t);return isNaN(n)?e:n},Pn=function(t){return t.replace(N,"-$1").toLowerCase()},kn=function(t){return(t=Pn(t).replace(K,(function(t,e){return e?e.toUpperCase():""}))).charAt(0).toUpperCase()+t.slice(1)},Dn=function(t){return t.replace(q," ").replace(z,(function(t,e,n){return e+" "+n})).replace(U,(function(t,e,n){return e+n.toUpperCase()}))},Cn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return yt(t)?"":jt(t)||Pt(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},En=function(t){return Cn(t).trim()},$n=dt.prototype,xn=$n.matches||$n.msMatchesSelector||$n.webkitMatchesSelector,Fn=$n.closest||function(t){var e=this;do{if(An(e,t))return e;e=e.parentElement||e.parentNode}while(!mt(e)&&e.nodeType===Node.ELEMENT_NODE);return null},In=(x.requestAnimationFrame||x.webkitRequestAnimationFrame||x.mozRequestAnimationFrame||x.msRequestAnimationFrame||x.oRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(x);x.MutationObserver||x.WebKitMutationObserver||x.MozMutationObserver;var Mn=function(t){return!(!t||t.nodeType!==Node.ELEMENT_NODE)},_n=function(t,e){return Cn(t).toLowerCase()===Cn(e).toLowerCase()},Rn=function(t){return Mn(t)&&t===function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=F.activeElement;return e&&!t.some((function(t){return t===e}))?e:null}()},Ln=function(t){if(!Mn(t)||!t.parentNode||!Hn(F.body,t))return!1;if("none"===qn(t,"display"))return!1;var e=Kn(t);return!!(e&&e.height>0&&e.width>0)},Vn=function(t,e){return(Mn(e)?e:F).querySelector(t)||null},An=function(t,e){return!!Mn(t)&&xn.call(t,e)},Bn=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!Mn(e))return null;var r=Fn.call(e,t);return n?r:r===e?null:r},Hn=function(t,e){return!(!t||!gt(t.contains))&&t.contains(e)},Nn=function(t){return F.getElementById(/^#/.test(t)?t.slice(1):t)||null},zn=function(t,e){return!!(e&&Mn(t)&&t.classList)&&t.classList.contains(e)},Gn=function(t,e,n){e&&Mn(t)&&t.setAttribute(e,n)},Yn=function(t,e){e&&Mn(t)&&t.removeAttribute(e)},Wn=function(t,e){return e&&Mn(t)?t.getAttribute(e):null},Un=function(t,e){return e&&Mn(t)?t.hasAttribute(e):null},qn=function(t,e){return e&&Mn(t)&&t.style[e]||null},Kn=function(t){return Mn(t)?t.getBoundingClientRect():null},Xn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t.focus(e)}catch(t){}return Rn(t)},Jn=function(t){try{t.blur()}catch(t){}return!Rn(t)},Zn=function(t){var e,n,r=(e=null,Object.create(e,n));return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var o=JSON.stringify(n);return r[o]=r[o]||t.apply(null,n)}},Qn=n.default.prototype,tr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=Qn.$bvConfig;return n?n.getConfigValue(t,e):Yt(e)},er=Zn((function(){return tr("breakpoints",L)}));function nr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function rr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nr(Object(n),!0).forEach((function(e){ir(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ir(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Zn((function(){var t=Yt(er());return t[0]="",t}));var or=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ze,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,i=!0===n;return r=i?r:n,rr(rr(rr({},t?{type:t}:{}),i?{required:i}:vt(e)?{}:{default:St(e)?function(){return e}:e}),vt(r)?{}:{validator:r})},ar=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Wt;return(jt(t)?t.slice():It(t)).reduce((function(t,r){return t[n(r)]=e[r],t}),{})},sr=function(t,e,n){return rr(rr({},Yt(t)),{},{default:function(){var r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return e?tr("".concat(t,".").concat(e),n):tr(t,{})}(n,e,t.default);return gt(r)?r():r}})},lr=function(t,e){return It(t).reduce((function(n,r){return rr(rr({},n),{},ir({},r,sr(t[r],r,e)))}),{})},cr=sr({},"","").default.name,ur=function(t){return gt(t)&&t.name&&t.name!==cr};var dr=function(t){var e,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.type,a=void 0===o?ze:o,s=i.defaultValue,l=void 0===s?void 0:s,c=i.validator,u=void 0===c?void 0:c,d=i.event,h=void 0===d?Ee:d,f=(e={},n=t,r=or(a,l,u),n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e);return{mixin:T({model:{prop:t,event:h},props:f}),props:f,prop:t,event:h}},hr=function(t){return _?St(t)?t:{capture:!!t||!1}:!!(St(t)?t.capture:t)},fr=function(t,e,n,r){t&&t.addEventListener&&t.addEventListener(e,n,hr(r))},pr=function(t,e,n,r){t&&t.removeEventListener&&t.removeEventListener(e,n,hr(r))},br=function(t){for(var e=t?fr:pr,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.apply(void 0,r)},vr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.preventDefault,r=void 0===n||n,i=e.propagation,o=void 0===i||i,a=e.immediatePropagation,s=void 0!==a&&a;r&&t.preventDefault(),o&&t.stopPropagation(),s&&t.stopImmediatePropagation()},mr=function(t){return Pn(t.replace(A,""))},yr=function(t,e){return[He,mr(t),e].join("::")},gr=function(t,e){return[He,e,mr(t)].join("::")};function Or(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function wr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Or(Object(n),!0).forEach((function(e){Tr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Or(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Tr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var jr={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},Sr=wr(wr({},jr),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),Pr={appear:or(Ye,!1),mode:or(Je),noFade:or(Ye,!1),transProps:or(Ke)},kr=T({name:"BVTransition",functional:!0,props:Pr,render:function(t,e){var n=e.children,r=e.data,i=e.props,o=i.transProps;Pt(o)||(o=i.noFade?jr:Sr,i.appear&&(o=wr(wr({},o),{},{appear:!0,appearClass:o.enterClass,appearActiveClass:o.enterActiveClass,appearToClass:o.enterToClass}))),o=wr(wr({mode:i.mode},o),{},{css:!0});var a=wr({},r);return delete a.props,t("transition",h(a,{props:o}),n)}}),Dr=Math.min,Cr=Math.max;function Er(t){return g?new Proxy(t,{get:function(t,e){return e in t?t[e]:void 0}}):t}var $r=function(t){return"%"+t.charCodeAt(0).toString(16)},xr=function(t){return encodeURIComponent(Cn(t)).replace(Q,$r).replace(Z,",")},Fr=function(t){return!(!t||_n(t,"a"))},Ir=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.href,n=t.to,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(e)return e;if(Fr(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a"))return null;if(wt(n))return n||i;if(Pt(n)&&(n.path||n.query||n.hash)){var o=Cn(n.path),a=function(t){if(!Pt(t))return"";var e=It(t).map((function(e){var n=t[e];return vt(n)?"":mt(n)?xr(e):jt(n)?n.reduce((function(t,n){return mt(n)?t.push(xr(e)):vt(n)||t.push(xr(e)+"="+xr(n)),t}),[]).join("&"):xr(e)+"="+xr(n)})).filter((function(t){return t.length>0})).join("&");return e?"?".concat(e):""}(n.query),s=Cn(n.hash);return s=s&&"#"!==s.charAt(0)?"#".concat(s):s,"".concat(o).concat(a).concat(s)||i}return r};function Mr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _r={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},Rr={width:null,height:null,focusable:null,role:null,"aria-label":null},Lr={animation:or(Je),content:or(Je),flipH:or(Ye,!1),flipV:or(Ye,!1),fontScale:or(on,1),rotate:or(on,0),scale:or(on,1),shiftH:or(on,0),shiftV:or(on,0),stacked:or(Ye,!1),title:or(Je),variant:or(Je)},Vr=T({name:"BIconBase",functional:!0,props:Lr,render:function(t,e){var n,r=e.data,i=e.props,o=e.children,a=i.animation,s=i.content,l=i.flipH,c=i.flipV,u=i.stacked,d=i.title,f=i.variant,p=Cr(Sn(i.fontScale,1),0)||1,b=Cr(Sn(i.scale,1),0)||1,v=Sn(i.rotate,0),m=Sn(i.shiftH,0),y=Sn(i.shiftV,0),g=l||c||1!==b,O=g||v,w=m||y,T=!yt(s),j=t("g",{attrs:{transform:[O?"translate(8 8)":null,g?"scale(".concat((l?-1:1)*b," ").concat((c?-1:1)*b,")"):null,v?"rotate(".concat(v,")"):null,O?"translate(-8 -8)":null].filter(Wt).join(" ")||null},domProps:T?{innerHTML:s||""}:{}},o);w&&(j=t("g",{attrs:{transform:"translate(".concat(16*m/16," ").concat(-16*y/16,")")}},[j])),u&&(j=t("g",[j]));var S=[d?t("title",d):null,j].filter(Wt);return t("svg",h({staticClass:"b-icon bi",class:(n={},Mr(n,"text-".concat(f),f),Mr(n,"b-icon-animation-".concat(a),a),n),attrs:_r,style:u?{}:{fontSize:1===p?null:"".concat(100*p,"%")}},r,u?{attrs:Rr}:{},{attrs:{xmlns:u?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),S)}});function Ar(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Br(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ar(Object(n),!0).forEach((function(e){Hr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ar(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Hr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Nr=Lt(Lr,["content"]),zr=function(t,e){var n=Pn(t),r="BIcon".concat(kn(t)),i="bi-".concat(n),o=n.replace(/-/g," "),a=En(e||"");return T({name:r,functional:!0,props:Nr,render:function(t,e){var n=e.data,r=e.props;return t(Vr,h({props:{title:o},attrs:{"aria-label":o}},n,{staticClass:i,props:Br(Br({},r),{},{content:a})}))}})},Gr=zr("Blank",""),Yr=zr("Calendar",'<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>'),Wr=zr("CalendarFill",'<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5h16V4H0V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5z"/>'),Ur=zr("ChevronBarLeft",'<path fill-rule="evenodd" d="M11.854 3.646a.5.5 0 0 1 0 .708L8.207 8l3.647 3.646a.5.5 0 0 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 0 1 .708 0zM4.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5z"/>'),qr=zr("ChevronDoubleLeft",'<path fill-rule="evenodd" d="M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/><path fill-rule="evenodd" d="M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>'),Kr=zr("ChevronDown",'<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>'),Xr=zr("ChevronLeft",'<path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>'),Jr=zr("CircleFill",'<circle cx="8" cy="8" r="8"/>'),Zr=zr("Star",'<path d="M2.866 14.85c-.078.444.36.791.746.593l4.39-2.256 4.389 2.256c.386.198.824-.149.746-.592l-.83-4.73 3.522-3.356c.33-.314.16-.888-.282-.95l-4.898-.696L8.465.792a.513.513 0 0 0-.927 0L5.354 5.12l-4.898.696c-.441.062-.612.636-.283.95l3.523 3.356-.83 4.73zm4.905-2.767-3.686 1.894.694-3.957a.565.565 0 0 0-.163-.505L1.71 6.745l4.052-.576a.525.525 0 0 0 .393-.288L8 2.223l1.847 3.658a.525.525 0 0 0 .393.288l4.052.575-2.906 2.77a.565.565 0 0 0-.163.506l.694 3.957-3.686-1.894a.503.503 0 0 0-.461 0z"/>'),Qr=zr("StarFill",'<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>'),ti=zr("StarHalf",'<path d="M5.354 5.119 7.538.792A.516.516 0 0 1 8 .5c.183 0 .366.097.465.292l2.184 4.327 4.898.696A.537.537 0 0 1 16 6.32a.548.548 0 0 1-.17.445l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256a.52.52 0 0 1-.146.05c-.342.06-.668-.254-.6-.642l.83-4.73L.173 6.765a.55.55 0 0 1-.172-.403.58.58 0 0 1 .085-.302.513.513 0 0 1 .37-.245l4.898-.696zM8 12.027a.5.5 0 0 1 .232.056l3.686 1.894-.694-3.957a.565.565 0 0 1 .162-.505l2.907-2.77-4.052-.576a.525.525 0 0 1-.393-.288L8.001 2.223 8 2.226v9.8z"/>'),ei=zr("X",'<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>');function ni(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ri(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ni(Object(n),!0).forEach((function(e){ii(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ni(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ii(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var oi=function t(e,r){if(!e)return n.default.component(r);var i=(e.$options||{}).components;return i&&i[r]||t(e.$parent,r)},ai=Lt(Lr,["content"]),si=lr(At(ri(ri({},ai),{},{icon:or(Je)})),ae),li=T({name:ae,functional:!0,props:si,render:function(t,e){var n=e.data,r=e.props,i=e.parent,o=kn(En(r.icon||"")).replace(tt,"");return t(o&&oi(i,"BIcon".concat(o))||Gr,h(n,{props:ar(ai,r)}))}}),ci=40,ui=13,di=32,hi=38,fi=function(t,e){if(t.length!==e.length)return!1;for(var n=!0,r=0;n&&r<t.length;r++)n=pi(t[r],e[r]);return n},pi=function t(e,n){if(e===n)return!0;var r=kt(e),i=kt(n);if(r||i)return!(!r||!i)&&e.getTime()===n.getTime();if(r=jt(e),i=jt(n),r||i)return!(!r||!i)&&fi(e,n);if(r=St(e),i=St(n),r||i){if(!r||!i)return!1;if(It(e).length!==It(n).length)return!1;for(var o in e){var a=Mt(e,o),s=Mt(n,o);if(a&&!s||!a&&s||!t(e[o],n[o]))return!1}}return String(e)===String(n)};function bi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vi=function(t){return!t||0===It(t).length},mi=function(t){return{handler:function(e,n){if(!pi(e,n))if(vi(e)||vi(n))this[t]=Yt(e);else{for(var r in n)Mt(e,r)||this.$delete(this.$data[t],r);for(var i in e)this.$set(this.$data[t],i,e[i])}}}},yi=function(t,e){return T({data:function(){return bi({},e,Yt(this[t]))},watch:bi({},t,mi(e))})};function gi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Oi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wi=yi("$attrs","bvAttrs"),Ti=T({computed:{bvAttrs:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gi(Object(n),!0).forEach((function(e){Oi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.$attrs);return Object.keys(t).forEach((function(e){void 0===t[e]&&delete t[e]})),t}}}),ji=g?Ti:wi,Si="$_rootListeners",Pi=T({computed:{bvEventRoot:function(){return(t=this).$root.$options.bvEventRoot||t.$root;var t}},created:function(){this[Si]={}},beforeDestroy:function(){var t=this;It(this[Si]||{}).forEach((function(e){t[Si][e].forEach((function(n){t.listenOffRoot(e,n)}))})),this[Si]=null},methods:{registerRootListener:function(t,e){this[Si]&&(this[Si][t]=this[Si][t]||[],On(this[Si][t],e)||this[Si][t].push(e))},unregisterRootListener:function(t,e){this[Si]&&this[Si][t]&&(this[Si][t]=this[Si][t].filter((function(t){return t!==e})))},listenOnRoot:function(t,e){this.bvEventRoot&&(this.bvEventRoot.$on(t,e),this.registerRootListener(t,e))},listenOnRootOnce:function(t,e){var n=this;if(this.bvEventRoot){var r=function t(){n.unregisterRootListener(t),e.apply(void 0,arguments)};this.bvEventRoot.$once(t,r),this.registerRootListener(t,r)}},listenOffRoot:function(t,e){this.unregisterRootListener(t,e),this.bvEventRoot&&this.bvEventRoot.$off(t,e)},emitOnRoot:function(t){if(this.bvEventRoot){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(e=this.bvEventRoot).$emit.apply(e,[t].concat(r))}}}});function ki(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Di(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ki(Object(n),!0).forEach((function(e){Ci(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ki(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ei=yi("$listeners","bvListeners"),$i=T({data:function(){return{bvListeners:{}}},created:function(){this.bvListeners=Di({},this.$listeners)},beforeUpdate:function(){this.bvListeners=Di({},this.$listeners)}}),xi=g?$i:Ei;function Fi(t){return function(t){if(Array.isArray(t))return Ii(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Ii(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ii(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ii(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Mi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mi(Object(n),!0).forEach((function(e){Ri(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ri(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Li=yr(se,"clicked"),Vi={activeClass:or(Je),append:or(Ye,!1),event:or(en),exact:or(Ye,!1),exactActiveClass:or(Je),exactPath:or(Ye,!1),exactPathActiveClass:or(Je),replace:or(Ye,!1),routerTag:or(Je),to:or(ln)},Ai={noPrefetch:or(Ye,!1),prefetch:or(Ye,null)},Bi=lr(At(_i(_i(_i({},Ai),Vi),{},{active:or(Ye,!1),disabled:or(Ye,!1),href:or(Je),rel:or(Je,null),routerComponentName:or(Je),target:or(Je,"_self")})),se),Hi=T({name:se,mixins:[ji,xi,Pi,Tn],inheritAttrs:!1,props:Bi,computed:{computedTag:function(){return function(t,e){var n=t.to,r=t.disabled,i=t.routerComponentName,o=!!Er(e).$router,a=!!Er(e).$nuxt;return!o||o&&(r||!n)?"a":i||(a?"nuxt-link":"router-link")}({to:this.to,disabled:this.disabled,routerComponentName:this.routerComponentName},this)},isRouterLink:function(){return Fr(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&&mt(n)?"noopener":n||null}({target:this.target,rel:this.rel})},computedHref:function(){var t=this.to,e=this.href;return Ir({to:t,href:e},this.computedTag)},computedProps:function(){var t=this.event,e=this.prefetch,n=this.routerTag;return this.isRouterLink?_i(_i(_i(_i({},ar(Lt(_i(_i({},Vi),"nuxt-link"===this.computedTag?Ai:{}),["event","prefetch","routerTag"]),this)),t?{event:t}:{}),Ot(e)?{prefetch:e}:{}),n?{tag:n}:{}):{}},computedAttrs:function(){var t=this.bvAttrs,e=this.computedHref,n=this.computedRel,r=this.disabled,i=this.target,o=this.routerTag,a=this.isRouterLink;return _i(_i(_i(_i({},t),e?{href:e}:{}),a&&o&&!_n(o,"a")?{}:{rel:n,target:i}),{},{tabindex:r?"-1":vt(t.tabindex)?null:t.tabindex,"aria-disabled":r?"true":null})},computedListeners:function(){return _i(_i({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(t){var e=arguments,n=Dt(t),r=this.isRouterLink,i=this.bvListeners.click;if(n&&this.disabled)vr(t,{immediatePropagation:!0});else{var o;if(r)null===(o=t.currentTarget.__vue__)||void 0===o||o.$emit(be,t);wn(i).filter((function(t){return gt(t)})).forEach((function(t){t.apply(void 0,Fi(e))})),this.emitOnRoot(Li,t),this.emitOnRoot("clicked::link",t)}n&&!r&&"#"===this.computedHref&&vr(t,{propagation:!1})},focus:function(){Xn(this.$el)},blur:function(){Jn(this.$el)}},render:function(t){var e=this.active,n=this.disabled;return t(this.computedTag,Ri({class:{active:e,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function Ni(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function zi(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ni(Object(n),!0).forEach((function(e){Gi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ni(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Gi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Yi=Lt(Bi,["event","routerTag"]);delete Yi.href.default,delete Yi.to.default;var Wi=lr(At(zi(zi({},Yi),{},{block:or(Ye,!1),disabled:or(Ye,!1),pill:or(Ye,!1),pressed:or(Ye,null),size:or(Je),squared:or(Ye,!1),tag:or(Je,"button"),type:or(Je,"button"),variant:or(Je,"secondary")})),Xt),Ui=function(t){var e,n;"focusin"===t.type?(e=t.target,(n="focus")&&Mn(e)&&e.classList&&e.classList.add(n)):"focusout"===t.type&&function(t,e){e&&Mn(t)&&t.classList&&t.classList.remove(e)}(t.target,"focus")},qi=function(t){return function(t){return!(!t.href&&!t.to)}(t)||_n(t.tag,"a")},Ki=function(t){return Ot(t.pressed)},Xi=function(t){return!(qi(t)||t.tag&&!_n(t.tag,"button"))},Ji=function(t){return!qi(t)&&!Xi(t)},Zi=function(t){var e;return["btn-".concat(t.variant||"secondary"),(e={},Gi(e,"btn-".concat(t.size),t.size),Gi(e,"btn-block",t.block),Gi(e,"rounded-pill",t.pill),Gi(e,"rounded-0",t.squared&&!t.pill),Gi(e,"disabled",t.disabled),Gi(e,"active",t.pressed),e)]},Qi=function(t){return qi(t)?ar(Yi,t):{}},to=function(t,e){var n=Xi(t),r=qi(t),i=Ki(t),o=Ji(t),a=r&&"#"===t.href,s=e.attrs&&e.attrs.role?e.attrs.role:null,l=e.attrs?e.attrs.tabindex:null;return(o||a)&&(l="0"),{type:n&&!r?t.type:null,disabled:n?t.disabled:null,role:o||a?"button":s,"aria-disabled":o?String(t.disabled):null,"aria-pressed":i?String(t.pressed):null,autocomplete:i?"off":null,tabindex:t.disabled&&!n?"-1":l}},eo=T({name:Xt,functional:!0,props:Wi,render:function(t,e){var n=e.props,r=e.data,i=e.listeners,o=e.children,a=Ki(n),s=qi(n),l=Ji(n),c=s&&"#"===n.href,u={keydown:function(t){if(!n.disabled&&(l||c)){var e=t.keyCode;if(e===di||e===ui&&l){var r=t.currentTarget||t.target;vr(t,{propagation:!1}),r.click()}}},click:function(t){n.disabled&&Dt(t)?vr(t):a&&i&&i["update:pressed"]&&wn(i["update:pressed"]).forEach((function(t){gt(t)&&t(!n.pressed)}))}};a&&(u.focusin=Ui,u.focusout=Ui);var d={staticClass:"btn",class:Zi(n),props:Qi(n),attrs:to(n,r),on:u};return t(s?Hi:n.tag,h(zi(zi({},r),{},{props:void 0}),d),o)}}),no=function(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(H,"")},ro=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}},io="gregory",oo="long",ao="short",so="2-digit",lo="numeric";function co(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return uo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uo(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ho(t,e,n){return ho=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&fo(i,n.prototype),i},ho.apply(null,arguments)}function fo(t,e){return fo=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},fo(t,e)}var po,bo=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return ho(Date,e)},vo=function(t){if(wt(t)&&X.test(t.trim())){var e=co(t.split(J).map((function(t){return jn(t,1)})),3),n=e[0],r=e[1],i=e[2];return bo(n,r-1,i)}return kt(t)?bo(t.getFullYear(),t.getMonth(),t.getDate()):null},mo=function(t){if(!(t=vo(t)))return null;var e=t.getFullYear(),n="0".concat(t.getMonth()+1).slice(-2),r="0".concat(t.getDate()).slice(-2);return"".concat(e,"-").concat(n,"-").concat(r)},yo=function(t,e){return new Intl.DateTimeFormat(t,e).format},go=function(t,e){return mo(t)===mo(e)},Oo=function(t){return(t=bo(t)).setDate(1),t},wo=function(t){return(t=bo(t)).setMonth(t.getMonth()+1),t.setDate(0),t},To=function(t,e){var n=(t=bo(t)).getMonth();return t.setFullYear(t.getFullYear()+e),t.getMonth()!==n&&t.setDate(0),t},jo=function(t){var e=(t=bo(t)).getMonth();return t.setMonth(e-1),t.getMonth()===e&&t.setDate(0),t},So=function(t){var e=(t=bo(t)).getMonth();return t.setMonth(e+1),t.getMonth()===(e+2)%12&&t.setDate(0),t},Po=function(t){return To(t,-1)},ko=function(t){return To(t,1)},Do=function(t){return To(t,-10)},Co=function(t){return To(t,10)},Eo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t=vo(t),e=vo(e)||t,n=vo(n)||t,t?t<e?e:t>n?n:t:null},$o=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map((function(t){return t.toLowerCase()})),xo=function(t){var e=Cn(t).toLowerCase().replace(et,"").split("-"),n=e.slice(0,2).join("-"),r=e[0];return On($o,n)||On($o,r)},Fo={id:or(Je)},Io=T({props:Fo,data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick((function(){t.localId_="__BVID__".concat(t[y])}))}});function Mo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mo(Object(n),!0).forEach((function(e){Ro(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Lo=dr("value",{type:rn}),Vo=Lo.mixin,Ao=Lo.props,Bo=Lo.prop,Ho=Lo.event,No=lr(At(_o(_o(_o({},Fo),Ao),{},{ariaControls:or(Je),block:or(Ye,!1),dateDisabledFn:or(Ue),dateFormatOptions:or(Ke,{year:lo,month:oo,day:lo,weekday:oo}),dateInfoFn:or(Ue),direction:or(Je),disabled:or(Ye,!1),headerTag:or(Je,"header"),hidden:or(Ye,!1),hideHeader:or(Ye,!1),initialDate:or(rn),labelCalendar:or(Je,"Calendar"),labelCurrentMonth:or(Je,"Current month"),labelHelp:or(Je,"Use cursor keys to navigate calendar dates"),labelNav:or(Je,"Calendar navigation"),labelNextDecade:or(Je,"Next decade"),labelNextMonth:or(Je,"Next month"),labelNextYear:or(Je,"Next year"),labelNoDateSelected:or(Je,"No date selected"),labelPrevDecade:or(Je,"Previous decade"),labelPrevMonth:or(Je,"Previous month"),labelPrevYear:or(Je,"Previous year"),labelSelected:or(Je,"Selected date"),labelToday:or(Je,"Today"),locale:or(en),max:or(rn),min:or(rn),navButtonVariant:or(Je,"secondary"),noHighlightToday:or(Ye,!1),noKeyNav:or(Ye,!1),readonly:or(Ye,!1),roleDescription:or(Je),selectedVariant:or(Je,"primary"),showDecadeNav:or(Ye,!1),startWeekday:or(on,0),todayVariant:or(Je),valueAsDate:or(Ye,!1),weekdayHeaderFormat:or(Je,ao,(function(t){return On([oo,ao,"narrow"],t)})),width:or(Je,"270px")})),Jt),zo=T({name:Jt,mixins:[ji,Io,Vo,Tn],props:No,data:function(){var t=mo(this[Bo])||"";return{selectedYMD:t,activeYMD:t||mo(Eo(this.initialDate||this.getToday()),this.min,this.max),gridHasFocus:!1,isLive:!1}},computed:{valueId:function(){return this.safeId()},widgetId:function(){return this.safeId("_calendar-wrapper_")},navId:function(){return this.safeId("_calendar-nav_")},gridId:function(){return this.safeId("_calendar-grid_")},gridCaptionId:function(){return this.safeId("_calendar-grid-caption_")},gridHelpId:function(){return this.safeId("_calendar-grid-help_")},activeId:function(){return this.activeYMD?this.safeId("_cell-".concat(this.activeYMD,"_")):null},selectedDate:function(){return vo(this.selectedYMD)},activeDate:function(){return vo(this.activeYMD)},computedMin:function(){return vo(this.min)},computedMax:function(){return vo(this.max)},computedWeekStarts:function(){return Cr(jn(this.startWeekday,0),0)%7},computedLocale:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:io;return t=wn(t).filter(Wt),new Intl.DateTimeFormat(t,{calendar:e}).resolvedOptions().locale}(wn(this.locale).filter(Wt),io)},computedDateDisabledFn:function(){var t=this.dateDisabledFn;return ur(t)?t:fun