diff --git a/local_packages/football/Resources/Private/JavaScript/Src/main.js b/local_packages/football/Resources/Private/JavaScript/Src/main.js index b3368ac..46b6794 100644 --- a/local_packages/football/Resources/Private/JavaScript/Src/main.js +++ b/local_packages/football/Resources/Private/JavaScript/Src/main.js @@ -1,7 +1,17 @@ import * as bootstrap from 'bootstrap'; +import Splide from '@splidejs/splide'; const dropdownElementList = document.querySelectorAll('[data-bs-toggle="dropdown"]') const dropdownList = [...dropdownElementList].map(dropdownToggleEl => new bootstrap.Dropdown(dropdownToggleEl)) const collapseElementList = document.querySelectorAll('[data-bs-toggle="collapse"]') const collapseList = [...collapseElementList].map(collapseEl => new bootstrap.Collapse(collapseEl)) + +new Splide( '.splide', { + perPage: 3, + breakpoints: { + 768: { + perPage: 1, + }, + } +}).mount(); diff --git a/local_packages/football/Resources/Private/Scss/Elements/_game.scss b/local_packages/football/Resources/Private/Scss/Elements/_game.scss new file mode 100644 index 0000000..b94fa7c --- /dev/null +++ b/local_packages/football/Resources/Private/Scss/Elements/_game.scss @@ -0,0 +1,16 @@ +.game-slider-image { + max-height: 100px; + width: auto; +} + +.game-slider-image-small { + max-height: 2.5rem; + padding-inline: 10px; + width: auto; +} + +.game-score { + color: $color__primary; + font-size: 2.5rem; + font-weight: bolder; +} diff --git a/local_packages/football/Resources/Private/Scss/Elements/_import.scss b/local_packages/football/Resources/Private/Scss/Elements/_import.scss index 3c813d6..def02b3 100644 --- a/local_packages/football/Resources/Private/Scss/Elements/_import.scss +++ b/local_packages/football/Resources/Private/Scss/Elements/_import.scss @@ -3,3 +3,4 @@ @import "search"; @import "form"; @import "news"; +@import "game"; diff --git a/local_packages/football/Resources/Private/Scss/Vendor/_bootstrap.scss b/local_packages/football/Resources/Private/Scss/Vendor/_bootstrap.scss index 5634c65..5cc4af2 100644 --- a/local_packages/football/Resources/Private/Scss/Vendor/_bootstrap.scss +++ b/local_packages/football/Resources/Private/Scss/Vendor/_bootstrap.scss @@ -25,6 +25,7 @@ @import 'bootstrap/scss/modal'; @import 'bootstrap/scss/nav'; @import 'bootstrap/scss/navbar'; +@import 'bootstrap/scss/tables'; @import 'bootstrap/scss/transitions'; // mixins diff --git a/local_packages/football/Resources/Private/Scss/Vendor/_import.scss b/local_packages/football/Resources/Private/Scss/Vendor/_import.scss index b0692d8..c5b8420 100644 --- a/local_packages/football/Resources/Private/Scss/Vendor/_import.scss +++ b/local_packages/football/Resources/Private/Scss/Vendor/_import.scss @@ -1 +1,2 @@ -@import "bootstrap"; \ No newline at end of file +@import "bootstrap"; +@import "splide"; diff --git a/local_packages/football/Resources/Private/Scss/Vendor/_splide.scss b/local_packages/football/Resources/Private/Scss/Vendor/_splide.scss new file mode 100644 index 0000000..bffa830 --- /dev/null +++ b/local_packages/football/Resources/Private/Scss/Vendor/_splide.scss @@ -0,0 +1 @@ +@import "@splidejs/splide/dist/css/splide.min"; diff --git a/local_packages/football/Resources/Private/Templates/ContentElements/GameResults.html b/local_packages/football/Resources/Private/Templates/ContentElements/GameResults.html index 21e46b5..c164b0a 100644 --- a/local_packages/football/Resources/Private/Templates/ContentElements/GameResults.html +++ b/local_packages/football/Resources/Private/Templates/ContentElements/GameResults.html @@ -1,25 +1,90 @@ - - -

{data.header}

-{data.game_results_mode} - - - -
- {result.homeTeam.name} : {result.awayTeam.name}
-
- {result.location}
- - - {result.result.home} : {result.result.away} - - - not played yet - - -

-
-
- - + + + + + + + + + + + + +
+ + +
+
    + +
  • +
    + {result.homeTeam.name} +
    + + + {result.result.home} : {result.result.away} + + + TBA + + +
    + {result.awayTeam.name} +
    +
    + {result.meta.league} @ {result.location} +
    + +
  • +
    +
