HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/smarthr-co-in/demo/angular/template/scripts-BXX4KGDS.js
/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */(function(R,dt){"use strict";typeof module=="object"&&typeof module.exports=="object"?module.exports=R.document?dt(R,!0):function(ke){if(!ke.document)throw new Error("jQuery requires a window with a document");return dt(ke)}:dt(R)})(typeof window<"u"?window:this,function(R,dt){"use strict";var ke=[],bi=Object.getPrototypeOf,Je=ke.slice,_i=ke.flat?function(e){return ke.flat.call(e)}:function(e){return ke.concat.apply([],e)},lt=ke.push,qe=ke.indexOf,Lt={},jt=Lt.toString,un=Lt.hasOwnProperty,Cn=un.toString,An=Cn.call(Object),G={},K=function(e){return typeof e=="function"&&typeof e.nodeType!="number"&&typeof e.item!="function"},Me=function(e){return e!=null&&e===e.window},q=R.document,Xe={type:!0,src:!0,nonce:!0,noModule:!0};function wi(e,n,i){var r,a,c=(i=i||q).createElement("script");if(c.text=e,n)for(r in Xe)(a=n[r]||n.getAttribute&&n.getAttribute(r))&&c.setAttribute(r,a);i.head.appendChild(c).parentNode.removeChild(c)}function Ft(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?Lt[jt.call(e)]||"object":typeof e}var Yi="3.7.1",Sr=/HTML$/i,o=function(e,n){return new o.fn.init(e,n)};function kn(e){var n=!!e&&"length"in e&&e.length,i=Ft(e);return!K(e)&&!Me(e)&&(i==="array"||n===0||typeof n=="number"&&0<n&&n-1 in e)}function fe(e,n){return e.nodeName&&e.nodeName.toLowerCase()===n.toLowerCase()}o.fn=o.prototype={jquery:Yi,constructor:o,length:0,toArray:function(){return Je.call(this)},get:function(e){return e==null?Je.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var n=o.merge(this.constructor(),e);return n.prevObject=this,n},each:function(e){return o.each(this,e)},map:function(e){return this.pushStack(o.map(this,function(n,i){return e.call(n,i,n)}))},slice:function(){return this.pushStack(Je.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(o.grep(this,function(e,n){return(n+1)%2}))},odd:function(){return this.pushStack(o.grep(this,function(e,n){return n%2}))},eq:function(e){var n=this.length,i=+e+(e<0?n:0);return this.pushStack(0<=i&&i<n?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:lt,sort:ke.sort,splice:ke.splice},o.extend=o.fn.extend=function(){var e,n,i,r,a,c,u=arguments[0]||{},p=1,h=arguments.length,v=!1;for(typeof u=="boolean"&&(v=u,u=arguments[p]||{},p++),typeof u=="object"||K(u)||(u={}),p===h&&(u=this,p--);p<h;p++)if((e=arguments[p])!=null)for(n in e)r=e[n],n!=="__proto__"&&u!==r&&(v&&r&&(o.isPlainObject(r)||(a=Array.isArray(r)))?(i=u[n],c=a&&!Array.isArray(i)?[]:a||o.isPlainObject(i)?i:{},a=!1,u[n]=o.extend(v,c,r)):r!==void 0&&(u[n]=r));return u},o.extend({expando:"jQuery"+(Yi+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var n,i;return!(!e||jt.call(e)!=="[object Object]")&&(!(n=bi(e))||typeof(i=un.call(n,"constructor")&&n.constructor)=="function"&&Cn.call(i)===An)},isEmptyObject:function(e){var n;for(n in e)return!1;return!0},globalEval:function(e,n,i){wi(e,{nonce:n&&n.nonce},i)},each:function(e,n){var i,r=0;if(kn(e))for(i=e.length;r<i&&n.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(n.call(e[r],r,e[r])===!1)break;return e},text:function(e){var n,i="",r=0,a=e.nodeType;if(!a)for(;n=e[r++];)i+=o.text(n);return a===1||a===11?e.textContent:a===9?e.documentElement.textContent:a===3||a===4?e.nodeValue:i},makeArray:function(e,n){var i=n||[];return e!=null&&(kn(Object(e))?o.merge(i,typeof e=="string"?[e]:e):lt.call(i,e)),i},inArray:function(e,n,i){return n==null?-1:qe.call(n,e,i)},isXMLDoc:function(e){var n=e&&e.namespaceURI,i=e&&(e.ownerDocument||e).documentElement;return!Sr.test(n||i&&i.nodeName||"HTML")},merge:function(e,n){for(var i=+n.length,r=0,a=e.length;r<i;r++)e[a++]=n[r];return e.length=a,e},grep:function(e,n,i){for(var r=[],a=0,c=e.length,u=!i;a<c;a++)!n(e[a],a)!==u&&r.push(e[a]);return r},map:function(e,n,i){var r,a,c=0,u=[];if(kn(e))for(r=e.length;c<r;c++)(a=n(e[c],c,i))!=null&&u.push(a);else for(c in e)(a=n(e[c],c,i))!=null&&u.push(a);return _i(u)},guid:1,support:G}),typeof Symbol=="function"&&(o.fn[Symbol.iterator]=ke[Symbol.iterator]),o.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,n){Lt["[object "+n+"]"]=n.toLowerCase()});var Ki=ke.pop,Or=ke.sort,Qi=ke.splice,le="[\\x20\\t\\r\\n\\f]",dn=new RegExp("^"+le+"+|((?:^|[^\\\\])(?:\\\\.)*)"+le+"+$","g");o.contains=function(e,n){var i=n&&n.parentNode;return e===i||!(!i||i.nodeType!==1||!(e.contains?e.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))};var Gi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Ji(e,n){return n?e==="\0"?"\uFFFD":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}o.escapeSelector=function(e){return(e+"").replace(Gi,Ji)};var ft=q,xi=lt;(function(){var e,n,i,r,a,c,u,p,h,v,w=xi,E=o.expando,b=0,A=0,$=xe(),B=xe(),V=xe(),we=xe(),Ee=function(f,g){return f===g&&(a=!0),0},gt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",mt="(?:\\\\[\\da-fA-F]{1,6}"+le+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",J="\\["+le+"*("+mt+")(?:"+le+"*([*^$|!~]?=)"+le+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+mt+"))|)"+le+"*\\]",It=":("+mt+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+J+")*)|.*)\\)|)",oe=new RegExp(le+"+","g"),_e=new RegExp("^"+le+"*,"+le+"*"),Wn=new RegExp("^"+le+"*([>+~]|"+le+")"+le+"*"),qi=new RegExp(le+"|>"),Ct=new RegExp(It),Bn=new RegExp("^"+mt+"$"),At={ID:new RegExp("^#("+mt+")"),CLASS:new RegExp("^\\.("+mt+")"),TAG:new RegExp("^("+mt+"|[*])"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+It),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("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+le+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+le+"*((?:-\\d)?\\d*)"+le+"*\\)|)(?=[^-]|$)","i")},$t=/^(?:input|select|textarea|button)$/i,wn=/^h\d$/i,He=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,Ce=new RegExp("\\\\[\\da-fA-F]{1,6}"+le+"?|\\\\([^\\r\\n\\f])","g"),Pe=function(f,g){var _="0x"+f.slice(1)-65536;return g||(_<0?String.fromCharCode(_+65536):String.fromCharCode(_>>10|55296,1023&_|56320))},Ut=function(){Ht()},Be=ln(function(f){return f.disabled===!0&&fe(f,"fieldset")},{dir:"parentNode",next:"legend"});try{w.apply(ke=Je.call(ft.childNodes),ft.childNodes),ke[ft.childNodes.length].nodeType}catch{w={apply:function(g,_){xi.apply(g,Je.call(_))},call:function(g){xi.apply(g,Je.call(arguments,1))}}}function W(f,g,_,x){var C,D,N,I,L,se,U,Q=g&&g.ownerDocument,re=g?g.nodeType:9;if(_=_||[],typeof f!="string"||!f||re!==1&&re!==9&&re!==11)return _;if(!x&&(Ht(g),g=g||c,p)){if(re!==11&&(L=He.exec(f)))if(C=L[1]){if(re===9){if(!(N=g.getElementById(C)))return _;if(N.id===C)return w.call(_,N),_}else if(Q&&(N=Q.getElementById(C))&&W.contains(g,N)&&N.id===C)return w.call(_,N),_}else{if(L[2])return w.apply(_,g.getElementsByTagName(f)),_;if((C=L[3])&&g.getElementsByClassName)return w.apply(_,g.getElementsByClassName(C)),_}if(!(we[f+" "]||h&&h.test(f))){if(U=f,Q=g,re===1&&(qi.test(f)||Wn.test(f))){for((Q=ye.test(f)&&pi(g.parentNode)||g)==g&&G.scope||((I=g.getAttribute("id"))?I=o.escapeSelector(I):g.setAttribute("id",I=E)),D=(se=zn(f)).length;D--;)se[D]=(I?"#"+I:":scope")+" "+Vn(se[D]);U=se.join(",")}try{return w.apply(_,Q.querySelectorAll(U)),_}catch{we(f,!0)}finally{I===E&&g.removeAttribute("id")}}}return Bi(f.replace(dn,"$1"),g,_,x)}function xe(){var f=[];return function g(_,x){return f.push(_+" ")>n.cacheLength&&delete g[f.shift()],g[_+" "]=x}}function Te(f){return f[E]=!0,f}function ge(f){var g=c.createElement("fieldset");try{return!!f(g)}catch{return!1}finally{g.parentNode&&g.parentNode.removeChild(g),g=null}}function kt(f){return function(g){return fe(g,"input")&&g.type===f}}function xn(f){return function(g){return(fe(g,"input")||fe(g,"button"))&&g.type===f}}function Ge(f){return function(g){return"form"in g?g.parentNode&&g.disabled===!1?"label"in g?"label"in g.parentNode?g.parentNode.disabled===f:g.disabled===f:g.isDisabled===f||g.isDisabled!==!f&&Be(g)===f:g.disabled===f:"label"in g&&g.disabled===f}}function Yt(f){return Te(function(g){return g=+g,Te(function(_,x){for(var C,D=f([],_.length,g),N=D.length;N--;)_[C=D[N]]&&(_[C]=!(x[C]=_[C]))})})}function pi(f){return f&&typeof f.getElementsByTagName<"u"&&f}function Ht(f){var g,_=f?f.ownerDocument||f:ft;return _!=c&&_.nodeType===9&&_.documentElement&&(u=(c=_).documentElement,p=!o.isXMLDoc(c),v=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&ft!=c&&(g=c.defaultView)&&g.top!==g&&g.addEventListener("unload",Ut),G.getById=ge(function(x){return u.appendChild(x).id=o.expando,!c.getElementsByName||!c.getElementsByName(o.expando).length}),G.disconnectedMatch=ge(function(x){return v.call(x,"*")}),G.scope=ge(function(){return c.querySelectorAll(":scope")}),G.cssHas=ge(function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),G.getById?(n.filter.ID=function(x){var C=x.replace(Ce,Pe);return function(D){return D.getAttribute("id")===C}},n.find.ID=function(x,C){if(typeof C.getElementById<"u"&&p){var D=C.getElementById(x);return D?[D]:[]}}):(n.filter.ID=function(x){var C=x.replace(Ce,Pe);return function(D){var N=typeof D.getAttributeNode<"u"&&D.getAttributeNode("id");return N&&N.value===C}},n.find.ID=function(x,C){if(typeof C.getElementById<"u"&&p){var D,N,I,L=C.getElementById(x);if(L){if((D=L.getAttributeNode("id"))&&D.value===x)return[L];for(I=C.getElementsByName(x),N=0;L=I[N++];)if((D=L.getAttributeNode("id"))&&D.value===x)return[L]}return[]}}),n.find.TAG=function(x,C){return typeof C.getElementsByTagName<"u"?C.getElementsByTagName(x):C.querySelectorAll(x)},n.find.CLASS=function(x,C){if(typeof C.getElementsByClassName<"u"&&p)return C.getElementsByClassName(x)},h=[],ge(function(x){var C;u.appendChild(x).innerHTML="<a id='"+E+"' href='' disabled='disabled'></a><select id='"+E+"-\r\\' disabled='disabled'><option selected=''></option></select>",x.querySelectorAll("[selected]").length||h.push("\\["+le+"*(?:value|"+gt+")"),x.querySelectorAll("[id~="+E+"-]").length||h.push("~="),x.querySelectorAll("a#"+E+"+*").length||h.push(".#.+[+~]"),x.querySelectorAll(":checked").length||h.push(":checked"),(C=c.createElement("input")).setAttribute("type","hidden"),x.appendChild(C).setAttribute("name","D"),u.appendChild(x).disabled=!0,x.querySelectorAll(":disabled").length!==2&&h.push(":enabled",":disabled"),(C=c.createElement("input")).setAttribute("name",""),x.appendChild(C),x.querySelectorAll("[name='']").length||h.push("\\["+le+"*name"+le+"*="+le+`*(?:''|"")`)}),G.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),Ee=function(x,C){if(x===C)return a=!0,0;var D=!x.compareDocumentPosition-!C.compareDocumentPosition;return D||(1&(D=(x.ownerDocument||x)==(C.ownerDocument||C)?x.compareDocumentPosition(C):1)||!G.sortDetached&&C.compareDocumentPosition(x)===D?x===c||x.ownerDocument==ft&&W.contains(ft,x)?-1:C===c||C.ownerDocument==ft&&W.contains(ft,C)?1:r?qe.call(r,x)-qe.call(r,C):0:4&D?-1:1)}),c}for(e in W.matches=function(f,g){return W(f,null,null,g)},W.matchesSelector=function(f,g){if(Ht(f),p&&!we[g+" "]&&(!h||!h.test(g)))try{var _=v.call(f,g);if(_||G.disconnectedMatch||f.document&&f.document.nodeType!==11)return _}catch{we(g,!0)}return 0<W(g,c,null,[f]).length},W.contains=function(f,g){return(f.ownerDocument||f)!=c&&Ht(f),o.contains(f,g)},W.attr=function(f,g){(f.ownerDocument||f)!=c&&Ht(f);var _=n.attrHandle[g.toLowerCase()],x=_&&un.call(n.attrHandle,g.toLowerCase())?_(f,g,!p):void 0;return x!==void 0?x:f.getAttribute(g)},W.error=function(f){throw new Error("Syntax error, unrecognized expression: "+f)},o.uniqueSort=function(f){var g,_=[],x=0,C=0;if(a=!G.sortStable,r=!G.sortStable&&Je.call(f,0),Or.call(f,Ee),a){for(;g=f[C++];)g===f[C]&&(x=_.push(C));for(;x--;)Qi.call(f,_[x],1)}return r=null,f},o.fn.uniqueSort=function(){return this.pushStack(o.uniqueSort(Je.apply(this)))},(n=o.expr={cacheLength:50,createPseudo:Te,match:At,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(f){return f[1]=f[1].replace(Ce,Pe),f[3]=(f[3]||f[4]||f[5]||"").replace(Ce,Pe),f[2]==="~="&&(f[3]=" "+f[3]+" "),f.slice(0,4)},CHILD:function(f){return f[1]=f[1].toLowerCase(),f[1].slice(0,3)==="nth"?(f[3]||W.error(f[0]),f[4]=+(f[4]?f[5]+(f[6]||1):2*(f[3]==="even"||f[3]==="odd")),f[5]=+(f[7]+f[8]||f[3]==="odd")):f[3]&&W.error(f[0]),f},PSEUDO:function(f){var g,_=!f[6]&&f[2];return At.CHILD.test(f[0])?null:(f[3]?f[2]=f[4]||f[5]||"":_&&Ct.test(_)&&(g=zn(_,!0))&&(g=_.indexOf(")",_.length-g)-_.length)&&(f[0]=f[0].slice(0,g),f[2]=_.slice(0,g)),f.slice(0,3))}},filter:{TAG:function(f){var g=f.replace(Ce,Pe).toLowerCase();return f==="*"?function(){return!0}:function(_){return fe(_,g)}},CLASS:function(f){var g=$[f+" "];return g||(g=new RegExp("(^|"+le+")"+f+"("+le+"|$)"))&&$(f,function(_){return g.test(typeof _.className=="string"&&_.className||typeof _.getAttribute<"u"&&_.getAttribute("class")||"")})},ATTR:function(f,g,_){return function(x){var C=W.attr(x,f);return C==null?g==="!=":!g||(C+="",g==="="?C===_:g==="!="?C!==_:g==="^="?_&&C.indexOf(_)===0:g==="*="?_&&-1<C.indexOf(_):g==="$="?_&&C.slice(-_.length)===_:g==="~="?-1<(" "+C.replace(oe," ")+" ").indexOf(_):g==="|="&&(C===_||C.slice(0,_.length+1)===_+"-"))}},CHILD:function(f,g,_,x,C){var D=f.slice(0,3)!=="nth",N=f.slice(-4)!=="last",I=g==="of-type";return x===1&&C===0?function(L){return!!L.parentNode}:function(L,se,U){var Q,re,z,Oe,Fe,De=D!==N?"nextSibling":"previousSibling",ze=L.parentNode,Ve=I&&L.nodeName.toLowerCase(),vt=!U&&!I,me=!1;if(ze){if(D){for(;De;){for(z=L;z=z[De];)if(I?fe(z,Ve):z.nodeType===1)return!1;Fe=De=f==="only"&&!Fe&&"nextSibling"}return!0}if(Fe=[N?ze.firstChild:ze.lastChild],N&&vt){for(me=(Oe=(Q=(re=ze[E]||(ze[E]={}))[f]||[])[0]===b&&Q[1])&&Q[2],z=Oe&&ze.childNodes[Oe];z=++Oe&&z&&z[De]||(me=Oe=0)||Fe.pop();)if(z.nodeType===1&&++me&&z===L){re[f]=[b,Oe,me];break}}else if(vt&&(me=Oe=(Q=(re=L[E]||(L[E]={}))[f]||[])[0]===b&&Q[1]),me===!1)for(;(z=++Oe&&z&&z[De]||(me=Oe=0)||Fe.pop())&&!((I?fe(z,Ve):z.nodeType===1)&&++me&&(vt&&((re=z[E]||(z[E]={}))[f]=[b,me]),z===L)););return(me-=C)===x||me%x==0&&0<=me/x}}},PSEUDO:function(f,g){var _,x=n.pseudos[f]||n.setFilters[f.toLowerCase()]||W.error("unsupported pseudo: "+f);return x[E]?x(g):1<x.length?(_=[f,f,"",g],n.setFilters.hasOwnProperty(f.toLowerCase())?Te(function(C,D){for(var N,I=x(C,g),L=I.length;L--;)C[N=qe.call(C,I[L])]=!(D[N]=I[L])}):function(C){return x(C,0,_)}):x}},pseudos:{not:Te(function(f){var g=[],_=[],x=Wi(f.replace(dn,"$1"));return x[E]?Te(function(C,D,N,I){for(var L,se=x(C,null,I,[]),U=C.length;U--;)(L=se[U])&&(C[U]=!(D[U]=L))}):function(C,D,N){return g[0]=C,x(g,null,N,_),g[0]=null,!_.pop()}}),has:Te(function(f){return function(g){return 0<W(f,g).length}}),contains:Te(function(f){return f=f.replace(Ce,Pe),function(g){return-1<(g.textContent||o.text(g)).indexOf(f)}}),lang:Te(function(f){return Bn.test(f||"")||W.error("unsupported lang: "+f),f=f.replace(Ce,Pe).toLowerCase(),function(g){var _;do if(_=p?g.lang:g.getAttribute("xml:lang")||g.getAttribute("lang"))return(_=_.toLowerCase())===f||_.indexOf(f+"-")===0;while((g=g.parentNode)&&g.nodeType===1);return!1}}),target:function(f){var g=R.location&&R.location.hash;return g&&g.slice(1)===f.id},root:function(f){return f===u},focus:function(f){return f===(function(){try{return c.activeElement}catch{}})()&&c.hasFocus()&&!!(f.type||f.href||~f.tabIndex)},enabled:Ge(!1),disabled:Ge(!0),checked:function(f){return fe(f,"input")&&!!f.checked||fe(f,"option")&&!!f.selected},selected:function(f){return f.parentNode&&f.parentNode.selectedIndex,f.selected===!0},empty:function(f){for(f=f.firstChild;f;f=f.nextSibling)if(f.nodeType<6)return!1;return!0},parent:function(f){return!n.pseudos.empty(f)},header:function(f){return wn.test(f.nodeName)},input:function(f){return $t.test(f.nodeName)},button:function(f){return fe(f,"input")&&f.type==="button"||fe(f,"button")},text:function(f){var g;return fe(f,"input")&&f.type==="text"&&((g=f.getAttribute("type"))==null||g.toLowerCase()==="text")},first:Yt(function(){return[0]}),last:Yt(function(f,g){return[g-1]}),eq:Yt(function(f,g,_){return[_<0?_+g:_]}),even:Yt(function(f,g){for(var _=0;_<g;_+=2)f.push(_);return f}),odd:Yt(function(f,g){for(var _=1;_<g;_+=2)f.push(_);return f}),lt:Yt(function(f,g,_){var x;for(x=_<0?_+g:g<_?g:_;0<=--x;)f.push(x);return f}),gt:Yt(function(f,g,_){for(var x=_<0?_+g:_;++x<g;)f.push(x);return f})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=kt(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=xn(e);function yr(){}function zn(f,g){var _,x,C,D,N,I,L,se=B[f+" "];if(se)return g?0:se.slice(0);for(N=f,I=[],L=n.preFilter;N;){for(D in _&&!(x=_e.exec(N))||(x&&(N=N.slice(x[0].length)||N),I.push(C=[])),_=!1,(x=Wn.exec(N))&&(_=x.shift(),C.push({value:_,type:x[0].replace(dn," ")}),N=N.slice(_.length)),n.filter)!(x=At[D].exec(N))||L[D]&&!(x=L[D](x))||(_=x.shift(),C.push({value:_,type:D,matches:x}),N=N.slice(_.length));if(!_)break}return g?N.length:N?W.error(f):B(f,I).slice(0)}function Vn(f){for(var g=0,_=f.length,x="";g<_;g++)x+=f[g].value;return x}function ln(f,g,_){var x=g.dir,C=g.next,D=C||x,N=_&&D==="parentNode",I=A++;return g.first?function(L,se,U){for(;L=L[x];)if(L.nodeType===1||N)return f(L,se,U);return!1}:function(L,se,U){var Q,re,z=[b,I];if(U){for(;L=L[x];)if((L.nodeType===1||N)&&f(L,se,U))return!0}else for(;L=L[x];)if(L.nodeType===1||N)if(re=L[E]||(L[E]={}),C&&fe(L,C))L=L[x]||L;else{if((Q=re[D])&&Q[0]===b&&Q[1]===I)return z[2]=Q[2];if((re[D]=z)[2]=f(L,se,U))return!0}return!1}}function Fi(f){return 1<f.length?function(g,_,x){for(var C=f.length;C--;)if(!f[C](g,_,x))return!1;return!0}:f[0]}function gi(f,g,_,x,C){for(var D,N=[],I=0,L=f.length,se=g!=null;I<L;I++)(D=f[I])&&(_&&!_(D,x,C)||(N.push(D),se&&g.push(I)));return N}function mi(f,g,_,x,C,D){return x&&!x[E]&&(x=mi(x)),C&&!C[E]&&(C=mi(C,D)),Te(function(N,I,L,se){var U,Q,re,z,Oe=[],Fe=[],De=I.length,ze=N||(function(vt,me,ot){for(var Le=0,Xn=me.length;Le<Xn;Le++)W(vt,me[Le],ot);return ot})(g||"*",L.nodeType?[L]:L,[]),Ve=!f||!N&&g?ze:gi(ze,Oe,f,L,se);if(_?_(Ve,z=C||(N?f:De||x)?[]:I,L,se):z=Ve,x)for(U=gi(z,Fe),x(U,[],L,se),Q=U.length;Q--;)(re=U[Q])&&(z[Fe[Q]]=!(Ve[Fe[Q]]=re));if(N){if(C||f){if(C){for(U=[],Q=z.length;Q--;)(re=z[Q])&&U.push(Ve[Q]=re);C(null,z=[],U,se)}for(Q=z.length;Q--;)(re=z[Q])&&-1<(U=C?qe.call(N,re):Oe[Q])&&(N[U]=!(I[U]=re))}}else z=gi(z===I?z.splice(De,z.length):z),C?C(null,I,z,se):w.apply(I,z)})}function Ri(f){for(var g,_,x,C=f.length,D=n.relative[f[0].type],N=D||n.relative[" "],I=D?1:0,L=ln(function(Q){return Q===g},N,!0),se=ln(function(Q){return-1<qe.call(g,Q)},N,!0),U=[function(Q,re,z){var Oe=!D&&(z||re!=i)||((g=re).nodeType?L(Q,re,z):se(Q,re,z));return g=null,Oe}];I<C;I++)if(_=n.relative[f[I].type])U=[ln(Fi(U),_)];else{if((_=n.filter[f[I].type].apply(null,f[I].matches))[E]){for(x=++I;x<C&&!n.relative[f[x].type];x++);return mi(1<I&&Fi(U),1<I&&Vn(f.slice(0,I-1).concat({value:f[I-2].type===" "?"*":""})).replace(dn,"$1"),_,I<x&&Ri(f.slice(I,x)),x<C&&Ri(f=f.slice(x)),x<C&&Vn(f))}U.push(_)}return Fi(U)}function Wi(f,g){var _,x,C,D,N,I,L=[],se=[],U=V[f+" "];if(!U){for(g||(g=zn(f)),_=g.length;_--;)(U=Ri(g[_]))[E]?L.push(U):se.push(U);(U=V(f,(x=se,D=0<(C=L).length,N=0<x.length,I=function(Q,re,z,Oe,Fe){var De,ze,Ve,vt=0,me="0",ot=Q&&[],Le=[],Xn=i,br=Q||N&&n.find.TAG("*",Fe),zi=b+=Xn==null?1:Math.random()||.1,_r=br.length;for(Fe&&(i=re==c||re||Fe);me!==_r&&(De=br[me])!=null;me++){if(N&&De){for(ze=0,re||De.ownerDocument==c||(Ht(De),z=!p);Ve=x[ze++];)if(Ve(De,re||c,z)){w.call(Oe,De);break}Fe&&(b=zi)}D&&((De=!Ve&&De)&&vt--,Q&&ot.push(De))}if(vt+=me,D&&me!==vt){for(ze=0;Ve=C[ze++];)Ve(ot,Le,re,z);if(Q){if(0<vt)for(;me--;)ot[me]||Le[me]||(Le[me]=Ki.call(Oe));Le=gi(Le)}w.apply(Oe,Le),Fe&&!Q&&0<Le.length&&1<vt+C.length&&o.uniqueSort(Oe)}return Fe&&(b=zi,i=Xn),ot},D?Te(I):I))).selector=f}return U}function Bi(f,g,_,x){var C,D,N,I,L,se=typeof f=="function"&&f,U=!x&&zn(f=se.selector||f);if(_=_||[],U.length===1){if(2<(D=U[0]=U[0].slice(0)).length&&(N=D[0]).type==="ID"&&g.nodeType===9&&p&&n.relative[D[1].type]){if(!(g=(n.find.ID(N.matches[0].replace(Ce,Pe),g)||[])[0]))return _;se&&(g=g.parentNode),f=f.slice(D.shift().value.length)}for(C=At.needsContext.test(f)?0:D.length;C--&&(N=D[C],!n.relative[I=N.type]);)if((L=n.find[I])&&(x=L(N.matches[0].replace(Ce,Pe),ye.test(D[0].type)&&pi(g.parentNode)||g))){if(D.splice(C,1),!(f=x.length&&Vn(D)))return w.apply(_,x),_;break}}return(se||Wi(f,U))(x,g,!p,_,!g||ye.test(f)&&pi(g.parentNode)||g),_}yr.prototype=n.filters=n.pseudos,n.setFilters=new yr,G.sortStable=E.split("").sort(Ee).join("")===E,Ht(),G.sortDetached=ge(function(f){return 1&f.compareDocumentPosition(c.createElement("fieldset"))}),o.find=W,o.expr[":"]=o.expr.pseudos,o.unique=o.uniqueSort,W.compile=Wi,W.select=Bi,W.setDocument=Ht,W.tokenize=zn,W.escape=o.escapeSelector,W.getText=o.text,W.isXML=o.isXMLDoc,W.selectors=o.expr,W.support=o.support,W.uniqueSort=o.uniqueSort})();var Gt=function(e,n,i){for(var r=[],a=i!==void 0;(e=e[n])&&e.nodeType!==9;)if(e.nodeType===1){if(a&&o(e).is(i))break;r.push(e)}return r},S=function(e,n){for(var i=[];e;e=e.nextSibling)e.nodeType===1&&e!==n&&i.push(e);return i},Jn=o.expr.match.needsContext,Ti=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Sn(e,n,i){return K(n)?o.grep(e,function(r,a){return!!n.call(r,a,r)!==i}):n.nodeType?o.grep(e,function(r){return r===n!==i}):typeof n!="string"?o.grep(e,function(r){return-1<qe.call(n,r)!==i}):o.filter(n,e,i)}o.filter=function(e,n,i){var r=n[0];return i&&(e=":not("+e+")"),n.length===1&&r.nodeType===1?o.find.matchesSelector(r,e)?[r]:[]:o.find.matches(e,o.grep(n,function(a){return a.nodeType===1}))},o.fn.extend({find:function(e){var n,i,r=this.length,a=this;if(typeof e!="string")return this.pushStack(o(e).filter(function(){for(n=0;n<r;n++)if(o.contains(a[n],this))return!0}));for(i=this.pushStack([]),n=0;n<r;n++)o.find(e,a[n],i);return 1<r?o.uniqueSort(i):i},filter:function(e){return this.pushStack(Sn(this,e||[],!1))},not:function(e){return this.pushStack(Sn(this,e||[],!0))},is:function(e){return!!Sn(this,typeof e=="string"&&Jn.test(e)?o(e):e||[],!1).length}});var bt,On=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(o.fn.init=function(e,n,i){var r,a;if(!e)return this;if(i=i||bt,typeof e=="string"){if(!(r=e[0]==="<"&&e[e.length-1]===">"&&3<=e.length?[null,e,null]:On.exec(e))||!r[1]&&n)return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e);if(r[1]){if(n=n instanceof o?n[0]:n,o.merge(this,o.parseHTML(r[1],n&&n.nodeType?n.ownerDocument||n:q,!0)),Ti.test(r[1])&&o.isPlainObject(n))for(r in n)K(this[r])?this[r](n[r]):this.attr(r,n[r]);return this}return(a=q.getElementById(r[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):K(e)?i.ready!==void 0?i.ready(e):e(o):o.makeArray(e,this)}).prototype=o.fn,bt=o(q);var ht=/^(?:parents|prev(?:Until|All))/,Ei={children:!0,contents:!0,next:!0,prev:!0};function F(e,n){for(;(e=e[n])&&e.nodeType!==1;);return e}o.fn.extend({has:function(e){var n=o(e,this),i=n.length;return this.filter(function(){for(var r=0;r<i;r++)if(o.contains(this,n[r]))return!0})},closest:function(e,n){var i,r=0,a=this.length,c=[],u=typeof e!="string"&&o(e);if(!Jn.test(e)){for(;r<a;r++)for(i=this[r];i&&i!==n;i=i.parentNode)if(i.nodeType<11&&(u?-1<u.index(i):i.nodeType===1&&o.find.matchesSelector(i,e))){c.push(i);break}}return this.pushStack(1<c.length?o.uniqueSort(c):c)},index:function(e){return e?typeof e=="string"?qe.call(o(e),this[0]):qe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,n){return this.pushStack(o.uniqueSort(o.merge(this.get(),o(e,n))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),o.each({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return Gt(e,"parentNode")},parentsUntil:function(e,n,i){return Gt(e,"parentNode",i)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return Gt(e,"nextSibling")},prevAll:function(e){return Gt(e,"previousSibling")},nextUntil:function(e,n,i){return Gt(e,"nextSibling",i)},prevUntil:function(e,n,i){return Gt(e,"previousSibling",i)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return e.contentDocument!=null&&bi(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),o.merge([],e.childNodes))}},function(e,n){o.fn[e]=function(i,r){var a=o.map(this,n,i);return e.slice(-5)!=="Until"&&(r=i),r&&typeof r=="string"&&(a=o.filter(r,a)),1<this.length&&(Ei[e]||o.uniqueSort(a),ht.test(e)&&a.reverse()),this.pushStack(a)}});var Ze=/[^\x20\t\r\n\f]+/g;function Jt(e){return e}function Zn(e){throw e}function Zi(e,n,i,r){var a;try{e&&K(a=e.promise)?a.call(e).done(n).fail(i):e&&K(a=e.then)?a.call(e,n,i):n.apply(void 0,[e].slice(r))}catch(c){i.apply(void 0,[c])}}o.Callbacks=function(e){var n,i;e=typeof e=="string"?(n=e,i={},o.each(n.match(Ze)||[],function(b,A){i[A]=!0}),i):o.extend({},e);var r,a,c,u,p=[],h=[],v=-1,w=function(){for(u=u||e.once,c=r=!0;h.length;v=-1)for(a=h.shift();++v<p.length;)p[v].apply(a[0],a[1])===!1&&e.stopOnFalse&&(v=p.length,a=!1);e.memory||(a=!1),r=!1,u&&(p=a?[]:"")},E={add:function(){return p&&(a&&!r&&(v=p.length-1,h.push(a)),(function b(A){o.each(A,function($,B){K(B)?e.unique&&E.has(B)||p.push(B):B&&B.length&&Ft(B)!=="string"&&b(B)})})(arguments),a&&!r&&w()),this},remove:function(){return o.each(arguments,function(b,A){for(var $;-1<($=o.inArray(A,p,$));)p.splice($,1),$<=v&&v--}),this},has:function(b){return b?-1<o.inArray(b,p):0<p.length},empty:function(){return p&&(p=[]),this},disable:function(){return u=h=[],p=a="",this},disabled:function(){return!p},lock:function(){return u=h=[],a||r||(p=a=""),this},locked:function(){return!!u},fireWith:function(b,A){return u||(A=[b,(A=A||[]).slice?A.slice():A],h.push(A),r||w()),this},fire:function(){return E.fireWith(this,arguments),this},fired:function(){return!!c}};return E},o.extend({Deferred:function(e){var n=[["notify","progress",o.Callbacks("memory"),o.Callbacks("memory"),2],["resolve","done",o.Callbacks("once memory"),o.Callbacks("once memory"),0,"resolved"],["reject","fail",o.Callbacks("once memory"),o.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},catch:function(c){return r.then(null,c)},pipe:function(){var c=arguments;return o.Deferred(function(u){o.each(n,function(p,h){var v=K(c[h[4]])&&c[h[4]];a[h[1]](function(){var w=v&&v.apply(this,arguments);w&&K(w.promise)?w.promise().progress(u.notify).done(u.resolve).fail(u.reject):u[h[0]+"With"](this,v?[w]:arguments)})}),c=null}).promise()},then:function(c,u,p){var h=0;function v(w,E,b,A){return function(){var $=this,B=arguments,V=function(){var Ee,gt;if(!(w<h)){if((Ee=b.apply($,B))===E.promise())throw new TypeError("Thenable self-resolution");gt=Ee&&(typeof Ee=="object"||typeof Ee=="function")&&Ee.then,K(gt)?A?gt.call(Ee,v(h,E,Jt,A),v(h,E,Zn,A)):(h++,gt.call(Ee,v(h,E,Jt,A),v(h,E,Zn,A),v(h,E,Jt,E.notifyWith))):(b!==Jt&&($=void 0,B=[Ee]),(A||E.resolveWith)($,B))}},we=A?V:function(){try{V()}catch(Ee){o.Deferred.exceptionHook&&o.Deferred.exceptionHook(Ee,we.error),h<=w+1&&(b!==Zn&&($=void 0,B=[Ee]),E.rejectWith($,B))}};w?we():(o.Deferred.getErrorHook?we.error=o.Deferred.getErrorHook():o.Deferred.getStackHook&&(we.error=o.Deferred.getStackHook()),R.setTimeout(we))}}return o.Deferred(function(w){n[0][3].add(v(0,w,K(p)?p:Jt,w.notifyWith)),n[1][3].add(v(0,w,K(c)?c:Jt)),n[2][3].add(v(0,w,K(u)?u:Zn))}).promise()},promise:function(c){return c!=null?o.extend(c,r):r}},a={};return o.each(n,function(c,u){var p=u[2],h=u[5];r[u[1]]=p.add,h&&p.add(function(){i=h},n[3-c][2].disable,n[3-c][3].disable,n[0][2].lock,n[0][3].lock),p.add(u[3].fire),a[u[0]]=function(){return a[u[0]+"With"](this===a?void 0:this,arguments),this},a[u[0]+"With"]=p.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){var n=arguments.length,i=n,r=Array(i),a=Je.call(arguments),c=o.Deferred(),u=function(p){return function(h){r[p]=this,a[p]=1<arguments.length?Je.call(arguments):h,--n||c.resolveWith(r,a)}};if(n<=1&&(Zi(e,c.done(u(i)).resolve,c.reject,!n),c.state()==="pending"||K(a[i]&&a[i].then)))return c.then();for(;i--;)Zi(a[i],u(i),c.reject);return c.promise()}});var Dn=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;o.Deferred.exceptionHook=function(e,n){R.console&&R.console.warn&&e&&Dn.test(e.name)&&R.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},o.readyException=function(e){R.setTimeout(function(){throw e})};var ei=o.Deferred();function Rt(){q.removeEventListener("DOMContentLoaded",Rt),R.removeEventListener("load",Rt),o.ready()}o.fn.ready=function(e){return ei.then(e).catch(function(n){o.readyException(n)}),this},o.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--o.readyWait:o.isReady)||(o.isReady=!0)!==e&&0<--o.readyWait||ei.resolveWith(q,[o])}}),o.ready.then=ei.then,q.readyState==="complete"||q.readyState!=="loading"&&!q.documentElement.doScroll?R.setTimeout(o.ready):(q.addEventListener("DOMContentLoaded",Rt),R.addEventListener("load",Rt));var Ue=function(e,n,i,r,a,c,u){var p=0,h=e.length,v=i==null;if(Ft(i)==="object")for(p in a=!0,i)Ue(e,n,p,i[p],!0,c,u);else if(r!==void 0&&(a=!0,K(r)||(u=!0),v&&(u?(n.call(e,r),n=null):(v=n,n=function(w,E,b){return v.call(o(w),b)})),n))for(;p<h;p++)n(e[p],i,u?r:r.call(e[p],p,n(e[p],i)));return a?e:v?n.call(e):h?n(e[0],i):c},Dr=/^-ms-/,Lr=/-([a-z])/g;function jr(e,n){return n.toUpperCase()}function _t(e){return e.replace(Dr,"ms-").replace(Lr,jr)}var Ln=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function jn(){this.expando=o.expando+jn.uid++}jn.uid=1,jn.prototype={cache:function(e){var n=e[this.expando];return n||(n={},Ln(e)&&(e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,configurable:!0}))),n},set:function(e,n,i){var r,a=this.cache(e);if(typeof n=="string")a[_t(n)]=i;else for(r in n)a[_t(r)]=n[r];return a},get:function(e,n){return n===void 0?this.cache(e):e[this.expando]&&e[this.expando][_t(n)]},access:function(e,n,i){return n===void 0||n&&typeof n=="string"&&i===void 0?this.get(e,n):(this.set(e,n,i),i!==void 0?i:n)},remove:function(e,n){var i,r=e[this.expando];if(r!==void 0){if(n!==void 0)for(i=(n=Array.isArray(n)?n.map(_t):(n=_t(n))in r?[n]:n.match(Ze)||[]).length;i--;)delete r[n[i]];(n===void 0||o.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var n=e[this.expando];return n!==void 0&&!o.isEmptyObject(n)}};var H=new jn,Ie=new jn,Wt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,er=/[A-Z]/g;function tr(e,n,i){var r,a;if(i===void 0&&e.nodeType===1)if(r="data-"+n.replace(er,"-$&").toLowerCase(),typeof(i=e.getAttribute(r))=="string"){try{i=(a=i)==="true"||a!=="false"&&(a==="null"?null:a===+a+""?+a:Wt.test(a)?JSON.parse(a):a)}catch{}Ie.set(e,n,i)}else i=void 0;return i}o.extend({hasData:function(e){return Ie.hasData(e)||H.hasData(e)},data:function(e,n,i){return Ie.access(e,n,i)},removeData:function(e,n){Ie.remove(e,n)},_data:function(e,n,i){return H.access(e,n,i)},_removeData:function(e,n){H.remove(e,n)}}),o.fn.extend({data:function(e,n){var i,r,a,c=this[0],u=c&&c.attributes;if(e===void 0){if(this.length&&(a=Ie.get(c),c.nodeType===1&&!H.get(c,"hasDataAttrs"))){for(i=u.length;i--;)u[i]&&(r=u[i].name).indexOf("data-")===0&&(r=_t(r.slice(5)),tr(c,r,a[r]));H.set(c,"hasDataAttrs",!0)}return a}return typeof e=="object"?this.each(function(){Ie.set(this,e)}):Ue(this,function(p){var h;if(c&&p===void 0)return(h=Ie.get(c,e))!==void 0||(h=tr(c,e))!==void 0?h:void 0;this.each(function(){Ie.set(this,e,p)})},null,n,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Ie.remove(this,e)})}}),o.extend({queue:function(e,n,i){var r;if(e)return n=(n||"fx")+"queue",r=H.get(e,n),i&&(!r||Array.isArray(i)?r=H.access(e,n,o.makeArray(i)):r.push(i)),r||[]},dequeue:function(e,n){n=n||"fx";var i=o.queue(e,n),r=i.length,a=i.shift(),c=o._queueHooks(e,n);a==="inprogress"&&(a=i.shift(),r--),a&&(n==="fx"&&i.unshift("inprogress"),delete c.stop,a.call(e,function(){o.dequeue(e,n)},c)),!r&&c&&c.empty.fire()},_queueHooks:function(e,n){var i=n+"queueHooks";return H.get(e,i)||H.access(e,i,{empty:o.Callbacks("once memory").add(function(){H.remove(e,[n+"queue",i])})})}}),o.fn.extend({queue:function(e,n){var i=2;return typeof e!="string"&&(n=e,e="fx",i--),arguments.length<i?o.queue(this[0],e):n===void 0?this:this.each(function(){var r=o.queue(this,e,n);o._queueHooks(this,e),e==="fx"&&r[0]!=="inprogress"&&o.dequeue(this,e)})},dequeue:function(e){return this.each(function(){o.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var i,r=1,a=o.Deferred(),c=this,u=this.length,p=function(){--r||a.resolveWith(c,[c])};for(typeof e!="string"&&(n=e,e=void 0),e=e||"fx";u--;)(i=H.get(c[u],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(p));return p(),a.promise(n)}});var nr=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Nt=new RegExp("^(?:([+-])=|)("+nr+")([a-z%]*)$","i"),Ye=["Top","Right","Bottom","Left"],ct=q.documentElement,Pt=function(e){return o.contains(e.ownerDocument,e)},Nr={composed:!0};ct.getRootNode&&(Pt=function(e){return o.contains(e.ownerDocument,e)||e.getRootNode(Nr)===e.ownerDocument});var fn=function(e,n){return(e=n||e).style.display==="none"||e.style.display===""&&Pt(e)&&o.css(e,"display")==="none"};function ir(e,n,i,r){var a,c,u=20,p=r?function(){return r.cur()}:function(){return o.css(e,n,"")},h=p(),v=i&&i[3]||(o.cssNumber[n]?"":"px"),w=e.nodeType&&(o.cssNumber[n]||v!=="px"&&+h)&&Nt.exec(o.css(e,n));if(w&&w[3]!==v){for(h/=2,v=v||w[3],w=+h||1;u--;)o.style(e,n,w+v),(1-c)*(1-(c=p()/h||.5))<=0&&(u=0),w/=c;w*=2,o.style(e,n,w+v),i=i||[]}return i&&(w=+w||+h||0,a=i[1]?w+(i[1]+1)*i[2]:+i[2],r&&(r.unit=v,r.start=w,r.end=a)),a}var rr={};function hn(e,n){for(var i,r,a,c,u,p,h,v=[],w=0,E=e.length;w<E;w++)(r=e[w]).style&&(i=r.style.display,n?(i==="none"&&(v[w]=H.get(r,"display")||null,v[w]||(r.style.display="")),r.style.display===""&&fn(r)&&(v[w]=(h=u=c=void 0,u=(a=r).ownerDocument,p=a.nodeName,(h=rr[p])||(c=u.body.appendChild(u.createElement(p)),h=o.css(c,"display"),c.parentNode.removeChild(c),h==="none"&&(h="block"),rr[p]=h)))):i!=="none"&&(v[w]="none",H.set(r,"display",i)));for(w=0;w<E;w++)v[w]!=null&&(e[w].style.display=v[w]);return e}o.fn.extend({show:function(){return hn(this,!0)},hide:function(){return hn(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){fn(this)?o(this).show():o(this).hide()})}});var Zt,ti,Nn=/^(?:checkbox|radio)$/i,Ci=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Pn=/^$|^module$|\/(?:java|ecma)script/i;Zt=q.createDocumentFragment().appendChild(q.createElement("div")),(ti=q.createElement("input")).setAttribute("type","radio"),ti.setAttribute("checked","checked"),ti.setAttribute("name","t"),Zt.appendChild(ti),G.checkClone=Zt.cloneNode(!0).cloneNode(!0).lastChild.checked,Zt.innerHTML="<textarea>x</textarea>",G.noCloneChecked=!!Zt.cloneNode(!0).lastChild.defaultValue,Zt.innerHTML="<option></option>",G.option=!!Zt.lastChild;var et={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function We(e,n){var i;return i=typeof e.getElementsByTagName<"u"?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll<"u"?e.querySelectorAll(n||"*"):[],n===void 0||n&&fe(e,n)?o.merge([e],i):i}function Ai(e,n){for(var i=0,r=e.length;i<r;i++)H.set(e[i],"globalEval",!n||H.get(n[i],"globalEval"))}et.tbody=et.tfoot=et.colgroup=et.caption=et.thead,et.th=et.td,G.option||(et.optgroup=et.option=[1,"<select multiple='multiple'>","</select>"]);var Pr=/<|&#?\w+;/;function or(e,n,i,r,a){for(var c,u,p,h,v,w,E=n.createDocumentFragment(),b=[],A=0,$=e.length;A<$;A++)if((c=e[A])||c===0)if(Ft(c)==="object")o.merge(b,c.nodeType?[c]:c);else if(Pr.test(c)){for(u=u||E.appendChild(n.createElement("div")),p=(Ci.exec(c)||["",""])[1].toLowerCase(),h=et[p]||et._default,u.innerHTML=h[1]+o.htmlPrefilter(c)+h[2],w=h[0];w--;)u=u.lastChild;o.merge(b,u.childNodes),(u=E.firstChild).textContent=""}else b.push(n.createTextNode(c));for(E.textContent="",A=0;c=b[A++];)if(r&&-1<o.inArray(c,r))a&&a.push(c);else if(v=Pt(c),u=We(E.appendChild(c),"script"),v&&Ai(u),i)for(w=0;c=u[w++];)Pn.test(c.type||"")&&i.push(c);return E}var sr=/^([^.]*)(?:\.(.+)|)/;function pt(){return!0}function wt(){return!1}function ki(e,n,i,r,a,c){var u,p;if(typeof n=="object"){for(p in typeof i!="string"&&(r=r||i,i=void 0),n)ki(e,p,i,r,n[p],c);return e}if(r==null&&a==null?(a=i,r=i=void 0):a==null&&(typeof i=="string"?(a=r,r=void 0):(a=r,r=i,i=void 0)),a===!1)a=wt;else if(!a)return e;return c===1&&(u=a,(a=function(h){return o().off(h),u.apply(this,arguments)}).guid=u.guid||(u.guid=o.guid++)),e.each(function(){o.event.add(this,n,a,r,i)})}function ni(e,n,i){i?(H.set(e,n,!1),o.event.add(e,n,{namespace:!1,handler:function(r){var a,c=H.get(this,n);if(1&r.isTrigger&&this[n]){if(c)(o.event.special[n]||{}).delegateType&&r.stopPropagation();else if(c=Je.call(arguments),H.set(this,n,c),this[n](),a=H.get(this,n),H.set(this,n,!1),c!==a)return r.stopImmediatePropagation(),r.preventDefault(),a}else c&&(H.set(this,n,o.event.trigger(c[0],c.slice(1),this)),r.stopPropagation(),r.isImmediatePropagationStopped=pt)}})):H.get(e,n)===void 0&&o.event.add(e,n,pt)}o.event={global:{},add:function(e,n,i,r,a){var c,u,p,h,v,w,E,b,A,$,B,V=H.get(e);if(Ln(e))for(i.handler&&(i=(c=i).handler,a=c.selector),a&&o.find.matchesSelector(ct,a),i.guid||(i.guid=o.guid++),(h=V.events)||(h=V.events=Object.create(null)),(u=V.handle)||(u=V.handle=function(we){return typeof o<"u"&&o.event.triggered!==we.type?o.event.dispatch.apply(e,arguments):void 0}),v=(n=(n||"").match(Ze)||[""]).length;v--;)A=B=(p=sr.exec(n[v])||[])[1],$=(p[2]||"").split(".").sort(),A&&(E=o.event.special[A]||{},A=(a?E.delegateType:E.bindType)||A,E=o.event.special[A]||{},w=o.extend({type:A,origType:B,data:r,handler:i,guid:i.guid,selector:a,needsContext:a&&o.expr.match.needsContext.test(a),namespace:$.join(".")},c),(b=h[A])||((b=h[A]=[]).delegateCount=0,E.setup&&E.setup.call(e,r,$,u)!==!1||e.addEventListener&&e.addEventListener(A,u)),E.add&&(E.add.call(e,w),w.handler.guid||(w.handler.guid=i.guid)),a?b.splice(b.delegateCount++,0,w):b.push(w),o.event.global[A]=!0)},remove:function(e,n,i,r,a){var c,u,p,h,v,w,E,b,A,$,B,V=H.hasData(e)&&H.get(e);if(V&&(h=V.events)){for(v=(n=(n||"").match(Ze)||[""]).length;v--;)if(A=B=(p=sr.exec(n[v])||[])[1],$=(p[2]||"").split(".").sort(),A){for(E=o.event.special[A]||{},b=h[A=(r?E.delegateType:E.bindType)||A]||[],p=p[2]&&new RegExp("(^|\\.)"+$.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=c=b.length;c--;)w=b[c],!a&&B!==w.origType||i&&i.guid!==w.guid||p&&!p.test(w.namespace)||r&&r!==w.selector&&(r!=="**"||!w.selector)||(b.splice(c,1),w.selector&&b.delegateCount--,E.remove&&E.remove.call(e,w));u&&!b.length&&(E.teardown&&E.teardown.call(e,$,V.handle)!==!1||o.removeEvent(e,A,V.handle),delete h[A])}else for(A in h)o.event.remove(e,A+n[v],i,r,!0);o.isEmptyObject(h)&&H.remove(e,"handle events")}},dispatch:function(e){var n,i,r,a,c,u,p=new Array(arguments.length),h=o.event.fix(e),v=(H.get(this,"events")||Object.create(null))[h.type]||[],w=o.event.special[h.type]||{};for(p[0]=h,n=1;n<arguments.length;n++)p[n]=arguments[n];if(h.delegateTarget=this,!w.preDispatch||w.preDispatch.call(this,h)!==!1){for(u=o.event.handlers.call(this,h,v),n=0;(a=u[n++])&&!h.isPropagationStopped();)for(h.currentTarget=a.elem,i=0;(c=a.handlers[i++])&&!h.isImmediatePropagationStopped();)h.rnamespace&&c.namespace!==!1&&!h.rnamespace.test(c.namespace)||(h.handleObj=c,h.data=c.data,(r=((o.event.special[c.origType]||{}).handle||c.handler).apply(a.elem,p))!==void 0&&(h.result=r)===!1&&(h.preventDefault(),h.stopPropagation()));return w.postDispatch&&w.postDispatch.call(this,h),h.result}},handlers:function(e,n){var i,r,a,c,u,p=[],h=n.delegateCount,v=e.target;if(h&&v.nodeType&&!(e.type==="click"&&1<=e.button)){for(;v!==this;v=v.parentNode||this)if(v.nodeType===1&&(e.type!=="click"||v.disabled!==!0)){for(c=[],u={},i=0;i<h;i++)u[a=(r=n[i]).selector+" "]===void 0&&(u[a]=r.needsContext?-1<o(a,this).index(v):o.find(a,this,null,[v]).length),u[a]&&c.push(r);c.length&&p.push({elem:v,handlers:c})}}return v=this,h<n.length&&p.push({elem:v,handlers:n.slice(h)}),p},addProp:function(e,n){Object.defineProperty(o.Event.prototype,e,{enumerable:!0,configurable:!0,get:K(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(i){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:i})}})},fix:function(e){return e[o.expando]?e:new o.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var n=this||e;return Nn.test(n.type)&&n.click&&fe(n,"input")&&ni(n,"click",!0),!1},trigger:function(e){var n=this||e;return Nn.test(n.type)&&n.click&&fe(n,"input")&&ni(n,"click"),!0},_default:function(e){var n=e.target;return Nn.test(n.type)&&n.click&&fe(n,"input")&&H.get(n,"click")||fe(n,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},o.removeEvent=function(e,n,i){e.removeEventListener&&e.removeEventListener(n,i)},o.Event=function(e,n){if(!(this instanceof o.Event))return new o.Event(e,n);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?pt:wt,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,n&&o.extend(this,n),this.timeStamp=e&&e.timeStamp||Date.now(),this[o.expando]=!0},o.Event.prototype={constructor:o.Event,isDefaultPrevented:wt,isPropagationStopped:wt,isImmediatePropagationStopped:wt,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=pt,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=pt,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=pt,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},o.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},o.event.addProp),o.each({focus:"focusin",blur:"focusout"},function(e,n){function i(r){if(q.documentMode){var a=H.get(this,"handle"),c=o.event.fix(r);c.type=r.type==="focusin"?"focus":"blur",c.isSimulated=!0,a(r),c.target===c.currentTarget&&a(c)}else o.event.simulate(n,r.target,o.event.fix(r))}o.event.special[e]={setup:function(){var r;if(ni(this,e,!0),!q.documentMode)return!1;(r=H.get(this,n))||this.addEventListener(n,i),H.set(this,n,(r||0)+1)},trigger:function(){return ni(this,e),!0},teardown:function(){var r;if(!q.documentMode)return!1;(r=H.get(this,n)-1)?H.set(this,n,r):(this.removeEventListener(n,i),H.remove(this,n))},_default:function(r){return H.get(r.target,e)},delegateType:n},o.event.special[n]={setup:function(){var r=this.ownerDocument||this.document||this,a=q.documentMode?this:r,c=H.get(a,n);c||(q.documentMode?this.addEventListener(n,i):r.addEventListener(e,i,!0)),H.set(a,n,(c||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,a=q.documentMode?this:r,c=H.get(a,n)-1;c?H.set(a,n,c):(q.documentMode?this.removeEventListener(n,i):r.removeEventListener(e,i,!0),H.remove(a,n))}}}),o.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,n){o.event.special[e]={delegateType:n,bindType:n,handle:function(i){var r,a=i.relatedTarget,c=i.handleObj;return a&&(a===this||o.contains(this,a))||(i.type=c.origType,r=c.handler.apply(this,arguments),i.type=n),r}}}),o.fn.extend({on:function(e,n,i,r){return ki(this,e,n,i,r)},one:function(e,n,i,r){return ki(this,e,n,i,r,1)},off:function(e,n,i){var r,a;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,o(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if(typeof e=="object"){for(a in e)this.off(a,n,e[a]);return this}return n!==!1&&typeof n!="function"||(i=n,n=void 0),i===!1&&(i=wt),this.each(function(){o.event.remove(this,e,i,n)})}});var Mr=/<script|<style|<link/i,Ir=/checked\s*(?:[^=]|=\s*.checked.)/i,$r=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ii(e,n){return fe(e,"table")&&fe(n.nodeType!==11?n:n.firstChild,"tr")&&o(e).children("tbody")[0]||e}function pn(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function ri(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ar(e,n){var i,r,a,c,u,p;if(n.nodeType===1){if(H.hasData(e)&&(p=H.get(e).events))for(a in H.remove(n,"handle events"),p)for(i=0,r=p[a].length;i<r;i++)o.event.add(n,a,p[a][i]);Ie.hasData(e)&&(c=Ie.access(e),u=o.extend({},c),Ie.set(n,u))}}function Bt(e,n,i,r){n=_i(n);var a,c,u,p,h,v,w=0,E=e.length,b=E-1,A=n[0],$=K(A);if($||1<E&&typeof A=="string"&&!G.checkClone&&Ir.test(A))return e.each(function(B){var V=e.eq(B);$&&(n[0]=A.call(this,B,V.html())),Bt(V,n,i,r)});if(E&&(c=(a=or(n,e[0].ownerDocument,!1,e,r)).firstChild,a.childNodes.length===1&&(a=c),c||r)){for(p=(u=o.map(We(a,"script"),pn)).length;w<E;w++)h=a,w!==b&&(h=o.clone(h,!0,!0),p&&o.merge(u,We(h,"script"))),i.call(e[w],h,w);if(p)for(v=u[u.length-1].ownerDocument,o.map(u,ri),w=0;w<p;w++)h=u[w],Pn.test(h.type||"")&&!H.access(h,"globalEval")&&o.contains(v,h)&&(h.src&&(h.type||"").toLowerCase()!=="module"?o._evalUrl&&!h.noModule&&o._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},v):wi(h.textContent.replace($r,""),h,v))}return e}function lr(e,n,i){for(var r,a=n?o.filter(n,e):e,c=0;(r=a[c])!=null;c++)i||r.nodeType!==1||o.cleanData(We(r)),r.parentNode&&(i&&Pt(r)&&Ai(We(r,"script")),r.parentNode.removeChild(r));return e}o.extend({htmlPrefilter:function(e){return e},clone:function(e,n,i){var r,a,c,u,p,h,v,w=e.cloneNode(!0),E=Pt(e);if(!(G.noCloneChecked||e.nodeType!==1&&e.nodeType!==11||o.isXMLDoc(e)))for(u=We(w),r=0,a=(c=We(e)).length;r<a;r++)p=c[r],h=u[r],(v=h.nodeName.toLowerCase())==="input"&&Nn.test(p.type)?h.checked=p.checked:v!=="input"&&v!=="textarea"||(h.defaultValue=p.defaultValue);if(n)if(i)for(c=c||We(e),u=u||We(w),r=0,a=c.length;r<a;r++)ar(c[r],u[r]);else ar(e,w);return 0<(u=We(w,"script")).length&&Ai(u,!E&&We(e,"script")),w},cleanData:function(e){for(var n,i,r,a=o.event.special,c=0;(i=e[c])!==void 0;c++)if(Ln(i)){if(n=i[H.expando]){if(n.events)for(r in n.events)a[r]?o.event.remove(i,r):o.removeEvent(i,r,n.handle);i[H.expando]=void 0}i[Ie.expando]&&(i[Ie.expando]=void 0)}}}),o.fn.extend({detach:function(e){return lr(this,e,!0)},remove:function(e){return lr(this,e)},text:function(e){return Ue(this,function(n){return n===void 0?o.text(this):this.empty().each(function(){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||(this.textContent=n)})},null,e,arguments.length)},append:function(){return Bt(this,arguments,function(e){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||ii(this,e).appendChild(e)})},prepend:function(){return Bt(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=ii(this,e);n.insertBefore(e,n.firstChild)}})},before:function(){return Bt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Bt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,n=0;(e=this[n])!=null;n++)e.nodeType===1&&(o.cleanData(We(e,!1)),e.textContent="");return this},clone:function(e,n){return e=e!=null&&e,n=n??e,this.map(function(){return o.clone(this,e,n)})},html:function(e){return Ue(this,function(n){var i=this[0]||{},r=0,a=this.length;if(n===void 0&&i.nodeType===1)return i.innerHTML;if(typeof n=="string"&&!Mr.test(n)&&!et[(Ci.exec(n)||["",""])[1].toLowerCase()]){n=o.htmlPrefilter(n);try{for(;r<a;r++)(i=this[r]||{}).nodeType===1&&(o.cleanData(We(i,!1)),i.innerHTML=n);i=0}catch{}}i&&this.empty().append(n)},null,e,arguments.length)},replaceWith:function(){var e=[];return Bt(this,arguments,function(n){var i=this.parentNode;o.inArray(this,e)<0&&(o.cleanData(We(this)),i&&i.replaceChild(n,this))},e)}}),o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){o.fn[e]=function(i){for(var r,a=[],c=o(i),u=c.length-1,p=0;p<=u;p++)r=p===u?this:this.clone(!0),o(c[p])[n](r),lt.apply(a,r.get());return this.pushStack(a)}});var Si=new RegExp("^("+nr+")(?!px)[a-z%]+$","i"),zt=/^--/,Ne=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=R),n.getComputedStyle(e)},Ke=function(e,n,i){var r,a,c={};for(a in n)c[a]=e.style[a],e.style[a]=n[a];for(a in r=i.call(e),n)e.style[a]=c[a];return r},tt=new RegExp(Ye.join("|"),"i");function Se(e,n,i){var r,a,c,u,p=zt.test(n),h=e.style;return(i=i||Ne(e))&&(u=i.getPropertyValue(n)||i[n],p&&u&&(u=u.replace(dn,"$1")||void 0),u!==""||Pt(e)||(u=o.style(e,n)),!G.pixelBoxStyles()&&Si.test(u)&&tt.test(n)&&(r=h.width,a=h.minWidth,c=h.maxWidth,h.minWidth=h.maxWidth=h.width=u,u=i.width,h.width=r,h.minWidth=a,h.maxWidth=c)),u!==void 0?u+"":u}function Mn(e,n){return{get:function(){if(!e())return(this.get=n).apply(this,arguments);delete this.get}}}(function(){function e(){if(v){h.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",v.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ct.appendChild(h).appendChild(v);var w=R.getComputedStyle(v);i=w.top!=="1%",p=n(w.marginLeft)===12,v.style.right="60%",c=n(w.right)===36,r=n(w.width)===36,v.style.position="absolute",a=n(v.offsetWidth/3)===12,ct.removeChild(h),v=null}}function n(w){return Math.round(parseFloat(w))}var i,r,a,c,u,p,h=q.createElement("div"),v=q.createElement("div");v.style&&(v.style.backgroundClip="content-box",v.cloneNode(!0).style.backgroundClip="",G.clearCloneStyle=v.style.backgroundClip==="content-box",o.extend(G,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),c},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),p},scrollboxSize:function(){return e(),a},reliableTrDimensions:function(){var w,E,b,A;return u==null&&(w=q.createElement("table"),E=q.createElement("tr"),b=q.createElement("div"),w.style.cssText="position:absolute;left:-11111px;border-collapse:separate",E.style.cssText="box-sizing:content-box;border:1px solid",E.style.height="1px",b.style.height="9px",b.style.display="block",ct.appendChild(w).appendChild(E).appendChild(b),A=R.getComputedStyle(E),u=parseInt(A.height,10)+parseInt(A.borderTopWidth,10)+parseInt(A.borderBottomWidth,10)===E.offsetHeight,ct.removeChild(w)),u}}))})();var en=["Webkit","Moz","ms"],Vt=q.createElement("div").style,tn={};function oi(e){var n=o.cssProps[e]||tn[e];return n||(e in Vt?e:tn[e]=(function(i){for(var r=i[0].toUpperCase()+i.slice(1),a=en.length;a--;)if((i=en[a]+r)in Vt)return i})(e)||e)}var Oi=/^(none|table(?!-c[ea]).+)/,gn={position:"absolute",visibility:"hidden",display:"block"},Di={letterSpacing:"0",fontWeight:"400"};function si(e,n,i){var r=Nt.exec(n);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):n}function In(e,n,i,r,a,c){var u=n==="width"?1:0,p=0,h=0,v=0;if(i===(r?"border":"content"))return 0;for(;u<4;u+=2)i==="margin"&&(v+=o.css(e,i+Ye[u],!0,a)),r?(i==="content"&&(h-=o.css(e,"padding"+Ye[u],!0,a)),i!=="margin"&&(h-=o.css(e,"border"+Ye[u]+"Width",!0,a))):(h+=o.css(e,"padding"+Ye[u],!0,a),i!=="padding"?h+=o.css(e,"border"+Ye[u]+"Width",!0,a):p+=o.css(e,"border"+Ye[u]+"Width",!0,a));return!r&&0<=c&&(h+=Math.max(0,Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-c-h-p-.5))||0),h+v}function Li(e,n,i){var r=Ne(e),a=(!G.boxSizingReliable()||i)&&o.css(e,"boxSizing",!1,r)==="border-box",c=a,u=Se(e,n,r),p="offset"+n[0].toUpperCase()+n.slice(1);if(Si.test(u)){if(!i)return u;u="auto"}return(!G.boxSizingReliable()&&a||!G.reliableTrDimensions()&&fe(e,"tr")||u==="auto"||!parseFloat(u)&&o.css(e,"display",!1,r)==="inline")&&e.getClientRects().length&&(a=o.css(e,"boxSizing",!1,r)==="border-box",(c=p in e)&&(u=e[p])),(u=parseFloat(u)||0)+In(e,n,i||(a?"border":"content"),c,r,u)+"px"}function ut(e,n,i,r,a){return new ut.prototype.init(e,n,i,r,a)}o.extend({cssHooks:{opacity:{get:function(e,n){if(n){var i=Se(e,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,n,i,r){if(e&&e.nodeType!==3&&e.nodeType!==8&&e.style){var a,c,u,p=_t(n),h=zt.test(n),v=e.style;if(h||(n=oi(p)),u=o.cssHooks[n]||o.cssHooks[p],i===void 0)return u&&"get"in u&&(a=u.get(e,!1,r))!==void 0?a:v[n];(c=typeof i)=="string"&&(a=Nt.exec(i))&&a[1]&&(i=ir(e,n,a),c="number"),i!=null&&i==i&&(c!=="number"||h||(i+=a&&a[3]||(o.cssNumber[p]?"":"px")),G.clearCloneStyle||i!==""||n.indexOf("background")!==0||(v[n]="inherit"),u&&"set"in u&&(i=u.set(e,i,r))===void 0||(h?v.setProperty(n,i):v[n]=i))}},css:function(e,n,i,r){var a,c,u,p=_t(n);return zt.test(n)||(n=oi(p)),(u=o.cssHooks[n]||o.cssHooks[p])&&"get"in u&&(a=u.get(e,!0,i)),a===void 0&&(a=Se(e,n,r)),a==="normal"&&n in Di&&(a=Di[n]),i===""||i?(c=parseFloat(a),i===!0||isFinite(c)?c||0:a):a}}),o.each(["height","width"],function(e,n){o.cssHooks[n]={get:function(i,r,a){if(r)return!Oi.test(o.css(i,"display"))||i.getClientRects().length&&i.getBoundingClientRect().width?Li(i,n,a):Ke(i,gn,function(){return Li(i,n,a)})},set:function(i,r,a){var c,u=Ne(i),p=!G.scrollboxSize()&&u.position==="absolute",h=(p||a)&&o.css(i,"boxSizing",!1,u)==="border-box",v=a?In(i,n,a,h,u):0;return h&&p&&(v-=Math.ceil(i["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(u[n])-In(i,n,"border",!1,u)-.5)),v&&(c=Nt.exec(r))&&(c[3]||"px")!=="px"&&(i.style[n]=r,r=o.css(i,n)),si(0,r,v)}}}),o.cssHooks.marginLeft=Mn(G.reliableMarginLeft,function(e,n){if(n)return(parseFloat(Se(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),o.each({margin:"",padding:"",border:"Width"},function(e,n){o.cssHooks[e+n]={expand:function(i){for(var r=0,a={},c=typeof i=="string"?i.split(" "):[i];r<4;r++)a[e+Ye[r]+n]=c[r]||c[r-2]||c[0];return a}},e!=="margin"&&(o.cssHooks[e+n].set=si)}),o.fn.extend({css:function(e,n){return Ue(this,function(i,r,a){var c,u,p={},h=0;if(Array.isArray(r)){for(c=Ne(i),u=r.length;h<u;h++)p[r[h]]=o.css(i,r[h],!1,c);return p}return a!==void 0?o.style(i,r,a):o.css(i,r)},e,n,1<arguments.length)}}),((o.Tween=ut).prototype={constructor:ut,init:function(e,n,i,r,a,c){this.elem=e,this.prop=i,this.easing=a||o.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=r,this.unit=c||(o.cssNumber[i]?"":"px")},cur:function(){var e=ut.propHooks[this.prop];return e&&e.get?e.get(this):ut.propHooks._default.get(this)},run:function(e){var n,i=ut.propHooks[this.prop];return this.options.duration?this.pos=n=o.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=n=e,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):ut.propHooks._default.set(this),this}}).init.prototype=ut.prototype,(ut.propHooks={_default:{get:function(e){var n;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(n=o.css(e.elem,e.prop,""))&&n!=="auto"?n:0},set:function(e){o.fx.step[e.prop]?o.fx.step[e.prop](e):e.elem.nodeType!==1||!o.cssHooks[e.prop]&&e.elem.style[oi(e.prop)]==null?e.elem[e.prop]=e.now:o.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=ut.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},o.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},o.fx=ut.prototype.init,o.fx.step={};var nn,$n,rn,ji,cr=/^(?:toggle|show|hide)$/,ur=/queueHooks$/;function ai(){$n&&(q.hidden===!1&&R.requestAnimationFrame?R.requestAnimationFrame(ai):R.setTimeout(ai,o.fx.interval),o.fx.tick())}function Ni(){return R.setTimeout(function(){nn=void 0}),nn=Date.now()}function nt(e,n){var i,r=0,a={height:e};for(n=n?1:0;r<4;r+=2-n)a["margin"+(i=Ye[r])]=a["padding"+i]=e;return n&&(a.opacity=a.width=e),a}function Qe(e,n,i){for(var r,a=($e.tweeners[n]||[]).concat($e.tweeners["*"]),c=0,u=a.length;c<u;c++)if(r=a[c].call(i,n,e))return r}function $e(e,n,i){var r,a,c=0,u=$e.prefilters.length,p=o.Deferred().always(function(){delete h.elem}),h=function(){if(a)return!1;for(var E=nn||Ni(),b=Math.max(0,v.startTime+v.duration-E),A=1-(b/v.duration||0),$=0,B=v.tweens.length;$<B;$++)v.tweens[$].run(A);return p.notifyWith(e,[v,A,b]),A<1&&B?b:(B||p.notifyWith(e,[v,1,0]),p.resolveWith(e,[v]),!1)},v=p.promise({elem:e,props:o.extend({},n),opts:o.extend(!0,{specialEasing:{},easing:o.easing._default},i),originalProperties:n,originalOptions:i,startTime:nn||Ni(),duration:i.duration,tweens:[],createTween:function(E,b){var A=o.Tween(e,v.opts,E,b,v.opts.specialEasing[E]||v.opts.easing);return v.tweens.push(A),A},stop:function(E){var b=0,A=E?v.tweens.length:0;if(a)return this;for(a=!0;b<A;b++)v.tweens[b].run(1);return E?(p.notifyWith(e,[v,1,0]),p.resolveWith(e,[v,E])):p.rejectWith(e,[v,E]),this}}),w=v.props;for(!(function(E,b){var A,$,B,V,we;for(A in E)if(B=b[$=_t(A)],V=E[A],Array.isArray(V)&&(B=V[1],V=E[A]=V[0]),A!==$&&(E[$]=V,delete E[A]),(we=o.cssHooks[$])&&"expand"in we)for(A in V=we.expand(V),delete E[$],V)A in E||(E[A]=V[A],b[A]=B);else b[$]=B})(w,v.opts.specialEasing);c<u;c++)if(r=$e.prefilters[c].call(v,e,w,v.opts))return K(r.stop)&&(o._queueHooks(v.elem,v.opts.queue).stop=r.stop.bind(r)),r;return o.map(w,Qe,v),K(v.opts.start)&&v.opts.start.call(e,v),v.progress(v.opts.progress).done(v.opts.done,v.opts.complete).fail(v.opts.fail).always(v.opts.always),o.fx.timer(o.extend(h,{elem:e,anim:v,queue:v.opts.queue})),v}o.Animation=o.extend($e,{tweeners:{"*":[function(e,n){var i=this.createTween(e,n);return ir(i.elem,e,Nt.exec(n),i),i}]},tweener:function(e,n){K(e)?(n=e,e=["*"]):e=e.match(Ze);for(var i,r=0,a=e.length;r<a;r++)i=e[r],$e.tweeners[i]=$e.tweeners[i]||[],$e.tweeners[i].unshift(n)},prefilters:[function(e,n,i){var r,a,c,u,p,h,v,w,E="width"in n||"height"in n,b=this,A={},$=e.style,B=e.nodeType&&fn(e),V=H.get(e,"fxshow");for(r in i.queue||((u=o._queueHooks(e,"fx")).unqueued==null&&(u.unqueued=0,p=u.empty.fire,u.empty.fire=function(){u.unqueued||p()}),u.unqueued++,b.always(function(){b.always(function(){u.unqueued--,o.queue(e,"fx").length||u.empty.fire()})})),n)if(a=n[r],cr.test(a)){if(delete n[r],c=c||a==="toggle",a===(B?"hide":"show")){if(a!=="show"||!V||V[r]===void 0)continue;B=!0}A[r]=V&&V[r]||o.style(e,r)}if((h=!o.isEmptyObject(n))||!o.isEmptyObject(A))for(r in E&&e.nodeType===1&&(i.overflow=[$.overflow,$.overflowX,$.overflowY],(v=V&&V.display)==null&&(v=H.get(e,"display")),(w=o.css(e,"display"))==="none"&&(v?w=v:(hn([e],!0),v=e.style.display||v,w=o.css(e,"display"),hn([e]))),(w==="inline"||w==="inline-block"&&v!=null)&&o.css(e,"float")==="none"&&(h||(b.done(function(){$.display=v}),v==null&&(w=$.display,v=w==="none"?"":w)),$.display="inline-block")),i.overflow&&($.overflow="hidden",b.always(function(){$.overflow=i.overflow[0],$.overflowX=i.overflow[1],$.overflowY=i.overflow[2]})),h=!1,A)h||(V?"hidden"in V&&(B=V.hidden):V=H.access(e,"fxshow",{display:v}),c&&(V.hidden=!B),B&&hn([e],!0),b.done(function(){for(r in B||hn([e]),H.remove(e,"fxshow"),A)o.style(e,r,A[r])})),h=Qe(B?V[r]:0,r,b),r in V||(V[r]=h.start,B&&(h.end=h.start,h.start=0))}],prefilter:function(e,n){n?$e.prefilters.unshift(e):$e.prefilters.push(e)}}),o.speed=function(e,n,i){var r=e&&typeof e=="object"?o.extend({},e):{complete:i||!i&&n||K(e)&&e,duration:e,easing:i&&n||n&&!K(n)&&n};return o.fx.off?r.duration=0:typeof r.duration!="number"&&(r.duration in o.fx.speeds?r.duration=o.fx.speeds[r.duration]:r.duration=o.fx.speeds._default),r.queue!=null&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){K(r.old)&&r.old.call(this),r.queue&&o.dequeue(this,r.queue)},r},o.fn.extend({fadeTo:function(e,n,i,r){return this.filter(fn).css("opacity",0).show().end().animate({opacity:n},e,i,r)},animate:function(e,n,i,r){var a=o.isEmptyObject(e),c=o.speed(n,i,r),u=function(){var p=$e(this,o.extend({},e),c);(a||H.get(this,"finish"))&&p.stop(!0)};return u.finish=u,a||c.queue===!1?this.each(u):this.queue(c.queue,u)},stop:function(e,n,i){var r=function(a){var c=a.stop;delete a.stop,c(i)};return typeof e!="string"&&(i=n,n=e,e=void 0),n&&this.queue(e||"fx",[]),this.each(function(){var a=!0,c=e!=null&&e+"queueHooks",u=o.timers,p=H.get(this);if(c)p[c]&&p[c].stop&&r(p[c]);else for(c in p)p[c]&&p[c].stop&&ur.test(c)&&r(p[c]);for(c=u.length;c--;)u[c].elem!==this||e!=null&&u[c].queue!==e||(u[c].anim.stop(i),a=!1,u.splice(c,1));!a&&i||o.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var n,i=H.get(this),r=i[e+"queue"],a=i[e+"queueHooks"],c=o.timers,u=r?r.length:0;for(i.finish=!0,o.queue(this,e,[]),a&&a.stop&&a.stop.call(this,!0),n=c.length;n--;)c[n].elem===this&&c[n].queue===e&&(c[n].anim.stop(!0),c.splice(n,1));for(n=0;n<u;n++)r[n]&&r[n].finish&&r[n].finish.call(this);delete i.finish})}}),o.each(["toggle","show","hide"],function(e,n){var i=o.fn[n];o.fn[n]=function(r,a,c){return r==null||typeof r=="boolean"?i.apply(this,arguments):this.animate(nt(n,!0),r,a,c)}}),o.each({slideDown:nt("show"),slideUp:nt("hide"),slideToggle:nt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){o.fn[e]=function(i,r,a){return this.animate(n,i,r,a)}}),o.timers=[],o.fx.tick=function(){var e,n=0,i=o.timers;for(nn=Date.now();n<i.length;n++)(e=i[n])()||i[n]!==e||i.splice(n--,1);i.length||o.fx.stop(),nn=void 0},o.fx.timer=function(e){o.timers.push(e),o.fx.start()},o.fx.interval=13,o.fx.start=function(){$n||($n=!0,ai())},o.fx.stop=function(){$n=null},o.fx.speeds={slow:600,fast:200,_default:400},o.fn.delay=function(e,n){return e=o.fx&&o.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(i,r){var a=R.setTimeout(i,e);r.stop=function(){R.clearTimeout(a)}})},rn=q.createElement("input"),ji=q.createElement("select").appendChild(q.createElement("option")),rn.type="checkbox",G.checkOn=rn.value!=="",G.optSelected=ji.selected,(rn=q.createElement("input")).value="t",rn.type="radio",G.radioValue=rn.value==="t";var it,on=o.expr.attrHandle;o.fn.extend({attr:function(e,n){return Ue(this,o.attr,e,n,1<arguments.length)},removeAttr:function(e){return this.each(function(){o.removeAttr(this,e)})}}),o.extend({attr:function(e,n,i){var r,a,c=e.nodeType;if(c!==3&&c!==8&&c!==2)return typeof e.getAttribute>"u"?o.prop(e,n,i):(c===1&&o.isXMLDoc(e)||(a=o.attrHooks[n.toLowerCase()]||(o.expr.match.bool.test(n)?it:void 0)),i!==void 0?i===null?void o.removeAttr(e,n):a&&"set"in a&&(r=a.set(e,i,n))!==void 0?r:(e.setAttribute(n,i+""),i):a&&"get"in a&&(r=a.get(e,n))!==null?r:(r=o.find.attr(e,n))==null?void 0:r)},attrHooks:{type:{set:function(e,n){if(!G.radioValue&&n==="radio"&&fe(e,"input")){var i=e.value;return e.setAttribute("type",n),i&&(e.value=i),n}}}},removeAttr:function(e,n){var i,r=0,a=n&&n.match(Ze);if(a&&e.nodeType===1)for(;i=a[r++];)e.removeAttribute(i)}}),it={set:function(e,n,i){return n===!1?o.removeAttr(e,i):e.setAttribute(i,i),i}},o.each(o.expr.match.bool.source.match(/\w+/g),function(e,n){var i=on[n]||o.find.attr;on[n]=function(r,a,c){var u,p,h=a.toLowerCase();return c||(p=on[h],on[h]=u,u=i(r,a,c)!=null?h:null,on[h]=p),u}});var Pi=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;function rt(e){return(e.match(Ze)||[]).join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function Xt(e){return Array.isArray(e)?e:typeof e=="string"&&e.match(Ze)||[]}o.fn.extend({prop:function(e,n){return Ue(this,o.prop,e,n,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[o.propFix[e]||e]})}}),o.extend({prop:function(e,n,i){var r,a,c=e.nodeType;if(c!==3&&c!==8&&c!==2)return c===1&&o.isXMLDoc(e)||(n=o.propFix[n]||n,a=o.propHooks[n]),i!==void 0?a&&"set"in a&&(r=a.set(e,i,n))!==void 0?r:e[n]=i:a&&"get"in a&&(r=a.get(e,n))!==null?r:e[n]},propHooks:{tabIndex:{get:function(e){var n=o.find.attr(e,"tabindex");return n?parseInt(n,10):Pi.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),G.optSelected||(o.propHooks.selected={get:function(e){var n=e.parentNode;return n&&n.parentNode&&n.parentNode.selectedIndex,null},set:function(e){var n=e.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}}),o.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){o.propFix[this.toLowerCase()]=this}),o.fn.extend({addClass:function(e){var n,i,r,a,c,u;return K(e)?this.each(function(p){o(this).addClass(e.call(this,p,Tt(this)))}):(n=Xt(e)).length?this.each(function(){if(r=Tt(this),i=this.nodeType===1&&" "+rt(r)+" "){for(c=0;c<n.length;c++)a=n[c],i.indexOf(" "+a+" ")<0&&(i+=a+" ");u=rt(i),r!==u&&this.setAttribute("class",u)}}):this},removeClass:function(e){var n,i,r,a,c,u;return K(e)?this.each(function(p){o(this).removeClass(e.call(this,p,Tt(this)))}):arguments.length?(n=Xt(e)).length?this.each(function(){if(r=Tt(this),i=this.nodeType===1&&" "+rt(r)+" "){for(c=0;c<n.length;c++)for(a=n[c];-1<i.indexOf(" "+a+" ");)i=i.replace(" "+a+" "," ");u=rt(i),r!==u&&this.setAttribute("class",u)}}):this:this.attr("class","")},toggleClass:function(e,n){var i,r,a,c,u=typeof e,p=u==="string"||Array.isArray(e);return K(e)?this.each(function(h){o(this).toggleClass(e.call(this,h,Tt(this),n),n)}):typeof n=="boolean"&&p?n?this.addClass(e):this.removeClass(e):(i=Xt(e),this.each(function(){if(p)for(c=o(this),a=0;a<i.length;a++)r=i[a],c.hasClass(r)?c.removeClass(r):c.addClass(r);else e!==void 0&&u!=="boolean"||((r=Tt(this))&&H.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||e===!1?"":H.get(this,"__className__")||""))}))},hasClass:function(e){var n,i,r=0;for(n=" "+e+" ";i=this[r++];)if(i.nodeType===1&&-1<(" "+rt(Tt(i))+" ").indexOf(n))return!0;return!1}});var Mi=/\r/g;o.fn.extend({val:function(e){var n,i,r,a=this[0];return arguments.length?(r=K(e),this.each(function(c){var u;this.nodeType===1&&((u=r?e.call(this,c,o(this).val()):e)==null?u="":typeof u=="number"?u+="":Array.isArray(u)&&(u=o.map(u,function(p){return p==null?"":p+""})),(n=o.valHooks[this.type]||o.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&n.set(this,u,"value")!==void 0||(this.value=u))})):a?(n=o.valHooks[a.type]||o.valHooks[a.nodeName.toLowerCase()])&&"get"in n&&(i=n.get(a,"value"))!==void 0?i:typeof(i=a.value)=="string"?i.replace(Mi,""):i??"":void 0}}),o.extend({valHooks:{option:{get:function(e){var n=o.find.attr(e,"value");return n??rt(o.text(e))}},select:{get:function(e){var n,i,r,a=e.options,c=e.selectedIndex,u=e.type==="select-one",p=u?null:[],h=u?c+1:a.length;for(r=c<0?h:u?c:0;r<h;r++)if(((i=a[r]).selected||r===c)&&!i.disabled&&(!i.parentNode.disabled||!fe(i.parentNode,"optgroup"))){if(n=o(i).val(),u)return n;p.push(n)}return p},set:function(e,n){for(var i,r,a=e.options,c=o.makeArray(n),u=a.length;u--;)((r=a[u]).selected=-1<o.inArray(o.valHooks.option.get(r),c))&&(i=!0);return i||(e.selectedIndex=-1),c}}}}),o.each(["radio","checkbox"],function(){o.valHooks[this]={set:function(e,n){if(Array.isArray(n))return e.checked=-1<o.inArray(o(e).val(),n)}},G.checkOn||(o.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var mn=R.location,sn={guid:Date.now()},Hn=/\?/;o.parseXML=function(e){var n,i;if(!e||typeof e!="string")return null;try{n=new R.DOMParser().parseFromString(e,"text/xml")}catch{}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||o.error("Invalid XML: "+(i?o.map(i.childNodes,function(r){return r.textContent}).join(`
`):e)),n};var Ii=/^(?:focusinfocus|focusoutblur)$/,Et=function(e){e.stopPropagation()};o.extend(o.event,{trigger:function(e,n,i,r){var a,c,u,p,h,v,w,E,b=[i||q],A=un.call(e,"type")?e.type:e,$=un.call(e,"namespace")?e.namespace.split("."):[];if(c=E=u=i=i||q,i.nodeType!==3&&i.nodeType!==8&&!Ii.test(A+o.event.triggered)&&(-1<A.indexOf(".")&&(A=($=A.split(".")).shift(),$.sort()),h=A.indexOf(":")<0&&"on"+A,(e=e[o.expando]?e:new o.Event(A,typeof e=="object"&&e)).isTrigger=r?2:3,e.namespace=$.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+$.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=n==null?[e]:o.makeArray(n,[e]),w=o.event.special[A]||{},r||!w.trigger||w.trigger.apply(i,n)!==!1)){if(!r&&!w.noBubble&&!Me(i)){for(p=w.delegateType||A,Ii.test(p+A)||(c=c.parentNode);c;c=c.parentNode)b.push(c),u=c;u===(i.ownerDocument||q)&&b.push(u.defaultView||u.parentWindow||R)}for(a=0;(c=b[a++])&&!e.isPropagationStopped();)E=c,e.type=1<a?p:w.bindType||A,(v=(H.get(c,"events")||Object.create(null))[e.type]&&H.get(c,"handle"))&&v.apply(c,n),(v=h&&c[h])&&v.apply&&Ln(c)&&(e.result=v.apply(c,n),e.result===!1&&e.preventDefault());return e.type=A,r||e.isDefaultPrevented()||w._default&&w._default.apply(b.pop(),n)!==!1||!Ln(i)||h&&K(i[A])&&!Me(i)&&((u=i[h])&&(i[h]=null),o.event.triggered=A,e.isPropagationStopped()&&E.addEventListener(A,Et),i[A](),e.isPropagationStopped()&&E.removeEventListener(A,Et),o.event.triggered=void 0,u&&(i[h]=u)),e.result}},simulate:function(e,n,i){var r=o.extend(new o.Event,i,{type:e,isSimulated:!0});o.event.trigger(r,null,n)}}),o.fn.extend({trigger:function(e,n){return this.each(function(){o.event.trigger(e,n,this)})},triggerHandler:function(e,n){var i=this[0];if(i)return o.event.trigger(e,n,i,!0)}});var Hr=/\[\]$/,Mt=/\r?\n/g,li=/^(?:submit|button|image|reset|file)$/i,dr=/^(?:input|select|textarea|keygen)/i;function an(e,n,i,r){var a;if(Array.isArray(n))o.each(n,function(c,u){i||Hr.test(e)?r(e,u):an(e+"["+(typeof u=="object"&&u!=null?c:"")+"]",u,i,r)});else if(i||Ft(n)!=="object")r(e,n);else for(a in n)an(e+"["+a+"]",n[a],i,r)}o.param=function(e,n){var i,r=[],a=function(c,u){var p=K(u)?u():u;r[r.length]=encodeURIComponent(c)+"="+encodeURIComponent(p??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!o.isPlainObject(e))o.each(e,function(){a(this.name,this.value)});else for(i in e)an(i,e[i],n,a);return r.join("&")},o.fn.extend({serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=o.prop(this,"elements");return e?o.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!o(this).is(":disabled")&&dr.test(this.nodeName)&&!li.test(e)&&(this.checked||!Nn.test(e))}).map(function(e,n){var i=o(this).val();return i==null?null:Array.isArray(i)?o.map(i,function(r){return{name:n.name,value:r.replace(Mt,`\r
`)}}):{name:n.name,value:i.replace(Mt,`\r
`)}}).get()}});var $i=/%20/g,qn=/#.*$/,fr=/([?&])_=[^&]*/,hr=/^(.*?):[ \t]*([^\r\n]*)$/gm,pr=/^(?:GET|HEAD)$/,vn=/^\/\//,gr={},ci={},ui="*/".concat("*"),yn=q.createElement("a");function di(e){return function(n,i){typeof n!="string"&&(i=n,n="*");var r,a=0,c=n.toLowerCase().match(Ze)||[];if(K(i))for(;r=c[a++];)r[0]==="+"?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(i)):(e[r]=e[r]||[]).push(i)}}function mr(e,n,i,r){var a={},c=e===ci;function u(p){var h;return a[p]=!0,o.each(e[p]||[],function(v,w){var E=w(n,i,r);return typeof E!="string"||c||a[E]?c?!(h=E):void 0:(n.dataTypes.unshift(E),u(E),!1)}),h}return u(n.dataTypes[0])||!a["*"]&&u("*")}function bn(e,n){var i,r,a=o.ajaxSettings.flatOptions||{};for(i in n)n[i]!==void 0&&((a[i]?e:r||(r={}))[i]=n[i]);return r&&o.extend(!0,e,r),e}yn.href=mn.href,o.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:mn.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(mn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ui,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":o.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?bn(bn(e,o.ajaxSettings),n):bn(o.ajaxSettings,e)},ajaxPrefilter:di(gr),ajaxTransport:di(ci),ajax:function(e,n){typeof e=="object"&&(n=e,e=void 0),n=n||{};var i,r,a,c,u,p,h,v,w,E,b=o.ajaxSetup({},n),A=b.context||b,$=b.context&&(A.nodeType||A.jquery)?o(A):o.event,B=o.Deferred(),V=o.Callbacks("once memory"),we=b.statusCode||{},Ee={},gt={},mt="canceled",J={readyState:0,getResponseHeader:function(oe){var _e;if(h){if(!c)for(c={};_e=hr.exec(a);)c[_e[1].toLowerCase()+" "]=(c[_e[1].toLowerCase()+" "]||[]).concat(_e[2]);_e=c[oe.toLowerCase()+" "]}return _e==null?null:_e.join(", ")},getAllResponseHeaders:function(){return h?a:null},setRequestHeader:function(oe,_e){return h==null&&(oe=gt[oe.toLowerCase()]=gt[oe.toLowerCase()]||oe,Ee[oe]=_e),this},overrideMimeType:function(oe){return h==null&&(b.mimeType=oe),this},statusCode:function(oe){var _e;if(oe)if(h)J.always(oe[J.status]);else for(_e in oe)we[_e]=[we[_e],oe[_e]];return this},abort:function(oe){var _e=oe||mt;return i&&i.abort(_e),It(0,_e),this}};if(B.promise(J),b.url=((e||b.url||mn.href)+"").replace(vn,mn.protocol+"//"),b.type=n.method||n.type||b.method||b.type,b.dataTypes=(b.dataType||"*").toLowerCase().match(Ze)||[""],b.crossDomain==null){p=q.createElement("a");try{p.href=b.url,p.href=p.href,b.crossDomain=yn.protocol+"//"+yn.host!=p.protocol+"//"+p.host}catch{b.crossDomain=!0}}if(b.data&&b.processData&&typeof b.data!="string"&&(b.data=o.param(b.data,b.traditional)),mr(gr,b,n,J),h)return J;for(w in(v=o.event&&b.global)&&o.active++==0&&o.event.trigger("ajaxStart"),b.type=b.type.toUpperCase(),b.hasContent=!pr.test(b.type),r=b.url.replace(qn,""),b.hasContent?b.data&&b.processData&&(b.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(b.data=b.data.replace($i,"+")):(E=b.url.slice(r.length),b.data&&(b.processData||typeof b.data=="string")&&(r+=(Hn.test(r)?"&":"?")+b.data,delete b.data),b.cache===!1&&(r=r.replace(fr,"$1"),E=(Hn.test(r)?"&":"?")+"_="+sn.guid+++E),b.url=r+E),b.ifModified&&(o.lastModified[r]&&J.setRequestHeader("If-Modified-Since",o.lastModified[r]),o.etag[r]&&J.setRequestHeader("If-None-Match",o.etag[r])),(b.data&&b.hasContent&&b.contentType!==!1||n.contentType)&&J.setRequestHeader("Content-Type",b.contentType),J.setRequestHeader("Accept",b.dataTypes[0]&&b.accepts[b.dataTypes[0]]?b.accepts[b.dataTypes[0]]+(b.dataTypes[0]!=="*"?", "+ui+"; q=0.01":""):b.accepts["*"]),b.headers)J.setRequestHeader(w,b.headers[w]);if(b.beforeSend&&(b.beforeSend.call(A,J,b)===!1||h))return J.abort();if(mt="abort",V.add(b.complete),J.done(b.success),J.fail(b.error),i=mr(ci,b,n,J)){if(J.readyState=1,v&&$.trigger("ajaxSend",[J,b]),h)return J;b.async&&0<b.timeout&&(u=R.setTimeout(function(){J.abort("timeout")},b.timeout));try{h=!1,i.send(Ee,It)}catch(oe){if(h)throw oe;It(-1,oe)}}else It(-1,"No Transport");function It(oe,_e,Wn,qi){var Ct,Bn,At,$t,wn,He=_e;h||(h=!0,u&&R.clearTimeout(u),i=void 0,a=qi||"",J.readyState=0<oe?4:0,Ct=200<=oe&&oe<300||oe===304,Wn&&($t=(function(ye,Ce,Pe){for(var Ut,Be,W,xe,Te=ye.contents,ge=ye.dataTypes;ge[0]==="*";)ge.shift(),Ut===void 0&&(Ut=ye.mimeType||Ce.getResponseHeader("Content-Type"));if(Ut){for(Be in Te)if(Te[Be]&&Te[Be].test(Ut)){ge.unshift(Be);break}}if(ge[0]in Pe)W=ge[0];else{for(Be in Pe){if(!ge[0]||ye.converters[Be+" "+ge[0]]){W=Be;break}xe||(xe=Be)}W=W||xe}if(W)return W!==ge[0]&&ge.unshift(W),Pe[W]})(b,J,Wn)),!Ct&&-1<o.inArray("script",b.dataTypes)&&o.inArray("json",b.dataTypes)<0&&(b.converters["text script"]=function(){}),$t=(function(ye,Ce,Pe,Ut){var Be,W,xe,Te,ge,kt={},xn=ye.dataTypes.slice();if(xn[1])for(xe in ye.converters)kt[xe.toLowerCase()]=ye.converters[xe];for(W=xn.shift();W;)if(ye.responseFields[W]&&(Pe[ye.responseFields[W]]=Ce),!ge&&Ut&&ye.dataFilter&&(Ce=ye.dataFilter(Ce,ye.dataType)),ge=W,W=xn.shift()){if(W==="*")W=ge;else if(ge!=="*"&&ge!==W){if(!(xe=kt[ge+" "+W]||kt["* "+W])){for(Be in kt)if((Te=Be.split(" "))[1]===W&&(xe=kt[ge+" "+Te[0]]||kt["* "+Te[0]])){xe===!0?xe=kt[Be]:kt[Be]!==!0&&(W=Te[0],xn.unshift(Te[1]));break}}if(xe!==!0)if(xe&&ye.throws)Ce=xe(Ce);else try{Ce=xe(Ce)}catch(Ge){return{state:"parsererror",error:xe?Ge:"No conversion from "+ge+" to "+W}}}}return{state:"success",data:Ce}})(b,$t,J,Ct),Ct?(b.ifModified&&((wn=J.getResponseHeader("Last-Modified"))&&(o.lastModified[r]=wn),(wn=J.getResponseHeader("etag"))&&(o.etag[r]=wn)),oe===204||b.type==="HEAD"?He="nocontent":oe===304?He="notmodified":(He=$t.state,Bn=$t.data,Ct=!(At=$t.error))):(At=He,!oe&&He||(He="error",oe<0&&(oe=0))),J.status=oe,J.statusText=(_e||He)+"",Ct?B.resolveWith(A,[Bn,He,J]):B.rejectWith(A,[J,He,At]),J.statusCode(we),we=void 0,v&&$.trigger(Ct?"ajaxSuccess":"ajaxError",[J,b,Ct?Bn:At]),V.fireWith(A,[J,He]),v&&($.trigger("ajaxComplete",[J,b]),--o.active||o.event.trigger("ajaxStop")))}return J},getJSON:function(e,n,i){return o.get(e,n,i,"json")},getScript:function(e,n){return o.get(e,void 0,n,"script")}}),o.each(["get","post"],function(e,n){o[n]=function(i,r,a,c){return K(r)&&(c=c||a,a=r,r=void 0),o.ajax(o.extend({url:i,type:n,dataType:c,data:r,success:a},o.isPlainObject(i)&&i))}}),o.ajaxPrefilter(function(e){var n;for(n in e.headers)n.toLowerCase()==="content-type"&&(e.contentType=e.headers[n]||"")}),o._evalUrl=function(e,n,i){return o.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(r){o.globalEval(r,n,i)}})},o.fn.extend({wrapAll:function(e){var n;return this[0]&&(K(e)&&(e=e.call(this[0])),n=o(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var i=this;i.firstElementChild;)i=i.firstElementChild;return i}).append(this)),this},wrapInner:function(e){return K(e)?this.each(function(n){o(this).wrapInner(e.call(this,n))}):this.each(function(){var n=o(this),i=n.contents();i.length?i.wrapAll(e):n.append(e)})},wrap:function(e){var n=K(e);return this.each(function(i){o(this).wrapAll(n?e.call(this,i):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){o(this).replaceWith(this.childNodes)}),this}}),o.expr.pseudos.hidden=function(e){return!o.expr.pseudos.visible(e)},o.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},o.ajaxSettings.xhr=function(){try{return new R.XMLHttpRequest}catch{}};var qr={0:200,1223:204},_n=o.ajaxSettings.xhr();G.cors=!!_n&&"withCredentials"in _n,G.ajax=_n=!!_n,o.ajaxTransport(function(e){var n,i;if(G.cors||_n&&!e.crossDomain)return{send:function(r,a){var c,u=e.xhr();if(u.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(c in e.xhrFields)u[c]=e.xhrFields[c];for(c in e.mimeType&&u.overrideMimeType&&u.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)u.setRequestHeader(c,r[c]);n=function(p){return function(){n&&(n=i=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,p==="abort"?u.abort():p==="error"?typeof u.status!="number"?a(0,"error"):a(u.status,u.statusText):a(qr[u.status]||u.status,u.statusText,(u.responseType||"text")!=="text"||typeof u.responseText!="string"?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=n(),i=u.onerror=u.ontimeout=n("error"),u.onabort!==void 0?u.onabort=i:u.onreadystatechange=function(){u.readyState===4&&R.setTimeout(function(){n&&i()})},n=n("abort");try{u.send(e.hasContent&&e.data||null)}catch(p){if(n)throw p}},abort:function(){n&&n()}}}),o.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),o.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return o.globalEval(e),e}}}),o.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),o.ajaxTransport("script",function(e){var n,i;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){n=o("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(c){n.remove(),i=null,c&&a(c.type==="error"?404:200,c.type)}),q.head.appendChild(n[0])},abort:function(){i&&i()}}});var fi,hi=[],Fn=/(=)\?(?=&|$)|\?\?/;o.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=hi.pop()||o.expando+"_"+sn.guid++;return this[e]=!0,e}}),o.ajaxPrefilter("json jsonp",function(e,n,i){var r,a,c,u=e.jsonp!==!1&&(Fn.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Fn.test(e.data)&&"data");if(u||e.dataTypes[0]==="jsonp")return r=e.jsonpCallback=K(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,u?e[u]=e[u].replace(Fn,"$1"+r):e.jsonp!==!1&&(e.url+=(Hn.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return c||o.error(r+" was not called"),c[0]},e.dataTypes[0]="json",a=R[r],R[r]=function(){c=arguments},i.always(function(){a===void 0?o(R).removeProp(r):R[r]=a,e[r]&&(e.jsonpCallback=n.jsonpCallback,hi.push(r)),c&&K(a)&&a(c[0]),c=a=void 0}),"script"}),G.createHTMLDocument=((fi=q.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",fi.childNodes.length===2),o.parseHTML=function(e,n,i){return typeof e!="string"?[]:(typeof n=="boolean"&&(i=n,n=!1),n||(G.createHTMLDocument?((r=(n=q.implementation.createHTMLDocument("")).createElement("base")).href=q.location.href,n.head.appendChild(r)):n=q),c=!i&&[],(a=Ti.exec(e))?[n.createElement(a[1])]:(a=or([e],n,c),c&&c.length&&o(c).remove(),o.merge([],a.childNodes)));var r,a,c},o.fn.load=function(e,n,i){var r,a,c,u=this,p=e.indexOf(" ");return-1<p&&(r=rt(e.slice(p)),e=e.slice(0,p)),K(n)?(i=n,n=void 0):n&&typeof n=="object"&&(a="POST"),0<u.length&&o.ajax({url:e,type:a||"GET",dataType:"html",data:n}).done(function(h){c=arguments,u.html(r?o("<div>").append(o.parseHTML(h)).find(r):h)}).always(i&&function(h,v){u.each(function(){i.apply(this,c||[h.responseText,v,h])})}),this},o.expr.pseudos.animated=function(e){return o.grep(o.timers,function(n){return e===n.elem}).length},o.offset={setOffset:function(e,n,i){var r,a,c,u,p,h,v=o.css(e,"position"),w=o(e),E={};v==="static"&&(e.style.position="relative"),p=w.offset(),c=o.css(e,"top"),h=o.css(e,"left"),(v==="absolute"||v==="fixed")&&-1<(c+h).indexOf("auto")?(u=(r=w.position()).top,a=r.left):(u=parseFloat(c)||0,a=parseFloat(h)||0),K(n)&&(n=n.call(e,i,o.extend({},p))),n.top!=null&&(E.top=n.top-p.top+u),n.left!=null&&(E.left=n.left-p.left+a),"using"in n?n.using.call(e,E):w.css(E)}},o.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(a){o.offset.setOffset(this,e,a)});var n,i,r=this[0];return r?r.getClientRects().length?(n=r.getBoundingClientRect(),i=r.ownerDocument.defaultView,{top:n.top+i.pageYOffset,left:n.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,n,i,r=this[0],a={top:0,left:0};if(o.css(r,"position")==="fixed")n=r.getBoundingClientRect();else{for(n=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&&((a=o(e).offset()).top+=o.css(e,"borderTopWidth",!0),a.left+=o.css(e,"borderLeftWidth",!0))}return{top:n.top-a.top-o.css(r,"marginTop",!0),left:n.left-a.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||ct})}}),o.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i=n==="pageYOffset";o.fn[e]=function(r){return Ue(this,function(a,c,u){var p;if(Me(a)?p=a:a.nodeType===9&&(p=a.defaultView),u===void 0)return p?p[n]:a[c];p?p.scrollTo(i?p.pageXOffset:u,i?u:p.pageYOffset):a[c]=u},e,r,arguments.length)}}),o.each(["top","left"],function(e,n){o.cssHooks[n]=Mn(G.pixelPosition,function(i,r){if(r)return r=Se(i,n),Si.test(r)?o(i).position()[n]+"px":r})}),o.each({Height:"height",Width:"width"},function(e,n){o.each({padding:"inner"+e,content:n,"":"outer"+e},function(i,r){o.fn[r]=function(a,c){var u=arguments.length&&(i||typeof a!="boolean"),p=i||(a===!0||c===!0?"margin":"border");return Ue(this,function(h,v,w){var E;return Me(h)?r.indexOf("outer")===0?h["inner"+e]:h.document.documentElement["client"+e]:h.nodeType===9?(E=h.documentElement,Math.max(h.body["scroll"+e],E["scroll"+e],h.body["offset"+e],E["offset"+e],E["client"+e])):w===void 0?o.css(h,v,p):o.style(h,v,w,p)},n,u?a:void 0,u)}})}),o.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){o.fn[n]=function(i){return this.on(n,i)}}),o.fn.extend({bind:function(e,n,i){return this.on(e,null,n,i)},unbind:function(e,n){return this.off(e,null,n)},delegate:function(e,n,i,r){return this.on(n,e,i,r)},undelegate:function(e,n,i){return arguments.length===1?this.off(e,"**"):this.off(n,e||"**",i)},hover:function(e,n){return this.on("mouseenter",e).on("mouseleave",n||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,n){o.fn[n]=function(i,r){return 0<arguments.length?this.on(n,null,i,r):this.trigger(n)}});var vr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;o.proxy=function(e,n){var i,r,a;if(typeof n=="string"&&(i=e[n],n=e,e=i),K(e))return r=Je.call(arguments,2),(a=function(){return e.apply(n||this,r.concat(Je.call(arguments)))}).guid=e.guid=e.guid||o.guid++,a},o.holdReady=function(e){e?o.readyWait++:o.ready(!0)},o.isArray=Array.isArray,o.parseJSON=JSON.parse,o.nodeName=fe,o.isFunction=K,o.isWindow=Me,o.camelCase=_t,o.type=Ft,o.now=Date.now,o.isNumeric=function(e){var n=o.type(e);return(n==="number"||n==="string")&&!isNaN(e-parseFloat(e))},o.trim=function(e){return e==null?"":(e+"").replace(vr,"$1")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return o});var Rn=R.jQuery,Hi=R.$;return o.noConflict=function(e){return R.$===o&&(R.$=Hi),e&&R.jQuery===o&&(R.jQuery=Rn),o},typeof dt>"u"&&(R.jQuery=R.$=o),o});/*!
  * 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(R,dt){typeof exports=="object"&&typeof module<"u"?module.exports=dt():typeof define=="function"&&define.amd?define(dt):(R=typeof globalThis<"u"?globalThis:R||self).bootstrap=dt()})(this,function(){"use strict";const R=new Map,dt={set(l,t,s){R.has(l)||R.set(l,new Map);const d=R.get(l);d.has(t)||d.size===0?d.set(t,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(d.keys())[0]}.`)},get:(l,t)=>R.has(l)&&R.get(l).get(t)||null,remove(l,t){if(!R.has(l))return;const s=R.get(l);s.delete(t),s.size===0&&R.delete(l)}},ke="transitionend",bi=l=>(l&&window.CSS&&window.CSS.escape&&(l=l.replace(/#([^\s"#']+)/g,(t,s)=>`#${CSS.escape(s)}`)),l),Je=l=>l==null?`${l}`:Object.prototype.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase(),_i=l=>{l.dispatchEvent(new Event(ke))},lt=l=>!(!l||typeof l!="object")&&(l.jquery!==void 0&&(l=l[0]),l.nodeType!==void 0),qe=l=>lt(l)?l.jquery?l[0]:l:typeof l=="string"&&l.length>0?document.querySelector(bi(l)):null,Lt=l=>{if(!lt(l)||l.getClientRects().length===0)return!1;const t=getComputedStyle(l).getPropertyValue("visibility")==="visible",s=l.closest("details:not([open])");if(!s)return t;if(s!==l){const d=l.closest("summary");if(d&&d.parentNode!==s||d===null)return!1}return t},jt=l=>!l||l.nodeType!==Node.ELEMENT_NODE||!!l.classList.contains("disabled")||(l.disabled!==void 0?l.disabled:l.hasAttribute("disabled")&&l.getAttribute("disabled")!=="false"),un=l=>{if(!document.documentElement.attachShadow)return null;if(typeof l.getRootNode=="function"){const t=l.getRootNode();return t instanceof ShadowRoot?t:null}return l instanceof ShadowRoot?l:l.parentNode?un(l.parentNode):null},Cn=()=>{},An=l=>{l.offsetHeight},G=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,K=[],Me=()=>document.documentElement.dir==="rtl",q=l=>{var t;t=()=>{const s=G();if(s){const d=l.NAME,m=s.fn[d];s.fn[d]=l.jQueryInterface,s.fn[d].Constructor=l,s.fn[d].noConflict=()=>(s.fn[d]=m,l.jQueryInterface)}},document.readyState==="loading"?(K.length||document.addEventListener("DOMContentLoaded",()=>{for(const s of K)s()}),K.push(t)):t()},Xe=(l,t=[],s=l)=>typeof l=="function"?l.call(...t):s,wi=(l,t,s=!0)=>{if(!s)return void Xe(l);const d=(T=>{if(!T)return 0;let{transitionDuration:k,transitionDelay:O}=window.getComputedStyle(T);const P=Number.parseFloat(k),M=Number.parseFloat(O);return P||M?(k=k.split(",")[0],O=O.split(",")[0],1e3*(Number.parseFloat(k)+Number.parseFloat(O))):0})(t)+5;let m=!1;const y=({target:T})=>{T===t&&(m=!0,t.removeEventListener(ke,y),Xe(l))};t.addEventListener(ke,y),setTimeout(()=>{m||_i(t)},d)},Ft=(l,t,s,d)=>{const m=l.length;let y=l.indexOf(t);return y===-1?!s&&d?l[m-1]:l[0]:(y+=s?1:-1,d&&(y=(y+m)%m),l[Math.max(0,Math.min(y,m-1))])},Yi=/[^.]*(?=\..*)\.|.*/,Sr=/\..*/,o=/::\d+$/,kn={};let fe=1;const Ki={mouseenter:"mouseover",mouseleave:"mouseout"},Or=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 Qi(l,t){return t&&`${t}::${fe++}`||l.uidEvent||fe++}function le(l){const t=Qi(l);return l.uidEvent=t,kn[t]=kn[t]||{},kn[t]}function dn(l,t,s=null){return Object.values(l).find(d=>d.callable===t&&d.delegationSelector===s)}function Gi(l,t,s){const d=typeof t=="string",m=d?s:t||s;let y=Gt(l);return Or.has(y)||(y=l),[d,m,y]}function Ji(l,t,s,d,m){if(typeof t!="string"||!l)return;let[y,T,k]=Gi(t,s,d);t in Ki&&(T=(Z=>function(Y){if(!Y.relatedTarget||Y.relatedTarget!==Y.delegateTarget&&!Y.delegateTarget.contains(Y.relatedTarget))return Z.call(this,Y)})(T));const O=le(l),P=O[k]||(O[k]={}),M=dn(P,T,y?s:null);if(M)return void(M.oneOff=M.oneOff&&m);const j=Qi(T,t.replace(Yi,"")),te=y?(function(X,Z,Y){return function ee(he){const be=X.querySelectorAll(Z);for(let{target:ie}=he;ie&&ie!==this;ie=ie.parentNode)for(const ce of be)if(ce===ie)return Jn(he,{delegateTarget:ie}),ee.oneOff&&S.off(X,he.type,Z,Y),Y.apply(ie,[he])}})(l,s,T):(function(X,Z){return function Y(ee){return Jn(ee,{delegateTarget:X}),Y.oneOff&&S.off(X,ee.type,Z),Z.apply(X,[ee])}})(l,T);te.delegationSelector=y?s:null,te.callable=T,te.oneOff=m,te.uidEvent=j,P[j]=te,l.addEventListener(k,te,y)}function ft(l,t,s,d,m){const y=dn(t[s],d,m);y&&(l.removeEventListener(s,y,!!m),delete t[s][y.uidEvent])}function xi(l,t,s,d){const m=t[s]||{};for(const[y,T]of Object.entries(m))y.includes(d)&&ft(l,t,s,T.callable,T.delegationSelector)}function Gt(l){return l=l.replace(Sr,""),Ki[l]||l}const S={on(l,t,s,d){Ji(l,t,s,d,!1)},one(l,t,s,d){Ji(l,t,s,d,!0)},off(l,t,s,d){if(typeof t!="string"||!l)return;const[m,y,T]=Gi(t,s,d),k=T!==t,O=le(l),P=O[T]||{},M=t.startsWith(".");if(y===void 0){if(M)for(const j of Object.keys(O))xi(l,O,j,t.slice(1));for(const[j,te]of Object.entries(P)){const X=j.replace(o,"");k&&!t.includes(X)||ft(l,O,T,te.callable,te.delegationSelector)}}else{if(!Object.keys(P).length)return;ft(l,O,T,y,m?s:null)}},trigger(l,t,s){if(typeof t!="string"||!l)return null;const d=G();let m=null,y=!0,T=!0,k=!1;t!==Gt(t)&&d&&(m=d.Event(t,s),d(l).trigger(m),y=!m.isPropagationStopped(),T=!m.isImmediatePropagationStopped(),k=m.isDefaultPrevented());const O=Jn(new Event(t,{bubbles:y,cancelable:!0}),s);return k&&O.preventDefault(),T&&l.dispatchEvent(O),O.defaultPrevented&&m&&m.preventDefault(),O}};function Jn(l,t={}){for(const[s,d]of Object.entries(t))try{l[s]=d}catch{Object.defineProperty(l,s,{configurable:!0,get:()=>d})}return l}function Ti(l){if(l==="true")return!0;if(l==="false")return!1;if(l===Number(l).toString())return Number(l);if(l===""||l==="null")return null;if(typeof l!="string")return l;try{return JSON.parse(decodeURIComponent(l))}catch{return l}}function Sn(l){return l.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const bt={setDataAttribute(l,t,s){l.setAttribute(`data-bs-${Sn(t)}`,s)},removeDataAttribute(l,t){l.removeAttribute(`data-bs-${Sn(t)}`)},getDataAttributes(l){if(!l)return{};const t={},s=Object.keys(l.dataset).filter(d=>d.startsWith("bs")&&!d.startsWith("bsConfig"));for(const d of s){let m=d.replace(/^bs/,"");m=m.charAt(0).toLowerCase()+m.slice(1),t[m]=Ti(l.dataset[d])}return t},getDataAttribute:(l,t)=>Ti(l.getAttribute(`data-bs-${Sn(t)}`))};class On{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(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,s){const d=lt(s)?bt.getDataAttribute(s,"config"):{};return{...this.constructor.Default,...typeof d=="object"?d:{},...lt(s)?bt.getDataAttributes(s):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,s=this.constructor.DefaultType){for(const[d,m]of Object.entries(s)){const y=t[d],T=lt(y)?"element":Je(y);if(!new RegExp(m).test(T))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${d}" provided type "${T}" but expected type "${m}".`)}}}class ht extends On{constructor(t,s){super(),(t=qe(t))&&(this._element=t,this._config=this._getConfig(s),dt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){dt.remove(this._element,this.constructor.DATA_KEY),S.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,s,d=!0){wi(t,s,d)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return dt.get(qe(t),this.DATA_KEY)}static getOrCreateInstance(t,s={}){return this.getInstance(t)||new this(t,typeof s=="object"?s: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(t){return`${t}${this.EVENT_KEY}`}}const Ei=l=>{let t=l.getAttribute("data-bs-target");if(!t||t==="#"){let s=l.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),t=s&&s!=="#"?s.trim():null}return t?t.split(",").map(s=>bi(s)).join(","):null},F={find:(l,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,l)),findOne:(l,t=document.documentElement)=>Element.prototype.querySelector.call(t,l),children:(l,t)=>[].concat(...l.children).filter(s=>s.matches(t)),parents(l,t){const s=[];let d=l.parentNode.closest(t);for(;d;)s.push(d),d=d.parentNode.closest(t);return s},prev(l,t){let s=l.previousElementSibling;for(;s;){if(s.matches(t))return[s];s=s.previousElementSibling}return[]},next(l,t){let s=l.nextElementSibling;for(;s;){if(s.matches(t))return[s];s=s.nextElementSibling}return[]},focusableChildren(l){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(s=>`${s}:not([tabindex^="-"])`).join(",");return this.find(t,l).filter(s=>!jt(s)&&Lt(s))},getSelectorFromElement(l){const t=Ei(l);return t&&F.findOne(t)?t:null},getElementFromSelector(l){const t=Ei(l);return t?F.findOne(t):null},getMultipleElementsFromSelector(l){const t=Ei(l);return t?F.find(t):[]}},Ze=(l,t="hide")=>{const s=`click.dismiss${l.EVENT_KEY}`,d=l.NAME;S.on(document,s,`[data-bs-dismiss="${d}"]`,function(m){if(["A","AREA"].includes(this.tagName)&&m.preventDefault(),jt(this))return;const y=F.getElementFromSelector(this)||this.closest(`.${d}`);l.getOrCreateInstance(y)[t]()})},Jt=".bs.alert",Zn=`close${Jt}`,Zi=`closed${Jt}`;class Dn extends ht{static get NAME(){return"alert"}close(){if(S.trigger(this._element,Zn).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),S.trigger(this._element,Zi),this.dispose()}static jQueryInterface(t){return this.each(function(){const s=Dn.getOrCreateInstance(this);if(typeof t=="string"){if(s[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);s[t](this)}})}}Ze(Dn,"close"),q(Dn);const ei='[data-bs-toggle="button"]';class Rt extends ht{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const s=Rt.getOrCreateInstance(this);t==="toggle"&&s[t]()})}}S.on(document,"click.bs.button.data-api",ei,l=>{l.preventDefault();const t=l.target.closest(ei);Rt.getOrCreateInstance(t).toggle()}),q(Rt);const Ue=".bs.swipe",Dr=`touchstart${Ue}`,Lr=`touchmove${Ue}`,jr=`touchend${Ue}`,_t=`pointerdown${Ue}`,Ln=`pointerup${Ue}`,jn={endCallback:null,leftCallback:null,rightCallback:null},H={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ie extends On{constructor(t,s){super(),this._element=t,t&&Ie.isSupported()&&(this._config=this._getConfig(s),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return jn}static get DefaultType(){return H}static get NAME(){return"swipe"}dispose(){S.off(this._element,Ue)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Xe(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const s=t/this._deltaX;this._deltaX=0,s&&Xe(s>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(S.on(this._element,_t,t=>this._start(t)),S.on(this._element,Ln,t=>this._end(t)),this._element.classList.add("pointer-event")):(S.on(this._element,Dr,t=>this._start(t)),S.on(this._element,Lr,t=>this._move(t)),S.on(this._element,jr,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType==="pen"||t.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Wt=".bs.carousel",er=".data-api",tr="ArrowLeft",nr="ArrowRight",Nt="next",Ye="prev",ct="left",Pt="right",Nr=`slide${Wt}`,fn=`slid${Wt}`,ir=`keydown${Wt}`,rr=`mouseenter${Wt}`,hn=`mouseleave${Wt}`,Zt=`dragstart${Wt}`,ti=`load${Wt}${er}`,Nn=`click${Wt}${er}`,Ci="carousel",Pn="active",et=".active",We=".carousel-item",Ai=et+We,Pr={[tr]:Pt,[nr]:ct},or={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},sr={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class pt extends ht{constructor(t,s){super(t,s),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=F.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Ci&&this.cycle()}static get Default(){return or}static get DefaultType(){return sr}static get NAME(){return"carousel"}next(){this._slide(Nt)}nextWhenVisible(){!document.hidden&&Lt(this._element)&&this.next()}prev(){this._slide(Ye)}pause(){this._isSliding&&_i(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?S.one(this._element,fn,()=>this.cycle()):this.cycle())}to(t){const s=this._getItems();if(t>s.length-1||t<0)return;if(this._isSliding)return void S.one(this._element,fn,()=>this.to(t));const d=this._getItemIndex(this._getActive());if(d===t)return;const m=t>d?Nt:Ye;this._slide(m,s[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&S.on(this._element,ir,t=>this._keydown(t)),this._config.pause==="hover"&&(S.on(this._element,rr,()=>this.pause()),S.on(this._element,hn,()=>this._maybeEnableCycle())),this._config.touch&&Ie.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of F.find(".carousel-item img",this._element))S.on(s,Zt,d=>d.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(ct)),rightCallback:()=>this._slide(this._directionToOrder(Pt)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Ie(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const s=Pr[t.key];s&&(t.preventDefault(),this._slide(this._directionToOrder(s)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const s=F.findOne(et,this._indicatorsElement);s.classList.remove(Pn),s.removeAttribute("aria-current");const d=F.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);d&&(d.classList.add(Pn),d.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const s=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=s||this._config.defaultInterval}_slide(t,s=null){if(this._isSliding)return;const d=this._getActive(),m=t===Nt,y=s||Ft(this._getItems(),d,m,this._config.wrap);if(y===d)return;const T=this._getItemIndex(y),k=j=>S.trigger(this._element,j,{relatedTarget:y,direction:this._orderToDirection(t),from:this._getItemIndex(d),to:T});if(k(Nr).defaultPrevented||!d||!y)return;const O=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(T),this._activeElement=y;const P=m?"carousel-item-start":"carousel-item-end",M=m?"carousel-item-next":"carousel-item-prev";y.classList.add(M),An(y),d.classList.add(P),y.classList.add(P),this._queueCallback(()=>{y.classList.remove(P,M),y.classList.add(Pn),d.classList.remove(Pn,M,P),this._isSliding=!1,k(fn)},d,this._isAnimated()),O&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return F.findOne(Ai,this._element)}_getItems(){return F.find(We,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Me()?t===ct?Ye:Nt:t===ct?Nt:Ye}_orderToDirection(t){return Me()?t===Ye?ct:Pt:t===Ye?Pt:ct}static jQueryInterface(t){return this.each(function(){const s=pt.getOrCreateInstance(this,t);if(typeof t!="number"){if(typeof t=="string"){if(s[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);s[t]()}}else s.to(t)})}}S.on(document,Nn,"[data-bs-slide], [data-bs-slide-to]",function(l){const t=F.getElementFromSelector(this);if(!t||!t.classList.contains(Ci))return;l.preventDefault();const s=pt.getOrCreateInstance(t),d=this.getAttribute("data-bs-slide-to");return d?(s.to(d),void s._maybeEnableCycle()):bt.getDataAttribute(this,"slide")==="next"?(s.next(),void s._maybeEnableCycle()):(s.prev(),void s._maybeEnableCycle())}),S.on(window,ti,()=>{const l=F.find('[data-bs-ride="carousel"]');for(const t of l)pt.getOrCreateInstance(t)}),q(pt);const wt=".bs.collapse",ki=`show${wt}`,ni=`shown${wt}`,Mr=`hide${wt}`,Ir=`hidden${wt}`,$r=`click${wt}.data-api`,ii="show",pn="collapse",ri="collapsing",ar=`:scope .${pn} .${pn}`,Bt='[data-bs-toggle="collapse"]',lr={parent:null,toggle:!0},Si={parent:"(null|element)",toggle:"boolean"};class zt extends ht{constructor(t,s){super(t,s),this._isTransitioning=!1,this._triggerArray=[];const d=F.find(Bt);for(const m of d){const y=F.getSelectorFromElement(m),T=F.find(y).filter(k=>k===this._element);y!==null&&T.length&&this._triggerArray.push(m)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return lr}static get DefaultType(){return Si}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(m=>m!==this._element).map(m=>zt.getOrCreateInstance(m,{toggle:!1}))),t.length&&t[0]._isTransitioning||S.trigger(this._element,ki).defaultPrevented)return;for(const m of t)m.hide();const s=this._getDimension();this._element.classList.remove(pn),this._element.classList.add(ri),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const d=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ri),this._element.classList.add(pn,ii),this._element.style[s]="",S.trigger(this._element,ni)},this._element,!0),this._element.style[s]=`${this._element[d]}px`}hide(){if(this._isTransitioning||!this._isShown()||S.trigger(this._element,Mr).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,An(this._element),this._element.classList.add(ri),this._element.classList.remove(pn,ii);for(const s of this._triggerArray){const d=F.getElementFromSelector(s);d&&!this._isShown(d)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ri),this._element.classList.add(pn),S.trigger(this._element,Ir)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(ii)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=qe(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Bt);for(const s of t){const d=F.getElementFromSelector(s);d&&this._addAriaAndCollapsedClass([s],this._isShown(d))}}_getFirstLevelChildren(t){const s=F.find(ar,this._config.parent);return F.find(t,this._config.parent).filter(d=>!s.includes(d))}_addAriaAndCollapsedClass(t,s){if(t.length)for(const d of t)d.classList.toggle("collapsed",!s),d.setAttribute("aria-expanded",s)}static jQueryInterface(t){const s={};return typeof t=="string"&&/show|hide/.test(t)&&(s.toggle=!1),this.each(function(){const d=zt.getOrCreateInstance(this,s);if(typeof t=="string"){if(d[t]===void 0)throw new TypeError(`No method named "${t}"`);d[t]()}})}}S.on(document,$r,Bt,function(l){(l.target.tagName==="A"||l.delegateTarget&&l.delegateTarget.tagName==="A")&&l.preventDefault();for(const t of F.getMultipleElementsFromSelector(this))zt.getOrCreateInstance(t,{toggle:!1}).toggle()}),q(zt);var Ne="top",Ke="bottom",tt="right",Se="left",Mn="auto",en=[Ne,Ke,tt,Se],Vt="start",tn="end",oi="clippingParents",Oi="viewport",gn="popper",Di="reference",si=en.reduce(function(l,t){return l.concat([t+"-"+Vt,t+"-"+tn])},[]),In=[].concat(en,[Mn]).reduce(function(l,t){return l.concat([t,t+"-"+Vt,t+"-"+tn])},[]),Li="beforeRead",ut="read",nn="afterRead",$n="beforeMain",rn="main",ji="afterMain",cr="beforeWrite",ur="write",ai="afterWrite",Ni=[Li,ut,nn,$n,rn,ji,cr,ur,ai];function nt(l){return l?(l.nodeName||"").toLowerCase():null}function Qe(l){if(l==null)return window;if(l.toString()!=="[object Window]"){var t=l.ownerDocument;return t&&t.defaultView||window}return l}function $e(l){return l instanceof Qe(l).Element||l instanceof Element}function it(l){return l instanceof Qe(l).HTMLElement||l instanceof HTMLElement}function on(l){return typeof ShadowRoot<"u"&&(l instanceof Qe(l).ShadowRoot||l instanceof ShadowRoot)}const Pi={name:"applyStyles",enabled:!0,phase:"write",fn:function(l){var t=l.state;Object.keys(t.elements).forEach(function(s){var d=t.styles[s]||{},m=t.attributes[s]||{},y=t.elements[s];it(y)&&nt(y)&&(Object.assign(y.style,d),Object.keys(m).forEach(function(T){var k=m[T];k===!1?y.removeAttribute(T):y.setAttribute(T,k===!0?"":k)}))})},effect:function(l){var t=l.state,s={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,s.popper),t.styles=s,t.elements.arrow&&Object.assign(t.elements.arrow.style,s.arrow),function(){Object.keys(t.elements).forEach(function(d){var m=t.elements[d],y=t.attributes[d]||{},T=Object.keys(t.styles.hasOwnProperty(d)?t.styles[d]:s[d]).reduce(function(k,O){return k[O]="",k},{});it(m)&&nt(m)&&(Object.assign(m.style,T),Object.keys(y).forEach(function(k){m.removeAttribute(k)}))})}},requires:["computeStyles"]};function xt(l){return l.split("-")[0]}var rt=Math.max,Tt=Math.min,Xt=Math.round;function Mi(){var l=navigator.userAgentData;return l!=null&&l.brands&&Array.isArray(l.brands)?l.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function mn(){return!/^((?!chrome|android).)*safari/i.test(Mi())}function sn(l,t,s){t===void 0&&(t=!1),s===void 0&&(s=!1);var d=l.getBoundingClientRect(),m=1,y=1;t&&it(l)&&(m=l.offsetWidth>0&&Xt(d.width)/l.offsetWidth||1,y=l.offsetHeight>0&&Xt(d.height)/l.offsetHeight||1);var T=($e(l)?Qe(l):window).visualViewport,k=!mn()&&s,O=(d.left+(k&&T?T.offsetLeft:0))/m,P=(d.top+(k&&T?T.offsetTop:0))/y,M=d.width/m,j=d.height/y;return{width:M,height:j,top:P,right:O+M,bottom:P+j,left:O,x:O,y:P}}function Hn(l){var t=sn(l),s=l.offsetWidth,d=l.offsetHeight;return Math.abs(t.width-s)<=1&&(s=t.width),Math.abs(t.height-d)<=1&&(d=t.height),{x:l.offsetLeft,y:l.offsetTop,width:s,height:d}}function Ii(l,t){var s=t.getRootNode&&t.getRootNode();if(l.contains(t))return!0;if(s&&on(s)){var d=t;do{if(d&&l.isSameNode(d))return!0;d=d.parentNode||d.host}while(d)}return!1}function Et(l){return Qe(l).getComputedStyle(l)}function Hr(l){return["table","td","th"].indexOf(nt(l))>=0}function Mt(l){return(($e(l)?l.ownerDocument:l.document)||window.document).documentElement}function li(l){return nt(l)==="html"?l:l.assignedSlot||l.parentNode||(on(l)?l.host:null)||Mt(l)}function dr(l){return it(l)&&Et(l).position!=="fixed"?l.offsetParent:null}function an(l){for(var t=Qe(l),s=dr(l);s&&Hr(s)&&Et(s).position==="static";)s=dr(s);return s&&(nt(s)==="html"||nt(s)==="body"&&Et(s).position==="static")?t:s||(function(d){var m=/firefox/i.test(Mi());if(/Trident/i.test(Mi())&&it(d)&&Et(d).position==="fixed")return null;var y=li(d);for(on(y)&&(y=y.host);it(y)&&["html","body"].indexOf(nt(y))<0;){var T=Et(y);if(T.transform!=="none"||T.perspective!=="none"||T.contain==="paint"||["transform","perspective"].indexOf(T.willChange)!==-1||m&&T.willChange==="filter"||m&&T.filter&&T.filter!=="none")return y;y=y.parentNode}return null})(l)||t}function $i(l){return["top","bottom"].indexOf(l)>=0?"x":"y"}function qn(l,t,s){return rt(l,Tt(t,s))}function fr(l){return Object.assign({},{top:0,right:0,bottom:0,left:0},l)}function hr(l,t){return t.reduce(function(s,d){return s[d]=l,s},{})}const pr={name:"arrow",enabled:!0,phase:"main",fn:function(l){var t,s=l.state,d=l.name,m=l.options,y=s.elements.arrow,T=s.modifiersData.popperOffsets,k=xt(s.placement),O=$i(k),P=[Se,tt].indexOf(k)>=0?"height":"width";if(y&&T){var M=(function(pe,de){return fr(typeof(pe=typeof pe=="function"?pe(Object.assign({},de.rects,{placement:de.placement})):pe)!="number"?pe:hr(pe,en))})(m.padding,s),j=Hn(y),te=O==="y"?Ne:Se,X=O==="y"?Ke:tt,Z=s.rects.reference[P]+s.rects.reference[O]-T[O]-s.rects.popper[P],Y=T[O]-s.rects.reference[O],ee=an(y),he=ee?O==="y"?ee.clientHeight||0:ee.clientWidth||0:0,be=Z/2-Y/2,ie=M[te],ce=he-j[P]-M[X],ne=he/2-j[P]/2+be,ae=qn(ie,ne,ce),ue=O;s.modifiersData[d]=((t={})[ue]=ae,t.centerOffset=ae-ne,t)}},effect:function(l){var t=l.state,s=l.options.element,d=s===void 0?"[data-popper-arrow]":s;d!=null&&(typeof d!="string"||(d=t.elements.popper.querySelector(d)))&&Ii(t.elements.popper,d)&&(t.elements.arrow=d)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vn(l){return l.split("-")[1]}var gr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ci(l){var t,s=l.popper,d=l.popperRect,m=l.placement,y=l.variation,T=l.offsets,k=l.position,O=l.gpuAcceleration,P=l.adaptive,M=l.roundOffsets,j=l.isFixed,te=T.x,X=te===void 0?0:te,Z=T.y,Y=Z===void 0?0:Z,ee=typeof M=="function"?M({x:X,y:Y}):{x:X,y:Y};X=ee.x,Y=ee.y;var he=T.hasOwnProperty("x"),be=T.hasOwnProperty("y"),ie=Se,ce=Ne,ne=window;if(P){var ae=an(s),ue="clientHeight",pe="clientWidth";ae===Qe(s)&&Et(ae=Mt(s)).position!=="static"&&k==="absolute"&&(ue="scrollHeight",pe="scrollWidth"),(m===Ne||(m===Se||m===tt)&&y===tn)&&(ce=Ke,Y-=(j&&ae===ne&&ne.visualViewport?ne.visualViewport.height:ae[ue])-d.height,Y*=O?1:-1),m!==Se&&(m!==Ne&&m!==Ke||y!==tn)||(ie=tt,X-=(j&&ae===ne&&ne.visualViewport?ne.visualViewport.width:ae[pe])-d.width,X*=O?1:-1)}var de,je=Object.assign({position:k},P&&gr),yt=M===!0?(function(qt,st){var St=qt.x,Ot=qt.y,Ae=st.devicePixelRatio||1;return{x:Xt(St*Ae)/Ae||0,y:Xt(Ot*Ae)/Ae||0}})({x:X,y:Y},Qe(s)):{x:X,y:Y};return X=yt.x,Y=yt.y,O?Object.assign({},je,((de={})[ce]=be?"0":"",de[ie]=he?"0":"",de.transform=(ne.devicePixelRatio||1)<=1?"translate("+X+"px, "+Y+"px)":"translate3d("+X+"px, "+Y+"px, 0)",de)):Object.assign({},je,((t={})[ce]=be?Y+"px":"",t[ie]=he?X+"px":"",t.transform="",t))}const ui={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(l){var t=l.state,s=l.options,d=s.gpuAcceleration,m=d===void 0||d,y=s.adaptive,T=y===void 0||y,k=s.roundOffsets,O=k===void 0||k,P={placement:xt(t.placement),variation:vn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:m,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ci(Object.assign({},P,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:T,roundOffsets:O})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ci(Object.assign({},P,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:O})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var yn={passive:!0};const di={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(l){var t=l.state,s=l.instance,d=l.options,m=d.scroll,y=m===void 0||m,T=d.resize,k=T===void 0||T,O=Qe(t.elements.popper),P=[].concat(t.scrollParents.reference,t.scrollParents.popper);return y&&P.forEach(function(M){M.addEventListener("scroll",s.update,yn)}),k&&O.addEventListener("resize",s.update,yn),function(){y&&P.forEach(function(M){M.removeEventListener("scroll",s.update,yn)}),k&&O.removeEventListener("resize",s.update,yn)}},data:{}};var mr={left:"right",right:"left",bottom:"top",top:"bottom"};function bn(l){return l.replace(/left|right|bottom|top/g,function(t){return mr[t]})}var qr={start:"end",end:"start"};function _n(l){return l.replace(/start|end/g,function(t){return qr[t]})}function fi(l){var t=Qe(l);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function hi(l){return sn(Mt(l)).left+fi(l).scrollLeft}function Fn(l){var t=Et(l),s=t.overflow,d=t.overflowX,m=t.overflowY;return/auto|scroll|overlay|hidden/.test(s+m+d)}function vr(l){return["html","body","#document"].indexOf(nt(l))>=0?l.ownerDocument.body:it(l)&&Fn(l)?l:vr(li(l))}function Rn(l,t){var s;t===void 0&&(t=[]);var d=vr(l),m=d===((s=l.ownerDocument)==null?void 0:s.body),y=Qe(d),T=m?[y].concat(y.visualViewport||[],Fn(d)?d:[]):d,k=t.concat(T);return m?k:k.concat(Rn(li(T)))}function Hi(l){return Object.assign({},l,{left:l.x,top:l.y,right:l.x+l.width,bottom:l.y+l.height})}function e(l,t,s){return t===Oi?Hi((function(d,m){var y=Qe(d),T=Mt(d),k=y.visualViewport,O=T.clientWidth,P=T.clientHeight,M=0,j=0;if(k){O=k.width,P=k.height;var te=mn();(te||!te&&m==="fixed")&&(M=k.offsetLeft,j=k.offsetTop)}return{width:O,height:P,x:M+hi(d),y:j}})(l,s)):$e(t)?(function(d,m){var y=sn(d,!1,m==="fixed");return y.top=y.top+d.clientTop,y.left=y.left+d.clientLeft,y.bottom=y.top+d.clientHeight,y.right=y.left+d.clientWidth,y.width=d.clientWidth,y.height=d.clientHeight,y.x=y.left,y.y=y.top,y})(t,s):Hi((function(d){var m,y=Mt(d),T=fi(d),k=(m=d.ownerDocument)==null?void 0:m.body,O=rt(y.scrollWidth,y.clientWidth,k?k.scrollWidth:0,k?k.clientWidth:0),P=rt(y.scrollHeight,y.clientHeight,k?k.scrollHeight:0,k?k.clientHeight:0),M=-T.scrollLeft+hi(d),j=-T.scrollTop;return Et(k||y).direction==="rtl"&&(M+=rt(y.clientWidth,k?k.clientWidth:0)-O),{width:O,height:P,x:M,y:j}})(Mt(l)))}function n(l){var t,s=l.reference,d=l.element,m=l.placement,y=m?xt(m):null,T=m?vn(m):null,k=s.x+s.width/2-d.width/2,O=s.y+s.height/2-d.height/2;switch(y){case Ne:t={x:k,y:s.y-d.height};break;case Ke:t={x:k,y:s.y+s.height};break;case tt:t={x:s.x+s.width,y:O};break;case Se:t={x:s.x-d.width,y:O};break;default:t={x:s.x,y:s.y}}var P=y?$i(y):null;if(P!=null){var M=P==="y"?"height":"width";switch(T){case Vt:t[P]=t[P]-(s[M]/2-d[M]/2);break;case tn:t[P]=t[P]+(s[M]/2-d[M]/2)}}return t}function i(l,t){t===void 0&&(t={});var s=t,d=s.placement,m=d===void 0?l.placement:d,y=s.strategy,T=y===void 0?l.strategy:y,k=s.boundary,O=k===void 0?oi:k,P=s.rootBoundary,M=P===void 0?Oi:P,j=s.elementContext,te=j===void 0?gn:j,X=s.altBoundary,Z=X!==void 0&&X,Y=s.padding,ee=Y===void 0?0:Y,he=fr(typeof ee!="number"?ee:hr(ee,en)),be=te===gn?Di:gn,ie=l.rects.popper,ce=l.elements[Z?be:te],ne=(function(st,St,Ot,Ae){var Kt=St==="clippingParents"?(function(ve){var at=Rn(li(ve)),Dt=["absolute","fixed"].indexOf(Et(ve).position)>=0&&it(ve)?an(ve):ve;return $e(Dt)?at.filter(function(En){return $e(En)&&Ii(En,Dt)&&nt(En)!=="body"}):[]})(st):[].concat(St),Qt=[].concat(Kt,[Ot]),yi=Qt[0],Re=Qt.reduce(function(ve,at){var Dt=e(st,at,Ae);return ve.top=rt(Dt.top,ve.top),ve.right=Tt(Dt.right,ve.right),ve.bottom=Tt(Dt.bottom,ve.bottom),ve.left=rt(Dt.left,ve.left),ve},e(st,yi,Ae));return Re.width=Re.right-Re.left,Re.height=Re.bottom-Re.top,Re.x=Re.left,Re.y=Re.top,Re})($e(ce)?ce:ce.contextElement||Mt(l.elements.popper),O,M,T),ae=sn(l.elements.reference),ue=n({reference:ae,element:ie,placement:m}),pe=Hi(Object.assign({},ie,ue)),de=te===gn?pe:ae,je={top:ne.top-de.top+he.top,bottom:de.bottom-ne.bottom+he.bottom,left:ne.left-de.left+he.left,right:de.right-ne.right+he.right},yt=l.modifiersData.offset;if(te===gn&&yt){var qt=yt[m];Object.keys(je).forEach(function(st){var St=[tt,Ke].indexOf(st)>=0?1:-1,Ot=[Ne,Ke].indexOf(st)>=0?"y":"x";je[st]+=qt[Ot]*St})}return je}function r(l,t){t===void 0&&(t={});var s=t,d=s.placement,m=s.boundary,y=s.rootBoundary,T=s.padding,k=s.flipVariations,O=s.allowedAutoPlacements,P=O===void 0?In:O,M=vn(d),j=M?k?si:si.filter(function(Z){return vn(Z)===M}):en,te=j.filter(function(Z){return P.indexOf(Z)>=0});te.length===0&&(te=j);var X=te.reduce(function(Z,Y){return Z[Y]=i(l,{placement:Y,boundary:m,rootBoundary:y,padding:T})[xt(Y)],Z},{});return Object.keys(X).sort(function(Z,Y){return X[Z]-X[Y]})}const a={name:"flip",enabled:!0,phase:"main",fn:function(l){var t=l.state,s=l.options,d=l.name;if(!t.modifiersData[d]._skip){for(var m=s.mainAxis,y=m===void 0||m,T=s.altAxis,k=T===void 0||T,O=s.fallbackPlacements,P=s.padding,M=s.boundary,j=s.rootBoundary,te=s.altBoundary,X=s.flipVariations,Z=X===void 0||X,Y=s.allowedAutoPlacements,ee=t.options.placement,he=xt(ee),be=O||(he!==ee&&Z?(function(ve){if(xt(ve)===Mn)return[];var at=bn(ve);return[_n(ve),at,_n(at)]})(ee):[bn(ee)]),ie=[ee].concat(be).reduce(function(ve,at){return ve.concat(xt(at)===Mn?r(t,{placement:at,boundary:M,rootBoundary:j,padding:P,flipVariations:Z,allowedAutoPlacements:Y}):at)},[]),ce=t.rects.reference,ne=t.rects.popper,ae=new Map,ue=!0,pe=ie[0],de=0;de<ie.length;de++){var je=ie[de],yt=xt(je),qt=vn(je)===Vt,st=[Ne,Ke].indexOf(yt)>=0,St=st?"width":"height",Ot=i(t,{placement:je,boundary:M,rootBoundary:j,altBoundary:te,padding:P}),Ae=st?qt?tt:Se:qt?Ke:Ne;ce[St]>ne[St]&&(Ae=bn(Ae));var Kt=bn(Ae),Qt=[];if(y&&Qt.push(Ot[yt]<=0),k&&Qt.push(Ot[Ae]<=0,Ot[Kt]<=0),Qt.every(function(ve){return ve})){pe=je,ue=!1;break}ae.set(je,Qt)}if(ue)for(var yi=function(ve){var at=ie.find(function(Dt){var En=ae.get(Dt);if(En)return En.slice(0,ve).every(function(Cr){return Cr})});if(at)return pe=at,"break"},Re=Z?3:1;Re>0&&yi(Re)!=="break";Re--);t.placement!==pe&&(t.modifiersData[d]._skip=!0,t.placement=pe,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function c(l,t,s){return s===void 0&&(s={x:0,y:0}),{top:l.top-t.height-s.y,right:l.right-t.width+s.x,bottom:l.bottom-t.height+s.y,left:l.left-t.width-s.x}}function u(l){return[Ne,tt,Ke,Se].some(function(t){return l[t]>=0})}const p={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(l){var t=l.state,s=l.name,d=t.rects.reference,m=t.rects.popper,y=t.modifiersData.preventOverflow,T=i(t,{elementContext:"reference"}),k=i(t,{altBoundary:!0}),O=c(T,d),P=c(k,m,y),M=u(O),j=u(P);t.modifiersData[s]={referenceClippingOffsets:O,popperEscapeOffsets:P,isReferenceHidden:M,hasPopperEscaped:j},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":M,"data-popper-escaped":j})}},h={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(l){var t=l.state,s=l.options,d=l.name,m=s.offset,y=m===void 0?[0,0]:m,T=In.reduce(function(M,j){return M[j]=(function(te,X,Z){var Y=xt(te),ee=[Se,Ne].indexOf(Y)>=0?-1:1,he=typeof Z=="function"?Z(Object.assign({},X,{placement:te})):Z,be=he[0],ie=he[1];return be=be||0,ie=(ie||0)*ee,[Se,tt].indexOf(Y)>=0?{x:ie,y:be}:{x:be,y:ie}})(j,t.rects,y),M},{}),k=T[t.placement],O=k.x,P=k.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=O,t.modifiersData.popperOffsets.y+=P),t.modifiersData[d]=T}},v={name:"popperOffsets",enabled:!0,phase:"read",fn:function(l){var t=l.state,s=l.name;t.modifiersData[s]=n({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},w={name:"preventOverflow",enabled:!0,phase:"main",fn:function(l){var t=l.state,s=l.options,d=l.name,m=s.mainAxis,y=m===void 0||m,T=s.altAxis,k=T!==void 0&&T,O=s.boundary,P=s.rootBoundary,M=s.altBoundary,j=s.padding,te=s.tether,X=te===void 0||te,Z=s.tetherOffset,Y=Z===void 0?0:Z,ee=i(t,{boundary:O,rootBoundary:P,padding:j,altBoundary:M}),he=xt(t.placement),be=vn(t.placement),ie=!be,ce=$i(he),ne=ce==="x"?"y":"x",ae=t.modifiersData.popperOffsets,ue=t.rects.reference,pe=t.rects.popper,de=typeof Y=="function"?Y(Object.assign({},t.rects,{placement:t.placement})):Y,je=typeof de=="number"?{mainAxis:de,altAxis:de}:Object.assign({mainAxis:0,altAxis:0},de),yt=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,qt={x:0,y:0};if(ae){if(y){var st,St=ce==="y"?Ne:Se,Ot=ce==="y"?Ke:tt,Ae=ce==="y"?"height":"width",Kt=ae[ce],Qt=Kt+ee[St],yi=Kt-ee[Ot],Re=X?-pe[Ae]/2:0,ve=be===Vt?ue[Ae]:pe[Ae],at=be===Vt?-pe[Ae]:-ue[Ae],Dt=t.elements.arrow,En=X&&Dt?Hn(Dt):{width:0,height:0},Cr=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},go=Cr[St],mo=Cr[Ot],Ar=qn(0,ue[Ae],En[Ae]),xs=ie?ue[Ae]/2-Re-Ar-go-je.mainAxis:ve-Ar-go-je.mainAxis,Ts=ie?-ue[Ae]/2+Re+Ar+mo+je.mainAxis:at+Ar+mo+je.mainAxis,Kr=t.elements.arrow&&an(t.elements.arrow),Es=Kr?ce==="y"?Kr.clientTop||0:Kr.clientLeft||0:0,vo=(st=yt?.[ce])!=null?st:0,Cs=Kt+Ts-vo,yo=qn(X?Tt(Qt,Kt+xs-vo-Es):Qt,Kt,X?rt(yi,Cs):yi);ae[ce]=yo,qt[ce]=yo-Kt}if(k){var bo,As=ce==="x"?Ne:Se,ks=ce==="x"?Ke:tt,Gn=ae[ne],kr=ne==="y"?"height":"width",_o=Gn+ee[As],wo=Gn-ee[ks],Qr=[Ne,Se].indexOf(he)!==-1,xo=(bo=yt?.[ne])!=null?bo:0,To=Qr?_o:Gn-ue[kr]-pe[kr]-xo+je.altAxis,Eo=Qr?Gn+ue[kr]+pe[kr]-xo-je.altAxis:wo,Co=X&&Qr?(function(Ss,Os,Gr){var Ao=qn(Ss,Os,Gr);return Ao>Gr?Gr:Ao})(To,Gn,Eo):qn(X?To:_o,Gn,X?Eo:wo);ae[ne]=Co,qt[ne]=Co-Gn}t.modifiersData[d]=qt}},requiresIfExists:["offset"]};function E(l,t,s){s===void 0&&(s=!1);var d,m,y=it(t),T=it(t)&&(function(j){var te=j.getBoundingClientRect(),X=Xt(te.width)/j.offsetWidth||1,Z=Xt(te.height)/j.offsetHeight||1;return X!==1||Z!==1})(t),k=Mt(t),O=sn(l,T,s),P={scrollLeft:0,scrollTop:0},M={x:0,y:0};return(y||!y&&!s)&&((nt(t)!=="body"||Fn(k))&&(P=(d=t)!==Qe(d)&&it(d)?{scrollLeft:(m=d).scrollLeft,scrollTop:m.scrollTop}:fi(d)),it(t)?((M=sn(t,!0)).x+=t.clientLeft,M.y+=t.clientTop):k&&(M.x=hi(k))),{x:O.left+P.scrollLeft-M.x,y:O.top+P.scrollTop-M.y,width:O.width,height:O.height}}function b(l){var t=new Map,s=new Set,d=[];function m(y){s.add(y.name),[].concat(y.requires||[],y.requiresIfExists||[]).forEach(function(T){if(!s.has(T)){var k=t.get(T);k&&m(k)}}),d.push(y)}return l.forEach(function(y){t.set(y.name,y)}),l.forEach(function(y){s.has(y.name)||m(y)}),d}var A={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var l=arguments.length,t=new Array(l),s=0;s<l;s++)t[s]=arguments[s];return!t.some(function(d){return!(d&&typeof d.getBoundingClientRect=="function")})}function B(l){l===void 0&&(l={});var t=l,s=t.defaultModifiers,d=s===void 0?[]:s,m=t.defaultOptions,y=m===void 0?A:m;return function(T,k,O){O===void 0&&(O=y);var P,M,j={placement:"bottom",orderedModifiers:[],options:Object.assign({},A,y),modifiersData:{},elements:{reference:T,popper:k},attributes:{},styles:{}},te=[],X=!1,Z={state:j,setOptions:function(ee){var he=typeof ee=="function"?ee(j.options):ee;Y(),j.options=Object.assign({},y,j.options,he),j.scrollParents={reference:$e(T)?Rn(T):T.contextElement?Rn(T.contextElement):[],popper:Rn(k)};var be,ie,ce=(function(ne){var ae=b(ne);return Ni.reduce(function(ue,pe){return ue.concat(ae.filter(function(de){return de.phase===pe}))},[])})((be=[].concat(d,j.options.modifiers),ie=be.reduce(function(ne,ae){var ue=ne[ae.name];return ne[ae.name]=ue?Object.assign({},ue,ae,{options:Object.assign({},ue.options,ae.options),data:Object.assign({},ue.data,ae.data)}):ae,ne},{}),Object.keys(ie).map(function(ne){return ie[ne]})));return j.orderedModifiers=ce.filter(function(ne){return ne.enabled}),j.orderedModifiers.forEach(function(ne){var ae=ne.name,ue=ne.options,pe=ue===void 0?{}:ue,de=ne.effect;if(typeof de=="function"){var je=de({state:j,name:ae,instance:Z,options:pe});te.push(je||function(){})}}),Z.update()},forceUpdate:function(){if(!X){var ee=j.elements,he=ee.reference,be=ee.popper;if($(he,be)){j.rects={reference:E(he,an(be),j.options.strategy==="fixed"),popper:Hn(be)},j.reset=!1,j.placement=j.options.placement,j.orderedModifiers.forEach(function(de){return j.modifiersData[de.name]=Object.assign({},de.data)});for(var ie=0;ie<j.orderedModifiers.length;ie++)if(j.reset!==!0){var ce=j.orderedModifiers[ie],ne=ce.fn,ae=ce.options,ue=ae===void 0?{}:ae,pe=ce.name;typeof ne=="function"&&(j=ne({state:j,options:ue,name:pe,instance:Z})||j)}else j.reset=!1,ie=-1}}},update:(P=function(){return new Promise(function(ee){Z.forceUpdate(),ee(j)})},function(){return M||(M=new Promise(function(ee){Promise.resolve().then(function(){M=void 0,ee(P())})})),M}),destroy:function(){Y(),X=!0}};if(!$(T,k))return Z;function Y(){te.forEach(function(ee){return ee()}),te=[]}return Z.setOptions(O).then(function(ee){!X&&O.onFirstUpdate&&O.onFirstUpdate(ee)}),Z}}var V=B(),we=B({defaultModifiers:[di,v,ui,Pi]}),Ee=B({defaultModifiers:[di,v,ui,Pi,h,a,w,pr,p]});const gt=Object.freeze(Object.defineProperty({__proto__:null,afterMain:ji,afterRead:nn,afterWrite:ai,applyStyles:Pi,arrow:pr,auto:Mn,basePlacements:en,beforeMain:$n,beforeRead:Li,beforeWrite:cr,bottom:Ke,clippingParents:oi,computeStyles:ui,createPopper:Ee,createPopperBase:V,createPopperLite:we,detectOverflow:i,end:tn,eventListeners:di,flip:a,hide:p,left:Se,main:rn,modifierPhases:Ni,offset:h,placements:In,popper:gn,popperGenerator:B,popperOffsets:v,preventOverflow:w,read:ut,reference:Di,right:tt,start:Vt,top:Ne,variationPlacements:si,viewport:Oi,write:ur},Symbol.toStringTag,{value:"Module"})),mt="dropdown",J=".bs.dropdown",It=".data-api",oe="ArrowUp",_e="ArrowDown",Wn=`hide${J}`,qi=`hidden${J}`,Ct=`show${J}`,Bn=`shown${J}`,At=`click${J}${It}`,$t=`keydown${J}${It}`,wn=`keyup${J}${It}`,He="show",ye='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ce=`${ye}.${He}`,Pe=".dropdown-menu",Ut=Me()?"top-end":"top-start",Be=Me()?"top-start":"top-end",W=Me()?"bottom-end":"bottom-start",xe=Me()?"bottom-start":"bottom-end",Te=Me()?"left-start":"right-start",ge=Me()?"right-start":"left-start",kt={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},xn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ge extends ht{constructor(t,s){super(t,s),this._popper=null,this._parent=this._element.parentNode,this._menu=F.next(this._element,Pe)[0]||F.prev(this._element,Pe)[0]||F.findOne(Pe,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return kt}static get DefaultType(){return xn}static get NAME(){return mt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(jt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!S.trigger(this._element,Ct,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const s of[].concat(...document.body.children))S.on(s,"mouseover",Cn);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(He),this._element.classList.add(He),S.trigger(this._element,Bn,t)}}hide(){if(jt(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!S.trigger(this._element,Wn,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))S.off(s,"mouseover",Cn);this._popper&&this._popper.destroy(),this._menu.classList.remove(He),this._element.classList.remove(He),this._element.setAttribute("aria-expanded","false"),bt.removeDataAttribute(this._menu,"popper"),S.trigger(this._element,qi,t)}}_getConfig(t){if(typeof(t=super._getConfig(t)).reference=="object"&&!lt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${mt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(gt===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:lt(this._config.reference)?t=qe(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const s=this._getPopperConfig();this._popper=Ee(t,this._menu,s)}_isShown(){return this._menu.classList.contains(He)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Te;if(t.classList.contains("dropstart"))return ge;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const s=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains("dropup")?s?Be:Ut:s?xe:W}_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(s=>Number.parseInt(s,10)):typeof t=="function"?s=>t(s,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(bt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Xe(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:s}){const d=F.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(m=>Lt(m));d.length&&Ft(d,s,t===_e,!d.includes(s)).focus()}static jQueryInterface(t){return this.each(function(){const s=Ge.getOrCreateInstance(this,t);if(typeof t=="string"){if(s[t]===void 0)throw new TypeError(`No method named "${t}"`);s[t]()}})}static clearMenus(t){if(t.button===2||t.type==="keyup"&&t.key!=="Tab")return;const s=F.find(Ce);for(const d of s){const m=Ge.getInstance(d);if(!m||m._config.autoClose===!1)continue;const y=t.composedPath(),T=y.includes(m._menu);if(y.includes(m._element)||m._config.autoClose==="inside"&&!T||m._config.autoClose==="outside"&&T||m._menu.contains(t.target)&&(t.type==="keyup"&&t.key==="Tab"||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const k={relatedTarget:m._element};t.type==="click"&&(k.clickEvent=t),m._completeHide(k)}}static dataApiKeydownHandler(t){const s=/input|textarea/i.test(t.target.tagName),d=t.key==="Escape",m=[oe,_e].includes(t.key);if(!m&&!d||s&&!d)return;t.preventDefault();const y=this.matches(ye)?this:F.prev(this,ye)[0]||F.next(this,ye)[0]||F.findOne(ye,t.delegateTarget.parentNode),T=Ge.getOrCreateInstance(y);if(m)return t.stopPropagation(),T.show(),void T._selectMenuItem(t);T._isShown()&&(t.stopPropagation(),T.hide(),y.focus())}}S.on(document,$t,ye,Ge.dataApiKeydownHandler),S.on(document,$t,Pe,Ge.dataApiKeydownHandler),S.on(document,At,Ge.clearMenus),S.on(document,wn,Ge.clearMenus),S.on(document,At,ye,function(l){l.preventDefault(),Ge.getOrCreateInstance(this).toggle()}),q(Ge);const Yt="backdrop",pi="show",Ht=`mousedown.bs.${Yt}`,yr={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},zn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Vn extends On{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return yr}static get DefaultType(){return zn}static get NAME(){return Yt}show(t){if(!this._config.isVisible)return void Xe(t);this._append();const s=this._getElement();this._config.isAnimated&&An(s),s.classList.add(pi),this._emulateAnimation(()=>{Xe(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(pi),this._emulateAnimation(()=>{this.dispose(),Xe(t)})):Xe(t)}dispose(){this._isAppended&&(S.off(this._element,Ht),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=qe(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),S.on(t,Ht,()=>{Xe(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){wi(t,this._getElement(),this._config.isAnimated)}}const ln=".bs.focustrap",Fi=`focusin${ln}`,gi=`keydown.tab${ln}`,mi="backward",Ri={autofocus:!0,trapElement:null},Wi={autofocus:"boolean",trapElement:"element"};class Bi extends On{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ri}static get DefaultType(){return Wi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),S.off(document,ln),S.on(document,Fi,t=>this._handleFocusin(t)),S.on(document,gi,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,S.off(document,ln))}_handleFocusin(t){const{trapElement:s}=this._config;if(t.target===document||t.target===s||s.contains(t.target))return;const d=F.focusableChildren(s);d.length===0?s.focus():this._lastTabNavDirection===mi?d[d.length-1].focus():d[0].focus()}_handleKeydown(t){t.key==="Tab"&&(this._lastTabNavDirection=t.shiftKey?mi:"forward")}}const f=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",g=".sticky-top",_="padding-right",x="margin-right";class C{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,_,s=>s+t),this._setElementAttributes(f,_,s=>s+t),this._setElementAttributes(g,x,s=>s-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,_),this._resetElementAttributes(f,_),this._resetElementAttributes(g,x)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,s,d){const m=this.getWidth();this._applyManipulationCallback(t,y=>{if(y!==this._element&&window.innerWidth>y.clientWidth+m)return;this._saveInitialAttribute(y,s);const T=window.getComputedStyle(y).getPropertyValue(s);y.style.setProperty(s,`${d(Number.parseFloat(T))}px`)})}_saveInitialAttribute(t,s){const d=t.style.getPropertyValue(s);d&&bt.setDataAttribute(t,s,d)}_resetElementAttributes(t,s){this._applyManipulationCallback(t,d=>{const m=bt.getDataAttribute(d,s);m!==null?(bt.removeDataAttribute(d,s),d.style.setProperty(s,m)):d.style.removeProperty(s)})}_applyManipulationCallback(t,s){if(lt(t))s(t);else for(const d of F.find(t,this._element))s(d)}}const D=".bs.modal",N=`hide${D}`,I=`hidePrevented${D}`,L=`hidden${D}`,se=`show${D}`,U=`shown${D}`,Q=`resize${D}`,re=`click.dismiss${D}`,z=`mousedown.dismiss${D}`,Oe=`keydown.dismiss${D}`,Fe=`click${D}.data-api`,De="modal-open",ze="show",Ve="modal-static",vt={backdrop:!0,focus:!0,keyboard:!0},me={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ot extends ht{constructor(t,s){super(t,s),this._dialog=F.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new C,this._addEventListeners()}static get Default(){return vt}static get DefaultType(){return me}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||S.trigger(this._element,se,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(De),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(S.trigger(this._element,N).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ze),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){S.off(window,D),S.off(this._dialog,D),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Vn({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Bi({trapElement:this._element})}_showElement(t){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 s=F.findOne(".modal-body",this._dialog);s&&(s.scrollTop=0),An(this._element),this._element.classList.add(ze),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,S.trigger(this._element,U,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){S.on(this._element,Oe,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),S.on(window,Q,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),S.on(this._element,z,t=>{S.one(this._element,re,s=>{this._element===t.target&&this._element===s.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(De),this._resetAdjustments(),this._scrollBar.reset(),S.trigger(this._element,L)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(S.trigger(this._element,I).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(Ve)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ve),this._queueCallback(()=>{this._element.classList.remove(Ve),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,s=this._scrollBar.getWidth(),d=s>0;if(d&&!t){const m=Me()?"paddingLeft":"paddingRight";this._element.style[m]=`${s}px`}if(!d&&t){const m=Me()?"paddingRight":"paddingLeft";this._element.style[m]=`${s}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,s){return this.each(function(){const d=ot.getOrCreateInstance(this,t);if(typeof t=="string"){if(d[t]===void 0)throw new TypeError(`No method named "${t}"`);d[t](s)}})}}S.on(document,Fe,'[data-bs-toggle="modal"]',function(l){const t=F.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&l.preventDefault(),S.one(t,se,d=>{d.defaultPrevented||S.one(t,L,()=>{Lt(this)&&this.focus()})});const s=F.findOne(".modal.show");s&&ot.getInstance(s).hide(),ot.getOrCreateInstance(t).toggle(this)}),Ze(ot),q(ot);const Le=".bs.offcanvas",Xn=".data-api",br=`load${Le}${Xn}`,zi="show",_r="showing",Jr="hiding",Zr=".offcanvas.show",ko=`show${Le}`,So=`shown${Le}`,Oo=`hide${Le}`,eo=`hidePrevented${Le}`,to=`hidden${Le}`,Do=`resize${Le}`,Lo=`click${Le}${Xn}`,jo=`keydown.dismiss${Le}`,No={backdrop:!0,keyboard:!0,scroll:!1},Po={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class cn extends ht{constructor(t,s){super(t,s),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return No}static get DefaultType(){return Po}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||S.trigger(this._element,ko,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new C().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(_r),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(zi),this._element.classList.remove(_r),S.trigger(this._element,So,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(S.trigger(this._element,Oo).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Jr),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(zi,Jr),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new C().reset(),S.trigger(this._element,to)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=!!this._config.backdrop;return new Vn({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{this._config.backdrop!=="static"?this.hide():S.trigger(this._element,eo)}:null})}_initializeFocusTrap(){return new Bi({trapElement:this._element})}_addEventListeners(){S.on(this._element,jo,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():S.trigger(this._element,eo))})}static jQueryInterface(t){return this.each(function(){const s=cn.getOrCreateInstance(this,t);if(typeof t=="string"){if(s[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);s[t](this)}})}}S.on(document,Lo,'[data-bs-toggle="offcanvas"]',function(l){const t=F.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&l.preventDefault(),jt(this))return;S.one(t,to,()=>{Lt(this)&&this.focus()});const s=F.findOne(Zr);s&&s!==t&&cn.getInstance(s).hide(),cn.getOrCreateInstance(t).toggle(this)}),S.on(window,br,()=>{for(const l of F.find(Zr))cn.getOrCreateInstance(l).show()}),S.on(window,Do,()=>{for(const l of F.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(l).position!=="fixed"&&cn.getOrCreateInstance(l).hide()}),Ze(cn),q(cn);const no={"*":["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:[]},Mo=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Io=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,$o=(l,t)=>{const s=l.nodeName.toLowerCase();return t.includes(s)?!Mo.has(s)||!!Io.test(l.nodeValue):t.filter(d=>d instanceof RegExp).some(d=>d.test(s))},Ho={allowList:no,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},qo={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Fo={entry:"(string|element|function|null)",selector:"(string|element)"};class Ro extends On{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Ho}static get DefaultType(){return qo}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[m,y]of Object.entries(this._config.content))this._setContent(t,y,m);const s=t.children[0],d=this._resolvePossibleFunction(this._config.extraClass);return d&&s.classList.add(...d.split(" ")),s}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[s,d]of Object.entries(t))super._typeCheckConfig({selector:s,entry:d},Fo)}_setContent(t,s,d){const m=F.findOne(d,t);m&&((s=this._resolvePossibleFunction(s))?lt(s)?this._putElementInTemplate(qe(s),m):this._config.html?m.innerHTML=this._maybeSanitize(s):m.textContent=s:m.remove())}_maybeSanitize(t){return this._config.sanitize?(function(s,d,m){if(!s.length)return s;if(m&&typeof m=="function")return m(s);const y=new window.DOMParser().parseFromString(s,"text/html"),T=[].concat(...y.body.querySelectorAll("*"));for(const k of T){const O=k.nodeName.toLowerCase();if(!Object.keys(d).includes(O)){k.remove();continue}const P=[].concat(...k.attributes),M=[].concat(d["*"]||[],d[O]||[]);for(const j of P)$o(j,M)||k.removeAttribute(j.nodeName)}return y.body.innerHTML})(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Xe(t,[void 0,this])}_putElementInTemplate(t,s){if(this._config.html)return s.innerHTML="",void s.append(t);s.textContent=t.textContent}}const Wo=new Set(["sanitize","allowList","sanitizeFn"]),Fr="fade",wr="show",Bo=".tooltip-inner",io=".modal",ro="hide.bs.modal",Vi="hover",Rr="focus",Wr="click",zo={AUTO:"auto",TOP:"top",RIGHT:Me()?"left":"right",BOTTOM:"bottom",LEFT:Me()?"right":"left"},Vo={allowList:no,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:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Xo={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 Un extends ht{constructor(t,s){if(gt===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,s),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 Vo}static get DefaultType(){return Xo}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),S.off(this._element.closest(io),ro,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 t=S.trigger(this._element,this.constructor.eventName("show")),s=(un(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();const d=this._getTipElement();this._element.setAttribute("aria-describedby",d.getAttribute("id"));const{container:m}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(m.append(d),S.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(d),d.classList.add(wr),"ontouchstart"in document.documentElement)for(const y of[].concat(...document.body.children))S.on(y,"mouseover",Cn);this._queueCallback(()=>{S.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!S.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(wr),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))S.off(t,"mouseover",Cn);this._activeTrigger[Wr]=!1,this._activeTrigger[Rr]=!1,this._activeTrigger[Vi]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),S.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(t){const s=this._getTemplateFactory(t).toHtml();if(!s)return null;s.classList.remove(Fr,wr),s.classList.add(`bs-${this.constructor.NAME}-auto`);const d=(m=>{do m+=Math.floor(1e6*Math.random());while(document.getElementById(m));return m})(this.constructor.NAME).toString();return s.setAttribute("id",d),this._isAnimated()&&s.classList.add(Fr),s}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Ro({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Bo]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Fr)}_isShown(){return this.tip&&this.tip.classList.contains(wr)}_createPopper(t){const s=Xe(this._config.placement,[this,t,this._element]),d=zo[s.toUpperCase()];return Ee(this._element,t,this._getPopperConfig(d))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(s=>Number.parseInt(s,10)):typeof t=="function"?s=>t(s,this._element):t}_resolvePossibleFunction(t){return Xe(t,[this._element,this._element])}_getPopperConfig(t){const s={placement:t,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:d=>{this._getTipElement().setAttribute("data-popper-placement",d.state.placement)}}]};return{...s,...Xe(this._config.popperConfig,[void 0,s])}}_setListeners(){const t=this._config.trigger.split(" ");for(const s of t)if(s==="click")S.on(this._element,this.constructor.eventName("click"),this._config.selector,d=>{const m=this._initializeOnDelegatedTarget(d);m._activeTrigger[Wr]=!(m._isShown()&&m._activeTrigger[Wr]),m.toggle()});else if(s!=="manual"){const d=s===Vi?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),m=s===Vi?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");S.on(this._element,d,this._config.selector,y=>{const T=this._initializeOnDelegatedTarget(y);T._activeTrigger[y.type==="focusin"?Rr:Vi]=!0,T._enter()}),S.on(this._element,m,this._config.selector,y=>{const T=this._initializeOnDelegatedTarget(y);T._activeTrigger[y.type==="focusout"?Rr:Vi]=T._element.contains(y.relatedTarget),T._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},S.on(this._element.closest(io),ro,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),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(t,s){clearTimeout(this._timeout),this._timeout=setTimeout(t,s)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const s=bt.getDataAttributes(this._element);for(const d of Object.keys(s))Wo.has(d)&&delete s[d];return t={...s,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:qe(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[s,d]of Object.entries(this._config))this.constructor.Default[s]!==d&&(t[s]=d);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const s=Un.getOrCreateInstance(this,t);if(typeof t=="string"){if(s[t]===void 0)throw new TypeError(`No method named "${t}"`);s[t]()}})}}q(Un);const Uo=".popover-header",Yo=".popover-body",Ko={...Un.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Qo={...Un.DefaultType,content:"(null|string|element|function)"};class xr extends Un{static get Default(){return Ko}static get DefaultType(){return Qo}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Uo]:this._getTitle(),[Yo]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const s=xr.getOrCreateInstance(this,t);if(typeof t=="string"){if(s[t]===void 0)throw new TypeError(`No method named "${t}"`);s[t]()}})}}q(xr);const Br=".bs.scrollspy",Go=`activate${Br}`,oo=`click${Br}`,Jo=`load${Br}.data-api`,vi="active",zr="[href]",so=".nav-link",Zo=`${so}, .nav-item > ${so}, .list-group-item`,es={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ts={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Xi extends ht{constructor(t,s){super(t,s),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 es}static get DefaultType(){return ts}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=qe(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(s=>Number.parseFloat(s))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(S.off(this._config.target,oo),S.on(this._config.target,oo,zr,t=>{const s=this._observableSections.get(t.target.hash);if(s){t.preventDefault();const d=this._rootElement||window,m=s.offsetTop-this._element.offsetTop;if(d.scrollTo)return void d.scrollTo({top:m,behavior:"smooth"});d.scrollTop=m}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(s=>this._observerCallback(s),t)}_observerCallback(t){const s=T=>this._targetLinks.get(`#${T.target.id}`),d=T=>{this._previousScrollData.visibleEntryTop=T.target.offsetTop,this._process(s(T))},m=(this._rootElement||document.documentElement).scrollTop,y=m>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=m;for(const T of t){if(!T.isIntersecting){this._activeTarget=null,this._clearActiveClass(s(T));continue}const k=T.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(y&&k){if(d(T),!m)return}else y||k||d(T)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=F.find(zr,this._config.target);for(const s of t){if(!s.hash||jt(s))continue;const d=F.findOne(decodeURI(s.hash),this._element);Lt(d)&&(this._targetLinks.set(decodeURI(s.hash),s),this._observableSections.set(s.hash,d))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(vi),this._activateParents(t),S.trigger(this._element,Go,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))F.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(vi);else for(const s of F.parents(t,".nav, .list-group"))for(const d of F.prev(s,Zo))d.classList.add(vi)}_clearActiveClass(t){t.classList.remove(vi);const s=F.find(`${zr}.${vi}`,t);for(const d of s)d.classList.remove(vi)}static jQueryInterface(t){return this.each(function(){const s=Xi.getOrCreateInstance(this,t);if(typeof t=="string"){if(s[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);s[t]()}})}}S.on(window,Jo,()=>{for(const l of F.find('[data-bs-spy="scroll"]'))Xi.getOrCreateInstance(l)}),q(Xi);const Yn=".bs.tab",ns=`hide${Yn}`,is=`hidden${Yn}`,rs=`show${Yn}`,os=`shown${Yn}`,ss=`click${Yn}`,as=`keydown${Yn}`,ls=`load${Yn}`,cs="ArrowLeft",ao="ArrowRight",us="ArrowUp",lo="ArrowDown",Vr="Home",co="End",Kn="active",uo="fade",Xr="show",fo=".dropdown-toggle",Ur=`:not(${fo})`,ho='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Yr=`.nav-link${Ur}, .list-group-item${Ur}, [role="tab"]${Ur}, ${ho}`,ds=`.${Kn}[data-bs-toggle="tab"], .${Kn}[data-bs-toggle="pill"], .${Kn}[data-bs-toggle="list"]`;class Qn extends ht{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),S.on(this._element,as,s=>this._keydown(s)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const s=this._getActiveElem(),d=s?S.trigger(s,ns,{relatedTarget:t}):null;S.trigger(t,rs,{relatedTarget:s}).defaultPrevented||d&&d.defaultPrevented||(this._deactivate(s,t),this._activate(t,s))}_activate(t,s){t&&(t.classList.add(Kn),this._activate(F.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),S.trigger(t,os,{relatedTarget:s})):t.classList.add(Xr)},t,t.classList.contains(uo)))}_deactivate(t,s){t&&(t.classList.remove(Kn),t.blur(),this._deactivate(F.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),S.trigger(t,is,{relatedTarget:s})):t.classList.remove(Xr)},t,t.classList.contains(uo)))}_keydown(t){if(![cs,ao,us,lo,Vr,co].includes(t.key))return;t.stopPropagation(),t.preventDefault();const s=this._getChildren().filter(m=>!jt(m));let d;if([Vr,co].includes(t.key))d=s[t.key===Vr?0:s.length-1];else{const m=[ao,lo].includes(t.key);d=Ft(s,t.target,m,!0)}d&&(d.focus({preventScroll:!0}),Qn.getOrCreateInstance(d).show())}_getChildren(){return F.find(Yr,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,s){this._setAttributeIfNotExists(t,"role","tablist");for(const d of s)this._setInitialAttributesOnChild(d)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const s=this._elemIsActive(t),d=this._getOuterElement(t);t.setAttribute("aria-selected",s),d!==t&&this._setAttributeIfNotExists(d,"role","presentation"),s||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const s=F.getElementFromSelector(t);s&&(this._setAttributeIfNotExists(s,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(s,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,s){const d=this._getOuterElement(t);if(!d.classList.contains("dropdown"))return;const m=(y,T)=>{const k=F.findOne(y,d);k&&k.classList.toggle(T,s)};m(fo,Kn),m(".dropdown-menu",Xr),d.setAttribute("aria-expanded",s)}_setAttributeIfNotExists(t,s,d){t.hasAttribute(s)||t.setAttribute(s,d)}_elemIsActive(t){return t.classList.contains(Kn)}_getInnerElement(t){return t.matches(Yr)?t:F.findOne(Yr,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const s=Qn.getOrCreateInstance(this);if(typeof t=="string"){if(s[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);s[t]()}})}}S.on(document,ss,ho,function(l){["A","AREA"].includes(this.tagName)&&l.preventDefault(),jt(this)||Qn.getOrCreateInstance(this).show()}),S.on(window,ls,()=>{for(const l of F.find(ds))Qn.getOrCreateInstance(l)}),q(Qn);const Tn=".bs.toast",fs=`mouseover${Tn}`,hs=`mouseout${Tn}`,ps=`focusin${Tn}`,gs=`focusout${Tn}`,ms=`hide${Tn}`,vs=`hidden${Tn}`,ys=`show${Tn}`,bs=`shown${Tn}`,po="hide",Tr="show",Er="showing",_s={animation:"boolean",autohide:"boolean",delay:"number"},ws={animation:!0,autohide:!0,delay:5e3};class Ui extends ht{constructor(t,s){super(t,s),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ws}static get DefaultType(){return _s}static get NAME(){return"toast"}show(){S.trigger(this._element,ys).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(po),An(this._element),this._element.classList.add(Tr,Er),this._queueCallback(()=>{this._element.classList.remove(Er),S.trigger(this._element,bs),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(S.trigger(this._element,ms).defaultPrevented||(this._element.classList.add(Er),this._queueCallback(()=>{this._element.classList.add(po),this._element.classList.remove(Er,Tr),S.trigger(this._element,vs)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Tr),super.dispose()}isShown(){return this._element.classList.contains(Tr)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,s){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=s;break;case"focusin":case"focusout":this._hasKeyboardInteraction=s}if(s)return void this._clearTimeout();const d=t.relatedTarget;this._element===d||this._element.contains(d)||this._maybeScheduleHide()}_setListeners(){S.on(this._element,fs,t=>this._onInteraction(t,!0)),S.on(this._element,hs,t=>this._onInteraction(t,!1)),S.on(this._element,ps,t=>this._onInteraction(t,!0)),S.on(this._element,gs,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const s=Ui.getOrCreateInstance(this,t);if(typeof t=="string"){if(s[t]===void 0)throw new TypeError(`No method named "${t}"`);s[t](this)}})}}return Ze(Ui),q(Ui),{Alert:Dn,Button:Rt,Carousel:pt,Collapse:zt,Dropdown:Ge,Modal:ot,Offcanvas:cn,Popover:xr,ScrollSpy:Xi,Tab:Qn,Toast:Ui,Tooltip:Un}});