function W3(t,e){for(var r=0;rn[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}/*! * Vue.js v2.7.15 * (c) 2014-2023 Evan You * Released under the MIT License. */var fr=Object.freeze({}),_e=Array.isArray;function se(t){return t==null}function L(t){return t!=null}function qe(t){return t===!0}function K3(t){return t===!1}function ou(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function Ue(t){return typeof t=="function"}function $t(t){return t!==null&&typeof t=="object"}var zv=Object.prototype.toString;function yr(t){return zv.call(t)==="[object Object]"}function q3(t){return zv.call(t)==="[object RegExp]"}function uS(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function Up(t){return L(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function Y3(t){return t==null?"":Array.isArray(t)||yr(t)&&t.toString===zv?JSON.stringify(t,null,2):String(t)}function Hs(t){var e=parseFloat(t);return isNaN(e)?t:e}function Wr(t,e){for(var r=Object.create(null),n=t.split(","),i=0;i-1)return t.splice(n,1)}}var J3=Object.prototype.hasOwnProperty;function Nt(t,e){return J3.call(t,e)}function Oa(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var Z3=/-(\w)/g,oa=Oa(function(t){return t.replace(Z3,function(e,r){return r?r.toUpperCase():""})}),Q3=Oa(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),ek=/\B([A-Z])/g,su=Oa(function(t){return t.replace(ek,"-$1").toLowerCase()});function tk(t,e){function r(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return r._length=t.length,r}function rk(t,e){return t.bind(e)}var lS=Function.prototype.bind?rk:tk;function Gp(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function Fe(t,e){for(var r in e)t[r]=e[r];return t}function cS(t){for(var e={},r=0;r0,vS=Rr&&Rr.indexOf("edge/")>0;Rr&&Rr.indexOf("android")>0;var uk=Rr&&/iphone|ipad|ipod|ios/.test(Rr),sb=Rr&&Rr.match(/firefox\/(\d+)/),Wp={}.watch,mS=!1;if(wr)try{var ub={};Object.defineProperty(ub,"passive",{get:function(){mS=!0}}),window.addEventListener("test-passive",null,ub)}catch{}var Au,uu=function(){return Au===void 0&&(!wr&&typeof global<"u"?Au=global.process&&global.process.env.VUE_ENV==="server":Au=!1),Au},ql=wr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function co(t){return typeof t=="function"&&/native code/.test(t.toString())}var lu=typeof Symbol<"u"&&co(Symbol)&&typeof Reflect<"u"&&co(Reflect.ownKeys),Vs;typeof Set<"u"&&co(Set)?Vs=Set:Vs=function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Ds=null;function vi(t){t===void 0&&(t=null),t||Ds&&Ds._scope.off(),Ds=t,t&&t._scope.on()}var _r=function(){function t(e,r,n,i,a,o,s,u){this.tag=e,this.data=r,this.children=n,this.text=i,this.elm=a,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=u,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),Ji=function(t){t===void 0&&(t="");var e=new _r;return e.text=t,e.isComment=!0,e};function eo(t){return new _r(void 0,void 0,void 0,String(t))}function Kp(t){var e=new _r(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var lk=0,cl=[],ck=function(){for(var t=0;t0&&(i=PS(i,"".concat(e||"","_").concat(n)),Go(i[0])&&Go(o)&&(r[a]=eo(o.text+i[0].text),i.shift()),r.push.apply(r,i)):ou(i)?Go(o)?r[a]=eo(o.text+i):i!==""&&r.push(eo(i)):Go(i)&&Go(o)?r[a]=eo(o.text+i.text):(qe(t._isVList)&&L(i.tag)&&se(i.key)&&L(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),r.push(i)));return r}function _k(t,e){var r=null,n,i,a,o;if(_e(t)||typeof t=="string")for(r=new Array(t.length),n=0,i=t.length;n0,o=e?!!e.$stable:!a,s=e&&e.$key;if(!e)i={};else{if(e._normalized)return e._normalized;if(o&&n&&n!==fr&&s===n.$key&&!a&&!n.$hasNormal)return n;i={};for(var u in e)e[u]&&u[0]!=="$"&&(i[u]=kk(t,r,u,e[u]))}for(var c in r)c in i||(i[c]=Mk(r,c));return e&&Object.isExtensible(e)&&(e._normalized=i),si(i,"$stable",o),si(i,"$key",s),si(i,"$hasNormal",a),i}function kk(t,e,r,n){var i=function(){var a=Ds;vi(t);var o=arguments.length?n.apply(null,arguments):n({});o=o&&typeof o=="object"&&!_e(o)?[o]:Kv(o);var s=o&&o[0];return vi(a),o&&(!s||o.length===1&&s.isComment&&!zs(s))?void 0:o};return n.proxy&&Object.defineProperty(e,r,{get:i,enumerable:!0,configurable:!0}),i}function Mk(t,e){return function(){return t[e]}}function Ik(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=Rk(t);vi(t),Io();var i=bi(r,null,[t._props||wS({}),n],t,"setup");if(Ro(),vi(),Ue(i))e.render=i;else if($t(i))if(t._setupState=i,i.__sfc){var o=t._setupProxy={};for(var a in i)a!=="__sfc"&&qp(o,i,a)}else for(var a in i)hS(a)||qp(t,i,a)}}function Rk(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};si(e,"_v_attr_proxy",!0),Xl(e,t.$attrs,fr,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Xl(e,t.$listeners,fr,t,"$listeners")}return t._listenersProxy},get slots(){return jk(t)},emit:lS(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(r){return qp(t,e,r)})}}}function Xl(t,e,r,n,i){var a=!1;for(var o in e)o in t?e[o]!==r[o]&&(a=!0):(a=!0,Nk(t,o,n,i));for(var o in t)o in e||(a=!0,delete t[o]);return a}function Nk(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function jk(t){return t._slotsProxy||$S(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function $S(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function Bk(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,n=r&&r.context;t.$slots=qv(e._renderChildren,n),t.$scopedSlots=r?ks(t.$parent,r.data.scopedSlots,t.$slots):fr,t._c=function(a,o,s,u){return Jl(t,a,o,s,u,!1)},t.$createElement=function(a,o,s,u){return Jl(t,a,o,s,u,!0)};var i=r&&r.data;ua(t,"$attrs",i&&i.attrs||fr,null,!0),ua(t,"$listeners",e._parentListeners||fr,null,!0)}var Xp=null;function Lk(t){ES(t.prototype),t.prototype.$nextTick=function(e){return Yv(e,this)},t.prototype._render=function(){var e=this,r=e.$options,n=r.render,i=r._parentVnode;i&&e._isMounted&&(e.$scopedSlots=ks(e.$parent,i.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&$S(e._slotsProxy,e.$scopedSlots)),e.$vnode=i;var a;try{vi(e),Xp=e,a=n.call(e._renderProxy,e.$createElement)}catch(o){la(o,e,"render"),a=e._vnode}finally{Xp=null,vi()}return _e(a)&&a.length===1&&(a=a[0]),a instanceof _r||(a=Ji()),a.parent=i,a}}function _d(t,e){return(t.__esModule||lu&&t[Symbol.toStringTag]==="Module")&&(t=t.default),$t(t)?e.extend(t):t}function Fk(t,e,r,n,i){var a=Ji();return a.asyncFactory=t,a.asyncMeta={data:e,context:r,children:n,tag:i},a}function xk(t,e){if(qe(t.error)&&L(t.errorComp))return t.errorComp;if(L(t.resolved))return t.resolved;var r=Xp;if(r&&L(t.owners)&&t.owners.indexOf(r)===-1&&t.owners.push(r),qe(t.loading)&&L(t.loadingComp))return t.loadingComp;if(r&&!L(t.owners)){var n=t.owners=[r],i=!0,a=null,o=null;r.$on("hook:destroyed",function(){return Ti(n,r)});var s=function(v){for(var m=0,g=n.length;m1?Gp(i):i;for(var a=Gp(arguments,1),o='event handler for "'.concat(r,'"'),s=0,u=i.length;sdocument.createEvent("Event").timeStamp&&(th=function(){return wd.now()})}var i8=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function a8(){NS=th(),Qv=!0;var t,e;for(Rn.sort(i8),to=0;toto&&Rn[r].id>t.id;)r--;Rn.splice(r+1,0,t)}eh||(eh=!0,Yv(a8))}}function c8(t){var e=t.$options.provide;if(e){var r=Ue(e)?e.call(t):e;if(!$t(r))return;for(var n=gk(t),i=lu?Reflect.ownKeys(r):Object.keys(r),a=0;a-1){if(a&&!Nt(i,"default"))o=!1;else if(o===""||o===su(t)){var u=Tb(String,i.type);(u<0||s-1)return this;var n=Gp(arguments,1);return n.unshift(this),Ue(e.install)?e.install.apply(e,n):Ue(e)&&e.apply(null,n),r.push(e),this}}function H8(t){t.mixin=function(e){return this.options=ca(this.options,e),this}}function V8(t){t.cid=0;var e=1;t.extend=function(r){r=r||{};var n=this,i=n.cid,a=r._Ctor||(r._Ctor={});if(a[i])return a[i];var o=ec(r)||ec(n.options),s=function(c){this._init(c)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=ca(n.options,r),s.super=n,s.options.props&&z8(s),s.options.computed&&U8(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,sf.forEach(function(u){s[u]=n[u]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=r,s.sealedOptions=Fe({},s.options),a[i]=s,s}}function z8(t){var e=t.options.props;for(var r in e)nm(t.prototype,"_props",r)}function U8(t){var e=t.options.computed;for(var r in e)BS(t.prototype,r,e[r])}function G8(t){sf.forEach(function(e){t[e]=function(r,n){return n?(e==="component"&&yr(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),e==="directive"&&Ue(n)&&(n={bind:n,update:n}),this.options[e+"s"][r]=n,n):this.options[e+"s"][r]}})}function Cb(t){return t&&(ec(t.Ctor.options)||t.tag)}function Mu(t,e){return _e(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:q3(t)?t.test(e):!1}function Ab(t,e){var r=t.cache,n=t.keys,i=t._vnode;for(var a in r){var o=r[a];if(o){var s=o.name;s&&!e(s)&&ih(r,a,n,i)}}}function ih(t,e,r,n){var i=t[e];i&&(!n||i.tag!==n.tag)&&i.componentInstance.$destroy(),t[e]=null,Ti(r,e)}var Db=[String,RegExp,Array],W8={name:"keep-alive",abstract:!0,props:{include:Db,exclude:Db,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,r=t.keys,n=t.vnodeToCache,i=t.keyToCache;if(n){var a=n.tag,o=n.componentInstance,s=n.componentOptions;e[i]={name:Cb(s),tag:a,componentInstance:o},r.push(i),this.max&&r.length>parseInt(this.max)&&ih(e,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ih(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){Ab(t,function(r){return Mu(e,r)})}),this.$watch("exclude",function(e){Ab(t,function(r){return!Mu(e,r)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=CS(t),r=e&&e.componentOptions;if(r){var n=Cb(r),i=this,a=i.include,o=i.exclude;if(a&&(!n||!Mu(a,n))||o&&n&&Mu(o,n))return e;var s=this,u=s.cache,c=s.keys,d=e.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;u[d]?(e.componentInstance=u[d].componentInstance,Ti(c,d),c.push(d)):(this.vnodeToCache=e,this.keyToCache=d),e.data.keepAlive=!0}return e||t&&t[0]}},K8={KeepAlive:W8};function q8(t){var e={};e.get=function(){return Ir},Object.defineProperty(t,"config",e),t.util={warn:g8,extend:Fe,mergeOptions:ca,defineReactive:ua},t.set=Gv,t.delete=yS,t.nextTick=Yv,t.observable=function(r){return Hn(r),r},t.options=Object.create(null),sf.forEach(function(r){t.options[r+"s"]=Object.create(null)}),t.options._base=t,Fe(t.options.components,K8),x8(t),H8(t),V8(t),G8(t)}q8(pe);Object.defineProperty(pe.prototype,"$isServer",{get:uu});Object.defineProperty(pe.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(pe,"FunctionalRenderContext",{value:em});pe.version=Wk;var Y8=Wr("style,class"),X8=Wr("input,textarea,option,select,progress"),J8=function(t,e,r){return r==="value"&&X8(t)&&e!=="button"||r==="selected"&&t==="option"||r==="checked"&&t==="input"||r==="muted"&&t==="video"},LS=Wr("contenteditable,draggable,spellcheck"),Z8=Wr("events,caret,typing,plaintext-only"),Q8=function(t,e){return rc(e)||e==="false"?"false":t==="contenteditable"&&Z8(e)?e:"true"},eM=Wr("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ah="http://www.w3.org/1999/xlink",am=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},FS=function(t){return am(t)?t.slice(6,t.length):""},rc=function(t){return t==null||t===!1};function tM(t){for(var e=t.data,r=t,n=t;L(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(e=kb(n.data,e));for(;L(r=r.parent);)r&&r.data&&(e=kb(e,r.data));return rM(e.staticClass,e.class)}function kb(t,e){return{staticClass:om(t.staticClass,e.staticClass),class:L(t.class)?[t.class,e.class]:e.class}}function rM(t,e){return L(t)||L(e)?om(t,sm(e)):""}function om(t,e){return t?e?t+" "+e:t:e||""}function sm(t){return Array.isArray(t)?nM(t):$t(t)?iM(t):typeof t=="string"?t:""}function nM(t){for(var e="",r,n=0,i=t.length;n-1?Iu[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Iu[t]=/HTMLUnknownElement/.test(e.toString())}var oh=Wr("text,number,password,search,email,tel,url");function lM(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function cM(t,e){var r=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&r.setAttribute("multiple","multiple"),r}function fM(t,e){return document.createElementNS(aM[t],e)}function dM(t){return document.createTextNode(t)}function pM(t){return document.createComment(t)}function hM(t,e,r){t.insertBefore(e,r)}function vM(t,e){t.removeChild(e)}function mM(t,e){t.appendChild(e)}function gM(t){return t.parentNode}function bM(t){return t.nextSibling}function yM(t){return t.tagName}function _M(t,e){t.textContent=e}function wM(t,e){t.setAttribute(e,"")}var OM=Object.freeze({__proto__:null,createElement:cM,createElementNS:fM,createTextNode:dM,createComment:pM,insertBefore:hM,removeChild:vM,appendChild:mM,parentNode:gM,nextSibling:bM,tagName:yM,setTextContent:_M,setStyleScope:wM}),PM={create:function(t,e){ro(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ro(t,!0),ro(e))},destroy:function(t){ro(t,!0)}};function ro(t,e){var r=t.data.ref;if(L(r)){var n=t.context,i=t.componentInstance||t.elm,a=e?null:i,o=e?void 0:i;if(Ue(r)){bi(r,n,[a],n,"template ref function");return}var s=t.data.refInFor,u=typeof r=="string"||typeof r=="number",c=fn(r),d=n.$refs;if(u||c){if(s){var v=u?d[r]:r.value;e?_e(v)&&Ti(v,i):_e(v)?v.includes(i)||v.push(i):u?(d[r]=[i],Mb(n,r,d[r])):r.value=[i]}else if(u){if(e&&d[r]!==i)return;d[r]=o,Mb(n,r,a)}else if(c){if(e&&r.value!==i)return;r.value=a}}}}function Mb(t,e,r){var n=t._setupState;n&&Nt(n,e)&&(fn(n[e])?n[e].value=r:n[e]=r)}var ii=new _r("",{},[]),Wo=["create","activate","update","remove","destroy"];function Ii(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&L(t.data)===L(e.data)&&SM(t,e)||qe(t.isAsyncPlaceholder)&&se(e.asyncFactory.error))}function SM(t,e){if(t.tag!=="input")return!0;var r,n=L(r=t.data)&&L(r=r.attrs)&&r.type,i=L(r=e.data)&&L(r=r.attrs)&&r.type;return n===i||oh(n)&&oh(i)}function TM(t,e,r){var n,i,a={};for(n=e;n<=r;++n)i=t[n].key,L(i)&&(a[i]=n);return a}function EM(t){var e,r,n={},i=t.modules,a=t.nodeOps;for(e=0;eH?(ze=se(R[ee+1])?null:R[ee+1].elm,E(D,ze,R,x,ee,j)):x>ee&&l(M,B,H)}function O(D,M,R,j){for(var S=R;S-1?jb(t,e,r):eM(e)?rc(r)?t.removeAttribute(e):(r=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,r)):LS(e)?t.setAttribute(e,Q8(e,r)):am(e)?rc(r)?t.removeAttributeNS(ah,FS(e)):t.setAttributeNS(ah,e,r):jb(t,e,r)}function jb(t,e,r){if(rc(r))t.removeAttribute(e);else{if(ko&&!Mo&&t.tagName==="TEXTAREA"&&e==="placeholder"&&r!==""&&!t.__ieph){var n=function(i){i.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,r)}}var MM={create:Rb,update:Rb};function Bb(t,e){var r=e.elm,n=e.data,i=t.data;if(!(se(n.staticClass)&&se(n.class)&&(se(i)||se(i.staticClass)&&se(i.class)))){var a=tM(e),o=r._transitionClasses;L(o)&&(a=om(a,sm(o))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}}var IM={create:Bb,update:Bb},Pd="__r",Sd="__c";function RM(t){if(L(t[Pd])){var e=ko?"change":"input";t[e]=[].concat(t[Pd],t[e]||[]),delete t[Pd]}L(t[Sd])&&(t.change=[].concat(t[Sd],t.change||[]),delete t[Sd])}var Ws;function NM(t,e,r){var n=Ws;return function i(){var a=e.apply(null,arguments);a!==null&&HS(t,i,r,n)}}var jM=Jp&&!(sb&&Number(sb[1])<=53);function BM(t,e,r,n){if(jM){var i=NS,a=e;e=a._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=i||o.timeStamp<=0||o.target.ownerDocument!==document)return a.apply(this,arguments)}}Ws.addEventListener(t,e,mS?{capture:r,passive:n}:r)}function HS(t,e,r,n){(n||Ws).removeEventListener(t,e._wrapper||e,r)}function Td(t,e){if(!(se(t.data.on)&&se(e.data.on))){var r=e.data.on||{},n=t.data.on||{};Ws=e.elm||t.elm,RM(r),OS(r,n,BM,HS,NM,e.context),Ws=void 0}}var LM={create:Td,update:Td,destroy:function(t){return Td(t,ii)}},Ru;function Lb(t,e){if(!(se(t.data.domProps)&&se(e.data.domProps))){var r,n,i=e.elm,a=t.data.domProps||{},o=e.data.domProps||{};(L(o.__ob__)||qe(o._v_attr_proxy))&&(o=e.data.domProps=Fe({},o));for(r in a)r in o||(i[r]="");for(r in o){if(n=o[r],r==="textContent"||r==="innerHTML"){if(e.children&&(e.children.length=0),n===a[r])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(r==="value"&&i.tagName!=="PROGRESS"){i._value=n;var s=se(n)?"":String(n);FM(i,s)&&(i.value=s)}else if(r==="innerHTML"&&um(i.tagName)&&se(i.innerHTML)){Ru=Ru||document.createElement("div"),Ru.innerHTML="".concat(n,"");for(var u=Ru.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;u.firstChild;)i.appendChild(u.firstChild)}else if(n!==a[r])try{i[r]=n}catch{}}}}function FM(t,e){return!t.composing&&(t.tagName==="OPTION"||xM(t,e)||HM(t,e))}function xM(t,e){var r=!0;try{r=document.activeElement!==t}catch{}return r&&t.value!==e}function HM(t,e){var r=t.value,n=t._vModifiers;if(L(n)){if(n.number)return Hs(r)!==Hs(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var VM={create:Lb,update:Lb},zM=Oa(function(t){var e={},r=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(r).forEach(function(i){if(i){var a=i.split(n);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e});function Ed(t){var e=VS(t.style);return t.staticStyle?Fe(t.staticStyle,e):e}function VS(t){return Array.isArray(t)?cS(t):typeof t=="string"?zM(t):t}function UM(t,e){var r={},n;if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(n=Ed(i.data))&&Fe(r,n);(n=Ed(t.data))&&Fe(r,n);for(var a=t;a=a.parent;)a.data&&(n=Ed(a.data))&&Fe(r,n);return r}var GM=/^--/,Fb=/\s*!important$/,xb=function(t,e,r){if(GM.test(e))t.style.setProperty(e,r);else if(Fb.test(r))t.style.setProperty(su(e),r.replace(Fb,""),"important");else{var n=WM(e);if(Array.isArray(r))for(var i=0,a=r.length;i-1?e.split(zS).forEach(function(n){return t.classList.add(n)}):t.classList.add(e);else{var r=" ".concat(t.getAttribute("class")||""," ");r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function GS(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(zS).forEach(function(i){return t.classList.remove(i)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var r=" ".concat(t.getAttribute("class")||""," "),n=" "+e+" ";r.indexOf(n)>=0;)r=r.replace(n," ");r=r.trim(),r?t.setAttribute("class",r):t.removeAttribute("class")}}function WS(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&Fe(e,zb(t.name||"v")),Fe(e,t),e}else if(typeof t=="string")return zb(t)}}var zb=Oa(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),KS=wr&&!Mo,Xa="transition",$d="animation",pl="transition",nc="transitionend",sh="animation",qS="animationend";KS&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(pl="WebkitTransition",nc="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(sh="WebkitAnimation",qS="webkitAnimationEnd"));var Ub=wr?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function YS(t){Ub(function(){Ub(t)})}function Qi(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),US(t,e))}function Nn(t,e){t._transitionClasses&&Ti(t._transitionClasses,e),GS(t,e)}function XS(t,e,r){var n=JS(t,e),i=n.type,a=n.timeout,o=n.propCount;if(!i)return r();var s=i===Xa?nc:qS,u=0,c=function(){t.removeEventListener(s,d),r()},d=function(v){v.target===t&&++u>=o&&c()};setTimeout(function(){u0&&(c=Xa,d=a,v=i.length):e===$d?u>0&&(c=$d,d=u,v=s.length):(d=Math.max(a,u),c=d>0?a>u?Xa:$d:null,v=c?c===Xa?i.length:s.length:0);var m=c===Xa&&qM.test(r[pl+"Property"]);return{type:c,timeout:d,propCount:v,hasTransform:m}}function Gb(t,e){for(;t.length1}function Kb(t,e){e.data.show!==!0&&uh(e)}var YM=wr?{create:Kb,activate:Kb,remove:function(t,e){t.data.show!==!0?ZS(t,e):e()}}:{},XM=[MM,IM,LM,VM,KM,YM],JM=XM.concat(kM),ZM=EM({nodeOps:OM,modules:JM});Mo&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&cm(t,"input")});var eT={inserted:function(t,e,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?ni(r,"postpatch",function(){eT.componentUpdated(t,e,r)}):qb(t,e,r.context),t._vOptions=[].map.call(t.options,ic)):(r.tag==="textarea"||oh(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",QM),t.addEventListener("compositionend",Jb),t.addEventListener("change",Jb),Mo&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if(r.tag==="select"){qb(t,e,r.context);var n=t._vOptions,i=t._vOptions=[].map.call(t.options,ic);if(i.some(function(o,s){return!sa(o,n[s])})){var a=t.multiple?e.value.some(function(o){return Xb(o,i)}):e.value!==e.oldValue&&Xb(e.value,i);a&&cm(t,"change")}}}};function qb(t,e,r){Yb(t,e),(ko||vS)&&setTimeout(function(){Yb(t,e)},0)}function Yb(t,e,r){var n=e.value,i=t.multiple;if(!(i&&!Array.isArray(n))){for(var a,o,s=0,u=t.options.length;s-1,o.selected!==a&&(o.selected=a);else if(sa(ic(o),n)){t.selectedIndex!==s&&(t.selectedIndex=s);return}i||(t.selectedIndex=-1)}}function Xb(t,e){return e.every(function(r){return!sa(r,t)})}function ic(t){return"_value"in t?t._value:t.value}function QM(t){t.target.composing=!0}function Jb(t){t.target.composing&&(t.target.composing=!1,cm(t.target,"input"))}function cm(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function lh(t){return t.componentInstance&&(!t.data||!t.data.transition)?lh(t.componentInstance._vnode):t}var eI={bind:function(t,e,r){var n=e.value;r=lh(r);var i=r.data&&r.data.transition,a=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;n&&i?(r.data.show=!0,uh(r,function(){t.style.display=a})):t.style.display=n?a:"none"},update:function(t,e,r){var n=e.value,i=e.oldValue;if(!n!=!i){r=lh(r);var a=r.data&&r.data.transition;a?(r.data.show=!0,n?uh(r,function(){t.style.display=t.__vOriginalDisplay}):ZS(r,function(){t.style.display="none"})):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,r,n,i){i||(t.style.display=t.__vOriginalDisplay)}},tI={model:eT,show:eI},tT={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ch(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ch(CS(e.children)):t}function rT(t){var e={},r=t.$options;for(var n in r.propsData)e[n]=t[n];var i=r._parentListeners;for(var n in i)e[oa(n)]=i[n];return e}function Zb(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function rI(t){for(;t=t.parent;)if(t.data.transition)return!0}function nI(t,e){return e.key===t.key&&e.tag===t.tag}var iI=function(t){return t.tag||zs(t)},aI=function(t){return t.name==="show"},oI={name:"transition",props:tT,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(r&&(r=r.filter(iI),!!r.length)){var n=this.mode,i=r[0];if(rI(this.$vnode))return i;var a=ch(i);if(!a)return i;if(this._leaving)return Zb(t,i);var o="__transition-".concat(this._uid,"-");a.key=a.key==null?a.isComment?o+"comment":o+a.tag:ou(a.key)?String(a.key).indexOf(o)===0?a.key:o+a.key:a.key;var s=(a.data||(a.data={})).transition=rT(this),u=this._vnode,c=ch(u);if(a.data.directives&&a.data.directives.some(aI)&&(a.data.show=!0),c&&c.data&&!nI(a,c)&&!zs(c)&&!(c.componentInstance&&c.componentInstance._vnode.isComment)){var d=c.data.transition=Fe({},s);if(n==="out-in")return this._leaving=!0,ni(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Zb(t,i);if(n==="in-out"){if(zs(a))return u;var v,m=function(){v()};ni(s,"afterEnter",m),ni(s,"enterCancelled",m),ni(d,"delayLeave",function(g){v=g})}}return i}}},nT=Fe({tag:String,moveClass:String},tT);delete nT.mode;var sI={props:nT,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var i=MS(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,r,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=rT(this),s=0;s=2)t.mixin({beforeCreate:n});else{var r=t.prototype._init;t.prototype._init=function(i){i===void 0&&(i={}),i.init=i.init?[n].concat(i.init):n,r.call(this,i)}}function n(){var i=this.$options;i.store?this.$store=typeof i.store=="function"?i.store():i.store:i.parent&&i.parent.$store&&(this.$store=i.parent.$store)}}var pI=typeof window<"u"?window:typeof global<"u"?global:{},Ma=pI.__VUE_DEVTOOLS_GLOBAL_HOOK__;function hI(t){Ma&&(t._devtoolHook=Ma,Ma.emit("vuex:init",t),Ma.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(e,r){Ma.emit("vuex:mutation",e,r)},{prepend:!0}),t.subscribeAction(function(e,r){Ma.emit("vuex:action",e,r)},{prepend:!0}))}function vI(t,e){return t.filter(e)[0]}function fh(t,e){if(e===void 0&&(e=[]),t===null||typeof t!="object")return t;var r=vI(e,function(i){return i.original===t});if(r)return r.copy;var n=Array.isArray(t)?[]:{};return e.push({original:t,copy:n}),Object.keys(t).forEach(function(i){n[i]=fh(t[i],e)}),n}function No(t,e){Object.keys(t).forEach(function(r){return e(t[r],r)})}function iT(t){return t!==null&&typeof t=="object"}function mI(t){return t&&typeof t.then=="function"}function gI(t,e){return function(){return t(e)}}var Kr=function(e,r){this.runtime=r,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=(typeof n=="function"?n():n)||{}},aT={namespaced:{configurable:!0}};aT.namespaced.get=function(){return!!this._rawModule.namespaced};Kr.prototype.addChild=function(e,r){this._children[e]=r};Kr.prototype.removeChild=function(e){delete this._children[e]};Kr.prototype.getChild=function(e){return this._children[e]};Kr.prototype.hasChild=function(e){return e in this._children};Kr.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};Kr.prototype.forEachChild=function(e){No(this._children,e)};Kr.prototype.forEachGetter=function(e){this._rawModule.getters&&No(this._rawModule.getters,e)};Kr.prototype.forEachAction=function(e){this._rawModule.actions&&No(this._rawModule.actions,e)};Kr.prototype.forEachMutation=function(e){this._rawModule.mutations&&No(this._rawModule.mutations,e)};Object.defineProperties(Kr.prototype,aT);var Pa=function(e){this.register([],e,!1)};Pa.prototype.get=function(e){return e.reduce(function(r,n){return r.getChild(n)},this.root)};Pa.prototype.getNamespace=function(e){var r=this.root;return e.reduce(function(n,i){return r=r.getChild(i),n+(r.namespaced?i+"/":"")},"")};Pa.prototype.update=function(e){oT([],this.root,e)};Pa.prototype.register=function(e,r,n){var i=this;n===void 0&&(n=!0);var a=new Kr(r,n);if(e.length===0)this.root=a;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],a)}r.modules&&No(r.modules,function(s,u){i.register(e.concat(u),s,n)})};Pa.prototype.unregister=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1],i=r.getChild(n);i&&i.runtime&&r.removeChild(n)};Pa.prototype.isRegistered=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1];return r?r.hasChild(n):!1};function oT(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return;oT(t.concat(n),e.getChild(n),r.modules[n])}}var Kt,Or=function(e){var r=this;e===void 0&&(e={}),!Kt&&typeof window<"u"&&window.Vue&&lT(window.Vue);var n=e.plugins;n===void 0&&(n=[]);var i=e.strict;i===void 0&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Pa(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Kt,this._makeLocalGettersCache=Object.create(null);var a=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(m,g){return s.call(a,m,g)},this.commit=function(m,g,b){return u.call(a,m,g,b)},this.strict=i;var c=this._modules.root.state;uf(this,c,[],this._modules.root),dm(this,c),n.forEach(function(v){return v(r)});var d=e.devtools!==void 0?e.devtools:Kt.config.devtools;d&&hI(this)},fm={state:{configurable:!0}};fm.state.get=function(){return this._vm._data.$$state};fm.state.set=function(t){};Or.prototype.commit=function(e,r,n){var i=this,a=ac(e,r,n),o=a.type,s=a.payload,u={type:o,payload:s},c=this._mutations[o];c&&(this._withCommit(function(){c.forEach(function(v){v(s)})}),this._subscribers.slice().forEach(function(d){return d(u,i.state)}))};Or.prototype.dispatch=function(e,r){var n=this,i=ac(e,r),a=i.type,o=i.payload,s={type:a,payload:o},u=this._actions[a];if(u){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(s,n.state)})}catch{}var c=u.length>1?Promise.all(u.map(function(d){return d(o)})):u[0](o);return new Promise(function(d,v){c.then(function(m){try{n._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(s,n.state)})}catch{}d(m)},function(m){try{n._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(s,n.state,m)})}catch{}v(m)})})}};Or.prototype.subscribe=function(e,r){return sT(e,this._subscribers,r)};Or.prototype.subscribeAction=function(e,r){var n=typeof e=="function"?{before:e}:e;return sT(n,this._actionSubscribers,r)};Or.prototype.watch=function(e,r,n){var i=this;return this._watcherVM.$watch(function(){return e(i.state,i.getters)},r,n)};Or.prototype.replaceState=function(e){var r=this;this._withCommit(function(){r._vm._data.$$state=e})};Or.prototype.registerModule=function(e,r,n){n===void 0&&(n={}),typeof e=="string"&&(e=[e]),this._modules.register(e,r),uf(this,this.state,e,this._modules.get(e),n.preserveState),dm(this,this.state)};Or.prototype.unregisterModule=function(e){var r=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=pm(r.state,e.slice(0,-1));Kt.delete(n,e[e.length-1])}),uT(this)};Or.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};Or.prototype.hotUpdate=function(e){this._modules.update(e),uT(this,!0)};Or.prototype._withCommit=function(e){var r=this._committing;this._committing=!0,e(),this._committing=r};Object.defineProperties(Or.prototype,fm);function sT(t,e,r){return e.indexOf(t)<0&&(r&&r.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function uT(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var r=t.state;uf(t,r,[],t._modules.root,!0),dm(t,r,e)}function dm(t,e,r){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={};No(i,function(s,u){a[u]=gI(s,t),Object.defineProperty(t.getters,u,{get:function(){return t._vm[u]},enumerable:!0})});var o=Kt.config.silent;Kt.config.silent=!0,t._vm=new Kt({data:{$$state:e},computed:a}),Kt.config.silent=o,t.strict&&PI(t),n&&(r&&t._withCommit(function(){n._data.$$state=null}),Kt.nextTick(function(){return n.$destroy()}))}function uf(t,e,r,n,i){var a=!r.length,o=t._modules.getNamespace(r);if(n.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=n),!a&&!i){var s=pm(e,r.slice(0,-1)),u=r[r.length-1];t._withCommit(function(){Kt.set(s,u,n.state)})}var c=n.context=bI(t,o,r);n.forEachMutation(function(d,v){var m=o+v;_I(t,m,d,c)}),n.forEachAction(function(d,v){var m=d.root?v:o+v,g=d.handler||d;wI(t,m,g,c)}),n.forEachGetter(function(d,v){var m=o+v;OI(t,m,d,c)}),n.forEachChild(function(d,v){uf(t,e,r.concat(v),d,i)})}function bI(t,e,r){var n=e==="",i={dispatch:n?t.dispatch:function(a,o,s){var u=ac(a,o,s),c=u.payload,d=u.options,v=u.type;return(!d||!d.root)&&(v=e+v),t.dispatch(v,c)},commit:n?t.commit:function(a,o,s){var u=ac(a,o,s),c=u.payload,d=u.options,v=u.type;(!d||!d.root)&&(v=e+v),t.commit(v,c,d)}};return Object.defineProperties(i,{getters:{get:n?function(){return t.getters}:function(){return yI(t,e)}},state:{get:function(){return pm(t.state,r)}}}),i}function yI(t,e){if(!t._makeLocalGettersCache[e]){var r={},n=e.length;Object.keys(t.getters).forEach(function(i){if(i.slice(0,n)===e){var a=i.slice(n);Object.defineProperty(r,a,{get:function(){return t.getters[i]},enumerable:!0})}}),t._makeLocalGettersCache[e]=r}return t._makeLocalGettersCache[e]}function _I(t,e,r,n){var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(o){r.call(t,n.state,o)})}function wI(t,e,r,n){var i=t._actions[e]||(t._actions[e]=[]);i.push(function(o){var s=r.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},o);return mI(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(u){throw t._devtoolHook.emit("vuex:error",u),u}):s})}function OI(t,e,r,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(a){return r(n.state,n.getters,a.state,a.getters)})}function PI(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function pm(t,e){return e.reduce(function(r,n){return r[n]},t)}function ac(t,e,r){return iT(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function lT(t){Kt&&t===Kt||(Kt=t,dI(Kt))}var cT=cf(function(t,e){var r={};return lf(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){var s=this.$store.state,u=this.$store.getters;if(t){var c=ff(this.$store,"mapState",t);if(!c)return;s=c.context.state,u=c.context.getters}return typeof a=="function"?a.call(this,s,u):s[a]},r[i].vuex=!0}),r}),fT=cf(function(t,e){var r={};return lf(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var s=[],u=arguments.length;u--;)s[u]=arguments[u];var c=this.$store.commit;if(t){var d=ff(this.$store,"mapMutations",t);if(!d)return;c=d.context.commit}return typeof a=="function"?a.apply(this,[c].concat(s)):c.apply(this.$store,[a].concat(s))}}),r}),dT=cf(function(t,e){var r={};return lf(e).forEach(function(n){var i=n.key,a=n.val;a=t+a,r[i]=function(){if(!(t&&!ff(this.$store,"mapGetters",t)))return this.$store.getters[a]},r[i].vuex=!0}),r}),pT=cf(function(t,e){var r={};return lf(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var s=[],u=arguments.length;u--;)s[u]=arguments[u];var c=this.$store.dispatch;if(t){var d=ff(this.$store,"mapActions",t);if(!d)return;c=d.context.dispatch}return typeof a=="function"?a.apply(this,[c].concat(s)):c.apply(this.$store,[a].concat(s))}}),r}),SI=function(t){return{mapState:cT.bind(null,t),mapGetters:dT.bind(null,t),mapMutations:fT.bind(null,t),mapActions:pT.bind(null,t)}};function lf(t){return TI(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function TI(t){return Array.isArray(t)||iT(t)}function cf(t){return function(e,r){return typeof e!="string"?(r=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,r)}}function ff(t,e,r){var n=t._modulesNamespaceMap[r];return n}function EI(t){t===void 0&&(t={});var e=t.collapsed;e===void 0&&(e=!0);var r=t.filter;r===void 0&&(r=function(d,v,m){return!0});var n=t.transformer;n===void 0&&(n=function(d){return d});var i=t.mutationTransformer;i===void 0&&(i=function(d){return d});var a=t.actionFilter;a===void 0&&(a=function(d,v){return!0});var o=t.actionTransformer;o===void 0&&(o=function(d){return d});var s=t.logMutations;s===void 0&&(s=!0);var u=t.logActions;u===void 0&&(u=!0);var c=t.logger;return c===void 0&&(c=console),function(d){var v=fh(d.state);typeof c>"u"||(s&&d.subscribe(function(m,g){var b=fh(g);if(r(m,v,b)){var w=ty(),A=i(m),P="mutation "+m.type+w;Qb(c,P,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",n(v)),c.log("%c mutation","color: #03A9F4; font-weight: bold",A),c.log("%c next state","color: #4CAF50; font-weight: bold",n(b)),ey(c)}v=b}),u&&d.subscribeAction(function(m,g){if(a(m,g)){var b=ty(),w=o(m),A="action "+m.type+b;Qb(c,A,e),c.log("%c action","color: #03A9F4; font-weight: bold",w),ey(c)}}))}}function Qb(t,e,r){var n=r?t.groupCollapsed:t.group;try{n.call(t,e)}catch{t.log(e)}}function ey(t){try{t.groupEnd()}catch{t.log("—— log end ——")}}function ty(){var t=new Date;return" @ "+ju(t.getHours(),2)+":"+ju(t.getMinutes(),2)+":"+ju(t.getSeconds(),2)+"."+ju(t.getMilliseconds(),3)}function $I(t,e){return new Array(e+1).join(t)}function ju(t,e){return $I("0",e-t.toString().length)+t}var CI={Store:Or,install:lT,version:"3.6.2",mapState:cT,mapMutations:fT,mapGetters:dT,mapActions:pT,createNamespacedHelpers:SI,createLogger:EI};const DQ=CI;var hT=function(){return(hT=Object.assign||function(t){for(var e,r=1,n=arguments.length;r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function II(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a=0)&&(r[i]=t[i]);return r}function oc(t){"@babel/helpers - typeof";return oc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oc(t)}var Ln="_uid",xt=pe.version.startsWith("3"),hm=xt?"ref_for":"refInFor",RI=["class","staticClass","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"],N=pe.extend.bind(pe);if(xt){var NI=pe.extend,jI=["router-link","transition","transition-group"],BI=pe.vModelDynamic.created,LI=pe.vModelDynamic.beforeUpdate;pe.vModelDynamic.created=function(t,e,r){BI.call(this,t,e,r),t._assign||(t._assign=function(){})},pe.vModelDynamic.beforeUpdate=function(t,e,r){LI.call(this,t,e,r),t._assign||(t._assign=function(){})},N=(function(e){if(oc(e)==="object"&&e.render&&!e.__alreadyPatched){var r=e.render;e.__alreadyPatched=!0,e.render=function(n){var i=function(m,g,b){var w=b===void 0?[]:[Array.isArray(b)?b.filter(Boolean):b],A=typeof m=="string"&&!jI.includes(m),P=g&&oc(g)==="object"&&!Array.isArray(g);if(!P)return n.apply(void 0,[m,g].concat(w));var E=g.attrs,_=g.props,l=MI(g,["attrs","props"]),p=qo(qo({},l),{},{attrs:E,props:A?{}:_});return m==="router-link"&&!p.slots&&!p.scopedSlots&&(p.scopedSlots={$hasNormal:function(){}}),n.apply(void 0,[m,p].concat(w))};if(e.functional){var a,o,s=arguments[1],u=qo({},s);u.data={attrs:qo({},s.data.attrs||{}),props:qo({},s.data.props||{})},Object.keys(s.data||{}).forEach(function(v){RI.includes(v)?u.data[v]=s.data[v]:v in s.props?u.data.props[v]=s.data[v]:v.startsWith("on")||(u.data.attrs[v]=s.data[v])});var c=["_ctx"],d=((a=s.children)===null||a===void 0||(o=a.default)===null||o===void 0?void 0:o.call(a))||s.children;return d&&Object.keys(u.children).filter(function(v){return!c.includes(v)}).length===0?delete u.children:u.children=d,u.data.on=s.listeners,r.call(this,i,u)}return r.call(this,i)}}return NI.call(this,e)}).bind(pe)}var vm=pe.nextTick,jo=typeof window<"u",vT=typeof document<"u",mT=typeof navigator<"u",gT=typeof Promise<"u",FI=typeof MutationObserver<"u"||typeof WebKitMutationObserver<"u"||typeof MozMutationObserver<"u",Ce=jo&&vT&&mT,Ye=jo?window:{},Bo=vT?document:{},bT=mT?navigator:{},xI=(bT.userAgent||"").toLowerCase(),HI=xI.indexOf("jsdom")>0,VI=function(){var t=!1;if(Ce)try{var e={get passive(){t=!0}};Ye.addEventListener("test",e,e),Ye.removeEventListener("test",e,e)}catch{t=!1}return t}(),sc=Ce&&("ontouchstart"in Bo.documentElement||bT.maxTouchPoints>0),Yo=Ce&&!!(Ye.PointerEvent||Ye.MSPointerEvent),ny=Ce&&"IntersectionObserver"in Ye&&"IntersectionObserverEntry"in Ye&&"intersectionRatio"in Ye.IntersectionObserverEntry.prototype,zI="BvConfig",Ja="$bvConfig",UI=["xs","sm","md","lg","xl"],GI=/\[(\d+)]/g,WI=/^(BV?)/,yT=/^\d+$/,KI=/^\..+/,qI=/^#/,YI=/^#[A-Za-z]+[\w\-:.]*$/,XI=/(<([^>]+)>)/gi,JI=/\B([A-Z])/g,ZI=/([a-z])([A-Z])/g,QI=/^[0-9]*\.?[0-9]+$/,eR=/\+/g,tR=/[-/\\^$*+?.()|[\]{}]/g,_T=/[\s\uFEFF\xA0]+/g,hl=/\s+/,rR=/\/\*$/,nR=/(\s|^)(\w)/g,iR=/^\s+/,aR=/_/g,oR=/-(\w)/g,sR=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,uR=/-|\s|T/,lR=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,iy=/^.*(#[^#]+)$/,cR=/%2C/g,fR=/[!'()*]/g,dR=/^(\?|#|&)/,pR=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,hR=/[/:]/,vR=/^col-/,mR=/^BIcon/,gR=/-u-.+/;function dh(t){"@babel/helpers - typeof";return dh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dh(t)}function df(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pf(t,e){if(typeof e!="function"&&e!==null)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&&Ks(t,e)}function hf(t){var e=wT();return function(){var n=qs(t),i;if(e){var a=qs(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return bR(this,i)}}function bR(t,e){if(e&&(dh(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return yR(t)}function yR(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uc(t){var e=typeof Map=="function"?new Map:void 0;return uc=function(n){if(n===null||!_R(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return vl(n,arguments,qs(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ks(i,n)},uc(t)}function vl(t,e,r){return wT()?vl=Reflect.construct:vl=function(i,a,o){var s=[null];s.push.apply(s,a);var u=Function.bind.apply(i,s),c=new u;return o&&Ks(c,o.prototype),c},vl.apply(null,arguments)}function wT(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _R(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ks(t,e){return Ks=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ks(t,e)}function qs(t){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(t)}var mm=jo?Ye.Element:function(t){pf(r,t);var e=hf(r);function r(){return df(this,r),e.apply(this,arguments)}return r}(uc(Object)),ui=jo?Ye.HTMLElement:function(t){pf(r,t);var e=hf(r);function r(){return df(this,r),e.apply(this,arguments)}return r}(mm),OT=jo?Ye.SVGElement:function(t){pf(r,t);var e=hf(r);function r(){return df(this,r),e.apply(this,arguments)}return r}(mm),PT=jo?Ye.File:function(t){pf(r,t);var e=hf(r);function r(){return df(this,r),e.apply(this,arguments)}return r}(uc(Object));function lc(t){"@babel/helpers - typeof";return lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lc(t)}var vf=function(e){return lc(e)},wR=function(e){return Object.prototype.toString.call(e).slice(8,-1)},Qe=function(e){return e===void 0},Ne=function(e){return e===null},Te=function(e){return Qe(e)||Ne(e)},Q=function(e){return vf(e)==="function"},Dr=function(e){return vf(e)==="boolean"},ge=function(e){return vf(e)==="string"},xr=function(e){return vf(e)==="number"},Ms=function(e){return QI.test(String(e))},Se=function(e){return Array.isArray(e)},Je=function(e){return e!==null&&lc(e)==="object"},Ct=function(e){return Object.prototype.toString.call(e)==="[object Object]"},go=function(e){return e instanceof Date},fa=function(e){return e instanceof Event},OR=function(e){return e instanceof PT},ay=function(e){return wR(e)==="RegExp"},PR=function(e){return!Te(e)&&Q(e.then)&&Q(e.catch)};function oy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function da(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r1&&arguments[1]!==void 0?arguments[1]:e;return Se(e)?e.reduce(function(n,i){return[].concat(ER(n),[t(i,i)])},[]):Ct(e)?oe(e).reduce(function(n,i){return ly(ly({},n),{},ST({},i,t(e[i],e[i])))},{}):r},ne=function(e){return e},TT=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(r=Se(r)?r.join("."):r,!r||!Je(e))return n;if(r in e)return e[r];r=String(r).replace(GI,".$1");var i=r.split(".").filter(ne);return i.length===0?n:i.every(function(a){return Je(e)&&a in e&&!Te(e=e[a])})?e:Ne(e)?null:n},Pt=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=TT(e,r);return Te(i)?n:i},cy=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=typeof process<"u"&&process?process.env||{}:{};return e?n[e]||r:n},kR=function(){return cy("BOOTSTRAP_VUE_NO_WARN")||cy("NODE_ENV")==="production"},ut=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;kR()||console.warn("[BootstrapVue warn]: ".concat(r?"".concat(r," - "):"").concat(e))},cc=function(e){return Ce?!1:(ut("".concat(e,": Can not be called during SSR.")),!0)},fy=function(e){return gT?!1:(ut("".concat(e,": Requires Promise support.")),!0)},MR=function(e){return FI?!1:(ut("".concat(e,": Requires MutationObserver support.")),!0)};function IR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dy(t,e){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:{};if(Ct(n)){var i=sy(n);i.forEach(function(a){var o=n[a];a==="breakpoints"?!Se(o)||o.length<2||o.some(function(s){return!ge(s)||s.length===0})?ut('"breakpoints" must be an array of at least 2 breakpoint names',zI):r.$_config[a]=kr(o):Ct(o)&&(r.$_config[a]=sy(o).reduce(function(s,u){return Qe(o[u])||(s[u]=kr(o[u])),s},r.$_config[a]||{}))})}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return kr(this.$_config)}},{key:"getConfigValue",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;return kr(TT(this.$_config,r,n))}}]),t}(),jR=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:pe;r.prototype[Ja]=pe.prototype[Ja]=r.prototype[Ja]||pe.prototype[Ja]||new NR,r.prototype[Ja].setConfig(e)};function py(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function hy(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:{},r=e.components,n=e.directives,i=e.plugins,a=function o(s){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o.installed||(o.installed=!0,LR(s),jR(u,s),HR(s,r),zR(s,n),FR(s,i))};return a.installed=!1,a},J=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return hy(hy({},r),{},{install:ET(e)})},FR=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)n&&r[n]&&e.use(r[n])},xR=function(e,r,n){e&&r&&n&&e.component(r,n)},HR=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)xR(e,n,r[n])},VR=function(e,r,n){e&&r&&n&&e.directive(r.replace(/^VB/,"B"),n)},zR=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)VR(e,n,r[n])},$T="BAlert",CT="BAspect",AT="BAvatar",DT="BAvatarGroup",kT="BBadge",MT="BBreadcrumb",IT="BBreadcrumbItem",RT="BBreadcrumbLink",NT="BButton",jT="BButtonClose",BT="BButtonGroup",LT="BButtonToolbar",FT="BCalendar",bm="BCard",xT="BCardBody",HT="BCardFooter",VT="BCardGroup",zT="BCardHeader",UT="BCardImg",GT="BCardImgLazy",WT="BCardSubTitle",KT="BCardText",qT="BCardTitle",XT="BCarousel",JT="BCarouselSlide",ZT="BCol",St="BCollapse",QT="BContainer",ha="BDropdown",eE="BDropdownDivider",tE="BDropdownForm",rE="BDropdownGroup",nE="BDropdownHeader",iE="BDropdownItem",aE="BDropdownItemButton",oE="BDropdownText",sE="BEmbed",uE="BForm",lE="BFormCheckbox",cE="BFormCheckboxGroup",fE="BFormDatalist",dE="BFormDatepicker",ym="BFormFile",pE="BFormGroup",hE="BFormInput",vE="BFormInvalidFeedback",mE="BFormRadio",gE="BFormRadioGroup",bE="BFormRating",yE="BFormRow",_E="BFormSelect",wE="BFormSelectOption",OE="BFormSelectOptionGroup",PE="BFormSpinbutton",SE="BFormTag",TE="BFormTags",EE="BFormText",$E="BFormTextarea",CE="BFormTimepicker",AE="BFormValidFeedback",DE="BIcon",UR="BIconBase",kE="BImg",ME="BImgLazy",IE="BInputGroup",RE="BInputGroupAddon",NE="BInputGroupAppend",jE="BInputGroupPrepend",BE="BInputGroupText",LE="BJumbotron",_m="BLink",FE="BListGroup",xE="BListGroupItem",HE="BMedia",VE="BMediaAside",zE="BMediaBody",Gt="BModal",GR="BMsgBox",UE="BNav",GE="BNavbar",WE="BNavbarBrand",KE="BNavbarNav",qE="BNavbarToggle",YE="BNavForm",XE="BNavItem",JE="BNavItemDropdown",WR="BNavText",ZE="BOverlay",gf="BPagination",hh="BPaginationNav",Ui="BPopover",QE="BProgress",e1="BProgressBar",t1="BRow",r1="BSidebar",n1="BSkeleton",i1="BSkeletonIcon",a1="BSkeletonImg",o1="BSkeletonTable",s1="BSkeletonWrapper",u1="BSpinner",l1="BTab",va="BTable",c1="BTableCell",f1="BTableLite",d1="BTableSimple",p1="BTabs",h1="BTbody",v1="BTfoot",m1="BTh",g1="BThead",b1="BTime",jn="BToast",fo="BToaster",Gi="BTooltip",y1="BTr",KR="BVCollapse",qR="BVFormBtnLabelControl",YR="BVFormRatingStar",XR="BVPopover",JR="BVPopoverTemplate",ZR="BVPopper",QR="BVTabButton",eN="BVToastPop",tN="BVTooltip",rN="BVTooltipTemplate",nN="BVTransition",_1="BVTransporter",iN="BVTransporterTarget",aN="activate-tab",w1="blur",oN="cancel",er="change",sN="changed",Nr="click",vh="close",bo="context",O1="context-changed",wm="destroyed",mh="disable",ml="disabled",uN="dismissed",lN="dismiss-count-down",gh="enable",gl="enabled",bh="filtered",P1="first",cN="focus",fc="focusin",dc="focusout",Is="head-clicked",Ze="hidden",Xt="hide",fN="img-error",S1="input",T1="last",E1="mouseenter",$1="mouseleave",C1="next",dN="ok",vy="open",A1="page-click",pN="paused",D1="prev",hN="refresh",gs="refreshed",vN="remove",pc="row-clicked",mN="row-contextmenu",gN="row-dblclicked",bN="row-hovered",yN="row-middle-clicked",_N="row-selected",wN="row-unhovered",k1="selected",mt="show",jt="shown",Ad="sliding-end",ON="sliding-start",PN="sort-changed",SN="tag-state",M1="toggle",TN="unpaused",EN="update",I1=xt?"vnodeBeforeUnmount":"hook:beforeDestroy",Ys=xt?"vNodeUnmounted":"hook:destroyed",$i="update:",R1="bv",N1="::",qt={passive:!0},me={passive:!0,capture:!1},yo=void 0,Bt=Array,T=Boolean,$N=Date,Ft=Function,Et=Number,at=Object,CN=RegExp,y=String,j1=[Bt,Ft],AN=[Bt,at],re=[Bt,at,y],At=[Bt,y],DN=[T,Et],Xs=[T,Et,y],Dt=[T,y],ea=[$N,y],kN=[Ft,y],q=[Et,y],MN=[Et,at,y],IN=[at,Ft],B1=[at,y],RN="add-button-text",my="append",NN="aside",gy="badge",by="bottom-row",Vn="button-content",yy="custom-foot",jN="decrement",st="default",BN="description",LN="dismiss",FN="drop-placeholder",xN="ellipsis-text",L1="empty",HN="emptyfiltered",_y="file-name",Om="first",VN="first-text",yh="footer",yi="header",zN="header-close",UN="icon-clear",GN="icon-empty",WN="icon-full",KN="icon-half",qN="img",YN="increment",XN="invalid-feedback",F1="label",JN="last-text",wy="lead",ZN="loading",QN="modal-backdrop",Oy="modal-cancel",ej="modal-footer",tj="modal-header",rj="modal-header-close",Py="modal-ok",Dd="modal-title",nj="nav-next-decade",ij="nav-next-month",aj="nav-next-year",oj="nav-prev-decade",sj="nav-prev-month",uj="nav-prev-year",lj="nav-this-month",cj="next-text",fj="overlay",dj="page",pj="placeholder",Sy="prepend",hj="prev-text",Xo="row-details",bs="table-busy",Ty="table-caption",Ey="table-colgroup",vj="tabs-end",mj="tabs-start",gj="text",bj="thead-top",du="title",yj="toast-title",$y="top-row",_j="valid-feedback",ma=function(){return Array.from.apply(Array,arguments)},ie=function(e,r){return e.indexOf(r)!==-1},ye=function(){for(var e=arguments.length,r=new Array(e),n=0;n1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e=ye(e).filter(ne),e.some(function(i){return r[i]||n[i]})},gt=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};e=ye(e).filter(ne);for(var a,o=0;o0&&arguments[0]!==void 0?arguments[0]:st,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.$scopedSlots,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.$slots;return zn(e,r,n)},normalizeSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:st,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.$scopedSlots,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this.$slots,a=gt(e,r,n,i);return a&&ye(a)}}}),G=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseInt(e,10);return isNaN(n)?r:n},he=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseFloat(e);return isNaN(n)?r:n},kd=function(e,r){return he(e).toFixed(G(r,0))},Pm=function(e){return e.replace(JI,"-$1").toLowerCase()},x1=function(e){return e=Pm(e).replace(oR,function(r,n){return n?n.toUpperCase():""}),e.charAt(0).toUpperCase()+e.slice(1)},bl=function(e){return e.replace(aR," ").replace(ZI,function(r,n,i){return n+" "+i}).replace(nR,function(r,n,i){return n+i.toUpperCase()})},Oj=function(e){return e=ge(e)?e.trim():String(e),e.charAt(0).toLowerCase()+e.slice(1)},H1=function(e){return e=ge(e)?e.trim():String(e),e.charAt(0).toUpperCase()+e.slice(1)},Sm=function(e){return e.replace(tR,"\\$&")},te=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Te(e)?"":Se(e)||Ct(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,r):String(e)},Pj=function(e){return te(e).replace(iR,"")},li=function(e){return te(e).trim()},hc=function(e){return te(e).toLowerCase()},yl=mm.prototype,Sj=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(t){return"".concat(t,":not(:disabled):not([disabled])")}).join(", "),Tj=yl.matches||yl.msMatchesSelector||yl.webkitMatchesSelector,Ej=yl.closest||function(t){var e=this;do{if(Fn(e,t))return e;e=e.parentElement||e.parentNode}while(!Ne(e)&&e.nodeType===Node.ELEMENT_NODE);return null},Ee=(Ye.requestAnimationFrame||Ye.webkitRequestAnimationFrame||Ye.mozRequestAnimationFrame||Ye.msRequestAnimationFrame||Ye.oRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(Ye),$j=Ye.MutationObserver||Ye.WebKitMutationObserver||Ye.MozMutationObserver||null,Cj=function(e){return e&&e.parentNode&&e.parentNode.removeChild(e)},Me=function(e){return!!(e&&e.nodeType===Node.ELEMENT_NODE)},_i=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=Bo.activeElement;return r&&!e.some(function(n){return n===r})?r:null},_n=function(e,r){return te(e).toLowerCase()===te(r).toLowerCase()},Tm=function(e){return Me(e)&&e===_i()},Hr=function(e){if(!Me(e)||!e.parentNode||!rt(Bo.body,e)||no(e,"display")==="none")return!1;var r=ga(e);return!!(r&&r.height>0&&r.width>0)},Ki=function(e){return!Me(e)||e.disabled||pn(e,"disabled")||Js(e,"disabled")},Em=function(e){return Me(e)&&e.offsetHeight},br=function(e,r){return ma((Me(r)?r:Bo).querySelectorAll(e))},vr=function(e,r){return(Me(r)?r:Bo).querySelector(e)||null},Fn=function(e,r){return Me(e)?Tj.call(e,r):!1},Jt=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!Me(r))return null;var i=Ej.call(r,e);return n?i:i===r?null:i},rt=function(e,r){return e&&Q(e.contains)?e.contains(r):!1},_h=function(e){return Bo.getElementById(/^#/.test(e)?e.slice(1):e)||null},Rt=function(e,r){r&&Me(e)&&e.classList&&e.classList.add(r)},Tt=function(e,r){r&&Me(e)&&e.classList&&e.classList.remove(r)},Js=function(e,r){return r&&Me(e)&&e.classList?e.classList.contains(r):!1},Le=function(e,r,n){r&&Me(e)&&e.setAttribute(r,n)},dn=function(e,r){r&&Me(e)&&e.removeAttribute(r)},mr=function(e,r){return r&&Me(e)?e.getAttribute(r):null},pn=function(e,r){return r&&Me(e)?e.hasAttribute(r):null},Ot=function(e,r,n){r&&Me(e)&&(e.style[r]=n)},bf=function(e,r){r&&Me(e)&&(e.style[r]="")},no=function(e,r){return r&&Me(e)&&e.style[r]||null},ga=function(e){return Me(e)?e.getBoundingClientRect():null},dr=function(e){var r=Ye.getComputedStyle;return r&&Me(e)?r(e):{}},Aj=function(){var e=Ye.getSelection;return e?Ye.getSelection():null},wh=function(e){var r={top:0,left:0};if(!Me(e)||e.getClientRects().length===0)return r;var n=ga(e);if(n){var i=e.ownerDocument.defaultView;r.top=n.top+i.pageYOffset,r.left=n.left+i.pageXOffset}return r},Dj=function(e){var r={top:0,left:0};if(!Me(e))return r;var n={top:0,left:0},i=dr(e);if(i.position==="fixed")r=ga(e)||r;else{r=wh(e);for(var a=e.ownerDocument,o=e.offsetParent||a.documentElement;o&&(o===a.body||o===a.documentElement)&&dr(o).position==="static";)o=o.parentNode;if(o&&o!==e&&o.nodeType===Node.ELEMENT_NODE){n=wh(o);var s=dr(o);n.top+=he(s.borderTopWidth,0),n.left+=he(s.borderLeftWidth,0)}}return{top:r.top-n.top-he(i.marginTop,0),left:r.left-n.left-he(i.marginLeft,0)}},Oh=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return br(Sj,e).filter(Hr).filter(function(r){return r.tabIndex>-1&&!r.disabled})},ce=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{e.focus(r)}catch{}return Tm(e)},nr=function(e){try{e.blur()}catch{}return!Tm(e)},pu=function(e){var r=ai(null);return function(){for(var n=arguments.length,i=new Array(n),a=0;a1&&arguments[1]!==void 0?arguments[1]:void 0,n=kj[Ja];return n?n.getConfigValue(e,r):kr(r)},pr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return r?Ph("".concat(e,".").concat(r),n):Ph(e,{})},V1=function(){return Ph("breakpoints",UI)},Mj=pu(function(){return V1()}),Ij=function(){return kr(Mj())},Zs=pu(function(){var t=Ij();return t[0]="",t});function Cy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ta(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:yo,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:void 0,a=n===!0;return i=a?i:n,ta(ta(ta({},e?{type:e}:{}),a?{required:a}:Qe(r)?{}:{default:Je(r)?function(){return r}:r}),Qe(i)?{}:{validator:i})},_f=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ne;if(Se(e))return e.map(r);var n={};for(var i in e)pa(e,i)&&(n[r(i)]=Je(e[i])?Ei(e[i]):e[i]);return n},Be=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ne;return(Se(e)?e.slice():oe(e)).reduce(function(i,a){return i[n(a)]=r[a],i},{})},G1=function(e,r,n){return ta(ta({},kr(e)),{},{default:function(){var a=pr(n,r,e.default);return Q(a)?a():a}})},F=function(e,r){return oe(e).reduce(function(n,i){return ta(ta({},n),{},z1({},i,G1(e[i],i,r)))},{})},Rj=G1({},"","").default.name,gn=function(e){return Q(e)&&e.name&&e.name!==Rj};function Nj(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.type,i=n===void 0?yo:n,a=r.defaultValue,o=a===void 0?void 0:a,s=r.validator,u=s===void 0?void 0:s,c=r.event,d=c===void 0?S1:c,v=Nj({},e,f(i,o,u)),m=N({model:{prop:e,event:d},props:v});return{mixin:m,props:v,prop:e,event:d}},W1=function(e){return VI?Je(e)?e:{capture:!!e||!1}:!!(Je(e)?e.capture:e)},je=function(e,r,n,i){e&&e.addEventListener&&e.addEventListener(r,n,W1(i))},xe=function(e,r,n,i){e&&e.removeEventListener&&e.removeEventListener(r,n,W1(i))},Vr=function(e){for(var r=e?je:xe,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventDefault,i=n===void 0?!0:n,a=r.propagation,o=a===void 0?!0:a,s=r.immediatePropagation,u=s===void 0?!1:s;i&&e.preventDefault(),o&&e.stopPropagation(),u&&e.stopImmediatePropagation()},K1=function(e){return Pm(e.replace(WI,""))},Ge=function(e,r){return[R1,K1(e),r].join(N1)},nt=function(e,r){return[R1,r,K1(e)].join(N1)};function jj(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bj=F({ariaLabel:f(y,"Close"),content:f(y,"×"),disabled:f(T,!1),textVariant:f(y)},jT),ba=N({name:jT,functional:!0,props:Bj,render:function(e,r){var n=r.props,i=r.data,a=r.slots,o=r.scopedSlots,s=a(),u=o||{},c={staticClass:"close",class:jj({},"text-".concat(n.textVariant),n.textVariant),attrs:{type:"button",disabled:n.disabled,"aria-label":n.ariaLabel?String(n.ariaLabel):null},on:{click:function(v){n.disabled&&fa(v)&&ue(v)}}};return zn(st,u,s)||(c.domProps={innerHTML:n.content}),e("button",Z(i,c),gt(st,{},u,s))}});function Ay(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Wi(t){for(var e=1;e0?e:0)},Md=function(e){return e===""||e===!0?!0:G(e,0)<1?!1:!!e},zj=F(X(ky(ky({},Vj),{},{dismissLabel:f(y,"Close"),dismissible:f(T,!1),fade:f(T,!1),variant:f(y,"info")})),$T),Uj=N({name:$T,mixins:[Hj,ae],props:zj,data:function(){return{countDown:0,localShow:Md(this[Qo])}},watch:(Zo={},ys(Zo,Qo,function(t){this.countDown=Iy(t),this.localShow=Md(t)}),ys(Zo,"countDown",function(e){var r=this;this.clearCountDownInterval();var n=this[Qo];Ms(n)&&(this.$emit(lN,e),n!==e&&this.$emit(My,e),e>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout(function(){r.countDown--},1e3)):this.$nextTick(function(){Ee(function(){r.localShow=!1})}))}),ys(Zo,"localShow",function(e){var r=this[Qo];!e&&(this.dismissible||Ms(r))&&this.$emit(uN),!Ms(r)&&r!==e&&this.$emit(My,e)}),Zo),created:function(){this.$_filterTimer=null;var e=this[Qo];this.countDown=Iy(e),this.localShow=Md(e)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(e){var r=e();if(this.localShow){var n=this.dismissible,i=this.variant,a=e();n&&(a=e(ba,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot(LN)])),r=e("div",{staticClass:"alert",class:ys({"alert-dismissible":n},"alert-".concat(i),i),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this[Ln]},[a,this.normalizeSlot()])}return e(Sa,{props:{noFade:!this.fade}},[r])}}),Gj=J({components:{BAlert:Uj}}),Bn=Math.min,Oe=Math.max,Y1=Math.abs,X1=Math.ceil,Qs=Math.floor,J1=Math.pow,Sh=Math.round;function Wj(t,e){return Xj(t)||Yj(t,e)||qj(t,e)||Kj()}function Kj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qj(t,e){if(t){if(typeof t=="string")return Ry(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ry(t,e)}}function Ry(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&arguments[0]!==void 0?arguments[0]:{},r=e.target,n=e.rel;return r==="_blank"&&Ne(n)?"noopener":n||null},t$=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.href,n=e.to,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#",o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"/";if(r)return r;if(e$(i))return null;if(ge(n))return n||o;if(Ct(n)&&(n.path||n.query||n.hash)){var s=te(n.path),u=eB(n.query),c=te(n.hash);return c=!c||c.charAt(0)==="#"?c:"#".concat(c),"".concat(s).concat(u).concat(c)||o}return a};function By(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nB={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},iB={width:null,height:null,focusable:null,role:null,"aria-label":null},$m={animation:f(y),content:f(y),flipH:f(T,!1),flipV:f(T,!1),fontScale:f(q,1),rotate:f(q,0),scale:f(q,1),shiftH:f(q,0),shiftV:f(q,0),stacked:f(T,!1),title:f(y),variant:f(y)},aB=N({name:UR,functional:!0,props:$m,render:function(e,r){var n,i=r.data,a=r.props,o=r.children,s=a.animation,u=a.content,c=a.flipH,d=a.flipV,v=a.stacked,m=a.title,g=a.variant,b=Oe(he(a.fontScale,1),0)||1,w=Oe(he(a.scale,1),0)||1,A=he(a.rotate,0),P=he(a.shiftH,0),E=he(a.shiftV,0),_=c||d||w!==1,l=_||A,p=P||E,h=!Te(u),O=[l?"translate(8 8)":null,_?"scale(".concat((c?-1:1)*w," ").concat((d?-1:1)*w,")"):null,A?"rotate(".concat(A,")"):null,l?"translate(-8 -8)":null].filter(ne),C=e("g",{attrs:{transform:O.join(" ")||null},domProps:h?{innerHTML:u||""}:{}},o);p&&(C=e("g",{attrs:{transform:"translate(".concat(16*P/16," ").concat(-16*E/16,")")}},[C])),v&&(C=e("g",[C]));var k=m?e("title",m):null,$=[k,C].filter(ne);return e("svg",Z({staticClass:"b-icon bi",class:(n={},By(n,"text-".concat(g),g),By(n,"b-icon-animation-".concat(s),s),n),attrs:nB,style:v?{}:{fontSize:b===1?null:"".concat(b*100,"%")}},i,v?{attrs:iB}:{},{attrs:{xmlns:v?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),$)}});function Ly(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Fy(t){for(var e=1;e'),lB=lt("CalendarFill",''),Hy=lt("ChevronBarLeft",''),Vy=lt("ChevronDoubleLeft",''),cB=lt("ChevronDown",''),zy=lt("ChevronLeft",''),Uy=lt("ChevronUp",''),Th=lt("CircleFill",''),fB=lt("Clock",''),dB=lt("ClockFill",''),pB=lt("Dash",''),kQ=lt("InfoCircle",''),hB=lt("PersonFill",''),vB=lt("Plus",''),mB=lt("Star",''),gB=lt("StarFill",''),bB=lt("StarHalf",''),r$=lt("X",'');function Gy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Wy(t){for(var e=1;e1?n-1:0),a=1;at.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&arguments[0]!==void 0?arguments[0]:"";return String(e).replace(XI,"")},He=function(e,r){return e?{innerHTML:e}:r?{textContent:r}:{}};function o_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function s_(t){for(var e=1;e-1&&(r=r.slice(0,n).reverse(),ce(r[0]))},focusNext:function(e){var r=this.getItems(),n=r.indexOf(e.target);n>-1&&(r=r.slice(n+1),ce(r[0]))},focusLast:function(){var e=this.getItems().reverse();ce(e[0])},onFocusin:function(e){var r=this.$el;e.target===r&&!rt(r,e.relatedTarget)&&(ue(e),this.focusFirst(e))},onKeydown:function(e){var r=e.keyCode,n=e.shiftKey;r===Zt||r===zr?(ue(e),n?this.focusFirst(e):this.focusPrev(e)):(r===Lt||r===Un)&&(ue(e),n?this.focusLast(e):this.focusNext(e))}},render:function(e){var r=this.keyNav;return e("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:r?"0":null},on:r?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot()])}}),s2=J({components:{BButtonToolbar:p_,BBtnToolbar:p_}}),Jn="gregory",Ns="long",u2="narrow",Ch="short",h_="2-digit",_c="numeric";function l2(t,e){return p2(t)||d2(t,e)||f2(t,e)||c2()}function c2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f2(t,e){if(t){if(typeof t=="string")return v_(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v_(t,e)}}function v_(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ah(t,e){return Ah=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ah(t,e)}var pt=function(){for(var e=arguments.length,r=new Array(e),n=0;n1&&arguments[1]!==void 0?arguments[1]:Jn;e=ye(e).filter(ne);var n=new Intl.DateTimeFormat(e,{calendar:r});return n.resolvedOptions().locale},_s=function(e,r){var n=new Intl.DateTimeFormat(e,r);return n.format},Bu=function(e,r){return Re(e)===Re(r)},Nd=function(e){return e=pt(e),e.setDate(1),e},jd=function(e){return e=pt(e),e.setMonth(e.getMonth()+1),e.setDate(0),e},Sf=function(e,r){e=pt(e);var n=e.getMonth();return e.setFullYear(e.getFullYear()+r),e.getMonth()!==n&&e.setDate(0),e},Bd=function(e){e=pt(e);var r=e.getMonth();return e.setMonth(r-1),e.getMonth()===r&&e.setDate(0),e},Ld=function(e){e=pt(e);var r=e.getMonth();return e.setMonth(r+1),e.getMonth()===(r+2)%12&&e.setDate(0),e},Fd=function(e){return Sf(e,-1)},xd=function(e){return Sf(e,1)},Hd=function(e){return Sf(e,-10)},Vd=function(e){return Sf(e,10)},wc=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return e=tt(e),r=tt(r)||e,n=tt(n)||e,e?en?n:e:null},m_=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map(function(t){return t.toLowerCase()}),Tf=function(e){var r=te(e).toLowerCase().replace(gR,"").split("-"),n=r.slice(0,2).join("-"),i=r[0];return ie(m_,n)||ie(m_,i)},$e={id:f(y)},Ae=N({props:$e,data:function(){return{localId_:null}},computed:{safeId:function(){var e=this.id||this.localId_,r=function(i){return e?(i=String(i||"").replace(/\s+/g,"_"),i?e+"_"+i:e):null};return r}},mounted:function(){var e=this;this.$nextTick(function(){e.localId_="__BVID__".concat(e[Ln])})}}),Ra;function g_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function on(t){for(var e=1;er}},dateDisabled:function(){var e=this,r=this.dateOutOfRange;return function(n){n=tt(n);var i=Re(n);return!!(r(n)||e.computedDateDisabledFn(i,n))}},formatDateString:function(){return _s(this.calendarLocale,on(on({year:_c,month:h_,day:h_},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:Jn}))},formatYearMonth:function(){return _s(this.calendarLocale,{year:_c,month:Ns,calendar:Jn})},formatWeekdayName:function(){return _s(this.calendarLocale,{weekday:Ns,calendar:Jn})},formatWeekdayNameShort:function(){return _s(this.calendarLocale,{weekday:this.weekdayHeaderFormat||Ch,calendar:Jn})},formatDay:function(){var e=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(r){return e.format(r.getDate())}},prevDecadeDisabled:function(){var e=this.computedMin;return this.disabled||e&&jd(Hd(this.activeDate))e},nextYearDisabled:function(){var e=this.computedMax;return this.disabled||e&&Nd(xd(this.activeDate))>e},nextDecadeDisabled:function(){var e=this.computedMax;return this.disabled||e&&Nd(Vd(this.activeDate))>e},calendar:function(){for(var e=[],r=this.calendarFirstDay,n=r.getFullYear(),i=r.getMonth(),a=this.calendarDaysInMonth,o=r.getDay(),s=(this.computedWeekStarts>o?7:0)-this.computedWeekStarts,u=0-s-o,c=0;c<6&&u0);i!==this.visible&&(this.visible=i,this.callback(i),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}]),t}(),C$=function(e){var r=e[_o];r&&r.stop&&r.stop(),delete e[_o]},A$=function(e,r){var n=r.value,i=r.modifiers,a={margin:"0px",once:!1,callback:n};oe(i).forEach(function(o){yT.test(o)?a.margin="".concat(o,"px"):o.toLowerCase()==="once"&&(a.once=!0)}),C$(e),e[_o]=new $2(e,a),e[_o]._prevModifiers=Ei(i)},C2=function(e,r,n){var i=r.value,a=r.oldValue,o=r.modifiers;o=Ei(o),e&&(i!==a||!e[_o]||!Pe(o,e[_o]._prevModifiers))&&A$(e,{value:i,modifiers:o})},A2=function(e){C$(e)},Bm={bind:A$,componentUpdated:C2,unbind:A2},Fu;function $_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Oc(t){for(var e=1;e0||u.removedNodes.length>0))&&(o=!0)}o&&r()});return i.observe(e,F2({childList:!0,subtree:!0},n)),i},ja;function k_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Gd(t){for(var e=1;e0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(ja={},Os(ja,Wd,function(t,e){t!==e&&this.setSlide(G(t,0))}),Os(ja,"interval",function(e,r){e!==r&&(e?(this.pause(!0),this.start(!1)):this.pause(!1))}),Os(ja,"isPaused",function(e,r){e!==r&&this.$emit(e?pN:TN)}),Os(ja,"index",function(e,r){e===r||this.isSliding||this.doSlide(e,r)}),ja),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(G(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=W2(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){clearInterval(this.$_interval),this.$_interval=null}),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=tu(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!(Ce&&document.visibilityState&&document.hidden)){var i=this.noWrap,a=this.numSlides;if(e=Qs(e),a!==0){if(this.isSliding){this.$once(Ad,function(){Ee(function(){return r.setSlide(e,n)})});return}this.direction=n,this.index=e>=a?i?a-1:0:e<0?i?0:a-1:e,i&&this.index!==e&&this.index!==this[Wd]&&this.$emit(M_,this.index)}}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(e){e||(this.isPaused=!0),this.clearInterval()},start:function(e){e||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,Oe(1e3,this.interval)))},restart:function(){this.$el.contains(_i())||this.start()},doSlide:function(e,r){var n=this,i=!!this.interval,a=this.calcDirection(this.direction,r,e),o=a.overlayClass,s=a.dirClass,u=this.slides[r],c=this.slides[e];if(!(!u||!c)){if(this.isSliding=!0,i&&this.pause(!1),this.$emit(ON,e),this.$emit(M_,this.index),this.noAnimation)Rt(c,"active"),Tt(u,"active"),this.isSliding=!1,this.$nextTick(function(){return n.$emit(Ad,e)});else{Rt(c,o),Em(c),Rt(u,s),Rt(c,s);var d=!1,v=function g(){if(!d){if(d=!0,n.transitionEndEvent){var b=n.transitionEndEvent.split(/\s+/);b.forEach(function(w){return xe(c,w,g,me)})}n.clearAnimationTimeout(),Tt(c,s),Tt(c,o),Rt(c,"active"),Tt(u,"active"),Tt(u,s),Tt(u,o),Le(u,"aria-current","false"),Le(c,"aria-current","true"),Le(u,"aria-hidden","true"),Le(c,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick(function(){return n.$emit(Ad,e)})}};if(this.transitionEndEvent){var m=this.transitionEndEvent.split(/\s+/);m.forEach(function(g){return je(c,g,v,me)})}this.$_animationTimeout=setTimeout(v,z2)}i&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=br(".carousel-item",this.$refs.inner);var e=this.slides.length,r=Oe(0,Bn(Qs(this.index),e-1));this.slides.forEach(function(n,i){var a=i+1;i===r?(Rt(n,"active"),Le(n,"aria-current","true")):(Tt(n,"active"),Le(n,"aria-current","false")),Le(n,"aria-posinset",String(a)),Le(n,"aria-setsize",String(e))}),this.setSlide(r),this.start(this.isPaused)},calcDirection:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return e?Kd[e]:n>r?Kd.next:Kd.prev},handleClick:function(e,r){var n=e.keyCode;(e.type==="click"||n===wn||n===Wn)&&(ue(e),r())},handleSwipe:function(){var e=Y1(this.touchDeltaX);if(!(e<=G2)){var r=e/this.touchDeltaX;this.touchDeltaX=0,r>0?this.prev():r<0&&this.next()}},touchStart:function(e){Yo&&I_[e.pointerType.toUpperCase()]?this.touchStartX=e.clientX:Yo||(this.touchStartX=e.touches[0].clientX)},touchMove:function(e){e.touches&&e.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=e.touches[0].clientX-this.touchStartX},touchEnd:function(e){Yo&&I_[e.pointerType.toUpperCase()]&&(this.touchDeltaX=e.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,U2+Oe(1e3,this.interval))}},render:function(e){var r=this,n=this.indicators,i=this.background,a=this.noAnimation,o=this.noHoverPause,s=this.noTouch,u=this.index,c=this.isSliding,d=this.pause,v=this.restart,m=this.touchStart,g=this.touchEnd,b=this.safeId("__BV_inner_"),w=e("div",{staticClass:"carousel-inner",attrs:{id:b,role:"list"},ref:"inner"},[this.normalizeSlot()]),A=e();if(this.controls){var P=function(p,h,O){var C=function($){c?ue($,{propagation:!1}):r.handleClick($,O)};return e("a",{staticClass:"carousel-control-".concat(p),attrs:{href:"#",role:"button","aria-controls":b,"aria-disabled":c?"true":null},on:{click:C,keydown:C}},[e("span",{staticClass:"carousel-control-".concat(p,"-icon"),attrs:{"aria-hidden":"true"}}),e("span",{class:"sr-only"},[h])])};A=[P("prev",this.labelPrev,this.prev),P("next",this.labelNext,this.next)]}var E=e("ol",{staticClass:"carousel-indicators",directives:[{name:"show",value:n}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":n?"false":"true","aria-label":this.labelIndicators,"aria-owns":b}},this.slides.map(function(l,p){var h=function(C){r.handleClick(C,function(){r.setSlide(p)})};return e("li",{class:{active:p===u},attrs:{role:"button",id:r.safeId("__BV_indicator_".concat(p+1,"_")),tabindex:n?"0":"-1","aria-current":p===u?"true":"false","aria-label":"".concat(r.labelGotoSlide," ").concat(p+1),"aria-describedby":l.id||null,"aria-controls":b},on:{click:h,keydown:h},key:"slide_".concat(p)})})),_={mouseenter:o?eu:d,mouseleave:o?eu:v,focusin:d,focusout:v,keydown:function(p){if(!/input|textarea/i.test(p.target.tagName)){var h=p.keyCode;(h===zr||h===Un)&&(ue(p),r[h===zr?"prev":"next"]())}}};return sc&&!s&&(Yo?(_["&pointerdown"]=m,_["&pointerup"]=g):(_["&touchstart"]=m,_["&touchmove"]=this.touchMove,_["&touchend"]=g)),e("div",{staticClass:"carousel",class:{slide:!a,"carousel-fade":!a&&this.fade,"pointer-event":sc&&Yo&&!s},style:{background:i},attrs:{role:"region",id:this.safeId(),"aria-busy":c?"true":"false"},on:_},[w,A,E])}});function N_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Bs(t){for(var e=1;e0?(Le(e,Ih,i.join(" ")),Ot(e,jh,"none")):(dn(e,Ih),bf(e,jh)),Ee(function(){OL(e,hn(n,r))}),Pe(i,e[wo])||(e[wo]=i,i.forEach(function(a){bn(hn(n,r)).$emit(yL,a)}))}},x$={bind:function(e,r,n){e[Sc]=!1,e[wo]=[],PL(e,hn(n,r)),Xd(e,r,n)},componentUpdated:Xd,updated:Xd,unbind:function(e,r,n){B$(e),L$(e,hn(n,r)),Vu(e,Ls),Vu(e,Pc),Vu(e,Sc),Vu(e,wo),Tt(e,kh),Tt(e,Mh),dn(e,Rh),dn(e,Ih),dn(e,Nh),bf(e,jh)}},Lm=J({directives:{VBToggle:x$}}),H$=J({components:{BCollapse:vL},plugins:{VBTogglePlugin:Lm}});/**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.16.1 * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */var gu=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",SL=function(){for(var t=["Edge","Trident","Firefox"],e=0;e=0)return 1;return 0}();function TL(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function EL(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},SL))}}var $L=gu&&window.Promise,CL=$L?TL:EL;function V$(t){var e={};return t&&e.toString.call(t)==="[object Function]"}function Ta(t,e){if(t.nodeType!==1)return[];var r=t.ownerDocument.defaultView,n=r.getComputedStyle(t,null);return e?n[e]:n}function Fm(t){return t.nodeName==="HTML"?t:t.parentNode||t.host}function bu(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Ta(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?t:bu(Fm(t))}function z$(t){return t&&t.referenceNode?t.referenceNode:t}var F_=gu&&!!(window.MSInputMethodContext&&document.documentMode),x_=gu&&/MSIE 10/.test(navigator.userAgent);function Lo(t){return t===11?F_:t===10?x_:F_||x_}function Oo(t){if(!t)return document.documentElement;for(var e=Lo(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return!n||n==="BODY"||n==="HTML"?t?t.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(r.nodeName)!==-1&&Ta(r,"position")==="static"?Oo(r):r}function AL(t){var e=t.nodeName;return e==="BODY"?!1:e==="HTML"||Oo(t.firstElementChild)===t}function Bh(t){return t.parentNode!==null?Bh(t.parentNode):t}function Tc(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,i=r?e:t,a=document.createRange();a.setStart(n,0),a.setEnd(i,0);var o=a.commonAncestorContainer;if(t!==o&&e!==o||n.contains(i))return AL(o)?o:Oo(o);var s=Bh(t);return s.host?Tc(s.host,e):Tc(t,Bh(e).host)}function Po(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",r=e==="top"?"scrollTop":"scrollLeft",n=t.nodeName;if(n==="BODY"||n==="HTML"){var i=t.ownerDocument.documentElement,a=t.ownerDocument.scrollingElement||i;return a[r]}return t[r]}function DL(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Po(e,"top"),i=Po(e,"left"),a=r?-1:1;return t.top+=n*a,t.bottom+=n*a,t.left+=i*a,t.right+=i*a,t}function H_(t,e){var r=e==="x"?"Left":"Top",n=r==="Left"?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function V_(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],Lo(10)?parseInt(r["offset"+t])+parseInt(n["margin"+(t==="Height"?"Top":"Left")])+parseInt(n["margin"+(t==="Height"?"Bottom":"Right")]):0)}function U$(t){var e=t.body,r=t.documentElement,n=Lo(10)&&getComputedStyle(r);return{height:V_("Height",e,r,n),width:V_("Width",e,r,n)}}var kL=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ML=function(){function t(e,r){for(var n=0;n2&&arguments[2]!==void 0?arguments[2]:!1,n=Lo(10),i=e.nodeName==="HTML",a=Lh(t),o=Lh(e),s=bu(t),u=Ta(e),c=parseFloat(u.borderTopWidth),d=parseFloat(u.borderLeftWidth);r&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var v=Pi({top:a.top-o.top-c,left:a.left-o.left-d,width:a.width,height:a.height});if(v.marginTop=0,v.marginLeft=0,!n&&i){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);v.top-=c-m,v.bottom-=c-m,v.left-=d-g,v.right-=d-g,v.marginTop=m,v.marginLeft=g}return(n&&!r?e.contains(s):e===s&&s.nodeName!=="BODY")&&(v=DL(v,e)),v}function IL(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.ownerDocument.documentElement,n=xm(t,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),o=e?0:Po(r),s=e?0:Po(r,"left"),u={top:o-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:a};return Pi(u)}function G$(t){var e=t.nodeName;if(e==="BODY"||e==="HTML")return!1;if(Ta(t,"position")==="fixed")return!0;var r=Fm(t);return r?G$(r):!1}function W$(t){if(!t||!t.parentElement||Lo())return document.documentElement;for(var e=t.parentElement;e&&Ta(e,"transform")==="none";)e=e.parentElement;return e||document.documentElement}function Hm(t,e,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},o=i?W$(t):Tc(t,z$(e));if(n==="viewport")a=IL(o,i);else{var s=void 0;n==="scrollParent"?(s=bu(Fm(e)),s.nodeName==="BODY"&&(s=t.ownerDocument.documentElement)):n==="window"?s=t.ownerDocument.documentElement:s=n;var u=xm(s,o,i);if(s.nodeName==="HTML"&&!G$(o)){var c=U$(t.ownerDocument),d=c.height,v=c.width;a.top+=u.top-u.marginTop,a.bottom=d+u.top,a.left+=u.left-u.marginLeft,a.right=v+u.left}else a=u}r=r||0;var m=typeof r=="number";return a.left+=m?r:r.left||0,a.top+=m?r:r.top||0,a.right-=m?r:r.right||0,a.bottom-=m?r:r.bottom||0,a}function RL(t){var e=t.width,r=t.height;return e*r}function K$(t,e,r,n,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(t.indexOf("auto")===-1)return t;var o=Hm(r,n,a,i),s={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},u=Object.keys(s).map(function(m){return Mr({key:m},s[m],{area:RL(s[m])})}).sort(function(m,g){return g.area-m.area}),c=u.filter(function(m){var g=m.width,b=m.height;return g>=r.clientWidth&&b>=r.clientHeight}),d=c.length>0?c[0].key:u[0].key,v=t.split("-")[1];return d+(v?"-"+v:"")}function q$(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?W$(e):Tc(e,z$(r));return xm(r,i,n)}function Y$(t){var e=t.ownerDocument.defaultView,r=e.getComputedStyle(t),n=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),i=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),a={width:t.offsetWidth+i,height:t.offsetHeight+n};return a}function Ec(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(r){return e[r]})}function X$(t,e,r){r=r.split("-")[0];var n=Y$(t),i={width:n.width,height:n.height},a=["right","left"].indexOf(r)!==-1,o=a?"top":"left",s=a?"left":"top",u=a?"height":"width",c=a?"width":"height";return i[o]=e[o]+e[u]/2-n[u]/2,r===s?i[s]=e[s]-n[c]:i[s]=e[Ec(s)],i}function yu(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function NL(t,e,r){if(Array.prototype.findIndex)return t.findIndex(function(i){return i[e]===r});var n=yu(t,function(i){return i[e]===r});return t.indexOf(n)}function J$(t,e,r){var n=r===void 0?t:t.slice(0,NL(t,"name",r));return n.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var a=i.function||i.fn;i.enabled&&V$(a)&&(e.offsets.popper=Pi(e.offsets.popper),e.offsets.reference=Pi(e.offsets.reference),e=a(e,i))}),e}function jL(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=q$(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=K$(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=X$(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=J$(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Z$(t,e){return t.some(function(r){var n=r.name,i=r.enabled;return i&&n===e})}function Vm(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;no[g]&&(t.offsets.popper[v]+=s[v]+b-o[g]),t.offsets.popper=Pi(t.offsets.popper);var w=s[v]+s[c]/2-b/2,A=Ta(t.instance.popper),P=parseFloat(A["margin"+d]),E=parseFloat(A["border"+d+"Width"]),_=w-t.offsets.popper[v]-P-E;return _=Math.max(Math.min(o[c]-b,_),0),t.arrowElement=n,t.offsets.arrow=(r={},So(r,v,Math.round(_)),So(r,m,""),r),t}function YL(t){return t==="end"?"start":t==="start"?"end":t}var rC=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Jd=rC.slice(3);function z_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=Jd.indexOf(t),n=Jd.slice(r+1).concat(Jd.slice(0,r));return e?n.reverse():n}var Zd={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function XL(t,e){if(Z$(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var r=Hm(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],i=Ec(n),a=t.placement.split("-")[1]||"",o=[];switch(e.behavior){case Zd.FLIP:o=[n,i];break;case Zd.CLOCKWISE:o=z_(n);break;case Zd.COUNTERCLOCKWISE:o=z_(n,!0);break;default:o=e.behavior}return o.forEach(function(s,u){if(n!==s||o.length===u+1)return t;n=t.placement.split("-")[0],i=Ec(n);var c=t.offsets.popper,d=t.offsets.reference,v=Math.floor,m=n==="left"&&v(c.right)>v(d.left)||n==="right"&&v(c.left)v(d.top)||n==="bottom"&&v(c.top)v(r.right),w=v(c.top)v(r.bottom),P=n==="left"&&g||n==="right"&&b||n==="top"&&w||n==="bottom"&&A,E=["top","bottom"].indexOf(n)!==-1,_=!!e.flipVariations&&(E&&a==="start"&&g||E&&a==="end"&&b||!E&&a==="start"&&w||!E&&a==="end"&&A),l=!!e.flipVariationsByContent&&(E&&a==="start"&&b||E&&a==="end"&&g||!E&&a==="start"&&A||!E&&a==="end"&&w),p=_||l;(m||P||p)&&(t.flipped=!0,(m||P)&&(n=o[u+1]),p&&(a=YL(a)),t.placement=n+(a?"-"+a:""),t.offsets.popper=Mr({},t.offsets.popper,X$(t.instance.popper,t.offsets.reference,t.placement)),t=J$(t.instance.modifiers,t,"flip"))}),t}function JL(t){var e=t.offsets,r=e.popper,n=e.reference,i=t.placement.split("-")[0],a=Math.floor,o=["top","bottom"].indexOf(i)!==-1,s=o?"right":"bottom",u=o?"left":"top",c=o?"width":"height";return r[s]a(n[s])&&(t.offsets.popper[u]=a(n[s])),t}function ZL(t,e,r,n){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],o=i[2];if(!a)return t;if(o.indexOf("%")===0){var s=void 0;switch(o){case"%p":s=r;break;case"%":case"%r":default:s=n}var u=Pi(s);return u[e]/100*a}else if(o==="vh"||o==="vw"){var c=void 0;return o==="vh"?c=Math.max(document.documentElement.clientHeight,window.innerHeight||0):c=Math.max(document.documentElement.clientWidth,window.innerWidth||0),c/100*a}else return a}function QL(t,e,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,o=t.split(/(\+|\-)/).map(function(d){return d.trim()}),s=o.indexOf(yu(o,function(d){return d.search(/,|\s/)!==-1}));o[s]&&o[s].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=s!==-1?[o.slice(0,s).concat([o[s].split(u)[0]]),[o[s].split(u)[1]].concat(o.slice(s+1))]:[o];return c=c.map(function(d,v){var m=(v===1?!a:a)?"height":"width",g=!1;return d.reduce(function(b,w){return b[b.length-1]===""&&["+","-"].indexOf(w)!==-1?(b[b.length-1]=w,g=!0,b):g?(b[b.length-1]+=w,g=!1,b):b.concat(w)},[]).map(function(b){return ZL(b,m,e,r)})}),c.forEach(function(d,v){d.forEach(function(m,g){zm(m)&&(i[v]+=m*(d[g-1]==="-"?-1:1))})}),i}function eF(t,e){var r=e.offset,n=t.placement,i=t.offsets,a=i.popper,o=i.reference,s=n.split("-")[0],u=void 0;return zm(+r)?u=[+r,0]:u=QL(r,a,o,s),s==="left"?(a.top+=u[0],a.left-=u[1]):s==="right"?(a.top+=u[0],a.left+=u[1]):s==="top"?(a.left+=u[0],a.top-=u[1]):s==="bottom"&&(a.left+=u[0],a.top+=u[1]),t.popper=a,t}function tF(t,e){var r=e.boundariesElement||Oo(t.instance.popper);t.instance.reference===r&&(r=Oo(r));var n=Vm("transform"),i=t.instance.popper.style,a=i.top,o=i.left,s=i[n];i.top="",i.left="",i[n]="";var u=Hm(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);i.top=a,i.left=o,i[n]=s,e.boundaries=u;var c=e.priority,d=t.offsets.popper,v={primary:function(g){var b=d[g];return d[g]u[g]&&!e.escapeWithReference&&(w=Math.min(d[b],u[g]-(g==="right"?d.width:d.height))),So({},b,w)}};return c.forEach(function(m){var g=["left","top"].indexOf(m)!==-1?"primary":"secondary";d=Mr({},d,v[g](m))}),t.offsets.popper=d,t}function rF(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var i=t.offsets,a=i.reference,o=i.popper,s=["bottom","top"].indexOf(r)!==-1,u=s?"left":"top",c=s?"width":"height",d={start:So({},u,a[u]),end:So({},u,a[u]+a[c]-o[c])};t.offsets.popper=Mr({},o,d[n])}return t}function nF(t){if(!tC(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=yu(t.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(e.bottomr.right||e.top>r.bottom||e.right2&&arguments[2]!==void 0?arguments[2]:{};kL(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=CL(this.update.bind(this)),this.options=Mr({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(Mr({},t.Defaults.modifiers,i.modifiers)).forEach(function(o){n.options.modifiers[o]=Mr({},t.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return Mr({name:o},n.options.modifiers[o])}).sort(function(o,s){return o.order-s.order}),this.modifiers.forEach(function(o){o.enabled&&V$(o.onLoad)&&o.onLoad(n.reference,n.popper,n.options,o,n.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return ML(t,[{key:"update",value:function(){return jL.call(this)}},{key:"destroy",value:function(){return BL.call(this)}},{key:"enableEventListeners",value:function(){return FL.call(this)}},{key:"disableEventListeners",value:function(){return HL.call(this)}}]),t}();kf.Utils=(typeof window<"u"?window:global).PopperUtils;kf.placements=rC;kf.Defaults=oF;const xh=kf;var sF="top-start",uF="top-end",lF="bottom-start",cF="bottom-end",fF="right-start",dF="left-start";function pF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function U_(t,e){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{};if(pF(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));fu(this,t.Defaults,this.constructor.Defaults,r,{type:e}),mf(this,{type:Cr(),cancelable:Cr(),nativeEvent:Cr(),target:Cr(),relatedTarget:Cr(),vueTarget:Cr(),componentId:Cr()});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},gm(this,"defaultPrevented",{enumerable:!0,get:function(){return n}})}return hF(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),t}(),vF=N({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(e,r){e!==r&&(xe(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,me),e&&je(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,me))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&je(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,me)},beforeDestroy:function(){xe(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,me)},methods:{isClickOut:function(e){return!rt(this.$el,e.target)},_clickOutHandler:function(e){this.clickOutHandler&&this.isClickOut(e)&&this.clickOutHandler(e)}}}),mF=N({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(e,r){e!==r&&(xe(this.focusInElement,"focusin",this._focusInHandler,me),e&&je(this.focusInElement,"focusin",this._focusInHandler,me))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&je(this.focusInElement,"focusin",this._focusInHandler,me)},beforeDestroy:function(){xe(this.focusInElement,"focusin",this._focusInHandler,me)},methods:{_focusInHandler:function(e){this.focusInHandler&&this.focusInHandler(e)}}}),ru=null;xt&&(ru=new WeakMap);var gF=function(e,r){xt&&ru.set(e,r)},bF=function(e){xt&&ru.delete(e)},yF=function(e){if(!xt)return e.__vue__;for(var r=e;r;){if(ru.has(r))return ru.get(r);r=r.parentNode}return null};function G_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function W_(t){for(var e=1;e"u")ut("Popper.js not found. Falling back to CSS positioning",ha);else{var r=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;r=r.$el||r,this.createPopper(r)}this.emitOnRoot(K_,this),this.whileOpenListen(!0),this.$nextTick(function(){e.focusMenu(),e.$emit(jt)})}},hideMenu:function(){this.whileOpenListen(!1),this.emitOnRoot(wF,this),this.$emit(Ze),this.destroyPopper()},createPopper:function(e){this.destroyPopper(),this.$_popper=new xh(e,this.$refs.menu,this.getPopperConfig())},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){try{this.$_popper.scheduleUpdate()}catch{}},clearHideTimeout:function(){clearTimeout(this.$_hideTimeout),this.$_hideTimeout=null},getPopperConfig:function(){var e=lF;this.dropup?e=this.right?uF:sF:this.dropright?e=fF:this.dropleft?e=dF:this.right&&(e=cF);var r={placement:e,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}},n=this.boundary;return n&&(r.modifiers.preventOverflow={boundariesElement:n}),TR(r,this.popperOpts||{})},whileOpenListen:function(e){this.listenForClickOut=e,this.listenForFocusIn=e;var r=e?"listenOnRoot":"listenOffRoot";this[r](K_,this.rootCloseListener)},rootCloseListener:function(e){e!==this&&(this.visible=!1)},show:function(){var e=this;this.disabled||Ee(function(){e.visible=!0})},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.disabled||(this.visible=!1,e&&this.$once(Ze,this.focusToggler))},toggle:function(e){e=e||{};var r=e,n=r.type,i=r.keyCode;if(!(n!=="click"&&!(n==="keydown"&&[Wn,wn,Lt].indexOf(i)!==-1))){if(this.disabled){this.visible=!1;return}this.$emit(M1,e),ue(e),this.visible?this.hide(!0):this.show()}},onMousedown:function(e){ue(e,{propagation:!1})},onKeydown:function(e){var r=e.keyCode;r===Cm?this.onEsc(e):r===Lt?this.focusNext(e,!1):r===Zt&&this.focusNext(e,!0)},onEsc:function(e){this.visible&&(this.visible=!1,ue(e),this.$once(Ze,this.focusToggler))},onSplitClick:function(e){if(this.disabled){this.visible=!1;return}this.$emit(Nr,e)},hideHandler:function(e){var r=this,n=e.target;this.visible&&!rt(this.$refs.menu,n)&&!rt(this.toggler,n)&&(this.clearHideTimeout(),this.$_hideTimeout=setTimeout(function(){return r.hide()},this.hideDelay))},clickOutHandler:function(e){this.hideHandler(e)},focusInHandler:function(e){this.hideHandler(e)},focusNext:function(e,r){var n=this,i=e.target;!this.visible||e&&Jt(OF,i)||(ue(e),this.$nextTick(function(){var a=n.getItems();if(!(a.length<1)){var o=a.indexOf(i);r&&o>0?o--:!r&&o1&&arguments[1]!==void 0?arguments[1]:null;if(Ct(e)){var n=Pt(e,this.valueField),i=Pt(e,this.textField);return{value:Qe(n)?r||i:n,text:a_(String(Qe(i)?r:i)),html:Pt(e,this.htmlField),disabled:!!Pt(e,this.disabledField)}}return{value:r||e,text:a_(String(e)),disabled:!1}},normalizeOptions:function(e){var r=this;return Se(e)?e.map(function(n){return r.normalizeOption(n)}):Ct(e)?(ut(HF,this.$options.name),oe(e).map(function(n){return r.normalizeOption(e[n]||{},n)})):[]}}});function dw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function pw(t){for(var e=1;e-1:Pe(r,e)},isRadio:function(){return!1}},watch:ao({},Mc,function(t,e){Pe(t,e)||this.setIndeterminate(t)}),mounted:function(){this.setIndeterminate(this[Mc])},methods:{computedLocalCheckedWatcher:function(e,r){if(!Pe(e,r)){this.$emit(lC,e);var n=this.$refs.input;n&&this.$emit(Qd,n.indeterminate)}},handleChange:function(e){var r=this,n=e.target,i=n.checked,a=n.indeterminate,o=this.value,s=this.uncheckedValue,u=this.computedLocalChecked;if(Se(u)){var c=vw(u,o);i&&c<0?u=u.concat(o):!i&&c>-1&&(u=u.slice(0,c).concat(u.slice(c+1)))}else u=i?o:s;this.computedLocalChecked=u,this.$nextTick(function(){r.$emit(er,u),r.isGroup&&r.bvGroup.$emit(er,u),r.$emit(Qd,a)})},setIndeterminate:function(e){Se(this.computedLocalChecked)&&(e=!1);var r=this.$refs.input;r&&(r.indeterminate=e,this.$emit(Qd,e))}}}),QF=F(qm,mE),Vh=N({name:mE,mixins:[cC],inject:{getBvGroup:{from:"getBvRadioGroup",default:function(){return function(){return null}}}},props:QF,computed:{bvGroup:function(){return this.getBvGroup()}}}),Gu;function _w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function an(t){for(var e=1;e0&&(c=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":c.length>1,"justify-content-end":c.length<2}},c)]);var g=e(w$,{staticClass:"b-form-date-calendar w-100",props:kn(kn({},Be(vC,o)),{},{hidden:!this.isVisible,value:r,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:qr(s,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"]),key:"calendar",ref:"calendar"},c);return e(hC,{staticClass:"b-form-datepicker",props:kn(kn({},Be(mC,o)),{},{formattedValue:r?this.formattedValue:"",id:this.safeId(),lang:this.computedLang,menuClass:[{"bg-dark":a,"text-light":a},this.menuClass],placeholder:u,rtl:this.isRTL,value:r}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Ps({},Vn,s[Vn]||this.defaultButtonFn),ref:"control"},[g])}}),fx=J({components:{BFormDatepicker:Cw,BDatepicker:Cw}}),qu;function Aw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Cn(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:!0;return Promise.all(ma(e).filter(function(n){return n.kind==="file"}).map(function(n){var i=gC(n);if(i){if(i.isDirectory&&r)return yx(i.createReader(),"".concat(i.name,"/"));if(i.isFile)return new Promise(function(a){i.file(function(o){o.$path="",a(o)})})}return null}).filter(ne))},yx=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new Promise(function(n){var i=[],a=function o(){e.readEntries(function(s){s.length===0?n(Promise.all(i).then(function(u){return wj(u)})):(i.push(Promise.all(s.map(function(u){if(u){if(u.isDirectory)return t(u.createReader(),"".concat(r).concat(u.name,"/"));if(u.isFile)return new Promise(function(c){u.file(function(d){d.$path="".concat(r).concat(d.name),c(d)})})}return null}).filter(ne))),o())})};a()})},_x=F(X(Cn(Cn(Cn(Cn(Cn(Cn(Cn({},$e),px),Jr),wu),Qr),Zr),{},{accept:f(y,""),browseText:f(y,"Browse"),capture:f(T,!1),directory:f(T,!1),dropPlaceholder:f(y,"Drop files here"),fileNameFormatter:f(Ft),multiple:f(T,!1),noDrop:f(T,!1),noDropPlaceholder:f(y,"Not allowed"),noTraverse:f(T,!1),placeholder:f(y,"No file chosen")})),ym),Dw=N({name:ym,mixins:[ct,Ae,dx,ae,$a,On,Rf,ae],inheritAttrs:!1,props:_x,data:function(){return{files:[],dragging:!1,dropAllowed:!this.noDrop,hasFocus:!1}},computed:{computedAccept:function(){var e=this.accept;return e=(e||"").trim().split(/[,\s]+/).filter(ne),e.length===0?null:e.map(function(r){var n="name",i="^",a="$";KI.test(r)?i="":(n="type",rR.test(r)&&(a=".+$",r=r.slice(0,-1))),r=Sm(r);var o=new RegExp("".concat(i).concat(r).concat(a));return{rx:o,prop:n}})},computedCapture:function(){var e=this.capture;return e===!0||e===""?!0:e||null},computedAttrs:function(){var e=this.name,r=this.disabled,n=this.required,i=this.form,a=this.computedCapture,o=this.accept,s=this.multiple,u=this.directory;return Cn(Cn({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:e,disabled:r,required:n,form:i||null,capture:a,accept:o||null,multiple:s,directory:u,webkitdirectory:u,"aria-required":n?"true":null})},computedFileNameFormatter:function(){var e=this.fileNameFormatter;return gn(e)?e:this.defaultFileNameFormatter},clonedFiles:function(){return kr(this.files)},flattenedFiles:function(){return Jo(this.files)},fileNames:function(){return this.flattenedFiles.map(function(e){return e.name})},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot(FN,{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(this.files.length===0)return this.normalizeSlot(pj)||this.placeholder;var e=this.flattenedFiles,r=this.clonedFiles,n=this.fileNames,i=this.computedFileNameFormatter;return this.hasNormalizedSlot(_y)?this.normalizeSlot(_y,{files:e,filesTraversed:r,names:n}):i(e,r,n)}},watch:(qu={},El(qu,hx,function(t){(!t||Se(t)&&t.length===0)&&this.reset()}),El(qu,"files",function(e,r){if(!Pe(e,r)){var n=this.multiple,i=this.noTraverse,a=!n||i?Jo(e):e;this.$emit(vx,n?a:a[0]||null)}}),qu),created:function(){this.$_form=null},mounted:function(){var e=Jt("form",this.$el);e&&(je(e,"reset",this.reset,qt),this.$_form=e)},beforeDestroy:function(){var e=this.$_form;e&&xe(e,"reset",this.reset,qt)},methods:{isFileValid:function(e){if(!e)return!1;var r=this.computedAccept;return r?r.some(function(n){return n.rx.test(e[n.prop])}):!0},isFilesArrayValid:function(e){var r=this;return Se(e)?e.every(function(n){return r.isFileValid(n)}):this.isFileValid(e)},defaultFileNameFormatter:function(e,r,n){return n.join(", ")},setFiles:function(e){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?e:Jo(e):Jo(e).slice(0,1)},setInputFiles:function(e){try{var r=new ClipboardEvent("").clipboardData||new DataTransfer;Jo(kr(e)).forEach(function(n){delete n.$path,r.items.add(n)}),this.$refs.input.files=r.files}catch{}},reset:function(){try{var e=this.$refs.input;e.value="",e.type="",e.type="file"}catch{}this.files=[]},handleFiles:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(r){var n=e.filter(this.isFilesArrayValid);n.length>0&&(this.setFiles(n),this.setInputFiles(n))}else this.setFiles(e)},focusHandler:function(e){this.plain||e.type==="focusout"?this.hasFocus=!1:this.hasFocus=!0},onChange:function(e){var r=this,n=e.type,i=e.target,a=e.dataTransfer,o=a===void 0?{}:a,s=n==="drop";this.$emit(er,e);var u=ma(o.items||[]);if(gT&&u.length>0&&!Ne(gC(u[0])))bx(u,this.directory).then(function(d){return r.handleFiles(d,s)});else{var c=ma(i.files||o.files||[]).map(function(d){return d.$path=d.webkitRelativePath||"",d});this.handleFiles(c,s)}},onDragenter:function(e){ue(e),this.dragging=!0;var r=e.dataTransfer,n=r===void 0?{}:r;if(this.noDrop||this.disabled||!this.dropAllowed){n.dropEffect="none",this.dropAllowed=!1;return}n.dropEffect="copy"},onDragover:function(e){ue(e),this.dragging=!0;var r=e.dataTransfer,n=r===void 0?{}:r;if(this.noDrop||this.disabled||!this.dropAllowed){n.dropEffect="none",this.dropAllowed=!1;return}n.dropEffect="copy"},onDragleave:function(e){var r=this;ue(e),this.$nextTick(function(){r.dragging=!1,r.dropAllowed=!r.noDrop})},onDrop:function(e){var r=this;if(ue(e),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed){this.$nextTick(function(){r.dropAllowed=!r.noDrop});return}this.onChange(e)}},render:function(e){var r=this.custom,n=this.plain,i=this.size,a=this.dragging,o=this.stateClass,s=this.bvAttrs,u=e("input",{class:[{"form-control-file":n,"custom-file-input":r,focus:r&&this.hasFocus},o],style:r?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset},ref:"input"});if(n)return u;var c=e("label",{staticClass:"custom-file-label",class:{dragging:a},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[e("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return e("div",{staticClass:"custom-file b-form-file",class:[El({},"b-custom-control-".concat(i),i),o,s.class],style:s.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[u,c])}}),wx=J({components:{BFormFile:Dw,BFile:Dw}}),rp=function(e){return"\\"+e},bC=function(e){e=te(e);var r=e.length,n=e.charCodeAt(0);return e.split("").reduce(function(i,a,o){var s=e.charCodeAt(o);return s===0?i+"�":s===127||s>=1&&s<=31||o===0&&s>=48&&s<=57||o===1&&s>=48&&s<=57&&n===45?i+rp("".concat(s.toString(16)," ")):o===0&&s===45&&r===1?i+rp(a):s>=128||s===45||s===95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?i+a:i+rp(a)},"")};function kw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Yu(t){for(var e=1;e0||oe(this.labelColProps).length>0}},watch:{ariaDescribedby:function(e,r){e!==r&&this.updateAriaDescribedby(e,r)}},mounted:function(){var e=this;this.$nextTick(function(){e.updateAriaDescribedby(e.ariaDescribedby)})},methods:{getAlignClasses:function(e,r){return Zs().reduce(function(n,i){var a=e[ci(i,"".concat(r,"Align"))]||null;return a&&n.push(["text",i,a].filter(ne).join("-")),n},[])},getColProps:function(e,r){return Zs().reduce(function(n,i){var a=e[ci(i,"".concat(r,"Cols"))];return a=a===""?!0:a||!1,!Dr(a)&&a!=="auto"&&(a=G(a,0),a=a>0?a:!1),a&&(n[i||(Dr(a)?"col":"cols")]=a),n},{})},updateAriaDescribedby:function(e,r){var n=this.labelFor;if(Ce&&n){var i=vr("#".concat(bC(n)),this.$refs.content);if(i){var a="aria-describedby",o=(e||"").split(hl),s=(r||"").split(hl),u=(mr(i,a)||"").split(hl).filter(function(c){return!ie(s,c)}).concat(o).filter(function(c,d,v){return v.indexOf(c)===d}).filter(ne).join(" ").trim();u?Le(i,a,u):dn(i,a)}}},onLegendClick:function(e){if(!this.labelFor){var r=e.target,n=r?r.tagName:"";if(Cx.indexOf(n)===-1){var i=br($x,this.$refs.content).filter(Hr);i.length===1&&ce(i[0])}}}},render:function(e){var r=this.computedState,n=this.feedbackAriaLive,i=this.isHorizontal,a=this.labelFor,o=this.normalizeSlot,s=this.safeId,u=this.tooltip,c=s(),d=!a,v=e(),m=o(F1)||this.label,g=m?s("_BV_label_"):null;if(m||i){var b=this.labelSize,w=this.labelColProps,A=d?"legend":"label";this.labelSrOnly?(m&&(v=e(A,{class:"sr-only",attrs:{id:g,for:a||null}},[m])),v=e(i?$l:"div",{props:i?w:{}},[v])):v=e(i?$l:A,{on:d?{click:this.onLegendClick}:{},props:i?oo(oo({},w),{},{tag:A}):{},attrs:{id:g,for:a||null,tabindex:d?"-1":null},class:[d?"bv-no-focus-ring":"",i||d?"col-form-label":"",!i&&d?"pt-0":"",!i&&!d?"d-block":"",b?"col-form-label-".concat(b):"",this.labelAlignClasses,this.labelClass]},[m])}var P=e(),E=o(XN)||this.invalidFeedback,_=E?s("_BV_feedback_invalid_"):null;E&&(P=e(Dc,{props:{ariaLive:n,id:_,state:r,tooltip:u},attrs:{tabindex:E?"-1":null}},[E]));var l=e(),p=o(_j)||this.validFeedback,h=p?s("_BV_feedback_valid_"):null;p&&(l=e(uC,{props:{ariaLive:n,id:h,state:r,tooltip:u},attrs:{tabindex:p?"-1":null}},[p]));var O=e(),C=o(BN)||this.description,k=C?s("_BV_description_"):null;C&&(O=e(Ac,{attrs:{id:k,tabindex:"-1"}},[C]));var $=this.ariaDescribedby=[k,r===!1?_:null,r===!0?h:null].filter(ne).join(" ")||null,I=e(i?$l:"div",{props:i?this.contentColProps:{},ref:"content"},[o(st,{ariaDescribedby:$,descriptionId:k,id:c,labelId:g})||e(),P,l,O]);return e(d?"fieldset":i?kc:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:c,disabled:d?this.disabled:null,role:d?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":d&&i?g:null}},i&&d?[e(kc,[v,I])]:[v,I])}},Dx=J({components:{BFormGroup:Iw,BFormFieldset:Iw}}),_C=N({computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(e){this.$refs.input.selectionStart=e}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(e){this.$refs.input.selectionEnd=e}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(e){this.$refs.input.selectionDirection=e}}},methods:{select:function(){var e;(e=this.$refs.input).select.apply(e,arguments)},setSelectionRange:function(){var e;(e=this.$refs.input).setSelectionRange.apply(e,arguments)},setRangeText:function(){var e;(e=this.$refs.input).setRangeText.apply(e,arguments)}}});function Rw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Nw(t){for(var e=1;e2&&arguments[2]!==void 0?arguments[2]:!1;return e=te(e),this.hasFormatter&&(!this.lazyFormatter||n)&&(e=this.formatter(e,r)),e},modifyValue:function(e){return e=te(e),this.trim&&(e=e.trim()),this.number&&(e=he(e,e)),e},updateValue:function(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=this.lazy;if(!(i&&!n)){this.clearDebounce();var a=function(){if(e=r.modifyValue(e),e!==r.vModelValue)r.vModelValue=e,r.$emit(Ix,e);else if(r.hasFormatter){var u=r.$refs.input;u&&e!==u.value&&(u.value=e)}},o=this.computedDebounce;o>0&&!i&&!n?this.$_inputDebounceTimer=setTimeout(a,o):a()}},onInput:function(e){if(!e.target.composing){var r=e.target.value,n=this.formatValue(r,e);if(n===!1||e.defaultPrevented){ue(e,{propagation:!1});return}this.localValue=n,this.updateValue(n),this.$emit(S1,n)}},onChange:function(e){var r=e.target.value,n=this.formatValue(r,e);if(n===!1||e.defaultPrevented){ue(e,{propagation:!1});return}this.localValue=n,this.updateValue(n,!0),this.$emit(er,n)},onBlur:function(e){var r=e.target.value,n=this.formatValue(r,e,!0);n!==!1&&(this.localValue=te(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit(w1,e)},focus:function(){this.disabled||ce(this.$el)},blur:function(){this.disabled||nr(this.$el)}}}),PC=N({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 e;return(e=this.$refs.input).setCustomValidity.apply(e,arguments)},checkValidity:function(){var e;return(e=this.$refs.input).checkValidity.apply(e,arguments)},reportValidity:function(){var e;return(e=this.$refs.input).reportValidity.apply(e,arguments)}}});function Bw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Qn(t){for(var e=1;e=n?"full":r>=n-.5?"half":"empty",v={variant:o,disabled:s,readonly:u};return e("span",{staticClass:"b-rating-star",class:{focused:i&&r===n||!G(r)&&n===c,"b-rating-star-empty":d==="empty","b-rating-star-half":d==="half","b-rating-star-full":d==="full"},attrs:{tabindex:!s&&!u?"-1":null},on:{click:this.onClick}},[e("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(d,v)])])}}),zx=F(X(ns(ns(ns(ns(ns({},$e),xx),fe(Jr,["required","autofocus"])),Zr),{},{color:f(y),iconClear:f(y,"x"),iconEmpty:f(y,"star"),iconFull:f(y,"star-fill"),iconHalf:f(y,"star-half"),inline:f(T,!1),locale:f(At),noBorder:f(T,!1),precision:f(q),readonly:f(T,!1),showClear:f(T,!1),showValue:f(T,!1),showValueMax:f(T,!1),stars:f(q,EC,function(t){return G(t)>=TC}),variant:f(y)})),bE),zw=N({name:bE,components:{BIconStar:mB,BIconStarHalf:bB,BIconStarFill:gB,BIconX:r$},mixins:[Ae,Fx,qn],props:zx,data:function(){var e=he(this[Hw],null),r=Vw(this.stars);return{localValue:Ne(e)?null:Ri(e,0,r),hasFocus:!1}},computed:{computedStars:function(){return Vw(this.stars)},computedRating:function(){var e=he(this.localValue,0),r=G(this.precision,3);return Ri(he(e.toFixed(r)),0,this.computedStars)},computedLocale:function(){var e=ye(this.locale).filter(ne),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return Tf(this.computedLocale)},formattedRating:function(){var e=G(this.precision),r=this.showValueMax,n=this.computedLocale,i={notation:"standard",minimumFractionDigits:isNaN(e)?0:e,maximumFractionDigits:isNaN(e)?3:e},a=this.computedStars.toLocaleString(n),o=this.localValue;return o=Ne(o)?r?"-":"":o.toLocaleString(n,i),r?"".concat(o,"/").concat(a):o}},watch:(rs={},Cl(rs,Hw,function(t,e){if(t!==e){var r=he(t,null);this.localValue=Ne(r)?null:Ri(r,0,this.computedStars)}}),Cl(rs,"localValue",function(e,r){e!==r&&e!==(this.value||0)&&this.$emit(Hx,e||null)}),Cl(rs,"disabled",function(e){e&&(this.hasFocus=!1,this.blur())}),rs),methods:{focus:function(){this.disabled||ce(this.$el)},blur:function(){this.disabled||nr(this.$el)},onKeydown:function(e){var r=e.keyCode;if(this.isInteractive&&ie([zr,Lt,Un,Zt],r)){ue(e,{propagation:!1});var n=G(this.localValue,0),i=this.showClear?0:1,a=this.computedStars,o=this.isRTL?-1:1;r===zr?this.localValue=Ri(n-o,i,a)||null:r===Un?this.localValue=Ri(n+o,i,a):r===Lt?this.localValue=Ri(n-1,i,a)||null:r===Zt&&(this.localValue=Ri(n+1,i,a))}},onSelected:function(e){this.isInteractive&&(this.localValue=e)},onFocus:function(e){this.hasFocus=this.isInteractive?e.type==="focus":!1},renderIcon:function(e){return this.$createElement(vc,{props:{icon:e,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(vc,{props:{icon:this.iconClear}})}},render:function(e){var r=this,n=this.disabled,i=this.readonly,a=this.name,o=this.form,s=this.inline,u=this.variant,c=this.color,d=this.noBorder,v=this.hasFocus,m=this.computedRating,g=this.computedStars,b=this.formattedRating,w=this.showClear,A=this.isRTL,P=this.isInteractive,E=this.$scopedSlots,_=[];if(w&&!n&&!i){var l=e("span",{staticClass:"b-rating-icon"},[(E[UN]||this.iconClearFn)()]);_.push(e("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:v&&m===0},attrs:{tabindex:P?"-1":null},on:{click:function(){return r.onSelected(null)}},key:"clear"},[l]))}for(var p=0;p1&&arguments[1]!==void 0?arguments[1]:null;if(Ct(e)){var n=Pt(e,this.valueField),i=Pt(e,this.textField),a=Pt(e,this.optionsField,null);return Ne(a)?{value:Qe(n)?r||i:n,text:String(Qe(i)?r:i),html:Pt(e,this.htmlField),disabled:!!Pt(e,this.disabledField)}:{label:String(Pt(e,this.labelField)||i),options:this.normalizeOptions(a)}}return{value:r||e,text:String(e),disabled:!1}}}}),Zx=F({disabled:f(T,!1),value:f(yo,void 0,!0)},wE),Ic=N({name:wE,functional:!0,props:Zx,render:function(e,r){var n=r.props,i=r.data,a=r.children,o=n.value,s=n.disabled;return e("option",Z(i,{attrs:{disabled:s},domProps:{value:o}}),a)}});function Ww(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Kw(t){for(var e=1;e0?e:DC},computedInterval:function(){var e=G(this.repeatInterval,0);return e>0?e:kC},computedThreshold:function(){return Oe(G(this.repeatThreshold,MC),1)},computedStepMultiplier:function(){return Oe(G(this.repeatStepMultiplier,IC),1)},computedPrecision:function(){var e=this.computedStep;return Qs(e)===e?0:(e.toString().split(".")[1]||"").length},computedMultiplier:function(){return J1(10,this.computedPrecision||0)},valueAsFixed:function(){var e=this.localValue;return Ne(e)?"":e.toFixed(this.computedPrecision)},computedLocale:function(){var e=ye(this.locale).filter(ne),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},computedRTL:function(){return Tf(this.computedLocale)},defaultFormatter:function(){var e=this.computedPrecision,r=new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:e,maximumFractionDigits:e,notation:"standard"});return r.format},computedFormatter:function(){var e=this.formatterFn;return gn(e)?e:this.defaultFormatter},computedAttrs:function(){return un(un({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var e=this.spinId,r=this.localValue,n=this.computedRequired,i=this.disabled,a=this.state,o=this.computedFormatter,s=!Ne(r);return un(un({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:e,role:"spinbutton",tabindex:i?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":a===!1||!s&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":te(this.computedMin),"aria-valuemax":te(this.computedMax),"aria-valuenow":s?r:null,"aria-valuetext":s?o(r):null})}},watch:(Fa={},Ts(Fa,Jw,function(t){this.localValue=he(t,null)}),Ts(Fa,"localValue",function(e){this.$emit(o6,e)}),Ts(Fa,"disabled",function(e){e&&this.clearRepeat()}),Ts(Fa,"readonly",function(e){e&&this.clearRepeat()}),Fa),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||ce(this.$refs.spinner)},blur:function(){this.disabled||nr(this.$refs.spinner)},emitChange:function(){this.$emit(er,this.localValue)},stepValue:function(e){var r=this.localValue;if(!this.disabled&&!Ne(r)){var n=this.computedStep*e,i=this.computedMin,a=this.computedMax,o=this.computedMultiplier,s=this.wrap;r=Sh((r-i)/n)*n+i+n,r=Sh(r*o)/o,this.localValue=r>a?s?i:a:r0&&arguments[0]!==void 0?arguments[0]:1,r=this.localValue;Ne(r)?this.localValue=this.computedMin:this.stepValue(1*e)},stepDown:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,r=this.localValue;Ne(r)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*e)},onKeydown:function(e){var r=e.keyCode,n=e.altKey,i=e.ctrlKey,a=e.metaKey;if(!(this.disabled||this.readonly||n||i||a)&&ie(Zw,r)){if(ue(e,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),ie([Zt,Lt],r)?(this.$_keyIsDown=!0,r===Zt?this.handleStepRepeat(e,this.stepUp):r===Lt&&this.handleStepRepeat(e,this.stepDown)):r===gc?this.stepUp(this.computedStepMultiplier):r===mc?this.stepDown(this.computedStepMultiplier):r===Oi?this.localValue=this.computedMin:r===wi&&(this.localValue=this.computedMax)}},onKeyup:function(e){var r=e.keyCode,n=e.altKey,i=e.ctrlKey,a=e.metaKey;this.disabled||this.readonly||n||i||a||ie(Zw,r)&&(ue(e,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(e,r){var n=this,i=e||{},a=i.type,o=i.button;if(!this.disabled&&!this.readonly){if(a==="mousedown"&&o)return;this.resetTimers(),r(1);var s=this.computedThreshold,u=this.computedStepMultiplier,c=this.computedDelay,d=this.computedInterval;this.$_autoDelayTimer=setTimeout(function(){var v=0;n.$_autoRepeatTimer=setInterval(function(){r(vt.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&i.indexOf(r)===n})},iO=function(e){return ge(e)?e:fa(e)&&e.target.value||""},ip=function(){return{all:[],valid:[],invalid:[],duplicate:[]}},y6=F(X(lr(lr(lr(lr(lr(lr({},$e),v6),Jr),Zr),Qr),{},{addButtonText:f(y,"Add"),addButtonVariant:f(y,"outline-secondary"),addOnChange:f(T,!1),duplicateTagText:f(y,"Duplicate tag(s)"),feedbackAriaLive:f(y,"assertive"),ignoreInputFocusSelector:f(At,g6),inputAttrs:f(at,{}),inputClass:f(re),inputId:f(y),inputType:f(y,"text",function(t){return ie(NC,t)}),invalidTagText:f(y,"Invalid tag(s)"),limit:f(Et),limitTagsText:f(y,"Tag limit reached"),noAddOnEnter:f(T,!1),noOuterFocus:f(T,!1),noTagRemove:f(T,!1),placeholder:f(y,"Add tag..."),removeOnDelete:f(T,!1),separator:f(At),tagClass:f(re),tagPills:f(T,!1),tagRemoveLabel:f(y,"Remove tag"),tagRemovedLabel:f(y,"Tag removed"),tagValidator:f(Ft),tagVariant:f(y,"secondary")})),TE),aO=N({name:TE,mixins:[Kn,Ae,h6,$a,qn,On,ae],props:y6,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:ip(),focusState:null}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return ie(NC,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var e=this.disabled,r=this.form;return lr(lr({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:e,form:r})},computedInputHandlers:function(){return lr(lr({},fe(this.bvListeners,[fc,dc])),{},{blur:this.onInputBlur,change:this.onInputChange,focus:this.onInputFocus,input:this.onInputInput,keydown:this.onInputKeydown,reset:this.reset})},computedSeparator:function(){return ye(this.separator).filter(ge).filter(ne).join("")},computedSeparatorRegExp:function(){var e=this.computedSeparator;return e?new RegExp("[".concat(b6(e),"]+")):null},computedJoiner:function(){var e=this.computedSeparator.charAt(0);return e!==" "?"".concat(e," "):e},computeIgnoreInputFocusSelector:function(){return ye(this.ignoreInputFocusSelector).filter(ne).join(",").trim()},disableAddButton:function(){var e=this,r=li(this.newTag);return r===""||!this.splitTags(r).some(function(n){return!ie(e.tags,n)&&e.validateTag(n)})},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var e=this.limit;return xr(e)&&e>=0&&this.tags.length>=e}},watch:(is={},Al(is,np,function(t){this.tags=nO(t)}),Al(is,"tags",function(e,r){Pe(e,this[np])||this.$emit(m6,e),Pe(e,r)||(e=ye(e).filter(ne),r=ye(r).filter(ne),this.removedTags=r.filter(function(n){return!ie(e,n)}))}),Al(is,"tagsState",function(e,r){Pe(e,r)||this.$emit(SN,e.valid,e.invalid,e.duplicate)}),is),created:function(){this.tags=nO(this[np])},mounted:function(){var e=Jt("form",this.$el);e&&je(e,"reset",this.reset,qt)},beforeDestroy:function(){var e=Jt("form",this.$el);e&&xe(e,"reset",this.reset,qt)},methods:{addTag:function(e){if(e=ge(e)?e:this.newTag,!(this.disabled||li(e)===""||this.isLimitReached)){var r=this.parseTags(e);if(r.valid.length>0||r.all.length===0)if(Fn(this.getInput(),"select"))this.newTag="";else{var n=[].concat(tO(r.invalid),tO(r.duplicate));this.newTag=r.all.filter(function(i){return ie(n,i)}).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}r.valid.length>0&&(this.tags=ye(this.tags,r.valid)),this.tagsState=r,this.focus()}},removeTag:function(e){this.disabled||(this.tags=this.tags.filter(function(r){return r!==e}))},reset:function(){var e=this;this.newTag="",this.tags=[],this.$nextTick(function(){e.removedTags=[],e.tagsState=ip()})},onInputInput:function(e){if(!(this.disabled||fa(e)&&e.target.composing)){var r=iO(e),n=this.computedSeparatorRegExp;this.newTag!==r&&(this.newTag=r),r=Pj(r),n&&n.test(r.slice(-1))?this.addTag():this.tagsState=r===""?ip():this.parseTags(r)}},onInputChange:function(e){if(!this.disabled&&this.addOnChange){var r=iO(e);this.newTag!==r&&(this.newTag=r),this.addTag()}},onInputKeydown:function(e){if(!(this.disabled||!fa(e))){var r=e.keyCode,n=e.target.value||"";!this.noAddOnEnter&&r===Wn?(ue(e,{propagation:!1}),this.addTag()):this.removeOnDelete&&(r===OB||r===i$)&&n===""&&(ue(e,{propagation:!1}),this.tags=this.tags.slice(0,-1))}},onClick:function(e){var r=this,n=this.computeIgnoreInputFocusSelector;(!n||!Jt(n,e.target,!0))&&this.$nextTick(function(){r.focus()})},onInputFocus:function(e){var r=this;this.focusState!=="out"&&(this.focusState="in",this.$nextTick(function(){Ee(function(){r.hasFocus&&(r.$emit(cN,e),r.focusState=null)})}))},onInputBlur:function(e){var r=this;this.focusState!=="in"&&(this.focusState="out",this.$nextTick(function(){Ee(function(){r.hasFocus||(r.$emit(w1,e),r.focusState=null)})}))},onFocusin:function(e){this.hasFocus=!0,this.$emit(fc,e)},onFocusout:function(e){this.hasFocus=!1,this.$emit(dc,e)},handleAutofocus:function(){var e=this;this.$nextTick(function(){Ee(function(){e.autofocus&&e.focus()})})},focus:function(){this.disabled||ce(this.getInput())},blur:function(){this.disabled||nr(this.getInput())},splitTags:function(e){e=te(e);var r=this.computedSeparatorRegExp;return(r?e.split(r):[e]).map(li).filter(ne)},parseTags:function(e){var r=this,n=this.splitTags(e),i={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach(function(a){ie(r.tags,a)||ie(i.valid,a)?ie(i.duplicate,a)||i.duplicate.push(a):r.validateTag(a)?i.valid.push(a):ie(i.invalid,a)||i.invalid.push(a)}),i},validateTag:function(e){var r=this.tagValidator;return gn(r)?r(e):!0},getInput:function(){return vr("#".concat(bC(this.computedInputId)),this.$el)},defaultRender:function(e){var r=e.addButtonText,n=e.addButtonVariant,i=e.addTag,a=e.disableAddButton,o=e.disabled,s=e.duplicateTagText,u=e.inputAttrs,c=e.inputClass,d=e.inputHandlers,v=e.inputType,m=e.invalidTagText,g=e.isDuplicate,b=e.isInvalid,w=e.isLimitReached,A=e.limitTagsText,P=e.noTagRemove,E=e.placeholder,_=e.removeTag,l=e.tagClass,p=e.tagPills,h=e.tagRemoveLabel,O=e.tagVariant,C=e.tags,k=this.$createElement,$=C.map(function(we){return we=te(we),k(qh,{class:l,props:{disabled:o,noRemove:P,pill:p,removeLabel:h,tag:"li",title:we,variant:O},on:{remove:function(){return _(we)}},key:"tags_".concat(we)},we)}),I=m&&b?this.safeId("__invalid_feedback__"):null,D=s&&g?this.safeId("__duplicate_feedback__"):null,M=A&&w?this.safeId("__limit_feedback__"):null,R=[u["aria-describedby"],I,D,M].filter(ne).join(" "),j=k("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:c,style:{outline:0,minWidth:"5rem"},attrs:lr(lr({},u),{},{"aria-describedby":R||null,type:v,placeholder:E||null}),domProps:{value:u.value},on:d,directives:[{name:"model",value:u.value}],ref:"input"}),S=k(Qt,{staticClass:"b-form-tags-button py-0",class:{invisible:a},style:{fontSize:"90%"},props:{disabled:a||w,variant:n},on:{click:function(){return i()}},ref:"button"},[this.normalizeSlot(RN)||r]),B=this.safeId("__tag_list__"),x=k("li",{staticClass:"b-form-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":B},key:"tags_field"},[k("div",{staticClass:"d-flex",attrs:{role:"group"}},[j,S])]),H=k("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:B},key:"tags_list"},[$,x]),U=k();if(m||s||A){var z=this.feedbackAriaLive,ee=this.computedJoiner,de=k();I&&(de=k(Dc,{props:{id:I,ariaLive:z,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(ee)]));var De=k();D&&(De=k(Ac,{props:{id:D,ariaLive:z},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(ee)]));var be=k();M&&(be=k(Ac,{props:{id:M,ariaLive:z},key:"tags_limit_feedback"},[A])),U=k("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[de,De,be])}return[H,U]}},render:function(e){var r=this.name,n=this.disabled,i=this.required,a=this.form,o=this.tags,s=this.computedInputId,u=this.hasFocus,c=this.noOuterFocus,d=lr({tags:o.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:s,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},qr(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),v=this.normalizeSlot(st,d)||this.defaultRender(d),m=e("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:s,"aria-live":u?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),g=e("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":u?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),b=e();if(r&&!n){var w=o.length>0;b=(w?o:[""]).map(function(A){return e("input",{class:{"sr-only":!w},attrs:{type:w?"hidden":"text",value:A,required:i,name:r,form:a},key:"tag_input_".concat(A)})})}return e("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:u&&!c&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||c?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[m,g,v,b])}}),_6=J({components:{BFormTags:aO,BTags:aO,BFormTag:qh,BTag:qh}});function oO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ei(t){for(var e=1;em?u:"".concat(m,"px")}},render:function(e){return e("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),P6=J({components:{BFormTextarea:sO,BTextarea:sO}}),ji;function uO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Es(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r1&&arguments[1]!==void 0?arguments[1]:!1;if(Ne(r)||Ne(n)||a&&Ne(i))return"";var o=[r,n,a?i:0];return o.map(M6).join(":")},jC=F(X(Es(Es(Es(Es({},$e),D6),qr(RC,["labelIncrement","labelDecrement"])),{},{ariaLabelledby:f(y),disabled:f(T,!1),footerTag:f(y,"footer"),headerTag:f(y,"header"),hidden:f(T,!1),hideHeader:f(T,!1),hour12:f(T,null),labelAm:f(y,"AM"),labelAmpm:f(y,"AM/PM"),labelHours:f(y,"Hours"),labelMinutes:f(y,"Minutes"),labelNoTimeSelected:f(y,"No time selected"),labelPm:f(y,"PM"),labelSeconds:f(y,"Seconds"),labelSelected:f(y,"Selected time"),locale:f(At),minutesStep:f(q,1),readonly:f(T,!1),secondsStep:f(q,1),showSeconds:f(T,!1)})),b1),BC=N({name:b1,mixins:[Ae,A6,ae],props:jC,data:function(){var e=Xu(this[cO]||"");return{modelHours:e.hours,modelMinutes:e.minutes,modelSeconds:e.seconds,modelAmpm:e.ampm,isLive:!1}},computed:{computedHMS:function(){var e=this.modelHours,r=this.modelMinutes,n=this.modelSeconds;return I6({hours:e,minutes:r,seconds:n},this.showSeconds)},resolvedOptions:function(){var e=ye(this.locale).filter(ne),r={hour:xa,minute:xa,second:xa};Te(this.hour12)||(r.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(e,r),i=n.resolvedOptions(),a=i.hour12||!1,o=i.hourCycle||(a?"h12":"h23");return{locale:i.locale,hour12:a,hourCycle:o}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return Tf(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(ne).join(" ")||null},timeFormatter:function(){var e={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:xa,minute:xa,timeZone:"UTC"};return this.showSeconds&&(e.second=xa),_s(this.computedLocale,e)},numberFormatter:function(){var e=new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return e.format},formattedTimeString:function(){var e=this.modelHours,r=this.modelMinutes,n=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(pt(Date.UTC(0,0,1,e,r,n))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var e=this.$createElement;return{increment:function(n){var i=n.hasFocus;return e(Uy,{props:{scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(n){var i=n.hasFocus;return e(Uy,{props:{flipV:!0,scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(ji={},zi(ji,cO,function(t,e){if(t!==e&&!Pe(Xu(t),Xu(this.computedHMS))){var r=Xu(t),n=r.hours,i=r.minutes,a=r.seconds,o=r.ampm;this.modelHours=n,this.modelMinutes=i,this.modelSeconds=a,this.modelAmpm=o}}),zi(ji,"computedHMS",function(e,r){e!==r&&this.$emit(k6,e)}),zi(ji,"context",function(e,r){Pe(e,r)||this.$emit(bo,e)}),zi(ji,"modelAmpm",function(e,r){var n=this;if(e!==r){var i=Ne(this.modelHours)?0:this.modelHours;this.$nextTick(function(){e===0&&i>11?n.modelHours=i-12:e===1&&i<12&&(n.modelHours=i+12)})}}),zi(ji,"modelHours",function(e,r){e!==r&&(this.modelAmpm=e>11?1:0)}),ji),created:function(){var e=this;this.$nextTick(function(){e.$emit(bo,e.context)})},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||ce(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var e=_i();rt(this.$el,e)&&nr(e)}},formatHours:function(e){var r=this.computedHourCycle;return e=this.is12Hour&&e>12?e-12:e,e=e===0&&r==="h12"?12:e===0&&r==="h24"?24:e===12&&r==="h11"?0:e,this.numberFormatter(e)},formatMinutes:function(e){return this.numberFormatter(e)},formatSeconds:function(e){return this.numberFormatter(e)},formatAmpm:function(e){return e===0?this.labelAm:e===1?this.labelPm:""},setHours:function(e){this.modelHours=e},setMinutes:function(e){this.modelMinutes=e},setSeconds:function(e){this.modelSeconds=e},setAmpm:function(e){this.modelAmpm=e},onSpinLeftRight:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.type,n=e.keyCode;if(!this.disabled&&r==="keydown"&&(n===zr||n===Un)){ue(e);var i=this.$refs.spinners||[],a=i.map(function(o){return!!o.hasFocus}).indexOf(!0);a=a+(n===zr?-1:1),a=a>=i.length?0:a<0?i.length-1:a,ce(i[a])}},setLive:function(e){var r=this;e?this.$nextTick(function(){Ee(function(){r.isLive=!0})}):this.isLive=!1}},render:function(e){var r=this;if(this.hidden)return e();var n=this.disabled,i=this.readonly,a=this.computedLocale,o=this.computedAriaLabelledby,s=this.labelIncrement,u=this.labelDecrement,c=this.valueId,d=this.focus,v=[],m=function(l,p,h){var O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},C=r.safeId("_spinbutton_".concat(p,"_"))||null;return v.push(C),e(Kh,zi({class:h,props:Es({id:C,placeholder:"--",vertical:!0,required:!0,disabled:n,readonly:i,locale:a,labelIncrement:s,labelDecrement:u,wrap:!0,ariaControls:c,min:0},O),scopedSlots:r.spinScopedSlots,on:{change:l},key:p,ref:"spinners"},hm,!0))},g=function(){return e("div",{staticClass:"d-flex flex-column",class:{"text-muted":n||i},attrs:{"aria-hidden":"true"}},[e(Th,{props:{shiftV:4,scale:.5}}),e(Th,{props:{shiftV:-4,scale:.5}})])},b=[];b.push(m(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),b.push(g()),b.push(m(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(b.push(g()),b.push(m(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.isLive&&this.is12Hour&&b.push(m(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),b=e("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:n||i?null:"-1","aria-labelledby":o},on:{keydown:this.onSpinLeftRight,click:function(l){l.target===l.currentTarget&&d()}}},b);var w=e("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:n||i},attrs:{id:c,role:"status",for:v.filter(ne).join(" ")||null,tabindex:n?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:d,focus:d}},[e("bdi",this.formattedTimeString),this.computedHMS?e("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),A=e(this.headerTag,{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[w]),P=this.normalizeSlot(),E=P?e(this.footerTag,{staticClass:"b-time-footer"},P):e();return e("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":o||null,"aria-disabled":n?"true":null,"aria-readonly":i&&!n?"true":null}},[A,b,E])}}),Ju;function fO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Mn(t){for(var e=1;e0&&s.push(e("span"," "));var c=this.labelResetButton;s.push(e(Qt,{props:{size:"sm",disabled:n||i,variant:this.resetButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onResetButton},key:"reset-btn"},c))}if(!this.noCloseButton){s.length>0&&s.push(e("span"," "));var d=this.labelCloseButton;s.push(e(Qt,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":d||null},on:{click:this.onCloseButton},key:"close-btn"},d))}s.length>0&&(s=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":s.length>1,"justify-content-end":s.length<2}},s)]);var v=e(BC,{staticClass:"b-form-time-control",props:Mn(Mn({},Be(LC,a)),{},{value:r,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},s);return e(hC,{staticClass:"b-form-timepicker",props:Mn(Mn({},Be(FC,a)),{},{id:this.safeId(),value:r,formattedValue:r?this.formattedValue:"",placeholder:o,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Dl({},Vn,this.$scopedSlots[Vn]||this.defaultButtonFn),ref:"control"},[v])}}),L6=J({components:{BFormTimepicker:pO,BTimepicker:pO}}),F6=J({components:{BImg:Rm,BImgLazy:M$}}),x6=F({tag:f(y,"div")},BE),Rc=N({name:BE,functional:!0,props:x6,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,Z(i,{staticClass:"input-group-text"}),a)}}),Zm=F({append:f(T,!1),id:f(y),isText:f(T,!1),tag:f(y,"div")},RE),Qm=N({name:RE,functional:!0,props:Zm,render:function(e,r){var n=r.props,i=r.data,a=r.children,o=n.append;return e(n.tag,Z(i,{class:{"input-group-append":o,"input-group-prepend":!o},attrs:{id:n.id}}),n.isText?[e(Rc,a)]:a)}});function hO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vO(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:null;return e&&e.$options._scopeId||r};function wH(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var eg=N({mixins:[Ci],computed:{scopedStyleAttrs:function(){var e=To(this.bvParent);return e?wH({},e,""):{}}}});function OO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function PO(t){for(var e=1;e2&&arguments[2]!==void 0?arguments[2]:{},i=e.$root?e.$root.$options.bvEventRoot||e.$root:null;return new r(PO(PO({},n),{},{parent:e,bvParent:e,bvEventRoot:i}))},PH=N({abstract:!0,name:iN,props:{nodes:f(j1)},data:function(e){return{updatedNodes:e.nodes}},destroyed:function(){Cj(this.$el)},render:function(e){var r=this.updatedNodes,n=Q(r)?r({}):r;return n=ye(n).filter(ne),n&&n.length>0&&!n[0].text?n[0]:e()}}),WC={container:f([ui,y],"body"),disabled:f(T,!1),tag:f(y,"div")},SH=N({name:_1,mixins:[ae],props:WC,watch:{disabled:{immediate:!0,handler:function(e){e?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(Ce){var e=this.container;return ge(e)?vr(e):e}else return null},mountTarget:function(){if(!this.$_target){var e=this.getContainer();if(e){var r=document.createElement("div");e.appendChild(r),this.$_target=Ai(this,PH,{el:r,propsData:{nodes:ye(this.normalizeSlot())}})}}},updateTarget:function(){if(Ce&&this.$_target){var e=this.$scopedSlots.default;this.disabled||(e&&this.$_defaultFn!==e?this.$_target.updatedNodes=e:e||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=e}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(e){if(this.disabled){var r=ye(this.normalizeSlot()).filter(ne);if(r.length>0&&!r[0].text)return r[0]}return e()}}),TH=N({name:_1,mixins:[ae],props:WC,render:function(e){if(this.disabled){var r=ye(this.normalizeSlot()).filter(ne);if(r.length>0)return r[0]}return e(pe.Teleport,{to:this.container},this.normalizeSlot())}}),EH=xt?TH:SH;function Xh(t){"@babel/helpers - typeof";return Xh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xh(t)}function SO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function TO(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Eo(t){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(t)}var NH=function(t){kH(r,t);var e=MH(r);function r(n){var i,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return CH(this,r),i=e.call(this,n,a),mf(KC(i),{trigger:Cr()}),i}return AH(r,null,[{key:"Defaults",get:function(){return TO(TO({},Ml(Eo(r),"Defaults",this)),{},{trigger:null})}}]),r}(Ea),$O=1040,jH=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",BH=".sticky-top",LH=".navbar-toggler",FH=N({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(e,r){Ce&&(this.getScrollbarWidth(),e>0&&r===0?(this.checkScrollbar(),this.setScrollbar(),Rt(document.body,"modal-open")):e===0&&r>0&&(this.resetScrollbar(),Tt(document.body,"modal-open")),Le(document.body,"data-modal-open-count",String(e)))},modals:function(e){var r=this;this.checkScrollbar(),Ee(function(){r.updateModals(e||[])})}},methods:{registerModal:function(e){e&&this.modals.indexOf(e)===-1&&this.modals.push(e)},unregisterModal:function(e){var r=this.modals.indexOf(e);r>-1&&(this.modals.splice(r,1),!e._isBeingDestroyed&&!e._isDestroyed&&this.resetModal(e))},getBaseZIndex:function(){if(Ce&&Ne(this.baseZIndex)){var e=document.createElement("div");Rt(e,"modal-backdrop"),Rt(e,"d-none"),Ot(e,"display","none"),document.body.appendChild(e),this.baseZIndex=G(dr(e).zIndex,$O),document.body.removeChild(e)}return this.baseZIndex||$O},getScrollbarWidth:function(){if(Ce&&Ne(this.scrollbarWidth)){var e=document.createElement("div");Rt(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=ga(e).width-e.clientWidth,document.body.removeChild(e)}return this.scrollbarWidth||0},updateModals:function(e){var r=this,n=this.getBaseZIndex(),i=this.getScrollbarWidth();e.forEach(function(a,o){a.zIndex=n+o,a.scrollbarWidth=i,a.isTop=o===r.modals.length-1,a.isBodyOverflowing=r.isBodyOverflowing})},resetModal:function(e){e&&(e.zIndex=this.getBaseZIndex(),e.isTop=!0,e.isBodyOverflowing=!1)},checkScrollbar:function(){var e=ga(document.body),r=e.left,n=e.right;this.isBodyOverflowing=r+n0&&arguments[0]!==void 0?arguments[0]:!1;this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=tu(this.$refs.content,this.checkModalOverflow.bind(this),qH))},updateModel:function(e){e!==this[op]&&this.$emit(VH,e)},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new NH(e,ri(ri({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},r),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!(this.isVisible||this.isOpening)){if(this.isClosing){this.$once(Ze,this.show);return}this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var e=this.buildEvent(mt,{cancelable:!0});if(this.emitEvent(e),e.defaultPrevented||this.isVisible){this.isOpening=!1,this.updateModel(!1);return}this.doShow()}},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(!(!this.isVisible||this.isClosing)){this.isClosing=!0;var r=this.buildEvent(Xt,{cancelable:e!==GH,trigger:e||null});if(e===Nl?this.$emit(dN,r):e===Il?this.$emit(oN,r):e===Rl&&this.$emit(vh,r),this.emitEvent(r),r.defaultPrevented||!this.isVisible){this.isClosing=!1,this.updateModel(!0);return}this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(e){e&&(this.$_returnFocus=e),this.isVisible?this.hide(WH):this.show()},getActiveElement:function(){var e=_i(Ce?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;if(Ha.modalsAreOpen&&this.noStacking){this.listenOnRootOnce(Ge(Gt,Ze),this.doShow);return}Ha.registerModal(this),this.isHidden=!1,this.$nextTick(function(){e.isVisible=!0,e.isOpening=!1,e.updateModel(!0),e.$nextTick(function(){e.setObserver(!0)})})},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var e=this;this.isBlock=!0,Ee(function(){Ee(function(){e.isShow=!0})})},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,Ee(function(){e.emitEvent(e.buildEvent(jt)),e.setEnforceFocus(!0),e.$nextTick(function(){e.focusFirst()})})},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var e=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick(function(){e.isClosing=!1,Ha.unregisterModal(e),e.returnFocusTo(),e.emitEvent(e.buildEvent(Ze))})},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ge(Gt,r),e,e.componentId),this.$emit(r,e)},onDialogMousedown:function(){var e=this,r=this.$refs.modal,n=function i(a){xe(r,"mouseup",i,me),a.target===r&&(e.ignoreBackdropClick=!0)};je(r,"mouseup",n,me)},onClickOut:function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}!this.isVisible||this.noCloseOnBackdrop||!rt(document.body,e.target)||rt(this.$refs.content,e.target)||this.hide(zH)},onOk:function(){this.hide(Nl)},onCancel:function(){this.hide(Il)},onClose:function(){this.hide(Rl)},onEsc:function(e){e.keyCode===Cm&&this.isVisible&&!this.noCloseOnEsc&&this.hide(UH)},focusHandler:function(e){var r=this.$refs.content,n=e.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!r||document===n||rt(r,n)||this.computeIgnoreEnforceFocusSelector&&Jt(this.computeIgnoreEnforceFocusSelector,n,!0))){var i=Oh(this.$refs.content),a=this.$refs["bottom-trap"],o=this.$refs["top-trap"];if(a&&n===a){if(ce(i[0]))return}else if(o&&n===o&&ce(i[i.length-1]))return;ce(r,{preventScroll:!0})}},setEnforceFocus:function(e){this.listenDocument(e,"focusin",this.focusHandler)},setResizeEvent:function(e){this.listenWindow(e,"resize",this.checkModalOverflow),this.listenWindow(e,"orientationchange",this.checkModalOverflow)},showHandler:function(e,r){e===this.modalId&&(this.$_returnFocus=r||this.getActiveElement(),this.show())},hideHandler:function(e){e===this.modalId&&this.hide("event")},toggleHandler:function(e,r){e===this.modalId&&this.toggle(r)},modalListener:function(e){this.noStacking&&e.vueTarget!==this&&this.hide()},focusFirst:function(){var e=this;Ce&&Ee(function(){var r=e.$refs.modal,n=e.$refs.content,i=e.getActiveElement();if(r&&n&&!(i&&rt(n,i))){var a=e.$refs["ok-button"],o=e.$refs["cancel-button"],s=e.$refs["close-button"],u=e.autoFocusButton,c=u===Nl&&a?a.$el||a:u===Il&&o?o.$el||o:u===Rl&&s?s.$el||s:n;ce(c),c===n&&e.$nextTick(function(){r.scrollTop=0})}})},returnFocusTo:function(){var e=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick(function(){e=ge(e)?vr(e):e,e&&(e=e.$el||e,ce(e))})},checkModalOverflow:function(){if(this.isVisible){var e=this.$refs.modal;this.isModalOverflowing=e.scrollHeight>document.documentElement.clientHeight}},makeModal:function(e){var r=e();if(!this.hideHeader){var n=this.normalizeSlot(tj,this.slotScope);if(!n){var i=e();this.hideHeaderClose||(i=e(ba,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot(rj)])),n=[e(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot(Dd)?{}:He(this.titleHtml,this.title)},this.normalizeSlot(Dd,this.slotScope)),i]}r=e(this.headerTag,{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var a=e("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot(st,this.slotScope)),o=e();if(!this.hideFooter){var s=this.normalizeSlot(ej,this.slotScope);if(!s){var u=e();this.okOnly||(u=e(Qt,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(Oy)?{}:He(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot(Oy)));var c=e(Qt,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(Py)?{}:He(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot(Py));s=[u,c]}o=e(this.footerTag,{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[s])}var d=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[r,a,o]),v=e(),m=e();this.isVisible&&!this.noEnforceFocus&&(v=e("span",{attrs:{tabindex:"0"},ref:"top-trap"}),m=e("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var g=e("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[v,d,m]),b=e("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[g]);b=e("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}},[b]);var w=e();return!this.hideBackdrop&&this.isVisible&&(w=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot(QN))),w=e(Sa,{props:{noFade:this.noFade}},[w]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this[Ln])},[b,w])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(EH,[this.makeModal(e)])}}),YH=nt(Gt,mt),Nc="__bv_modal_directive__",XC=function(e){var r=e.modifiers,n=r===void 0?{}:r,i=e.arg,a=e.value;return ge(a)?a:ge(i)?i:oe(n).reverse()[0]},JC=function(e){return e&&Fn(e,".dropdown-menu > li, li.nav-item")&&vr("a, button",e)||e},ZC=function(e){e&&e.tagName!=="BUTTON"&&(pn(e,"role")||Le(e,"role","button"),e.tagName!=="A"&&!pn(e,"tabindex")&&Le(e,"tabindex","0"))},XH=function(e,r,n){var i=XC(r),a=JC(e);if(i&&a){var o=function(u){var c=u.currentTarget;if(!Ki(c)){var d=u.type,v=u.keyCode;(d==="click"||d==="keydown"&&(v===Wn||v===wn))&&bn(hn(n,r)).$emit(YH,i,c)}};e[Nc]={handler:o,target:i,trigger:a},ZC(a),je(a,"click",o,qt),a.tagName!=="BUTTON"&&mr(a,"role")==="button"&&je(a,"keydown",o,qt)}},QC=function(e){var r=e[Nc]||{},n=r.trigger,i=r.handler;n&&i&&(xe(n,"click",i,qt),xe(n,"keydown",i,qt),xe(e,"click",i,qt),xe(e,"keydown",i,qt)),delete e[Nc]},AO=function(e,r,n){var i=e[Nc]||{},a=XC(r),o=JC(e);(a!==i.target||o!==i.trigger)&&(QC(e),XH(e,r,n)),ZC(o)},JH=function(){},eA={inserted:AO,updated:JH,componentUpdated:AO,unbind:QC};function ZH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DO(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r2&&arguments[2]!==void 0?arguments[2]:sV;if(!(cc(Bi)||fy(Bi))){var d=Ai(s,r,{propsData:En(En(En({},MO(pr(Gt))),{},{hideHeaderClose:!0,hideHeader:!(u.title||u.titleHtml)},fe(u,oe(up))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return oe(up).forEach(function(v){Qe(u[v])||(d.$slots[up[v]]=ye(u[v]))}),new Promise(function(v,m){var g=!1;d.$once(Ys,function(){g||m(new Error("BootstrapVue MsgBox destroyed before resolve"))}),d.$on(Xt,function(w){if(!w.defaultPrevented){var A=c(w);w.defaultPrevented||(g=!0,v(A))}});var b=document.createElement("div");document.body.appendChild(b),d.$mount(b)})}},i=function(s,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(!(!u||fy(Bi)||cc(Bi)||!Q(d)))return n(s,En(En({},MO(c)),{},{msgBoxContent:u}),d)},a=function(){function o(s){ZH(this,o),fu(this,{_vm:s,_root:bn(s)}),mf(this,{_vm:Cr(),_root:Cr()})}return QH(o,[{key:"show",value:function(u){if(u&&this._root){for(var c,d=arguments.length,v=new Array(d>1?d-1:0),m=1;m1?d-1:0),m=1;m1&&arguments[1]!==void 0?arguments[1]:{},d=En(En({},c),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:u});return i(this._vm,u,d,function(){return!0})}},{key:"msgBoxConfirm",value:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=En(En({},c),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return i(this._vm,u,d,function(v){var m=v.trigger;return m==="ok"?!0:m==="cancel"?!1:null})}}]),o}();e.mixin({beforeCreate:function(){this[sp]=new a(this)}}),pa(e.prototype,Bi)||gm(e.prototype,Bi,{get:function(){return(!this||!this[sp])&&ut('"'.concat(Bi,'" must be accessed from a Vue instance "this" context.'),Gt),this[sp]}})},lV=J({plugins:{plugin:uV}}),cV=J({components:{BModal:YC},directives:{VBModal:eA},plugins:{BVModalPlugin:lV}});function IO(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fV=function(e){return e=e==="left"?"start":e==="right"?"end":e,"justify-content-".concat(e)},tg=F({align:f(y),cardHeader:f(T,!1),fill:f(T,!1),justified:f(T,!1),pills:f(T,!1),small:f(T,!1),tabs:f(T,!1),tag:f(y,"ul"),vertical:f(T,!1)},UE),tA=N({name:UE,functional:!0,props:tg,render:function(e,r){var n,i=r.props,a=r.data,o=r.children,s=i.tabs,u=i.pills,c=i.vertical,d=i.align,v=i.cardHeader;return e(i.tag,Z(a,{staticClass:"nav",class:(n={"nav-tabs":s,"nav-pills":u&&!s,"card-header-tabs":!c&&v&&s,"card-header-pills":!c&&v&&u&&!s,"flex-column":c,"nav-fill":!c&&i.fill,"nav-justified":!c&&i.justified},IO(n,fV(d),!c&&d),IO(n,"small",i.small),n)}),o)}});function RO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function NO(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0&&e<=1}),overlayTag:f(y,"div"),rounded:f(Dt,!1),show:f(T,!1),spinnerSmall:f(T,!1),spinnerType:f(y,"border"),spinnerVariant:f(y),variant:f(y,"light"),wrapTag:f(y,"div"),zIndex:f(q,10)},ZE),VV=N({name:ZE,mixins:[ae],props:HV,computed:{computedRounded:function(){var e=this.rounded;return e===!0||e===""?"rounded":e?"rounded-".concat(e):""},computedVariant:function(){var e=this.variant;return e&&!this.bgColor?"bg-".concat(e):""},slotScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(e){var r=e.spinnerType,n=e.spinnerVariant,i=e.spinnerSmall;return this.$createElement(aA,{props:{type:r,variant:n,small:i}})}},render:function(e){var r=this,n=this.show,i=this.fixed,a=this.noFade,o=this.noWrap,s=this.slotScope,u=e();if(n){var c=e("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:os(os({},fp),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),d=e("div",{staticClass:"position-absolute",style:this.noCenter?os({},fp):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot(fj,s)||this.defaultOverlayFn(s)]);u=e(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!o||o&&!i,"position-fixed":o&&i},style:os(os({},fp),{},{zIndex:this.zIndex||10}),on:{click:function(m){return r.$emit(Nr,m)}},key:"overlay"},[c,d])}return u=e(Sa,{props:{noFade:a,appear:!0},on:{"after-enter":function(){return r.$emit(jt)},"after-leave":function(){return r.$emit(Ze)}}},[u]),o?u:e(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},o?[u]:[this.normalizeSlot(),u])}}),zV=J({components:{BOverlay:VV}}),ss;function GO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function WO(t){for(var e=1;er?r:n<1?1:n},YO=function(e){if(e.keyCode===wn)return ue(e,{immediatePropagation:!0}),e.currentTarget.click(),!1},ng=F(X(WO(WO({},GV),{},{align:f(y,"left"),ariaLabel:f(y,"Pagination"),disabled:f(T,!1),ellipsisClass:f(re),ellipsisText:f(y,"…"),firstClass:f(re),firstNumber:f(T,!1),firstText:f(y,"«"),hideEllipsis:f(T,!1),hideGotoEndButtons:f(T,!1),labelFirstPage:f(y,"Go to first page"),labelLastPage:f(y,"Go to last page"),labelNextPage:f(y,"Go to next page"),labelPage:f(kN,"Go to page"),labelPrevPage:f(y,"Go to previous page"),lastClass:f(re),lastNumber:f(T,!1),lastText:f(y,"»"),limit:f(q,rg,function(t){return G(t,0)<1?(ut('Prop "limit" must be a number greater than "0"',gf),!1):!0}),nextClass:f(re),nextText:f(y,"›"),pageClass:f(re),pills:f(T,!1),prevClass:f(re),prevText:f(y,"‹"),size:f(y)})),"pagination"),oA=N({mixins:[UV,ae],props:ng,data:function(){var e=G(this[ev],0);return e=e>0?e:-1,{currentPage:e,localNumberOfPages:1,localLimit:rg}},computed:{btnSize:function(){var e=this.size;return e?"pagination-".concat(e):""},alignment:function(){var e=this.align;return e==="center"?"justify-content-center":e==="end"||e==="right"?"justify-content-end":e==="fill"?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return qO(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var e=this.localLimit,r=this.localNumberOfPages,n=this.computedCurrentPage,i=this.hideEllipsis,a=this.firstNumber,o=this.lastNumber,s=!1,u=!1,c=e,d=1;r<=e?c=r:nQu?((!i||o)&&(u=!0,c=e-(a?0:1)),c=Bn(c,e)):r-n+2Qu?((!i||a)&&(s=!0,c=e-(o?0:1)),d=r-c+1):(e>Qu&&(c=e-(i?0:2),s=!!(!i||a),u=!!(!i||o)),d=n-Qs(c/2)),d<1?(d=1,s=!1):d>r-c&&(d=r-c+1,u=!1),s&&a&&d<4&&(c=c+2,d=1,s=!1);var v=d+c-1;return u&&o&&v>r-3&&(c=c+(v===r-2?2:3),u=!1),e<=Qu&&(a&&d===1?c=Bn(c+1,r,e+1):o&&r===d+c-1&&(d=Oe(d-1,1),c=Bn(r-d+1,r,e+1))),c=Bn(c,r-d+1),{showFirstDots:s,showLastDots:u,numberOfLinks:c,startNumber:d}},pageList:function(){var e=this.paginationParams,r=e.numberOfLinks,n=e.startNumber,i=this.computedCurrentPage,a=KV(n,r);if(a.length>3){var o=i-n,s="bv-d-xs-down-none";if(o===0)for(var u=3;uo+1;v--)a[v].classes=s}}return a}},watch:(ss={},jl(ss,ev,function(t,e){t!==e&&(this.currentPage=qO(t,this.localNumberOfPages))}),jl(ss,"currentPage",function(e,r){e!==r&&this.$emit(WV,e>0?e:null)}),jl(ss,"limit",function(e,r){e!==r&&(this.localLimit=KO(e))}),ss),created:function(){var e=this;this.localLimit=KO(this.limit),this.$nextTick(function(){e.currentPage=e.currentPage>e.localNumberOfPages?e.localNumberOfPages:e.currentPage})},methods:{handleKeyNav:function(e){var r=e.keyCode,n=e.shiftKey;this.isNav||(r===zr||r===Zt?(ue(e,{propagation:!1}),n?this.focusFirst():this.focusPrev()):(r===Un||r===Lt)&&(ue(e,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return br("button.page-link, a.page-link",this.$el).filter(function(e){return Hr(e)})},focusCurrent:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().find(function(n){return G(mr(n,"aria-posinset"),0)===e.computedCurrentPage});ce(r)||e.focusFirst()})},focusFirst:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().find(function(n){return!Ki(n)});ce(r)})},focusLast:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().reverse().find(function(n){return!Ki(n)});ce(r)})},focusPrev:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(_i());n>0&&!Ki(r[n-1])&&ce(r[n-1])})},focusNext:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(_i());nu,B=k<1?1:k>u?u:k,x={disabled:S,page:B,index:B-1},H=r.normalizeSlot(I,x)||te(D)||e(),U=e(S?"span":s?tr:"button",{staticClass:"page-link",class:{"flex-grow-1":!s&&!S&&b},props:S||!s?{}:r.linkProps(k),attrs:{role:s?null:"menuitem",type:s||S?null:"button",tabindex:S||s?null:"-1","aria-label":$,"aria-controls":Xe(r).ariaControls||null,"aria-disabled":S?"true":null},on:S?{}:{"!click":function(ee){r.onClick(ee,k)},keydown:YO}},[H]);return e("li",{key:j,staticClass:"page-item",class:[{disabled:S,"flex-fill":b,"d-flex":b&&!s&&!S},M],attrs:{role:s?null:"presentation","aria-hidden":S?"true":null}},[U])},_=function(k){return e("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",b?"flex-fill":"",r.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(k?"last":"first")},[e("span",{staticClass:"page-link"},[r.normalizeSlot(xN)||te(r.ellipsisText)||e()])])},l=function(k,$){var I=k.number,D=A(I)&&!P,M=i?null:D||P&&$===0?"0":"-1",R={role:s?null:"menuitemradio",type:s||i?null:"button","aria-disabled":i?"true":null,"aria-controls":Xe(r).ariaControls||null,"aria-label":gn(a)?a(I):"".concat(Q(a)?a():a," ").concat(I),"aria-checked":s?null:D?"true":"false","aria-current":s&&D?"page":null,"aria-posinset":s?null:I,"aria-setsize":s?null:u,tabindex:s?null:M},j=te(r.makePage(I)),S={page:I,index:I-1,content:j,active:D,disabled:i},B=e(i?"span":s?tr:"button",{props:i||!s?{}:r.linkProps(I),staticClass:"page-link",class:{"flex-grow-1":!s&&!i&&b},attrs:R,on:i?{}:{"!click":function(H){r.onClick(H,I)},keydown:YO}},[r.normalizeSlot(dj,S)||j]);return e("li",{staticClass:"page-item",class:[{disabled:i,active:D,"flex-fill":b,"d-flex":b&&!s&&!i},k.classes,r.pageClass],attrs:{role:s?null:"presentation"},key:"page-".concat(I)},[B])},p=e();!this.firstNumber&&!this.hideGotoEndButtons&&(p=E(1,this.labelFirstPage,VN,this.firstText,this.firstClass,1,"pagination-goto-first")),w.push(p),w.push(E(c-1,this.labelPrevPage,hj,this.prevText,this.prevClass,1,"pagination-goto-prev")),w.push(this.firstNumber&&d[0]!==1?l({number:1},0):e()),w.push(m?_(!1):e()),this.pageList.forEach(function(C,k){var $=m&&r.firstNumber&&d[0]!==1?1:0;w.push(l(C,k+$))}),w.push(g?_(!0):e()),w.push(this.lastNumber&&d[d.length-1]!==u?l({number:u},-1):e()),w.push(E(c+1,this.labelNextPage,cj,this.nextText,this.nextClass,u,"pagination-goto-next"));var h=e();!this.lastNumber&&!this.hideGotoEndButtons&&(h=E(u,this.labelLastPage,JN,this.lastText,this.lastClass,u,"pagination-goto-last")),w.push(h);var O=e("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:s?null:"menubar","aria-disabled":i?"true":"false","aria-label":s?null:o||null},on:s?{}:{keydown:this.handleKeyNav},ref:"ul"},w);return s?e("nav",{attrs:{"aria-disabled":i?"true":null,"aria-hidden":i?"true":"false","aria-label":s&&o||null}},[O]):O}});function XO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function JO(t){for(var e=1;ee.numberOfPages&&(this.currentPage=1)),this.localNumberOfPages=e.numberOfPages}},created:function(){var e=this;this.localNumberOfPages=this.numberOfPages;var r=G(this[ev],0);r>0?this.currentPage=r:this.$nextTick(function(){e.currentPage=0})},methods:{onClick:function(e,r){var n=this;if(r!==this.currentPage){var i=e.target,a=new Ea(A1,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(this.currentPage=r,this.$emit(er,this.currentPage),this.$nextTick(function(){Hr(i)&&n.$el.contains(i)?ce(i):n.focusCurrent()}))}},makePage:function(e){return e},linkProps:function(){return{}}}}),JV=J({components:{BPagination:XV}});function e0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function dp(t){for(var e=1;e0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=QV(this.numberOfPages),this.$nextTick(function(){e.guessCurrentPage()})},onClick:function(e,r){var n=this;if(r!==this.currentPage){var i=e.currentTarget||e.target,a=new Ea(A1,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(Ee(function(){n.currentPage=r,n.$emit(er,r)}),this.$nextTick(function(){nr(i)}))}},getPageInfo:function(e){if(!Se(this.pages)||this.pages.length===0||Qe(this.pages[e-1])){var r="".concat(this.baseUrl).concat(e);return{link:this.useRouter?{path:r}:r,text:te(e)}}var n=this.pages[e-1];if(Je(n)){var i=n.link;return{link:Je(i)?i:this.useRouter?{path:i}:i,text:te(n.text||e)}}else return{link:te(n),text:te(e)}},makePage:function(e){var r=this.pageGen,n=this.getPageInfo(e);return gn(r)?r(e,n):n.text},makeLink:function(e){var r=this.linkGen,n=this.getPageInfo(e);return gn(r)?r(e,n):n.link},linkProps:function(e){var r=Be(lA,this),n=this.makeLink(e);return this.useRouter||Je(n)?r.to=n:r.href=n,r},resolveLink:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r;try{r=document.createElement("a"),r.href=t$({to:e},"a","/","/"),document.body.appendChild(r);var n=r,i=n.pathname,a=n.hash,o=n.search;return document.body.removeChild(r),{path:i,hash:a,query:jy(o)}}catch{try{r&&r.parentNode&&r.parentNode.removeChild(r)}catch{}return{}}},resolveRoute:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";try{var r=this.$router.resolve(e,this.$route).route;return{path:r.path,hash:r.hash,query:r.query}}catch{return{}}},guessCurrentPage:function(){var e=this.$router,r=this.$route,n=this.computedValue;if(!this.noPageDetect&&!n&&(Ce||!Ce&&e))for(var i=e&&r?{path:r.path,hash:r.hash,query:r.query}:{},a=Ce?window.location||document.location:null,o=a?{path:a.pathname,hash:a.hash,query:jy(a.search)}:{},s=1;!n&&s<=this.localNumberOfPages;s++){var u=this.makeLink(s);e&&(Je(u)||this.useRouter)?n=Pe(this.resolveRoute(u),i)?s:null:Ce?n=Pe(this.resolveLink(u),o)?s:null:n=-1}this.currentPage=n>0?n:0}}}),r4=J({components:{BPaginationNav:t4}}),n4={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},i4={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},a4={arrowPadding:f(q,6),boundary:f([ui,y],"scrollParent"),boundaryPadding:f(q,5),fallbackPlacement:f(At,"flip"),offset:f(q,0),placement:f(y,"top"),target:f([ui,OT])},o4=N({name:ZR,mixins:[Ci],props:a4,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var e=this,r=this.placement;return{placement:this.getAttachment(r),modifiers:{offset:{offset:this.getOffset(r)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(i){i.originalPlacement!==i.placement&&e.popperPlacementChange(i)},onUpdate:function(i){e.popperPlacementChange(i)}}}},created:function(){var e=this;this.$_popper=null,this.localShow=!0,this.$on(mt,function(n){e.popperCreate(n)});var r=function(){e.$nextTick(function(){Ee(function(){e.$destroy()})})};this.bvParent.$once(Ys,r),this.$once(Ze,r)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var e=this.$el;e&&e.parentNode&&e.parentNode.removeChild(e)},methods:{hide:function(){this.localShow=!1},getAttachment:function(e){return n4[String(e).toUpperCase()]||"auto"},getOffset:function(e){if(!this.offset){var r=this.$refs.arrow||vr(".arrow",this.$el),n=he(dr(r).width,0)+he(this.arrowPadding,0);switch(i4[String(e).toUpperCase()]||0){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.offset},popperCreate:function(e){this.destroyPopper(),this.$_popper=new xh(this.target,e,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(e){this.attachment=this.getAttachment(e.placement)},renderTemplate:function(e){return e("div")}},render:function(e){var r=this,n=this.noFade;return e(Sa,{props:{appear:!0,noFade:n},on:{beforeEnter:function(a){return r.$emit(mt,a)},afterEnter:function(a){return r.$emit(jt,a)},beforeLeave:function(a){return r.$emit(Xt,a)},afterLeave:function(a){return r.$emit(Ze,a)}}},[this.localShow?this.renderTemplate(e):e()])}});function t0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function r0(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:{},n=!1;oe(i0).forEach(function(i){!Qe(r[i])&&e[i]!==r[i]&&(e[i]=r[i],i==="title"&&(n=!0))}),n&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var e=this.getContainer(),r=this.getTemplate(),n=this.$_tip=Ai(this,r,{propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:G(this.offset,0),arrowPadding:G(this.arrowPadding,0),boundaryPadding:G(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once(mt,this.onTemplateShow),n.$once(jt,this.onTemplateShown),n.$once(Xt,this.onTemplateHide),n.$once(Ze,this.onTemplateHidden),n.$once(Ys,this.destroyTemplate),n.$on(fc,this.handleEvent),n.$on(dc,this.handleEvent),n.$on(E1,this.handleEvent),n.$on($1,this.handleEvent),n.$mount(e.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch{}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var e=this,r=this.$_tip;if(r){var n=["title","content","variant","customClass","noFade","interactive"];n.forEach(function(i){r[i]!==e[i]&&(r[i]=e[i])})}},show:function(){var e=this.getTarget();if(!(!e||!rt(document.body,e)||!Hr(e)||this.dropdownOpen()||(Te(this.title)||this.title==="")&&(Te(this.content)||this.content===""))&&!(this.$_tip||this.localShow)){this.localShow=!0;var r=this.buildEvent(mt,{cancelable:!0});if(this.emitEvent(r),r.defaultPrevented){this.destroyTemplate();return}this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow()}},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.getTemplateElement();if(!r||!this.localShow){this.restoreTitle();return}var n=this.buildEvent(Xt,{cancelable:!e});this.emitEvent(n),!n.defaultPrevented&&this.hideTemplate()},forceHide:function(){var e=this.getTemplateElement();!e||!this.localShow||(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent(gl))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent(ml))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var e=this.$_hoverState;this.$_hoverState="",e==="out"&&this.leave(null),this.emitEvent(this.buildEvent(jt))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent(Ze))},getTarget:function(){var e=this.target;return ge(e)?e=_h(e.replace(/^#/,"")):Q(e)?e=e():e&&(e=e.$el||e),Me(e)?e:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var e=this.getTarget();return e&&e.id?e.id:null},getContainer:function(){var e=this.container?this.container.$el||this.container:!1,r=document.body,n=this.getTarget();return e===!1?Jt(f4,n)||r:ge(e)&&_h(e.replace(/^#/,""))||r},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var e=this.getTarget();return e&&Jt(fA,e)},isDropdown:function(){var e=this.getTarget();return e&&Js(e,d4)},dropdownOpen:function(){var e=this.getTarget();return this.isDropdown()&&e&&vr(p4,e)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var e in this.activeTrigger)this.activeTrigger[e]=!1},addAriaDescribedby:function(){var e=this.getTarget(),r=mr(e,"aria-describedby")||"";r=r.split(/\s+/).concat(this.computedId).join(" ").trim(),Le(e,"aria-describedby",r)},removeAriaDescribedby:function(){var e=this,r=this.getTarget(),n=mr(r,"aria-describedby")||"";n=n.split(/\s+/).filter(function(i){return i!==e.computedId}).join(" ").trim(),n?Le(r,"aria-describedby",n):dn(r,"aria-describedby")},fixTitle:function(){var e=this.getTarget();if(pn(e,"title")){var r=mr(e,"title");Le(e,"title",""),r&&Le(e,el,r)}},restoreTitle:function(){var e=this.getTarget();if(pn(e,el)){var r=mr(e,el);dn(e,el),r&&Le(e,"title",r)}},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Ea(e,pp({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},r))},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ge(this.templateType,r),e),this.$emit(r,e)},listen:function(){var e=this,r=this.getTarget();r&&(this.setRootListener(!0),this.computedTriggers.forEach(function(n){n==="click"?je(r,"click",e.handleEvent,me):n==="focus"?(je(r,"focusin",e.handleEvent,me),je(r,"focusout",e.handleEvent,me)):n==="blur"?je(r,"focusout",e.handleEvent,me):n==="hover"&&(je(r,"mouseenter",e.handleEvent,me),je(r,"mouseleave",e.handleEvent,me))},this))},unListen:function(){var e=this,r=["click","focusin","focusout","mouseenter","mouseleave"],n=this.getTarget();this.setRootListener(!1),r.forEach(function(i){n&&xe(n,i,e.handleEvent,me)},this)},setRootListener:function(e){var r=e?"listenOnRoot":"listenOffRoot",n=this.templateType;this[r](nt(n,Xt),this.doHide),this[r](nt(n,mt),this.doShow),this[r](nt(n,mh),this.doDisable),this[r](nt(n,gh),this.doEnable)},setWhileOpenListeners:function(e){this.setModalListener(e),this.setDropdownListener(e),this.visibleCheck(e),this.setOnTouchStartListener(e)},visibleCheck:function(e){var r=this;this.clearVisibilityInterval();var n=this.getTarget();e&&(this.$_visibleInterval=setInterval(function(){var i=r.getTemplateElement();i&&r.localShow&&(!n.parentNode||!Hr(n))&&r.forceHide()},100))},setModalListener:function(e){this.isInModal()&&this[e?"listenOnRoot":"listenOffRoot"](l4,this.forceHide)},setOnTouchStartListener:function(e){var r=this;"ontouchstart"in document.documentElement&&ma(document.body.children).forEach(function(n){Vr(e,n,"mouseover",r.$_noop)})},setDropdownListener:function(e){var r=this.getTarget();if(!(!r||!this.bvEventRoot||!this.isDropdown)){var n=yF(r);n&&n[e?"$on":"$off"](jt,this.forceHide)}},handleEvent:function(e){var r=this.getTarget();if(!(!r||Ki(r)||!this.$_enabled||this.dropdownOpen())){var n=e.type,i=this.computedTriggers;if(n==="click"&&ie(i,"click"))this.click(e);else if(n==="mouseenter"&&ie(i,"hover"))this.enter(e);else if(n==="focusin"&&ie(i,"focus"))this.enter(e);else if(n==="focusout"&&(ie(i,"focus")||ie(i,"blur"))||n==="mouseleave"&&ie(i,"hover")){var a=this.getTemplateElement(),o=e.target,s=e.relatedTarget;if(a&&rt(a,o)&&rt(r,s)||a&&rt(r,o)&&rt(a,s)||a&&rt(a,o)&&rt(a,s)||rt(r,o)&&rt(r,s))return;this.leave(e)}}},doHide:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.forceHide()},doShow:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.show()},doDisable:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.disable()},doEnable:function(e){(!e||this.getTargetId()===e||this.computedId===e)&&this.enable()},click:function(e){!this.$_enabled||this.dropdownOpen()||(ce(e.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){!this.$_enabled||this.dropdownOpen()||(this.localShow?this.leave(null):this.enter(null))},enter:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(r&&(this.activeTrigger[r.type==="focusin"?"focus":"hover"]=!0),this.localShow||this.$_hoverState==="in"){this.$_hoverState="in";return}this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout(function(){e.$_hoverState==="in"?e.show():e.localShow||e.restoreTitle()},this.computedDelay.show)):this.show()},leave:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;r&&(this.activeTrigger[r.type==="focusout"?"focus":"hover"]=!1,r.type==="focusout"&&ie(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),!this.isWithActiveTrigger&&(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout(function(){e.$_hoverState==="out"&&e.hide()},this.computedDelay.hide):this.hide())}}}),Ht,Li;function a0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function h4(t){for(var e=1;e0&&e[Er].updateData(c)})}var o={title:i.title,content:i.content,triggers:i.trigger,placement:i.placement,fallbackPlacement:i.fallbackPlacement,variant:i.variant,customClass:i.customClass,container:i.container,boundary:i.boundary,delay:i.delay,offset:i.offset,noFade:!i.animation,id:i.id,disabled:i.disabled,html:i.html},s=e[Er].__bv_prev_data__;if(e[Er].__bv_prev_data__=o,!Pe(o,s)){var u={target:e};oe(o).forEach(function(c){o[c]!==s[c]&&(u[c]=(c==="title"||c==="content")&&Q(o[c])?o[c](e):o[c])}),e[Er].updateData(u)}}},I4=function(e){e[Er]&&(e[Er].$destroy(),e[Er]=null),delete e[Er]},R4={bind:function(e,r,n){d0(e,r,n)},componentUpdated:function(e,r,n){vm(function(){d0(e,r,n)})},unbind:function(e){I4(e)}},vA=J({directives:{VBPopover:R4}}),N4=J({components:{BPopover:y4},plugins:{VBPopoverPlugin:vA}}),mA=F({animated:f(T,null),label:f(y),labelHtml:f(y),max:f(q,null),precision:f(q,null),showProgress:f(T,null),showValue:f(T,null),striped:f(T,null),value:f(q,0),variant:f(y)},e1),gA=N({name:e1,mixins:[ae],inject:{getBvProgress:{default:function(){return function(){return{}}}}},props:mA,computed:{bvProgress:function(){return this.getBvProgress()},progressBarClasses:function(){var e=this.computedAnimated,r=this.computedVariant;return[r?"bg-".concat(r):"",this.computedStriped||e?"progress-bar-striped":"",e?"progress-bar-animated":""]},progressBarStyles:function(){return{width:100*(this.computedValue/this.computedMax)+"%"}},computedValue:function(){return he(this.value,0)},computedMax:function(){var e=he(this.max)||he(this.bvProgress.max,0);return e>0?e:100},computedPrecision:function(){return Oe(G(this.precision,G(this.bvProgress.precision,0)),0)},computedProgress:function(){var e=this.computedPrecision,r=J1(10,e);return kd(100*r*this.computedValue/this.computedMax/r,e)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return Dr(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return Dr(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return Dr(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return Dr(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(e){var r=this.label,n=this.labelHtml,i=this.computedValue,a=this.computedPrecision,o,s={};return this.hasNormalizedSlot()?o=this.normalizeSlot():r||n?s=He(n,r):this.computedShowProgress?o=this.computedProgress:this.computedShowValue&&(o=kd(i,a)),e("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":te(this.computedMax),"aria-valuenow":kd(i,a)},domProps:s},o)}});function p0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function h0(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!this.noCloseOnRouteChange&&e.fullPath!==r.fullPath&&this.hide()}),us),created:function(){this.$_returnFocusEl=null},mounted:function(){var e=this;this.listenOnRoot(H4,this.handleToggle),this.listenOnRoot(x4,this.handleSync),this.$nextTick(function(){e.emitState(e.localShow)})},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.localShow;this.emitOnRoot(V4,this.safeId(),e)},emitSync:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.localShow;this.emitOnRoot(z4,this.safeId(),e)},handleToggle:function(e){e&&e===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(e){var r=this;e&&e===this.safeId()&&this.$nextTick(function(){r.emitSync(r.localShow)})},onKeydown:function(e){var r=e.keyCode;!this.noCloseOnEsc&&r===Cm&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var e=Oh(this.$refs.content);this.enforceFocus(e.reverse()[0])},onBottomTrapFocus:function(){var e=Oh(this.$refs.content);this.enforceFocus(e[0])},onBeforeEnter:function(){this.$_returnFocusEl=_i(Ce?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(e){rt(e,_i())||this.enforceFocus(e),this.$emit(jt)},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit(Ze)},enforceFocus:function(e){this.noEnforceFocus||ce(e)}},render:function(e){var r,n=this.bgVariant,i=this.width,a=this.textVariant,o=this.localShow,s=this.shadow===""?!0:this.shadow,u=e(this.tag,{staticClass:nu,class:[(r={shadow:s===!0},An(r,"shadow-".concat(s),s&&s!==!0),An(r,"".concat(nu,"-right"),this.right),An(r,"bg-".concat(n),n),An(r,"text-".concat(a),a),r),this.sidebarClass],style:{width:i},attrs:this.computedAttrs,directives:[{name:"show",value:o}],ref:"content"},[Q4(e,this)]);u=e("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[u]);var c=e(Sa,{props:{noFade:this.noSlide}},[e5(e,this)]),d=e(),v=e();return this.backdrop&&o&&(d=e("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),v=e("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),e("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[d,u,v,c])}}),r5=J({components:{BSidebar:t5},plugins:{VBTogglePlugin:Lm}});function hp(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var n5=F({animation:f(y,"wave"),height:f(y),size:f(y),type:f(y,"text"),variant:f(y),width:f(y)},n1),Lc=N({name:n1,functional:!0,props:n5,render:function(e,r){var n,i=r.data,a=r.props,o=a.size,s=a.animation,u=a.variant;return e("div",Z(i,{staticClass:"b-skeleton",style:{width:o||a.width,height:o||a.height},class:(n={},hp(n,"b-skeleton-".concat(a.type),!0),hp(n,"b-skeleton-animate-".concat(s),s),hp(n,"bg-".concat(u),u),n)}))}});function g0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function b0(t){for(var e=1;e0}}});function y0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function l5(t){for(var e=1;e0?e:null},S0=function(e){return Te(e)||rv(e)>0},wA=F({colspan:f(q,null,S0),rowspan:f(q,null,S0),stackedHeading:f(y),stickyColumn:f(T,!1),variant:f(y)},c1),$o=N({name:c1,mixins:[ct,Kn,ae],inject:{getBvTableTr:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:wA,computed:{bvTableTr:function(){return this.getBvTableTr()},tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return rv(this.colspan)},computedRowspan:function(){return rv(this.rowspan)},cellClasses:function(){var e=this.variant,r=this.headVariant,n=this.isStickyColumn;return(!e&&this.isStickyHeader&&!r||!e&&n&&this.inTfoot&&!this.footVariant||!e&&n&&this.inThead&&!r||!e&&n&&this.inTbody)&&(e=this.rowVariant||this.tableVariant||"b-table-default"),[e?"".concat(this.isDark?"bg":"table","-").concat(e):null,n?"b-table-sticky-column":null]},cellAttrs:function(){var e=this.stackedHeading,r=this.inThead||this.inTfoot,n=this.computedColspan,i=this.computedRowspan,a="cell",o=null;return r?(a="columnheader",o=n>0?"colspan":"col"):_n(this.tag,"th")&&(a="rowheader",o=i>0?"rowgroup":"row"),P0(P0({colspan:n,rowspan:i,role:a,scope:o},this.bvAttrs),{},{"data-label":this.isStackedCell&&!Te(e)?te(e):null})}},render:function(e){var r=[this.normalizeSlot()];return e(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?e("div",[r]):r])}});function h5(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var og="busy",v5=$i+og,OA=h5({},og,f(T,!1)),m5=N({props:OA,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this[og]||this.localBusy}},watch:{localBusy:function(e,r){e!==r&&this.$emit(v5,e)}},methods:{stopIfBusy:function(e){return this.computedBusy?(ue(e),!0):!1},renderBusy:function(){var e=this.tbodyTrClass,r=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot(bs)?n(Gn,{staticClass:"b-table-busy-slot",class:[Q(e)?e(null,bs):e],attrs:Q(r)?r(null,bs):r,key:"table-busy-slot"},[n($o,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot(bs)])]):null}}}),sg={caption:f(y),captionHtml:f(y)},PA=N({props:sg,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var e=this.caption,r=this.captionHtml,n=this.$createElement,i=n(),a=this.hasNormalizedSlot(Ty);return(a||e||r)&&(i=n("caption",{attrs:{id:this.captionId},domProps:a?{}:He(r,e),key:"caption",ref:"caption"},this.normalizeSlot(Ty))),i}}}),SA={},TA=N({methods:{renderColgroup:function(){var e=this.computedFields,r=this.$createElement,n=r();return this.hasNormalizedSlot(Ey)&&(n=r("colgroup",{key:"colgroup"},[this.normalizeSlot(Ey,{columns:e.length,fields:e})])),n}}}),EA={emptyFilteredHtml:f(y),emptyFilteredText:f(y,"There are no records matching your request"),emptyHtml:f(y),emptyText:f(y,"There are no records to show"),showEmpty:f(T,!1)},g5=N({props:EA,methods:{renderEmpty:function(){var e=Xe(this),r=e.computedItems,n=e.computedBusy,i=this.$createElement,a=i();if(this.showEmpty&&(!r||r.length===0)&&!(n&&this.hasNormalizedSlot(bs))){var o=this.computedFields,s=this.isFiltered,u=this.emptyText,c=this.emptyHtml,d=this.emptyFilteredText,v=this.emptyFilteredHtml,m=this.tbodyTrClass,g=this.tbodyTrAttr;a=this.normalizeSlot(s?HN:L1,{emptyFilteredHtml:v,emptyFilteredText:d,emptyHtml:c,emptyText:u,fields:o,items:r}),a||(a=i("div",{class:["text-center","my-2"],domProps:s?He(v,d):He(c,u)})),a=i($o,{props:{colspan:o.length||null}},[i("div",{attrs:{role:"alert","aria-live":"polite"}},[a])]),a=i(Gn,{staticClass:"b-table-empty-row",class:[Q(m)?m(null,"row-empty"):m],attrs:Q(g)?g(null,"row-empty"):g,key:s?"b-empty-filtered-row":"b-empty-row"},[a])}return a}}}),nv=function t(e){return Te(e)?"":Je(e)&&!go(e)?oe(e).sort().map(function(r){return t(e[r])}).filter(function(r){return!!r}).join(" "):te(e)};function T0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function E0(t){for(var e=1;e3&&arguments[3]!==void 0?arguments[3]:{},a=oe(i).reduce(function(s,u){var c=i[u],d=c.filterByFormatted,v=Q(d)?d:d?c.formatter:null;return Q(v)&&(s[u]=v(e[u],u,e)),s},Ei(e)),o=oe(a).filter(function(s){return!CA[s]&&!(Se(r)&&r.length>0&&ie(r,s))&&!(Se(n)&&n.length>0&&!ie(n,s))});return qr(a,o)},y5=function(e,r,n,i){return Je(e)?nv(av(e,r,n,i)):""};function _5(t){return S5(t)||P5(t)||O5(t)||w5()}function w5(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O5(t,e){if(t){if(typeof t=="string")return ov(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ov(t,e)}}function P5(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function S5(t){if(Array.isArray(t))return ov(t)}function ov(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&ut(T5,va),e},localFiltering:function(){return this.hasProvider?!!this.noProviderFiltering:!0},filteredCheck:function(){var e=this.filteredItems,r=this.localItems,n=this.localFilter;return{filteredItems:e,localItems:r,localFilter:n}},localFilterFn:function(){var e=this.filterFunction;return gn(e)?e:null},filteredItems:function(){var e=this.localItems,r=this.localFilter,n=this.localFiltering?this.filterFnFactory(this.localFilterFn,r)||this.defaultFilterFnFactory(r):null;return n&&e.length>0?e.filter(n):e}},watch:{computedFilterDebounce:function(e){!e&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(e){var r=this,n=this.computedFilterDebounce;this.clearFilterTimer(),n&&n>0?this.$_filterTimer=setTimeout(function(){r.localFilter=r.filterSanitize(e)},n):this.localFilter=this.filterSanitize(e)}},filteredCheck:function(e){var r=e.filteredItems,n=e.localFilter,i=!1;n?Pe(n,[])||Pe(n,{})?i=!1:n&&(i=!0):i=!1,i&&this.$emit(bh,r,r.length),this.isFiltered=i},isFiltered:function(e,r){if(e===!1&&r===!0){var n=this.localItems;this.$emit(bh,n,n.length)}}},created:function(){var e=this;this.$_filterTimer=null,this.$nextTick(function(){e.isFiltered=!!e.localFilter})},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(e){return this.localFiltering&&!this.localFilterFn&&!(ge(e)||ay(e))?"":kr(e)},filterFnFactory:function(e,r){if(!e||!Q(e)||!r||Pe(r,[])||Pe(r,{}))return null;var n=function(a){return e(a,r)};return n},defaultFilterFnFactory:function(e){var r=this;if(!e||!(ge(e)||ay(e)))return null;var n=e;if(ge(n)){var i=Sm(e).replace(_T,"\\s+");n=new RegExp(".*".concat(i,".*"),"i")}var a=function(s){return n.lastIndex=0,n.test(y5(s,r.computedFilterIgnored,r.computedFilterIncluded,r.computedFieldsObj))};return a}}}),$5=function(e,r){var n=null;return ge(r)?n={key:e,label:r}:Q(r)?n={key:e,formatter:r}:Je(r)?(n=Ei(r),n.key=n.key||e):r!==!1&&(n={key:e}),n},C5=function(e,r){var n=[];if(Se(e)&&e.filter(ne).forEach(function(o){if(ge(o))n.push({key:o,label:bl(o)});else if(Je(o)&&o.key&&ge(o.key))n.push(Ei(o));else if(Je(o)&&oe(o).length===1){var s=oe(o)[0],u=$5(s,o[s]);u&&n.push(u)}}),n.length===0&&Se(r)&&r.length>0){var i=r[0];oe(i).forEach(function(o){CA[o]||n.push({key:o,label:bl(o)})})}var a={};return n.filter(function(o){return a[o.key]?!1:(a[o.key]=!0,o.label=ge(o.label)?o.label:bl(o.key),!0)})};function $0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function C0(t){for(var e=1;e0&&e.some(ne)},selectableIsMultiSelect:function(){return this.isSelectable&&ie(["range","multi"],this.selectMode)},selectableTableClasses:function(){var e,r=this.isSelectable;return e={"b-table-selectable":r},tl(e,"b-table-select-".concat(this.selectMode),r),tl(e,"b-table-selecting",this.selectableHasSelection),tl(e,"b-table-selectable-no-click",r&&!this.hasSelectableRowClick),e},selectableTableAttrs:function(){if(!this.isSelectable)return{};var e=this.bvAttrs.role||D0;return{role:e,"aria-multiselectable":e===D0?te(this.selectableIsMultiSelect):null}}},watch:{computedItems:function(e,r){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=Se(e)&&Se(r)&&e.length===r.length;for(var i=0;n&&i=0&&e0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?Rs(e,!0):[!0])},isRowSelected:function(e){return!!(xr(e)&&this.selectedRows[e])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(e){if(this.isSelectable&&this.isRowSelected(e)){var r=this.selectedVariant;return tl({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(r),r)}return{}},selectableRowAttrs:function(e){return{"aria-selected":this.isSelectable?this.isRowSelected(e)?"true":"false":null}},setSelectionHandlers:function(e){var r=e&&!this.noSelectOnClick?"$on":"$off";this[r](pc,this.selectionHandler),this[r](bh,this.clearSelected),this[r](O1,this.clearSelected)},selectionHandler:function(e,r,n){if(!this.isSelectable||this.noSelectOnClick){this.clearSelected();return}var i=this.selectMode,a=this.selectedLastRow,o=this.selectedRows.slice(),s=!o[r];if(i==="single")o=[];else if(i==="range")if(a>-1&&n.shiftKey){for(var u=Bn(a,r);u<=Oe(a,r);u++)o[u]=!0;s=!0}else n.ctrlKey||n.metaKey||(o=[],s=!0),s&&(this.selectedLastRow=r);o[r]=s,this.selectedRows=o}}}),NA=function(e,r){return e.map(function(n,i){return[i,n]}).sort((function(n,i){return this(n[1],i[1])||n[0]-i[0]}).bind(r)).map(function(n){return n[1]})},k0=function(e){return Te(e)?"":Ms(e)?he(e,e):e},L5=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.sortBy,a=i===void 0?null:i,o=n.formatter,s=o===void 0?null:o,u=n.locale,c=u===void 0?void 0:u,d=n.localeOptions,v=d===void 0?{}:d,m=n.nullLast,g=m===void 0?!1:m,b=Pt(e,a,null),w=Pt(r,a,null);return Q(s)&&(b=s(b,a,e),w=s(w,a,r)),b=k0(b),w=k0(w),go(b)&&go(w)||xr(b)&&xr(w)?bw?1:0:g&&b===""&&w!==""?1:g&&b!==""&&w===""?-1:nv(b).localeCompare(nv(w),c,v)},rn,Va;function M0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function I0(t){for(var e=1;e0&&!s,[o,{"table-striped":this.striped,"table-hover":r,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},n?"".concat(this.dark?"bg":"table","-").concat(n):"",a,i]},tableAttrs:function(){var e=Xe(this),r=e.computedItems,n=e.filteredItems,i=e.computedFields,a=e.selectableTableAttrs,o=e.computedBusy,s=this.isTableSimple?{}:{"aria-busy":te(o),"aria-colcount":te(i.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null},u=r&&n&&n.length>r.length?te(n.length):null;return vp(vp(vp({"aria-rowcount":u},this.bvAttrs),{},{id:this.safeId(),role:this.bvAttrs.role||"table"},s),a)}},render:function(e){var r=Xe(this),n=r.wrapperClasses,i=r.renderCaption,a=r.renderColgroup,o=r.renderThead,s=r.renderTbody,u=r.renderTfoot,c=[];this.isTableSimple?c.push(this.normalizeSlot()):(c.push(i?i():null),c.push(a?a():null),c.push(o?o():null),c.push(s?s():null),c.push(u?u():null));var d=e("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},c.filter(ne));return n.length>0?e("div",{class:n,style:this.wrapperStyles,key:"wrap"},[d]):d}});function N0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function mp(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:document,r=Aj();return r&&r.toString().trim()!==""&&r.containsNode&&Me(e)?r.containsNode(e,!0):!1},q5=F(wA,m1),fg=N({name:m1,extends:$o,props:q5,computed:{tag:function(){return"th"}}});function j0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ls(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&(l=String((u-1)*c+r+1));var p=te(Pt(e,s))||null,h=p||te(r),O=p?this.safeId("_row_".concat(p)):null,C=Xe(this).selectableRowClasses?this.selectableRowClasses(r):{},k=Xe(this).selectableRowAttrs?this.selectableRowAttrs(r):{},$=Q(d)?d(e,"row"):d,I=Q(v)?v(e,"row"):v;if(P.push(g(Gn,FA({class:[$,C,w?"b-table-has-details":""],props:{variant:e[iv]||null},attrs:ls(ls({id:O},I),{},{tabindex:A?"0":null,"data-pk":p||null,"aria-details":E,"aria-owns":E,"aria-rowindex":l},k),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(h,"__"),ref:"item-rows"},hm,!0),_)),w){var D={item:e,index:r,fields:a,toggleDetails:this.toggleDetailsFactory(b,e)};Xe(this).supportsSelectableRows&&(D.rowSelected=this.isRowSelected(r),D.selectRow=function(){return n.selectRow(r)},D.unselectRow=function(){return n.unselectRow(r)});var M=g($o,{props:{colspan:a.length},class:this.detailsTdClass},[this.normalizeSlot(Xo,D)]);o&&P.push(g("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(h)}));var R=Q(this.tbodyTrClass)?this.tbodyTrClass(e,Xo):this.tbodyTrClass,j=Q(this.tbodyTrAttr)?this.tbodyTrAttr(e,Xo):this.tbodyTrAttr;P.push(g(Gn,{staticClass:"b-table-details",class:[R],props:{variant:e[iv]||null},attrs:ls(ls({},j),{},{id:E,tabindex:"-1"}),key:"__b-table-details__".concat(h)},[M]))}else b&&(P.push(g()),o&&P.push(g()));return P}}});function B0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function gp(t){for(var e=1;e0&&n&&n.length>0?ma(r.children).filter(function(i){return ie(n,i)}):[]},getTbodyTrIndex:function(e){if(!Me(e))return-1;var r=e.tagName==="TR"?e:Jt("tr",e,!0);return r?this.getTbodyTrs().indexOf(r):-1},emitTbodyRowEvent:function(e,r){if(e&&this.hasListener(e)&&r&&r.target){var n=this.getTbodyTrIndex(r.target);if(n>-1){var i=this.computedItems[n];this.$emit(e,i,n,r)}}},tbodyRowEventStopped:function(e){return this.stopIfBusy&&this.stopIfBusy(e)},onTbodyRowKeydown:function(e){var r=e.target,n=e.keyCode;if(!(this.tbodyRowEventStopped(e)||r.tagName!=="TR"||!Tm(r)||r.tabIndex!==0)){if(ie([Wn,wn],n))ue(e),this.onTBodyRowClicked(e);else if(ie([Zt,Lt,Oi,wi],n)){var i=this.getTbodyTrIndex(r);if(i>-1){ue(e);var a=this.getTbodyTrs(),o=e.shiftKey;n===Oi||o&&n===Zt?ce(a[0]):n===wi||o&&n===Lt?ce(a[a.length-1]):n===Zt&&i>0?ce(a[i-1]):n===Lt&&it.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&arguments[0]!==void 0?arguments[0]:!1,n=Xe(this),i=n.computedFields,a=n.isSortable,o=n.isSelectable,s=n.headVariant,u=n.footVariant,c=n.headRowVariant,d=n.footRowVariant,v=this.$createElement;if(this.isStackedAlways||i.length===0)return v();var m=a||this.hasListener(Is),g=o?this.selectAllRows:eu,b=o?this.clearSelected:eu,w=function(l,p){var h=l.label,O=l.labelHtml,C=l.variant,k=l.stickyColumn,$=l.key,I=null;!l.label.trim()&&!l.headerTitle&&(I=bl(l.key));var D={};m&&(D.click=function(z){e.headClicked(z,l,r)},D.keydown=function(z){var ee=z.keyCode;(ee===Wn||ee===wn)&&e.headClicked(z,l,r)});var M=a?e.sortTheadThAttrs($,l,r):{},R=a?e.sortTheadThClasses($,l,r):null,j=a?e.sortTheadThLabel($,l,r):null,S={class:[{"position-relative":j},e.fieldClasses(l),R],props:{variant:C,stickyColumn:k},style:l.thStyle||{},attrs:V0(V0({tabindex:m&&l.sortable?"0":null,abbr:l.headerAbbr||null,title:l.headerTitle||null,"aria-colindex":p+1,"aria-label":I},e.getThValues(null,$,l.thAttr,r?"foot":"head",{})),M),on:D,key:$},B=[yp($),yp($.toLowerCase()),yp()];r&&(B=[_p($),_p($.toLowerCase()),_p()].concat(sz(B)));var x={label:h,column:$,field:l,isFoot:r,selectAllRows:g,clearSelected:b},H=e.normalizeSlot(B,x)||v("div",{domProps:He(O,h)}),U=j?v("span",{staticClass:"sr-only"}," (".concat(j,")")):null;return v(fg,S,[H,U].filter(ne))},A=i.map(w).filter(ne),P=[];if(r)P.push(v(Gn,{class:this.tfootTrClass,props:{variant:Te(d)?c:d}},A));else{var E={columns:i.length,fields:i,selectAllRows:g,clearSelected:b};P.push(this.normalizeSlot(bj,E)||v()),P.push(v(Gn,{class:this.theadTrClass,props:{variant:c}},A))}return v(r?pg:zA,{class:(r?this.tfootClass:this.theadClass)||null,props:r?{footVariant:u||s||null}:{headVariant:s||null},key:r?"bv-tfoot":"bv-thead"},P)}}}),pz={},hz=N({methods:{renderTopRow:function(){var e=this.computedFields,r=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,a=this.$createElement;return!this.hasNormalizedSlot($y)||r===!0||r===""?a():a(Gn,{staticClass:"b-table-top-row",class:[Q(n)?n(null,"row-top"):n],attrs:Q(i)?i(null,"row-top"):i,key:"b-top-row"},[this.normalizeSlot($y,{columns:e.length,fields:e})])}}});function z0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ft(t){for(var e=1;e0},Cz=F({animation:f(y),columns:f(Et,5,K0),hideHeader:f(T,!1),rows:f(Et,3,K0),showFooter:f(T,!1),tableProps:f(at,{})},o1),Az=N({name:o1,functional:!0,props:Cz,render:function(e,r){var n=r.data,i=r.props,a=i.animation,o=i.columns,s=e("th",[e(Lc,{props:{animation:a}})]),u=e("tr",Rs(o,s)),c=e("td",[e(Lc,{props:{width:"75%",animation:a}})]),d=e("tr",Rs(o,c)),v=e("tbody",Rs(i.rows,d)),m=i.hideHeader?e():e("thead",[u]),g=i.showFooter?e("tfoot",[u]):e();return e(GA,Z(n,{props:Ez({},i.tableProps)}),[m,v,g])}}),Dz=F({loading:f(T,!1)},s1),kz=N({name:s1,functional:!0,props:Dz,render:function(e,r){var n=r.data,i=r.props,a=r.slots,o=r.scopedSlots,s=a(),u=o||{},c={};return i.loading?e("div",Z(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),gt(ZN,c,u,s)):gt(st,c,u,s)}}),Mz=J({components:{BSkeleton:Lc,BSkeletonIcon:a5,BSkeletonImg:u5,BSkeletonTable:Az,BSkeletonWrapper:kz}}),Iz=J({components:{BSpinner:aA}}),za;function q0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function so(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:!0;if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,r){var n=function(){e.$nextTick(function(){Ee(function(){e.updateTabs()})})};this.$_observer=tu(this.$refs.content,n,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var e=this.registeredTabs,r=[];if(Ce&&e.length>0){var n=e.map(function(i){return"#".concat(i.safeId())}).join(", ");r=br(n,this.$el).map(function(i){return i.id}).filter(ne)}return NA(e,function(i,a){return r.indexOf(i.safeId())-r.indexOf(a.safeId())})},updateTabs:function(){var e=this.getTabs(),r=e.indexOf(e.slice().reverse().find(function(i){return i.localActive&&!i.disabled}));if(r<0){var n=this.currentTab;n>=e.length?r=e.indexOf(e.slice().reverse().find(Fi)):e[n]&&!e[n].disabled&&(r=n)}r<0&&(r=e.indexOf(e.find(Fi))),e.forEach(function(i,a){i.localActive=a===r}),this.tabs=e,this.currentTab=r},getButtonForTab:function(e){return(this.$refs.buttons||[]).find(function(r){return r.tab===e})},updateButton:function(e){var r=this.getButtonForTab(e);r&&r.$forceUpdate&&r.$forceUpdate()},activateTab:function(e){var r=this.currentTab,n=this.tabs,i=!1;if(e){var a=n.indexOf(e);if(a!==r&&a>-1&&!e.disabled){var o=new Ea(aN,{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(o.type,a,r,o),o.defaultPrevented||(this.currentTab=a,i=!0)}}return!i&&this[Op]!==r&&this.$emit(Y0,r),i},deactivateTab:function(e){return e?this.activateTab(this.tabs.filter(function(r){return r!==e}).find(Fi)):!1},focusButton:function(e){var r=this;this.$nextTick(function(){ce(r.getButtonForTab(e))})},emitTabClick:function(e,r){fa(r)&&e&&e.$emit&&!e.disabled&&e.$emit(Nr,r)},clickTab:function(e,r){this.activateTab(e),this.emitTabClick(e,r)},firstTab:function(e){var r=this.tabs.find(Fi);this.activateTab(r)&&e&&(this.focusButton(r),this.emitTabClick(r,e))},previousTab:function(e){var r=Oe(this.currentTab,0),n=this.tabs.slice(0,r).reverse().find(Fi);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},nextTab:function(e){var r=Oe(this.currentTab,-1),n=this.tabs.slice(r+1).find(Fi);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},lastTab:function(e){var r=this.tabs.slice().reverse().find(Fi);this.activateTab(r)&&e&&(this.focusButton(r),this.emitTabClick(r,e))}},render:function(e){var r=this,n=this.align,i=this.card,a=this.end,o=this.fill,s=this.firstTab,u=this.justified,c=this.lastTab,d=this.nextTab,v=this.noKeyNav,m=this.noNavStyle,g=this.pills,b=this.previousTab,w=this.small,A=this.tabs,P=this.vertical,E=A.find(function(k){return k.localActive&&!k.disabled}),_=A.find(function(k){return!k.disabled}),l=A.map(function(k,$){var I,D=k.safeId,M=null;return v||(M=-1,(k===E||!E&&k===_)&&(M=null)),e(jz,Br({props:{controls:D?D():null,id:k.controlledBy||(D?D("_BV_tab_button_"):null),noKeyNav:v,posInSet:$+1,setSize:A.length,tab:k,tabIndex:M},on:(I={},Br(I,Nr,function(R){r.clickTab(k,R)}),Br(I,P1,s),Br(I,D1,b),Br(I,C1,d),Br(I,T1,c),I),key:k[Ln]||$,ref:"buttons"},hm,!0))}),p=e(tA,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:o,justified:u,align:n,tabs:!m&&!g,pills:!m&&g,vertical:P,small:w,cardHeader:i&&!P},ref:"nav"},[this.normalizeSlot(mj)||e(),l,this.normalizeSlot(vj)||e()]);p=e("div",{class:[{"card-header":i&&!P&&!a,"card-footer":i&&!P&&a,"col-auto":P},this.navWrapperClass],key:"bv-tabs-nav"},[p]);var h=this.normalizeSlot()||[],O=e();h.length===0&&(O=e("div",{class:["tab-pane","active",{"card-body":i}],key:"bv-empty-tab"},this.normalizeSlot(L1)));var C=e("div",{staticClass:"tab-content",class:[{col:P},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[h,O]);return e(this.tag,{staticClass:"tabs",class:{row:P,"no-gutters":P&&i},attrs:{id:this.safeId()}},[a?C:e(),p,a?e():C])}}),Sr,cs;function X0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function J0(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{};return t.reduce(function(r,n){var i=n.passengers[0],a=typeof i=="function"?i(e):n.passengers;return r.concat(a)},[])}function Xz(t,e){return t.map(function(r,n){return[n,r]}).sort(function(r,n){return e(r[1],n[1])||r[0]-n[0]}).map(function(r){return r[1]})}function Q0(t,e){return e.reduce(function(r,n){return t.hasOwnProperty(n)&&(r[n]=t[n]),r},{})}var WA={},Jz={},Zz={},Qz=pe.extend({data:function(){return{transports:WA,targets:Jz,sources:Zz,trackInstances:rl}},methods:{open:function(e){if(rl){var r=e.to,n=e.from,i=e.passengers,a=e.order,o=a===void 0?1/0:a;if(!(!r||!n||!i)){var s={to:r,from:n,passengers:qz(i),order:o},u=Object.keys(this.transports);u.indexOf(r)===-1&&pe.set(this.transports,r,[]);var c=this.$_getTransportIndex(s),d=this.transports[r].slice(0);c===-1?d.push(s):d[c]=s,this.transports[r]=Xz(d,function(v,m){return v.order-m.order})}}},close:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.to,i=e.from;if(!(!n||!i&&r===!1)&&this.transports[n])if(r)this.transports[n]=[];else{var a=this.$_getTransportIndex(e);if(a>=0){var o=this.transports[n].slice(0);o.splice(a,1),this.transports[n]=o}}},registerTarget:function(e,r,n){rl&&(this.trackInstances&&!n&&this.targets[e]&&console.warn("[portal-vue]: Target ".concat(e," already exists")),this.$set(this.targets,e,Object.freeze([r])))},unregisterTarget:function(e){this.$delete(this.targets,e)},registerSource:function(e,r,n){rl&&(this.trackInstances&&!n&&this.sources[e]&&console.warn("[portal-vue]: source ".concat(e," already exists")),this.$set(this.sources,e,Object.freeze([r])))},unregisterSource:function(e){this.$delete(this.sources,e)},hasTarget:function(e){return!!(this.targets[e]&&this.targets[e][0])},hasSource:function(e){return!!(this.sources[e]&&this.sources[e][0])},hasContentFor:function(e){return!!this.transports[e]&&!!this.transports[e].length},$_getTransportIndex:function(e){var r=e.to,n=e.from;for(var i in this.transports[r])if(this.transports[r][i].from===n)return+i;return-1}}}),hr=new Qz(WA),e7=1,KA=pe.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(e7++)}},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(Math.random()*1e7))}}},created:function(){var e=this;this.$nextTick(function(){hr.registerSource(e.name,e)})},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){hr.unregisterSource(this.name),this.clear()},watch:{to:function(e,r){r&&r!==e&&this.clear(r),this.sendUpdate()}},methods:{clear:function(e){var r={from:this.name,to:e||this.to};hr.close(r)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(e){return typeof e=="function"?e(this.slotProps):e},sendUpdate:function(){var e=this.normalizeSlots();if(e){var r={from:this.name,to:this.to,passengers:Uz(e),order:this.order};hr.open(r)}else this.clear()}},render:function(e){var r=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return r&&this.disabled?r.length<=1&&this.slim?this.normalizeOwnChildren(r)[0]:e(n,[this.normalizeOwnChildren(r)]):this.slim?e():e(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),qA=pe.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:hr.transports,firstRender:!0}},created:function(){var e=this;this.$nextTick(function(){hr.registerTarget(e.name,e)})},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(e,r){hr.unregisterTarget(r),hr.registerTarget(e,this)}},mounted:function(){var e=this;this.transition&&this.$nextTick(function(){e.firstRender=!1})},beforeDestroy:function(){hr.unregisterTarget(this.name)},computed:{ownTransports:function(){var e=this.transports[this.name]||[];return this.multiple?e:e.length===0?[]:[e[e.length-1]]},passengers:function(){return Yz(this.ownTransports,this.slotProps)}},methods:{children:function(){return this.passengers.length!==0?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var e=this.slim&&!this.transition;return e&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),e}},render:function(e){var r=this.noWrapper(),n=this.children(),i=this.transition||this.tag;return r?n[0]:this.slim&&!i?e():e(i,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),t7=0,r7=["disabled","name","order","slim","slotProps","tag","to"],n7=["multiple","transition"];pe.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(t7++)}},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(Math.random()*1e7))}},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(!(typeof document>"u")){var e=document.querySelector(this.mountTo);if(!e){console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"));return}var r=this.$props;if(hr.targets[r.name]){r.bail?console.warn("[portal-vue]: Target ".concat(r.name,` is already mounted. Aborting because 'bail: true' is set`)):this.portalTarget=hr.targets[r.name];return}var n=r.append;if(n){var i=typeof n=="string"?n:"DIV",a=document.createElement(i);e.appendChild(a),e=a}var o=Q0(this.$props,n7);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new qA({el:e,parent:this.$parent||this,propsData:o})}},beforeDestroy:function(){var e=this.portalTarget;if(this.append){var r=e.$el;r.parentNode.removeChild(r)}e.$destroy()},render:function(e){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),e();if(!this.$scopedSlots.manual){var r=Q0(this.$props,r7);return e(KA,{props:r,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||e()}});var i7=N({mixins:[ae],data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(e){var r=this;Ee(function(){Tt(e,"".concat(r.name,"-enter-to"))})}},render:function(e){return e("transition-group",{props:{tag:"div",name:this.name},on:{afterEnter:this.onAfterEnter}},this.normalizeSlot())}}),a7=F({ariaAtomic:f(y),ariaLive:f(y),name:f(y,void 0,!0),role:f(y)},fo),YA=N({name:fo,mixins:[Yr],props:a7,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var e=this.name;this.staticName=e,hr.hasTarget(e)?(ut('A "" with name "'.concat(e,'" already exists in the document.'),fo),this.dead=!0):this.doRender=!0},beforeDestroy:function(){this.doRender&&this.emitOnRoot(Ge(fo,wm),this.name)},destroyed:function(){var e=this.$el;e&&e.parentNode&&e.parentNode.removeChild(e)},render:function(e){var r=e("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var n=e(qA,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:i7}});r=e("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 r}}),Ua;function eP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ln(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{};return new Ea(e,ln(ln({cancelable:!1,target:this.$el||null,relatedTarget:null},r),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ge(jn,r),e),this.$emit(r,e)},ensureToaster:function(){if(!this.static){var e=this.computedToaster;if(!hr.hasTarget(e)){var r=document.createElement("div");document.body.appendChild(r);var n=Ai(this.bvEventRoot,YA,{propsData:{name:e}});n.$mount(r)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(e){var r=this.$refs["b-toast"];Vr(e,r,"mouseenter",this.onPause,me),Vr(e,r,"mouseleave",this.onUnPause,me)},onPause:function(){if(!(this.noAutoHide||this.noHoverPause||!this.$_dismissTimer||this.resumeDismiss)){var e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=Oe(this.computedDuration-e,tP))}},onUnPause:function(){if(this.noAutoHide||this.noHoverPause||!this.resumeDismiss){this.resumeDismiss=this.dismissStarted=0;return}this.startDismissTimer()},onLinkClick:function(){var e=this;this.$nextTick(function(){Ee(function(){e.hide()})})},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var e=this.buildEvent(jt);this.emitEvent(e),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var e=this.buildEvent(Ze);this.emitEvent(e),this.doRender=!1},makeToast:function(e){var r=this,n=this.title,i=this.slotScope,a=hu(this),o=[],s=this.normalizeSlot(yj,i);s?o.push(s):n&&o.push(e("strong",{staticClass:"mr-2"},n)),this.noCloseButton||o.push(e(ba,{staticClass:"ml-auto mb-1",on:{click:function(){r.hide()}}}));var u=e();o.length>0&&(u=e(this.headerTag,{staticClass:"toast-header",class:this.headerClass},o));var c=e(a?tr:"div",{staticClass:"toast-body",class:this.bodyClass,props:a?Be(XA,this):{},on:a?{click:this.onLinkClick}:{}},this.normalizeSlot(st,i));return e("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this[Ln]),ref:"toast"},[u,c])}},render:function(e){if(!this.doRender||!this.isMounted)return e();var r=this.order,n=this.static,i=this.isHiding,a=this.isStatus,o="b-toast-".concat(this[Ln]),s=e("div",{staticClass:"b-toast",class:this.toastClasses,attrs:ln(ln({},n?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:i?null:a?"status":"alert","aria-live":i?null:a?"polite":"assertive","aria-atomic":i?null:"true"}),key:o,ref:"b-toast"},[e(Sa,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(e):e()])]);return e(KA,{props:{name:o,to:this.computedToaster,order:r,slim:!0,disabled:n}},[s])}});function l7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rP(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r1&&arguments[1]!==void 0?arguments[1]:{};!s||cc(ds)||n(fs(fs({},iP(u)),{},{toastContent:s}),this._vm)}},{key:"show",value:function(s){s&&this._root.$emit(nt(jn,mt),s)}},{key:"hide",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._root.$emit(nt(jn,Xt),s)}}]),a}();e.mixin({beforeCreate:function(){this[Sp]=new i(this)}}),pa(e.prototype,ds)||gm(e.prototype,ds,{get:function(){return(!this||!this[Sp])&&ut('"'.concat(ds,'" must be accessed from a Vue instance "this" context.'),jn),this[Sp]}})},y7=J({plugins:{plugin:b7}}),_7=J({components:{BToast:ZA,BToaster:YA},plugins:{BVToastPlugin:y7}});function aP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function oP(t){for(var e=1;e=i){var a=this.$targets[this.$targets.length-1];this.$activeTarget!==a&&this.activate(a);return}if(this.$activeTarget&&r0){this.$activeTarget=null,this.clear();return}for(var o=this.$offsets.length;o--;){var s=this.$activeTarget!==this.$targets[o]&&r>=this.$offsets[o]&&(Qe(this.$offsets[o+1])||r0&&this.$root&&this.$root.$emit(X7,r,i)}},{key:"clear",value:function(){var r=this;br("".concat(this.$selector,", ").concat(Cp),this.$el).filter(function(n){return Js(n,Ep)}).forEach(function(n){return r.setActiveState(n,!1)})}},{key:"setActiveState",value:function(r,n){r&&(n?Rt(r,Ep):Tt(r,Ep))}}],[{key:"Name",get:function(){return U7}},{key:"Default",get:function(){return Z7}},{key:"DefaultType",get:function(){return Q7}}]),t}(),qi="__BV_Scrollspy__",rU=/^\d+$/,nU=/^(auto|position|offset)$/,iU=function(e){var r={};return e.arg&&(r.element="#".concat(e.arg)),oe(e.modifiers).forEach(function(n){rU.test(n)?r.offset=G(n,0):nU.test(n)&&(r.method=n)}),ge(e.value)?r.element=e.value:xr(e.value)?r.offset=Sh(e.value):Je(e.value)&&oe(e.value).filter(function(n){return!!eD.DefaultType[n]}).forEach(function(n){r[n]=e.value[n]}),r},nl=function(e,r,n){if(Ce){var i=iU(r);e[qi]?e[qi].updateConfig(i,bn(hn(n,r))):e[qi]=new eD(e,i,bn(hn(n,r)))}},aU=function(e){e[qi]&&(e[qi].dispose(),e[qi]=null,delete e[qi])},oU={bind:function(e,r,n){nl(e,r,n)},inserted:function(e,r,n){nl(e,r,n)},update:function(e,r,n){r.value!==r.oldValue&&nl(e,r,n)},componentUpdated:function(e,r,n){r.value!==r.oldValue&&nl(e,r,n)},unbind:function(e){aU(e)}},sU=J({directives:{VBScrollspy:oU}}),uU=J({directives:{VBVisible:Bm}}),lU=J({plugins:{VBHoverPlugin:F7,VBModalPlugin:x7,VBPopoverPlugin:vA,VBScrollspyPlugin:sU,VBTogglePlugin:Lm,VBTooltipPlugin:QA,VBVisiblePlugin:uU}});/*! * BootstrapVue 2.23.1 * * @link https://bootstrap-vue.org * @source https://github.com/bootstrap-vue/bootstrap-vue * @copyright (c) 2016-2022 BootstrapVue * @license MIT * https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE */var cU="BootstrapVue",fU=ET({plugins:{componentsPlugin:L7,directivesPlugin:lU}}),MQ={install:fU,NAME:cU};const dU="modulepreload",pU=function(t,e){return new URL(t,e).href},hP={},Ar=function(e,r,n){if(!r||r.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=pU(a,n),a in hP)return;hP[a]=!0;const o=a.endsWith(".css"),s=o?'[rel="stylesheet"]':"";if(!!n)for(let d=i.length-1;d>=0;d--){const v=i[d];if(v.href===a&&(!o||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":dU,o||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),o)return new Promise((d,v)=>{c.addEventListener("load",d),c.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e()).catch(a=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a})};var dv=function(t,e){return dv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},dv(t,e)};function en(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");dv(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var V=function(){return V=Object.assign||function(e){for(var r,n=1,i=arguments.length;n0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]r.maxAttempts||r.includes(o)?!1:(r.queue.push(o),!0)});return this.queue=this.queue.sort(function(o,s){return r.getAttempts(o)-r.getAttempts(s)}),a},e.prototype.pushWithBackoff=function(r){var n=this;if(this.getAttempts(r)===0)return this.push(r)[0];var i=this.updateAttempts(r);if(i>this.maxAttempts||this.includes(r))return!1;var a=OU({attempt:i-1});return setTimeout(function(){n.queue.push(r),n.future=n.future.filter(function(o){return o.id!==r.id}),n.emit(iD)},a),this.future.push(r),!0},e.prototype.getAttempts=function(r){var n;return(n=this.seen[r.id])!==null&&n!==void 0?n:0},e.prototype.updateAttempts=function(r){return this.seen[r.id]=this.getAttempts(r)+1,this.getAttempts(r)},e.prototype.includes=function(r){return this.queue.includes(r)||this.future.includes(r)||!!this.queue.find(function(n){return n.id===r.id})||!!this.future.find(function(n){return n.id===r.id})},e.prototype.pop=function(){return this.queue.shift()},Object.defineProperty(e.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),e}(mg),Yi=256,Fl=[],il;for(;Yi--;)Fl[Yi]=(Yi+256).toString(16).substring(1);function yg(){var t=0,e,r="";if(!il||Yi+16>256){for(il=Array(t=256);t--;)il[t]=256*Math.random()|0;t=Yi=0}for(;t<16;t++)e=il[Yi+t],t==6?r+=Fl[e&15|64]:t==8?r+=Fl[e&63|128]:r+=Fl[e],t&1&&t>1&&t<11&&(r+="-");return Yi++,r}var PU=function(){function t(){this._logs=[]}return t.prototype.log=function(e,r,n){var i=new Date;this._logs.push({level:e,message:r,time:i,extras:n})},Object.defineProperty(t.prototype,"logs",{get:function(){return this._logs},enumerable:!1,configurable:!0}),t.prototype.flush=function(){if(this.logs.length>1){var e=this._logs.reduce(function(r,n){var i,a,o,s=V(V({},n),{json:JSON.stringify(n.extras,null," "),extras:n.extras});delete s.time;var u=(o=(a=n.time)===null||a===void 0?void 0:a.toISOString())!==null&&o!==void 0?o:"";return r[u]&&(u="".concat(u,"-").concat(Math.random())),V(V({},r),(i={},i[u]=s,i))},{});console.table?console.table(e):console.log(e)}else this.logs.forEach(function(r){var n=r.level,i=r.message,a=r.extras;n==="info"||n==="debug"?console.log(i,a??""):console[n](i,a??"")});this._logs=[]},t}(),SU=function(t){var e={gauge:"g",counter:"c"};return e[t]},aD=function(){function t(){this.metrics=[]}return t.prototype.increment=function(e,r,n){r===void 0&&(r=1),this.metrics.push({metric:e,value:r,tags:n??[],type:"counter",timestamp:Date.now()})},t.prototype.gauge=function(e,r,n){this.metrics.push({metric:e,value:r,tags:n??[],type:"gauge",timestamp:Date.now()})},t.prototype.flush=function(){var e=this.metrics.map(function(r){return V(V({},r),{tags:r.tags.join(",")})});console.table?console.table(e):console.log(e),this.metrics=[]},t.prototype.serialize=function(){return this.metrics.map(function(e){return{m:e.metric,v:e.value,t:e.tags,k:SU(e.type),e:e.timestamp}})},t}(),TU=function(t){en(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.gauge=function(){},e.prototype.increment=function(){},e.prototype.flush=function(){},e.prototype.serialize=function(){return[]},e}(aD),Si=function(){function t(e){var r,n,i;this.retry=(r=e.retry)!==null&&r!==void 0?r:!0,this.type=(n=e.type)!==null&&n!==void 0?n:"plugin Error",this.reason=(i=e.reason)!==null&&i!==void 0?i:""}return t}(),Gc=function(){function t(e,r,n,i){r===void 0&&(r=yg()),n===void 0&&(n=new TU),i===void 0&&(i=new PU),this.attempts=0,this.event=e,this._id=r,this.logger=i,this.stats=n}return t.system=function(){},t.prototype.isSame=function(e){return e.id===this.id},t.prototype.cancel=function(e){throw e||new Si({reason:"Context Cancel"})},t.prototype.log=function(e,r,n){this.logger.log(e,r,n)},Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),t.prototype.updateEvent=function(e,r){var n;if(e.split(".")[0]==="integrations"){var i=e.split(".")[1];if(((n=this.event.integrations)===null||n===void 0?void 0:n[i])===!1)return this.event}return Uc(this.event,e,r),this.event},t.prototype.failedDelivery=function(){return this._failedDelivery},t.prototype.setFailedDelivery=function(e){this._failedDelivery=e},t.prototype.logs=function(){return this.logger.logs},t.prototype.flush=function(){this.logger.flush(),this.stats.flush()},t.prototype.toJSON=function(){return{id:this._id,event:this.event,logs:this.logger.logs,metrics:this.stats.metrics}},t}();function EU(t,e){var r={};return t.forEach(function(n){var i,a=void 0;if(typeof e=="string"){var o=n[e];a=typeof o!="string"?JSON.stringify(o):o}else e instanceof Function&&(a=e(n));a!==void 0&&(r[a]=it(it([],(i=r[a])!==null&&i!==void 0?i:[],!0),[n],!1))}),r}var $U=function(t){return typeof t=="object"&&t!==null&&"then"in t&&typeof t.then=="function"},CU=function(){var t,e,r=0;return{done:function(){return t},run:function(n){var i=n();return $U(i)&&(++r===1&&(t=new Promise(function(a){return e=a})),i.finally(function(){return--r===0&&e()})),i}}};function AU(t){return W(this,void 0,void 0,function(){var e;return K(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,t()];case 1:return[2,r.sent()];case 2:return e=r.sent(),[2,Promise.reject(e)];case 3:return[2]}})})}function ho(t,e){t.log("debug","plugin",{plugin:e.name});var r=new Date().getTime(),n=e[t.event.type];if(n===void 0)return Promise.resolve(t);var i=AU(function(){return n.apply(e,[t])}).then(function(a){var o=new Date().getTime()-r;return a.stats.gauge("plugin_time",o,["plugin:".concat(e.name)]),a}).catch(function(a){if(a instanceof Si&&a.type==="middleware_cancellation")throw a;return a instanceof Si?(t.log("warn",a.type,{plugin:e.name,error:a}),a):(t.log("error","plugin Error",{plugin:e.name,error:a}),t.stats.increment("plugin_error",1,["plugin:".concat(e.name)]),a)});return i}function DU(t,e){return ho(t,e).then(function(r){if(r instanceof Gc)return r;t.log("debug","Context canceled"),t.stats.increment("context_canceled"),t.cancel(r)})}var kU=function(t){en(e,t);function e(r){var n=t.call(this)||this;return n.criticalTasks=CU(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=r,n.queue.on(iD,function(){n.scheduleFlush(0)}),n}return e.prototype.register=function(r,n,i){return W(this,void 0,void 0,function(){var a=this;return K(this,function(o){switch(o.label){case 0:return[4,Promise.resolve(n.load(r,i)).then(function(){a.plugins.push(n)}).catch(function(s){if(n.type==="destination"){a.failedInitializations.push(n.name),console.warn(n.name,s),r.log("warn","Failed to load destination",{plugin:n.name,error:s});return}throw s})];case 1:return o.sent(),[2]}})})},e.prototype.deregister=function(r,n,i){return W(this,void 0,void 0,function(){var a;return K(this,function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),n.unload?[4,Promise.resolve(n.unload(r,i))]:[3,2];case 1:o.sent(),o.label=2;case 2:return this.plugins=this.plugins.filter(function(s){return s.name!==n.name}),[3,4];case 3:return a=o.sent(),r.log("warn","Failed to unload destination",{plugin:n.name,error:a}),[3,4];case 4:return[2]}})})},e.prototype.dispatch=function(r){return W(this,void 0,void 0,function(){var n;return K(this,function(i){return r.log("debug","Dispatching"),r.stats.increment("message_dispatched"),this.queue.push(r),n=this.subscribeToDelivery(r),this.scheduleFlush(0),[2,n]})})},e.prototype.subscribeToDelivery=function(r){return W(this,void 0,void 0,function(){var n=this;return K(this,function(i){return[2,new Promise(function(a){var o=function(s,u){s.isSame(r)&&(n.off("flush",o),a(s))};n.on("flush",o)})]})})},e.prototype.dispatchSingle=function(r){return W(this,void 0,void 0,function(){var n=this;return K(this,function(i){return r.log("debug","Dispatching"),r.stats.increment("message_dispatched"),this.queue.updateAttempts(r),r.attempts=1,[2,this.deliver(r).catch(function(a){var o=n.enqueuRetry(a,r);return o?n.subscribeToDelivery(r):(r.setFailedDelivery({reason:a}),r)})]})})},e.prototype.isEmpty=function(){return this.queue.length===0},e.prototype.scheduleFlush=function(r){var n=this;r===void 0&&(r=500),!this.flushing&&(this.flushing=!0,setTimeout(function(){n.flush().then(function(){setTimeout(function(){n.flushing=!1,n.queue.length&&n.scheduleFlush(0)},0)})},r))},e.prototype.deliver=function(r){return W(this,void 0,void 0,function(){var n,i,a,o;return K(this,function(s){switch(s.label){case 0:return[4,this.criticalTasks.done()];case 1:s.sent(),n=Date.now(),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,this.flushOne(r)];case 3:return r=s.sent(),i=Date.now()-n,this.emit("delivery_success",r),r.stats.gauge("delivered",i),r.log("debug","Delivered",r.event),[2,r];case 4:throw a=s.sent(),o=a,r.log("error","Failed to deliver",o),this.emit("delivery_failure",r,o),r.stats.increment("delivery_failed"),a;case 5:return[2]}})})},e.prototype.enqueuRetry=function(r,n){var i=!(r instanceof Si)||r.retry;return i?this.queue.pushWithBackoff(n):!1},e.prototype.flush=function(){return W(this,void 0,void 0,function(){var r,n,i;return K(this,function(a){switch(a.label){case 0:if(this.queue.length===0)return[2,[]];if(r=this.queue.pop(),!r)return[2,[]];r.attempts=this.queue.getAttempts(r),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.deliver(r)];case 2:return r=a.sent(),this.emit("flush",r,!0),[3,4];case 3:return n=a.sent(),i=this.enqueuRetry(n,r),i||(r.setFailedDelivery({reason:n}),this.emit("flush",r,!1)),[2,[]];case 4:return[2,[r]]}})})},e.prototype.isReady=function(){return!0},e.prototype.availableExtensions=function(r){var n=this.plugins.filter(function(g){var b,w,A;if(g.type!=="destination"&&g.name!=="Segment.io")return!0;var P=void 0;return(b=g.alternativeNames)===null||b===void 0||b.forEach(function(E){r[E]!==void 0&&(P=r[E])}),(A=(w=r[g.name])!==null&&w!==void 0?w:P)!==null&&A!==void 0?A:(g.name==="Segment.io"?!0:r.All)!==!1}),i=EU(n,"type"),a=i.before,o=a===void 0?[]:a,s=i.enrichment,u=s===void 0?[]:s,c=i.destination,d=c===void 0?[]:c,v=i.after,m=v===void 0?[]:v;return{before:o,enrichment:u,destinations:d,after:m}},e.prototype.flushOne=function(r){var n,i;return W(this,void 0,void 0,function(){var a,o,s,u,c,d,b,v,m,g,b,w,A,P,E;return K(this,function(_){switch(_.label){case 0:if(!this.isReady())throw new Error("Not ready");r.attempts>1&&this.emit("delivery_retry",r),a=this.availableExtensions((n=r.event.integrations)!==null&&n!==void 0?n:{}),o=a.before,s=a.enrichment,u=0,c=o,_.label=1;case 1:return u0){var s=!1,u=function(){s||(s=!0,r.flush().catch(Dp),s=!1,setTimeout(u,r.flushTimer))};u()}}return t.prototype.increment=function(e,r){if(e.includes("analytics_js.")&&r.length!==0&&!(Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var n=LU(e,r,uD());this.queue.push(n),e.includes("error")&&this.flush().catch(Dp)}},t.prototype.flush=function(){return W(this,void 0,void 0,function(){var e=this;return K(this,function(r){switch(r.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch(function(n){Dp(n),e.sampleRate=0})];case 1:return r.sent(),[2]}})})},t.prototype.send=function(){return W(this,void 0,void 0,function(){var e,r,n;return K(this,function(i){return e={series:this.queue},this.queue=[],r={"Content-Type":"text/plain"},n="https://".concat(this.host,"/m"),[2,nd(n,{headers:r,body:JSON.stringify(e),method:"POST"})]})})},t}(),al,cD=function(t){en(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.initRemoteMetrics=function(r){al=new FU(r)},e.prototype.increment=function(r,n,i){t.prototype.increment.call(this,r,n,i),al==null||al.increment(r,i??[])},e}(aD),ra=function(t){en(e,t);function e(r,n){return t.call(this,r,n,new cD)||this}return e.system=function(){return new this({type:"track",event:"system"})},e}(Gc),ke=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Og(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function fD(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var dD={exports:{}};(function(t,e){(function(r){t.exports=r()})(function(r){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function i(P,E){var _=P[0],l=P[1],p=P[2],h=P[3];_+=(l&p|~l&h)+E[0]-680876936|0,_=(_<<7|_>>>25)+l|0,h+=(_&l|~_&p)+E[1]-389564586|0,h=(h<<12|h>>>20)+_|0,p+=(h&_|~h&l)+E[2]+606105819|0,p=(p<<17|p>>>15)+h|0,l+=(p&h|~p&_)+E[3]-1044525330|0,l=(l<<22|l>>>10)+p|0,_+=(l&p|~l&h)+E[4]-176418897|0,_=(_<<7|_>>>25)+l|0,h+=(_&l|~_&p)+E[5]+1200080426|0,h=(h<<12|h>>>20)+_|0,p+=(h&_|~h&l)+E[6]-1473231341|0,p=(p<<17|p>>>15)+h|0,l+=(p&h|~p&_)+E[7]-45705983|0,l=(l<<22|l>>>10)+p|0,_+=(l&p|~l&h)+E[8]+1770035416|0,_=(_<<7|_>>>25)+l|0,h+=(_&l|~_&p)+E[9]-1958414417|0,h=(h<<12|h>>>20)+_|0,p+=(h&_|~h&l)+E[10]-42063|0,p=(p<<17|p>>>15)+h|0,l+=(p&h|~p&_)+E[11]-1990404162|0,l=(l<<22|l>>>10)+p|0,_+=(l&p|~l&h)+E[12]+1804603682|0,_=(_<<7|_>>>25)+l|0,h+=(_&l|~_&p)+E[13]-40341101|0,h=(h<<12|h>>>20)+_|0,p+=(h&_|~h&l)+E[14]-1502002290|0,p=(p<<17|p>>>15)+h|0,l+=(p&h|~p&_)+E[15]+1236535329|0,l=(l<<22|l>>>10)+p|0,_+=(l&h|p&~h)+E[1]-165796510|0,_=(_<<5|_>>>27)+l|0,h+=(_&p|l&~p)+E[6]-1069501632|0,h=(h<<9|h>>>23)+_|0,p+=(h&l|_&~l)+E[11]+643717713|0,p=(p<<14|p>>>18)+h|0,l+=(p&_|h&~_)+E[0]-373897302|0,l=(l<<20|l>>>12)+p|0,_+=(l&h|p&~h)+E[5]-701558691|0,_=(_<<5|_>>>27)+l|0,h+=(_&p|l&~p)+E[10]+38016083|0,h=(h<<9|h>>>23)+_|0,p+=(h&l|_&~l)+E[15]-660478335|0,p=(p<<14|p>>>18)+h|0,l+=(p&_|h&~_)+E[4]-405537848|0,l=(l<<20|l>>>12)+p|0,_+=(l&h|p&~h)+E[9]+568446438|0,_=(_<<5|_>>>27)+l|0,h+=(_&p|l&~p)+E[14]-1019803690|0,h=(h<<9|h>>>23)+_|0,p+=(h&l|_&~l)+E[3]-187363961|0,p=(p<<14|p>>>18)+h|0,l+=(p&_|h&~_)+E[8]+1163531501|0,l=(l<<20|l>>>12)+p|0,_+=(l&h|p&~h)+E[13]-1444681467|0,_=(_<<5|_>>>27)+l|0,h+=(_&p|l&~p)+E[2]-51403784|0,h=(h<<9|h>>>23)+_|0,p+=(h&l|_&~l)+E[7]+1735328473|0,p=(p<<14|p>>>18)+h|0,l+=(p&_|h&~_)+E[12]-1926607734|0,l=(l<<20|l>>>12)+p|0,_+=(l^p^h)+E[5]-378558|0,_=(_<<4|_>>>28)+l|0,h+=(_^l^p)+E[8]-2022574463|0,h=(h<<11|h>>>21)+_|0,p+=(h^_^l)+E[11]+1839030562|0,p=(p<<16|p>>>16)+h|0,l+=(p^h^_)+E[14]-35309556|0,l=(l<<23|l>>>9)+p|0,_+=(l^p^h)+E[1]-1530992060|0,_=(_<<4|_>>>28)+l|0,h+=(_^l^p)+E[4]+1272893353|0,h=(h<<11|h>>>21)+_|0,p+=(h^_^l)+E[7]-155497632|0,p=(p<<16|p>>>16)+h|0,l+=(p^h^_)+E[10]-1094730640|0,l=(l<<23|l>>>9)+p|0,_+=(l^p^h)+E[13]+681279174|0,_=(_<<4|_>>>28)+l|0,h+=(_^l^p)+E[0]-358537222|0,h=(h<<11|h>>>21)+_|0,p+=(h^_^l)+E[3]-722521979|0,p=(p<<16|p>>>16)+h|0,l+=(p^h^_)+E[6]+76029189|0,l=(l<<23|l>>>9)+p|0,_+=(l^p^h)+E[9]-640364487|0,_=(_<<4|_>>>28)+l|0,h+=(_^l^p)+E[12]-421815835|0,h=(h<<11|h>>>21)+_|0,p+=(h^_^l)+E[15]+530742520|0,p=(p<<16|p>>>16)+h|0,l+=(p^h^_)+E[2]-995338651|0,l=(l<<23|l>>>9)+p|0,_+=(p^(l|~h))+E[0]-198630844|0,_=(_<<6|_>>>26)+l|0,h+=(l^(_|~p))+E[7]+1126891415|0,h=(h<<10|h>>>22)+_|0,p+=(_^(h|~l))+E[14]-1416354905|0,p=(p<<15|p>>>17)+h|0,l+=(h^(p|~_))+E[5]-57434055|0,l=(l<<21|l>>>11)+p|0,_+=(p^(l|~h))+E[12]+1700485571|0,_=(_<<6|_>>>26)+l|0,h+=(l^(_|~p))+E[3]-1894986606|0,h=(h<<10|h>>>22)+_|0,p+=(_^(h|~l))+E[10]-1051523|0,p=(p<<15|p>>>17)+h|0,l+=(h^(p|~_))+E[1]-2054922799|0,l=(l<<21|l>>>11)+p|0,_+=(p^(l|~h))+E[8]+1873313359|0,_=(_<<6|_>>>26)+l|0,h+=(l^(_|~p))+E[15]-30611744|0,h=(h<<10|h>>>22)+_|0,p+=(_^(h|~l))+E[6]-1560198380|0,p=(p<<15|p>>>17)+h|0,l+=(h^(p|~_))+E[13]+1309151649|0,l=(l<<21|l>>>11)+p|0,_+=(p^(l|~h))+E[4]-145523070|0,_=(_<<6|_>>>26)+l|0,h+=(l^(_|~p))+E[11]-1120210379|0,h=(h<<10|h>>>22)+_|0,p+=(_^(h|~l))+E[2]+718787259|0,p=(p<<15|p>>>17)+h|0,l+=(h^(p|~_))+E[9]-343485551|0,l=(l<<21|l>>>11)+p|0,P[0]=_+P[0]|0,P[1]=l+P[1]|0,P[2]=p+P[2]|0,P[3]=h+P[3]|0}function a(P){var E=[],_;for(_=0;_<64;_+=4)E[_>>2]=P.charCodeAt(_)+(P.charCodeAt(_+1)<<8)+(P.charCodeAt(_+2)<<16)+(P.charCodeAt(_+3)<<24);return E}function o(P){var E=[],_;for(_=0;_<64;_+=4)E[_>>2]=P[_]+(P[_+1]<<8)+(P[_+2]<<16)+(P[_+3]<<24);return E}function s(P){var E=P.length,_=[1732584193,-271733879,-1732584194,271733878],l,p,h,O,C,k;for(l=64;l<=E;l+=64)i(_,a(P.substring(l-64,l)));for(P=P.substring(l-64),p=P.length,h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=0;l>2]|=P.charCodeAt(l)<<(l%4<<3);if(h[l>>2]|=128<<(l%4<<3),l>55)for(i(_,h),l=0;l<16;l+=1)h[l]=0;return O=E*8,O=O.toString(16).match(/(.*?)(.{0,8})$/),C=parseInt(O[2],16),k=parseInt(O[1],16)||0,h[14]=C,h[15]=k,i(_,h),_}function u(P){var E=P.length,_=[1732584193,-271733879,-1732584194,271733878],l,p,h,O,C,k;for(l=64;l<=E;l+=64)i(_,o(P.subarray(l-64,l)));for(P=l-64>2]|=P[l]<<(l%4<<3);if(h[l>>2]|=128<<(l%4<<3),l>55)for(i(_,h),l=0;l<16;l+=1)h[l]=0;return O=E*8,O=O.toString(16).match(/(.*?)(.{0,8})$/),C=parseInt(O[2],16),k=parseInt(O[1],16)||0,h[14]=C,h[15]=k,i(_,h),_}function c(P){var E="",_;for(_=0;_<4;_+=1)E+=n[P>>_*8+4&15]+n[P>>_*8&15];return E}function d(P){var E;for(E=0;Eh?new ArrayBuffer(0):(O=h-p,C=new ArrayBuffer(O),k=new Uint8Array(C),$=new Uint8Array(this,p,O),k.set($),C)}}();function v(P){return/[\u0080-\uFFFF]/.test(P)&&(P=unescape(encodeURIComponent(P))),P}function m(P,E){var _=P.length,l=new ArrayBuffer(_),p=new Uint8Array(l),h;for(h=0;h<_;h+=1)p[h]=P.charCodeAt(h);return E?p:l}function g(P){return String.fromCharCode.apply(null,new Uint8Array(P))}function b(P,E,_){var l=new Uint8Array(P.byteLength+E.byteLength);return l.set(new Uint8Array(P)),l.set(new Uint8Array(E),P.byteLength),_?l:l.buffer}function w(P){var E=[],_=P.length,l;for(l=0;l<_-1;l+=2)E.push(parseInt(P.substr(l,2),16));return String.fromCharCode.apply(String,E)}function A(){this.reset()}return A.prototype.append=function(P){return this.appendBinary(v(P)),this},A.prototype.appendBinary=function(P){this._buff+=P,this._length+=P.length;var E=this._buff.length,_;for(_=64;_<=E;_+=64)i(this._hash,a(this._buff.substring(_-64,_)));return this._buff=this._buff.substring(_-64),this},A.prototype.end=function(P){var E=this._buff,_=E.length,l,p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],h;for(l=0;l<_;l+=1)p[l>>2]|=E.charCodeAt(l)<<(l%4<<3);return this._finish(p,_),h=d(this._hash),P&&(h=w(h)),this.reset(),h},A.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},A.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},A.prototype.setState=function(P){return this._buff=P.buff,this._length=P.length,this._hash=P.hash,this},A.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},A.prototype._finish=function(P,E){var _=E,l,p,h;if(P[_>>2]|=128<<(_%4<<3),_>55)for(i(this._hash,P),_=0;_<16;_+=1)P[_]=0;l=this._length*8,l=l.toString(16).match(/(.*?)(.{0,8})$/),p=parseInt(l[2],16),h=parseInt(l[1],16)||0,P[14]=p,P[15]=h,i(this._hash,P)},A.hash=function(P,E){return A.hashBinary(v(P),E)},A.hashBinary=function(P,E){var _=s(P),l=d(_);return E?w(l):l},A.ArrayBuffer=function(){this.reset()},A.ArrayBuffer.prototype.append=function(P){var E=b(this._buff.buffer,P,!0),_=E.length,l;for(this._length+=P.byteLength,l=64;l<=_;l+=64)i(this._hash,o(E.subarray(l-64,l)));return this._buff=l-64<_?new Uint8Array(E.buffer.slice(l-64)):new Uint8Array(0),this},A.ArrayBuffer.prototype.end=function(P){var E=this._buff,_=E.length,l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],p,h;for(p=0;p<_;p+=1)l[p>>2]|=E[p]<<(p%4<<3);return this._finish(l,_),h=d(this._hash),P&&(h=w(h)),this.reset(),h},A.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},A.ArrayBuffer.prototype.getState=function(){var P=A.prototype.getState.call(this);return P.buff=g(P.buff),P},A.ArrayBuffer.prototype.setState=function(P){return P.buff=m(P.buff,!0),A.prototype.setState.call(this,P)},A.ArrayBuffer.prototype.destroy=A.prototype.destroy,A.ArrayBuffer.prototype._finish=A.prototype._finish,A.ArrayBuffer.hash=function(P,E){var _=u(new Uint8Array(P)),l=d(_);return E?w(l):l},A})})(dD);var xU=dD.exports;const HU=Og(xU);var pD="bpc",hD=function(t,e,r,n,i,a){return{__t:pD,c:e,p:n,u:t,s:r,t:i,r:a}},VU=Object.keys(hD("","","","","",""));function zU(t){if(!gr(t)||t.__t!==pD)return!1;for(var e in t)if(!VU.includes(e))return!1;return!0}var UU=function(t,e){return t.indexOf("?")>-1?t:t+e},GU=function(t){var e=t.indexOf("#");return e===-1?t:t.slice(0,e)},WU=function(t){try{return new URL(t).pathname}catch{return t[0]==="/"?t:"/"+t}},vD=function(t){var e=t.c,r=t.p,n=t.s,i=t.u,a=t.r,o=t.t,s=e?WU(e):r,u=e?UU(e,n):GU(i);return{path:s,referrer:a,search:n,title:o,url:u}},mD=function(){var t=document.querySelector("link[rel='canonical']");return hD(location.href,t&&t.getAttribute("href")||void 0,location.search,location.pathname,document.title,document.referrer)},KU=function(){return vD(mD())};function qU(t,e){return Object.assign.apply(Object,it([{}],e.map(function(r){var n;if(t&&Object.prototype.hasOwnProperty.call(t,r))return n={},n[r]=t[r],n}),!1))}var YU=function(t,e){e===void 0&&(e=KU());var r=t.context,n;t.type==="page"&&(n=t.properties&&qU(t.properties,Object.keys(e)),t.properties=V(V(V({},e),t.properties),t.name?{name:t.name}:{})),r.page=V(V(V({},e),n),r.page)},XU=function(){function t(e){this.user=e}return t.prototype.track=function(e,r,n,i,a){return this.normalize(V(V({},this.baseEvent()),{event:e,type:"track",properties:r,options:V({},n),integrations:V({},i)}),a)},t.prototype.page=function(e,r,n,i,a,o){var s,u={type:"page",properties:V({},n),options:V({},i),integrations:V({},a)};return e!==null&&(u.category=e,u.properties=(s=u.properties)!==null&&s!==void 0?s:{},u.properties.category=e),r!==null&&(u.name=r),this.normalize(V(V({},this.baseEvent()),u),o)},t.prototype.screen=function(e,r,n,i,a,o){var s={type:"screen",properties:V({},n),options:V({},i),integrations:V({},a)};return e!==null&&(s.category=e),r!==null&&(s.name=r),this.normalize(V(V({},this.baseEvent()),s),o)},t.prototype.identify=function(e,r,n,i,a){return this.normalize(V(V({},this.baseEvent()),{type:"identify",userId:e,traits:r,options:V({},n),integrations:V({},i)}),a)},t.prototype.group=function(e,r,n,i,a){return this.normalize(V(V({},this.baseEvent()),{type:"group",traits:r,options:V({},n),integrations:V({},i),groupId:e}),a)},t.prototype.alias=function(e,r,n,i,a){var o={userId:e,type:"alias",options:V({},n),integrations:V({},i)};return r!==null&&(o.previousId=r),e===void 0?this.normalize(V(V({},o),this.baseEvent())):this.normalize(V(V({},this.baseEvent()),o),a)},t.prototype.baseEvent=function(){var e={integrations:{},options:{}},r=this.user;return r.id()&&(e.userId=r.id()),r.anonymousId()&&(e.anonymousId=r.anonymousId()),e},t.prototype.context=function(e){var r,n,i,a=["integrations","anonymousId","timestamp","userId"],o=(r=e.options)!==null&&r!==void 0?r:{};delete o.integrations;var s=Object.keys(o),u=(i=(n=e.options)===null||n===void 0?void 0:n.context)!==null&&i!==void 0?i:{},c={};return s.forEach(function(d){d!=="context"&&(a.includes(d)?Uc(c,d,o[d]):Uc(u,d,o[d]))}),[u,c]},t.prototype.normalize=function(e,r){var n,i,a;!((n=e.options)===null||n===void 0)&&n.anonymousId&&this.user.anonymousId(e.options.anonymousId);var o=Object.keys((i=e.integrations)!==null&&i!==void 0?i:{}).reduce(function(g,b){var w,A;return V(V({},g),(w={},w[b]=!!(!((A=e.integrations)===null||A===void 0)&&A[b]),w))},{}),s=V(V({},o),(a=e.options)===null||a===void 0?void 0:a.integrations),u=this.context(e),c=u[0],d=u[1];e.options;var v=tD(e,["options"]),m=V(V(V(V({timestamp:new Date},v),{context:c,integrations:s}),d),{messageId:"ajs-next-"+HU.hash(JSON.stringify(e)+yg())});return YU(m,r),m},t}(),vn={getItem:function(){},setItem:function(){},removeItem:function(){}};try{vn=_g()&&window.localStorage?window.localStorage:vn}catch(t){console.warn("Unable to access localStorage",t)}function gD(t){var e=vn.getItem(t);return(e?JSON.parse(e):[]).map(function(r){return new ra(r.event,r.id)})}function JU(t,e){var r=gD(t),n=it(it([],e,!0),r,!0),i=n.reduce(function(a,o){var s;return V(V({},a),(s={},s[o.id]=o,s))},{});vn.setItem(t,JSON.stringify(Object.values(i)))}function bD(t){var e=vn.getItem(t);return e?JSON.parse(e):{}}function ZU(t,e){var r=bD(t);vn.setItem(t,JSON.stringify(V(V({},r),e)))}function gP(t){vn.removeItem(t)}var QU=function(){return new Date().getTime()};function hv(t,e,r){r===void 0&&(r=0);var n=50,i="persisted-queue:v1:".concat(t,":lock"),a=function(c){return new Date().getTime()>c},o=vn.getItem(i),s=o?JSON.parse(o):null,u=s===null||a(s);if(u){vn.setItem(i,JSON.stringify(QU()+n)),e(),vn.removeItem(i);return}!u&&r<3?setTimeout(function(){hv(t,e,r+1)},n):console.error("Unable to retrieve lock")}var id=function(t){en(e,t);function e(r,n){var i=t.call(this,r,[])||this,a="persisted-queue:v1:".concat(n,":items"),o="persisted-queue:v1:".concat(n,":seen"),s=[],u={};return hv(n,function(){try{s=gD(a),u=bD(o),gP(a),gP(o),i.queue=it(it([],s,!0),i.queue,!0),i.seen=V(V({},u),i.seen)}catch(c){console.error(c)}}),window.addEventListener("pagehide",function(){if(i.todo>0){var c=it(it([],i.queue,!0),i.future,!0);try{hv(n,function(){JU(a,c),ZU(o,i.seen)})}catch(d){console.error(d)}}}),i}return e}(rd),eG=function(t){en(e,t);function e(r){return t.call(this,typeof r=="string"?new id(4,r):r)||this}return e.prototype.flush=function(){return W(this,void 0,void 0,function(){return K(this,function(r){return _a()?[2,[]]:[2,t.prototype.flush.call(this)]})})},e}(kU);function Pg(t){for(var e=t.constructor.prototype,r=0,n=Object.getOwnPropertyNames(e);r"u")){o=ol({},e,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var u in o)o[u]&&(s+="; "+u,o[u]!==!0&&(s+="="+o[u].split(";")[0]));return document.cookie=i+"="+t.write(a,i)+s}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},s=0;s0||r.length<=1)return i;for(var a=r.length-2;a>=0;--a)i.push(r.slice(a).join("."));return i}function nG(t){try{return new URL(t)}catch{return}}function yD(t){var e=nG(t);if(e)for(var r=rG(e),n=0;nPromise.resolve().then(()=>ll),void 0,import.meta.url)];case 1:return i=o.sent(),[2,(a=i.link).call.apply(a,it([this],r,!1))]}})})},e.prototype.trackLink=function(){for(var r=[],n=0;nPromise.resolve().then(()=>ll),void 0,import.meta.url)];case 1:return i=o.sent(),[2,(a=i.link).call.apply(a,it([this],r,!1))]}})})},e.prototype.trackSubmit=function(){for(var r=[],n=0;nPromise.resolve().then(()=>ll),void 0,import.meta.url)];case 1:return i=o.sent(),[2,(a=i.form).call.apply(a,it([this],r,!1))]}})})},e.prototype.trackForm=function(){for(var r=[],n=0;nPromise.resolve().then(()=>ll),void 0,import.meta.url)];case 1:return i=o.sent(),[2,(a=i.form).call.apply(a,it([this],r,!1))]}})})},e.prototype.register=function(){for(var r=[],n=0;nPromise.resolve().then(()=>y9),void 0,import.meta.url)];case 1:return a=u.sent().sourceMiddlewarePlugin,o={},this.queue.plugins.forEach(function(c){if(c.type==="destination")return o[c.name]=!0}),s=a(r,o),[4,this.register(s)];case 2:return u.sent(),[2]}})})})];case 1:return i.sent(),[2,this]}})})},e.prototype.addDestinationMiddleware=function(r){for(var n=[],i=1;iPromise.resolve().then(()=>KK),void 0,import.meta.url)];case 1:return n=i.sent().queryString,[2,n(this,r)]}})})},e.prototype.use=function(r){return r(this),this},e.prototype.ready=function(r){return r===void 0&&(r=function(n){return n}),W(this,void 0,void 0,function(){return K(this,function(n){return[2,Promise.all(this.queue.plugins.map(function(i){return i.ready?i.ready():Promise.resolve()})).then(function(i){return r(i),i})]})})},e.prototype.noConflict=function(){return console.warn(Zn),lG(Ip??this),this},e.prototype.normalize=function(r){return console.warn(Zn),this.eventFactory.normalize(r)},Object.defineProperty(e.prototype,"failedInitializations",{get:function(){return console.warn(Zn),this.queue.failedInitializations},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"VERSION",{get:function(){return iu},enumerable:!1,configurable:!0}),e.prototype.initialize=function(r,n){return W(this,void 0,void 0,function(){return K(this,function(i){return console.warn(Zn),[2,Promise.resolve(this)]})})},e.prototype.pageview=function(r){return W(this,void 0,void 0,function(){return K(this,function(n){switch(n.label){case 0:return console.warn(Zn),[4,this.page({path:r})];case 1:return n.sent(),[2,this]}})})},Object.defineProperty(e.prototype,"plugins",{get:function(){var r;return console.warn(Zn),(r=this._plugins)!==null&&r!==void 0?r:{}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Integrations",{get:function(){console.warn(Zn);var r=this.queue.plugins.filter(function(n){return n.type==="destination"}).reduce(function(n,i){var a="".concat(i.name.toLowerCase().replace(".","").split(" ").join("-"),"Integration"),o=window[a];if(!o)return n;var s=o.Integration;return s?(n[i.name]=s,n):(n[i.name]=o,n)},{});return r},enumerable:!1,configurable:!0}),e.prototype.push=function(r){var n=this,i=r.shift();i&&!n[i]||n[i].apply(this,r)},e}(mg);function ED(){return typeof process>"u"||!process.env?{}:process.env}var yG=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,_G=function(){var t,e=Array.prototype.slice.call(document.querySelectorAll("script"));return e.forEach(function(r){var n,i=(n=r.getAttribute("src"))!==null&&n!==void 0?n:"",a=yG.exec(i);a&&a[1]&&(t=a[1])}),t},xl,wG=function(){var t,e=xl??((t=Eg())===null||t===void 0?void 0:t._cdn);return e},OG=function(t){var e=Eg();e&&(e._cdn=t),xl=t},Cg=function(){var t=wG();if(t)return t;var e=_G();return e||"https://cdn.segment.com"},Ag=function(){var t=Cg();return"".concat(t,"/next-integrations")};function $D(t,e){var r,n=Object.entries((r=e.integrations)!==null&&r!==void 0?r:{}).reduce(function(i,a){var o,s,u=a[0],c=a[1];return typeof c=="object"?V(V({},i),(o={},o[u]=c,o)):V(V({},i),(s={},s[u]={},s))},{});return Object.entries(t.integrations).reduce(function(i,a){var o,s=a[0],u=a[1];return V(V({},i),(o={},o[s]=V(V({},u),n[s]),o))},{})}var PG=function(){var t,e,r=new Promise(function(n,i){t=n,e=i});return{resolve:t,reject:e,promise:r}};function CD(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return t}}function SG(t){return W(this,void 0,void 0,function(){var e;return K(this,function(r){return e=navigator.userAgentData,e?t?[2,e.getHighEntropyValues(t).catch(function(){return e.toJSON()})]:[2,e.toJSON()]:[2,void 0]})})}var ps;function TG(){if(ps)return ps;var t=yD(window.location.href);return ps={expires:31536e6,secure:!1,path:"/"},t&&(ps.domain=t),ps}function EG(t){var e={btid:"dataxu",urid:"millennial-media"};t.startsWith("?")&&(t=t.substring(1)),t=t.replace(/\?/g,"&");for(var r=t.split("&"),n=0,i=r;n4){var s=i.slice(4);s==="campaign"&&(s="name"),e[s]=CD(o)}return e},{})}function CG(){var t=In.get("_ga");if(t&&t.startsWith("amp"))return t}function AG(t,e,r){var n,i=new na(r?[]:[new _D(TG())]),a=i.get("s:context.referrer"),o=(n=EG(t))!==null&&n!==void 0?n:a;o&&(e&&(e.referrer=V(V({},e.referrer),o)),i.set("s:context.referrer",o))}var DG=function(t){try{var e=new URLSearchParams;return Object.entries(t).forEach(function(r){var n=r[0],i=r[1];Array.isArray(i)?i.forEach(function(a){return e.append(n,a)}):e.append(n,i)}),e.toString()}catch{return""}},kG=function(){function t(){var e=this;this.name="Page Enrichment",this.type="before",this.version="0.1.0",this.isLoaded=function(){return!0},this.load=function(r,n){return W(e,void 0,void 0,function(){var i;return K(this,function(a){switch(a.label){case 0:this.instance=n,a.label=1;case 1:return a.trys.push([1,3,,4]),i=this,[4,SG(this.instance.options.highEntropyValuesClientHints)];case 2:return i.userAgentData=a.sent(),[3,4];case 3:return a.sent(),[3,4];case 4:return[2,Promise.resolve()]}})})},this.enrich=function(r){var n,i,a=r.event.context,o=a.page.search||"",s=typeof o=="object"?DG(o):o;a.userAgent=navigator.userAgent,a.userAgentData=e.userAgentData;var u=navigator.userLanguage||navigator.language;typeof a.locale>"u"&&typeof u<"u"&&(a.locale=u),(n=a.library)!==null&&n!==void 0||(a.library={name:"analytics.js",version:"".concat(uD()==="web"?"next":"npm:next","-").concat(iu)}),s&&!a.campaign&&(a.campaign=$G(s));var c=CG();c&&(a.amp={id:c}),AG(s,a,(i=e.instance.options.disableClientPersistence)!==null&&i!==void 0?i:!1);try{a.timezone=Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}return r},this.track=this.enrich,this.identify=this.enrich,this.page=this.enrich,this.group=this.enrich,this.alias=this.enrich,this.screen=this.enrich}return t}(),MG=new kG;function AD(t){var e=Array.prototype.slice.call(window.document.querySelectorAll("script"));return e.find(function(r){return r.src===t})}function vo(t,e){var r=AD(t);if(r!==void 0){var n=r==null?void 0:r.getAttribute("status");if(n==="loaded")return Promise.resolve(r);if(n==="loading")return new Promise(function(i,a){r.addEventListener("load",function(){return i(r)}),r.addEventListener("error",function(o){return a(o)})})}return new Promise(function(i,a){var o,s=window.document.createElement("script");s.type="text/javascript",s.src=t,s.async=!0,s.setAttribute("status","loading");for(var u=0,c=Object.entries(e??{});u-1&&(t.type="ios"),e.indexOf("android")>-1&&(t.type="android")),t};We.userAgent=Pr.proxy("context.userAgent");We.timezone=Pr.proxy("context.timezone");We.timestamp=Pr.field("timestamp");We.channel=Pr.field("channel");We.ip=Pr.proxy("context.ip");We.userId=Pr.field("userId");KG.default(We);function _v(t){return Co.clone(t)}var ud={},wv={exports:{}};typeof Object.create=="function"?wv.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:wv.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}};var Aa=wv.exports,JG=ke&&ke.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ud,"__esModule",{value:!0});ud.Alias=void 0;var ZG=JG(Aa),ID=Pn;function Ur(t,e){ID.Facade.call(this,t,e)}ud.Alias=Ur;ZG.default(Ur,ID.Facade);Ur.prototype.action=function(){return"alias"};Ur.prototype.type=Ur.prototype.action;Ur.prototype.previousId=function(){return this.field("previousId")||this.field("from")};Ur.prototype.from=Ur.prototype.previousId;Ur.prototype.userId=function(){return this.field("userId")||this.field("to")};Ur.prototype.to=Ur.prototype.userId;var ld={},Fo={};Object.defineProperty(Fo,"__esModule",{value:!0});var QG=/.+\@.+\..+/;function e9(t){return QG.test(t)}Fo.default=e9;var jg=ke&&ke.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ld,"__esModule",{value:!0});ld.Group=void 0;var t9=jg(Aa),r9=jg(Fo),n9=jg(Rg),xo=Pn;function Bg(t,e){xo.Facade.call(this,t,e)}ld.Group=Bg;t9.default(Bg,xo.Facade);var Gr=Bg.prototype;Gr.action=function(){return"group"};Gr.type=Gr.action;Gr.groupId=xo.Facade.field("groupId");Gr.created=function(){var t=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(t)return n9.default(t)};Gr.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.groupId();if(r9.default(e))return e};Gr.traits=function(t){var e=this.properties(),r=this.groupId();t=t||{},r&&(e.id=r);for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var i=this[n]==null?this.proxy("traits."+n):this[n]();if(i==null)continue;e[t[n]]=i,delete e[n]}return e};Gr.name=xo.Facade.proxy("traits.name");Gr.industry=xo.Facade.proxy("traits.industry");Gr.employees=xo.Facade.proxy("traits.employees");Gr.properties=function(){return this.field("traits")||this.field("properties")||{}};var Pu={},cd=ke&&ke.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Pu,"__esModule",{value:!0});Pu.Identify=void 0;var Sn=Pn,mo=cd(ad),i9=cd(Aa),a9=cd(Fo),RD=cd(Rg),ia=function(t){return t.trim()};function Lg(t,e){Sn.Facade.call(this,t,e)}Pu.Identify=Lg;i9.default(Lg,Sn.Facade);var Ke=Lg.prototype;Ke.action=function(){return"identify"};Ke.type=Ke.action;Ke.traits=function(t){var e=this.field("traits")||{},r=this.userId();t=t||{},r&&(e.id=r);for(var n in t){var i=this[n]==null?this.proxy("traits."+n):this[n]();i!=null&&(e[t[n]]=i,n!==t[n]&&delete e[n])}return e};Ke.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.userId();if(a9.default(e))return e};Ke.created=function(){var t=this.proxy("traits.created")||this.proxy("traits.createdAt");if(t)return RD.default(t)};Ke.companyCreated=function(){var t=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(t)return RD.default(t)};Ke.companyName=function(){return this.proxy("traits.company.name")};Ke.name=function(){var t=this.proxy("traits.name");if(typeof t=="string")return ia(t);var e=this.firstName(),r=this.lastName();if(e&&r)return ia(e+" "+r)};Ke.firstName=function(){var t=this.proxy("traits.firstName");if(typeof t=="string")return ia(t);var e=this.proxy("traits.name");if(typeof e=="string")return ia(e).split(" ")[0]};Ke.lastName=function(){var t=this.proxy("traits.lastName");if(typeof t=="string")return ia(t);var e=this.proxy("traits.name");if(typeof e=="string"){var r=ia(e).indexOf(" ");if(r!==-1)return ia(e.substr(r+1))}};Ke.uid=function(){return this.userId()||this.username()||this.email()};Ke.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")};Ke.age=function(){var t=this.birthday(),e=mo.default(this.traits(),"age");if(e!=null)return e;if(t instanceof Date){var r=new Date;return r.getFullYear()-t.getFullYear()}};Ke.avatar=function(){var t=this.traits();return mo.default(t,"avatar")||mo.default(t,"photoUrl")||mo.default(t,"avatarUrl")};Ke.position=function(){var t=this.traits();return mo.default(t,"position")||mo.default(t,"jobTitle")};Ke.username=Sn.Facade.proxy("traits.username");Ke.website=Sn.Facade.one("traits.website");Ke.websites=Sn.Facade.multi("traits.website");Ke.phone=Sn.Facade.one("traits.phone");Ke.phones=Sn.Facade.multi("traits.phone");Ke.address=Sn.Facade.proxy("traits.address");Ke.gender=Sn.Facade.proxy("traits.gender");Ke.birthday=Sn.Facade.proxy("traits.birthday");var Ho={},Fg=ke&&ke.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ho,"__esModule",{value:!0});Ho.Track=void 0;var o9=Fg(Aa),yt=Pn,s9=Pu,u9=Fg(Fo),ND=Fg(ad);function xg(t,e){yt.Facade.call(this,t,e)}Ho.Track=xg;o9.default(xg,yt.Facade);var ve=xg.prototype;ve.action=function(){return"track"};ve.type=ve.action;ve.event=yt.Facade.field("event");ve.value=yt.Facade.proxy("properties.value");ve.category=yt.Facade.proxy("properties.category");ve.id=yt.Facade.proxy("properties.id");ve.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")};ve.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")};ve.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")};ve.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")};ve.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")};ve.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")};ve.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")};ve.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")};ve.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")};ve.sku=yt.Facade.proxy("properties.sku");ve.tax=yt.Facade.proxy("properties.tax");ve.name=yt.Facade.proxy("properties.name");ve.price=yt.Facade.proxy("properties.price");ve.total=yt.Facade.proxy("properties.total");ve.repeat=yt.Facade.proxy("properties.repeat");ve.coupon=yt.Facade.proxy("properties.coupon");ve.shipping=yt.Facade.proxy("properties.shipping");ve.discount=yt.Facade.proxy("properties.discount");ve.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")};ve.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")};ve.description=yt.Facade.proxy("properties.description");ve.plan=yt.Facade.proxy("properties.plan");ve.subtotal=function(){var t=ND.default(this.properties(),"subtotal"),e=this.total()||this.revenue();if(t)return t;if(!e)return 0;if(this.total()){var r=this.tax();r&&(e-=r),r=this.shipping(),r&&(e-=r),r=this.discount(),r&&(e+=r)}return e};ve.products=function(){var t=this.properties(),e=ND.default(t,"products");return Array.isArray(e)?e.filter(function(r){return r!==null}):[]};ve.quantity=function(){var t=this.obj.properties||{};return t.quantity||1};ve.currency=function(){var t=this.obj.properties||{};return t.currency||"USD"};ve.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};ve.query=yt.Facade.proxy("options.query");ve.properties=function(t){var e=this.field("properties")||{};t=t||{};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=this[r]==null?this.proxy("properties."+r):this[r]();if(n==null)continue;e[t[r]]=n,delete e[r]}return e};ve.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()};ve.email=function(){var t=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(t)return t;var e=this.userId();if(u9.default(e))return e};ve.revenue=function(){var t=this.proxy("properties.revenue"),e=this.event(),r=/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i;return!t&&e&&e.match(r)&&(t=this.proxy("properties.total")),l9(t)};ve.cents=function(){var t=this.revenue();return typeof t!="number"?this.value()||0:t*100};ve.identify=function(){var t=this.json();return t.traits=this.traits(),new s9.Identify(t,this.opts)};function l9(t){if(t){if(typeof t=="number")return t;if(typeof t=="string"&&(t=t.replace(/\$/g,""),t=parseFloat(t),!isNaN(t)))return t}}var Su={},jD=ke&&ke.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Su,"__esModule",{value:!0});Su.Page=void 0;var c9=jD(Aa),Da=Pn,f9=Ho,d9=jD(Fo);function Hg(t,e){Da.Facade.call(this,t,e)}Su.Page=Hg;c9.default(Hg,Da.Facade);var rr=Hg.prototype;rr.action=function(){return"page"};rr.type=rr.action;rr.category=Da.Facade.field("category");rr.name=Da.Facade.field("name");rr.title=Da.Facade.proxy("properties.title");rr.path=Da.Facade.proxy("properties.path");rr.url=Da.Facade.proxy("properties.url");rr.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};rr.properties=function(t){var e=this.field("properties")||{},r=this.category(),n=this.name();t=t||{},r&&(e.category=r),n&&(e.name=n);for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=this[i]==null?this.proxy("properties."+i):this[i]();if(a==null)continue;e[t[i]]=a,i!==t[i]&&delete e[i]}return e};rr.email=function(){var t=this.proxy("context.traits.email")||this.proxy("properties.email");if(t)return t;var e=this.userId();if(d9.default(e))return e};rr.fullName=function(){var t=this.category(),e=this.name();return e&&t?t+" "+e:e};rr.event=function(t){return t?"Viewed "+t+" Page":"Loaded a Page"};rr.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new f9.Track(e,this.opts)};var fd={},p9=ke&&ke.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fd,"__esModule",{value:!0});fd.Screen=void 0;var h9=p9(Aa),BD=Su,v9=Ho;function wa(t,e){BD.Page.call(this,t,e)}fd.Screen=wa;h9.default(wa,BD.Page);wa.prototype.action=function(){return"screen"};wa.prototype.type=wa.prototype.action;wa.prototype.event=function(t){return t?"Viewed "+t+" Screen":"Loaded a Screen"};wa.prototype.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new v9.Track(e,this.opts)};var dd={},m9=ke&&ke.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(dd,"__esModule",{value:!0});dd.Delete=void 0;var g9=m9(Aa),LD=Pn;function Vg(t,e){LD.Facade.call(this,t,e)}dd.Delete=Vg;g9.default(Vg,LD.Facade);Vg.prototype.type=function(){return"delete"};(function(t){var e=ke&&ke.__assign||function(){return e=Object.assign||function(d){for(var v,m=1,g=arguments.length;m=E9-50}function C9(t){var e=[],r=0;return t.forEach(function(n){var i=FD(e[r]);i>=64&&r++,e[r]?e[r].push(n):e[r]=[n]}),e}function A9(t,e){var r,n,i=[],a=!1,o=(r=e==null?void 0:e.size)!==null&&r!==void 0?r:10,s=(n=e==null?void 0:e.timeout)!==null&&n!==void 0?n:5e3;function u(g){var b;if(g.length!==0){var w=(b=g[0])===null||b===void 0?void 0:b.writeKey,A=g.map(function(P){var E=P;E.sentAt;var _=tD(E,["sentAt"]);return _});return nd("https://".concat(t,"/b"),{keepalive:a,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({writeKey:w,batch:A,sentAt:new Date().toISOString()})})}}function c(){return W(this,void 0,void 0,function(){var g;return K(this,function(b){return i.length?(g=i,i=[],[2,u(g)]):[2]})})}var d;function v(){d||(d=setTimeout(function(){d=void 0,c().catch(console.error)},s))}T9(function(g){if(a=g,a&&i.length){var b=C9(i).map(u);Promise.all(b).catch(console.error)}});function m(g,b){return W(this,void 0,void 0,function(){var w;return K(this,function(A){return i.push(b),w=i.length>=o||$9(i),[2,w||a?c():v()]})})}return{dispatch:m}}function D9(t){function e(r,n){return nd(r,{keepalive:t==null?void 0:t.keepalive,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(n)})}return{dispatch:e}}function k9(t,e,r,n){var i,a=t.user();delete e.options,e.writeKey=r==null?void 0:r.apiKey,e.userId=e.userId||a.id(),e.anonymousId=e.anonymousId||a.anonymousId(),e.sentAt=new Date;var o=t.queue.failedInitializations||[];o.length>0&&(e._metadata={failedInitializations:o});var s=[],u=[];for(var c in n){var d=n[c];c==="Segment.io"&&s.push(c),d.bundlingStatus==="bundled"&&s.push(c),d.bundlingStatus==="unbundled"&&u.push(c)}for(var v=0,m=(r==null?void 0:r.unbundledIntegrations)||[];v0&&!_a()},function(){return W(n,void 0,void 0,function(){var a,o,s;return K(this,function(u){switch(u.label){case 0:return a=e.pop(),a?[4,ho(a,t)]:[2];case 1:return o=u.sent(),s=o instanceof ra,s||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return e.pushWithBackoff(a)}),[2,e]}})})}function Ka(t,e,r,n){var i=this;t||setTimeout(function(){return W(i,void 0,void 0,function(){var a,o;return K(this,function(s){switch(s.label){case 0:return a=!0,[4,M9(r,e)];case 1:return o=s.sent(),a=!1,e.todo>0&&n(a,o,r,n),[2]}})})},Math.random()*5e3)}function I9(t,e){var r,n,i,a,o=t.user();return e.previousId=(i=(n=(r=e.previousId)!==null&&r!==void 0?r:e.from)!==null&&n!==void 0?n:o.id())!==null&&i!==void 0?i:o.anonymousId(),e.userId=(a=e.userId)!==null&&a!==void 0?a:e.to,delete e.from,delete e.to,e}function R9(t,e,r){var n,i,a;window.addEventListener("pagehide",function(){s.push.apply(s,Array.from(u)),u.clear()});var o=(n=e==null?void 0:e.apiKey)!==null&&n!==void 0?n:"",s=t.options.disableClientPersistence?new rd(t.queue.queue.maxAttempts,[]):new id(t.queue.queue.maxAttempts,"".concat(o,":dest-Segment.io")),u=new Set,c=!1,d=(i=e==null?void 0:e.apiHost)!==null&&i!==void 0?i:lD,v=(a=e==null?void 0:e.protocol)!==null&&a!==void 0?a:"https",m="".concat(v,"://").concat(d),g=e==null?void 0:e.deliveryStrategy,b=(g==null?void 0:g.strategy)==="batching"?A9(d,g.config):D9(g==null?void 0:g.config);function w(P){return W(this,void 0,void 0,function(){var E,_;return K(this,function(l){return _a()?(s.push(P),Ka(c,s,A,Ka),[2,P]):(u.add(P),E=P.event.type.charAt(0),_=Wc(P.event).json(),P.event.type==="track"&&delete _.traits,P.event.type==="alias"&&(_=I9(t,_)),[2,b.dispatch("".concat(m,"/").concat(E),k9(t,_,e,r)).then(function(){return P}).catch(function(){return s.pushWithBackoff(P),Ka(c,s,A,Ka),P}).finally(function(){u.delete(P)})])})})}var A={name:"Segment.io",type:"after",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:w,identify:w,page:w,alias:w,group:w,screen:w};return s.todo&&Ka(c,s,A,Ka),A}function qa(t){var e,r=t.event;gU(r),bU(r),r.type==="track"&&yU(r);var n=(e=r.properties)!==null&&e!==void 0?e:r.traits;if(r.type!=="alias"&&!gr(n))throw new ya(".properties","is not an object");return mU(r),t}var N9={name:"Event Validation",type:"before",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:qa,identify:qa,page:qa,alias:qa,group:qa,screen:qa},Rp,PP,j9=wg(),SP=(Rp=(PP=j9).__SEGMENT_INSPECTOR__)!==null&&Rp!==void 0?Rp:PP.__SEGMENT_INSPECTOR__={},B9=function(t){var e;return(e=SP.attach)===null||e===void 0?void 0:e.call(SP,t)};function L9(t,e){var r=e??Cg();return nd("".concat(r,"/v1/projects/").concat(t,"/settings")).then(function(n){return n.ok?n.json():n.text().then(function(i){throw new Error(i)})}).catch(function(n){throw console.error(n.message),n})}function F9(t){return ED().NODE_ENV!=="test"&&Object.keys(t.integrations).length>1}function x9(t){var e,r,n;return ED().NODE_ENV!=="test"&&((n=(r=(e=t.middlewareSettings)===null||e===void 0?void 0:e.routingRules)===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0)>0}function H9(t,e){pG(t,e),dG(t,e)}function V9(t,e){return W(this,void 0,void 0,function(){return K(this,function(r){switch(r.label){case 0:return[4,fG(t,e)];case 1:return r.sent(),hG(t,e),e.clear(),[2]}})})}function z9(t,e,r,n,i,a,o){var s,u,c;return a===void 0&&(a=[]),W(this,void 0,void 0,function(){var d,v,m,g,b,w,A,P,E,_,l,p,h,O,C,k=this;return K(this,function($){switch($.label){case 0:return d=a==null?void 0:a.filter(function(I){return typeof I=="object"}),v=a==null?void 0:a.filter(function(I){return typeof I=="function"&&typeof I.pluginName=="string"}),x9(e)?[4,Ar(()=>Promise.resolve().then(()=>sQ),void 0,import.meta.url).then(function(I){return I.tsubMiddleware(e.middlewareSettings.routingRules)})]:[3,2];case 1:return g=$.sent(),[3,3];case 2:g=void 0,$.label=3;case 3:return m=g,F9(e)||o.length>0?[4,Ar(()=>Promise.resolve().then(()=>bQ),void 0,import.meta.url).then(function(I){return I.ajsDestinations(t,e,r.integrations,n,m,o)})]:[3,5];case 4:return w=$.sent(),[3,6];case 5:w=[],$.label=6;case 6:return b=w,e.legacyVideoPluginsEnabled?[4,Ar(()=>Promise.resolve().then(()=>_Q),void 0,import.meta.url).then(function(I){return I.loadLegacyVideoPlugins(r)})]:[3,8];case 7:$.sent(),$.label=8;case 8:return!((s=n.plan)===null||s===void 0)&&s.track?[4,Ar(()=>Promise.resolve().then(()=>PQ),void 0,import.meta.url).then(function(I){var D;return I.schemaFilter((D=n.plan)===null||D===void 0?void 0:D.track,e)})]:[3,10];case 9:return P=$.sent(),[3,11];case 10:P=void 0,$.label=11;case 11:return A=P,E=$D(e,i),[4,S9(e,r.integrations,E,i.obfuscate,m,v).catch(function(){return[]})];case 12:return _=$.sent(),l=it(it(it([N9,MG],d,!0),b,!0),_,!0),A&&l.push(A),p=((u=n.integrations)===null||u===void 0?void 0:u.All)===!1&&!n.integrations["Segment.io"]||n.integrations&&n.integrations["Segment.io"]===!1,p?[3,14]:(O=(h=l).push,[4,R9(r,E["Segment.io"],e.integrations)]);case 13:O.apply(h,[$.sent()]),$.label=14;case 14:return[4,r.register.apply(r,l)];case 15:return C=$.sent(),Object.entries((c=e.enabledMiddleware)!==null&&c!==void 0?c:{}).some(function(I){var D=I[1];return D})?[4,Ar(()=>Promise.resolve().then(()=>TQ),void 0,import.meta.url).then(function(I){var D=I.remoteMiddlewares;return W(k,void 0,void 0,function(){var M,R;return K(this,function(j){switch(j.label){case 0:return[4,D(C,e,i.obfuscate)];case 1:return M=j.sent(),R=M.map(function(S){return r.addSourceMiddleware(S)}),[2,Promise.all(R)]}})})})]:[3,17];case 16:$.sent(),$.label=17;case 17:return[2,C]}})})}function U9(t,e,r){var n,i,a,o,s,u,c;return e===void 0&&(e={}),W(this,void 0,void 0,function(){var d,v,m,g,b,w,A,P,E,_,l;return K(this,function(p){switch(p.label){case 0:return e.globalAnalyticsKey&&uG(e.globalAnalyticsKey),t.cdnURL&&OG(t.cdnURL),(n=t.cdnSettings)!==null&&n!==void 0?(v=n,[3,3]):[3,1];case 1:return[4,L9(t.writeKey,t.cdnURL)];case 2:v=p.sent(),p.label=3;case 3:return d=v,e.updateCDNSettings&&(d=e.updateCDNSettings(d)),m=(a=(i=d.integrations["Segment.io"])===null||i===void 0?void 0:i.retryQueue)!==null&&a!==void 0?a:!0,g=V({retryQueue:m},e),b=new bG(t,g),B9(b),w=(o=t.plugins)!==null&&o!==void 0?o:[],A=(s=t.classicIntegrations)!==null&&s!==void 0?s:[],cD.initRemoteMetrics(d.metrics),H9(b,r),[4,z9(t.writeKey,d,b,g,e,w,A)];case 4:return P=p.sent(),E=(u=window.location.search)!==null&&u!==void 0?u:"",_=(c=window.location.hash)!==null&&c!==void 0?c:"",l=E.length?E:_.replace(/(?=#).*(?=\?)/,""),l.includes("ajs_")?[4,b.queryString(l).catch(console.error)]:[3,6];case 5:p.sent(),p.label=6;case 6:return b.initialized=!0,b.emit("initialize",t,e),e.initialPageview&&b.page().catch(console.error),[4,V9(b,r)];case 7:return p.sent(),[2,[b,P]]}})})}var IQ=function(t){en(e,t);function e(){var r=this,n=PG(),i=n.promise,a=n.resolve;return r=t.call(this,function(o){return i.then(function(s){var u=s[0],c=s[1];return U9(u,c,o)})})||this,r._resolveLoadStart=function(o,s){return a([o,s])},r}return e.prototype.load=function(r,n){return n===void 0&&(n={}),this._resolveLoadStart(r,n),this},e.load=function(r,n){return n===void 0&&(n={}),new e().load(r,n)},e.standalone=function(r,n){return e.load({writeKey:r},n).then(function(i){return i[0]})},e}(mG);/*! * vue-router v3.6.5 * (c) 2022 Evan You * @license MIT */function Lr(t,e){for(var r in e)t[r]=e[r];return t}var G9=/[!'()*]/g,W9=function(t){return"%"+t.charCodeAt(0).toString(16)},K9=/%2C/g,Ya=function(t){return encodeURIComponent(t).replace(G9,W9).replace(K9,",")};function Ov(t){try{return decodeURIComponent(t)}catch{}return t}function q9(t,e,r){e===void 0&&(e={});var n=r||Y9,i;try{i=n(t||"")}catch{i={}}for(var a in e){var o=e[a];i[a]=Array.isArray(o)?o.map(TP):TP(o)}return i}var TP=function(t){return t==null||typeof t=="object"?t:String(t)};function Y9(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t&&t.split("&").forEach(function(r){var n=r.replace(/\+/g," ").split("="),i=Ov(n.shift()),a=n.length>0?Ov(n.join("=")):null;e[i]===void 0?e[i]=a:Array.isArray(e[i])?e[i].push(a):e[i]=[e[i],a]}),e}function X9(t){var e=t?Object.keys(t).map(function(r){var n=t[r];if(n===void 0)return"";if(n===null)return Ya(r);if(Array.isArray(n)){var i=[];return n.forEach(function(a){a!==void 0&&(a===null?i.push(Ya(r)):i.push(Ya(r)+"="+Ya(a)))}),i.join("&")}return Ya(r)+"="+Ya(n)}).filter(function(r){return r.length>0}).join("&"):null;return e?"?"+e:""}var Kc=/\/?$/;function qc(t,e,r,n){var i=n&&n.options.stringifyQuery,a=e.query||{};try{a=Pv(a)}catch{}var o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:a,params:e.params||{},fullPath:EP(e,i),matched:t?J9(t):[]};return r&&(o.redirectedFrom=EP(r,i)),Object.freeze(o)}function Pv(t){if(Array.isArray(t))return t.map(Pv);if(t&&typeof t=="object"){var e={};for(var r in t)e[r]=Pv(t[r]);return e}else return t}var Di=qc(null,{path:"/"});function J9(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function EP(t,e){var r=t.path,n=t.query;n===void 0&&(n={});var i=t.hash;i===void 0&&(i="");var a=e||X9;return(r||"/")+a(n)+i}function HD(t,e,r){return e===Di?t===e:e?t.path&&e.path?t.path.replace(Kc,"")===e.path.replace(Kc,"")&&(r||t.hash===e.hash&&Hl(t.query,e.query)):t.name&&e.name?t.name===e.name&&(r||t.hash===e.hash&&Hl(t.query,e.query)&&Hl(t.params,e.params)):!1:!1}function Hl(t,e){if(t===void 0&&(t={}),e===void 0&&(e={}),!t||!e)return t===e;var r=Object.keys(t).sort(),n=Object.keys(e).sort();return r.length!==n.length?!1:r.every(function(i,a){var o=t[i],s=n[a];if(s!==i)return!1;var u=e[i];return o==null||u==null?o===u:typeof o=="object"&&typeof u=="object"?Hl(o,u):String(o)===String(u)})}function Z9(t,e){return t.path.replace(Kc,"/").indexOf(e.path.replace(Kc,"/"))===0&&(!e.hash||t.hash===e.hash)&&Q9(t.query,e.query)}function Q9(t,e){for(var r in e)if(!(r in t))return!1;return!0}function VD(t){for(var e=0;e=0&&(e=t.slice(n),t=t.slice(0,n));var i=t.indexOf("?");return i>=0&&(r=t.slice(i+1),t=t.slice(0,i)),{path:t,query:r,hash:e}}function fi(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var Yc=Array.isArray||function(t){return Object.prototype.toString.call(t)=="[object Array]"},Vo=WD,nW=Ug,iW=uW,aW=UD,oW=GD,sW=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Ug(t,e){for(var r=[],n=0,i=0,a="",o=e&&e.delimiter||"/",s;(s=sW.exec(t))!=null;){var u=s[0],c=s[1],d=s.index;if(a+=t.slice(i,d),i=d+u.length,c){a+=c[1];continue}var v=t[i],m=s[2],g=s[3],b=s[4],w=s[5],A=s[6],P=s[7];a&&(r.push(a),a="");var E=m!=null&&v!=null&&v!==m,_=A==="+"||A==="*",l=A==="?"||A==="*",p=s[2]||o,h=b||w;r.push({name:g||n++,prefix:m||"",delimiter:p,optional:l,repeat:_,partial:E,asterisk:!!P,pattern:h?fW(h):P?".*":"[^"+Vl(p)+"]+?"})}return i1||!p.length)return p.length===0?e():e("span",{},p)}if(this.tag==="a")l.on=_,l.attrs={href:u,"aria-current":P};else{var h=KD(this.$slots.default);if(h){h.isStatic=!1;var O=h.data=Lr({},h.data);O.on=O.on||{};for(var C in O.on){var k=O.on[C];C in _&&(O.on[C]=Array.isArray(k)?k:[k])}for(var $ in _)$ in O.on?O.on[$].push(_[$]):O.on[$]=E;var I=h.data.attrs=Lr({},h.data.attrs);I.href=u,I["aria-current"]=P}else l.on=_}return e(this.tag,l,this.$slots.default)}};function DP(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function KD(t){if(t){for(var e,r=0;r-1&&(A.params[l]=b.params[l]);return A.path=zl(E.path,A.params),m(E,A,w)}else if(A.path){A.params={};for(var p=0;p-1}function vd(t,e){return Zc(t)&&t._isRouter&&(e==null||t.type===e)}function jP(t,e,r){var n=function(i){i>=t.length?r():t[i]?e(t[i],function(){n(i+1)}):n(i+1)};n(0)}function IW(t){return function(e,r,n){var i=!1,a=0,o=null;e3(t,function(s,u,c,d){if(typeof s=="function"&&s.cid===void 0){i=!0,a++;var v=BP(function(w){NW(w)&&(w=w.default),s.resolved=typeof w=="function"?w:Xc.extend(w),c.components[d]=w,a--,a<=0&&n()}),m=BP(function(w){var A="Failed to resolve async component "+d+": "+w;o||(o=Zc(w)?w:new Error(A),n(o))}),g;try{g=s(v,m)}catch(w){m(w)}if(g)if(typeof g.then=="function")g.then(v,m);else{var b=g.component;b&&typeof b.then=="function"&&b.then(v,m)}}}),i||n()}}function e3(t,e){return t3(t.map(function(r){return Object.keys(r.components).map(function(n){return e(r.components[n],r.instances[n],r,n)})}))}function t3(t){return Array.prototype.concat.apply([],t)}var RW=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function NW(t){return t.__esModule||RW&&t[Symbol.toStringTag]==="Module"}function BP(t){var e=!1;return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];if(!e)return e=!0,t.apply(this,r)}}var tn=function(e,r){this.router=e,this.base=jW(r),this.current=Di,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};tn.prototype.listen=function(e){this.cb=e};tn.prototype.onReady=function(e,r){this.ready?e():(this.readyCbs.push(e),r&&this.readyErrorCbs.push(r))};tn.prototype.onError=function(e){this.errorCbs.push(e)};tn.prototype.transitionTo=function(e,r,n){var i=this,a;try{a=this.router.match(e,this.current)}catch(s){throw this.errorCbs.forEach(function(u){u(s)}),s}var o=this.current;this.confirmTransition(a,function(){i.updateRoute(a),r&&r(a),i.ensureURL(),i.router.afterHooks.forEach(function(s){s&&s(a,o)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(s){s(a)}))},function(s){n&&n(s),s&&!i.ready&&(!vd(s,ka.redirected)||o!==Di)&&(i.ready=!0,i.readyErrorCbs.forEach(function(u){u(s)}))})};tn.prototype.confirmTransition=function(e,r,n){var i=this,a=this.current;this.pending=e;var o=function(w){!vd(w)&&Zc(w)&&(i.errorCbs.length?i.errorCbs.forEach(function(A){A(w)}):console.error(w)),n&&n(w)},s=e.matched.length-1,u=a.matched.length-1;if(HD(e,a)&&s===u&&e.matched[s]===a.matched[u])return this.ensureURL(),e.hash&&di(this.router,a,e,!1),o(AW(a,e));var c=BW(this.current.matched,e.matched),d=c.updated,v=c.deactivated,m=c.activated,g=[].concat(FW(v),this.router.beforeHooks,xW(d),m.map(function(w){return w.beforeEnter}),IW(m)),b=function(w,A){if(i.pending!==e)return o(NP(a,e));try{w(e,a,function(P){P===!1?(i.ensureURL(!0),o(DW(a,e))):Zc(P)?(i.ensureURL(!0),o(P)):typeof P=="string"||typeof P=="object"&&(typeof P.path=="string"||typeof P.name=="string")?(o(CW(a,e)),typeof P=="object"&&P.replace?i.replace(P):i.push(P)):A(P)})}catch(P){o(P)}};jP(g,b,function(){var w=HW(m),A=w.concat(i.router.resolveHooks);jP(A,b,function(){if(i.pending!==e)return o(NP(a,e));i.pending=null,r(e),i.router.app&&i.router.app.$nextTick(function(){VD(e)})})})};tn.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)};tn.prototype.setupListeners=function(){};tn.prototype.teardown=function(){this.listeners.forEach(function(e){e()}),this.listeners=[],this.current=Di,this.pending=null};function jW(t){if(!t)if(Tu){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return t.charAt(0)!=="/"&&(t="/"+t),t.replace(/\/$/,"")}function BW(t,e){var r,n=Math.max(t.length,e.length);for(r=0;r0)){var i=this.router,a=i.options.scrollBehavior,o=pi&&a;o&&this.listeners.push(ZD());var s=function(){var u=n.current,c=As(n.base);n.current===Di&&c===n._startLocation||n.transitionTo(c,function(d){o&&di(i,d,u,!0)})};window.addEventListener("popstate",s),this.listeners.push(function(){window.removeEventListener("popstate",s)})}},e.prototype.go=function(n){window.history.go(n)},e.prototype.push=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(c){Jc(fi(o.base+c.fullPath)),di(o.router,c,u,!1),i&&i(c)},a)},e.prototype.replace=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(c){Ev(fi(o.base+c.fullPath)),di(o.router,c,u,!1),i&&i(c)},a)},e.prototype.ensureURL=function(n){if(As(this.base)!==this.current.fullPath){var i=fi(this.base+this.current.fullPath);n?Jc(i):Ev(i)}},e.prototype.getCurrentLocation=function(){return As(this.base)},e}(tn);function As(t){var e=window.location.pathname,r=e.toLowerCase(),n=t.toLowerCase();return t&&(r===n||r.indexOf(fi(n+"/"))===0)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var i3=function(t){function e(r,n,i){t.call(this,r,n),!(i&&zW(this.base))&&LP()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var n=this;if(!(this.listeners.length>0)){var i=this.router,a=i.options.scrollBehavior,o=pi&&a;o&&this.listeners.push(ZD());var s=function(){var c=n.current;LP()&&n.transitionTo(Ul(),function(d){o&&di(n.router,d,c,!0),pi||Gl(d.fullPath)})},u=pi?"popstate":"hashchange";window.addEventListener(u,s),this.listeners.push(function(){window.removeEventListener(u,s)})}},e.prototype.push=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(c){FP(c.fullPath),di(o.router,c,u,!1),i&&i(c)},a)},e.prototype.replace=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(c){Gl(c.fullPath),di(o.router,c,u,!1),i&&i(c)},a)},e.prototype.go=function(n){window.history.go(n)},e.prototype.ensureURL=function(n){var i=this.current.fullPath;Ul()!==i&&(n?FP(i):Gl(i))},e.prototype.getCurrentLocation=function(){return Ul()},e}(tn);function zW(t){var e=As(t);if(!/^\/#/.test(e))return window.location.replace(fi(t+"/#"+e)),!0}function LP(){var t=Ul();return t.charAt(0)==="/"?!0:(Gl("/"+t),!1)}function Ul(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function $v(t){var e=window.location.href,r=e.indexOf("#"),n=r>=0?e.slice(0,r):e;return n+"#"+t}function FP(t){pi?Jc($v(t)):window.location.hash=t}function Gl(t){pi?Ev($v(t)):window.location.replace($v(t))}var UW=function(t){function e(r,n){t.call(this,r,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(n,i,a){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index+1).concat(s),o.index++,i&&i(s)},a)},e.prototype.replace=function(n,i,a){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index).concat(s),i&&i(s)},a)},e.prototype.go=function(n){var i=this,a=this.index+n;if(!(a<0||a>=this.stack.length)){var o=this.stack[a];this.confirmTransition(o,function(){var s=i.current;i.index=a,i.updateRoute(o),i.router.afterHooks.forEach(function(u){u&&u(o,s)})},function(s){vd(s,ka.duplicated)&&(i.index=a)})}},e.prototype.getCurrentLocation=function(){var n=this.stack[this.stack.length-1];return n?n.fullPath:"/"},e.prototype.ensureURL=function(){},e}(tn),Ve=function(e){e===void 0&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=_W(e.routes||[],this);var r=e.mode||"hash";switch(this.fallback=r==="history"&&!pi&&e.fallback!==!1,this.fallback&&(r="hash"),Tu||(r="abstract"),this.mode=r,r){case"history":this.history=new n3(this,e.base);break;case"hash":this.history=new i3(this,e.base,this.fallback);break;case"abstract":this.history=new UW(this,e.base);break}},a3={currentRoute:{configurable:!0}};Ve.prototype.match=function(e,r,n){return this.matcher.match(e,r,n)};a3.currentRoute.get=function(){return this.history&&this.history.current};Ve.prototype.init=function(e){var r=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var o=r.apps.indexOf(e);o>-1&&r.apps.splice(o,1),r.app===e&&(r.app=r.apps[0]||null),r.app||r.history.teardown()}),!this.app){this.app=e;var n=this.history;if(n instanceof n3||n instanceof i3){var i=function(o){var s=n.current,u=r.options.scrollBehavior,c=pi&&u;c&&"fullPath"in o&&di(r,o,s,!1)},a=function(o){n.setupListeners(),i(o)};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen(function(o){r.apps.forEach(function(s){s._route=o})})}};Ve.prototype.beforeEach=function(e){return Yg(this.beforeHooks,e)};Ve.prototype.beforeResolve=function(e){return Yg(this.resolveHooks,e)};Ve.prototype.afterEach=function(e){return Yg(this.afterHooks,e)};Ve.prototype.onReady=function(e,r){this.history.onReady(e,r)};Ve.prototype.onError=function(e){this.history.onError(e)};Ve.prototype.push=function(e,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,o){i.history.push(e,a,o)});this.history.push(e,r,n)};Ve.prototype.replace=function(e,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,o){i.history.replace(e,a,o)});this.history.replace(e,r,n)};Ve.prototype.go=function(e){this.history.go(e)};Ve.prototype.back=function(){this.go(-1)};Ve.prototype.forward=function(){this.go(1)};Ve.prototype.getMatchedComponents=function(e){var r=e?e.matched?e:this.resolve(e).route:this.currentRoute;return r?[].concat.apply([],r.matched.map(function(n){return Object.keys(n.components).map(function(i){return n.components[i]})})):[]};Ve.prototype.resolve=function(e,r,n){r=r||this.history.current;var i=Kg(e,r,n,this),a=this.match(i,r),o=a.redirectedFrom||a.fullPath,s=this.history.base,u=GW(s,o,this.mode);return{location:i,route:a,href:u,normalizedTo:i,resolved:a}};Ve.prototype.getRoutes=function(){return this.matcher.getRoutes()};Ve.prototype.addRoute=function(e,r){this.matcher.addRoute(e,r),this.history.current!==Di&&this.history.transitionTo(this.history.getCurrentLocation())};Ve.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Di&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(Ve.prototype,a3);var RQ=Ve;function Yg(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function GW(t,e,r){var n=r==="hash"?"#"+e:e;return t?fi(t+"/"+n):n}Ve.install=Sv;Ve.version="3.6.5";Ve.isNavigationFailure=vd;Ve.NavigationFailureType=ka;Ve.START_LOCATION=Di;Tu&&window.Vue&&window.Vue.use(Ve);function xP(t,e){for(var r=function(o){Object.defineProperty(t,o,{get:function(){return e[o]}})},n=0,i=Object.keys(e||{});n0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1] (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(l===!1)return JSON.parse(JSON.stringify(p));var h={};for(var O in p)p.hasOwnProperty(O)&&(h[O]=p[O].defaultValue);return h}function r(){var l=e(!0),p={};for(var h in l)l.hasOwnProperty(h)&&(p[h]=!0);return p}var n={},i={},a={},o=e(!0),s="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:e(!0),allOn:r()};n.helper={},n.extensions={},n.setOption=function(l,p){return o[l]=p,this},n.getOption=function(l){return o[l]},n.getOptions=function(){return o},n.resetOptions=function(){o=e(!0)},n.setFlavor=function(l){if(!u.hasOwnProperty(l))throw Error(l+" flavor was not found");n.resetOptions();var p=u[l];s=l;for(var h in p)p.hasOwnProperty(h)&&(o[h]=p[h])},n.getFlavor=function(){return s},n.getFlavorOptions=function(l){if(u.hasOwnProperty(l))return u[l]},n.getDefaultOptions=function(l){return e(l)},n.subParser=function(l,p){if(n.helper.isString(l))if(typeof p<"u")i[l]=p;else{if(i.hasOwnProperty(l))return i[l];throw Error("SubParser named "+l+" not registered!")}},n.extension=function(l,p){if(!n.helper.isString(l))throw Error("Extension 'name' must be a string");if(l=n.helper.stdExtName(l),n.helper.isUndefined(p)){if(!a.hasOwnProperty(l))throw Error("Extension named "+l+" is not registered!");return a[l]}else{typeof p=="function"&&(p=p()),n.helper.isArray(p)||(p=[p]);var h=c(p,l);if(h.valid)a[l]=p;else throw Error(h.error)}},n.getAllExtensions=function(){return a},n.removeExtension=function(l){delete a[l]},n.resetExtensions=function(){a={}};function c(l,p){var h=p?"Error in "+p+" extension->":"Error in unnamed extension",O={valid:!0,error:""};n.helper.isArray(l)||(l=[l]);for(var C=0;C"u"},n.helper.forEach=function(l,p){if(n.helper.isUndefined(l))throw new Error("obj param is required");if(n.helper.isUndefined(p))throw new Error("callback param is required");if(!n.helper.isFunction(p))throw new Error("callback param must be a function/closure");if(typeof l.forEach=="function")l.forEach(p);else if(n.helper.isArray(l))for(var h=0;h").replace(/&/g,"&")};var v=function(l,p,h,O){var C=O||"",k=C.indexOf("g")>-1,$=new RegExp(p+"|"+h,"g"+C.replace(/g/g,"")),I=new RegExp(p,C.replace(/g/g,"")),D=[],M,R,j,S,B;do for(M=0;j=$.exec(l);)if(I.test(j[0]))M++||(R=$.lastIndex,S=R-j[0].length);else if(M&&!--M){B=j.index+j[0].length;var x={left:{start:S,end:R},match:{start:R,end:j.index},right:{start:j.index,end:B},wholeMatch:{start:S,end:B}};if(D.push(x),!k)return D}while(M&&($.lastIndex=R));return D};n.helper.matchRecursiveRegExp=function(l,p,h,O){for(var C=v(l,p,h,O),k=[],$=0;$0){var M=[];$[0].wholeMatch.start!==0&&M.push(l.slice(0,$[0].wholeMatch.start));for(var R=0;R=0?O+(h||0):O},n.helper.splitAtIndex=function(l,p){if(!n.helper.isString(l))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[l.substring(0,p),l.substring(p)]},n.helper.encodeEmailAddress=function(l){var p=[function(h){return"&#"+h.charCodeAt(0)+";"},function(h){return"&#x"+h.charCodeAt(0).toString(16)+";"},function(h){return h}];return l=l.replace(/./g,function(h){if(h==="@")h=p[Math.floor(Math.random()*2)](h);else{var O=Math.random();h=O>.9?p[2](h):O>.45?p[1](h):p[0](h)}return h}),l},n.helper.padEnd=function(p,h,O){return h=h>>0,O=String(O||" "),p.length>h?String(p):(h=h-p.length,h>O.length&&(O+=O.repeat(h/O.length)),String(p)+O.slice(0,h))},typeof console>"u"&&(console={warn:function(l){alert(l)},log:function(l){alert(l)},error:function(l){throw l}}),n.helper.regexes={asteriskDashAndColon:/([*_:~])/g},n.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:`S`},n.Converter=function(l){var p={},h=[],O=[],C={},k=s,$={parsed:{},raw:"",format:""};I();function I(){l=l||{};for(var S in o)o.hasOwnProperty(S)&&(p[S]=o[S]);if(typeof l=="object")for(var B in l)l.hasOwnProperty(B)&&(p[B]=l[B]);else throw Error("Converter expects the passed parameter to be an object, but "+typeof l+" was passed instead.");p.extensions&&n.helper.forEach(p.extensions,D)}function D(S,B){if(B=B||null,n.helper.isString(S))if(S=n.helper.stdExtName(S),B=S,n.extensions[S]){console.warn("DEPRECATION WARNING: "+S+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),M(n.extensions[S],S);return}else if(!n.helper.isUndefined(a[S]))S=a[S];else throw Error('Extension "'+S+'" could not be loaded. It was either not found or is not a valid extension.');typeof S=="function"&&(S=S()),n.helper.isArray(S)||(S=[S]);var x=c(S,B);if(!x.valid)throw Error(x.error);for(var H=0;H[ \t]+¨NBSP;<"),!B)if(window&&window.document)B=window.document;else throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");var x=B.createElement("div");x.innerHTML=S;var H={preList:De(x)};de(x);for(var U=x.childNodes,z="",ee=0;ee'}else le.push(we[ze].innerHTML),we[ze].innerHTML="",we[ze].setAttribute("prenum",ze.toString());return le}return z},this.setOption=function(S,B){p[S]=B},this.getOption=function(S){return p[S]},this.getOptions=function(){return p},this.addExtension=function(S,B){B=B||null,D(S,B)},this.useExtension=function(S){D(S)},this.setFlavor=function(S){if(!u.hasOwnProperty(S))throw Error(S+" flavor was not found");var B=u[S];k=S;for(var x in B)B.hasOwnProperty(x)&&(p[x]=B[x])},this.getFlavor=function(){return k},this.removeExtension=function(S){n.helper.isArray(S)||(S=[S]);for(var B=0;B? ?(['"].*['"])?\)$/m)>-1)I="";else if(!I)if($||($=k.toLowerCase().replace(/ ?\n/g," ")),I="#"+$,!n.helper.isUndefined(h.gUrls[$]))I=h.gUrls[$],n.helper.isUndefined(h.gTitles[$])||(R=h.gTitles[$]);else return C;I=I.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var j='",j};return l=l.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,O),l=l.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,O),l=l.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,O),l=l.replace(/\[([^\[\]]+)]()()()()()/g,O),p.ghMentions&&(l=l.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi,function(C,k,$,I,D){if($==="\\")return k+I;if(!n.helper.isString(p.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var M=p.ghMentionsLink.replace(/\{u}/g,D),R="";return p.openLinksInNewWindow&&(R=' rel="noopener noreferrer" target="¨E95Eblank"'),k+'"+I+""})),l=h.converter._dispatch("anchors.after",l,p,h),l});var m=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,b=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,w=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi,A=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,P=function(l){return function(p,h,O,C,k,$,I){O=O.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var D=O,M="",R="",j=h||"",S=I||"";return/^www\./i.test(O)&&(O=O.replace(/^www\./i,"http://www.")),l.excludeTrailingPunctuationFromURLs&&$&&(M=$),l.openLinksInNewWindow&&(R=' rel="noopener noreferrer" target="¨E95Eblank"'),j+'"+D+""+M+S}},E=function(l,p){return function(h,O,C){var k="mailto:";return O=O||"",C=n.subParser("unescapeSpecialChars")(C,l,p),l.encodeEmails?(k=n.helper.encodeEmailAddress(k+C),C=n.helper.encodeEmailAddress(C)):k=k+C,O+''+C+""}};n.subParser("autoLinks",function(l,p,h){return l=h.converter._dispatch("autoLinks.before",l,p,h),l=l.replace(b,P(p)),l=l.replace(A,E(p,h)),l=h.converter._dispatch("autoLinks.after",l,p,h),l}),n.subParser("simplifiedAutoLinks",function(l,p,h){return p.simplifiedAutoLink&&(l=h.converter._dispatch("simplifiedAutoLinks.before",l,p,h),p.excludeTrailingPunctuationFromURLs?l=l.replace(g,P(p)):l=l.replace(m,P(p)),l=l.replace(w,E(p,h)),l=h.converter._dispatch("simplifiedAutoLinks.after",l,p,h)),l}),n.subParser("blockGamut",function(l,p,h){return l=h.converter._dispatch("blockGamut.before",l,p,h),l=n.subParser("blockQuotes")(l,p,h),l=n.subParser("headers")(l,p,h),l=n.subParser("horizontalRule")(l,p,h),l=n.subParser("lists")(l,p,h),l=n.subParser("codeBlocks")(l,p,h),l=n.subParser("tables")(l,p,h),l=n.subParser("hashHTMLBlocks")(l,p,h),l=n.subParser("paragraphs")(l,p,h),l=h.converter._dispatch("blockGamut.after",l,p,h),l}),n.subParser("blockQuotes",function(l,p,h){l=h.converter._dispatch("blockQuotes.before",l,p,h),l=l+` `;var O=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return p.splitAdjacentBlockquotes&&(O=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),l=l.replace(O,function(C){return C=C.replace(/^[ \t]*>[ \t]?/gm,""),C=C.replace(/¨0/g,""),C=C.replace(/^[ \t]+$/gm,""),C=n.subParser("githubCodeBlocks")(C,p,h),C=n.subParser("blockGamut")(C,p,h),C=C.replace(/(^|\n)/g,"$1 "),C=C.replace(/(\s*
[^\r]+?<\/pre>)/gm,function(k,$){var I=$;return I=I.replace(/^  /mg,"¨0"),I=I.replace(/¨0/g,""),I}),n.subParser("hashBlock")(`
`+C+`
`,p,h)}),l=h.converter._dispatch("blockQuotes.after",l,p,h),l}),n.subParser("codeBlocks",function(l,p,h){l=h.converter._dispatch("codeBlocks.before",l,p,h),l+="¨0";var O=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return l=l.replace(O,function(C,k,$){var I=k,D=$,M=` `;return I=n.subParser("outdent")(I,p,h),I=n.subParser("encodeCode")(I,p,h),I=n.subParser("detab")(I,p,h),I=I.replace(/^\n+/g,""),I=I.replace(/\n+$/g,""),p.omitExtraWLInCodeBlocks&&(M=""),I="
"+I+M+"
",n.subParser("hashBlock")(I,p,h)+D}),l=l.replace(/¨0/,""),l=h.converter._dispatch("codeBlocks.after",l,p,h),l}),n.subParser("codeSpans",function(l,p,h){return l=h.converter._dispatch("codeSpans.before",l,p,h),typeof l>"u"&&(l=""),l=l.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(O,C,k,$){var I=$;return I=I.replace(/^([ \t]*)/g,""),I=I.replace(/[ \t]*$/g,""),I=n.subParser("encodeCode")(I,p,h),I=C+""+I+"",I=n.subParser("hashHTMLSpans")(I,p,h),I}),l=h.converter._dispatch("codeSpans.after",l,p,h),l}),n.subParser("completeHTMLDocument",function(l,p,h){if(!p.completeHTMLDocument)return l;l=h.converter._dispatch("completeHTMLDocument.before",l,p,h);var O="html",C=` `,k="",$=` `,I="",D="";typeof h.metadata.parsed.doctype<"u"&&(C=" `,O=h.metadata.parsed.doctype.toString().toLowerCase(),(O==="html"||O==="html5")&&($=''));for(var M in h.metadata.parsed)if(h.metadata.parsed.hasOwnProperty(M))switch(M.toLowerCase()){case"doctype":break;case"title":k=""+h.metadata.parsed.title+` `;break;case"charset":O==="html"||O==="html5"?$=' `:$=' `;break;case"language":case"lang":I=' lang="'+h.metadata.parsed[M]+'"',D+=' `;break;default:D+=' `}return l=C+" `+k+$+D+` `+l.trim()+` `,l=h.converter._dispatch("completeHTMLDocument.after",l,p,h),l}),n.subParser("detab",function(l,p,h){return l=h.converter._dispatch("detab.before",l,p,h),l=l.replace(/\t(?=\t)/g," "),l=l.replace(/\t/g,"¨A¨B"),l=l.replace(/¨B(.+?)¨A/g,function(O,C){for(var k=C,$=4-k.length%4,I=0;I<$;I++)k+=" ";return k}),l=l.replace(/¨A/g," "),l=l.replace(/¨B/g,""),l=h.converter._dispatch("detab.after",l,p,h),l}),n.subParser("ellipsis",function(l,p,h){return l=h.converter._dispatch("ellipsis.before",l,p,h),l=l.replace(/\.\.\./g,"…"),l=h.converter._dispatch("ellipsis.after",l,p,h),l}),n.subParser("emoji",function(l,p,h){if(!p.emoji)return l;l=h.converter._dispatch("emoji.before",l,p,h);var O=/:([\S]+?):/g;return l=l.replace(O,function(C,k){return n.helper.emojis.hasOwnProperty(k)?n.helper.emojis[k]:C}),l=h.converter._dispatch("emoji.after",l,p,h),l}),n.subParser("encodeAmpsAndAngles",function(l,p,h){return l=h.converter._dispatch("encodeAmpsAndAngles.before",l,p,h),l=l.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&"),l=l.replace(/<(?![a-z\/?$!])/gi,"<"),l=l.replace(//g,">"),l=h.converter._dispatch("encodeAmpsAndAngles.after",l,p,h),l}),n.subParser("encodeBackslashEscapes",function(l,p,h){return l=h.converter._dispatch("encodeBackslashEscapes.before",l,p,h),l=l.replace(/\\(\\)/g,n.helper.escapeCharactersCallback),l=l.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,n.helper.escapeCharactersCallback),l=h.converter._dispatch("encodeBackslashEscapes.after",l,p,h),l}),n.subParser("encodeCode",function(l,p,h){return l=h.converter._dispatch("encodeCode.before",l,p,h),l=l.replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,n.helper.escapeCharactersCallback),l=h.converter._dispatch("encodeCode.after",l,p,h),l}),n.subParser("escapeSpecialCharsWithinTagAttributes",function(l,p,h){l=h.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",l,p,h);var O=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,C=/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return l=l.replace(O,function(k){return k.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),l=l.replace(C,function(k){return k.replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),l=h.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",l,p,h),l}),n.subParser("githubCodeBlocks",function(l,p,h){return p.ghCodeBlocks?(l=h.converter._dispatch("githubCodeBlocks.before",l,p,h),l+="¨0",l=l.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(O,C,k,$){var I=p.omitExtraWLInCodeBlocks?"":` `;return $=n.subParser("encodeCode")($,p,h),$=n.subParser("detab")($,p,h),$=$.replace(/^\n+/g,""),$=$.replace(/\n+$/g,""),$="
"+$+I+"
",$=n.subParser("hashBlock")($,p,h),` ¨G`+(h.ghCodeBlocks.push({text:O,codeblock:$})-1)+`G `}),l=l.replace(/¨0/,""),h.converter._dispatch("githubCodeBlocks.after",l,p,h)):l}),n.subParser("hashBlock",function(l,p,h){return l=h.converter._dispatch("hashBlock.before",l,p,h),l=l.replace(/(^\n+|\n+$)/g,""),l=` ¨K`+(h.gHtmlBlocks.push(l)-1)+`K `,l=h.converter._dispatch("hashBlock.after",l,p,h),l}),n.subParser("hashCodeTags",function(l,p,h){l=h.converter._dispatch("hashCodeTags.before",l,p,h);var O=function(C,k,$,I){var D=$+n.subParser("encodeCode")(k,p,h)+I;return"¨C"+(h.gHtmlSpans.push(D)-1)+"C"};return l=n.helper.replaceRecursiveRegExp(l,O,"]*>","","gim"),l=h.converter._dispatch("hashCodeTags.after",l,p,h),l}),n.subParser("hashElement",function(l,p,h){return function(O,C){var k=C;return k=k.replace(/\n\n/g,` `),k=k.replace(/^\n/,""),k=k.replace(/\n+$/g,""),k=` ¨K`+(h.gHtmlBlocks.push(k)-1)+`K `,k}}),n.subParser("hashHTMLBlocks",function(l,p,h){l=h.converter._dispatch("hashHTMLBlocks.before",l,p,h);var O=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],C=function(S,B,x,H){var U=S;return x.search(/\bmarkdown\b/)!==-1&&(U=x+h.converter.makeHtml(B)+H),` ¨K`+(h.gHtmlBlocks.push(U)-1)+`K `};p.backslashEscapesHTMLTags&&(l=l.replace(/\\<(\/?[^>]+?)>/g,function(S,B){return"<"+B+">"}));for(var k=0;k]*>)","im"),D="<"+O[k]+"\\b[^>]*>",M="";($=n.helper.regexIndexOf(l,I))!==-1;){var R=n.helper.splitAtIndex(l,$),j=n.helper.replaceRecursiveRegExp(R[1],C,D,M,"im");if(j===R[1])break;l=R[0].concat(j)}return l=l.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(l,p,h)),l=n.helper.replaceRecursiveRegExp(l,function(S){return` ¨K`+(h.gHtmlBlocks.push(S)-1)+`K `},"^ {0,3}","gm"),l=l.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(l,p,h)),l=h.converter._dispatch("hashHTMLBlocks.after",l,p,h),l}),n.subParser("hashHTMLSpans",function(l,p,h){l=h.converter._dispatch("hashHTMLSpans.before",l,p,h);function O(C){return"¨C"+(h.gHtmlSpans.push(C)-1)+"C"}return l=l.replace(/<[^>]+?\/>/gi,function(C){return O(C)}),l=l.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(C){return O(C)}),l=l.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(C){return O(C)}),l=l.replace(/<[^>]+?>/gi,function(C){return O(C)}),l=h.converter._dispatch("hashHTMLSpans.after",l,p,h),l}),n.subParser("unhashHTMLSpans",function(l,p,h){l=h.converter._dispatch("unhashHTMLSpans.before",l,p,h);for(var O=0;O]*>\\s*]*>","^ {0,3}\\s*
","gim"),l=h.converter._dispatch("hashPreCodeTags.after",l,p,h),l}),n.subParser("headers",function(l,p,h){l=h.converter._dispatch("headers.before",l,p,h);var O=isNaN(parseInt(p.headerLevelStart))?1:parseInt(p.headerLevelStart),C=p.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,k=p.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;l=l.replace(C,function(D,M){var R=n.subParser("spanGamut")(M,p,h),j=p.noHeaderId?"":' id="'+I(M)+'"',S=O,B=""+R+"";return n.subParser("hashBlock")(B,p,h)}),l=l.replace(k,function(D,M){var R=n.subParser("spanGamut")(M,p,h),j=p.noHeaderId?"":' id="'+I(M)+'"',S=O+1,B=""+R+"";return n.subParser("hashBlock")(B,p,h)});var $=p.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;l=l.replace($,function(D,M,R){var j=R;p.customizedHeaderId&&(j=R.replace(/\s?\{([^{]+?)}\s*$/,""));var S=n.subParser("spanGamut")(j,p,h),B=p.noHeaderId?"":' id="'+I(R)+'"',x=O-1+M.length,H=""+S+"";return n.subParser("hashBlock")(H,p,h)});function I(D){var M,R;if(p.customizedHeaderId){var j=D.match(/\{([^{]+?)}\s*$/);j&&j[1]&&(D=j[1])}return M=D,n.helper.isString(p.prefixHeaderId)?R=p.prefixHeaderId:p.prefixHeaderId===!0?R="section-":R="",p.rawPrefixHeaderId||(M=R+M),p.ghCompatibleHeaderId?M=M.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():p.rawHeaderId?M=M.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():M=M.replace(/[^\w]/g,"").toLowerCase(),p.rawPrefixHeaderId&&(M=R+M),h.hashLinkCounts[M]?M=M+"-"+h.hashLinkCounts[M]++:h.hashLinkCounts[M]=1,M}return l=h.converter._dispatch("headers.after",l,p,h),l}),n.subParser("horizontalRule",function(l,p,h){l=h.converter._dispatch("horizontalRule.before",l,p,h);var O=n.subParser("hashBlock")("
",p,h);return l=l.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,O),l=l.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,O),l=l.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,O),l=h.converter._dispatch("horizontalRule.after",l,p,h),l}),n.subParser("images",function(l,p,h){l=h.converter._dispatch("images.before",l,p,h);var O=/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,C=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,k=/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,$=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,I=/!\[([^\[\]]+)]()()()()()/g;function D(R,j,S,B,x,H,U,z){return B=B.replace(/\s/g,""),M(R,j,S,B,x,H,U,z)}function M(R,j,S,B,x,H,U,z){var ee=h.gUrls,de=h.gTitles,De=h.gDimensions;if(S=S.toLowerCase(),z||(z=""),R.search(/\(? ?(['"].*['"])?\)$/m)>-1)B="";else if(B===""||B===null)if((S===""||S===null)&&(S=j.toLowerCase().replace(/ ?\n/g," ")),B="#"+S,!n.helper.isUndefined(ee[S]))B=ee[S],n.helper.isUndefined(de[S])||(z=de[S]),n.helper.isUndefined(De[S])||(x=De[S].width,H=De[S].height);else return R;j=j.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),B=B.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var be=''+j+'","
")}),l=l.replace(/\b__(\S[\s\S]*?)__\b/g,function(C,k){return O(k,"","")}),l=l.replace(/\b_(\S[\s\S]*?)_\b/g,function(C,k){return O(k,"","")})):(l=l.replace(/___(\S[\s\S]*?)___/g,function(C,k){return/\S$/.test(k)?O(k,"",""):C}),l=l.replace(/__(\S[\s\S]*?)__/g,function(C,k){return/\S$/.test(k)?O(k,"",""):C}),l=l.replace(/_([^\s_][\s\S]*?)_/g,function(C,k){return/\S$/.test(k)?O(k,"",""):C})),p.literalMidWordAsterisks?(l=l.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(C,k,$){return O($,k+"","")}),l=l.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(C,k,$){return O($,k+"","")}),l=l.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(C,k,$){return O($,k+"","")})):(l=l.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(C,k){return/\S$/.test(k)?O(k,"",""):C}),l=l.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(C,k){return/\S$/.test(k)?O(k,"",""):C}),l=l.replace(/\*([^\s*][\s\S]*?)\*/g,function(C,k){return/\S$/.test(k)?O(k,"",""):C})),l=h.converter._dispatch("italicsAndBold.after",l,p,h),l}),n.subParser("lists",function(l,p,h){function O($,I){h.gListLevel++,$=$.replace(/\n{2,}$/,` `),$+="¨0";var D=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,M=/\n[ \t]*\n(?!¨0)/.test($);return p.disableForced4SpacesIndentedSublists&&(D=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),$=$.replace(D,function(R,j,S,B,x,H,U){U=U&&U.trim()!=="";var z=n.subParser("outdent")(x,p,h),ee="";return H&&p.tasklists&&(ee=' class="task-list-item" style="list-style-type: none;"',z=z.replace(/^[ \t]*\[(x|X| )?]/m,function(){var de='-1?(z=n.subParser("githubCodeBlocks")(z,p,h),z=n.subParser("blockGamut")(z,p,h)):(z=n.subParser("lists")(z,p,h),z=z.replace(/\n$/,""),z=n.subParser("hashHTMLBlocks")(z,p,h),z=z.replace(/\n\n+/g,` `),M?z=n.subParser("paragraphs")(z,p,h):z=n.subParser("spanGamut")(z,p,h)),z=z.replace("¨A",""),z=""+z+` `,z}),$=$.replace(/¨0/g,""),h.gListLevel--,I&&($=$.replace(/\s+$/,"")),$}function C($,I){if(I==="ol"){var D=$.match(/^ *(\d+)\./);if(D&&D[1]!=="1")return' start="'+D[1]+'"'}return""}function k($,I,D){var M=p.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,R=p.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,j=I==="ul"?M:R,S="";if($.search(j)!==-1)(function x(H){var U=H.search(j),z=C($,I);U!==-1?(S+=` <`+I+z+`> `+O(H.slice(0,U),!!D)+" `,I=I==="ul"?"ol":"ul",j=I==="ul"?M:R,x(H.slice(U))):S+=` <`+I+z+`> `+O(H,!!D)+" `})($);else{var B=C($,I);S=` <`+I+B+`> `+O($,!!D)+" `}return S}return l=h.converter._dispatch("lists.before",l,p,h),l+="¨0",h.gListLevel?l=l.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function($,I,D){var M=D.search(/[*+-]/g)>-1?"ul":"ol";return k(I,M,!0)}):l=l.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function($,I,D,M){var R=M.search(/[*+-]/g)>-1?"ul":"ol";return k(D,R,!1)}),l=l.replace(/¨0/,""),l=h.converter._dispatch("lists.after",l,p,h),l}),n.subParser("metadata",function(l,p,h){if(!p.metadata)return l;l=h.converter._dispatch("metadata.before",l,p,h);function O(C){h.metadata.raw=C,C=C.replace(/&/g,"&").replace(/"/g,"""),C=C.replace(/\n {4}/g," "),C.replace(/^([\S ]+): +([\s\S]+?)$/gm,function(k,$,I){return h.metadata.parsed[$]=I,""})}return l=l.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(C,k,$){return O($),"¨M"}),l=l.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(C,k,$){return k&&(h.metadata.format=k),O($),"¨M"}),l=l.replace(/¨M/g,""),l=h.converter._dispatch("metadata.after",l,p,h),l}),n.subParser("outdent",function(l,p,h){return l=h.converter._dispatch("outdent.before",l,p,h),l=l.replace(/^(\t|[ ]{1,4})/gm,"¨0"),l=l.replace(/¨0/g,""),l=h.converter._dispatch("outdent.after",l,p,h),l}),n.subParser("paragraphs",function(l,p,h){l=h.converter._dispatch("paragraphs.before",l,p,h),l=l.replace(/^\n+/g,""),l=l.replace(/\n+$/g,"");for(var O=l.split(/\n{2,}/g),C=[],k=O.length,$=0;$=0?C.push(I):I.search(/\S/)>=0&&(I=n.subParser("spanGamut")(I,p,h),I=I.replace(/^([ \t]*)/g,"

"),I+="

",C.push(I))}for(k=C.length,$=0;$]*>\s*]*>/.test(M)&&(R=!0)}C[$]=M}return l=C.join(` `),l=l.replace(/^\n+/g,""),l=l.replace(/\n+$/g,""),h.converter._dispatch("paragraphs.after",l,p,h)}),n.subParser("runExtension",function(l,p,h,O){if(l.filter)p=l.filter(p,O.converter,h);else if(l.regex){var C=l.regex;C instanceof RegExp||(C=new RegExp(C,"g")),p=p.replace(C,l.replace)}return p}),n.subParser("spanGamut",function(l,p,h){return l=h.converter._dispatch("spanGamut.before",l,p,h),l=n.subParser("codeSpans")(l,p,h),l=n.subParser("escapeSpecialCharsWithinTagAttributes")(l,p,h),l=n.subParser("encodeBackslashEscapes")(l,p,h),l=n.subParser("images")(l,p,h),l=n.subParser("anchors")(l,p,h),l=n.subParser("autoLinks")(l,p,h),l=n.subParser("simplifiedAutoLinks")(l,p,h),l=n.subParser("emoji")(l,p,h),l=n.subParser("underline")(l,p,h),l=n.subParser("italicsAndBold")(l,p,h),l=n.subParser("strikethrough")(l,p,h),l=n.subParser("ellipsis")(l,p,h),l=n.subParser("hashHTMLSpans")(l,p,h),l=n.subParser("encodeAmpsAndAngles")(l,p,h),p.simpleLineBreaks?/\n\n¨K/.test(l)||(l=l.replace(/\n+/g,`
`)):l=l.replace(/ +\n/g,`
`),l=h.converter._dispatch("spanGamut.after",l,p,h),l}),n.subParser("strikethrough",function(l,p,h){function O(C){return p.simplifiedAutoLink&&(C=n.subParser("simplifiedAutoLinks")(C,p,h)),""+C+""}return p.strikethrough&&(l=h.converter._dispatch("strikethrough.before",l,p,h),l=l.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(C,k){return O(k)}),l=h.converter._dispatch("strikethrough.after",l,p,h)),l}),n.subParser("stripLinkDefinitions",function(l,p,h){var O=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,C=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;l+="¨0";var k=function($,I,D,M,R,j,S){return I=I.toLowerCase(),D.match(/^data:.+?\/.+?;base64,/)?h.gUrls[I]=D.replace(/\s/g,""):h.gUrls[I]=n.subParser("encodeAmpsAndAngles")(D,p,h),j?j+S:(S&&(h.gTitles[I]=S.replace(/"|'/g,""")),p.parseImgDimensions&&M&&R&&(h.gDimensions[I]={width:M,height:R}),"")};return l=l.replace(C,k),l=l.replace(O,k),l=l.replace(/¨0/,""),l}),n.subParser("tables",function(l,p,h){if(!p.tables)return l;var O=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,C=/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;function k(R){return/^:[ \t]*--*$/.test(R)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(R)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(R)?' style="text-align:center;"':""}function $(R,j){var S="";return R=R.trim(),(p.tablesHeaderId||p.tableHeaderId)&&(S=' id="'+R.replace(/ /g,"_").toLowerCase()+'"'),R=n.subParser("spanGamut")(R,p,h),""+R+` `}function I(R,j){var S=n.subParser("spanGamut")(R,p,h);return""+S+` `}function D(R,j){for(var S=` `,B=R.length,x=0;x `,x=0;x `;for(var H=0;H `}return S+=`
`,S}function M(R){var j,S=R.split(` `);for(j=0;j"+C+""}),l=l.replace(/\b__(\S[\s\S]*?)__\b/g,function(O,C){return""+C+""})):(l=l.replace(/___(\S[\s\S]*?)___/g,function(O,C){return/\S$/.test(C)?""+C+"":O}),l=l.replace(/__(\S[\s\S]*?)__/g,function(O,C){return/\S$/.test(C)?""+C+"":O})),l=l.replace(/(_)/g,n.helper.escapeCharactersCallback),l=h.converter._dispatch("underline.after",l,p,h)),l}),n.subParser("unescapeSpecialChars",function(l,p,h){return l=h.converter._dispatch("unescapeSpecialChars.before",l,p,h),l=l.replace(/¨E(\d+)E/g,function(O,C){var k=parseInt(C);return String.fromCharCode(k)}),l=h.converter._dispatch("unescapeSpecialChars.after",l,p,h),l}),n.subParser("makeMarkdown.blockquote",function(l,p){var h="";if(l.hasChildNodes())for(var O=l.childNodes,C=O.length,k=0;k "+h.split(` `).join(` > `),h}),n.subParser("makeMarkdown.codeBlock",function(l,p){var h=l.getAttribute("language"),O=l.getAttribute("precodenum");return"```"+h+` `+p.preList[O]+"\n```"}),n.subParser("makeMarkdown.codeSpan",function(l){return"`"+l.innerHTML+"`"}),n.subParser("makeMarkdown.emphasis",function(l,p){var h="";if(l.hasChildNodes()){h+="*";for(var O=l.childNodes,C=O.length,k=0;k",l.hasAttribute("width")&&l.hasAttribute("height")&&(p+=" ="+l.getAttribute("width")+"x"+l.getAttribute("height")),l.hasAttribute("title")&&(p+=' "'+l.getAttribute("title")+'"'),p+=")"),p}),n.subParser("makeMarkdown.links",function(l,p){var h="";if(l.hasChildNodes()&&l.hasAttribute("href")){var O=l.childNodes,C=O.length;h="[";for(var k=0;k",l.hasAttribute("title")&&(h+=' "'+l.getAttribute("title")+'"'),h+=")"}return h}),n.subParser("makeMarkdown.list",function(l,p,h){var O="";if(!l.hasChildNodes())return"";for(var C=l.childNodes,k=C.length,$=l.getAttribute("start")||1,I=0;I"u"||C[I].tagName.toLowerCase()!=="li")){var D="";h==="ol"?D=$.toString()+". ":D="- ",O+=D+n.subParser("makeMarkdown.listItem")(C[I],p),++$}return O+=` `,O.trim()}),n.subParser("makeMarkdown.listItem",function(l,p){for(var h="",O=l.childNodes,C=O.length,k=0;k `;if(l.nodeType!==1)return"";var C=l.tagName.toLowerCase();switch(C){case"h1":h||(O=n.subParser("makeMarkdown.header")(l,p,1)+` `);break;case"h2":h||(O=n.subParser("makeMarkdown.header")(l,p,2)+` `);break;case"h3":h||(O=n.subParser("makeMarkdown.header")(l,p,3)+` `);break;case"h4":h||(O=n.subParser("makeMarkdown.header")(l,p,4)+` `);break;case"h5":h||(O=n.subParser("makeMarkdown.header")(l,p,5)+` `);break;case"h6":h||(O=n.subParser("makeMarkdown.header")(l,p,6)+` `);break;case"p":h||(O=n.subParser("makeMarkdown.paragraph")(l,p)+` `);break;case"blockquote":h||(O=n.subParser("makeMarkdown.blockquote")(l,p)+` `);break;case"hr":h||(O=n.subParser("makeMarkdown.hr")(l,p)+` `);break;case"ol":h||(O=n.subParser("makeMarkdown.list")(l,p,"ol")+` `);break;case"ul":h||(O=n.subParser("makeMarkdown.list")(l,p,"ul")+` `);break;case"precode":h||(O=n.subParser("makeMarkdown.codeBlock")(l,p)+` `);break;case"pre":h||(O=n.subParser("makeMarkdown.pre")(l,p)+` `);break;case"table":h||(O=n.subParser("makeMarkdown.table")(l,p)+` `);break;case"code":O=n.subParser("makeMarkdown.codeSpan")(l,p);break;case"em":case"i":O=n.subParser("makeMarkdown.emphasis")(l,p);break;case"strong":case"b":O=n.subParser("makeMarkdown.strong")(l,p);break;case"del":O=n.subParser("makeMarkdown.strikethrough")(l,p);break;case"a":O=n.subParser("makeMarkdown.links")(l,p);break;case"img":O=n.subParser("makeMarkdown.image")(l,p);break;default:O=l.outerHTML+` `}return O}),n.subParser("makeMarkdown.paragraph",function(l,p){var h="";if(l.hasChildNodes())for(var O=l.childNodes,C=O.length,k=0;k"+p.preList[h]+""}),n.subParser("makeMarkdown.strikethrough",function(l,p){var h="";if(l.hasChildNodes()){h+="~~";for(var O=l.childNodes,C=O.length,k=0;ktr>th"),k=l.querySelectorAll("tbody>tr"),$,I;for($=0;$x&&(x=H)}for($=0;$/g,"\\$1>"),p=p.replace(/^#/gm,"\\#"),p=p.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),p=p.replace(/^( {0,3}\d+)\./gm,"$1\\."),p=p.replace(/^( {0,3})([+-])/gm,"$1\\$2"),p=p.replace(/]([\s]*)\(/g,"\\]$1\\("),p=p.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),p});var _=this;t.exports?t.exports=n:_.showdown=n}).call(ke)})(o3);var QW=o3.exports;const BQ=Og(QW);var ul,eK=new Uint8Array(16);function tK(){if(!ul&&(ul=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!ul))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ul(eK)}const rK=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function nK(t){return typeof t=="string"&&rK.test(t)}var wt=[];for(var Np=0;Np<256;++Np)wt.push((Np+256).toString(16).substr(1));function iK(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(wt[t[e+0]]+wt[t[e+1]]+wt[t[e+2]]+wt[t[e+3]]+"-"+wt[t[e+4]]+wt[t[e+5]]+"-"+wt[t[e+6]]+wt[t[e+7]]+"-"+wt[t[e+8]]+wt[t[e+9]]+"-"+wt[t[e+10]]+wt[t[e+11]]+wt[t[e+12]]+wt[t[e+13]]+wt[t[e+14]]+wt[t[e+15]]).toLowerCase();if(!nK(r))throw TypeError("Stringified UUID is invalid");return r}function LQ(t,e,r){t=t||{};var n=t.random||(t.rng||tK)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){r=r||0;for(var i=0;i<16;++i)e[r+i]=n[i];return e}return iK(n)}function Cv(t,e,r){var n,i,a,o,s;e==null&&(e=100);function u(){var d=Date.now()-o;d=0?n=setTimeout(u,e-d):(n=null,r||(s=t.apply(a,i),a=i=null))}var c=function(){a=this,i=arguments,o=Date.now();var d=r&&!n;return n||(n=setTimeout(u,e)),d&&(s=t.apply(a,i),a=i=null),s};return c.clear=function(){n&&(clearTimeout(n),n=null)},c.flush=function(){n&&(s=t.apply(a,i),a=i=null,clearTimeout(n),n=null)},c}Cv.debounce=Cv;var FQ=Cv;/*! * vue-i18n v8.28.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */var s3=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],aK=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Do(t,e){typeof console<"u"&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function oK(t,e){typeof console<"u"&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var yn=Array.isArray;function jr(t){return t!==null&&typeof t=="object"}function sK(t){return typeof t=="boolean"}function bt(t){return typeof t=="string"}var uK=Object.prototype.toString,lK="[object Object]";function mn(t){return uK.call(t)===lK}function Yt(t){return t==null}function Av(t){return typeof t=="function"}function md(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=null,n=null;return t.length===1?jr(t[0])||yn(t[0])?n=t[0]:typeof t[0]=="string"&&(r=t[0]):t.length===2&&(typeof t[0]=="string"&&(r=t[0]),(jr(t[1])||yn(t[1]))&&(n=t[1])),{locale:r,params:n}}function zo(t){return JSON.parse(JSON.stringify(t))}function cK(t,e){if(t.delete(e))return t}function fK(t){var e=[];return t.forEach(function(r){return e.push(r)}),e}function Eu(t,e){return!!~t.indexOf(e)}var dK=Object.prototype.hasOwnProperty;function pK(t,e){return dK.call(t,e)}function aa(t){for(var e=arguments,r=Object(t),n=1;n/g,">").replace(/"/g,""").replace(/'/g,"'")}function vK(t){return t!=null&&Object.keys(t).forEach(function(e){typeof t[e]=="string"&&(t[e]=hK(t[e]))}),t}function mK(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(e){for(var r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(r))},t.prototype.$tc=function(e,r){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var a=this.$i18n;return a._tc.apply(a,[e,a.locale,a._getMessages(),this,r].concat(n))},t.prototype.$te=function(e,r){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),r)},t.prototype.$d=function(e){for(var r,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(r=this.$i18n).d.apply(r,[e].concat(n))},t.prototype.$n=function(e){for(var r,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(r=this.$i18n).n.apply(r,[e].concat(n))}}function gK(t){t===void 0&&(t=!1);function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return t?{mounted:e}:{beforeCreate:function(){var n=this.$options;if(n.i18n=n.i18n||(n.__i18nBridge||n.__i18n?{}:null),n.i18n){if(n.i18n instanceof Y){if(n.__i18nBridge||n.__i18n)try{var i=n.i18n&&n.i18n.messages?n.i18n.messages:{},a=n.__i18nBridge||n.__i18n;a.forEach(function(v){i=aa(i,JSON.parse(v))}),Object.keys(i).forEach(function(v){n.i18n.mergeLocaleMessage(v,i[v])})}catch{}this._i18n=n.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(mn(n.i18n)){var o=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Y?this.$root.$i18n:null;if(o&&(n.i18n.root=this.$root,n.i18n.formatter=o.formatter,n.i18n.fallbackLocale=o.fallbackLocale,n.i18n.formatFallbackMessages=o.formatFallbackMessages,n.i18n.silentTranslationWarn=o.silentTranslationWarn,n.i18n.silentFallbackWarn=o.silentFallbackWarn,n.i18n.pluralizationRules=o.pluralizationRules,n.i18n.preserveDirectiveContent=o.preserveDirectiveContent),n.__i18nBridge||n.__i18n)try{var s=n.i18n&&n.i18n.messages?n.i18n.messages:{},u=n.__i18nBridge||n.__i18n;u.forEach(function(v){s=aa(s,JSON.parse(v))}),n.i18n.messages=s}catch{}var c=n.i18n,d=c.sharedMessages;d&&mn(d)&&(n.i18n.messages=aa(n.i18n.messages,d)),this._i18n=new Y(n.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(n.i18n.sync===void 0||n.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),o&&o.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Y?this._i18n=this.$root.$i18n:n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof Y&&(this._i18n=n.parent.$i18n)},beforeMount:function(){var n=this.$options;n.i18n=n.i18n||(n.__i18nBridge||n.__i18n?{}:null),n.i18n?n.i18n instanceof Y?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):mn(n.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Y?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof Y&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var n=this;this.$nextTick(function(){n._subscribing&&(n._i18n.unsubscribeDataChanging(n),delete n._subscribing),n._i18nWatcher&&(n._i18nWatcher(),n._i18n.destroyVM(),delete n._i18nWatcher),n._localeWatcher&&(n._localeWatcher(),delete n._localeWatcher)})}}}}var UP={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,r){var n=r.data,i=r.parent,a=r.props,o=r.slots,s=i.$i18n;if(s){var u=a.path,c=a.locale,d=a.places,v=o(),m=s.i(u,c,bK(v)||d?yK(v.default,d):v),g=a.tag&&a.tag!==!0||a.tag===!1?a.tag:"span";return g?e(g,n,m):m}}};function bK(t){var e;for(e in t)if(e!=="default")return!1;return!!e}function yK(t,e){var r=e?_K(e):{};if(!t)return r;t=t.filter(function(i){return i.tag||i.text.trim()!==""});var n=t.every(OK);return t.reduce(n?wK:u3,r)}function _K(t){return Array.isArray(t)?t.reduce(u3,{}):Object.assign({},t)}function wK(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function u3(t,e,r){return t[r]=e,t}function OK(t){return!!(t.data&&t.data.attrs&&t.data.attrs.place)}var GP={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,r){var n=r.props,i=r.parent,a=r.data,o=i.$i18n;if(!o)return null;var s=null,u=null;bt(n.format)?s=n.format:jr(n.format)&&(n.format.key&&(s=n.format.key),u=Object.keys(n.format).reduce(function(g,b){var w;return Eu(s3,b)?Object.assign({},g,(w={},w[b]=n.format[b],w)):g},null));var c=n.locale||o.locale,d=o._ntp(n.value,c,s,u),v=d.map(function(g,b){var w,A=a.scopedSlots&&a.scopedSlots[g.type];return A?A((w={},w[g.type]=g.value,w.index=b,w.parts=d,w)):g.value}),m=n.tag&&n.tag!==!0||n.tag===!1?n.tag:"span";return m?e(m,{attrs:a.attrs,class:a.class,staticClass:a.staticClass},v):v}};function PK(t,e,r){l3(t,r)&&c3(t,e,r)}function SK(t,e,r,n){if(l3(t,r)){var i=r.context.$i18n;EK(t,r)&&ef(e.value,e.oldValue)&&ef(t._localeMessage,i.getLocaleMessage(i.locale))||c3(t,e,r)}}function TK(t,e,r,n){var i=r.context;if(!i){Do("Vue instance does not exists in VNode context");return}var a=r.context.$i18n||{};!e.modifiers.preserve&&!a.preserveDirectiveContent&&(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}function l3(t,e){var r=e.context;return r?r.$i18n?!0:(Do("VueI18n instance does not exists in Vue instance"),!1):(Do("Vue instance does not exists in VNode context"),!1)}function EK(t,e){var r=e.context;return t._locale===r.$i18n.locale}function c3(t,e,r){var n,i,a=e.value,o=$K(a),s=o.path,u=o.locale,c=o.args,d=o.choice;if(!s&&!u&&!c){Do("value type not supported");return}if(!s){Do("`path` is required in v-t directive");return}var v=r.context;d!=null?t._vt=t.textContent=(n=v.$i18n).tc.apply(n,[s,d].concat(WP(u,c))):t._vt=t.textContent=(i=v.$i18n).t.apply(i,[s].concat(WP(u,c))),t._locale=v.$i18n.locale,t._localeMessage=v.$i18n.getLocaleMessage(v.$i18n.locale)}function $K(t){var e,r,n,i;return bt(t)?e=t:mn(t)&&(e=t.path,r=t.locale,n=t.args,i=t.choice),{path:e,locale:r,args:n,choice:i}}function WP(t,e){var r=[];return t&&r.push(t),e&&(Array.isArray(e)||mn(e))&&r.push(e),r}var It;function Xg(t,e){e===void 0&&(e={bridge:!1}),Xg.installed=!0,It=t,It.version&&Number(It.version.split(".")[0]),mK(It),It.mixin(gK(e.bridge)),It.directive("t",{bind:PK,update:SK,unbind:TK}),It.component(UP.name,UP),It.component(GP.name,GP);var r=It.config.optionMergeStrategies;r.i18n=function(n,i){return i===void 0?n:i}}var f3=function(){this._caches=Object.create(null)};f3.prototype.interpolate=function(e,r){if(!r)return[e];var n=this._caches[e];return n||(n=DK(e),this._caches[e]=n),kK(n,r)};var CK=/^(?:\d)+/,AK=/^(?:\w)+/;function DK(t){for(var e=[],r=0,n="";r0)i--,n=xn,m[vt]();else{if(i=0,o===void 0||(o=jK(o),o===!1))return!1;m[uo]()}};function g(){var b=t[r+1];if(n===nf&&b==="'"||n===af&&b==='"')return r++,s="\\"+b,m[vt](),!0}for(;n!==null;)if(r++,a=t[r],!(a==="\\"&&g())){if(u=NK(a),v=ki[n],c=v[u]||v.else||au,c===au||(n=c[0],d=m[c[1]],d&&(s=c[2],s=s===void 0?a:s,d()===!1)))return;if(n===gd)return e}}var Jg=function(){this._cache=Object.create(null)};Jg.prototype.parsePath=function(e){var r=this._cache[e];return r||(r=BK(e),r&&(this._cache[e]=r)),r||[]};Jg.prototype.getPathValue=function(e,r){if(!jr(e))return null;var n=this.parsePath(r);if(n.length===0)return null;for(var i=n.length,a=e,o=0;o/,FK=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,xK=/^@(?:\.([a-zA-Z]+))?:/,HK=/[()]/g,KP={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},kv=new f3,Y=function(e){var r=this;e===void 0&&(e={}),!It&&typeof window<"u"&&window.Vue&&Xg(window.Vue);var n=e.locale||"en-US",i=e.fallbackLocale===!1?!1:e.fallbackLocale||"en-US",a=e.messages||{},o=e.dateTimeFormats||e.datetimeFormats||{},s=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||kv,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=e.sync===void 0?!0:!!e.sync,this._fallbackRoot=e.fallbackRoot===void 0?!0:!!e.fallbackRoot,this._fallbackRootWithEmptyString=e.fallbackRootWithEmptyString===void 0?!0:!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=e.formatFallbackMessages===void 0?!1:!!e.formatFallbackMessages,this._silentTranslationWarn=e.silentTranslationWarn===void 0?!1:e.silentTranslationWarn,this._silentFallbackWarn=e.silentFallbackWarn===void 0?!1:!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new Jg,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=e.preserveDirectiveContent===void 0?!1:!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(u,c){var d=Object.getPrototypeOf(r);if(d&&d.getChoiceIndex){var v=d.getChoiceIndex;return v.call(r,u,c)}var m=function(g,b){return g=Math.abs(g),b===2?g?g>1?1:0:1:g?Math.min(g,2):0};return r.locale in r.pluralizationRules?r.pluralizationRules[r.locale].apply(r,[u,c]):m(u,c)},this._exist=function(u,c){return!u||!c?!1:!!(!Yt(r._path.getPathValue(u,c))||u[c])},(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&Object.keys(a).forEach(function(u){r._checkLocaleMessage(u,r._warnHtmlInMessage,a[u])}),this._initVM({locale:n,fallbackLocale:i,messages:a,dateTimeFormats:o,numberFormats:s})},Ie={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Y.prototype._checkLocaleMessage=function(e,r,n){var i=[],a=function(o,s,u,c){if(mn(u))Object.keys(u).forEach(function(m){var g=u[m];mn(g)?(c.push(m),c.push("."),a(o,s,g,c),c.pop(),c.pop()):(c.push(m),a(o,s,g,c),c.pop())});else if(yn(u))u.forEach(function(m,g){mn(m)?(c.push("["+g+"]"),c.push("."),a(o,s,m,c),c.pop(),c.pop()):(c.push("["+g+"]"),a(o,s,m,c),c.pop())});else if(bt(u)){var d=LK.test(u);if(d){var v="Detected HTML in message '"+u+"' of keypath '"+c.join("")+"' at '"+s+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";o==="warn"?Do(v):o==="error"&&oK(v)}}};a(r,e,n,i)};Y.prototype._initVM=function(e){var r=It.config.silent;It.config.silent=!0,this._vm=new It({data:e,__VUE18N__INSTANCE__:!0}),It.config.silent=r};Y.prototype.destroyVM=function(){this._vm.$destroy()};Y.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)};Y.prototype.unsubscribeDataChanging=function(e){cK(this._dataListeners,e)};Y.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",function(){for(var r=fK(e._dataListeners),n=r.length;n--;)It.nextTick(function(){r[n]&&r[n].$forceUpdate()})},{deep:!0})};Y.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var n=this,i=this._vm;return this.vm.$watch("locale",function(a){i.$set(i,"locale",a),n.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=a),i.$forceUpdate()},{immediate:!0})}else{if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",function(a){r.$set(r,"locale",a),r.$forceUpdate()},{immediate:!0})}};Y.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)};Ie.vm.get=function(){return this._vm};Ie.messages.get=function(){return zo(this._getMessages())};Ie.dateTimeFormats.get=function(){return zo(this._getDateTimeFormats())};Ie.numberFormats.get=function(){return zo(this._getNumberFormats())};Ie.availableLocales.get=function(){return Object.keys(this.messages).sort()};Ie.locale.get=function(){return this._vm.locale};Ie.locale.set=function(t){this._vm.$set(this._vm,"locale",t)};Ie.fallbackLocale.get=function(){return this._vm.fallbackLocale};Ie.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)};Ie.formatFallbackMessages.get=function(){return this._formatFallbackMessages};Ie.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t};Ie.missing.get=function(){return this._missing};Ie.missing.set=function(t){this._missing=t};Ie.formatter.get=function(){return this._formatter};Ie.formatter.set=function(t){this._formatter=t};Ie.silentTranslationWarn.get=function(){return this._silentTranslationWarn};Ie.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t};Ie.silentFallbackWarn.get=function(){return this._silentFallbackWarn};Ie.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t};Ie.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent};Ie.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t};Ie.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage};Ie.warnHtmlInMessage.set=function(t){var e=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,r!==t&&(t==="warn"||t==="error")){var n=this._getMessages();Object.keys(n).forEach(function(i){e._checkLocaleMessage(i,e._warnHtmlInMessage,n[i])})}};Ie.postTranslation.get=function(){return this._postTranslation};Ie.postTranslation.set=function(t){this._postTranslation=t};Ie.sync.get=function(){return this._sync};Ie.sync.set=function(t){this._sync=t};Y.prototype._getMessages=function(){return this._vm.messages};Y.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats};Y.prototype._getNumberFormats=function(){return this._vm.numberFormats};Y.prototype._warnDefault=function(e,r,n,i,a,o){if(!Yt(n))return n;if(this._missing){var s=this._missing.apply(null,[e,r,i,a]);if(bt(s))return s}if(this._formatFallbackMessages){var u=md.apply(void 0,a);return this._render(r,o,u.params,r)}else return r};Y.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:Yt(e))&&!Yt(this._root)&&this._fallbackRoot};Y.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn};Y.prototype._isSilentFallback=function(e,r){return this._isSilentFallbackWarn(r)&&(this._isFallbackRoot()||e!==this.fallbackLocale)};Y.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn};Y.prototype._interpolate=function(e,r,n,i,a,o,s){if(!r)return null;var u=this._path.getPathValue(r,n);if(yn(u)||mn(u))return u;var c;if(Yt(u))if(mn(r)){if(c=r[n],!(bt(c)||Av(c)))return null}else return null;else if(bt(u)||Av(u))c=u;else return null;return bt(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(e,r,c,i,"raw",o,s)),this._render(c,a,o,n)};Y.prototype._link=function(e,r,n,i,a,o,s){var u=n,c=u.match(FK);for(var d in c)if(c.hasOwnProperty(d)){var v=c[d],m=v.match(xK),g=m[0],b=m[1],w=v.replace(g,"").replace(HK,"");if(Eu(s,w))return u;s.push(w);var A=this._interpolate(e,r,w,i,a==="raw"?"string":a,a==="raw"?void 0:o,s);if(this._isFallbackRoot(A)){if(!this._root)throw Error("unexpected error");var P=this._root.$i18n;A=P._translate(P._getMessages(),P.locale,P.fallbackLocale,w,i,a,o)}A=this._warnDefault(e,w,A,i,yn(o)?o:[o],a),this._modifiers.hasOwnProperty(b)?A=this._modifiers[b](A):KP.hasOwnProperty(b)&&(A=KP[b](A)),s.pop(),u=A?u.replace(v,A):u}return u};Y.prototype._createMessageContext=function(e,r,n,i){var a=this,o=yn(e)?e:[],s=jr(e)?e:{},u=function(m){return o[m]},c=function(m){return s[m]},d=this._getMessages(),v=this.locale;return{list:u,named:c,values:e,formatter:r,path:n,messages:d,locale:v,linked:function(m){return a._interpolate(v,d[v]||{},m,null,i,void 0,[m])}}};Y.prototype._render=function(e,r,n,i){if(Av(e))return e(this._createMessageContext(n,this._formatter||kv,i,r));var a=this._formatter.interpolate(e,n,i);return a||(a=kv.interpolate(e,n,i)),r==="string"&&!bt(a)?a.join(""):a};Y.prototype._appendItemToChain=function(e,r,n){var i=!1;return Eu(e,r)||(i=!0,r&&(i=r[r.length-1]!=="!",r=r.replace(/!/g,""),e.push(r),n&&n[r]&&(i=n[r]))),i};Y.prototype._appendLocaleToChain=function(e,r,n){var i,a=r.split("-");do{var o=a.join("-");i=this._appendItemToChain(e,o,n),a.splice(-1,1)}while(a.length&&i===!0);return i};Y.prototype._appendBlockToChain=function(e,r,n){for(var i=!0,a=0;a0;)o[s]=arguments[s+4];if(!e)return"";var u=md.apply(void 0,o);this._escapeParameterHtml&&(u.params=vK(u.params));var c=u.locale||r,d=this._translate(n,c,this.fallbackLocale,e,i,"string",u.params);if(this._isFallbackRoot(d)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[e].concat(o))}else return d=this._warnDefault(c,e,d,i,o,"string"),this._postTranslation&&d!==null&&d!==void 0&&(d=this._postTranslation(d,e)),d};Y.prototype.t=function(e){for(var r,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(r=this)._t.apply(r,[e,this.locale,this._getMessages(),null].concat(n))};Y.prototype._i=function(e,r,n,i,a){var o=this._translate(n,r,this.fallbackLocale,e,i,"raw",a);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,r,a)}else return this._warnDefault(r,e,o,i,[a],"raw")};Y.prototype.i=function(e,r,n){return e?(bt(r)||(r=this.locale),this._i(e,r,this._getMessages(),null,n)):""};Y.prototype._tc=function(e,r,n,i,a){for(var o,s=[],u=arguments.length-5;u-- >0;)s[u]=arguments[u+5];if(!e)return"";a===void 0&&(a=1);var c={count:a,n:a},d=md.apply(void 0,s);return d.params=Object.assign(c,d.params),s=d.locale===null?[d.params]:[d.locale,d.params],this.fetchChoice((o=this)._t.apply(o,[e,r,n,i].concat(s)),a)};Y.prototype.fetchChoice=function(e,r){if(!e||!bt(e))return null;var n=e.split("|");return r=this.getChoiceIndex(r,n.length),n[r]?n[r].trim():e};Y.prototype.tc=function(e,r){for(var n,i=[],a=arguments.length-2;a-- >0;)i[a]=arguments[a+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,r].concat(i))};Y.prototype._te=function(e,r,n){for(var i=[],a=arguments.length-3;a-- >0;)i[a]=arguments[a+3];var o=md.apply(void 0,i).locale||r;return this._exist(n[o],e)};Y.prototype.te=function(e,r){return this._te(e,this.locale,this._getMessages(),r)};Y.prototype.getLocaleMessage=function(e){return zo(this._vm.messages[e]||{})};Y.prototype.setLocaleMessage=function(e,r){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(e,this._warnHtmlInMessage,r),this._vm.$set(this._vm.messages,e,r)};Y.prototype.mergeLocaleMessage=function(e,r){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(e,this._warnHtmlInMessage,r),this._vm.$set(this._vm.messages,e,aa(typeof this._vm.messages[e]<"u"&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},r))};Y.prototype.getDateTimeFormat=function(e){return zo(this._vm.dateTimeFormats[e]||{})};Y.prototype.setDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,r),this._clearDateTimeFormat(e,r)};Y.prototype.mergeDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,aa(this._vm.dateTimeFormats[e]||{},r)),this._clearDateTimeFormat(e,r)};Y.prototype._clearDateTimeFormat=function(e,r){for(var n in r){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}};Y.prototype._localizeDateTime=function(e,r,n,i,a,o){for(var s=r,u=i[s],c=this._getLocaleChain(r,n),d=0;d0;)r[n]=arguments[n+1];var i=this.locale,a=null,o=null;return r.length===1?(bt(r[0])?a=r[0]:jr(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key)),o=Object.keys(r[0]).reduce(function(s,u){var c;return Eu(aK,u)?Object.assign({},s,(c={},c[u]=r[0][u],c)):s},null)):r.length===2&&(bt(r[0])&&(a=r[0]),bt(r[1])&&(i=r[1])),this._d(e,i,a,o)};Y.prototype.getNumberFormat=function(e){return zo(this._vm.numberFormats[e]||{})};Y.prototype.setNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,r),this._clearNumberFormat(e,r)};Y.prototype.mergeNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,aa(this._vm.numberFormats[e]||{},r)),this._clearNumberFormat(e,r)};Y.prototype._clearNumberFormat=function(e,r){for(var n in r){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}};Y.prototype._getNumberFormatter=function(e,r,n,i,a,o){for(var s=r,u=i[s],c=this._getLocaleChain(r,n),d=0;d0;)r[n]=arguments[n+1];var i=this.locale,a=null,o=null;return r.length===1?bt(r[0])?a=r[0]:jr(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key),o=Object.keys(r[0]).reduce(function(s,u){var c;return Eu(s3,u)?Object.assign({},s,(c={},c[u]=r[0][u],c)):s},null)):r.length===2&&(bt(r[0])&&(a=r[0]),bt(r[1])&&(i=r[1])),this._n(e,i,a,o)};Y.prototype._ntp=function(e,r,n,i){if(!Y.availabilities.numberFormat)return[];if(!n){var a=i?new Intl.NumberFormat(r,i):new Intl.NumberFormat(r);return a.formatToParts(e)}var o=this._getNumberFormatter(e,r,this.fallbackLocale,this._getNumberFormats(),n,i),s=o&&o.formatToParts(e);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,r,n,i)}else return s||[]};Object.defineProperties(Y.prototype,Ie);var jp;Object.defineProperty(Y,"availabilities",{get:function(){if(!jp){var e=typeof Intl<"u";jp={dateTimeFormat:e&&typeof Intl.DateTimeFormat<"u",numberFormat:e&&typeof Intl.NumberFormat<"u"}}return jp}});Y.install=Xg;Y.version="8.28.2";const xQ=Y;function VK(t){var e=t;return!!(e.ctrlKey||e.shiftKey||e.metaKey||e.button&&e.button==1)}function zK(t,e){return!!(t.target==="_blank"&&e)}function UK(t,e,r,n){var i=this,a=[];return t?(t instanceof Element?a=[t]:"toArray"in t?a=t.toArray():a=t,a.forEach(function(o){o.addEventListener("click",function(s){var u,c,d=e instanceof Function?e(o):e,v=r instanceof Function?r(o):r,m=o.getAttribute("href")||o.getAttributeNS("http://www.w3.org/1999/xlink","href")||o.getAttribute("xlink:href")||((u=o.getElementsByTagName("a")[0])===null||u===void 0?void 0:u.getAttribute("href")),g=bg(i.track(d,v,n??{}),(c=i.settings.timeout)!==null&&c!==void 0?c:500);!zK(o,m)&&!VK(s)&&m&&(s.preventDefault?s.preventDefault():s.returnValue=!1,g.catch(console.error).then(function(){window.location.href=m}).catch(console.error))},!1)}),this):this}function GK(t,e,r,n){var i=this;if(!t)return this;t instanceof HTMLFormElement&&(t=[t]);var a=t;return a.forEach(function(o){if(!(o instanceof Element))throw new TypeError("Must pass HTMLElement to trackForm/trackSubmit.");var s=function(c){var d;c.preventDefault?c.preventDefault():c.returnValue=!1;var v=e instanceof Function?e(o):e,m=r instanceof Function?r(o):r,g=bg(i.track(v,m,n??{}),(d=i.settings.timeout)!==null&&d!==void 0?d:500);g.catch(console.error).then(function(){o.submit()}).catch(console.error)},u=window.jQuery||window.Zepto;u?u(o).submit(s):o.addEventListener("submit",s,!1)}),this}const ll=Object.freeze(Object.defineProperty({__proto__:null,form:GK,link:UK},Symbol.toStringTag,{value:"Module"}));function qP(t,e){return Object.keys(e).reduce(function(r,n){if(n.startsWith(t)){var i=n.substr(t.length);r[i]=e[n]}return r},{})}function WK(t,e){var r=document.createElement("a");r.href=e;var n=r.search.slice(1),i=n.split("&").reduce(function(_,l){var p=l.split("="),h=p[0],O=p[1];return _[h]=CD(O),_},{}),a=[],o=i.ajs_uid,s=i.ajs_event,u=i.ajs_aid,c=gr(t.options.useQueryString)?t.options.useQueryString:{},d=c.aid,v=d===void 0?/.+/:d,m=c.uid,g=m===void 0?/.+/:m;if(u){var b=Array.isArray(i.ajs_aid)?i.ajs_aid[0]:i.ajs_aid;v.test(b)&&t.setAnonymousId(b)}if(o){var w=Array.isArray(i.ajs_uid)?i.ajs_uid[0]:i.ajs_uid;if(g.test(w)){var A=qP("ajs_trait_",i);a.push(t.identify(w,A))}}if(s){var P=Array.isArray(i.ajs_event)?i.ajs_event[0]:i.ajs_event,E=qP("ajs_prop_",i);a.push(t.track(P,E))}return Promise.all(a)}const KK=Object.freeze(Object.defineProperty({__proto__:null,queryString:WK},Symbol.toStringTag,{value:"Module"}));var Wl={},Zg={};for(var h3=[],Xi=0;Xi<64;)h3[Xi]=0|4294967296*Math.sin(++Xi%Math.PI);function qK(t){var e,r,n,i=[e=1732584193,r=4023233417,~e,~r],a=[],o=unescape(encodeURI(t))+"€",s=o.length;for(t=--s/4+2|15,a[--t]=8*s;~s;)a[s>>2]|=o.charCodeAt(s)<<8*s--;for(Xi=o=0;Xi>4]+h3[o]+~~a[Xi|15&[o,5*o+1,3*o+5,7*o][s]])<<(s=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*s+o++%4])|n>>>-s),e,r])e=0|s[1],r=s[2];for(o=4;o;)i[--o]+=s[o]}for(t="";o<32;)t+=(i[o>>3]>>4*(1^o++)&15).toString(16);return t}const YK=Object.freeze(Object.defineProperty({__proto__:null,default:qK},Symbol.toStringTag,{value:"Module"})),XK=fD(YK);var v3={exports:{}};(function(t,e){(function(r,n){t.exports=function(i,a,o,s,u){for(a=a.split?a.split("."):a,s=0;s>>20,e-uZ|0}var cZ=lZ;/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */var fZ=cZ,dZ=fZ;/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */var pZ=m3,hZ=g3,vZ=b3,mZ=aq,gZ=sq,bZ=lq,yZ=y3,_Z=_3,wZ=FJ,OZ=nZ,PZ=dZ,SZ=A3,TZ=N3,EZ=2220446049250313e-31,$Z=2148532223,Vp=[0,0],zp=[0,0];function CZ(t,e){var r,n;return t===0||yZ(t)||_Z(t)?t:(OZ(Vp),t=Vp[0],e+=Vp[1],e+=PZ(t),emZ?t<0?hZ:pZ:(e<=gZ?(e+=52,n=EZ):n=1,SZ(zp),r=zp[0],r&=$Z,r|=e+vZ<<20,n*TZ(r,zp[1])))}var AZ=CZ;/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */var DZ=AZ,kZ=DZ;const MZ=fD(hU);var yd={},IZ=ke&&ke.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yd,"__esModule",{value:!0});yd.unset=void 0;var RZ=IZ(Qg);function NZ(t,e){if((0,RZ.default)(t,e)){for(var r=e.split("."),n=r.pop();r.length&&r[r.length-1].slice(-1)==="\\";)n=r.pop().slice(0,-1)+"."+n;for(;r.length;)t=t[e=r.shift()];return delete t[n]}return!0}yd.unset=NZ;var nb=ke&&ke.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Zg,"__esModule",{value:!0});var jZ=nb(XK),lo=nb(Qg),BZ=nb(kZ),vs=MZ,LZ=yd;function FZ(t,e){for(var r=t,n=0,i=e;n1?(a.pop(),o=(0,lo.default)(r,a.join("."))):o=t,typeof o=="object"){if(i.copy){var s=(0,lo.default)(r,i.copy);s!==void 0&&(0,vs.dset)(t,n,s)}else if(i.move){var u=(0,lo.default)(r,i.move);u!==void 0&&(0,vs.dset)(t,n,u),(0,LZ.unset)(t,i.move)}else i.hasOwnProperty("set")&&(0,vs.dset)(t,n,i.set);if(i.to_string){var c=(0,lo.default)(t,n);if(typeof c=="string"||typeof c=="object"&&c!==null)continue;c!==void 0?(0,vs.dset)(t,n,JSON.stringify(c)):(0,vs.dset)(t,n,"undefined")}}}}function zZ(t,e){return e.sample.percent<=0?!1:e.sample.percent>=1?!0:e.sample.path?GZ(t,e):UZ(e.sample.percent)}function UZ(t){return Math.random()<=t}function GZ(t,e){var r=(0,lo.default)(t,e.sample.path),n=(0,jZ.default)(JSON.stringify(r)),i=-64,a=[];aS(n.slice(0,8),a);for(var o=0,s=0;s<64&&a[s]!==1;s++)o++;if(o!==0){var u=[];aS(n.slice(9,16),u),i-=o,a.splice(0,o),u.splice(64-o),a=a.concat(u)}return a[63]=a[63]===0?1:0,(0,BZ.default)(parseInt(a.join(""),2),i)=1;i/=2)n-i>=0?(n-=i,e.push(1)):e.push(0)}var ib={},WZ=ke&&ke.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ib,"__esModule",{value:!0});var KZ=WZ(Qg);function qZ(t,e){if(!e)throw new Error("No matcher supplied!");switch(e.type){case"all":return YZ();case"fql":return XZ(e.ir,t);default:throw new Error("Matcher of type ".concat(e.type," unsupported."))}}ib.default=qZ;function YZ(){return!0}function XZ(t,e){if(!t)return!1;try{t=JSON.parse(t)}catch(n){throw new Error('Failed to JSON.parse FQL intermediate representation "'.concat(t,'": ').concat(n))}var r=hi(t,e);return typeof r!="boolean"?!1:r}function hi(t,e){if(!Array.isArray(t))return kt(t,e)===!0;var r=t[0];switch(r){case"!":return!hi(t[1],e);case"or":for(var n=1;n":case">=":return ZZ(kt(t[1],e),kt(t[2],e),r,e);case"in":return JZ(kt(t[1],e),kt(t[2],e),e);case"contains":return eQ(kt(t[1],e),kt(t[2],e));case"match":return tQ(kt(t[1],e),kt(t[2],e));case"lowercase":var i=kt(t[1],e);return typeof i!="string"?null:i.toLowerCase();case"typeof":return typeof kt(t[1],e);case"length":return rQ(kt(t[1],e));default:throw new Error("FQL IR could not evaluate for token: ".concat(r))}}function kt(t,e){return Array.isArray(t)?t:typeof t=="object"?t.value:(0,KZ.default)(e,t)}function JZ(t,e,r){return e.find(function(n){return kt(n,r)===t})!==void 0}function ZZ(t,e,r,n){if(of(t)&&(t=hi(t,n)),of(e)&&(e=hi(e,n)),typeof t!="number"||typeof e!="number")return!1;switch(r){case"<=":return t<=e;case">=":return t>=e;case"<":return t":return t>e;default:throw new Error("Invalid operator in compareNumbers: ".concat(r))}}function QZ(t,e,r,n){switch(of(t)&&(t=hi(t,n)),of(e)&&(e=hi(e,n)),typeof t=="object"&&typeof e=="object"&&(t=JSON.stringify(t),e=JSON.stringify(e)),r){case"=":return t===e;case"!=":return t!==e;default:throw new Error("Invalid operator in compareItems: ".concat(r))}}function eQ(t,e){return typeof t!="string"||typeof e!="string"?!1:t.indexOf(e)!==-1}function tQ(t,e){return typeof t!="string"||typeof e!="string"?!1:nQ(e,t)}function rQ(t){return t===null?0:!Array.isArray(t)&&typeof t!="string"?NaN:t.length}function of(t){return Array.isArray(t)?(t[0]==="lowercase"||t[0]==="length"||t[0]==="typeof")&&t.length===2||(t[0]==="contains"||t[0]==="match")&&t.length===3:!1}function nQ(t,e){var r,n;e:for(;t.length>0;){var i=void 0,a=void 0;if(r=iQ(t),i=r.star,a=r.chunk,t=r.pattern,i&&a==="")return!0;var o=oS(a,e),s=o.t,u=o.ok,c=o.err;if(c)return!1;if(u&&(s.length===0||t.length>0)){e=s;continue}if(i)for(var d=0;d0)continue;e=s;continue e}if(c)return!1}return!1}return e.length===0}function iQ(t){for(var e={star:!1,chunk:"",pattern:""};t.length>0&&t[0]==="*";)t=t.slice(1),e.star=!0;var r=!1,n;e:for(n=0;n0;){if(e.length===0)return i;switch(t[0]){case"[":var a=e[0];e=e.slice(1),t=t.slice(1);var o=!0;t.length>0&&t[0]==="^"&&(o=!1,t=t.slice(1));for(var s=!1,u=0;;){if(t.length>0&&t[0]==="]"&&u>0){t=t.slice(1);break}var c="",d="",v=void 0;if(r=sS(t),c=r.char,t=r.newChunk,v=r.err,v||(d=c,t[0]==="-"&&(n=sS(t.slice(1)),d=n.char,t=n.newChunk,v=n.err,v)))return i;c<=a&&a<=d&&(s=!0),u++}if(s!==o)return i;break;case"?":e=e.slice(1),t=t.slice(1);break;case"\\":if(t=t.slice(1),t.length===0)return i.err=!0,i;default:if(t[0]!==e[0])return i;e=e.slice(1),t=t.slice(1)}}return i.t=e,i.ok=!0,i.err=!1,i}function sS(t){var e={char:"",newChunk:"",err:!1};return t.length===0||t[0]==="-"||t[0]==="]"||t[0]==="\\"&&(t=t.slice(1),t.length===0)?(e.err=!0,e):(e.char=t[0],e.newChunk=t.slice(1),e.newChunk.length===0&&(e.err=!0),e)}var ab={};Object.defineProperty(ab,"__esModule",{value:!0});var aQ=function(){function t(e){this.rules=[],this.rules=e||[]}return t.prototype.getRulesByDestinationName=function(e){for(var r=[],n=0,i=this.rules;n0&&sD()},function(){return W(n,void 0,void 0,function(){var a,o,s;return K(this,function(u){switch(u.label){case 0:return a=e.pop(),a?[4,ho(a,t)]:[2];case 1:return o=u.sent(),s=o instanceof ra,s||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return e.pushWithBackoff(a)}),[2,e]}})})}var V3=function(){function t(e,r,n,i,a,o){i===void 0&&(i={}),this.options={},this.type="destination",this.middleware=[],this._ready=!1,this._initialized=!1,this.flushing=!1,this.name=e,this.version=r,this.settings=V({},i),this.disableAutoISOConversion=a.disableAutoISOConversion||!1,this.integrationSource=o,this.settings.type&&this.settings.type==="browser"&&delete this.settings.type,this.options=a,this.buffer=a.disableClientPersistence?new rd(4,[]):new id(4,"".concat(n,":dest-").concat(e)),this.scheduleFlush()}return t.prototype.isLoaded=function(){return this._ready},t.prototype.ready=function(){var e;return(e=this.onReady)!==null&&e!==void 0?e:Promise.resolve()},t.prototype.load=function(e,r){var n;return W(this,void 0,void 0,function(){var i,a,o=this;return K(this,function(s){switch(s.label){case 0:return this._ready||this.onReady!==void 0?[2]:(n=this.integrationSource)!==null&&n!==void 0?(a=n,[3,3]):[3,1];case 1:return[4,fQ(e,this.name,this.version,this.options.obfuscate)];case 2:a=s.sent(),s.label=3;case 3:i=a,this.integration=cQ(i,this.settings,r),this.onReady=new Promise(function(u){var c=function(){o._ready=!0,u(!0)};o.integration.once("ready",c)}),this.onInitialize=new Promise(function(u){var c=function(){o._initialized=!0,u(!0)};o.integration.on("initialize",c)});try{e.stats.increment("analytics_js.integration.invoke",1,["method:initialize","integration_name:".concat(this.name)]),this.integration.initialize()}catch(u){throw e.stats.increment("analytics_js.integration.invoke.error",1,["method:initialize","integration_name:".concat(this.name)]),u}return[2]}})})},t.prototype.unload=function(e,r){return dQ(this.name,this.version,this.options.obfuscate)},t.prototype.addMiddleware=function(){for(var e,r=[],n=0;n0&&this.scheduleFlush(),[2]}})})},Math.random()*5e3)},t}();function gQ(t,e,r,n,i,a){var o,s;if(r===void 0&&(r={}),n===void 0&&(n={}),oD())return[];e.plan&&(n=n??{},n.plan=e.plan);var u=(s=(o=e.middlewareSettings)===null||o===void 0?void 0:o.routingRules)!==null&&s!==void 0?s:[],c=e.integrations,d=n.integrations,v=$D(e,n??{}),m=a==null?void 0:a.reduce(function(b,w){var A;return V(V({},b),(A={},A[uQ(w)]=w,A))},{}),g=new Set(it(it([],Object.keys(c).filter(function(b){return hQ(b,c[b])}),!0),Object.keys(m||{}).filter(function(b){return gr(c[b])||gr(d==null?void 0:d[b])}),!0));return Array.from(g).filter(function(b){return!vQ(b,r)}).map(function(b){var w=c[b],A=pQ(w),P=new V3(b,A,t,v[b],n,m==null?void 0:m[b]),E=u.filter(function(_){return _.destinationName===b});return E.length>0&&i&&P.addMiddleware(i),P})}const bQ=Object.freeze(Object.defineProperty({__proto__:null,LegacyDestination:V3,ajsDestinations:gQ},Symbol.toStringTag,{value:"Module"}));function yQ(t){return W(this,void 0,void 0,function(){var e;return K(this,function(r){switch(r.label){case 0:return[4,Ar(()=>Promise.resolve().then(()=>$Q),void 0,import.meta.url)];case 1:return e=r.sent(),t._plugins=e,[2]}})})}const _Q=Object.freeze(Object.defineProperty({__proto__:null,loadLegacyVideoPlugins:yQ},Symbol.toStringTag,{value:"Module"}));function wQ(t,e){var r,n;if(!t||!Object.keys(t))return{};var i=t.integrations?Object.keys(t.integrations).filter(function(o){return t.integrations[o]===!1}):[],a=[];return((r=e.remotePlugins)!==null&&r!==void 0?r:[]).forEach(function(o){i.forEach(function(s){(o.name.includes(s)||s.includes(o.name))&&a.push(o.name)})}),((n=e.remotePlugins)!==null&&n!==void 0?n:[]).reduce(function(o,s){return s.settings.subscriptions&&a.includes(s.name)&&s.settings.subscriptions.forEach(function(u){return o["".concat(s.name," ").concat(u.partnerAction)]=!1}),o},{})}function OQ(t,e){function r(n){var i=t,a=n.event.event;if(i&&a){var o=i[a];if(F3(i,o)){var s=wQ(o,e);n.updateEvent("integrations",V(V(V({},n.event.integrations),o==null?void 0:o.integrations),s))}else return n.updateEvent("integrations",V(V({},n.event.integrations),{All:!1,"Segment.io":!0})),n}return n}return{name:"Schema Filter",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:r,alias:r,track:r,identify:r,group:r}}const PQ=Object.freeze(Object.defineProperty({__proto__:null,schemaFilter:OQ},Symbol.toStringTag,{value:"Module"}));function SQ(t,e,r){var n;return W(this,void 0,void 0,function(){var i,a,o,s,u,c=this;return K(this,function(d){switch(d.label){case 0:return oD()?[2,[]]:(i=Ag(),a=(n=e.enabledMiddleware)!==null&&n!==void 0?n:{},o=Object.entries(a).filter(function(v){v[0];var m=v[1];return m}).map(function(v){var m=v[0];return m}),s=o.map(function(v){return W(c,void 0,void 0,function(){var m,g,b,w;return K(this,function(A){switch(A.label){case 0:m=v.replace("@segment/",""),g=m,r&&(g=btoa(m).replace(/=/g,"")),b="".concat(i,"/middleware/").concat(g,"/latest/").concat(g,".js.gz"),A.label=1;case 1:return A.trys.push([1,3,,4]),[4,vo(b)];case 2:return A.sent(),[2,window["".concat(m,"Middleware")]];case 3:return w=A.sent(),t.log("error",w),t.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(s)]);case 1:return u=d.sent(),u=u.filter(Boolean),[2,u]}})})}const TQ=Object.freeze(Object.defineProperty({__proto__:null,remoteMiddlewares:SQ},Symbol.toStringTag,{value:"Module"}));var z3={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(window,function(){return function(r){var n={};function i(a){if(n[a])return n[a].exports;var o=n[a]={i:a,l:!1,exports:{}};return r[a].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=r,i.c=n,i.d=function(a,o,s){i.o(a,o)||Object.defineProperty(a,o,{enumerable:!0,get:s})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,o){if(1&o&&(a=i(a)),8&o||4&o&&typeof a=="object"&&a&&a.__esModule)return a;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:a}),2&o&&typeof a!="string")for(var u in a)i.d(s,u,(function(c){return a[c]}).bind(null,u));return s},i.n=function(a){var o=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(o,"a",o),o},i.o=function(a,o){return Object.prototype.hasOwnProperty.call(a,o)},i.p="",i(i.s=2)}([function(r,n,i){i.r(n);var a=typeof fetch=="function"?fetch.bind():function(o,s){return s=s||{},new Promise(function(u,c){var d=new XMLHttpRequest;for(var v in d.open(s.method||"get",o,!0),s.headers)d.setRequestHeader(v,s.headers[v]);function m(){var g,b=[],w=[],A={};return d.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(P,E,_){b.push(E=E.toLowerCase()),w.push([E,_]),g=A[E],A[E]=g?g+","+_:_}),{ok:(d.status/100|0)==2,status:d.status,statusText:d.statusText,url:d.responseURL,clone:m,text:function(){return Promise.resolve(d.responseText)},json:function(){return Promise.resolve(d.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([d.response]))},headers:{keys:function(){return b},entries:function(){return w},get:function(P){return A[P.toLowerCase()]},has:function(P){return P.toLowerCase()in A}}}}d.withCredentials=s.credentials=="include",d.onload=function(){u(m())},d.onerror=c,d.send(s.body)})};n.default=a},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function s(u,c){for(var d=0;d=10&&(this.track("Video Content Playing",this.metadata.content),this.mostRecentHeartbeat=Math.floor(m))}},{key:"trackPause",value:function(){this.isPaused=!0,this.track("Video Playback Paused",this.metadata.playback)}},{key:"retrieveMetadata",value:function(v){var m=this;return new Promise(function(g,b){var w=v.id;(0,o.default)("https://api.vimeo.com/videos/"+w,{headers:{Authorization:"Bearer "+m.authToken}}).then(function(A){return A.ok?A.json():b(A)}).then(function(A){m.metadata.content.title=A.name,m.metadata.content.description=A.description,m.metadata.content.publisher=A.user.name,m.metadata.playback.position=0,m.metadata.playback.totalLength=A.duration}).catch(function(A){return console.error("Request to Vimeo API Failed with: ",A),b(A)})})}},{key:"updateMetadata",value:function(v){var m=this;return new Promise(function(g,b){m.player.getVolume().then(function(w){w&&(m.metadata.playback.sound=100*w),m.metadata.playback.position=v.seconds,g()}).catch(b)})}}]),d}(s(i(1)).default);n.default=u},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function v(m,g){for(var b=0;b2e3}}]),m}(s.default);function d(v){var m=v.match(/PT(\d+H)?(\d+M)?(\d+S)?/);return m=m.slice(1).map(function(g){if(g!=null)return g.replace(/\D/,"")}),3600*(parseInt(m[0])||0)+60*(parseInt(m[1])||0)+(parseInt(m[2])||0)}n.default=c}])})})(z3);var U3=z3.exports;const EQ=Og(U3),$Q=W3({__proto__:null,default:EQ},[U3]);export{IQ as A,Uj as B,jQ as M,NQ as V,Ar as _,pe as a,DQ as b,uH as c,fH as d,YC as e,AQ as f,Qt as g,kQ as h,Sl as i,tr as j,S2 as k,FQ as l,dT as m,Gn as n,$o as o,S$ as p,RQ as q,xQ as r,BQ as s,MQ as t,LQ as v};