import{b as Jo,c as Lo,d as No}from"./chunk-P42HNYSU.min.js";var Qo=Jo((VF,xi)=>{(function(i,t){"use strict";typeof define=="function"&&define.amd?define([],t):typeof xi=="object"&&xi.exports?xi.exports=t():(i.AnchorJS=t(),i.anchors=new i.AnchorJS)})(globalThis,function(){"use strict";function i(t){this.options=t||{},this.elements=[];function c(o){o.icon=Object.prototype.hasOwnProperty.call(o,"icon")?o.icon:"\uE9CB",o.visible=Object.prototype.hasOwnProperty.call(o,"visible")?o.visible:"hover",o.placement=Object.prototype.hasOwnProperty.call(o,"placement")?o.placement:"right",o.ariaLabel=Object.prototype.hasOwnProperty.call(o,"ariaLabel")?o.ariaLabel:"Anchor",o.class=Object.prototype.hasOwnProperty.call(o,"class")?o.class:"",o.base=Object.prototype.hasOwnProperty.call(o,"base")?o.base:"",o.truncate=Object.prototype.hasOwnProperty.call(o,"truncate")?Math.floor(o.truncate):64,o.titleText=Object.prototype.hasOwnProperty.call(o,"titleText")?o.titleText:""}c(this.options),this.add=function(o){var l,a,I,d,n,s,G,g,F,r,Z,X=[];if(c(this.options),o||(o="h2, h3, h4, h5, h6"),l=e(o),l.length===0)return this;for(b(),a=document.querySelectorAll("[id]"),I=[].map.call(a,function(B){return B.id}),n=0;n<l.length;n++){if(this.hasAnchorJSLink(l[n])){X.push(n);continue}if(l[n].hasAttribute("id"))d=l[n].getAttribute("id");else if(l[n].hasAttribute("data-anchor-id"))d=l[n].getAttribute("data-anchor-id");else{g=this.urlify(l[n].textContent),F=g,G=0;do s!==void 0&&(F=g+"-"+G),s=I.indexOf(F),G+=1;while(s!==-1);s=void 0,I.push(F),l[n].setAttribute("id",F),d=F}r=document.createElement("a"),r.className="anchorjs-link "+this.options.class,r.setAttribute("aria-label",this.options.ariaLabel),r.setAttribute("data-anchorjs-icon",this.options.icon),this.options.titleText&&(r.title=this.options.titleText),Z=document.querySelector("base")?window.location.pathname+window.location.search:"",Z=this.options.base||Z,r.href=Z+"#"+d,this.options.visible==="always"&&(r.style.opacity="1"),this.options.icon==="\uE9CB"&&(r.style.font="1em/1 anchorjs-icons",this.options.placement==="left"&&(r.style.lineHeight="inherit")),this.options.placement==="left"?(r.style.position="absolute",r.style.marginLeft="-1.25em",r.style.paddingRight=".25em",r.style.paddingLeft=".25em",l[n].insertBefore(r,l[n].firstChild)):(r.style.marginLeft=".1875em",r.style.paddingRight=".1875em",r.style.paddingLeft=".1875em",l[n].appendChild(r))}for(n=0;n<X.length;n++)l.splice(X[n]-n,1);return this.elements=this.elements.concat(l),this},this.remove=function(o){for(var l,a,I=e(o),d=0;d<I.length;d++)a=I[d].querySelector(".anchorjs-link"),a&&(l=this.elements.indexOf(I[d]),l!==-1&&this.elements.splice(l,1),I[d].removeChild(a));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(o){var l=document.createElement("textarea");l.innerHTML=o,o=l.value;var a=/[& +$,:;=?@"#{}|^~[`%!'<>\]./()*\\\n\t\b\v\u00A0]/g;return this.options.truncate||c(this.options),o.trim().replace(/'/gi,"").replace(a,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(o){var l=o.firstChild&&(" "+o.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,a=o.lastChild&&(" "+o.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return l||a||!1};function e(o){var l;if(typeof o=="string"||o instanceof String)l=[].slice.call(document.querySelectorAll(o));else if(Array.isArray(o)||o instanceof NodeList)l=[].slice.call(o);else throw new TypeError("The selector provided to AnchorJS was invalid.");return l}function b(){if(document.head.querySelector("style.anchorjs")===null){var o=document.createElement("style"),l=".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",a=":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",I='@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',d="[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",n;o.className="anchorjs",o.appendChild(document.createTextNode("")),n=document.head.querySelector('[rel="stylesheet"],style'),n===void 0?document.head.appendChild(o):document.head.insertBefore(o,n),o.sheet.insertRule(l,o.sheet.cssRules.length),o.sheet.insertRule(a,o.sheet.cssRules.length),o.sheet.insertRule(d,o.sheet.cssRules.length),o.sheet.insertRule(I,o.sheet.cssRules.length)}}}return i})});var ci={};Lo(ci,{afterMain:()=>ze,afterRead:()=>Ne,afterWrite:()=>He,applyStyles:()=>qt,arrow:()=>Dc,auto:()=>Cc,basePlacements:()=>dt,beforeMain:()=>we,beforeRead:()=>Je,beforeWrite:()=>je,bottom:()=>v,clippingParents:()=>Vi,computeStyles:()=>cc,createPopper:()=>Ac,createPopperBase:()=>qe,createPopperLite:()=>tb,detectOverflow:()=>H,end:()=>Zt,eventListeners:()=>ic,flip:()=>Pc,hide:()=>$c,left:()=>f,main:()=>ke,modifierPhases:()=>fi,offset:()=>qc,placements:()=>Wc,popper:()=>Yt,popperGenerator:()=>zt,popperOffsets:()=>oc,preventOverflow:()=>ti,read:()=>Le,reference:()=>Ui,right:()=>Y,start:()=>It,top:()=>V,variationPlacements:()=>Ec,viewport:()=>Bc,write:()=>Se});var V="top",v="bottom",Y="right",f="left",Cc="auto",dt=[V,v,Y,f],It="start",Zt="end",Vi="clippingParents",Bc="viewport",Yt="popper",Ui="reference",Ec=dt.reduce(function(i,t){return i.concat([t+"-"+It,t+"-"+Zt])},[]),Wc=[].concat(dt,[Cc]).reduce(function(i,t){return i.concat([t,t+"-"+It,t+"-"+Zt])},[]),Je="beforeRead",Le="read",Ne="afterRead",we="beforeMain",ke="main",ze="afterMain",je="beforeWrite",Se="write",He="afterWrite",fi=[Je,Le,Ne,we,ke,ze,je,Se,He];function N(i){return i?(i.nodeName||"").toLowerCase():null}function A(i){if(i==null)return window;if(i.toString()!=="[object Window]"){var t=i.ownerDocument;return t&&t.defaultView||window}return i}function _(i){var t=A(i).Element;return i instanceof t||i instanceof Element}function J(i){var t=A(i).HTMLElement;return i instanceof t||i instanceof HTMLElement}function $t(i){if(typeof ShadowRoot>"u")return!1;var t=A(i).ShadowRoot;return i instanceof t||i instanceof ShadowRoot}function wo(i){var t=i.state;Object.keys(t.elements).forEach(function(c){var e=t.styles[c]||{},b=t.attributes[c]||{},o=t.elements[c];!J(o)||!N(o)||(Object.assign(o.style,e),Object.keys(b).forEach(function(l){var a=b[l];a===!1?o.removeAttribute(l):o.setAttribute(l,a===!0?"":a)}))})}function ko(i){var t=i.state,c={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,c.popper),t.styles=c,t.elements.arrow&&Object.assign(t.elements.arrow.style,c.arrow),function(){Object.keys(t.elements).forEach(function(e){var b=t.elements[e],o=t.attributes[e]||{},l=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:c[e]),a=l.reduce(function(I,d){return I[d]="",I},{});!J(b)||!N(b)||(Object.assign(b.style,a),Object.keys(o).forEach(function(I){b.removeAttribute(I)}))})}}var qt={name:"applyStyles",enabled:!0,phase:"write",fn:wo,effect:ko,requires:["computeStyles"]};function w(i){return i.split("-")[0]}var bt=Math.max,vt=Math.min,gt=Math.round;function tc(){var i=navigator.userAgentData;return i!=null&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function uc(){return!/^((?!chrome|android).)*safari/i.test(tc())}function P(i,t,c){t===void 0&&(t=!1),c===void 0&&(c=!1);var e=i.getBoundingClientRect(),b=1,o=1;t&&J(i)&&(b=i.offsetWidth>0&&gt(e.width)/i.offsetWidth||1,o=i.offsetHeight>0&&gt(e.height)/i.offsetHeight||1);var l=_(i)?A(i):window,a=l.visualViewport,I=!uc()&&c,d=(e.left+(I&&a?a.offsetLeft:0))/b,n=(e.top+(I&&a?a.offsetTop:0))/o,s=e.width/b,G=e.height/o;return{width:s,height:G,top:n,right:d+s,bottom:n+G,left:d,x:d,y:n}}function Ot(i){var t=P(i),c=i.offsetWidth,e=i.offsetHeight;return Math.abs(t.width-c)<=1&&(c=t.width),Math.abs(t.height-e)<=1&&(e=t.height),{x:i.offsetLeft,y:i.offsetTop,width:c,height:e}}function Rc(i,t){var c=t.getRootNode&&t.getRootNode();if(i.contains(t))return!0;if(c&&$t(c)){var e=t;do{if(e&&i.isSameNode(e))return!0;e=e.parentNode||e.host}while(e)}return!1}function S(i){return A(i).getComputedStyle(i)}function yi(i){return["table","td","th"].indexOf(N(i))>=0}function j(i){return((_(i)?i.ownerDocument:i.document)||window.document).documentElement}function st(i){return N(i)==="html"?i:i.assignedSlot||i.parentNode||($t(i)?i.host:null)||j(i)}function Te(i){return!J(i)||S(i).position==="fixed"?null:i.offsetParent}function zo(i){var t=/firefox/i.test(tc()),c=/Trident/i.test(tc());if(c&&J(i)){var e=S(i);if(e.position==="fixed")return null}var b=st(i);for($t(b)&&(b=b.host);J(b)&&["html","body"].indexOf(N(b))<0;){var o=S(b);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return b;b=b.parentNode}return null}function ot(i){for(var t=A(i),c=Te(i);c&&yi(c)&&S(c).position==="static";)c=Te(c);return c&&(N(c)==="html"||N(c)==="body"&&S(c).position==="static")?t:c||zo(i)||t}function Jt(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function Lt(i,t,c){return bt(i,vt(t,c))}function Ee(i,t,c){var e=Lt(i,t,c);return e>c?c:e}function xc(){return{top:0,right:0,bottom:0,left:0}}function Qc(i){return Object.assign({},xc(),i)}function pc(i,t){return t.reduce(function(c,e){return c[e]=i,c},{})}var jo=function(t,c){return t=typeof t=="function"?t(Object.assign({},c.rects,{placement:c.placement})):t,Qc(typeof t!="number"?t:pc(t,dt))};function So(i){var t,c=i.state,e=i.name,b=i.options,o=c.elements.arrow,l=c.modifiersData.popperOffsets,a=w(c.placement),I=Jt(a),d=[f,Y].indexOf(a)>=0,n=d?"height":"width";if(!(!o||!l)){var s=jo(b.padding,c),G=Ot(o),g=I==="y"?V:f,F=I==="y"?v:Y,r=c.rects.reference[n]+c.rects.reference[I]-l[I]-c.rects.popper[n],Z=l[I]-c.rects.reference[I],X=ot(o),B=X?I==="y"?X.clientHeight||0:X.clientWidth||0:0,C=r/2-Z/2,u=s[g],R=B-G[n]-s[F],Q=B/2-G[n]/2+C,p=Lt(u,Q,R),h=I;c.modifiersData[e]=(t={},t[h]=p,t.centerOffset=p-Q,t)}}function Ho(i){var t=i.state,c=i.options,e=c.element,b=e===void 0?"[data-popper-arrow]":e;b!=null&&(typeof b=="string"&&(b=t.elements.popper.querySelector(b),!b)||Rc(t.elements.popper,b)&&(t.elements.arrow=b))}var Dc={name:"arrow",enabled:!0,phase:"main",fn:So,effect:Ho,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $(i){return i.split("-")[1]}var To={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Eo(i,t){var c=i.x,e=i.y,b=t.devicePixelRatio||1;return{x:gt(c*b)/b||0,y:gt(e*b)/b||0}}function De(i){var t,c=i.popper,e=i.popperRect,b=i.placement,o=i.variation,l=i.offsets,a=i.position,I=i.gpuAcceleration,d=i.adaptive,n=i.roundOffsets,s=i.isFixed,G=l.x,g=G===void 0?0:G,F=l.y,r=F===void 0?0:F,Z=typeof n=="function"?n({x:g,y:r}):{x:g,y:r};g=Z.x,r=Z.y;var X=l.hasOwnProperty("x"),B=l.hasOwnProperty("y"),C=f,u=V,R=window;if(d){var Q=ot(c),p="clientHeight",h="clientWidth";if(Q===A(c)&&(Q=j(c),S(Q).position!=="static"&&a==="absolute"&&(p="scrollHeight",h="scrollWidth")),Q=Q,b===V||(b===f||b===Y)&&o===Zt){u=v;var U=s&&Q===R&&R.visualViewport?R.visualViewport.height:Q[p];r-=U-e.height,r*=I?1:-1}if(b===f||(b===V||b===v)&&o===Zt){C=Y;var y=s&&Q===R&&R.visualViewport?R.visualViewport.width:Q[h];g-=y-e.width,g*=I?1:-1}}var O=Object.assign({position:a},d&&To),T=n===!0?Eo({x:g,y:r},A(c)):{x:g,y:r};if(g=T.x,r=T.y,I){var z;return Object.assign({},O,(z={},z[u]=B?"0":"",z[C]=X?"0":"",z.transform=(R.devicePixelRatio||1)<=1?"translate("+g+"px, "+r+"px)":"translate3d("+g+"px, "+r+"px, 0)",z))}return Object.assign({},O,(t={},t[u]=B?r+"px":"",t[C]=X?g+"px":"",t.transform="",t))}function Do(i){var t=i.state,c=i.options,e=c.gpuAcceleration,b=e===void 0?!0:e,o=c.adaptive,l=o===void 0?!0:o,a=c.roundOffsets,I=a===void 0?!0:a,d={placement:w(t.placement),variation:$(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:b,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,De(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:I})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,De(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:I})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var cc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Do,data:{}};var Mc={passive:!0};function Mo(i){var t=i.state,c=i.instance,e=i.options,b=e.scroll,o=b===void 0?!0:b,l=e.resize,a=l===void 0?!0:l,I=A(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(n){n.addEventListener("scroll",c.update,Mc)}),a&&I.addEventListener("resize",c.update,Mc),function(){o&&d.forEach(function(n){n.removeEventListener("scroll",c.update,Mc)}),a&&I.removeEventListener("resize",c.update,Mc)}}var ic={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Mo,data:{}};var Ko={left:"right",right:"left",bottom:"top",top:"bottom"};function ec(i){return i.replace(/left|right|bottom|top/g,function(t){return Ko[t]})}var _o={start:"end",end:"start"};function Kc(i){return i.replace(/start|end/g,function(t){return _o[t]})}function Nt(i){var t=A(i),c=t.pageXOffset,e=t.pageYOffset;return{scrollLeft:c,scrollTop:e}}function wt(i){return P(j(i)).left+Nt(i).scrollLeft}function Yi(i,t){var c=A(i),e=j(i),b=c.visualViewport,o=e.clientWidth,l=e.clientHeight,a=0,I=0;if(b){o=b.width,l=b.height;var d=uc();(d||!d&&t==="fixed")&&(a=b.offsetLeft,I=b.offsetTop)}return{width:o,height:l,x:a+wt(i),y:I}}function vi(i){var t,c=j(i),e=Nt(i),b=(t=i.ownerDocument)==null?void 0:t.body,o=bt(c.scrollWidth,c.clientWidth,b?b.scrollWidth:0,b?b.clientWidth:0),l=bt(c.scrollHeight,c.clientHeight,b?b.scrollHeight:0,b?b.clientHeight:0),a=-e.scrollLeft+wt(i),I=-e.scrollTop;return S(b||c).direction==="rtl"&&(a+=bt(c.clientWidth,b?b.clientWidth:0)-o),{width:o,height:l,x:a,y:I}}function kt(i){var t=S(i),c=t.overflow,e=t.overflowX,b=t.overflowY;return/auto|scroll|overlay|hidden/.test(c+b+e)}function _c(i){return["html","body","#document"].indexOf(N(i))>=0?i.ownerDocument.body:J(i)&&kt(i)?i:_c(st(i))}function Gt(i,t){var c;t===void 0&&(t=[]);var e=_c(i),b=e===((c=i.ownerDocument)==null?void 0:c.body),o=A(e),l=b?[o].concat(o.visualViewport||[],kt(e)?e:[]):e,a=t.concat(l);return b?a:a.concat(Gt(st(l)))}function bc(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function Po(i,t){var c=P(i,!1,t==="fixed");return c.top=c.top+i.clientTop,c.left=c.left+i.clientLeft,c.bottom=c.top+i.clientHeight,c.right=c.left+i.clientWidth,c.width=i.clientWidth,c.height=i.clientHeight,c.x=c.left,c.y=c.top,c}function Me(i,t,c){return t===Bc?bc(Yi(i,c)):_(t)?Po(t,c):bc(vi(j(i)))}function $o(i){var t=Gt(st(i)),c=["absolute","fixed"].indexOf(S(i).position)>=0,e=c&&J(i)?ot(i):i;return _(e)?t.filter(function(b){return _(b)&&Rc(b,e)&&N(b)!=="body"}):[]}function Oi(i,t,c,e){var b=t==="clippingParents"?$o(i):[].concat(t),o=[].concat(b,[c]),l=o[0],a=o.reduce(function(I,d){var n=Me(i,d,e);return I.top=bt(n.top,I.top),I.right=vt(n.right,I.right),I.bottom=vt(n.bottom,I.bottom),I.left=bt(n.left,I.left),I},Me(i,l,e));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function hc(i){var t=i.reference,c=i.element,e=i.placement,b=e?w(e):null,o=e?$(e):null,l=t.x+t.width/2-c.width/2,a=t.y+t.height/2-c.height/2,I;switch(b){case V:I={x:l,y:t.y-c.height};break;case v:I={x:l,y:t.y+t.height};break;case Y:I={x:t.x+t.width,y:a};break;case f:I={x:t.x-c.width,y:a};break;default:I={x:t.x,y:t.y}}var d=b?Jt(b):null;if(d!=null){var n=d==="y"?"height":"width";switch(o){case It:I[d]=I[d]-(t[n]/2-c[n]/2);break;case Zt:I[d]=I[d]+(t[n]/2-c[n]/2);break;default:}}return I}function H(i,t){t===void 0&&(t={});var c=t,e=c.placement,b=e===void 0?i.placement:e,o=c.strategy,l=o===void 0?i.strategy:o,a=c.boundary,I=a===void 0?Vi:a,d=c.rootBoundary,n=d===void 0?Bc:d,s=c.elementContext,G=s===void 0?Yt:s,g=c.altBoundary,F=g===void 0?!1:g,r=c.padding,Z=r===void 0?0:r,X=Qc(typeof Z!="number"?Z:pc(Z,dt)),B=G===Yt?Ui:Yt,C=i.rects.popper,u=i.elements[F?B:G],R=Oi(_(u)?u:u.contextElement||j(i.elements.popper),I,n,l),Q=P(i.elements.reference),p=hc({reference:Q,element:C,strategy:"absolute",placement:b}),h=bc(Object.assign({},C,p)),U=G===Yt?h:Q,y={top:R.top-U.top+X.top,bottom:U.bottom-R.bottom+X.bottom,left:R.left-U.left+X.left,right:U.right-R.right+X.right},O=i.modifiersData.offset;if(G===Yt&&O){var T=O[b];Object.keys(y).forEach(function(z){var At=[Y,v].indexOf(z)>=0?1:-1,Vt=[V,v].indexOf(z)>=0?"y":"x";y[z]+=T[Vt]*At})}return y}function Ji(i,t){t===void 0&&(t={});var c=t,e=c.placement,b=c.boundary,o=c.rootBoundary,l=c.padding,a=c.flipVariations,I=c.allowedAutoPlacements,d=I===void 0?Wc:I,n=$(e),s=n?a?Ec:Ec.filter(function(F){return $(F)===n}):dt,G=s.filter(function(F){return d.indexOf(F)>=0});G.length===0&&(G=s);var g=G.reduce(function(F,r){return F[r]=H(i,{placement:r,boundary:b,rootBoundary:o,padding:l})[w(r)],F},{});return Object.keys(g).sort(function(F,r){return g[F]-g[r]})}function qo(i){if(w(i)===Cc)return[];var t=ec(i);return[Kc(i),t,Kc(t)]}function tl(i){var t=i.state,c=i.options,e=i.name;if(!t.modifiersData[e]._skip){for(var b=c.mainAxis,o=b===void 0?!0:b,l=c.altAxis,a=l===void 0?!0:l,I=c.fallbackPlacements,d=c.padding,n=c.boundary,s=c.rootBoundary,G=c.altBoundary,g=c.flipVariations,F=g===void 0?!0:g,r=c.allowedAutoPlacements,Z=t.options.placement,X=w(Z),B=X===Z,C=I||(B||!F?[ec(Z)]:qo(Z)),u=[Z].concat(C).reduce(function(Pt,Xt){return Pt.concat(w(Xt)===Cc?Ji(t,{placement:Xt,boundary:n,rootBoundary:s,padding:d,flipVariations:F,allowedAutoPlacements:r}):Xt)},[]),R=t.rects.reference,Q=t.rects.popper,p=new Map,h=!0,U=u[0],y=0;y<u.length;y++){var O=u[y],T=w(O),z=$(O)===It,At=[V,v].indexOf(T)>=0,Vt=At?"width":"height",M=H(t,{placement:O,boundary:n,rootBoundary:s,altBoundary:G,padding:d}),et=At?z?Y:f:z?v:V;R[Vt]>Q[Vt]&&(et=ec(et));var zc=ec(et),Ut=[];if(o&&Ut.push(M[T]<=0),a&&Ut.push(M[et]<=0,M[zc]<=0),Ut.every(function(Pt){return Pt})){U=O,h=!1;break}p.set(O,Ut)}if(h)for(var jc=F?3:1,Qi=function(Xt){var Gc=u.find(function(Hc){var ft=p.get(Hc);if(ft)return ft.slice(0,Xt).every(function(pi){return pi})});if(Gc)return U=Gc,"break"},Zc=jc;Zc>0;Zc--){var Sc=Qi(Zc);if(Sc==="break")break}t.placement!==U&&(t.modifiersData[e]._skip=!0,t.placement=U,t.reset=!0)}}var Pc={name:"flip",enabled:!0,phase:"main",fn:tl,requiresIfExists:["offset"],data:{_skip:!1}};function Ke(i,t,c){return c===void 0&&(c={x:0,y:0}),{top:i.top-t.height-c.y,right:i.right-t.width+c.x,bottom:i.bottom-t.height+c.y,left:i.left-t.width-c.x}}function _e(i){return[V,Y,v,f].some(function(t){return i[t]>=0})}function cl(i){var t=i.state,c=i.name,e=t.rects.reference,b=t.rects.popper,o=t.modifiersData.preventOverflow,l=H(t,{elementContext:"reference"}),a=H(t,{altBoundary:!0}),I=Ke(l,e),d=Ke(a,b,o),n=_e(I),s=_e(d);t.modifiersData[c]={referenceClippingOffsets:I,popperEscapeOffsets:d,isReferenceHidden:n,hasPopperEscaped:s},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":n,"data-popper-escaped":s})}var $c={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:cl};function il(i,t,c){var e=w(i),b=[f,V].indexOf(e)>=0?-1:1,o=typeof c=="function"?c(Object.assign({},t,{placement:i})):c,l=o[0],a=o[1];return l=l||0,a=(a||0)*b,[f,Y].indexOf(e)>=0?{x:a,y:l}:{x:l,y:a}}function el(i){var t=i.state,c=i.options,e=i.name,b=c.offset,o=b===void 0?[0,0]:b,l=Wc.reduce(function(n,s){return n[s]=il(s,t.rects,o),n},{}),a=l[t.placement],I=a.x,d=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=I,t.modifiersData.popperOffsets.y+=d),t.modifiersData[e]=l}var qc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:el};function bl(i){var t=i.state,c=i.name;t.modifiersData[c]=hc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var oc={name:"popperOffsets",enabled:!0,phase:"read",fn:bl,data:{}};function Li(i){return i==="x"?"y":"x"}function ol(i){var t=i.state,c=i.options,e=i.name,b=c.mainAxis,o=b===void 0?!0:b,l=c.altAxis,a=l===void 0?!1:l,I=c.boundary,d=c.rootBoundary,n=c.altBoundary,s=c.padding,G=c.tether,g=G===void 0?!0:G,F=c.tetherOffset,r=F===void 0?0:F,Z=H(t,{boundary:I,rootBoundary:d,padding:s,altBoundary:n}),X=w(t.placement),B=$(t.placement),C=!B,u=Jt(X),R=Li(u),Q=t.modifiersData.popperOffsets,p=t.rects.reference,h=t.rects.popper,U=typeof r=="function"?r(Object.assign({},t.rects,{placement:t.placement})):r,y=typeof U=="number"?{mainAxis:U,altAxis:U}:Object.assign({mainAxis:0,altAxis:0},U),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(Q){if(o){var z,At=u==="y"?V:f,Vt=u==="y"?v:Y,M=u==="y"?"height":"width",et=Q[u],zc=et+Z[At],Ut=et-Z[Vt],jc=g?-h[M]/2:0,Qi=B===It?p[M]:h[M],Zc=B===It?-h[M]:-p[M],Sc=t.elements.arrow,Pt=g&&Sc?Ot(Sc):{width:0,height:0},Xt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:xc(),Gc=Xt[At],Hc=Xt[Vt],ft=Lt(0,p[M],Pt[M]),pi=C?p[M]/2-jc-ft-Gc-y.mainAxis:Qi-ft-Gc-y.mainAxis,Uo=C?-p[M]/2+jc+ft+Hc+y.mainAxis:Zc+ft+Hc+y.mainAxis,hi=t.elements.arrow&&ot(t.elements.arrow),fo=hi?u==="y"?hi.clientTop||0:hi.clientLeft||0:0,he=(z=O?.[u])!=null?z:0,yo=et+pi-he-fo,Yo=et+Uo-he,Ae=Lt(g?vt(zc,yo):zc,et,g?bt(Ut,Yo):Ut);Q[u]=Ae,T[u]=Ae-et}if(a){var Ve,vo=u==="x"?V:f,Oo=u==="x"?v:Y,yt=Q[R],Tc=R==="y"?"height":"width",Ue=yt+Z[vo],fe=yt-Z[Oo],Ai=[V,f].indexOf(X)!==-1,ye=(Ve=O?.[R])!=null?Ve:0,Ye=Ai?Ue:yt-p[Tc]-h[Tc]-ye+y.altAxis,ve=Ai?yt+p[Tc]+h[Tc]-ye-y.altAxis:fe,Oe=g&&Ai?Ee(Ye,yt,ve):Lt(g?Ye:Ue,yt,g?ve:fe);Q[R]=Oe,T[R]=Oe-yt}t.modifiersData[e]=T}}var ti={name:"preventOverflow",enabled:!0,phase:"main",fn:ol,requiresIfExists:["offset"]};function Ni(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}function wi(i){return i===A(i)||!J(i)?Nt(i):Ni(i)}function ll(i){var t=i.getBoundingClientRect(),c=gt(t.width)/i.offsetWidth||1,e=gt(t.height)/i.offsetHeight||1;return c!==1||e!==1}function ki(i,t,c){c===void 0&&(c=!1);var e=J(t),b=J(t)&&ll(t),o=j(t),l=P(i,b,c),a={scrollLeft:0,scrollTop:0},I={x:0,y:0};return(e||!e&&!c)&&((N(t)!=="body"||kt(o))&&(a=wi(t)),J(t)?(I=P(t,!0),I.x+=t.clientLeft,I.y+=t.clientTop):o&&(I.x=wt(o))),{x:l.left+a.scrollLeft-I.x,y:l.top+a.scrollTop-I.y,width:l.width,height:l.height}}function Il(i){var t=new Map,c=new Set,e=[];i.forEach(function(o){t.set(o.name,o)});function b(o){c.add(o.name);var l=[].concat(o.requires||[],o.requiresIfExists||[]);l.forEach(function(a){if(!c.has(a)){var I=t.get(a);I&&b(I)}}),e.push(o)}return i.forEach(function(o){c.has(o.name)||b(o)}),e}function zi(i){var t=Il(i);return fi.reduce(function(c,e){return c.concat(t.filter(function(b){return b.phase===e}))},[])}function ji(i){var t;return function(){return t||(t=new Promise(function(c){Promise.resolve().then(function(){t=void 0,c(i())})})),t}}function Si(i){var t=i.reduce(function(c,e){var b=c[e.name];return c[e.name]=b?Object.assign({},b,e,{options:Object.assign({},b.options,e.options),data:Object.assign({},b.data,e.data)}):e,c},{});return Object.keys(t).map(function(c){return t[c]})}var Pe={placement:"bottom",modifiers:[],strategy:"absolute"};function $e(){for(var i=arguments.length,t=new Array(i),c=0;c<i;c++)t[c]=arguments[c];return!t.some(function(e){return!(e&&typeof e.getBoundingClientRect=="function")})}function zt(i){i===void 0&&(i={});var t=i,c=t.defaultModifiers,e=c===void 0?[]:c,b=t.defaultOptions,o=b===void 0?Pe:b;return function(a,I,d){d===void 0&&(d=o);var n={placement:"bottom",orderedModifiers:[],options:Object.assign({},Pe,o),modifiersData:{},elements:{reference:a,popper:I},attributes:{},styles:{}},s=[],G=!1,g={state:n,setOptions:function(X){var B=typeof X=="function"?X(n.options):X;r(),n.options=Object.assign({},o,n.options,B),n.scrollParents={reference:_(a)?Gt(a):a.contextElement?Gt(a.contextElement):[],popper:Gt(I)};var C=zi(Si([].concat(e,n.options.modifiers)));return n.orderedModifiers=C.filter(function(u){return u.enabled}),F(),g.update()},forceUpdate:function(){if(!G){var X=n.elements,B=X.reference,C=X.popper;if($e(B,C)){n.rects={reference:ki(B,ot(C),n.options.strategy==="fixed"),popper:Ot(C)},n.reset=!1,n.placement=n.options.placement,n.orderedModifiers.forEach(function(y){return n.modifiersData[y.name]=Object.assign({},y.data)});for(var u=0;u<n.orderedModifiers.length;u++){if(n.reset===!0){n.reset=!1,u=-1;continue}var R=n.orderedModifiers[u],Q=R.fn,p=R.options,h=p===void 0?{}:p,U=R.name;typeof Q=="function"&&(n=Q({state:n,options:h,name:U,instance:g})||n)}}}},update:ji(function(){return new Promise(function(Z){g.forceUpdate(),Z(n)})}),destroy:function(){r(),G=!0}};if(!$e(a,I))return g;g.setOptions(d).then(function(Z){!G&&d.onFirstUpdate&&d.onFirstUpdate(Z)});function F(){n.orderedModifiers.forEach(function(Z){var X=Z.name,B=Z.options,C=B===void 0?{}:B,u=Z.effect;if(typeof u=="function"){var R=u({state:n,name:X,instance:g,options:C}),Q=function(){};s.push(R||Q)}})}function r(){s.forEach(function(Z){return Z()}),s=[]}return g}}var qe=zt();var al=[ic,oc,cc,qt],tb=zt({defaultModifiers:al});var nl=[ic,oc,cc,qt,qc,Pc,ti,Dc,$c],Ac=zt({defaultModifiers:nl});var Ct=new Map,Hi={set(i,t,c){Ct.has(i)||Ct.set(i,new Map);let e=Ct.get(i);if(!e.has(t)&&e.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`);return}e.set(t,c)},get(i,t){return Ct.has(i)&&Ct.get(i).get(t)||null},remove(i,t){if(!Ct.has(i))return;let c=Ct.get(i);c.delete(t),c.size===0&&Ct.delete(i)}},dl=1e6,gl=1e3,oe="transitionend",Vb=i=>(i&&window.CSS&&window.CSS.escape&&(i=i.replace(/#([^\s"#']+)/g,(t,c)=>`#${CSS.escape(c)}`)),i),sl=i=>i==null?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase(),rl=i=>{do i+=Math.floor(Math.random()*dl);while(document.getElementById(i));return i},ml=i=>{if(!i)return 0;let{transitionDuration:t,transitionDelay:c}=window.getComputedStyle(i),e=Number.parseFloat(t),b=Number.parseFloat(c);return!e&&!b?0:(t=t.split(",")[0],c=c.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(c))*gl)},Ub=i=>{i.dispatchEvent(new Event(oe))},rt=i=>!i||typeof i!="object"?!1:(typeof i.jquery<"u"&&(i=i[0]),typeof i.nodeType<"u"),Bt=i=>rt(i)?i.jquery?i[0]:i:typeof i=="string"&&i.length>0?document.querySelector(Vb(i)):null,rc=i=>{if(!rt(i)||i.getClientRects().length===0)return!1;let t=getComputedStyle(i).getPropertyValue("visibility")==="visible",c=i.closest("details:not([open])");if(!c)return t;if(c!==i){let e=i.closest("summary");if(e&&e.parentNode!==c||e===null)return!1}return t},Wt=i=>!i||i.nodeType!==Node.ELEMENT_NODE||i.classList.contains("disabled")?!0:typeof i.disabled<"u"?i.disabled:i.hasAttribute("disabled")&&i.getAttribute("disabled")!=="false",fb=i=>{if(!document.documentElement.attachShadow)return null;if(typeof i.getRootNode=="function"){let t=i.getRootNode();return t instanceof ShadowRoot?t:null}return i instanceof ShadowRoot?i:i.parentNode?fb(i.parentNode):null},di=()=>{},vc=i=>{i.offsetHeight},yb=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ti=[],Fl=i=>{document.readyState==="loading"?(Ti.length||document.addEventListener("DOMContentLoaded",()=>{for(let t of Ti)t()}),Ti.push(i)):i()},q=()=>document.documentElement.dir==="rtl",ct=i=>{Fl(()=>{let t=yb();if(t){let c=i.NAME,e=t.fn[c];t.fn[c]=i.jQueryInterface,t.fn[c].Constructor=i,t.fn[c].noConflict=()=>(t.fn[c]=e,i.jQueryInterface)}})},E=(i,t=[],c=i)=>typeof i=="function"?i(...t):c,Yb=(i,t,c=!0)=>{if(!c){E(i);return}let b=ml(t)+5,o=!1,l=({target:a})=>{a===t&&(o=!0,t.removeEventListener(oe,l),E(i))};t.addEventListener(oe,l),setTimeout(()=>{o||Ub(t)},b)},de=(i,t,c,e)=>{let b=i.length,o=i.indexOf(t);return o===-1?!c&&e?i[b-1]:i[0]:(o+=c?1:-1,e&&(o=(o+b)%b),i[Math.max(0,Math.min(o,b-1))])},Xl=/[^.]*(?=\..*)\.|.*/,Zl=/\..*/,Gl=/::\d+$/,Ei={},cb=1,vb={mouseenter:"mouseover",mouseleave:"mouseout"},Cl=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 Ob(i,t){return t&&`${t}::${cb++}`||i.uidEvent||cb++}function Jb(i){let t=Ob(i);return i.uidEvent=t,Ei[t]=Ei[t]||{},Ei[t]}function Bl(i,t){return function c(e){return ge(e,{delegateTarget:i}),c.oneOff&&m.off(i,e.type,t),t.apply(i,[e])}}function Wl(i,t,c){return function e(b){let o=i.querySelectorAll(t);for(let{target:l}=b;l&&l!==this;l=l.parentNode)for(let a of o)if(a===l)return ge(b,{delegateTarget:l}),e.oneOff&&m.off(i,b.type,t,c),c.apply(l,[b])}}function Lb(i,t,c=null){return Object.values(i).find(e=>e.callable===t&&e.delegationSelector===c)}function Nb(i,t,c){let e=typeof t=="string",b=e?c:t||c,o=wb(i);return Cl.has(o)||(o=i),[e,b,o]}function ib(i,t,c,e,b){if(typeof t!="string"||!i)return;let[o,l,a]=Nb(t,c,e);t in vb&&(l=(F=>function(r){if(!r.relatedTarget||r.relatedTarget!==r.delegateTarget&&!r.delegateTarget.contains(r.relatedTarget))return F.call(this,r)})(l));let I=Jb(i),d=I[a]||(I[a]={}),n=Lb(d,l,o?c:null);if(n){n.oneOff=n.oneOff&&b;return}let s=Ob(l,t.replace(Xl,"")),G=o?Wl(i,c,l):Bl(i,l);G.delegationSelector=o?c:null,G.callable=l,G.oneOff=b,G.uidEvent=s,d[s]=G,i.addEventListener(a,G,o)}function le(i,t,c,e,b){let o=Lb(t[c],e,b);o&&(i.removeEventListener(c,o,!!b),delete t[c][o.uidEvent])}function ul(i,t,c,e){let b=t[c]||{};for(let[o,l]of Object.entries(b))o.includes(e)&&le(i,t,c,l.callable,l.delegationSelector)}function wb(i){return i=i.replace(Zl,""),vb[i]||i}var m={on(i,t,c,e){ib(i,t,c,e,!1)},one(i,t,c,e){ib(i,t,c,e,!0)},off(i,t,c,e){if(typeof t!="string"||!i)return;let[b,o,l]=Nb(t,c,e),a=l!==t,I=Jb(i),d=I[l]||{},n=t.startsWith(".");if(typeof o<"u"){if(!Object.keys(d).length)return;le(i,I,l,o,b?c:null);return}if(n)for(let s of Object.keys(I))ul(i,I,s,t.slice(1));for(let[s,G]of Object.entries(d)){let g=s.replace(Gl,"");(!a||t.includes(g))&&le(i,I,l,G.callable,G.delegationSelector)}},trigger(i,t,c){if(typeof t!="string"||!i)return null;let e=yb(),b=wb(t),o=t!==b,l=null,a=!0,I=!0,d=!1;o&&e&&(l=e.Event(t,c),e(i).trigger(l),a=!l.isPropagationStopped(),I=!l.isImmediatePropagationStopped(),d=l.isDefaultPrevented());let n=ge(new Event(t,{bubbles:a,cancelable:!0}),c);return d&&n.preventDefault(),I&&i.dispatchEvent(n),n.defaultPrevented&&l&&l.preventDefault(),n}};function ge(i,t={}){for(let[c,e]of Object.entries(t))try{i[c]=e}catch{Object.defineProperty(i,c,{configurable:!0,get(){return e}})}return i}function eb(i){if(i==="true")return!0;if(i==="false")return!1;if(i===Number(i).toString())return Number(i);if(i===""||i==="null")return null;if(typeof i!="string")return i;try{return JSON.parse(decodeURIComponent(i))}catch{return i}}function Di(i){return i.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var mt={setDataAttribute(i,t,c){i.setAttribute(`data-bs-${Di(t)}`,c)},removeDataAttribute(i,t){i.removeAttribute(`data-bs-${Di(t)}`)},getDataAttributes(i){if(!i)return{};let t={},c=Object.keys(i.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(let e of c){let b=e.replace(/^bs/,"");b=b.charAt(0).toLowerCase()+b.slice(1,b.length),t[b]=eb(i.dataset[e])}return t},getDataAttribute(i,t){return eb(i.getAttribute(`data-bs-${Di(t)}`))}},Ht=class{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,c){let e=rt(c)?mt.getDataAttribute(c,"config"):{};return{...this.constructor.Default,...typeof e=="object"?e:{},...rt(c)?mt.getDataAttributes(c):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,c=this.constructor.DefaultType){for(let[e,b]of Object.entries(c)){let o=t[e],l=rt(o)?"element":sl(o);if(!new RegExp(b).test(l))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${e}" provided type "${l}" but expected type "${b}".`)}}},Rl="5.3.3",K=class extends Ht{constructor(t,c){super(),t=Bt(t),t&&(this._element=t,this._config=this._getConfig(c),Hi.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Hi.remove(this._element,this.constructor.DATA_KEY),m.off(this._element,this.constructor.EVENT_KEY);for(let t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,c,e=!0){Yb(t,c,e)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Hi.get(Bt(t),this.DATA_KEY)}static getOrCreateInstance(t,c={}){return this.getInstance(t)||new this(t,typeof c=="object"?c:null)}static get VERSION(){return Rl}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},Mi=i=>{let t=i.getAttribute("data-bs-target");if(!t||t==="#"){let c=i.getAttribute("href");if(!c||!c.includes("#")&&!c.startsWith("."))return null;c.includes("#")&&!c.startsWith("#")&&(c=`#${c.split("#")[1]}`),t=c&&c!=="#"?c.trim():null}return t?t.split(",").map(c=>Vb(c)).join(","):null},W={find(i,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,i))},findOne(i,t=document.documentElement){return Element.prototype.querySelector.call(t,i)},children(i,t){return[].concat(...i.children).filter(c=>c.matches(t))},parents(i,t){let c=[],e=i.parentNode.closest(t);for(;e;)c.push(e),e=e.parentNode.closest(t);return c},prev(i,t){let c=i.previousElementSibling;for(;c;){if(c.matches(t))return[c];c=c.previousElementSibling}return[]},next(i,t){let c=i.nextElementSibling;for(;c;){if(c.matches(t))return[c];c=c.nextElementSibling}return[]},focusableChildren(i){let t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(c=>`${c}:not([tabindex^="-"])`).join(",");return this.find(t,i).filter(c=>!Wt(c)&&rc(c))},getSelectorFromElement(i){let t=Mi(i);return t&&W.findOne(t)?t:null},getElementFromSelector(i){let t=Mi(i);return t?W.findOne(t):null},getMultipleElementsFromSelector(i){let t=Mi(i);return t?W.find(t):[]}},Bi=(i,t="hide")=>{let c=`click.dismiss${i.EVENT_KEY}`,e=i.NAME;m.on(document,c,`[data-bs-dismiss="${e}"]`,function(b){if(["A","AREA"].includes(this.tagName)&&b.preventDefault(),Wt(this))return;let o=W.getElementFromSelector(this)||this.closest(`.${e}`);i.getOrCreateInstance(o)[t]()})},xl="alert",Ql="bs.alert",kb=`.${Ql}`,pl=`close${kb}`,hl=`closed${kb}`,Al="fade",Vl="show",gi=class i extends K{static get NAME(){return xl}close(){if(m.trigger(this._element,pl).defaultPrevented)return;this._element.classList.remove(Vl);let c=this._element.classList.contains(Al);this._queueCallback(()=>this._destroyElement(),this._element,c)}_destroyElement(){this._element.remove(),m.trigger(this._element,hl),this.dispose()}static jQueryInterface(t){return this.each(function(){let c=i.getOrCreateInstance(this);if(typeof t=="string"){if(c[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);c[t](this)}})}};Bi(gi,"close");ct(gi);var Ul="button",fl="bs.button",yl=`.${fl}`,Yl=".data-api",vl="active",bb='[data-bs-toggle="button"]',Ol=`click${yl}${Yl}`,si=class i extends K{static get NAME(){return Ul}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(vl))}static jQueryInterface(t){return this.each(function(){let c=i.getOrCreateInstance(this);t==="toggle"&&c[t]()})}};m.on(document,Ol,bb,i=>{i.preventDefault();let t=i.target.closest(bb);si.getOrCreateInstance(t).toggle()});ct(si);var Jl="swipe",mc=".bs.swipe",Ll=`touchstart${mc}`,Nl=`touchmove${mc}`,wl=`touchend${mc}`,kl=`pointerdown${mc}`,zl=`pointerup${mc}`,jl="touch",Sl="pen",Hl="pointer-event",Tl=40,El={endCallback:null,leftCallback:null,rightCallback:null},Dl={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},ri=class i extends Ht{constructor(t,c){super(),this._element=t,!(!t||!i.isSupported())&&(this._config=this._getConfig(c),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return El}static get DefaultType(){return Dl}static get NAME(){return Jl}dispose(){m.off(this._element,mc)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),E(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){let t=Math.abs(this._deltaX);if(t<=Tl)return;let c=t/this._deltaX;this._deltaX=0,c&&E(c>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(m.on(this._element,kl,t=>this._start(t)),m.on(this._element,zl,t=>this._end(t)),this._element.classList.add(Hl)):(m.on(this._element,Ll,t=>this._start(t)),m.on(this._element,Nl,t=>this._move(t)),m.on(this._element,wl,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Sl||t.pointerType===jl)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}},Ml="carousel",Kl="bs.carousel",xt=`.${Kl}`,zb=".data-api",_l="ArrowLeft",Pl="ArrowRight",$l=500,Vc="next",lc="prev",ac="left",ai="right",ql=`slide${xt}`,Ki=`slid${xt}`,tI=`keydown${xt}`,cI=`mouseenter${xt}`,iI=`mouseleave${xt}`,eI=`dragstart${xt}`,bI=`load${xt}${zb}`,oI=`click${xt}${zb}`,jb="carousel",ii="active",lI="slide",II="carousel-item-end",aI="carousel-item-start",nI="carousel-item-next",dI="carousel-item-prev",Sb=".active",Hb=".carousel-item",gI=Sb+Hb,sI=".carousel-item img",rI=".carousel-indicators",mI="[data-bs-slide], [data-bs-slide-to]",FI='[data-bs-ride="carousel"]',XI={[_l]:ai,[Pl]:ac},ZI={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},GI={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},fc=class i extends K{constructor(t,c){super(t,c),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=W.findOne(rI,this._element),this._addEventListeners(),this._config.ride===jb&&this.cycle()}static get Default(){return ZI}static get DefaultType(){return GI}static get NAME(){return Ml}next(){this._slide(Vc)}nextWhenVisible(){!document.hidden&&rc(this._element)&&this.next()}prev(){this._slide(lc)}pause(){this._isSliding&&Ub(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){m.one(this._element,Ki,()=>this.cycle());return}this.cycle()}}to(t){let c=this._getItems();if(t>c.length-1||t<0)return;if(this._isSliding){m.one(this._element,Ki,()=>this.to(t));return}let e=this._getItemIndex(this._getActive());if(e===t)return;let b=t>e?Vc:lc;this._slide(b,c[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&m.on(this._element,tI,t=>this._keydown(t)),this._config.pause==="hover"&&(m.on(this._element,cI,()=>this.pause()),m.on(this._element,iI,()=>this._maybeEnableCycle())),this._config.touch&&ri.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let e of W.find(sI,this._element))m.on(e,eI,b=>b.preventDefault());let c={leftCallback:()=>this._slide(this._directionToOrder(ac)),rightCallback:()=>this._slide(this._directionToOrder(ai)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),$l+this._config.interval))}};this._swipeHelper=new ri(this._element,c)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;let c=XI[t.key];c&&(t.preventDefault(),this._slide(this._directionToOrder(c)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;let c=W.findOne(Sb,this._indicatorsElement);c.classList.remove(ii),c.removeAttribute("aria-current");let e=W.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);e&&(e.classList.add(ii),e.setAttribute("aria-current","true"))}_updateInterval(){let t=this._activeElement||this._getActive();if(!t)return;let c=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=c||this._config.defaultInterval}_slide(t,c=null){if(this._isSliding)return;let e=this._getActive(),b=t===Vc,o=c||de(this._getItems(),e,b,this._config.wrap);if(o===e)return;let l=this._getItemIndex(o),a=g=>m.trigger(this._element,g,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(e),to:l});if(a(ql).defaultPrevented||!e||!o)return;let d=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(l),this._activeElement=o;let n=b?aI:II,s=b?nI:dI;o.classList.add(s),vc(o),e.classList.add(n),o.classList.add(n);let G=()=>{o.classList.remove(n,s),o.classList.add(ii),e.classList.remove(ii,s,n),this._isSliding=!1,a(Ki)};this._queueCallback(G,e,this._isAnimated()),d&&this.cycle()}_isAnimated(){return this._element.classList.contains(lI)}_getActive(){return W.findOne(gI,this._element)}_getItems(){return W.find(Hb,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return q()?t===ac?lc:Vc:t===ac?Vc:lc}_orderToDirection(t){return q()?t===lc?ac:ai:t===lc?ai:ac}static jQueryInterface(t){return this.each(function(){let c=i.getOrCreateInstance(this,t);if(typeof t=="number"){c.to(t);return}if(typeof t=="string"){if(c[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);c[t]()}})}};m.on(document,oI,mI,function(i){let t=W.getElementFromSelector(this);if(!t||!t.classList.contains(jb))return;i.preventDefault();let c=fc.getOrCreateInstance(t),e=this.getAttribute("data-bs-slide-to");if(e){c.to(e),c._maybeEnableCycle();return}if(mt.getDataAttribute(this,"slide")==="next"){c.next(),c._maybeEnableCycle();return}c.prev(),c._maybeEnableCycle()});m.on(window,bI,()=>{let i=W.find(FI);for(let t of i)fc.getOrCreateInstance(t)});ct(fc);var CI="collapse",BI="bs.collapse",Oc=`.${BI}`,WI=".data-api",uI=`show${Oc}`,RI=`shown${Oc}`,xI=`hide${Oc}`,QI=`hidden${Oc}`,pI=`click${Oc}${WI}`,_i="show",dc="collapse",ei="collapsing",hI="collapsed",AI=`:scope .${dc} .${dc}`,VI="collapse-horizontal",UI="width",fI="height",yI=".collapse.show, .collapse.collapsing",Ie='[data-bs-toggle="collapse"]',YI={parent:null,toggle:!0},vI={parent:"(null|element)",toggle:"boolean"},mi=class i extends K{constructor(t,c){super(t,c),this._isTransitioning=!1,this._triggerArray=[];let e=W.find(Ie);for(let b of e){let o=W.getSelectorFromElement(b),l=W.find(o).filter(a=>a===this._element);o!==null&&l.length&&this._triggerArray.push(b)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return YI}static get DefaultType(){return vI}static get NAME(){return CI}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(yI).filter(a=>a!==this._element).map(a=>i.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||m.trigger(this._element,uI).defaultPrevented)return;for(let a of t)a.hide();let e=this._getDimension();this._element.classList.remove(dc),this._element.classList.add(ei),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let b=()=>{this._isTransitioning=!1,this._element.classList.remove(ei),this._element.classList.add(dc,_i),this._element.style[e]="",m.trigger(this._element,RI)},l=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback(b,this._element,!0),this._element.style[e]=`${this._element[l]}px`}hide(){if(this._isTransitioning||!this._isShown()||m.trigger(this._element,xI).defaultPrevented)return;let c=this._getDimension();this._element.style[c]=`${this._element.getBoundingClientRect()[c]}px`,vc(this._element),this._element.classList.add(ei),this._element.classList.remove(dc,_i);for(let b of this._triggerArray){let o=W.getElementFromSelector(b);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([b],!1)}this._isTransitioning=!0;let e=()=>{this._isTransitioning=!1,this._element.classList.remove(ei),this._element.classList.add(dc),m.trigger(this._element,QI)};this._element.style[c]="",this._queueCallback(e,this._element,!0)}_isShown(t=this._element){return t.classList.contains(_i)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Bt(t.parent),t}_getDimension(){return this._element.classList.contains(VI)?UI:fI}_initializeChildren(){if(!this._config.parent)return;let t=this._getFirstLevelChildren(Ie);for(let c of t){let e=W.getElementFromSelector(c);e&&this._addAriaAndCollapsedClass([c],this._isShown(e))}}_getFirstLevelChildren(t){let c=W.find(AI,this._config.parent);return W.find(t,this._config.parent).filter(e=>!c.includes(e))}_addAriaAndCollapsedClass(t,c){if(t.length)for(let e of t)e.classList.toggle(hI,!c),e.setAttribute("aria-expanded",c)}static jQueryInterface(t){let c={};return typeof t=="string"&&/show|hide/.test(t)&&(c.toggle=!1),this.each(function(){let e=i.getOrCreateInstance(this,c);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}};m.on(document,pI,Ie,function(i){(i.target.tagName==="A"||i.delegateTarget&&i.delegateTarget.tagName==="A")&&i.preventDefault();for(let t of W.getMultipleElementsFromSelector(this))mi.getOrCreateInstance(t,{toggle:!1}).toggle()});ct(mi);var ob="dropdown",OI="bs.dropdown",Tt=`.${OI}`,se=".data-api",JI="Escape",lb="Tab",LI="ArrowUp",Ib="ArrowDown",NI=2,wI=`hide${Tt}`,kI=`hidden${Tt}`,zI=`show${Tt}`,jI=`shown${Tt}`,Tb=`click${Tt}${se}`,Eb=`keydown${Tt}${se}`,SI=`keyup${Tt}${se}`,nc="show",HI="dropup",TI="dropend",EI="dropstart",DI="dropup-center",MI="dropdown-center",jt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',KI=`${jt}.${nc}`,ni=".dropdown-menu",_I=".navbar",PI=".navbar-nav",$I=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",qI=q()?"top-end":"top-start",ta=q()?"top-start":"top-end",ca=q()?"bottom-end":"bottom-start",ia=q()?"bottom-start":"bottom-end",ea=q()?"left-start":"right-start",ba=q()?"right-start":"left-start",oa="top",la="bottom",Ia={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},aa={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},ut=class i extends K{constructor(t,c){super(t,c),this._popper=null,this._parent=this._element.parentNode,this._menu=W.next(this._element,ni)[0]||W.prev(this._element,ni)[0]||W.findOne(ni,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ia}static get DefaultType(){return aa}static get NAME(){return ob}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Wt(this._element)||this._isShown())return;let t={relatedTarget:this._element};if(!m.trigger(this._element,zI,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(PI))for(let e of[].concat(...document.body.children))m.on(e,"mouseover",di);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(nc),this._element.classList.add(nc),m.trigger(this._element,jI,t)}}hide(){if(Wt(this._element)||!this._isShown())return;let 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(!m.trigger(this._element,wI,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(let e of[].concat(...document.body.children))m.off(e,"mouseover",di);this._popper&&this._popper.destroy(),this._menu.classList.remove(nc),this._element.classList.remove(nc),this._element.setAttribute("aria-expanded","false"),mt.removeDataAttribute(this._menu,"popper"),m.trigger(this._element,kI,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!rt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${ob.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof ci>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:rt(this._config.reference)?t=Bt(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);let c=this._getPopperConfig();this._popper=Ac(t,this._menu,c)}_isShown(){return this._menu.classList.contains(nc)}_getPlacement(){let t=this._parent;if(t.classList.contains(TI))return ea;if(t.classList.contains(EI))return ba;if(t.classList.contains(DI))return oa;if(t.classList.contains(MI))return la;let c=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(HI)?c?ta:qI:c?ia:ca}_detectNavbar(){return this._element.closest(_I)!==null}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(c=>Number.parseInt(c,10)):typeof t=="function"?c=>t(c,this._element):t}_getPopperConfig(){let 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")&&(mt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...E(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:c}){let e=W.find($I,this._menu).filter(b=>rc(b));e.length&&de(e,c,t===Ib,!e.includes(c)).focus()}static jQueryInterface(t){return this.each(function(){let c=i.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof c[t]>"u")throw new TypeError(`No method named "${t}"`);c[t]()}})}static clearMenus(t){if(t.button===NI||t.type==="keyup"&&t.key!==lb)return;let c=W.find(KI);for(let e of c){let b=i.getInstance(e);if(!b||b._config.autoClose===!1)continue;let o=t.composedPath(),l=o.includes(b._menu);if(o.includes(b._element)||b._config.autoClose==="inside"&&!l||b._config.autoClose==="outside"&&l||b._menu.contains(t.target)&&(t.type==="keyup"&&t.key===lb||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let a={relatedTarget:b._element};t.type==="click"&&(a.clickEvent=t),b._completeHide(a)}}static dataApiKeydownHandler(t){let c=/input|textarea/i.test(t.target.tagName),e=t.key===JI,b=[LI,Ib].includes(t.key);if(!b&&!e||c&&!e)return;t.preventDefault();let o=this.matches(jt)?this:W.prev(this,jt)[0]||W.next(this,jt)[0]||W.findOne(jt,t.delegateTarget.parentNode),l=i.getOrCreateInstance(o);if(b){t.stopPropagation(),l.show(),l._selectMenuItem(t);return}l._isShown()&&(t.stopPropagation(),l.hide(),o.focus())}};m.on(document,Eb,jt,ut.dataApiKeydownHandler);m.on(document,Eb,ni,ut.dataApiKeydownHandler);m.on(document,Tb,ut.clearMenus);m.on(document,SI,ut.clearMenus);m.on(document,Tb,jt,function(i){i.preventDefault(),ut.getOrCreateInstance(this).toggle()});ct(ut);var Db="backdrop",na="fade",ab="show",nb=`mousedown.bs.${Db}`,da={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ga={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},Fi=class extends Ht{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return da}static get DefaultType(){return ga}static get NAME(){return Db}show(t){if(!this._config.isVisible){E(t);return}this._append();let c=this._getElement();this._config.isAnimated&&vc(c),c.classList.add(ab),this._emulateAnimation(()=>{E(t)})}hide(t){if(!this._config.isVisible){E(t);return}this._getElement().classList.remove(ab),this._emulateAnimation(()=>{this.dispose(),E(t)})}dispose(){this._isAppended&&(m.off(this._element,nb),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){let t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(na),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Bt(t.rootElement),t}_append(){if(this._isAppended)return;let t=this._getElement();this._config.rootElement.append(t),m.on(t,nb,()=>{E(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Yb(t,this._getElement(),this._config.isAnimated)}},sa="focustrap",ra="bs.focustrap",Xi=`.${ra}`,ma=`focusin${Xi}`,Fa=`keydown.tab${Xi}`,Xa="Tab",Za="forward",db="backward",Ga={autofocus:!0,trapElement:null},Ca={autofocus:"boolean",trapElement:"element"},Zi=class extends Ht{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ga}static get DefaultType(){return Ca}static get NAME(){return sa}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),m.off(document,Xi),m.on(document,ma,t=>this._handleFocusin(t)),m.on(document,Fa,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,m.off(document,Xi))}_handleFocusin(t){let{trapElement:c}=this._config;if(t.target===document||t.target===c||c.contains(t.target))return;let e=W.focusableChildren(c);e.length===0?c.focus():this._lastTabNavDirection===db?e[e.length-1].focus():e[0].focus()}_handleKeydown(t){t.key===Xa&&(this._lastTabNavDirection=t.shiftKey?db:Za)}},gb=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",sb=".sticky-top",bi="padding-right",rb="margin-right",yc=class{constructor(){this._element=document.body}getWidth(){let t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){let t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,bi,c=>c+t),this._setElementAttributes(gb,bi,c=>c+t),this._setElementAttributes(sb,rb,c=>c-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,bi),this._resetElementAttributes(gb,bi),this._resetElementAttributes(sb,rb)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,c,e){let b=this.getWidth(),o=l=>{if(l!==this._element&&window.innerWidth>l.clientWidth+b)return;this._saveInitialAttribute(l,c);let a=window.getComputedStyle(l).getPropertyValue(c);l.style.setProperty(c,`${e(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,o)}_saveInitialAttribute(t,c){let e=t.style.getPropertyValue(c);e&&mt.setDataAttribute(t,c,e)}_resetElementAttributes(t,c){let e=b=>{let o=mt.getDataAttribute(b,c);if(o===null){b.style.removeProperty(c);return}mt.removeDataAttribute(b,c),b.style.setProperty(c,o)};this._applyManipulationCallback(t,e)}_applyManipulationCallback(t,c){if(rt(t)){c(t);return}for(let e of W.find(t,this._element))c(e)}},Ba="modal",Wa="bs.modal",tt=`.${Wa}`,ua=".data-api",Ra="Escape",xa=`hide${tt}`,Qa=`hidePrevented${tt}`,Mb=`hidden${tt}`,Kb=`show${tt}`,pa=`shown${tt}`,ha=`resize${tt}`,Aa=`click.dismiss${tt}`,Va=`mousedown.dismiss${tt}`,Ua=`keydown.dismiss${tt}`,fa=`click${tt}${ua}`,mb="modal-open",ya="fade",Fb="show",Pi="modal-static",Ya=".modal.show",va=".modal-dialog",Oa=".modal-body",Ja='[data-bs-toggle="modal"]',La={backdrop:!0,focus:!0,keyboard:!0},Na={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},gc=class i extends K{constructor(t,c){super(t,c),this._dialog=W.findOne(va,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new yc,this._addEventListeners()}static get Default(){return La}static get DefaultType(){return Na}static get NAME(){return Ba}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||m.trigger(this._element,Kb,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(mb),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||m.trigger(this._element,xa).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Fb),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){m.off(window,tt),m.off(this._dialog,tt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Fi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Zi({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;let c=W.findOne(Oa,this._dialog);c&&(c.scrollTop=0),vc(this._element),this._element.classList.add(Fb);let e=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,m.trigger(this._element,pa,{relatedTarget:t})};this._queueCallback(e,this._dialog,this._isAnimated())}_addEventListeners(){m.on(this._element,Ua,t=>{if(t.key===Ra){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),m.on(window,ha,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),m.on(this._element,Va,t=>{m.one(this._element,Aa,c=>{if(!(this._element!==t.target||this._element!==c.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_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(mb),this._resetAdjustments(),this._scrollBar.reset(),m.trigger(this._element,Mb)})}_isAnimated(){return this._element.classList.contains(ya)}_triggerBackdropTransition(){if(m.trigger(this._element,Qa).defaultPrevented)return;let c=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;e==="hidden"||this._element.classList.contains(Pi)||(c||(this._element.style.overflowY="hidden"),this._element.classList.add(Pi),this._queueCallback(()=>{this._element.classList.remove(Pi),this._queueCallback(()=>{this._element.style.overflowY=e},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let t=this._element.scrollHeight>document.documentElement.clientHeight,c=this._scrollBar.getWidth(),e=c>0;if(e&&!t){let b=q()?"paddingLeft":"paddingRight";this._element.style[b]=`${c}px`}if(!e&&t){let b=q()?"paddingRight":"paddingLeft";this._element.style[b]=`${c}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,c){return this.each(function(){let e=i.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t](c)}})}};m.on(document,fa,Ja,function(i){let t=W.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),m.one(t,Kb,b=>{b.defaultPrevented||m.one(t,Mb,()=>{rc(this)&&this.focus()})});let c=W.findOne(Ya);c&&gc.getInstance(c).hide(),gc.getOrCreateInstance(t).toggle(this)});Bi(gc);ct(gc);var wa="offcanvas",ka="bs.offcanvas",Ft=`.${ka}`,_b=".data-api",za=`load${Ft}${_b}`,ja="Escape",Xb="show",Zb="showing",Gb="hiding",Sa="offcanvas-backdrop",Pb=".offcanvas.show",Ha=`show${Ft}`,Ta=`shown${Ft}`,Ea=`hide${Ft}`,Cb=`hidePrevented${Ft}`,$b=`hidden${Ft}`,Da=`resize${Ft}`,Ma=`click${Ft}${_b}`,Ka=`keydown.dismiss${Ft}`,_a='[data-bs-toggle="offcanvas"]',Pa={backdrop:!0,keyboard:!0,scroll:!1},$a={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},Rt=class i extends K{constructor(t,c){super(t,c),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Pa}static get DefaultType(){return $a}static get NAME(){return wa}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||m.trigger(this._element,Ha,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new yc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Zb);let e=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Xb),this._element.classList.remove(Zb),m.trigger(this._element,Ta,{relatedTarget:t})};this._queueCallback(e,this._element,!0)}hide(){if(!this._isShown||m.trigger(this._element,Ea).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Gb),this._backdrop.hide();let c=()=>{this._element.classList.remove(Xb,Gb),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new yc().reset(),m.trigger(this._element,$b)};this._queueCallback(c,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let t=()=>{if(this._config.backdrop==="static"){m.trigger(this._element,Cb);return}this.hide()},c=!!this._config.backdrop;return new Fi({className:Sa,isVisible:c,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:c?t:null})}_initializeFocusTrap(){return new Zi({trapElement:this._element})}_addEventListeners(){m.on(this._element,Ka,t=>{if(t.key===ja){if(this._config.keyboard){this.hide();return}m.trigger(this._element,Cb)}})}static jQueryInterface(t){return this.each(function(){let c=i.getOrCreateInstance(this,t);if(typeof t=="string"){if(c[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);c[t](this)}})}};m.on(document,Ma,_a,function(i){let t=W.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Wt(this))return;m.one(t,$b,()=>{rc(this)&&this.focus()});let c=W.findOne(Pb);c&&c!==t&&Rt.getInstance(c).hide(),Rt.getOrCreateInstance(t).toggle(this)});m.on(window,za,()=>{for(let i of W.find(Pb))Rt.getOrCreateInstance(i).show()});m.on(window,Da,()=>{for(let i of W.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(i).position!=="fixed"&&Rt.getOrCreateInstance(i).hide()});Bi(Rt);ct(Rt);var qa=/^aria-[\w-]*$/i,qb={"*":["class","dir","id","lang","role",qa],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:[]},tn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),cn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,en=(i,t)=>{let c=i.nodeName.toLowerCase();return t.includes(c)?tn.has(c)?!!cn.test(i.nodeValue):!0:t.filter(e=>e instanceof RegExp).some(e=>e.test(c))};function bn(i,t,c){if(!i.length)return i;if(c&&typeof c=="function")return c(i);let b=new window.DOMParser().parseFromString(i,"text/html"),o=[].concat(...b.body.querySelectorAll("*"));for(let l of o){let a=l.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){l.remove();continue}let I=[].concat(...l.attributes),d=[].concat(t["*"]||[],t[a]||[]);for(let n of I)en(n,d)||l.removeAttribute(n.nodeName)}return b.body.innerHTML}var on="TemplateFactory",ln={allowList:qb,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},In={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},an={entry:"(string|element|function|null)",selector:"(string|element)"},ae=class extends Ht{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return ln}static get DefaultType(){return In}static get NAME(){return on}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(){let t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(let[b,o]of Object.entries(this._config.content))this._setContent(t,o,b);let c=t.children[0],e=this._resolvePossibleFunction(this._config.extraClass);return e&&c.classList.add(...e.split(" ")),c}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(let[c,e]of Object.entries(t))super._typeCheckConfig({selector:c,entry:e},an)}_setContent(t,c,e){let b=W.findOne(e,t);if(b){if(c=this._resolvePossibleFunction(c),!c){b.remove();return}if(rt(c)){this._putElementInTemplate(Bt(c),b);return}if(this._config.html){b.innerHTML=this._maybeSanitize(c);return}b.textContent=c}}_maybeSanitize(t){return this._config.sanitize?bn(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return E(t,[this])}_putElementInTemplate(t,c){if(this._config.html){c.innerHTML="",c.append(t);return}c.textContent=t.textContent}},nn="tooltip",dn=new Set(["sanitize","allowList","sanitizeFn"]),$i="fade",gn="modal",oi="show",sn=".tooltip-inner",Bb=`.${gn}`,Wb="hide.bs.modal",Uc="hover",qi="focus",rn="click",mn="manual",Fn="hide",Xn="hidden",Zn="show",Gn="shown",Cn="inserted",Bn="click",Wn="focusin",un="focusout",Rn="mouseenter",xn="mouseleave",Qn={AUTO:"auto",TOP:"top",RIGHT:q()?"left":"right",BOTTOM:"bottom",LEFT:q()?"right":"left"},pn={allowList:qb,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"},hn={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"},sc=class i extends K{constructor(t,c){if(typeof ci>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,c),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 pn}static get DefaultType(){return hn}static get NAME(){return nn}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),m.off(this._element.closest(Bb),Wb,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;let t=m.trigger(this._element,this.constructor.eventName(Zn)),e=(fb(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();let b=this._getTipElement();this._element.setAttribute("aria-describedby",b.getAttribute("id"));let{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(b),m.trigger(this._element,this.constructor.eventName(Cn))),this._popper=this._createPopper(b),b.classList.add(oi),"ontouchstart"in document.documentElement)for(let a of[].concat(...document.body.children))m.on(a,"mouseover",di);let l=()=>{m.trigger(this._element,this.constructor.eventName(Gn)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(l,this.tip,this._isAnimated())}hide(){if(!this._isShown()||m.trigger(this._element,this.constructor.eventName(Fn)).defaultPrevented)return;if(this._getTipElement().classList.remove(oi),"ontouchstart"in document.documentElement)for(let b of[].concat(...document.body.children))m.off(b,"mouseover",di);this._activeTrigger[rn]=!1,this._activeTrigger[qi]=!1,this._activeTrigger[Uc]=!1,this._isHovered=null;let e=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),m.trigger(this._element,this.constructor.eventName(Xn)))};this._queueCallback(e,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){let c=this._getTemplateFactory(t).toHtml();if(!c)return null;c.classList.remove($i,oi),c.classList.add(`bs-${this.constructor.NAME}-auto`);let e=rl(this.constructor.NAME).toString();return c.setAttribute("id",e),this._isAnimated()&&c.classList.add($i),c}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new ae({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[sn]: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($i)}_isShown(){return this.tip&&this.tip.classList.contains(oi)}_createPopper(t){let c=E(this._config.placement,[this,t,this._element]),e=Qn[c.toUpperCase()];return Ac(this._element,t,this._getPopperConfig(e))}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(c=>Number.parseInt(c,10)):typeof t=="function"?c=>t(c,this._element):t}_resolvePossibleFunction(t){return E(t,[this._element])}_getPopperConfig(t){let c={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:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...c,...E(this._config.popperConfig,[c])}}_setListeners(){let t=this._config.trigger.split(" ");for(let c of t)if(c==="click")m.on(this._element,this.constructor.eventName(Bn),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()});else if(c!==mn){let e=c===Uc?this.constructor.eventName(Rn):this.constructor.eventName(Wn),b=c===Uc?this.constructor.eventName(xn):this.constructor.eventName(un);m.on(this._element,e,this._config.selector,o=>{let l=this._initializeOnDelegatedTarget(o);l._activeTrigger[o.type==="focusin"?qi:Uc]=!0,l._enter()}),m.on(this._element,b,this._config.selector,o=>{let l=this._initializeOnDelegatedTarget(o);l._activeTrigger[o.type==="focusout"?qi:Uc]=l._element.contains(o.relatedTarget),l._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},m.on(this._element.closest(Bb),Wb,this._hideModalHandler)}_fixTitle(){let 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(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}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,c){clearTimeout(this._timeout),this._timeout=setTimeout(t,c)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){let c=mt.getDataAttributes(this._element);for(let e of Object.keys(c))dn.has(e)&&delete c[e];return t={...c,...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:Bt(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(){let t={};for(let[c,e]of Object.entries(this._config))this.constructor.Default[c]!==e&&(t[c]=e);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(){let c=i.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof c[t]>"u")throw new TypeError(`No method named "${t}"`);c[t]()}})}};ct(sc);var An="popover",Vn=".popover-header",Un=".popover-body",fn={...sc.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"},yn={...sc.DefaultType,content:"(null|string|element|function)"},ne=class i extends sc{static get Default(){return fn}static get DefaultType(){return yn}static get NAME(){return An}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Vn]:this._getTitle(),[Un]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){let c=i.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof c[t]>"u")throw new TypeError(`No method named "${t}"`);c[t]()}})}};ct(ne);var Yn="scrollspy",vn="bs.scrollspy",re=`.${vn}`,On=".data-api",Jn=`activate${re}`,ub=`click${re}`,Ln=`load${re}${On}`,Nn="dropdown-item",Ic="active",wn='[data-bs-spy="scroll"]',te="[href]",kn=".nav, .list-group",Rb=".nav-link",zn=".nav-item",jn=".list-group-item",Sn=`${Rb}, ${zn} > ${Rb}, ${jn}`,Hn=".dropdown",Tn=".dropdown-toggle",En={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Dn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},Gi=class i extends K{constructor(t,c){super(t,c),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 En}static get DefaultType(){return Dn}static get NAME(){return Yn}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Bt(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(c=>Number.parseFloat(c))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(m.off(this._config.target,ub),m.on(this._config.target,ub,te,t=>{let c=this._observableSections.get(t.target.hash);if(c){t.preventDefault();let e=this._rootElement||window,b=c.offsetTop-this._element.offsetTop;if(e.scrollTo){e.scrollTo({top:b,behavior:"smooth"});return}e.scrollTop=b}}))}_getNewObserver(){let t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(c=>this._observerCallback(c),t)}_observerCallback(t){let c=l=>this._targetLinks.get(`#${l.target.id}`),e=l=>{this._previousScrollData.visibleEntryTop=l.target.offsetTop,this._process(c(l))},b=(this._rootElement||document.documentElement).scrollTop,o=b>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=b;for(let l of t){if(!l.isIntersecting){this._activeTarget=null,this._clearActiveClass(c(l));continue}let a=l.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&a){if(e(l),!b)return;continue}!o&&!a&&e(l)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let t=W.find(te,this._config.target);for(let c of t){if(!c.hash||Wt(c))continue;let e=W.findOne(decodeURI(c.hash),this._element);rc(e)&&(this._targetLinks.set(decodeURI(c.hash),c),this._observableSections.set(c.hash,e))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Ic),this._activateParents(t),m.trigger(this._element,Jn,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Nn)){W.findOne(Tn,t.closest(Hn)).classList.add(Ic);return}for(let c of W.parents(t,kn))for(let e of W.prev(c,Sn))e.classList.add(Ic)}_clearActiveClass(t){t.classList.remove(Ic);let c=W.find(`${te}.${Ic}`,t);for(let e of c)e.classList.remove(Ic)}static jQueryInterface(t){return this.each(function(){let c=i.getOrCreateInstance(this,t);if(typeof t=="string"){if(c[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);c[t]()}})}};m.on(window,Ln,()=>{for(let i of W.find(wn))Gi.getOrCreateInstance(i)});ct(Gi);var Mn="tab",Kn="bs.tab",Et=`.${Kn}`,_n=`hide${Et}`,Pn=`hidden${Et}`,$n=`show${Et}`,qn=`shown${Et}`,td=`click${Et}`,cd=`keydown${Et}`,id=`load${Et}`,ed="ArrowLeft",xb="ArrowRight",bd="ArrowUp",Qb="ArrowDown",ce="Home",pb="End",St="active",hb="fade",ie="show",od="dropdown",to=".dropdown-toggle",ld=".dropdown-menu",ee=`:not(${to})`,Id='.list-group, .nav, [role="tablist"]',ad=".nav-item, .list-group-item",nd=`.nav-link${ee}, .list-group-item${ee}, [role="tab"]${ee}`,co='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',be=`${nd}, ${co}`,dd=`.${St}[data-bs-toggle="tab"], .${St}[data-bs-toggle="pill"], .${St}[data-bs-toggle="list"]`,Yc=class i extends K{constructor(t){super(t),this._parent=this._element.closest(Id),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),m.on(this._element,cd,c=>this._keydown(c)))}static get NAME(){return Mn}show(){let t=this._element;if(this._elemIsActive(t))return;let c=this._getActiveElem(),e=c?m.trigger(c,_n,{relatedTarget:t}):null;m.trigger(t,$n,{relatedTarget:c}).defaultPrevented||e&&e.defaultPrevented||(this._deactivate(c,t),this._activate(t,c))}_activate(t,c){if(!t)return;t.classList.add(St),this._activate(W.getElementFromSelector(t));let e=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(ie);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),m.trigger(t,qn,{relatedTarget:c})};this._queueCallback(e,t,t.classList.contains(hb))}_deactivate(t,c){if(!t)return;t.classList.remove(St),t.blur(),this._deactivate(W.getElementFromSelector(t));let e=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(ie);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),m.trigger(t,Pn,{relatedTarget:c})};this._queueCallback(e,t,t.classList.contains(hb))}_keydown(t){if(![ed,xb,bd,Qb,ce,pb].includes(t.key))return;t.stopPropagation(),t.preventDefault();let c=this._getChildren().filter(b=>!Wt(b)),e;if([ce,pb].includes(t.key))e=c[t.key===ce?0:c.length-1];else{let b=[xb,Qb].includes(t.key);e=de(c,t.target,b,!0)}e&&(e.focus({preventScroll:!0}),i.getOrCreateInstance(e).show())}_getChildren(){return W.find(be,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,c){this._setAttributeIfNotExists(t,"role","tablist");for(let e of c)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);let c=this._elemIsActive(t),e=this._getOuterElement(t);t.setAttribute("aria-selected",c),e!==t&&this._setAttributeIfNotExists(e,"role","presentation"),c||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){let c=W.getElementFromSelector(t);c&&(this._setAttributeIfNotExists(c,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(c,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,c){let e=this._getOuterElement(t);if(!e.classList.contains(od))return;let b=(o,l)=>{let a=W.findOne(o,e);a&&a.classList.toggle(l,c)};b(to,St),b(ld,ie),e.setAttribute("aria-expanded",c)}_setAttributeIfNotExists(t,c,e){t.hasAttribute(c)||t.setAttribute(c,e)}_elemIsActive(t){return t.classList.contains(St)}_getInnerElement(t){return t.matches(be)?t:W.findOne(be,t)}_getOuterElement(t){return t.closest(ad)||t}static jQueryInterface(t){return this.each(function(){let c=i.getOrCreateInstance(this);if(typeof t=="string"){if(c[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);c[t]()}})}};m.on(document,td,co,function(i){["A","AREA"].includes(this.tagName)&&i.preventDefault(),!Wt(this)&&Yc.getOrCreateInstance(this).show()});m.on(window,id,()=>{for(let i of W.find(dd))Yc.getOrCreateInstance(i)});ct(Yc);var gd="toast",sd="bs.toast",Qt=`.${sd}`,rd=`mouseover${Qt}`,md=`mouseout${Qt}`,Fd=`focusin${Qt}`,Xd=`focusout${Qt}`,Zd=`hide${Qt}`,Gd=`hidden${Qt}`,Cd=`show${Qt}`,Bd=`shown${Qt}`,Wd="fade",Ab="hide",li="show",Ii="showing",ud={animation:"boolean",autohide:"boolean",delay:"number"},Rd={animation:!0,autohide:!0,delay:5e3},Ci=class i extends K{constructor(t,c){super(t,c),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Rd}static get DefaultType(){return ud}static get NAME(){return gd}show(){if(m.trigger(this._element,Cd).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Wd);let c=()=>{this._element.classList.remove(Ii),m.trigger(this._element,Bd),this._maybeScheduleHide()};this._element.classList.remove(Ab),vc(this._element),this._element.classList.add(li,Ii),this._queueCallback(c,this._element,this._config.animation)}hide(){if(!this.isShown()||m.trigger(this._element,Zd).defaultPrevented)return;let c=()=>{this._element.classList.add(Ab),this._element.classList.remove(Ii,li),m.trigger(this._element,Gd)};this._element.classList.add(Ii),this._queueCallback(c,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(li),super.dispose()}isShown(){return this._element.classList.contains(li)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,c){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=c;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=c;break}}if(c){this._clearTimeout();return}let e=t.relatedTarget;this._element===e||this._element.contains(e)||this._maybeScheduleHide()}_setListeners(){m.on(this._element,rd,t=>this._onInteraction(t,!0)),m.on(this._element,md,t=>this._onInteraction(t,!1)),m.on(this._element,Fd,t=>this._onInteraction(t,!0)),m.on(this._element,Xd,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let c=i.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof c[t]>"u")throw new TypeError(`No method named "${t}"`);c[t](this)}})}};Bi(Ci);ct(Ci);var Be=globalThis,Wi=Be.trustedTypes,io=Wi?Wi.createPolicy("lit-html",{createHTML:i=>i}):void 0,ao="$lit$",pt=`lit$${(Math.random()+"").slice(9)}$`,no="?"+pt,xd=`<${no}>`,Kt=document,Lc=()=>Kt.createComment(""),Nc=i=>i===null||typeof i!="object"&&typeof i!="function",go=Array.isArray,Qd=i=>go(i)||typeof i?.[Symbol.iterator]=="function",me=`[ 	
\f\r]`,Jc=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,eo=/-->/g,bo=/>/g,Dt=RegExp(`>|${me}(?:([^\\s"'>=/]+)(${me}*=${me}*(?:[^ 	
\f\r"'\`<>=]|("|')|))|$)`,"g"),oo=/'/g,lo=/"/g,so=/^(?:script|style|textarea|title)$/i,ro=i=>(t,...c)=>({_$litType$:i,strings:t,values:c}),x=ro(1),tF=ro(2),_t=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),Io=new WeakMap,Mt=Kt.createTreeWalker(Kt,129);function mo(i,t){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return io!==void 0?io.createHTML(t):t}var pd=(i,t)=>{let c=i.length-1,e=[],b,o=t===2?"<svg>":"",l=Jc;for(let a=0;a<c;a++){let I=i[a],d,n,s=-1,G=0;for(;G<I.length&&(l.lastIndex=G,n=l.exec(I),n!==null);)G=l.lastIndex,l===Jc?n[1]==="!--"?l=eo:n[1]!==void 0?l=bo:n[2]!==void 0?(so.test(n[2])&&(b=RegExp("</"+n[2],"g")),l=Dt):n[3]!==void 0&&(l=Dt):l===Dt?n[0]===">"?(l=b??Jc,s=-1):n[1]===void 0?s=-2:(s=l.lastIndex-n[2].length,d=n[1],l=n[3]===void 0?Dt:n[3]==='"'?lo:oo):l===lo||l===oo?l=Dt:l===eo||l===bo?l=Jc:(l=Dt,b=void 0);let g=l===Dt&&i[a+1].startsWith("/>")?" ":"";o+=l===Jc?I+xd:s>=0?(e.push(d),I.slice(0,s)+ao+I.slice(s)+pt+g):I+pt+(s===-2?a:g)}return[mo(i,o+(i[c]||"<?>")+(t===2?"</svg>":"")),e]},wc=class i{constructor({strings:t,_$litType$:c},e){let b;this.parts=[];let o=0,l=0,a=t.length-1,I=this.parts,[d,n]=pd(t,c);if(this.el=i.createElement(d,e),Mt.currentNode=this.el.content,c===2){let s=this.el.content.firstChild;s.replaceWith(...s.childNodes)}for(;(b=Mt.nextNode())!==null&&I.length<a;){if(b.nodeType===1){if(b.hasAttributes())for(let s of b.getAttributeNames())if(s.endsWith(ao)){let G=n[l++],g=b.getAttribute(s).split(pt),F=/([.?@])?(.*)/.exec(G);I.push({type:1,index:o,name:F[2],strings:g,ctor:F[1]==="."?Xe:F[1]==="?"?Ze:F[1]==="@"?Ge:Xc}),b.removeAttribute(s)}else s.startsWith(pt)&&(I.push({type:6,index:o}),b.removeAttribute(s));if(so.test(b.tagName)){let s=b.textContent.split(pt),G=s.length-1;if(G>0){b.textContent=Wi?Wi.emptyScript:"";for(let g=0;g<G;g++)b.append(s[g],Lc()),Mt.nextNode(),I.push({type:2,index:++o});b.append(s[G],Lc())}}}else if(b.nodeType===8)if(b.data===no)I.push({type:2,index:o});else{let s=-1;for(;(s=b.data.indexOf(pt,s+1))!==-1;)I.push({type:7,index:o}),s+=pt.length-1}o++}}static createElement(t,c){let e=Kt.createElement("template");return e.innerHTML=t,e}};function Fc(i,t,c=i,e){if(t===_t)return t;let b=e!==void 0?c._$Co?.[e]:c._$Cl,o=Nc(t)?void 0:t._$litDirective$;return b?.constructor!==o&&(b?._$AO?.(!1),o===void 0?b=void 0:(b=new o(i),b._$AT(i,c,e)),e!==void 0?(c._$Co??=[])[e]=b:c._$Cl=b),b!==void 0&&(t=Fc(i,b._$AS(i,t.values),b,e)),t}var Fe=class{constructor(t,c){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=c}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:c},parts:e}=this._$AD,b=(t?.creationScope??Kt).importNode(c,!0);Mt.currentNode=b;let o=Mt.nextNode(),l=0,a=0,I=e[0];for(;I!==void 0;){if(l===I.index){let d;I.type===2?d=new kc(o,o.nextSibling,this,t):I.type===1?d=new I.ctor(o,I.name,I.strings,this,t):I.type===6&&(d=new Ce(o,this,t)),this._$AV.push(d),I=e[++a]}l!==I?.index&&(o=Mt.nextNode(),l++)}return Mt.currentNode=Kt,b}p(t){let c=0;for(let e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(t,e,c),c+=e.strings.length-2):e._$AI(t[c])),c++}},kc=class i{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,c,e,b){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=c,this._$AM=e,this.options=b,this._$Cv=b?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,c=this._$AM;return c!==void 0&&t?.nodeType===11&&(t=c.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,c=this){t=Fc(this,t,c),Nc(t)?t===k||t==null||t===""?(this._$AH!==k&&this._$AR(),this._$AH=k):t!==this._$AH&&t!==_t&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qd(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==k&&Nc(this._$AH)?this._$AA.nextSibling.data=t:this.T(Kt.createTextNode(t)),this._$AH=t}$(t){let{values:c,_$litType$:e}=t,b=typeof e=="number"?this._$AC(t):(e.el===void 0&&(e.el=wc.createElement(mo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===b)this._$AH.p(c);else{let o=new Fe(b,this),l=o.u(this.options);o.p(c),this.T(l),this._$AH=o}}_$AC(t){let c=Io.get(t.strings);return c===void 0&&Io.set(t.strings,c=new wc(t)),c}k(t){go(this._$AH)||(this._$AH=[],this._$AR());let c=this._$AH,e,b=0;for(let o of t)b===c.length?c.push(e=new i(this.S(Lc()),this.S(Lc()),this,this.options)):e=c[b],e._$AI(o),b++;b<c.length&&(this._$AR(e&&e._$AB.nextSibling,b),c.length=b)}_$AR(t=this._$AA.nextSibling,c){for(this._$AP?.(!1,!0,c);t&&t!==this._$AB;){let e=t.nextSibling;t.remove(),t=e}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Xc=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,c,e,b,o){this.type=1,this._$AH=k,this._$AN=void 0,this.element=t,this.name=c,this._$AM=b,this.options=o,e.length>2||e[0]!==""||e[1]!==""?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=k}_$AI(t,c=this,e,b){let o=this.strings,l=!1;if(o===void 0)t=Fc(this,t,c,0),l=!Nc(t)||t!==this._$AH&&t!==_t,l&&(this._$AH=t);else{let a=t,I,d;for(t=o[0],I=0;I<o.length-1;I++)d=Fc(this,a[e+I],c,I),d===_t&&(d=this._$AH[I]),l||=!Nc(d)||d!==this._$AH[I],d===k?t=k:t!==k&&(t+=(d??"")+o[I+1]),this._$AH[I]=d}l&&!b&&this.j(t)}j(t){t===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Xe=class extends Xc{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===k?void 0:t}},Ze=class extends Xc{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==k)}},Ge=class extends Xc{constructor(t,c,e,b,o){super(t,c,e,b,o),this.type=5}_$AI(t,c=this){if((t=Fc(this,t,c,0)??k)===_t)return;let e=this._$AH,b=t===k&&e!==k||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,o=t!==k&&(e===k||b);b&&this.element.removeEventListener(this.name,this,e),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Ce=class{constructor(t,c,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=c,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Fc(this,t)}};var hd=Be.litHtmlPolyfillSupport;hd?.(wc,kc),(Be.litHtmlVersions??=[]).push("3.1.2");var lt=(i,t,c)=>{let e=c?.renderBefore??t,b=e._$litPart$;if(b===void 0){let o=c?.renderBefore??null;e._$litPart$=b=new kc(t.insertBefore(Lc(),o),o,void 0,c??{})}return b._$AI(i),b};async function D(){return await import("./main.js").then(i=>i.default)}function at(i){return document.querySelector(`meta[name="${i}"]`)?.content}function L(i,t){let c=at(`loc:${i}`)||i;if(t)for(let e in t)c=c.replace(`{${e}}`,t[e]);return c}function We(i){if(!i)return[];let t=/([a-z0-9])([A-Z]+[a-z])|([a-zA-Z0-9][.,/<>_])/g,c=[],e=0;for(;;){let b=t.exec(i);if(!b)break;let o=b.index+(b[1]||b[3]).length;c.push(i.slice(e,o)),e=o}return e<i.length&&c.push(i.slice(e)),c}function it(i){let t=[];return We(i).forEach(c=>{t.length>0&&t.push(x`<wbr>`),t.push(x`${c}`)}),x`${t}`}function ui(i){return i.hostname!==window.location.hostname||i.protocol!==window.location.protocol}function Fo(i,t){return c(i)===c(t);function c(e){return e.pathname.replace(/\/index\.html$/gi,"/").replace(/\.html$/gi,"").replace(/\/$/gi,"")}}async function ue(){if(document.querySelectorAll("pre code").length<=0)return;let{default:t}=await import("./es-5LUIURFI.min.js"),{configureHljs:c}=await D();c?.(t),document.querySelectorAll("pre code").forEach(e=>{t.highlightElement(e)}),document.querySelectorAll("pre code[highlight-lines]").forEach(e=>{if(e.innerHTML==="")return;let b=e.getAttribute("highlight-lines");if(!b)return;let o=e.innerHTML.split(`
`),l=b.split(",");for(let a of l){let I=0,d=0,n=a.match(/^(\d+)-(\d+)?$/);if(n)I=+n[1],d=+n[2],(isNaN(d)||d>o.length)&&(d=o.length);else{if(isNaN(Number(a)))continue;I=+a,d=I}I<=0||d<=0||I>d||I>o.length||(o[I-1]='<span class="line-highlight">'+o[I-1],o[d-1]=o[d-1]+"</span>")}e.innerHTML=o.join(`
`)})}function Xo(i){localStorage.setItem("theme",i),i==="auto"?document.documentElement.setAttribute("data-bs-theme",window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"):document.documentElement.setAttribute("data-bs-theme",i)}async function Zo(){return localStorage.getItem("theme")||(await D()).defaultTheme||"auto"}async function Go(){Xo(await Zo())}function Co(i){return new MutationObserver(()=>i(Re())).observe(document.documentElement,{attributes:!0,attributeFilter:["data-bs-theme"]})}function Re(){return document.documentElement.getAttribute("data-bs-theme")}async function Bo(i){let t=await Zo(),c=t==="light"?"sun":t==="dark"?"moon":"circle-half";return x`
    <div class='dropdown'>
      <a title='${L("changeTheme")}' class='btn border-0 dropdown-toggle' data-bs-toggle='dropdown' aria-expanded='false'>
        <i class='bi bi-${c}'></i>
      </a>
      <ul class='dropdown-menu dropdown-menu-end'>
        <li><a class='dropdown-item' href='#' @click=${b=>e(b,"light")}><i class='bi bi-sun'></i> ${L("themeLight")}</a></li>
        <li><a class='dropdown-item' href='#' @click=${b=>e(b,"dark")}><i class='bi bi-moon'></i> ${L("themeDark")}</a></li>
        <li><a class='dropdown-item' href='#' @click=${b=>e(b,"auto")}><i class='bi bi-circle-half'></i> ${L("themeAuto")}</a></li>
      </ul>
    </div>`;function e(b,o){b.preventDefault(),Xo(o),i()}}async function Qe(){Vd(),fd(),yd(),Yd(),Od(),vd(),await Promise.all([Ud(),Ad(),xe()]),Co(xe)}async function Ad(){document.querySelectorAll(".math").length>0&&await import("./tex-svg-full-3JRN7JHV.min.js")}async function xe(){let i=document.querySelectorAll("pre code.lang-mermaid"),t=document.querySelectorAll("pre.mermaid[data-mermaid]");if(i.length<=0&&t.length<=0)return;let{default:c}=await import("./mermaid.core-A4DBFH42.min.js"),e=Re()==="dark"?"dark":"default",{mermaid:b}=await D();c.initialize(Object.assign({startOnLoad:!1,theme:e},b));let o=[];i.forEach(l=>{if(l.offsetParent){o.push(l.parentElement);let a=l.innerHTML;l.parentElement.classList.add("mermaid"),l.parentElement.setAttribute("data-mermaid",a),l.parentElement.innerHTML=a}}),t.forEach(l=>{l.offsetParent&&(l.removeAttribute("data-processed"),l.innerHTML=l.getAttribute("data-mermaid"),o.push(l))}),await c.run({nodes:o})}function Vd(){document.querySelectorAll("article h1,h2,h3,h4,h5,h6,.xref,.text-break").forEach(i=>{if(i.innerHTML?.trim()===i.innerText?.trim()){let t=[];for(let c of We(i.innerText))t.length>0&&t.push(document.createElement("wbr")),t.push(c);i.replaceChildren(...t)}})}async function Ud(){let{showLightbox:i}=await D(),t=200,c=Array.from(document.querySelectorAll("article a img[src]"));document.querySelectorAll("article img[src]").forEach(e=>{o()?b():e.addEventListener("load",()=>{o()&&b()});function b(){let l=document.createElement("a");l.target="_blank",l.rel="noopener noreferrer nofollow",e.parentElement.tagName==="PICTURE"?e.parentElement.addEventListener("click",()=>{l.href=e.currentSrc,l.click()}):(l.href=e.src,e.replaceWith(l),l.appendChild(e))}function o(){return i?i(e):e.naturalWidth>t&&e.naturalHeight>t&&!c.includes(e)}})}function fd(){document.querySelectorAll("table").forEach(i=>{i.classList.add("table","table-bordered","table-condensed");let t=document.createElement("div");t.className="table-responsive",i.parentElement.insertBefore(t,i),t.appendChild(i)})}function yd(){document.querySelectorAll(".NOTE, .TIP").forEach(i=>i.classList.add("alert","alert-info")),document.querySelectorAll(".WARNING").forEach(i=>i.classList.add("alert","alert-warning")),document.querySelectorAll(".IMPORTANT, .CAUTION").forEach(i=>i.classList.add("alert","alert-danger"))}function Yd(){at("docfx:disablenewtab")!=="true"&&document.querySelectorAll("article a[href]").forEach(i=>{i.hostname!==window.location.hostname&&i.innerText.trim()!==""&&(i.target="_blank",i.rel="noopener noreferrer nofollow",i.classList.add("external"))})}function vd(){document.querySelectorAll("pre>code").forEach(i=>{if(i.textContent.trim().length===0)return;let t=!1;c();function c(){let e=t?x`<a class='btn border-0 link-success code-action'><i class='bi bi-check-lg'></i></a>`:x`<a class='btn border-0 code-action' title='${L("copy")}' href='#' @click=${b}><i class='bi bi-clipboard'></i></a>`;lt(e,i.parentElement);async function b(o){o.preventDefault(),await navigator.clipboard.writeText(i.innerText),t=!0,c(),setTimeout(()=>{t=!1,c()},1e3)}}})}function Od(){s();let i={id:"data-bi-id",name:"data-bi-name",type:"data-bi-type"},t=function(){function g(F,r,Z){this.li=F,this.a=r,this.section=Z}return Object.defineProperty(g.prototype,"tabIds",{get:function(){return this.a.getAttribute("data-tab").split(" ")},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"condition",{get:function(){return this.a.getAttribute("data-condition")},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"visible",{get:function(){return!this.li.hasAttribute("hidden")},set:function(F){F?(this.li.removeAttribute("hidden"),this.li.removeAttribute("aria-hidden")):(this.li.setAttribute("hidden","hidden"),this.li.setAttribute("aria-hidden","true"))},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"selected",{get:function(){return!this.section.hasAttribute("hidden")},set:function(F){F?(this.a.setAttribute("aria-selected","true"),this.a.classList.add("active"),this.a.tabIndex=0,this.section.removeAttribute("hidden"),this.section.removeAttribute("aria-hidden")):(this.a.setAttribute("aria-selected","false"),this.a.classList.remove("active"),this.a.tabIndex=-1,this.section.setAttribute("hidden","hidden"),this.section.setAttribute("aria-hidden","true"))},enumerable:!0,configurable:!0}),g.prototype.focus=function(){this.a.focus()},g}();c(document.body);function c(g){let F=I(),r=g.querySelectorAll(".tabGroup"),Z={groups:[],selectedTabs:[]};for(let X=0;X<r.length;X++){let B=e(r.item(X));B.independent||(b(B,Z),Z.groups.push(B))}return g.addEventListener("click",function(X){return l(X,Z)}),Z.groups.length===0||(a(F),d(Z)),Z}function e(g){let F={independent:g.hasAttribute("data-tab-group-independent"),tabs:[]},r=g.firstElementChild.firstElementChild;for(;r;){let Z=r.firstElementChild;Z.setAttribute(i.name,"tab");let X=Z.getAttribute("data-tab").replace(/\+/g," ");Z.setAttribute("data-tab",X);let B=g.querySelector('[id="'+Z.getAttribute("aria-controls")+'"]'),C=new t(r,Z,B);F.tabs.push(C),r=r.nextElementSibling}return g.setAttribute(i.name,"tab-group"),g.tabGroup=F,F}function b(g,F){let r=!1,Z;for(let X=0,B=g.tabs;X<B.length;X++){let C=B[X];C.visible=C.condition===null||F.selectedTabs.indexOf(C.condition)!==-1,C.visible&&(Z||(Z=C)),C.selected=C.visible&&n(F.selectedTabs,C.tabIds),r=r||C.selected}if(!r){for(let B=0,C=g.tabs;B<C.length;B++){let u=C[B].tabIds;for(let R=0,Q=u;R<Q.length;R++){let p=Q[R],h=F.selectedTabs.indexOf(p);h!==-1&&F.selectedTabs.splice(h,1)}}let X=Z;X.selected=!0,F.selectedTabs.push(X.tabIds[0])}}function o(g){if(!(g.target instanceof HTMLElement))return null;let F=g.target.closest("a[data-tab]");if(F===null)return null;let r=F.getAttribute("data-tab").split(" "),Z=F.parentElement.parentElement.parentElement.tabGroup;return Z===void 0?null:{tabIds:r,group:Z,anchor:F}}function l(g,F){let r=o(g);if(r===null)return;g.preventDefault(),r.anchor.href="javascript:",setTimeout(function(){r.anchor.href="#"+r.anchor.getAttribute("aria-controls")});let Z=r.tabIds,X=r.group,B=r.anchor.getBoundingClientRect().top;if(X.independent)for(let u=0,R=X.tabs;u<R.length;u++){let Q=R[u];Q.selected=n(Q.tabIds,Z)}else{if(n(F.selectedTabs,Z))return;let u=X.tabs.filter(function(R){return R.selected})[0].tabIds[0];F.selectedTabs.splice(F.selectedTabs.indexOf(u),1,Z[0]);for(let R=0,Q=F.groups;R<Q.length;R++){let p=Q[R];b(p,F)}d(F)}G();let C=r.anchor.getBoundingClientRect().top;C!==B&&g instanceof MouseEvent&&window.scrollTo(0,window.pageYOffset+C-B)}function a(g){for(let F=0,r=g;F<r.length;F++){let Z=r[F],X=document.querySelector('.tabGroup > ul > li > a[data-tab="'+Z+'"]:not([hidden])');if(X===null)return;X.dispatchEvent(new CustomEvent("click",{bubbles:!0}))}}function I(){let F=new URLSearchParams(window.location.search).get("tabs");return F?F.split(","):[]}function d(g){let F=new URLSearchParams(window.location.search);F.set("tabs",g.selectedTabs.join());let r=location.protocol+"//"+location.host+location.pathname+"?"+F.toString()+location.hash;location.href!==r&&history.replaceState({},document.title,r)}function n(g,F){for(let r=0,Z=g;r<Z.length;r++){let X=Z[r];for(let B=0,C=F;B<C.length;B++){let u=C[B];if(X===u)return!0}}return!1}function s(){document.querySelectorAll("div.tabGroup>ul").forEach(g=>g.classList.add("nav","nav-tabs")),document.querySelectorAll("div.tabGroup>ul>li").forEach(g=>g.classList.add("nav-item")),document.querySelectorAll("div.tabGroup>ul>li>a").forEach(g=>g.classList.add("nav-link")),document.querySelectorAll("div.tabGroup>section").forEach(g=>g.classList.add("card"))}function G(){xe()}}var Wo={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},uo=i=>(...t)=>({_$litDirective$:i,values:t}),Ri=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,c,e){this._$Ct=t,this._$AM=c,this._$Ci=e}_$AS(t,c){return this.update(t,c)}update(t,c){return this.render(...c)}};var ht=uo(class extends Ri{constructor(i){if(super(i),i.type!==Wo.ATTRIBUTE||i.name!=="class"||i.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(t=>i[t]).join(" ")+" "}update(i,[t]){if(this.st===void 0){this.st=new Set,i.strings!==void 0&&(this.nt=new Set(i.strings.join(" ").split(/\s/).filter(e=>e!=="")));for(let e in t)t[e]&&!this.nt?.has(e)&&this.st.add(e);return this.render(t)}let c=i.element.classList;for(let e of this.st)e in t||(c.remove(e),this.st.delete(e));for(let e in t){let b=!!t[e];b===this.st.has(e)||this.nt?.has(e)||(b?(c.add(e),this.st.add(e)):(c.remove(e),this.st.delete(e)))}return _t}});var nt;async function Ro(){let i=document.getElementById("search-query");if(!i||!window.Worker)return;let t=at("docfx:rel")||"",c=new Worker(t+"public/search-worker.min.js",{type:"module"});c.onerror=I=>{console.error("Error occurred at search-worker. message: "+I.message)},c.onmessage=function(I){switch(I.data.e){case"index-ready":i.disabled=!1,i.addEventListener("input",b),window.docfx.searchReady=!0;break;case"query-ready":document.body.setAttribute("data-search","true"),a(I.data.d,0),window.docfx.searchResultReady=!0,i.value===""&&document.body.removeAttribute("data-search");break}};let{lunrLanguages:e}=await D();c.postMessage({init:{lunrLanguages:e}});function b(){nt=i.value,nt===""?document.body.removeAttribute("data-search"):c.postMessage({q:nt})}function o(I,d){let n=I.split(/\/+/),s=d.split(/\/+/),G=n.length-1,g=[];for(let F=0;F<s.length;F++)s[F]===".."?G--:s[F]!=="."&&g.push(s[F]);return n.slice(0,G).concat(g).join("/")}function l(I){let n=nt.split(/\s+/g),s=I.indexOf(n[0]);if(s>512)return"..."+I.slice(s-512,s+512)+"...";if(s<=512)return I.slice(0,s+512)+"..."}function a(I,d){let s=Math.ceil(I.length/10);lt(G(d),document.getElementById("search-results"));function G(F){if(I.length===0)return x`<div class="search-list">${L("searchNoResults",{query:nt})}</div>`;let r=F*10,Z=I.slice(r,r+10),X=x`
        <div class="search-list">${L("searchResultsCount",{count:I.length.toString(),query:nt})}</div>
        <div class="sr-items">${Z.map(B=>{let C=window.location.href,u=o(C,t+B.href),R=t+B.href+"?q="+nt,Q=l(B.keywords);return x`
            <div class="sr-item">
              <div class="item-title"><a href="${R}" target="_blank" rel="noopener noreferrer">${pe(B.title,nt)}</a></div>
              <div class="item-href">${pe(u,nt)}</div>
              <div class="item-brief">${pe(Q,nt)}</div>
            </div>`})}
        </div>`;return x`${X} ${g()}`}function g(){let r=Math.max(0,Math.min(d-2,s-5)),Z=Math.min(s,r+5),X=Array.from(new Array(Z-r).keys()).map(C=>C+r);if(X.length<=1)return null;return x`
        <nav>
          <ul class="pagination">
            <li class="page-item">
              <a class="page-link ${ht({disabled:d<=0})}" href="#" aria-label="Previous"
                @click="${()=>B(d-1)}">
                <span aria-hidden="true">&laquo;</span>
              </a>
            </li>
            ${X.map(C=>x`
              <li class="page-item">
                <a class="page-link ${ht({active:d===C})}" href="#"
                  @click="${()=>B(C)}">${C+1}</a></li>`)}
            <li class="page-item">
              <a class="page-link ${ht({disabled:d>=s-1})}" href="#" aria-label="Next"
                @click="${()=>B(d+1)}">
                <span aria-hidden="true">&raquo;</span>
              </a>
            </li>
          </ul>
        </nav>`;function B(C){C>=0&&C<s&&a(I,C)}}}}function pe(i,t){let e=t.split(/\s+/g).map(a=>a.toLowerCase()),b=i.toLowerCase(),o=[],l=0;for(let a=0;a<e.length;a++){let I=e[a],d=b.indexOf(I,l);d>=0&&(o.push(x`${i.slice(l,d)}`),o.push(x`<b>${i.slice(d,d+I.length)}</b>`),l=d+I.length)}return o.push(x`${i.slice(l)}`),x`${o}`}async function xo(){let i=at("docfx:tocrel");if(!i)return[];let t=at("docfx:disabletocfilter")==="true",c=new URL(i.replace(/.html$/gi,".json"),window.location.href),{items:e,pdf:b,pdfFileName:o}=await(await fetch(c)).json(),l=t?"":localStorage?.getItem("tocFilterUrl")||"",a=t?"":localStorage?.getItem("tocFilter")||"";l!==c.toString()?(a="",localStorage?.setItem("tocFilterUrl","")):localStorage?.setItem("tocFilterUrl",c.toString());let I=[],d=[];e.forEach(s);let n=document.getElementById("toc");if(n){G();let X=n.querySelectorAll("li.active"),B=X[X.length-1];B&&(B.scrollIntoView({block:"nearest"}),location.hash&&(location.href=location.href))}return d.length>0&&Jd(e,d[0]),I.slice(0,-1);function s(X){let B;if(X.href){let C=new URL(X.href,c);X.href=C.href,B=ui(C)?!1:Fo(C,window.location),B&&(X.items&&(X.expanded=!0),d.push(X))}if(X.items)for(let C of X.items)s(C)&&(B=!0,X.expanded=!0);return B?(I.unshift(X),!0):!1}function G(){lt(x`
      ${F()} 
      <div class="flex-fill overflow-y-auto">${g(e)||r()}</div>
      ${Z()}`,n)}function g(X){let B=X.map(C=>{let{href:u,name:R,items:Q,expanded:p}=C;if(!R)return null;let h=!Q||Q.length<=0,U=h?null:g(Q);if(a!==""&&!U&&!R.toLowerCase().includes(a.toLowerCase()))return null;let y=u?x`<a class='${ht({"nav-link":!I.includes(C)})}' href=${u}>${it(R)}</a>`:h?x`<span class='text-body-tertiary name-only'>${it(R)}</a>`:x`<a class='${ht({"nav-link":!I.includes(C)})}' href='#' @click=${T}>${it(R)}</a>`,O=a!==""&&p!==!1&&U!=null||p===!0;return x`
        <li class=${ht({expander:!h,expanded:O,active:I.includes(C)})}>
          ${h?null:x`<span class='expand-stub' @click=${T}></span>`}
          ${y}
          ${U}
        </li>`;function T(z){z.preventDefault(),C.expanded=!O,G()}}).filter(C=>C);return B.length>0?x`<ul>${B}</ul>`:null}function F(){return t?null:x`
      <form class='filter'>
        <i class='bi bi-filter'></i>
        <input class='form-control' @input=${X} value='${a}' type='search' placeholder='${L("tocFilter")}' autocomplete='off' aria-label='${L("tocFilter")}'>
      </form>`;function X(B){a=B.target.value.trim(),localStorage?.setItem("tocFilter",a),G()}}function r(){return a===""?null:x`<div class='no-result'>${L("searchNoResults",{query:a})}</div>`}function Z(){return b?x`<div class="py-2 mb-md-4"><a class="pdf-link" href="${new URL(o||"toc.pdf",c)}">${L("downloadPdf")}</a></div>`:null}}function Jd(i,t){let c=document.getElementById("nextArticle");if(!c)return;let e=d(i),b=e.findIndex(n=>n===t),o=e[b-1],l=e[b+1];if(!o&&!l)return;let a=o?x`<div class="prev"><span><i class='bi bi-chevron-left'></i> ${L("prevArticle")}</span> <a href="${o.href}" rel="prev">${it(o.name)}</a></div>`:null,I=l?x`<div class="next"><span>${L("nextArticle")} <i class='bi bi-chevron-right'></i></span> <a href="${l.href}" rel="next">${it(l.name)}</a></div>`:null;lt(x`${a} ${I}`,c);function d(n){let s=[];for(let G of n)G.href&&s.push(G),G.items&&s.push(...d(G.items));return s}}var po=No(Qo());async function ho(){let i=document.getElementById("navbar");if(!i)return[];let{iconLinks:t}=await D(),c=await a(),e=wd(c),b=I=>x`<li class='nav-item'><a class='nav-link ${I===e?"active":null}' aria-current=${I===e?"page":!1} href=${I.href}>${it(I.name)}</a></li>`,o=x`
    <ul class='navbar-nav'>${c.map(I=>{if("items"in I){let d=I.items.some(n=>n===e)?"active":null;return x`
            <li class='nav-item dropdown'>
              <a class='nav-link dropdown-toggle ${d}' href='#' role='button' data-bs-toggle='dropdown' aria-expanded='false'>
                ${it(I.name)}
              </a>
              <ul class='dropdown-menu'>${I.items.map(b)}</ul>
            </li>`}else return b(I)})}</ul>`;async function l(){let I=x`
      <form class="icons">
        ${t?.map(d=>x`<a href="${d.href}" title="${d.title}" class="btn border-0"><i class="bi bi-${d.icon}"></i></a>`)}
        ${await Bo(l)}
      </form>`;lt(x`${o} ${I}`,i)}return await l(),e?[e]:[];async function a(){let I=at("docfx:navrel");if(!I)return[];let d=new URL(I.replace(/.html$/gi,".json"),window.location.href),{items:n}=await fetch(d).then(s=>s.json());return n.map(s=>"items"in s?{name:s.name,items:s.items.map(G=>({name:G.name,href:new URL(G.href,d)}))}:{name:s.name,href:new URL(s.href,d)})}}function Ao(i){let t=document.getElementById("breadcrumb");t&&lt(x`
        <ol class="breadcrumb">
          ${i.map(c=>x`<li class="breadcrumb-item"><a href="${c.href}">${it(c.name)}</a></li>`)}
        </ol>`,t)}async function Vo(){await Ld();let i=document.getElementById("affix");i&&lt(Nd(),i)}async function Ld(){let i=new po.default,{anchors:t}=await D();i.options=Object.assign({visible:"hover",icon:"#"},t),i.add("article h2:not(.no-anchor), article h3:not(.no-anchor), article h4:not(.no-anchor)"),location.hash&&(location.href=location.href)}function Nd(){let i=Array.from(document.querySelectorAll("article h2, article h3"));if(i.length>0)return x`
      <h5 class="border-bottom">${L("inThisArticle")}</h5>
      <ul>${i.map(t=>t.tagName==="H2"?x`<li><a class="link-body-emphasis" href="#${t.id}">${it(t.innerText)}</a></li>`:x`<li><a class="link-secondary" href="#${t.id}">${it(t.innerText)}</a></li>`)}</ul>`}function wd(i){let t=new URL(window.location.href),c,e=0;for(let b of i.map(o=>"items"in o?o.items:o).flat()){if(ui(b.href))continue;let o=kd(t,b.href);o>e&&(e=o,c=b)}return c}function kd(i,t){let c=i.pathname.split("/"),e=t.pathname.split("/"),b=0;for(;b<c.length&&b<e.length&&c[b]===e[b];)b++;return b}async function zd(){window.docfx=window.docfx||{};let{start:i}=await D();i?.(),navigator.userAgent.indexOf("docfx/pdf")>=0?await Promise.all([Qe(),ue()]):await Promise.all([Go(),Ro(),Vo(),Qe(),c(),ue()]),window.docfx.ready=!0;async function c(){let[e,b]=await Promise.all([ho(),xo()]);Ao([...e,...b])}}zd().catch(console.error);
/*! Bundled license information:

bootstrap/dist/js/bootstrap.esm.js:
  (*!
    * Bootstrap v5.3.3 (https://getbootstrap.com/)
    * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
    * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
    *)

lit-html/lit-html.js:
  (**
   * @license
   * Copyright 2017 Google LLC
   * SPDX-License-Identifier: BSD-3-Clause
   *)

lit-html/directive.js:
  (**
   * @license
   * Copyright 2017 Google LLC
   * SPDX-License-Identifier: BSD-3-Clause
   *)

lit-html/directives/class-map.js:
  (**
   * @license
   * Copyright 2018 Google LLC
   * SPDX-License-Identifier: BSD-3-Clause
   *)
*/
//# sourceMappingURL=docfx.min.js.map
