/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */(function(K,_e){"use strict";typeof module=="object"&&typeof module.exports=="object"?module.exports=K.document?_e(K,!0):function(ge){if(!ge.document)throw new Error("jQuery requires a window with a document");return _e(ge)}:_e(K)})(typeof window<"u"?window:this,function(K,_e){"use strict";var ge=[],Ve=Object.getPrototypeOf,je=ge.slice,ut=ge.flat?function(e){return ge.flat.call(e)}:function(e){return ge.concat.apply([],e)},nt=ge.push,dt=ge.indexOf,kt={},Xe=kt.toString,Le=kt.hasOwnProperty,St=Le.toString,ht=St.call(Object),ne={},Z=function(e){return typeof e=="function"&&typeof e.nodeType!="number"&&typeof e.item!="function"},Oe=function(e){return e!=null&&e===e.window},G=K.document,Yt={type:!0,src:!0,nonce:!0,noModule:!0};function Ye(e,t,i){var r,s,l=(i=i||G).createElement("script");if(l.text=e,t)for(r in Yt)(s=t[r]||t.getAttribute&&t.getAttribute(r))&&l.setAttribute(r,s);i.head.appendChild(l).parentNode.removeChild(l)}function ke(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?kt[Xe.call(e)]||"object":typeof e}var Ie="3.7.1",un=/HTML$/i,o=function(e,t){return new o.fn.init(e,t)};function dn(e){var t=!!e&&"length"in e&&e.length,i=ke(e);return!Z(e)&&!Oe(e)&&(i==="array"||t===0||typeof t=="number"&&0+~]|"+le+")"+le+"*"),ui=new RegExp(le+"|>"),vt=new RegExp(on),yn=new RegExp("^"+Et+"$"),et={ID:new RegExp("^#("+Et+")"),CLASS:new RegExp("^\\.("+Et+")"),TAG:new RegExp("^("+Et+"|[*])"),ATTR:new RegExp("^"+se),PSEUDO:new RegExp("^"+on),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+le+"*(even|odd|(([+-]|)(\\d*)n|)"+le+"*(?:([+-]|)"+le+"*(\\d+)|))"+le+"*\\)|)","i"),bool:new RegExp("^(?:"+Tt+")$","i"),needsContext:new RegExp("^"+le+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+le+"*((?:-\\d)?\\d*)"+le+"*\\)|)(?=[^-]|$)","i")},Ct=/^(?:input|select|textarea|button)$/i,Ut=/^h\d$/i,at=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Me=/[+~]/,De=new RegExp("\\\\[\\da-fA-F]{1,6}"+le+"?|\\\\([^\\r\\n\\f])","g"),xe=function(d,y){var x="0x"+d.slice(1)-65536;return y||(x<0?String.fromCharCode(x+65536):String.fromCharCode(x>>10|55296,1023&x|56320))},Vt=function(){It()},Ke=Xt(function(d){return d.disabled===!0&&he(d,"fieldset")},{dir:"parentNode",next:"legend"});try{T.apply(ge=je.call(Je.childNodes),Je.childNodes),ge[Je.childNodes.length].nodeType}catch{T={apply:function(y,x){Ft.apply(y,je.call(x))},call:function(y){Ft.apply(y,je.call(arguments,1))}}}function Y(d,y,x,E){var S,H,M,W,$,ue,te,ie=y&&y.ownerDocument,ae=y?y.nodeType:9;if(x=x||[],typeof d!="string"||!d||ae!==1&&ae!==9&&ae!==11)return x;if(!E&&(It(y),y=y||l,f)){if(ae!==11&&($=at.exec(d)))if(S=$[1]){if(ae===9){if(!(M=y.getElementById(S)))return x;if(M.id===S)return T.call(x,M),x}else if(ie&&(M=ie.getElementById(S))&&Y.contains(y,M)&&M.id===S)return T.call(x,M),x}else{if($[2])return T.apply(x,y.getElementsByTagName(d)),x;if((S=$[3])&&y.getElementsByClassName)return T.apply(x,y.getElementsByClassName(S)),x}if(!(we[d+" "]||h&&h.test(d))){if(te=d,ie=y,ae===1&&(ui.test(d)||zt.test(d))){for((ie=Me.test(d)&&Sn(y.parentNode)||y)==y&&ne.scope||((W=y.getAttribute("id"))?W=o.escapeSelector(W):y.setAttribute("id",W=C)),H=(ue=Dn(d)).length;H--;)ue[H]=(W?"#"+W:":scope")+" "+Qn(ue[H]);te=ue.join(",")}try{return T.apply(x,ie.querySelectorAll(te)),x}catch{we(d,!0)}finally{W===C&&y.removeAttribute("id")}}}return Ri(d.replace(Kt,"$1"),y,x,E)}function Te(){var d=[];return function y(x,E){return d.push(x+" ")>t.cacheLength&&delete y[d.shift()],y[x+" "]=E}}function ve(d){return d[C]=!0,d}function fe(d){var y=l.createElement("fieldset");try{return!!d(y)}catch{return!1}finally{y.parentNode&&y.parentNode.removeChild(y),y=null}}function At(d){return function(y){return he(y,"input")&&y.type===d}}function sn(d){return function(y){return(he(y,"input")||he(y,"button"))&&y.type===d}}function Kn(d){return function(y){return"form"in y?y.parentNode&&y.disabled===!1?"label"in y?"label"in y.parentNode?y.parentNode.disabled===d:y.disabled===d:y.isDisabled===d||y.isDisabled!==!d&&Ke(y)===d:y.disabled===d:"label"in y&&y.disabled===d}}function lt(d){return ve(function(y){return y=+y,ve(function(x,E){for(var S,H=d([],x.length,y),M=H.length;M--;)x[S=H[M]]&&(x[S]=!(E[S]=x[S]))})})}function Sn(d){return d&&typeof d.getElementsByTagName<"u"&&d}function It(d){var y,x=d?d.ownerDocument||d:Je;return x!=l&&x.nodeType===9&&x.documentElement&&(u=(l=x).documentElement,f=!o.isXMLDoc(l),b=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&Je!=l&&(y=l.defaultView)&&y.top!==y&&y.addEventListener("unload",Vt),ne.getById=fe(function(E){return u.appendChild(E).id=o.expando,!l.getElementsByName||!l.getElementsByName(o.expando).length}),ne.disconnectedMatch=fe(function(E){return b.call(E,"*")}),ne.scope=fe(function(){return l.querySelectorAll(":scope")}),ne.cssHas=fe(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),ne.getById?(t.filter.ID=function(E){var S=E.replace(De,xe);return function(H){return H.getAttribute("id")===S}},t.find.ID=function(E,S){if(typeof S.getElementById<"u"&&f){var H=S.getElementById(E);return H?[H]:[]}}):(t.filter.ID=function(E){var S=E.replace(De,xe);return function(H){var M=typeof H.getAttributeNode<"u"&&H.getAttributeNode("id");return M&&M.value===S}},t.find.ID=function(E,S){if(typeof S.getElementById<"u"&&f){var H,M,W,$=S.getElementById(E);if($){if((H=$.getAttributeNode("id"))&&H.value===E)return[$];for(W=S.getElementsByName(E),M=0;$=W[M++];)if((H=$.getAttributeNode("id"))&&H.value===E)return[$]}return[]}}),t.find.TAG=function(E,S){return typeof S.getElementsByTagName<"u"?S.getElementsByTagName(E):S.querySelectorAll(E)},t.find.CLASS=function(E,S){if(typeof S.getElementsByClassName<"u"&&f)return S.getElementsByClassName(E)},h=[],fe(function(E){var S;u.appendChild(E).innerHTML="",E.querySelectorAll("[selected]").length||h.push("\\["+le+"*(?:value|"+Tt+")"),E.querySelectorAll("[id~="+C+"-]").length||h.push("~="),E.querySelectorAll("a#"+C+"+*").length||h.push(".#.+[+~]"),E.querySelectorAll(":checked").length||h.push(":checked"),(S=l.createElement("input")).setAttribute("type","hidden"),E.appendChild(S).setAttribute("name","D"),u.appendChild(E).disabled=!0,E.querySelectorAll(":disabled").length!==2&&h.push(":enabled",":disabled"),(S=l.createElement("input")).setAttribute("name",""),E.appendChild(S),E.querySelectorAll("[name='']").length||h.push("\\["+le+"*name"+le+"*="+le+`*(?:''|"")`)}),ne.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),$e=function(E,S){if(E===S)return s=!0,0;var H=!E.compareDocumentPosition-!S.compareDocumentPosition;return H||(1&(H=(E.ownerDocument||E)==(S.ownerDocument||S)?E.compareDocumentPosition(S):1)||!ne.sortDetached&&S.compareDocumentPosition(E)===H?E===l||E.ownerDocument==Je&&Y.contains(Je,E)?-1:S===l||S.ownerDocument==Je&&Y.contains(Je,S)?1:r?dt.call(r,E)-dt.call(r,S):0:4&H?-1:1)}),l}for(e in Y.matches=function(d,y){return Y(d,null,null,y)},Y.matchesSelector=function(d,y){if(It(d),f&&!we[y+" "]&&(!h||!h.test(y)))try{var x=b.call(d,y);if(x||ne.disconnectedMatch||d.document&&d.document.nodeType!==11)return x}catch{we(y,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(d){return d[1]=d[1].replace(De,xe),d[3]=(d[3]||d[4]||d[5]||"").replace(De,xe),d[2]==="~="&&(d[3]=" "+d[3]+" "),d.slice(0,4)},CHILD:function(d){return d[1]=d[1].toLowerCase(),d[1].slice(0,3)==="nth"?(d[3]||Y.error(d[0]),d[4]=+(d[4]?d[5]+(d[6]||1):2*(d[3]==="even"||d[3]==="odd")),d[5]=+(d[7]+d[8]||d[3]==="odd")):d[3]&&Y.error(d[0]),d},PSEUDO:function(d){var y,x=!d[6]&&d[2];return et.CHILD.test(d[0])?null:(d[3]?d[2]=d[4]||d[5]||"":x&&vt.test(x)&&(y=Dn(x,!0))&&(y=x.indexOf(")",x.length-y)-x.length)&&(d[0]=d[0].slice(0,y),d[2]=x.slice(0,y)),d.slice(0,3))}},filter:{TAG:function(d){var y=d.replace(De,xe).toLowerCase();return d==="*"?function(){return!0}:function(x){return he(x,y)}},CLASS:function(d){var y=q[d+" "];return y||(y=new RegExp("(^|"+le+")"+d+"("+le+"|$)"))&&q(d,function(x){return y.test(typeof x.className=="string"&&x.className||typeof x.getAttribute<"u"&&x.getAttribute("class")||"")})},ATTR:function(d,y,x){return function(E){var S=Y.attr(E,d);return S==null?y==="!=":!y||(S+="",y==="="?S===x:y==="!="?S!==x:y==="^="?x&&S.indexOf(x)===0:y==="*="?x&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,i){return Z(t)?o.grep(e,function(r,s){return!!t.call(r,s,r)!==i}):t.nodeType?o.grep(e,function(r){return r===t!==i}):typeof t!="string"?o.grep(e,function(r){return-1)[^>]*|#([\w-]+))$/;(o.fn.init=function(e,t,i){var r,s;if(!e)return this;if(i=i||hn,typeof e=="string"){if(!(r=e[0]==="<"&&e[e.length-1]===">"&&3<=e.length?[null,e,null]:In.exec(e))||!r[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof o?t[0]:t,o.merge(this,o.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:G,!0)),xn.test(r[1])&&o.isPlainObject(t))for(r in t)Z(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(s=G.getElementById(r[2]))&&(this[0]=s,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):Z(e)?i.ready!==void 0?i.ready(e):e(o):o.makeArray(e,this)}).prototype=o.fn,hn=o(G);var Gt=/^(?:parents|prev(?:Until|All))/,Ze={children:!0,contents:!0,next:!0,prev:!0};function qt(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}o.fn.extend({has:function(e){var t=o(e,this),i=t.length;return this.filter(function(){for(var r=0;r\x20\t\r\n\f]*)/i,P=/^$|^module$|\/(?:java|ecma)script/i;_=G.createDocumentFragment().appendChild(G.createElement("div")),(O=G.createElement("input")).setAttribute("type","radio"),O.setAttribute("checked","checked"),O.setAttribute("name","t"),_.appendChild(O),ne.checkClone=_.cloneNode(!0).cloneNode(!0).lastChild.checked,_.innerHTML="",ne.noCloneChecked=!!_.cloneNode(!0).lastChild.defaultValue,_.innerHTML="",ne.option=!!_.lastChild;var j={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function F(e,t){var i;return i=typeof e.getElementsByTagName<"u"?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll<"u"?e.querySelectorAll(t||"*"):[],t===void 0||t&&he(e,t)?o.merge([e],i):i}function X(e,t){for(var i=0,r=e.length;i",""]);var R=/<|&#?\w+;/;function V(e,t,i,r,s){for(var l,u,f,h,b,T,C=t.createDocumentFragment(),w=[],L=0,q=e.length;L\s*$/g;function En(e,t){return he(e,"table")&&he(t.nodeType!==11?t:t.firstChild,"tr")&&o(e).children("tbody")[0]||e}function Yi(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function Ki(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Mn(e,t){var i,r,s,l,u,f;if(t.nodeType===1){if(z.hasData(e)&&(f=z.get(e).events))for(s in z.remove(t,"handle events"),f)for(i=0,r=f[s].length;i"u"?o.prop(e,t,i):(l===1&&o.isXMLDoc(e)||(s=o.attrHooks[t.toLowerCase()]||(o.expr.match.bool.test(t)?ot:void 0)),i!==void 0?i===null?void o.removeAttr(e,t):s&&"set"in s&&(r=s.set(e,i,t))!==void 0?r:(e.setAttribute(t,i+""),i):s&&"get"in s&&(r=s.get(e,t))!==null?r:(r=o.find.attr(e,t))==null?void 0:r)},attrHooks:{type:{set:function(e,t){if(!ne.radioValue&&t==="radio"&&he(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,r=0,s=t&&t.match(be);if(s&&e.nodeType===1)for(;i=s[r++];)e.removeAttribute(i)}}),ot={set:function(e,t,i){return t===!1?o.removeAttr(e,i):e.setAttribute(i,i),i}},o.each(o.expr.match.bool.source.match(/\w+/g),function(e,t){var i=vn[t]||o.find.attr;vn[t]=function(r,s,l){var u,f,h=s.toLowerCase();return l||(f=vn[h],vn[h]=u,u=i(r,s,l)!=null?h:null,vn[h]=f),u}});var Ti=/^(?:input|select|textarea|button)$/i,Ei=/^(?:a|area)$/i;function tn(e){return(e.match(be)||[]).join(" ")}function nn(e){return e.getAttribute&&e.getAttribute("class")||""}function Bn(e){return Array.isArray(e)?e:typeof e=="string"&&e.match(be)||[]}o.fn.extend({prop:function(e,t){return Fe(this,o.prop,e,t,1").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(l){t.remove(),i=null,l&&s(l.type==="error"?404:200,l.type)}),G.head.appendChild(t[0])},abort:function(){i&&i()}}});var Mi,Hi=[],Nt=/(=)\?(?=&|$)|\?\?/;o.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Hi.pop()||o.expando+"_"+Ci.guid++;return this[e]=!0,e}}),o.ajaxPrefilter("json jsonp",function(e,t,i){var r,s,l,u=e.jsonp!==!1&&(Nt.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Nt.test(e.data)&&"data");if(u||e.dataTypes[0]==="jsonp")return r=e.jsonpCallback=Z(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,u?e[u]=e[u].replace(Nt,"$1"+r):e.jsonp!==!1&&(e.url+=(Un.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return l||o.error(r+" was not called"),l[0]},e.dataTypes[0]="json",s=K[r],K[r]=function(){l=arguments},i.always(function(){s===void 0?o(K).removeProp(r):K[r]=s,e[r]&&(e.jsonpCallback=t.jsonpCallback,Hi.push(r)),l&&Z(s)&&s(l[0]),l=s=void 0}),"script"}),ne.createHTMLDocument=((Mi=G.implementation.createHTMLDocument("").body).innerHTML="
",Mi.childNodes.length===2),o.parseHTML=function(e,t,i){return typeof e!="string"?[]:(typeof t=="boolean"&&(i=t,t=!1),t||(ne.createHTMLDocument?((r=(t=G.implementation.createHTMLDocument("")).createElement("base")).href=G.location.href,t.head.appendChild(r)):t=G),l=!i&&[],(s=xn.exec(e))?[t.createElement(s[1])]:(s=V([e],t,l),l&&l.length&&o(l).remove(),o.merge([],s.childNodes)));var r,s,l},o.fn.load=function(e,t,i){var r,s,l,u=this,f=e.indexOf(" ");return-1").append(o.parseHTML(h)).find(r):h)}).always(i&&function(h,b){u.each(function(){i.apply(this,l||[h.responseText,b,h])})}),this},o.expr.pseudos.animated=function(e){return o.grep(o.timers,function(t){return e===t.elem}).length},o.offset={setOffset:function(e,t,i){var r,s,l,u,f,h,b=o.css(e,"position"),T=o(e),C={};b==="static"&&(e.style.position="relative"),f=T.offset(),l=o.css(e,"top"),h=o.css(e,"left"),(b==="absolute"||b==="fixed")&&-1<(l+h).indexOf("auto")?(u=(r=T.position()).top,s=r.left):(u=parseFloat(l)||0,s=parseFloat(h)||0),Z(t)&&(t=t.call(e,i,o.extend({},f))),t.top!=null&&(C.top=t.top-f.top+u),t.left!=null&&(C.left=t.left-f.left+s),"using"in t?t.using.call(e,C):T.css(C)}},o.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(s){o.offset.setOffset(this,e,s)});var t,i,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),i=r.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,r=this[0],s={top:0,left:0};if(o.css(r,"position")==="fixed")t=r.getBoundingClientRect();else{for(t=this.offset(),i=r.ownerDocument,e=r.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&o.css(e,"position")==="static";)e=e.parentNode;e&&e!==r&&e.nodeType===1&&((s=o(e).offset()).top+=o.css(e,"borderTopWidth",!0),s.left+=o.css(e,"borderLeftWidth",!0))}return{top:t.top-s.top-o.css(r,"marginTop",!0),left:t.left-s.left-o.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&o.css(e,"position")==="static";)e=e.offsetParent;return e||wt})}}),o.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var i=t==="pageYOffset";o.fn[e]=function(r){return Fe(this,function(s,l,u){var f;if(Oe(s)?f=s:s.nodeType===9&&(f=s.defaultView),u===void 0)return f?f[t]:s[l];f?f.scrollTo(i?f.pageXOffset:u,i?u:f.pageYOffset):s[l]=u},e,r,arguments.length)}}),o.each(["top","left"],function(e,t){o.cssHooks[t]=Bt(ne.pixelPosition,function(i,r){if(r)return r=mn(i,t),ti.test(r)?o(i).position()[t]+"px":r})}),o.each({Height:"height",Width:"width"},function(e,t){o.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,r){o.fn[r]=function(s,l){var u=arguments.length&&(i||typeof s!="boolean"),f=i||(s===!0||l===!0?"margin":"border");return Fe(this,function(h,b,T){var C;return Oe(h)?r.indexOf("outer")===0?h["inner"+e]:h.document.documentElement["client"+e]:h.nodeType===9?(C=h.documentElement,Math.max(h.body["scroll"+e],C["scroll"+e],h.body["offset"+e],C["offset"+e],C["client"+e])):T===void 0?o.css(h,b,f):o.style(h,b,T,f)},t,u?s:void 0,u)}})}),o.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){o.fn[t]=function(i){return this.on(t,i)}}),o.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,r){return this.on(t,e,i,r)},undelegate:function(e,t,i){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),o.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){o.fn[t]=function(i,r){return 0"u"&&(K.jQuery=K.$=o),o}),function(K,_e){typeof exports=="object"&&typeof module<"u"?module.exports=_e():typeof define=="function"&&define.amd?define(_e):K.Popper=_e()}(this,function(){"use strict";function K(c){return c&&{}.toString.call(c)==="[object Function]"}function _e(c,p){if(c.nodeType!==1)return[];var v=c.ownerDocument.defaultView,_=v.getComputedStyle(c,null);return p?_[p]:_}function ge(c){return c.nodeName==="HTML"?c:c.parentNode||c.host}function Ve(c){if(!c)return document.body;switch(c.nodeName){case"HTML":case"BODY":return c.ownerDocument.body;case"#document":return c.body}var p=_e(c),v=p.overflow,_=p.overflowX,O=p.overflowY;return/(auto|scroll|overlay)/.test(v+O+_)?c:Ve(ge(c))}function je(c){return c&&c.referenceNode?c.referenceNode:c}function ut(c){return c===11?He:c===10?$n:He||$n}function nt(c){if(!c)return document.documentElement;for(var p=ut(10)?document.body:null,v=c.offsetParent||null;v===p&&c.nextElementSibling;)v=(c=c.nextElementSibling).offsetParent;var _=v&&v.nodeName;return _&&_!=="BODY"&&_!=="HTML"?["TH","TD","TABLE"].indexOf(v.nodeName)!==-1&&_e(v,"position")==="static"?nt(v):v:c?c.ownerDocument.documentElement:document.documentElement}function dt(c){var p=c.nodeName;return p!=="BODY"&&(p==="HTML"||nt(c.firstElementChild)===c)}function kt(c){return c.parentNode===null?c:kt(c.parentNode)}function Xe(c,p){if(!c||!c.nodeType||!p||!p.nodeType)return document.documentElement;var v=c.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING,_=v?c:p,O=v?p:c,D=document.createRange();D.setStart(_,0),D.setEnd(O,0);var A=D.commonAncestorContainer;if(c!==A&&p!==A||_.contains(O))return dt(A)?A:nt(A);var P=kt(c);return P.host?Xe(P.host,p):Xe(c,kt(p).host)}function Le(c){var p=1=v.clientWidth&&oe>=v.clientHeight}),X=0"u"?global:window).PopperUtils,Ge.placements=wt,Ge.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(c){var p=c.placement,v=p.split("-")[0],_=p.split("-")[1];if(_){var O=c.offsets,D=O.reference,A=O.popper,P=["bottom","top"].indexOf(v)!==-1,j=P?"left":"top",F=P?"width":"height",X={start:We({},j,D[j]),end:We({},j,D[j]+D[F]-A[F])};c.offsets.popper=Ne({},A,X[_])}return c}},offset:{order:200,enabled:!0,fn,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(c,p){var v=p.boundariesElement||nt(c.instance.popper);c.instance.reference===v&&(v=nt(v));var _=Ft("transform"),O=c.instance.popper.style,D=O.top,A=O.left,P=O[_];O.top="",O.left="",O[_]="";var j=un(c.instance.popper,c.instance.reference,p.padding,v,c.positionFixed);O.top=D,O.left=A,O[_]=P,p.boundaries=j;var F=p.priority,X=c.offsets.popper,R={primary:function(V){var re=X[V];return X[V]j[V]&&!p.escapeWithReference&&(oe=Fe(X[re],j[V]-(V==="right"?X.width:X.height))),We({},re,oe)}};return F.forEach(function(V){var re=["left","top"].indexOf(V)===-1?"secondary":"primary";X=Ne({},X,R[re](V))}),c.offsets.popper=X,c},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(c){var p=c.offsets,v=p.popper,_=p.reference,O=c.placement.split("-")[0],D=pn,A=["top","bottom"].indexOf(O)!==-1,P=A?"right":"bottom",j=A?"left":"top",F=A?"width":"height";return v[P]D(_[P])&&(c.offsets.popper[j]=D(_[P])),c}},arrow:{order:500,enabled:!0,fn:function(c,p){var v;if(!ft(c.instance.modifiers,"arrow","keepTogether"))return c;var _=p.element;if(typeof _=="string"){if(_=c.instance.popper.querySelector(_),!_)return c}else if(!c.instance.popper.contains(_))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),c;var O=c.placement.split("-")[0],D=c.offsets,A=D.popper,P=D.reference,j=["left","right"].indexOf(O)!==-1,F=j?"height":"width",X=j?"Top":"Left",R=X.toLowerCase(),V=j?"left":"top",re=j?"bottom":"right",oe=Nn(_)[F];P[re]-oeA[re]&&(c.offsets.popper[R]+=P[R]+oe-A[re]),c.offsets.popper=Oe(c.offsets.popper);var Se=P[R]+P[F]/2-oe/2,it=_e(c.instance.popper),Be=parseFloat(it["margin"+X]),Pe=parseFloat(it["border"+X+"Width"]),Lt=Se-c.offsets.popper[R]-Be-Pe;return Lt=qe(Fe(A[F]-oe,Lt),0),c.arrowElement=_,c.offsets.arrow=(v={},We(v,R,Wt(Lt)),We(v,V,""),v),c},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(c,p){if(Je(c.instance.modifiers,"inner")||c.flipped&&c.placement===c.originalPlacement)return c;var v=un(c.instance.popper,c.instance.reference,p.padding,p.boundariesElement,c.positionFixed),_=c.placement.split("-")[0],O=Ht(_),D=c.placement.split("-")[1]||"",A=[];switch(p.behavior){case xt.FLIP:A=[_,O];break;case xt.CLOCKWISE:A=Rt(_);break;case xt.COUNTERCLOCKWISE:A=Rt(_,!0);break;default:A=p.behavior}return A.forEach(function(P,j){if(_!==P||A.length===j+1)return c;_=c.placement.split("-")[0],O=Ht(_);var F=c.offsets.popper,X=c.offsets.reference,R=pn,V=_==="left"&&R(F.right)>R(X.left)||_==="right"&&R(F.left)R(X.top)||_==="bottom"&&R(F.top)R(v.right),Se=R(F.top)R(v.bottom),Be=_==="left"&&re||_==="right"&&oe||_==="top"&&Se||_==="bottom"&&it,Pe=["top","bottom"].indexOf(_)!==-1,Lt=!!p.flipVariations&&(Pe&&D==="start"&&re||Pe&&D==="end"&&oe||!Pe&&D==="start"&&Se||!Pe&&D==="end"&&it),ei=!!p.flipVariationsByContent&&(Pe&&D==="start"&&oe||Pe&&D==="end"&&re||!Pe&&D==="start"&&it||!Pe&&D==="end"&&Se),En=Lt||ei;(V||Be||En)&&(c.flipped=!0,(V||Be)&&(_=A[j+1]),En&&(D=U(D)),c.placement=_+(D?"-"+D:""),c.offsets.popper=Ne({},c.offsets.popper,bn(c.instance.popper,c.offsets.reference,c.placement)),c=_n(c.instance.modifiers,c,"flip"))}),c},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(c){var p=c.placement,v=p.split("-")[0],_=c.offsets,O=_.popper,D=_.reference,A=["left","right"].indexOf(v)!==-1,P=["top","left"].indexOf(v)===-1;return O[A?"left":"top"]=D[v]-(P?O[A?"width":"height"]:0),c.placement=Ht(p),c.offsets.popper=Oe(O),c}},hide:{order:800,enabled:!0,fn:function(c){if(!ft(c.instance.modifiers,"hide","preventOverflow"))return c;var p=c.offsets.reference,v=le(c.instance.modifiers,function(_){return _.name==="preventOverflow"}).boundaries;if(p.bottomv.right||p.top>v.bottom||p.rightwindow.devicePixelRatio||!pt),re=v==="bottom"?"top":"bottom",oe=_==="right"?"left":"right",Se=Ft("transform");if(P=re=="bottom"?F.nodeName==="HTML"?-F.clientHeight+V.bottom:-X.height+V.bottom:V.top,A=oe=="right"?F.nodeName==="HTML"?-F.clientWidth+V.right:-X.width+V.right:V.left,j&&Se)R[Se]="translate3d("+A+"px, "+P+"px, 0)",R[re]=0,R[oe]=0,R.willChange="transform";else{var it=re=="bottom"?-1:1,Be=oe=="right"?-1:1;R[re]=P*it,R[oe]=A*Be,R.willChange=re+", "+oe}var Pe={"x-placement":c.placement};return c.attributes=Ne({},Pe,c.attributes),c.styles=Ne({},R,c.styles),c.arrowStyles=Ne({},c.offsets.arrow,c.arrowStyles),c},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(c){return Ze(c.instance.popper,c.styles),qt(c.instance.popper,c.attributes),c.arrowElement&&Object.keys(c.arrowStyles).length&&Ze(c.arrowElement,c.arrowStyles),c},onLoad:function(c,p,v,_,O){var D=he(O,p,c,v.positionFixed),A=dn(v.placement,D,p,c,v.modifiers.flip.boundariesElement,v.modifiers.flip.padding);return p.setAttribute("x-placement",A),Ze(p,{position:v.positionFixed?"fixed":"absolute"}),v},gpuAcceleration:void 0}}},Ge});/*! * Bootstrap v5.3.8 (https://getbootstrap.com/) * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */(function(K,_e){typeof exports=="object"&&typeof module<"u"?module.exports=_e(require("@popperjs/core")):typeof define=="function"&&define.amd?define(["@popperjs/core"],_e):(K=typeof globalThis<"u"?globalThis:K||self).bootstrap=_e(K.Popper)})(this,function(K){"use strict";function _e(g){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(g){for(const a in g)if(a!=="default"){const m=Object.getOwnPropertyDescriptor(g,a);Object.defineProperty(n,a,m.get?m:{enumerable:!0,get:()=>g[a]})}}return n.default=g,Object.freeze(n)}const ge=_e(K),Ve=new Map,je={set(g,n,a){Ve.has(g)||Ve.set(g,new Map);const m=Ve.get(g);m.has(n)||m.size===0?m.set(n,a):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(m.keys())[0]}.`)},get:(g,n)=>Ve.has(g)&&Ve.get(g).get(n)||null,remove(g,n){if(!Ve.has(g))return;const a=Ve.get(g);a.delete(n),a.size===0&&Ve.delete(g)}},ut="transitionend",nt=g=>(g&&window.CSS&&window.CSS.escape&&(g=g.replace(/#([^\s"#']+)/g,(n,a)=>`#${CSS.escape(a)}`)),g),dt=g=>g==null?`${g}`:Object.prototype.toString.call(g).match(/\s([a-z]+)/i)[1].toLowerCase(),kt=g=>{g.dispatchEvent(new Event(ut))},Xe=g=>!(!g||typeof g!="object")&&(g.jquery!==void 0&&(g=g[0]),g.nodeType!==void 0),Le=g=>Xe(g)?g.jquery?g[0]:g:typeof g=="string"&&g.length>0?document.querySelector(nt(g)):null,St=g=>{if(!Xe(g)||g.getClientRects().length===0)return!1;const n=getComputedStyle(g).getPropertyValue("visibility")==="visible",a=g.closest("details:not([open])");if(!a)return n;if(a!==g){const m=g.closest("summary");if(m&&m.parentNode!==a||m===null)return!1}return n},ht=g=>!g||g.nodeType!==Node.ELEMENT_NODE||!!g.classList.contains("disabled")||(g.disabled!==void 0?g.disabled:g.hasAttribute("disabled")&&g.getAttribute("disabled")!=="false"),ne=g=>{if(!document.documentElement.attachShadow)return null;if(typeof g.getRootNode=="function"){const n=g.getRootNode();return n instanceof ShadowRoot?n:null}return g instanceof ShadowRoot?g:g.parentNode?ne(g.parentNode):null},Z=()=>{},Oe=g=>{g.offsetHeight},G=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Yt=[],Ye=()=>document.documentElement.dir==="rtl",ke=g=>{var n;n=()=>{const a=G();if(a){const m=g.NAME,k=a.fn[m];a.fn[m]=g.jQueryInterface,a.fn[m].Constructor=g,a.fn[m].noConflict=()=>(a.fn[m]=k,g.jQueryInterface)}},document.readyState==="loading"?(Yt.length||document.addEventListener("DOMContentLoaded",()=>{for(const a of Yt)a()}),Yt.push(n)):n()},Ie=(g,n=[],a=g)=>typeof g=="function"?g.call(...n):a,un=(g,n,a=!0)=>{if(!a)return void Ie(g);const m=(B=>{if(!B)return 0;let{transitionDuration:de,transitionDelay:Ae}=window.getComputedStyle(B);const ct=Number.parseFloat(de),_t=Number.parseFloat(Ae);return ct||_t?(de=de.split(",")[0],Ae=Ae.split(",")[0],1e3*(Number.parseFloat(de)+Number.parseFloat(Ae))):0})(n)+5;let k=!1;const I=({target:B})=>{B===n&&(k=!0,n.removeEventListener(ut,I),Ie(g))};n.addEventListener(ut,I),setTimeout(()=>{k||kt(n)},m)},o=(g,n,a,m)=>{const k=g.length;let I=g.indexOf(n);return I===-1?!a&&m?g[k-1]:g[0]:(I+=a?1:-1,m&&(I=(I+k)%k),g[Math.max(0,Math.min(I,k-1))])},dn=/[^.]*(?=\..*)\.|.*/,he=/\..*/,Nn=/::\d+$/,Ht={};let bn=1;const le={mouseenter:"mouseover",mouseleave:"mouseout"},Kt=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function _n(g,n){return n&&`${n}::${bn++}`||g.uidEvent||bn++}function jn(g){const n=_n(g);return g.uidEvent=n,Ht[n]=Ht[n]||{},Ht[n]}function Je(g,n,a=null){return Object.values(g).find(m=>m.callable===n&&m.delegationSelector===a)}function Ft(g,n,a){const m=typeof n=="string",k=m?a:n||a;let I=xn(g);return Kt.has(I)||(I=g),[m,k,I]}function Dt(g,n,a,m,k){if(typeof n!="string"||!g)return;let[I,B,de]=Ft(n,a,m);n in le&&(B=(Ln=>function(Mt){if(!Mt.relatedTarget||Mt.relatedTarget!==Mt.delegateTarget&&!Mt.delegateTarget.contains(Mt.relatedTarget))return Ln.call(this,Mt)})(B));const Ae=jn(g),ct=Ae[de]||(Ae[de]={}),_t=Je(ct,B,I?a:null);if(_t)return void(_t.oneOff=_t.oneOff&&k);const $t=_n(B,n.replace(dn,"")),ln=I?function(cn,Ln,Mt){return function gi(Xi){const or=cn.querySelectorAll(Ln);for(let{target:On}=Xi;On&&On!==this;On=On.parentNode)for(const sr of or)if(sr===On)return hn(Xi,{delegateTarget:On}),gi.oneOff&&N.off(cn,Xi.type,Ln,Mt),Mt.apply(On,[Xi])}}(g,a,B):function(cn,Ln){return function Mt(gi){return hn(gi,{delegateTarget:cn}),Mt.oneOff&&N.off(cn,gi.type,Ln),Ln.apply(cn,[gi])}}(g,B);ln.delegationSelector=I?a:null,ln.callable=B,ln.oneOff=k,ln.uidEvent=$t,ct[$t]=ln,g.addEventListener(de,ln,I)}function Qt(g,n,a,m,k){const I=Je(n[a],m,k);I&&(g.removeEventListener(a,I,!!k),delete n[a][I.uidEvent])}function wn(g,n,a,m){const k=n[a]||{};for(const[I,B]of Object.entries(k))I.includes(m)&&Qt(g,n,a,B.callable,B.delegationSelector)}function xn(g){return g=g.replace(he,""),le[g]||g}const N={on(g,n,a,m){Dt(g,n,a,m,!1)},one(g,n,a,m){Dt(g,n,a,m,!0)},off(g,n,a,m){if(typeof n!="string"||!g)return;const[k,I,B]=Ft(n,a,m),de=B!==n,Ae=jn(g),ct=Ae[B]||{},_t=n.startsWith(".");if(I===void 0){if(_t)for(const $t of Object.keys(Ae))wn(g,Ae,$t,n.slice(1));for(const[$t,ln]of Object.entries(ct)){const cn=$t.replace(Nn,"");de&&!n.includes(cn)||Qt(g,Ae,B,ln.callable,ln.delegationSelector)}}else{if(!Object.keys(ct).length)return;Qt(g,Ae,B,I,k?a:null)}},trigger(g,n,a){if(typeof n!="string"||!g)return null;const m=G();let k=null,I=!0,B=!0,de=!1;n!==xn(n)&&m&&(k=m.Event(n,a),m(g).trigger(k),I=!k.isPropagationStopped(),B=!k.isImmediatePropagationStopped(),de=k.isDefaultPrevented());const Ae=hn(new Event(n,{bubbles:I,cancelable:!0}),a);return de&&Ae.preventDefault(),B&&g.dispatchEvent(Ae),Ae.defaultPrevented&&k&&k.preventDefault(),Ae}};function hn(g,n={}){for(const[a,m]of Object.entries(n))try{g[a]=m}catch{Object.defineProperty(g,a,{configurable:!0,get:()=>m})}return g}function In(g){if(g==="true")return!0;if(g==="false")return!1;if(g===Number(g).toString())return Number(g);if(g===""||g==="null")return null;if(typeof g!="string")return g;try{return JSON.parse(decodeURIComponent(g))}catch{return g}}function Gt(g){return g.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}const Ze={setDataAttribute(g,n,a){g.setAttribute(`data-bs-${Gt(n)}`,a)},removeDataAttribute(g,n){g.removeAttribute(`data-bs-${Gt(n)}`)},getDataAttributes(g){if(!g)return{};const n={},a=Object.keys(g.dataset).filter(m=>m.startsWith("bs")&&!m.startsWith("bsConfig"));for(const m of a){let k=m.replace(/^bs/,"");k=k.charAt(0).toLowerCase()+k.slice(1),n[k]=In(g.dataset[m])}return n},getDataAttribute:(g,n)=>In(g.getAttribute(`data-bs-${Gt(n)}`))};class qt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(n){return n=this._mergeConfigObj(n),n=this._configAfterMerge(n),this._typeCheckConfig(n),n}_configAfterMerge(n){return n}_mergeConfigObj(n,a){const m=Xe(a)?Ze.getDataAttribute(a,"config"):{};return{...this.constructor.Default,...typeof m=="object"?m:{},...Xe(a)?Ze.getDataAttributes(a):{},...typeof n=="object"?n:{}}}_typeCheckConfig(n,a=this.constructor.DefaultType){for(const[m,k]of Object.entries(a)){const I=n[m],B=Xe(I)?"element":dt(I);if(!new RegExp(k).test(B))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${m}" provided type "${B}" but expected type "${k}".`)}}}class be extends qt{constructor(n,a){super(),(n=Le(n))&&(this._element=n,this._config=this._getConfig(a),je.set(this._element,this.constructor.DATA_KEY,this))}dispose(){je.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY);for(const n of Object.getOwnPropertyNames(this))this[n]=null}_queueCallback(n,a,m=!0){un(n,a,m)}_getConfig(n){return n=this._mergeConfigObj(n,this._element),n=this._configAfterMerge(n),this._typeCheckConfig(n),n}static getInstance(n){return je.get(Le(n),this.DATA_KEY)}static getOrCreateInstance(n,a={}){return this.getInstance(n)||new this(n,typeof a=="object"?a:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(n){return`${n}${this.EVENT_KEY}`}}const ft=g=>{let n=g.getAttribute("data-bs-target");if(!n||n==="#"){let a=g.getAttribute("href");if(!a||!a.includes("#")&&!a.startsWith("."))return null;a.includes("#")&&!a.startsWith("#")&&(a=`#${a.split("#")[1]}`),n=a&&a!=="#"?a.trim():null}return n?n.split(",").map(a=>nt(a)).join(","):null},U={find:(g,n=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(n,g)),findOne:(g,n=document.documentElement)=>Element.prototype.querySelector.call(n,g),children:(g,n)=>[].concat(...g.children).filter(a=>a.matches(n)),parents(g,n){const a=[];let m=g.parentNode.closest(n);for(;m;)a.push(m),m=m.parentNode.closest(n);return a},prev(g,n){let a=g.previousElementSibling;for(;a;){if(a.matches(n))return[a];a=a.previousElementSibling}return[]},next(g,n){let a=g.nextElementSibling;for(;a;){if(a.matches(n))return[a];a=a.nextElementSibling}return[]},focusableChildren(g){const n=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(a=>`${a}:not([tabindex^="-"])`).join(",");return this.find(n,g).filter(a=>!ht(a)&&St(a))},getSelectorFromElement(g){const n=ft(g);return n&&U.findOne(n)?n:null},getElementFromSelector(g){const n=ft(g);return n?U.findOne(n):null},getMultipleElementsFromSelector(g){const n=ft(g);return n?U.find(n):[]}},Rt=(g,n="hide")=>{const a=`click.dismiss${g.EVENT_KEY}`,m=g.NAME;N.on(document,a,`[data-bs-dismiss="${m}"]`,function(k){if(["A","AREA"].includes(this.tagName)&&k.preventDefault(),ht(this))return;const I=U.getElementFromSelector(this)||this.closest(`.${m}`);g.getOrCreateInstance(I)[n]()})},Pn=".bs.alert",Tn=`close${Pn}`,fn=`closed${Pn}`;class Fe extends be{static get NAME(){return"alert"}close(){if(N.trigger(this._element,Tn).defaultPrevented)return;this._element.classList.remove("show");const n=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),N.trigger(this._element,fn),this.dispose()}static jQueryInterface(n){return this.each(function(){const a=Fe.getOrCreateInstance(this);if(typeof n=="string"){if(a[n]===void 0||n.startsWith("_")||n==="constructor")throw new TypeError(`No method named "${n}"`);a[n](this)}})}}Rt(Fe,"close"),ke(Fe);const pn='[data-bs-toggle="button"]';class Wt extends be{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(n){return this.each(function(){const a=Wt.getOrCreateInstance(this);n==="toggle"&&a[n]()})}}N.on(document,"click.bs.button.data-api",pn,g=>{g.preventDefault();const n=g.target.closest(pn);Wt.getOrCreateInstance(n).toggle()}),ke(Wt);const qe=".bs.swipe",Re=`touchstart${qe}`,Jt=`touchmove${qe}`,Zt=`touchend${qe}`,z=`pointerdown${qe}`,He=`pointerup${qe}`,$n={endCallback:null,leftCallback:null,rightCallback:null},Zn={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class en extends qt{constructor(n,a){super(),this._element=n,n&&en.isSupported()&&(this._config=this._getConfig(a),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return $n}static get DefaultType(){return Zn}static get NAME(){return"swipe"}dispose(){N.off(this._element,qe)}_start(n){this._supportPointerEvents?this._eventIsPointerPenTouch(n)&&(this._deltaX=n.clientX):this._deltaX=n.touches[0].clientX}_end(n){this._eventIsPointerPenTouch(n)&&(this._deltaX=n.clientX-this._deltaX),this._handleSwipe(),Ie(this._config.endCallback)}_move(n){this._deltaX=n.touches&&n.touches.length>1?0:n.touches[0].clientX-this._deltaX}_handleSwipe(){const n=Math.abs(this._deltaX);if(n<=40)return;const a=n/this._deltaX;this._deltaX=0,a&&Ie(a>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(N.on(this._element,z,n=>this._start(n)),N.on(this._element,He,n=>this._end(n)),this._element.classList.add("pointer-event")):(N.on(this._element,Re,n=>this._start(n)),N.on(this._element,Jt,n=>this._move(n)),N.on(this._element,Zt,n=>this._end(n)))}_eventIsPointerPenTouch(n){return this._supportPointerEvents&&(n.pointerType==="pen"||n.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const We=".bs.carousel",Ne=".data-api",pt="ArrowLeft",wt="ArrowRight",Qe="next",xt="prev",Ge="left",c="right",p=`slide${We}`,v=`slid${We}`,_=`keydown${We}`,O=`mouseenter${We}`,D=`mouseleave${We}`,A=`dragstart${We}`,P=`load${We}${Ne}`,j=`click${We}${Ne}`,F="carousel",X="active",R=".active",V=".carousel-item",re=R+V,oe={[pt]:c,[wt]:Ge},Se={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},it={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Be extends be{constructor(n,a){super(n,a),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=U.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===F&&this.cycle()}static get Default(){return Se}static get DefaultType(){return it}static get NAME(){return"carousel"}next(){this._slide(Qe)}nextWhenVisible(){!document.hidden&&St(this._element)&&this.next()}prev(){this._slide(xt)}pause(){this._isSliding&&kt(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?N.one(this._element,v,()=>this.cycle()):this.cycle())}to(n){const a=this._getItems();if(n>a.length-1||n<0)return;if(this._isSliding)return void N.one(this._element,v,()=>this.to(n));const m=this._getItemIndex(this._getActive());if(m===n)return;const k=n>m?Qe:xt;this._slide(k,a[n])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(n){return n.defaultInterval=n.interval,n}_addEventListeners(){this._config.keyboard&&N.on(this._element,_,n=>this._keydown(n)),this._config.pause==="hover"&&(N.on(this._element,O,()=>this.pause()),N.on(this._element,D,()=>this._maybeEnableCycle())),this._config.touch&&en.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const a of U.find(".carousel-item img",this._element))N.on(a,A,m=>m.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Ge)),rightCallback:()=>this._slide(this._directionToOrder(c)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new en(this._element,n)}_keydown(n){if(/input|textarea/i.test(n.target.tagName))return;const a=oe[n.key];a&&(n.preventDefault(),this._slide(this._directionToOrder(a)))}_getItemIndex(n){return this._getItems().indexOf(n)}_setActiveIndicatorElement(n){if(!this._indicatorsElement)return;const a=U.findOne(R,this._indicatorsElement);a.classList.remove(X),a.removeAttribute("aria-current");const m=U.findOne(`[data-bs-slide-to="${n}"]`,this._indicatorsElement);m&&(m.classList.add(X),m.setAttribute("aria-current","true"))}_updateInterval(){const n=this._activeElement||this._getActive();if(!n)return;const a=Number.parseInt(n.getAttribute("data-bs-interval"),10);this._config.interval=a||this._config.defaultInterval}_slide(n,a=null){if(this._isSliding)return;const m=this._getActive(),k=n===Qe,I=a||o(this._getItems(),m,k,this._config.wrap);if(I===m)return;const B=this._getItemIndex(I),de=$t=>N.trigger(this._element,$t,{relatedTarget:I,direction:this._orderToDirection(n),from:this._getItemIndex(m),to:B});if(de(p).defaultPrevented||!m||!I)return;const Ae=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(B),this._activeElement=I;const ct=k?"carousel-item-start":"carousel-item-end",_t=k?"carousel-item-next":"carousel-item-prev";I.classList.add(_t),Oe(I),m.classList.add(ct),I.classList.add(ct),this._queueCallback(()=>{I.classList.remove(ct,_t),I.classList.add(X),m.classList.remove(X,_t,ct),this._isSliding=!1,de(v)},m,this._isAnimated()),Ae&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return U.findOne(re,this._element)}_getItems(){return U.find(V,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(n){return Ye()?n===Ge?xt:Qe:n===Ge?Qe:xt}_orderToDirection(n){return Ye()?n===xt?Ge:c:n===xt?c:Ge}static jQueryInterface(n){return this.each(function(){const a=Be.getOrCreateInstance(this,n);if(typeof n!="number"){if(typeof n=="string"){if(a[n]===void 0||n.startsWith("_")||n==="constructor")throw new TypeError(`No method named "${n}"`);a[n]()}}else a.to(n)})}}N.on(document,j,"[data-bs-slide], [data-bs-slide-to]",function(g){const n=U.getElementFromSelector(this);if(!n||!n.classList.contains(F))return;g.preventDefault();const a=Be.getOrCreateInstance(n),m=this.getAttribute("data-bs-slide-to");return m?(a.to(m),void a._maybeEnableCycle()):Ze.getDataAttribute(this,"slide")==="next"?(a.next(),void a._maybeEnableCycle()):(a.prev(),void a._maybeEnableCycle())}),N.on(window,P,()=>{const g=U.find('[data-bs-ride="carousel"]');for(const n of g)Be.getOrCreateInstance(n)}),ke(Be);const Pe=".bs.collapse",Lt=`show${Pe}`,ei=`shown${Pe}`,En=`hide${Pe}`,Yi=`hidden${Pe}`,Ki=`click${Pe}.data-api`,Mn="show",gt="collapse",Cn="collapsing",ti=`:scope .${gt} .${gt}`,An='[data-bs-toggle="collapse"]',Hn={parent:null,toggle:!0},mi={parent:"(null|element)",toggle:"boolean"};class gn extends be{constructor(n,a){super(n,a),this._isTransitioning=!1,this._triggerArray=[];const m=U.find(An);for(const k of m){const I=U.getSelectorFromElement(k),B=U.find(I).filter(de=>de===this._element);I!==null&&B.length&&this._triggerArray.push(k)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Hn}static get DefaultType(){return mi}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let n=[];if(this._config.parent&&(n=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(k=>k!==this._element).map(k=>gn.getOrCreateInstance(k,{toggle:!1}))),n.length&&n[0]._isTransitioning||N.trigger(this._element,Lt).defaultPrevented)return;for(const k of n)k.hide();const a=this._getDimension();this._element.classList.remove(gt),this._element.classList.add(Cn),this._element.style[a]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const m=`scroll${a[0].toUpperCase()+a.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Cn),this._element.classList.add(gt,Mn),this._element.style[a]="",N.trigger(this._element,ei)},this._element,!0),this._element.style[a]=`${this._element[m]}px`}hide(){if(this._isTransitioning||!this._isShown()||N.trigger(this._element,En).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Oe(this._element),this._element.classList.add(Cn),this._element.classList.remove(gt,Mn);for(const a of this._triggerArray){const m=U.getElementFromSelector(a);m&&!this._isShown(m)&&this._addAriaAndCollapsedClass([a],!1)}this._isTransitioning=!0,this._element.style[n]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Cn),this._element.classList.add(gt),N.trigger(this._element,Yi)},this._element,!0)}_isShown(n=this._element){return n.classList.contains(Mn)}_configAfterMerge(n){return n.toggle=!!n.toggle,n.parent=Le(n.parent),n}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const n=this._getFirstLevelChildren(An);for(const a of n){const m=U.getElementFromSelector(a);m&&this._addAriaAndCollapsedClass([a],this._isShown(m))}}_getFirstLevelChildren(n){const a=U.find(ti,this._config.parent);return U.find(n,this._config.parent).filter(m=>!a.includes(m))}_addAriaAndCollapsedClass(n,a){if(n.length)for(const m of n)m.classList.toggle("collapsed",!a),m.setAttribute("aria-expanded",a)}static jQueryInterface(n){const a={};return typeof n=="string"&&/show|hide/.test(n)&&(a.toggle=!1),this.each(function(){const m=gn.getOrCreateInstance(this,a);if(typeof n=="string"){if(m[n]===void 0)throw new TypeError(`No method named "${n}"`);m[n]()}})}}N.on(document,Ki,An,function(g){(g.target.tagName==="A"||g.delegateTarget&&g.delegateTarget.tagName==="A")&&g.preventDefault();for(const n of U.getMultipleElementsFromSelector(this))gn.getOrCreateInstance(n,{toggle:!1}).toggle()}),ke(gn);const mn="dropdown",Bt=".bs.dropdown",Fn=".data-api",vi="ArrowUp",ni="ArrowDown",ii=`hide${Bt}`,Qi=`hidden${Bt}`,Gi=`show${Bt}`,yi=`shown${Bt}`,ri=`click${Bt}${Fn}`,qn=`keydown${Bt}${Fn}`,bi=`keyup${Bt}${Fn}`,ze="show",rt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Rn=`${rt}.${ze}`,Ot=".dropdown-menu",_i=Ye()?"top-end":"top-start",Ji=Ye()?"top-start":"top-end",Zi=Ye()?"bottom-end":"bottom-start",oi=Ye()?"bottom-start":"bottom-end",wi=Ye()?"left-start":"right-start",Wn=Ye()?"right-start":"left-start",xi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},mt={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ot extends be{constructor(n,a){super(n,a),this._popper=null,this._parent=this._element.parentNode,this._menu=U.next(this._element,Ot)[0]||U.prev(this._element,Ot)[0]||U.findOne(Ot,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return xi}static get DefaultType(){return mt}static get NAME(){return mn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ht(this._element)||this._isShown())return;const n={relatedTarget:this._element};if(!N.trigger(this._element,Gi,n).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const a of[].concat(...document.body.children))N.on(a,"mouseover",Z);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ze),this._element.classList.add(ze),N.trigger(this._element,yi,n)}}hide(){if(ht(this._element)||!this._isShown())return;const n={relatedTarget:this._element};this._completeHide(n)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(n){if(!N.trigger(this._element,ii,n).defaultPrevented){if("ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))N.off(a,"mouseover",Z);this._popper&&this._popper.destroy(),this._menu.classList.remove(ze),this._element.classList.remove(ze),this._element.setAttribute("aria-expanded","false"),Ze.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,Qi,n)}}_getConfig(n){if(typeof(n=super._getConfig(n)).reference=="object"&&!Xe(n.reference)&&typeof n.reference.getBoundingClientRect!="function")throw new TypeError(`${mn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return n}_createPopper(){if(ge===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let n=this._element;this._config.reference==="parent"?n=this._parent:Xe(this._config.reference)?n=Le(this._config.reference):typeof this._config.reference=="object"&&(n=this._config.reference);const a=this._getPopperConfig();this._popper=ge.createPopper(n,this._menu,a)}_isShown(){return this._menu.classList.contains(ze)}_getPlacement(){const n=this._parent;if(n.classList.contains("dropend"))return wi;if(n.classList.contains("dropstart"))return Wn;if(n.classList.contains("dropup-center"))return"top";if(n.classList.contains("dropdown-center"))return"bottom";const a=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return n.classList.contains("dropup")?a?Ji:_i:a?oi:Zi}_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:n}=this._config;return typeof n=="string"?n.split(",").map(a=>Number.parseInt(a,10)):typeof n=="function"?a=>n(a,this._element):n}_getPopperConfig(){const n={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Ze.setDataAttribute(this._menu,"popper","static"),n.modifiers=[{name:"applyStyles",enabled:!1}]),{...n,...Ie(this._config.popperConfig,[void 0,n])}}_selectMenuItem({key:n,target:a}){const m=U.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(k=>St(k));m.length&&o(m,a,n===ni,!m.includes(a)).focus()}static jQueryInterface(n){return this.each(function(){const a=ot.getOrCreateInstance(this,n);if(typeof n=="string"){if(a[n]===void 0)throw new TypeError(`No method named "${n}"`);a[n]()}})}static clearMenus(n){if(n.button===2||n.type==="keyup"&&n.key!=="Tab")return;const a=U.find(Rn);for(const m of a){const k=ot.getInstance(m);if(!k||k._config.autoClose===!1)continue;const I=n.composedPath(),B=I.includes(k._menu);if(I.includes(k._element)||k._config.autoClose==="inside"&&!B||k._config.autoClose==="outside"&&B||k._menu.contains(n.target)&&(n.type==="keyup"&&n.key==="Tab"||/input|select|option|textarea|form/i.test(n.target.tagName)))continue;const de={relatedTarget:k._element};n.type==="click"&&(de.clickEvent=n),k._completeHide(de)}}static dataApiKeydownHandler(n){const a=/input|textarea/i.test(n.target.tagName),m=n.key==="Escape",k=[vi,ni].includes(n.key);if(!k&&!m||a&&!m)return;n.preventDefault();const I=this.matches(rt)?this:U.prev(this,rt)[0]||U.next(this,rt)[0]||U.findOne(rt,n.delegateTarget.parentNode),B=ot.getOrCreateInstance(I);if(k)return n.stopPropagation(),B.show(),void B._selectMenuItem(n);B._isShown()&&(n.stopPropagation(),B.hide(),I.focus())}}N.on(document,qn,rt,ot.dataApiKeydownHandler),N.on(document,qn,Ot,ot.dataApiKeydownHandler),N.on(document,ri,ot.clearMenus),N.on(document,bi,ot.clearMenus),N.on(document,ri,rt,function(g){g.preventDefault(),ot.getOrCreateInstance(this).toggle()}),ke(ot);const vn="backdrop",Ti="show",Ei=`mousedown.bs.${vn}`,tn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},nn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Bn extends qt{constructor(n){super(),this._config=this._getConfig(n),this._isAppended=!1,this._element=null}static get Default(){return tn}static get DefaultType(){return nn}static get NAME(){return vn}show(n){if(!this._config.isVisible)return void Ie(n);this._append();const a=this._getElement();this._config.isAnimated&&Oe(a),a.classList.add(Ti),this._emulateAnimation(()=>{Ie(n)})}hide(n){this._config.isVisible?(this._getElement().classList.remove(Ti),this._emulateAnimation(()=>{this.dispose(),Ie(n)})):Ie(n)}dispose(){this._isAppended&&(N.off(this._element,Ei),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const n=document.createElement("div");n.className=this._config.className,this._config.isAnimated&&n.classList.add("fade"),this._element=n}return this._element}_configAfterMerge(n){return n.rootElement=Le(n.rootElement),n}_append(){if(this._isAppended)return;const n=this._getElement();this._config.rootElement.append(n),N.on(n,Ei,()=>{Ie(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(n){un(n,this._getElement(),this._config.isAnimated)}}const zn=".bs.focustrap",kn=`focusin${zn}`,Ci=`keydown.tab${zn}`,Un="backward",Ai={autofocus:!0,trapElement:null},ki={autofocus:"boolean",trapElement:"element"};class Si extends qt{constructor(n){super(),this._config=this._getConfig(n),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ai}static get DefaultType(){return ki}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,zn),N.on(document,kn,n=>this._handleFocusin(n)),N.on(document,Ci,n=>this._handleKeydown(n)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,zn))}_handleFocusin(n){const{trapElement:a}=this._config;if(n.target===document||n.target===a||a.contains(n.target))return;const m=U.focusableChildren(a);m.length===0?a.focus():this._lastTabNavDirection===Un?m[m.length-1].focus():m[0].focus()}_handleKeydown(n){n.key==="Tab"&&(this._lastTabNavDirection=n.shiftKey?Un:"forward")}}const si=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Di=".sticky-top",Vn="padding-right",Xn="margin-right";class ai{constructor(){this._element=document.body}getWidth(){const n=document.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}hide(){const n=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Vn,a=>a+n),this._setElementAttributes(si,Vn,a=>a+n),this._setElementAttributes(Di,Xn,a=>a-n)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Vn),this._resetElementAttributes(si,Vn),this._resetElementAttributes(Di,Xn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(n,a,m){const k=this.getWidth();this._applyManipulationCallback(n,I=>{if(I!==this._element&&window.innerWidth>I.clientWidth+k)return;this._saveInitialAttribute(I,a);const B=window.getComputedStyle(I).getPropertyValue(a);I.style.setProperty(a,`${m(Number.parseFloat(B))}px`)})}_saveInitialAttribute(n,a){const m=n.style.getPropertyValue(a);m&&Ze.setDataAttribute(n,a,m)}_resetElementAttributes(n,a){this._applyManipulationCallback(n,m=>{const k=Ze.getDataAttribute(m,a);k!==null?(Ze.removeDataAttribute(m,a),m.style.setProperty(a,k)):m.style.removeProperty(a)})}_applyManipulationCallback(n,a){if(Xe(n))a(n);else for(const m of U.find(n,this._element))a(m)}}const st=".bs.modal",er=`hide${st}`,tr=`hidePrevented${st}`,Li=`hidden${st}`,Oi=`show${st}`,Ni=`shown${st}`,li=`resize${st}`,ji=`click.dismiss${st}`,ci=`mousedown.dismiss${st}`,Ii=`keydown.dismiss${st}`,Pi=`click${st}.data-api`,Yn="modal-open",$i="show",rn="modal-static",Mi={backdrop:!0,focus:!0,keyboard:!0},Hi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Nt extends be{constructor(n,a){super(n,a),this._dialog=U.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ai,this._addEventListeners()}static get Default(){return Mi}static get DefaultType(){return Hi}static get NAME(){return"modal"}toggle(n){return this._isShown?this.hide():this.show(n)}show(n){this._isShown||this._isTransitioning||N.trigger(this._element,Oi,{relatedTarget:n}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Yn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(n)))}hide(){this._isShown&&!this._isTransitioning&&(N.trigger(this._element,er).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove($i),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){N.off(window,st),N.off(this._dialog,st),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Bn({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Si({trapElement:this._element})}_showElement(n){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const a=U.findOne(".modal-body",this._dialog);a&&(a.scrollTop=0),Oe(this._element),this._element.classList.add($i),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,Ni,{relatedTarget:n})},this._dialog,this._isAnimated())}_addEventListeners(){N.on(this._element,Ii,n=>{n.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),N.on(window,li,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),N.on(this._element,ci,n=>{N.one(this._element,ji,a=>{this._element===n.target&&this._element===a.target&&(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Yn),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,Li)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(N.trigger(this._element,tr).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,a=this._element.style.overflowY;a==="hidden"||this._element.classList.contains(rn)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(rn),this._queueCallback(()=>{this._element.classList.remove(rn),this._queueCallback(()=>{this._element.style.overflowY=a},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const n=this._element.scrollHeight>document.documentElement.clientHeight,a=this._scrollBar.getWidth(),m=a>0;if(m&&!n){const k=Ye()?"paddingLeft":"paddingRight";this._element.style[k]=`${a}px`}if(!m&&n){const k=Ye()?"paddingRight":"paddingLeft";this._element.style[k]=`${a}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(n,a){return this.each(function(){const m=Nt.getOrCreateInstance(this,n);if(typeof n=="string"){if(m[n]===void 0)throw new TypeError(`No method named "${n}"`);m[n](a)}})}}N.on(document,Pi,'[data-bs-toggle="modal"]',function(g){const n=U.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&g.preventDefault(),N.one(n,Oi,m=>{m.defaultPrevented||N.one(n,Li,()=>{St(this)&&this.focus()})});const a=U.findOne(".modal.show");a&&Nt.getInstance(a).hide(),Nt.getOrCreateInstance(n).toggle(this)}),Rt(Nt),ke(Nt);const jt=".bs.offcanvas",Fi=".data-api",nr=`load${jt}${Fi}`,e="show",t="showing",i="hiding",r=".offcanvas.show",s=`show${jt}`,l=`shown${jt}`,u=`hide${jt}`,f=`hidePrevented${jt}`,h=`hidden${jt}`,b=`resize${jt}`,T=`click${jt}${Fi}`,C=`keydown.dismiss${jt}`,w={backdrop:!0,keyboard:!0,scroll:!1},L={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class q extends be{constructor(n,a){super(n,a),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return w}static get DefaultType(){return L}static get NAME(){return"offcanvas"}toggle(n){return this._isShown?this.hide():this.show(n)}show(n){this._isShown||N.trigger(this._element,s,{relatedTarget:n}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new ai().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(t),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(e),this._element.classList.remove(t),N.trigger(this._element,l,{relatedTarget:n})},this._element,!0))}hide(){this._isShown&&(N.trigger(this._element,u).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(i),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(e,i),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ai().reset(),N.trigger(this._element,h)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const n=!!this._config.backdrop;return new Bn({className:"offcanvas-backdrop",isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?()=>{this._config.backdrop!=="static"?this.hide():N.trigger(this._element,f)}:null})}_initializeFocusTrap(){return new Si({trapElement:this._element})}_addEventListeners(){N.on(this._element,C,n=>{n.key==="Escape"&&(this._config.keyboard?this.hide():N.trigger(this._element,f))})}static jQueryInterface(n){return this.each(function(){const a=q.getOrCreateInstance(this,n);if(typeof n=="string"){if(a[n]===void 0||n.startsWith("_")||n==="constructor")throw new TypeError(`No method named "${n}"`);a[n](this)}})}}N.on(document,T,'[data-bs-toggle="offcanvas"]',function(g){const n=U.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&g.preventDefault(),ht(this))return;N.one(n,h,()=>{St(this)&&this.focus()});const a=U.findOne(r);a&&a!==n&&q.getInstance(a).hide(),q.getOrCreateInstance(n).toggle(this)}),N.on(window,nr,()=>{for(const g of U.find(r))q.getOrCreateInstance(g).show()}),N.on(window,b,()=>{for(const g of U.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(g).position!=="fixed"&&q.getOrCreateInstance(g).hide()}),Rt(q),ke(q);const J={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ee=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),we=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,$e=(g,n)=>{const a=g.nodeName.toLowerCase();return n.includes(a)?!ee.has(a)||!!we.test(g.nodeValue):n.filter(m=>m instanceof RegExp).some(m=>m.test(a))},Tt={allowList:J,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Et={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},se={entry:"(string|element|function|null)",selector:"(string|element)"};class on extends qt{constructor(n){super(),this._config=this._getConfig(n)}static get Default(){return Tt}static get DefaultType(){return Et}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(n=>this._resolvePossibleFunction(n)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(n){return this._checkContent(n),this._config.content={...this._config.content,...n},this}toHtml(){const n=document.createElement("div");n.innerHTML=this._maybeSanitize(this._config.template);for(const[k,I]of Object.entries(this._config.content))this._setContent(n,I,k);const a=n.children[0],m=this._resolvePossibleFunction(this._config.extraClass);return m&&a.classList.add(...m.split(" ")),a}_typeCheckConfig(n){super._typeCheckConfig(n),this._checkContent(n.content)}_checkContent(n){for(const[a,m]of Object.entries(n))super._typeCheckConfig({selector:a,entry:m},se)}_setContent(n,a,m){const k=U.findOne(m,n);k&&((a=this._resolvePossibleFunction(a))?Xe(a)?this._putElementInTemplate(Le(a),k):this._config.html?k.innerHTML=this._maybeSanitize(a):k.textContent=a:k.remove())}_maybeSanitize(n){return this._config.sanitize?function(a,m,k){if(!a.length)return a;if(k&&typeof k=="function")return k(a);const I=new window.DOMParser().parseFromString(a,"text/html"),B=[].concat(...I.body.querySelectorAll("*"));for(const de of B){const Ae=de.nodeName.toLowerCase();if(!Object.keys(m).includes(Ae)){de.remove();continue}const ct=[].concat(...de.attributes),_t=[].concat(m["*"]||[],m[Ae]||[]);for(const $t of ct)$e($t,_t)||de.removeAttribute($t.nodeName)}return I.body.innerHTML}(n,this._config.allowList,this._config.sanitizeFn):n}_resolvePossibleFunction(n){return Ie(n,[void 0,this])}_putElementInTemplate(n,a){if(this._config.html)return a.innerHTML="",void a.append(n);a.textContent=n.textContent}}const ce=new Set(["sanitize","allowList","sanitizeFn"]),me="fade",zt="show",ui=".tooltip-inner",vt=".modal",yn="hide.bs.modal",et="hover",Ct="focus",Ut="click",at={AUTO:"auto",TOP:"top",RIGHT:Ye()?"left":"right",BOTTOM:"bottom",LEFT:Ye()?"right":"left"},Me={allowList:J,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},De={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class xe extends be{constructor(n,a){if(ge===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(n,a),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Me}static get DefaultType(){return De}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),N.off(this._element.closest(vt),yn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const n=N.trigger(this._element,this.constructor.eventName("show")),a=(ne(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(n.defaultPrevented||!a)return;this._disposePopper();const m=this._getTipElement();this._element.setAttribute("aria-describedby",m.getAttribute("id"));const{container:k}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(k.append(m),N.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(m),m.classList.add(zt),"ontouchstart"in document.documentElement)for(const I of[].concat(...document.body.children))N.on(I,"mouseover",Z);this._queueCallback(()=>{N.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!N.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(zt),"ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))N.off(n,"mouseover",Z);this._activeTrigger[Ut]=!1,this._activeTrigger[Ct]=!1,this._activeTrigger[et]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(n){const a=this._getTemplateFactory(n).toHtml();if(!a)return null;a.classList.remove(me,zt),a.classList.add(`bs-${this.constructor.NAME}-auto`);const m=(k=>{do k+=Math.floor(1e6*Math.random());while(document.getElementById(k));return k})(this.constructor.NAME).toString();return a.setAttribute("id",m),this._isAnimated()&&a.classList.add(me),a}setContent(n){this._newContent=n,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(n){return this._templateFactory?this._templateFactory.changeContent(n):this._templateFactory=new on({...this._config,content:n,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ui]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(n){return this.constructor.getOrCreateInstance(n.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(me)}_isShown(){return this.tip&&this.tip.classList.contains(zt)}_createPopper(n){const a=Ie(this._config.placement,[this,n,this._element]),m=at[a.toUpperCase()];return ge.createPopper(this._element,n,this._getPopperConfig(m))}_getOffset(){const{offset:n}=this._config;return typeof n=="string"?n.split(",").map(a=>Number.parseInt(a,10)):typeof n=="function"?a=>n(a,this._element):n}_resolvePossibleFunction(n){return Ie(n,[this._element,this._element])}_getPopperConfig(n){const a={placement:n,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:m=>{this._getTipElement().setAttribute("data-popper-placement",m.state.placement)}}]};return{...a,...Ie(this._config.popperConfig,[void 0,a])}}_setListeners(){const n=this._config.trigger.split(" ");for(const a of n)if(a==="click")N.on(this._element,this.constructor.eventName("click"),this._config.selector,m=>{const k=this._initializeOnDelegatedTarget(m);k._activeTrigger[Ut]=!(k._isShown()&&k._activeTrigger[Ut]),k.toggle()});else if(a!=="manual"){const m=a===et?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),k=a===et?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");N.on(this._element,m,this._config.selector,I=>{const B=this._initializeOnDelegatedTarget(I);B._activeTrigger[I.type==="focusin"?Ct:et]=!0,B._enter()}),N.on(this._element,k,this._config.selector,I=>{const B=this._initializeOnDelegatedTarget(I);B._activeTrigger[I.type==="focusout"?Ct:et]=B._element.contains(I.relatedTarget),B._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(vt),yn,this._hideModalHandler)}_fixTitle(){const n=this._element.getAttribute("title");n&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",n),this._element.setAttribute("data-bs-original-title",n),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(n,a){clearTimeout(this._timeout),this._timeout=setTimeout(n,a)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(n){const a=Ze.getDataAttributes(this._element);for(const m of Object.keys(a))ce.has(m)&&delete a[m];return n={...a,...typeof n=="object"&&n?n:{}},n=this._mergeConfigObj(n),n=this._configAfterMerge(n),this._typeCheckConfig(n),n}_configAfterMerge(n){return n.container=n.container===!1?document.body:Le(n.container),typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),typeof n.title=="number"&&(n.title=n.title.toString()),typeof n.content=="number"&&(n.content=n.content.toString()),n}_getDelegateConfig(){const n={};for(const[a,m]of Object.entries(this._config))this.constructor.Default[a]!==m&&(n[a]=m);return n.selector=!1,n.trigger="manual",n}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(n){return this.each(function(){const a=xe.getOrCreateInstance(this,n);if(typeof n=="string"){if(a[n]===void 0)throw new TypeError(`No method named "${n}"`);a[n]()}})}}ke(xe);const Vt=".popover-header",Ke=".popover-body",Y={...xe.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Te={...xe.DefaultType,content:"(null|string|element|function)"};class ve extends xe{static get Default(){return Y}static get DefaultType(){return Te}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Vt]:this._getTitle(),[Ke]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(n){return this.each(function(){const a=ve.getOrCreateInstance(this,n);if(typeof n=="string"){if(a[n]===void 0)throw new TypeError(`No method named "${n}"`);a[n]()}})}}ke(ve);const fe=".bs.scrollspy",At=`activate${fe}`,sn=`click${fe}`,Kn=`load${fe}.data-api`,lt="active",Sn="[href]",It=".nav-link",qi=`${It}, .nav-item > ${It}, .list-group-item`,Dn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Qn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Xt extends be{constructor(n,a){super(n,a),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Dn}static get DefaultType(){return Qn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const n of this._observableSections.values())this._observer.observe(n)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(n){return n.target=Le(n.target)||document.body,n.rootMargin=n.offset?`${n.offset}px 0px -30%`:n.rootMargin,typeof n.threshold=="string"&&(n.threshold=n.threshold.split(",").map(a=>Number.parseFloat(a))),n}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(N.off(this._config.target,sn),N.on(this._config.target,sn,Sn,n=>{const a=this._observableSections.get(n.target.hash);if(a){n.preventDefault();const m=this._rootElement||window,k=a.offsetTop-this._element.offsetTop;if(m.scrollTo)return void m.scrollTo({top:k,behavior:"smooth"});m.scrollTop=k}}))}_getNewObserver(){const n={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(a=>this._observerCallback(a),n)}_observerCallback(n){const a=B=>this._targetLinks.get(`#${B.target.id}`),m=B=>{this._previousScrollData.visibleEntryTop=B.target.offsetTop,this._process(a(B))},k=(this._rootElement||document.documentElement).scrollTop,I=k>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=k;for(const B of n){if(!B.isIntersecting){this._activeTarget=null,this._clearActiveClass(a(B));continue}const de=B.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(I&&de){if(m(B),!k)return}else I||de||m(B)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const n=U.find(Sn,this._config.target);for(const a of n){if(!a.hash||ht(a))continue;const m=U.findOne(decodeURI(a.hash),this._element);St(m)&&(this._targetLinks.set(decodeURI(a.hash),a),this._observableSections.set(a.hash,m))}}_process(n){this._activeTarget!==n&&(this._clearActiveClass(this._config.target),this._activeTarget=n,n.classList.add(lt),this._activateParents(n),N.trigger(this._element,At,{relatedTarget:n}))}_activateParents(n){if(n.classList.contains("dropdown-item"))U.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(lt);else for(const a of U.parents(n,".nav, .list-group"))for(const m of U.prev(a,qi))m.classList.add(lt)}_clearActiveClass(n){n.classList.remove(lt);const a=U.find(`${Sn}.${lt}`,n);for(const m of a)m.classList.remove(lt)}static jQueryInterface(n){return this.each(function(){const a=Xt.getOrCreateInstance(this,n);if(typeof n=="string"){if(a[n]===void 0||n.startsWith("_")||n==="constructor")throw new TypeError(`No method named "${n}"`);a[n]()}})}}N.on(window,Kn,()=>{for(const g of U.find('[data-bs-spy="scroll"]'))Xt.getOrCreateInstance(g)}),ke(Xt);const Pt=".bs.tab",Gn=`hide${Pt}`,di=`hidden${Pt}`,hi=`show${Pt}`,fi=`shown${Pt}`,Ri=`click${Pt}`,d=`keydown${Pt}`,y=`load${Pt}`,x="ArrowLeft",E="ArrowRight",S="ArrowUp",H="ArrowDown",M="Home",W="End",$="active",ue="fade",te="show",ie=".dropdown-toggle",ae=`:not(${ie})`,Q='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ee=`.nav-link${ae}, .list-group-item${ae}, [role="tab"]${ae}, ${Q}`,Ue=`.${$}[data-bs-toggle="tab"], .${$}[data-bs-toggle="pill"], .${$}[data-bs-toggle="list"]`;class ye extends be{constructor(n){super(n),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),N.on(this._element,d,a=>this._keydown(a)))}static get NAME(){return"tab"}show(){const n=this._element;if(this._elemIsActive(n))return;const a=this._getActiveElem(),m=a?N.trigger(a,Gn,{relatedTarget:n}):null;N.trigger(n,hi,{relatedTarget:a}).defaultPrevented||m&&m.defaultPrevented||(this._deactivate(a,n),this._activate(n,a))}_activate(n,a){n&&(n.classList.add($),this._activate(U.getElementFromSelector(n)),this._queueCallback(()=>{n.getAttribute("role")==="tab"?(n.removeAttribute("tabindex"),n.setAttribute("aria-selected",!0),this._toggleDropDown(n,!0),N.trigger(n,fi,{relatedTarget:a})):n.classList.add(te)},n,n.classList.contains(ue)))}_deactivate(n,a){n&&(n.classList.remove($),n.blur(),this._deactivate(U.getElementFromSelector(n)),this._queueCallback(()=>{n.getAttribute("role")==="tab"?(n.setAttribute("aria-selected",!1),n.setAttribute("tabindex","-1"),this._toggleDropDown(n,!1),N.trigger(n,di,{relatedTarget:a})):n.classList.remove(te)},n,n.classList.contains(ue)))}_keydown(n){if(![x,E,S,H,M,W].includes(n.key))return;n.stopPropagation(),n.preventDefault();const a=this._getChildren().filter(k=>!ht(k));let m;if([M,W].includes(n.key))m=a[n.key===M?0:a.length-1];else{const k=[E,H].includes(n.key);m=o(a,n.target,k,!0)}m&&(m.focus({preventScroll:!0}),ye.getOrCreateInstance(m).show())}_getChildren(){return U.find(Ee,this._parent)}_getActiveElem(){return this._getChildren().find(n=>this._elemIsActive(n))||null}_setInitialAttributes(n,a){this._setAttributeIfNotExists(n,"role","tablist");for(const m of a)this._setInitialAttributesOnChild(m)}_setInitialAttributesOnChild(n){n=this._getInnerElement(n);const a=this._elemIsActive(n),m=this._getOuterElement(n);n.setAttribute("aria-selected",a),m!==n&&this._setAttributeIfNotExists(m,"role","presentation"),a||n.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(n,"role","tab"),this._setInitialAttributesOnTargetPanel(n)}_setInitialAttributesOnTargetPanel(n){const a=U.getElementFromSelector(n);a&&(this._setAttributeIfNotExists(a,"role","tabpanel"),n.id&&this._setAttributeIfNotExists(a,"aria-labelledby",`${n.id}`))}_toggleDropDown(n,a){const m=this._getOuterElement(n);if(!m.classList.contains("dropdown"))return;const k=(I,B)=>{const de=U.findOne(I,m);de&&de.classList.toggle(B,a)};k(ie,$),k(".dropdown-menu",te),m.setAttribute("aria-expanded",a)}_setAttributeIfNotExists(n,a,m){n.hasAttribute(a)||n.setAttribute(a,m)}_elemIsActive(n){return n.classList.contains($)}_getInnerElement(n){return n.matches(Ee)?n:U.findOne(Ee,n)}_getOuterElement(n){return n.closest(".nav-item, .list-group-item")||n}static jQueryInterface(n){return this.each(function(){const a=ye.getOrCreateInstance(this);if(typeof n=="string"){if(a[n]===void 0||n.startsWith("_")||n==="constructor")throw new TypeError(`No method named "${n}"`);a[n]()}})}}N.on(document,Ri,Q,function(g){["A","AREA"].includes(this.tagName)&&g.preventDefault(),ht(this)||ye.getOrCreateInstance(this).show()}),N.on(window,y,()=>{for(const g of U.find(Ue))ye.getOrCreateInstance(g)}),ke(ye);const Ce=".bs.toast",tt=`mouseover${Ce}`,yt=`mouseout${Ce}`,pe=`focusin${Ce}`,an=`focusout${Ce}`,bt=`hide${Ce}`,Jn=`hidden${Ce}`,Wi=`show${Ce}`,Bi=`shown${Ce}`,zi="hide",Ui="show",Vi="showing",ir={animation:"boolean",autohide:"boolean",delay:"number"},rr={animation:!0,autohide:!0,delay:5e3};class pi extends be{constructor(n,a){super(n,a),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return rr}static get DefaultType(){return ir}static get NAME(){return"toast"}show(){N.trigger(this._element,Wi).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(zi),Oe(this._element),this._element.classList.add(Ui,Vi),this._queueCallback(()=>{this._element.classList.remove(Vi),N.trigger(this._element,Bi),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(N.trigger(this._element,bt).defaultPrevented||(this._element.classList.add(Vi),this._queueCallback(()=>{this._element.classList.add(zi),this._element.classList.remove(Vi,Ui),N.trigger(this._element,Jn)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ui),super.dispose()}isShown(){return this._element.classList.contains(Ui)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(n,a){switch(n.type){case"mouseover":case"mouseout":this._hasMouseInteraction=a;break;case"focusin":case"focusout":this._hasKeyboardInteraction=a}if(a)return void this._clearTimeout();const m=n.relatedTarget;this._element===m||this._element.contains(m)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,tt,n=>this._onInteraction(n,!0)),N.on(this._element,yt,n=>this._onInteraction(n,!1)),N.on(this._element,pe,n=>this._onInteraction(n,!0)),N.on(this._element,an,n=>this._onInteraction(n,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(n){return this.each(function(){const a=pi.getOrCreateInstance(this,n);if(typeof n=="string"){if(a[n]===void 0)throw new TypeError(`No method named "${n}"`);a[n](this)}})}}return Rt(pi),ke(pi),{Alert:Fe,Button:Wt,Carousel:Be,Collapse:gn,Dropdown:ot,Modal:Nt,Offcanvas:q,Popover:ve,ScrollSpy:Xt,Tab:ye,Toast:pi,Tooltip:xe}}); //# sourceMappingURL=scripts-MCOALH2H.js.map