(()=>{var vi=Object.create;var ve=Object.defineProperty;var bi=Object.getOwnPropertyDescriptor;var yi=Object.getOwnPropertyNames,so=Object.getOwnPropertySymbols,wi=Object.getPrototypeOf,lo=Object.prototype.hasOwnProperty,Ai=Object.prototype.propertyIsEnumerable;var ao=(e,t,n)=>t in e?ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}))lo.call(t,n)&&ao(e,n,t[n]);if(so)for(var n of so(t))Ai.call(t,n)&&ao(e,n,t[n]);return e};var Ti=e=>ve(e,"__esModule",{value:!0});var re=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ni=(e,t)=>{for(var n in t)ve(e,n,{get:t[n],enumerable:!0})},Si=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of yi(t))!lo.call(e,r)&&(n||r!=="default")&&ve(e,r,{get:()=>t[r],enumerable:!(o=bi(t,r))||o.enumerable});return e},Ci=(e,t)=>Si(Ti(ve(e!=null?vi(wi(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Jr=re((Yn,zn)=>{(function(e,t){typeof Yn=="object"&&typeof zn!="undefined"?zn.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.SelectorEngine=t())})(Yn,function(){"use strict";let e=i=>!i||typeof i!="object"?!1:(typeof i.jquery!="undefined"&&(i=i[0]),typeof i.nodeType!="undefined"),t=i=>!e(i)||i.getClientRects().length===0?!1:getComputedStyle(i).getPropertyValue("visibility")==="visible",n=i=>!i||i.nodeType!==Node.ELEMENT_NODE||i.classList.contains("disabled")?!0:typeof i.disabled!="undefined"?i.disabled:i.hasAttribute("disabled")&&i.getAttribute("disabled")!=="false";return{find(i,s=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(s,i))},findOne(i,s=document.documentElement){return Element.prototype.querySelector.call(s,i)},children(i,s){return[].concat(...i.children).filter(a=>a.matches(s))},parents(i,s){let a=[],c=i.parentNode;for(;c&&c.nodeType===Node.ELEMENT_NODE&&c.nodeType!==3;)c.matches(s)&&a.push(c),c=c.parentNode;return a},prev(i,s){let a=i.previousElementSibling;for(;a;){if(a.matches(s))return[a];a=a.previousElementSibling}return[]},next(i,s){let a=i.nextElementSibling;for(;a;){if(a.matches(s))return[a];a=a.nextElementSibling}return[]},focusableChildren(i){let s=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(a=>`${a}:not([tabindex^="-"])`).join(", ");return this.find(s,i).filter(a=>!n(a)&&t(a))}}})});var Zr=re((Un,Qn)=>{(function(e,t){typeof Un=="object"&&typeof Qn!="undefined"?Qn.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.Manipulator=t())})(Un,function(){"use strict";function e(o){return o==="true"?!0:o==="false"?!1:o===Number(o).toString()?Number(o):o===""||o==="null"?null:o}function t(o){return o.replace(/[A-Z]/g,r=>`-${r.toLowerCase()}`)}return{setDataAttribute(o,r,i){o.setAttribute(`data-bs-${t(r)}`,i)},removeDataAttribute(o,r){o.removeAttribute(`data-bs-${t(r)}`)},getDataAttributes(o){if(!o)return{};let r={};return Object.keys(o.dataset).filter(i=>i.startsWith("bs")).forEach(i=>{let s=i.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),r[s]=e(o.dataset[i])}),r},getDataAttribute(o,r){return e(o.getAttribute(`data-bs-${t(r)}`))},offset(o){let r=o.getBoundingClientRect();return{top:r.top+window.pageYOffset,left:r.left+window.pageXOffset}},position(o){return{top:o.offsetTop,left:o.offsetLeft}}}})});var Jn=re((Gn,Xn)=>{(function(e,t){typeof Gn=="object"&&typeof Xn!="undefined"?Xn.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.EventHandler=t())})(Gn,function(){"use strict";let e=()=>{let{jQuery:d}=window;return d&&!document.body.hasAttribute("data-bs-no-jquery")?d:null},t=/[^.]*(?=\..*)\.|.*/,n=/\..*/,o=/::\d+$/,r={},i=1,s={mouseenter:"mouseover",mouseleave:"mouseout"},a=/^(mouseenter|mouseleave)/i,c=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 h(d,m){return m&&`${m}::${i++}`||d.uidEvent||i++}function u(d){let m=h(d);return d.uidEvent=m,r[m]=r[m]||{},r[m]}function A(d,m){return function g(v){return v.delegateTarget=d,g.oneOff&&M.off(d,v.type,m),m.apply(d,[v])}}function x(d,m,g){return function v(T){let S=d.querySelectorAll(m);for(let{target:w}=T;w&&w!==this;w=w.parentNode)for(let C=S.length;C--;)if(S[C]===w)return T.delegateTarget=w,v.oneOff&&M.off(d,T.type,m,g),g.apply(w,[T]);return null}}function y(d,m,g=null){let v=Object.keys(d);for(let T=0,S=v.length;Tfunction(X){if(!X.relatedTarget||X.relatedTarget!==X.delegateTarget&&!X.delegateTarget.contains(X.relatedTarget))return Ct.call(this,X)};v?v=F(v):g=F(g)}let[S,w,C]=D(m,g,v),P=u(d),$=P[C]||(P[C]={}),U=y($,w,S?g:null);if(U){U.oneOff=U.oneOff&&T;return}let B=h(w,m.replace(t,"")),H=S?x(d,g,v):A(d,g);H.delegationSelector=S?g:null,H.originalHandler=w,H.oneOff=T,H.uidEvent=B,$[B]=H,d.addEventListener(C,H,S)}function _(d,m,g,v,T){let S=y(m[g],v,T);!S||(d.removeEventListener(g,S,Boolean(T)),delete m[g][S.uidEvent])}function O(d,m,g,v){let T=m[g]||{};Object.keys(T).forEach(S=>{if(S.includes(v)){let w=T[S];_(d,m,g,w.originalHandler,w.delegationSelector)}})}function L(d){return d=d.replace(n,""),s[d]||d}let M={on(d,m,g,v){p(d,m,g,v,!1)},one(d,m,g,v){p(d,m,g,v,!0)},off(d,m,g,v){if(typeof m!="string"||!d)return;let[T,S,w]=D(m,g,v),C=w!==m,P=u(d),$=m.startsWith(".");if(typeof S!="undefined"){if(!P||!P[w])return;_(d,P,w,S,T?g:null);return}$&&Object.keys(P).forEach(B=>{O(d,P,B,m.slice(1))});let U=P[w]||{};Object.keys(U).forEach(B=>{let H=B.replace(o,"");if(!C||m.includes(H)){let F=U[B];_(d,P,w,F.originalHandler,F.delegationSelector)}})},trigger(d,m,g){if(typeof m!="string"||!d)return null;let v=e(),T=L(m),S=m!==T,w=c.has(T),C,P=!0,$=!0,U=!1,B=null;return S&&v&&(C=v.Event(m,g),v(d).trigger(C),P=!C.isPropagationStopped(),$=!C.isImmediatePropagationStopped(),U=C.isDefaultPrevented()),w?(B=document.createEvent("HTMLEvents"),B.initEvent(T,P,!0)):B=new CustomEvent(m,{bubbles:P,cancelable:!0}),typeof g!="undefined"&&Object.keys(g).forEach(H=>{Object.defineProperty(B,H,{get(){return g[H]}})}),U&&B.preventDefault(),$&&d.dispatchEvent(B),B.defaultPrevented&&typeof C!="undefined"&&C.preventDefault(),B}};return M})});var ti=re((Zn,to)=>{(function(e,t){typeof Zn=="object"&&typeof to!="undefined"?to.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.Data=t())})(Zn,function(){"use strict";let e=new Map;return{set(n,o,r){e.has(n)||e.set(n,new Map);let i=e.get(n);if(!i.has(o)&&i.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`);return}i.set(o,r)},get(n,o){return e.has(n)&&e.get(n).get(o)||null},remove(n,o){if(!e.has(n))return;let r=e.get(n);r.delete(o),r.size===0&&e.delete(n)}}})});var ei=re((eo,no)=>{(function(e,t){typeof eo=="object"&&typeof no!="undefined"?no.exports=t(ti(),Jn()):typeof define=="function"&&define.amd?define(["./dom/data","./dom/event-handler"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.Base=t(e.Data,e.EventHandler))})(eo,function(e,t){"use strict";let n=p=>p&&typeof p=="object"&&"default"in p?p:{default:p},o=n(e),r=n(t),i=1e3,s="transitionend",a=p=>{if(!p)return 0;let{transitionDuration:_,transitionDelay:O}=window.getComputedStyle(p),L=Number.parseFloat(_),M=Number.parseFloat(O);return!L&&!M?0:(_=_.split(",")[0],O=O.split(",")[0],(Number.parseFloat(_)+Number.parseFloat(O))*i)},c=p=>{p.dispatchEvent(new Event(s))},h=p=>!p||typeof p!="object"?!1:(typeof p.jquery!="undefined"&&(p=p[0]),typeof p.nodeType!="undefined"),u=p=>h(p)?p.jquery?p[0]:p:typeof p=="string"&&p.length>0?document.querySelector(p):null,A=p=>{typeof p=="function"&&p()},x=(p,_,O=!0)=>{if(!O){A(p);return}let L=5,M=a(_)+L,d=!1,m=({target:g})=>{g===_&&(d=!0,_.removeEventListener(s,m),A(p))};_.addEventListener(s,m),setTimeout(()=>{d||c(_)},M)},y="5.1.3";class D{constructor(_){_=u(_),!!_&&(this._element=_,o.default.set(this._element,this.constructor.DATA_KEY,this))}dispose(){o.default.remove(this._element,this.constructor.DATA_KEY),r.default.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(_=>{this[_]=null})}_queueCallback(_,O,L=!0){x(_,O,L)}static getInstance(_){return o.default.get(u(_),this.DATA_KEY)}static getOrCreateInstance(_,O={}){return this.getInstance(_)||new this(_,typeof O=="object"?O:null)}static get VERSION(){return y}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}return D})});var ni=re((oo,ro)=>{(function(e,t){typeof oo=="object"&&typeof ro!="undefined"?ro.exports=t(Jr(),Zr(),Jn(),ei()):typeof define=="function"&&define.amd?define(["./dom/selector-engine","./dom/manipulator","./dom/event-handler","./base-component"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.Offcanvas=t(e.SelectorEngine,e.Manipulator,e.EventHandler,e.Base))})(oo,function(e,t,n,o){"use strict";let r=f=>f&&typeof f=="object"&&"default"in f?f:{default:f},i=r(e),s=r(t),a=r(n),c=r(o),h=1e3,u="transitionend",A=f=>f==null?`${f}`:{}.toString.call(f).match(/\s([a-z]+)/i)[1].toLowerCase(),x=f=>{let l=f.getAttribute("data-bs-target");if(!l||l==="#"){let E=f.getAttribute("href");if(!E||!E.includes("#")&&!E.startsWith("."))return null;E.includes("#")&&!E.startsWith("#")&&(E=`#${E.split("#")[1]}`),l=E&&E!=="#"?E.trim():null}return l},y=f=>{let l=x(f);return l?document.querySelector(l):null},D=f=>{if(!f)return 0;let{transitionDuration:l,transitionDelay:E}=window.getComputedStyle(f),I=Number.parseFloat(l),q=Number.parseFloat(E);return!I&&!q?0:(l=l.split(",")[0],E=E.split(",")[0],(Number.parseFloat(l)+Number.parseFloat(E))*h)},p=f=>{f.dispatchEvent(new Event(u))},_=f=>!f||typeof f!="object"?!1:(typeof f.jquery!="undefined"&&(f=f[0]),typeof f.nodeType!="undefined"),O=f=>_(f)?f.jquery?f[0]:f:typeof f=="string"&&f.length>0?document.querySelector(f):null,L=(f,l,E)=>{Object.keys(E).forEach(I=>{let q=E[I],nt=l[I],it=nt&&_(nt)?"element":A(nt);if(!new RegExp(q).test(it))throw new TypeError(`${f.toUpperCase()}: Option "${I}" provided type "${it}" but expected type "${q}".`)})},M=f=>!_(f)||f.getClientRects().length===0?!1:getComputedStyle(f).getPropertyValue("visibility")==="visible",d=f=>!f||f.nodeType!==Node.ELEMENT_NODE||f.classList.contains("disabled")?!0:typeof f.disabled!="undefined"?f.disabled:f.hasAttribute("disabled")&&f.getAttribute("disabled")!=="false",m=f=>{f.offsetHeight},g=()=>{let{jQuery:f}=window;return f&&!document.body.hasAttribute("data-bs-no-jquery")?f:null},v=[],T=f=>{document.readyState==="loading"?(v.length||document.addEventListener("DOMContentLoaded",()=>{v.forEach(l=>l())}),v.push(f)):f()},S=f=>{T(()=>{let l=g();if(l){let E=f.NAME,I=l.fn[E];l.fn[E]=f.jQueryInterface,l.fn[E].Constructor=f,l.fn[E].noConflict=()=>(l.fn[E]=I,f.jQueryInterface)}})},w=f=>{typeof f=="function"&&f()},C=(f,l,E=!0)=>{if(!E){w(f);return}let I=5,q=D(l)+I,nt=!1,it=({target:fn})=>{fn===l&&(nt=!0,l.removeEventListener(u,it),w(f))};l.addEventListener(u,it),setTimeout(()=>{nt||p(l)},q)},P=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",$=".sticky-top";class U{constructor(){this._element=document.body}getWidth(){let l=document.documentElement.clientWidth;return Math.abs(window.innerWidth-l)}hide(){let l=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",E=>E+l),this._setElementAttributes(P,"paddingRight",E=>E+l),this._setElementAttributes($,"marginRight",E=>E-l)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(l,E,I){let q=this.getWidth(),nt=it=>{if(it!==this._element&&window.innerWidth>it.clientWidth+q)return;this._saveInitialAttribute(it,E);let fn=window.getComputedStyle(it)[E];it.style[E]=`${I(Number.parseFloat(fn))}px`};this._applyManipulationCallback(l,nt)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(P,"paddingRight"),this._resetElementAttributes($,"marginRight")}_saveInitialAttribute(l,E){let I=l.style[E];I&&s.default.setDataAttribute(l,E,I)}_resetElementAttributes(l,E){let I=q=>{let nt=s.default.getDataAttribute(q,E);typeof nt=="undefined"?q.style.removeProperty(E):(s.default.removeDataAttribute(q,E),q.style[E]=nt)};this._applyManipulationCallback(l,I)}_applyManipulationCallback(l,E){_(l)?E(l):i.default.find(l,this._element).forEach(E)}isOverflowing(){return this.getWidth()>0}}let B={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},H={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},F="backdrop",Ct="fade",X="show",Bt=`mousedown.bs.${F}`;class me{constructor(l){this._config=this._getConfig(l),this._isAppended=!1,this._element=null}show(l){if(!this._config.isVisible){w(l);return}this._append(),this._config.isAnimated&&m(this._getElement()),this._getElement().classList.add(X),this._emulateAnimation(()=>{w(l)})}hide(l){if(!this._config.isVisible){w(l);return}this._getElement().classList.remove(X),this._emulateAnimation(()=>{this.dispose(),w(l)})}_getElement(){if(!this._element){let l=document.createElement("div");l.className=this._config.className,this._config.isAnimated&&l.classList.add(Ct),this._element=l}return this._element}_getConfig(l){return l=k(k({},B),typeof l=="object"?l:{}),l.rootElement=O(l.rootElement),L(F,l,H),l}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),a.default.on(this._getElement(),Bt,()=>{w(this._config.clickCallback)}),this._isAppended=!0)}dispose(){!this._isAppended||(a.default.off(this._element,Bt),this._element.remove(),this._isAppended=!1)}_emulateAnimation(l){C(l,this._getElement(),this._config.isAnimated)}}let Vt={trapElement:null,autofocus:!0},Zt={trapElement:"element",autofocus:"boolean"},Ot="focustrap",mt=".bs.focustrap",te=`focusin${mt}`,wt=`keydown.tab${mt}`,he="Tab",ln="forward",ee="backward";class cn{constructor(l){this._config=this._getConfig(l),this._isActive=!1,this._lastTabNavDirection=null}activate(){let{trapElement:l,autofocus:E}=this._config;this._isActive||(E&&l.focus(),a.default.off(document,mt),a.default.on(document,te,I=>this._handleFocusin(I)),a.default.on(document,wt,I=>this._handleKeydown(I)),this._isActive=!0)}deactivate(){!this._isActive||(this._isActive=!1,a.default.off(document,mt))}_handleFocusin(l){let{target:E}=l,{trapElement:I}=this._config;if(E===document||E===I||I.contains(E))return;let q=i.default.focusableChildren(I);q.length===0?I.focus():this._lastTabNavDirection===ee?q[q.length-1].focus():q[0].focus()}_handleKeydown(l){l.key===he&&(this._lastTabNavDirection=l.shiftKey?ee:ln)}_getConfig(l){return l=k(k({},Vt),typeof l=="object"?l:{}),L(Ot,l,Zt),l}}let Ie=(f,l="hide")=>{let E=`click.dismiss${f.EVENT_KEY}`,I=f.NAME;a.default.on(document,E,`[data-bs-dismiss="${I}"]`,function(q){if(["A","AREA"].includes(this.tagName)&&q.preventDefault(),d(this))return;let nt=y(this)||this.closest(`.${I}`);f.getOrCreateInstance(nt)[l]()})},Re="offcanvas",ht=".bs.offcanvas",ge=".data-api",un=`load${ht}${ge}`,dn="Escape",gt={backdrop:!0,keyboard:!0,scroll:!1},ne={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Ee="show",He="offcanvas-backdrop",oe=".offcanvas.show",$e=`show${ht}`,Be=`shown${ht}`,Ve=`hide${ht}`,_e=`hidden${ht}`,gi=`click${ht}${ge}`,Ei=`keydown.dismiss${ht}`,_i='[data-bs-toggle="offcanvas"]';class xt extends c.default{constructor(l,E){super(l);this._config=this._getConfig(E),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Re}static get Default(){return gt}toggle(l){return this._isShown?this.hide():this.show(l)}show(l){if(this._isShown||a.default.trigger(this._element,$e,{relatedTarget:l}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||new U().hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ee);let I=()=>{this._config.scroll||this._focustrap.activate(),a.default.trigger(this._element,Be,{relatedTarget:l})};this._queueCallback(I,this._element,!0)}hide(){if(!this._isShown||a.default.trigger(this._element,Ve).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(Ee),this._backdrop.hide();let E=()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||new U().reset(),a.default.trigger(this._element,_e)};this._queueCallback(E,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(l){return l=k(k(k({},gt),s.default.getDataAttributes(this._element)),typeof l=="object"?l:{}),L(Re,l,ne),l}_initializeBackDrop(){return new me({className:He,isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new cn({trapElement:this._element})}_addEventListeners(){a.default.on(this._element,Ei,l=>{this._config.keyboard&&l.key===dn&&this.hide()})}static jQueryInterface(l){return this.each(function(){let E=xt.getOrCreateInstance(this,l);if(typeof l=="string"){if(E[l]===void 0||l.startsWith("_")||l==="constructor")throw new TypeError(`No method named "${l}"`);E[l](this)}})}}return a.default.on(document,gi,_i,function(f){let l=y(this);if(["A","AREA"].includes(this.tagName)&&f.preventDefault(),d(this))return;a.default.one(l,_e,()=>{M(this)&&this.focus()});let E=i.default.findOne(oe);E&&E!==l&&xt.getInstance(E).hide(),xt.getOrCreateInstance(l).toggle(this)}),a.default.on(window,un,()=>i.default.find(oe).forEach(f=>xt.getOrCreateInstance(f).show())),Ie(xt),S(xt),xt})});var On={};Ni(On,{afterMain:()=>ho,afterRead:()=>fo,afterWrite:()=>_o,applyStyles:()=>ie,arrow:()=>Ke,auto:()=>be,basePlacements:()=>At,beforeMain:()=>po,beforeRead:()=>co,beforeWrite:()=>go,bottom:()=>Y,clippingParents:()=>pn,computeStyles:()=>se,createPopper:()=>Xe,createPopperBase:()=>Co,createPopperLite:()=>Oo,detectOverflow:()=>tt,end:()=>Lt,eventListeners:()=>ae,flip:()=>ze,hide:()=>Ue,left:()=>W,main:()=>mo,modifierPhases:()=>hn,offset:()=>Qe,placements:()=>we,popper:()=>Wt,popperGenerator:()=>Qt,popperOffsets:()=>ue,preventOverflow:()=>Ge,read:()=>uo,reference:()=>mn,right:()=>j,start:()=>Et,top:()=>V,variationPlacements:()=>We,viewport:()=>ye,write:()=>Eo});var V="top",Y="bottom",j="right",W="left",be="auto",At=[V,Y,j,W],Et="start",Lt="end",pn="clippingParents",ye="viewport",Wt="popper",mn="reference",We=At.reduce(function(e,t){return e.concat([t+"-"+Et,t+"-"+Lt])},[]),we=[].concat(At,[be]).reduce(function(e,t){return e.concat([t,t+"-"+Et,t+"-"+Lt])},[]),co="beforeRead",uo="read",fo="afterRead",po="beforeMain",mo="main",ho="afterMain",go="beforeWrite",Eo="write",_o="afterWrite",hn=[co,uo,fo,po,mo,ho,go,Eo,_o];function Q(e){return e?(e.nodeName||"").toLowerCase():null}function K(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _t(e){var t=K(e).Element;return e instanceof t||e instanceof Element}function z(e){var t=K(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function je(e){if(typeof ShadowRoot=="undefined")return!1;var t=K(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Oi(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!z(i)||!Q(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(s){var a=r[s];a===!1?i.removeAttribute(s):i.setAttribute(s,a===!0?"":a)}))})}function xi(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var r=t.elements[o],i=t.attributes[o]||{},s=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),a=s.reduce(function(c,h){return c[h]="",c},{});!z(r)||!Q(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(c){r.removeAttribute(c)}))})}}var ie={name:"applyStyles",enabled:!0,phase:"write",fn:Oi,effect:xi,requires:["computeStyles"]};function G(e){return e.split("-")[0]}var ft=Math.max,jt=Math.min,Tt=Math.round;function st(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(z(e)&&t){var i=e.offsetHeight,s=e.offsetWidth;s>0&&(o=Tt(n.width)/s||1),i>0&&(r=Tt(n.height)/i||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function Kt(e){var t=st(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Ae(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&je(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Z(e){return K(e).getComputedStyle(e)}function gn(e){return["table","td","th"].indexOf(Q(e))>=0}function J(e){return((_t(e)?e.ownerDocument:e.document)||window.document).documentElement}function Nt(e){return Q(e)==="html"?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||J(e)}function vo(e){return!z(e)||Z(e).position==="fixed"?null:e.offsetParent}function Li(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&z(e)){var o=Z(e);if(o.position==="fixed")return null}for(var r=Nt(e);z(r)&&["html","body"].indexOf(Q(r))<0;){var i=Z(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function pt(e){for(var t=K(e),n=vo(e);n&&gn(n)&&Z(n).position==="static";)n=vo(n);return n&&(Q(n)==="html"||Q(n)==="body"&&Z(n).position==="static")?t:n||Li(e)||t}function Ft(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qt(e,t,n){return ft(e,jt(t,n))}function bo(e,t,n){var o=qt(e,t,n);return o>n?n:o}function Te(){return{top:0,right:0,bottom:0,left:0}}function Ne(e){return Object.assign({},Te(),e)}function Se(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var Di=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Ne(typeof t!="number"?t:Se(t,At))};function Mi(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=G(n.placement),c=Ft(a),h=[W,j].indexOf(a)>=0,u=h?"height":"width";if(!(!i||!s)){var A=Di(r.padding,n),x=Kt(i),y=c==="y"?V:W,D=c==="y"?Y:j,p=n.rects.reference[u]+n.rects.reference[c]-s[c]-n.rects.popper[u],_=s[c]-n.rects.reference[c],O=pt(i),L=O?c==="y"?O.clientHeight||0:O.clientWidth||0:0,M=p/2-_/2,d=A[y],m=L-x[u]-A[D],g=L/2-x[u]/2+M,v=qt(d,g,m),T=c;n.modifiersData[o]=(t={},t[T]=v,t.centerOffset=v-g,t)}}function ki(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||!Ae(t.elements.popper,r)||(t.elements.arrow=r))}var Ke={name:"arrow",enabled:!0,phase:"main",fn:Mi,effect:ki,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function at(e){return e.split("-")[1]}var Pi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ii(e){var t=e.x,n=e.y,o=window,r=o.devicePixelRatio||1;return{x:Tt(t*r)/r||0,y:Tt(n*r)/r||0}}function yo(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,s=e.offsets,a=e.position,c=e.gpuAcceleration,h=e.adaptive,u=e.roundOffsets,A=e.isFixed,x=s.x,y=x===void 0?0:x,D=s.y,p=D===void 0?0:D,_=typeof u=="function"?u({x:y,y:p}):{x:y,y:p};y=_.x,p=_.y;var O=s.hasOwnProperty("x"),L=s.hasOwnProperty("y"),M=W,d=V,m=window;if(h){var g=pt(n),v="clientHeight",T="clientWidth";if(g===K(n)&&(g=J(n),Z(g).position!=="static"&&a==="absolute"&&(v="scrollHeight",T="scrollWidth")),g=g,r===V||(r===W||r===j)&&i===Lt){d=Y;var S=A&&m.visualViewport?m.visualViewport.height:g[v];p-=S-o.height,p*=c?1:-1}if(r===W||(r===V||r===Y)&&i===Lt){M=j;var w=A&&m.visualViewport?m.visualViewport.width:g[T];y-=w-o.width,y*=c?1:-1}}var C=Object.assign({position:a},h&&Pi),P=u===!0?Ii({x:y,y:p}):{x:y,y:p};if(y=P.x,p=P.y,c){var $;return Object.assign({},C,($={},$[d]=L?"0":"",$[M]=O?"0":"",$.transform=(m.devicePixelRatio||1)<=1?"translate("+y+"px, "+p+"px)":"translate3d("+y+"px, "+p+"px, 0)",$))}return Object.assign({},C,(t={},t[d]=L?p+"px":"",t[M]=O?y+"px":"",t.transform="",t))}function Ri(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,i=n.adaptive,s=i===void 0?!0:i,a=n.roundOffsets,c=a===void 0?!0:a;if(!1)var h;var u={placement:G(t.placement),variation:at(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,yo(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,yo(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var se={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ri,data:{}};var Fe={passive:!0};function Hi(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=r===void 0?!0:r,s=o.resize,a=s===void 0?!0:s,c=K(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&h.forEach(function(u){u.addEventListener("scroll",n.update,Fe)}),a&&c.addEventListener("resize",n.update,Fe),function(){i&&h.forEach(function(u){u.removeEventListener("scroll",n.update,Fe)}),a&&c.removeEventListener("resize",n.update,Fe)}}var ae={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Hi,data:{}};var $i={left:"right",right:"left",bottom:"top",top:"bottom"};function le(e){return e.replace(/left|right|bottom|top/g,function(t){return $i[t]})}var Bi={start:"end",end:"start"};function qe(e){return e.replace(/start|end/g,function(t){return Bi[t]})}function Yt(e){var t=K(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function zt(e){return st(J(e)).left+Yt(e).scrollLeft}function En(e){var t=K(e),n=J(e),o=t.visualViewport,r=n.clientWidth,i=n.clientHeight,s=0,a=0;return o&&(r=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,a=o.offsetTop)),{width:r,height:i,x:s+zt(e),y:a}}function _n(e){var t,n=J(e),o=Yt(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=ft(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=ft(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-o.scrollLeft+zt(e),c=-o.scrollTop;return Z(r||n).direction==="rtl"&&(a+=ft(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:s,x:a,y:c}}function Ut(e){var t=Z(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function Ye(e){return["html","body","#document"].indexOf(Q(e))>=0?e.ownerDocument.body:z(e)&&Ut(e)?e:Ye(Nt(e))}function Dt(e,t){var n;t===void 0&&(t=[]);var o=Ye(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=K(o),s=r?[i].concat(i.visualViewport||[],Ut(o)?o:[]):o,a=t.concat(s);return r?a:a.concat(Dt(Nt(s)))}function ce(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Vi(e){var t=st(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function wo(e,t){return t===ye?ce(En(e)):_t(t)?Vi(t):ce(_n(J(e)))}function Wi(e){var t=Dt(Nt(e)),n=["absolute","fixed"].indexOf(Z(e).position)>=0,o=n&&z(e)?pt(e):e;return _t(o)?t.filter(function(r){return _t(r)&&Ae(r,o)&&Q(r)!=="body"}):[]}function vn(e,t,n){var o=t==="clippingParents"?Wi(e):[].concat(t),r=[].concat(o,[n]),i=r[0],s=r.reduce(function(a,c){var h=wo(e,c);return a.top=ft(h.top,a.top),a.right=jt(h.right,a.right),a.bottom=jt(h.bottom,a.bottom),a.left=ft(h.left,a.left),a},wo(e,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Ce(e){var t=e.reference,n=e.element,o=e.placement,r=o?G(o):null,i=o?at(o):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,c;switch(r){case V:c={x:s,y:t.y-n.height};break;case Y:c={x:s,y:t.y+t.height};break;case j:c={x:t.x+t.width,y:a};break;case W:c={x:t.x-n.width,y:a};break;default:c={x:t.x,y:t.y}}var h=r?Ft(r):null;if(h!=null){var u=h==="y"?"height":"width";switch(i){case Et:c[h]=c[h]-(t[u]/2-n[u]/2);break;case Lt:c[h]=c[h]+(t[u]/2-n[u]/2);break;default:}}return c}function tt(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,i=n.boundary,s=i===void 0?pn:i,a=n.rootBoundary,c=a===void 0?ye:a,h=n.elementContext,u=h===void 0?Wt:h,A=n.altBoundary,x=A===void 0?!1:A,y=n.padding,D=y===void 0?0:y,p=Ne(typeof D!="number"?D:Se(D,At)),_=u===Wt?mn:Wt,O=e.rects.popper,L=e.elements[x?_:u],M=vn(_t(L)?L:L.contextElement||J(e.elements.popper),s,c),d=st(e.elements.reference),m=Ce({reference:d,element:O,strategy:"absolute",placement:r}),g=ce(Object.assign({},O,m)),v=u===Wt?g:d,T={top:M.top-v.top+p.top,bottom:v.bottom-M.bottom+p.bottom,left:M.left-v.left+p.left,right:v.right-M.right+p.right},S=e.modifiersData.offset;if(u===Wt&&S){var w=S[r];Object.keys(T).forEach(function(C){var P=[j,Y].indexOf(C)>=0?1:-1,$=[V,Y].indexOf(C)>=0?"y":"x";T[C]+=w[$]*P})}return T}function bn(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,h=c===void 0?we:c,u=at(o),A=u?a?We:We.filter(function(D){return at(D)===u}):At,x=A.filter(function(D){return h.indexOf(D)>=0});x.length===0&&(x=A);var y=x.reduce(function(D,p){return D[p]=tt(e,{placement:p,boundary:r,rootBoundary:i,padding:s})[G(p)],D},{});return Object.keys(y).sort(function(D,p){return y[D]-y[p]})}function ji(e){if(G(e)===be)return[];var t=le(e);return[qe(e),t,qe(t)]}function Ki(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,s=n.altAxis,a=s===void 0?!0:s,c=n.fallbackPlacements,h=n.padding,u=n.boundary,A=n.rootBoundary,x=n.altBoundary,y=n.flipVariations,D=y===void 0?!0:y,p=n.allowedAutoPlacements,_=t.options.placement,O=G(_),L=O===_,M=c||(L||!D?[le(_)]:ji(_)),d=[_].concat(M).reduce(function(Ot,yt){return Ot.concat(G(yt)===be?bn(t,{placement:yt,boundary:u,rootBoundary:A,padding:h,flipVariations:D,allowedAutoPlacements:p}):yt)},[]),m=t.rects.reference,g=t.rects.popper,v=new Map,T=!0,S=d[0],w=0;w=0,B=U?"width":"height",H=tt(t,{placement:C,boundary:u,rootBoundary:A,altBoundary:x,padding:h}),F=U?$?j:W:$?Y:V;m[B]>g[B]&&(F=le(F));var Ct=le(F),X=[];if(i&&X.push(H[P]<=0),a&&X.push(H[F]<=0,H[Ct]<=0),X.every(function(Ot){return Ot})){S=C,T=!1;break}v.set(C,X)}if(T)for(var Bt=D?3:1,me=function(yt){var mt=d.find(function(te){var wt=v.get(te);if(wt)return wt.slice(0,yt).every(function(he){return he})});if(mt)return S=mt,"break"},Vt=Bt;Vt>0;Vt--){var Zt=me(Vt);if(Zt==="break")break}t.placement!==S&&(t.modifiersData[o]._skip=!0,t.placement=S,t.reset=!0)}}var ze={name:"flip",enabled:!0,phase:"main",fn:Ki,requiresIfExists:["offset"],data:{_skip:!1}};function Ao(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function To(e){return[V,j,Y,W].some(function(t){return e[t]>=0})}function Fi(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,s=tt(t,{elementContext:"reference"}),a=tt(t,{altBoundary:!0}),c=Ao(s,o),h=Ao(a,r,i),u=To(c),A=To(h);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:h,isReferenceHidden:u,hasPopperEscaped:A},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":A})}var Ue={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Fi};function qi(e,t,n){var o=G(e),r=[W,V].indexOf(o)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*r,[W,j].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}function Yi(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=r===void 0?[0,0]:r,s=we.reduce(function(u,A){return u[A]=qi(A,t.rects,i),u},{}),a=s[t.placement],c=a.x,h=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=h),t.modifiersData[o]=s}var Qe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Yi};function zi(e){var t=e.state,n=e.name;t.modifiersData[n]=Ce({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ue={name:"popperOffsets",enabled:!0,phase:"read",fn:zi,data:{}};function yn(e){return e==="x"?"y":"x"}function Ui(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=r===void 0?!0:r,s=n.altAxis,a=s===void 0?!1:s,c=n.boundary,h=n.rootBoundary,u=n.altBoundary,A=n.padding,x=n.tether,y=x===void 0?!0:x,D=n.tetherOffset,p=D===void 0?0:D,_=tt(t,{boundary:c,rootBoundary:h,padding:A,altBoundary:u}),O=G(t.placement),L=at(t.placement),M=!L,d=Ft(O),m=yn(d),g=t.modifiersData.popperOffsets,v=t.rects.reference,T=t.rects.popper,S=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,w=typeof S=="number"?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(!!g){if(i){var $,U=d==="y"?V:W,B=d==="y"?Y:j,H=d==="y"?"height":"width",F=g[d],Ct=F+_[U],X=F-_[B],Bt=y?-T[H]/2:0,me=L===Et?v[H]:T[H],Vt=L===Et?-T[H]:-v[H],Zt=t.elements.arrow,Ot=y&&Zt?Kt(Zt):{width:0,height:0},yt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Te(),mt=yt[U],te=yt[B],wt=qt(0,v[H],Ot[H]),he=M?v[H]/2-Bt-wt-mt-w.mainAxis:me-wt-mt-w.mainAxis,ln=M?-v[H]/2+Bt+wt+te+w.mainAxis:Vt+wt+te+w.mainAxis,ee=t.elements.arrow&&pt(t.elements.arrow),cn=ee?d==="y"?ee.clientTop||0:ee.clientLeft||0:0,Ie=($=C==null?void 0:C[d])!=null?$:0,Re=F+he-Ie-cn,io=F+ln-Ie,ht=qt(y?jt(Ct,Re):Ct,F,y?ft(X,io):X);g[d]=ht,P[d]=ht-F}if(a){var ge,un=d==="x"?V:W,dn=d==="x"?Y:j,gt=g[m],ne=m==="y"?"height":"width",Ee=gt+_[un],He=gt-_[dn],oe=[V,W].indexOf(O)!==-1,$e=(ge=C==null?void 0:C[m])!=null?ge:0,Be=oe?Ee:gt-v[ne]-T[ne]-$e+w.altAxis,Ve=oe?gt+v[ne]+T[ne]-$e-w.altAxis:He,_e=y&&oe?bo(Be,gt,Ve):qt(y?Be:Ee,gt,y?Ve:He);g[m]=_e,P[m]=_e-gt}t.modifiersData[o]=P}}var Ge={name:"preventOverflow",enabled:!0,phase:"main",fn:Ui,requiresIfExists:["offset"]};function wn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function An(e){return e===K(e)||!z(e)?Yt(e):wn(e)}function Qi(e){var t=e.getBoundingClientRect(),n=Tt(t.width)/e.offsetWidth||1,o=Tt(t.height)/e.offsetHeight||1;return n!==1||o!==1}function Tn(e,t,n){n===void 0&&(n=!1);var o=z(t),r=z(t)&&Qi(t),i=J(t),s=st(e,r),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!n)&&((Q(t)!=="body"||Ut(i))&&(a=An(t)),z(t)?(c=st(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=zt(i))),{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function Gi(e){var t=new Map,n=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var c=t.get(a);c&&r(c)}}),o.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),o}function Nn(e){var t=Gi(e);return hn.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function Sn(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Cn(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var No={placement:"bottom",modifiers:[],strategy:"absolute"};function So(){for(var e=arguments.length,t=new Array(e),n=0;ne==null?`${e}`:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase();var xo=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t},Dn=e=>{let t=xo(e);return t&&document.querySelector(t)?t:null},ot=e=>{let t=xo(e);return t?document.querySelector(t):null},ts=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e),o=Number.parseFloat(t),r=Number.parseFloat(n);return!o&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*1e3)},es=e=>{e.dispatchEvent(new Event(Ln))},kt=e=>!e||typeof e!="object"?!1:(typeof e.jquery!="undefined"&&(e=e[0]),typeof e.nodeType!="undefined"),St=e=>kt(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(e):null,lt=(e,t,n)=>{Object.keys(n).forEach(o=>{let r=n[o],i=t[o],s=i&&kt(i)?"element":Zi(i);if(!new RegExp(r).test(s))throw new TypeError(`${e.toUpperCase()}: Option "${o}" provided type "${s}" but expected type "${r}".`)})},Pt=e=>!kt(e)||e.getClientRects().length===0?!1:getComputedStyle(e).getPropertyValue("visibility")==="visible",ct=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled!="undefined"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false";var Mn=()=>{},It=e=>{e.offsetHeight},kn=()=>{let{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},xn=[],ns=e=>{document.readyState==="loading"?(xn.length||document.addEventListener("DOMContentLoaded",()=>{xn.forEach(t=>t())}),xn.push(e)):e()},ut=()=>document.documentElement.dir==="rtl",vt=e=>{ns(()=>{let t=kn();if(t){let n=e.NAME,o=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=o,e.jQueryInterface)}})},Mt=e=>{typeof e=="function"&&e()},Je=(e,t,n=!0)=>{if(!n){Mt(e);return}let o=5,r=ts(t)+o,i=!1,s=({target:a})=>{a===t&&(i=!0,t.removeEventListener(Ln,s),Mt(e))};t.addEventListener(Ln,s),setTimeout(()=>{i||es(t)},r)},Lo=(e,t,n,o)=>{let r=e.indexOf(t);if(r===-1)return e[!n&&o?e.length-1:0];let i=e.length;return r+=n?1:-1,o&&(r=(r+i)%i),e[Math.max(0,Math.min(r,i-1))]};var os=/[^.]*(?=\..*)\.|.*/,rs=/\..*/,is=/::\d+$/,Pn={},Do=1,ss={mouseenter:"mouseover",mouseleave:"mouseout"},as=/^(mouseenter|mouseleave)/i,ko=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 Po(e,t){return t&&`${t}::${Do++}`||e.uidEvent||Do++}function Io(e){let t=Po(e);return e.uidEvent=t,Pn[t]=Pn[t]||{},Pn[t]}function ls(e,t){return function n(o){return o.delegateTarget=e,n.oneOff&&Rn.off(e,o.type,t),t.apply(e,[o])}}function cs(e,t,n){return function o(r){let i=e.querySelectorAll(t);for(let{target:s}=r;s&&s!==this;s=s.parentNode)for(let a=i.length;a--;)if(i[a]===s)return r.delegateTarget=s,o.oneOff&&Rn.off(e,r.type,t,n),n.apply(s,[r]);return null}}function Ro(e,t,n=null){let o=Object.keys(e);for(let r=0,i=o.length;rfunction(p){if(!p.relatedTarget||p.relatedTarget!==p.delegateTarget&&!p.delegateTarget.contains(p.relatedTarget))return D.call(this,p)};o?o=y(o):n=y(n)}let[i,s,a]=Ho(t,n,o),c=Io(e),h=c[a]||(c[a]={}),u=Ro(h,s,i?n:null);if(u){u.oneOff=u.oneOff&&r;return}let A=Po(s,t.replace(os,"")),x=i?cs(e,n,o):ls(e,n);x.delegationSelector=i?n:null,x.originalHandler=s,x.oneOff=r,x.uidEvent=A,h[A]=x,e.addEventListener(a,x,i)}function In(e,t,n,o,r){let i=Ro(t[n],o,r);!i||(e.removeEventListener(n,i,Boolean(r)),delete t[n][i.uidEvent])}function us(e,t,n,o){let r=t[n]||{};Object.keys(r).forEach(i=>{if(i.includes(o)){let s=r[i];In(e,t,n,s.originalHandler,s.delegationSelector)}})}function $o(e){return e=e.replace(rs,""),ss[e]||e}var Rn={on(e,t,n,o){Mo(e,t,n,o,!1)},one(e,t,n,o){Mo(e,t,n,o,!0)},off(e,t,n,o){if(typeof t!="string"||!e)return;let[r,i,s]=Ho(t,n,o),a=s!==t,c=Io(e),h=t.startsWith(".");if(typeof i!="undefined"){if(!c||!c[s])return;In(e,c,s,i,r?n:null);return}h&&Object.keys(c).forEach(A=>{us(e,c,A,t.slice(1))});let u=c[s]||{};Object.keys(u).forEach(A=>{let x=A.replace(is,"");if(!a||t.includes(x)){let y=u[A];In(e,c,s,y.originalHandler,y.delegationSelector)}})},trigger(e,t,n){if(typeof t!="string"||!e)return null;let o=kn(),r=$o(t),i=t!==r,s=ko.has(r),a,c=!0,h=!0,u=!1,A=null;return i&&o&&(a=o.Event(t,n),o(e).trigger(a),c=!a.isPropagationStopped(),h=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),s?(A=document.createEvent("HTMLEvents"),A.initEvent(r,c,!0)):A=new CustomEvent(t,{bubbles:c,cancelable:!0}),typeof n!="undefined"&&Object.keys(n).forEach(x=>{Object.defineProperty(A,x,{get(){return n[x]}})}),u&&A.preventDefault(),h&&e.dispatchEvent(A),A.defaultPrevented&&typeof a!="undefined"&&a.preventDefault(),A}},b=Rn;function Bo(e){return e==="true"?!0:e==="false"?!1:e===Number(e).toString()?Number(e):e===""||e==="null"?null:e}function Hn(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var ds={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Hn(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Hn(t)}`)},getDataAttributes(e){if(!e)return{};let t={};return Object.keys(e.dataset).filter(n=>n.startsWith("bs")).forEach(n=>{let o=n.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),t[o]=Bo(e.dataset[n])}),t},getDataAttribute(e,t){return Bo(e.getAttribute(`data-bs-${Hn(t)}`))},offset(e){let t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position(e){return{top:e.offsetTop,left:e.offsetLeft}}},et=ds;var fs=3,ps={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){let n=[],o=e.parentNode;for(;o&&o.nodeType===Node.ELEMENT_NODE&&o.nodeType!==fs;)o.matches(t)&&n.push(o),o=o.parentNode;return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){let t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(", ");return this.find(t,e).filter(n=>!ct(n)&&Pt(n))}},R=ps;var Rt=new Map,de={set(e,t,n){Rt.has(e)||Rt.set(e,new Map);let o=Rt.get(e);if(!o.has(t)&&o.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`);return}o.set(t,n)},get(e,t){return Rt.has(e)&&Rt.get(e).get(t)||null},remove(e,t){if(!Rt.has(e))return;let n=Rt.get(e);n.delete(t),n.size===0&&Rt.delete(e)}};var ms="5.1.3",Vo=class{constructor(t){t=St(t),!!t&&(this._element=t,de.set(this._element,this.constructor.DATA_KEY,this))}dispose(){de.remove(this._element,this.constructor.DATA_KEY),b.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(t=>{this[t]=null})}_queueCallback(t,n,o=!0){Je(t,n,o)}static getInstance(t){return de.get(St(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return ms}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}},bt=Vo;var $n="dropdown",hs="bs.dropdown",Gt=`.${hs}`,Wn=".data-api",Ze="Escape",Wo="Space",jo="Tab",Bn="ArrowUp",tn="ArrowDown",gs=2,Es=new RegExp(`${Bn}|${tn}|${Ze}`),_s=`hide${Gt}`,vs=`hidden${Gt}`,bs=`show${Gt}`,ys=`shown${Gt}`,Ko=`click${Gt}${Wn}`,Fo=`keydown${Gt}${Wn}`,ws=`keyup${Gt}${Wn}`,fe="show",As="dropup",Ts="dropend",Ns="dropstart",Ss="navbar",Oe='[data-bs-toggle="dropdown"]',Vn=".dropdown-menu",Cs=".navbar-nav",Os=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",xs=ut()?"top-end":"top-start",Ls=ut()?"top-start":"top-end",Ds=ut()?"bottom-end":"bottom-start",Ms=ut()?"bottom-start":"bottom-end",ks=ut()?"left-start":"right-start",Ps=ut()?"right-start":"left-start",Is={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},Rs={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"},rt=class extends bt{constructor(t,n){super(t);this._popper=null,this._config=this._getConfig(n),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return Is}static get DefaultType(){return Rs}static get NAME(){return $n}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ct(this._element)||this._isShown(this._menu))return;let t={relatedTarget:this._element};if(b.trigger(this._element,bs,t).defaultPrevented)return;let o=rt.getParentFromElement(this._element);this._inNavbar?et.setDataAttribute(this._menu,"popper","none"):this._createPopper(o),"ontouchstart"in document.documentElement&&!o.closest(Cs)&&[].concat(...document.body.children).forEach(r=>b.on(r,"mouseover",Mn)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(fe),this._element.classList.add(fe),b.trigger(this._element,ys,t)}hide(){if(ct(this._element)||!this._isShown(this._menu))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){b.trigger(this._element,_s,t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(o=>b.off(o,"mouseover",Mn)),this._popper&&this._popper.destroy(),this._menu.classList.remove(fe),this._element.classList.remove(fe),this._element.setAttribute("aria-expanded","false"),et.removeDataAttribute(this._menu,"popper"),b.trigger(this._element,vs,t))}_getConfig(t){if(t=k(k(k({},this.constructor.Default),et.getDataAttributes(this._element)),t),lt($n,t,this.constructor.DefaultType),typeof t.reference=="object"&&!kt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${$n.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(t){if(typeof On=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let n=this._element;this._config.reference==="parent"?n=t:kt(this._config.reference)?n=St(this._config.reference):typeof this._config.reference=="object"&&(n=this._config.reference);let o=this._getPopperConfig(),r=o.modifiers.find(i=>i.name==="applyStyles"&&i.enabled===!1);this._popper=Xe(n,this._menu,o),r&&et.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(fe)}_getMenuElement(){return R.next(this._element,Vn)[0]}_getPlacement(){let t=this._element.parentNode;if(t.classList.contains(Ts))return ks;if(t.classList.contains(Ns))return Ps;let n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(As)?n?Ls:xs:n?Ms:Ds}_detectNavbar(){return this._element.closest(`.${Ss}`)!==null}_getOffset(){let{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,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._config.display==="static"&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),k(k({},t),typeof this._config.popperConfig=="function"?this._config.popperConfig(t):this._config.popperConfig)}_selectMenuItem({key:t,target:n}){let o=R.find(Os,this._menu).filter(Pt);!o.length||Lo(o,n,t===tn,!o.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){let n=rt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]=="undefined")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t&&(t.button===gs||t.type==="keyup"&&t.key!==jo))return;let n=R.find(Oe);for(let o=0,r=n.length;on+t),this._setElementAttributes(qo,"paddingRight",n=>n+t),this._setElementAttributes(Yo,"marginRight",n=>n-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,o){let r=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+r)return;this._saveInitialAttribute(s,n);let a=window.getComputedStyle(s)[n];s.style[n]=`${o(Number.parseFloat(a))}px`};this._applyManipulationCallback(t,i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(qo,"paddingRight"),this._resetElementAttributes(Yo,"marginRight")}_saveInitialAttribute(t,n){let o=t.style[n];o&&et.setDataAttribute(t,n,o)}_resetElementAttributes(t,n){let o=r=>{let i=et.getDataAttribute(r,n);typeof i=="undefined"?r.style.removeProperty(n):(et.removeDataAttribute(r,n),r.style[n]=i)};this._applyManipulationCallback(t,o)}_applyManipulationCallback(t,n){kt(t)?n(t):R.find(t,this._element).forEach(n)}isOverflowing(){return this.getWidth()>0}},xe=zo;var Hs={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},$s={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Go="backdrop",Bs="fade",Uo="show",Qo=`mousedown.bs.${Go}`,Xo=class{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){if(!this._config.isVisible){Mt(t);return}this._append(),this._config.isAnimated&&It(this._getElement()),this._getElement().classList.add(Uo),this._emulateAnimation(()=>{Mt(t)})}hide(t){if(!this._config.isVisible){Mt(t);return}this._getElement().classList.remove(Uo),this._emulateAnimation(()=>{this.dispose(),Mt(t)})}_getElement(){if(!this._element){let t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Bs),this._element=t}return this._element}_getConfig(t){return t=k(k({},Hs),typeof t=="object"?t:{}),t.rootElement=St(t.rootElement),lt(Go,t,$s),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),b.on(this._getElement(),Qo,()=>{Mt(this._config.clickCallback)}),this._isAppended=!0)}dispose(){!this._isAppended||(b.off(this._element,Qo),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){Je(t,this._getElement(),this._config.isAnimated)}},en=Xo;var Vs={trapElement:null,autofocus:!0},Ws={trapElement:"element",autofocus:"boolean"},js="focustrap",Ks="bs.focustrap",nn=`.${Ks}`,Fs=`focusin${nn}`,qs=`keydown.tab${nn}`,Ys="Tab",zs="forward",Jo="backward",Zo=class{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){let{trapElement:t,autofocus:n}=this._config;this._isActive||(n&&t.focus(),b.off(document,nn),b.on(document,Fs,o=>this._handleFocusin(o)),b.on(document,qs,o=>this._handleKeydown(o)),this._isActive=!0)}deactivate(){!this._isActive||(this._isActive=!1,b.off(document,nn))}_handleFocusin(t){let{target:n}=t,{trapElement:o}=this._config;if(n===document||n===o||o.contains(n))return;let r=R.focusableChildren(o);r.length===0?o.focus():this._lastTabNavDirection===Jo?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){t.key===Ys&&(this._lastTabNavDirection=t.shiftKey?Jo:zs)}_getConfig(t){return t=k(k({},Vs),typeof t=="object"?t:{}),lt(js,t,Ws),t}},on=Zo;var rn=(e,t="hide")=>{let n=`click.dismiss${e.EVENT_KEY}`,o=e.NAME;b.on(document,n,`[data-bs-dismiss="${o}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),ct(this))return;let i=ot(this)||this.closest(`.${o}`);e.getOrCreateInstance(i)[t]()})};var tr="offcanvas",Us="bs.offcanvas",Xt=`.${Us}`,or=".data-api",Qs=`load${Xt}${or}`,Gs="Escape",er={backdrop:!0,keyboard:!0,scroll:!1},Xs={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},nr="show",Js="offcanvas-backdrop",rr=".offcanvas.show",Zs=`show${Xt}`,ta=`shown${Xt}`,ea=`hide${Xt}`,ir=`hidden${Xt}`,na=`click${Xt}${or}`,oa=`keydown.dismiss${Xt}`,ra='[data-bs-toggle="offcanvas"]',Ht=class extends bt{constructor(t,n){super(t);this._config=this._getConfig(n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return tr}static get Default(){return er}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||b.trigger(this._element,Zs,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||new xe().hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(nr);let o=()=>{this._config.scroll||this._focustrap.activate(),b.trigger(this._element,ta,{relatedTarget:t})};this._queueCallback(o,this._element,!0)}hide(){if(!this._isShown||b.trigger(this._element,ea).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(nr),this._backdrop.hide();let n=()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||new xe().reset(),b.trigger(this._element,ir)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t=k(k(k({},er),et.getDataAttributes(this._element)),typeof t=="object"?t:{}),lt(tr,t,Xs),t}_initializeBackDrop(){return new en({className:Js,isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new on({trapElement:this._element})}_addEventListeners(){b.on(this._element,oa,t=>{this._config.keyboard&&t.key===Gs&&this.hide()})}static jQueryInterface(t){return this.each(function(){let n=Ht.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}};b.on(document,na,ra,function(e){let t=ot(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),ct(this))return;b.one(t,ir,()=>{Pt(this)&&this.focus()});let n=R.findOne(rr);n&&n!==t&&Ht.getInstance(n).hide(),Ht.getOrCreateInstance(t).toggle(this)});b.on(window,Qs,()=>R.find(rr).forEach(e=>Ht.getOrCreateInstance(e).show()));rn(Ht);vt(Ht);var sr="modal",ia="bs.modal",dt=`.${ia}`,sa=".data-api",ar="Escape",lr={backdrop:!0,keyboard:!0,focus:!0},aa={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},la=`hide${dt}`,ca=`hidePrevented${dt}`,hr=`hidden${dt}`,gr=`show${dt}`,ua=`shown${dt}`,cr=`resize${dt}`,ur=`click.dismiss${dt}`,dr=`keydown.dismiss${dt}`,da=`mouseup.dismiss${dt}`,fr=`mousedown.dismiss${dt}`,fa=`click${dt}${sa}`,pr="modal-open",pa="fade",mr="show",jn="modal-static",ma=".modal.show",ha=".modal-dialog",ga=".modal-body",Ea='[data-bs-toggle="modal"]',Jt=class extends bt{constructor(t,n){super(t);this._config=this._getConfig(n),this._dialog=R.findOne(ha,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new xe}static get Default(){return lr}static get NAME(){return sr}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||b.trigger(this._element,gr,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(pr),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),b.on(this._dialog,fr,()=>{b.one(this._element,da,o=>{o.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning||b.trigger(this._element,la).defaultPrevented)return;this._isShown=!1;let n=this._isAnimated();n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(mr),b.off(this._element,ur),b.off(this._dialog,fr),this._queueCallback(()=>this._hideModal(),this._element,n)}dispose(){[window,this._dialog].forEach(t=>b.off(t,dt)),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new en({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new on({trapElement:this._element})}_getConfig(t){return t=k(k(k({},lr),et.getDataAttributes(this._element)),typeof t=="object"?t:{}),lt(sr,t,aa),t}_showElement(t){let n=this._isAnimated(),o=R.findOne(ga,this._dialog);(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE)&&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,o&&(o.scrollTop=0),n&&It(this._element),this._element.classList.add(mr);let r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,b.trigger(this._element,ua,{relatedTarget:t})};this._queueCallback(r,this._dialog,n)}_setEscapeEvent(){this._isShown?b.on(this._element,dr,t=>{this._config.keyboard&&t.key===ar?(t.preventDefault(),this.hide()):!this._config.keyboard&&t.key===ar&&this._triggerBackdropTransition()}):b.off(this._element,dr)}_setResizeEvent(){this._isShown?b.on(window,cr,()=>this._adjustDialog()):b.off(window,cr)}_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(pr),this._resetAdjustments(),this._scrollBar.reset(),b.trigger(this._element,hr)})}_showBackdrop(t){b.on(this._element,ur,n=>{if(this._ignoreBackdropClick){this._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&(this._config.backdrop===!0?this.hide():this._config.backdrop==="static"&&this._triggerBackdropTransition())}),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains(pa)}_triggerBackdropTransition(){if(b.trigger(this._element,ca).defaultPrevented)return;let{classList:n,scrollHeight:o,style:r}=this._element,i=o>document.documentElement.clientHeight;!i&&r.overflowY==="hidden"||n.contains(jn)||(i||(r.overflowY="hidden"),n.add(jn),this._queueCallback(()=>{n.remove(jn),i||this._queueCallback(()=>{r.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),o=n>0;(!o&&t&&!ut()||o&&!t&&ut())&&(this._element.style.paddingLeft=`${n}px`),(o&&!t&&!ut()||!o&&t&&ut())&&(this._element.style.paddingRight=`${n}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){let o=Jt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof o[t]=="undefined")throw new TypeError(`No method named "${t}"`);o[t](n)}})}};b.on(document,fa,Ea,function(e){let t=ot(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),b.one(t,gr,r=>{r.defaultPrevented||b.one(t,hr,()=>{Pt(this)&&this.focus()})});let n=R.findOne(ma);n&&Jt.getInstance(n).hide(),Jt.getOrCreateInstance(t).toggle(this)});rn(Jt);vt(Jt);var _a="tab",va="bs.tab",De=`.${va}`,ba=".data-api",ya=`hide${De}`,wa=`hidden${De}`,Aa=`show${De}`,Ta=`shown${De}`,Na=`click${De}${ba}`,Sa="dropdown-menu",Le="active",Er="fade",_r="show",Ca=".dropdown",Oa=".nav, .list-group",vr=".active",br=":scope > li > .active",xa='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',La=".dropdown-toggle",Da=":scope > .dropdown-menu .active",Me=class extends bt{static get NAME(){return _a}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Le))return;let t,n=ot(this._element),o=this._element.closest(Oa);if(o){let a=o.nodeName==="UL"||o.nodeName==="OL"?br:vr;t=R.find(a,o),t=t[t.length-1]}let r=t?b.trigger(t,ya,{relatedTarget:this._element}):null;if(b.trigger(this._element,Aa,{relatedTarget:t}).defaultPrevented||r!==null&&r.defaultPrevented)return;this._activate(this._element,o);let s=()=>{b.trigger(t,wa,{relatedTarget:this._element}),b.trigger(this._element,Ta,{relatedTarget:t})};n?this._activate(n,n.parentNode,s):s()}_activate(t,n,o){let i=(n&&(n.nodeName==="UL"||n.nodeName==="OL")?R.find(br,n):R.children(n,vr))[0],s=o&&i&&i.classList.contains(Er),a=()=>this._transitionComplete(t,i,o);i&&s?(i.classList.remove(_r),this._queueCallback(a,t,!0)):a()}_transitionComplete(t,n,o){if(n){n.classList.remove(Le);let i=R.findOne(Da,n.parentNode);i&&i.classList.remove(Le),n.getAttribute("role")==="tab"&&n.setAttribute("aria-selected",!1)}t.classList.add(Le),t.getAttribute("role")==="tab"&&t.setAttribute("aria-selected",!0),It(t),t.classList.contains(Er)&&t.classList.add(_r);let r=t.parentNode;if(r&&r.nodeName==="LI"&&(r=r.parentNode),r&&r.classList.contains(Sa)){let i=t.closest(Ca);i&&R.find(La,i).forEach(s=>s.classList.add(Le)),t.setAttribute("aria-expanded",!0)}o&&o()}static jQueryInterface(t){return this.each(function(){let n=Me.getOrCreateInstance(this);if(typeof t=="string"){if(typeof n[t]=="undefined")throw new TypeError(`No method named "${t}"`);n[t]()}})}};b.on(document,Na,xa,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),ct(this))return;Me.getOrCreateInstance(this).show()});vt(Me);var yr=class{constructor(){this.components=[]}attach(...t){this.components.push(...t)}run(){this.components.forEach(function(t){try{t.run()}catch(n){console.error(typeof t,n)}})}},wr=yr;var Ar="collapse",Cr="bs.collapse",ke=`.${Cr}`,Ma=".data-api",Tr={toggle:!0,parent:null},ka={toggle:"boolean",parent:"(null|element)"},Pa=`show${ke}`,Ia=`shown${ke}`,Ra=`hide${ke}`,Ha=`hidden${ke}`,$a=`click${ke}${Ma}`,Kn="show",pe="collapse",sn="collapsing",Nr="collapsed",Sr=`:scope .${pe} .${pe}`,Ba="collapse-horizontal",Va="width",Wa="height",ja=".collapse.show, .collapse.collapsing",Fn='[data-bs-toggle="collapse"]',$t=class extends bt{constructor(t,n){super(t);this._isTransitioning=!1,this._config=this._getConfig(n),this._triggerArray=[];let o=R.find(Fn);for(let r=0,i=o.length;rh===this._element);a!==null&&c.length&&(this._selector=a,this._triggerArray.push(s))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Tr}static get NAME(){return Ar}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[],n;if(this._config.parent){let h=R.find(Sr,this._config.parent);t=R.find(ja,this._config.parent).filter(u=>!h.includes(u))}let o=R.findOne(this._selector);if(t.length){let h=t.find(u=>o!==u);if(n=h?$t.getInstance(h):null,n&&n._isTransitioning)return}if(b.trigger(this._element,Pa).defaultPrevented)return;t.forEach(h=>{o!==h&&$t.getOrCreateInstance(h,{toggle:!1}).hide(),n||de.set(h,Cr,null)});let i=this._getDimension();this._element.classList.remove(pe),this._element.classList.add(sn),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let s=()=>{this._isTransitioning=!1,this._element.classList.remove(sn),this._element.classList.add(pe,Kn),this._element.style[i]="",b.trigger(this._element,Ia)},c=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[i]=`${this._element[c]}px`}hide(){if(this._isTransitioning||!this._isShown()||b.trigger(this._element,Ra).defaultPrevented)return;let n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,It(this._element),this._element.classList.add(sn),this._element.classList.remove(pe,Kn);let o=this._triggerArray.length;for(let i=0;i{this._isTransitioning=!1,this._element.classList.remove(sn),this._element.classList.add(pe),b.trigger(this._element,Ha)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Kn)}_getConfig(t){return t=k(k(k({},Tr),et.getDataAttributes(this._element)),t),t.toggle=Boolean(t.toggle),t.parent=St(t.parent),lt(Ar,t,ka),t}_getDimension(){return this._element.classList.contains(Ba)?Va:Wa}_initializeChildren(){if(!this._config.parent)return;let t=R.find(Sr,this._config.parent);R.find(Fn,this._config.parent).filter(n=>!t.includes(n)).forEach(n=>{let o=ot(n);o&&this._addAriaAndCollapsedClass([n],this._isShown(o))})}_addAriaAndCollapsedClass(t,n){!t.length||t.forEach(o=>{n?o.classList.remove(Nr):o.classList.add(Nr),o.setAttribute("aria-expanded",n)})}static jQueryInterface(t){return this.each(function(){let n={};typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1);let o=$t.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof o[t]=="undefined")throw new TypeError(`No method named "${t}"`);o[t]()}})}};b.on(document,$a,Fn,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();let t=Dn(this);R.find(t).forEach(o=>{$t.getOrCreateInstance(o,{toggle:!1}).toggle()})});vt($t);var Or=$t;var xr=class{run(){let t=this;document.querySelectorAll(".collapse").forEach(n=>{let o=new Or(n,{toggle:!1}),r=n.getAttribute("data-bs-hide");r&&(n.addEventListener(r,function(i){n.contains(i.relatedTarget)||setTimeout(function(){o.hide()},200)}),n.addEventListener("shown.bs.collapse",function(){t.onShow(),n.focus()}),n.addEventListener("hidden.bs.collapse",function(){t.onHide()}))})}onShow(){window.innerWidth<992&&document.body.classList.add("overflow-hidden")}onHide(){document.body.classList.remove("overflow-hidden")}},Lr=xr;var Dr=class{constructor(){let t=document.createElement("div");t.className="snackbar",document.body.appendChild(t),this.element=t}show(t,n=2e3){this.element.innerHTML='
'+t+"
",this.element.classList.add("show");let o=this;setTimeout(function(){o.element.classList.remove("show")},n)}},Ka=new Dr,an=Ka;var Mr=class{run(){document.querySelector(".action-reload-page").addEventListener("click",function(){window.location.reload()}),document.querySelector(".action-copy-url").addEventListener("click",function(){navigator.clipboard.writeText(window.location.href),an.show("Copied")})}},kr=Mr;var Pr=class{constructor(t){this.element=t;this.key="hbs-mode"}run(){!this.element||(this.initListeners(),this.initMode())}initListeners(){let t=this;this.element.addEventListener("change",()=>{t.setMode(this.element.checked?"dark":"light")}),window.matchMedia("(prefers-color-scheme: dark)").addListener(n=>{t.setMode(n.matches?"dark":"light")})}initMode(){let t=this.getMode();t&&this.setMode(t)}getMode(){let t=localStorage.getItem(this.key);return t||window.getComputedStyle(document.body).getPropertyValue("--mode").toString().trim()==="dark"&&(t="dark"),t||"light"}setMode(t){console.debug(`Switch to ${t} mode`),document.body.parentElement.setAttribute("data-mode",t);let n=!1;t==="dark"&&(n=!0),this.element.checked=n,localStorage.setItem(this.key,t);let o=new CustomEvent("hbs:mode",{detail:{mode:t}});document.dispatchEvent(o)}},Ir=Pr;var Rr=class{run(){this.key="hbs-palette",this.initPalette()}initPalette(){let t=this.getPalette();t&&this.setPalette(t);let n=this.getPalette(),o=this,r=document.querySelector("#palettePicker");!r||(document.querySelector("#btnPalette").addEventListener("click",()=>{r.classList.contains("visually-hidden")?r.classList.remove("visually-hidden"):r.classList.add("visually-hidden")}),document.querySelectorAll(".palette").forEach(i=>{let s=i.getAttribute("id").replace("palette-","");s===n&&i.classList.add("active"),i.addEventListener("click",()=>{o.setPalette(s),document.querySelector(".palette.active").classList.remove("active"),i.classList.add("active"),r.classList.add("visually-hidden")})}))}getPalette(){let t=localStorage.getItem(this.key);if(t)return t;let n=document.body.parentElement.getAttribute("data-palette");return n||""}setPalette(t){console.debug(`switch to palette: ${t}`),document.body.parentElement.setAttribute("data-palette",t),localStorage.setItem(this.key,t)}},Hr=Rr;var $r=class{run(){this.bar=document.createElement("div"),this.bar.className="loading-bar",this.bar.hidden=!0,document.body.appendChild(this.bar);let t=this;window.addEventListener("beforeunload",function(){t.bar.hidden=!1})}},Br=$r;var Vr=class{constructor(){this.x=0;this.y=0;let t=document.createElement("a");t.setAttribute("role","button"),t.setAttribute("aria-label","Scroll to top"),t.className="btn-scroll-to-top",t.innerHTML='',window.document.body.append(t),this.btn=t}show(){this.btn.classList.add("active")}hide(){this.btn.classList.remove("active")}run(){let t=this;window.addEventListener("scroll",()=>{document.body.scrollTop>20||document.documentElement.scrollTop>20?t.show():t.hide()}),this.btn.addEventListener("click",()=>{t.scroll()})}scroll(){window.scrollTo({top:this.x,left:this.y,behavior:"smooth"})}},Wr=Vr;var jr=class{constructor(t){this.button=t;this.key="hbs-sidebar-toggler"}run(){if(!this.button)return;this.sidebar=document.querySelector(".content .sidebar"),this.main=this.sidebar.previousElementSibling;let t=this;this.button.addEventListener("click",()=>{t.toggle()}),localStorage.getItem(this.key)==="hide"&&this.isShown()&&this.hide()}toggle(){this.isShown()?this.hide():this.show()}isShown(){return!this.sidebar.classList.contains("d-none")}getWidth(t){var n=0;return t.classList.forEach(o=>{o.indexOf("col-lg-")===0&&(n=parseInt(o.replace("col-lg-","")))}),n}getFullWidth(){return this.fullWidth||(this.fullWidth=this.getWidth(this.sidebar)+this.getMainWidth()),this.fullWidth}getMainWidth(){return this.mainWidth||(this.mainWidth=this.getWidth(this.main)),this.mainWidth}hide(){this.main.classList.replace("col-lg-"+this.getMainWidth(),"col-lg-"+this.getFullWidth()),this.sidebar.classList.add("d-none"),this.button.classList.add("active"),localStorage.setItem(this.key,"hide")}show(){this.main.classList.replace("col-lg-"+this.getFullWidth(),"col-lg-"+this.getMainWidth()),this.sidebar.classList.remove("d-none"),this.button.classList.remove("active"),localStorage.removeItem(this.key)}},Kr=jr;var Fr=class{constructor(t){this.input=t;this.key="hbs-font-size";this.sizes=new Map([["-2","xs"],["-1","sm"],["0",""],["1","lg"],["2","xl"]])}run(){!this.input||(this.initSize(),this.initListeners())}initSize(){let t=this.getSize();t&&this.setSize(t)}initListeners(){this.input.value=this.getSize();let t=this;this.input.addEventListener("change",()=>{t.setSize(t.input.value)})}getSize(){let t=localStorage.getItem(this.key);return t||""}setSize(t){let n=this.sizes.get(t);document.body.classList.remove(`fs-${this.sizes.get(this.getSize())}`),n===""?localStorage.removeItem(this.key):(localStorage.setItem(this.key,t),document.body.classList.add(`fs-${n}`))}},qr=Fr;var qa={},Ya={paginate:20},za="SUTANTO.NET",Ua=!0,Qa={linenos:!1},Ga={},Xa=!0,Ja={},Za=[],tl=[],el="Jan 2, 2006",nl="An extreme fast, responsive and feature-rich blog theme for Hugo",ol=!1,rl=5,il=!0,sl={},al=!1,ll="",cl="Hugo, Bootstrap, Blog Theme",ul="Indonesia",dl=!1,fl=["posts","docs"],pl="index, follow",ml="blue",hl=[],gl=!0,El=3,_l={copyright:!1},vl=!0,bl=!0,yl={manifest:{short_name:"STT"}},wl=!0,Al=5,Tl=5,Nl={fuse:{threshold:.1},paginate:5},Sl=!0,Cl=["series","categories","tags"],Ol={baidu:"",bing:"",google:""},xl=10,Ll=20,Dl=!0,Ml="-",kl=1,qn={repo:"sutanto1010/sutanto.net"},Pl=!0,Il=1,Pe={analytics:qa,archive:Ya,brand:za,breadcrumb:Ua,codeblock:Qa,contact:Ga,counttaxonomyposts:Xa,creativecommons:Ja,customcss:Za,customjs:tl,dateformat:el,description:nl,diagram:ol,featuredpostcount:rl,fixedheader:il,fontsize:sl,fullwidth:al,googleadsense:ll,keywords:cl,languagename:ul,logo:dl,mainsections:fl,metarobots:pl,palette:ml,palettes:hl,pinnedpost:gl,pinnedpostcount:El,post:_l,postdate:vl,poweredby:bl,pwa:yl,readingtime:wl,recentpostcount:Al,relatedpostcount:Tl,search:Nl,searchbar:Sl,sidebartaxonomies:Cl,siteverification:Ol,taxonomypaginate:xl,taxonomypostcount:Ll,titlecase:Dl,titleseparator:Ml,tocwordcount:kl,utterances:qn,viewer:Pl,weight:Il};var Yr=class{constructor(t){this.maxLines=7;this.lineNos=!0;this.element=t,this.pre=t.querySelector("pre"),this.code=this.pre.querySelector("code"),Pe.codeblock.maxline&&(this.maxLines=Pe.codeblock.maxline),Pe.codeblock.linenos&&(this.lineNos=Pe.codeblock.linenos)}run(){this.wrap()}wrap(){let t=this.element.parentNode;this.wrapper=document.createElement("div"),this.wrapper.className="highlight-wrapper",t.replaceChild(this.wrapper,this.element),this.wrapper.appendChild(this.element),this.appendLang(),this.appendPanel()}appendLang(){let t=this.code.getAttribute("data-lang");if(t){let n=document.createElement("div");n.className="lang",n.innerHTML=t,this.wrapper.appendChild(n)}}appendPanel(){this.panel=document.createElement("div"),this.panel.className="chroma panel",this.calculateMaxHeight(),this.appendCopyButton(),this.appendLineNumberButton(),this.appendLineWrapButton(),this.appendExpandButton(),this.wrapper.appendChild(this.panel)}calculateMaxHeight(){if(this.lineNumbers()>this.maxLines){let n=this.code.querySelectorAll(".ln")[this.maxLines];this.maxHeight=n.offsetTop}}appendCopyButton(){let t=document.createElement("a");t.setAttribute("role","button"),t.setAttribute("aria-label","Copy Code"),t.className="action",t.innerHTML='';let n=this;t.addEventListener("click",()=>{let o=n.code.cloneNode(!0);o.querySelectorAll(".ln").forEach(r=>{r.remove()}),navigator.clipboard.writeText(o.innerText),an.show("Copied"),t.classList.add("active")}),this.panel.appendChild(t)}appendLineNumberButton(){if(this.hasLineNumbers()){let t=document.createElement("a");t.setAttribute("role","button"),t.setAttribute("aria-label","Line number toggler"),t.className="action active",t.innerHTML='';let n=this;t.addEventListener("click",()=>{let{classList:o}=n.code,r="no-ln";o.contains(r)?(o.remove(r),t.classList.add("active")):(o.add(r),t.classList.remove("active"))}),this.lineNos===!1&&t.click(),this.panel.appendChild(t)}}hasLineNumbers(){return this.lineNumbers()>0}lineNumbers(){return this.code.querySelectorAll(".ln").length}appendLineWrapButton(){let t=this,n=document.createElement("a");n.setAttribute("role","button"),n.setAttribute("aria-label","Line wrap toggler"),n.className="action",n.innerHTML='',n.addEventListener("click",()=>{let{classList:o}=t.code,r="text-pre-wrap";o.contains(r)?(o.remove(r),n.classList.remove("active")):(o.add(r),n.classList.add("active"))}),this.panel.appendChild(n)}appendExpandButton(){if(this.maxHeight){this.pre.style.maxHeight=`${this.maxHeight}px`;let t=document.createElement("a");t.setAttribute("role","button"),t.setAttribute("aria-label","Code block expand toggler"),t.className="action",t.innerHTML='',t.addEventListener("click",()=>{let{style:n}=this.pre;n.maxHeight?(n.maxHeight=null,t.classList.add("active")):(n.maxHeight=`${this.maxHeight}px`,t.classList.remove("active"))}),this.panel.appendChild(t)}}},zr=Yr;var Ur=class{run(){document.querySelectorAll(".highlight").forEach(t=>{new zr(t).run()})}},Qr=Ur;var Gr=class{constructor(t){this.elements=t}run(){this.elements.length!==0&&this.elements.forEach(t=>{let n=document.createElement("div");n.className="table-responsive",n.appendChild(t.cloneNode(!0)),t.parentNode.replaceChild(n,t)})}},Xr=Gr;var Rl=Ci(ni()),oi=class{constructor(t){this.element=t}run(){if(!this.element)return;this.instance=new Rl(this.element);let t=this;document.querySelectorAll("#TableOfContents a").forEach(n=>{n.addEventListener("click",()=>{t.hide()})})}hide(){this.instance.hide()}},ri=oi;var ii=class{run(){let t=document.querySelector(".docs-catalog li.active");t&&t.focus()}},si=ii;var ai=class{run(){new si().run()}},li=ai;var ci=class{run(){var t=document.querySelectorAll(".needs-validation");Array.prototype.slice.call(t).forEach(function(n){n.addEventListener("submit",function(o){n.checkValidity()||(o.preventDefault(),o.stopPropagation()),n.classList.add("was-validated")},!1)})}},ui=ci;var di=class{run(){console.log("message from echo component: assets/main/js/echo/index.ts")}},fi=di;var Hl=[new fi],pi=Hl;console.log("message from assets/main/js/custom.ts");var mi=new wr;mi.attach(new Lr,new kr,new Ir(document.querySelector("#modeSwitcher")),new Hr,new Wr,new Br,new Kr(document.querySelector("#sidebarToggler")),new qr(document.getElementById("fontSize")),new Qr,new Xr(document.querySelectorAll("table")),new ri(document.querySelector("#offcanvasTOC")),new li,new ui,...pi);mi.run();var hi=class{run(){let t=this;var n=qn.theme;n||(document.addEventListener("hbs:mode",function(o){t.rerender(t.getTheme(o.detail.mode))}),setTimeout(function(){t.rerender("github-"+localStorage.getItem("hbs-mode"))},2e3))}getTheme(t){return t==="dark"?"github-dark":"github-light"}rerender(t){var r;let n={type:"set-theme",theme:t},o=document.querySelector(".utterances-frame");(r=o==null?void 0:o.contentWindow)==null||r.postMessage(n,"https://utteranc.es")}};document.addEventListener("DOMContentLoaded",()=>{new hi().run()});})(); /*! * Bootstrap base-component.js v5.1.3 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ /*! * Bootstrap data.js v5.1.3 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ /*! * Bootstrap event-handler.js v5.1.3 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ /*! * Bootstrap manipulator.js v5.1.3 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ /*! * Bootstrap offcanvas.js v5.1.3 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ /*! * Bootstrap selector-engine.js v5.1.3 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */