diff --git a/public/build/assets/app-Gtx1u4JT.js b/public/build/assets/app-BoqYGGDa.js similarity index 99% rename from public/build/assets/app-Gtx1u4JT.js rename to public/build/assets/app-BoqYGGDa.js index 08cb12f3..a4bceb59 100644 --- a/public/build/assets/app-Gtx1u4JT.js +++ b/public/build/assets/app-BoqYGGDa.js @@ -72,7 +72,7 @@ var ml=Object.defineProperty;var Dn=r=>{throw TypeError(r)};var gl=(r,e,t)=>e in * Bootstrap v5.3.3 (https://getbootstrap.com/) * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */const Ie=new Map,gs={set(r,e,t){Ie.has(r)||Ie.set(r,new Map);const s=Ie.get(r);if(!s.has(e)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(e,t)},get(r,e){return Ie.has(r)&&Ie.get(r).get(e)||null},remove(r,e){if(!Ie.has(r))return;const t=Ie.get(r);t.delete(e),t.size===0&&Ie.delete(r)}},Ju=1e6,eh=1e3,Hs="transitionend",Do=r=>(r&&window.CSS&&window.CSS.escape&&(r=r.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),r),th=r=>r==null?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase(),rh=r=>{do r+=Math.floor(Math.random()*Ju);while(document.getElementById(r));return r},sh=r=>{if(!r)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(r);const s=Number.parseFloat(e),n=Number.parseFloat(t);return!s&&!n?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*eh)},xo=r=>{r.dispatchEvent(new Event(Hs))},Ce=r=>!r||typeof r!="object"?!1:(typeof r.jquery<"u"&&(r=r[0]),typeof r.nodeType<"u"),$e=r=>Ce(r)?r.jquery?r[0]:r:typeof r=="string"&&r.length>0?document.querySelector(Do(r)):null,Ht=r=>{if(!Ce(r)||r.getClientRects().length===0)return!1;const e=getComputedStyle(r).getPropertyValue("visibility")==="visible",t=r.closest("details:not([open])");if(!t)return e;if(t!==r){const s=r.closest("summary");if(s&&s.parentNode!==t||s===null)return!1}return e},Be=r=>!r||r.nodeType!==Node.ELEMENT_NODE||r.classList.contains("disabled")?!0:typeof r.disabled<"u"?r.disabled:r.hasAttribute("disabled")&&r.getAttribute("disabled")!=="false",Fo=r=>{if(!document.documentElement.attachShadow)return null;if(typeof r.getRootNode=="function"){const e=r.getRootNode();return e instanceof ShadowRoot?e:null}return r instanceof ShadowRoot?r:r.parentNode?Fo(r.parentNode):null},Wr=()=>{},fr=r=>{r.offsetHeight},$o=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,bs=[],nh=r=>{document.readyState==="loading"?(bs.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of bs)e()}),bs.push(r)):r()},de=()=>document.documentElement.dir==="rtl",me=r=>{nh(()=>{const e=$o();if(e){const t=r.NAME,s=e.fn[t];e.fn[t]=r.jQueryInterface,e.fn[t].Constructor=r,e.fn[t].noConflict=()=>(e.fn[t]=s,r.jQueryInterface)}})},ne=(r,e=[],t=r)=>typeof r=="function"?r(...e):t,Bo=(r,e,t=!0)=>{if(!t){ne(r);return}const n=sh(e)+5;let i=!1;const o=({target:a})=>{a===e&&(i=!0,e.removeEventListener(Hs,o),ne(r))};e.addEventListener(Hs,o),setTimeout(()=>{i||xo(e)},n)},hn=(r,e,t,s)=>{const n=r.length;let i=r.indexOf(e);return i===-1?!t&&s?r[n-1]:r[0]:(i+=t?1:-1,s&&(i=(i+n)%n),r[Math.max(0,Math.min(i,n-1))])},ih=/[^.]*(?=\..*)\.|.*/,oh=/\..*/,ah=/::\d+$/,vs={};let ni=1;const Ho={mouseenter:"mouseover",mouseleave:"mouseout"},lh=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 Vo(r,e){return e&&`${e}::${ni++}`||r.uidEvent||ni++}function qo(r){const e=Vo(r);return r.uidEvent=e,vs[e]=vs[e]||{},vs[e]}function ch(r,e){return function t(s){return dn(s,{delegateTarget:r}),t.oneOff&&S.off(r,s.type,e),e.apply(r,[s])}}function uh(r,e,t){return function s(n){const i=r.querySelectorAll(e);for(let{target:o}=n;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return dn(n,{delegateTarget:o}),s.oneOff&&S.off(r,n.type,e,t),t.apply(o,[n])}}function jo(r,e,t=null){return Object.values(r).find(s=>s.callable===e&&s.delegationSelector===t)}function Wo(r,e,t){const s=typeof e=="string",n=s?t:e||t;let i=Uo(r);return lh.has(i)||(i=r),[s,n,i]}function ii(r,e,t,s,n){if(typeof e!="string"||!r)return;let[i,o,a]=Wo(e,t,s);e in Ho&&(o=(I=>function(O){if(!O.relatedTarget||O.relatedTarget!==O.delegateTarget&&!O.delegateTarget.contains(O.relatedTarget))return I.call(this,O)})(o));const l=qo(r),c=l[a]||(l[a]={}),u=jo(c,o,i?t:null);if(u){u.oneOff=u.oneOff&&n;return}const g=Vo(o,e.replace(ih,"")),E=i?uh(r,t,o):ch(r,o);E.delegationSelector=i?t:null,E.callable=o,E.oneOff=n,E.uidEvent=g,c[g]=E,r.addEventListener(a,E,i)}function Vs(r,e,t,s,n){const i=jo(e[t],s,n);i&&(r.removeEventListener(t,i,!!n),delete e[t][i.uidEvent])}function hh(r,e,t,s){const n=e[t]||{};for(const[i,o]of Object.entries(n))i.includes(s)&&Vs(r,e,t,o.callable,o.delegationSelector)}function Uo(r){return r=r.replace(oh,""),Ho[r]||r}const S={on(r,e,t,s){ii(r,e,t,s,!1)},one(r,e,t,s){ii(r,e,t,s,!0)},off(r,e,t,s){if(typeof e!="string"||!r)return;const[n,i,o]=Wo(e,t,s),a=o!==e,l=qo(r),c=l[o]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;Vs(r,l,o,i,n?t:null);return}if(u)for(const g of Object.keys(l))hh(r,l,g,e.slice(1));for(const[g,E]of Object.entries(c)){const A=g.replace(ah,"");(!a||e.includes(A))&&Vs(r,l,o,E.callable,E.delegationSelector)}},trigger(r,e,t){if(typeof e!="string"||!r)return null;const s=$o(),n=Uo(e),i=e!==n;let o=null,a=!0,l=!0,c=!1;i&&s&&(o=s.Event(e,t),s(r).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());const u=dn(new Event(e,{bubbles:a,cancelable:!0}),t);return c&&u.preventDefault(),l&&r.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function dn(r,e={}){for(const[t,s]of Object.entries(e))try{r[t]=s}catch{Object.defineProperty(r,t,{configurable:!0,get(){return s}})}return r}function oi(r){if(r==="true")return!0;if(r==="false")return!1;if(r===Number(r).toString())return Number(r);if(r===""||r==="null")return null;if(typeof r!="string")return r;try{return JSON.parse(decodeURIComponent(r))}catch{return r}}function Es(r){return r.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Le={setDataAttribute(r,e,t){r.setAttribute(`data-bs-${Es(e)}`,t)},removeDataAttribute(r,e){r.removeAttribute(`data-bs-${Es(e)}`)},getDataAttributes(r){if(!r)return{};const e={},t=Object.keys(r.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of t){let n=s.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=oi(r.dataset[s])}return e},getDataAttribute(r,e){return oi(r.getAttribute(`data-bs-${Es(e)}`))}};class pr{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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const s=Ce(t)?Le.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...Ce(t)?Le.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[s,n]of Object.entries(t)){const i=e[s],o=Ce(i)?"element":th(i);if(!new RegExp(n).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${n}".`)}}}const dh="5.3.3";class be extends pr{constructor(e,t){super(),e=$e(e),e&&(this._element=e,this._config=this._getConfig(t),gs.set(this._element,this.constructor.DATA_KEY,this))}dispose(){gs.remove(this._element,this.constructor.DATA_KEY),S.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,s=!0){Bo(e,t,s)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return gs.get($e(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return dh}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const ys=r=>{let e=r.getAttribute("data-bs-target");if(!e||e==="#"){let t=r.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return e?e.split(",").map(t=>Do(t)).join(","):null},D={find(r,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,r))},findOne(r,e=document.documentElement){return Element.prototype.querySelector.call(e,r)},children(r,e){return[].concat(...r.children).filter(t=>t.matches(e))},parents(r,e){const t=[];let s=r.parentNode.closest(e);for(;s;)t.push(s),s=s.parentNode.closest(e);return t},prev(r,e){let t=r.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(r,e){let t=r.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(r){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,r).filter(t=>!Be(t)&&Ht(t))},getSelectorFromElement(r){const e=ys(r);return e&&D.findOne(e)?e:null},getElementFromSelector(r){const e=ys(r);return e?D.findOne(e):null},getMultipleElementsFromSelector(r){const e=ys(r);return e?D.find(e):[]}},ns=(r,e="hide")=>{const t=`click.dismiss${r.EVENT_KEY}`,s=r.NAME;S.on(document,t,`[data-bs-dismiss="${s}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Be(this))return;const i=D.getElementFromSelector(this)||this.closest(`.${s}`);r.getOrCreateInstance(i)[e]()})},fh="alert",ph="bs.alert",zo=`.${ph}`,mh=`close${zo}`,gh=`closed${zo}`,bh="fade",vh="show";class is extends be{static get NAME(){return fh}close(){if(S.trigger(this._element,mh).defaultPrevented)return;this._element.classList.remove(vh);const t=this._element.classList.contains(bh);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),S.trigger(this._element,gh),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=is.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ns(is,"close");me(is);const Eh="button",yh="bs.button",_h=`.${yh}`,Sh=".data-api",wh="active",ai='[data-bs-toggle="button"]',Ah=`click${_h}${Sh}`;class os extends be{static get NAME(){return Eh}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(wh))}static jQueryInterface(e){return this.each(function(){const t=os.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}S.on(document,Ah,ai,r=>{r.preventDefault();const e=r.target.closest(ai);os.getOrCreateInstance(e).toggle()});me(os);const Th="swipe",Vt=".bs.swipe",Oh=`touchstart${Vt}`,Ch=`touchmove${Vt}`,Lh=`touchend${Vt}`,Nh=`pointerdown${Vt}`,Rh=`pointerup${Vt}`,kh="touch",Ih="pen",Ph="pointer-event",Mh=40,Dh={endCallback:null,leftCallback:null,rightCallback:null},xh={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ur extends pr{constructor(e,t){super(),this._element=e,!(!e||!Ur.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Dh}static get DefaultType(){return xh}static get NAME(){return Th}dispose(){S.off(this._element,Vt)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),ne(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=Mh)return;const t=e/this._deltaX;this._deltaX=0,t&&ne(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(S.on(this._element,Nh,e=>this._start(e)),S.on(this._element,Rh,e=>this._end(e)),this._element.classList.add(Ph)):(S.on(this._element,Oh,e=>this._start(e)),S.on(this._element,Ch,e=>this._move(e)),S.on(this._element,Lh,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Ih||e.pointerType===kh)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Fh="carousel",$h="bs.carousel",je=`.${$h}`,Ko=".data-api",Bh="ArrowLeft",Hh="ArrowRight",Vh=500,jt="next",ht="prev",mt="left",Dr="right",qh=`slide${je}`,_s=`slid${je}`,jh=`keydown${je}`,Wh=`mouseenter${je}`,Uh=`mouseleave${je}`,zh=`dragstart${je}`,Kh=`load${je}${Ko}`,Gh=`click${je}${Ko}`,Go="carousel",Tr="active",Yh="slide",Xh="carousel-item-end",Qh="carousel-item-start",Zh="carousel-item-next",Jh="carousel-item-prev",Yo=".active",Xo=".carousel-item",ed=Yo+Xo,td=".carousel-item img",rd=".carousel-indicators",sd="[data-bs-slide], [data-bs-slide-to]",nd='[data-bs-ride="carousel"]',id={[Bh]:Dr,[Hh]:mt},od={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ad={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class mr extends be{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=D.findOne(rd,this._element),this._addEventListeners(),this._config.ride===Go&&this.cycle()}static get Default(){return od}static get DefaultType(){return ad}static get NAME(){return Fh}next(){this._slide(jt)}nextWhenVisible(){!document.hidden&&Ht(this._element)&&this.next()}prev(){this._slide(ht)}pause(){this._isSliding&&xo(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){S.one(this._element,_s,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){S.one(this._element,_s,()=>this.to(e));return}const s=this._getItemIndex(this._getActive());if(s===e)return;const n=e>s?jt:ht;this._slide(n,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&S.on(this._element,jh,e=>this._keydown(e)),this._config.pause==="hover"&&(S.on(this._element,Wh,()=>this.pause()),S.on(this._element,Uh,()=>this._maybeEnableCycle())),this._config.touch&&Ur.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of D.find(td,this._element))S.on(s,zh,n=>n.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(mt)),rightCallback:()=>this._slide(this._directionToOrder(Dr)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Vh+this._config.interval))}};this._swipeHelper=new Ur(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=id[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=D.findOne(Yo,this._indicatorsElement);t.classList.remove(Tr),t.removeAttribute("aria-current");const s=D.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);s&&(s.classList.add(Tr),s.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const s=this._getActive(),n=e===jt,i=t||hn(this._getItems(),s,n,this._config.wrap);if(i===s)return;const o=this._getItemIndex(i),a=A=>S.trigger(this._element,A,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(s),to:o});if(a(qh).defaultPrevented||!s||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const u=n?Qh:Xh,g=n?Zh:Jh;i.classList.add(g),fr(i),s.classList.add(u),i.classList.add(u);const E=()=>{i.classList.remove(u,g),i.classList.add(Tr),s.classList.remove(Tr,g,u),this._isSliding=!1,a(_s)};this._queueCallback(E,s,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Yh)}_getActive(){return D.findOne(ed,this._element)}_getItems(){return D.find(Xo,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return de()?e===mt?ht:jt:e===mt?jt:ht}_orderToDirection(e){return de()?e===ht?mt:Dr:e===ht?Dr:mt}static jQueryInterface(e){return this.each(function(){const t=mr.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}S.on(document,Gh,sd,function(r){const e=D.getElementFromSelector(this);if(!e||!e.classList.contains(Go))return;r.preventDefault();const t=mr.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");if(s){t.to(s),t._maybeEnableCycle();return}if(Le.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});S.on(window,Kh,()=>{const r=D.find(nd);for(const e of r)mr.getOrCreateInstance(e)});me(mr);const ld="collapse",cd="bs.collapse",gr=`.${cd}`,ud=".data-api",hd=`show${gr}`,dd=`shown${gr}`,fd=`hide${gr}`,pd=`hidden${gr}`,md=`click${gr}${ud}`,Ss="show",yt="collapse",Or="collapsing",gd="collapsed",bd=`:scope .${yt} .${yt}`,vd="collapse-horizontal",Ed="width",yd="height",_d=".collapse.show, .collapse.collapsing",qs='[data-bs-toggle="collapse"]',Sd={parent:null,toggle:!0},wd={parent:"(null|element)",toggle:"boolean"};class Yt extends be{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const s=D.find(qs);for(const n of s){const i=D.getSelectorFromElement(n),o=D.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(n)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Sd}static get DefaultType(){return wd}static get NAME(){return ld}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(_d).filter(a=>a!==this._element).map(a=>Yt.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||S.trigger(this._element,hd).defaultPrevented)return;for(const a of e)a.hide();const s=this._getDimension();this._element.classList.remove(yt),this._element.classList.add(Or),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(Or),this._element.classList.add(yt,Ss),this._element.style[s]="",S.trigger(this._element,dd)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(n,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||S.trigger(this._element,fd).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,fr(this._element),this._element.classList.add(Or),this._element.classList.remove(yt,Ss);for(const n of this._triggerArray){const i=D.getElementFromSelector(n);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([n],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(Or),this._element.classList.add(yt),S.trigger(this._element,pd)};this._element.style[t]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ss)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=$e(e.parent),e}_getDimension(){return this._element.classList.contains(vd)?Ed:yd}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(qs);for(const t of e){const s=D.getElementFromSelector(t);s&&this._addAriaAndCollapsedClass([t],this._isShown(s))}}_getFirstLevelChildren(e){const t=D.find(bd,this._config.parent);return D.find(e,this._config.parent).filter(s=>!t.includes(s))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const s of e)s.classList.toggle(gd,!t),s.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const s=Yt.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e]()}})}}S.on(document,md,qs,function(r){(r.target.tagName==="A"||r.delegateTarget&&r.delegateTarget.tagName==="A")&&r.preventDefault();for(const e of D.getMultipleElementsFromSelector(this))Yt.getOrCreateInstance(e,{toggle:!1}).toggle()});me(Yt);const li="dropdown",Ad="bs.dropdown",ot=`.${Ad}`,fn=".data-api",Td="Escape",ci="Tab",Od="ArrowUp",ui="ArrowDown",Cd=2,Ld=`hide${ot}`,Nd=`hidden${ot}`,Rd=`show${ot}`,kd=`shown${ot}`,Qo=`click${ot}${fn}`,Zo=`keydown${ot}${fn}`,Id=`keyup${ot}${fn}`,gt="show",Pd="dropup",Md="dropend",Dd="dropstart",xd="dropup-center",Fd="dropdown-center",Ge='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',$d=`${Ge}.${gt}`,xr=".dropdown-menu",Bd=".navbar",Hd=".navbar-nav",Vd=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",qd=de()?"top-end":"top-start",jd=de()?"top-start":"top-end",Wd=de()?"bottom-end":"bottom-start",Ud=de()?"bottom-start":"bottom-end",zd=de()?"left-start":"right-start",Kd=de()?"right-start":"left-start",Gd="top",Yd="bottom",Xd={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Qd={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class _e extends be{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=D.next(this._element,xr)[0]||D.prev(this._element,xr)[0]||D.findOne(xr,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Xd}static get DefaultType(){return Qd}static get NAME(){return li}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Be(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!S.trigger(this._element,Rd,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Hd))for(const s of[].concat(...document.body.children))S.on(s,"mouseover",Wr);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(gt),this._element.classList.add(gt),S.trigger(this._element,kd,e)}}hide(){if(Be(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!S.trigger(this._element,Ld,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))S.off(s,"mouseover",Wr);this._popper&&this._popper.destroy(),this._menu.classList.remove(gt),this._element.classList.remove(gt),this._element.setAttribute("aria-expanded","false"),Le.removeDataAttribute(this._menu,"popper"),S.trigger(this._element,Nd,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Ce(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${li.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Mo>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Ce(this._config.reference)?e=$e(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=un(e,this._menu,t)}_isShown(){return this._menu.classList.contains(gt)}_getPlacement(){const e=this._parent;if(e.classList.contains(Md))return zd;if(e.classList.contains(Dd))return Kd;if(e.classList.contains(xd))return Gd;if(e.classList.contains(Fd))return Yd;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(Pd)?t?jd:qd:t?Ud:Wd}_detectNavbar(){return this._element.closest(Bd)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Le.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...ne(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const s=D.find(Vd,this._menu).filter(n=>Ht(n));s.length&&hn(s,t,e===ui,!s.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=_e.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===Cd||e.type==="keyup"&&e.key!==ci)return;const t=D.find($d);for(const s of t){const n=_e.getInstance(s);if(!n||n._config.autoClose===!1)continue;const i=e.composedPath(),o=i.includes(n._menu);if(i.includes(n._element)||n._config.autoClose==="inside"&&!o||n._config.autoClose==="outside"&&o||n._menu.contains(e.target)&&(e.type==="keyup"&&e.key===ci||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:n._element};e.type==="click"&&(a.clickEvent=e),n._completeHide(a)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),s=e.key===Td,n=[Od,ui].includes(e.key);if(!n&&!s||t&&!s)return;e.preventDefault();const i=this.matches(Ge)?this:D.prev(this,Ge)[0]||D.next(this,Ge)[0]||D.findOne(Ge,e.delegateTarget.parentNode),o=_e.getOrCreateInstance(i);if(n){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),i.focus())}}S.on(document,Zo,Ge,_e.dataApiKeydownHandler);S.on(document,Zo,xr,_e.dataApiKeydownHandler);S.on(document,Qo,_e.clearMenus);S.on(document,Id,_e.clearMenus);S.on(document,Qo,Ge,function(r){r.preventDefault(),_e.getOrCreateInstance(this).toggle()});me(_e);const Jo="backdrop",Zd="fade",hi="show",di=`mousedown.bs.${Jo}`,Jd={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ef={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ea extends pr{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Jd}static get DefaultType(){return ef}static get NAME(){return Jo}show(e){if(!this._config.isVisible){ne(e);return}this._append();const t=this._getElement();this._config.isAnimated&&fr(t),t.classList.add(hi),this._emulateAnimation(()=>{ne(e)})}hide(e){if(!this._config.isVisible){ne(e);return}this._getElement().classList.remove(hi),this._emulateAnimation(()=>{this.dispose(),ne(e)})}dispose(){this._isAppended&&(S.off(this._element,di),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(Zd),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=$e(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),S.on(e,di,()=>{ne(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Bo(e,this._getElement(),this._config.isAnimated)}}const tf="focustrap",rf="bs.focustrap",zr=`.${rf}`,sf=`focusin${zr}`,nf=`keydown.tab${zr}`,of="Tab",af="forward",fi="backward",lf={autofocus:!0,trapElement:null},cf={autofocus:"boolean",trapElement:"element"};class ta extends pr{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return lf}static get DefaultType(){return cf}static get NAME(){return tf}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),S.off(document,zr),S.on(document,sf,e=>this._handleFocusin(e)),S.on(document,nf,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,S.off(document,zr))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const s=D.focusableChildren(t);s.length===0?t.focus():this._lastTabNavDirection===fi?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){e.key===of&&(this._lastTabNavDirection=e.shiftKey?fi:af)}}const pi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",mi=".sticky-top",Cr="padding-right",gi="margin-right";class js{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Cr,t=>t+e),this._setElementAttributes(pi,Cr,t=>t+e),this._setElementAttributes(mi,gi,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Cr),this._resetElementAttributes(pi,Cr),this._resetElementAttributes(mi,gi)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,s){const n=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+n)return;this._saveInitialAttribute(o,t);const a=window.getComputedStyle(o).getPropertyValue(t);o.style.setProperty(t,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const s=e.style.getPropertyValue(t);s&&Le.setDataAttribute(e,t,s)}_resetElementAttributes(e,t){const s=n=>{const i=Le.getDataAttribute(n,t);if(i===null){n.style.removeProperty(t);return}Le.removeDataAttribute(n,t),n.style.setProperty(t,i)};this._applyManipulationCallback(e,s)}_applyManipulationCallback(e,t){if(Ce(e)){t(e);return}for(const s of D.find(e,this._element))t(s)}}const uf="modal",hf="bs.modal",fe=`.${hf}`,df=".data-api",ff="Escape",pf=`hide${fe}`,mf=`hidePrevented${fe}`,ra=`hidden${fe}`,sa=`show${fe}`,gf=`shown${fe}`,bf=`resize${fe}`,vf=`click.dismiss${fe}`,Ef=`mousedown.dismiss${fe}`,yf=`keydown.dismiss${fe}`,_f=`click${fe}${df}`,bi="modal-open",Sf="fade",vi="show",ws="modal-static",wf=".modal.show",Af=".modal-dialog",Tf=".modal-body",Of='[data-bs-toggle="modal"]',Cf={backdrop:!0,focus:!0,keyboard:!0},Lf={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class it extends be{constructor(e,t){super(e,t),this._dialog=D.findOne(Af,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new js,this._addEventListeners()}static get Default(){return Cf}static get DefaultType(){return Lf}static get NAME(){return uf}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||S.trigger(this._element,sa,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(bi),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||S.trigger(this._element,pf).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(vi),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){S.off(window,fe),S.off(this._dialog,fe),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ea({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ta({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=D.findOne(Tf,this._dialog);t&&(t.scrollTop=0),fr(this._element),this._element.classList.add(vi);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,S.trigger(this._element,gf,{relatedTarget:e})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){S.on(this._element,yf,e=>{if(e.key===ff){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),S.on(window,bf,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),S.on(this._element,Ef,e=>{S.one(this._element,vf,t=>{if(!(this._element!==e.target||this._element!==t.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(bi),this._resetAdjustments(),this._scrollBar.reset(),S.trigger(this._element,ra)})}_isAnimated(){return this._element.classList.contains(Sf)}_triggerBackdropTransition(){if(S.trigger(this._element,mf).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(ws)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(ws),this._queueCallback(()=>{this._element.classList.remove(ws),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),s=t>0;if(s&&!e){const n=de()?"paddingLeft":"paddingRight";this._element.style[n]=`${t}px`}if(!s&&e){const n=de()?"paddingRight":"paddingLeft";this._element.style[n]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const s=it.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e](t)}})}}S.on(document,_f,Of,function(r){const e=D.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&r.preventDefault(),S.one(e,sa,n=>{n.defaultPrevented||S.one(e,ra,()=>{Ht(this)&&this.focus()})});const t=D.findOne(wf);t&&it.getInstance(t).hide(),it.getOrCreateInstance(e).toggle(this)});ns(it);me(it);const Nf="offcanvas",Rf="bs.offcanvas",Re=`.${Rf}`,na=".data-api",kf=`load${Re}${na}`,If="Escape",Ei="show",yi="showing",_i="hiding",Pf="offcanvas-backdrop",ia=".offcanvas.show",Mf=`show${Re}`,Df=`shown${Re}`,xf=`hide${Re}`,Si=`hidePrevented${Re}`,oa=`hidden${Re}`,Ff=`resize${Re}`,$f=`click${Re}${na}`,Bf=`keydown.dismiss${Re}`,Hf='[data-bs-toggle="offcanvas"]',Vf={backdrop:!0,keyboard:!0,scroll:!1},qf={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class He extends be{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Vf}static get DefaultType(){return qf}static get NAME(){return Nf}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||S.trigger(this._element,Mf,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new js().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(yi);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ei),this._element.classList.remove(yi),S.trigger(this._element,Df,{relatedTarget:e})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||S.trigger(this._element,xf).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(_i),this._backdrop.hide();const t=()=>{this._element.classList.remove(Ei,_i),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new js().reset(),S.trigger(this._element,oa)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){S.trigger(this._element,Si);return}this.hide()},t=!!this._config.backdrop;return new ea({className:Pf,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new ta({trapElement:this._element})}_addEventListeners(){S.on(this._element,Bf,e=>{if(e.key===If){if(this._config.keyboard){this.hide();return}S.trigger(this._element,Si)}})}static jQueryInterface(e){return this.each(function(){const t=He.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}S.on(document,$f,Hf,function(r){const e=D.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Be(this))return;S.one(e,oa,()=>{Ht(this)&&this.focus()});const t=D.findOne(ia);t&&t!==e&&He.getInstance(t).hide(),He.getOrCreateInstance(e).toggle(this)});S.on(window,kf,()=>{for(const r of D.find(ia))He.getOrCreateInstance(r).show()});S.on(window,Ff,()=>{for(const r of D.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(r).position!=="fixed"&&He.getOrCreateInstance(r).hide()});ns(He);me(He);const jf=/^aria-[\w-]*$/i,aa={"*":["class","dir","id","lang","role",jf],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Wf=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Uf=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,zf=(r,e)=>{const t=r.nodeName.toLowerCase();return e.includes(t)?Wf.has(t)?!!Uf.test(r.nodeValue):!0:e.filter(s=>s instanceof RegExp).some(s=>s.test(t))};function Kf(r,e,t){if(!r.length)return r;if(t&&typeof t=="function")return t(r);const n=new window.DOMParser().parseFromString(r,"text/html"),i=[].concat(...n.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),c=[].concat(e["*"]||[],e[a]||[]);for(const u of l)zf(u,c)||o.removeAttribute(u.nodeName)}return n.body.innerHTML}const Gf="TemplateFactory",Yf={allowList:aa,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Xf={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Qf={entry:"(string|element|function|null)",selector:"(string|element)"};class Zf extends pr{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Yf}static get DefaultType(){return Xf}static get NAME(){return Gf}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[n,i]of Object.entries(this._config.content))this._setContent(e,i,n);const t=e.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&t.classList.add(...s.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,s]of Object.entries(e))super._typeCheckConfig({selector:t,entry:s},Qf)}_setContent(e,t,s){const n=D.findOne(s,e);if(n){if(t=this._resolvePossibleFunction(t),!t){n.remove();return}if(Ce(t)){this._putElementInTemplate($e(t),n);return}if(this._config.html){n.innerHTML=this._maybeSanitize(t);return}n.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Kf(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return ne(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const Jf="tooltip",ep=new Set(["sanitize","allowList","sanitizeFn"]),As="fade",tp="modal",Lr="show",rp=".tooltip-inner",wi=`.${tp}`,Ai="hide.bs.modal",Wt="hover",Ts="focus",sp="click",np="manual",ip="hide",op="hidden",ap="show",lp="shown",cp="inserted",up="click",hp="focusin",dp="focusout",fp="mouseenter",pp="mouseleave",mp={AUTO:"auto",TOP:"top",RIGHT:de()?"left":"right",BOTTOM:"bottom",LEFT:de()?"right":"left"},gp={allowList:aa,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},bp={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class at extends be{constructor(e,t){if(typeof Mo>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),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 gp}static get DefaultType(){return bp}static get NAME(){return Jf}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),S.off(this._element.closest(wi),Ai,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=S.trigger(this._element,this.constructor.eventName(ap)),s=(Fo(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!s)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),S.trigger(this._element,this.constructor.eventName(cp))),this._popper=this._createPopper(n),n.classList.add(Lr),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))S.on(a,"mouseover",Wr);const o=()=>{S.trigger(this._element,this.constructor.eventName(lp)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||S.trigger(this._element,this.constructor.eventName(ip)).defaultPrevented)return;if(this._getTipElement().classList.remove(Lr),"ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))S.off(n,"mouseover",Wr);this._activeTrigger[sp]=!1,this._activeTrigger[Ts]=!1,this._activeTrigger[Wt]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),S.trigger(this._element,this.constructor.eventName(op)))};this._queueCallback(s,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(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(As,Lr),t.classList.add(`bs-${this.constructor.NAME}-auto`);const s=rh(this.constructor.NAME).toString();return t.setAttribute("id",s),this._isAnimated()&&t.classList.add(As),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Zf({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[rp]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(As)}_isShown(){return this.tip&&this.tip.classList.contains(Lr)}_createPopper(e){const t=ne(this._config.placement,[this,e,this._element]),s=mp[t.toUpperCase()];return un(this._element,e,this._getPopperConfig(s))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return ne(e,[this._element])}_getPopperConfig(e){const t={placement:e,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:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...t,...ne(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")S.on(this._element,this.constructor.eventName(up),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(t!==np){const s=t===Wt?this.constructor.eventName(fp):this.constructor.eventName(hp),n=t===Wt?this.constructor.eventName(pp):this.constructor.eventName(dp);S.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?Ts:Wt]=!0,o._enter()}),S.on(this._element,n,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?Ts:Wt]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},S.on(this._element.closest(wi),Ai,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),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(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=Le.getDataAttributes(this._element);for(const s of Object.keys(t))ep.has(s)&&delete t[s];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:$e(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,s]of Object.entries(this._config))this.constructor.Default[t]!==s&&(e[t]=s);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=at.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}me(at);const vp="popover",Ep=".popover-header",yp=".popover-body",_p={...at.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Sp={...at.DefaultType,content:"(null|string|element|function)"};class pn extends at{static get Default(){return _p}static get DefaultType(){return Sp}static get NAME(){return vp}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Ep]:this._getTitle(),[yp]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=pn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}me(pn);const wp="scrollspy",Ap="bs.scrollspy",mn=`.${Ap}`,Tp=".data-api",Op=`activate${mn}`,Ti=`click${mn}`,Cp=`load${mn}${Tp}`,Lp="dropdown-item",dt="active",Np='[data-bs-spy="scroll"]',Os="[href]",Rp=".nav, .list-group",Oi=".nav-link",kp=".nav-item",Ip=".list-group-item",Pp=`${Oi}, ${kp} > ${Oi}, ${Ip}`,Mp=".dropdown",Dp=".dropdown-toggle",xp={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Fp={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class as extends be{constructor(e,t){super(e,t),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 xp}static get DefaultType(){return Fp}static get NAME(){return wp}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=$e(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(S.off(this._config.target,Ti),S.on(this._config.target,Ti,Os,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const s=this._rootElement||window,n=t.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:n,behavior:"smooth"});return}s.scrollTop=n}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(t(o))},n=(this._rootElement||document.documentElement).scrollTop,i=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(s(o),!n)return;continue}!i&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=D.find(Os,this._config.target);for(const t of e){if(!t.hash||Be(t))continue;const s=D.findOne(decodeURI(t.hash),this._element);Ht(s)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,s))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(dt),this._activateParents(e),S.trigger(this._element,Op,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Lp)){D.findOne(Dp,e.closest(Mp)).classList.add(dt);return}for(const t of D.parents(e,Rp))for(const s of D.prev(t,Pp))s.classList.add(dt)}_clearActiveClass(e){e.classList.remove(dt);const t=D.find(`${Os}.${dt}`,e);for(const s of t)s.classList.remove(dt)}static jQueryInterface(e){return this.each(function(){const t=as.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}S.on(window,Cp,()=>{for(const r of D.find(Np))as.getOrCreateInstance(r)});me(as);const $p="tab",Bp="bs.tab",lt=`.${Bp}`,Hp=`hide${lt}`,Vp=`hidden${lt}`,qp=`show${lt}`,jp=`shown${lt}`,Wp=`click${lt}`,Up=`keydown${lt}`,zp=`load${lt}`,Kp="ArrowLeft",Ci="ArrowRight",Gp="ArrowUp",Li="ArrowDown",Cs="Home",Ni="End",Ye="active",Ri="fade",Ls="show",Yp="dropdown",la=".dropdown-toggle",Xp=".dropdown-menu",Ns=`:not(${la})`,Qp='.list-group, .nav, [role="tablist"]',Zp=".nav-item, .list-group-item",Jp=`.nav-link${Ns}, .list-group-item${Ns}, [role="tab"]${Ns}`,ca='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Rs=`${Jp}, ${ca}`,em=`.${Ye}[data-bs-toggle="tab"], .${Ye}[data-bs-toggle="pill"], .${Ye}[data-bs-toggle="list"]`;class Mt extends be{constructor(e){super(e),this._parent=this._element.closest(Qp),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),S.on(this._element,Up,t=>this._keydown(t)))}static get NAME(){return $p}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),s=t?S.trigger(t,Hp,{relatedTarget:e}):null;S.trigger(e,qp,{relatedTarget:t}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Ye),this._activate(D.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ls);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),S.trigger(e,jp,{relatedTarget:t})};this._queueCallback(s,e,e.classList.contains(Ri))}_deactivate(e,t){if(!e)return;e.classList.remove(Ye),e.blur(),this._deactivate(D.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ls);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),S.trigger(e,Vp,{relatedTarget:t})};this._queueCallback(s,e,e.classList.contains(Ri))}_keydown(e){if(![Kp,Ci,Gp,Li,Cs,Ni].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(n=>!Be(n));let s;if([Cs,Ni].includes(e.key))s=t[e.key===Cs?0:t.length-1];else{const n=[Ci,Li].includes(e.key);s=hn(t,e.target,n,!0)}s&&(s.focus({preventScroll:!0}),Mt.getOrCreateInstance(s).show())}_getChildren(){return D.find(Rs,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const s of t)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),s=this._getOuterElement(e);e.setAttribute("aria-selected",t),s!==e&&this._setAttributeIfNotExists(s,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=D.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const s=this._getOuterElement(e);if(!s.classList.contains(Yp))return;const n=(i,o)=>{const a=D.findOne(i,s);a&&a.classList.toggle(o,t)};n(la,Ye),n(Xp,Ls),s.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,s){e.hasAttribute(t)||e.setAttribute(t,s)}_elemIsActive(e){return e.classList.contains(Ye)}_getInnerElement(e){return e.matches(Rs)?e:D.findOne(Rs,e)}_getOuterElement(e){return e.closest(Zp)||e}static jQueryInterface(e){return this.each(function(){const t=Mt.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}S.on(document,Wp,ca,function(r){["A","AREA"].includes(this.tagName)&&r.preventDefault(),!Be(this)&&Mt.getOrCreateInstance(this).show()});S.on(window,zp,()=>{for(const r of D.find(em))Mt.getOrCreateInstance(r)});me(Mt);const tm="toast",rm="bs.toast",We=`.${rm}`,sm=`mouseover${We}`,nm=`mouseout${We}`,im=`focusin${We}`,om=`focusout${We}`,am=`hide${We}`,lm=`hidden${We}`,cm=`show${We}`,um=`shown${We}`,hm="fade",ki="hide",Nr="show",Rr="showing",dm={animation:"boolean",autohide:"boolean",delay:"number"},fm={animation:!0,autohide:!0,delay:5e3};class br extends be{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return fm}static get DefaultType(){return dm}static get NAME(){return tm}show(){if(S.trigger(this._element,cm).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(hm);const t=()=>{this._element.classList.remove(Rr),S.trigger(this._element,um),this._maybeScheduleHide()};this._element.classList.remove(ki),fr(this._element),this._element.classList.add(Nr,Rr),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||S.trigger(this._element,am).defaultPrevented)return;const t=()=>{this._element.classList.add(ki),this._element.classList.remove(Rr,Nr),S.trigger(this._element,lm)};this._element.classList.add(Rr),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Nr),super.dispose()}isShown(){return this._element.classList.contains(Nr)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const s=e.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){S.on(this._element,sm,e=>this._onInteraction(e,!0)),S.on(this._element,nm,e=>this._onInteraction(e,!1)),S.on(this._element,im,e=>this._onInteraction(e,!0)),S.on(this._element,om,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=br.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ns(br);me(br);class pm extends U{connect(){"content"in document.createElement("template")||console.warn("Your browser does not support