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