+
+
+
+ + +
+ + + + + + + + + + +
+ + +
+ {result.homeTeam.name} +
+ + + {result.result.home} : {result.result.away} + + + TBA + + +
+ {result.awayTeam.name} +
+
+
+ {result.meta.league} +
+
+ {result.location} +
+
+
+
+ + diff --git a/local_packages/football/Resources/Public/Css/index.css b/local_packages/football/Resources/Public/Css/index.css index 8701210..17d0233 100644 --- a/local_packages/football/Resources/Public/Css/index.css +++ b/local_packages/football/Resources/Public/Css/index.css @@ -4924,6 +4924,243 @@ fieldset:disabled .btn { --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns=http://www.w3.org/2000/svg viewBox=0 0 30 30%3e%3cpath stroke=rgba%28255, 255, 255, 0.55%29 stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d=M4 7h22M4 15h22M4 23h22/%3e%3c/svg%3e"); } +.table { + --bs-table-color-type: initial; + --bs-table-bg-type: initial; + --bs-table-color-state: initial; + --bs-table-bg-state: initial; + --bs-table-color: var(--bs-emphasis-color); + --bs-table-bg: var(--bs-body-bg); + --bs-table-border-color: var(--bs-border-color); + --bs-table-accent-bg: transparent; + --bs-table-striped-color: var(--bs-emphasis-color); + --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05); + --bs-table-active-color: var(--bs-emphasis-color); + --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1); + --bs-table-hover-color: var(--bs-emphasis-color); + --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075); + width: 100%; + margin-bottom: 1rem; + vertical-align: top; + border-color: var(--bs-table-border-color); +} + +.table > :not(caption) > * > * { + padding: 0.5rem 0.5rem; + color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color))); + background-color: var(--bs-table-bg); + border-bottom-width: var(--bs-border-width); + box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg))); +} + +.table > tbody { + vertical-align: inherit; +} + +.table > thead { + vertical-align: bottom; +} + +.table-group-divider { + border-top: calc(var(--bs-border-width) * 2) solid currentcolor; +} + +.caption-top { + caption-side: top; +} + +.table-sm > :not(caption) > * > * { + padding: 0.25rem 0.25rem; +} + +.table-bordered > :not(caption) > * { + border-width: var(--bs-border-width) 0; +} + +.table-bordered > :not(caption) > * > * { + border-width: 0 var(--bs-border-width); +} + +.table-borderless > :not(caption) > * > * { + border-bottom-width: 0; +} + +.table-borderless > :not(:first-child) { + border-top-width: 0; +} + +.table-striped > tbody > tr:nth-of-type(odd) > * { + --bs-table-color-type: var(--bs-table-striped-color); + --bs-table-bg-type: var(--bs-table-striped-bg); +} + +.table-striped-columns > :not(caption) > tr > :nth-child(even) { + --bs-table-color-type: var(--bs-table-striped-color); + --bs-table-bg-type: var(--bs-table-striped-bg); +} + +.table-active { + --bs-table-color-state: var(--bs-table-active-color); + --bs-table-bg-state: var(--bs-table-active-bg); +} + +.table-hover > tbody > tr:hover > * { + --bs-table-color-state: var(--bs-table-hover-color); + --bs-table-bg-state: var(--bs-table-hover-bg); +} + +.table-primary { + --bs-table-color: #000; + --bs-table-bg: #cfe2ff; + --bs-table-border-color: #a6b5cc; + --bs-table-striped-bg: #c5d7f2; + --bs-table-striped-color: #000; + --bs-table-active-bg: #bacbe6; + --bs-table-active-color: #000; + --bs-table-hover-bg: #bfd1ec; + --bs-table-hover-color: #000; + color: var(--bs-table-color); + border-color: var(--bs-table-border-color); +} + +.table-secondary { + --bs-table-color: #000; + --bs-table-bg: #e2e3e5; + --bs-table-border-color: #b5b6b7; + --bs-table-striped-bg: #d7d8da; + --bs-table-striped-color: #000; + --bs-table-active-bg: #cbccce; + --bs-table-active-color: #000; + --bs-table-hover-bg: #d1d2d4; + --bs-table-hover-color: #000; + color: var(--bs-table-color); + border-color: var(--bs-table-border-color); +} + +.table-success { + --bs-table-color: #000; + --bs-table-bg: #d1e7dd; + --bs-table-border-color: #a7b9b1; + --bs-table-striped-bg: #c7dbd2; + --bs-table-striped-color: #000; + --bs-table-active-bg: #bcd0c7; + --bs-table-active-color: #000; + --bs-table-hover-bg: #c1d6cc; + --bs-table-hover-color: #000; + color: var(--bs-table-color); + border-color: var(--bs-table-border-color); +} + +.table-info { + --bs-table-color: #000; + --bs-table-bg: #cff4fc; + --bs-table-border-color: #a6c3ca; + --bs-table-striped-bg: #c5e8ef; + --bs-table-striped-color: #000; + --bs-table-active-bg: #badce3; + --bs-table-active-color: #000; + --bs-table-hover-bg: #bfe2e9; + --bs-table-hover-color: #000; + color: var(--bs-table-color); + border-color: var(--bs-table-border-color); +} + +.table-warning { + --bs-table-color: #000; + --bs-table-bg: #fff3cd; + --bs-table-border-color: #ccc2a4; + --bs-table-striped-bg: #f2e7c3; + --bs-table-striped-color: #000; + --bs-table-active-bg: #e6dbb9; + --bs-table-active-color: #000; + --bs-table-hover-bg: #ece1be; + --bs-table-hover-color: #000; + color: var(--bs-table-color); + border-color: var(--bs-table-border-color); +} + +.table-danger { + --bs-table-color: #000; + --bs-table-bg: #f8d7da; + --bs-table-border-color: #c6acae; + --bs-table-striped-bg: #eccccf; + --bs-table-striped-color: #000; + --bs-table-active-bg: #dfc2c4; + --bs-table-active-color: #000; + --bs-table-hover-bg: #e5c7ca; + --bs-table-hover-color: #000; + color: var(--bs-table-color); + border-color: var(--bs-table-border-color); +} + +.table-light { + --bs-table-color: #000; + --bs-table-bg: #f8f9fa; + --bs-table-border-color: #c6c7c8; + --bs-table-striped-bg: #ecedee; + --bs-table-striped-color: #000; + --bs-table-active-bg: #dfe0e1; + --bs-table-active-color: #000; + --bs-table-hover-bg: #e5e6e7; + --bs-table-hover-color: #000; + color: var(--bs-table-color); + border-color: var(--bs-table-border-color); +} + +.table-dark { + --bs-table-color: #fff; + --bs-table-bg: #212529; + --bs-table-border-color: #4d5154; + --bs-table-striped-bg: #2c3034; + --bs-table-striped-color: #fff; + --bs-table-active-bg: #373b3e; + --bs-table-active-color: #fff; + --bs-table-hover-bg: #323539; + --bs-table-hover-color: #fff; + color: var(--bs-table-color); + border-color: var(--bs-table-border-color); +} + +.table-responsive { + overflow-x: auto; + -webkit-overflow-scrolling: touch; +} + +@media (max-width: 575.98px) { + .table-responsive-sm { + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } +} + +@media (max-width: 767.98px) { + .table-responsive-md { + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } +} + +@media (max-width: 991.98px) { + .table-responsive-lg { + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } +} + +@media (max-width: 1199.98px) { + .table-responsive-xl { + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } +} + +@media (max-width: 1399.98px) { + .table-responsive-xxl { + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } +} + .fade { transition: opacity 0.15s linear; } @@ -10624,6 +10861,375 @@ fieldset:disabled .btn { } } +.splide__container { + box-sizing: border-box; + position: relative; +} + +.splide__list { + backface-visibility: hidden; + display: -ms-flexbox; + display: flex; + height: 100%; + margin: 0 !important; + padding: 0 !important; +} + +.splide.is-initialized:not(.is-active) .splide__list { + display: block; +} + +.splide__pagination { + -ms-flex-align: center; + align-items: center; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-pack: center; + justify-content: center; + margin: 0; + pointer-events: none; +} + +.splide__pagination li { + display: inline-block; + line-height: 1; + list-style-type: none; + margin: 0; + pointer-events: auto; +} + +.splide:not(.is-overflow) .splide__pagination { + display: none; +} + +.splide__progress__bar { + width: 0; +} + +.splide { + position: relative; + visibility: hidden; +} + +.splide.is-initialized, +.splide.is-rendered { + visibility: visible; +} + +.splide__slide { + backface-visibility: hidden; + box-sizing: border-box; + -ms-flex-negative: 0; + flex-shrink: 0; + list-style-type: none !important; + margin: 0; + position: relative; +} + +.splide__slide img { + vertical-align: bottom; +} + +.splide__spinner { + animation: splide-loading 1s linear infinite; + border: 2px solid #999; + border-left-color: transparent; + border-radius: 50%; + bottom: 0; + contain: strict; + display: inline-block; + height: 20px; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; + width: 20px; +} + +.splide__sr { + clip: rect(0 0 0 0); + border: 0; + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} + +.splide__toggle.is-active .splide__toggle__play, +.splide__toggle__pause { + display: none; +} + +.splide__toggle.is-active .splide__toggle__pause { + display: inline; +} + +.splide__track { + overflow: hidden; + position: relative; + z-index: 0; +} + +@keyframes splide-loading { + 0% { + transform: rotate(0); + } + + to { + transform: rotate(1turn); + } +} + +.splide__track--draggable { + -webkit-touch-callout: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.splide__track--fade > .splide__list > .splide__slide { + margin: 0 !important; + opacity: 0; + z-index: 0; +} + +.splide__track--fade > .splide__list > .splide__slide.is-active { + opacity: 1; + z-index: 1; +} + +.splide--rtl { + direction: rtl; +} + +.splide__track--ttb > .splide__list { + display: block; +} + +.splide__arrow { + -ms-flex-align: center; + align-items: center; + background: #ccc; + border: 0; + border-radius: 50%; + cursor: pointer; + display: -ms-flexbox; + display: flex; + height: 2em; + -ms-flex-pack: center; + justify-content: center; + opacity: 0.7; + padding: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); + width: 2em; + z-index: 1; +} + +.splide__arrow svg { + fill: #000; + height: 1.2em; + width: 1.2em; +} + +.splide__arrow:hover:not(:disabled) { + opacity: 0.9; +} + +.splide__arrow:disabled { + opacity: 0.3; +} + +.splide__arrow:focus-visible { + outline: 3px solid #0bf; + outline-offset: 3px; +} + +.splide__arrow--prev { + left: 1em; +} + +.splide__arrow--prev svg { + transform: scaleX(-1); +} + +.splide__arrow--next { + right: 1em; +} + +.splide.is-focus-in .splide__arrow:focus { + outline: 3px solid #0bf; + outline-offset: 3px; +} + +.splide__pagination { + bottom: 0.5em; + left: 0; + padding: 0 1em; + position: absolute; + right: 0; + z-index: 1; +} + +.splide__pagination__page { + background: #ccc; + border: 0; + border-radius: 50%; + display: inline-block; + height: 8px; + margin: 3px; + opacity: 0.7; + padding: 0; + position: relative; + transition: transform 0.2s linear; + width: 8px; +} + +.splide__pagination__page.is-active { + background: #fff; + transform: scale(1.4); + z-index: 1; +} + +.splide__pagination__page:hover { + cursor: pointer; + opacity: 0.9; +} + +.splide__pagination__page:focus-visible { + outline: 3px solid #0bf; + outline-offset: 3px; +} + +.splide.is-focus-in .splide__pagination__page:focus { + outline: 3px solid #0bf; + outline-offset: 3px; +} + +.splide__progress__bar { + background: #ccc; + height: 3px; +} + +.splide__slide { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +.splide__slide:focus { + outline: 0; +} + +@supports (outline-offset: -3px) { + .splide__slide:focus-visible { + outline: 3px solid #0bf; + outline-offset: -3px; + } +} + +@media screen and (-ms-high-contrast: none) { + .splide__slide:focus-visible { + border: 3px solid #0bf; + } +} + +@supports (outline-offset: -3px) { + .splide.is-focus-in .splide__slide:focus { + outline: 3px solid #0bf; + outline-offset: -3px; + } +} + +@media screen and (-ms-high-contrast: none) { + .splide.is-focus-in .splide__slide:focus { + border: 3px solid #0bf; + } + + .splide.is-focus-in .splide__track > .splide__list > .splide__slide:focus { + border-color: #0bf; + } +} + +.splide__toggle { + cursor: pointer; +} + +.splide__toggle:focus-visible { + outline: 3px solid #0bf; + outline-offset: 3px; +} + +.splide.is-focus-in .splide__toggle:focus { + outline: 3px solid #0bf; + outline-offset: 3px; +} + +.splide__track--nav > .splide__list > .splide__slide { + border: 3px solid transparent; + cursor: pointer; +} + +.splide__track--nav > .splide__list > .splide__slide.is-active { + border: 3px solid #000; +} + +.splide__arrows--rtl .splide__arrow--prev { + left: auto; + right: 1em; +} + +.splide__arrows--rtl .splide__arrow--prev svg { + transform: scaleX(1); +} + +.splide__arrows--rtl .splide__arrow--next { + left: 1em; + right: auto; +} + +.splide__arrows--rtl .splide__arrow--next svg { + transform: scaleX(-1); +} + +.splide__arrows--ttb .splide__arrow { + left: 50%; + transform: translate(-50%); +} + +.splide__arrows--ttb .splide__arrow--prev { + top: 1em; +} + +.splide__arrows--ttb .splide__arrow--prev svg { + transform: rotate(-90deg); +} + +.splide__arrows--ttb .splide__arrow--next { + bottom: 1em; + top: auto; +} + +.splide__arrows--ttb .splide__arrow--next svg { + transform: rotate(90deg); +} + +.splide__pagination--ttb { + bottom: 0; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + left: auto; + padding: 1em 0; + right: 0.5em; + top: 0; +} + .pt-navbar { padding-top: 100px; } @@ -11031,4 +11637,21 @@ textarea.form-control { .news--row { padding: 2.5rem 0 3.75rem 0; +} + +.game-slider-image { + max-height: 100px; + width: auto; +} + +.game-slider-image-small { + max-height: 2.5rem; + padding-inline: 10px; + width: auto; +} + +.game-score { + color: #2D479A; + font-size: 2.5rem; + font-weight: bolder; } \ No newline at end of file diff --git a/local_packages/football/Resources/Public/JavaScript/index.js b/local_packages/football/Resources/Public/JavaScript/index.js index cc90244..f5eeb39 100644 --- a/local_packages/football/Resources/Public/JavaScript/index.js +++ b/local_packages/football/Resources/Public/JavaScript/index.js @@ -1,4 +1,4 @@ -(()=>{var t=Object.defineProperty,e={};((e,i)=>{for(var n in i)t(e,n,{get:i[n],enumerable:!0})})(e,{afterMain:()=>w,afterRead:()=>b,afterWrite:()=>C,applyStyles:()=>D,arrow:()=>G,auto:()=>r,basePlacements:()=>a,beforeMain:()=>v,beforeRead:()=>g,beforeWrite:()=>A,bottom:()=>n,clippingParents:()=>h,computeStyles:()=>et,createPopper:()=>$t,createPopperBase:()=>St,createPopperLite:()=>Dt,detectOverflow:()=>_t,end:()=>c,eventListeners:()=>nt,flip:()=>bt,hide:()=>wt,left:()=>o,main:()=>y,modifierPhases:()=>T,offset:()=>At,placements:()=>m,popper:()=>d,popperGenerator:()=>Lt,popperOffsets:()=>Et,preventOverflow:()=>Ct,read:()=>_,reference:()=>f,right:()=>s,start:()=>l,top:()=>i,variationPlacements:()=>p,viewport:()=>u,write:()=>E});var i="top",n="bottom",s="right",o="left",r="auto",a=[i,n,s,o],l="start",c="end",h="clippingParents",u="viewport",d="popper",f="reference",p=a.reduce((function(t,e){return t.concat([e+"-"+l,e+"-"+c])}),[]),m=[].concat(a,[r]).reduce((function(t,e){return t.concat([e,e+"-"+l,e+"-"+c])}),[]),g="beforeRead",_="read",b="afterRead",v="beforeMain",y="main",w="afterMain",A="beforeWrite",E="write",C="afterWrite",T=[g,_,b,v,y,w,A,E,C];function O(t){return t?(t.nodeName||"").toLowerCase():null}function x(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function k(t){return t instanceof x(t).Element||t instanceof Element}function L(t){return t instanceof x(t).HTMLElement||t instanceof HTMLElement}function S(t){return"undefined"!=typeof ShadowRoot&&(t instanceof x(t).ShadowRoot||t instanceof ShadowRoot)}var D={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];L(s)&&O(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});L(n)&&O(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function $(t){return t.split("-")[0]}var I=Math.max,N=Math.min,P=Math.round;function j(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function M(){return!/^((?!chrome|android).)*safari/i.test(j())}function F(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,o=1;e&&L(t)&&(s=t.offsetWidth>0&&P(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&P(n.height)/t.offsetHeight||1);var r=(k(t)?x(t):window).visualViewport,a=!M()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,u=n.height/o;return{width:h,height:u,top:c,right:l+h,bottom:c+u,left:l,x:l,y:c}}function H(t){var e=F(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function W(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&S(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function B(t){return x(t).getComputedStyle(t)}function z(t){return["table","td","th"].indexOf(O(t))>=0}function R(t){return((k(t)?t.ownerDocument:t.document)||window.document).documentElement}function q(t){return"html"===O(t)?t:t.assignedSlot||t.parentNode||(S(t)?t.host:null)||R(t)}function V(t){return L(t)&&"fixed"!==B(t).position?t.offsetParent:null}function K(t){for(var e=x(t),i=V(t);i&&z(i)&&"static"===B(i).position;)i=V(i);return i&&("html"===O(i)||"body"===O(i)&&"static"===B(i).position)?e:i||function(t){var e=/firefox/i.test(j());if(/Trident/i.test(j())&&L(t)&&"fixed"===B(t).position)return null;var i=q(t);for(S(i)&&(i=i.host);L(i)&&["html","body"].indexOf(O(i))<0;){var n=B(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function Q(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function X(t,e,i){return I(t,N(e,i))}function Y(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function U(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var G={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,r=t.state,l=t.name,c=t.options,h=r.elements.arrow,u=r.modifiersData.popperOffsets,d=$(r.placement),f=Q(d),p=[o,s].indexOf(d)>=0?"height":"width";if(h&&u){var m=function(t,e){return Y("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:U(t,a))}(c.padding,r),g=H(h),_="y"===f?i:o,b="y"===f?n:s,v=r.rects.reference[p]+r.rects.reference[f]-u[f]-r.rects.popper[p],y=u[f]-r.rects.reference[f],w=K(h),A=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,E=v/2-y/2,C=m[_],T=A-g[p]-m[b],O=A/2-g[p]/2+E,x=X(C,O,T),k=f;r.modifiersData[l]=((e={})[k]=x,e.centerOffset=x-O,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&W(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function J(t){return t.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tt(t){var e,r=t.popper,a=t.popperRect,l=t.placement,h=t.variation,u=t.offsets,d=t.position,f=t.gpuAcceleration,p=t.adaptive,m=t.roundOffsets,g=t.isFixed,_=u.x,b=void 0===_?0:_,v=u.y,y=void 0===v?0:v,w="function"==typeof m?m({x:b,y:y}):{x:b,y:y};b=w.x,y=w.y;var A=u.hasOwnProperty("x"),E=u.hasOwnProperty("y"),C=o,T=i,O=window;if(p){var k=K(r),L="clientHeight",S="clientWidth";if(k===x(r)&&"static"!==B(k=R(r)).position&&"absolute"===d&&(L="scrollHeight",S="scrollWidth"),l===i||(l===o||l===s)&&h===c)T=n,y-=(g&&k===O&&O.visualViewport?O.visualViewport.height:k[L])-a.height,y*=f?1:-1;if(l===o||(l===i||l===n)&&h===c)C=s,b-=(g&&k===O&&O.visualViewport?O.visualViewport.width:k[S])-a.width,b*=f?1:-1}var D,$=Object.assign({position:d},p&&Z),I=!0===m?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:P(i*s)/s||0,y:P(n*s)/s||0}}({x:b,y:y},x(r)):{x:b,y:y};return b=I.x,y=I.y,f?Object.assign({},$,((D={})[T]=E?"0":"",D[C]=A?"0":"",D.transform=(O.devicePixelRatio||1)<=1?"translate("+b+"px, "+y+"px)":"translate3d("+b+"px, "+y+"px, 0)",D)):Object.assign({},$,((e={})[T]=E?y+"px":"",e[C]=A?b+"px":"",e.transform="",e))}var et={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:$(e.placement),variation:J(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,tt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,tt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},it={passive:!0};var nt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=x(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,it)})),a&&l.addEventListener("resize",i.update,it),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,it)})),a&&l.removeEventListener("resize",i.update,it)}},data:{}},st={left:"right",right:"left",bottom:"top",top:"bottom"};function ot(t){return t.replace(/left|right|bottom|top/g,(function(t){return st[t]}))}var rt={start:"end",end:"start"};function at(t){return t.replace(/start|end/g,(function(t){return rt[t]}))}function lt(t){var e=x(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ct(t){return F(R(t)).left+lt(t).scrollLeft}function ht(t){var e=B(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function ut(t){return["html","body","#document"].indexOf(O(t))>=0?t.ownerDocument.body:L(t)&&ht(t)?t:ut(q(t))}function dt(t,e){var i;void 0===e&&(e=[]);var n=ut(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=x(n),r=s?[o].concat(o.visualViewport||[],ht(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(dt(q(r)))}function ft(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function pt(t,e,i){return e===u?ft(function(t,e){var i=x(t),n=R(t),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=M();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+ct(t),y:l}}(t,i)):k(e)?function(t,e){var i=F(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ft(function(t){var e,i=R(t),n=lt(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=I(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=I(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+ct(t),l=-n.scrollTop;return"rtl"===B(s||i).direction&&(a+=I(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(R(t)))}function mt(t,e,i,n){var s="clippingParents"===e?function(t){var e=dt(q(t)),i=["absolute","fixed"].indexOf(B(t).position)>=0&&L(t)?K(t):t;return k(i)?e.filter((function(t){return k(t)&&W(t,i)&&"body"!==O(t)})):[]}(t):[].concat(e),o=[].concat(s,[i]),r=o[0],a=o.reduce((function(e,i){var s=pt(t,i,n);return e.top=I(s.top,e.top),e.right=N(s.right,e.right),e.bottom=N(s.bottom,e.bottom),e.left=I(s.left,e.left),e}),pt(t,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function gt(t){var e,r=t.reference,a=t.element,h=t.placement,u=h?$(h):null,d=h?J(h):null,f=r.x+r.width/2-a.width/2,p=r.y+r.height/2-a.height/2;switch(u){case i:e={x:f,y:r.y-a.height};break;case n:e={x:f,y:r.y+r.height};break;case s:e={x:r.x+r.width,y:p};break;case o:e={x:r.x-a.width,y:p};break;default:e={x:r.x,y:r.y}}var m=u?Q(u):null;if(null!=m){var g="y"===m?"height":"width";switch(d){case l:e[m]=e[m]-(r[g]/2-a[g]/2);break;case c:e[m]=e[m]+(r[g]/2-a[g]/2)}}return e}function _t(t,e){void 0===e&&(e={});var o=e,r=o.placement,l=void 0===r?t.placement:r,c=o.strategy,p=void 0===c?t.strategy:c,m=o.boundary,g=void 0===m?h:m,_=o.rootBoundary,b=void 0===_?u:_,v=o.elementContext,y=void 0===v?d:v,w=o.altBoundary,A=void 0!==w&&w,E=o.padding,C=void 0===E?0:E,T=Y("number"!=typeof C?C:U(C,a)),O=y===d?f:d,x=t.rects.popper,L=t.elements[A?O:y],S=mt(k(L)?L:L.contextElement||R(t.elements.popper),g,b,p),D=F(t.elements.reference),$=gt({reference:D,element:x,strategy:"absolute",placement:l}),I=ft(Object.assign({},x,$)),N=y===d?I:D,P={top:S.top-N.top+T.top,bottom:N.bottom-S.bottom+T.bottom,left:S.left-N.left+T.left,right:N.right-S.right+T.right},j=t.modifiersData.offset;if(y===d&&j){var M=j[l];Object.keys(P).forEach((function(t){var e=[s,n].indexOf(t)>=0?1:-1,o=[i,n].indexOf(t)>=0?"y":"x";P[t]+=M[o]*e}))}return P}var bt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,c=t.options,h=t.name;if(!e.modifiersData[h]._skip){for(var u=c.mainAxis,d=void 0===u||u,f=c.altAxis,g=void 0===f||f,_=c.fallbackPlacements,b=c.padding,v=c.boundary,y=c.rootBoundary,w=c.altBoundary,A=c.flipVariations,E=void 0===A||A,C=c.allowedAutoPlacements,T=e.options.placement,O=$(T),x=_||(O===T||!E?[ot(T)]:function(t){if($(t)===r)return[];var e=ot(t);return[at(t),e,at(e)]}(T)),k=[T].concat(x).reduce((function(t,i){return t.concat($(i)===r?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,l=i.flipVariations,c=i.allowedAutoPlacements,h=void 0===c?m:c,u=J(n),d=u?l?p:p.filter((function(t){return J(t)===u})):a,f=d.filter((function(t){return h.indexOf(t)>=0}));0===f.length&&(f=d);var g=f.reduce((function(e,i){return e[i]=_t(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[$(i)],e}),{});return Object.keys(g).sort((function(t,e){return g[t]-g[e]}))}(e,{placement:i,boundary:v,rootBoundary:y,padding:b,flipVariations:E,allowedAutoPlacements:C}):i)}),[]),L=e.rects.reference,S=e.rects.popper,D=new Map,I=!0,N=k[0],P=0;P=0,W=H?"width":"height",B=_t(e,{placement:j,boundary:v,rootBoundary:y,altBoundary:w,padding:b}),z=H?F?s:o:F?n:i;L[W]>S[W]&&(z=ot(z));var R=ot(z),q=[];if(d&&q.push(B[M]<=0),g&&q.push(B[z]<=0,B[R]<=0),q.every((function(t){return t}))){N=j,I=!1;break}D.set(j,q)}if(I)for(var V=function(t){var e=k.find((function(e){var i=D.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return N=e,"break"},K=E?3:1;K>0;K--){if("break"===V(K))break}e.placement!==N&&(e.modifiersData[h]._skip=!0,e.placement=N,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function vt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function yt(t){return[i,s,n,o].some((function(e){return t[e]>=0}))}var wt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=_t(e,{elementContext:"reference"}),a=_t(e,{altBoundary:!0}),l=vt(r,n),c=vt(a,s,o),h=yt(l),u=yt(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":u})}};var At={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,a=n.offset,l=void 0===a?[0,0]:a,c=m.reduce((function(t,n){return t[n]=function(t,e,n){var r=$(t),a=[o,i].indexOf(r)>=0?-1:1,l="function"==typeof n?n(Object.assign({},e,{placement:t})):n,c=l[0],h=l[1];return c=c||0,h=(h||0)*a,[o,s].indexOf(r)>=0?{x:h,y:c}:{x:c,y:h}}(n,e.rects,l),t}),{}),h=c[e.placement],u=h.x,d=h.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=d),e.modifiersData[r]=c}};var Et={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=gt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var Ct={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,a=t.name,c=r.mainAxis,h=void 0===c||c,u=r.altAxis,d=void 0!==u&&u,f=r.boundary,p=r.rootBoundary,m=r.altBoundary,g=r.padding,_=r.tether,b=void 0===_||_,v=r.tetherOffset,y=void 0===v?0:v,w=_t(e,{boundary:f,rootBoundary:p,padding:g,altBoundary:m}),A=$(e.placement),E=J(e.placement),C=!E,T=Q(A),O="x"===T?"y":"x",x=e.modifiersData.popperOffsets,k=e.rects.reference,L=e.rects.popper,S="function"==typeof y?y(Object.assign({},e.rects,{placement:e.placement})):y,D="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),P=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,j={x:0,y:0};if(x){if(h){var M,F="y"===T?i:o,W="y"===T?n:s,B="y"===T?"height":"width",z=x[T],R=z+w[F],q=z-w[W],V=b?-L[B]/2:0,Y=E===l?k[B]:L[B],U=E===l?-L[B]:-k[B],G=e.elements.arrow,Z=b&&G?H(G):{width:0,height:0},tt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[F],it=tt[W],nt=X(0,k[B],Z[B]),st=C?k[B]/2-V-nt-et-D.mainAxis:Y-nt-et-D.mainAxis,ot=C?-k[B]/2+V+nt+it+D.mainAxis:U+nt+it+D.mainAxis,rt=e.elements.arrow&&K(e.elements.arrow),at=rt?"y"===T?rt.clientTop||0:rt.clientLeft||0:0,lt=null!=(M=null==P?void 0:P[T])?M:0,ct=z+ot-lt,ht=X(b?N(R,z+st-lt-at):R,z,b?I(q,ct):q);x[T]=ht,j[T]=ht-z}if(d){var ut,dt="x"===T?i:o,ft="x"===T?n:s,pt=x[O],mt="y"===O?"height":"width",gt=pt+w[dt],bt=pt-w[ft],vt=-1!==[i,o].indexOf(A),yt=null!=(ut=null==P?void 0:P[O])?ut:0,wt=vt?gt:pt-k[mt]-L[mt]-yt+D.altAxis,At=vt?pt+k[mt]+L[mt]-yt-D.altAxis:bt,Et=b&&vt?function(t,e,i){var n=X(t,e,i);return n>i?i:n}(wt,pt,At):X(b?wt:gt,pt,b?At:bt);x[O]=Et,j[O]=Et-pt}e.modifiersData[a]=j}},requiresIfExists:["offset"]};function Tt(t,e,i){void 0===i&&(i=!1);var n,s,o=L(e),r=L(e)&&function(t){var e=t.getBoundingClientRect(),i=P(e.width)/t.offsetWidth||1,n=P(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=R(e),l=F(t,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==O(e)||ht(a))&&(c=(n=e)!==x(n)&&L(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:lt(n)),L(e)?((h=F(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=ct(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function Ot(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}var xt={placement:"bottom",modifiers:[],strategy:"absolute"};function kt(){for(var t=arguments.length,e=new Array(t),i=0;iIt.has(t)&&It.get(t).get(e)||null,remove(t,e){if(!It.has(t))return;const i=It.get(t);i.delete(e),0===i.size&&It.delete(t)}},Pt="transitionend",jt=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),Mt=t=>{t.dispatchEvent(new Event(Pt))},Ft=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),Ht=t=>Ft(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(jt(t)):null,Wt=t=>{if(!Ft(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},Bt=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),zt=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?zt(t.parentNode):null},Rt=()=>{},qt=t=>{t.offsetHeight},Vt=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Kt=[],Qt=()=>"rtl"===document.documentElement.dir,Xt=t=>{var e;e=()=>{const e=Vt();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(Kt.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of Kt)t()})),Kt.push(e)):e()},Yt=(t,e=[],i=t)=>"function"==typeof t?t(...e):i,Ut=(t,e,i=!0)=>{if(!i)return void Yt(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const o=({target:i})=>{i===e&&(s=!0,e.removeEventListener(Pt,o),Yt(t))};e.addEventListener(Pt,o),setTimeout((()=>{s||Mt(e)}),n)},Gt=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])},Jt=/[^.]*(?=\..*)\.|.*/,Zt=/\..*/,te=/::\d+$/,ee={},ie=1,ne={mouseenter:"mouseover",mouseleave:"mouseout"},se=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 oe(t,e){return e&&`${e}::${ie++}`||t.uidEvent||ie++}function re(t){const e=oe(t);return t.uidEvent=e,ee[e]=ee[e]||{},ee[e]}function ae(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function le(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=de(t);return se.has(o)||(o=t),[n,s,o]}function ce(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=le(e,i,n);if(e in ne){r=(t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)})(r)}const l=re(t),c=l[a]||(l[a]={}),h=ae(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const u=oe(r,e.replace(Jt,"")),d=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return pe(s,{delegateTarget:r}),n.oneOff&&fe.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return pe(n,{delegateTarget:t}),i.oneOff&&fe.off(t,n.type,e),e.apply(t,[n])}}(t,r);d.delegationSelector=o?i:null,d.callable=r,d.oneOff=s,d.uidEvent=u,c[u]=d,t.addEventListener(a,d,o)}function he(t,e,i,n,s){const o=ae(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function ue(t,e,i,n){const s=e[i]||{};for(const[o,r]of Object.entries(s))o.includes(n)&&he(t,e,i,r.callable,r.delegationSelector)}function de(t){return t=t.replace(Zt,""),ne[t]||t}var fe={on(t,e,i,n){ce(t,e,i,n,!1)},one(t,e,i,n){ce(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=le(e,i,n),a=r!==e,l=re(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))ue(t,l,i,e.slice(1));for(const[i,n]of Object.entries(c)){const s=i.replace(te,"");a&&!e.includes(s)||he(t,l,r,n.callable,n.delegationSelector)}}else{if(!Object.keys(c).length)return;he(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=Vt();let s=null,o=!0,r=!0,a=!1;e!==de(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());const l=pe(new Event(e,{bubbles:o,cancelable:!0}),i);return a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function pe(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}function me(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function ge(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}var _e={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${ge(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${ge(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=me(t.dataset[n])}return e},getDataAttribute:(t,e)=>me(t.getAttribute(`data-bs-${ge(e)}`))},be=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=Ft(e)?_e.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...Ft(e)?_e.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[n,s]of Object.entries(e)){const e=t[n],o=Ft(e)?"element":null==(i=e)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${s}".`)}var i}},ve=class extends be{constructor(t,e){super(),(t=Ht(t))&&(this._element=t,this._config=this._getConfig(e),Nt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Nt.remove(this._element,this.constructor.DATA_KEY),fe.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){Ut(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Nt.get(Ht(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},ye=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e?e.split(",").map((t=>jt(t))).join(","):null},we={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!Bt(t)&&Wt(t)))},getSelectorFromElement(t){const e=ye(t);return e&&we.findOne(e)?e:null},getElementFromSelector(t){const e=ye(t);return e?we.findOne(e):null},getMultipleElementsFromSelector(t){const e=ye(t);return e?we.find(e):[]}},Ae=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,n=t.NAME;fe.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Bt(this))return;const s=we.getElementFromSelector(this)||this.closest(`.${n}`);t.getOrCreateInstance(s)[e]()}))},Ee=".bs.alert",Ce=`close${Ee}`,Te=`closed${Ee}`,Oe=class t extends ve{static get NAME(){return"alert"}close(){if(fe.trigger(this._element,Ce).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),fe.trigger(this._element,Te),this.dispose()}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e](this)}}))}};Ae(Oe,"close"),Xt(Oe);var xe='[data-bs-toggle="button"]',ke=class t extends ve{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this);"toggle"===e&&i[e]()}))}};fe.on(document,"click.bs.button.data-api",xe,(t=>{t.preventDefault();const e=t.target.closest(xe);ke.getOrCreateInstance(e).toggle()})),Xt(ke);var Le=".bs.swipe",Se=`touchstart${Le}`,De=`touchmove${Le}`,$e=`touchend${Le}`,Ie=`pointerdown${Le}`,Ne=`pointerup${Le}`,Pe={endCallback:null,leftCallback:null,rightCallback:null},je={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},Me=class t extends be{constructor(e,i){super(),this._element=e,e&&t.isSupported()&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Pe}static get DefaultType(){return je}static get NAME(){return"swipe"}dispose(){fe.off(this._element,Le)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Yt(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&Yt(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(fe.on(this._element,Ie,(t=>this._start(t))),fe.on(this._element,Ne,(t=>this._end(t))),this._element.classList.add("pointer-event")):(fe.on(this._element,Se,(t=>this._start(t))),fe.on(this._element,De,(t=>this._move(t))),fe.on(this._element,$e,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}},Fe=".bs.carousel",He=".data-api",We="ArrowLeft",Be="ArrowRight",ze="next",Re="prev",qe="left",Ve="right",Ke=`slide${Fe}`,Qe=`slid${Fe}`,Xe=`keydown${Fe}`,Ye=`mouseenter${Fe}`,Ue=`mouseleave${Fe}`,Ge=`dragstart${Fe}`,Je=`load${Fe}${He}`,Ze=`click${Fe}${He}`,ti="carousel",ei="active",ii=".active",ni=".carousel-item",si=ii+ni,oi={[We]:Ve,[Be]:qe},ri={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ai={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},li=class t extends ve{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=we.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ti&&this.cycle()}static get Default(){return ri}static get DefaultType(){return ai}static get NAME(){return"carousel"}next(){this._slide(ze)}nextWhenVisible(){!document.hidden&&Wt(this._element)&&this.next()}prev(){this._slide(Re)}pause(){this._isSliding&&Mt(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?fe.one(this._element,Qe,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void fe.one(this._element,Qe,(()=>this.to(t)));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?ze:Re;this._slide(n,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&fe.on(this._element,Xe,(t=>this._keydown(t))),"hover"===this._config.pause&&(fe.on(this._element,Ye,(()=>this.pause())),fe.on(this._element,Ue,(()=>this._maybeEnableCycle()))),this._config.touch&&Me.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of we.find(".carousel-item img",this._element))fe.on(t,Ge,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(qe)),rightCallback:()=>this._slide(this._directionToOrder(Ve)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Me(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=oi[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=we.findOne(ii,this._indicatorsElement);e.classList.remove(ei),e.removeAttribute("aria-current");const i=we.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(ei),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),n=t===ze,s=e||Gt(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=e=>fe.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r(Ke).defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),qt(s),i.classList.add(l),s.classList.add(l);this._queueCallback((()=>{s.classList.remove(l,c),s.classList.add(ei),i.classList.remove(ei,c,l),this._isSliding=!1,r(Qe)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return we.findOne(si,this._element)}_getItems(){return we.find(ni,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Qt()?t===qe?Re:ze:t===qe?ze:Re}_orderToDirection(t){return Qt()?t===Re?qe:Ve:t===Re?Ve:qe}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e]()}}else i.to(e)}))}};fe.on(document,Ze,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=we.getElementFromSelector(this);if(!e||!e.classList.contains(ti))return;t.preventDefault();const i=li.getOrCreateInstance(e),n=this.getAttribute("data-bs-slide-to");return n?(i.to(n),void i._maybeEnableCycle()):"next"===_e.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),fe.on(window,Je,(()=>{const t=we.find('[data-bs-ride="carousel"]');for(const e of t)li.getOrCreateInstance(e)})),Xt(li);var ci=".bs.collapse",hi=`show${ci}`,ui=`shown${ci}`,di=`hide${ci}`,fi=`hidden${ci}`,pi=`click${ci}.data-api`,mi="show",gi="collapse",_i="collapsing",bi=`:scope .${gi} .${gi}`,vi='[data-bs-toggle="collapse"]',yi={parent:null,toggle:!0},wi={parent:"(null|element)",toggle:"boolean"},Ai=class t extends ve{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=we.find(vi);for(const t of i){const e=we.getSelectorFromElement(t),i=we.find(e).filter((t=>t===this._element));null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return yi}static get DefaultType(){return wi}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((e=>t.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(fe.trigger(this._element,hi).defaultPrevented)return;for(const t of e)t.hide();const i=this._getDimension();this._element.classList.remove(gi),this._element.classList.add(_i),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(_i),this._element.classList.add(gi,mi),this._element.style[i]="",fe.trigger(this._element,ui)}),this._element,!0),this._element.style[i]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(fe.trigger(this._element,di).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,qt(this._element),this._element.classList.add(_i),this._element.classList.remove(gi,mi);for(const t of this._triggerArray){const e=we.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(_i),this._element.classList.add(gi),fe.trigger(this._element,fi)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(mi)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=Ht(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(vi);for(const e of t){const t=we.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=we.find(bi,this._config.parent);return we.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(e){const i={};return"string"==typeof e&&/show|hide/.test(e)&&(i.toggle=!1),this.each((function(){const n=t.getOrCreateInstance(this,i);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}};fe.on(document,pi,vi,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of we.getMultipleElementsFromSelector(this))Ai.getOrCreateInstance(t,{toggle:!1}).toggle()})),Xt(Ai);var Ei="dropdown",Ci=".bs.dropdown",Ti=".data-api",Oi="ArrowUp",xi="ArrowDown",ki=`hide${Ci}`,Li=`hidden${Ci}`,Si=`show${Ci}`,Di=`shown${Ci}`,$i=`click${Ci}${Ti}`,Ii=`keydown${Ci}${Ti}`,Ni=`keyup${Ci}${Ti}`,Pi="show",ji='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Mi=`${ji}.${Pi}`,Fi=".dropdown-menu",Hi=Qt()?"top-end":"top-start",Wi=Qt()?"top-start":"top-end",Bi=Qt()?"bottom-end":"bottom-start",zi=Qt()?"bottom-start":"bottom-end",Ri=Qt()?"left-start":"right-start",qi=Qt()?"right-start":"left-start",Vi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Ki={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},Qi=class t extends ve{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=we.next(this._element,Fi)[0]||we.prev(this._element,Fi)[0]||we.findOne(Fi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Vi}static get DefaultType(){return Ki}static get NAME(){return Ei}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Bt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!fe.trigger(this._element,Si,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))fe.on(t,"mouseover",Rt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Pi),this._element.classList.add(Pi),fe.trigger(this._element,Di,t)}}hide(){if(Bt(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!fe.trigger(this._element,ki,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))fe.off(t,"mouseover",Rt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Pi),this._element.classList.remove(Pi),this._element.setAttribute("aria-expanded","false"),_e.removeDataAttribute(this._menu,"popper"),fe.trigger(this._element,Li,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!Ft(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Ei.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:Ft(this._config.reference)?t=Ht(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const i=this._getPopperConfig();this._popper=$t(t,this._menu,i)}_isShown(){return this._menu.classList.contains(Pi)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Ri;if(t.classList.contains("dropstart"))return qi;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Wi:Hi:e?zi:Bi}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(_e.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Yt(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const i=we.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>Wt(t)));i.length&&Gt(i,e,t===xi,!i.includes(e)).focus()}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const i=we.find(Mi);for(const n of i){const i=t.getInstance(n);if(!i||!1===i._config.autoClose)continue;const s=e.composedPath(),o=s.includes(i._menu);if(s.includes(i._element)||"inside"===i._config.autoClose&&!o||"outside"===i._config.autoClose&&o)continue;if(i._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const r={relatedTarget:i._element};"click"===e.type&&(r.clickEvent=e),i._completeHide(r)}}static dataApiKeydownHandler(e){const i=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,s=[Oi,xi].includes(e.key);if(!s&&!n)return;if(i&&!n)return;e.preventDefault();const o=this.matches(ji)?this:we.prev(this,ji)[0]||we.next(this,ji)[0]||we.findOne(ji,e.delegateTarget.parentNode),r=t.getOrCreateInstance(o);if(s)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),o.focus())}};fe.on(document,Ii,ji,Qi.dataApiKeydownHandler),fe.on(document,Ii,Fi,Qi.dataApiKeydownHandler),fe.on(document,$i,Qi.clearMenus),fe.on(document,Ni,Qi.clearMenus),fe.on(document,$i,ji,(function(t){t.preventDefault(),Qi.getOrCreateInstance(this).toggle()})),Xt(Qi);var Xi="backdrop",Yi="show",Ui=`mousedown.bs.${Xi}`,Gi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ji={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},Zi=class extends be{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Gi}static get DefaultType(){return Ji}static get NAME(){return Xi}show(t){if(!this._config.isVisible)return void Yt(t);this._append();const e=this._getElement();this._config.isAnimated&&qt(e),e.classList.add(Yi),this._emulateAnimation((()=>{Yt(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Yi),this._emulateAnimation((()=>{this.dispose(),Yt(t)}))):Yt(t)}dispose(){this._isAppended&&(fe.off(this._element,Ui),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Ht(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),fe.on(t,Ui,(()=>{Yt(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){Ut(t,this._getElement(),this._config.isAnimated)}},tn=".bs.focustrap",en=`focusin${tn}`,nn=`keydown.tab${tn}`,sn="backward",on={autofocus:!0,trapElement:null},rn={autofocus:"boolean",trapElement:"element"},an=class extends be{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return on}static get DefaultType(){return rn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),fe.off(document,tn),fe.on(document,en,(t=>this._handleFocusin(t))),fe.on(document,nn,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,fe.off(document,tn))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=we.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===sn?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?sn:"forward")}},ln=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",cn=".sticky-top",hn="padding-right",un="margin-right",dn=class{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,hn,(e=>e+t)),this._setElementAttributes(ln,hn,(e=>e+t)),this._setElementAttributes(cn,un,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,hn),this._resetElementAttributes(ln,hn),this._resetElementAttributes(cn,un)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&_e.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=_e.getDataAttribute(t,e);null!==i?(_e.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(Ft(t))e(t);else for(const i of we.find(t,this._element))e(i)}},fn=".bs.modal",pn=`hide${fn}`,mn=`hidePrevented${fn}`,gn=`hidden${fn}`,_n=`show${fn}`,bn=`shown${fn}`,vn=`resize${fn}`,yn=`click.dismiss${fn}`,wn=`mousedown.dismiss${fn}`,An=`keydown.dismiss${fn}`,En=`click${fn}.data-api`,Cn="modal-open",Tn="show",On="modal-static",xn={backdrop:!0,focus:!0,keyboard:!0},kn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},Ln=class t extends ve{constructor(t,e){super(t,e),this._dialog=we.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new dn,this._addEventListeners()}static get Default(){return xn}static get DefaultType(){return kn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;fe.trigger(this._element,_n,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Cn),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;fe.trigger(this._element,pn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Tn),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){fe.off(window,fn),fe.off(this._dialog,fn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Zi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new an({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=we.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),qt(this._element),this._element.classList.add(Tn);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,fe.trigger(this._element,bn,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){fe.on(this._element,An,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),fe.on(window,vn,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),fe.on(this._element,wn,(t=>{fe.one(this._element,yn,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Cn),this._resetAdjustments(),this._scrollBar.reset(),fe.trigger(this._element,gn)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(fe.trigger(this._element,mn).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(On)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(On),this._queueCallback((()=>{this._element.classList.remove(On),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=Qt()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=Qt()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,i){return this.each((function(){const n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](i)}}))}};fe.on(document,En,'[data-bs-toggle="modal"]',(function(t){const e=we.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),fe.one(e,_n,(t=>{t.defaultPrevented||fe.one(e,gn,(()=>{Wt(this)&&this.focus()}))}));const i=we.findOne(".modal.show");i&&Ln.getInstance(i).hide();Ln.getOrCreateInstance(e).toggle(this)})),Ae(Ln),Xt(Ln);var Sn=".bs.offcanvas",Dn=".data-api",$n=`load${Sn}${Dn}`,In="show",Nn="showing",Pn="hiding",jn=".offcanvas.show",Mn=`show${Sn}`,Fn=`shown${Sn}`,Hn=`hide${Sn}`,Wn=`hidePrevented${Sn}`,Bn=`hidden${Sn}`,zn=`resize${Sn}`,Rn=`click${Sn}${Dn}`,qn=`keydown.dismiss${Sn}`,Vn={backdrop:!0,keyboard:!0,scroll:!1},Kn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},Qn=class t extends ve{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Vn}static get DefaultType(){return Kn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(fe.trigger(this._element,Mn,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new dn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Nn);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(In),this._element.classList.remove(Nn),fe.trigger(this._element,Fn,{relatedTarget:t})}),this._element,!0)}hide(){if(!this._isShown)return;if(fe.trigger(this._element,Hn).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Pn),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(In,Pn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new dn).reset(),fe.trigger(this._element,Bn)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Zi({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():fe.trigger(this._element,Wn)}:null})}_initializeFocusTrap(){return new an({trapElement:this._element})}_addEventListeners(){fe.on(this._element,qn,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():fe.trigger(this._element,Wn))}))}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e](this)}}))}};fe.on(document,Rn,'[data-bs-toggle="offcanvas"]',(function(t){const e=we.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Bt(this))return;fe.one(e,Bn,(()=>{Wt(this)&&this.focus()}));const i=we.findOne(jn);i&&i!==e&&Qn.getInstance(i).hide();Qn.getOrCreateInstance(e).toggle(this)})),fe.on(window,$n,(()=>{for(const t of we.find(jn))Qn.getOrCreateInstance(t).show()})),fe.on(window,zn,(()=>{for(const t of we.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Qn.getOrCreateInstance(t).hide()})),Ae(Qn),Xt(Qn);var Xn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Yn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Un=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Gn=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Yn.has(i)||Boolean(Un.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))};var Jn={allowList:Xn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Zn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ts={entry:"(string|element|function|null)",selector:"(string|element)"},es=class extends be{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Jn}static get DefaultType(){return Zn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content))this._setContent(t,i,e);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},ts)}_setContent(t,e,i){const n=we.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?Ft(e)?this._putElementInTemplate(Ht(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes),s=[].concat(e["*"]||[],e[i]||[]);for(const e of n)Gn(e,s)||t.removeAttribute(e.nodeName)}return n.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Yt(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}},is=new Set(["sanitize","allowList","sanitizeFn"]),ns="fade",ss="show",os=".tooltip-inner",rs=".modal",as="hide.bs.modal",ls="hover",cs="focus",hs={AUTO:"auto",TOP:"top",RIGHT:Qt()?"left":"right",BOTTOM:"bottom",LEFT:Qt()?"right":"left"},us={allowList:Xn,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"},ds={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"},fs=class t extends ve{constructor(t,i){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,i),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 us}static get DefaultType(){return ds}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),fe.off(this._element.closest(rs),as,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("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=fe.trigger(this._element,this.constructor.eventName("show")),e=(zt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),fe.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(ss),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))fe.on(t,"mouseover",Rt);this._queueCallback((()=>{fe.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(fe.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(ss),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))fe.off(t,"mouseover",Rt);this._activeTrigger.click=!1,this._activeTrigger[cs]=!1,this._activeTrigger[ls]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),fe.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(ns,ss),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(ns),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new es({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[os]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ns)}_isShown(){return this.tip&&this.tip.classList.contains(ss)}_createPopper(t){const e=Yt(this._config.placement,[this,t,this._element]),i=hs[e.toUpperCase()];return $t(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return Yt(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...Yt(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)fe.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===ls?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===ls?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");fe.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?cs:ls]=!0,e._enter()})),fe.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?cs:ls]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},fe.on(this._element.closest(rs),as,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=_e.getDataAttributes(this._element);for(const t of Object.keys(e))is.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:Ht(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config))this.constructor.Default[e]!==i&&(t[e]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}};Xt(fs);var ps=".popover-header",ms=".popover-body",gs={...fs.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},_s={...fs.DefaultType,content:"(null|string|element|function)"};Xt(class t extends fs{static get Default(){return gs}static get DefaultType(){return _s}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[ps]:this._getTitle(),[ms]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}});var bs=".bs.scrollspy",vs=`activate${bs}`,ys=`click${bs}`,ws=`load${bs}.data-api`,As="active",Es="[href]",Cs=".nav-link",Ts=`${Cs}, .nav-item > ${Cs}, .list-group-item`,Os={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},xs={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},ks=class t extends ve{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Os}static get DefaultType(){return xs}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Ht(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(fe.off(this._config.target,ys),fe.on(this._config.target,ys,Es,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=we.find(Es,this._config.target);for(const e of t){if(!e.hash||Bt(e))continue;const t=we.findOne(decodeURI(e.hash),this._element);Wt(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(As),this._activateParents(t),fe.trigger(this._element,vs,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))we.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(As);else for(const e of we.parents(t,".nav, .list-group"))for(const t of we.prev(e,Ts))t.classList.add(As)}_clearActiveClass(t){t.classList.remove(As);const e=we.find(`${Es}.${As}`,t);for(const t of e)t.classList.remove(As)}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e]()}}))}};fe.on(window,ws,(()=>{for(const t of we.find('[data-bs-spy="scroll"]'))ks.getOrCreateInstance(t)})),Xt(ks);var Ls=".bs.tab",Ss=`hide${Ls}`,Ds=`hidden${Ls}`,$s=`show${Ls}`,Is=`shown${Ls}`,Ns=`click${Ls}`,Ps=`keydown${Ls}`,js=`load${Ls}`,Ms="ArrowLeft",Fs="ArrowRight",Hs="ArrowUp",Ws="ArrowDown",Bs="Home",zs="End",Rs="active",qs="fade",Vs="show",Ks=".dropdown-toggle",Qs=`:not(${Ks})`,Xs='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ys=`${`.nav-link${Qs}, .list-group-item${Qs}, [role="tab"]${Qs}`}, ${Xs}`,Us=`.${Rs}[data-bs-toggle="tab"], .${Rs}[data-bs-toggle="pill"], .${Rs}[data-bs-toggle="list"]`,Gs=class t extends ve{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),fe.on(this._element,Ps,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?fe.trigger(e,Ss,{relatedTarget:t}):null;fe.trigger(t,$s,{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(Rs),this._activate(we.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),fe.trigger(t,Is,{relatedTarget:e})):t.classList.add(Vs)}),t,t.classList.contains(qs))}_deactivate(t,e){if(!t)return;t.classList.remove(Rs),t.blur(),this._deactivate(we.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),fe.trigger(t,Ds,{relatedTarget:e})):t.classList.remove(Vs)}),t,t.classList.contains(qs))}_keydown(e){if(![Ms,Fs,Hs,Ws,Bs,zs].includes(e.key))return;e.stopPropagation(),e.preventDefault();const i=this._getChildren().filter((t=>!Bt(t)));let n;if([Bs,zs].includes(e.key))n=i[e.key===Bs?0:i.length-1];else{const t=[Fs,Ws].includes(e.key);n=Gt(i,e.target,t,!0)}n&&(n.focus({preventScroll:!0}),t.getOrCreateInstance(n).show())}_getChildren(){return we.find(Ys,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=we.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const s=we.findOne(t,i);s&&s.classList.toggle(n,e)};n(Ks,Rs),n(".dropdown-menu",Vs),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(Rs)}_getInnerElement(t){return t.matches(Ys)?t:we.findOne(Ys,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this);if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);i[e]()}}))}};fe.on(document,Ns,Xs,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),Bt(this)||Gs.getOrCreateInstance(this).show()})),fe.on(window,js,(()=>{for(const t of we.find(Us))Gs.getOrCreateInstance(t)})),Xt(Gs);var Js=".bs.toast",Zs=`mouseover${Js}`,to=`mouseout${Js}`,eo=`focusin${Js}`,io=`focusout${Js}`,no=`hide${Js}`,so=`hidden${Js}`,oo=`show${Js}`,ro=`shown${Js}`,ao="hide",lo="show",co="showing",ho={animation:"boolean",autohide:"boolean",delay:"number"},uo={animation:!0,autohide:!0,delay:5e3},fo=class t extends ve{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return uo}static get DefaultType(){return ho}static get NAME(){return"toast"}show(){if(fe.trigger(this._element,oo).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(ao),qt(this._element),this._element.classList.add(lo,co),this._queueCallback((()=>{this._element.classList.remove(co),fe.trigger(this._element,ro),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(fe.trigger(this._element,no).defaultPrevented)return;this._element.classList.add(co),this._queueCallback((()=>{this._element.classList.add(ao),this._element.classList.remove(co,lo),fe.trigger(this._element,so)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(lo),super.dispose()}isShown(){return this._element.classList.contains(lo)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){fe.on(this._element,Zs,(t=>this._onInteraction(t,!0))),fe.on(this._element,to,(t=>this._onInteraction(t,!1))),fe.on(this._element,eo,(t=>this._onInteraction(t,!0))),fe.on(this._element,io,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](this)}}))}};Ae(fo),Xt(fo);[...document.querySelectorAll('[data-bs-toggle="dropdown"]')].map((t=>new Qi(t))),[...document.querySelectorAll('[data-bs-toggle="collapse"]')].map((t=>new Ai(t)))})(); +(()=>{var t=Object.defineProperty,e={};((e,n)=>{for(var i in n)t(e,i,{get:n[i],enumerable:!0})})(e,{afterMain:()=>w,afterRead:()=>v,afterWrite:()=>C,applyStyles:()=>D,arrow:()=>G,auto:()=>s,basePlacements:()=>a,beforeMain:()=>b,beforeRead:()=>m,beforeWrite:()=>E,bottom:()=>i,clippingParents:()=>u,computeStyles:()=>et,createPopper:()=>Pt,createPopperBase:()=>Lt,createPopperLite:()=>Dt,detectOverflow:()=>_t,end:()=>c,eventListeners:()=>it,flip:()=>vt,hide:()=>wt,left:()=>r,main:()=>y,modifierPhases:()=>x,offset:()=>Et,placements:()=>g,popper:()=>f,popperGenerator:()=>St,popperOffsets:()=>At,preventOverflow:()=>Ct,read:()=>_,reference:()=>h,right:()=>o,start:()=>l,top:()=>n,variationPlacements:()=>p,viewport:()=>d,write:()=>A});var n="top",i="bottom",o="right",r="left",s="auto",a=[n,i,o,r],l="start",c="end",u="clippingParents",d="viewport",f="popper",h="reference",p=a.reduce((function(t,e){return t.concat([e+"-"+l,e+"-"+c])}),[]),g=[].concat(a,[s]).reduce((function(t,e){return t.concat([e,e+"-"+l,e+"-"+c])}),[]),m="beforeRead",_="read",v="afterRead",b="beforeMain",y="main",w="afterMain",E="beforeWrite",A="write",C="afterWrite",x=[m,_,v,b,y,w,E,A,C];function T(t){return t?(t.nodeName||"").toLowerCase():null}function k(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function O(t){return t instanceof k(t).Element||t instanceof Element}function S(t){return t instanceof k(t).HTMLElement||t instanceof HTMLElement}function L(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}var D={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];S(o)&&T(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});S(i)&&T(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};function P(t){return t.split("-")[0]}var I=Math.max,N=Math.min,$=Math.round;function M(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function j(){return!/^((?!chrome|android).)*safari/i.test(M())}function F(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),o=1,r=1;e&&S(t)&&(o=t.offsetWidth>0&&$(i.width)/t.offsetWidth||1,r=t.offsetHeight>0&&$(i.height)/t.offsetHeight||1);var s=(O(t)?k(t):window).visualViewport,a=!j()&&n,l=(i.left+(a&&s?s.offsetLeft:0))/o,c=(i.top+(a&&s?s.offsetTop:0))/r,u=i.width/o,d=i.height/r;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function z(t){var e=F(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function H(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&L(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function W(t){return k(t).getComputedStyle(t)}function R(t){return["table","td","th"].indexOf(T(t))>=0}function B(t){return((O(t)?t.ownerDocument:t.document)||window.document).documentElement}function q(t){return"html"===T(t)?t:t.assignedSlot||t.parentNode||(L(t)?t.host:null)||B(t)}function V(t){return S(t)&&"fixed"!==W(t).position?t.offsetParent:null}function X(t){for(var e=k(t),n=V(t);n&&R(n)&&"static"===W(n).position;)n=V(n);return n&&("html"===T(n)||"body"===T(n)&&"static"===W(n).position)?e:n||function(t){var e=/firefox/i.test(M());if(/Trident/i.test(M())&&S(t)&&"fixed"===W(t).position)return null;var n=q(t);for(L(n)&&(n=n.host);S(n)&&["html","body"].indexOf(T(n))<0;){var i=W(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function K(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t,e,n){return I(t,N(e,n))}function U(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Q(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}var G={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,s=t.state,l=t.name,c=t.options,u=s.elements.arrow,d=s.modifiersData.popperOffsets,f=P(s.placement),h=K(f),p=[r,o].indexOf(f)>=0?"height":"width";if(u&&d){var g=function(t,e){return U("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Q(t,a))}(c.padding,s),m=z(u),_="y"===h?n:r,v="y"===h?i:o,b=s.rects.reference[p]+s.rects.reference[h]-d[h]-s.rects.popper[p],y=d[h]-s.rects.reference[h],w=X(u),E=w?"y"===h?w.clientHeight||0:w.clientWidth||0:0,A=b/2-y/2,C=g[_],x=E-m[p]-g[v],T=E/2-m[p]/2+A,k=Y(C,T,x),O=h;s.modifiersData[l]=((e={})[O]=k,e.centerOffset=k-T,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&H(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function J(t){return t.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tt(t){var e,s=t.popper,a=t.popperRect,l=t.placement,u=t.variation,d=t.offsets,f=t.position,h=t.gpuAcceleration,p=t.adaptive,g=t.roundOffsets,m=t.isFixed,_=d.x,v=void 0===_?0:_,b=d.y,y=void 0===b?0:b,w="function"==typeof g?g({x:v,y:y}):{x:v,y:y};v=w.x,y=w.y;var E=d.hasOwnProperty("x"),A=d.hasOwnProperty("y"),C=r,x=n,T=window;if(p){var O=X(s),S="clientHeight",L="clientWidth";if(O===k(s)&&"static"!==W(O=B(s)).position&&"absolute"===f&&(S="scrollHeight",L="scrollWidth"),l===n||(l===r||l===o)&&u===c)x=i,y-=(m&&O===T&&T.visualViewport?T.visualViewport.height:O[S])-a.height,y*=h?1:-1;if(l===r||(l===n||l===i)&&u===c)C=o,v-=(m&&O===T&&T.visualViewport?T.visualViewport.width:O[L])-a.width,v*=h?1:-1}var D,P=Object.assign({position:f},p&&Z),I=!0===g?function(t,e){var n=t.x,i=t.y,o=e.devicePixelRatio||1;return{x:$(n*o)/o||0,y:$(i*o)/o||0}}({x:v,y:y},k(s)):{x:v,y:y};return v=I.x,y=I.y,h?Object.assign({},P,((D={})[x]=A?"0":"",D[C]=E?"0":"",D.transform=(T.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",D)):Object.assign({},P,((e={})[x]=A?y+"px":"",e[C]=E?v+"px":"",e.transform="",e))}var et={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,l=void 0===a||a,c={placement:P(e.placement),variation:J(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,tt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,tt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},nt={passive:!0};var it={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,l=k(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach((function(t){t.addEventListener("scroll",n.update,nt)})),a&&l.addEventListener("resize",n.update,nt),function(){r&&c.forEach((function(t){t.removeEventListener("scroll",n.update,nt)})),a&&l.removeEventListener("resize",n.update,nt)}},data:{}},ot={left:"right",right:"left",bottom:"top",top:"bottom"};function rt(t){return t.replace(/left|right|bottom|top/g,(function(t){return ot[t]}))}var st={start:"end",end:"start"};function at(t){return t.replace(/start|end/g,(function(t){return st[t]}))}function lt(t){var e=k(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ct(t){return F(B(t)).left+lt(t).scrollLeft}function ut(t){var e=W(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function dt(t){return["html","body","#document"].indexOf(T(t))>=0?t.ownerDocument.body:S(t)&&ut(t)?t:dt(q(t))}function ft(t,e){var n;void 0===e&&(e=[]);var i=dt(t),o=i===(null==(n=t.ownerDocument)?void 0:n.body),r=k(i),s=o?[r].concat(r.visualViewport||[],ut(i)?i:[]):i,a=e.concat(s);return o?a:a.concat(ft(q(s)))}function ht(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function pt(t,e,n){return e===d?ht(function(t,e){var n=k(t),i=B(t),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var c=j();(c||!c&&"fixed"===e)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+ct(t),y:l}}(t,n)):O(e)?function(t,e){var n=F(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):ht(function(t){var e,n=B(t),i=lt(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=I(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=I(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+ct(t),l=-i.scrollTop;return"rtl"===W(o||n).direction&&(a+=I(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(B(t)))}function gt(t,e,n,i){var o="clippingParents"===e?function(t){var e=ft(q(t)),n=["absolute","fixed"].indexOf(W(t).position)>=0&&S(t)?X(t):t;return O(n)?e.filter((function(t){return O(t)&&H(t,n)&&"body"!==T(t)})):[]}(t):[].concat(e),r=[].concat(o,[n]),s=r[0],a=r.reduce((function(e,n){var o=pt(t,n,i);return e.top=I(o.top,e.top),e.right=N(o.right,e.right),e.bottom=N(o.bottom,e.bottom),e.left=I(o.left,e.left),e}),pt(t,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function mt(t){var e,s=t.reference,a=t.element,u=t.placement,d=u?P(u):null,f=u?J(u):null,h=s.x+s.width/2-a.width/2,p=s.y+s.height/2-a.height/2;switch(d){case n:e={x:h,y:s.y-a.height};break;case i:e={x:h,y:s.y+s.height};break;case o:e={x:s.x+s.width,y:p};break;case r:e={x:s.x-a.width,y:p};break;default:e={x:s.x,y:s.y}}var g=d?K(d):null;if(null!=g){var m="y"===g?"height":"width";switch(f){case l:e[g]=e[g]-(s[m]/2-a[m]/2);break;case c:e[g]=e[g]+(s[m]/2-a[m]/2)}}return e}function _t(t,e){void 0===e&&(e={});var r=e,s=r.placement,l=void 0===s?t.placement:s,c=r.strategy,p=void 0===c?t.strategy:c,g=r.boundary,m=void 0===g?u:g,_=r.rootBoundary,v=void 0===_?d:_,b=r.elementContext,y=void 0===b?f:b,w=r.altBoundary,E=void 0!==w&&w,A=r.padding,C=void 0===A?0:A,x=U("number"!=typeof C?C:Q(C,a)),T=y===f?h:f,k=t.rects.popper,S=t.elements[E?T:y],L=gt(O(S)?S:S.contextElement||B(t.elements.popper),m,v,p),D=F(t.elements.reference),P=mt({reference:D,element:k,strategy:"absolute",placement:l}),I=ht(Object.assign({},k,P)),N=y===f?I:D,$={top:L.top-N.top+x.top,bottom:N.bottom-L.bottom+x.bottom,left:L.left-N.left+x.left,right:N.right-L.right+x.right},M=t.modifiersData.offset;if(y===f&&M){var j=M[l];Object.keys($).forEach((function(t){var e=[o,i].indexOf(t)>=0?1:-1,r=[n,i].indexOf(t)>=0?"y":"x";$[t]+=j[r]*e}))}return $}var vt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,c=t.options,u=t.name;if(!e.modifiersData[u]._skip){for(var d=c.mainAxis,f=void 0===d||d,h=c.altAxis,m=void 0===h||h,_=c.fallbackPlacements,v=c.padding,b=c.boundary,y=c.rootBoundary,w=c.altBoundary,E=c.flipVariations,A=void 0===E||E,C=c.allowedAutoPlacements,x=e.options.placement,T=P(x),k=_||(T===x||!A?[rt(x)]:function(t){if(P(t)===s)return[];var e=rt(t);return[at(t),e,at(e)]}(x)),O=[x].concat(k).reduce((function(t,n){return t.concat(P(n)===s?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?g:c,d=J(i),f=d?l?p:p.filter((function(t){return J(t)===d})):a,h=f.filter((function(t){return u.indexOf(t)>=0}));0===h.length&&(h=f);var m=h.reduce((function(e,n){return e[n]=_t(t,{placement:n,boundary:o,rootBoundary:r,padding:s})[P(n)],e}),{});return Object.keys(m).sort((function(t,e){return m[t]-m[e]}))}(e,{placement:n,boundary:b,rootBoundary:y,padding:v,flipVariations:A,allowedAutoPlacements:C}):n)}),[]),S=e.rects.reference,L=e.rects.popper,D=new Map,I=!0,N=O[0],$=0;$=0,H=z?"width":"height",W=_t(e,{placement:M,boundary:b,rootBoundary:y,altBoundary:w,padding:v}),R=z?F?o:r:F?i:n;S[H]>L[H]&&(R=rt(R));var B=rt(R),q=[];if(f&&q.push(W[j]<=0),m&&q.push(W[R]<=0,W[B]<=0),q.every((function(t){return t}))){N=M,I=!1;break}D.set(M,q)}if(I)for(var V=function(t){var e=O.find((function(e){var n=D.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return N=e,"break"},X=A?3:1;X>0;X--){if("break"===V(X))break}e.placement!==N&&(e.modifiersData[u]._skip=!0,e.placement=N,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function bt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function yt(t){return[n,o,i,r].some((function(e){return t[e]>=0}))}var wt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=_t(e,{elementContext:"reference"}),a=_t(e,{altBoundary:!0}),l=bt(s,i),c=bt(a,o,r),u=yt(l),d=yt(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var Et={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,s=t.name,a=i.offset,l=void 0===a?[0,0]:a,c=g.reduce((function(t,i){return t[i]=function(t,e,i){var s=P(t),a=[r,n].indexOf(s)>=0?-1:1,l="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=l[0],u=l[1];return c=c||0,u=(u||0)*a,[r,o].indexOf(s)>=0?{x:u,y:c}:{x:c,y:u}}(i,e.rects,l),t}),{}),u=c[e.placement],d=u.x,f=u.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=f),e.modifiersData[s]=c}};var At={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=mt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var Ct={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,s=t.options,a=t.name,c=s.mainAxis,u=void 0===c||c,d=s.altAxis,f=void 0!==d&&d,h=s.boundary,p=s.rootBoundary,g=s.altBoundary,m=s.padding,_=s.tether,v=void 0===_||_,b=s.tetherOffset,y=void 0===b?0:b,w=_t(e,{boundary:h,rootBoundary:p,padding:m,altBoundary:g}),E=P(e.placement),A=J(e.placement),C=!A,x=K(E),T="x"===x?"y":"x",k=e.modifiersData.popperOffsets,O=e.rects.reference,S=e.rects.popper,L="function"==typeof y?y(Object.assign({},e.rects,{placement:e.placement})):y,D="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),$=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,M={x:0,y:0};if(k){if(u){var j,F="y"===x?n:r,H="y"===x?i:o,W="y"===x?"height":"width",R=k[x],B=R+w[F],q=R-w[H],V=v?-S[W]/2:0,U=A===l?O[W]:S[W],Q=A===l?-S[W]:-O[W],G=e.elements.arrow,Z=v&&G?z(G):{width:0,height:0},tt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[F],nt=tt[H],it=Y(0,O[W],Z[W]),ot=C?O[W]/2-V-it-et-D.mainAxis:U-it-et-D.mainAxis,rt=C?-O[W]/2+V+it+nt+D.mainAxis:Q+it+nt+D.mainAxis,st=e.elements.arrow&&X(e.elements.arrow),at=st?"y"===x?st.clientTop||0:st.clientLeft||0:0,lt=null!=(j=null==$?void 0:$[x])?j:0,ct=R+rt-lt,ut=Y(v?N(B,R+ot-lt-at):B,R,v?I(q,ct):q);k[x]=ut,M[x]=ut-R}if(f){var dt,ft="x"===x?n:r,ht="x"===x?i:o,pt=k[T],gt="y"===T?"height":"width",mt=pt+w[ft],vt=pt-w[ht],bt=-1!==[n,r].indexOf(E),yt=null!=(dt=null==$?void 0:$[T])?dt:0,wt=bt?mt:pt-O[gt]-S[gt]-yt+D.altAxis,Et=bt?pt+O[gt]+S[gt]-yt-D.altAxis:vt,At=v&&bt?function(t,e,n){var i=Y(t,e,n);return i>n?n:i}(wt,pt,Et):Y(v?wt:mt,pt,v?Et:vt);k[T]=At,M[T]=At-pt}e.modifiersData[a]=M}},requiresIfExists:["offset"]};function xt(t,e,n){void 0===n&&(n=!1);var i,o,r=S(e),s=S(e)&&function(t){var e=t.getBoundingClientRect(),n=$(e.width)/t.offsetWidth||1,i=$(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),a=B(e),l=F(t,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==T(e)||ut(a))&&(c=(i=e)!==k(i)&&S(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:lt(i)),S(e)?((u=F(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):a&&(u.x=ct(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Tt(t){var e=new Map,n=new Set,i=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&o(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||o(t)})),i}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function Ot(){for(var t=arguments.length,e=new Array(t),n=0;nIt.has(t)&&It.get(t).get(e)||null,remove(t,e){if(!It.has(t))return;const n=It.get(t);n.delete(e),0===n.size&&It.delete(t)}},$t="transitionend",Mt=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),jt=t=>{t.dispatchEvent(new Event($t))},Ft=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),zt=t=>Ft(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(Mt(t)):null,Ht=t=>{if(!Ft(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const e=t.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return e},Wt=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),Rt=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Rt(t.parentNode):null},Bt=()=>{},qt=t=>{t.offsetHeight},Vt=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Xt=[],Kt=()=>"rtl"===document.documentElement.dir,Yt=t=>{var e;e=()=>{const e=Vt();if(e){const n=t.NAME,i=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=i,t.jQueryInterface)}},"loading"===document.readyState?(Xt.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of Xt)t()})),Xt.push(e)):e()},Ut=(t,e=[],n=t)=>"function"==typeof t?t(...e):n,Qt=(t,e,n=!0)=>{if(!n)return void Ut(t);const i=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const i=Number.parseFloat(e),o=Number.parseFloat(n);return i||o?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0})(e)+5;let o=!1;const r=({target:n})=>{n===e&&(o=!0,e.removeEventListener($t,r),Ut(t))};e.addEventListener($t,r),setTimeout((()=>{o||jt(e)}),i)},Gt=(t,e,n,i)=>{const o=t.length;let r=t.indexOf(e);return-1===r?!n&&i?t[o-1]:t[0]:(r+=n?1:-1,i&&(r=(r+o)%o),t[Math.max(0,Math.min(r,o-1))])},Jt=/[^.]*(?=\..*)\.|.*/,Zt=/\..*/,te=/::\d+$/,ee={},ne=1,ie={mouseenter:"mouseover",mouseleave:"mouseout"},oe=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 re(t,e){return e&&`${e}::${ne++}`||t.uidEvent||ne++}function se(t){const e=re(t);return t.uidEvent=e,ee[e]=ee[e]||{},ee[e]}function ae(t,e,n=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===n))}function le(t,e,n){const i="string"==typeof e,o=i?n:e||n;let r=fe(t);return oe.has(r)||(r=t),[i,o,r]}function ce(t,e,n,i,o){if("string"!=typeof e||!t)return;let[r,s,a]=le(e,n,i);if(e in ie){s=(t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)})(s)}const l=se(t),c=l[a]||(l[a]={}),u=ae(c,s,r?n:null);if(u)return void(u.oneOff=u.oneOff&&o);const d=re(s,e.replace(Jt,"")),f=r?function(t,e,n){return function i(o){const r=t.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of r)if(a===s)return pe(o,{delegateTarget:s}),i.oneOff&&he.off(t,o.type,e,n),n.apply(s,[o])}}(t,n,s):function(t,e){return function n(i){return pe(i,{delegateTarget:t}),n.oneOff&&he.off(t,i.type,e),e.apply(t,[i])}}(t,s);f.delegationSelector=r?n:null,f.callable=s,f.oneOff=o,f.uidEvent=d,c[d]=f,t.addEventListener(a,f,r)}function ue(t,e,n,i,o){const r=ae(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}function de(t,e,n,i){const o=e[n]||{};for(const[r,s]of Object.entries(o))r.includes(i)&&ue(t,e,n,s.callable,s.delegationSelector)}function fe(t){return t=t.replace(Zt,""),ie[t]||t}var he={on(t,e,n,i){ce(t,e,n,i,!1)},one(t,e,n,i){ce(t,e,n,i,!0)},off(t,e,n,i){if("string"!=typeof e||!t)return;const[o,r,s]=le(e,n,i),a=s!==e,l=se(t),c=l[s]||{},u=e.startsWith(".");if(void 0===r){if(u)for(const n of Object.keys(l))de(t,l,n,e.slice(1));for(const[n,i]of Object.entries(c)){const o=n.replace(te,"");a&&!e.includes(o)||ue(t,l,s,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;ue(t,l,s,r,o?n:null)}},trigger(t,e,n){if("string"!=typeof e||!t)return null;const i=Vt();let o=null,r=!0,s=!0,a=!1;e!==fe(e)&&i&&(o=i.Event(e,n),i(t).trigger(o),r=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),a=o.isDefaultPrevented());const l=pe(new Event(e,{bubbles:r,cancelable:!0}),n);return a&&l.preventDefault(),s&&t.dispatchEvent(l),l.defaultPrevented&&o&&o.preventDefault(),l}};function pe(t,e={}){for(const[n,i]of Object.entries(e))try{t[n]=i}catch(e){Object.defineProperty(t,n,{configurable:!0,get:()=>i})}return t}function ge(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function me(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}var _e={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${me(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${me(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=ge(t.dataset[i])}return e},getDataAttribute:(t,e)=>ge(t.getAttribute(`data-bs-${me(e)}`))},ve=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=Ft(e)?_e.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...Ft(e)?_e.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[i,o]of Object.entries(e)){const e=t[i],r=Ft(e)?"element":null==(n=e)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${o}".`)}var n}},be=class extends ve{constructor(t,e){super(),(t=zt(t))&&(this._element=t,this._config=this._getConfig(e),Nt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Nt.remove(this._element,this.constructor.DATA_KEY),he.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){Qt(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Nt.get(zt(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}},ye=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e?e.split(",").map((t=>Mt(t))).join(","):null},we={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const n=[];let i=t.parentNode.closest(e);for(;i;)n.push(i),i=i.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!Wt(t)&&Ht(t)))},getSelectorFromElement(t){const e=ye(t);return e&&we.findOne(e)?e:null},getElementFromSelector(t){const e=ye(t);return e?we.findOne(e):null},getMultipleElementsFromSelector(t){const e=ye(t);return e?we.find(e):[]}},Ee=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,i=t.NAME;he.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Wt(this))return;const o=we.getElementFromSelector(this)||this.closest(`.${i}`);t.getOrCreateInstance(o)[e]()}))},Ae=".bs.alert",Ce=`close${Ae}`,xe=`closed${Ae}`,Te=class t extends be{static get NAME(){return"alert"}close(){if(he.trigger(this._element,Ce).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),he.trigger(this._element,xe),this.dispose()}static jQueryInterface(e){return this.each((function(){const n=t.getOrCreateInstance(this);if("string"==typeof e){if(void 0===n[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);n[e](this)}}))}};Ee(Te,"close"),Yt(Te);var ke='[data-bs-toggle="button"]',Oe=class t extends be{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const n=t.getOrCreateInstance(this);"toggle"===e&&n[e]()}))}};he.on(document,"click.bs.button.data-api",ke,(t=>{t.preventDefault();const e=t.target.closest(ke);Oe.getOrCreateInstance(e).toggle()})),Yt(Oe);var Se=".bs.swipe",Le=`touchstart${Se}`,De=`touchmove${Se}`,Pe=`touchend${Se}`,Ie=`pointerdown${Se}`,Ne=`pointerup${Se}`,$e={endCallback:null,leftCallback:null,rightCallback:null},Me={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},je=class t extends ve{constructor(e,n){super(),this._element=e,e&&t.isSupported()&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return $e}static get DefaultType(){return Me}static get NAME(){return"swipe"}dispose(){he.off(this._element,Se)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Ut(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&Ut(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(he.on(this._element,Ie,(t=>this._start(t))),he.on(this._element,Ne,(t=>this._end(t))),this._element.classList.add("pointer-event")):(he.on(this._element,Le,(t=>this._start(t))),he.on(this._element,De,(t=>this._move(t))),he.on(this._element,Pe,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}},Fe=".bs.carousel",ze=".data-api",He="ArrowLeft",We="ArrowRight",Re="next",Be="prev",qe="left",Ve="right",Xe=`slide${Fe}`,Ke=`slid${Fe}`,Ye=`keydown${Fe}`,Ue=`mouseenter${Fe}`,Qe=`mouseleave${Fe}`,Ge=`dragstart${Fe}`,Je=`load${Fe}${ze}`,Ze=`click${Fe}${ze}`,tn="carousel",en="active",nn=".active",on=".carousel-item",rn=nn+on,sn={[He]:Ve,[We]:qe},an={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ln={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},cn=class t extends be{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=we.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===tn&&this.cycle()}static get Default(){return an}static get DefaultType(){return ln}static get NAME(){return"carousel"}next(){this._slide(Re)}nextWhenVisible(){!document.hidden&&Ht(this._element)&&this.next()}prev(){this._slide(Be)}pause(){this._isSliding&&jt(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?he.one(this._element,Ke,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void he.one(this._element,Ke,(()=>this.to(t)));const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?Re:Be;this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&he.on(this._element,Ye,(t=>this._keydown(t))),"hover"===this._config.pause&&(he.on(this._element,Ue,(()=>this.pause())),he.on(this._element,Qe,(()=>this._maybeEnableCycle()))),this._config.touch&&je.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of we.find(".carousel-item img",this._element))he.on(t,Ge,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(qe)),rightCallback:()=>this._slide(this._directionToOrder(Ve)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new je(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=sn[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=we.findOne(nn,this._indicatorsElement);e.classList.remove(en),e.removeAttribute("aria-current");const n=we.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(en),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const n=this._getActive(),i=t===Re,o=e||Gt(this._getItems(),n,i,this._config.wrap);if(o===n)return;const r=this._getItemIndex(o),s=e=>he.trigger(this._element,e,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:r});if(s(Xe).defaultPrevented)return;if(!n||!o)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=o;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";o.classList.add(c),qt(o),n.classList.add(l),o.classList.add(l);this._queueCallback((()=>{o.classList.remove(l,c),o.classList.add(en),n.classList.remove(en,c,l),this._isSliding=!1,s(Ke)}),n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return we.findOne(rn,this._element)}_getItems(){return we.find(on,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Kt()?t===qe?Be:Re:t===qe?Re:Be}_orderToDirection(t){return Kt()?t===Be?qe:Ve:t===Be?Ve:qe}static jQueryInterface(e){return this.each((function(){const n=t.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===n[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);n[e]()}}else n.to(e)}))}};he.on(document,Ze,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=we.getElementFromSelector(this);if(!e||!e.classList.contains(tn))return;t.preventDefault();const n=cn.getOrCreateInstance(e),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===_e.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),he.on(window,Je,(()=>{const t=we.find('[data-bs-ride="carousel"]');for(const e of t)cn.getOrCreateInstance(e)})),Yt(cn);var un=".bs.collapse",dn=`show${un}`,fn=`shown${un}`,hn=`hide${un}`,pn=`hidden${un}`,gn=`click${un}.data-api`,mn="show",_n="collapse",vn="collapsing",bn=`:scope .${_n} .${_n}`,yn='[data-bs-toggle="collapse"]',wn={parent:null,toggle:!0},En={parent:"(null|element)",toggle:"boolean"},An=class t extends be{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=we.find(yn);for(const t of n){const e=we.getSelectorFromElement(t),n=we.find(e).filter((t=>t===this._element));null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return wn}static get DefaultType(){return En}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((e=>t.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(he.trigger(this._element,dn).defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(_n),this._element.classList.add(vn),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(vn),this._element.classList.add(_n,mn),this._element.style[n]="",he.trigger(this._element,fn)}),this._element,!0),this._element.style[n]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(he.trigger(this._element,hn).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,qt(this._element),this._element.classList.add(vn),this._element.classList.remove(_n,mn);for(const t of this._triggerArray){const e=we.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(vn),this._element.classList.add(_n),he.trigger(this._element,pn)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(mn)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=zt(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(yn);for(const e of t){const t=we.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=we.find(bn,this._config.parent);return we.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(e){const n={};return"string"==typeof e&&/show|hide/.test(e)&&(n.toggle=!1),this.each((function(){const i=t.getOrCreateInstance(this,n);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}};he.on(document,gn,yn,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of we.getMultipleElementsFromSelector(this))An.getOrCreateInstance(t,{toggle:!1}).toggle()})),Yt(An);var Cn="dropdown",xn=".bs.dropdown",Tn=".data-api",kn="ArrowUp",On="ArrowDown",Sn=`hide${xn}`,Ln=`hidden${xn}`,Dn=`show${xn}`,Pn=`shown${xn}`,In=`click${xn}${Tn}`,Nn=`keydown${xn}${Tn}`,$n=`keyup${xn}${Tn}`,Mn="show",jn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Fn=`${jn}.${Mn}`,zn=".dropdown-menu",Hn=Kt()?"top-end":"top-start",Wn=Kt()?"top-start":"top-end",Rn=Kt()?"bottom-end":"bottom-start",Bn=Kt()?"bottom-start":"bottom-end",qn=Kt()?"left-start":"right-start",Vn=Kt()?"right-start":"left-start",Xn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Kn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},Yn=class t extends be{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=we.next(this._element,zn)[0]||we.prev(this._element,zn)[0]||we.findOne(zn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Xn}static get DefaultType(){return Kn}static get NAME(){return Cn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Wt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!he.trigger(this._element,Dn,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))he.on(t,"mouseover",Bt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Mn),this._element.classList.add(Mn),he.trigger(this._element,Pn,t)}}hide(){if(Wt(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!he.trigger(this._element,Sn,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))he.off(t,"mouseover",Bt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Mn),this._element.classList.remove(Mn),this._element.setAttribute("aria-expanded","false"),_e.removeDataAttribute(this._menu,"popper"),he.trigger(this._element,Ln,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!Ft(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Cn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:Ft(this._config.reference)?t=zt(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Pt(t,this._menu,n)}_isShown(){return this._menu.classList.contains(Mn)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return qn;if(t.classList.contains("dropstart"))return Vn;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Wn:Hn:e?Bn:Rn}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(_e.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Ut(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const n=we.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>Ht(t)));n.length&&Gt(n,e,t===On,!n.includes(e)).focus()}static jQueryInterface(e){return this.each((function(){const n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const n=we.find(Fn);for(const i of n){const n=t.getInstance(i);if(!n||!1===n._config.autoClose)continue;const o=e.composedPath(),r=o.includes(n._menu);if(o.includes(n._element)||"inside"===n._config.autoClose&&!r||"outside"===n._config.autoClose&&r)continue;if(n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const s={relatedTarget:n._element};"click"===e.type&&(s.clickEvent=e),n._completeHide(s)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,o=[kn,On].includes(e.key);if(!o&&!i)return;if(n&&!i)return;e.preventDefault();const r=this.matches(jn)?this:we.prev(this,jn)[0]||we.next(this,jn)[0]||we.findOne(jn,e.delegateTarget.parentNode),s=t.getOrCreateInstance(r);if(o)return e.stopPropagation(),s.show(),void s._selectMenuItem(e);s._isShown()&&(e.stopPropagation(),s.hide(),r.focus())}};he.on(document,Nn,jn,Yn.dataApiKeydownHandler),he.on(document,Nn,zn,Yn.dataApiKeydownHandler),he.on(document,In,Yn.clearMenus),he.on(document,$n,Yn.clearMenus),he.on(document,In,jn,(function(t){t.preventDefault(),Yn.getOrCreateInstance(this).toggle()})),Yt(Yn);var Un="backdrop",Qn="show",Gn=`mousedown.bs.${Un}`,Jn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Zn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},ti=class extends ve{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Jn}static get DefaultType(){return Zn}static get NAME(){return Un}show(t){if(!this._config.isVisible)return void Ut(t);this._append();const e=this._getElement();this._config.isAnimated&&qt(e),e.classList.add(Qn),this._emulateAnimation((()=>{Ut(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Qn),this._emulateAnimation((()=>{this.dispose(),Ut(t)}))):Ut(t)}dispose(){this._isAppended&&(he.off(this._element,Gn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=zt(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),he.on(t,Gn,(()=>{Ut(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){Qt(t,this._getElement(),this._config.isAnimated)}},ei=".bs.focustrap",ni=`focusin${ei}`,ii=`keydown.tab${ei}`,oi="backward",ri={autofocus:!0,trapElement:null},si={autofocus:"boolean",trapElement:"element"},ai=class extends ve{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ri}static get DefaultType(){return si}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),he.off(document,ei),he.on(document,ni,(t=>this._handleFocusin(t))),he.on(document,ii,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,he.off(document,ei))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=we.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===oi?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?oi:"forward")}},li=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ci=".sticky-top",ui="padding-right",di="margin-right",fi=class{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ui,(e=>e+t)),this._setElementAttributes(li,ui,(e=>e+t)),this._setElementAttributes(ci,di,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ui),this._resetElementAttributes(li,ui),this._resetElementAttributes(ci,di)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const i=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+i)return;this._saveInitialAttribute(t,e);const o=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${n(Number.parseFloat(o))}px`)}))}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&_e.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const n=_e.getDataAttribute(t,e);null!==n?(_e.removeDataAttribute(t,e),t.style.setProperty(e,n)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(Ft(t))e(t);else for(const n of we.find(t,this._element))e(n)}},hi=".bs.modal",pi=`hide${hi}`,gi=`hidePrevented${hi}`,mi=`hidden${hi}`,_i=`show${hi}`,vi=`shown${hi}`,bi=`resize${hi}`,yi=`click.dismiss${hi}`,wi=`mousedown.dismiss${hi}`,Ei=`keydown.dismiss${hi}`,Ai=`click${hi}.data-api`,Ci="modal-open",xi="show",Ti="modal-static",ki={backdrop:!0,focus:!0,keyboard:!0},Oi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},Si=class t extends be{constructor(t,e){super(t,e),this._dialog=we.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new fi,this._addEventListeners()}static get Default(){return ki}static get DefaultType(){return Oi}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;he.trigger(this._element,_i,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ci),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;he.trigger(this._element,pi).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(xi),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){he.off(window,hi),he.off(this._dialog,hi),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ti({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ai({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=we.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),qt(this._element),this._element.classList.add(xi);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,he.trigger(this._element,vi,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){he.on(this._element,Ei,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),he.on(window,bi,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),he.on(this._element,wi,(t=>{he.one(this._element,yi,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Ci),this._resetAdjustments(),this._scrollBar.reset(),he.trigger(this._element,mi)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(he.trigger(this._element,gi).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Ti)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ti),this._queueCallback((()=>{this._element.classList.remove(Ti),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const t=Kt()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=Kt()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each((function(){const i=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](n)}}))}};he.on(document,Ai,'[data-bs-toggle="modal"]',(function(t){const e=we.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),he.one(e,_i,(t=>{t.defaultPrevented||he.one(e,mi,(()=>{Ht(this)&&this.focus()}))}));const n=we.findOne(".modal.show");n&&Si.getInstance(n).hide();Si.getOrCreateInstance(e).toggle(this)})),Ee(Si),Yt(Si);var Li=".bs.offcanvas",Di=".data-api",Pi=`load${Li}${Di}`,Ii="show",Ni="showing",$i="hiding",Mi=".offcanvas.show",ji=`show${Li}`,Fi=`shown${Li}`,zi=`hide${Li}`,Hi=`hidePrevented${Li}`,Wi=`hidden${Li}`,Ri=`resize${Li}`,Bi=`click${Li}${Di}`,qi=`keydown.dismiss${Li}`,Vi={backdrop:!0,keyboard:!0,scroll:!1},Xi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},Ki=class t extends be{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Vi}static get DefaultType(){return Xi}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(he.trigger(this._element,ji,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new fi).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ni);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Ii),this._element.classList.remove(Ni),he.trigger(this._element,Fi,{relatedTarget:t})}),this._element,!0)}hide(){if(!this._isShown)return;if(he.trigger(this._element,zi).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add($i),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(Ii,$i),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new fi).reset(),he.trigger(this._element,Wi)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new ti({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():he.trigger(this._element,Hi)}:null})}_initializeFocusTrap(){return new ai({trapElement:this._element})}_addEventListeners(){he.on(this._element,qi,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():he.trigger(this._element,Hi))}))}static jQueryInterface(e){return this.each((function(){const n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);n[e](this)}}))}};he.on(document,Bi,'[data-bs-toggle="offcanvas"]',(function(t){const e=we.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Wt(this))return;he.one(e,Wi,(()=>{Ht(this)&&this.focus()}));const n=we.findOne(Mi);n&&n!==e&&Ki.getInstance(n).hide();Ki.getOrCreateInstance(e).toggle(this)})),he.on(window,Pi,(()=>{for(const t of we.find(Mi))Ki.getOrCreateInstance(t).show()})),he.on(window,Ri,(()=>{for(const t of we.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Ki.getOrCreateInstance(t).hide()})),Ee(Ki),Yt(Ki);var Yi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Ui=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Qi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Gi=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?!Ui.has(n)||Boolean(Qi.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(n)))};var Ji={allowList:Yi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Zi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},to={entry:"(string|element|function|null)",selector:"(string|element)"},eo=class extends ve{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Ji}static get DefaultType(){return Zi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,n]of Object.entries(this._config.content))this._setContent(t,n,e);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},to)}_setContent(t,e,n){const i=we.findOne(n,t);i&&((e=this._resolvePossibleFunction(e))?Ft(e)?this._putElementInTemplate(zt(e),i):this._config.html?i.innerHTML=this._maybeSanitize(e):i.textContent=e:i.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(const t of o){const n=t.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){t.remove();continue}const i=[].concat(...t.attributes),o=[].concat(e["*"]||[],e[n]||[]);for(const e of i)Gi(e,o)||t.removeAttribute(e.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Ut(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}},no=new Set(["sanitize","allowList","sanitizeFn"]),io="fade",oo="show",ro=".tooltip-inner",so=".modal",ao="hide.bs.modal",lo="hover",co="focus",uo={AUTO:"auto",TOP:"top",RIGHT:Kt()?"left":"right",BOTTOM:"bottom",LEFT:Kt()?"right":"left"},fo={allowList:Yi,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"},ho={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"},po=class t extends be{constructor(t,n){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),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 fo}static get DefaultType(){return ho}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),he.off(this._element.closest(so),ao,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("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=he.trigger(this._element,this.constructor.eventName("show")),e=(Rt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)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),he.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(oo),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))he.on(t,"mouseover",Bt);this._queueCallback((()=>{he.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(he.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(oo),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))he.off(t,"mouseover",Bt);this._activeTrigger.click=!1,this._activeTrigger[co]=!1,this._activeTrigger[lo]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),he.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(io,oo),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(io),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new eo({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ro]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(io)}_isShown(){return this.tip&&this.tip.classList.contains(oo)}_createPopper(t){const e=Ut(this._config.placement,[this,t,this._element]),n=uo[e.toUpperCase()];return Pt(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return Ut(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...Ut(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)he.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===lo?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=e===lo?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");he.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?co:lo]=!0,e._enter()})),he.on(this._element,n,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?co:lo]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},he.on(this._element.closest(so),ao,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=_e.getDataAttributes(this._element);for(const t of Object.keys(e))no.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:zt(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,n]of Object.entries(this._config))this.constructor.Default[e]!==n&&(t[e]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}};Yt(po);var go=".popover-header",mo=".popover-body",_o={...po.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},vo={...po.DefaultType,content:"(null|string|element|function)"};Yt(class t extends po{static get Default(){return _o}static get DefaultType(){return vo}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[go]:this._getTitle(),[mo]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}});var bo=".bs.scrollspy",yo=`activate${bo}`,wo=`click${bo}`,Eo=`load${bo}.data-api`,Ao="active",Co="[href]",xo=".nav-link",To=`${xo}, .nav-item > ${xo}, .list-group-item`,ko={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Oo={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},So=class t extends be{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ko}static get DefaultType(){return Oo}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=zt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(he.off(this._config.target,wo),he.on(this._config.target,wo,Co,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const n=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),n=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},i=(this._rootElement||document.documentElement).scrollTop,o=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const r of t){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(r));continue}const t=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&t){if(n(r),!i)return}else o||t||n(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=we.find(Co,this._config.target);for(const e of t){if(!e.hash||Wt(e))continue;const t=we.findOne(decodeURI(e.hash),this._element);Ht(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Ao),this._activateParents(t),he.trigger(this._element,yo,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))we.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Ao);else for(const e of we.parents(t,".nav, .list-group"))for(const t of we.prev(e,To))t.classList.add(Ao)}_clearActiveClass(t){t.classList.remove(Ao);const e=we.find(`${Co}.${Ao}`,t);for(const t of e)t.classList.remove(Ao)}static jQueryInterface(e){return this.each((function(){const n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);n[e]()}}))}};he.on(window,Eo,(()=>{for(const t of we.find('[data-bs-spy="scroll"]'))So.getOrCreateInstance(t)})),Yt(So);var Lo=".bs.tab",Do=`hide${Lo}`,Po=`hidden${Lo}`,Io=`show${Lo}`,No=`shown${Lo}`,$o=`click${Lo}`,Mo=`keydown${Lo}`,jo=`load${Lo}`,Fo="ArrowLeft",zo="ArrowRight",Ho="ArrowUp",Wo="ArrowDown",Ro="Home",Bo="End",qo="active",Vo="fade",Xo="show",Ko=".dropdown-toggle",Yo=`:not(${Ko})`,Uo='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Qo=`${`.nav-link${Yo}, .list-group-item${Yo}, [role="tab"]${Yo}`}, ${Uo}`,Go=`.${qo}[data-bs-toggle="tab"], .${qo}[data-bs-toggle="pill"], .${qo}[data-bs-toggle="list"]`,Jo=class t extends be{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),he.on(this._element,Mo,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?he.trigger(e,Do,{relatedTarget:t}):null;he.trigger(t,Io,{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(qo),this._activate(we.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),he.trigger(t,No,{relatedTarget:e})):t.classList.add(Xo)}),t,t.classList.contains(Vo))}_deactivate(t,e){if(!t)return;t.classList.remove(qo),t.blur(),this._deactivate(we.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),he.trigger(t,Po,{relatedTarget:e})):t.classList.remove(Xo)}),t,t.classList.contains(Vo))}_keydown(e){if(![Fo,zo,Ho,Wo,Ro,Bo].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter((t=>!Wt(t)));let i;if([Ro,Bo].includes(e.key))i=n[e.key===Ro?0:n.length-1];else{const t=[zo,Wo].includes(e.key);i=Gt(n,e.target,t,!0)}i&&(i.focus({preventScroll:!0}),t.getOrCreateInstance(i).show())}_getChildren(){return we.find(Qo,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=we.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains("dropdown"))return;const i=(t,i)=>{const o=we.findOne(t,n);o&&o.classList.toggle(i,e)};i(Ko,qo),i(".dropdown-menu",Xo),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(qo)}_getInnerElement(t){return t.matches(Qo)?t:we.findOne(Qo,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(e){return this.each((function(){const n=t.getOrCreateInstance(this);if("string"==typeof e){if(void 0===n[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);n[e]()}}))}};he.on(document,$o,Uo,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),Wt(this)||Jo.getOrCreateInstance(this).show()})),he.on(window,jo,(()=>{for(const t of we.find(Go))Jo.getOrCreateInstance(t)})),Yt(Jo);var Zo=".bs.toast",tr=`mouseover${Zo}`,er=`mouseout${Zo}`,nr=`focusin${Zo}`,ir=`focusout${Zo}`,or=`hide${Zo}`,rr=`hidden${Zo}`,sr=`show${Zo}`,ar=`shown${Zo}`,lr="hide",cr="show",ur="showing",dr={animation:"boolean",autohide:"boolean",delay:"number"},fr={animation:!0,autohide:!0,delay:5e3},hr=class t extends be{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return fr}static get DefaultType(){return dr}static get NAME(){return"toast"}show(){if(he.trigger(this._element,sr).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(lr),qt(this._element),this._element.classList.add(cr,ur),this._queueCallback((()=>{this._element.classList.remove(ur),he.trigger(this._element,ar),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(he.trigger(this._element,or).defaultPrevented)return;this._element.classList.add(ur),this._queueCallback((()=>{this._element.classList.add(lr),this._element.classList.remove(ur,cr),he.trigger(this._element,rr)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(cr),super.dispose()}isShown(){return this._element.classList.contains(cr)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){he.on(this._element,tr,(t=>this._onInteraction(t,!0))),he.on(this._element,er,(t=>this._onInteraction(t,!1))),he.on(this._element,nr,(t=>this._onInteraction(t,!0))),he.on(this._element,ir,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const n=t.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](this)}}))}};function pr(t,e){for(var n=0;n-1}function Mr(t,e){return t.push.apply(t,Ir(e)),t}function jr(t,e,n){t&&Nr(e,(function(e){e&&t.classList[n?"add":"remove"](e)}))}function Fr(t,e){jr(t,Sr(e)?e.split(" "):e,!0)}function zr(t,e){Nr(e,t.appendChild.bind(t))}function Hr(t,e){Nr(t,(function(t){var n=(e||t).parentNode;n&&n.insertBefore(t,e)}))}function Wr(t,e){return Pr(t)&&(t.msMatchesSelector||t.matches).call(t,e)}function Rr(t,e){var n=t?yr(t.children):[];return e?n.filter((function(t){return Wr(t,e)})):n}function Br(t,e){return e?Rr(t,e)[0]:t.firstElementChild}var qr=Object.keys;function Vr(t,e,n){return t&&(n?qr(t).reverse():qr(t)).forEach((function(n){"__proto__"!==n&&e(t[n],n)})),t}function Xr(t){return yr(arguments,1).forEach((function(e){Vr(e,(function(n,i){t[i]=e[i]}))})),t}function Kr(t){return yr(arguments,1).forEach((function(e){Vr(e,(function(e,n){kr(e)?t[n]=e.slice():Tr(e)?t[n]=Kr({},Tr(t[n])?t[n]:{},e):t[n]=e}))})),t}function Yr(t,e){Nr(e||qr(t),(function(e){delete t[e]}))}function Ur(t,e){Nr(t,(function(t){Nr(e,(function(e){t&&t.removeAttribute(e)}))}))}function Qr(t,e,n){Tr(e)?Vr(e,(function(e,n){Qr(t,n,e)})):Nr(t,(function(t){Dr(n)||""===n?Ur(t,e):t.setAttribute(e,String(n))}))}function Gr(t,e,n){var i=document.createElement(t);return e&&(Sr(e)?Fr(i,e):Qr(i,e)),n&&zr(n,i),i}function Jr(t,e,n){if(Lr(n))return getComputedStyle(t)[e];Dr(n)||(t.style[e]=""+n)}function Zr(t,e){Jr(t,"display",e)}function ts(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function es(t,e){return t.getAttribute(e)}function ns(t,e){return t&&t.classList.contains(e)}function is(t){return t.getBoundingClientRect()}function os(t){Nr(t,(function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}))}function rs(t){return Br((new DOMParser).parseFromString(t,"text/html").body)}function ss(t,e){t.preventDefault(),e&&(t.stopPropagation(),t.stopImmediatePropagation())}function as(t,e){return t&&t.querySelector(e)}function ls(t,e){return e?yr(t.querySelectorAll(e)):[]}function cs(t,e){jr(t,e,!1)}function us(t){return t.timeStamp}function ds(t){return Sr(t)?t:t?t+"px":""}var fs="splide",hs="data-"+fs;function ps(t,e){if(!t)throw new Error("["+fs+"] "+(e||""))}var gs=Math.min,ms=Math.max,_s=Math.floor,vs=Math.ceil,bs=Math.abs;function ys(t,e,n){return bs(t-e)0)-+(t<0)}function Cs(t,e){return Nr(e,(function(e){t=t.replace("%s",""+e)})),t}function xs(t){return t<10?"0"+t:""+t}var Ts={};function ks(){var t=[];function e(t,e,n){Nr(t,(function(t){t&&Nr(e,(function(e){e.split(" ").forEach((function(e){var i=e.split(".");n(t,i[0],i[1])}))}))}))}return{bind:function(n,i,o,r){e(n,i,(function(e,n,i){var s="addEventListener"in e,a=s?e.removeEventListener.bind(e,n,o,r):e.removeListener.bind(e,o);s?e.addEventListener(n,o,r):e.addListener(o),t.push([e,n,i,o,a])}))},unbind:function(n,i,o){e(n,i,(function(e,n,i){t=t.filter((function(t){return!!(t[0]!==e||t[1]!==n||t[2]!==i||o&&t[3]!==o)||(t[4](),!1)}))}))},dispatch:function(t,e,n){var i,o=!0;return"function"==typeof CustomEvent?i=new CustomEvent(e,{bubbles:o,detail:n}):(i=document.createEvent("CustomEvent")).initCustomEvent(e,o,!1,n),t.dispatchEvent(i),i},destroy:function(){t.forEach((function(t){t[4]()})),br(t)}}}var Os="mounted",Ss="ready",Ls="move",Ds="moved",Ps="click",Is="active",Ns="inactive",$s="visible",Ms="hidden",js="refresh",Fs="updated",zs="resize",Hs="resized",Ws="scroll",Rs="scrolled",Bs="destroy",qs="arrows:mounted",Vs="navigation:mounted",Xs="autoplay:play",Ks="autoplay:pause",Ys="lazyload:loaded",Us="sk",Qs="sh",Gs="ei";function Js(t){var e=t?t.event.bus:document.createDocumentFragment(),n=ks();return t&&t.event.on(Bs,n.destroy),Xr(n,{bus:e,on:function(t,i){n.bind(e,Ir(t).join(" "),(function(t){i.apply(i,kr(t.detail)?t.detail:[])}))},off:wr(n.unbind,e),emit:function(t){n.dispatch(e,t,yr(arguments,1))}})}function Zs(t,e,n,i){var o,r,s=Date.now,a=0,l=!0,c=0;function u(){if(!l){if(a=t?gs((s()-o)/t,1):1,n&&n(a),a>=1&&(e(),o=s(),i&&++c>=i))return d();r=Cr(u)}}function d(){l=!0}function f(){r&&cancelAnimationFrame(r),a=0,r=0,l=!0}return{start:function(e){e||f(),o=s()-(e?a*t:0),l=!1,r=Cr(u)},rewind:function(){o=s(),a=0,n&&n(a)},pause:d,cancel:f,set:function(e){t=e},isPaused:function(){return l}}}var ta="Arrow",ea=ta+"Left",na=ta+"Right",ia=ta+"Up",oa=ta+"Down",ra="ttb",sa={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[ia,na],ArrowRight:[oa,ea]};var aa="role",la="tabindex",ca="aria-",ua=ca+"controls",da=ca+"current",fa=ca+"selected",ha=ca+"label",pa=ca+"labelledby",ga=ca+"hidden",ma=ca+"orientation",_a=ca+"roledescription",va=ca+"live",ba=ca+"busy",ya=ca+"atomic",wa=[aa,la,"disabled",ua,da,ha,pa,ga,ma,_a],Ea=fs+"__",Aa="is-",Ca=fs,xa=Ea+"track",Ta=Ea+"list",ka=Ea+"slide",Oa=ka+"--clone",Sa=ka+"__container",La=Ea+"arrows",Da=Ea+"arrow",Pa=Da+"--prev",Ia=Da+"--next",Na=Ea+"pagination",$a=Na+"__page",Ma=Ea+"progress"+"__bar",ja=Ea+"toggle",Fa=Ea+"sr",za=Aa+"initialized",Ha=Aa+"active",Wa=Aa+"prev",Ra=Aa+"next",Ba=Aa+"visible",qa=Aa+"loading",Va=Aa+"focus-in",Xa=Aa+"overflow",Ka=[Ha,Ba,Wa,Ra,qa,Va,Xa],Ya={slide:ka,clone:Oa,arrows:La,arrow:Da,prev:Pa,next:Ia,pagination:Na,page:$a,spinner:Ea+"spinner"};var Ua="touchstart mousedown",Qa="touchmove mousemove",Ga="touchend touchcancel mouseup click";var Ja="slide",Za="loop",tl="fade";function el(t,e,n,i){var o,r=Js(t),s=r.on,a=r.emit,l=r.bind,c=t.Components,u=t.root,d=t.options,f=d.isNavigation,h=d.updateOnMove,p=d.i18n,g=d.pagination,m=d.slideFocus,_=c.Direction.resolve,v=es(i,"style"),b=es(i,ha),y=n>-1,w=Br(i,"."+Sa);function E(){var o=t.splides.map((function(t){var n=t.splide.Components.Slides.getAt(e);return n?n.slide.id:""})).join(" ");Qr(i,ha,Cs(p.slideX,(y?n:e)+1)),Qr(i,ua,o),Qr(i,aa,m?"button":""),m&&Ur(i,_a)}function A(){o||C()}function C(){if(!o){var n=t.index;(r=x())!==ns(i,Ha)&&(jr(i,Ha,r),Qr(i,da,f&&r||""),a(r?Is:Ns,T)),function(){var e=function(){if(t.is(tl))return x();var e=is(c.Elements.track),n=is(i),o=_("left",!0),r=_("right",!0);return _s(e[o])<=vs(n[o])&&_s(n[r])<=vs(e[r])}(),n=!e&&(!x()||y);t.state.is([mr,_r])||Qr(i,ga,n||"");Qr(ls(i,d.focusableNodes||""),la,n?-1:""),m&&Qr(i,la,n?-1:0);e!==ns(i,Ba)&&(jr(i,Ba,e),a(e?$s:Ms,T));if(!e&&document.activeElement===i){var o=c.Slides.getAt(t.index);o&&ts(o.slide)}}(),jr(i,Wa,e===n-1),jr(i,Ra,e===n+1)}var r}function x(){var i=t.index;return i===e||d.cloneStatus&&i===n}var T={index:e,slideIndex:n,slide:i,container:w,isClone:y,mount:function(){y||(i.id=u.id+"-slide"+xs(e+1),Qr(i,aa,g?"tabpanel":"group"),Qr(i,_a,p.slide),Qr(i,ha,b||Cs(p.slideLabel,[e+1,t.length]))),l(i,"click",wr(a,Ps,T)),l(i,"keydown",wr(a,Us,T)),s([Ds,Qs,Rs],C),s(Vs,E),h&&s(Ls,A)},destroy:function(){o=!0,r.destroy(),cs(i,Ka),Ur(i,wa),Qr(i,"style",v),Qr(i,ha,b||"")},update:C,style:function(t,e,n){Jr(n&&w||i,t,e)},isWithin:function(n,i){var o=bs(n-e);return y||!d.rewind&&!t.is(Za)||(o=gs(o,t.length-o)),o<=i}};return T}var nl=hs+"-interval";var il={passive:!1,capture:!0};var ol={Spacebar:" ",Right:na,Left:ea,Up:ia,Down:oa};function rl(t){return t=Sr(t)?t:t.key,ol[t]||t}var sl="keydown";var al=hs+"-lazy",ll=al+"-srcset",cl="["+al+"], ["+ll+"]";var ul=[" ","Enter"];var dl=Object.freeze({__proto__:null,Media:function(t,e,n){var i=t.state,o=n.breakpoints||{},r=n.reducedMotion||{},s=ks(),a=[];function l(t){t&&s.destroy()}function c(t,e){var n=matchMedia(e);s.bind(n,"change",u),a.push([t,n])}function u(){var e=i.is(7),o=n.direction,r=a.reduce((function(t,e){return Kr(t,e[1].matches?e[0]:{})}),{});Yr(n),d(r),n.destroy?t.destroy("completely"===n.destroy):e?(l(!0),t.mount()):o!==n.direction&&t.refresh()}function d(e,o,r){Kr(n,e),o&&Kr(Object.getPrototypeOf(n),e),!r&&i.is(1)||t.emit(Fs,n)}return{setup:function(){var t="min"===n.mediaQuery;qr(o).sort((function(e,n){return t?+e-+n:+n-+e})).forEach((function(e){c(o[e],"("+(t?"min":"max")+"-width:"+e+"px)")})),c(r,gr),u()},destroy:l,reduce:function(t){matchMedia(gr).matches&&(t?Kr(n,r):Yr(n,qr(r)))},set:d}},Direction:function(t,e,n){return{resolve:function(t,e,i){var o="rtl"!==(i=i||n.direction)||e?i===ra?0:-1:1;return sa[t]&&sa[t][o]||t.replace(/width|left|right/i,(function(t,e){var n=sa[t.toLowerCase()][o]||t;return e>0?n.charAt(0).toUpperCase()+n.slice(1):n}))},orient:function(t){return t*("rtl"===n.direction?1:-1)}}},Elements:function(t,e,n){var i,o,r,s=Js(t),a=s.on,l=s.bind,c=t.root,u=n.i18n,d={},f=[],h=[],p=[];function g(){i=v("."+xa),o=Br(i,"."+Ta),ps(i&&o,"A track/list element is missing."),Mr(f,Rr(o,"."+ka+":not(."+Oa+")")),Vr({arrows:La,pagination:Na,prev:Pa,next:Ia,bar:Ma,toggle:ja},(function(t,e){d[e]=v("."+t)})),Xr(d,{root:c,track:i,list:o,slides:f}),function(){var t=c.id||(r=fs,""+r+xs(Ts[r]=(Ts[r]||0)+1)),e=n.role;var r;c.id=t,i.id=i.id||t+"-track",o.id=o.id||t+"-list",!es(c,aa)&&"SECTION"!==c.tagName&&e&&Qr(c,aa,e);Qr(c,_a,u.carousel),Qr(o,aa,"presentation")}(),_()}function m(t){var e=wa.concat("style");br(f),cs(c,h),cs(i,p),Ur([i,o],e),Ur(c,t?e:["style",_a])}function _(){cs(c,h),cs(i,p),h=b(Ca),p=b(xa),Fr(c,h),Fr(i,p),Qr(c,ha,n.label),Qr(c,pa,n.labelledby)}function v(t){var e=as(c,t);return e&&function(t,e){if(Or(t.closest))return t.closest(e);for(var n=t;n&&1===n.nodeType&&!Wr(n,e);)n=n.parentElement;return n}(e,"."+Ca)===c?e:void 0}function b(t){return[t+"--"+n.type,t+"--"+n.direction,n.drag&&t+"--draggable",n.isNavigation&&t+"--nav",t===Ca&&Ha]}return Xr(d,{setup:g,mount:function(){a(js,m),a(js,g),a(Fs,_),l(document,Ua+" keydown",(function(t){r="keydown"===t.type}),{capture:!0}),l(c,"focusin",(function(){jr(c,Va,!!r)}))},destroy:m})},Slides:function(t,e,n){var i=Js(t),o=i.on,r=i.emit,s=i.bind,a=e.Elements,l=a.slides,c=a.list,u=[];function d(){l.forEach((function(t,e){h(t,e,-1)}))}function f(){g((function(t){t.destroy()})),br(u)}function h(e,n,i){var o=el(t,n,i,e);o.mount(),u.push(o),u.sort((function(t,e){return t.index-e.index}))}function p(t){return t?m((function(t){return!t.isClone})):u}function g(t,e){p(e).forEach(t)}function m(t){return u.filter(Or(t)?t:function(e){return Sr(t)?Wr(e.slide,t):$r(Ir(t),e.index)})}return{mount:function(){d(),o(js,f),o(js,d)},destroy:f,update:function(){g((function(t){t.update()}))},register:h,get:p,getIn:function(t){var i=e.Controller,o=i.toIndex(t),r=i.hasFocus()?1:n.perPage;return m((function(t){return ws(t.index,o,o+r-1)}))},getAt:function(t){return m(t)[0]},add:function(t,e){Nr(t,(function(t){if(Sr(t)&&(t=rs(t)),Pr(t)){var i=l[e];i?Hr(t,i):zr(c,t),Fr(t,n.classes.slide),o=t,a=wr(r,zs),u=ls(o,"img"),(d=u.length)?u.forEach((function(t){s(t,"load error",(function(){--d||a()}))})):a()}var o,a,u,d})),r(js)},remove:function(t){os(m(t).map((function(t){return t.slide}))),r(js)},forEach:g,filter:m,style:function(t,e,n){g((function(i){i.style(t,e,n)}))},getLength:function(t){return t?l.length:u.length},isEnough:function(){return u.length>n.perPage}}},Layout:function(t,e,n){var i,o,r,s=Js(t),a=s.on,l=s.bind,c=s.emit,u=e.Slides,d=e.Direction.resolve,f=e.Elements,h=f.root,p=f.track,g=f.list,m=u.getAt,_=u.style;function v(){i=n.direction===ra,Jr(h,"maxWidth",ds(n.width)),Jr(p,d("paddingLeft"),y(!1)),Jr(p,d("paddingRight"),y(!0)),b(!0)}function b(t){var e=is(h);(t||o.width!==e.width||o.height!==e.height)&&(Jr(p,"height",function(){var t="";i&&(ps(t=w(),"height or heightRatio is missing."),t="calc("+t+" - "+y(!1)+" - "+y(!0)+")");return t}()),_(d("marginRight"),ds(n.gap)),_("width",n.autoWidth?null:ds(n.fixedWidth)||(i?"":E())),_("height",ds(n.fixedHeight)||(i?n.autoHeight?null:E():w()),!0),o=e,c(Hs),r!==(r=O())&&(jr(h,Xa,r),c("overflow",r)))}function y(t){var e=n.padding,i=d(t?"right":"left");return e&&ds(e[i]||(Tr(e)?0:e))||"0px"}function w(){return ds(n.height||is(g).width*n.heightRatio)}function E(){var t=ds(n.gap);return"calc((100%"+(t&&" + "+t)+")/"+(n.perPage||1)+(t&&" - "+t)+")"}function A(){return is(g)[d("width")]}function C(t,e){var n=m(t||0);return n?is(n.slide)[d("width")]+(e?0:k()):0}function x(t,e){var n=m(t);if(n){var i=is(n.slide)[d("right")],o=is(g)[d("left")];return bs(i-o)+(e?0:k())}return 0}function T(e){return x(t.length-1)-x(0)+C(0,e)}function k(){var t=m(0);return t&&parseFloat(Jr(t.slide,d("marginRight")))||0}function O(){return t.is(tl)||T(!0)>A()}return{mount:function(){var t,e,n;v(),l(window,"resize load",(t=wr(c,zs),n=Zs(e||0,t,null,1),function(){n.isPaused()&&n.start()})),a([Fs,js],v),a(zs,b)},resize:b,listSize:A,slideSize:C,sliderSize:T,totalSize:x,getPadding:function(t){return parseFloat(Jr(p,d("padding"+(t?"Right":"Left"))))||0},isOverflow:O}},Clones:function(t,e,n){var i,o=Js(t),r=o.on,s=e.Elements,a=e.Slides,l=e.Direction.resolve,c=[];function u(){r(js,d),r([Fs,zs],h),(i=p())&&(!function(e){var i=a.get().slice(),o=i.length;if(o){for(;i.lengthe.Controller.getEnd();(i<0||o)&&(n=A(n,o))}return n}(n);Jr(v,"transform","translate"+g("X")+"("+o+"px)"),n!==o&&s(Qs)}}function A(t,e){var n=t-O(e),i=h();return t-=m(i*(vs(bs(n)/i)||1))*(e?1:-1)}function C(){E(k(),!0),i.cancel()}function x(t){for(var n=e.Slides.get(),i=0,o=1/0,r=0;rn,l=m(A(k(),r)),r?l>=0:l<=v[g("scrollWidth")]-is(b)[g("width")])&&(C(),E(A(k(),t>n),!0)),a(mr),s(Ls,e,n,t),i.start(e,(function(){a(3),s(Ds,e,n,t),o&&o()}))},jump:w,translate:E,shift:A,cancel:C,toIndex:x,toPosition:T,getPosition:k,getLimit:O,exceededLimit:function(t,e){e=Lr(e)?k():e;var n=!0!==t&&m(e)m(O(!0));return n||i},reposition:y}},Controller:function(t,e,n){var i,o,r,s,a=Js(t),l=a.on,c=a.emit,u=e.Move,d=u.getPosition,f=u.getLimit,h=u.toPosition,p=e.Slides,g=p.isEnough,m=p.getLength,_=n.omitEnd,v=t.is(Za),b=t.is(Ja),y=wr(T,!1),w=wr(T,!0),E=n.start||0,A=E;function C(){o=m(!0),r=n.perMove,s=n.perPage,i=S();var t=Es(E,0,_?i:o-1);t!==E&&(E=t,u.reposition())}function x(){i!==S()&&c(Gs)}function T(t,e){var n=r||(I()?1:s),o=k(E+n*(t?-1:1),E,!(r||I()));return-1===o&&b&&!ys(d(),f(!t),1)?t?0:i:e?o:O(o)}function k(e,a,l){if(g()||I()){var c=function(e){if(b&&"move"===n.trimSpace&&e!==E)for(var i=d();i===h(e,!0)&&ws(e,0,t.length-1,!n.rewind);)ei?e=r||!ws(0,e,a,!0)&&!ws(i,a,e,!0)?v?l?e<0?-(o%s||s):o:e:n.rewind?e<0?i:0:-1:L(D(e)):l&&e!==a&&(e=L(D(a)+(e0;)if(h(o-1,!0)!==h(t,!0)){t++;break}return Es(t,0,o-1)}function L(t){return Es(I()?t:s*t,0,i)}function D(t){return I()?gs(t,i):_s((t>=i?o-1:t)/s)}function P(t){t!==E&&(A=E,E=t)}function I(){return!Lr(n.focus)||n.isNavigation}function N(){return t.state.is([mr,_r])&&!!n.waitForTransition}return{mount:function(){C(),l([Fs,js,Gs],C),l(Hs,x)},go:function(t,e,n){if(!N()){var o=function(t){var e=E;if(Sr(t)){var n=t.match(/([+\-<>])(\d+)?/)||[],o=n[1],r=n[2];"+"===o||"-"===o?e=k(E+ +(""+o+(+r||1)),E):">"===o?e=r?L(+r):y(!0):"<"===o&&(e=w(!0))}else e=v?t:Es(t,0,i);return e}(t),r=O(o);r>-1&&(e||r!==E)&&(P(r),u.move(o,r,A,n))}},scroll:function(t,n,o,r){e.Scroll.scroll(t,n,o,(function(){var t=O(u.toIndex(d()));P(_?gs(t,i):t),r&&r()}))},getNext:y,getPrev:w,getAdjacent:T,getEnd:S,setIndex:P,getIndex:function(t){return t?A:E},toIndex:L,toPage:D,toDest:function(t){var e=u.toIndex(t);return b?Es(e,0,i):e},hasFocus:I,isBusy:N}},Arrows:function(t,e,n){var i,o,r=Js(t),s=r.on,a=r.bind,l=r.emit,c=n.classes,u=n.i18n,d=e.Elements,f=e.Controller,h=d.arrows,p=d.track,g=h,m=d.prev,_=d.next,v={};function b(){!function(){var t=n.arrows;!t||m&&_||(g=h||Gr("div",c.arrows),m=A(!0),_=A(!1),i=!0,zr(g,[m,_]),!h&&Hr(g,p));m&&_&&(Xr(v,{prev:m,next:_}),Zr(g,t?"":"none"),Fr(g,o=La+"--"+n.direction),t&&(s([Os,Ds,js,Rs,Gs],C),a(_,"click",wr(E,">")),a(m,"click",wr(E,"<")),C(),Qr([m,_],ua,p.id),l(qs,m,_)))}(),s(Fs,y)}function y(){w(),b()}function w(){r.destroy(),cs(g,o),i?(os(h?[m,_]:g),m=_=null):Ur([m,_],wa)}function E(t){f.go(t,!0)}function A(t){return rs('