Files
masimmo.pl/modules/psxmarketingwithgoogle/views/js/vendor.js
2024-11-20 09:09:44 +01:00

2112 lines
1.5 MiB
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var gW=Object.defineProperty;var vW=(t,e,r)=>e in t?gW(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ae=(t,e,r)=>(vW(t,typeof e!="symbol"?e+"":e,r),r);function bW(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const a=Object.getOwnPropertyDescriptor(n,i);a&&Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}/*!
* Vue.js v2.7.14
* (c) 2014-2022 Evan You
* Released under the MIT License.
*/var Qn=Object.freeze({}),We=Array.isArray;function $e(t){return t==null}function Z(t){return t!=null}function Wt(t){return t===!0}function yW(t){return t===!1}function gp(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function jt(t){return typeof t=="function"}function Jr(t){return t!==null&&typeof t=="object"}var GT=Object.prototype.toString;function oi(t){return GT.call(t)==="[object Object]"}function _W(t){return GT.call(t)==="[object RegExp]"}function jL(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function X1(t){return Z(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function wW(t){return t==null?"":Array.isArray(t)||oi(t)&&t.toString===GT?JSON.stringify(t,null,2):String(t)}function Rh(t){var e=parseFloat(t);return isNaN(e)?t:e}function Ki(t,e){for(var r=Object.create(null),n=t.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return e?function(a){return r[a.toLowerCase()]}:function(a){return r[a]}}Ki("slot,component",!0);var SW=Ki("key,ref,slot,slot-scope,is");function Ho(t,e){var r=t.length;if(r){if(e===t[r-1]){t.length=r-1;return}var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var OW=Object.prototype.hasOwnProperty;function dn(t,e){return OW.call(t,e)}function dc(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var TW=/-(\w)/g,zu=dc(function(t){return t.replace(TW,function(e,r){return r?r.toUpperCase():""})}),EW=dc(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),xW=/\B([A-Z])/g,vp=dc(function(t){return t.replace(xW,"-$1").toLowerCase()});function PW(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 CW(t,e){return t.bind(e)}var HL=Function.prototype.bind?CW:PW;function J1(t,e){e=e||0;for(var r=t.length-e,n=new Array(r);r--;)n[r]=t[r+e];return n}function $t(t,e){for(var r in e)t[r]=e[r];return t}function zL(t){for(var e={},r=0;r<t.length;r++)t[r]&&$t(e,t[r]);return e}function Dr(t,e,r){}var hm=function(t,e,r){return!1},VL=function(t){return t};function Vu(t,e){if(t===e)return!0;var r=Jr(t),n=Jr(e);if(r&&n)try{var i=Array.isArray(t),a=Array.isArray(e);if(i&&a)return t.length===e.length&&t.every(function(u,c){return Vu(u,e[c])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(!i&&!a){var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every(function(u){return Vu(t[u],e[u])})}else return!1}catch{return!1}else return!r&&!n?String(t)===String(e):!1}function UL(t,e){for(var r=0;r<t.length;r++)if(Vu(t[r],e))return r;return-1}function xv(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function AW(t,e){return t===e?t===0&&1/t!==1/e:t===t||e===e}var HC="data-server-rendered",hb=["component","directive","filter"],GL=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Ei={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:hm,isReservedAttr:hm,isUnknownElement:hm,getTagNamespace:Dr,parsePlatformTagName:VL,mustUseProp:hm,async:!0,_lifecycleHooks:GL},MW=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function WL(t){var e=(t+"").charCodeAt(0);return e===36||e===95}function bo(t,e,r,n){Object.defineProperty(t,e,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var $W=new RegExp("[^".concat(MW.source,".$_\\d]"));function kW(t){if(!$W.test(t)){var e=t.split(".");return function(r){for(var n=0;n<e.length;n++){if(!r)return;r=r[e[n]]}return r}}}var DW="__proto__"in{},ci=typeof window<"u",xi=ci&&window.navigator.userAgent.toLowerCase(),Sd=xi&&/msie|trident/.test(xi),Od=xi&&xi.indexOf("msie 9.0")>0,YL=xi&&xi.indexOf("edge/")>0;xi&&xi.indexOf("android")>0;var IW=xi&&/iphone|ipad|ipod|ios/.test(xi),zC=xi&&xi.match(/firefox\/(\d+)/),Z1={}.watch,KL=!1;if(ci)try{var VC={};Object.defineProperty(VC,"passive",{get:function(){KL=!0}}),window.addEventListener("test-passive",null,VC)}catch{}var pm,bp=function(){return pm===void 0&&(!ci&&typeof global<"u"?pm=global.process&&global.process.env.VUE_ENV==="server":pm=!1),pm},Pv=ci&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Nl(t){return typeof t=="function"&&/native code/.test(t.toString())}var yp=typeof Symbol<"u"&&Nl(Symbol)&&typeof Reflect<"u"&&Nl(Reflect.ownKeys),Lh;typeof Set<"u"&&Nl(Set)?Lh=Set:Lh=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 lh=null;function Ao(t){t===void 0&&(t=null),t||lh&&lh._scope.off(),lh=t,t&&t._scope.on()}var ui=function(){function t(e,r,n,i,a,s,o,u){this.tag=e,this.data=r,this.children=n,this.text=i,this.elm=a,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=o,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}(),$u=function(t){t===void 0&&(t="");var e=new ui;return e.text=t,e.isComment=!0,e};function yl(t){return new ui(void 0,void 0,void 0,String(t))}function Q1(t){var e=new ui(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 RW=0,Pg=[],LW=function(){for(var t=0;t<Pg.length;t++){var e=Pg[t];e.subs=e.subs.filter(function(r){return r}),e._pending=!1}Pg.length=0},Mo=function(){function t(){this._pending=!1,this.id=RW++,this.subs=[]}return t.prototype.addSub=function(e){this.subs.push(e)},t.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,Pg.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(e){for(var r=this.subs.filter(function(s){return s}),n=0,i=r.length;n<i;n++){var a=r[n];a.update()}},t}();Mo.target=null;var Cg=[];function Td(t){Cg.push(t),Mo.target=t}function Ed(){Cg.pop(),Mo.target=Cg[Cg.length-1]}var qL=Array.prototype,Cv=Object.create(qL),NW=["push","pop","shift","unshift","splice","sort","reverse"];NW.forEach(function(t){var e=qL[t];bo(Cv,t,function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=e.apply(this,n),s=this.__ob__,o;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2);break}return o&&s.observeArray(o),s.dep.notify(),a})});var UC=Object.getOwnPropertyNames(Cv),XL={},WT=!0;function $o(t){WT=t}var BW={notify:Dr,depend:Dr,addSub:Dr,removeSub:Dr},GC=function(){function t(e,r,n){if(r===void 0&&(r=!1),n===void 0&&(n=!1),this.value=e,this.shallow=r,this.mock=n,this.dep=n?BW:new Mo,this.vmCount=0,bo(e,"__ob__",this),We(e)){if(!n)if(DW)e.__proto__=Cv;else for(var i=0,a=UC.length;i<a;i++){var s=UC[i];bo(e,s,Cv[s])}r||this.observeArray(e)}else for(var o=Object.keys(e),i=0;i<o.length;i++){var s=o[i];Uu(e,s,XL,void 0,r,n)}}return t.prototype.observeArray=function(e){for(var r=0,n=e.length;r<n;r++)Ts(e[r],!1,this.mock)},t}();function Ts(t,e,r){if(t&&dn(t,"__ob__")&&t.__ob__ instanceof GC)return t.__ob__;if(WT&&(r||!bp())&&(We(t)||oi(t))&&Object.isExtensible(t)&&!t.__v_skip&&!ka(t)&&!(t instanceof ui))return new GC(t,e,r)}function Uu(t,e,r,n,i,a){var s=new Mo,o=Object.getOwnPropertyDescriptor(t,e);if(!(o&&o.configurable===!1)){var u=o&&o.get,c=o&&o.set;(!u||c)&&(r===XL||arguments.length===2)&&(r=t[e]);var l=!i&&Ts(r,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var f=u?u.call(t):r;return Mo.target&&(s.depend(),l&&(l.dep.depend(),We(f)&&ZL(f))),ka(f)&&!i?f.value:f},set:function(f){var p=u?u.call(t):r;if(AW(p,f)){if(c)c.call(t,f);else{if(u)return;if(!i&&ka(p)&&!ka(f)){p.value=f;return}else r=f}l=!i&&Ts(f,!1,a),s.notify()}}}),s}}function KT(t,e,r){if(!qT(t)){var n=t.__ob__;return We(t)&&jL(e)?(t.length=Math.max(t.length,e),t.splice(e,1,r),n&&!n.shallow&&n.mock&&Ts(r,!1,!0),r):e in t&&!(e in Object.prototype)?(t[e]=r,r):t._isVue||n&&n.vmCount?r:n?(Uu(n.value,e,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(t[e]=r,r)}}function JL(t,e){if(We(t)&&jL(e)){t.splice(e,1);return}var r=t.__ob__;t._isVue||r&&r.vmCount||qT(t)||dn(t,e)&&(delete t[e],r&&r.dep.notify())}function ZL(t){for(var e=void 0,r=0,n=t.length;r<n;r++)e=t[r],e&&e.__ob__&&e.__ob__.dep.depend(),We(e)&&ZL(e)}function QL(t){return FW(t,!0),bo(t,"__v_isShallow",!0),t}function FW(t,e){qT(t)||Ts(t,e,bp())}function qT(t){return!!(t&&t.__v_isReadonly)}function ka(t){return!!(t&&t.__v_isRef===!0)}function eS(t,e,r){Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){var n=e[r];if(ka(n))return n.value;var i=n&&n.__ob__;return i&&i.dep.depend(),n},set:function(n){var i=e[r];ka(i)&&!ka(n)?i.value=n:e[r]=n}})}var Wn,jW=function(){function t(e){e===void 0&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Wn,!e&&Wn&&(this.index=(Wn.scopes||(Wn.scopes=[])).push(this)-1)}return t.prototype.run=function(e){if(this.active){var r=Wn;try{return Wn=this,e()}finally{Wn=r}}},t.prototype.on=function(){Wn=this},t.prototype.off=function(){Wn=this.parent},t.prototype.stop=function(e){if(this.active){var r=void 0,n=void 0;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].teardown();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!e){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},t}();function HW(t,e){e===void 0&&(e=Wn),e&&e.active&&e.effects.push(t)}function zW(t){var e=t._provided,r=t.$parent&&t.$parent._provided;return r===e?t._provided=Object.create(r):e}var WC=dc(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var r=t.charAt(0)==="~";t=r?t.slice(1):t;var n=t.charAt(0)==="!";return t=n?t.slice(1):t,{name:t,once:r,capture:n,passive:e}});function tS(t,e){function r(){var n=r.fns;if(We(n))for(var i=n.slice(),a=0;a<i.length;a++)ko(i[a],null,arguments,e,"v-on handler");else return ko(n,null,arguments,e,"v-on handler")}return r.fns=t,r}function eN(t,e,r,n,i,a){var s,o,u,c;for(s in t)o=t[s],u=e[s],c=WC(s),$e(o)||($e(u)?($e(o.fns)&&(o=t[s]=tS(o,a)),Wt(c.once)&&(o=t[s]=i(c.name,o,c.capture)),r(c.name,o,c.capture,c.passive,c.params)):o!==u&&(u.fns=o,t[s]=u));for(s in e)$e(t[s])&&(c=WC(s),n(c.name,e[s],c.capture))}function uo(t,e,r){t instanceof ui&&(t=t.data.hook||(t.data.hook={}));var n,i=t[e];function a(){r.apply(this,arguments),Ho(n.fns,a)}$e(i)?n=tS([a]):Z(i.fns)&&Wt(i.merged)?(n=i,n.fns.push(a)):n=tS([i,a]),n.merged=!0,t[e]=n}function VW(t,e,r){var n=e.options.props;if(!$e(n)){var i={},a=t.attrs,s=t.props;if(Z(a)||Z(s))for(var o in n){var u=vp(o);YC(i,s,o,u,!0)||YC(i,a,o,u,!1)}return i}}function YC(t,e,r,n,i){if(Z(e)){if(dn(e,r))return t[r]=e[r],i||delete e[r],!0;if(dn(e,n))return t[r]=e[n],i||delete e[n],!0}return!1}function UW(t){for(var e=0;e<t.length;e++)if(We(t[e]))return Array.prototype.concat.apply([],t);return t}function XT(t){return gp(t)?[yl(t)]:We(t)?tN(t):void 0}function af(t){return Z(t)&&Z(t.text)&&yW(t.isComment)}function tN(t,e){var r=[],n,i,a,s;for(n=0;n<t.length;n++)i=t[n],!($e(i)||typeof i=="boolean")&&(a=r.length-1,s=r[a],We(i)?i.length>0&&(i=tN(i,"".concat(e||"","_").concat(n)),af(i[0])&&af(s)&&(r[a]=yl(s.text+i[0].text),i.shift()),r.push.apply(r,i)):gp(i)?af(s)?r[a]=yl(s.text+i):i!==""&&r.push(yl(i)):af(i)&&af(s)?r[a]=yl(s.text+i.text):(Wt(t._isVList)&&Z(i.tag)&&$e(i.key)&&Z(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),r.push(i)));return r}function GW(t,e){var r=null,n,i,a,s;if(We(t)||typeof t=="string")for(r=new Array(t.length),n=0,i=t.length;n<i;n++)r[n]=e(t[n],n);else if(typeof t=="number")for(r=new Array(t),n=0;n<t;n++)r[n]=e(n+1,n);else if(Jr(t))if(yp&&t[Symbol.iterator]){r=[];for(var o=t[Symbol.iterator](),u=o.next();!u.done;)r.push(e(u.value,r.length)),u=o.next()}else for(a=Object.keys(t),r=new Array(a.length),n=0,i=a.length;n<i;n++)s=a[n],r[n]=e(t[s],s,n);return Z(r)||(r=[]),r._isVList=!0,r}function WW(t,e,r,n){var i=this.$scopedSlots[t],a;i?(r=r||{},n&&(r=$t($t({},n),r)),a=i(r)||(jt(e)?e():e)):a=this.$slots[t]||(jt(e)?e():e);var s=r&&r.slot;return s?this.$createElement("template",{slot:s},a):a}function YW(t){return Iv(this.$options,"filters",t)||VL}function KC(t,e){return We(t)?t.indexOf(e)===-1:t!==e}function KW(t,e,r,n,i){var a=Ei.keyCodes[e]||r;return i&&n&&!Ei.keyCodes[e]?KC(i,n):a?KC(a,t):n?vp(n)!==e:t===void 0}function qW(t,e,r,n,i){if(r&&Jr(r)){We(r)&&(r=zL(r));var a=void 0,s=function(u){if(u==="class"||u==="style"||SW(u))a=t;else{var c=t.attrs&&t.attrs.type;a=n||Ei.mustUseProp(e,c,u)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=zu(u),d=vp(u);if(!(l in a)&&!(d in a)&&(a[u]=r[u],i)){var f=t.on||(t.on={});f["update:".concat(u)]=function(p){r[u]=p}}};for(var o in r)s(o)}return t}function XW(t,e){var r=this._staticTrees||(this._staticTrees=[]),n=r[t];return n&&!e||(n=r[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),rN(n,"__static__".concat(t),!1)),n}function JW(t,e,r){return rN(t,"__once__".concat(e).concat(r?"_".concat(r):""),!0),t}function rN(t,e,r){if(We(t))for(var n=0;n<t.length;n++)t[n]&&typeof t[n]!="string"&&qC(t[n],"".concat(e,"_").concat(n),r);else qC(t,e,r)}function qC(t,e,r){t.isStatic=!0,t.key=e,t.isOnce=r}function ZW(t,e){if(e&&oi(e)){var r=t.on=t.on?$t({},t.on):{};for(var n in e){var i=r[n],a=e[n];r[n]=i?[].concat(i,a):a}}return t}function nN(t,e,r,n){e=e||{$stable:!r};for(var i=0;i<t.length;i++){var a=t[i];We(a)?nN(a,e,r):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return n&&(e.$key=n),e}function QW(t,e){for(var r=0;r<e.length;r+=2){var n=e[r];typeof n=="string"&&n&&(t[e[r]]=e[r+1])}return t}function e9(t,e){return typeof t=="string"?e+t:t}function iN(t){t._o=JW,t._n=Rh,t._s=wW,t._l=GW,t._t=WW,t._q=Vu,t._i=UL,t._m=XW,t._f=YW,t._k=KW,t._b=qW,t._v=yl,t._e=$u,t._u=nN,t._g=ZW,t._d=QW,t._p=e9}function JT(t,e){if(!t||!t.length)return{};for(var r={},n=0,i=t.length;n<i;n++){var a=t[n],s=a.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,(a.context===e||a.fnContext===e)&&s&&s.slot!=null){var o=s.slot,u=r[o]||(r[o]=[]);a.tag==="template"?u.push.apply(u,a.children||[]):u.push(a)}else(r.default||(r.default=[])).push(a)}for(var c in r)r[c].every(t9)&&delete r[c];return r}function t9(t){return t.isComment&&!t.asyncFactory||t.text===" "}function Nh(t){return t.isComment&&t.asyncFactory}function dh(t,e,r,n){var i,a=Object.keys(r).length>0,s=e?!!e.$stable:!a,o=e&&e.$key;if(!e)i={};else{if(e._normalized)return e._normalized;if(s&&n&&n!==Qn&&o===n.$key&&!a&&!n.$hasNormal)return n;i={};for(var u in e)e[u]&&u[0]!=="$"&&(i[u]=r9(t,r,u,e[u]))}for(var c in r)c in i||(i[c]=n9(r,c));return e&&Object.isExtensible(e)&&(e._normalized=i),bo(i,"$stable",s),bo(i,"$key",o),bo(i,"$hasNormal",a),i}function r9(t,e,r,n){var i=function(){var a=lh;Ao(t);var s=arguments.length?n.apply(null,arguments):n({});s=s&&typeof s=="object"&&!We(s)?[s]:XT(s);var o=s&&s[0];return Ao(a),s&&(!o||s.length===1&&o.isComment&&!Nh(o))?void 0:s};return n.proxy&&Object.defineProperty(e,r,{get:i,enumerable:!0,configurable:!0}),i}function n9(t,e){return function(){return t[e]}}function i9(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=a9(t);Ao(t),Td();var i=ko(r,null,[t._props||QL({}),n],t,"setup");if(Ed(),Ao(),jt(i))e.render=i;else if(Jr(i))if(t._setupState=i,i.__sfc){var s=t._setupProxy={};for(var a in i)a!=="__sfc"&&eS(s,i,a)}else for(var a in i)WL(a)||eS(t,i,a)}}function a9(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};bo(e,"_v_attr_proxy",!0),Av(e,t.$attrs,Qn,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Av(e,t.$listeners,Qn,t,"$listeners")}return t._listenersProxy},get slots(){return o9(t)},emit:HL(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(r){return eS(t,e,r)})}}}function Av(t,e,r,n,i){var a=!1;for(var s in e)s in t?e[s]!==r[s]&&(a=!0):(a=!0,s9(t,s,n,i));for(var s in t)s in e||(a=!0,delete t[s]);return a}function s9(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function o9(t){return t._slotsProxy||aN(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function aN(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function u9(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,n=r&&r.context;t.$slots=JT(e._renderChildren,n),t.$scopedSlots=r?dh(t.$parent,r.data.scopedSlots,t.$slots):Qn,t._c=function(a,s,o,u){return Mv(t,a,s,o,u,!1)},t.$createElement=function(a,s,o,u){return Mv(t,a,s,o,u,!0)};var i=r&&r.data;Uu(t,"$attrs",i&&i.attrs||Qn,null,!0),Uu(t,"$listeners",e._parentListeners||Qn,null,!0)}var rS=null;function c9(t){iN(t.prototype),t.prototype.$nextTick=function(e){return ZT(e,this)},t.prototype._render=function(){var e=this,r=e.$options,n=r.render,i=r._parentVnode;i&&e._isMounted&&(e.$scopedSlots=dh(e.$parent,i.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&aN(e._slotsProxy,e.$scopedSlots)),e.$vnode=i;var a;try{Ao(e),rS=e,a=n.call(e._renderProxy,e.$createElement)}catch(s){Gu(s,e,"render"),a=e._vnode}finally{rS=null,Ao()}return We(a)&&a.length===1&&(a=a[0]),a instanceof ui||(a=$u()),a.parent=i,a}}function z_(t,e){return(t.__esModule||yp&&t[Symbol.toStringTag]==="Module")&&(t=t.default),Jr(t)?e.extend(t):t}function l9(t,e,r,n,i){var a=$u();return a.asyncFactory=t,a.asyncMeta={data:e,context:r,children:n,tag:i},a}function d9(t,e){if(Wt(t.error)&&Z(t.errorComp))return t.errorComp;if(Z(t.resolved))return t.resolved;var r=rS;if(r&&Z(t.owners)&&t.owners.indexOf(r)===-1&&t.owners.push(r),Wt(t.loading)&&Z(t.loadingComp))return t.loadingComp;if(r&&!Z(t.owners)){var n=t.owners=[r],i=!0,a=null,s=null;r.$on("hook:destroyed",function(){return Ho(n,r)});var o=function(d){for(var f=0,p=n.length;f<p;f++)n[f].$forceUpdate();d&&(n.length=0,a!==null&&(clearTimeout(a),a=null),s!==null&&(clearTimeout(s),s=null))},u=xv(function(d){t.resolved=z_(d,e),i?n.length=0:o(!0)}),c=xv(function(d){Z(t.errorComp)&&(t.error=!0,o(!0))}),l=t(u,c);return Jr(l)&&(X1(l)?$e(t.resolved)&&l.then(u,c):X1(l.component)&&(l.component.then(u,c),Z(l.error)&&(t.errorComp=z_(l.error,e)),Z(l.loading)&&(t.loadingComp=z_(l.loading,e),l.delay===0?t.loading=!0:a=setTimeout(function(){a=null,$e(t.resolved)&&$e(t.error)&&(t.loading=!0,o(!1))},l.delay||200)),Z(l.timeout)&&(s=setTimeout(function(){s=null,$e(t.resolved)&&c(null)},l.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}function sN(t){if(We(t))for(var e=0;e<t.length;e++){var r=t[e];if(Z(r)&&(Z(r.componentOptions)||Nh(r)))return r}}var f9=1,oN=2;function Mv(t,e,r,n,i,a){return(We(r)||gp(r))&&(i=n,n=r,r=void 0),Wt(a)&&(i=oN),h9(t,e,r,n,i)}function h9(t,e,r,n,i){if(Z(r)&&Z(r.__ob__)||(Z(r)&&Z(r.is)&&(e=r.is),!e))return $u();We(n)&&jt(n[0])&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),i===oN?n=XT(n):i===f9&&(n=UW(n));var a,s;if(typeof e=="string"){var o=void 0;s=t.$vnode&&t.$vnode.ns||Ei.getTagNamespace(e),Ei.isReservedTag(e)?a=new ui(Ei.parsePlatformTagName(e),r,n,void 0,void 0,t):(!r||!r.pre)&&Z(o=Iv(t.$options,"components",e))?a=nA(o,r,t,n,e):a=new ui(e,r,n,void 0,void 0,t)}else a=nA(e,r,t,n);return We(a)?a:Z(a)?(Z(s)&&uN(a,s),Z(r)&&p9(r),a):$u()}function uN(t,e,r){if(t.ns=e,t.tag==="foreignObject"&&(e=void 0,r=!0),Z(t.children))for(var n=0,i=t.children.length;n<i;n++){var a=t.children[n];Z(a.tag)&&($e(a.ns)||Wt(r)&&a.tag!=="svg")&&uN(a,e,r)}}function p9(t){Jr(t.style)&&$v(t.style),Jr(t.class)&&$v(t.class)}function Gu(t,e,r){Td();try{if(e)for(var n=e;n=n.$parent;){var i=n.$options.errorCaptured;if(i)for(var a=0;a<i.length;a++)try{var s=i[a].call(n,t,e,r)===!1;if(s)return}catch(o){XC(o,n,"errorCaptured hook")}}XC(t,e,r)}finally{Ed()}}function ko(t,e,r,n,i){var a;try{a=r?t.apply(e,r):t.call(e),a&&!a._isVue&&X1(a)&&!a._handled&&(a.catch(function(s){return Gu(s,n,i+" (Promise/async)")}),a._handled=!0)}catch(s){Gu(s,n,i)}return a}function XC(t,e,r){if(Ei.errorHandler)try{return Ei.errorHandler.call(null,t,e,r)}catch(n){n!==t&&JC(n)}JC(t)}function JC(t,e,r){if(ci&&typeof console<"u")console.error(t);else throw t}var nS=!1,iS=[],aS=!1;function mm(){aS=!1;var t=iS.slice(0);iS.length=0;for(var e=0;e<t.length;e++)t[e]()}var zf;if(typeof Promise<"u"&&Nl(Promise)){var m9=Promise.resolve();zf=function(){m9.then(mm),IW&&setTimeout(Dr)},nS=!0}else if(!Sd&&typeof MutationObserver<"u"&&(Nl(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var gm=1,g9=new MutationObserver(mm),ZC=document.createTextNode(String(gm));g9.observe(ZC,{characterData:!0}),zf=function(){gm=(gm+1)%2,ZC.data=String(gm)},nS=!0}else typeof setImmediate<"u"&&Nl(setImmediate)?zf=function(){setImmediate(mm)}:zf=function(){setTimeout(mm,0)};function ZT(t,e){var r;if(iS.push(function(){if(t)try{t.call(e)}catch(n){Gu(n,e,"nextTick")}else r&&r(e)}),aS||(aS=!0,zf()),!t&&typeof Promise<"u")return new Promise(function(n){r=n})}var v9="2.7.14";function xNe(t){return t}var QC=new Lh;function $v(t){return Ag(t,QC),QC.clear(),t}function Ag(t,e){var r,n,i=We(t);if(!(!i&&!Jr(t)||t.__v_skip||Object.isFrozen(t)||t instanceof ui)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(r=t.length;r--;)Ag(t[r],e);else if(ka(t))Ag(t.value,e);else for(n=Object.keys(t),r=n.length;r--;)Ag(t[n[r]],e)}}var b9=0,QT=function(){function t(e,r,n,i,a){HW(this,Wn&&!Wn._vm?Wn:e?e._scope:void 0),(this.vm=e)&&a&&(e._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++b9,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Lh,this.newDepIds=new Lh,this.expression="",jt(r)?this.getter=r:(this.getter=kW(r),this.getter||(this.getter=Dr)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){Td(this);var e,r=this.vm;try{e=this.getter.call(r,r)}catch(n){if(this.user)Gu(n,r,'getter for watcher "'.concat(this.expression,'"'));else throw n}finally{this.deep&&$v(e),Ed(),this.cleanupDeps()}return e},t.prototype.addDep=function(e){var r=e.id;this.newDepIds.has(r)||(this.newDepIds.add(r),this.newDeps.push(e),this.depIds.has(r)||e.addSub(this))},t.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var r=this.deps[e];this.newDepIds.has(r.id)||r.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():I9(this)},t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||Jr(e)||this.deep){var r=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');ko(this.cb,this.vm,[e,r],this.vm,n)}else this.cb.call(this.vm,e,r)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Ho(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function y9(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&cN(t,e)}var Bh;function _9(t,e){Bh.$on(t,e)}function w9(t,e){Bh.$off(t,e)}function S9(t,e){var r=Bh;return function n(){var i=e.apply(null,arguments);i!==null&&r.$off(t,n)}}function cN(t,e,r){Bh=t,eN(e,r||{},_9,w9,S9,t),Bh=void 0}function O9(t){var e=/^hook:/;t.prototype.$on=function(r,n){var i=this;if(We(r))for(var a=0,s=r.length;a<s;a++)i.$on(r[a],n);else(i._events[r]||(i._events[r]=[])).push(n),e.test(r)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(r,n){var i=this;function a(){i.$off(r,a),n.apply(i,arguments)}return a.fn=n,i.$on(r,a),i},t.prototype.$off=function(r,n){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(We(r)){for(var a=0,s=r.length;a<s;a++)i.$off(r[a],n);return i}var o=i._events[r];if(!o)return i;if(!n)return i._events[r]=null,i;for(var u,c=o.length;c--;)if(u=o[c],u===n||u.fn===n){o.splice(c,1);break}return i},t.prototype.$emit=function(r){var n=this,i=n._events[r];if(i){i=i.length>1?J1(i):i;for(var a=J1(arguments,1),s='event handler for "'.concat(r,'"'),o=0,u=i.length;o<u;o++)ko(i[o],n,a,n,s)}return n}}var ku=null;function lN(t){var e=ku;return ku=t,function(){ku=e}}function T9(t){var e=t.$options,r=e.parent;if(r&&!e.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(t)}t.$parent=r,t.$root=r?r.$root:t,t.$children=[],t.$refs={},t._provided=r?r._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function E9(t){t.prototype._update=function(e,r){var n=this,i=n.$el,a=n._vnode,s=lN(n);n._vnode=e,a?n.$el=n.__patch__(a,e):n.$el=n.__patch__(n.$el,e,r,!1),s(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var o=n;o&&o.$vnode&&o.$parent&&o.$vnode===o.$parent._vnode;)o.$parent.$el=o.$el,o=o.$parent},t.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},t.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Fi(e,"beforeDestroy"),e._isBeingDestroyed=!0;var r=e.$parent;r&&!r._isBeingDestroyed&&!e.$options.abstract&&Ho(r.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Fi(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function x9(t,e,r){t.$el=e,t.$options.render||(t.$options.render=$u),Fi(t,"beforeMount");var n;n=function(){t._update(t._render(),r)};var i={before:function(){t._isMounted&&!t._isDestroyed&&Fi(t,"beforeUpdate")}};new QT(t,n,Dr,i,!0),r=!1;var a=t._preWatchers;if(a)for(var s=0;s<a.length;s++)a[s].run();return t.$vnode==null&&(t._isMounted=!0,Fi(t,"mounted")),t}function P9(t,e,r,n,i){var a=n.data.scopedSlots,s=t.$scopedSlots,o=!!(a&&!a.$stable||s!==Qn&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(i||t.$options._renderChildren||o),c=t.$vnode;t.$options._parentVnode=n,t.$vnode=n,t._vnode&&(t._vnode.parent=n),t.$options._renderChildren=i;var l=n.data.attrs||Qn;t._attrsProxy&&Av(t._attrsProxy,l,c.data&&c.data.attrs||Qn,t,"$attrs")&&(u=!0),t.$attrs=l,r=r||Qn;var d=t.$options._parentListeners;if(t._listenersProxy&&Av(t._listenersProxy,r,d||Qn,t,"$listeners"),t.$listeners=t.$options._parentListeners=r,cN(t,r,d),e&&t.$options.props){$o(!1);for(var f=t._props,p=t.$options._propKeys||[],m=0;m<p.length;m++){var b=p[m],_=t.$options.props;f[b]=aE(b,_,e,t)}$o(!0),t.$options.propsData=e}u&&(t.$slots=JT(i,n.context),t.$forceUpdate())}function dN(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function eE(t,e){if(e){if(t._directInactive=!1,dN(t))return}else if(t._directInactive)return;if(t._inactive||t._inactive===null){t._inactive=!1;for(var r=0;r<t.$children.length;r++)eE(t.$children[r]);Fi(t,"activated")}}function fN(t,e){if(!(e&&(t._directInactive=!0,dN(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)fN(t.$children[r]);Fi(t,"deactivated")}}function Fi(t,e,r,n){n===void 0&&(n=!0),Td();var i=lh;n&&Ao(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var o=0,u=a.length;o<u;o++)ko(a[o],t,r||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),n&&Ao(i),Ed()}var ps=[],tE=[],kv={},sS=!1,rE=!1,_l=0;function C9(){_l=ps.length=tE.length=0,kv={},sS=rE=!1}var hN=0,oS=Date.now;if(ci&&!Sd){var V_=window.performance;V_&&typeof V_.now=="function"&&oS()>document.createEvent("Event").timeStamp&&(oS=function(){return V_.now()})}var A9=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function M9(){hN=oS(),rE=!0;var t,e;for(ps.sort(A9),_l=0;_l<ps.length;_l++)t=ps[_l],t.before&&t.before(),e=t.id,kv[e]=null,t.run();var r=tE.slice(),n=ps.slice();C9(),D9(r),$9(n),LW(),Pv&&Ei.devtools&&Pv.emit("flush")}function $9(t){for(var e=t.length;e--;){var r=t[e],n=r.vm;n&&n._watcher===r&&n._isMounted&&!n._isDestroyed&&Fi(n,"updated")}}function k9(t){t._inactive=!1,tE.push(t)}function D9(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,eE(t[e],!0)}function I9(t){var e=t.id;if(kv[e]==null&&!(t===Mo.target&&t.noRecurse)){if(kv[e]=!0,!rE)ps.push(t);else{for(var r=ps.length-1;r>_l&&ps[r].id>t.id;)r--;ps.splice(r+1,0,t)}sS||(sS=!0,ZT(M9))}}function R9(t){var e=t.$options.provide;if(e){var r=jt(e)?e.call(t):e;if(!Jr(r))return;for(var n=zW(t),i=yp?Reflect.ownKeys(r):Object.keys(r),a=0;a<i.length;a++){var s=i[a];Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(r,s))}}}function L9(t){var e=pN(t.$options.inject,t);e&&($o(!1),Object.keys(e).forEach(function(r){Uu(t,r,e[r])}),$o(!0))}function pN(t,e){if(t){for(var r=Object.create(null),n=yp?Reflect.ownKeys(t):Object.keys(t),i=0;i<n.length;i++){var a=n[i];if(a!=="__ob__"){var s=t[a].from;if(s in e._provided)r[a]=e._provided[s];else if("default"in t[a]){var o=t[a].default;r[a]=jt(o)?o.call(e):o}}}return r}}function nE(t,e,r,n,i){var a=this,s=i.options,o;dn(n,"_uid")?(o=Object.create(n),o._original=n):(o=n,n=n._original);var u=Wt(s._compiled),c=!u;this.data=t,this.props=e,this.children=r,this.parent=n,this.listeners=t.on||Qn,this.injections=pN(s.inject,n),this.slots=function(){return a.$slots||dh(n,t.scopedSlots,a.$slots=JT(r,n)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return dh(n,t.scopedSlots,this.slots())}}),u&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=dh(n,t.scopedSlots,this.$slots)),s._scopeId?this._c=function(l,d,f,p){var m=Mv(o,l,d,f,p,c);return m&&!We(m)&&(m.fnScopeId=s._scopeId,m.fnContext=n),m}:this._c=function(l,d,f,p){return Mv(o,l,d,f,p,c)}}iN(nE.prototype);function N9(t,e,r,n,i){var a=t.options,s={},o=a.props;if(Z(o))for(var u in o)s[u]=aE(u,o,e||Qn);else Z(r.attrs)&&tA(s,r.attrs),Z(r.props)&&tA(s,r.props);var c=new nE(r,s,i,n,t),l=a.render.call(null,c._c,c);if(l instanceof ui)return eA(l,r,c.parent,a);if(We(l)){for(var d=XT(l)||[],f=new Array(d.length),p=0;p<d.length;p++)f[p]=eA(d[p],r,c.parent,a);return f}}function eA(t,e,r,n,i){var a=Q1(t);return a.fnContext=r,a.fnOptions=n,e.slot&&((a.data||(a.data={})).slot=e.slot),a}function tA(t,e){for(var r in e)t[zu(r)]=e[r]}function Dv(t){return t.name||t.__name||t._componentTag}var iE={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;iE.prepatch(r,r)}else{var n=t.componentInstance=B9(t,ku);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var r=e.componentOptions,n=e.componentInstance=t.componentInstance;P9(n,r.propsData,r.listeners,e,r.children)},insert:function(t){var e=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Fi(r,"mounted")),t.data.keepAlive&&(e._isMounted?k9(r):eE(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?fN(e,!0):e.$destroy())}},rA=Object.keys(iE);function nA(t,e,r,n,i){if(!$e(t)){var a=r.$options._base;if(Jr(t)&&(t=a.extend(t)),typeof t=="function"){var s;if($e(t.cid)&&(s=t,t=d9(s,a),t===void 0))return l9(s,e,r,n,i);e=e||{},oE(t),Z(e.model)&&H9(t.options,e);var o=VW(e,t);if(Wt(t.options.functional))return N9(t,o,e,r,n);var u=e.on;if(e.on=e.nativeOn,Wt(t.options.abstract)){var c=e.slot;e={},c&&(e.slot=c)}F9(e);var l=Dv(t.options)||i,d=new ui("vue-component-".concat(t.cid).concat(l?"-".concat(l):""),e,void 0,void 0,void 0,r,{Ctor:t,propsData:o,listeners:u,tag:i,children:n},s);return d}}}function B9(t,e){var r={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;return Z(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new t.componentOptions.Ctor(r)}function F9(t){for(var e=t.hook||(t.hook={}),r=0;r<rA.length;r++){var n=rA[r],i=e[n],a=iE[n];i!==a&&!(i&&i._merged)&&(e[n]=i?j9(a,i):a)}}function j9(t,e){var r=function(n,i){t(n,i),e(n,i)};return r._merged=!0,r}function H9(t,e){var r=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[r]=e.model.value;var i=e.on||(e.on={}),a=i[n],s=e.model.callback;Z(a)?(We(a)?a.indexOf(s)===-1:a!==s)&&(i[n]=[s].concat(a)):i[n]=s}var z9=Dr,Ma=Ei.optionMergeStrategies;function Fh(t,e,r){if(r===void 0&&(r=!0),!e)return t;for(var n,i,a,s=yp?Reflect.ownKeys(e):Object.keys(e),o=0;o<s.length;o++)n=s[o],n!=="__ob__"&&(i=t[n],a=e[n],!r||!dn(t,n)?KT(t,n,a):i!==a&&oi(i)&&oi(a)&&Fh(i,a));return t}function iA(t,e,r){return r?function(){var i=jt(e)?e.call(r,r):e,a=jt(t)?t.call(r,r):t;return i?Fh(i,a):a}:e?t?function(){return Fh(jt(e)?e.call(this,this):e,jt(t)?t.call(this,this):t)}:e:t}Ma.data=function(t,e,r){return r?iA(t,e,r):e&&typeof e!="function"?t:iA(t,e)};function V9(t,e){var r=e?t?t.concat(e):We(e)?e:[e]:t;return r&&U9(r)}function U9(t){for(var e=[],r=0;r<t.length;r++)e.indexOf(t[r])===-1&&e.push(t[r]);return e}GL.forEach(function(t){Ma[t]=V9});function G9(t,e,r,n){var i=Object.create(t||null);return e?$t(i,e):i}hb.forEach(function(t){Ma[t+"s"]=G9});Ma.watch=function(t,e,r,n){if(t===Z1&&(t=void 0),e===Z1&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};$t(i,t);for(var a in e){var s=i[a],o=e[a];s&&!We(s)&&(s=[s]),i[a]=s?s.concat(o):We(o)?o:[o]}return i};Ma.props=Ma.methods=Ma.inject=Ma.computed=function(t,e,r,n){if(!t)return e;var i=Object.create(null);return $t(i,t),e&&$t(i,e),i};Ma.provide=function(t,e){return t?function(){var r=Object.create(null);return Fh(r,jt(t)?t.call(this):t),e&&Fh(r,jt(e)?e.call(this):e,!1),r}:e};var W9=function(t,e){return e===void 0?t:e};function Y9(t,e){var r=t.props;if(r){var n={},i,a,s;if(We(r))for(i=r.length;i--;)a=r[i],typeof a=="string"&&(s=zu(a),n[s]={type:null});else if(oi(r))for(var o in r)a=r[o],s=zu(o),n[s]=oi(a)?a:{type:a};t.props=n}}function K9(t,e){var r=t.inject;if(r){var n=t.inject={};if(We(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(oi(r))for(var a in r){var s=r[a];n[a]=oi(s)?$t({from:a},s):{from:s}}}}function q9(t){var e=t.directives;if(e)for(var r in e){var n=e[r];jt(n)&&(e[r]={bind:n,update:n})}}function Wu(t,e,r){if(jt(e)&&(e=e.options),Y9(e),K9(e),q9(e),!e._base&&(e.extends&&(t=Wu(t,e.extends,r)),e.mixins))for(var n=0,i=e.mixins.length;n<i;n++)t=Wu(t,e.mixins[n],r);var a={},s;for(s in t)o(s);for(s in e)dn(t,s)||o(s);function o(u){var c=Ma[u]||W9;a[u]=c(t[u],e[u],r,u)}return a}function Iv(t,e,r,n){if(typeof r=="string"){var i=t[e];if(dn(i,r))return i[r];var a=zu(r);if(dn(i,a))return i[a];var s=EW(a);if(dn(i,s))return i[s];var o=i[r]||i[a]||i[s];return o}}function aE(t,e,r,n){var i=e[t],a=!dn(r,t),s=r[t],o=sA(Boolean,i.type);if(o>-1){if(a&&!dn(i,"default"))s=!1;else if(s===""||s===vp(t)){var u=sA(String,i.type);(u<0||o<u)&&(s=!0)}}if(s===void 0){s=X9(n,i,t);var c=WT;$o(!0),Ts(s),$o(c)}return s}function X9(t,e,r){if(dn(e,"default")){var n=e.default;return t&&t.$options.propsData&&t.$options.propsData[r]===void 0&&t._props[r]!==void 0?t._props[r]:jt(n)&&uS(e.type)!=="Function"?n.call(t):n}}var J9=/^\s*function (\w+)/;function uS(t){var e=t&&t.toString().match(J9);return e?e[1]:""}function aA(t,e){return uS(t)===uS(e)}function sA(t,e){if(!We(e))return aA(e,t)?0:-1;for(var r=0,n=e.length;r<n;r++)if(aA(e[r],t))return r;return-1}var ao={enumerable:!0,configurable:!0,get:Dr,set:Dr};function sE(t,e,r){ao.get=function(){return this[e][r]},ao.set=function(i){this[e][r]=i},Object.defineProperty(t,r,ao)}function Z9(t){var e=t.$options;if(e.props&&Q9(t,e.props),i9(t),e.methods&&iY(t,e.methods),e.data)eY(t);else{var r=Ts(t._data={});r&&r.vmCount++}e.computed&&nY(t,e.computed),e.watch&&e.watch!==Z1&&aY(t,e.watch)}function Q9(t,e){var r=t.$options.propsData||{},n=t._props=QL({}),i=t.$options._propKeys=[],a=!t.$parent;a||$o(!1);var s=function(u){i.push(u);var c=aE(u,e,r,t);Uu(n,u,c),u in t||sE(t,"_props",u)};for(var o in e)s(o);$o(!0)}function eY(t){var e=t.$options.data;e=t._data=jt(e)?tY(e,t):e||{},oi(e)||(e={});var r=Object.keys(e),n=t.$options.props;t.$options.methods;for(var i=r.length;i--;){var a=r[i];n&&dn(n,a)||WL(a)||sE(t,"_data",a)}var s=Ts(e);s&&s.vmCount++}function tY(t,e){Td();try{return t.call(e,e)}catch(r){return Gu(r,e,"data()"),{}}finally{Ed()}}var rY={lazy:!0};function nY(t,e){var r=t._computedWatchers=Object.create(null),n=bp();for(var i in e){var a=e[i],s=jt(a)?a:a.get;n||(r[i]=new QT(t,s||Dr,Dr,rY)),i in t||mN(t,i,a)}}function mN(t,e,r){var n=!bp();jt(r)?(ao.get=n?oA(e):uA(r),ao.set=Dr):(ao.get=r.get?n&&r.cache!==!1?oA(e):uA(r.get):Dr,ao.set=r.set||Dr),Object.defineProperty(t,e,ao)}function oA(t){return function(){var r=this._computedWatchers&&this._computedWatchers[t];if(r)return r.dirty&&r.evaluate(),Mo.target&&r.depend(),r.value}}function uA(t){return function(){return t.call(this,this)}}function iY(t,e){t.$options.props;for(var r in e)t[r]=typeof e[r]!="function"?Dr:HL(e[r],t)}function aY(t,e){for(var r in e){var n=e[r];if(We(n))for(var i=0;i<n.length;i++)cS(t,r,n[i]);else cS(t,r,n)}}function cS(t,e,r,n){return oi(r)&&(n=r,r=r.handler),typeof r=="string"&&(r=t[r]),t.$watch(e,r,n)}function sY(t){var e={};e.get=function(){return this._data};var r={};r.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",r),t.prototype.$set=KT,t.prototype.$delete=JL,t.prototype.$watch=function(n,i,a){var s=this;if(oi(i))return cS(s,n,i,a);a=a||{},a.user=!0;var o=new QT(s,n,i,a);if(a.immediate){var u='callback for immediate watcher "'.concat(o.expression,'"');Td(),ko(i,s,[o.value],s,u),Ed()}return function(){o.teardown()}}}var oY=0;function uY(t){t.prototype._init=function(e){var r=this;r._uid=oY++,r._isVue=!0,r.__v_skip=!0,r._scope=new jW(!0),r._scope._vm=!0,e&&e._isComponent?cY(r,e):r.$options=Wu(oE(r.constructor),e||{},r),r._renderProxy=r,r._self=r,T9(r),y9(r),u9(r),Fi(r,"beforeCreate",void 0,!1),L9(r),Z9(r),R9(r),Fi(r,"created"),r.$options.el&&r.$mount(r.$options.el)}}function cY(t,e){var r=t.$options=Object.create(t.constructor.options),n=e._parentVnode;r.parent=e.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,e.render&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns)}function oE(t){var e=t.options;if(t.super){var r=oE(t.super),n=t.superOptions;if(r!==n){t.superOptions=r;var i=lY(t);i&&$t(t.extendOptions,i),e=t.options=Wu(r,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function lY(t){var e,r=t.options,n=t.sealedOptions;for(var i in r)r[i]!==n[i]&&(e||(e={}),e[i]=r[i]);return e}function V(t){this._init(t)}uY(V);sY(V);O9(V);E9(V);c9(V);function dY(t){t.use=function(e){var r=this._installedPlugins||(this._installedPlugins=[]);if(r.indexOf(e)>-1)return this;var n=J1(arguments,1);return n.unshift(this),jt(e.install)?e.install.apply(e,n):jt(e)&&e.apply(null,n),r.push(e),this}}function fY(t){t.mixin=function(e){return this.options=Wu(this.options,e),this}}function hY(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 s=Dv(r)||Dv(n.options),o=function(c){this._init(c)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=Wu(n.options,r),o.super=n,o.options.props&&pY(o),o.options.computed&&mY(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,hb.forEach(function(u){o[u]=n[u]}),s&&(o.options.components[s]=o),o.superOptions=n.options,o.extendOptions=r,o.sealedOptions=$t({},o.options),a[i]=o,o}}function pY(t){var e=t.options.props;for(var r in e)sE(t.prototype,"_props",r)}function mY(t){var e=t.options.computed;for(var r in e)mN(t.prototype,r,e[r])}function gY(t){hb.forEach(function(e){t[e]=function(r,n){return n?(e==="component"&&oi(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),e==="directive"&&jt(n)&&(n={bind:n,update:n}),this.options[e+"s"][r]=n,n):this.options[e+"s"][r]}})}function cA(t){return t&&(Dv(t.Ctor.options)||t.tag)}function vm(t,e){return We(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:_W(t)?t.test(e):!1}function lA(t,e){var r=t.cache,n=t.keys,i=t._vnode;for(var a in r){var s=r[a];if(s){var o=s.name;o&&!e(o)&&lS(r,a,n,i)}}}function lS(t,e,r,n){var i=t[e];i&&(!n||i.tag!==n.tag)&&i.componentInstance.$destroy(),t[e]=null,Ho(r,e)}var dA=[String,RegExp,Array],vY={name:"keep-alive",abstract:!0,props:{include:dA,exclude:dA,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,s=n.componentInstance,o=n.componentOptions;e[i]={name:cA(o),tag:a,componentInstance:s},r.push(i),this.max&&r.length>parseInt(this.max)&&lS(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)lS(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){lA(t,function(r){return vm(e,r)})}),this.$watch("exclude",function(e){lA(t,function(r){return!vm(e,r)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=sN(t),r=e&&e.componentOptions;if(r){var n=cA(r),i=this,a=i.include,s=i.exclude;if(a&&(!n||!vm(a,n))||s&&n&&vm(s,n))return e;var o=this,u=o.cache,c=o.keys,l=e.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;u[l]?(e.componentInstance=u[l].componentInstance,Ho(c,l),c.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},bY={KeepAlive:vY};function yY(t){var e={};e.get=function(){return Ei},Object.defineProperty(t,"config",e),t.util={warn:z9,extend:$t,mergeOptions:Wu,defineReactive:Uu},t.set=KT,t.delete=JL,t.nextTick=ZT,t.observable=function(r){return Ts(r),r},t.options=Object.create(null),hb.forEach(function(r){t.options[r+"s"]=Object.create(null)}),t.options._base=t,$t(t.options.components,bY),dY(t),fY(t),hY(t),gY(t)}yY(V);Object.defineProperty(V.prototype,"$isServer",{get:bp});Object.defineProperty(V.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(V,"FunctionalRenderContext",{value:nE});V.version=v9;var _Y=Ki("style,class"),wY=Ki("input,textarea,option,select,progress"),SY=function(t,e,r){return r==="value"&&wY(t)&&e!=="button"||r==="selected"&&t==="option"||r==="checked"&&t==="input"||r==="muted"&&t==="video"},gN=Ki("contenteditable,draggable,spellcheck"),OY=Ki("events,caret,typing,plaintext-only"),TY=function(t,e){return Rv(e)||e==="false"?"false":t==="contenteditable"&&OY(e)?e:"true"},EY=Ki("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"),dS="http://www.w3.org/1999/xlink",uE=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},vN=function(t){return uE(t)?t.slice(6,t.length):""},Rv=function(t){return t==null||t===!1};function xY(t){for(var e=t.data,r=t,n=t;Z(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(e=fA(n.data,e));for(;Z(r=r.parent);)r&&r.data&&(e=fA(e,r.data));return PY(e.staticClass,e.class)}function fA(t,e){return{staticClass:cE(t.staticClass,e.staticClass),class:Z(t.class)?[t.class,e.class]:e.class}}function PY(t,e){return Z(t)||Z(e)?cE(t,lE(e)):""}function cE(t,e){return t?e?t+" "+e:t:e||""}function lE(t){return Array.isArray(t)?CY(t):Jr(t)?AY(t):typeof t=="string"?t:""}function CY(t){for(var e="",r,n=0,i=t.length;n<i;n++)Z(r=lE(t[n]))&&r!==""&&(e&&(e+=" "),e+=r);return e}function AY(t){var e="";for(var r in t)t[r]&&(e&&(e+=" "),e+=r);return e}var MY={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},$Y=Ki("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),dE=Ki("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),bN=function(t){return $Y(t)||dE(t)};function kY(t){if(dE(t))return"svg";if(t==="math")return"math"}var bm=Object.create(null);function DY(t){if(!ci)return!0;if(bN(t))return!1;if(t=t.toLowerCase(),bm[t]!=null)return bm[t];var e=document.createElement(t);return t.indexOf("-")>-1?bm[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:bm[t]=/HTMLUnknownElement/.test(e.toString())}var fS=Ki("text,number,password,search,email,tel,url");function IY(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function RY(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 LY(t,e){return document.createElementNS(MY[t],e)}function NY(t){return document.createTextNode(t)}function BY(t){return document.createComment(t)}function FY(t,e,r){t.insertBefore(e,r)}function jY(t,e){t.removeChild(e)}function HY(t,e){t.appendChild(e)}function zY(t){return t.parentNode}function VY(t){return t.nextSibling}function UY(t){return t.tagName}function GY(t,e){t.textContent=e}function WY(t,e){t.setAttribute(e,"")}var YY=Object.freeze({__proto__:null,createElement:RY,createElementNS:LY,createTextNode:NY,createComment:BY,insertBefore:FY,removeChild:jY,appendChild:HY,parentNode:zY,nextSibling:VY,tagName:UY,setTextContent:GY,setStyleScope:WY}),KY={create:function(t,e){wl(e)},update:function(t,e){t.data.ref!==e.data.ref&&(wl(t,!0),wl(e))},destroy:function(t){wl(t,!0)}};function wl(t,e){var r=t.data.ref;if(Z(r)){var n=t.context,i=t.componentInstance||t.elm,a=e?null:i,s=e?void 0:i;if(jt(r)){ko(r,n,[a],n,"template ref function");return}var o=t.data.refInFor,u=typeof r=="string"||typeof r=="number",c=ka(r),l=n.$refs;if(u||c){if(o){var d=u?l[r]:r.value;e?We(d)&&Ho(d,i):We(d)?d.includes(i)||d.push(i):u?(l[r]=[i],hA(n,r,l[r])):r.value=[i]}else if(u){if(e&&l[r]!==i)return;l[r]=s,hA(n,r,a)}else if(c){if(e&&r.value!==i)return;r.value=a}}}}function hA(t,e,r){var n=t._setupState;n&&dn(n,e)&&(ka(n[e])?n[e].value=r:n[e]=r)}var co=new ui("",{},[]),sf=["create","activate","update","remove","destroy"];function tu(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&Z(t.data)===Z(e.data)&&qY(t,e)||Wt(t.isAsyncPlaceholder)&&$e(e.asyncFactory.error))}function qY(t,e){if(t.tag!=="input")return!0;var r,n=Z(r=t.data)&&Z(r=r.attrs)&&r.type,i=Z(r=e.data)&&Z(r=r.attrs)&&r.type;return n===i||fS(n)&&fS(i)}function XY(t,e,r){var n,i,a={};for(n=e;n<=r;++n)i=t[n].key,Z(i)&&(a[i]=n);return a}function JY(t){var e,r,n={},i=t.modules,a=t.nodeOps;for(e=0;e<sf.length;++e)for(n[sf[e]]=[],r=0;r<i.length;++r)Z(i[r][sf[e]])&&n[sf[e]].push(i[r][sf[e]]);function s(C){return new ui(a.tagName(C).toLowerCase(),{},[],void 0,C)}function o(C,E){function $(){--$.listeners===0&&u(C)}return $.listeners=E,$}function u(C){var E=a.parentNode(C);Z(E)&&a.removeChild(E,C)}function c(C,E,$,D,M,L,N){if(Z(C.elm)&&Z(L)&&(C=L[N]=Q1(C)),C.isRootInsert=!M,!l(C,E,$,D)){var j=C.data,z=C.children,U=C.tag;Z(U)?(C.elm=C.ns?a.createElementNS(C.ns,U):a.createElement(U,C),S(C),m(C,z,E),Z(j)&&_(C,E),p($,C.elm,D)):Wt(C.isComment)?(C.elm=a.createComment(C.text),p($,C.elm,D)):(C.elm=a.createTextNode(C.text),p($,C.elm,D))}}function l(C,E,$,D){var M=C.data;if(Z(M)){var L=Z(C.componentInstance)&&M.keepAlive;if(Z(M=M.hook)&&Z(M=M.init)&&M(C,!1),Z(C.componentInstance))return d(C,E),p($,C.elm,D),Wt(L)&&f(C,E,$,D),!0}}function d(C,E){Z(C.data.pendingInsert)&&(E.push.apply(E,C.data.pendingInsert),C.data.pendingInsert=null),C.elm=C.componentInstance.$el,b(C)?(_(C,E),S(C)):(wl(C),E.push(C))}function f(C,E,$,D){for(var M,L=C;L.componentInstance;)if(L=L.componentInstance._vnode,Z(M=L.data)&&Z(M=M.transition)){for(M=0;M<n.activate.length;++M)n.activate[M](co,L);E.push(L);break}p($,C.elm,D)}function p(C,E,$){Z(C)&&(Z($)?a.parentNode($)===C&&a.insertBefore(C,E,$):a.appendChild(C,E))}function m(C,E,$){if(We(E))for(var D=0;D<E.length;++D)c(E[D],$,C.elm,null,!0,E,D);else gp(C.text)&&a.appendChild(C.elm,a.createTextNode(String(C.text)))}function b(C){for(;C.componentInstance;)C=C.componentInstance._vnode;return Z(C.tag)}function _(C,E){for(var $=0;$<n.create.length;++$)n.create[$](co,C);e=C.data.hook,Z(e)&&(Z(e.create)&&e.create(co,C),Z(e.insert)&&E.push(C))}function S(C){var E;if(Z(E=C.fnScopeId))a.setStyleScope(C.elm,E);else for(var $=C;$;)Z(E=$.context)&&Z(E=E.$options._scopeId)&&a.setStyleScope(C.elm,E),$=$.parent;Z(E=ku)&&E!==C.context&&E!==C.fnContext&&Z(E=E.$options._scopeId)&&a.setStyleScope(C.elm,E)}function x(C,E,$,D,M,L){for(;D<=M;++D)c($[D],L,C,E,!1,$,D)}function O(C){var E,$,D=C.data;if(Z(D))for(Z(E=D.hook)&&Z(E=E.destroy)&&E(C),E=0;E<n.destroy.length;++E)n.destroy[E](C);if(Z(E=C.children))for($=0;$<C.children.length;++$)O(C.children[$])}function h(C,E,$){for(;E<=$;++E){var D=C[E];Z(D)&&(Z(D.tag)?(v(D),O(D)):u(D.elm))}}function v(C,E){if(Z(E)||Z(C.data)){var $,D=n.remove.length+1;for(Z(E)?E.listeners+=D:E=o(C.elm,D),Z($=C.componentInstance)&&Z($=$._vnode)&&Z($.data)&&v($,E),$=0;$<n.remove.length;++$)n.remove[$](C,E);Z($=C.data.hook)&&Z($=$.remove)?$(C,E):E()}else u(C.elm)}function g(C,E,$,D,M){for(var L=0,N=0,j=E.length-1,z=E[0],U=E[j],J=$.length-1,re=$[0],Y=$[J],G,K,X,se,Ae=!M;L<=j&&N<=J;)$e(z)?z=E[++L]:$e(U)?U=E[--j]:tu(z,re)?(P(z,re,D,$,N),z=E[++L],re=$[++N]):tu(U,Y)?(P(U,Y,D,$,J),U=E[--j],Y=$[--J]):tu(z,Y)?(P(z,Y,D,$,J),Ae&&a.insertBefore(C,z.elm,a.nextSibling(U.elm)),z=E[++L],Y=$[--J]):tu(U,re)?(P(U,re,D,$,N),Ae&&a.insertBefore(C,U.elm,z.elm),U=E[--j],re=$[++N]):($e(G)&&(G=XY(E,L,j)),K=Z(re.key)?G[re.key]:T(re,E,L,j),$e(K)?c(re,D,C,z.elm,!1,$,N):(X=E[K],tu(X,re)?(P(X,re,D,$,N),E[K]=void 0,Ae&&a.insertBefore(C,X.elm,z.elm)):c(re,D,C,z.elm,!1,$,N)),re=$[++N]);L>j?(se=$e($[J+1])?null:$[J+1].elm,x(C,se,$,N,J,D)):N>J&&h(E,L,j)}function T(C,E,$,D){for(var M=$;M<D;M++){var L=E[M];if(Z(L)&&tu(C,L))return M}}function P(C,E,$,D,M,L){if(C!==E){Z(E.elm)&&Z(D)&&(E=D[M]=Q1(E));var N=E.elm=C.elm;if(Wt(C.isAsyncPlaceholder)){Z(E.asyncFactory.resolved)?A(C.elm,E,$):E.isAsyncPlaceholder=!0;return}if(Wt(E.isStatic)&&Wt(C.isStatic)&&E.key===C.key&&(Wt(E.isCloned)||Wt(E.isOnce))){E.componentInstance=C.componentInstance;return}var j,z=E.data;Z(z)&&Z(j=z.hook)&&Z(j=j.prepatch)&&j(C,E);var U=C.children,J=E.children;if(Z(z)&&b(E)){for(j=0;j<n.update.length;++j)n.update[j](C,E);Z(j=z.hook)&&Z(j=j.update)&&j(C,E)}$e(E.text)?Z(U)&&Z(J)?U!==J&&g(N,U,J,$,L):Z(J)?(Z(C.text)&&a.setTextContent(N,""),x(N,null,J,0,J.length-1,$)):Z(U)?h(U,0,U.length-1):Z(C.text)&&a.setTextContent(N,""):C.text!==E.text&&a.setTextContent(N,E.text),Z(z)&&Z(j=z.hook)&&Z(j=j.postpatch)&&j(C,E)}}function k(C,E,$){if(Wt($)&&Z(C.parent))C.parent.data.pendingInsert=E;else for(var D=0;D<E.length;++D)E[D].data.hook.insert(E[D])}var w=Ki("attrs,class,staticClass,staticStyle,key");function A(C,E,$,D){var M,L=E.tag,N=E.data,j=E.children;if(D=D||N&&N.pre,E.elm=C,Wt(E.isComment)&&Z(E.asyncFactory))return E.isAsyncPlaceholder=!0,!0;if(Z(N)&&(Z(M=N.hook)&&Z(M=M.init)&&M(E,!0),Z(M=E.componentInstance)))return d(E,$),!0;if(Z(L)){if(Z(j))if(!C.hasChildNodes())m(E,j,$);else if(Z(M=N)&&Z(M=M.domProps)&&Z(M=M.innerHTML)){if(M!==C.innerHTML)return!1}else{for(var z=!0,U=C.firstChild,J=0;J<j.length;J++){if(!U||!A(U,j[J],$,D)){z=!1;break}U=U.nextSibling}if(!z||U)return!1}if(Z(N)){var re=!1;for(var Y in N)if(!w(Y)){re=!0,_(E,$);break}!re&&N.class&&$v(N.class)}}else C.data!==E.text&&(C.data=E.text);return!0}return function(E,$,D,M){if($e($)){Z(E)&&O(E);return}var L=!1,N=[];if($e(E))L=!0,c($,N);else{var j=Z(E.nodeType);if(!j&&tu(E,$))P(E,$,N,null,null,M);else{if(j){if(E.nodeType===1&&E.hasAttribute(HC)&&(E.removeAttribute(HC),D=!0),Wt(D)&&A(E,$,N))return k($,N,!0),E;E=s(E)}var z=E.elm,U=a.parentNode(z);if(c($,N,z._leaveCb?null:U,a.nextSibling(z)),Z($.parent))for(var J=$.parent,re=b($);J;){for(var Y=0;Y<n.destroy.length;++Y)n.destroy[Y](J);if(J.elm=$.elm,re){for(var G=0;G<n.create.length;++G)n.create[G](co,J);var K=J.data.hook.insert;if(K.merged)for(var X=1;X<K.fns.length;X++)K.fns[X]()}else wl(J);J=J.parent}Z(U)?h([E],0,0):Z(E.tag)&&O(E)}}return k($,N,L),$.elm}}var ZY={create:U_,update:U_,destroy:function(e){U_(e,co)}};function U_(t,e){(t.data.directives||e.data.directives)&&QY(t,e)}function QY(t,e){var r=t===co,n=e===co,i=pA(t.data.directives,t.context),a=pA(e.data.directives,e.context),s=[],o=[],u,c,l;for(u in a)c=i[u],l=a[u],c?(l.oldValue=c.value,l.oldArg=c.arg,of(l,"update",e,t),l.def&&l.def.componentUpdated&&o.push(l)):(of(l,"bind",e,t),l.def&&l.def.inserted&&s.push(l));if(s.length){var d=function(){for(var f=0;f<s.length;f++)of(s[f],"inserted",e,t)};r?uo(e,"insert",d):d()}if(o.length&&uo(e,"postpatch",function(){for(var f=0;f<o.length;f++)of(o[f],"componentUpdated",e,t)}),!r)for(u in i)a[u]||of(i[u],"unbind",t,t,n)}var eK=Object.create(null);function pA(t,e){var r=Object.create(null);if(!t)return r;var n,i;for(n=0;n<t.length;n++){if(i=t[n],i.modifiers||(i.modifiers=eK),r[tK(i)]=i,e._setupState&&e._setupState.__sfc){var a=i.def||Iv(e,"_setupState","v-"+i.name);typeof a=="function"?i.def={bind:a,update:a}:i.def=a}i.def=i.def||Iv(e.$options,"directives",i.name)}return r}function tK(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function of(t,e,r,n,i){var a=t.def&&t.def[e];if(a)try{a(r.elm,t,r,n,i)}catch(s){Gu(s,r.context,"directive ".concat(t.name," ").concat(e," hook"))}}var rK=[KY,ZY];function mA(t,e){var r=e.componentOptions;if(!(Z(r)&&r.Ctor.options.inheritAttrs===!1)&&!($e(t.data.attrs)&&$e(e.data.attrs))){var n,i,a,s=e.elm,o=t.data.attrs||{},u=e.data.attrs||{};(Z(u.__ob__)||Wt(u._v_attr_proxy))&&(u=e.data.attrs=$t({},u));for(n in u)i=u[n],a=o[n],a!==i&&gA(s,n,i,e.data.pre);(Sd||YL)&&u.value!==o.value&&gA(s,"value",u.value);for(n in o)$e(u[n])&&(uE(n)?s.removeAttributeNS(dS,vN(n)):gN(n)||s.removeAttribute(n))}}function gA(t,e,r,n){n||t.tagName.indexOf("-")>-1?vA(t,e,r):EY(e)?Rv(r)?t.removeAttribute(e):(r=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,r)):gN(e)?t.setAttribute(e,TY(e,r)):uE(e)?Rv(r)?t.removeAttributeNS(dS,vN(e)):t.setAttributeNS(dS,e,r):vA(t,e,r)}function vA(t,e,r){if(Rv(r))t.removeAttribute(e);else{if(Sd&&!Od&&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 nK={create:mA,update:mA};function bA(t,e){var r=e.elm,n=e.data,i=t.data;if(!($e(n.staticClass)&&$e(n.class)&&($e(i)||$e(i.staticClass)&&$e(i.class)))){var a=xY(e),s=r._transitionClasses;Z(s)&&(a=cE(a,lE(s))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}}var iK={create:bA,update:bA},G_="__r",W_="__c";function aK(t){if(Z(t[G_])){var e=Sd?"change":"input";t[e]=[].concat(t[G_],t[e]||[]),delete t[G_]}Z(t[W_])&&(t.change=[].concat(t[W_],t.change||[]),delete t[W_])}var jh;function sK(t,e,r){var n=jh;return function i(){var a=e.apply(null,arguments);a!==null&&yN(t,i,r,n)}}var oK=nS&&!(zC&&Number(zC[1])<=53);function uK(t,e,r,n){if(oK){var i=hN,a=e;e=a._wrapper=function(s){if(s.target===s.currentTarget||s.timeStamp>=i||s.timeStamp<=0||s.target.ownerDocument!==document)return a.apply(this,arguments)}}jh.addEventListener(t,e,KL?{capture:r,passive:n}:r)}function yN(t,e,r,n){(n||jh).removeEventListener(t,e._wrapper||e,r)}function Y_(t,e){if(!($e(t.data.on)&&$e(e.data.on))){var r=e.data.on||{},n=t.data.on||{};jh=e.elm||t.elm,aK(r),eN(r,n,uK,yN,sK,e.context),jh=void 0}}var cK={create:Y_,update:Y_,destroy:function(t){return Y_(t,co)}},ym;function yA(t,e){if(!($e(t.data.domProps)&&$e(e.data.domProps))){var r,n,i=e.elm,a=t.data.domProps||{},s=e.data.domProps||{};(Z(s.__ob__)||Wt(s._v_attr_proxy))&&(s=e.data.domProps=$t({},s));for(r in a)r in s||(i[r]="");for(r in s){if(n=s[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 o=$e(n)?"":String(n);lK(i,o)&&(i.value=o)}else if(r==="innerHTML"&&dE(i.tagName)&&$e(i.innerHTML)){ym=ym||document.createElement("div"),ym.innerHTML="<svg>".concat(n,"</svg>");for(var u=ym.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 lK(t,e){return!t.composing&&(t.tagName==="OPTION"||dK(t,e)||fK(t,e))}function dK(t,e){var r=!0;try{r=document.activeElement!==t}catch{}return r&&t.value!==e}function fK(t,e){var r=t.value,n=t._vModifiers;if(Z(n)){if(n.number)return Rh(r)!==Rh(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var hK={create:yA,update:yA},pK=dc(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 K_(t){var e=_N(t.style);return t.staticStyle?$t(t.staticStyle,e):e}function _N(t){return Array.isArray(t)?zL(t):typeof t=="string"?pK(t):t}function mK(t,e){var r={},n;if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(n=K_(i.data))&&$t(r,n);(n=K_(t.data))&&$t(r,n);for(var a=t;a=a.parent;)a.data&&(n=K_(a.data))&&$t(r,n);return r}var gK=/^--/,_A=/\s*!important$/,wA=function(t,e,r){if(gK.test(e))t.style.setProperty(e,r);else if(_A.test(r))t.style.setProperty(vp(e),r.replace(_A,""),"important");else{var n=vK(e);if(Array.isArray(r))for(var i=0,a=r.length;i<a;i++)t.style[n]=r[i];else t.style[n]=r}},SA=["Webkit","Moz","ms"],_m,vK=dc(function(t){if(_m=_m||document.createElement("div").style,t=zu(t),t!=="filter"&&t in _m)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<SA.length;r++){var n=SA[r]+e;if(n in _m)return n}});function OA(t,e){var r=e.data,n=t.data;if(!($e(r.staticStyle)&&$e(r.style)&&$e(n.staticStyle)&&$e(n.style))){var i,a,s=e.elm,o=n.staticStyle,u=n.normalizedStyle||n.style||{},c=o||u,l=_N(e.data.style)||{};e.data.normalizedStyle=Z(l.__ob__)?$t({},l):l;var d=mK(e,!0);for(a in c)$e(d[a])&&wA(s,a,"");for(a in d)i=d[a],i!==c[a]&&wA(s,a,i??"")}}var bK={create:OA,update:OA},wN=/\s+/;function SN(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(wN).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 ON(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(wN).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 TN(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&$t(e,TA(t.name||"v")),$t(e,t),e}else if(typeof t=="string")return TA(t)}}var TA=dc(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")}}),EN=ci&&!Od,ll="transition",q_="animation",Mg="transition",Lv="transitionend",hS="animation",xN="animationend";EN&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Mg="WebkitTransition",Lv="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(hS="WebkitAnimation",xN="webkitAnimationEnd"));var EA=ci?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function PN(t){EA(function(){EA(t)})}function Du(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),SN(t,e))}function ms(t,e){t._transitionClasses&&Ho(t._transitionClasses,e),ON(t,e)}function CN(t,e,r){var n=AN(t,e),i=n.type,a=n.timeout,s=n.propCount;if(!i)return r();var o=i===ll?Lv:xN,u=0,c=function(){t.removeEventListener(o,l),r()},l=function(d){d.target===t&&++u>=s&&c()};setTimeout(function(){u<s&&c()},a+1),t.addEventListener(o,l)}var yK=/\b(transform|all)(,|$)/;function AN(t,e){var r=window.getComputedStyle(t),n=(r[Mg+"Delay"]||"").split(", "),i=(r[Mg+"Duration"]||"").split(", "),a=xA(n,i),s=(r[hS+"Delay"]||"").split(", "),o=(r[hS+"Duration"]||"").split(", "),u=xA(s,o),c,l=0,d=0;e===ll?a>0&&(c=ll,l=a,d=i.length):e===q_?u>0&&(c=q_,l=u,d=o.length):(l=Math.max(a,u),c=l>0?a>u?ll:q_:null,d=c?c===ll?i.length:o.length:0);var f=c===ll&&yK.test(r[Mg+"Property"]);return{type:c,timeout:l,propCount:d,hasTransform:f}}function xA(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(r,n){return PA(r)+PA(t[n])}))}function PA(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function pS(t,e){var r=t.elm;Z(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=TN(t.data.transition);if(!$e(n)&&!(Z(r._enterCb)||r.nodeType!==1)){for(var i=n.css,a=n.type,s=n.enterClass,o=n.enterToClass,u=n.enterActiveClass,c=n.appearClass,l=n.appearToClass,d=n.appearActiveClass,f=n.beforeEnter,p=n.enter,m=n.afterEnter,b=n.enterCancelled,_=n.beforeAppear,S=n.appear,x=n.afterAppear,O=n.appearCancelled,h=n.duration,v=ku,g=ku.$vnode;g&&g.parent;)v=g.context,g=g.parent;var T=!v._isMounted||!t.isRootInsert;if(!(T&&!S&&S!=="")){var P=T&&c?c:s,k=T&&d?d:u,w=T&&l?l:o,A=T&&_||f,C=T&&jt(S)?S:p,E=T&&x||m,$=T&&O||b,D=Rh(Jr(h)?h.enter:h),M=i!==!1&&!Od,L=fE(C),N=r._enterCb=xv(function(){M&&(ms(r,w),ms(r,k)),N.cancelled?(M&&ms(r,P),$&&$(r)):E&&E(r),r._enterCb=null});t.data.show||uo(t,"insert",function(){var j=r.parentNode,z=j&&j._pending&&j._pending[t.key];z&&z.tag===t.tag&&z.elm._leaveCb&&z.elm._leaveCb(),C&&C(r,N)}),A&&A(r),M&&(Du(r,P),Du(r,k),PN(function(){ms(r,P),N.cancelled||(Du(r,w),L||($N(D)?setTimeout(N,D):CN(r,a,N)))})),t.data.show&&(e&&e(),C&&C(r,N)),!M&&!L&&N()}}}function MN(t,e){var r=t.elm;Z(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=TN(t.data.transition);if($e(n)||r.nodeType!==1)return e();if(Z(r._leaveCb))return;var i=n.css,a=n.type,s=n.leaveClass,o=n.leaveToClass,u=n.leaveActiveClass,c=n.beforeLeave,l=n.leave,d=n.afterLeave,f=n.leaveCancelled,p=n.delayLeave,m=n.duration,b=i!==!1&&!Od,_=fE(l),S=Rh(Jr(m)?m.leave:m),x=r._leaveCb=xv(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),b&&(ms(r,o),ms(r,u)),x.cancelled?(b&&ms(r,s),f&&f(r)):(e(),d&&d(r)),r._leaveCb=null});p?p(O):O();function O(){x.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),c&&c(r),b&&(Du(r,s),Du(r,u),PN(function(){ms(r,s),x.cancelled||(Du(r,o),_||($N(S)?setTimeout(x,S):CN(r,a,x)))})),l&&l(r,x),!b&&!_&&x())}}function $N(t){return typeof t=="number"&&!isNaN(t)}function fE(t){if($e(t))return!1;var e=t.fns;return Z(e)?fE(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function CA(t,e){e.data.show!==!0&&pS(e)}var _K=ci?{create:CA,activate:CA,remove:function(t,e){t.data.show!==!0?MN(t,e):e()}}:{},wK=[nK,iK,cK,hK,bK,_K],SK=wK.concat(rK),OK=JY({nodeOps:YY,modules:SK});Od&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&hE(t,"input")});var kN={inserted:function(t,e,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?uo(r,"postpatch",function(){kN.componentUpdated(t,e,r)}):AA(t,e,r.context),t._vOptions=[].map.call(t.options,Nv)):(r.tag==="textarea"||fS(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",TK),t.addEventListener("compositionend",kA),t.addEventListener("change",kA),Od&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if(r.tag==="select"){AA(t,e,r.context);var n=t._vOptions,i=t._vOptions=[].map.call(t.options,Nv);if(i.some(function(s,o){return!Vu(s,n[o])})){var a=t.multiple?e.value.some(function(s){return $A(s,i)}):e.value!==e.oldValue&&$A(e.value,i);a&&hE(t,"change")}}}};function AA(t,e,r){MA(t,e),(Sd||YL)&&setTimeout(function(){MA(t,e)},0)}function MA(t,e,r){var n=e.value,i=t.multiple;if(!(i&&!Array.isArray(n))){for(var a,s,o=0,u=t.options.length;o<u;o++)if(s=t.options[o],i)a=UL(n,Nv(s))>-1,s.selected!==a&&(s.selected=a);else if(Vu(Nv(s),n)){t.selectedIndex!==o&&(t.selectedIndex=o);return}i||(t.selectedIndex=-1)}}function $A(t,e){return e.every(function(r){return!Vu(r,t)})}function Nv(t){return"_value"in t?t._value:t.value}function TK(t){t.target.composing=!0}function kA(t){t.target.composing&&(t.target.composing=!1,hE(t.target,"input"))}function hE(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function mS(t){return t.componentInstance&&(!t.data||!t.data.transition)?mS(t.componentInstance._vnode):t}var EK={bind:function(t,e,r){var n=e.value;r=mS(r);var i=r.data&&r.data.transition,a=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;n&&i?(r.data.show=!0,pS(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=mS(r);var a=r.data&&r.data.transition;a?(r.data.show=!0,n?pS(r,function(){t.style.display=t.__vOriginalDisplay}):MN(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)}},xK={model:kN,show:EK},DN={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 gS(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?gS(sN(e.children)):t}function IN(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[zu(n)]=i[n];return e}function DA(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function PK(t){for(;t=t.parent;)if(t.data.transition)return!0}function CK(t,e){return e.key===t.key&&e.tag===t.tag}var AK=function(t){return t.tag||Nh(t)},MK=function(t){return t.name==="show"},$K={name:"transition",props:DN,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(r&&(r=r.filter(AK),!!r.length)){var n=this.mode,i=r[0];if(PK(this.$vnode))return i;var a=gS(i);if(!a)return i;if(this._leaving)return DA(t,i);var s="__transition-".concat(this._uid,"-");a.key=a.key==null?a.isComment?s+"comment":s+a.tag:gp(a.key)?String(a.key).indexOf(s)===0?a.key:s+a.key:a.key;var o=(a.data||(a.data={})).transition=IN(this),u=this._vnode,c=gS(u);if(a.data.directives&&a.data.directives.some(MK)&&(a.data.show=!0),c&&c.data&&!CK(a,c)&&!Nh(c)&&!(c.componentInstance&&c.componentInstance._vnode.isComment)){var l=c.data.transition=$t({},o);if(n==="out-in")return this._leaving=!0,uo(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),DA(t,i);if(n==="in-out"){if(Nh(a))return u;var d,f=function(){d()};uo(o,"afterEnter",f),uo(o,"enterCancelled",f),uo(l,"delayLeave",function(p){d=p})}}return i}}},RN=$t({tag:String,moveClass:String},DN);delete RN.mode;var kK={props:RN,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var i=lN(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=[],s=IN(this),o=0;o<i.length;o++){var u=i[o];u.tag&&u.key!=null&&String(u.key).indexOf("__vlist")!==0&&(a.push(u),r[u.key]=u,(u.data||(u.data={})).transition=s)}if(n){for(var c=[],l=[],o=0;o<n.length;o++){var u=n[o];u.data.transition=s,u.data.pos=u.elm.getBoundingClientRect(),r[u.key]?c.push(u):l.push(u)}this.kept=t(e,null,c),this.removed=l}return t(e,null,a)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";!t.length||!this.hasMove(t[0].elm,e)||(t.forEach(DK),t.forEach(IK),t.forEach(RK),this._reflow=document.body.offsetHeight,t.forEach(function(r){if(r.data.moved){var n=r.elm,i=n.style;Du(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Lv,n._moveCb=function a(s){s&&s.target!==n||(!s||/transform$/.test(s.propertyName))&&(n.removeEventListener(Lv,a),n._moveCb=null,ms(n,e))})}}))},methods:{hasMove:function(t,e){if(!EN)return!1;if(this._hasMove)return this._hasMove;var r=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(i){ON(r,i)}),SN(r,e),r.style.display="none",this.$el.appendChild(r);var n=AN(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function DK(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function IK(t){t.data.newPos=t.elm.getBoundingClientRect()}function RK(t){var e=t.data.pos,r=t.data.newPos,n=e.left-r.left,i=e.top-r.top;if(n||i){t.data.moved=!0;var a=t.elm.style;a.transform=a.WebkitTransform="translate(".concat(n,"px,").concat(i,"px)"),a.transitionDuration="0s"}}var LK={Transition:$K,TransitionGroup:kK};V.config.mustUseProp=SY;V.config.isReservedTag=bN;V.config.isReservedAttr=_Y;V.config.getTagNamespace=kY;V.config.isUnknownElement=DY;$t(V.options.directives,xK);$t(V.options.components,LK);V.prototype.__patch__=ci?OK:Dr;V.prototype.$mount=function(t,e){return t=t&&ci?IY(t):void 0,x9(this,t,e)};ci&&setTimeout(function(){Ei.devtools&&Pv&&Pv.emit("init",V)},0);var LN=function(){return(LN=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},X_={kebab:/-(\w)/g,styleProp:/:(.*)/,styleList:/;(?![^(]*\))/g};function NK(t,e){return e?e.toUpperCase():""}function BK(t){for(var e,r={},n=0,i=t.split(X_.styleList);n<i.length;n++){var a=i[n].split(X_.styleProp),s=a[0],o=a[1];(s=s.trim())&&(typeof o=="string"&&(o=o.trim()),r[e=s,e.replace(X_.kebab,NK)]=o)}return r}function ve(){for(var t,e,r={},n=arguments.length;n--;)for(var i=0,a=Object.keys(arguments[n]);i<a.length;i++)switch(t=a[i]){case"class":case"style":case"directives":if(Array.isArray(r[t])||(r[t]=[]),t==="style"){var s=void 0;s=Array.isArray(arguments[n].style)?arguments[n].style:[arguments[n].style];for(var o=0;o<s.length;o++){var u=s[o];typeof u=="string"&&(s[o]=BK(u))}arguments[n].style=s}r[t]=r[t].concat(arguments[n][t]);break;case"staticClass":if(!arguments[n][t])break;r[t]===void 0&&(r[t]=""),r[t]&&(r[t]+=" "),r[t]+=arguments[n][t].trim();break;case"on":case"nativeOn":r[t]||(r[t]={});for(var c=0,l=Object.keys(arguments[n][t]||{});c<l.length;c++)e=l[c],r[t][e]?r[t][e]=[].concat(r[t][e],arguments[n][t][e]):r[t][e]=arguments[n][t][e];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":r[t]||(r[t]={}),r[t]=LN({},arguments[n][t],r[t]);break;case"slot":case"key":case"ref":case"tag":case"show":case"keepAlive":default:r[t]||(r[t]=arguments[n][t])}return r}var ws="_uid",xd=typeof window<"u",NN=typeof document<"u",BN=typeof navigator<"u",FN=typeof Promise<"u",FK=typeof MutationObserver<"u"||typeof WebKitMutationObserver<"u"||typeof MozMutationObserver<"u",ft=xd&&NN&&BN,Yt=xd?window:{},Pd=NN?document:{},jN=BN?navigator:{},jK=(jN.userAgent||"").toLowerCase(),HK=jK.indexOf("jsdom")>0,zK=function(){var t=!1;if(ft)try{var e={get passive(){t=!0}};Yt.addEventListener("test",e,e),Yt.removeEventListener("test",e,e)}catch{t=!1}return t}(),Bv=ft&&("ontouchstart"in Pd.documentElement||jN.maxTouchPoints>0),uf=ft&&!!(Yt.PointerEvent||Yt.MSPointerEvent),IA=ft&&"IntersectionObserver"in Yt&&"IntersectionObserverEntry"in Yt&&"intersectionRatio"in Yt.IntersectionObserverEntry.prototype,VK="BvConfig",dl="$bvConfig",UK=["xs","sm","md","lg","xl"],GK=/\[(\d+)]/g,WK=/^(BV?)/,HN=/^\d+$/,YK=/^\..+/,KK=/^#/,qK=/^#[A-Za-z]+[\w\-:.]*$/,XK=/(<([^>]+)>)/gi,JK=/\B([A-Z])/g,ZK=/([a-z])([A-Z])/g,QK=/^[0-9]*\.?[0-9]+$/,eq=/\+/g,tq=/[-/\\^$*+?.()|[\]{}]/g,zN=/[\s\uFEFF\xA0]+/g,$g=/\s+/,rq=/\/\*$/,nq=/(\s|^)(\w)/g,iq=/^\s+/,aq=/_/g,sq=/-(\w)/g,oq=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,uq=/-|\s|T/,cq=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,RA=/^.*(#[^#]+)$/,lq=/%2C/g,dq=/[!'()*]/g,fq=/^(\?|#|&)/,hq=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,pq=/[/:]/,mq=/^col-/,gq=/^BIcon/,vq=/-u-.+/;function vS(t){"@babel/helpers - typeof";return vS=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},vS(t)}function pb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mb(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&&Hh(t,e)}function gb(t){var e=VN();return function(){var n=zh(t),i;if(e){var a=zh(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return bq(this,i)}}function bq(t,e){if(e&&(vS(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return yq(t)}function yq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fv(t){var e=typeof Map=="function"?new Map:void 0;return Fv=function(n){if(n===null||!_q(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 kg(n,arguments,zh(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Hh(i,n)},Fv(t)}function kg(t,e,r){return VN()?kg=Reflect.construct:kg=function(i,a,s){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(i,o),c=new u;return s&&Hh(c,s.prototype),c},kg.apply(null,arguments)}function VN(){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 _q(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Hh(t,e){return Hh=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hh(t,e)}function zh(t){return zh=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zh(t)}var pE=xd?Yt.Element:function(t){mb(r,t);var e=gb(r);function r(){return pb(this,r),e.apply(this,arguments)}return r}(Fv(Object)),yo=xd?Yt.HTMLElement:function(t){mb(r,t);var e=gb(r);function r(){return pb(this,r),e.apply(this,arguments)}return r}(pE),UN=xd?Yt.SVGElement:function(t){mb(r,t);var e=gb(r);function r(){return pb(this,r),e.apply(this,arguments)}return r}(pE),GN=xd?Yt.File:function(t){mb(r,t);var e=gb(r);function r(){return pb(this,r),e.apply(this,arguments)}return r}(Fv(Object));function jv(t){"@babel/helpers - typeof";return jv=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},jv(t)}var vb=function(e){return jv(e)},wq=function(e){return Object.prototype.toString.call(e).slice(8,-1)},Jt=function(e){return e===void 0},St=function(e){return e===null},it=function(e){return Jt(e)||St(e)},be=function(e){return vb(e)==="function"},Si=function(e){return vb(e)==="boolean"},Ge=function(e){return vb(e)==="string"},ji=function(e){return vb(e)==="number"},fh=function(e){return QK.test(String(e))},rt=function(e){return Array.isArray(e)},qt=function(e){return e!==null&&jv(e)==="object"},Zr=function(e){return Object.prototype.toString.call(e)==="[object Object]"},Kl=function(e){return e instanceof Date},Yu=function(e){return e instanceof Event},Sq=function(e){return e instanceof GN},LA=function(e){return wq(e)==="RegExp"},Oq=function(e){return!it(e)&&be(e.then)&&be(e.catch)};function NA(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 Ku(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?NA(Object(r),!0).forEach(function(n){_p(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):NA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _p(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wp=function(){return Object.assign.apply(Object,arguments)},lo=function(e,r){return Object.create(e,r)},bb=function(e,r){return Object.defineProperties(e,r)},mE=function(e,r,n){return Object.defineProperty(e,r,n)},BA=function(e){return Object.getOwnPropertyNames(e)},Pe=function(e){return Object.keys(e)},qu=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},Tq=function(e){return Object.prototype.toString.call(e)},zo=function(e){return Ku({},e)},qi=function(e,r){return Pe(e).filter(function(n){return r.indexOf(n)!==-1}).reduce(function(n,i){return Ku(Ku({},n),{},_p({},i,e[i]))},{})},Re=function(e,r){return Pe(e).filter(function(n){return r.indexOf(n)===-1}).reduce(function(n,i){return Ku(Ku({},n),{},_p({},i,e[i]))},{})},Eq=function t(e,r){return qt(e)&&qt(r)&&Pe(r).forEach(function(n){qt(r[n])?((!e[n]||!qt(e[n]))&&(e[n]=r[n]),t(e[n],r[n])):wp(e,_p({},n,r[n]))}),e},fe=function(e){return Pe(e).sort().reduce(function(r,n){return Ku(Ku({},r),{},_p({},n,e[n]))},{})},_i=function(){return{enumerable:!0,configurable:!1,writable:!1}};function FA(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 jA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?FA(Object(r),!0).forEach(function(n){WN(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):FA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function WN(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xq(t){return Mq(t)||Aq(t)||Cq(t)||Pq()}function Pq(){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 Cq(t,e){if(t){if(typeof t=="string")return bS(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 bS(t,e)}}function Aq(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Mq(t){if(Array.isArray(t))return bS(t)}function bS(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Oi=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return rt(e)?e.reduce(function(n,i){return[].concat(xq(n),[t(i,i)])},[]):Zr(e)?Pe(e).reduce(function(n,i){return jA(jA({},n),{},WN({},i,t(e[i],e[i])))},{}):r},Te=function(e){return e},YN=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(r=rt(r)?r.join("."):r,!r||!qt(e))return n;if(r in e)return e[r];r=String(r).replace(GK,".$1");var i=r.split(".").filter(Te);return i.length===0?n:i.every(function(a){return qt(e)&&a in e&&!it(e=e[a])})?e:St(e)?null:n},Vr=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=YN(e,r);return it(i)?n:i},HA=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},$q=function(){return HA("BOOTSTRAP_VUE_NO_WARN")||HA("NODE_ENV")==="production"},Tr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;$q()||console.warn("[BootstrapVue warn]: ".concat(r?"".concat(r," - "):"").concat(e))},Hv=function(e){return ft?!1:(Tr("".concat(e,": Can not be called during SSR.")),!0)},zA=function(e){return FN?!1:(Tr("".concat(e,": Requires Promise support.")),!0)},kq=function(e){return FK?!1:(Tr("".concat(e,": Requires MutationObserver support.")),!0)};function Dq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VA(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Iq(t,e,r){return e&&VA(t.prototype,e),r&&VA(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var Rq=function(){function t(){Dq(this,t),this.$_config={}}return Iq(t,[{key:"setConfig",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Zr(n)){var i=BA(n);i.forEach(function(a){var s=n[a];a==="breakpoints"?!rt(s)||s.length<2||s.some(function(o){return!Ge(o)||o.length===0})?Tr('"breakpoints" must be an array of at least 2 breakpoint names',VK):r.$_config[a]=Oi(s):Zr(s)&&(r.$_config[a]=BA(s).reduce(function(o,u){return Jt(s[u])||(o[u]=Oi(s[u])),o},r.$_config[a]||{}))})}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return Oi(this.$_config)}},{key:"getConfigValue",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;return Oi(YN(this.$_config,r,n))}}]),t}(),Lq=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V;r.prototype[dl]=V.prototype[dl]=r.prototype[dl]||V.prototype[dl]||new Rq,r.prototype[dl].setConfig(e)};function UA(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 GA(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?UA(Object(r),!0).forEach(function(n){Nq(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):UA(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Nq(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bq=function(){var t=!1,e=["Multiple instances of Vue detected!","You may need to set up an alias for Vue in your bundler config.","See: https://bootstrap-vue.org/docs#using-module-bundlers"].join(`
`);return function(r){!t&&V!==r&&!HK&&Tr(e),t=!0}}(),KN=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.components,n=e.directives,i=e.plugins,a=function s(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};s.installed||(s.installed=!0,Bq(o),Lq(u,o),Hq(o,r),Vq(o,n),Fq(o,i))};return a.installed=!1,a},pe=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return GA(GA({},r),{},{install:KN(e)})},Fq=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])},jq=function(e,r,n){e&&r&&n&&e.component(r,n)},Hq=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)jq(e,n,r[n])},zq=function(e,r,n){e&&r&&n&&e.directive(r.replace(/^VB/,"B"),n)},Vq=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var n in r)zq(e,n,r[n])},qN="BAlert",XN="BAspect",JN="BAvatar",ZN="BAvatarGroup",QN="BBadge",eB="BBreadcrumb",tB="BBreadcrumbItem",rB="BBreadcrumbLink",nB="BButton",iB="BButtonClose",aB="BButtonGroup",sB="BButtonToolbar",oB="BCalendar",gE="BCard",uB="BCardBody",cB="BCardFooter",lB="BCardGroup",dB="BCardHeader",fB="BCardImg",hB="BCardImgLazy",pB="BCardSubTitle",mB="BCardText",gB="BCardTitle",vB="BCarousel",bB="BCarouselSlide",yB="BCol",Ur="BCollapse",_B="BContainer",Xu="BDropdown",wB="BDropdownDivider",SB="BDropdownForm",OB="BDropdownGroup",TB="BDropdownHeader",EB="BDropdownItem",xB="BDropdownItemButton",PB="BDropdownText",CB="BEmbed",AB="BForm",MB="BFormCheckbox",$B="BFormCheckboxGroup",kB="BFormDatalist",DB="BFormDatepicker",vE="BFormFile",IB="BFormGroup",RB="BFormInput",LB="BFormInvalidFeedback",NB="BFormRadio",BB="BFormRadioGroup",FB="BFormRating",jB="BFormRow",HB="BFormSelect",zB="BFormSelectOption",VB="BFormSelectOptionGroup",UB="BFormSpinbutton",GB="BFormTag",WB="BFormTags",YB="BFormText",KB="BFormTextarea",qB="BFormTimepicker",XB="BFormValidFeedback",JB="BIcon",Uq="BIconBase",ZB="BImg",QB="BImgLazy",eF="BInputGroup",tF="BInputGroupAddon",rF="BInputGroupAppend",nF="BInputGroupPrepend",iF="BInputGroupText",aF="BJumbotron",bE="BLink",sF="BListGroup",oF="BListGroupItem",uF="BMedia",cF="BMediaAside",lF="BMediaBody",Tn="BModal",Gq="BMsgBox",dF="BNav",fF="BNavbar",hF="BNavbarBrand",pF="BNavbarNav",mF="BNavbarToggle",gF="BNavForm",vF="BNavItem",bF="BNavItemDropdown",Wq="BNavText",yF="BOverlay",yb="BPagination",yS="BPaginationNav",_u="BPopover",_F="BProgress",wF="BProgressBar",SF="BRow",OF="BSidebar",TF="BSkeleton",EF="BSkeletonIcon",xF="BSkeletonImg",PF="BSkeletonTable",CF="BSkeletonWrapper",AF="BSpinner",MF="BTab",Ju="BTable",$F="BTableCell",kF="BTableLite",DF="BTableSimple",IF="BTabs",RF="BTbody",LF="BTfoot",NF="BTh",BF="BThead",FF="BTime",gs="BToast",Bl="BToaster",wu="BTooltip",jF="BTr",Yq="BVCollapse",Kq="BVFormBtnLabelControl",qq="BVFormRatingStar",Xq="BVPopover",Jq="BVPopoverTemplate",Zq="BVPopper",Qq="BVTabButton",eX="BVToastPop",tX="BVTooltip",rX="BVTooltipTemplate",nX="BVTransition",iX="BVTransporter",aX="BVTransporterTarget",sX="activate-tab",HF="blur",oX="cancel",Rn="change",uX="changed",Pi="click",_S="close",ql="context",zF="context-changed",yE="destroyed",wS="disable",Dg="disabled",cX="dismissed",lX="dismiss-count-down",SS="enable",Ig="enabled",OS="filtered",VF="first",dX="focus",zv="focusin",Vv="focusout",hh="head-clicked",Xt="hidden",$n="hide",fX="img-error",UF="input",GF="last",WF="mouseenter",YF="mouseleave",KF="next",hX="ok",WA="open",qF="page-click",pX="paused",XF="prev",mX="refresh",Vf="refreshed",gX="remove",Uv="row-clicked",vX="row-contextmenu",bX="row-dblclicked",yX="row-hovered",_X="row-middle-clicked",wX="row-selected",SX="row-unhovered",JF="selected",Nr="show",fn="shown",J_="sliding-end",OX="sliding-start",TX="sort-changed",EX="tag-state",ZF="toggle",xX="unpaused",PX="update",QF="hook:beforeDestroy",Vh="hook:destroyed",Vo="update:",e4="bv",t4="::",Cn={passive:!0},Ve={passive:!0,capture:!1},Xl=void 0,hn=Array,B=Boolean,CX=Date,mn=Function,Xr=Number,pr=Object,AX=RegExp,I=String,r4=[hn,mn],MX=[hn,pr],we=[hn,pr,I],Qr=[hn,I],$X=[B,Xr],Uh=[B,Xr,I],en=[B,I],Iu=[CX,I],kX=[mn,I],le=[Xr,I],DX=[Xr,pr,I],IX=[pr,mn],n4=[pr,I],RX="add-button-text",YA="append",LX="aside",KA="badge",qA="bottom-row",Es="button-content",XA="custom-foot",NX="decrement",br="default",BX="description",FX="dismiss",jX="drop-placeholder",HX="ellipsis-text",i4="empty",zX="emptyfiltered",JA="file-name",_E="first",VX="first-text",TS="footer",Do="header",UX="header-close",GX="icon-clear",WX="icon-empty",YX="icon-full",KX="icon-half",qX="img",XX="increment",JX="invalid-feedback",a4="label",ZX="last-text",ZA="lead",QX="loading",eJ="modal-backdrop",QA="modal-cancel",tJ="modal-footer",rJ="modal-header",nJ="modal-header-close",eM="modal-ok",Z_="modal-title",iJ="nav-next-decade",aJ="nav-next-month",sJ="nav-next-year",oJ="nav-prev-decade",uJ="nav-prev-month",cJ="nav-prev-year",lJ="nav-this-month",dJ="next-text",fJ="overlay",hJ="page",pJ="placeholder",tM="prepend",mJ="prev-text",cf="row-details",Uf="table-busy",rM="table-caption",nM="table-colgroup",gJ="tabs-end",vJ="tabs-start",bJ="text",yJ="thead-top",Sp="title",_J="toast-title",iM="top-row",wJ="valid-feedback",Zu=function(){return Array.from.apply(Array,arguments)},Ee=function(e,r){return e.indexOf(r)!==-1},Ke=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Array.prototype.concat.apply([],r)},ph=function(e,r){var n=be(r)?r:function(){return r};return Array.apply(null,{length:e}).map(n)},SJ=function(e){return e.reduce(function(r,n){return Ke(r,n)},[])},lf=function t(e){return e.reduce(function(r,n){return Ke(r,Array.isArray(n)?t(n):n)},[])},oe=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseInt(e,10);return isNaN(n)?r:n},Ne=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseFloat(e);return isNaN(n)?r:n},Q_=function(e,r){return Ne(e).toFixed(oe(r,0))},wE=function(e){return e.replace(JK,"-$1").toLowerCase()},s4=function(e){return e=wE(e).replace(sq,function(r,n){return n?n.toUpperCase():""}),e.charAt(0).toUpperCase()+e.slice(1)},Rg=function(e){return e.replace(aq," ").replace(ZK,function(r,n,i){return n+" "+i}).replace(nq,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)},o4=function(e){return e=Ge(e)?e.trim():String(e),e.charAt(0).toUpperCase()+e.slice(1)},SE=function(e){return e.replace(tq,"\\$&")},_e=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return it(e)?"":rt(e)||Zr(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,r):String(e)},TJ=function(e){return _e(e).replace(iq,"")},_o=function(e){return _e(e).trim()},Gv=function(e){return _e(e).toLowerCase()},Lg=pE.prototype,EJ=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(t){return"".concat(t,":not(:disabled):not([disabled])")}).join(", "),xJ=Lg.matches||Lg.msMatchesSelector||Lg.webkitMatchesSelector,PJ=Lg.closest||function(t){var e=this;do{if(Ss(e,t))return e;e=e.parentElement||e.parentNode}while(!St(e)&&e.nodeType===Node.ELEMENT_NODE);return null},at=(Yt.requestAnimationFrame||Yt.webkitRequestAnimationFrame||Yt.mozRequestAnimationFrame||Yt.msRequestAnimationFrame||Yt.oRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(Yt),CJ=Yt.MutationObserver||Yt.WebKitMutationObserver||Yt.MozMutationObserver||null,AJ=function(e){return e&&e.parentNode&&e.parentNode.removeChild(e)},yt=function(e){return!!(e&&e.nodeType===Node.ELEMENT_NODE)},Io=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=Pd.activeElement;return r&&!e.some(function(n){return n===r})?r:null},za=function(e,r){return _e(e).toLowerCase()===_e(r).toLowerCase()},OE=function(e){return yt(e)&&e===Io()},Vi=function(e){if(!yt(e)||!e.parentNode||!lr(Pd.body,e)||Sl(e,"display")==="none")return!1;var r=Qu(e);return!!(r&&r.height>0&&r.width>0)},Ou=function(e){return!yt(e)||e.disabled||Ia(e,"disabled")||Gh(e,"disabled")},TE=function(e){return yt(e)&&e.offsetHeight},si=function(e,r){return Zu((yt(r)?r:Pd).querySelectorAll(e))},ni=function(e,r){return(yt(r)?r:Pd).querySelector(e)||null},Ss=function(e,r){return yt(e)?xJ.call(e,r):!1},kn=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!yt(r))return null;var i=PJ.call(r,e);return n?i:i===r?null:i},lr=function(e,r){return e&&be(e.contains)?e.contains(r):!1},ES=function(e){return Pd.getElementById(/^#/.test(e)?e.slice(1):e)||null},cn=function(e,r){r&&yt(e)&&e.classList&&e.classList.add(r)},Yr=function(e,r){r&&yt(e)&&e.classList&&e.classList.remove(r)},Gh=function(e,r){return r&&yt(e)&&e.classList?e.classList.contains(r):!1},Mt=function(e,r,n){r&&yt(e)&&e.setAttribute(r,n)},Da=function(e,r){r&&yt(e)&&e.removeAttribute(r)},ii=function(e,r){return r&&yt(e)?e.getAttribute(r):null},Ia=function(e,r){return r&&yt(e)?e.hasAttribute(r):null},zr=function(e,r,n){r&&yt(e)&&(e.style[r]=n)},_b=function(e,r){r&&yt(e)&&(e.style[r]="")},Sl=function(e,r){return r&&yt(e)&&e.style[r]||null},Qu=function(e){return yt(e)?e.getBoundingClientRect():null},ei=function(e){var r=Yt.getComputedStyle;return r&&yt(e)?r(e):{}},MJ=function(){var e=Yt.getSelection;return e?Yt.getSelection():null},xS=function(e){var r={top:0,left:0};if(!yt(e)||e.getClientRects().length===0)return r;var n=Qu(e);if(n){var i=e.ownerDocument.defaultView;r.top=n.top+i.pageYOffset,r.left=n.left+i.pageXOffset}return r},$J=function(e){var r={top:0,left:0};if(!yt(e))return r;var n={top:0,left:0},i=ei(e);if(i.position==="fixed")r=Qu(e)||r;else{r=xS(e);for(var a=e.ownerDocument,s=e.offsetParent||a.documentElement;s&&(s===a.body||s===a.documentElement)&&ei(s).position==="static";)s=s.parentNode;if(s&&s!==e&&s.nodeType===Node.ELEMENT_NODE){n=xS(s);var o=ei(s);n.top+=Ne(o.borderTopWidth,0),n.left+=Ne(o.borderLeftWidth,0)}}return{top:r.top-n.top-Ne(i.marginTop,0),left:r.left-n.left-Ne(i.marginLeft,0)}},PS=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return si(EJ,e).filter(Vi).filter(function(r){return r.tabIndex>-1&&!r.disabled})},Ie=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{e.focus(r)}catch{}return OE(e)},Bn=function(e){try{e.blur()}catch{}return!OE(e)},Op=function(e){var r=lo(null);return function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var s=JSON.stringify(i);return r[s]=r[s]||e.apply(null,i)}},kJ=V.prototype,CS=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=kJ[dl];return n?n.getConfigValue(e,r):Oi(r)},ti=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?CS("".concat(e,".").concat(r),n):CS(e,{})},u4=function(){return CS("breakpoints",UK)},DJ=Op(function(){return u4()}),IJ=function(){return Oi(DJ())},Wh=Op(function(){var t=IJ();return t[0]="",t});function aM(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 Ru(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?aM(Object(r),!0).forEach(function(n){c4(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function c4(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wb=function(e,r){return e+o4(r)},l4=function(e,r){return OJ(r.replace(e,""))},wo=function(e,r){return r+(e?o4(e):"")},y=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xl,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,Ru(Ru(Ru({},e?{type:e}:{}),a?{required:a}:Jt(r)?{}:{default:qt(r)?function(){return r}:r}),Jt(i)?{}:{validator:i})},Sb=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Te;if(rt(e))return e.map(r);var n={};for(var i in e)qu(e,i)&&(n[r(i)]=qt(e[i])?zo(e[i]):e[i]);return n},Et=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Te;return(rt(e)?e.slice():Pe(e)).reduce(function(i,a){return i[n(a)]=r[a],i},{})},d4=function(e,r,n){return Ru(Ru({},Oi(e)),{},{default:function(){var a=ti(n,r,e.default);return be(a)?a():a}})},ee=function(e,r){return Pe(e).reduce(function(n,i){return Ru(Ru({},n),{},c4({},i,d4(e[i],i,r)))},{})},RJ=d4({},"","").default.name,Fa=function(e){return be(e)&&e.name&&e.name!==RJ};function LJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var mr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.type,i=n===void 0?Xl:n,a=r.defaultValue,s=a===void 0?void 0:a,o=r.validator,u=o===void 0?void 0:o,c=r.event,l=c===void 0?UF:c,d=LJ({},e,y(i,s,u)),f=V.extend({model:{prop:e,event:l},props:d});return{mixin:f,props:d,prop:e,event:l}},xs=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e=Ke(e).filter(Te),e.some(function(i){return r[i]||n[i]})},Br=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=Ke(e).filter(Te);for(var a,s=0;s<e.length&&!a;s++){var o=e[s];a=n[o]||i[o]}return be(a)?a(r):a},Ce=V.extend({methods:{hasNormalizedSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:br,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 xs(e,r,n)},normalizeSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:br,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=Br(e,r,n,i);return a&&Ke(a)}}}),f4=function(e){return zK?qt(e)?e:{capture:!!e||!1}:!!(qt(e)?e.capture:e)},Ot=function(e,r,n,i){e&&e.addEventListener&&e.addEventListener(r,n,f4(i))},kt=function(e,r,n,i){e&&e.removeEventListener&&e.removeEventListener(r,n,f4(i))},Ui=function(e){for(var r=e?Ot:kt,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];r.apply(void 0,i)},ke=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventDefault,i=n===void 0?!0:n,a=r.propagation,s=a===void 0?!0:a,o=r.immediatePropagation,u=o===void 0?!1:o;i&&e.preventDefault(),s&&e.stopPropagation(),u&&e.stopImmediatePropagation()},h4=function(e){return wE(e.replace(WK,""))},Ht=function(e,r){return[e4,h4(e),r].join(t4)},dr=function(e,r){return[e4,r,h4(e)].join(t4)};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 BJ=ee({ariaLabel:y(I,"Close"),content:y(I,"&times;"),disabled:y(B,!1),textVariant:y(I)},iB),ec=V.extend({name:iB,functional:!0,props:BJ,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=a(),u=s||{},c={staticClass:"close",class:NJ({},"text-".concat(n.textVariant),n.textVariant),attrs:{type:"button",disabled:n.disabled,"aria-label":n.ariaLabel?String(n.ariaLabel):null},on:{click:function(d){n.disabled&&Yu(d)&&ke(d)}}};return xs(br,u,o)||(c.domProps={innerHTML:n.content}),e("button",ve(i,c),Br(br,{},u,o))}});function sM(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 Ol(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sM(Object(r),!0).forEach(function(n){FJ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function FJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var p4={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},jJ=Ol(Ol({},p4),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),HJ={appear:y(B,!1),mode:y(I),noFade:y(B,!1),transProps:y(pr)},fc=V.extend({name:nX,functional:!0,props:HJ,render:function(e,r){var n=r.children,i=r.data,a=r.props,s=a.transProps;return Zr(s)||(s=a.noFade?p4:jJ,a.appear&&(s=Ol(Ol({},s),{},{appear:!0,appearClass:s.enterClass,appearActiveClass:s.enterActiveClass,appearToClass:s.enterToClass}))),s=Ol(Ol({mode:a.mode},s),{},{css:!0}),e("transition",ve(i,{props:s}),n)}}),df;function oM(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 uM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?oM(Object(r),!0).forEach(function(n){Gf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Gf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ob=mr("show",{type:Uh,defaultValue:!1}),zJ=Ob.mixin,VJ=Ob.props,ff=Ob.prop,cM=Ob.event,lM=function(e){return e===""||Si(e)?0:(e=oe(e,0),e>0?e:0)},ew=function(e){return e===""||e===!0?!0:oe(e,0)<1?!1:!!e},UJ=ee(fe(uM(uM({},VJ),{},{dismissLabel:y(I,"Close"),dismissible:y(B,!1),fade:y(B,!1),variant:y(I,"info")})),qN),GJ=V.extend({name:qN,mixins:[zJ,Ce],props:UJ,data:function(){return{countDown:0,localShow:ew(this[ff])}},watch:(df={},Gf(df,ff,function(t){this.countDown=lM(t),this.localShow=ew(t)}),Gf(df,"countDown",function(e){var r=this;this.clearCountDownInterval();var n=this[ff];fh(n)&&(this.$emit(lX,e),n!==e&&this.$emit(cM,e),e>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout(function(){r.countDown--},1e3)):this.$nextTick(function(){at(function(){r.localShow=!1})}))}),Gf(df,"localShow",function(e){var r=this[ff];!e&&(this.dismissible||fh(r))&&this.$emit(cX),!fh(r)&&r!==e&&this.$emit(cM,e)}),df),created:function(){this.$_filterTimer=null;var e=this[ff];this.countDown=lM(e),this.localShow=ew(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(ec,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot(FX)])),r=e("div",{staticClass:"alert",class:Gf({"alert-dismissible":n},"alert-".concat(i),i),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this[ws]},[a,this.normalizeSlot()])}return e(fc,{props:{noFade:!this.fade}},[r])}}),WJ=pe({components:{BAlert:GJ}}),vs=Math.min,Ze=Math.max,m4=Math.abs,g4=Math.ceil,Yh=Math.floor,v4=Math.pow,AS=Math.round;function YJ(t,e){return JJ(t)||XJ(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 dM(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 dM(t,e)}}function dM(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function XJ(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,s,o;try{for(r=r.call(t);!(i=(s=r.next()).done)&&(n.push(s.value),!(e&&n.length===e));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw o}}return n}}function JJ(t){if(Array.isArray(t))return t}var tw="b-aspect",ZJ=ee({aspect:y(le,"1:1"),tag:y(I,"div")},XN),b4=V.extend({name:XN,mixins:[Ce],props:ZJ,computed:{padding:function(){var e=this.aspect,r=1;if(hq.test(e)){var n=e.split(pq).map(function(o){return Ne(o)||1}),i=YJ(n,2),a=i[0],s=i[1];r=a/s}else r=Ne(e)||1;return"".concat(100/m4(r),"%")}},render:function(e){var r=e("div",{staticClass:"".concat(tw,"-sizer flex-grow-1"),style:{paddingBottom:this.padding,height:0}}),n=e("div",{staticClass:"".concat(tw,"-content flex-grow-1 w-100 mw-100"),style:{marginLeft:"-100%"}},this.normalizeSlot());return e(this.tag,{staticClass:"".concat(tw," d-flex")},[r,n])}}),QJ=pe({components:{BAspect:b4}}),y4="a",eZ=function(e){return"%"+e.charCodeAt(0).toString(16)},Fc=function(e){return encodeURIComponent(_e(e)).replace(dq,eZ).replace(lq,",")},fM=decodeURIComponent,tZ=function(e){if(!Zr(e))return"";var r=Pe(e).map(function(n){var i=e[n];return Jt(i)?"":St(i)?Fc(n):rt(i)?i.reduce(function(a,s){return St(s)?a.push(Fc(n)):Jt(s)||a.push(Fc(n)+"="+Fc(s)),a},[]).join("&"):Fc(n)+"="+Fc(i)}).filter(function(n){return n.length>0}).join("&");return r?"?".concat(r):""},hM=function(e){var r={};return e=_e(e).trim().replace(fq,""),e&&e.split("&").forEach(function(n){var i=n.replace(eq," ").split("="),a=fM(i.shift()),s=i.length>0?fM(i.join("=")):null;Jt(r[a])?r[a]=s:rt(r[a])?r[a].push(s):r[a]=[r[a],s]}),r},Tp=function(e){return!!(e.href||e.to)},_4=function(e){return!!(e&&!za(e,"a"))},rZ=function(e,r){var n=e.to,i=e.disabled,a=e.routerComponentName,s=!!r.$router;return!s||s&&(i||!n)?y4:a||(r.$nuxt?"nuxt-link":"router-link")},nZ=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.target,n=e.rel;return r==="_blank"&&St(n)?"noopener":n||null},w4=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]:y4,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#",s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"/";if(r)return r;if(_4(i))return null;if(Ge(n))return n||s;if(Zr(n)&&(n.path||n.query||n.hash)){var o=_e(n.path),u=tZ(n.query),c=_e(n.hash);return c=!c||c.charAt(0)==="#"?c:"#".concat(c),"".concat(o).concat(u).concat(c)||s}return a};function pM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var iZ={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},aZ={width:null,height:null,focusable:null,role:null,"aria-label":null},EE={animation:y(I),content:y(I),flipH:y(B,!1),flipV:y(B,!1),fontScale:y(le,1),rotate:y(le,0),scale:y(le,1),shiftH:y(le,0),shiftV:y(le,0),stacked:y(B,!1),title:y(I),variant:y(I)},sZ=V.extend({name:Uq,functional:!0,props:EE,render:function(e,r){var n,i=r.data,a=r.props,s=r.children,o=a.animation,u=a.content,c=a.flipH,l=a.flipV,d=a.stacked,f=a.title,p=a.variant,m=Ze(Ne(a.fontScale,1),0)||1,b=Ze(Ne(a.scale,1),0)||1,_=Ne(a.rotate,0),S=Ne(a.shiftH,0),x=Ne(a.shiftV,0),O=c||l||b!==1,h=O||_,v=S||x,g=!it(u),T=[h?"translate(8 8)":null,O?"scale(".concat((c?-1:1)*b," ").concat((l?-1:1)*b,")"):null,_?"rotate(".concat(_,")"):null,h?"translate(-8 -8)":null].filter(Te),P=e("g",{attrs:{transform:T.join(" ")||null},domProps:g?{innerHTML:u||""}:{}},s);v&&(P=e("g",{attrs:{transform:"translate(".concat(16*S/16," ").concat(-16*x/16,")")}},[P])),d&&(P=e("g",[P]));var k=f?e("title",f):null,w=[k,P].filter(Te);return e("svg",ve({staticClass:"b-icon bi",class:(n={},pM(n,"text-".concat(p),p),pM(n,"b-icon-animation-".concat(o),o),n),attrs:iZ,style:d?{}:{fontSize:m===1?null:"".concat(m*100,"%")}},i,d?{attrs:aZ}:{},{attrs:{xmlns:d?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),w)}});function mM(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 gM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?mM(Object(r),!0).forEach(function(n){oZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function oZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var uZ=Re(EE,["content"]),gr=function(e,r){var n=wE(e),i="BIcon".concat(s4(e)),a="bi-".concat(n),s=n.replace(/-/g," "),o=_o(r||"");return V.extend({name:i,functional:!0,props:uZ,render:function(c,l){var d=l.data,f=l.props;return c(sZ,ve({props:{title:s},attrs:{"aria-label":s}},d,{staticClass:a,props:gM(gM({},f),{},{content:o})}))}})},vM=gr("Blank",""),cZ=gr("Calendar",'<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>'),lZ=gr("CalendarFill",'<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5h16V4H0V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5z"/>'),PNe=gr("Check",'<path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"/>'),bM=gr("ChevronBarLeft",'<path fill-rule="evenodd" d="M11.854 3.646a.5.5 0 0 1 0 .708L8.207 8l3.647 3.646a.5.5 0 0 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 0 1 .708 0zM4.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5z"/>'),yM=gr("ChevronDoubleLeft",'<path fill-rule="evenodd" d="M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/><path fill-rule="evenodd" d="M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>'),dZ=gr("ChevronDown",'<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>'),_M=gr("ChevronLeft",'<path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>'),wM=gr("ChevronUp",'<path fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/>'),MS=gr("CircleFill",'<circle cx="8" cy="8" r="8"/>'),fZ=gr("Clock",'<path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/><path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z"/>'),hZ=gr("ClockFill",'<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/>'),pZ=gr("Dash",'<path d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z"/>'),mZ=gr("PersonFill",'<path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>'),gZ=gr("Plus",'<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/>'),CNe=gr("Slash",'<path d="M11.354 4.646a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708l6-6a.5.5 0 0 1 .708 0z"/>'),ANe=gr("SlashCircle",'<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="M11.354 4.646a.5.5 0 0 0-.708 0l-6 6a.5.5 0 0 0 .708.708l6-6a.5.5 0 0 0 0-.708z"/>'),vZ=gr("Star",'<path d="M2.866 14.85c-.078.444.36.791.746.593l4.39-2.256 4.389 2.256c.386.198.824-.149.746-.592l-.83-4.73 3.522-3.356c.33-.314.16-.888-.282-.95l-4.898-.696L8.465.792a.513.513 0 0 0-.927 0L5.354 5.12l-4.898.696c-.441.062-.612.636-.283.95l3.523 3.356-.83 4.73zm4.905-2.767-3.686 1.894.694-3.957a.565.565 0 0 0-.163-.505L1.71 6.745l4.052-.576a.525.525 0 0 0 .393-.288L8 2.223l1.847 3.658a.525.525 0 0 0 .393.288l4.052.575-2.906 2.77a.565.565 0 0 0-.163.506l.694 3.957-3.686-1.894a.503.503 0 0 0-.461 0z"/>'),bZ=gr("StarFill",'<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>'),yZ=gr("StarHalf",'<path d="M5.354 5.119 7.538.792A.516.516 0 0 1 8 .5c.183 0 .366.097.465.292l2.184 4.327 4.898.696A.537.537 0 0 1 16 6.32a.548.548 0 0 1-.17.445l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256a.52.52 0 0 1-.146.05c-.342.06-.668-.254-.6-.642l.83-4.73L.173 6.765a.55.55 0 0 1-.172-.403.58.58 0 0 1 .085-.302.513.513 0 0 1 .37-.245l4.898-.696zM8 12.027a.5.5 0 0 1 .232.056l3.686 1.894-.694-3.957a.565.565 0 0 1 .162-.505l2.907-2.77-4.052-.576a.525.525 0 0 1-.393-.288L8.001 2.223 8 2.226v9.8z"/>'),S4=gr("X",'<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>');function SM(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 OM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?SM(Object(r),!0).forEach(function(n){_Z(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):SM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _Z(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wZ=function t(e,r){if(!e)return V.component(r);var n=(e.$options||{}).components,i=n&&n[r];return i||t(e.$parent,r)},O4=Re(EE,["content"]),SZ=ee(fe(OM(OM({},O4),{},{icon:y(I)})),JB),Wv=V.extend({name:JB,functional:!0,props:SZ,render:function(e,r){var n=r.data,i=r.props,a=r.parent,s=s4(_o(i.icon||"")).replace(gq,"");return e(s&&wZ(a,"BIcon".concat(s))||vM,ve(n,{props:Et(O4,i)}))}}),OZ=8,T4=46,pn=40,Ro=35,ks=13,xE=27,Lo=36,Gi=37,Yv=34,Kv=33,Ps=39,Va=32,Dn=38,TZ=function(e,r){if(e.length!==r.length)return!1;for(var n=!0,i=0;n&&i<e.length;i++)n=Je(e[i],r[i]);return n},Je=function t(e,r){if(e===r)return!0;var n=Kl(e),i=Kl(r);if(n||i)return n&&i?e.getTime()===r.getTime():!1;if(n=rt(e),i=rt(r),n||i)return n&&i?TZ(e,r):!1;if(n=qt(e),i=qt(r),n||i){if(!n||!i)return!1;var a=Pe(e).length,s=Pe(r).length;if(a!==s)return!1;for(var o in e){var u=qu(e,o),c=qu(r,o);if(u&&!c||!u&&c||!t(e[o],r[o]))return!1}}return String(e)===String(r)};function TM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var EM=function(e){return!e||Pe(e).length===0},EZ=function(e){return{handler:function(n,i){if(!Je(n,i)){if(EM(n)||EM(i)){this[e]=Oi(n);return}for(var a in i)qu(n,a)||this.$delete(this.$data[e],a);for(var s in n)this.$set(this.$data[e],s,n[s])}}}},E4=function(e,r){return V.extend({data:function(){return TM({},r,Oi(this[e]))},watch:TM({},e,EZ(r))})},Er=E4("$attrs","bvAttrs"),Hn="$_rootListeners",Xi=V.extend({created:function(){this[Hn]={}},beforeDestroy:function(){var e=this;Pe(this[Hn]||{}).forEach(function(r){e[Hn][r].forEach(function(n){e.listenOffRoot(r,n)})}),this[Hn]=null},methods:{registerRootListener:function(e,r){this[Hn]&&(this[Hn][e]=this[Hn][e]||[],Ee(this[Hn][e],r)||this[Hn][e].push(r))},unregisterRootListener:function(e,r){this[Hn]&&this[Hn][e]&&(this[Hn][e]=this[Hn][e].filter(function(n){return n!==r}))},listenOnRoot:function(e,r){this.$root&&(this.$root.$on(e,r),this.registerRootListener(e,r))},listenOnRootOnce:function(e,r){var n=this;if(this.$root){var i=function a(){n.unregisterRootListener(a),r.apply(void 0,arguments)};this.$root.$once(e,i),this.registerRootListener(e,i)}},listenOffRoot:function(e,r){this.unregisterRootListener(e,r),this.$root&&this.$root.$off(e,r)},emitOnRoot:function(e){if(this.$root){for(var r,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];(r=this.$root).$emit.apply(r,[e].concat(i))}}}}),Ds=E4("$listeners","bvListeners");function xZ(t){return MZ(t)||AZ(t)||CZ(t)||PZ()}function PZ(){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 CZ(t,e){if(t){if(typeof t=="string")return $S(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 $S(t,e)}}function AZ(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function MZ(t){if(Array.isArray(t))return $S(t)}function $S(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xM(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 sn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?xM(Object(r),!0).forEach(function(n){x4(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function x4(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $Z=Ht(bE,"clicked"),P4={activeClass:y(I),append:y(B,!1),event:y(Qr),exact:y(B,!1),exactActiveClass:y(I),exactPath:y(B,!1),exactPathActiveClass:y(I),replace:y(B,!1),routerTag:y(I),to:y(n4)},C4={noPrefetch:y(B,!1),prefetch:y(B,null)},Ji=ee(fe(sn(sn(sn({},C4),P4),{},{active:y(B,!1),disabled:y(B,!1),href:y(I),rel:y(I,null),routerComponentName:y(I),target:y(I,"_self")})),bE),Ln=V.extend({name:bE,mixins:[Er,Ds,Xi,Ce],inheritAttrs:!1,props:Ji,computed:{computedTag:function(){var e=this.to,r=this.disabled,n=this.routerComponentName;return rZ({to:e,disabled:r,routerComponentName:n},this)},isRouterLink:function(){return _4(this.computedTag)},computedRel:function(){var e=this.target,r=this.rel;return nZ({target:e,rel:r})},computedHref:function(){var e=this.to,r=this.href;return w4({to:e,href:r},this.computedTag)},computedProps:function(){var e=this.event,r=this.prefetch,n=this.routerTag;return this.isRouterLink?sn(sn(sn(sn({},Et(Re(sn(sn({},P4),C4),["event","prefetch","routerTag"]),this)),e?{event:e}:{}),Si(r)?{prefetch:r}:{}),n?{tag:n}:{}):{}},computedAttrs:function(){var e=this.bvAttrs,r=this.computedHref,n=this.computedRel,i=this.disabled,a=this.target,s=this.routerTag,o=this.isRouterLink;return sn(sn(sn(sn({},e),r?{href:r}:{}),o&&s&&!za(s,"a")?{}:{rel:n,target:a}),{},{tabindex:i?"-1":Jt(e.tabindex)?null:e.tabindex,"aria-disabled":i?"true":null})},computedListeners:function(){return sn(sn({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(e){var r=arguments,n=Yu(e),i=this.isRouterLink,a=this.bvListeners.click;n&&this.disabled?ke(e,{immediatePropagation:!0}):(i&&e.currentTarget.__vue__&&e.currentTarget.__vue__.$emit(Pi,e),Ke(a).filter(function(s){return be(s)}).forEach(function(s){s.apply(void 0,xZ(r))}),this.emitOnRoot($Z,e),this.emitOnRoot("clicked::link",e)),n&&!i&&this.computedHref==="#"&&ke(e,{propagation:!1})},focus:function(){Ie(this.$el)},blur:function(){Bn(this.$el)}},render:function(e){var r=this.active,n=this.disabled;return e(this.computedTag,x4({class:{active:r,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function PM(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 CM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?PM(Object(r),!0).forEach(function(n){pu(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function pu(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Tb=Re(Ji,["event","routerTag"]);delete Tb.href.default;delete Tb.to.default;var A4=ee(fe(CM(CM({},Tb),{},{block:y(B,!1),disabled:y(B,!1),pill:y(B,!1),pressed:y(B,null),size:y(I),squared:y(B,!1),tag:y(I,"button"),type:y(I,"button"),variant:y(I,"secondary")})),nB),AM=function(e){e.type==="focusin"?cn(e.target,"focus"):e.type==="focusout"&&Yr(e.target,"focus")},Ep=function(e){return Tp(e)||za(e.tag,"a")},M4=function(e){return Si(e.pressed)},$4=function(e){return!(Ep(e)||e.tag&&!za(e.tag,"button"))},k4=function(e){return!Ep(e)&&!$4(e)},kZ=function(e){var r;return["btn-".concat(e.variant||"secondary"),(r={},pu(r,"btn-".concat(e.size),e.size),pu(r,"btn-block",e.block),pu(r,"rounded-pill",e.pill),pu(r,"rounded-0",e.squared&&!e.pill),pu(r,"disabled",e.disabled),pu(r,"active",e.pressed),r)]},DZ=function(e){return Ep(e)?Et(Tb,e):{}},IZ=function(e,r){var n=$4(e),i=Ep(e),a=M4(e),s=k4(e),o=i&&e.href==="#",u=r.attrs&&r.attrs.role?r.attrs.role:null,c=r.attrs?r.attrs.tabindex:null;return(s||o)&&(c="0"),{type:n&&!i?e.type:null,disabled:n?e.disabled:null,role:s||o?"button":u,"aria-disabled":s?String(e.disabled):null,"aria-pressed":a?String(e.pressed):null,autocomplete:a?"off":null,tabindex:e.disabled&&!n?"-1":c}},In=V.extend({name:nB,functional:!0,props:A4,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children,o=M4(n),u=Ep(n),c=k4(n),l=u&&n.href==="#",d={keydown:function(m){if(!(n.disabled||!(c||l))){var b=m.keyCode;if(b===Va||b===ks&&c){var _=m.currentTarget||m.target;ke(m,{propagation:!1}),_.click()}}},click:function(m){n.disabled&&Yu(m)?ke(m):o&&a&&a["update:pressed"]&&Ke(a["update:pressed"]).forEach(function(b){be(b)&&b(!n.pressed)})}};o&&(d.focusin=AM,d.focusout=AM);var f={staticClass:"btn",class:kZ(n),props:DZ(n),attrs:IZ(n,i),on:d};return e(u?Ln:n.tag,ve(i,f),s)}});function MM(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 qv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MM(Object(r),!0).forEach(function(n){mu(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function mu(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $M="b-avatar",rw=["sm",null,"lg"],D4=.4,RZ=D4*.7,I4=function(e){return e=Ge(e)&&fh(e)?Ne(e,0):e,ji(e)?"".concat(e,"px"):e||null},R4=Re(Ji,["active","event","routerTag"]),LZ=ee(fe(qv(qv({},R4),{},{alt:y(I,"avatar"),ariaLabel:y(I),badge:y(en,!1),badgeLeft:y(B,!1),badgeOffset:y(I),badgeTop:y(B,!1),badgeVariant:y(I,"primary"),button:y(B,!1),buttonType:y(I,"button"),icon:y(I),rounded:y(en,!1),size:y(le),square:y(B,!1),src:y(I),text:y(I),variant:y(I,"secondary")})),JN),NZ=V.extend({name:JN,mixins:[Ce],inject:{bvAvatarGroup:{default:null}},props:LZ,data:function(){return{localSrc:this.src||null}},computed:{computedSize:function(){var e=this.bvAvatarGroup;return I4(e?e.size:this.size)},computedVariant:function(){var e=this.bvAvatarGroup;return e&&e.variant?e.variant:this.variant},computedRounded:function(){var e=this.bvAvatarGroup,r=e&&e.square?!0:this.square,n=e&&e.rounded?e.rounded:this.rounded;return r?"0":n===""?!0:n||"circle"},fontStyle:function(){var e=this.computedSize,r=rw.indexOf(e)===-1?"calc(".concat(e," * ").concat(D4,")"):null;return r?{fontSize:r}:{}},marginStyle:function(){var e=this.computedSize,r=this.bvAvatarGroup,n=r?r.overlapScale:0,i=e&&n?"calc(".concat(e," * -").concat(n,")"):null;return i?{marginLeft:i,marginRight:i}:{}},badgeStyle:function(){var e=this.computedSize,r=this.badgeTop,n=this.badgeLeft,i=this.badgeOffset,a=i||"0px";return{fontSize:rw.indexOf(e)===-1?"calc(".concat(e," * ").concat(RZ," )"):null,top:r?a:null,bottom:r?null:a,left:n?a:null,right:n?null:a}}},watch:{src:function(e,r){e!==r&&(this.localSrc=e||null)}},methods:{onImgError:function(e){this.localSrc=null,this.$emit(fX,e)},onClick:function(e){this.$emit(Pi,e)}},render:function(e){var r,n=this.computedVariant,i=this.disabled,a=this.computedRounded,s=this.icon,o=this.localSrc,u=this.text,c=this.fontStyle,l=this.marginStyle,d=this.computedSize,f=this.button,p=this.buttonType,m=this.badge,b=this.badgeVariant,_=this.badgeStyle,S=!f&&Tp(this),x=f?In:S?Ln:"span",O=this.alt,h=this.ariaLabel||null,v=null;this.hasNormalizedSlot()?v=e("span",{staticClass:"b-avatar-custom"},[this.normalizeSlot()]):o?(v=e("img",{style:n?{}:{width:"100%",height:"100%"},attrs:{src:o,alt:O},on:{error:this.onImgError}}),v=e("span",{staticClass:"b-avatar-img"},[v])):s?v=e(Wv,{props:{icon:s},attrs:{"aria-hidden":"true",alt:O}}):u?v=e("span",{staticClass:"b-avatar-text",style:c},[e("span",u)]):v=e(mZ,{attrs:{"aria-hidden":"true",alt:O}});var g=e(),T=this.hasNormalizedSlot(KA);if(m||m===""||T){var P=m===!0?"":m;g=e("span",{staticClass:"b-avatar-badge",class:mu({},"badge-".concat(b),b),style:_},[T?this.normalizeSlot(KA):P])}var k={staticClass:$M,class:(r={},mu(r,"".concat($M,"-").concat(d),d&&rw.indexOf(d)!==-1),mu(r,"badge-".concat(n),!f&&n),mu(r,"rounded",a===!0),mu(r,"rounded-".concat(a),a&&a!==!0),mu(r,"disabled",i),r),style:qv(qv({},l),{},{width:d,height:d}),attrs:{"aria-label":h||null},props:f?{variant:n,disabled:i,type:p}:S?Et(R4,this):{},on:f||S?{click:this.onClick}:{}};return e(x,k,[v,g])}}),BZ=ee({overlap:y(le,.3),rounded:y(en,!1),size:y(I),square:y(B,!1),tag:y(I,"div"),variant:y(I)},ZN),FZ=V.extend({name:ZN,mixins:[Ce],provide:function(){return{bvAvatarGroup:this}},props:BZ,computed:{computedSize:function(){return I4(this.size)},overlapScale:function(){return vs(Ze(Ne(this.overlap,0),0),1)/2},paddingStyle:function(){var e=this.computedSize;return e=e?"calc(".concat(e," * ").concat(this.overlapScale,")"):null,e?{paddingLeft:e,paddingRight:e}:{}}},render:function(e){var r=e("div",{staticClass:"b-avatar-group-inner",style:this.paddingStyle},this.normalizeSlot());return e(this.tag,{staticClass:"b-avatar-group",attrs:{role:"group"}},[r])}}),jZ=pe({components:{BAvatar:NZ,BAvatarGroup:FZ}});function kM(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 DM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?kM(Object(r),!0).forEach(function(n){HZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function HZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Eb=Re(Ji,["event","routerTag"]);delete Eb.href.default;delete Eb.to.default;var zZ=ee(fe(DM(DM({},Eb),{},{pill:y(B,!1),tag:y(I,"span"),variant:y(I,"secondary")})),QN),L4=V.extend({name:QN,functional:!0,props:zZ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.active,o=n.disabled,u=Tp(n),c=u?Ln:n.tag,l=n.variant||"secondary";return e(c,ve(i,{staticClass:"badge",class:["badge-".concat(l),{"badge-pill":n.pill,active:s,disabled:o}],props:u?Et(Eb,n):{}}),a)}}),VZ=pe({components:{BBadge:L4}}),IM=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return String(e).replace(XK,"")},Rt=function(e,r){return e?{innerHTML:e}:r?{textContent:r}:{}};function RM(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 LM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?RM(Object(r),!0).forEach(function(n){UZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):RM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function UZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kS=ee(fe(LM(LM({},Re(Ji,["event","routerTag"])),{},{ariaCurrent:y(I,"location"),html:y(I),text:y(I)})),rB),N4=V.extend({name:rB,functional:!0,props:kS,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.active,o=s?"span":Ln,u={attrs:{"aria-current":s?n.ariaCurrent:null},props:Et(kS,n)};return a||(u.domProps=Rt(n.html,n.text)),e(o,ve(i,u),a)}}),GZ=ee(kS,tB),B4=V.extend({name:tB,functional:!0,props:GZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("li",ve(i,{staticClass:"breadcrumb-item",class:{active:n.active}}),[e(N4,{props:n},a)])}});function NM(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 BM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?NM(Object(r),!0).forEach(function(n){WZ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):NM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function WZ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var YZ=ee({items:y(hn)},eB),KZ=V.extend({name:eB,functional:!0,props:YZ,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.items,o=a;if(rt(s)){var u=!1;o=s.map(function(c,l){qt(c)||(c={text:_e(c)});var d=c,f=d.active;return f&&(u=!0),!f&&!u&&(f=l+1===s.length),e(B4,{props:BM(BM({},c),{},{active:f})})})}return e("ol",ve(i,{staticClass:"breadcrumb"}),o)}}),qZ=pe({components:{BBreadcrumb:KZ,BBreadcrumbItem:B4,BBreadcrumbLink:N4}}),XZ=pe({components:{BButton:In,BBtn:In,BButtonClose:ec,BBtnClose:ec}});function FM(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 jM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?FM(Object(r),!0).forEach(function(n){F4(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):FM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function F4(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var JZ=ee(fe(jM(jM({},qi(A4,["size"])),{},{ariaRole:y(I,"group"),size:y(I),tag:y(I,"div"),vertical:y(B,!1)})),aB),HM=V.extend({name:aB,functional:!0,props:JZ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{class:F4({"btn-group":!n.vertical,"btn-group-vertical":n.vertical},"btn-group-".concat(n.size),n.size),attrs:{role:n.ariaRole}}),a)}}),ZZ=pe({components:{BButtonGroup:HM,BBtnGroup:HM}}),QZ=[".btn:not(.disabled):not([disabled]):not(.dropdown-item)",".form-control:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])",'input[type="checkbox"]:not(.disabled)','input[type="radio"]:not(.disabled)'].join(","),eQ=ee({justify:y(B,!1),keyNav:y(B,!1)},sB),zM=V.extend({name:sB,mixins:[Ce],props:eQ,mounted:function(){this.keyNav&&this.getItems()},methods:{getItems:function(){var e=si(QZ,this.$el);return e.forEach(function(r){r.tabIndex=-1}),e.filter(function(r){return Vi(r)})},focusFirst:function(){var e=this.getItems();Ie(e[0])},focusPrev:function(e){var r=this.getItems(),n=r.indexOf(e.target);n>-1&&(r=r.slice(0,n).reverse(),Ie(r[0]))},focusNext:function(e){var r=this.getItems(),n=r.indexOf(e.target);n>-1&&(r=r.slice(n+1),Ie(r[0]))},focusLast:function(){var e=this.getItems().reverse();Ie(e[0])},onFocusin:function(e){var r=this.$el;e.target===r&&!lr(r,e.relatedTarget)&&(ke(e),this.focusFirst(e))},onKeydown:function(e){var r=e.keyCode,n=e.shiftKey;r===Dn||r===Gi?(ke(e),n?this.focusFirst(e):this.focusPrev(e)):(r===pn||r===Ps)&&(ke(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()])}}),tQ=pe({components:{BButtonToolbar:zM,BBtnToolbar:zM}}),Js="gregory",mh="long",rQ="narrow",DS="short",VM="2-digit",Xv="numeric";function nQ(t,e){return oQ(t)||sQ(t,e)||aQ(t,e)||iQ()}function iQ(){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 aQ(t,e){if(t){if(typeof t=="string")return UM(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 UM(t,e)}}function UM(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function sQ(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,s,o;try{for(r=r.call(t);!(i=(s=r.next()).done)&&(n.push(s.value),!(e&&n.length===e));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw o}}return n}}function oQ(t){if(Array.isArray(t))return t}function Ng(t,e,r){return uQ()?Ng=Reflect.construct:Ng=function(i,a,s){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(i,o),c=new u;return s&&IS(c,s.prototype),c},Ng.apply(null,arguments)}function uQ(){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 IS(t,e){return IS=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},IS(t,e)}var kr=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Ng(Date,r)},ur=function(e){if(Ge(e)&&oq.test(e.trim())){var r=e.split(uq).map(function(o){return oe(o,1)}),n=nQ(r,3),i=n[0],a=n[1],s=n[2];return kr(i,a-1,s)}else if(Kl(e))return kr(e.getFullYear(),e.getMonth(),e.getDate());return null},wt=function(e){if(e=ur(e),!e)return null;var r=e.getFullYear(),n="0".concat(e.getMonth()+1).slice(-2),i="0".concat(e.getDate()).slice(-2);return"".concat(r,"-").concat(n,"-").concat(i)},cQ=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Js;e=Ke(e).filter(Te);var n=new Intl.DateTimeFormat(e,{calendar:r});return n.resolvedOptions().locale},Wf=function(e,r){var n=new Intl.DateTimeFormat(e,r);return n.format},wm=function(e,r){return wt(e)===wt(r)},nw=function(e){return e=kr(e),e.setDate(1),e},iw=function(e){return e=kr(e),e.setMonth(e.getMonth()+1),e.setDate(0),e},xb=function(e,r){e=kr(e);var n=e.getMonth();return e.setFullYear(e.getFullYear()+r),e.getMonth()!==n&&e.setDate(0),e},aw=function(e){e=kr(e);var r=e.getMonth();return e.setMonth(r-1),e.getMonth()===r&&e.setDate(0),e},sw=function(e){e=kr(e);var r=e.getMonth();return e.setMonth(r+1),e.getMonth()===(r+2)%12&&e.setDate(0),e},ow=function(e){return xb(e,-1)},uw=function(e){return xb(e,1)},cw=function(e){return xb(e,-10)},lw=function(e){return xb(e,10)},Jv=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=ur(e),r=ur(r)||e,n=ur(n)||e,e?e<r?r:e>n?n:e:null},GM=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map(function(t){return t.toLowerCase()}),Pb=function(e){var r=_e(e).toLowerCase().replace(vq,"").split("-"),n=r.slice(0,2).join("-"),i=r[0];return Ee(GM,n)||Ee(GM,i)},ct={id:y(I)},ht=V.extend({props:ct,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[ws])})}}),jc;function WM(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 wa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?WM(Object(r),!0).forEach(function(n){vi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vi(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Cb=mr("value",{type:Iu}),lQ=Cb.mixin,dQ=Cb.props,dw=Cb.prop,fQ=Cb.event,j4=ee(fe(wa(wa(wa({},ct),dQ),{},{ariaControls:y(I),block:y(B,!1),dateDisabledFn:y(mn),dateFormatOptions:y(pr,{year:Xv,month:mh,day:Xv,weekday:mh}),dateInfoFn:y(mn),direction:y(I),disabled:y(B,!1),headerTag:y(I,"header"),hidden:y(B,!1),hideHeader:y(B,!1),initialDate:y(Iu),labelCalendar:y(I,"Calendar"),labelCurrentMonth:y(I,"Current month"),labelHelp:y(I,"Use cursor keys to navigate calendar dates"),labelNav:y(I,"Calendar navigation"),labelNextDecade:y(I,"Next decade"),labelNextMonth:y(I,"Next month"),labelNextYear:y(I,"Next year"),labelNoDateSelected:y(I,"No date selected"),labelPrevDecade:y(I,"Previous decade"),labelPrevMonth:y(I,"Previous month"),labelPrevYear:y(I,"Previous year"),labelSelected:y(I,"Selected date"),labelToday:y(I,"Today"),locale:y(Qr),max:y(Iu),min:y(Iu),navButtonVariant:y(I,"secondary"),noHighlightToday:y(B,!1),noKeyNav:y(B,!1),readonly:y(B,!1),roleDescription:y(I),selectedVariant:y(I,"primary"),showDecadeNav:y(B,!1),startWeekday:y(le,0),todayVariant:y(I),valueAsDate:y(B,!1),weekdayHeaderFormat:y(I,DS,function(t){return Ee([mh,DS,rQ],t)}),width:y(I,"270px")})),oB),H4=V.extend({name:oB,mixins:[Er,ht,lQ,Ce],props:j4,data:function(){var e=wt(this[dw])||"";return{selectedYMD:e,activeYMD:e||wt(Jv(this.initialDate||this.getToday()),this.min,this.max),gridHasFocus:!1,isLive:!1}},computed:{valueId:function(){return this.safeId()},widgetId:function(){return this.safeId("_calendar-wrapper_")},navId:function(){return this.safeId("_calendar-nav_")},gridId:function(){return this.safeId("_calendar-grid_")},gridCaptionId:function(){return this.safeId("_calendar-grid-caption_")},gridHelpId:function(){return this.safeId("_calendar-grid-help_")},activeId:function(){return this.activeYMD?this.safeId("_cell-".concat(this.activeYMD,"_")):null},selectedDate:function(){return ur(this.selectedYMD)},activeDate:function(){return ur(this.activeYMD)},computedMin:function(){return ur(this.min)},computedMax:function(){return ur(this.max)},computedWeekStarts:function(){return Ze(oe(this.startWeekday,0),0)%7},computedLocale:function(){return cQ(Ke(this.locale).filter(Te),Js)},computedDateDisabledFn:function(){var e=this.dateDisabledFn;return Fa(e)?e:function(){return!1}},computedDateInfoFn:function(){var e=this.dateInfoFn;return Fa(e)?e:function(){return{}}},calendarLocale:function(){var e=new Intl.DateTimeFormat(this.computedLocale,{calendar:Js}),r=e.resolvedOptions().calendar,n=e.resolvedOptions().locale;return r!==Js&&(n=n.replace(/-u-.+$/i,"").concat("-u-ca-gregory")),n},calendarYear:function(){return this.activeDate.getFullYear()},calendarMonth:function(){return this.activeDate.getMonth()},calendarFirstDay:function(){return kr(this.calendarYear,this.calendarMonth,1,12)},calendarDaysInMonth:function(){var e=kr(this.calendarFirstDay);return e.setMonth(e.getMonth()+1,0),e.getDate()},computedVariant:function(){return"btn-".concat(this.selectedVariant||"primary")},computedTodayVariant:function(){return"btn-outline-".concat(this.todayVariant||this.selectedVariant||"primary")},computedNavButtonVariant:function(){return"btn-outline-".concat(this.navButtonVariant||"primary")},isRTL:function(){var e=_e(this.direction).toLowerCase();return e==="rtl"?!0:e==="ltr"?!1:Pb(this.computedLocale)},context:function(){var e=this.selectedYMD,r=this.activeYMD,n=ur(e),i=ur(r);return{selectedYMD:e,selectedDate:n,selectedFormatted:n?this.formatDateString(n):this.labelNoDateSelected,activeYMD:r,activeDate:i,activeFormatted:i?this.formatDateString(i):"",disabled:this.dateDisabled(i),locale:this.computedLocale,calendarLocale:this.calendarLocale,rtl:this.isRTL}},dateOutOfRange:function(){var e=this.computedMin,r=this.computedMax;return function(n){return n=ur(n),e&&n<e||r&&n>r}},dateDisabled:function(){var e=this,r=this.dateOutOfRange;return function(n){n=ur(n);var i=wt(n);return!!(r(n)||e.computedDateDisabledFn(i,n))}},formatDateString:function(){return Wf(this.calendarLocale,wa(wa({year:Xv,month:VM,day:VM},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:Js}))},formatYearMonth:function(){return Wf(this.calendarLocale,{year:Xv,month:mh,calendar:Js})},formatWeekdayName:function(){return Wf(this.calendarLocale,{weekday:mh,calendar:Js})},formatWeekdayNameShort:function(){return Wf(this.calendarLocale,{weekday:this.weekdayHeaderFormat||DS,calendar:Js})},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&&iw(cw(this.activeDate))<e},prevYearDisabled:function(){var e=this.computedMin;return this.disabled||e&&iw(ow(this.activeDate))<e},prevMonthDisabled:function(){var e=this.computedMin;return this.disabled||e&&iw(aw(this.activeDate))<e},thisMonthDisabled:function(){return this.disabled},nextMonthDisabled:function(){var e=this.computedMax;return this.disabled||e&&nw(sw(this.activeDate))>e},nextYearDisabled:function(){var e=this.computedMax;return this.disabled||e&&nw(uw(this.activeDate))>e},nextDecadeDisabled:function(){var e=this.computedMax;return this.disabled||e&&nw(lw(this.activeDate))>e},calendar:function(){for(var e=[],r=this.calendarFirstDay,n=r.getFullYear(),i=r.getMonth(),a=this.calendarDaysInMonth,s=r.getDay(),o=(this.computedWeekStarts>s?7:0)-this.computedWeekStarts,u=0-o-s,c=0;c<6&&u<a;c++){e[c]=[];for(var l=0;l<7;l++){u++;var d=kr(n,i,u),f=d.getMonth(),p=wt(d),m=this.dateDisabled(d),b=this.computedDateInfoFn(p,ur(p));b=Ge(b)||rt(b)?{class:b}:Zr(b)?wa({class:""},b):{class:""},e[c].push({ymd:p,day:this.formatDay(d),label:this.formatDateString(d),isThisMonth:f===i,isDisabled:m,info:b})}}return e},calendarHeadings:function(){var e=this;return this.calendar[0].map(function(r){return{text:e.formatWeekdayNameShort(ur(r.ymd)),label:e.formatWeekdayName(ur(r.ymd))}})}},watch:(jc={},vi(jc,dw,function(t,e){var r=wt(t)||"",n=wt(e)||"";wm(r,n)||(this.activeYMD=r||this.activeYMD,this.selectedYMD=r)}),vi(jc,"selectedYMD",function(e,r){e!==r&&this.$emit(fQ,this.valueAsDate?ur(e)||null:e||"")}),vi(jc,"context",function(e,r){Je(e,r)||this.$emit(ql,e)}),vi(jc,"hidden",function(e){this.activeYMD=this.selectedYMD||wt(this[dw]||this.constrainDate(this.initialDate||this.getToday())),this.setLive(!e)}),jc),created:function(){var e=this;this.$nextTick(function(){e.$emit(ql,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||Ie(this.$refs.grid)},blur:function(){this.disabled||Bn(this.$refs.grid)},setLive:function(e){var r=this;e?this.$nextTick(function(){at(function(){r.isLive=!0})}):this.isLive=!1},getToday:function(){return ur(kr())},constrainDate:function(e){return Jv(e,this.computedMin,this.computedMax)},emitSelected:function(e){var r=this;this.$nextTick(function(){r.$emit(JF,wt(e)||"",ur(e)||null)})},setGridFocusFlag:function(e){this.gridHasFocus=!this.disabled&&e.type==="focus"},onKeydownWrapper:function(e){if(!this.noKeyNav){var r=e.altKey,n=e.ctrlKey,i=e.keyCode;if(Ee([Kv,Yv,Ro,Lo,Gi,Dn,Ps,pn],i)){ke(e);var a=kr(this.activeDate),s=kr(this.activeDate),o=a.getDate(),u=this.constrainDate(this.getToday()),c=this.isRTL;i===Kv?(a=(r?n?cw:ow:aw)(a),s=kr(a),s.setDate(1)):i===Yv?(a=(r?n?lw:uw:sw)(a),s=kr(a),s.setMonth(s.getMonth()+1),s.setDate(0)):i===Gi?(a.setDate(o+(c?1:-1)),a=this.constrainDate(a),s=a):i===Ps?(a.setDate(o+(c?-1:1)),a=this.constrainDate(a),s=a):i===Dn?(a.setDate(o-7),a=this.constrainDate(a),s=a):i===pn?(a.setDate(o+7),a=this.constrainDate(a),s=a):i===Lo?(a=u,s=a):i===Ro&&(a=ur(this.selectedDate)||u,s=a),!this.dateOutOfRange(s)&&!wm(a,this.activeDate)&&(this.activeYMD=wt(a)),this.focus()}}},onKeydownGrid:function(e){var r=e.keyCode,n=this.activeDate;(r===ks||r===Va)&&(ke(e),!this.disabled&&!this.readonly&&!this.dateDisabled(n)&&(this.selectedYMD=wt(n),this.emitSelected(n)),this.focus())},onClickDay:function(e){var r=this.selectedDate,n=this.activeDate,i=ur(e.ymd);!this.disabled&&!e.isDisabled&&!this.dateDisabled(i)&&(this.readonly||(this.selectedYMD=wt(wm(i,r)?r:i),this.emitSelected(i)),this.activeYMD=wt(wm(i,n)?n:kr(i)),this.focus())},gotoPrevDecade:function(){this.activeYMD=wt(this.constrainDate(cw(this.activeDate)))},gotoPrevYear:function(){this.activeYMD=wt(this.constrainDate(ow(this.activeDate)))},gotoPrevMonth:function(){this.activeYMD=wt(this.constrainDate(aw(this.activeDate)))},gotoCurrentMonth:function(){this.activeYMD=wt(this.constrainDate(this.getToday()))},gotoNextMonth:function(){this.activeYMD=wt(this.constrainDate(sw(this.activeDate)))},gotoNextYear:function(){this.activeYMD=wt(this.constrainDate(uw(this.activeDate)))},gotoNextDecade:function(){this.activeYMD=wt(this.constrainDate(lw(this.activeDate)))},onHeaderClick:function(){this.disabled||(this.activeYMD=this.selectedYMD||wt(this.getToday()),this.focus())}},render:function(e){var r=this;if(this.hidden)return e();var n=this.valueId,i=this.widgetId,a=this.navId,s=this.gridId,o=this.gridCaptionId,u=this.gridHelpId,c=this.activeId,l=this.disabled,d=this.noKeyNav,f=this.isLive,p=this.isRTL,m=this.activeYMD,b=this.selectedYMD,_=this.safeId,S=!this.showDecadeNav,x=wt(this.getToday()),O=!this.noHighlightToday,h=e("output",{staticClass:"form-control form-control-sm text-center",class:{"text-muted":l,readonly:this.readonly||l},attrs:{id:n,for:s,role:"status",tabindex:l?null:"-1","data-selected":_e(b),"aria-live":f?"polite":"off","aria-atomic":f?"true":null},on:{click:this.onHeaderClick,focus:this.onHeaderClick}},this.selectedDate?[e("bdi",{staticClass:"sr-only"}," (".concat(_e(this.labelSelected),") ")),e("bdi",this.formatDateString(this.selectedDate))]:this.labelNoDateSelected||" ");h=e(this.headerTag,{staticClass:"b-calendar-header",class:{"sr-only":this.hideHeader},attrs:{title:this.selectedDate&&this.labelSelectedDate||null}},[h]);var v={isRTL:p},g={shiftV:.5},T=wa(wa({},g),{},{flipH:p}),P=wa(wa({},g),{},{flipH:!p}),k=this.normalizeSlot(oJ,v)||e(bM,{props:T}),w=this.normalizeSlot(cJ,v)||e(yM,{props:T}),A=this.normalizeSlot(uJ,v)||e(_M,{props:T}),C=this.normalizeSlot(lJ,v)||e(MS,{props:g}),E=this.normalizeSlot(aJ,v)||e(_M,{props:P}),$=this.normalizeSlot(sJ,v)||e(yM,{props:P}),D=this.normalizeSlot(iJ,v)||e(bM,{props:P}),M=function(K,X,se,Ae,Ye){return e("button",{staticClass:"btn btn-sm border-0 flex-fill",class:[r.computedNavButtonVariant,{disabled:Ae}],attrs:{title:X||null,type:"button",tabindex:d?"-1":null,"aria-label":X||null,"aria-disabled":Ae?"true":null,"aria-keyshortcuts":Ye||null},on:Ae?{}:{click:se}},[e("div",{attrs:{"aria-hidden":"true"}},[K])])},L=e("div",{staticClass:"b-calendar-nav d-flex",attrs:{id:a,role:"group",tabindex:d?"-1":null,"aria-hidden":l?"true":null,"aria-label":this.labelNav||null,"aria-controls":s}},[S?e():M(k,this.labelPrevDecade,this.gotoPrevDecade,this.prevDecadeDisabled,"Ctrl+Alt+PageDown"),M(w,this.labelPrevYear,this.gotoPrevYear,this.prevYearDisabled,"Alt+PageDown"),M(A,this.labelPrevMonth,this.gotoPrevMonth,this.prevMonthDisabled,"PageDown"),M(C,this.labelCurrentMonth,this.gotoCurrentMonth,this.thisMonthDisabled,"Home"),M(E,this.labelNextMonth,this.gotoNextMonth,this.nextMonthDisabled,"PageUp"),M($,this.labelNextYear,this.gotoNextYear,this.nextYearDisabled,"Alt+PageUp"),S?e():M(D,this.labelNextDecade,this.gotoNextDecade,this.nextDecadeDisabled,"Ctrl+Alt+PageUp")]),N=e("div",{staticClass:"b-calendar-grid-caption text-center font-weight-bold",class:{"text-muted":l},attrs:{id:o,"aria-live":f?"polite":null,"aria-atomic":f?"true":null},key:"grid-caption"},this.formatYearMonth(this.calendarFirstDay)),j=e("div",{staticClass:"b-calendar-grid-weekdays row no-gutters border-bottom",attrs:{"aria-hidden":"true"}},this.calendarHeadings.map(function(G,K){return e("small",{staticClass:"col text-truncate",class:{"text-muted":l},attrs:{title:G.label===G.text?null:G.label,"aria-label":G.label},key:K},G.text)})),z=this.calendar.map(function(G){var K=G.map(function(X,se){var Ae,Ye=X.ymd===b,bt=X.ymd===m,ir=X.ymd===x,Hr=_("_cell-".concat(X.ymd,"_")),bn=e("span",{staticClass:"btn border-0 rounded-circle text-nowrap",class:(Ae={focus:bt&&r.gridHasFocus,disabled:X.isDisabled||l,active:Ye},vi(Ae,r.computedVariant,Ye),vi(Ae,r.computedTodayVariant,ir&&O&&!Ye&&X.isThisMonth),vi(Ae,"btn-outline-light",!(ir&&O)&&!Ye&&!bt),vi(Ae,"btn-light",!(ir&&O)&&!Ye&&bt),vi(Ae,"text-muted",!X.isThisMonth&&!Ye),vi(Ae,"text-dark",!(ir&&O)&&!Ye&&!bt&&X.isThisMonth),vi(Ae,"font-weight-bold",(Ye||X.isThisMonth)&&!X.isDisabled),Ae),on:{click:function(){return r.onClickDay(X)}}},X.day);return e("div",{staticClass:"col p-0",class:X.isDisabled?"bg-light":X.info.class||"",attrs:{id:Hr,role:"button","data-date":X.ymd,"aria-hidden":X.isThisMonth?null:"true","aria-disabled":X.isDisabled||l?"true":null,"aria-label":[X.label,Ye?"(".concat(r.labelSelected,")"):null,ir?"(".concat(r.labelToday,")"):null].filter(Te).join(" "),"aria-selected":Ye?"true":null,"aria-current":Ye?"date":null},key:se},[bn])});return e("div",{staticClass:"row no-gutters",key:G[0].ymd},K)});z=e("div",{staticClass:"b-calendar-grid-body",style:l?{pointerEvents:"none"}:{}},z);var U=e("div",{staticClass:"b-calendar-grid-help border-top small text-muted text-center bg-light",attrs:{id:u}},[e("div",{staticClass:"small"},this.labelHelp)]),J=e("div",{staticClass:"b-calendar-grid form-control h-auto text-center",attrs:{id:s,role:"application",tabindex:d?"-1":l?null:"0","data-month":m.slice(0,-3),"aria-roledescription":this.labelCalendar||null,"aria-labelledby":o,"aria-describedby":u,"aria-disabled":l?"true":null,"aria-activedescendant":c},on:{keydown:this.onKeydownGrid,focus:this.setGridFocusFlag,blur:this.setGridFocusFlag},ref:"grid"},[N,j,z,U]),re=this.normalizeSlot();re=re?e("footer",{staticClass:"b-calendar-footer"},re):e();var Y=e("div",{staticClass:"b-calendar-inner",style:this.block?{}:{width:this.width},attrs:{id:i,dir:p?"rtl":"ltr",lang:this.computedLocale||null,role:"group","aria-disabled":l?"true":null,"aria-controls":this.ariaControls||null,"aria-roledescription":this.roleDescription||null,"aria-describedby":[this.bvAttrs["aria-describedby"],n,u].filter(Te).join(" ")},on:{keydown:this.onKeydownWrapper}},[h,L,J,re]);return e("div",{staticClass:"b-calendar",class:{"d-block":this.block}},[Y])}}),hQ=pe({components:{BCalendar:H4}}),xp=ee({bgVariant:y(I),borderVariant:y(I),tag:y(I,"div"),textVariant:y(I)},gE);V.extend({props:xp});var PE=ee({title:y(I),titleTag:y(I,"h4")},gB),z4=V.extend({name:gB,functional:!0,props:PE,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.titleTag,ve(i,{staticClass:"card-title"}),a||_e(n.title))}}),CE=ee({subTitle:y(I),subTitleTag:y(I,"h6"),subTitleTextVariant:y(I,"muted")},pB),V4=V.extend({name:pB,functional:!0,props:CE,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.subTitleTag,ve(i,{staticClass:"card-subtitle",class:[n.subTitleTextVariant?"text-".concat(n.subTitleTextVariant):null]}),a||_e(n.subTitle))}});function YM(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 Sm(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?YM(Object(r),!0).forEach(function(n){Bg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):YM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Bg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var AE=ee(fe(Sm(Sm(Sm(Sm({},PE),CE),Sb(xp,wb.bind(null,"body"))),{},{bodyClass:y(we),overlay:y(B,!1)})),uB),U4=V.extend({name:uB,functional:!0,props:AE,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.bodyBgVariant,u=i.bodyBorderVariant,c=i.bodyTextVariant,l=e();i.title&&(l=e(z4,{props:Et(PE,i)}));var d=e();return i.subTitle&&(d=e(V4,{props:Et(CE,i),class:["mb-2"]})),e(i.bodyTag,ve(a,{staticClass:"card-body",class:[(n={"card-img-overlay":i.overlay},Bg(n,"bg-".concat(o),o),Bg(n,"border-".concat(u),u),Bg(n,"text-".concat(c),c),n),i.bodyClass]}),[l,d,s])}});function KM(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 qM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?KM(Object(r),!0).forEach(function(n){Fg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):KM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Fg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ME=ee(fe(qM(qM({},Sb(xp,wb.bind(null,"header"))),{},{header:y(I),headerClass:y(we),headerHtml:y(I)})),dB),G4=V.extend({name:dB,functional:!0,props:ME,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.headerBgVariant,u=i.headerBorderVariant,c=i.headerTextVariant;return e(i.headerTag,ve(a,{staticClass:"card-header",class:[i.headerClass,(n={},Fg(n,"bg-".concat(o),o),Fg(n,"border-".concat(u),u),Fg(n,"text-".concat(c),c),n)],domProps:s?{}:Rt(i.headerHtml,i.header)}),s)}});function XM(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 JM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?XM(Object(r),!0).forEach(function(n){jg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):XM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function jg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $E=ee(fe(JM(JM({},Sb(xp,wb.bind(null,"footer"))),{},{footer:y(I),footerClass:y(we),footerHtml:y(I)})),cB),W4=V.extend({name:cB,functional:!0,props:$E,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.footerBgVariant,u=i.footerBorderVariant,c=i.footerTextVariant;return e(i.footerTag,ve(a,{staticClass:"card-footer",class:[i.footerClass,(n={},jg(n,"bg-".concat(o),o),jg(n,"border-".concat(u),u),jg(n,"text-".concat(c),c),n)],domProps:s?{}:Rt(i.footerHtml,i.footer)}),s)}});function fw(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pQ='<svg width="%{w}" height="%{h}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 %{w} %{h}" preserveAspectRatio="none"><rect width="100%" height="100%" style="fill:%{f};"></rect></svg>',mQ=function(e,r,n){var i=encodeURIComponent(pQ.replace("%{w}",_e(e)).replace("%{h}",_e(r)).replace("%{f}",n));return"data:image/svg+xml;charset=UTF-8,".concat(i)},Ab=ee({alt:y(I),blank:y(B,!1),blankColor:y(I,"transparent"),block:y(B,!1),center:y(B,!1),fluid:y(B,!1),fluidGrow:y(B,!1),height:y(le),left:y(B,!1),right:y(B,!1),rounded:y(en,!1),sizes:y(Qr),src:y(I),srcset:y(Qr),thumbnail:y(B,!1),width:y(le)},ZB),kE=V.extend({name:ZB,functional:!0,props:Ab,render:function(e,r){var n,i=r.props,a=r.data,s=i.alt,o=i.src,u=i.block,c=i.fluidGrow,l=i.rounded,d=oe(i.width)||null,f=oe(i.height)||null,p=null,m=Ke(i.srcset).filter(Te).join(","),b=Ke(i.sizes).filter(Te).join(",");return i.blank&&(!f&&d?f=d:!d&&f&&(d=f),!d&&!f&&(d=1,f=1),o=mQ(d,f,i.blankColor||"transparent"),m=null,b=null),i.left?p="float-left":i.right?p="float-right":i.center&&(p="mx-auto",u=!0),e("img",ve(a,{attrs:{src:o,alt:s,width:d?_e(d):null,height:f?_e(f):null,srcset:m||null,sizes:b||null},class:(n={"img-thumbnail":i.thumbnail,"img-fluid":i.fluid||c,"w-100":c,rounded:l===""||l===!0},fw(n,"rounded-".concat(l),Ge(l)&&l!==""),fw(n,p,p),fw(n,"d-block",u),n)}))}});function ZM(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 QM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ZM(Object(r),!0).forEach(function(n){gQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var DE=ee(fe(QM(QM({},qi(Ab,["src","alt","width","height","left","right"])),{},{bottom:y(B,!1),end:y(B,!1),start:y(B,!1),top:y(B,!1)})),fB),Y4=V.extend({name:fB,functional:!0,props:DE,render:function(e,r){var n=r.props,i=r.data,a=n.src,s=n.alt,o=n.width,u=n.height,c="card-img";return n.top?c+="-top":n.right||n.end?c+="-right":n.bottom?c+="-bottom":(n.left||n.start)&&(c+="-left"),e("img",ve(i,{class:c,attrs:{src:a,alt:s,width:o,height:u}}))}});function e$(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 Hc(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?e$(Object(r),!0).forEach(function(n){Yf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Yf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var IE=Sb(DE,wb.bind(null,"img"));IE.imgSrc.required=!1;var vQ=ee(fe(Hc(Hc(Hc(Hc(Hc(Hc({},AE),ME),$E),IE),xp),{},{align:y(I),noBody:y(B,!1)})),gE),bQ=V.extend({name:gE,functional:!0,props:vQ,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=i.imgSrc,c=i.imgLeft,l=i.imgRight,d=i.imgStart,f=i.imgEnd,p=i.imgBottom,m=i.header,b=i.headerHtml,_=i.footer,S=i.footerHtml,x=i.align,O=i.textVariant,h=i.bgVariant,v=i.borderVariant,g=o||{},T=s(),P={},k=e(),w=e();if(u){var A=e(Y4,{props:Et(IE,i,l4.bind(null,"img"))});p?w=A:k=A}var C=e(),E=xs(Do,g,T);(E||m||b)&&(C=e(G4,{props:Et(ME,i),domProps:E?{}:Rt(b,m)},Br(Do,P,g,T)));var $=Br(br,P,g,T);i.noBody||($=e(U4,{props:Et(AE,i)},$),i.overlay&&u&&($=e("div",{staticClass:"position-relative"},[k,$,w]),k=e(),w=e()));var D=e(),M=xs(TS,g,T);return(M||_||S)&&(D=e(W4,{props:Et($E,i),domProps:E?{}:Rt(S,_)},Br(TS,P,g,T))),e(i.tag,ve(a,{staticClass:"card",class:(n={"flex-row":c||d,"flex-row-reverse":(l||f)&&!(c||d)},Yf(n,"text-".concat(x),x),Yf(n,"bg-".concat(h),h),Yf(n,"border-".concat(v),v),Yf(n,"text-".concat(O),O),n)}),[k,C,$,D,w])}});function yQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function t$(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _Q(t,e,r){return e&&t$(t.prototype,e),r&&t$(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var Jl="__bv__visibility_observer",wQ=function(){function t(e,r,n){yQ(this,t),this.el=e,this.callback=r.callback,this.margin=r.margin||0,this.once=r.once||!1,this.observer=null,this.visible=void 0,this.doneOnce=!1,this.createObserver(n)}return _Q(t,[{key:"createObserver",value:function(r){var n=this;if(this.observer&&this.stop(),!(this.doneOnce||!be(this.callback))){try{this.observer=new IntersectionObserver(this.handler.bind(this),{root:null,rootMargin:this.margin,threshold:0})}catch{this.doneOnce=!0,this.observer=void 0,this.callback(null);return}r.context.$nextTick(function(){at(function(){n.observer&&n.observer.observe(n.el)})})}}},{key:"handler",value:function(r){var n=r?r[0]:{},i=!!(n.isIntersecting||n.intersectionRatio>0);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}(),K4=function(e){var r=e[Jl];r&&r.stop&&r.stop(),delete e[Jl]},q4=function(e,r,n){var i=r.value,a=r.modifiers,s={margin:"0px",once:!1,callback:i};Pe(a).forEach(function(o){HN.test(o)?s.margin="".concat(o,"px"):o.toLowerCase()==="once"&&(s.once=!0)}),K4(e),e[Jl]=new wQ(e,s,n),e[Jl]._prevModifiers=zo(a)},SQ=function(e,r,n){var i=r.value,a=r.oldValue,s=r.modifiers;s=zo(s),e&&(i!==a||!e[Jl]||!Je(s,e[Jl]._prevModifiers))&&q4(e,{value:i,modifiers:s},n)},OQ=function(e){K4(e)},RE={bind:q4,componentUpdated:SQ,unbind:OQ},Om;function r$(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 Zv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?r$(Object(r),!0).forEach(function(n){Tl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):r$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Tl(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var gh="show",TQ=Vo+gh,X4=Re(Ab,["blank"]),J4=ee(Zv(Zv({},X4),{},Tl({blankHeight:y(le),blankSrc:y(I,null),blankWidth:y(le),offset:y(le,360)},gh,y(B,!1))),QB),Z4=V.extend({name:QB,directives:{"b-visible":RE},props:J4,data:function(){return{isShown:this[gh]}},computed:{computedSrc:function(){var e=this.blankSrc;return!e||this.isShown?this.src:e},computedBlank:function(){return!(this.isShown||this.blankSrc)},computedWidth:function(){var e=this.width;return this.isShown?e:this.blankWidth||e},computedHeight:function(){var e=this.height;return this.isShown?e:this.blankHeight||e},computedSrcset:function(){var e=Ke(this.srcset).filter(Te).join(",");return e&&(!this.blankSrc||this.isShown)?e:null},computedSizes:function(){var e=Ke(this.sizes).filter(Te).join(",");return e&&(!this.blankSrc||this.isShown)?e:null}},watch:(Om={},Tl(Om,gh,function(t,e){if(t!==e){var r=IA?t:!0;this.isShown=r,t!==r&&this.$nextTick(this.updateShowProp)}}),Tl(Om,"isShown",function(e,r){e!==r&&this.updateShowProp()}),Om),mounted:function(){this.isShown=IA?this[gh]:!0},methods:{updateShowProp:function(){this.$emit(TQ,this.isShown)},doShow:function(e){var r=this;(e||e===null)&&!this.isShown&&at(function(){r.isShown=!0})}},render:function(e){var r=[];if(!this.isShown){var n;r.push({name:"b-visible",value:this.doShow,modifiers:(n={},Tl(n,"".concat(oe(this.offset,0)),!0),Tl(n,"once",!0),n)})}return e(kE,{directives:r,props:Zv(Zv({},Et(X4,this.$props)),{},{src:this.computedSrc,blank:this.computedBlank,width:this.computedWidth,height:this.computedHeight,srcset:this.computedSrcset,sizes:this.computedSizes})})}});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 i$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?n$(Object(r),!0).forEach(function(n){EQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function EQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xQ=ee(fe(i$(i$({},Re(J4,Pe(Ab))),Re(DE,["src","alt","width","height"]))),hB),PQ=V.extend({name:hB,functional:!0,props:xQ,render:function(e,r){var n=r.props,i=r.data,a="card-img";return n.top?a+="-top":n.right||n.end?a+="-right":n.bottom?a+="-bottom":(n.left||n.start)&&(a+="-left"),e(Z4,ve(i,{class:[a],props:Re(n,["left","right"])}))}}),CQ=ee({textTag:y(I,"p")},mB),AQ=V.extend({name:mB,functional:!0,props:CQ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.textTag,ve(i,{staticClass:"card-text"}),a)}}),MQ=ee({columns:y(B,!1),deck:y(B,!1),tag:y(I,"div")},lB),$Q=V.extend({name:lB,functional:!0,props:MQ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{class:n.deck?"card-deck":n.columns?"card-columns":"card-group"}),a)}}),kQ=pe({components:{BCard:bQ,BCardHeader:G4,BCardBody:U4,BCardTitle:z4,BCardSubTitle:V4,BCardFooter:W4,BCardImg:Y4,BCardImgLazy:PQ,BCardText:AQ,BCardGroup:$Q}}),Kh=function(){};function a$(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 DQ(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?a$(Object(r),!0).forEach(function(n){IQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function IQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qh=function(e,r,n){if(e=e?e.$el||e:null,!yt(e)||kq("observeDom"))return null;var i=new CJ(function(a){for(var s=!1,o=0;o<a.length&&!s;o++){var u=a[o],c=u.type,l=u.target;(c==="characterData"&&l.nodeType===Node.TEXT_NODE||c==="attributes"||c==="childList"&&(u.addedNodes.length>0||u.removedNodes.length>0))&&(s=!0)}s&&r()});return i.observe(e,DQ({childList:!0,subtree:!0},n)),i},zc;function s$(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 hw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?s$(Object(r),!0).forEach(function(n){Kf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Kf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Mb=mr("value",{type:Xr,defaultValue:0}),RQ=Mb.mixin,LQ=Mb.props,pw=Mb.prop,o$=Mb.event,mw={next:{dirClass:"carousel-item-left",overlayClass:"carousel-item-next"},prev:{dirClass:"carousel-item-right",overlayClass:"carousel-item-prev"}},NQ=600+50,BQ=500,FQ=40,u$={TOUCH:"touch",PEN:"pen"},c$={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend oTransitionEnd",transition:"transitionend"},jQ=function(e){for(var r in c$)if(!Jt(e.style[r]))return c$[r];return null},HQ=ee(fe(hw(hw(hw({},ct),LQ),{},{background:y(I),controls:y(B,!1),fade:y(B,!1),imgHeight:y(le),imgWidth:y(le),indicators:y(B,!1),interval:y(Xr,5e3),labelGotoSlide:y(I,"Goto slide"),labelIndicators:y(I,"Select a slide to display"),labelNext:y(I,"Next slide"),labelPrev:y(I,"Previous slide"),noAnimation:y(B,!1),noHoverPause:y(B,!1),noTouch:y(B,!1),noWrap:y(B,!1)})),vB),zQ=V.extend({name:vB,mixins:[ht,RQ,Ce],provide:function(){return{bvCarousel:this}},props:HQ,data:function(){return{index:this[pw]||0,isSliding:!1,transitionEndEvent:null,slides:[],direction:null,isPaused:!(oe(this.interval,0)>0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(zc={},Kf(zc,pw,function(t,e){t!==e&&this.setSlide(oe(t,0))}),Kf(zc,"interval",function(e,r){e!==r&&(e?(this.pause(!0),this.start(!1)):this.pause(!1))}),Kf(zc,"isPaused",function(e,r){e!==r&&this.$emit(e?pX:xX)}),Kf(zc,"index",function(e,r){e===r||this.isSliding||this.doSlide(e,r)}),zc),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(oe(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=jQ(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=qh(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(!(ft&&document.visibilityState&&document.hidden)){var i=this.noWrap,a=this.numSlides;if(e=Yh(e),a!==0){if(this.isSliding){this.$once(J_,function(){at(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[pw]&&this.$emit(o$,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,Ze(1e3,this.interval)))},restart:function(){this.$el.contains(Io())||this.start()},doSlide:function(e,r){var n=this,i=!!this.interval,a=this.calcDirection(this.direction,r,e),s=a.overlayClass,o=a.dirClass,u=this.slides[r],c=this.slides[e];if(!(!u||!c)){if(this.isSliding=!0,i&&this.pause(!1),this.$emit(OX,e),this.$emit(o$,this.index),this.noAnimation)cn(c,"active"),Yr(u,"active"),this.isSliding=!1,this.$nextTick(function(){return n.$emit(J_,e)});else{cn(c,s),TE(c),cn(u,o),cn(c,o);var l=!1,d=function p(){if(!l){if(l=!0,n.transitionEndEvent){var m=n.transitionEndEvent.split(/\s+/);m.forEach(function(b){return kt(c,b,p,Ve)})}n.clearAnimationTimeout(),Yr(c,o),Yr(c,s),cn(c,"active"),Yr(u,"active"),Yr(u,o),Yr(u,s),Mt(u,"aria-current","false"),Mt(c,"aria-current","true"),Mt(u,"aria-hidden","true"),Mt(c,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick(function(){return n.$emit(J_,e)})}};if(this.transitionEndEvent){var f=this.transitionEndEvent.split(/\s+/);f.forEach(function(p){return Ot(c,p,d,Ve)})}this.$_animationTimeout=setTimeout(d,NQ)}i&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=si(".carousel-item",this.$refs.inner);var e=this.slides.length,r=Ze(0,vs(Yh(this.index),e-1));this.slides.forEach(function(n,i){var a=i+1;i===r?(cn(n,"active"),Mt(n,"aria-current","true")):(Yr(n,"active"),Mt(n,"aria-current","false")),Mt(n,"aria-posinset",String(a)),Mt(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?mw[e]:n>r?mw.next:mw.prev},handleClick:function(e,r){var n=e.keyCode;(e.type==="click"||n===Va||n===ks)&&(ke(e),r())},handleSwipe:function(){var e=m4(this.touchDeltaX);if(!(e<=FQ)){var r=e/this.touchDeltaX;this.touchDeltaX=0,r>0?this.prev():r<0&&this.next()}},touchStart:function(e){uf&&u$[e.pointerType.toUpperCase()]?this.touchStartX=e.clientX:uf||(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){uf&&u$[e.pointerType.toUpperCase()]&&(this.touchDeltaX=e.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,BQ+Ze(1e3,this.interval))}},render:function(e){var r=this,n=this.indicators,i=this.background,a=this.noAnimation,s=this.noHoverPause,o=this.noTouch,u=this.index,c=this.isSliding,l=this.pause,d=this.restart,f=this.touchStart,p=this.touchEnd,m=this.safeId("__BV_inner_"),b=e("div",{staticClass:"carousel-inner",attrs:{id:m,role:"list"},ref:"inner"},[this.normalizeSlot()]),_=e();if(this.controls){var S=function(v,g,T){var P=function(w){c?ke(w,{propagation:!1}):r.handleClick(w,T)};return e("a",{staticClass:"carousel-control-".concat(v),attrs:{href:"#",role:"button","aria-controls":m,"aria-disabled":c?"true":null},on:{click:P,keydown:P}},[e("span",{staticClass:"carousel-control-".concat(v,"-icon"),attrs:{"aria-hidden":"true"}}),e("span",{class:"sr-only"},[g])])};_=[S("prev",this.labelPrev,this.prev),S("next",this.labelNext,this.next)]}var x=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":m}},this.slides.map(function(h,v){var g=function(P){r.handleClick(P,function(){r.setSlide(v)})};return e("li",{class:{active:v===u},attrs:{role:"button",id:r.safeId("__BV_indicator_".concat(v+1,"_")),tabindex:n?"0":"-1","aria-current":v===u?"true":"false","aria-label":"".concat(r.labelGotoSlide," ").concat(v+1),"aria-describedby":h.id||null,"aria-controls":m},on:{click:g,keydown:g},key:"slide_".concat(v)})})),O={mouseenter:s?Kh:l,mouseleave:s?Kh:d,focusin:l,focusout:d,keydown:function(v){if(!/input|textarea/i.test(v.target.tagName)){var g=v.keyCode;(g===Gi||g===Ps)&&(ke(v),r[g===Gi?"prev":"next"]())}}};return Bv&&!o&&(uf?(O["&pointerdown"]=f,O["&pointerup"]=p):(O["&touchstart"]=f,O["&touchmove"]=this.touchMove,O["&touchend"]=p)),e("div",{staticClass:"carousel",class:{slide:!a,"carousel-fade":!a&&this.fade,"pointer-event":Bv&&uf&&!o},style:{background:i},attrs:{role:"region",id:this.safeId(),"aria-busy":c?"true":"false"},on:O},[b,_,x])}});function l$(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 vh(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?l$(Object(r),!0).forEach(function(n){VQ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function VQ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Q4={imgAlt:y(I),imgBlank:y(B,!1),imgBlankColor:y(I,"transparent"),imgHeight:y(le),imgSrc:y(I),imgWidth:y(le)},UQ=ee(fe(vh(vh(vh({},ct),Q4),{},{background:y(I),caption:y(I),captionHtml:y(I),captionTag:y(I,"h3"),contentTag:y(I,"div"),contentVisibleUp:y(I),text:y(I),textHtml:y(I),textTag:y(I,"p")})),bB),GQ=V.extend({name:bB,mixins:[ht,Ce],inject:{bvCarousel:{default:function(){return{noTouch:!0}}}},props:UQ,computed:{contentClasses:function(){return[this.contentVisibleUp?"d-none":"",this.contentVisibleUp?"d-".concat(this.contentVisibleUp,"-block"):""]},computedWidth:function(){return this.imgWidth||this.bvCarousel.imgWidth||null},computedHeight:function(){return this.imgHeight||this.bvCarousel.imgHeight||null}},render:function(e){var r=this.normalizeSlot(qX);if(!r&&(this.imgSrc||this.imgBlank)){var n={};!this.bvCarousel.noTouch&&Bv&&(n.dragstart=function(s){return ke(s,{propagation:!1})}),r=e(kE,{props:vh(vh({},Et(Q4,this.$props,l4.bind(null,"img"))),{},{width:this.computedWidth,height:this.computedHeight,fluidGrow:!0,block:!0}),on:n})}var i=[this.caption||this.captionHtml?e(this.captionTag,{domProps:Rt(this.captionHtml,this.caption)}):!1,this.text||this.textHtml?e(this.textTag,{domProps:Rt(this.textHtml,this.text)}):!1,this.normalizeSlot()||!1],a=e();return i.some(Te)&&(a=e(this.contentTag,{staticClass:"carousel-caption",class:this.contentClasses},i.map(function(s){return s||e()}))),e("div",{staticClass:"carousel-item",style:{background:this.background||this.bvCarousel.background||null},attrs:{id:this.safeId(),role:"listitem"}},[r,a])}}),WQ=pe({components:{BCarousel:zQ,BCarouselSlide:GQ}}),gw="show",YQ=function(e){zr(e,"height",0),at(function(){TE(e),zr(e,"height","".concat(e.scrollHeight,"px"))})},KQ=function(e){_b(e,"height")},qQ=function(e){zr(e,"height","auto"),zr(e,"display","block"),zr(e,"height","".concat(Qu(e).height,"px")),TE(e),zr(e,"height",0)},XQ=function(e){_b(e,"height")},JQ={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},ZQ={enter:YQ,afterEnter:KQ,leave:qQ,afterLeave:XQ},QQ={appear:y(B,!1)},eee=V.extend({name:Yq,functional:!0,props:QQ,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("transition",ve(i,{props:JQ,on:ZQ},{props:n}),a)}}),Tm;function d$(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 vw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?d$(Object(r),!0).forEach(function(n){RS(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function RS(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tee=dr(Ur,"toggle"),ree=dr(Ur,"request-state"),f$=Ht(Ur,"accordion"),nee=Ht(Ur,"state"),iee=Ht(Ur,"sync-state"),$b=mr("visible",{type:B,defaultValue:!1}),aee=$b.mixin,see=$b.props,Em=$b.prop,oee=$b.event,uee=ee(fe(vw(vw(vw({},ct),see),{},{accordion:y(I),appear:y(B,!1),isNav:y(B,!1),tag:y(I,"div")})),Ur),cee=V.extend({name:Ur,mixins:[ht,aee,Ce,Xi],props:uee,data:function(){return{show:this[Em],transitioning:!1}},computed:{classObject:function(){var e=this.transitioning;return{"navbar-collapse":this.isNav,collapse:!e,show:this.show&&!e}},slotScope:function(){var e=this;return{visible:this.show,close:function(){e.show=!1}}}},watch:(Tm={},RS(Tm,Em,function(t){t!==this.show&&(this.show=t)}),RS(Tm,"show",function(e,r){e!==r&&this.emitState()}),Tm),created:function(){this.show=this[Em]},mounted:function(){var e=this;this.show=this[Em],this.listenOnRoot(tee,this.handleToggleEvent),this.listenOnRoot(f$,this.handleAccordionEvent),this.isNav&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick(function(){e.emitState()}),this.listenOnRoot(ree,function(r){r===e.safeId()&&e.$nextTick(e.emitSync)})},updated:function(){this.emitSync()},deactivated:function(){this.isNav&&this.setWindowEvents(!1)},activated:function(){this.isNav&&this.setWindowEvents(!0),this.emitSync()},beforeDestroy:function(){this.show=!1,this.isNav&&ft&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(e){Ui(e,window,"resize",this.handleResize,Ve),Ui(e,window,"orientationchange",this.handleResize,Ve)},toggle:function(){this.show=!this.show},onEnter:function(){this.transitioning=!0,this.$emit(Nr)},onAfterEnter:function(){this.transitioning=!1,this.$emit(fn)},onLeave:function(){this.transitioning=!0,this.$emit($n)},onAfterLeave:function(){this.transitioning=!1,this.$emit(Xt)},emitState:function(){var e=this.show,r=this.accordion,n=this.safeId();this.$emit(oee,e),this.emitOnRoot(nee,n,e),r&&e&&this.emitOnRoot(f$,n,r)},emitSync:function(){this.emitOnRoot(iee,this.safeId(),this.show)},checkDisplayBlock:function(){var e=this.$el,r=Gh(e,gw);Yr(e,gw);var n=ei(e).display==="block";return r&&cn(e,gw),n},clickHandler:function(e){var r=e.target;!this.isNav||!r||ei(this.$el).display!=="block"||(Ss(r,".nav-link,.dropdown-item")||kn(".nav-link,.dropdown-item",r))&&!this.checkDisplayBlock()&&(this.show=!1)},handleToggleEvent:function(e){e===this.safeId()&&this.toggle()},handleAccordionEvent:function(e,r){var n=this.accordion,i=this.show;if(!(!n||n!==r)){var a=e===this.safeId();(a&&!i||!a&&i)&&this.toggle()}},handleResize:function(){this.show=ei(this.$el).display==="block"}},render:function(e){var r=this.appear,n=e(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.safeId()},on:{click:this.clickHandler}},this.normalizeSlot(br,this.slotScope));return e(eee,{props:{appear:r},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[n])}}),LS="collapsed",NS="not-collapsed",kb="__BV_toggle",bh="".concat(kb,"_HANDLER__"),Qv="".concat(kb,"_CLICK__"),e0="".concat(kb,"_STATE__"),Zl="".concat(kb,"_TARGETS__"),lee="false",dee="true",BS="aria-controls",FS="aria-expanded",jS="role",h$="tabindex",HS="overflow-anchor",fee=dr(Ur,"toggle"),ej=Ht(Ur,"state"),tj=Ht(Ur,"sync-state"),hee=dr(Ur,"request-state"),pee=[ks,Va],rj=function(e){return!Ee(["button","a"],e.tagName.toLowerCase())},mee=function(e,r){var n=e.modifiers,i=e.arg,a=e.value,s=Pe(n||{});if(a=Ge(a)?a.split($g):a,za(r.tagName,"a")){var o=ii(r,"href")||"";qK.test(o)&&s.push(o.replace(KK,""))}return Ke(i,a).forEach(function(u){return Ge(u)&&s.push(u)}),s.filter(function(u,c,l){return u&&l.indexOf(u)===c})},nj=function(e){var r=e[Qv];r&&(kt(e,"click",r,Cn),kt(e,"keydown",r,Cn)),e[Qv]=null},gee=function(e,r){if(nj(e),r.context){var n=function(a){if(!(a.type==="keydown"&&!Ee(pee,a.keyCode))&&!Ou(e)){var s=e[Zl]||[];s.forEach(function(o){r.context.$root.$emit(fee,o)})}};e[Qv]=n,Ot(e,"click",n,Cn),rj(e)&&Ot(e,"keydown",n,Cn)}},ij=function(e,r){e[bh]&&r.context&&r.context.$root.$off([ej,tj],e[bh]),e[bh]=null},vee=function(e,r){if(ij(e,r),r.context){var n=function(a,s){Ee(e[Zl]||[],a)&&(e[e0]=s,aj(e,s))};e[bh]=n,r.context.$root.$on([ej,tj],n)}},aj=function(e,r){r?(Yr(e,LS),cn(e,NS),Mt(e,FS,dee)):(Yr(e,NS),cn(e,LS),Mt(e,FS,lee))},xm=function(e,r){e[r]=null,delete e[r]},bw=function(e,r,n){if(!(!ft||!n.context)){rj(e)&&(Ia(e,jS)||Mt(e,jS,"button"),Ia(e,h$)||Mt(e,h$,"0")),aj(e,e[e0]);var i=mee(r,e);i.length>0?(Mt(e,BS,i.join(" ")),zr(e,HS,"none")):(Da(e,BS),_b(e,HS)),at(function(){gee(e,n)}),Je(i,e[Zl])||(e[Zl]=i,i.forEach(function(a){n.context.$root.$emit(hee,a)}))}},sj={bind:function(e,r,n){e[e0]=!1,e[Zl]=[],vee(e,n),bw(e,r,n)},componentUpdated:bw,updated:bw,unbind:function(e,r,n){nj(e),ij(e,n),xm(e,bh),xm(e,Qv),xm(e,e0),xm(e,Zl),Yr(e,LS),Yr(e,NS),Da(e,FS),Da(e,BS),Da(e,jS),_b(e,HS)}},LE=pe({directives:{VBToggle:sj}}),oj=pe({components:{BCollapse:cee},plugins:{VBTogglePlugin:LE}});/**!
* @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 Pp=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",bee=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(Pp&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();function yee(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function _ee(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},bee))}}var wee=Pp&&window.Promise,See=wee?yee:_ee;function uj(t){var e={};return t&&e.toString.call(t)==="[object Function]"}function hc(t,e){if(t.nodeType!==1)return[];var r=t.ownerDocument.defaultView,n=r.getComputedStyle(t,null);return e?n[e]:n}function NE(t){return t.nodeName==="HTML"?t:t.parentNode||t.host}function Cp(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=hc(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?t:Cp(NE(t))}function cj(t){return t&&t.referenceNode?t.referenceNode:t}var p$=Pp&&!!(window.MSInputMethodContext&&document.documentMode),m$=Pp&&/MSIE 10/.test(navigator.userAgent);function Cd(t){return t===11?p$:t===10?m$:p$||m$}function Ql(t){if(!t)return document.documentElement;for(var e=Cd(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&&hc(r,"position")==="static"?Ql(r):r}function Oee(t){var e=t.nodeName;return e==="BODY"?!1:e==="HTML"||Ql(t.firstElementChild)===t}function zS(t){return t.parentNode!==null?zS(t.parentNode):t}function t0(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 s=a.commonAncestorContainer;if(t!==s&&e!==s||n.contains(i))return Oee(s)?s:Ql(s);var o=zS(t);return o.host?t0(o.host,e):t0(t,zS(e).host)}function ed(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 Tee(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=ed(e,"top"),i=ed(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 g$(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],Cd(10)?parseInt(r["offset"+t])+parseInt(n["margin"+(t==="Height"?"Top":"Left")])+parseInt(n["margin"+(t==="Height"?"Bottom":"Right")]):0)}function lj(t){var e=t.body,r=t.documentElement,n=Cd(10)&&getComputedStyle(r);return{height:v$("Height",e,r,n),width:v$("Width",e,r,n)}}var Eee=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},xee=function(){function t(e,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),td=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},Ti=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function No(t){return Ti({},t,{right:t.left+t.width,bottom:t.top+t.height})}function VS(t){var e={};try{if(Cd(10)){e=t.getBoundingClientRect();var r=ed(t,"top"),n=ed(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch{}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},a=t.nodeName==="HTML"?lj(t.ownerDocument):{},s=a.width||t.clientWidth||i.width,o=a.height||t.clientHeight||i.height,u=t.offsetWidth-s,c=t.offsetHeight-o;if(u||c){var l=hc(t);u-=g$(l,"x"),c-=g$(l,"y"),i.width-=u,i.height-=c}return No(i)}function BE(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Cd(10),i=e.nodeName==="HTML",a=VS(t),s=VS(e),o=Cp(t),u=hc(e),c=parseFloat(u.borderTopWidth),l=parseFloat(u.borderLeftWidth);r&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var d=No({top:a.top-s.top-c,left:a.left-s.left-l,width:a.width,height:a.height});if(d.marginTop=0,d.marginLeft=0,!n&&i){var f=parseFloat(u.marginTop),p=parseFloat(u.marginLeft);d.top-=c-f,d.bottom-=c-f,d.left-=l-p,d.right-=l-p,d.marginTop=f,d.marginLeft=p}return(n&&!r?e.contains(o):e===o&&o.nodeName!=="BODY")&&(d=Tee(d,e)),d}function Pee(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.ownerDocument.documentElement,n=BE(t,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),s=e?0:ed(r),o=e?0:ed(r,"left"),u={top:s-n.top+n.marginTop,left:o-n.left+n.marginLeft,width:i,height:a};return No(u)}function dj(t){var e=t.nodeName;if(e==="BODY"||e==="HTML")return!1;if(hc(t,"position")==="fixed")return!0;var r=NE(t);return r?dj(r):!1}function fj(t){if(!t||!t.parentElement||Cd())return document.documentElement;for(var e=t.parentElement;e&&hc(e,"transform")==="none";)e=e.parentElement;return e||document.documentElement}function FE(t,e,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},s=i?fj(t):t0(t,cj(e));if(n==="viewport")a=Pee(s,i);else{var o=void 0;n==="scrollParent"?(o=Cp(NE(e)),o.nodeName==="BODY"&&(o=t.ownerDocument.documentElement)):n==="window"?o=t.ownerDocument.documentElement:o=n;var u=BE(o,s,i);if(o.nodeName==="HTML"&&!dj(s)){var c=lj(t.ownerDocument),l=c.height,d=c.width;a.top+=u.top-u.marginTop,a.bottom=l+u.top,a.left+=u.left-u.marginLeft,a.right=d+u.left}else a=u}r=r||0;var f=typeof r=="number";return a.left+=f?r:r.left||0,a.top+=f?r:r.top||0,a.right-=f?r:r.right||0,a.bottom-=f?r:r.bottom||0,a}function Cee(t){var e=t.width,r=t.height;return e*r}function hj(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 s=FE(r,n,a,i),o={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},u=Object.keys(o).map(function(f){return Ti({key:f},o[f],{area:Cee(o[f])})}).sort(function(f,p){return p.area-f.area}),c=u.filter(function(f){var p=f.width,m=f.height;return p>=r.clientWidth&&m>=r.clientHeight}),l=c.length>0?c[0].key:u[0].key,d=t.split("-")[1];return l+(d?"-"+d:"")}function pj(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?fj(e):t0(e,cj(r));return BE(r,i,n)}function mj(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 r0(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 gj(t,e,r){r=r.split("-")[0];var n=mj(t),i={width:n.width,height:n.height},a=["right","left"].indexOf(r)!==-1,s=a?"top":"left",o=a?"left":"top",u=a?"height":"width",c=a?"width":"height";return i[s]=e[s]+e[u]/2-n[u]/2,r===o?i[o]=e[o]-n[c]:i[o]=e[r0(o)],i}function Ap(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Aee(t,e,r){if(Array.prototype.findIndex)return t.findIndex(function(i){return i[e]===r});var n=Ap(t,function(i){return i[e]===r});return t.indexOf(n)}function vj(t,e,r){var n=r===void 0?t:t.slice(0,Aee(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&&uj(a)&&(e.offsets.popper=No(e.offsets.popper),e.offsets.reference=No(e.offsets.reference),e=a(e,i))}),e}function Mee(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=pj(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=hj(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=gj(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=vj(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function bj(t,e){return t.some(function(r){var n=r.name,i=r.enabled;return i&&n===e})}function jE(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var i=e[n],a=i?""+i+r:t;if(typeof document.body.style[a]<"u")return a}return null}function $ee(){return this.state.isDestroyed=!0,bj(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[jE("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function yj(t){var e=t.ownerDocument;return e?e.defaultView:window}function _j(t,e,r,n){var i=t.nodeName==="BODY",a=i?t.ownerDocument.defaultView:t;a.addEventListener(e,r,{passive:!0}),i||_j(Cp(a.parentNode),e,r,n),n.push(a)}function kee(t,e,r,n){r.updateBound=n,yj(t).addEventListener("resize",r.updateBound,{passive:!0});var i=Cp(t);return _j(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function Dee(){this.state.eventsEnabled||(this.state=kee(this.reference,this.options,this.state,this.scheduleUpdate))}function Iee(t,e){return yj(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(r){r.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function Ree(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=Iee(this.reference,this.state))}function HE(t){return t!==""&&!isNaN(parseFloat(t))&&isFinite(t)}function US(t,e){Object.keys(e).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&HE(e[r])&&(n="px"),t.style[r]=e[r]+n})}function Lee(t,e){Object.keys(e).forEach(function(r){var n=e[r];n!==!1?t.setAttribute(r,e[r]):t.removeAttribute(r)})}function Nee(t){return US(t.instance.popper,t.styles),Lee(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&US(t.arrowElement,t.arrowStyles),t}function Bee(t,e,r,n,i){var a=pj(i,e,t,r.positionFixed),s=hj(r.placement,a,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",s),US(e,{position:r.positionFixed?"fixed":"absolute"}),r}function Fee(t,e){var r=t.offsets,n=r.popper,i=r.reference,a=Math.round,s=Math.floor,o=function(S){return S},u=a(i.width),c=a(n.width),l=["left","right"].indexOf(t.placement)!==-1,d=t.placement.indexOf("-")!==-1,f=u%2===c%2,p=u%2===1&&c%2===1,m=e?l||d||f?a:s:o,b=e?a:o;return{left:m(p&&!d&&e?n.left-1:n.left),top:b(n.top),bottom:b(n.bottom),right:m(n.right)}}var jee=Pp&&/Firefox/i.test(navigator.userAgent);function Hee(t,e){var r=e.x,n=e.y,i=t.offsets.popper,a=Ap(t.instance.modifiers,function(O){return O.name==="applyStyle"}).gpuAcceleration;a!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=a!==void 0?a:e.gpuAcceleration,o=Ql(t.instance.popper),u=VS(o),c={position:i.position},l=Fee(t,window.devicePixelRatio<2||!jee),d=r==="bottom"?"top":"bottom",f=n==="right"?"left":"right",p=jE("transform"),m=void 0,b=void 0;if(d==="bottom"?o.nodeName==="HTML"?b=-o.clientHeight+l.bottom:b=-u.height+l.bottom:b=l.top,f==="right"?o.nodeName==="HTML"?m=-o.clientWidth+l.right:m=-u.width+l.right:m=l.left,s&&p)c[p]="translate3d("+m+"px, "+b+"px, 0)",c[d]=0,c[f]=0,c.willChange="transform";else{var _=d==="bottom"?-1:1,S=f==="right"?-1:1;c[d]=b*_,c[f]=m*S,c.willChange=d+", "+f}var x={"x-placement":t.placement};return t.attributes=Ti({},x,t.attributes),t.styles=Ti({},c,t.styles),t.arrowStyles=Ti({},t.offsets.arrow,t.arrowStyles),t}function wj(t,e,r){var n=Ap(t,function(o){var u=o.name;return u===e}),i=!!n&&t.some(function(o){return o.name===r&&o.enabled&&o.order<n.order});if(!i){var a="`"+e+"`",s="`"+r+"`";console.warn(s+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return i}function zee(t,e){var r;if(!wj(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if(typeof n=="string"){if(n=t.instance.popper.querySelector(n),!n)return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],a=t.offsets,s=a.popper,o=a.reference,u=["left","right"].indexOf(i)!==-1,c=u?"height":"width",l=u?"Top":"Left",d=l.toLowerCase(),f=u?"left":"top",p=u?"bottom":"right",m=mj(n)[c];o[p]-m<s[d]&&(t.offsets.popper[d]-=s[d]-(o[p]-m)),o[d]+m>s[p]&&(t.offsets.popper[d]+=o[d]+m-s[p]),t.offsets.popper=No(t.offsets.popper);var b=o[d]+o[c]/2-m/2,_=hc(t.instance.popper),S=parseFloat(_["margin"+l]),x=parseFloat(_["border"+l+"Width"]),O=b-t.offsets.popper[d]-S-x;return O=Math.max(Math.min(s[c]-m,O),0),t.arrowElement=n,t.offsets.arrow=(r={},td(r,d,Math.round(O)),td(r,f,""),r),t}function Vee(t){return t==="end"?"start":t==="start"?"end":t}var Sj=["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"],yw=Sj.slice(3);function b$(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=yw.indexOf(t),n=yw.slice(r+1).concat(yw.slice(0,r));return e?n.reverse():n}var _w={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Uee(t,e){if(bj(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var r=FE(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],i=r0(n),a=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case _w.FLIP:s=[n,i];break;case _w.CLOCKWISE:s=b$(n);break;case _w.COUNTERCLOCKWISE:s=b$(n,!0);break;default:s=e.behavior}return s.forEach(function(o,u){if(n!==o||s.length===u+1)return t;n=t.placement.split("-")[0],i=r0(n);var c=t.offsets.popper,l=t.offsets.reference,d=Math.floor,f=n==="left"&&d(c.right)>d(l.left)||n==="right"&&d(c.left)<d(l.right)||n==="top"&&d(c.bottom)>d(l.top)||n==="bottom"&&d(c.top)<d(l.bottom),p=d(c.left)<d(r.left),m=d(c.right)>d(r.right),b=d(c.top)<d(r.top),_=d(c.bottom)>d(r.bottom),S=n==="left"&&p||n==="right"&&m||n==="top"&&b||n==="bottom"&&_,x=["top","bottom"].indexOf(n)!==-1,O=!!e.flipVariations&&(x&&a==="start"&&p||x&&a==="end"&&m||!x&&a==="start"&&b||!x&&a==="end"&&_),h=!!e.flipVariationsByContent&&(x&&a==="start"&&m||x&&a==="end"&&p||!x&&a==="start"&&_||!x&&a==="end"&&b),v=O||h;(f||S||v)&&(t.flipped=!0,(f||S)&&(n=s[u+1]),v&&(a=Vee(a)),t.placement=n+(a?"-"+a:""),t.offsets.popper=Ti({},t.offsets.popper,gj(t.instance.popper,t.offsets.reference,t.placement)),t=vj(t.instance.modifiers,t,"flip"))}),t}function Gee(t){var e=t.offsets,r=e.popper,n=e.reference,i=t.placement.split("-")[0],a=Math.floor,s=["top","bottom"].indexOf(i)!==-1,o=s?"right":"bottom",u=s?"left":"top",c=s?"width":"height";return r[o]<a(n[u])&&(t.offsets.popper[u]=a(n[u])-r[c]),r[u]>a(n[o])&&(t.offsets.popper[u]=a(n[o])),t}function Wee(t,e,r,n){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],s=i[2];if(!a)return t;if(s.indexOf("%")===0){var o=void 0;switch(s){case"%p":o=r;break;case"%":case"%r":default:o=n}var u=No(o);return u[e]/100*a}else if(s==="vh"||s==="vw"){var c=void 0;return s==="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 Yee(t,e,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,s=t.split(/(\+|\-)/).map(function(l){return l.trim()}),o=s.indexOf(Ap(s,function(l){return l.search(/,|\s/)!==-1}));s[o]&&s[o].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=o!==-1?[s.slice(0,o).concat([s[o].split(u)[0]]),[s[o].split(u)[1]].concat(s.slice(o+1))]:[s];return c=c.map(function(l,d){var f=(d===1?!a:a)?"height":"width",p=!1;return l.reduce(function(m,b){return m[m.length-1]===""&&["+","-"].indexOf(b)!==-1?(m[m.length-1]=b,p=!0,m):p?(m[m.length-1]+=b,p=!1,m):m.concat(b)},[]).map(function(m){return Wee(m,f,e,r)})}),c.forEach(function(l,d){l.forEach(function(f,p){HE(f)&&(i[d]+=f*(l[p-1]==="-"?-1:1))})}),i}function Kee(t,e){var r=e.offset,n=t.placement,i=t.offsets,a=i.popper,s=i.reference,o=n.split("-")[0],u=void 0;return HE(+r)?u=[+r,0]:u=Yee(r,a,s,o),o==="left"?(a.top+=u[0],a.left-=u[1]):o==="right"?(a.top+=u[0],a.left+=u[1]):o==="top"?(a.left+=u[0],a.top-=u[1]):o==="bottom"&&(a.left+=u[0],a.top+=u[1]),t.popper=a,t}function qee(t,e){var r=e.boundariesElement||Ql(t.instance.popper);t.instance.reference===r&&(r=Ql(r));var n=jE("transform"),i=t.instance.popper.style,a=i.top,s=i.left,o=i[n];i.top="",i.left="",i[n]="";var u=FE(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);i.top=a,i.left=s,i[n]=o,e.boundaries=u;var c=e.priority,l=t.offsets.popper,d={primary:function(p){var m=l[p];return l[p]<u[p]&&!e.escapeWithReference&&(m=Math.max(l[p],u[p])),td({},p,m)},secondary:function(p){var m=p==="right"?"left":"top",b=l[m];return l[p]>u[p]&&!e.escapeWithReference&&(b=Math.min(l[m],u[p]-(p==="right"?l.width:l.height))),td({},m,b)}};return c.forEach(function(f){var p=["left","top"].indexOf(f)!==-1?"primary":"secondary";l=Ti({},l,d[p](f))}),t.offsets.popper=l,t}function Xee(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var i=t.offsets,a=i.reference,s=i.popper,o=["bottom","top"].indexOf(r)!==-1,u=o?"left":"top",c=o?"width":"height",l={start:td({},u,a[u]),end:td({},u,a[u]+a[c]-s[c])};t.offsets.popper=Ti({},s,l[n])}return t}function Jee(t){if(!wj(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=Ap(t.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(t.hide===!0)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(t.hide===!1)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function Zee(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,i=n.popper,a=n.reference,s=["left","right"].indexOf(r)!==-1,o=["top","left"].indexOf(r)===-1;return i[s?"left":"top"]=a[r]-(o?i[s?"width":"height"]:0),t.placement=r0(e),t.offsets.popper=No(i),t}var Qee={shift:{order:100,enabled:!0,fn:Xee},offset:{order:200,enabled:!0,fn:Kee,offset:0},preventOverflow:{order:300,enabled:!0,fn:qee,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:Gee},arrow:{order:500,enabled:!0,fn:zee,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:Uee,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:Zee},hide:{order:800,enabled:!0,fn:Jee},computeStyle:{order:850,enabled:!0,fn:Hee,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:Nee,onLoad:Bee,gpuAcceleration:void 0}},ete={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Qee},Db=function(){function t(e,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Eee(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=See(this.update.bind(this)),this.options=Ti({},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(Ti({},t.Defaults.modifiers,i.modifiers)).forEach(function(s){n.options.modifiers[s]=Ti({},t.Defaults.modifiers[s]||{},i.modifiers?i.modifiers[s]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(s){return Ti({name:s},n.options.modifiers[s])}).sort(function(s,o){return s.order-o.order}),this.modifiers.forEach(function(s){s.enabled&&uj(s.onLoad)&&s.onLoad(n.reference,n.popper,n.options,s,n.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return xee(t,[{key:"update",value:function(){return Mee.call(this)}},{key:"destroy",value:function(){return $ee.call(this)}},{key:"enableEventListeners",value:function(){return Dee.call(this)}},{key:"disableEventListeners",value:function(){return Ree.call(this)}}]),t}();Db.Utils=(typeof window<"u"?window:global).PopperUtils;Db.placements=Sj;Db.Defaults=ete;const GS=Db;var tte="top-start",rte="top-end",nte="bottom-start",ite="bottom-end",ate="right-start",ste="left-start";function ote(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y$(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ute(t,e,r){return e&&y$(t.prototype,e),r&&y$(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var pc=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ote(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));wp(this,t.Defaults,this.constructor.Defaults,r,{type:e}),bb(this,{type:_i(),cancelable:_i(),nativeEvent:_i(),target:_i(),relatedTarget:_i(),vueTarget:_i(),componentId:_i()});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},mE(this,"defaultPrevented",{enumerable:!0,get:function(){return n}})}return ute(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),t}(),cte=V.extend({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(e,r){e!==r&&(kt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ve),e&&Ot(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ve))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&Ot(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ve)},beforeDestroy:function(){kt(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ve)},methods:{isClickOut:function(e){return!lr(this.$el,e.target)},_clickOutHandler:function(e){this.clickOutHandler&&this.isClickOut(e)&&this.clickOutHandler(e)}}}),lte=V.extend({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(e,r){e!==r&&(kt(this.focusInElement,"focusin",this._focusInHandler,Ve),e&&Ot(this.focusInElement,"focusin",this._focusInHandler,Ve))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&Ot(this.focusInElement,"focusin",this._focusInHandler,Ve)},beforeDestroy:function(){kt(this.focusInElement,"focusin",this._focusInHandler,Ve)},methods:{_focusInHandler:function(e){this.focusInHandler&&this.focusInHandler(e)}}});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 w$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_$(Object(r),!0).forEach(function(n){dte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var S$=Ht(Xu,fn),fte=Ht(Xu,Xt),hte=".dropdown form",pte=[".dropdown-item",".b-dropdown-form"].map(function(t){return"".concat(t,":not(.disabled):not([disabled])")}).join(", "),mte=function(e){return(e||[]).filter(Vi)},Ib=ee(fe(w$(w$({},ct),{},{boundary:y([yo,I],"scrollParent"),disabled:y(B,!1),dropleft:y(B,!1),dropright:y(B,!1),dropup:y(B,!1),noFlip:y(B,!1),offset:y(le,0),popperOpts:y(pr,{}),right:y(B,!1)})),Xu),zE=V.extend({mixins:[ht,Xi,cte,lte],provide:function(){return{bvDropdown:this}},inject:{bvNavbar:{default:null}},props:Ib,data:function(){return{visible:!1,visibleChangePrevented:!1}},computed:{inNavbar:function(){return!St(this.bvNavbar)},toggler:function(){var e=this.$refs.toggle;return e?e.$el||e:null},directionClass:function(){return this.dropup?"dropup":this.dropright?"dropright":this.dropleft?"dropleft":""},boundaryClass:function(){return this.boundary!=="scrollParent"&&!this.inNavbar?"position-static":""},hideDelay:function(){return this.inNavbar?Bv?300:50:0}},watch:{visible:function(e,r){if(this.visibleChangePrevented){this.visibleChangePrevented=!1;return}if(e!==r){var n=e?Nr:$n,i=new pc(n,{cancelable:!0,vueTarget:this,target:this.$refs.menu,relatedTarget:null,componentId:this.safeId?this.safeId():this.id||null});if(this.emitEvent(i),i.defaultPrevented){this.visibleChangePrevented=!0,this.visible=r,this.$off(Xt,this.focusToggler);return}e?this.showMenu():this.hideMenu()}},disabled:function(e,r){e!==r&&e&&this.visible&&(this.visible=!1)}},created:function(){this.$_popper=null,this.$_hideTimeout=null},deactivated:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper()},beforeDestroy:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper(),this.clearHideTimeout()},methods:{emitEvent:function(e){var r=e.type;this.emitOnRoot(Ht(Xu,r),e),this.$emit(r,e)},showMenu:function(){var e=this;if(!this.disabled){if(!this.inNavbar)if(typeof GS>"u")Tr("Popper.js not found. Falling back to CSS positioning",Xu);else{var r=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;r=r.$el||r,this.createPopper(r)}this.emitOnRoot(S$,this),this.whileOpenListen(!0),this.$nextTick(function(){e.focusMenu(),e.$emit(fn)})}},hideMenu:function(){this.whileOpenListen(!1),this.emitOnRoot(fte,this),this.$emit(Xt),this.destroyPopper()},createPopper:function(e){this.destroyPopper(),this.$_popper=new GS(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=nte;this.dropup?e=this.right?rte:tte:this.dropright?e=ate:this.dropleft?e=ste:this.right&&(e=ite);var r={placement:e,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}},n=this.boundary;return n&&(r.modifiers.preventOverflow={boundariesElement:n}),Eq(r,this.popperOpts||{})},whileOpenListen:function(e){this.listenForClickOut=e,this.listenForFocusIn=e;var r=e?"$on":"$off";this.$root[r](S$,this.rootCloseListener)},rootCloseListener:function(e){e!==this&&(this.visible=!1)},show:function(){var e=this;this.disabled||at(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(Xt,this.focusToggler))},toggle:function(e){e=e||{};var r=e,n=r.type,i=r.keyCode;if(!(n!=="click"&&!(n==="keydown"&&[ks,Va,pn].indexOf(i)!==-1))){if(this.disabled){this.visible=!1;return}this.$emit(ZF,e),ke(e),this.visible?this.hide(!0):this.show()}},onMousedown:function(e){ke(e,{propagation:!1})},onKeydown:function(e){var r=e.keyCode;r===xE?this.onEsc(e):r===pn?this.focusNext(e,!1):r===Dn&&this.focusNext(e,!0)},onEsc:function(e){this.visible&&(this.visible=!1,ke(e),this.$once(Xt,this.focusToggler))},onSplitClick:function(e){if(this.disabled){this.visible=!1;return}this.$emit(Pi,e)},hideHandler:function(e){var r=this,n=e.target;this.visible&&!lr(this.$refs.menu,n)&&!lr(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&&kn(hte,i)||(ke(e),this.$nextTick(function(){var a=n.getItems();if(!(a.length<1)){var s=a.indexOf(i);r&&s>0?s--:!r&&s<a.length-1&&s++,s<0&&(s=0),n.focusItem(s,a)}}))},focusItem:function(e,r){var n=r.find(function(i,a){return a===e});Ie(n)},getItems:function(){return mte(si(pte,this.$refs.menu))},focusMenu:function(){Ie(this.$refs.menu)},focusToggler:function(){var e=this;this.$nextTick(function(){Ie(e.toggler)})}}});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 us(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?O$(Object(r),!0).forEach(function(n){gte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Oj=ee(fe(us(us(us({},ct),Ib),{},{block:y(B,!1),html:y(I),lazy:y(B,!1),menuClass:y(we),noCaret:y(B,!1),role:y(I,"menu"),size:y(I),split:y(B,!1),splitButtonType:y(I,"button",function(t){return Ee(["button","submit","reset"],t)}),splitClass:y(we),splitHref:y(I),splitTo:y(n4),splitVariant:y(I),text:y(I),toggleAttrs:y(pr,{}),toggleClass:y(we),toggleTag:y(I,"button"),toggleText:y(I,"Toggle dropdown"),variant:y(I,"secondary")})),Xu),T$=V.extend({name:Xu,mixins:[ht,zE,Ce],props:Oj,computed:{dropdownClasses:function(){var e=this.block,r=this.split;return[this.directionClass,this.boundaryClass,{show:this.visible,"btn-group":r||!e,"d-flex":e&&r}]},menuClasses:function(){return[this.menuClass,{"dropdown-menu-right":this.right,show:this.visible}]},toggleClasses:function(){var e=this.split;return[this.toggleClass,{"dropdown-toggle-split":e,"dropdown-toggle-no-caret":this.noCaret&&!e}]}},render:function(e){var r=this.visible,n=this.variant,i=this.size,a=this.block,s=this.disabled,o=this.split,u=this.role,c=this.hide,l=this.toggle,d={variant:n,size:i,block:a,disabled:s},f=this.normalizeSlot(Es),p=this.hasNormalizedSlot(Es)?{}:Rt(this.html,this.text),m=e();if(o){var b=this.splitTo,_=this.splitHref,S=this.splitButtonType,x=us(us({},d),{},{variant:this.splitVariant||n});b?x.to=b:_?x.href=_:S&&(x.type=S),m=e(In,{class:this.splitClass,attrs:{id:this.safeId("_BV_button_")},props:x,domProps:p,on:{click:this.onSplitClick},ref:"button"},f),f=[e("span",{class:["sr-only"]},[this.toggleText])],p={}}var O=["menu","listbox","tree","grid","dialog"],h=e(In,{staticClass:"dropdown-toggle",class:this.toggleClasses,attrs:us(us({},this.toggleAttrs),{},{id:this.safeId("_BV_toggle_"),"aria-haspopup":O.includes(u)?u:"false","aria-expanded":_e(r)}),props:us(us({},d),{},{tag:this.toggleTag,block:a&&!o}),domProps:p,on:{mousedown:this.onMousedown,click:l,keydown:l},ref:"toggle"},f),v=e("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{role:u,tabindex:"-1","aria-labelledby":this.safeId(o?"_BV_button_":"_BV_toggle_")},on:{keydown:this.onKeydown},ref:"menu"},[!this.lazy||r?this.normalizeSlot(br,{hide:c}):e()]);return e("div",{staticClass:"dropdown b-dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[m,h,v])}});function E$(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 n0(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?E$(Object(r),!0).forEach(function(n){Tj(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Tj(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ej=Re(Ji,["event","routerTag"]),vte=ee(fe(n0(n0({},Ej),{},{linkClass:y(we),variant:y(I)})),EB),x$=V.extend({name:EB,mixins:[Er,Ce],inject:{bvDropdown:{default:null}},inheritAttrs:!1,props:vte,computed:{computedAttrs:function(){return n0(n0({},this.bvAttrs),{},{role:"menuitem"})}},methods:{closeDropdown:function(){var e=this;at(function(){e.bvDropdown&&e.bvDropdown.hide(!0)})},onClick:function(e){this.$emit(Pi,e),this.closeDropdown()}},render:function(e){var r=this.linkClass,n=this.variant,i=this.active,a=this.disabled,s=this.onClick,o=this.bvAttrs;return e("li",{class:o.class,style:o.style,attrs:{role:"presentation"}},[e(Ln,{staticClass:"dropdown-item",class:[r,Tj({},"text-".concat(n),n&&!(i||a))],props:Et(Ej,this.$props),attrs:this.computedAttrs,on:{click:s},ref:"item"},this.normalizeSlot())])}});function P$(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 C$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?P$(Object(r),!0).forEach(function(n){WS(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function WS(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bte=ee({active:y(B,!1),activeClass:y(I,"active"),buttonClass:y(we),disabled:y(B,!1),variant:y(I)},xB),Pm=V.extend({name:xB,mixins:[Er,Ce],inject:{bvDropdown:{default:null}},inheritAttrs:!1,props:bte,computed:{computedAttrs:function(){return C$(C$({},this.bvAttrs),{},{role:"menuitem",type:"button",disabled:this.disabled})}},methods:{closeDropdown:function(){this.bvDropdown&&this.bvDropdown.hide(!0)},onClick:function(e){this.$emit(Pi,e),this.closeDropdown()}},render:function(e){var r,n=this.active,i=this.variant,a=this.bvAttrs;return e("li",{class:a.class,style:a.style,attrs:{role:"presentation"}},[e("button",{staticClass:"dropdown-item",class:[this.buttonClass,(r={},WS(r,this.activeClass,n),WS(r,"text-".concat(i),i&&!(n||this.disabled)),r)],attrs:this.computedAttrs,on:{click:this.onClick},ref:"button"},this.normalizeSlot())])}});function A$(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 M$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?A$(Object(r),!0).forEach(function(n){xj(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function xj(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yte=ee({id:y(I),tag:y(I,"header"),variant:y(I)},TB),$$=V.extend({name:TB,functional:!0,props:yte,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.tag,o=n.variant;return e("li",ve(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[e(s,{staticClass:"dropdown-header",class:xj({},"text-".concat(o),o),attrs:M$(M$({},i.attrs||{}),{},{id:n.id||null,role:za(s,"header")?null:"heading"}),ref:"header"},a)])}});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 D$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?k$(Object(r),!0).forEach(function(n){_te(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _te(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wte=ee({tag:y(I,"hr")},wB),I$=V.extend({name:wB,functional:!0,props:wte,render:function(e,r){var n=r.props,i=r.data;return e("li",ve(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[e(n.tag,{staticClass:"dropdown-divider",attrs:D$(D$({},i.attrs||{}),{},{role:"separator","aria-orientation":"horizontal"}),ref:"divider"})])}}),VE=ee({id:y(I),inline:y(B,!1),novalidate:y(B,!1),validated:y(B,!1)},AB),UE=V.extend({name:AB,functional:!0,props:VE,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e("form",ve(i,{class:{"form-inline":n.inline,"was-validated":n.validated},attrs:{id:n.id,novalidate:n.novalidate}}),a)}});function R$(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;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?R$(Object(r),!0).forEach(function(n){Ste(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):R$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ste(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ote=ee(fe(i0(i0({},VE),{},{disabled:y(B,!1),formClass:y(we)})),SB),L$=V.extend({name:SB,functional:!0,props:Ote,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children;return e("li",ve(Re(i,["attrs","on"]),{attrs:{role:"presentation"}}),[e(UE,{staticClass:"b-dropdown-form",class:[n.formClass,{disabled:n.disabled}],props:n,attrs:i0(i0({},i.attrs||{}),{},{disabled:n.disabled,tabindex:n.disabled?null:"-1"}),on:a,ref:"form"},s)])}});function Tte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ete=ee({tag:y(I,"p"),textClass:y(we),variant:y(I)},PB),N$=V.extend({name:PB,functional:!0,props:Ete,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.tag,o=n.textClass,u=n.variant;return e("li",ve(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[e(s,{staticClass:"b-dropdown-text",class:[o,Tte({},"text-".concat(u),u)],props:n,attrs:i.attrs||{},ref:"text"},a)])}});function B$(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 F$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?B$(Object(r),!0).forEach(function(n){Pj(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):B$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Pj(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xte=ee({ariaDescribedby:y(I),header:y(I),headerClasses:y(we),headerTag:y(I,"header"),headerVariant:y(I),id:y(I)},OB),j$=V.extend({name:OB,functional:!0,props:xte,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=n.id,u=n.variant,c=n.header,l=n.headerTag,d=a(),f=s||{},p={},m=o?"_bv_".concat(o,"_group_dd_header"):null,b=e();return(xs(Do,f,d)||c)&&(b=e(l,{staticClass:"dropdown-header",class:[n.headerClasses,Pj({},"text-".concat(u),u)],attrs:{id:m,role:za(l,"header")?null:"heading"}},Br(Do,p,f,d)||c)),e("li",ve(Re(i,["attrs"]),{attrs:{role:"presentation"}}),[b,e("ul",{staticClass:"list-unstyled",attrs:F$(F$({},i.attrs||{}),{},{id:o,role:"group","aria-describedby":[m,n.ariaDescribedBy].filter(Te).join(" ").trim()||null})},Br(br,p,f,d))])}}),GE=pe({components:{BDropdown:T$,BDd:T$,BDropdownItem:x$,BDdItem:x$,BDropdownItemButton:Pm,BDropdownItemBtn:Pm,BDdItemButton:Pm,BDdItemBtn:Pm,BDropdownHeader:$$,BDdHeader:$$,BDropdownDivider:I$,BDdDivider:I$,BDropdownForm:L$,BDdForm:L$,BDropdownText:N$,BDdText:N$,BDropdownGroup:j$,BDdGroup:j$}});function Pte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Cte=["iframe","embed","video","object","img","b-img","b-img-lazy"],Ate=ee({aspect:y(I,"16by9"),tag:y(I,"div"),type:y(I,"iframe",function(t){return Ee(Cte,t)})},CB),Mte=V.extend({name:CB,functional:!0,props:Ate,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.aspect;return e(n.tag,{staticClass:"embed-responsive",class:Pte({},"embed-responsive-".concat(s),s),ref:i.ref},[e(n.type,ve(Re(i,["ref"]),{staticClass:"embed-responsive-item"}),a)])}}),$te=pe({components:{BEmbed:Mte}}),kte='Setting prop "options" to an object is deprecated. Use the array format instead.',Mp=ee({disabledField:y(I,"disabled"),htmlField:y(I,"html"),options:y(MX,[]),textField:y(I,"text"),valueField:y(I,"value")},"formOptionControls"),Rb=V.extend({props:Mp,computed:{formOptions:function(){return this.normalizeOptions(this.options)}},methods:{normalizeOption:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Zr(e)){var n=Vr(e,this.valueField),i=Vr(e,this.textField);return{value:Jt(n)?r||i:n,text:IM(String(Jt(i)?r:i)),html:Vr(e,this.htmlField),disabled:!!Vr(e,this.disabledField)}}return{value:r||e,text:IM(String(e)),disabled:!1}},normalizeOptions:function(e){var r=this;return rt(e)?e.map(function(n){return r.normalizeOption(n)}):Zr(e)?(Tr(kte,this.$options.name),Pe(e).map(function(n){return r.normalizeOption(e[n]||{},n)})):[]}}});function H$(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 z$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?H$(Object(r),!0).forEach(function(n){Dte(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):H$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Dte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ite=ee(fe(z$(z$({},Mp),{},{id:y(I,void 0,!0)})),kB),V$=V.extend({name:kB,mixins:[Rb,Ce],props:Ite,render:function(e){var r=this.id,n=this.formOptions.map(function(i,a){var s=i.value,o=i.text,u=i.html,c=i.disabled;return e("option",{attrs:{value:s,disabled:c},domProps:Rt(u,o),key:"option_".concat(a)})});return e("datalist",{attrs:{id:r}},[n,this.normalizeSlot()])}});function Rte(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Lte=ee({id:y(I),inline:y(B,!1),tag:y(I,"small"),textVariant:y(I,"muted")},YB),a0=V.extend({name:YB,functional:!0,props:Lte,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{class:Rte({"form-text":!n.inline},"text-".concat(n.textVariant),n.textVariant),attrs:{id:n.id}}),a)}}),Nte=ee({ariaLive:y(I),forceShow:y(B,!1),id:y(I),role:y(I),state:y(B,null),tag:y(I,"div"),tooltip:y(B,!1)},LB),s0=V.extend({name:LB,functional:!0,props:Nte,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.tooltip,o=n.ariaLive,u=n.forceShow===!0||n.state===!1;return e(n.tag,ve(i,{class:{"d-block":u,"invalid-feedback":!s,"invalid-tooltip":s},attrs:{id:n.id||null,role:n.role||null,"aria-live":o||null,"aria-atomic":o?"true":null}}),a)}}),Bte=ee({ariaLive:y(I),forceShow:y(B,!1),id:y(I),role:y(I),state:y(B,null),tag:y(I,"div"),tooltip:y(B,!1)},XB),Cj=V.extend({name:XB,functional:!0,props:Bte,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.tooltip,o=n.ariaLive,u=n.forceShow===!0||n.state===!0;return e(n.tag,ve(i,{class:{"d-block":u,"valid-feedback":!s,"valid-tooltip":s},attrs:{id:n.id||null,role:n.role||null,"aria-live":o||null,"aria-atomic":o?"true":null}}),a)}}),Fte=ee({tag:y(I,"div")},jB),o0=V.extend({name:jB,functional:!0,props:Fte,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{staticClass:"form-row"}),a)}}),jte=pe({components:{BForm:UE,BFormDatalist:V$,BDatalist:V$,BFormText:a0,BFormInvalidFeedback:s0,BFormFeedback:s0,BFormValidFeedback:Cj,BFormRow:o0}}),U$=function(e,r){for(var n=0;n<e.length;n++)if(Je(e[n],r))return n;return-1},G$="input, textarea, select",Zi=ee({autofocus:y(B,!1),disabled:y(B,!1),form:y(I),id:y(I),name:y(I),required:y(B,!1)},"formControls"),mc=V.extend({props:Zi,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var e=this;this.$nextTick(function(){at(function(){var r=e.$el;e.autofocus&&Vi(r)&&(Ss(r,G$)||(r=ni(G$,r)),Ie(r))})})}}}),$p=ee({plain:y(B,!1)},"formControls"),Lb=V.extend({props:$p,computed:{custom:function(){return!this.plain}}}),Qi=ee({size:y(I)},"formControls"),Is=V.extend({props:Qi,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}}),ea=ee({state:y(B,null)},"formState"),Ua=V.extend({props:ea,computed:{computedState:function(){return Si(this.state)?this.state:null},stateClass:function(){var e=this.computedState;return e===!0?"is-valid":e===!1?"is-invalid":null},computedAriaInvalid:function(){var e=this.ariaInvalid;return e===!0||e==="true"||e===""||this.computedState===!1?"true":e}}}),Cm,Ks;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 Sa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?W$(Object(r),!0).forEach(function(n){Sn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):W$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Sn(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=mr("checked",{defaultValue:null}),Hte=Nb.mixin,zte=Nb.props,hf=Nb.prop,WE=Nb.event,YE=ee(fe(Sa(Sa(Sa(Sa(Sa(Sa(Sa({},ct),zte),Zi),Qi),ea),$p),{},{ariaLabel:y(I),ariaLabelledby:y(I),button:y(B,!1),buttonVariant:y(I),inline:y(B,!1),value:y(Xl)})),"formRadioCheckControls"),Aj=V.extend({mixins:[Er,ht,Hte,Ce,mc,Is,Ua,Lb],inheritAttrs:!1,props:YE,data:function(){return{localChecked:this.isGroup?this.bvGroup[hf]:this[hf],hasFocus:!1}},computed:{computedLocalChecked:{get:function(){return this.isGroup?this.bvGroup.localChecked:this.localChecked},set:function(e){this.isGroup?this.bvGroup.localChecked=e:this.localChecked=e}},isChecked:function(){return Je(this.value,this.computedLocalChecked)},isRadio:function(){return!0},isGroup:function(){return!!this.bvGroup},isBtnMode:function(){return this.isGroup?this.bvGroup.buttons:this.button},isPlain:function(){return this.isBtnMode?!1:this.isGroup?this.bvGroup.plain:this.plain},isCustom:function(){return this.isBtnMode?!1:!this.isPlain},isSwitch:function(){return this.isBtnMode||this.isRadio||this.isPlain?!1:this.isGroup?this.bvGroup.switches:this.switch},isInline:function(){return this.isGroup?this.bvGroup.inline:this.inline},isDisabled:function(){return this.isGroup?this.bvGroup.disabled||this.disabled:this.disabled},isRequired:function(){return this.computedName&&(this.isGroup?this.bvGroup.required:this.required)},computedName:function(){return(this.isGroup?this.bvGroup.groupName:this.name)||null},computedForm:function(){return(this.isGroup?this.bvGroup.form:this.form)||null},computedSize:function(){return(this.isGroup?this.bvGroup.size:this.size)||""},computedState:function(){return this.isGroup?this.bvGroup.computedState:Si(this.state)?this.state:null},computedButtonVariant:function(){var e=this.buttonVariant;return e||(this.isGroup&&this.bvGroup.buttonVariant?this.bvGroup.buttonVariant:"secondary")},buttonClasses:function(){var e,r=this.computedSize;return["btn","btn-".concat(this.computedButtonVariant),(e={},Sn(e,"btn-".concat(r),r),Sn(e,"disabled",this.isDisabled),Sn(e,"active",this.isChecked),Sn(e,"focus",this.hasFocus),e)]},computedAttrs:function(){var e=this.isDisabled,r=this.isRequired;return Sa(Sa({},this.bvAttrs),{},{id:this.safeId(),type:this.isRadio?"radio":"checkbox",name:this.computedName,form:this.computedForm,disabled:e,required:r,"aria-required":r||null,"aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||null})}},watch:(Cm={},Sn(Cm,hf,function(){this["".concat(hf,"Watcher")].apply(this,arguments)}),Sn(Cm,"computedLocalChecked",function(){this.computedLocalCheckedWatcher.apply(this,arguments)}),Cm),methods:(Ks={},Sn(Ks,"".concat(hf,"Watcher"),function(e){Je(e,this.computedLocalChecked)||(this.computedLocalChecked=e)}),Sn(Ks,"computedLocalCheckedWatcher",function(e,r){Je(e,r)||this.$emit(WE,e)}),Sn(Ks,"handleChange",function(e){var r=this,n=e.target.checked,i=this.value,a=n?i:null;this.computedLocalChecked=i,this.$nextTick(function(){r.$emit(Rn,a),r.isGroup&&r.bvGroup.$emit(Rn,a)})}),Sn(Ks,"handleFocus",function(e){e.target&&(e.type==="focus"?this.hasFocus=!0:e.type==="blur"&&(this.hasFocus=!1))}),Sn(Ks,"focus",function(){this.isDisabled||Ie(this.$refs.input)}),Sn(Ks,"blur",function(){this.isDisabled||Bn(this.$refs.input)}),Ks),render:function(e){var r=this.isRadio,n=this.isBtnMode,i=this.isPlain,a=this.isCustom,s=this.isInline,o=this.isSwitch,u=this.computedSize,c=this.bvAttrs,l=this.normalizeSlot(),d=e("input",{class:[{"form-check-input":i,"custom-control-input":a,"position-static":i&&!l},n?"":this.stateClass],directives:[{name:"model",value:this.computedLocalChecked}],attrs:this.computedAttrs,domProps:{value:this.value,checked:this.isChecked},on:Sa({change:this.handleChange},n?{focus:this.handleFocus,blur:this.handleFocus}:{}),key:"input",ref:"input"});if(n){var f=e("label",{class:this.buttonClasses},[d,l]);return this.isGroup||(f=e("div",{class:["btn-group-toggle","d-inline-block"]},[f])),f}var p=e();return i&&!l||(p=e("label",{class:{"form-check-label":i,"custom-control-label":a},attrs:{for:this.safeId()}},l)),e("div",{class:[Sn({"form-check":i,"form-check-inline":i&&s,"custom-control":a,"custom-control-inline":a&&s,"custom-checkbox":a&&!r&&!o,"custom-switch":o,"custom-radio":a&&r},"b-custom-control-".concat(u),u&&!n),c.class],style:c.style},[d,p])}}),Vc;function Y$(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 K$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Y$(Object(r),!0).forEach(function(n){El(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Y$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function El(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u0="indeterminate",ww=Vo+u0,Vte=ee(fe(K$(K$({},YE),{},(Vc={},El(Vc,u0,y(B,!1)),El(Vc,"switch",y(B,!1)),El(Vc,"uncheckedValue",y(Xl,!1)),El(Vc,"value",y(Xl,!0)),Vc))),MB),Hg=V.extend({name:MB,mixins:[Aj],inject:{bvGroup:{from:"bvCheckGroup",default:null}},props:Vte,computed:{isChecked:function(){var e=this.value,r=this.computedLocalChecked;return rt(r)?U$(r,e)>-1:Je(r,e)},isRadio:function(){return!1}},watch:El({},u0,function(t,e){Je(t,e)||this.setIndeterminate(t)}),mounted:function(){this.setIndeterminate(this[u0])},methods:{computedLocalCheckedWatcher:function(e,r){if(!Je(e,r)){this.$emit(WE,e);var n=this.$refs.input;n&&this.$emit(ww,n.indeterminate)}},handleChange:function(e){var r=this,n=e.target,i=n.checked,a=n.indeterminate,s=this.value,o=this.uncheckedValue,u=this.computedLocalChecked;if(rt(u)){var c=U$(u,s);i&&c<0?u=u.concat(s):!i&&c>-1&&(u=u.slice(0,c).concat(u.slice(c+1)))}else u=i?s:o;this.computedLocalChecked=u,this.$nextTick(function(){r.$emit(Rn,u),r.isGroup&&r.bvGroup.$emit(Rn,u),r.$emit(ww,a)})},setIndeterminate:function(e){rt(this.computedLocalChecked)&&(e=!1);var r=this.$refs.input;r&&(r.indeterminate=e,this.$emit(ww,e))}}}),Ute=ee(YE,NB),YS=V.extend({name:NB,mixins:[Aj],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:Ute,watch:{computedLocalChecked:function(e,r){Je(e,r)||this.$emit(WE,e)}}}),Am;function q$(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 ba(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?q$(Object(r),!0).forEach(function(n){zg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):q$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function zg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var X$=["aria-describedby","aria-labelledby"],Bb=mr("checked"),Gte=Bb.mixin,Wte=Bb.props,KS=Bb.prop,Yte=Bb.event,KE=ee(fe(ba(ba(ba(ba(ba(ba(ba(ba({},ct),Wte),Zi),Mp),Qi),ea),$p),{},{ariaInvalid:y(en,!1),buttonVariant:y(I),buttons:y(B,!1),stacked:y(B,!1),validated:y(B,!1)})),"formRadioCheckGroups"),Mj=V.extend({mixins:[ht,Gte,Ce,mc,Rb,Is,Ua,Lb],inheritAttrs:!1,props:KE,data:function(){return{localChecked:this[KS]}},computed:{inline:function(){return!this.stacked},groupName:function(){return this.name||this.safeId()},groupClasses:function(){var e=this.inline,r=this.size,n=this.validated,i={"was-validated":n};return this.buttons&&(i=[i,"btn-group-toggle",zg({"btn-group":e,"btn-group-vertical":!e},"btn-group-".concat(r),r)]),i}},watch:(Am={},zg(Am,KS,function(t){Je(t,this.localChecked)||(this.localChecked=t)}),zg(Am,"localChecked",function(e,r){Je(e,r)||this.$emit(Yte,e)}),Am),render:function(e){var r=this,n=this.isRadioGroup,i=qi(this.$attrs,X$),a=n?YS:Hg,s=this.formOptions.map(function(o,u){var c="BV_option_".concat(u);return e(a,{props:{disabled:o.disabled||!1,id:r.safeId(c),value:o.value},attrs:i,key:c},[e("span",{domProps:Rt(o.html,o.text)})])});return e("div",{class:[this.groupClasses,"bv-no-focus-ring"],attrs:ba(ba({},Re(this.$attrs,X$)),{},{"aria-invalid":this.computedAriaInvalid,"aria-required":this.required?"true":null,id:this.safeId(),role:n?"radiogroup":"group",tabindex:"-1"})},[this.normalizeSlot(_E),s,this.normalizeSlot()])}}),Mm;function J$(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 Z$(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?J$(Object(r),!0).forEach(function(n){qS(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):J$(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function qS(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kte=ee(fe(Z$(Z$({},KE),{},(Mm={},qS(Mm,KS,y(hn,[])),qS(Mm,"switches",y(B,!1)),Mm))),$B),Sw=V.extend({name:$B,mixins:[Mj],provide:function(){return{bvCheckGroup:this}},props:Kte,computed:{isRadioGroup:function(){return!1}}}),qte=pe({components:{BFormCheckbox:Hg,BCheckbox:Hg,BCheck:Hg,BFormCheckboxGroup:Sw,BCheckboxGroup:Sw,BCheckGroup:Sw}}),$m="__BV_hover_handler__",$j="mouseenter",Xte="mouseleave",Jte=function(e){var r=function(i){e(i.type===$j,i)};return r.fn=e,r},Q$=function(e,r,n){Ui(e,r,$j,n,Ve),Ui(e,r,Xte,n,Ve)},Ow=function(e,r){var n=r.value,i=n===void 0?null:n;if(ft){var a=e[$m],s=be(a),o=!(s&&a.fn===i);s&&o&&(Q$(!1,e,a),delete e[$m]),be(i)&&o&&(e[$m]=Jte(i),Q$(!0,e,e[$m]))}},kj={bind:Ow,componentUpdated:Ow,unbind:function(e){Ow(e,{value:null})}};function ek(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 Uc(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ek(Object(r),!0).forEach(function(n){fl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ek(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fl(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qE=fe(Uc(Uc(Uc(Uc(Uc(Uc({},ct),Qi),ea),Re(Ib,["disabled"])),Re(Zi,["autofocus"])),{},{buttonOnly:y(B,!1),buttonVariant:y(I,"secondary"),formattedValue:y(I),labelSelected:y(I),lang:y(I),menuClass:y(we),placeholder:y(I),readonly:y(B,!1),rtl:y(B,null),value:y(I,"")})),Dj=V.extend({name:Kq,directives:{"b-hover":kj},mixins:[ht,Is,Ua,zE,Ce],props:qE,data:function(){return{isHovered:!1,hasFocus:!1}},computed:{idButton:function(){return this.safeId()},idLabel:function(){return this.safeId("_value_")},idMenu:function(){return this.safeId("_dialog_")},idWrapper:function(){return this.safeId("_outer_")},computedDir:function(){return this.rtl===!0?"rtl":this.rtl===!1?"ltr":null}},methods:{focus:function(){this.disabled||Ie(this.$refs.toggle)},blur:function(){this.disabled||Bn(this.$refs.toggle)},setFocus:function(e){this.hasFocus=e.type==="focus"},handleHover:function(e){this.isHovered=e}},render:function(e){var r,n=this.idButton,i=this.idLabel,a=this.idMenu,s=this.idWrapper,o=this.disabled,u=this.readonly,c=this.required,l=this.name,d=this.state,f=this.visible,p=this.size,m=this.isHovered,b=this.hasFocus,_=this.labelSelected,S=this.buttonVariant,x=this.buttonOnly,O=_e(this.value)||"",h=d===!1||c&&!O,v={isHovered:m,hasFocus:b,state:d,opened:f},g=e("button",{staticClass:"btn",class:(r={},fl(r,"btn-".concat(S),x),fl(r,"btn-".concat(p),p),fl(r,"h-auto",!x),fl(r,"dropdown-toggle",x),fl(r,"dropdown-toggle-no-caret",x),r),attrs:{id:n,type:"button",disabled:o,"aria-haspopup":"dialog","aria-expanded":f?"true":"false","aria-invalid":h?"true":null,"aria-required":c?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle,"!focus":this.setFocus,"!blur":this.setFocus},ref:"toggle"},[this.hasNormalizedSlot(Es)?this.normalizeSlot(Es,v):e(dZ,{props:{scale:1.25}})]),T=e();l&&!o&&(T=e("input",{attrs:{type:"hidden",name:l||null,form:this.form||null,value:O}}));var P=e("div",{staticClass:"dropdown-menu",class:[this.menuClass,{show:f,"dropdown-menu-right":this.right}],attrs:{id:a,role:"dialog",tabindex:"-1","aria-modal":"false","aria-labelledby":i},on:{keydown:this.onKeydown},ref:"menu"},[this.normalizeSlot(br,{opened:f})]),k=e("label",{class:x?"sr-only":["form-control",{"text-muted":!O},this.stateClass,this.sizeFormClass],attrs:{id:i,for:n,"aria-invalid":h?"true":null,"aria-required":c?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{"!click":function(A){ke(A,{preventDefault:!1})}}},[O?this.formattedValue||O:this.placeholder||"",O&&_?e("bdi",{staticClass:"sr-only"},_):""]);return e("div",{staticClass:"b-form-btn-label-control dropdown",class:[this.directionClass,this.boundaryClass,[{"btn-group":x,"form-control":!x,focus:b&&!x,show:f,"is-valid":d===!0,"is-invalid":d===!1},x?null:this.sizeFormClass]],attrs:{id:s,role:x?null:"group",lang:this.lang||null,dir:this.computedDir,"aria-disabled":o,"aria-readonly":u&&!o,"aria-labelledby":i,"aria-invalid":d===!1||c&&!O?"true":null,"aria-required":c?"true":null}},[g,T,P,k])}}),pf;function tk(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 ds(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?tk(Object(r),!0).forEach(function(n){qf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function qf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Fb=mr("value",{type:Iu}),Zte=Fb.mixin,Qte=Fb.props,rk=Fb.prop,ere=Fb.event,Ij=Re(j4,["block","hidden","id","noKeyNav","roleDescription","value","width"]),Rj=Re(qE,["formattedValue","id","lang","rtl","value"]),tre=ee(fe(ds(ds(ds(ds(ds({},ct),Qte),Ij),Rj),{},{calendarWidth:y(I,"270px"),closeButton:y(B,!1),closeButtonVariant:y(I,"outline-secondary"),dark:y(B,!1),labelCloseButton:y(I,"Close"),labelResetButton:y(I,"Reset"),labelTodayButton:y(I,"Select today"),noCloseOnSelect:y(B,!1),resetButton:y(B,!1),resetButtonVariant:y(I,"outline-danger"),resetValue:y(Iu),todayButton:y(B,!1),todayButtonVariant:y(I,"outline-primary")})),DB),nk=V.extend({name:DB,mixins:[ht,Zte],props:tre,data:function(){return{localYMD:wt(this[rk])||"",isVisible:!1,localLocale:null,isRTL:!1,formattedValue:"",activeYMD:""}},computed:{calendarYM:function(){return this.activeYMD.slice(0,-3)},computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null},computedResetValue:function(){return wt(Jv(this.resetValue))||""}},watch:(pf={},qf(pf,rk,function(t){this.localYMD=wt(t)||""}),qf(pf,"localYMD",function(e){this.isVisible&&this.$emit(ere,this.valueAsDate?ur(e)||null:e||"")}),qf(pf,"calendarYM",function(e,r){if(e!==r&&r)try{this.$refs.control.updatePopper()}catch{}}),pf),methods:{focus:function(){this.disabled||Ie(this.$refs.control)},blur:function(){this.disabled||Bn(this.$refs.control)},setAndClose:function(e){var r=this;this.localYMD=e,this.noCloseOnSelect||this.$nextTick(function(){r.$refs.control.hide(!0)})},onSelected:function(e){var r=this;this.$nextTick(function(){r.setAndClose(e)})},onInput:function(e){this.localYMD!==e&&(this.localYMD=e)},onContext:function(e){var r=e.activeYMD,n=e.isRTL,i=e.locale,a=e.selectedYMD,s=e.selectedFormatted;this.isRTL=n,this.localLocale=i,this.formattedValue=s,this.localYMD=a,this.activeYMD=r,this.$emit(ql,e)},onTodayButton:function(){this.setAndClose(wt(Jv(kr(),this.min,this.max)))},onResetButton:function(){this.setAndClose(this.computedResetValue)},onCloseButton:function(){this.$refs.control.hide(!0)},onShow:function(){this.isVisible=!0},onShown:function(){var e=this;this.$nextTick(function(){Ie(e.$refs.calendar),e.$emit(fn)})},onHidden:function(){this.isVisible=!1,this.$emit(Xt)},defaultButtonFn:function(e){var r=e.isHovered,n=e.hasFocus;return this.$createElement(r||n?lZ:cZ,{attrs:{"aria-hidden":"true"}})}},render:function(e){var r=this.localYMD,n=this.disabled,i=this.readonly,a=this.dark,s=this.$props,o=this.$scopedSlots,u=it(this.placeholder)?this.labelNoDateSelected:this.placeholder,c=[];if(this.todayButton){var l=this.labelTodayButton;c.push(e(In,{props:{disabled:n||i,size:"sm",variant:this.todayButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onTodayButton}},l))}if(this.resetButton){var d=this.labelResetButton;c.push(e(In,{props:{disabled:n||i,size:"sm",variant:this.resetButtonVariant},attrs:{"aria-label":d||null},on:{click:this.onResetButton}},d))}if(this.closeButton){var f=this.labelCloseButton;c.push(e(In,{props:{disabled:n,size:"sm",variant:this.closeButtonVariant},attrs:{"aria-label":f||null},on:{click:this.onCloseButton}},f))}c.length>0&&(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 p=e(H4,{staticClass:"b-form-date-calendar w-100",props:ds(ds({},Et(Ij,s)),{},{hidden:!this.isVisible,value:r,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:qi(o,["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(Dj,{staticClass:"b-form-datepicker",props:ds(ds({},Et(Rj,s)),{},{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:qf({},Es,o[Es]||this.defaultButtonFn),ref:"control"},[p])}}),rre=pe({components:{BFormDatepicker:nk,BDatepicker:nk}}),km;function ik(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 is(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ik(Object(r),!0).forEach(function(n){Vg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ik(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Vg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var jb=mr("value",{type:[hn,GN],defaultValue:null,validator:function(e){return e===""?(Tr(ore,vE),!0):it(e)||ure(e)}}),nre=jb.mixin,ire=jb.props,are=jb.prop,sre=jb.event,ore='Setting "value"/"v-model" to an empty string for reset is deprecated. Set to "null" instead.',ure=function t(e){return Sq(e)||rt(e)&&e.every(function(r){return t(r)})},Lj=function(e){return be(e.getAsEntry)?e.getAsEntry():be(e.webkitGetAsEntry)?e.webkitGetAsEntry():null},cre=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Promise.all(Zu(e).filter(function(n){return n.kind==="file"}).map(function(n){var i=Lj(n);if(i){if(i.isDirectory&&r)return lre(i.createReader(),"".concat(i.name,"/"));if(i.isFile)return new Promise(function(a){i.file(function(s){s.$path="",a(s)})})}return null}).filter(Te))},lre=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new Promise(function(n){var i=[],a=function s(){e.readEntries(function(o){o.length===0?n(Promise.all(i).then(function(u){return SJ(u)})):(i.push(Promise.all(o.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(l){l.$path="".concat(r).concat(l.name),c(l)})})}return null}).filter(Te))),s())})};a()})},dre=ee(fe(is(is(is(is(is(is(is({},ct),ire),Zi),$p),ea),Qi),{},{accept:y(I,""),browseText:y(I,"Browse"),capture:y(B,!1),directory:y(B,!1),dropPlaceholder:y(I,"Drop files here"),fileNameFormatter:y(mn),multiple:y(B,!1),noDrop:y(B,!1),noDropPlaceholder:y(I,"Not allowed"),noTraverse:y(B,!1),placeholder:y(I,"No file chosen")})),vE),ak=V.extend({name:vE,mixins:[Er,ht,nre,Ce,mc,Ua,Lb,Ce],inheritAttrs:!1,props:dre,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(Te),e.length===0?null:e.map(function(r){var n="name",i="^",a="$";YK.test(r)?i="":(n="type",rq.test(r)&&(a=".+$",r=r.slice(0,-1))),r=SE(r);var s=new RegExp("".concat(i).concat(r).concat(a));return{rx:s,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,s=this.accept,o=this.multiple,u=this.directory;return is(is({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:e,disabled:r,required:n,form:i||null,capture:a,accept:s||null,multiple:o,directory:u,webkitdirectory:u,"aria-required":n?"true":null})},computedFileNameFormatter:function(){var e=this.fileNameFormatter;return Fa(e)?e:this.defaultFileNameFormatter},clonedFiles:function(){return Oi(this.files)},flattenedFiles:function(){return lf(this.files)},fileNames:function(){return this.flattenedFiles.map(function(e){return e.name})},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot(jX,{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(JA)?this.normalizeSlot(JA,{files:e,filesTraversed:r,names:n}):i(e,r,n)}},watch:(km={},Vg(km,are,function(t){(!t||rt(t)&&t.length===0)&&this.reset()}),Vg(km,"files",function(e,r){if(!Je(e,r)){var n=this.multiple,i=this.noTraverse,a=!n||i?lf(e):e;this.$emit(sre,n?a:a[0]||null)}}),km),created:function(){this.$_form=null},mounted:function(){var e=kn("form",this.$el);e&&(Ot(e,"reset",this.reset,Cn),this.$_form=e)},beforeDestroy:function(){var e=this.$_form;e&&kt(e,"reset",this.reset,Cn)},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 rt(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:lf(e):lf(e).slice(0,1)},setInputFiles:function(e){try{var r=new ClipboardEvent("").clipboardData||new DataTransfer;lf(Oi(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,s=a===void 0?{}:a,o=n==="drop";this.$emit(Rn,e);var u=Zu(s.items||[]);if(FN&&u.length>0&&!St(Lj(u[0])))cre(u,this.directory).then(function(l){return r.handleFiles(l,o)});else{var c=Zu(i.files||s.files||[]).map(function(l){return l.$path=l.webkitRelativePath||"",l});this.handleFiles(c,o)}},onDragenter:function(e){ke(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){ke(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;ke(e),this.$nextTick(function(){r.dragging=!1,r.dropAllowed=!r.noDrop})},onDrop:function(e){var r=this;if(ke(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,s=this.stateClass,o=this.bvAttrs,u=e("input",{class:[{"form-control-file":n,"custom-file-input":r,focus:r&&this.hasFocus},s],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:[Vg({},"b-custom-control-".concat(i),i),s,o.class],style:o.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[u,c])}}),fre=pe({components:{BFormFile:ak,BFile:ak}}),Tw=function(e){return"\\"+e},Nj=function(e){e=_e(e);var r=e.length,n=e.charCodeAt(0);return e.split("").reduce(function(i,a,s){var o=e.charCodeAt(s);return o===0?i+"<22>":o===127||o>=1&&o<=31||s===0&&o>=48&&o<=57||s===1&&o>=48&&o<=57&&n===45?i+Tw("".concat(o.toString(16)," ")):s===0&&o===45&&r===1?i+Tw(a):o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?i+a:i+Tw(a)},"")};function sk(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 Dm(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sk(Object(r),!0).forEach(function(n){Xf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Xf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hre=["auto","start","end","center","baseline","stretch"],pre=function(e,r,n){var i=e;if(!(it(n)||n===!1))return r&&(i+="-".concat(r)),e==="col"&&(n===""||n===!0)||(i+="-".concat(n)),Gv(i)},mre=Op(pre),XS=lo(null),gre=function(){var e=Wh().filter(Te),r=e.reduce(function(a,s){return a[s]=y(Uh),a},lo(null)),n=e.reduce(function(a,s){return a[wo(s,"offset")]=y(le),a},lo(null)),i=e.reduce(function(a,s){return a[wo(s,"order")]=y(le),a},lo(null));return XS=wp(lo(null),{col:Pe(r),offset:Pe(n),order:Pe(i)}),ee(fe(Dm(Dm(Dm(Dm({},r),n),i),{},{alignSelf:y(I,null,function(a){return Ee(hre,a)}),col:y(B,!1),cols:y(le),offset:y(le),order:y(le),tag:y(I,"div")})),yB)},Ug={name:yB,functional:!0,get props(){return delete this.props,this.props=gre()},render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.cols,u=i.offset,c=i.order,l=i.alignSelf,d=[];for(var f in XS)for(var p=XS[f],m=0;m<p.length;m++){var b=mre(f,p[m].replace(f,""),i[p[m]]);b&&d.push(b)}var _=d.some(function(S){return mq.test(S)});return d.push((n={col:i.col||!_&&!o},Xf(n,"col-".concat(o),o),Xf(n,"offset-".concat(u),u),Xf(n,"order-".concat(c),c),Xf(n,"align-self-".concat(l),l),n)),e(i.tag,ve(a,{class:d}),s)}};function ok(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 xl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ok(Object(r),!0).forEach(function(n){vre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ok(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vre(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=["input","select","textarea"],bre=Bj.map(function(t){return"".concat(t,":not([disabled])")}).join(),yre=[].concat(Bj,["a","button","label"]),_re=function(){return ee(fe(xl(xl(xl(xl({},ct),ea),Wh().reduce(function(e,r){return e[wo(r,"contentCols")]=y(Uh),e[wo(r,"labelAlign")]=y(I),e[wo(r,"labelCols")]=y(Uh),e},lo(null))),{},{description:y(I),disabled:y(B,!1),feedbackAriaLive:y(I,"assertive"),invalidFeedback:y(I),label:y(I),labelClass:y(we),labelFor:y(I),labelSize:y(I),labelSrOnly:y(B,!1),tooltip:y(B,!1),validFeedback:y(I),validated:y(B,!1)})),IB)},uk={name:IB,mixins:[ht,Ua,Ce],get props(){return delete this.props,this.props=_re()},data:function(){return{ariaDescribedby:null}},computed:{contentColProps:function(){return this.getColProps(this.$props,"content")},labelAlignClasses:function(){return this.getAlignClasses(this.$props,"label")},labelColProps:function(){return this.getColProps(this.$props,"label")},isHorizontal:function(){return Pe(this.contentColProps).length>0||Pe(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 Wh().reduce(function(n,i){var a=e[wo(i,"".concat(r,"Align"))]||null;return a&&n.push(["text",i,a].filter(Te).join("-")),n},[])},getColProps:function(e,r){return Wh().reduce(function(n,i){var a=e[wo(i,"".concat(r,"Cols"))];return a=a===""?!0:a||!1,!Si(a)&&a!=="auto"&&(a=oe(a,0),a=a>0?a:!1),a&&(n[i||(Si(a)?"col":"cols")]=a),n},{})},updateAriaDescribedby:function(e,r){var n=this.labelFor;if(ft&&n){var i=ni("#".concat(Nj(n)),this.$refs.content);if(i){var a="aria-describedby",s=(e||"").split($g),o=(r||"").split($g),u=(ii(i,a)||"").split($g).filter(function(c){return!Ee(o,c)}).concat(s).filter(function(c,l,d){return d.indexOf(c)===l}).filter(Te).join(" ").trim();u?Mt(i,a,u):Da(i,a)}}},onLegendClick:function(e){if(!this.labelFor){var r=e.target,n=r?r.tagName:"";if(yre.indexOf(n)===-1){var i=si(bre,this.$refs.content).filter(Vi);i.length===1&&Ie(i[0])}}}},render:function(e){var r=this.computedState,n=this.feedbackAriaLive,i=this.isHorizontal,a=this.labelFor,s=this.normalizeSlot,o=this.safeId,u=this.tooltip,c=o(),l=!a,d=e(),f=s(a4)||this.label,p=f?o("_BV_label_"):null;if(f||i){var m=this.labelSize,b=this.labelColProps,_=l?"legend":"label";this.labelSrOnly?(f&&(d=e(_,{class:"sr-only",attrs:{id:p,for:a||null}},[f])),d=e(i?Ug:"div",{props:i?b:{}},[d])):d=e(i?Ug:_,{on:l?{click:this.onLegendClick}:{},props:i?xl(xl({},b),{},{tag:_}):{},attrs:{id:p,for:a||null,tabindex:l?"-1":null},class:[l?"bv-no-focus-ring":"",i||l?"col-form-label":"",!i&&l?"pt-0":"",!i&&!l?"d-block":"",m?"col-form-label-".concat(m):"",this.labelAlignClasses,this.labelClass]},[f])}var S=e(),x=s(JX)||this.invalidFeedback,O=x?o("_BV_feedback_invalid_"):null;x&&(S=e(s0,{props:{ariaLive:n,id:O,state:r,tooltip:u},attrs:{tabindex:x?"-1":null}},[x]));var h=e(),v=s(wJ)||this.validFeedback,g=v?o("_BV_feedback_valid_"):null;v&&(h=e(Cj,{props:{ariaLive:n,id:g,state:r,tooltip:u},attrs:{tabindex:v?"-1":null}},[v]));var T=e(),P=s(BX)||this.description,k=P?o("_BV_description_"):null;P&&(T=e(a0,{attrs:{id:k,tabindex:"-1"}},[P]));var w=this.ariaDescribedby=[k,r===!1?O:null,r===!0?g:null].filter(Te).join(" ")||null,A=e(i?Ug:"div",{props:i?this.contentColProps:{},ref:"content"},[s(br,{ariaDescribedby:w,descriptionId:k,id:c,labelId:p})||e(),S,h,T]);return e(l?"fieldset":i?o0:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:c,disabled:l?this.disabled:null,role:l?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":l&&i?p:null}},i&&l?[e(o0,[d,A])]:[d,A])}},wre=pe({components:{BFormGroup:uk,BFormFieldset:uk}}),Fj=V.extend({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 ck(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 lk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ck(Object(r),!0).forEach(function(n){jj(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ck(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}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 Hb=mr("value",{type:le,defaultValue:"",event:PX}),Sre=Hb.mixin,Ore=Hb.props,dk=Hb.prop,Tre=Hb.event,XE=ee(fe(lk(lk({},Ore),{},{ariaInvalid:y(en,!1),autocomplete:y(I),debounce:y(le,0),formatter:y(mn),lazy:y(B,!1),lazyFormatter:y(B,!1),number:y(B,!1),placeholder:y(I),plaintext:y(B,!1),readonly:y(B,!1),trim:y(B,!1)})),"formTextControls"),Hj=V.extend({mixins:[Sre],props:XE,data:function(){var e=this[dk];return{localValue:_e(e),vModelValue:this.modifyValue(e)}},computed:{computedClass:function(){var e=this.plaintext,r=this.type,n=r==="range",i=r==="color";return[{"custom-range":n,"form-control-plaintext":e&&!n&&!i,"form-control":i||!e&&!n},this.sizeFormClass,this.stateClass]},computedDebounce:function(){return Ze(oe(this.debounce,0),0)},hasFormatter:function(){return Fa(this.formatter)}},watch:jj({},dk,function(t){var e=_e(t),r=this.modifyValue(t);(e!==this.localValue||r!==this.vModelValue)&&(this.clearDebounce(),this.localValue=e,this.vModelValue=r)}),created:function(){this.$_inputDebounceTimer=null},beforeDestroy:function(){this.clearDebounce()},methods:{clearDebounce:function(){clearTimeout(this.$_inputDebounceTimer),this.$_inputDebounceTimer=null},formatValue:function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e=_e(e),this.hasFormatter&&(!this.lazyFormatter||n)&&(e=this.formatter(e,r)),e},modifyValue:function(e){return e=_e(e),this.trim&&(e=e.trim()),this.number&&(e=Ne(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(Tre,e);else if(r.hasFormatter){var u=r.$refs.input;u&&e!==u.value&&(u.value=e)}},s=this.computedDebounce;s>0&&!i&&!n?this.$_inputDebounceTimer=setTimeout(a,s):a()}},onInput:function(e){if(!e.target.composing){var r=e.target.value,n=this.formatValue(r,e);if(n===!1||e.defaultPrevented){ke(e,{propagation:!1});return}this.localValue=n,this.updateValue(n),this.$emit(UF,n)}},onChange:function(e){var r=e.target.value,n=this.formatValue(r,e);if(n===!1||e.defaultPrevented){ke(e,{propagation:!1});return}this.localValue=n,this.updateValue(n,!0),this.$emit(Rn,n)},onBlur:function(e){var r=e.target.value,n=this.formatValue(r,e,!0);n!==!1&&(this.localValue=_e(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit(HF,e)},focus:function(){this.disabled||Ie(this.$el)},blur:function(){this.disabled||Bn(this.$el)}}}),zj=V.extend({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 fk(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 Qs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fk(Object(r),!0).forEach(function(n){Ere(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ere(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vj=["text","password","email","number","url","tel","search","range","color","date","time","datetime","datetime-local","month","week"],xre=ee(fe(Qs(Qs(Qs(Qs(Qs(Qs({},ct),Zi),Qi),ea),XE),{},{list:y(I),max:y(le),min:y(le),noWheel:y(B,!1),step:y(le),type:y(I,"text",function(t){return Ee(Vj,t)})})),RB),hk=V.extend({name:RB,mixins:[Ds,ht,mc,Is,Ua,Hj,Fj,zj],props:xre,computed:{localType:function(){var e=this.type;return Ee(Vj,e)?e:"text"},computedAttrs:function(){var e=this.localType,r=this.name,n=this.form,i=this.disabled,a=this.placeholder,s=this.required,o=this.min,u=this.max,c=this.step;return{id:this.safeId(),name:r,form:n,type:e,disabled:i,placeholder:a,required:s,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,min:o,max:u,step:c,list:e!=="password"?this.list:null,"aria-required":s?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return Qs(Qs({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{noWheel:function(e){this.setWheelStopper(e)}},mounted:function(){this.setWheelStopper(this.noWheel)},deactivated:function(){this.setWheelStopper(!1)},activated:function(){this.setWheelStopper(this.noWheel)},beforeDestroy:function(){this.setWheelStopper(!1)},methods:{setWheelStopper:function(e){var r=this.$el;Ui(e,r,"focus",this.onWheelFocus),Ui(e,r,"blur",this.onWheelBlur),e||kt(document,"wheel",this.stopWheel)},onWheelFocus:function(){Ot(document,"wheel",this.stopWheel)},onWheelBlur:function(){kt(document,"wheel",this.stopWheel)},stopWheel:function(e){ke(e,{propagation:!1}),Bn(this.$el)}},render:function(e){return e("input",{class:this.computedClass,attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),Pre=pe({components:{BFormInput:hk,BInput:hk}}),Cre=ee(KE,BB),pk=V.extend({name:BB,mixins:[Mj],provide:function(){return{bvRadioGroup:this}},props:Cre,computed:{isRadioGroup:function(){return!0}}}),Are=pe({components:{BFormRadio:YS,BRadio:YS,BFormRadioGroup:pk,BRadioGroup:pk}}),mf;function mk(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 gf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?mk(Object(r),!0).forEach(function(n){Gg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Gg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zb=mr("value",{type:le,event:Rn}),Mre=zb.mixin,$re=zb.props,gk=zb.prop,kre=zb.event,Uj=3,Gj=5,vk=function(e){return Ze(Uj,oe(e,Gj))},ru=function(e,r,n){return Ze(vs(e,n),r)},Dre=V.extend({name:qq,mixins:[Ce],props:{disabled:y(B,!1),focused:y(B,!1),hasClear:y(B,!1),rating:y(Xr,0),readonly:y(B,!1),star:y(Xr,0),variant:y(I)},methods:{onClick:function(e){!this.disabled&&!this.readonly&&(ke(e,{propagation:!1}),this.$emit(JF,this.star))}},render:function(e){var r=this.rating,n=this.star,i=this.focused,a=this.hasClear,s=this.variant,o=this.disabled,u=this.readonly,c=a?0:1,l=r>=n?"full":r>=n-.5?"half":"empty",d={variant:s,disabled:o,readonly:u};return e("span",{staticClass:"b-rating-star",class:{focused:i&&r===n||!oe(r)&&n===c,"b-rating-star-empty":l==="empty","b-rating-star-half":l==="half","b-rating-star-full":l==="full"},attrs:{tabindex:!o&&!u?"-1":null},on:{click:this.onClick}},[e("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(l,d)])])}}),Ire=ee(fe(gf(gf(gf(gf(gf({},ct),$re),Re(Zi,["required","autofocus"])),Qi),{},{color:y(I),iconClear:y(I,"x"),iconEmpty:y(I,"star"),iconFull:y(I,"star-fill"),iconHalf:y(I,"star-half"),inline:y(B,!1),locale:y(Qr),noBorder:y(B,!1),precision:y(le),readonly:y(B,!1),showClear:y(B,!1),showValue:y(B,!1),showValueMax:y(B,!1),stars:y(le,Gj,function(t){return oe(t)>=Uj}),variant:y(I)})),FB),bk=V.extend({name:FB,components:{BIconStar:vZ,BIconStarHalf:yZ,BIconStarFill:bZ,BIconX:S4},mixins:[ht,Mre,Is],props:Ire,data:function(){var e=Ne(this[gk],null),r=vk(this.stars);return{localValue:St(e)?null:ru(e,0,r),hasFocus:!1}},computed:{computedStars:function(){return vk(this.stars)},computedRating:function(){var e=Ne(this.localValue,0),r=oe(this.precision,3);return ru(Ne(e.toFixed(r)),0,this.computedStars)},computedLocale:function(){var e=Ke(this.locale).filter(Te),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return Pb(this.computedLocale)},formattedRating:function(){var e=oe(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),s=this.localValue;return s=St(s)?r?"-":"":s.toLocaleString(n,i),r?"".concat(s,"/").concat(a):s}},watch:(mf={},Gg(mf,gk,function(t,e){if(t!==e){var r=Ne(t,null);this.localValue=St(r)?null:ru(r,0,this.computedStars)}}),Gg(mf,"localValue",function(e,r){e!==r&&e!==(this.value||0)&&this.$emit(kre,e||null)}),Gg(mf,"disabled",function(e){e&&(this.hasFocus=!1,this.blur())}),mf),methods:{focus:function(){this.disabled||Ie(this.$el)},blur:function(){this.disabled||Bn(this.$el)},onKeydown:function(e){var r=e.keyCode;if(this.isInteractive&&Ee([Gi,pn,Ps,Dn],r)){ke(e,{propagation:!1});var n=oe(this.localValue,0),i=this.showClear?0:1,a=this.computedStars,s=this.isRTL?-1:1;r===Gi?this.localValue=ru(n-s,i,a)||null:r===Ps?this.localValue=ru(n+s,i,a):r===pn?this.localValue=ru(n-1,i,a)||null:r===Dn&&(this.localValue=ru(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(Wv,{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(Wv,{props:{icon:this.iconClear}})}},render:function(e){var r=this,n=this.disabled,i=this.readonly,a=this.name,s=this.form,o=this.inline,u=this.variant,c=this.color,l=this.noBorder,d=this.hasFocus,f=this.computedRating,p=this.computedStars,m=this.formattedRating,b=this.showClear,_=this.isRTL,S=this.isInteractive,x=this.$scopedSlots,O=[];if(b&&!n&&!i){var h=e("span",{staticClass:"b-rating-icon"},[(x[GX]||this.iconClearFn)()]);O.push(e("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:d&&f===0},attrs:{tabindex:S?"-1":null},on:{click:function(){return r.onSelected(null)}},key:"clear"},[h]))}for(var v=0;v<p;v++){var g=v+1;O.push(e(Dre,{staticClass:"flex-grow-1",style:c&&!n?{color:c}:{},props:{rating:f,star:g,variant:n?null:u||null,disabled:n,readonly:i,focused:d,hasClear:b},on:{selected:this.onSelected},scopedSlots:{empty:x[WX]||this.iconEmptyFn,half:x[KX]||this.iconHalfFn,full:x[YX]||this.iconFullFn},key:v}))}return a&&O.push(e("input",{attrs:{type:"hidden",value:St(this.localValue)?"":f,name:a,form:s||null},key:"hidden"})),this.showValue&&O.push(e("b",{staticClass:"b-rating-value flex-grow-1",attrs:{"aria-hidden":"true"},key:"value"},_e(m))),e("output",{staticClass:"b-rating form-control align-items-center",class:[{"d-inline-flex":o,"d-flex":!o,"border-0":l,disabled:n,readonly:!n&&i},this.sizeFormClass],attrs:{id:this.safeId(),dir:_?"rtl":"ltr",tabindex:n?null:"0",disabled:n,role:"slider","aria-disabled":n?"true":null,"aria-readonly":!n&&i?"true":null,"aria-live":"off","aria-valuemin":b?"0":"1","aria-valuemax":_e(p),"aria-valuenow":f?_e(f):null},on:{keydown:this.onKeydown,focus:this.onFocus,blur:this.onFocus}},O)}}),Rre=pe({components:{BFormRating:bk,BRating:bk}}),Vb=mr("value"),Lre=Vb.mixin,Nre=Vb.props,Bre=Vb.prop,Fre=Vb.event;function yk(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 _k(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?yk(Object(r),!0).forEach(function(n){jre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function jre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Hre=ee(fe(_k(_k({},Mp),{},{labelField:y(I,"label"),optionsField:y(I,"options")})),"formOptions"),zre=V.extend({mixins:[Rb],props:Hre,methods:{normalizeOption:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Zr(e)){var n=Vr(e,this.valueField),i=Vr(e,this.textField),a=Vr(e,this.optionsField,null);return St(a)?{value:Jt(n)?r||i:n,text:String(Jt(i)?r:i),html:Vr(e,this.htmlField),disabled:!!Vr(e,this.disabledField)}:{label:String(Vr(e,this.labelField)||i),options:this.normalizeOptions(a)}}return{value:r||e,text:String(e),disabled:!1}}}}),Vre=ee({disabled:y(B,!1),value:y(Xl,void 0,!0)},zB),c0=V.extend({name:zB,functional:!0,props:Vre,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.value,o=n.disabled;return e("option",ve(i,{attrs:{disabled:o},domProps:{value:s}}),a)}});function wk(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 Sk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?wk(Object(r),!0).forEach(function(n){Ure(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ure(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Gre=ee(fe(Sk(Sk({},Mp),{},{label:y(I,void 0,!0)})),VB),JS=V.extend({name:VB,mixins:[Ce,Rb],props:Gre,render:function(e){var r=this.label,n=this.formOptions.map(function(i,a){var s=i.value,o=i.text,u=i.html,c=i.disabled;return e(c0,{attrs:{value:s,disabled:c},domProps:Rt(u,o),key:"option_".concat(a)})});return e("optgroup",{attrs:{label:r}},[this.normalizeSlot(_E),n,this.normalizeSlot()])}});function Ok(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 nu(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ok(Object(r),!0).forEach(function(n){Wre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ok(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Wre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yre=ee(fe(nu(nu(nu(nu(nu(nu(nu({},ct),Nre),Zi),$p),Qi),ea),{},{ariaInvalid:y(en,!1),multiple:y(B,!1),selectSize:y(Xr,0)})),HB),Tk=V.extend({name:HB,mixins:[ht,Lre,mc,Is,Ua,Lb,zre,Ce],props:Yre,data:function(){return{localValue:this[Bre]}},computed:{computedSelectSize:function(){return!this.plain&&this.selectSize===0?null:this.selectSize},inputClass:function(){return[this.plain?"form-control":"custom-select",this.size&&this.plain?"form-control-".concat(this.size):null,this.size&&!this.plain?"custom-select-".concat(this.size):null,this.stateClass]}},watch:{value:function(e){this.localValue=e},localValue:function(){this.$emit(Fre,this.localValue)}},methods:{focus:function(){Ie(this.$refs.input)},blur:function(){Bn(this.$refs.input)},onChange:function(e){var r=this,n=e.target,i=Zu(n.options).filter(function(a){return a.selected}).map(function(a){return"_value"in a?a._value:a.value});this.localValue=n.multiple?i:i[0],this.$nextTick(function(){r.$emit(Rn,r.localValue)})}},render:function(e){var r=this.name,n=this.disabled,i=this.required,a=this.computedSelectSize,s=this.localValue,o=this.formOptions.map(function(u,c){var l=u.value,d=u.label,f=u.options,p=u.disabled,m="option_".concat(c);return rt(f)?e(JS,{props:{label:d,options:f},key:m}):e(c0,{props:{value:l,disabled:p},domProps:Rt(u.html,u.text),key:m})});return e("select",{class:this.inputClass,attrs:{id:this.safeId(),name:r,form:this.form||null,multiple:this.multiple||null,size:a,disabled:n,required:i,"aria-required":i?"true":null,"aria-invalid":this.computedAriaInvalid},on:{change:this.onChange},directives:[{name:"model",value:s}],ref:"input"},[this.normalizeSlot(_E),o,this.normalizeSlot()])}}),Kre=pe({components:{BFormSelect:Tk,BFormSelectOption:c0,BFormSelectOptionGroup:JS,BSelect:Tk,BSelectOption:c0,BSelectOptionGroup:JS}}),Gc;function Ek(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 Oa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ek(Object(r),!0).forEach(function(n){Jf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ek(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Jf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ub=mr("value",{type:$X}),qre=Ub.mixin,Xre=Ub.props,xk=Ub.prop,Jre=Ub.event,Wj=1,Yj=100,Kj=1,qj=500,Xj=100,Jj=10,Zj=4,Pk=[Dn,pn,Lo,Ro,Kv,Yv],Qj=ee(fe(Oa(Oa(Oa(Oa(Oa(Oa({},ct),Xre),Re(Zi,["required","autofocus"])),Qi),ea),{},{ariaControls:y(I),ariaLabel:y(I),formatterFn:y(mn),inline:y(B,!1),labelDecrement:y(I,"Decrement"),labelIncrement:y(I,"Increment"),locale:y(Qr),max:y(le,Yj),min:y(le,Wj),placeholder:y(I),readonly:y(B,!1),repeatDelay:y(le,qj),repeatInterval:y(le,Xj),repeatStepMultiplier:y(le,Zj),repeatThreshold:y(le,Jj),step:y(le,Kj),vertical:y(B,!1),wrap:y(B,!1)})),UB),ZS=V.extend({name:UB,mixins:[Er,ht,qre,Is,Ua,Ce],inheritAttrs:!1,props:Qj,data:function(){return{localValue:Ne(this[xk],null),hasFocus:!1}},computed:{spinId:function(){return this.safeId()},computedInline:function(){return this.inline&&!this.vertical},computedReadonly:function(){return this.readonly&&!this.disabled},computedRequired:function(){return this.required&&!this.computedReadonly&&!this.disabled},computedStep:function(){return Ne(this.step,Kj)},computedMin:function(){return Ne(this.min,Wj)},computedMax:function(){var e=Ne(this.max,Yj),r=this.computedStep,n=this.computedMin;return Yh((e-n)/r)*r+n},computedDelay:function(){var e=oe(this.repeatDelay,0);return e>0?e:qj},computedInterval:function(){var e=oe(this.repeatInterval,0);return e>0?e:Xj},computedThreshold:function(){return Ze(oe(this.repeatThreshold,Jj),1)},computedStepMultiplier:function(){return Ze(oe(this.repeatStepMultiplier,Zj),1)},computedPrecision:function(){var e=this.computedStep;return Yh(e)===e?0:(e.toString().split(".")[1]||"").length},computedMultiplier:function(){return v4(10,this.computedPrecision||0)},valueAsFixed:function(){var e=this.localValue;return St(e)?"":e.toFixed(this.computedPrecision)},computedLocale:function(){var e=Ke(this.locale).filter(Te),r=new Intl.NumberFormat(e);return r.resolvedOptions().locale},computedRTL:function(){return Pb(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 Fa(e)?e:this.defaultFormatter},computedAttrs:function(){return Oa(Oa({},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,s=this.computedFormatter,o=!St(r);return Oa(Oa({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||!o&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":_e(this.computedMin),"aria-valuemax":_e(this.computedMax),"aria-valuenow":o?r:null,"aria-valuetext":o?s(r):null})}},watch:(Gc={},Jf(Gc,xk,function(t){this.localValue=Ne(t,null)}),Jf(Gc,"localValue",function(e){this.$emit(Jre,e)}),Jf(Gc,"disabled",function(e){e&&this.clearRepeat()}),Jf(Gc,"readonly",function(e){e&&this.clearRepeat()}),Gc),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||Ie(this.$refs.spinner)},blur:function(){this.disabled||Bn(this.$refs.spinner)},emitChange:function(){this.$emit(Rn,this.localValue)},stepValue:function(e){var r=this.localValue;if(!this.disabled&&!St(r)){var n=this.computedStep*e,i=this.computedMin,a=this.computedMax,s=this.computedMultiplier,o=this.wrap;r=AS((r-i)/n)*n+i+n,r=AS(r*s)/s,this.localValue=r>a?o?i:a:r<i?o?a:i:r}},onFocusBlur:function(e){this.hasFocus=this.disabled?!1:e.type==="focus"},stepUp:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,r=this.localValue;St(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;St(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)&&Ee(Pk,r)){if(ke(e,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),Ee([Dn,pn],r)?(this.$_keyIsDown=!0,r===Dn?this.handleStepRepeat(e,this.stepUp):r===pn&&this.handleStepRepeat(e,this.stepDown)):r===Kv?this.stepUp(this.computedStepMultiplier):r===Yv?this.stepDown(this.computedStepMultiplier):r===Lo?this.localValue=this.computedMin:r===Ro&&(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||Ee(Pk,r)&&(ke(e,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(e,r){var n=this,i=e||{},a=i.type,s=i.button;if(!this.disabled&&!this.readonly){if(a==="mousedown"&&s)return;this.resetTimers(),r(1);var o=this.computedThreshold,u=this.computedStepMultiplier,c=this.computedDelay,l=this.computedInterval;this.$_autoDelayTimer=setTimeout(function(){var d=0;n.$_autoRepeatTimer=setInterval(function(){r(d<o?1:u),d++},l)},c)}},onMouseup:function(e){var r=e||{},n=r.type,i=r.button;n==="mouseup"&&i||(ke(e,{propagation:!1}),this.resetTimers(),this.setMouseup(!1),this.emitChange())},setMouseup:function(e){try{Ui(e,document.body,"mouseup",this.onMouseup,!1),Ui(e,document.body,"touchend",this.onMouseup,!1)}catch{}},resetTimers:function(){clearTimeout(this.$_autoDelayTimer),clearInterval(this.$_autoRepeatTimer),this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null},clearRepeat:function(){this.resetTimers(),this.setMouseup(!1),this.$_keyIsDown=!1}},render:function(e){var r=this,n=this.spinId,i=this.localValue,a=this.computedInline,s=this.computedReadonly,o=this.vertical,u=this.disabled,c=this.computedFormatter,l=!St(i),d=function(S,x,O,h,v,g,T){var P=e(O,{props:{scale:r.hasFocus?1.5:1.25},attrs:{"aria-hidden":"true"}}),k={hasFocus:r.hasFocus},w=function(C){!u&&!s&&(ke(C,{propagation:!1}),r.setMouseup(!0),Ie(C.currentTarget),r.handleStepRepeat(C,S))};return e("button",{staticClass:"btn btn-sm border-0 rounded-0",class:{"py-0":!o},attrs:{tabindex:"-1",type:"button",disabled:u||s||g,"aria-disabled":u||s||g?"true":null,"aria-controls":n,"aria-label":x||null,"aria-keyshortcuts":v||null},on:{mousedown:w,touchstart:w},key:h||null,ref:h},[r.normalizeSlot(T,k)||P])},f=d(this.stepUp,this.labelIncrement,gZ,"inc","ArrowUp",!1,XX),p=d(this.stepDown,this.labelDecrement,pZ,"dec","ArrowDown",!1,NX),m=e();this.name&&!u&&(m=e("input",{attrs:{type:"hidden",name:this.name,form:this.form||null,value:this.valueAsFixed},key:"hidden"}));var b=e("output",{staticClass:"flex-grow-1",class:{"d-flex":o,"align-self-center":!o,"align-items-center":o,"border-top":o,"border-bottom":o,"border-left":!o,"border-right":!o},attrs:this.computedSpinAttrs,key:"output",ref:"spinner"},[e("bdi",l?c(i):this.placeholder||"")]);return e("div",{staticClass:"b-form-spinbutton form-control",class:[{disabled:u,readonly:s,focus:this.hasFocus,"d-inline-flex":a||o,"d-flex":!a&&!o,"align-items-stretch":!o,"flex-column":o},this.sizeFormClass,this.stateClass],attrs:this.computedAttrs,on:{keydown:this.onKeydown,keyup:this.onKeyup,"!focus":this.onFocusBlur,"!blur":this.onFocusBlur}},o?[f,m,b,p]:[p,m,b,f])}}),Zre=pe({components:{BFormSpinbutton:ZS,BSpinbutton:ZS}});function Ck(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 Ak(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ck(Object(r),!0).forEach(function(n){Qre(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ck(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Qre(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ene=ee(fe(Ak(Ak({},ct),{},{disabled:y(B,!1),noRemove:y(B,!1),pill:y(B,!1),removeLabel:y(I,"Remove tag"),tag:y(I,"span"),title:y(I),variant:y(I,"secondary")})),GB),QS=V.extend({name:GB,mixins:[ht,Ce],props:ene,methods:{onRemove:function(e){var r=e.type,n=e.keyCode;!this.disabled&&(r==="click"||r==="keydown"&&n===T4)&&this.$emit(gX)}},render:function(e){var r=this.title,n=this.tag,i=this.variant,a=this.pill,s=this.disabled,o=this.safeId(),u=this.safeId("_taglabel_"),c=e();!this.noRemove&&!s&&(c=e(ec,{staticClass:"b-form-tag-remove",props:{ariaLabel:this.removeLabel},attrs:{"aria-controls":o,"aria-describedby":u,"aria-keyshortcuts":"Delete"},on:{click:this.onRemove,keydown:this.onRemove}}));var l=e("span",{staticClass:"b-form-tag-content flex-grow-1 text-truncate",attrs:{id:u}},this.normalizeSlot()||r);return e(L4,{staticClass:"b-form-tag d-inline-flex align-items-baseline mw-100",class:{disabled:s},props:{tag:n,variant:i,pill:a},attrs:{id:o,title:r||null,"aria-labelledby":u}},[l,c])}}),vf;function Mk(t){return ine(t)||nne(t)||rne(t)||tne()}function tne(){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 rne(t,e){if(t){if(typeof t=="string")return eO(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 eO(t,e)}}function nne(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ine(t){if(Array.isArray(t))return eO(t)}function eO(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}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 Kn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$k(Object(r),!0).forEach(function(n){Wg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$k(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Wg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Gb=mr("value",{type:hn,defaultValue:[]}),ane=Gb.mixin,sne=Gb.props,Ew=Gb.prop,one=Gb.event,e6=["text","email","tel","url","number"],une=[".b-form-tag","button","input","select"].join(" "),cne=function(e){return SE(e).replace(zN,"\\s")},kk=function(e){return Ke(e).map(function(r){return _o(_e(r))}).filter(function(r,n,i){return r.length>0&&i.indexOf(r)===n})},Dk=function(e){return Ge(e)?e:Yu(e)&&e.target.value||""},xw=function(){return{all:[],valid:[],invalid:[],duplicate:[]}},lne=ee(fe(Kn(Kn(Kn(Kn(Kn(Kn({},ct),sne),Zi),Qi),ea),{},{addButtonText:y(I,"Add"),addButtonVariant:y(I,"outline-secondary"),addOnChange:y(B,!1),duplicateTagText:y(I,"Duplicate tag(s)"),feedbackAriaLive:y(I,"assertive"),ignoreInputFocusSelector:y(Qr,une),inputAttrs:y(pr,{}),inputClass:y(we),inputId:y(I),inputType:y(I,"text",function(t){return Ee(e6,t)}),invalidTagText:y(I,"Invalid tag(s)"),limit:y(Xr),limitTagsText:y(I,"Tag limit reached"),noAddOnEnter:y(B,!1),noOuterFocus:y(B,!1),noTagRemove:y(B,!1),placeholder:y(I,"Add tag..."),removeOnDelete:y(B,!1),separator:y(Qr),tagClass:y(we),tagPills:y(B,!1),tagRemoveLabel:y(I,"Remove tag"),tagRemovedLabel:y(I,"Tag removed"),tagValidator:y(mn),tagVariant:y(I,"secondary")})),WB),Ik=V.extend({name:WB,mixins:[Ds,ht,ane,mc,Is,Ua,Ce],props:lne,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:xw(),focusState:null}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return Ee(e6,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var e=this.disabled,r=this.form;return Kn(Kn({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:e,form:r})},computedInputHandlers:function(){return Kn(Kn({},Re(this.bvListeners,[zv,Vv])),{},{blur:this.onInputBlur,change:this.onInputChange,focus:this.onInputFocus,input:this.onInputInput,keydown:this.onInputKeydown,reset:this.reset})},computedSeparator:function(){return Ke(this.separator).filter(Ge).filter(Te).join("")},computedSeparatorRegExp:function(){var e=this.computedSeparator;return e?new RegExp("[".concat(cne(e),"]+")):null},computedJoiner:function(){var e=this.computedSeparator.charAt(0);return e!==" "?"".concat(e," "):e},computeIgnoreInputFocusSelector:function(){return Ke(this.ignoreInputFocusSelector).filter(Te).join(",").trim()},disableAddButton:function(){var e=this,r=_o(this.newTag);return r===""||!this.splitTags(r).some(function(n){return!Ee(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 ji(e)&&e>=0&&this.tags.length>=e}},watch:(vf={},Wg(vf,Ew,function(t){this.tags=kk(t)}),Wg(vf,"tags",function(e,r){Je(e,this[Ew])||this.$emit(one,e),Je(e,r)||(e=Ke(e).filter(Te),r=Ke(r).filter(Te),this.removedTags=r.filter(function(n){return!Ee(e,n)}))}),Wg(vf,"tagsState",function(e,r){Je(e,r)||this.$emit(EX,e.valid,e.invalid,e.duplicate)}),vf),created:function(){this.tags=kk(this[Ew])},mounted:function(){var e=kn("form",this.$el);e&&Ot(e,"reset",this.reset,Cn)},beforeDestroy:function(){var e=kn("form",this.$el);e&&kt(e,"reset",this.reset,Cn)},methods:{addTag:function(e){if(e=Ge(e)?e:this.newTag,!(this.disabled||_o(e)===""||this.isLimitReached)){var r=this.parseTags(e);if(r.valid.length>0||r.all.length===0)if(Ss(this.getInput(),"select"))this.newTag="";else{var n=[].concat(Mk(r.invalid),Mk(r.duplicate));this.newTag=r.all.filter(function(i){return Ee(n,i)}).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}r.valid.length>0&&(this.tags=Ke(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=xw()})},onInputInput:function(e){if(!(this.disabled||Yu(e)&&e.target.composing)){var r=Dk(e),n=this.computedSeparatorRegExp;this.newTag!==r&&(this.newTag=r),r=TJ(r),n&&n.test(r.slice(-1))?this.addTag():this.tagsState=r===""?xw():this.parseTags(r)}},onInputChange:function(e){if(!this.disabled&&this.addOnChange){var r=Dk(e);this.newTag!==r&&(this.newTag=r),this.addTag()}},onInputKeydown:function(e){if(!(this.disabled||!Yu(e))){var r=e.keyCode,n=e.target.value||"";!this.noAddOnEnter&&r===ks?(ke(e,{propagation:!1}),this.addTag()):this.removeOnDelete&&(r===OZ||r===T4)&&n===""&&(ke(e,{propagation:!1}),this.tags=this.tags.slice(0,-1))}},onClick:function(e){var r=this,n=this.computeIgnoreInputFocusSelector;(!n||!kn(n,e.target,!0))&&this.$nextTick(function(){r.focus()})},onInputFocus:function(e){var r=this;this.focusState!=="out"&&(this.focusState="in",this.$nextTick(function(){at(function(){r.hasFocus&&(r.$emit(dX,e),r.focusState=null)})}))},onInputBlur:function(e){var r=this;this.focusState!=="in"&&(this.focusState="out",this.$nextTick(function(){at(function(){r.hasFocus||(r.$emit(HF,e),r.focusState=null)})}))},onFocusin:function(e){this.hasFocus=!0,this.$emit(zv,e)},onFocusout:function(e){this.hasFocus=!1,this.$emit(Vv,e)},handleAutofocus:function(){var e=this;this.$nextTick(function(){at(function(){e.autofocus&&e.focus()})})},focus:function(){this.disabled||Ie(this.getInput())},blur:function(){this.disabled||Bn(this.getInput())},splitTags:function(e){e=_e(e);var r=this.computedSeparatorRegExp;return(r?e.split(r):[e]).map(_o).filter(Te)},parseTags:function(e){var r=this,n=this.splitTags(e),i={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach(function(a){Ee(r.tags,a)||Ee(i.valid,a)?Ee(i.duplicate,a)||i.duplicate.push(a):r.validateTag(a)?i.valid.push(a):Ee(i.invalid,a)||i.invalid.push(a)}),i},validateTag:function(e){var r=this.tagValidator;return Fa(r)?r(e):!0},getInput:function(){return ni("#".concat(Nj(this.computedInputId)),this.$el)},defaultRender:function(e){var r=e.addButtonText,n=e.addButtonVariant,i=e.addTag,a=e.disableAddButton,s=e.disabled,o=e.duplicateTagText,u=e.inputAttrs,c=e.inputClass,l=e.inputHandlers,d=e.inputType,f=e.invalidTagText,p=e.isDuplicate,m=e.isInvalid,b=e.isLimitReached,_=e.limitTagsText,S=e.noTagRemove,x=e.placeholder,O=e.removeTag,h=e.tagClass,v=e.tagPills,g=e.tagRemoveLabel,T=e.tagVariant,P=e.tags,k=this.$createElement,w=P.map(function(K){return K=_e(K),k(QS,{class:h,props:{disabled:s,noRemove:S,pill:v,removeLabel:g,tag:"li",title:K,variant:T},on:{remove:function(){return O(K)}},key:"tags_".concat(K)},K)}),A=f&&m?this.safeId("__invalid_feedback__"):null,C=o&&p?this.safeId("__duplicate_feedback__"):null,E=_&&b?this.safeId("__limit_feedback__"):null,$=[u["aria-describedby"],A,C,E].filter(Te).join(" "),D=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:Kn(Kn({},u),{},{"aria-describedby":$||null,type:d,placeholder:x||null}),domProps:{value:u.value},on:l,directives:[{name:"model",value:u.value}],ref:"input"}),M=k(In,{staticClass:"b-form-tags-button py-0",class:{invisible:a},style:{fontSize:"90%"},props:{disabled:a||b,variant:n},on:{click:function(){return i()}},ref:"button"},[this.normalizeSlot(RX)||r]),L=this.safeId("__tag_list__"),N=k("li",{staticClass:"b-form-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":L},key:"tags_field"},[k("div",{staticClass:"d-flex",attrs:{role:"group"}},[D,M])]),j=k("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:L},key:"tags_list"},[w,N]),z=k();if(f||o||_){var U=this.feedbackAriaLive,J=this.computedJoiner,re=k();A&&(re=k(s0,{props:{id:A,ariaLive:U,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(J)]));var Y=k();C&&(Y=k(a0,{props:{id:C,ariaLive:U},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(J)]));var G=k();E&&(G=k(a0,{props:{id:E,ariaLive:U},key:"tags_limit_feedback"},[_])),z=k("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[re,Y,G])}return[j,z]}},render:function(e){var r=this.name,n=this.disabled,i=this.required,a=this.form,s=this.tags,o=this.computedInputId,u=this.hasFocus,c=this.noOuterFocus,l=Kn({tags:s.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:o,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},qi(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),d=this.normalizeSlot(br,l)||this.defaultRender(l),f=e("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:o,"aria-live":u?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),p=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(", ")):""),m=e();if(r&&!n){var b=s.length>0;m=(b?s:[""]).map(function(_){return e("input",{class:{"sr-only":!b},attrs:{type:b?"hidden":"text",value:_,required:i,name:r,form:a},key:"tag_input_".concat(_)})})}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}},[f,p,d,m])}}),dne=pe({components:{BFormTags:Ik,BTags:Ik,BFormTag:QS,BTag:QS}});function Rk(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 eo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Rk(Object(r),!0).forEach(function(n){fne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hne=ee(fe(eo(eo(eo(eo(eo(eo({},ct),Zi),Qi),ea),XE),{},{maxRows:y(le),noAutoShrink:y(B,!1),noResize:y(B,!1),rows:y(le,2),wrap:y(I,"soft")})),KB),Lk=V.extend({name:KB,directives:{"b-visible":RE},mixins:[Ds,ht,Xi,mc,Is,Ua,Hj,Fj,zj],props:hne,data:function(){return{heightInPx:null}},computed:{computedStyle:function(){var e={resize:!this.computedRows||this.noResize?"none":null};return this.computedRows||(e.height=this.heightInPx,e.overflowY="scroll"),e},computedMinRows:function(){return Ze(oe(this.rows,2),2)},computedMaxRows:function(){return Ze(this.computedMinRows,oe(this.maxRows,0))},computedRows:function(){return this.computedMinRows===this.computedMaxRows?this.computedMinRows:null},computedAttrs:function(){var e=this.disabled,r=this.required;return{id:this.safeId(),name:this.name||null,form:this.form||null,disabled:e,placeholder:this.placeholder||null,required:r,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,rows:this.computedRows,wrap:this.wrap||null,"aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return eo(eo({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{localValue:function(){this.setHeight()}},mounted:function(){this.setHeight()},methods:{visibleCallback:function(e){e&&this.$nextTick(this.setHeight)},setHeight:function(){var e=this;this.$nextTick(function(){at(function(){e.heightInPx=e.computeHeight()})})},computeHeight:function(){if(this.$isServer||!St(this.computedRows))return null;var e=this.$el;if(!Vi(e))return null;var r=ei(e),n=Ne(r.lineHeight,1),i=Ne(r.borderTopWidth,0)+Ne(r.borderBottomWidth,0),a=Ne(r.paddingTop,0)+Ne(r.paddingBottom,0),s=i+a,o=n*this.computedMinRows+s,u=Sl(e,"height")||r.height;zr(e,"height","auto");var c=e.scrollHeight;zr(e,"height",u);var l=Ze((c-a)/n,2),d=vs(Ze(l,this.computedMinRows),this.computedMaxRows),f=Ze(g4(d*n+s),o);return this.noAutoShrink&&Ne(u,0)>f?u:"".concat(f,"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"})}}),pne=pe({components:{BFormTextarea:Lk,BTextarea:Lk}}),iu;function Nk(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 Zf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Nk(Object(r),!0).forEach(function(n){hl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Nk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function hl(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mne(t,e){return yne(t)||bne(t,e)||vne(t,e)||gne()}function gne(){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 vne(t,e){if(t){if(typeof t=="string")return Bk(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 Bk(t,e)}}function Bk(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function bne(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,s,o;try{for(r=r.call(t);!(i=(s=r.next()).done)&&(n.push(s.value),!(e&&n.length===e));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw o}}return n}}function yne(t){if(Array.isArray(t))return t}var Wb=mr("value",{type:I,defaultValue:""}),_ne=Wb.mixin,wne=Wb.props,Fk=Wb.prop,Sne=Wb.event,Wc="numeric",One=function(e){return"00".concat(e||"").slice(-2)},Im=function(e){e=_e(e);var r=null,n=null,i=null;if(cq.test(e)){var a=e.split(":").map(function(o){return oe(o,null)}),s=mne(a,3);r=s[0],n=s[1],i=s[2]}return{hours:it(r)?null:r,minutes:it(n)?null:n,seconds:it(i)?null:i,ampm:it(r)||r<12?0:1}},Tne=function(e){var r=e.hours,n=e.minutes,i=e.seconds,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(St(r)||St(n)||a&&St(i))return"";var s=[r,n,a?i:0];return s.map(One).join(":")},t6=ee(fe(Zf(Zf(Zf(Zf({},ct),wne),qi(Qj,["labelIncrement","labelDecrement"])),{},{ariaLabelledby:y(I),disabled:y(B,!1),footerTag:y(I,"footer"),headerTag:y(I,"header"),hidden:y(B,!1),hideHeader:y(B,!1),hour12:y(B,null),labelAm:y(I,"AM"),labelAmpm:y(I,"AM/PM"),labelHours:y(I,"Hours"),labelMinutes:y(I,"Minutes"),labelNoTimeSelected:y(I,"No time selected"),labelPm:y(I,"PM"),labelSeconds:y(I,"Seconds"),labelSelected:y(I,"Selected time"),locale:y(Qr),minutesStep:y(le,1),readonly:y(B,!1),secondsStep:y(le,1),showSeconds:y(B,!1)})),FF),r6=V.extend({name:FF,mixins:[ht,_ne,Ce],props:t6,data:function(){var e=Im(this[Fk]||"");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 Tne({hours:e,minutes:r,seconds:n},this.showSeconds)},resolvedOptions:function(){var e=Ke(this.locale).filter(Te),r={hour:Wc,minute:Wc,second:Wc};it(this.hour12)||(r.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(e,r),i=n.resolvedOptions(),a=i.hour12||!1,s=i.hourCycle||(a?"h12":"h23");return{locale:i.locale,hour12:a,hourCycle:s}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return Pb(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(Te).join(" ")||null},timeFormatter:function(){var e={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:Wc,minute:Wc,timeZone:"UTC"};return this.showSeconds&&(e.second=Wc),Wf(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(kr(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(wM,{props:{scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(n){var i=n.hasFocus;return e(wM,{props:{flipV:!0,scale:i?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(iu={},hl(iu,Fk,function(t,e){if(t!==e&&!Je(Im(t),Im(this.computedHMS))){var r=Im(t),n=r.hours,i=r.minutes,a=r.seconds,s=r.ampm;this.modelHours=n,this.modelMinutes=i,this.modelSeconds=a,this.modelAmpm=s}}),hl(iu,"computedHMS",function(e,r){e!==r&&this.$emit(Sne,e)}),hl(iu,"context",function(e,r){Je(e,r)||this.$emit(ql,e)}),hl(iu,"modelAmpm",function(e,r){var n=this;if(e!==r){var i=St(this.modelHours)?0:this.modelHours;this.$nextTick(function(){e===0&&i>11?n.modelHours=i-12:e===1&&i<12&&(n.modelHours=i+12)})}}),hl(iu,"modelHours",function(e,r){e!==r&&(this.modelAmpm=e>11?1:0)}),iu),created:function(){var e=this;this.$nextTick(function(){e.$emit(ql,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||Ie(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var e=Io();lr(this.$el,e)&&Bn(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===Gi||n===Ps)){ke(e);var i=this.$refs.spinners||[],a=i.map(function(s){return!!s.hasFocus}).indexOf(!0);a=a+(n===Gi?-1:1),a=a>=i.length?0:a<0?i.length-1:a,Ie(i[a])}},setLive:function(e){var r=this;e?this.$nextTick(function(){at(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,s=this.computedAriaLabelledby,o=this.labelIncrement,u=this.labelDecrement,c=this.valueId,l=this.focus,d=[],f=function(h,v,g){var T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},P=r.safeId("_spinbutton_".concat(v,"_"))||null;return d.push(P),e(ZS,{class:g,props:Zf({id:P,placeholder:"--",vertical:!0,required:!0,disabled:n,readonly:i,locale:a,labelIncrement:o,labelDecrement:u,wrap:!0,ariaControls:c,min:0},T),scopedSlots:r.spinScopedSlots,on:{change:h},key:v,ref:"spinners",refInFor:!0})},p=function(){return e("div",{staticClass:"d-flex flex-column",class:{"text-muted":n||i},attrs:{"aria-hidden":"true"}},[e(MS,{props:{shiftV:4,scale:.5}}),e(MS,{props:{shiftV:-4,scale:.5}})])},m=[];m.push(f(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),m.push(p()),m.push(f(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(m.push(p()),m.push(f(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.is12Hour&&m.push(f(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),m=e("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:n||i?null:"-1","aria-labelledby":s},on:{keydown:this.onSpinLeftRight,click:function(h){h.target===h.currentTarget&&l()}}},m);var b=e("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:n||i},attrs:{id:c,role:"status",for:d.filter(Te).join(" ")||null,tabindex:n?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:l,focus:l}},[e("bdi",this.formattedTimeString),this.computedHMS?e("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),_=e(this.headerTag,{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[b]),S=this.normalizeSlot(),x=S?e(this.footerTag,{staticClass:"b-time-footer"},S):e();return e("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":s||null,"aria-disabled":n?"true":null,"aria-readonly":i&&!n?"true":null}},[_,m,x])}}),Rm;function jk(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 fs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?jk(Object(r),!0).forEach(function(n){Yg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Yg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yb=mr("value",{type:I,defaultValue:""}),Ene=Yb.mixin,xne=Yb.props,Hk=Yb.prop,Pne=Yb.event,n6=Re(t6,["hidden","id","value"]),i6=Re(qE,["formattedValue","id","lang","rtl","value"]),Cne=ee(fe(fs(fs(fs(fs(fs({},ct),xne),n6),i6),{},{closeButtonVariant:y(I,"outline-secondary"),labelCloseButton:y(I,"Close"),labelNowButton:y(I,"Select now"),labelResetButton:y(I,"Reset"),noCloseButton:y(B,!1),nowButton:y(B,!1),nowButtonVariant:y(I,"outline-primary"),resetButton:y(B,!1),resetButtonVariant:y(I,"outline-danger"),resetValue:y(Iu)})),qB),zk=V.extend({name:qB,mixins:[ht,Ene],props:Cne,data:function(){return{localHMS:this[Hk]||"",localLocale:null,isRTL:!1,formattedValue:"",isVisible:!1}},computed:{computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null}},watch:(Rm={},Yg(Rm,Hk,function(t){this.localHMS=t||""}),Yg(Rm,"localHMS",function(e){this.isVisible&&this.$emit(Pne,e||"")}),Rm),methods:{focus:function(){this.disabled||Ie(this.$refs.control)},blur:function(){this.disabled||Bn(this.$refs.control)},setAndClose:function(e){var r=this;this.localHMS=e,this.$nextTick(function(){r.$refs.control.hide(!0)})},onInput:function(e){this.localHMS!==e&&(this.localHMS=e)},onContext:function(e){var r=e.isRTL,n=e.locale,i=e.value,a=e.formatted;this.isRTL=r,this.localLocale=n,this.formattedValue=a,this.localHMS=i||"",this.$emit(ql,e)},onNowButton:function(){var e=new Date,r=e.getHours(),n=e.getMinutes(),i=this.showSeconds?e.getSeconds():0,a=[r,n,i].map(function(s){return"00".concat(s||"").slice(-2)}).join(":");this.setAndClose(a)},onResetButton:function(){this.setAndClose(this.resetValue)},onCloseButton:function(){this.$refs.control.hide(!0)},onShow:function(){this.isVisible=!0},onShown:function(){var e=this;this.$nextTick(function(){Ie(e.$refs.time),e.$emit(fn)})},onHidden:function(){this.isVisible=!1,this.$emit(Xt)},defaultButtonFn:function(e){var r=e.isHovered,n=e.hasFocus;return this.$createElement(r||n?hZ:fZ,{attrs:{"aria-hidden":"true"}})}},render:function(e){var r=this.localHMS,n=this.disabled,i=this.readonly,a=this.$props,s=it(this.placeholder)?this.labelNoTimeSelected:this.placeholder,o=[];if(this.nowButton){var u=this.labelNowButton;o.push(e(In,{props:{size:"sm",disabled:n||i,variant:this.nowButtonVariant},attrs:{"aria-label":u||null},on:{click:this.onNowButton},key:"now-btn"},u))}if(this.resetButton){o.length>0&&o.push(e("span"," "));var c=this.labelResetButton;o.push(e(In,{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){o.length>0&&o.push(e("span"," "));var l=this.labelCloseButton;o.push(e(In,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onCloseButton},key:"close-btn"},l))}o.length>0&&(o=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":o.length>1,"justify-content-end":o.length<2}},o)]);var d=e(r6,{staticClass:"b-form-time-control",props:fs(fs({},Et(n6,a)),{},{value:r,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},o);return e(Dj,{staticClass:"b-form-timepicker",props:fs(fs({},Et(i6,a)),{},{id:this.safeId(),value:r,formattedValue:r?this.formattedValue:"",placeholder:s,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Yg({},Es,this.$scopedSlots[Es]||this.defaultButtonFn),ref:"control"},[d])}}),Ane=pe({components:{BFormTimepicker:zk,BTimepicker:zk}}),Mne=pe({components:{BImg:kE,BImgLazy:Z4}}),$ne=ee({tag:y(I,"div")},iF),l0=V.extend({name:iF,functional:!0,props:$ne,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{staticClass:"input-group-text"}),a)}}),JE=ee({append:y(B,!1),id:y(I),isText:y(B,!1),tag:y(I,"div")},tF),ZE=V.extend({name:tF,functional:!0,props:JE,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.append;return e(n.tag,ve(i,{class:{"input-group-append":s,"input-group-prepend":!s},attrs:{id:n.id}}),n.isText?[e(l0,a)]:a)}});function Vk(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 Uk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Vk(Object(r),!0).forEach(function(n){kne(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function kne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Dne=ee(Re(JE,["append"]),rF),a6=V.extend({name:rF,functional:!0,props:Dne,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(ZE,ve(i,{props:Uk(Uk({},n),{},{append:!0})}),a)}});function Gk(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 Wk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Gk(Object(r),!0).forEach(function(n){Ine(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ine(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Rne=ee(Re(JE,["append"]),nF),s6=V.extend({name:nF,functional:!0,props:Rne,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(ZE,ve(i,{props:Wk(Wk({},n),{},{append:!1})}),a)}});function Lne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Nne=ee({append:y(I),appendHtml:y(I),id:y(I),prepend:y(I),prependHtml:y(I),size:y(I),tag:y(I,"div")},eF),Bne=V.extend({name:eF,functional:!0,props:Nne,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=n.prepend,u=n.prependHtml,c=n.append,l=n.appendHtml,d=n.size,f=s||{},p=a(),m={},b=e(),_=xs(tM,f,p);(_||o||u)&&(b=e(s6,[_?Br(tM,m,f,p):e(l0,{domProps:Rt(u,o)})]));var S=e(),x=xs(YA,f,p);return(x||c||l)&&(S=e(a6,[x?Br(YA,m,f,p):e(l0,{domProps:Rt(l,c)})])),e(n.tag,ve(i,{staticClass:"input-group",class:Lne({},"input-group-".concat(d),d),attrs:{id:n.id||null,role:"group"}}),[b,Br(br,m,f,p),S])}}),Fne=pe({components:{BInputGroup:Bne,BInputGroupAddon:ZE,BInputGroupPrepend:s6,BInputGroupAppend:a6,BInputGroupText:l0}});function jne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Hne=ee({fluid:y(en,!1),tag:y(I,"div")},_B),o6=V.extend({name:_B,functional:!0,props:Hne,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.fluid;return e(n.tag,ve(i,{class:jne({container:!(s||s===""),"container-fluid":s===!0||s===""},"container-".concat(s),s&&s!==!0)}),a)}});function bf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zne=ee({bgVariant:y(I),borderVariant:y(I),containerFluid:y(en,!1),fluid:y(B,!1),header:y(I),headerHtml:y(I),headerLevel:y(le,3),headerTag:y(I,"h1"),lead:y(I),leadHtml:y(I),leadTag:y(I,"p"),tag:y(I,"div"),textVariant:y(I)},aF),Vne=V.extend({name:aF,functional:!0,props:zne,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=i.header,c=i.headerHtml,l=i.lead,d=i.leadHtml,f=i.textVariant,p=i.bgVariant,m=i.borderVariant,b=o||{},_=s(),S={},x=e(),O=xs(Do,b,_);if(O||u||c){var h=i.headerLevel;x=e(i.headerTag,{class:bf({},"display-".concat(h),h),domProps:O?{}:Rt(c,u)},Br(Do,S,b,_))}var v=e(),g=xs(ZA,b,_);(g||l||d)&&(v=e(i.leadTag,{staticClass:"lead",domProps:g?{}:Rt(d,l)},Br(ZA,S,b,_)));var T=[x,v,Br(br,S,b,_)];return i.fluid&&(T=[e(o6,{props:{fluid:i.containerFluid}},T)]),e(i.tag,ve(a,{staticClass:"jumbotron",class:(n={"jumbotron-fluid":i.fluid},bf(n,"text-".concat(f),f),bf(n,"bg-".concat(p),p),bf(n,"border-".concat(m),m),bf(n,"border",m),n)}),T)}}),Une=pe({components:{BJumbotron:Vne}});function Yk(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 Kk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Yk(Object(r),!0).forEach(function(n){Kg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Kg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Pw=["start","end","center"],Gne=Op(function(t,e){return e=_o(_e(e)),e?Gv(["row-cols",t,e].filter(Te).join("-")):null}),Wne=Op(function(t){return Gv(t.replace("cols",""))}),u6=[],Yne=function(){var e=Wh().reduce(function(r,n){return r[wo(n,"cols")]=y(le),r},lo(null));return u6=Pe(e),ee(fe(Kk(Kk({},e),{},{alignContent:y(I,null,function(r){return Ee(Ke(Pw,"between","around","stretch"),r)}),alignH:y(I,null,function(r){return Ee(Ke(Pw,"between","around"),r)}),alignV:y(I,null,function(r){return Ee(Ke(Pw,"baseline","stretch"),r)}),noGutters:y(B,!1),tag:y(I,"div")})),SF)},Kne={name:SF,functional:!0,get props(){return delete this.props,this.props=Yne(),this.props},render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.alignV,u=i.alignH,c=i.alignContent,l=[];return u6.forEach(function(d){var f=Gne(Wne(d),i[d]);f&&l.push(f)}),l.push((n={"no-gutters":i.noGutters},Kg(n,"align-items-".concat(o),o),Kg(n,"justify-content-".concat(u),u),Kg(n,"align-content-".concat(c),c),n)),e(i.tag,ve(a,{staticClass:"row",class:l}),s)}},qne=pe({components:{BContainer:o6,BRow:Kne,BCol:Ug,BFormRow:o0}}),Xne=pe({components:{BLink:Ln}});function Jne(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Zne=ee({flush:y(B,!1),horizontal:y(en,!1),tag:y(I,"div")},sF),Qne=V.extend({name:sF,functional:!0,props:Zne,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.horizontal===""?!0:n.horizontal;s=n.flush?!1:s;var o={staticClass:"list-group",class:Jne({"list-group-flush":n.flush,"list-group-horizontal":s===!0},"list-group-horizontal-".concat(s),Ge(s))};return e(n.tag,ve(i,o),a)}});function qk(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 Xk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qk(Object(r),!0).forEach(function(n){Qf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Qf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var eie=["a","router-link","button","b-link"],Kb=Re(Ji,["event","routerTag"]);delete Kb.href.default;delete Kb.to.default;var tie=ee(fe(Xk(Xk({},Kb),{},{action:y(B,!1),button:y(B,!1),tag:y(I,"div"),variant:y(I)})),oF),rie=V.extend({name:oF,functional:!0,props:tie,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.button,u=i.variant,c=i.active,l=i.disabled,d=Tp(i),f=o?"button":d?Ln:i.tag,p=!!(i.action||d||o||Ee(eie,i.tag)),m={},b={};return za(f,"button")?((!a.attrs||!a.attrs.type)&&(m.type="button"),i.disabled&&(m.disabled=!0)):b=Et(Kb,i),e(f,ve(a,{attrs:m,props:b,staticClass:"list-group-item",class:(n={},Qf(n,"list-group-item-".concat(u),u),Qf(n,"list-group-item-action",p),Qf(n,"active",c),Qf(n,"disabled",l),n)}),s)}}),nie=pe({components:{BListGroup:Qne,BListGroupItem:rie}});function iie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var aie=ee({right:y(B,!1),tag:y(I,"div"),verticalAlign:y(I,"top")},cF),c6=V.extend({name:cF,functional:!0,props:aie,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.verticalAlign,o=s==="top"?"start":s==="bottom"?"end":s;return e(n.tag,ve(i,{staticClass:"media-aside",class:iie({"media-aside-right":n.right},"align-self-".concat(o),o)}),a)}}),sie=ee({tag:y(I,"div")},lF),l6=V.extend({name:lF,functional:!0,props:sie,render:function(e,r){var n=r.props,i=r.data,a=r.children;return e(n.tag,ve(i,{staticClass:"media-body"}),a)}}),oie=ee({noBody:y(B,!1),rightAlign:y(B,!1),tag:y(I,"div"),verticalAlign:y(I,"top")},uF),uie=V.extend({name:uF,functional:!0,props:oie,render:function(e,r){var n=r.props,i=r.data,a=r.slots,s=r.scopedSlots,o=r.children,u=n.noBody,c=n.rightAlign,l=n.verticalAlign,d=u?o:[];if(!u){var f={},p=a(),m=s||{};d.push(e(l6,Br(br,f,m,p)));var b=Br(LX,f,m,p);b&&d[c?"push":"unshift"](e(c6,{props:{right:c,verticalAlign:l}},b))}return e(n.tag,ve(i,{staticClass:"media"}),d)}}),cie=pe({components:{BMedia:uie,BMediaAside:c6,BMediaBody:l6}}),zn="$_documentListeners",lie=V.extend({created:function(){this[zn]={}},beforeDestroy:function(){var e=this;Pe(this[zn]||{}).forEach(function(r){e[zn][r].forEach(function(n){e.listenOffDocument(r,n)})}),this[zn]=null},methods:{registerDocumentListener:function(e,r){this[zn]&&(this[zn][e]=this[zn][e]||[],Ee(this[zn][e],r)||this[zn][e].push(r))},unregisterDocumentListener:function(e,r){this[zn]&&this[zn][e]&&(this[zn][e]=this[zn][e].filter(function(n){return n!==r}))},listenDocument:function(e,r,n){e?this.listenOnDocument(r,n):this.listenOffDocument(r,n)},listenOnDocument:function(e,r){ft&&(Ot(document,e,r,Ve),this.registerDocumentListener(e,r))},listenOffDocument:function(e,r){ft&&kt(document,e,r,Ve),this.unregisterDocumentListener(e,r)}}}),Vn="$_windowListeners",die=V.extend({created:function(){this[Vn]={}},beforeDestroy:function(){var e=this;Pe(this[Vn]||{}).forEach(function(r){e[Vn][r].forEach(function(n){e.listenOffWindow(r,n)})}),this[Vn]=null},methods:{registerWindowListener:function(e,r){this[Vn]&&(this[Vn][e]=this[Vn][e]||[],Ee(this[Vn][e],r)||this[Vn][e].push(r))},unregisterWindowListener:function(e,r){this[Vn]&&this[Vn][e]&&(this[Vn][e]=this[Vn][e].filter(function(n){return n!==r}))},listenWindow:function(e,r,n){e?this.listenOnWindow(r,n):this.listenOffWindow(r,n)},listenOnWindow:function(e,r){ft&&(Ot(window,e,r,Ve),this.registerWindowListener(e,r))},listenOffWindow:function(e,r){ft&&kt(window,e,r,Ve),this.unregisterWindowListener(e,r)}}}),rd=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e&&e.$options._scopeId||r};function fie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var QE=V.extend({computed:{scopedStyleAttrs:function(){var e=rd(this.$parent);return e?fie({},e,""):{}}}}),hie=V.extend({abstract:!0,name:aX,props:{nodes:y(r4)},data:function(e){return{updatedNodes:e.nodes}},destroyed:function(){AJ(this.$el)},render:function(e){var r=this.updatedNodes,n=be(r)?r({}):r;return n=Ke(n).filter(Te),n&&n.length>0&&!n[0].text?n[0]:e()}}),pie={container:y([yo,I],"body"),disabled:y(B,!1),tag:y(I,"div")},mie=V.extend({name:iX,mixins:[Ce],props:pie,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(ft){var e=this.container;return Ge(e)?ni(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=new hie({el:r,parent:this,propsData:{nodes:Ke(this.normalizeSlot())}})}}},updateTarget:function(){if(ft&&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=Ke(this.normalizeSlot()).filter(Te);if(r.length>0&&!r[0].text)return r[0]}return e()}});function tO(t){"@babel/helpers - typeof";return tO=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},tO(t)}function Jk(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 Zk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Jk(Object(r),!0).forEach(function(n){gie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jk(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qk(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function bie(t,e,r){return e&&Qk(t.prototype,e),r&&Qk(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function qg(){return typeof Reflect<"u"&&Reflect.get?qg=Reflect.get:qg=function(e,r,n){var i=yie(e,r);if(i){var a=Object.getOwnPropertyDescriptor(i,r);return a.get?a.get.call(arguments.length<3?e:n):a.value}},qg.apply(this,arguments)}function yie(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=nd(t),t!==null););return t}function _ie(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&&rO(t,e)}function rO(t,e){return rO=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},rO(t,e)}function wie(t){var e=Oie();return function(){var n=nd(t),i;if(e){var a=nd(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return Sie(this,i)}}function Sie(t,e){if(e&&(tO(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d6(t)}function d6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Oie(){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 nd(t){return nd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nd(t)}var Tie=function(t){_ie(r,t);var e=wie(r);function r(n){var i,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return vie(this,r),i=e.call(this,n,a),bb(d6(i),{trigger:_i()}),i}return bie(r,null,[{key:"Defaults",get:function(){return Zk(Zk({},qg(nd(r),"Defaults",this)),{},{trigger:null})}}]),r}(pc),eD=1040,Eie=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",xie=".sticky-top",Pie=".navbar-toggler",Cie=V.extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(e,r){ft&&(this.getScrollbarWidth(),e>0&&r===0?(this.checkScrollbar(),this.setScrollbar(),cn(document.body,"modal-open")):e===0&&r>0&&(this.resetScrollbar(),Yr(document.body,"modal-open")),Mt(document.body,"data-modal-open-count",String(e)))},modals:function(e){var r=this;this.checkScrollbar(),at(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(ft&&St(this.baseZIndex)){var e=document.createElement("div");cn(e,"modal-backdrop"),cn(e,"d-none"),zr(e,"display","none"),document.body.appendChild(e),this.baseZIndex=oe(ei(e).zIndex,eD),document.body.removeChild(e)}return this.baseZIndex||eD},getScrollbarWidth:function(){if(ft&&St(this.scrollbarWidth)){var e=document.createElement("div");cn(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=Qu(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,s){a.zIndex=n+s,a.scrollbarWidth=i,a.isTop=s===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=Qu(document.body),r=e.left,n=e.right;this.isBodyOverflowing=r+n<window.innerWidth},setScrollbar:function(){var e=document.body;if(e._paddingChangedForModal=e._paddingChangedForModal||[],e._marginChangedForModal=e._marginChangedForModal||[],this.isBodyOverflowing){var r=this.scrollbarWidth;si(Eie).forEach(function(i){var a=Sl(i,"paddingRight")||"";Mt(i,"data-padding-right",a),zr(i,"paddingRight","".concat(Ne(ei(i).paddingRight,0)+r,"px")),e._paddingChangedForModal.push(i)}),si(xie).forEach(function(i){var a=Sl(i,"marginRight")||"";Mt(i,"data-margin-right",a),zr(i,"marginRight","".concat(Ne(ei(i).marginRight,0)-r,"px")),e._marginChangedForModal.push(i)}),si(Pie).forEach(function(i){var a=Sl(i,"marginRight")||"";Mt(i,"data-margin-right",a),zr(i,"marginRight","".concat(Ne(ei(i).marginRight,0)+r,"px")),e._marginChangedForModal.push(i)});var n=Sl(e,"paddingRight")||"";Mt(e,"data-padding-right",n),zr(e,"paddingRight","".concat(Ne(ei(e).paddingRight,0)+r,"px"))}},resetScrollbar:function(){var e=document.body;e._paddingChangedForModal&&e._paddingChangedForModal.forEach(function(r){Ia(r,"data-padding-right")&&(zr(r,"paddingRight",ii(r,"data-padding-right")||""),Da(r,"data-padding-right"))}),e._marginChangedForModal&&e._marginChangedForModal.forEach(function(r){Ia(r,"data-margin-right")&&(zr(r,"marginRight",ii(r,"data-margin-right")||""),Da(r,"data-margin-right"))}),e._paddingChangedForModal=null,e._marginChangedForModal=null,Ia(e,"data-padding-right")&&(zr(e,"paddingRight",ii(e,"data-padding-right")||""),Da(e,"data-padding-right"))}}}),Yc=new Cie;function tD(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;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?tD(Object(r),!0).forEach(function(n){Un(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Un(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qb=mr("visible",{type:B,defaultValue:!1,event:Rn}),Aie=qb.mixin,Mie=qb.props,Cw=qb.prop,$ie=qb.event,kie="backdrop",Die="esc",Iie="FORCE",Rie="toggle",Xg="cancel",Jg="headerclose",Zg="ok",Lie=[Xg,Jg,Zg],Nie={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},f6=ee(fe(so(so(so({},ct),Mie),{},{ariaLabel:y(I),autoFocusButton:y(I,null,function(t){return it(t)||Ee(Lie,t)}),bodyBgVariant:y(I),bodyClass:y(we),bodyTextVariant:y(I),busy:y(B,!1),buttonSize:y(I),cancelDisabled:y(B,!1),cancelTitle:y(I,"Cancel"),cancelTitleHtml:y(I),cancelVariant:y(I,"secondary"),centered:y(B,!1),contentClass:y(we),dialogClass:y(we),footerBgVariant:y(I),footerBorderVariant:y(I),footerClass:y(we),footerTag:y(I,"footer"),footerTextVariant:y(I),headerBgVariant:y(I),headerBorderVariant:y(I),headerClass:y(we),headerCloseContent:y(I,"&times;"),headerCloseLabel:y(I,"Close"),headerCloseVariant:y(I),headerTag:y(I,"header"),headerTextVariant:y(I),hideBackdrop:y(B,!1),hideFooter:y(B,!1),hideHeader:y(B,!1),hideHeaderClose:y(B,!1),ignoreEnforceFocusSelector:y(Qr),lazy:y(B,!1),modalClass:y(we),noCloseOnBackdrop:y(B,!1),noCloseOnEsc:y(B,!1),noEnforceFocus:y(B,!1),noFade:y(B,!1),noStacking:y(B,!1),okDisabled:y(B,!1),okOnly:y(B,!1),okTitle:y(I,"OK"),okTitleHtml:y(I),okVariant:y(I,"primary"),returnFocus:y([yo,pr,I]),scrollable:y(B,!1),size:y(I,"md"),static:y(B,!1),title:y(I),titleClass:y(we),titleHtml:y(I),titleSrOnly:y(B,!1),titleTag:y(I,"h5")})),Tn),h6=V.extend({name:Tn,mixins:[Er,ht,Aie,lie,Xi,die,Ce,QE],inheritAttrs:!1,props:f6,data:function(){return{isHidden:!0,isVisible:!1,isTransitioning:!1,isShow:!1,isBlock:!1,isOpening:!1,isClosing:!1,ignoreBackdropClick:!1,isModalOverflowing:!1,scrollbarWidth:0,zIndex:Yc.getBaseZIndex(),isTop:!0,isBodyOverflowing:!1}},computed:{modalId:function(){return this.safeId()},modalOuterId:function(){return this.safeId("__BV_modal_outer_")},modalHeaderId:function(){return this.safeId("__BV_modal_header_")},modalBodyId:function(){return this.safeId("__BV_modal_body_")},modalTitleId:function(){return this.safeId("__BV_modal_title_")},modalContentId:function(){return this.safeId("__BV_modal_content_")},modalFooterId:function(){return this.safeId("__BV_modal_footer_")},modalBackdropId:function(){return this.safeId("__BV_modal_backdrop_")},modalClasses:function(){return[{fade:!this.noFade,show:this.isShow},this.modalClass]},modalStyles:function(){var e="".concat(this.scrollbarWidth,"px");return{paddingLeft:!this.isBodyOverflowing&&this.isModalOverflowing?e:"",paddingRight:this.isBodyOverflowing&&!this.isModalOverflowing?e:"",display:this.isBlock?"block":"none"}},dialogClasses:function(){var e;return[(e={},Un(e,"modal-".concat(this.size),this.size),Un(e,"modal-dialog-centered",this.centered),Un(e,"modal-dialog-scrollable",this.scrollable),e),this.dialogClass]},headerClasses:function(){var e;return[(e={},Un(e,"bg-".concat(this.headerBgVariant),this.headerBgVariant),Un(e,"text-".concat(this.headerTextVariant),this.headerTextVariant),Un(e,"border-".concat(this.headerBorderVariant),this.headerBorderVariant),e),this.headerClass]},titleClasses:function(){return[{"sr-only":this.titleSrOnly},this.titleClass]},bodyClasses:function(){var e;return[(e={},Un(e,"bg-".concat(this.bodyBgVariant),this.bodyBgVariant),Un(e,"text-".concat(this.bodyTextVariant),this.bodyTextVariant),e),this.bodyClass]},footerClasses:function(){var e;return[(e={},Un(e,"bg-".concat(this.footerBgVariant),this.footerBgVariant),Un(e,"text-".concat(this.footerTextVariant),this.footerTextVariant),Un(e,"border-".concat(this.footerBorderVariant),this.footerBorderVariant),e),this.footerClass]},modalOuterStyle:function(){return{position:"absolute",zIndex:this.zIndex}},slotScope:function(){return{cancel:this.onCancel,close:this.onClose,hide:this.hide,ok:this.onOk,visible:this.isVisible}},computeIgnoreEnforceFocusSelector:function(){return Ke(this.ignoreEnforceFocusSelector).filter(Te).join(",").trim()},computedAttrs:function(){var e=this.static?{}:this.scopedStyleAttrs;return so(so(so({},e),this.bvAttrs),{},{id:this.modalOuterId})},computedModalAttrs:function(){var e=this.isVisible,r=this.ariaLabel;return{id:this.modalId,role:"dialog","aria-hidden":e?null:"true","aria-modal":e?"true":null,"aria-label":r,"aria-labelledby":this.hideHeader||r||!(this.hasNormalizedSlot(Z_)||this.titleHtml||this.title)?null:this.modalTitleId,"aria-describedby":this.modalBodyId}}},watch:Un({},Cw,function(t,e){t!==e&&this[t?"show":"hide"]()}),created:function(){this.$_observer=null,this.$_returnFocus=this.returnFocus||null},mounted:function(){this.zIndex=Yc.getBaseZIndex(),this.listenOnRoot(dr(Tn,Nr),this.showHandler),this.listenOnRoot(dr(Tn,$n),this.hideHandler),this.listenOnRoot(dr(Tn,ZF),this.toggleHandler),this.listenOnRoot(Ht(Tn,Nr),this.modalListener),this[Cw]===!0&&this.$nextTick(this.show)},beforeDestroy:function(){Yc.unregisterModal(this),this.setObserver(!1),this.isVisible&&(this.isVisible=!1,this.isShow=!1,this.isTransitioning=!1)},methods:{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=qh(this.$refs.content,this.checkModalOverflow.bind(this),Nie))},updateModel:function(e){e!==this[Cw]&&this.$emit($ie,e)},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Tie(e,so(so({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(Xt,this.show);return}this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var e=this.buildEvent(Nr,{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($n,{cancelable:e!==Iie,trigger:e||null});if(e===Zg?this.$emit(hX,r):e===Xg?this.$emit(oX,r):e===Jg&&this.$emit(_S,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(Rie):this.show()},getActiveElement:function(){var e=Io(ft?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;if(Yc.modalsAreOpen&&this.noStacking){this.listenOnRootOnce(Ht(Tn,Xt),this.doShow);return}Yc.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,at(function(){at(function(){e.isShow=!0})})},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,at(function(){e.emitEvent(e.buildEvent(fn)),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,Yc.unregisterModal(e),e.returnFocusTo(),e.emitEvent(e.buildEvent(Xt))})},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ht(Tn,r),e,e.componentId),this.$emit(r,e)},onDialogMousedown:function(){var e=this,r=this.$refs.modal,n=function i(a){kt(r,"mouseup",i,Ve),a.target===r&&(e.ignoreBackdropClick=!0)};Ot(r,"mouseup",n,Ve)},onClickOut:function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}!this.isVisible||this.noCloseOnBackdrop||!lr(document.body,e.target)||lr(this.$refs.content,e.target)||this.hide(kie)},onOk:function(){this.hide(Zg)},onCancel:function(){this.hide(Xg)},onClose:function(){this.hide(Jg)},onEsc:function(e){e.keyCode===xE&&this.isVisible&&!this.noCloseOnEsc&&this.hide(Die)},focusHandler:function(e){var r=this.$refs.content,n=e.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!r||document===n||lr(r,n)||this.computeIgnoreEnforceFocusSelector&&kn(this.computeIgnoreEnforceFocusSelector,n,!0))){var i=PS(this.$refs.content),a=this.$refs["bottom-trap"],s=this.$refs["top-trap"];if(a&&n===a){if(Ie(i[0]))return}else if(s&&n===s&&Ie(i[i.length-1]))return;Ie(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;ft&&at(function(){var r=e.$refs.modal,n=e.$refs.content,i=e.getActiveElement();if(r&&n&&!(i&&lr(n,i))){var a=e.$refs["ok-button"],s=e.$refs["cancel-button"],o=e.$refs["close-button"],u=e.autoFocusButton,c=u===Zg&&a?a.$el||a:u===Xg&&s?s.$el||s:u===Jg&&o?o.$el||o:n;Ie(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)?ni(e):e,e&&(e=e.$el||e,Ie(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(rJ,this.slotScope);if(!n){var i=e();this.hideHeaderClose||(i=e(ec,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot(nJ)])),n=[e(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot(Z_)?{}:Rt(this.titleHtml,this.title)},this.normalizeSlot(Z_,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(br,this.slotScope)),s=e();if(!this.hideFooter){var o=this.normalizeSlot(tJ,this.slotScope);if(!o){var u=e();this.okOnly||(u=e(In,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(QA)?{}:Rt(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot(QA)));var c=e(In,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot(eM)?{}:Rt(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot(eM));o=[u,c]}s=e(this.footerTag,{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[o])}var l=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[r,a,s]),d=e(),f=e();this.isVisible&&!this.noEnforceFocus&&(d=e("span",{attrs:{tabindex:"0"},ref:"top-trap"}),f=e("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var p=e("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[d,l,f]),m=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"},[p]);m=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}},[m]);var b=e();return!this.hideBackdrop&&this.isVisible&&(b=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot(eJ))),b=e(fc,{props:{noFade:this.noFade}},[b]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this[ws])},[m,b])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(mie,[this.makeModal(e)])}}),Bie=dr(Tn,Nr),d0="__bv_modal_directive__",p6=function(e){var r=e.modifiers,n=r===void 0?{}:r,i=e.arg,a=e.value;return Ge(a)?a:Ge(i)?i:Pe(n).reverse()[0]},m6=function(e){return e&&Ss(e,".dropdown-menu > li, li.nav-item")&&ni("a, button",e)||e},g6=function(e){e&&e.tagName!=="BUTTON"&&(Ia(e,"role")||Mt(e,"role","button"),e.tagName!=="A"&&!Ia(e,"tabindex")&&Mt(e,"tabindex","0"))},Fie=function(e,r,n){var i=p6(r),a=m6(e);if(i&&a){var s=function(u){var c=u.currentTarget;if(!Ou(c)){var l=u.type,d=u.keyCode;(l==="click"||l==="keydown"&&(d===ks||d===Va))&&n.context.$root.$emit(Bie,i,c)}};e[d0]={handler:s,target:i,trigger:a},g6(a),Ot(a,"click",s,Cn),a.tagName!=="BUTTON"&&ii(a,"role")==="button"&&Ot(a,"keydown",s,Cn)}},v6=function(e){var r=e[d0]||{},n=r.trigger,i=r.handler;n&&i&&(kt(n,"click",i,Cn),kt(n,"keydown",i,Cn),kt(e,"click",i,Cn),kt(e,"keydown",i,Cn)),delete e[d0]},rD=function(e,r,n){var i=e[d0]||{},a=p6(r),s=m6(e);(a!==i.target||s!==i.trigger)&&(v6(e),Fie(e,r,n)),g6(s)},jie=function(){},b6={inserted:rD,updated:jie,componentUpdated:rD,unbind:v6};function Hie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nD(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function zie(t,e,r){return e&&nD(t.prototype,e),r&&nD(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function iD(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 Za(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?iD(Object(r),!0).forEach(function(n){Vie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Vie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Uie(t){return Kie(t)||Yie(t)||Wie(t)||Gie()}function Gie(){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 Wie(t,e){if(t){if(typeof t=="string")return nO(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 nO(t,e)}}function Yie(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Kie(t){if(Array.isArray(t))return nO(t)}function nO(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var au="$bvModal",Aw="_bv__modal",qie=["id"].concat(Uie(Pe(Re(f6,["busy","lazy","noStacking","static","visible"])))),Xie=function(){},Mw={msgBoxContent:"default",title:"modal-title",okTitle:"modal-ok",cancelTitle:"modal-cancel"},aD=function(e){return qie.reduce(function(r,n){return Jt(e[n])||(r[n]=e[n]),r},{})},Jie=function(e){var r=e.extend({name:Gq,extends:h6,destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mounted:function(){var o=this,u=function(){o.$nextTick(function(){at(function(){o.$destroy()})})};this.$parent.$once(Vh,u),this.$once(Xt,u),this.$router&&this.$route&&this.$once(QF,this.$watch("$router",u)),this.show()}}),n=function(o,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Xie;if(!(Hv(au)||zA(au))){var l=new r({parent:o,propsData:Za(Za(Za({},aD(ti(Tn))),{},{hideHeaderClose:!0,hideHeader:!(u.title||u.titleHtml)},Re(u,Pe(Mw))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return Pe(Mw).forEach(function(d){Jt(u[d])||(l.$slots[Mw[d]]=Ke(u[d]))}),new Promise(function(d,f){var p=!1;l.$once(Vh,function(){p||f(new Error("BootstrapVue MsgBox destroyed before resolve"))}),l.$on($n,function(b){if(!b.defaultPrevented){var _=c(b);b.defaultPrevented||(p=!0,d(_))}});var m=document.createElement("div");document.body.appendChild(m),l.$mount(m)})}},i=function(o,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(!(!u||zA(au)||Hv(au)||!be(l)))return n(o,Za(Za({},aD(c)),{},{msgBoxContent:u}),l)},a=function(){function s(o){Hie(this,s),wp(this,{_vm:o,_root:o.$root}),bb(this,{_vm:_i(),_root:_i()})}return zie(s,[{key:"show",value:function(u){if(u&&this._root){for(var c,l=arguments.length,d=new Array(l>1?l-1:0),f=1;f<l;f++)d[f-1]=arguments[f];(c=this._root).$emit.apply(c,[dr(Tn,"show"),u].concat(d))}}},{key:"hide",value:function(u){if(u&&this._root){for(var c,l=arguments.length,d=new Array(l>1?l-1:0),f=1;f<l;f++)d[f-1]=arguments[f];(c=this._root).$emit.apply(c,[dr(Tn,"hide"),u].concat(d))}}},{key:"msgBoxOk",value:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=Za(Za({},c),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:u});return i(this._vm,u,l,function(){return!0})}},{key:"msgBoxConfirm",value:function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=Za(Za({},c),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return i(this._vm,u,l,function(d){var f=d.trigger;return f==="ok"?!0:f==="cancel"?!1:null})}}]),s}();e.mixin({beforeCreate:function(){this[Aw]=new a(this)}}),qu(e.prototype,au)||mE(e.prototype,au,{get:function(){return(!this||!this[Aw])&&Tr('"'.concat(au,'" must be accessed from a Vue instance "this" context.'),Tn),this[Aw]}})},Zie=pe({plugins:{plugin:Jie}}),Qie=pe({components:{BModal:h6},directives:{VBModal:b6},plugins:{BVModalPlugin:Zie}});function sD(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var eae=function(e){return e=e==="left"?"start":e==="right"?"end":e,"justify-content-".concat(e)},ex=ee({align:y(I),cardHeader:y(B,!1),fill:y(B,!1),justified:y(B,!1),pills:y(B,!1),small:y(B,!1),tabs:y(B,!1),tag:y(I,"ul"),vertical:y(B,!1)},dF),y6=V.extend({name:dF,functional:!0,props:ex,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.tabs,u=i.pills,c=i.vertical,l=i.align,d=i.cardHeader;return e(i.tag,ve(a,{staticClass:"nav",class:(n={"nav-tabs":o,"nav-pills":u&&!o,"card-header-tabs":!c&&d&&o,"card-header-pills":!c&&d&&u&&!o,"flex-column":c,"nav-fill":!c&&i.fill,"nav-justified":!c&&i.justified},sD(n,eae(l),!c&&l),sD(n,"small",i.small),n)}),s)}});function oD(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 uD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?oD(Object(r),!0).forEach(function(n){tae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function tae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _6=Re(Ji,["event","routerTag"]),rae=ee(fe(uD(uD({},_6),{},{linkAttrs:y(pr,{}),linkClasses:y(we)})),vF),nae=V.extend({name:vF,functional:!0,props:rae,render:function(e,r){var n=r.props,i=r.data,a=r.listeners,s=r.children;return e("li",ve(Re(i,["on"]),{staticClass:"nav-item"}),[e(Ln,{staticClass:"nav-link",class:n.linkClasses,attrs:n.linkAttrs,props:Et(_6,n),on:a},s)])}}),iae={},aae=V.extend({name:Wq,functional:!0,props:iae,render:function(e,r){var n=r.data,i=r.children;return e("li",ve(n,{staticClass:"navbar-text"}),i)}});function cD(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 f0(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?cD(Object(r),!0).forEach(function(n){sae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function sae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var w6=Re(VE,["inline"]),oae=ee(fe(f0(f0({},w6),{},{formClass:y(we)})),gF),uae=V.extend({name:gF,functional:!0,props:oae,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=r.listeners,o=e(UE,{class:n.formClass,props:f0(f0({},Et(w6,n)),{},{inline:!0}),attrs:i.attrs,on:s},a);return e("li",ve(Re(i,["attrs","on"]),{staticClass:"form-inline"}),[o])}});function cae(t){return hae(t)||fae(t)||dae(t)||lae()}function lae(){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 dae(t,e){if(t){if(typeof t=="string")return iO(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 iO(t,e)}}function fae(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hae(t){if(Array.isArray(t))return iO(t)}function iO(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function lD(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 dD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lD(Object(r),!0).forEach(function(n){pae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function pae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var mae=ee(fe(dD(dD({},ct),qi(Oj,[].concat(cae(Pe(Ib)),["html","lazy","menuClass","noCaret","role","text","toggleClass"])))),bF),Lm=V.extend({name:bF,mixins:[ht,zE,Ce],props:mae,computed:{toggleId:function(){return this.safeId("_BV_toggle_")},menuId:function(){return this.safeId("_BV_toggle_menu_")},dropdownClasses:function(){return[this.directionClass,this.boundaryClass,{show:this.visible}]},menuClasses:function(){return[this.menuClass,{"dropdown-menu-right":this.right,show:this.visible}]},toggleClasses:function(){return[this.toggleClass,{"dropdown-toggle-no-caret":this.noCaret}]}},render:function(e){var r=this.toggleId,n=this.menuId,i=this.visible,a=this.hide,s=e(Ln,{staticClass:"nav-link dropdown-toggle",class:this.toggleClasses,props:{href:"#".concat(this.id||""),disabled:this.disabled},attrs:{id:r,role:"button","aria-haspopup":"true","aria-expanded":i?"true":"false","aria-controls":n},on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle},ref:"toggle"},[this.normalizeSlot([Es,bJ])||e("span",{domProps:Rt(this.html,this.text)})]),o=e("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{tabindex:"-1","aria-labelledby":r,id:n},on:{keydown:this.onKeydown},ref:"menu"},!this.lazy||i?this.normalizeSlot(br,{hide:a}):[e()]);return e("li",{staticClass:"nav-item b-nav-dropdown dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[s,o])}}),S6=pe({components:{BNav:y6,BNavItem:nae,BNavText:aae,BNavForm:uae,BNavItemDropdown:Lm,BNavItemDd:Lm,BNavDropdown:Lm,BNavDd:Lm},plugins:{DropdownPlugin:GE}});function $w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var gae=ee({fixed:y(I),print:y(B,!1),sticky:y(B,!1),tag:y(I,"nav"),toggleable:y(en,!1),type:y(I,"light"),variant:y(I)},fF),vae=V.extend({name:fF,mixins:[Ce],provide:function(){return{bvNavbar:this}},props:gae,computed:{breakpointClass:function(){var e=this.toggleable,r=u4()[0],n=null;return e&&Ge(e)&&e!==r?n="navbar-expand-".concat(e):e===!1&&(n="navbar-expand"),n}},render:function(e){var r,n=this.tag,i=this.type,a=this.variant,s=this.fixed;return e(n,{staticClass:"navbar",class:[(r={"d-print":this.print,"sticky-top":this.sticky},$w(r,"navbar-".concat(i),i),$w(r,"bg-".concat(a),a),$w(r,"fixed-".concat(s),s),r),this.breakpointClass],attrs:{role:za(n,"nav")?null:"navigation"}},[this.normalizeSlot()])}});function fD(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bae=function(e){return e=e==="left"?"start":e==="right"?"end":e,"justify-content-".concat(e)},yae=ee(qi(ex,["tag","fill","justified","align","small"]),pF),_ae=V.extend({name:pF,functional:!0,props:yae,render:function(e,r){var n,i=r.props,a=r.data,s=r.children,o=i.align;return e(i.tag,ve(a,{staticClass:"navbar-nav",class:(n={"nav-fill":i.fill,"nav-justified":i.justified},fD(n,bae(o),o),fD(n,"small",i.small),n)}),s)}});function hD(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 pD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hD(Object(r),!0).forEach(function(n){wae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xb=Re(Ji,["event","routerTag"]);Xb.href.default=void 0;Xb.to.default=void 0;var Sae=ee(fe(pD(pD({},Xb),{},{tag:y(I,"div")})),hF),Oae=V.extend({name:hF,functional:!0,props:Sae,render:function(e,r){var n=r.props,i=r.data,a=r.children,s=n.to||n.href,o=s?Ln:n.tag;return e(o,ve(i,{staticClass:"navbar-brand",props:s?Et(Xb,n):{}}),a)}}),mD="navbar-toggler",Tae=Ht(Ur,"state"),Eae=Ht(Ur,"sync-state"),xae=ee({disabled:y(B,!1),label:y(I,"Toggle navigation"),target:y(Qr,void 0,!0)},mF),gD=V.extend({name:mF,directives:{VBToggle:sj},mixins:[Xi,Ce],props:xae,data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot(Tae,this.handleStateEvent),this.listenOnRoot(Eae,this.handleStateEvent)},methods:{onClick:function(e){this.disabled||this.$emit(Pi,e)},handleStateEvent:function(e,r){e===this.target&&(this.toggleState=r)}},render:function(e){var r=this.disabled;return e("button",{staticClass:mD,class:{disabled:r},directives:[{name:"VBToggle",value:this.target}],attrs:{type:"button",disabled:r,"aria-label":this.label},on:{click:this.onClick}},[this.normalizeSlot(br,{expanded:this.toggleState})||e("span",{staticClass:"".concat(mD,"-icon")})])}}),Pae=pe({components:{BNavbar:vae,BNavbarNav:_ae,BNavbarBrand:Oae,BNavbarToggle:gD,BNavToggle:gD},plugins:{NavPlugin:S6,CollapsePlugin:oj,DropdownPlugin:GE}});function kw(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Cae=ee({label:y(I),role:y(I,"status"),small:y(B,!1),tag:y(I,"span"),type:y(I,"border"),variant:y(I)},AF),O6=V.extend({name:AF,functional:!0,props:Cae,render:function(e,r){var n,i=r.props,a=r.data,s=r.slots,o=r.scopedSlots,u=s(),c=o||{},l=Br(a4,{},c,u)||i.label;return l&&(l=e("span",{staticClass:"sr-only"},l)),e(i.tag,ve(a,{attrs:{role:l?i.role||"status":null,"aria-hidden":l?null:"true"},class:(n={},kw(n,"spinner-".concat(i.type),i.type),kw(n,"spinner-".concat(i.type,"-sm"),i.small),kw(n,"text-".concat(i.variant),i.variant),n)}),[l||e()])}});function vD(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 yf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?vD(Object(r),!0).forEach(function(n){Aae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Aae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Dw={top:0,left:0,bottom:0,right:0},Mae=ee({bgColor:y(I),blur:y(I,"2px"),fixed:y(B,!1),noCenter:y(B,!1),noFade:y(B,!1),noWrap:y(B,!1),opacity:y(le,.85,function(t){var e=Ne(t,0);return e>=0&&e<=1}),overlayTag:y(I,"div"),rounded:y(en,!1),show:y(B,!1),spinnerSmall:y(B,!1),spinnerType:y(I,"border"),spinnerVariant:y(I),variant:y(I,"light"),wrapTag:y(I,"div"),zIndex:y(le,10)},yF),$ae=V.extend({name:yF,mixins:[Ce],props:Mae,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(O6,{props:{type:r,variant:n,small:i}})}},render:function(e){var r=this,n=this.show,i=this.fixed,a=this.noFade,s=this.noWrap,o=this.slotScope,u=e();if(n){var c=e("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:yf(yf({},Dw),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),l=e("div",{staticClass:"position-absolute",style:this.noCenter?yf({},Dw):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot(fJ,o)||this.defaultOverlayFn(o)]);u=e(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!s||s&&!i,"position-fixed":s&&i},style:yf(yf({},Dw),{},{zIndex:this.zIndex||10}),on:{click:function(f){return r.$emit(Pi,f)}},key:"overlay"},[c,l])}return u=e(fc,{props:{noFade:a,appear:!0},on:{"after-enter":function(){return r.$emit(fn)},"after-leave":function(){return r.$emit(Xt)}}},[u]),s?u:e(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},s?[u]:[this.normalizeSlot(),u])}}),kae=pe({components:{BOverlay:$ae}}),_f;function bD(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 yD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bD(Object(r),!0).forEach(function(n){Qg(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Qg(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jb=mr("value",{type:Uh,defaultValue:null,validator:function(e){return!St(e)&&oe(e,0)<1?(Tr('"v-model" value must be a number greater than "0"',yb),!1):!0}}),Dae=Jb.mixin,Iae=Jb.props,aO=Jb.prop,Rae=Jb.event,Nm=3,tx=5,Lae=function(e,r){return ph(r,function(n,i){return{number:e+i,classes:null}})},_D=function(e){var r=oe(e)||1;return r<1?tx:r},wD=function(e,r){var n=oe(e)||1;return n>r?r:n<1?1:n},SD=function(e){if(e.keyCode===Va)return ke(e,{immediatePropagation:!0}),e.currentTarget.click(),!1},rx=ee(fe(yD(yD({},Iae),{},{align:y(I,"left"),ariaLabel:y(I,"Pagination"),disabled:y(B,!1),ellipsisClass:y(we),ellipsisText:y(I,"…"),firstClass:y(we),firstNumber:y(B,!1),firstText:y(I,"«"),hideEllipsis:y(B,!1),hideGotoEndButtons:y(B,!1),labelFirstPage:y(I,"Go to first page"),labelLastPage:y(I,"Go to last page"),labelNextPage:y(I,"Go to next page"),labelPage:y(kX,"Go to page"),labelPrevPage:y(I,"Go to previous page"),lastClass:y(we),lastNumber:y(B,!1),lastText:y(I,"»"),limit:y(le,tx,function(t){return oe(t,0)<1?(Tr('Prop "limit" must be a number greater than "0"',yb),!1):!0}),nextClass:y(we),nextText:y(I,""),pageClass:y(we),pills:y(B,!1),prevClass:y(we),prevText:y(I,""),size:y(I)})),"pagination"),T6=V.extend({mixins:[Dae,Ce],props:rx,data:function(){var e=oe(this[aO],0);return e=e>0?e:-1,{currentPage:e,localNumberOfPages:1,localLimit:tx}},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 wD(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var e=this.localLimit,r=this.localNumberOfPages,n=this.computedCurrentPage,i=this.hideEllipsis,a=this.firstNumber,s=this.lastNumber,o=!1,u=!1,c=e,l=1;r<=e?c=r:n<e-1&&e>Nm?((!i||s)&&(u=!0,c=e-(a?0:1)),c=vs(c,e)):r-n+2<e&&e>Nm?((!i||a)&&(o=!0,c=e-(s?0:1)),l=r-c+1):(e>Nm&&(c=e-(i?0:2),o=!!(!i||a),u=!!(!i||s)),l=n-Yh(c/2)),l<1?(l=1,o=!1):l>r-c&&(l=r-c+1,u=!1),o&&a&&l<4&&(c=c+2,l=1,o=!1);var d=l+c-1;return u&&s&&d>r-3&&(c=c+(d===r-2?2:3),u=!1),e<=Nm&&(a&&l===1?c=vs(c+1,r,e+1):s&&r===l+c-1&&(l=Ze(l-1,1),c=vs(r-l+1,r,e+1))),c=vs(c,r-l+1),{showFirstDots:o,showLastDots:u,numberOfLinks:c,startNumber:l}},pageList:function(){var e=this.paginationParams,r=e.numberOfLinks,n=e.startNumber,i=this.computedCurrentPage,a=Lae(n,r);if(a.length>3){var s=i-n,o="bv-d-xs-down-none";if(s===0)for(var u=3;u<a.length;u++)a[u].classes=o;else if(s===a.length-1)for(var c=0;c<a.length-3;c++)a[c].classes=o;else{for(var l=0;l<s-1;l++)a[l].classes=o;for(var d=a.length-1;d>s+1;d--)a[d].classes=o}}return a}},watch:(_f={},Qg(_f,aO,function(t,e){t!==e&&(this.currentPage=wD(t,this.localNumberOfPages))}),Qg(_f,"currentPage",function(e,r){e!==r&&this.$emit(Rae,e>0?e:null)}),Qg(_f,"limit",function(e,r){e!==r&&(this.localLimit=_D(e))}),_f),created:function(){var e=this;this.localLimit=_D(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===Gi||r===Dn?(ke(e,{propagation:!1}),n?this.focusFirst():this.focusPrev()):(r===Ps||r===pn)&&(ke(e,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return si("button.page-link, a.page-link",this.$el).filter(function(e){return Vi(e)})},focusCurrent:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().find(function(n){return oe(ii(n,"aria-posinset"),0)===e.computedCurrentPage});Ie(r)||e.focusFirst()})},focusFirst:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().find(function(n){return!Ou(n)});Ie(r)})},focusLast:function(){var e=this;this.$nextTick(function(){var r=e.getButtons().reverse().find(function(n){return!Ou(n)});Ie(r)})},focusPrev:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(Io());n>0&&!Ou(r[n-1])&&Ie(r[n-1])})},focusNext:function(){var e=this;this.$nextTick(function(){var r=e.getButtons(),n=r.indexOf(Io());n<r.length-1&&!Ou(r[n+1])&&Ie(r[n+1])})}},render:function(e){var r=this,n=this.disabled,i=this.labelPage,a=this.ariaLabel,s=this.isNav,o=this.localNumberOfPages,u=this.computedCurrentPage,c=this.pageList.map(function(T){return T.number}),l=this.paginationParams,d=l.showFirstDots,f=l.showLastDots,p=this.align==="fill",m=[],b=function(P){return P===u},_=this.currentPage<1,S=function(P,k,w,A,C,E,$){var D=n||b(E)||_||P<1||P>o,M=P<1?1:P>o?o:P,L={disabled:D,page:M,index:M-1},N=r.normalizeSlot(w,L)||_e(A)||e(),j=e(D?"span":s?Ln:"button",{staticClass:"page-link",class:{"flex-grow-1":!s&&!D&&p},props:D||!s?{}:r.linkProps(P),attrs:{role:s?null:"menuitem",type:s||D?null:"button",tabindex:D||s?null:"-1","aria-label":k,"aria-controls":r.ariaControls||null,"aria-disabled":D?"true":null},on:D?{}:{"!click":function(U){r.onClick(U,P)},keydown:SD}},[N]);return e("li",{key:$,staticClass:"page-item",class:[{disabled:D,"flex-fill":p,"d-flex":p&&!s&&!D},C],attrs:{role:s?null:"presentation","aria-hidden":D?"true":null}},[j])},x=function(P){return e("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",p?"flex-fill":"",r.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(P?"last":"first")},[e("span",{staticClass:"page-link"},[r.normalizeSlot(HX)||_e(r.ellipsisText)||e()])])},O=function(P,k){var w=P.number,A=b(w)&&!_,C=n?null:A||_&&k===0?"0":"-1",E={role:s?null:"menuitemradio",type:s||n?null:"button","aria-disabled":n?"true":null,"aria-controls":r.ariaControls||null,"aria-label":Fa(i)?i(w):"".concat(be(i)?i():i," ").concat(w),"aria-checked":s?null:A?"true":"false","aria-current":s&&A?"page":null,"aria-posinset":s?null:w,"aria-setsize":s?null:o,tabindex:s?null:C},$=_e(r.makePage(w)),D={page:w,index:w-1,content:$,active:A,disabled:n},M=e(n?"span":s?Ln:"button",{props:n||!s?{}:r.linkProps(w),staticClass:"page-link",class:{"flex-grow-1":!s&&!n&&p},attrs:E,on:n?{}:{"!click":function(N){r.onClick(N,w)},keydown:SD}},[r.normalizeSlot(hJ,D)||$]);return e("li",{staticClass:"page-item",class:[{disabled:n,active:A,"flex-fill":p,"d-flex":p&&!s&&!n},P.classes,r.pageClass],attrs:{role:s?null:"presentation"},key:"page-".concat(w)},[M])},h=e();!this.firstNumber&&!this.hideGotoEndButtons&&(h=S(1,this.labelFirstPage,VX,this.firstText,this.firstClass,1,"pagination-goto-first")),m.push(h),m.push(S(u-1,this.labelPrevPage,mJ,this.prevText,this.prevClass,1,"pagination-goto-prev")),m.push(this.firstNumber&&c[0]!==1?O({number:1},0):e()),m.push(d?x(!1):e()),this.pageList.forEach(function(T,P){var k=d&&r.firstNumber&&c[0]!==1?1:0;m.push(O(T,P+k))}),m.push(f?x(!0):e()),m.push(this.lastNumber&&c[c.length-1]!==o?O({number:o},-1):e()),m.push(S(u+1,this.labelNextPage,dJ,this.nextText,this.nextClass,o,"pagination-goto-next"));var v=e();!this.lastNumber&&!this.hideGotoEndButtons&&(v=S(o,this.labelLastPage,ZX,this.lastText,this.lastClass,o,"pagination-goto-last")),m.push(v);var g=e("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:s?null:"menubar","aria-disabled":n?"true":"false","aria-label":s?null:a||null},on:s?{}:{keydown:this.handleKeyNav},ref:"ul"},m);return s?e("nav",{attrs:{"aria-disabled":n?"true":null,"aria-hidden":n?"true":"false","aria-label":s&&a||null}},[g]):g}});function OD(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 TD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?OD(Object(r),!0).forEach(function(n){Nae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):OD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Nae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var E6=20,x6=0,ED=function(e){return Ze(oe(e)||E6,1)},xD=function(e){return Ze(oe(e)||x6,0)},Bae=ee(fe(TD(TD({},rx),{},{ariaControls:y(I),perPage:y(le,E6),totalRows:y(le,x6)})),yb),Fae=V.extend({name:yb,mixins:[T6],props:Bae,computed:{numberOfPages:function(){var e=g4(xD(this.totalRows)/ED(this.perPage));return e<1?1:e},pageSizeNumberOfPages:function(){return{perPage:ED(this.perPage),totalRows:xD(this.totalRows),numberOfPages:this.numberOfPages}}},watch:{pageSizeNumberOfPages:function(e,r){it(r)||(e.perPage!==r.perPage&&e.totalRows===r.totalRows?this.currentPage=1:e.numberOfPages!==r.numberOfPages&&this.currentPage>e.numberOfPages&&(this.currentPage=1)),this.localNumberOfPages=e.numberOfPages}},created:function(){var e=this;this.localNumberOfPages=this.numberOfPages;var r=oe(this[aO],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 pc(qF,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(this.currentPage=r,this.$emit(Rn,this.currentPage),this.$nextTick(function(){Vi(i)&&n.$el.contains(i)?Ie(i):n.focusCurrent()}))}},makePage:function(e){return e},linkProps:function(){return{}}}}),jae=pe({components:{BPagination:Fae}});function PD(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 Iw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?PD(Object(r),!0).forEach(function(n){Hae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Hae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zae=function(e){return Ze(oe(e,0),1)},P6=Re(Ji,["event","routerTag"]),Vae=ee(fe(Iw(Iw(Iw({},rx),P6),{},{baseUrl:y(I,"/"),linkGen:y(mn),noPageDetect:y(B,!1),numberOfPages:y(le,1,function(t){var e=oe(t,0);return e<1?(Tr('Prop "number-of-pages" must be a number greater than "0"',yS),!1):!0}),pageGen:y(mn),pages:y(hn),useRouter:y(B,!1)})),yS),Uae=V.extend({name:yS,mixins:[T6],props:Vae,computed:{isNav:function(){return!0},computedValue:function(){var e=oe(this.value,0);return e<1?null:e}},watch:{numberOfPages:function(){var e=this;this.$nextTick(function(){e.setNumberOfPages()})},pages:function(){var e=this;this.$nextTick(function(){e.setNumberOfPages()})}},created:function(){this.setNumberOfPages()},mounted:function(){var e=this;this.$router&&this.$watch("$route",function(){e.$nextTick(function(){at(function(){e.guessCurrentPage()})})})},methods:{setNumberOfPages:function(){var e=this;rt(this.pages)&&this.pages.length>0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=zae(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 pc(qF,{cancelable:!0,vueTarget:this,target:i});this.$emit(a.type,a,r),!a.defaultPrevented&&(at(function(){n.currentPage=r,n.$emit(Rn,r)}),this.$nextTick(function(){Bn(i)}))}},getPageInfo:function(e){if(!rt(this.pages)||this.pages.length===0||Jt(this.pages[e-1])){var r="".concat(this.baseUrl).concat(e);return{link:this.useRouter?{path:r}:r,text:_e(e)}}var n=this.pages[e-1];if(qt(n)){var i=n.link;return{link:qt(i)?i:this.useRouter?{path:i}:i,text:_e(n.text||e)}}else return{link:_e(n),text:_e(e)}},makePage:function(e){var r=this.pageGen,n=this.getPageInfo(e);return Fa(r)?r(e,n):n.text},makeLink:function(e){var r=this.linkGen,n=this.getPageInfo(e);return Fa(r)?r(e,n):n.link},linkProps:function(e){var r=Et(P6,this),n=this.makeLink(e);return this.useRouter||qt(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=w4({to:e},"a","/","/"),document.body.appendChild(r);var n=r,i=n.pathname,a=n.hash,s=n.search;return document.body.removeChild(r),{path:i,hash:a,query:hM(s)}}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&&(ft||!ft&&e))for(var i=e&&r?{path:r.path,hash:r.hash,query:r.query}:{},a=ft?window.location||document.location:null,s=a?{path:a.pathname,hash:a.hash,query:hM(a.search)}:{},o=1;!n&&o<=this.localNumberOfPages;o++){var u=this.makeLink(o);e&&(qt(u)||this.useRouter)?n=Je(this.resolveRoute(u),i)?o:null:ft?n=Je(this.resolveLink(u),s)?o:null:n=-1}this.currentPage=n>0?n:0}}}),Gae=pe({components:{BPaginationNav:Uae}}),Wae={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"},Yae={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},Kae={arrowPadding:y(le,6),boundary:y([yo,I],"scrollParent"),boundaryPadding:y(le,5),fallbackPlacement:y(Qr,"flip"),offset:y(le,0),placement:y(I,"top"),target:y([yo,UN])},qae=V.extend({name:Zq,props:Kae,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(Nr,function(n){e.popperCreate(n)});var r=function(){e.$nextTick(function(){at(function(){e.$destroy()})})};this.$parent.$once(Vh,r),this.$once(Xt,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 Wae[String(e).toUpperCase()]||"auto"},getOffset:function(e){if(!this.offset){var r=this.$refs.arrow||ni(".arrow",this.$el),n=Ne(ei(r).width,0)+Ne(this.arrowPadding,0);switch(Yae[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 GS(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(fc,{props:{appear:!0,noFade:n},on:{beforeEnter:function(a){return r.$emit(Nr,a)},afterEnter:function(a){return r.$emit(fn,a)},beforeLeave:function(a){return r.$emit($n,a)},afterLeave:function(a){return r.$emit(Xt,a)}}},[this.localShow?this.renderTemplate(e):e()])}});function CD(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 AD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?CD(Object(r),!0).forEach(function(n){sO(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):CD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function sO(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xae={html:y(B,!1),id:y(I)},C6=V.extend({name:rX,extends:qae,mixins:[QE],props:Xae,data:function(){return{title:"",content:"",variant:null,customClass:null,interactive:!0}},computed:{templateType:function(){return"tooltip"},templateClasses:function(){var e,r=this.variant,n=this.attachment,i=this.templateType;return[(e={noninteractive:!this.interactive},sO(e,"b-".concat(i,"-").concat(r),r),sO(e,"bs-".concat(i,"-").concat(n),n),e),this.customClass]},templateAttributes:function(){var e=this.id;return AD(AD({},this.$parent.$parent.$attrs),{},{id:e,role:"tooltip",tabindex:"-1"},this.scopedStyleAttrs)},templateListeners:function(){var e=this;return{mouseenter:function(n){e.$emit(WF,n)},mouseleave:function(n){e.$emit(YF,n)},focusin:function(n){e.$emit(zv,n)},focusout:function(n){e.$emit(Vv,n)}}}},methods:{renderTemplate:function(e){var r=this.title,n=be(r)?r({}):r,i=this.html&&!be(r)?{innerHTML:r}:{};return e("div",{staticClass:"tooltip b-tooltip",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[e("div",{staticClass:"arrow",ref:"arrow"}),e("div",{staticClass:"tooltip-inner",domProps:i},[n])])}}});function MD(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 Rw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MD(Object(r),!0).forEach(function(n){Jae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Jae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var A6=".modal-content",Zae=Ht(Tn,Xt),Qae=".b-sidebar",ese=[A6,Qae].join(", "),tse="dropdown",rse=".dropdown-menu.show",Bm="data-original-title",$D={title:"",content:"",variant:null,customClass:null,triggers:"",placement:"auto",fallbackPlacement:"flip",target:null,container:null,noFade:!1,boundary:"scrollParent",boundaryPadding:5,offset:0,delay:0,arrowPadding:6,interactive:!0,disabled:!1,id:null,html:!1},nx=V.extend({name:tX,mixins:[Xi],data:function(){return Rw(Rw({},$D),{},{activeTrigger:{hover:!1,click:!1,focus:!1},localShow:!1})},computed:{templateType:function(){return"tooltip"},computedId:function(){return this.id||"__bv_".concat(this.templateType,"_").concat(this[ws],"__")},computedDelay:function(){var e={show:0,hide:0};return Zr(this.delay)?(e.show=Ze(oe(this.delay.show,0),0),e.hide=Ze(oe(this.delay.hide,0),0)):(ji(this.delay)||Ge(this.delay))&&(e.show=e.hide=Ze(oe(this.delay,0),0)),e},computedTriggers:function(){return Ke(this.triggers).filter(Te).join(" ").trim().toLowerCase().split(/\s+/).sort()},isWithActiveTrigger:function(){for(var e in this.activeTrigger)if(this.activeTrigger[e])return!0;return!1},computedTemplateData:function(){var e=this.title,r=this.content,n=this.variant,i=this.customClass,a=this.noFade,s=this.interactive;return{title:e,content:r,variant:n,customClass:i,noFade:a,interactive:s}}},watch:{computedTriggers:function(e,r){var n=this;Je(e,r)||this.$nextTick(function(){n.unListen(),r.forEach(function(i){Ee(e,i)||n.activeTrigger[i]&&(n.activeTrigger[i]=!1)}),n.listen()})},computedTemplateData:function(){this.handleTemplateUpdate()},title:function(e,r){e!==r&&!e&&this.hide()},disabled:function(e){e?this.disable():this.enable()}},created:function(){var e=this;this.$_tip=null,this.$_hoverTimeout=null,this.$_hoverState="",this.$_visibleInterval=null,this.$_enabled=!this.disabled,this.$_noop=Kh.bind(this),this.$parent&&this.$parent.$once(QF,function(){e.$nextTick(function(){at(function(){e.$destroy()})})}),this.$nextTick(function(){var r=e.getTarget();r&&lr(document.body,r)?(e.scopeId=rd(e.$parent),e.listen()):Tr(Ge(e.target)?'Unable to find target element by ID "#'.concat(e.target,'" in document.'):"The provided target is no valid HTML element.",e.templateType)})},updated:function(){this.$nextTick(this.handleTemplateUpdate)},deactivated:function(){this.forceHide()},beforeDestroy:function(){this.unListen(),this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.clearVisibilityInterval(),this.destroyTemplate(),this.$_noop=null},methods:{getTemplate:function(){return C6},updateData:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=!1;Pe($D).forEach(function(i){!Jt(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=new r({parent:this,propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:oe(this.offset,0),arrowPadding:oe(this.arrowPadding,0),boundaryPadding:oe(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once(Nr,this.onTemplateShow),n.$once(fn,this.onTemplateShown),n.$once($n,this.onTemplateHide),n.$once(Xt,this.onTemplateHidden),n.$once(Vh,this.destroyTemplate),n.$on(zv,this.handleEvent),n.$on(Vv,this.handleEvent),n.$on(WF,this.handleEvent),n.$on(YF,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||!lr(document.body,e)||!Vi(e)||this.dropdownOpen()||(it(this.title)||this.title==="")&&(it(this.content)||this.content===""))&&!(this.$_tip||this.localShow)){this.localShow=!0;var r=this.buildEvent(Nr,{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($n,{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(Ig))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent(Dg))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var e=this.$_hoverState;this.$_hoverState="",e==="out"&&this.leave(null),this.emitEvent(this.buildEvent(fn))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent(Xt))},getTarget:function(){var e=this.target;return Ge(e)?e=ES(e.replace(/^#/,"")):be(e)?e=e():e&&(e=e.$el||e),yt(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?kn(ese,n)||r:Ge(e)&&ES(e.replace(/^#/,""))||r},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var e=this.getTarget();return e&&kn(A6,e)},isDropdown:function(){var e=this.getTarget();return e&&Gh(e,tse)},dropdownOpen:function(){var e=this.getTarget();return this.isDropdown()&&e&&ni(rse,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=ii(e,"aria-describedby")||"";r=r.split(/\s+/).concat(this.computedId).join(" ").trim(),Mt(e,"aria-describedby",r)},removeAriaDescribedby:function(){var e=this,r=this.getTarget(),n=ii(r,"aria-describedby")||"";n=n.split(/\s+/).filter(function(i){return i!==e.computedId}).join(" ").trim(),n?Mt(r,"aria-describedby",n):Da(r,"aria-describedby")},fixTitle:function(){var e=this.getTarget();if(Ia(e,"title")){var r=ii(e,"title");Mt(e,"title",""),r&&Mt(e,Bm,r)}},restoreTitle:function(){var e=this.getTarget();if(Ia(e,Bm)){var r=ii(e,Bm);Da(e,Bm),r&&Mt(e,"title",r)}},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new pc(e,Rw({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},r))},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ht(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"?Ot(r,"click",e.handleEvent,Ve):n==="focus"?(Ot(r,"focusin",e.handleEvent,Ve),Ot(r,"focusout",e.handleEvent,Ve)):n==="blur"?Ot(r,"focusout",e.handleEvent,Ve):n==="hover"&&(Ot(r,"mouseenter",e.handleEvent,Ve),Ot(r,"mouseleave",e.handleEvent,Ve))},this))},unListen:function(){var e=this,r=["click","focusin","focusout","mouseenter","mouseleave"],n=this.getTarget();this.setRootListener(!1),r.forEach(function(i){n&&kt(n,i,e.handleEvent,Ve)},this)},setRootListener:function(e){var r=this.$root;if(r){var n=e?"$on":"$off",i=this.templateType;r[n](dr(i,$n),this.doHide),r[n](dr(i,Nr),this.doShow),r[n](dr(i,wS),this.doDisable),r[n](dr(i,SS),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||!Vi(n))&&r.forceHide()},100))},setModalListener:function(e){this.isInModal()&&this.$root[e?"$on":"$off"](Zae,this.forceHide)},setOnTouchStartListener:function(e){var r=this;"ontouchstart"in document.documentElement&&Zu(document.body.children).forEach(function(n){Ui(e,n,"mouseover",r.$_noop)})},setDropdownListener:function(e){var r=this.getTarget();!r||!this.$root||!this.isDropdown||r.__vue__&&r.__vue__[e?"$on":"$off"](fn,this.forceHide)},handleEvent:function(e){var r=this.getTarget();if(!(!r||Ou(r)||!this.$_enabled||this.dropdownOpen())){var n=e.type,i=this.computedTriggers;if(n==="click"&&Ee(i,"click"))this.click(e);else if(n==="mouseenter"&&Ee(i,"hover"))this.enter(e);else if(n==="focusin"&&Ee(i,"focus"))this.enter(e);else if(n==="focusout"&&(Ee(i,"focus")||Ee(i,"blur"))||n==="mouseleave"&&Ee(i,"hover")){var a=this.getTemplateElement(),s=e.target,o=e.relatedTarget;if(a&&lr(a,s)&&lr(r,o)||a&&lr(r,s)&&lr(a,o)||a&&lr(a,s)&&lr(a,o)||lr(r,s)&&lr(r,o))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()||(Ie(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"&&Ee(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())}}}),_n,su;function kD(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 nse(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?kD(Object(r),!0).forEach(function(n){$r(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function $r(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yh="disabled",DD=Vo+yh,h0="show",ise=Vo+h0,M6=ee((_n={boundary:y([yo,pr,I],"scrollParent"),boundaryPadding:y(le,50),container:y([yo,pr,I]),customClass:y(I),delay:y(DX,50)},$r(_n,yh,y(B,!1)),$r(_n,"fallbackPlacement",y(Qr,"flip")),$r(_n,"id",y(I)),$r(_n,"noFade",y(B,!1)),$r(_n,"noninteractive",y(B,!1)),$r(_n,"offset",y(le,0)),$r(_n,"placement",y(I,"top")),$r(_n,h0,y(B,!1)),$r(_n,"target",y([yo,UN,mn,pr,I],void 0,!0)),$r(_n,"title",y(I)),$r(_n,"triggers",y(Qr,"hover focus")),$r(_n,"variant",y(I)),_n),wu),$6=V.extend({name:wu,mixins:[Ce],inheritAttrs:!1,props:M6,data:function(){return{localShow:this[h0],localTitle:"",localContent:""}},computed:{templateData:function(){return nse({title:this.localTitle,content:this.localContent,interactive:!this.noninteractive},qi(this.$props,["boundary","boundaryPadding","container","customClass","delay","fallbackPlacement","id","noFade","offset","placement","target","target","triggers","variant",yh]))},templateTitleContent:function(){var e=this.title,r=this.content;return{title:e,content:r}}},watch:(su={},$r(su,h0,function(t,e){t!==e&&t!==this.localShow&&this.$_toolpop&&(t?this.$_toolpop.show():this.$_toolpop.forceHide())}),$r(su,yh,function(t){t?this.doDisable():this.doEnable()}),$r(su,"localShow",function(e){this.$emit(ise,e)}),$r(su,"templateData",function(){var e=this;this.$nextTick(function(){e.$_toolpop&&e.$_toolpop.updateData(e.templateData)})}),$r(su,"templateTitleContent",function(){this.$nextTick(this.updateContent)}),su),created:function(){this.$_toolpop=null},updated:function(){this.$nextTick(this.updateContent)},beforeDestroy:function(){this.$off(WA,this.doOpen),this.$off(_S,this.doClose),this.$off(wS,this.doDisable),this.$off(SS,this.doEnable),this.$_toolpop&&(this.$_toolpop.$destroy(),this.$_toolpop=null)},mounted:function(){var e=this;this.$nextTick(function(){var r=e.getComponent();e.updateContent();var n=rd(e)||rd(e.$parent),i=e.$_toolpop=new r({parent:e,_scopeId:n||void 0});i.updateData(e.templateData),i.$on(Nr,e.onShow),i.$on(fn,e.onShown),i.$on($n,e.onHide),i.$on(Xt,e.onHidden),i.$on(Dg,e.onDisabled),i.$on(Ig,e.onEnabled),e[yh]&&e.doDisable(),e.$on(WA,e.doOpen),e.$on(_S,e.doClose),e.$on(wS,e.doDisable),e.$on(SS,e.doEnable),e.localShow&&i.show()})},methods:{getComponent:function(){return nx},updateContent:function(){this.setTitle(this.normalizeSlot()||this.title)},setTitle:function(e){e=it(e)?"":e,this.localTitle!==e&&(this.localTitle=e)},setContent:function(e){e=it(e)?"":e,this.localContent!==e&&(this.localContent=e)},onShow:function(e){this.$emit(Nr,e),e&&(this.localShow=!e.defaultPrevented)},onShown:function(e){this.localShow=!0,this.$emit(fn,e)},onHide:function(e){this.$emit($n,e)},onHidden:function(e){this.$emit(Xt,e),this.localShow=!1},onDisabled:function(e){e&&e.type===Dg&&(this.$emit(DD,!0),this.$emit(Dg,e))},onEnabled:function(e){e&&e.type===Ig&&(this.$emit(DD,!1),this.$emit(Ig,e))},doOpen:function(){!this.localShow&&this.$_toolpop&&this.$_toolpop.show()},doClose:function(){this.localShow&&this.$_toolpop&&this.$_toolpop.hide()},doDisable:function(){this.$_toolpop&&this.$_toolpop.disable()},doEnable:function(){this.$_toolpop&&this.$_toolpop.enable()}},render:function(e){return e()}}),ase=V.extend({name:Jq,extends:C6,computed:{templateType:function(){return"popover"}},methods:{renderTemplate:function(e){var r=this.title,n=this.content,i=be(r)?r({}):r,a=be(n)?n({}):n,s=this.html&&!be(r)?{innerHTML:r}:{},o=this.html&&!be(n)?{innerHTML:n}:{};return e("div",{staticClass:"popover b-popover",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[e("div",{staticClass:"arrow",ref:"arrow"}),it(i)||i===""?e():e("h3",{staticClass:"popover-header",domProps:s},[i]),it(a)||a===""?e():e("div",{staticClass:"popover-body",domProps:o},[a])])}}}),k6=V.extend({name:Xq,extends:nx,computed:{templateType:function(){return"popover"}},methods:{getTemplate:function(){return ase}}});function ID(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 RD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ID(Object(r),!0).forEach(function(n){sse(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ID(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function sse(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ose=ee(fe(RD(RD({},M6),{},{content:y(I),placement:y(I,"right"),triggers:y(Qr,Pi)})),_u),use=V.extend({name:_u,extends:$6,inheritAttrs:!1,props:ose,methods:{getComponent:function(){return k6},updateContent:function(){this.setContent(this.normalizeSlot()||this.content),this.setTitle(this.normalizeSlot(Sp)||this.title)}}});function LD(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 ND(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?LD(Object(r),!0).forEach(function(n){cse(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):LD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function cse(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bi="__BV_Popover__",lse="click",BD={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},dse=/^html$/i,fse=/^nofade$/i,hse=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,pse=/^(window|viewport|scrollParent)$/i,mse=/^d\d+$/i,gse=/^ds\d+$/i,vse=/^dh\d+$/i,bse=/^o-?\d+$/i,yse=/^v-.+$/i,_se=/\s+/,wse=function(e,r){var n={title:void 0,content:void 0,trigger:"",placement:"right",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,disabled:!1,id:null,html:!1,delay:ti(_u,"delay",50),boundary:String(ti(_u,"boundary","scrollParent")),boundaryPadding:oe(ti(_u,"boundaryPadding",5),0),variant:ti(_u,"variant"),customClass:ti(_u,"customClass")};if(Ge(e.value)||ji(e.value)||be(e.value)?n.content=e.value:Zr(e.value)&&(n=ND(ND({},n),e.value)),e.arg&&(n.container="#".concat(e.arg)),Jt(n.title)){var i=r.data||{};n.title=i.attrs&&!it(i.attrs.title)?i.attrs.title:void 0}Zr(n.delay)||(n.delay={show:oe(n.delay,0),hide:oe(n.delay,0)}),Pe(e.modifiers).forEach(function(s){if(dse.test(s))n.html=!0;else if(fse.test(s))n.animation=!1;else if(hse.test(s))n.placement=s;else if(pse.test(s))s=s==="scrollparent"?"scrollParent":s,n.boundary=s;else if(mse.test(s)){var o=oe(s.slice(1),0);n.delay.show=o,n.delay.hide=o}else gse.test(s)?n.delay.show=oe(s.slice(2),0):vse.test(s)?n.delay.hide=oe(s.slice(2),0):bse.test(s)?n.offset=oe(s.slice(1),0):yse.test(s)&&(n.variant=s.slice(2)||null)});var a={};return Ke(n.trigger||"").filter(Te).join(" ").trim().toLowerCase().split(_se).forEach(function(s){BD[s]&&(a[s]=!0)}),Pe(e.modifiers).forEach(function(s){s=s.toLowerCase(),BD[s]&&(a[s]=!0)}),n.trigger=Pe(a).join(" "),n.trigger==="blur"&&(n.trigger="focus"),n.trigger||(n.trigger=lse),n},FD=function(e,r,n){if(ft){var i=wse(r,n);if(!e[bi]){var a=n.context;e[bi]=new k6({parent:a,_scopeId:rd(a,void 0)}),e[bi].__bv_prev_data__={},e[bi].$on(Nr,function(){var c={};be(i.title)&&(c.title=i.title(e)),be(i.content)&&(c.content=i.content(e)),Pe(c).length>0&&e[bi].updateData(c)})}var s={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},o=e[bi].__bv_prev_data__;if(e[bi].__bv_prev_data__=s,!Je(s,o)){var u={target:e};Pe(s).forEach(function(c){s[c]!==o[c]&&(u[c]=(c==="title"||c==="content")&&be(s[c])?s[c](e):s[c])}),e[bi].updateData(u)}}},Sse=function(e){e[bi]&&(e[bi].$destroy(),e[bi]=null),delete e[bi]},Ose={bind:function(e,r,n){FD(e,r,n)},componentUpdated:function(e,r,n){n.context.$nextTick(function(){FD(e,r,n)})},unbind:function(e){Sse(e)}},D6=pe({directives:{VBPopover:Ose}}),Tse=pe({components:{BPopover:use},plugins:{VBPopoverPlugin:D6}}),I6=ee({animated:y(B,null),label:y(I),labelHtml:y(I),max:y(le,null),precision:y(le,null),showProgress:y(B,null),showValue:y(B,null),striped:y(B,null),value:y(le,0),variant:y(I)},wF),R6=V.extend({name:wF,mixins:[Ce],inject:{bvProgress:{default:function(){return{}}}},props:I6,computed:{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 Ne(this.value,0)},computedMax:function(){var e=Ne(this.max)||Ne(this.bvProgress.max,0);return e>0?e:100},computedPrecision:function(){return Ze(oe(this.precision,oe(this.bvProgress.precision,0)),0)},computedProgress:function(){var e=this.computedPrecision,r=v4(10,e);return Q_(100*r*this.computedValue/this.computedMax/r,e)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return Si(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return Si(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return Si(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return Si(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(e){var r=this.label,n=this.labelHtml,i=this.computedValue,a=this.computedPrecision,s,o={};return this.hasNormalizedSlot()?s=this.normalizeSlot():r||n?o=Rt(n,r):this.computedShowProgress?s=this.computedProgress:this.computedShowValue&&(s=Q_(i,a)),e("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":_e(this.computedMax),"aria-valuenow":Q_(i,a)},domProps:o},s)}});function jD(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 HD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?jD(Object(r),!0).forEach(function(n){Ese(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ese(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var L6=Re(I6,["label","labelHtml"]),xse=ee(fe(HD(HD({},L6),{},{animated:y(B,!1),height:y(I),max:y(le,100),precision:y(le,0),showProgress:y(B,!1),showValue:y(B,!1),striped:y(B,!1)})),_F),Pse=V.extend({name:_F,mixins:[Ce],provide:function(){return{bvProgress:this}},props:xse,computed:{progressHeight:function(){return{height:this.height||null}}},render:function(e){var r=this.normalizeSlot();return r||(r=e(R6,{props:Et(L6,this.$props)})),e("div",{staticClass:"progress",style:this.progressHeight},[r])}}),Cse=pe({components:{BProgress:Pse,BProgressBar:R6}}),wf;function zD(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 _h(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zD(Object(r),!0).forEach(function(n){as(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function as(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xh="b-sidebar",Ase=dr(Ur,"request-state"),Mse=dr(Ur,"toggle"),$se=Ht(Ur,"state"),kse=Ht(Ur,"sync-state"),Zb=mr("visible",{type:B,defaultValue:!1,event:Rn}),Dse=Zb.mixin,Ise=Zb.props,VD=Zb.prop,Rse=Zb.event,Lse=ee(fe(_h(_h(_h({},ct),Ise),{},{ariaLabel:y(I),ariaLabelledby:y(I),backdrop:y(B,!1),backdropVariant:y(I,"dark"),bgVariant:y(I,"light"),bodyClass:y(we),closeLabel:y(I),footerClass:y(we),footerTag:y(I,"footer"),headerClass:y(we),headerTag:y(I,"header"),lazy:y(B,!1),noCloseOnBackdrop:y(B,!1),noCloseOnEsc:y(B,!1),noCloseOnRouteChange:y(B,!1),noEnforceFocus:y(B,!1),noHeader:y(B,!1),noHeaderClose:y(B,!1),noSlide:y(B,!1),right:y(B,!1),shadow:y(en,!1),sidebarClass:y(we),tag:y(I,"div"),textVariant:y(I,"dark"),title:y(I),width:y(I),zIndex:y(le)})),OF),Nse=function(e,r){var n=r.normalizeSlot(Sp,r.slotScope)||r.title;return n?e("strong",{attrs:{id:r.safeId("__title__")}},[n]):e("span")},Bse=function(e,r){if(r.noHeaderClose)return e();var n=r.closeLabel,i=r.textVariant,a=r.hide;return e(ec,{props:{ariaLabel:n,textVariant:i},on:{click:a},ref:"close-button"},[r.normalizeSlot(UX)||e(S4)])},Fse=function(e,r){if(r.noHeader)return e();var n=r.normalizeSlot(Do,r.slotScope);if(!n){var i=Nse(e,r),a=Bse(e,r);n=r.right?[a,i]:[i,a]}return e(r.headerTag,{staticClass:"".concat(Xh,"-header"),class:r.headerClass,key:"header"},n)},jse=function(e,r){return e("div",{staticClass:"".concat(Xh,"-body"),class:r.bodyClass,key:"body"},[r.normalizeSlot(br,r.slotScope)])},Hse=function(e,r){var n=r.normalizeSlot(TS,r.slotScope);return n?e(r.footerTag,{staticClass:"".concat(Xh,"-footer"),class:r.footerClass,key:"footer"},[n]):e()},zse=function(e,r){var n=Fse(e,r);return r.lazy&&!r.isOpen?n:[n,jse(e,r),Hse(e,r)]},Vse=function(e,r){if(!r.backdrop)return e();var n=r.backdropVariant;return e("div",{directives:[{name:"show",value:r.localShow}],staticClass:"b-sidebar-backdrop",class:as({},"bg-".concat(n),n),on:{click:r.onBackdropClick}})},Use=V.extend({name:OF,mixins:[Er,ht,Dse,Xi,Ce],inheritAttrs:!1,props:Lse,data:function(){var e=!!this[VD];return{localShow:e,isOpen:e}},computed:{transitionProps:function(){return this.noSlide?{css:!0}:{css:!0,enterClass:"",enterActiveClass:"slide",enterToClass:"show",leaveClass:"show",leaveActiveClass:"slide",leaveToClass:""}},slotScope:function(){var e=this.hide,r=this.right,n=this.localShow;return{hide:e,right:r,visible:n}},hasTitle:function(){var e=this.$scopedSlots,r=this.$slots;return!this.noHeader&&!this.hasNormalizedSlot(Do)&&!!(this.normalizeSlot(Sp,this.slotScope,e,r)||this.title)},titleId:function(){return this.hasTitle?this.safeId("__title__"):null},computedAttrs:function(){return _h(_h({},this.bvAttrs),{},{id:this.safeId(),tabindex:"-1",role:"dialog","aria-modal":this.backdrop?"true":"false","aria-hidden":this.localShow?null:"true","aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||this.titleId||null})}},watch:(wf={},as(wf,VD,function(t,e){t!==e&&(this.localShow=t)}),as(wf,"localShow",function(e,r){e!==r&&(this.emitState(e),this.$emit(Rse,e))}),as(wf,"$route",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!this.noCloseOnRouteChange&&e.fullPath!==r.fullPath&&this.hide()}),wf),created:function(){this.$_returnFocusEl=null},mounted:function(){var e=this;this.listenOnRoot(Mse,this.handleToggle),this.listenOnRoot(Ase,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($se,this.safeId(),e)},emitSync:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.localShow;this.emitOnRoot(kse,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===xE&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var e=PS(this.$refs.content);this.enforceFocus(e.reverse()[0])},onBottomTrapFocus:function(){var e=PS(this.$refs.content);this.enforceFocus(e[0])},onBeforeEnter:function(){this.$_returnFocusEl=Io(ft?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(e){lr(e,Io())||this.enforceFocus(e),this.$emit(fn)},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit(Xt)},enforceFocus:function(e){this.noEnforceFocus||Ie(e)}},render:function(e){var r,n=this.bgVariant,i=this.width,a=this.textVariant,s=this.localShow,o=this.shadow===""?!0:this.shadow,u=e(this.tag,{staticClass:Xh,class:[(r={shadow:o===!0},as(r,"shadow-".concat(o),o&&o!==!0),as(r,"".concat(Xh,"-right"),this.right),as(r,"bg-".concat(n),n),as(r,"text-".concat(a),a),r),this.sidebarClass],style:{width:i},attrs:this.computedAttrs,directives:[{name:"show",value:s}],ref:"content"},[zse(e,this)]);u=e("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[u]);var c=e(fc,{props:{noFade:this.noSlide}},[Vse(e,this)]),l=e(),d=e();return this.backdrop&&s&&(l=e("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),d=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}},[l,u,d,c])}}),Gse=pe({components:{BSidebar:Use},plugins:{VBTogglePlugin:LE}});function Lw(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Wse=ee({animation:y(I,"wave"),height:y(I),size:y(I),type:y(I,"text"),variant:y(I),width:y(I)},TF),p0=V.extend({name:TF,functional:!0,props:Wse,render:function(e,r){var n,i=r.data,a=r.props,s=a.size,o=a.animation,u=a.variant;return e("div",ve(i,{staticClass:"b-skeleton",style:{width:s||a.width,height:s||a.height},class:(n={},Lw(n,"b-skeleton-".concat(a.type),!0),Lw(n,"b-skeleton-animate-".concat(o),o),Lw(n,"bg-".concat(u),u),n)}))}});function UD(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;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?UD(Object(r),!0).forEach(function(n){N6(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):UD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function N6(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yse=ee({animation:y(I,"wave"),icon:y(I),iconProps:y(pr,{})},EF),Kse=V.extend({name:EF,functional:!0,props:Yse,render:function(e,r){var n=r.data,i=r.props,a=i.icon,s=i.animation,o=e(Wv,{staticClass:"b-skeleton-icon",props:GD(GD({},i.iconProps),{},{icon:a})});return e("div",ve(n,{staticClass:"b-skeleton-icon-wrapper position-relative d-inline-block overflow-hidden",class:N6({},"b-skeleton-animate-".concat(s),s)}),[o])}});function qse(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xse=ee({animation:y(I),aspect:y(I,"16:9"),cardImg:y(I),height:y(I),noAspect:y(B,!1),variant:y(I),width:y(I)},xF),Jse=V.extend({name:xF,functional:!0,props:Xse,render:function(e,r){var n=r.data,i=r.props,a=i.aspect,s=i.width,o=i.height,u=i.animation,c=i.variant,l=i.cardImg,d=e(p0,ve(n,{props:{type:"img",width:s,height:o,animation:u,variant:c},class:qse({},"card-img-".concat(l),l)}));return i.noAspect?d:e(b4,{props:{aspect:a}},[d])}}),ix=V.extend({methods:{hasListener:function(e){var r=this.$listeners||{},n=this._events||{};return!Jt(r[e])||rt(n[e])&&n[e].length>0}}});function WD(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 Zse(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?WD(Object(r),!0).forEach(function(n){Qse(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Qse(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var YD="light",KD="dark",eoe=ee({variant:y(I)},jF),Cs=V.extend({name:jF,mixins:[Er,Ds,Ce],provide:function(){return{bvTableTr:this}},inject:{bvTableRowGroup:{default:function(){return{}}}},inheritAttrs:!1,props:eoe,computed:{inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return this.headVariant===YD||this.footVariant===YD?!1:this.headVariant===KD||this.footVariant===KD?!0:this.isDark},trClasses:function(){var e=this.variant;return[e?"".concat(this.isRowDark?"bg":"table","-").concat(e):null]},trAttrs:function(){return Zse({role:"row"},this.bvAttrs)}},render:function(e){return e("tr",{class:this.trClasses,attrs:this.trAttrs,on:this.bvListeners},this.normalizeSlot())}}),B6={},toe=V.extend({props:B6,methods:{renderBottomRow:function(){var e=this.computedFields,r=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,a=this.$createElement;return!this.hasNormalizedSlot(qA)||r===!0||r===""?a():a(Cs,{staticClass:"b-table-bottom-row",class:[be(n)?n(null,"row-bottom"):n],attrs:be(i)?i(null,"row-bottom"):i,key:"b-bottom-row"},this.normalizeSlot(qA,{columns:e.length,fields:e}))}}});function qD(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 XD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qD(Object(r),!0).forEach(function(n){roe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function roe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var oO=function(e){return e=oe(e,0),e>0?e:null},JD=function(e){return it(e)||oO(e)>0},F6=ee({colspan:y(le,null,JD),rowspan:y(le,null,JD),stackedHeading:y(I),stickyColumn:y(B,!1),variant:y(I)},$F),id=V.extend({name:$F,mixins:[Er,Ds,Ce],inject:{bvTableTr:{default:function(){return{}}}},inheritAttrs:!1,props:F6,computed:{tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return oO(this.colspan)},computedRowspan:function(){return oO(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",s=null;return r?(a="columnheader",s=n>0?"colspan":"col"):za(this.tag,"th")&&(a="rowheader",s=i>0?"rowgroup":"row"),XD(XD({colspan:n,rowspan:i,role:a,scope:s},this.bvAttrs),{},{"data-label":this.isStackedCell&&!it(e)?_e(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 noe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ax="busy",ioe=Vo+ax,j6=noe({},ax,y(B,!1)),aoe=V.extend({props:j6,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this[ax]||this.localBusy}},watch:{localBusy:function(e,r){e!==r&&this.$emit(ioe,e)}},methods:{stopIfBusy:function(e){return this.computedBusy?(ke(e),!0):!1},renderBusy:function(){var e=this.tbodyTrClass,r=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot(Uf)?n(Cs,{staticClass:"b-table-busy-slot",class:[be(e)?e(null,Uf):e],attrs:be(r)?r(null,Uf):r,key:"table-busy-slot"},[n(id,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot(Uf)])]):null}}}),sx={caption:y(I),captionHtml:y(I)},H6=V.extend({props:sx,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(rM);return(a||e||r)&&(i=n("caption",{attrs:{id:this.captionId},domProps:a?{}:Rt(r,e),key:"caption",ref:"caption"},this.normalizeSlot(rM))),i}}}),z6={},V6=V.extend({methods:{renderColgroup:function(){var e=this.computedFields,r=this.$createElement,n=r();return this.hasNormalizedSlot(nM)&&(n=r("colgroup",{key:"colgroup"},[this.normalizeSlot(nM,{columns:e.length,fields:e})])),n}}}),U6={emptyFilteredHtml:y(I),emptyFilteredText:y(I,"There are no records matching your request"),emptyHtml:y(I),emptyText:y(I,"There are no records to show"),showEmpty:y(B,!1)},soe=V.extend({props:U6,methods:{renderEmpty:function(){var e=this.computedItems,r=this.$createElement,n=r();if(this.showEmpty&&(!e||e.length===0)&&!(this.computedBusy&&this.hasNormalizedSlot(Uf))){var i=this.computedFields,a=this.isFiltered,s=this.emptyText,o=this.emptyHtml,u=this.emptyFilteredText,c=this.emptyFilteredHtml,l=this.tbodyTrClass,d=this.tbodyTrAttr;n=this.normalizeSlot(a?zX:i4,{emptyFilteredHtml:c,emptyFilteredText:u,emptyHtml:o,emptyText:s,fields:i,items:e}),n||(n=r("div",{class:["text-center","my-2"],domProps:a?Rt(c,u):Rt(o,s)})),n=r(id,{props:{colspan:i.length||null}},[r("div",{attrs:{role:"alert","aria-live":"polite"}},[n])]),n=r(Cs,{staticClass:"b-table-empty-row",class:[be(l)?l(null,"row-empty"):l],attrs:be(d)?d(null,"row-empty"):d,key:a?"b-empty-filtered-row":"b-empty-row"},[n])}return n}}}),uO=function t(e){return it(e)?"":qt(e)&&!Kl(e)?Pe(e).sort().map(function(r){return t(e[r])}).filter(function(r){return!!r}).join(" "):_e(e)};function ZD(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 QD(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ZD(Object(r),!0).forEach(function(n){G6(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZD(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function G6(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ev="_cellVariants",cO="_rowVariant",eh="_showDetails",W6=[ev,cO,eh].reduce(function(t,e){return QD(QD({},t),{},G6({},e,!0))},{}),ooe=["a","a *","button","button *","input:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])","textarea:not(.disabled):not([disabled])",'[role="link"]','[role="link"] *','[role="button"]','[role="button"] *',"[tabindex]:not(.disabled):not([disabled])"].join(","),lO=function(e,r,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=Pe(i).reduce(function(o,u){var c=i[u],l=c.filterByFormatted,d=be(l)?l:l?c.formatter:null;return be(d)&&(o[u]=d(e[u],u,e)),o},zo(e)),s=Pe(a).filter(function(o){return!W6[o]&&!(rt(r)&&r.length>0&&Ee(r,o))&&!(rt(n)&&n.length>0&&!Ee(n,o))});return qi(a,s)},uoe=function(e,r,n,i){return qt(e)?uO(lO(e,r,n,i)):""};function coe(t){return hoe(t)||foe(t)||doe(t)||loe()}function loe(){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 doe(t,e){if(t){if(typeof t=="string")return dO(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 dO(t,e)}}function foe(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hoe(t){if(Array.isArray(t))return dO(t)}function dO(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var poe='Prop "filter-debounce" is deprecated. Use the debounce feature of "<b-form-input>" instead.',Y6={filter:y([].concat(coe(we),[AX])),filterDebounce:y(le,0,function(t){return HN.test(String(t))}),filterFunction:y(mn),filterIgnoredFields:y(hn,[]),filterIncludedFields:y(hn,[])},moe=V.extend({props:Y6,data:function(){return{isFiltered:!1,localFilter:this.filterSanitize(this.filter)}},computed:{computedFilterIgnored:function(){return Ke(this.filterIgnoredFields||[]).filter(Te)},computedFilterIncluded:function(){return Ke(this.filterIncludedFields||[]).filter(Te)},computedFilterDebounce:function(){var e=oe(this.filterDebounce,0);return e>0&&Tr(poe,Ju),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 Fa(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?Je(n,[])||Je(n,{})?i=!1:n&&(i=!0):i=!1,i&&this.$emit(OS,r,r.length),this.isFiltered=i},isFiltered:function(e,r){if(e===!1&&r===!0){var n=this.localItems;this.$emit(OS,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)||LA(e))?"":Oi(e)},filterFnFactory:function(e,r){if(!e||!be(e)||!r||Je(r,[])||Je(r,{}))return null;var n=function(a){return e(a,r)};return n},defaultFilterFnFactory:function(e){var r=this;if(!e||!(Ge(e)||LA(e)))return null;var n=e;if(Ge(n)){var i=SE(e).replace(zN,"\\s+");n=new RegExp(".*".concat(i,".*"),"i")}var a=function(o){return n.lastIndex=0,n.test(uoe(o,r.computedFilterIgnored,r.computedFilterIncluded,r.computedFieldsObj))};return a}}}),goe=function(e,r){var n=null;return Ge(r)?n={key:e,label:r}:be(r)?n={key:e,formatter:r}:qt(r)?(n=zo(r),n.key=n.key||e):r!==!1&&(n={key:e}),n},voe=function(e,r){var n=[];if(rt(e)&&e.filter(Te).forEach(function(s){if(Ge(s))n.push({key:s,label:Rg(s)});else if(qt(s)&&s.key&&Ge(s.key))n.push(zo(s));else if(qt(s)&&Pe(s).length===1){var o=Pe(s)[0],u=goe(o,s[o]);u&&n.push(u)}}),n.length===0&&rt(r)&&r.length>0){var i=r[0];Pe(i).forEach(function(s){W6[s]||n.push({key:s,label:Rg(s)})})}var a={};return n.filter(function(s){return a[s.key]?!1:(a[s.key]=!0,s.label=Ge(s.label)?s.label:Rg(s.key),!0)})};function eI(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 tI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?eI(Object(r),!0).forEach(function(n){K6(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function K6(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qb=mr("value",{type:hn,defaultValue:[]}),boe=Qb.mixin,yoe=Qb.props,_oe=Qb.prop,rI=Qb.event,ox=fe(tI(tI({},yoe),{},K6({fields:y(hn,null),items:y(hn,[]),primaryKey:y(I)},_oe,y(hn,[])))),q6=V.extend({mixins:[boe],props:ox,data:function(){var e=this.items;return{localItems:rt(e)?e.slice():[]}},computed:{computedFields:function(){return voe(this.fields,this.localItems)},computedFieldsObj:function(){var e=this.$parent;return this.computedFields.reduce(function(r,n){if(r[n.key]=zo(n),n.formatter){var i=n.formatter;Ge(i)&&be(e[i])?i=e[i]:be(i)||(i=void 0),r[n.key].formatter=i}return r},{})},computedItems:function(){return(this.paginatedItems||this.sortedItems||this.filteredItems||this.localItems||[]).slice()},context:function(){return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:Ze(oe(this.perPage,0),0),currentPage:Ze(oe(this.currentPage,0),1),apiUrl:this.apiUrl}}},watch:{items:function(e){this.localItems=rt(e)?e.slice():[]},computedItems:function(e,r){Je(e,r)||this.$emit(rI,e)},context:function(e,r){Je(e,r)||this.$emit(zF,e)}},mounted:function(){this.$emit(rI,this.computedItems)},methods:{getFieldFormatter:function(e){var r=this.computedFieldsObj[e];return r?r.formatter:void 0}}}),X6={currentPage:y(le,1),perPage:y(le,0)},woe=V.extend({props:X6,computed:{localPaging:function(){return this.hasProvider?!!this.noProviderPaging:!0},paginatedItems:function(){var e=this.sortedItems||this.filteredItems||this.localItems||[],r=Ze(oe(this.currentPage,1),1),n=Ze(oe(this.perPage,0),0);return this.localPaging&&n&&(e=e.slice((r-1)*n,r*n)),e}}}),Soe=Ht(Ju,Vf),Ooe=dr(Ju,mX),J6={apiUrl:y(I),items:y(r4,[]),noProviderFiltering:y(B,!1),noProviderPaging:y(B,!1),noProviderSorting:y(B,!1)},Toe=V.extend({mixins:[Xi],props:J6,computed:{hasProvider:function(){return be(this.items)},providerTriggerContext:function(){var e={apiUrl:this.apiUrl,filter:null,sortBy:null,sortDesc:null,perPage:null,currentPage:null};return this.noProviderFiltering||(e.filter=this.localFilter),this.noProviderSorting||(e.sortBy=this.localSortBy,e.sortDesc=this.localSortDesc),this.noProviderPaging||(e.perPage=this.perPage,e.currentPage=this.currentPage),zo(e)}},watch:{items:function(e){(this.hasProvider||be(e))&&this.$nextTick(this._providerUpdate)},providerTriggerContext:function(e,r){Je(e,r)||this.$nextTick(this._providerUpdate)}},mounted:function(){var e=this;this.hasProvider&&(!this.localItems||this.localItems.length===0)&&this._providerUpdate(),this.listenOnRoot(Ooe,function(r){(r===e.id||r===e)&&e.refresh()})},methods:{refresh:function(){var e=this.items,r=this.refresh;this.$off(Vf,r),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on(Vf,r):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=rt(e)?e.slice():[])},_providerSetLocal:function(e){this.localItems=rt(e)?e.slice():[],this.localBusy=!1,this.$emit(Vf),this.id&&this.emitOnRoot(Soe,this.id)},_providerUpdate:function(){var e=this;if(this.hasProvider){if(this.computedBusy){this.$nextTick(this.refresh);return}this.localBusy=!0,this.$nextTick(function(){try{var r=e.items(e.context,e._providerSetLocal);Oq(r)?r.then(function(n){e._providerSetLocal(n)}):rt(r)?e._providerSetLocal(r):e.items.length!==2&&(Tr("Provider function didn't request callback and did not return a promise or data.",Ju),e.localBusy=!1)}catch(n){Tr("Provider function error [".concat(n.name,"] ").concat(n.message,"."),Ju),e.localBusy=!1,e.$off(Vf,e.refresh)}})}}}});function Fm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Eoe=["range","multi","single"],nI="grid",Z6={noSelectOnClick:y(B,!1),selectMode:y(I,"multi",function(t){return Ee(Eoe,t)}),selectable:y(B,!1),selectedVariant:y(I,"active")},xoe=V.extend({props:Z6,data:function(){return{selectedRows:[],selectedLastRow:-1}},computed:{isSelectable:function(){return this.selectable&&this.selectMode},hasSelectableRowClick:function(){return this.isSelectable&&!this.noSelectOnClick},supportsSelectableRows:function(){return!0},selectableHasSelection:function(){var e=this.selectedRows;return this.isSelectable&&e&&e.length>0&&e.some(Te)},selectableIsMultiSelect:function(){return this.isSelectable&&Ee(["range","multi"],this.selectMode)},selectableTableClasses:function(){var e,r=this.isSelectable;return e={"b-table-selectable":r},Fm(e,"b-table-select-".concat(this.selectMode),r),Fm(e,"b-table-selecting",this.selectableHasSelection),Fm(e,"b-table-selectable-no-click",r&&!this.hasSelectableRowClick),e},selectableTableAttrs:function(){if(!this.isSelectable)return{};var e=this.bvAttrs.role||nI;return{role:e,"aria-multiselectable":e===nI?_e(this.selectableIsMultiSelect):null}}},watch:{computedItems:function(e,r){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=rt(e)&&rt(r)&&e.length===r.length;for(var i=0;n&&i<e.length;i++)n=Je(lO(e[i]),lO(r[i]))}n||this.clearSelected()},selectable:function(e){this.clearSelected(),this.setSelectionHandlers(e)},selectMode:function(){this.clearSelected()},hasSelectableRowClick:function(e){this.clearSelected(),this.setSelectionHandlers(!e)},selectedRows:function(e,r){var n=this;if(this.isSelectable&&!Je(e,r)){var i=[];e.forEach(function(a,s){a&&i.push(n.computedItems[s])}),this.$emit(wX,i)}}},beforeMount:function(){this.isSelectable&&this.setSelectionHandlers(!0)},methods:{selectRow:function(e){if(this.isSelectable&&ji(e)&&e>=0&&e<this.computedItems.length&&!this.isRowSelected(e)){var r=this.selectableIsMultiSelect?this.selectedRows.slice():[];r[e]=!0,this.selectedLastClicked=-1,this.selectedRows=r}},unselectRow:function(e){if(this.isSelectable&&ji(e)&&this.isRowSelected(e)){var r=this.selectedRows.slice();r[e]=!1,this.selectedLastClicked=-1,this.selectedRows=r}},selectAllRows:function(){var e=this.computedItems.length;this.isSelectable&&e>0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?ph(e,!0):[!0])},isRowSelected:function(e){return!!(ji(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 Fm({"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](Uv,this.selectionHandler),this[r](OS,this.clearSelected),this[r](zF,this.clearSelected)},selectionHandler:function(e,r,n){if(!this.isSelectable||this.noSelectOnClick){this.clearSelected();return}var i=this.selectMode,a=this.selectedLastRow,s=this.selectedRows.slice(),o=!s[r];if(i==="single")s=[];else if(i==="range")if(a>-1&&n.shiftKey){for(var u=vs(a,r);u<=Ze(a,r);u++)s[u]=!0;o=!0}else n.ctrlKey||n.metaKey||(s=[],o=!0),o&&(this.selectedLastRow=r);s[r]=o,this.selectedRows=s}}}),Q6=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]})},iI=function(e){return it(e)?"":fh(e)?Ne(e,e):e},Poe=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.sortBy,a=i===void 0?null:i,s=n.formatter,o=s===void 0?null:s,u=n.locale,c=u===void 0?void 0:u,l=n.localeOptions,d=l===void 0?{}:l,f=n.nullLast,p=f===void 0?!1:f,m=Vr(e,a,null),b=Vr(r,a,null);return be(o)&&(m=o(m,a,e),b=o(b,a,r)),m=iI(m),b=iI(b),Kl(m)&&Kl(b)||ji(m)&&ji(b)?m<b?-1:m>b?1:0:p&&m===""&&b!==""?1:p&&m!==""&&b===""?-1:uO(m).localeCompare(uO(b),c,d)},fa,Kc;function aI(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 sI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?aI(Object(r),!0).forEach(function(n){Yn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Yn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m0="sortBy",Coe=Vo+m0,g0="sortDesc",Aoe=Vo+g0,v0="asc",fO="desc",Moe="last",$oe=[v0,fO,Moe],e5=(fa={labelSortAsc:y(I,"Click to sort ascending"),labelSortClear:y(I,"Click to clear sorting"),labelSortDesc:y(I,"Click to sort descending"),noFooterSorting:y(B,!1),noLocalSorting:y(B,!1),noSortReset:y(B,!1)},Yn(fa,m0,y(I)),Yn(fa,"sortCompare",y(mn)),Yn(fa,"sortCompareLocale",y(Qr)),Yn(fa,"sortCompareOptions",y(pr,{numeric:!0})),Yn(fa,g0,y(B,!1)),Yn(fa,"sortDirection",y(I,v0,function(t){return Ee($oe,t)})),Yn(fa,"sortIconLeft",y(B,!1)),Yn(fa,"sortNullLast",y(B,!1)),fa),koe=V.extend({props:e5,data:function(){return{localSortBy:this[m0]||"",localSortDesc:this[g0]||!1}},computed:{localSorting:function(){return this.hasProvider?!!this.noProviderSorting:!this.noLocalSorting},isSortable:function(){return this.computedFields.some(function(e){return e.sortable})},sortedItems:function(){var e=this.localSortBy,r=this.localSortDesc,n=this.sortCompareLocale,i=this.sortNullLast,a=this.sortCompare,s=this.localSorting,o=(this.filteredItems||this.localItems||[]).slice(),u=sI(sI({},this.sortCompareOptions),{},{usage:"sort"});if(e&&s){var c=this.computedFieldsObj[e]||{},l=c.sortByFormatted,d=be(l)?l:l?this.getFieldFormatter(e):void 0;return Q6(o,function(f,p){var m=null;return be(a)&&(m=a(f,p,e,r,d,u,n)),(it(m)||m===!1)&&(m=Poe(f,p,{sortBy:e,formatter:d,locale:n,localeOptions:u,nullLast:i})),(m||0)*(r?-1:1)})}return o}},watch:(Kc={isSortable:function(e){e?this.isSortable&&this.$on(hh,this.handleSort):this.$off(hh,this.handleSort)}},Yn(Kc,g0,function(t){t!==this.localSortDesc&&(this.localSortDesc=t||!1)}),Yn(Kc,m0,function(t){t!==this.localSortBy&&(this.localSortBy=t||"")}),Yn(Kc,"localSortDesc",function(e,r){e!==r&&this.$emit(Aoe,e)}),Yn(Kc,"localSortBy",function(e,r){e!==r&&this.$emit(Coe,e)}),Kc),created:function(){this.isSortable&&this.$on(hh,this.handleSort)},methods:{handleSort:function(e,r,n,i){var a=this;if(this.isSortable&&!(i&&this.noFooterSorting)){var s=!1,o=function(){var l=r.sortDirection||a.sortDirection;l===v0?a.localSortDesc=!1:l===fO&&(a.localSortDesc=!0)};if(r.sortable){var u=!this.localSorting&&r.sortKey?r.sortKey:e;this.localSortBy===u?this.localSortDesc=!this.localSortDesc:(this.localSortBy=u,o()),s=!0}else this.localSortBy&&!this.noSortReset&&(this.localSortBy="",o(),s=!0);s&&this.$emit(TX,this.context)}},sortTheadThClasses:function(e,r,n){return{"b-table-sort-icon-left":r.sortable&&this.sortIconLeft&&!(n&&this.noFooterSorting)}},sortTheadThAttrs:function(e,r,n){var i,a=this.isSortable,s=this.noFooterSorting,o=this.localSortDesc,u=this.localSortBy,c=this.localSorting;if(!a||n&&s)return{};var l=r.sortable,d=c?e:(i=r.sortKey)!==null&&i!==void 0?i:e,f=l&&u===d?o?"descending":"ascending":l?"none":null;return{"aria-sort":f}},sortTheadThLabel:function(e,r,n){if(!this.isSortable||n&&this.noFooterSorting)return null;var i=this.localSortBy,a=this.localSortDesc,s=this.labelSortAsc,o=this.labelSortDesc,u=r.sortable,c="";if(u)if(i===e)c=a?s:o;else{c=a?o:s;var l=this.sortDirection||r.sortDirection;l===v0?c=s:l===fO&&(c=o)}else this.noSortReset||(c=i?this.labelSortClear:"");return _o(c)||null}}});function Doe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ey={stacked:y(en,!1)},b0=V.extend({props:ey,computed:{isStacked:function(){var e=this.stacked;return e===""?!0:e},isStackedAlways:function(){return this.isStacked===!0},stackedTableClasses:function(){var e=this.isStackedAlways;return Doe({"b-table-stacked":e},"b-table-stacked-".concat(this.stacked),!e&&this.isStacked)}}});function oI(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;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?oI(Object(r),!0).forEach(function(n){Ioe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ioe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ty={bordered:y(B,!1),borderless:y(B,!1),captionTop:y(B,!1),dark:y(B,!1),fixed:y(B,!1),hover:y(B,!1),noBorderCollapse:y(B,!1),outlined:y(B,!1),responsive:y(en,!1),small:y(B,!1),stickyHeader:y(en,!1),striped:y(B,!1),tableClass:y(we),tableVariant:y(I)},ux=V.extend({mixins:[Er],provide:function(){return{bvTable:this}},inheritAttrs:!1,props:ty,computed:{isResponsive:function(){var e=this.responsive;return e===""?!0:e},isStickyHeader:function(){var e=this.stickyHeader;return e=e===""?!0:e,this.isStacked?!1:e},wrapperClasses:function(){var e=this.isResponsive;return[this.isStickyHeader?"b-table-sticky-header":"",e===!0?"table-responsive":e?"table-responsive-".concat(this.responsive):""].filter(Te)},wrapperStyles:function(){var e=this.isStickyHeader;return e&&!Si(e)?{maxHeight:e}:{}},tableClasses:function(){var e=this.hover,r=this.tableVariant;return e=this.isTableSimple?e:e&&this.computedItems.length>0&&!this.computedBusy,[this.tableClass,{"table-striped":this.striped,"table-hover":e,"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},r?"".concat(this.dark?"bg":"table","-").concat(r):"",this.stackedTableClasses,this.selectableTableClasses]},tableAttrs:function(){var e=this.computedItems,r=this.filteredItems,n=this.computedFields,i=this.selectableTableAttrs,a=this.isTableSimple?{}:{"aria-busy":_e(this.computedBusy),"aria-colcount":_e(n.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null},s=e&&r&&r.length>e.length?_e(r.length):null;return Nw(Nw(Nw({"aria-rowcount":s},this.bvAttrs),{},{id:this.safeId(),role:this.bvAttrs.role||"table"},a),i)}},render:function(e){var r=this.wrapperClasses,n=this.renderCaption,i=this.renderColgroup,a=this.renderThead,s=this.renderTbody,o=this.renderTfoot,u=[];this.isTableSimple?u.push(this.normalizeSlot()):(u.push(n?n():null),u.push(i?i():null),u.push(a?a():null),u.push(s?s():null),u.push(o?o():null));var c=e("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},u.filter(Te));return r.length>0?e("div",{class:r,style:this.wrapperStyles,key:"wrap"},[c]):c}});function uI(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 Bw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?uI(Object(r),!0).forEach(function(n){Roe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Roe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cx=ee({tbodyTransitionHandlers:y(pr),tbodyTransitionProps:y(pr)},RF),t5=V.extend({name:RF,mixins:[Er,Ds,Ce],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:cx,computed:{isTbody:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},isTransitionGroup:function(){return this.tbodyTransitionProps||this.tbodyTransitionHandlers},tbodyAttrs:function(){return Bw({role:"rowgroup"},this.bvAttrs)},tbodyProps:function(){var e=this.tbodyTransitionProps;return e?Bw(Bw({},e),{},{tag:"tbody"}):{}}},render:function(e){var r={props:this.tbodyProps,attrs:this.tbodyAttrs};return this.isTransitionGroup?(r.on=this.tbodyTransitionHandlers||{},r.nativeOn=this.bvListeners):r.on=this.bvListeners,e(this.isTransitionGroup?"transition-group":"tbody",r,this.normalizeSlot())}}),Loe=["TD","TH","TR"],hO=function(e){if(!e||!e.target)return!1;var r=e.target;if(r.disabled||Loe.indexOf(r.tagName)!==-1)return!1;if(kn(".dropdown-menu",r))return!0;var n=r.tagName==="LABEL"?r:kn("label",r);if(n){var i=ii(n,"for"),a=i?ES(i):ni("input, select, textarea",n);if(a&&!a.disabled)return!0}return Ss(r,ooe)},r5=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=MJ();return r&&r.toString().trim()!==""&&r.containsNode&&yt(e)?r.containsNode(e,!0):!1},Noe=ee(F6,NF),lx=V.extend({name:NF,extends:id,props:Noe,computed:{tag:function(){return"th"}}});function cI(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 Sf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?cI(Object(r),!0).forEach(function(n){Boe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Boe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Foe(t){return Voe(t)||zoe(t)||Hoe(t)||joe()}function joe(){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 Hoe(t,e){if(t){if(typeof t=="string")return pO(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 pO(t,e)}}function zoe(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Voe(t){if(Array.isArray(t))return pO(t)}function pO(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var n5={detailsTdClass:y(we),tbodyTrAttr:y(IX),tbodyTrClass:y([].concat(Foe(we),[mn]))},Uoe=V.extend({props:n5,methods:{getTdValues:function(e,r,n,i){var a=this.$parent;if(n){var s=Vr(e,r,"");return be(n)?n(s,r,e):Ge(n)&&be(a[n])?a[n](s,r,e):n}return i},getThValues:function(e,r,n,i,a){var s=this.$parent;if(n){var o=Vr(e,r,"");return be(n)?n(o,r,e,i):Ge(n)&&be(s[n])?s[n](o,r,e,i):n}return a},getFormattedValue:function(e,r){var n=r.key,i=this.getFieldFormatter(n),a=Vr(e,n,null);return be(i)&&(a=i(a,n,e)),it(a)?"":a},toggleDetailsFactory:function(e,r){var n=this;return function(){e&&n.$set(r,eh,!r[eh])}},rowHovered:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(yX,e)},rowUnhovered:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(SX,e)},renderTbodyRowCell:function(e,r,n,i){var a=this,s=this.isStacked,o=e.key,u=e.label,c=e.isRowHeader,l=this.$createElement,d=this.hasNormalizedSlot(cf),f=this.getFormattedValue(n,e),p=!s&&(this.isResponsive||this.stickyHeader)&&e.stickyColumn,m=p?c?lx:id:c?"th":"td",b=n[ev]&&n[ev][o]?n[ev][o]:e.variant||null,_={class:[e.class?e.class:"",this.getTdValues(n,o,e.tdClass,"")],props:{},attrs:Sf({"aria-colindex":String(r+1)},c?this.getThValues(n,o,e.thAttr,"row",{}):this.getTdValues(n,o,e.tdAttr,{})),key:"row-".concat(i,"-cell-").concat(r,"-").concat(o)};p?_.props={stackedHeading:s?u:null,stickyColumn:!0,variant:b}:(_.attrs["data-label"]=s&&!it(u)?_e(u):null,_.attrs.role=c?"rowheader":"cell",_.attrs.scope=c?"row":null,b&&_.class.push("".concat(this.dark?"bg":"table","-").concat(b)));var S={item:n,index:i,field:e,unformatted:Vr(n,o,""),value:f,toggleDetails:this.toggleDetailsFactory(d,n),detailsShowing:!!n[eh]};this.supportsSelectableRows&&(S.rowSelected=this.isRowSelected(i),S.selectRow=function(){return a.selectRow(i)},S.unselectRow=function(){return a.unselectRow(i)});var x=this.$_bodyFieldSlotNameCache[o],O=x?this.normalizeSlot(x,S):_e(f);return this.isStacked&&(O=[l("div",[O])]),l(m,_,[O])},renderTbodyRow:function(e,r){var n=this,i=this.computedFields,a=this.striped,s=this.primaryKey,o=this.currentPage,u=this.perPage,c=this.tbodyTrClass,l=this.tbodyTrAttr,d=this.$createElement,f=this.hasNormalizedSlot(cf),p=e[eh]&&f,m=this.$listeners[Uv]||this.hasSelectableRowClick,b=[],_=p?this.safeId("_details_".concat(r,"_")):null,S=i.map(function($,D){return n.renderTbodyRowCell($,D,e,r)}),x=null;o&&u&&u>0&&(x=String((o-1)*u+r+1));var O=_e(Vr(e,s))||null,h=O||_e(r),v=O?this.safeId("_row_".concat(O)):null,g=this.selectableRowClasses?this.selectableRowClasses(r):{},T=this.selectableRowAttrs?this.selectableRowAttrs(r):{},P=be(c)?c(e,"row"):c,k=be(l)?l(e,"row"):l;if(b.push(d(Cs,{class:[P,g,p?"b-table-has-details":""],props:{variant:e[cO]||null},attrs:Sf(Sf({id:v},k),{},{tabindex:m?"0":null,"data-pk":O||null,"aria-details":_,"aria-owns":_,"aria-rowindex":x},T),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(h,"__"),ref:"item-rows",refInFor:!0},S)),p){var w={item:e,index:r,fields:i,toggleDetails:this.toggleDetailsFactory(f,e)};this.supportsSelectableRows&&(w.rowSelected=this.isRowSelected(r),w.selectRow=function(){return n.selectRow(r)},w.unselectRow=function(){return n.unselectRow(r)});var A=d(id,{props:{colspan:i.length},class:this.detailsTdClass},[this.normalizeSlot(cf,w)]);a&&b.push(d("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(h)}));var C=be(this.tbodyTrClass)?this.tbodyTrClass(e,cf):this.tbodyTrClass,E=be(this.tbodyTrAttr)?this.tbodyTrAttr(e,cf):this.tbodyTrAttr;b.push(d(Cs,{staticClass:"b-table-details",class:[C],props:{variant:e[cO]||null},attrs:Sf(Sf({},E),{},{id:_,tabindex:"-1"}),key:"__b-table-details__".concat(h)},[A]))}else f&&(b.push(d()),a&&b.push(d()));return b}}});function lI(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 Fw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lI(Object(r),!0).forEach(function(n){Goe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Goe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var jw=function(e){return"cell(".concat(e||"",")")},dx=fe(Fw(Fw(Fw({},cx),n5),{},{tbodyClass:y(we)})),i5=V.extend({mixins:[Uoe],props:dx,beforeDestroy:function(){this.$_bodyFieldSlotNameCache=null},methods:{getTbodyTrs:function(){var e=this.$refs,r=e.tbody?e.tbody.$el||e.tbody:null,n=(e["item-rows"]||[]).map(function(i){return i.$el||i});return r&&r.children&&r.children.length>0&&n&&n.length>0?Zu(r.children).filter(function(i){return Ee(n,i)}):[]},getTbodyTrIndex:function(e){if(!yt(e))return-1;var r=e.tagName==="TR"?e:kn("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"||!OE(r)||r.tabIndex!==0)){if(Ee([ks,Va],n))ke(e),this.onTBodyRowClicked(e);else if(Ee([Dn,pn,Lo,Ro],n)){var i=this.getTbodyTrIndex(r);if(i>-1){ke(e);var a=this.getTbodyTrs(),s=e.shiftKey;n===Lo||s&&n===Dn?Ie(a[0]):n===Ro||s&&n===pn?Ie(a[a.length-1]):n===Dn&&i>0?Ie(a[i-1]):n===pn&&i<a.length-1&&Ie(a[i+1])}}}},onTBodyRowClicked:function(e){var r=this.$refs,n=r.tbody?r.tbody.$el||r.tbody:null;this.tbodyRowEventStopped(e)||hO(e)||r5(n||this.$el)||this.emitTbodyRowEvent(Uv,e)},onTbodyRowMiddleMouseRowClicked:function(e){!this.tbodyRowEventStopped(e)&&e.which===2&&this.emitTbodyRowEvent(_X,e)},onTbodyRowContextmenu:function(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(vX,e)},onTbodyRowDblClicked:function(e){!this.tbodyRowEventStopped(e)&&!hO(e)&&this.emitTbodyRowEvent(bX,e)},renderTbody:function(){var e=this,r=this.computedItems,n=this.renderBusy,i=this.renderTopRow,a=this.renderEmpty,s=this.renderBottomRow,o=this.$createElement,u=this.hasListener(Uv)||this.hasSelectableRowClick,c=[],l=n?n():null;if(l)c.push(l);else{var d={},f=jw();f=this.hasNormalizedSlot(f)?f:null,this.computedFields.forEach(function(b){var _=b.key,S=jw(_),x=jw(_.toLowerCase());d[_]=e.hasNormalizedSlot(S)?S:e.hasNormalizedSlot(x)?x:f}),this.$_bodyFieldSlotNameCache=d,c.push(i?i():o()),r.forEach(function(b,_){c.push(e.renderTbodyRow(b,_))}),c.push(a?a():o()),c.push(s?s():o())}var p={auxclick:this.onTbodyRowMiddleMouseRowClicked,contextmenu:this.onTbodyRowContextmenu,dblclick:this.onTbodyRowDblClicked};u&&(p.click=this.onTBodyRowClicked,p.keydown=this.onTbodyRowKeydown);var m=o(t5,{class:this.tbodyClass||null,props:Et(cx,this.$props),on:p,ref:"tbody"},c);return m}}});function dI(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 fI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?dI(Object(r),!0).forEach(function(n){Woe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Woe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yoe=ee({footVariant:y(I)},LF),fx=V.extend({name:LF,mixins:[Er,Ds,Ce],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:Yoe,computed:{isTfoot:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},tfootClasses:function(){return[this.footVariant?"thead-".concat(this.footVariant):null]},tfootAttrs:function(){return fI(fI({},this.bvAttrs),{},{role:"rowgroup"})}},render:function(e){return e("tfoot",{class:this.tfootClasses,attrs:this.tfootAttrs,on:this.bvListeners},this.normalizeSlot())}}),hx={footClone:y(B,!1),footRowVariant:y(I),footVariant:y(I),tfootClass:y(we),tfootTrClass:y(we)},a5=V.extend({props:hx,methods:{renderTFootCustom:function(){var e=this.$createElement;return this.hasNormalizedSlot(XA)?e(fx,{class:this.tfootClass||null,props:{footVariant:this.footVariant||this.headVariant||null},key:"bv-tfoot-custom"},this.normalizeSlot(XA,{items:this.computedItems.slice(),fields:this.computedFields.slice(),columns:this.computedFields.length})):e()},renderTfoot:function(){return this.footClone?this.renderThead(!0):this.renderTFootCustom()}}});function hI(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 Koe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hI(Object(r),!0).forEach(function(n){qoe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function qoe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xoe=ee({headVariant:y(I)},BF),s5=V.extend({name:BF,mixins:[Er,Ds,Ce],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:Xoe,computed:{isThead:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},theadClasses:function(){return[this.headVariant?"thead-".concat(this.headVariant):null]},theadAttrs:function(){return Koe({role:"rowgroup"},this.bvAttrs)}},render:function(e){return e("thead",{class:this.theadClasses,attrs:this.theadAttrs,on:this.bvListeners},this.normalizeSlot())}});function Joe(t){return tue(t)||eue(t)||Qoe(t)||Zoe()}function Zoe(){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 Qoe(t,e){if(t){if(typeof t=="string")return mO(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 mO(t,e)}}function eue(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tue(t){if(Array.isArray(t))return mO(t)}function mO(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function pI(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 mI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pI(Object(r),!0).forEach(function(n){rue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function rue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Hw=function(e){return"head(".concat(e||"",")")},zw=function(e){return"foot(".concat(e||"",")")},px={headRowVariant:y(I),headVariant:y(I),theadClass:y(we),theadTrClass:y(we)},o5=V.extend({props:px,methods:{fieldClasses:function(e){return[e.class?e.class:"",e.thClass?e.thClass:""]},headClicked:function(e,r,n){if(!(this.stopIfBusy&&this.stopIfBusy(e))){{if(hO(e))return;if(r5(this.$el))return}ke(e),this.$emit(hh,r.key,r,e,n)}},renderThead:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.computedFields,i=this.isSortable,a=this.isSelectable,s=this.headVariant,o=this.footVariant,u=this.headRowVariant,c=this.footRowVariant,l=this.$createElement;if(this.isStackedAlways||n.length===0)return l();var d=i||this.hasListener(hh),f=a?this.selectAllRows:Kh,p=a?this.clearSelected:Kh,m=function(O,h){var v=O.label,g=O.labelHtml,T=O.variant,P=O.stickyColumn,k=O.key,w=null;!O.label.trim()&&!O.headerTitle&&(w=Rg(O.key));var A={};d&&(A.click=function(z){e.headClicked(z,O,r)},A.keydown=function(z){var U=z.keyCode;(U===ks||U===Va)&&e.headClicked(z,O,r)});var C=i?e.sortTheadThAttrs(k,O,r):{},E=i?e.sortTheadThClasses(k,O,r):null,$=i?e.sortTheadThLabel(k,O,r):null,D={class:[{"position-relative":$},e.fieldClasses(O),E],props:{variant:T,stickyColumn:P},style:O.thStyle||{},attrs:mI(mI({tabindex:d&&O.sortable?"0":null,abbr:O.headerAbbr||null,title:O.headerTitle||null,"aria-colindex":h+1,"aria-label":w},e.getThValues(null,k,O.thAttr,r?"foot":"head",{})),C),on:A,key:k},M=[Hw(k),Hw(k.toLowerCase()),Hw()];r&&(M=[zw(k),zw(k.toLowerCase()),zw()].concat(Joe(M)));var L={label:v,column:k,field:O,isFoot:r,selectAllRows:f,clearSelected:p},N=e.normalizeSlot(M,L)||l("div",{domProps:Rt(g,v)}),j=$?l("span",{staticClass:"sr-only"}," (".concat($,")")):null;return l(lx,D,[N,j].filter(Te))},b=n.map(m).filter(Te),_=[];if(r)_.push(l(Cs,{class:this.tfootTrClass,props:{variant:it(c)?u:c}},b));else{var S={columns:n.length,fields:n,selectAllRows:f,clearSelected:p};_.push(this.normalizeSlot(yJ,S)||l()),_.push(l(Cs,{class:this.theadTrClass,props:{variant:u}},b))}return l(r?fx:s5,{class:(r?this.tfootClass:this.theadClass)||null,props:r?{footVariant:o||s||null}:{headVariant:s||null},key:r?"bv-tfoot":"bv-thead"},_)}}}),nue={},iue=V.extend({methods:{renderTopRow:function(){var e=this.computedFields,r=this.stacked,n=this.tbodyTrClass,i=this.tbodyTrAttr,a=this.$createElement;return!this.hasNormalizedSlot(iM)||r===!0||r===""?a():a(Cs,{staticClass:"b-table-top-row",class:[be(n)?n(null,"row-top"):n],attrs:be(i)?i(null,"row-top"):i,key:"b-top-row"},[this.normalizeSlot(iM,{columns:e.length,fields:e})])}}});function gI(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 Ar(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gI(Object(r),!0).forEach(function(n){aue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function aue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var sue=ee(fe(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar(Ar({},ct),B6),j6),sx),z6),U6),Y6),ox),X6),J6),Z6),e5),ey),ty),dx),hx),px),nue)),Ju),oue=V.extend({name:Ju,mixins:[Er,ix,ht,Ce,q6,ux,b0,o5,a5,i5,b0,moe,koe,woe,H6,V6,xoe,soe,iue,toe,aoe,Toe],props:sue});function vI(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 Qa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?vI(Object(r),!0).forEach(function(n){uue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function uue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cue=ee(fe(Qa(Qa(Qa(Qa(Qa(Qa(Qa(Qa(Qa({},ct),sx),z6),ox),ey),ty),dx),hx),px)),kF),lue=V.extend({name:kF,mixins:[Er,ix,ht,Ce,q6,ux,b0,o5,a5,i5,H6,V6],props:cue});function bI(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 Vw(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bI(Object(r),!0).forEach(function(n){due(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function due(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fue=ee(fe(Vw(Vw(Vw({},ct),ey),ty)),DF),u5=V.extend({name:DF,mixins:[Er,ix,ht,Ce,ux,b0],props:fue,computed:{isTableSimple:function(){return!0}}}),hue=pe({components:{BTableLite:lue}}),pue=pe({components:{BTableSimple:u5,BTbody:t5,BThead:s5,BTfoot:fx,BTr:Cs,BTd:id,BTh:lx}}),mue=pe({components:{BTable:oue},plugins:{TableLitePlugin:hue,TableSimplePlugin:pue}});function yI(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 gue(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?yI(Object(r),!0).forEach(function(n){vue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vue(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _I=function(e){return e>0},bue=ee({animation:y(I),columns:y(Xr,5,_I),hideHeader:y(B,!1),rows:y(Xr,3,_I),showFooter:y(B,!1),tableProps:y(pr,{})},PF),yue=V.extend({name:PF,functional:!0,props:bue,render:function(e,r){var n=r.data,i=r.props,a=i.animation,s=i.columns,o=e("th",[e(p0,{props:{animation:a}})]),u=e("tr",ph(s,o)),c=e("td",[e(p0,{props:{width:"75%",animation:a}})]),l=e("tr",ph(s,c)),d=e("tbody",ph(i.rows,l)),f=i.hideHeader?e():e("thead",[u]),p=i.showFooter?e("tfoot",[u]):e();return e(u5,ve(n,{props:gue({},i.tableProps)}),[f,d,p])}}),_ue=ee({loading:y(B,!1)},CF),wue=V.extend({name:CF,functional:!0,props:_ue,render:function(e,r){var n=r.data,i=r.props,a=r.slots,s=r.scopedSlots,o=a(),u=s||{},c={};return i.loading?e("div",ve(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),Br(QX,c,u,o)):Br(br,c,u,o)}}),Sue=pe({components:{BSkeleton:p0,BSkeletonIcon:Kse,BSkeletonImg:Jse,BSkeletonTable:yue,BSkeletonWrapper:wue}}),Oue=pe({components:{BSpinner:O6}}),qc;function wI(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 Pl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?wI(Object(r),!0).forEach(function(n){ma(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ma(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ry=mr("value",{type:Xr}),Tue=ry.mixin,Eue=ry.props,Uw=ry.prop,SI=ry.event,ou=function(e){return!e.disabled},xue=V.extend({name:Qq,inject:{bvTabs:{default:function(){return{}}}},props:{controls:y(I),id:y(I),noKeyNav:y(B,!1),posInSet:y(Xr),setSize:y(Xr),tab:y(),tabIndex:y(Xr)},methods:{focus:function(){Ie(this.$refs.link)},handleEvent:function(e){if(!this.tab.disabled){var r=e.type,n=e.keyCode,i=e.shiftKey;r==="click"?(ke(e),this.$emit(Pi,e)):r==="keydown"&&n===Va?(ke(e),this.$emit(Pi,e)):r==="keydown"&&!this.noKeyNav&&([Dn,Gi,Lo].indexOf(n)!==-1?(ke(e),i||n===Lo?this.$emit(VF,e):this.$emit(XF,e)):[pn,Ps,Ro].indexOf(n)!==-1&&(ke(e),i||n===Ro?this.$emit(GF,e):this.$emit(KF,e)))}}},render:function(e){var r=this.id,n=this.tabIndex,i=this.setSize,a=this.posInSet,s=this.controls,o=this.handleEvent,u=this.tab,c=u.title,l=u.localActive,d=u.disabled,f=u.titleItemClass,p=u.titleLinkClass,m=u.titleLinkAttributes,b=e(Ln,{staticClass:"nav-link",class:[{active:l&&!d,disabled:d},p,l?this.bvTabs.activeNavItemClass:null],props:{disabled:d},attrs:Pl(Pl({},m),{},{id:r,role:"tab",tabindex:n,"aria-selected":l&&!d?"true":"false","aria-setsize":i,"aria-posinset":a,"aria-controls":s}),on:{click:o,keydown:o},ref:"link"},[this.tab.normalizeSlot(Sp)||c]);return e("li",{staticClass:"nav-item",class:[f],attrs:{role:"presentation"}},[b])}}),Pue=Re(ex,["tabs","isNavBar","cardHeader"]),Cue=ee(fe(Pl(Pl(Pl(Pl({},ct),Eue),Pue),{},{activeNavItemClass:y(we),activeTabClass:y(we),card:y(B,!1),contentClass:y(we),end:y(B,!1),lazy:y(B,!1),navClass:y(we),navWrapperClass:y(we),noFade:y(B,!1),noKeyNav:y(B,!1),noNavStyle:y(B,!1),tag:y(I,"div")})),IF),Aue=V.extend({name:IF,mixins:[ht,Tue,Ce],provide:function(){return{bvTabs:this}},props:Cue,data:function(){return{currentTab:oe(this[Uw],-1),tabs:[],registeredTabs:[]}},computed:{fade:function(){return!this.noFade},localNavClass:function(){var e=[];return this.card&&this.vertical&&e.push("card-header","h-100","border-bottom-0","rounded-0"),[].concat(e,[this.navClass])}},watch:(qc={},ma(qc,Uw,function(t,e){if(t!==e){t=oe(t,-1),e=oe(e,0);var r=this.tabs[t];r&&!r.disabled?this.activateTab(r):t<e?this.previousTab():this.nextTab()}}),ma(qc,"currentTab",function(e){var r=-1;this.tabs.forEach(function(n,i){i===e&&!n.disabled?(n.localActive=!0,r=i):n.localActive=!1}),this.$emit(SI,r)}),ma(qc,"tabs",function(e,r){var n=this;Je(e.map(function(i){return i[ws]}),r.map(function(i){return i[ws]}))||this.$nextTick(function(){n.$emit(uX,e.slice(),r.slice())})}),ma(qc,"registeredTabs",function(){this.updateTabs()}),qc),created:function(){this.$_observer=null},mounted:function(){this.setObserver(!0)},beforeDestroy:function(){this.setObserver(!1),this.tabs=[]},methods:{registerTab:function(e){Ee(this.registeredTabs,e)||this.registeredTabs.push(e)},unregisterTab:function(e){this.registeredTabs=this.registeredTabs.slice().filter(function(r){return r!==e})},setObserver:function(){var e=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,r){var n=function(){e.$nextTick(function(){at(function(){e.updateTabs()})})};this.$_observer=qh(this.$refs.content,n,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var e=this.registeredTabs.filter(function(i){return i.$children.filter(function(a){return a._isTab}).length===0}),r=[];if(ft&&e.length>0){var n=e.map(function(i){return"#".concat(i.safeId())}).join(", ");r=si(n,this.$el).map(function(i){return i.id}).filter(Te)}return Q6(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(ou)):e[n]&&!e[n].disabled&&(r=n)}r<0&&(r=e.indexOf(e.find(ou))),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 s=new pc(sX,{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(s.type,a,r,s),s.defaultPrevented||(this.currentTab=a,i=!0)}}return!i&&this[Uw]!==r&&this.$emit(SI,r),i},deactivateTab:function(e){return e?this.activateTab(this.tabs.filter(function(r){return r!==e}).find(ou)):!1},focusButton:function(e){var r=this;this.$nextTick(function(){Ie(r.getButtonForTab(e))})},emitTabClick:function(e,r){Yu(r)&&e&&e.$emit&&!e.disabled&&e.$emit(Pi,r)},clickTab:function(e,r){this.activateTab(e),this.emitTabClick(e,r)},firstTab:function(e){var r=this.tabs.find(ou);this.activateTab(r)&&e&&(this.focusButton(r),this.emitTabClick(r,e))},previousTab:function(e){var r=Ze(this.currentTab,0),n=this.tabs.slice(0,r).reverse().find(ou);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},nextTab:function(e){var r=Ze(this.currentTab,-1),n=this.tabs.slice(r+1).find(ou);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},lastTab:function(e){var r=this.tabs.slice().reverse().find(ou);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,s=this.fill,o=this.firstTab,u=this.justified,c=this.lastTab,l=this.nextTab,d=this.noKeyNav,f=this.noNavStyle,p=this.pills,m=this.previousTab,b=this.small,_=this.tabs,S=this.vertical,x=_.find(function(k){return k.localActive&&!k.disabled}),O=_.find(function(k){return!k.disabled}),h=_.map(function(k,w){var A,C=k.safeId,E=null;return d||(E=-1,(k===x||!x&&k===O)&&(E=null)),e(xue,{props:{controls:C?C():null,id:k.controlledBy||(C?C("_BV_tab_button_"):null),noKeyNav:d,posInSet:w+1,setSize:_.length,tab:k,tabIndex:E},on:(A={},ma(A,Pi,function($){r.clickTab(k,$)}),ma(A,VF,o),ma(A,XF,m),ma(A,KF,l),ma(A,GF,c),A),key:k[ws]||w,ref:"buttons",refInFor:!0})}),v=e(y6,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:s,justified:u,align:n,tabs:!f&&!p,pills:!f&&p,vertical:S,small:b,cardHeader:i&&!S},ref:"nav"},[this.normalizeSlot(vJ)||e(),h,this.normalizeSlot(gJ)||e()]);v=e("div",{class:[{"card-header":i&&!S&&!a,"card-footer":i&&!S&&a,"col-auto":S},this.navWrapperClass],key:"bv-tabs-nav"},[v]);var g=this.normalizeSlot()||[],T=e();g.length===0&&(T=e("div",{class:["tab-pane","active",{"card-body":i}],key:"bv-empty-tab"},this.normalizeSlot(i4)));var P=e("div",{staticClass:"tab-content",class:[{col:S},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[g,T]);return e(this.tag,{staticClass:"tabs",class:{row:S,"no-gutters":S&&i},attrs:{id:this.safeId()}},[a?P:e(),v,a?e():P])}}),mi,Of;function OI(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 TI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?OI(Object(r),!0).forEach(function(n){On(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):OI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function On(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var y0="active",EI=Vo+y0,Mue=ee(fe(TI(TI({},ct),{},(mi={},On(mi,y0,y(B,!1)),On(mi,"buttonId",y(I)),On(mi,"disabled",y(B,!1)),On(mi,"lazy",y(B,!1)),On(mi,"noBody",y(B,!1)),On(mi,"tag",y(I,"div")),On(mi,"title",y(I)),On(mi,"titleItemClass",y(we)),On(mi,"titleLinkAttributes",y(pr)),On(mi,"titleLinkClass",y(we)),mi))),MF),$ue=V.extend({name:MF,mixins:[ht,Ce],inject:{bvTabs:{default:function(){return{}}}},props:Mue,data:function(){return{localActive:this[y0]&&!this.disabled}},computed:{_isTab:function(){return!0},tabClasses:function(){var e=this.localActive,r=this.disabled;return[{active:e,disabled:r,"card-body":this.bvTabs.card&&!this.noBody},e?this.bvTabs.activeTabClass:null]},controlledBy:function(){return this.buttonId||this.safeId("__BV_tab_button__")},computedNoFade:function(){return!this.bvTabs.fade},computedLazy:function(){return this.bvTabs.lazy||this.lazy}},watch:(Of={},On(Of,y0,function(t,e){t!==e&&(t?this.activate():this.deactivate()||this.$emit(EI,this.localActive))}),On(Of,"disabled",function(e,r){if(e!==r){var n=this.bvTabs.firstTab;e&&this.localActive&&n&&(this.localActive=!1,n())}}),On(Of,"localActive",function(e){this.$emit(EI,e)}),Of),mounted:function(){this.registerTab()},updated:function(){var e=this.bvTabs.updateButton;e&&this.hasNormalizedSlot(Sp)&&e(this)},beforeDestroy:function(){this.unregisterTab()},methods:{registerTab:function(){var e=this.bvTabs.registerTab;e&&e(this)},unregisterTab:function(){var e=this.bvTabs.unregisterTab;e&&e(this)},activate:function(){var e=this.bvTabs.activateTab;return e&&!this.disabled?e(this):!1},deactivate:function(){var e=this.bvTabs.deactivateTab;return e&&this.localActive?e(this):!1}},render:function(e){var r=this.localActive,n=e(this.tag,{staticClass:"tab-pane",class:this.tabClasses,directives:[{name:"show",value:r}],attrs:{role:"tabpanel",id:this.safeId(),"aria-hidden":r?"false":"true","aria-labelledby":this.controlledBy||null},ref:"panel"},[r||!this.computedLazy?this.normalizeSlot():e()]);return e(fc,{props:{mode:"out-in",noFade:this.computedNoFade}},[n])}}),kue=pe({components:{BTabs:Aue,BTab:$ue}}),Due=pe({components:{BTime:r6}});function tv(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?tv=function(e){return typeof e}:tv=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tv(t)}function Iue(t){return Rue(t)||Lue(t)||Nue()}function Rue(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}function Lue(t){if(Symbol.iterator in Object(t)||Object.prototype.toString.call(t)==="[object Arguments]")return Array.from(t)}function Nue(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var jm=typeof window<"u";function Bue(t){return Array.isArray(t)||tv(t)==="object"?Object.freeze(t):t}function Fue(t){var e=arguments.length>1&&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 jue(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 xI(t,e){return e.reduce(function(r,n){return t.hasOwnProperty(n)&&(r[n]=t[n]),r},{})}var c5={},Hue={},zue={},Vue=V.extend({data:function(){return{transports:c5,targets:Hue,sources:zue,trackInstances:jm}},methods:{open:function(e){if(jm){var r=e.to,n=e.from,i=e.passengers,a=e.order,s=a===void 0?1/0:a;if(!(!r||!n||!i)){var o={to:r,from:n,passengers:Bue(i),order:s},u=Object.keys(this.transports);u.indexOf(r)===-1&&V.set(this.transports,r,[]);var c=this.$_getTransportIndex(o),l=this.transports[r].slice(0);c===-1?l.push(o):l[c]=o,this.transports[r]=jue(l,function(d,f){return d.order-f.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 s=this.transports[n].slice(0);s.splice(a,1),this.transports[n]=s}}},registerTarget:function(e,r,n){jm&&(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){jm&&(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}}}),ri=new Vue(c5),Uue=1,l5=V.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(Uue++)}},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(){ri.registerSource(e.name,e)})},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){ri.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};ri.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:Iue(e),order:this.order};ri.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"})}}),d5=V.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:ri.transports,firstRender:!0}},created:function(){var e=this;this.$nextTick(function(){ri.registerTarget(e.name,e)})},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(e,r){ri.unregisterTarget(r),ri.registerTarget(e,this)}},mounted:function(){var e=this;this.transition&&this.$nextTick(function(){e.firstRender=!1})},beforeDestroy:function(){ri.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 Fue(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)}}),Gue=0,Wue=["disabled","name","order","slim","slotProps","tag","to"],Yue=["multiple","transition"];V.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(Gue++)}},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(ri.targets[r.name]){r.bail?console.warn("[portal-vue]: Target ".concat(r.name,` is already mounted.
Aborting because 'bail: true' is set`)):this.portalTarget=ri.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 s=xI(this.$props,Yue);s.slim=this.targetSlim,s.tag=this.targetTag,s.slotProps=this.targetSlotProps,s.name=this.to,this.portalTarget=new d5({el:e,parent:this.$parent||this,propsData:s})}},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=xI(this.$props,Wue);return e(l5,{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 Kue=V.extend({mixins:[Ce],data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(e){var r=this;at(function(){Yr(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())}}),que=ee({ariaAtomic:y(I),ariaLive:y(I),name:y(I,void 0,!0),role:y(I)},Bl),f5=V.extend({name:Bl,mixins:[Xi],props:que,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var e=this.name;this.staticName=e,ri.hasTarget(e)?(Tr('A "<portal-target>" with name "'.concat(e,'" already exists in the document.'),Bl),this.dead=!0):this.doRender=!0},beforeDestroy:function(){this.doRender&&this.emitOnRoot(Ht(Bl,yE),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(d5,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:Kue}});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}}),Xc;function PI(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;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?PI(Object(r),!0).forEach(function(n){pl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function pl(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ny=mr("visible",{type:B,defaultValue:!1,event:Rn}),Xue=ny.mixin,Jue=ny.props,Gw=ny.prop,Zue=ny.event,CI=1e3,h5=qi(Ji,["href","to"]),p5=ee(fe(Ta(Ta(Ta(Ta({},ct),Jue),h5),{},{appendToast:y(B,!1),autoHideDelay:y(le,5e3),bodyClass:y(we),headerClass:y(we),headerTag:y(I,"header"),isStatus:y(B,!1),noAutoHide:y(B,!1),noCloseButton:y(B,!1),noFade:y(B,!1),noHoverPause:y(B,!1),solid:y(B,!1),static:y(B,!1),title:y(I),toastClass:y(we),toaster:y(I,"b-toaster-top-right"),variant:y(I)})),gs),m5=V.extend({name:gs,mixins:[Er,ht,Xue,Xi,Ce,QE],inheritAttrs:!1,props:p5,data:function(){return{isMounted:!1,doRender:!1,localShow:!1,isTransitioning:!1,isHiding:!1,order:0,dismissStarted:0,resumeDismiss:0}},computed:{toastClasses:function(){var e=this.appendToast,r=this.variant;return pl({"b-toast-solid":this.solid,"b-toast-append":e,"b-toast-prepend":!e},"b-toast-".concat(r),r)},slotScope:function(){var e=this.hide;return{hide:e}},computedDuration:function(){return Ze(oe(this.autoHideDelay,0),CI)},computedToaster:function(){return String(this.toaster)},transitionHandlers:function(){return{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,afterLeave:this.onAfterLeave}},computedAttrs:function(){return Ta(Ta({},this.bvAttrs),{},{id:this.safeId(),tabindex:"0"})}},watch:(Xc={},pl(Xc,Gw,function(t){this[t?"show":"hide"]()}),pl(Xc,"localShow",function(e){e!==this[Gw]&&this.$emit(Zue,e)}),pl(Xc,"toaster",function(){this.$nextTick(this.ensureToaster)}),pl(Xc,"static",function(e){e&&this.localShow&&this.ensureToaster()}),Xc),created:function(){this.$_dismissTimer=null},mounted:function(){var e=this;this.isMounted=!0,this.$nextTick(function(){e[Gw]&&at(function(){e.show()})}),this.listenOnRoot(dr(gs,Nr),function(r){r===e.safeId()&&e.show()}),this.listenOnRoot(dr(gs,$n),function(r){(!r||r===e.safeId())&&e.hide()}),this.listenOnRoot(Ht(Bl,yE),function(r){r===e.computedToaster&&e.hide()})},beforeDestroy:function(){this.clearDismissTimer()},methods:{show:function(){var e=this;if(!this.localShow){this.ensureToaster();var r=this.buildEvent(Nr);this.emitEvent(r),this.dismissStarted=this.resumeDismiss=0,this.order=Date.now()*(this.appendToast?1:-1),this.isHiding=!1,this.doRender=!0,this.$nextTick(function(){at(function(){e.localShow=!0})})}},hide:function(){var e=this;if(this.localShow){var r=this.buildEvent($n);this.emitEvent(r),this.setHoverHandler(!1),this.dismissStarted=this.resumeDismiss=0,this.clearDismissTimer(),this.isHiding=!0,at(function(){e.localShow=!1})}},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new pc(e,Ta(Ta({cancelable:!1,target:this.$el||null,relatedTarget:null},r),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(e){var r=e.type;this.emitOnRoot(Ht(gs,r),e),this.$emit(r,e)},ensureToaster:function(){if(!this.static){var e=this.computedToaster;if(!ri.hasTarget(e)){var r=document.createElement("div");document.body.appendChild(r);var n=new f5({parent:this.$root,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"];Ui(e,r,"mouseenter",this.onPause,Ve),Ui(e,r,"mouseleave",this.onUnPause,Ve)},onPause:function(){if(!(this.noAutoHide||this.noHoverPause||!this.$_dismissTimer||this.resumeDismiss)){var e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=Ze(this.computedDuration-e,CI))}},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(){at(function(){e.hide()})})},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var e=this.buildEvent(fn);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(Xt);this.emitEvent(e),this.doRender=!1},makeToast:function(e){var r=this,n=this.title,i=this.slotScope,a=Tp(this),s=[],o=this.normalizeSlot(_J,i);o?s.push(o):n&&s.push(e("strong",{staticClass:"mr-2"},n)),this.noCloseButton||s.push(e(ec,{staticClass:"ml-auto mb-1",on:{click:function(){r.hide()}}}));var u=e();s.length>0&&(u=e(this.headerTag,{staticClass:"toast-header",class:this.headerClass},s));var c=e(a?Ln:"div",{staticClass:"toast-body",class:this.bodyClass,props:a?Et(h5,this):{},on:a?{click:this.onLinkClick}:{}},this.normalizeSlot(br,i));return e("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this[ws]),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,s="b-toast-".concat(this[ws]),o=e("div",{staticClass:"b-toast",class:this.toastClasses,attrs:Ta(Ta({},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:s,ref:"b-toast"},[e(fc,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(e):e()])]);return e(l5,{props:{name:s,to:this.computedToaster,order:r,slim:!0,disabled:n}},[o])}});function Que(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AI(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ece(t,e,r){return e&&AI(t.prototype,e),r&&AI(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function MI(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 Tf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MI(Object(r),!0).forEach(function(n){tce(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function tce(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rce(t){return sce(t)||ace(t)||ice(t)||nce()}function nce(){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 ice(t,e){if(t){if(typeof t=="string")return gO(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 gO(t,e)}}function ace(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function sce(t){if(Array.isArray(t))return gO(t)}function gO(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ef="$bvToast",Ww="_bv__toast",oce=["id"].concat(rce(Pe(Re(p5,["static","visible"])))),Yw={toastContent:"default",title:"toast-title"},$I=function(e){return oce.reduce(function(r,n){return Jt(e[n])||(r[n]=e[n]),r},{})},uce=function(e){var r=e.extend({name:eX,extends:m5,destroyed:function(){var s=this.$el;s&&s.parentNode&&s.parentNode.removeChild(s)},mounted:function(){var s=this,o=function(){s.localShow=!1,s.doRender=!1,s.$nextTick(function(){s.$nextTick(function(){at(function(){s.$destroy()})})})};this.$parent.$once(Vh,o),this.$once(Xt,o),this.listenOnRoot(Ht(Bl,yE),function(u){u===s.toaster&&o()})}}),n=function(s,o){if(!Hv(Ef)){var u=new r({parent:o,propsData:Tf(Tf(Tf({},$I(ti(gs))),Re(s,Pe(Yw))),{},{static:!1,visible:!0})});Pe(Yw).forEach(function(l){var d=s[l];Jt(d)||(l==="title"&&Ge(d)&&(d=[o.$createElement("strong",{class:"mr-2"},d)]),u.$slots[Yw[l]]=Ke(d))});var c=document.createElement("div");document.body.appendChild(c),u.$mount(c)}},i=function(){function a(s){Que(this,a),wp(this,{_vm:s,_root:s.$root}),bb(this,{_vm:_i(),_root:_i()})}return ece(a,[{key:"toast",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};!o||Hv(Ef)||n(Tf(Tf({},$I(u)),{},{toastContent:o}),this._vm)}},{key:"show",value:function(o){o&&this._root.$emit(dr(gs,Nr),o)}},{key:"hide",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._root.$emit(dr(gs,$n),o)}}]),a}();e.mixin({beforeCreate:function(){this[Ww]=new i(this)}}),qu(e.prototype,Ef)||mE(e.prototype,Ef,{get:function(){return(!this||!this[Ww])&&Tr('"'.concat(Ef,'" must be accessed from a Vue instance "this" context.'),gs),this[Ww]}})},cce=pe({plugins:{plugin:uce}}),lce=pe({components:{BToast:m5,BToaster:f5},plugins:{BVToastPlugin:cce}});function kI(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 DI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?kI(Object(r),!0).forEach(function(n){dce(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dce(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yi="__BV_Tooltip__",fce="hover focus",II={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},hce=/^html$/i,pce=/^noninteractive$/i,mce=/^nofade$/i,gce=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,vce=/^(window|viewport|scrollParent)$/i,bce=/^d\d+$/i,yce=/^ds\d+$/i,_ce=/^dh\d+$/i,wce=/^o-?\d+$/i,Sce=/^v-.+$/i,Oce=/\s+/,Tce=function(e,r){var n={title:void 0,trigger:"",placement:"top",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,id:null,html:!1,interactive:!0,disabled:!1,delay:ti(wu,"delay",50),boundary:String(ti(wu,"boundary","scrollParent")),boundaryPadding:oe(ti(wu,"boundaryPadding",5),0),variant:ti(wu,"variant"),customClass:ti(wu,"customClass")};if(Ge(e.value)||ji(e.value)||be(e.value)?n.title=e.value:Zr(e.value)&&(n=DI(DI({},n),e.value)),Jt(n.title)){var i=r.data||{};n.title=i.attrs&&!it(i.attrs.title)?i.attrs.title:void 0}Zr(n.delay)||(n.delay={show:oe(n.delay,0),hide:oe(n.delay,0)}),e.arg&&(n.container="#".concat(e.arg)),Pe(e.modifiers).forEach(function(s){if(hce.test(s))n.html=!0;else if(pce.test(s))n.interactive=!1;else if(mce.test(s))n.animation=!1;else if(gce.test(s))n.placement=s;else if(vce.test(s))s=s==="scrollparent"?"scrollParent":s,n.boundary=s;else if(bce.test(s)){var o=oe(s.slice(1),0);n.delay.show=o,n.delay.hide=o}else yce.test(s)?n.delay.show=oe(s.slice(2),0):_ce.test(s)?n.delay.hide=oe(s.slice(2),0):wce.test(s)?n.offset=oe(s.slice(1),0):Sce.test(s)&&(n.variant=s.slice(2)||null)});var a={};return Ke(n.trigger||"").filter(Te).join(" ").trim().toLowerCase().split(Oce).forEach(function(s){II[s]&&(a[s]=!0)}),Pe(e.modifiers).forEach(function(s){s=s.toLowerCase(),II[s]&&(a[s]=!0)}),n.trigger=Pe(a).join(" "),n.trigger==="blur"&&(n.trigger="focus"),n.trigger||(n.trigger=fce),n},RI=function(e,r,n){if(ft){var i=Tce(r,n);if(!e[yi]){var a=n.context;e[yi]=new nx({parent:a,_scopeId:rd(a,void 0)}),e[yi].__bv_prev_data__={},e[yi].$on(Nr,function(){be(i.title)&&e[yi].updateData({title:i.title(e)})})}var s={title:i.title,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,interactive:i.interactive,disabled:i.disabled,html:i.html},o=e[yi].__bv_prev_data__;if(e[yi].__bv_prev_data__=s,!Je(s,o)){var u={target:e};Pe(s).forEach(function(c){s[c]!==o[c]&&(u[c]=c==="title"&&be(s[c])?s[c](e):s[c])}),e[yi].updateData(u)}}},Ece=function(e){e[yi]&&(e[yi].$destroy(),e[yi]=null),delete e[yi]},xce={bind:function(e,r,n){RI(e,r,n)},componentUpdated:function(e,r,n){n.context.$nextTick(function(){RI(e,r,n)})},unbind:function(e){Ece(e)}},g5=pe({directives:{VBTooltip:xce}}),Pce=pe({components:{BTooltip:$6},plugins:{VBTooltipPlugin:g5}}),Cce=pe({plugins:{AlertPlugin:WJ,AspectPlugin:QJ,AvatarPlugin:jZ,BadgePlugin:VZ,BreadcrumbPlugin:qZ,ButtonPlugin:XZ,ButtonGroupPlugin:ZZ,ButtonToolbarPlugin:tQ,CalendarPlugin:hQ,CardPlugin:kQ,CarouselPlugin:WQ,CollapsePlugin:oj,DropdownPlugin:GE,EmbedPlugin:$te,FormPlugin:jte,FormCheckboxPlugin:qte,FormDatepickerPlugin:rre,FormFilePlugin:fre,FormGroupPlugin:wre,FormInputPlugin:Pre,FormRadioPlugin:Are,FormRatingPlugin:Rre,FormSelectPlugin:Kre,FormSpinbuttonPlugin:Zre,FormTagsPlugin:dne,FormTextareaPlugin:pne,FormTimepickerPlugin:Ane,ImagePlugin:Mne,InputGroupPlugin:Fne,JumbotronPlugin:Une,LayoutPlugin:qne,LinkPlugin:Xne,ListGroupPlugin:nie,MediaPlugin:cie,ModalPlugin:Qie,NavPlugin:S6,NavbarPlugin:Pae,OverlayPlugin:kae,PaginationPlugin:jae,PaginationNavPlugin:Gae,PopoverPlugin:Tse,ProgressPlugin:Cse,SidebarPlugin:Gse,SkeletonPlugin:Sue,SpinnerPlugin:Oue,TablePlugin:mue,TabsPlugin:kue,TimePlugin:Due,ToastPlugin:lce,TooltipPlugin:Pce}}),Ace=pe({directives:{VBHover:kj}}),Mce=pe({directives:{VBModal:b6}});function LI(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 NI(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?LI(Object(r),!0).forEach(function(n){$ce(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):LI(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function $ce(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BI(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Dce(t,e,r){return e&&BI(t.prototype,e),r&&BI(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var Ice="v-b-scrollspy",Rce="dropdown-item",Kw="active",Lce=".nav, .list-group",qw=".nav-link",Xw=".nav-item",FI=".list-group-item",Nce=".dropdown, .dropup",Bce=".dropdown-item",Fce=".dropdown-toggle",jce=Ht("BVScrollspy","activate"),Hce="offset",Jw="position",zce={element:"body",offset:10,method:"auto",throttle:75},Vce={element:"(string|element|component)",offset:"number",method:"string",throttle:"number"},jI=["webkitTransitionEnd","transitionend","otransitionend","oTransitionEnd"],Uce=function(e){return Tq(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()},Gce=function(e,r,n){for(var i in n)if(qu(n,i)){var a=n[i],s=r[i],o=s&&yt(s)?"element":Uce(s);o=s&&s._isVue?"component":o,new RegExp(a).test(o)||Tr("".concat(e,': Option "').concat(i,'" provided type "').concat(o,'" but expected type "').concat(a,'"'))}},v5=function(){function t(e,r,n){kce(this,t),this.$el=e,this.$scroller=null,this.$selector=[qw,FI,Bce].join(","),this.$offsets=[],this.$targets=[],this.$activeTarget=null,this.$scrollHeight=0,this.$resizeTimeout=null,this.$scrollerObserver=null,this.$targetsObserver=null,this.$root=n||null,this.$config=null,this.updateConfig(r)}return Dce(t,[{key:"updateConfig",value:function(r,n){this.$scroller&&(this.unlisten(),this.$scroller=null);var i=NI(NI({},this.constructor.Default),r);if(n&&(this.$root=n),Gce(this.constructor.Name,i,this.constructor.DefaultType),this.$config=i,this.$root){var a=this;this.$root.$nextTick(function(){a.listen()})}else this.listen()}},{key:"dispose",value:function(){this.unlisten(),clearTimeout(this.$resizeTimeout),this.$resizeTimeout=null,this.$el=null,this.$config=null,this.$scroller=null,this.$selector=null,this.$offsets=null,this.$targets=null,this.$activeTarget=null,this.$scrollHeight=null}},{key:"listen",value:function(){var r=this,n=this.getScroller();n&&n.tagName!=="BODY"&&Ot(n,"scroll",this,Ve),Ot(window,"scroll",this,Ve),Ot(window,"resize",this,Ve),Ot(window,"orientationchange",this,Ve),jI.forEach(function(i){Ot(window,i,r,Ve)}),this.setObservers(!0),this.handleEvent("refresh")}},{key:"unlisten",value:function(){var r=this,n=this.getScroller();this.setObservers(!1),n&&n.tagName!=="BODY"&&kt(n,"scroll",this,Ve),kt(window,"scroll",this,Ve),kt(window,"resize",this,Ve),kt(window,"orientationchange",this,Ve),jI.forEach(function(i){kt(window,i,r,Ve)})}},{key:"setObservers",value:function(r){var n=this;this.$scrollerObserver&&this.$scrollerObserver.disconnect(),this.$targetsObserver&&this.$targetsObserver.disconnect(),this.$scrollerObserver=null,this.$targetsObserver=null,r&&(this.$targetsObserver=qh(this.$el,function(){n.handleEvent("mutation")},{subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]}),this.$scrollerObserver=qh(this.getScroller(),function(){n.handleEvent("mutation")},{subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["id","style","class"]}))}},{key:"handleEvent",value:function(r){var n=Ge(r)?r:r.type,i=this,a=function(){i.$resizeTimeout||(i.$resizeTimeout=setTimeout(function(){i.refresh(),i.process(),i.$resizeTimeout=null},i.$config.throttle))};n==="scroll"?(this.$scrollerObserver||this.listen(),this.process()):/(resize|orientationchange|mutation|refresh)/.test(n)&&a()}},{key:"refresh",value:function(){var r=this,n=this.getScroller();if(n){var i=n!==n.window?Jw:Hce,a=this.$config.method==="auto"?i:this.$config.method,s=a===Jw?$J:xS,o=a===Jw?this.getScrollTop():0;return this.$offsets=[],this.$targets=[],this.$scrollHeight=this.getScrollHeight(),si(this.$selector,this.$el).map(function(u){return ii(u,"href")}).filter(function(u){return u&&RA.test(u||"")}).map(function(u){var c=u.replace(RA,"$1").trim();if(!c)return null;var l=ni(c,n);return l&&Vi(l)?{offset:oe(s(l).top,0)+o,target:c}:null}).filter(Te).sort(function(u,c){return u.offset-c.offset}).reduce(function(u,c){return u[c.target]||(r.$offsets.push(c.offset),r.$targets.push(c.target),u[c.target]=!0),u},{}),this}}},{key:"process",value:function(){var r=this.getScrollTop()+this.$config.offset,n=this.getScrollHeight(),i=this.$config.offset+n-this.getOffsetHeight();if(this.$scrollHeight!==n&&this.refresh(),r>=i){var a=this.$targets[this.$targets.length-1];this.$activeTarget!==a&&this.activate(a);return}if(this.$activeTarget&&r<this.$offsets[0]&&this.$offsets[0]>0){this.$activeTarget=null,this.clear();return}for(var s=this.$offsets.length;s--;){var o=this.$activeTarget!==this.$targets[s]&&r>=this.$offsets[s]&&(Jt(this.$offsets[s+1])||r<this.$offsets[s+1]);o&&this.activate(this.$targets[s])}}},{key:"getScroller",value:function(){if(this.$scroller)return this.$scroller;var r=this.$config.element;if(r)yt(r.$el)?r=r.$el:Ge(r)&&(r=ni(r));else return null;return r?(this.$scroller=r.tagName==="BODY"?window:r,this.$scroller):null}},{key:"getScrollTop",value:function(){var r=this.getScroller();return r===window?r.pageYOffset:r.scrollTop}},{key:"getScrollHeight",value:function(){return this.getScroller().scrollHeight||Ze(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"getOffsetHeight",value:function(){var r=this.getScroller();return r===window?window.innerHeight:Qu(r).height}},{key:"activate",value:function(r){var n=this;this.$activeTarget=r,this.clear();var i=si(this.$selector.split(",").map(function(a){return"".concat(a,'[href$="').concat(r,'"]')}).join(","),this.$el);i.forEach(function(a){if(Gh(a,Rce)){var s=kn(Nce,a);s&&n.setActiveState(ni(Fce,s),!0),n.setActiveState(a,!0)}else{n.setActiveState(a,!0),Ss(a.parentElement,Xw)&&n.setActiveState(a.parentElement,!0);for(var o=a;o;){o=kn(Lce,o);var u=o?o.previousElementSibling:null;u&&Ss(u,"".concat(qw,", ").concat(FI))&&n.setActiveState(u,!0),u&&Ss(u,Xw)&&(n.setActiveState(ni(qw,u),!0),n.setActiveState(u,!0))}}}),i&&i.length>0&&this.$root&&this.$root.$emit(jce,r,i)}},{key:"clear",value:function(){var r=this;si("".concat(this.$selector,", ").concat(Xw),this.$el).filter(function(n){return Gh(n,Kw)}).forEach(function(n){return r.setActiveState(n,!1)})}},{key:"setActiveState",value:function(r,n){r&&(n?cn(r,Kw):Yr(r,Kw))}}],[{key:"Name",get:function(){return Ice}},{key:"Default",get:function(){return zce}},{key:"DefaultType",get:function(){return Vce}}]),t}(),Tu="__BV_Scrollspy__",Wce=/^\d+$/,Yce=/^(auto|position|offset)$/,Kce=function(e){var r={};return e.arg&&(r.element="#".concat(e.arg)),Pe(e.modifiers).forEach(function(n){Wce.test(n)?r.offset=oe(n,0):Yce.test(n)&&(r.method=n)}),Ge(e.value)?r.element=e.value:ji(e.value)?r.offset=AS(e.value):qt(e.value)&&Pe(e.value).filter(function(n){return!!v5.DefaultType[n]}).forEach(function(n){r[n]=e.value[n]}),r},Hm=function(e,r,n){if(ft){var i=Kce(r);e[Tu]?e[Tu].updateConfig(i,n.context.$root):e[Tu]=new v5(e,i,n.context.$root)}},qce=function(e){e[Tu]&&(e[Tu].dispose(),e[Tu]=null,delete e[Tu])},Xce={bind:function(e,r,n){Hm(e,r,n)},inserted:function(e,r,n){Hm(e,r,n)},update:function(e,r,n){r.value!==r.oldValue&&Hm(e,r,n)},componentUpdated:function(e,r,n){r.value!==r.oldValue&&Hm(e,r,n)},unbind:function(e){qce(e)}},Jce=pe({directives:{VBScrollspy:Xce}}),Zce=pe({directives:{VBVisible:RE}}),Qce=pe({plugins:{VBHoverPlugin:Ace,VBModalPlugin:Mce,VBPopoverPlugin:D6,VBScrollspyPlugin:Jce,VBTogglePlugin:LE,VBTooltipPlugin:g5,VBVisiblePlugin:Zce}});/*!
* BootstrapVue 2.22.0
*
* @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 ele="BootstrapVue",tle=KN({plugins:{componentsPlugin:Cce,directivesPlugin:Qce}}),MNe={install:tle,NAME:ele},Oe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function li(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function rle(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 b5={exports:{}};(function(t){(function(){function e(h){var v={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:`Remove only spaces, ' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids`,type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (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: <div>foo</div>",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 `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` 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(h===!1)return JSON.parse(JSON.stringify(v));var g={};for(var T in v)v.hasOwnProperty(T)&&(g[T]=v[T].defaultValue);return g}function r(){var h=e(!0),v={};for(var g in h)h.hasOwnProperty(g)&&(v[g]=!0);return v}var n={},i={},a={},s=e(!0),o="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(h,v){return s[h]=v,this},n.getOption=function(h){return s[h]},n.getOptions=function(){return s},n.resetOptions=function(){s=e(!0)},n.setFlavor=function(h){if(!u.hasOwnProperty(h))throw Error(h+" flavor was not found");n.resetOptions();var v=u[h];o=h;for(var g in v)v.hasOwnProperty(g)&&(s[g]=v[g])},n.getFlavor=function(){return o},n.getFlavorOptions=function(h){if(u.hasOwnProperty(h))return u[h]},n.getDefaultOptions=function(h){return e(h)},n.subParser=function(h,v){if(n.helper.isString(h))if(typeof v<"u")i[h]=v;else{if(i.hasOwnProperty(h))return i[h];throw Error("SubParser named "+h+" not registered!")}},n.extension=function(h,v){if(!n.helper.isString(h))throw Error("Extension 'name' must be a string");if(h=n.helper.stdExtName(h),n.helper.isUndefined(v)){if(!a.hasOwnProperty(h))throw Error("Extension named "+h+" is not registered!");return a[h]}else{typeof v=="function"&&(v=v()),n.helper.isArray(v)||(v=[v]);var g=c(v,h);if(g.valid)a[h]=v;else throw Error(g.error)}},n.getAllExtensions=function(){return a},n.removeExtension=function(h){delete a[h]},n.resetExtensions=function(){a={}};function c(h,v){var g=v?"Error in "+v+" extension->":"Error in unnamed extension",T={valid:!0,error:""};n.helper.isArray(h)||(h=[h]);for(var P=0;P<h.length;++P){var k=g+" sub-extension "+P+": ",w=h[P];if(typeof w!="object")return T.valid=!1,T.error=k+"must be an object, but "+typeof w+" given",T;if(!n.helper.isString(w.type))return T.valid=!1,T.error=k+'property "type" must be a string, but '+typeof w.type+" given",T;var A=w.type=w.type.toLowerCase();if(A==="language"&&(A=w.type="lang"),A==="html"&&(A=w.type="output"),A!=="lang"&&A!=="output"&&A!=="listener")return T.valid=!1,T.error=k+"type "+A+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',T;if(A==="listener"){if(n.helper.isUndefined(w.listeners))return T.valid=!1,T.error=k+'. Extensions of type "listener" must have a property called "listeners"',T}else if(n.helper.isUndefined(w.filter)&&n.helper.isUndefined(w.regex))return T.valid=!1,T.error=k+A+' extensions must define either a "regex" property or a "filter" method',T;if(w.listeners){if(typeof w.listeners!="object")return T.valid=!1,T.error=k+'"listeners" property must be an object but '+typeof w.listeners+" given",T;for(var C in w.listeners)if(w.listeners.hasOwnProperty(C)&&typeof w.listeners[C]!="function")return T.valid=!1,T.error=k+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+C+" must be a function but "+typeof w.listeners[C]+" given",T}if(w.filter){if(typeof w.filter!="function")return T.valid=!1,T.error=k+'"filter" must be a function, but '+typeof w.filter+" given",T}else if(w.regex){if(n.helper.isString(w.regex)&&(w.regex=new RegExp(w.regex,"g")),!(w.regex instanceof RegExp))return T.valid=!1,T.error=k+'"regex" property must either be a string or a RegExp object, but '+typeof w.regex+" given",T;if(n.helper.isUndefined(w.replace))return T.valid=!1,T.error=k+'"regex" extensions must implement a replace string or function',T}}return T}n.validateExtension=function(h){var v=c(h,null);return v.valid?!0:(console.warn(v.error),!1)},n.hasOwnProperty("helper")||(n.helper={}),n.helper.isString=function(h){return typeof h=="string"||h instanceof String},n.helper.isFunction=function(h){var v={};return h&&v.toString.call(h)==="[object Function]"},n.helper.isArray=function(h){return Array.isArray(h)},n.helper.isUndefined=function(h){return typeof h>"u"},n.helper.forEach=function(h,v){if(n.helper.isUndefined(h))throw new Error("obj param is required");if(n.helper.isUndefined(v))throw new Error("callback param is required");if(!n.helper.isFunction(v))throw new Error("callback param must be a function/closure");if(typeof h.forEach=="function")h.forEach(v);else if(n.helper.isArray(h))for(var g=0;g<h.length;g++)v(h[g],g,h);else if(typeof h=="object")for(var T in h)h.hasOwnProperty(T)&&v(h[T],T,h);else throw new Error("obj does not seem to be an array or an iterable object")},n.helper.stdExtName=function(h){return h.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()};function l(h,v){var g=v.charCodeAt(0);return"¨E"+g+"E"}n.helper.escapeCharactersCallback=l,n.helper.escapeCharacters=function(h,v,g){var T="(["+v.replace(/([\[\]\\])/g,"\\$1")+"])";g&&(T="\\\\"+T);var P=new RegExp(T,"g");return h=h.replace(P,l),h},n.helper.unescapeHTMLEntities=function(h){return h.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var d=function(h,v,g,T){var P=T||"",k=P.indexOf("g")>-1,w=new RegExp(v+"|"+g,"g"+P.replace(/g/g,"")),A=new RegExp(v,P.replace(/g/g,"")),C=[],E,$,D,M,L;do for(E=0;D=w.exec(h);)if(A.test(D[0]))E++||($=w.lastIndex,M=$-D[0].length);else if(E&&!--E){L=D.index+D[0].length;var N={left:{start:M,end:$},match:{start:$,end:D.index},right:{start:D.index,end:L},wholeMatch:{start:M,end:L}};if(C.push(N),!k)return C}while(E&&(w.lastIndex=$));return C};n.helper.matchRecursiveRegExp=function(h,v,g,T){for(var P=d(h,v,g,T),k=[],w=0;w<P.length;++w)k.push([h.slice(P[w].wholeMatch.start,P[w].wholeMatch.end),h.slice(P[w].match.start,P[w].match.end),h.slice(P[w].left.start,P[w].left.end),h.slice(P[w].right.start,P[w].right.end)]);return k},n.helper.replaceRecursiveRegExp=function(h,v,g,T,P){if(!n.helper.isFunction(v)){var k=v;v=function(){return k}}var w=d(h,g,T,P),A=h,C=w.length;if(C>0){var E=[];w[0].wholeMatch.start!==0&&E.push(h.slice(0,w[0].wholeMatch.start));for(var $=0;$<C;++$)E.push(v(h.slice(w[$].wholeMatch.start,w[$].wholeMatch.end),h.slice(w[$].match.start,w[$].match.end),h.slice(w[$].left.start,w[$].left.end),h.slice(w[$].right.start,w[$].right.end))),$<C-1&&E.push(h.slice(w[$].wholeMatch.end,w[$+1].wholeMatch.start));w[C-1].wholeMatch.end<h.length&&E.push(h.slice(w[C-1].wholeMatch.end)),A=E.join("")}return A},n.helper.regexIndexOf=function(h,v,g){if(!n.helper.isString(h))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(!(v instanceof RegExp))throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var T=h.substring(g||0).search(v);return T>=0?T+(g||0):T},n.helper.splitAtIndex=function(h,v){if(!n.helper.isString(h))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[h.substring(0,v),h.substring(v)]},n.helper.encodeEmailAddress=function(h){var v=[function(g){return"&#"+g.charCodeAt(0)+";"},function(g){return"&#x"+g.charCodeAt(0).toString(16)+";"},function(g){return g}];return h=h.replace(/./g,function(g){if(g==="@")g=v[Math.floor(Math.random()*2)](g);else{var T=Math.random();g=T>.9?v[2](g):T>.45?v[1](g):v[0](g)}return g}),h},n.helper.padEnd=function(v,g,T){return g=g>>0,T=String(T||" "),v.length>g?String(v):(g=g-v.length,g>T.length&&(T+=T.repeat(g/T.length)),String(v)+T.slice(0,g))},typeof console>"u"&&(console={warn:function(h){alert(h)},log:function(h){alert(h)},error:function(h){throw h}}),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:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",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:"👱&zwj;♀️",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:"🙇&zwj;♀️",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:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",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:"👯&zwj;♂️",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:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",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:"🙍&zwj;♂️",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:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",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:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",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:"🚵&zwj;♀️",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:"🙅&zwj;♂️",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:"🙆&zwj;♂️",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:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",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:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",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:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",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:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",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:"💁&zwj;♂️",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:"🚶&zwj;♀️",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:"🏋️&zwj;♀️",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:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:`<span style="font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;">S</span>`},n.Converter=function(h){var v={},g=[],T=[],P={},k=o,w={parsed:{},raw:"",format:""};A();function A(){h=h||{};for(var M in s)s.hasOwnProperty(M)&&(v[M]=s[M]);if(typeof h=="object")for(var L in h)h.hasOwnProperty(L)&&(v[L]=h[L]);else throw Error("Converter expects the passed parameter to be an object, but "+typeof h+" was passed instead.");v.extensions&&n.helper.forEach(v.extensions,C)}function C(M,L){if(L=L||null,n.helper.isString(M))if(M=n.helper.stdExtName(M),L=M,n.extensions[M]){console.warn("DEPRECATION WARNING: "+M+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),E(n.extensions[M],M);return}else if(!n.helper.isUndefined(a[M]))M=a[M];else throw Error('Extension "'+M+'" could not be loaded. It was either not found or is not a valid extension.');typeof M=="function"&&(M=M()),n.helper.isArray(M)||(M=[M]);var N=c(M,L);if(!N.valid)throw Error(N.error);for(var j=0;j<M.length;++j){switch(M[j].type){case"lang":g.push(M[j]);break;case"output":T.push(M[j]);break}if(M[j].hasOwnProperty("listeners"))for(var z in M[j].listeners)M[j].listeners.hasOwnProperty(z)&&$(z,M[j].listeners[z])}}function E(M,L){typeof M=="function"&&(M=M(new n.Converter)),n.helper.isArray(M)||(M=[M]);var N=c(M,L);if(!N.valid)throw Error(N.error);for(var j=0;j<M.length;++j)switch(M[j].type){case"lang":g.push(M[j]);break;case"output":T.push(M[j]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}function $(M,L){if(!n.helper.isString(M))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof M+" given");if(typeof L!="function")throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof L+" given");P.hasOwnProperty(M)||(P[M]=[]),P[M].push(L)}function D(M){var L=M.match(/^\s*/)[0].length,N=new RegExp("^\\s{0,"+L+"}","gm");return M.replace(N,"")}this._dispatch=function(L,N,j,z){if(P.hasOwnProperty(L))for(var U=0;U<P[L].length;++U){var J=P[L][U](L,N,this,j,z);J&&typeof J<"u"&&(N=J)}return N},this.listen=function(M,L){return $(M,L),this},this.makeHtml=function(M){if(!M)return M;var L={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:g,outputModifiers:T,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return M=M.replace(/¨/g,"¨T"),M=M.replace(/\$/g,"¨D"),M=M.replace(/\r\n/g,`
`),M=M.replace(/\r/g,`
`),M=M.replace(/\u00A0/g,"&nbsp;"),v.smartIndentationFix&&(M=D(M)),M=`
`+M+`
`,M=n.subParser("detab")(M,v,L),M=M.replace(/^[ \t]+$/mg,""),n.helper.forEach(g,function(N){M=n.subParser("runExtension")(N,M,v,L)}),M=n.subParser("metadata")(M,v,L),M=n.subParser("hashPreCodeTags")(M,v,L),M=n.subParser("githubCodeBlocks")(M,v,L),M=n.subParser("hashHTMLBlocks")(M,v,L),M=n.subParser("hashCodeTags")(M,v,L),M=n.subParser("stripLinkDefinitions")(M,v,L),M=n.subParser("blockGamut")(M,v,L),M=n.subParser("unhashHTMLSpans")(M,v,L),M=n.subParser("unescapeSpecialChars")(M,v,L),M=M.replace(/¨D/g,"$$"),M=M.replace(/¨T/g,"¨"),M=n.subParser("completeHTMLDocument")(M,v,L),n.helper.forEach(T,function(N){M=n.subParser("runExtension")(N,M,v,L)}),w=L.metadata,M},this.makeMarkdown=this.makeMd=function(M,L){if(M=M.replace(/\r\n/g,`
`),M=M.replace(/\r/g,`
`),M=M.replace(/>[ \t]+</,">¨NBSP;<"),!L)if(window&&window.document)L=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 N=L.createElement("div");N.innerHTML=M;var j={preList:Y(N)};re(N);for(var z=N.childNodes,U="",J=0;J<z.length;J++)U+=n.subParser("makeMarkdown.node")(z[J],j);function re(G){for(var K=0;K<G.childNodes.length;++K){var X=G.childNodes[K];X.nodeType===3?/\S/.test(X.nodeValue)?(X.nodeValue=X.nodeValue.split(`
`).join(" "),X.nodeValue=X.nodeValue.replace(/(\s)+/g,"$1")):(G.removeChild(X),--K):X.nodeType===1&&re(X)}}function Y(G){for(var K=G.querySelectorAll("pre"),X=[],se=0;se<K.length;++se)if(K[se].childElementCount===1&&K[se].firstChild.tagName.toLowerCase()==="code"){var Ae=K[se].firstChild.innerHTML.trim(),Ye=K[se].firstChild.getAttribute("data-language")||"";if(Ye==="")for(var bt=K[se].firstChild.className.split(" "),ir=0;ir<bt.length;++ir){var Hr=bt[ir].match(/^language-(.+)$/);if(Hr!==null){Ye=Hr[1];break}}Ae=n.helper.unescapeHTMLEntities(Ae),X.push(Ae),K[se].outerHTML='<precode language="'+Ye+'" precodenum="'+se.toString()+'"></precode>'}else X.push(K[se].innerHTML),K[se].innerHTML="",K[se].setAttribute("prenum",se.toString());return X}return U},this.setOption=function(M,L){v[M]=L},this.getOption=function(M){return v[M]},this.getOptions=function(){return v},this.addExtension=function(M,L){L=L||null,C(M,L)},this.useExtension=function(M){C(M)},this.setFlavor=function(M){if(!u.hasOwnProperty(M))throw Error(M+" flavor was not found");var L=u[M];k=M;for(var N in L)L.hasOwnProperty(N)&&(v[N]=L[N])},this.getFlavor=function(){return k},this.removeExtension=function(M){n.helper.isArray(M)||(M=[M]);for(var L=0;L<M.length;++L){for(var N=M[L],j=0;j<g.length;++j)g[j]===N&&g[j].splice(j,1);for(var z=0;z<T.length;++j)T[z]===N&&T[z].splice(j,1)}},this.getAllExtensions=function(){return{language:g,output:T}},this.getMetadata=function(M){return M?w.raw:w.parsed},this.getMetadataFormat=function(){return w.format},this._setMetadataPair=function(M,L){w.parsed[M]=L},this._setMetadataFormat=function(M){w.format=M},this._setMetadataRaw=function(M){w.raw=M}},n.subParser("anchors",function(h,v,g){h=g.converter._dispatch("anchors.before",h,v,g);var T=function(P,k,w,A,C,E,$){if(n.helper.isUndefined($)&&($=""),w=w.toLowerCase(),P.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)A="";else if(!A)if(w||(w=k.toLowerCase().replace(/ ?\n/g," ")),A="#"+w,!n.helper.isUndefined(g.gUrls[w]))A=g.gUrls[w],n.helper.isUndefined(g.gTitles[w])||($=g.gTitles[w]);else return P;A=A.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var D='<a href="'+A+'"';return $!==""&&$!==null&&($=$.replace(/"/g,"&quot;"),$=$.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),D+=' title="'+$+'"'),v.openLinksInNewWindow&&!/^#/.test(A)&&(D+=' rel="noopener noreferrer" target="¨E95Eblank"'),D+=">"+k+"</a>",D};return h=h.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,T),h=h.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,T),h=h.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,T),h=h.replace(/\[([^\[\]]+)]()()()()()/g,T),v.ghMentions&&(h=h.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi,function(P,k,w,A,C){if(w==="\\")return k+A;if(!n.helper.isString(v.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var E=v.ghMentionsLink.replace(/\{u}/g,C),$="";return v.openLinksInNewWindow&&($=' rel="noopener noreferrer" target="¨E95Eblank"'),k+'<a href="'+E+'"'+$+">"+A+"</a>"})),h=g.converter._dispatch("anchors.after",h,v,g),h});var f=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,m=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,b=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,S=function(h){return function(v,g,T,P,k,w,A){T=T.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var C=T,E="",$="",D=g||"",M=A||"";return/^www\./i.test(T)&&(T=T.replace(/^www\./i,"http://www.")),h.excludeTrailingPunctuationFromURLs&&w&&(E=w),h.openLinksInNewWindow&&($=' rel="noopener noreferrer" target="¨E95Eblank"'),D+'<a href="'+T+'"'+$+">"+C+"</a>"+E+M}},x=function(h,v){return function(g,T,P){var k="mailto:";return T=T||"",P=n.subParser("unescapeSpecialChars")(P,h,v),h.encodeEmails?(k=n.helper.encodeEmailAddress(k+P),P=n.helper.encodeEmailAddress(P)):k=k+P,T+'<a href="'+k+'">'+P+"</a>"}};n.subParser("autoLinks",function(h,v,g){return h=g.converter._dispatch("autoLinks.before",h,v,g),h=h.replace(m,S(v)),h=h.replace(_,x(v,g)),h=g.converter._dispatch("autoLinks.after",h,v,g),h}),n.subParser("simplifiedAutoLinks",function(h,v,g){return v.simplifiedAutoLink&&(h=g.converter._dispatch("simplifiedAutoLinks.before",h,v,g),v.excludeTrailingPunctuationFromURLs?h=h.replace(p,S(v)):h=h.replace(f,S(v)),h=h.replace(b,x(v,g)),h=g.converter._dispatch("simplifiedAutoLinks.after",h,v,g)),h}),n.subParser("blockGamut",function(h,v,g){return h=g.converter._dispatch("blockGamut.before",h,v,g),h=n.subParser("blockQuotes")(h,v,g),h=n.subParser("headers")(h,v,g),h=n.subParser("horizontalRule")(h,v,g),h=n.subParser("lists")(h,v,g),h=n.subParser("codeBlocks")(h,v,g),h=n.subParser("tables")(h,v,g),h=n.subParser("hashHTMLBlocks")(h,v,g),h=n.subParser("paragraphs")(h,v,g),h=g.converter._dispatch("blockGamut.after",h,v,g),h}),n.subParser("blockQuotes",function(h,v,g){h=g.converter._dispatch("blockQuotes.before",h,v,g),h=h+`
`;var T=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return v.splitAdjacentBlockquotes&&(T=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),h=h.replace(T,function(P){return P=P.replace(/^[ \t]*>[ \t]?/gm,""),P=P.replace(/¨0/g,""),P=P.replace(/^[ \t]+$/gm,""),P=n.subParser("githubCodeBlocks")(P,v,g),P=n.subParser("blockGamut")(P,v,g),P=P.replace(/(^|\n)/g,"$1 "),P=P.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(k,w){var A=w;return A=A.replace(/^ /mg,"¨0"),A=A.replace(/¨0/g,""),A}),n.subParser("hashBlock")(`<blockquote>
`+P+`
</blockquote>`,v,g)}),h=g.converter._dispatch("blockQuotes.after",h,v,g),h}),n.subParser("codeBlocks",function(h,v,g){h=g.converter._dispatch("codeBlocks.before",h,v,g),h+="¨0";var T=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return h=h.replace(T,function(P,k,w){var A=k,C=w,E=`
`;return A=n.subParser("outdent")(A,v,g),A=n.subParser("encodeCode")(A,v,g),A=n.subParser("detab")(A,v,g),A=A.replace(/^\n+/g,""),A=A.replace(/\n+$/g,""),v.omitExtraWLInCodeBlocks&&(E=""),A="<pre><code>"+A+E+"</code></pre>",n.subParser("hashBlock")(A,v,g)+C}),h=h.replace(/¨0/,""),h=g.converter._dispatch("codeBlocks.after",h,v,g),h}),n.subParser("codeSpans",function(h,v,g){return h=g.converter._dispatch("codeSpans.before",h,v,g),typeof h>"u"&&(h=""),h=h.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(T,P,k,w){var A=w;return A=A.replace(/^([ \t]*)/g,""),A=A.replace(/[ \t]*$/g,""),A=n.subParser("encodeCode")(A,v,g),A=P+"<code>"+A+"</code>",A=n.subParser("hashHTMLSpans")(A,v,g),A}),h=g.converter._dispatch("codeSpans.after",h,v,g),h}),n.subParser("completeHTMLDocument",function(h,v,g){if(!v.completeHTMLDocument)return h;h=g.converter._dispatch("completeHTMLDocument.before",h,v,g);var T="html",P=`<!DOCTYPE HTML>
`,k="",w=`<meta charset="utf-8">
`,A="",C="";typeof g.metadata.parsed.doctype<"u"&&(P="<!DOCTYPE "+g.metadata.parsed.doctype+`>
`,T=g.metadata.parsed.doctype.toString().toLowerCase(),(T==="html"||T==="html5")&&(w='<meta charset="utf-8">'));for(var E in g.metadata.parsed)if(g.metadata.parsed.hasOwnProperty(E))switch(E.toLowerCase()){case"doctype":break;case"title":k="<title>"+g.metadata.parsed.title+`</title>
`;break;case"charset":T==="html"||T==="html5"?w='<meta charset="'+g.metadata.parsed.charset+`">
`:w='<meta name="charset" content="'+g.metadata.parsed.charset+`">
`;break;case"language":case"lang":A=' lang="'+g.metadata.parsed[E]+'"',C+='<meta name="'+E+'" content="'+g.metadata.parsed[E]+`">
`;break;default:C+='<meta name="'+E+'" content="'+g.metadata.parsed[E]+`">
`}return h=P+"<html"+A+`>
<head>
`+k+w+C+`</head>
<body>
`+h.trim()+`
</body>
</html>`,h=g.converter._dispatch("completeHTMLDocument.after",h,v,g),h}),n.subParser("detab",function(h,v,g){return h=g.converter._dispatch("detab.before",h,v,g),h=h.replace(/\t(?=\t)/g," "),h=h.replace(/\t/g,"¨A¨B"),h=h.replace(/¨B(.+?)¨A/g,function(T,P){for(var k=P,w=4-k.length%4,A=0;A<w;A++)k+=" ";return k}),h=h.replace(/¨A/g," "),h=h.replace(/¨B/g,""),h=g.converter._dispatch("detab.after",h,v,g),h}),n.subParser("ellipsis",function(h,v,g){return h=g.converter._dispatch("ellipsis.before",h,v,g),h=h.replace(/\.\.\./g,"…"),h=g.converter._dispatch("ellipsis.after",h,v,g),h}),n.subParser("emoji",function(h,v,g){if(!v.emoji)return h;h=g.converter._dispatch("emoji.before",h,v,g);var T=/:([\S]+?):/g;return h=h.replace(T,function(P,k){return n.helper.emojis.hasOwnProperty(k)?n.helper.emojis[k]:P}),h=g.converter._dispatch("emoji.after",h,v,g),h}),n.subParser("encodeAmpsAndAngles",function(h,v,g){return h=g.converter._dispatch("encodeAmpsAndAngles.before",h,v,g),h=h.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;"),h=h.replace(/<(?![a-z\/?$!])/gi,"&lt;"),h=h.replace(/</g,"&lt;"),h=h.replace(/>/g,"&gt;"),h=g.converter._dispatch("encodeAmpsAndAngles.after",h,v,g),h}),n.subParser("encodeBackslashEscapes",function(h,v,g){return h=g.converter._dispatch("encodeBackslashEscapes.before",h,v,g),h=h.replace(/\\(\\)/g,n.helper.escapeCharactersCallback),h=h.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,n.helper.escapeCharactersCallback),h=g.converter._dispatch("encodeBackslashEscapes.after",h,v,g),h}),n.subParser("encodeCode",function(h,v,g){return h=g.converter._dispatch("encodeCode.before",h,v,g),h=h.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,n.helper.escapeCharactersCallback),h=g.converter._dispatch("encodeCode.after",h,v,g),h}),n.subParser("escapeSpecialCharsWithinTagAttributes",function(h,v,g){h=g.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",h,v,g);var T=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,P=/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return h=h.replace(T,function(k){return k.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),h=h.replace(P,function(k){return k.replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),h=g.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",h,v,g),h}),n.subParser("githubCodeBlocks",function(h,v,g){return v.ghCodeBlocks?(h=g.converter._dispatch("githubCodeBlocks.before",h,v,g),h+="¨0",h=h.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(T,P,k,w){var A=v.omitExtraWLInCodeBlocks?"":`
`;return w=n.subParser("encodeCode")(w,v,g),w=n.subParser("detab")(w,v,g),w=w.replace(/^\n+/g,""),w=w.replace(/\n+$/g,""),w="<pre><code"+(k?' class="'+k+" language-"+k+'"':"")+">"+w+A+"</code></pre>",w=n.subParser("hashBlock")(w,v,g),`
¨G`+(g.ghCodeBlocks.push({text:T,codeblock:w})-1)+`G
`}),h=h.replace(/¨0/,""),g.converter._dispatch("githubCodeBlocks.after",h,v,g)):h}),n.subParser("hashBlock",function(h,v,g){return h=g.converter._dispatch("hashBlock.before",h,v,g),h=h.replace(/(^\n+|\n+$)/g,""),h=`
¨K`+(g.gHtmlBlocks.push(h)-1)+`K
`,h=g.converter._dispatch("hashBlock.after",h,v,g),h}),n.subParser("hashCodeTags",function(h,v,g){h=g.converter._dispatch("hashCodeTags.before",h,v,g);var T=function(P,k,w,A){var C=w+n.subParser("encodeCode")(k,v,g)+A;return"¨C"+(g.gHtmlSpans.push(C)-1)+"C"};return h=n.helper.replaceRecursiveRegExp(h,T,"<code\\b[^>]*>","</code>","gim"),h=g.converter._dispatch("hashCodeTags.after",h,v,g),h}),n.subParser("hashElement",function(h,v,g){return function(T,P){var k=P;return k=k.replace(/\n\n/g,`
`),k=k.replace(/^\n/,""),k=k.replace(/\n+$/g,""),k=`
¨K`+(g.gHtmlBlocks.push(k)-1)+`K
`,k}}),n.subParser("hashHTMLBlocks",function(h,v,g){h=g.converter._dispatch("hashHTMLBlocks.before",h,v,g);var T=["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"],P=function(M,L,N,j){var z=M;return N.search(/\bmarkdown\b/)!==-1&&(z=N+g.converter.makeHtml(L)+j),`
¨K`+(g.gHtmlBlocks.push(z)-1)+`K
`};v.backslashEscapesHTMLTags&&(h=h.replace(/\\<(\/?[^>]+?)>/g,function(M,L){return"&lt;"+L+"&gt;"}));for(var k=0;k<T.length;++k)for(var w,A=new RegExp("^ {0,3}(<"+T[k]+"\\b[^>]*>)","im"),C="<"+T[k]+"\\b[^>]*>",E="</"+T[k]+">";(w=n.helper.regexIndexOf(h,A))!==-1;){var $=n.helper.splitAtIndex(h,w),D=n.helper.replaceRecursiveRegExp($[1],P,C,E,"im");if(D===$[1])break;h=$[0].concat(D)}return h=h.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(h,v,g)),h=n.helper.replaceRecursiveRegExp(h,function(M){return`
¨K`+(g.gHtmlBlocks.push(M)-1)+`K
`},"^ {0,3}<!--","-->","gm"),h=h.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(h,v,g)),h=g.converter._dispatch("hashHTMLBlocks.after",h,v,g),h}),n.subParser("hashHTMLSpans",function(h,v,g){h=g.converter._dispatch("hashHTMLSpans.before",h,v,g);function T(P){return"¨C"+(g.gHtmlSpans.push(P)-1)+"C"}return h=h.replace(/<[^>]+?\/>/gi,function(P){return T(P)}),h=h.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(P){return T(P)}),h=h.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(P){return T(P)}),h=h.replace(/<[^>]+?>/gi,function(P){return T(P)}),h=g.converter._dispatch("hashHTMLSpans.after",h,v,g),h}),n.subParser("unhashHTMLSpans",function(h,v,g){h=g.converter._dispatch("unhashHTMLSpans.before",h,v,g);for(var T=0;T<g.gHtmlSpans.length;++T){for(var P=g.gHtmlSpans[T],k=0;/¨C(\d+)C/.test(P);){var w=RegExp.$1;if(P=P.replace("¨C"+w+"C",g.gHtmlSpans[w]),k===10){console.error("maximum nesting of 10 spans reached!!!");break}++k}h=h.replace("¨C"+T+"C",P)}return h=g.converter._dispatch("unhashHTMLSpans.after",h,v,g),h}),n.subParser("hashPreCodeTags",function(h,v,g){h=g.converter._dispatch("hashPreCodeTags.before",h,v,g);var T=function(P,k,w,A){var C=w+n.subParser("encodeCode")(k,v,g)+A;return`
¨G`+(g.ghCodeBlocks.push({text:P,codeblock:C})-1)+`G
`};return h=n.helper.replaceRecursiveRegExp(h,T,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),h=g.converter._dispatch("hashPreCodeTags.after",h,v,g),h}),n.subParser("headers",function(h,v,g){h=g.converter._dispatch("headers.before",h,v,g);var T=isNaN(parseInt(v.headerLevelStart))?1:parseInt(v.headerLevelStart),P=v.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,k=v.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;h=h.replace(P,function(C,E){var $=n.subParser("spanGamut")(E,v,g),D=v.noHeaderId?"":' id="'+A(E)+'"',M=T,L="<h"+M+D+">"+$+"</h"+M+">";return n.subParser("hashBlock")(L,v,g)}),h=h.replace(k,function(C,E){var $=n.subParser("spanGamut")(E,v,g),D=v.noHeaderId?"":' id="'+A(E)+'"',M=T+1,L="<h"+M+D+">"+$+"</h"+M+">";return n.subParser("hashBlock")(L,v,g)});var w=v.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;h=h.replace(w,function(C,E,$){var D=$;v.customizedHeaderId&&(D=$.replace(/\s?\{([^{]+?)}\s*$/,""));var M=n.subParser("spanGamut")(D,v,g),L=v.noHeaderId?"":' id="'+A($)+'"',N=T-1+E.length,j="<h"+N+L+">"+M+"</h"+N+">";return n.subParser("hashBlock")(j,v,g)});function A(C){var E,$;if(v.customizedHeaderId){var D=C.match(/\{([^{]+?)}\s*$/);D&&D[1]&&(C=D[1])}return E=C,n.helper.isString(v.prefixHeaderId)?$=v.prefixHeaderId:v.prefixHeaderId===!0?$="section-":$="",v.rawPrefixHeaderId||(E=$+E),v.ghCompatibleHeaderId?E=E.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():v.rawHeaderId?E=E.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():E=E.replace(/[^\w]/g,"").toLowerCase(),v.rawPrefixHeaderId&&(E=$+E),g.hashLinkCounts[E]?E=E+"-"+g.hashLinkCounts[E]++:g.hashLinkCounts[E]=1,E}return h=g.converter._dispatch("headers.after",h,v,g),h}),n.subParser("horizontalRule",function(h,v,g){h=g.converter._dispatch("horizontalRule.before",h,v,g);var T=n.subParser("hashBlock")("<hr />",v,g);return h=h.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,T),h=h.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,T),h=h.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,T),h=g.converter._dispatch("horizontalRule.after",h,v,g),h}),n.subParser("images",function(h,v,g){h=g.converter._dispatch("images.before",h,v,g);var T=/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,P=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,k=/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,w=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,A=/!\[([^\[\]]+)]()()()()()/g;function C($,D,M,L,N,j,z,U){return L=L.replace(/\s/g,""),E($,D,M,L,N,j,z,U)}function E($,D,M,L,N,j,z,U){var J=g.gUrls,re=g.gTitles,Y=g.gDimensions;if(M=M.toLowerCase(),U||(U=""),$.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)L="";else if(L===""||L===null)if((M===""||M===null)&&(M=D.toLowerCase().replace(/ ?\n/g," ")),L="#"+M,!n.helper.isUndefined(J[M]))L=J[M],n.helper.isUndefined(re[M])||(U=re[M]),n.helper.isUndefined(Y[M])||(N=Y[M].width,j=Y[M].height);else return $;D=D.replace(/"/g,"&quot;").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),L=L.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var G='<img src="'+L+'" alt="'+D+'"';return U&&n.helper.isString(U)&&(U=U.replace(/"/g,"&quot;").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),G+=' title="'+U+'"'),N&&j&&(N=N==="*"?"auto":N,j=j==="*"?"auto":j,G+=' width="'+N+'"',G+=' height="'+j+'"'),G+=" />",G}return h=h.replace(w,E),h=h.replace(k,C),h=h.replace(P,E),h=h.replace(T,E),h=h.replace(A,E),h=g.converter._dispatch("images.after",h,v,g),h}),n.subParser("italicsAndBold",function(h,v,g){h=g.converter._dispatch("italicsAndBold.before",h,v,g);function T(P,k,w){return k+P+w}return v.literalMidWordUnderscores?(h=h.replace(/\b___(\S[\s\S]*?)___\b/g,function(P,k){return T(k,"<strong><em>","</em></strong>")}),h=h.replace(/\b__(\S[\s\S]*?)__\b/g,function(P,k){return T(k,"<strong>","</strong>")}),h=h.replace(/\b_(\S[\s\S]*?)_\b/g,function(P,k){return T(k,"<em>","</em>")})):(h=h.replace(/___(\S[\s\S]*?)___/g,function(P,k){return/\S$/.test(k)?T(k,"<strong><em>","</em></strong>"):P}),h=h.replace(/__(\S[\s\S]*?)__/g,function(P,k){return/\S$/.test(k)?T(k,"<strong>","</strong>"):P}),h=h.replace(/_([^\s_][\s\S]*?)_/g,function(P,k){return/\S$/.test(k)?T(k,"<em>","</em>"):P})),v.literalMidWordAsterisks?(h=h.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(P,k,w){return T(w,k+"<strong><em>","</em></strong>")}),h=h.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(P,k,w){return T(w,k+"<strong>","</strong>")}),h=h.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(P,k,w){return T(w,k+"<em>","</em>")})):(h=h.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(P,k){return/\S$/.test(k)?T(k,"<strong><em>","</em></strong>"):P}),h=h.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(P,k){return/\S$/.test(k)?T(k,"<strong>","</strong>"):P}),h=h.replace(/\*([^\s*][\s\S]*?)\*/g,function(P,k){return/\S$/.test(k)?T(k,"<em>","</em>"):P})),h=g.converter._dispatch("italicsAndBold.after",h,v,g),h}),n.subParser("lists",function(h,v,g){function T(w,A){g.gListLevel++,w=w.replace(/\n{2,}$/,`
`),w+="¨0";var C=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,E=/\n[ \t]*\n(?!¨0)/.test(w);return v.disableForced4SpacesIndentedSublists&&(C=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),w=w.replace(C,function($,D,M,L,N,j,z){z=z&&z.trim()!=="";var U=n.subParser("outdent")(N,v,g),J="";return j&&v.tasklists&&(J=' class="task-list-item" style="list-style-type: none;"',U=U.replace(/^[ \t]*\[(x|X| )?]/m,function(){var re='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return z&&(re+=" checked"),re+=">",re})),U=U.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(re){return"¨A"+re}),D||U.search(/\n{2,}/)>-1?(U=n.subParser("githubCodeBlocks")(U,v,g),U=n.subParser("blockGamut")(U,v,g)):(U=n.subParser("lists")(U,v,g),U=U.replace(/\n$/,""),U=n.subParser("hashHTMLBlocks")(U,v,g),U=U.replace(/\n\n+/g,`
`),E?U=n.subParser("paragraphs")(U,v,g):U=n.subParser("spanGamut")(U,v,g)),U=U.replace("¨A",""),U="<li"+J+">"+U+`</li>
`,U}),w=w.replace(/¨0/g,""),g.gListLevel--,A&&(w=w.replace(/\s+$/,"")),w}function P(w,A){if(A==="ol"){var C=w.match(/^ *(\d+)\./);if(C&&C[1]!=="1")return' start="'+C[1]+'"'}return""}function k(w,A,C){var E=v.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,$=v.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,D=A==="ul"?E:$,M="";if(w.search(D)!==-1)(function N(j){var z=j.search(D),U=P(w,A);z!==-1?(M+=`
<`+A+U+`>
`+T(j.slice(0,z),!!C)+"</"+A+`>
`,A=A==="ul"?"ol":"ul",D=A==="ul"?E:$,N(j.slice(z))):M+=`
<`+A+U+`>
`+T(j,!!C)+"</"+A+`>
`})(w);else{var L=P(w,A);M=`
<`+A+L+`>
`+T(w,!!C)+"</"+A+`>
`}return M}return h=g.converter._dispatch("lists.before",h,v,g),h+="¨0",g.gListLevel?h=h.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(w,A,C){var E=C.search(/[*+-]/g)>-1?"ul":"ol";return k(A,E,!0)}):h=h.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(w,A,C,E){var $=E.search(/[*+-]/g)>-1?"ul":"ol";return k(C,$,!1)}),h=h.replace(/¨0/,""),h=g.converter._dispatch("lists.after",h,v,g),h}),n.subParser("metadata",function(h,v,g){if(!v.metadata)return h;h=g.converter._dispatch("metadata.before",h,v,g);function T(P){g.metadata.raw=P,P=P.replace(/&/g,"&amp;").replace(/"/g,"&quot;"),P=P.replace(/\n {4}/g," "),P.replace(/^([\S ]+): +([\s\S]+?)$/gm,function(k,w,A){return g.metadata.parsed[w]=A,""})}return h=h.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(P,k,w){return T(w),"¨M"}),h=h.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(P,k,w){return k&&(g.metadata.format=k),T(w),"¨M"}),h=h.replace(/¨M/g,""),h=g.converter._dispatch("metadata.after",h,v,g),h}),n.subParser("outdent",function(h,v,g){return h=g.converter._dispatch("outdent.before",h,v,g),h=h.replace(/^(\t|[ ]{1,4})/gm,"¨0"),h=h.replace(/¨0/g,""),h=g.converter._dispatch("outdent.after",h,v,g),h}),n.subParser("paragraphs",function(h,v,g){h=g.converter._dispatch("paragraphs.before",h,v,g),h=h.replace(/^\n+/g,""),h=h.replace(/\n+$/g,"");for(var T=h.split(/\n{2,}/g),P=[],k=T.length,w=0;w<k;w++){var A=T[w];A.search(/¨(K|G)(\d+)\1/g)>=0?P.push(A):A.search(/\S/)>=0&&(A=n.subParser("spanGamut")(A,v,g),A=A.replace(/^([ \t]*)/g,"<p>"),A+="</p>",P.push(A))}for(k=P.length,w=0;w<k;w++){for(var C="",E=P[w],$=!1;/¨(K|G)(\d+)\1/.test(E);){var D=RegExp.$1,M=RegExp.$2;D==="K"?C=g.gHtmlBlocks[M]:$?C=n.subParser("encodeCode")(g.ghCodeBlocks[M].text,v,g):C=g.ghCodeBlocks[M].codeblock,C=C.replace(/\$/g,"$$$$"),E=E.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,C),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(E)&&($=!0)}P[w]=E}return h=P.join(`
`),h=h.replace(/^\n+/g,""),h=h.replace(/\n+$/g,""),g.converter._dispatch("paragraphs.after",h,v,g)}),n.subParser("runExtension",function(h,v,g,T){if(h.filter)v=h.filter(v,T.converter,g);else if(h.regex){var P=h.regex;P instanceof RegExp||(P=new RegExp(P,"g")),v=v.replace(P,h.replace)}return v}),n.subParser("spanGamut",function(h,v,g){return h=g.converter._dispatch("spanGamut.before",h,v,g),h=n.subParser("codeSpans")(h,v,g),h=n.subParser("escapeSpecialCharsWithinTagAttributes")(h,v,g),h=n.subParser("encodeBackslashEscapes")(h,v,g),h=n.subParser("images")(h,v,g),h=n.subParser("anchors")(h,v,g),h=n.subParser("autoLinks")(h,v,g),h=n.subParser("simplifiedAutoLinks")(h,v,g),h=n.subParser("emoji")(h,v,g),h=n.subParser("underline")(h,v,g),h=n.subParser("italicsAndBold")(h,v,g),h=n.subParser("strikethrough")(h,v,g),h=n.subParser("ellipsis")(h,v,g),h=n.subParser("hashHTMLSpans")(h,v,g),h=n.subParser("encodeAmpsAndAngles")(h,v,g),v.simpleLineBreaks?/\n\n¨K/.test(h)||(h=h.replace(/\n+/g,`<br />
`)):h=h.replace(/ +\n/g,`<br />
`),h=g.converter._dispatch("spanGamut.after",h,v,g),h}),n.subParser("strikethrough",function(h,v,g){function T(P){return v.simplifiedAutoLink&&(P=n.subParser("simplifiedAutoLinks")(P,v,g)),"<del>"+P+"</del>"}return v.strikethrough&&(h=g.converter._dispatch("strikethrough.before",h,v,g),h=h.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(P,k){return T(k)}),h=g.converter._dispatch("strikethrough.after",h,v,g)),h}),n.subParser("stripLinkDefinitions",function(h,v,g){var T=/^ {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,P=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;h+="¨0";var k=function(w,A,C,E,$,D,M){return A=A.toLowerCase(),C.match(/^data:.+?\/.+?;base64,/)?g.gUrls[A]=C.replace(/\s/g,""):g.gUrls[A]=n.subParser("encodeAmpsAndAngles")(C,v,g),D?D+M:(M&&(g.gTitles[A]=M.replace(/"|'/g,"&quot;")),v.parseImgDimensions&&E&&$&&(g.gDimensions[A]={width:E,height:$}),"")};return h=h.replace(P,k),h=h.replace(T,k),h=h.replace(/¨0/,""),h}),n.subParser("tables",function(h,v,g){if(!v.tables)return h;var T=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,P=/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;function k($){return/^:[ \t]*--*$/.test($)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test($)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test($)?' style="text-align:center;"':""}function w($,D){var M="";return $=$.trim(),(v.tablesHeaderId||v.tableHeaderId)&&(M=' id="'+$.replace(/ /g,"_").toLowerCase()+'"'),$=n.subParser("spanGamut")($,v,g),"<th"+M+D+">"+$+`</th>
`}function A($,D){var M=n.subParser("spanGamut")($,v,g);return"<td"+D+">"+M+`</td>
`}function C($,D){for(var M=`<table>
<thead>
<tr>
`,L=$.length,N=0;N<L;++N)M+=$[N];for(M+=`</tr>
</thead>
<tbody>
`,N=0;N<D.length;++N){M+=`<tr>
`;for(var j=0;j<L;++j)M+=D[N][j];M+=`</tr>
`}return M+=`</tbody>
</table>
`,M}function E($){var D,M=$.split(`
`);for(D=0;D<M.length;++D)/^ {0,3}\|/.test(M[D])&&(M[D]=M[D].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(M[D])&&(M[D]=M[D].replace(/\|[ \t]*$/,"")),M[D]=n.subParser("codeSpans")(M[D],v,g);var L=M[0].split("|").map(function(G){return G.trim()}),N=M[1].split("|").map(function(G){return G.trim()}),j=[],z=[],U=[],J=[];for(M.shift(),M.shift(),D=0;D<M.length;++D)M[D].trim()!==""&&j.push(M[D].split("|").map(function(G){return G.trim()}));if(L.length<N.length)return $;for(D=0;D<N.length;++D)U.push(k(N[D]));for(D=0;D<L.length;++D)n.helper.isUndefined(U[D])&&(U[D]=""),z.push(w(L[D],U[D]));for(D=0;D<j.length;++D){for(var re=[],Y=0;Y<z.length;++Y)n.helper.isUndefined(j[D][Y]),re.push(A(j[D][Y],U[Y]));J.push(re)}return C(z,J)}return h=g.converter._dispatch("tables.before",h,v,g),h=h.replace(/\\(\|)/g,n.helper.escapeCharactersCallback),h=h.replace(T,E),h=h.replace(P,E),h=g.converter._dispatch("tables.after",h,v,g),h}),n.subParser("underline",function(h,v,g){return v.underline&&(h=g.converter._dispatch("underline.before",h,v,g),v.literalMidWordUnderscores?(h=h.replace(/\b___(\S[\s\S]*?)___\b/g,function(T,P){return"<u>"+P+"</u>"}),h=h.replace(/\b__(\S[\s\S]*?)__\b/g,function(T,P){return"<u>"+P+"</u>"})):(h=h.replace(/___(\S[\s\S]*?)___/g,function(T,P){return/\S$/.test(P)?"<u>"+P+"</u>":T}),h=h.replace(/__(\S[\s\S]*?)__/g,function(T,P){return/\S$/.test(P)?"<u>"+P+"</u>":T})),h=h.replace(/(_)/g,n.helper.escapeCharactersCallback),h=g.converter._dispatch("underline.after",h,v,g)),h}),n.subParser("unescapeSpecialChars",function(h,v,g){return h=g.converter._dispatch("unescapeSpecialChars.before",h,v,g),h=h.replace(/¨E(\d+)E/g,function(T,P){var k=parseInt(P);return String.fromCharCode(k)}),h=g.converter._dispatch("unescapeSpecialChars.after",h,v,g),h}),n.subParser("makeMarkdown.blockquote",function(h,v){var g="";if(h.hasChildNodes())for(var T=h.childNodes,P=T.length,k=0;k<P;++k){var w=n.subParser("makeMarkdown.node")(T[k],v);w!==""&&(g+=w)}return g=g.trim(),g="> "+g.split(`
`).join(`
> `),g}),n.subParser("makeMarkdown.codeBlock",function(h,v){var g=h.getAttribute("language"),T=h.getAttribute("precodenum");return"```"+g+`
`+v.preList[T]+"\n```"}),n.subParser("makeMarkdown.codeSpan",function(h){return"`"+h.innerHTML+"`"}),n.subParser("makeMarkdown.emphasis",function(h,v){var g="";if(h.hasChildNodes()){g+="*";for(var T=h.childNodes,P=T.length,k=0;k<P;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);g+="*"}return g}),n.subParser("makeMarkdown.header",function(h,v,g){var T=new Array(g+1).join("#"),P="";if(h.hasChildNodes()){P=T+" ";for(var k=h.childNodes,w=k.length,A=0;A<w;++A)P+=n.subParser("makeMarkdown.node")(k[A],v)}return P}),n.subParser("makeMarkdown.hr",function(){return"---"}),n.subParser("makeMarkdown.image",function(h){var v="";return h.hasAttribute("src")&&(v+="!["+h.getAttribute("alt")+"](",v+="<"+h.getAttribute("src")+">",h.hasAttribute("width")&&h.hasAttribute("height")&&(v+=" ="+h.getAttribute("width")+"x"+h.getAttribute("height")),h.hasAttribute("title")&&(v+=' "'+h.getAttribute("title")+'"'),v+=")"),v}),n.subParser("makeMarkdown.links",function(h,v){var g="";if(h.hasChildNodes()&&h.hasAttribute("href")){var T=h.childNodes,P=T.length;g="[";for(var k=0;k<P;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);g+="](",g+="<"+h.getAttribute("href")+">",h.hasAttribute("title")&&(g+=' "'+h.getAttribute("title")+'"'),g+=")"}return g}),n.subParser("makeMarkdown.list",function(h,v,g){var T="";if(!h.hasChildNodes())return"";for(var P=h.childNodes,k=P.length,w=h.getAttribute("start")||1,A=0;A<k;++A)if(!(typeof P[A].tagName>"u"||P[A].tagName.toLowerCase()!=="li")){var C="";g==="ol"?C=w.toString()+". ":C="- ",T+=C+n.subParser("makeMarkdown.listItem")(P[A],v),++w}return T+=`
<!-- -->
`,T.trim()}),n.subParser("makeMarkdown.listItem",function(h,v){for(var g="",T=h.childNodes,P=T.length,k=0;k<P;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);return/\n$/.test(g)?g=g.split(`
`).join(`
`).replace(/^ {4}$/gm,"").replace(/\n\n+/g,`
`):g+=`
`,g}),n.subParser("makeMarkdown.node",function(h,v,g){g=g||!1;var T="";if(h.nodeType===3)return n.subParser("makeMarkdown.txt")(h,v);if(h.nodeType===8)return"<!--"+h.data+`-->
`;if(h.nodeType!==1)return"";var P=h.tagName.toLowerCase();switch(P){case"h1":g||(T=n.subParser("makeMarkdown.header")(h,v,1)+`
`);break;case"h2":g||(T=n.subParser("makeMarkdown.header")(h,v,2)+`
`);break;case"h3":g||(T=n.subParser("makeMarkdown.header")(h,v,3)+`
`);break;case"h4":g||(T=n.subParser("makeMarkdown.header")(h,v,4)+`
`);break;case"h5":g||(T=n.subParser("makeMarkdown.header")(h,v,5)+`
`);break;case"h6":g||(T=n.subParser("makeMarkdown.header")(h,v,6)+`
`);break;case"p":g||(T=n.subParser("makeMarkdown.paragraph")(h,v)+`
`);break;case"blockquote":g||(T=n.subParser("makeMarkdown.blockquote")(h,v)+`
`);break;case"hr":g||(T=n.subParser("makeMarkdown.hr")(h,v)+`
`);break;case"ol":g||(T=n.subParser("makeMarkdown.list")(h,v,"ol")+`
`);break;case"ul":g||(T=n.subParser("makeMarkdown.list")(h,v,"ul")+`
`);break;case"precode":g||(T=n.subParser("makeMarkdown.codeBlock")(h,v)+`
`);break;case"pre":g||(T=n.subParser("makeMarkdown.pre")(h,v)+`
`);break;case"table":g||(T=n.subParser("makeMarkdown.table")(h,v)+`
`);break;case"code":T=n.subParser("makeMarkdown.codeSpan")(h,v);break;case"em":case"i":T=n.subParser("makeMarkdown.emphasis")(h,v);break;case"strong":case"b":T=n.subParser("makeMarkdown.strong")(h,v);break;case"del":T=n.subParser("makeMarkdown.strikethrough")(h,v);break;case"a":T=n.subParser("makeMarkdown.links")(h,v);break;case"img":T=n.subParser("makeMarkdown.image")(h,v);break;default:T=h.outerHTML+`
`}return T}),n.subParser("makeMarkdown.paragraph",function(h,v){var g="";if(h.hasChildNodes())for(var T=h.childNodes,P=T.length,k=0;k<P;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);return g=g.trim(),g}),n.subParser("makeMarkdown.pre",function(h,v){var g=h.getAttribute("prenum");return"<pre>"+v.preList[g]+"</pre>"}),n.subParser("makeMarkdown.strikethrough",function(h,v){var g="";if(h.hasChildNodes()){g+="~~";for(var T=h.childNodes,P=T.length,k=0;k<P;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);g+="~~"}return g}),n.subParser("makeMarkdown.strong",function(h,v){var g="";if(h.hasChildNodes()){g+="**";for(var T=h.childNodes,P=T.length,k=0;k<P;++k)g+=n.subParser("makeMarkdown.node")(T[k],v);g+="**"}return g}),n.subParser("makeMarkdown.table",function(h,v){var g="",T=[[],[]],P=h.querySelectorAll("thead>tr>th"),k=h.querySelectorAll("tbody>tr"),w,A;for(w=0;w<P.length;++w){var C=n.subParser("makeMarkdown.tableCell")(P[w],v),E="---";if(P[w].hasAttribute("style")){var $=P[w].getAttribute("style").toLowerCase().replace(/\s/g,"");switch($){case"text-align:left;":E=":---";break;case"text-align:right;":E="---:";break;case"text-align:center;":E=":---:";break}}T[0][w]=C.trim(),T[1][w]=E}for(w=0;w<k.length;++w){var D=T.push([])-1,M=k[w].getElementsByTagName("td");for(A=0;A<P.length;++A){var L=" ";typeof M[A]<"u"&&(L=n.subParser("makeMarkdown.tableCell")(M[A],v)),T[D].push(L)}}var N=3;for(w=0;w<T.length;++w)for(A=0;A<T[w].length;++A){var j=T[w][A].length;j>N&&(N=j)}for(w=0;w<T.length;++w){for(A=0;A<T[w].length;++A)w===1?T[w][A].slice(-1)===":"?T[w][A]=n.helper.padEnd(T[w][A].slice(-1),N-1,"-")+":":T[w][A]=n.helper.padEnd(T[w][A],N,"-"):T[w][A]=n.helper.padEnd(T[w][A],N);g+="| "+T[w].join(" | ")+` |
`}return g.trim()}),n.subParser("makeMarkdown.tableCell",function(h,v){var g="";if(!h.hasChildNodes())return"";for(var T=h.childNodes,P=T.length,k=0;k<P;++k)g+=n.subParser("makeMarkdown.node")(T[k],v,!0);return g.trim()}),n.subParser("makeMarkdown.txt",function(h){var v=h.nodeValue;return v=v.replace(/ +/g," "),v=v.replace(/¨NBSP;/g," "),v=n.helper.unescapeHTMLEntities(v),v=v.replace(/([*_~|`])/g,"\\$1"),v=v.replace(/^(\s*)>/g,"\\$1>"),v=v.replace(/^#/gm,"\\#"),v=v.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),v=v.replace(/^( {0,3}\d+)\./gm,"$1\\."),v=v.replace(/^( {0,3})([+-])/gm,"$1\\$2"),v=v.replace(/]([\s]*)\(/g,"\\]$1\\("),v=v.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),v});var O=this;t.exports?t.exports=n:O.showdown=n}).call(Oe)})(b5);var nle=b5.exports;const rv=li(nle);/*!
* vue-showdown - Use showdown as a vue component
*
* @version v2.4.1
* @link https://vue-showdown.js.org
* @license MIT
* @copyright 2018-2019 meteorlxy
*/var HI={name:"VueShowdown",props:{markdown:{type:String,required:!1,default:null},tag:{type:String,required:!1,default:"div"},flavor:{type:String,required:!1,default:null,validator:function(e){return[null,"original","vanilla","github"].includes(e)}},options:{type:Object,required:!1,default:function(){return{}}},extensions:{type:[Object,Array],required:!1,default:null},vueTemplate:{type:Boolean,required:!1,default:!1}},computed:{converter:function(){var e=new rv.Converter({extensions:this.extensions||void 0});this.flavor!==null&&e.setFlavor(this.flavor);for(var r in this.options)e.setOption(r,this.options[r]);return e},inputMarkdown:function(){return this.markdown===null?this.$slots.default[0].text:this.markdown},outputHtml:function(){return this.converter?this.converter.makeHtml(this.inputMarkdown):""}},render:function(e){return this.vueTemplate?e({template:"<".concat(this.tag,">").concat(this.outputHtml,"</").concat(this.tag,">")}):e(this.tag,{domProps:{innerHTML:this.outputHtml}})}},$Ne={install:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.flavor,i=n===void 0?null:n,a=r.options,s=a===void 0?{}:a;i!==null&&rv.setFlavor(i);for(var o in s)rv.setOption(o,s[o]);e.component("VueShowdown",HI)},VueShowdown:HI,showdown:rv};/*!
* vue-router v3.6.5
* (c) 2022 Evan You
* @license MIT
*/function Ri(t,e){for(var r in e)t[r]=e[r];return t}var ile=/[!'()*]/g,ale=function(t){return"%"+t.charCodeAt(0).toString(16)},sle=/%2C/g,Jc=function(t){return encodeURIComponent(t).replace(ile,ale).replace(sle,",")};function vO(t){try{return decodeURIComponent(t)}catch{}return t}function ole(t,e,r){e===void 0&&(e={});var n=r||ule,i;try{i=n(t||"")}catch{i={}}for(var a in e){var s=e[a];i[a]=Array.isArray(s)?s.map(zI):zI(s)}return i}var zI=function(t){return t==null||typeof t=="object"?t:String(t)};function ule(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t&&t.split("&").forEach(function(r){var n=r.replace(/\+/g," ").split("="),i=vO(n.shift()),a=n.length>0?vO(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 cle(t){var e=t?Object.keys(t).map(function(r){var n=t[r];if(n===void 0)return"";if(n===null)return Jc(r);if(Array.isArray(n)){var i=[];return n.forEach(function(a){a!==void 0&&(a===null?i.push(Jc(r)):i.push(Jc(r)+"="+Jc(a)))}),i.join("&")}return Jc(r)+"="+Jc(n)}).filter(function(r){return r.length>0}).join("&"):null;return e?"?"+e:""}var _0=/\/?$/;function w0(t,e,r,n){var i=n&&n.options.stringifyQuery,a=e.query||{};try{a=bO(a)}catch{}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:a,params:e.params||{},fullPath:VI(e,i),matched:t?lle(t):[]};return r&&(s.redirectedFrom=VI(r,i)),Object.freeze(s)}function bO(t){if(Array.isArray(t))return t.map(bO);if(t&&typeof t=="object"){var e={};for(var r in t)e[r]=bO(t[r]);return e}else return t}var Uo=w0(null,{path:"/"});function lle(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function VI(t,e){var r=t.path,n=t.query;n===void 0&&(n={});var i=t.hash;i===void 0&&(i="");var a=e||cle;return(r||"/")+a(n)+i}function y5(t,e,r){return e===Uo?t===e:e?t.path&&e.path?t.path.replace(_0,"")===e.path.replace(_0,"")&&(r||t.hash===e.hash&&nv(t.query,e.query)):t.name&&e.name?t.name===e.name&&(r||t.hash===e.hash&&nv(t.query,e.query)&&nv(t.params,e.params)):!1:!1}function nv(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 s=t[i],o=n[a];if(o!==i)return!1;var u=e[i];return s==null||u==null?s===u:typeof s=="object"&&typeof u=="object"?nv(s,u):String(s)===String(u)})}function dle(t,e){return t.path.replace(_0,"/").indexOf(e.path.replace(_0,"/"))===0&&(!e.hash||t.hash===e.hash)&&fle(t.query,e.query)}function fle(t,e){for(var r in e)if(!(r in t))return!1;return!0}function _5(t){for(var e=0;e<t.matched.length;e++){var r=t.matched[e];for(var n in r.instances){var i=r.instances[n],a=r.enteredCbs[n];if(!(!i||!a)){delete r.enteredCbs[n];for(var s=0;s<a.length;s++)i._isBeingDestroyed||a[s](i)}}}}var hle={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,r){var n=r.props,i=r.children,a=r.parent,s=r.data;s.routerView=!0;for(var o=a.$createElement,u=n.name,c=a.$route,l=a._routerViewCache||(a._routerViewCache={}),d=0,f=!1;a&&a._routerRoot!==a;){var p=a.$vnode?a.$vnode.data:{};p.routerView&&d++,p.keepAlive&&a._directInactive&&a._inactive&&(f=!0),a=a.$parent}if(s.routerViewDepth=d,f){var m=l[u],b=m&&m.component;return b?(m.configProps&&UI(b,s,m.route,m.configProps),o(b,s,i)):o()}var _=c.matched[d],S=_&&_.components[u];if(!_||!S)return l[u]=null,o();l[u]={component:S},s.registerRouteInstance=function(O,h){var v=_.instances[u];(h&&v!==O||!h&&v===O)&&(_.instances[u]=h)},(s.hook||(s.hook={})).prepatch=function(O,h){_.instances[u]=h.componentInstance},s.hook.init=function(O){O.data.keepAlive&&O.componentInstance&&O.componentInstance!==_.instances[u]&&(_.instances[u]=O.componentInstance),_5(c)};var x=_.props&&_.props[u];return x&&(Ri(l[u],{route:c,configProps:x}),UI(S,s,c,x)),o(S,s,i)}};function UI(t,e,r,n){var i=e.props=ple(r,n);if(i){i=e.props=Ri({},i);var a=e.attrs=e.attrs||{};for(var s in i)(!t.props||!(s in t.props))&&(a[s]=i[s],delete i[s])}}function ple(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function w5(t,e,r){var n=t.charAt(0);if(n==="/")return t;if(n==="?"||n==="#")return e+t;var i=e.split("/");(!r||!i[i.length-1])&&i.pop();for(var a=t.replace(/^\//,"").split("/"),s=0;s<a.length;s++){var o=a[s];o===".."?i.pop():o!=="."&&i.push(o)}return i[0]!==""&&i.unshift(""),i.join("/")}function mle(t){var e="",r="",n=t.indexOf("#");n>=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 So(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var S0=Array.isArray||function(t){return Object.prototype.toString.call(t)=="[object Array]"},Ad=T5,gle=mx,vle=wle,ble=S5,yle=O5,_le=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function mx(t,e){for(var r=[],n=0,i=0,a="",s=e&&e.delimiter||"/",o;(o=_le.exec(t))!=null;){var u=o[0],c=o[1],l=o.index;if(a+=t.slice(i,l),i=l+u.length,c){a+=c[1];continue}var d=t[i],f=o[2],p=o[3],m=o[4],b=o[5],_=o[6],S=o[7];a&&(r.push(a),a="");var x=f!=null&&d!=null&&d!==f,O=_==="+"||_==="*",h=_==="?"||_==="*",v=o[2]||s,g=m||b;r.push({name:p||n++,prefix:f||"",delimiter:v,optional:h,repeat:O,partial:x,asterisk:!!S,pattern:g?Tle(g):S?".*":"[^"+iv(v)+"]+?"})}return i<t.length&&(a+=t.substr(i)),a&&r.push(a),r}function wle(t,e){return S5(mx(t,e),e)}function Sle(t){return encodeURI(t).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function Ole(t){return encodeURI(t).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function S5(t,e){for(var r=new Array(t.length),n=0;n<t.length;n++)typeof t[n]=="object"&&(r[n]=new RegExp("^(?:"+t[n].pattern+")$",vx(e)));return function(i,a){for(var s="",o=i||{},u=a||{},c=u.pretty?Sle:encodeURIComponent,l=0;l<t.length;l++){var d=t[l];if(typeof d=="string"){s+=d;continue}var f=o[d.name],p;if(f==null)if(d.optional){d.partial&&(s+=d.prefix);continue}else throw new TypeError('Expected "'+d.name+'" to be defined');if(S0(f)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(f.length===0){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var m=0;m<f.length;m++){if(p=c(f[m]),!r[l].test(p))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(p)+"`");s+=(m===0?d.prefix:d.delimiter)+p}continue}if(p=d.asterisk?Ole(f):c(f),!r[l].test(p))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+p+'"');s+=d.prefix+p}return s}}function iv(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Tle(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function gx(t,e){return t.keys=e,t}function vx(t){return t&&t.sensitive?"":"i"}function Ele(t,e){var r=t.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return gx(t,e)}function xle(t,e,r){for(var n=[],i=0;i<t.length;i++)n.push(T5(t[i],e,r).source);var a=new RegExp("(?:"+n.join("|")+")",vx(r));return gx(a,e)}function Ple(t,e,r){return O5(mx(t,r),e,r)}function O5(t,e,r){S0(e)||(r=e||r,e=[]),r=r||{};for(var n=r.strict,i=r.end!==!1,a="",s=0;s<t.length;s++){var o=t[s];if(typeof o=="string")a+=iv(o);else{var u=iv(o.prefix),c="(?:"+o.pattern+")";e.push(o),o.repeat&&(c+="(?:"+u+c+")*"),o.optional?o.partial?c=u+"("+c+")?":c="(?:"+u+"("+c+"))?":c=u+"("+c+")",a+=c}}var l=iv(r.delimiter||"/"),d=a.slice(-l.length)===l;return n||(a=(d?a.slice(0,-l.length):a)+"(?:"+l+"(?=$))?"),i?a+="$":a+=n&&d?"":"(?="+l+"|$)",gx(new RegExp("^"+a,vx(r)),e)}function T5(t,e,r){return S0(e)||(r=e||r,e=[]),r=r||{},t instanceof RegExp?Ele(t,e):S0(t)?xle(t,e,r):Ple(t,e,r)}Ad.parse=gle;Ad.compile=vle;Ad.tokensToFunction=ble;Ad.tokensToRegExp=yle;var GI=Object.create(null);function av(t,e,r){e=e||{};try{var n=GI[t]||(GI[t]=Ad.compile(t));return typeof e.pathMatch=="string"&&(e[0]=e.pathMatch),n(e,{pretty:!0})}catch{return""}finally{delete e[0]}}function bx(t,e,r,n){var i=typeof t=="string"?{path:t}:t;if(i._normalized)return i;if(i.name){i=Ri({},t);var a=i.params;return a&&typeof a=="object"&&(i.params=Ri({},a)),i}if(!i.path&&i.params&&e){i=Ri({},i),i._normalized=!0;var s=Ri(Ri({},e.params),i.params);if(e.name)i.name=e.name,i.params=s;else if(e.matched.length){var o=e.matched[e.matched.length-1].path;i.path=av(o,s,"path "+e.path)}return i}var u=mle(i.path||""),c=e&&e.path||"/",l=u.path?w5(u.path,c,r||i.append):c,d=ole(u.query,i.query,n&&n.options.parseQuery),f=i.hash||u.hash;return f&&f.charAt(0)!=="#"&&(f="#"+f),{_normalized:!0,path:l,query:d,hash:f}}var Cle=[String,Object],Ale=[String,Array],WI=function(){},Mle={name:"RouterLink",props:{to:{type:Cle,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:Ale,default:"click"}},render:function(e){var r=this,n=this.$router,i=this.$route,a=n.resolve(this.to,i,this.append),s=a.location,o=a.route,u=a.href,c={},l=n.options.linkActiveClass,d=n.options.linkExactActiveClass,f=l??"router-link-active",p=d??"router-link-exact-active",m=this.activeClass==null?f:this.activeClass,b=this.exactActiveClass==null?p:this.exactActiveClass,_=o.redirectedFrom?w0(null,bx(o.redirectedFrom),null,n):o;c[b]=y5(i,_,this.exactPath),c[m]=this.exact||this.exactPath?c[b]:dle(i,_);var S=c[b]?this.ariaCurrentValue:null,x=function(C){YI(C)&&(r.replace?n.replace(s,WI):n.push(s,WI))},O={click:YI};Array.isArray(this.event)?this.event.forEach(function(C){O[C]=x}):O[this.event]=x;var h={class:c},v=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:o,navigate:x,isActive:c[m],isExactActive:c[b]});if(v){if(v.length===1)return v[0];if(v.length>1||!v.length)return v.length===0?e():e("span",{},v)}if(this.tag==="a")h.on=O,h.attrs={href:u,"aria-current":S};else{var g=E5(this.$slots.default);if(g){g.isStatic=!1;var T=g.data=Ri({},g.data);T.on=T.on||{};for(var P in T.on){var k=T.on[P];P in O&&(T.on[P]=Array.isArray(k)?k:[k])}for(var w in O)w in T.on?T.on[w].push(O[w]):T.on[w]=x;var A=g.data.attrs=Ri({},g.data.attrs);A.href=u,A["aria-current"]=S}else h.on=O}return e(this.tag,h,this.$slots.default)}};function YI(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 E5(t){if(t){for(var e,r=0;r<t.length;r++)if(e=t[r],e.tag==="a"||e.children&&(e=E5(e.children)))return e}}var O0;function yO(t){if(!(yO.installed&&O0===t)){yO.installed=!0,O0=t;var e=function(i){return i!==void 0},r=function(i,a){var s=i.$options._parentVnode;e(s)&&e(s=s.data)&&e(s=s.registerRouteInstance)&&s(i,a)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",hle),t.component("RouterLink",Mle);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var kp=typeof window<"u";function zm(t,e,r,n,i){var a=e||[],s=r||Object.create(null),o=n||Object.create(null);t.forEach(function(l){_O(a,s,o,l,i)});for(var u=0,c=a.length;u<c;u++)a[u]==="*"&&(a.push(a.splice(u,1)[0]),c--,u--);return{pathList:a,pathMap:s,nameMap:o}}function _O(t,e,r,n,i,a){var s=n.path,o=n.name,u=n.pathToRegexpOptions||{},c=kle(s,i,u.strict);typeof n.caseSensitive=="boolean"&&(u.sensitive=n.caseSensitive);var l={path:c,regex:$le(c,u),components:n.components||{default:n.component},alias:n.alias?typeof n.alias=="string"?[n.alias]:n.alias:[],instances:{},enteredCbs:{},name:o,parent:i,matchAs:a,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:n.props==null?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(b){var _=a?So(a+"/"+b.path):void 0;_O(t,e,r,b,l,_)}),e[l.path]||(t.push(l.path),e[l.path]=l),n.alias!==void 0)for(var d=Array.isArray(n.alias)?n.alias:[n.alias],f=0;f<d.length;++f){var p=d[f],m={path:p,children:n.children};_O(t,e,r,m,i,l.path||"/")}o&&(r[o]||(r[o]=l))}function $le(t,e){var r=Ad(t,[],e);return r}function kle(t,e,r){return r||(t=t.replace(/\/$/,"")),t[0]==="/"||e==null?t:So(e.path+"/"+t)}function Dle(t,e){var r=zm(t),n=r.pathList,i=r.pathMap,a=r.nameMap;function s(p){zm(p,n,i,a)}function o(p,m){var b=typeof p!="object"?a[p]:void 0;zm([m||p],n,i,a,b),b&&b.alias.length&&zm(b.alias.map(function(_){return{path:_,children:[m]}}),n,i,a,b)}function u(){return n.map(function(p){return i[p]})}function c(p,m,b){var _=bx(p,m,!1,e),S=_.name;if(S){var x=a[S];if(!x)return f(null,_);var O=x.regex.keys.filter(function(P){return!P.optional}).map(function(P){return P.name});if(typeof _.params!="object"&&(_.params={}),m&&typeof m.params=="object")for(var h in m.params)!(h in _.params)&&O.indexOf(h)>-1&&(_.params[h]=m.params[h]);return _.path=av(x.path,_.params),f(x,_,b)}else if(_.path){_.params={};for(var v=0;v<n.length;v++){var g=n[v],T=i[g];if(Ile(T.regex,_.path,_.params))return f(T,_,b)}}return f(null,_)}function l(p,m){var b=p.redirect,_=typeof b=="function"?b(w0(p,m,null,e)):b;if(typeof _=="string"&&(_={path:_}),!_||typeof _!="object")return f(null,m);var S=_,x=S.name,O=S.path,h=m.query,v=m.hash,g=m.params;if(h=S.hasOwnProperty("query")?S.query:h,v=S.hasOwnProperty("hash")?S.hash:v,g=S.hasOwnProperty("params")?S.params:g,x)return a[x],c({_normalized:!0,name:x,query:h,hash:v,params:g},void 0,m);if(O){var T=Rle(O,p),P=av(T,g);return c({_normalized:!0,path:P,query:h,hash:v},void 0,m)}else return f(null,m)}function d(p,m,b){var _=av(b,m.params),S=c({_normalized:!0,path:_});if(S){var x=S.matched,O=x[x.length-1];return m.params=S.params,f(O,m)}return f(null,m)}function f(p,m,b){return p&&p.redirect?l(p,b||m):p&&p.matchAs?d(p,m,p.matchAs):w0(p,m,b,e)}return{match:c,addRoute:o,getRoutes:u,addRoutes:s}}function Ile(t,e,r){var n=e.match(t);if(n){if(!r)return!0}else return!1;for(var i=1,a=n.length;i<a;++i){var s=t.keys[i-1];s&&(r[s.name||"pathMatch"]=typeof n[i]=="string"?vO(n[i]):n[i])}return!0}function Rle(t,e){return w5(t,e.parent?e.parent.path:"/",!0)}var Lle=kp&&window.performance&&window.performance.now?window.performance:Date;function x5(){return Lle.now().toFixed(3)}var P5=x5();function iy(){return P5}function C5(t){return P5=t}var A5=Object.create(null);function M5(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),r=Ri({},window.history.state);return r.key=iy(),window.history.replaceState(r,"",e),window.addEventListener("popstate",KI),function(){window.removeEventListener("popstate",KI)}}function Oo(t,e,r,n){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick(function(){var a=Nle(),s=i.call(t,e,r,n?a:null);s&&(typeof s.then=="function"?s.then(function(o){JI(o,a)}).catch(function(o){}):JI(s,a))})}}function $5(){var t=iy();t&&(A5[t]={x:window.pageXOffset,y:window.pageYOffset})}function KI(t){$5(),t.state&&t.state.key&&C5(t.state.key)}function Nle(){var t=iy();if(t)return A5[t]}function Ble(t,e){var r=document.documentElement,n=r.getBoundingClientRect(),i=t.getBoundingClientRect();return{x:i.left-n.left-e.x,y:i.top-n.top-e.y}}function qI(t){return ad(t.x)||ad(t.y)}function XI(t){return{x:ad(t.x)?t.x:window.pageXOffset,y:ad(t.y)?t.y:window.pageYOffset}}function Fle(t){return{x:ad(t.x)?t.x:0,y:ad(t.y)?t.y:0}}function ad(t){return typeof t=="number"}var jle=/^#\d/;function JI(t,e){var r=typeof t=="object";if(r&&typeof t.selector=="string"){var n=jle.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(n){var i=t.offset&&typeof t.offset=="object"?t.offset:{};i=Fle(i),e=Ble(n,i)}else qI(t)&&(e=XI(t))}else r&&qI(t)&&(e=XI(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var To=kp&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")!==-1||t.indexOf("Android 4.0")!==-1)&&t.indexOf("Mobile Safari")!==-1&&t.indexOf("Chrome")===-1&&t.indexOf("Windows Phone")===-1?!1:window.history&&typeof window.history.pushState=="function"}();function T0(t,e){$5();var r=window.history;try{if(e){var n=Ri({},r.state);n.key=iy(),r.replaceState(n,"",t)}else r.pushState({key:C5(x5())},"",t)}catch{window.location[e?"replace":"assign"](t)}}function wO(t){T0(t,!0)}var gc={redirected:2,aborted:4,cancelled:8,duplicated:16};function Hle(t,e){return ay(t,e,gc.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Gle(e)+'" via a navigation guard.')}function zle(t,e){var r=ay(t,e,gc.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return r.name="NavigationDuplicated",r}function ZI(t,e){return ay(t,e,gc.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Vle(t,e){return ay(t,e,gc.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function ay(t,e,r,n){var i=new Error(n);return i._isRouter=!0,i.from=t,i.to=e,i.type=r,i}var Ule=["params","query","hash"];function Gle(t){if(typeof t=="string")return t;if("path"in t)return t.path;var e={};return Ule.forEach(function(r){r in t&&(e[r]=t[r])}),JSON.stringify(e,null,2)}function E0(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function sy(t,e){return E0(t)&&t._isRouter&&(e==null||t.type===e)}function QI(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 Wle(t){return function(e,r,n){var i=!1,a=0,s=null;k5(t,function(o,u,c,l){if(typeof o=="function"&&o.cid===void 0){i=!0,a++;var d=e2(function(b){Kle(b)&&(b=b.default),o.resolved=typeof b=="function"?b:O0.extend(b),c.components[l]=b,a--,a<=0&&n()}),f=e2(function(b){var _="Failed to resolve async component "+l+": "+b;s||(s=E0(b)?b:new Error(_),n(s))}),p;try{p=o(d,f)}catch(b){f(b)}if(p)if(typeof p.then=="function")p.then(d,f);else{var m=p.component;m&&typeof m.then=="function"&&m.then(d,f)}}}),i||n()}}function k5(t,e){return D5(t.map(function(r){return Object.keys(r.components).map(function(n){return e(r.components[n],r.instances[n],r,n)})}))}function D5(t){return Array.prototype.concat.apply([],t)}var Yle=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Kle(t){return t.__esModule||Yle&&t[Symbol.toStringTag]==="Module"}function e2(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 ta=function(e,r){this.router=e,this.base=qle(r),this.current=Uo,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};ta.prototype.listen=function(e){this.cb=e};ta.prototype.onReady=function(e,r){this.ready?e():(this.readyCbs.push(e),r&&this.readyErrorCbs.push(r))};ta.prototype.onError=function(e){this.errorCbs.push(e)};ta.prototype.transitionTo=function(e,r,n){var i=this,a;try{a=this.router.match(e,this.current)}catch(o){throw this.errorCbs.forEach(function(u){u(o)}),o}var s=this.current;this.confirmTransition(a,function(){i.updateRoute(a),r&&r(a),i.ensureURL(),i.router.afterHooks.forEach(function(o){o&&o(a,s)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(o){o(a)}))},function(o){n&&n(o),o&&!i.ready&&(!sy(o,gc.redirected)||s!==Uo)&&(i.ready=!0,i.readyErrorCbs.forEach(function(u){u(o)}))})};ta.prototype.confirmTransition=function(e,r,n){var i=this,a=this.current;this.pending=e;var s=function(b){!sy(b)&&E0(b)&&(i.errorCbs.length?i.errorCbs.forEach(function(_){_(b)}):console.error(b)),n&&n(b)},o=e.matched.length-1,u=a.matched.length-1;if(y5(e,a)&&o===u&&e.matched[o]===a.matched[u])return this.ensureURL(),e.hash&&Oo(this.router,a,e,!1),s(zle(a,e));var c=Xle(this.current.matched,e.matched),l=c.updated,d=c.deactivated,f=c.activated,p=[].concat(Zle(d),this.router.beforeHooks,Qle(l),f.map(function(b){return b.beforeEnter}),Wle(f)),m=function(b,_){if(i.pending!==e)return s(ZI(a,e));try{b(e,a,function(S){S===!1?(i.ensureURL(!0),s(Vle(a,e))):E0(S)?(i.ensureURL(!0),s(S)):typeof S=="string"||typeof S=="object"&&(typeof S.path=="string"||typeof S.name=="string")?(s(Hle(a,e)),typeof S=="object"&&S.replace?i.replace(S):i.push(S)):_(S)})}catch(S){s(S)}};QI(p,m,function(){var b=ede(f),_=b.concat(i.router.resolveHooks);QI(_,m,function(){if(i.pending!==e)return s(ZI(a,e));i.pending=null,r(e),i.router.app&&i.router.app.$nextTick(function(){_5(e)})})})};ta.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)};ta.prototype.setupListeners=function(){};ta.prototype.teardown=function(){this.listeners.forEach(function(e){e()}),this.listeners=[],this.current=Uo,this.pending=null};function qle(t){if(!t)if(kp){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 Xle(t,e){var r,n=Math.max(t.length,e.length);for(r=0;r<n&&t[r]===e[r];r++);return{updated:e.slice(0,r),activated:e.slice(r),deactivated:t.slice(r)}}function yx(t,e,r,n){var i=k5(t,function(a,s,o,u){var c=Jle(a,e);if(c)return Array.isArray(c)?c.map(function(l){return r(l,s,o,u)}):r(c,s,o,u)});return D5(n?i.reverse():i)}function Jle(t,e){return typeof t!="function"&&(t=O0.extend(t)),t.options[e]}function Zle(t){return yx(t,"beforeRouteLeave",I5,!0)}function Qle(t){return yx(t,"beforeRouteUpdate",I5)}function I5(t,e){if(e)return function(){return t.apply(e,arguments)}}function ede(t){return yx(t,"beforeRouteEnter",function(e,r,n,i){return tde(e,n,i)})}function tde(t,e,r){return function(i,a,s){return t(i,a,function(o){typeof o=="function"&&(e.enteredCbs[r]||(e.enteredCbs[r]=[]),e.enteredCbs[r].push(o)),s(o)})}}var R5=function(t){function e(r,n){t.call(this,r,n),this._startLocation=th(this.base)}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,s=To&&a;s&&this.listeners.push(M5());var o=function(){var u=n.current,c=th(n.base);n.current===Uo&&c===n._startLocation||n.transitionTo(c,function(l){s&&Oo(i,l,u,!0)})};window.addEventListener("popstate",o),this.listeners.push(function(){window.removeEventListener("popstate",o)})}},e.prototype.go=function(n){window.history.go(n)},e.prototype.push=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(c){T0(So(s.base+c.fullPath)),Oo(s.router,c,u,!1),i&&i(c)},a)},e.prototype.replace=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(c){wO(So(s.base+c.fullPath)),Oo(s.router,c,u,!1),i&&i(c)},a)},e.prototype.ensureURL=function(n){if(th(this.base)!==this.current.fullPath){var i=So(this.base+this.current.fullPath);n?T0(i):wO(i)}},e.prototype.getCurrentLocation=function(){return th(this.base)},e}(ta);function th(t){var e=window.location.pathname,r=e.toLowerCase(),n=t.toLowerCase();return t&&(r===n||r.indexOf(So(n+"/"))===0)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var L5=function(t){function e(r,n,i){t.call(this,r,n),!(i&&rde(this.base))&&t2()}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,s=To&&a;s&&this.listeners.push(M5());var o=function(){var c=n.current;t2()&&n.transitionTo(sv(),function(l){s&&Oo(n.router,l,c,!0),To||ov(l.fullPath)})},u=To?"popstate":"hashchange";window.addEventListener(u,o),this.listeners.push(function(){window.removeEventListener(u,o)})}},e.prototype.push=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(c){r2(c.fullPath),Oo(s.router,c,u,!1),i&&i(c)},a)},e.prototype.replace=function(n,i,a){var s=this,o=this,u=o.current;this.transitionTo(n,function(c){ov(c.fullPath),Oo(s.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;sv()!==i&&(n?r2(i):ov(i))},e.prototype.getCurrentLocation=function(){return sv()},e}(ta);function rde(t){var e=th(t);if(!/^\/#/.test(e))return window.location.replace(So(t+"/#"+e)),!0}function t2(){var t=sv();return t.charAt(0)==="/"?!0:(ov("/"+t),!1)}function sv(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function SO(t){var e=window.location.href,r=e.indexOf("#"),n=r>=0?e.slice(0,r):e;return n+"#"+t}function r2(t){To?T0(SO(t)):window.location.hash=t}function ov(t){To?wO(SO(t)):window.location.replace(SO(t))}var nde=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 s=this;this.transitionTo(n,function(o){s.stack=s.stack.slice(0,s.index+1).concat(o),s.index++,i&&i(o)},a)},e.prototype.replace=function(n,i,a){var s=this;this.transitionTo(n,function(o){s.stack=s.stack.slice(0,s.index).concat(o),i&&i(o)},a)},e.prototype.go=function(n){var i=this,a=this.index+n;if(!(a<0||a>=this.stack.length)){var s=this.stack[a];this.confirmTransition(s,function(){var o=i.current;i.index=a,i.updateRoute(s),i.router.afterHooks.forEach(function(u){u&&u(s,o)})},function(o){sy(o,gc.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}(ta),Nt=function(e){e===void 0&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Dle(e.routes||[],this);var r=e.mode||"hash";switch(this.fallback=r==="history"&&!To&&e.fallback!==!1,this.fallback&&(r="hash"),kp||(r="abstract"),this.mode=r,r){case"history":this.history=new R5(this,e.base);break;case"hash":this.history=new L5(this,e.base,this.fallback);break;case"abstract":this.history=new nde(this,e.base);break}},N5={currentRoute:{configurable:!0}};Nt.prototype.match=function(e,r,n){return this.matcher.match(e,r,n)};N5.currentRoute.get=function(){return this.history&&this.history.current};Nt.prototype.init=function(e){var r=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var s=r.apps.indexOf(e);s>-1&&r.apps.splice(s,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 R5||n instanceof L5){var i=function(s){var o=n.current,u=r.options.scrollBehavior,c=To&&u;c&&"fullPath"in s&&Oo(r,s,o,!1)},a=function(s){n.setupListeners(),i(s)};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen(function(s){r.apps.forEach(function(o){o._route=s})})}};Nt.prototype.beforeEach=function(e){return _x(this.beforeHooks,e)};Nt.prototype.beforeResolve=function(e){return _x(this.resolveHooks,e)};Nt.prototype.afterEach=function(e){return _x(this.afterHooks,e)};Nt.prototype.onReady=function(e,r){this.history.onReady(e,r)};Nt.prototype.onError=function(e){this.history.onError(e)};Nt.prototype.push=function(e,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,s){i.history.push(e,a,s)});this.history.push(e,r,n)};Nt.prototype.replace=function(e,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,s){i.history.replace(e,a,s)});this.history.replace(e,r,n)};Nt.prototype.go=function(e){this.history.go(e)};Nt.prototype.back=function(){this.go(-1)};Nt.prototype.forward=function(){this.go(1)};Nt.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]})})):[]};Nt.prototype.resolve=function(e,r,n){r=r||this.history.current;var i=bx(e,r,n,this),a=this.match(i,r),s=a.redirectedFrom||a.fullPath,o=this.history.base,u=ide(o,s,this.mode);return{location:i,route:a,href:u,normalizedTo:i,resolved:a}};Nt.prototype.getRoutes=function(){return this.matcher.getRoutes()};Nt.prototype.addRoute=function(e,r){this.matcher.addRoute(e,r),this.history.current!==Uo&&this.history.transitionTo(this.history.getCurrentLocation())};Nt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Uo&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(Nt.prototype,N5);var kNe=Nt;function _x(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function ide(t,e,r){var n=r==="hash"?"#"+e:e;return t?So(t+"/"+n):n}Nt.install=yO;Nt.version="3.6.5";Nt.isNavigationFailure=sy;Nt.NavigationFailureType=gc;Nt.START_LOCATION=Uo;kp&&window.Vue&&window.Vue.use(Nt);var B5={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(Oe,function(){return function(r){var n={};function i(a){if(n[a])return n[a].exports;var s=n[a]={exports:{},id:a,loaded:!1};return r[a].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}return i.m=r,i.c=n,i.p="",i(0)}([function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function A(C,E){for(var $=0;$<E.length;$++){var D=E[$];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(C,D.key,D)}}return function(C,E,$){return E&&A(C.prototype,E),$&&A(C,$),C}}(),s=i(1),o=P(s),u=i(2),c=P(u),l=i(8),d=P(l),f=i(9),p=P(f),m=i(10),b=P(m),_=i(11),S=P(_),x=i(16),O=P(x),h=i(17),v=P(h),g=i(18),T=P(g);function P(A){return A&&A.__esModule?A:{default:A}}function k(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}var w=function(){function A(C){k(this,A),C=C||{},this._name="secure-ls",this.utils=o.default,this.constants=c.default,this.Base64=p.default,this.LZString=b.default,this.AES=S.default,this.DES=O.default,this.RABBIT=v.default,this.RC4=T.default,this.enc=d.default,this.config={isCompression:!0,encodingType:c.default.EncrytionTypes.BASE64,encryptionSecret:C.encryptionSecret,encryptionNamespace:C.encryptionNamespace},this.config.isCompression=typeof C.isCompression<"u"?C.isCompression:!0,this.config.encodingType=typeof C.encodingType<"u"||C.encodingType===""?C.encodingType.toLowerCase():c.default.EncrytionTypes.BASE64,this.ls=localStorage,this.init()}return a(A,[{key:"init",value:function(){var E=this.getMetaData();this.WarningEnum=this.constants.WarningEnum,this.WarningTypes=this.constants.WarningTypes,this.EncrytionTypes=this.constants.EncrytionTypes,this._isBase64=this._isBase64EncryptionType(),this._isAES=this._isAESEncryptionType(),this._isDES=this._isDESEncryptionType(),this._isRabbit=this._isRabbitEncryptionType(),this._isRC4=this._isRC4EncryptionType(),this._isCompression=this._isDataCompressionEnabled(),this.utils.allKeys=E.keys||this.resetAllKeys()}},{key:"_isBase64EncryptionType",value:function(){return p.default&&(typeof this.config.encodingType>"u"||this.config.encodingType===this.constants.EncrytionTypes.BASE64)}},{key:"_isAESEncryptionType",value:function(){return S.default&&this.config.encodingType===this.constants.EncrytionTypes.AES}},{key:"_isDESEncryptionType",value:function(){return O.default&&this.config.encodingType===this.constants.EncrytionTypes.DES}},{key:"_isRabbitEncryptionType",value:function(){return v.default&&this.config.encodingType===this.constants.EncrytionTypes.RABBIT}},{key:"_isRC4EncryptionType",value:function(){return T.default&&this.config.encodingType===this.constants.EncrytionTypes.RC4}},{key:"_isDataCompressionEnabled",value:function(){return this.config.isCompression}},{key:"getEncryptionSecret",value:function(E){var $=this.getMetaData(),D=this.utils.getObjectFromKey($.keys,E);D&&(this._isAES||this._isDES||this._isRabbit||this._isRC4)&&(typeof this.config.encryptionSecret>"u"?(this.utils.encryptionSecret=D.s,this.utils.encryptionSecret||(this.utils.encryptionSecret=this.utils.generateSecretKey(),this.setMetaData())):this.utils.encryptionSecret=this.config.encryptionSecret||D.s||"")}},{key:"get",value:function(E,$){var D="",M="",L=void 0,N=void 0,j=void 0;if(!this.utils.is(E))return this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED),M;if(j=this.getDataFromLocalStorage(E),!j)return M;L=j,(this._isCompression||$)&&(L=b.default.decompressFromUTF16(j)),D=L,this._isBase64||$?D=p.default.decode(L):(this.getEncryptionSecret(E),this._isAES?N=S.default.decrypt(L.toString(),this.utils.encryptionSecret):this._isDES?N=O.default.decrypt(L.toString(),this.utils.encryptionSecret):this._isRabbit?N=v.default.decrypt(L.toString(),this.utils.encryptionSecret):this._isRC4&&(N=T.default.decrypt(L.toString(),this.utils.encryptionSecret)),N&&(D=N.toString(d.default._Utf8)));try{M=JSON.parse(D)}catch{throw new Error("Could not parse JSON")}return M}},{key:"getDataFromLocalStorage",value:function(E){return this.ls.getItem(E,!0)}},{key:"getAllKeys",value:function(){var E=this.getMetaData();return this.utils.extractKeyNames(E)||[]}},{key:"set",value:function(E,$){var D="";if(!this.utils.is(E)){this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED);return}this.getEncryptionSecret(E),String(E)!==String(this.utils.metaKey)&&(this.utils.isKeyPresent(E)||(this.utils.addToKeysList(E),this.setMetaData())),D=this.processData($),this.setDataToLocalStorage(E,D)}},{key:"setDataToLocalStorage",value:function(E,$){this.ls.setItem(E,$)}},{key:"remove",value:function(E){if(!this.utils.is(E)){this.utils.warn(this.WarningEnum.KEY_NOT_PROVIDED);return}if(E===this.utils.metaKey&&this.getAllKeys().length){this.utils.warn(this.WarningEnum.META_KEY_REMOVE);return}this.utils.isKeyPresent(E)&&(this.utils.removeFromKeysList(E),this.setMetaData()),this.ls.removeItem(E)}},{key:"removeAll",value:function(){var E=void 0,$=void 0;for(E=this.getAllKeys(),$=0;$<E.length;$++)this.ls.removeItem(E[$]);this.ls.removeItem(this.utils.metaKey),this.resetAllKeys()}},{key:"clear",value:function(){this.ls.clear(),this.resetAllKeys()}},{key:"resetAllKeys",value:function(){return this.utils.allKeys=[],[]}},{key:"processData",value:function(E,$){if(E==null||E==="")return"";var D=void 0,M=void 0,L=void 0;try{D=JSON.stringify(E)}catch{throw new Error("Could not stringify data.")}return M=D,this._isBase64||$?M=p.default.encode(D):(this._isAES?M=S.default.encrypt(D,this.utils.encryptionSecret):this._isDES?M=O.default.encrypt(D,this.utils.encryptionSecret):this._isRabbit?M=v.default.encrypt(D,this.utils.encryptionSecret):this._isRC4&&(M=T.default.encrypt(D,this.utils.encryptionSecret)),M=M&&M.toString()),L=M,(this._isCompression||$)&&(L=b.default.compressToUTF16(M)),L}},{key:"setMetaData",value:function(){var E=this.processData({keys:this.utils.allKeys},!0);this.setDataToLocalStorage(this.getMetaKey(),E)}},{key:"getMetaData",value:function(){return this.get(this.getMetaKey(),!0)||{}}},{key:"getMetaKey",value:function(){return this.utils.metaKey+(this.config.encryptionNamespace?"__"+this.config.encryptionNamespace:"")}}]),A}();n.default=w,r.exports=n.default},function(r,n,i){var a=i(2),s=d(a),o=i(3),u=d(o),c=i(4),l=d(c);function d(p){return p&&p.__esModule?p:{default:p}}var f={metaKey:"_secure__ls__metadata",encryptionSecret:"",secretPhrase:"s3cr3t$#@135^&*246",allKeys:[],is:function(m){return!!m},warn:function(m){m=m||s.default.WarningEnum.DEFAULT_TEXT,console.warn(s.default.WarningTypes[m])},generateSecretKey:function(){var m=u.default.random(16),b=(0,l.default)(this.secretPhrase,m,{keySize:128/32});return b&&b.toString()},getObjectFromKey:function(m,b){if(!m||!m.length)return{};var _=void 0,S={};for(_=0;_<m.length;_++)if(m[_].k===b){S=m[_];break}return S},extractKeyNames:function(m){return!m||!m.keys||!m.keys.length?[]:m.keys.map(function(b){return b.k})},getAllKeys:function(){return this.allKeys},isKeyPresent:function(m){for(var b=!1,_=0;_<this.allKeys.length;_++)if(String(this.allKeys[_].k)===String(m)){b=!0;break}return b},addToKeysList:function(m){this.allKeys.push({k:m,s:this.encryptionSecret})},removeFromKeysList:function(m){var b=void 0,_=-1;for(b=0;b<this.allKeys.length;b++)if(this.allKeys[b].k===m){_=b;break}return _!==-1&&this.allKeys.splice(_,1),_}};r.exports=f},function(r,n){var i={KEY_NOT_PROVIDED:"keyNotProvided",META_KEY_REMOVE:"metaKeyRemove",DEFAULT_TEXT:"defaultText"},a={};a[i.KEY_NOT_PROVIDED]="Secure LS: Key not provided. Aborting operation!",a[i.META_KEY_REMOVE]=`Secure LS: Meta key can not be removed
unless all keys created by Secure LS are removed!`,a[i.DEFAULT_TEXT]="Unexpected output";var s={WarningEnum:i,WarningTypes:a,EncrytionTypes:{BASE64:"base64",AES:"aes",DES:"des",RABBIT:"rabbit",RC4:"rc4"}};r.exports=s},function(r,n){var i={};i.random=function(a){for(var s=[],o=function(f){var p=987654321,m=4294967295;return function(){p=36969*(p&65535)+(p>>16)&m,f=18e3*(f&65535)+(f>>16)&m;var b=(p<<16)+f&m;return b/=4294967296,b+=.5,b*(Math.random()>.5?1:-1)}},u=0,c;u<a;u+=4){var l=o((c||Math.random())*4294967296);c=l()*987654071,s.push(l()*4294967296|0)}return new this.Set(s,a)},i.Set=function(a,s){a=this.words=a||[],s!==void 0?this.sigBytes=s:this.sigBytes=a.length*8},r.exports=i},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(6),i(7))})(this,function(a){return function(){var s=a,o=s.lib,u=o.Base,c=o.WordArray,l=s.algo,d=l.SHA1,f=l.HMAC,p=l.PBKDF2=u.extend({cfg:u.extend({keySize:128/32,hasher:d,iterations:1}),init:function(m){this.cfg=this.cfg.extend(m)},compute:function(m,b){for(var _=this.cfg,S=f.create(_.hasher,m),x=c.create(),O=c.create([1]),h=x.words,v=O.words,g=_.keySize,T=_.iterations;h.length<g;){var P=S.update(b).finalize(O);S.reset();for(var k=P.words,w=k.length,A=P,C=1;C<T;C++){A=S.finalize(A),S.reset();for(var E=A.words,$=0;$<w;$++)k[$]^=E[$]}x.concat(P),v[0]++}return x.sigBytes=g*4,x}});s.PBKDF2=function(m,b,_){return p.create(_).compute(m,b)}}(),a.PBKDF2})},function(r,n,i){(function(a,s){r.exports=s()})(this,function(){var a=a||function(s,o){var u=Object.create||function(){function O(){}return function(h){var v;return O.prototype=h,v=new O,O.prototype=null,v}}(),c={},l=c.lib={},d=l.Base=function(){return{extend:function(O){var h=u(this);return O&&h.mixIn(O),(!h.hasOwnProperty("init")||this.init===h.init)&&(h.init=function(){h.$super.init.apply(this,arguments)}),h.init.prototype=h,h.$super=this,h},create:function(){var O=this.extend();return O.init.apply(O,arguments),O},init:function(){},mixIn:function(O){for(var h in O)O.hasOwnProperty(h)&&(this[h]=O[h]);O.hasOwnProperty("toString")&&(this.toString=O.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=l.WordArray=d.extend({init:function(O,h){O=this.words=O||[],h!=o?this.sigBytes=h:this.sigBytes=O.length*4},toString:function(O){return(O||m).stringify(this)},concat:function(O){var h=this.words,v=O.words,g=this.sigBytes,T=O.sigBytes;if(this.clamp(),g%4)for(var P=0;P<T;P++){var k=v[P>>>2]>>>24-P%4*8&255;h[g+P>>>2]|=k<<24-(g+P)%4*8}else for(var P=0;P<T;P+=4)h[g+P>>>2]=v[P>>>2];return this.sigBytes+=T,this},clamp:function(){var O=this.words,h=this.sigBytes;O[h>>>2]&=4294967295<<32-h%4*8,O.length=s.ceil(h/4)},clone:function(){var O=d.clone.call(this);return O.words=this.words.slice(0),O},random:function(O){for(var h=[],v=function(w){var w=w,A=987654321,C=4294967295;return function(){A=36969*(A&65535)+(A>>16)&C,w=18e3*(w&65535)+(w>>16)&C;var E=(A<<16)+w&C;return E/=4294967296,E+=.5,E*(s.random()>.5?1:-1)}},g=0,T;g<O;g+=4){var P=v((T||s.random())*4294967296);T=P()*987654071,h.push(P()*4294967296|0)}return new f.init(h,O)}}),p=c.enc={},m=p.Hex={stringify:function(O){for(var h=O.words,v=O.sigBytes,g=[],T=0;T<v;T++){var P=h[T>>>2]>>>24-T%4*8&255;g.push((P>>>4).toString(16)),g.push((P&15).toString(16))}return g.join("")},parse:function(O){for(var h=O.length,v=[],g=0;g<h;g+=2)v[g>>>3]|=parseInt(O.substr(g,2),16)<<24-g%8*4;return new f.init(v,h/2)}},b=p.Latin1={stringify:function(O){for(var h=O.words,v=O.sigBytes,g=[],T=0;T<v;T++){var P=h[T>>>2]>>>24-T%4*8&255;g.push(String.fromCharCode(P))}return g.join("")},parse:function(O){for(var h=O.length,v=[],g=0;g<h;g++)v[g>>>2]|=(O.charCodeAt(g)&255)<<24-g%4*8;return new f.init(v,h)}},_=p.Utf8={stringify:function(O){try{return decodeURIComponent(escape(b.stringify(O)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(O){return b.parse(unescape(encodeURIComponent(O)))}},S=l.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(O){typeof O=="string"&&(O=_.parse(O)),this._data.concat(O),this._nDataBytes+=O.sigBytes},_process:function(O){var h=this._data,v=h.words,g=h.sigBytes,T=this.blockSize,P=T*4,k=g/P;O?k=s.ceil(k):k=s.max((k|0)-this._minBufferSize,0);var w=k*T,A=s.min(w*4,g);if(w){for(var C=0;C<w;C+=T)this._doProcessBlock(v,C);var E=v.splice(0,w);h.sigBytes-=A}return new f.init(E,A)},clone:function(){var O=d.clone.call(this);return O._data=this._data.clone(),O},_minBufferSize:0});l.Hasher=S.extend({cfg:d.extend(),init:function(O){this.cfg=this.cfg.extend(O),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(O){return this._append(O),this._process(),this},finalize:function(O){O&&this._append(O);var h=this._doFinalize();return h},blockSize:16,_createHelper:function(O){return function(h,v){return new O.init(v).finalize(h)}},_createHmacHelper:function(O){return function(h,v){return new x.HMAC.init(O,v).finalize(h)}}});var x=c.algo={};return c}(Math);return a})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){return function(){var s=a,o=s.lib,u=o.WordArray,c=o.Hasher,l=s.algo,d=[],f=l.SHA1=c.extend({_doReset:function(){this._hash=new u.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(p,m){for(var b=this._hash.words,_=b[0],S=b[1],x=b[2],O=b[3],h=b[4],v=0;v<80;v++){if(v<16)d[v]=p[m+v]|0;else{var g=d[v-3]^d[v-8]^d[v-14]^d[v-16];d[v]=g<<1|g>>>31}var T=(_<<5|_>>>27)+h+d[v];v<20?T+=(S&x|~S&O)+1518500249:v<40?T+=(S^x^O)+1859775393:v<60?T+=(S&x|S&O|x&O)-1894007588:T+=(S^x^O)-899497514,h=O,O=x,x=S<<30|S>>>2,S=_,_=T}b[0]=b[0]+_|0,b[1]=b[1]+S|0,b[2]=b[2]+x|0,b[3]=b[3]+O|0,b[4]=b[4]+h|0},_doFinalize:function(){var p=this._data,m=p.words,b=this._nDataBytes*8,_=p.sigBytes*8;return m[_>>>5]|=128<<24-_%32,m[(_+64>>>9<<4)+14]=Math.floor(b/4294967296),m[(_+64>>>9<<4)+15]=b,p.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var p=c.clone.call(this);return p._hash=this._hash.clone(),p}});s.SHA1=c._createHelper(f),s.HmacSHA1=c._createHmacHelper(f)}(),a.SHA1})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){(function(){var s=a,o=s.lib,u=o.Base,c=s.enc,l=c.Utf8,d=s.algo;d.HMAC=u.extend({init:function(f,p){f=this._hasher=new f.init,typeof p=="string"&&(p=l.parse(p));var m=f.blockSize,b=m*4;p.sigBytes>b&&(p=f.finalize(p)),p.clamp();for(var _=this._oKey=p.clone(),S=this._iKey=p.clone(),x=_.words,O=S.words,h=0;h<m;h++)x[h]^=1549556828,O[h]^=909522486;_.sigBytes=S.sigBytes=b,this.reset()},reset:function(){var f=this._hasher;f.reset(),f.update(this._iKey)},update:function(f){return this._hasher.update(f),this},finalize:function(f){var p=this._hasher,m=p.finalize(f);p.reset();var b=p.finalize(this._oKey.clone().concat(m));return b}})})()})},function(r,n){var i={};i.Latin1={stringify:function(s){var o=s.words,u=s.sigBytes,c=[],l=void 0,d=void 0;for(l=0;l<u;l++)d=o[l>>>2]>>>24-l%4*8&255,c.push(String.fromCharCode(d));return c.join("")}},i._Utf8={stringify:function(s){try{return decodeURIComponent(escape(i.Latin1.stringify(s)))}catch{throw new Error("Malformed UTF-8 data")}}},r.exports=i},function(r,n){var i={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(s){var o="",u=void 0,c=void 0,l=void 0,d=void 0,f=void 0,p=void 0,m=void 0,b=0;for(s=i._utf8Encode(s);b<s.length;)u=s.charCodeAt(b++),c=s.charCodeAt(b++),l=s.charCodeAt(b++),d=u>>2,f=(u&3)<<4|c>>4,p=(c&15)<<2|l>>6,m=l&63,isNaN(c)?p=m=64:isNaN(l)&&(m=64),o=o+this._keyStr.charAt(d)+this._keyStr.charAt(f)+this._keyStr.charAt(p)+this._keyStr.charAt(m);return o},decode:function(s){var o="",u=void 0,c=void 0,l=void 0,d=void 0,f=void 0,p=void 0,m=void 0,b=0;for(s=s.replace(/[^A-Za-z0-9\+\/\=]/g,"");b<s.length;)d=this._keyStr.indexOf(s.charAt(b++)),f=this._keyStr.indexOf(s.charAt(b++)),p=this._keyStr.indexOf(s.charAt(b++)),m=this._keyStr.indexOf(s.charAt(b++)),u=d<<2|f>>4,c=(f&15)<<4|p>>2,l=(p&3)<<6|m,o=o+String.fromCharCode(u),p!==64&&(o=o+String.fromCharCode(c)),m!==64&&(o=o+String.fromCharCode(l));return o=i._utf8Decode(o),o},_utf8Encode:function(s){s=s.replace(/\r\n/g,`
`);for(var o="",u=0;u<s.length;u++){var c=s.charCodeAt(u);c<128?o+=String.fromCharCode(c):c>127&&c<2048?(o+=String.fromCharCode(c>>6|192),o+=String.fromCharCode(c&63|128)):(o+=String.fromCharCode(c>>12|224),o+=String.fromCharCode(c>>6&63|128),o+=String.fromCharCode(c&63|128))}return o},_utf8Decode:function(s){var o="",u=0,c=void 0,l=void 0,d=void 0;for(c=l=0;u<s.length;)c=s.charCodeAt(u),c<128?(o+=String.fromCharCode(c),u++):c>191&&c<224?(l=s.charCodeAt(u+1),o+=String.fromCharCode((c&31)<<6|l&63),u+=2):(l=s.charCodeAt(u+1),d=s.charCodeAt(u+2),o+=String.fromCharCode((c&15)<<12|(l&63)<<6|d&63),u+=3);return o}};r.exports=i},function(r,n,i){var a,s=function(){var o=String.fromCharCode,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",l={};function d(p,m){if(!l[p]){l[p]={};for(var b=0;b<p.length;b++)l[p][p.charAt(b)]=b}return l[p][m]}var f={compressToBase64:function(p){if(p==null)return"";var m=f._compress(p,6,function(b){return u.charAt(b)});switch(m.length%4){default:case 0:return m;case 1:return m+"===";case 2:return m+"==";case 3:return m+"="}},decompressFromBase64:function(p){return p==null?"":p==""?null:f._decompress(p.length,32,function(m){return d(u,p.charAt(m))})},compressToUTF16:function(p){return p==null?"":f._compress(p,15,function(m){return o(m+32)})+" "},decompressFromUTF16:function(p){return p==null?"":p==""?null:f._decompress(p.length,16384,function(m){return p.charCodeAt(m)-32})},compressToUint8Array:function(p){for(var m=f.compress(p),b=new Uint8Array(m.length*2),_=0,S=m.length;_<S;_++){var x=m.charCodeAt(_);b[_*2]=x>>>8,b[_*2+1]=x%256}return b},decompressFromUint8Array:function(p){if(p==null)return f.decompress(p);for(var m=new Array(p.length/2),b=0,_=m.length;b<_;b++)m[b]=p[b*2]*256+p[b*2+1];var S=[];return m.forEach(function(x){S.push(o(x))}),f.decompress(S.join(""))},compressToEncodedURIComponent:function(p){return p==null?"":f._compress(p,6,function(m){return c.charAt(m)})},decompressFromEncodedURIComponent:function(p){return p==null?"":p==""?null:(p=p.replace(/ /g,"+"),f._decompress(p.length,32,function(m){return d(c,p.charAt(m))}))},compress:function(p){return f._compress(p,16,function(m){return o(m)})},_compress:function(p,m,b){if(p==null)return"";var _,S,x={},O={},h="",v="",g="",T=2,P=3,k=2,w=[],A=0,C=0,E;for(E=0;E<p.length;E+=1)if(h=p.charAt(E),Object.prototype.hasOwnProperty.call(x,h)||(x[h]=P++,O[h]=!0),v=g+h,Object.prototype.hasOwnProperty.call(x,v))g=v;else{if(Object.prototype.hasOwnProperty.call(O,g)){if(g.charCodeAt(0)<256){for(_=0;_<k;_++)A=A<<1,C==m-1?(C=0,w.push(b(A)),A=0):C++;for(S=g.charCodeAt(0),_=0;_<8;_++)A=A<<1|S&1,C==m-1?(C=0,w.push(b(A)),A=0):C++,S=S>>1}else{for(S=1,_=0;_<k;_++)A=A<<1|S,C==m-1?(C=0,w.push(b(A)),A=0):C++,S=0;for(S=g.charCodeAt(0),_=0;_<16;_++)A=A<<1|S&1,C==m-1?(C=0,w.push(b(A)),A=0):C++,S=S>>1}T--,T==0&&(T=Math.pow(2,k),k++),delete O[g]}else for(S=x[g],_=0;_<k;_++)A=A<<1|S&1,C==m-1?(C=0,w.push(b(A)),A=0):C++,S=S>>1;T--,T==0&&(T=Math.pow(2,k),k++),x[v]=P++,g=String(h)}if(g!==""){if(Object.prototype.hasOwnProperty.call(O,g)){if(g.charCodeAt(0)<256){for(_=0;_<k;_++)A=A<<1,C==m-1?(C=0,w.push(b(A)),A=0):C++;for(S=g.charCodeAt(0),_=0;_<8;_++)A=A<<1|S&1,C==m-1?(C=0,w.push(b(A)),A=0):C++,S=S>>1}else{for(S=1,_=0;_<k;_++)A=A<<1|S,C==m-1?(C=0,w.push(b(A)),A=0):C++,S=0;for(S=g.charCodeAt(0),_=0;_<16;_++)A=A<<1|S&1,C==m-1?(C=0,w.push(b(A)),A=0):C++,S=S>>1}T--,T==0&&(T=Math.pow(2,k),k++),delete O[g]}else for(S=x[g],_=0;_<k;_++)A=A<<1|S&1,C==m-1?(C=0,w.push(b(A)),A=0):C++,S=S>>1;T--,T==0&&(T=Math.pow(2,k),k++)}for(S=2,_=0;_<k;_++)A=A<<1|S&1,C==m-1?(C=0,w.push(b(A)),A=0):C++,S=S>>1;for(;;)if(A=A<<1,C==m-1){w.push(b(A));break}else C++;return w.join("")},decompress:function(p){return p==null?"":p==""?null:f._decompress(p.length,32768,function(m){return p.charCodeAt(m)})},_decompress:function(p,m,b){var _=[],S=4,x=4,O=3,h="",v=[],g,T,P,k,w,A,C,E={val:b(0),position:m,index:1};for(g=0;g<3;g+=1)_[g]=g;for(P=0,w=Math.pow(2,2),A=1;A!=w;)k=E.val&E.position,E.position>>=1,E.position==0&&(E.position=m,E.val=b(E.index++)),P|=(k>0?1:0)*A,A<<=1;switch(P){case 0:for(P=0,w=Math.pow(2,8),A=1;A!=w;)k=E.val&E.position,E.position>>=1,E.position==0&&(E.position=m,E.val=b(E.index++)),P|=(k>0?1:0)*A,A<<=1;C=o(P);break;case 1:for(P=0,w=Math.pow(2,16),A=1;A!=w;)k=E.val&E.position,E.position>>=1,E.position==0&&(E.position=m,E.val=b(E.index++)),P|=(k>0?1:0)*A,A<<=1;C=o(P);break;case 2:return""}for(_[3]=C,T=C,v.push(C);;){if(E.index>p)return"";for(P=0,w=Math.pow(2,O),A=1;A!=w;)k=E.val&E.position,E.position>>=1,E.position==0&&(E.position=m,E.val=b(E.index++)),P|=(k>0?1:0)*A,A<<=1;switch(C=P){case 0:for(P=0,w=Math.pow(2,8),A=1;A!=w;)k=E.val&E.position,E.position>>=1,E.position==0&&(E.position=m,E.val=b(E.index++)),P|=(k>0?1:0)*A,A<<=1;_[x++]=o(P),C=x-1,S--;break;case 1:for(P=0,w=Math.pow(2,16),A=1;A!=w;)k=E.val&E.position,E.position>>=1,E.position==0&&(E.position=m,E.val=b(E.index++)),P|=(k>0?1:0)*A,A<<=1;_[x++]=o(P),C=x-1,S--;break;case 2:return v.join("")}if(S==0&&(S=Math.pow(2,O),O++),_[C])h=_[C];else if(C===x)h=T+T.charAt(0);else return null;v.push(h),_[x++]=T+h.charAt(0),S--,T=h,S==0&&(S=Math.pow(2,O),O++)}}};return f}();a=(function(){return s}).call(n,i,n,r),a!==void 0&&(r.exports=a)},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.BlockCipher,c=s.algo,l=[],d=[],f=[],p=[],m=[],b=[],_=[],S=[],x=[],O=[];(function(){for(var g=[],T=0;T<256;T++)T<128?g[T]=T<<1:g[T]=T<<1^283;for(var P=0,k=0,T=0;T<256;T++){var w=k^k<<1^k<<2^k<<3^k<<4;w=w>>>8^w&255^99,l[P]=w,d[w]=P;var A=g[P],C=g[A],E=g[C],$=g[w]*257^w*16843008;f[P]=$<<24|$>>>8,p[P]=$<<16|$>>>16,m[P]=$<<8|$>>>24,b[P]=$;var $=E*16843009^C*65537^A*257^P*16843008;_[w]=$<<24|$>>>8,S[w]=$<<16|$>>>16,x[w]=$<<8|$>>>24,O[w]=$,P?(P=A^g[g[g[E^A]]],k^=g[g[k]]):P=k=1}})();var h=[0,1,2,4,8,16,32,64,128,27,54],v=c.AES=u.extend({_doReset:function(){if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var g=this._keyPriorReset=this._key,T=g.words,P=g.sigBytes/4,k=this._nRounds=P+6,w=(k+1)*4,A=this._keySchedule=[],C=0;C<w;C++)if(C<P)A[C]=T[C];else{var E=A[C-1];C%P?P>6&&C%P==4&&(E=l[E>>>24]<<24|l[E>>>16&255]<<16|l[E>>>8&255]<<8|l[E&255]):(E=E<<8|E>>>24,E=l[E>>>24]<<24|l[E>>>16&255]<<16|l[E>>>8&255]<<8|l[E&255],E^=h[C/P|0]<<24),A[C]=A[C-P]^E}for(var $=this._invKeySchedule=[],D=0;D<w;D++){var C=w-D;if(D%4)var E=A[C];else var E=A[C-4];D<4||C<=4?$[D]=E:$[D]=_[l[E>>>24]]^S[l[E>>>16&255]]^x[l[E>>>8&255]]^O[l[E&255]]}}},encryptBlock:function(g,T){this._doCryptBlock(g,T,this._keySchedule,f,p,m,b,l)},decryptBlock:function(g,T){var P=g[T+1];g[T+1]=g[T+3],g[T+3]=P,this._doCryptBlock(g,T,this._invKeySchedule,_,S,x,O,d);var P=g[T+1];g[T+1]=g[T+3],g[T+3]=P},_doCryptBlock:function(g,T,P,k,w,A,C,E){for(var $=this._nRounds,D=g[T]^P[0],M=g[T+1]^P[1],L=g[T+2]^P[2],N=g[T+3]^P[3],j=4,z=1;z<$;z++){var U=k[D>>>24]^w[M>>>16&255]^A[L>>>8&255]^C[N&255]^P[j++],J=k[M>>>24]^w[L>>>16&255]^A[N>>>8&255]^C[D&255]^P[j++],re=k[L>>>24]^w[N>>>16&255]^A[D>>>8&255]^C[M&255]^P[j++],Y=k[N>>>24]^w[D>>>16&255]^A[M>>>8&255]^C[L&255]^P[j++];D=U,M=J,L=re,N=Y}var U=(E[D>>>24]<<24|E[M>>>16&255]<<16|E[L>>>8&255]<<8|E[N&255])^P[j++],J=(E[M>>>24]<<24|E[L>>>16&255]<<16|E[N>>>8&255]<<8|E[D&255])^P[j++],re=(E[L>>>24]<<24|E[N>>>16&255]<<16|E[D>>>8&255]<<8|E[M&255])^P[j++],Y=(E[N>>>24]<<24|E[D>>>16&255]<<16|E[M>>>8&255]<<8|E[L&255])^P[j++];g[T]=U,g[T+1]=J,g[T+2]=re,g[T+3]=Y},keySize:256/32});s.AES=u._createHelper(v)}(),a.AES})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){return function(){var s=a,o=s.lib,u=o.WordArray,c=s.enc;c.Base64={stringify:function(d){var f=d.words,p=d.sigBytes,m=this._map;d.clamp();for(var b=[],_=0;_<p;_+=3)for(var S=f[_>>>2]>>>24-_%4*8&255,x=f[_+1>>>2]>>>24-(_+1)%4*8&255,O=f[_+2>>>2]>>>24-(_+2)%4*8&255,h=S<<16|x<<8|O,v=0;v<4&&_+v*.75<p;v++)b.push(m.charAt(h>>>6*(3-v)&63));var g=m.charAt(64);if(g)for(;b.length%4;)b.push(g);return b.join("")},parse:function(d){var f=d.length,p=this._map,m=this._reverseMap;if(!m){m=this._reverseMap=[];for(var b=0;b<p.length;b++)m[p.charCodeAt(b)]=b}var _=p.charAt(64);if(_){var S=d.indexOf(_);S!==-1&&(f=S)}return l(d,f,m)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(d,f,p){for(var m=[],b=0,_=0;_<f;_++)if(_%4){var S=p[d.charCodeAt(_-1)]<<_%4*2,x=p[d.charCodeAt(_)]>>>6-_%4*2;m[b>>>2]|=(S|x)<<24-b%4*8,b++}return u.create(m,b)}}(),a.enc.Base64})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){return function(s){var o=a,u=o.lib,c=u.WordArray,l=u.Hasher,d=o.algo,f=[];(function(){for(var x=0;x<64;x++)f[x]=s.abs(s.sin(x+1))*4294967296|0})();var p=d.MD5=l.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(x,O){for(var h=0;h<16;h++){var v=O+h,g=x[v];x[v]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var T=this._hash.words,P=x[O+0],k=x[O+1],w=x[O+2],A=x[O+3],C=x[O+4],E=x[O+5],$=x[O+6],D=x[O+7],M=x[O+8],L=x[O+9],N=x[O+10],j=x[O+11],z=x[O+12],U=x[O+13],J=x[O+14],re=x[O+15],Y=T[0],G=T[1],K=T[2],X=T[3];Y=m(Y,G,K,X,P,7,f[0]),X=m(X,Y,G,K,k,12,f[1]),K=m(K,X,Y,G,w,17,f[2]),G=m(G,K,X,Y,A,22,f[3]),Y=m(Y,G,K,X,C,7,f[4]),X=m(X,Y,G,K,E,12,f[5]),K=m(K,X,Y,G,$,17,f[6]),G=m(G,K,X,Y,D,22,f[7]),Y=m(Y,G,K,X,M,7,f[8]),X=m(X,Y,G,K,L,12,f[9]),K=m(K,X,Y,G,N,17,f[10]),G=m(G,K,X,Y,j,22,f[11]),Y=m(Y,G,K,X,z,7,f[12]),X=m(X,Y,G,K,U,12,f[13]),K=m(K,X,Y,G,J,17,f[14]),G=m(G,K,X,Y,re,22,f[15]),Y=b(Y,G,K,X,k,5,f[16]),X=b(X,Y,G,K,$,9,f[17]),K=b(K,X,Y,G,j,14,f[18]),G=b(G,K,X,Y,P,20,f[19]),Y=b(Y,G,K,X,E,5,f[20]),X=b(X,Y,G,K,N,9,f[21]),K=b(K,X,Y,G,re,14,f[22]),G=b(G,K,X,Y,C,20,f[23]),Y=b(Y,G,K,X,L,5,f[24]),X=b(X,Y,G,K,J,9,f[25]),K=b(K,X,Y,G,A,14,f[26]),G=b(G,K,X,Y,M,20,f[27]),Y=b(Y,G,K,X,U,5,f[28]),X=b(X,Y,G,K,w,9,f[29]),K=b(K,X,Y,G,D,14,f[30]),G=b(G,K,X,Y,z,20,f[31]),Y=_(Y,G,K,X,E,4,f[32]),X=_(X,Y,G,K,M,11,f[33]),K=_(K,X,Y,G,j,16,f[34]),G=_(G,K,X,Y,J,23,f[35]),Y=_(Y,G,K,X,k,4,f[36]),X=_(X,Y,G,K,C,11,f[37]),K=_(K,X,Y,G,D,16,f[38]),G=_(G,K,X,Y,N,23,f[39]),Y=_(Y,G,K,X,U,4,f[40]),X=_(X,Y,G,K,P,11,f[41]),K=_(K,X,Y,G,A,16,f[42]),G=_(G,K,X,Y,$,23,f[43]),Y=_(Y,G,K,X,L,4,f[44]),X=_(X,Y,G,K,z,11,f[45]),K=_(K,X,Y,G,re,16,f[46]),G=_(G,K,X,Y,w,23,f[47]),Y=S(Y,G,K,X,P,6,f[48]),X=S(X,Y,G,K,D,10,f[49]),K=S(K,X,Y,G,J,15,f[50]),G=S(G,K,X,Y,E,21,f[51]),Y=S(Y,G,K,X,z,6,f[52]),X=S(X,Y,G,K,A,10,f[53]),K=S(K,X,Y,G,N,15,f[54]),G=S(G,K,X,Y,k,21,f[55]),Y=S(Y,G,K,X,M,6,f[56]),X=S(X,Y,G,K,re,10,f[57]),K=S(K,X,Y,G,$,15,f[58]),G=S(G,K,X,Y,U,21,f[59]),Y=S(Y,G,K,X,C,6,f[60]),X=S(X,Y,G,K,j,10,f[61]),K=S(K,X,Y,G,w,15,f[62]),G=S(G,K,X,Y,L,21,f[63]),T[0]=T[0]+Y|0,T[1]=T[1]+G|0,T[2]=T[2]+K|0,T[3]=T[3]+X|0},_doFinalize:function(){var x=this._data,O=x.words,h=this._nDataBytes*8,v=x.sigBytes*8;O[v>>>5]|=128<<24-v%32;var g=s.floor(h/4294967296),T=h;O[(v+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,O[(v+64>>>9<<4)+14]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,x.sigBytes=(O.length+1)*4,this._process();for(var P=this._hash,k=P.words,w=0;w<4;w++){var A=k[w];k[w]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}return P},clone:function(){var x=l.clone.call(this);return x._hash=this._hash.clone(),x}});function m(x,O,h,v,g,T,P){var k=x+(O&h|~O&v)+g+P;return(k<<T|k>>>32-T)+O}function b(x,O,h,v,g,T,P){var k=x+(O&v|h&~v)+g+P;return(k<<T|k>>>32-T)+O}function _(x,O,h,v,g,T,P){var k=x+(O^h^v)+g+P;return(k<<T|k>>>32-T)+O}function S(x,O,h,v,g,T,P){var k=x+(h^(O|~v))+g+P;return(k<<T|k>>>32-T)+O}o.MD5=l._createHelper(p),o.HmacMD5=l._createHmacHelper(p)}(Math),a.MD5})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(6),i(7))})(this,function(a){return function(){var s=a,o=s.lib,u=o.Base,c=o.WordArray,l=s.algo,d=l.MD5,f=l.EvpKDF=u.extend({cfg:u.extend({keySize:128/32,hasher:d,iterations:1}),init:function(p){this.cfg=this.cfg.extend(p)},compute:function(p,m){for(var b=this.cfg,_=b.hasher.create(),S=c.create(),x=S.words,O=b.keySize,h=b.iterations;x.length<O;){v&&_.update(v);var v=_.update(p).finalize(m);_.reset();for(var g=1;g<h;g++)v=_.finalize(v),_.reset();S.concat(v)}return S.sigBytes=O*4,S}});s.EvpKDF=function(p,m,b){return f.create(b).compute(p,m)}}(),a.EvpKDF})},function(r,n,i){(function(a,s){r.exports=s(i(5))})(this,function(a){a.lib.Cipher||function(s){var o=a,u=o.lib,c=u.Base,l=u.WordArray,d=u.BufferedBlockAlgorithm,f=o.enc;f.Utf8;var p=f.Base64,m=o.algo,b=m.EvpKDF,_=u.Cipher=d.extend({cfg:c.extend(),createEncryptor:function(E,$){return this.create(this._ENC_XFORM_MODE,E,$)},createDecryptor:function(E,$){return this.create(this._DEC_XFORM_MODE,E,$)},init:function(E,$,D){this.cfg=this.cfg.extend(D),this._xformMode=E,this._key=$,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(E){return this._append(E),this._process()},finalize:function(E){E&&this._append(E);var $=this._doFinalize();return $},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function E($){return typeof $=="string"?C:k}return function($){return{encrypt:function(D,M,L){return E(M).encrypt($,D,M,L)},decrypt:function(D,M,L){return E(M).decrypt($,D,M,L)}}}}()});u.StreamCipher=_.extend({_doFinalize:function(){var E=this._process(!0);return E},blockSize:1});var S=o.mode={},x=u.BlockCipherMode=c.extend({createEncryptor:function(E,$){return this.Encryptor.create(E,$)},createDecryptor:function(E,$){return this.Decryptor.create(E,$)},init:function(E,$){this._cipher=E,this._iv=$}}),O=S.CBC=function(){var E=x.extend();E.Encryptor=E.extend({processBlock:function(D,M){var L=this._cipher,N=L.blockSize;$.call(this,D,M,N),L.encryptBlock(D,M),this._prevBlock=D.slice(M,M+N)}}),E.Decryptor=E.extend({processBlock:function(D,M){var L=this._cipher,N=L.blockSize,j=D.slice(M,M+N);L.decryptBlock(D,M),$.call(this,D,M,N),this._prevBlock=j}});function $(D,M,L){var N=this._iv;if(N){var j=N;this._iv=s}else var j=this._prevBlock;for(var z=0;z<L;z++)D[M+z]^=j[z]}return E}(),h=o.pad={},v=h.Pkcs7={pad:function(E,$){for(var D=$*4,M=D-E.sigBytes%D,L=M<<24|M<<16|M<<8|M,N=[],j=0;j<M;j+=4)N.push(L);var z=l.create(N,M);E.concat(z)},unpad:function(E){var $=E.words[E.sigBytes-1>>>2]&255;E.sigBytes-=$}};u.BlockCipher=_.extend({cfg:_.cfg.extend({mode:O,padding:v}),reset:function(){_.reset.call(this);var E=this.cfg,$=E.iv,D=E.mode;if(this._xformMode==this._ENC_XFORM_MODE)var M=D.createEncryptor;else{var M=D.createDecryptor;this._minBufferSize=1}this._mode=M.call(D,this,$&&$.words)},_doProcessBlock:function(E,$){this._mode.processBlock(E,$)},_doFinalize:function(){var E=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){E.pad(this._data,this.blockSize);var $=this._process(!0)}else{var $=this._process(!0);E.unpad($)}return $},blockSize:128/32});var g=u.CipherParams=c.extend({init:function(E){this.mixIn(E)},toString:function(E){return(E||this.formatter).stringify(this)}}),T=o.format={},P=T.OpenSSL={stringify:function(E){var $=E.ciphertext,D=E.salt;if(D)var M=l.create([1398893684,1701076831]).concat(D).concat($);else var M=$;return M.toString(p)},parse:function(E){var $=p.parse(E),D=$.words;if(D[0]==1398893684&&D[1]==1701076831){var M=l.create(D.slice(2,4));D.splice(0,4),$.sigBytes-=16}return g.create({ciphertext:$,salt:M})}},k=u.SerializableCipher=c.extend({cfg:c.extend({format:P}),encrypt:function(E,$,D,M){M=this.cfg.extend(M);var L=E.createEncryptor(D,M),N=L.finalize($),j=L.cfg;return g.create({ciphertext:N,key:D,iv:j.iv,algorithm:E,mode:j.mode,padding:j.padding,blockSize:E.blockSize,formatter:M.format})},decrypt:function(E,$,D,M){M=this.cfg.extend(M),$=this._parse($,M.format);var L=E.createDecryptor(D,M).finalize($.ciphertext);return L},_parse:function(E,$){return typeof E=="string"?$.parse(E,this):E}}),w=o.kdf={},A=w.OpenSSL={execute:function(E,$,D,M){M||(M=l.random(64/8));var L=b.create({keySize:$+D}).compute(E,M),N=l.create(L.words.slice($),D*4);return L.sigBytes=$*4,g.create({key:L,iv:N,salt:M})}},C=u.PasswordBasedCipher=k.extend({cfg:k.cfg.extend({kdf:A}),encrypt:function(E,$,D,M){M=this.cfg.extend(M);var L=M.kdf.execute(D,E.keySize,E.ivSize);M.iv=L.iv;var N=k.encrypt.call(this,E,$,L.key,M);return N.mixIn(L),N},decrypt:function(E,$,D,M){M=this.cfg.extend(M),$=this._parse($,M.format);var L=M.kdf.execute(D,E.keySize,E.ivSize,$.salt);M.iv=L.iv;var N=k.decrypt.call(this,E,$,L.key,M);return N}})}()})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.WordArray,c=o.BlockCipher,l=s.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],f=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],p=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],m=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],b=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],_=l.DES=c.extend({_doReset:function(){for(var h=this._key,v=h.words,g=[],T=0;T<56;T++){var P=d[T]-1;g[T]=v[P>>>5]>>>31-P%32&1}for(var k=this._subKeys=[],w=0;w<16;w++){for(var A=k[w]=[],C=p[w],T=0;T<24;T++)A[T/6|0]|=g[(f[T]-1+C)%28]<<31-T%6,A[4+(T/6|0)]|=g[28+(f[T+24]-1+C)%28]<<31-T%6;A[0]=A[0]<<1|A[0]>>>31;for(var T=1;T<7;T++)A[T]=A[T]>>>(T-1)*4+3;A[7]=A[7]<<5|A[7]>>>27}for(var E=this._invSubKeys=[],T=0;T<16;T++)E[T]=k[15-T]},encryptBlock:function(h,v){this._doCryptBlock(h,v,this._subKeys)},decryptBlock:function(h,v){this._doCryptBlock(h,v,this._invSubKeys)},_doCryptBlock:function(h,v,g){this._lBlock=h[v],this._rBlock=h[v+1],S.call(this,4,252645135),S.call(this,16,65535),x.call(this,2,858993459),x.call(this,8,16711935),S.call(this,1,1431655765);for(var T=0;T<16;T++){for(var P=g[T],k=this._lBlock,w=this._rBlock,A=0,C=0;C<8;C++)A|=m[C][((w^P[C])&b[C])>>>0];this._lBlock=w,this._rBlock=k^A}var E=this._lBlock;this._lBlock=this._rBlock,this._rBlock=E,S.call(this,1,1431655765),x.call(this,8,16711935),x.call(this,2,858993459),S.call(this,16,65535),S.call(this,4,252645135),h[v]=this._lBlock,h[v+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function S(h,v){var g=(this._lBlock>>>h^this._rBlock)&v;this._rBlock^=g,this._lBlock^=g<<h}function x(h,v){var g=(this._rBlock>>>h^this._lBlock)&v;this._lBlock^=g,this._rBlock^=g<<h}s.DES=c._createHelper(_);var O=l.TripleDES=c.extend({_doReset:function(){var h=this._key,v=h.words;this._des1=_.createEncryptor(u.create(v.slice(0,2))),this._des2=_.createEncryptor(u.create(v.slice(2,4))),this._des3=_.createEncryptor(u.create(v.slice(4,6)))},encryptBlock:function(h,v){this._des1.encryptBlock(h,v),this._des2.decryptBlock(h,v),this._des3.encryptBlock(h,v)},decryptBlock:function(h,v){this._des3.decryptBlock(h,v),this._des2.encryptBlock(h,v),this._des1.decryptBlock(h,v)},keySize:192/32,ivSize:64/32,blockSize:64/32});s.TripleDES=c._createHelper(O)}(),a.TripleDES})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.StreamCipher,c=s.algo,l=[],d=[],f=[],p=c.Rabbit=u.extend({_doReset:function(){for(var b=this._key.words,_=this.cfg.iv,S=0;S<4;S++)b[S]=(b[S]<<8|b[S]>>>24)&16711935|(b[S]<<24|b[S]>>>8)&4278255360;var x=this._X=[b[0],b[3]<<16|b[2]>>>16,b[1],b[0]<<16|b[3]>>>16,b[2],b[1]<<16|b[0]>>>16,b[3],b[2]<<16|b[1]>>>16],O=this._C=[b[2]<<16|b[2]>>>16,b[0]&4294901760|b[1]&65535,b[3]<<16|b[3]>>>16,b[1]&4294901760|b[2]&65535,b[0]<<16|b[0]>>>16,b[2]&4294901760|b[3]&65535,b[1]<<16|b[1]>>>16,b[3]&4294901760|b[0]&65535];this._b=0;for(var S=0;S<4;S++)m.call(this);for(var S=0;S<8;S++)O[S]^=x[S+4&7];if(_){var h=_.words,v=h[0],g=h[1],T=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,P=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,k=T>>>16|P&4294901760,w=P<<16|T&65535;O[0]^=T,O[1]^=k,O[2]^=P,O[3]^=w,O[4]^=T,O[5]^=k,O[6]^=P,O[7]^=w;for(var S=0;S<4;S++)m.call(this)}},_doProcessBlock:function(b,_){var S=this._X;m.call(this),l[0]=S[0]^S[5]>>>16^S[3]<<16,l[1]=S[2]^S[7]>>>16^S[5]<<16,l[2]=S[4]^S[1]>>>16^S[7]<<16,l[3]=S[6]^S[3]>>>16^S[1]<<16;for(var x=0;x<4;x++)l[x]=(l[x]<<8|l[x]>>>24)&16711935|(l[x]<<24|l[x]>>>8)&4278255360,b[_+x]^=l[x]},blockSize:128/32,ivSize:64/32});function m(){for(var b=this._X,_=this._C,S=0;S<8;S++)d[S]=_[S];_[0]=_[0]+1295307597+this._b|0,_[1]=_[1]+3545052371+(_[0]>>>0<d[0]>>>0?1:0)|0,_[2]=_[2]+886263092+(_[1]>>>0<d[1]>>>0?1:0)|0,_[3]=_[3]+1295307597+(_[2]>>>0<d[2]>>>0?1:0)|0,_[4]=_[4]+3545052371+(_[3]>>>0<d[3]>>>0?1:0)|0,_[5]=_[5]+886263092+(_[4]>>>0<d[4]>>>0?1:0)|0,_[6]=_[6]+1295307597+(_[5]>>>0<d[5]>>>0?1:0)|0,_[7]=_[7]+3545052371+(_[6]>>>0<d[6]>>>0?1:0)|0,this._b=_[7]>>>0<d[7]>>>0?1:0;for(var S=0;S<8;S++){var x=b[S]+_[S],O=x&65535,h=x>>>16,v=((O*O>>>17)+O*h>>>15)+h*h,g=((x&4294901760)*x|0)+((x&65535)*x|0);f[S]=v^g}b[0]=f[0]+(f[7]<<16|f[7]>>>16)+(f[6]<<16|f[6]>>>16)|0,b[1]=f[1]+(f[0]<<8|f[0]>>>24)+f[7]|0,b[2]=f[2]+(f[1]<<16|f[1]>>>16)+(f[0]<<16|f[0]>>>16)|0,b[3]=f[3]+(f[2]<<8|f[2]>>>24)+f[1]|0,b[4]=f[4]+(f[3]<<16|f[3]>>>16)+(f[2]<<16|f[2]>>>16)|0,b[5]=f[5]+(f[4]<<8|f[4]>>>24)+f[3]|0,b[6]=f[6]+(f[5]<<16|f[5]>>>16)+(f[4]<<16|f[4]>>>16)|0,b[7]=f[7]+(f[6]<<8|f[6]>>>24)+f[5]|0}s.Rabbit=u._createHelper(p)}(),a.Rabbit})},function(r,n,i){(function(a,s,o){r.exports=s(i(5),i(12),i(13),i(14),i(15))})(this,function(a){return function(){var s=a,o=s.lib,u=o.StreamCipher,c=s.algo,l=c.RC4=u.extend({_doReset:function(){for(var p=this._key,m=p.words,b=p.sigBytes,_=this._S=[],S=0;S<256;S++)_[S]=S;for(var S=0,x=0;S<256;S++){var O=S%b,h=m[O>>>2]>>>24-O%4*8&255;x=(x+_[S]+h)%256;var v=_[S];_[S]=_[x],_[x]=v}this._i=this._j=0},_doProcessBlock:function(p,m){p[m]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var p=this._S,m=this._i,b=this._j,_=0,S=0;S<4;S++){m=(m+1)%256,b=(b+p[m])%256;var x=p[m];p[m]=p[b],p[b]=x,_|=p[(p[m]+p[b])%256]<<24-S*8}return this._i=m,this._j=b,_}s.RC4=u._createHelper(l);var f=c.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var p=this.cfg.drop;p>0;p--)d.call(this)}});s.RC4Drop=u._createHelper(f)}(),a.RC4})}])})})(B5);var ade=B5.exports;const DNe=li(ade);/*!
* vuex v3.6.2
* (c) 2021 Evan You
* @license MIT
*/function sde(t){var e=Number(t.version.split(".")[0]);if(e>=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 ode=typeof window<"u"?window:typeof global<"u"?global:{},Zc=ode.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ude(t){Zc&&(t._devtoolHook=Zc,Zc.emit("vuex:init",t),Zc.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(e,r){Zc.emit("vuex:mutation",e,r)},{prepend:!0}),t.subscribeAction(function(e,r){Zc.emit("vuex:action",e,r)},{prepend:!0}))}function cde(t,e){return t.filter(e)[0]}function OO(t,e){if(e===void 0&&(e=[]),t===null||typeof t!="object")return t;var r=cde(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]=OO(t[i],e)}),n}function Md(t,e){Object.keys(t).forEach(function(r){return e(t[r],r)})}function F5(t){return t!==null&&typeof t=="object"}function lde(t){return t&&typeof t.then=="function"}function dde(t,e){return function(){return t(e)}}var ra=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)||{}},j5={namespaced:{configurable:!0}};j5.namespaced.get=function(){return!!this._rawModule.namespaced};ra.prototype.addChild=function(e,r){this._children[e]=r};ra.prototype.removeChild=function(e){delete this._children[e]};ra.prototype.getChild=function(e){return this._children[e]};ra.prototype.hasChild=function(e){return e in this._children};ra.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)};ra.prototype.forEachChild=function(e){Md(this._children,e)};ra.prototype.forEachGetter=function(e){this._rawModule.getters&&Md(this._rawModule.getters,e)};ra.prototype.forEachAction=function(e){this._rawModule.actions&&Md(this._rawModule.actions,e)};ra.prototype.forEachMutation=function(e){this._rawModule.mutations&&Md(this._rawModule.mutations,e)};Object.defineProperties(ra.prototype,j5);var vc=function(e){this.register([],e,!1)};vc.prototype.get=function(e){return e.reduce(function(r,n){return r.getChild(n)},this.root)};vc.prototype.getNamespace=function(e){var r=this.root;return e.reduce(function(n,i){return r=r.getChild(i),n+(r.namespaced?i+"/":"")},"")};vc.prototype.update=function(e){H5([],this.root,e)};vc.prototype.register=function(e,r,n){var i=this;n===void 0&&(n=!0);var a=new ra(r,n);if(e.length===0)this.root=a;else{var s=this.get(e.slice(0,-1));s.addChild(e[e.length-1],a)}r.modules&&Md(r.modules,function(o,u){i.register(e.concat(u),o,n)})};vc.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)};vc.prototype.isRegistered=function(e){var r=this.get(e.slice(0,-1)),n=e[e.length-1];return r?r.hasChild(n):!1};function H5(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return;H5(t.concat(n),e.getChild(n),r.modules[n])}}var xn,di=function(e){var r=this;e===void 0&&(e={}),!xn&&typeof window<"u"&&window.Vue&&U5(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 vc(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new xn,this._makeLocalGettersCache=Object.create(null);var a=this,s=this,o=s.dispatch,u=s.commit;this.dispatch=function(f,p){return o.call(a,f,p)},this.commit=function(f,p,m){return u.call(a,f,p,m)},this.strict=i;var c=this._modules.root.state;oy(this,c,[],this._modules.root),Sx(this,c),n.forEach(function(d){return d(r)});var l=e.devtools!==void 0?e.devtools:xn.config.devtools;l&&ude(this)},wx={state:{configurable:!0}};wx.state.get=function(){return this._vm._data.$$state};wx.state.set=function(t){};di.prototype.commit=function(e,r,n){var i=this,a=x0(e,r,n),s=a.type,o=a.payload,u={type:s,payload:o},c=this._mutations[s];c&&(this._withCommit(function(){c.forEach(function(d){d(o)})}),this._subscribers.slice().forEach(function(l){return l(u,i.state)}))};di.prototype.dispatch=function(e,r){var n=this,i=x0(e,r),a=i.type,s=i.payload,o={type:a,payload:s},u=this._actions[a];if(u){try{this._actionSubscribers.slice().filter(function(l){return l.before}).forEach(function(l){return l.before(o,n.state)})}catch{}var c=u.length>1?Promise.all(u.map(function(l){return l(s)})):u[0](s);return new Promise(function(l,d){c.then(function(f){try{n._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(o,n.state)})}catch{}l(f)},function(f){try{n._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(o,n.state,f)})}catch{}d(f)})})}};di.prototype.subscribe=function(e,r){return z5(e,this._subscribers,r)};di.prototype.subscribeAction=function(e,r){var n=typeof e=="function"?{before:e}:e;return z5(n,this._actionSubscribers,r)};di.prototype.watch=function(e,r,n){var i=this;return this._watcherVM.$watch(function(){return e(i.state,i.getters)},r,n)};di.prototype.replaceState=function(e){var r=this;this._withCommit(function(){r._vm._data.$$state=e})};di.prototype.registerModule=function(e,r,n){n===void 0&&(n={}),typeof e=="string"&&(e=[e]),this._modules.register(e,r),oy(this,this.state,e,this._modules.get(e),n.preserveState),Sx(this,this.state)};di.prototype.unregisterModule=function(e){var r=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=Ox(r.state,e.slice(0,-1));xn.delete(n,e[e.length-1])}),V5(this)};di.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};di.prototype.hotUpdate=function(e){this._modules.update(e),V5(this,!0)};di.prototype._withCommit=function(e){var r=this._committing;this._committing=!0,e(),this._committing=r};Object.defineProperties(di.prototype,wx);function z5(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 V5(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;oy(t,r,[],t._modules.root,!0),Sx(t,r,e)}function Sx(t,e,r){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={};Md(i,function(o,u){a[u]=dde(o,t),Object.defineProperty(t.getters,u,{get:function(){return t._vm[u]},enumerable:!0})});var s=xn.config.silent;xn.config.silent=!0,t._vm=new xn({data:{$$state:e},computed:a}),xn.config.silent=s,t.strict&&vde(t),n&&(r&&t._withCommit(function(){n._data.$$state=null}),xn.nextTick(function(){return n.$destroy()}))}function oy(t,e,r,n,i){var a=!r.length,s=t._modules.getNamespace(r);if(n.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=n),!a&&!i){var o=Ox(e,r.slice(0,-1)),u=r[r.length-1];t._withCommit(function(){xn.set(o,u,n.state)})}var c=n.context=fde(t,s,r);n.forEachMutation(function(l,d){var f=s+d;pde(t,f,l,c)}),n.forEachAction(function(l,d){var f=l.root?d:s+d,p=l.handler||l;mde(t,f,p,c)}),n.forEachGetter(function(l,d){var f=s+d;gde(t,f,l,c)}),n.forEachChild(function(l,d){oy(t,e,r.concat(d),l,i)})}function fde(t,e,r){var n=e==="",i={dispatch:n?t.dispatch:function(a,s,o){var u=x0(a,s,o),c=u.payload,l=u.options,d=u.type;return(!l||!l.root)&&(d=e+d),t.dispatch(d,c)},commit:n?t.commit:function(a,s,o){var u=x0(a,s,o),c=u.payload,l=u.options,d=u.type;(!l||!l.root)&&(d=e+d),t.commit(d,c,l)}};return Object.defineProperties(i,{getters:{get:n?function(){return t.getters}:function(){return hde(t,e)}},state:{get:function(){return Ox(t.state,r)}}}),i}function hde(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 pde(t,e,r,n){var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(s){r.call(t,n.state,s)})}function mde(t,e,r,n){var i=t._actions[e]||(t._actions[e]=[]);i.push(function(s){var o=r.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},s);return lde(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(u){throw t._devtoolHook.emit("vuex:error",u),u}):o})}function gde(t,e,r,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(a){return r(n.state,n.getters,a.state,a.getters)})}function vde(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function Ox(t,e){return e.reduce(function(r,n){return r[n]},t)}function x0(t,e,r){return F5(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function U5(t){xn&&t===xn||(xn=t,sde(xn))}var G5=cy(function(t,e){var r={};return uy(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){var o=this.$store.state,u=this.$store.getters;if(t){var c=ly(this.$store,"mapState",t);if(!c)return;o=c.context.state,u=c.context.getters}return typeof a=="function"?a.call(this,o,u):o[a]},r[i].vuex=!0}),r}),W5=cy(function(t,e){var r={};return uy(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var o=[],u=arguments.length;u--;)o[u]=arguments[u];var c=this.$store.commit;if(t){var l=ly(this.$store,"mapMutations",t);if(!l)return;c=l.context.commit}return typeof a=="function"?a.apply(this,[c].concat(o)):c.apply(this.$store,[a].concat(o))}}),r}),Y5=cy(function(t,e){var r={};return uy(e).forEach(function(n){var i=n.key,a=n.val;a=t+a,r[i]=function(){if(!(t&&!ly(this.$store,"mapGetters",t)))return this.$store.getters[a]},r[i].vuex=!0}),r}),K5=cy(function(t,e){var r={};return uy(e).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var o=[],u=arguments.length;u--;)o[u]=arguments[u];var c=this.$store.dispatch;if(t){var l=ly(this.$store,"mapActions",t);if(!l)return;c=l.context.dispatch}return typeof a=="function"?a.apply(this,[c].concat(o)):c.apply(this.$store,[a].concat(o))}}),r}),bde=function(t){return{mapState:G5.bind(null,t),mapGetters:Y5.bind(null,t),mapMutations:W5.bind(null,t),mapActions:K5.bind(null,t)}};function uy(t){return yde(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 yde(t){return Array.isArray(t)||F5(t)}function cy(t){return function(e,r){return typeof e!="string"?(r=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,r)}}function ly(t,e,r){var n=t._modulesNamespaceMap[r];return n}function _de(t){t===void 0&&(t={});var e=t.collapsed;e===void 0&&(e=!0);var r=t.filter;r===void 0&&(r=function(l,d,f){return!0});var n=t.transformer;n===void 0&&(n=function(l){return l});var i=t.mutationTransformer;i===void 0&&(i=function(l){return l});var a=t.actionFilter;a===void 0&&(a=function(l,d){return!0});var s=t.actionTransformer;s===void 0&&(s=function(l){return l});var o=t.logMutations;o===void 0&&(o=!0);var u=t.logActions;u===void 0&&(u=!0);var c=t.logger;return c===void 0&&(c=console),function(l){var d=OO(l.state);typeof c>"u"||(o&&l.subscribe(function(f,p){var m=OO(p);if(r(f,d,m)){var b=a2(),_=i(f),S="mutation "+f.type+b;n2(c,S,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",_),c.log("%c next state","color: #4CAF50; font-weight: bold",n(m)),i2(c)}d=m}),u&&l.subscribeAction(function(f,p){if(a(f,p)){var m=a2(),b=s(f),_="action "+f.type+m;n2(c,_,e),c.log("%c action","color: #03A9F4; font-weight: bold",b),i2(c)}}))}}function n2(t,e,r){var n=r?t.groupCollapsed:t.group;try{n.call(t,e)}catch{t.log(e)}}function i2(t){try{t.groupEnd()}catch{t.log("—— log end ——")}}function a2(){var t=new Date;return" @ "+Vm(t.getHours(),2)+":"+Vm(t.getMinutes(),2)+":"+Vm(t.getSeconds(),2)+"."+Vm(t.getMilliseconds(),3)}function wde(t,e){return new Array(e+1).join(t)}function Vm(t,e){return wde("0",e-t.toString().length)+t}var Sde={Store:di,install:U5,version:"3.6.2",mapState:G5,mapMutations:W5,mapGetters:Y5,mapActions:K5,createNamespacedHelpers:bde,createLogger:_de};const INe=Sde;var Ode=function(t){return function(e){return!!e&&typeof e=="object"}(t)&&!function(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||function(n){return n.$$typeof===Tde}(e)}(t)},Tde=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function rh(t,e){return e.clone!==!1&&e.isMergeableObject(t)?sd(Array.isArray(t)?[]:{},t,e):t}function Ede(t,e,r){return t.concat(e).map(function(n){return rh(n,r)})}function s2(t){return Object.keys(t).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return e.propertyIsEnumerable(r)}):[]}(t))}function o2(t,e){try{return e in t}catch{return!1}}function sd(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||Ede,r.isMergeableObject=r.isMergeableObject||Ode,r.cloneUnlessOtherwiseSpecified=rh;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):function(i,a,s){var o={};return s.isMergeableObject(i)&&s2(i).forEach(function(u){o[u]=rh(i[u],s)}),s2(a).forEach(function(u){(function(c,l){return o2(c,l)&&!(Object.hasOwnProperty.call(c,l)&&Object.propertyIsEnumerable.call(c,l))})(i,u)||(o[u]=o2(i,u)&&s.isMergeableObject(a[u])?function(c,l){if(!l.customMerge)return sd;var d=l.customMerge(c);return typeof d=="function"?d:sd}(u,s)(i[u],a[u],s):rh(a[u],s))}),o}(t,e,r):rh(e,r)}sd.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return sd(r,n,e)},{})};var xde=sd;function RNe(t){var e=(t=t||{}).storage||window&&window.localStorage,r=t.key||"vuex";function n(l,d){var f=d.getItem(l);try{return typeof f=="string"?JSON.parse(f):typeof f=="object"?f:void 0}catch{}}function i(){return!0}function a(l,d,f){return f.setItem(l,JSON.stringify(d))}function s(l,d){return Array.isArray(d)?d.reduce(function(f,p){return function(_,S,x,O){return!/^(__proto__|constructor|prototype)$/.test(S)&&((S=S.split?S.split("."):S.slice(0)).slice(0,-1).reduce(function(h,v){return h[v]=h[v]||{}},_)[S.pop()]=x),_}(f,p,(m=l,(m=((b=p).split?b.split("."):b).reduce(function(_,S){return _&&_[S]},m))===void 0?void 0:m));var m,b},{}):l}function o(l){return function(d){return l.subscribe(d)}}(t.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var u,c=function(){return(t.getState||n)(r,e)};return t.fetchBeforeUse&&(u=c()),function(l){t.fetchBeforeUse||(u=c()),typeof u=="object"&&u!==null&&(l.replaceState(t.overwrite?u:xde(l.state,u,{arrayMerge:t.arrayMerger||function(d,f){return f},clone:!1})),(t.rehydrated||function(){})(l)),(t.subscriber||o)(l)(function(d,f){(t.filter||i)(d)&&(t.setState||a)(r,(t.reducer||s)(f,t.paths),e)})}}const q5=Object.prototype.toString;function X5(t){switch(q5.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return As(t,Error)}}function $d(t,e){return q5.call(t)===`[object ${e}]`}function Tx(t){return $d(t,"ErrorEvent")}function u2(t){return $d(t,"DOMError")}function Pde(t){return $d(t,"DOMException")}function Ra(t){return $d(t,"String")}function Ex(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function xx(t){return t===null||Ex(t)||typeof t!="object"&&typeof t!="function"}function od(t){return $d(t,"Object")}function dy(t){return typeof Event<"u"&&As(t,Event)}function Cde(t){return typeof Element<"u"&&As(t,Element)}function Ade(t){return $d(t,"RegExp")}function Dp(t){return!!(t&&t.then&&typeof t.then=="function")}function Mde(t){return od(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function J5(t){return typeof t=="number"&&t!==t}function As(t,e){try{return t instanceof e}catch{return!1}}function Z5(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}function Fl(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function c2(t,e){if(!Array.isArray(t))return"";const r=[];for(let n=0;n<t.length;n++){const i=t[n];try{Z5(i)?r.push("[VueViewModel]"):r.push(String(i))}catch{r.push("[value cannot be serialized]")}}return r.join(e)}function $de(t,e,r=!1){return Ra(t)?Ade(e)?e.test(t):Ra(e)?r?t===e:t.includes(e):!1:!1}function kd(t,e=[],r=!1){return e.some(n=>$de(t,n,r))}function Q5(t,e,r=250,n,i,a,s){if(!a.exception||!a.exception.values||!s||!As(s.originalException,Error))return;const o=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;o&&(a.exception.values=kde(TO(t,e,i,s.originalException,n,a.exception.values,o,0),r))}function TO(t,e,r,n,i,a,s,o){if(a.length>=r+1)return a;let u=[...a];if(As(n[i],Error)){l2(s,o);const c=t(e,n[i]),l=u.length;d2(c,i,l,o),u=TO(t,e,r,n[i],i,[c,...u],c,l)}return Array.isArray(n.errors)&&n.errors.forEach((c,l)=>{if(As(c,Error)){l2(s,o);const d=t(e,c),f=u.length;d2(d,`errors[${l}]`,f,o),u=TO(t,e,r,c,i,[d,...u],d,f)}}),u}function l2(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,is_exception_group:!0,exception_id:e}}function d2(t,e,r,n){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:r,parent_id:n}}function kde(t,e){return t.map(r=>(r.value&&(r.value=Fl(r.value,e)),r))}function Um(t){return t&&t.Math==Math?t:void 0}const Fe=typeof globalThis=="object"&&Um(globalThis)||typeof window=="object"&&Um(window)||typeof self=="object"&&Um(self)||typeof global=="object"&&Um(global)||function(){return this}()||{};function Px(){return Fe}function eH(t,e,r){const n=r||Fe,i=n.__SENTRY__=n.__SENTRY__||{};return i[t]||(i[t]=e())}const jl=Px(),Dde=80;function tc(t,e={}){if(!t)return"<unknown>";try{let r=t;const n=5,i=[];let a=0,s=0;const o=" > ",u=o.length;let c;const l=Array.isArray(e)?e:e.keyAttrs,d=!Array.isArray(e)&&e.maxStringLength||Dde;for(;r&&a++<n&&(c=Ide(r,l),!(c==="html"||a>1&&s+i.length*u+c.length>=d));)i.push(c),s+=c.length,r=r.parentNode;return i.reverse().join(o)}catch{return"<unknown>"}}function Ide(t,e){const r=t,n=[];let i,a,s,o,u;if(!r||!r.tagName)return"";if(jl.HTMLElement&&r instanceof HTMLElement&&r.dataset&&r.dataset.sentryComponent)return r.dataset.sentryComponent;n.push(r.tagName.toLowerCase());const c=e&&e.length?e.filter(d=>r.getAttribute(d)).map(d=>[d,r.getAttribute(d)]):null;if(c&&c.length)c.forEach(d=>{n.push(`[${d[0]}="${d[1]}"]`)});else if(r.id&&n.push(`#${r.id}`),i=r.className,i&&Ra(i))for(a=i.split(/\s+/),u=0;u<a.length;u++)n.push(`.${a[u]}`);const l=["aria-label","type","name","title","alt"];for(u=0;u<l.length;u++)s=l[u],o=r.getAttribute(s),o&&n.push(`[${s}="${o}"]`);return n.join("")}function tH(){try{return jl.document.location.href}catch{return""}}function rH(t){return jl.document&&jl.document.querySelector?jl.document.querySelector(t):null}function nH(t){if(!jl.HTMLElement)return null;let e=t;const r=5;for(let n=0;n<r;n++){if(!e)return null;if(e instanceof HTMLElement&&e.dataset.sentryComponent)return e.dataset.sentryComponent;e=e.parentNode}return null}const Dd=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Rde="Sentry Logger ",EO=["debug","info","warn","error","log","assert","trace"],P0={};function ja(t){if(!("console"in Fe))return t();const e=Fe.console,r={},n=Object.keys(P0);n.forEach(i=>{const a=P0[i];r[i]=e[i],e[i]=a});try{return t()}finally{n.forEach(i=>{e[i]=r[i]})}}function Lde(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return Dd?EO.forEach(r=>{e[r]=(...n)=>{t&&ja(()=>{Fe.console[r](`${Rde}[${r}]:`,...n)})}}):EO.forEach(r=>{e[r]=()=>{}}),e}const W=Lde(),Nde=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Bde(t){return t==="http"||t==="https"}function Id(t,e=!1){const{host:r,path:n,pass:i,port:a,projectId:s,protocol:o,publicKey:u}=t;return`${o}://${u}${e&&i?`:${i}`:""}@${r}${a?`:${a}`:""}/${n&&`${n}/`}${s}`}function iH(t){const e=Nde.exec(t);if(!e){ja(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[r,n,i="",a,s="",o]=e.slice(1);let u="",c=o;const l=c.split("/");if(l.length>1&&(u=l.slice(0,-1).join("/"),c=l.pop()),c){const d=c.match(/^\d+/);d&&(c=d[0])}return aH({host:a,pass:i,path:u,projectId:c,port:s,protocol:r,publicKey:n})}function aH(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Fde(t){if(!Dd)return!0;const{port:e,projectId:r,protocol:n}=t;return["protocol","publicKey","host","projectId"].find(s=>t[s]?!1:(W.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:r.match(/^\d+$/)?Bde(n)?e&&isNaN(parseInt(e,10))?(W.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(W.error(`Invalid Sentry Dsn: Invalid protocol ${n}`),!1):(W.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function sH(t){const e=typeof t=="string"?iH(t):aH(t);if(!(!e||!Fde(e)))return e}class Pa extends Error{constructor(e,r="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=r}}function Ir(t,e,r){if(!(e in t))return;const n=t[e],i=r(n);typeof i=="function"&&oH(i,n),t[e]=i}function Jh(t,e,r){try{Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0})}catch{Dd&&W.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function oH(t,e){try{const r=e.prototype||{};t.prototype=e.prototype=r,Jh(t,"__sentry_original__",e)}catch{}}function Cx(t){return t.__sentry_original__}function jde(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function uH(t){if(X5(t))return{message:t.message,name:t.name,stack:t.stack,...h2(t)};if(dy(t)){const e={type:t.type,target:f2(t.target),currentTarget:f2(t.currentTarget),...h2(t)};return typeof CustomEvent<"u"&&As(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function f2(t){try{return Cde(t)?tc(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function h2(t){if(typeof t=="object"&&t!==null){const e={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}else return{}}function Hde(t,e=40){const r=Object.keys(uH(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=e)return Fl(r[0],e);for(let n=r.length;n>0;n--){const i=r.slice(0,n).join(", ");if(!(i.length>e))return n===r.length?i:Fl(i,e)}return""}function Kr(t){return xO(t,new Map)}function xO(t,e){if(zde(t)){const r=e.get(t);if(r!==void 0)return r;const n={};e.set(t,n);for(const i of Object.keys(t))typeof t[i]<"u"&&(n[i]=xO(t[i],e));return n}if(Array.isArray(t)){const r=e.get(t);if(r!==void 0)return r;const n=[];return e.set(t,n),t.forEach(i=>{n.push(xO(i,e))}),n}return t}function zde(t){if(!od(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||e==="Object"}catch{return!0}}const cH=50,p2=/\(error: (.*)\)/,m2=/captureMessage|captureException/;function lH(...t){const e=t.sort((r,n)=>r[0]-n[0]).map(r=>r[1]);return(r,n=0)=>{const i=[],a=r.split(`
`);for(let s=n;s<a.length;s++){const o=a[s];if(o.length>1024)continue;const u=p2.test(o)?o.replace(p2,"$1"):o;if(!u.match(/\S*Error: /)){for(const c of e){const l=c(u);if(l){i.push(l);break}}if(i.length>=cH)break}}return Ude(i)}}function Vde(t){return Array.isArray(t)?lH(...t):t}function Ude(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop(),e.reverse(),m2.test(e[e.length-1].function||"")&&(e.pop(),m2.test(e[e.length-1].function||"")&&e.pop()),e.slice(0,cH).map(r=>({...r,filename:r.filename||e[e.length-1].filename,function:r.function||"?"}))}const Zw="<anonymous>";function Ms(t){try{return!t||typeof t!="function"?Zw:t.name||Zw}catch{return Zw}}const uv={},g2={};function bc(t,e){uv[t]=uv[t]||[],uv[t].push(e)}function yc(t,e){g2[t]||(e(),g2[t]=!0)}function Hi(t,e){const r=t&&uv[t];if(r)for(const n of r)try{n(e)}catch(i){Dd&&W.error(`Error while triggering instrumentation handler.
Type: ${t}
Name: ${Ms(n)}
Error:`,i)}}function Gde(t){const e="console";bc(e,t),yc(e,Wde)}function Wde(){"console"in Fe&&EO.forEach(function(t){t in Fe.console&&Ir(Fe.console,t,function(e){return P0[t]=e,function(...r){Hi("console",{args:r,level:t});const i=P0[t];i&&i.apply(Fe.console,r)}})})}function Ft(){const t=Fe,e=t.crypto||t.msCrypto;let r=()=>Math.random()*16;try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(r=()=>{const n=new Uint8Array(1);return e.getRandomValues(n),n[0]})}catch{}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,n=>(n^(r()&15)>>n/4).toString(16))}function dH(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function oo(t){const{message:e,event_id:r}=t;if(e)return e;const n=dH(t);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function PO(t,e,r){const n=t.exception=t.exception||{},i=n.values=n.values||[],a=i[0]=i[0]||{};a.value||(a.value=e||""),a.type||(a.type=r||"Error")}function Zh(t,e){const r=dH(t);if(!r)return;const n={type:"generic",handled:!0},i=r.mechanism;if(r.mechanism={...n,...i,...e},e&&"data"in e){const a={...i&&i.data,...e.data};r.mechanism.data=a}}function v2(t){if(t&&t.__sentry_captured__)return!0;try{Jh(t,"__sentry_captured__",!0)}catch{}return!1}function Ax(t){return Array.isArray(t)?t:[t]}const ml=Fe,Yde=1e3;let b2,CO,AO;function fH(t){const e="dom";bc(e,t),yc(e,Kde)}function Kde(){if(!ml.document)return;const t=Hi.bind(null,"dom"),e=y2(t,!0);ml.document.addEventListener("click",e,!1),ml.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(r=>{const n=ml[r]&&ml[r].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Ir(n,"addEventListener",function(i){return function(a,s,o){if(a==="click"||a=="keypress")try{const u=this,c=u.__sentry_instrumentation_handlers__=u.__sentry_instrumentation_handlers__||{},l=c[a]=c[a]||{refCount:0};if(!l.handler){const d=y2(t);l.handler=d,i.call(this,a,d,o)}l.refCount++}catch{}return i.call(this,a,s,o)}}),Ir(n,"removeEventListener",function(i){return function(a,s,o){if(a==="click"||a=="keypress")try{const u=this,c=u.__sentry_instrumentation_handlers__||{},l=c[a];l&&(l.refCount--,l.refCount<=0&&(i.call(this,a,l.handler,o),l.handler=void 0,delete c[a]),Object.keys(c).length===0&&delete u.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,s,o)}}))})}function qde(t){if(t.type!==CO)return!1;try{if(!t.target||t.target._sentryId!==AO)return!1}catch{}return!0}function Xde(t,e){return t!=="keypress"?!1:!e||!e.tagName?!0:!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable)}function y2(t,e=!1){return r=>{if(!r||r._sentryCaptured)return;const n=Jde(r);if(Xde(r.type,n))return;Jh(r,"_sentryCaptured",!0),n&&!n._sentryId&&Jh(n,"_sentryId",Ft());const i=r.type==="keypress"?"input":r.type;qde(r)||(t({event:r,name:i,global:e}),CO=r.type,AO=n?n._sentryId:void 0),clearTimeout(b2),b2=ml.setTimeout(()=>{AO=void 0,CO=void 0},Yde)}}function Jde(t){try{return t.target}catch{return null}}const MO=Px();function hH(){if(!("fetch"in MO))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function $O(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function Zde(){if(typeof EdgeRuntime=="string")return!0;if(!hH())return!1;if($O(MO.fetch))return!0;let t=!1;const e=MO.document;if(e&&typeof e.createElement=="function")try{const r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=$O(r.contentWindow.fetch)),e.head.removeChild(r)}catch(r){Dd&&W.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return t}function Mx(t){const e="fetch";bc(e,t),yc(e,Qde)}function Qde(){Zde()&&Ir(Fe,"fetch",function(t){return function(...e){const{method:r,url:n}=efe(e),i={args:e,fetchData:{method:r,url:n},startTimestamp:Date.now()};return Hi("fetch",{...i}),t.apply(Fe,e).then(a=>{const s={...i,endTimestamp:Date.now(),response:a};return Hi("fetch",s),a},a=>{const s={...i,endTimestamp:Date.now(),error:a};throw Hi("fetch",s),a})}})}function kO(t,e){return!!t&&typeof t=="object"&&!!t[e]}function _2(t){return typeof t=="string"?t:t?kO(t,"url")?t.url:t.toString?t.toString():"":""}function efe(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[r,n]=t;return{url:_2(r),method:kO(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:_2(e),method:kO(e,"method")?String(e.method).toUpperCase():"GET"}}let Gm=null;function pH(t){const e="error";bc(e,t),yc(e,tfe)}function tfe(){Gm=Fe.onerror,Fe.onerror=function(t,e,r,n,i){return Hi("error",{column:n,error:i,line:r,msg:t,url:e}),Gm&&!Gm.__SENTRY_LOADER__?Gm.apply(this,arguments):!1},Fe.onerror.__SENTRY_INSTRUMENTED__=!0}let Wm=null;function mH(t){const e="unhandledrejection";bc(e,t),yc(e,rfe)}function rfe(){Wm=Fe.onunhandledrejection,Fe.onunhandledrejection=function(t){return Hi("unhandledrejection",t),Wm&&!Wm.__SENTRY_LOADER__?Wm.apply(this,arguments):!0},Fe.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Ym=Px();function nfe(){const t=Ym.chrome,e=t&&t.app&&t.app.runtime,r="history"in Ym&&!!Ym.history.pushState&&!!Ym.history.replaceState;return!e&&r}const xf=Fe;let Km;function Ip(t){const e="history";bc(e,t),yc(e,ife)}function ife(){if(!nfe())return;const t=xf.onpopstate;xf.onpopstate=function(...r){const n=xf.location.href,i=Km;if(Km=n,Hi("history",{from:i,to:n}),t)try{return t.apply(this,r)}catch{}};function e(r){return function(...n){const i=n.length>2?n[2]:void 0;if(i){const a=Km,s=String(i);Km=s,Hi("history",{from:a,to:s})}return r.apply(this,n)}}Ir(xf.history,"pushState",e),Ir(xf.history,"replaceState",e)}const afe=Fe,fo="__sentry_xhr_v3__";function $x(t){const e="xhr";bc(e,t),yc(e,sfe)}function sfe(){if(!afe.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;Ir(t,"open",function(e){return function(...r){const n=Date.now(),i=Ra(r[0])?r[0].toUpperCase():void 0,a=ofe(r[1]);if(!i||!a)return e.apply(this,r);this[fo]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const s=()=>{const o=this[fo];if(o&&this.readyState===4){try{o.status_code=this.status}catch{}const u={args:[i,a],endTimestamp:Date.now(),startTimestamp:n,xhr:this};Hi("xhr",u)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?Ir(this,"onreadystatechange",function(o){return function(...u){return s(),o.apply(this,u)}}):this.addEventListener("readystatechange",s),Ir(this,"setRequestHeader",function(o){return function(...u){const[c,l]=u,d=this[fo];return d&&Ra(c)&&Ra(l)&&(d.request_headers[c.toLowerCase()]=l),o.apply(this,u)}}),e.apply(this,r)}}),Ir(t,"send",function(e){return function(...r){const n=this[fo];if(!n)return e.apply(this,r);r[0]!==void 0&&(n.body=r[0]);const i={args:[n.method,n.url],startTimestamp:Date.now(),xhr:this};return Hi("xhr",i),e.apply(this,r)}})}function ofe(t){if(Ra(t))return t;try{return t.toString()}catch{}}function ufe(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function cfe(){return"npm"}function lfe(){return!ufe()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function DO(){return typeof window<"u"&&(!lfe()||dfe())}function dfe(){return Fe.process!==void 0&&Fe.process.type==="renderer"}function ffe(){const t=typeof WeakSet=="function",e=t?new WeakSet:[];function r(i){if(t)return e.has(i)?!0:(e.add(i),!1);for(let a=0;a<e.length;a++)if(e[a]===i)return!0;return e.push(i),!1}function n(i){if(t)e.delete(i);else for(let a=0;a<e.length;a++)if(e[a]===i){e.splice(a,1);break}}return[r,n]}function Ea(t,e=100,r=1/0){try{return IO("",t,e,r)}catch(n){return{ERROR:`**non-serializable** (${n})`}}}function gH(t,e=3,r=100*1024){const n=Ea(t,e);return gfe(n)>r?gH(t,e-1,r):n}function IO(t,e,r=1/0,n=1/0,i=ffe()){const[a,s]=i;if(e==null||["number","boolean","string"].includes(typeof e)&&!J5(e))return e;const o=hfe(t,e);if(!o.startsWith("[object "))return o;if(e.__sentry_skip_normalization__)return e;const u=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:r;if(u===0)return o.replace("object ","");if(a(e))return"[Circular ~]";const c=e;if(c&&typeof c.toJSON=="function")try{const p=c.toJSON();return IO("",p,u-1,n,i)}catch{}const l=Array.isArray(e)?[]:{};let d=0;const f=uH(e);for(const p in f){if(!Object.prototype.hasOwnProperty.call(f,p))continue;if(d>=n){l[p]="[MaxProperties ~]";break}const m=f[p];l[p]=IO(p,m,u-1,n,i),d++}return s(e),l}function hfe(t,e){try{if(t==="domain"&&e&&typeof e=="object"&&e._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&e===global)return"[Global]";if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(Z5(e))return"[VueViewModel]";if(Mde(e))return"[SyntheticEvent]";if(typeof e=="number"&&e!==e)return"[NaN]";if(typeof e=="function")return`[Function: ${Ms(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const r=pfe(e);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}function pfe(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}function mfe(t){return~-encodeURI(t).split(/%..|./).length}function gfe(t){return mfe(JSON.stringify(t))}var ss;(function(t){t[t.PENDING=0]="PENDING";const r=1;t[t.RESOLVED=r]="RESOLVED";const n=2;t[t.REJECTED=n]="REJECTED"})(ss||(ss={}));function ud(t){return new Jn(e=>{e(t)})}function kx(t){return new Jn((e,r)=>{r(t)})}class Jn{constructor(e){Jn.prototype.__init.call(this),Jn.prototype.__init2.call(this),Jn.prototype.__init3.call(this),Jn.prototype.__init4.call(this),this._state=ss.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(r){this._reject(r)}}then(e,r){return new Jn((n,i)=>{this._handlers.push([!1,a=>{if(!e)n(a);else try{n(e(a))}catch(s){i(s)}},a=>{if(!r)i(a);else try{n(r(a))}catch(s){i(s)}}]),this._executeHandlers()})}catch(e){return this.then(r=>r,e)}finally(e){return new Jn((r,n)=>{let i,a;return this.then(s=>{a=!1,i=s,e&&e()},s=>{a=!0,i=s,e&&e()}).then(()=>{if(a){n(i);return}r(i)})})}__init(){this._resolve=e=>{this._setResult(ss.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(ss.REJECTED,e)}}__init3(){this._setResult=(e,r)=>{if(this._state===ss.PENDING){if(Dp(r)){r.then(this._resolve,this._reject);return}this._state=e,this._value=r,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===ss.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach(r=>{r[0]||(this._state===ss.RESOLVED&&r[1](this._value),this._state===ss.REJECTED&&r[2](this._value),r[0]=!0)})}}}function vfe(t){const e=[];function r(){return t===void 0||e.length<t}function n(s){return e.splice(e.indexOf(s),1)[0]}function i(s){if(!r())return kx(new Pa("Not adding Promise because buffer limit was reached."));const o=s();return e.indexOf(o)===-1&&e.push(o),o.then(()=>n(o)).then(null,()=>n(o).then(null,()=>{})),o}function a(s){return new Jn((o,u)=>{let c=e.length;if(!c)return o(!0);const l=setTimeout(()=>{s&&s>0&&o(!1)},s);e.forEach(d=>{ud(d).then(()=>{--c||(clearTimeout(l),o(!0))},u)})})}return{$:e,add:i,drain:a}}function cv(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const r=e[6]||"",n=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:r,hash:n,relative:e[5]+r+n}}const bfe=["fatal","error","warning","log","info","debug"];function yfe(t){return t==="warn"?"warning":bfe.includes(t)?t:"log"}const vH=1e3;function Rp(){return Date.now()/vH}function _fe(){const{performance:t}=Fe;if(!t||!t.now)return Rp;const e=Date.now()-t.now(),r=t.timeOrigin==null?e:t.timeOrigin;return()=>(r+t.now())/vH}const Go=_fe(),gn=(()=>{const{performance:t}=Fe;if(!t||!t.now)return;const e=3600*1e3,r=t.now(),n=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+r-n):e,a=i<e,s=t.timing&&t.timing.navigationStart,u=typeof s=="number"?Math.abs(s+r-n):e,c=u<e;return a||c?i<=u?t.timeOrigin:s:n})(),RO="baggage",bH="sentry-",wfe=/^sentry-/,Sfe=8192;function Ofe(t){if(!Ra(t)&&!Array.isArray(t))return;let e={};if(Array.isArray(t))e=t.reduce((n,i)=>{const a=w2(i);for(const s of Object.keys(a))n[s]=a[s];return n},{});else{if(!t)return;e=w2(t)}const r=Object.entries(e).reduce((n,[i,a])=>{if(i.match(wfe)){const s=i.slice(bH.length);n[s]=a}return n},{});if(Object.keys(r).length>0)return r}function yH(t){if(!t)return;const e=Object.entries(t).reduce((r,[n,i])=>(i&&(r[`${bH}${n}`]=i),r),{});return Tfe(e)}function w2(t){return t.split(",").map(e=>e.split("=").map(r=>decodeURIComponent(r.trim()))).reduce((e,[r,n])=>(e[r]=n,e),{})}function Tfe(t){if(Object.keys(t).length!==0)return Object.entries(t).reduce((e,[r,n],i)=>{const a=`${encodeURIComponent(r)}=${encodeURIComponent(n)}`,s=i===0?a:`${e},${a}`;return s.length>Sfe?(Dd&&W.warn(`Not adding key: ${r} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s},"")}const Efe=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function _H(t){if(!t)return;const e=t.match(Efe);if(!e)return;let r;return e[3]==="1"?r=!0:e[3]==="0"&&(r=!1),{traceId:e[1],parentSampled:r,parentSpanId:e[2]}}function Dx(t,e){const r=_H(t),n=Ofe(e),{traceId:i,parentSpanId:a,parentSampled:s}=r||{};return r?{traceparentData:r,dynamicSamplingContext:n||{},propagationContext:{traceId:i||Ft(),parentSpanId:a||Ft().substring(16),spanId:Ft().substring(16),sampled:s,dsc:n||{}}}:{traceparentData:r,dynamicSamplingContext:void 0,propagationContext:{traceId:i||Ft(),spanId:Ft().substring(16)}}}function Ix(t=Ft(),e=Ft().substring(16),r){let n="";return r!==void 0&&(n=r?"-1":"-0"),`${t}-${e}${n}`}function _c(t,e=[]){return[t,e]}function xfe(t,e){const[r,n]=t;return[r,[...n,e]]}function cd(t,e){const r=t[1];for(const n of r){const i=n[0].type;if(e(n,i))return!0}return!1}function Pfe(t,e){return cd(t,(r,n)=>e.includes(n))}function LO(t,e){return(e||new TextEncoder).encode(t)}function wH(t,e){const[r,n]=t;let i=JSON.stringify(r);function a(s){typeof i=="string"?i=typeof s=="string"?i+s:[LO(i,e),s]:i.push(typeof s=="string"?LO(s,e):s)}for(const s of n){const[o,u]=s;if(a(`
${JSON.stringify(o)}
`),typeof u=="string"||u instanceof Uint8Array)a(u);else{let c;try{c=JSON.stringify(u)}catch{c=JSON.stringify(Ea(u))}a(c)}}return typeof i=="string"?i:Cfe(i)}function Cfe(t){const e=t.reduce((i,a)=>i+a.length,0),r=new Uint8Array(e);let n=0;for(const i of t)r.set(i,n),n+=i.length;return r}function Afe(t,e,r){let n=typeof t=="string"?e.encode(t):t;function i(u){const c=n.subarray(0,u);return n=n.subarray(u+1),c}function a(){let u=n.indexOf(10);return u<0&&(u=n.length),JSON.parse(r.decode(i(u)))}const s=a(),o=[];for(;n.length;){const u=a(),c=typeof u.length=="number"?u.length:void 0;o.push([u,c?i(c):a()])}return[s,o]}function Mfe(t,e){const r=typeof t.data=="string"?LO(t.data,e):t.data;return[Kr({type:"attachment",length:r.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),r]}const $fe={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function S2(t){return $fe[t]}function Rx(t){if(!t||!t.sdk)return;const{name:e,version:r}=t.sdk;return{name:e,version:r}}function SH(t,e,r,n){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!r&&n&&{dsn:Id(n)},...i&&{trace:Kr({...i})}}}function kfe(t,e,r){const n=[{type:"client_report"},{timestamp:r||Rp(),discarded_events:t}];return _c(e?{dsn:e}:{},[n])}const Dfe=60*1e3;function OH(t,e=Date.now()){const r=parseInt(`${t}`,10);if(!isNaN(r))return r*1e3;const n=Date.parse(`${t}`);return isNaN(n)?Dfe:n-e}function Ife(t,e){return t[e]||t.all||0}function TH(t,e,r=Date.now()){return Ife(t,e)>r}function EH(t,{statusCode:e,headers:r},n=Date.now()){const i={...t},a=r&&r["x-sentry-rate-limits"],s=r&&r["retry-after"];if(a)for(const o of a.trim().split(",")){const[u,c]=o.split(":",2),l=parseInt(u,10),d=(isNaN(l)?60:l)*1e3;if(!c)i.all=n+d;else for(const f of c.split(";"))i[f]=n+d}else s?i.all=n+OH(s,n):e===429&&(i.all=n+60*1e3);return i}function Rfe(t,e){return t(e.stack||"",1)}function Lfe(t,e){const r={type:e.name||e.constructor.name,value:e.message},n=Rfe(t,e);return n.length&&(r.stacktrace={frames:n}),r}function Nfe(t,e){return t??e()}function lv(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}const ge=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Lp="production";function Lx(){return eH("globalEventProcessors",()=>[])}function xH(t){Lx().push(t)}function C0(t,e,r,n=0){return new Jn((i,a)=>{const s=t[n];if(e===null||typeof s!="function")i(e);else{const o=s({...e},r);ge&&s.id&&o===null&&W.log(`Event processor "${s.id}" dropped event`),Dp(o)?o.then(u=>C0(t,u,r,n+1).then(i)).then(null,a):C0(t,o,r,n+1).then(i).then(null,a)}})}function PH(t){const e=Go(),r={sid:Ft(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Bfe(r)};return t&&rc(r,t),r}function rc(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||Go(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:Ft()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const r=t.timestamp-t.started;t.duration=r>=0?r:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function CH(t,e){let r={};e?r={status:e}:t.status==="ok"&&(r={status:"exited"}),rc(t,r)}function Bfe(t){return Kr({sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}const Ffe=0,AH=1;function Nx(t){const{spanId:e,traceId:r}=t.spanContext(),{data:n,op:i,parent_span_id:a,status:s,tags:o,origin:u}=xt(t);return Kr({data:n,op:i,parent_span_id:a,span_id:e,status:s,tags:o,trace_id:r,origin:u})}function fy(t){const{traceId:e,spanId:r}=t.spanContext(),n=MH(t);return Ix(e,r,n)}function hy(t){return typeof t=="number"?O2(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?O2(t.getTime()):Go()}function O2(t){return t>9999999999?t/1e3:t}function xt(t){return jfe(t)?t.getSpanJSON():typeof t.toJSON=="function"?t.toJSON():{}}function jfe(t){return typeof t.getSpanJSON=="function"}function MH(t){const{traceFlags:e}=t.spanContext();return!!(e&AH)}function Bx(t,e,r,n,i,a){const{normalizeDepth:s=3,normalizeMaxBreadth:o=1e3}=t,u={...e,event_id:e.event_id||r.event_id||Ft(),timestamp:e.timestamp||Rp()},c=r.integrations||t.integrations.map(_=>_.name);Hfe(u,t),Ufe(u,c),e.type===void 0&&zfe(u,t.stackParser);const l=Wfe(n,r.captureContext);r.mechanism&&Zh(u,r.mechanism);const d=i&&i.getEventProcessors?i.getEventProcessors():[],f=ghe().getScopeData();if(a){const _=a.getScopeData();P2(f,_)}if(l){const _=l.getScopeData();P2(f,_)}const p=[...r.attachments||[],...f.attachments];p.length&&(r.attachments=p),IH(u,f);const m=[...d,...Lx(),...f.eventProcessors];return C0(m,u,r).then(_=>(_&&Vfe(_),typeof s=="number"&&s>0?Gfe(_,s,o):_))}function Hfe(t,e){const{environment:r,release:n,dist:i,maxValueLength:a=250}=e;"environment"in t||(t.environment="environment"in e?r:Lp),t.release===void 0&&n!==void 0&&(t.release=n),t.dist===void 0&&i!==void 0&&(t.dist=i),t.message&&(t.message=Fl(t.message,a));const s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=Fl(s.value,a));const o=t.request;o&&o.url&&(o.url=Fl(o.url,a))}const T2=new WeakMap;function zfe(t,e){const r=Fe._sentryDebugIds;if(!r)return;let n;const i=T2.get(e);i?n=i:(n=new Map,T2.set(e,n));const a=Object.keys(r).reduce((s,o)=>{let u;const c=n.get(o);c?u=c:(u=e(o),n.set(o,u));for(let l=u.length-1;l>=0;l--){const d=u[l];if(d.filename){s[d.filename]=r[o];break}}return s},{});try{t.exception.values.forEach(s=>{s.stacktrace.frames.forEach(o=>{o.filename&&(o.debug_id=a[o.filename])})})}catch{}}function Vfe(t){const e={};try{t.exception.values.forEach(n=>{n.stacktrace.frames.forEach(i=>{i.debug_id&&(i.abs_path?e[i.abs_path]=i.debug_id:i.filename&&(e[i.filename]=i.debug_id),delete i.debug_id)})})}catch{}if(Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const r=t.debug_meta.images;Object.keys(e).forEach(n=>{r.push({type:"sourcemap",code_file:n,debug_id:e[n]})})}function Ufe(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function Gfe(t,e,r){if(!t)return null;const n={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:Ea(i.data,e,r)}}))},...t.user&&{user:Ea(t.user,e,r)},...t.contexts&&{contexts:Ea(t.contexts,e,r)},...t.extra&&{extra:Ea(t.extra,e,r)}};return t.contexts&&t.contexts.trace&&n.contexts&&(n.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(n.contexts.trace.data=Ea(t.contexts.trace.data,e,r))),t.spans&&(n.spans=t.spans.map(i=>{const a=xt(i).data;return a&&(i.data=Ea(a,e,r)),i})),n}function Wfe(t,e){if(!e)return t;const r=t?t.clone():new Ni;return r.update(e),r}function Yfe(t){if(t)return Kfe(t)?{captureContext:t}:Xfe(t)?{captureContext:t}:t}function Kfe(t){return t instanceof Ni||typeof t=="function"}const qfe=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Xfe(t){return Object.keys(t).some(e=>qfe.includes(e))}function Rd(t,e){return vt().captureException(t,Yfe(e))}function Jfe(t,e){const r=typeof e=="string"?e:void 0,n=typeof e!="string"?{captureContext:e}:void 0;return vt().captureMessage(t,r,n)}function Fx(t,e){return vt().captureEvent(t,e)}function Zfe(t){vt().configureScope(t)}function $s(t,e){vt().addBreadcrumb(t,e)}function $H(t,e){vt().setContext(t,e)}function Qfe(t){vt().setExtras(t)}function ehe(t,e){vt().setExtra(t,e)}function the(t){vt().setTags(t)}function rhe(t,e){vt().setTag(t,e)}function nhe(t){vt().setUser(t)}function Np(...t){const e=vt();if(t.length===2){const[r,n]=t;return r?e.withScope(()=>(e.getStackTop().scope=r,n(r))):e.withScope(n)}return e.withScope(t[0])}function ihe(t){return Hx(()=>t(na()))}function ahe(t,e){return vt().startTransaction({...t},e)}async function she(t){const e=qe();return e?e.flush(t):(ge&&W.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function ohe(t){const e=qe();return e?e.close(t):(ge&&W.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function uhe(){return vt().lastEventId()}function qe(){return vt().getClient()}function che(){return!!qe()}function yr(){return vt().getScope()}function E2(t){const e=qe(),r=na(),n=yr(),{release:i,environment:a=Lp}=e&&e.getOptions()||{},{userAgent:s}=Fe.navigator||{},o=PH({release:i,environment:a,user:n.getUser()||r.getUser(),...s&&{userAgent:s},...t}),u=r.getSession();return u&&u.status==="ok"&&rc(u,{status:"exited"}),kH(),r.setSession(o),n.setSession(o),o}function kH(){const t=na(),e=yr(),r=e.getSession()||t.getSession();r&&CH(r),DH(),t.setSession(),e.setSession()}function DH(){const t=na(),e=yr(),r=qe(),n=e.getSession()||t.getSession();n&&r&&r.captureSession&&r.captureSession(n)}function x2(t=!1){if(t){kH();return}DH()}function A0(t){return t.transaction}function py(t,e,r){const n=e.getOptions(),{publicKey:i}=e.getDsn()||{},{segment:a}=r&&r.getUser()||{},s=Kr({environment:n.environment||Lp,release:n.release,user_segment:a,public_key:i,trace_id:t});return e.emit&&e.emit("createDsc",s),s}function Qh(t){const e=qe();if(!e)return{};const r=py(xt(t).trace_id||"",e,yr()),n=A0(t);if(!n)return r;const i=n&&n._frozenDynamicSamplingContext;if(i)return i;const{sampleRate:a,source:s}=n.metadata;a!=null&&(r.sample_rate=`${a}`);const o=xt(n);return s&&s!=="url"&&(r.transaction=o.description),r.sampled=String(MH(n)),e.emit&&e.emit("createDsc",r),r}function IH(t,e){const{fingerprint:r,span:n,breadcrumbs:i,sdkProcessingMetadata:a}=e;lhe(t,e),n&&hhe(t,n),phe(t,r),dhe(t,i),fhe(t,a)}function P2(t,e){const{extra:r,tags:n,user:i,contexts:a,level:s,sdkProcessingMetadata:o,breadcrumbs:u,fingerprint:c,eventProcessors:l,attachments:d,propagationContext:f,transactionName:p,span:m}=e;Pf(t,"extra",r),Pf(t,"tags",n),Pf(t,"user",i),Pf(t,"contexts",a),Pf(t,"sdkProcessingMetadata",o),s&&(t.level=s),p&&(t.transactionName=p),m&&(t.span=m),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),c.length&&(t.fingerprint=[...t.fingerprint,...c]),l.length&&(t.eventProcessors=[...t.eventProcessors,...l]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...f}}function Pf(t,e,r){if(r&&Object.keys(r).length){t[e]={...t[e]};for(const n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[e][n]=r[n])}}function lhe(t,e){const{extra:r,tags:n,user:i,contexts:a,level:s,transactionName:o}=e,u=Kr(r);u&&Object.keys(u).length&&(t.extra={...u,...t.extra});const c=Kr(n);c&&Object.keys(c).length&&(t.tags={...c,...t.tags});const l=Kr(i);l&&Object.keys(l).length&&(t.user={...l,...t.user});const d=Kr(a);d&&Object.keys(d).length&&(t.contexts={...d,...t.contexts}),s&&(t.level=s),o&&(t.transaction=o)}function dhe(t,e){const r=[...t.breadcrumbs||[],...e];t.breadcrumbs=r.length?r:void 0}function fhe(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function hhe(t,e){t.contexts={trace:Nx(e),...t.contexts};const r=A0(e);if(r){t.sdkProcessingMetadata={dynamicSamplingContext:Qh(e),...t.sdkProcessingMetadata};const n=xt(r).description;n&&(t.tags={transaction:n,...t.tags})}}function phe(t,e){t.fingerprint=t.fingerprint?Ax(t.fingerprint):[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}const mhe=100;let Qw;class Ni{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=C2()}static clone(e){return e?e.clone():new Ni}clone(){const e=new Ni;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&rc(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,r){return this._tags={...this._tags,[e]:r},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,r){return this._extra={...this._extra,[e]:r},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,r){return r===null?delete this._contexts[e]:this._contexts[e]=r,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if(typeof e=="function"){const r=e(this);return r instanceof Ni?r:this}return e instanceof Ni?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession),e._propagationContext&&(this._propagationContext=e._propagationContext)):od(e)&&(e=e,this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=C2(),this}addBreadcrumb(e,r){const n=typeof r=="number"?r:mhe;if(n<=0)return this;const i={timestamp:Rp(),...e},a=this._breadcrumbs;return a.push(i),this._breadcrumbs=a.length>n?a.slice(-n):a,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:r,_contexts:n,_tags:i,_extra:a,_user:s,_level:o,_fingerprint:u,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:d,_transactionName:f,_span:p}=this;return{breadcrumbs:e,attachments:r,contexts:n,tags:i,extra:a,user:s,level:o,fingerprint:u||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:d,transactionName:f,span:p}}applyToEvent(e,r={},n=[]){IH(e,this.getScopeData());const i=[...n,...Lx(),...this._eventProcessors];return C0(i,e,r)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,r){const n=r&&r.event_id?r.event_id:Ft();if(!this._client)return W.warn("No client configured on scope - will not capture exception!"),n;const i=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...r,event_id:n},this),n}captureMessage(e,r,n){const i=n&&n.event_id?n.event_id:Ft();if(!this._client)return W.warn("No client configured on scope - will not capture message!"),i;const a=new Error(e);return this._client.captureMessage(e,r,{originalException:e,syntheticException:a,...n,event_id:i},this),i}captureEvent(e,r){const n=r&&r.event_id?r.event_id:Ft();return this._client?(this._client.captureEvent(e,{...r,event_id:n},this),n):(W.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function ghe(){return Qw||(Qw=new Ni),Qw}function C2(){return{traceId:Ft(),spanId:Ft().substring(16)}}const ld="7.99.0",RH=parseFloat(ld),vhe=100;class jx{constructor(e,r,n,i=RH){this._version=i;let a;r?a=r:(a=new Ni,a.setClient(e));let s;n?s=n:(s=new Ni,s.setClient(e)),this._stack=[{scope:a}],e&&this.bindClient(e),this._isolationScope=s}isOlderThan(e){return this._version<e}bindClient(e){const r=this.getStackTop();r.client=e,r.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(e){const r=this.pushScope();let n;try{n=e(r)}catch(i){throw this.popScope(),i}return Dp(n)?n.then(i=>(this.popScope(),i),i=>{throw this.popScope(),i}):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,r){const n=this._lastEventId=r&&r.event_id?r.event_id:Ft(),i=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:i,...r,event_id:n}),n}captureMessage(e,r,n){const i=this._lastEventId=n&&n.event_id?n.event_id:Ft(),a=new Error(e);return this.getScope().captureMessage(e,r,{originalException:e,syntheticException:a,...n,event_id:i}),i}captureEvent(e,r){const n=r&&r.event_id?r.event_id:Ft();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...r,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,r){const{scope:n,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:s=vhe}=i.getOptions&&i.getOptions()||{};if(s<=0)return;const u={timestamp:Rp(),...e},c=a?ja(()=>a(u,r)):u;c!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",c,r),n.addBreadcrumb(c,s))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,r){this.getScope().setTag(e,r),this.getIsolationScope().setTag(e,r)}setExtra(e,r){this.getScope().setExtra(e,r),this.getIsolationScope().setExtra(e,r)}setContext(e,r){this.getScope().setContext(e,r),this.getIsolationScope().setContext(e,r)}configureScope(e){const{scope:r,client:n}=this.getStackTop();n&&e(r)}run(e){const r=NO(this);try{e(this)}finally{NO(r)}}getIntegration(e){const r=this.getClient();if(!r)return null;try{return r.getIntegration(e)}catch{return ge&&W.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,r){const n=this._callExtensionMethod("startTransaction",e,r);return ge&&!n&&(this.getClient()?W.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
Sentry.addTracingExtensions();
Sentry.init({...});
`):W.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const r=this.getStackTop().scope,n=r.getSession();n&&CH(n),this._sendSessionUpdate(),r.setSession()}startSession(e){const{scope:r,client:n}=this.getStackTop(),{release:i,environment:a=Lp}=n&&n.getOptions()||{},{userAgent:s}=Fe.navigator||{},o=PH({release:i,environment:a,user:r.getUser(),...s&&{userAgent:s},...e}),u=r.getSession&&r.getSession();return u&&u.status==="ok"&&rc(u,{status:"exited"}),this.endSession(),r.setSession(o),o}shouldSendDefaultPii(){const e=this.getClient(),r=e&&e.getOptions();return!!(r&&r.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:r}=this.getStackTop(),n=e.getSession();n&&r&&r.captureSession&&r.captureSession(n)}_callExtensionMethod(e,...r){const i=Ld().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[e]=="function")return i.extensions[e].apply(this,r);ge&&W.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function Ld(){return Fe.__SENTRY__=Fe.__SENTRY__||{extensions:{},hub:void 0},Fe}function NO(t){const e=Ld(),r=M0(e);return LH(e,t),r}function vt(){const t=Ld();if(t.__SENTRY__&&t.__SENTRY__.acs){const e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return bhe(t)}function na(){return vt().getIsolationScope()}function bhe(t=Ld()){return(!yhe(t)||M0(t).isOlderThan(RH))&&LH(t,new jx),M0(t)}function Hx(t,e={}){const r=Ld();return r.__SENTRY__&&r.__SENTRY__.acs?r.__SENTRY__.acs.runWithAsyncContext(t,e):t()}function yhe(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function M0(t){return eH("hub",()=>new jx,t)}function LH(t,e){if(!t)return!1;const r=t.__SENTRY__=t.__SENTRY__||{};return r.hub=e,!0}function Wo(t){return(t||vt()).getScope().getTransaction()}const _he=_H;let A2=!1;function whe(){A2||(A2=!0,pH(BO),mH(BO))}function BO(){const t=Wo();if(t){const e="internal_error";ge&&W.log(`[Tracing] Transaction: ${e} -> Global error occured`),t.setStatus(e)}}BO.tag="sentry_tracingErrorCallback";const An="sentry.source",Cl="sentry.sample_rate",qm="sentry.op",Al="sentry.origin";var M2;(function(t){const e="ok";t.Ok=e;const r="deadline_exceeded";t.DeadlineExceeded=r;const n="unauthenticated";t.Unauthenticated=n;const i="permission_denied";t.PermissionDenied=i;const a="not_found";t.NotFound=a;const s="resource_exhausted";t.ResourceExhausted=s;const o="invalid_argument";t.InvalidArgument=o;const u="unimplemented";t.Unimplemented=u;const c="unavailable";t.Unavailable=c;const l="internal_error";t.InternalError=l;const d="unknown_error";t.UnknownError=d;const f="cancelled";t.Cancelled=f;const p="already_exists";t.AlreadyExists=p;const m="failed_precondition";t.FailedPrecondition=m;const b="aborted";t.Aborted=b;const _="out_of_range";t.OutOfRange=_;const S="data_loss";t.DataLoss=S})(M2||(M2={}));function zx(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}const She=zx;function Vx(t,e){t.setTag("http.status_code",String(e)),t.setData("http.response.status_code",e);const r=zx(e);r!=="unknown_error"&&t.setStatus(r)}class NH{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class Ux{constructor(e={}){this._traceId=e.traceId||Ft(),this._spanId=e.spanId||Ft().substring(16),this._startTime=e.startTimestamp||Go(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[Al]:e.origin||"manual",[qm]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp)}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[qm]}set op(e){this.setAttribute(qm,e)}get origin(){return this._attributes[Al]}set origin(e){this.setAttribute(Al,e)}spanContext(){const{_spanId:e,_traceId:r,_sampled:n}=this;return{spanId:e,traceId:r,traceFlags:n?AH:Ffe}}startChild(e){const r=new Ux({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});r.spanRecorder=this.spanRecorder,r.spanRecorder&&r.spanRecorder.add(r);const n=A0(this);if(r.transaction=n,ge&&n){const i=e&&e.op||"< unknown op >",a=xt(r).description||"< unknown name >",s=n.spanContext().spanId,o=`[Tracing] Starting '${i}' span on transaction '${a}' (${s}).`;W.log(o),this._logMessage=o}return r}setTag(e,r){return this.tags={...this.tags,[e]:r},this}setData(e,r){return this.data={...this.data,[e]:r},this}setAttribute(e,r){r===void 0?delete this._attributes[e]:this._attributes[e]=r}setAttributes(e){Object.keys(e).forEach(r=>this.setAttribute(r,e[r]))}setStatus(e){return this._status=e,this}setHttpStatus(e){return Vx(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return this._status==="ok"}finish(e){return this.end(e)}end(e){if(this._endTime)return;const r=A0(this);if(ge&&r&&r.spanContext().spanId!==this._spanId){const n=this._logMessage;n&&W.log(n.replace("Starting","Finishing"))}this._endTime=hy(e)}toTraceparent(){return fy(this)}toContext(){return Kr({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return Nx(this)}getSpanJSON(){return Kr({data:this._getData(),description:this._name,op:this._attributes[qm],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Al]})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:e,_attributes:r}=this,n=Object.keys(e).length>0,i=Object.keys(r).length>0;if(!(!n&&!i))return n&&i?{...e,...r}:n?e:r}}class BH extends Ux{constructor(e,r){super(e),this._measurements={},this._contexts={},this._hub=r||vt(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;const n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[An]&&{source:this._attributes[An]},...this._attributes[Cl]&&{sampleRate:this._attributes[Cl]}}}set metadata(e){this._metadata=e}setName(e,r="custom"){this._name=e,this.setAttribute(An,r)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new NH(e)),this.spanRecorder.add(this)}setContext(e,r){r===null?delete this._contexts[e]:this._contexts[e]=r}setMeasurement(e,r,n=""){this._measurements[e]={value:r,unit:n}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){const r=hy(e),n=this._finishTransaction(r);if(n)return this._hub.captureEvent(n)}toContext(){const e=super.toContext();return Kr({...e,name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return Qh(this)}setHub(e){this._hub=e}_finishTransaction(e){if(this._endTime!==void 0)return;this._name||(ge&&W.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>"),super.end(e);const r=this._hub.getClient();if(r&&r.emit&&r.emit("finishTransaction",this),this._sampled!==!0){ge&&W.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),r&&r.recordDroppedEvent("sample_rate","transaction");return}const n=this.spanRecorder?this.spanRecorder.spans.filter(u=>u!==this&&xt(u).timestamp):[];if(this._trimEnd&&n.length>0){const u=n.map(c=>xt(c).timestamp).filter(Boolean);this._endTime=u.reduce((c,l)=>c>l?c:l)}const{metadata:i}=this,{source:a}=i,s={contexts:{...this._contexts,trace:Nx(this)},spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...i,dynamicSamplingContext:Qh(this)},...a&&{transaction_info:{source:a}}};return Object.keys(this._measurements).length>0&&(ge&&W.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),s.measurements=this._measurements),ge&&W.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),s}}const wh={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},Ohe="finishReason",Qc=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class The extends NH{constructor(e,r,n,i){super(i),this._pushActivity=e,this._popActivity=r,this.transactionSpanId=n}add(e){if(e.spanContext().spanId!==this.transactionSpanId){const r=e.end;e.end=(...n)=>(this._popActivity(e.spanContext().spanId),r.apply(e,n)),xt(e).timestamp===void 0&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class Ehe extends BH{constructor(e,r,n=wh.idleTimeout,i=wh.finalTimeout,a=wh.heartbeatInterval,s=!1,o=!1){super(e,r),this._idleHub=r,this._idleTimeout=n,this._finalTimeout=i,this._heartbeatInterval=a,this._onScope=s,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=Qc[4],this._autoFinishAllowed=!o,s&&(ge&&W.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),r.getScope().setSpan(this)),o||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=Qc[3],this.end())},this._finalTimeout)}end(e){const r=hy(e);if(this._finished=!0,this.activities={},this.op==="ui.action.click"&&this.setAttribute(Ohe,this._finishReason),this.spanRecorder){ge&&W.log("[Tracing] finishing IdleTransaction",new Date(r*1e3).toISOString(),this.op);for(const n of this._beforeFinishCallbacks)n(this,r);this.spanRecorder.spans=this.spanRecorder.spans.filter(n=>{if(n.spanContext().spanId===this.spanContext().spanId)return!0;xt(n).timestamp||(n.setStatus("cancelled"),n.end(r),ge&&W.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(n,void 0,2)));const{start_timestamp:i,timestamp:a}=xt(n),s=i&&i<r,o=(this._finalTimeout+this._idleTimeout)/1e3,u=a&&i&&a-i<o;if(ge){const c=JSON.stringify(n,void 0,2);s?u||W.log("[Tracing] discarding Span since it finished after Transaction final timeout",c):W.log("[Tracing] discarding Span since it happened after Transaction was finished",c)}return s&&u}),ge&&W.log("[Tracing] flushing IdleTransaction")}else ge&&W.log("[Tracing] No active IdleTransaction");if(this._onScope){const n=this._idleHub.getScope();n.getTransaction()===this&&n.setSpan(void 0)}return super.end(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const r=i=>{this._finished||this._pushActivity(i)},n=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new The(r,n,this.spanContext().spanId,e),ge&&W.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:r}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=r===!1,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&(this._finishReason=Qc[5],this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(ge&&W.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&(this._finishReason=Qc[1],this.end(e))},this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),ge&&W.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,ge&&W.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(ge&&W.log(`[Tracing] popActivity ${e}`),delete this.activities[e],ge&&W.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const r=Go();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=Qc[5],this.end(r)):this._restartIdleTimeout(r+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(ge&&W.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=Qc[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){ge&&W.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function Nd(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=qe(),r=t||e&&e.getOptions();return!!r&&(r.enableTracing||"tracesSampleRate"in r||"tracesSampler"in r)}function FH(t,e,r){if(!Nd(e))return t.sampled=!1,t;if(t.sampled!==void 0)return t.setAttribute(Cl,Number(t.sampled)),t;let n;return typeof e.tracesSampler=="function"?(n=e.tracesSampler(r),t.setAttribute(Cl,Number(n))):r.parentSampled!==void 0?n=r.parentSampled:typeof e.tracesSampleRate<"u"?(n=e.tracesSampleRate,t.setAttribute(Cl,Number(n))):(n=1,t.setAttribute(Cl,n)),xhe(n)?n?(t.sampled=Math.random()<n,t.sampled?(ge&&W.log(`[Tracing] starting ${t.op} transaction - ${xt(t).description}`),t):(ge&&W.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),t)):(ge&&W.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),t.sampled=!1,t):(ge&&W.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)}function xhe(t){return J5(t)||!(typeof t=="number"||typeof t=="boolean")?(ge&&W.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`),!1):t<0||t>1?(ge&&W.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${t}.`),!1):!0}function Phe(){const e=this.getScope().getSpan();return e?{"sentry-trace":fy(e)}:{}}function Che(t,e){const r=this.getClient(),n=r&&r.getOptions()||{},i=n.instrumenter||"sentry",a=t.instrumenter||"sentry";i!==a&&(ge&&W.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${i}\` instrumenter.
The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),t.sampled=!1);let s=new BH(t,this);return s=FH(s,n,{parentSampled:t.parentSampled,transactionContext:t,...e}),s.isRecording()&&s.initSpanRecorder(n._experiments&&n._experiments.maxSpans),r&&r.emit&&r.emit("startTransaction",s),s}function $0(t,e,r,n,i,a,s,o=!1){const u=t.getClient(),c=u&&u.getOptions()||{};let l=new Ehe(e,t,r,n,s,i,o);return l=FH(l,c,{parentSampled:e.parentSampled,transactionContext:e,...a}),l.isRecording()&&l.initSpanRecorder(c._experiments&&c._experiments.maxSpans),u&&u.emit&&u.emit("startTransaction",l),l}function Gx(){const t=Ld();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=Che),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=Phe),whe())}function Wx(t,e,r=()=>{}){let n;try{n=t()}catch(i){throw e(i),r(),i}return Ahe(n,e,r)}function Ahe(t,e,r){return Dp(t)?t.then(n=>(r(),n),n=>{throw e(n),r(),n}):(r(),t)}function Mhe(t,e,r=()=>{},n=()=>{}){const i=vt(),a=yr(),s=a.getSpan(),o=my(t),u=Kx(i,s,o);return a.setSpan(u),Wx(()=>e(u),c=>{u&&u.setStatus("internal_error"),r(c,u)},()=>{u&&u.end(),a.setSpan(s),n()})}function $he(t,e){const r=my(t);return Hx(()=>Np(t.scope,n=>{const i=vt(),a=n.getSpan(),o=t.onlyIfParent&&!a?void 0:Kx(i,a,r);return n.setSpan(o),Wx(()=>e(o),()=>{if(o){const{status:u}=xt(o);(!u||u==="ok")&&o.setStatus("internal_error")}},()=>o&&o.end())}))}function khe(t,e){const r=my(t);return Hx(()=>Np(t.scope,n=>{const i=vt(),a=n.getSpan(),o=t.onlyIfParent&&!a?void 0:Kx(i,a,r);n.setSpan(o);function u(){o&&o.end()}return Wx(()=>e(o,u),()=>{if(o&&o.isRecording()){const{status:c}=xt(o);(!c||c==="ok")&&o.setStatus("internal_error")}})}))}function Yx(t){if(!Nd())return;const e=my(t),r=vt(),n=t.scope?t.scope.getSpan():jH();if(!(t.onlyIfParent&&!n)){if(n)return n.startChild(e);{const a=na(),s=yr(),{traceId:o,dsc:u,parentSpanId:c,sampled:l}={...a.getPropagationContext(),...s.getPropagationContext()};return r.startTransaction({traceId:o,parentSpanId:c,parentSampled:l,...e,metadata:{dynamicSamplingContext:u,...e.metadata}})}}}function jH(){return yr().getSpan()}function Dhe({sentryTrace:t,baggage:e},r){const n=yr(),{traceparentData:i,dynamicSamplingContext:a,propagationContext:s}=Dx(t,e);n.setPropagationContext(s),ge&&i&&W.log(`[Tracing] Continuing trace ${i.traceId}.`);const o={...i,metadata:Kr({dynamicSamplingContext:a})};return r?r(o):o}function Kx(t,e,r){if(Nd()){if(e)return e.startChild(r);{const n=na(),i=yr(),{traceId:a,dsc:s,parentSpanId:o,sampled:u}={...n.getPropagationContext(),...i.getPropagationContext()};return t.startTransaction({traceId:a,parentSpanId:o,parentSampled:u,...r,metadata:{dynamicSamplingContext:s,...r.metadata}})}}}function my(t){if(t.startTime){const e={...t};return e.startTimestamp=hy(t.startTime),delete e.startTime,e}return t}function HH(t,e,r){const n=Wo();n&&n.setMeasurement(t,e,r)}function Ihe(t,e){return e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]]),t}function Rhe(t,e,r,n){const i=Rx(r),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&e&&{dsn:Id(e)}},s="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return _c(a,[s])}function zH(t,e,r,n){const i=Rx(r),a=t.type&&t.type!=="replay_event"?t.type:"event";Ihe(t,r&&r.sdk);const s=SH(t,i,n,e);return delete t.sdkProcessingMetadata,_c(s,[[{type:a},t]])}const Lhe="7";function VH(t){const e=t.protocol?`${t.protocol}:`:"",r=t.port?`:${t.port}`:"";return`${e}//${t.host}${r}${t.path?`/${t.path}`:""}/api/`}function Nhe(t){return`${VH(t)}${t.projectId}/envelope/`}function Bhe(t,e){return jde({sentry_key:t.publicKey,sentry_version:Lhe,...e&&{sentry_client:`${e.name}/${e.version}`}})}function UH(t,e={}){const r=typeof e=="string"?e:e.tunnel,n=typeof e=="string"||!e._metadata?void 0:e._metadata.sdk;return r||`${Nhe(t)}?${Bhe(t,n)}`}function Fhe(t,e){const r=sH(t);if(!r)return"";const n=`${VH(r)}embed/error-page/`;let i=`dsn=${Id(r)}`;for(const a in e)if(a!=="dsn"&&a!=="onClose")if(a==="user"){const s=e.user;if(!s)continue;s.name&&(i+=`&name=${encodeURIComponent(s.name)}`),s.email&&(i+=`&email=${encodeURIComponent(s.email)}`)}else i+=`&${encodeURIComponent(a)}=${encodeURIComponent(e[a])}`;return`${n}?${i}`}const $2=[];function jhe(t){const e={};return t.forEach(r=>{const{name:n}=r,i=e[n];i&&!i.isDefaultInstance&&r.isDefaultInstance||(e[n]=r)}),Object.keys(e).map(r=>e[r])}function Hhe(t){const e=t.defaultIntegrations||[],r=t.integrations;e.forEach(s=>{s.isDefaultInstance=!0});let n;Array.isArray(r)?n=[...e,...r]:typeof r=="function"?n=Ax(r(e)):n=e;const i=jhe(n),a=Uhe(i,s=>s.name==="Debug");if(a!==-1){const[s]=i.splice(a,1);i.push(s)}return i}function zhe(t,e){const r={};return e.forEach(n=>{n&&GH(t,n,r)}),r}function k2(t,e){for(const r of e)r&&r.afterAllSetup&&r.afterAllSetup(t)}function GH(t,e,r){if(r[e.name]){ge&&W.log(`Integration skipped because it was already installed: ${e.name}`);return}if(r[e.name]=e,$2.indexOf(e.name)===-1&&(e.setupOnce(xH,vt),$2.push(e.name)),e.setup&&typeof e.setup=="function"&&e.setup(t),t.on&&typeof e.preprocessEvent=="function"){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",(i,a)=>n(i,a,t))}if(t.addEventProcessor&&typeof e.processEvent=="function"){const n=e.processEvent.bind(e),i=Object.assign((a,s)=>n(a,s,t),{id:e.name});t.addEventProcessor(i)}ge&&W.log(`Integration installed: ${e.name}`)}function Vhe(t){const e=qe();if(!e||!e.addIntegration){ge&&W.warn(`Cannot add integration "${t.name}" because no SDK Client is available.`);return}e.addIntegration(t)}function Uhe(t,e){for(let r=0;r<t.length;r++)if(e(t[r])===!0)return r;return-1}function Fn(t,e){return Object.assign(function(...n){return e(...n)},{id:t})}const WH="c",YH="g",KH="s",qH="d",XH=/[^a-zA-Z0-9_/.-]+/g,Ghe=/[^\w\d_:/@.{}[\]$-]+/g,Whe=5e3;function Yhe(t,e,r,n){const i=Object.entries(Kr(n)).sort((a,s)=>a[0].localeCompare(s[0]));return`${t}${e}${r}${i}`}function Khe(t){let e=0;for(let r=0;r<t.length;r++){const n=t.charCodeAt(r);e=(e<<5)-e+n,e&=e}return e>>>0}function qhe(t){let e="";for(const r of t){const n=Object.entries(r.tags),i=n.length>0?`|#${n.map(([a,s])=>`${a}:${s}`).join(",")}`:"";e+=`${r.name}@${r.unit}:${r.metric}|${r.metricType}${i}|T${r.timestamp}
`}return e}function Xhe(t){const e={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const n=r.replace(XH,"_");e[n]=String(t[r]).replace(Ghe,"_")}return e}function Jhe(t,e,r,n){const i={sent_at:new Date().toISOString()};r&&r.sdk&&(i.sdk={name:r.sdk.name,version:r.sdk.version}),n&&e&&(i.dsn=Id(e));const a=Zhe(t);return _c(i,[a])}function Zhe(t){const e=qhe(t);return[{type:"statsd",length:e.length},e]}const D2="Not capturing exception because it's already been captured.";class Qhe{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=sH(e.dsn):ge&&W.warn("No DSN provided, client will not send events."),this._dsn){const r=UH(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:r})}}captureException(e,r,n){if(v2(e)){ge&&W.log(D2);return}let i=r&&r.event_id;return this._process(this.eventFromException(e,r).then(a=>this._captureEvent(a,r,n)).then(a=>{i=a})),i}captureMessage(e,r,n,i){let a=n&&n.event_id;const s=Ex(e)?e:String(e),o=xx(e)?this.eventFromMessage(s,r,n):this.eventFromException(e,n);return this._process(o.then(u=>this._captureEvent(u,n,i)).then(u=>{a=u})),a}captureEvent(e,r,n){if(r&&r.originalException&&v2(r.originalException)){ge&&W.log(D2);return}let i=r&&r.event_id;return this._process(this._captureEvent(e,r,n).then(a=>{i=a})),i}captureSession(e){typeof e.release!="string"?ge&&W.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),rc(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const r=this._transport;return r?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then(n=>r.flush(e).then(i=>n&&i))):ud(!0)}close(e){return this.flush(e).then(r=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),r))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch{return ge&&W.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){const r=this._integrations[e.name];GH(this,e,this._integrations),r||k2(this,[e])}sendEvent(e,r={}){this.emit("beforeSendEvent",e,r);let n=zH(e,this._dsn,this._options._metadata,this._options.tunnel);for(const a of r.attachments||[])n=xfe(n,Mfe(a,this._options.transportOptions&&this._options.transportOptions.textEncoder));const i=this._sendEnvelope(n);i&&i.then(a=>this.emit("afterSendEvent",e,a),null)}sendSession(e){const r=Rhe(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(r)}recordDroppedEvent(e,r,n){if(this._options.sendClientReports){const i=`${e}:${r}`;ge&&W.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}captureAggregateMetrics(e){ge&&W.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);const r=Jhe(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(r)}on(e,r){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(r)}emit(e,...r){this._hooks[e]&&this._hooks[e].forEach(n=>n(...r))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=zhe(this,e),k2(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,r){let n=!1,i=!1;const a=r.exception&&r.exception.values;if(a){i=!0;for(const u of a){const c=u.mechanism;if(c&&c.handled===!1){n=!0;break}}}const s=e.status==="ok";(s&&e.errors===0||s&&n)&&(rc(e,{...n&&{status:"crashed"},errors:e.errors||Number(i||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Jn(r=>{let n=0;const i=1,a=setInterval(()=>{this._numProcessing==0?(clearInterval(a),r(!0)):(n+=i,e&&n>=e&&(clearInterval(a),r(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,r,n,i=na()){const a=this.getOptions(),s=Object.keys(this._integrations);return!r.integrations&&s.length>0&&(r.integrations=s),this.emit("preprocessEvent",e,r),Bx(a,e,r,n,this,i).then(o=>{if(o===null)return o;const u={...i.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(o.contexts&&o.contexts.trace)&&u){const{traceId:l,spanId:d,parentSpanId:f,dsc:p}=u;o.contexts={trace:{trace_id:l,span_id:d,parent_span_id:f},...o.contexts};const m=p||py(l,this,n);o.sdkProcessingMetadata={dynamicSamplingContext:m,...o.sdkProcessingMetadata}}return o})}_captureEvent(e,r={},n){return this._processEvent(e,r,n).then(i=>i.event_id,i=>{if(ge){const a=i;a.logLevel==="log"?W.log(a.message):W.warn(a)}})}_processEvent(e,r,n){const i=this.getOptions(),{sampleRate:a}=i,s=ZH(e),o=JH(e),u=e.type||"error",c=`before send for type \`${u}\``;if(o&&typeof a=="number"&&Math.random()>a)return this.recordDroppedEvent("sample_rate","error",e),kx(new Pa(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));const l=u==="replay_event"?"replay":u;return this._prepareEvent(e,r,n).then(d=>{if(d===null)throw this.recordDroppedEvent("event_processor",l,e),new Pa("An event processor returned `null`, will not send event.","log");if(r.data&&r.data.__sentry__===!0)return d;const p=tpe(i,d,r);return epe(p,c)}).then(d=>{if(d===null)throw this.recordDroppedEvent("before_send",l,e),new Pa(`${c} returned \`null\`, will not send event.`,"log");const f=n&&n.getSession();!s&&f&&this._updateSessionFromEvent(f,d);const p=d.transaction_info;if(s&&p&&d.transaction!==e.transaction){const m="custom";d.transaction_info={...p,source:m}}return this.sendEvent(d,r),d}).then(null,d=>{throw d instanceof Pa?d:(this.captureException(d,{data:{__sentry__:!0},originalException:d}),new Pa(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${d}`))})}_process(e){this._numProcessing++,e.then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,r=>{ge&&W.error("Error while sending event:",r)});ge&&W.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map(r=>{const[n,i]=r.split(":");return{reason:n,category:i,quantity:e[r]}})}}function epe(t,e){const r=`${e} must return \`null\` or a valid event.`;if(Dp(t))return t.then(n=>{if(!od(n)&&n!==null)throw new Pa(r);return n},n=>{throw new Pa(`${e} rejected with ${n}`)});if(!od(t)&&t!==null)throw new Pa(r);return t}function tpe(t,e,r){const{beforeSend:n,beforeSendTransaction:i}=t;return JH(e)&&n?n(e,r):ZH(e)&&i?i(e,r):e}function JH(t){return t.type===void 0}function ZH(t){return t.type==="transaction"}function QH(t){const e=qe();!e||!e.addEventProcessor||e.addEventProcessor(t)}class rpe{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}}class npe{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,e<this._min&&(this._min=e),e>this._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class ipe{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}}class ape{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map(e=>typeof e=="string"?Khe(e):e).join(":")}}const spe={[WH]:rpe,[YH]:npe,[qH]:ipe,[KH]:ape};function ope(t,e){e.debug===!0&&(ge?W.enable():ja(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),yr().update(e.initialScope);const n=new t(e);ez(n),upe(n)}function ez(t){const r=vt().getStackTop();r.client=t,r.scope.setClient(t)}function upe(t){t.init?t.init():t.setupIntegrations&&t.setupIntegrations()}const cpe=30;function qx(t,e,r=vfe(t.bufferSize||cpe)){let n={};const i=s=>r.drain(s);function a(s){const o=[];if(cd(s,(d,f)=>{const p=S2(f);if(TH(n,p)){const m=I2(d,f);t.recordDroppedEvent("ratelimit_backoff",p,m)}else o.push(d)}),o.length===0)return ud();const u=_c(s[0],o),c=d=>{cd(u,(f,p)=>{const m=I2(f,p);t.recordDroppedEvent(d,S2(p),m)})},l=()=>e({body:wH(u,t.textEncoder)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&ge&&W.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),n=EH(n,d),d),d=>{throw c("network_error"),d});return r.add(l).then(d=>d,d=>{if(d instanceof Pa)return ge&&W.error("Skipped sending event because buffer is full."),c("queue_overflow"),ud();throw d})}return a.__sentry__baseTransport__=!0,{send:a,flush:i}}function I2(t,e){if(!(e!=="event"&&e!=="transaction"))return Array.isArray(t)?t[1]:void 0}const lpe=100,R2=5e3,dpe=36e5;function e1(t,e){ge&&W.info(`[Offline]: ${t}`,e)}function fpe(t){return e=>{const r=t(e),n=e.createStore?e.createStore(e):void 0;let i=R2,a;function s(l,d,f){return Pfe(l,["replay_event","replay_recording","client_report"])?!1:e.shouldStore?e.shouldStore(l,d,f):!0}function o(l){n&&(a&&clearTimeout(a),a=setTimeout(async()=>{a=void 0;const d=await n.pop();d&&(e1("Attempting to send previously queued event"),c(d).catch(f=>{e1("Failed to retry sending",f)}))},l),typeof a!="number"&&a.unref&&a.unref())}function u(){a||(o(i),i=Math.min(i*2,dpe))}async function c(l){try{const d=await r.send(l);let f=lpe;if(d){if(d.headers&&d.headers["retry-after"])f=OH(d.headers["retry-after"]);else if((d.statusCode||0)>=400)return d}return o(f),i=R2,d}catch(d){if(n&&await s(l,d,i))return await n.insert(l),u(),e1("Error sending. Event queued",d),{};throw d}}return e.flushAtStartup&&u(),{send:c,flush:l=>r.flush(l)}}}function tz(t,e){let r;return cd(t,(n,i)=>(e.includes(i)&&(r=Array.isArray(n)?n[1]:void 0),!!r)),r}function hpe(t,e){return r=>{const n=t(r);return{send:async i=>{const a=tz(i,["event","transaction","profile","replay_event"]);return a&&(a.release=e),n.send(i)},flush:i=>n.flush(i)}}}function ppe(t,e){return r=>{const n=t(r),i={};function a(u,c){const l=c?`${u}:${c}`:u;if(!i[l]){const d=iH(u);if(!d)return;const f=UH(d);i[l]=c?hpe(t,c)({...r,url:f}):t({...r,url:f})}return i[l]}async function s(u){function c(f){const p=f&&f.length?f:["event"];return tz(u,p)}const l=e({envelope:u,getEvent:c}).map(f=>typeof f=="string"?a(f,void 0):a(f.dsn,f.release)).filter(f=>!!f);return l.length===0&&l.push(n),(await Promise.all(l.map(f=>f.send(u))))[0]}async function o(u){const c=[...Object.keys(i).map(d=>i[d]),n];return(await Promise.all(c.map(d=>d.flush(u)))).every(d=>d)}return{send:s,flush:o}}}function mpe(t,e){const r=e&&bpe(e)?e.getClient():e,n=r&&r.getDsn(),i=r&&r.getOptions().tunnel;return vpe(t,n)||gpe(t,i)}function gpe(t,e){return e?L2(t)===L2(e):!1}function vpe(t,e){return e?t.includes(e.host):!1}function L2(t){return t[t.length-1]==="/"?t.slice(0,-1):t}function bpe(t){return t.getClient!==void 0}function ype(t,...e){const r=new String(String.raw(t,...e));return r.__sentry_template_string__=t.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),r.__sentry_template_values__=e,r}function _pe(t,e,r=[e],n="npm"){const i=t._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${e}`,packages:r.map(a=>({name:`${n}:@sentry/${a}`,version:ld})),version:ld}),t._metadata=i}const rz=new Map,N2=new Set;function wpe(t){if(Fe._sentryModuleMetadata)for(const e of Object.keys(Fe._sentryModuleMetadata)){const r=Fe._sentryModuleMetadata[e];if(N2.has(e))continue;N2.add(e);const n=t(e);for(const i of n.reverse())if(i.filename){rz.set(i.filename,r);break}}}function Spe(t,e){return wpe(t),rz.get(e)}function Ope(t,e){try{e.exception.values.forEach(r=>{if(r.stacktrace)for(const n of r.stacktrace.frames||[]){if(!n.filename)continue;const i=Spe(t,n.filename);i&&(n.module_metadata=i)}})}catch{}}function Tpe(t){try{t.exception.values.forEach(e=>{if(e.stacktrace)for(const r of e.stacktrace.frames||[])delete r.module_metadata})}catch{}}const nz="ModuleMetadata",Epe=()=>({name:nz,setupOnce(){},setup(t){typeof t.on=="function"&&t.on("beforeEnvelope",e=>{cd(e,(r,n)=>{if(n==="event"){const i=Array.isArray(r)?r[1]:void 0;i&&(Tpe(i),r[1]=i)}})})},processEvent(t,e,r){const n=r.getOptions().stackParser;return Ope(n,t),t}}),iz=Epe,xpe=Fn(nz,iz),Ppe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Cpe=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],az="InboundFilters",Ape=(t={})=>({name:az,setupOnce(){},processEvent(e,r,n){const i=n.getOptions(),a=Mpe(t,i);return $pe(e,a)?null:e}}),Xx=Ape,sz=Fn(az,Xx);function Mpe(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:Ppe],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[],...t.disableTransactionDefaults?[]:Cpe],ignoreInternal:t.ignoreInternal!==void 0?t.ignoreInternal:!0}}function $pe(t,e){return e.ignoreInternal&&Npe(t)?(ge&&W.warn(`Event dropped due to being internal Sentry Error.
Event: ${oo(t)}`),!0):kpe(t,e.ignoreErrors)?(ge&&W.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${oo(t)}`),!0):Dpe(t,e.ignoreTransactions)?(ge&&W.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${oo(t)}`),!0):Ipe(t,e.denyUrls)?(ge&&W.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${oo(t)}.
Url: ${k0(t)}`),!0):Rpe(t,e.allowUrls)?!1:(ge&&W.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${oo(t)}.
Url: ${k0(t)}`),!0)}function kpe(t,e){return t.type||!e||!e.length?!1:Lpe(t).some(r=>kd(r,e))}function Dpe(t,e){if(t.type!=="transaction"||!e||!e.length)return!1;const r=t.transaction;return r?kd(r,e):!1}function Ipe(t,e){if(!e||!e.length)return!1;const r=k0(t);return r?kd(r,e):!1}function Rpe(t,e){if(!e||!e.length)return!0;const r=k0(t);return r?kd(r,e):!0}function Lpe(t){const e=[];t.message&&e.push(t.message);let r;try{r=t.exception.values[t.exception.values.length-1]}catch{}return r&&r.value&&(e.push(r.value),r.type&&e.push(`${r.type}: ${r.value}`)),ge&&e.length===0&&W.error(`Could not extract message for event ${oo(t)}`),e}function Npe(t){try{return t.exception.values[0].type==="SentryError"}catch{}return!1}function Bpe(t=[]){for(let e=t.length-1;e>=0;e--){const r=t[e];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function k0(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch{}return e?Bpe(e):null}catch{return ge&&W.error(`Cannot extract url for event ${oo(t)}`),null}}let B2;const oz="FunctionToString",F2=new WeakMap,Fpe=()=>({name:oz,setupOnce(){B2=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=Cx(this),r=F2.has(qe())&&e!==void 0?e:this;return B2.apply(r,t)}}catch{}},setup(t){F2.set(t,!0)}}),Jx=Fpe,uz=Fn(oz,Jx),jpe="cause",Hpe=5,cz="LinkedErrors",zpe=(t={})=>{const e=t.limit||Hpe,r=t.key||jpe;return{name:cz,setupOnce(){},preprocessEvent(n,i,a){const s=a.getOptions();Q5(Lfe,s.stackParser,s.maxValueLength,r,e,n,i)}}},Vpe=zpe,Upe=Fn(cz,Vpe),Gpe=Object.freeze(Object.defineProperty({__proto__:null,FunctionToString:uz,InboundFilters:sz,LinkedErrors:Upe},Symbol.toStringTag,{value:"Module"}));class Wpe{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),Whe)}add(e,r,n,i="none",a={},s=Go()){const o=Math.floor(s),u=r.replace(XH,"_"),c=Xhe(a),l=Yhe(e,u,i,c),d=this._buckets.get(l);d?(d.metric.add(n),d.timestamp<o&&(d.timestamp=o)):this._buckets.set(l,{metric:new spe[e](n),timestamp:o,metricType:e,name:u,unit:i,tags:c})}flush(){if(this._buckets.size!==0){if(this._client.captureAggregateMetrics){const e=Array.from(this._buckets).map(([,r])=>r);this._client.captureAggregateMetrics(e)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}}const lz="MetricsAggregator",Ype=()=>({name:lz,setupOnce(){},setup(t){t.metricsAggregator=new Wpe(t)}}),dz=Ype,Kpe=Fn(lz,dz);function gy(t,e,r,n={}){const i=qe(),a=yr();if(i){if(!i.metricsAggregator){ge&&W.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs");return}const{unit:s,tags:o,timestamp:u}=n,{release:c,environment:l}=i.getOptions(),d=a.getTransaction(),f={};c&&(f.release=c),l&&(f.environment=l),d&&(f.transaction=xt(d).description||""),ge&&W.log(`Adding value of ${r} to ${t} metric ${e}`),i.metricsAggregator.add(t,e,r,s,{...f,...o},u)}}function qpe(t,e=1,r){gy(WH,t,e,r)}function Xpe(t,e,r){gy(qH,t,e,r)}function Jpe(t,e,r){gy(KH,t,e,r)}function Zpe(t,e,r){gy(YH,t,e,r)}const Qpe={increment:qpe,distribution:Xpe,set:Jpe,gauge:Zpe,MetricsAggregator:Kpe,metricsAggregatorIntegration:dz},eme=Gpe,ut=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ue=Fe;function fz(){Ue&&Ue.document?Ue.document.addEventListener("visibilitychange",()=>{const t=Wo();if(Ue.document.hidden&&t){const e="cancelled",{op:r,status:n}=xt(t);ut&&W.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${r}`),n||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.end()}}):ut&&W.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const Zx=(t,e,r)=>{let n,i;return a=>{e.value>=0&&(a||r)&&(i=e.value-(n||0),(i||n===void 0)&&(n=e.value,e.delta=i,t(e)))}},tme=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,rme=()=>{const t=Ue.performance.timing,e=Ue.performance.navigation.type,r={entryType:"navigation",startTime:0,type:e==2?"back_forward":e===1?"reload":"navigate"};for(const n in t)n!=="navigationStart"&&n!=="toJSON"&&(r[n]=Math.max(t[n]-t.navigationStart,0));return r},hz=()=>Ue.__WEB_VITALS_POLYFILL__?Ue.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||rme()):Ue.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],pz=()=>{const t=hz();return t&&t.activationStart||0},Qx=(t,e)=>{const r=hz();let n="navigate";return r&&(Ue.document.prerendering||pz()>0?n="prerender":n=r.type.replace(/_/g,"-")),{name:t,value:typeof e>"u"?-1:e,rating:"good",delta:0,entries:[],id:tme(),navigationType:n}},vy=(t,e,r)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const n=new PerformanceObserver(i=>{e(i.getEntries())});return n.observe(Object.assign({type:t,buffered:!0},r||{})),n}}catch{}},by=(t,e)=>{const r=n=>{(n.type==="pagehide"||Ue.document.visibilityState==="hidden")&&(t(n),e&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},nme=t=>{const e=Qx("CLS",0);let r,n=0,i=[];const a=o=>{o.forEach(u=>{if(!u.hadRecentInput){const c=i[0],l=i[i.length-1];n&&i.length!==0&&u.startTime-l.startTime<1e3&&u.startTime-c.startTime<5e3?(n+=u.value,i.push(u)):(n=u.value,i=[u]),n>e.value&&(e.value=n,e.entries=i,r&&r())}})},s=vy("layout-shift",a);if(s){r=Zx(t,e);const o=()=>{a(s.takeRecords()),r(!0)};return by(o),o}};let dv=-1;const ime=()=>Ue.document.visibilityState==="hidden"&&!Ue.document.prerendering?0:1/0,ame=()=>{by(({timeStamp:t})=>{dv=t},!0)},eP=()=>(dv<0&&(dv=ime(),ame()),{get firstHiddenTime(){return dv}}),sme=t=>{const e=eP(),r=Qx("FID");let n;const i=o=>{o.startTime<e.firstHiddenTime&&(r.value=o.processingStart-o.startTime,r.entries.push(o),n(!0))},a=o=>{o.forEach(i)},s=vy("first-input",a);n=Zx(t,r),s&&by(()=>{a(s.takeRecords()),s.disconnect()},!0)},j2={},ome=t=>{const e=eP(),r=Qx("LCP");let n;const i=s=>{const o=s[s.length-1];if(o){const u=Math.max(o.startTime-pz(),0);u<e.firstHiddenTime&&(r.value=u,r.entries=[o],n())}},a=vy("largest-contentful-paint",i);if(a){n=Zx(t,r);const s=()=>{j2[r.id]||(i(a.takeRecords()),a.disconnect(),j2[r.id]=!0,n(!0))};return["keydown","click"].forEach(o=>{addEventListener(o,s,{once:!0,capture:!0})}),by(s,!0),s}},Sh={},D0={};let mz,gz,vz;function ume(t,e=!1){return tP("cls",t,lme,mz,e)}function bz(t,e=!1){return tP("lcp",t,fme,vz,e)}function cme(t){return tP("fid",t,dme,gz)}function yy(t,e){return yz(t,e),D0[t]||(hme(t),D0[t]=!0),_z(t,e)}function _y(t,e){const r=Sh[t];if(!(!r||!r.length))for(const n of r)try{n(e)}catch(i){ut&&W.error(`Error while triggering instrumentation handler.
Type: ${t}
Name: ${Ms(n)}
Error:`,i)}}function lme(){return nme(t=>{_y("cls",{metric:t}),mz=t})}function dme(){return sme(t=>{_y("fid",{metric:t}),gz=t})}function fme(){return ome(t=>{_y("lcp",{metric:t}),vz=t})}function tP(t,e,r,n,i=!1){yz(t,e);let a;return D0[t]||(a=r(),D0[t]=!0),n&&e({metric:n}),_z(t,e,i?a:void 0)}function hme(t){const e={};t==="event"&&(e.durationThreshold=0),vy(t,r=>{_y(t,{entries:r})},e)}function yz(t,e){Sh[t]=Sh[t]||[],Sh[t].push(e)}function _z(t,e,r){return()=>{r&&r();const n=Sh[t];if(!n)return;const i=n.indexOf(e);i!==-1&&n.splice(i,1)}}function t1(t){return typeof t=="number"&&isFinite(t)}function dd(t,{startTimestamp:e,...r}){return e&&t.startTimestamp>e&&(t.startTimestamp=e),t.startChild({startTimestamp:e,...r})}const pme=2147483647;function _r(t){return t/1e3}function wz(){return Ue&&Ue.addEventListener&&Ue.performance}let H2=0,cr={},ya,Oh;function Sz(){const t=wz();if(t&&gn){t.mark&&Ue.performance.mark("sentry-tracing-init");const e=vme(),r=mme(),n=gme();return()=>{e(),r(),n()}}return()=>{}}function Oz(){yy("longtask",({entries:t})=>{for(const e of t){const r=Wo();if(!r)return;const n=_r(gn+e.startTime),i=_r(e.duration);r.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+i})}})}function Tz(){yy("event",({entries:t})=>{for(const e of t){const r=Wo();if(!r)return;if(e.name==="click"){const n=_r(gn+e.startTime),i=_r(e.duration),a={description:tc(e.target),op:`ui.interaction.${e.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+i},s=nH(e.target);s&&(a.attributes={"ui.component_name":s}),r.startChild(a)}}})}function mme(){return ume(({metric:t})=>{const e=t.entries[t.entries.length-1];e&&(ut&&W.log("[Measurements] Adding CLS"),cr.cls={value:t.value,unit:""},Oh=e)},!0)}function gme(){return bz(({metric:t})=>{const e=t.entries[t.entries.length-1];e&&(ut&&W.log("[Measurements] Adding LCP"),cr.lcp={value:t.value,unit:"millisecond"},ya=e)},!0)}function vme(){return cme(({metric:t})=>{const e=t.entries[t.entries.length-1];if(!e)return;const r=_r(gn),n=_r(e.startTime);ut&&W.log("[Measurements] Adding FID"),cr.fid={value:t.value,unit:"millisecond"},cr["mark.fid"]={value:r+n,unit:"second"}})}function Ez(t){const e=wz();if(!e||!Ue.performance.getEntries||!gn)return;ut&&W.log("[Tracing] Adding & adjusting spans using Performance API");const r=_r(gn),n=e.getEntries();let i,a;const{op:s,start_timestamp:o}=xt(t);if(n.slice(H2).forEach(u=>{const c=_r(u.startTime),l=_r(u.duration);if(!(t.op==="navigation"&&o&&r+c<o))switch(u.entryType){case"navigation":{yme(t,u,r),i=r+_r(u.responseStart),a=r+_r(u.requestStart);break}case"mark":case"paint":case"measure":{bme(t,u,c,l,r);const d=eP(),f=u.startTime<d.firstHiddenTime;u.name==="first-paint"&&f&&(ut&&W.log("[Measurements] Adding FP"),cr.fp={value:u.startTime,unit:"millisecond"}),u.name==="first-contentful-paint"&&f&&(ut&&W.log("[Measurements] Adding FCP"),cr.fcp={value:u.startTime,unit:"millisecond"});break}case"resource":{wme(t,u,u.name,c,l,r);break}}}),H2=Math.max(n.length-1,0),Sme(t),s==="pageload"){Tme(cr,i,a,o),["fcp","fp","lcp"].forEach(c=>{if(!cr[c]||!o||r>=o)return;const l=cr[c].value,d=r+_r(l),f=Math.abs((d-o)*1e3),p=f-l;ut&&W.log(`[Measurements] Normalized ${c} from ${l} to ${f} (${p})`),cr[c].value=f});const u=cr["mark.fid"];u&&cr.fid&&(dd(t,{description:"first input delay",endTimestamp:u.value+_r(cr.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:u.value}),delete cr["mark.fid"]),"fcp"in cr||delete cr.cls,Object.keys(cr).forEach(c=>{HH(c,cr[c].value,cr[c].unit)}),Ome(t)}ya=void 0,Oh=void 0,cr={}}function bme(t,e,r,n,i){const a=i+r,s=a+n;return dd(t,{description:e.name,endTimestamp:s,op:e.entryType,origin:"auto.resource.browser.metrics",startTimestamp:a}),a}function yme(t,e,r){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{Xm(t,e,n,r)}),Xm(t,e,"secureConnection",r,"TLS/SSL","connectEnd"),Xm(t,e,"fetch",r,"cache","domainLookupStart"),Xm(t,e,"domainLookup",r,"DNS"),_me(t,e,r)}function Xm(t,e,r,n,i,a){const s=a?e[a]:e[`${r}End`],o=e[`${r}Start`];!o||!s||dd(t,{op:"browser",origin:"auto.browser.browser.metrics",description:i||r,startTimestamp:n+_r(o),endTimestamp:n+_r(s)})}function _me(t,e,r){e.responseEnd&&(dd(t,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:r+_r(e.requestStart),endTimestamp:r+_r(e.responseEnd)}),dd(t,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:r+_r(e.responseStart),endTimestamp:r+_r(e.responseEnd)}))}function wme(t,e,r,n,i,a){if(e.initiatorType==="xmlhttprequest"||e.initiatorType==="fetch")return;const s=cv(r),o={};r1(o,e,"transferSize","http.response_transfer_size"),r1(o,e,"encodedBodySize","http.response_content_length"),r1(o,e,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in e&&(o["resource.render_blocking_status"]=e.renderBlockingStatus),s.protocol&&(o["url.scheme"]=s.protocol.split(":").pop()),s.host&&(o["server.address"]=s.host),o["url.same_origin"]=r.includes(Ue.location.origin);const u=a+n,c=u+i;dd(t,{description:r.replace(Ue.location.origin,""),endTimestamp:c,op:e.initiatorType?`resource.${e.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:u,data:o})}function Sme(t){const e=Ue.navigator;if(!e)return;const r=e.connection;r&&(r.effectiveType&&t.setTag("effectiveConnectionType",r.effectiveType),r.type&&t.setTag("connectionType",r.type),t1(r.rtt)&&(cr["connection.rtt"]={value:r.rtt,unit:"millisecond"})),t1(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`),t1(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}function Ome(t){ya&&(ut&&W.log("[Measurements] Adding LCP Data"),ya.element&&t.setTag("lcp.element",tc(ya.element)),ya.id&&t.setTag("lcp.id",ya.id),ya.url&&t.setTag("lcp.url",ya.url.trim().slice(0,200)),t.setTag("lcp.size",ya.size)),Oh&&Oh.sources&&(ut&&W.log("[Measurements] Adding CLS Data"),Oh.sources.forEach((e,r)=>t.setTag(`cls.source.${r+1}`,tc(e.node))))}function r1(t,e,r,n){const i=e[r];i!=null&&i<pme&&(t[n]=i)}function Tme(t,e,r,n){typeof e=="number"&&n&&(ut&&W.log("[Measurements] Adding TTFB"),t.ttfb={value:Math.max(e-n,0)*1e3,unit:"millisecond"},typeof r=="number"&&r<=e&&(t["ttfb.requestTime"]={value:(e-r)*1e3,unit:"millisecond"}))}function Eme(t,e,r,n,i="auto.http.browser"){if(!Nd()||!t.fetchData)return;const a=e(t.fetchData.url);if(t.endTimestamp&&a){const d=t.fetchData.__span;if(!d)return;const f=n[d];if(f){if(t.response){Vx(f,t.response.status);const p=t.response&&t.response.headers&&t.response.headers.get("content-length");if(p){const m=parseInt(p);m>0&&f.setAttribute("http.response_content_length",m)}}else t.error&&f.setStatus("internal_error");f.end(),delete n[d]}return}const s=yr(),o=qe(),{method:u,url:c}=t.fetchData,l=a?Yx({name:`${u} ${c}`,onlyIfParent:!0,attributes:{url:c,type:"fetch","http.method":u,[Al]:i},op:"http.client"}):void 0;if(l&&(t.fetchData.__span=l.spanContext().spanId,n[l.spanContext().spanId]=l),r(t.fetchData.url)&&o){const d=t.args[0];t.args[1]=t.args[1]||{};const f=t.args[1];f.headers=xme(d,o,s,f,l)}return l}function xme(t,e,r,n,i){const a=i||r.getSpan(),s=na(),{traceId:o,spanId:u,sampled:c,dsc:l}={...s.getPropagationContext(),...r.getPropagationContext()},d=a?fy(a):Ix(o,u,c),f=yH(l||(a?Qh(a):py(o,e,r))),p=n.headers||(typeof Request<"u"&&As(t,Request)?t.headers:void 0);if(p)if(typeof Headers<"u"&&As(p,Headers)){const m=new Headers(p);return m.append("sentry-trace",d),f&&m.append(RO,f),m}else if(Array.isArray(p)){const m=[...p,["sentry-trace",d]];return f&&m.push([RO,f]),m}else{const m="baggage"in p?p.baggage:void 0,b=[];return Array.isArray(m)?b.push(...m):m&&b.push(m),f&&b.push(f),{...p,"sentry-trace":d,baggage:b.length>0?b.join(","):void 0}}else return{"sentry-trace":d,baggage:f}}const FO=["localhost",/^\/(?!\/)/],ep={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:FO,tracePropagationTargets:FO};function rP(t){const{traceFetch:e,traceXHR:r,tracePropagationTargets:n,tracingOrigins:i,shouldCreateSpanForRequest:a,enableHTTPTimings:s}={traceFetch:ep.traceFetch,traceXHR:ep.traceXHR,...t},o=typeof a=="function"?a:l=>!0,u=l=>Mme(l,n||i),c={};e&&Mx(l=>{const d=Eme(l,o,u,c);s&&d&&z2(d)}),r&&$x(l=>{const d=$me(l,o,u,c);s&&d&&z2(d)})}function Pme(t){return t.entryType==="resource"&&"initiatorType"in t&&typeof t.nextHopProtocol=="string"&&(t.initiatorType==="fetch"||t.initiatorType==="xmlhttprequest")}function z2(t){const{url:e}=xt(t).data||{};if(!e||typeof e!="string")return;const r=yy("resource",({entries:n})=>{n.forEach(i=>{Pme(i)&&i.name.endsWith(e)&&(Ame(i).forEach(s=>t.setAttribute(...s)),setTimeout(r))})})}function Cme(t){let e="unknown",r="unknown",n="";for(const i of t){if(i==="/"){[e,r]=t.split("/");break}if(!isNaN(Number(i))){e=n==="h"?"http":n,r=t.split(n)[1];break}n+=i}return n===t&&(e=n),{name:e,version:r}}function ha(t=0){return((gn||performance.timeOrigin)+t)/1e3}function Ame(t){const{name:e,version:r}=Cme(t.nextHopProtocol),n=[];return n.push(["network.protocol.version",r],["network.protocol.name",e]),gn?[...n,["http.request.redirect_start",ha(t.redirectStart)],["http.request.fetch_start",ha(t.fetchStart)],["http.request.domain_lookup_start",ha(t.domainLookupStart)],["http.request.domain_lookup_end",ha(t.domainLookupEnd)],["http.request.connect_start",ha(t.connectStart)],["http.request.secure_connection_start",ha(t.secureConnectionStart)],["http.request.connection_end",ha(t.connectEnd)],["http.request.request_start",ha(t.requestStart)],["http.request.response_start",ha(t.responseStart)],["http.request.response_end",ha(t.responseEnd)]]:n}function Mme(t,e){return kd(t,e||FO)}function $me(t,e,r,n){const i=t.xhr,a=i&&i[fo];if(!Nd()||!i||i.__sentry_own_request__||!a)return;const s=e(a.url);if(t.endTimestamp&&s){const d=i.__sentry_xhr_span_id__;if(!d)return;const f=n[d];f&&a.status_code!==void 0&&(Vx(f,a.status_code),f.end(),delete n[d]);return}const o=yr(),u=na(),c=s?Yx({name:`${a.method} ${a.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":a.method,url:a.url,[Al]:"auto.http.browser"},op:"http.client"}):void 0;c&&(i.__sentry_xhr_span_id__=c.spanContext().spanId,n[i.__sentry_xhr_span_id__]=c);const l=qe();if(i.setRequestHeader&&r(a.url)&&l){const{traceId:d,spanId:f,sampled:p,dsc:m}={...u.getPropagationContext(),...o.getPropagationContext()},b=c?fy(c):Ix(d,f,p),_=yH(m||(c?Qh(c):py(d,l,o)));kme(i,b,_)}return c}function kme(t,e,r){try{t.setRequestHeader("sentry-trace",e),r&&t.setRequestHeader(RO,r)}catch{}}function Dme(t,e=!0,r=!0){if(!Ue||!Ue.location){ut&&W.warn("Could not initialize routing instrumentation due to invalid location");return}let n=Ue.location.href,i;e&&(i=t({name:Ue.location.pathname,startTimestamp:gn?gn/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),r&&Ip(({to:a,from:s})=>{if(s===void 0&&n&&n.indexOf(a)!==-1){n=void 0;return}s!==a&&(n=void 0,i&&(ut&&W.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.end()),i=t({name:Ue.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})}const Ime="BrowserTracing",Rme={...wh,markBackgroundTransactions:!0,routingInstrumentation:Dme,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...ep};class Lme{constructor(e){this.name=Ime,this._hasSetTracePropagationTargets=!1,Gx(),ut&&(this._hasSetTracePropagationTargets=!!(e&&(e.tracePropagationTargets||e.tracingOrigins))),this.options={...Rme,...e},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=Sz(),this.options.enableLongTask&&Oz(),this.options._experiments.enableInteractions&&Tz()}setupOnce(e,r){this._getCurrentHub=r;const i=r().getClient(),a=i&&i.getOptions(),{routingInstrumentation:s,startTransactionOnLocationChange:o,startTransactionOnPageLoad:u,markBackgroundTransactions:c,traceFetch:l,traceXHR:d,shouldCreateSpanForRequest:f,enableHTTPTimings:p,_experiments:m}=this.options,b=a&&a.tracePropagationTargets,_=b||this.options.tracePropagationTargets;ut&&this._hasSetTracePropagationTargets&&b&&W.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),s(S=>{const x=this._createRouteTransaction(S);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(x,S,r),x},u,o),c&&fz(),m.enableInteractions&&this._registerInteractionListener(),rP({traceFetch:l,traceXHR:d,tracePropagationTargets:_,shouldCreateSpanForRequest:f,enableHTTPTimings:p})}_createRouteTransaction(e){if(!this._getCurrentHub){ut&&W.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`);return}const r=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:i,finalTimeout:a,heartbeatInterval:s}=this.options,o=e.op==="pageload";let u;if(o){const p=o?V2("sentry-trace"):"",m=o?V2("baggage"):void 0,{traceparentData:b,dynamicSamplingContext:_}=Dx(p,m);u={...e,...b,metadata:{...e.metadata,dynamicSamplingContext:b&&!_?{}:_},trimEnd:!0}}else u={...e,trimEnd:!0};const c=typeof n=="function"?n(u):u,l=c===void 0?{...u,sampled:!1}:c;l.metadata=l.name!==u.name?{...l.metadata,source:"custom"}:l.metadata,this._latestRouteName=l.name,this._latestRouteSource=Nme(l),l.sampled===!1&&ut&&W.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),ut&&W.log(`[Tracing] Starting ${l.op} transaction on scope`);const{location:d}=Ue,f=$0(r,l,i,a,!0,{location:d},s,o);return o&&(Ue.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(Ue.document.readyState)&&f.sendAutoFinishSignal()}),["interactive","complete"].includes(Ue.document.readyState)&&f.sendAutoFinishSignal()),f.registerBeforeFinishCallback(p=>{this._collectWebVitals(),Ez(p)}),f}_registerInteractionListener(){let e;const r=()=>{const{idleTimeout:n,finalTimeout:i,heartbeatInterval:a}=this.options,s="ui.action.click",o=Wo();if(o&&o.op&&["navigation","pageload"].includes(o.op)){ut&&W.warn(`[Tracing] Did not create ${s} transaction because a pageload or navigation transaction is in progress.`);return}if(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub){ut&&W.warn(`[Tracing] Did not create ${s} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRouteName){ut&&W.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`);return}const u=this._getCurrentHub(),{location:c}=Ue,l={name:this._latestRouteName,op:s,trimEnd:!0,data:{[An]:this._latestRouteSource||"url"}};e=$0(u,l,n,i,!0,{location:c},a)};["click"].forEach(n=>{addEventListener(n,r,{once:!1,capture:!0})})}}function V2(t){const e=rH(`meta[name=${t}]`);return e?e.getAttribute("content"):void 0}function Nme(t){const e=t.attributes&&t.attributes[An],r=t.data&&t.data[An],n=t.metadata&&t.metadata.source;return e||r||n}const Bme="BrowserTracing",Fme={...wh,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,_experiments:{},...ep},jme=(t={})=>{const e=ut?!!(t.tracePropagationTargets||t.tracingOrigins):!1;Gx(),!t.tracePropagationTargets&&t.tracingOrigins&&(t.tracePropagationTargets=t.tracingOrigins);const r={...Fme,...t},n=Sz();r.enableLongTask&&Oz(),r._experiments.enableInteractions&&Tz();let i,a;function s(o){const u=vt(),{beforeStartSpan:c,idleTimeout:l,finalTimeout:d,heartbeatInterval:f}=r,p=o.op==="pageload";let m;if(p){const x=p?U2("sentry-trace"):"",O=p?U2("baggage"):void 0,{traceparentData:h,dynamicSamplingContext:v}=Dx(x,O);m={...o,...h,metadata:{...o.metadata,dynamicSamplingContext:h&&!v?{}:v},trimEnd:!0}}else m={...o,trimEnd:!0};const b=c?c(m):m;b.metadata=b.name!==m.name?{...b.metadata,source:"custom"}:b.metadata,i=b.name,a=zme(b),b.sampled===!1&&ut&&W.log(`[Tracing] Will not send ${b.op} transaction because of beforeNavigate.`),ut&&W.log(`[Tracing] Starting ${b.op} transaction on scope`);const{location:_}=Ue,S=$0(u,b,l,d,!0,{location:_},f,p);return p&&(Ue.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(Ue.document.readyState)&&S.sendAutoFinishSignal()}),["interactive","complete"].includes(Ue.document.readyState)&&S.sendAutoFinishSignal()),S.registerBeforeFinishCallback(x=>{n(),Ez(x)}),S}return{name:Bme,setupOnce:()=>{},afterAllSetup(o){const u=o.getOptions(),{markBackgroundSpan:c,traceFetch:l,traceXHR:d,shouldCreateSpanForRequest:f,enableHTTPTimings:p,_experiments:m}=r,b=u&&u.tracePropagationTargets,_=b||r.tracePropagationTargets;ut&&e&&b&&W.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let S,x=Ue.location.href;if(o.on&&(o.on("startNavigationSpan",O=>{S&&(ut&&W.log(`[Tracing] Finishing current transaction with op: ${xt(S).op}`),S.end()),S=s(O)}),o.on("startPageLoadSpan",O=>{S&&(ut&&W.log(`[Tracing] Finishing current transaction with op: ${xt(S).op}`),S.end()),S=s(O)})),r.instrumentPageLoad&&o.emit){const O={name:Ue.location.pathname,startTimestamp:gn?gn/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}};xz(o,O)}r.instrumentNavigation&&o.emit&&Ip(({to:O,from:h})=>{if(h===void 0&&x&&x.indexOf(O)!==-1){x=void 0;return}if(h!==O){x=void 0;const v={name:Ue.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}};Pz(o,v)}}),c&&fz(),m.enableInteractions&&Hme(r,i,a),rP({traceFetch:l,traceXHR:d,tracePropagationTargets:_,shouldCreateSpanForRequest:f,enableHTTPTimings:p})},options:r}};function xz(t,e){t.emit&&t.emit("startPageLoadSpan",e)}function Pz(t,e){t.emit&&t.emit("startNavigationSpan",e)}function U2(t){const e=rH(`meta[name=${t}]`);return e?e.getAttribute("content"):void 0}function Hme(t,e,r){let n;const i=()=>{const{idleTimeout:a,finalTimeout:s,heartbeatInterval:o}=t,u="ui.action.click",c=Wo();if(c&&c.op&&["navigation","pageload"].includes(c.op)){ut&&W.warn(`[Tracing] Did not create ${u} transaction because a pageload or navigation transaction is in progress.`);return}if(n&&(n.setFinishReason("interactionInterrupted"),n.end(),n=void 0),!e){ut&&W.warn(`[Tracing] Did not create ${u} transaction because _latestRouteName is missing.`);return}const{location:l}=Ue,d={name:e,op:u,trimEnd:!0,data:{[An]:r||"url"}};n=$0(vt(),d,a,s,!0,{location:l},o)};["click"].forEach(a=>{addEventListener(a,i,{once:!1,capture:!0})})}function zme(t){const e=t.attributes&&t.attributes[An],r=t.data&&t.data[An],n=t.metadata&&t.metadata.source;return e||r||n}const Se=Fe;let jO=0;function Cz(){return jO>0}function Vme(){jO++,setTimeout(()=>{jO--})}function nc(t,e={},r){if(typeof t!="function")return t;try{const i=t.__sentry_wrapped__;if(i)return i;if(Cx(t))return t}catch{return t}const n=function(){const i=Array.prototype.slice.call(arguments);try{r&&typeof r=="function"&&r.apply(this,arguments);const a=i.map(s=>nc(s,e));return t.apply(this,a)}catch(a){throw Vme(),Np(s=>{s.addEventProcessor(o=>(e.mechanism&&(PO(o,void 0,void 0),Zh(o,e.mechanism)),o.extra={...o.extra,arguments:i},o)),Rd(a)}),a}};try{for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}catch{}oH(n,t),Jh(t,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get(){return t.name}})}catch{}return n}const tt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function nP(t,e){const r=iP(t,e),n={type:e&&e.name,value:Yme(e)};return r.length&&(n.stacktrace={frames:r}),n.type===void 0&&n.value===""&&(n.value="Unrecoverable error caught"),n}function Ume(t,e,r,n){const i=qe(),a=i&&i.getOptions().normalizeDepth,s={exception:{values:[{type:dy(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:Kme(e,{isUnhandledRejection:n})}]},extra:{__serialized__:gH(e,a)}};if(r){const o=iP(t,r);o.length&&(s.exception.values[0].stacktrace={frames:o})}return s}function n1(t,e){return{exception:{values:[nP(t,e)]}}}function iP(t,e){const r=e.stacktrace||e.stack||"",n=Wme(e);try{return t(r,n)}catch{}return[]}const Gme=/Minified React error #\d+;/i;function Wme(t){if(t){if(typeof t.framesToPop=="number")return t.framesToPop;if(Gme.test(t.message))return 1}return 0}function Yme(t){const e=t&&t.message;return e?e.error&&typeof e.error.message=="string"?e.error.message:e:"No error message"}function Az(t,e,r,n){const i=r&&r.syntheticException||void 0,a=aP(t,e,i,n);return Zh(a),a.level="error",r&&r.event_id&&(a.event_id=r.event_id),ud(a)}function Mz(t,e,r="info",n,i){const a=n&&n.syntheticException||void 0,s=HO(t,e,a,i);return s.level=r,n&&n.event_id&&(s.event_id=n.event_id),ud(s)}function aP(t,e,r,n,i){let a;if(Tx(e)&&e.error)return n1(t,e.error);if(u2(e)||Pde(e)){const s=e;if("stack"in e)a=n1(t,e);else{const o=s.name||(u2(s)?"DOMError":"DOMException"),u=s.message?`${o}: ${s.message}`:o;a=HO(t,u,r,n),PO(a,u)}return"code"in s&&(a.tags={...a.tags,"DOMException.code":`${s.code}`}),a}return X5(e)?n1(t,e):od(e)||dy(e)?(a=Ume(t,e,r,i),Zh(a,{synthetic:!0}),a):(a=HO(t,e,r,n),PO(a,`${e}`,void 0),Zh(a,{synthetic:!0}),a)}function HO(t,e,r,n){const i={};if(n&&r){const a=iP(t,r);a.length&&(i.exception={values:[{value:e,stacktrace:{frames:a}}]})}if(Ex(e)){const{__sentry_template_string__:a,__sentry_template_values__:s}=e;return i.logentry={message:a,params:s},i}return i.message=e,i}function Kme(t,{isUnhandledRejection:e}){const r=Hde(t),n=e?"promise rejection":"exception";return Tx(t)?`Event \`ErrorEvent\` captured as ${n} with message \`${t.message}\``:dy(t)?`Event \`${qme(t)}\` (type=${t.type}) captured as ${n}`:`Object captured as ${n} with keys: ${r}`}function qme(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function $z(t,{metadata:e,tunnel:r,dsn:n}){const i={event_id:t.event_id,sent_at:new Date().toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!r&&!!n&&{dsn:Id(n)}},a=Xme(t);return _c(i,[a])}function Xme(t){return[{type:"user_report"},t]}class kz extends Qhe{constructor(e){const r=Se.SENTRY_SDK_SOURCE||cfe();_pe(e,"browser",["browser"],r),super(e),e.sendClientReports&&Se.document&&Se.document.addEventListener("visibilitychange",()=>{Se.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(e,r){return Az(this._options.stackParser,e,r,this._options.attachStacktrace)}eventFromMessage(e,r="info",n){return Mz(this._options.stackParser,e,r,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){tt&&W.warn("SDK not enabled, will not capture user feedback.");return}const r=$z(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(r)}_prepareEvent(e,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,r,n)}_flushOutcomes(){const e=this._clearOutcomes();if(e.length===0){tt&&W.log("No outcomes to send");return}if(!this._dsn){tt&&W.log("No dsn provided, will not send outcomes");return}tt&&W.log("Sending outcomes:",e);const r=kfe(e,this._options.tunnel&&Id(this._dsn));this._sendEnvelope(r)}}let nh;function Jme(){if(nh)return nh;if($O(Se.fetch))return nh=Se.fetch.bind(Se);const t=Se.document;let e=Se.fetch;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r);const n=r.contentWindow;n&&n.fetch&&(e=n.fetch),t.head.removeChild(r)}catch(r){tt&&W.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return nh=e.bind(Se)}function Zme(){nh=void 0}function Dz(t,e=Jme()){let r=0,n=0;function i(a){const s=a.body.length;r+=s,n++;const o={body:a.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:r<=6e4&&n<15,...t.fetchOptions};try{return e(t.url,o).then(u=>(r-=s,n--,{statusCode:u.status,headers:{"x-sentry-rate-limits":u.headers.get("X-Sentry-Rate-Limits"),"retry-after":u.headers.get("Retry-After")}}))}catch(u){return Zme(),r-=s,n--,kx(u)}}return qx(t,i)}const Qme=4;function Iz(t){function e(r){return new Jn((n,i)=>{const a=new XMLHttpRequest;a.onerror=i,a.onreadystatechange=()=>{a.readyState===Qme&&n({statusCode:a.status,headers:{"x-sentry-rate-limits":a.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":a.getResponseHeader("Retry-After")}})},a.open("POST",t.url);for(const s in t.headers)Object.prototype.hasOwnProperty.call(t.headers,s)&&a.setRequestHeader(s,t.headers[s]);a.send(r.body)})}return qx(t,e)}const Bd="?",ege=10,tge=20,rge=30,nge=40,ige=50;function Bp(t,e,r,n){const i={filename:t,function:e,in_app:!0};return r!==void 0&&(i.lineno=r),n!==void 0&&(i.colno=n),i}const age=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,sge=/\((\S*)(?::(\d+))(?::(\d+))\)/,oge=t=>{const e=age.exec(t);if(e){if(e[2]&&e[2].indexOf("eval")===0){const a=sge.exec(e[2]);a&&(e[2]=a[1],e[3]=a[2],e[4]=a[3])}const[n,i]=jz(e[1]||Bd,e[2]);return Bp(i,n,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}},Rz=[rge,oge],uge=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,cge=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,lge=t=>{const e=uge.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const a=cge.exec(e[3]);a&&(e[1]=e[1]||"eval",e[3]=a[1],e[4]=a[2],e[5]="")}let n=e[3],i=e[1]||Bd;return[i,n]=jz(i,n),Bp(n,i,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},Lz=[ige,lge],dge=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,fge=t=>{const e=dge.exec(t);return e?Bp(e[2],e[1]||Bd,+e[3],e[4]?+e[4]:void 0):void 0},Nz=[nge,fge],hge=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,pge=t=>{const e=hge.exec(t);return e?Bp(e[2],e[3]||Bd,+e[1]):void 0},mge=[ege,pge],gge=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,vge=t=>{const e=gge.exec(t);return e?Bp(e[5],e[3]||e[4]||Bd,+e[1],+e[2]):void 0},bge=[tge,vge],Bz=[Rz,Lz,Nz],Fz=lH(...Bz),jz=(t,e)=>{const r=t.indexOf("safari-extension")!==-1,n=t.indexOf("safari-web-extension")!==-1;return r||n?[t.indexOf("@")!==-1?t.split("@")[0]:Bd,r?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},Jm=1024,Hz="Breadcrumbs",yge=(t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:Hz,setupOnce(){},setup(r){e.console&&Gde(Sge(r)),e.dom&&fH(wge(r,e.dom)),e.xhr&&$x(Oge(r)),e.fetch&&Mx(Tge(r)),e.history&&Ip(Ege(r)),e.sentry&&r.on&&r.on("beforeSendEvent",_ge(r))}}},sP=yge,zz=Fn(Hz,sP);function _ge(t){return function(r){qe()===t&&$s({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:oo(r)},{event:r})}}function wge(t,e){return function(n){if(qe()!==t)return;let i,a,s=typeof e=="object"?e.serializeAttribute:void 0,o=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;o&&o>Jm&&(tt&&W.warn(`\`dom.maxStringLength\` cannot exceed ${Jm}, but a value of ${o} was configured. Sentry will use ${Jm} instead.`),o=Jm),typeof s=="string"&&(s=[s]);try{const c=n.event,l=xge(c)?c.target:c;i=tc(l,{keyAttrs:s,maxStringLength:o}),a=nH(l)}catch{i="<unknown>"}if(i.length===0)return;const u={category:`ui.${n.name}`,message:i};a&&(u.data={"ui.component_name":a}),$s(u,{event:n.event,name:n.name,global:n.global})}}function Sge(t){return function(r){if(qe()!==t)return;const n={category:"console",data:{arguments:r.args,logger:"console"},level:yfe(r.level),message:c2(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)n.message=`Assertion failed: ${c2(r.args.slice(1)," ")||"console.assert"}`,n.data.arguments=r.args.slice(1);else return;$s(n,{input:r.args,level:r.level})}}function Oge(t){return function(r){if(qe()!==t)return;const{startTimestamp:n,endTimestamp:i}=r,a=r.xhr[fo];if(!n||!i||!a)return;const{method:s,url:o,status_code:u,body:c}=a,l={method:s,url:o,status_code:u},d={xhr:r.xhr,input:c,startTimestamp:n,endTimestamp:i};$s({category:"xhr",data:l,type:"http"},d)}}function Tge(t){return function(r){if(qe()!==t)return;const{startTimestamp:n,endTimestamp:i}=r;if(i&&!(r.fetchData.url.match(/sentry_key/)&&r.fetchData.method==="POST"))if(r.error){const a=r.fetchData,s={data:r.error,input:r.args,startTimestamp:n,endTimestamp:i};$s({category:"fetch",data:a,level:"error",type:"http"},s)}else{const a=r.response,s={...r.fetchData,status_code:a&&a.status},o={input:r.args,response:a,startTimestamp:n,endTimestamp:i};$s({category:"fetch",data:s,type:"http"},o)}}}function Ege(t){return function(r){if(qe()!==t)return;let n=r.from,i=r.to;const a=cv(Se.location.href);let s=n?cv(n):void 0;const o=cv(i);(!s||!s.path)&&(s=a),a.protocol===o.protocol&&a.host===o.host&&(i=o.relative),a.protocol===s.protocol&&a.host===s.host&&(n=s.relative),$s({category:"navigation",data:{from:n,to:i}})}}function xge(t){return!!t&&!!t.target}const Vz="Dedupe",Pge=()=>{let t;return{name:Vz,setupOnce(){},processEvent(e){if(e.type)return e;try{if(Cge(e,t))return tt&&W.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},oP=Pge,Uz=Fn(Vz,oP);function Cge(t,e){return e?!!(Age(t,e)||Mge(t,e)):!1}function Age(t,e){const r=t.message,n=e.message;return!(!r&&!n||r&&!n||!r&&n||r!==n||!Wz(t,e)||!Gz(t,e))}function Mge(t,e){const r=G2(e),n=G2(t);return!(!r||!n||r.type!==n.type||r.value!==n.value||!Wz(t,e)||!Gz(t,e))}function Gz(t,e){let r=W2(t),n=W2(e);if(!r&&!n)return!0;if(r&&!n||!r&&n||(r=r,n=n,n.length!==r.length))return!1;for(let i=0;i<n.length;i++){const a=n[i],s=r[i];if(a.filename!==s.filename||a.lineno!==s.lineno||a.colno!==s.colno||a.function!==s.function)return!1}return!0}function Wz(t,e){let r=t.fingerprint,n=e.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;r=r,n=n;try{return r.join("")===n.join("")}catch{return!1}}function G2(t){return t.exception&&t.exception.values&&t.exception.values[0]}function W2(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch{return}}const Yz="GlobalHandlers",$ge=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:Yz,setupOnce(){Error.stackTraceLimit=50},setup(r){e.onerror&&(kge(r),Y2("onerror")),e.onunhandledrejection&&(Dge(r),Y2("onunhandledrejection"))}}},uP=$ge,Kz=Fn(Yz,uP);function kge(t){pH(e=>{const{stackParser:r,attachStacktrace:n}=Xz();if(qe()!==t||Cz())return;const{msg:i,url:a,line:s,column:o,error:u}=e,c=u===void 0&&Ra(i)?Lge(i,a,s,o):qz(aP(r,u||i,void 0,n,!1),a,s,o);c.level="error",Fx(c,{originalException:u,mechanism:{handled:!1,type:"onerror"}})})}function Dge(t){mH(e=>{const{stackParser:r,attachStacktrace:n}=Xz();if(qe()!==t||Cz())return;const i=Ige(e),a=xx(i)?Rge(i):aP(r,i,void 0,n,!0);a.level="error",Fx(a,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function Ige(t){if(xx(t))return t;const e=t;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return t}function Rge(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function Lge(t,e,r,n){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=Tx(t)?t.message:t,s="Error";const o=a.match(i);return o&&(s=o[1],a=o[2]),qz({exception:{values:[{type:s,value:a}]}},e,r,n)}function qz(t,e,r,n){const i=t.exception=t.exception||{},a=i.values=i.values||[],s=a[0]=a[0]||{},o=s.stacktrace=s.stacktrace||{},u=o.frames=o.frames||[],c=isNaN(parseInt(n,10))?void 0:n,l=isNaN(parseInt(r,10))?void 0:r,d=Ra(e)&&e.length>0?e:tH();return u.length===0&&u.push({colno:c,filename:d,function:"?",in_app:!0,lineno:l}),t}function Y2(t){tt&&W.log(`Global Handler attached: ${t}`)}function Xz(){const t=qe();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Jz="HttpContext",Nge=()=>({name:Jz,setupOnce(){},preprocessEvent(t){if(!Se.navigator&&!Se.location&&!Se.document)return;const e=t.request&&t.request.url||Se.location&&Se.location.href,{referrer:r}=Se.document||{},{userAgent:n}=Se.navigator||{},i={...t.request&&t.request.headers,...r&&{Referer:r},...n&&{"User-Agent":n}},a={...t.request,...e&&{url:e},headers:i};t.request=a}}),cP=Nge,Zz=Fn(Jz,cP),Bge="cause",Fge=5,Qz="LinkedErrors",jge=(t={})=>{const e=t.limit||Fge,r=t.key||Bge;return{name:Qz,setupOnce(){},preprocessEvent(n,i,a){const s=a.getOptions();Q5(nP,s.stackParser,s.maxValueLength,r,e,n,i)}}},lP=jge,eV=Fn(Qz,lP),Hge=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],tV="TryCatch",zge=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t};return{name:tV,setupOnce(){e.setTimeout&&Ir(Se,"setTimeout",K2),e.setInterval&&Ir(Se,"setInterval",K2),e.requestAnimationFrame&&Ir(Se,"requestAnimationFrame",Vge),e.XMLHttpRequest&&"XMLHttpRequest"in Se&&Ir(XMLHttpRequest.prototype,"send",Uge);const r=e.eventTarget;r&&(Array.isArray(r)?r:Hge).forEach(Gge)}}},dP=zge,rV=Fn(tV,dP);function K2(t){return function(...e){const r=e[0];return e[0]=nc(r,{mechanism:{data:{function:Ms(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function Vge(t){return function(e){return t.apply(this,[nc(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Ms(t)},handled:!1,type:"instrument"}})])}}function Uge(t){return function(...e){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in r&&typeof r[i]=="function"&&Ir(r,i,function(a){const s={mechanism:{data:{function:i,handler:Ms(a)},handled:!1,type:"instrument"}},o=Cx(a);return o&&(s.mechanism.data.handler=Ms(o)),nc(a,s)})}),t.apply(this,e)}}function Gge(t){const e=Se,r=e[t]&&e[t].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Ir(r,"addEventListener",function(n){return function(i,a,s){try{typeof a.handleEvent=="function"&&(a.handleEvent=nc(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Ms(a),target:t},handled:!1,type:"instrument"}}))}catch{}return n.apply(this,[i,nc(a,{mechanism:{data:{function:"addEventListener",handler:Ms(a),target:t},handled:!1,type:"instrument"}}),s])}}),Ir(r,"removeEventListener",function(n){return function(i,a,s){const o=a;try{const u=o&&o.__sentry_wrapped__;u&&n.call(this,i,u,s)}catch{}return n.call(this,i,o,s)}}))}const nV=[Xx(),Jx(),dP(),sP(),uP(),lP(),oP(),cP()];function fP(t){return[...nV]}function Wge(t={}){t.defaultIntegrations===void 0&&(t.defaultIntegrations=fP()),t.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(t.release=__SENTRY_RELEASE__),Se.SENTRY_RELEASE&&Se.SENTRY_RELEASE.id&&(t.release=Se.SENTRY_RELEASE.id)),t.autoSessionTracking===void 0&&(t.autoSessionTracking=!0),t.sendClientReports===void 0&&(t.sendClientReports=!0);const e={...t,stackParser:Vde(t.stackParser||Fz),integrations:Hhe(t),transport:t.transport||(hH()?Dz:Iz)};ope(kz,e),t.autoSessionTracking&&Jge()}const Yge=(t={},e=vt())=>{if(!Se.document){tt&&W.error("Global document not defined in showReportDialog call");return}const{client:r,scope:n}=e.getStackTop(),i=t.dsn||r&&r.getDsn();if(!i){tt&&W.error("DSN not configured for showReportDialog call");return}n&&(t.user={...n.getUser(),...t.user}),t.eventId||(t.eventId=e.lastEventId());const a=Se.document.createElement("script");a.async=!0,a.crossOrigin="anonymous",a.src=Fhe(i,t),t.onLoad&&(a.onload=t.onLoad);const{onClose:s}=t;if(s){const u=c=>{if(c.data==="__sentry_reportdialog_closed__")try{s()}finally{Se.removeEventListener("message",u)}};Se.addEventListener("message",u)}const o=Se.document.head||Se.document.body;o?o.appendChild(a):tt&&W.error("Not injecting report dialog. No injection point found in HTML")};function Kge(){}function qge(t){t()}function Xge(t){return nc(t)()}function Jge(){if(typeof Se.document>"u"){tt&&W.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}E2({ignoreDuration:!0}),x2(),Ip(({from:t,to:e})=>{t!==void 0&&t!==e&&(E2({ignoreDuration:!0}),x2())})}function Zge(t){const e=qe();e&&e.captureUserFeedback(t)}const Qge=Object.freeze(Object.defineProperty({__proto__:null,Breadcrumbs:zz,Dedupe:Uz,GlobalHandlers:Kz,HttpContext:Zz,LinkedErrors:eV,TryCatch:rV},Symbol.toStringTag,{value:"Module"})),Ct=Fe,hP="sentryReplaySession",eve="replay_event",pP="Unable to send Replay",tve=3e5,rve=9e5,nve=5e3,ive=5500,ave=6e4,sve=5e3,ove=3,q2=15e4,Zm=5e3,uve=3e3,cve=300,mP=2e7,lve=4999,dve=15e3,X2=36e5;function fve(t,e){return t??e()}function I0(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}var wr;(function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"})(wr||(wr={}));function hve(t){return t.nodeType===t.ELEMENT_NODE}function Th(t){const e=I0([t,"optionalAccess",r=>r.host]);return I0([e,"optionalAccess",r=>r.shadowRoot])===t}function Eh(t){return Object.prototype.toString.call(t)==="[object ShadowRoot]"}function pve(t){return t.includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),t}function mve(t){const{cssText:e}=t;if(e.split('"').length<3)return e;const r=["@import",`url(${JSON.stringify(t.href)})`];return t.layerName===""?r.push("layer"):t.layerName&&r.push(`layer(${t.layerName})`),t.supportsText&&r.push(`supports(${t.supportsText})`),t.media.length&&r.push(t.media.mediaText),r.join(" ")+";"}function R0(t){try{const e=t.rules||t.cssRules;return e?pve(Array.from(e,iV).join("")):null}catch{return null}}function iV(t){let e;if(vve(t))try{e=R0(t.styleSheet)||mve(t)}catch{}else if(bve(t)&&t.selectorText.includes(":"))return gve(t.cssText);return e||t.cssText}function gve(t){const e=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return t.replace(e,"$1\\$2")}function vve(t){return"styleSheet"in t}function bve(t){return"selectorText"in t}class aV{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){if(!e)return-1;const r=I0([this,"access",n=>n.getMeta,"call",n=>n(e),"optionalAccess",n=>n.id]);return fve(r,()=>-1)}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const r=this.getId(e);this.idNodeMap.delete(r),e.childNodes&&e.childNodes.forEach(n=>this.removeNodeFromMap(n))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,r){const n=r.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,r)}replace(e,r){const n=this.getNode(e);if(n){const i=this.nodeMetaMap.get(n);i&&this.nodeMetaMap.set(r,i)}this.idNodeMap.set(e,r)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function yve(){return new aV}function wy({maskInputOptions:t,tagName:e,type:r}){return e==="OPTION"&&(e="SELECT"),!!(t[e.toLowerCase()]||r&&t[r]||r==="password"||e==="INPUT"&&!r&&t.text)}function tp({isMasked:t,element:e,value:r,maskInputFn:n}){let i=r||"";return t?(n&&(i=n(i,e)),"*".repeat(i.length)):i}function fd(t){return t.toLowerCase()}function zO(t){return t.toUpperCase()}const J2="__rrweb_original__";function _ve(t){const e=t.getContext("2d");if(!e)return!0;const r=50;for(let n=0;n<t.width;n+=r)for(let i=0;i<t.height;i+=r){const a=e.getImageData,s=J2 in a?a[J2]:a;if(new Uint32Array(s.call(e,n,i,Math.min(r,t.width-n),Math.min(r,t.height-i)).data.buffer).some(u=>u!==0))return!1}return!0}function gP(t){const e=t.type;return t.hasAttribute("data-rr-is-password")?"password":e?fd(e):null}function L0(t,e,r){return e==="INPUT"&&(r==="radio"||r==="checkbox")?t.getAttribute("value")||"":t.value}let wve=1;const Sve=new RegExp("[^a-z0-9-_:]"),rp=-2;function vP(){return wve++}function Ove(t){if(t instanceof HTMLFormElement)return"form";const e=fd(t.tagName);return Sve.test(e)?"div":e}function Tve(t){let e="";return t.indexOf("//")>-1?e=t.split("/").slice(0,3).join("/"):e=t.split("/")[0],e=e.split("?")[0],e}let el,Z2;const Eve=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,xve=/^(?:[a-z+]+:)?\/\//i,Pve=/^www\..*/i,Cve=/^(data:)([^,]*),(.*)/i;function N0(t,e){return(t||"").replace(Eve,(r,n,i,a,s,o)=>{const u=i||s||o,c=n||a||"";if(!u)return r;if(xve.test(u)||Pve.test(u))return`url(${c}${u}${c})`;if(Cve.test(u))return`url(${c}${u}${c})`;if(u[0]==="/")return`url(${c}${Tve(e)+u}${c})`;const l=e.split("/"),d=u.split("/");l.pop();for(const f of d)f!=="."&&(f===".."?l.pop():l.push(f));return`url(${c}${l.join("/")}${c})`})}const Ave=/^[^ \t\n\r\u000c]+/,Mve=/^[, \t\n\r\u000c]+/;function $ve(t,e){if(e.trim()==="")return e;let r=0;function n(a){let s;const o=a.exec(e.substring(r));return o?(s=o[0],r+=s.length,s):""}const i=[];for(;n(Mve),!(r>=e.length);){let a=n(Ave);if(a.slice(-1)===",")a=Ml(t,a.substring(0,a.length-1)),i.push(a);else{let s="";a=Ml(t,a);let o=!1;for(;;){const u=e.charAt(r);if(u===""){i.push((a+s).trim());break}else if(o)u===")"&&(o=!1);else if(u===","){r+=1,i.push((a+s).trim());break}else u==="("&&(o=!0);s+=u,r+=1}}}return i.join(", ")}function Ml(t,e){if(!e||e.trim()==="")return e;const r=t.createElement("a");return r.href=e,r.href}function kve(t){return!!(t.tagName==="svg"||t.ownerSVGElement)}function bP(){const t=document.createElement("a");return t.href="",t.href}function sV(t,e,r,n,i,a){return n&&(r==="src"||r==="href"&&!(e==="use"&&n[0]==="#")||r==="xlink:href"&&n[0]!=="#"||r==="background"&&(e==="table"||e==="td"||e==="th")?Ml(t,n):r==="srcset"?$ve(t,n):r==="style"?N0(n,bP()):e==="object"&&r==="data"?Ml(t,n):typeof a=="function"?a(r,n,i):n)}function oV(t,e,r){return(t==="video"||t==="audio")&&e==="autoplay"}function Dve(t,e,r,n){try{if(n&&t.matches(n))return!1;if(typeof e=="string"){if(t.classList.contains(e))return!0}else for(let i=t.classList.length;i--;){const a=t.classList[i];if(e.test(a))return!0}if(r)return t.matches(r)}catch{}return!1}function Ive(t,e){for(let r=t.classList.length;r--;){const n=t.classList[r];if(e.test(n))return!0}return!1}function Eu(t,e,r=1/0,n=0){return!t||t.nodeType!==t.ELEMENT_NODE||n>r?-1:e(t)?n:Eu(t.parentNode,e,r,n+1)}function $l(t,e){return r=>{const n=r;if(n===null)return!1;try{if(t){if(typeof t=="string"){if(n.matches(`.${t}`))return!0}else if(Ive(n,t))return!0}return!!(e&&n.matches(e))}catch{return!1}}}function hd(t,e,r,n,i,a){try{const s=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(s===null)return!1;let o=-1,u=-1;if(a){if(u=Eu(s,$l(n,i)),u<0)return!0;o=Eu(s,$l(e,r),u>=0?u:1/0)}else{if(o=Eu(s,$l(e,r)),o<0)return!1;u=Eu(s,$l(n,i),o>=0?o:1/0)}return o>=0?u>=0?o<=u:!0:u>=0?!1:!!a}catch{}return!!a}function Rve(t,e,r){const n=t.contentWindow;if(!n)return;let i=!1,a;try{a=n.document.readyState}catch{return}if(a!=="complete"){const o=setTimeout(()=>{i||(e(),i=!0)},r);t.addEventListener("load",()=>{clearTimeout(o),i=!0,e()});return}const s="about:blank";if(n.location.href!==s||t.src===s||t.src==="")return setTimeout(e,0),t.addEventListener("load",e);t.addEventListener("load",e)}function Lve(t,e,r){let n=!1,i;try{i=t.sheet}catch{return}if(i)return;const a=setTimeout(()=>{n||(e(),n=!0)},r);t.addEventListener("load",()=>{clearTimeout(a),n=!0,e()})}function Nve(t,e){const{doc:r,mirror:n,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:o,maskAttributeFn:u,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:m={},maskTextFn:b,maskInputFn:_,dataURLOptions:S={},inlineImages:x,recordCanvas:O,keepIframeSrcFn:h,newlyAddedElement:v=!1}=e,g=Bve(r,n);switch(t.nodeType){case t.DOCUMENT_NODE:return t.compatMode!=="CSS1Compat"?{type:wr.Document,childNodes:[],compatMode:t.compatMode}:{type:wr.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:wr.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:g};case t.ELEMENT_NODE:return jve(t,{doc:r,blockClass:i,blockSelector:a,unblockSelector:s,inlineStylesheet:p,maskAttributeFn:u,maskInputOptions:m,maskInputFn:_,dataURLOptions:S,inlineImages:x,recordCanvas:O,keepIframeSrcFn:h,newlyAddedElement:v,rootId:g,maskAllText:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:f});case t.TEXT_NODE:return Fve(t,{maskAllText:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:b,maskInputOptions:m,maskInputFn:_,rootId:g});case t.CDATA_SECTION_NODE:return{type:wr.CDATA,textContent:"",rootId:g};case t.COMMENT_NODE:return{type:wr.Comment,textContent:t.textContent||"",rootId:g};default:return!1}}function Bve(t,e){if(!e.hasNode(t))return;const r=e.getId(t);return r===1?void 0:r}function Fve(t,e){const{maskAllText:r,maskTextClass:n,unmaskTextClass:i,maskTextSelector:a,unmaskTextSelector:s,maskTextFn:o,maskInputOptions:u,maskInputFn:c,rootId:l}=e,d=t.parentNode&&t.parentNode.tagName;let f=t.textContent;const p=d==="STYLE"?!0:void 0,m=d==="SCRIPT"?!0:void 0,b=d==="TEXTAREA"?!0:void 0;if(p&&f){try{t.nextSibling||t.previousSibling||I0([t,"access",S=>S.parentNode,"access",S=>S.sheet,"optionalAccess",S=>S.cssRules])&&(f=R0(t.parentNode.sheet))}catch(S){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${S}`,t)}f=N0(f,bP())}m&&(f="SCRIPT_PLACEHOLDER");const _=hd(t,n,a,i,s,r);if(!p&&!m&&!b&&f&&_&&(f=o?o(f):f.replace(/[\S]/g,"*")),b&&f&&(u.textarea||_)&&(f=c?c(f,t.parentNode):f.replace(/[\S]/g,"*")),d==="OPTION"&&f){const S=wy({type:null,tagName:d,maskInputOptions:u});f=tp({isMasked:hd(t,n,a,i,s,S),element:t,value:f,maskInputFn:c})}return{type:wr.Text,textContent:f||"",isStyle:p,rootId:l}}function jve(t,e){const{doc:r,blockClass:n,blockSelector:i,unblockSelector:a,inlineStylesheet:s,maskInputOptions:o={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:l={},inlineImages:d,recordCanvas:f,keepIframeSrcFn:p,newlyAddedElement:m=!1,rootId:b,maskAllText:_,maskTextClass:S,unmaskTextClass:x,maskTextSelector:O,unmaskTextSelector:h}=e,v=Dve(t,n,i,a),g=Ove(t);let T={};const P=t.attributes.length;for(let w=0;w<P;w++){const A=t.attributes[w];oV(g,A.name,A.value)||(T[A.name]=sV(r,g,fd(A.name),A.value,t,u))}if(g==="link"&&s){const w=Array.from(r.styleSheets).find(C=>C.href===t.href);let A=null;w&&(A=R0(w)),A&&(delete T.rel,delete T.href,T._cssText=N0(A,w.href))}if(g==="style"&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){const w=R0(t.sheet);w&&(T._cssText=N0(w,bP()))}if(g==="input"||g==="textarea"||g==="select"||g==="option"){const w=t,A=gP(w),C=L0(w,zO(g),A),E=w.checked;if(A!=="submit"&&A!=="button"&&C){const $=hd(w,S,O,x,h,wy({type:A,tagName:zO(g),maskInputOptions:o}));T.value=tp({isMasked:$,element:w,value:C,maskInputFn:c})}E&&(T.checked=E)}if(g==="option"&&(t.selected&&!o.select?T.selected=!0:delete T.selected),g==="canvas"&&f){if(t.__context==="2d")_ve(t)||(T.rr_dataURL=t.toDataURL(l.type,l.quality));else if(!("__context"in t)){const w=t.toDataURL(l.type,l.quality),A=document.createElement("canvas");A.width=t.width,A.height=t.height;const C=A.toDataURL(l.type,l.quality);w!==C&&(T.rr_dataURL=w)}}if(g==="img"&&d){el||(el=r.createElement("canvas"),Z2=el.getContext("2d"));const w=t,A=w.crossOrigin;w.crossOrigin="anonymous";const C=()=>{w.removeEventListener("load",C);try{el.width=w.naturalWidth,el.height=w.naturalHeight,Z2.drawImage(w,0,0),T.rr_dataURL=el.toDataURL(l.type,l.quality)}catch(E){console.warn(`Cannot inline img src=${w.currentSrc}! Error: ${E}`)}A?T.crossOrigin=A:w.removeAttribute("crossorigin")};w.complete&&w.naturalWidth!==0?C():w.addEventListener("load",C)}if((g==="audio"||g==="video")&&(T.rr_mediaState=t.paused?"paused":"played",T.rr_mediaCurrentTime=t.currentTime),m||(t.scrollLeft&&(T.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(T.rr_scrollTop=t.scrollTop)),v){const{width:w,height:A}=t.getBoundingClientRect();T={class:T.class,rr_width:`${w}px`,rr_height:`${A}px`}}g==="iframe"&&!p(T.src)&&(t.contentDocument||(T.rr_src=T.src),delete T.src);let k;try{customElements.get(g)&&(k=!0)}catch{}return{type:wr.Element,tagName:g,attributes:T,childNodes:[],isSVG:kve(t)||void 0,needBlock:v,rootId:b,isCustom:k}}function Pt(t){return t==null?"":t.toLowerCase()}function Hve(t,e){if(e.comment&&t.type===wr.Comment)return!0;if(t.type===wr.Element){if(e.script&&(t.tagName==="script"||t.tagName==="link"&&(t.attributes.rel==="preload"||t.attributes.rel==="modulepreload")&&t.attributes.as==="script"||t.tagName==="link"&&t.attributes.rel==="prefetch"&&typeof t.attributes.href=="string"&&t.attributes.href.endsWith(".js")))return!0;if(e.headFavicon&&(t.tagName==="link"&&t.attributes.rel==="shortcut icon"||t.tagName==="meta"&&(Pt(t.attributes.name).match(/^msapplication-tile(image|color)$/)||Pt(t.attributes.name)==="application-name"||Pt(t.attributes.rel)==="icon"||Pt(t.attributes.rel)==="apple-touch-icon"||Pt(t.attributes.rel)==="shortcut icon")))return!0;if(t.tagName==="meta"){if(e.headMetaDescKeywords&&Pt(t.attributes.name).match(/^description|keywords$/))return!0;if(e.headMetaSocial&&(Pt(t.attributes.property).match(/^(og|twitter|fb):/)||Pt(t.attributes.name).match(/^(og|twitter):/)||Pt(t.attributes.name)==="pinterest"))return!0;if(e.headMetaRobots&&(Pt(t.attributes.name)==="robots"||Pt(t.attributes.name)==="googlebot"||Pt(t.attributes.name)==="bingbot"))return!0;if(e.headMetaHttpEquiv&&t.attributes["http-equiv"]!==void 0)return!0;if(e.headMetaAuthorship&&(Pt(t.attributes.name)==="author"||Pt(t.attributes.name)==="generator"||Pt(t.attributes.name)==="framework"||Pt(t.attributes.name)==="publisher"||Pt(t.attributes.name)==="progid"||Pt(t.attributes.property).match(/^article:/)||Pt(t.attributes.property).match(/^product:/)))return!0;if(e.headMetaVerification&&(Pt(t.attributes.name)==="google-site-verification"||Pt(t.attributes.name)==="yandex-verification"||Pt(t.attributes.name)==="csrf-token"||Pt(t.attributes.name)==="p:domain_verify"||Pt(t.attributes.name)==="verify-v1"||Pt(t.attributes.name)==="verification"||Pt(t.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function kl(t,e){const{doc:r,mirror:n,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:o,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:f=!1,inlineStylesheet:p=!0,maskInputOptions:m={},maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOMOptions:x,dataURLOptions:O={},inlineImages:h=!1,recordCanvas:v=!1,onSerialize:g,onIframeLoad:T,iframeLoadTimeout:P=5e3,onStylesheetLoad:k,stylesheetLoadTimeout:w=5e3,keepIframeSrcFn:A=()=>!1,newlyAddedElement:C=!1}=e;let{preserveWhiteSpace:E=!0}=e;const $=Nve(t,{doc:r,mirror:n,blockClass:i,blockSelector:a,maskAllText:o,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,dataURLOptions:O,inlineImages:h,recordCanvas:v,keepIframeSrcFn:A,newlyAddedElement:C});if(!$)return console.warn(t,"not serialized"),null;let D;n.hasNode(t)?D=n.getId(t):Hve($,x)||!E&&$.type===wr.Text&&!$.isStyle&&!$.textContent.replace(/^\s+|\s+$/gm,"").length?D=rp:D=vP();const M=Object.assign($,{id:D});if(n.add(t,M),D===rp)return null;g&&g(t);let L=!f;if(M.type===wr.Element){L=L&&!M.needBlock,delete M.needBlock;const N=t.shadowRoot;N&&Eh(N)&&(M.isShadowHost=!0)}if((M.type===wr.Document||M.type===wr.Element)&&L){x.headWhitespace&&M.type===wr.Element&&M.tagName==="head"&&(E=!1);const N={doc:r,mirror:n,blockClass:i,blockSelector:a,maskAllText:o,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:f,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOMOptions:x,dataURLOptions:O,inlineImages:h,recordCanvas:v,preserveWhiteSpace:E,onSerialize:g,onIframeLoad:T,iframeLoadTimeout:P,onStylesheetLoad:k,stylesheetLoadTimeout:w,keepIframeSrcFn:A};for(const j of Array.from(t.childNodes)){const z=kl(j,N);z&&M.childNodes.push(z)}if(hve(t)&&t.shadowRoot)for(const j of Array.from(t.shadowRoot.childNodes)){const z=kl(j,N);z&&(Eh(t.shadowRoot)&&(z.isShadow=!0),M.childNodes.push(z))}}return t.parentNode&&Th(t.parentNode)&&Eh(t.parentNode)&&(M.isShadow=!0),M.type===wr.Element&&M.tagName==="iframe"&&Rve(t,()=>{const N=t.contentDocument;if(N&&T){const j=kl(N,{doc:N,mirror:n,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:o,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOMOptions:x,dataURLOptions:O,inlineImages:h,recordCanvas:v,preserveWhiteSpace:E,onSerialize:g,onIframeLoad:T,iframeLoadTimeout:P,onStylesheetLoad:k,stylesheetLoadTimeout:w,keepIframeSrcFn:A});j&&T(t,j)}},P),M.type===wr.Element&&M.tagName==="link"&&M.attributes.rel==="stylesheet"&&Lve(t,()=>{if(k){const N=kl(t,{doc:r,mirror:n,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:o,maskTextClass:u,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOMOptions:x,dataURLOptions:O,inlineImages:h,recordCanvas:v,preserveWhiteSpace:E,onSerialize:g,onIframeLoad:T,iframeLoadTimeout:P,onStylesheetLoad:k,stylesheetLoadTimeout:w,keepIframeSrcFn:A});N&&k(t,N)}},w),M}function zve(t,e){const{mirror:r=new aV,blockClass:n="rr-block",blockSelector:i=null,unblockSelector:a=null,maskAllText:s=!1,maskTextClass:o="rr-mask",unmaskTextClass:u=null,maskTextSelector:c=null,unmaskTextSelector:l=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:m=!1,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOM:x=!1,dataURLOptions:O,preserveWhiteSpace:h,onSerialize:v,onIframeLoad:g,iframeLoadTimeout:T,onStylesheetLoad:P,stylesheetLoadTimeout:k,keepIframeSrcFn:w=()=>!1}=e||{};return kl(t,{doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,maskAllText:s,maskTextClass:o,unmaskTextClass:u,maskTextSelector:c,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:d,maskInputOptions:m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:m===!1?{}:m,maskAttributeFn:b,maskTextFn:_,maskInputFn:S,slimDOMOptions:x===!0||x==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:x==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:x===!1?{}:x,dataURLOptions:O,inlineImages:f,recordCanvas:p,preserveWhiteSpace:h,onSerialize:v,onIframeLoad:g,iframeLoadTimeout:T,onStylesheetLoad:P,stylesheetLoadTimeout:k,keepIframeSrcFn:w,newlyAddedElement:!1})}function to(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}function ln(t,e,r=document){const n={capture:!0,passive:!0};return r.addEventListener(t,e,n),()=>r.removeEventListener(t,e,n)}const gl=`Please stop import mirror directly. Instead of that,\r
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
or you can use record.mirror to access the mirror instance during recording.`;let Q2={map:{},getId(){return console.error(gl),-1},getNode(){return console.error(gl),null},removeNodeFromMap(){console.error(gl)},has(){return console.error(gl),!1},reset(){console.error(gl)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Q2=new Proxy(Q2,{get(t,e,r){return e==="map"&&console.error(gl),Reflect.get(t,e,r)}}));function np(t,e,r={}){let n=null,i=0;return function(...a){const s=Date.now();!i&&r.leading===!1&&(i=s);const o=e-(s-i),u=this;o<=0||o>e?(n&&(clearTimeout(n),n=null),i=s,t.apply(u,a)):!n&&r.trailing!==!1&&(n=setTimeout(()=>{i=r.leading===!1?0:Date.now(),n=null,t.apply(u,a)},o))}}function uV(t,e,r,n,i=window){const a=i.Object.getOwnPropertyDescriptor(t,e);return i.Object.defineProperty(t,e,n?r:{set(s){setTimeout(()=>{r.set.call(this,s)},0),a&&a.set&&a.set.call(this,s)}}),()=>uV(t,e,a||{},!0)}function yP(t,e,r){try{if(!(e in t))return()=>{};const n=t[e],i=r(n);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),t[e]=i,()=>{t[e]=n}}catch{return()=>{}}}let B0=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(B0=()=>new Date().getTime());function cV(t){const e=t.document;return{left:e.scrollingElement?e.scrollingElement.scrollLeft:t.pageXOffset!==void 0?t.pageXOffset:to([e,"optionalAccess",r=>r.documentElement,"access",r=>r.scrollLeft])||to([e,"optionalAccess",r=>r.body,"optionalAccess",r=>r.parentElement,"optionalAccess",r=>r.scrollLeft])||to([e,"optionalAccess",r=>r.body,"optionalAccess",r=>r.scrollLeft])||0,top:e.scrollingElement?e.scrollingElement.scrollTop:t.pageYOffset!==void 0?t.pageYOffset:to([e,"optionalAccess",r=>r.documentElement,"access",r=>r.scrollTop])||to([e,"optionalAccess",r=>r.body,"optionalAccess",r=>r.parentElement,"optionalAccess",r=>r.scrollTop])||to([e,"optionalAccess",r=>r.body,"optionalAccess",r=>r.scrollTop])||0}}function lV(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function dV(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Li(t,e,r,n,i){if(!t)return!1;const a=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(!a)return!1;const s=$l(e,r);if(!i){const c=n&&a.matches(n);return s(a)&&!c}const o=Eu(a,s);let u=-1;return o<0?!1:(n&&(u=Eu(a,$l(null,n))),o>-1&&u<0?!0:o<u)}function Vve(t,e){return e.getId(t)!==-1}function i1(t,e){return e.getId(t)===rp}function fV(t,e){if(Th(t))return!1;const r=e.getId(t);return e.has(r)?t.parentNode&&t.parentNode.nodeType===t.DOCUMENT_NODE?!1:t.parentNode?fV(t.parentNode,e):!0:!0}function VO(t){return!!t.changedTouches}function Uve(t=window){"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let r=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do if(this===r)return!0;while(r=r&&r.parentNode);return!1})}function hV(t,e){return!!(t.nodeName==="IFRAME"&&e.getMeta(t))}function pV(t,e){return!!(t.nodeName==="LINK"&&t.nodeType===t.ELEMENT_NODE&&t.getAttribute&&t.getAttribute("rel")==="stylesheet"&&e.getMeta(t))}function UO(t){return!!to([t,"optionalAccess",e=>e.shadowRoot])}class Gve{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return Nfe(this.styleIDMap.get(e),()=>-1)}has(e){return this.styleIDMap.has(e)}add(e,r){if(this.has(e))return this.getId(e);let n;return r===void 0?n=this.id++:n=r,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function mV(t){let e=null;return to([t,"access",r=>r.getRootNode,"optionalCall",r=>r(),"optionalAccess",r=>r.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&t.getRootNode().host&&(e=t.getRootNode().host),e}function Wve(t){let e=t,r;for(;r=mV(e);)e=r;return e}function Yve(t){const e=t.ownerDocument;if(!e)return!1;const r=Wve(t);return e.contains(r)}function gV(t){const e=t.ownerDocument;return e?e.contains(t)||Yve(t):!1}let a1;function Kve(){if(a1)return a1;const t=window.document;let e=window.requestAnimationFrame;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r);const n=r.contentWindow;n&&n.requestAnimationFrame&&(e=n.requestAnimationFrame),t.head.removeChild(r)}catch{}return a1=e.bind(window)}function qve(...t){return Kve()(...t)}var He=(t=>(t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin",t))(He||{}),ze=(t=>(t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.Input=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration",t[t.Selection=14]="Selection",t[t.AdoptedStyleSheet=15]="AdoptedStyleSheet",t[t.CustomElement=16]="CustomElement",t))(ze||{}),an=(t=>(t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel",t))(an||{}),ts=(t=>(t[t.Mouse=0]="Mouse",t[t.Pen=1]="Pen",t[t.Touch=2]="Touch",t))(ts||{});function Xve(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}function eR(t){return"__ln"in t}class Jve{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let r=this.head;for(let n=0;n<e;n++)r=Xve([r,"optionalAccess",i=>i.next])||null;return r}addNode(e){const r={value:e,previous:null,next:null};if(e.__ln=r,e.previousSibling&&eR(e.previousSibling)){const n=e.previousSibling.__ln.next;r.next=n,r.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=r,n&&(n.previous=r)}else if(e.nextSibling&&eR(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;r.previous=n,r.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=r,n&&(n.next=r)}else this.head&&(this.head.previous=r),r.next=this.head,this.head=r;r.next===null&&(this.tail=r),this.length++}removeNode(e){const r=e.__ln;this.head&&(r.previous?(r.previous.next=r.next,r.next?r.next.previous=r.previous:this.tail=r.previous):(this.head=r.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const tR=(t,e)=>`${t}@${e}`;class Zve{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],r=new Set,n=new Jve,i=u=>{let c=u,l=rp;for(;l===rp;)c=c&&c.nextSibling,l=c&&this.mirror.getId(c);return l},a=u=>{if(!u.parentNode||!gV(u))return;const c=Th(u.parentNode)?this.mirror.getId(mV(u)):this.mirror.getId(u.parentNode),l=i(u);if(c===-1||l===-1)return n.addNode(u);const d=kl(u,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:f=>{hV(f,this.mirror)&&this.iframeManager.addIframe(f),pV(f,this.mirror)&&this.stylesheetManager.trackLinkElement(f),UO(u)&&this.shadowDomManager.addShadowRoot(u.shadowRoot,this.doc)},onIframeLoad:(f,p)=>{this.iframeManager.attachIframe(f,p),this.shadowDomManager.observeAttachShadow(f)},onStylesheetLoad:(f,p)=>{this.stylesheetManager.attachLinkElement(f,p)}});d&&(e.push({parentId:c,nextId:l,node:d}),r.add(d.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const u of this.movedSet)rR(this.removes,u,this.mirror)&&!this.movedSet.has(u.parentNode)||a(u);for(const u of this.addedSet)!nR(this.droppedSet,u)&&!rR(this.removes,u,this.mirror)||nR(this.movedSet,u)?a(u):this.droppedSet.add(u);let s=null;for(;n.length;){let u=null;if(s){const c=this.mirror.getId(s.value.parentNode),l=i(s.value);c!==-1&&l!==-1&&(u=s)}if(!u){let c=n.tail;for(;c;){const l=c;if(c=c.previous,l){const d=this.mirror.getId(l.value.parentNode);if(i(l.value)===-1)continue;if(d!==-1){u=l;break}else{const p=l.value;if(p.parentNode&&p.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const m=p.parentNode.host;if(this.mirror.getId(m)!==-1){u=l;break}}}}}}if(!u){for(;n.head;)n.removeNode(n.head.value);break}s=u.previous,n.removeNode(u.value),a(u.value)}const o={texts:this.texts.map(u=>({id:this.mirror.getId(u.node),value:u.value})).filter(u=>!r.has(u.id)).filter(u=>this.mirror.has(u.id)),attributes:this.attributes.map(u=>{const{attributes:c}=u;if(typeof c.style=="string"){const l=JSON.stringify(u.styleDiff),d=JSON.stringify(u._unchangedStyles);l.length<c.style.length&&(l+d).split("var(").length===c.style.split("var(").length&&(c.style=u.styleDiff)}return{id:this.mirror.getId(u.node),attributes:c}}).filter(u=>!r.has(u.id)).filter(u=>this.mirror.has(u.id)),removes:this.removes,adds:e};!o.texts.length&&!o.attributes.length&&!o.removes.length&&!o.adds.length||(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(i1(e.target,this.mirror))return;let r;try{r=document.implementation.createHTMLDocument()}catch{r=this.doc}switch(e.type){case"characterData":{const n=e.target.textContent;!Li(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==e.oldValue&&this.texts.push({value:hd(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n):n.replace(/[\S]/g,"*"):n,node:e.target});break}case"attributes":{const n=e.target;let i=e.attributeName,a=e.target.getAttribute(i);if(i==="value"){const o=gP(n),u=n.tagName;a=L0(n,u,o);const c=wy({maskInputOptions:this.maskInputOptions,tagName:u,type:o}),l=hd(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);a=tp({isMasked:l,element:n,value:a,maskInputFn:this.maskInputFn})}if(Li(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||a===e.oldValue)return;let s=this.attributes.find(o=>o.node===e.target);if(n.tagName==="IFRAME"&&i==="src"&&!this.keepIframeSrcFn(a))if(!n.contentDocument)i="rr_src";else return;if(s||(s={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s)),i==="type"&&n.tagName==="INPUT"&&(e.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!oV(n.tagName,i)&&(s.attributes[i]=sV(this.doc,fd(n.tagName),fd(i),a,n,this.maskAttributeFn),i==="style")){const o=r.createElement("span");e.oldValue&&o.setAttribute("style",e.oldValue);for(const u of Array.from(n.style)){const c=n.style.getPropertyValue(u),l=n.style.getPropertyPriority(u);c!==o.style.getPropertyValue(u)||l!==o.style.getPropertyPriority(u)?l===""?s.styleDiff[u]=c:s.styleDiff[u]=[c,l]:s._unchangedStyles[u]=[c,l]}for(const u of Array.from(o.style))n.style.getPropertyValue(u)===""&&(s.styleDiff[u]=!1)}break}case"childList":{if(Li(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(n=>this.genAdds(n,e.target)),e.removedNodes.forEach(n=>{const i=this.mirror.getId(n),a=Th(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Li(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||i1(n,this.mirror)||!Vve(n,this.mirror)||(this.addedSet.has(n)?(GO(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(e.target)&&i===-1||fV(e.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[tR(i,a)]?GO(this.movedSet,n):this.removes.push({parentId:a,id:i,isShadow:Th(e.target)&&Eh(e.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(e,r)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(i1(e,this.mirror))return;this.movedSet.add(e);let n=null;r&&this.mirror.hasNode(r)&&(n=this.mirror.getId(r)),n&&n!==-1&&(this.movedMap[tR(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Li(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes.forEach(n=>this.genAdds(n)),UO(e)&&e.shadowRoot.childNodes.forEach(n=>{this.processedNodeManager.add(n,this),this.genAdds(n,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(r=>{this[r]=e[r]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function GO(t,e){t.delete(e),e.childNodes.forEach(r=>GO(t,r))}function rR(t,e,r){return t.length===0?!1:vV(t,e,r)}function vV(t,e,r){const{parentNode:n}=e;if(!n)return!1;const i=r.getId(n);return t.some(a=>a.id===i)?!0:vV(t,n,r)}function nR(t,e){return t.size===0?!1:bV(t,e)}function bV(t,e){const{parentNode:r}=e;return r?t.has(r)?!0:bV(t,r):!1}let xh;function Qve(t){xh=t}function e0e(){xh=void 0}const et=t=>xh?(...r)=>{try{return t(...r)}catch(n){if(xh&&xh(n)===!0)return()=>{};throw n}}:t;function xa(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}const Dl=[];function Fp(t){try{if("composedPath"in t){const e=t.composedPath();if(e.length)return e[0]}else if("path"in t&&t.path.length)return t.path[0]}catch{}return t&&t.target}function yV(t,e){const r=new Zve;Dl.push(r),r.init(t);let n=window.MutationObserver||window.__rrMutationObserver;const i=xa([window,"optionalAccess",s=>s.Zone,"optionalAccess",s=>s.__symbol__,"optionalCall",s=>s("MutationObserver")]);i&&window[i]&&(n=window[i]);const a=new n(et(s=>{t.onMutation&&t.onMutation(s)===!1||r.processMutations.bind(r)(s)}));return a.observe(e,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function t0e({mousemoveCb:t,sampling:e,doc:r,mirror:n}){if(e.mousemove===!1)return()=>{};const i=typeof e.mousemove=="number"?e.mousemove:50,a=typeof e.mousemoveCallback=="number"?e.mousemoveCallback:500;let s=[],o;const u=np(et(d=>{const f=Date.now()-o;t(s.map(p=>(p.timeOffset-=f,p)),d),s=[],o=null}),a),c=et(np(et(d=>{const f=Fp(d),{clientX:p,clientY:m}=VO(d)?d.changedTouches[0]:d;o||(o=B0()),s.push({x:p,y:m,id:n.getId(f),timeOffset:B0()-o}),u(typeof DragEvent<"u"&&d instanceof DragEvent?ze.Drag:d instanceof MouseEvent?ze.MouseMove:ze.TouchMove)}),i,{trailing:!1})),l=[ln("mousemove",c,r),ln("touchmove",c,r),ln("drag",c,r)];return et(()=>{l.forEach(d=>d())})}function r0e({mouseInteractionCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,sampling:s}){if(s.mouseInteraction===!1)return()=>{};const o=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,u=[];let c=null;const l=d=>f=>{const p=Fp(f);if(Li(p,n,i,a,!0))return;let m=null,b=d;if("pointerType"in f){switch(f.pointerType){case"mouse":m=ts.Mouse;break;case"touch":m=ts.Touch;break;case"pen":m=ts.Pen;break}m===ts.Touch?an[d]===an.MouseDown?b="TouchStart":an[d]===an.MouseUp&&(b="TouchEnd"):ts.Pen}else VO(f)&&(m=ts.Touch);m!==null?(c=m,(b.startsWith("Touch")&&m===ts.Touch||b.startsWith("Mouse")&&m===ts.Mouse)&&(m=null)):an[d]===an.Click&&(m=c,c=null);const _=VO(f)?f.changedTouches[0]:f;if(!_)return;const S=r.getId(p),{clientX:x,clientY:O}=_;et(t)({type:an[b],id:S,x,y:O,...m!==null&&{pointerType:m}})};return Object.keys(an).filter(d=>Number.isNaN(Number(d))&&!d.endsWith("_Departed")&&o[d]!==!1).forEach(d=>{let f=fd(d);const p=l(d);if(window.PointerEvent)switch(an[d]){case an.MouseDown:case an.MouseUp:f=f.replace("mouse","pointer");break;case an.TouchStart:case an.TouchEnd:return}u.push(ln(f,p,e))}),et(()=>{u.forEach(d=>d())})}function _V({scrollCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,sampling:s}){const o=et(np(et(u=>{const c=Fp(u);if(!c||Li(c,n,i,a,!0))return;const l=r.getId(c);if(c===e&&e.defaultView){const d=cV(e.defaultView);t({id:l,x:d.left,y:d.top})}else t({id:l,x:c.scrollLeft,y:c.scrollTop})}),s.scroll||100));return ln("scroll",o,e)}function n0e({viewportResizeCb:t},{win:e}){let r=-1,n=-1;const i=et(np(et(()=>{const a=lV(),s=dV();(r!==a||n!==s)&&(t({width:Number(s),height:Number(a)}),r=a,n=s)}),200));return ln("resize",i,e)}const i0e=["INPUT","TEXTAREA","SELECT"],iR=new WeakMap;function a0e({inputCb:t,doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,ignoreClass:s,ignoreSelector:o,maskInputOptions:u,maskInputFn:c,sampling:l,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:b}){function _(T){let P=Fp(T);const k=T.isTrusted,w=P&&zO(P.tagName);if(w==="OPTION"&&(P=P.parentElement),!P||!w||i0e.indexOf(w)<0||Li(P,n,i,a,!0))return;const A=P;if(A.classList.contains(s)||o&&A.matches(o))return;const C=gP(P);let E=L0(A,w,C),$=!1;const D=wy({maskInputOptions:u,tagName:w,type:C}),M=hd(P,f,m,p,b,D);(C==="radio"||C==="checkbox")&&($=P.checked),E=tp({isMasked:M,element:P,value:E,maskInputFn:c}),S(P,d?{text:E,isChecked:$,userTriggered:k}:{text:E,isChecked:$});const L=P.name;C==="radio"&&L&&$&&e.querySelectorAll(`input[type="radio"][name="${L}"]`).forEach(N=>{if(N!==P){const j=tp({isMasked:M,element:N,value:L0(N,w,C),maskInputFn:c});S(N,d?{text:j,isChecked:!$,userTriggered:!1}:{text:j,isChecked:!$})}})}function S(T,P){const k=iR.get(T);if(!k||k.text!==P.text||k.isChecked!==P.isChecked){iR.set(T,P);const w=r.getId(T);et(t)({...P,id:w})}}const O=(l.input==="last"?["change"]:["input","change"]).map(T=>ln(T,et(_),e)),h=e.defaultView;if(!h)return()=>{O.forEach(T=>T())};const v=h.Object.getOwnPropertyDescriptor(h.HTMLInputElement.prototype,"value"),g=[[h.HTMLInputElement.prototype,"value"],[h.HTMLInputElement.prototype,"checked"],[h.HTMLSelectElement.prototype,"value"],[h.HTMLTextAreaElement.prototype,"value"],[h.HTMLSelectElement.prototype,"selectedIndex"],[h.HTMLOptionElement.prototype,"selected"]];return v&&v.set&&O.push(...g.map(T=>uV(T[0],T[1],{set(){et(_)({target:this,isTrusted:!1})}},!1,h))),et(()=>{O.forEach(T=>T())})}function F0(t){const e=[];function r(n,i){if(Qm("CSSGroupingRule")&&n.parentRule instanceof CSSGroupingRule||Qm("CSSMediaRule")&&n.parentRule instanceof CSSMediaRule||Qm("CSSSupportsRule")&&n.parentRule instanceof CSSSupportsRule||Qm("CSSConditionRule")&&n.parentRule instanceof CSSConditionRule){const s=Array.from(n.parentRule.cssRules).indexOf(n);i.unshift(s)}else if(n.parentStyleSheet){const s=Array.from(n.parentStyleSheet.cssRules).indexOf(n);i.unshift(s)}return i}return r(t,e)}function ro(t,e,r){let n,i;return t?(t.ownerNode?n=e.getId(t.ownerNode):i=r.getId(t),{styleId:i,id:n}):{}}function s0e({styleSheetRuleCb:t,mirror:e,stylesheetManager:r},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};const i=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:et((l,d,f)=>{const[p,m]=f,{id:b,styleId:_}=ro(d,e,r.styleMirror);return(b&&b!==-1||_&&_!==-1)&&t({id:b,styleId:_,adds:[{rule:p,index:m}]}),l.apply(d,f)})});const a=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:et((l,d,f)=>{const[p]=f,{id:m,styleId:b}=ro(d,e,r.styleMirror);return(m&&m!==-1||b&&b!==-1)&&t({id:m,styleId:b,removes:[{index:p}]}),l.apply(d,f)})});let s;n.CSSStyleSheet.prototype.replace&&(s=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:et((l,d,f)=>{const[p]=f,{id:m,styleId:b}=ro(d,e,r.styleMirror);return(m&&m!==-1||b&&b!==-1)&&t({id:m,styleId:b,replace:p}),l.apply(d,f)})}));let o;n.CSSStyleSheet.prototype.replaceSync&&(o=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:et((l,d,f)=>{const[p]=f,{id:m,styleId:b}=ro(d,e,r.styleMirror);return(m&&m!==-1||b&&b!==-1)&&t({id:m,styleId:b,replaceSync:p}),l.apply(d,f)})}));const u={};eg("CSSGroupingRule")?u.CSSGroupingRule=n.CSSGroupingRule:(eg("CSSMediaRule")&&(u.CSSMediaRule=n.CSSMediaRule),eg("CSSConditionRule")&&(u.CSSConditionRule=n.CSSConditionRule),eg("CSSSupportsRule")&&(u.CSSSupportsRule=n.CSSSupportsRule));const c={};return Object.entries(u).forEach(([l,d])=>{c[l]={insertRule:d.prototype.insertRule,deleteRule:d.prototype.deleteRule},d.prototype.insertRule=new Proxy(c[l].insertRule,{apply:et((f,p,m)=>{const[b,_]=m,{id:S,styleId:x}=ro(p.parentStyleSheet,e,r.styleMirror);return(S&&S!==-1||x&&x!==-1)&&t({id:S,styleId:x,adds:[{rule:b,index:[...F0(p),_||0]}]}),f.apply(p,m)})}),d.prototype.deleteRule=new Proxy(c[l].deleteRule,{apply:et((f,p,m)=>{const[b]=m,{id:_,styleId:S}=ro(p.parentStyleSheet,e,r.styleMirror);return(_&&_!==-1||S&&S!==-1)&&t({id:_,styleId:S,removes:[{index:[...F0(p),b]}]}),f.apply(p,m)})})}),et(()=>{n.CSSStyleSheet.prototype.insertRule=i,n.CSSStyleSheet.prototype.deleteRule=a,s&&(n.CSSStyleSheet.prototype.replace=s),o&&(n.CSSStyleSheet.prototype.replaceSync=o),Object.entries(u).forEach(([l,d])=>{d.prototype.insertRule=c[l].insertRule,d.prototype.deleteRule=c[l].deleteRule})})}function wV({mirror:t,stylesheetManager:e},r){let n=null;r.nodeName==="#document"?n=t.getId(r):n=t.getId(r.host);const i=r.nodeName==="#document"?xa([r,"access",s=>s.defaultView,"optionalAccess",s=>s.Document]):xa([r,"access",s=>s.ownerDocument,"optionalAccess",s=>s.defaultView,"optionalAccess",s=>s.ShadowRoot]),a=xa([i,"optionalAccess",s=>s.prototype])?Object.getOwnPropertyDescriptor(xa([i,"optionalAccess",s=>s.prototype]),"adoptedStyleSheets"):void 0;return n===null||n===-1||!i||!a?()=>{}:(Object.defineProperty(r,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){return xa([a,"access",s=>s.get,"optionalAccess",s=>s.call,"call",s=>s(this)])},set(s){const o=xa([a,"access",u=>u.set,"optionalAccess",u=>u.call,"call",u=>u(this,s)]);if(n!==null&&n!==-1)try{e.adoptStyleSheets(s,n)}catch{}return o}}),et(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set})}))}function o0e({styleDeclarationCb:t,mirror:e,ignoreCSSAttributes:r,stylesheetManager:n},{win:i}){const a=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:et((o,u,c)=>{const[l,d,f]=c;if(r.has(l))return a.apply(u,[l,d,f]);const{id:p,styleId:m}=ro(xa([u,"access",b=>b.parentRule,"optionalAccess",b=>b.parentStyleSheet]),e,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&t({id:p,styleId:m,set:{property:l,value:d,priority:f},index:F0(u.parentRule)}),o.apply(u,c)})});const s=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:et((o,u,c)=>{const[l]=c;if(r.has(l))return s.apply(u,[l]);const{id:d,styleId:f}=ro(xa([u,"access",p=>p.parentRule,"optionalAccess",p=>p.parentStyleSheet]),e,n.styleMirror);return(d&&d!==-1||f&&f!==-1)&&t({id:d,styleId:f,remove:{property:l},index:F0(u.parentRule)}),o.apply(u,c)})}),et(()=>{i.CSSStyleDeclaration.prototype.setProperty=a,i.CSSStyleDeclaration.prototype.removeProperty=s})}function u0e({mediaInteractionCb:t,blockClass:e,blockSelector:r,unblockSelector:n,mirror:i,sampling:a,doc:s}){const o=et(c=>np(et(l=>{const d=Fp(l);if(!d||Li(d,e,r,n,!0))return;const{currentTime:f,volume:p,muted:m,playbackRate:b}=d;t({type:c,id:i.getId(d),currentTime:f,volume:p,muted:m,playbackRate:b})}),a.media||500)),u=[ln("play",o(0),s),ln("pause",o(1),s),ln("seeked",o(2),s),ln("volumechange",o(3),s),ln("ratechange",o(4),s)];return et(()=>{u.forEach(c=>c())})}function c0e({fontCb:t,doc:e}){const r=e.defaultView;if(!r)return()=>{};const n=[],i=new WeakMap,a=r.FontFace;r.FontFace=function(u,c,l){const d=new a(u,c,l);return i.set(d,{family:u,buffer:typeof c!="string",descriptors:l,fontSource:typeof c=="string"?c:JSON.stringify(Array.from(new Uint8Array(c)))}),d};const s=yP(e.fonts,"add",function(o){return function(u){return setTimeout(et(()=>{const c=i.get(u);c&&(t(c),i.delete(u))}),0),o.apply(this,[u])}});return n.push(()=>{r.FontFace=a}),n.push(s),et(()=>{n.forEach(o=>o())})}function l0e(t){const{doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:a,selectionCb:s}=t;let o=!0;const u=et(()=>{const c=e.getSelection();if(!c||o&&xa([c,"optionalAccess",f=>f.isCollapsed]))return;o=c.isCollapsed||!1;const l=[],d=c.rangeCount||0;for(let f=0;f<d;f++){const p=c.getRangeAt(f),{startContainer:m,startOffset:b,endContainer:_,endOffset:S}=p;Li(m,n,i,a,!0)||Li(_,n,i,a,!0)||l.push({start:r.getId(m),startOffset:b,end:r.getId(_),endOffset:S})}s({ranges:l})});return u(),ln("selectionchange",u)}function d0e({doc:t,customElementCb:e}){const r=t.defaultView;return!r||!r.customElements?()=>{}:yP(r.customElements,"define",function(i){return function(a,s,o){try{e({define:{name:a}})}catch{}return i.apply(this,[a,s,o])}})}function f0e(t,e={}){const r=t.doc.defaultView;if(!r)return()=>{};const n=yV(t,t.doc),i=t0e(t),a=r0e(t),s=_V(t),o=n0e(t,{win:r}),u=a0e(t),c=u0e(t),l=s0e(t,{win:r}),d=wV(t,t.doc),f=o0e(t,{win:r}),p=t.collectFonts?c0e(t):()=>{},m=l0e(t),b=d0e(t),_=[];for(const S of t.plugins)_.push(S.observer(S.callback,r,S.options));return et(()=>{Dl.forEach(S=>S.reset()),n.disconnect(),i(),a(),s(),o(),u(),c(),l(),d(),f(),p(),m(),b(),_.forEach(S=>S())})}function Qm(t){return typeof window[t]<"u"}function eg(t){return!!(typeof window[t]<"u"&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}class WO{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,r,n,i){const a=n||this.getIdToRemoteIdMap(e),s=i||this.getRemoteIdToIdMap(e);let o=a.get(r);return o||(o=this.generateIdFn(),a.set(r,o),s.set(o,r)),o}getIds(e,r){const n=this.getIdToRemoteIdMap(e),i=this.getRemoteIdToIdMap(e);return r.map(a=>this.getId(e,a,n,i))}getRemoteId(e,r,n){const i=n||this.getRemoteIdToIdMap(e);if(typeof r!="number")return r;const a=i.get(r);return a||-1}getRemoteIds(e,r){const n=this.getRemoteIdToIdMap(e);return r.map(i=>this.getRemoteId(e,i,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let r=this.iframeIdToRemoteIdMap.get(e);return r||(r=new Map,this.iframeIdToRemoteIdMap.set(e,r)),r}getRemoteIdToIdMap(e){let r=this.iframeRemoteIdToIdMap.get(e);return r||(r=new Map,this.iframeRemoteIdToIdMap.set(e,r)),r}}function aR(t){let e,r=t[0],n=1;for(;n<t.length;){const i=t[n],a=t[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(e=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...s)=>r.call(e,...s)),e=void 0)}return r}class h0e{constructor(){this.crossOriginIframeMirror=new WO(vP),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class p0e{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new WO(vP),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new WO(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,r){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),aR([this,"access",n=>n.loadListener,"optionalCall",n=>n(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const r=e;if(r.data.type!=="rrweb"||r.origin!==r.data.origin||!e.source)return;const i=this.crossOriginIframeMap.get(e.source);if(!i)return;const a=this.transformCrossOriginEvent(i,r.data.event);a&&this.wrappedEmit(a,r.data.isCheckout)}transformCrossOriginEvent(e,r){switch(r.type){case He.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(r.data.node,e);const n=r.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(r.data.node,n),{timestamp:r.timestamp,type:He.IncrementalSnapshot,data:{source:ze.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:r.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case He.Meta:case He.Load:case He.DomContentLoaded:return!1;case He.Plugin:return r;case He.Custom:return this.replaceIds(r.data.payload,e,["id","parentId","previousId","nextId"]),r;case He.IncrementalSnapshot:switch(r.data.source){case ze.Mutation:return r.data.adds.forEach(n=>{this.replaceIds(n,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(n.node,e);const i=this.crossOriginIframeRootIdMap.get(e);i&&this.patchRootIdOnNode(n.node,i)}),r.data.removes.forEach(n=>{this.replaceIds(n,e,["parentId","id"])}),r.data.attributes.forEach(n=>{this.replaceIds(n,e,["id"])}),r.data.texts.forEach(n=>{this.replaceIds(n,e,["id"])}),r;case ze.Drag:case ze.TouchMove:case ze.MouseMove:return r.data.positions.forEach(n=>{this.replaceIds(n,e,["id"])}),r;case ze.ViewportResize:return!1;case ze.MediaInteraction:case ze.MouseInteraction:case ze.Scroll:case ze.CanvasMutation:case ze.Input:return this.replaceIds(r.data,e,["id"]),r;case ze.StyleSheetRule:case ze.StyleDeclaration:return this.replaceIds(r.data,e,["id"]),this.replaceStyleIds(r.data,e,["styleId"]),r;case ze.Font:return r;case ze.Selection:return r.data.ranges.forEach(n=>{this.replaceIds(n,e,["start","end"])}),r;case ze.AdoptedStyleSheet:return this.replaceIds(r.data,e,["id"]),this.replaceStyleIds(r.data,e,["styleIds"]),aR([r,"access",n=>n.data,"access",n=>n.styles,"optionalAccess",n=>n.forEach,"call",n=>n(i=>{this.replaceStyleIds(i,e,["styleId"])})]),r}}return!1}replace(e,r,n,i){for(const a of i)!Array.isArray(r[a])&&typeof r[a]!="number"||(Array.isArray(r[a])?r[a]=e.getIds(n,r[a]):r[a]=e.getId(n,r[a]));return r}replaceIds(e,r,n){return this.replace(this.crossOriginIframeMirror,e,r,n)}replaceStyleIds(e,r,n){return this.replace(this.crossOriginIframeStyleMirror,e,r,n)}replaceIdOnNode(e,r){this.replaceIds(e,r,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(n=>{this.replaceIdOnNode(n,r)})}patchRootIdOnNode(e,r){e.type!==wr.Document&&!e.rootId&&(e.rootId=r),"childNodes"in e&&e.childNodes.forEach(n=>{this.patchRootIdOnNode(n,r)})}}class m0e{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class g0e{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,r){if(!Eh(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e);const n=yV({...this.bypassOptions,doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(_V({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(wV({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){!e.contentWindow||!e.contentDocument||this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,r){const n=this;this.restoreHandlers.push(yP(e.prototype,"attachShadow",function(i){return function(a){const s=i.call(this,a);return this.shadowRoot&&gV(this)&&n.addShadowRoot(this.shadowRoot,r),s}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class sR{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class v0e{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new Gve,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,r){"_cssText"in r.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:r.id,attributes:r.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,r){if(e.length===0)return;const n={id:r,styleIds:[]},i=[];for(const a of e){let s;this.styleMirror.has(a)?s=this.styleMirror.getId(a):(s=this.styleMirror.add(a),i.push({styleId:s,rules:Array.from(a.rules||CSSRule,(o,u)=>({rule:iV(o),index:u}))})),n.styleIds.push(s)}i.length>0&&(n.styles=i),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class b0e{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){qve(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(e,r){const n=this.nodeMap.get(e);return n&&Array.from(n).some(i=>i!==r)}add(e,r){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(r))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}function vr(t){const e=t;return e.timestamp=B0(),e}let j0;const Di=yve();function Eo(t={}){const{emit:e,checkoutEveryNms:r,checkoutEveryNth:n,blockClass:i="rr-block",blockSelector:a=null,unblockSelector:s=null,ignoreClass:o="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:l="rr-mask",unmaskTextClass:d=null,maskTextSelector:f=null,unmaskTextSelector:p=null,inlineStylesheet:m=!0,maskAllInputs:b,maskInputOptions:_,slimDOMOptions:S,maskAttributeFn:x,maskInputFn:O,maskTextFn:h,packFn:v,sampling:g={},dataURLOptions:T={},mousemoveWait:P,recordCanvas:k=!1,recordCrossOriginIframes:w=!1,recordAfter:A=t.recordAfter==="DOMContentLoaded"?t.recordAfter:"load",userTriggeredOnInput:C=!1,collectFonts:E=!1,inlineImages:$=!1,plugins:D,keepIframeSrcFn:M=()=>!1,ignoreCSSAttributes:L=new Set([]),errorHandler:N,onMutation:j,getCanvasManager:z}=t;Qve(N);const U=w?window.parent===window:!0;let J=!1;if(!U)try{window.parent.document&&(J=!1)}catch{J=!0}if(U&&!e)throw new Error("emit function is required");P!==void 0&&g.mousemove===void 0&&(g.mousemove=P),Di.reset();const re=b===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:_!==void 0?_:{},Y=S===!0||S==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:S==="all",headMetaDescKeywords:S==="all"}:S||{};Uve();let G,K=0;const X=De=>{for(const xr of D||[])xr.eventProcessor&&(De=xr.eventProcessor(De));return v&&!J&&(De=v(De)),De},se=(De,xr)=>{if(lv([Dl,"access",je=>je[0],"optionalAccess",je=>je.isFrozen,"call",je=>je()])&&De.type!==He.FullSnapshot&&!(De.type===He.IncrementalSnapshot&&De.data.source===ze.Mutation)&&Dl.forEach(je=>je.unfreeze()),U)lv([e,"optionalCall",je=>je(X(De),xr)]);else if(J){const je={type:"rrweb",event:X(De),origin:window.location.origin,isCheckout:xr};window.parent.postMessage(je,"*")}if(De.type===He.FullSnapshot)G=De,K=0;else if(De.type===He.IncrementalSnapshot){if(De.data.source===ze.Mutation&&De.data.isAttachIframe)return;K++;const je=n&&K>=n,Gr=r&&De.timestamp-G.timestamp>r;(je||Gr)&&Xo(!0)}},Ae=De=>{se(vr({type:He.IncrementalSnapshot,data:{source:ze.Mutation,...De}}))},Ye=De=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.Scroll,...De}})),bt=De=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.CanvasMutation,...De}})),ir=De=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.AdoptedStyleSheet,...De}})),Hr=new v0e({mutationCb:Ae,adoptedStyleSheetCb:ir}),bn=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new h0e:new p0e({mirror:Di,mutationCb:Ae,stylesheetManager:Hr,recordCrossOriginIframes:w,wrappedEmit:se});for(const De of D||[])De.getMirror&&De.getMirror({nodeMirror:Di,crossOriginIframeMirror:bn.crossOriginIframeMirror,crossOriginIframeStyleMirror:bn.crossOriginIframeStyleMirror});const oa=new b0e,Ya=_0e(z,{mirror:Di,win:window,mutationCb:De=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.CanvasMutation,...De}})),recordCanvas:k,blockClass:i,blockSelector:a,unblockSelector:s,sampling:g.canvas,dataURLOptions:T}),ua=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new m0e:new g0e({mutationCb:Ae,scrollCb:Ye,bypassOptions:{onMutation:j,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:c,maskTextClass:l,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskInputOptions:re,dataURLOptions:T,maskAttributeFn:x,maskTextFn:h,maskInputFn:O,recordCanvas:k,inlineImages:$,sampling:g,slimDOMOptions:Y,iframeManager:bn,stylesheetManager:Hr,canvasManager:Ya,keepIframeSrcFn:M,processedNodeManager:oa},mirror:Di}),Xo=(De=!1)=>{se(vr({type:He.Meta,data:{href:window.location.href,width:dV(),height:lV()}}),De),Hr.reset(),ua.init(),Dl.forEach(je=>je.lock());const xr=zve(document,{mirror:Di,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:c,maskTextClass:l,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskAllInputs:re,maskAttributeFn:x,maskInputFn:O,maskTextFn:h,slimDOM:Y,dataURLOptions:T,recordCanvas:k,inlineImages:$,onSerialize:je=>{hV(je,Di)&&bn.addIframe(je),pV(je,Di)&&Hr.trackLinkElement(je),UO(je)&&ua.addShadowRoot(je.shadowRoot,document)},onIframeLoad:(je,Gr)=>{bn.attachIframe(je,Gr),ua.observeAttachShadow(je)},onStylesheetLoad:(je,Gr)=>{Hr.attachLinkElement(je,Gr)},keepIframeSrcFn:M});if(!xr)return console.warn("Failed to snapshot the document");se(vr({type:He.FullSnapshot,data:{node:xr,initialOffset:cV(window)}})),Dl.forEach(je=>je.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Hr.adoptStyleSheets(document.adoptedStyleSheets,Di.getId(document))};j0=Xo;try{const De=[],xr=Gr=>et(f0e)({onMutation:j,mutationCb:Ae,mousemoveCb:(Qe,Pr)=>se(vr({type:He.IncrementalSnapshot,data:{source:Pr,positions:Qe}})),mouseInteractionCb:Qe=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.MouseInteraction,...Qe}})),scrollCb:Ye,viewportResizeCb:Qe=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.ViewportResize,...Qe}})),inputCb:Qe=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.Input,...Qe}})),mediaInteractionCb:Qe=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.MediaInteraction,...Qe}})),styleSheetRuleCb:Qe=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.StyleSheetRule,...Qe}})),styleDeclarationCb:Qe=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.StyleDeclaration,...Qe}})),canvasMutationCb:bt,fontCb:Qe=>se(vr({type:He.IncrementalSnapshot,data:{source:ze.Font,...Qe}})),selectionCb:Qe=>{se(vr({type:He.IncrementalSnapshot,data:{source:ze.Selection,...Qe}}))},customElementCb:Qe=>{se(vr({type:He.IncrementalSnapshot,data:{source:ze.CustomElement,...Qe}}))},blockClass:i,ignoreClass:o,ignoreSelector:u,maskAllText:c,maskTextClass:l,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,maskInputOptions:re,inlineStylesheet:m,sampling:g,recordCanvas:k,inlineImages:$,userTriggeredOnInput:C,collectFonts:E,doc:Gr,maskAttributeFn:x,maskInputFn:O,maskTextFn:h,keepIframeSrcFn:M,blockSelector:a,unblockSelector:s,slimDOMOptions:Y,dataURLOptions:T,mirror:Di,iframeManager:bn,stylesheetManager:Hr,shadowDomManager:ua,processedNodeManager:oa,canvasManager:Ya,ignoreCSSAttributes:L,plugins:lv([D,"optionalAccess",Qe=>Qe.filter,"call",Qe=>Qe(Pr=>Pr.observer),"optionalAccess",Qe=>Qe.map,"call",Qe=>Qe(Pr=>({observer:Pr.observer,options:Pr.options,callback:Ns=>se(vr({type:He.Plugin,data:{plugin:Pr.name,payload:Ns}}))}))])||[]},{});bn.addLoadListener(Gr=>{try{De.push(xr(Gr.contentDocument))}catch(Qe){console.warn(Qe)}});const je=()=>{Xo(),De.push(xr(document))};return document.readyState==="interactive"||document.readyState==="complete"?je():(De.push(ln("DOMContentLoaded",()=>{se(vr({type:He.DomContentLoaded,data:{}})),A==="DOMContentLoaded"&&je()})),De.push(ln("load",()=>{se(vr({type:He.Load,data:{}})),A==="load"&&je()},window))),()=>{De.forEach(Gr=>Gr()),oa.destroy(),j0=void 0,e0e()}}catch(De){console.warn(De)}}function y0e(t){if(!j0)throw new Error("please take full snapshot after start recording");j0(t)}Eo.mirror=Di;Eo.takeFullSnapshot=y0e;function _0e(t,e){try{return t?t(e):new sR}catch{return console.warn("Unable to initialize CanvasManager"),new sR}}const w0e=3,S0e=5;function _P(t){return t>9999999999?t:t*1e3}function s1(t){return t>9999999999?t/1e3:t}function jp(t,e){e.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(e.category)?t.triggerUserActivity():t.checkAndHandleExpiredSession(),t.addUpdate(()=>(t.throttledAddEvent({type:He.Custom,timestamp:(e.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:Ea(e,10,1e3)}}),e.category==="console")))}const O0e="button,a";function SV(t){return t.closest(O0e)||t}function OV(t){const e=TV(t);return!e||!(e instanceof Element)?e:SV(e)}function TV(t){return T0e(t)?t.target:t}function T0e(t){return typeof t=="object"&&!!t&&"target"in t}let no;function E0e(t){return no||(no=[],x0e()),no.push(t),()=>{const e=no?no.indexOf(t):-1;e>-1&&no.splice(e,1)}}function x0e(){Ir(Ct,"open",function(t){return function(...e){if(no)try{no.forEach(r=>r())}catch{}return t.apply(Ct,e)}})}function P0e(t,e,r){t.handleClick(e,r)}class C0e{constructor(e,r,n=jp){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=r.timeout/1e3,this._threshold=r.threshold/1e3,this._scollTimeout=r.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=r.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=E0e(()=>{this._lastMutation=oR()});this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,r){if(M0e(r,this._ignoreSelector)||!$0e(e))return;const n={timestamp:s1(e.timestamp),clickBreadcrumb:e,clickCount:0,node:r};this._clicks.some(i=>i.node===n.node&&Math.abs(i.timestamp-n.timestamp)<1)||(this._clicks.push(n),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=s1(e)}registerScroll(e=Date.now()){this._lastScroll=s1(e)}registerClick(e){const r=SV(e);this._handleMultiClick(r)}_handleMultiClick(e){this._getClicks(e).forEach(r=>{r.clickCount++})}_getClicks(e){return this._clicks.filter(r=>r.node===e)}_checkClicks(){const e=[],r=oR();this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=r&&e.push(n)});for(const n of e){const i=this._clicks.indexOf(n);i>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(i,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const r=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,i=e.mutationAfter&&e.mutationAfter<=this._threshold,a=!n&&!i,{clickCount:s,clickBreadcrumb:o}=e;if(a){const u=Math.min(e.mutationAfter||this._timeout,this._timeout)*1e3,c=u<this._timeout*1e3?"mutation":"timeout",l={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.slowClickDetected",data:{...o.data,url:Ct.location.href,route:r.getCurrentRoute(),timeAfterClickMs:u,endReason:c,clickCount:s||1}};this._addBreadcrumbEvent(r,l);return}if(s>1){const u={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.multiClick",data:{...o.data,url:Ct.location.href,route:r.getCurrentRoute(),clickCount:s,metric:!0}};this._addBreadcrumbEvent(r,u)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(()=>this._checkClicks(),1e3)}}const A0e=["A","BUTTON","INPUT"];function M0e(t,e){return!!(!A0e.includes(t.tagName)||t.tagName==="INPUT"&&!["submit","button"].includes(t.getAttribute("type")||"")||t.tagName==="A"&&(t.hasAttribute("download")||t.hasAttribute("target")&&t.getAttribute("target")!=="_self")||e&&t.matches(e))}function $0e(t){return!!(t.data&&typeof t.data.nodeId=="number"&&t.timestamp)}function oR(){return Date.now()/1e3}function k0e(t,e){try{if(!D0e(e))return;const{source:r}=e.data;if(r===ze.Mutation&&t.registerMutation(e.timestamp),r===ze.Scroll&&t.registerScroll(e.timestamp),I0e(e)){const{type:n,id:i}=e.data,a=Eo.mirror.getNode(i);a instanceof HTMLElement&&n===an.Click&&t.registerClick(a)}}catch{}}function D0e(t){return t.type===w0e}function I0e(t){return t.data.source===ze.MouseInteraction}function $a(t){return{timestamp:Date.now()/1e3,type:"default",...t}}var H0;(function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"})(H0||(H0={}));const R0e=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function L0e(t){const e={};for(const r in t)if(R0e.has(r)){let n=r;(r==="data-testid"||r==="data-test-id")&&(n="testId"),e[n]=t[r]}return e}const N0e=t=>e=>{if(!t.isEnabled())return;const r=B0e(e);if(!r)return;const n=e.name==="click",i=n?e.event:void 0;n&&t.clickDetector&&i&&i.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&P0e(t.clickDetector,r,OV(e.event)),jp(t,r)};function EV(t,e){const r=Eo.mirror.getId(t),n=r&&Eo.mirror.getNode(r),i=n&&Eo.mirror.getMeta(n),a=i&&j0e(i)?i:null;return{message:e,data:a?{nodeId:r,node:{id:r,tagName:a.tagName,textContent:Array.from(a.childNodes).map(s=>s.type===H0.Text&&s.textContent).filter(Boolean).map(s=>s.trim()).join(""),attributes:L0e(a.attributes)}}:{}}}function B0e(t){const{target:e,message:r}=F0e(t);return $a({category:`ui.${t.name}`,...EV(e,r)})}function F0e(t){const e=t.name==="click";let r,n=null;try{n=e?OV(t.event):TV(t.event),r=tc(n,{maxStringLength:200})||"<unknown>"}catch{r="<unknown>"}return{target:n,message:r}}function j0e(t){return t.type===H0.Element}function H0e(t,e){if(!t.isEnabled())return;t.updateUserActivity();const r=z0e(e);r&&jp(t,r)}function z0e(t){const{metaKey:e,shiftKey:r,ctrlKey:n,altKey:i,key:a,target:s}=t;if(!s||V0e(s)||!a)return null;const o=e||n||i,u=a.length===1;if(!o&&u)return null;const c=tc(s,{maxStringLength:200})||"<unknown>",l=EV(s,c);return $a({category:"ui.keyDown",message:c,data:{...l.data,metaKey:e,shiftKey:r,ctrlKey:n,altKey:i,key:a}})}function V0e(t){return t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable}const uR={resource:K0e,paint:W0e,navigation:Y0e};function U0e(t){return t.map(G0e).filter(Boolean)}function G0e(t){return uR[t.entryType]?uR[t.entryType](t):null}function pd(t){return((gn||Ct.performance.timeOrigin)+t)/1e3}function W0e(t){const{duration:e,entryType:r,name:n,startTime:i}=t,a=pd(i);return{type:r,name:n,start:a,end:a+e,data:void 0}}function Y0e(t){const{entryType:e,name:r,decodedBodySize:n,duration:i,domComplete:a,encodedBodySize:s,domContentLoadedEventStart:o,domContentLoadedEventEnd:u,domInteractive:c,loadEventStart:l,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:m,type:b}=t;return i===0?null:{type:`${e}.${b}`,start:pd(p),end:pd(a),name:r,data:{size:m,decodedBodySize:n,encodedBodySize:s,duration:i,domInteractive:c,domContentLoadedEventStart:o,domContentLoadedEventEnd:u,loadEventStart:l,loadEventEnd:d,domComplete:a,redirectCount:f}}}function K0e(t){const{entryType:e,initiatorType:r,name:n,responseEnd:i,startTime:a,decodedBodySize:s,encodedBodySize:o,responseStatus:u,transferSize:c}=t;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${e}.${r}`,start:pd(a),end:pd(i),name:n,data:{size:c,statusCode:u,decodedBodySize:s,encodedBodySize:o}}}function q0e(t){const e=t.entries,r=e[e.length-1],n=r?r.element:void 0,i=t.value,a=pd(i);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:a,end:a,data:{value:i,size:i,nodeId:n?Eo.mirror.getId(n):void 0}}}function X0e(t){function e(i){t.performanceEntries.includes(i)||t.performanceEntries.push(i)}function r({entries:i}){i.forEach(e)}const n=[];return["navigation","paint","resource"].forEach(i=>{n.push(yy(i,r))}),n.push(bz(({metric:i})=>{t.replayPerformanceEntries.push(q0e(i))})),()=>{n.forEach(i=>i())}}const Tt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,J0e='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function Z0e(){const t=new Blob([J0e]);return URL.createObjectURL(t)}function un(t,e){Tt&&(W.info(t),e&&xV(t))}function Hl(t,e){Tt&&(W.info(t),e&&setTimeout(()=>{xV(t)},0))}function xV(t){$s({category:"console",data:{logger:"replay"},level:"info",message:t},{level:"info"})}class wP extends Error{constructor(){super(`Event buffer exceeded maximum size of ${mP}.`)}}class PV{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const r=JSON.stringify(e).length;if(this._totalSize+=r,this._totalSize>mP)throw new wP;this.events.push(e)}finish(){return new Promise(e=>{const r=this.events;this.clear(),e(JSON.stringify(r))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map(r=>r.timestamp).sort()[0];return e?_P(e):null}}class Q0e{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((e,r)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():r()},{once:!0}),this._worker.addEventListener("error",n=>{r(n)},{once:!0})}),this._ensureReadyPromise)}destroy(){un("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,r){const n=this._getAndIncrementId();return new Promise((i,a)=>{const s=({data:o})=>{const u=o;if(u.method===e&&u.id===n){if(this._worker.removeEventListener("message",s),!u.success){Tt&&W.error("[Replay]",u.response),a(new Error("Error in compression worker"));return}i(u.response)}};this._worker.addEventListener("message",s),this._worker.postMessage({id:n,method:e,arg:r})})}_getAndIncrementId(){return this._id++}}class ebe{constructor(e){this._worker=new Q0e(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const r=_P(e.timestamp);(!this._earliestTimestamp||r<this._earliestTimestamp)&&(this._earliestTimestamp=r);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>mP?Promise.reject(new wP):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{Tt&&W.warn('[Replay] Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class tbe{constructor(e){this._fallback=new PV,this._compression=new ebe(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch{un("[Replay] Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:r}=this._fallback,n=[];for(const i of e)n.push(this._compression.addEvent(i));this._compression.hasCheckout=r,this._used=this._compression;try{await Promise.all(n)}catch(i){Tt&&W.warn("[Replay] Failed to add events when switching buffers.",i)}}}function rbe({useCompression:t,workerUrl:e}){if(t&&window.Worker){const r=nbe(e);if(r)return r}return un("[Replay] Using simple buffer"),new PV}function nbe(t){try{const e=t||ibe();if(!e)return;un(`[Replay] Using compression worker${t?` from ${t}`:""}`);const r=new Worker(e);return new tbe(r)}catch{un("[Replay] Failed to create compression worker")}}function ibe(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?Z0e():""}function SP(){try{return"sessionStorage"in Ct&&!!Ct.sessionStorage}catch{return!1}}function abe(t){sbe(),t.session=void 0}function sbe(){if(SP())try{Ct.sessionStorage.removeItem(hP)}catch{}}function CV(t){return t===void 0?!1:Math.random()<t}function AV(t){const e=Date.now(),r=t.id||Ft(),n=t.started||e,i=t.lastActivity||e,a=t.segmentId||0,s=t.sampled,o=t.previousSessionId;return{id:r,started:n,lastActivity:i,segmentId:a,sampled:s,previousSessionId:o}}function OP(t){if(SP())try{Ct.sessionStorage.setItem(hP,JSON.stringify(t))}catch{}}function obe(t,e){return CV(t)?"session":e?"buffer":!1}function cR({sessionSampleRate:t,allowBuffering:e,stickySession:r=!1},{previousSessionId:n}={}){const i=obe(t,e),a=AV({sampled:i,previousSessionId:n});return r&&OP(a),a}function ube(t){if(!SP())return null;try{const e=Ct.sessionStorage.getItem(hP);if(!e)return null;const r=JSON.parse(e);return Hl("[Replay] Loading existing session",t),AV(r)}catch{return null}}function YO(t,e,r=+new Date){return t===null||e===void 0||e<0?!0:e===0?!1:t+e<=r}function MV(t,{maxReplayDuration:e,sessionIdleExpire:r,targetTime:n=Date.now()}){return YO(t.started,e,n)||YO(t.lastActivity,r,n)}function $V(t,{sessionIdleExpire:e,maxReplayDuration:r}){return!(!MV(t,{sessionIdleExpire:e,maxReplayDuration:r})||t.sampled==="buffer"&&t.segmentId===0)}function o1({traceInternals:t,sessionIdleExpire:e,maxReplayDuration:r,previousSessionId:n},i){const a=i.stickySession&&ube(t);return a?$V(a,{sessionIdleExpire:e,maxReplayDuration:r})?(Hl("[Replay] Session in sessionStorage is expired, creating new one..."),cR(i,{previousSessionId:a.id})):a:(Hl("[Replay] Creating new session",t),cR(i,{previousSessionId:n}))}function cbe(t){return t.type===He.Custom}function TP(t,e,r){return DV(t,e)?(kV(t,e,r),!0):!1}function lbe(t,e,r){return DV(t,e)?kV(t,e,r):Promise.resolve(null)}async function kV(t,e,r){if(!t.eventBuffer)return null;try{r&&t.recordingMode==="buffer"&&t.eventBuffer.clear(),r&&(t.eventBuffer.hasCheckout=!0);const n=t.getOptions(),i=dbe(e,n.beforeAddRecordingEvent);return i?await t.eventBuffer.addEvent(i):void 0}catch(n){const i=n&&n instanceof wP?"addEventSizeExceeded":"addEvent";Tt&&W.error(n),await t.stop({reason:i});const a=qe();a&&a.recordDroppedEvent("internal_sdk_error","replay")}}function DV(t,e){if(!t.eventBuffer||t.isPaused()||!t.isEnabled())return!1;const r=_P(e.timestamp);return r+t.timeouts.sessionIdlePause<Date.now()?!1:r>t.getContext().initialTimestamp+t.getOptions().maxReplayDuration?(un(`[Replay] Skipping event with timestamp ${r} because it is after maxReplayDuration`,t.getOptions()._experiments.traceInternals),!1):!0}function dbe(t,e){try{if(typeof e=="function"&&cbe(t))return e(t)}catch(r){return Tt&&W.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",r),null}return t}function EP(t){return!t.type}function KO(t){return t.type==="transaction"}function fbe(t){return t.type==="replay_event"}function lR(t){return t.type==="feedback"}function IV(t){const e=mbe();return(r,n)=>{if(!t.isEnabled()||!EP(r)&&!KO(r))return;const i=n&&n.statusCode;if(!(e&&(!i||i<200||i>=300))){if(KO(r)){hbe(t,r);return}pbe(t,r)}}}function hbe(t,e){const r=t.getContext();e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id&&r.traceIds.size<100&&r.traceIds.add(e.contexts.trace.trace_id)}function pbe(t,e){const r=t.getContext();if(e.event_id&&r.errorIds.size<100&&r.errorIds.add(e.event_id),t.recordingMode!=="buffer"||!e.tags||!e.tags.replayId)return;const{beforeErrorSampling:n}=t.getOptions();typeof n=="function"&&!n(e)||setTimeout(()=>{t.sendBufferedReplayOrFlush()})}function mbe(){const t=qe();if(!t)return!1;const e=t.getTransport();return e&&e.send.__sentry__baseTransport__||!1}function gbe(t){return e=>{!t.isEnabled()||!EP(e)||vbe(t,e)}}function vbe(t,e){const r=e.exception&&e.exception.values&&e.exception.values[0].value;if(typeof r=="string"&&(r.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||r.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const n=$a({category:"replay.hydrate-error"});jp(t,n)}}function bbe(t,e){return t.type||!t.exception||!t.exception.values||!t.exception.values.length?!1:!!(e.originalException&&e.originalException.__rrweb__)}function ybe(t,e){t.triggerUserActivity(),t.addUpdate(()=>e.timestamp?(t.throttledAddEvent({type:He.Custom,timestamp:e.timestamp*1e3,data:{timestamp:e.timestamp,tag:"breadcrumb",payload:{category:"sentry.feedback",data:{feedbackId:e.event_id}}}}),!1):!0)}function _be(t,e){return t.recordingMode!=="buffer"||e.message===pP||!e.exception||e.type?!1:CV(t.getOptions().errorSampleRate)}function wbe(t,e=!1){const r=e?IV(t):void 0;return Object.assign((n,i)=>t.isEnabled()?fbe(n)?(delete n.breadcrumbs,n):!EP(n)&&!KO(n)&&!lR(n)||!t.checkAndHandleExpiredSession()?n:lR(n)?(t.flush(),n.contexts.feedback.replay_id=t.getSessionId(),ybe(t,n),n):bbe(n,i)&&!t.getOptions()._experiments.captureExceptions?(Tt&&W.log("[Replay] Ignoring error from rrweb internals",n),null):((_be(t,n)||t.recordingMode==="session")&&(n.tags={...n.tags,replayId:t.getSessionId()}),r&&r(n,{statusCode:200}),n):n,{id:"Replay"})}function Sy(t,e){return e.map(({type:r,start:n,end:i,name:a,data:s})=>{const o=t.throttledAddEvent({type:He.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:r,description:a,startTimestamp:n,endTimestamp:i,data:s}}});return typeof o=="string"?Promise.resolve(null):o})}function Sbe(t){const{from:e,to:r}=t,n=Date.now()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:e}}}function Obe(t){return e=>{if(!t.isEnabled())return;const r=Sbe(e);r!==null&&(t.getContext().urls.push(r.name),t.triggerUserActivity(),t.addUpdate(()=>(Sy(t,[r]),!1)))}}function Tbe(t,e){return Tt&&t.getOptions()._experiments.traceInternals?!1:mpe(e,qe())}function Oy(t,e){t.isEnabled()&&e!==null&&(Tbe(t,e.name)||t.addUpdate(()=>(Sy(t,[e]),!0)))}function Ebe(t){const{startTimestamp:e,endTimestamp:r,fetchData:n,response:i}=t;if(!r)return null;const{method:a,url:s}=n;return{type:"resource.fetch",start:e/1e3,end:r/1e3,name:s,data:{method:a,statusCode:i?i.status:void 0}}}function xbe(t){return e=>{if(!t.isEnabled())return;const r=Ebe(e);Oy(t,r)}}function Pbe(t){const{startTimestamp:e,endTimestamp:r,xhr:n}=t,i=n[fo];if(!e||!r||!i)return null;const{method:a,url:s,status_code:o}=i;return s===void 0?null:{type:"resource.xhr",name:s,start:e/1e3,end:r/1e3,data:{method:a,statusCode:o}}}function Cbe(t){return e=>{if(!t.isEnabled())return;const r=Pbe(e);Oy(t,r)}}function Ty(t,e){if(t)try{if(typeof t=="string")return e.encode(t).length;if(t instanceof URLSearchParams)return e.encode(t.toString()).length;if(t instanceof FormData){const r=BV(t);return e.encode(r).length}if(t instanceof Blob)return t.size;if(t instanceof ArrayBuffer)return t.byteLength}catch{}}function RV(t){if(!t)return;const e=parseInt(t,10);return isNaN(e)?void 0:e}function LV(t){try{if(typeof t=="string")return[t];if(t instanceof URLSearchParams)return[t.toString()];if(t instanceof FormData)return[BV(t)];if(!t)return[void 0]}catch{return Tt&&W.warn("[Replay] Failed to serialize body",t),[void 0,"BODY_PARSE_ERROR"]}return Tt&&W.info("[Replay] Skipping network body because of body type",t),[void 0,"UNPARSEABLE_BODY_TYPE"]}function z0(t,e){if(!t)return{headers:{},size:void 0,_meta:{warnings:[e]}};const r={...t._meta},n=r.warnings||[];return r.warnings=[...n,e],t._meta=r,t}function NV(t,e){if(!e)return null;const{startTimestamp:r,endTimestamp:n,url:i,method:a,statusCode:s,request:o,response:u}=e;return{type:t,start:r/1e3,end:n/1e3,name:i,data:Kr({method:a,statusCode:s,request:o,response:u})}}function ip(t){return{headers:{},size:t,_meta:{warnings:["URL_SKIPPED"]}}}function xo(t,e,r){if(!e&&Object.keys(t).length===0)return;if(!e)return{headers:t};if(!r)return{headers:t,size:e};const n={headers:t,size:e},{body:i,warnings:a}=Abe(r);return n.body=i,a&&a.length>0&&(n._meta={warnings:a}),n}function qO(t,e){return Object.keys(t).reduce((r,n)=>{const i=n.toLowerCase();return e.includes(i)&&t[n]&&(r[i]=t[n]),r},{})}function BV(t){return new URLSearchParams(t).toString()}function Abe(t){if(!t||typeof t!="string")return{body:t};const e=t.length>q2,r=Mbe(t);if(e){const n=t.slice(0,q2);return r?{body:n,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${n}…`,warnings:["TEXT_TRUNCATED"]}}if(r)try{return{body:JSON.parse(t)}}catch{}return{body:t}}function Mbe(t){const e=t[0],r=t[t.length-1];return e==="["&&r==="]"||e==="{"&&r==="}"}function V0(t,e){const r=$be(t);return kd(r,e)}function $be(t,e=Ct.document.baseURI){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith(Ct.location.origin))return t;const r=new URL(t,e);if(r.origin!==new URL(e).origin)return t;const n=r.href;return!t.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}async function kbe(t,e,r){try{const n=await Ibe(t,e,r),i=NV("resource.fetch",n);Oy(r.replay,i)}catch(n){Tt&&W.error("[Replay] Failed to capture fetch breadcrumb",n)}}function Dbe(t,e,r){const{input:n,response:i}=e,a=n?FV(n):void 0,s=Ty(a,r.textEncoder),o=i?RV(i.headers.get("content-length")):void 0;s!==void 0&&(t.data.request_body_size=s),o!==void 0&&(t.data.response_body_size=o)}async function Ibe(t,e,r){const n=Date.now(),{startTimestamp:i=n,endTimestamp:a=n}=e,{url:s,method:o,status_code:u=0,request_body_size:c,response_body_size:l}=t.data,d=V0(s,r.networkDetailAllowUrls)&&!V0(s,r.networkDetailDenyUrls),f=d?Rbe(r,e.input,c):ip(c),p=await Lbe(d,r,e.response,l);return{startTimestamp:i,endTimestamp:a,url:s,method:o,statusCode:u,request:f,response:p}}function Rbe({networkCaptureBodies:t,networkRequestHeaders:e},r,n){const i=r?Fbe(r,e):{};if(!t)return xo(i,n,void 0);const a=FV(r),[s,o]=LV(a),u=xo(i,n,s);return o?z0(u,o):u}async function Lbe(t,{networkCaptureBodies:e,textEncoder:r,networkResponseHeaders:n},i,a){if(!t&&a!==void 0)return ip(a);const s=i?jV(i.headers,n):{};if(!i||!e&&a!==void 0)return xo(s,a,void 0);const[o,u]=await Bbe(i),c=Nbe(o,{networkCaptureBodies:e,textEncoder:r,responseBodySize:a,captureDetails:t,headers:s});return u?z0(c,u):c}function Nbe(t,{networkCaptureBodies:e,textEncoder:r,responseBodySize:n,captureDetails:i,headers:a}){try{const s=t&&t.length&&n===void 0?Ty(t,r):n;return i?e?xo(a,s,t):xo(a,s,void 0):ip(s)}catch(s){return Tt&&W.warn("[Replay] Failed to serialize response body",s),xo(a,n,void 0)}}async function Bbe(t){const e=jbe(t);if(!e)return[void 0,"BODY_PARSE_ERROR"];try{return[await Hbe(e)]}catch(r){return Tt&&W.warn("[Replay] Failed to get text body from response",r),[void 0,"BODY_PARSE_ERROR"]}}function FV(t=[]){if(!(t.length!==2||typeof t[1]!="object"))return t[1].body}function jV(t,e){const r={};return e.forEach(n=>{t.get(n)&&(r[n]=t.get(n))}),r}function Fbe(t,e){return t.length===1&&typeof t[0]!="string"?dR(t[0],e):t.length===2?dR(t[1],e):{}}function dR(t,e){if(!t)return{};const r=t.headers;return r?r instanceof Headers?jV(r,e):Array.isArray(r)?{}:qO(r,e):{}}function jbe(t){try{return t.clone()}catch(e){Tt&&W.warn("[Replay] Failed to clone response body",e)}}function Hbe(t){return new Promise((e,r)=>{const n=setTimeout(()=>r(new Error("Timeout while trying to read response body")),500);zbe(t).then(i=>e(i),i=>r(i)).finally(()=>clearTimeout(n))})}async function zbe(t){return await t.text()}async function Vbe(t,e,r){try{const n=Gbe(t,e,r),i=NV("resource.xhr",n);Oy(r.replay,i)}catch(n){Tt&&W.error("[Replay] Failed to capture xhr breadcrumb",n)}}function Ube(t,e,r){const{xhr:n,input:i}=e;if(!n)return;const a=Ty(i,r.textEncoder),s=n.getResponseHeader("content-length")?RV(n.getResponseHeader("content-length")):qbe(n.response,n.responseType,r.textEncoder);a!==void 0&&(t.data.request_body_size=a),s!==void 0&&(t.data.response_body_size=s)}function Gbe(t,e,r){const n=Date.now(),{startTimestamp:i=n,endTimestamp:a=n,input:s,xhr:o}=e,{url:u,method:c,status_code:l=0,request_body_size:d,response_body_size:f}=t.data;if(!u)return null;if(!o||!V0(u,r.networkDetailAllowUrls)||V0(u,r.networkDetailDenyUrls)){const g=ip(d),T=ip(f);return{startTimestamp:i,endTimestamp:a,url:u,method:c,statusCode:l,request:g,response:T}}const p=o[fo],m=p?qO(p.request_headers,r.networkRequestHeaders):{},b=qO(Wbe(o),r.networkResponseHeaders),[_,S]=r.networkCaptureBodies?LV(s):[void 0],[x,O]=r.networkCaptureBodies?Ybe(o):[void 0],h=xo(m,d,_),v=xo(b,f,x);return{startTimestamp:i,endTimestamp:a,url:u,method:c,statusCode:l,request:S?z0(h,S):h,response:O?z0(v,O):v}}function Wbe(t){const e=t.getAllResponseHeaders();return e?e.split(`\r
`).reduce((r,n)=>{const[i,a]=n.split(": ");return r[i.toLowerCase()]=a,r},{}):{}}function Ybe(t){const e=[];try{return[t.responseText]}catch(r){e.push(r)}try{return Kbe(t.response,t.responseType)}catch(r){e.push(r)}return Tt&&W.warn("[Replay] Failed to get xhr response body",...e),[void 0]}function Kbe(t,e){try{if(typeof t=="string")return[t];if(t instanceof Document)return[t.body.outerHTML];if(e==="json"&&t&&typeof t=="object")return[JSON.stringify(t)];if(!t)return[void 0]}catch{return Tt&&W.warn("[Replay] Failed to serialize body",t),[void 0,"BODY_PARSE_ERROR"]}return Tt&&W.info("[Replay] Skipping network body because of body type",t),[void 0,"UNPARSEABLE_BODY_TYPE"]}function qbe(t,e,r){try{const n=e==="json"&&t&&typeof t=="object"?JSON.stringify(t):t;return Ty(n,r)}catch{return}}function Xbe(t){const e=qe();try{const r=new TextEncoder,{networkDetailAllowUrls:n,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:s,networkResponseHeaders:o}=t.getOptions(),u={replay:t,textEncoder:r,networkDetailAllowUrls:n,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:s,networkResponseHeaders:o};e&&e.on?e.on("beforeAddBreadcrumb",(c,l)=>Jbe(u,c,l)):(Mx(xbe(t)),$x(Cbe(t)))}catch{}}function Jbe(t,e,r){if(e.data)try{Zbe(e)&&eye(r)&&(Ube(e,r,t),Vbe(e,r,t)),Qbe(e)&&tye(r)&&(Dbe(e,r,t),kbe(e,r,t))}catch{Tt&&W.warn("Error when enriching network breadcrumb")}}function Zbe(t){return t.category==="xhr"}function Qbe(t){return t.category==="fetch"}function eye(t){return t&&t.xhr}function tye(t){return t&&t.response}let fR=null;function rye(t){return!!t.category}const nye=t=>e=>{if(!t.isEnabled())return;const r=iye(e);r&&jp(t,r)};function iye(t){const e=t.getLastBreadcrumb&&t.getLastBreadcrumb();return fR===e||!e||(fR=e,!rye(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui."))?null:e.category==="console"?aye(e):$a(e)}function aye(t){const e=t.data&&t.data.arguments;if(!Array.isArray(e)||e.length===0)return $a(t);let r=!1;const n=e.map(i=>{if(!i)return i;if(typeof i=="string")return i.length>Zm?(r=!0,`${i.slice(0,Zm)}…`):i;if(typeof i=="object")try{const a=Ea(i,7);return JSON.stringify(a).length>Zm?(r=!0,`${JSON.stringify(a,null,2).slice(0,Zm)}…`):a}catch{}return i});return $a({...t,data:{...t.data,arguments:n,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function sye(t){const e=yr(),r=qe();e.addScopeListener(nye(t)),fH(N0e(t)),Ip(Obe(t)),Xbe(t);const n=wbe(t,!hR(r));r&&r.addEventProcessor?r.addEventProcessor(n):QH(n),hR(r)&&(r.on("beforeSendEvent",gbe(t)),r.on("afterSendEvent",IV(t)),r.on("createDsc",i=>{const a=t.getSessionId();a&&t.isEnabled()&&t.recordingMode==="session"&&t.checkAndHandleExpiredSession()&&(i.replay_id=a)}),r.on("startTransaction",i=>{t.lastTransaction=i}),r.on("finishTransaction",i=>{t.lastTransaction=i}),r.on("beforeSendFeedback",(i,a)=>{const s=t.getSessionId();a&&a.includeReplay&&t.isEnabled()&&s&&(t.flush(),i.contexts&&i.contexts.feedback&&(i.contexts.feedback.replay_id=s))}))}function hR(t){return!!(t&&t.on)}async function oye(t){try{return Promise.all(Sy(t,[uye(Ct.performance.memory)]))}catch{return[]}}function uye(t){const{jsHeapSizeLimit:e,totalJSHeapSize:r,usedJSHeapSize:n}=t,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:e,totalJSHeapSize:r,usedJSHeapSize:n}}}}function cye(t,e,r){let n,i,a;const s=r&&r.maxWait?Math.max(r.maxWait,e):0;function o(){return u(),n=t(),n}function u(){i!==void 0&&clearTimeout(i),a!==void 0&&clearTimeout(a),i=a=void 0}function c(){return i!==void 0||a!==void 0?o():n}function l(){return i&&clearTimeout(i),i=setTimeout(o,e),s&&a===void 0&&(a=setTimeout(o,s)),n}return l.cancel=u,l.flush=c,l}function lye(t){let e=!1;return(r,n)=>{if(!t.checkAndHandleExpiredSession()){Tt&&W.warn("[Replay] Received replay event after session expired.");return}const i=n||!e;e=!0,t.clickDetector&&k0e(t.clickDetector,r),t.addUpdate(()=>{if(t.recordingMode==="buffer"&&i&&t.setInitialState(),!TP(t,r,i))return!0;if(!i)return!1;if(fye(t,i),t.session&&t.session.previousSessionId)return!0;if(t.recordingMode==="buffer"&&t.session&&t.eventBuffer){const a=t.eventBuffer.getEarliestTimestamp();a&&(un(`[Replay] Updating session start time to earliest event in buffer to ${new Date(a)}`,t.getOptions()._experiments.traceInternals),t.session.started=a,t.getOptions().stickySession&&OP(t.session))}return t.recordingMode==="session"&&t.flush(),!0})}}function dye(t){const e=t.getOptions();return{type:He.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:t.isRecordingCanvas(),sessionSampleRate:e.sessionSampleRate,errorSampleRate:e.errorSampleRate,useCompressionOption:e.useCompression,blockAllMedia:e.blockAllMedia,maskAllText:e.maskAllText,maskAllInputs:e.maskAllInputs,useCompression:t.eventBuffer?t.eventBuffer.type==="worker":!1,networkDetailHasUrls:e.networkDetailAllowUrls.length>0,networkCaptureBodies:e.networkCaptureBodies,networkRequestHasHeaders:e.networkRequestHeaders.length>0,networkResponseHasHeaders:e.networkResponseHeaders.length>0}}}}function fye(t,e){!e||!t.session||t.session.segmentId!==0||TP(t,dye(t),!1)}function hye(t,e,r,n){return _c(SH(t,Rx(t),n,r),[[{type:"replay_event"},t],[{type:"replay_recording",length:typeof e=="string"?new TextEncoder().encode(e).length:e.length},e]])}function pye({recordingData:t,headers:e}){let r;const n=`${JSON.stringify(e)}
`;if(typeof t=="string")r=`${n}${t}`;else{const a=new TextEncoder().encode(n);r=new Uint8Array(a.length+t.length),r.set(a),r.set(t,a.length)}return r}async function mye({client:t,scope:e,replayId:r,event:n}){const i=typeof t._integrations=="object"&&t._integrations!==null&&!Array.isArray(t._integrations)?Object.keys(t._integrations):void 0,a={event_id:r,integrations:i};t.emit&&t.emit("preprocessEvent",n,a);const s=await Bx(t.getOptions(),n,a,e,t,na());if(!s)return null;s.platform=s.platform||"javascript";const o=t.getSdkMetadata&&t.getSdkMetadata(),{name:u,version:c}=o&&o.sdk||{};return s.sdk={...s.sdk,name:u||"sentry.javascript.unknown",version:c||"0.0.0"},s}async function gye({recordingData:t,replayId:e,segmentId:r,eventContext:n,timestamp:i,session:a}){const s=pye({recordingData:t,headers:{segment_id:r}}),{urls:o,errorIds:u,traceIds:c,initialTimestamp:l}=n,d=qe(),f=yr(),p=d&&d.getTransport(),m=d&&d.getDsn();if(!d||!p||!m||!a.sampled)return;const b={type:eve,replay_start_timestamp:l/1e3,timestamp:i/1e3,error_ids:u,trace_ids:c,urls:o,replay_id:e,segment_id:r,replay_type:a.sampled},_=await mye({scope:f,client:d,replayId:e,event:b});if(!_){d.recordDroppedEvent("event_processor","replay",b),un("An event processor returned `null`, will not send event.");return}delete _.sdkProcessingMetadata;const S=hye(_,s,m,d.getOptions().tunnel);let x;try{x=await p.send(S)}catch(h){const v=new Error(pP);try{v.cause=h}catch{}throw v}if(!x)return x;if(typeof x.statusCode=="number"&&(x.statusCode<200||x.statusCode>=300))throw new HV(x.statusCode);const O=EH({},x);if(TH(O,"replay"))throw new zV(O);return x}class HV extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class zV extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function VV(t,e={count:0,interval:sve}){const{recordingData:r,options:n}=t;if(r.length)try{return await gye(t),!0}catch(i){if(i instanceof HV||i instanceof zV)throw i;if($H("Replays",{_retryCount:e.count}),Tt&&n._experiments&&n._experiments.captureExceptions&&Rd(i),e.count>=ove){const a=new Error(`${pP} - max retries exceeded`);try{a.cause=i}catch{}throw a}return e.interval*=++e.count,new Promise((a,s)=>{setTimeout(async()=>{try{await VV(t,e),a(!0)}catch(o){s(o)}},e.interval)})}}const UV="__THROTTLED",vye="__SKIPPED";function bye(t,e,r){const n=new Map,i=o=>{const u=o-r;n.forEach((c,l)=>{l<u&&n.delete(l)})},a=()=>[...n.values()].reduce((o,u)=>o+u,0);let s=!1;return(...o)=>{const u=Math.floor(Date.now()/1e3);if(i(u),a()>=e){const l=s;return s=!0,l?vye:UV}s=!1;const c=n.get(u)||0;return n.set(u,c+1),t(...o)}}class io{constructor({options:e,recordingOptions:r}){io.prototype.__init.call(this),io.prototype.__init2.call(this),io.prototype.__init3.call(this),io.prototype.__init4.call(this),io.prototype.__init5.call(this),io.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:tve,sessionIdleExpire:rve},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=r,this._options=e,this._debouncedFlush=cye(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=bye((s,o)=>lbe(this,s,o),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:i}=this.getOptions(),a=n?{threshold:Math.min(uve,n),timeout:n,scrollTimeout:cve,ignoreSelector:i?i.join(","):""}:void 0;a&&(this.clickDetector=new C0e(this,a))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}initializeSampling(e){const{errorSampleRate:r,sessionSampleRate:n}=this._options;if(!(r<=0&&n<=0)){if(this._initializeSessionForSampling(e),!this.session){this._handleException(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",Hl(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session")throw new Error("Replay recording is already in progress");if(this._isEnabled&&this.recordingMode==="buffer")throw new Error("Replay buffering is in progress, call `flush()` to save the replay");Hl("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);const e=o1({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");Hl("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const e=o1({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=Eo({...this._recordingOptions,...this.recordingMode==="buffer"&&{checkoutEveryNms:ave},emit:lye(this),onMutation:this._onMutationHandler,...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:r}={}){if(this._isEnabled){this._isEnabled=!1;try{un(`[Replay] Stopping Replay${r?` triggered by ${r}`:""}`,this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,abe(this)}catch(n){this._handleException(n)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),un("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),un("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const r=Date.now();un("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();const n=this.stopRecording();!e||!n||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this._updateUserActivity(r),this._updateSessionActivity(r),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const r=e();this.recordingMode!=="buffer"&&r!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&YO(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const e=`${Ct.location.pathname}${Ct.location.hash}${Ct.location.search}`,r=`${Ct.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=r,this._context.initialTimestamp=Date.now(),this._context.urls.push(r)}throttledAddEvent(e,r){const n=this._throttledAddEvent(e,r);if(n===UV){const i=$a({category:"replay.throttled"});this.addUpdate(()=>!TP(this,{type:S0e,timestamp:i.timestamp||0,data:{tag:"breadcrumb",payload:i,metric:!0}}))}return n}getCurrentRoute(){const e=this.lastTransaction||yr().getTransaction(),n=(e&&xt(e).data||{})[An];if(!(!e||!n||!["route","custom"].includes(n)))return xt(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=rbe({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){Tt&&W.error("[Replay]",e),Tt&&this._options._experiments&&this._options._experiments.captureExceptions&&Rd(e)}_initializeSessionForSampling(e){const r=this._options.errorSampleRate>0,n=o1({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:r});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return $V(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(e),!1):!0}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{Ct.document.addEventListener("visibilitychange",this._handleVisibilityChange),Ct.addEventListener("blur",this._handleWindowBlur),Ct.addEventListener("focus",this._handleWindowFocus),Ct.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(sye(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=X0e(this)}_removeListeners(){try{Ct.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Ct.removeEventListener("blur",this._handleWindowBlur),Ct.removeEventListener("focus",this._handleWindowFocus),Ct.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{Ct.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const e=$a({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{const e=$a({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{H0e(this,e)}}_doChangeToBackgroundTasks(e){!this.session||MV(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){un("[Replay] Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:He.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){const e=U0e(this.performanceEntries).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(Sy(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:r}=this;if(!e||!r||e.segmentId)return;const n=r.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){Tt&&W.error("[Replay] No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await oye(this),!!this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const r=Date.now();if(r-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession();const a=await this.eventBuffer.finish();await VV({replayId:e,recordingData:a,segmentId:i,eventContext:n,session:this.session,options:this.getOptions(),timestamp:r})}catch(r){this._handleException(r),this.stop({reason:"sendReplay"});const n=qe();n&&n.recordDroppedEvent("send_error","replay")}}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){Tt&&W.error("[Replay] Attempting to finish replay event after session expired.");return}if(!this.session)return;const r=this.session.started,i=Date.now()-r;this._debouncedFlush.cancel();const a=i<this._options.minReplayDuration,s=i>this._options.maxReplayDuration+5e3;if(a||s){un(`[Replay] Session duration (${Math.floor(i/1e3)}s) is too ${a?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),a&&this._debouncedFlush();return}const o=this.eventBuffer;if(o&&this.session.segmentId===0&&!o.hasCheckout&&un("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=void 0;return}try{await this._flushLock}catch(u){Tt&&W.error(u)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&OP(this.session)}__init6(){this._onMutationHandler=e=>{const r=e.length,n=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,a=n&&r>n;if(r>i||a){const s=$a({category:"replay.mutations",data:{count:r,limit:a}});this._createCustomBreadcrumb(s)}return a?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}}function Cf(t,e,r,n){const i=typeof n=="string"?n.split(","):[],a=[...t,...i,...e];return typeof r<"u"&&(typeof r=="string"&&a.push(`.${r}`),ja(()=>{console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")})),a.join(",")}function yye({mask:t,unmask:e,block:r,unblock:n,ignore:i,blockClass:a,blockSelector:s,maskTextClass:o,maskTextSelector:u,ignoreClass:c}){const l=['base[href="/"]'],d=Cf(t,[".sentry-mask","[data-sentry-mask]"],o,u),f=Cf(e,[".sentry-unmask","[data-sentry-unmask]"]),p={maskTextSelector:d,unmaskTextSelector:f,blockSelector:Cf(r,[".sentry-block","[data-sentry-block]",...l],a,s),unblockSelector:Cf(n,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:Cf(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],c)};return a instanceof RegExp&&(p.blockClass=a),o instanceof RegExp&&(p.maskTextClass=o),p}function _ye({el:t,key:e,maskAttributes:r,maskAllText:n,privacyOptions:i,value:a}){return!n||i.unmaskTextSelector&&t.matches(i.unmaskTextSelector)?a:r.includes(e)||e==="value"&&t.tagName==="INPUT"&&["submit","button"].includes(t.getAttribute("type")||"")?a.replace(/[\S]/g,"*"):a}const pR='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',wye=["content-length","content-type","accept"];let mR=!1;const Sye=t=>new Hp(t);class Hp{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=nve,flushMaxDelay:r=ive,minReplayDuration:n=lve,maxReplayDuration:i=X2,stickySession:a=!0,useCompression:s=!0,workerUrl:o,_experiments:u={},sessionSampleRate:c,errorSampleRate:l,maskAllText:d=!0,maskAllInputs:f=!0,blockAllMedia:p=!0,mutationBreadcrumbLimit:m=750,mutationLimit:b=1e4,slowClickTimeout:_=7e3,slowClickIgnoreSelectors:S=[],networkDetailAllowUrls:x=[],networkDetailDenyUrls:O=[],networkCaptureBodies:h=!0,networkRequestHeaders:v=[],networkResponseHeaders:g=[],mask:T=[],maskAttributes:P=["title","placeholder"],unmask:k=[],block:w=[],unblock:A=[],ignore:C=[],maskFn:E,beforeAddRecordingEvent:$,beforeErrorSampling:D,blockClass:M,blockSelector:L,maskInputOptions:N,maskTextClass:j,maskTextSelector:z,ignoreClass:U}={}){this.name=Hp.id;const J=yye({mask:T,unmask:k,block:w,unblock:A,ignore:C,blockClass:M,blockSelector:L,maskTextClass:j,maskTextSelector:z,ignoreClass:U});if(this._recordingOptions={maskAllInputs:f,maskAllText:d,maskInputOptions:{...N||{},password:!0},maskTextFn:E,maskInputFn:E,maskAttributeFn:(re,Y,G)=>_ye({maskAttributes:P,maskAllText:d,privacyOptions:J,key:re,value:Y,el:G}),...J,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:re=>{try{re.__rrweb__=!0}catch{}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:r,minReplayDuration:Math.min(n,dve),maxReplayDuration:Math.min(i,X2),stickySession:a,sessionSampleRate:c,errorSampleRate:l,useCompression:s,workerUrl:o,blockAllMedia:p,maskAllInputs:f,maskAllText:d,mutationBreadcrumbLimit:m,mutationLimit:b,slowClickTimeout:_,slowClickIgnoreSelectors:S,networkDetailAllowUrls:x,networkDetailDenyUrls:O,networkCaptureBodies:h,networkRequestHeaders:gR(v),networkResponseHeaders:gR(g),beforeAddRecordingEvent:$,beforeErrorSampling:D,_experiments:u},typeof c=="number"&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.
This option is deprecated and will be removed soon.
Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:
Sentry.init({ replaysSessionSampleRate: ${c} })`),this._initialOptions.sessionSampleRate=c),typeof l=="number"&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.
This option is deprecated and will be removed soon.
Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:
Sentry.init({ replaysOnErrorSampleRate: ${l} })`),this._initialOptions.errorSampleRate=l),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${pR}`:pR),this._isInitialized&&DO())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return mR}set _isInitialized(e){mR=e}setupOnce(){DO()&&(this._setup(),setTimeout(()=>this._initialize()))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(e){return!this._replay||!this._replay.isEnabled()?Promise.resolve():this._replay.sendBufferedReplayOrFlush(e)}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const e=Oye(this._initialOptions);this._replay=new io({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const r=qe().getIntegrationByName("ReplayCanvas");if(!r)return;this._replay._canvas=r.getOptions()}catch{}}}Hp.__initStatic();function Oye(t){const e=qe(),r=e&&e.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...Kr(t)};return r?(t.sessionSampleRate==null&&t.errorSampleRate==null&&r.replaysSessionSampleRate==null&&r.replaysOnErrorSampleRate==null&&ja(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),typeof r.replaysSessionSampleRate=="number"&&(n.sessionSampleRate=r.replaysSessionSampleRate),typeof r.replaysOnErrorSampleRate=="number"&&(n.errorSampleRate=r.replaysOnErrorSampleRate),n):(ja(()=>{console.warn("SDK client is not available.")}),n)}function gR(t){return[...wye,...t.map(e=>e.toLowerCase())]}var vR;(function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"})(vR||(vR={}));function Tye(t,e){for(let r=t.classList.length;r--;){const n=t.classList[r];if(e.test(n))return!0}return!1}function XO(t,e,r=1/0,n=0){return!t||t.nodeType!==t.ELEMENT_NODE||n>r?-1:e(t)?n:XO(t.parentNode,e,r,n+1)}function bR(t,e){return r=>{const n=r;if(n===null)return!1;try{if(t){if(typeof t=="string"){if(n.matches(`.${t}`))return!0}else if(Tye(n,t))return!0}return!!(e&&n.matches(e))}catch{return!1}}}const vl=`Please stop import mirror directly. Instead of that,\r
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
or you can use record.mirror to access the mirror instance during recording.`;let yR={map:{},getId(){return console.error(vl),-1},getNode(){return console.error(vl),null},removeNodeFromMap(){console.error(vl)},has(){return console.error(vl),!1},reset(){console.error(vl)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(yR=new Proxy(yR,{get(t,e,r){return e==="map"&&console.error(vl),Reflect.get(t,e,r)}}));function xP(t,e,r,n,i=window){const a=i.Object.getOwnPropertyDescriptor(t,e);return i.Object.defineProperty(t,e,n?r:{set(s){setTimeout(()=>{r.set.call(this,s)},0),a&&a.set&&a.set.call(this,s)}}),()=>xP(t,e,a||{},!0)}function PP(t,e,r){try{if(!(e in t))return()=>{};const n=t[e],i=r(n);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),t[e]=i,()=>{t[e]=n}}catch{return()=>{}}}/[1-9][0-9]{12}/.test(Date.now().toString());function Ey(t,e,r,n,i){if(!t)return!1;const a=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(!a)return!1;const s=bR(e,r);if(!i){const c=n&&a.matches(n);return s(a)&&!c}const o=XO(a,s);let u=-1;return o<0?!1:(n&&(u=XO(a,bR(null,n))),o>-1&&u<0?!0:o<u)}let u1;function Eye(){if(u1)return u1;const t=window.document;let e=window.requestAnimationFrame;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r);const n=r.contentWindow;n&&n.requestAnimationFrame&&(e=n.requestAnimationFrame),t.head.removeChild(r)}catch{}return u1=e.bind(window)}function uu(...t){return Eye()(...t)}var md=(t=>(t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2",t))(md||{});const _R=t=>t;var Il="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xye=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var tg=0;tg<Il.length;tg++)xye[Il.charCodeAt(tg)]=tg;var Pye=function(t){var e=new Uint8Array(t),r,n=e.length,i="";for(r=0;r<n;r+=3)i+=Il[e[r]>>2],i+=Il[(e[r]&3)<<4|e[r+1]>>4],i+=Il[(e[r+1]&15)<<2|e[r+2]>>6],i+=Il[e[r+2]&63];return n%3===2?i=i.substring(0,i.length-1)+"=":n%3===1&&(i=i.substring(0,i.length-2)+"=="),i};const wR=new Map;function Cye(t,e){let r=wR.get(t);return r||(r=new Map,wR.set(t,r)),r.has(e)||r.set(e,[]),r.get(e)}const GV=(t,e,r)=>{if(!t||!(YV(t,e)||typeof t=="object"))return;const n=t.constructor.name,i=Cye(r,n);let a=i.indexOf(t);return a===-1&&(a=i.length,i.push(t)),a};function fv(t,e,r){if(t instanceof Array)return t.map(n=>fv(n,e,r));if(t===null)return t;if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray)return{rr_type:t.constructor.name,args:[Object.values(t)]};if(t instanceof ArrayBuffer){const n=t.constructor.name,i=Pye(t);return{rr_type:n,base64:i}}else{if(t instanceof DataView)return{rr_type:t.constructor.name,args:[fv(t.buffer,e,r),t.byteOffset,t.byteLength]};if(t instanceof HTMLImageElement){const n=t.constructor.name,{src:i}=t;return{rr_type:n,src:i}}else if(t instanceof HTMLCanvasElement){const n="HTMLImageElement",i=t.toDataURL();return{rr_type:n,src:i}}else{if(t instanceof ImageData)return{rr_type:t.constructor.name,args:[fv(t.data,e,r),t.width,t.height]};if(YV(t,e)||typeof t=="object"){const n=t.constructor.name,i=GV(t,e,r);return{rr_type:n,index:i}}}}return t}const WV=(t,e,r)=>t.map(n=>fv(n,e,r)),YV=(t,e)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(i=>typeof e[i]=="function").find(i=>t instanceof e[i]);function Aye(t,e,r,n,i){const a=[],s=Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype);for(const o of s)try{if(typeof e.CanvasRenderingContext2D.prototype[o]!="function")continue;const u=PP(e.CanvasRenderingContext2D.prototype,o,function(c){return function(...l){return Ey(this.canvas,r,n,i,!0)||setTimeout(()=>{const d=WV(l,e,this);t(this.canvas,{type:md["2D"],property:o,args:d})},0),c.apply(this,l)}});a.push(u)}catch{const c=xP(e.CanvasRenderingContext2D.prototype,o,{set(l){t(this.canvas,{type:md["2D"],property:o,args:[l],setter:!0})}});a.push(c)}return()=>{a.forEach(o=>o())}}function Mye(t){return t==="experimental-webgl"?"webgl":t}function SR(t,e,r,n,i){const a=[];try{const s=PP(t.HTMLCanvasElement.prototype,"getContext",function(o){return function(u,...c){if(!Ey(this,e,r,n,!0)){const l=Mye(u);if("__context"in this||(this.__context=l),i&&["webgl","webgl2"].includes(l))if(c[0]&&typeof c[0]=="object"){const d=c[0];d.preserveDrawingBuffer||(d.preserveDrawingBuffer=!0)}else c.splice(0,1,{preserveDrawingBuffer:!0})}return o.apply(this,[u,...c])}});a.push(s)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach(s=>s())}}function OR(t,e,r,n,i,a,s,o){const u=[],c=Object.getOwnPropertyNames(t);for(const l of c)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(l))try{if(typeof t[l]!="function")continue;const d=PP(t,l,function(f){return function(...p){const m=f.apply(this,p);if(GV(m,o,this),"tagName"in this.canvas&&!Ey(this.canvas,n,i,a,!0)){const b=WV(p,o,this),_={type:e,property:l,args:b};r(this.canvas,_)}return m}});u.push(d)}catch{const f=xP(t,l,{set(p){r(this.canvas,{type:e,property:l,args:[p],setter:!0})}});u.push(f)}return u}function $ye(t,e,r,n,i,a){const s=[];return s.push(...OR(e.WebGLRenderingContext.prototype,md.WebGL,t,r,n,i,a,e)),typeof e.WebGL2RenderingContext<"u"&&s.push(...OR(e.WebGL2RenderingContext.prototype,md.WebGL2,t,r,n,i,a,e)),()=>{s.forEach(o=>o())}}var kye='for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e="undefined"==typeof Uint8Array?[]:new Uint8Array(256),n=0;n<64;n++)e[t.charCodeAt(n)]=n;var a=function(e){var n,a=new Uint8Array(e),s=a.length,r="";for(n=0;n<s;n+=3)r+=t[a[n]>>2],r+=t[(3&a[n])<<4|a[n+1]>>4],r+=t[(15&a[n+1])<<2|a[n+2]>>6],r+=t[63&a[n+2]];return s%3==2?r=r.substring(0,r.length-1)+"=":s%3==1&&(r=r.substring(0,r.length-2)+"=="),r};const s=new Map,r=new Map;const i=self;i.onmessage=async function(t){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:t.data.id});{const{id:e,bitmap:n,width:o,height:f,dataURLOptions:c}=t.data,g=async function(t,e,n){const s=t+"-"+e;if("OffscreenCanvas"in globalThis){if(r.has(s))return r.get(s);const i=new OffscreenCanvas(t,e);i.getContext("2d");const o=await i.convertToBlob(n),f=await o.arrayBuffer(),c=a(f);return r.set(s,c),c}return""}(o,f,c),d=new OffscreenCanvas(o,f);d.getContext("2d").drawImage(n,0,0),n.close();const u=await d.convertToBlob(c),h=u.type,w=await u.arrayBuffer(),l=a(w);if(!s.has(e)&&await g===l)return s.set(e,l),i.postMessage({id:e});if(s.get(e)===l)return i.postMessage({id:e});i.postMessage({id:e,type:h,base64:l,width:o,height:f}),s.set(e,l)}};';function Dye(){const t=new Blob([kye]);return URL.createObjectURL(t)}class Iye{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(c,l)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(c)||this.pendingCanvasMutations.set(c,[]),this.pendingCanvasMutations.get(c).push(l)};const{sampling:r="all",win:n,blockClass:i,blockSelector:a,unblockSelector:s,recordCanvas:o,dataURLOptions:u}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,!e.enableManualSnapshot&&_R(()=>{o&&r==="all"&&this.initCanvasMutationObserver(n,i,a,s),o&&typeof r=="number"&&this.initCanvasFPSObserver(r,n,i,a,s,{dataURLOptions:u})})()}initCanvasFPSObserver(e,r,n,i,a,s){const o=SR(r,n,i,a,!0),u=this.takeSnapshot(!1,e,r,n,i,a,s.dataURLOptions);this.resetObservers=()=>{o(),cancelAnimationFrame(u)}}initCanvasMutationObserver(e,r,n,i){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const a=SR(e,r,n,i,!1),s=Aye(this.processMutation.bind(this),e,r,n,i),o=$ye(this.processMutation.bind(this),e,r,n,i,this.mirror);this.resetObservers=()=>{a(),s(),o()}}snapshot(e){const{options:r}=this,n=this.takeSnapshot(!0,r.sampling==="all"?2:r.sampling||2,r.win,r.blockClass,r.blockSelector,r.unblockSelector,r.dataURLOptions,e);this.resetObservers=()=>{cancelAnimationFrame(n)}}takeSnapshot(e,r,n,i,a,s,o,u){const c=new Map,l=new Worker(Dye());l.onmessage=_=>{const S=_.data,{id:x}=S;if(c.set(x,!1),!("base64"in S))return;const{base64:O,type:h,width:v,height:g}=S;this.mutationCb({id:x,type:md["2D"],commands:[{property:"clearRect",args:[0,0,v,g]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:O}],type:h}]},0,0]}]})};const d=1e3/r;let f=0,p;const m=_=>{if(_)return[_];const S=[];return n.document.querySelectorAll("canvas").forEach(x=>{Ey(x,i,a,s,!0)||S.push(x)}),S},b=_=>{if(f&&_-f<d){p=uu(b);return}f=_,m(u).forEach(S=>{const x=this.mirror.getId(S);if(!c.get(x)){if(c.set(x,!0),!e&&["webgl","webgl2"].includes(S.__context)){const O=S.getContext(S.__context);lv([O,"optionalAccess",h=>h.getContextAttributes,"call",h=>h(),"optionalAccess",h=>h.preserveDrawingBuffer])===!1&&O.clear(O.COLOR_BUFFER_BIT)}createImageBitmap(S).then(O=>{l.postMessage({id:x,bitmap:O,width:S.width,height:S.height,dataURLOptions:o},[O])}).catch(O=>{_R(()=>{throw O})()})}}),p=uu(b)};return p=uu(b),p}startPendingCanvasMutationFlusher(){uu(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const e=r=>{this.rafStamps.latestId=r,uu(e)};uu(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,r)=>{const n=this.mirror.getId(r);this.flushPendingCanvasMutationFor(r,n)}),uu(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,r){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||r===-1)return;const i=n.map(s=>{const{type:o,...u}=s;return u}),{type:a}=n[0];this.mutationCb({id:r,type:a,commands:i}),this.pendingCanvasMutations.delete(e)}}const TR={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},KV="ReplayCanvas",Rye=(t={})=>{const e={quality:t.quality||"medium",enableManualSnapshot:t.enableManualSnapshot};let r;const n=new Promise(i=>r=i);return{name:KV,setupOnce(){},getOptions(){const{quality:i,enableManualSnapshot:a}=e;return{enableManualSnapshot:a,recordCanvas:!0,getCanvasManager:s=>{const o=new Iye({...s,enableManualSnapshot:a});return r(o),o},...TR[i||"medium"]||TR.medium}},async snapshot(i){(await n).snapshot(i)}}},qV=Rye,Lye=Fn(KV,qV),wc=Fe,c1="#ffffff",ER="inherit",l1="rgba(108, 95, 199, 1)",xR={fontFamily:"'Helvetica Neue', Arial, sans-serif",fontSize:"14px",background:c1,backgroundHover:"#f6f6f7",foreground:"#2b2233",border:"1.5px solid rgba(41, 35, 47, 0.13)",borderRadius:"12px",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",success:"#268d75",error:"#df3338",submitBackground:"rgba(88, 74, 192, 1)",submitBackgroundHover:l1,submitBorder:l1,submitOutlineFocus:"#29232f",submitForeground:c1,submitForegroundHover:c1,cancelBackground:"transparent",cancelBackgroundHover:"var(--background-hover)",cancelBorder:"var(--border)",cancelOutlineFocus:"var(--input-outline-focus)",cancelForeground:"var(--foreground)",cancelForegroundHover:"var(--foreground)",inputBackground:ER,inputForeground:ER,inputBorder:"var(--border)",inputOutlineFocus:l1,formBorderRadius:"20px",formContentBorderRadius:"6px"},PR={light:xR,dark:{...xR,background:"#29232f",backgroundHover:"#352f3b",foreground:"#ebe6ef",border:"1.5px solid rgba(235, 230, 239, 0.15)",success:"#2da98c",error:"#f55459"}},Nye="Report a Bug",Bye="Cancel",Fye="Send Bug Report",jye="Report a Bug",Hye="your.email@example.org",zye="Email",Vye="What's the bug? What did you expect?",Uye="Description",Gye="Your Name",Wye="Name",Yye="Thank you for your report!",XV="widget",JV="api";async function Kye({client:t,scope:e,event:r}){const n={};t.emit&&t.emit("preprocessEvent",r,n);const i=await Bx(t.getOptions(),r,n,e,t,na());return i===null?(t.recordDroppedEvent("event_processor","feedback",r),null):(i.platform=i.platform||"javascript",i)}async function qye({feedback:{message:t,email:e,name:r,source:n,url:i}},{includeReplay:a=!0}={}){const s=qe(),o=s&&s.getTransport(),u=s&&s.getDsn();if(!s||!o||!u)return;const c={contexts:{feedback:{contact_email:e,name:r,message:t,url:i,source:n}},type:"feedback"};return Np(async l=>{l.clearBreadcrumbs(),[JV,XV].includes(String(n))&&l.setLevel("info");const d=await Kye({scope:l,client:s,event:c});if(!d)return;s.emit&&s.emit("beforeSendFeedback",d,{includeReplay:!!a});const f=zH(d,u,s.getOptions()._metadata,s.getOptions().tunnel);let p;try{p=await o.send(f)}catch(m){const b=new Error("Unable to send Feedback");try{b.cause=m}catch{}throw b}if(p){if(typeof p.statusCode=="number"&&(p.statusCode<200||p.statusCode>=300))throw new Error("Unable to send Feedback");return p}})}function ZV({name:t,email:e,message:r,source:n=JV,url:i=tH()},a={}){if(!r)throw new Error("Unable to submit feedback with empty message");return qye({feedback:{name:t,email:e,message:r,url:i,source:n}},a)}const bl=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function CR(t,e){return{...t,...e,themeDark:{...t.themeDark,...e.themeDark},themeLight:{...t.themeLight,...e.themeLight}}}function Xye(t){const e=t.createElement("style");return e.textContent=`
.widget__actor {
line-height: 25px;
display: flex;
align-items: center;
gap: 8px;
border-radius: var(--border-radius);
cursor: pointer;
font-size: 14px;
font-weight: 600;
padding: 12px 16px;
text-decoration: none;
z-index: 9000;
color: var(--foreground);
background-color: var(--background);
border: var(--border);
box-shadow: var(--box-shadow);
opacity: 1;
transition: opacity 0.1s ease-in-out;
}
.widget__actor:hover {
background-color: var(--background-hover);
}
.widget__actor svg {
width: 16px;
height: 16px;
}
.widget__actor--hidden {
opacity: 0;
pointer-events: none;
visibility: hidden;
}
.widget__actor__text {
}
.feedback-icon path {
fill: var(--foreground);
}
`,e}function Jye(t){const e=t.createElement("style");return e.textContent=`
.dialog {
line-height: 25px;
background-color: rgba(0, 0, 0, 0.05);
border: none;
position: fixed;
inset: 0;
z-index: 10000;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
opacity: 1;
transition: opacity 0.2s ease-in-out;
}
.dialog:not([open]) {
opacity: 0;
pointer-events: none;
visibility: hidden;
}
.dialog:not([open]) .dialog__content {
transform: translate(0, -16px) scale(0.98);
}
.dialog__content {
position: fixed;
left: var(--left);
right: var(--right);
bottom: var(--bottom);
top: var(--top);
border: var(--border);
border-radius: var(--form-border-radius);
background-color: var(--background);
color: var(--foreground);
width: 320px;
max-width: 100%;
max-height: calc(100% - 2rem);
display: flex;
flex-direction: column;
box-shadow: var(--box-shadow);
transition: transform 0.2s ease-in-out;
transform: translate(0, 0) scale(1);
}
.dialog__header {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 20px;
font-weight: 600;
padding: 24px 24px 0 24px;
margin: 0;
margin-bottom: 16px;
}
.brand-link {
display: inline-flex;
}
.error {
color: var(--error);
margin-bottom: 16px;
}
.form {
display: grid;
overflow: auto;
flex-direction: column;
gap: 16px;
padding: 0 24px 24px;
}
.form__error-container {
color: var(--error);
}
.form__error-container--hidden {
display: none;
}
.form__label {
display: flex;
flex-direction: column;
gap: 4px;
margin: 0px;
}
.form__label__text {
display: grid;
gap: 4px;
align-items: center;
grid-auto-flow: column;
grid-auto-columns: max-content;
}
.form__label__text--required {
font-size: 0.85em;
}
.form__input {
font-family: inherit;
line-height: inherit;
background-color: var(--input-background);
box-sizing: border-box;
border: var(--input-border);
border-radius: var(--form-content-border-radius);
color: var(--input-foreground);
font-size: 14px;
font-weight: 500;
padding: 6px 12px;
}
.form__input:focus-visible {
outline: 1px auto var(--input-outline-focus);
}
.form__input--textarea {
font-family: inherit;
resize: vertical;
}
.btn-group {
display: grid;
gap: 8px;
margin-top: 8px;
}
.btn {
line-height: inherit;
border: var(--cancel-border);
border-radius: var(--form-content-border-radius);
cursor: pointer;
font-size: 14px;
font-weight: 600;
padding: 6px 16px;
}
.btn[disabled] {
opacity: 0.6;
pointer-events: none;
}
.btn--primary {
background-color: var(--submit-background);
border-color: var(--submit-border);
color: var(--submit-foreground);
}
.btn--primary:hover {
background-color: var(--submit-background-hover);
color: var(--submit-foreground-hover);
}
.btn--primary:focus-visible {
outline: 1px auto var(--submit-outline-focus);
}
.btn--default {
background-color: var(--cancel-background);
color: var(--cancel-foreground);
font-weight: 500;
}
.btn--default:hover {
background-color: var(--cancel-background-hover);
color: var(--cancel-foreground-hover);
}
.btn--default:focus-visible {
outline: 1px auto var(--cancel-outline-focus);
}
.success-message {
background-color: var(--background);
border: var(--border);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
font-weight: 600;
color: var(--success);
padding: 12px 24px;
line-height: 25px;
display: grid;
align-items: center;
grid-auto-flow: column;
gap: 6px;
cursor: default;
}
.success-icon path {
fill: var(--success);
}
`,e}function AR(t){return`
--background: ${t.background};
--background-hover: ${t.backgroundHover};
--foreground: ${t.foreground};
--error: ${t.error};
--success: ${t.success};
--border: ${t.border};
--border-radius: ${t.borderRadius};
--box-shadow: ${t.boxShadow};
--submit-background: ${t.submitBackground};
--submit-background-hover: ${t.submitBackgroundHover};
--submit-border: ${t.submitBorder};
--submit-outline-focus: ${t.submitOutlineFocus};
--submit-foreground: ${t.submitForeground};
--submit-foreground-hover: ${t.submitForegroundHover};
--cancel-background: ${t.cancelBackground};
--cancel-background-hover: ${t.cancelBackgroundHover};
--cancel-border: ${t.cancelBorder};
--cancel-outline-focus: ${t.cancelOutlineFocus};
--cancel-foreground: ${t.cancelForeground};
--cancel-foreground-hover: ${t.cancelForegroundHover};
--input-background: ${t.inputBackground};
--input-foreground: ${t.inputForeground};
--input-border: ${t.inputBorder};
--input-outline-focus: ${t.inputOutlineFocus};
--form-border-radius: ${t.formBorderRadius};
--form-content-border-radius: ${t.formContentBorderRadius};
`}function Zye(t,e,r){const n=t.createElement("style");return n.textContent=`
:host {
--bottom: 1rem;
--right: 1rem;
--top: auto;
--left: auto;
--z-index: 100000;
--font-family: ${r.light.fontFamily};
--font-size: ${r.light.fontSize};
position: fixed;
left: var(--left);
right: var(--right);
bottom: var(--bottom);
top: var(--top);
z-index: var(--z-index);
font-family: var(--font-family);
font-size: var(--font-size);
${AR(e==="dark"?r.dark:r.light)}
}
${e==="system"?`
@media (prefers-color-scheme: dark) {
:host {
${AR(r.dark)}
}
}`:""}
}`,n}function Qye({id:t,colorScheme:e,themeDark:r,themeLight:n}){try{const i=wc.document,a=i.createElement("div");a.id=t;const s=a.attachShadow({mode:"open"});return s.appendChild(Zye(i,e,{dark:r,light:n})),s.appendChild(Jye(i)),{shadow:s,host:a}}catch{throw W.warn("[Feedback] Browser does not support shadow DOM API"),new Error("Browser does not support shadow DOM API.")}}async function e_e(t,e,r){if(!t)return;const n=()=>{t&&t.showError("There was a problem submitting feedback, please wait and try again.")};t.hideError();try{return await ZV({...e,source:XV},r)}catch(i){bl&&W.error(i),n()}}function Zn(t,e){return Object.entries(e).forEach(([r,n])=>{t.setAttributeNS(null,r,n)}),t}const tl=20,t_e="http://www.w3.org/2000/svg";function r_e(){const t=o=>wc.document.createElementNS(t_e,o),e=Zn(t("svg"),{class:"feedback-icon",width:`${tl}`,height:`${tl}`,viewBox:`0 0 ${tl} ${tl}`,fill:"none"}),r=Zn(t("g"),{clipPath:"url(#clip0_57_80)"}),n=Zn(t("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});e.appendChild(r).appendChild(n);const i=t("defs"),a=Zn(t("clipPath"),{id:"clip0_57_80"}),s=Zn(t("rect"),{width:`${tl}`,height:`${tl}`,fill:"white"});return a.appendChild(s),i.appendChild(a),e.appendChild(i).appendChild(a).appendChild(s),{get el(){return e}}}function Bt(t,e,...r){const i=wc.document.createElement(t);e&&Object.entries(e).forEach(([a,s])=>{a==="className"&&typeof s=="string"?i.setAttribute("class",s):typeof s=="boolean"&&s?i.setAttribute(a,""):typeof s=="string"?i.setAttribute(a,s):a.startsWith("on")&&typeof s=="function"&&i.addEventListener(a.substring(2).toLowerCase(),s)});for(const a of r)QV(i,a);return i}function QV(t,e){const r=wc.document;if(!(typeof e>"u"||e===null))if(Array.isArray(e))for(const n of e)QV(t,n);else e===!1||(typeof e=="string"?t.appendChild(r.createTextNode(e)):e instanceof Node?t.appendChild(e):t.appendChild(r.createTextNode(String(e))))}function n_e({buttonLabel:t,onClick:e}){function r(i){e&&e(i)}const n=Bt("button",{type:"button",className:"widget__actor","aria-label":t,"aria-hidden":"false"},r_e().el,t?Bt("span",{className:"widget__actor__text"},t):null);return n.addEventListener("click",r),{get el(){return n},show:()=>{n.classList.remove("widget__actor--hidden"),n.setAttribute("aria-hidden","false")},hide:()=>{n.classList.add("widget__actor--hidden"),n.setAttribute("aria-hidden","true")}}}function i_e({label:t}){return{el:Bt("button",{type:"submit",className:"btn btn--primary","aria-label":t},t)}}function d1(t,e){const r=t.get(e);return typeof r=="string"?r.trim():""}function a_e({nameLabel:t,namePlaceholder:e,emailLabel:r,emailPlaceholder:n,messageLabel:i,messagePlaceholder:a,cancelButtonLabel:s,submitButtonLabel:o,showName:u,showEmail:c,isNameRequired:l,isEmailRequired:d,defaultName:f,defaultEmail:p,onCancel:m,onSubmit:b}){const{el:_}=i_e({label:o});function S(w){if(w.preventDefault(),w.target instanceof HTMLFormElement)try{if(b){const A=new FormData(w.target),C={name:d1(A,"name"),email:d1(A,"email"),message:d1(A,"message")};b(C)}}catch{}}const x=Bt("div",{className:"form__error-container form__error-container--hidden","aria-hidden":"true"});function O(w){x.textContent=w,x.classList.remove("form__error-container--hidden"),x.setAttribute("aria-hidden","false")}function h(){x.textContent="",x.classList.add("form__error-container--hidden"),x.setAttribute("aria-hidden","true")}const v=Bt("input",{id:"name",type:u?"text":"hidden","aria-hidden":u?"false":"true",name:"name",required:l,className:"form__input",placeholder:e,value:f}),g=Bt("input",{id:"email",type:c?"text":"hidden","aria-hidden":c?"false":"true",name:"email",required:d,className:"form__input",placeholder:n,value:p}),T=Bt("textarea",{id:"message",autoFocus:"true",rows:"5",name:"message",required:!0,className:"form__input form__input--textarea",placeholder:a}),P=Bt("button",{type:"button",className:"btn btn--default","aria-label":s,onClick:w=>{m&&m(w)}},s),k=Bt("form",{className:"form",onSubmit:S},[x,u&&Bt("label",{htmlFor:"name",className:"form__label"},[Bt("span",{className:"form__label__text"},t,l&&Bt("span",{className:"form__label__text--required"}," (required)")),v]),!u&&v,c&&Bt("label",{htmlFor:"email",className:"form__label"},[Bt("span",{className:"form__label__text"},r,d&&Bt("span",{className:"form__label__text--required"}," (required)")),g]),!c&&g,Bt("label",{htmlFor:"message",className:"form__label"},[Bt("span",{className:"form__label__text"},i,Bt("span",{className:"form__label__text--required"}," (required)")),T]),Bt("div",{className:"btn-group"},[_,P])]);return{get el(){return k},showError:O,hideError:h}}const s_e="http://www.w3.org/2000/svg";function o_e({colorScheme:t}){const e=s=>wc.document.createElementNS(s_e,s),r=Zn(e("svg"),{class:"sentry-logo",width:"32",height:"30",viewBox:"0 0 72 66",fill:"none"}),n=Zn(e("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});r.append(n);const i=e("defs"),a=e("style");return t==="system"&&(a.textContent=`
@media (prefers-color-scheme: dark) {
path: {
fill: '#fff';
}
}
`),a.textContent=`
path {
fill: ${t==="dark"?"#fff":"#362d59"};
}`,i.append(a),r.append(i),{get el(){return r}}}function u_e({formTitle:t,showBranding:e,showName:r,showEmail:n,isNameRequired:i,isEmailRequired:a,colorScheme:s,defaultName:o,defaultEmail:u,onClosed:c,onCancel:l,onSubmit:d,...f}){let p=null;function m(){b(),c&&c()}function b(){p&&(p.open=!1)}function _(){p&&(p.open=!0)}function S(){return p&&p.open===!0||!1}const{el:x,showError:O,hideError:h}=a_e({showEmail:n,showName:r,isEmailRequired:a,isNameRequired:i,defaultName:o,defaultEmail:u,onSubmit:d,onCancel:l,...f});return p=Bt("dialog",{className:"dialog",open:!0,onClick:m},Bt("div",{className:"dialog__content",onClick:v=>{v.stopPropagation()}},Bt("h2",{className:"dialog__header"},t,e&&Bt("a",{className:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer"},o_e({colorScheme:s}).el)),x)),{get el(){return p},showError:O,hideError:h,open:_,close:b,checkIsOpen:S}}const rg=16,MR=17,c_e="http://www.w3.org/2000/svg";function l_e(){const t=u=>wc.document.createElementNS(c_e,u),e=Zn(t("svg"),{class:"success-icon",width:`${rg}`,height:`${MR}`,viewBox:`0 0 ${rg} ${MR}`,fill:"none"}),r=Zn(t("g"),{clipPath:"url(#clip0_57_156)"}),n=Zn(t("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),i=Zn(t("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});e.appendChild(r).append(i,n);const a=t("defs"),s=Zn(t("clipPath"),{id:"clip0_57_156"}),o=Zn(t("rect"),{width:`${rg}`,height:`${rg}`,fill:"white",transform:"translate(0 0.5)"});return s.appendChild(o),a.appendChild(s),e.appendChild(a).appendChild(s).appendChild(o),{get el(){return e}}}function d_e({message:t,onRemove:e}){function r(){n&&(n.remove(),e&&e())}const n=Bt("div",{className:"success-message",onClick:r},l_e().el,t);return{el:n,remove:r}}function $R({shadow:t,options:{shouldCreateActor:e=!0,...r},attachTo:n}){let i,a,s=!1;function o(){if(t)try{const _=d_e({message:r.successMessageText,onRemove:()=>{S&&clearTimeout(S),c()}});if(!_.el)throw new Error("Unable to show success message");t.appendChild(_.el);const S=setTimeout(()=>{_&&_.remove()},5e3)}catch(_){W.error(_)}}async function u(_){if(!a)return;const S=[];if(r.isNameRequired&&!_.name&&S.push(r.nameLabel),r.isEmailRequired&&!_.email&&S.push(r.emailLabel),_.message||S.push(r.messageLabel),S.length>0){a.showError(`Please enter in the following required fields: ${S.join(", ")}`);return}if(!await e_e(a,_)){r.onSubmitError&&r.onSubmitError();return}m(),o(),r.onSubmitSuccess&&r.onSubmitSuccess()}function c(){i&&i.show()}function l(){i&&i.hide()}function d(){i&&i.el&&i.el.remove()}function f(){try{if(a){a.open(),s=!0,r.onFormOpen&&r.onFormOpen();return}const _=r.useSentryUser,S=yr(),x=S&&S.getUser();if(a=u_e({colorScheme:r.colorScheme,showBranding:r.showBranding,showName:r.showName||r.isNameRequired,showEmail:r.showEmail||r.isEmailRequired,isNameRequired:r.isNameRequired,isEmailRequired:r.isEmailRequired,formTitle:r.formTitle,cancelButtonLabel:r.cancelButtonLabel,submitButtonLabel:r.submitButtonLabel,emailLabel:r.emailLabel,emailPlaceholder:r.emailPlaceholder,messageLabel:r.messageLabel,messagePlaceholder:r.messagePlaceholder,nameLabel:r.nameLabel,namePlaceholder:r.namePlaceholder,defaultName:_&&x&&x[_.name]||"",defaultEmail:_&&x&&x[_.email]||"",onClosed:()=>{c(),s=!1,r.onFormClose&&r.onFormClose()},onCancel:()=>{p(),c()},onSubmit:u}),!a.el)throw new Error("Unable to open Feedback dialog");t.appendChild(a.el),l(),r.onFormOpen&&r.onFormOpen()}catch(_){W.error(_)}}function p(){a&&(a.close(),s=!1,r.onFormClose&&r.onFormClose())}function m(){if(a){p();const _=a.el;_&&_.remove(),a=void 0}}function b(){s||f(),l()}return n?n.addEventListener("click",b):e&&(i=n_e({buttonLabel:r.buttonLabel,onClick:b}),i.el&&t.appendChild(i.el)),{get actor(){return i},get dialog(){return a},showActor:c,hideActor:l,removeActor:d,openDialog:f,closeDialog:p,removeDialog:m}}const ng=wc.document,f_e=t=>new zp(t);class zp{static __initStatic(){this.id="Feedback"}constructor({id:e="sentry-feedback",showBranding:r=!0,autoInject:n=!0,showEmail:i=!0,showName:a=!0,useSentryUser:s={email:"email",name:"username"},isEmailRequired:o=!1,isNameRequired:u=!1,themeDark:c,themeLight:l,colorScheme:d="system",buttonLabel:f=Nye,cancelButtonLabel:p=Bye,submitButtonLabel:m=Fye,formTitle:b=jye,emailPlaceholder:_=Hye,emailLabel:S=zye,messagePlaceholder:x=Vye,messageLabel:O=Uye,namePlaceholder:h=Gye,nameLabel:v=Wye,successMessageText:g=Yye,onFormClose:T,onFormOpen:P,onSubmitError:k,onSubmitSuccess:w}={}){this.name=zp.id,this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1,this.options={id:e,showBranding:r,autoInject:n,isEmailRequired:o,isNameRequired:u,showEmail:i,showName:a,useSentryUser:s,colorScheme:d,themeDark:{...PR.dark,...c},themeLight:{...PR.light,...l},buttonLabel:f,cancelButtonLabel:p,submitButtonLabel:m,formTitle:b,emailLabel:S,emailPlaceholder:_,messageLabel:O,messagePlaceholder:x,nameLabel:v,namePlaceholder:h,successMessageText:g,onFormClose:T,onFormOpen:P,onSubmitError:k,onSubmitSuccess:w}}setupOnce(){if(DO())try{this._cleanupWidgetIfExists();const{autoInject:e}=this.options;if(!e)return;this._createWidget(this.options)}catch(e){bl&&W.error(e)}}openDialog(){this._widget||this._createWidget({...this.options,shouldCreateActor:!1}),this._widget&&this._widget.openDialog()}closeDialog(){this._widget&&this._widget.closeDialog()}attachTo(e,r){try{const n=CR(this.options,r||{});return this._ensureShadowHost(n,({shadow:i})=>{const a=typeof e=="string"?ng.querySelector(e):typeof e.addEventListener=="function"?e:null;if(!a)return bl&&W.error("[Feedback] Unable to attach to target element"),null;const s=$R({shadow:i,options:n,attachTo:a});return this._widgets.add(s),this._widget||(this._widget=s),s})}catch(n){return bl&&W.error(n),null}}createWidget(e){try{return this._createWidget(CR(this.options,e||{}))}catch(r){return bl&&W.error(r),null}}removeWidget(e){if(!e)return!1;try{if(this._widgets.has(e))return e.removeActor(),e.removeDialog(),this._widgets.delete(e),this._widget===e&&(this._widget=null),!0}catch(r){bl&&W.error(r)}return!1}getWidget(){return this._widget}remove(){this._host&&this._host.remove(),this._initialize()}_initialize(){this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1}_cleanupWidgetIfExists(){this._host&&this.remove();const e=ng.querySelector(`#${this.options.id}`);e&&e.remove()}_createWidget(e){return this._ensureShadowHost(e,({shadow:r})=>{const n=$R({shadow:r,options:e});return!this._hasInsertedActorStyles&&n.actor&&(r.appendChild(Xye(ng)),this._hasInsertedActorStyles=!0),this._widgets.add(n),this._widget||(this._widget=n),n})}_ensureShadowHost(e,r){let n=!1;if(!this._shadow||!this._host){const{id:a,colorScheme:s,themeLight:o,themeDark:u}=e,{shadow:c,host:l}=Qye({id:a,colorScheme:s,themeLight:o,themeDark:u});this._shadow=c,this._host=l,n=!0}this._host.dataset.sentryFeedbackColorscheme=e.colorScheme;const i=r({shadow:this._shadow,host:this._host});return n&&ng.body.appendChild(this._host),i}}zp.__initStatic();function ap(t){return new Promise((e,r)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>r(t.error)})}function h_e(t,e){const r=indexedDB.open(t);r.onupgradeneeded=()=>r.result.createObjectStore(e);const n=ap(r);return i=>n.then(a=>i(a.transaction(e,"readwrite").objectStore(e)))}function eU(t){return ap(t.getAllKeys())}function p_e(t,e,r){return t(n=>eU(n).then(i=>{if(!(i.length>=r))return n.put(e,Math.max(...i,0)+1),ap(n.transaction)}))}function m_e(t){return t(e=>eU(e).then(r=>{if(r.length!==0)return ap(e.get(r[0])).then(n=>(e.delete(r[0]),ap(e.transaction).then(()=>n)))}))}function g_e(t){let e;function r(){return e==null&&(e=h_e(t.dbName||"sentry-offline",t.storeName||"queue")),e}return{insert:async n=>{try{const i=await wH(n,t.textEncoder);await p_e(r(),i,t.maxQueueSize||30)}catch{}},pop:async()=>{try{const n=await m_e(r());if(n)return Afe(n,t.textEncoder||new TextEncoder,t.textDecoder||new TextDecoder)}catch{}}}}function v_e(t){return e=>t({...e,createStore:g_e})}function b_e(t){return v_e(fpe(t))}const kR=1e6,hv=String(0),y_e="main";let tU="",rU="",nU="",JO=Se.navigator&&Se.navigator.userAgent||"",iU="";const __e=Se.navigator&&Se.navigator.language||Se.navigator&&Se.navigator.languages&&Se.navigator.languages[0]||"";function w_e(t){return typeof t=="object"&&t!==null&&"getHighEntropyValues"in t}const DR=Se.navigator&&Se.navigator.userAgentData;w_e(DR)&&DR.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(t=>{if(tU=t.platform||"",nU=t.architecture||"",iU=t.model||"",rU=t.platformVersion||"",t.fullVersionList&&t.fullVersionList.length>0){const e=t.fullVersionList[t.fullVersionList.length-1];JO=`${e.brand} ${e.version}`}}).catch(t=>{});function S_e(t){return!("thread_metadata"in t)}function O_e(t){return S_e(t)?x_e(t):t}function T_e(t){const e=t&&t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id;return typeof e=="string"&&e.length!==32&&tt&&W.log(`[Profiling] Invalid traceId: ${e} on profiled event`),typeof e!="string"?"":e}function E_e(t,e,r,n){if(n.type!=="transaction")throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(r==null)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${r} instead.`);const i=T_e(n),a=O_e(r),s=e||(typeof n.start_timestamp=="number"?n.start_timestamp*1e3:Date.now()),o=typeof n.timestamp=="number"?n.timestamp*1e3:Date.now();return{event_id:t,timestamp:new Date(s).toISOString(),platform:"javascript",version:"1",release:n.release||"",environment:n.environment||Lp,runtime:{name:"javascript",version:Se.navigator.userAgent},os:{name:tU,version:rU,build_number:JO},device:{locale:__e,model:iU,manufacturer:JO,architecture:nU,is_emulator:!1},debug_meta:{images:A_e(r.resources)},profile:a,transactions:[{name:n.transaction||"",id:n.event_id||Ft(),trace_id:i,active_thread_id:hv,relative_start_ns:"0",relative_end_ns:((o-s)*1e6).toFixed(0)}]}}function aU(t){return t.op==="pageload"}function x_e(t){let e,r=0;const n={samples:[],stacks:[],frames:[],thread_metadata:{[hv]:{name:y_e}}};if(!t.samples.length)return n;const i=t.samples[0].timestamp,a=typeof performance.timeOrigin=="number"?performance.timeOrigin:gn||0,s=a-(gn||a);for(let o=0;o<t.samples.length;o++){const u=t.samples[o];if(u.stackId===void 0){e===void 0&&(e=r,n.stacks[e]=[],r++),n.samples[o]={elapsed_since_start_ns:((u.timestamp+s-i)*kR).toFixed(0),stack_id:e,thread_id:hv};continue}let c=t.stacks[u.stackId];const l=[];for(;c;){l.push(c.frameId);const f=t.frames[c.frameId];n.frames[c.frameId]===void 0&&(n.frames[c.frameId]={function:f.name,abs_path:typeof f.resourceId=="number"?t.resources[f.resourceId]:void 0,lineno:f.line,colno:f.column}),c=c.parentId===void 0?void 0:t.stacks[c.parentId]}const d={elapsed_since_start_ns:((u.timestamp+s-i)*kR).toFixed(0),stack_id:r,thread_id:hv};n.stacks[r]=l,n.samples[o]=d,r++}return n}function P_e(t,e){if(!e.length)return t;for(const r of e)t[1].push([{type:"profile"},r]);return t}function C_e(t){const e=[];return cd(t,(r,n)=>{if(n==="transaction")for(let i=1;i<r.length;i++){const a=r[i];a&&a.contexts&&a.contexts.profile&&a.contexts.profile.profile_id&&e.push(r[i])}}),e}const IR=new WeakMap;function A_e(t){const e=Fe._sentryDebugIds;if(!e)return[];const r=qe(),n=r&&r.getOptions(),i=n&&n.stackParser;if(!i)return[];let a;const s=IR.get(i);s?a=s:(a=new Map,IR.set(i,a));const o=Object.keys(e).reduce((c,l)=>{let d;const f=a.get(l);f?d=f:(d=i(l),a.set(l,d));for(let p=d.length-1;p>=0;p--){const m=d[p],b=m&&m.filename;if(m&&b){c[b]=e[l];break}}return c},{}),u=[];for(const c of t)c&&o[c]&&u.push({type:"sourcemap",code_file:c,debug_id:o[c]});return u}function M_e(t){return typeof t!="number"&&typeof t!="boolean"||typeof t=="number"&&isNaN(t)?(tt&&W.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`),!1):t===!0||t===!1?!0:t<0||t>1?(tt&&W.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${t}.`),!1):!0}function $_e(t){return t.samples.length<2?(tt&&W.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):t.frames.length?!0:(tt&&W.log("[Profiling] Discarding profile because it contains no frames"),!1)}let sU=!1;const oU=3e4;function k_e(t){return typeof t=="function"}function D_e(){const t=Se.Profiler;if(!k_e(t)){tt&&W.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}const e=10,r=Math.floor(oU/e);try{return new t({sampleInterval:e,maxBufferSize:r})}catch{tt&&(W.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),W.log("[Profiling] Disabling profiling for current user session.")),sU=!0}}function ZO(t){if(sU)return tt&&W.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!t.isRecording())return tt&&W.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const e=qe(),r=e&&e.getOptions();if(!r)return tt&&W.log("[Profiling] Profiling disabled, no options found."),!1;const n=r.profilesSampleRate;return M_e(n)?n?(n===!0?!0:Math.random()<n)?!0:(tt&&W.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(n)})`),!1):(tt&&W.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(tt&&W.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function I_e(t,e,r,n){return $_e(r)?E_e(t,e,r,n):null}const xu=new Map;function R_e(){return xu.size}function L_e(t){const e=xu.get(t);return e&&xu.delete(t),e}function N_e(t,e){if(xu.set(t,e),xu.size>30){const r=xu.keys().next().value;xu.delete(r)}}function B_e(t){return t?ZO(t)?QO(t):t:(tt&&W.log("[Profiling] Transaction is undefined, skipping profiling"),t)}function QO(t){let e;aU(t)&&(e=Go()*1e3);const r=D_e();if(!r)return t;tt&&W.log(`[Profiling] started profiling transaction: ${xt(t).description}`);const n=Ft();async function i(){return!t||!r?null:r.stop().then(u=>(a&&(Se.clearTimeout(a),a=void 0),tt&&W.log(`[Profiling] stopped profiling of transaction: ${xt(t).description}`),u?(N_e(n,u),null):(tt&&W.log(`[Profiling] profiler returned null profile for: ${xt(t).description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null))).catch(u=>(tt&&W.log("[Profiling] error while stopping profiler:",u),null))}let a=Se.setTimeout(()=>{tt&&W.log("[Profiling] max profile duration elapsed, stopping profiling for:",xt(t).description),i()},oU);const s=t.end.bind(t);function o(){return t?(i().then(()=>{t.setContext("profile",{profile_id:n,start_timestamp:e}),s()},()=>{s()}),t):s()}return t.end=o,t}const uU="BrowserProfiling",F_e=()=>({name:uU,setupOnce(){},setup(t){const r=yr().getTransaction();if(r&&aU(r)&&ZO(r)&&QO(r),typeof t.on!="function"){W.warn("[Profiling] Client does not support hooks, profiling will be disabled");return}t.on("startTransaction",n=>{ZO(n)&&QO(n)}),t.on("beforeEnvelope",n=>{if(!R_e())return;const i=C_e(n);if(!i.length)return;const a=[];for(const s of i){const o=s&&s.contexts,u=o&&o.profile&&o.profile.profile_id,c=o&&o.profile&&o.profile.start_timestamp;if(typeof u!="string"){tt&&W.log("[Profiling] cannot find profile for a transaction without a profile context");continue}if(!u){tt&&W.log("[Profiling] cannot find profile for a transaction without a profile context");continue}o&&o.profile&&delete o.profile;const l=L_e(u);if(!l){tt&&W.log(`[Profiling] Could not retrieve profile for transaction: ${u}`);continue}const d=I_e(u,c,l,s);d&&a.push(d)}P_e(n,a)})}}),j_e=Fn(uU,F_e);let cU={};Se.Sentry&&Se.Sentry.Integrations&&(cU=Se.Sentry.Integrations);const H_e={...cU,...eme,...Qge},lU=["activate","mount","update"],z_e=/(?:^|[-_])(\w)/g,V_e=t=>t.replace(z_e,e=>e.toUpperCase()).replace(/[-_]/g,""),U_e="<Root>",f1="<Anonymous>",G_e=(t,e)=>t.repeat?t.repeat(e):t,Ph=(t,e)=>{if(!t)return f1;if(t.$root===t)return U_e;if(!t.$options)return f1;const r=t.$options;let n=r.name||r._componentTag;const i=r.__file;if(!n&&i){const a=i.match(/([^/\\]+)\.vue$/);a&&(n=a[1])}return(n?`<${V_e(n)}>`:f1)+(i&&e!==!1?` at ${i}`:"")},W_e=t=>{if(t&&(t._isVue||t.__isVue)&&t.$parent){const e=[];let r=0;for(;t;){if(e.length>0){const i=e[e.length-1];if(i.constructor===t.constructor){r++,t=t.$parent;continue}else r>0&&(e[e.length-1]=[i,r],r=0)}e.push(t),t=t.$parent}return`
found in
${e.map((i,a)=>`${(a===0?"---> ":G_e(" ",5+a*2))+(Array.isArray(i)?`${Ph(i[0])}... (${i[1]} recursive calls)`:Ph(i))}`).join(`
`)}`}return`
(found in ${Ph(t)})`},dU=(t,e)=>{const{errorHandler:r,warnHandler:n,silent:i}=t.config;t.config.errorHandler=(a,s,o)=>{const u=Ph(s,!1),c=s?W_e(s):"",l={componentName:u,lifecycleHook:o,trace:c};if(e.attachProps&&s&&(s.$options&&s.$options.propsData?l.propsData=s.$options.propsData:s.$props&&(l.propsData=s.$props)),setTimeout(()=>{Rd(a,{captureContext:{contexts:{vue:l}},mechanism:{handled:!1}})}),typeof r=="function"&&r.call(t,a,s,o),e.logErrors){const d=typeof console<"u",f=`Error in ${o}: "${a&&a.toString()}"`;n?n.call(null,f,s,c):d&&!i&&ja(()=>{console.error(`[Vue warn]: ${f}${c}`)})}}},Y_e=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,RR="ui.vue",K_e={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function eT(){return yr().getTransaction()}function q_e(t,e,r){t.$_sentryRootSpanTimer&&clearTimeout(t.$_sentryRootSpanTimer),t.$_sentryRootSpanTimer=setTimeout(()=>{t.$root&&t.$root.$_sentryRootSpan&&(t.$root.$_sentryRootSpan.end(e),t.$root.$_sentryRootSpan=void 0)},r)}const fU=t=>{const e=(t.hooks||[]).concat(lU).filter((n,i,a)=>a.indexOf(n)===i),r={};for(const n of e){const i=K_e[n];if(!i){Y_e&&W.warn(`Unknown hook: ${n}`);continue}for(const a of i)r[a]=function(){const s=this.$root===this;if(s){const c=eT();c&&(this.$_sentryRootSpan=this.$_sentryRootSpan||c.startChild({description:"Application Render",op:`${RR}.render`,origin:"auto.ui.vue"}))}const o=Ph(this,!1),u=Array.isArray(t.trackComponents)?t.trackComponents.indexOf(o)>-1:t.trackComponents;if(!(!s&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},a==i[0]){const c=this.$root&&this.$root.$_sentryRootSpan||eT();if(c){const l=this.$_sentrySpans[n];l&&l.end(),this.$_sentrySpans[n]=c.startChild({description:`Vue <${o}>`,op:`${RR}.${n}`,origin:"auto.ui.vue"})}}else{const c=this.$_sentrySpans[n];if(!c)return;c.end(),q_e(this,Go(),t.timeout)}}}return r},X_e=Fe,J_e={Vue:X_e.Vue,attachProps:!0,logErrors:!0,hooks:lU,timeout:2e3,trackComponents:!1},hU="Vue",Z_e=(t={})=>({name:hU,setupOnce(){},setup(e){ewe(e,t)}}),CP=Z_e,Q_e=Fn(hU,CP);function ewe(t,e){const r={...J_e,...t.getOptions(),...e};if(!r.Vue&&!r.app){ja(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}r.app?Ax(r.app).forEach(i=>LR(i,r)):r.Vue&&LR(r.Vue,r)}const LR=(t,e)=>{const r=t;(r._instance&&r._instance.isMounted)===!0&&ja(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),dU(t,e),Nd(e)&&t.mixin(fU({...e,...e.tracingOptions}))};function twe(t={}){const e={_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:ld}],version:ld}},defaultIntegrations:[...fP(),CP()],...t};Wge(e)}function rwe(t,e={}){return(r,n=!0,i=!0)=>{const a={"routing.instrumentation":"vue-router"};n&&Se&&Se.location&&r({name:Se.location.pathname,op:"pageload",origin:"auto.pageload.vue",tags:a,data:{[An]:"url"}}),t.onError(s=>Rd(s,{mechanism:{handled:!1}})),t.beforeEach((s,o,u)=>{const c=o.name==null&&o.matched.length===0,l={params:s.params,query:s.query};let d=s.path,f="url";if(s.name&&e.routeLabel!=="path"?(d=s.name.toString(),f="custom"):s.matched[0]&&s.matched[0].path&&(d=s.matched[0].path,f="route"),n&&c){const p=eT();p&&((xt(p).data||{})[An]!=="custom"&&(p.updateName(d),p.setAttribute(An,f)),p.setData("params",l.params),p.setData("query",l.query))}i&&!c&&(l[An]=f,r({name:d,op:"navigation",origin:"auto.navigation.vue",tags:a,data:l})),u&&u()})}}const LNe=Object.freeze(Object.defineProperty({__proto__:null,Breadcrumbs:zz,BrowserClient:kz,BrowserProfilingIntegration:j_e,BrowserTracing:Lme,Dedupe:Uz,Feedback:zp,FunctionToString:uz,GlobalHandlers:Kz,HttpContext:Zz,Hub:jx,InboundFilters:sz,Integrations:H_e,LinkedErrors:eV,ModuleMetadata:xpe,Replay:Hp,ReplayCanvas:Lye,SDK_VERSION:ld,Scope:Ni,TryCatch:rV,VueIntegration:Q_e,WINDOW:Se,addBreadcrumb:$s,addEventProcessor:QH,addGlobalEventProcessor:xH,addIntegration:Vhe,addTracingExtensions:Gx,attachErrorHandler:dU,breadcrumbsIntegration:sP,browserApiErrorsIntegration:dP,browserTracingIntegration:jme,captureEvent:Fx,captureException:Rd,captureMessage:Jfe,captureUserFeedback:Zge,chromeStackLineParser:Rz,close:ohe,configureScope:Zfe,continueTrace:Dhe,createTracingMixins:fU,createTransport:qx,createUserFeedbackEnvelope:$z,dedupeIntegration:oP,defaultIntegrations:nV,defaultRequestInstrumentationOptions:ep,defaultStackLineParsers:Bz,defaultStackParser:Fz,eventFromException:Az,eventFromMessage:Mz,exceptionFromError:nP,extractTraceparentData:_he,feedbackIntegration:f_e,flush:she,forceLoad:Kge,functionToStringIntegration:Jx,geckoStackLineParser:Lz,getActiveSpan:jH,getActiveTransaction:Wo,getClient:qe,getCurrentHub:vt,getCurrentScope:yr,getDefaultIntegrations:fP,getHubFromCarrier:M0,getSpanStatusFromHttpCode:zx,globalHandlersIntegration:uP,httpContextIntegration:cP,inboundFiltersIntegration:Xx,init:twe,instrumentOutgoingRequests:rP,isInitialized:che,lastEventId:uhe,linkedErrorsIntegration:lP,makeBrowserOfflineTransport:b_e,makeFetchTransport:Dz,makeMain:NO,makeMultiplexedTransport:ppe,makeXHRTransport:Iz,metrics:Qpe,moduleMetadataIntegration:iz,onLoad:qge,onProfilingStartRouteTransaction:B_e,opera10StackLineParser:mge,opera11StackLineParser:bge,parameterize:ype,replayCanvasIntegration:qV,replayIntegration:Sye,sendFeedback:ZV,setContext:$H,setCurrentClient:ez,setExtra:ehe,setExtras:Qfe,setMeasurement:HH,setTag:rhe,setTags:the,setUser:nhe,showReportDialog:Yge,spanStatusfromHttpCode:She,startBrowserTracingNavigationSpan:Pz,startBrowserTracingPageLoadSpan:xz,startInactiveSpan:Yx,startSpan:$he,startSpanManual:khe,startTransaction:ahe,trace:Mhe,vueIntegration:CP,vueRouterInstrumentation:rwe,winjsStackLineParser:Nz,withIsolationScope:ihe,withScope:Np,wrap:Xge},Symbol.toStringTag,{value:"Module"}));var pU={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){var r=1e3,n=6e4,i=36e5,a="millisecond",s="second",o="minute",u="hour",c="day",l="week",d="month",f="quarter",p="year",m="date",b="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,x={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},O=function(E,$,D){var M=String(E);return!M||M.length>=$?E:""+Array($+1-M.length).join(D)+E},h={s:O,z:function(E){var $=-E.utcOffset(),D=Math.abs($),M=Math.floor(D/60),L=D%60;return($<=0?"+":"-")+O(M,2,"0")+":"+O(L,2,"0")},m:function E($,D){if($.date()<D.date())return-E(D,$);var M=12*(D.year()-$.year())+(D.month()-$.month()),L=$.clone().add(M,d),N=D-L<0,j=$.clone().add(M+(N?-1:1),d);return+(-(M+(D-L)/(N?L-j:j-L))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:d,y:p,w:l,d:c,D:m,h:u,m:o,s,ms:a,Q:f}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},v="en",g={};g[v]=x;var T=function(E){return E instanceof A},P=function E($,D,M){var L;if(!$)return v;if(typeof $=="string"){var N=$.toLowerCase();g[N]&&(L=N),D&&(g[N]=D,L=N);var j=$.split("-");if(!L&&j.length>1)return E(j[0])}else{var z=$.name;g[z]=$,L=z}return!M&&L&&(v=L),L||!M&&v},k=function(E,$){if(T(E))return E.clone();var D=typeof $=="object"?$:{};return D.date=E,D.args=arguments,new A(D)},w=h;w.l=P,w.i=T,w.w=function(E,$){return k(E,{locale:$.$L,utc:$.$u,x:$.$x,$offset:$.$offset})};var A=function(){function E(D){this.$L=P(D.locale,null,!0),this.parse(D)}var $=E.prototype;return $.parse=function(D){this.$d=function(M){var L=M.date,N=M.utc;if(L===null)return new Date(NaN);if(w.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var j=L.match(_);if(j){var z=j[2]-1||0,U=(j[7]||"0").substring(0,3);return N?new Date(Date.UTC(j[1],z,j[3]||1,j[4]||0,j[5]||0,j[6]||0,U)):new Date(j[1],z,j[3]||1,j[4]||0,j[5]||0,j[6]||0,U)}}return new Date(L)}(D),this.$x=D.x||{},this.init()},$.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},$.$utils=function(){return w},$.isValid=function(){return this.$d.toString()!==b},$.isSame=function(D,M){var L=k(D);return this.startOf(M)<=L&&L<=this.endOf(M)},$.isAfter=function(D,M){return k(D)<this.startOf(M)},$.isBefore=function(D,M){return this.endOf(M)<k(D)},$.$g=function(D,M,L){return w.u(D)?this[M]:this.set(L,D)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(D,M){var L=this,N=!!w.u(M)||M,j=w.p(D),z=function(se,Ae){var Ye=w.w(L.$u?Date.UTC(L.$y,Ae,se):new Date(L.$y,Ae,se),L);return N?Ye:Ye.endOf(c)},U=function(se,Ae){return w.w(L.toDate()[se].apply(L.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(Ae)),L)},J=this.$W,re=this.$M,Y=this.$D,G="set"+(this.$u?"UTC":"");switch(j){case p:return N?z(1,0):z(31,11);case d:return N?z(1,re):z(0,re+1);case l:var K=this.$locale().weekStart||0,X=(J<K?J+7:J)-K;return z(N?Y-X:Y+(6-X),re);case c:case m:return U(G+"Hours",0);case u:return U(G+"Minutes",1);case o:return U(G+"Seconds",2);case s:return U(G+"Milliseconds",3);default:return this.clone()}},$.endOf=function(D){return this.startOf(D,!1)},$.$set=function(D,M){var L,N=w.p(D),j="set"+(this.$u?"UTC":""),z=(L={},L[c]=j+"Date",L[m]=j+"Date",L[d]=j+"Month",L[p]=j+"FullYear",L[u]=j+"Hours",L[o]=j+"Minutes",L[s]=j+"Seconds",L[a]=j+"Milliseconds",L)[N],U=N===c?this.$D+(M-this.$W):M;if(N===d||N===p){var J=this.clone().set(m,1);J.$d[z](U),J.init(),this.$d=J.set(m,Math.min(this.$D,J.daysInMonth())).$d}else z&&this.$d[z](U);return this.init(),this},$.set=function(D,M){return this.clone().$set(D,M)},$.get=function(D){return this[w.p(D)]()},$.add=function(D,M){var L,N=this;D=Number(D);var j=w.p(M),z=function(re){var Y=k(N);return w.w(Y.date(Y.date()+Math.round(re*D)),N)};if(j===d)return this.set(d,this.$M+D);if(j===p)return this.set(p,this.$y+D);if(j===c)return z(1);if(j===l)return z(7);var U=(L={},L[o]=n,L[u]=i,L[s]=r,L)[j]||1,J=this.$d.getTime()+D*U;return w.w(J,this)},$.subtract=function(D,M){return this.add(-1*D,M)},$.format=function(D){var M=this,L=this.$locale();if(!this.isValid())return L.invalidDate||b;var N=D||"YYYY-MM-DDTHH:mm:ssZ",j=w.z(this),z=this.$H,U=this.$m,J=this.$M,re=L.weekdays,Y=L.months,G=function(Ae,Ye,bt,ir){return Ae&&(Ae[Ye]||Ae(M,N))||bt[Ye].slice(0,ir)},K=function(Ae){return w.s(z%12||12,Ae,"0")},X=L.meridiem||function(Ae,Ye,bt){var ir=Ae<12?"AM":"PM";return bt?ir.toLowerCase():ir},se={YY:String(this.$y).slice(-2),YYYY:this.$y,M:J+1,MM:w.s(J+1,2,"0"),MMM:G(L.monthsShort,J,Y,3),MMMM:G(Y,J),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:G(L.weekdaysMin,this.$W,re,2),ddd:G(L.weekdaysShort,this.$W,re,3),dddd:re[this.$W],H:String(z),HH:w.s(z,2,"0"),h:K(1),hh:K(2),a:X(z,U,!0),A:X(z,U,!1),m:String(U),mm:w.s(U,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:j};return N.replace(S,function(Ae,Ye){return Ye||se[Ae]||j.replace(":","")})},$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(D,M,L){var N,j=w.p(M),z=k(D),U=(z.utcOffset()-this.utcOffset())*n,J=this-z,re=w.m(this,z);return re=(N={},N[p]=re/12,N[d]=re,N[f]=re/3,N[l]=(J-U)/6048e5,N[c]=(J-U)/864e5,N[u]=J/i,N[o]=J/n,N[s]=J/r,N)[j]||J,L?re:w.a(re)},$.daysInMonth=function(){return this.endOf(d).$D},$.$locale=function(){return g[this.$L]},$.locale=function(D,M){if(!D)return this.$L;var L=this.clone(),N=P(D,M,!0);return N&&(L.$L=N),L},$.clone=function(){return w.w(this.$d,this)},$.toDate=function(){return new Date(this.valueOf())},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toISOString=function(){return this.$d.toISOString()},$.toString=function(){return this.$d.toUTCString()},E}(),C=A.prototype;return k.prototype=C,[["$ms",a],["$s",s],["$m",o],["$H",u],["$W",c],["$M",d],["$y",p],["$D",m]].forEach(function(E){C[E[1]]=function($){return this.$g($,E[0],E[1])}}),k.extend=function(E,$){return E.$i||(E($,A,k),E.$i=!0),k},k.locale=P,k.isDayjs=T,k.unix=function(E){return k(1e3*E)},k.en=g[v],k.Ls=g,k.p={},k})})(pU);var Rs=pU.exports;const NNe=li(Rs);var mU={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(n,i,a){var s=i.prototype,o=s.format;a.en.formats=r,s.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,l=function(d,f){return d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(p,m,b){var _=b&&b.toUpperCase();return m||f[b]||r[b]||f[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,x,O){return x||O.slice(1)})})}(u,c===void 0?{}:c);return o.call(this,l)}}})})(mU);var nwe=mU.exports;const BNe=li(nwe);var iwe={exports:{}};(function(t,e){(function(r,n){t.exports=n(Rs)})(Oe,function(r){function n(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var i=n(r),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function s(u,c,l){var d=a[l];return Array.isArray(d)&&(d=d[c?0:1]),d.replace("%d",u)}var o={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s}};return i.default.locale(o,null,!0),o})})(iwe);var awe={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")}})})(awe);var swe={exports:{}};(function(t,e){(function(r,n){t.exports=n(Rs)})(Oe,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(s){return s+"º"}};return i.default.locale(a,null,!0),a})})(swe);var owe={exports:{}};(function(t,e){(function(r,n){t.exports=n(Rs)})(Oe,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(s){return""+s+(s===1?"er":"")}};return i.default.locale(a,null,!0),a})})(owe);var uwe={exports:{}};(function(t,e){(function(r,n){t.exports=n(Rs)})(Oe,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(s){return s+"º"}};return i.default.locale(a,null,!0),a})})(uwe);var cwe={exports:{}};(function(t,e){(function(r,n){t.exports=n(Rs)})(Oe,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(s){return"["+s+(s===1||s===8||s>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return i.default.locale(a,null,!0),a})})(cwe);var lwe={exports:{}};(function(t,e){(function(r,n){t.exports=n(Rs)})(Oe,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(s){return s+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return i.default.locale(a,null,!0),a})})(lwe);var dwe={exports:{}};(function(t,e){(function(r,n){t.exports=n(Rs)})(Oe,function(r){function n(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var i=n(r);function a(f){return f%10<5&&f%10>1&&~~(f/10)%10!=1}function s(f,p,m){var b=f+" ";switch(m){case"m":return p?"minuta":"minutę";case"mm":return b+(a(f)?"minuty":"minut");case"h":return p?"godzina":"godzinę";case"hh":return b+(a(f)?"godziny":"godzin");case"MM":return b+(a(f)?"miesiące":"miesięcy");case"yy":return b+(a(f)?"lata":"lat")}}var o="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),u="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),c=/D MMMM/,l=function(f,p){return c.test(p)?o[f.month()]:u[f.month()]};l.s=u,l.f=o;var d={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:l,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(f){return f+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:s,mm:s,h:s,hh:s,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:s,y:"rok",yy:s},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(d,null,!0),d})})(dwe);var fwe={exports:{}};(function(t,e){(function(r,n){t.exports=n(Rs)})(Oe,function(r){function n(m){return m&&typeof m=="object"&&"default"in m?m:{default:m}}var i=n(r),a="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),s="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),o="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),u="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),c=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function l(m,b,_){var S,x;return _==="m"?b?"минута":"минуту":m+" "+(S=+m,x={mm:b?"минута_минуты_минут":"минуту_минуты_минут",hh:"часасаасов",dd:"день_дня_дней",MM:"месяц_месяцаесяцев",yy:"год_годает"}[_].split("_"),S%10==1&&S%100!=11?x[0]:S%10>=2&&S%10<=4&&(S%100<10||S%100>=20)?x[1]:x[2])}var d=function(m,b){return c.test(b)?a[m.month()]:s[m.month()]};d.s=s,d.f=a;var f=function(m,b){return c.test(b)?o[m.month()]:u[m.month()]};f.s=u,f.f=o;var p={name:"ru",weekdays:"воскресенье_понедельник_вторник_средаетверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:d,monthsShort:f,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:l,mm:l,h:"час",hh:l,d:"день",dd:l,M:"месяц",MM:l,y:"год",yy:l},ordinal:function(m){return m},meridiem:function(m){return m<4?"ночи":m<12?"утра":m<17?"дня":"вечера"}};return i.default.locale(p,null,!0),p})})(fwe);var U0={exports:{}};U0.exports;(function(t,e){var r=200,n="__lodash_hash_undefined__",i=9007199254740991,a="[object Arguments]",s="[object Array]",o="[object Boolean]",u="[object Date]",c="[object Error]",l="[object Function]",d="[object GeneratorFunction]",f="[object Map]",p="[object Number]",m="[object Object]",b="[object Promise]",_="[object RegExp]",S="[object Set]",x="[object String]",O="[object Symbol]",h="[object WeakMap]",v="[object ArrayBuffer]",g="[object DataView]",T="[object Float32Array]",P="[object Float64Array]",k="[object Int8Array]",w="[object Int16Array]",A="[object Int32Array]",C="[object Uint8Array]",E="[object Uint8ClampedArray]",$="[object Uint16Array]",D="[object Uint32Array]",M=/[\\^$.*+?()[\]{}|]/g,L=/\w*$/,N=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,z={};z[a]=z[s]=z[v]=z[g]=z[o]=z[u]=z[T]=z[P]=z[k]=z[w]=z[A]=z[f]=z[p]=z[m]=z[_]=z[S]=z[x]=z[O]=z[C]=z[E]=z[$]=z[D]=!0,z[c]=z[l]=z[h]=!1;var U=typeof Oe=="object"&&Oe&&Oe.Object===Object&&Oe,J=typeof self=="object"&&self&&self.Object===Object&&self,re=U||J||Function("return this")(),Y=e&&!e.nodeType&&e,G=Y&&!0&&t&&!t.nodeType&&t,K=G&&G.exports===Y;function X(F,q){return F.set(q[0],q[1]),F}function se(F,q){return F.add(q),F}function Ae(F,q){for(var te=-1,he=F?F.length:0;++te<he&&q(F[te],te,F)!==!1;);return F}function Ye(F,q){for(var te=-1,he=q.length,Zt=F.length;++te<he;)F[Zt+te]=q[te];return F}function bt(F,q,te,he){var Zt=-1,Cr=F?F.length:0;for(he&&Cr&&(te=F[++Zt]);++Zt<Cr;)te=q(te,F[Zt],Zt,F);return te}function ir(F,q){for(var te=-1,he=Array(F);++te<F;)he[te]=q(te);return he}function Hr(F,q){return F==null?void 0:F[q]}function bn(F){var q=!1;if(F!=null&&typeof F.toString!="function")try{q=!!(F+"")}catch{}return q}function oa(F){var q=-1,te=Array(F.size);return F.forEach(function(he,Zt){te[++q]=[Zt,he]}),te}function Ya(F,q){return function(te){return F(q(te))}}function ua(F){var q=-1,te=Array(F.size);return F.forEach(function(he){te[++q]=he}),te}var Xo=Array.prototype,De=Function.prototype,xr=Object.prototype,je=re["__core-js_shared__"],Gr=function(){var F=/[^.]+$/.exec(je&&je.keys&&je.keys.IE_PROTO||"");return F?"Symbol(src)_1."+F:""}(),Qe=De.toString,Pr=xr.hasOwnProperty,Ns=xr.toString,t_=RegExp("^"+Qe.call(Pr).replace(M,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zp=K?re.Buffer:void 0,Qp=re.Symbol,xc=re.Uint8Array,r_=Ya(Object.getPrototypeOf,Object),n_=Object.create,Gd=xr.propertyIsEnumerable,i_=Xo.splice,em=Object.getOwnPropertySymbols,Pc=Zp?Zp.isBuffer:void 0,Wd=Ya(Object.keys,Object),Cc=Vs(re,"DataView"),Bs=Vs(re,"Map"),jn=Vs(re,"Promise"),ca=Vs(re,"Set"),Yd=Vs(re,"WeakMap"),Fs=Vs(Object,"create"),tm=la(Cc),a_=la(Bs),s_=la(jn),o_=la(ca),Kd=la(Yd),js=Qp?Qp.prototype:void 0,Ac=js?js.valueOf:void 0;function yn(F){var q=-1,te=F?F.length:0;for(this.clear();++q<te;){var he=F[q];this.set(he[0],he[1])}}function qd(){this.__data__=Fs?Fs(null):{}}function Jo(F){return this.has(F)&&delete this.__data__[F]}function u_(F){var q=this.__data__;if(Fs){var te=q[F];return te===n?void 0:te}return Pr.call(q,F)?q[F]:void 0}function c_(F){var q=this.__data__;return Fs?q[F]!==void 0:Pr.call(q,F)}function l_(F,q){var te=this.__data__;return te[F]=Fs&&q===void 0?n:q,this}yn.prototype.clear=qd,yn.prototype.delete=Jo,yn.prototype.get=u_,yn.prototype.has=c_,yn.prototype.set=l_;function Ai(F){var q=-1,te=F?F.length:0;for(this.clear();++q<te;){var he=F[q];this.set(he[0],he[1])}}function d_(){this.__data__=[]}function Mc(F){var q=this.__data__,te=$c(q,F);if(te<0)return!1;var he=q.length-1;return te==he?q.pop():i_.call(q,te,1),!0}function Xd(F){var q=this.__data__,te=$c(q,F);return te<0?void 0:q[te][1]}function rm(F){return $c(this.__data__,F)>-1}function Ka(F,q){var te=this.__data__,he=$c(te,F);return he<0?te.push([F,q]):te[he][1]=q,this}Ai.prototype.clear=d_,Ai.prototype.delete=Mc,Ai.prototype.get=Xd,Ai.prototype.has=rm,Ai.prototype.set=Ka;function Hs(F){var q=-1,te=F?F.length:0;for(this.clear();++q<te;){var he=F[q];this.set(he[0],he[1])}}function f_(){this.__data__={hash:new yn,map:new(Bs||Ai),string:new yn}}function h_(F){return Ic(this,F).delete(F)}function p_(F){return Ic(this,F).get(F)}function m_(F){return Ic(this,F).has(F)}function Mi(F,q){return Ic(this,F).set(F,q),this}Hs.prototype.clear=f_,Hs.prototype.delete=h_,Hs.prototype.get=p_,Hs.prototype.has=m_,Hs.prototype.set=Mi;function zs(F){this.__data__=new Ai(F)}function g_(){this.__data__=new Ai}function v_(F){return this.__data__.delete(F)}function b_(F){return this.__data__.get(F)}function y_(F){return this.__data__.has(F)}function $i(F,q){var te=this.__data__;if(te instanceof Ai){var he=te.__data__;if(!Bs||he.length<r-1)return he.push([F,q]),this;te=this.__data__=new Hs(he)}return te.set(F,q),this}zs.prototype.clear=g_,zs.prototype.delete=v_,zs.prototype.get=b_,zs.prototype.has=y_,zs.prototype.set=$i;function __(F,q){var te=Qd(F)||Rc(F)?ir(F.length,String):[],he=te.length,Zt=!!he;for(var Cr in F)(q||Pr.call(F,Cr))&&!(Zt&&(Cr=="length"||L_(Cr,he)))&&te.push(Cr);return te}function nm(F,q,te){var he=F[q];(!(Pr.call(F,q)&&um(he,te))||te===void 0&&!(q in F))&&(F[q]=te)}function $c(F,q){for(var te=F.length;te--;)if(um(F[te][0],q))return te;return-1}function w_(F,q){return F&&Dc(q,tf(q),F)}function Jd(F,q,te,he,Zt,Cr,rn){var Qt;if(he&&(Qt=Cr?he(F,Zt,Cr,rn):he(F)),Qt!==void 0)return Qt;if(!Nc(F))return F;var rf=Qd(F);if(rf){if(Qt=D_(F),!q)return M_(F,Qt)}else{var Us=qa(F),nf=Us==l||Us==d;if(F_(F))return E_(F,q);if(Us==m||Us==a||nf&&!Cr){if(bn(F))return Cr?F:{};if(Qt=I_(nf?{}:F),!q)return $_(F,w_(Qt,F))}else{if(!z[Us])return Cr?F:{};Qt=R_(F,Us,Jd,q)}}rn||(rn=new zs);var Bc=rn.get(F);if(Bc)return Bc;if(rn.set(F,Qt),!rf)var Qo=te?k_(F):tf(F);return Ae(Qo||F,function(Gs,Ws){Qo&&(Ws=Gs,Gs=F[Ws]),nm(Qt,Ws,Jd(Gs,q,te,he,Ws,F,rn))}),Qt}function Zo(F){return Nc(F)?n_(F):{}}function S_(F,q,te){var he=q(F);return Qd(F)?he:Ye(he,te(F))}function O_(F){return Ns.call(F)}function ki(F){if(!Nc(F)||sm(F))return!1;var q=ef(F)||bn(F)?t_:N;return q.test(la(F))}function T_(F){if(!om(F))return Wd(F);var q=[];for(var te in Object(F))Pr.call(F,te)&&te!="constructor"&&q.push(te);return q}function E_(F,q){if(q)return F.slice();var te=new F.constructor(F.length);return F.copy(te),te}function Zd(F){var q=new F.constructor(F.byteLength);return new xc(q).set(new xc(F)),q}function x_(F,q){var te=q?Zd(F.buffer):F.buffer;return new F.constructor(te,F.byteOffset,F.byteLength)}function P_(F,q,te){var he=q?te(oa(F),!0):oa(F);return bt(he,X,new F.constructor)}function C_(F){var q=new F.constructor(F.source,L.exec(F));return q.lastIndex=F.lastIndex,q}function kc(F,q,te){var he=q?te(ua(F),!0):ua(F);return bt(he,se,new F.constructor)}function im(F){return Ac?Object(Ac.call(F)):{}}function A_(F,q){var te=q?Zd(F.buffer):F.buffer;return new F.constructor(te,F.byteOffset,F.length)}function M_(F,q){var te=-1,he=F.length;for(q||(q=Array(he));++te<he;)q[te]=F[te];return q}function Dc(F,q,te,he){te||(te={});for(var Zt=-1,Cr=q.length;++Zt<Cr;){var rn=q[Zt],Qt=he?he(te[rn],F[rn],rn,te,F):void 0;nm(te,rn,Qt===void 0?F[rn]:Qt)}return te}function $_(F,q){return Dc(F,am(F),q)}function k_(F){return S_(F,tf,am)}function Ic(F,q){var te=F.__data__;return N_(q)?te[typeof q=="string"?"string":"hash"]:te.map}function Vs(F,q){var te=Hr(F,q);return ki(te)?te:void 0}var am=em?Ya(em,Object):cm,qa=O_;(Cc&&qa(new Cc(new ArrayBuffer(1)))!=g||Bs&&qa(new Bs)!=f||jn&&qa(jn.resolve())!=b||ca&&qa(new ca)!=S||Yd&&qa(new Yd)!=h)&&(qa=function(F){var q=Ns.call(F),te=q==m?F.constructor:void 0,he=te?la(te):void 0;if(he)switch(he){case tm:return g;case a_:return f;case s_:return b;case o_:return S;case Kd:return h}return q});function D_(F){var q=F.length,te=F.constructor(q);return q&&typeof F[0]=="string"&&Pr.call(F,"index")&&(te.index=F.index,te.input=F.input),te}function I_(F){return typeof F.constructor=="function"&&!om(F)?Zo(r_(F)):{}}function R_(F,q,te,he){var Zt=F.constructor;switch(q){case v:return Zd(F);case o:case u:return new Zt(+F);case g:return x_(F,he);case T:case P:case k:case w:case A:case C:case E:case $:case D:return A_(F,he);case f:return P_(F,he,te);case p:case x:return new Zt(F);case _:return C_(F);case S:return kc(F,he,te);case O:return im(F)}}function L_(F,q){return q=q??i,!!q&&(typeof F=="number"||j.test(F))&&F>-1&&F%1==0&&F<q}function N_(F){var q=typeof F;return q=="string"||q=="number"||q=="symbol"||q=="boolean"?F!=="__proto__":F===null}function sm(F){return!!Gr&&Gr in F}function om(F){var q=F&&F.constructor,te=typeof q=="function"&&q.prototype||xr;return F===te}function la(F){if(F!=null){try{return Qe.call(F)}catch{}try{return F+""}catch{}}return""}function B_(F){return Jd(F,!0,!0)}function um(F,q){return F===q||F!==F&&q!==q}function Rc(F){return da(F)&&Pr.call(F,"callee")&&(!Gd.call(F,"callee")||Ns.call(F)==a)}var Qd=Array.isArray;function Xa(F){return F!=null&&Lc(F.length)&&!ef(F)}function da(F){return j_(F)&&Xa(F)}var F_=Pc||lm;function ef(F){var q=Nc(F)?Ns.call(F):"";return q==l||q==d}function Lc(F){return typeof F=="number"&&F>-1&&F%1==0&&F<=i}function Nc(F){var q=typeof F;return!!F&&(q=="object"||q=="function")}function j_(F){return!!F&&typeof F=="object"}function tf(F){return Xa(F)?__(F):T_(F)}function cm(){return[]}function lm(){return!1}t.exports=B_})(U0,U0.exports);U0.exports;var gU={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,a,s){var o,u=function(f,p,m){m===void 0&&(m={});var b=new Date(f),_=function(S,x){x===void 0&&(x={});var O=x.timeZoneName||"short",h=S+"|"+O,v=n[h];return v||(v=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:S,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:O}),n[h]=v),v}(p,m);return _.formatToParts(b)},c=function(f,p){for(var m=u(f,p),b=[],_=0;_<m.length;_+=1){var S=m[_],x=S.type,O=S.value,h=r[x];h>=0&&(b[h]=parseInt(O,10))}var v=b[3],g=v===24?0:v,T=b[0]+"-"+b[1]+"-"+b[2]+" "+g+":"+b[4]+":"+b[5]+":000",P=+f;return(s.utc(T).valueOf()-(P-=P%1e3))/6e4},l=a.prototype;l.tz=function(f,p){f===void 0&&(f=o);var m=this.utcOffset(),b=this.toDate(),_=b.toLocaleString("en-US",{timeZone:f}),S=Math.round((b-new Date(_))/1e3/60),x=s(_).$set("millisecond",this.$ms).utcOffset(15*-Math.round(b.getTimezoneOffset()/15)-S,!0);if(p){var O=x.utcOffset();x=x.add(m-O,"minute")}return x.$x.$timezone=f,x},l.offsetName=function(f){var p=this.$x.$timezone||s.tz.guess(),m=u(this.valueOf(),p,{timeZoneName:f}).find(function(b){return b.type.toLowerCase()==="timezonename"});return m&&m.value};var d=l.startOf;l.startOf=function(f,p){if(!this.$x||!this.$x.$timezone)return d.call(this,f,p);var m=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return d.call(m,f,p).tz(this.$x.$timezone,!0)},s.tz=function(f,p,m){var b=m&&p,_=m||p||o,S=c(+s(),_);if(typeof f!="string")return s(f).tz(_);var x=function(g,T,P){var k=g-60*T*1e3,w=c(k,P);if(T===w)return[k,T];var A=c(k-=60*(w-T)*1e3,P);return w===A?[k,w]:[g-60*Math.min(w,A)*1e3,Math.max(w,A)]}(s.utc(f,b).valueOf(),S,_),O=x[0],h=x[1],v=s(O).utcOffset(h);return v.$x.$timezone=_,v},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(f){o=f}}})})(gU);var hwe=gU.exports;const FNe=li(hwe);var vU={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,s,o){var u=s.prototype;o.utc=function(b){var _={date:b,utc:!0,args:arguments};return new s(_)},u.utc=function(b){var _=o(this.toDate(),{locale:this.$L,utc:!0});return b?_.add(this.utcOffset(),r):_},u.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(b){b.utc&&(this.$u=!0),this.$utils().u(b.$offset)||(this.$offset=b.$offset),c.call(this,b)};var l=u.init;u.init=function(){if(this.$u){var b=this.$d;this.$y=b.getUTCFullYear(),this.$M=b.getUTCMonth(),this.$D=b.getUTCDate(),this.$W=b.getUTCDay(),this.$H=b.getUTCHours(),this.$m=b.getUTCMinutes(),this.$s=b.getUTCSeconds(),this.$ms=b.getUTCMilliseconds()}else l.call(this)};var d=u.utcOffset;u.utcOffset=function(b,_){var S=this.$utils().u;if(S(b))return this.$u?0:S(this.$offset)?d.call(this):this.$offset;if(typeof b=="string"&&(b=function(v){v===void 0&&(v="");var g=v.match(n);if(!g)return null;var T=(""+g[0]).match(i)||["-",0,0],P=T[0],k=60*+T[1]+ +T[2];return k===0?0:P==="+"?k:-k}(b),b===null))return this;var x=Math.abs(b)<=16?60*b:b,O=this;if(_)return O.$offset=x,O.$u=b===0,O;if(b!==0){var h=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(O=this.local().add(x+h,r)).$offset=x,O.$x.$localOffset=h}else O=this.utc();return O};var f=u.format;u.format=function(b){var _=b||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,_)},u.valueOf=function(){var b=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*b},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var p=u.toDate;u.toDate=function(b){return b==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var m=u.diff;u.diff=function(b,_,S){if(b&&this.$u===b.$u)return m.call(this,b,_,S);var x=this.local(),O=o(b).local();return m.call(x,O,_,S)}}})})(vU);var pwe=vU.exports;const jNe=li(pwe);/*!
* @kurkle/color v0.3.2
* https://github.com/kurkle/color#readme
* (c) 2023 Jukka Kurkela
* Released under the MIT License
*/function Vp(t){return t+.5|0}const ho=(t,e,r)=>Math.max(Math.min(t,r),e);function ih(t){return ho(Vp(t*2.55),0,255)}function Po(t){return ho(Vp(t*255),0,255)}function cs(t){return ho(Vp(t/2.55)/100,0,1)}function NR(t){return ho(Vp(t*100),0,100)}const gi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},tT=[..."0123456789ABCDEF"],mwe=t=>tT[t&15],gwe=t=>tT[(t&240)>>4]+tT[t&15],ig=t=>(t&240)>>4===(t&15),vwe=t=>ig(t.r)&&ig(t.g)&&ig(t.b)&&ig(t.a);function bwe(t){var e=t.length,r;return t[0]==="#"&&(e===4||e===5?r={r:255&gi[t[1]]*17,g:255&gi[t[2]]*17,b:255&gi[t[3]]*17,a:e===5?gi[t[4]]*17:255}:(e===7||e===9)&&(r={r:gi[t[1]]<<4|gi[t[2]],g:gi[t[3]]<<4|gi[t[4]],b:gi[t[5]]<<4|gi[t[6]],a:e===9?gi[t[7]]<<4|gi[t[8]]:255})),r}const ywe=(t,e)=>t<255?e(t):"";function _we(t){var e=vwe(t)?mwe:gwe;return t?"#"+e(t.r)+e(t.g)+e(t.b)+ywe(t.a,e):void 0}const wwe=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function bU(t,e,r){const n=e*Math.min(r,1-r),i=(a,s=(a+t/30)%12)=>r-n*Math.max(Math.min(s-3,9-s,1),-1);return[i(0),i(8),i(4)]}function Swe(t,e,r){const n=(i,a=(i+t/60)%6)=>r-r*e*Math.max(Math.min(a,4-a,1),0);return[n(5),n(3),n(1)]}function Owe(t,e,r){const n=bU(t,1,.5);let i;for(e+r>1&&(i=1/(e+r),e*=i,r*=i),i=0;i<3;i++)n[i]*=1-e-r,n[i]+=e;return n}function Twe(t,e,r,n,i){return t===i?(e-r)/n+(e<r?6:0):e===i?(r-t)/n+2:(t-e)/n+4}function AP(t){const r=t.r/255,n=t.g/255,i=t.b/255,a=Math.max(r,n,i),s=Math.min(r,n,i),o=(a+s)/2;let u,c,l;return a!==s&&(l=a-s,c=o>.5?l/(2-a-s):l/(a+s),u=Twe(r,n,i,l,a),u=u*60+.5),[u|0,c||0,o]}function MP(t,e,r,n){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,r,n)).map(Po)}function $P(t,e,r){return MP(bU,t,e,r)}function Ewe(t,e,r){return MP(Owe,t,e,r)}function xwe(t,e,r){return MP(Swe,t,e,r)}function yU(t){return(t%360+360)%360}function Pwe(t){const e=wwe.exec(t);let r=255,n;if(!e)return;e[5]!==n&&(r=e[6]?ih(+e[5]):Po(+e[5]));const i=yU(+e[2]),a=+e[3]/100,s=+e[4]/100;return e[1]==="hwb"?n=Ewe(i,a,s):e[1]==="hsv"?n=xwe(i,a,s):n=$P(i,a,s),{r:n[0],g:n[1],b:n[2],a:r}}function Cwe(t,e){var r=AP(t);r[0]=yU(r[0]+e),r=$P(r),t.r=r[0],t.g=r[1],t.b=r[2]}function Awe(t){if(!t)return;const e=AP(t),r=e[0],n=NR(e[1]),i=NR(e[2]);return t.a<255?`hsla(${r}, ${n}%, ${i}%, ${cs(t.a)})`:`hsl(${r}, ${n}%, ${i}%)`}const BR={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},FR={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Mwe(){const t={},e=Object.keys(FR),r=Object.keys(BR);let n,i,a,s,o;for(n=0;n<e.length;n++){for(s=o=e[n],i=0;i<r.length;i++)a=r[i],o=o.replace(a,BR[a]);a=parseInt(FR[s],16),t[o]=[a>>16&255,a>>8&255,a&255]}return t}let ag;function $we(t){ag||(ag=Mwe(),ag.transparent=[0,0,0,0]);const e=ag[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const kwe=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Dwe(t){const e=kwe.exec(t);let r=255,n,i,a;if(e){if(e[7]!==n){const s=+e[7];r=e[8]?ih(s):ho(s*255,0,255)}return n=+e[1],i=+e[3],a=+e[5],n=255&(e[2]?ih(n):ho(n,0,255)),i=255&(e[4]?ih(i):ho(i,0,255)),a=255&(e[6]?ih(a):ho(a,0,255)),{r:n,g:i,b:a,a:r}}}function Iwe(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${cs(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const h1=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,rl=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Rwe(t,e,r){const n=rl(cs(t.r)),i=rl(cs(t.g)),a=rl(cs(t.b));return{r:Po(h1(n+r*(rl(cs(e.r))-n))),g:Po(h1(i+r*(rl(cs(e.g))-i))),b:Po(h1(a+r*(rl(cs(e.b))-a))),a:t.a+r*(e.a-t.a)}}function sg(t,e,r){if(t){let n=AP(t);n[e]=Math.max(0,Math.min(n[e]+n[e]*r,e===0?360:1)),n=$P(n),t.r=n[0],t.g=n[1],t.b=n[2]}}function _U(t,e){return t&&Object.assign(e||{},t)}function jR(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Po(t[3]))):(e=_U(t,{r:0,g:0,b:0,a:1}),e.a=Po(e.a)),e}function Lwe(t){return t.charAt(0)==="r"?Dwe(t):Pwe(t)}class sp{constructor(e){if(e instanceof sp)return e;const r=typeof e;let n;r==="object"?n=jR(e):r==="string"&&(n=bwe(e)||$we(e)||Lwe(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=_U(this._rgb);return e&&(e.a=cs(e.a)),e}set rgb(e){this._rgb=jR(e)}rgbString(){return this._valid?Iwe(this._rgb):void 0}hexString(){return this._valid?_we(this._rgb):void 0}hslString(){return this._valid?Awe(this._rgb):void 0}mix(e,r){if(e){const n=this.rgb,i=e.rgb;let a;const s=r===a?.5:r,o=2*s-1,u=n.a-i.a,c=((o*u===-1?o:(o+u)/(1+o*u))+1)/2;a=1-c,n.r=255&c*n.r+a*i.r+.5,n.g=255&c*n.g+a*i.g+.5,n.b=255&c*n.b+a*i.b+.5,n.a=s*n.a+(1-s)*i.a,this.rgb=n}return this}interpolate(e,r){return e&&(this._rgb=Rwe(this._rgb,e._rgb,r)),this}clone(){return new sp(this.rgb)}alpha(e){return this._rgb.a=Po(e),this}clearer(e){const r=this._rgb;return r.a*=1-e,this}greyscale(){const e=this._rgb,r=Vp(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=r,this}opaquer(e){const r=this._rgb;return r.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return sg(this._rgb,2,e),this}darken(e){return sg(this._rgb,2,-e),this}saturate(e){return sg(this._rgb,1,e),this}desaturate(e){return sg(this._rgb,1,-e),this}rotate(e){return Cwe(this._rgb,e),this}}/*!
* Chart.js v4.3.3
* https://www.chartjs.org
* (c) 2023 Chart.js Contributors
* Released under the MIT License
*/function es(){}const Nwe=(()=>{let t=0;return()=>t++})();function nt(t){return t===null||typeof t>"u"}function Dt(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function Xe(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function er(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Gn(t,e){return er(t)?t:e}function Le(t,e){return typeof t>"u"?e:t}const Bwe=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,wU=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function At(t,e,r){if(t&&typeof t.call=="function")return t.apply(r,e)}function gt(t,e,r,n){let i,a,s;if(Dt(t))if(a=t.length,n)for(i=a-1;i>=0;i--)e.call(r,t[i],i);else for(i=0;i<a;i++)e.call(r,t[i],i);else if(Xe(t))for(s=Object.keys(t),a=s.length,i=0;i<a;i++)e.call(r,t[s[i]],s[i])}function G0(t,e){let r,n,i,a;if(!t||!e||t.length!==e.length)return!1;for(r=0,n=t.length;r<n;++r)if(i=t[r],a=e[r],i.datasetIndex!==a.datasetIndex||i.index!==a.index)return!1;return!0}function W0(t){if(Dt(t))return t.map(W0);if(Xe(t)){const e=Object.create(null),r=Object.keys(t),n=r.length;let i=0;for(;i<n;++i)e[r[i]]=W0(t[r[i]]);return e}return t}function SU(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function Fwe(t,e,r,n){if(!SU(t))return;const i=e[t],a=r[t];Xe(i)&&Xe(a)?op(i,a,n):e[t]=W0(a)}function op(t,e,r){const n=Dt(e)?e:[e],i=n.length;if(!Xe(t))return t;r=r||{};const a=r.merger||Fwe;let s;for(let o=0;o<i;++o){if(s=n[o],!Xe(s))continue;const u=Object.keys(s);for(let c=0,l=u.length;c<l;++c)a(u[c],t,s,r)}return t}function Ch(t,e){return op(t,e,{merger:jwe})}function jwe(t,e,r){if(!SU(t))return;const n=e[t],i=r[t];Xe(n)&&Xe(i)?Ch(n,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=W0(i))}const HR={"":t=>t,x:t=>t.x,y:t=>t.y};function Hwe(t){const e=t.split("."),r=[];let n="";for(const i of e)n+=i,n.endsWith("\\")?n=n.slice(0,-1)+".":(r.push(n),n="");return r}function zwe(t){const e=Hwe(t);return r=>{for(const n of e){if(n==="")break;r=r&&r[n]}return r}}function Bo(t,e){return(HR[e]||(HR[e]=zwe(e)))(t)}function kP(t){return t.charAt(0).toUpperCase()+t.slice(1)}const up=t=>typeof t<"u",Fo=t=>typeof t=="function",zR=(t,e)=>{if(t.size!==e.size)return!1;for(const r of t)if(!e.has(r))return!1;return!0};function Vwe(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const zt=Math.PI,It=2*zt,Uwe=It+zt,Y0=Number.POSITIVE_INFINITY,Gwe=zt/180,tr=zt/2,cu=zt/4,VR=zt*2/3,po=Math.log10,La=Math.sign;function Ah(t,e,r){return Math.abs(t-e)<r}function UR(t){const e=Math.round(t);t=Ah(t,e,t/1e3)?e:t;const r=Math.pow(10,Math.floor(po(t))),n=t/r;return(n<=1?1:n<=2?2:n<=5?5:10)*r}function Wwe(t){const e=[],r=Math.sqrt(t);let n;for(n=1;n<r;n++)t%n===0&&(e.push(n),e.push(t/n));return r===(r|0)&&e.push(r),e.sort((i,a)=>i-a).pop(),e}function gd(t){return!isNaN(parseFloat(t))&&isFinite(t)}function Ywe(t,e){const r=Math.round(t);return r-e<=t&&r+e>=t}function OU(t,e,r){let n,i,a;for(n=0,i=t.length;n<i;n++)a=t[n][r],isNaN(a)||(e.min=Math.min(e.min,a),e.max=Math.max(e.max,a))}function Bi(t){return t*(zt/180)}function DP(t){return t*(180/zt)}function GR(t){if(!er(t))return;let e=1,r=0;for(;Math.round(t*e)/e!==t;)e*=10,r++;return r}function TU(t,e){const r=e.x-t.x,n=e.y-t.y,i=Math.sqrt(r*r+n*n);let a=Math.atan2(n,r);return a<-.5*zt&&(a+=It),{angle:a,distance:i}}function rT(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Kwe(t,e){return(t-e+Uwe)%It-zt}function qn(t){return(t%It+It)%It}function cp(t,e,r,n){const i=qn(t),a=qn(e),s=qn(r),o=qn(a-i),u=qn(s-i),c=qn(i-a),l=qn(i-s);return i===a||i===s||n&&a===s||o>u&&c<l}function Rr(t,e,r){return Math.max(e,Math.min(r,t))}function qwe(t){return Rr(t,-32768,32767)}function bs(t,e,r,n=1e-6){return t>=Math.min(e,r)-n&&t<=Math.max(e,r)+n}function IP(t,e,r){r=r||(s=>t[s]<e);let n=t.length-1,i=0,a;for(;n-i>1;)a=i+n>>1,r(a)?i=a:n=a;return{lo:i,hi:n}}const ys=(t,e,r,n)=>IP(t,r,n?i=>{const a=t[i][e];return a<r||a===r&&t[i+1][e]===r}:i=>t[i][e]<r),Xwe=(t,e,r)=>IP(t,r,n=>t[n][e]>=r);function Jwe(t,e,r){let n=0,i=t.length;for(;n<i&&t[n]<e;)n++;for(;i>n&&t[i-1]>r;)i--;return n>0||i<t.length?t.slice(n,i):t}const EU=["push","pop","shift","splice","unshift"];function Zwe(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),EU.forEach(r=>{const n="_onData"+kP(r),i=t[r];Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value(...a){const s=i.apply(this,a);return t._chartjs.listeners.forEach(o=>{typeof o[n]=="function"&&o[n](...a)}),s}})})}function WR(t,e){const r=t._chartjs;if(!r)return;const n=r.listeners,i=n.indexOf(e);i!==-1&&n.splice(i,1),!(n.length>0)&&(EU.forEach(a=>{delete t[a]}),delete t._chartjs)}function xU(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const PU=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function CU(t,e){let r=[],n=!1;return function(...i){r=i,n||(n=!0,PU.call(window,()=>{n=!1,t.apply(e,r)}))}}function Qwe(t,e){let r;return function(...n){return e?(clearTimeout(r),r=setTimeout(t,e,n)):t.apply(this,n),e}}const RP=t=>t==="start"?"left":t==="end"?"right":"center",Wr=(t,e,r)=>t==="start"?e:t==="end"?r:(e+r)/2,e1e=(t,e,r,n)=>t===(n?"left":"right")?r:t==="center"?(e+r)/2:e;function AU(t,e,r){const n=e.length;let i=0,a=n;if(t._sorted){const{iScale:s,_parsed:o}=t,u=s.axis,{min:c,max:l,minDefined:d,maxDefined:f}=s.getUserBounds();d&&(i=Rr(Math.min(ys(o,u,c).lo,r?n:ys(e,u,s.getPixelForValue(c)).lo),0,n-1)),f?a=Rr(Math.max(ys(o,s.axis,l,!0).hi+1,r?0:ys(e,u,s.getPixelForValue(l),!0).hi+1),i,n)-i:a=n-i}return{start:i,count:a}}function MU(t){const{xScale:e,yScale:r,_scaleRanges:n}=t,i={xmin:e.min,xmax:e.max,ymin:r.min,ymax:r.max};if(!n)return t._scaleRanges=i,!0;const a=n.xmin!==e.min||n.xmax!==e.max||n.ymin!==r.min||n.ymax!==r.max;return Object.assign(n,i),a}const og=t=>t===0||t===1,YR=(t,e,r)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*It/r)),KR=(t,e,r)=>Math.pow(2,-10*t)*Math.sin((t-e)*It/r)+1,Mh={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*tr)+1,easeOutSine:t=>Math.sin(t*tr),easeInOutSine:t=>-.5*(Math.cos(zt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>og(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>og(t)?t:YR(t,.075,.3),easeOutElastic:t=>og(t)?t:KR(t,.075,.3),easeInOutElastic(t){return og(t)?t:t<.5?.5*YR(t*2,.1125,.45):.5+.5*KR(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Mh.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Mh.easeInBounce(t*2)*.5:Mh.easeOutBounce(t*2-1)*.5+.5};function LP(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function qR(t){return LP(t)?t:new sp(t)}function p1(t){return LP(t)?t:new sp(t).saturate(.5).darken(.1).hexString()}const t1e=["x","y","borderWidth","radius","tension"],r1e=["color","borderColor","backgroundColor"];function n1e(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:r1e},numbers:{type:"number",properties:t1e}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function i1e(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const XR=new Map;function a1e(t,e){e=e||{};const r=t+JSON.stringify(e);let n=XR.get(r);return n||(n=new Intl.NumberFormat(t,e),XR.set(r,n)),n}function Up(t,e,r){return a1e(e,r).format(t)}const $U={values(t){return Dt(t)?t:""+t},numeric(t,e,r){if(t===0)return"0";const n=this.chart.options.locale;let i,a=t;if(r.length>1){const c=Math.max(Math.abs(r[0].value),Math.abs(r[r.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),a=s1e(t,r)}const s=po(Math.abs(a)),o=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),u={notation:i,minimumFractionDigits:o,maximumFractionDigits:o};return Object.assign(u,this.options.ticks.format),Up(t,n,u)},logarithmic(t,e,r){if(t===0)return"0";const n=r[e].significand||t/Math.pow(10,Math.floor(po(t)));return[1,2,3,5,10,15].includes(n)||e>.8*r.length?$U.numeric.call(this,t,e,r):""}};function s1e(t,e){let r=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(r)>=1&&t!==Math.floor(t)&&(r=t-Math.floor(t)),r}var xy={formatters:$U};function o1e(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,r)=>r.lineWidth,tickColor:(e,r)=>r.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:xy.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const ic=Object.create(null),nT=Object.create(null);function $h(t,e){if(!e)return t;const r=e.split(".");for(let n=0,i=r.length;n<i;++n){const a=r[n];t=t[a]||(t[a]=Object.create(null))}return t}function m1(t,e,r){return typeof e=="string"?op($h(t,e),r):op($h(t,""),e)}class u1e{constructor(e,r){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=n=>n.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,i)=>p1(i.backgroundColor),this.hoverBorderColor=(n,i)=>p1(i.borderColor),this.hoverColor=(n,i)=>p1(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(r)}set(e,r){return m1(this,e,r)}get(e){return $h(this,e)}describe(e,r){return m1(nT,e,r)}override(e,r){return m1(ic,e,r)}route(e,r,n,i){const a=$h(this,e),s=$h(this,n),o="_"+r;Object.defineProperties(a,{[o]:{value:a[r],writable:!0},[r]:{enumerable:!0,get(){const u=this[o],c=s[i];return Xe(u)?Object.assign({},c,u):Le(u,c)},set(u){this[o]=u}}})}apply(e){e.forEach(r=>r(this))}}var rr=new u1e({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[n1e,i1e,o1e]);function c1e(t){return!t||nt(t.size)||nt(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function K0(t,e,r,n,i){let a=e[i];return a||(a=e[i]=t.measureText(i).width,r.push(i)),a>n&&(n=a),n}function l1e(t,e,r,n){n=n||{};let i=n.data=n.data||{},a=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(i=n.data={},a=n.garbageCollect=[],n.font=e),t.save(),t.font=e;let s=0;const o=r.length;let u,c,l,d,f;for(u=0;u<o;u++)if(d=r[u],d!=null&&!Dt(d))s=K0(t,i,a,s,d);else if(Dt(d))for(c=0,l=d.length;c<l;c++)f=d[c],f!=null&&!Dt(f)&&(s=K0(t,i,a,s,f));t.restore();const p=a.length/2;if(p>r.length){for(u=0;u<p;u++)delete i[a[u]];a.splice(0,p)}return s}function lu(t,e,r){const n=t.currentDevicePixelRatio,i=r!==0?Math.max(r/2,.5):0;return Math.round((e-i)*n)/n+i}function JR(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function iT(t,e,r,n){kU(t,e,r,n,null)}function kU(t,e,r,n,i){let a,s,o,u,c,l,d,f;const p=e.pointStyle,m=e.rotation,b=e.radius;let _=(m||0)*Gwe;if(p&&typeof p=="object"&&(a=p.toString(),a==="[object HTMLImageElement]"||a==="[object HTMLCanvasElement]")){t.save(),t.translate(r,n),t.rotate(_),t.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),t.restore();return}if(!(isNaN(b)||b<=0)){switch(t.beginPath(),p){default:i?t.ellipse(r,n,i/2,b,0,0,It):t.arc(r,n,b,0,It),t.closePath();break;case"triangle":l=i?i/2:b,t.moveTo(r+Math.sin(_)*l,n-Math.cos(_)*b),_+=VR,t.lineTo(r+Math.sin(_)*l,n-Math.cos(_)*b),_+=VR,t.lineTo(r+Math.sin(_)*l,n-Math.cos(_)*b),t.closePath();break;case"rectRounded":c=b*.516,u=b-c,s=Math.cos(_+cu)*u,d=Math.cos(_+cu)*(i?i/2-c:u),o=Math.sin(_+cu)*u,f=Math.sin(_+cu)*(i?i/2-c:u),t.arc(r-d,n-o,c,_-zt,_-tr),t.arc(r+f,n-s,c,_-tr,_),t.arc(r+d,n+o,c,_,_+tr),t.arc(r-f,n+s,c,_+tr,_+zt),t.closePath();break;case"rect":if(!m){u=Math.SQRT1_2*b,l=i?i/2:u,t.rect(r-l,n-u,2*l,2*u);break}_+=cu;case"rectRot":d=Math.cos(_)*(i?i/2:b),s=Math.cos(_)*b,o=Math.sin(_)*b,f=Math.sin(_)*(i?i/2:b),t.moveTo(r-d,n-o),t.lineTo(r+f,n-s),t.lineTo(r+d,n+o),t.lineTo(r-f,n+s),t.closePath();break;case"crossRot":_+=cu;case"cross":d=Math.cos(_)*(i?i/2:b),s=Math.cos(_)*b,o=Math.sin(_)*b,f=Math.sin(_)*(i?i/2:b),t.moveTo(r-d,n-o),t.lineTo(r+d,n+o),t.moveTo(r+f,n-s),t.lineTo(r-f,n+s);break;case"star":d=Math.cos(_)*(i?i/2:b),s=Math.cos(_)*b,o=Math.sin(_)*b,f=Math.sin(_)*(i?i/2:b),t.moveTo(r-d,n-o),t.lineTo(r+d,n+o),t.moveTo(r+f,n-s),t.lineTo(r-f,n+s),_+=cu,d=Math.cos(_)*(i?i/2:b),s=Math.cos(_)*b,o=Math.sin(_)*b,f=Math.sin(_)*(i?i/2:b),t.moveTo(r-d,n-o),t.lineTo(r+d,n+o),t.moveTo(r+f,n-s),t.lineTo(r-f,n+s);break;case"line":s=i?i/2:Math.cos(_)*b,o=Math.sin(_)*b,t.moveTo(r-s,n-o),t.lineTo(r+s,n+o);break;case"dash":t.moveTo(r,n),t.lineTo(r+Math.cos(_)*(i?i/2:b),n+Math.sin(_)*b);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function _s(t,e,r){return r=r||.5,!e||t&&t.x>e.left-r&&t.x<e.right+r&&t.y>e.top-r&&t.y<e.bottom+r}function Py(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Cy(t){t.restore()}function d1e(t,e,r,n,i){if(!e)return t.lineTo(r.x,r.y);if(i==="middle"){const a=(e.x+r.x)/2;t.lineTo(a,e.y),t.lineTo(a,r.y)}else i==="after"!=!!n?t.lineTo(e.x,r.y):t.lineTo(r.x,e.y);t.lineTo(r.x,r.y)}function f1e(t,e,r,n){if(!e)return t.lineTo(r.x,r.y);t.bezierCurveTo(n?e.cp1x:e.cp2x,n?e.cp1y:e.cp2y,n?r.cp2x:r.cp1x,n?r.cp2y:r.cp1y,r.x,r.y)}function h1e(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),nt(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function p1e(t,e,r,n,i){if(i.strikethrough||i.underline){const a=t.measureText(n),s=e-a.actualBoundingBoxLeft,o=e+a.actualBoundingBoxRight,u=r-a.actualBoundingBoxAscent,c=r+a.actualBoundingBoxDescent,l=i.strikethrough?(u+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(s,l),t.lineTo(o,l),t.stroke()}}function m1e(t,e){const r=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=r}function ac(t,e,r,n,i,a={}){const s=Dt(e)?e:[e],o=a.strokeWidth>0&&a.strokeColor!=="";let u,c;for(t.save(),t.font=i.string,h1e(t,a),u=0;u<s.length;++u)c=s[u],a.backdrop&&m1e(t,a.backdrop),o&&(a.strokeColor&&(t.strokeStyle=a.strokeColor),nt(a.strokeWidth)||(t.lineWidth=a.strokeWidth),t.strokeText(c,r,n,a.maxWidth)),t.fillText(c,r,n,a.maxWidth),p1e(t,r,n,c,a),n+=Number(i.lineHeight);t.restore()}function lp(t,e){const{x:r,y:n,w:i,h:a,radius:s}=e;t.arc(r+s.topLeft,n+s.topLeft,s.topLeft,-tr,zt,!0),t.lineTo(r,n+a-s.bottomLeft),t.arc(r+s.bottomLeft,n+a-s.bottomLeft,s.bottomLeft,zt,tr,!0),t.lineTo(r+i-s.bottomRight,n+a),t.arc(r+i-s.bottomRight,n+a-s.bottomRight,s.bottomRight,tr,0,!0),t.lineTo(r+i,n+s.topRight),t.arc(r+i-s.topRight,n+s.topRight,s.topRight,0,-tr,!0),t.lineTo(r+s.topLeft,n)}const g1e=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,v1e=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function b1e(t,e){const r=(""+t).match(g1e);if(!r||r[1]==="normal")return e*1.2;switch(t=+r[2],r[3]){case"px":return t;case"%":t/=100;break}return e*t}const y1e=t=>+t||0;function NP(t,e){const r={},n=Xe(e),i=n?Object.keys(e):e,a=Xe(t)?n?s=>Le(t[s],t[e[s]]):s=>t[s]:()=>t;for(const s of i)r[s]=y1e(a(s));return r}function DU(t){return NP(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Lu(t){return NP(t,["topLeft","topRight","bottomLeft","bottomRight"])}function tn(t){const e=DU(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Sr(t,e){t=t||{},e=e||rr.font;let r=Le(t.size,e.size);typeof r=="string"&&(r=parseInt(r,10));let n=Le(t.style,e.style);n&&!(""+n).match(v1e)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const i={family:Le(t.family,e.family),lineHeight:b1e(Le(t.lineHeight,e.lineHeight),r),size:r,style:n,weight:Le(t.weight,e.weight),string:""};return i.string=c1e(i),i}function ah(t,e,r,n){let i=!0,a,s,o;for(a=0,s=t.length;a<s;++a)if(o=t[a],o!==void 0&&(e!==void 0&&typeof o=="function"&&(o=o(e),i=!1),r!==void 0&&Dt(o)&&(o=o[r%o.length],i=!1),o!==void 0))return n&&!i&&(n.cacheable=!1),o}function _1e(t,e,r){const{min:n,max:i}=t,a=wU(e,(i-n)/2),s=(o,u)=>r&&o===0?0:o+u;return{min:s(n,-Math.abs(a)),max:s(i,a)}}function Yo(t,e){return Object.assign(Object.create(t),e)}function BP(t,e=[""],r,n,i=()=>t[0]){const a=r||t;typeof n>"u"&&(n=NU("_fallback",t));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:a,_fallback:n,_getTarget:i,override:o=>BP([o,...t],e,a,n)};return new Proxy(s,{deleteProperty(o,u){return delete o[u],delete o._keys,delete t[0][u],!0},get(o,u){return RU(o,u,()=>C1e(u,e,t,o))},getOwnPropertyDescriptor(o,u){return Reflect.getOwnPropertyDescriptor(o._scopes[0],u)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(o,u){return QR(o).includes(u)},ownKeys(o){return QR(o)},set(o,u,c){const l=o._storage||(o._storage=i());return o[u]=l[u]=c,delete o._keys,!0}})}function vd(t,e,r,n){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:r,_stack:new Set,_descriptors:IU(t,n),setContext:a=>vd(t,a,r,n),override:a=>vd(t.override(a),e,r,n)};return new Proxy(i,{deleteProperty(a,s){return delete a[s],delete t[s],!0},get(a,s,o){return RU(a,s,()=>S1e(a,s,o))},getOwnPropertyDescriptor(a,s){return a._descriptors.allKeys?Reflect.has(t,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,s)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(a,s){return Reflect.has(t,s)},ownKeys(){return Reflect.ownKeys(t)},set(a,s,o){return t[s]=o,delete a[s],!0}})}function IU(t,e={scriptable:!0,indexable:!0}){const{_scriptable:r=e.scriptable,_indexable:n=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:r,indexable:n,isScriptable:Fo(r)?r:()=>r,isIndexable:Fo(n)?n:()=>n}}const w1e=(t,e)=>t?t+kP(e):e,FP=(t,e)=>Xe(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function RU(t,e,r){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const n=r();return t[e]=n,n}function S1e(t,e,r){const{_proxy:n,_context:i,_subProxy:a,_descriptors:s}=t;let o=n[e];return Fo(o)&&s.isScriptable(e)&&(o=O1e(e,o,t,r)),Dt(o)&&o.length&&(o=T1e(e,o,t,s.isIndexable)),FP(e,o)&&(o=vd(o,i,a&&a[e],s)),o}function O1e(t,e,r,n){const{_proxy:i,_context:a,_subProxy:s,_stack:o}=r;if(o.has(t))throw new Error("Recursion detected: "+Array.from(o).join("->")+"->"+t);o.add(t);let u=e(a,s||n);return o.delete(t),FP(t,u)&&(u=jP(i._scopes,i,t,u)),u}function T1e(t,e,r,n){const{_proxy:i,_context:a,_subProxy:s,_descriptors:o}=r;if(typeof a.index<"u"&&n(t))return e[a.index%e.length];if(Xe(e[0])){const u=e,c=i._scopes.filter(l=>l!==u);e=[];for(const l of u){const d=jP(c,i,t,l);e.push(vd(d,a,s&&s[t],o))}}return e}function LU(t,e,r){return Fo(t)?t(e,r):t}const E1e=(t,e)=>t===!0?e:typeof t=="string"?Bo(e,t):void 0;function x1e(t,e,r,n,i){for(const a of e){const s=E1e(r,a);if(s){t.add(s);const o=LU(s._fallback,r,i);if(typeof o<"u"&&o!==r&&o!==n)return o}else if(s===!1&&typeof n<"u"&&r!==n)return null}return!1}function jP(t,e,r,n){const i=e._rootScopes,a=LU(e._fallback,r,n),s=[...t,...i],o=new Set;o.add(n);let u=ZR(o,s,r,a||r,n);return u===null||typeof a<"u"&&a!==r&&(u=ZR(o,s,a,u,n),u===null)?!1:BP(Array.from(o),[""],i,a,()=>P1e(e,r,n))}function ZR(t,e,r,n,i){for(;r;)r=x1e(t,e,r,n,i);return r}function P1e(t,e,r){const n=t._getTarget();e in n||(n[e]={});const i=n[e];return Dt(i)&&Xe(r)?r:i||{}}function C1e(t,e,r,n){let i;for(const a of e)if(i=NU(w1e(a,t),r),typeof i<"u")return FP(t,i)?jP(r,n,t,i):i}function NU(t,e){for(const r of e){if(!r)continue;const n=r[t];if(typeof n<"u")return n}}function QR(t){let e=t._keys;return e||(e=t._keys=A1e(t._scopes)),e}function A1e(t){const e=new Set;for(const r of t)for(const n of Object.keys(r).filter(i=>!i.startsWith("_")))e.add(n);return Array.from(e)}function BU(t,e,r,n){const{iScale:i}=t,{key:a="r"}=this._parsing,s=new Array(n);let o,u,c,l;for(o=0,u=n;o<u;++o)c=o+r,l=e[c],s[o]={r:i.parse(Bo(l,a),c)};return s}const M1e=Number.EPSILON||1e-14,bd=(t,e)=>e<t.length&&!t[e].skip&&t[e],FU=t=>t==="x"?"y":"x";function $1e(t,e,r,n){const i=t.skip?e:t,a=e,s=r.skip?e:r,o=rT(a,i),u=rT(s,a);let c=o/(o+u),l=u/(o+u);c=isNaN(c)?0:c,l=isNaN(l)?0:l;const d=n*c,f=n*l;return{previous:{x:a.x-d*(s.x-i.x),y:a.y-d*(s.y-i.y)},next:{x:a.x+f*(s.x-i.x),y:a.y+f*(s.y-i.y)}}}function k1e(t,e,r){const n=t.length;let i,a,s,o,u,c=bd(t,0);for(let l=0;l<n-1;++l)if(u=c,c=bd(t,l+1),!(!u||!c)){if(Ah(e[l],0,M1e)){r[l]=r[l+1]=0;continue}i=r[l]/e[l],a=r[l+1]/e[l],o=Math.pow(i,2)+Math.pow(a,2),!(o<=9)&&(s=3/Math.sqrt(o),r[l]=i*s*e[l],r[l+1]=a*s*e[l])}}function D1e(t,e,r="x"){const n=FU(r),i=t.length;let a,s,o,u=bd(t,0);for(let c=0;c<i;++c){if(s=o,o=u,u=bd(t,c+1),!o)continue;const l=o[r],d=o[n];s&&(a=(l-s[r])/3,o[`cp1${r}`]=l-a,o[`cp1${n}`]=d-a*e[c]),u&&(a=(u[r]-l)/3,o[`cp2${r}`]=l+a,o[`cp2${n}`]=d+a*e[c])}}function I1e(t,e="x"){const r=FU(e),n=t.length,i=Array(n).fill(0),a=Array(n);let s,o,u,c=bd(t,0);for(s=0;s<n;++s)if(o=u,u=c,c=bd(t,s+1),!!u){if(c){const l=c[e]-u[e];i[s]=l!==0?(c[r]-u[r])/l:0}a[s]=o?c?La(i[s-1])!==La(i[s])?0:(i[s-1]+i[s])/2:i[s-1]:i[s]}k1e(t,i,a),D1e(t,a,e)}function ug(t,e,r){return Math.max(Math.min(t,r),e)}function R1e(t,e){let r,n,i,a,s,o=_s(t[0],e);for(r=0,n=t.length;r<n;++r)s=a,a=o,o=r<n-1&&_s(t[r+1],e),a&&(i=t[r],s&&(i.cp1x=ug(i.cp1x,e.left,e.right),i.cp1y=ug(i.cp1y,e.top,e.bottom)),o&&(i.cp2x=ug(i.cp2x,e.left,e.right),i.cp2y=ug(i.cp2y,e.top,e.bottom)))}function L1e(t,e,r,n,i){let a,s,o,u;if(e.spanGaps&&(t=t.filter(c=>!c.skip)),e.cubicInterpolationMode==="monotone")I1e(t,i);else{let c=n?t[t.length-1]:t[0];for(a=0,s=t.length;a<s;++a)o=t[a],u=$1e(c,o,t[Math.min(a+1,s-(n?0:1))%s],e.tension),o.cp1x=u.previous.x,o.cp1y=u.previous.y,o.cp2x=u.next.x,o.cp2y=u.next.y,c=o}e.capBezierPoints&&R1e(t,r)}function jU(){return typeof window<"u"&&typeof document<"u"}function HP(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function q0(t,e,r){let n;return typeof t=="string"?(n=parseInt(t,10),t.indexOf("%")!==-1&&(n=n/100*e.parentNode[r])):n=t,n}const Ay=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function N1e(t,e){return Ay(t).getPropertyValue(e)}const B1e=["top","right","bottom","left"];function Nu(t,e,r){const n={};r=r?"-"+r:"";for(let i=0;i<4;i++){const a=B1e[i];n[a]=parseFloat(t[e+"-"+a+r])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const F1e=(t,e,r)=>(t>0||e>0)&&(!r||!r.shadowRoot);function j1e(t,e){const r=t.touches,n=r&&r.length?r[0]:t,{offsetX:i,offsetY:a}=n;let s=!1,o,u;if(F1e(i,a,t.target))o=i,u=a;else{const c=e.getBoundingClientRect();o=n.clientX-c.left,u=n.clientY-c.top,s=!0}return{x:o,y:u,box:s}}function gu(t,e){if("native"in t)return t;const{canvas:r,currentDevicePixelRatio:n}=e,i=Ay(r),a=i.boxSizing==="border-box",s=Nu(i,"padding"),o=Nu(i,"border","width"),{x:u,y:c,box:l}=j1e(t,r),d=s.left+(l&&o.left),f=s.top+(l&&o.top);let{width:p,height:m}=e;return a&&(p-=s.width+o.width,m-=s.height+o.height),{x:Math.round((u-d)/p*r.width/n),y:Math.round((c-f)/m*r.height/n)}}function H1e(t,e,r){let n,i;if(e===void 0||r===void 0){const a=HP(t);if(!a)e=t.clientWidth,r=t.clientHeight;else{const s=a.getBoundingClientRect(),o=Ay(a),u=Nu(o,"border","width"),c=Nu(o,"padding");e=s.width-c.width-u.width,r=s.height-c.height-u.height,n=q0(o.maxWidth,a,"clientWidth"),i=q0(o.maxHeight,a,"clientHeight")}}return{width:e,height:r,maxWidth:n||Y0,maxHeight:i||Y0}}const cg=t=>Math.round(t*10)/10;function z1e(t,e,r,n){const i=Ay(t),a=Nu(i,"margin"),s=q0(i.maxWidth,t,"clientWidth")||Y0,o=q0(i.maxHeight,t,"clientHeight")||Y0,u=H1e(t,e,r);let{width:c,height:l}=u;if(i.boxSizing==="content-box"){const f=Nu(i,"border","width"),p=Nu(i,"padding");c-=p.width+f.width,l-=p.height+f.height}return c=Math.max(0,c-a.width),l=Math.max(0,n?c/n:l-a.height),c=cg(Math.min(c,s,u.maxWidth)),l=cg(Math.min(l,o,u.maxHeight)),c&&!l&&(l=cg(c/2)),(e!==void 0||r!==void 0)&&n&&u.height&&l>u.height&&(l=u.height,c=cg(Math.floor(l*n))),{width:c,height:l}}function e8(t,e,r){const n=e||1,i=Math.floor(t.height*n),a=Math.floor(t.width*n);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const s=t.canvas;return s.style&&(r||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),t.currentDevicePixelRatio!==n||s.height!==i||s.width!==a?(t.currentDevicePixelRatio=n,s.height=i,s.width=a,t.ctx.setTransform(n,0,0,n,0,0),!0):!1}const V1e=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch{}return t}();function t8(t,e){const r=N1e(t,e),n=r&&r.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function vu(t,e,r,n){return{x:t.x+r*(e.x-t.x),y:t.y+r*(e.y-t.y)}}function U1e(t,e,r,n){return{x:t.x+r*(e.x-t.x),y:n==="middle"?r<.5?t.y:e.y:n==="after"?r<1?t.y:e.y:r>0?e.y:t.y}}function G1e(t,e,r,n){const i={x:t.cp2x,y:t.cp2y},a={x:e.cp1x,y:e.cp1y},s=vu(t,i,r),o=vu(i,a,r),u=vu(a,e,r),c=vu(s,o,r),l=vu(o,u,r);return vu(c,l,r)}const W1e=function(t,e){return{x(r){return t+t+e-r},setWidth(r){e=r},textAlign(r){return r==="center"?r:r==="right"?"left":"right"},xPlus(r,n){return r-n},leftForLtr(r,n){return r-n}}},Y1e=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function zl(t,e,r){return t?W1e(e,r):Y1e()}function HU(t,e){let r,n;(e==="ltr"||e==="rtl")&&(r=t.canvas.style,n=[r.getPropertyValue("direction"),r.getPropertyPriority("direction")],r.setProperty("direction",e,"important"),t.prevTextDirection=n)}function zU(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function VU(t){return t==="angle"?{between:cp,compare:Kwe,normalize:qn}:{between:bs,compare:(e,r)=>e-r,normalize:e=>e}}function r8({start:t,end:e,count:r,loop:n,style:i}){return{start:t%r,end:e%r,loop:n&&(e-t+1)%r===0,style:i}}function K1e(t,e,r){const{property:n,start:i,end:a}=r,{between:s,normalize:o}=VU(n),u=e.length;let{start:c,end:l,loop:d}=t,f,p;if(d){for(c+=u,l+=u,f=0,p=u;f<p&&s(o(e[c%u][n]),i,a);++f)c--,l--;c%=u,l%=u}return l<c&&(l+=u),{start:c,end:l,loop:d,style:t.style}}function UU(t,e,r){if(!r)return[t];const{property:n,start:i,end:a}=r,s=e.length,{compare:o,between:u,normalize:c}=VU(n),{start:l,end:d,loop:f,style:p}=K1e(t,e,r),m=[];let b=!1,_=null,S,x,O;const h=()=>u(i,O,S)&&o(i,O)!==0,v=()=>o(a,S)===0||u(a,O,S),g=()=>b||h(),T=()=>!b||v();for(let P=l,k=l;P<=d;++P)x=e[P%s],!x.skip&&(S=c(x[n]),S!==O&&(b=u(S,i,a),_===null&&g()&&(_=o(S,i)===0?P:k),_!==null&&T()&&(m.push(r8({start:_,end:P,loop:f,count:s,style:p})),_=null),k=P,O=S));return _!==null&&m.push(r8({start:_,end:d,loop:f,count:s,style:p})),m}function GU(t,e){const r=[],n=t.segments;for(let i=0;i<n.length;i++){const a=UU(n[i],t.points,e);a.length&&r.push(...a)}return r}function q1e(t,e,r,n){let i=0,a=e-1;if(r&&!n)for(;i<e&&!t[i].skip;)i++;for(;i<e&&t[i].skip;)i++;for(i%=e,r&&(a+=i);a>i&&t[a%e].skip;)a--;return a%=e,{start:i,end:a}}function X1e(t,e,r,n){const i=t.length,a=[];let s=e,o=t[e],u;for(u=e+1;u<=r;++u){const c=t[u%i];c.skip||c.stop?o.skip||(n=!1,a.push({start:e%i,end:(u-1)%i,loop:n}),e=s=c.stop?u:null):(s=u,o.skip&&(e=u)),o=c}return s!==null&&a.push({start:e%i,end:s%i,loop:n}),a}function J1e(t,e){const r=t.points,n=t.options.spanGaps,i=r.length;if(!i)return[];const a=!!t._loop,{start:s,end:o}=q1e(r,i,a,n);if(n===!0)return n8(t,[{start:s,end:o,loop:a}],r,e);const u=o<s?o+i:o,c=!!t._fullLoop&&s===0&&o===i-1;return n8(t,X1e(r,s,u,c),r,e)}function n8(t,e,r,n){return!n||!n.setContext||!r?e:Z1e(t,e,r,n)}function Z1e(t,e,r,n){const i=t._chart.getContext(),a=i8(t.options),{_datasetIndex:s,options:{spanGaps:o}}=t,u=r.length,c=[];let l=a,d=e[0].start,f=d;function p(m,b,_,S){const x=o?-1:1;if(m!==b){for(m+=u;r[m%u].skip;)m-=x;for(;r[b%u].skip;)b+=x;m%u!==b%u&&(c.push({start:m%u,end:b%u,loop:_,style:S}),l=S,d=b%u)}}for(const m of e){d=o?d:m.start;let b=r[d%u],_;for(f=d+1;f<=m.end;f++){const S=r[f%u];_=i8(n.setContext(Yo(i,{type:"segment",p0:b,p1:S,p0DataIndex:(f-1)%u,p1DataIndex:f%u,datasetIndex:s}))),Q1e(_,l)&&p(d,f-1,m.loop,l),b=S,l=_}d<f-1&&p(d,f-1,m.loop,l)}return c}function i8(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Q1e(t,e){if(!e)return!1;const r=[],n=function(i,a){return LP(a)?(r.includes(a)||r.push(a),r.indexOf(a)):a};return JSON.stringify(t,n)!==JSON.stringify(e,n)}/*!
* Chart.js v4.3.3
* https://www.chartjs.org
* (c) 2023 Chart.js Contributors
* Released under the MIT License
*/class eSe{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,r,n,i){const a=r.listeners[i],s=r.duration;a.forEach(o=>o({chart:e,initial:r.initial,numSteps:s,currentStep:Math.min(n-r.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=PU.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let r=0;this._charts.forEach((n,i)=>{if(!n.running||!n.items.length)return;const a=n.items;let s=a.length-1,o=!1,u;for(;s>=0;--s)u=a[s],u._active?(u._total>n.duration&&(n.duration=u._total),u.tick(e),o=!0):(a[s]=a[a.length-1],a.pop());o&&(i.draw(),this._notify(i,n,e,"progress")),a.length||(n.running=!1,this._notify(i,n,e,"complete"),n.initial=!1),r+=a.length}),this._lastDate=e,r===0&&(this._running=!1)}_getAnims(e){const r=this._charts;let n=r.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},r.set(e,n)),n}listen(e,r,n){this._getAnims(e).listeners[r].push(n)}add(e,r){!r||!r.length||this._getAnims(e).items.push(...r)}has(e){return this._getAnims(e).items.length>0}start(e){const r=this._charts.get(e);r&&(r.running=!0,r.start=Date.now(),r.duration=r.items.reduce((n,i)=>Math.max(n,i._duration),0),this._refresh())}running(e){if(!this._running)return!1;const r=this._charts.get(e);return!(!r||!r.running||!r.items.length)}stop(e){const r=this._charts.get(e);if(!r||!r.items.length)return;const n=r.items;let i=n.length-1;for(;i>=0;--i)n[i].cancel();r.items=[],this._notify(e,r,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var rs=new eSe;const a8="transparent",tSe={boolean(t,e,r){return r>.5?e:t},color(t,e,r){const n=qR(t||a8),i=n.valid&&qR(e||a8);return i&&i.valid?i.mix(n,r).hexString():e},number(t,e,r){return t+(e-t)*r}};class rSe{constructor(e,r,n,i){const a=r[n];i=ah([e.to,i,a,e.from]);const s=ah([e.from,a,i]);this._active=!0,this._fn=e.fn||tSe[e.type||typeof s],this._easing=Mh[e.easing]||Mh.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=r,this._prop=n,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(e,r,n){if(this._active){this._notify(!1);const i=this._target[this._prop],a=n-this._start,s=this._duration-a;this._start=n,this._duration=Math.floor(Math.max(s,e.duration)),this._total+=a,this._loop=!!e.loop,this._to=ah([e.to,r,i,e.from]),this._from=ah([e.from,i,r])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const r=e-this._start,n=this._duration,i=this._prop,a=this._from,s=this._loop,o=this._to;let u;if(this._active=a!==o&&(s||r<n),!this._active){this._target[i]=o,this._notify(!0);return}if(r<0){this._target[i]=a;return}u=r/n%2,u=s&&u>1?2-u:u,u=this._easing(Math.min(1,Math.max(0,u))),this._target[i]=this._fn(a,o,u)}wait(){const e=this._promises||(this._promises=[]);return new Promise((r,n)=>{e.push({res:r,rej:n})})}_notify(e){const r=e?"res":"rej",n=this._promises||[];for(let i=0;i<n.length;i++)n[i][r]()}}class WU{constructor(e,r){this._chart=e,this._properties=new Map,this.configure(r)}configure(e){if(!Xe(e))return;const r=Object.keys(rr.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{const a=e[i];if(!Xe(a))return;const s={};for(const o of r)s[o]=a[o];(Dt(a.properties)&&a.properties||[i]).forEach(o=>{(o===i||!n.has(o))&&n.set(o,s)})})}_animateOptions(e,r){const n=r.options,i=iSe(e,n);if(!i)return[];const a=this._createAnimations(i,n);return n.$shared&&nSe(e.options.$animations,n).then(()=>{e.options=n},()=>{}),a}_createAnimations(e,r){const n=this._properties,i=[],a=e.$animations||(e.$animations={}),s=Object.keys(r),o=Date.now();let u;for(u=s.length-1;u>=0;--u){const c=s[u];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(e,r));continue}const l=r[c];let d=a[c];const f=n.get(c);if(d)if(f&&d.active()){d.update(f,l,o);continue}else d.cancel();if(!f||!f.duration){e[c]=l;continue}a[c]=d=new rSe(f,e,c,l),i.push(d)}return i}update(e,r){if(this._properties.size===0){Object.assign(e,r);return}const n=this._createAnimations(e,r);if(n.length)return rs.add(this._chart,n),!0}}function nSe(t,e){const r=[],n=Object.keys(e);for(let i=0;i<n.length;i++){const a=t[n[i]];a&&a.active()&&r.push(a.wait())}return Promise.all(r)}function iSe(t,e){if(!e)return;let r=t.options;if(!r){t.options=e;return}return r.$shared&&(t.options=r=Object.assign({},r,{$shared:!1,$animations:{}})),r}function s8(t,e){const r=t&&t.options||{},n=r.reverse,i=r.min===void 0?e:0,a=r.max===void 0?e:0;return{start:n?a:i,end:n?i:a}}function aSe(t,e,r){if(r===!1)return!1;const n=s8(t,r),i=s8(e,r);return{top:i.end,right:n.end,bottom:i.start,left:n.start}}function sSe(t){let e,r,n,i;return Xe(t)?(e=t.top,r=t.right,n=t.bottom,i=t.left):e=r=n=i=t,{top:e,right:r,bottom:n,left:i,disabled:t===!1}}function YU(t,e){const r=[],n=t._getSortedDatasetMetas(e);let i,a;for(i=0,a=n.length;i<a;++i)r.push(n[i].index);return r}function o8(t,e,r,n={}){const i=t.keys,a=n.mode==="single";let s,o,u,c;if(e!==null){for(s=0,o=i.length;s<o;++s){if(u=+i[s],u===r){if(n.all)continue;break}c=t.values[u],er(c)&&(a||e===0||La(e)===La(c))&&(e+=c)}return e}}function oSe(t){const e=Object.keys(t),r=new Array(e.length);let n,i,a;for(n=0,i=e.length;n<i;++n)a=e[n],r[n]={x:a,y:t[a]};return r}function u8(t,e){const r=t&&t.options.stacked;return r||r===void 0&&e.stack!==void 0}function uSe(t,e,r){return`${t.id}.${e.id}.${r.stack||r.type}`}function cSe(t){const{min:e,max:r,minDefined:n,maxDefined:i}=t.getUserBounds();return{min:n?e:Number.NEGATIVE_INFINITY,max:i?r:Number.POSITIVE_INFINITY}}function lSe(t,e,r){const n=t[e]||(t[e]={});return n[r]||(n[r]={})}function c8(t,e,r,n){for(const i of e.getMatchingVisibleMetas(n).reverse()){const a=t[i.index];if(r&&a>0||!r&&a<0)return i.index}return null}function l8(t,e){const{chart:r,_cachedMeta:n}=t,i=r._stacks||(r._stacks={}),{iScale:a,vScale:s,index:o}=n,u=a.axis,c=s.axis,l=uSe(a,s,n),d=e.length;let f;for(let p=0;p<d;++p){const m=e[p],{[u]:b,[c]:_}=m,S=m._stacks||(m._stacks={});f=S[c]=lSe(i,l,b),f[o]=_,f._top=c8(f,s,!0,n.type),f._bottom=c8(f,s,!1,n.type);const x=f._visualValues||(f._visualValues={});x[o]=_}}function g1(t,e){const r=t.scales;return Object.keys(r).filter(n=>r[n].axis===e).shift()}function dSe(t,e){return Yo(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function fSe(t,e,r){return Yo(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:r,index:e,mode:"default",type:"data"})}function Af(t,e){const r=t.controller.index,n=t.vScale&&t.vScale.axis;if(n){e=e||t._parsed;for(const i of e){const a=i._stacks;if(!a||a[n]===void 0||a[n][r]===void 0)return;delete a[n][r],a[n]._visualValues!==void 0&&a[n]._visualValues[r]!==void 0&&delete a[n]._visualValues[r]}}}const v1=t=>t==="reset"||t==="none",d8=(t,e)=>e?t:Object.assign({},t),hSe=(t,e,r)=>t&&!e.hidden&&e._stacked&&{keys:YU(r,!0),values:null};class zi{constructor(e,r){this.chart=e,this._ctx=e.ctx,this.index=r,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=u8(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Af(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,r=this._cachedMeta,n=this.getDataset(),i=(d,f,p,m)=>d==="x"?f:d==="r"?m:p,a=r.xAxisID=Le(n.xAxisID,g1(e,"x")),s=r.yAxisID=Le(n.yAxisID,g1(e,"y")),o=r.rAxisID=Le(n.rAxisID,g1(e,"r")),u=r.indexAxis,c=r.iAxisID=i(u,a,s,o),l=r.vAxisID=i(u,s,a,o);r.xScale=this.getScaleForId(a),r.yScale=this.getScaleForId(s),r.rScale=this.getScaleForId(o),r.iScale=this.getScaleForId(c),r.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const r=this._cachedMeta;return e===r.iScale?r.vScale:r.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&WR(this._data,this),e._stacked&&Af(e)}_dataCheck(){const e=this.getDataset(),r=e.data||(e.data=[]),n=this._data;if(Xe(r))this._data=oSe(r);else if(n!==r){if(n){WR(n,this);const i=this._cachedMeta;Af(i),i._parsed=[]}r&&Object.isExtensible(r)&&Zwe(r,this),this._syncList=[],this._data=r}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const r=this._cachedMeta,n=this.getDataset();let i=!1;this._dataCheck();const a=r._stacked;r._stacked=u8(r.vScale,r),r.stack!==n.stack&&(i=!0,Af(r),r.stack=n.stack),this._resyncElements(e),(i||a!==r._stacked)&&l8(this,r._parsed)}configure(){const e=this.chart.config,r=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),r,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,r){const{_cachedMeta:n,_data:i}=this,{iScale:a,_stacked:s}=n,o=a.axis;let u=e===0&&r===i.length?!0:n._sorted,c=e>0&&n._parsed[e-1],l,d,f;if(this._parsing===!1)n._parsed=i,n._sorted=!0,f=i;else{Dt(i[e])?f=this.parseArrayData(n,i,e,r):Xe(i[e])?f=this.parseObjectData(n,i,e,r):f=this.parsePrimitiveData(n,i,e,r);const p=()=>d[o]===null||c&&d[o]<c[o];for(l=0;l<r;++l)n._parsed[l+e]=d=f[l],u&&(p()&&(u=!1),c=d);n._sorted=u}s&&l8(this,f)}parsePrimitiveData(e,r,n,i){const{iScale:a,vScale:s}=e,o=a.axis,u=s.axis,c=a.getLabels(),l=a===s,d=new Array(i);let f,p,m;for(f=0,p=i;f<p;++f)m=f+n,d[f]={[o]:l||a.parse(c[m],m),[u]:s.parse(r[m],m)};return d}parseArrayData(e,r,n,i){const{xScale:a,yScale:s}=e,o=new Array(i);let u,c,l,d;for(u=0,c=i;u<c;++u)l=u+n,d=r[l],o[u]={x:a.parse(d[0],l),y:s.parse(d[1],l)};return o}parseObjectData(e,r,n,i){const{xScale:a,yScale:s}=e,{xAxisKey:o="x",yAxisKey:u="y"}=this._parsing,c=new Array(i);let l,d,f,p;for(l=0,d=i;l<d;++l)f=l+n,p=r[f],c[l]={x:a.parse(Bo(p,o),f),y:s.parse(Bo(p,u),f)};return c}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,r,n){const i=this.chart,a=this._cachedMeta,s=r[e.axis],o={keys:YU(i,!0),values:r._stacks[e.axis]._visualValues};return o8(o,s,a.index,{mode:n})}updateRangeFromParsed(e,r,n,i){const a=n[r.axis];let s=a===null?NaN:a;const o=i&&n._stacks[r.axis];i&&o&&(i.values=o,s=o8(i,a,this._cachedMeta.index)),e.min=Math.min(e.min,s),e.max=Math.max(e.max,s)}getMinMax(e,r){const n=this._cachedMeta,i=n._parsed,a=n._sorted&&e===n.iScale,s=i.length,o=this._getOtherScale(e),u=hSe(r,n,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:d}=cSe(o);let f,p;function m(){p=i[f];const b=p[o.axis];return!er(p[e.axis])||l>b||d<b}for(f=0;f<s&&!(!m()&&(this.updateRangeFromParsed(c,e,p,u),a));++f);if(a){for(f=s-1;f>=0;--f)if(!m()){this.updateRangeFromParsed(c,e,p,u);break}}return c}getAllParsedValues(e){const r=this._cachedMeta._parsed,n=[];let i,a,s;for(i=0,a=r.length;i<a;++i)s=r[i][e.axis],er(s)&&n.push(s);return n}getMaxOverflow(){return!1}getLabelAndValue(e){const r=this._cachedMeta,n=r.iScale,i=r.vScale,a=this.getParsed(e);return{label:n?""+n.getLabelForValue(a[n.axis]):"",value:i?""+i.getLabelForValue(a[i.axis]):""}}_update(e){const r=this._cachedMeta;this.update(e||"default"),r._clip=sSe(Le(this.options.clip,aSe(r.xScale,r.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,r=this.chart,n=this._cachedMeta,i=n.data||[],a=r.chartArea,s=[],o=this._drawStart||0,u=this._drawCount||i.length-o,c=this.options.drawActiveElementsOnTop;let l;for(n.dataset&&n.dataset.draw(e,a,o,u),l=o;l<o+u;++l){const d=i[l];d.hidden||(d.active&&c?s.push(d):d.draw(e,a))}for(l=0;l<s.length;++l)s[l].draw(e,a)}getStyle(e,r){const n=r?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,r,n){const i=this.getDataset();let a;if(e>=0&&e<this._cachedMeta.data.length){const s=this._cachedMeta.data[e];a=s.$context||(s.$context=fSe(this.getContext(),e,s)),a.parsed=this.getParsed(e),a.raw=i.data[e],a.index=a.dataIndex=e}else a=this.$context||(this.$context=dSe(this.chart.getContext(),this.index)),a.dataset=i,a.index=a.datasetIndex=this.index;return a.active=!!r,a.mode=n,a}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,r){return this._resolveElementOptions(this.dataElementType.id,r,e)}_resolveElementOptions(e,r="default",n){const i=r==="active",a=this._cachedDataOpts,s=e+"-"+r,o=a[s],u=this.enableOptionSharing&&up(n);if(o)return d8(o,u);const c=this.chart.config,l=c.datasetElementScopeKeys(this._type,e),d=i?[`${e}Hover`,"hover",e,""]:[e,""],f=c.getOptionScopes(this.getDataset(),l),p=Object.keys(rr.elements[e]),m=()=>this.getContext(n,i,r),b=c.resolveNamedOptions(f,p,m,d);return b.$shared&&(b.$shared=u,a[s]=Object.freeze(d8(b,u))),b}_resolveAnimations(e,r,n){const i=this.chart,a=this._cachedDataOpts,s=`animation-${r}`,o=a[s];if(o)return o;let u;if(i.options.animation!==!1){const l=this.chart.config,d=l.datasetAnimationScopeKeys(this._type,r),f=l.getOptionScopes(this.getDataset(),d);u=l.createResolver(f,this.getContext(e,n,r))}const c=new WU(i,u&&u.animations);return u&&u._cacheable&&(a[s]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,r){return!r||v1(e)||this.chart._animationsDisabled}_getSharedOptions(e,r){const n=this.resolveDataElementOptions(e,r),i=this._sharedOptions,a=this.getSharedOptions(n),s=this.includeOptions(r,a)||a!==i;return this.updateSharedOptions(a,r,n),{sharedOptions:a,includeOptions:s}}updateElement(e,r,n,i){v1(i)?Object.assign(e,n):this._resolveAnimations(r,i).update(e,n)}updateSharedOptions(e,r,n){e&&!v1(r)&&this._resolveAnimations(void 0,r).update(e,n)}_setStyle(e,r,n,i){e.active=i;const a=this.getStyle(r,i);this._resolveAnimations(r,n,i).update(e,{options:!i&&this.getSharedOptions(a)||a})}removeHoverStyle(e,r,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,r,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const r=this._data,n=this._cachedMeta.data;for(const[o,u,c]of this._syncList)this[o](u,c);this._syncList=[];const i=n.length,a=r.length,s=Math.min(a,i);s&&this.parse(0,s),a>i?this._insertElements(i,a-i,e):a<i&&this._removeElements(a,i-a)}_insertElements(e,r,n=!0){const i=this._cachedMeta,a=i.data,s=e+r;let o;const u=c=>{for(c.length+=r,o=c.length-1;o>=s;o--)c[o]=c[o-r]};for(u(a),o=e;o<s;++o)a[o]=new this.dataElementType;this._parsing&&u(i._parsed),this.parse(e,r),n&&this.updateElements(a,e,r,"reset")}updateElements(e,r,n,i){}_removeElements(e,r){const n=this._cachedMeta;if(this._parsing){const i=n._parsed.splice(e,r);n._stacked&&Af(n,i)}n.data.splice(e,r)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[r,n,i]=e;this[r](n,i)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,r){r&&this._sync(["_removeElements",e,r]);const n=arguments.length-2;n&&this._sync(["_insertElements",e,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}ae(zi,"defaults",{}),ae(zi,"datasetElementType",null),ae(zi,"dataElementType",null);function pSe(t,e){if(!t._cache.$bar){const r=t.getMatchingVisibleMetas(e);let n=[];for(let i=0,a=r.length;i<a;i++)n=n.concat(r[i].controller.getAllParsedValues(t));t._cache.$bar=xU(n.sort((i,a)=>i-a))}return t._cache.$bar}function mSe(t){const e=t.iScale,r=pSe(e,t.type);let n=e._length,i,a,s,o;const u=()=>{s===32767||s===-32768||(up(o)&&(n=Math.min(n,Math.abs(s-o)||n)),o=s)};for(i=0,a=r.length;i<a;++i)s=e.getPixelForValue(r[i]),u();for(o=void 0,i=0,a=e.ticks.length;i<a;++i)s=e.getPixelForTick(i),u();return n}function gSe(t,e,r,n){const i=r.barThickness;let a,s;return nt(i)?(a=e.min*r.categoryPercentage,s=r.barPercentage):(a=i*n,s=1),{chunk:a/n,ratio:s,start:e.pixels[t]-a/2}}function vSe(t,e,r,n){const i=e.pixels,a=i[t];let s=t>0?i[t-1]:null,o=t<i.length-1?i[t+1]:null;const u=r.categoryPercentage;s===null&&(s=a-(o===null?e.end-e.start:o-a)),o===null&&(o=a+a-s);const c=a-(a-Math.min(s,o))/2*u;return{chunk:Math.abs(o-s)/2*u/n,ratio:r.barPercentage,start:c}}function bSe(t,e,r,n){const i=r.parse(t[0],n),a=r.parse(t[1],n),s=Math.min(i,a),o=Math.max(i,a);let u=s,c=o;Math.abs(s)>Math.abs(o)&&(u=o,c=s),e[r.axis]=c,e._custom={barStart:u,barEnd:c,start:i,end:a,min:s,max:o}}function KU(t,e,r,n){return Dt(t)?bSe(t,e,r,n):e[r.axis]=r.parse(t,n),e}function f8(t,e,r,n){const i=t.iScale,a=t.vScale,s=i.getLabels(),o=i===a,u=[];let c,l,d,f;for(c=r,l=r+n;c<l;++c)f=e[c],d={},d[i.axis]=o||i.parse(s[c],c),u.push(KU(f,d,a,c));return u}function b1(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function ySe(t,e,r){return t!==0?La(t):(e.isHorizontal()?1:-1)*(e.min>=r?1:-1)}function _Se(t){let e,r,n,i,a;return t.horizontal?(e=t.base>t.x,r="left",n="right"):(e=t.base<t.y,r="bottom",n="top"),e?(i="end",a="start"):(i="start",a="end"),{start:r,end:n,reverse:e,top:i,bottom:a}}function wSe(t,e,r,n){let i=e.borderSkipped;const a={};if(!i){t.borderSkipped=a;return}if(i===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:o,reverse:u,top:c,bottom:l}=_Se(t);i==="middle"&&r&&(t.enableBorderRadius=!0,(r._top||0)===n?i=c:(r._bottom||0)===n?i=l:(a[h8(l,s,o,u)]=!0,i=c)),a[h8(i,s,o,u)]=!0,t.borderSkipped=a}function h8(t,e,r,n){return n?(t=SSe(t,e,r),t=p8(t,r,e)):t=p8(t,e,r),t}function SSe(t,e,r){return t===e?r:t===r?e:t}function p8(t,e,r){return t==="start"?e:t==="end"?r:t}function OSe(t,{inflateAmount:e},r){t.inflateAmount=e==="auto"?r===1?.33:0:e}class pv extends zi{parsePrimitiveData(e,r,n,i){return f8(e,r,n,i)}parseArrayData(e,r,n,i){return f8(e,r,n,i)}parseObjectData(e,r,n,i){const{iScale:a,vScale:s}=e,{xAxisKey:o="x",yAxisKey:u="y"}=this._parsing,c=a.axis==="x"?o:u,l=s.axis==="x"?o:u,d=[];let f,p,m,b;for(f=n,p=n+i;f<p;++f)b=r[f],m={},m[a.axis]=a.parse(Bo(b,c),f),d.push(KU(Bo(b,l),m,s,f));return d}updateRangeFromParsed(e,r,n,i){super.updateRangeFromParsed(e,r,n,i);const a=n._custom;a&&r===this._cachedMeta.vScale&&(e.min=Math.min(e.min,a.min),e.max=Math.max(e.max,a.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const r=this._cachedMeta,{iScale:n,vScale:i}=r,a=this.getParsed(e),s=a._custom,o=b1(s)?"["+s.start+", "+s.end+"]":""+i.getLabelForValue(a[i.axis]);return{label:""+n.getLabelForValue(a[n.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const r=this._cachedMeta;this.updateElements(r.data,0,r.data.length,e)}updateElements(e,r,n,i){const a=i==="reset",{index:s,_cachedMeta:{vScale:o}}=this,u=o.getBasePixel(),c=o.isHorizontal(),l=this._getRuler(),{sharedOptions:d,includeOptions:f}=this._getSharedOptions(r,i);for(let p=r;p<r+n;p++){const m=this.getParsed(p),b=a||nt(m[o.axis])?{base:u,head:u}:this._calculateBarValuePixels(p),_=this._calculateBarIndexPixels(p,l),S=(m._stacks||{})[o.axis],x={horizontal:c,base:b.base,enableBorderRadius:!S||b1(m._custom)||s===S._top||s===S._bottom,x:c?b.head:_.center,y:c?_.center:b.head,height:c?_.size:Math.abs(b.size),width:c?Math.abs(b.size):_.size};f&&(x.options=d||this.resolveDataElementOptions(p,e[p].active?"active":i));const O=x.options||e[p].options;wSe(x,O,S,s),OSe(x,O,l.ratio),this.updateElement(e[p],p,x,i)}}_getStacks(e,r){const{iScale:n}=this._cachedMeta,i=n.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),a=n.options.stacked,s=[],o=u=>{const c=u.controller.getParsed(r),l=c&&c[u.vScale.axis];if(nt(l)||isNaN(l))return!0};for(const u of i)if(!(r!==void 0&&o(u))&&((a===!1||s.indexOf(u.stack)===-1||a===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===e))break;return s.length||s.push(void 0),s}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,r,n){const i=this._getStacks(e,n),a=r!==void 0?i.indexOf(r):-1;return a===-1?i.length-1:a}_getRuler(){const e=this.options,r=this._cachedMeta,n=r.iScale,i=[];let a,s;for(a=0,s=r.data.length;a<s;++a)i.push(n.getPixelForValue(this.getParsed(a)[n.axis],a));const o=e.barThickness;return{min:o||mSe(r),pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:e.grouped,ratio:o?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:r,_stacked:n,index:i},options:{base:a,minBarLength:s}}=this,o=a||0,u=this.getParsed(e),c=u._custom,l=b1(c);let d=u[r.axis],f=0,p=n?this.applyStack(r,u,n):d,m,b;p!==d&&(f=p-d,p=d),l&&(d=c.barStart,p=c.barEnd-c.barStart,d!==0&&La(d)!==La(c.barEnd)&&(f=0),f+=d);const _=!nt(a)&&!l?a:f;let S=r.getPixelForValue(_);if(this.chart.getDataVisibility(e)?m=r.getPixelForValue(f+p):m=S,b=m-S,Math.abs(b)<s){b=ySe(b,r,o)*s,d===o&&(S-=b/2);const x=r.getPixelForDecimal(0),O=r.getPixelForDecimal(1),h=Math.min(x,O),v=Math.max(x,O);S=Math.max(Math.min(S,v),h),m=S+b,n&&!l&&(u._stacks[r.axis]._visualValues[i]=r.getValueForPixel(m)-r.getValueForPixel(S))}if(S===r.getPixelForValue(o)){const x=La(b)*r.getLineWidthForValue(o)/2;S+=x,b-=x}return{size:b,base:S,head:m,center:m+b/2}}_calculateBarIndexPixels(e,r){const n=r.scale,i=this.options,a=i.skipNull,s=Le(i.maxBarThickness,1/0);let o,u;if(r.grouped){const c=a?this._getStackCount(e):r.stackCount,l=i.barThickness==="flex"?vSe(e,r,i,c):gSe(e,r,i,c),d=this._getStackIndex(this.index,this._cachedMeta.stack,a?e:void 0);o=l.start+l.chunk*d+l.chunk/2,u=Math.min(s,l.chunk*l.ratio)}else o=n.getPixelForValue(this.getParsed(e)[n.axis],e),u=Math.min(s,r.min*r.ratio);return{base:o-u/2,head:o+u/2,center:o,size:u}}draw(){const e=this._cachedMeta,r=e.vScale,n=e.data,i=n.length;let a=0;for(;a<i;++a)this.getParsed(a)[r.axis]!==null&&n[a].draw(this._ctx)}}ae(pv,"id","bar"),ae(pv,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),ae(pv,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class mv extends zi{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,r,n,i){const a=super.parsePrimitiveData(e,r,n,i);for(let s=0;s<a.length;s++)a[s]._custom=this.resolveDataElementOptions(s+n).radius;return a}parseArrayData(e,r,n,i){const a=super.parseArrayData(e,r,n,i);for(let s=0;s<a.length;s++){const o=r[n+s];a[s]._custom=Le(o[2],this.resolveDataElementOptions(s+n).radius)}return a}parseObjectData(e,r,n,i){const a=super.parseObjectData(e,r,n,i);for(let s=0;s<a.length;s++){const o=r[n+s];a[s]._custom=Le(o&&o.r&&+o.r,this.resolveDataElementOptions(s+n).radius)}return a}getMaxOverflow(){const e=this._cachedMeta.data;let r=0;for(let n=e.length-1;n>=0;--n)r=Math.max(r,e[n].size(this.resolveDataElementOptions(n))/2);return r>0&&r}getLabelAndValue(e){const r=this._cachedMeta,n=this.chart.data.labels||[],{xScale:i,yScale:a}=r,s=this.getParsed(e),o=i.getLabelForValue(s.x),u=a.getLabelForValue(s.y),c=s._custom;return{label:n[e]||"",value:"("+o+", "+u+(c?", "+c:"")+")"}}update(e){const r=this._cachedMeta.data;this.updateElements(r,0,r.length,e)}updateElements(e,r,n,i){const a=i==="reset",{iScale:s,vScale:o}=this._cachedMeta,{sharedOptions:u,includeOptions:c}=this._getSharedOptions(r,i),l=s.axis,d=o.axis;for(let f=r;f<r+n;f++){const p=e[f],m=!a&&this.getParsed(f),b={},_=b[l]=a?s.getPixelForDecimal(.5):s.getPixelForValue(m[l]),S=b[d]=a?o.getBasePixel():o.getPixelForValue(m[d]);b.skip=isNaN(_)||isNaN(S),c&&(b.options=u||this.resolveDataElementOptions(f,p.active?"active":i),a&&(b.options.radius=0)),this.updateElement(p,f,b,i)}}resolveDataElementOptions(e,r){const n=this.getParsed(e);let i=super.resolveDataElementOptions(e,r);i.$shared&&(i=Object.assign({},i,{$shared:!1}));const a=i.radius;return r!=="active"&&(i.radius=0),i.radius+=Le(n&&n._custom,a),i}}ae(mv,"id","bubble"),ae(mv,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),ae(mv,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});function TSe(t,e,r){let n=1,i=1,a=0,s=0;if(e<It){const o=t,u=o+e,c=Math.cos(o),l=Math.sin(o),d=Math.cos(u),f=Math.sin(u),p=(O,h,v)=>cp(O,o,u,!0)?1:Math.max(h,h*r,v,v*r),m=(O,h,v)=>cp(O,o,u,!0)?-1:Math.min(h,h*r,v,v*r),b=p(0,c,d),_=p(tr,l,f),S=m(zt,c,d),x=m(zt+tr,l,f);n=(b-S)/2,i=(_-x)/2,a=-(b+S)/2,s=-(_+x)/2}return{ratioX:n,ratioY:i,offsetX:a,offsetY:s}}class Pu extends zi{constructor(e,r){super(e,r),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,r){const n=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=n;else{let a=u=>+n[u];if(Xe(n[e])){const{key:u="value"}=this._parsing;a=c=>+Bo(n[c],u)}let s,o;for(s=e,o=e+r;s<o;++s)i._parsed[s]=a(s)}}_getRotation(){return Bi(this.options.rotation-90)}_getCircumference(){return Bi(this.options.circumference)}_getRotationExtents(){let e=It,r=-It;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){const i=this.chart.getDatasetMeta(n).controller,a=i._getRotation(),s=i._getCircumference();e=Math.min(e,a),r=Math.max(r,a+s)}return{rotation:e,circumference:r-e}}update(e){const r=this.chart,{chartArea:n}=r,i=this._cachedMeta,a=i.data,s=this.getMaxBorderWidth()+this.getMaxOffset(a)+this.options.spacing,o=Math.max((Math.min(n.width,n.height)-s)/2,0),u=Math.min(Bwe(this.options.cutout,o),1),c=this._getRingWeight(this.index),{circumference:l,rotation:d}=this._getRotationExtents(),{ratioX:f,ratioY:p,offsetX:m,offsetY:b}=TSe(d,l,u),_=(n.width-s)/f,S=(n.height-s)/p,x=Math.max(Math.min(_,S)/2,0),O=wU(this.options.radius,x),h=Math.max(O*u,0),v=(O-h)/this._getVisibleDatasetWeightTotal();this.offsetX=m*O,this.offsetY=b*O,i.total=this.calculateTotal(),this.outerRadius=O-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*c,0),this.updateElements(a,0,a.length,e)}_circumference(e,r){const n=this.options,i=this._cachedMeta,a=this._getCircumference();return r&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||i._parsed[e]===null||i.data[e].hidden?0:this.calculateCircumference(i._parsed[e]*a/It)}updateElements(e,r,n,i){const a=i==="reset",s=this.chart,o=s.chartArea,c=s.options.animation,l=(o.left+o.right)/2,d=(o.top+o.bottom)/2,f=a&&c.animateScale,p=f?0:this.innerRadius,m=f?0:this.outerRadius,{sharedOptions:b,includeOptions:_}=this._getSharedOptions(r,i);let S=this._getRotation(),x;for(x=0;x<r;++x)S+=this._circumference(x,a);for(x=r;x<r+n;++x){const O=this._circumference(x,a),h=e[x],v={x:l+this.offsetX,y:d+this.offsetY,startAngle:S,endAngle:S+O,circumference:O,outerRadius:m,innerRadius:p};_&&(v.options=b||this.resolveDataElementOptions(x,h.active?"active":i)),S+=O,this.updateElement(h,x,v,i)}}calculateTotal(){const e=this._cachedMeta,r=e.data;let n=0,i;for(i=0;i<r.length;i++){const a=e._parsed[i];a!==null&&!isNaN(a)&&this.chart.getDataVisibility(i)&&!r[i].hidden&&(n+=Math.abs(a))}return n}calculateCircumference(e){const r=this._cachedMeta.total;return r>0&&!isNaN(e)?It*(Math.abs(e)/r):0}getLabelAndValue(e){const r=this._cachedMeta,n=this.chart,i=n.data.labels||[],a=Up(r._parsed[e],n.options.locale);return{label:i[e]||"",value:a}}getMaxBorderWidth(e){let r=0;const n=this.chart;let i,a,s,o,u;if(!e){for(i=0,a=n.data.datasets.length;i<a;++i)if(n.isDatasetVisible(i)){s=n.getDatasetMeta(i),e=s.data,o=s.controller;break}}if(!e)return 0;for(i=0,a=e.length;i<a;++i)u=o.resolveDataElementOptions(i),u.borderAlign!=="inner"&&(r=Math.max(r,u.borderWidth||0,u.hoverBorderWidth||0));return r}getMaxOffset(e){let r=0;for(let n=0,i=e.length;n<i;++n){const a=this.resolveDataElementOptions(n);r=Math.max(r,a.offset||0,a.hoverOffset||0)}return r}_getRingWeightOffset(e){let r=0;for(let n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(r+=this._getRingWeight(n));return r}_getRingWeight(e){return Math.max(Le(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}ae(Pu,"id","doughnut"),ae(Pu,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),ae(Pu,"descriptors",{_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")}),ae(Pu,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const r=e.data;if(r.labels.length&&r.datasets.length){const{labels:{pointStyle:n,color:i}}=e.legend.options;return r.labels.map((a,s)=>{const u=e.getDatasetMeta(0).controller.getStyle(s);return{text:a,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:i,lineWidth:u.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(s),index:s}})}return[]}},onClick(e,r,n){n.chart.toggleDataVisibility(r.index),n.chart.update()}}}});class gv extends zi{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const r=this._cachedMeta,{dataset:n,data:i=[],_dataset:a}=r,s=this.chart._animationsDisabled;let{start:o,count:u}=AU(r,i,s);this._drawStart=o,this._drawCount=u,MU(r)&&(o=0,u=i.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!a._decimated,n.points=i;const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!s,options:c},e),this.updateElements(i,o,u,e)}updateElements(e,r,n,i){const a=i==="reset",{iScale:s,vScale:o,_stacked:u,_dataset:c}=this._cachedMeta,{sharedOptions:l,includeOptions:d}=this._getSharedOptions(r,i),f=s.axis,p=o.axis,{spanGaps:m,segment:b}=this.options,_=gd(m)?m:Number.POSITIVE_INFINITY,S=this.chart._animationsDisabled||a||i==="none",x=r+n,O=e.length;let h=r>0&&this.getParsed(r-1);for(let v=0;v<O;++v){const g=e[v],T=S?g:{};if(v<r||v>=x){T.skip=!0;continue}const P=this.getParsed(v),k=nt(P[p]),w=T[f]=s.getPixelForValue(P[f],v),A=T[p]=a||k?o.getBasePixel():o.getPixelForValue(u?this.applyStack(o,P,u):P[p],v);T.skip=isNaN(w)||isNaN(A)||k,T.stop=v>0&&Math.abs(P[f]-h[f])>_,b&&(T.parsed=P,T.raw=c.data[v]),d&&(T.options=l||this.resolveDataElementOptions(v,g.active?"active":i)),S||this.updateElement(g,v,T,i),h=P}}getMaxOverflow(){const e=this._cachedMeta,r=e.dataset,n=r.options&&r.options.borderWidth||0,i=e.data||[];if(!i.length)return n;const a=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(n,a,s)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}ae(gv,"id","line"),ae(gv,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),ae(gv,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class kh extends zi{constructor(e,r){super(e,r),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const r=this._cachedMeta,n=this.chart,i=n.data.labels||[],a=Up(r._parsed[e].r,n.options.locale);return{label:i[e]||"",value:a}}parseObjectData(e,r,n,i){return BU.bind(this)(e,r,n,i)}update(e){const r=this._cachedMeta.data;this._updateRadius(),this.updateElements(r,0,r.length,e)}getMinMax(){const e=this._cachedMeta,r={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach((n,i)=>{const a=this.getParsed(i).r;!isNaN(a)&&this.chart.getDataVisibility(i)&&(a<r.min&&(r.min=a),a>r.max&&(r.max=a))}),r}_updateRadius(){const e=this.chart,r=e.chartArea,n=e.options,i=Math.min(r.right-r.left,r.bottom-r.top),a=Math.max(i/2,0),s=Math.max(n.cutoutPercentage?a/100*n.cutoutPercentage:1,0),o=(a-s)/e.getVisibleDatasetCount();this.outerRadius=a-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(e,r,n,i){const a=i==="reset",s=this.chart,u=s.options.animation,c=this._cachedMeta.rScale,l=c.xCenter,d=c.yCenter,f=c.getIndexAngle(0)-.5*zt;let p=f,m;const b=360/this.countVisibleElements();for(m=0;m<r;++m)p+=this._computeAngle(m,i,b);for(m=r;m<r+n;m++){const _=e[m];let S=p,x=p+this._computeAngle(m,i,b),O=s.getDataVisibility(m)?c.getDistanceFromCenterForValue(this.getParsed(m).r):0;p=x,a&&(u.animateScale&&(O=0),u.animateRotate&&(S=x=f));const h={x:l,y:d,innerRadius:0,outerRadius:O,startAngle:S,endAngle:x,options:this.resolveDataElementOptions(m,_.active?"active":i)};this.updateElement(_,m,h,i)}}countVisibleElements(){const e=this._cachedMeta;let r=0;return e.data.forEach((n,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&r++}),r}_computeAngle(e,r,n){return this.chart.getDataVisibility(e)?Bi(this.resolveDataElementOptions(e,r).angle||n):0}}ae(kh,"id","polarArea"),ae(kh,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),ae(kh,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const r=e.data;if(r.labels.length&&r.datasets.length){const{labels:{pointStyle:n,color:i}}=e.legend.options;return r.labels.map((a,s)=>{const u=e.getDatasetMeta(0).controller.getStyle(s);return{text:a,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:i,lineWidth:u.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(s),index:s}})}return[]}},onClick(e,r,n){n.chart.toggleDataVisibility(r.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class aT extends Pu{}ae(aT,"id","pie"),ae(aT,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class vv extends zi{getLabelAndValue(e){const r=this._cachedMeta.vScale,n=this.getParsed(e);return{label:r.getLabels()[e],value:""+r.getLabelForValue(n[r.axis])}}parseObjectData(e,r,n,i){return BU.bind(this)(e,r,n,i)}update(e){const r=this._cachedMeta,n=r.dataset,i=r.data||[],a=r.iScale.getLabels();if(n.points=i,e!=="resize"){const s=this.resolveDatasetElementOptions(e);this.options.showLine||(s.borderWidth=0);const o={_loop:!0,_fullLoop:a.length===i.length,options:s};this.updateElement(n,void 0,o,e)}this.updateElements(i,0,i.length,e)}updateElements(e,r,n,i){const a=this._cachedMeta.rScale,s=i==="reset";for(let o=r;o<r+n;o++){const u=e[o],c=this.resolveDataElementOptions(o,u.active?"active":i),l=a.getPointPositionForValue(o,this.getParsed(o).r),d=s?a.xCenter:l.x,f=s?a.yCenter:l.y,p={x:d,y:f,angle:l.angle,skip:isNaN(d)||isNaN(f),options:c};this.updateElement(u,o,p,i)}}}ae(vv,"id","radar"),ae(vv,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),ae(vv,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}});class bv extends zi{getLabelAndValue(e){const r=this._cachedMeta,n=this.chart.data.labels||[],{xScale:i,yScale:a}=r,s=this.getParsed(e),o=i.getLabelForValue(s.x),u=a.getLabelForValue(s.y);return{label:n[e]||"",value:"("+o+", "+u+")"}}update(e){const r=this._cachedMeta,{data:n=[]}=r,i=this.chart._animationsDisabled;let{start:a,count:s}=AU(r,n,i);if(this._drawStart=a,this._drawCount=s,MU(r)&&(a=0,s=n.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:o,_dataset:u}=r;o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!u._decimated,o.points=n;const c=this.resolveDatasetElementOptions(e);c.segment=this.options.segment,this.updateElement(o,void 0,{animated:!i,options:c},e)}else this.datasetElementType&&(delete r.dataset,this.datasetElementType=!1);this.updateElements(n,a,s,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(e,r,n,i){const a=i==="reset",{iScale:s,vScale:o,_stacked:u,_dataset:c}=this._cachedMeta,l=this.resolveDataElementOptions(r,i),d=this.getSharedOptions(l),f=this.includeOptions(i,d),p=s.axis,m=o.axis,{spanGaps:b,segment:_}=this.options,S=gd(b)?b:Number.POSITIVE_INFINITY,x=this.chart._animationsDisabled||a||i==="none";let O=r>0&&this.getParsed(r-1);for(let h=r;h<r+n;++h){const v=e[h],g=this.getParsed(h),T=x?v:{},P=nt(g[m]),k=T[p]=s.getPixelForValue(g[p],h),w=T[m]=a||P?o.getBasePixel():o.getPixelForValue(u?this.applyStack(o,g,u):g[m],h);T.skip=isNaN(k)||isNaN(w)||P,T.stop=h>0&&Math.abs(g[p]-O[p])>S,_&&(T.parsed=g,T.raw=c.data[h]),f&&(T.options=d||this.resolveDataElementOptions(h,v.active?"active":i)),x||this.updateElement(v,h,T,i),O=g}this.updateSharedOptions(d,i,l)}getMaxOverflow(){const e=this._cachedMeta,r=e.data||[];if(!this.options.showLine){let o=0;for(let u=r.length-1;u>=0;--u)o=Math.max(o,r[u].size(this.resolveDataElementOptions(u))/2);return o>0&&o}const n=e.dataset,i=n.options&&n.options.borderWidth||0;if(!r.length)return i;const a=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,a,s)/2}}ae(bv,"id","scatter"),ae(bv,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),ae(bv,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});var ESe=Object.freeze({__proto__:null,BarController:pv,BubbleController:mv,DoughnutController:Pu,LineController:gv,PieController:aT,PolarAreaController:kh,RadarController:vv,ScatterController:bv});function du(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class zP{constructor(e){ae(this,"options");this.options=e||{}}static override(e){Object.assign(zP.prototype,e)}init(){}formats(){return du()}parse(){return du()}format(){return du()}add(){return du()}diff(){return du()}startOf(){return du()}endOf(){return du()}}var qU={_date:zP};function xSe(t,e,r,n){const{controller:i,data:a,_sorted:s}=t,o=i._cachedMeta.iScale;if(o&&e===o.axis&&e!=="r"&&s&&a.length){const u=o._reversePixels?Xwe:ys;if(n){if(i._sharedOptions){const c=a[0],l=typeof c.getRange=="function"&&c.getRange(e);if(l){const d=u(a,e,r-l),f=u(a,e,r+l);return{lo:d.lo,hi:f.hi}}}}else return u(a,e,r)}return{lo:0,hi:a.length-1}}function Gp(t,e,r,n,i){const a=t.getSortedVisibleDatasetMetas(),s=r[e];for(let o=0,u=a.length;o<u;++o){const{index:c,data:l}=a[o],{lo:d,hi:f}=xSe(a[o],e,s,i);for(let p=d;p<=f;++p){const m=l[p];m.skip||n(m,c,p)}}}function PSe(t){const e=t.indexOf("x")!==-1,r=t.indexOf("y")!==-1;return function(n,i){const a=e?Math.abs(n.x-i.x):0,s=r?Math.abs(n.y-i.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(s,2))}}function y1(t,e,r,n,i){const a=[];return!i&&!t.isPointInArea(e)||Gp(t,r,e,function(o,u,c){!i&&!_s(o,t.chartArea,0)||o.inRange(e.x,e.y,n)&&a.push({element:o,datasetIndex:u,index:c})},!0),a}function CSe(t,e,r,n){let i=[];function a(s,o,u){const{startAngle:c,endAngle:l}=s.getProps(["startAngle","endAngle"],n),{angle:d}=TU(s,{x:e.x,y:e.y});cp(d,c,l)&&i.push({element:s,datasetIndex:o,index:u})}return Gp(t,r,e,a),i}function ASe(t,e,r,n,i,a){let s=[];const o=PSe(r);let u=Number.POSITIVE_INFINITY;function c(l,d,f){const p=l.inRange(e.x,e.y,i);if(n&&!p)return;const m=l.getCenterPoint(i);if(!(!!a||t.isPointInArea(m))&&!p)return;const _=o(e,m);_<u?(s=[{element:l,datasetIndex:d,index:f}],u=_):_===u&&s.push({element:l,datasetIndex:d,index:f})}return Gp(t,r,e,c),s}function _1(t,e,r,n,i,a){return!a&&!t.isPointInArea(e)?[]:r==="r"&&!n?CSe(t,e,r,i):ASe(t,e,r,n,i,a)}function m8(t,e,r,n,i){const a=[],s=r==="x"?"inXRange":"inYRange";let o=!1;return Gp(t,r,e,(u,c,l)=>{u[s](e[r],i)&&(a.push({element:u,datasetIndex:c,index:l}),o=o||u.inRange(e.x,e.y,i))}),n&&!o?[]:a}var MSe={evaluateInteractionItems:Gp,modes:{index(t,e,r,n){const i=gu(e,t),a=r.axis||"x",s=r.includeInvisible||!1,o=r.intersect?y1(t,i,a,n,s):_1(t,i,a,!1,n,s),u=[];return o.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{const l=o[0].index,d=c.data[l];d&&!d.skip&&u.push({element:d,datasetIndex:c.index,index:l})}),u):[]},dataset(t,e,r,n){const i=gu(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;let o=r.intersect?y1(t,i,a,n,s):_1(t,i,a,!1,n,s);if(o.length>0){const u=o[0].datasetIndex,c=t.getDatasetMeta(u).data;o=[];for(let l=0;l<c.length;++l)o.push({element:c[l],datasetIndex:u,index:l})}return o},point(t,e,r,n){const i=gu(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;return y1(t,i,a,n,s)},nearest(t,e,r,n){const i=gu(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;return _1(t,i,a,r.intersect,n,s)},x(t,e,r,n){const i=gu(e,t);return m8(t,i,"x",r.intersect,n)},y(t,e,r,n){const i=gu(e,t);return m8(t,i,"y",r.intersect,n)}}};const XU=["left","top","right","bottom"];function Mf(t,e){return t.filter(r=>r.pos===e)}function g8(t,e){return t.filter(r=>XU.indexOf(r.pos)===-1&&r.box.axis===e)}function $f(t,e){return t.sort((r,n)=>{const i=e?n:r,a=e?r:n;return i.weight===a.weight?i.index-a.index:i.weight-a.weight})}function $Se(t){const e=[];let r,n,i,a,s,o;for(r=0,n=(t||[]).length;r<n;++r)i=t[r],{position:a,options:{stack:s,stackWeight:o=1}}=i,e.push({index:r,box:i,pos:a,horizontal:i.isHorizontal(),weight:i.weight,stack:s&&a+s,stackWeight:o});return e}function kSe(t){const e={};for(const r of t){const{stack:n,pos:i,stackWeight:a}=r;if(!n||!XU.includes(i))continue;const s=e[n]||(e[n]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=a}return e}function DSe(t,e){const r=kSe(t),{vBoxMaxWidth:n,hBoxMaxHeight:i}=e;let a,s,o;for(a=0,s=t.length;a<s;++a){o=t[a];const{fullSize:u}=o.box,c=r[o.stack],l=c&&o.stackWeight/c.weight;o.horizontal?(o.width=l?l*n:u&&e.availableWidth,o.height=i):(o.width=n,o.height=l?l*i:u&&e.availableHeight)}return r}function ISe(t){const e=$Se(t),r=$f(e.filter(c=>c.box.fullSize),!0),n=$f(Mf(e,"left"),!0),i=$f(Mf(e,"right")),a=$f(Mf(e,"top"),!0),s=$f(Mf(e,"bottom")),o=g8(e,"x"),u=g8(e,"y");return{fullSize:r,leftAndTop:n.concat(a),rightAndBottom:i.concat(u).concat(s).concat(o),chartArea:Mf(e,"chartArea"),vertical:n.concat(i).concat(u),horizontal:a.concat(s).concat(o)}}function v8(t,e,r,n){return Math.max(t[r],e[r])+Math.max(t[n],e[n])}function JU(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function RSe(t,e,r,n){const{pos:i,box:a}=r,s=t.maxPadding;if(!Xe(i)){r.size&&(t[i]-=r.size);const d=n[r.stack]||{size:0,count:1};d.size=Math.max(d.size,r.horizontal?a.height:a.width),r.size=d.size/d.count,t[i]+=r.size}a.getPadding&&JU(s,a.getPadding());const o=Math.max(0,e.outerWidth-v8(s,t,"left","right")),u=Math.max(0,e.outerHeight-v8(s,t,"top","bottom")),c=o!==t.w,l=u!==t.h;return t.w=o,t.h=u,r.horizontal?{same:c,other:l}:{same:l,other:c}}function LSe(t){const e=t.maxPadding;function r(n){const i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=r("top"),t.x+=r("left"),r("right"),r("bottom")}function NSe(t,e){const r=e.maxPadding;function n(i){const a={left:0,top:0,right:0,bottom:0};return i.forEach(s=>{a[s]=Math.max(e[s],r[s])}),a}return n(t?["left","right"]:["top","bottom"])}function sh(t,e,r,n){const i=[];let a,s,o,u,c,l;for(a=0,s=t.length,c=0;a<s;++a){o=t[a],u=o.box,u.update(o.width||e.w,o.height||e.h,NSe(o.horizontal,e));const{same:d,other:f}=RSe(e,r,o,n);c|=d&&i.length,l=l||f,u.fullSize||i.push(o)}return c&&sh(i,e,r,n)||l}function lg(t,e,r,n,i){t.top=r,t.left=e,t.right=e+n,t.bottom=r+i,t.width=n,t.height=i}function b8(t,e,r,n){const i=r.padding;let{x:a,y:s}=e;for(const o of t){const u=o.box,c=n[o.stack]||{count:1,placed:0,weight:1},l=o.stackWeight/c.weight||1;if(o.horizontal){const d=e.w*l,f=c.size||u.height;up(c.start)&&(s=c.start),u.fullSize?lg(u,i.left,s,r.outerWidth-i.right-i.left,f):lg(u,e.left+c.placed,s,d,f),c.start=s,c.placed+=d,s=u.bottom}else{const d=e.h*l,f=c.size||u.width;up(c.start)&&(a=c.start),u.fullSize?lg(u,a,i.top,f,r.outerHeight-i.bottom-i.top):lg(u,a,e.top+c.placed,f,d),c.start=a,c.placed+=d,a=u.right}}e.x=a,e.y=s}var qr={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(r){e.draw(r)}}]},t.boxes.push(e)},removeBox(t,e){const r=t.boxes?t.boxes.indexOf(e):-1;r!==-1&&t.boxes.splice(r,1)},configure(t,e,r){e.fullSize=r.fullSize,e.position=r.position,e.weight=r.weight},update(t,e,r,n){if(!t)return;const i=tn(t.options.layout.padding),a=Math.max(e-i.width,0),s=Math.max(r-i.height,0),o=ISe(t.boxes),u=o.vertical,c=o.horizontal;gt(t.boxes,b=>{typeof b.beforeLayout=="function"&&b.beforeLayout()});const l=u.reduce((b,_)=>_.box.options&&_.box.options.display===!1?b:b+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:r,padding:i,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/l,hBoxMaxHeight:s/2}),f=Object.assign({},i);JU(f,tn(n));const p=Object.assign({maxPadding:f,w:a,h:s,x:i.left,y:i.top},i),m=DSe(u.concat(c),d);sh(o.fullSize,p,d,m),sh(u,p,d,m),sh(c,p,d,m)&&sh(u,p,d,m),LSe(p),b8(o.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,b8(o.rightAndBottom,p,d,m),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},gt(o.chartArea,b=>{const _=b.box;Object.assign(_,t.chartArea),_.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class ZU{acquireContext(e,r){}releaseContext(e){return!1}addEventListener(e,r,n){}removeEventListener(e,r,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,r,n,i){return r=Math.max(0,r||e.width),n=n||e.height,{width:r,height:Math.max(0,i?Math.floor(r/i):n)}}isAttached(e){return!0}updateConfig(e){}}class BSe extends ZU{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const yv="$chartjs",FSe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},y8=t=>t===null||t==="";function jSe(t,e){const r=t.style,n=t.getAttribute("height"),i=t.getAttribute("width");if(t[yv]={initial:{height:n,width:i,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",r.boxSizing=r.boxSizing||"border-box",y8(i)){const a=t8(t,"width");a!==void 0&&(t.width=a)}if(y8(n))if(t.style.height==="")t.height=t.width/(e||2);else{const a=t8(t,"height");a!==void 0&&(t.height=a)}return t}const QU=V1e?{passive:!0}:!1;function HSe(t,e,r){t.addEventListener(e,r,QU)}function zSe(t,e,r){t.canvas.removeEventListener(e,r,QU)}function VSe(t,e){const r=FSe[t.type]||t.type,{x:n,y:i}=gu(t,e);return{type:r,chart:e,native:t,x:n!==void 0?n:null,y:i!==void 0?i:null}}function X0(t,e){for(const r of t)if(r===e||r.contains(e))return!0}function USe(t,e,r){const n=t.canvas,i=new MutationObserver(a=>{let s=!1;for(const o of a)s=s||X0(o.addedNodes,n),s=s&&!X0(o.removedNodes,n);s&&r()});return i.observe(document,{childList:!0,subtree:!0}),i}function GSe(t,e,r){const n=t.canvas,i=new MutationObserver(a=>{let s=!1;for(const o of a)s=s||X0(o.removedNodes,n),s=s&&!X0(o.addedNodes,n);s&&r()});return i.observe(document,{childList:!0,subtree:!0}),i}const dp=new Map;let _8=0;function e7(){const t=window.devicePixelRatio;t!==_8&&(_8=t,dp.forEach((e,r)=>{r.currentDevicePixelRatio!==t&&e()}))}function WSe(t,e){dp.size||window.addEventListener("resize",e7),dp.set(t,e)}function YSe(t){dp.delete(t),dp.size||window.removeEventListener("resize",e7)}function KSe(t,e,r){const n=t.canvas,i=n&&HP(n);if(!i)return;const a=CU((o,u)=>{const c=i.clientWidth;r(o,u),c<i.clientWidth&&r()},window),s=new ResizeObserver(o=>{const u=o[0],c=u.contentRect.width,l=u.contentRect.height;c===0&&l===0||a(c,l)});return s.observe(i),WSe(t,a),s}function w1(t,e,r){r&&r.disconnect(),e==="resize"&&YSe(t)}function qSe(t,e,r){const n=t.canvas,i=CU(a=>{t.ctx!==null&&r(VSe(a,t))},t);return HSe(n,e,i),i}class XSe extends ZU{acquireContext(e,r){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(jSe(e,r),n):null}releaseContext(e){const r=e.canvas;if(!r[yv])return!1;const n=r[yv].initial;["height","width"].forEach(a=>{const s=n[a];nt(s)?r.removeAttribute(a):r.setAttribute(a,s)});const i=n.style||{};return Object.keys(i).forEach(a=>{r.style[a]=i[a]}),r.width=r.width,delete r[yv],!0}addEventListener(e,r,n){this.removeEventListener(e,r);const i=e.$proxies||(e.$proxies={}),s={attach:USe,detach:GSe,resize:KSe}[r]||qSe;i[r]=s(e,r,n)}removeEventListener(e,r){const n=e.$proxies||(e.$proxies={}),i=n[r];if(!i)return;({attach:w1,detach:w1,resize:w1}[r]||zSe)(e,r,i),n[r]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,r,n,i){return z1e(e,r,n,i)}isAttached(e){const r=HP(e);return!!(r&&r.isConnected)}}function JSe(t){return!jU()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?BSe:XSe}var xg;let Ls=(xg=class{constructor(){ae(this,"x");ae(this,"y");ae(this,"active",!1);ae(this,"options");ae(this,"$animations")}tooltipPosition(e){const{x:r,y:n}=this.getProps(["x","y"],e);return{x:r,y:n}}hasValue(){return gd(this.x)&&gd(this.y)}getProps(e,r){const n=this.$animations;if(!r||!n)return this;const i={};return e.forEach(a=>{i[a]=n[a]&&n[a].active()?n[a]._to:this[a]}),i}},ae(xg,"defaults",{}),ae(xg,"defaultRoutes"),xg);function ZSe(t,e){const r=t.options.ticks,n=QSe(t),i=Math.min(r.maxTicksLimit||n,n),a=r.major.enabled?tOe(e):[],s=a.length,o=a[0],u=a[s-1],c=[];if(s>i)return rOe(e,c,a,s/i),c;const l=eOe(a,e,i);if(s>0){let d,f;const p=s>1?Math.round((u-o)/(s-1)):null;for(dg(e,c,l,nt(p)?0:o-p,o),d=0,f=s-1;d<f;d++)dg(e,c,l,a[d],a[d+1]);return dg(e,c,l,u,nt(p)?e.length:u+p),c}return dg(e,c,l),c}function QSe(t){const e=t.options.offset,r=t._tickSize(),n=t._length/r+(e?0:1),i=t._maxLength/r;return Math.floor(Math.min(n,i))}function eOe(t,e,r){const n=nOe(t),i=e.length/r;if(!n)return Math.max(i,1);const a=Wwe(n);for(let s=0,o=a.length-1;s<o;s++){const u=a[s];if(u>i)return u}return Math.max(i,1)}function tOe(t){const e=[];let r,n;for(r=0,n=t.length;r<n;r++)t[r].major&&e.push(r);return e}function rOe(t,e,r,n){let i=0,a=r[0],s;for(n=Math.ceil(n),s=0;s<t.length;s++)s===a&&(e.push(t[s]),i++,a=r[i*n])}function dg(t,e,r,n,i){const a=Le(n,0),s=Math.min(Le(i,t.length),t.length);let o=0,u,c,l;for(r=Math.ceil(r),i&&(u=i-n,r=u/Math.floor(u/r)),l=a;l<0;)o++,l=Math.round(a+o*r);for(c=Math.max(a,0);c<s;c++)c===l&&(e.push(t[c]),o++,l=Math.round(a+o*r))}function nOe(t){const e=t.length;let r,n;if(e<2)return!1;for(n=t[0],r=1;r<e;++r)if(t[r]-t[r-1]!==n)return!1;return n}const iOe=t=>t==="left"?"right":t==="right"?"left":t,w8=(t,e,r)=>e==="top"||e==="left"?t[e]+r:t[e]-r,S8=(t,e)=>Math.min(e||t,t);function O8(t,e){const r=[],n=t.length/e,i=t.length;let a=0;for(;a<i;a+=n)r.push(t[Math.floor(a)]);return r}function aOe(t,e,r){const n=t.ticks.length,i=Math.min(e,n-1),a=t._startPixel,s=t._endPixel,o=1e-6;let u=t.getPixelForTick(i),c;if(!(r&&(n===1?c=Math.max(u-a,s-u):e===0?c=(t.getPixelForTick(1)-u)/2:c=(u-t.getPixelForTick(i-1))/2,u+=i<e?c:-c,u<a-o||u>s+o)))return u}function sOe(t,e){gt(t,r=>{const n=r.gc,i=n.length/2;let a;if(i>e){for(a=0;a<i;++a)delete r.data[n[a]];n.splice(0,i)}})}function kf(t){return t.drawTicks?t.tickLength:0}function T8(t,e){if(!t.display)return 0;const r=Sr(t.font,e),n=tn(t.padding);return(Dt(t.text)?t.text.length:1)*r.lineHeight+n.height}function oOe(t,e){return Yo(t,{scale:e,type:"scale"})}function uOe(t,e,r){return Yo(t,{tick:r,index:e,type:"tick"})}function cOe(t,e,r){let n=RP(t);return(r&&e!=="right"||!r&&e==="right")&&(n=iOe(n)),n}function lOe(t,e,r,n){const{top:i,left:a,bottom:s,right:o,chart:u}=t,{chartArea:c,scales:l}=u;let d=0,f,p,m;const b=s-i,_=o-a;if(t.isHorizontal()){if(p=Wr(n,a,o),Xe(r)){const S=Object.keys(r)[0],x=r[S];m=l[S].getPixelForValue(x)+b-e}else r==="center"?m=(c.bottom+c.top)/2+b-e:m=w8(t,r,e);f=o-a}else{if(Xe(r)){const S=Object.keys(r)[0],x=r[S];p=l[S].getPixelForValue(x)-_+e}else r==="center"?p=(c.left+c.right)/2-_+e:p=w8(t,r,e);m=Wr(n,s,i),d=r==="left"?-tr:tr}return{titleX:p,titleY:m,maxWidth:f,rotation:d}}class Sc extends Ls{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,r){return e}getUserBounds(){let{_userMin:e,_userMax:r,_suggestedMin:n,_suggestedMax:i}=this;return e=Gn(e,Number.POSITIVE_INFINITY),r=Gn(r,Number.NEGATIVE_INFINITY),n=Gn(n,Number.POSITIVE_INFINITY),i=Gn(i,Number.NEGATIVE_INFINITY),{min:Gn(e,n),max:Gn(r,i),minDefined:er(e),maxDefined:er(r)}}getMinMax(e){let{min:r,max:n,minDefined:i,maxDefined:a}=this.getUserBounds(),s;if(i&&a)return{min:r,max:n};const o=this.getMatchingVisibleMetas();for(let u=0,c=o.length;u<c;++u)s=o[u].controller.getMinMax(this,e),i||(r=Math.min(r,s.min)),a||(n=Math.max(n,s.max));return r=a&&r>n?n:r,n=i&&r>n?r:n,{min:Gn(r,Gn(n,r)),max:Gn(n,Gn(r,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){At(this.options.beforeUpdate,[this])}update(e,r,n){const{beginAtZero:i,grace:a,ticks:s}=this.options,o=s.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=r,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=_1e(this,a,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const u=o<this.ticks.length;this._convertTicksToLabels(u?O8(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=ZSe(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),u&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,r,n;this.isHorizontal()?(r=this.left,n=this.right):(r=this.top,n=this.bottom,e=!e),this._startPixel=r,this._endPixel=n,this._reversePixels=e,this._length=n-r,this._alignToPixels=this.options.alignToPixels}afterUpdate(){At(this.options.afterUpdate,[this])}beforeSetDimensions(){At(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){At(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),At(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){At(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const r=this.options.ticks;let n,i,a;for(n=0,i=e.length;n<i;n++)a=e[n],a.label=At(r.callback,[a.value,n,e],this)}afterTickToLabelConversion(){At(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){At(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,r=e.ticks,n=S8(this.ticks.length,e.ticks.maxTicksLimit),i=r.minRotation||0,a=r.maxRotation;let s=i,o,u,c;if(!this._isVisible()||!r.display||i>=a||n<=1||!this.isHorizontal()){this.labelRotation=i;return}const l=this._getLabelSizes(),d=l.widest.width,f=l.highest.height,p=Rr(this.chart.width-d,0,this.maxWidth);o=e.offset?this.maxWidth/n:p/(n-1),d+6>o&&(o=p/(n-(e.offset?.5:1)),u=this.maxHeight-kf(e.grid)-r.padding-T8(e.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),s=DP(Math.min(Math.asin(Rr((l.highest.height+6)/o,-1,1)),Math.asin(Rr(u/c,-1,1))-Math.asin(Rr(f/c,-1,1)))),s=Math.max(i,Math.min(a,s))),this.labelRotation=s}afterCalculateLabelRotation(){At(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){At(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:r,options:{ticks:n,title:i,grid:a}}=this,s=this._isVisible(),o=this.isHorizontal();if(s){const u=T8(i,r.options.font);if(o?(e.width=this.maxWidth,e.height=kf(a)+u):(e.height=this.maxHeight,e.width=kf(a)+u),n.display&&this.ticks.length){const{first:c,last:l,widest:d,highest:f}=this._getLabelSizes(),p=n.padding*2,m=Bi(this.labelRotation),b=Math.cos(m),_=Math.sin(m);if(o){const S=n.mirror?0:_*d.width+b*f.height;e.height=Math.min(this.maxHeight,e.height+S+p)}else{const S=n.mirror?0:b*d.width+_*f.height;e.width=Math.min(this.maxWidth,e.width+S+p)}this._calculatePadding(c,l,_,b)}}this._handleMargins(),o?(this.width=this._length=r.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=r.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,r,n,i){const{ticks:{align:a,padding:s},position:o}=this.options,u=this.labelRotation!==0,c=o!=="top"&&this.axis==="x";if(this.isHorizontal()){const l=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,p=0;u?c?(f=i*e.width,p=n*r.height):(f=n*e.height,p=i*r.width):a==="start"?p=r.width:a==="end"?f=e.width:a!=="inner"&&(f=e.width/2,p=r.width/2),this.paddingLeft=Math.max((f-l+s)*this.width/(this.width-l),0),this.paddingRight=Math.max((p-d+s)*this.width/(this.width-d),0)}else{let l=r.height/2,d=e.height/2;a==="start"?(l=0,d=e.height):a==="end"&&(l=r.height,d=0),this.paddingTop=l+s,this.paddingBottom=d+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){At(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:r}=this.options;return r==="top"||r==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let r,n;for(r=0,n=e.length;r<n;r++)nt(e[r].label)&&(e.splice(r,1),n--,r--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const r=this.options.ticks.sampleSize;let n=this.ticks;r<n.length&&(n=O8(n,r)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,r,n){const{ctx:i,_longestTextCache:a}=this,s=[],o=[],u=Math.floor(r/S8(r,n));let c=0,l=0,d,f,p,m,b,_,S,x,O,h,v;for(d=0;d<r;d+=u){if(m=e[d].label,b=this._resolveTickFontOptions(d),i.font=_=b.string,S=a[_]=a[_]||{data:{},gc:[]},x=b.lineHeight,O=h=0,!nt(m)&&!Dt(m))O=K0(i,S.data,S.gc,O,m),h=x;else if(Dt(m))for(f=0,p=m.length;f<p;++f)v=m[f],!nt(v)&&!Dt(v)&&(O=K0(i,S.data,S.gc,O,v),h+=x);s.push(O),o.push(h),c=Math.max(O,c),l=Math.max(h,l)}sOe(a,r);const g=s.indexOf(c),T=o.indexOf(l),P=k=>({width:s[k]||0,height:o[k]||0});return{first:P(0),last:P(r-1),widest:P(g),highest:P(T),widths:s,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,r){return NaN}getValueForPixel(e){}getPixelForTick(e){const r=this.ticks;return e<0||e>r.length-1?null:this.getPixelForValue(r[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const r=this._startPixel+e*this._length;return qwe(this._alignToPixels?lu(this.chart,r,0):r)}getDecimalForPixel(e){const r=(e-this._startPixel)/this._length;return this._reversePixels?1-r:r}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:r}=this;return e<0&&r<0?r:e>0&&r>0?e:0}getContext(e){const r=this.ticks||[];if(e>=0&&e<r.length){const n=r[e];return n.$context||(n.$context=uOe(this.getContext(),e,n))}return this.$context||(this.$context=oOe(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,r=Bi(this.labelRotation),n=Math.abs(Math.cos(r)),i=Math.abs(Math.sin(r)),a=this._getLabelSizes(),s=e.autoSkipPadding||0,o=a?a.widest.width+s:0,u=a?a.highest.height+s:0;return this.isHorizontal()?u*n>o*i?o/n:u/i:u*i<o*n?u/n:o/i}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const r=this.axis,n=this.chart,i=this.options,{grid:a,position:s,border:o}=i,u=a.offset,c=this.isHorizontal(),d=this.ticks.length+(u?1:0),f=kf(a),p=[],m=o.setContext(this.getContext()),b=m.display?m.width:0,_=b/2,S=function(M){return lu(n,M,b)};let x,O,h,v,g,T,P,k,w,A,C,E;if(s==="top")x=S(this.bottom),T=this.bottom-f,k=x-_,A=S(e.top)+_,E=e.bottom;else if(s==="bottom")x=S(this.top),A=e.top,E=S(e.bottom)-_,T=x+_,k=this.top+f;else if(s==="left")x=S(this.right),g=this.right-f,P=x-_,w=S(e.left)+_,C=e.right;else if(s==="right")x=S(this.left),w=e.left,C=S(e.right)-_,g=x+_,P=this.left+f;else if(r==="x"){if(s==="center")x=S((e.top+e.bottom)/2+.5);else if(Xe(s)){const M=Object.keys(s)[0],L=s[M];x=S(this.chart.scales[M].getPixelForValue(L))}A=e.top,E=e.bottom,T=x+_,k=T+f}else if(r==="y"){if(s==="center")x=S((e.left+e.right)/2);else if(Xe(s)){const M=Object.keys(s)[0],L=s[M];x=S(this.chart.scales[M].getPixelForValue(L))}g=x-_,P=g-f,w=e.left,C=e.right}const $=Le(i.ticks.maxTicksLimit,d),D=Math.max(1,Math.ceil(d/$));for(O=0;O<d;O+=D){const M=this.getContext(O),L=a.setContext(M),N=o.setContext(M),j=L.lineWidth,z=L.color,U=N.dash||[],J=N.dashOffset,re=L.tickWidth,Y=L.tickColor,G=L.tickBorderDash||[],K=L.tickBorderDashOffset;h=aOe(this,O,u),h!==void 0&&(v=lu(n,h,j),c?g=P=w=C=v:T=k=A=E=v,p.push({tx1:g,ty1:T,tx2:P,ty2:k,x1:w,y1:A,x2:C,y2:E,width:j,color:z,borderDash:U,borderDashOffset:J,tickWidth:re,tickColor:Y,tickBorderDash:G,tickBorderDashOffset:K}))}return this._ticksLength=d,this._borderValue=x,p}_computeLabelItems(e){const r=this.axis,n=this.options,{position:i,ticks:a}=n,s=this.isHorizontal(),o=this.ticks,{align:u,crossAlign:c,padding:l,mirror:d}=a,f=kf(n.grid),p=f+l,m=d?-l:p,b=-Bi(this.labelRotation),_=[];let S,x,O,h,v,g,T,P,k,w,A,C,E="middle";if(i==="top")g=this.bottom-m,T=this._getXAxisLabelAlignment();else if(i==="bottom")g=this.top+m,T=this._getXAxisLabelAlignment();else if(i==="left"){const D=this._getYAxisLabelAlignment(f);T=D.textAlign,v=D.x}else if(i==="right"){const D=this._getYAxisLabelAlignment(f);T=D.textAlign,v=D.x}else if(r==="x"){if(i==="center")g=(e.top+e.bottom)/2+p;else if(Xe(i)){const D=Object.keys(i)[0],M=i[D];g=this.chart.scales[D].getPixelForValue(M)+p}T=this._getXAxisLabelAlignment()}else if(r==="y"){if(i==="center")v=(e.left+e.right)/2-p;else if(Xe(i)){const D=Object.keys(i)[0],M=i[D];v=this.chart.scales[D].getPixelForValue(M)}T=this._getYAxisLabelAlignment(f).textAlign}r==="y"&&(u==="start"?E="top":u==="end"&&(E="bottom"));const $=this._getLabelSizes();for(S=0,x=o.length;S<x;++S){O=o[S],h=O.label;const D=a.setContext(this.getContext(S));P=this.getPixelForTick(S)+a.labelOffset,k=this._resolveTickFontOptions(S),w=k.lineHeight,A=Dt(h)?h.length:1;const M=A/2,L=D.color,N=D.textStrokeColor,j=D.textStrokeWidth;let z=T;s?(v=P,T==="inner"&&(S===x-1?z=this.options.reverse?"left":"right":S===0?z=this.options.reverse?"right":"left":z="center"),i==="top"?c==="near"||b!==0?C=-A*w+w/2:c==="center"?C=-$.highest.height/2-M*w+w:C=-$.highest.height+w/2:c==="near"||b!==0?C=w/2:c==="center"?C=$.highest.height/2-M*w:C=$.highest.height-A*w,d&&(C*=-1),b!==0&&!D.showLabelBackdrop&&(v+=w/2*Math.sin(b))):(g=P,C=(1-A)*w/2);let U;if(D.showLabelBackdrop){const J=tn(D.backdropPadding),re=$.heights[S],Y=$.widths[S];let G=C-J.top,K=0-J.left;switch(E){case"middle":G-=re/2;break;case"bottom":G-=re;break}switch(T){case"center":K-=Y/2;break;case"right":K-=Y;break}U={left:K,top:G,width:Y+J.width,height:re+J.height,color:D.backdropColor}}_.push({label:h,font:k,textOffset:C,options:{rotation:b,color:L,strokeColor:N,strokeWidth:j,textAlign:z,textBaseline:E,translation:[v,g],backdrop:U}})}return _}_getXAxisLabelAlignment(){const{position:e,ticks:r}=this.options;if(-Bi(this.labelRotation))return e==="top"?"left":"right";let i="center";return r.align==="start"?i="left":r.align==="end"?i="right":r.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:r,ticks:{crossAlign:n,mirror:i,padding:a}}=this.options,s=this._getLabelSizes(),o=e+a,u=s.widest.width;let c,l;return r==="left"?i?(l=this.right+a,n==="near"?c="left":n==="center"?(c="center",l+=u/2):(c="right",l+=u)):(l=this.right-o,n==="near"?c="right":n==="center"?(c="center",l-=u/2):(c="left",l=this.left)):r==="right"?i?(l=this.left+a,n==="near"?c="right":n==="center"?(c="center",l-=u/2):(c="left",l-=u)):(l=this.left+o,n==="near"?c="left":n==="center"?(c="center",l+=u/2):(c="right",l=this.right)):c="right",{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,r=this.options.position;if(r==="left"||r==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(r==="top"||r==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:r},left:n,top:i,width:a,height:s}=this;r&&(e.save(),e.fillStyle=r,e.fillRect(n,i,a,s),e.restore())}getLineWidthForValue(e){const r=this.options.grid;if(!this._isVisible()||!r.display)return 0;const i=this.ticks.findIndex(a=>a.value===e);return i>=0?r.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const r=this.options.grid,n=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let a,s;const o=(u,c,l)=>{!l.width||!l.color||(n.save(),n.lineWidth=l.width,n.strokeStyle=l.color,n.setLineDash(l.borderDash||[]),n.lineDashOffset=l.borderDashOffset,n.beginPath(),n.moveTo(u.x,u.y),n.lineTo(c.x,c.y),n.stroke(),n.restore())};if(r.display)for(a=0,s=i.length;a<s;++a){const u=i[a];r.drawOnChartArea&&o({x:u.x1,y:u.y1},{x:u.x2,y:u.y2},u),r.drawTicks&&o({x:u.tx1,y:u.ty1},{x:u.tx2,y:u.ty2},{color:u.tickColor,width:u.tickWidth,borderDash:u.tickBorderDash,borderDashOffset:u.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:r,options:{border:n,grid:i}}=this,a=n.setContext(this.getContext()),s=n.display?a.width:0;if(!s)return;const o=i.setContext(this.getContext(0)).lineWidth,u=this._borderValue;let c,l,d,f;this.isHorizontal()?(c=lu(e,this.left,s)-s/2,l=lu(e,this.right,o)+o/2,d=f=u):(d=lu(e,this.top,s)-s/2,f=lu(e,this.bottom,o)+o/2,c=l=u),r.save(),r.lineWidth=a.width,r.strokeStyle=a.color,r.beginPath(),r.moveTo(c,d),r.lineTo(l,f),r.stroke(),r.restore()}drawLabels(e){if(!this.options.ticks.display)return;const n=this.ctx,i=this._computeLabelArea();i&&Py(n,i);const a=this.getLabelItems(e);for(const s of a){const o=s.options,u=s.font,c=s.label,l=s.textOffset;ac(n,c,0,l,u,o)}i&&Cy(n)}drawTitle(){const{ctx:e,options:{position:r,title:n,reverse:i}}=this;if(!n.display)return;const a=Sr(n.font),s=tn(n.padding),o=n.align;let u=a.lineHeight/2;r==="bottom"||r==="center"||Xe(r)?(u+=s.bottom,Dt(n.text)&&(u+=a.lineHeight*(n.text.length-1))):u+=s.top;const{titleX:c,titleY:l,maxWidth:d,rotation:f}=lOe(this,u,r,o);ac(e,n.text,0,0,a,{color:n.color,maxWidth:d,rotation:f,textAlign:cOe(o,r,i),textBaseline:"middle",translation:[c,l]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,r=e.ticks&&e.ticks.z||0,n=Le(e.grid&&e.grid.z,-1),i=Le(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==Sc.prototype.draw?[{z:r,draw:a=>{this.draw(a)}}]:[{z:n,draw:a=>{this.drawBackground(),this.drawGrid(a),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:r,draw:a=>{this.drawLabels(a)}}]}getMatchingVisibleMetas(e){const r=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",i=[];let a,s;for(a=0,s=r.length;a<s;++a){const o=r[a];o[n]===this.id&&(!e||o.type===e)&&i.push(o)}return i}_resolveTickFontOptions(e){const r=this.options.ticks.setContext(this.getContext(e));return Sr(r.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class fg{constructor(e,r,n){this.type=e,this.scope=r,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const r=Object.getPrototypeOf(e);let n;hOe(r)&&(n=this.register(r));const i=this.items,a=e.id,s=this.scope+"."+a;if(!a)throw new Error("class does not have id: "+e);return a in i||(i[a]=e,dOe(e,s,n),this.override&&rr.override(e.id,e.overrides)),s}get(e){return this.items[e]}unregister(e){const r=this.items,n=e.id,i=this.scope;n in r&&delete r[n],i&&n in rr[i]&&(delete rr[i][n],this.override&&delete ic[n])}}function dOe(t,e,r){const n=op(Object.create(null),[r?rr.get(r):{},rr.get(e),t.defaults]);rr.set(e,n),t.defaultRoutes&&fOe(e,t.defaultRoutes),t.descriptors&&rr.describe(e,t.descriptors)}function fOe(t,e){Object.keys(e).forEach(r=>{const n=r.split("."),i=n.pop(),a=[t].concat(n).join("."),s=e[r].split("."),o=s.pop(),u=s.join(".");rr.route(a,i,u,o)})}function hOe(t){return"id"in t&&"defaults"in t}class pOe{constructor(){this.controllers=new fg(zi,"datasets",!0),this.elements=new fg(Ls,"elements"),this.plugins=new fg(Object,"plugins"),this.scales=new fg(Sc,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,r,n){[...r].forEach(i=>{const a=n||this._getRegistryForType(i);n||a.isForType(i)||a===this.plugins&&i.id?this._exec(e,a,i):gt(i,s=>{const o=n||this._getRegistryForType(s);this._exec(e,o,s)})})}_exec(e,r,n){const i=kP(e);At(n["before"+i],[],n),r[e](n),At(n["after"+i],[],n)}_getRegistryForType(e){for(let r=0;r<this._typedRegistries.length;r++){const n=this._typedRegistries[r];if(n.isForType(e))return n}return this.plugins}_get(e,r,n){const i=r.get(e);if(i===void 0)throw new Error('"'+e+'" is not a registered '+n+".");return i}}var _a=new pOe;class mOe{constructor(){this._init=[]}notify(e,r,n,i){r==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const a=i?this._descriptors(e).filter(i):this._descriptors(e),s=this._notify(a,e,r,n);return r==="afterDestroy"&&(this._notify(a,e,"stop"),this._notify(this._init,e,"uninstall")),s}_notify(e,r,n,i){i=i||{};for(const a of e){const s=a.plugin,o=s[n],u=[r,i,a.options];if(At(o,u,s)===!1&&i.cancelable)return!1}return!0}invalidate(){nt(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const r=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),r}_createDescriptors(e,r){const n=e&&e.config,i=Le(n.options&&n.options.plugins,{}),a=gOe(n);return i===!1&&!r?[]:bOe(e,a,i,r)}_notifyStateChanges(e){const r=this._oldCache||[],n=this._cache,i=(a,s)=>a.filter(o=>!s.some(u=>o.plugin.id===u.plugin.id));this._notify(i(r,n),e,"stop"),this._notify(i(n,r),e,"start")}}function gOe(t){const e={},r=[],n=Object.keys(_a.plugins.items);for(let a=0;a<n.length;a++)r.push(_a.getPlugin(n[a]));const i=t.plugins||[];for(let a=0;a<i.length;a++){const s=i[a];r.indexOf(s)===-1&&(r.push(s),e[s.id]=!0)}return{plugins:r,localIds:e}}function vOe(t,e){return!e&&t===!1?null:t===!0?{}:t}function bOe(t,{plugins:e,localIds:r},n,i){const a=[],s=t.getContext();for(const o of e){const u=o.id,c=vOe(n[u],i);c!==null&&a.push({plugin:o,options:yOe(t.config,{plugin:o,local:r[u]},c,s)})}return a}function yOe(t,{plugin:e,local:r},n,i){const a=t.pluginScopeKeys(e),s=t.getOptionScopes(n,a);return r&&e.defaults&&s.push(e.defaults),t.createResolver(s,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function sT(t,e){const r=rr.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||r.indexAxis||"x"}function _Oe(t,e){let r=t;return t==="_index_"?r=e:t==="_value_"&&(r=e==="x"?"y":"x"),r}function wOe(t,e){return t===e?"_index_":"_value_"}function E8(t){if(t==="x"||t==="y"||t==="r")return t}function SOe(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function oT(t,...e){if(E8(t))return t;for(const r of e){const n=r.axis||SOe(r.position)||t.length>1&&E8(t[0].toLowerCase());if(n)return n}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function x8(t,e,r){if(r[e+"AxisID"]===t)return{axis:e}}function OOe(t,e){if(e.data&&e.data.datasets){const r=e.data.datasets.filter(n=>n.xAxisID===t||n.yAxisID===t);if(r.length)return x8(t,"x",r[0])||x8(t,"y",r[0])}return{}}function TOe(t,e){const r=ic[t.type]||{scales:{}},n=e.scales||{},i=sT(t.type,e),a=Object.create(null);return Object.keys(n).forEach(s=>{const o=n[s];if(!Xe(o))return console.error(`Invalid scale configuration for scale: ${s}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const u=oT(s,o,OOe(s,t),rr.scales[o.type]),c=wOe(u,i),l=r.scales||{};a[s]=Ch(Object.create(null),[{axis:u},o,l[u],l[c]])}),t.data.datasets.forEach(s=>{const o=s.type||t.type,u=s.indexAxis||sT(o,e),l=(ic[o]||{}).scales||{};Object.keys(l).forEach(d=>{const f=_Oe(d,u),p=s[f+"AxisID"]||f;a[p]=a[p]||Object.create(null),Ch(a[p],[{axis:f},n[p],l[d]])})}),Object.keys(a).forEach(s=>{const o=a[s];Ch(o,[rr.scales[o.type],rr.scale])}),a}function t7(t){const e=t.options||(t.options={});e.plugins=Le(e.plugins,{}),e.scales=TOe(t,e)}function r7(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function EOe(t){return t=t||{},t.data=r7(t.data),t7(t),t}const P8=new Map,n7=new Set;function hg(t,e){let r=P8.get(t);return r||(r=e(),P8.set(t,r),n7.add(r)),r}const Df=(t,e,r)=>{const n=Bo(e,r);n!==void 0&&t.add(n)};class xOe{constructor(e){this._config=EOe(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=r7(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),t7(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return hg(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,r){return hg(`${e}.transition.${r}`,()=>[[`datasets.${e}.transitions.${r}`,`transitions.${r}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,r){return hg(`${e}-${r}`,()=>[[`datasets.${e}.elements.${r}`,`datasets.${e}`,`elements.${r}`,""]])}pluginScopeKeys(e){const r=e.id,n=this.type;return hg(`${n}-plugin-${r}`,()=>[[`plugins.${r}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,r){const n=this._scopeCache;let i=n.get(e);return(!i||r)&&(i=new Map,n.set(e,i)),i}getOptionScopes(e,r,n){const{options:i,type:a}=this,s=this._cachedScopes(e,n),o=s.get(r);if(o)return o;const u=new Set;r.forEach(l=>{e&&(u.add(e),l.forEach(d=>Df(u,e,d))),l.forEach(d=>Df(u,i,d)),l.forEach(d=>Df(u,ic[a]||{},d)),l.forEach(d=>Df(u,rr,d)),l.forEach(d=>Df(u,nT,d))});const c=Array.from(u);return c.length===0&&c.push(Object.create(null)),n7.has(r)&&s.set(r,c),c}chartOptionScopes(){const{options:e,type:r}=this;return[e,ic[r]||{},rr.datasets[r]||{},{type:r},rr,nT]}resolveNamedOptions(e,r,n,i=[""]){const a={$shared:!0},{resolver:s,subPrefixes:o}=C8(this._resolverCache,e,i);let u=s;if(COe(s,r)){a.$shared=!1,n=Fo(n)?n():n;const c=this.createResolver(e,n,o);u=vd(s,n,c)}for(const c of r)a[c]=u[c];return a}createResolver(e,r,n=[""],i){const{resolver:a}=C8(this._resolverCache,e,n);return Xe(r)?vd(a,r,void 0,i):a}}function C8(t,e,r){let n=t.get(e);n||(n=new Map,t.set(e,n));const i=r.join();let a=n.get(i);return a||(a={resolver:BP(e,r),subPrefixes:r.filter(o=>!o.toLowerCase().includes("hover"))},n.set(i,a)),a}const POe=t=>Xe(t)&&Object.getOwnPropertyNames(t).reduce((e,r)=>e||Fo(t[r]),!1);function COe(t,e){const{isScriptable:r,isIndexable:n}=IU(t);for(const i of e){const a=r(i),s=n(i),o=(s||a)&&t[i];if(a&&(Fo(o)||POe(o))||s&&Dt(o))return!0}return!1}var AOe="4.3.3";const MOe=["top","bottom","left","right","chartArea"];function A8(t,e){return t==="top"||t==="bottom"||MOe.indexOf(t)===-1&&e==="x"}function M8(t,e){return function(r,n){return r[t]===n[t]?r[e]-n[e]:r[t]-n[t]}}function $8(t){const e=t.chart,r=e.options.animation;e.notifyPlugins("afterRender"),At(r&&r.onComplete,[t],e)}function $Oe(t){const e=t.chart,r=e.options.animation;At(r&&r.onProgress,[t],e)}function i7(t){return jU()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const _v={},k8=t=>{const e=i7(t);return Object.values(_v).filter(r=>r.canvas===e).pop()};function kOe(t,e,r){const n=Object.keys(t);for(const i of n){const a=+i;if(a>=e){const s=t[i];delete t[i],(r>0||a>e)&&(t[a+r]=s)}}}function DOe(t,e,r,n){return!r||t.type==="mouseout"?null:n?e:t}function IOe(t){const{xScale:e,yScale:r}=t;if(e&&r)return{left:e.left,right:e.right,top:r.top,bottom:r.bottom}}class bu{static register(...e){_a.add(...e),D8()}static unregister(...e){_a.remove(...e),D8()}constructor(e,r){const n=this.config=new xOe(r),i=i7(e),a=k8(i);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");const s=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||JSe(i)),this.platform.updateConfig(n);const o=this.platform.acquireContext(i,s.aspectRatio),u=o&&o.canvas,c=u&&u.height,l=u&&u.width;if(this.id=Nwe(),this.ctx=o,this.canvas=u,this.width=l,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new mOe,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Qwe(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],_v[this.id]=this,!o||!u){console.error("Failed to create chart: can't acquire context from the given item");return}rs.listen(this,"complete",$8),rs.listen(this,"progress",$Oe),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:r},width:n,height:i,_aspectRatio:a}=this;return nt(e)?r&&a?a:i?n/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return _a}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():e8(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return JR(this.canvas,this.ctx),this}stop(){return rs.stop(this),this}resize(e,r){rs.running(this)?this._resizeBeforeDraw={width:e,height:r}:this._resize(e,r)}_resize(e,r){const n=this.options,i=this.canvas,a=n.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,e,r,a),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,e8(this,o,!0)&&(this.notifyPlugins("resize",{size:s}),At(n.onResize,[this,s],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){const r=this.options.scales||{};gt(r,(n,i)=>{n.id=i})}buildOrUpdateScales(){const e=this.options,r=e.scales,n=this.scales,i=Object.keys(n).reduce((s,o)=>(s[o]=!1,s),{});let a=[];r&&(a=a.concat(Object.keys(r).map(s=>{const o=r[s],u=oT(s,o),c=u==="r",l=u==="x";return{options:o,dposition:c?"chartArea":l?"bottom":"left",dtype:c?"radialLinear":l?"category":"linear"}}))),gt(a,s=>{const o=s.options,u=o.id,c=oT(u,o),l=Le(o.type,s.dtype);(o.position===void 0||A8(o.position,c)!==A8(s.dposition))&&(o.position=s.dposition),i[u]=!0;let d=null;if(u in n&&n[u].type===l)d=n[u];else{const f=_a.getScale(l);d=new f({id:u,type:l,ctx:this.ctx,chart:this}),n[d.id]=d}d.init(o,e)}),gt(i,(s,o)=>{s||delete n[o]}),gt(n,s=>{qr.configure(this,s,s.options),qr.addBox(this,s)})}_updateMetasets(){const e=this._metasets,r=this.data.datasets.length,n=e.length;if(e.sort((i,a)=>i.index-a.index),n>r){for(let i=r;i<n;++i)this._destroyDatasetMeta(i);e.splice(r,n-r)}this._sortedMetasets=e.slice(0).sort(M8("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:r}}=this;e.length>r.length&&delete this._stacks,e.forEach((n,i)=>{r.filter(a=>a===n._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=[],r=this.data.datasets;let n,i;for(this._removeUnreferencedMetasets(),n=0,i=r.length;n<i;n++){const a=r[n];let s=this.getDatasetMeta(n);const o=a.type||this.config.type;if(s.type&&s.type!==o&&(this._destroyDatasetMeta(n),s=this.getDatasetMeta(n)),s.type=o,s.indexAxis=a.indexAxis||sT(o,this.options),s.order=a.order||0,s.index=n,s.label=""+a.label,s.visible=this.isDatasetVisible(n),s.controller)s.controller.updateIndex(n),s.controller.linkScales();else{const u=_a.getController(o),{datasetElementType:c,dataElementType:l}=rr.datasets[o];Object.assign(u,{dataElementType:_a.getElement(l),datasetElementType:c&&_a.getElement(c)}),s.controller=new u(this,n),e.push(s.controller)}}return this._updateMetasets(),e}_resetElements(){gt(this.data.datasets,(e,r)=>{this.getDatasetMeta(r).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const r=this.config;r.update();const n=this._options=r.createResolver(r.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const a=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,l=this.data.datasets.length;c<l;c++){const{controller:d}=this.getDatasetMeta(c),f=!i&&a.indexOf(d)===-1;d.buildOrUpdateElements(f),s=Math.max(+d.getMaxOverflow(),s)}s=this._minPadding=n.layout.autoPadding?s:0,this._updateLayout(s),i||gt(a,c=>{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(M8("z","_idx"));const{_active:o,_lastEvent:u}=this;u?this._eventHandler(u,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){gt(this.scales,e=>{qr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,r=new Set(Object.keys(this._listeners)),n=new Set(e.events);(!zR(r,n)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,r=this._getUniformDataChanges()||[];for(const{method:n,start:i,count:a}of r){const s=n==="_removeElements"?-a:a;kOe(e,i,s)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const r=this.data.datasets.length,n=a=>new Set(e.filter(s=>s[0]===a).map((s,o)=>o+","+s.splice(1).join(","))),i=n(0);for(let a=1;a<r;a++)if(!zR(i,n(a)))return;return Array.from(i).map(a=>a.split(",")).map(a=>({method:a[1],start:+a[2],count:+a[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;qr.update(this,this.width,this.height,e);const r=this.chartArea,n=r.width<=0||r.height<=0;this._layers=[],gt(this.boxes,i=>{n&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,a)=>{i._idx=a}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let r=0,n=this.data.datasets.length;r<n;++r)this.getDatasetMeta(r).controller.configure();for(let r=0,n=this.data.datasets.length;r<n;++r)this._updateDataset(r,Fo(e)?e({datasetIndex:r}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,r){const n=this.getDatasetMeta(e),i={meta:n,index:e,mode:r,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",i)!==!1&&(n.controller._update(r),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(rs.has(this)?this.attached&&!rs.running(this)&&rs.start(this):(this.draw(),$8({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:n,height:i}=this._resizeBeforeDraw;this._resize(n,i),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const r=this._layers;for(e=0;e<r.length&&r[e].z<=0;++e)r[e].draw(this.chartArea);for(this._drawDatasets();e<r.length;++e)r[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const r=this._sortedMetasets,n=[];let i,a;for(i=0,a=r.length;i<a;++i){const s=r[i];(!e||s.visible)&&n.push(s)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let r=e.length-1;r>=0;--r)this._drawDataset(e[r]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const r=this.ctx,n=e._clip,i=!n.disabled,a=IOe(e)||this.chartArea,s={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&Py(r,{left:n.left===!1?0:a.left-n.left,right:n.right===!1?this.width:a.right+n.right,top:n.top===!1?0:a.top-n.top,bottom:n.bottom===!1?this.height:a.bottom+n.bottom}),e.controller.draw(),i&&Cy(r),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(e){return _s(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,r,n,i){const a=MSe.modes[r];return typeof a=="function"?a(this,e,n,i):[]}getDatasetMeta(e){const r=this.data.datasets[e],n=this._metasets;let i=n.filter(a=>a&&a._dataset===r).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:r&&r.order||0,index:e,_dataset:r,_parsed:[],_sorted:!1},n.push(i)),i}getContext(){return this.$context||(this.$context=Yo(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const r=this.data.datasets[e];if(!r)return!1;const n=this.getDatasetMeta(e);return typeof n.hidden=="boolean"?!n.hidden:!r.hidden}setDatasetVisibility(e,r){const n=this.getDatasetMeta(e);n.hidden=!r}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,r,n){const i=n?"show":"hide",a=this.getDatasetMeta(e),s=a.controller._resolveAnimations(void 0,i);up(r)?(a.data[r].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),s.update(a,{visible:n}),this.update(o=>o.datasetIndex===e?i:void 0))}hide(e,r){this._updateVisibility(e,r,!1)}show(e,r){this._updateVisibility(e,r,!0)}_destroyDatasetMeta(e){const r=this._metasets[e];r&&r.controller&&r.controller._destroy(),delete this._metasets[e]}_stop(){let e,r;for(this.stop(),rs.remove(this),e=0,r=this.data.datasets.length;e<r;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:r}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),JR(e,r),this.platform.releaseContext(r),this.canvas=null,this.ctx=null),delete _v[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,r=this.platform,n=(a,s)=>{r.addEventListener(this,a,s),e[a]=s},i=(a,s,o)=>{a.offsetX=s,a.offsetY=o,this._eventHandler(a)};gt(this.options.events,a=>n(a,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,r=this.platform,n=(u,c)=>{r.addEventListener(this,u,c),e[u]=c},i=(u,c)=>{e[u]&&(r.removeEventListener(this,u,c),delete e[u])},a=(u,c)=>{this.canvas&&this.resize(u,c)};let s;const o=()=>{i("attach",o),this.attached=!0,this.resize(),n("resize",a),n("detach",s)};s=()=>{this.attached=!1,i("resize",a),this._stop(),this._resize(0,0),n("attach",o)},r.isAttached(this.canvas)?o():s()}unbindEvents(){gt(this._listeners,(e,r)=>{this.platform.removeEventListener(this,r,e)}),this._listeners={},gt(this._responsiveListeners,(e,r)=>{this.platform.removeEventListener(this,r,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,r,n){const i=n?"set":"remove";let a,s,o,u;for(r==="dataset"&&(a=this.getDatasetMeta(e[0].datasetIndex),a.controller["_"+i+"DatasetHoverStyle"]()),o=0,u=e.length;o<u;++o){s=e[o];const c=s&&this.getDatasetMeta(s.datasetIndex).controller;c&&c[i+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const r=this._active||[],n=e.map(({datasetIndex:a,index:s})=>{const o=this.getDatasetMeta(a);if(!o)throw new Error("No dataset found at index "+a);return{datasetIndex:a,element:o.data[s],index:s}});!G0(n,r)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,r))}notifyPlugins(e,r,n){return this._plugins.notify(this,e,r,n)}isPluginEnabled(e){return this._plugins._cache.filter(r=>r.plugin.id===e).length===1}_updateHoverStyles(e,r,n){const i=this.options.hover,a=(u,c)=>u.filter(l=>!c.some(d=>l.datasetIndex===d.datasetIndex&&l.index===d.index)),s=a(r,e),o=n?e:a(e,r);s.length&&this.updateHoverStyle(s,i.mode,!1),o.length&&i.mode&&this.updateHoverStyle(o,i.mode,!0)}_eventHandler(e,r){const n={event:e,replay:r,cancelable:!0,inChartArea:this.isPointInArea(e)},i=s=>(s.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",n,i)===!1)return;const a=this._handleEvent(e,r,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,i),(a||n.changed)&&this.render(),this}_handleEvent(e,r,n){const{_active:i=[],options:a}=this,s=r,o=this._getActiveElements(e,i,n,s),u=Vwe(e),c=DOe(e,this._lastEvent,n,u);n&&(this._lastEvent=null,At(a.onHover,[e,o,this],this),u&&At(a.onClick,[e,o,this],this));const l=!G0(o,i);return(l||r)&&(this._active=o,this._updateHoverStyles(o,i,r)),this._lastEvent=c,l}_getActiveElements(e,r,n,i){if(e.type==="mouseout")return[];if(!n)return r;const a=this.options.hover;return this.getElementsAtEventForMode(e,a.mode,a,i)}}ae(bu,"defaults",rr),ae(bu,"instances",_v),ae(bu,"overrides",ic),ae(bu,"registry",_a),ae(bu,"version",AOe),ae(bu,"getChart",k8);function D8(){return gt(bu.instances,t=>t._plugins.invalidate())}function ROe(t,e,r){const{startAngle:n,pixelMargin:i,x:a,y:s,outerRadius:o,innerRadius:u}=e;let c=i/o;t.beginPath(),t.arc(a,s,o,n-c,r+c),u>i?(c=i/u,t.arc(a,s,u,r+c,n-c,!0)):t.arc(a,s,i,r+tr,n-tr),t.closePath(),t.clip()}function LOe(t){return NP(t,["outerStart","outerEnd","innerStart","innerEnd"])}function NOe(t,e,r,n){const i=LOe(t.options.borderRadius),a=(r-e)/2,s=Math.min(a,n*e/2),o=u=>{const c=(r-Math.min(a,u))*n/2;return Rr(u,0,Math.min(a,c))};return{outerStart:o(i.outerStart),outerEnd:o(i.outerEnd),innerStart:Rr(i.innerStart,0,s),innerEnd:Rr(i.innerEnd,0,s)}}function nl(t,e,r,n){return{x:r+t*Math.cos(e),y:n+t*Math.sin(e)}}function J0(t,e,r,n,i,a){const{x:s,y:o,startAngle:u,pixelMargin:c,innerRadius:l}=e,d=Math.max(e.outerRadius+n+r-c,0),f=l>0?l+n+r+c:0;let p=0;const m=i-u;if(n){const D=l>0?l-n:0,M=d>0?d-n:0,L=(D+M)/2,N=L!==0?m*L/(L+n):m;p=(m-N)/2}const b=Math.max(.001,m*d-r/zt)/d,_=(m-b)/2,S=u+_+p,x=i-_-p,{outerStart:O,outerEnd:h,innerStart:v,innerEnd:g}=NOe(e,f,d,x-S),T=d-O,P=d-h,k=S+O/T,w=x-h/P,A=f+v,C=f+g,E=S+v/A,$=x-g/C;if(t.beginPath(),a){const D=(k+w)/2;if(t.arc(s,o,d,k,D),t.arc(s,o,d,D,w),h>0){const j=nl(P,w,s,o);t.arc(j.x,j.y,h,w,x+tr)}const M=nl(C,x,s,o);if(t.lineTo(M.x,M.y),g>0){const j=nl(C,$,s,o);t.arc(j.x,j.y,g,x+tr,$+Math.PI)}const L=(x-g/f+(S+v/f))/2;if(t.arc(s,o,f,x-g/f,L,!0),t.arc(s,o,f,L,S+v/f,!0),v>0){const j=nl(A,E,s,o);t.arc(j.x,j.y,v,E+Math.PI,S-tr)}const N=nl(T,S,s,o);if(t.lineTo(N.x,N.y),O>0){const j=nl(T,k,s,o);t.arc(j.x,j.y,O,S-tr,k)}}else{t.moveTo(s,o);const D=Math.cos(k)*d+s,M=Math.sin(k)*d+o;t.lineTo(D,M);const L=Math.cos(w)*d+s,N=Math.sin(w)*d+o;t.lineTo(L,N)}t.closePath()}function BOe(t,e,r,n,i){const{fullCircles:a,startAngle:s,circumference:o}=e;let u=e.endAngle;if(a){J0(t,e,r,n,u,i);for(let c=0;c<a;++c)t.fill();isNaN(o)||(u=s+(o%It||It))}return J0(t,e,r,n,u,i),t.fill(),u}function FOe(t,e,r,n,i){const{fullCircles:a,startAngle:s,circumference:o,options:u}=e,{borderWidth:c,borderJoinStyle:l,borderDash:d,borderDashOffset:f}=u,p=u.borderAlign==="inner";if(!c)return;t.setLineDash(d||[]),t.lineDashOffset=f,p?(t.lineWidth=c*2,t.lineJoin=l||"round"):(t.lineWidth=c,t.lineJoin=l||"bevel");let m=e.endAngle;if(a){J0(t,e,r,n,m,i);for(let b=0;b<a;++b)t.stroke();isNaN(o)||(m=s+(o%It||It))}p&&ROe(t,e,m),a||(J0(t,e,r,n,m,i),t.stroke())}class oh extends Ls{constructor(r){super();ae(this,"circumference");ae(this,"endAngle");ae(this,"fullCircles");ae(this,"innerRadius");ae(this,"outerRadius");ae(this,"pixelMargin");ae(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,r&&Object.assign(this,r)}inRange(r,n,i){const a=this.getProps(["x","y"],i),{angle:s,distance:o}=TU(a,{x:r,y:n}),{startAngle:u,endAngle:c,innerRadius:l,outerRadius:d,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),p=(this.options.spacing+this.options.borderWidth)/2,b=Le(f,c-u)>=It||cp(s,u,c),_=bs(o,l+p,d+p);return b&&_}getCenterPoint(r){const{x:n,y:i,startAngle:a,endAngle:s,innerRadius:o,outerRadius:u}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],r),{offset:c,spacing:l}=this.options,d=(a+s)/2,f=(o+u+l+c)/2;return{x:n+Math.cos(d)*f,y:i+Math.sin(d)*f}}tooltipPosition(r){return this.getCenterPoint(r)}draw(r){const{options:n,circumference:i}=this,a=(n.offset||0)/4,s=(n.spacing||0)/2,o=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=i>It?Math.floor(i/It):0,i===0||this.innerRadius<0||this.outerRadius<0)return;r.save();const u=(this.startAngle+this.endAngle)/2;r.translate(Math.cos(u)*a,Math.sin(u)*a);const c=1-Math.sin(Math.min(zt,i||0)),l=a*c;r.fillStyle=n.backgroundColor,r.strokeStyle=n.borderColor,BOe(r,this,l,s,o),FOe(r,this,l,s,o),r.restore()}}ae(oh,"id","arc"),ae(oh,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),ae(oh,"defaultRoutes",{backgroundColor:"backgroundColor"}),ae(oh,"descriptors",{_scriptable:!0,_indexable:r=>r!=="borderDash"});function a7(t,e,r=e){t.lineCap=Le(r.borderCapStyle,e.borderCapStyle),t.setLineDash(Le(r.borderDash,e.borderDash)),t.lineDashOffset=Le(r.borderDashOffset,e.borderDashOffset),t.lineJoin=Le(r.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Le(r.borderWidth,e.borderWidth),t.strokeStyle=Le(r.borderColor,e.borderColor)}function jOe(t,e,r){t.lineTo(r.x,r.y)}function HOe(t){return t.stepped?d1e:t.tension||t.cubicInterpolationMode==="monotone"?f1e:jOe}function s7(t,e,r={}){const n=t.length,{start:i=0,end:a=n-1}=r,{start:s,end:o}=e,u=Math.max(i,s),c=Math.min(a,o),l=i<s&&a<s||i>o&&a>o;return{count:n,start:u,loop:e.loop,ilen:c<u&&!l?n+c-u:c-u}}function zOe(t,e,r,n){const{points:i,options:a}=e,{count:s,start:o,loop:u,ilen:c}=s7(i,r,n),l=HOe(a);let{move:d=!0,reverse:f}=n||{},p,m,b;for(p=0;p<=c;++p)m=i[(o+(f?c-p:p))%s],!m.skip&&(d?(t.moveTo(m.x,m.y),d=!1):l(t,b,m,f,a.stepped),b=m);return u&&(m=i[(o+(f?c:0))%s],l(t,b,m,f,a.stepped)),!!u}function VOe(t,e,r,n){const i=e.points,{count:a,start:s,ilen:o}=s7(i,r,n),{move:u=!0,reverse:c}=n||{};let l=0,d=0,f,p,m,b,_,S;const x=h=>(s+(c?o-h:h))%a,O=()=>{b!==_&&(t.lineTo(l,_),t.lineTo(l,b),t.lineTo(l,S))};for(u&&(p=i[x(0)],t.moveTo(p.x,p.y)),f=0;f<=o;++f){if(p=i[x(f)],p.skip)continue;const h=p.x,v=p.y,g=h|0;g===m?(v<b?b=v:v>_&&(_=v),l=(d*l+h)/++d):(O(),t.lineTo(h,v),m=g,d=0,b=_=v),S=v}O()}function uT(t){const e=t.options,r=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!r?VOe:zOe}function UOe(t){return t.stepped?U1e:t.tension||t.cubicInterpolationMode==="monotone"?G1e:vu}function GOe(t,e,r,n){let i=e._path;i||(i=e._path=new Path2D,e.path(i,r,n)&&i.closePath()),a7(t,e.options),t.stroke(i)}function WOe(t,e,r,n){const{segments:i,options:a}=e,s=uT(e);for(const o of i)a7(t,a,o.style),t.beginPath(),s(t,e,o,{start:r,end:r+n-1})&&t.closePath(),t.stroke()}const YOe=typeof Path2D=="function";function KOe(t,e,r,n){YOe&&!e.options.segment?GOe(t,e,r,n):WOe(t,e,r,n)}class mo extends Ls{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,r){const n=this.options;if((n.tension||n.cubicInterpolationMode==="monotone")&&!n.stepped&&!this._pointsUpdated){const i=n.spanGaps?this._loop:this._fullLoop;L1e(this._points,n,e,i,r),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=J1e(this,this.options.segment))}first(){const e=this.segments,r=this.points;return e.length&&r[e[0].start]}last(){const e=this.segments,r=this.points,n=e.length;return n&&r[e[n-1].end]}interpolate(e,r){const n=this.options,i=e[r],a=this.points,s=GU(this,{property:r,start:i,end:i});if(!s.length)return;const o=[],u=UOe(n);let c,l;for(c=0,l=s.length;c<l;++c){const{start:d,end:f}=s[c],p=a[d],m=a[f];if(p===m){o.push(p);continue}const b=Math.abs((i-p[r])/(m[r]-p[r])),_=u(p,m,b,n.stepped);_[r]=e[r],o.push(_)}return o.length===1?o[0]:o}pathSegment(e,r,n){return uT(this)(e,this,r,n)}path(e,r,n){const i=this.segments,a=uT(this);let s=this._loop;r=r||0,n=n||this.points.length-r;for(const o of i)s&=a(e,this,o,{start:r,end:r+n-1});return!!s}draw(e,r,n,i){const a=this.options||{};(this.points||[]).length&&a.borderWidth&&(e.save(),KOe(e,this,n,i),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}ae(mo,"id","line"),ae(mo,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),ae(mo,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),ae(mo,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function I8(t,e,r,n){const i=t.options,{[r]:a}=t.getProps([r],n);return Math.abs(e-a)<i.radius+i.hitRadius}class wv extends Ls{constructor(r){super();ae(this,"parsed");ae(this,"skip");ae(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,r&&Object.assign(this,r)}inRange(r,n,i){const a=this.options,{x:s,y:o}=this.getProps(["x","y"],i);return Math.pow(r-s,2)+Math.pow(n-o,2)<Math.pow(a.hitRadius+a.radius,2)}inXRange(r,n){return I8(this,r,"x",n)}inYRange(r,n){return I8(this,r,"y",n)}getCenterPoint(r){const{x:n,y:i}=this.getProps(["x","y"],r);return{x:n,y:i}}size(r){r=r||this.options||{};let n=r.radius||0;n=Math.max(n,n&&r.hoverRadius||0);const i=n&&r.borderWidth||0;return(n+i)*2}draw(r,n){const i=this.options;this.skip||i.radius<.1||!_s(this,n,this.size(i)/2)||(r.strokeStyle=i.borderColor,r.lineWidth=i.borderWidth,r.fillStyle=i.backgroundColor,iT(r,i,this.x,this.y))}getRange(){const r=this.options||{};return r.radius+r.hitRadius}}ae(wv,"id","point"),ae(wv,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),ae(wv,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function o7(t,e){const{x:r,y:n,base:i,width:a,height:s}=t.getProps(["x","y","base","width","height"],e);let o,u,c,l,d;return t.horizontal?(d=s/2,o=Math.min(r,i),u=Math.max(r,i),c=n-d,l=n+d):(d=a/2,o=r-d,u=r+d,c=Math.min(n,i),l=Math.max(n,i)),{left:o,top:c,right:u,bottom:l}}function go(t,e,r,n){return t?0:Rr(e,r,n)}function qOe(t,e,r){const n=t.options.borderWidth,i=t.borderSkipped,a=DU(n);return{t:go(i.top,a.top,0,r),r:go(i.right,a.right,0,e),b:go(i.bottom,a.bottom,0,r),l:go(i.left,a.left,0,e)}}function XOe(t,e,r){const{enableBorderRadius:n}=t.getProps(["enableBorderRadius"]),i=t.options.borderRadius,a=Lu(i),s=Math.min(e,r),o=t.borderSkipped,u=n||Xe(i);return{topLeft:go(!u||o.top||o.left,a.topLeft,0,s),topRight:go(!u||o.top||o.right,a.topRight,0,s),bottomLeft:go(!u||o.bottom||o.left,a.bottomLeft,0,s),bottomRight:go(!u||o.bottom||o.right,a.bottomRight,0,s)}}function JOe(t){const e=o7(t),r=e.right-e.left,n=e.bottom-e.top,i=qOe(t,r/2,n/2),a=XOe(t,r/2,n/2);return{outer:{x:e.left,y:e.top,w:r,h:n,radius:a},inner:{x:e.left+i.l,y:e.top+i.t,w:r-i.l-i.r,h:n-i.t-i.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,a.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(i.b,i.r))}}}}function S1(t,e,r,n){const i=e===null,a=r===null,o=t&&!(i&&a)&&o7(t,n);return o&&(i||bs(e,o.left,o.right))&&(a||bs(r,o.top,o.bottom))}function ZOe(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function QOe(t,e){t.rect(e.x,e.y,e.w,e.h)}function O1(t,e,r={}){const n=t.x!==r.x?-e:0,i=t.y!==r.y?-e:0,a=(t.x+t.w!==r.x+r.w?e:0)-n,s=(t.y+t.h!==r.y+r.h?e:0)-i;return{x:t.x+n,y:t.y+i,w:t.w+a,h:t.h+s,radius:t.radius}}class Sv extends Ls{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:r,options:{borderColor:n,backgroundColor:i}}=this,{inner:a,outer:s}=JOe(this),o=ZOe(s.radius)?lp:QOe;e.save(),(s.w!==a.w||s.h!==a.h)&&(e.beginPath(),o(e,O1(s,r,a)),e.clip(),o(e,O1(a,-r,s)),e.fillStyle=n,e.fill("evenodd")),e.beginPath(),o(e,O1(a,r)),e.fillStyle=i,e.fill(),e.restore()}inRange(e,r,n){return S1(this,e,r,n)}inXRange(e,r){return S1(this,e,null,r)}inYRange(e,r){return S1(this,null,e,r)}getCenterPoint(e){const{x:r,y:n,base:i,horizontal:a}=this.getProps(["x","y","base","horizontal"],e);return{x:a?(r+i)/2:r,y:a?n:(n+i)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}ae(Sv,"id","bar"),ae(Sv,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),ae(Sv,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var eTe=Object.freeze({__proto__:null,ArcElement:oh,BarElement:Sv,LineElement:mo,PointElement:wv});const cT=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],R8=cT.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function u7(t){return cT[t%cT.length]}function c7(t){return R8[t%R8.length]}function tTe(t,e){return t.borderColor=u7(e),t.backgroundColor=c7(e),++e}function rTe(t,e){return t.backgroundColor=t.data.map(()=>u7(e++)),e}function nTe(t,e){return t.backgroundColor=t.data.map(()=>c7(e++)),e}function iTe(t){let e=0;return(r,n)=>{const i=t.getDatasetMeta(n).controller;i instanceof Pu?e=rTe(r,e):i instanceof kh?e=nTe(r,e):i&&(e=tTe(r,e))}}function L8(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}function aTe(t){return t&&(t.borderColor||t.backgroundColor)}var sTe={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,r){if(!r.enabled)return;const{data:{datasets:n},options:i}=t.config,{elements:a}=i;if(!r.forceOverride&&(L8(n)||aTe(i)||a&&L8(a)))return;const s=iTe(t);n.forEach(s)}};function oTe(t,e,r,n,i){const a=i.samples||n;if(a>=r)return t.slice(e,e+r);const s=[],o=(r-2)/(a-2);let u=0;const c=e+r-1;let l=e,d,f,p,m,b;for(s[u++]=t[l],d=0;d<a-2;d++){let _=0,S=0,x;const O=Math.floor((d+1)*o)+1+e,h=Math.min(Math.floor((d+2)*o)+1,r)+e,v=h-O;for(x=O;x<h;x++)_+=t[x].x,S+=t[x].y;_/=v,S/=v;const g=Math.floor(d*o)+1+e,T=Math.min(Math.floor((d+1)*o)+1,r)+e,{x:P,y:k}=t[l];for(p=m=-1,x=g;x<T;x++)m=.5*Math.abs((P-_)*(t[x].y-k)-(P-t[x].x)*(S-k)),m>p&&(p=m,f=t[x],b=x);s[u++]=f,l=b}return s[u++]=t[c],s}function uTe(t,e,r,n){let i=0,a=0,s,o,u,c,l,d,f,p,m,b;const _=[],S=e+r-1,x=t[e].x,h=t[S].x-x;for(s=e;s<e+r;++s){o=t[s],u=(o.x-x)/h*n,c=o.y;const v=u|0;if(v===l)c<m?(m=c,d=s):c>b&&(b=c,f=s),i=(a*i+o.x)/++a;else{const g=s-1;if(!nt(d)&&!nt(f)){const T=Math.min(d,f),P=Math.max(d,f);T!==p&&T!==g&&_.push({...t[T],x:i}),P!==p&&P!==g&&_.push({...t[P],x:i})}s>0&&g!==p&&_.push(t[g]),_.push(o),l=v,a=0,m=b=c,d=f=p=s}}return _}function l7(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function N8(t){t.data.datasets.forEach(e=>{l7(e)})}function cTe(t,e){const r=e.length;let n=0,i;const{iScale:a}=t,{min:s,max:o,minDefined:u,maxDefined:c}=a.getUserBounds();return u&&(n=Rr(ys(e,a.axis,s).lo,0,r-1)),c?i=Rr(ys(e,a.axis,o).hi+1,n,r)-n:i=r-n,{start:n,count:i}}var lTe={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,r)=>{if(!r.enabled){N8(t);return}const n=t.width;t.data.datasets.forEach((i,a)=>{const{_data:s,indexAxis:o}=i,u=t.getDatasetMeta(a),c=s||i.data;if(ah([o,t.options.indexAxis])==="y"||!u.controller.supportsDecimation)return;const l=t.scales[u.xAxisID];if(l.type!=="linear"&&l.type!=="time"||t.options.parsing)return;let{start:d,count:f}=cTe(u,c);const p=r.threshold||4*n;if(f<=p){l7(i);return}nt(s)&&(i._data=c,delete i.data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(b){this._data=b}}));let m;switch(r.algorithm){case"lttb":m=oTe(c,d,f,n,r);break;case"min-max":m=uTe(c,d,f,n);break;default:throw new Error(`Unsupported decimation algorithm '${r.algorithm}'`)}i._decimated=m})},destroy(t){N8(t)}};function dTe(t,e,r){const n=t.segments,i=t.points,a=e.points,s=[];for(const o of n){let{start:u,end:c}=o;c=VP(u,c,i);const l=lT(r,i[u],i[c],o.loop);if(!e.segments){s.push({source:o,target:l,start:i[u],end:i[c]});continue}const d=GU(e,l);for(const f of d){const p=lT(r,a[f.start],a[f.end],f.loop),m=UU(o,i,p);for(const b of m)s.push({source:b,target:f,start:{[r]:B8(l,p,"start",Math.max)},end:{[r]:B8(l,p,"end",Math.min)}})}}return s}function lT(t,e,r,n){if(n)return;let i=e[t],a=r[t];return t==="angle"&&(i=qn(i),a=qn(a)),{property:t,start:i,end:a}}function fTe(t,e){const{x:r=null,y:n=null}=t||{},i=e.points,a=[];return e.segments.forEach(({start:s,end:o})=>{o=VP(s,o,i);const u=i[s],c=i[o];n!==null?(a.push({x:u.x,y:n}),a.push({x:c.x,y:n})):r!==null&&(a.push({x:r,y:u.y}),a.push({x:r,y:c.y}))}),a}function VP(t,e,r){for(;e>t;e--){const n=r[e];if(!isNaN(n.x)&&!isNaN(n.y))break}return e}function B8(t,e,r,n){return t&&e?n(t[r],e[r]):t?t[r]:e?e[r]:0}function d7(t,e){let r=[],n=!1;return Dt(t)?(n=!0,r=t):r=fTe(t,e),r.length?new mo({points:r,options:{tension:0},_loop:n,_fullLoop:n}):null}function F8(t){return t&&t.fill!==!1}function hTe(t,e,r){let i=t[e].fill;const a=[e];let s;if(!r)return i;for(;i!==!1&&a.indexOf(i)===-1;){if(!er(i))return i;if(s=t[i],!s)return!1;if(s.visible)return i;a.push(i),i=s.fill}return!1}function pTe(t,e,r){const n=bTe(t);if(Xe(n))return isNaN(n.value)?!1:n;let i=parseFloat(n);return er(i)&&Math.floor(i)===i?mTe(n[0],e,i,r):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function mTe(t,e,r,n){return(t==="-"||t==="+")&&(r=e+r),r===e||r<0||r>=n?!1:r}function gTe(t,e){let r=null;return t==="start"?r=e.bottom:t==="end"?r=e.top:Xe(t)?r=e.getPixelForValue(t.value):e.getBasePixel&&(r=e.getBasePixel()),r}function vTe(t,e,r){let n;return t==="start"?n=r:t==="end"?n=e.options.reverse?e.min:e.max:Xe(t)?n=t.value:n=e.getBaseValue(),n}function bTe(t){const e=t.options,r=e.fill;let n=Le(r&&r.target,r);return n===void 0&&(n=!!e.backgroundColor),n===!1||n===null?!1:n===!0?"origin":n}function yTe(t){const{scale:e,index:r,line:n}=t,i=[],a=n.segments,s=n.points,o=_Te(e,r);o.push(d7({x:null,y:e.bottom},n));for(let u=0;u<a.length;u++){const c=a[u];for(let l=c.start;l<=c.end;l++)wTe(i,s[l],o)}return new mo({points:i,options:{}})}function _Te(t,e){const r=[],n=t.getMatchingVisibleMetas("line");for(let i=0;i<n.length;i++){const a=n[i];if(a.index===e)break;a.hidden||r.unshift(a.dataset)}return r}function wTe(t,e,r){const n=[];for(let i=0;i<r.length;i++){const a=r[i],{first:s,last:o,point:u}=STe(a,e,"x");if(!(!u||s&&o)){if(s)n.unshift(u);else if(t.push(u),!o)break}}t.push(...n)}function STe(t,e,r){const n=t.interpolate(e,r);if(!n)return{};const i=n[r],a=t.segments,s=t.points;let o=!1,u=!1;for(let c=0;c<a.length;c++){const l=a[c],d=s[l.start][r],f=s[l.end][r];if(bs(i,d,f)){o=i===d,u=i===f;break}}return{first:o,last:u,point:n}}class f7{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,r,n){const{x:i,y:a,radius:s}=this;return r=r||{start:0,end:It},e.arc(i,a,s,r.end,r.start,!0),!n.bounds}interpolate(e){const{x:r,y:n,radius:i}=this,a=e.angle;return{x:r+Math.cos(a)*i,y:n+Math.sin(a)*i,angle:a}}}function OTe(t){const{chart:e,fill:r,line:n}=t;if(er(r))return TTe(e,r);if(r==="stack")return yTe(t);if(r==="shape")return!0;const i=ETe(t);return i instanceof f7?i:d7(i,n)}function TTe(t,e){const r=t.getDatasetMeta(e);return r&&t.isDatasetVisible(e)?r.dataset:null}function ETe(t){return(t.scale||{}).getPointPositionForValue?PTe(t):xTe(t)}function xTe(t){const{scale:e={},fill:r}=t,n=gTe(r,e);if(er(n)){const i=e.isHorizontal();return{x:i?n:null,y:i?null:n}}return null}function PTe(t){const{scale:e,fill:r}=t,n=e.options,i=e.getLabels().length,a=n.reverse?e.max:e.min,s=vTe(r,e,a),o=[];if(n.grid.circular){const u=e.getPointPositionForValue(0,a);return new f7({x:u.x,y:u.y,radius:e.getDistanceFromCenterForValue(s)})}for(let u=0;u<i;++u)o.push(e.getPointPositionForValue(u,s));return o}function T1(t,e,r){const n=OTe(e),{line:i,scale:a,axis:s}=e,o=i.options,u=o.fill,c=o.backgroundColor,{above:l=c,below:d=c}=u||{};n&&i.points.length&&(Py(t,r),CTe(t,{line:i,target:n,above:l,below:d,area:r,scale:a,axis:s}),Cy(t))}function CTe(t,e){const{line:r,target:n,above:i,below:a,area:s,scale:o}=e,u=r._loop?"angle":e.axis;t.save(),u==="x"&&a!==i&&(j8(t,n,s.top),H8(t,{line:r,target:n,color:i,scale:o,property:u}),t.restore(),t.save(),j8(t,n,s.bottom)),H8(t,{line:r,target:n,color:a,scale:o,property:u}),t.restore()}function j8(t,e,r){const{segments:n,points:i}=e;let a=!0,s=!1;t.beginPath();for(const o of n){const{start:u,end:c}=o,l=i[u],d=i[VP(u,c,i)];a?(t.moveTo(l.x,l.y),a=!1):(t.lineTo(l.x,r),t.lineTo(l.x,l.y)),s=!!e.pathSegment(t,o,{move:s}),s?t.closePath():t.lineTo(d.x,r)}t.lineTo(e.first().x,r),t.closePath(),t.clip()}function H8(t,e){const{line:r,target:n,property:i,color:a,scale:s}=e,o=dTe(r,n,i);for(const{source:u,target:c,start:l,end:d}of o){const{style:{backgroundColor:f=a}={}}=u,p=n!==!0;t.save(),t.fillStyle=f,ATe(t,s,p&&lT(i,l,d)),t.beginPath();const m=!!r.pathSegment(t,u);let b;if(p){m?t.closePath():z8(t,n,d,i);const _=!!n.pathSegment(t,c,{move:m,reverse:!0});b=m&&_,b||z8(t,n,l,i)}t.closePath(),t.fill(b?"evenodd":"nonzero"),t.restore()}}function ATe(t,e,r){const{top:n,bottom:i}=e.chart.chartArea,{property:a,start:s,end:o}=r||{};a==="x"&&(t.beginPath(),t.rect(s,n,o-s,i-n),t.clip())}function z8(t,e,r,n){const i=e.interpolate(r,n);i&&t.lineTo(i.x,i.y)}var MTe={id:"filler",afterDatasetsUpdate(t,e,r){const n=(t.data.datasets||[]).length,i=[];let a,s,o,u;for(s=0;s<n;++s)a=t.getDatasetMeta(s),o=a.dataset,u=null,o&&o.options&&o instanceof mo&&(u={visible:t.isDatasetVisible(s),index:s,fill:pTe(o,s,n),chart:t,axis:a.controller.options.indexAxis,scale:a.vScale,line:o}),a.$filler=u,i.push(u);for(s=0;s<n;++s)u=i[s],!(!u||u.fill===!1)&&(u.fill=hTe(i,s,r.propagate))},beforeDraw(t,e,r){const n=r.drawTime==="beforeDraw",i=t.getSortedVisibleDatasetMetas(),a=t.chartArea;for(let s=i.length-1;s>=0;--s){const o=i[s].$filler;o&&(o.line.updateControlPoints(a,o.axis),n&&o.fill&&T1(t.ctx,o,a))}},beforeDatasetsDraw(t,e,r){if(r.drawTime!=="beforeDatasetsDraw")return;const n=t.getSortedVisibleDatasetMetas();for(let i=n.length-1;i>=0;--i){const a=n[i].$filler;F8(a)&&T1(t.ctx,a,t.chartArea)}},beforeDatasetDraw(t,e,r){const n=e.meta.$filler;!F8(n)||r.drawTime!=="beforeDatasetDraw"||T1(t.ctx,n,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const V8=(t,e)=>{let{boxHeight:r=e,boxWidth:n=e}=t;return t.usePointStyle&&(r=Math.min(r,e),n=t.pointStyleWidth||Math.min(n,e)),{boxWidth:n,boxHeight:r,itemHeight:Math.max(e,r)}},$Te=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class U8 extends Ls{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,r,n){this.maxWidth=e,this.maxHeight=r,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let r=At(e.generateLabels,[this.chart],this)||[];e.filter&&(r=r.filter(n=>e.filter(n,this.chart.data))),e.sort&&(r=r.sort((n,i)=>e.sort(n,i,this.chart.data))),this.options.reverse&&r.reverse(),this.legendItems=r}fit(){const{options:e,ctx:r}=this;if(!e.display){this.width=this.height=0;return}const n=e.labels,i=Sr(n.font),a=i.size,s=this._computeTitleHeight(),{boxWidth:o,itemHeight:u}=V8(n,a);let c,l;r.font=i.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(s,a,o,u)+10):(l=this.maxHeight,c=this._fitCols(s,i,o,u)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,r,n,i){const{ctx:a,maxWidth:s,options:{labels:{padding:o}}}=this,u=this.legendHitBoxes=[],c=this.lineWidths=[0],l=i+o;let d=e;a.textAlign="left",a.textBaseline="middle";let f=-1,p=-l;return this.legendItems.forEach((m,b)=>{const _=n+r/2+a.measureText(m.text).width;(b===0||c[c.length-1]+_+2*o>s)&&(d+=l,c[c.length-(b>0?0:1)]=0,p+=l,f++),u[b]={left:0,top:p,row:f,width:_,height:i},c[c.length-1]+=_+o}),d}_fitCols(e,r,n,i){const{ctx:a,maxHeight:s,options:{labels:{padding:o}}}=this,u=this.legendHitBoxes=[],c=this.columnSizes=[],l=s-e;let d=o,f=0,p=0,m=0,b=0;return this.legendItems.forEach((_,S)=>{const{itemWidth:x,itemHeight:O}=kTe(n,r,a,_,i);S>0&&p+O+2*o>l&&(d+=f+o,c.push({width:f,height:p}),m+=f+o,b++,f=p=0),u[S]={left:m,top:p,col:b,width:x,height:O},f=Math.max(f,x),p+=O+o}),d+=f,c.push({width:f,height:p}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:r,options:{align:n,labels:{padding:i},rtl:a}}=this,s=zl(a,this.left,this.width);if(this.isHorizontal()){let o=0,u=Wr(n,this.left+i,this.right-this.lineWidths[o]);for(const c of r)o!==c.row&&(o=c.row,u=Wr(n,this.left+i,this.right-this.lineWidths[o])),c.top+=this.top+e+i,c.left=s.leftForLtr(s.x(u),c.width),u+=c.width+i}else{let o=0,u=Wr(n,this.top+e+i,this.bottom-this.columnSizes[o].height);for(const c of r)c.col!==o&&(o=c.col,u=Wr(n,this.top+e+i,this.bottom-this.columnSizes[o].height)),c.top=u,c.left+=this.left+i,c.left=s.leftForLtr(s.x(c.left),c.width),u+=c.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;Py(e,this),this._draw(),Cy(e)}}_draw(){const{options:e,columnSizes:r,lineWidths:n,ctx:i}=this,{align:a,labels:s}=e,o=rr.color,u=zl(e.rtl,this.left,this.width),c=Sr(s.font),{padding:l}=s,d=c.size,f=d/2;let p;this.drawTitle(),i.textAlign=u.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:m,boxHeight:b,itemHeight:_}=V8(s,d),S=function(g,T,P){if(isNaN(m)||m<=0||isNaN(b)||b<0)return;i.save();const k=Le(P.lineWidth,1);if(i.fillStyle=Le(P.fillStyle,o),i.lineCap=Le(P.lineCap,"butt"),i.lineDashOffset=Le(P.lineDashOffset,0),i.lineJoin=Le(P.lineJoin,"miter"),i.lineWidth=k,i.strokeStyle=Le(P.strokeStyle,o),i.setLineDash(Le(P.lineDash,[])),s.usePointStyle){const w={radius:b*Math.SQRT2/2,pointStyle:P.pointStyle,rotation:P.rotation,borderWidth:k},A=u.xPlus(g,m/2),C=T+f;kU(i,w,A,C,s.pointStyleWidth&&m)}else{const w=T+Math.max((d-b)/2,0),A=u.leftForLtr(g,m),C=Lu(P.borderRadius);i.beginPath(),Object.values(C).some(E=>E!==0)?lp(i,{x:A,y:w,w:m,h:b,radius:C}):i.rect(A,w,m,b),i.fill(),k!==0&&i.stroke()}i.restore()},x=function(g,T,P){ac(i,P.text,g,T+_/2,c,{strikethrough:P.hidden,textAlign:u.textAlign(P.textAlign)})},O=this.isHorizontal(),h=this._computeTitleHeight();O?p={x:Wr(a,this.left+l,this.right-n[0]),y:this.top+l+h,line:0}:p={x:this.left+l,y:Wr(a,this.top+h+l,this.bottom-r[0].height),line:0},HU(this.ctx,e.textDirection);const v=_+l;this.legendItems.forEach((g,T)=>{i.strokeStyle=g.fontColor,i.fillStyle=g.fontColor;const P=i.measureText(g.text).width,k=u.textAlign(g.textAlign||(g.textAlign=s.textAlign)),w=m+f+P;let A=p.x,C=p.y;u.setWidth(this.width),O?T>0&&A+w+l>this.right&&(C=p.y+=v,p.line++,A=p.x=Wr(a,this.left+l,this.right-n[p.line])):T>0&&C+v>this.bottom&&(A=p.x=A+r[p.line].width+l,p.line++,C=p.y=Wr(a,this.top+h+l,this.bottom-r[p.line].height));const E=u.x(A);if(S(E,C,g),A=e1e(k,A+m+f,O?A+w:this.right,e.rtl),x(u.x(A),C,g),O)p.x+=w+l;else if(typeof g.text!="string"){const $=c.lineHeight;p.y+=h7(g,$)+l}else p.y+=v}),zU(this.ctx,e.textDirection)}drawTitle(){const e=this.options,r=e.title,n=Sr(r.font),i=tn(r.padding);if(!r.display)return;const a=zl(e.rtl,this.left,this.width),s=this.ctx,o=r.position,u=n.size/2,c=i.top+u;let l,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),l=this.top+c,d=Wr(e.align,d,this.right-f);else{const m=this.columnSizes.reduce((b,_)=>Math.max(b,_.height),0);l=c+Wr(e.align,this.top,this.bottom-m-e.labels.padding-this._computeTitleHeight())}const p=Wr(o,d,d+f);s.textAlign=a.textAlign(RP(o)),s.textBaseline="middle",s.strokeStyle=r.color,s.fillStyle=r.color,s.font=n.string,ac(s,r.text,p,l,n)}_computeTitleHeight(){const e=this.options.title,r=Sr(e.font),n=tn(e.padding);return e.display?r.lineHeight+n.height:0}_getLegendItemAt(e,r){let n,i,a;if(bs(e,this.left,this.right)&&bs(r,this.top,this.bottom)){for(a=this.legendHitBoxes,n=0;n<a.length;++n)if(i=a[n],bs(e,i.left,i.left+i.width)&&bs(r,i.top,i.top+i.height))return this.legendItems[n]}return null}handleEvent(e){const r=this.options;if(!RTe(e.type,r))return;const n=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const i=this._hoveredItem,a=$Te(i,n);i&&!a&&At(r.onLeave,[e,i,this],this),this._hoveredItem=n,n&&!a&&At(r.onHover,[e,n,this],this)}else n&&At(r.onClick,[e,n,this],this)}}function kTe(t,e,r,n,i){const a=DTe(n,t,e,r),s=ITe(i,n,e.lineHeight);return{itemWidth:a,itemHeight:s}}function DTe(t,e,r,n){let i=t.text;return i&&typeof i!="string"&&(i=i.reduce((a,s)=>a.length>s.length?a:s)),e+r.size/2+n.measureText(i).width}function ITe(t,e,r){let n=t;return typeof e.text!="string"&&(n=h7(e,r)),n}function h7(t,e){const r=t.text?t.text.length:0;return e*r}function RTe(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var LTe={id:"legend",_element:U8,start(t,e,r){const n=t.legend=new U8({ctx:t.ctx,options:r,chart:t});qr.configure(t,n,r),qr.addBox(t,n)},stop(t){qr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,r){const n=t.legend;qr.configure(t,n,r),n.options=r},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,r){const n=e.datasetIndex,i=r.chart;i.isDatasetVisible(n)?(i.hide(n),e.hidden=!0):(i.show(n),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:r,pointStyle:n,textAlign:i,color:a,useBorderRadius:s,borderRadius:o}}=t.legend.options;return t._getSortedDatasetMetas().map(u=>{const c=u.controller.getStyle(r?0:void 0),l=tn(c.borderWidth);return{text:e[u.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!u.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:n||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:s&&(o||c.borderRadius),datasetIndex:u.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class UP extends Ls{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,r){const n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=r;const i=Dt(n.text)?n.text.length:1;this._padding=tn(n.padding);const a=i*Sr(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=a:this.width=a}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:r,left:n,bottom:i,right:a,options:s}=this,o=s.align;let u=0,c,l,d;return this.isHorizontal()?(l=Wr(o,n,a),d=r+e,c=a-n):(s.position==="left"?(l=n+e,d=Wr(o,i,r),u=zt*-.5):(l=a-e,d=Wr(o,r,i),u=zt*.5),c=i-r),{titleX:l,titleY:d,maxWidth:c,rotation:u}}draw(){const e=this.ctx,r=this.options;if(!r.display)return;const n=Sr(r.font),a=n.lineHeight/2+this._padding.top,{titleX:s,titleY:o,maxWidth:u,rotation:c}=this._drawArgs(a);ac(e,r.text,0,0,n,{color:r.color,maxWidth:u,rotation:c,textAlign:RP(r.align),textBaseline:"middle",translation:[s,o]})}}function NTe(t,e){const r=new UP({ctx:t.ctx,options:e,chart:t});qr.configure(t,r,e),qr.addBox(t,r),t.titleBlock=r}var BTe={id:"title",_element:UP,start(t,e,r){NTe(t,r)},stop(t){const e=t.titleBlock;qr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,r){const n=t.titleBlock;qr.configure(t,n,r),n.options=r},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const pg=new WeakMap;var FTe={id:"subtitle",start(t,e,r){const n=new UP({ctx:t.ctx,options:r,chart:t});qr.configure(t,n,r),qr.addBox(t,n),pg.set(t,n)},stop(t){qr.removeBox(t,pg.get(t)),pg.delete(t)},beforeUpdate(t,e,r){const n=pg.get(t);qr.configure(t,n,r),n.options=r},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const uh={average(t){if(!t.length)return!1;let e,r,n=0,i=0,a=0;for(e=0,r=t.length;e<r;++e){const s=t[e].element;if(s&&s.hasValue()){const o=s.tooltipPosition();n+=o.x,i+=o.y,++a}}return{x:n/a,y:i/a}},nearest(t,e){if(!t.length)return!1;let r=e.x,n=e.y,i=Number.POSITIVE_INFINITY,a,s,o;for(a=0,s=t.length;a<s;++a){const u=t[a].element;if(u&&u.hasValue()){const c=u.getCenterPoint(),l=rT(e,c);l<i&&(i=l,o=u)}}if(o){const u=o.tooltipPosition();r=u.x,n=u.y}return{x:r,y:n}}};function ga(t,e){return e&&(Dt(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function ns(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
`)>-1?t.split(`
`):t}function jTe(t,e){const{element:r,datasetIndex:n,index:i}=e,a=t.getDatasetMeta(n).controller,{label:s,value:o}=a.getLabelAndValue(i);return{chart:t,label:s,parsed:a.getParsed(i),raw:t.data.datasets[n].data[i],formattedValue:o,dataset:a.getDataset(),dataIndex:i,datasetIndex:n,element:r}}function G8(t,e){const r=t.chart.ctx,{body:n,footer:i,title:a}=t,{boxWidth:s,boxHeight:o}=e,u=Sr(e.bodyFont),c=Sr(e.titleFont),l=Sr(e.footerFont),d=a.length,f=i.length,p=n.length,m=tn(e.padding);let b=m.height,_=0,S=n.reduce((h,v)=>h+v.before.length+v.lines.length+v.after.length,0);if(S+=t.beforeBody.length+t.afterBody.length,d&&(b+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),S){const h=e.displayColors?Math.max(o,u.lineHeight):u.lineHeight;b+=p*h+(S-p)*u.lineHeight+(S-1)*e.bodySpacing}f&&(b+=e.footerMarginTop+f*l.lineHeight+(f-1)*e.footerSpacing);let x=0;const O=function(h){_=Math.max(_,r.measureText(h).width+x)};return r.save(),r.font=c.string,gt(t.title,O),r.font=u.string,gt(t.beforeBody.concat(t.afterBody),O),x=e.displayColors?s+2+e.boxPadding:0,gt(n,h=>{gt(h.before,O),gt(h.lines,O),gt(h.after,O)}),x=0,r.font=l.string,gt(t.footer,O),r.restore(),_+=m.width,{width:_,height:b}}function HTe(t,e){const{y:r,height:n}=e;return r<n/2?"top":r>t.height-n/2?"bottom":"center"}function zTe(t,e,r,n){const{x:i,width:a}=n,s=r.caretSize+r.caretPadding;if(t==="left"&&i+a+s>e.width||t==="right"&&i-a-s<0)return!0}function VTe(t,e,r,n){const{x:i,width:a}=r,{width:s,chartArea:{left:o,right:u}}=t;let c="center";return n==="center"?c=i<=(o+u)/2?"left":"right":i<=a/2?c="left":i>=s-a/2&&(c="right"),zTe(c,t,e,r)&&(c="center"),c}function W8(t,e,r){const n=r.yAlign||e.yAlign||HTe(t,r);return{xAlign:r.xAlign||e.xAlign||VTe(t,e,r,n),yAlign:n}}function UTe(t,e){let{x:r,width:n}=t;return e==="right"?r-=n:e==="center"&&(r-=n/2),r}function GTe(t,e,r){let{y:n,height:i}=t;return e==="top"?n+=r:e==="bottom"?n-=i+r:n-=i/2,n}function Y8(t,e,r,n){const{caretSize:i,caretPadding:a,cornerRadius:s}=t,{xAlign:o,yAlign:u}=r,c=i+a,{topLeft:l,topRight:d,bottomLeft:f,bottomRight:p}=Lu(s);let m=UTe(e,o);const b=GTe(e,u,c);return u==="center"?o==="left"?m+=c:o==="right"&&(m-=c):o==="left"?m-=Math.max(l,f)+i:o==="right"&&(m+=Math.max(d,p)+i),{x:Rr(m,0,n.width-e.width),y:Rr(b,0,n.height-e.height)}}function mg(t,e,r){const n=tn(r.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-n.right:t.x+n.left}function K8(t){return ga([],ns(t))}function WTe(t,e,r){return Yo(t,{tooltip:e,tooltipItems:r,type:"tooltip"})}function q8(t,e){const r=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return r?t.override(r):t}const p7={beforeTitle:es,title(t){if(t.length>0){const e=t[0],r=e.chart.data.labels,n=r?r.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(n>0&&e.dataIndex<n)return r[e.dataIndex]}return""},afterTitle:es,beforeBody:es,beforeLabel:es,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const r=t.formattedValue;return nt(r)||(e+=r),e},labelColor(t){const r=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:r.borderColor,backgroundColor:r.backgroundColor,borderWidth:r.borderWidth,borderDash:r.borderDash,borderDashOffset:r.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const r=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:r.pointStyle,rotation:r.rotation}},afterLabel:es,afterBody:es,beforeFooter:es,footer:es,afterFooter:es};function wn(t,e,r,n){const i=t[e].call(r,n);return typeof i>"u"?p7[e].call(r,n):i}class dT extends Ls{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const r=this.chart,n=this.options.setContext(this.getContext()),i=n.enabled&&r.options.animation&&n.animations,a=new WU(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=WTe(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,r){const{callbacks:n}=r,i=wn(n,"beforeTitle",this,e),a=wn(n,"title",this,e),s=wn(n,"afterTitle",this,e);let o=[];return o=ga(o,ns(i)),o=ga(o,ns(a)),o=ga(o,ns(s)),o}getBeforeBody(e,r){return K8(wn(r.callbacks,"beforeBody",this,e))}getBody(e,r){const{callbacks:n}=r,i=[];return gt(e,a=>{const s={before:[],lines:[],after:[]},o=q8(n,a);ga(s.before,ns(wn(o,"beforeLabel",this,a))),ga(s.lines,wn(o,"label",this,a)),ga(s.after,ns(wn(o,"afterLabel",this,a))),i.push(s)}),i}getAfterBody(e,r){return K8(wn(r.callbacks,"afterBody",this,e))}getFooter(e,r){const{callbacks:n}=r,i=wn(n,"beforeFooter",this,e),a=wn(n,"footer",this,e),s=wn(n,"afterFooter",this,e);let o=[];return o=ga(o,ns(i)),o=ga(o,ns(a)),o=ga(o,ns(s)),o}_createItems(e){const r=this._active,n=this.chart.data,i=[],a=[],s=[];let o=[],u,c;for(u=0,c=r.length;u<c;++u)o.push(jTe(this.chart,r[u]));return e.filter&&(o=o.filter((l,d,f)=>e.filter(l,d,f,n))),e.itemSort&&(o=o.sort((l,d)=>e.itemSort(l,d,n))),gt(o,l=>{const d=q8(e.callbacks,l);i.push(wn(d,"labelColor",this,l)),a.push(wn(d,"labelPointStyle",this,l)),s.push(wn(d,"labelTextColor",this,l))}),this.labelColors=i,this.labelPointStyles=a,this.labelTextColors=s,this.dataPoints=o,o}update(e,r){const n=this.options.setContext(this.getContext()),i=this._active;let a,s=[];if(!i.length)this.opacity!==0&&(a={opacity:0});else{const o=uh[n.position].call(this,i,this._eventPosition);s=this._createItems(n),this.title=this.getTitle(s,n),this.beforeBody=this.getBeforeBody(s,n),this.body=this.getBody(s,n),this.afterBody=this.getAfterBody(s,n),this.footer=this.getFooter(s,n);const u=this._size=G8(this,n),c=Object.assign({},o,u),l=W8(this.chart,n,c),d=Y8(n,c,l,this.chart);this.xAlign=l.xAlign,this.yAlign=l.yAlign,a={opacity:1,x:d.x,y:d.y,width:u.width,height:u.height,caretX:o.x,caretY:o.y}}this._tooltipItems=s,this.$context=void 0,a&&this._resolveAnimations().update(this,a),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:r})}drawCaret(e,r,n,i){const a=this.getCaretPosition(e,n,i);r.lineTo(a.x1,a.y1),r.lineTo(a.x2,a.y2),r.lineTo(a.x3,a.y3)}getCaretPosition(e,r,n){const{xAlign:i,yAlign:a}=this,{caretSize:s,cornerRadius:o}=n,{topLeft:u,topRight:c,bottomLeft:l,bottomRight:d}=Lu(o),{x:f,y:p}=e,{width:m,height:b}=r;let _,S,x,O,h,v;return a==="center"?(h=p+b/2,i==="left"?(_=f,S=_-s,O=h+s,v=h-s):(_=f+m,S=_+s,O=h-s,v=h+s),x=_):(i==="left"?S=f+Math.max(u,l)+s:i==="right"?S=f+m-Math.max(c,d)-s:S=this.caretX,a==="top"?(O=p,h=O-s,_=S-s,x=S+s):(O=p+b,h=O+s,_=S+s,x=S-s),v=O),{x1:_,x2:S,x3:x,y1:O,y2:h,y3:v}}drawTitle(e,r,n){const i=this.title,a=i.length;let s,o,u;if(a){const c=zl(n.rtl,this.x,this.width);for(e.x=mg(this,n.titleAlign,n),r.textAlign=c.textAlign(n.titleAlign),r.textBaseline="middle",s=Sr(n.titleFont),o=n.titleSpacing,r.fillStyle=n.titleColor,r.font=s.string,u=0;u<a;++u)r.fillText(i[u],c.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+o,u+1===a&&(e.y+=n.titleMarginBottom-o)}}_drawColorBox(e,r,n,i,a){const s=this.labelColors[n],o=this.labelPointStyles[n],{boxHeight:u,boxWidth:c}=a,l=Sr(a.bodyFont),d=mg(this,"left",a),f=i.x(d),p=u<l.lineHeight?(l.lineHeight-u)/2:0,m=r.y+p;if(a.usePointStyle){const b={radius:Math.min(c,u)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},_=i.leftForLtr(f,c)+c/2,S=m+u/2;e.strokeStyle=a.multiKeyBackground,e.fillStyle=a.multiKeyBackground,iT(e,b,_,S),e.strokeStyle=s.borderColor,e.fillStyle=s.backgroundColor,iT(e,b,_,S)}else{e.lineWidth=Xe(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,e.strokeStyle=s.borderColor,e.setLineDash(s.borderDash||[]),e.lineDashOffset=s.borderDashOffset||0;const b=i.leftForLtr(f,c),_=i.leftForLtr(i.xPlus(f,1),c-2),S=Lu(s.borderRadius);Object.values(S).some(x=>x!==0)?(e.beginPath(),e.fillStyle=a.multiKeyBackground,lp(e,{x:b,y:m,w:c,h:u,radius:S}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),lp(e,{x:_,y:m+1,w:c-2,h:u-2,radius:S}),e.fill()):(e.fillStyle=a.multiKeyBackground,e.fillRect(b,m,c,u),e.strokeRect(b,m,c,u),e.fillStyle=s.backgroundColor,e.fillRect(_,m+1,c-2,u-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,r,n){const{body:i}=this,{bodySpacing:a,bodyAlign:s,displayColors:o,boxHeight:u,boxWidth:c,boxPadding:l}=n,d=Sr(n.bodyFont);let f=d.lineHeight,p=0;const m=zl(n.rtl,this.x,this.width),b=function(P){r.fillText(P,m.x(e.x+p),e.y+f/2),e.y+=f+a},_=m.textAlign(s);let S,x,O,h,v,g,T;for(r.textAlign=s,r.textBaseline="middle",r.font=d.string,e.x=mg(this,_,n),r.fillStyle=n.bodyColor,gt(this.beforeBody,b),p=o&&_!=="right"?s==="center"?c/2+l:c+2+l:0,h=0,g=i.length;h<g;++h){for(S=i[h],x=this.labelTextColors[h],r.fillStyle=x,gt(S.before,b),O=S.lines,o&&O.length&&(this._drawColorBox(r,e,h,m,n),f=Math.max(d.lineHeight,u)),v=0,T=O.length;v<T;++v)b(O[v]),f=d.lineHeight;gt(S.after,b)}p=0,f=d.lineHeight,gt(this.afterBody,b),e.y-=a}drawFooter(e,r,n){const i=this.footer,a=i.length;let s,o;if(a){const u=zl(n.rtl,this.x,this.width);for(e.x=mg(this,n.footerAlign,n),e.y+=n.footerMarginTop,r.textAlign=u.textAlign(n.footerAlign),r.textBaseline="middle",s=Sr(n.footerFont),r.fillStyle=n.footerColor,r.font=s.string,o=0;o<a;++o)r.fillText(i[o],u.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+n.footerSpacing}}drawBackground(e,r,n,i){const{xAlign:a,yAlign:s}=this,{x:o,y:u}=e,{width:c,height:l}=n,{topLeft:d,topRight:f,bottomLeft:p,bottomRight:m}=Lu(i.cornerRadius);r.fillStyle=i.backgroundColor,r.strokeStyle=i.borderColor,r.lineWidth=i.borderWidth,r.beginPath(),r.moveTo(o+d,u),s==="top"&&this.drawCaret(e,r,n,i),r.lineTo(o+c-f,u),r.quadraticCurveTo(o+c,u,o+c,u+f),s==="center"&&a==="right"&&this.drawCaret(e,r,n,i),r.lineTo(o+c,u+l-m),r.quadraticCurveTo(o+c,u+l,o+c-m,u+l),s==="bottom"&&this.drawCaret(e,r,n,i),r.lineTo(o+p,u+l),r.quadraticCurveTo(o,u+l,o,u+l-p),s==="center"&&a==="left"&&this.drawCaret(e,r,n,i),r.lineTo(o,u+d),r.quadraticCurveTo(o,u,o+d,u),r.closePath(),r.fill(),i.borderWidth>0&&r.stroke()}_updateAnimationTarget(e){const r=this.chart,n=this.$animations,i=n&&n.x,a=n&&n.y;if(i||a){const s=uh[e.position].call(this,this._active,this._eventPosition);if(!s)return;const o=this._size=G8(this,e),u=Object.assign({},s,this._size),c=W8(r,e,u),l=Y8(e,u,c,r);(i._to!==l.x||a._to!==l.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=o.width,this.height=o.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(e){const r=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(r);const i={width:this.width,height:this.height},a={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const s=tn(r.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;r.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(a,e,i,r),HU(e,r.textDirection),a.y+=s.top,this.drawTitle(a,e,r),this.drawBody(a,e,r),this.drawFooter(a,e,r),zU(e,r.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,r){const n=this._active,i=e.map(({datasetIndex:o,index:u})=>{const c=this.chart.getDatasetMeta(o);if(!c)throw new Error("Cannot find a dataset at index "+o);return{datasetIndex:o,element:c.data[u],index:u}}),a=!G0(n,i),s=this._positionChanged(i,r);(a||s)&&(this._active=i,this._eventPosition=r,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,r,n=!0){if(r&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,a=this._active||[],s=this._getActiveElements(e,a,r,n),o=this._positionChanged(s,e),u=r||!G0(s,a)||o;return u&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,r))),u}_getActiveElements(e,r,n,i){const a=this.options;if(e.type==="mouseout")return[];if(!i)return r;const s=this.chart.getElementsAtEventForMode(e,a.mode,a,n);return a.reverse&&s.reverse(),s}_positionChanged(e,r){const{caretX:n,caretY:i,options:a}=this,s=uh[a.position].call(this,e,r);return s!==!1&&(n!==s.x||i!==s.y)}}ae(dT,"positioners",uh);var YTe={id:"tooltip",_element:dT,positioners:uh,afterInit(t,e,r){r&&(t.tooltip=new dT({chart:t,options:r}))},beforeUpdate(t,e,r){t.tooltip&&t.tooltip.initialize(r)},reset(t,e,r){t.tooltip&&t.tooltip.initialize(r)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const r={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...r,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",r)}},afterEvent(t,e){if(t.tooltip){const r=e.replay;t.tooltip.handleEvent(e.event,r,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:p7},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},KTe=Object.freeze({__proto__:null,Colors:sTe,Decimation:lTe,Filler:MTe,Legend:LTe,SubTitle:FTe,Title:BTe,Tooltip:YTe});const qTe=(t,e,r,n)=>(typeof e=="string"?(r=t.push(e)-1,n.unshift({index:r,label:e})):isNaN(e)&&(r=null),r);function XTe(t,e,r,n){const i=t.indexOf(e);if(i===-1)return qTe(t,e,r,n);const a=t.lastIndexOf(e);return i!==a?r:i}const JTe=(t,e)=>t===null?null:Rr(Math.round(t),0,e);function X8(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class fT extends Sc{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const r=this._addedLabels;if(r.length){const n=this.getLabels();for(const{index:i,label:a}of r)n[i]===a&&n.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,r){if(nt(e))return null;const n=this.getLabels();return r=isFinite(r)&&n[r]===e?r:XTe(n,e,Le(r,e),this._addedLabels),JTe(r,n.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:r}=this.getUserBounds();let{min:n,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(n=0),r||(i=this.getLabels().length-1)),this.min=n,this.max=i}buildTicks(){const e=this.min,r=this.max,n=this.options.offset,i=[];let a=this.getLabels();a=e===0&&r===a.length-1?a:a.slice(e,r+1),this._valueRange=Math.max(a.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let s=e;s<=r;s++)i.push({value:s});return i}getLabelForValue(e){return X8.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const r=this.ticks;return e<0||e>r.length-1?null:this.getPixelForValue(r[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}ae(fT,"id","category"),ae(fT,"defaults",{ticks:{callback:X8}});function ZTe(t,e){const r=[],{bounds:i,step:a,min:s,max:o,precision:u,count:c,maxTicks:l,maxDigits:d,includeBounds:f}=t,p=a||1,m=l-1,{min:b,max:_}=e,S=!nt(s),x=!nt(o),O=!nt(c),h=(_-b)/(d+1);let v=UR((_-b)/m/p)*p,g,T,P,k;if(v<1e-14&&!S&&!x)return[{value:b},{value:_}];k=Math.ceil(_/v)-Math.floor(b/v),k>m&&(v=UR(k*v/m/p)*p),nt(u)||(g=Math.pow(10,u),v=Math.ceil(v*g)/g),i==="ticks"?(T=Math.floor(b/v)*v,P=Math.ceil(_/v)*v):(T=b,P=_),S&&x&&a&&Ywe((o-s)/a,v/1e3)?(k=Math.round(Math.min((o-s)/v,l)),v=(o-s)/k,T=s,P=o):O?(T=S?s:T,P=x?o:P,k=c-1,v=(P-T)/k):(k=(P-T)/v,Ah(k,Math.round(k),v/1e3)?k=Math.round(k):k=Math.ceil(k));const w=Math.max(GR(v),GR(T));g=Math.pow(10,nt(u)?w:u),T=Math.round(T*g)/g,P=Math.round(P*g)/g;let A=0;for(S&&(f&&T!==s?(r.push({value:s}),T<s&&A++,Ah(Math.round((T+A*v)*g)/g,s,J8(s,h,t))&&A++):T<s&&A++);A<k;++A){const C=Math.round((T+A*v)*g)/g;if(x&&C>o)break;r.push({value:C})}return x&&f&&P!==o?r.length&&Ah(r[r.length-1].value,o,J8(o,h,t))?r[r.length-1].value=o:r.push({value:o}):(!x||P===o)&&r.push({value:P}),r}function J8(t,e,{horizontal:r,minRotation:n}){const i=Bi(n),a=(r?Math.sin(i):Math.cos(i))||.001,s=.75*e*(""+t).length;return Math.min(e/a,s)}class Z0 extends Sc{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,r){return nt(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:r,maxDefined:n}=this.getUserBounds();let{min:i,max:a}=this;const s=u=>i=r?i:u,o=u=>a=n?a:u;if(e){const u=La(i),c=La(a);u<0&&c<0?o(0):u>0&&c>0&&s(0)}if(i===a){let u=a===0?1:Math.abs(a*.05);o(a+u),e||s(i-u)}this.min=i,this.max=a}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:r,stepSize:n}=e,i;return n?(i=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),r=r||11),r&&(i=Math.min(r,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,r=e.ticks;let n=this.getTickLimit();n=Math.max(2,n);const i={maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:r.precision,step:r.stepSize,count:r.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:r.minRotation||0,includeBounds:r.includeBounds!==!1},a=this._range||this,s=ZTe(i,a);return e.bounds==="ticks"&&OU(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const e=this.ticks;let r=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){const i=(n-r)/Math.max(e.length-1,1)/2;r-=i,n+=i}this._startValue=r,this._endValue=n,this._valueRange=n-r}getLabelForValue(e){return Up(e,this.chart.options.locale,this.options.ticks.format)}}class hT extends Z0{determineDataLimits(){const{min:e,max:r}=this.getMinMax(!0);this.min=er(e)?e:0,this.max=er(r)?r:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),r=e?this.width:this.height,n=Bi(this.options.ticks.minRotation),i=(e?Math.sin(n):Math.cos(n))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(r/Math.min(40,a.lineHeight/i))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}ae(hT,"id","linear"),ae(hT,"defaults",{ticks:{callback:xy.formatters.numeric}});const fp=t=>Math.floor(po(t)),fu=(t,e)=>Math.pow(10,fp(t)+e);function Z8(t){return t/Math.pow(10,fp(t))===1}function Q8(t,e,r){const n=Math.pow(10,r),i=Math.floor(t/n);return Math.ceil(e/n)-i}function QTe(t,e){const r=e-t;let n=fp(r);for(;Q8(t,e,n)>10;)n++;for(;Q8(t,e,n)<10;)n--;return Math.min(n,fp(t))}function eEe(t,{min:e,max:r}){e=Gn(t.min,e);const n=[],i=fp(e);let a=QTe(e,r),s=a<0?Math.pow(10,Math.abs(a)):1;const o=Math.pow(10,a),u=i>a?Math.pow(10,i):0,c=Math.round((e-u)*s)/s,l=Math.floor((e-u)/o/10)*o*10;let d=Math.floor((c-l)/Math.pow(10,a)),f=Gn(t.min,Math.round((u+l+d*Math.pow(10,a))*s)/s);for(;f<r;)n.push({value:f,major:Z8(f),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,s=a>=0?1:s),f=Math.round((u+l+d*Math.pow(10,a))*s)/s;const p=Gn(t.max,f);return n.push({value:p,major:Z8(p),significand:d}),n}class pT extends Sc{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,r){const n=Z0.prototype.parse.apply(this,[e,r]);if(n===0){this._zero=!0;return}return er(n)&&n>0?n:null}determineDataLimits(){const{min:e,max:r}=this.getMinMax(!0);this.min=er(e)?Math.max(0,e):null,this.max=er(r)?Math.max(0,r):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!er(this._userMin)&&(this.min=e===fu(this.min,0)?fu(this.min,-1):fu(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:r}=this.getUserBounds();let n=this.min,i=this.max;const a=o=>n=e?n:o,s=o=>i=r?i:o;n===i&&(n<=0?(a(1),s(10)):(a(fu(n,-1)),s(fu(i,1)))),n<=0&&a(fu(i,-1)),i<=0&&s(fu(n,1)),this.min=n,this.max=i}buildTicks(){const e=this.options,r={min:this._userMin,max:this._userMax},n=eEe(r,this);return e.bounds==="ticks"&&OU(n,this,"value"),e.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}getLabelForValue(e){return e===void 0?"0":Up(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=po(e),this._valueRange=po(this.max)-po(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(po(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const r=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+r*this._valueRange)}}ae(pT,"id","logarithmic"),ae(pT,"defaults",{ticks:{callback:xy.formatters.logarithmic,major:{enabled:!0}}});function mT(t){const e=t.ticks;if(e.display&&t.display){const r=tn(e.backdropPadding);return Le(e.font&&e.font.size,rr.font.size)+r.height}return 0}function tEe(t,e,r){return r=Dt(r)?r:[r],{w:l1e(t,e.string,r),h:r.length*e.lineHeight}}function e3(t,e,r,n,i){return t===n||t===i?{start:e-r/2,end:e+r/2}:t<n||t>i?{start:e-r,end:e}:{start:e,end:e+r}}function rEe(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},r=Object.assign({},e),n=[],i=[],a=t._pointLabels.length,s=t.options.pointLabels,o=s.centerPointLabels?zt/a:0;for(let u=0;u<a;u++){const c=s.setContext(t.getPointLabelContext(u));i[u]=c.padding;const l=t.getPointPosition(u,t.drawingArea+i[u],o),d=Sr(c.font),f=tEe(t.ctx,d,t._pointLabels[u]);n[u]=f;const p=qn(t.getIndexAngle(u)+o),m=Math.round(DP(p)),b=e3(m,l.x,f.w,0,180),_=e3(m,l.y,f.h,90,270);nEe(r,e,p,b,_)}t.setCenterPoint(e.l-r.l,r.r-e.r,e.t-r.t,r.b-e.b),t._pointLabelItems=sEe(t,n,i)}function nEe(t,e,r,n,i){const a=Math.abs(Math.sin(r)),s=Math.abs(Math.cos(r));let o=0,u=0;n.start<e.l?(o=(e.l-n.start)/a,t.l=Math.min(t.l,e.l-o)):n.end>e.r&&(o=(n.end-e.r)/a,t.r=Math.max(t.r,e.r+o)),i.start<e.t?(u=(e.t-i.start)/s,t.t=Math.min(t.t,e.t-u)):i.end>e.b&&(u=(i.end-e.b)/s,t.b=Math.max(t.b,e.b+u))}function iEe(t,e,r){const n=t.drawingArea,{extra:i,additionalAngle:a,padding:s,size:o}=r,u=t.getPointPosition(e,n+i+s,a),c=Math.round(DP(qn(u.angle+tr))),l=cEe(u.y,o.h,c),d=oEe(c),f=uEe(u.x,o.w,d);return{visible:!0,x:u.x,y:l,textAlign:d,left:f,top:l,right:f+o.w,bottom:l+o.h}}function aEe(t,e){if(!e)return!0;const{left:r,top:n,right:i,bottom:a}=t;return!(_s({x:r,y:n},e)||_s({x:r,y:a},e)||_s({x:i,y:n},e)||_s({x:i,y:a},e))}function sEe(t,e,r){const n=[],i=t._pointLabels.length,a=t.options,{centerPointLabels:s,display:o}=a.pointLabels,u={extra:mT(a)/2,additionalAngle:s?zt/i:0};let c;for(let l=0;l<i;l++){u.padding=r[l],u.size=e[l];const d=iEe(t,l,u);n.push(d),o==="auto"&&(d.visible=aEe(d,c),d.visible&&(c=d))}return n}function oEe(t){return t===0||t===180?"center":t<180?"left":"right"}function uEe(t,e,r){return r==="right"?t-=e:r==="center"&&(t-=e/2),t}function cEe(t,e,r){return r===90||r===270?t-=e/2:(r>270||r<90)&&(t-=e),t}function lEe(t,e,r){const{left:n,top:i,right:a,bottom:s}=r,{backdropColor:o}=e;if(!nt(o)){const u=Lu(e.borderRadius),c=tn(e.backdropPadding);t.fillStyle=o;const l=n-c.left,d=i-c.top,f=a-n+c.width,p=s-i+c.height;Object.values(u).some(m=>m!==0)?(t.beginPath(),lp(t,{x:l,y:d,w:f,h:p,radius:u}),t.fill()):t.fillRect(l,d,f,p)}}function dEe(t,e){const{ctx:r,options:{pointLabels:n}}=t;for(let i=e-1;i>=0;i--){const a=t._pointLabelItems[i];if(!a.visible)continue;const s=n.setContext(t.getPointLabelContext(i));lEe(r,s,a);const o=Sr(s.font),{x:u,y:c,textAlign:l}=a;ac(r,t._pointLabels[i],u,c+o.lineHeight/2,o,{color:s.color,textAlign:l,textBaseline:"middle"})}}function m7(t,e,r,n){const{ctx:i}=t;if(r)i.arc(t.xCenter,t.yCenter,e,0,It);else{let a=t.getPointPosition(0,e);i.moveTo(a.x,a.y);for(let s=1;s<n;s++)a=t.getPointPosition(s,e),i.lineTo(a.x,a.y)}}function fEe(t,e,r,n,i){const a=t.ctx,s=e.circular,{color:o,lineWidth:u}=e;!s&&!n||!o||!u||r<0||(a.save(),a.strokeStyle=o,a.lineWidth=u,a.setLineDash(i.dash),a.lineDashOffset=i.dashOffset,a.beginPath(),m7(t,r,s,n),a.closePath(),a.stroke(),a.restore())}function hEe(t,e,r){return Yo(t,{label:r,index:e,type:"pointLabel"})}class ch extends Z0{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=tn(mT(this.options)/2),r=this.width=this.maxWidth-e.width,n=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+r/2+e.left),this.yCenter=Math.floor(this.top+n/2+e.top),this.drawingArea=Math.floor(Math.min(r,n)/2)}determineDataLimits(){const{min:e,max:r}=this.getMinMax(!1);this.min=er(e)&&!isNaN(e)?e:0,this.max=er(r)&&!isNaN(r)?r:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/mT(this.options))}generateTickLabels(e){Z0.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((r,n)=>{const i=At(this.options.pointLabels.callback,[r,n],this);return i||i===0?i:""}).filter((r,n)=>this.chart.getDataVisibility(n))}fit(){const e=this.options;e.display&&e.pointLabels.display?rEe(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,r,n,i){this.xCenter+=Math.floor((e-r)/2),this.yCenter+=Math.floor((n-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,r,n,i))}getIndexAngle(e){const r=It/(this._pointLabels.length||1),n=this.options.startAngle||0;return qn(e*r+Bi(n))}getDistanceFromCenterForValue(e){if(nt(e))return NaN;const r=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*r:(e-this.min)*r}getValueForDistanceFromCenter(e){if(nt(e))return NaN;const r=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-r:this.min+r}getPointLabelContext(e){const r=this._pointLabels||[];if(e>=0&&e<r.length){const n=r[e];return hEe(this.getContext(),e,n)}}getPointPosition(e,r,n=0){const i=this.getIndexAngle(e)-tr+n;return{x:Math.cos(i)*r+this.xCenter,y:Math.sin(i)*r+this.yCenter,angle:i}}getPointPositionForValue(e,r){return this.getPointPosition(e,this.getDistanceFromCenterForValue(r))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:r,top:n,right:i,bottom:a}=this._pointLabelItems[e];return{left:r,top:n,right:i,bottom:a}}drawBackground(){const{backgroundColor:e,grid:{circular:r}}=this.options;if(e){const n=this.ctx;n.save(),n.beginPath(),m7(this,this.getDistanceFromCenterForValue(this._endValue),r,this._pointLabels.length),n.closePath(),n.fillStyle=e,n.fill(),n.restore()}}drawGrid(){const e=this.ctx,r=this.options,{angleLines:n,grid:i,border:a}=r,s=this._pointLabels.length;let o,u,c;if(r.pointLabels.display&&dEe(this,s),i.display&&this.ticks.forEach((l,d)=>{if(d!==0){u=this.getDistanceFromCenterForValue(l.value);const f=this.getContext(d),p=i.setContext(f),m=a.setContext(f);fEe(this,p,u,s,m)}}),n.display){for(e.save(),o=s-1;o>=0;o--){const l=n.setContext(this.getPointLabelContext(o)),{color:d,lineWidth:f}=l;!f||!d||(e.lineWidth=f,e.strokeStyle=d,e.setLineDash(l.borderDash),e.lineDashOffset=l.borderDashOffset,u=this.getDistanceFromCenterForValue(r.ticks.reverse?this.min:this.max),c=this.getPointPosition(o,u),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,r=this.options,n=r.ticks;if(!n.display)return;const i=this.getIndexAngle(0);let a,s;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(i),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((o,u)=>{if(u===0&&!r.reverse)return;const c=n.setContext(this.getContext(u)),l=Sr(c.font);if(a=this.getDistanceFromCenterForValue(this.ticks[u].value),c.showLabelBackdrop){e.font=l.string,s=e.measureText(o.label).width,e.fillStyle=c.backdropColor;const d=tn(c.backdropPadding);e.fillRect(-s/2-d.left,-a-l.size/2-d.top,s+d.width,l.size+d.height)}ac(e,o.label,0,-a,l,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),e.restore()}drawTitle(){}}ae(ch,"id","radialLinear"),ae(ch,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:xy.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),ae(ch,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),ae(ch,"descriptors",{angleLines:{_fallback:"grid"}});const My={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Pn=Object.keys(My);function t3(t,e){return t-e}function r3(t,e){if(nt(e))return null;const r=t._adapter,{parser:n,round:i,isoWeekday:a}=t._parseOpts;let s=e;return typeof n=="function"&&(s=n(s)),er(s)||(s=typeof n=="string"?r.parse(s,n):r.parse(s)),s===null?null:(i&&(s=i==="week"&&(gd(a)||a===!0)?r.startOf(s,"isoWeek",a):r.startOf(s,i)),+s)}function n3(t,e,r,n){const i=Pn.length;for(let a=Pn.indexOf(t);a<i-1;++a){const s=My[Pn[a]],o=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((r-e)/(o*s.size))<=n)return Pn[a]}return Pn[i-1]}function pEe(t,e,r,n,i){for(let a=Pn.length-1;a>=Pn.indexOf(r);a--){const s=Pn[a];if(My[s].common&&t._adapter.diff(i,n,s)>=e-1)return s}return Pn[r?Pn.indexOf(r):0]}function mEe(t){for(let e=Pn.indexOf(t)+1,r=Pn.length;e<r;++e)if(My[Pn[e]].common)return Pn[e]}function i3(t,e,r){if(!r)t[e]=!0;else if(r.length){const{lo:n,hi:i}=IP(r,e),a=r[n]>=e?r[n]:r[i];t[a]=!0}}function gEe(t,e,r,n){const i=t._adapter,a=+i.startOf(e[0].value,n),s=e[e.length-1].value;let o,u;for(o=a;o<=s;o=+i.add(o,1,n))u=r[o],u>=0&&(e[u].major=!0);return e}function a3(t,e,r){const n=[],i={},a=e.length;let s,o;for(s=0;s<a;++s)o=e[s],i[o]=s,n.push({value:o,major:!1});return a===0||!r?n:gEe(t,n,i,r)}class hp extends Sc{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,r={}){const n=e.time||(e.time={}),i=this._adapter=new qU._date(e.adapters.date);i.init(r),Ch(n.displayFormats,i.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(e),this._normalized=r.normalized}parse(e,r){return e===void 0?null:r3(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,r=this._adapter,n=e.time.unit||"day";let{min:i,max:a,minDefined:s,maxDefined:o}=this.getUserBounds();function u(c){!s&&!isNaN(c.min)&&(i=Math.min(i,c.min)),!o&&!isNaN(c.max)&&(a=Math.max(a,c.max))}(!s||!o)&&(u(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&u(this.getMinMax(!1))),i=er(i)&&!isNaN(i)?i:+r.startOf(Date.now(),n),a=er(a)&&!isNaN(a)?a:+r.endOf(Date.now(),n)+1,this.min=Math.min(i,a-1),this.max=Math.max(i+1,a)}_getLabelBounds(){const e=this.getLabelTimestamps();let r=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return e.length&&(r=e[0],n=e[e.length-1]),{min:r,max:n}}buildTicks(){const e=this.options,r=e.time,n=e.ticks,i=n.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const a=this.min,s=this.max,o=Jwe(i,a,s);return this._unit=r.unit||(n.autoSkip?n3(r.minUnit,this.min,this.max,this._getLabelCapacity(a)):pEe(this,o.length,r.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit==="year"?void 0:mEe(this._unit),this.initOffsets(i),e.reverse&&o.reverse(),a3(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let r=0,n=0,i,a;this.options.offset&&e.length&&(i=this.getDecimalForValue(e[0]),e.length===1?r=1-i:r=(this.getDecimalForValue(e[1])-i)/2,a=this.getDecimalForValue(e[e.length-1]),e.length===1?n=a:n=(a-this.getDecimalForValue(e[e.length-2]))/2);const s=e.length<3?.5:.25;r=Rr(r,0,s),n=Rr(n,0,s),this._offsets={start:r,end:n,factor:1/(r+1+n)}}_generate(){const e=this._adapter,r=this.min,n=this.max,i=this.options,a=i.time,s=a.unit||n3(a.minUnit,r,n,this._getLabelCapacity(r)),o=Le(i.ticks.stepSize,1),u=s==="week"?a.isoWeekday:!1,c=gd(u)||u===!0,l={};let d=r,f,p;if(c&&(d=+e.startOf(d,"isoWeek",u)),d=+e.startOf(d,c?"day":s),e.diff(n,r,s)>1e5*o)throw new Error(r+" and "+n+" are too far apart with stepSize of "+o+" "+s);const m=i.ticks.source==="data"&&this.getDataTimestamps();for(f=d,p=0;f<n;f=+e.add(f,o,s),p++)i3(l,f,m);return(f===n||i.bounds==="ticks"||p===1)&&i3(l,f,m),Object.keys(l).sort(t3).map(b=>+b)}getLabelForValue(e){const r=this._adapter,n=this.options.time;return n.tooltipFormat?r.format(e,n.tooltipFormat):r.format(e,n.displayFormats.datetime)}format(e,r){const i=this.options.time.displayFormats,a=this._unit,s=r||i[a];return this._adapter.format(e,s)}_tickFormatFunction(e,r,n,i){const a=this.options,s=a.ticks.callback;if(s)return At(s,[e,r,n],this);const o=a.time.displayFormats,u=this._unit,c=this._majorUnit,l=u&&o[u],d=c&&o[c],f=n[r],p=c&&d&&f&&f.major;return this._adapter.format(e,i||(p?d:l))}generateTickLabels(e){let r,n,i;for(r=0,n=e.length;r<n;++r)i=e[r],i.label=this._tickFormatFunction(i.value,r,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const r=this._offsets,n=this.getDecimalForValue(e);return this.getPixelForDecimal((r.start+n)*r.factor)}getValueForPixel(e){const r=this._offsets,n=this.getDecimalForPixel(e)/r.factor-r.end;return this.min+n*(this.max-this.min)}_getLabelSize(e){const r=this.options.ticks,n=this.ctx.measureText(e).width,i=Bi(this.isHorizontal()?r.maxRotation:r.minRotation),a=Math.cos(i),s=Math.sin(i),o=this._resolveTickFontOptions(0).size;return{w:n*a+o*s,h:n*s+o*a}}_getLabelCapacity(e){const r=this.options.time,n=r.displayFormats,i=n[r.unit]||n.millisecond,a=this._tickFormatFunction(e,0,a3(this,[e],this._majorUnit),i),s=this._getLabelSize(a),o=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return o>0?o:1}getDataTimestamps(){let e=this._cache.data||[],r,n;if(e.length)return e;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(r=0,n=i.length;r<n;++r)e=e.concat(i[r].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let r,n;if(e.length)return e;const i=this.getLabels();for(r=0,n=i.length;r<n;++r)e.push(r3(this,i[r]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return xU(e.sort(t3))}}ae(hp,"id","time"),ae(hp,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function gg(t,e,r){let n=0,i=t.length-1,a,s,o,u;r?(e>=t[n].pos&&e<=t[i].pos&&({lo:n,hi:i}=ys(t,"pos",e)),{pos:a,time:o}=t[n],{pos:s,time:u}=t[i]):(e>=t[n].time&&e<=t[i].time&&({lo:n,hi:i}=ys(t,"time",e)),{time:a,pos:o}=t[n],{time:s,pos:u}=t[i]);const c=s-a;return c?o+(u-o)*(e-a)/c:o}class gT extends hp{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),r=this._table=this.buildLookupTable(e);this._minPos=gg(r,this.min),this._tableRange=gg(r,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:r,max:n}=this,i=[],a=[];let s,o,u,c,l;for(s=0,o=e.length;s<o;++s)c=e[s],c>=r&&c<=n&&i.push(c);if(i.length<2)return[{time:r,pos:0},{time:n,pos:1}];for(s=0,o=i.length;s<o;++s)l=i[s+1],u=i[s-1],c=i[s],Math.round((l+u)/2)!==c&&a.push({time:c,pos:s/(o-1)});return a}_generate(){const e=this.min,r=this.max;let n=super.getDataTimestamps();return(!n.includes(e)||!n.length)&&n.splice(0,0,e),(!n.includes(r)||n.length===1)&&n.push(r),n.sort((i,a)=>i-a)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const r=this.getDataTimestamps(),n=this.getLabelTimestamps();return r.length&&n.length?e=this.normalize(r.concat(n)):e=r.length?r:n,e=this._cache.all=e,e}getDecimalForValue(e){return(gg(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const r=this._offsets,n=this.getDecimalForPixel(e)/r.factor-r.end;return gg(this._table,n*this._tableRange+this._minPos,!0)}}ae(gT,"id","timeseries"),ae(gT,"defaults",hp.defaults);var vEe=Object.freeze({__proto__:null,CategoryScale:fT,LinearScale:hT,LogarithmicScale:pT,RadialLinearScale:ch,TimeScale:hp,TimeSeriesScale:gT});const zNe=[ESe,eTe,KTe,vEe];function Lt(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function ye(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function xe(t){ye(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function g7(t,e){ye(2,arguments);var r=xe(t),n=Lt(e);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function GP(t,e){ye(2,arguments);var r=xe(t),n=Lt(e);if(isNaN(n))return new Date(NaN);if(!n)return r;var i=r.getDate(),a=new Date(r.getTime());a.setMonth(r.getMonth()+n+1,0);var s=a.getDate();return i>=s?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}function Wp(t,e){ye(2,arguments);var r=xe(t).getTime(),n=Lt(e);return new Date(r+n)}var bEe=36e5;function yEe(t,e){ye(2,arguments);var r=Lt(e);return Wp(t,r*bEe)}var _Ee={};function Ko(){return _Ee}function s3(t,e){var r,n,i,a,s,o,u,c;ye(1,arguments);var l=Ko(),d=Lt((r=(n=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&i!==void 0?i:l.weekStartsOn)!==null&&n!==void 0?n:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=xe(t),p=f.getDay(),m=(p<d?7:0)+p-d;return f.setDate(f.getDate()-m),f.setHours(0,0,0,0),f}function Q0(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function vT(t){ye(1,arguments);var e=xe(t);return e.setHours(0,0,0,0),e}var wEe=864e5;function SEe(t,e){ye(2,arguments);var r=vT(t),n=vT(e),i=r.getTime()-Q0(r),a=n.getTime()-Q0(n);return Math.round((i-a)/wEe)}var OEe=6e4;function TEe(t,e){ye(2,arguments);var r=Lt(e);return Wp(t,r*OEe)}function EEe(t,e){ye(2,arguments);var r=Lt(e),n=r*3;return GP(t,n)}function xEe(t,e){ye(2,arguments);var r=Lt(e);return Wp(t,r*1e3)}function PEe(t,e){ye(2,arguments);var r=Lt(e),n=r*7;return g7(t,n)}function CEe(t,e){ye(2,arguments);var r=Lt(e);return GP(t,r*12)}function Dh(t,e){ye(2,arguments);var r=xe(t),n=xe(e),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}var $y=6e4,ky=36e5,AEe=1e3;function MEe(t){return ye(1,arguments),t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function v7(t){if(ye(1,arguments),!MEe(t)&&typeof t!="number")return!1;var e=xe(t);return!isNaN(Number(e))}function $Ee(t,e){ye(2,arguments);var r=xe(t),n=xe(e),i=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return i*12+a}function kEe(t,e){ye(2,arguments);var r=xe(t),n=xe(e);return r.getFullYear()-n.getFullYear()}function o3(t,e){var r=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return r<0?-1:r>0?1:r}function b7(t,e){ye(2,arguments);var r=xe(t),n=xe(e),i=o3(r,n),a=Math.abs(SEe(r,n));r.setDate(r.getDate()-i*a);var s=+(o3(r,n)===-i),o=i*(a-s);return o===0?0:o}function Dy(t,e){return ye(2,arguments),xe(t).getTime()-xe(e).getTime()}var u3={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},DEe="trunc";function Yp(t){return t?u3[t]:u3[DEe]}function IEe(t,e,r){ye(2,arguments);var n=Dy(t,e)/ky;return Yp(r==null?void 0:r.roundingMethod)(n)}function REe(t,e,r){ye(2,arguments);var n=Dy(t,e)/$y;return Yp(r==null?void 0:r.roundingMethod)(n)}function y7(t){ye(1,arguments);var e=xe(t);return e.setHours(23,59,59,999),e}function _7(t){ye(1,arguments);var e=xe(t),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function LEe(t){ye(1,arguments);var e=xe(t);return y7(e).getTime()===_7(e).getTime()}function w7(t,e){ye(2,arguments);var r=xe(t),n=xe(e),i=Dh(r,n),a=Math.abs($Ee(r,n)),s;if(a<1)s=0;else{r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*a);var o=Dh(r,n)===-i;LEe(xe(t))&&a===1&&Dh(t,n)===1&&(o=!1),s=i*(a-Number(o))}return s===0?0:s}function NEe(t,e,r){ye(2,arguments);var n=w7(t,e)/3;return Yp(r==null?void 0:r.roundingMethod)(n)}function BEe(t,e,r){ye(2,arguments);var n=Dy(t,e)/1e3;return Yp(r==null?void 0:r.roundingMethod)(n)}function FEe(t,e,r){ye(2,arguments);var n=b7(t,e)/7;return Yp(r==null?void 0:r.roundingMethod)(n)}function jEe(t,e){ye(2,arguments);var r=xe(t),n=xe(e),i=Dh(r,n),a=Math.abs(kEe(r,n));r.setFullYear(1584),n.setFullYear(1584);var s=Dh(r,n)===-i,o=i*(a-Number(s));return o===0?0:o}function HEe(t){ye(1,arguments);var e=xe(t);return e.setSeconds(0,0),e}function zEe(t){ye(1,arguments);var e=xe(t),r=e.getMonth(),n=r-r%3;return e.setMonth(n,1),e.setHours(0,0,0,0),e}function VEe(t){ye(1,arguments);var e=xe(t);return e.setDate(1),e.setHours(0,0,0,0),e}function UEe(t){ye(1,arguments);var e=xe(t),r=e.getFullYear();return e.setFullYear(r+1,0,0),e.setHours(23,59,59,999),e}function GEe(t){ye(1,arguments);var e=xe(t),r=new Date(0);return r.setFullYear(e.getFullYear(),0,1),r.setHours(0,0,0,0),r}function WEe(t){ye(1,arguments);var e=xe(t);return e.setMinutes(59,59,999),e}function YEe(t,e){var r,n,i,a,s,o,u,c;ye(1,arguments);var l=Ko(),d=Lt((r=(n=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&i!==void 0?i:l.weekStartsOn)!==null&&n!==void 0?n:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=xe(t),p=f.getDay(),m=(p<d?-7:0)+6-(p-d);return f.setDate(f.getDate()+m),f.setHours(23,59,59,999),f}function KEe(t){ye(1,arguments);var e=xe(t);return e.setSeconds(59,999),e}function qEe(t){ye(1,arguments);var e=xe(t),r=e.getMonth(),n=r-r%3+3;return e.setMonth(n,0),e.setHours(23,59,59,999),e}function XEe(t){ye(1,arguments);var e=xe(t);return e.setMilliseconds(999),e}function S7(t,e){ye(2,arguments);var r=Lt(e);return Wp(t,-r)}var JEe=864e5;function ZEe(t){ye(1,arguments);var e=xe(t),r=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),i=r-n;return Math.floor(i/JEe)+1}function yd(t){ye(1,arguments);var e=1,r=xe(t),n=r.getUTCDay(),i=(n<e?7:0)+n-e;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function O7(t){ye(1,arguments);var e=xe(t),r=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=yd(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var s=yd(a);return e.getTime()>=i.getTime()?r+1:e.getTime()>=s.getTime()?r:r-1}function QEe(t){ye(1,arguments);var e=O7(t),r=new Date(0);r.setUTCFullYear(e,0,4),r.setUTCHours(0,0,0,0);var n=yd(r);return n}var exe=6048e5;function T7(t){ye(1,arguments);var e=xe(t),r=yd(e).getTime()-QEe(e).getTime();return Math.round(r/exe)+1}function sc(t,e){var r,n,i,a,s,o,u,c;ye(1,arguments);var l=Ko(),d=Lt((r=(n=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&i!==void 0?i:l.weekStartsOn)!==null&&n!==void 0?n:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=xe(t),p=f.getUTCDay(),m=(p<d?7:0)+p-d;return f.setUTCDate(f.getUTCDate()-m),f.setUTCHours(0,0,0,0),f}function WP(t,e){var r,n,i,a,s,o,u,c;ye(1,arguments);var l=xe(t),d=l.getUTCFullYear(),f=Ko(),p=Lt((r=(n=(i=(a=e==null?void 0:e.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&n!==void 0?n:(u=f.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(d+1,0,p),m.setUTCHours(0,0,0,0);var b=sc(m,e),_=new Date(0);_.setUTCFullYear(d,0,p),_.setUTCHours(0,0,0,0);var S=sc(_,e);return l.getTime()>=b.getTime()?d+1:l.getTime()>=S.getTime()?d:d-1}function txe(t,e){var r,n,i,a,s,o,u,c;ye(1,arguments);var l=Ko(),d=Lt((r=(n=(i=(a=e==null?void 0:e.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(s=e.locale)===null||s===void 0||(o=s.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&i!==void 0?i:l.firstWeekContainsDate)!==null&&n!==void 0?n:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),f=WP(t,e),p=new Date(0);p.setUTCFullYear(f,0,d),p.setUTCHours(0,0,0,0);var m=sc(p,e);return m}var rxe=6048e5;function E7(t,e){ye(1,arguments);var r=xe(t),n=sc(r,e).getTime()-txe(r,e).getTime();return Math.round(n/rxe)+1}function mt(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var nxe={y:function(t,e){var r=t.getUTCFullYear(),n=r>0?r:1-r;return mt(e==="yy"?n%100:n,e.length)},M:function(t,e){var r=t.getUTCMonth();return e==="M"?String(r+1):mt(r+1,2)},d:function(t,e){return mt(t.getUTCDate(),e.length)},a:function(t,e){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,e){return mt(t.getUTCHours()%12||12,e.length)},H:function(t,e){return mt(t.getUTCHours(),e.length)},m:function(t,e){return mt(t.getUTCMinutes(),e.length)},s:function(t,e){return mt(t.getUTCSeconds(),e.length)},S:function(t,e){var r=e.length,n=t.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,r-3));return mt(i,e.length)}};const qs=nxe;var il={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ixe={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if(e==="yo"){var n=t.getUTCFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return qs.y(t,e)},Y:function(t,e,r,n){var i=WP(t,n),a=i>0?i:1-i;if(e==="YY"){var s=a%100;return mt(s,2)}return e==="Yo"?r.ordinalNumber(a,{unit:"year"}):mt(a,e.length)},R:function(t,e){var r=O7(t);return mt(r,e.length)},u:function(t,e){var r=t.getUTCFullYear();return mt(r,e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return mt(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return mt(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return qs.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return mt(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){var i=E7(t,n);return e==="wo"?r.ordinalNumber(i,{unit:"week"}):mt(i,e.length)},I:function(t,e,r){var n=T7(t);return e==="Io"?r.ordinalNumber(n,{unit:"week"}):mt(n,e.length)},d:function(t,e,r){return e==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):qs.d(t,e)},D:function(t,e,r){var n=ZEe(t);return e==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):mt(n,e.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var i=t.getUTCDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return mt(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var i=t.getUTCDay(),a=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return mt(a,e.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),i=n===0?7:n;switch(e){case"i":return String(i);case"ii":return mt(i,e.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours(),i=n/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n=t.getUTCHours(),i;switch(n===12?i=il.noon:n===0?i=il.midnight:i=n/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n=t.getUTCHours(),i;switch(n>=17?i=il.evening:n>=12?i=il.afternoon:n>=4?i=il.morning:i=il.night,e){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,r){if(e==="ho"){var n=t.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return qs.h(t,e)},H:function(t,e,r){return e==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):qs.H(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return e==="Ko"?r.ordinalNumber(n,{unit:"hour"}):mt(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return n===0&&(n=24),e==="ko"?r.ordinalNumber(n,{unit:"hour"}):mt(n,e.length)},m:function(t,e,r){return e==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):qs.m(t,e)},s:function(t,e,r){return e==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):qs.s(t,e)},S:function(t,e){return qs.S(t,e)},X:function(t,e,r,n){var i=n._originalDate||t,a=i.getTimezoneOffset();if(a===0)return"Z";switch(e){case"X":return l3(a);case"XXXX":case"XX":return yu(a);case"XXXXX":case"XXX":default:return yu(a,":")}},x:function(t,e,r,n){var i=n._originalDate||t,a=i.getTimezoneOffset();switch(e){case"x":return l3(a);case"xxxx":case"xx":return yu(a);case"xxxxx":case"xxx":default:return yu(a,":")}},O:function(t,e,r,n){var i=n._originalDate||t,a=i.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+c3(a,":");case"OOOO":default:return"GMT"+yu(a,":")}},z:function(t,e,r,n){var i=n._originalDate||t,a=i.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+c3(a,":");case"zzzz":default:return"GMT"+yu(a,":")}},t:function(t,e,r,n){var i=n._originalDate||t,a=Math.floor(i.getTime()/1e3);return mt(a,e.length)},T:function(t,e,r,n){var i=n._originalDate||t,a=i.getTime();return mt(a,e.length)}};function c3(t,e){var r=t>0?"-":"+",n=Math.abs(t),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var s=e||"";return r+String(i)+s+mt(a,2)}function l3(t,e){if(t%60===0){var r=t>0?"-":"+";return r+mt(Math.abs(t)/60,2)}return yu(t,e)}function yu(t,e){var r=e||"",n=t>0?"-":"+",i=Math.abs(t),a=mt(Math.floor(i/60),2),s=mt(i%60,2);return n+a+r+s}const axe=ixe;var d3=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},x7=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},sxe=function(t,e){var r=t.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return d3(t,e);var a;switch(n){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",d3(n,e)).replace("{{time}}",x7(i,e))},oxe={p:x7,P:sxe};const bT=oxe;var uxe=["D","DD"],cxe=["YY","YYYY"];function P7(t){return uxe.indexOf(t)!==-1}function C7(t){return cxe.indexOf(t)!==-1}function eb(t,e,r){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var lxe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},dxe=function(t,e,r){var n,i=lxe[t];return typeof i=="string"?n=i:e===1?n=i.one:n=i.other.replace("{{count}}",e.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};const fxe=dxe;function E1(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,n=t.formats[r]||t.formats[t.defaultWidth];return n}}var hxe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},pxe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},mxe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gxe={date:E1({formats:hxe,defaultWidth:"full"}),time:E1({formats:pxe,defaultWidth:"full"}),dateTime:E1({formats:mxe,defaultWidth:"full"})};const vxe=gxe;var bxe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},yxe=function(t,e,r,n){return bxe[t]};const _xe=yxe;function If(t){return function(e,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,s=r!=null&&r.width?String(r.width):a;i=t.formattingValues[s]||t.formattingValues[a]}else{var o=t.defaultWidth,u=r!=null&&r.width?String(r.width):t.defaultWidth;i=t.values[u]||t.values[o]}var c=t.argumentCallback?t.argumentCallback(e):e;return i[c]}}var wxe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Sxe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Oxe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Txe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Exe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},xxe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Pxe=function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Cxe={ordinalNumber:Pxe,era:If({values:wxe,defaultWidth:"wide"}),quarter:If({values:Sxe,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:If({values:Oxe,defaultWidth:"wide"}),day:If({values:Txe,defaultWidth:"wide"}),dayPeriod:If({values:Exe,defaultWidth:"wide",formattingValues:xxe,defaultFormattingWidth:"wide"})};const Axe=Cxe;function Rf(t){return function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],a=e.match(i);if(!a)return null;var s=a[0],o=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],u=Array.isArray(o)?$xe(o,function(d){return d.test(s)}):Mxe(o,function(d){return d.test(s)}),c;c=t.valueCallback?t.valueCallback(u):u,c=r.valueCallback?r.valueCallback(c):c;var l=e.slice(s.length);return{value:c,rest:l}}}function Mxe(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function $xe(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r}function kxe(t){return function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.match(t.matchPattern);if(!n)return null;var i=n[0],a=e.match(t.parsePattern);if(!a)return null;var s=t.valueCallback?t.valueCallback(a[0]):a[0];s=r.valueCallback?r.valueCallback(s):s;var o=e.slice(i.length);return{value:s,rest:o}}}var Dxe=/^(\d+)(th|st|nd|rd)?/i,Ixe=/\d+/i,Rxe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Lxe={any:[/^b/i,/^(a|c)/i]},Nxe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Bxe={any:[/1/i,/2/i,/3/i,/4/i]},Fxe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},jxe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Hxe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},zxe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Vxe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Uxe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Gxe={ordinalNumber:kxe({matchPattern:Dxe,parsePattern:Ixe,valueCallback:function(t){return parseInt(t,10)}}),era:Rf({matchPatterns:Rxe,defaultMatchWidth:"wide",parsePatterns:Lxe,defaultParseWidth:"any"}),quarter:Rf({matchPatterns:Nxe,defaultMatchWidth:"wide",parsePatterns:Bxe,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Rf({matchPatterns:Fxe,defaultMatchWidth:"wide",parsePatterns:jxe,defaultParseWidth:"any"}),day:Rf({matchPatterns:Hxe,defaultMatchWidth:"wide",parsePatterns:zxe,defaultParseWidth:"any"}),dayPeriod:Rf({matchPatterns:Vxe,defaultMatchWidth:"any",parsePatterns:Uxe,defaultParseWidth:"any"})};const Wxe=Gxe;var Yxe={code:"en-US",formatDistance:fxe,formatLong:vxe,formatRelative:_xe,localize:Axe,match:Wxe,options:{weekStartsOn:0,firstWeekContainsDate:1}};const A7=Yxe;var Kxe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,qxe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Xxe=/^'([^]*?)'?$/,Jxe=/''/g,Zxe=/[a-zA-Z]/;function Qxe(t,e,r){var n,i,a,s,o,u,c,l,d,f,p,m,b,_,S,x,O,h;ye(2,arguments);var v=String(e),g=Ko(),T=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:g.locale)!==null&&n!==void 0?n:A7,P=Lt((a=(s=(o=(u=r==null?void 0:r.firstWeekContainsDate)!==null&&u!==void 0?u:r==null||(c=r.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&o!==void 0?o:g.firstWeekContainsDate)!==null&&s!==void 0?s:(d=g.locale)===null||d===void 0||(f=d.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=Lt((p=(m=(b=(_=r==null?void 0:r.weekStartsOn)!==null&&_!==void 0?_:r==null||(S=r.locale)===null||S===void 0||(x=S.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&b!==void 0?b:g.weekStartsOn)!==null&&m!==void 0?m:(O=g.locale)===null||O===void 0||(h=O.options)===null||h===void 0?void 0:h.weekStartsOn)!==null&&p!==void 0?p:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!T.localize)throw new RangeError("locale must contain localize property");if(!T.formatLong)throw new RangeError("locale must contain formatLong property");var w=xe(t);if(!v7(w))throw new RangeError("Invalid time value");var A=Q0(w),C=S7(w,A),E={firstWeekContainsDate:P,weekStartsOn:k,locale:T,_originalDate:w},$=v.match(qxe).map(function(D){var M=D[0];if(M==="p"||M==="P"){var L=bT[M];return L(D,T.formatLong)}return D}).join("").match(Kxe).map(function(D){if(D==="''")return"'";var M=D[0];if(M==="'")return ePe(D);var L=axe[M];if(L)return!(r!=null&&r.useAdditionalWeekYearTokens)&&C7(D)&&eb(D,e,String(t)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&P7(D)&&eb(D,e,String(t)),L(C,D,T.localize,E);if(M.match(Zxe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return D}).join("");return $}function ePe(t){var e=t.match(Xxe);return e?e[1].replace(Jxe,"'"):t}function tPe(t,e){if(t==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}function tb(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rPe=10;class M7{constructor(){tb(this,"priority",void 0),tb(this,"subPriority",0)}validate(e,r){return!0}}class nPe extends M7{constructor(e,r,n,i,a){super(),this.value=e,this.validateValue=r,this.setValue=n,this.priority=i,a&&(this.subPriority=a)}validate(e,r){return this.validateValue(e,this.value,r)}set(e,r,n){return this.setValue(e,r,this.value,n)}}class iPe extends M7{constructor(){super(...arguments),tb(this,"priority",rPe),tb(this,"subPriority",-1)}set(e,r){if(r.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}function x1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class lt{constructor(){x1(this,"incompatibleTokens",void 0),x1(this,"priority",void 0),x1(this,"subPriority",void 0)}run(e,r,n,i){var a=this.parse(e,r,n,i);return a?{setter:new nPe(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,r,n){return!0}}function f3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class aPe extends lt{constructor(){super(...arguments),f3(this,"priority",140),f3(this,"incompatibleTokens",["R","u","t","T"])}parse(e,r,n){switch(r){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,r,n){return r.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}var fr={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ca={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function hr(t,e){return t&&{value:e(t.value),rest:t.rest}}function Kt(t,e){var r=e.match(t);return r?{value:parseInt(r[0],10),rest:e.slice(r[0].length)}:null}function Aa(t,e){var r=e.match(t);if(!r)return null;if(r[0]==="Z")return{value:0,rest:e.slice(1)};var n=r[1]==="+"?1:-1,i=r[2]?parseInt(r[2],10):0,a=r[3]?parseInt(r[3],10):0,s=r[5]?parseInt(r[5],10):0;return{value:n*(i*ky+a*$y+s*AEe),rest:e.slice(r[0].length)}}function $7(t){return Kt(fr.anyDigitsSigned,t)}function nr(t,e){switch(t){case 1:return Kt(fr.singleDigit,e);case 2:return Kt(fr.twoDigits,e);case 3:return Kt(fr.threeDigits,e);case 4:return Kt(fr.fourDigits,e);default:return Kt(new RegExp("^\\d{1,"+t+"}"),e)}}function rb(t,e){switch(t){case 1:return Kt(fr.singleDigitSigned,e);case 2:return Kt(fr.twoDigitsSigned,e);case 3:return Kt(fr.threeDigitsSigned,e);case 4:return Kt(fr.fourDigitsSigned,e);default:return Kt(new RegExp("^-?\\d{1,"+t+"}"),e)}}function YP(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function k7(t,e){var r=e>0,n=r?e:1-e,i;if(n<=50)i=t||100;else{var a=n+50,s=Math.floor(a/100)*100,o=t>=a%100;i=t+s-(o?100:0)}return r?i:1-i}function D7(t){return t%400===0||t%4===0&&t%100!==0}function h3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class sPe extends lt{constructor(){super(...arguments),h3(this,"priority",130),h3(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,r,n){var i=function(a){return{year:a,isTwoDigitYear:r==="yy"}};switch(r){case"y":return hr(nr(4,e),i);case"yo":return hr(n.ordinalNumber(e,{unit:"year"}),i);default:return hr(nr(r.length,e),i)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,n){var i=e.getUTCFullYear();if(n.isTwoDigitYear){var a=k7(n.year,i);return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}var s=!("era"in r)||r.era===1?n.year:1-n.year;return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e}}function p3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class oPe extends lt{constructor(){super(...arguments),p3(this,"priority",130),p3(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,r,n){var i=function(a){return{year:a,isTwoDigitYear:r==="YY"}};switch(r){case"Y":return hr(nr(4,e),i);case"Yo":return hr(n.ordinalNumber(e,{unit:"year"}),i);default:return hr(nr(r.length,e),i)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,n,i){var a=WP(e,i);if(n.isTwoDigitYear){var s=k7(n.year,a);return e.setUTCFullYear(s,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),sc(e,i)}var o=!("era"in r)||r.era===1?n.year:1-n.year;return e.setUTCFullYear(o,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),sc(e,i)}}function m3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class uPe extends lt{constructor(){super(...arguments),m3(this,"priority",130),m3(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,r){return rb(r==="R"?4:r.length,e)}set(e,r,n){var i=new Date(0);return i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0),yd(i)}}function g3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class cPe extends lt{constructor(){super(...arguments),g3(this,"priority",130),g3(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,r){return rb(r==="u"?4:r.length,e)}set(e,r,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}function v3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class lPe extends lt{constructor(){super(...arguments),v3(this,"priority",120),v3(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,r,n){switch(r){case"Q":case"QQ":return nr(r.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=1&&r<=4}set(e,r,n){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e}}function b3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class dPe extends lt{constructor(){super(...arguments),b3(this,"priority",120),b3(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,r,n){switch(r){case"q":case"qq":return nr(r.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=1&&r<=4}set(e,r,n){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e}}function y3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class fPe extends lt{constructor(){super(...arguments),y3(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),y3(this,"priority",110)}parse(e,r,n){var i=function(a){return a-1};switch(r){case"M":return hr(Kt(fr.month,e),i);case"MM":return hr(nr(2,e),i);case"Mo":return hr(n.ordinalNumber(e,{unit:"month"}),i);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=11}set(e,r,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}function _3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class hPe extends lt{constructor(){super(...arguments),_3(this,"priority",110),_3(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,r,n){var i=function(a){return a-1};switch(r){case"L":return hr(Kt(fr.month,e),i);case"LL":return hr(nr(2,e),i);case"Lo":return hr(n.ordinalNumber(e,{unit:"month"}),i);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=0&&r<=11}set(e,r,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}function pPe(t,e,r){ye(2,arguments);var n=xe(t),i=Lt(e),a=E7(n,r)-i;return n.setUTCDate(n.getUTCDate()-a*7),n}function w3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class mPe extends lt{constructor(){super(...arguments),w3(this,"priority",100),w3(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,r,n){switch(r){case"w":return Kt(fr.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return nr(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,n,i){return sc(pPe(e,n,i),i)}}function gPe(t,e){ye(2,arguments);var r=xe(t),n=Lt(e),i=T7(r)-n;return r.setUTCDate(r.getUTCDate()-i*7),r}function S3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class vPe extends lt{constructor(){super(...arguments),S3(this,"priority",100),S3(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,r,n){switch(r){case"I":return Kt(fr.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return nr(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,n){return yd(gPe(e,n))}}function P1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bPe=[31,28,31,30,31,30,31,31,30,31,30,31],yPe=[31,29,31,30,31,30,31,31,30,31,30,31];class _Pe extends lt{constructor(){super(...arguments),P1(this,"priority",90),P1(this,"subPriority",1),P1(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,r,n){switch(r){case"d":return Kt(fr.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return nr(r.length,e)}}validate(e,r){var n=e.getUTCFullYear(),i=D7(n),a=e.getUTCMonth();return i?r>=1&&r<=yPe[a]:r>=1&&r<=bPe[a]}set(e,r,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}function C1(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class wPe extends lt{constructor(){super(...arguments),C1(this,"priority",90),C1(this,"subpriority",1),C1(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,r,n){switch(r){case"D":case"DD":return Kt(fr.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return nr(r.length,e)}}validate(e,r){var n=e.getUTCFullYear(),i=D7(n);return i?r>=1&&r<=366:r>=1&&r<=365}set(e,r,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}function KP(t,e,r){var n,i,a,s,o,u,c,l;ye(2,arguments);var d=Ko(),f=Lt((n=(i=(a=(s=r==null?void 0:r.weekStartsOn)!==null&&s!==void 0?s:r==null||(o=r.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&a!==void 0?a:d.weekStartsOn)!==null&&i!==void 0?i:(c=d.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=xe(t),m=Lt(e),b=p.getUTCDay(),_=m%7,S=(_+7)%7,x=(S<f?7:0)+m-b;return p.setUTCDate(p.getUTCDate()+x),p}function O3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class SPe extends lt{constructor(){super(...arguments),O3(this,"priority",90),O3(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,r,n){switch(r){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,n,i){return e=KP(e,n,i),e.setUTCHours(0,0,0,0),e}}function T3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class OPe extends lt{constructor(){super(...arguments),T3(this,"priority",90),T3(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,r,n,i){var a=function(s){var o=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+o};switch(r){case"e":case"ee":return hr(nr(r.length,e),a);case"eo":return hr(n.ordinalNumber(e,{unit:"day"}),a);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,n,i){return e=KP(e,n,i),e.setUTCHours(0,0,0,0),e}}function E3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class TPe extends lt{constructor(){super(...arguments),E3(this,"priority",90),E3(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,r,n,i){var a=function(s){var o=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+o};switch(r){case"c":case"cc":return hr(nr(r.length,e),a);case"co":return hr(n.ordinalNumber(e,{unit:"day"}),a);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=0&&r<=6}set(e,r,n,i){return e=KP(e,n,i),e.setUTCHours(0,0,0,0),e}}function EPe(t,e){ye(2,arguments);var r=Lt(e);r%7===0&&(r=r-7);var n=1,i=xe(t),a=i.getUTCDay(),s=r%7,o=(s+7)%7,u=(o<n?7:0)+r-a;return i.setUTCDate(i.getUTCDate()+u),i}function x3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class xPe extends lt{constructor(){super(...arguments),x3(this,"priority",90),x3(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,r,n){var i=function(a){return a===0?7:a};switch(r){case"i":case"ii":return nr(r.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return hr(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return hr(n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return hr(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiii":default:return hr(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i)}}validate(e,r){return r>=1&&r<=7}set(e,r,n){return e=EPe(e,n),e.setUTCHours(0,0,0,0),e}}function P3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class PPe extends lt{constructor(){super(...arguments),P3(this,"priority",80),P3(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,r,n){switch(r){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,n){return e.setUTCHours(YP(n),0,0,0),e}}function C3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class CPe extends lt{constructor(){super(...arguments),C3(this,"priority",80),C3(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,r,n){switch(r){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,n){return e.setUTCHours(YP(n),0,0,0),e}}function A3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class APe extends lt{constructor(){super(...arguments),A3(this,"priority",80),A3(this,"incompatibleTokens",["a","b","t","T"])}parse(e,r,n){switch(r){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,n){return e.setUTCHours(YP(n),0,0,0),e}}function M3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class MPe extends lt{constructor(){super(...arguments),M3(this,"priority",70),M3(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,r,n){switch(r){case"h":return Kt(fr.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return nr(r.length,e)}}validate(e,r){return r>=1&&r<=12}set(e,r,n){var i=e.getUTCHours()>=12;return i&&n<12?e.setUTCHours(n+12,0,0,0):!i&&n===12?e.setUTCHours(0,0,0,0):e.setUTCHours(n,0,0,0),e}}function $3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class $Pe extends lt{constructor(){super(...arguments),$3(this,"priority",70),$3(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,r,n){switch(r){case"H":return Kt(fr.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return nr(r.length,e)}}validate(e,r){return r>=0&&r<=23}set(e,r,n){return e.setUTCHours(n,0,0,0),e}}function k3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class kPe extends lt{constructor(){super(...arguments),k3(this,"priority",70),k3(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,r,n){switch(r){case"K":return Kt(fr.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return nr(r.length,e)}}validate(e,r){return r>=0&&r<=11}set(e,r,n){var i=e.getUTCHours()>=12;return i&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}function D3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class DPe extends lt{constructor(){super(...arguments),D3(this,"priority",70),D3(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,r,n){switch(r){case"k":return Kt(fr.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return nr(r.length,e)}}validate(e,r){return r>=1&&r<=24}set(e,r,n){var i=n<=24?n%24:n;return e.setUTCHours(i,0,0,0),e}}function I3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class IPe extends lt{constructor(){super(...arguments),I3(this,"priority",60),I3(this,"incompatibleTokens",["t","T"])}parse(e,r,n){switch(r){case"m":return Kt(fr.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return nr(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,n){return e.setUTCMinutes(n,0,0),e}}function R3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class RPe extends lt{constructor(){super(...arguments),R3(this,"priority",50),R3(this,"incompatibleTokens",["t","T"])}parse(e,r,n){switch(r){case"s":return Kt(fr.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return nr(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,n){return e.setUTCSeconds(n,0),e}}function L3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class LPe extends lt{constructor(){super(...arguments),L3(this,"priority",30),L3(this,"incompatibleTokens",["t","T"])}parse(e,r){var n=function(i){return Math.floor(i*Math.pow(10,-r.length+3))};return hr(nr(r.length,e),n)}set(e,r,n){return e.setUTCMilliseconds(n),e}}function N3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class NPe extends lt{constructor(){super(...arguments),N3(this,"priority",10),N3(this,"incompatibleTokens",["t","T","x"])}parse(e,r){switch(r){case"X":return Aa(Ca.basicOptionalMinutes,e);case"XX":return Aa(Ca.basic,e);case"XXXX":return Aa(Ca.basicOptionalSeconds,e);case"XXXXX":return Aa(Ca.extendedOptionalSeconds,e);case"XXX":default:return Aa(Ca.extended,e)}}set(e,r,n){return r.timestampIsSet?e:new Date(e.getTime()-n)}}function B3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class BPe extends lt{constructor(){super(...arguments),B3(this,"priority",10),B3(this,"incompatibleTokens",["t","T","X"])}parse(e,r){switch(r){case"x":return Aa(Ca.basicOptionalMinutes,e);case"xx":return Aa(Ca.basic,e);case"xxxx":return Aa(Ca.basicOptionalSeconds,e);case"xxxxx":return Aa(Ca.extendedOptionalSeconds,e);case"xxx":default:return Aa(Ca.extended,e)}}set(e,r,n){return r.timestampIsSet?e:new Date(e.getTime()-n)}}function F3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class FPe extends lt{constructor(){super(...arguments),F3(this,"priority",40),F3(this,"incompatibleTokens","*")}parse(e){return $7(e)}set(e,r,n){return[new Date(n*1e3),{timestampIsSet:!0}]}}function j3(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class jPe extends lt{constructor(){super(...arguments),j3(this,"priority",20),j3(this,"incompatibleTokens","*")}parse(e){return $7(e)}set(e,r,n){return[new Date(n),{timestampIsSet:!0}]}}var HPe={G:new aPe,y:new sPe,Y:new oPe,R:new uPe,u:new cPe,Q:new lPe,q:new dPe,M:new fPe,L:new hPe,w:new mPe,I:new vPe,d:new _Pe,D:new wPe,E:new SPe,e:new OPe,c:new TPe,i:new xPe,a:new PPe,b:new CPe,B:new APe,h:new MPe,H:new $Pe,K:new kPe,k:new DPe,m:new IPe,s:new RPe,S:new LPe,X:new NPe,x:new BPe,t:new FPe,T:new jPe},zPe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,VPe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,UPe=/^'([^]*?)'?$/,GPe=/''/g,WPe=/\S/,YPe=/[a-zA-Z]/;function KPe(t,e,r,n){var i,a,s,o,u,c,l,d,f,p,m,b,_,S,x,O,h,v;ye(3,arguments);var g=String(t),T=String(e),P=Ko(),k=(i=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:P.locale)!==null&&i!==void 0?i:A7;if(!k.match)throw new RangeError("locale must contain match property");var w=Lt((s=(o=(u=(c=n==null?void 0:n.firstWeekContainsDate)!==null&&c!==void 0?c:n==null||(l=n.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&u!==void 0?u:P.firstWeekContainsDate)!==null&&o!==void 0?o:(f=P.locale)===null||f===void 0||(p=f.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&s!==void 0?s:1);if(!(w>=1&&w<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=Lt((m=(b=(_=(S=n==null?void 0:n.weekStartsOn)!==null&&S!==void 0?S:n==null||(x=n.locale)===null||x===void 0||(O=x.options)===null||O===void 0?void 0:O.weekStartsOn)!==null&&_!==void 0?_:P.weekStartsOn)!==null&&b!==void 0?b:(h=P.locale)===null||h===void 0||(v=h.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&m!==void 0?m:0);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(T==="")return g===""?xe(r):new Date(NaN);var C={firstWeekContainsDate:w,weekStartsOn:A,locale:k},E=[new iPe],$=T.match(VPe).map(function(G){var K=G[0];if(K in bT){var X=bT[K];return X(G,k.formatLong)}return G}).join("").match(zPe),D=[],M=function(G){!(n!=null&&n.useAdditionalWeekYearTokens)&&C7(G)&&eb(G,T,t),!(n!=null&&n.useAdditionalDayOfYearTokens)&&P7(G)&&eb(G,T,t);var K=G[0],X=HPe[K];if(X){var se=X.incompatibleTokens;if(Array.isArray(se)){var Ae=D.find(function(bt){return se.includes(bt.token)||bt.token===K});if(Ae)throw new RangeError("The format string mustn't contain `".concat(Ae.fullToken,"` and `").concat(G,"` at the same time"))}else if(X.incompatibleTokens==="*"&&D.length>0)throw new RangeError("The format string mustn't contain `".concat(G,"` and any other token at the same time"));D.push({token:K,fullToken:G});var Ye=X.run(g,G,k.match,C);if(!Ye)return L=G,{v:new Date(NaN)};E.push(Ye.setter),g=Ye.rest}else{if(K.match(YPe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+K+"`");if(G==="''"?G="'":K==="'"&&(G=qPe(G)),g.indexOf(G)===0)g=g.slice(G.length);else return L=G,{v:new Date(NaN)}}L=G};for(var L of $){var N=M(L);if(typeof N=="object")return N.v}if(g.length>0&&WPe.test(g))return new Date(NaN);var j=E.map(function(G){return G.priority}).sort(function(G,K){return K-G}).filter(function(G,K,X){return X.indexOf(G)===K}).map(function(G){return E.filter(function(K){return K.priority===G}).sort(function(K,X){return X.subPriority-K.subPriority})}).map(function(G){return G[0]}),z=xe(r);if(isNaN(z.getTime()))return new Date(NaN);var U=S7(z,Q0(z)),J={};for(var re of j){if(!re.validate(U,C))return new Date(NaN);var Y=re.set(U,J,C);Array.isArray(Y)?(U=Y[0],tPe(J,Y[1])):U=Y}return U}function qPe(t){return t.match(UPe)[1].replace(GPe,"'")}function XPe(t){ye(1,arguments);var e=xe(t);return e.setMinutes(0,0,0),e}function JPe(t){ye(1,arguments);var e=xe(t);return e.setMilliseconds(0),e}function ZPe(t,e){var r;ye(1,arguments);var n=Lt((r=e==null?void 0:e.additionalDigits)!==null&&r!==void 0?r:2);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=rCe(t),a;if(i.date){var s=nCe(i.date,n);a=iCe(s.restDateString,s.year)}if(!a||isNaN(a.getTime()))return new Date(NaN);var o=a.getTime(),u=0,c;if(i.time&&(u=aCe(i.time),isNaN(u)))return new Date(NaN);if(i.timezone){if(c=sCe(i.timezone),isNaN(c))return new Date(NaN)}else{var l=new Date(o+u),d=new Date(0);return d.setFullYear(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()),d.setHours(l.getUTCHours(),l.getUTCMinutes(),l.getUTCSeconds(),l.getUTCMilliseconds()),d}return new Date(o+u+c)}var vg={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},QPe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,eCe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,tCe=/^([+-])(\d{2})(?::?(\d{2}))?$/;function rCe(t){var e={},r=t.split(vg.dateTimeDelimiter),n;if(r.length>2)return e;if(/:/.test(r[0])?n=r[0]:(e.date=r[0],n=r[1],vg.timeZoneDelimiter.test(e.date)&&(e.date=t.split(vg.timeZoneDelimiter)[0],n=t.substr(e.date.length,t.length))),n){var i=vg.timezone.exec(n);i?(e.time=n.replace(i[1],""),e.timezone=i[1]):e.time=n}return e}function nCe(t,e){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),n=t.match(r);if(!n)return{year:NaN,restDateString:""};var i=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:a===null?i:a*100,restDateString:t.slice((n[1]||n[2]).length)}}function iCe(t,e){if(e===null)return new Date(NaN);var r=t.match(QPe);if(!r)return new Date(NaN);var n=!!r[4],i=Lf(r[1]),a=Lf(r[2])-1,s=Lf(r[3]),o=Lf(r[4]),u=Lf(r[5])-1;if(n)return dCe(e,o,u)?oCe(e,o,u):new Date(NaN);var c=new Date(0);return!cCe(e,a,s)||!lCe(e,i)?new Date(NaN):(c.setUTCFullYear(e,a,Math.max(i,s)),c)}function Lf(t){return t?parseInt(t):1}function aCe(t){var e=t.match(eCe);if(!e)return NaN;var r=A1(e[1]),n=A1(e[2]),i=A1(e[3]);return fCe(r,n,i)?r*ky+n*$y+i*1e3:NaN}function A1(t){return t&&parseFloat(t.replace(",","."))||0}function sCe(t){if(t==="Z")return 0;var e=t.match(tCe);if(!e)return 0;var r=e[1]==="+"?-1:1,n=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return hCe(n,i)?r*(n*ky+i*$y):NaN}function oCe(t,e,r){var n=new Date(0);n.setUTCFullYear(t,0,4);var i=n.getUTCDay()||7,a=(e-1)*7+r+1-i;return n.setUTCDate(n.getUTCDate()+a),n}var uCe=[31,null,31,30,31,30,31,31,30,31,30,31];function I7(t){return t%400===0||t%4===0&&t%100!==0}function cCe(t,e,r){return e>=0&&e<=11&&r>=1&&r<=(uCe[e]||(I7(t)?29:28))}function lCe(t,e){return e>=1&&e<=(I7(t)?366:365)}function dCe(t,e,r){return e>=1&&e<=53&&r>=0&&r<=6}function fCe(t,e,r){return t===24?e===0&&r===0:r>=0&&r<60&&e>=0&&e<60&&t>=0&&t<25}function hCe(t,e){return e>=0&&e<=59}/*!
* chartjs-adapter-date-fns v2.0.0
* https://www.chartjs.org
* (c) 2021 chartjs-adapter-date-fns Contributors
* Released under the MIT license
*/const pCe={datetime:"MMM d, yyyy, h:mm:ss aaaa",millisecond:"h:mm:ss.SSS aaaa",second:"h:mm:ss aaaa",minute:"h:mm aaaa",hour:"ha",day:"MMM d",week:"PP",month:"MMM yyyy",quarter:"qqq - yyyy",year:"yyyy"};qU._date.override({_id:"date-fns",formats:function(){return pCe},parse:function(t,e){if(t===null||typeof t>"u")return null;const r=typeof t;return r==="number"||t instanceof Date?t=xe(t):r==="string"&&(typeof e=="string"?t=KPe(t,e,new Date,this.options):t=ZPe(t,this.options)),v7(t)?t.getTime():null},format:function(t,e){return Qxe(t,e,this.options)},add:function(t,e,r){switch(r){case"millisecond":return Wp(t,e);case"second":return xEe(t,e);case"minute":return TEe(t,e);case"hour":return yEe(t,e);case"day":return g7(t,e);case"week":return PEe(t,e);case"month":return GP(t,e);case"quarter":return EEe(t,e);case"year":return CEe(t,e);default:return t}},diff:function(t,e,r){switch(r){case"millisecond":return Dy(t,e);case"second":return BEe(t,e);case"minute":return REe(t,e);case"hour":return IEe(t,e);case"day":return b7(t,e);case"week":return FEe(t,e);case"month":return w7(t,e);case"quarter":return NEe(t,e);case"year":return jEe(t,e);default:return 0}},startOf:function(t,e,r){switch(e){case"second":return JPe(t);case"minute":return HEe(t);case"hour":return XPe(t);case"day":return vT(t);case"week":return s3(t);case"isoWeek":return s3(t,{weekStartsOn:+r});case"month":return VEe(t);case"quarter":return zEe(t);case"year":return GEe(t);default:return t}},endOf:function(t,e){switch(e){case"second":return XEe(t);case"minute":return KEe(t);case"hour":return WEe(t);case"day":return y7(t);case"week":return YEe(t);case"month":return _7(t);case"quarter":return qEe(t);case"year":return UEe(t);default:return t}}});var R7={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(typeof self<"u"?self:Oe,function(){return(()=>{var r={646:s=>{s.exports=function(o){if(Array.isArray(o)){for(var u=0,c=new Array(o.length);u<o.length;u++)c[u]=o[u];return c}}},713:s=>{s.exports=function(o,u,c){return u in o?Object.defineProperty(o,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):o[u]=c,o}},860:s=>{s.exports=function(o){if(Symbol.iterator in Object(o)||Object.prototype.toString.call(o)==="[object Arguments]")return Array.from(o)}},206:s=>{s.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},319:(s,o,u)=>{var c=u(646),l=u(860),d=u(206);s.exports=function(f){return c(f)||l(f)||d()}},8:s=>{function o(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s.exports=o=function(c){return typeof c}:s.exports=o=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},o(u)}s.exports=o}},n={};function i(s){var o=n[s];if(o!==void 0)return o.exports;var u=n[s]={exports:{}};return r[s](u,u.exports,i),u.exports}i.n=s=>{var o=s&&s.__esModule?()=>s.default:()=>s;return i.d(o,{a:o}),o},i.d=(s,o)=>{for(var u in o)i.o(o,u)&&!i.o(s,u)&&Object.defineProperty(s,u,{enumerable:!0,get:o[u]})},i.o=(s,o)=>Object.prototype.hasOwnProperty.call(s,o),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{VueSelect:()=>T,default:()=>k,mixins:()=>P});var s=i(319),o=i.n(s),u=i(8),c=i.n(u),l=i(713),d=i.n(l);const f={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer:function(){this.autoscroll&&this.maybeAdjustScroll()},open:function(w){var A=this;this.autoscroll&&w&&this.$nextTick(function(){return A.maybeAdjustScroll()})}},methods:{maybeAdjustScroll:function(){var w,A=((w=this.$refs.dropdownMenu)===null||w===void 0?void 0:w.children[this.typeAheadPointer])||!1;if(A){var C=this.getDropdownViewport(),E=A.getBoundingClientRect(),$=E.top,D=E.bottom,M=E.height;if($<C.top)return this.$refs.dropdownMenu.scrollTop=A.offsetTop;if(D>C.bottom)return this.$refs.dropdownMenu.scrollTop=A.offsetTop-(C.height-M)}},getDropdownViewport:function(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},p={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){for(var w=0;w<this.filteredOptions.length;w++)if(this.selectable(this.filteredOptions[w])){this.typeAheadPointer=w;break}},open:function(w){w&&this.typeAheadToLastSelected()},selectedValue:function(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp:function(){for(var w=this.typeAheadPointer-1;w>=0;w--)if(this.selectable(this.filteredOptions[w])){this.typeAheadPointer=w;break}},typeAheadDown:function(){for(var w=this.typeAheadPointer+1;w<this.filteredOptions.length;w++)if(this.selectable(this.filteredOptions[w])){this.typeAheadPointer=w;break}},typeAheadSelect:function(){var w=this.filteredOptions[this.typeAheadPointer];w&&this.selectable(w)&&this.select(w)},typeAheadToLastSelected:function(){this.typeAheadPointer=this.selectedValue.length!==0?this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1]):-1}}},m={props:{loading:{type:Boolean,default:!1}},data:function(){return{mutableLoading:!1}},watch:{search:function(){this.$emit("search",this.search,this.toggleLoading)},loading:function(w){this.mutableLoading=w}},methods:{toggleLoading:function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.mutableLoading=w??!this.mutableLoading}}};function b(w,A,C,E,$,D,M,L){var N,j=typeof w=="function"?w.options:w;if(A&&(j.render=A,j.staticRenderFns=C,j._compiled=!0),E&&(j.functional=!0),D&&(j._scopeId="data-v-"+D),M?(N=function(J){(J=J||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||typeof __VUE_SSR_CONTEXT__>"u"||(J=__VUE_SSR_CONTEXT__),$&&$.call(this,J),J&&J._registeredComponents&&J._registeredComponents.add(M)},j._ssrRegister=N):$&&(N=L?function(){$.call(this,(j.functional?this.parent:this).$root.$options.shadowRoot)}:$),N)if(j.functional){j._injectStyles=N;var z=j.render;j.render=function(J,re){return N.call(re),z(J,re)}}else{var U=j.beforeCreate;j.beforeCreate=U?[].concat(U,N):[N]}return{exports:w,options:j}}const _={Deselect:b({},function(){var w=this.$createElement,A=this._self._c||w;return A("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[A("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])},[],!1,null,null,null).exports,OpenIndicator:b({},function(){var w=this.$createElement,A=this._self._c||w;return A("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[A("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])},[],!1,null,null,null).exports},S={inserted:function(w,A,C){var E=C.context;if(E.appendToBody){var $=E.$refs.toggle.getBoundingClientRect(),D=$.height,M=$.top,L=$.left,N=$.width,j=window.scrollX||window.pageXOffset,z=window.scrollY||window.pageYOffset;w.unbindPosition=E.calculatePosition(w,E,{width:N+"px",left:j+L+"px",top:z+M+D+"px"}),document.body.appendChild(w)}},unbind:function(w,A,C){C.context.appendToBody&&(w.unbindPosition&&typeof w.unbindPosition=="function"&&w.unbindPosition(),w.parentNode&&w.parentNode.removeChild(w))}},x=function(w){var A={};return Object.keys(w).sort().forEach(function(C){A[C]=w[C]}),JSON.stringify(A)};var O=0;const h=function(){return++O};function v(w,A){var C=Object.keys(w);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(w);A&&(E=E.filter(function($){return Object.getOwnPropertyDescriptor(w,$).enumerable})),C.push.apply(C,E)}return C}function g(w){for(var A=1;A<arguments.length;A++){var C=arguments[A]!=null?arguments[A]:{};A%2?v(Object(C),!0).forEach(function(E){d()(w,E,C[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(C)):v(Object(C)).forEach(function(E){Object.defineProperty(w,E,Object.getOwnPropertyDescriptor(C,E))})}return w}const T=b({components:g({},_),directives:{appendToBody:S},mixins:[f,p,m],props:{value:{},components:{type:Object,default:function(){return{}}},options:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:function(w){return w}},selectable:{type:Function,default:function(w){return!0}},getOptionLabel:{type:Function,default:function(w){return c()(w)==="object"?w.hasOwnProperty(this.label)?w[this.label]:console.warn('[vue-select warn]: Label key "option.'.concat(this.label,'" does not')+" exist in options object ".concat(JSON.stringify(w),`.
`)+"https://vue-select.org/api/props.html#getoptionlabel"):w}},getOptionKey:{type:Function,default:function(w){if(c()(w)!=="object")return w;try{return w.hasOwnProperty("id")?w.id:x(w)}catch(A){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
https://vue-select.org/api/props.html#getoptionkey`,w,A)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(w,A,C){return(A||"").toLocaleLowerCase().indexOf(C.toLocaleLowerCase())>-1}},filter:{type:Function,default:function(w,A){var C=this;return w.filter(function(E){var $=C.getOptionLabel(E);return typeof $=="number"&&($=$.toString()),C.filterBy(E,$,A)})}},createOption:{type:Function,default:function(w){return c()(this.optionList[0])==="object"?d()({},this.label,w):w}},resetOnOptionsChange:{default:!1,validator:function(w){return["function","boolean"].includes(c()(w))}},clearSearchOnBlur:{type:Function,default:function(w){var A=w.clearSearchOnSelect,C=w.multiple;return A&&!C}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:function(){return[13]}},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:function(w,A){return w}},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(w,A,C){var E=C.width,$=C.top,D=C.left;w.style.top=$,w.style.left=D,w.style.width=E}},dropdownShouldOpen:{type:Function,default:function(w){var A=w.noDrop,C=w.open,E=w.mutableLoading;return!A&&C&&!E}},uid:{type:[String,Number],default:function(){return h()}}},data:function(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[]}},computed:{isTrackingValues:function(){return this.value===void 0||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var w=this.value;return this.isTrackingValues&&(w=this.$data._value),w!=null&&w!==""?[].concat(w):[]},optionList:function(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var w=this,A={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:g({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":"vs".concat(this.uid,"__combobox"),"aria-controls":"vs".concat(this.uid,"__listbox"),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs".concat(this.uid,"__option-").concat(this.typeAheadPointer)}:{}),events:{compositionstart:function(){return w.isComposing=!0},compositionend:function(){return w.isComposing=!1},keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(C){return w.search=C.target.value}}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:A,listFooter:A,header:g({},A,{deselect:this.deselect}),footer:g({},A,{deselect:this.deselect})}},childComponents:function(){return g({},_,{},this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching:function(){return!!this.search},dropdownOpen:function(){return this.dropdownShouldOpen(this)},searchPlaceholder:function(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions:function(){var w=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return w;var A=this.search.length?this.filter(w,this.search,this):w;if(this.taggable&&this.search.length){var C=this.createOption(this.search);this.optionExists(C)||A.unshift(C)}return A},isValueEmpty:function(){return this.selectedValue.length===0},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options:function(w,A){var C=this;!this.taggable&&(typeof C.resetOnOptionsChange=="function"?C.resetOnOptionsChange(w,A,C.selectedValue):C.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:{immediate:!0,handler:function(w){this.isTrackingValues&&this.setInternalValueFromOptions(w)}},multiple:function(){this.clearSelection()},open:function(w){this.$emit(w?"open":"close")}},created:function(){this.mutableLoading=this.loading,this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions:function(w){var A=this;Array.isArray(w)?this.$data._value=w.map(function(C){return A.findOptionFromReducedValue(C)}):this.$data._value=this.findOptionFromReducedValue(w)},select:function(w){this.$emit("option:selecting",w),this.isOptionSelected(w)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(w):(this.taggable&&!this.optionExists(w)&&this.$emit("option:created",w),this.multiple&&(w=this.selectedValue.concat(w)),this.updateValue(w),this.$emit("option:selected",w)),this.onAfterSelect(w)},deselect:function(w){var A=this;this.$emit("option:deselecting",w),this.updateValue(this.selectedValue.filter(function(C){return!A.optionComparator(C,w)})),this.$emit("option:deselected",w)},clearSelection:function(){this.updateValue(this.multiple?[]:null)},onAfterSelect:function(w){var A=this;this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search=""),this.noDrop&&this.multiple&&this.$nextTick(function(){return A.$refs.search.focus()})},updateValue:function(w){var A=this;this.value===void 0&&(this.$data._value=w),w!==null&&(w=Array.isArray(w)?w.map(function(C){return A.reduce(C)}):this.reduce(w)),this.$emit("input",w)},toggleDropdown:function(w){var A=w.target!==this.searchEl;A&&w.preventDefault();var C=[].concat(o()(this.$refs.deselectButtons||[]),o()([this.$refs.clearButton]));this.searchEl===void 0||C.filter(Boolean).some(function(E){return E.contains(w.target)||E===w.target})?w.preventDefault():this.open&&A?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected:function(w){var A=this;return this.selectedValue.some(function(C){return A.optionComparator(C,w)})},isOptionDeselectable:function(w){return this.isOptionSelected(w)&&this.deselectFromDropdown},optionComparator:function(w,A){return this.getOptionKey(w)===this.getOptionKey(A)},findOptionFromReducedValue:function(w){var A=this,C=[].concat(o()(this.options),o()(this.pushedTags)).filter(function(E){return JSON.stringify(A.reduce(E))===JSON.stringify(w)});return C.length===1?C[0]:C.find(function(E){return A.optionComparator(E,A.$data._value)})||w},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){var w=null;this.multiple&&(w=o()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(w)}},optionExists:function(w){var A=this;return this.optionList.some(function(C){return A.optionComparator(C,w)})},normalizeOptionForSlot:function(w){return c()(w)==="object"?w:d()({},this.label,w)},pushTag:function(w){this.pushedTags.push(w)},onEscape:function(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur:function(){if(!this.mousedown||this.searching){var w=this.clearSearchOnSelect,A=this.multiple;return this.clearSearchOnBlur({clearSearchOnSelect:w,multiple:A})&&(this.search=""),void this.closeSearchOptions()}this.mousedown=!1,this.search.length!==0||this.options.length!==0||this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onSearchKeyDown:function(w){var A=this,C=function(D){return D.preventDefault(),!A.isComposing&&A.typeAheadSelect()},E={8:function(D){return A.maybeDeleteValue()},9:function(D){return A.onTab()},27:function(D){return A.onEscape()},38:function(D){return D.preventDefault(),A.typeAheadUp()},40:function(D){return D.preventDefault(),A.typeAheadDown()}};this.selectOnKeyCodes.forEach(function(D){return E[D]=C});var $=this.mapKeydown(E,this);if(typeof $[w.keyCode]=="function")return $[w.keyCode](w)}}},function(){var w=this,A=w.$createElement,C=w._self._c||A;return C("div",{staticClass:"v-select",class:w.stateClasses,attrs:{dir:w.dir}},[w._t("header",null,null,w.scope.header),w._v(" "),C("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",attrs:{id:"vs"+w.uid+"__combobox",role:"combobox","aria-expanded":w.dropdownOpen.toString(),"aria-owns":"vs"+w.uid+"__listbox","aria-label":"Search for option"},on:{mousedown:function(E){return w.toggleDropdown(E)}}},[C("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[w._l(w.selectedValue,function(E){return w._t("selected-option-container",[C("span",{key:w.getOptionKey(E),staticClass:"vs__selected"},[w._t("selected-option",[w._v(`
`+w._s(w.getOptionLabel(E))+`
`)],null,w.normalizeOptionForSlot(E)),w._v(" "),w.multiple?C("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:w.disabled,type:"button",title:"Deselect "+w.getOptionLabel(E),"aria-label":"Deselect "+w.getOptionLabel(E)},on:{click:function($){return w.deselect(E)}}},[C(w.childComponents.Deselect,{tag:"component"})],1):w._e()],2)],{option:w.normalizeOptionForSlot(E),deselect:w.deselect,multiple:w.multiple,disabled:w.disabled})}),w._v(" "),w._t("search",[C("input",w._g(w._b({staticClass:"vs__search"},"input",w.scope.search.attributes,!1),w.scope.search.events))],null,w.scope.search)],2),w._v(" "),C("div",{ref:"actions",staticClass:"vs__actions"},[C("button",{directives:[{name:"show",rawName:"v-show",value:w.showClearButton,expression:"showClearButton"}],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:w.disabled,type:"button",title:"Clear Selected","aria-label":"Clear Selected"},on:{click:w.clearSelection}},[C(w.childComponents.Deselect,{tag:"component"})],1),w._v(" "),w._t("open-indicator",[w.noDrop?w._e():C(w.childComponents.OpenIndicator,w._b({tag:"component"},"component",w.scope.openIndicator.attributes,!1))],null,w.scope.openIndicator),w._v(" "),w._t("spinner",[C("div",{directives:[{name:"show",rawName:"v-show",value:w.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[w._v("Loading...")])],null,w.scope.spinner)],2)]),w._v(" "),C("transition",{attrs:{name:w.transition}},[w.dropdownOpen?C("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:"vs"+w.uid+"__listbox",ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:"vs"+w.uid+"__listbox",role:"listbox",tabindex:"-1"},on:{mousedown:function(E){return E.preventDefault(),w.onMousedown(E)},mouseup:w.onMouseUp}},[w._t("list-header",null,null,w.scope.listHeader),w._v(" "),w._l(w.filteredOptions,function(E,$){return C("li",{key:w.getOptionKey(E),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--deselect":w.isOptionDeselectable(E)&&$===w.typeAheadPointer,"vs__dropdown-option--selected":w.isOptionSelected(E),"vs__dropdown-option--highlight":$===w.typeAheadPointer,"vs__dropdown-option--disabled":!w.selectable(E)},attrs:{id:"vs"+w.uid+"__option-"+$,role:"option","aria-selected":$===w.typeAheadPointer||null},on:{mouseover:function(D){w.selectable(E)&&(w.typeAheadPointer=$)},click:function(D){D.preventDefault(),D.stopPropagation(),w.selectable(E)&&w.select(E)}}},[w._t("option",[w._v(`
`+w._s(w.getOptionLabel(E))+`
`)],null,w.normalizeOptionForSlot(E))],2)}),w._v(" "),w.filteredOptions.length===0?C("li",{staticClass:"vs__no-options"},[w._t("no-options",[w._v(`
Sorry, no matching options.
`)],null,w.scope.noOptions)],2):w._e(),w._v(" "),w._t("list-footer",null,null,w.scope.listFooter)],2):C("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:"vs"+w.uid+"__listbox",role:"listbox"}})]),w._v(" "),w._t("footer",null,null,w.scope.footer)],2)},[],!1,null,null,null).exports,P={ajax:m,pointer:p,pointerScroll:f},k=T})(),a})()})})(R7);var mCe=R7.exports;const VNe=li(mCe);var nb={exports:{}};nb.exports;(function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",a=1,s=2,o=1/0,u=9007199254740991,c="[object Arguments]",l="[object Array]",d="[object Boolean]",f="[object Date]",p="[object Error]",m="[object Function]",b="[object GeneratorFunction]",_="[object Map]",S="[object Number]",x="[object Object]",O="[object Promise]",h="[object RegExp]",v="[object Set]",g="[object String]",T="[object Symbol]",P="[object WeakMap]",k="[object ArrayBuffer]",w="[object DataView]",A="[object Float32Array]",C="[object Float64Array]",E="[object Int8Array]",$="[object Int16Array]",D="[object Int32Array]",M="[object Uint8Array]",L="[object Uint8ClampedArray]",N="[object Uint16Array]",j="[object Uint32Array]",z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,J=/^\./,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,G=/\\(\\)?/g,K=/^\[object .+?Constructor\]$/,X=/^(?:0|[1-9]\d*)$/,se={};se[A]=se[C]=se[E]=se[$]=se[D]=se[M]=se[L]=se[N]=se[j]=!0,se[c]=se[l]=se[k]=se[d]=se[w]=se[f]=se[p]=se[m]=se[_]=se[S]=se[x]=se[h]=se[v]=se[g]=se[P]=!1;var Ae=typeof Oe=="object"&&Oe&&Oe.Object===Object&&Oe,Ye=typeof self=="object"&&self&&self.Object===Object&&self,bt=Ae||Ye||Function("return this")(),ir=e&&!e.nodeType&&e,Hr=ir&&!0&&t&&!t.nodeType&&t,bn=Hr&&Hr.exports===ir,oa=bn&&Ae.process,Ya=function(){try{return oa&&oa.binding("util")}catch{}}(),ua=Ya&&Ya.isTypedArray;function Xo(R,H){var Q=R?R.length:0;return!!Q&&Gr(R,H,0)>-1}function De(R,H,Q){for(var ie=-1,Me=R?R.length:0;++ie<Me;)if(Q(H,R[ie]))return!0;return!1}function xr(R,H){for(var Q=-1,ie=R?R.length:0;++Q<ie;)if(H(R[Q],Q,R))return!0;return!1}function je(R,H,Q,ie){for(var Me=R.length,me=Q+(ie?1:-1);ie?me--:++me<Me;)if(H(R[me],me,R))return me;return-1}function Gr(R,H,Q){if(H!==H)return je(R,Qe,Q);for(var ie=Q-1,Me=R.length;++ie<Me;)if(R[ie]===H)return ie;return-1}function Qe(R){return R!==R}function Pr(R){return function(H){return H==null?void 0:H[R]}}function Ns(R,H){for(var Q=-1,ie=Array(R);++Q<R;)ie[Q]=H(Q);return ie}function t_(R){return function(H){return R(H)}}function Zp(R,H){return R.has(H)}function Qp(R,H){return R==null?void 0:R[H]}function xc(R){var H=!1;if(R!=null&&typeof R.toString!="function")try{H=!!(R+"")}catch{}return H}function r_(R){var H=-1,Q=Array(R.size);return R.forEach(function(ie,Me){Q[++H]=[Me,ie]}),Q}function n_(R,H){return function(Q){return R(H(Q))}}function Gd(R){var H=-1,Q=Array(R.size);return R.forEach(function(ie){Q[++H]=ie}),Q}var i_=Array.prototype,em=Function.prototype,Pc=Object.prototype,Wd=bt["__core-js_shared__"],Cc=function(){var R=/[^.]+$/.exec(Wd&&Wd.keys&&Wd.keys.IE_PROTO||"");return R?"Symbol(src)_1."+R:""}(),Bs=em.toString,jn=Pc.hasOwnProperty,ca=Pc.toString,Yd=RegExp("^"+Bs.call(jn).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fs=bt.Symbol,tm=bt.Uint8Array,a_=Pc.propertyIsEnumerable,s_=i_.splice,o_=n_(Object.keys,Object),Kd=Xa(bt,"DataView"),js=Xa(bt,"Map"),Ac=Xa(bt,"Promise"),yn=Xa(bt,"Set"),qd=Xa(bt,"WeakMap"),Jo=Xa(Object,"create"),u_=te(Kd),c_=te(js),l_=te(Ac),Ai=te(yn),d_=te(qd),Mc=Fs?Fs.prototype:void 0,Xd=Mc?Mc.valueOf:void 0,rm=Mc?Mc.toString:void 0;function Ka(R){var H=-1,Q=R?R.length:0;for(this.clear();++H<Q;){var ie=R[H];this.set(ie[0],ie[1])}}function Hs(){this.__data__=Jo?Jo(null):{}}function f_(R){return this.has(R)&&delete this.__data__[R]}function h_(R){var H=this.__data__;if(Jo){var Q=H[R];return Q===i?void 0:Q}return jn.call(H,R)?H[R]:void 0}function p_(R){var H=this.__data__;return Jo?H[R]!==void 0:jn.call(H,R)}function m_(R,H){var Q=this.__data__;return Q[R]=Jo&&H===void 0?i:H,this}Ka.prototype.clear=Hs,Ka.prototype.delete=f_,Ka.prototype.get=h_,Ka.prototype.has=p_,Ka.prototype.set=m_;function Mi(R){var H=-1,Q=R?R.length:0;for(this.clear();++H<Q;){var ie=R[H];this.set(ie[0],ie[1])}}function zs(){this.__data__=[]}function g_(R){var H=this.__data__,Q=kc(H,R);if(Q<0)return!1;var ie=H.length-1;return Q==ie?H.pop():s_.call(H,Q,1),!0}function v_(R){var H=this.__data__,Q=kc(H,R);return Q<0?void 0:H[Q][1]}function b_(R){return kc(this.__data__,R)>-1}function y_(R,H){var Q=this.__data__,ie=kc(Q,R);return ie<0?Q.push([R,H]):Q[ie][1]=H,this}Mi.prototype.clear=zs,Mi.prototype.delete=g_,Mi.prototype.get=v_,Mi.prototype.has=b_,Mi.prototype.set=y_;function $i(R){var H=-1,Q=R?R.length:0;for(this.clear();++H<Q;){var ie=R[H];this.set(ie[0],ie[1])}}function __(){this.__data__={hash:new Ka,map:new(js||Mi),string:new Ka}}function nm(R){return Rc(this,R).delete(R)}function $c(R){return Rc(this,R).get(R)}function w_(R){return Rc(this,R).has(R)}function Jd(R,H){return Rc(this,R).set(R,H),this}$i.prototype.clear=__,$i.prototype.delete=nm,$i.prototype.get=$c,$i.prototype.has=w_,$i.prototype.set=Jd;function Zo(R){var H=-1,Q=R?R.length:0;for(this.__data__=new $i;++H<Q;)this.add(R[H])}function S_(R){return this.__data__.set(R,i),this}function O_(R){return this.__data__.has(R)}Zo.prototype.add=Zo.prototype.push=S_,Zo.prototype.has=O_;function ki(R){this.__data__=new Mi(R)}function T_(){this.__data__=new Mi}function E_(R){return this.__data__.delete(R)}function Zd(R){return this.__data__.get(R)}function x_(R){return this.__data__.has(R)}function P_(R,H){var Q=this.__data__;if(Q instanceof Mi){var ie=Q.__data__;if(!js||ie.length<r-1)return ie.push([R,H]),this;Q=this.__data__=new $i(ie)}return Q.set(R,H),this}ki.prototype.clear=T_,ki.prototype.delete=E_,ki.prototype.get=Zd,ki.prototype.has=x_,ki.prototype.set=P_;function C_(R,H){var Q=Qt(R)||rn(R)?Ns(R.length,String):[],ie=Q.length,Me=!!ie;for(var me in R)(H||jn.call(R,me))&&!(Me&&(me=="length"||ef(me,ie)))&&Q.push(me);return Q}function kc(R,H){for(var Q=R.length;Q--;)if(Cr(R[Q][0],H))return Q;return-1}function im(R,H){H=Lc(H,R)?[H]:sm(H);for(var Q=0,ie=H.length;R!=null&&Q<ie;)R=R[q(H[Q++])];return Q&&Q==ie?R:void 0}function A_(R){return ca.call(R)}function M_(R,H){return R!=null&&H in Object(R)}function Dc(R,H,Q,ie,Me){return R===H?!0:R==null||H==null||!Qo(R)&&!Gs(H)?R!==R&&H!==H:$_(R,H,Dc,Q,ie,Me)}function $_(R,H,Q,ie,Me,me){var ot=Qt(R),dt=Qt(H),pt=l,ar=l;ot||(pt=da(R),pt=pt==c?x:pt),dt||(ar=da(H),ar=ar==c?x:ar);var Gt=pt==x&&!xc(R),sr=ar==x&&!xc(H),or=pt==ar;if(or&&!Gt)return me||(me=new ki),ot||cW(R)?la(R,H,Q,ie,Me,me):B_(R,H,pt,Q,ie,Me,me);if(!(Me&s)){var hi=Gt&&jn.call(R,"__wrapped__"),pi=sr&&jn.call(H,"__wrapped__");if(hi||pi){var Ys=hi?R.value():R,Ja=pi?H.value():H;return me||(me=new ki),Q(Ys,Ja,ie,Me,me)}}return or?(me||(me=new ki),um(R,H,Q,ie,Me,me)):!1}function k_(R,H,Q,ie){var Me=Q.length,me=Me,ot=!ie;if(R==null)return!me;for(R=Object(R);Me--;){var dt=Q[Me];if(ot&&dt[2]?dt[1]!==R[dt[0]]:!(dt[0]in R))return!1}for(;++Me<me;){dt=Q[Me];var pt=dt[0],ar=R[pt],Gt=dt[1];if(ot&&dt[2]){if(ar===void 0&&!(pt in R))return!1}else{var sr=new ki;if(ie)var or=ie(ar,Gt,pt,R,H,sr);if(!(or===void 0?Dc(Gt,ar,ie,a|s,sr):or))return!1}}return!0}function Ic(R){if(!Qo(R)||j_(R))return!1;var H=nf(R)||xc(R)?Yd:K;return H.test(te(R))}function Vs(R){return Gs(R)&&Bc(R.length)&&!!se[ca.call(R)]}function am(R){return typeof R=="function"?R:R==null?hW:typeof R=="object"?Qt(R)?I_(R[0],R[1]):D_(R):mW(R)}function qa(R){if(!tf(R))return o_(R);var H=[];for(var Q in Object(R))jn.call(R,Q)&&Q!="constructor"&&H.push(Q);return H}function D_(R){var H=Qd(R);return H.length==1&&H[0][2]?lm(H[0][0],H[0][1]):function(Q){return Q===R||k_(Q,R,H)}}function I_(R,H){return Lc(R)&&cm(H)?lm(q(R),H):function(Q){var ie=dW(Q,R);return ie===void 0&&ie===H?fW(Q,R):Dc(H,ie,void 0,a|s)}}function R_(R){return function(H){return im(H,R)}}function L_(R){if(typeof R=="string")return R;if(Ws(R))return rm?rm.call(R):"";var H=R+"";return H=="0"&&1/R==-o?"-0":H}function N_(R,H,Q){var ie=-1,Me=Xo,me=R.length,ot=!0,dt=[],pt=dt;if(Q)ot=!1,Me=De;else if(me>=r){var ar=H?null:om(R);if(ar)return Gd(ar);ot=!1,Me=Zp,pt=new Zo}else pt=H?[]:dt;e:for(;++ie<me;){var Gt=R[ie],sr=H?H(Gt):Gt;if(Gt=Q||Gt!==0?Gt:0,ot&&sr===sr){for(var or=pt.length;or--;)if(pt[or]===sr)continue e;H&&pt.push(sr),dt.push(Gt)}else Me(pt,sr,Q)||(pt!==dt&&pt.push(sr),dt.push(Gt))}return dt}function sm(R){return Qt(R)?R:F(R)}var om=yn&&1/Gd(new yn([,-0]))[1]==o?function(R){return new yn(R)}:pW;function la(R,H,Q,ie,Me,me){var ot=Me&s,dt=R.length,pt=H.length;if(dt!=pt&&!(ot&&pt>dt))return!1;var ar=me.get(R);if(ar&&me.get(H))return ar==H;var Gt=-1,sr=!0,or=Me&a?new Zo:void 0;for(me.set(R,H),me.set(H,R);++Gt<dt;){var hi=R[Gt],pi=H[Gt];if(ie)var Ys=ot?ie(pi,hi,Gt,H,R,me):ie(hi,pi,Gt,R,H,me);if(Ys!==void 0){if(Ys)continue;sr=!1;break}if(or){if(!xr(H,function(Ja,eu){if(!or.has(eu)&&(hi===Ja||Q(hi,Ja,ie,Me,me)))return or.add(eu)})){sr=!1;break}}else if(!(hi===pi||Q(hi,pi,ie,Me,me))){sr=!1;break}}return me.delete(R),me.delete(H),sr}function B_(R,H,Q,ie,Me,me,ot){switch(Q){case w:if(R.byteLength!=H.byteLength||R.byteOffset!=H.byteOffset)return!1;R=R.buffer,H=H.buffer;case k:return!(R.byteLength!=H.byteLength||!ie(new tm(R),new tm(H)));case d:case f:case S:return Cr(+R,+H);case p:return R.name==H.name&&R.message==H.message;case h:case g:return R==H+"";case _:var dt=r_;case v:var pt=me&s;if(dt||(dt=Gd),R.size!=H.size&&!pt)return!1;var ar=ot.get(R);if(ar)return ar==H;me|=a,ot.set(R,H);var Gt=la(dt(R),dt(H),ie,Me,me,ot);return ot.delete(R),Gt;case T:if(Xd)return Xd.call(R)==Xd.call(H)}return!1}function um(R,H,Q,ie,Me,me){var ot=Me&s,dt=H_(R),pt=dt.length,ar=H_(H),Gt=ar.length;if(pt!=Gt&&!ot)return!1;for(var sr=pt;sr--;){var or=dt[sr];if(!(ot?or in H:jn.call(H,or)))return!1}var hi=me.get(R);if(hi&&me.get(H))return hi==H;var pi=!0;me.set(R,H),me.set(H,R);for(var Ys=ot;++sr<pt;){or=dt[sr];var Ja=R[or],eu=H[or];if(ie)var jC=ot?ie(eu,Ja,or,H,R,me):ie(Ja,eu,or,R,H,me);if(!(jC===void 0?Ja===eu||Q(Ja,eu,ie,Me,me):jC)){pi=!1;break}Ys||(Ys=or=="constructor")}if(pi&&!Ys){var dm=R.constructor,fm=H.constructor;dm!=fm&&"constructor"in R&&"constructor"in H&&!(typeof dm=="function"&&dm instanceof dm&&typeof fm=="function"&&fm instanceof fm)&&(pi=!1)}return me.delete(R),me.delete(H),pi}function Rc(R,H){var Q=R.__data__;return Nc(H)?Q[typeof H=="string"?"string":"hash"]:Q.map}function Qd(R){for(var H=H_(R),Q=H.length;Q--;){var ie=H[Q],Me=R[ie];H[Q]=[ie,Me,cm(Me)]}return H}function Xa(R,H){var Q=Qp(R,H);return Ic(Q)?Q:void 0}var da=A_;(Kd&&da(new Kd(new ArrayBuffer(1)))!=w||js&&da(new js)!=_||Ac&&da(Ac.resolve())!=O||yn&&da(new yn)!=v||qd&&da(new qd)!=P)&&(da=function(R){var H=ca.call(R),Q=H==x?R.constructor:void 0,ie=Q?te(Q):void 0;if(ie)switch(ie){case u_:return w;case c_:return _;case l_:return O;case Ai:return v;case d_:return P}return H});function F_(R,H,Q){H=Lc(H,R)?[H]:sm(H);for(var ie,Me=-1,ot=H.length;++Me<ot;){var me=q(H[Me]);if(!(ie=R!=null&&Q(R,me)))break;R=R[me]}if(ie)return ie;var ot=R?R.length:0;return!!ot&&Bc(ot)&&ef(me,ot)&&(Qt(R)||rn(R))}function ef(R,H){return H=H??u,!!H&&(typeof R=="number"||X.test(R))&&R>-1&&R%1==0&&R<H}function Lc(R,H){if(Qt(R))return!1;var Q=typeof R;return Q=="number"||Q=="symbol"||Q=="boolean"||R==null||Ws(R)?!0:U.test(R)||!z.test(R)||H!=null&&R in Object(H)}function Nc(R){var H=typeof R;return H=="string"||H=="number"||H=="symbol"||H=="boolean"?R!=="__proto__":R===null}function j_(R){return!!Cc&&Cc in R}function tf(R){var H=R&&R.constructor,Q=typeof H=="function"&&H.prototype||Pc;return R===Q}function cm(R){return R===R&&!Qo(R)}function lm(R,H){return function(Q){return Q==null?!1:Q[R]===H&&(H!==void 0||R in Object(Q))}}var F=Zt(function(R){R=lW(R);var H=[];return J.test(R)&&H.push(""),R.replace(re,function(Q,ie,Me,me){H.push(Me?me.replace(G,"$1"):ie||Q)}),H});function q(R){if(typeof R=="string"||Ws(R))return R;var H=R+"";return H=="0"&&1/R==-o?"-0":H}function te(R){if(R!=null){try{return Bs.call(R)}catch{}try{return R+""}catch{}}return""}function he(R,H){return R&&R.length?N_(R,am(H)):[]}function Zt(R,H){if(typeof R!="function"||H&&typeof H!="function")throw new TypeError(n);var Q=function(){var ie=arguments,Me=H?H.apply(this,ie):ie[0],me=Q.cache;if(me.has(Me))return me.get(Me);var ot=R.apply(this,ie);return Q.cache=me.set(Me,ot),ot};return Q.cache=new(Zt.Cache||$i),Q}Zt.Cache=$i;function Cr(R,H){return R===H||R!==R&&H!==H}function rn(R){return Us(R)&&jn.call(R,"callee")&&(!a_.call(R,"callee")||ca.call(R)==c)}var Qt=Array.isArray;function rf(R){return R!=null&&Bc(R.length)&&!nf(R)}function Us(R){return Gs(R)&&rf(R)}function nf(R){var H=Qo(R)?ca.call(R):"";return H==m||H==b}function Bc(R){return typeof R=="number"&&R>-1&&R%1==0&&R<=u}function Qo(R){var H=typeof R;return!!R&&(H=="object"||H=="function")}function Gs(R){return!!R&&typeof R=="object"}function Ws(R){return typeof R=="symbol"||Gs(R)&&ca.call(R)==T}var cW=ua?t_(ua):Vs;function lW(R){return R==null?"":L_(R)}function dW(R,H,Q){var ie=R==null?void 0:im(R,H);return ie===void 0?Q:ie}function fW(R,H){return R!=null&&F_(R,H,M_)}function H_(R){return rf(R)?C_(R):qa(R)}function hW(R){return R}function pW(){}function mW(R){return Lc(R)?Pr(q(R)):R_(R)}t.exports=he})(nb,nb.exports);var gCe=nb.exports;const UNe=li(gCe),vCe={"Pacific/Niue":"(GMT-11:00) Niue","Pacific/Pago_Pago":"(GMT-11:00) Pago Pago","Pacific/Honolulu":"(GMT-10:00) Hawaii Time","Pacific/Rarotonga":"(GMT-10:00) Rarotonga","Pacific/Tahiti":"(GMT-10:00) Tahiti","Pacific/Marquesas":"(GMT-09:30) Marquesas","America/Anchorage":"(GMT-09:00) Alaska Time","Pacific/Gambier":"(GMT-09:00) Gambier","America/Los_Angeles":"(GMT-08:00) Pacific Time","America/Tijuana":"(GMT-08:00) Pacific Time - Tijuana","America/Vancouver":"(GMT-08:00) Pacific Time - Vancouver","America/Whitehorse":"(GMT-08:00) Pacific Time - Whitehorse","Pacific/Pitcairn":"(GMT-08:00) Pitcairn","America/Dawson_Creek":"(GMT-07:00) Mountain Time - Dawson Creek","America/Denver":"(GMT-07:00) Mountain Time","America/Edmonton":"(GMT-07:00) Mountain Time - Edmonton","America/Hermosillo":"(GMT-07:00) Mountain Time - Hermosillo","America/Mazatlan":"(GMT-07:00) Mountain Time - Chihuahua, Mazatlan","America/Phoenix":"(GMT-07:00) Mountain Time - Arizona","America/Yellowknife":"(GMT-07:00) Mountain Time - Yellowknife","America/Belize":"(GMT-06:00) Belize","America/Chicago":"(GMT-06:00) Central Time","America/Costa_Rica":"(GMT-06:00) Costa Rica","America/El_Salvador":"(GMT-06:00) El Salvador","America/Guatemala":"(GMT-06:00) Guatemala","America/Managua":"(GMT-06:00) Managua","America/Mexico_City":"(GMT-06:00) Central Time - Mexico City","America/Regina":"(GMT-06:00) Central Time - Regina","America/Tegucigalpa":"(GMT-06:00) Central Time - Tegucigalpa","America/Winnipeg":"(GMT-06:00) Central Time - Winnipeg","Pacific/Galapagos":"(GMT-06:00) Galapagos","America/Bogota":"(GMT-05:00) Bogota","America/Cancun":"(GMT-05:00) America Cancun","America/Cayman":"(GMT-05:00) Cayman","America/Guayaquil":"(GMT-05:00) Guayaquil","America/Havana":"(GMT-05:00) Havana","America/Iqaluit":"(GMT-05:00) Eastern Time - Iqaluit","America/Jamaica":"(GMT-05:00) Jamaica","America/Lima":"(GMT-05:00) Lima","America/Nassau":"(GMT-05:00) Nassau","America/New_York":"(GMT-05:00) Eastern Time","America/Panama":"(GMT-05:00) Panama","America/Port-au-Prince":"(GMT-05:00) Port-au-Prince","America/Rio_Branco":"(GMT-05:00) Rio Branco","America/Toronto":"(GMT-05:00) Eastern Time - Toronto","Pacific/Easter":"(GMT-05:00) Easter Island","America/Caracas":"(GMT-04:30) Caracas","America/Asuncion":"(GMT-03:00) Asuncion","America/Barbados":"(GMT-04:00) Barbados","America/Boa_Vista":"(GMT-04:00) Boa Vista","America/Campo_Grande":"(GMT-03:00) Campo Grande","America/Cuiaba":"(GMT-03:00) Cuiaba","America/Curacao":"(GMT-04:00) Curacao","America/Grand_Turk":"(GMT-04:00) Grand Turk","America/Guyana":"(GMT-04:00) Guyana","America/Halifax":"(GMT-04:00) Atlantic Time - Halifax","America/La_Paz":"(GMT-04:00) La Paz","America/Manaus":"(GMT-04:00) Manaus","America/Martinique":"(GMT-04:00) Martinique","America/Port_of_Spain":"(GMT-04:00) Port of Spain","America/Porto_Velho":"(GMT-04:00) Porto Velho","America/Puerto_Rico":"(GMT-04:00) Puerto Rico","America/Santo_Domingo":"(GMT-04:00) Santo Domingo","America/Thule":"(GMT-04:00) Thule","Atlantic/Bermuda":"(GMT-04:00) Bermuda","America/St_Johns":"(GMT-03:30) Newfoundland Time - St. Johns","America/Araguaina":"(GMT-03:00) Araguaina","America/Argentina/Buenos_Aires":"(GMT-03:00) Buenos Aires","America/Bahia":"(GMT-03:00) Salvador","America/Belem":"(GMT-03:00) Belem","America/Cayenne":"(GMT-03:00) Cayenne","America/Fortaleza":"(GMT-03:00) Fortaleza","America/Godthab":"(GMT-03:00) Godthab","America/Maceio":"(GMT-03:00) Maceio","America/Miquelon":"(GMT-03:00) Miquelon","America/Montevideo":"(GMT-03:00) Montevideo","America/Paramaribo":"(GMT-03:00) Paramaribo","America/Recife":"(GMT-03:00) Recife","America/Santiago":"(GMT-03:00) Santiago","America/Sao_Paulo":"(GMT-02:00) Sao Paulo","Antarctica/Palmer":"(GMT-03:00) Palmer","Antarctica/Rothera":"(GMT-03:00) Rothera","Atlantic/Stanley":"(GMT-03:00) Stanley","America/Noronha":"(GMT-02:00) Noronha","Atlantic/South_Georgia":"(GMT-02:00) South Georgia","America/Scoresbysund":"(GMT-01:00) Scoresbysund","Atlantic/Azores":"(GMT-01:00) Azores","Atlantic/Cape_Verde":"(GMT-01:00) Cape Verde","Africa/Abidjan":"(GMT+00:00) Abidjan","Africa/Accra":"(GMT+00:00) Accra","Africa/Bissau":"(GMT+00:00) Bissau","Africa/Casablanca":"(GMT+00:00) Casablanca","Africa/El_Aaiun":"(GMT+00:00) El Aaiun","Africa/Monrovia":"(GMT+00:00) Monrovia","America/Danmarkshavn":"(GMT+00:00) Danmarkshavn","Atlantic/Canary":"(GMT+00:00) Canary Islands","Atlantic/Faroe":"(GMT+00:00) Faeroe","Atlantic/Reykjavik":"(GMT+00:00) Reykjavik","Etc/GMT":"(GMT+00:00) GMT (no daylight saving)","Europe/Dublin":"(GMT+00:00) Dublin","Europe/Lisbon":"(GMT+00:00) Lisbon","Europe/London":"(GMT+00:00) London","Africa/Algiers":"(GMT+01:00) Algiers","Africa/Ceuta":"(GMT+01:00) Ceuta","Africa/Lagos":"(GMT+01:00) Lagos","Africa/Ndjamena":"(GMT+01:00) Ndjamena","Africa/Tunis":"(GMT+01:00) Tunis","Africa/Windhoek":"(GMT+02:00) Windhoek","Europe/Amsterdam":"(GMT+01:00) Amsterdam","Europe/Andorra":"(GMT+01:00) Andorra","Europe/Belgrade":"(GMT+01:00) Central European Time - Belgrade","Europe/Berlin":"(GMT+01:00) Berlin","Europe/Brussels":"(GMT+01:00) Brussels","Europe/Budapest":"(GMT+01:00) Budapest","Europe/Copenhagen":"(GMT+01:00) Copenhagen","Europe/Gibraltar":"(GMT+01:00) Gibraltar","Europe/Luxembourg":"(GMT+01:00) Luxembourg","Europe/Madrid":"(GMT+01:00) Madrid","Europe/Malta":"(GMT+01:00) Malta","Europe/Monaco":"(GMT+01:00) Monaco","Europe/Oslo":"(GMT+01:00) Oslo","Europe/Paris":"(GMT+01:00) Paris","Europe/Prague":"(GMT+01:00) Central European Time - Prague","Europe/Rome":"(GMT+01:00) Rome","Europe/Stockholm":"(GMT+01:00) Stockholm","Europe/Tirane":"(GMT+01:00) Tirane","Europe/Vienna":"(GMT+01:00) Vienna","Europe/Warsaw":"(GMT+01:00) Warsaw","Europe/Zurich":"(GMT+01:00) Zurich","Africa/Cairo":"(GMT+02:00) Cairo","Africa/Johannesburg":"(GMT+02:00) Johannesburg","Africa/Maputo":"(GMT+02:00) Maputo","Africa/Tripoli":"(GMT+02:00) Tripoli","Asia/Amman":"(GMT+02:00) Amman","Asia/Beirut":"(GMT+02:00) Beirut","Asia/Damascus":"(GMT+02:00) Damascus","Asia/Gaza":"(GMT+02:00) Gaza","Asia/Jerusalem":"(GMT+02:00) Jerusalem","Asia/Nicosia":"(GMT+02:00) Nicosia","Europe/Athens":"(GMT+02:00) Athens","Europe/Bucharest":"(GMT+02:00) Bucharest","Europe/Chisinau":"(GMT+02:00) Chisinau","Europe/Helsinki":"(GMT+02:00) Helsinki","Europe/Istanbul":"(GMT+02:00) Istanbul","Europe/Kaliningrad":"(GMT+02:00) Moscow-01 - Kaliningrad","Europe/Kiev":"(GMT+02:00) Kiev","Europe/Riga":"(GMT+02:00) Riga","Europe/Sofia":"(GMT+02:00) Sofia","Europe/Tallinn":"(GMT+02:00) Tallinn","Europe/Vilnius":"(GMT+02:00) Vilnius","Africa/Khartoum":"(GMT+03:00) Khartoum","Africa/Nairobi":"(GMT+03:00) Nairobi","Antarctica/Syowa":"(GMT+03:00) Syowa","Asia/Baghdad":"(GMT+03:00) Baghdad","Asia/Qatar":"(GMT+03:00) Qatar","Asia/Riyadh":"(GMT+03:00) Riyadh","Europe/Minsk":"(GMT+03:00) Minsk","Europe/Moscow":"(GMT+03:00) Moscow+00 - Moscow","Asia/Tehran":"(GMT+03:30) Tehran","Asia/Baku":"(GMT+04:00) Baku","Asia/Dubai":"(GMT+04:00) Dubai","Asia/Tbilisi":"(GMT+04:00) Tbilisi","Asia/Yerevan":"(GMT+04:00) Yerevan","Europe/Samara":"(GMT+04:00) Moscow+01 - Samara","Indian/Mahe":"(GMT+04:00) Mahe","Indian/Mauritius":"(GMT+04:00) Mauritius","Indian/Reunion":"(GMT+04:00) Reunion","Asia/Kabul":"(GMT+04:30) Kabul","Antarctica/Mawson":"(GMT+05:00) Mawson","Asia/Aqtau":"(GMT+05:00) Aqtau","Asia/Aqtobe":"(GMT+05:00) Aqtobe","Asia/Ashgabat":"(GMT+05:00) Ashgabat","Asia/Dushanbe":"(GMT+05:00) Dushanbe","Asia/Karachi":"(GMT+05:00) Karachi","Asia/Tashkent":"(GMT+05:00) Tashkent","Asia/Yekaterinburg":"(GMT+05:00) Moscow+02 - Yekaterinburg","Indian/Kerguelen":"(GMT+05:00) Kerguelen","Indian/Maldives":"(GMT+05:00) Maldives","Asia/Calcutta":"(GMT+05:30) India Standard Time","Asia/Colombo":"(GMT+05:30) Colombo","Asia/Katmandu":"(GMT+05:45) Katmandu","Antarctica/Vostok":"(GMT+06:00) Vostok","Asia/Almaty":"(GMT+06:00) Almaty","Asia/Bishkek":"(GMT+06:00) Bishkek","Asia/Dhaka":"(GMT+06:00) Dhaka","Asia/Omsk":"(GMT+06:00) Moscow+03 - Omsk, Novosibirsk","Asia/Thimphu":"(GMT+06:00) Thimphu","Indian/Chagos":"(GMT+06:00) Chagos","Asia/Rangoon":"(GMT+06:30) Rangoon","Indian/Cocos":"(GMT+06:30) Cocos","Antarctica/Davis":"(GMT+07:00) Davis","Asia/Bangkok":"(GMT+07:00) Bangkok","Asia/Hovd":"(GMT+07:00) Hovd","Asia/Jakarta":"(GMT+07:00) Jakarta","Asia/Krasnoyarsk":"(GMT+07:00) Moscow+04 - Krasnoyarsk","Asia/Saigon":"(GMT+07:00) Hanoi","Asia/Ho_Chi_Minh":"(GMT+07:00) Ho Chi Minh","Indian/Christmas":"(GMT+07:00) Christmas","Antarctica/Casey":"(GMT+08:00) Casey","Asia/Brunei":"(GMT+08:00) Brunei","Asia/Choibalsan":"(GMT+08:00) Choibalsan","Asia/Hong_Kong":"(GMT+08:00) Hong Kong","Asia/Irkutsk":"(GMT+08:00) Moscow+05 - Irkutsk","Asia/Kuala_Lumpur":"(GMT+08:00) Kuala Lumpur","Asia/Macau":"(GMT+08:00) Macau","Asia/Makassar":"(GMT+08:00) Makassar","Asia/Manila":"(GMT+08:00) Manila","Asia/Shanghai":"(GMT+08:00) China Time - Beijing","Asia/Singapore":"(GMT+08:00) Singapore","Asia/Taipei":"(GMT+08:00) Taipei","Asia/Ulaanbaatar":"(GMT+08:00) Ulaanbaatar","Australia/Perth":"(GMT+08:00) Western Time - Perth","Asia/Pyongyang":"(GMT+08:30) Pyongyang","Asia/Dili":"(GMT+09:00) Dili","Asia/Jayapura":"(GMT+09:00) Jayapura","Asia/Seoul":"(GMT+09:00) Seoul","Asia/Tokyo":"(GMT+09:00) Tokyo","Asia/Yakutsk":"(GMT+09:00) Moscow+06 - Yakutsk","Pacific/Palau":"(GMT+09:00) Palau","Australia/Adelaide":"(GMT+10:30) Central Time - Adelaide","Australia/Darwin":"(GMT+09:30) Central Time - Darwin","Antarctica/DumontDUrville":"(GMT+10:00) Dumont D'Urville","Asia/Magadan":"(GMT+10:00) Moscow+07 - Magadan","Asia/Vladivostok":"(GMT+10:00) Moscow+07 - Yuzhno-Sakhalinsk","Australia/Brisbane":"(GMT+10:00) Eastern Time - Brisbane","Australia/Hobart":"(GMT+11:00) Eastern Time - Hobart","Australia/Sydney":"(GMT+11:00) Eastern Time - Melbourne, Sydney","Pacific/Chuuk":"(GMT+10:00) Truk","Pacific/Guam":"(GMT+10:00) Guam","Pacific/Port_Moresby":"(GMT+10:00) Port Moresby","Pacific/Efate":"(GMT+11:00) Efate","Pacific/Guadalcanal":"(GMT+11:00) Guadalcanal","Pacific/Kosrae":"(GMT+11:00) Kosrae","Pacific/Norfolk":"(GMT+11:00) Norfolk","Pacific/Noumea":"(GMT+11:00) Noumea","Pacific/Pohnpei":"(GMT+11:00) Ponape","Asia/Kamchatka":"(GMT+12:00) Moscow+09 - Petropavlovsk-Kamchatskiy","Pacific/Auckland":"(GMT+13:00) Auckland","Pacific/Fiji":"(GMT+13:00) Fiji","Pacific/Funafuti":"(GMT+12:00) Funafuti","Pacific/Kwajalein":"(GMT+12:00) Kwajalein","Pacific/Majuro":"(GMT+12:00) Majuro","Pacific/Nauru":"(GMT+12:00) Nauru","Pacific/Tarawa":"(GMT+12:00) Tarawa","Pacific/Wake":"(GMT+12:00) Wake","Pacific/Wallis":"(GMT+12:00) Wallis","Pacific/Apia":"(GMT+14:00) Apia","Pacific/Enderbury":"(GMT+13:00) Enderbury","Pacific/Fakaofo":"(GMT+13:00) Fakaofo","Pacific/Tongatapu":"(GMT+13:00) Tongatapu","Pacific/Kiritimati":"(GMT+14:00) Kiritimati"};var bCe=vCe;const GNe=li(bCe),yCe="modulepreload",_Ce=function(t,e){return new URL(t,e).href},H3={},wi=function(e,r,n){if(!r||r.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=_Ce(a,n),a in H3)return;H3[a]=!0;const s=a.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(!!n)for(let l=i.length-1;l>=0;l--){const d=i[l];if(d.href===a&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${o}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":yCe,s||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),s)return new Promise((l,d)=>{c.addEventListener("load",l),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e()).catch(a=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a})};var L7={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Oe,function(){var r,n,i=1e3,a=6e4,s=36e5,o=864e5,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=31536e6,l=2592e6,d=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f={years:c,months:l,days:o,hours:s,minutes:a,seconds:i,milliseconds:1,weeks:6048e5},p=function(v){return v instanceof h},m=function(v,g,T){return new h(v,T,g.$l)},b=function(v){return n.p(v)+"s"},_=function(v){return v<0},S=function(v){return _(v)?Math.ceil(v):Math.floor(v)},x=function(v){return Math.abs(v)},O=function(v,g){return v?_(v)?{negative:!0,format:""+x(v)+g}:{negative:!1,format:""+v+g}:{negative:!1,format:""}},h=function(){function v(T,P,k){var w=this;if(this.$d={},this.$l=k,T===void 0&&(this.$ms=0,this.parseFromMilliseconds()),P)return m(T*f[b(P)],this);if(typeof T=="number")return this.$ms=T,this.parseFromMilliseconds(),this;if(typeof T=="object")return Object.keys(T).forEach(function(E){w.$d[b(E)]=T[E]}),this.calMilliseconds(),this;if(typeof T=="string"){var A=T.match(d);if(A){var C=A.slice(2).map(function(E){return E!=null?Number(E):0});return this.$d.years=C[0],this.$d.months=C[1],this.$d.weeks=C[2],this.$d.days=C[3],this.$d.hours=C[4],this.$d.minutes=C[5],this.$d.seconds=C[6],this.calMilliseconds(),this}}return this}var g=v.prototype;return g.calMilliseconds=function(){var T=this;this.$ms=Object.keys(this.$d).reduce(function(P,k){return P+(T.$d[k]||0)*f[k]},0)},g.parseFromMilliseconds=function(){var T=this.$ms;this.$d.years=S(T/c),T%=c,this.$d.months=S(T/l),T%=l,this.$d.days=S(T/o),T%=o,this.$d.hours=S(T/s),T%=s,this.$d.minutes=S(T/a),T%=a,this.$d.seconds=S(T/i),T%=i,this.$d.milliseconds=T},g.toISOString=function(){var T=O(this.$d.years,"Y"),P=O(this.$d.months,"M"),k=+this.$d.days||0;this.$d.weeks&&(k+=7*this.$d.weeks);var w=O(k,"D"),A=O(this.$d.hours,"H"),C=O(this.$d.minutes,"M"),E=this.$d.seconds||0;this.$d.milliseconds&&(E+=this.$d.milliseconds/1e3);var $=O(E,"S"),D=T.negative||P.negative||w.negative||A.negative||C.negative||$.negative,M=A.format||C.format||$.format?"T":"",L=(D?"-":"")+"P"+T.format+P.format+w.format+M+A.format+C.format+$.format;return L==="P"||L==="-P"?"P0D":L},g.toJSON=function(){return this.toISOString()},g.format=function(T){var P=T||"YYYY-MM-DDTHH:mm:ss",k={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return P.replace(u,function(w,A){return A||String(k[w])})},g.as=function(T){return this.$ms/f[b(T)]},g.get=function(T){var P=this.$ms,k=b(T);return k==="milliseconds"?P%=1e3:P=k==="weeks"?S(P/f[k]):this.$d[k],P===0?0:P},g.add=function(T,P,k){var w;return w=P?T*f[b(P)]:p(T)?T.$ms:m(T,this).$ms,m(this.$ms+w*(k?-1:1),this)},g.subtract=function(T,P){return this.add(T,P,!0)},g.locale=function(T){var P=this.clone();return P.$l=T,P},g.clone=function(){return m(this.$ms,this)},g.humanize=function(T){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!T)},g.milliseconds=function(){return this.get("milliseconds")},g.asMilliseconds=function(){return this.as("milliseconds")},g.seconds=function(){return this.get("seconds")},g.asSeconds=function(){return this.as("seconds")},g.minutes=function(){return this.get("minutes")},g.asMinutes=function(){return this.as("minutes")},g.hours=function(){return this.get("hours")},g.asHours=function(){return this.as("hours")},g.days=function(){return this.get("days")},g.asDays=function(){return this.as("days")},g.weeks=function(){return this.get("weeks")},g.asWeeks=function(){return this.as("weeks")},g.months=function(){return this.get("months")},g.asMonths=function(){return this.as("months")},g.years=function(){return this.get("years")},g.asYears=function(){return this.as("years")},v}();return function(v,g,T){r=T,n=T().$utils(),T.duration=function(w,A){var C=T.locale();return m(w,{$l:C},A)},T.isDuration=p;var P=g.prototype.add,k=g.prototype.subtract;g.prototype.add=function(w,A){return p(w)&&(w=w.asMilliseconds()),P.bind(this)(w,A)},g.prototype.subtract=function(w,A){return p(w)&&(w=w.asMilliseconds()),k.bind(this)(w,A)}}})})(L7);var wCe=L7.exports;const WNe=li(wCe);var yT={exports:{}};const SCe="2.0.0",N7=256,OCe=Number.MAX_SAFE_INTEGER||9007199254740991,TCe=16,ECe=N7-6,xCe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Iy={MAX_LENGTH:N7,MAX_SAFE_COMPONENT_LENGTH:TCe,MAX_SAFE_BUILD_LENGTH:ECe,MAX_SAFE_INTEGER:OCe,RELEASE_TYPES:xCe,SEMVER_SPEC_VERSION:SCe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const PCe=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};var Ry=PCe;(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n}=Iy,i=Ry;e=t.exports={};const a=e.re=[],s=e.safeRe=[],o=e.src=[],u=e.t={};let c=0;const l="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",r],[l,n]],f=m=>{for(const[b,_]of d)m=m.split(`${b}*`).join(`${b}{0,${_}}`).split(`${b}+`).join(`${b}{1,${_}}`);return m},p=(m,b,_)=>{const S=f(b),x=c++;i(m,x,b),u[m]=x,o[x]=b,a[x]=new RegExp(b,_?"g":void 0),s[x]=new RegExp(S,_?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${l}*`),p("MAINVERSION",`(${o[u.NUMERICIDENTIFIER]})\\.(${o[u.NUMERICIDENTIFIER]})\\.(${o[u.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${o[u.NUMERICIDENTIFIERLOOSE]})\\.(${o[u.NUMERICIDENTIFIERLOOSE]})\\.(${o[u.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${o[u.NUMERICIDENTIFIER]}|${o[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${o[u.NUMERICIDENTIFIERLOOSE]}|${o[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${o[u.PRERELEASEIDENTIFIER]}(?:\\.${o[u.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${o[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[u.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${l}+`),p("BUILD",`(?:\\+(${o[u.BUILDIDENTIFIER]}(?:\\.${o[u.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${o[u.MAINVERSION]}${o[u.PRERELEASE]}?${o[u.BUILD]}?`),p("FULL",`^${o[u.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${o[u.MAINVERSIONLOOSE]}${o[u.PRERELEASELOOSE]}?${o[u.BUILD]}?`),p("LOOSE",`^${o[u.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${o[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${o[u.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${o[u.XRANGEIDENTIFIER]})(?:\\.(${o[u.XRANGEIDENTIFIER]})(?:\\.(${o[u.XRANGEIDENTIFIER]})(?:${o[u.PRERELEASE]})?${o[u.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${o[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[u.XRANGEIDENTIFIERLOOSE]})(?:${o[u.PRERELEASELOOSE]})?${o[u.BUILD]}?)?)?`),p("XRANGE",`^${o[u.GTLT]}\\s*${o[u.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${o[u.GTLT]}\\s*${o[u.XRANGEPLAINLOOSE]}$`),p("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),p("COERCERTL",o[u.COERCE],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${o[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",p("TILDE",`^${o[u.LONETILDE]}${o[u.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${o[u.LONETILDE]}${o[u.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${o[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",p("CARET",`^${o[u.LONECARET]}${o[u.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${o[u.LONECARET]}${o[u.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${o[u.GTLT]}\\s*(${o[u.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${o[u.GTLT]}\\s*(${o[u.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${o[u.GTLT]}\\s*(${o[u.LOOSEPLAIN]}|${o[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${o[u.XRANGEPLAIN]})\\s+-\\s+(${o[u.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${o[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[u.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(yT,yT.exports);var Kp=yT.exports;const CCe=Object.freeze({loose:!0}),ACe=Object.freeze({}),MCe=t=>t?typeof t!="object"?CCe:t:ACe;var qP=MCe;const z3=/^[0-9]+$/,B7=(t,e)=>{const r=z3.test(t),n=z3.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},$Ce=(t,e)=>B7(e,t);var F7={compareIdentifiers:B7,rcompareIdentifiers:$Ce};const bg=Ry,{MAX_LENGTH:V3,MAX_SAFE_INTEGER:yg}=Iy,{safeRe:U3,t:G3}=Kp,kCe=qP,{compareIdentifiers:al}=F7;let DCe=class va{constructor(e,r){if(r=kCe(r),e instanceof va){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>V3)throw new TypeError(`version is longer than ${V3} characters`);bg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=e.trim().match(r.loose?U3[G3.LOOSE]:U3[G3.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>yg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>yg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>yg||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){const a=+i;if(a>=0&&a<yg)return a}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(bg("SemVer.compare",this.version,this.options,e),!(e instanceof va)){if(typeof e=="string"&&e===this.version)return 0;e=new va(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof va||(e=new va(e,this.options)),al(this.major,e.major)||al(this.minor,e.minor)||al(this.patch,e.patch)}comparePre(e){if(e instanceof va||(e=new va(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{const n=this.prerelease[r],i=e.prerelease[r];if(bg("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return al(n,i)}while(++r)}compareBuild(e){e instanceof va||(e=new va(e,this.options));let r=0;do{const n=this.build[r],i=e.build[r];if(bg("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return al(n,i)}while(++r)}inc(e,r,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const i=Number(n)?1:0;if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[i];else{let a=this.prerelease.length;for(;--a>=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let a=[r,i];n===!1&&(a=[r]),al(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var vn=DCe;const W3=vn,ICe=(t,e,r=!1)=>{if(t instanceof W3)return t;try{return new W3(t,e)}catch(n){if(!r)return null;throw n}};var Fd=ICe;const RCe=Fd,LCe=(t,e)=>{const r=RCe(t,e);return r?r.version:null};var NCe=LCe;const BCe=Fd,FCe=(t,e)=>{const r=BCe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};var jCe=FCe;const Y3=vn,HCe=(t,e,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new Y3(t instanceof Y3?t.version:t,r).inc(e,n,i).version}catch{return null}};var zCe=HCe;const K3=Fd,VCe=(t,e)=>{const r=K3(t,null,!0),n=K3(e,null,!0),i=r.compare(n);if(i===0)return null;const a=i>0,s=a?r:n,o=a?n:r,u=!!s.prerelease.length;if(!!o.prerelease.length&&!u)return!o.patch&&!o.minor?"major":s.patch?"patch":s.minor?"minor":"major";const l=u?"pre":"";return r.major!==n.major?l+"major":r.minor!==n.minor?l+"minor":r.patch!==n.patch?l+"patch":"prerelease"};var UCe=VCe;const GCe=vn,WCe=(t,e)=>new GCe(t,e).major;var YCe=WCe;const KCe=vn,qCe=(t,e)=>new KCe(t,e).minor;var XCe=qCe;const JCe=vn,ZCe=(t,e)=>new JCe(t,e).patch;var QCe=ZCe;const eAe=Fd,tAe=(t,e)=>{const r=eAe(t,e);return r&&r.prerelease.length?r.prerelease:null};var rAe=tAe;const q3=vn,nAe=(t,e,r)=>new q3(t,r).compare(new q3(e,r));var ia=nAe;const iAe=ia,aAe=(t,e,r)=>iAe(e,t,r);var sAe=aAe;const oAe=ia,uAe=(t,e)=>oAe(t,e,!0);var cAe=uAe;const X3=vn,lAe=(t,e,r)=>{const n=new X3(t,r),i=new X3(e,r);return n.compare(i)||n.compareBuild(i)};var XP=lAe;const dAe=XP,fAe=(t,e)=>t.sort((r,n)=>dAe(r,n,e));var hAe=fAe;const pAe=XP,mAe=(t,e)=>t.sort((r,n)=>pAe(n,r,e));var gAe=mAe;const vAe=ia,bAe=(t,e,r)=>vAe(t,e,r)>0;var Ly=bAe;const yAe=ia,_Ae=(t,e,r)=>yAe(t,e,r)<0;var JP=_Ae;const wAe=ia,SAe=(t,e,r)=>wAe(t,e,r)===0;var j7=SAe;const OAe=ia,TAe=(t,e,r)=>OAe(t,e,r)!==0;var H7=TAe;const EAe=ia,xAe=(t,e,r)=>EAe(t,e,r)>=0;var ZP=xAe;const PAe=ia,CAe=(t,e,r)=>PAe(t,e,r)<=0;var QP=CAe;const AAe=j7,MAe=H7,$Ae=Ly,kAe=ZP,DAe=JP,IAe=QP,RAe=(t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return AAe(t,r,n);case"!=":return MAe(t,r,n);case">":return $Ae(t,r,n);case">=":return kAe(t,r,n);case"<":return DAe(t,r,n);case"<=":return IAe(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}};var z7=RAe;const LAe=vn,NAe=Fd,{safeRe:_g,t:wg}=Kp,BAe=(t,e)=>{if(t instanceof LAe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(_g[wg.COERCE]);else{let n;for(;(n=_g[wg.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),_g[wg.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;_g[wg.COERCERTL].lastIndex=-1}return r===null?null:NAe(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,e)};var FAe=BAe,M1,J3;function jAe(){return J3||(J3=1,M1=function(t){t.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}),M1}var HAe=st;st.Node=oc;st.create=st;function st(t){var e=this;if(e instanceof st||(e=new st),e.tail=null,e.head=null,e.length=0,t&&typeof t.forEach=="function")t.forEach(function(i){e.push(i)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)e.push(arguments[r]);return e}st.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,r=t.prev;return e&&(e.prev=r),r&&(r.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=r),t.list.length--,t.next=null,t.prev=null,t.list=null,e};st.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var e=this.head;t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}};st.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var e=this.tail;t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++}};st.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)VAe(this,arguments[t]);return this.length};st.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)UAe(this,arguments[t]);return this.length};st.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}};st.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}};st.prototype.forEach=function(t,e){e=e||this;for(var r=this.head,n=0;r!==null;n++)t.call(e,r.value,n,this),r=r.next};st.prototype.forEachReverse=function(t,e){e=e||this;for(var r=this.tail,n=this.length-1;r!==null;n--)t.call(e,r.value,n,this),r=r.prev};st.prototype.get=function(t){for(var e=0,r=this.head;r!==null&&e<t;e++)r=r.next;if(e===t&&r!==null)return r.value};st.prototype.getReverse=function(t){for(var e=0,r=this.tail;r!==null&&e<t;e++)r=r.prev;if(e===t&&r!==null)return r.value};st.prototype.map=function(t,e){e=e||this;for(var r=new st,n=this.head;n!==null;)r.push(t.call(e,n.value,this)),n=n.next;return r};st.prototype.mapReverse=function(t,e){e=e||this;for(var r=new st,n=this.tail;n!==null;)r.push(t.call(e,n.value,this)),n=n.prev;return r};st.prototype.reduce=function(t,e){var r,n=this.head;if(arguments.length>1)r=e;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;n!==null;i++)r=t(r,n.value,i),n=n.next;return r};st.prototype.reduceReverse=function(t,e){var r,n=this.tail;if(arguments.length>1)r=e;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;n!==null;i--)r=t(r,n.value,i),n=n.prev;return r};st.prototype.toArray=function(){for(var t=new Array(this.length),e=0,r=this.head;r!==null;e++)t[e]=r.value,r=r.next;return t};st.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,r=this.tail;r!==null;e++)t[e]=r.value,r=r.prev;return t};st.prototype.slice=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new st;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=0,i=this.head;i!==null&&n<t;n++)i=i.next;for(;i!==null&&n<e;n++,i=i.next)r.push(i.value);return r};st.prototype.sliceReverse=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new st;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=this.length,i=this.tail;i!==null&&n>e;n--)i=i.prev;for(;i!==null&&n>t;n--,i=i.prev)r.push(i.value);return r};st.prototype.splice=function(t,e,...r){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var n=0,i=this.head;i!==null&&n<t;n++)i=i.next;for(var a=[],n=0;i&&n<e;n++)a.push(i.value),i=this.removeNode(i);i===null&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(var n=0;n<r.length;n++)i=zAe(this,i,r[n]);return a};st.prototype.reverse=function(){for(var t=this.head,e=this.tail,r=t;r!==null;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=e,this.tail=t,this};function zAe(t,e,r){var n=e===t.head?new oc(r,null,e,t):new oc(r,e,e.next,t);return n.next===null&&(t.tail=n),n.prev===null&&(t.head=n),t.length++,n}function VAe(t,e){t.tail=new oc(e,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function UAe(t,e){t.head=new oc(e,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function oc(t,e,r,n){if(!(this instanceof oc))return new oc(t,e,r,n);this.list=n,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{jAe()(st)}catch{}const GAe=HAe,Su=Symbol("max"),ls=Symbol("length"),sl=Symbol("lengthCalculator"),Ih=Symbol("allowStale"),Cu=Symbol("maxAge"),os=Symbol("dispose"),Z3=Symbol("noDisposeOnSet"),Mr=Symbol("lruList"),Ii=Symbol("cache"),V7=Symbol("updateAgeOnGet"),$1=()=>1;class WAe{constructor(e){if(typeof e=="number"&&(e={max:e}),e||(e={}),e.max&&(typeof e.max!="number"||e.max<0))throw new TypeError("max must be a non-negative number");this[Su]=e.max||1/0;const r=e.length||$1;if(this[sl]=typeof r!="function"?$1:r,this[Ih]=e.stale||!1,e.maxAge&&typeof e.maxAge!="number")throw new TypeError("maxAge must be a number");this[Cu]=e.maxAge||0,this[os]=e.dispose,this[Z3]=e.noDisposeOnSet||!1,this[V7]=e.updateAgeOnGet||!1,this.reset()}set max(e){if(typeof e!="number"||e<0)throw new TypeError("max must be a non-negative number");this[Su]=e||1/0,Nf(this)}get max(){return this[Su]}set allowStale(e){this[Ih]=!!e}get allowStale(){return this[Ih]}set maxAge(e){if(typeof e!="number")throw new TypeError("maxAge must be a non-negative number");this[Cu]=e,Nf(this)}get maxAge(){return this[Cu]}set lengthCalculator(e){typeof e!="function"&&(e=$1),e!==this[sl]&&(this[sl]=e,this[ls]=0,this[Mr].forEach(r=>{r.length=this[sl](r.value,r.key),this[ls]+=r.length})),Nf(this)}get lengthCalculator(){return this[sl]}get length(){return this[ls]}get itemCount(){return this[Mr].length}rforEach(e,r){r=r||this;for(let n=this[Mr].tail;n!==null;){const i=n.prev;Q3(this,e,n,r),n=i}}forEach(e,r){r=r||this;for(let n=this[Mr].head;n!==null;){const i=n.next;Q3(this,e,n,r),n=i}}keys(){return this[Mr].toArray().map(e=>e.key)}values(){return this[Mr].toArray().map(e=>e.value)}reset(){this[os]&&this[Mr]&&this[Mr].length&&this[Mr].forEach(e=>this[os](e.key,e.value)),this[Ii]=new Map,this[Mr]=new GAe,this[ls]=0}dump(){return this[Mr].map(e=>ib(this,e)?!1:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[Mr]}set(e,r,n){if(n=n||this[Cu],n&&typeof n!="number")throw new TypeError("maxAge must be a number");const i=n?Date.now():0,a=this[sl](r,e);if(this[Ii].has(e)){if(a>this[Su])return Vl(this,this[Ii].get(e)),!1;const u=this[Ii].get(e).value;return this[os]&&(this[Z3]||this[os](e,u.value)),u.now=i,u.maxAge=n,u.value=r,this[ls]+=a-u.length,u.length=a,this.get(e),Nf(this),!0}const s=new YAe(e,r,a,i,n);return s.length>this[Su]?(this[os]&&this[os](e,r),!1):(this[ls]+=s.length,this[Mr].unshift(s),this[Ii].set(e,this[Mr].head),Nf(this),!0)}has(e){if(!this[Ii].has(e))return!1;const r=this[Ii].get(e).value;return!ib(this,r)}get(e){return k1(this,e,!0)}peek(e){return k1(this,e,!1)}pop(){const e=this[Mr].tail;return e?(Vl(this,e),e.value):null}del(e){Vl(this,this[Ii].get(e))}load(e){this.reset();const r=Date.now();for(let n=e.length-1;n>=0;n--){const i=e[n],a=i.e||0;if(a===0)this.set(i.k,i.v);else{const s=a-r;s>0&&this.set(i.k,i.v,s)}}}prune(){this[Ii].forEach((e,r)=>k1(this,r,!1))}}const k1=(t,e,r)=>{const n=t[Ii].get(e);if(n){const i=n.value;if(ib(t,i)){if(Vl(t,n),!t[Ih])return}else r&&(t[V7]&&(n.value.now=Date.now()),t[Mr].unshiftNode(n));return i.value}},ib=(t,e)=>{if(!e||!e.maxAge&&!t[Cu])return!1;const r=Date.now()-e.now;return e.maxAge?r>e.maxAge:t[Cu]&&r>t[Cu]},Nf=t=>{if(t[ls]>t[Su])for(let e=t[Mr].tail;t[ls]>t[Su]&&e!==null;){const r=e.prev;Vl(t,e),e=r}},Vl=(t,e)=>{if(e){const r=e.value;t[os]&&t[os](r.key,r.value),t[ls]-=r.length,t[Ii].delete(r.key),t[Mr].removeNode(e)}};class YAe{constructor(e,r,n,i,a){this.key=e,this.value=r,this.length=n,this.now=i,this.maxAge=a||0}}const Q3=(t,e,r,n)=>{let i=r.value;ib(t,i)&&(Vl(t,r),t[Ih]||(i=void 0)),i&&e.call(n,i.value,i.key,t)};var KAe=WAe,D1,eL;function aa(){if(eL)return D1;eL=1;class t{constructor($,D){if(D=n(D),$ instanceof t)return $.loose===!!D.loose&&$.includePrerelease===!!D.includePrerelease?$:new t($.raw,D);if($ instanceof i)return this.raw=$.value,this.set=[[$]],this.format(),this;if(this.options=D,this.loose=!!D.loose,this.includePrerelease=!!D.includePrerelease,this.raw=$.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(M=>this.parseRange(M)).filter(M=>M.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const M=this.set[0];if(this.set=this.set.filter(L=>!m(L[0])),this.set.length===0)this.set=[M];else if(this.set.length>1){for(const L of this.set)if(L.length===1&&b(L[0])){this.set=[L];break}}}this.format()}format(){return this.range=this.set.map($=>$.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange($){const M=((this.options.includePrerelease&&f)|(this.options.loose&&p))+":"+$,L=r.get(M);if(L)return L;const N=this.options.loose,j=N?o[u.HYPHENRANGELOOSE]:o[u.HYPHENRANGE];$=$.replace(j,A(this.options.includePrerelease)),a("hyphen replace",$),$=$.replace(o[u.COMPARATORTRIM],c),a("comparator trim",$),$=$.replace(o[u.TILDETRIM],l),a("tilde trim",$),$=$.replace(o[u.CARETTRIM],d),a("caret trim",$);let z=$.split(" ").map(Y=>S(Y,this.options)).join(" ").split(/\s+/).map(Y=>w(Y,this.options));N&&(z=z.filter(Y=>(a("loose invalid filter",Y,this.options),!!Y.match(o[u.COMPARATORLOOSE])))),a("range list",z);const U=new Map,J=z.map(Y=>new i(Y,this.options));for(const Y of J){if(m(Y))return[Y];U.set(Y.value,Y)}U.size>1&&U.has("")&&U.delete("");const re=[...U.values()];return r.set(M,re),re}intersects($,D){if(!($ instanceof t))throw new TypeError("a Range is required");return this.set.some(M=>_(M,D)&&$.set.some(L=>_(L,D)&&M.every(N=>L.every(j=>N.intersects(j,D)))))}test($){if(!$)return!1;if(typeof $=="string")try{$=new s($,this.options)}catch{return!1}for(let D=0;D<this.set.length;D++)if(C(this.set[D],$,this.options))return!0;return!1}}D1=t;const e=KAe,r=new e({max:1e3}),n=qP,i=Ny(),a=Ry,s=vn,{safeRe:o,t:u,comparatorTrimReplace:c,tildeTrimReplace:l,caretTrimReplace:d}=Kp,{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:p}=Iy,m=E=>E.value==="<0.0.0-0",b=E=>E.value==="",_=(E,$)=>{let D=!0;const M=E.slice();let L=M.pop();for(;D&&M.length;)D=M.every(N=>L.intersects(N,$)),L=M.pop();return D},S=(E,$)=>(a("comp",E,$),E=v(E,$),a("caret",E),E=O(E,$),a("tildes",E),E=T(E,$),a("xrange",E),E=k(E,$),a("stars",E),E),x=E=>!E||E.toLowerCase()==="x"||E==="*",O=(E,$)=>E.trim().split(/\s+/).map(D=>h(D,$)).join(" "),h=(E,$)=>{const D=$.loose?o[u.TILDELOOSE]:o[u.TILDE];return E.replace(D,(M,L,N,j,z)=>{a("tilde",E,M,L,N,j,z);let U;return x(L)?U="":x(N)?U=`>=${L}.0.0 <${+L+1}.0.0-0`:x(j)?U=`>=${L}.${N}.0 <${L}.${+N+1}.0-0`:z?(a("replaceTilde pr",z),U=`>=${L}.${N}.${j}-${z} <${L}.${+N+1}.0-0`):U=`>=${L}.${N}.${j} <${L}.${+N+1}.0-0`,a("tilde return",U),U})},v=(E,$)=>E.trim().split(/\s+/).map(D=>g(D,$)).join(" "),g=(E,$)=>{a("caret",E,$);const D=$.loose?o[u.CARETLOOSE]:o[u.CARET],M=$.includePrerelease?"-0":"";return E.replace(D,(L,N,j,z,U)=>{a("caret",E,L,N,j,z,U);let J;return x(N)?J="":x(j)?J=`>=${N}.0.0${M} <${+N+1}.0.0-0`:x(z)?N==="0"?J=`>=${N}.${j}.0${M} <${N}.${+j+1}.0-0`:J=`>=${N}.${j}.0${M} <${+N+1}.0.0-0`:U?(a("replaceCaret pr",U),N==="0"?j==="0"?J=`>=${N}.${j}.${z}-${U} <${N}.${j}.${+z+1}-0`:J=`>=${N}.${j}.${z}-${U} <${N}.${+j+1}.0-0`:J=`>=${N}.${j}.${z}-${U} <${+N+1}.0.0-0`):(a("no pr"),N==="0"?j==="0"?J=`>=${N}.${j}.${z}${M} <${N}.${j}.${+z+1}-0`:J=`>=${N}.${j}.${z}${M} <${N}.${+j+1}.0-0`:J=`>=${N}.${j}.${z} <${+N+1}.0.0-0`),a("caret return",J),J})},T=(E,$)=>(a("replaceXRanges",E,$),E.split(/\s+/).map(D=>P(D,$)).join(" ")),P=(E,$)=>{E=E.trim();const D=$.loose?o[u.XRANGELOOSE]:o[u.XRANGE];return E.replace(D,(M,L,N,j,z,U)=>{a("xRange",E,M,L,N,j,z,U);const J=x(N),re=J||x(j),Y=re||x(z),G=Y;return L==="="&&G&&(L=""),U=$.includePrerelease?"-0":"",J?L===">"||L==="<"?M="<0.0.0-0":M="*":L&&G?(re&&(j=0),z=0,L===">"?(L=">=",re?(N=+N+1,j=0,z=0):(j=+j+1,z=0)):L==="<="&&(L="<",re?N=+N+1:j=+j+1),L==="<"&&(U="-0"),M=`${L+N}.${j}.${z}${U}`):re?M=`>=${N}.0.0${U} <${+N+1}.0.0-0`:Y&&(M=`>=${N}.${j}.0${U} <${N}.${+j+1}.0-0`),a("xRange return",M),M})},k=(E,$)=>(a("replaceStars",E,$),E.trim().replace(o[u.STAR],"")),w=(E,$)=>(a("replaceGTE0",E,$),E.trim().replace(o[$.includePrerelease?u.GTE0PRE:u.GTE0],"")),A=E=>($,D,M,L,N,j,z,U,J,re,Y,G,K)=>(x(M)?D="":x(L)?D=`>=${M}.0.0${E?"-0":""}`:x(N)?D=`>=${M}.${L}.0${E?"-0":""}`:j?D=`>=${D}`:D=`>=${D}${E?"-0":""}`,x(J)?U="":x(re)?U=`<${+J+1}.0.0-0`:x(Y)?U=`<${J}.${+re+1}.0-0`:G?U=`<=${J}.${re}.${Y}-${G}`:E?U=`<${J}.${re}.${+Y+1}-0`:U=`<=${U}`,`${D} ${U}`.trim()),C=(E,$,D)=>{for(let M=0;M<E.length;M++)if(!E[M].test($))return!1;if($.prerelease.length&&!D.includePrerelease){for(let M=0;M<E.length;M++)if(a(E[M].semver),E[M].semver!==i.ANY&&E[M].semver.prerelease.length>0){const L=E[M].semver;if(L.major===$.major&&L.minor===$.minor&&L.patch===$.patch)return!0}return!1}return!0};return D1}var I1,tL;function Ny(){if(tL)return I1;tL=1;const t=Symbol("SemVer ANY");class e{static get ANY(){return t}constructor(l,d){if(d=r(d),l instanceof e){if(l.loose===!!d.loose)return l;l=l.value}l=l.trim().split(/\s+/).join(" "),s("comparator",l,d),this.options=d,this.loose=!!d.loose,this.parse(l),this.semver===t?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(l){const d=this.options.loose?n[i.COMPARATORLOOSE]:n[i.COMPARATOR],f=l.match(d);if(!f)throw new TypeError(`Invalid comparator: ${l}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new o(f[2],this.options.loose):this.semver=t}toString(){return this.value}test(l){if(s("Comparator.test",l,this.options.loose),this.semver===t||l===t)return!0;if(typeof l=="string")try{l=new o(l,this.options)}catch{return!1}return a(l,this.operator,this.semver,this.options)}intersects(l,d){if(!(l instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new u(l.value,d).test(this.value):l.operator===""?l.value===""?!0:new u(this.value,d).test(l.semver):(d=r(d),d.includePrerelease&&(this.value==="<0.0.0-0"||l.value==="<0.0.0-0")||!d.includePrerelease&&(this.value.startsWith("<0.0.0")||l.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&l.operator.startsWith(">")||this.operator.startsWith("<")&&l.operator.startsWith("<")||this.semver.version===l.semver.version&&this.operator.includes("=")&&l.operator.includes("=")||a(this.semver,"<",l.semver,d)&&this.operator.startsWith(">")&&l.operator.startsWith("<")||a(this.semver,">",l.semver,d)&&this.operator.startsWith("<")&&l.operator.startsWith(">")))}}I1=e;const r=qP,{safeRe:n,t:i}=Kp,a=z7,s=Ry,o=vn,u=aa();return I1}const qAe=aa(),XAe=(t,e,r)=>{try{e=new qAe(e,r)}catch{return!1}return e.test(t)};var By=XAe;const JAe=aa(),ZAe=(t,e)=>new JAe(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var QAe=ZAe;const eMe=vn,tMe=aa(),rMe=(t,e,r)=>{let n=null,i=null,a=null;try{a=new tMe(e,r)}catch{return null}return t.forEach(s=>{a.test(s)&&(!n||i.compare(s)===-1)&&(n=s,i=new eMe(n,r))}),n};var nMe=rMe;const iMe=vn,aMe=aa(),sMe=(t,e,r)=>{let n=null,i=null,a=null;try{a=new aMe(e,r)}catch{return null}return t.forEach(s=>{a.test(s)&&(!n||i.compare(s)===1)&&(n=s,i=new iMe(n,r))}),n};var oMe=sMe;const R1=vn,uMe=aa(),rL=Ly,cMe=(t,e)=>{t=new uMe(t,e);let r=new R1("0.0.0");if(t.test(r)||(r=new R1("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n<t.set.length;++n){const i=t.set[n];let a=null;i.forEach(s=>{const o=new R1(s.semver.version);switch(s.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!a||rL(o,a))&&(a=o);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),a&&(!r||rL(r,a))&&(r=a)}return r&&t.test(r)?r:null};var lMe=cMe;const dMe=aa(),fMe=(t,e)=>{try{return new dMe(t,e).range||"*"}catch{return null}};var hMe=fMe;const pMe=vn,U7=Ny(),{ANY:mMe}=U7,gMe=aa(),vMe=By,nL=Ly,iL=JP,bMe=QP,yMe=ZP,_Me=(t,e,r,n)=>{t=new pMe(t,n),e=new gMe(e,n);let i,a,s,o,u;switch(r){case">":i=nL,a=bMe,s=iL,o=">",u=">=";break;case"<":i=iL,a=yMe,s=nL,o="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(vMe(t,e,n))return!1;for(let c=0;c<e.set.length;++c){const l=e.set[c];let d=null,f=null;if(l.forEach(p=>{p.semver===mMe&&(p=new U7(">=0.0.0")),d=d||p,f=f||p,i(p.semver,d.semver,n)?d=p:s(p.semver,f.semver,n)&&(f=p)}),d.operator===o||d.operator===u||(!f.operator||f.operator===o)&&a(t,f.semver))return!1;if(f.operator===u&&s(t,f.semver))return!1}return!0};var eC=_Me;const wMe=eC,SMe=(t,e,r)=>wMe(t,e,">",r);var OMe=SMe;const TMe=eC,EMe=(t,e,r)=>TMe(t,e,"<",r);var xMe=EMe;const aL=aa(),PMe=(t,e,r)=>(t=new aL(t,r),e=new aL(e,r),t.intersects(e,r));var CMe=PMe;const AMe=By,MMe=ia;var $Me=(t,e,r)=>{const n=[];let i=null,a=null;const s=t.sort((l,d)=>MMe(l,d,r));for(const l of s)AMe(l,e,r)?(a=l,i||(i=l)):(a&&n.push([i,a]),a=null,i=null);i&&n.push([i,null]);const o=[];for(const[l,d]of n)l===d?o.push(l):!d&&l===s[0]?o.push("*"):d?l===s[0]?o.push(`<=${d}`):o.push(`${l} - ${d}`):o.push(`>=${l}`);const u=o.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return u.length<c.length?u:e};const sL=aa(),tC=Ny(),{ANY:L1}=tC,Bf=By,rC=ia,kMe=(t,e,r={})=>{if(t===e)return!0;t=new sL(t,r),e=new sL(e,r);let n=!1;e:for(const i of t.set){for(const a of e.set){const s=IMe(i,a,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},DMe=[new tC(">=0.0.0-0")],oL=[new tC(">=0.0.0")],IMe=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===L1){if(e.length===1&&e[0].semver===L1)return!0;r.includePrerelease?t=DMe:t=oL}if(e.length===1&&e[0].semver===L1){if(r.includePrerelease)return!0;e=oL}const n=new Set;let i,a;for(const p of t)p.operator===">"||p.operator===">="?i=uL(i,p,r):p.operator==="<"||p.operator==="<="?a=cL(a,p,r):n.add(p.semver);if(n.size>1)return null;let s;if(i&&a){if(s=rC(i.semver,a.semver,r),s>0)return null;if(s===0&&(i.operator!==">="||a.operator!=="<="))return null}for(const p of n){if(i&&!Bf(p,String(i),r)||a&&!Bf(p,String(a),r))return null;for(const m of e)if(!Bf(p,String(m),r))return!1;return!0}let o,u,c,l,d=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,f=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;d&&d.prerelease.length===1&&a.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(const p of e){if(l=l||p.operator===">"||p.operator===">=",c=c||p.operator==="<"||p.operator==="<=",i){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator===">"||p.operator===">="){if(o=uL(i,p,r),o===p&&o!==i)return!1}else if(i.operator===">="&&!Bf(i.semver,String(p),r))return!1}if(a){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(u=cL(a,p,r),u===p&&u!==a)return!1}else if(a.operator==="<="&&!Bf(a.semver,String(p),r))return!1}if(!p.operator&&(a||i)&&s!==0)return!1}return!(i&&c&&!a&&s!==0||a&&l&&!i&&s!==0||f||d)},uL=(t,e,r)=>{if(!t)return e;const n=rC(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},cL=(t,e,r)=>{if(!t)return e;const n=rC(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t};var RMe=kMe;const N1=Kp,lL=Iy,LMe=vn,dL=F7,NMe=Fd,BMe=NCe,FMe=jCe,jMe=zCe,HMe=UCe,zMe=YCe,VMe=XCe,UMe=QCe,GMe=rAe,WMe=ia,YMe=sAe,KMe=cAe,qMe=XP,XMe=hAe,JMe=gAe,ZMe=Ly,QMe=JP,e$e=j7,t$e=H7,r$e=ZP,n$e=QP,i$e=z7,a$e=FAe,s$e=Ny(),o$e=aa(),u$e=By,c$e=QAe,l$e=nMe,d$e=oMe,f$e=lMe,h$e=hMe,p$e=eC,m$e=OMe,g$e=xMe,v$e=CMe,b$e=$Me,y$e=RMe;var _$e={parse:NMe,valid:BMe,clean:FMe,inc:jMe,diff:HMe,major:zMe,minor:VMe,patch:UMe,prerelease:GMe,compare:WMe,rcompare:YMe,compareLoose:KMe,compareBuild:qMe,sort:XMe,rsort:JMe,gt:ZMe,lt:QMe,eq:e$e,neq:t$e,gte:r$e,lte:n$e,cmp:i$e,coerce:a$e,Comparator:s$e,Range:o$e,satisfies:u$e,toComparators:c$e,maxSatisfying:l$e,minSatisfying:d$e,minVersion:f$e,validRange:h$e,outside:p$e,gtr:m$e,ltr:g$e,intersects:v$e,simplifyRange:b$e,subset:y$e,SemVer:LMe,re:N1.re,src:N1.src,tokens:N1.t,SEMVER_SPEC_VERSION:lL.SEMVER_SPEC_VERSION,RELEASE_TYPES:lL.RELEASE_TYPES,compareIdentifiers:dL.compareIdentifiers,rcompareIdentifiers:dL.rcompareIdentifiers};const YNe=li(_$e);/*!
* vue-i18n v8.27.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/var G7=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function _d(t,e){typeof console<"u"&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function w$e(t,e){typeof console<"u"&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var Ha=Array.isArray;function Ci(t){return t!==null&&typeof t=="object"}function S$e(t){return typeof t=="boolean"}function Fr(t){return typeof t=="string"}var O$e=Object.prototype.toString,T$e="[object Object]";function Na(t){return O$e.call(t)===T$e}function Mn(t){return t==null}function _T(t){return typeof t=="function"}function Fy(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=null,n=null;return t.length===1?Ci(t[0])||Ha(t[0])?n=t[0]:typeof t[0]=="string"&&(r=t[0]):t.length===2&&(typeof t[0]=="string"&&(r=t[0]),(Ci(t[1])||Ha(t[1]))&&(n=t[1])),{locale:r,params:n}}function jd(t){return JSON.parse(JSON.stringify(t))}function E$e(t,e){if(t.delete(e))return t}function x$e(t){var e=[];return t.forEach(function(r){return e.push(r)}),e}function jy(t,e){return!!~t.indexOf(e)}var P$e=Object.prototype.hasOwnProperty;function C$e(t,e){return P$e.call(t,e)}function Bu(t){for(var e=arguments,r=Object(t),n=1;n<arguments.length;n++){var i=e[n];if(i!=null){var a=void 0;for(a in i)C$e(i,a)&&(Ci(i[a])?r[a]=Bu(r[a],i[a]):r[a]=i[a])}}return r}function ab(t,e){if(t===e)return!0;var r=Ci(t),n=Ci(e);if(r&&n)try{var i=Ha(t),a=Ha(e);if(i&&a)return t.length===e.length&&t.every(function(u,c){return ab(u,e[c])});if(!i&&!a){var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every(function(u){return ab(t[u],e[u])})}else return!1}catch{return!1}else return!r&&!n?String(t)===String(e):!1}function A$e(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function M$e(t){return t!=null&&Object.keys(t).forEach(function(e){typeof t[e]=="string"&&(t[e]=A$e(t[e]))}),t}function $$e(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 k$e(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 de){if(n.__i18nBridge||n.__i18n)try{var i=n.i18n&&n.i18n.messages?n.i18n.messages:{},a=n.__i18nBridge||n.__i18n;a.forEach(function(d){i=Bu(i,JSON.parse(d))}),Object.keys(i).forEach(function(d){n.i18n.mergeLocaleMessage(d,i[d])})}catch{}this._i18n=n.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Na(n.i18n)){var s=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof de?this.$root.$i18n:null;if(s&&(n.i18n.root=this.$root,n.i18n.formatter=s.formatter,n.i18n.fallbackLocale=s.fallbackLocale,n.i18n.formatFallbackMessages=s.formatFallbackMessages,n.i18n.silentTranslationWarn=s.silentTranslationWarn,n.i18n.silentFallbackWarn=s.silentFallbackWarn,n.i18n.pluralizationRules=s.pluralizationRules,n.i18n.preserveDirectiveContent=s.preserveDirectiveContent),n.__i18nBridge||n.__i18n)try{var o=n.i18n&&n.i18n.messages?n.i18n.messages:{},u=n.__i18nBridge||n.__i18n;u.forEach(function(d){o=Bu(o,JSON.parse(d))}),n.i18n.messages=o}catch{}var c=n.i18n,l=c.sharedMessages;l&&Na(l)&&(n.i18n.messages=Bu(n.i18n.messages,l)),this._i18n=new de(n.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(n.i18n.sync===void 0||n.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),s&&s.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof de?this._i18n=this.$root.$i18n:n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof de&&(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 de?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):Na(n.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof de?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):n.parent&&n.parent.$i18n&&n.parent.$i18n instanceof de&&(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 fL={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,s=r.slots,o=i.$i18n;if(o){var u=a.path,c=a.locale,l=a.places,d=s(),f=o.i(u,c,D$e(d)||l?I$e(d.default,l):d),p=a.tag&&a.tag!==!0||a.tag===!1?a.tag:"span";return p?e(p,n,f):f}}};function D$e(t){var e;for(e in t)if(e!=="default")return!1;return!!e}function I$e(t,e){var r=e?R$e(e):{};if(!t)return r;t=t.filter(function(i){return i.tag||i.text.trim()!==""});var n=t.every(N$e);return t.reduce(n?L$e:W7,r)}function R$e(t){return Array.isArray(t)?t.reduce(W7,{}):Object.assign({},t)}function L$e(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function W7(t,e,r){return t[r]=e,t}function N$e(t){return!!(t.data&&t.data.attrs&&t.data.attrs.place)}var hL={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,s=i.$i18n;if(!s)return null;var o=null,u=null;Fr(n.format)?o=n.format:Ci(n.format)&&(n.format.key&&(o=n.format.key),u=Object.keys(n.format).reduce(function(p,m){var b;return jy(G7,m)?Object.assign({},p,(b={},b[m]=n.format[m],b)):p},null));var c=n.locale||s.locale,l=s._ntp(n.value,c,o,u),d=l.map(function(p,m){var b,_=a.scopedSlots&&a.scopedSlots[p.type];return _?_((b={},b[p.type]=p.value,b.index=m,b.parts=l,b)):p.value}),f=n.tag&&n.tag!==!0||n.tag===!1?n.tag:"span";return f?e(f,{attrs:a.attrs,class:a.class,staticClass:a.staticClass},d):d}};function B$e(t,e,r){Y7(t,r)&&K7(t,e,r)}function F$e(t,e,r,n){if(Y7(t,r)){var i=r.context.$i18n;H$e(t,r)&&ab(e.value,e.oldValue)&&ab(t._localeMessage,i.getLocaleMessage(i.locale))||K7(t,e,r)}}function j$e(t,e,r,n){var i=r.context;if(!i){_d("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 Y7(t,e){var r=e.context;return r?r.$i18n?!0:(_d("VueI18n instance does not exists in Vue instance"),!1):(_d("Vue instance does not exists in VNode context"),!1)}function H$e(t,e){var r=e.context;return t._locale===r.$i18n.locale}function K7(t,e,r){var n,i,a=e.value,s=z$e(a),o=s.path,u=s.locale,c=s.args,l=s.choice;if(!o&&!u&&!c){_d("value type not supported");return}if(!o){_d("`path` is required in v-t directive");return}var d=r.context;l!=null?t._vt=t.textContent=(n=d.$i18n).tc.apply(n,[o,l].concat(pL(u,c))):t._vt=t.textContent=(i=d.$i18n).t.apply(i,[o].concat(pL(u,c))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}function z$e(t){var e,r,n,i;return Fr(t)?e=t:Na(t)&&(e=t.path,r=t.locale,n=t.args,i=t.choice),{path:e,locale:r,args:n,choice:i}}function pL(t,e){var r=[];return t&&r.push(t),e&&(Array.isArray(e)||Na(e))&&r.push(e),r}var on;function nC(t,e){e===void 0&&(e={bridge:!1}),nC.installed=!0,on=t,on.version&&Number(on.version.split(".")[0]),$$e(on),on.mixin(k$e(e.bridge)),on.directive("t",{bind:B$e,update:F$e,unbind:j$e}),on.component(fL.name,fL),on.component(hL.name,hL);var r=on.config.optionMergeStrategies;r.i18n=function(n,i){return i===void 0?n:i}}var q7=function(){this._caches=Object.create(null)};q7.prototype.interpolate=function(e,r){if(!r)return[e];var n=this._caches[e];return n||(n=G$e(e),this._caches[e]=n),W$e(n,r)};var V$e=/^(?:\d)+/,U$e=/^(?:\w)+/;function G$e(t){for(var e=[],r=0,n="";r<t.length;){var i=t[r++];if(i==="{"){n&&e.push({type:"text",value:n}),n="";var a="";for(i=t[r++];i!==void 0&&i!=="}";)a+=i,i=t[r++];var s=i==="}",o=V$e.test(a)?"list":s&&U$e.test(a)?"named":"unknown";e.push({value:a,type:o})}else i==="%"?t[r]!=="{"&&(n+=i):n+=i}return n&&e.push({type:"text",value:n}),e}function W$e(t,e){var r=[],n=0,i=Array.isArray(e)?"list":Ci(e)?"named":"unknown";if(i==="unknown")return r;for(;n<t.length;){var a=t[n];switch(a.type){case"text":r.push(a.value);break;case"list":r.push(e[parseInt(a.value,10)]);break;case"named":i==="named"&&r.push(e[a.value]);break}n++}return r}var Lr=0,Rl=1,X7=2,J7=3,wT=0,sb=1,ob=2,vo=3,Os=4,ub=5,cb=6,Hy=7,pp=8,qo=[];qo[wT]={ws:[wT],ident:[vo,Lr],"[":[Os],eof:[Hy]};qo[sb]={ws:[sb],".":[ob],"[":[Os],eof:[Hy]};qo[ob]={ws:[ob],ident:[vo,Lr],0:[vo,Lr],number:[vo,Lr]};qo[vo]={ident:[vo,Lr],0:[vo,Lr],number:[vo,Lr],ws:[sb,Rl],".":[ob,Rl],"[":[Os,Rl],eof:[Hy,Rl]};qo[Os]={"'":[ub,Lr],'"':[cb,Lr],"[":[Os,X7],"]":[sb,J7],eof:pp,else:[Os,Lr]};qo[ub]={"'":[Os,Lr],eof:pp,else:[ub,Lr]};qo[cb]={'"':[Os,Lr],eof:pp,else:[cb,Lr]};var Y$e=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function K$e(t){return Y$e.test(t)}function q$e(t){var e=t.charCodeAt(0),r=t.charCodeAt(t.length-1);return e===r&&(e===34||e===39)?t.slice(1,-1):t}function X$e(t){if(t==null)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function J$e(t){var e=t.trim();return t.charAt(0)==="0"&&isNaN(t)?!1:K$e(e)?q$e(e):"*"+e}function Z$e(t){var e=[],r=-1,n=wT,i=0,a,s,o,u,c,l,d,f=[];f[Rl]=function(){s!==void 0&&(e.push(s),s=void 0)},f[Lr]=function(){s===void 0?s=o:s+=o},f[X7]=function(){f[Lr](),i++},f[J7]=function(){if(i>0)i--,n=Os,f[Lr]();else{if(i=0,s===void 0||(s=J$e(s),s===!1))return!1;f[Rl]()}};function p(){var m=t[r+1];if(n===ub&&m==="'"||n===cb&&m==='"')return r++,o="\\"+m,f[Lr](),!0}for(;n!==null;)if(r++,a=t[r],!(a==="\\"&&p())){if(u=X$e(a),d=qo[n],c=d[u]||d.else||pp,c===pp||(n=c[0],l=f[c[1]],l&&(o=c[2],o=o===void 0?a:o,l()===!1)))return;if(n===Hy)return e}}var iC=function(){this._cache=Object.create(null)};iC.prototype.parsePath=function(e){var r=this._cache[e];return r||(r=Z$e(e),r&&(this._cache[e]=r)),r||[]};iC.prototype.getPathValue=function(e,r){if(!Ci(e))return null;var n=this.parsePath(r);if(n.length===0)return null;for(var i=n.length,a=e,s=0;s<i;){var o=a[n[s]];if(o==null)return null;a=o,s++}return a};var Q$e=/<\/?[\w\s="/.':;#-\/]+>/,eke=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,tke=/^@(?:\.([a-zA-Z]+))?:/,rke=/[()]/g,mL={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},ST=new q7,de=function(e){var r=this;e===void 0&&(e={}),!on&&typeof window<"u"&&window.Vue&&nC(window.Vue);var n=e.locale||"en-US",i=e.fallbackLocale===!1?!1:e.fallbackLocale||"en-US",a=e.messages||{},s=e.dateTimeFormats||e.datetimeFormats||{},o=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||ST,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 iC,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 l=Object.getPrototypeOf(r);if(l&&l.getChoiceIndex){var d=l.getChoiceIndex;return d.call(r,u,c)}var f=function(p,m){return p=Math.abs(p),m===2?p?p>1?1:0:1:p?Math.min(p,2):0};return r.locale in r.pluralizationRules?r.pluralizationRules[r.locale].apply(r,[u,c]):f(u,c)},this._exist=function(u,c){return!u||!c?!1:!!(!Mn(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:s,numberFormats:o})},_t={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}};de.prototype._checkLocaleMessage=function(e,r,n){var i=[],a=function(s,o,u,c){if(Na(u))Object.keys(u).forEach(function(f){var p=u[f];Na(p)?(c.push(f),c.push("."),a(s,o,p,c),c.pop(),c.pop()):(c.push(f),a(s,o,p,c),c.pop())});else if(Ha(u))u.forEach(function(f,p){Na(f)?(c.push("["+p+"]"),c.push("."),a(s,o,f,c),c.pop(),c.pop()):(c.push("["+p+"]"),a(s,o,f,c),c.pop())});else if(Fr(u)){var l=Q$e.test(u);if(l){var d="Detected HTML in message '"+u+"' of keypath '"+c.join("")+"' at '"+o+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";s==="warn"?_d(d):s==="error"&&w$e(d)}}};a(r,e,n,i)};de.prototype._initVM=function(e){var r=on.config.silent;on.config.silent=!0,this._vm=new on({data:e,__VUE18N__INSTANCE__:!0}),on.config.silent=r};de.prototype.destroyVM=function(){this._vm.$destroy()};de.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)};de.prototype.unsubscribeDataChanging=function(e){E$e(this._dataListeners,e)};de.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",function(){for(var r=x$e(e._dataListeners),n=r.length;n--;)on.nextTick(function(){r[n]&&r[n].$forceUpdate()})},{deep:!0})};de.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})}};de.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)};_t.vm.get=function(){return this._vm};_t.messages.get=function(){return jd(this._getMessages())};_t.dateTimeFormats.get=function(){return jd(this._getDateTimeFormats())};_t.numberFormats.get=function(){return jd(this._getNumberFormats())};_t.availableLocales.get=function(){return Object.keys(this.messages).sort()};_t.locale.get=function(){return this._vm.locale};_t.locale.set=function(t){this._vm.$set(this._vm,"locale",t)};_t.fallbackLocale.get=function(){return this._vm.fallbackLocale};_t.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)};_t.formatFallbackMessages.get=function(){return this._formatFallbackMessages};_t.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t};_t.missing.get=function(){return this._missing};_t.missing.set=function(t){this._missing=t};_t.formatter.get=function(){return this._formatter};_t.formatter.set=function(t){this._formatter=t};_t.silentTranslationWarn.get=function(){return this._silentTranslationWarn};_t.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t};_t.silentFallbackWarn.get=function(){return this._silentFallbackWarn};_t.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t};_t.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent};_t.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t};_t.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage};_t.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])})}};_t.postTranslation.get=function(){return this._postTranslation};_t.postTranslation.set=function(t){this._postTranslation=t};_t.sync.get=function(){return this._sync};_t.sync.set=function(t){this._sync=t};de.prototype._getMessages=function(){return this._vm.messages};de.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats};de.prototype._getNumberFormats=function(){return this._vm.numberFormats};de.prototype._warnDefault=function(e,r,n,i,a,s){if(!Mn(n))return n;if(this._missing){var o=this._missing.apply(null,[e,r,i,a]);if(Fr(o))return o}if(this._formatFallbackMessages){var u=Fy.apply(void 0,a);return this._render(r,s,u.params,r)}else return r};de.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:Mn(e))&&!Mn(this._root)&&this._fallbackRoot};de.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn};de.prototype._isSilentFallback=function(e,r){return this._isSilentFallbackWarn(r)&&(this._isFallbackRoot()||e!==this.fallbackLocale)};de.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn};de.prototype._interpolate=function(e,r,n,i,a,s,o){if(!r)return null;var u=this._path.getPathValue(r,n);if(Ha(u)||Na(u))return u;var c;if(Mn(u))if(Na(r)){if(c=r[n],!(Fr(c)||_T(c)))return null}else return null;else if(Fr(u)||_T(u))c=u;else return null;return Fr(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(e,r,c,i,"raw",s,o)),this._render(c,a,s,n)};de.prototype._link=function(e,r,n,i,a,s,o){var u=n,c=u.match(eke);for(var l in c)if(c.hasOwnProperty(l)){var d=c[l],f=d.match(tke),p=f[0],m=f[1],b=d.replace(p,"").replace(rke,"");if(jy(o,b))return u;o.push(b);var _=this._interpolate(e,r,b,i,a==="raw"?"string":a,a==="raw"?void 0:s,o);if(this._isFallbackRoot(_)){if(!this._root)throw Error("unexpected error");var S=this._root.$i18n;_=S._translate(S._getMessages(),S.locale,S.fallbackLocale,b,i,a,s)}_=this._warnDefault(e,b,_,i,Ha(s)?s:[s],a),this._modifiers.hasOwnProperty(m)?_=this._modifiers[m](_):mL.hasOwnProperty(m)&&(_=mL[m](_)),o.pop(),u=_?u.replace(d,_):u}return u};de.prototype._createMessageContext=function(e,r,n,i){var a=this,s=Ha(e)?e:[],o=Ci(e)?e:{},u=function(f){return s[f]},c=function(f){return o[f]},l=this._getMessages(),d=this.locale;return{list:u,named:c,values:e,formatter:r,path:n,messages:l,locale:d,linked:function(f){return a._interpolate(d,l[d]||{},f,null,i,void 0,[f])}}};de.prototype._render=function(e,r,n,i){if(_T(e))return e(this._createMessageContext(n,this._formatter||ST,i,r));var a=this._formatter.interpolate(e,n,i);return a||(a=ST.interpolate(e,n,i)),r==="string"&&!Fr(a)?a.join(""):a};de.prototype._appendItemToChain=function(e,r,n){var i=!1;return jy(e,r)||(i=!0,r&&(i=r[r.length-1]!=="!",r=r.replace(/!/g,""),e.push(r),n&&n[r]&&(i=n[r]))),i};de.prototype._appendLocaleToChain=function(e,r,n){var i,a=r.split("-");do{var s=a.join("-");i=this._appendItemToChain(e,s,n),a.splice(-1,1)}while(a.length&&i===!0);return i};de.prototype._appendBlockToChain=function(e,r,n){for(var i=!0,a=0;a<r.length&&S$e(i);a++){var s=r[a];Fr(s)&&(i=this._appendLocaleToChain(e,s,n))}return i};de.prototype._getLocaleChain=function(e,r){if(e==="")return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){r||(r=this.fallbackLocale),n=[];for(var i=[e];Ha(i);)i=this._appendBlockToChain(n,i,r);var a;Ha(r)?a=r:Ci(r)?r.default?a=r.default:a=null:a=r,Fr(a)?i=[a]:i=a,i&&this._appendBlockToChain(n,i,null),this._localeChainCache[e]=n}return n};de.prototype._translate=function(e,r,n,i,a,s,o){for(var u=this._getLocaleChain(r,n),c,l=0;l<u.length;l++){var d=u[l];if(c=this._interpolate(d,e[d],i,a,s,o,[i]),!Mn(c))return c}return null};de.prototype._t=function(e,r,n,i){for(var a,s=[],o=arguments.length-4;o-- >0;)s[o]=arguments[o+4];if(!e)return"";var u=Fy.apply(void 0,s);this._escapeParameterHtml&&(u.params=M$e(u.params));var c=u.locale||r,l=this._translate(n,c,this.fallbackLocale,e,i,"string",u.params);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return(a=this._root).$t.apply(a,[e].concat(s))}else return l=this._warnDefault(c,e,l,i,s,"string"),this._postTranslation&&l!==null&&l!==void 0&&(l=this._postTranslation(l,e)),l};de.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))};de.prototype._i=function(e,r,n,i,a){var s=this._translate(n,r,this.fallbackLocale,e,i,"raw",a);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,r,a)}else return this._warnDefault(r,e,s,i,[a],"raw")};de.prototype.i=function(e,r,n){return e?(Fr(r)||(r=this.locale),this._i(e,r,this._getMessages(),null,n)):""};de.prototype._tc=function(e,r,n,i,a){for(var s,o=[],u=arguments.length-5;u-- >0;)o[u]=arguments[u+5];if(!e)return"";a===void 0&&(a=1);var c={count:a,n:a},l=Fy.apply(void 0,o);return l.params=Object.assign(c,l.params),o=l.locale===null?[l.params]:[l.locale,l.params],this.fetchChoice((s=this)._t.apply(s,[e,r,n,i].concat(o)),a)};de.prototype.fetchChoice=function(e,r){if(!e||!Fr(e))return null;var n=e.split("|");return r=this.getChoiceIndex(r,n.length),n[r]?n[r].trim():e};de.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))};de.prototype._te=function(e,r,n){for(var i=[],a=arguments.length-3;a-- >0;)i[a]=arguments[a+3];var s=Fy.apply(void 0,i).locale||r;return this._exist(n[s],e)};de.prototype.te=function(e,r){return this._te(e,this.locale,this._getMessages(),r)};de.prototype.getLocaleMessage=function(e){return jd(this._vm.messages[e]||{})};de.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)};de.prototype.mergeLocaleMessage=function(e,r){(this._warnHtmlInMessage==="warn"||this._warnHtmlInMessage==="error")&&this._checkLocaleMessage(e,this._warnHtmlInMessage,r),this._vm.$set(this._vm.messages,e,Bu(typeof this._vm.messages[e]<"u"&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},r))};de.prototype.getDateTimeFormat=function(e){return jd(this._vm.dateTimeFormats[e]||{})};de.prototype.setDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,r),this._clearDateTimeFormat(e,r)};de.prototype.mergeDateTimeFormat=function(e,r){this._vm.$set(this._vm.dateTimeFormats,e,Bu(this._vm.dateTimeFormats[e]||{},r)),this._clearDateTimeFormat(e,r)};de.prototype._clearDateTimeFormat=function(e,r){for(var n in r){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}};de.prototype._localizeDateTime=function(e,r,n,i,a){for(var s=r,o=i[s],u=this._getLocaleChain(r,n),c=0;c<u.length;c++){var l=s,d=u[c];if(o=i[d],s=d,!(Mn(o)||Mn(o[a])))break}if(Mn(o)||Mn(o[a]))return null;var f=o[a],p=s+"__"+a,m=this._dateTimeFormatters[p];return m||(m=this._dateTimeFormatters[p]=new Intl.DateTimeFormat(s,f)),m.format(e)};de.prototype._d=function(e,r,n){if(!n)return new Intl.DateTimeFormat(r).format(e);var i=this._localizeDateTime(e,r,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,r)}else return i||""};de.prototype.d=function(e){for(var r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];var i=this.locale,a=null;return r.length===1?Fr(r[0])?a=r[0]:Ci(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key)):r.length===2&&(Fr(r[0])&&(a=r[0]),Fr(r[1])&&(i=r[1])),this._d(e,i,a)};de.prototype.getNumberFormat=function(e){return jd(this._vm.numberFormats[e]||{})};de.prototype.setNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,r),this._clearNumberFormat(e,r)};de.prototype.mergeNumberFormat=function(e,r){this._vm.$set(this._vm.numberFormats,e,Bu(this._vm.numberFormats[e]||{},r)),this._clearNumberFormat(e,r)};de.prototype._clearNumberFormat=function(e,r){for(var n in r){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}};de.prototype._getNumberFormatter=function(e,r,n,i,a,s){for(var o=r,u=i[o],c=this._getLocaleChain(r,n),l=0;l<c.length;l++){var d=o,f=c[l];if(u=i[f],o=f,!(Mn(u)||Mn(u[a])))break}if(Mn(u)||Mn(u[a]))return null;var p=u[a],m;if(s)m=new Intl.NumberFormat(o,Object.assign({},p,s));else{var b=o+"__"+a;m=this._numberFormatters[b],m||(m=this._numberFormatters[b]=new Intl.NumberFormat(o,p))}return m};de.prototype._n=function(e,r,n,i){if(!de.availabilities.numberFormat)return"";if(!n){var a=i?new Intl.NumberFormat(r,i):new Intl.NumberFormat(r);return a.format(e)}var s=this._getNumberFormatter(e,r,this.fallbackLocale,this._getNumberFormats(),n,i),o=s&&s.format(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:r},i))}else return o||""};de.prototype.n=function(e){for(var r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];var i=this.locale,a=null,s=null;return r.length===1?Fr(r[0])?a=r[0]:Ci(r[0])&&(r[0].locale&&(i=r[0].locale),r[0].key&&(a=r[0].key),s=Object.keys(r[0]).reduce(function(o,u){var c;return jy(G7,u)?Object.assign({},o,(c={},c[u]=r[0][u],c)):o},null)):r.length===2&&(Fr(r[0])&&(a=r[0]),Fr(r[1])&&(i=r[1])),this._n(e,i,a,s)};de.prototype._ntp=function(e,r,n,i){if(!de.availabilities.numberFormat)return[];if(!n){var a=i?new Intl.NumberFormat(r,i):new Intl.NumberFormat(r);return a.formatToParts(e)}var s=this._getNumberFormatter(e,r,this.fallbackLocale,this._getNumberFormats(),n,i),o=s&&s.formatToParts(e);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,r,n,i)}else return o||[]};Object.defineProperties(de.prototype,_t);var B1;Object.defineProperty(de,"availabilities",{get:function(){if(!B1){var e=typeof Intl<"u";B1={dateTimeFormat:e&&typeof Intl.DateTimeFormat<"u",numberFormat:e&&typeof Intl.NumberFormat<"u"}}return B1}});de.install=nC;de.version="8.27.2";const KNe=de;var OT=function(t,e){return OT=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])},OT(t,e)};function sa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");OT(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var ne=function(){return ne=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},ne.apply(this,arguments)};function Z7(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function ue(t,e,r,n){function i(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function o(l){try{c(n.next(l))}catch(d){s(d)}}function u(l){try{c(n.throw(l))}catch(d){s(d)}}function c(l){l.done?a(l.value):i(l.value).then(o,u)}c((n=n.apply(t,e||[])).next())})}function ce(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(c){return function(l){return u([c,l])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(l){c=[6,l],i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Or(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}var aC=function(){function t(){this.callbacks={}}return t.prototype.on=function(e,r){return this.callbacks[e]?this.callbacks[e].push(r):this.callbacks[e]=[r],this},t.prototype.once=function(e,r){var n=this,i=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];n.off(e,i),r.apply(n,a)};return this.on(e,i),this},t.prototype.off=function(e,r){var n,i=(n=this.callbacks[e])!==null&&n!==void 0?n:[],a=i.filter(function(s){return s!==r});return this.callbacks[e]=a,this},t.prototype.emit=function(e){for(var r=this,n,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var s=(n=this.callbacks[e])!==null&&n!==void 0?n:[];return s.forEach(function(o){o.apply(r,i)}),this},t}();function TT(t,e,r){e.split&&(e=e.split("."));for(var n=0,i=e.length,a=t,s,o;n<i&&(o=e[n++],!(o==="__proto__"||o==="constructor"||o==="prototype"));)a=a[o]=n===i?r:typeof(s=a[o])==typeof e?s:e[n]*0!==0||~(""+e[n]).indexOf(".")?{}:[]}var uc=function(t){sa(e,t);function e(r,n){var i=t.call(this,"".concat(r," ").concat(n))||this;return i.field=r,i}return e}(Error);function Oc(t){return typeof t=="string"}function ET(t){return typeof t=="number"}function Ul(t){return typeof t=="function"}function Q7(t){return t!=null}function ai(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()==="object"}var sC="is not a string",nke="is not an object",eG="is nil";function ike(t){var e=".userId/anonymousId/previousId/groupId",r=function(i){var a,s,o;return(o=(s=(a=i.userId)!==null&&a!==void 0?a:i.anonymousId)!==null&&s!==void 0?s:i.groupId)!==null&&o!==void 0?o:i.previousId},n=r(t);if(Q7(n)){if(!Oc(n))throw new uc(e,sC)}else throw new uc(e,eG)}function ake(t){if(!Q7(t))throw new uc("Event",eG);if(typeof t!="object")throw new uc("Event",nke)}function ske(t){if(!Oc(t.type))throw new uc(".type",sC)}function oke(t){if(!Oc(t.event))throw new uc(".event",sC)}function oC(t,e){return new Promise(function(r,n){var i=setTimeout(function(){n(Error("Promise timed out"))},e);t.then(function(a){return clearTimeout(i),r(a)}).catch(n)})}function uke(t){return new Promise(function(e){return setTimeout(e,t)})}function cke(t,e,r){var n=function(){try{return Promise.resolve(e(t))}catch(i){return Promise.reject(i)}};return uke(r).then(function(){return oC(n(),1e3)}).catch(function(i){t==null||t.log("warn","Callback Error",{error:i}),t==null||t.stats.increment("callback_error")}).then(function(){return t})}function lke(t){var e=Math.random()+1,r=t.minTimeout,n=r===void 0?500:r,i=t.factor,a=i===void 0?2:i,s=t.attempt,o=t.maxTimeout,u=o===void 0?1/0:o;return Math.min(e*n*Math.pow(a,s),u)}var tG="onRemoveFromFuture",zy=function(t){sa(e,t);function e(r,n,i){var a=t.call(this)||this;return a.future=[],a.maxAttempts=r,a.queue=n,a.seen=i??{},a}return e.prototype.push=function(){for(var r=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=n.map(function(s){var o=r.updateAttempts(s);return o>r.maxAttempts||r.includes(s)?!1:(r.queue.push(s),!0)});return this.queue=this.queue.sort(function(s,o){return r.getAttempts(s)-r.getAttempts(o)}),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=lke({attempt:i-1});return setTimeout(function(){n.queue.push(r),n.future=n.future.filter(function(s){return s.id!==r.id}),n.emit(tG)},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}(aC),Au=256,Ov=[],Sg;for(;Au--;)Ov[Au]=(Au+256).toString(16).substring(1);function uC(){var t=0,e,r="";if(!Sg||Au+16>256){for(Sg=Array(t=256);t--;)Sg[t]=256*Math.random()|0;t=Au=0}for(;t<16;t++)e=Sg[Au+t],t==6?r+=Ov[e&15|64]:t==8?r+=Ov[e&63|128]:r+=Ov[e],t&1&&t>1&&t<11&&(r+="-");return Au++,r}var dke=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,s,o=ne(ne({},n),{json:JSON.stringify(n.extras,null," "),extras:n.extras});delete o.time;var u=(s=(a=n.time)===null||a===void 0?void 0:a.toISOString())!==null&&s!==void 0?s:"";return r[u]&&(u="".concat(u,"-").concat(Math.random())),ne(ne({},r),(i={},i[u]=o,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}(),fke=function(t){var e={gauge:"g",counter:"c"};return e[t]},rG=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 ne(ne({},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:fke(e.type),e:e.timestamp}})},t}(),hke=function(t){sa(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}(rG),jo=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}(),lb=function(){function t(e,r,n,i){r===void 0&&(r=uC()),n===void 0&&(n=new hke),i===void 0&&(i=new dke),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 jo({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 TT(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 pke(t,e){var r={};return t.forEach(function(n){var i,a=void 0;if(typeof e=="string"){var s=n[e];a=typeof s!="string"?JSON.stringify(s):s}else e instanceof Function&&(a=e(n));a!==void 0&&(r[a]=Or(Or([],(i=r[a])!==null&&i!==void 0?i:[],!0),[n],!1))}),r}var mke=function(t){return typeof t=="object"&&t!==null&&"then"in t&&typeof t.then=="function"},gke=function(){var t,e,r=0;return{done:function(){return t},run:function(n){var i=n();return mke(i)&&(++r===1&&(t=new Promise(function(a){return e=a})),i.finally(function(){return--r===0&&e()})),i}}};function vke(t){return ue(this,void 0,void 0,function(){var e;return ce(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 Gl(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=vke(function(){return n.apply(e,[t])}).then(function(a){var s=new Date().getTime()-r;return a.stats.gauge("plugin_time",s,["plugin:".concat(e.name)]),a}).catch(function(a){if(a instanceof jo&&a.type==="middleware_cancellation")throw a;return a instanceof jo?(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 bke(t,e){return Gl(t,e).then(function(r){if(r instanceof lb)return r;t.log("debug","Context canceled"),t.stats.increment("context_canceled"),t.cancel(r)})}var yke=function(t){sa(e,t);function e(r){var n=t.call(this)||this;return n.criticalTasks=gke(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=r,n.queue.on(tG,function(){n.scheduleFlush(0)}),n}return e.prototype.register=function(r,n,i){return ue(this,void 0,void 0,function(){var a=this;return ce(this,function(s){switch(s.label){case 0:return[4,Promise.resolve(n.load(r,i)).then(function(){a.plugins.push(n)}).catch(function(o){if(n.type==="destination"){a.failedInitializations.push(n.name),console.warn(n.name,o),r.log("warn","Failed to load destination",{plugin:n.name,error:o});return}throw o})];case 1:return s.sent(),[2]}})})},e.prototype.deregister=function(r,n,i){return ue(this,void 0,void 0,function(){var a;return ce(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),n.unload?[4,Promise.resolve(n.unload(r,i))]:[3,2];case 1:s.sent(),s.label=2;case 2:return this.plugins=this.plugins.filter(function(o){return o.name!==n.name}),[3,4];case 3:return a=s.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 ue(this,void 0,void 0,function(){var n;return ce(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 ue(this,void 0,void 0,function(){var n=this;return ce(this,function(i){return[2,new Promise(function(a){var s=function(o,u){o.isSame(r)&&(n.off("flush",s),a(o))};n.on("flush",s)})]})})},e.prototype.dispatchSingle=function(r){return ue(this,void 0,void 0,function(){var n=this;return ce(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 s=n.enqueuRetry(a,r);return s?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 ue(this,void 0,void 0,function(){var n,i,a,s;return ce(this,function(o){switch(o.label){case 0:return[4,this.criticalTasks.done()];case 1:o.sent(),n=Date.now(),o.label=2;case 2:return o.trys.push([2,4,,5]),[4,this.flushOne(r)];case 3:return r=o.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=o.sent(),s=a,r.log("error","Failed to deliver",s),this.emit("delivery_failure",r,s),r.stats.increment("delivery_failed"),a;case 5:return[2]}})})},e.prototype.enqueuRetry=function(r,n){var i=!(r instanceof jo)||r.retry;return i?this.queue.pushWithBackoff(n):!1},e.prototype.flush=function(){return ue(this,void 0,void 0,function(){var r,n,i;return ce(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(p){var m,b,_;if(p.type!=="destination"&&p.name!=="Segment.io")return!0;var S=void 0;return(m=p.alternativeNames)===null||m===void 0||m.forEach(function(x){r[x]!==void 0&&(S=r[x])}),(_=(b=r[p.name])!==null&&b!==void 0?b:S)!==null&&_!==void 0?_:(p.name==="Segment.io"?!0:r.All)!==!1}),i=pke(n,"type"),a=i.before,s=a===void 0?[]:a,o=i.enrichment,u=o===void 0?[]:o,c=i.destination,l=c===void 0?[]:c,d=i.after,f=d===void 0?[]:d;return{before:s,enrichment:u,destinations:l,after:f}},e.prototype.flushOne=function(r){var n,i;return ue(this,void 0,void 0,function(){var a,s,o,u,c,l,m,d,f,p,m,b,_,S,x;return ce(this,function(O){switch(O.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:{}),s=a.before,o=a.enrichment,u=0,c=s,O.label=1;case 1:return u<c.length?(l=c[u],[4,bke(r,l)]):[3,4];case 2:m=O.sent(),m instanceof lb&&(r=m),this.emit("message_enriched",r,l),O.label=3;case 3:return u++,[3,1];case 4:d=0,f=o,O.label=5;case 5:return d<f.length?(p=f[d],[4,Gl(r,p)]):[3,8];case 6:m=O.sent(),m instanceof lb&&(r=m),this.emit("message_enriched",r,p),O.label=7;case 7:return d++,[3,5];case 8:return b=this.availableExtensions((i=r.event.integrations)!==null&&i!==void 0?i:{}),_=b.destinations,S=b.after,[4,new Promise(function(h,v){setTimeout(function(){var g=_.map(function(T){return Gl(r,T)});Promise.all(g).then(h).catch(v)},0)})];case 9:return O.sent(),r.stats.increment("message_delivered"),this.emit("message_delivered",r),x=S.map(function(h){return Gl(r,h)}),[4,Promise.all(x)];case 10:return O.sent(),[2,r]}})})},e}(aC),_ke=function(t,e){var r=Date.now()-t;return Math.max((e??300)-r,0)};function wke(t,e,r,n){return ue(this,void 0,void 0,function(){var i,a;return ce(this,function(s){switch(s.label){case 0:return r.emit("dispatch_start",t),i=Date.now(),e.isEmpty()?[4,e.dispatchSingle(t)]:[3,2];case 1:return a=s.sent(),[3,4];case 2:return[4,e.dispatch(t)];case 3:a=s.sent(),s.label=4;case 4:return n!=null&&n.callback?[4,cke(a,n.callback,_ke(i,n.timeout))]:[3,6];case 5:a=s.sent(),s.label=6;case 6:return n!=null&&n.debug&&a.flush(),[2,a]}})})}function Ske(t,e,r,n){var i,a=[t,e,r,n],s=ai(t)?t.event:t;if(!s||!Oc(s))throw new Error("Event missing");var o=ai(t)?(i=t.properties)!==null&&i!==void 0?i:{}:ai(e)?e:{},u={};Ul(r)||(u=r??{}),ai(t)&&!Ul(e)&&(u=e??{});var c=a.find(Ul);return[s,o,u,c]}function gL(t,e,r,n,i){var a,s,o=null,u=null,c=[t,e,r,n,i],l=c.filter(Oc);l[0]!==void 0&&l[1]!==void 0&&(o=l[0],u=l[1]),l.length===1&&(o=null,u=l[0]);var d=c.find(Ul),f=c.filter(function(b){return u===null?ai(b):ai(b)||b===null}),p=(a=f[0])!==null&&a!==void 0?a:{},m=(s=f[1])!==null&&s!==void 0?s:{};return[o,u,p,m,d]}var vL=function(t){return function(){for(var e,r,n,i,a,s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var u=null;u=(n=(e=s.find(Oc))!==null&&e!==void 0?e:(r=s.find(ET))===null||r===void 0?void 0:r.toString())!==null&&n!==void 0?n:t.id();var c=s.filter(function(p){return u===null?ai(p):ai(p)||p===null}),l=(i=c[0])!==null&&i!==void 0?i:{},d=(a=c[1])!==null&&a!==void 0?a:{},f=s.find(Ul);return[u,l,d,f]}};function Oke(t,e,r,n){ET(t)&&(t=t.toString()),ET(e)&&(e=e.toString());var i=[t,e,r,n],a=i.filter(Oc),s=a[0],o=s===void 0?t:s,u=a[1],c=u===void 0?null:u,l=i.filter(ai)[0],d=l===void 0?{}:l,f=i.find(Ul);return[o,c,d,f]}function cC(){return typeof window<"u"}function nG(){return!cC()}function iG(){return cC()?window.navigator.onLine:!0}function cc(){return!iG()}function Tke(t,e){return e=e||{},new Promise(function(r,n){var i=new XMLHttpRequest,a=[],s=[],o={},u=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:u,headers:{keys:function(){return a},entries:function(){return s},get:function(l){return o[l.toLowerCase()]},has:function(l){return l.toLowerCase()in o}}}};for(var c in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(l,d,f){a.push(d=d.toLowerCase()),s.push([d,f]),o[d]=o[d]?o[d]+","+f:f}),r(u())},i.onerror=n,i.withCredentials=e.credentials=="include",e.headers)i.setRequestHeader(c,e.headers[c]);i.send(e.body||null)})}var lC=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:null},Vy=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=lC();return(r&&r.fetch||Tke).apply(void 0,t)},mp="1.56.0",Eke="npm";function aG(){return Eke}var sG="api.segment.io/v1",xke=function(t,e,r){var n=e.reduce(function(i,a){var s=a.split(":"),o=s[0],u=s[1];return i[o]=u,i},{});return{type:"Counter",metric:t,value:1,tags:ne(ne({},n),{library:"analytics.js",library_version:r==="web"?"next-".concat(mp):"npm:next-".concat(mp)})}};function F1(t){console.error("Error sending segment performance metrics",t)}var Pke=function(){function t(e){var r=this,n,i,a,s;if(this.host=(n=e==null?void 0:e.host)!==null&&n!==void 0?n:sG,this.sampleRate=(i=e==null?void 0:e.sampleRate)!==null&&i!==void 0?i:1,this.flushTimer=(a=e==null?void 0:e.flushTimer)!==null&&a!==void 0?a:30*1e3,this.maxQueueSize=(s=e==null?void 0:e.maxQueueSize)!==null&&s!==void 0?s:20,this.queue=[],this.sampleRate>0){var o=!1,u=function(){o||(o=!0,r.flush().catch(F1),o=!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=xke(e,r,aG());this.queue.push(n),e.includes("error")&&this.flush().catch(F1)}},t.prototype.flush=function(){return ue(this,void 0,void 0,function(){var e=this;return ce(this,function(r){switch(r.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch(function(n){F1(n),e.sampleRate=0})];case 1:return r.sent(),[2]}})})},t.prototype.send=function(){return ue(this,void 0,void 0,function(){var e,r,n;return ce(this,function(i){return e={series:this.queue},this.queue=[],r={"Content-Type":"text/plain"},n="https://".concat(this.host,"/m"),[2,Vy(n,{headers:r,body:JSON.stringify(e),method:"POST"})]})})},t}(),Og,oG=function(t){sa(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.initRemoteMetrics=function(r){Og=new Pke(r)},e.prototype.increment=function(r,n,i){t.prototype.increment.call(this,r,n,i),Og==null||Og.increment(r,i??[])},e}(rG),Fu=function(t){sa(e,t);function e(r,n){return t.call(this,r,n,new oG)||this}return e.system=function(){return new this({type:"track",event:"system"})},e}(lb),uG={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(S,x){var O=S[0],h=S[1],v=S[2],g=S[3];O+=(h&v|~h&g)+x[0]-680876936|0,O=(O<<7|O>>>25)+h|0,g+=(O&h|~O&v)+x[1]-389564586|0,g=(g<<12|g>>>20)+O|0,v+=(g&O|~g&h)+x[2]+606105819|0,v=(v<<17|v>>>15)+g|0,h+=(v&g|~v&O)+x[3]-1044525330|0,h=(h<<22|h>>>10)+v|0,O+=(h&v|~h&g)+x[4]-176418897|0,O=(O<<7|O>>>25)+h|0,g+=(O&h|~O&v)+x[5]+1200080426|0,g=(g<<12|g>>>20)+O|0,v+=(g&O|~g&h)+x[6]-1473231341|0,v=(v<<17|v>>>15)+g|0,h+=(v&g|~v&O)+x[7]-45705983|0,h=(h<<22|h>>>10)+v|0,O+=(h&v|~h&g)+x[8]+1770035416|0,O=(O<<7|O>>>25)+h|0,g+=(O&h|~O&v)+x[9]-1958414417|0,g=(g<<12|g>>>20)+O|0,v+=(g&O|~g&h)+x[10]-42063|0,v=(v<<17|v>>>15)+g|0,h+=(v&g|~v&O)+x[11]-1990404162|0,h=(h<<22|h>>>10)+v|0,O+=(h&v|~h&g)+x[12]+1804603682|0,O=(O<<7|O>>>25)+h|0,g+=(O&h|~O&v)+x[13]-40341101|0,g=(g<<12|g>>>20)+O|0,v+=(g&O|~g&h)+x[14]-1502002290|0,v=(v<<17|v>>>15)+g|0,h+=(v&g|~v&O)+x[15]+1236535329|0,h=(h<<22|h>>>10)+v|0,O+=(h&g|v&~g)+x[1]-165796510|0,O=(O<<5|O>>>27)+h|0,g+=(O&v|h&~v)+x[6]-1069501632|0,g=(g<<9|g>>>23)+O|0,v+=(g&h|O&~h)+x[11]+643717713|0,v=(v<<14|v>>>18)+g|0,h+=(v&O|g&~O)+x[0]-373897302|0,h=(h<<20|h>>>12)+v|0,O+=(h&g|v&~g)+x[5]-701558691|0,O=(O<<5|O>>>27)+h|0,g+=(O&v|h&~v)+x[10]+38016083|0,g=(g<<9|g>>>23)+O|0,v+=(g&h|O&~h)+x[15]-660478335|0,v=(v<<14|v>>>18)+g|0,h+=(v&O|g&~O)+x[4]-405537848|0,h=(h<<20|h>>>12)+v|0,O+=(h&g|v&~g)+x[9]+568446438|0,O=(O<<5|O>>>27)+h|0,g+=(O&v|h&~v)+x[14]-1019803690|0,g=(g<<9|g>>>23)+O|0,v+=(g&h|O&~h)+x[3]-187363961|0,v=(v<<14|v>>>18)+g|0,h+=(v&O|g&~O)+x[8]+1163531501|0,h=(h<<20|h>>>12)+v|0,O+=(h&g|v&~g)+x[13]-1444681467|0,O=(O<<5|O>>>27)+h|0,g+=(O&v|h&~v)+x[2]-51403784|0,g=(g<<9|g>>>23)+O|0,v+=(g&h|O&~h)+x[7]+1735328473|0,v=(v<<14|v>>>18)+g|0,h+=(v&O|g&~O)+x[12]-1926607734|0,h=(h<<20|h>>>12)+v|0,O+=(h^v^g)+x[5]-378558|0,O=(O<<4|O>>>28)+h|0,g+=(O^h^v)+x[8]-2022574463|0,g=(g<<11|g>>>21)+O|0,v+=(g^O^h)+x[11]+1839030562|0,v=(v<<16|v>>>16)+g|0,h+=(v^g^O)+x[14]-35309556|0,h=(h<<23|h>>>9)+v|0,O+=(h^v^g)+x[1]-1530992060|0,O=(O<<4|O>>>28)+h|0,g+=(O^h^v)+x[4]+1272893353|0,g=(g<<11|g>>>21)+O|0,v+=(g^O^h)+x[7]-155497632|0,v=(v<<16|v>>>16)+g|0,h+=(v^g^O)+x[10]-1094730640|0,h=(h<<23|h>>>9)+v|0,O+=(h^v^g)+x[13]+681279174|0,O=(O<<4|O>>>28)+h|0,g+=(O^h^v)+x[0]-358537222|0,g=(g<<11|g>>>21)+O|0,v+=(g^O^h)+x[3]-722521979|0,v=(v<<16|v>>>16)+g|0,h+=(v^g^O)+x[6]+76029189|0,h=(h<<23|h>>>9)+v|0,O+=(h^v^g)+x[9]-640364487|0,O=(O<<4|O>>>28)+h|0,g+=(O^h^v)+x[12]-421815835|0,g=(g<<11|g>>>21)+O|0,v+=(g^O^h)+x[15]+530742520|0,v=(v<<16|v>>>16)+g|0,h+=(v^g^O)+x[2]-995338651|0,h=(h<<23|h>>>9)+v|0,O+=(v^(h|~g))+x[0]-198630844|0,O=(O<<6|O>>>26)+h|0,g+=(h^(O|~v))+x[7]+1126891415|0,g=(g<<10|g>>>22)+O|0,v+=(O^(g|~h))+x[14]-1416354905|0,v=(v<<15|v>>>17)+g|0,h+=(g^(v|~O))+x[5]-57434055|0,h=(h<<21|h>>>11)+v|0,O+=(v^(h|~g))+x[12]+1700485571|0,O=(O<<6|O>>>26)+h|0,g+=(h^(O|~v))+x[3]-1894986606|0,g=(g<<10|g>>>22)+O|0,v+=(O^(g|~h))+x[10]-1051523|0,v=(v<<15|v>>>17)+g|0,h+=(g^(v|~O))+x[1]-2054922799|0,h=(h<<21|h>>>11)+v|0,O+=(v^(h|~g))+x[8]+1873313359|0,O=(O<<6|O>>>26)+h|0,g+=(h^(O|~v))+x[15]-30611744|0,g=(g<<10|g>>>22)+O|0,v+=(O^(g|~h))+x[6]-1560198380|0,v=(v<<15|v>>>17)+g|0,h+=(g^(v|~O))+x[13]+1309151649|0,h=(h<<21|h>>>11)+v|0,O+=(v^(h|~g))+x[4]-145523070|0,O=(O<<6|O>>>26)+h|0,g+=(h^(O|~v))+x[11]-1120210379|0,g=(g<<10|g>>>22)+O|0,v+=(O^(g|~h))+x[2]+718787259|0,v=(v<<15|v>>>17)+g|0,h+=(g^(v|~O))+x[9]-343485551|0,h=(h<<21|h>>>11)+v|0,S[0]=O+S[0]|0,S[1]=h+S[1]|0,S[2]=v+S[2]|0,S[3]=g+S[3]|0}function a(S){var x=[],O;for(O=0;O<64;O+=4)x[O>>2]=S.charCodeAt(O)+(S.charCodeAt(O+1)<<8)+(S.charCodeAt(O+2)<<16)+(S.charCodeAt(O+3)<<24);return x}function s(S){var x=[],O;for(O=0;O<64;O+=4)x[O>>2]=S[O]+(S[O+1]<<8)+(S[O+2]<<16)+(S[O+3]<<24);return x}function o(S){var x=S.length,O=[1732584193,-271733879,-1732584194,271733878],h,v,g,T,P,k;for(h=64;h<=x;h+=64)i(O,a(S.substring(h-64,h)));for(S=S.substring(h-64),v=S.length,g=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],h=0;h<v;h+=1)g[h>>2]|=S.charCodeAt(h)<<(h%4<<3);if(g[h>>2]|=128<<(h%4<<3),h>55)for(i(O,g),h=0;h<16;h+=1)g[h]=0;return T=x*8,T=T.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(T[2],16),k=parseInt(T[1],16)||0,g[14]=P,g[15]=k,i(O,g),O}function u(S){var x=S.length,O=[1732584193,-271733879,-1732584194,271733878],h,v,g,T,P,k;for(h=64;h<=x;h+=64)i(O,s(S.subarray(h-64,h)));for(S=h-64<x?S.subarray(h-64):new Uint8Array(0),v=S.length,g=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],h=0;h<v;h+=1)g[h>>2]|=S[h]<<(h%4<<3);if(g[h>>2]|=128<<(h%4<<3),h>55)for(i(O,g),h=0;h<16;h+=1)g[h]=0;return T=x*8,T=T.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(T[2],16),k=parseInt(T[1],16)||0,g[14]=P,g[15]=k,i(O,g),O}function c(S){var x="",O;for(O=0;O<4;O+=1)x+=n[S>>O*8+4&15]+n[S>>O*8&15];return x}function l(S){var x;for(x=0;x<S.length;x+=1)S[x]=c(S[x]);return S.join("")}l(o("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function S(x,O){return x=x|0||0,x<0?Math.max(x+O,0):Math.min(x,O)}ArrayBuffer.prototype.slice=function(x,O){var h=this.byteLength,v=S(x,h),g=h,T,P,k,w;return O!==r&&(g=S(O,h)),v>g?new ArrayBuffer(0):(T=g-v,P=new ArrayBuffer(T),k=new Uint8Array(P),w=new Uint8Array(this,v,T),k.set(w),P)}}();function d(S){return/[\u0080-\uFFFF]/.test(S)&&(S=unescape(encodeURIComponent(S))),S}function f(S,x){var O=S.length,h=new ArrayBuffer(O),v=new Uint8Array(h),g;for(g=0;g<O;g+=1)v[g]=S.charCodeAt(g);return x?v:h}function p(S){return String.fromCharCode.apply(null,new Uint8Array(S))}function m(S,x,O){var h=new Uint8Array(S.byteLength+x.byteLength);return h.set(new Uint8Array(S)),h.set(new Uint8Array(x),S.byteLength),O?h:h.buffer}function b(S){var x=[],O=S.length,h;for(h=0;h<O-1;h+=2)x.push(parseInt(S.substr(h,2),16));return String.fromCharCode.apply(String,x)}function _(){this.reset()}return _.prototype.append=function(S){return this.appendBinary(d(S)),this},_.prototype.appendBinary=function(S){this._buff+=S,this._length+=S.length;var x=this._buff.length,O;for(O=64;O<=x;O+=64)i(this._hash,a(this._buff.substring(O-64,O)));return this._buff=this._buff.substring(O-64),this},_.prototype.end=function(S){var x=this._buff,O=x.length,h,v=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],g;for(h=0;h<O;h+=1)v[h>>2]|=x.charCodeAt(h)<<(h%4<<3);return this._finish(v,O),g=l(this._hash),S&&(g=b(g)),this.reset(),g},_.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},_.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},_.prototype.setState=function(S){return this._buff=S.buff,this._length=S.length,this._hash=S.hash,this},_.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},_.prototype._finish=function(S,x){var O=x,h,v,g;if(S[O>>2]|=128<<(O%4<<3),O>55)for(i(this._hash,S),O=0;O<16;O+=1)S[O]=0;h=this._length*8,h=h.toString(16).match(/(.*?)(.{0,8})$/),v=parseInt(h[2],16),g=parseInt(h[1],16)||0,S[14]=v,S[15]=g,i(this._hash,S)},_.hash=function(S,x){return _.hashBinary(d(S),x)},_.hashBinary=function(S,x){var O=o(S),h=l(O);return x?b(h):h},_.ArrayBuffer=function(){this.reset()},_.ArrayBuffer.prototype.append=function(S){var x=m(this._buff.buffer,S,!0),O=x.length,h;for(this._length+=S.byteLength,h=64;h<=O;h+=64)i(this._hash,s(x.subarray(h-64,h)));return this._buff=h-64<O?new Uint8Array(x.buffer.slice(h-64)):new Uint8Array(0),this},_.ArrayBuffer.prototype.end=function(S){var x=this._buff,O=x.length,h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],v,g;for(v=0;v<O;v+=1)h[v>>2]|=x[v]<<(v%4<<3);return this._finish(h,O),g=l(this._hash),S&&(g=b(g)),this.reset(),g},_.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},_.ArrayBuffer.prototype.getState=function(){var S=_.prototype.getState.call(this);return S.buff=p(S.buff),S},_.ArrayBuffer.prototype.setState=function(S){return S.buff=f(S.buff,!0),_.prototype.setState.call(this,S)},_.ArrayBuffer.prototype.destroy=_.prototype.destroy,_.ArrayBuffer.prototype._finish=_.prototype._finish,_.ArrayBuffer.hash=function(S,x){var O=u(new Uint8Array(S)),h=l(O);return x?b(h):h},_})})(uG);var Cke=uG.exports;const Ake=li(Cke);var Mke=function(){function t(e){this.user=e}return t.prototype.track=function(e,r,n,i){return this.normalize(ne(ne({},this.baseEvent()),{event:e,type:"track",properties:r,options:ne({},n),integrations:ne({},i)}))},t.prototype.page=function(e,r,n,i,a){var s,o={type:"page",properties:ne({},n),options:ne({},i),integrations:ne({},a)};return e!==null&&(o.category=e,o.properties=(s=o.properties)!==null&&s!==void 0?s:{},o.properties.category=e),r!==null&&(o.name=r),this.normalize(ne(ne({},this.baseEvent()),o))},t.prototype.screen=function(e,r,n,i,a){var s={type:"screen",properties:ne({},n),options:ne({},i),integrations:ne({},a)};return e!==null&&(s.category=e),r!==null&&(s.name=r),this.normalize(ne(ne({},this.baseEvent()),s))},t.prototype.identify=function(e,r,n,i){return this.normalize(ne(ne({},this.baseEvent()),{type:"identify",userId:e,traits:r,options:ne({},n),integrations:ne({},i)}))},t.prototype.group=function(e,r,n,i){return this.normalize(ne(ne({},this.baseEvent()),{type:"group",traits:r,options:ne({},n),integrations:ne({},i),groupId:e}))},t.prototype.alias=function(e,r,n,i){var a={userId:e,type:"alias",options:ne({},n),integrations:ne({},i)};return r!==null&&(a.previousId=r),e===void 0?this.normalize(ne(ne({},a),this.baseEvent())):this.normalize(ne(ne({},this.baseEvent()),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"],s=(r=e.options)!==null&&r!==void 0?r:{};delete s.integrations;var o=Object.keys(s),u=(i=(n=e.options)===null||n===void 0?void 0:n.context)!==null&&i!==void 0?i:{},c={};return o.forEach(function(l){l!=="context"&&(a.includes(l)?TT(c,l,s[l]):TT(u,l,s[l]))}),[u,c]},t.prototype.normalize=function(e){var r,n,i;!((r=e.options)===null||r===void 0)&&r.anonymousId&&this.user.anonymousId(e.options.anonymousId);var a=Object.keys((n=e.integrations)!==null&&n!==void 0?n:{}).reduce(function(m,b){var _,S;return ne(ne({},m),(_={},_[b]=!!(!((S=e.integrations)===null||S===void 0)&&S[b]),_))},{}),s=ne(ne({},a),(i=e.options)===null||i===void 0?void 0:i.integrations),o=this.context(e),u=o[0],c=o[1];e.options;var l=Z7(e,["options"]),d=ne(ne(ne({timestamp:new Date},l),{context:u,integrations:s}),c),f="ajs-next-"+Ake.hash(JSON.stringify(d)+uC()),p=ne(ne({},d),{messageId:f});return p},t}(),Ba={getItem:function(){},setItem:function(){},removeItem:function(){}};try{Ba=cC()&&window.localStorage?window.localStorage:Ba}catch(t){console.warn("Unable to access localStorage",t)}function cG(t){var e=Ba.getItem(t);return(e?JSON.parse(e):[]).map(function(r){return new Fu(r.event,r.id)})}function $ke(t,e){var r=cG(t),n=Or(Or([],e,!0),r,!0),i=n.reduce(function(a,s){var o;return ne(ne({},a),(o={},o[s.id]=s,o))},{});Ba.setItem(t,JSON.stringify(Object.values(i)))}function lG(t){var e=Ba.getItem(t);return e?JSON.parse(e):{}}function kke(t,e){var r=lG(t);Ba.setItem(t,JSON.stringify(ne(ne({},r),e)))}function bL(t){Ba.removeItem(t)}var Dke=function(){return new Date().getTime()};function xT(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},s=Ba.getItem(i),o=s?JSON.parse(s):null,u=o===null||a(o);if(u){Ba.setItem(i,JSON.stringify(Dke()+n)),e(),Ba.removeItem(i);return}!u&&r<3?setTimeout(function(){xT(t,e,r+1)},n):console.error("Unable to retrieve lock")}var Uy=function(t){sa(e,t);function e(r,n){var i=t.call(this,r,[])||this,a="persisted-queue:v1:".concat(n,":items"),s="persisted-queue:v1:".concat(n,":seen"),o=[],u={};return xT(n,function(){try{o=cG(a),u=lG(s),bL(a),bL(s),i.queue=Or(Or([],o,!0),i.queue,!0),i.seen=ne(ne({},u),i.seen)}catch(c){console.error(c)}}),window.addEventListener("pagehide",function(){if(i.todo>0){var c=Or(Or([],i.queue,!0),i.future,!0);try{xT(n,function(){$ke(a,c),kke(s,i.seen)})}catch(l){console.error(l)}}}),i}return e}(zy),Ike=function(t){sa(e,t);function e(r){return t.call(this,typeof r=="string"?new Uy(4,r):r)||this}return e.prototype.flush=function(){return ue(this,void 0,void 0,function(){return ce(this,function(r){return cc()?[2,[]]:[2,t.prototype.flush.call(this)]})})},e}(yke);function dC(t){for(var e=t.constructor.prototype,r=0,n=Object.getOwnPropertyNames(e);r<n.length;r++){var i=n[r];if(i!=="constructor"){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,i);a&&typeof a.value=="function"&&(t[i]=t[i].bind(t))}}return t}/*! js-cookie v3.0.1 | MIT */function Tg(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}var Rke={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function PT(t,e){function r(i,a,s){if(!(typeof document>"u")){s=Tg({},e,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var u in s)s[u]&&(o+="; "+u,s[u]!==!0&&(o+="="+s[u].split(";")[0]));return document.cookie=i+"="+t.write(a,i)+o}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],s={},o=0;o<a.length;o++){var u=a[o].split("="),c=u.slice(1).join("=");try{var l=decodeURIComponent(u[0]);if(s[l]=t.read(c,l),i===l)break}catch{}}return i?s[i]:s}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",Tg({},a,{expires:-1}))},withAttributes:function(i){return PT(this.converter,Tg({},this.attributes,i))},withConverter:function(i){return PT(Tg({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var hs=PT(Rke,{path:"/"});function Lke(t){var e=t.hostname,r=e.split("."),n=r[r.length-1],i=[];if(r.length===4&&parseInt(n,10)>0||r.length<=1)return i;for(var a=r.length-2;a>=0;--a)i.push(r.slice(a).join("."));return i}function Nke(t){try{return new URL(t)}catch{return}}function dG(t){var e=Nke(t);if(e)for(var r=Lke(e),n=0;n<r.length;++n){var i="__tld__",a=r[n],s={domain:"."+a};try{if(hs.set(i,"1",s),hs.get(i))return hs.remove(i,s),a}catch{return}}}var Bke=365,fG=function(){function t(e){e===void 0&&(e=t.defaults),this.options=ne(ne({},t.defaults),e)}return Object.defineProperty(t,"defaults",{get:function(){return{maxage:Bke,domain:dG(window.location.href),path:"/",sameSite:"Lax"}},enumerable:!1,configurable:!0}),t.prototype.opts=function(){return{sameSite:this.options.sameSite,expires:this.options.maxage,domain:this.options.domain,path:this.options.path,secure:this.options.secure}},t.prototype.get=function(e){var r;try{var n=hs.get(e);if(n==null)return null;try{return(r=JSON.parse(n))!==null&&r!==void 0?r:null}catch{return n??null}}catch{return null}},t.prototype.set=function(e,r){typeof r=="string"?hs.set(e,r,this.opts()):r===null?hs.remove(e,this.opts()):hs.set(e,JSON.stringify(r),this.opts())},t.prototype.remove=function(e){return hs.remove(e,this.opts())},t}(),Fke=function(){function t(){}return t.prototype.localStorageWarning=function(e,r){console.warn("Unable to access ".concat(e,", localStorage may be ").concat(r))},t.prototype.get=function(e){var r;try{var n=localStorage.getItem(e);if(n===null)return null;try{return(r=JSON.parse(n))!==null&&r!==void 0?r:null}catch{return n??null}}catch{return this.localStorageWarning(e,"unavailable"),null}},t.prototype.set=function(e,r){try{localStorage.setItem(e,JSON.stringify(r))}catch{this.localStorageWarning(e,"full")}},t.prototype.remove=function(e){try{return localStorage.removeItem(e)}catch{this.localStorageWarning(e,"unavailable")}},t}(),fC=function(){function t(){this.cache={}}return t.prototype.get=function(e){var r;return(r=this.cache[e])!==null&&r!==void 0?r:null},t.prototype.set=function(e,r){this.cache[e]=r},t.prototype.remove=function(e){delete this.cache[e]},t}(),En={Cookie:"cookie",LocalStorage:"localStorage",Memory:"memory"};function hG(t){return t&&t.stores&&Array.isArray(t.stores)&&t.stores.every(function(e){return Object.values(En).includes(e)})}function jke(t){return typeof t=="object"&&t.name!==void 0}var ju=function(){function t(e){this.stores=e}return t.prototype.get=function(e){for(var r=null,n=0,i=this.stores;n<i.length;n++){var a=i[n];try{if(r=a.get(e),r!=null)return r}catch(s){console.warn("Can't access ".concat(e,": ").concat(s))}}return null},t.prototype.set=function(e,r){this.stores.forEach(function(n){try{n.set(e,r)}catch(i){console.warn("Can't set ".concat(e,": ").concat(i))}})},t.prototype.clear=function(e){this.stores.forEach(function(r){try{r.remove(e)}catch(n){console.warn("Can't remove ".concat(e,": ").concat(n))}})},t.prototype.getAndSync=function(e){var r=this.get(e),n=typeof r=="number"?r.toString():r;return this.set(e,n),n},t}();function CT(t){var e=t.map(function(r){var n,i;switch(jke(r)?(n=r.name,i=r.settings):n=r,n){case En.Cookie:return new fG(i);case En.LocalStorage:return new Fke;case En.Memory:return new fC;default:throw new Error("Unknown Store Type: ".concat(r))}});return e}function pG(t,e){return t.map(function(r){return e&&r===En.Cookie?{name:r,settings:e}:r})}var hu={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},mG=function(){function t(e,r){e===void 0&&(e=hu);var n=this,i,a,s,o;this.options={},this.id=function(c){if(n.options.disable)return null;var l=n.identityStore.getAndSync(n.idKey);if(c!==void 0){n.identityStore.set(n.idKey,c);var d=c!==l&&l!==null&&c!==null;d&&n.anonymousId(null)}var f=n.identityStore.getAndSync(n.idKey);if(f)return f;var p=n.legacyUserStore.get(hu.cookie.oldKey);return p?typeof p=="object"?p.id:p:null},this.anonymousId=function(c){var l,d;if(n.options.disable)return null;if(c===void 0){var f=(l=n.identityStore.getAndSync(n.anonKey))!==null&&l!==void 0?l:(d=n.legacySIO())===null||d===void 0?void 0:d[0];if(f)return f}return c===null?(n.identityStore.set(n.anonKey,null),n.identityStore.getAndSync(n.anonKey)):(n.identityStore.set(n.anonKey,c??uC()),n.identityStore.getAndSync(n.anonKey))},this.traits=function(c){var l;if(!n.options.disable)return c===null&&(c={}),c&&n.traitsStore.set(n.traitsKey,c??{}),(l=n.traitsStore.get(n.traitsKey))!==null&&l!==void 0?l:{}},this.options=ne(ne({},hu),e),this.cookieOptions=r,this.idKey=(a=(i=e.cookie)===null||i===void 0?void 0:i.key)!==null&&a!==void 0?a:hu.cookie.key,this.traitsKey=(o=(s=e.localStorage)===null||s===void 0?void 0:s.key)!==null&&o!==void 0?o:hu.localStorage.key,this.anonKey="ajs_anonymous_id",this.identityStore=this.createStorage(this.options,r),this.legacyUserStore=this.createStorage(this.options,r,function(c){return c===En.Cookie}),this.traitsStore=this.createStorage(this.options,r,function(c){return c!==En.Cookie});var u=this.legacyUserStore.get(hu.cookie.oldKey);u&&typeof u=="object"&&(u.id&&this.id(u.id),u.traits&&this.traits(u.traits)),dC(this)}return t.prototype.legacySIO=function(){var e=this.legacyUserStore.get("_sio");if(!e)return null;var r=e.split("----"),n=r[0],i=r[1];return[n,i]},t.prototype.identify=function(e,r){if(!this.options.disable){r=r??{};var n=this.id();(n===null||n===e)&&(r=ne(ne({},this.traits()),r)),e&&this.id(e),this.traits(r)}},t.prototype.logout=function(){this.anonymousId(null),this.id(null),this.traits({})},t.prototype.reset=function(){this.logout(),this.identityStore.clear(this.idKey),this.identityStore.clear(this.anonKey),this.traitsStore.clear(this.traitsKey)},t.prototype.load=function(){return new t(this.options,this.cookieOptions)},t.prototype.save=function(){return!0},t.prototype.createStorage=function(e,r,n){var i=[En.LocalStorage,En.Cookie,En.Memory];return e.disable?new ju([]):e.persist?(e.storage!==void 0&&e.storage!==null&&hG(e.storage)&&(i=e.storage.stores),e.localStorageFallbackDisabled&&(i=i.filter(function(a){return a!==En.LocalStorage})),n&&(i=i.filter(n)),new ju(CT(pG(i,r)))):new ju([new fC])},t.defaults=hu,t}(),yL={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},Hke=function(t){sa(e,t);function e(r,n){r===void 0&&(r=yL);var i=t.call(this,ne(ne({},yL),r),n)||this;return i.anonymousId=function(a){},dC(i),i}return e}(mG),hC="analytics";function pC(){return window[hC]}function zke(t){hC=t}function Vke(t){window[hC]=t}var Zs="This is being deprecated and will be not be available in future releases of Analytics JS",j1=lC(),H1=j1==null?void 0:j1.analytics;function Uke(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=e?4:1,i=r?new zy(n,[]):new Uy(n,t);return new Ike(i)}function pa(){console.warn(Zs)}var Gke=function(t){sa(e,t);function e(r,n,i,a,s){var o=this,u,c,l;o=t.call(this)||this,o._debug=!1,o.initialized=!1,o.user=function(){return o._user},o.init=o.initialize.bind(o),o.log=pa,o.addIntegrationMiddleware=pa,o.listeners=pa,o.addEventListener=pa,o.removeAllListeners=pa,o.removeListener=pa,o.removeEventListener=pa,o.hasListeners=pa,o.add=pa,o.addIntegration=pa;var d=n==null?void 0:n.cookie,f=(u=n==null?void 0:n.disableClientPersistence)!==null&&u!==void 0?u:!1;o.settings=r,o.settings.timeout=(c=o.settings.timeout)!==null&&c!==void 0?c:300,o.queue=i??Uke("".concat(r.writeKey,":event-queue"),n==null?void 0:n.retryQueue,f);var p=n==null?void 0:n.storage;return o._universalStorage=o.createStore(f,p,d),o._user=a??new mG(ne({persist:!f,storage:n==null?void 0:n.storage},n==null?void 0:n.user),d).load(),o._group=s??new Hke(ne({persist:!f,storage:n==null?void 0:n.storage},n==null?void 0:n.group),d).load(),o.eventFactory=new Mke(o._user),o.integrations=(l=n==null?void 0:n.integrations)!==null&&l!==void 0?l:{},o.options=n??{},dC(o),o}return e.prototype.createStore=function(r,n,i){return r?new ju([new fC]):n&&hG(n)?new ju(CT(pG(n.stores,i))):new ju(CT([En.LocalStorage,{name:En.Cookie,settings:i},En.Memory]))},Object.defineProperty(e.prototype,"storage",{get:function(){return this._universalStorage},enumerable:!1,configurable:!0}),e.prototype.track=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,c,l=this;return ce(this,function(d){return i=Ske.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],c=this.eventFactory.track(a,s,o,this.integrations),[2,this._dispatch(c,u).then(function(f){return l.emit("track",a,f.event.properties,f.event.options),f})]})})},e.prototype.page=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,c,l,d=this;return ce(this,function(f){return i=gL.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],c=i[4],l=this.eventFactory.page(a,s,o,u,this.integrations),[2,this._dispatch(l,c).then(function(p){return d.emit("page",a,s,p.event.properties,p.event.options),p})]})})},e.prototype.identify=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,c,l=this;return ce(this,function(d){return i=vL(this._user).apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],this._user.identify(a,s),c=this.eventFactory.identify(this._user.id(),this._user.traits(),o,this.integrations),[2,this._dispatch(c,u).then(function(f){return l.emit("identify",f.event.userId,f.event.traits,f.event.options),f})]})})},e.prototype.group=function(){for(var r=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(n.length===0)return this._group;var a=vL(this._group).apply(void 0,n),s=a[0],o=a[1],u=a[2],c=a[3];this._group.identify(s,o);var l=this._group.id(),d=this._group.traits(),f=this.eventFactory.group(l,d,u,this.integrations);return this._dispatch(f,c).then(function(p){return r.emit("group",p.event.groupId,p.event.traits,p.event.options),p})},e.prototype.alias=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,c,l=this;return ce(this,function(d){return i=Oke.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],c=this.eventFactory.alias(a,s,o,this.integrations),[2,this._dispatch(c,u).then(function(f){return l.emit("alias",a,s,f.event.options),f})]})})},e.prototype.screen=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s,o,u,c,l,d=this;return ce(this,function(f){return i=gL.apply(void 0,r),a=i[0],s=i[1],o=i[2],u=i[3],c=i[4],l=this.eventFactory.screen(a,s,o,u,this.integrations),[2,this._dispatch(l,c).then(function(p){return d.emit("screen",a,s,p.event.properties,p.event.options),p})]})})},e.prototype.trackClick=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a;return ce(this,function(s){switch(s.label){case 0:return[4,wi(()=>Promise.resolve().then(()=>Eg),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.link).call.apply(a,Or([this],r,!1))]}})})},e.prototype.trackLink=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a;return ce(this,function(s){switch(s.label){case 0:return[4,wi(()=>Promise.resolve().then(()=>Eg),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.link).call.apply(a,Or([this],r,!1))]}})})},e.prototype.trackSubmit=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a;return ce(this,function(s){switch(s.label){case 0:return[4,wi(()=>Promise.resolve().then(()=>Eg),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.form).call.apply(a,Or([this],r,!1))]}})})},e.prototype.trackForm=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a;return ce(this,function(s){switch(s.label){case 0:return[4,wi(()=>Promise.resolve().then(()=>Eg),void 0,import.meta.url)];case 1:return i=s.sent(),[2,(a=i.form).call.apply(a,Or([this],r,!1))]}})})},e.prototype.register=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s=this;return ce(this,function(o){switch(o.label){case 0:return i=Fu.system(),a=r.map(function(u){return s.queue.register(i,u,s)}),[4,Promise.all(a)];case 1:return o.sent(),[2,i]}})})},e.prototype.deregister=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return ue(this,void 0,void 0,function(){var i,a,s=this;return ce(this,function(o){switch(o.label){case 0:return i=Fu.system(),a=r.map(function(u){var c=s.queue.plugins.find(function(l){return l.name===u});if(c)return s.queue.deregister(i,c,s);i.log("warn","plugin ".concat(u," not found"))}),[4,Promise.all(a)];case 1:return o.sent(),[2,i]}})})},e.prototype.debug=function(r){return r===!1&&localStorage.getItem("debug")&&localStorage.removeItem("debug"),this._debug=r,this},e.prototype.reset=function(){this._user.reset(),this._group.reset(),this.emit("reset")},e.prototype.timeout=function(r){this.settings.timeout=r},e.prototype._dispatch=function(r,n){return ue(this,void 0,void 0,function(){var i;return ce(this,function(a){return i=new Fu(r),cc()&&!this.options.retryQueue?[2,i]:[2,wke(i,this.queue,this,{callback:n,debug:this._debug,timeout:this.settings.timeout})]})})},e.prototype.addSourceMiddleware=function(r){return ue(this,void 0,void 0,function(){var n=this;return ce(this,function(i){switch(i.label){case 0:return[4,this.queue.criticalTasks.run(function(){return ue(n,void 0,void 0,function(){var a,s,o;return ce(this,function(u){switch(u.label){case 0:return[4,wi(()=>Promise.resolve().then(()=>KDe),void 0,import.meta.url)];case 1:return a=u.sent().sourceMiddlewarePlugin,s={},this.queue.plugins.forEach(function(c){if(c.type==="destination")return s[c.name]=!0}),o=a(r,s),[4,this.register(o)];case 2:return u.sent(),[2]}})})})];case 1:return i.sent(),[2,this]}})})},e.prototype.addDestinationMiddleware=function(r){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var a=this.queue.plugins.filter(function(s){return s.name.toLowerCase()===r.toLowerCase()});return a.forEach(function(s){s.addMiddleware.apply(s,n)}),Promise.resolve(this)},e.prototype.setAnonymousId=function(r){return this._user.anonymousId(r)},e.prototype.queryString=function(r){return ue(this,void 0,void 0,function(){var n;return ce(this,function(i){switch(i.label){case 0:return this.options.useQueryString===!1?[2,[]]:[4,wi(()=>Promise.resolve().then(()=>RIe),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}),ue(this,void 0,void 0,function(){return ce(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(Zs),Vke(H1??this),this},e.prototype.normalize=function(r){return console.warn(Zs),this.eventFactory.normalize(r)},Object.defineProperty(e.prototype,"failedInitializations",{get:function(){return console.warn(Zs),this.queue.failedInitializations},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"VERSION",{get:function(){return mp},enumerable:!1,configurable:!0}),e.prototype.initialize=function(r,n){return ue(this,void 0,void 0,function(){return ce(this,function(i){return console.warn(Zs),[2,Promise.resolve(this)]})})},e.prototype.pageview=function(r){return ue(this,void 0,void 0,function(){return ce(this,function(n){switch(n.label){case 0:return console.warn(Zs),[4,this.page({path:r})];case 1:return n.sent(),[2,this]}})})},Object.defineProperty(e.prototype,"plugins",{get:function(){var r;return console.warn(Zs),(r=this._plugins)!==null&&r!==void 0?r:{}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Integrations",{get:function(){console.warn(Zs);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"),s=window[a];if(!s)return n;var o=s.Integration;return o?(n[i.name]=o,n):(n[i.name]=s,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}(aC);function gG(){return typeof process>"u"||!process.env?{}:process.env}var Wke=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,Yke=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=Wke.exec(i);a&&a[1]&&(t=a[1])}),t},Tv,Kke=function(){var t,e=Tv??((t=pC())===null||t===void 0?void 0:t._cdn);return e},qke=function(t){var e=pC();e&&(e._cdn=t),Tv=t},mC=function(){var t=Kke();if(t)return t;var e=Yke();return e||"https://cdn.segment.com"},gC=function(){var t=mC();return"".concat(t,"/next-integrations")};function vG(t,e){var r,n=Object.entries((r=e.integrations)!==null&&r!==void 0?r:{}).reduce(function(i,a){var s,o,u=a[0],c=a[1];return typeof c=="object"?ne(ne({},i),(s={},s[u]=c,s)):ne(ne({},i),(o={},o[u]={},o))},{});return Object.entries(t.integrations).reduce(function(i,a){var s,o=a[0],u=a[1];return ne(ne({},i),(s={},s[o]=ne(ne({},u),n[o]),s))},{})}var Xke=function(){var t,e,r=new Promise(function(n,i){t=n,e=i});return{resolve:t,reject:e,promise:r}},Jke=function(t,e){return Object.assign.apply(Object,Or([{}],e.map(function(r){var n;if(t&&Object.prototype.hasOwnProperty.call(t,r))return n={},n[r]=t[r],n}),!1))};function bG(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return t}}var Ff;function Zke(){if(Ff)return Ff;var t=dG(window.location.href);return Ff={expires:31536e6,secure:!1,path:"/"},t&&(Ff.domain=t),Ff}function Qke(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;n<i.length;n++){var a=i[n],s=a.split("="),o=s[0],u=s[1];if(e[o])return{id:u,type:e[o]}}}function yG(){var t=document.querySelector("link[rel='canonical']");if(t)return t.getAttribute("href")||void 0}function eDe(){var t=yG();if(!t)return window.location.pathname;var e=document.createElement("a");e.href=t;var r=e.pathname.startsWith("/")?e.pathname:"/"+e.pathname;return r}function tDe(t){t===void 0&&(t="");var e=yG();if(e)return e.includes("?")?e:"".concat(e).concat(t);var r=window.location.href,n=r.indexOf("#");return n===-1?r:r.slice(0,n)}function rDe(){return{path:eDe(),referrer:document.referrer,search:location.search,title:document.title,url:tDe(location.search)}}function nDe(t){return t.startsWith("?")&&(t=t.substring(1)),t=t.replace(/\?/g,"&"),t.split("&").reduce(function(e,r){var n=r.split("="),i=n[0],a=n[1],s=a===void 0?"":a;if(i.includes("utm_")&&i.length>4){var o=i.substr(4);o==="campaign"&&(o="name"),e[o]=bG(s)}return e},{})}function iDe(){var t=hs.get("_ga");if(t&&t.startsWith("amp"))return t}function aDe(t,e,r){var n,i=new ju(r?[]:[new fG(Zke())]),a=i.get("s:context.referrer"),s=(n=Qke(t))!==null&&n!==void 0?n:a;s&&(e&&(e.referrer=ne(ne({},e.referrer),s)),i.set("s:context.referrer",s))}var sDe=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 e.instance=n,Promise.resolve()},this.enrich=function(r){var n,i,a,s=r.event,o=(n=s.context)!==null&&n!==void 0?n:s.context={},u=rDe(),c;s.type==="page"&&(c=s.properties&&Jke(s.properties,Object.keys(u)),s.properties=ne(ne(ne({},u),s.properties),s.name?{name:s.name}:{})),o.page=ne(ne(ne({},u),c),o.page);var l=o.page.search||"";o.userAgent=navigator.userAgent;var d=navigator.userLanguage||navigator.language;typeof o.locale>"u"&&typeof d<"u"&&(o.locale=d),(i=o.library)!==null&&i!==void 0||(o.library={name:"analytics.js",version:"".concat(aG()==="web"?"next":"npm:next","-").concat(mp)}),l&&!o.campaign&&(o.campaign=nDe(l));var f=iDe();return f&&(o.amp={id:f}),aDe(l,o,(a=e.instance.options.disableClientPersistence)!==null&&a!==void 0?a:!1),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}(),oDe=new sDe;function _G(t){var e=Array.prototype.slice.call(window.document.querySelectorAll("script"));return e.find(function(r){return r.src===t})}function Wl(t,e){var r=_G(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(s){return a(s)})})}return new Promise(function(i,a){var s,o=window.document.createElement("script");o.type="text/javascript",o.src=t,o.async=!0,o.setAttribute("status","loading");for(var u=0,c=Object.entries(e??{});u<c.length;u++){var l=c[u],d=l[0],f=l[1];o.setAttribute(d,f)}o.onload=function(){o.onerror=o.onload=null,o.setAttribute("status","loaded"),i(o)},o.onerror=function(){o.onerror=o.onload=null,o.setAttribute("status","error"),a(new Error("Failed to load ".concat(t)))};var p=window.document.getElementsByTagName("script")[0];(s=p.parentElement)===null||s===void 0||s.insertBefore(o,p)})}function uDe(t){var e=_G(t);return e!==void 0&&e.remove(),Promise.resolve()}var Xn={},Ga={},vC={},wG={exports:{}};(function(t){t.exports=e(r),t.exports.find=t.exports,t.exports.replace=function(o,u,c,l){return e(i).call(this,o,u,c,l),o},t.exports.del=function(o,u,c){return e(n).call(this,o,u,null,c),o};function e(o){return function(u,c,l,d){var f=d&&s(d.normalizer)?d.normalizer:a;c=f(c);for(var p,m=!1;!m;)b();function b(){for(p in u){var _=f(p);if(c.indexOf(_)===0){var S=c.substr(_.length);if(S.charAt(0)==="."||S.length===0){c=S.substr(1);var x=u[p];if(x==null){m=!0;return}if(!c.length){m=!0;return}u=x;return}}}p=void 0,m=!0}if(p)return u==null?u:o(u,p,l)}}function r(o,u){if(o.hasOwnProperty(u))return o[u]}function n(o,u){return o.hasOwnProperty(u)&&delete o[u],o}function i(o,u,c){return o.hasOwnProperty(u)&&(o[u]=c),o}function a(o){return o.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}function s(o){return typeof o=="function"}})(wG);var Gy=wG.exports,cDe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(vC,"__esModule",{value:!0});var Xs=cDe(Gy);function ol(t,e){return function(){var r=this.traits(),n=this.properties?this.properties():{};return Xs.default(r,"address."+t)||Xs.default(r,t)||(e?Xs.default(r,"address."+e):null)||(e?Xs.default(r,e):null)||Xs.default(n,"address."+t)||Xs.default(n,t)||(e?Xs.default(n,"address."+e):null)||(e?Xs.default(n,e):null)}}function lDe(t){t.zip=ol("postalCode","zip"),t.country=ol("country"),t.street=ol("street"),t.state=ol("state"),t.city=ol("city"),t.region=ol("region")}vC.default=lDe;var Wy={};Object.defineProperty(Wy,"__esModule",{value:!0});Wy.clone=void 0;function AT(t){if(Object.prototype.toString.call(t)==="[object Object]"){var e={};for(var r in t)e[r]=AT(t[r]);return e}else return Array.isArray(t)?t.map(AT):t}Wy.clone=AT;var bC={};Object.defineProperty(bC,"__esModule",{value:!0});var dDe={Salesforce:!0};function fDe(t){return!dDe[t]}bC.default=fDe;var Yy={},SG=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;Yy.parse=function(t){var e=[1,5,6,7,11,12],r=SG.exec(t),n=0;if(!r)return new Date(t);for(var i=0,a;a=e[i];i++)r[a]=parseInt(r[a],10)||0;r[2]=parseInt(r[2],10)||1,r[3]=parseInt(r[3],10)||1,r[2]--,r[8]=r[8]?(r[8]+"00").substring(0,3):0,r[4]===" "?n=new Date().getTimezoneOffset():r[9]!=="Z"&&r[10]&&(n=r[11]*60+r[12],r[10]==="+"&&(n=0-n));var s=Date.UTC(r[1],r[2],r[3],r[5],r[6]+n,r[7],r[8]);return new Date(s)};Yy.is=function(t,e){return typeof t!="string"||e&&/^\d{4}-\d{2}-\d{2}/.test(t)===!1?!1:SG.test(t)};var yC={},hDe=/\d{13}/;yC.is=function(t){return hDe.test(t)};yC.parse=function(t){return t=parseInt(t,10),new Date(t)};var _C={},pDe=/\d{10}/;_C.is=function(t){return pDe.test(t)};_C.parse=function(t){var e=parseInt(t,10)*1e3;return new Date(e)};var _L=Yy,wL=yC,SL=_C,mDe=Object.prototype,OG=mDe.toString;function gDe(t){return OG.call(t)==="[object Date]"}function vDe(t){return OG.call(t)==="[object Number]"}var wC=function(e){return gDe(e)?e:vDe(e)?new Date(bDe(e)):_L.is(e)?_L.parse(e):wL.is(e)?wL.parse(e):SL.is(e)?SL.parse(e):new Date(e)};function bDe(t){return t<315576e5?t*1e3:t}var OL=Yy,yDe=SC;function SC(t,e){return e===void 0&&(e=!0),t&&typeof t=="object"?_De(t,e):Array.isArray(t)?wDe(t,e):OL.is(t,e)?OL.parse(t):t}function _De(t,e){return Object.keys(t).forEach(function(r){t[r]=SC(t[r],e)}),t}function wDe(t,e){return t.forEach(function(r,n){t[n]=SC(r,e)}),t}var qp=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ga,"__esModule",{value:!0});Ga.Facade=void 0;var SDe=qp(vC),wd=Wy,ODe=qp(bC),TDe=qp(wC),MT=qp(Gy),EDe=qp(yDe);function fi(t,e){e=e||{},this.raw=wd.clone(t),"clone"in e||(e.clone=!0),e.clone&&(t=wd.clone(t)),"traverse"in e||(e.traverse=!0),"timestamp"in t?t.timestamp=TDe.default(t.timestamp):t.timestamp=new Date,e.traverse&&EDe.default(t),this.opts=e,this.obj=t}Ga.Facade=fi;var Vt=fi.prototype;Vt.proxy=function(t){var e=t.split(".");t=e.shift();var r=this[t]||this.field(t);return r&&(typeof r=="function"&&(r=r.call(this)||{}),e.length===0?this.opts.clone?$T(r):r:(r=MT.default(r,e.join(".")),this.opts.clone?$T(r):r))};Vt.field=function(t){var e=this.obj[t];return this.opts.clone?$T(e):e};fi.proxy=function(t){return function(){return this.proxy(t)}};fi.field=function(t){return function(){return this.field(t)}};fi.multi=function(t){return function(){var e=this.proxy(t+"s");if(Array.isArray(e))return e;var r=this.proxy(t);return r&&(r=[this.opts.clone?wd.clone(r):r]),r||[]}};fi.one=function(t){return function(){var e=this.proxy(t);if(e)return e;var r=this.proxy(t+"s");if(Array.isArray(r))return r[0]}};Vt.json=function(){var t=this.opts.clone?wd.clone(this.obj):this.obj;return this.type&&(t.type=this.type()),t};Vt.rawEvent=function(){return this.raw};Vt.options=function(t){var e=this.obj.options||this.obj.context||{},r=this.opts.clone?wd.clone(e):e;if(!t)return r;if(this.enabled(t)){var n=this.integrations(),i=n[t]||MT.default(n,t);return typeof i!="object"&&(i=MT.default(this.options(),t)),typeof i=="object"?i:{}}};Vt.context=Vt.options;Vt.enabled=function(t){var e=this.proxy("options.providers.all");typeof e!="boolean"&&(e=this.proxy("options.all")),typeof e!="boolean"&&(e=this.proxy("integrations.all")),typeof e!="boolean"&&(e=!0);var r=e&&ODe.default(t),n=this.integrations();if(n.providers&&n.providers.hasOwnProperty(t)&&(r=n.providers[t]),n.hasOwnProperty(t)){var i=n[t];typeof i=="boolean"?r=i:r=!0}return!!r};Vt.integrations=function(){return this.obj.integrations||this.proxy("options.providers")||this.options()};Vt.active=function(){var t=this.proxy("options.active");return t==null&&(t=!0),t};Vt.anonymousId=function(){return this.field("anonymousId")||this.field("sessionId")};Vt.sessionId=Vt.anonymousId;Vt.groupId=fi.proxy("options.groupId");Vt.traits=function(t){var e=this.proxy("options.traits")||{},r=this.userId();t=t||{},r&&(e.id=r);for(var n in t){var i=this[n]==null?this.proxy("options.traits."+n):this[n]();i!=null&&(e[t[n]]=i,delete e[n])}return e};Vt.library=function(){var t=this.proxy("options.library");return t?typeof t=="string"?{name:t,version:null}:t:{name:"unknown",version:null}};Vt.device=function(){var t=this.proxy("context.device");(typeof t!="object"||t===null)&&(t={});var e=this.library().name;return t.type||(e.indexOf("ios")>-1&&(t.type="ios"),e.indexOf("android")>-1&&(t.type="android")),t};Vt.userAgent=fi.proxy("context.userAgent");Vt.timezone=fi.proxy("context.timezone");Vt.timestamp=fi.field("timestamp");Vt.channel=fi.field("channel");Vt.ip=fi.proxy("context.ip");Vt.userId=fi.field("userId");SDe.default(Vt);function $T(t){return wd.clone(t)}var Ky={},kT={exports:{}};typeof Object.create=="function"?kT.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:kT.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 Tc=kT.exports,xDe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ky,"__esModule",{value:!0});Ky.Alias=void 0;var PDe=xDe(Tc),TG=Ga;function Wi(t,e){TG.Facade.call(this,t,e)}Ky.Alias=Wi;PDe.default(Wi,TG.Facade);Wi.prototype.action=function(){return"alias"};Wi.prototype.type=Wi.prototype.action;Wi.prototype.previousId=function(){return this.field("previousId")||this.field("from")};Wi.prototype.from=Wi.prototype.previousId;Wi.prototype.userId=function(){return this.field("userId")||this.field("to")};Wi.prototype.to=Wi.prototype.userId;var qy={},Hd={};Object.defineProperty(Hd,"__esModule",{value:!0});var CDe=/.+\@.+\..+/;function ADe(t){return CDe.test(t)}Hd.default=ADe;var OC=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qy,"__esModule",{value:!0});qy.Group=void 0;var MDe=OC(Tc),$De=OC(Hd),kDe=OC(wC),zd=Ga;function TC(t,e){zd.Facade.call(this,t,e)}qy.Group=TC;MDe.default(TC,zd.Facade);var Yi=TC.prototype;Yi.action=function(){return"group"};Yi.type=Yi.action;Yi.groupId=zd.Facade.field("groupId");Yi.created=function(){var t=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(t)return kDe.default(t)};Yi.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.groupId();if($De.default(e))return e};Yi.traits=function(t){var e=this.properties(),r=this.groupId();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,delete e[n])}return e};Yi.name=zd.Facade.proxy("traits.name");Yi.industry=zd.Facade.proxy("traits.industry");Yi.employees=zd.Facade.proxy("traits.employees");Yi.properties=function(){return this.field("traits")||this.field("properties")||{}};var Xp={},Xy=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Xp,"__esModule",{value:!0});Xp.Identify=void 0;var Wa=Ga,Yl=Xy(Gy),DDe=Xy(Tc),IDe=Xy(Hd),EG=Xy(wC),Hu=function(t){return t.trim()};function EC(t,e){Wa.Facade.call(this,t,e)}Xp.Identify=EC;DDe.default(EC,Wa.Facade);var Ut=EC.prototype;Ut.action=function(){return"identify"};Ut.type=Ut.action;Ut.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};Ut.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.userId();if(IDe.default(e))return e};Ut.created=function(){var t=this.proxy("traits.created")||this.proxy("traits.createdAt");if(t)return EG.default(t)};Ut.companyCreated=function(){var t=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(t)return EG.default(t)};Ut.companyName=function(){return this.proxy("traits.company.name")};Ut.name=function(){var t=this.proxy("traits.name");if(typeof t=="string")return Hu(t);var e=this.firstName(),r=this.lastName();if(e&&r)return Hu(e+" "+r)};Ut.firstName=function(){var t=this.proxy("traits.firstName");if(typeof t=="string")return Hu(t);var e=this.proxy("traits.name");if(typeof e=="string")return Hu(e).split(" ")[0]};Ut.lastName=function(){var t=this.proxy("traits.lastName");if(typeof t=="string")return Hu(t);var e=this.proxy("traits.name");if(typeof e=="string"){var r=Hu(e).indexOf(" ");if(r!==-1)return Hu(e.substr(r+1))}};Ut.uid=function(){return this.userId()||this.username()||this.email()};Ut.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")};Ut.age=function(){var t=this.birthday(),e=Yl.default(this.traits(),"age");if(e!=null)return e;if(t instanceof Date){var r=new Date;return r.getFullYear()-t.getFullYear()}};Ut.avatar=function(){var t=this.traits();return Yl.default(t,"avatar")||Yl.default(t,"photoUrl")||Yl.default(t,"avatarUrl")};Ut.position=function(){var t=this.traits();return Yl.default(t,"position")||Yl.default(t,"jobTitle")};Ut.username=Wa.Facade.proxy("traits.username");Ut.website=Wa.Facade.one("traits.website");Ut.websites=Wa.Facade.multi("traits.website");Ut.phone=Wa.Facade.one("traits.phone");Ut.phones=Wa.Facade.multi("traits.phone");Ut.address=Wa.Facade.proxy("traits.address");Ut.gender=Wa.Facade.proxy("traits.gender");Ut.birthday=Wa.Facade.proxy("traits.birthday");var Vd={},xC=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Vd,"__esModule",{value:!0});Vd.Track=void 0;var RDe=xC(Tc),jr=Ga,LDe=Xp,NDe=xC(Hd),xG=xC(Gy);function PC(t,e){jr.Facade.call(this,t,e)}Vd.Track=PC;RDe.default(PC,jr.Facade);var Be=PC.prototype;Be.action=function(){return"track"};Be.type=Be.action;Be.event=jr.Facade.field("event");Be.value=jr.Facade.proxy("properties.value");Be.category=jr.Facade.proxy("properties.category");Be.id=jr.Facade.proxy("properties.id");Be.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")};Be.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")};Be.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")};Be.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")};Be.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")};Be.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")};Be.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")};Be.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")};Be.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")};Be.sku=jr.Facade.proxy("properties.sku");Be.tax=jr.Facade.proxy("properties.tax");Be.name=jr.Facade.proxy("properties.name");Be.price=jr.Facade.proxy("properties.price");Be.total=jr.Facade.proxy("properties.total");Be.repeat=jr.Facade.proxy("properties.repeat");Be.coupon=jr.Facade.proxy("properties.coupon");Be.shipping=jr.Facade.proxy("properties.shipping");Be.discount=jr.Facade.proxy("properties.discount");Be.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")};Be.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")};Be.description=jr.Facade.proxy("properties.description");Be.plan=jr.Facade.proxy("properties.plan");Be.subtotal=function(){var t=xG.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};Be.products=function(){var t=this.properties(),e=xG.default(t,"products");return Array.isArray(e)?e.filter(function(r){return r!==null}):[]};Be.quantity=function(){var t=this.obj.properties||{};return t.quantity||1};Be.currency=function(){var t=this.obj.properties||{};return t.currency||"USD"};Be.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};Be.query=jr.Facade.proxy("options.query");Be.properties=function(t){var e=this.field("properties")||{};t=t||{};for(var r in t){var n=this[r]==null?this.proxy("properties."+r):this[r]();n!=null&&(e[t[r]]=n,delete e[r])}return e};Be.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()};Be.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(NDe.default(e))return e};Be.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")),BDe(t)};Be.cents=function(){var t=this.revenue();return typeof t!="number"?this.value()||0:t*100};Be.identify=function(){var t=this.json();return t.traits=this.traits(),new LDe.Identify(t,this.opts)};function BDe(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 Jp={},PG=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Jp,"__esModule",{value:!0});Jp.Page=void 0;var FDe=PG(Tc),Ec=Ga,jDe=Vd,HDe=PG(Hd);function CC(t,e){Ec.Facade.call(this,t,e)}Jp.Page=CC;FDe.default(CC,Ec.Facade);var Nn=CC.prototype;Nn.action=function(){return"page"};Nn.type=Nn.action;Nn.category=Ec.Facade.field("category");Nn.name=Ec.Facade.field("name");Nn.title=Ec.Facade.proxy("properties.title");Nn.path=Ec.Facade.proxy("properties.path");Nn.url=Ec.Facade.proxy("properties.url");Nn.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};Nn.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){var a=this[i]==null?this.proxy("properties."+i):this[i]();a!=null&&(e[t[i]]=a,i!==t[i]&&delete e[i])}return e};Nn.email=function(){var t=this.proxy("context.traits.email")||this.proxy("properties.email");if(t)return t;var e=this.userId();if(HDe.default(e))return e};Nn.fullName=function(){var t=this.category(),e=this.name();return e&&t?t+" "+e:e};Nn.event=function(t){return t?"Viewed "+t+" Page":"Loaded a Page"};Nn.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new jDe.Track(e,this.opts)};var Jy={},zDe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Jy,"__esModule",{value:!0});Jy.Screen=void 0;var VDe=zDe(Tc),CG=Jp,UDe=Vd;function lc(t,e){CG.Page.call(this,t,e)}Jy.Screen=lc;VDe.default(lc,CG.Page);lc.prototype.action=function(){return"screen"};lc.prototype.type=lc.prototype.action;lc.prototype.event=function(t){return t?"Viewed "+t+" Screen":"Loaded a Screen"};lc.prototype.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new UDe.Track(e,this.opts)};var Zy={},GDe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Zy,"__esModule",{value:!0});Zy.Delete=void 0;var WDe=GDe(Tc),AG=Ga;function AC(t,e){AG.Facade.call(this,t,e)}Zy.Delete=AC;WDe.default(AC,AG.Facade);AC.prototype.type=function(){return"delete"};(function(t){var e=Oe&&Oe.__assign||function(){return e=Object.assign||function(l){for(var d,f=1,p=arguments.length;f<p;f++){d=arguments[f];for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&(l[m]=d[m])}return l},e.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Delete=t.Screen=t.Page=t.Track=t.Identify=t.Group=t.Alias=t.Facade=void 0;var r=Ga;Object.defineProperty(t,"Facade",{enumerable:!0,get:function(){return r.Facade}});var n=Ky;Object.defineProperty(t,"Alias",{enumerable:!0,get:function(){return n.Alias}});var i=qy;Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return i.Group}});var a=Xp;Object.defineProperty(t,"Identify",{enumerable:!0,get:function(){return a.Identify}});var s=Vd;Object.defineProperty(t,"Track",{enumerable:!0,get:function(){return s.Track}});var o=Jp;Object.defineProperty(t,"Page",{enumerable:!0,get:function(){return o.Page}});var u=Jy;Object.defineProperty(t,"Screen",{enumerable:!0,get:function(){return u.Screen}});var c=Zy;Object.defineProperty(t,"Delete",{enumerable:!0,get:function(){return c.Delete}}),t.default=e(e({},r.Facade),{Alias:n.Alias,Group:i.Group,Identify:a.Identify,Track:s.Track,Page:o.Page,Screen:u.Screen,Delete:c.Delete})})(Xn);function db(t,e){var r=new Xn.Facade(t,e);return t.type==="track"&&(r=new Xn.Track(t,e)),t.type==="identify"&&(r=new Xn.Identify(t,e)),t.type==="page"&&(r=new Xn.Page(t,e)),t.type==="alias"&&(r=new Xn.Alias(t,e)),t.type==="group"&&(r=new Xn.Group(t,e)),t.type==="screen"&&(r=new Xn.Screen(t,e)),Object.defineProperty(r,"obj",{value:t,writable:!0}),r}function MC(t,e,r){return ue(this,void 0,void 0,function(){function n(c,l){return ue(this,void 0,void 0,function(){var d,f,p;return ce(this,function(m){switch(m.label){case 0:return d=!1,f=null,[4,l({payload:db(c,{clone:!0,traverse:!1}),integration:t,next:function(b){d=!0,b===null&&(f=null),b&&(f=b.obj)}})];case 1:return m.sent(),!d&&f!==null&&(f=f,f.integrations=ne(ne({},c.integrations),(p={},p[t]=!1,p))),[2,f]}})})}var i,a,s,o,u;return ce(this,function(c){switch(c.label){case 0:i=db(e,{clone:!0,traverse:!1}).rawEvent(),a=0,s=r,c.label=1;case 1:return a<s.length?(o=s[a],[4,n(i,o)]):[3,4];case 2:if(u=c.sent(),u===null)return[2,null];i=u,c.label=3;case 3:return a++,[3,1];case 4:return[2,i]}})})}function YDe(t,e){function r(n){return ue(this,void 0,void 0,function(){var i;return ce(this,function(a){switch(a.label){case 0:return i=!1,[4,t({payload:db(n.event,{clone:!0,traverse:!1}),integrations:e??{},next:function(s){i=!0,s&&(n.event=s.obj)}})];case 1:if(a.sent(),!i)throw new jo({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,n]}})})}return{name:"Source Middleware ".concat(t.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(n){return Promise.resolve(n)},track:r,page:r,identify:r,alias:r,group:r}}const KDe=Object.freeze(Object.defineProperty({__proto__:null,applyDestinationMiddleware:MC,sourceMiddlewarePlugin:YDe},Symbol.toStringTag,{value:"Module"}));var qDe=function(){function t(e,r){this.version="1.0.0",this.alternativeNames=[],this.middleware=[],this.alias=this._createMethod("alias"),this.group=this._createMethod("group"),this.identify=this._createMethod("identify"),this.page=this._createMethod("page"),this.screen=this._createMethod("screen"),this.track=this._createMethod("track"),this.action=r,this.name=e,this.type=r.type,this.alternativeNames.push(r.name)}return t.prototype.addMiddleware=function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];this.type==="destination"&&(e=this.middleware).push.apply(e,r)},t.prototype.transform=function(e){return ue(this,void 0,void 0,function(){var r;return ce(this,function(n){switch(n.label){case 0:return[4,MC(this.name,e.event,this.middleware)];case 1:return r=n.sent(),r===null&&e.cancel(new jo({retry:!1,reason:"dropped by destination middleware"})),[2,new Fu(r)]}})})},t.prototype._createMethod=function(e){var r=this;return function(n){return ue(r,void 0,void 0,function(){var i;return ce(this,function(a){switch(a.label){case 0:return this.action[e]?(i=n,this.type!=="destination"?[3,2]:[4,this.transform(n)]):[2,n];case 1:i=a.sent(),a.label=2;case 2:return[4,this.action[e](i)];case 3:return a.sent(),[2,n]}})})}},t.prototype.isLoaded=function(){return this.action.isLoaded()},t.prototype.ready=function(){return this.action.ready?this.action.ready():Promise.resolve()},t.prototype.load=function(e,r){return this.action.load(e,r)},t.prototype.unload=function(e,r){var n,i;return(i=(n=this.action).unload)===null||i===void 0?void 0:i.call(n,e,r)},t}();function XDe(t){if(!Array.isArray(t))throw new Error("Not a valid list of plugins");var e=["load","isLoaded","name","version","type"];return t.forEach(function(r){e.forEach(function(n){var i;if(r[n]===void 0)throw new Error("Plugin: ".concat((i=r.name)!==null&&i!==void 0?i:"unknown"," missing required function ").concat(n))})}),!0}function JDe(t,e){var r=t[e.creationName],n=t[e.name];return t.All===!1&&!r&&!n||r===!1||n===!1}function ZDe(t,e){return ue(this,void 0,void 0,function(){var r,n,i,a,s;return ce(this,function(o){switch(o.label){case 0:if(r=new RegExp("https://cdn.segment.(com|build)"),n=mC(),!e)return[3,6];i=t.url.split("/"),a=i[i.length-2],s=t.url.replace(a,btoa(a).replace(/=/g,"")),o.label=1;case 1:return o.trys.push([1,3,,5]),[4,Wl(s.replace(r,n))];case 2:return o.sent(),[3,5];case 3:return o.sent(),[4,Wl(t.url.replace(r,n))];case 4:return o.sent(),[3,5];case 5:return[3,8];case 6:return[4,Wl(t.url.replace(r,n))];case 7:o.sent(),o.label=8;case 8:return typeof window[t.libraryName]=="function"?[2,window[t.libraryName]]:[2]}})})}function QDe(t,e,r,n,i,a){var s,o,u;return ue(this,void 0,void 0,function(){var c,l,d,f=this;return ce(this,function(p){switch(p.label){case 0:return c=[],l=(o=(s=t.middlewareSettings)===null||s===void 0?void 0:s.routingRules)!==null&&o!==void 0?o:[],d=((u=t.remotePlugins)!==null&&u!==void 0?u:[]).map(function(m){return ue(f,void 0,void 0,function(){var b,_,S,x,O,h;return ce(this,function(v){switch(v.label){case 0:if(JDe(e,m))return[2];v.label=1;case 1:return v.trys.push([1,6,,7]),_=a==null?void 0:a.find(function(g){var T=g.pluginName;return T===m.name}),_?[3,3]:[4,ZDe(m,n)];case 2:_=v.sent(),v.label=3;case 3:return b=_,b?[4,b(ne(ne({},m.settings),r[m.name]))]:[3,5];case 4:S=v.sent(),x=Array.isArray(S)?S:[S],XDe(x),O=l.filter(function(g){return g.destinationName===m.creationName}),x.forEach(function(g){var T=new qDe(m.creationName,g);O.length&&i&&g.type==="destination"&&T.addMiddleware(i),c.push(T)}),v.label=5;case 5:return[3,7];case 6:return h=v.sent(),console.warn("Failed to load Remote Plugin",h),[3,7];case 7:return[2]}})})}),[4,Promise.all(d)];case 1:return p.sent(),[2,c.filter(Boolean)]}})})}var eIe=function(t){var e=!1;window.addEventListener("pagehide",function(){e||(e=!0,t(e))}),document.addEventListener("visibilitychange",function(){if(document.visibilityState=="hidden"){if(e)return;e=!0}else e=!1;t(e)})},tIe=500;function MG(t){var e=encodeURI(JSON.stringify(t)).split(/%..|./).length-1;return e/1024}function rIe(t){return MG(t)>=tIe-50}function nIe(t){var e=[],r=0;return t.forEach(function(n){var i=MG(e[r]);i>=64&&r++,e[r]?e[r].push(n):e[r]=[n]}),e}function iIe(t,e){var r,n,i=[],a=!1,s=(r=e==null?void 0:e.size)!==null&&r!==void 0?r:10,o=(n=e==null?void 0:e.timeout)!==null&&n!==void 0?n:5e3;function u(p){var m;if(p.length!==0){var b=(m=p[0])===null||m===void 0?void 0:m.writeKey,_=p.map(function(S){var x=S;x.sentAt;var O=Z7(x,["sentAt"]);return O});return Vy("https://".concat(t,"/b"),{keepalive:a,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({writeKey:b,batch:_,sentAt:new Date().toISOString()})})}}function c(){return ue(this,void 0,void 0,function(){var p;return ce(this,function(m){return i.length?(p=i,i=[],[2,u(p)]):[2]})})}var l;function d(){l||(l=setTimeout(function(){l=void 0,c().catch(console.error)},o))}eIe(function(p){if(a=p,a&&i.length){var m=nIe(i).map(u);Promise.all(m).catch(console.error)}});function f(p,m){return ue(this,void 0,void 0,function(){var b;return ce(this,function(_){return i.push(m),b=i.length>=s||rIe(i),[2,b||a?c():d()]})})}return{dispatch:f}}function aIe(t){function e(r,n){return Vy(r,{keepalive:t==null?void 0:t.keepalive,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(n)})}return{dispatch:e}}function sIe(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 s=t.queue.failedInitializations||[];s.length>0&&(e._metadata={failedInitializations:s});var o=[],u=[];for(var c in n){var l=n[c];c==="Segment.io"&&o.push(c),l.bundlingStatus==="bundled"&&o.push(c),l.bundlingStatus==="unbundled"&&u.push(c)}for(var d=0,f=(r==null?void 0:r.unbundledIntegrations)||[];d<f.length;d++){var p=f[d];u.includes(p)||u.push(p)}var m=(i=r==null?void 0:r.maybeBundledConfigIds)!==null&&i!==void 0?i:{},b=[];return o.sort().forEach(function(_){var S;((S=m[_])!==null&&S!==void 0?S:[]).forEach(function(x){b.push(x)})}),(r==null?void 0:r.addBundledMetadata)!==!1&&(e._metadata=ne(ne({},e._metadata),{bundled:o.sort(),unbundled:u.sort(),bundledIds:b})),e}var $G=function(t,e){return ue(void 0,void 0,void 0,function(){var r;return ce(this,function(n){return r=function(i){return ue(void 0,void 0,void 0,function(){var a;return ce(this,function(s){switch(s.label){case 0:return t(i)?(a=r,[4,e()]):[3,2];case 1:return[2,a.apply(void 0,[s.sent()])];case 2:return[2]}})})},[2,r(void 0)]})})};function oIe(t,e){return ue(this,void 0,void 0,function(){var r,n=this;return ce(this,function(i){switch(i.label){case 0:return r=[],cc()?[2,e]:[4,$G(function(){return e.length>0&&!cc()},function(){return ue(n,void 0,void 0,function(){var a,s,o;return ce(this,function(u){switch(u.label){case 0:return a=e.pop(),a?[4,Gl(a,t)]:[2];case 1:return s=u.sent(),o=s instanceof Fu,o||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return e.pushWithBackoff(a)}),[2,e]}})})}function ul(t,e,r,n){var i=this;t||setTimeout(function(){return ue(i,void 0,void 0,function(){var a,s;return ce(this,function(o){switch(o.label){case 0:return a=!0,[4,oIe(r,e)];case 1:return s=o.sent(),a=!1,e.todo>0&&n(a,s,r,n),[2]}})})},Math.random()*5e3)}function uIe(t){return ue(this,void 0,void 0,function(){var e;return ce(this,function(r){return e=navigator.userAgentData,e?t?[2,e.getHighEntropyValues(t).catch(function(){return e.toJSON()})]:[2,e.toJSON()]:[2,void 0]})})}function cIe(t,e){var r,n,i,a,s=t.user();return e.previousId=(i=(n=(r=e.previousId)!==null&&r!==void 0?r:e.from)!==null&&n!==void 0?n:s.id())!==null&&i!==void 0?i:s.anonymousId(),e.userId=(a=e.userId)!==null&&a!==void 0?a:e.to,delete e.from,delete e.to,e}function lIe(t,e,r){var n,i,a;return ue(this,void 0,void 0,function(){function s(x){return ue(this,void 0,void 0,function(){var O,h;return ce(this,function(v){return cc()?(u.push(x),ul(l,u,S,ul),[2,x]):(c.add(x),O=x.event.type.charAt(0),_&&x.event.context&&(x.event.context.userAgentData=_),h=db(x.event).json(),x.event.type==="track"&&delete h.traits,x.event.type==="alias"&&(h=cIe(t,h)),[2,b.dispatch("".concat(p,"/").concat(O),sIe(t,h,e,r)).then(function(){return x}).catch(function(){return u.pushWithBackoff(x),ul(l,u,S,ul),x}).finally(function(){c.delete(x)})])})})}var o,u,c,l,d,f,p,m,b,_,S;return ce(this,function(x){switch(x.label){case 0:window.addEventListener("pagehide",function(){u.push.apply(u,Array.from(c)),c.clear()}),o=(n=e==null?void 0:e.apiKey)!==null&&n!==void 0?n:"",u=t.options.disableClientPersistence?new zy(t.queue.queue.maxAttempts,[]):new Uy(t.queue.queue.maxAttempts,"".concat(o,":dest-Segment.io")),c=new Set,l=!1,d=(i=e==null?void 0:e.apiHost)!==null&&i!==void 0?i:sG,f=(a=e==null?void 0:e.protocol)!==null&&a!==void 0?a:"https",p="".concat(f,"://").concat(d),m=e==null?void 0:e.deliveryStrategy,b=(m==null?void 0:m.strategy)==="batching"?iIe(d,m.config):aIe(m==null?void 0:m.config),x.label=1;case 1:return x.trys.push([1,3,,4]),[4,uIe(t.options.highEntropyValuesClientHints)];case 2:return _=x.sent(),[3,4];case 3:return x.sent(),_=void 0,[3,4];case 4:return S={name:"Segment.io",type:"after",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:s,identify:s,page:s,alias:s,group:s,screen:s},u.todo&&ul(l,u,S,ul),[2,S]}})})}function cl(t){var e,r=t.event;ake(r),ske(r),r.type==="track"&&oke(r);var n=(e=r.properties)!==null&&e!==void 0?e:r.traits;if(r.type!=="alias"&&!ai(n))throw new uc(".properties","is not an object");return ike(r),t}var dIe={name:"Event Validation",type:"before",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:cl,identify:cl,page:cl,alias:cl,group:cl,screen:cl},fIe=function(t){return typeof t=="object"&&t!==null&&"then"in t&&typeof t.then=="function"},kG=function(t,e,r){r.getCalls(t).forEach(function(n){$C(e,n).catch(console.error)})},hIe=function(t,e){return ue(void 0,void 0,void 0,function(){var r,n,i;return ce(this,function(a){switch(a.label){case 0:r=0,n=e.getCalls("addSourceMiddleware"),a.label=1;case 1:return r<n.length?(i=n[r],[4,$C(t,i).catch(console.error)]):[3,4];case 2:a.sent(),a.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},pIe=kG.bind(globalThis,"on"),mIe=kG.bind(globalThis,"setAnonymousId"),gIe=function(t,e){e.toArray().forEach(function(r){setTimeout(function(){$C(t,r).catch(console.error)},0)})},vIe=function(){function t(){this._value={}}return t.prototype.toArray=function(){var e;return(e=[]).concat.apply(e,Object.values(this._value))},t.prototype.getCalls=function(e){var r;return(r=this._value[e])!==null&&r!==void 0?r:[]},t.prototype.push=function(){for(var e=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.forEach(function(i){e._value[i.method]?e._value[i.method].push(i):e._value[i.method]=[i]}),this},t.prototype.clear=function(){return this._value={},this},t}();function $C(t,e){return ue(this,void 0,void 0,function(){var r,n;return ce(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),e.called?[2,void 0]:(e.called=!0,r=t[e.method].apply(t,e.args),fIe(r)?[4,r]:[3,2]);case 1:i.sent(),i.label=2;case 2:return e.resolve(r),[3,4];case 3:return n=i.sent(),e.reject(n),[3,4];case 4:return[2]}})})}var bIe=function(){function t(e){var r=this;this._preInitBuffer=new vIe,this.trackSubmit=this._createMethod("trackSubmit"),this.trackClick=this._createMethod("trackClick"),this.trackLink=this._createMethod("trackLink"),this.pageView=this._createMethod("pageview"),this.identify=this._createMethod("identify"),this.reset=this._createMethod("reset"),this.group=this._createMethod("group"),this.track=this._createMethod("track"),this.ready=this._createMethod("ready"),this.alias=this._createMethod("alias"),this.debug=this._createChainableMethod("debug"),this.page=this._createMethod("page"),this.once=this._createChainableMethod("once"),this.off=this._createChainableMethod("off"),this.on=this._createChainableMethod("on"),this.addSourceMiddleware=this._createMethod("addSourceMiddleware"),this.setAnonymousId=this._createMethod("setAnonymousId"),this.addDestinationMiddleware=this._createMethod("addDestinationMiddleware"),this.screen=this._createMethod("screen"),this.register=this._createMethod("register"),this.deregister=this._createMethod("deregister"),this.user=this._createMethod("user"),this.VERSION=mp,this._promise=e(this._preInitBuffer),this._promise.then(function(n){var i=n[0],a=n[1];r.instance=i,r.ctx=a}).catch(function(){})}return t.prototype.then=function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return(e=this._promise).then.apply(e,r)},t.prototype.catch=function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return(e=this._promise).catch.apply(e,r)},t.prototype.finally=function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return(e=this._promise).finally.apply(e,r)},t.prototype._createMethod=function(e){var r=this;return function(){for(var n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r.instance){var s=(n=r.instance)[e].apply(n,i);return Promise.resolve(s)}return new Promise(function(o,u){r._preInitBuffer.push({method:e,args:i,resolve:o,reject:u,called:!1})})}},t.prototype._createChainableMethod=function(e){var r=this;return function(){for(var n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return r.instance?((n=r.instance)[e].apply(n,i),r):(r._preInitBuffer.push({method:e,args:i,resolve:function(){},reject:console.error,called:!1}),r)}},t}();function yIe(t){var e=t[0],r=t.slice(1);return{method:e,resolve:function(){},reject:console.error,args:r,called:!1}}var _Ie=function(t){return t.map(yIe)},DT=function(t){t===void 0&&(t=pC());var e=t;if(!Array.isArray(e))return[];var r=e.splice(0,e.length);return _Ie(r)},z1,TL,wIe=lC(),EL=(z1=(TL=wIe).__SEGMENT_INSPECTOR__)!==null&&z1!==void 0?z1:TL.__SEGMENT_INSPECTOR__={},SIe=function(t){var e;return(e=EL.attach)===null||e===void 0?void 0:e.call(EL,t)};function OIe(t,e){var r=e??mC();return Vy("".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 TIe(t){return gG().NODE_ENV!=="test"&&Object.keys(t.integrations).length>1}function EIe(t){var e,r,n;return gG().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 xIe(t,e){e.push.apply(e,DT()),mIe(t,e),pIe(t,e)}function PIe(t,e){return ue(this,void 0,void 0,function(){return ce(this,function(r){switch(r.label){case 0:return e.push.apply(e,DT()),[4,hIe(t,e)];case 1:return r.sent(),e.push.apply(e,DT()),gIe(t,e),e.clear(),[2]}})})}function CIe(t,e,r,n,i,a,s){var o,u,c;return a===void 0&&(a=[]),ue(this,void 0,void 0,function(){var l,d,f,p,m,b,_,S,x,O,h,v,g,T,P,k=this;return ce(this,function(w){switch(w.label){case 0:return l=a==null?void 0:a.filter(function(A){return typeof A=="object"}),d=a==null?void 0:a.filter(function(A){return typeof A=="function"&&typeof A.pluginName=="string"}),EIe(e)?[4,wi(()=>Promise.resolve().then(()=>iNe),void 0,import.meta.url).then(function(A){return A.tsubMiddleware(e.middlewareSettings.routingRules)})]:[3,2];case 1:return p=w.sent(),[3,3];case 2:p=void 0,w.label=3;case 3:return f=p,TIe(e)||s.length>0?[4,wi(()=>Promise.resolve().then(()=>mNe),void 0,import.meta.url).then(function(A){return A.ajsDestinations(t,e,r.integrations,n,f,s)})]:[3,5];case 4:return b=w.sent(),[3,6];case 5:b=[],w.label=6;case 6:return m=b,e.legacyVideoPluginsEnabled?[4,wi(()=>Promise.resolve().then(()=>vNe),void 0,import.meta.url).then(function(A){return A.loadLegacyVideoPlugins(r)})]:[3,8];case 7:w.sent(),w.label=8;case 8:return!((o=n.plan)===null||o===void 0)&&o.track?[4,wi(()=>Promise.resolve().then(()=>_Ne),void 0,import.meta.url).then(function(A){var C;return A.schemaFilter((C=n.plan)===null||C===void 0?void 0:C.track,e)})]:[3,10];case 9:return S=w.sent(),[3,11];case 10:S=void 0,w.label=11;case 11:return _=S,x=vG(e,i),[4,QDe(e,r.integrations,x,i.obfuscate,f,d).catch(function(){return[]})];case 12:return O=w.sent(),h=Or(Or(Or([dIe,oDe],l,!0),m,!0),O,!0),_&&h.push(_),v=((u=n.integrations)===null||u===void 0?void 0:u.All)===!1&&!n.integrations["Segment.io"]||n.integrations&&n.integrations["Segment.io"]===!1,v?[3,14]:(T=(g=h).push,[4,lIe(r,x["Segment.io"],e.integrations)]);case 13:T.apply(g,[w.sent()]),w.label=14;case 14:return[4,r.register.apply(r,h)];case 15:return P=w.sent(),Object.entries((c=e.enabledMiddleware)!==null&&c!==void 0?c:{}).some(function(A){var C=A[1];return C})?[4,wi(()=>Promise.resolve().then(()=>SNe),void 0,import.meta.url).then(function(A){var C=A.remoteMiddlewares;return ue(k,void 0,void 0,function(){var E,$;return ce(this,function(D){switch(D.label){case 0:return[4,C(P,e,i.obfuscate)];case 1:return E=D.sent(),$=E.map(function(M){return r.addSourceMiddleware(M)}),[2,Promise.all($)]}})})})]:[3,17];case 16:w.sent(),w.label=17;case 17:return[2,P]}})})}function AIe(t,e,r){var n,i,a,s,o,u,c;return e===void 0&&(e={}),ue(this,void 0,void 0,function(){var l,d,f,p,m,b,_,S,x,O,h;return ce(this,function(v){switch(v.label){case 0:return e.globalAnalyticsKey&&zke(e.globalAnalyticsKey),t.cdnURL&&qke(t.cdnURL),(n=t.cdnSettings)!==null&&n!==void 0?(d=n,[3,3]):[3,1];case 1:return[4,OIe(t.writeKey,t.cdnURL)];case 2:d=v.sent(),v.label=3;case 3:return l=d,e.updateCDNSettings&&(l=e.updateCDNSettings(l)),f=(a=(i=l.integrations["Segment.io"])===null||i===void 0?void 0:i.retryQueue)!==null&&a!==void 0?a:!0,p=ne({retryQueue:f},e),m=new Gke(t,p),SIe(m),b=(s=t.plugins)!==null&&s!==void 0?s:[],_=(o=t.classicIntegrations)!==null&&o!==void 0?o:[],oG.initRemoteMetrics(l.metrics),xIe(m,r),[4,CIe(t.writeKey,l,m,p,e,b,_)];case 4:return S=v.sent(),x=(u=window.location.search)!==null&&u!==void 0?u:"",O=(c=window.location.hash)!==null&&c!==void 0?c:"",h=x.length?x:O.replace(/(?=#).*(?=\?)/,""),h.includes("ajs_")?[4,m.queryString(h).catch(console.error)]:[3,6];case 5:v.sent(),v.label=6;case 6:return m.initialized=!0,m.emit("initialize",t,e),e.initialPageview&&m.page().catch(console.error),[4,PIe(m,r)];case 7:return v.sent(),[2,[m,S]]}})})}var qNe=function(t){sa(e,t);function e(){var r=this,n=Xke(),i=n.promise,a=n.resolve;return r=t.call(this,function(s){return i.then(function(o){var u=o[0],c=o[1];return AIe(u,c,s)})})||this,r._resolveLoadStart=function(s,o){return a([s,o])},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}(bIe);function MIe(t){var e=t;return!!(e.ctrlKey||e.shiftKey||e.metaKey||e.button&&e.button==1)}function $Ie(t,e){return!!(t.target==="_blank"&&e)}function kIe(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(s){s.addEventListener("click",function(o){var u,c,l=e instanceof Function?e(s):e,d=r instanceof Function?r(s):r,f=s.getAttribute("href")||s.getAttributeNS("http://www.w3.org/1999/xlink","href")||s.getAttribute("xlink:href")||((u=s.getElementsByTagName("a")[0])===null||u===void 0?void 0:u.getAttribute("href")),p=oC(i.track(l,d,n??{}),(c=i.settings.timeout)!==null&&c!==void 0?c:500);!$Ie(s,f)&&!MIe(o)&&f&&(o.preventDefault?o.preventDefault():o.returnValue=!1,p.catch(console.error).then(function(){window.location.href=f}).catch(console.error))},!1)}),this):this}function DIe(t,e,r,n){var i=this;if(!t)return this;t instanceof HTMLFormElement&&(t=[t]);var a=t;return a.forEach(function(s){if(!(s instanceof Element))throw new TypeError("Must pass HTMLElement to trackForm/trackSubmit.");var o=function(c){var l;c.preventDefault?c.preventDefault():c.returnValue=!1;var d=e instanceof Function?e(s):e,f=r instanceof Function?r(s):r,p=oC(i.track(d,f,n??{}),(l=i.settings.timeout)!==null&&l!==void 0?l:500);p.catch(console.error).then(function(){s.submit()}).catch(console.error)},u=window.jQuery||window.Zepto;u?u(s).submit(o):s.addEventListener("submit",o,!1)}),this}const Eg=Object.freeze(Object.defineProperty({__proto__:null,form:DIe,link:kIe},Symbol.toStringTag,{value:"Module"}));function xL(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 IIe(t,e){var r=document.createElement("a");r.href=e;var n=r.search.slice(1),i=n.split("&").reduce(function(O,h){var v=h.split("="),g=v[0],T=v[1];return O[g]=bG(T),O},{}),a=[],s=i.ajs_uid,o=i.ajs_event,u=i.ajs_aid,c=ai(t.options.useQueryString)?t.options.useQueryString:{},l=c.aid,d=l===void 0?/.+/:l,f=c.uid,p=f===void 0?/.+/:f;if(u){var m=Array.isArray(i.ajs_aid)?i.ajs_aid[0]:i.ajs_aid;d.test(m)&&t.setAnonymousId(m)}if(s){var b=Array.isArray(i.ajs_uid)?i.ajs_uid[0]:i.ajs_uid;if(p.test(b)){var _=xL("ajs_trait_",i);a.push(t.identify(b,_))}}if(o){var S=Array.isArray(i.ajs_event)?i.ajs_event[0]:i.ajs_event,x=xL("ajs_prop_",i);a.push(t.track(S,x))}return Promise.all(a)}const RIe=Object.freeze(Object.defineProperty({__proto__:null,queryString:IIe},Symbol.toStringTag,{value:"Module"}));var Ev={},kC={};for(var DG=[],Mu=0;Mu<64;)DG[Mu]=0|4294967296*Math.sin(++Mu%Math.PI);function LIe(t){var e,r,n,i=[e=1732584193,r=4023233417,~e,~r],a=[],s=unescape(encodeURI(t))+"€",o=s.length;for(t=--o/4+2|15,a[--t]=8*o;~o;)a[o>>2]|=s.charCodeAt(o)<<8*o--;for(Mu=s=0;Mu<t;Mu+=16){for(o=i;s<64;o=[n=o[3],e+((n=o[0]+[e&r|~e&n,n&e|~n&r,e^r^n,r^(e|~n)][o=s>>4]+DG[s]+~~a[Mu|15&[s,5*s+1,3*s+5,7*s][o]])<<(o=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*o+s++%4])|n>>>-o),e,r])e=0|o[1],r=o[2];for(s=4;s;)i[--s]+=o[s]}for(t="";s<32;)t+=(i[s>>3]>>4*(1^s++)&15).toString(16);return t}const NIe=Object.freeze(Object.defineProperty({__proto__:null,default:LIe},Symbol.toStringTag,{value:"Module"})),BIe=rle(NIe);var IG={exports:{}};(function(t,e){(function(r,n){t.exports=function(i,a,s,o,u){for(a=a.split?a.split("."):a,o=0;o<a.length;o++)i=i?i[a[o]]:u;return i===u?s:i}})()})(IG);var DC=IG.exports;/**
* @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 FIe=Number.POSITIVE_INFINITY,jIe=FIe;/**
* @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 HIe=Number;/**
* @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 zIe=HIe,RG=zIe;/**
* @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 VIe=RG,UIe=VIe.NEGATIVE_INFINITY,GIe=UIe;/**
* @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 WIe=1023,YIe=WIe;/**
* @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 KIe=1023,qIe=KIe;/**
* @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 XIe=-1023,JIe=XIe;/**
* @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 ZIe=-1074,QIe=ZIe;/**
* @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.
*/function e2e(t){return t!==t}var t2e=e2e;/**
* @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 r2e=t2e,LG=r2e;/**
* @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 n2e=Number.POSITIVE_INFINITY,i2e=n2e;/**
* @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 a2e=RG,s2e=a2e.NEGATIVE_INFINITY,o2e=s2e;/**
* @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 u2e=i2e,c2e=o2e;function l2e(t){return t===u2e||t===c2e}var d2e=l2e;/**
* @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 f2e=d2e,NG=f2e;/**
* @license Apache-2.0
*
* Copyright (c) 2022 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 h2e=2147483648,p2e=h2e;/**
* @license Apache-2.0
*
* Copyright (c) 2022 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 m2e=2147483647,g2e=m2e;/**
* @license Apache-2.0
*
* Copyright (c) 2021 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 v2e=typeof Object.defineProperty=="function"?Object.defineProperty:null,b2e=v2e;/**
* @license Apache-2.0
*
* Copyright (c) 2021 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 y2e=b2e;function _2e(){try{return y2e({},"x",{}),!0}catch{return!1}}var w2e=_2e;/**
* @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 S2e=Object.defineProperty,O2e=S2e;/**
* @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 Ud=Object.prototype,PL=Ud.toString,CL=Ud.__defineGetter__,AL=Ud.__defineSetter__,T2e=Ud.__lookupGetter__,E2e=Ud.__lookupSetter__;function x2e(t,e,r){var n,i,a,s;if(typeof t!="object"||t===null||PL.call(t)==="[object Array]")throw new TypeError("invalid argument. First argument must be an object. Value: `"+t+"`.");if(typeof r!="object"||r===null||PL.call(r)==="[object Array]")throw new TypeError("invalid argument. Property descriptor must be an object. Value: `"+r+"`.");if(i="value"in r,i&&(T2e.call(t,e)||E2e.call(t,e)?(n=t.__proto__,t.__proto__=Ud,delete t[e],t[e]=r.value,t.__proto__=n):t[e]=r.value),a="get"in r,s="set"in r,i&&(a||s))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return a&&CL&&CL.call(t,e,r.get),s&&AL&&AL.call(t,e,r.set),t}var P2e=x2e;/**
* @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 C2e=w2e,A2e=O2e,M2e=P2e,IT;C2e()?IT=A2e:IT=M2e;var $2e=IT;/**
* @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 k2e=$2e;function D2e(t,e,r){k2e(t,e,{configurable:!1,enumerable:!1,writable:!1,value:r})}var I2e=D2e;/**
* @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 R2e=I2e,BG=R2e;/**
* @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.
*/function L2e(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}var N2e=L2e;/**
* @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 B2e=N2e,F2e=B2e;/**
* @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 j2e=F2e,H2e=j2e();function z2e(){return H2e&&typeof Symbol.toStringTag=="symbol"}var V2e=z2e;/**
* @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 U2e=V2e,G2e=U2e;/**
* @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 W2e=Object.prototype.toString,FG=W2e;/**
* @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 Y2e=FG;function K2e(t){return Y2e.call(t)}var q2e=K2e;/**
* @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 X2e=Object.prototype.hasOwnProperty;function J2e(t,e){return t==null?!1:X2e.call(t,e)}var Z2e=J2e;/**
* @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 Q2e=Z2e,eRe=Q2e;/**
* @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 tRe=typeof Symbol=="function"?Symbol.toStringTag:"",rRe=tRe;/**
* @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 nRe=eRe,jf=rRe,V1=FG;function iRe(t){var e,r,n;if(t==null)return V1.call(t);r=t[jf],e=nRe(t,jf);try{t[jf]=void 0}catch{return V1.call(t)}return n=V1.call(t),e?t[jf]=r:delete t[jf],n}var aRe=iRe;/**
* @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 sRe=G2e,oRe=q2e,uRe=aRe,RT;sRe()?RT=uRe:RT=oRe;var Qy=RT;/**
* @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 cRe=Qy,lRe=typeof Uint32Array=="function";function dRe(t){return lRe&&t instanceof Uint32Array||cRe(t)==="[object Uint32Array]"}var fRe=dRe;/**
* @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 hRe=fRe,pRe=hRe;/**
* @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 mRe=4294967295,gRe=mRe;/**
* @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 vRe=typeof Uint32Array=="function"?Uint32Array:null,bRe=vRe;/**
* @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 yRe=pRe,U1=gRe,ML=bRe;function _Re(){var t,e;if(typeof ML!="function")return!1;try{e=[1,3.14,-3.14,U1+1,U1+2],e=new ML(e),t=yRe(e)&&e[0]===1&&e[1]===3&&e[2]===U1-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var wRe=_Re;/**
* @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 SRe=wRe,ORe=SRe;/**
* @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 TRe=typeof Uint32Array=="function"?Uint32Array:void 0,ERe=TRe;/**
* @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.
*/function xRe(){throw new Error("not implemented")}var PRe=xRe;/**
* @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 CRe=ORe,ARe=ERe,MRe=PRe,LT;CRe()?LT=ARe:LT=MRe;var IC=LT;/**
* @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 $Re=Qy,kRe=typeof Float64Array=="function";function DRe(t){return kRe&&t instanceof Float64Array||$Re(t)==="[object Float64Array]"}var IRe=DRe;/**
* @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 RRe=IRe,LRe=RRe;/**
* @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 NRe=typeof Float64Array=="function"?Float64Array:null,BRe=NRe;/**
* @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 FRe=LRe,$L=BRe;function jRe(){var t,e;if(typeof $L!="function")return!1;try{e=new $L([1,3.14,-3.14,NaN]),t=FRe(e)&&e[0]===1&&e[1]===3.14&&e[2]===-3.14&&e[3]!==e[3]}catch{t=!1}return t}var HRe=jRe;/**
* @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 zRe=HRe,VRe=zRe;/**
* @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 URe=typeof Float64Array=="function"?Float64Array:void 0,GRe=URe;/**
* @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.
*/function WRe(){throw new Error("not implemented")}var YRe=WRe;/**
* @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 KRe=VRe,qRe=GRe,XRe=YRe,NT;KRe()?NT=qRe:NT=XRe;var RC=NT;/**
* @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 JRe=Qy,ZRe=typeof Uint8Array=="function";function QRe(t){return ZRe&&t instanceof Uint8Array||JRe(t)==="[object Uint8Array]"}var e8e=QRe;/**
* @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 t8e=e8e,r8e=t8e;/**
* @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 n8e=255,i8e=n8e;/**
* @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 a8e=typeof Uint8Array=="function"?Uint8Array:null,s8e=a8e;/**
* @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 o8e=r8e,G1=i8e,kL=s8e;function u8e(){var t,e;if(typeof kL!="function")return!1;try{e=[1,3.14,-3.14,G1+1,G1+2],e=new kL(e),t=o8e(e)&&e[0]===1&&e[1]===3&&e[2]===G1-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var c8e=u8e;/**
* @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 l8e=c8e,d8e=l8e;/**
* @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 f8e=typeof Uint8Array=="function"?Uint8Array:void 0,h8e=f8e;/**
* @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.
*/function p8e(){throw new Error("not implemented")}var m8e=p8e;/**
* @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 g8e=d8e,v8e=h8e,b8e=m8e,BT;g8e()?BT=v8e:BT=b8e;var y8e=BT;/**
* @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 _8e=Qy,w8e=typeof Uint16Array=="function";function S8e(t){return w8e&&t instanceof Uint16Array||_8e(t)==="[object Uint16Array]"}var O8e=S8e;/**
* @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 T8e=O8e,E8e=T8e;/**
* @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 x8e=65535,P8e=x8e;/**
* @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 C8e=typeof Uint16Array=="function"?Uint16Array:null,A8e=C8e;/**
* @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 M8e=E8e,W1=P8e,DL=A8e;function $8e(){var t,e;if(typeof DL!="function")return!1;try{e=[1,3.14,-3.14,W1+1,W1+2],e=new DL(e),t=M8e(e)&&e[0]===1&&e[1]===3&&e[2]===W1-2&&e[3]===0&&e[4]===1}catch{t=!1}return t}var k8e=$8e;/**
* @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 D8e=k8e,I8e=D8e;/**
* @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 R8e=typeof Uint16Array=="function"?Uint16Array:void 0,L8e=R8e;/**
* @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.
*/function N8e(){throw new Error("not implemented")}var B8e=N8e;/**
* @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 F8e=I8e,j8e=L8e,H8e=B8e,FT;F8e()?FT=j8e:FT=H8e;var z8e=FT;/**
* @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 V8e=y8e,U8e=z8e,G8e={uint16:U8e,uint8:V8e},W8e=G8e;/**
* @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 IL=W8e,jG;function Y8e(){var t,e;return t=new IL.uint16(1),t[0]=4660,e=new IL.uint8(t.buffer),e[0]===52}jG=Y8e();var K8e=jG;/**
* @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 q8e=K8e,LC=q8e;/**
* @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 X8e=LC,HG,jT,HT;X8e===!0?(jT=1,HT=0):(jT=0,HT=1);HG={HIGH:jT,LOW:HT};var J8e=HG;/**
* @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 Z8e=IC,Q8e=RC,zG=J8e,VG=new Q8e(1),RL=new Z8e(VG.buffer),e3e=zG.HIGH,t3e=zG.LOW;function r3e(t,e,r,n){return VG[0]=t,e[n]=RL[e3e],e[n+r]=RL[t3e],e}var UG=r3e;/**
* @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 n3e=UG;function i3e(t){return n3e(t,[0,0],1,0)}var a3e=i3e;/**
* @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 s3e=BG,GG=a3e,o3e=UG;s3e(GG,"assign",o3e);var WG=GG;/**
* @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 u3e=LC,zT;u3e===!0?zT=1:zT=0;var c3e=zT;/**
* @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 l3e=IC,d3e=RC,f3e=c3e,YG=new d3e(1),h3e=new l3e(YG.buffer);function p3e(t){return YG[0]=t,h3e[f3e]}var m3e=p3e;/**
* @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 g3e=m3e,KG=g3e;/**
* @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 v3e=LC,qG,VT,UT;v3e===!0?(VT=1,UT=0):(VT=0,UT=1);qG={HIGH:VT,LOW:UT};var b3e=qG;/**
* @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 y3e=IC,_3e=RC,XG=b3e,JG=new _3e(1),LL=new y3e(JG.buffer),w3e=XG.HIGH,S3e=XG.LOW;function O3e(t,e){return LL[w3e]=t,LL[S3e]=e,JG[0]}var T3e=O3e;/**
* @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 E3e=T3e,ZG=E3e;/**
* @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 x3e=p2e,P3e=g2e,C3e=WG,A3e=KG,M3e=ZG,Y1=[0,0];function $3e(t,e){var r,n;return C3e.assign(t,Y1,1,0),r=Y1[0],r&=P3e,n=A3e(e),n&=x3e,r|=n,M3e(r,Y1[1])}var k3e=$3e;/**
* @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 D3e=k3e,I3e=D3e;/**
* @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 R3e=22250738585072014e-324,L3e=R3e;/**
* @license Apache-2.0
*
* Copyright (c) 2021 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.
*/function N3e(t){return Math.abs(t)}var B3e=N3e;/**
* @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 F3e=B3e,j3e=F3e;/**
* @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 H3e=L3e,z3e=NG,V3e=LG,U3e=j3e,G3e=4503599627370496;function W3e(t,e,r,n){return V3e(t)||z3e(t)?(e[n]=t,e[n+r]=0,e):t!==0&&U3e(t)<H3e?(e[n]=t*G3e,e[n+r]=-52,e):(e[n]=t,e[n+r]=0,e)}var QG=W3e;/**
* @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 Y3e=QG;function K3e(t){return Y3e(t,[0,0],1,0)}var q3e=K3e;/**
* @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 X3e=BG,eW=q3e,J3e=QG;X3e(eW,"assign",J3e);var Z3e=eW;/**
* @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 Q3e=2146435072,eLe=Q3e;/**
* @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 tLe=1023,rLe=tLe;/**
* @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 nLe=KG,iLe=eLe,aLe=rLe;function sLe(t){var e=nLe(t);return e=(e&iLe)>>>20,e-aLe|0}var oLe=sLe;/**
* @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 uLe=oLe,cLe=uLe;/**
* @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 lLe=jIe,dLe=GIe,fLe=YIe,hLe=qIe,pLe=JIe,mLe=QIe,gLe=LG,vLe=NG,bLe=I3e,yLe=Z3e,_Le=cLe,wLe=WG,SLe=ZG,OLe=2220446049250313e-31,TLe=2148532223,K1=[0,0],q1=[0,0];function ELe(t,e){var r,n;return t===0||gLe(t)||vLe(t)?t:(yLe(K1),t=K1[0],e+=K1[1],e+=_Le(t),e<mLe?bLe(0,t):e>hLe?t<0?dLe:lLe:(e<=pLe?(e+=52,n=OLe):n=1,wLe(q1),r=q1[0],r&=TLe,r|=e+fLe<<20,n*SLe(r,q1[1])))}var xLe=ELe;/**
* @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 PLe=xLe,CLe=PLe,tW={};function ALe(t,e,r){e.split&&(e=e.split("."));for(var n=0,i=e.length,a=t,s,o;n<i&&(o=e[n++],!(o==="__proto__"||o==="constructor"||o==="prototype"));)a=a[o]=n===i?r:typeof(s=a[o])==typeof e?s:e[n]*0!==0||~(""+e[n]).indexOf(".")?{}:[]}tW.dset=ALe;var e_={},MLe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e_,"__esModule",{value:!0});e_.unset=void 0;var $Le=MLe(DC);function kLe(t,e){if((0,$Le.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}e_.unset=kLe;var NC=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kC,"__esModule",{value:!0});var DLe=NC(BIe),Ll=NC(DC),ILe=NC(CLe),Hf=tW,RLe=e_;function LLe(t,e){for(var r=t,n=0,i=e;n<i.length;n++){var a=i[n];switch(a.type){case"drop":return null;case"drop_properties":NLe(r,a.config);break;case"allow_properties":BLe(r,a.config);break;case"sample_event":if(jLe(r,a.config))break;return null;case"map_properties":FLe(r,a.config);break;case"hash_properties":break;default:throw new Error('Transformer of type "'.concat(a.type,'" is unsupported.'))}}return r}kC.default=LLe;function NLe(t,e){rW(t,e.drop,function(r,n){n.forEach(function(i){return delete r[i]})})}function BLe(t,e){rW(t,e.allow,function(r,n){Object.keys(r).forEach(function(i){n.includes(i)||delete r[i]})})}function rW(t,e,r){Object.entries(e).forEach(function(n){var i=n[0],a=n[1],s=function(u){typeof u!="object"||u===null||r(u,a)},o=i===""?t:(0,Ll.default)(t,i);Array.isArray(o)?o.forEach(s):s(o)})}function FLe(t,e){var r=JSON.parse(JSON.stringify(t));for(var n in e.map)if(e.map.hasOwnProperty(n)){var i=e.map[n],a=n.split("."),s=void 0;if(a.length>1?(a.pop(),s=(0,Ll.default)(r,a.join("."))):s=t,typeof s=="object"){if(i.copy){var o=(0,Ll.default)(r,i.copy);o!==void 0&&(0,Hf.dset)(t,n,o)}else if(i.move){var u=(0,Ll.default)(r,i.move);u!==void 0&&(0,Hf.dset)(t,n,u),(0,RLe.unset)(t,i.move)}else i.hasOwnProperty("set")&&(0,Hf.dset)(t,n,i.set);if(i.to_string){var c=(0,Ll.default)(t,n);if(typeof c=="string"||typeof c=="object"&&c!==null)continue;c!==void 0?(0,Hf.dset)(t,n,JSON.stringify(c)):(0,Hf.dset)(t,n,"undefined")}}}}function jLe(t,e){return e.sample.percent<=0?!1:e.sample.percent>=1?!0:e.sample.path?zLe(t,e):HLe(e.sample.percent)}function HLe(t){return Math.random()<=t}function zLe(t,e){var r=(0,Ll.default)(t,e.sample.path),n=(0,DLe.default)(JSON.stringify(r)),i=-64,a=[];NL(n.slice(0,8),a);for(var s=0,o=0;o<64&&a[o]!==1;o++)s++;if(s!==0){var u=[];NL(n.slice(9,16),u),i-=s,a.splice(0,s),u.splice(64-s),a=a.concat(u)}return a[63]=a[63]===0?1:0,(0,ILe.default)(parseInt(a.join(""),2),i)<e.sample.percent}function NL(t,e){for(var r=0;r<8;r++)for(var n=t[r],i=128;i>=1;i/=2)n-i>=0?(n-=i,e.push(1)):e.push(0)}var BC={},VLe=Oe&&Oe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(BC,"__esModule",{value:!0});var ULe=VLe(DC);function GLe(t,e){if(!e)throw new Error("No matcher supplied!");switch(e.type){case"all":return WLe();case"fql":return YLe(e.ir,t);default:throw new Error("Matcher of type ".concat(e.type," unsupported."))}}BC.default=GLe;function WLe(){return!0}function YLe(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=Co(t,e);return typeof r!="boolean"?!1:r}function Co(t,e){if(!Array.isArray(t))return nn(t,e)===!0;var r=t[0];switch(r){case"!":return!Co(t[1],e);case"or":for(var n=1;n<t.length;n++)if(Co(t[n],e))return!0;return!1;case"and":for(var n=1;n<t.length;n++)if(!Co(t[n],e))return!1;return!0;case"=":case"!=":return XLe(nn(t[1],e),nn(t[2],e),r,e);case"<=":case"<":case">":case">=":return qLe(nn(t[1],e),nn(t[2],e),r,e);case"in":return KLe(nn(t[1],e),nn(t[2],e),e);case"contains":return JLe(nn(t[1],e),nn(t[2],e));case"match":return ZLe(nn(t[1],e),nn(t[2],e));case"lowercase":var i=nn(t[1],e);return typeof i!="string"?null:i.toLowerCase();case"typeof":return typeof nn(t[1],e);case"length":return QLe(nn(t[1],e));default:throw new Error("FQL IR could not evaluate for token: ".concat(r))}}function nn(t,e){return Array.isArray(t)?t:typeof t=="object"?t.value:(0,ULe.default)(e,t)}function KLe(t,e,r){return e.find(function(n){return nn(n,r)===t})!==void 0}function qLe(t,e,r,n){if(fb(t)&&(t=Co(t,n)),fb(e)&&(e=Co(e,n)),typeof t!="number"||typeof e!="number")return!1;switch(r){case"<=":return t<=e;case">=":return t>=e;case"<":return t<e;case">":return t>e;default:throw new Error("Invalid operator in compareNumbers: ".concat(r))}}function XLe(t,e,r,n){switch(fb(t)&&(t=Co(t,n)),fb(e)&&(e=Co(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 JLe(t,e){return typeof t!="string"||typeof e!="string"?!1:t.indexOf(e)!==-1}function ZLe(t,e){return typeof t!="string"||typeof e!="string"?!1:eNe(e,t)}function QLe(t){return t===null?0:!Array.isArray(t)&&typeof t!="string"?NaN:t.length}function fb(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 eNe(t,e){var r,n;e:for(;t.length>0;){var i=void 0,a=void 0;if(r=tNe(t),i=r.star,a=r.chunk,t=r.pattern,i&&a==="")return!0;var s=BL(a,e),o=s.t,u=s.ok,c=s.err;if(c)return!1;if(u&&(o.length===0||t.length>0)){e=o;continue}if(i)for(var l=0;l<e.length;l++){if(n=BL(a,e.slice(l+1)),o=n.t,u=n.ok,c=n.err,u){if(t.length===0&&o.length>0)continue;e=o;continue e}if(c)return!1}return!1}return e.length===0}function tNe(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;n<t.length;n++)switch(t[n]){case"\\":n+1<t.length&&n++;break;case"[":r=!0;break;case"]":r=!1;break;case"*":if(!r)break e}return e.chunk=t.slice(0,n),e.pattern=t.slice(n),e}function BL(t,e){for(var r,n,i={t:"",ok:!1,err:!1};t.length>0;){if(e.length===0)return i;switch(t[0]){case"[":var a=e[0];e=e.slice(1),t=t.slice(1);var s=!0;t.length>0&&t[0]==="^"&&(s=!1,t=t.slice(1));for(var o=!1,u=0;;){if(t.length>0&&t[0]==="]"&&u>0){t=t.slice(1);break}var c="",l="",d=void 0;if(r=FL(t),c=r.char,t=r.newChunk,d=r.err,d||(l=c,t[0]==="-"&&(n=FL(t.slice(1)),l=n.char,t=n.newChunk,d=n.err,d)))return i;c<=a&&a<=l&&(o=!0),u++}if(o!==s)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 FL(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 FC={};Object.defineProperty(FC,"__esModule",{value:!0});var rNe=function(){function t(e){this.rules=[],this.rules=e||[]}return t.prototype.getRulesByDestinationName=function(e){for(var r=[],n=0,i=this.rules;n<i.length;n++){var a=i[n];(a.destinationName===e||a.destinationName===void 0)&&r.push(a)}return r},t}();FC.default=rNe;(function(t){var e=Oe&&Oe.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0}),t.Store=t.matches=t.transform=void 0;var r=kC;Object.defineProperty(t,"transform",{enumerable:!0,get:function(){return e(r).default}});var n=BC;Object.defineProperty(t,"matches",{enumerable:!0,get:function(){return e(n).default}});var i=FC;Object.defineProperty(t,"Store",{enumerable:!0,get:function(){return e(i).default}})})(Ev);var nNe=function(t){return function(e){var r=e.payload,n=e.integration,i=e.next,a=new Ev.Store(t),s=a.getRulesByDestinationName(n);s.forEach(function(o){for(var u=o.matchers,c=o.transformers,l=0;l<u.length;l++)if(Ev.matches(r.obj,u[l])&&(r.obj=Ev.transform(r.obj,c[l]),r.obj===null))return i(null)}),i(r)}};const iNe=Object.freeze(Object.defineProperty({__proto__:null,tsubMiddleware:nNe},Symbol.toStringTag,{value:"Module"}));function nW(t,e){var r,n;return typeof(e==null?void 0:e.enabled)=="boolean"?e.enabled:(n=(r=t==null?void 0:t.__default)===null||r===void 0?void 0:r.enabled)!==null&&n!==void 0?n:!0}function iW(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function aW(t,e){return e===void 0&&(e=!1),e?btoa(t).replace(/=/g,""):void 0}function aNe(t){return("Integration"in t?t.Integration:t).prototype.name}function sNe(t,e,r){var n,i;try{var a=((i=(n=window==null?void 0:window.performance)===null||n===void 0?void 0:n.getEntriesByName(t,"resource"))!==null&&i!==void 0?i:[])[0];a&&e.stats.gauge("legacy_destination_time",Math.round(a.duration),Or([r],a.duration<100?["cached"]:[],!0))}catch{}}function oNe(t,e,r){var n;if("Integration"in t){var i={user:function(){return r.user()},addIntegration:function(){}};t(i),n=t.Integration}else n=t;var a=new n(e);return a.analytics=r,a}function uNe(t,e,r,n){return ue(this,void 0,void 0,function(){var i,a,s,o,u,c;return ce(this,function(l){switch(l.label){case 0:i=iW(e),a=aW(i,n),s=gC(),o="".concat(s,"/integrations/").concat(a??i,"/").concat(r,"/").concat(a??i,".dynamic.js.gz"),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Wl(o)];case 2:return l.sent(),sNe(o,t,e),[3,4];case 3:throw u=l.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(e),"failed"]),u;case 4:return c=window["".concat(i,"Deps")],[4,Promise.all(c.map(function(d){return Wl(s+d+".gz")}))];case 5:return l.sent(),window["".concat(i,"Loader")](),[2,window["".concat(i,"Integration")]]}})})}function cNe(t,e,r){return ue(this,void 0,void 0,function(){var n,i,a,s;return ce(this,function(o){return n=gC(),i=iW(t),a=aW(t,r),s="".concat(n,"/integrations/").concat(a??i,"/").concat(e,"/").concat(a??i,".dynamic.js.gz"),[2,uDe(s)]})})}function lNe(t){var e,r,n,i;return(i=(r=(e=t==null?void 0:t.versionSettings)===null||e===void 0?void 0:e.override)!==null&&r!==void 0?r:(n=t==null?void 0:t.versionSettings)===null||n===void 0?void 0:n.version)!==null&&i!==void 0?i:"latest"}var dNe=function(t,e){var r,n=e.type,i=e.bundlingStatus,a=e.versionSettings,s=i!=="unbundled"&&(n==="browser"||((r=a==null?void 0:a.componentTypes)===null||r===void 0?void 0:r.includes("browser")));return!t.startsWith("Segment")&&t!=="Iterable"&&s},fNe=function(t,e){var r=e.All===!1&&e[t]===void 0;return e[t]===!1||r};function hNe(t,e){return ue(this,void 0,void 0,function(){var r,n=this;return ce(this,function(i){switch(i.label){case 0:return r=[],cc()?[2,e]:[4,$G(function(){return e.length>0&&iG()},function(){return ue(n,void 0,void 0,function(){var a,s,o;return ce(this,function(u){switch(u.label){case 0:return a=e.pop(),a?[4,Gl(a,t)]:[2];case 1:return s=u.sent(),o=s instanceof Fu,o||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return e.pushWithBackoff(a)}),[2,e]}})})}var sW=function(){function t(e,r,n,i,a,s){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=ne({},i),this.disableAutoISOConversion=a.disableAutoISOConversion||!1,this.integrationSource=s,this.settings.type&&this.settings.type==="browser"&&delete this.settings.type,this.options=a,this.buffer=a.disableClientPersistence?new zy(4,[]):new Uy(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 ue(this,void 0,void 0,function(){var i,a,s=this;return ce(this,function(o){switch(o.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,uNe(e,this.name,this.version,this.options.obfuscate)];case 2:a=o.sent(),o.label=3;case 3:i=a,this.integration=oNe(i,this.settings,r),this.onReady=new Promise(function(u){var c=function(){s._ready=!0,u(!0)};s.integration.once("ready",c)}),this.onInitialize=new Promise(function(u){var c=function(){s._initialized=!0,u(!0)};s.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 cNe(this.name,this.version,this.options.obfuscate)},t.prototype.addMiddleware=function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];this.middleware=(e=this.middleware).concat.apply(e,r)},t.prototype.shouldBuffer=function(e){return e.event.type!=="page"&&(cc()||this._ready===!1||this._initialized===!1)},t.prototype.send=function(e,r,n){var i,a;return ue(this,void 0,void 0,function(){var s,o,u,c,l,d;return ce(this,function(f){switch(f.label){case 0:if(this.shouldBuffer(e))return this.buffer.push(e),this.scheduleFlush(),[2,e];if(s=(a=(i=this.options)===null||i===void 0?void 0:i.plan)===null||a===void 0?void 0:a.track,o=e.event.event,s&&o&&this.name!=="Segment.io"){if(u=s[o],nW(s,u))e.updateEvent("integrations",ne(ne({},e.event.integrations),u==null?void 0:u.integrations));else return e.updateEvent("integrations",ne(ne({},e.event.integrations),{All:!1,"Segment.io":!0})),e.cancel(new jo({retry:!1,reason:"Event ".concat(o," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,e];if(u!=null&&u.enabled&&(u==null?void 0:u.integrations[this.name])===!1)return e.cancel(new jo({retry:!1,reason:"Event ".concat(o," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"})),[2,e]}return[4,MC(this.name,e.event,this.middleware)];case 1:if(c=f.sent(),c===null)return[2,e];l=new r(c,{traverse:!this.disableAutoISOConversion}),e.stats.increment("analytics_js.integration.invoke",1,["method:".concat(n),"integration_name:".concat(this.name)]),f.label=2;case 2:return f.trys.push([2,5,,6]),this.integration?[4,this.integration.invoke.call(this.integration,n,l)]:[3,4];case 3:f.sent(),f.label=4;case 4:return[3,6];case 5:throw d=f.sent(),e.stats.increment("analytics_js.integration.invoke.error",1,["method:".concat(n),"integration_name:".concat(this.name)]),d;case 6:return[2,e]}})})},t.prototype.track=function(e){return ue(this,void 0,void 0,function(){return ce(this,function(r){return[2,this.send(e,Xn.Track,"track")]})})},t.prototype.page=function(e){var r;return ue(this,void 0,void 0,function(){var n=this;return ce(this,function(i){return!((r=this.integration)===null||r===void 0)&&r._assumesPageview&&!this._initialized&&this.integration.initialize(),[2,this.onInitialize.then(function(){return n.send(e,Xn.Page,"page")})]})})},t.prototype.identify=function(e){return ue(this,void 0,void 0,function(){return ce(this,function(r){return[2,this.send(e,Xn.Identify,"identify")]})})},t.prototype.alias=function(e){return ue(this,void 0,void 0,function(){return ce(this,function(r){return[2,this.send(e,Xn.Alias,"alias")]})})},t.prototype.group=function(e){return ue(this,void 0,void 0,function(){return ce(this,function(r){return[2,this.send(e,Xn.Group,"group")]})})},t.prototype.scheduleFlush=function(){var e=this;this.flushing||setTimeout(function(){return ue(e,void 0,void 0,function(){var r;return ce(this,function(n){switch(n.label){case 0:return this.flushing=!0,r=this,[4,hNe(this,this.buffer)];case 1:return r.buffer=n.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}})})},Math.random()*5e3)},t}();function pNe(t,e,r,n,i,a){var s,o;if(r===void 0&&(r={}),n===void 0&&(n={}),nG())return[];e.plan&&(n=n??{},n.plan=e.plan);var u=(o=(s=e.middlewareSettings)===null||s===void 0?void 0:s.routingRules)!==null&&o!==void 0?o:[],c=e.integrations,l=n.integrations,d=vG(e,n??{}),f=a==null?void 0:a.reduce(function(m,b){var _;return ne(ne({},m),(_={},_[aNe(b)]=b,_))},{}),p=new Set(Or(Or([],Object.keys(c).filter(function(m){return dNe(m,c[m])}),!0),Object.keys(f||{}).filter(function(m){return ai(c[m])||ai(l==null?void 0:l[m])}),!0));return Array.from(p).filter(function(m){return!fNe(m,r)}).map(function(m){var b=c[m],_=lNe(b),S=new sW(m,_,t,d[m],n,f==null?void 0:f[m]),x=u.filter(function(O){return O.destinationName===m});return x.length>0&&i&&S.addMiddleware(i),S})}const mNe=Object.freeze(Object.defineProperty({__proto__:null,LegacyDestination:sW,ajsDestinations:pNe},Symbol.toStringTag,{value:"Module"}));function gNe(t){return ue(this,void 0,void 0,function(){var e;return ce(this,function(r){switch(r.label){case 0:return[4,wi(()=>Promise.resolve().then(()=>TNe),void 0,import.meta.url)];case 1:return e=r.sent(),t._plugins=e,[2]}})})}const vNe=Object.freeze(Object.defineProperty({__proto__:null,loadLegacyVideoPlugins:gNe},Symbol.toStringTag,{value:"Module"}));function bNe(t,e){var r,n;if(!t||!Object.keys(t))return{};var i=t.integrations?Object.keys(t.integrations).filter(function(s){return t.integrations[s]===!1}):[],a=[];return((r=e.remotePlugins)!==null&&r!==void 0?r:[]).forEach(function(s){i.forEach(function(o){(s.name.includes(o)||o.includes(s.name))&&a.push(s.name)})}),((n=e.remotePlugins)!==null&&n!==void 0?n:[]).reduce(function(s,o){return o.settings.subscriptions&&a.includes(o.name)&&o.settings.subscriptions.forEach(function(u){return s["".concat(o.name," ").concat(u.partnerAction)]=!1}),s},{})}function yNe(t,e){function r(n){var i=t,a=n.event.event;if(i&&a){var s=i[a];if(nW(i,s)){var o=bNe(s,e);n.updateEvent("integrations",ne(ne(ne({},n.event.integrations),s==null?void 0:s.integrations),o))}else return n.updateEvent("integrations",ne(ne({},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 _Ne=Object.freeze(Object.defineProperty({__proto__:null,schemaFilter:yNe},Symbol.toStringTag,{value:"Module"}));function wNe(t,e,r){var n;return ue(this,void 0,void 0,function(){var i,a,s,o,u,c=this;return ce(this,function(l){switch(l.label){case 0:return nG()?[2,[]]:(i=gC(),a=(n=e.enabledMiddleware)!==null&&n!==void 0?n:{},s=Object.entries(a).filter(function(d){d[0];var f=d[1];return f}).map(function(d){var f=d[0];return f}),o=s.map(function(d){return ue(c,void 0,void 0,function(){var f,p,m,b;return ce(this,function(_){switch(_.label){case 0:f=d.replace("@segment/",""),p=f,r&&(p=btoa(f).replace(/=/g,"")),m="".concat(i,"/middleware/").concat(p,"/latest/").concat(p,".js.gz"),_.label=1;case 1:return _.trys.push([1,3,,4]),[4,Wl(m)];case 2:return _.sent(),[2,window["".concat(f,"Middleware")]];case 3:return b=_.sent(),t.log("error",b),t.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(o)]);case 1:return u=l.sent(),u=u.filter(Boolean),[2,u]}})})}const SNe=Object.freeze(Object.defineProperty({__proto__:null,remoteMiddlewares:wNe},Symbol.toStringTag,{value:"Module"}));var oW={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 s=n[a]={i:a,l:!1,exports:{}};return r[a].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=r,i.c=n,i.d=function(a,s,o){i.o(a,s)||Object.defineProperty(a,s,{enumerable:!0,get:o})},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,s){if(1&s&&(a=i(a)),8&s||4&s&&typeof a=="object"&&a&&a.__esModule)return a;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:a}),2&s&&typeof a!="string")for(var u in a)i.d(o,u,(function(c){return a[c]}).bind(null,u));return o},i.n=function(a){var s=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(s,"a",s),s},i.o=function(a,s){return Object.prototype.hasOwnProperty.call(a,s)},i.p="",i(i.s=2)}([function(r,n,i){i.r(n);var a=typeof fetch=="function"?fetch.bind():function(s,o){return o=o||{},new Promise(function(u,c){var l=new XMLHttpRequest;for(var d in l.open(o.method||"get",s,!0),o.headers)l.setRequestHeader(d,o.headers[d]);function f(){var p,m=[],b=[],_={};return l.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(S,x,O){m.push(x=x.toLowerCase()),b.push([x,O]),p=_[x],_[x]=p?p+","+O:O}),{ok:(l.status/100|0)==2,status:l.status,statusText:l.statusText,url:l.responseURL,clone:f,text:function(){return Promise.resolve(l.responseText)},json:function(){return Promise.resolve(l.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([l.response]))},headers:{keys:function(){return m},entries:function(){return b},get:function(S){return _[S.toLowerCase()]},has:function(S){return S.toLowerCase()in _}}}}l.withCredentials=o.credentials=="include",l.onload=function(){u(f())},l.onerror=c,l.send(o.body)})};n.default=a},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function o(u,c){for(var l=0;l<c.length;l++){var d=c[l];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}return function(u,c,l){return c&&o(u.prototype,c),l&&o(u,l),u}}(),s=function(){function o(u,c){(function(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")})(this,o),this.pluginName=u}return a(o,[{key:"track",value:function(u,c){window.analytics.track(u,c,{integration:{name:this.pluginName}})}}]),o}();n.default=s},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.YouTubeAnalytics=n.VimeoAnalytics=void 0;var a=o(i(3)),s=o(i(4));function o(u){return u&&u.__esModule?u:{default:u}}n.VimeoAnalytics=a.default,n.YouTubeAnalytics=s.default},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function c(l,d){for(var f=0;f<d.length;f++){var p=d[f];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(l,p.key,p)}}return function(l,d,f){return d&&c(l.prototype,d),f&&c(l,f),l}}(),s=o(i(0));function o(c){return c&&c.__esModule?c:{default:c}}var u=function(c){function l(d,f){(function(m,b){if(!(m instanceof b))throw new TypeError("Cannot call a class as a function")})(this,l);var p=function(m,b){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||typeof b!="object"&&typeof b!="function"?m:b}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,"VimeoAnalytics"));return p.authToken=f,p.player=d,p.metadata={content:{},playback:{videoPlayer:"Vimeo"}},p.mostRecentHeartbeat=0,p.isPaused=!1,p}return function(d,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);d.prototype=Object.create(f&&f.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(d,f):d.__proto__=f)}(l,c),a(l,[{key:"initialize",value:function(){var d=this,f={loaded:this.retrieveMetadata,play:this.trackPlay,pause:this.trackPause,ended:this.trackEnded,timeupdate:this.trackHeartbeat};for(var p in f)this.registerHandler(p,f[p]);this.player.getVideoId().then(function(m){d.retrieveMetadata({id:m})}).catch(console.error)}},{key:"registerHandler",value:function(d,f){var p=this;this.player.on(d,function(m){p.updateMetadata(m),f.call(p,m)})}},{key:"trackPlay",value:function(){this.isPaused?(this.track("Video Playback Resumed",this.metadata.playback),this.isPaused=!1):(this.track("Video Playback Started",this.metadata.playback),this.track("Video Content Started",this.metadata.content))}},{key:"trackEnded",value:function(){this.track("Video Playback Completed",this.metadata.playback),this.track("Video Content Completed",this.metadata.content)}},{key:"trackHeartbeat",value:function(){var d=this.mostRecentHeartbeat,f=this.metadata.playback.position;f!==d&&f-d>=10&&(this.track("Video Content Playing",this.metadata.content),this.mostRecentHeartbeat=Math.floor(f))}},{key:"trackPause",value:function(){this.isPaused=!0,this.track("Video Playback Paused",this.metadata.playback)}},{key:"retrieveMetadata",value:function(d){var f=this;return new Promise(function(p,m){var b=d.id;(0,s.default)("https://api.vimeo.com/videos/"+b,{headers:{Authorization:"Bearer "+f.authToken}}).then(function(_){return _.ok?_.json():m(_)}).then(function(_){f.metadata.content.title=_.name,f.metadata.content.description=_.description,f.metadata.content.publisher=_.user.name,f.metadata.playback.position=0,f.metadata.playback.totalLength=_.duration}).catch(function(_){return console.error("Request to Vimeo API Failed with: ",_),m(_)})})}},{key:"updateMetadata",value:function(d){var f=this;return new Promise(function(p,m){f.player.getVolume().then(function(b){b&&(f.metadata.playback.sound=100*b),f.metadata.playback.position=d.seconds,p()}).catch(m)})}}]),l}(o(i(1)).default);n.default=u},function(r,n,i){Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function d(f,p){for(var m=0;m<p.length;m++){var b=p[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(f,b.key,b)}}return function(f,p,m){return p&&d(f.prototype,p),m&&d(f,m),f}}(),s=u(i(0)),o=u(i(1));function u(d){return d&&d.__esModule?d:{default:d}}var c=function(d){function f(p,m){(function(_,S){if(!(_ instanceof S))throw new TypeError("Cannot call a class as a function")})(this,f);var b=function(_,S){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!S||typeof S!="object"&&typeof S!="function"?_:S}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,"YoutubeAnalytics"));return b.player=p,b.apiKey=m,b.playerLoaded=!1,b.playbackStarted=!1,b.contentStarted=!1,b.isPaused=!1,b.isBuffering=!1,b.isSeeking=!1,b.lastRecordedTime={timeReported:Date.now(),timeElapsed:0},b.metadata=[{playback:{video_player:"youtube"},content:{}}],b.playlistIndex=0,b}return function(p,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);p.prototype=Object.create(m&&m.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(p,m):p.__proto__=m)}(f,d),a(f,[{key:"initialize",value:function(){window.segmentYoutubeOnStateChange=this.onPlayerStateChange.bind(this),window.segmentYoutubeOnReady=this.onPlayerReady.bind(this),this.player.addEventListener("onReady","segmentYoutubeOnReady"),this.player.addEventListener("onStateChange","segmentYoutubeOnStateChange")}},{key:"onPlayerReady",value:function(p){this.retrieveMetadata()}},{key:"onPlayerStateChange",value:function(p){var m=this.player.getCurrentTime();switch(this.metadata[this.playlistIndex]&&(this.metadata[this.playlistIndex].playback.position=this.metadata[this.playlistIndex].content.position=m,this.metadata[this.playlistIndex].playback.quality=this.player.getPlaybackQuality(),this.metadata[this.playlistIndex].playback.sound=this.player.isMuted()?0:this.player.getVolume()),p.data){case-1:if(this.playerLoaded)break;this.retrieveMetadata(),this.playerLoaded=!0;break;case YT.PlayerState.BUFFERING:this.handleBuffer();break;case YT.PlayerState.PLAYING:this.handlePlay();break;case YT.PlayerState.PAUSED:this.handlePause();break;case YT.PlayerState.ENDED:this.handleEnd()}this.lastRecordedTime={timeReported:Date.now(),timeElapsed:1e3*this.player.getCurrentTime()}}},{key:"retrieveMetadata",value:function(){var p=this;return new Promise(function(m,b){var _=p.player.getVideoData(),S=p.player.getPlaylist()||[_.video_id],x=S.join();(0,s.default)("https://www.googleapis.com/youtube/v3/videos?id="+x+"&part=snippet,contentDetails&key="+p.apiKey).then(function(O){if(!O.ok){var h=new Error("Segment request to Youtube API failed (likely due to a bad API Key. Events will still be sent but will not contain video metadata)");throw h.response=O,h}return O.json()}).then(function(O){p.metadata=[];for(var h=0,v=0;v<S.length;v++){var g=O.items[v];p.metadata.push({content:{title:g.snippet.title,description:g.snippet.description,keywords:g.snippet.tags,channel:g.snippet.channelTitle,airdate:g.snippet.publishedAt}}),h+=l(g.contentDetails.duration)}for(v=0;v<S.length;v++)p.metadata[v].playback={total_length:h,video_player:"youtube"};m()}).catch(function(O){p.metadata=S.map(function(h){return{playback:{video_player:"youtube"},content:{}}}),b(O)})})}},{key:"handleBuffer",value:function(){var p=this.determineSeek();this.playbackStarted||(this.playbackStarted=!0,this.track("Video Playback Started",this.metadata[this.playlistIndex].playback)),p&&!this.isSeeking&&(this.isSeeking=!0,this.track("Video Playback Seek Started",this.metadata[this.playlistIndex].playback)),this.isSeeking&&(this.track("Video Playback Seek Completed",this.metadata[this.playlistIndex].playback),this.isSeeking=!1);var m=this.player.getPlaylist();m&&this.player.getCurrentTime()===0&&this.player.getPlaylistIndex()!==this.playlistIndex&&(this.contentStarted=!1,this.playlistIndex===m.length-1&&this.player.getPlaylistIndex()===0&&(this.track("Video Playback Completed",this.metadata[this.player.getPlaylistIndex()].playback),this.track("Video Playback Started",this.metadata[this.player.getPlaylistIndex()].playback))),this.track("Video Playback Buffer Started",this.metadata[this.playlistIndex].playback),this.isBuffering=!0}},{key:"handlePlay",value:function(){this.contentStarted||(this.playlistIndex=this.player.getPlaylistIndex(),this.playlistIndex===-1&&(this.playlistIndex=0),this.track("Video Content Started",this.metadata[this.playlistIndex].content),this.contentStarted=!0),this.isBuffering&&(this.track("Video Playback Buffer Completed",this.metadata[this.playlistIndex].playback),this.isBuffering=!1),this.isPaused&&(this.track("Video Playback Resumed",this.metadata[this.playlistIndex].playback),this.isPaused=!1)}},{key:"handlePause",value:function(){var p=this.determineSeek();this.isBuffering&&(this.track("Video Playback Buffer Completed",this.metadata[this.playlistIndex].playback),this.isBuffering=!1),this.isPaused||(p?(this.track("Video Playback Seek Started",this.metadata[this.playlistIndex].playback),this.isSeeking=!0):(this.track("Video Playback Paused",this.metadata[this.playlistIndex].playback),this.isPaused=!0))}},{key:"handleEnd",value:function(){this.track("Video Content Completed",this.metadata[this.playlistIndex].content),this.contentStarted=!1;var p=this.player.getPlaylistIndex(),m=this.player.getPlaylist();(m&&p===m.length-1||p===-1)&&(this.track("Video Playback Completed",this.metadata[this.playlistIndex].playback),this.playbackStarted=!1)}},{key:"determineSeek",value:function(){var p=this.isPaused||this.isBuffering?0:Date.now()-this.lastRecordedTime.timeReported,m=1e3*this.player.getCurrentTime()-this.lastRecordedTime.timeElapsed;return Math.abs(p-m)>2e3}}]),f}(o.default);function l(d){var f=d.match(/PT(\d+H)?(\d+M)?(\d+S)?/);return f=f.slice(1).map(function(p){if(p!=null)return p.replace(/\D/,"")}),3600*(parseInt(f[0])||0)+60*(parseInt(f[1])||0)+(parseInt(f[2])||0)}n.default=c}])})})(oW);var uW=oW.exports;const ONe=li(uW),TNe=bW({__proto__:null,default:ONe},[uW]);export{In as A,h6 as B,bu as C,YS as D,uk as E,WNe as F,u5 as G,kNe as H,YNe as I,KNe as J,rv as K,qNe as L,MNe as M,$Ne as N,LNe as O,DNe as S,V,wi as _,INe as a,RNe as b,Rd as c,NNe as d,xNe as e,ANe as f,cee as g,m5 as h,GJ as i,Qne as j,rie as k,BNe as l,Y5 as m,$6 as n,PNe as o,CNe as p,HI as q,zNe as r,UNe as s,FNe as t,jNe as u,VNe as v,GNe as w,twe as x,Vhe as y,G5 as z};