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

bootstrap/dist/js/bootstrap.esm.js:
  (*!
    * Bootstrap v5.3.2 (https://getbootstrap.com/)
    * Copyright 2011-2023 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
