@mtvh/mtvh-design-system 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/assets/scss/app.scss +38 -0
- package/assets/scss/base/_all.scss +4 -0
- package/assets/scss/base/_functions.scss +38 -0
- package/assets/scss/base/_global.scss +25 -0
- package/assets/scss/base/_mixins.scss +171 -0
- package/assets/scss/base/_print.scss +55 -0
- package/assets/scss/common/_custom.scss +63 -0
- package/assets/scss/common/_variables-custom.scss +0 -0
- package/assets/scss/common/_variables-overrides.scss +0 -0
- package/assets/scss/components/_all.scss +4 -0
- package/assets/scss/components/_button.scss +209 -0
- package/assets/scss/components/_content-block.scss +231 -0
- package/assets/scss/components/_form.scss +92 -0
- package/assets/scss/components/_link.scss +92 -0
- package/assets/scss/config/_font.scss +8 -0
- package/assets/scss/config/_map-amends.scss +15 -0
- package/assets/scss/config/_map-list.scss +114 -0
- package/assets/scss/config/_palette.scss +51 -0
- package/assets/scss/config/_theme.scss +23 -0
- package/assets/scss/config/_variables.scss +123 -0
- package/assets/scss/core/_all.scss +2 -0
- package/assets/scss/core/iconography/_icon.scss +32 -0
- package/assets/scss/core/typography/_typography.scss +93 -0
- package/assets/scss/mtvh.scss +68 -0
- package/dist/js/app.min.js +9 -0
- package/dist/mtvh.min.css +1 -1
- package/package.json +6 -8
- package/public/js/app.js +5194 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
|
|
3
|
+
/* Borders */
|
|
4
|
+
--mtvh-font: 'Paralucent', sans-serif;
|
|
5
|
+
|
|
6
|
+
--mtvh-link-color: var(--mtvh-blue-04);
|
|
7
|
+
|
|
8
|
+
--mtvh-border-color: var(--mtvh-grey-06);
|
|
9
|
+
--mtvh-btn-disabled-bg: var(--mtvh-grey-06);
|
|
10
|
+
--mtvh-btn-disabled-border-color: var(--mtvh-grey-06);
|
|
11
|
+
--mtvh-btn-disabled-color: var(--mtvh-white);
|
|
12
|
+
--mtvh-btn-border-radius: 3rem;
|
|
13
|
+
|
|
14
|
+
--mtvh-btn-line-height: 1.5;
|
|
15
|
+
--mtvh-btn-font-weight: bold;
|
|
16
|
+
--mtvh-btn-outline-color: var(--mtvh-blue-03);
|
|
17
|
+
--mtvh-btn-outline-border: 0.13rem;
|
|
18
|
+
--mtvh-btn-min-width: 10rem;
|
|
19
|
+
|
|
20
|
+
/* Shadows */
|
|
21
|
+
--mtvh-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
|
|
22
|
+
--mtvh-btn-focus-box-shadow: 0;
|
|
23
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// Font
|
|
2
|
+
$prefix: mtvh-;
|
|
3
|
+
$enable-important-utilities: true !default;
|
|
4
|
+
$data-svg-prefix: 'data:image/svg+xml;utf-8,';
|
|
5
|
+
|
|
6
|
+
$font-size-base: 1rem;
|
|
7
|
+
$font-size-xs: $font-size-base;
|
|
8
|
+
$font-size-sm: $font-size-base * 1.125;
|
|
9
|
+
$font-size-md: $font-size-base * 1.375;
|
|
10
|
+
$font-size-lg: $font-size-base * 1.625;
|
|
11
|
+
$h1-font-size: $font-size-base * 2.5;
|
|
12
|
+
$h2-font-size: $font-size-base * 2;
|
|
13
|
+
$h3-font-size: $font-size-base * 1.75;
|
|
14
|
+
$h4-font-size: $font-size-base * 1.5;
|
|
15
|
+
|
|
16
|
+
$font-sizes: (
|
|
17
|
+
1: $h1-font-size,
|
|
18
|
+
2: $h2-font-size,
|
|
19
|
+
3: $h3-font-size,
|
|
20
|
+
4: $font-size-lg,
|
|
21
|
+
5: $font-size-md,
|
|
22
|
+
6: $font-size-sm,
|
|
23
|
+
7: $font-size-xs
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
$line-height-base: 1.5;
|
|
27
|
+
$link-color: #0072BF;
|
|
28
|
+
$link-hover-color: #005792;
|
|
29
|
+
$body-color: #000;
|
|
30
|
+
$font-family-sans-serif: Arial, sans-serif;
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
// MTVH Font
|
|
34
|
+
$mtvh-base-font-size: $font-size-base;
|
|
35
|
+
$mtvh-font-weight-lighter: lighter !default;
|
|
36
|
+
$mtvh-font-weight-light: 300 !default;
|
|
37
|
+
$mtvh-font-weight-normal: 400 !default;
|
|
38
|
+
$mtvh-font-weight-medium: 500 !default;
|
|
39
|
+
$mtvh-font-weight-semibold: 600 !default;
|
|
40
|
+
$mtvh-font-weight-bold: 700 !default;
|
|
41
|
+
$mtvh-font-weight-bolder: bolder !default;
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
//button
|
|
46
|
+
$input-btn-font-family:$font-family-sans-serif;
|
|
47
|
+
$btn-border-radius: 3rem;
|
|
48
|
+
$btn-font-weight: bold;
|
|
49
|
+
$btn-padding-x: 1rem;
|
|
50
|
+
$btn-padding-y: 0.438rem;
|
|
51
|
+
$btn-font-size: 1rem;
|
|
52
|
+
$btn-border-width: 3px;
|
|
53
|
+
|
|
54
|
+
//spacing
|
|
55
|
+
$button-icon-spacing: 0.75rem;
|
|
56
|
+
$button-icon-small-spacing: 8px;
|
|
57
|
+
$link-icon-spacing: 0.5rem;
|
|
58
|
+
|
|
59
|
+
$border-width-sm: 0.15rem;
|
|
60
|
+
$border-width-md: 0.19rem;
|
|
61
|
+
|
|
62
|
+
$mtvh-spacing-spacing-1: 0.125rem;
|
|
63
|
+
$mtvh-spacing-spacing-2: 0.25rem;
|
|
64
|
+
$mtvh-spacing-spacing-3: 0.5rem;
|
|
65
|
+
$mtvh-spacing-spacing-4: 0.75rem;
|
|
66
|
+
$mtvh-spacing-spacing-5: 1rem;
|
|
67
|
+
$mtvh-spacing-spacing-6: 1.5rem;
|
|
68
|
+
$mtvh-spacing-spacing-7: 2rem;
|
|
69
|
+
$mtvh-spacing-spacing-8: 2.5rem;
|
|
70
|
+
|
|
71
|
+
$icon-size-scale-xs : 16px !default;
|
|
72
|
+
$icon-size-scale-sm : 20px !default;
|
|
73
|
+
$icon-size-scale-md : 28px !default;
|
|
74
|
+
$icon-size-scale-lg : 42px !default;
|
|
75
|
+
$icon-size-scale-xl : 56px !default;
|
|
76
|
+
|
|
77
|
+
$mtvh-icon-sizes: (
|
|
78
|
+
"xs" : $icon-size-scale-xs,
|
|
79
|
+
"sm" : $icon-size-scale-sm,
|
|
80
|
+
"md" : $icon-size-scale-md,
|
|
81
|
+
"lg" : $icon-size-scale-lg,
|
|
82
|
+
"xl" : $icon-size-scale-xl
|
|
83
|
+
) !default;
|
|
84
|
+
|
|
85
|
+
$success: #23870B;
|
|
86
|
+
$info: #895ED0;
|
|
87
|
+
$warning: #D8B000; //--mtvh-purple-04
|
|
88
|
+
$danger: #DD080D;
|
|
89
|
+
$primary: #0072BF;
|
|
90
|
+
$btn-color: $primary;
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
/* form */
|
|
94
|
+
$form-label-font-size : $font-size-md;
|
|
95
|
+
$form-label-font-weight: 700;
|
|
96
|
+
$form-label-color: #000000;
|
|
97
|
+
$form-label-margin-bottom: $mtvh-spacing-spacing-3;
|
|
98
|
+
$form-select-focus-border-color: var( --mtvh-grey-06);
|
|
99
|
+
$form-feedback-font-size: $font-size-sm;
|
|
100
|
+
$form-feedback-invalid-color: $danger;
|
|
101
|
+
$form-feedback-icon-invalid: '';
|
|
102
|
+
$form-feedback-margin-top: $mtvh-spacing-spacing-4;
|
|
103
|
+
$input-line-height: 1.5;
|
|
104
|
+
$input-font-size: $font-size-sm;
|
|
105
|
+
$input-padding-y: $mtvh-spacing-spacing-4;
|
|
106
|
+
$input-padding-x: $mtvh-spacing-spacing-5;
|
|
107
|
+
$input-focus-color: var(--mtvh-blue-05);
|
|
108
|
+
$input-focus-border-color: var( --mtvh-grey-06);
|
|
109
|
+
$input-border-color: var( --mtvh-grey-06);
|
|
110
|
+
$input-border-radius: 0.25rem;
|
|
111
|
+
$input-color: $body-color;
|
|
112
|
+
$input-placeholder-color: var( --mtvh-grey-06);
|
|
113
|
+
|
|
114
|
+
$line-height-md: 1.3;
|
|
115
|
+
$container-max-widths: (
|
|
116
|
+
sm: 540px,
|
|
117
|
+
md: 720px,
|
|
118
|
+
lg: 960px,
|
|
119
|
+
xl: 1140px
|
|
120
|
+
);
|
|
121
|
+
|
|
122
|
+
$font-path: "./fonts/" !default;
|
|
123
|
+
$asset-icon-path: "./images/icons/" !default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
.mtvh-icon {
|
|
3
|
+
|
|
4
|
+
@each $mtvh-icon, $property-map in $mtvh-icons{
|
|
5
|
+
&-#{$mtvh-icon} {
|
|
6
|
+
&:not(.mtvh-icon--right) { //default to use left position
|
|
7
|
+
@include mtvh-icon($icon: $mtvh-icon, $position: 'left', $width: map-get($property-map, width),
|
|
8
|
+
$height: map-get($property-map, height), $svg-path: map-get($property-map, svg-path));
|
|
9
|
+
&.mtvh-icon--hover {
|
|
10
|
+
@include hover-animate;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
&.mtvh-icon--right {
|
|
14
|
+
@include mtvh-icon($icon: $mtvh-icon, $position: 'right', $width: map-get($property-map, width),
|
|
15
|
+
$height: map-get($property-map, height), $svg-path: map-get($property-map, svg-path));
|
|
16
|
+
&.mtvh-icon--hover {
|
|
17
|
+
@include hover-animate($position: 'right');
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// create all sizes for the icons
|
|
26
|
+
@each $size, $value in $mtvh-icon-sizes {
|
|
27
|
+
&.mtvh-icon--#{$size} {
|
|
28
|
+
@include icon-size($value,$value);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
h1, h2, h3, h4, h5, h6, dt,
|
|
2
|
+
.mtvh-h1,
|
|
3
|
+
.mtvh-h2,
|
|
4
|
+
.mtvh-h3,
|
|
5
|
+
.mtvh-h4,
|
|
6
|
+
.mtvh-h5,
|
|
7
|
+
.mtvh-h6 {
|
|
8
|
+
margin: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
font-family: var(--mtvh-font);
|
|
11
|
+
font-weight: var(--mtvh-font-bold);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
h1, .mtvh-h1 {
|
|
15
|
+
@extend %h1;
|
|
16
|
+
}
|
|
17
|
+
h2, .mtvh-h2 {
|
|
18
|
+
@extend %h2;
|
|
19
|
+
}
|
|
20
|
+
h3, .mtvh-h3 {
|
|
21
|
+
@extend %h3;
|
|
22
|
+
}
|
|
23
|
+
h4, .mtvh-h4 {
|
|
24
|
+
@extend %h4;
|
|
25
|
+
}
|
|
26
|
+
p {
|
|
27
|
+
@extend %p;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
%h1 {
|
|
31
|
+
margin-bottom: 1rem;
|
|
32
|
+
font-size: 2.5rem;
|
|
33
|
+
line-height: 1.2;
|
|
34
|
+
display: block;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
%h2 {
|
|
38
|
+
margin-bottom: 1rem;
|
|
39
|
+
font-size: 2rem;
|
|
40
|
+
line-height: 1.25;
|
|
41
|
+
display: block;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
%h3 {
|
|
45
|
+
margin-bottom: 0.375rem;
|
|
46
|
+
font-size: 1.625rem;
|
|
47
|
+
line-height: 1.3;
|
|
48
|
+
display: block;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
%h4 {
|
|
52
|
+
margin-bottom: 0.375rem;
|
|
53
|
+
font-size: 1.375rem;
|
|
54
|
+
line-height: 1.4;
|
|
55
|
+
display: block;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
%p {
|
|
59
|
+
margin-bottom: 1rem;
|
|
60
|
+
display: block;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.mtvh-intro {
|
|
64
|
+
margin-bottom: 1rem;
|
|
65
|
+
font-size: 1.375rem;
|
|
66
|
+
line-height: 1.4;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.small {
|
|
70
|
+
margin-bottom: 0.75rem;
|
|
71
|
+
font-size: 1rem;
|
|
72
|
+
line-height: 1.5;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
a {
|
|
76
|
+
font-weight: bold;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
ul,
|
|
80
|
+
ol,
|
|
81
|
+
{
|
|
82
|
+
margin: 0 0 1rem 0;
|
|
83
|
+
padding-right: 0;
|
|
84
|
+
padding-left: 1.75rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
ul,
|
|
89
|
+
ol {
|
|
90
|
+
li {
|
|
91
|
+
margin-bottom: 0.25rem;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// Source: https://getbootstrap.com/docs/5.3/customize/sass/#importing
|
|
2
|
+
|
|
3
|
+
// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)
|
|
4
|
+
@import "bootstrap/scss/functions";
|
|
5
|
+
|
|
6
|
+
// 2. Include any default variable overrides here
|
|
7
|
+
@import "config/variables";
|
|
8
|
+
@import "config/font";
|
|
9
|
+
@import 'config/palette';
|
|
10
|
+
@import 'config/theme';
|
|
11
|
+
@import "config/map-list";
|
|
12
|
+
@import 'base/all';
|
|
13
|
+
|
|
14
|
+
// 3. Include remainder of required Bootstrap stylesheets (including any separate color mode stylesheets)
|
|
15
|
+
@import "bootstrap/scss/variables";
|
|
16
|
+
@import "bootstrap/scss/variables-dark";
|
|
17
|
+
$theme-colors: map-remove($theme-colors, "light");
|
|
18
|
+
|
|
19
|
+
// 4. Include any default map overrides here
|
|
20
|
+
@import "config/map-amends";
|
|
21
|
+
|
|
22
|
+
// 5. Include remainder of required parts
|
|
23
|
+
@import "bootstrap/scss/maps";
|
|
24
|
+
@import "bootstrap/scss/mixins";
|
|
25
|
+
@import "bootstrap/scss/root";
|
|
26
|
+
|
|
27
|
+
// 6. Optionally include any other parts as needed
|
|
28
|
+
|
|
29
|
+
// Layout & components
|
|
30
|
+
@import "bootstrap/scss/utilities";
|
|
31
|
+
@import "bootstrap/scss/reboot";
|
|
32
|
+
@import "bootstrap/scss/type";
|
|
33
|
+
@import "bootstrap/scss/images";
|
|
34
|
+
@import "bootstrap/scss/containers";
|
|
35
|
+
@import "bootstrap/scss/grid";
|
|
36
|
+
@import "bootstrap/scss/helpers";
|
|
37
|
+
@import "bootstrap/scss/tables";
|
|
38
|
+
@import "bootstrap/scss/forms";
|
|
39
|
+
@import "bootstrap/scss/buttons";
|
|
40
|
+
@import "bootstrap/scss/transitions";
|
|
41
|
+
@import "bootstrap/scss/dropdown";
|
|
42
|
+
@import "bootstrap/scss/button-group";
|
|
43
|
+
@import "bootstrap/scss/nav";
|
|
44
|
+
@import "bootstrap/scss/navbar";
|
|
45
|
+
//@import "bootstrap/scss/card";
|
|
46
|
+
@import "bootstrap/scss/accordion";
|
|
47
|
+
@import "bootstrap/scss/breadcrumb";
|
|
48
|
+
@import "bootstrap/scss/pagination";
|
|
49
|
+
@import "bootstrap/scss/alert";
|
|
50
|
+
//@import "bootstrap/scss/progress";
|
|
51
|
+
//@import "bootstrap/scss/list-group";
|
|
52
|
+
@import "bootstrap/scss/close";
|
|
53
|
+
//@import "bootstrap/scss/toasts";
|
|
54
|
+
@import "bootstrap/scss/modal";
|
|
55
|
+
@import "bootstrap/scss/tooltip";
|
|
56
|
+
@import "bootstrap/scss/popover";
|
|
57
|
+
//@import "bootstrap/scss/carousel";
|
|
58
|
+
//@import "bootstrap/scss/spinners";
|
|
59
|
+
@import "bootstrap/scss/offcanvas";
|
|
60
|
+
@import "bootstrap/scss/placeholders";
|
|
61
|
+
|
|
62
|
+
// 7. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss`
|
|
63
|
+
@import "bootstrap/scss/utilities/api";
|
|
64
|
+
|
|
65
|
+
// 8. Add additional custom code here
|
|
66
|
+
@import 'components/all';
|
|
67
|
+
|
|
68
|
+
@import 'core/all';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*! Bundled license information:
|
|
2
|
+
|
|
3
|
+
bootstrap/dist/js/bootstrap.esm.js:
|
|
4
|
+
(*!
|
|
5
|
+
* Bootstrap v5.3.3 (https://getbootstrap.com/)
|
|
6
|
+
* Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
7
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
8
|
+
*)
|
|
9
|
+
*/"use strict";(()=>{var n,s,i,a,re,k,N,P,An,ye,L,On,_e,we,vn,hn,un,dn,cn,rn,an,on,en,Jt,Le,S,le,T,Ja,et,jr,ze,me,Ee,Ga,Ka,Lt,Ct,gt,Ke,dt,ot,Zo,Qo,Yo,$o,qe,y,Ue,Io,Ro,We,vt,Lo,Do,zo,_t,e,f,b,O,$,Et,se,q,St,Ie,jo,o,c,l,Nt,Re,vo,uo,co,Ne,Bt,Vt,ro,g,Q,Ms,h,Ae,t,ue,As,Cs,fn,gs,ps,ls,cs,jn,es,Zn,Qn,Xn,Gn,Cn,Un,kn,Wn,V,Bn,Ha,Tn,zn,Dn,Nn,Ln,Rn,Pn,Hn,In,At,Vn,$n,w,En,Kn,qn,Yn,F,H,U,ge,Jn,xe,ts,ns,ss,os,is,rs,bn,ve,ds,us,hs,ms,fs,gn,pn,vs,bs,js,ys,_s,ws,Os,xs,ke,Es,ks,Z,Ss,Mn,Fs,Ts,zs,Ds,Se,I,he,Ps,Hs,Is,Bs,Vs,$s,Te,Us,Ks,Gt,Yt,Gs,M,De,Zs,Ut,eo,Wt,no,so,oo,io,ao,$t,Ht,lo,z,ho,mo,fo,po,go,x,bo,ae,yo,_o,wo,Oo,xo,Co,Eo,ko,Ao,So,Mo,Fo,To,W,jt,No,bt,pt,Po,Ho,ft,Bo,Vo,oe,Wo,Uo,Ko,qo,lt,Go,Xo,ct,rt,it,ie,nt,je,si,oi,d,ai,ri,ci,li,Je,It,hi,mi,fi,pi,gi,vi,tt,ji,at,Ye,wi,Oi,xi,Ci,Ei,ki,ce,Si,Mi,v,wt,zi,Di,Ot,Mt,Ft,Pi,Tt,Ii,Bi,Vi,Rt,Ze,Ui,Ki,qi,Yi,Gi,Xi,D,Zi,Xt,ea,ta,na,oa,ia,aa,ra,ca,la,da,Fe,ha,fe,fa,nn,ln,X,Oe,ja,ya,_a,wa,Oa,xa,Ca,Ea,ka,Aa,Sa,Ma,Fa,Ta,za,ee,Na,La,Ra,Pa,Fn,Ia,Ba,Va,Ve,Wa,Ua,_n,qa,Ya,B,Xa,Me,Za,Kt,er,tr,nr,sr,or,ir,ar,mt,cr,lr,A,ur,hr,mr,fr,pr,gr,vr,br,ut,dr,st,Ge,ht,E,yt,$e,ga,Qe,ma,Be,ua,sa,Qi,kt,He,$i,Pe,Ni,Ti,_,Ai,_i,yi,bi,ui,di,ii,ni,ti,Pt,de,J,ei,Qs,qt,Xs,Rs,tc=Object.defineProperty,Zr=(e,t)=>{for(var n in t)tc(e,n,{get:t[n],enumerable:!0})},Sn={};Zr(Sn,{afterMain:()=>rn,afterRead:()=>un,afterWrite:()=>en,applyStyles:()=>Le,arrow:()=>et,auto:()=>re,basePlacements:()=>P,beforeMain:()=>dn,beforeRead:()=>vn,beforeWrite:()=>an,bottom:()=>i,clippingParents:()=>An,computeStyles:()=>ze,createPopper:()=>qe,createPopperBase:()=>Zo,createPopperLite:()=>Yo,detectOverflow:()=>G,end:()=>N,eventListeners:()=>Ee,flip:()=>Lt,hide:()=>Ct,left:()=>n,main:()=>cn,modifierPhases:()=>Jt,offset:()=>gt,placements:()=>we,popper:()=>L,popperGenerator:()=>Xe,popperOffsets:()=>Ke,preventOverflow:()=>dt,read:()=>hn,reference:()=>On,right:()=>a,start:()=>k,top:()=>s,variationPlacements:()=>_e,viewport:()=>ye,write:()=>on}),s="top",i="bottom",a="right",n="left",re="auto",P=[s,i,a,n],k="start",N="end",An="clippingParents",ye="viewport",L="popper",On="reference",_e=P.reduce(function(e,t){return e.concat([t+"-"+k,t+"-"+N])},[]),we=[].concat(P,[re]).reduce(function(e,t){return e.concat([t,t+"-"+k,t+"-"+N])},[]),vn="beforeRead",hn="read",un="afterRead",dn="beforeMain",cn="main",rn="afterMain",an="beforeWrite",on="write",en="afterWrite",Jt=[vn,hn,un,dn,cn,rn,an,on,en];function p(e){return e?(e.nodeName||"").toLowerCase():null}function r(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function R(e){var t=r(e).Element;return e instanceof t||e instanceof Element}function u(e){var t=r(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Zt(e){if(typeof ShadowRoot=="undefined")return!1;var t=r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Qr(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},s=t.attributes[e]||{},n=t.elements[e];if(!u(n)||!p(n))return;Object.assign(n.style,o),Object.keys(s).forEach(function(e){var t=s[e];t===!1?n.removeAttribute(e):n.setAttribute(e,t===!0?"":t)})})}function Xr(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var s=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),a=i.reduce(function(e,t){return e[t]="",e},{});if(!u(s)||!p(s))return;Object.assign(s.style,a),Object.keys(o).forEach(function(e){s.removeAttribute(e)})})}}Le={name:"applyStyles",enabled:!0,phase:"write",fn:Qr,effect:Xr,requires:["computeStyles"]};function m(e){return e.split("-")[0]}S=Math.max,le=Math.min,T=Math.round;function Dt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Fi(){return!/^((?!chrome|android).)*safari/i.test(Dt())}function Y(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1),s=e.getBoundingClientRect(),o=1,i=1,t&&u(e)&&(o=e.offsetWidth>0?T(s.width)/e.offsetWidth||1:1,i=e.offsetHeight>0?T(s.height)/e.offsetHeight||1:1);var s,o,i,f=R(e)?r(e):window,a=f.visualViewport,d=!Fi()&&n,c=(s.left+(d&&a?a.offsetLeft:0))/o,l=(s.top+(d&&a?a.offsetTop:0))/i,h=s.width/o,m=s.height/i;return{width:h,height:m,top:l,right:c+h,bottom:l+m,left:c,x:c,y:l}}function zt(e){var t=Y(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function Li(e,t){var n,s=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(s&&Zt(s)){n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function j(e){return r(e).getComputedStyle(e)}function Nr(e){return["table","td","th"].indexOf(p(e))>=0}function C(e){return((R(e)?e.ownerDocument:e.document)||window.document).documentElement}function be(e){return p(e)==="html"?e:e.assignedSlot||e.parentNode||(Zt(e)?e.host:null)||C(e)}function Wi(e){return!u(e)||j(e).position==="fixed"?null:e.offsetParent}function Mr(e){var t,n,o,s=/firefox/i.test(Dt()),i=/Trident/i.test(Dt());if(i&&u(e)&&(o=j(e),o.position==="fixed"))return null;for(t=be(e),Zt(t)&&(t=t.host);u(t)&&["html","body"].indexOf(p(t))<0;){if(n=j(t),n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].indexOf(n.willChange)!==-1||s&&n.willChange==="filter"||s&&n.filter&&n.filter!=="none")return t;t=t.parentNode}return null}function ne(e){for(var n=r(e),t=Wi(e);t&&Nr(t)&&j(t).position==="static";)t=Wi(t);return t&&(p(t)==="html"||p(t)==="body"&&j(t).position==="static")?n:t||Mr(e)||n}function xt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e,t,n){return S(e,le(t,n))}function Ar(e,t,n){var s=te(e,t,n);return s>n?n:s}function ba(){return{top:0,right:0,bottom:0,left:0}}function Da(e){return Object.assign({},ba(),e)}function Qa(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}Ja=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Da(typeof t!="number"?t:Qa(t,P))};function wr(e){var r,c,d,u,p,g,v,b,j,y,_,O,x,C,E,t=e.state,S=e.name,A=e.options,h=t.elements.arrow,f=t.modifiersData.popperOffsets,w=m(t.placement),o=xt(w),k=[n,a].indexOf(w)>=0,l=k?"height":"width";if(!h||!f)return;g=Ja(A.padding,t),v=zt(h),b=o==="y"?s:n,j=o==="y"?i:a,y=t.rects.reference[l]+t.rects.reference[o]-f[o]-t.rects.popper[l],_=f[o]-t.rects.reference[o],c=ne(h),p=c?o==="y"?c.clientHeight||0:c.clientWidth||0:0,O=y/2-_/2,x=g[b],C=p-v[l]-g[j],u=p/2-v[l]/2+O,d=te(x,u,C),E=o,t.modifiersData[S]=(r={},r[E]=d,r.centerOffset=d-u,r)}function Hr(e){var n=e.state,o=e.options,s=o.element,t=s===void 0?"[data-popper-arrow]":s;if(t==null)return;if(typeof t=="string"&&(t=n.elements.popper.querySelector(t),!t))return;if(!Li(n.elements.popper,t))return;n.elements.arrow=t}et={name:"arrow",enabled:!0,phase:"main",fn:wr,effect:Hr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function K(e){return e.split("-")[1]}jr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sc(e,t){var s=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:T(s*n)/n||0,y:T(o*n)/n||0}}function rr(e){var c,u,h,p,g,b,y,T,z,f=e.popper,L=e.popperRect,d=e.placement,A=e.variation,m=e.offsets,x=e.position,v=e.gpuAcceleration,S=e.adaptive,_=e.roundOffsets,M=e.isFixed,R=m.x,t=R===void 0?0:R,D=m.y,o=D===void 0?0:D,E=typeof _=="function"?_({x:t,y:o}):{x:t,y:o},t=E.x,o=E.y,F=m.hasOwnProperty("x"),k=m.hasOwnProperty("y"),w=n,O=s,l=window;return S&&(c=ne(f),g="clientHeight",y="clientWidth",c===r(f)&&(c=C(f),j(c).position!=="static"&&x==="absolute"&&(g="scrollHeight",y="scrollWidth")),c=c,(d===s||(d===n||d===a)&&A===N)&&(O=i,T=M&&c===l&&l.visualViewport?l.visualViewport.height:c[g],o-=T-L.height,o*=v?1:-1),(d===n||(d===s||d===i)&&A===N)&&(w=a,z=M&&c===l&&l.visualViewport?l.visualViewport.width:c[y],t-=z-L.width,t*=v?1:-1)),p=Object.assign({position:x},S&&jr),b=_===!0?sc({x:t,y:o},r(f)):{x:t,y:o},t=b.x,o=b.y,v?Object.assign({},p,(h={},h[O]=k?"0":"",h[w]=F?"0":"",h.transform=(l.devicePixelRatio||1)<=1?"translate("+t+"px, "+o+"px)":"translate3d("+t+"px, "+o+"px, 0)",h)):Object.assign({},p,(u={},u[O]=k?o+"px":"",u[w]=F?t+"px":"",u.transform="",u))}function Or(e){var t=e.state,n=e.options,s=n.gpuAcceleration,c=s===void 0||s,o=n.adaptive,l=o===void 0||o,i=n.roundOffsets,a=i===void 0||i,r={placement:m(t.placement),variation:K(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:c,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,rr(Object.assign({},r,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,rr(Object.assign({},r,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}ze={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Or,data:{}},me={passive:!0};function xr(e){var n=e.state,t=e.instance,s=e.options,o=s.scroll,i=o===void 0||o,a=s.resize,c=a===void 0||a,l=r(n.elements.popper),d=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&d.forEach(function(e){e.addEventListener("scroll",t.update,me)}),c&&l.addEventListener("resize",t.update,me),function(){i&&d.forEach(function(e){e.removeEventListener("scroll",t.update,me)}),c&&l.removeEventListener("resize",t.update,me)}}Ee={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:xr,data:{}},Ga={left:"right",right:"left",bottom:"top",top:"bottom"};function Ce(e){return e.replace(/left|right|bottom|top/g,function(e){return Ga[e]})}Ka={start:"end",end:"start"};function $a(e){return e.replace(/start|end/g,function(e){return Ka[e]})}function xn(e){var t=r(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function wn(e){return Y(C(e)).left+xn(e).scrollLeft}function Cr(e,t){var s,d=r(e),o=C(e),n=d.visualViewport,i=o.clientWidth,a=o.clientHeight,c=0,l=0;return n&&(i=n.width,a=n.height,s=Fi(),(s||!s&&t==="fixed")&&(c=n.offsetLeft,l=n.offsetTop)),{width:i,height:a,x:c+wn(e),y:l}}function Er(e){var s,n=C(e),o=xn(e),t=(s=e.ownerDocument)==null?void 0:s.body,i=S(n.scrollWidth,n.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),r=S(n.scrollHeight,n.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),a=-o.scrollLeft+wn(e),c=-o.scrollTop;return j(t||n).direction==="rtl"&&(a+=S(n.clientWidth,t?t.clientWidth:0)-i),{width:i,height:r,x:a,y:c}}function yn(e){var t=j(e),n=t.overflow,s=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function va(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:u(e)&&yn(e)?e:va(be(e))}function pe(e,t){t===void 0&&(t=[]);var s,n=va(e),o=n===((s=e.ownerDocument)==null?void 0:s.body),i=r(n),a=o?[i].concat(i.visualViewport||[],yn(n)?n:[]):n,c=t.concat(a);return o?c:c.concat(pe(be(a)))}function mn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function kr(e,t){var n=Y(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function pa(e,t,n){return t===ye?mn(Cr(e,n)):R(t)?kr(t,n):mn(Er(C(e)))}function Sr(e){var n=pe(be(e)),s=["absolute","fixed"].indexOf(j(e).position)>=0,t=s&&u(e)?ne(e):e;return R(t)?n.filter(function(e){return R(e)&&Li(e,t)&&p(e)!=="body"}):[]}function Fr(e,t,n,s){var a=t==="clippingParents"?Sr(e):[].concat(t),i=[].concat(a,[n]),r=i[0],o=i.reduce(function(t,n){var o=pa(e,n,s);return t.top=S(o.top,t.top),t.right=le(o.right,t.right),t.bottom=le(o.bottom,t.bottom),t.left=S(o.left,t.left),t},pa(e,r,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Ji(e){var o,r,l,t=e.reference,c=e.element,d=e.placement,u=d?m(d):null,p=d?K(d):null,h=t.x+t.width/2-c.width/2,f=t.y+t.height/2-c.height/2;switch(u){case s:o={x:h,y:t.y-c.height};break;case i:o={x:h,y:t.y+t.height};break;case a:o={x:t.x+t.width,y:f};break;case n:o={x:t.x-c.width,y:f};break;default:o={x:t.x,y:t.y}}if(r=u?xt(u):null,r!=null)switch(l=r==="y"?"height":"width",p){case k:o[r]=o[r]-(t[l]/2-c[l]/2);break;case N:o[r]=o[r]+(t[l]/2-c[l]/2);break;default:}return o}function G(e,t){t===void 0&&(t={});var _,n=t,v=n.placement,j=v===void 0?e.placement:v,f=n.strategy,T=f===void 0?e.strategy:f,p=n.boundary,E=p===void 0?An:p,O=n.rootBoundary,F=O===void 0?ye:O,x=n.elementContext,c=x===void 0?L:x,m=n.altBoundary,M=m!==void 0&&m,b=n.padding,d=b===void 0?0:b,o=Da(typeof d!="number"?d:Qa(d,P)),S=c===L?On:L,w=e.rects.popper,h=e.elements[M?S:c],r=Fr(R(h)?h:h.contextElement||C(e.elements.popper),E,F,T),y=Y(e.elements.reference),k=Ji({reference:y,element:w,strategy:"absolute",placement:j}),A=mn(Object.assign({},w,k)),l=c===L?A:y,u={top:r.top-l.top+o.top,bottom:l.bottom-r.bottom+o.bottom,left:r.left-l.left+o.left,right:l.right-r.right+o.right},g=e.modifiersData.offset;return c===L&&g&&(_=g[j],Object.keys(u).forEach(function(e){var t=[a,i].indexOf(e)>=0?1:-1,n=[s,i].indexOf(e)>=0?"y":"x";u[e]+=_[n]*t})),u}function Ir(e,t){t===void 0&&(t={});var s,n=t,c=n.placement,l=n.boundary,d=n.rootBoundary,u=n.padding,h=n.flipVariations,i=n.allowedAutoPlacements,f=i===void 0?we:i,a=K(c),r=a?h?_e:_e.filter(function(e){return K(e)===a}):P,o=r.filter(function(e){return f.indexOf(e)>=0});return o.length===0&&(o=r),s=o.reduce(function(t,n){return t[n]=G(e,{placement:n,boundary:l,rootBoundary:d,padding:u})[m(n)],t},{}),Object.keys(s).sort(function(e,t){return s[e]-s[t]})}function Dr(e){if(m(e)===re)return[];var t=Ce(e);return[$a(e),t,$a(t)]}function Lr(e){var t=e.state,o=e.options,C=e.name;if(t.modifiersData[C]._skip)return;for(var r,c,l,u,h,g,v,y,_,x,E,A,z,F=o.mainAxis,H=F===void 0||F,D=o.altAxis,R=D===void 0||D,L=o.fallbackPlacements,N=o.padding,w=o.boundary,O=o.rootBoundary,I=o.altBoundary,T=o.flipVariations,j=T===void 0||T,B=o.allowedAutoPlacements,d=t.options.placement,W=m(d),P=W===d,U=L||(P||!j?[Ce(d)]:Dr(d)),p=[d].concat(U).reduce(function(e,n){return e.concat(m(n)===re?Ir(t,{placement:n,boundary:w,rootBoundary:O,padding:N,flipVariations:j,allowedAutoPlacements:B}):n)},[]),$=t.rects.reference,V=t.rects.popper,S=new Map,M=!0,f=p[0],b=0;b<p.length;b++){if(r=p[b],v=m(r),g=K(r)===k,y=[s,i].indexOf(v)>=0,_=y?"width":"height",h=G(t,{placement:r,boundary:w,rootBoundary:O,altBoundary:I,padding:N}),l=y?g?a:n:g?i:s,$[_]>V[_]&&(l=Ce(l)),z=Ce(l),c=[],H&&c.push(h[v]<=0),R&&c.push(h[l]<=0,h[z]<=0),c.every(function(e){return e})){f=r,M=!1;break}S.set(r,c)}if(M)for(A=j?3:1,E=function(t){var n=p.find(function(e){var n=S.get(e);if(n)return n.slice(0,t).every(function(e){return e})});if(n)return f=n,"break"},u=A;u>0;u--)if(x=E(u),x==="break")break;t.placement!==f&&(t.modifiersData[C]._skip=!0,t.placement=f,t.reset=!0)}Lt={name:"flip",enabled:!0,phase:"main",fn:Lr,requiresIfExists:["offset"],data:{_skip:!1}};function Hi(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ri(e){return[s,a,i,n].some(function(t){return e[t]>=0})}function Rr(e){var t=e.state,a=e.name,r=t.rects.reference,c=t.rects.popper,l=t.modifiersData.preventOverflow,d=G(t,{elementContext:"reference"}),u=G(t,{altBoundary:!0}),n=Hi(d,r),s=Hi(u,c,l),o=Ri(n),i=Ri(s);t.modifiersData[a]={referenceClippingOffsets:n,popperEscapeOffsets:s,isReferenceHidden:o,hasPopperEscaped:i},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":i})}Ct={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Rr};function yr(e,t,o){var c=m(e),d=[n,s].indexOf(c)>=0?-1:1,l=typeof o=="function"?o(Object.assign({},t,{placement:e})):o,i=l[0],r=l[1],i=i||0,r=(r||0)*d;return[n,a].indexOf(c)>=0?{x:r,y:i}:{x:i,y:r}}function Jr(e){var t=e.state,i=e.options,a=e.name,n=i.offset,r=n===void 0?[0,0]:n,s=we.reduce(function(e,n){return e[n]=yr(n,t.rects,r),e},{}),o=s[t.placement],c=o.x,l=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[a]=s}gt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Jr};function zr(e){var t=e.state,n=e.name;t.modifiersData[n]=Ji({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}Ke={name:"popperOffsets",enabled:!0,phase:"read",fn:zr,data:{}};function Br(e){return e==="x"?"y":"x"}function Vr(e){var fe,r,h,R,P,B,V,$,q,Q,Z,ue,v,E,W,U,ee,se,x,ie,I,re,ce,Y,me,c,p,w,A,F,T,z,D,L,H,X,t=e.state,l=e.options,be=e.name,pe=l.mainAxis,ge=pe===void 0||pe,oe=l.altAxis,we=oe!==void 0&&oe,_e=l.boundary,ye=l.rootBoundary,ve=l.altBoundary,je=l.padding,de=l.tether,d=de===void 0||de,ae=l.tetherOffset,M=ae===void 0?0:ae,O=G(t,{boundary:_e,rootBoundary:ye,padding:je,altBoundary:ve}),J=m(t.placement),C=K(t.placement),he=!C,o=xt(J),j=Br(o),b=t.modifiersData.popperOffsets,u=t.rects.reference,g=t.rects.popper,_=typeof M=="function"?M(Object.assign({},t.rects,{placement:t.placement})):M,f=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(!b)return;ge&&(R=o==="y"?s:n,P=o==="y"?i:a,r=o==="y"?"height":"width",h=b[o],B=h+O[R],V=h-O[P],$=d?-g[r]/2:0,Z=C===k?u[r]:g[r],Q=C===k?-g[r]:-u[r],q=t.elements.arrow,ue=d&&q?zt(q):{width:0,height:0},E=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ba(),U=E[R],W=E[P],v=te(0,u[r],ue[r]),ee=he?u[r]/2-$-v-U-f.mainAxis:Z-v-U-f.mainAxis,se=he?-u[r]/2+$+v+W+f.mainAxis:Q+v+W+f.mainAxis,x=t.elements.arrow&&ne(t.elements.arrow),ie=x?o==="y"?x.clientTop||0:x.clientLeft||0:0,I=(fe=y?.[o])!=null?fe:0,re=h+ee-I-ie,ce=h+se-I,H=te(d?le(B,re):B,h,d?S(V,ce):V),b[o]=H,N[o]=H-h),we&&(Y=o==="x"?s:n,me=o==="x"?i:a,c=b[j],p=j==="y"?"height":"width",L=c+O[Y],D=c-O[me],w=[s,n].indexOf(J)!==-1,z=(X=y?.[j])!=null?X:0,T=w?L:c-u[p]-g[p]-z+f.altAxis,F=w?c+u[p]+g[p]-z-f.altAxis:D,A=d&&w?Ar(T,c,F):te(d?T:L,c,d?F:D),b[j]=A,N[j]=A-c),t.modifiersData[be]=N}dt={name:"preventOverflow",enabled:!0,phase:"main",fn:Vr,requiresIfExists:["offset"]};function $r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Wr(e){return e===r(e)||!u(e)?xn(e):$r(e)}function Ur(e){var t=e.getBoundingClientRect(),n=T(t.width)/e.offsetWidth||1,s=T(t.height)/e.offsetHeight||1;return n!==1||s!==1}function Kr(e,t,n){n===void 0&&(n=!1);var r=u(t),c=u(t)&&Ur(t),i=C(t),o=Y(e,c,n),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((p(t)!=="body"||yn(i))&&(a=Wr(t)),u(t)?(s=Y(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=wn(i))),{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function qr(e){var n=new Map,t=new Set,s=[];e.forEach(function(e){n.set(e.name,e)});function o(e){t.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach(function(e){if(!t.has(e)){var s=n.get(e);s&&o(s)}}),s.push(e)}return e.forEach(function(e){t.has(e.name)||o(e)}),s}function Yr(e){var t=qr(e);return Jt.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function Gr(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function _r(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}ot={placement:"bottom",modifiers:[],strategy:"absolute"};function Jo(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some(function(e){return!e||typeof e.getBoundingClientRect!="function"})}function Xe(e){e===void 0&&(e={});var n=e,s=n.defaultModifiers,i=s===void 0?[]:s,o=n.defaultOptions,t=o===void 0?ot:o;return function(n,s,o){o===void 0&&(o=t);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ot,t),modifiersData:{},elements:{reference:n,popper:s},attributes:{},styles:{}},c=[],l=!1,r={state:a,setOptions:function(o){var c,l=typeof o=="function"?o(a.options):o;return d(),a.options=Object.assign({},t,a.options,l),a.scrollParents={reference:R(n)?pe(n):n.contextElement?pe(n.contextElement):[],popper:pe(s)},c=Yr(_r([].concat(i,a.options.modifiers))),a.orderedModifiers=c.filter(function(e){return e.enabled}),u(),r.update()},forceUpdate:function(){if(l)return;var o=a.elements,i=o.reference,n=o.popper;if(!Jo(i,n))return;a.rects={reference:Kr(i,ne(n),a.options.strategy==="fixed"),popper:zt(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(t=0;t<a.orderedModifiers.length;t++){if(a.reset===!0){a.reset=!1,t=-1;continue}var t,s=a.orderedModifiers[t],c=s.fn,d=s.options,u=d===void 0?{}:d,h=s.name;typeof c=="function"&&(a=c({state:a,options:u,name:h,instance:r})||a)}},update:Gr(function(){return new Promise(function(e){r.forceUpdate(),e(a)})}),destroy:function(){d(),l=!0}};if(!Jo(n,s))return r;r.setOptions(o).then(function(e){!l&&o.onFirstUpdate&&o.onFirstUpdate(e)});function u(){a.orderedModifiers.forEach(function(e){var s,o,i=e.name,t=e.options,l=t===void 0?{}:t,n=e.effect;typeof n=="function"&&(s=n({state:a,name:i,instance:r,options:l}),o=function(){},c.push(s||o))})}function d(){c.forEach(function(e){return e()}),c=[]}return r}}Zo=Xe(),Qo=[Ee,Ke,ze,Le],Yo=Xe({defaultModifiers:Qo}),$o=[Ee,Ke,ze,Le,gt,Lt,dt,et,Ct],qe=Xe({defaultModifiers:$o}),y=new Map,Ue={set(e,t,n){y.has(e)||y.set(e,new Map);const s=y.get(e);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,n)},get(e,t){return y.has(e)?y.get(e).get(t)||null:null},remove(e,t){if(!y.has(e))return;const n=y.get(e);n.delete(t),n.size===0&&y.delete(e)}},Io=1e6,Ro=1e3,We="transitionend",vt=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),Lo=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Do=e=>{do e+=Math.floor(Math.random()*Io);while(document.getElementById(e))return e},zo=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),o=Number.parseFloat(n);return!s&&!o?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*Ro)},_t=e=>{e.dispatchEvent(new Event(We))},f=e=>!!e&&typeof e=="object"&&(typeof e.jquery!="undefined"&&(e=e[0]),typeof e.nodeType!="undefined"),b=e=>f(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(vt(e)):null,$=e=>{if(!f(e)||e.getClientRects().length===0)return!1;const n=getComputedStyle(e).getPropertyValue("visibility")==="visible",t=e.closest("details:not([open])");if(!t)return n;if(t!==e){const n=e.closest("summary");if(n&&n.parentNode!==t)return!1;if(n===null)return!1}return n},O=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(typeof e.disabled!="undefined"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false"),Et=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Et(e.parentNode):null},se=()=>{},q=e=>{e.offsetHeight},St=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ie=[],jo=e=>{document.readyState==="loading"?(Ie.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ie)e()}),Ie.push(e)):e()},l=()=>document.documentElement.dir==="rtl",c=e=>{jo(()=>{const t=St();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},o=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,Nt=(e,t,n=!0)=>{if(!n){o(e);return}const a=5,r=zo(t)+a;let s=!1;const i=({target:n})=>{if(n!==t)return;s=!0,t.removeEventListener(We,i),o(e)};t.addEventListener(We,i),setTimeout(()=>{s||_t(t)},r)},Re=(e,t,n,s)=>{const i=e.length;let o=e.indexOf(t);return o===-1?!n&&s?e[i-1]:e[0]:(o+=n?1:-1,s&&(o=(o+i)%i),e[Math.max(0,Math.min(o,i-1))])},vo=/[^.]*(?=\..*)\.|.*/,uo=/\..*/,co=/::\d+$/,Ne={},Bt=1,Vt={mouseenter:"mouseover",mouseleave:"mouseout"},ro=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 to(e,t){return t&&`${t}::${Bt++}`||e.uidEvent||Bt++}function Js(e){const t=to(e);return e.uidEvent=t,Ne[t]=Ne[t]||{},Ne[t]}function ec(t,n){return function s(o){return tn(o,{delegateTarget:t}),s.oneOff&&e.off(t,o.type,n),n.apply(t,[o])}}function nc(t,n,s){return function o(i){const a=t.querySelectorAll(n);for(let{target:r}=i;r&&r!==this;r=r.parentNode)for(const c of a){if(c!==r)continue;return tn(i,{delegateTarget:r}),o.oneOff&&e.off(t,i.type,n,s),s.apply(r,[i])}}}function Ys(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function qs(e,t,n){const o=typeof t=="string",i=o?n:t||n;let s=Ls(e);return ro.has(s)||(s=e),[o,i,s]}function Ws(e,t,n,s,o){if(typeof t!="string"||!e)return;let[r,i,c]=qs(t,n,s);if(t in Vt){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};i=e(i)}const d=Js(e),u=d[c]||(d[c]={}),l=Ys(u,i,r?n:null);if(l){l.oneOff=l.oneOff&&o;return}const h=to(i,t.replace(vo,"")),a=r?nc(e,n,i):ec(e,i);a.delegationSelector=r?n:null,a.callable=i,a.oneOff=o,a.uidEvent=h,u[h]=a,e.addEventListener(c,a,r)}function Qt(e,t,n,s,o){const i=Ys(t[n],s,o);if(!i)return;e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent]}function Pr(e,t,n,s){const o=t[n]||{};for(const[a,i]of Object.entries(o))a.includes(s)&&Qt(e,t,n,i.callable,i.delegationSelector)}function Ls(e){return e=e.replace(uo,""),Vt[e]||e}e={on(e,t,n,s){Ws(e,t,n,s,!1)},one(e,t,n,s){Ws(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[c,a,i]=qs(t,n,s),l=i!==t,o=Js(e),r=o[i]||{},d=t.startsWith(".");if(typeof a!="undefined"){if(!Object.keys(r).length)return;Qt(e,o,i,a,c?n:null);return}if(d)for(const n of Object.keys(o))Pr(e,o,n,t.slice(1));for(const[s,n]of Object.entries(r)){const a=s.replace(co,"");(!l||t.includes(a))&&Qt(e,o,i,n.callable,n.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const i=St(),l=Ls(t),d=t!==l;let s=null,a=!0,r=!0,c=!1;d&&i&&(s=i.Event(t,n),i(e).trigger(s),a=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const o=tn(new Event(t,{bubbles:a,cancelable:!0}),n);return c&&o.preventDefault(),r&&e.dispatchEvent(o),o.defaultPrevented&&s&&s.preventDefault(),o}};function tn(e,t={}){for(const[n,s]of Object.entries(t))try{e[n]=s}catch{Object.defineProperty(e,n,{configurable:!0,get(){return s}})}return e}function Ns(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function sn(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}g={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${sn(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${sn(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const o of n){let s=o.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=Ns(e.dataset[o])}return t},getDataAttribute(e,t){return Ns(e.getAttribute(`data-bs-${sn(t)}`))}},Q=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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=f(t)?g.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...f(t)?g.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,s]of Object.entries(t)){const o=e[n],i=f(o)?"element":Lo(o);if(!new RegExp(s).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${s}".`)}}},Ms="5.3.3",h=class extends Q{constructor(e,t){if(super(),e=b(e),!e)return;this._element=e,this._config=this._getConfig(t),Ue.set(this._element,this.constructor.DATA_KEY,this)}dispose(){Ue.remove(this._element,this.constructor.DATA_KEY),e.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Nt(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ue.get(b(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return Ms}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}},Ae=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(e=>vt(e)).join(","):null},t={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){const s=[];let n=e.parentNode.closest(t);for(;n;)s.push(n),n=n.parentNode.closest(t);return s},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!O(e)&&$(e))},getSelectorFromElement(e){const n=Ae(e);return n?t.findOne(n)?n:null:null},getElementFromSelector(e){const n=Ae(e);return n?t.findOne(n):null},getMultipleElementsFromSelector(e){const n=Ae(e);return n?t.find(n):[]}},ue=(n,s="hide")=>{const i=`click.dismiss${n.EVENT_KEY}`,o=n.NAME;e.on(document,i,`[data-bs-dismiss="${o}"]`,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),O(this))return;const i=t.getElementFromSelector(this)||this.closest(`.${o}`),a=n.getOrCreateInstance(i);a[s]()})},As="alert",Cs="bs.alert",fn=`.${Cs}`,gs=`close${fn}`,ps=`closed${fn}`,ls="fade",cs="show",jn=class _Alert extends h{static get NAME(){return As}close(){const t=e.trigger(this._element,gs);if(t.defaultPrevented)return;this._element.classList.remove(cs);const n=this._element.classList.contains(ls);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),e.trigger(this._element,ps),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=_Alert.getOrCreateInstance(this);if(typeof e!="string")return;if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)})}},ue(jn,"close"),c(jn),es="button",Zn="bs.button",Qn=`.${Zn}`,Xn=".data-api",Gn="active",Cn='[data-bs-toggle="button"]',Un=`click${Qn}${Xn}`,kn=class _Button extends h{static get NAME(){return es}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Gn))}static jQueryInterface(e){return this.each(function(){const t=_Button.getOrCreateInstance(this);e==="toggle"&&t[e]()})}},e.on(document,Un,Cn,e=>{e.preventDefault();const t=e.target.closest(Cn),n=kn.getOrCreateInstance(t);n.toggle()}),c(kn),Wn="swipe",V=".bs.swipe",Bn=`touchstart${V}`,Ha=`touchmove${V}`,Tn=`touchend${V}`,zn=`pointerdown${V}`,Dn=`pointerup${V}`,Nn="touch",Ln="pen",Rn="pointer-event",Pn=40,Hn={endCallback:null,leftCallback:null,rightCallback:null},In={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},At=class _Swipe extends Q{constructor(e,t){if(super(),this._element=e,!e||!_Swipe.isSupported())return;this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents()}static get Default(){return Hn}static get DefaultType(){return In}static get NAME(){return Wn}dispose(){e.off(this._element,V)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),o(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=Pn)return;const t=e/this._deltaX;if(this._deltaX=0,!t)return;o(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(e.on(this._element,zn,e=>this._start(e)),e.on(this._element,Dn,e=>this._end(e)),this._element.classList.add(Rn)):(e.on(this._element,Bn,e=>this._start(e)),e.on(this._element,Ha,e=>this._move(e)),e.on(this._element,Tn,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Ln||e.pointerType===Nn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}},Vn="carousel",$n="bs.carousel",w=`.${$n}`,En=".data-api",Kn="ArrowLeft",qn="ArrowRight",Yn=500,U="next",H="prev",F="left",ge="right",Jn=`slide${w}`,xe=`slid${w}`,ts=`keydown${w}`,ns=`mouseenter${w}`,ss=`mouseleave${w}`,os=`dragstart${w}`,is=`load${w}${En}`,rs=`click${w}${En}`,bn="carousel",ve="active",ds="slide",us="carousel-item-end",hs="carousel-item-start",ms="carousel-item-next",fs="carousel-item-prev",gn=".active",pn=".carousel-item",vs=gn+pn,bs=".carousel-item img",js=".carousel-indicators",ys="[data-bs-slide], [data-bs-slide-to]",_s='[data-bs-ride="carousel"]',ws={[Kn]:ge,[qn]:F},Os={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},xs={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},ke=class _Carousel extends h{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=t.findOne(js,this._element),this._addEventListeners(),this._config.ride===bn&&this.cycle()}static get Default(){return Os}static get DefaultType(){return xs}static get NAME(){return Vn}next(){this._slide(U)}nextWhenVisible(){!document.hidden&&$(this._element)&&this.next()}prev(){this._slide(H)}pause(){this._isSliding&&_t(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(!this._config.ride)return;if(this._isSliding){e.one(this._element,xe,()=>this.cycle());return}this.cycle()}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){e.one(this._element,xe,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const o=t>s?U:H;this._slide(o,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&e.on(this._element,ts,e=>this._keydown(e)),this._config.pause==="hover"&&(e.on(this._element,ns,()=>this.pause()),e.on(this._element,ss,()=>this._maybeEnableCycle())),this._config.touch&&At.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of t.find(bs,this._element))e.on(n,os,e=>e.preventDefault());const n=()=>{if(this._config.pause!=="hover")return;this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Yn+this._config.interval)},s={leftCallback:()=>this._slide(this._directionToOrder(F)),rightCallback:()=>this._slide(this._directionToOrder(ge)),endCallback:n};this._swipeHelper=new At(this._element,s)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ws[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const s=t.findOne(gn,this._indicatorsElement);s.classList.remove(ve),s.removeAttribute("aria-current");const n=t.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(ve),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const o=this._getActive(),a=t===U,s=n||Re(this._getItems(),o,a,this._config.wrap);if(s===o)return;const c=this._getItemIndex(s),l=n=>e.trigger(this._element,n,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(o),to:c}),d=l(Jn);if(d.defaultPrevented)return;if(!o||!s)return;const u=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(c),this._activeElement=s;const i=a?hs:us,r=a?ms:fs;s.classList.add(r),q(s),o.classList.add(i),s.classList.add(i);const h=()=>{s.classList.remove(i,r),s.classList.add(ve),o.classList.remove(ve,r,i),this._isSliding=!1,l(xe)};this._queueCallback(h,o,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(ds)}_getActive(){return t.findOne(vs,this._element)}_getItems(){return t.find(pn,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return l()?e===F?H:U:e===F?U:H}_orderToDirection(e){return l()?e===H?F:ge:e===H?ge:F}static jQueryInterface(e){return this.each(function(){const t=_Carousel.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}},e.on(document,rs,ys,function(e){const s=t.getElementFromSelector(this);if(!s||!s.classList.contains(bn))return;e.preventDefault();const n=ke.getOrCreateInstance(s),o=this.getAttribute("data-bs-slide-to");if(o){n.to(o),n._maybeEnableCycle();return}if(g.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()}),e.on(window,is,()=>{const e=t.find(_s);for(const t of e)ke.getOrCreateInstance(t)}),c(ke),Es="collapse",ks="bs.collapse",Z=`.${ks}`,Ss=".data-api",Mn=`show${Z}`,Fs=`shown${Z}`,Ts=`hide${Z}`,zs=`hidden${Z}`,Ds=`click${Z}${Ss}`,Se="show",I="collapse",he="collapsing",Ps="collapsed",Hs=`:scope .${I} .${I}`,Is="collapse-horizontal",Bs="width",Vs="height",$s=".collapse.show, .collapse.collapsing",Te='[data-bs-toggle="collapse"]',Us={parent:null,toggle:!0},Ks={parent:"(null|element)",toggle:"boolean"},Gt=class _Collapse extends h{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const s=t.find(Te);for(const e of s){const n=t.getSelectorFromElement(e),o=t.find(n).filter(e=>e===this._element);n!==null&&o.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Us}static get DefaultType(){return Ks}static get NAME(){return Es}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let n=[];if(this._config.parent&&(n=this._getFirstLevelChildren($s).filter(e=>e!==this._element).map(e=>_Collapse.getOrCreateInstance(e,{toggle:!1}))),n.length&&n[0]._isTransitioning)return;const s=e.trigger(this._element,Mn);if(s.defaultPrevented)return;for(const e of n)e.hide();const t=this._getDimension();this._element.classList.remove(I),this._element.classList.add(he),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(he),this._element.classList.add(I,Se),this._element.style[t]="",e.trigger(this._element,Fs)},i=t[0].toUpperCase()+t.slice(1),a=`scroll${i}`;this._queueCallback(o,this._element,!0),this._element.style[t]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown())return;const s=e.trigger(this._element,Ts);if(s.defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,q(this._element),this._element.classList.add(he),this._element.classList.remove(I,Se);for(const e of this._triggerArray){const n=t.getElementFromSelector(e);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(he),this._element.classList.add(I),e.trigger(this._element,zs)};this._element.style[n]="",this._queueCallback(o,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Se)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=b(e.parent),e}_getDimension(){return this._element.classList.contains(Is)?Bs:Vs}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Te);for(const n of e){const s=t.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(e){const n=t.find(Hs,this._config.parent);return t.find(e,this._config.parent).filter(e=>!n.includes(e))}_addAriaAndCollapsedClass(e,t){if(!e.length)return;for(const n of e)n.classList.toggle(Ps,!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=_Collapse.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof n[e]=="undefined")throw new TypeError(`No method named "${e}"`);n[e]()}})}},e.on(document,Ds,Te,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const e of t.getMultipleElementsFromSelector(this))Gt.getOrCreateInstance(e,{toggle:!1}).toggle()}),c(Gt),Yt="dropdown",Gs="bs.dropdown",M=`.${Gs}`,De=".data-api",Zs="Escape",Ut="Tab",eo="ArrowUp",Wt="ArrowDown",no=2,so=`hide${M}`,oo=`hidden${M}`,io=`show${M}`,ao=`shown${M}`,$t=`click${M}${De}`,Ht=`keydown${M}${De}`,lo=`keyup${M}${De}`,z="show",ho="dropup",mo="dropend",fo="dropstart",po="dropup-center",go="dropdown-center",x='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',bo=`${x}.${z}`,ae=".dropdown-menu",yo=".navbar",_o=".navbar-nav",wo=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Oo=l()?"top-end":"top-start",xo=l()?"top-start":"top-end",Co=l()?"bottom-end":"bottom-start",Eo=l()?"bottom-start":"bottom-end",ko=l()?"left-start":"right-start",Ao=l()?"right-start":"left-start",So="top",Mo="bottom",Fo={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},To={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},W=class _Dropdown extends h{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=t.next(this._element,ae)[0]||t.prev(this._element,ae)[0]||t.findOne(ae,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Fo}static get DefaultType(){return To}static get NAME(){return Yt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(O(this._element)||this._isShown())return;const t={relatedTarget:this._element},n=e.trigger(this._element,io,t);if(n.defaultPrevented)return;if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(_o))for(const t of[].concat(...document.body.children))e.on(t,"mouseover",se);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(z),this._element.classList.add(z),e.trigger(this._element,ao,t)}hide(){if(O(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){const n=e.trigger(this._element,so,t);if(n.defaultPrevented)return;if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.off(t,"mouseover",se);this._popper&&this._popper.destroy(),this._menu.classList.remove(z),this._element.classList.remove(z),this._element.setAttribute("aria-expanded","false"),g.removeDataAttribute(this._menu,"popper"),e.trigger(this._element,oo,t)}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!f(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Yt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Sn=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:f(this._config.reference)?e=b(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=qe(e,this._menu,t)}_isShown(){return this._menu.classList.contains(z)}_getPlacement(){const e=this._parent;if(e.classList.contains(mo))return ko;if(e.classList.contains(fo))return Ao;if(e.classList.contains(po))return So;if(e.classList.contains(go))return Mo;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(ho)?t?xo:Oo:t?Eo:Co}_detectNavbar(){return this._element.closest(yo)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(e=>Number.parseInt(e,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(g.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...o(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:n}){const s=t.find(wo,this._menu).filter(e=>$(e));if(!s.length)return;Re(s,n,e===Wt,!s.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const t=_Dropdown.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}static clearMenus(e){if(e.button===no||e.type==="keyup"&&e.key!==Ut)return;const n=t.find(bo);for(const a of n){const t=_Dropdown.getInstance(a);if(!t||t._config.autoClose===!1)continue;const s=e.composedPath(),o=s.includes(t._menu);if(s.includes(t._element)||t._config.autoClose==="inside"&&!o||t._config.autoClose==="outside"&&o)continue;if(t._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Ut||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const i={relatedTarget:t._element};e.type==="click"&&(i.clickEvent=e),t._completeHide(i)}}static dataApiKeydownHandler(e){const a=/input|textarea/i.test(e.target.tagName),s=e.key===Zs,o=[eo,Wt].includes(e.key);if(!o&&!s)return;if(a&&!s)return;e.preventDefault();const i=this.matches(x)?this:t.prev(this,x)[0]||t.next(this,x)[0]||t.findOne(x,e.delegateTarget.parentNode),n=_Dropdown.getOrCreateInstance(i);if(o){e.stopPropagation(),n.show(),n._selectMenuItem(e);return}n._isShown()&&(e.stopPropagation(),n.hide(),i.focus())}},e.on(document,Ht,x,W.dataApiKeydownHandler),e.on(document,Ht,ae,W.dataApiKeydownHandler),e.on(document,$t,W.clearMenus),e.on(document,lo,W.clearMenus),e.on(document,$t,x,function(e){e.preventDefault(),W.getOrCreateInstance(this).toggle()}),c(W),jt="backdrop",No="fade",bt="show",pt=`mousedown.bs.${jt}`,Po={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ho={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},ft=class extends Q{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Po}static get DefaultType(){return Ho}static get NAME(){return jt}show(e){if(!this._config.isVisible){o(e);return}this._append();const t=this._getElement();this._config.isAnimated&&q(t),t.classList.add(bt),this._emulateAnimation(()=>{o(e)})}hide(e){if(!this._config.isVisible){o(e);return}this._getElement().classList.remove(bt),this._emulateAnimation(()=>{this.dispose(),o(e)})}dispose(){if(!this._isAppended)return;e.off(this._element,pt),this._element.remove(),this._isAppended=!1}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(No),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=b(e.rootElement),e}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),e.on(t,pt,()=>{o(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Nt(e,this._getElement(),this._config.isAnimated)}},Bo="focustrap",Vo="bs.focustrap",oe=`.${Vo}`,Wo=`focusin${oe}`,Uo=`keydown.tab${oe}`,Ko="Tab",qo="forward",lt="backward",Go={autofocus:!0,trapElement:null},Xo={autofocus:"boolean",trapElement:"element"},ct=class extends Q{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Go}static get DefaultType(){return Xo}static get NAME(){return Bo}activate(){if(this._isActive)return;this._config.autofocus&&this._config.trapElement.focus(),e.off(document,oe),e.on(document,Wo,e=>this._handleFocusin(e)),e.on(document,Uo,e=>this._handleKeydown(e)),this._isActive=!0}deactivate(){if(!this._isActive)return;this._isActive=!1,e.off(document,oe)}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const s=t.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===lt?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){if(e.key!==Ko)return;this._lastTabNavDirection=e.shiftKey?lt:qo}},rt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",it=".sticky-top",ie="padding-right",nt="margin-right",je=class{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ie,t=>t+e),this._setElementAttributes(rt,ie,t=>t+e),this._setElementAttributes(it,nt,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ie),this._resetElementAttributes(rt,ie),this._resetElementAttributes(it,nt)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const s=this.getWidth(),o=e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+s)return;this._saveInitialAttribute(e,t);const o=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(o))}px`)};this._applyManipulationCallback(e,o)}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&g.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){const n=e=>{const n=g.getDataAttribute(e,t);if(n===null){e.style.removeProperty(t);return}g.removeDataAttribute(e,t),e.style.setProperty(t,n)};this._applyManipulationCallback(e,n)}_applyManipulationCallback(e,n){if(f(e)){n(e);return}for(const s of t.find(e,this._element))n(s)}},si="modal",oi="bs.modal",d=`.${oi}`,ai=".data-api",ri="Escape",ci=`hide${d}`,li=`hidePrevented${d}`,Je=`hidden${d}`,It=`show${d}`,hi=`shown${d}`,mi=`resize${d}`,fi=`click.dismiss${d}`,pi=`mousedown.dismiss${d}`,gi=`keydown.dismiss${d}`,vi=`click${d}${ai}`,tt="modal-open",ji="fade",at="show",Ye="modal-static",wi=".modal.show",Oi=".modal-dialog",xi=".modal-body",Ci='[data-bs-toggle="modal"]',Ei={backdrop:!0,focus:!0,keyboard:!0},ki={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},ce=class _Modal extends h{constructor(e,n){super(e,n),this._dialog=t.findOne(Oi,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new je,this._addEventListeners()}static get Default(){return Ei}static get DefaultType(){return ki}static get NAME(){return si}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){if(this._isShown||this._isTransitioning)return;const n=e.trigger(this._element,It,{relatedTarget:t});if(n.defaultPrevented)return;this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(tt),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t))}hide(){if(!this._isShown||this._isTransitioning)return;const t=e.trigger(this._element,ci);if(t.defaultPrevented)return;this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(at),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())}dispose(){e.off(window,d),e.off(this._dialog,d),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ft({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ct({trapElement:this._element})}_showElement(n){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 s=t.findOne(xi,this._dialog);s&&(s.scrollTop=0),q(this._element),this._element.classList.add(at);const o=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,e.trigger(this._element,hi,{relatedTarget:n})};this._queueCallback(o,this._dialog,this._isAnimated())}_addEventListeners(){e.on(this._element,gi,e=>{if(e.key!==ri)return;if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}),e.on(window,mi,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),e.on(this._element,pi,t=>{e.one(this._element,fi,e=>{if(this._element!==t.target||this._element!==e.target)return;if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(tt),this._resetAdjustments(),this._scrollBar.reset(),e.trigger(this._element,Je)})}_isAnimated(){return this._element.classList.contains(ji)}_triggerBackdropTransition(){const n=e.trigger(this._element,li);if(n.defaultPrevented)return;const s=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;if(t==="hidden"||this._element.classList.contains(Ye))return;s||(this._element.style.overflowY="hidden"),this._element.classList.add(Ye),this._queueCallback(()=>{this._element.classList.remove(Ye),this._queueCallback(()=>{this._element.style.overflowY=t},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=l()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=l()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=_Modal.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof n[e]=="undefined")throw new TypeError(`No method named "${e}"`);n[e](t)})}},e.on(document,vi,Ci,function(n){const s=t.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),e.one(s,It,t=>{if(t.defaultPrevented)return;e.one(s,Je,()=>{$(this)&&this.focus()})});const o=t.findOne(wi);o&&ce.getInstance(o).hide();const i=ce.getOrCreateInstance(s);i.toggle(this)}),ue(ce),c(ce),Si="offcanvas",Mi="bs.offcanvas",v=`.${Mi}`,wt=".data-api",zi=`load${v}${wt}`,Di="Escape",Ot="show",Mt="showing",Ft="hiding",Pi="offcanvas-backdrop",Tt=".offcanvas.show",Ii=`show${v}`,Bi=`shown${v}`,Vi=`hide${v}`,Rt=`hidePrevented${v}`,Ze=`hidden${v}`,Ui=`resize${v}`,Ki=`click${v}${wt}`,qi=`keydown.dismiss${v}`,Yi='[data-bs-toggle="offcanvas"]',Gi={backdrop:!0,keyboard:!0,scroll:!1},Xi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},D=class _Offcanvas extends h{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Gi}static get DefaultType(){return Xi}static get NAME(){return Si}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){if(this._isShown)return;const n=e.trigger(this._element,Ii,{relatedTarget:t});if(n.defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new je).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Mt);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ot),this._element.classList.remove(Mt),e.trigger(this._element,Bi,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown)return;const t=e.trigger(this._element,Vi);if(t.defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ft),this._backdrop.hide();const n=()=>{this._element.classList.remove(Ot,Ft),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new je).reset(),e.trigger(this._element,Ze)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const n=()=>{if(this._config.backdrop==="static"){e.trigger(this._element,Rt);return}this.hide()},t=Boolean(this._config.backdrop);return new ft({className:Pi,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?n:null})}_initializeFocusTrap(){return new ct({trapElement:this._element})}_addEventListeners(){e.on(this._element,qi,t=>{if(t.key!==Di)return;if(this._config.keyboard){this.hide();return}e.trigger(this._element,Rt)})}static jQueryInterface(e){return this.each(function(){const t=_Offcanvas.getOrCreateInstance(this,e);if(typeof e!="string")return;if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)})}},e.on(document,Ki,Yi,function(n){const s=t.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),O(this))return;e.one(s,Ze,()=>{$(this)&&this.focus()});const o=t.findOne(Tt);o&&o!==s&&D.getInstance(o).hide();const i=D.getOrCreateInstance(s);i.toggle(this)}),e.on(window,zi,()=>{for(const e of t.find(Tt))D.getOrCreateInstance(e).show()}),e.on(window,Ui,()=>{for(const e of t.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&D.getOrCreateInstance(e).hide()}),ue(D),c(D),Zi=/^aria-[\w-]*$/i,Xt={"*":["class","dir","id","lang","role",Zi],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:[]},ea=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ta=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,na=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!ea.has(n)||Boolean(ta.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))};function Tr(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const o=new window.DOMParser,s=o.parseFromString(e,"text/html"),i=[].concat(...s.body.querySelectorAll("*"));for(const e of i){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const s=[].concat(...e.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const t of s)na(t,o)||e.removeAttribute(t.nodeName)}return s.body.innerHTML}oa="TemplateFactory",ia={allowList:Xt,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},aa={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ra={entry:"(string|element|function|null)",selector:"(string|element)"},ca=class extends Q{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ia}static get DefaultType(){return aa}static get NAME(){return oa}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},ra)}_setContent(e,n,s){const o=t.findOne(s,e);if(!o)return;if(n=this._resolvePossibleFunction(n),!n){o.remove();return}if(f(n)){this._putElementInTemplate(b(n),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(n);return}o.textContent=n}_maybeSanitize(e){return this._config.sanitize?Tr(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return o(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}},la="tooltip",da=new Set(["sanitize","allowList","sanitizeFn"]),Fe="fade",ha="modal",fe="show",fa=".tooltip-inner",nn=`.${ha}`,ln="hide.bs.modal",X="hover",Oe="focus",ja="click",ya="manual",_a="hide",wa="hidden",Oa="show",xa="shown",Ca="inserted",Ea="click",ka="focusin",Aa="focusout",Sa="mouseenter",Ma="mouseleave",Fa={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Ta={allowList:Xt,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},za={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"},ee=class _Tooltip extends h{constructor(e,t){if(typeof Sn=="undefined")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Ta}static get DefaultType(){return za}static get NAME(){return la}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!this._isEnabled)return;if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}dispose(){clearTimeout(this._timeout),e.off(this._element.closest(nn),ln,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const n=e.trigger(this._element,this.constructor.eventName(Oa)),s=Et(this._element),o=(s||this._element.ownerDocument.documentElement).contains(this._element);if(n.defaultPrevented||!o)return;this._disposePopper();const t=this._getTipElement();this._element.setAttribute("aria-describedby",t.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(t),e.trigger(this._element,this.constructor.eventName(Ca))),this._popper=this._createPopper(t),t.classList.add(fe),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.on(t,"mouseover",se);const a=()=>{e.trigger(this._element,this.constructor.eventName(xa)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(a,this.tip,this._isAnimated())}hide(){if(!this._isShown())return;const t=e.trigger(this._element,this.constructor.eventName(_a));if(t.defaultPrevented)return;const n=this._getTipElement();if(n.classList.remove(fe),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.off(t,"mouseover",se);this._activeTrigger[ja]=!1,this._activeTrigger[Oe]=!1,this._activeTrigger[X]=!1,this._isHovered=null;const s=()=>{if(this._isWithActiveTrigger())return;this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),e.trigger(this._element,this.constructor.eventName(wa))};this._queueCallback(s,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(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Fe,fe),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=Do(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Fe),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ca({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[fa]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Fe)}_isShown(){return this.tip&&this.tip.classList.contains(fe)}_createPopper(e){const t=o(this._config.placement,[this,e,this._element]),n=Fa[t.toUpperCase()];return qe(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(e=>Number.parseInt(e,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return o(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...o(this._config.popperConfig,[t])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")e.on(this._element,this.constructor.eventName(Ea),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t.toggle()});else if(n!==ya){const t=n===X?this.constructor.eventName(Sa):this.constructor.eventName(ka),s=n===X?this.constructor.eventName(Ma):this.constructor.eventName(Aa);e.on(this._element,t,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type==="focusin"?Oe:X]=!0,t._enter()}),e.on(this._element,s,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type==="focusout"?Oe:X]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},e.on(this._element.closest(nn),ln,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");if(!e)return;!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title")}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){if(this._isWithActiveTrigger())return;this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide)}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=g.getDataAttributes(this._element);for(const e of Object.keys(t))da.has(e)&&delete t[e];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:b(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=_Tooltip.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}},c(ee),Na="popover",La=".popover-header",Ra=".popover-body",Pa={...ee.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Fn={...ee.DefaultType,content:"(null|string|element|function)"},Ia=class _Popover extends ee{static get Default(){return Pa}static get DefaultType(){return Fn}static get NAME(){return Na}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[La]:this._getTitle(),[Ra]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=_Popover.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}},c(Ia),Ba="scrollspy",Va="bs.scrollspy",Ve=`.${Va}`,Wa=".data-api",Ua=`activate${Ve}`,_n=`click${Ve}`,qa=`load${Ve}${Wa}`,Ya="dropdown-item",B="active",Xa='[data-bs-spy="scroll"]',Me="[href]",Za=".nav, .list-group",Kt=".nav-link",er=".nav-item",tr=".list-group-item",nr=`${Kt}, ${er} > ${Kt}, ${tr}`,sr=".dropdown",or=".dropdown-toggle",ir={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ar={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},mt=class _ScrollSpy extends h{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ir}static get DefaultType(){return ar}static get NAME(){return Ba}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=b(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){if(!this._config.smoothScroll)return;e.off(this._config.target,_n),e.on(this._config.target,_n,Me,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,s=t.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:s,behavior:"smooth"});return}n.scrollTop=s}})}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const n=e=>this._targetLinks.get(`#${e.target.id}`),s=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(n(e))},t=(this._rootElement||document.documentElement).scrollTop,o=t>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=t;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(i));continue}const a=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&a){if(s(i),!t)return;continue}!o&&!a&&s(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=t.find(Me,this._config.target);for(const n of e){if(!n.hash||O(n))continue;const s=t.findOne(decodeURI(n.hash),this._element);$(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(t){if(this._activeTarget===t)return;this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(B),this._activateParents(t),e.trigger(this._element,Ua,{relatedTarget:t})}_activateParents(e){if(e.classList.contains(Ya)){t.findOne(or,e.closest(sr)).classList.add(B);return}for(const n of t.parents(e,Za))for(const e of t.prev(n,nr))e.classList.add(B)}_clearActiveClass(e){e.classList.remove(B);const n=t.find(`${Me}.${B}`,e);for(const e of n)e.classList.remove(B)}static jQueryInterface(e){return this.each(function(){const t=_ScrollSpy.getOrCreateInstance(this,e);if(typeof e!="string")return;if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()})}},e.on(window,qa,()=>{for(const e of t.find(Xa))mt.getOrCreateInstance(e)}),c(mt),cr="tab",lr="bs.tab",A=`.${lr}`,ur=`hide${A}`,hr=`hidden${A}`,mr=`show${A}`,fr=`shown${A}`,pr=`click${A}`,gr=`keydown${A}`,vr=`load${A}`,br="ArrowLeft",ut="ArrowRight",dr="ArrowUp",st="ArrowDown",Ge="Home",ht="End",E="active",yt="fade",$e="show",ga="dropdown",Qe=".dropdown-toggle",ma=".dropdown-menu",Be=`:not(${Qe})`,ua='.list-group, .nav, [role="tablist"]',sa=".nav-item, .list-group-item",Qi=`.nav-link${Be}, .list-group-item${Be}, [role="tab"]${Be}`,kt='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',He=`${Qi}, ${kt}`,$i=`.${E}[data-bs-toggle="tab"], .${E}[data-bs-toggle="pill"], .${E}[data-bs-toggle="list"]`,Pe=class _Tab extends h{constructor(t){if(super(t),this._parent=this._element.closest(ua),!this._parent)return;this._setInitialAttributes(this._parent,this._getChildren()),e.on(this._element,gr,e=>this._keydown(e))}static get NAME(){return cr}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?e.trigger(n,ur,{relatedTarget:t}):null,o=e.trigger(t,mr,{relatedTarget:n});if(o.defaultPrevented||s&&s.defaultPrevented)return;this._deactivate(n,t),this._activate(t,n)}_activate(n,s){if(!n)return;n.classList.add(E),this._activate(t.getElementFromSelector(n));const o=()=>{if(n.getAttribute("role")!=="tab"){n.classList.add($e);return}n.removeAttribute("tabindex"),n.setAttribute("aria-selected",!0),this._toggleDropDown(n,!0),e.trigger(n,fr,{relatedTarget:s})};this._queueCallback(o,n,n.classList.contains(yt))}_deactivate(n,s){if(!n)return;n.classList.remove(E),n.blur(),this._deactivate(t.getElementFromSelector(n));const o=()=>{if(n.getAttribute("role")!=="tab"){n.classList.remove($e);return}n.setAttribute("aria-selected",!1),n.setAttribute("tabindex","-1"),this._toggleDropDown(n,!1),e.trigger(n,hr,{relatedTarget:s})};this._queueCallback(o,n,n.classList.contains(yt))}_keydown(e){if(![br,ut,dr,st,Ge,ht].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(e=>!O(e));let t;if([Ge,ht].includes(e.key))t=n[e.key===Ge?0:n.length-1];else{const s=[ut,st].includes(e.key);t=Re(n,e.target,s,!0)}t&&(t.focus({preventScroll:!0}),_Tab.getOrCreateInstance(t).show())}_getChildren(){return t.find(He,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=t.getElementFromSelector(e);if(!n)return;this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`)}_toggleDropDown(e,n){const s=this._getOuterElement(e);if(!s.classList.contains(ga))return;const o=(e,o)=>{const i=t.findOne(e,s);i&&i.classList.toggle(o,n)};o(Qe,E),o(ma,$e),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(E)}_getInnerElement(e){return e.matches(He)?e:t.findOne(He,e)}_getOuterElement(e){return e.closest(sa)||e}static jQueryInterface(e){return this.each(function(){const t=_Tab.getOrCreateInstance(this);if(typeof e!="string")return;if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()})}},e.on(document,pr,kt,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),O(this))return;Pe.getOrCreateInstance(this).show()}),e.on(window,vr,()=>{for(const e of t.find($i))Pe.getOrCreateInstance(e)}),c(Pe),Ni="toast",Ti="bs.toast",_=`.${Ti}`,Ai=`mouseover${_}`,_i=`mouseout${_}`,yi=`focusin${_}`,bi=`focusout${_}`,ui=`hide${_}`,di=`hidden${_}`,ii=`show${_}`,ni=`shown${_}`,ti="fade",Pt="hide",de="show",J="showing",ei={animation:"boolean",autohide:"boolean",delay:"number"},Qs={animation:!0,autohide:!0,delay:5e3},qt=class _Toast extends h{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Qs}static get DefaultType(){return ei}static get NAME(){return Ni}show(){const t=e.trigger(this._element,ii);if(t.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(ti);const n=()=>{this._element.classList.remove(J),e.trigger(this._element,ni),this._maybeScheduleHide()};this._element.classList.remove(Pt),q(this._element),this._element.classList.add(de,J),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown())return;const t=e.trigger(this._element,ui);if(t.defaultPrevented)return;const n=()=>{this._element.classList.add(Pt),this._element.classList.remove(J,de),e.trigger(this._element,di)};this._element.classList.add(J),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(de),super.dispose()}isShown(){return this._element.classList.contains(de)}_maybeScheduleHide(){if(!this._config.autohide)return;if(this._hasMouseInteraction||this._hasKeyboardInteraction)return;this._timeout=setTimeout(()=>{this.hide()},this._config.delay)}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const n=e.relatedTarget;if(this._element===n||this._element.contains(n))return;this._maybeScheduleHide()}_setListeners(){e.on(this._element,Ai,e=>this._onInteraction(e,!0)),e.on(this._element,_i,e=>this._onInteraction(e,!1)),e.on(this._element,yi,e=>this._onInteraction(e,!0)),e.on(this._element,bi,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=_Toast.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e](this)}})}},ue(qt),c(qt),Xs=class{constructor(){this.init()}init(){}},Rs=Xs;function oc(){const e=document.getElementById("main-nav");e&&new Rs(e)}oc()})()
|