@reactufy/rebootui 1.0.1

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.
Files changed (188) hide show
  1. package/README.md +151 -0
  2. package/dist/bootstrap.css +11863 -0
  3. package/dist/bootstrap.css.map +1 -0
  4. package/dist/components/layout/Layout.d.ts +9 -0
  5. package/dist/components/layout/Layout.d.ts.map +1 -0
  6. package/dist/components/layout/LayoutContent.d.ts +7 -0
  7. package/dist/components/layout/LayoutContent.d.ts.map +1 -0
  8. package/dist/components/layout/LayoutFooter.d.ts +7 -0
  9. package/dist/components/layout/LayoutFooter.d.ts.map +1 -0
  10. package/dist/components/layout/LayoutHeader.d.ts +7 -0
  11. package/dist/components/layout/LayoutHeader.d.ts.map +1 -0
  12. package/dist/components/layout/LayoutSidebar.d.ts +7 -0
  13. package/dist/components/layout/LayoutSidebar.d.ts.map +1 -0
  14. package/dist/components/ui/Alert.d.ts +11 -0
  15. package/dist/components/ui/Alert.d.ts.map +1 -0
  16. package/dist/components/ui/Badge.d.ts +14 -0
  17. package/dist/components/ui/Badge.d.ts.map +1 -0
  18. package/dist/components/ui/Button.d.ts +23 -0
  19. package/dist/components/ui/Button.d.ts.map +1 -0
  20. package/dist/components/ui/ButtonGroup.d.ts +12 -0
  21. package/dist/components/ui/ButtonGroup.d.ts.map +1 -0
  22. package/dist/components/ui/Column.d.ts +15 -0
  23. package/dist/components/ui/Column.d.ts.map +1 -0
  24. package/dist/components/ui/Container.d.ts +11 -0
  25. package/dist/components/ui/Container.d.ts.map +1 -0
  26. package/dist/components/ui/Heading.d.ts +16 -0
  27. package/dist/components/ui/Heading.d.ts.map +1 -0
  28. package/dist/components/ui/Icon.d.ts +10 -0
  29. package/dist/components/ui/Icon.d.ts.map +1 -0
  30. package/dist/components/ui/Popover.d.ts +15 -0
  31. package/dist/components/ui/Popover.d.ts.map +1 -0
  32. package/dist/components/ui/Progress.d.ts +22 -0
  33. package/dist/components/ui/Progress.d.ts.map +1 -0
  34. package/dist/components/ui/Row.d.ts +15 -0
  35. package/dist/components/ui/Row.d.ts.map +1 -0
  36. package/dist/components/ui/Spinner.d.ts +13 -0
  37. package/dist/components/ui/Spinner.d.ts.map +1 -0
  38. package/dist/components/ui/Table.d.ts +16 -0
  39. package/dist/components/ui/Table.d.ts.map +1 -0
  40. package/dist/components/ui/Text.d.ts +303 -0
  41. package/dist/components/ui/Text.d.ts.map +1 -0
  42. package/dist/components/ui/Tooltip.d.ts +14 -0
  43. package/dist/components/ui/Tooltip.d.ts.map +1 -0
  44. package/dist/components/ui/Wrapper.d.ts +8 -0
  45. package/dist/components/ui/Wrapper.d.ts.map +1 -0
  46. package/dist/components/ui/accordion/Accordion.d.ts +17 -0
  47. package/dist/components/ui/accordion/Accordion.d.ts.map +1 -0
  48. package/dist/components/ui/accordion/AccordionItem.d.ts +10 -0
  49. package/dist/components/ui/accordion/AccordionItem.d.ts.map +1 -0
  50. package/dist/components/ui/breadcrumb/Breadcrumb.d.ts +19 -0
  51. package/dist/components/ui/breadcrumb/Breadcrumb.d.ts.map +1 -0
  52. package/dist/components/ui/breadcrumb/BreadcrumbItem.d.ts +12 -0
  53. package/dist/components/ui/breadcrumb/BreadcrumbItem.d.ts.map +1 -0
  54. package/dist/components/ui/card/Card.d.ts +46 -0
  55. package/dist/components/ui/card/Card.d.ts.map +1 -0
  56. package/dist/components/ui/card/CardBody.d.ts +8 -0
  57. package/dist/components/ui/card/CardBody.d.ts.map +1 -0
  58. package/dist/components/ui/card/CardFooter.d.ts +8 -0
  59. package/dist/components/ui/card/CardFooter.d.ts.map +1 -0
  60. package/dist/components/ui/card/CardHeader.d.ts +8 -0
  61. package/dist/components/ui/card/CardHeader.d.ts.map +1 -0
  62. package/dist/components/ui/card/CardImage.d.ts +10 -0
  63. package/dist/components/ui/card/CardImage.d.ts.map +1 -0
  64. package/dist/components/ui/card/CardText.d.ts +8 -0
  65. package/dist/components/ui/card/CardText.d.ts.map +1 -0
  66. package/dist/components/ui/card/CardTitle.d.ts +17 -0
  67. package/dist/components/ui/card/CardTitle.d.ts.map +1 -0
  68. package/dist/components/ui/dropdown/Dropdown.d.ts +35 -0
  69. package/dist/components/ui/dropdown/Dropdown.d.ts.map +1 -0
  70. package/dist/components/ui/dropdown/DropdownItem.d.ts +14 -0
  71. package/dist/components/ui/dropdown/DropdownItem.d.ts.map +1 -0
  72. package/dist/components/ui/dropdown/DropdownMenu.d.ts +10 -0
  73. package/dist/components/ui/dropdown/DropdownMenu.d.ts.map +1 -0
  74. package/dist/components/ui/dropdown/DropdownToggle.d.ts +15 -0
  75. package/dist/components/ui/dropdown/DropdownToggle.d.ts.map +1 -0
  76. package/dist/components/ui/listgroup/ListGroup.d.ts +30 -0
  77. package/dist/components/ui/listgroup/ListGroup.d.ts.map +1 -0
  78. package/dist/components/ui/listgroup/ListGroupItem.d.ts +17 -0
  79. package/dist/components/ui/listgroup/ListGroupItem.d.ts.map +1 -0
  80. package/dist/components/ui/modal/Modal.d.ts +34 -0
  81. package/dist/components/ui/modal/Modal.d.ts.map +1 -0
  82. package/dist/components/ui/modal/ModalBody.d.ts +8 -0
  83. package/dist/components/ui/modal/ModalBody.d.ts.map +1 -0
  84. package/dist/components/ui/modal/ModalDialog.d.ts +14 -0
  85. package/dist/components/ui/modal/ModalDialog.d.ts.map +1 -0
  86. package/dist/components/ui/modal/ModalFooter.d.ts +8 -0
  87. package/dist/components/ui/modal/ModalFooter.d.ts.map +1 -0
  88. package/dist/components/ui/modal/ModalHeader.d.ts +8 -0
  89. package/dist/components/ui/modal/ModalHeader.d.ts.map +1 -0
  90. package/dist/components/ui/nav/Nav.d.ts +16 -0
  91. package/dist/components/ui/nav/Nav.d.ts.map +1 -0
  92. package/dist/components/ui/nav/NavItem.d.ts +9 -0
  93. package/dist/components/ui/nav/NavItem.d.ts.map +1 -0
  94. package/dist/components/ui/nav/NavLink.d.ts +12 -0
  95. package/dist/components/ui/nav/NavLink.d.ts.map +1 -0
  96. package/dist/components/ui/navbar/Navbar.d.ts +19 -0
  97. package/dist/components/ui/navbar/Navbar.d.ts.map +1 -0
  98. package/dist/components/ui/navbar/NavbarBrand.d.ts +13 -0
  99. package/dist/components/ui/navbar/NavbarBrand.d.ts.map +1 -0
  100. package/dist/components/ui/navbar/NavbarCollapse.d.ts +9 -0
  101. package/dist/components/ui/navbar/NavbarCollapse.d.ts.map +1 -0
  102. package/dist/components/ui/navbar/NavbarToggler.d.ts +9 -0
  103. package/dist/components/ui/navbar/NavbarToggler.d.ts.map +1 -0
  104. package/dist/components/ui/offcanvas/Offcanvas.d.ts +26 -0
  105. package/dist/components/ui/offcanvas/Offcanvas.d.ts.map +1 -0
  106. package/dist/components/ui/offcanvas/OffcanvasBody.d.ts +8 -0
  107. package/dist/components/ui/offcanvas/OffcanvasBody.d.ts.map +1 -0
  108. package/dist/components/ui/offcanvas/OffcanvasHeader.d.ts +8 -0
  109. package/dist/components/ui/offcanvas/OffcanvasHeader.d.ts.map +1 -0
  110. package/dist/components/ui/pagination/Pagination.d.ts +21 -0
  111. package/dist/components/ui/pagination/Pagination.d.ts.map +1 -0
  112. package/dist/components/ui/pagination/PaginationItem.d.ts +11 -0
  113. package/dist/components/ui/pagination/PaginationItem.d.ts.map +1 -0
  114. package/dist/components/ui/scrollspy/Scrollspy.d.ts +26 -0
  115. package/dist/components/ui/scrollspy/Scrollspy.d.ts.map +1 -0
  116. package/dist/components/ui/scrollspy/ScrollspyDropdown.d.ts +8 -0
  117. package/dist/components/ui/scrollspy/ScrollspyDropdown.d.ts.map +1 -0
  118. package/dist/components/ui/scrollspy/ScrollspyNav.d.ts +8 -0
  119. package/dist/components/ui/scrollspy/ScrollspyNav.d.ts.map +1 -0
  120. package/dist/components/ui/scrollspy/ScrollspyNavItem.d.ts +7 -0
  121. package/dist/components/ui/scrollspy/ScrollspyNavItem.d.ts.map +1 -0
  122. package/dist/components/ui/stack/HStack.d.ts +6 -0
  123. package/dist/components/ui/stack/HStack.d.ts.map +1 -0
  124. package/dist/components/ui/stack/Stack.d.ts +29 -0
  125. package/dist/components/ui/stack/Stack.d.ts.map +1 -0
  126. package/dist/components/ui/stack/StackItem.d.ts +16 -0
  127. package/dist/components/ui/stack/StackItem.d.ts.map +1 -0
  128. package/dist/components/ui/stack/VStack.d.ts +6 -0
  129. package/dist/components/ui/stack/VStack.d.ts.map +1 -0
  130. package/dist/components/ui/toast/Toast.d.ts +22 -0
  131. package/dist/components/ui/toast/Toast.d.ts.map +1 -0
  132. package/dist/components/ui/toast/ToastContainer.d.ts +12 -0
  133. package/dist/components/ui/toast/ToastContainer.d.ts.map +1 -0
  134. package/dist/index.d.ts +84 -0
  135. package/dist/index.d.ts.map +1 -0
  136. package/dist/index.js +29 -0
  137. package/dist/index.js.map +1 -0
  138. package/dist/index.mjs +2854 -0
  139. package/dist/index.mjs.map +1 -0
  140. package/dist/rebootui-complete.css +11922 -0
  141. package/dist/rebootui-complete.css.map +1 -0
  142. package/dist/rebootui-overrides.css +61 -0
  143. package/dist/rebootui-overrides.css.map +1 -0
  144. package/dist/store/AccordionContext.d.ts +16 -0
  145. package/dist/store/AccordionContext.d.ts.map +1 -0
  146. package/dist/store/DropdownContext.d.ts +18 -0
  147. package/dist/store/DropdownContext.d.ts.map +1 -0
  148. package/dist/store/ListGroupContext.d.ts +9 -0
  149. package/dist/store/ListGroupContext.d.ts.map +1 -0
  150. package/dist/store/NavbarContext.d.ts +13 -0
  151. package/dist/store/NavbarContext.d.ts.map +1 -0
  152. package/dist/types/Base.d.ts +52 -0
  153. package/dist/types/Base.d.ts.map +1 -0
  154. package/dist/types/alert.d.ts +4 -0
  155. package/dist/types/alert.d.ts.map +1 -0
  156. package/dist/types/badge.d.ts +28 -0
  157. package/dist/types/badge.d.ts.map +1 -0
  158. package/dist/types/button.d.ts +30 -0
  159. package/dist/types/button.d.ts.map +1 -0
  160. package/dist/types/card.d.ts +9 -0
  161. package/dist/types/card.d.ts.map +1 -0
  162. package/dist/types/container.d.ts +10 -0
  163. package/dist/types/container.d.ts.map +1 -0
  164. package/dist/types/dropdown.d.ts +12 -0
  165. package/dist/types/dropdown.d.ts.map +1 -0
  166. package/dist/types/layout.d.ts +7 -0
  167. package/dist/types/layout.d.ts.map +1 -0
  168. package/dist/types/listgroup.d.ts +4 -0
  169. package/dist/types/listgroup.d.ts.map +1 -0
  170. package/dist/types/modal.d.ts +16 -0
  171. package/dist/types/modal.d.ts.map +1 -0
  172. package/dist/types/offcanvas.d.ts +6 -0
  173. package/dist/types/offcanvas.d.ts.map +1 -0
  174. package/dist/types/pagination.d.ts +9 -0
  175. package/dist/types/pagination.d.ts.map +1 -0
  176. package/dist/types/progress.d.ts +12 -0
  177. package/dist/types/progress.d.ts.map +1 -0
  178. package/dist/types/row.d.ts +235 -0
  179. package/dist/types/row.d.ts.map +1 -0
  180. package/dist/types/spinner.d.ts +14 -0
  181. package/dist/types/spinner.d.ts.map +1 -0
  182. package/dist/types/stack.d.ts +343 -0
  183. package/dist/types/stack.d.ts.map +1 -0
  184. package/dist/types/toast.d.ts +16 -0
  185. package/dist/types/toast.d.ts.map +1 -0
  186. package/dist/types/tooltip.d.ts +4 -0
  187. package/dist/types/tooltip.d.ts.map +1 -0
  188. package/package.json +58 -0
package/dist/index.mjs ADDED
@@ -0,0 +1,2854 @@
1
+ import { jsx as a, jsxs as N, Fragment as z } from "react/jsx-runtime";
2
+ import * as O from "react";
3
+ import M, { createElement as D, useState as V, useRef as Z, useEffect as I, createContext as ee, useReducer as De, useContext as te, useId as rt } from "react";
4
+ import { createPortal as Ge } from "react-dom";
5
+ const G = {
6
+ Primary: "primary",
7
+ Secondary: "secondary",
8
+ Success: "success",
9
+ Danger: "danger",
10
+ Warning: "warning",
11
+ Info: "info",
12
+ Light: "light",
13
+ Dark: "dark"
14
+ }, oe = {
15
+ Sm: "sm",
16
+ Md: "md",
17
+ Lg: "lg",
18
+ Xl: "xl",
19
+ Xxl: "xxl"
20
+ }, at = {
21
+ W0: "0",
22
+ W25: "25",
23
+ W50: "50",
24
+ W75: "75",
25
+ W100: "100",
26
+ WAuto: "auto"
27
+ }, it = {
28
+ OverflowAuto: "auto",
29
+ OverflowHidden: "hidden",
30
+ OverflowVisible: "visible",
31
+ OverflowScroll: "scroll"
32
+ }, Te = {
33
+ Top: "top",
34
+ Bottom: "bottom",
35
+ Start: "start",
36
+ End: "end"
37
+ }, ct = {
38
+ Start: "start",
39
+ End: "end",
40
+ Center: "center",
41
+ Between: "between",
42
+ Around: "around",
43
+ Evenly: "evenly"
44
+ }, dt = Object.fromEntries(
45
+ Object.entries(G).map(([e, t]) => [e, `alert-${t}`])
46
+ ), ft = (e) => e ? Array.isArray(e) ? e : [e] : [], gn = ({
47
+ children: e,
48
+ className: t,
49
+ color: o,
50
+ ...n
51
+ }) => {
52
+ const s = [
53
+ ...ft(o)
54
+ ], r = [
55
+ { prop: o, set: new Set(Object.values(dt)) }
56
+ ], i = ((t == null ? void 0 : t.split(" ").filter(Boolean)) ?? []).filter(
57
+ (f) => !r.some(({ prop: m, set: u }) => m && u.has(f))
58
+ ), c = /* @__PURE__ */ new Set([...s, ...i]), d = [
59
+ "alert",
60
+ ...new Set(
61
+ [...c].filter((f) => f !== "alert")
62
+ )
63
+ ].join(" ");
64
+ return /* @__PURE__ */ a("div", { className: d, ...n, children: e });
65
+ }, mt = Object.fromEntries(
66
+ Object.entries(G).map(([e, t]) => [e, `text-bg-${t}`])
67
+ ), ut = {
68
+ None: "rounded-0",
69
+ Pill: "rounded-pill",
70
+ Circle: "rounded-circle"
71
+ }, pt = {
72
+ Absolute: "position-absolute",
73
+ Relative: "position-relative",
74
+ Static: "position-static"
75
+ }, xt = {
76
+ TopStart: "translate-middle top-0 start-0",
77
+ TopCenter: "translate-middle top-0 start-50",
78
+ TopEnd: "translate-middle top-0 start-100",
79
+ MiddleStart: "translate-middle top-50 start-0",
80
+ MiddleCenter: "translate-middle top-50 start-50",
81
+ MiddleEnd: "translate-middle top-50 start-100",
82
+ BottomStart: "translate-middle top-100 start-0",
83
+ BottomCenter: "translate-middle top-100 start-50",
84
+ BottomEnd: "translate-middle top-100 start-100"
85
+ }, Y = (e) => e ? Array.isArray(e) ? e : [e] : [], hn = ({
86
+ children: e,
87
+ className: t,
88
+ color: o,
89
+ position: n,
90
+ rounded: s,
91
+ placement: r
92
+ }) => {
93
+ const l = [
94
+ ...Y(o),
95
+ ...Y(n),
96
+ ...Y(s),
97
+ ...Y(r)
98
+ ], i = [
99
+ { prop: o, set: new Set(Object.values(mt)) },
100
+ { prop: n, set: new Set(Object.values(pt)) },
101
+ { prop: s, set: new Set(Object.values(ut)) },
102
+ { prop: r, set: new Set(Object.values(xt)) }
103
+ ], d = ((t == null ? void 0 : t.split(" ").filter(Boolean)) ?? []).filter(
104
+ (u) => !i.some(({ prop: x, set: C }) => x && C.has(u))
105
+ ), f = /* @__PURE__ */ new Set([...l, ...d]), m = [
106
+ "badge",
107
+ ...new Set(
108
+ [...f].filter((u) => u !== "badge")
109
+ )
110
+ ].join(" ");
111
+ return /* @__PURE__ */ a("span", { className: m, children: e });
112
+ };
113
+ function gt(e) {
114
+ const t = Object.fromEntries(
115
+ Object.entries(e).map(([n, s]) => [n, `btn-${s}`])
116
+ ), o = Object.fromEntries(
117
+ Object.entries(e).map(([n, s]) => [`${n}Outline`, `btn-outline-${s}`])
118
+ );
119
+ return {
120
+ ...t,
121
+ ...o,
122
+ Link: "btn-link"
123
+ };
124
+ }
125
+ const Ve = gt(G), Ie = ["Sm", "Lg"], ht = Object.fromEntries(
126
+ Ie.map((e) => [e, `btn-${oe[e]}`])
127
+ ), wt = Object.fromEntries(
128
+ Ie.map((e) => [e, `btn-group-${oe[e]}`])
129
+ ), Le = (e) => e ? Array.isArray(e) ? e : [e] : [], Ee = ({
130
+ el: e,
131
+ children: t,
132
+ className: o,
133
+ color: n,
134
+ size: s,
135
+ type: r = "button",
136
+ disabled: l = !1,
137
+ active: i = !1,
138
+ ...c
139
+ }) => {
140
+ const d = e || "button", f = [
141
+ ...Le(n),
142
+ ...Le(s)
143
+ ];
144
+ i && f.push("active");
145
+ const m = [
146
+ { prop: n, set: new Set(Object.values(Ve)) },
147
+ { prop: s, set: new Set(Object.values(ht)) }
148
+ ], x = ((o == null ? void 0 : o.split(" ").filter(Boolean)) ?? []).filter(
149
+ (b) => !m.some(({ prop: S, set: p }) => S && p.has(b))
150
+ ), C = /* @__PURE__ */ new Set([...f, ...x]), h = [
151
+ "btn",
152
+ ...new Set(
153
+ [...C].filter((b) => b !== "btn")
154
+ )
155
+ ].join(" ");
156
+ return D(d, { ...c, className: h, type: r, disabled: l }, t);
157
+ }, vt = (e) => e ? Array.isArray(e) ? e : [e] : [], wn = ({
158
+ children: e,
159
+ className: t,
160
+ size: o,
161
+ vertical: n = !1,
162
+ ...s
163
+ }) => {
164
+ const r = [
165
+ ...vt(o)
166
+ ], l = [
167
+ { prop: o, set: new Set(Object.values(wt)) }
168
+ ], c = ((t == null ? void 0 : t.split(" ").filter(Boolean)) ?? []).filter(
169
+ (m) => !l.some(({ prop: u, set: x }) => u && x.has(m))
170
+ ), d = /* @__PURE__ */ new Set([...r, ...c]), f = [
171
+ n ? "btn-group-vertical" : "btn-group",
172
+ ...new Set(
173
+ [...d].filter(
174
+ (m) => m !== "btn-group" && m !== "btn-group-vertical"
175
+ )
176
+ )
177
+ ].join(" ");
178
+ return /* @__PURE__ */ a(
179
+ "div",
180
+ {
181
+ className: f,
182
+ role: "group",
183
+ ...s,
184
+ children: e
185
+ }
186
+ );
187
+ }, Ct = {
188
+ Border: "spinner-border",
189
+ Grow: "spinner-grow"
190
+ }, vn = {
191
+ BorderSm: "spinner-border-sm",
192
+ GrowSm: "spinner-grow-sm"
193
+ }, Cn = Object.fromEntries(
194
+ Object.entries(G).map(([e, t]) => [e, `text-${t}`])
195
+ ), bn = ({
196
+ spinnerType: e = Ct.Border,
197
+ color: t,
198
+ size: o,
199
+ style: n,
200
+ className: s
201
+ }) => {
202
+ const r = [
203
+ e,
204
+ t,
205
+ o,
206
+ ...(s == null ? void 0 : s.split(/\s+/).filter(Boolean)) ?? []
207
+ ].filter(Boolean).join(" ");
208
+ return /* @__PURE__ */ a("div", { className: r, style: n, role: "status", children: /* @__PURE__ */ a("span", { className: "visually-hidden", children: "Loading..." }) });
209
+ }, Sn = Object.fromEntries(
210
+ Object.entries(G).map(([e, t]) => [e, `bg-${t}`])
211
+ ), bt = ["W0", "W25", "W50", "W75", "W100"], yn = Object.fromEntries(
212
+ bt.map((e) => [e, `w-${at[e]}`])
213
+ ), St = ["OverflowVisible", "OverflowHidden"], yt = Object.fromEntries(
214
+ St.map((e) => [e, `overflow-${it[e]}`])
215
+ ), On = ({
216
+ id: e,
217
+ className: t,
218
+ isStriped: o = !1,
219
+ isAnimating: n = !1,
220
+ progressValue: s,
221
+ labelOverflow: r = yt.OverflowHidden,
222
+ progressValueClass: l,
223
+ color: i,
224
+ height: c,
225
+ label: d
226
+ }) => {
227
+ const f = {}, m = [
228
+ "progress-bar",
229
+ ...new Set(
230
+ (t ?? "").split(/\s+/).filter(Boolean).filter((x) => !x.startsWith("progress-bar"))
231
+ ),
232
+ l,
233
+ i,
234
+ r,
235
+ o ? "progress-bar-striped" : "",
236
+ n ? "progress-bar-animated" : ""
237
+ ].filter(Boolean).join(" ");
238
+ c && (f.height = typeof c == "number" ? `${c}px` : c);
239
+ const u = s != null ? `${Math.min(Math.max(s, 0), 100)}%` : void 0;
240
+ return /* @__PURE__ */ a(
241
+ "div",
242
+ {
243
+ id: e,
244
+ style: f,
245
+ className: `progress ${t ?? ""}`,
246
+ role: "progressbar",
247
+ children: /* @__PURE__ */ a("div", { className: m, style: { width: u }, children: d })
248
+ }
249
+ );
250
+ }, X = Object.fromEntries(
251
+ Object.entries(Te).map(([e, t]) => [e, `${t}`])
252
+ ), Ln = ({ children: e, text: t, className: o, placement: n = X.Top, isHtml: s = !1, container: r = "body" }) => {
253
+ const [l, i] = V(!1), [c, d] = V({ top: 0, left: 0 }), f = Z(null), m = Z(null), u = () => {
254
+ if (!f.current || !m.current) return;
255
+ const p = f.current.getBoundingClientRect(), w = m.current.getBoundingClientRect();
256
+ let g = 0, y = 0;
257
+ if (r === "body") {
258
+ const v = window.scrollX || window.pageXOffset, L = window.scrollY || window.pageYOffset;
259
+ switch (n) {
260
+ case X.Top:
261
+ g = p.top + L - w.height - 8, y = p.left + v + (p.width - w.width) / 2;
262
+ break;
263
+ case X.Bottom:
264
+ g = p.bottom + L + 8, y = p.left + v + (p.width - w.width) / 2;
265
+ break;
266
+ case X.Start:
267
+ g = p.top + L + (p.height - w.height) / 2, y = p.left + v - w.width - 8;
268
+ break;
269
+ case X.End:
270
+ g = p.top + L + (p.height - w.height) / 2, y = p.right + v + 8;
271
+ break;
272
+ }
273
+ } else {
274
+ const L = ((k) => k.offsetParent || document.documentElement)(f.current), A = L.getBoundingClientRect();
275
+ let E = p.top - A.top, j = p.left - A.left;
276
+ switch (L !== document.documentElement && L !== document.body && (E += L.scrollTop, j += L.scrollLeft), n) {
277
+ case X.Top:
278
+ g = E - w.height - 8, y = j + (p.width - w.width) / 2;
279
+ break;
280
+ case X.Bottom:
281
+ g = E + p.height + 8, y = j + (p.width - w.width) / 2;
282
+ break;
283
+ case X.Start:
284
+ g = E + (p.height - w.height) / 2, y = j - w.width - 8;
285
+ break;
286
+ case X.End:
287
+ g = E + (p.height - w.height) / 2, y = j + p.width + 8;
288
+ break;
289
+ }
290
+ }
291
+ d({ top: g, left: y });
292
+ };
293
+ I(() => {
294
+ if (l) {
295
+ u();
296
+ const p = () => {
297
+ i(!1);
298
+ }, w = () => {
299
+ u();
300
+ };
301
+ return window.addEventListener("scroll", p, !0), window.addEventListener("resize", w), () => {
302
+ window.removeEventListener("scroll", p, !0), window.removeEventListener("resize", w);
303
+ };
304
+ }
305
+ }, [l, n, r]);
306
+ const x = () => {
307
+ i(!0);
308
+ }, C = () => {
309
+ i(!1);
310
+ }, h = () => {
311
+ i(!0);
312
+ }, b = () => {
313
+ i(!1);
314
+ }, S = [
315
+ "tooltip",
316
+ `bs-tooltip-${n}`,
317
+ l ? "show" : "",
318
+ o
319
+ ].filter(Boolean).join(" ");
320
+ return /* @__PURE__ */ N(z, { children: [
321
+ /* @__PURE__ */ a(
322
+ "span",
323
+ {
324
+ className: "d-inline-block",
325
+ ref: f,
326
+ onMouseEnter: x,
327
+ onMouseLeave: C,
328
+ onFocus: h,
329
+ onBlur: b,
330
+ children: e
331
+ }
332
+ ),
333
+ l && (r === "body" ? Ge(
334
+ /* @__PURE__ */ N(
335
+ "div",
336
+ {
337
+ ref: m,
338
+ className: S,
339
+ role: "tooltip",
340
+ style: {
341
+ position: "absolute",
342
+ top: `${c.top}px`,
343
+ left: `${c.left}px`,
344
+ zIndex: 1080,
345
+ opacity: 1
346
+ },
347
+ children: [
348
+ /* @__PURE__ */ a("div", { className: "tooltip-arrow" }),
349
+ /* @__PURE__ */ a("div", { className: "tooltip-inner", children: s ? /* @__PURE__ */ a("span", { dangerouslySetInnerHTML: { __html: t } }) : t })
350
+ ]
351
+ }
352
+ ),
353
+ document.body
354
+ ) : /* @__PURE__ */ N(
355
+ "div",
356
+ {
357
+ ref: m,
358
+ className: S,
359
+ role: "tooltip",
360
+ style: {
361
+ position: "absolute",
362
+ top: `${c.top}px`,
363
+ left: `${c.left}px`,
364
+ zIndex: 1080,
365
+ opacity: 1
366
+ },
367
+ children: [
368
+ /* @__PURE__ */ a("div", { className: "tooltip-arrow" }),
369
+ /* @__PURE__ */ a("div", { className: "tooltip-inner", children: s ? /* @__PURE__ */ a("span", { dangerouslySetInnerHTML: { __html: t } }) : t })
370
+ ]
371
+ }
372
+ ))
373
+ ] });
374
+ }, En = ({
375
+ children: e,
376
+ title: t,
377
+ content: o,
378
+ className: n,
379
+ placement: s = X.Top,
380
+ trigger: r = "click",
381
+ container: l = "body"
382
+ // Default: portal to body
383
+ }) => {
384
+ const [i, c] = V(!1), [d, f] = V({ top: 0, left: 0 }), m = Z(null), u = Z(null), x = () => {
385
+ if (!m.current || !u.current) return;
386
+ const g = m.current.getBoundingClientRect(), y = u.current.getBoundingClientRect();
387
+ let v = 0, L = 0;
388
+ if (l === "body") {
389
+ const A = window.scrollX || window.pageXOffset, E = window.scrollY || window.pageYOffset;
390
+ switch (s) {
391
+ case X.Top:
392
+ v = g.top + E - y.height - 8, L = g.left + A + (g.width - y.width) / 2;
393
+ break;
394
+ case X.Bottom:
395
+ v = g.bottom + E + 8, L = g.left + A + (g.width - y.width) / 2;
396
+ break;
397
+ case X.Start:
398
+ v = g.top + E + (g.height - y.height) / 2, L = g.left + A - y.width - 8;
399
+ break;
400
+ case X.End:
401
+ v = g.top + E + (g.height - y.height) / 2, L = g.right + A + 8;
402
+ break;
403
+ }
404
+ } else {
405
+ const E = ((ie) => ie.offsetParent || document.documentElement)(m.current), j = E.getBoundingClientRect();
406
+ let k = g.top - j.top, R = g.left - j.left;
407
+ switch (E !== document.documentElement && E !== document.body && (k += E.scrollTop, R += E.scrollLeft), s) {
408
+ case X.Top:
409
+ v = k - y.height - 8, L = R + (g.width - y.width) / 2;
410
+ break;
411
+ case X.Bottom:
412
+ v = k + g.height + 8, L = R + (g.width - y.width) / 2;
413
+ break;
414
+ case X.Start:
415
+ v = k + (g.height - y.height) / 2, L = R - y.width - 8;
416
+ break;
417
+ case X.End:
418
+ v = k + (g.height - y.height) / 2, L = R + g.width + 8;
419
+ break;
420
+ }
421
+ }
422
+ f({ top: v, left: L });
423
+ };
424
+ I(() => {
425
+ if (i) {
426
+ x();
427
+ const g = () => {
428
+ r === "hover" && c(!1);
429
+ }, y = () => {
430
+ x();
431
+ }, v = (A) => {
432
+ r !== "hover" && u.current && m.current && !u.current.contains(A.target) && !m.current.contains(A.target) && c(!1);
433
+ }, L = (A) => {
434
+ A.key === "Escape" && c(!1);
435
+ };
436
+ return window.addEventListener("scroll", g, !0), window.addEventListener("resize", y), document.addEventListener("mousedown", v), document.addEventListener("keydown", L), () => {
437
+ window.removeEventListener("scroll", g, !0), window.removeEventListener("resize", y), document.removeEventListener("mousedown", v), document.removeEventListener("keydown", L);
438
+ };
439
+ }
440
+ }, [i, s, r, l]);
441
+ const C = () => {
442
+ r === "click" && c(!i);
443
+ }, h = () => {
444
+ r === "hover" && c(!0);
445
+ }, b = () => {
446
+ r === "hover" && c(!1);
447
+ }, S = () => {
448
+ r === "focus" && c(!0);
449
+ }, p = () => {
450
+ r === "focus" && c(!1);
451
+ }, w = [
452
+ "popover",
453
+ `bs-popover-${s}`,
454
+ i ? "show" : "",
455
+ n
456
+ ].filter(Boolean).join(" ");
457
+ return /* @__PURE__ */ N(z, { children: [
458
+ /* @__PURE__ */ a(
459
+ "span",
460
+ {
461
+ className: "d-inline-block",
462
+ ref: m,
463
+ onClick: C,
464
+ onMouseEnter: h,
465
+ onMouseLeave: b,
466
+ onFocus: S,
467
+ onBlur: p,
468
+ tabIndex: r === "focus" ? 0 : void 0,
469
+ children: e
470
+ }
471
+ ),
472
+ i && (l === "body" ? Ge(
473
+ /* @__PURE__ */ N(
474
+ "div",
475
+ {
476
+ ref: u,
477
+ className: w,
478
+ role: "popover",
479
+ style: {
480
+ position: "absolute",
481
+ top: `${d.top}px`,
482
+ left: `${d.left}px`,
483
+ zIndex: 1080,
484
+ opacity: 1
485
+ },
486
+ children: [
487
+ /* @__PURE__ */ a("div", { className: "popover-arrow" }),
488
+ t && /* @__PURE__ */ a("div", { className: "popover-header", children: t }),
489
+ /* @__PURE__ */ a("div", { className: "popover-body", children: o })
490
+ ]
491
+ }
492
+ ),
493
+ document.body
494
+ ) : /* @__PURE__ */ N(
495
+ "div",
496
+ {
497
+ ref: u,
498
+ className: w,
499
+ role: "popover",
500
+ style: {
501
+ position: "absolute",
502
+ top: `${d.top}px`,
503
+ left: `${d.left}px`,
504
+ zIndex: 1080,
505
+ opacity: 1
506
+ },
507
+ children: [
508
+ /* @__PURE__ */ a("div", { className: "popover-arrow" }),
509
+ t && /* @__PURE__ */ a("div", { className: "popover-header", children: t }),
510
+ /* @__PURE__ */ a("div", { className: "popover-body", children: o })
511
+ ]
512
+ }
513
+ ))
514
+ ] });
515
+ }, Ot = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3csymbol%20id='bars'%20viewBox='0%200%2028%2017'%3e%3cpath%20d='M21.778,7.219v-3H0v3Zm6.222,7v-3H0v3Zm-6.222,7v-3H0v3Z'%20transform='translate(0%20-4.219)'/%3e%3c/symbol%3e%3csymbol%20id='user-check'%20viewBox='0%200%2030%2024'%3e%3cpath%20d='M10.5,12a6,6,0,1,0-6-6A6,6,0,0,0,10.5,12Zm4.2,1.5h-.783a8.16,8.16,0,0,1-6.834,0H6.3A6.3,6.3,0,0,0,0,19.8v1.95A2.251,2.251,0,0,0,2.25,24h16.5A2.251,2.251,0,0,0,21,21.75V19.8a6.3,6.3,0,0,0-6.3-6.3ZM29.841,7.481l-1.3-1.317a.556.556,0,0,0-.788,0l-4.913,4.875L20.7,8.888a.556.556,0,0,0-.788,0L18.6,10.191a.556.556,0,0,0,0,.788l3.83,3.858a.556.556,0,0,0,.788,0l6.623-6.572a.56.56,0,0,0,0-.787Z'/%3e%3c/symbol%3e%3csymbol%20id='calendar-day'%20viewBox='0%200%2026.25%2030'%3e%3cpath%20d='M0,27.188A2.813,2.813,0,0,0,2.813,30H23.438a2.813,2.813,0,0,0,2.813-2.812V11.25H0Zm3.75-11.25A.94.94,0,0,1,4.688,15h5.625a.94.94,0,0,1,.938.938v5.625a.94.94,0,0,1-.937.938H4.688a.94.94,0,0,1-.937-.937ZM23.438,3.75H20.625V.938A.94.94,0,0,0,19.688,0H17.813a.94.94,0,0,0-.937.938V3.75h-7.5V.938A.94.94,0,0,0,8.438,0H6.563a.94.94,0,0,0-.937.938V3.75H2.813A2.813,2.813,0,0,0,0,6.563V9.375H26.25V6.563A2.813,2.813,0,0,0,23.438,3.75Z'/%3e%3c/symbol%3e%3csymbol%20id='calendar-check'%20viewBox='0%200%2026.25%2030'%3e%3cpath%20d='M25.547,9.375H.7a.7.7,0,0,1-.7-.7V6.563A2.812,2.812,0,0,1,2.813,3.75H5.625V.7a.7.7,0,0,1,.7-.7H8.672a.7.7,0,0,1,.7.7V3.75h7.5V.7a.7.7,0,0,1,.7-.7h2.344a.7.7,0,0,1,.7.7V3.75h2.813A2.812,2.812,0,0,1,26.25,6.563V8.672A.7.7,0,0,1,25.547,9.375ZM.7,11.25H25.547a.7.7,0,0,1,.7.7V27.188A2.812,2.812,0,0,1,23.438,30H2.813A2.812,2.812,0,0,1,0,27.188V11.953A.7.7,0,0,1,.7,11.25Zm19.529,5.622-1.651-1.664a.7.7,0,0,0-.994,0l-6.213,6.163L8.68,18.651a.7.7,0,0,0-.994,0L6.022,20.3a.7.7,0,0,0,0,.994l4.84,4.879a.7.7,0,0,0,.994,0l8.376-8.309a.7.7,0,0,0,0-.994Z'/%3e%3c/symbol%3e%3csymbol%20id='update'%20viewBox='0%200%20442%20371'%3e%3cpath%20d='M115.9%2026.56V53.77L190.9%2054.96C190.9%2054.96%20263.5%2055.26%20269.7%2057.46C283%2062.06%20289.3%2065.66%20299.7%2074.46C305.4%2079.46%20314.9%2090.46%20314.9%2092.26C314.9%2092.26%20315.5%2093.76%20316.2%2094.56C318.7%2097.46%20322.9%20108.86%20324.9%20117.76C326.6%20125.16%20326.9%20130.36%20326.9%20149.56C326.9%20162.26%20326.5%20172.76%20326.1%20173.06C325.6%20173.36%20319.9%20168.16%20313.3%20161.56C306.8%20155.06%20301%20149.66%20300.6%20149.66C299.3%20149.66%20263.9%20184.96%20263.9%20186.16C263.9%20187.96%20351.3%20274.66%20353.1%20274.66C355.1%20274.66%20441.9%20188.36%20441.9%20186.36C441.9%20185.66%20433.8%20177.06%20423.9%20167.16L406%20149.26L402.8%20152.16C401.1%20153.86%20395.8%20159.06%20391.1%20163.86C386.3%20168.76%20381.9%20172.66%20381.2%20172.66C380.2%20172.66%20379.9%20168.46%20379.9%20153.46C379.9%20123.16%20377.6%20104.76%20371.8%2089.56C370.7%2086.56%20369.5%2083.36%20369.2%2082.26C368.9%2081.26%20367%2077.46%20365.1%2073.76C351.56%2047.4%20330.66%2031.18%20330.66%2031.18C318.58%2021.21%20307.85%2015.86%20301.4%2012.69C289.26%206.73%20281.01%204.64%20277.68%203.87C273.42%202.89%20269.8%202.36%20267.2%202.05C267.2%202.05%20243.38%20-1.42%20191.3%200.649999H115.9V26.55V26.56Z'/%3e%3cpath%20d='M43.9%20141.76C20%20165.86%200.199997%20185.76%20-2.5304e-06%20186.06C-0.400003%20186.66%2035.6%20222.66%2036.7%20222.66C37.1%20222.66%2042.8%20217.26%2049.3%20210.76C55.8%20204.26%2061.6%20198.96%2062.1%20199.26C62.5%20199.56%2062.9%20210.86%2062.9%20224.46C62.9%20244.46%2063.3%20251.26%2064.9%20260.16C70%20288.96%2081.6%20311.46%20101.9%20331.66C122.6%20352.36%20145.1%20364.06%20173.9%20369.06C182.3%20370.56%20192%20370.76%20254.9%20370.46L326.4%20370.16L326.7%20346.16C326.8%20332.96%20326.7%20321.16%20326.4%20319.96L325.9%20317.76L252.1%20317.46C170%20317.06%20177.9%20317.76%20160.9%20309.96C144.4%20302.36%20130.5%20288.26%20123.2%20271.86C117%20257.96%20116.8%20256.06%20116.2%20227.86C115.8%20208.76%20116%20201.16%20116.8%20200.36C117.6%20199.56%20120.9%20202.16%20129.7%20210.96C136.1%20217.36%20141.8%20222.66%20142.3%20222.66C143.4%20222.66%20174.1%20192.36%20177%20188.36L179%20185.66L135.1%20141.66C106.7%20113.26%2090.5%2097.66%2089.3%2097.76C88.2%2097.86%2068.5%20116.96%2043.9%20141.76Z'/%3e%3c/symbol%3e%3csymbol%20id='feather-calendar'%20viewBox='0%200%2020%2022'%3e%3cpath%20d='M5,3H19a3,3,0,0,1,3,3V20a3,3,0,0,1-3,3H5a3,3,0,0,1-3-3V6A3,3,0,0,1,5,3ZM19,21a1,1,0,0,0,1-1V6a1,1,0,0,0-1-1H5A1,1,0,0,0,4,6V20a1,1,0,0,0,1,1Z'%20transform='translate(-2%20-1)'/%3e%3cpath%20d='M16,7a1,1,0,0,1-1-1V2a1,1,0,0,1,2,0V6A1,1,0,0,1,16,7Z'%20transform='translate(-2%20-1)'/%3e%3cpath%20d='M8,7A1,1,0,0,1,7,6V2A1,1,0,0,1,9,2V6A1,1,0,0,1,8,7Z'%20transform='translate(-2%20-1)'/%3e%3cpath%20d='M21,11H3A1,1,0,0,1,3,9H21a1,1,0,0,1,0,2Z'%20transform='translate(-2%20-1)'/%3e%3c/symbol%3e%3csymbol%20id='sun'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M12,6a6,6,0,1,1-6,6A6.007,6.007,0,0,1,12,6Zm0,10a4,4,0,1,0-4-4A4,4,0,0,0,12,16Z'/%3e%3cpath%20d='M12,4a1,1,0,0,1-1-1V1a1,1,0,0,1,2,0V3A1,1,0,0,1,12,4Z'/%3e%3cpath%20d='M12,24a1,1,0,0,1-1-1V21a1,1,0,0,1,2,0v2A1,1,0,0,1,12,24Z'/%3e%3cpath%20d='M5.64,6.64a1,1,0,0,1-.707-.293l-1.42-1.42A1,1,0,0,1,4.927,3.513l1.42,1.42A1,1,0,0,1,5.64,6.64Z'/%3e%3cpath%20d='M19.78,20.78a1,1,0,0,1-.707-.293l-1.42-1.42a1,1,0,0,1,1.414-1.414l1.42,1.42a1,1,0,0,1-.707,1.707Z'/%3e%3cpath%20d='M3,13H1a1,1,0,0,1,0-2H3a1,1,0,0,1,0,2Z'/%3e%3cpath%20d='M23,13H21a1,1,0,0,1,0-2h2a1,1,0,0,1,0,2Z'/%3e%3cpath%20d='M4.22,20.78a1,1,0,0,1-.707-1.707l1.42-1.42a1,1,0,0,1,1.414,1.414l-1.42,1.42A1,1,0,0,1,4.22,20.78Z'/%3e%3cpath%20d='M18.36,6.64a1,1,0,0,1-.707-1.707l1.42-1.42a1,1,0,1,1,1.414,1.414l-1.42,1.42A1,1,0,0,1,18.36,6.64Z'/%3e%3c/symbol%3e%3csymbol%20id='moon'%20viewBox='0%200%2020%2020'%3e%3cpath%20d='M11.723,21.667c-.1,0-.209,0-.312,0A10.02,10.02,0,0,1,10.8,1.67a.769.769,0,0,1,.689,1.223,6.425,6.425,0,0,0,8.987,8.986.769.769,0,0,1,1.223.689,10.02,10.02,0,0,1-9.973,9.1ZM9.366,3.5a8.481,8.481,0,0,0,2.091,16.626c.088,0,.177,0,.265,0A8.433,8.433,0,0,0,19.87,14,7.965,7.965,0,0,1,9.366,3.5Z'%20transform='translate(-1.698%20-1.667)'/%3e%3c/symbol%3e%3csymbol%20id='notification'%20viewBox='0%200%2017.875%2021.125'%3e%3cpath%20d='M13.051,6.118a7.341,7.341,0,0,1,1.214.227,5.175,5.175,0,0,1,3.945,5.071V17.9l.473.476.4.4H6.922l.4-.4L7.79,17.9v-6.48a5.175,5.175,0,0,1,3.945-5.071,8.99,8.99,0,0,1,1.214-.227M13,2.438a1.552,1.552,0,0,0-1.577,1.584v.739a6.846,6.846,0,0,0-5.257,6.654v5.809l-2.1,2.113v1.056H21.938V19.337l-2.1-2.112V11.416a6.846,6.846,0,0,0-5.257-6.654V4.022A1.552,1.552,0,0,0,13,2.438ZM15.1,21.45H10.9a2.1,2.1,0,1,0,4.206,0Z'%20transform='translate(-4.063%20-2.438)'/%3e%3c/symbol%3e%3csymbol%20id='user'%20viewBox='0%200%2019.5%2021.667'%3e%3cpath%20d='M21.667,23.833a1.083,1.083,0,0,1-1.083-1.083V20.583a3.254,3.254,0,0,0-3.25-3.25H8.667a3.25,3.25,0,0,0-3.25,3.25V22.75a1.083,1.083,0,0,1-2.167,0V20.583a5.417,5.417,0,0,1,5.417-5.417h8.667a5.423,5.423,0,0,1,5.417,5.417V22.75A1.083,1.083,0,0,1,21.667,23.833Z'%20transform='translate(-3.25%20-2.167)'/%3e%3cpath%20d='M13,2.167A5.417,5.417,0,1,1,7.583,7.583,5.423,5.423,0,0,1,13,2.167Zm0,8.667a3.25,3.25,0,1,0-3.25-3.25A3.254,3.254,0,0,0,13,10.833Z'%20transform='translate(-3.25%20-2.167)'/%3e%3c/symbol%3e%3csymbol%20id='edit'%20viewBox='0%200%2016.591%2016.591'%3e%3cpath%20d='M13.5,17.25H3A2.253,2.253,0,0,1,.75,15V4.5A2.253,2.253,0,0,1,3,2.25H8.25a.75.75,0,0,1,0,1.5H3a.751.751,0,0,0-.75.75V15a.751.751,0,0,0,.75.75H13.5a.751.751,0,0,0,.75-.75V9.75a.75.75,0,0,1,1.5,0V15A2.253,2.253,0,0,1,13.5,17.25Z'%20transform='translate(-0.75%20-0.659)'/%3e%3cpath%20d='M15,.659a2.341,2.341,0,0,1,1.655,4L9.53,11.78a.75.75,0,0,1-.348.2l-3,.75a.75.75,0,0,1-.91-.91l.75-3a.75.75,0,0,1,.2-.348l7.125-7.125A2.326,2.326,0,0,1,15,.659ZM8.617,10.573l6.978-6.978a.841.841,0,0,0-1.189-1.189L7.427,9.383l-.4,1.586Z'%20transform='translate(-0.75%20-0.659)'/%3e%3c/symbol%3e%3csymbol%20id='save'%20viewBox='0%200%2015%2015'%3e%3cpath%20d='M14.25,16.5H3.75A2.253,2.253,0,0,1,1.5,14.25V3.75A2.253,2.253,0,0,1,3.75,1.5H12a.75.75,0,0,1,.53.22l3.75,3.75A.75.75,0,0,1,16.5,6v8.25A2.253,2.253,0,0,1,14.25,16.5ZM3.75,3A.751.751,0,0,0,3,3.75v10.5a.751.751,0,0,0,.75.75h10.5a.751.751,0,0,0,.75-.75V6.311L11.689,3Z'%20transform='translate(-1.5%20-1.5)'/%3e%3cpath%20d='M12.75,16.5a.75.75,0,0,1-.75-.75V10.5H6v5.25a.75.75,0,0,1-1.5,0v-6A.75.75,0,0,1,5.25,9h7.5a.75.75,0,0,1,.75.75v6A.75.75,0,0,1,12.75,16.5Z'%20transform='translate(-1.5%20-1.5)'/%3e%3cpath%20d='M11.25,6.75h-6A.75.75,0,0,1,4.5,6V2.25a.75.75,0,0,1,1.5,0v3h5.25a.75.75,0,0,1,0,1.5Z'%20transform='translate(-1.5%20-1.5)'/%3e%3c/symbol%3e%3csymbol%20id='message'%20viewBox='0%200%2011.2%209.2'%3e%3cpath%20d='M2,1.4h8A1.6,1.6,0,0,1,11.6,3V9A1.6,1.6,0,0,1,10,10.6H2A1.6,1.6,0,0,1,.4,9V3A1.6,1.6,0,0,1,2,1.4Zm8,8a.405.405,0,0,0,.4-.4V3a.405.405,0,0,0-.4-.4H2a.405.405,0,0,0-.4.4V9a.405.405,0,0,0,.4.4Z'%20transform='translate(-0.4%20-1.4)'/%3e%3cpath%20d='M5.992,6.7a.6.6,0,0,1-.317-.09L.683,3.51A.6.6,0,1,1,1.317,2.49L5.992,5.4l4.676-2.9A.6.6,0,1,1,11.3,3.51l-4.992,3.1A.6.6,0,0,1,5.992,6.7Z'%20transform='translate(-0.4%20-1.201)'/%3e%3c/symbol%3e%3csymbol%20id='google'%20viewBox='0%200%2016%2016.31'%3e%3cpath%20d='M19.562,10.28l-.082-.349H11.892v3.212h4.533a4.538,4.538,0,0,1-4.439,3.412,5.309,5.309,0,0,1-3.573-1.424,5.1,5.1,0,0,1-1.522-3.6,5.26,5.26,0,0,1,1.494-3.6,5.082,5.082,0,0,1,3.549-1.388,4.629,4.629,0,0,1,3.02,1.176l2.282-2.271A8.075,8.075,0,0,0,11.86,3.382h0A8.312,8.312,0,0,0,5.978,5.774a8.278,8.278,0,0,0-2.322,5.761A8.2,8.2,0,0,0,5.888,17.2a8.513,8.513,0,0,0,6.137,2.49,7.57,7.57,0,0,0,5.514-2.318,8.141,8.141,0,0,0,2.118-5.639A9.39,9.39,0,0,0,19.562,10.28Z'%20transform='translate(-3.656%20-3.382)'/%3e%3c/symbol%3e%3csymbol%20id='cancel'%20viewBox='0%200%2017.138%2017.138'%3e%3cpath%20d='M10,1.071A8.569,8.569,0,1,0,18.566,9.64,8.569,8.569,0,0,0,10,1.071ZM10,16.9A7.481,7.481,0,0,1,2.738,9.64,7.48,7.48,0,0,1,10,2.381,7.481,7.481,0,0,1,17.258,9.64,7.483,7.483,0,0,1,10,16.9ZM12.675,5.356,10,8.033,7.319,5.356,5.713,6.962,8.391,9.64,5.713,12.318l1.607,1.607L10,11.247l2.678,2.678,1.607-1.607L11.6,9.64l2.678-2.678Z'%20transform='translate(-1.428%20-1.071)'/%3e%3c/symbol%3e%3csymbol%20id='delete'%20viewBox='0%200%2030%2030'%3e%3cpath%20d='M15,15h2.5V30H15Z'%20transform='translate(-5%20-5.625)'/%3e%3cpath%20d='M22.5,15H25V30H22.5Z'%20transform='translate(-5%20-5.625)'/%3e%3cpath%20d='M5,7.5V9.583H7.5V30.417A2.32,2.32,0,0,0,10,32.5H30a2.32,2.32,0,0,0,2.5-2.083V9.583H35V7.5Zm5,22.917V9.583H30V30.417Z'%20transform='translate(-5%20-2.5)'/%3e%3cpath%20d='M15,2.5H25V5H15Z'%20transform='translate(-5%20-2.5)'/%3e%3c/symbol%3e%3csymbol%20id='eye'%20viewBox='0%200%2035%2025.624'%3e%3cpath%20d='M36.628,20.6c-3.668-7.62-10.1-12.231-17.217-12.231S5.851,12.978,2.216,20.6l-.3.575.283.587c3.668,7.62,10.1,12.231,17.217,12.231s13.56-4.55,17.217-12.231l.283-.587ZM19.411,31.483c-6.127,0-11.754-3.841-15.019-10.311,3.265-6.47,8.891-10.311,15.019-10.311S31.1,14.715,34.419,21.173C31.1,27.643,25.527,31.483,19.411,31.483Z'%20transform='translate(-1.911%20-8.367)'/%3e%3cpath%20d='M21.742,12.411c-5.12.028-9.241,3.208-9.209,7.1s4.206,7.035,9.326,7.014,9.249-3.194,9.227-7.09a6.359,6.359,0,0,0-2.755-4.99,10.959,10.959,0,0,0-6.589-2.038Zm0,12.06c-3.615-.028-6.522-2.274-6.5-5.025s2.952-4.975,6.567-4.977,6.554,2.219,6.577,4.97a4.5,4.5,0,0,1-1.938,3.572,7.774,7.774,0,0,1-4.7,1.46Z'%20transform='translate(-3.946%20-6.63)'/%3e%3c/symbol%3e%3csymbol%20id='dots'%20viewBox='0%200%2032%207.5'%3e%3cpath%20d='M7.442,23.75A3.75,3.75,0,1,1,11.135,20,3.721,3.721,0,0,1,7.442,23.75Zm12.308,0A3.75,3.75,0,1,1,23.442,20,3.721,3.721,0,0,1,19.75,23.75Zm12.308,0A3.75,3.75,0,1,1,35.75,20,3.721,3.721,0,0,1,32.058,23.75Z'%20transform='translate(-3.75%20-16.25)'/%3ec%20%3c/symbol%3e%3csymbol%20id='timer'%20viewBox='0%200%2036%2042'%3e%3cpath%20d='M28.5,1.5h-12V5h12Zm-7.8,26h3.5v-12H20.7ZM36.56,14.28l2.84-2.84a22.1,22.1,0,0,0-2.82-2.82l-2.84,2.84a18,18,0,1,0,2.82,2.82ZM22.5,40A14.857,14.857,0,0,1,8,25.5,14.858,14.858,0,0,1,22.5,11,14.858,14.858,0,0,1,37,25.5,14.858,14.858,0,0,1,22.5,40Z'%20transform='translate(-4.5%20-1.5)'/%3e%3c/symbol%3e%3csymbol%20id='star'%20viewBox='0%200%2014%2014'%3e%3cpath%20d='M7.544.352,9.26,3.966a.57.57,0,0,0,.178.23A.538.538,0,0,0,9.7,4.3l3.789.585a.571.571,0,0,1,.3.135.61.61,0,0,1,.182.281.634.634,0,0,1,.009.339.613.613,0,0,1-.166.292L11.084,8.761a.6.6,0,0,0-.152.247.62.62,0,0,0-.021.293l.658,3.974a.643.643,0,0,1-.035.339.616.616,0,0,1-.2.268.573.573,0,0,1-.627.045L7.3,12.048a.613.613,0,0,0-.561,0l-3.411,1.88a.574.574,0,0,1-.627-.045.616.616,0,0,1-.2-.268.644.644,0,0,1-.035-.339l.658-4.019A.621.621,0,0,0,3.1,8.963a.6.6,0,0,0-.152-.247L.182,5.936a.614.614,0,0,1-.166-.3.633.633,0,0,1,.018-.345.607.607,0,0,1,.195-.279.569.569,0,0,1,.309-.123L4.327,4.3A.538.538,0,0,0,4.591,4.2a.57.57,0,0,0,.178-.23L6.486.352A.6.6,0,0,1,6.7.1a.563.563,0,0,1,.628,0A.6.6,0,0,1,7.544.352Z'/%3e%3c/symbol%3e%3csymbol%20id='filter'%20viewBox='0%200%2020%2021'%3e%3cpath%20d='M19.0003%200L19.141%200.00891645C19.4635%200.050677%2019.7468%200.234637%2019.8949%200.505563C20.0429%200.776613%2020.033%201.09404%2019.8754%201.35441L19.7992%201.4623L13.5715%209.0074V20.087C13.5715%2020.458%2013.3256%2020.7921%2012.9494%2020.9323C12.5733%2021.0724%2012.1419%2020.991%2011.8575%2020.7263L6.71383%2015.9328C6.53073%2015.7622%206.42866%2015.5324%206.42866%2015.2935V9.0074L0.200935%201.4623C-0.0271003%201.18583%20-0.0639221%200.815312%200.105229%200.505563C0.274467%200.195852%200.620682%200%200.999787%200H19.0003ZM8.22754%208.1532L8.31349%208.27803C8.38846%208.40835%208.42872%208.5538%208.42872%208.70246V14.9208L11.5714%2017.849V8.70246C11.5714%208.50432%2011.642%208.31149%2011.7726%208.1532L16.9944%201.82609H3.00571L8.22754%208.1532Z'/%3e%3c/symbol%3e%3csymbol%20id='clearFilter'%20viewBox='0%200%2028%2028'%3e%3cpath%20d='M19.0003%200L19.141%200.00891645C19.4635%200.050677%2019.7468%200.234637%2019.8949%200.505563C20.0429%200.776613%2020.033%201.09404%2019.8754%201.35441L19.7992%201.4623L13.5715%209.0074V20.087C13.5715%2020.458%2013.3256%2020.7921%2012.9494%2020.9323C12.5733%2021.0724%2012.1419%2020.991%2011.8575%2020.7263L6.71383%2015.9328C6.53073%2015.7622%206.42866%2015.5324%206.42866%2015.2935V9.0074L0.200935%201.4623C-0.0271003%201.18583%20-0.0639221%200.815312%200.105229%200.505563C0.274467%200.195852%200.620682%200%200.999787%200H19.0003ZM8.22754%208.1532L8.31349%208.27803C8.38846%208.40835%208.42872%208.5538%208.42872%208.70246V14.9208L11.5714%2017.849V8.70246C11.5714%208.50432%2011.642%208.31149%2011.7726%208.1532L16.9944%201.82609H3.00571L8.22754%208.1532Z'/%3e%3ccircle%20cx='22'%20cy='22'%20r='4'%20fill='none'%20stroke='currentColor'/%3e%3cline%20x1='20.5'%20y1='20.5'%20x2='23.5'%20y2='23.5'%20stroke='currentColor'/%3e%3cline%20x1='23.5'%20y1='20.5'%20x2='20.5'%20y2='23.5'%20stroke='currentColor'/%3e%3c/symbol%3e%3csymbol%20id='menu'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z'/%3e%3c/symbol%3e%3csymbol%20id='cross'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='m256-200-56-56%20224-224-224-224%2056-56%20224%20224%20224-224%2056%2056-224%20224%20224%20224-56%2056-224-224-224%20224Z'/%3e%3c/symbol%3e%3csymbol%20id='money'%20viewBox='0%200%20452%20512.11'%3e%3cpath%20d='M336.47%20255.21h64.36v-12.46c-3.68-13.63-9.54-22.87-17.13-28.49-7.59-5.61-17.43-8.01-28.98-7.93l-263.96.06c-6.5%200-11.76-5.27-11.76-11.76%200-6.5%205.26-11.76%2011.76-11.76l263.65.03c16.59-.16%2031.23%203.62%2043.25%2012.53%201.08.8%202.14%201.64%203.17%202.52v-7.07c0-10.98-4.53-21.02-11.82-28.31-7.23-7.29-17.25-11.8-28.29-11.8h-8.49l-1.09-.05-4.15%2015.56h-28.52l16.92-63.47c-14.22-3.8-22.7-18.5-18.89-32.72l-94.11-25.21c-3.81%2014.21-18.5%2022.71-32.7%2018.9l-27.63%20102.5h-29.41L177.4%200l199.7%2053.51-19.69%2073.73h3.31c17.45%200%2033.36%207.19%2044.9%2018.72%2011.56%2011.51%2018.73%2027.45%2018.73%2044.92v64.99c6.79%201.35%2012.86%204.71%2017.57%209.42%206.21%206.21%2010.08%2014.81%2010.08%2024.28v77.35c0%209.87-4.04%2018.85-10.52%2025.32-4.63%204.63-10.53%208.02-17.13%209.57v46.66c0%2017.46-7.18%2033.39-18.72%2044.93l-.74.68c-11.5%2011.13-27.11%2018.03-44.17%2018.03H63.63c-17.47%200-33.4-7.17-44.94-18.7C7.17%20481.89%200%20465.98%200%20448.47V190.88c0-17.52%207.16-33.43%2018.68-44.95%2011.52-11.52%2027.44-18.69%2044.95-18.69h37.12l.16.01L130.46%2017.5l28.19%207.55-38.73%20141.23H90.4l4.18-15.51H63.63c-11.01%200-21.04%204.52-28.32%2011.79-7.27%207.27-11.79%2017.31-11.79%2028.32v257.59c0%2011.01%204.53%2021.03%2011.81%2028.3%207.28%207.29%2017.32%2011.82%2028.3%2011.82h297.09c10.73%200%2020.54-4.3%2027.74-11.25l.54-.58c7.29-7.28%2011.83-17.32%2011.83-28.29v-45.71h-64.36c-19.88%200-37.96-8.14-51.02-21.2l-1.23-1.35c-12.36-13-19.98-30.52-19.98-49.68v-3.1c0-19.79%208.13-37.83%2021.21-50.94l.13-.13c13.1-13.05%2031.12-21.15%2050.89-21.15zm-95.71-93.06c17.19%204.6%2034.89-5.6%2039.49-22.8%204.61-17.19-5.61-34.89-22.8-39.49-17.2-4.6-34.9%205.6-39.5%2022.8-4.6%2017.19%205.62%2034.88%2022.81%2039.49zM362.3%20309.07l.06.05c10.93%2010.96%2010.9%2028.79-.02%2039.74l-.05.06c-10.96%2010.93-28.79%2010.9-39.75-.02l-.05-.05c-10.93-10.96-10.9-28.79.02-39.75l.05-.05c10.96-10.93%2028.79-10.91%2039.74.02z'/%3e%3c/symbol%3e%3csymbol%20id='copy'%20viewBox='0%20-960%20960%20960'%3e%3cpath%20d='M360-240q-33%200-56.5-23.5T280-320v-480q0-33%2023.5-56.5T360-880h360q33%200%2056.5%2023.5T800-800v480q0%2033-23.5%2056.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33%200-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480%20480Z'/%3e%3c/symbol%3e%3c/defs%3e%3c/svg%3e", Mn = ({ name: e, className: t, width: o, height: n, fill: s }) => {
516
+ const r = `${Ot}#${e}`;
517
+ return /* @__PURE__ */ a(
518
+ "svg",
519
+ {
520
+ className: t,
521
+ width: o,
522
+ height: n || o,
523
+ fill: s ?? "currentColor",
524
+ "aria-hidden": "true",
525
+ children: /* @__PURE__ */ a("use", { href: r })
526
+ }
527
+ );
528
+ }, Xn = ({
529
+ el: e,
530
+ children: t,
531
+ ...o
532
+ }) => D(e || "h2", o, t), Nn = ({
533
+ el: e,
534
+ children: t,
535
+ ...o
536
+ }) => D(e || "p", o, t), An = ({
537
+ el: e,
538
+ children: t,
539
+ ...o
540
+ }) => /* @__PURE__ */ a(e || "div", { ...o, children: t });
541
+ function Bn({
542
+ columns: e,
543
+ data: t,
544
+ striped: o = !1,
545
+ bordered: n = !1,
546
+ hover: s = !0,
547
+ darkHeader: r = !1
548
+ }) {
549
+ const l = [
550
+ "table",
551
+ o && "table-striped",
552
+ n && "table-bordered",
553
+ s && "table-hover"
554
+ ].filter(Boolean).join(" ");
555
+ return /* @__PURE__ */ a("div", { className: "table-responsive", children: /* @__PURE__ */ N("table", { className: l, children: [
556
+ /* @__PURE__ */ a("thead", { className: r ? "table-dark" : "", children: /* @__PURE__ */ a("tr", { children: e.map((i, c) => /* @__PURE__ */ a("th", { children: i.header }, c)) }) }),
557
+ /* @__PURE__ */ a("tbody", { children: t.map((i, c) => /* @__PURE__ */ a("tr", { children: e.map((d, f) => {
558
+ const m = typeof d.accessor == "function" ? d.accessor(i) : i[d.accessor];
559
+ return /* @__PURE__ */ a("td", { children: m }, f);
560
+ }) }, c)) })
561
+ ] }) });
562
+ }
563
+ const Lt = {
564
+ Fluid: "container-fluid",
565
+ Sm: "container-sm",
566
+ Md: "container-md",
567
+ Lg: "container-lg",
568
+ Xl: "container-xl",
569
+ Xxl: "container-xxl"
570
+ }, Rn = ({
571
+ children: e,
572
+ size: t,
573
+ className: o,
574
+ ...n
575
+ }) => {
576
+ const s = Object.values(Lt), r = [
577
+ { prop: t, set: new Set(s) }
578
+ ], i = ((o == null ? void 0 : o.split(" ").filter(Boolean)) ?? []).filter(
579
+ (f) => !r.some(({ prop: m, set: u }) => m && u.has(f))
580
+ ), c = s.some((f) => o == null ? void 0 : o.split(" ").includes(f)), d = [
581
+ t && s.includes(t) ? t : c ? "" : "container",
582
+ ...new Set([...i].filter((f) => f !== "container"))
583
+ ].join(" ").trim();
584
+ return /* @__PURE__ */ a("div", { className: d, ...n, children: e });
585
+ }, Me = {
586
+ Flex: "d-flex",
587
+ InlineFlex: "d-inline-flex",
588
+ SmFlex: "d-sm-flex",
589
+ MdFlex: "d-md-flex",
590
+ LgFlex: "d-lg-flex",
591
+ XlFlex: "d-xl-flex",
592
+ XxlFlex: "d-xxl-flex",
593
+ SmInlineFlex: "d-sm-inline-flex",
594
+ MdInlineFlex: "d-md-inline-flex",
595
+ LgInlineFlex: "d-lg-inline-flex",
596
+ XlInlineFlex: "d-xl-inline-flex",
597
+ XxlInlineFlex: "d-xxl-inline-flex"
598
+ }, pe = {
599
+ Row: "flex-row",
600
+ RowReverse: "flex-row-reverse",
601
+ Column: "flex-column",
602
+ ColumnReverse: "flex-column-reverse",
603
+ SmRow: "flex-sm-row",
604
+ SmRowReverse: "flex-sm-row-reverse",
605
+ SmColumn: "flex-sm-column",
606
+ SmColumnReverse: "flex-sm-column-reverse",
607
+ MdRow: "flex-md-row",
608
+ MdRowReverse: "flex-md-row-reverse",
609
+ MdColumn: "flex-md-column",
610
+ MdColumnReverse: "flex-md-column-reverse",
611
+ LgRow: "flex-lg-row",
612
+ LgRowReverse: "flex-lg-row-reverse",
613
+ LgColumn: "flex-lg-column",
614
+ LgColumnReverse: "flex-lg-column-reverse",
615
+ XlRow: "flex-xl-row",
616
+ XlRowReverse: "flex-xl-row-reverse",
617
+ XlColumn: "flex-xl-column",
618
+ XlColumnReverse: "flex-xl-column-reverse",
619
+ XxlRow: "flex-xxl-row",
620
+ XxlRowReverse: "flex-xxl-row-reverse",
621
+ XxlColumn: "flex-xxl-column",
622
+ XxlColumnReverse: "flex-xxl-column-reverse"
623
+ }, Et = {
624
+ Wrap: "flex-wrap",
625
+ Nowrap: "flex-nowrap",
626
+ WrapReverse: "flex-wrap-reverse",
627
+ SmWrap: "flex-sm-wrap",
628
+ SmNowrap: "flex-sm-nowrap",
629
+ SmWrapReverse: "flex-sm-wrap-reverse",
630
+ MdWrap: "flex-md-wrap",
631
+ MdNowrap: "flex-md-nowrap",
632
+ MdWrapReverse: "flex-md-wrap-reverse",
633
+ LgWrap: "flex-lg-wrap",
634
+ LgNowrap: "flex-lg-nowrap",
635
+ LgWrapReverse: "flex-lg-wrap-reverse",
636
+ XlWrap: "flex-xl-wrap",
637
+ XlNowrap: "flex-xl-nowrap",
638
+ XlWrapReverse: "flex-xl-wrap-reverse",
639
+ XxlWrap: "flex-xxl-wrap",
640
+ XxlNowrap: "flex-xxl-nowrap",
641
+ XxlWrapReverse: "flex-xxl-wrap-reverse"
642
+ }, He = {
643
+ Start: "align-items-start",
644
+ End: "align-items-end",
645
+ Center: "align-items-center",
646
+ Baseline: "align-items-baseline",
647
+ Stretch: "align-items-stretch",
648
+ SmStart: "align-items-sm-start",
649
+ SmEnd: "align-items-sm-end",
650
+ SmCenter: "align-items-sm-center",
651
+ SmBaseline: "align-items-sm-baseline",
652
+ SmStretch: "align-items-sm-stretch",
653
+ MdStart: "align-items-md-start",
654
+ MdEnd: "align-items-md-end",
655
+ MdCenter: "align-items-md-center",
656
+ MdBaseline: "align-items-md-baseline",
657
+ MdStretch: "align-items-md-stretch",
658
+ LgStart: "align-items-lg-start",
659
+ LgEnd: "align-items-lg-end",
660
+ LgCenter: "align-items-lg-center",
661
+ LgBaseline: "align-items-lg-baseline",
662
+ LgStretch: "align-items-lg-stretch",
663
+ XlStart: "align-items-xl-start",
664
+ XlEnd: "align-items-xl-end",
665
+ XlCenter: "align-items-xl-center",
666
+ XlBaseline: "align-items-xl-baseline",
667
+ XlStretch: "align-items-xl-stretch",
668
+ XxlStart: "align-items-xxl-start",
669
+ XxlEnd: "align-items-xxl-end",
670
+ XxlCenter: "align-items-xxl-center",
671
+ XxlBaseline: "align-items-xxl-baseline",
672
+ XxlStretch: "align-items-xxl-stretch"
673
+ }, Ze = {
674
+ Auto: "align-self-auto",
675
+ Start: "align-self-start",
676
+ End: "align-self-end",
677
+ Center: "align-self-center",
678
+ Baseline: "align-self-baseline",
679
+ Stretch: "align-self-stretch",
680
+ SmAuto: "align-self-sm-auto",
681
+ SmStart: "align-self-sm-start",
682
+ SmEnd: "align-self-sm-end",
683
+ SmCenter: "align-self-sm-center",
684
+ SmBaseline: "align-self-sm-baseline",
685
+ SmStretch: "align-self-sm-stretch",
686
+ MdAuto: "align-self-md-auto",
687
+ MdStart: "align-self-md-start",
688
+ MdEnd: "align-self-md-end",
689
+ MdCenter: "align-self-md-center",
690
+ MdBaseline: "align-self-md-baseline",
691
+ MdStretch: "align-self-md-stretch",
692
+ LgAuto: "align-self-lg-auto",
693
+ LgStart: "align-self-lg-start",
694
+ LgEnd: "align-self-lg-end",
695
+ LgCenter: "align-self-lg-center",
696
+ LgBaseline: "align-self-lg-baseline",
697
+ LgStretch: "align-self-lg-stretch",
698
+ XlAuto: "align-self-xl-auto",
699
+ XlStart: "align-self-xl-start",
700
+ XlEnd: "align-self-xl-end",
701
+ XlCenter: "align-self-xl-center",
702
+ XlBaseline: "align-self-xl-baseline",
703
+ XlStretch: "align-self-xl-stretch",
704
+ XxlAuto: "align-self-xxl-auto",
705
+ XxlStart: "align-self-xxl-start",
706
+ XxlEnd: "align-self-xxl-end",
707
+ XxlCenter: "align-self-xxl-center",
708
+ XxlBaseline: "align-self-xxl-baseline",
709
+ XxlStretch: "align-self-xxl-stretch"
710
+ }, $e = {
711
+ Start: "justify-content-start",
712
+ End: "justify-content-end",
713
+ Center: "justify-content-center",
714
+ Between: "justify-content-between",
715
+ Around: "justify-content-around",
716
+ Evenly: "justify-content-evenly",
717
+ SmStart: "justify-content-sm-start",
718
+ SmEnd: "justify-content-sm-end",
719
+ SmCenter: "justify-content-sm-center",
720
+ SmBetween: "justify-content-sm-between",
721
+ SmAround: "justify-content-sm-around",
722
+ SmEvenly: "justify-content-sm-evenly",
723
+ MdStart: "justify-content-md-start",
724
+ MdEnd: "justify-content-md-end",
725
+ MdCenter: "justify-content-md-center",
726
+ MdBetween: "justify-content-md-between",
727
+ MdAround: "justify-content-md-around",
728
+ MdEvenly: "justify-content-md-evenly",
729
+ LgStart: "justify-content-lg-start",
730
+ LgEnd: "justify-content-lg-end",
731
+ LgCenter: "justify-content-lg-center",
732
+ LgBetween: "justify-content-lg-between",
733
+ LgAround: "justify-content-lg-around",
734
+ LgEvenly: "justify-content-lg-evenly",
735
+ XlStart: "justify-content-xl-start",
736
+ XlEnd: "justify-content-xl-end",
737
+ XlCenter: "justify-content-xl-center",
738
+ XlBetween: "justify-content-xl-between",
739
+ XlAround: "justify-content-xl-around",
740
+ XlEvenly: "justify-content-xl-evenly",
741
+ XxlStart: "justify-content-xxl-start",
742
+ XxlEnd: "justify-content-xxl-end",
743
+ XxlCenter: "justify-content-xxl-center",
744
+ XxlBetween: "justify-content-xxl-between",
745
+ XxlAround: "justify-content-xxl-around",
746
+ XxlEvenly: "justify-content-xxl-evenly"
747
+ }, Mt = {
748
+ Start: "align-content-start",
749
+ End: "align-content-end",
750
+ Center: "align-content-center",
751
+ Between: "align-content-between",
752
+ Around: "align-content-around",
753
+ Stretch: "align-content-stretch",
754
+ SmStart: "align-content-sm-start",
755
+ SmEnd: "align-content-sm-end",
756
+ SmCenter: "align-content-sm-center",
757
+ SmBetween: "align-content-sm-between",
758
+ SmAround: "align-content-sm-around",
759
+ SmStretch: "align-content-sm-stretch",
760
+ MdStart: "align-content-md-start",
761
+ MdEnd: "align-content-md-end",
762
+ MdCenter: "align-content-md-center",
763
+ MdBetween: "align-content-md-between",
764
+ MdAround: "align-content-md-around",
765
+ MdStretch: "align-content-md-stretch",
766
+ LgStart: "align-content-lg-start",
767
+ LgEnd: "align-content-lg-end",
768
+ LgCenter: "align-content-lg-center",
769
+ LgBetween: "align-content-lg-between",
770
+ LgAround: "align-content-lg-around",
771
+ LgStretch: "align-content-lg-stretch",
772
+ XlStart: "align-content-xl-start",
773
+ XlEnd: "align-content-xl-end",
774
+ XlCenter: "align-content-xl-center",
775
+ XlBetween: "align-content-xl-between",
776
+ XlAround: "align-content-xl-around",
777
+ XlStretch: "align-content-xl-stretch",
778
+ XxlStart: "align-content-xxl-start",
779
+ XxlEnd: "align-content-xxl-end",
780
+ XxlCenter: "align-content-xxl-center",
781
+ XxlBetween: "align-content-xxl-between",
782
+ XxlAround: "align-content-xxl-around",
783
+ XxlStretch: "align-content-xxl-stretch"
784
+ }, Xt = {
785
+ Gap0: "gap-0",
786
+ Gap1: "gap-1",
787
+ Gap2: "gap-2",
788
+ Gap3: "gap-3",
789
+ Gap4: "gap-4",
790
+ Gap5: "gap-5",
791
+ SmGap0: "gap-sm-0",
792
+ SmGap1: "gap-sm-1",
793
+ SmGap2: "gap-sm-2",
794
+ SmGap3: "gap-sm-3",
795
+ SmGap4: "gap-sm-4",
796
+ SmGap5: "gap-sm-5",
797
+ MdGap0: "gap-md-0",
798
+ MdGap1: "gap-md-1",
799
+ MdGap2: "gap-md-2",
800
+ MdGap3: "gap-md-3",
801
+ MdGap4: "gap-md-4",
802
+ MdGap5: "gap-md-5",
803
+ LgGap0: "gap-lg-0",
804
+ LgGap1: "gap-lg-1",
805
+ LgGap2: "gap-lg-2",
806
+ LgGap3: "gap-lg-3",
807
+ LgGap4: "gap-lg-4",
808
+ LgGap5: "gap-lg-5",
809
+ XlGap0: "gap-xl-0",
810
+ XlGap1: "gap-xl-1",
811
+ XlGap2: "gap-xl-2",
812
+ XlGap3: "gap-xl-3",
813
+ XlGap4: "gap-xl-4",
814
+ XlGap5: "gap-xl-5",
815
+ XxlGap0: "gap-xxl-0",
816
+ XxlGap1: "gap-xxl-1",
817
+ XxlGap2: "gap-xxl-2",
818
+ XxlGap3: "gap-xxl-3",
819
+ XxlGap4: "gap-xxl-4",
820
+ XxlGap5: "gap-xxl-5"
821
+ }, Fe = {
822
+ Order0: "order-0",
823
+ Order1: "order-1",
824
+ Order2: "order-2",
825
+ Order3: "order-3",
826
+ Order4: "order-4",
827
+ Order5: "order-5",
828
+ First: "order-first",
829
+ Last: "order-last",
830
+ SmOrder0: "order-sm-0",
831
+ SmOrder1: "order-sm-1",
832
+ SmOrder2: "order-sm-2",
833
+ SmOrder3: "order-sm-3",
834
+ SmOrder4: "order-sm-4",
835
+ SmOrder5: "order-sm-5",
836
+ SmFirst: "order-sm-first",
837
+ SmLast: "order-sm-last",
838
+ MdOrder0: "order-md-0",
839
+ MdOrder1: "order-md-1",
840
+ MdOrder2: "order-md-2",
841
+ MdOrder3: "order-md-3",
842
+ MdOrder4: "order-md-4",
843
+ MdOrder5: "order-md-5",
844
+ MdFirst: "order-md-first",
845
+ MdLast: "order-md-last",
846
+ LgOrder0: "order-lg-0",
847
+ LgOrder1: "order-lg-1",
848
+ LgOrder2: "order-lg-2",
849
+ LgOrder3: "order-lg-3",
850
+ LgOrder4: "order-lg-4",
851
+ LgOrder5: "order-lg-5",
852
+ LgFirst: "order-lg-first",
853
+ LgLast: "order-lg-last",
854
+ XlOrder0: "order-xl-0",
855
+ XlOrder1: "order-xl-1",
856
+ XlOrder2: "order-xl-2",
857
+ XlOrder3: "order-xl-3",
858
+ XlOrder4: "order-xl-4",
859
+ XlOrder5: "order-xl-5",
860
+ XlFirst: "order-xl-first",
861
+ XlLast: "order-xl-last",
862
+ XxlOrder0: "order-xxl-0",
863
+ XxlOrder1: "order-xxl-1",
864
+ XxlOrder2: "order-xxl-2",
865
+ XxlOrder3: "order-xxl-3",
866
+ XxlOrder4: "order-xxl-4",
867
+ XxlOrder5: "order-xxl-5",
868
+ XxlFirst: "order-xxl-first",
869
+ XxlLast: "order-xxl-last"
870
+ }, Nt = {
871
+ Grow0: "flex-grow-0",
872
+ Grow1: "flex-grow-1",
873
+ SmGrow0: "flex-sm-grow-0",
874
+ SmGrow1: "flex-sm-grow-1",
875
+ MdGrow0: "flex-md-grow-0",
876
+ MdGrow1: "flex-md-grow-1",
877
+ LgGrow0: "flex-lg-grow-0",
878
+ LgGrow1: "flex-lg-grow-1",
879
+ XlGrow0: "flex-xl-grow-0",
880
+ XlGrow1: "flex-xl-grow-1",
881
+ XxlGrow0: "flex-xxl-grow-0",
882
+ XxlGrow1: "flex-xxl-grow-1"
883
+ }, At = {
884
+ Shrink0: "flex-shrink-0",
885
+ Shrink1: "flex-shrink-1",
886
+ SmShrink0: "flex-sm-shrink-0",
887
+ SmShrink1: "flex-sm-shrink-1",
888
+ MdShrink0: "flex-md-shrink-0",
889
+ MdShrink1: "flex-md-shrink-1",
890
+ LgShrink0: "flex-lg-shrink-0",
891
+ LgShrink1: "flex-lg-shrink-1",
892
+ XlShrink0: "flex-xl-shrink-0",
893
+ XlShrink1: "flex-xl-shrink-1",
894
+ XxlShrink0: "flex-xxl-shrink-0",
895
+ XxlShrink1: "flex-xxl-shrink-1"
896
+ }, Bt = {
897
+ Fill: "flex-fill",
898
+ SmFill: "flex-sm-fill",
899
+ MdFill: "flex-md-fill",
900
+ LgFill: "flex-lg-fill",
901
+ XlFill: "flex-xl-fill",
902
+ XxlFill: "flex-xxl-fill"
903
+ }, Rt = {
904
+ RowCols1: "row-cols-1",
905
+ RowCols2: "row-cols-2",
906
+ RowCols3: "row-cols-3",
907
+ RowCols4: "row-cols-4",
908
+ RowCols5: "row-cols-5",
909
+ RowCols6: "row-cols-6",
910
+ RowColsAuto: "row-cols-auto",
911
+ SmRowCols1: "row-cols-sm-1",
912
+ SmRowCols2: "row-cols-sm-2",
913
+ SmRowCols3: "row-cols-sm-3",
914
+ SmRowCols4: "row-cols-sm-4",
915
+ SmRowCols5: "row-cols-sm-5",
916
+ SmRowCols6: "row-cols-sm-6",
917
+ SmRowColsAuto: "row-cols-sm-auto",
918
+ MdRowCols1: "row-cols-md-1",
919
+ MdRowCols2: "row-cols-md-2",
920
+ MdRowCols3: "row-cols-md-3",
921
+ MdRowCols4: "row-cols-md-4",
922
+ MdRowCols5: "row-cols-md-5",
923
+ MdRowCols6: "row-cols-md-6",
924
+ MdRowColsAuto: "row-cols-md-auto",
925
+ LgRowCols1: "row-cols-lg-1",
926
+ LgRowCols2: "row-cols-lg-2",
927
+ LgRowCols3: "row-cols-lg-3",
928
+ LgRowCols4: "row-cols-lg-4",
929
+ LgRowCols5: "row-cols-lg-5",
930
+ LgRowCols6: "row-cols-lg-6",
931
+ LgRowColsAuto: "row-cols-lg-auto",
932
+ XlRowCols1: "row-cols-xl-1",
933
+ XlRowCols2: "row-cols-xl-2",
934
+ XlRowCols3: "row-cols-xl-3",
935
+ XlRowCols4: "row-cols-xl-4",
936
+ XlRowCols5: "row-cols-xl-5",
937
+ XlRowCols6: "row-cols-xl-6",
938
+ XlRowColsAuto: "row-cols-xl-auto",
939
+ XxlRowCols1: "row-cols-xxl-1",
940
+ XxlRowCols2: "row-cols-xxl-2",
941
+ XxlRowCols3: "row-cols-xxl-3",
942
+ XxlRowCols4: "row-cols-xxl-4",
943
+ XxlRowCols5: "row-cols-xxl-5",
944
+ XxlRowCols6: "row-cols-xxl-6",
945
+ XxlRowColsAuto: "row-cols-xxl-auto"
946
+ }, jt = {
947
+ G0: "g-0",
948
+ G1: "g-1",
949
+ G2: "g-2",
950
+ G3: "g-3",
951
+ G4: "g-4",
952
+ G5: "g-5",
953
+ SmG0: "g-sm-0",
954
+ SmG1: "g-sm-1",
955
+ SmG2: "g-sm-2",
956
+ SmG3: "g-sm-3",
957
+ SmG4: "g-sm-4",
958
+ SmG5: "g-sm-5",
959
+ MdG0: "g-md-0",
960
+ MdG1: "g-md-1",
961
+ MdG2: "g-md-2",
962
+ MdG3: "g-md-3",
963
+ MdG4: "g-md-4",
964
+ MdG5: "g-md-5",
965
+ LgG0: "g-lg-0",
966
+ LgG1: "g-lg-1",
967
+ LgG2: "g-lg-2",
968
+ LgG3: "g-lg-3",
969
+ LgG4: "g-lg-4",
970
+ LgG5: "g-lg-5",
971
+ XlG0: "g-xl-0",
972
+ XlG1: "g-xl-1",
973
+ XlG2: "g-xl-2",
974
+ XlG3: "g-xl-3",
975
+ XlG4: "g-xl-4",
976
+ XlG5: "g-xl-5",
977
+ XxlG0: "g-xxl-0",
978
+ XxlG1: "g-xxl-1",
979
+ XxlG2: "g-xxl-2",
980
+ XxlG3: "g-xxl-3",
981
+ XxlG4: "g-xxl-4",
982
+ XxlG5: "g-xxl-5"
983
+ }, kt = {
984
+ Col1: "col-1",
985
+ Col2: "col-2",
986
+ Col3: "col-3",
987
+ Col4: "col-4",
988
+ Col5: "col-5",
989
+ Col6: "col-6",
990
+ Col7: "col-7",
991
+ Col8: "col-8",
992
+ Col9: "col-9",
993
+ Col10: "col-10",
994
+ Col11: "col-11",
995
+ Col12: "col-12",
996
+ ColAuto: "col-auto",
997
+ SmCol1: "col-sm-1",
998
+ SmCol2: "col-sm-2",
999
+ SmCol3: "col-sm-3",
1000
+ SmCol4: "col-sm-4",
1001
+ SmCol5: "col-sm-5",
1002
+ SmCol6: "col-sm-6",
1003
+ SmCol7: "col-sm-7",
1004
+ SmCol8: "col-sm-8",
1005
+ SmCol9: "col-sm-9",
1006
+ SmCol10: "col-sm-10",
1007
+ SmCol11: "col-sm-11",
1008
+ SmCol12: "col-sm-12",
1009
+ SmColAuto: "col-sm-auto",
1010
+ MdCol1: "col-md-1",
1011
+ MdCol2: "col-md-2",
1012
+ MdCol3: "col-md-3",
1013
+ MdCol4: "col-md-4",
1014
+ MdCol5: "col-md-5",
1015
+ MdCol6: "col-md-6",
1016
+ MdCol7: "col-md-7",
1017
+ MdCol8: "col-md-8",
1018
+ MdCol9: "col-md-9",
1019
+ MdCol10: "col-md-10",
1020
+ MdCol11: "col-md-11",
1021
+ MdCol12: "col-md-12",
1022
+ MdColAuto: "col-md-auto",
1023
+ LgCol1: "col-lg-1",
1024
+ LgCol2: "col-lg-2",
1025
+ LgCol3: "col-lg-3",
1026
+ LgCol4: "col-lg-4",
1027
+ LgCol5: "col-lg-5",
1028
+ LgCol6: "col-lg-6",
1029
+ LgCol7: "col-lg-7",
1030
+ LgCol8: "col-lg-8",
1031
+ LgCol9: "col-lg-9",
1032
+ LgCol10: "col-lg-10",
1033
+ LgCol11: "col-lg-11",
1034
+ LgCol12: "col-lg-12",
1035
+ LgColAuto: "col-lg-auto",
1036
+ XlCol1: "col-xl-1",
1037
+ XlCol2: "col-xl-2",
1038
+ XlCol3: "col-xl-3",
1039
+ XlCol4: "col-xl-4",
1040
+ XlCol5: "col-xl-5",
1041
+ XlCol6: "col-xl-6",
1042
+ XlCol7: "col-xl-7",
1043
+ XlCol8: "col-xl-8",
1044
+ XlCol9: "col-xl-9",
1045
+ XlCol10: "col-xl-10",
1046
+ XlCol11: "col-xl-11",
1047
+ XlCol12: "col-xl-12",
1048
+ XlColAuto: "col-xl-auto",
1049
+ XxlCol1: "col-xxl-1",
1050
+ XxlCol2: "col-xxl-2",
1051
+ XxlCol3: "col-xxl-3",
1052
+ XxlCol4: "col-xxl-4",
1053
+ XxlCol5: "col-xxl-5",
1054
+ XxlCol6: "col-xxl-6",
1055
+ XxlCol7: "col-xxl-7",
1056
+ XxlCol8: "col-xxl-8",
1057
+ XxlCol9: "col-xxl-9",
1058
+ XxlCol10: "col-xxl-10",
1059
+ XxlCol11: "col-xxl-11",
1060
+ XxlCol12: "col-xxl-12",
1061
+ XxlColAuto: "col-xxl-auto"
1062
+ }, Pt = {
1063
+ Offset1: "offset-1",
1064
+ Offset2: "offset-2",
1065
+ Offset3: "offset-3",
1066
+ Offset4: "offset-4",
1067
+ Offset5: "offset-5",
1068
+ Offset6: "offset-6",
1069
+ Offset7: "offset-7",
1070
+ Offset8: "offset-8",
1071
+ Offset9: "offset-9",
1072
+ Offset10: "offset-10",
1073
+ Offset11: "offset-11",
1074
+ SmOffset1: "offset-sm-1",
1075
+ SmOffset2: "offset-sm-2",
1076
+ SmOffset3: "offset-sm-3",
1077
+ SmOffset4: "offset-sm-4",
1078
+ SmOffset5: "offset-sm-5",
1079
+ SmOffset6: "offset-sm-6",
1080
+ SmOffset7: "offset-sm-7",
1081
+ SmOffset8: "offset-sm-8",
1082
+ SmOffset9: "offset-sm-9",
1083
+ SmOffset10: "offset-sm-10",
1084
+ SmOffset11: "offset-sm-11",
1085
+ MdOffset1: "offset-md-1",
1086
+ MdOffset2: "offset-md-2",
1087
+ MdOffset3: "offset-md-3",
1088
+ MdOffset4: "offset-md-4",
1089
+ MdOffset5: "offset-md-5",
1090
+ MdOffset6: "offset-md-6",
1091
+ MdOffset7: "offset-md-7",
1092
+ MdOffset8: "offset-md-8",
1093
+ MdOffset9: "offset-md-9",
1094
+ MdOffset10: "offset-md-10",
1095
+ MdOffset11: "offset-md-11",
1096
+ LgOffset1: "offset-lg-1",
1097
+ LgOffset2: "offset-lg-2",
1098
+ LgOffset3: "offset-lg-3",
1099
+ LgOffset4: "offset-lg-4",
1100
+ LgOffset5: "offset-lg-5",
1101
+ LgOffset6: "offset-lg-6",
1102
+ LgOffset7: "offset-lg-7",
1103
+ LgOffset8: "offset-lg-8",
1104
+ LgOffset9: "offset-lg-9",
1105
+ LgOffset10: "offset-lg-10",
1106
+ LgOffset11: "offset-lg-11",
1107
+ XlOffset1: "offset-xl-1",
1108
+ XlOffset2: "offset-xl-2",
1109
+ XlOffset3: "offset-xl-3",
1110
+ XlOffset4: "offset-xl-4",
1111
+ XlOffset5: "offset-xl-5",
1112
+ XlOffset6: "offset-xl-6",
1113
+ XlOffset7: "offset-xl-7",
1114
+ XlOffset8: "offset-xl-8",
1115
+ XlOffset9: "offset-xl-9",
1116
+ XlOffset10: "offset-xl-10",
1117
+ XlOffset11: "offset-xl-11",
1118
+ XxlOffset1: "offset-xxl-1",
1119
+ XxlOffset2: "offset-xxl-2",
1120
+ XxlOffset3: "offset-xxl-3",
1121
+ XxlOffset4: "offset-xxl-4",
1122
+ XxlOffset5: "offset-xxl-5",
1123
+ XxlOffset6: "offset-xxl-6",
1124
+ XxlOffset7: "offset-xxl-7",
1125
+ XxlOffset8: "offset-xxl-8",
1126
+ XxlOffset9: "offset-xxl-9",
1127
+ XxlOffset10: "offset-xxl-10",
1128
+ XxlOffset11: "offset-xxl-11"
1129
+ }, q = (e) => e ? Array.isArray(e) ? e : [e] : [], jn = ({
1130
+ children: e,
1131
+ cols: t,
1132
+ gutter: o,
1133
+ alignItems: n,
1134
+ justifyContent: s,
1135
+ className: r
1136
+ }) => {
1137
+ const l = [
1138
+ ...q(t),
1139
+ ...q(o),
1140
+ ...q(n),
1141
+ ...q(s)
1142
+ ], i = [
1143
+ { prop: t, set: new Set(Object.values(Rt)) },
1144
+ { prop: o, set: new Set(Object.values(jt)) },
1145
+ { prop: n, set: new Set(Object.values(He)) },
1146
+ { prop: s, set: new Set(Object.values($e)) }
1147
+ ], d = ((r == null ? void 0 : r.split(" ").filter(Boolean)) ?? []).filter(
1148
+ (u) => !i.some(({ prop: x, set: C }) => x && C.has(u))
1149
+ ), f = /* @__PURE__ */ new Set([...l, ...d]), m = [
1150
+ "row",
1151
+ ...new Set(
1152
+ [...f].filter((u) => u !== "row")
1153
+ )
1154
+ ].join(" ");
1155
+ return /* @__PURE__ */ a("div", { className: m, children: e });
1156
+ }, K = (e) => e ? Array.isArray(e) ? e : [e] : [], kn = ({
1157
+ children: e,
1158
+ col: t,
1159
+ order: o,
1160
+ offset: n,
1161
+ alignSelf: s,
1162
+ className: r
1163
+ }) => {
1164
+ const l = [
1165
+ ...K(t),
1166
+ ...K(o),
1167
+ ...K(n),
1168
+ ...K(s)
1169
+ ], i = [
1170
+ { prop: t, set: new Set(Object.values(kt)) },
1171
+ { prop: t, set: new Set(Object.values({ default: "col" })) },
1172
+ { prop: s, set: new Set(Object.values(Ze)) },
1173
+ { prop: o, set: new Set(Object.values(Fe)) },
1174
+ { prop: n, set: new Set(Object.values(Pt)) }
1175
+ ], d = ((r == null ? void 0 : r.split(" ").filter(Boolean)) ?? []).filter(
1176
+ (u) => !i.some(({ prop: x, set: C }) => x && C.has(u))
1177
+ ), f = /* @__PURE__ */ new Set([...l, ...d]), m = [
1178
+ "col",
1179
+ ...new Set(
1180
+ [...f].filter((u) => u !== "col")
1181
+ )
1182
+ ].join(" ");
1183
+ return /* @__PURE__ */ a("div", { className: m, children: e });
1184
+ }, Pn = ({ type: e, children: t }) => /* @__PURE__ */ a("div", { className: `layout ${e} d-grid bg-body-tertiary overflow-hidden`, children: t }), Dn = ({ children: e }) => /* @__PURE__ */ a("header", { className: "layout-header", children: e }), Gn = ({ children: e }) => /* @__PURE__ */ a("aside", { className: "layout-aside", children: e }), Tn = ({ children: e }) => /* @__PURE__ */ a("main", { className: "layout-content rounded-top-4 rounded-end-0 bg-body", children: e }), Vn = ({ children: e }) => /* @__PURE__ */ a("footer", { className: "layout-footer", children: e }), Dt = (e, t, o) => {
1185
+ switch (t.type) {
1186
+ case "TOGGLE_ITEM":
1187
+ const n = t.payload, s = e.openItems.includes(n);
1188
+ return o ? {
1189
+ openItems: s ? e.openItems.filter((r) => r !== n) : [...e.openItems, n]
1190
+ } : {
1191
+ openItems: s ? [] : [n]
1192
+ };
1193
+ case "RESET":
1194
+ return { openItems: [] };
1195
+ default:
1196
+ return e;
1197
+ }
1198
+ }, We = ee(null), Gt = () => {
1199
+ const e = te(We);
1200
+ if (!e)
1201
+ throw new Error("useAccordionContext must be used within <AccordionProvider>");
1202
+ return e;
1203
+ }, Tt = ({ children: e, stayOpen: t = !0 }) => {
1204
+ const [o, n] = De(
1205
+ (r, l) => Dt(r, l, t),
1206
+ { openItems: [] }
1207
+ ), s = {
1208
+ openItems: o.openItems,
1209
+ toggleItem: (r) => n({ type: "TOGGLE_ITEM", payload: r }),
1210
+ stayOpen: t
1211
+ };
1212
+ return /* @__PURE__ */ a(We.Provider, { value: s, children: e });
1213
+ }, Vt = ({
1214
+ children: e,
1215
+ title: t,
1216
+ open: o = !1,
1217
+ className: n
1218
+ }) => {
1219
+ const { openItems: s, toggleItem: r } = Gt(), l = rt(), i = s.includes(l);
1220
+ I(() => {
1221
+ o && !i && r(l);
1222
+ }, []);
1223
+ const c = [
1224
+ "accordion-item",
1225
+ ...new Set(
1226
+ (n ?? "").split(/\s+/).filter(Boolean).filter((d) => d !== "accordion-item")
1227
+ )
1228
+ ].join(" ");
1229
+ return /* @__PURE__ */ N("div", { className: c, children: [
1230
+ /* @__PURE__ */ a("h2", { className: "accordion-header", children: /* @__PURE__ */ a(
1231
+ "button",
1232
+ {
1233
+ className: `accordion-button${i ? "" : " collapsed"}`,
1234
+ onClick: () => r(l),
1235
+ "aria-expanded": i,
1236
+ "aria-controls": l,
1237
+ children: t
1238
+ }
1239
+ ) }),
1240
+ /* @__PURE__ */ a(
1241
+ "div",
1242
+ {
1243
+ id: l,
1244
+ className: `accordion-collapse collapse${i ? " show" : ""}`,
1245
+ children: /* @__PURE__ */ a("div", { className: "accordion-body", children: e })
1246
+ }
1247
+ )
1248
+ ] });
1249
+ }, It = ({
1250
+ children: e,
1251
+ stayOpen: t = !1,
1252
+ className: o = ""
1253
+ }) => {
1254
+ const n = [
1255
+ "accordion",
1256
+ ...new Set(
1257
+ (o ?? "").split(/\s+/).filter(Boolean).filter((s) => s !== "accordion")
1258
+ )
1259
+ ].join(" ");
1260
+ return /* @__PURE__ */ a(Tt, { stayOpen: t, children: /* @__PURE__ */ a("div", { className: n, children: e }) });
1261
+ };
1262
+ It.Item = Vt;
1263
+ /**
1264
+ * @remix-run/router v1.5.0
1265
+ *
1266
+ * Copyright (c) Remix Software Inc.
1267
+ *
1268
+ * This source code is licensed under the MIT license found in the
1269
+ * LICENSE.md file in the root directory of this source tree.
1270
+ *
1271
+ * @license MIT
1272
+ */
1273
+ function fe() {
1274
+ return fe = Object.assign ? Object.assign.bind() : function(e) {
1275
+ for (var t = 1; t < arguments.length; t++) {
1276
+ var o = arguments[t];
1277
+ for (var n in o)
1278
+ Object.prototype.hasOwnProperty.call(o, n) && (e[n] = o[n]);
1279
+ }
1280
+ return e;
1281
+ }, fe.apply(this, arguments);
1282
+ }
1283
+ var Xe;
1284
+ (function(e) {
1285
+ e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
1286
+ })(Xe || (Xe = {}));
1287
+ function B(e, t) {
1288
+ if (e === !1 || e === null || typeof e > "u")
1289
+ throw new Error(t);
1290
+ }
1291
+ function Ht(e, t) {
1292
+ if (!e) {
1293
+ typeof console < "u" && console.warn(t);
1294
+ try {
1295
+ throw new Error(t);
1296
+ } catch {
1297
+ }
1298
+ }
1299
+ }
1300
+ function me(e) {
1301
+ let {
1302
+ pathname: t = "/",
1303
+ search: o = "",
1304
+ hash: n = ""
1305
+ } = e;
1306
+ return o && o !== "?" && (t += o.charAt(0) === "?" ? o : "?" + o), n && n !== "#" && (t += n.charAt(0) === "#" ? n : "#" + n), t;
1307
+ }
1308
+ function _e(e) {
1309
+ let t = {};
1310
+ if (e) {
1311
+ let o = e.indexOf("#");
1312
+ o >= 0 && (t.hash = e.substr(o), e = e.substr(0, o));
1313
+ let n = e.indexOf("?");
1314
+ n >= 0 && (t.search = e.substr(n), e = e.substr(0, n)), e && (t.pathname = e);
1315
+ }
1316
+ return t;
1317
+ }
1318
+ var Ne;
1319
+ (function(e) {
1320
+ e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
1321
+ })(Ne || (Ne = {}));
1322
+ function Zt(e, t) {
1323
+ if (t === "/") return e;
1324
+ if (!e.toLowerCase().startsWith(t.toLowerCase()))
1325
+ return null;
1326
+ let o = t.endsWith("/") ? t.length - 1 : t.length, n = e.charAt(o);
1327
+ return n && n !== "/" ? null : e.slice(o) || "/";
1328
+ }
1329
+ function $t(e, t) {
1330
+ t === void 0 && (t = "/");
1331
+ let {
1332
+ pathname: o,
1333
+ search: n = "",
1334
+ hash: s = ""
1335
+ } = typeof e == "string" ? _e(e) : e;
1336
+ return {
1337
+ pathname: o ? o.startsWith("/") ? o : Ft(o, t) : t,
1338
+ search: Wt(n),
1339
+ hash: _t(s)
1340
+ };
1341
+ }
1342
+ function Ft(e, t) {
1343
+ let o = t.replace(/\/+$/, "").split("/");
1344
+ return e.split("/").forEach((s) => {
1345
+ s === ".." ? o.length > 1 && o.pop() : s !== "." && o.push(s);
1346
+ }), o.length > 1 ? o.join("/") : "/";
1347
+ }
1348
+ function ce(e, t, o, n) {
1349
+ return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + t + "` field [" + JSON.stringify(n) + "]. Please separate it out to the ") + ("`to." + o + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
1350
+ }
1351
+ function ze(e) {
1352
+ return e.filter((t, o) => o === 0 || t.route.path && t.route.path.length > 0);
1353
+ }
1354
+ function Ue(e, t, o, n) {
1355
+ n === void 0 && (n = !1);
1356
+ let s;
1357
+ typeof e == "string" ? s = _e(e) : (s = fe({}, e), B(!s.pathname || !s.pathname.includes("?"), ce("?", "pathname", "search", s)), B(!s.pathname || !s.pathname.includes("#"), ce("#", "pathname", "hash", s)), B(!s.search || !s.search.includes("#"), ce("#", "search", "hash", s)));
1358
+ let r = e === "" || s.pathname === "", l = r ? "/" : s.pathname, i;
1359
+ if (n || l == null)
1360
+ i = o;
1361
+ else {
1362
+ let m = t.length - 1;
1363
+ if (l.startsWith("..")) {
1364
+ let u = l.split("/");
1365
+ for (; u[0] === ".."; )
1366
+ u.shift(), m -= 1;
1367
+ s.pathname = u.join("/");
1368
+ }
1369
+ i = m >= 0 ? t[m] : "/";
1370
+ }
1371
+ let c = $t(s, i), d = l && l !== "/" && l.endsWith("/"), f = (r || l === ".") && o.endsWith("/");
1372
+ return !c.pathname.endsWith("/") && (d || f) && (c.pathname += "/"), c;
1373
+ }
1374
+ const xe = (e) => e.join("/").replace(/\/\/+/g, "/"), Wt = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, _t = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Ye = ["post", "put", "patch", "delete"];
1375
+ new Set(Ye);
1376
+ const zt = ["get", ...Ye];
1377
+ new Set(zt);
1378
+ /**
1379
+ * React Router v6.10.0
1380
+ *
1381
+ * Copyright (c) Remix Software Inc.
1382
+ *
1383
+ * This source code is licensed under the MIT license found in the
1384
+ * LICENSE.md file in the root directory of this source tree.
1385
+ *
1386
+ * @license MIT
1387
+ */
1388
+ const qe = /* @__PURE__ */ O.createContext(null);
1389
+ process.env.NODE_ENV !== "production" && (qe.displayName = "DataRouter");
1390
+ const Ke = /* @__PURE__ */ O.createContext(null);
1391
+ process.env.NODE_ENV !== "production" && (Ke.displayName = "DataRouterState");
1392
+ const Ut = /* @__PURE__ */ O.createContext(null);
1393
+ process.env.NODE_ENV !== "production" && (Ut.displayName = "Await");
1394
+ const $ = /* @__PURE__ */ O.createContext(null);
1395
+ process.env.NODE_ENV !== "production" && ($.displayName = "Navigation");
1396
+ const ge = /* @__PURE__ */ O.createContext(null);
1397
+ process.env.NODE_ENV !== "production" && (ge.displayName = "Location");
1398
+ const ne = /* @__PURE__ */ O.createContext({
1399
+ outlet: null,
1400
+ matches: []
1401
+ });
1402
+ process.env.NODE_ENV !== "production" && (ne.displayName = "Route");
1403
+ const Yt = /* @__PURE__ */ O.createContext(null);
1404
+ process.env.NODE_ENV !== "production" && (Yt.displayName = "RouteError");
1405
+ function qt(e, t) {
1406
+ let {
1407
+ relative: o
1408
+ } = t === void 0 ? {} : t;
1409
+ he() || (process.env.NODE_ENV !== "production" ? B(
1410
+ !1,
1411
+ // TODO: This error is probably because they somehow have 2 versions of the
1412
+ // router loaded. We can help them understand how to avoid that.
1413
+ "useHref() may be used only in the context of a <Router> component."
1414
+ ) : B(!1));
1415
+ let {
1416
+ basename: n,
1417
+ navigator: s
1418
+ } = O.useContext($), {
1419
+ hash: r,
1420
+ pathname: l,
1421
+ search: i
1422
+ } = se(e, {
1423
+ relative: o
1424
+ }), c = l;
1425
+ return n !== "/" && (c = l === "/" ? n : xe([n, l])), s.createHref({
1426
+ pathname: c,
1427
+ search: i,
1428
+ hash: r
1429
+ });
1430
+ }
1431
+ function he() {
1432
+ return O.useContext(ge) != null;
1433
+ }
1434
+ function U() {
1435
+ return he() || (process.env.NODE_ENV !== "production" ? B(
1436
+ !1,
1437
+ // TODO: This error is probably because they somehow have 2 versions of the
1438
+ // router loaded. We can help them understand how to avoid that.
1439
+ "useLocation() may be used only in the context of a <Router> component."
1440
+ ) : B(!1)), O.useContext(ge).location;
1441
+ }
1442
+ function Kt() {
1443
+ he() || (process.env.NODE_ENV !== "production" ? B(
1444
+ !1,
1445
+ // TODO: This error is probably because they somehow have 2 versions of the
1446
+ // router loaded. We can help them understand how to avoid that.
1447
+ "useNavigate() may be used only in the context of a <Router> component."
1448
+ ) : B(!1));
1449
+ let {
1450
+ basename: e,
1451
+ navigator: t
1452
+ } = O.useContext($), {
1453
+ matches: o
1454
+ } = O.useContext(ne), {
1455
+ pathname: n
1456
+ } = U(), s = JSON.stringify(ze(o).map((i) => i.pathnameBase)), r = O.useRef(!1);
1457
+ return O.useEffect(() => {
1458
+ r.current = !0;
1459
+ }), O.useCallback(function(i, c) {
1460
+ if (c === void 0 && (c = {}), process.env.NODE_ENV !== "production" && Ht(r.current, "You should call navigate() in a React.useEffect(), not when your component is first rendered."), !r.current) return;
1461
+ if (typeof i == "number") {
1462
+ t.go(i);
1463
+ return;
1464
+ }
1465
+ let d = Ue(i, JSON.parse(s), n, c.relative === "path");
1466
+ e !== "/" && (d.pathname = d.pathname === "/" ? e : xe([e, d.pathname])), (c.replace ? t.replace : t.push)(d, c.state, c);
1467
+ }, [e, t, s, n]);
1468
+ }
1469
+ function se(e, t) {
1470
+ let {
1471
+ relative: o
1472
+ } = t === void 0 ? {} : t, {
1473
+ matches: n
1474
+ } = O.useContext(ne), {
1475
+ pathname: s
1476
+ } = U(), r = JSON.stringify(ze(n).map((l) => l.pathnameBase));
1477
+ return O.useMemo(() => Ue(e, JSON.parse(r), s, o === "path"), [e, r, s, o]);
1478
+ }
1479
+ var Ae;
1480
+ (function(e) {
1481
+ e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator";
1482
+ })(Ae || (Ae = {}));
1483
+ var Be;
1484
+ (function(e) {
1485
+ e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator";
1486
+ })(Be || (Be = {}));
1487
+ var Re;
1488
+ (function(e) {
1489
+ e[e.pending = 0] = "pending", e[e.success = 1] = "success", e[e.error = 2] = "error";
1490
+ })(Re || (Re = {}));
1491
+ new Promise(() => {
1492
+ });
1493
+ /**
1494
+ * React Router DOM v6.10.0
1495
+ *
1496
+ * Copyright (c) Remix Software Inc.
1497
+ *
1498
+ * This source code is licensed under the MIT license found in the
1499
+ * LICENSE.md file in the root directory of this source tree.
1500
+ *
1501
+ * @license MIT
1502
+ */
1503
+ function H() {
1504
+ return H = Object.assign ? Object.assign.bind() : function(e) {
1505
+ for (var t = 1; t < arguments.length; t++) {
1506
+ var o = arguments[t];
1507
+ for (var n in o)
1508
+ Object.prototype.hasOwnProperty.call(o, n) && (e[n] = o[n]);
1509
+ }
1510
+ return e;
1511
+ }, H.apply(this, arguments);
1512
+ }
1513
+ function we(e, t) {
1514
+ if (e == null) return {};
1515
+ var o = {}, n = Object.keys(e), s, r;
1516
+ for (r = 0; r < n.length; r++)
1517
+ s = n[r], !(t.indexOf(s) >= 0) && (o[s] = e[s]);
1518
+ return o;
1519
+ }
1520
+ const J = "get", de = "application/x-www-form-urlencoded";
1521
+ function le(e) {
1522
+ return e != null && typeof e.tagName == "string";
1523
+ }
1524
+ function Jt(e) {
1525
+ return le(e) && e.tagName.toLowerCase() === "button";
1526
+ }
1527
+ function Qt(e) {
1528
+ return le(e) && e.tagName.toLowerCase() === "form";
1529
+ }
1530
+ function eo(e) {
1531
+ return le(e) && e.tagName.toLowerCase() === "input";
1532
+ }
1533
+ function to(e) {
1534
+ return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1535
+ }
1536
+ function oo(e, t) {
1537
+ return e.button === 0 && // Ignore everything but left clicks
1538
+ (!t || t === "_self") && // Let browser handle "target=_blank" etc.
1539
+ !to(e);
1540
+ }
1541
+ function no(e, t, o) {
1542
+ let n, s, r, l;
1543
+ if (Qt(e)) {
1544
+ let f = o.submissionTrigger;
1545
+ n = o.method || e.getAttribute("method") || J, s = o.action || e.getAttribute("action") || t, r = o.encType || e.getAttribute("enctype") || de, l = new FormData(e), f && f.name && l.append(f.name, f.value);
1546
+ } else if (Jt(e) || eo(e) && (e.type === "submit" || e.type === "image")) {
1547
+ let f = e.form;
1548
+ if (f == null)
1549
+ throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
1550
+ n = o.method || e.getAttribute("formmethod") || f.getAttribute("method") || J, s = o.action || e.getAttribute("formaction") || f.getAttribute("action") || t, r = o.encType || e.getAttribute("formenctype") || f.getAttribute("enctype") || de, l = new FormData(f), e.name && l.append(e.name, e.value);
1551
+ } else {
1552
+ if (le(e))
1553
+ throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
1554
+ if (n = o.method || J, s = o.action || t, r = o.encType || de, e instanceof FormData)
1555
+ l = e;
1556
+ else if (l = new FormData(), e instanceof URLSearchParams)
1557
+ for (let [f, m] of e)
1558
+ l.append(f, m);
1559
+ else if (e != null)
1560
+ for (let f of Object.keys(e))
1561
+ l.append(f, e[f]);
1562
+ }
1563
+ let {
1564
+ protocol: i,
1565
+ host: c
1566
+ } = window.location;
1567
+ return {
1568
+ url: new URL(s, i + "//" + c),
1569
+ method: n.toLowerCase(),
1570
+ encType: r,
1571
+ formData: l
1572
+ };
1573
+ }
1574
+ const so = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset"], lo = ["aria-current", "caseSensitive", "className", "end", "style", "to", "children"], ro = ["reloadDocument", "replace", "method", "action", "onSubmit", "fetcherKey", "routeId", "relative", "preventScrollReset"];
1575
+ process.env.NODE_ENV;
1576
+ const ao = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", io = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, ve = /* @__PURE__ */ O.forwardRef(function(t, o) {
1577
+ let {
1578
+ onClick: n,
1579
+ relative: s,
1580
+ reloadDocument: r,
1581
+ replace: l,
1582
+ state: i,
1583
+ target: c,
1584
+ to: d,
1585
+ preventScrollReset: f
1586
+ } = t, m = we(t, so), {
1587
+ basename: u
1588
+ } = O.useContext($), x, C = !1;
1589
+ if (typeof d == "string" && io.test(d) && (x = d, ao)) {
1590
+ let p = new URL(window.location.href), w = d.startsWith("//") ? new URL(p.protocol + d) : new URL(d), g = Zt(w.pathname, u);
1591
+ w.origin === p.origin && g != null ? d = g + w.search + w.hash : C = !0;
1592
+ }
1593
+ let h = qt(d, {
1594
+ relative: s
1595
+ }), b = uo(d, {
1596
+ replace: l,
1597
+ state: i,
1598
+ target: c,
1599
+ preventScrollReset: f,
1600
+ relative: s
1601
+ });
1602
+ function S(p) {
1603
+ n && n(p), p.defaultPrevented || b(p);
1604
+ }
1605
+ return (
1606
+ // eslint-disable-next-line jsx-a11y/anchor-has-content
1607
+ /* @__PURE__ */ O.createElement("a", H({}, m, {
1608
+ href: x || h,
1609
+ onClick: C || r ? n : S,
1610
+ ref: o,
1611
+ target: c
1612
+ }))
1613
+ );
1614
+ });
1615
+ process.env.NODE_ENV !== "production" && (ve.displayName = "Link");
1616
+ const Je = /* @__PURE__ */ O.forwardRef(function(t, o) {
1617
+ let {
1618
+ "aria-current": n = "page",
1619
+ caseSensitive: s = !1,
1620
+ className: r = "",
1621
+ end: l = !1,
1622
+ style: i,
1623
+ to: c,
1624
+ children: d
1625
+ } = t, f = we(t, lo), m = se(c, {
1626
+ relative: f.relative
1627
+ }), u = U(), x = O.useContext(Ke), {
1628
+ navigator: C
1629
+ } = O.useContext($), h = C.encodeLocation ? C.encodeLocation(m).pathname : m.pathname, b = u.pathname, S = x && x.navigation && x.navigation.location ? x.navigation.location.pathname : null;
1630
+ s || (b = b.toLowerCase(), S = S ? S.toLowerCase() : null, h = h.toLowerCase());
1631
+ let p = b === h || !l && b.startsWith(h) && b.charAt(h.length) === "/", w = S != null && (S === h || !l && S.startsWith(h) && S.charAt(h.length) === "/"), g = p ? n : void 0, y;
1632
+ typeof r == "function" ? y = r({
1633
+ isActive: p,
1634
+ isPending: w
1635
+ }) : y = [r, p ? "active" : null, w ? "pending" : null].filter(Boolean).join(" ");
1636
+ let v = typeof i == "function" ? i({
1637
+ isActive: p,
1638
+ isPending: w
1639
+ }) : i;
1640
+ return /* @__PURE__ */ O.createElement(ve, H({}, f, {
1641
+ "aria-current": g,
1642
+ className: y,
1643
+ ref: o,
1644
+ style: v,
1645
+ to: c
1646
+ }), typeof d == "function" ? d({
1647
+ isActive: p,
1648
+ isPending: w
1649
+ }) : d);
1650
+ });
1651
+ process.env.NODE_ENV !== "production" && (Je.displayName = "NavLink");
1652
+ const co = /* @__PURE__ */ O.forwardRef((e, t) => /* @__PURE__ */ O.createElement(Qe, H({}, e, {
1653
+ ref: t
1654
+ })));
1655
+ process.env.NODE_ENV !== "production" && (co.displayName = "Form");
1656
+ const Qe = /* @__PURE__ */ O.forwardRef((e, t) => {
1657
+ let {
1658
+ reloadDocument: o,
1659
+ replace: n,
1660
+ method: s = J,
1661
+ action: r,
1662
+ onSubmit: l,
1663
+ fetcherKey: i,
1664
+ routeId: c,
1665
+ relative: d,
1666
+ preventScrollReset: f
1667
+ } = e, m = we(e, ro), u = po(i, c), x = s.toLowerCase() === "get" ? "get" : "post", C = et(r, {
1668
+ relative: d
1669
+ }), h = (b) => {
1670
+ if (l && l(b), b.defaultPrevented) return;
1671
+ b.preventDefault();
1672
+ let S = b.nativeEvent.submitter, p = (S == null ? void 0 : S.getAttribute("formmethod")) || s;
1673
+ u(S || b.currentTarget, {
1674
+ method: p,
1675
+ replace: n,
1676
+ relative: d,
1677
+ preventScrollReset: f
1678
+ });
1679
+ };
1680
+ return /* @__PURE__ */ O.createElement("form", H({
1681
+ ref: t,
1682
+ method: x,
1683
+ action: C,
1684
+ onSubmit: o ? l : h
1685
+ }, m));
1686
+ });
1687
+ process.env.NODE_ENV !== "production" && (Qe.displayName = "FormImpl");
1688
+ process.env.NODE_ENV;
1689
+ var ue;
1690
+ (function(e) {
1691
+ e.UseScrollRestoration = "useScrollRestoration", e.UseSubmitImpl = "useSubmitImpl", e.UseFetcher = "useFetcher";
1692
+ })(ue || (ue = {}));
1693
+ var je;
1694
+ (function(e) {
1695
+ e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
1696
+ })(je || (je = {}));
1697
+ function fo(e) {
1698
+ return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
1699
+ }
1700
+ function mo(e) {
1701
+ let t = O.useContext(qe);
1702
+ return t || (process.env.NODE_ENV !== "production" ? B(!1, fo(e)) : B(!1)), t;
1703
+ }
1704
+ function uo(e, t) {
1705
+ let {
1706
+ target: o,
1707
+ replace: n,
1708
+ state: s,
1709
+ preventScrollReset: r,
1710
+ relative: l
1711
+ } = t === void 0 ? {} : t, i = Kt(), c = U(), d = se(e, {
1712
+ relative: l
1713
+ });
1714
+ return O.useCallback((f) => {
1715
+ if (oo(f, o)) {
1716
+ f.preventDefault();
1717
+ let m = n !== void 0 ? n : me(c) === me(d);
1718
+ i(e, {
1719
+ replace: m,
1720
+ state: s,
1721
+ preventScrollReset: r,
1722
+ relative: l
1723
+ });
1724
+ }
1725
+ }, [c, i, d, n, s, o, e, r, l]);
1726
+ }
1727
+ function po(e, t) {
1728
+ let {
1729
+ router: o
1730
+ } = mo(ue.UseSubmitImpl), n = et();
1731
+ return O.useCallback(function(s, r) {
1732
+ if (r === void 0 && (r = {}), typeof document > "u")
1733
+ throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
1734
+ let {
1735
+ method: l,
1736
+ encType: i,
1737
+ formData: c,
1738
+ url: d
1739
+ } = no(s, n, r), f = d.pathname + d.search, m = {
1740
+ replace: r.replace,
1741
+ preventScrollReset: r.preventScrollReset,
1742
+ formData: c,
1743
+ formMethod: l,
1744
+ formEncType: i
1745
+ };
1746
+ e ? (t == null && (process.env.NODE_ENV !== "production" ? B(!1, "No routeId available for useFetcher()") : B(!1)), o.fetch(e, t, f, m)) : o.navigate(f, m);
1747
+ }, [n, o, e, t]);
1748
+ }
1749
+ function et(e, t) {
1750
+ let {
1751
+ relative: o
1752
+ } = t === void 0 ? {} : t, {
1753
+ basename: n
1754
+ } = O.useContext($), s = O.useContext(ne);
1755
+ s || (process.env.NODE_ENV !== "production" ? B(!1, "useFormAction must be used inside a RouteContext") : B(!1));
1756
+ let [r] = s.matches.slice(-1), l = H({}, se(e || ".", {
1757
+ relative: o
1758
+ })), i = U();
1759
+ if (e == null && (l.search = i.search, l.hash = i.hash, r.route.index)) {
1760
+ let c = new URLSearchParams(l.search);
1761
+ c.delete("index"), l.search = c.toString() ? "?" + c.toString() : "";
1762
+ }
1763
+ return (!e || e === ".") && r.route.index && (l.search = l.search ? l.search.replace(/^\?/, "?index&") : "?index"), n !== "/" && (l.pathname = l.pathname === "/" ? n : xe([n, l.pathname])), me(l);
1764
+ }
1765
+ const xo = ({
1766
+ children: e,
1767
+ text: t,
1768
+ path: o,
1769
+ className: n,
1770
+ isCurrent: s = !1,
1771
+ ...r
1772
+ }) => {
1773
+ const l = e ?? t, i = [
1774
+ "breadcrumb-item",
1775
+ ...new Set(
1776
+ (n ?? "").split(/\s+/).filter(Boolean).filter((c) => c !== "breadcrumb-item")
1777
+ )
1778
+ ].join(" ");
1779
+ return /* @__PURE__ */ a(
1780
+ "li",
1781
+ {
1782
+ className: `${i}${s ? " active" : ""}`,
1783
+ "aria-current": s ? "page" : void 0,
1784
+ ...r,
1785
+ children: o && !s ? /* @__PURE__ */ a(ve, { to: o, children: l }) : l
1786
+ }
1787
+ );
1788
+ }, go = ({
1789
+ children: e,
1790
+ className: t,
1791
+ divider: o,
1792
+ ...n
1793
+ }) => {
1794
+ const s = [
1795
+ "breadcrumb",
1796
+ ...new Set(
1797
+ (t ?? "").split(/\s+/).filter(Boolean).filter((l) => l !== "breadcrumb")
1798
+ )
1799
+ ].join(" "), r = o !== void 0 ? { "--bs-breadcrumb-divider": `'${o}'` } : void 0;
1800
+ return /* @__PURE__ */ a(
1801
+ "nav",
1802
+ {
1803
+ "aria-label": "breadcrumb",
1804
+ style: r,
1805
+ children: /* @__PURE__ */ a("ol", { className: s, ...n, children: e })
1806
+ }
1807
+ );
1808
+ };
1809
+ go.Item = xo;
1810
+ const ho = Object.fromEntries(
1811
+ Object.entries(G).map(([e, t]) => [e, `text-bg-${t}`])
1812
+ ), ke = {
1813
+ Top: "card-image-top",
1814
+ Bottom: "card-image-bottom"
1815
+ }, wo = ({
1816
+ children: e,
1817
+ className: t
1818
+ }) => {
1819
+ const o = [
1820
+ "card-body",
1821
+ ...new Set(
1822
+ (t ?? "").split(/\s+/).filter(Boolean).filter((n) => n !== "card-body")
1823
+ )
1824
+ ].join(" ");
1825
+ return /* @__PURE__ */ a("div", { className: o, children: e });
1826
+ }, vo = (e) => e ? Array.isArray(e) ? e : [e] : [], Co = ({
1827
+ className: e,
1828
+ placement: t = ke.Top,
1829
+ alt: o = "",
1830
+ src: n
1831
+ }) => {
1832
+ const s = [
1833
+ ...vo(t)
1834
+ ], r = [
1835
+ { prop: t, set: new Set(Object.values(ke)) }
1836
+ ], i = ((e == null ? void 0 : e.split(" ").filter(Boolean)) ?? []).filter(
1837
+ (d) => !r.some(({ prop: f, set: m }) => f && m.has(d))
1838
+ ), c = [
1839
+ "card-image",
1840
+ ...new Set([...s, ...i].filter((d) => d !== "card-image"))
1841
+ ].join(" ");
1842
+ return /* @__PURE__ */ a("img", { className: c, alt: o, src: n });
1843
+ }, bo = ({
1844
+ children: e,
1845
+ className: t
1846
+ }) => {
1847
+ const o = [
1848
+ "card-header",
1849
+ ...new Set(
1850
+ (t ?? "").split(/\s+/).filter(Boolean).filter((n) => n !== "card-header")
1851
+ )
1852
+ ].join(" ");
1853
+ return /* @__PURE__ */ a("div", { className: o, children: e });
1854
+ }, So = ({
1855
+ children: e,
1856
+ className: t
1857
+ }) => {
1858
+ const o = [
1859
+ "card-footer",
1860
+ ...new Set(
1861
+ (t ?? "").split(/\s+/).filter(Boolean).filter((n) => n !== "card-footer")
1862
+ )
1863
+ ].join(" ");
1864
+ return /* @__PURE__ */ a("div", { className: o, children: e });
1865
+ }, yo = ({
1866
+ el: e,
1867
+ children: t,
1868
+ className: o,
1869
+ ...n
1870
+ }) => {
1871
+ const s = [
1872
+ "card-title",
1873
+ ...new Set(
1874
+ (o ?? "").split(/\s+/).filter(Boolean).filter((l) => l !== "card-title")
1875
+ )
1876
+ ].join(" ");
1877
+ return D(e || "h5", { ...n, className: s }, t);
1878
+ }, Oo = ({
1879
+ children: e,
1880
+ className: t
1881
+ }) => {
1882
+ const o = [
1883
+ "card-text",
1884
+ ...new Set(
1885
+ (t ?? "").split(/\s+/).filter(Boolean).filter((n) => n !== "card-text")
1886
+ )
1887
+ ].join(" ");
1888
+ return /* @__PURE__ */ a("p", { className: o, children: e });
1889
+ }, Lo = (e) => e ? Array.isArray(e) ? e : [e] : [], F = ({
1890
+ children: e,
1891
+ className: t,
1892
+ color: o,
1893
+ ...n
1894
+ }) => {
1895
+ const s = [
1896
+ ...Lo(o)
1897
+ ], r = [
1898
+ { prop: o, set: new Set(Object.values(ho)) }
1899
+ ], i = ((t == null ? void 0 : t.split(/\s+/).filter(Boolean)) ?? []).filter(
1900
+ (d) => !r.some(({ prop: f, set: m }) => f && m.has(d))
1901
+ ), c = [
1902
+ "card",
1903
+ ...new Set([...s, ...i].filter((d) => d !== "card"))
1904
+ ].join(" ");
1905
+ return /* @__PURE__ */ a("div", { className: c, ...n, children: e });
1906
+ };
1907
+ F.Header = bo;
1908
+ F.Body = wo;
1909
+ F.Footer = So;
1910
+ F.Image = Co;
1911
+ F.Title = yo;
1912
+ F.Text = Oo;
1913
+ const Eo = (e, t) => {
1914
+ switch (t.type) {
1915
+ case "TOGGLE":
1916
+ return { ...e, isOpen: !e.isOpen };
1917
+ case "CLOSE":
1918
+ return { ...e, isOpen: !1 };
1919
+ case "SET_DIRECTION":
1920
+ return { ...e, direction: t.payload };
1921
+ default:
1922
+ return e;
1923
+ }
1924
+ }, tt = ee(null), re = () => {
1925
+ const e = te(tt);
1926
+ if (!e)
1927
+ throw new Error("useDropdownContext must be used inside <DropdownProvider>");
1928
+ return e;
1929
+ }, Mo = ({
1930
+ children: e,
1931
+ defaultDirection: t = P.DropDownStart
1932
+ }) => {
1933
+ const [o, n] = De(Eo, {
1934
+ isOpen: !1,
1935
+ direction: t
1936
+ }), s = {
1937
+ isOpen: o.isOpen,
1938
+ direction: o.direction,
1939
+ toggle: () => n({ type: "TOGGLE" }),
1940
+ close: () => n({ type: "CLOSE" }),
1941
+ setDirection: (r) => n({ type: "SET_DIRECTION", payload: r })
1942
+ };
1943
+ return /* @__PURE__ */ a(tt.Provider, { value: s, children: e });
1944
+ }, Xo = ({
1945
+ el: e,
1946
+ children: t,
1947
+ className: o,
1948
+ disabled: n = !1,
1949
+ active: s = !1,
1950
+ onClick: r,
1951
+ ...l
1952
+ }) => {
1953
+ const { close: i } = re(), c = e || "button", d = () => {
1954
+ r && r(), i();
1955
+ }, f = [
1956
+ "dropdown-item",
1957
+ ...new Set(
1958
+ (o ?? "").split(/\s+/).filter(Boolean).filter((u) => u !== "dropdown-item")
1959
+ )
1960
+ ];
1961
+ s && f.push("active"), n && f.push("disabled");
1962
+ const m = f.join(" ");
1963
+ return /* @__PURE__ */ a("li", { children: D(c, { ...l, className: m, onClick: d }, t) });
1964
+ }, P = {
1965
+ DropDownStart: "dropdown-start",
1966
+ DropDownCenter: "dropdown-center",
1967
+ DropDownEnd: "dropdown-end",
1968
+ DropUpStart: "dropup-start",
1969
+ DropUpCenter: "dropup-center",
1970
+ DropUpEnd: "dropup-end",
1971
+ DropStart: "dropstart",
1972
+ DropEnd: "dropend"
1973
+ }, No = (e) => {
1974
+ switch (e) {
1975
+ case P.DropDownStart:
1976
+ return { inset: "100% auto auto 0", transform: "translate(0, 0)" };
1977
+ case P.DropDownCenter:
1978
+ return { inset: "100% auto auto 50%", transform: "translate(-50%, 0)" };
1979
+ case P.DropDownEnd:
1980
+ return { inset: "100% 0 auto auto", transform: "translate(0, 0)" };
1981
+ case P.DropUpStart:
1982
+ return { inset: "auto auto 100% 0", transform: "translate(0, 0)" };
1983
+ case P.DropUpCenter:
1984
+ return { inset: "auto auto 100% 50%", transform: "translate(-50%, 0)" };
1985
+ case P.DropUpEnd:
1986
+ return { inset: "auto 0 100% auto", transform: "translate(0, 0)" };
1987
+ case P.DropStart:
1988
+ return { inset: "0 100% auto auto", transform: "translate(0, 0)" };
1989
+ case P.DropEnd:
1990
+ return { inset: "0 auto auto 100%", transform: "translate(0, 0)" };
1991
+ default:
1992
+ return {};
1993
+ }
1994
+ }, Ao = ({
1995
+ children: e,
1996
+ className: t,
1997
+ style: o,
1998
+ ...n
1999
+ }) => {
2000
+ const { isOpen: s, direction: r } = re(), l = {
2001
+ ...No(r),
2002
+ ...o
2003
+ }, i = [
2004
+ "dropdown-menu",
2005
+ ...new Set(
2006
+ (t ?? "").split(/\s+/).filter(Boolean).filter((c) => c !== "dropdown-menu")
2007
+ )
2008
+ ].join(" ");
2009
+ return /* @__PURE__ */ a("ul", { className: `${i}${s ? " show" : ""}`, style: l, ...n, children: e });
2010
+ }, Bo = ({
2011
+ children: e,
2012
+ className: t = "",
2013
+ color: o = Ve.Secondary,
2014
+ size: n,
2015
+ disabled: s = !1,
2016
+ active: r = !1,
2017
+ split: l = !1,
2018
+ onMainClick: i,
2019
+ ...c
2020
+ }) => {
2021
+ const { toggle: d, isOpen: f } = re(), m = `dropdown-toggle ${l ? "dropdown-toggle-split" : ""} ${t}`.trim();
2022
+ return /* @__PURE__ */ N(z, { children: [
2023
+ l && /* @__PURE__ */ a(
2024
+ Ee,
2025
+ {
2026
+ color: o,
2027
+ size: n,
2028
+ disabled: s,
2029
+ onClick: i,
2030
+ className: "main-btn",
2031
+ children: e
2032
+ }
2033
+ ),
2034
+ /* @__PURE__ */ a(
2035
+ Ee,
2036
+ {
2037
+ className: m,
2038
+ color: o,
2039
+ size: n,
2040
+ disabled: s,
2041
+ active: r,
2042
+ "aria-expanded": f,
2043
+ onClick: d,
2044
+ ...c,
2045
+ children: l ? /* @__PURE__ */ a("span", { className: "visually-hidden", children: "Toggle Dropdown" }) : e
2046
+ }
2047
+ )
2048
+ ] });
2049
+ }, Ro = ({ children: e, className: t, direction: o }) => {
2050
+ const { close: n, isOpen: s } = re(), r = Z(null);
2051
+ I(() => {
2052
+ const c = (d) => {
2053
+ r.current && !r.current.contains(d.target) && n();
2054
+ };
2055
+ return s && document.addEventListener("mousedown", c), () => {
2056
+ document.removeEventListener("mousedown", c);
2057
+ };
2058
+ }, [s, n]);
2059
+ const l = [
2060
+ "btn-group",
2061
+ ...new Set(
2062
+ (t ?? "").split(/\s+/).filter(Boolean).filter((c) => c !== "btn-group")
2063
+ )
2064
+ ];
2065
+ o != null && o.startsWith("dropdown") && l.push("dropdown"), o != null && o.startsWith("dropup") && l.push("dropup"), o != null && o.startsWith("dropstart") && l.push("dropstart"), o != null && o.startsWith("dropend") && l.push("dropend");
2066
+ const i = l.join(" ");
2067
+ return /* @__PURE__ */ a("div", { className: i, ref: r, children: e });
2068
+ }, Ce = ({
2069
+ children: e,
2070
+ className: t,
2071
+ direction: o
2072
+ }) => /* @__PURE__ */ a(Mo, { defaultDirection: o, children: /* @__PURE__ */ a(Ro, { className: t, direction: o, children: e }) });
2073
+ Ce.Toggle = Bo;
2074
+ Ce.Menu = Ao;
2075
+ Ce.Item = Xo;
2076
+ const jo = Object.fromEntries(
2077
+ Object.entries(G).map(([e, t]) => [e, `list-group-item-${t}`])
2078
+ ), ot = ee(null), ko = () => {
2079
+ const e = te(ot);
2080
+ if (!e) throw new Error("ListGroup.Item must be used inside a <ListGroup>");
2081
+ return e;
2082
+ }, Po = ot.Provider, Do = (e) => e ? Array.isArray(e) ? e : [e] : [], Go = ({
2083
+ el: e,
2084
+ children: t,
2085
+ color: o,
2086
+ className: n,
2087
+ disabled: s = !1,
2088
+ active: r = !1,
2089
+ ...l
2090
+ }) => {
2091
+ const { parentTag: i } = ko(), d = e || (i === "ul" || i === "ol" ? "li" : "button"), f = [
2092
+ ...Do(o)
2093
+ ], m = [
2094
+ { prop: o, set: new Set(Object.values(jo)) }
2095
+ ], x = ((n == null ? void 0 : n.split(" ").filter(Boolean)) ?? []).filter(
2096
+ (S) => !m.some(({ prop: p, set: w }) => p && w.has(S))
2097
+ ), C = /* @__PURE__ */ new Set([...f, ...x]), h = [
2098
+ "list-group-item",
2099
+ ...new Set(
2100
+ [...C].filter((S) => S !== "list-group-item")
2101
+ )
2102
+ ];
2103
+ (d === "a" || d === "button") && h.push("list-group-item-action"), r && h.push("active"), s && h.push("disabled");
2104
+ const b = h.join(" ");
2105
+ return D(d, { ...l, className: b }, t);
2106
+ }, To = ({
2107
+ el: e,
2108
+ children: t,
2109
+ className: o,
2110
+ ...n
2111
+ }) => {
2112
+ const s = e || "ul", r = [
2113
+ "list-group",
2114
+ ...new Set(
2115
+ (o ?? "").split(/\s+/).filter(Boolean).filter((l) => l !== "list-group")
2116
+ )
2117
+ ].join(" ");
2118
+ return /* @__PURE__ */ a(Po, { value: { parentTag: s }, children: D(s, { ...n, className: r }, t) });
2119
+ };
2120
+ To.Item = Go;
2121
+ const Vo = {
2122
+ Sm: "modal-sm",
2123
+ Lg: "modal-lg",
2124
+ Xl: "modal-xl"
2125
+ }, In = {
2126
+ Always: "modal-fullscreen",
2127
+ SmDown: "modal-fullscreen-sm-down",
2128
+ MdDown: "modal-fullscreen-md-down",
2129
+ LgDown: "modal-fullscreen-lg-down",
2130
+ XlDown: "modal-fullscreen-xl-down",
2131
+ XxlDown: "modal-fullscreen-xxl-down"
2132
+ }, Pe = (e) => e ? Array.isArray(e) ? e : [e] : [], Io = ({
2133
+ children: e,
2134
+ className: t,
2135
+ size: o,
2136
+ scrollable: n = !1,
2137
+ centered: s = !1,
2138
+ fullscreen: r = !1
2139
+ }) => {
2140
+ const l = [
2141
+ ...Pe(o),
2142
+ ...r === !0 ? ["modal-fullscreen"] : Pe(r)
2143
+ ].filter(Boolean), i = [
2144
+ { prop: o, set: new Set(Object.values(Vo)) },
2145
+ { prop: r, set: new Set(Object.values(r)) }
2146
+ ], d = ((t == null ? void 0 : t.split(/\s+/).filter(Boolean)) ?? []).filter(
2147
+ (u) => !i.some(({ prop: x, set: C }) => x && C.has(u)) && (!n || u !== "modal-dialog-scrollable") && (!s || u !== "modal-dialog-centered")
2148
+ ), f = [
2149
+ "modal-dialog",
2150
+ n ? "modal-dialog-scrollable" : "",
2151
+ s ? "modal-dialog-centered" : "",
2152
+ .../* @__PURE__ */ new Set([...l, ...d])
2153
+ ].filter(Boolean).join(" ");
2154
+ return /* @__PURE__ */ a("div", { className: f, onClick: (u) => {
2155
+ u.stopPropagation();
2156
+ }, children: /* @__PURE__ */ a("div", { className: "modal-content", children: e }) });
2157
+ }, Ho = ({
2158
+ children: e,
2159
+ className: t
2160
+ }) => {
2161
+ const o = [
2162
+ "modal-body",
2163
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((n) => n !== "modal-body"))
2164
+ ].join(" ");
2165
+ return /* @__PURE__ */ a("div", { className: o, children: e });
2166
+ }, Zo = ({
2167
+ children: e,
2168
+ className: t
2169
+ }) => {
2170
+ const o = [
2171
+ "modal-header",
2172
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((n) => n !== "modal-header"))
2173
+ ].join(" ");
2174
+ return /* @__PURE__ */ a("div", { className: o, children: e });
2175
+ }, $o = ({
2176
+ children: e,
2177
+ className: t
2178
+ }) => {
2179
+ const o = [
2180
+ "modal-footer",
2181
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((n) => n !== "modal-footer"))
2182
+ ].join(" ");
2183
+ return /* @__PURE__ */ a("div", { className: o, children: e });
2184
+ }, ae = ({
2185
+ children: e,
2186
+ className: t,
2187
+ show: o = !1,
2188
+ onClose: n,
2189
+ backdropClose: s = !0,
2190
+ ...r
2191
+ }) => {
2192
+ const c = "opacity 0.15s linear", d = "opacity 0.15s linear", [f, m] = M.useState(!1), [u, x] = M.useState(!1), C = M.useMemo(() => [
2193
+ "modal fade",
2194
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((p) => p !== "modal fade"))
2195
+ ].join(" "), [t]);
2196
+ M.useEffect(() => {
2197
+ if (o) {
2198
+ m(!0);
2199
+ const p = setTimeout(() => x(!0), 10);
2200
+ return () => clearTimeout(p);
2201
+ } else {
2202
+ x(!1);
2203
+ const p = setTimeout(() => m(!1), 150);
2204
+ return () => clearTimeout(p);
2205
+ }
2206
+ }, [o]), M.useEffect(() => {
2207
+ if (o) {
2208
+ const p = window.innerWidth - document.documentElement.clientWidth;
2209
+ document.body.style.overflow = "hidden", document.body.style.paddingRight = `${p}px`;
2210
+ } else
2211
+ document.body.style.overflow = "", document.body.style.paddingRight = "";
2212
+ return () => {
2213
+ document.body.style.overflow = "", document.body.style.paddingRight = "";
2214
+ };
2215
+ }, [o]), M.useEffect(() => {
2216
+ const p = (w) => {
2217
+ w.key === "Escape" && o && n && n();
2218
+ };
2219
+ if (o)
2220
+ return document.addEventListener("keydown", p), () => document.removeEventListener("keydown", p);
2221
+ }, [o, n]);
2222
+ const h = M.useCallback((p) => {
2223
+ s && n && p.target === p.currentTarget && n();
2224
+ }, [s, n]), b = M.useMemo(() => ({
2225
+ display: f ? "block" : "none",
2226
+ transition: c,
2227
+ opacity: u ? 1 : 0
2228
+ }), [f, u]), S = M.useMemo(() => ({
2229
+ transition: d,
2230
+ opacity: u ? 0.5 : 0
2231
+ }), [u]);
2232
+ return /* @__PURE__ */ N(z, { children: [
2233
+ f && /* @__PURE__ */ a(
2234
+ "div",
2235
+ {
2236
+ className: `${C}${u ? " show" : ""}`,
2237
+ style: b,
2238
+ onClick: h,
2239
+ "aria-modal": "true",
2240
+ role: "dialog",
2241
+ tabIndex: -1,
2242
+ ...r,
2243
+ children: e
2244
+ }
2245
+ ),
2246
+ f && /* @__PURE__ */ a(
2247
+ "div",
2248
+ {
2249
+ className: `modal-backdrop fade${u ? " show" : ""}`,
2250
+ style: S
2251
+ }
2252
+ )
2253
+ ] });
2254
+ };
2255
+ ae.Dialog = Io;
2256
+ ae.Header = Zo;
2257
+ ae.Body = Ho;
2258
+ ae.Footer = $o;
2259
+ const Fo = ({
2260
+ children: e,
2261
+ className: t,
2262
+ ...o
2263
+ }) => {
2264
+ const n = [
2265
+ "nav-item",
2266
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((s) => s !== "nav-item"))
2267
+ ].join(" ");
2268
+ return /* @__PURE__ */ a("li", { className: n, ...o, children: e });
2269
+ }, Wo = ({
2270
+ children: e,
2271
+ className: t,
2272
+ to: o,
2273
+ active: n,
2274
+ disabled: s,
2275
+ ...r
2276
+ }) => {
2277
+ const l = [
2278
+ "nav-link",
2279
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((d) => d !== "nav-link"))
2280
+ ];
2281
+ n && l.push("active"), s && l.push("disabled");
2282
+ const i = l.join(" ");
2283
+ return /* @__PURE__ */ a(
2284
+ Je,
2285
+ {
2286
+ to: o,
2287
+ className: i,
2288
+ "aria-current": n ? "page" : void 0,
2289
+ ...s ? { tabIndex: -1 } : {},
2290
+ ...r,
2291
+ children: e
2292
+ }
2293
+ );
2294
+ }, nt = ee(void 0), Q = () => {
2295
+ const e = te(nt);
2296
+ if (!e)
2297
+ throw new Error("useNavbar must be used within a <Navbar> component");
2298
+ return e;
2299
+ }, _o = ({ children: e, defaultExpanded: t = !1 }) => {
2300
+ const [o, n] = V(t), s = () => n((r) => !r);
2301
+ return /* @__PURE__ */ a(nt.Provider, { value: { expanded: o, toggle: s }, children: e });
2302
+ }, zo = ({
2303
+ children: e,
2304
+ className: t,
2305
+ ...o
2306
+ }) => {
2307
+ let n = !1;
2308
+ try {
2309
+ Q(), n = !0;
2310
+ } catch {
2311
+ }
2312
+ const s = [
2313
+ ...n ? ["navbar-nav"] : [],
2314
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((r) => !["nav", "navbar-nav"].includes(r)))
2315
+ ].join(" ");
2316
+ return /* @__PURE__ */ a("ul", { className: s, ...o, children: e });
2317
+ }, st = zo;
2318
+ st.Item = Fo;
2319
+ st.Link = Wo;
2320
+ const Uo = ({
2321
+ el: e,
2322
+ children: t,
2323
+ className: o,
2324
+ ...n
2325
+ }) => {
2326
+ const s = e || "span", r = [
2327
+ "navbar-brand",
2328
+ ...new Set((o ?? "").split(/\s+/).filter(Boolean).filter((l) => l !== "navbar-brand"))
2329
+ ].join(" ");
2330
+ return D(s, { ...n, className: r }, t);
2331
+ }, Yo = ({
2332
+ children: e,
2333
+ className: t,
2334
+ ...o
2335
+ }) => {
2336
+ const { toggle: n } = Q(), { expanded: s } = Q(), r = [
2337
+ "navbar-toggler",
2338
+ s ? "collapsed" : "",
2339
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((l) => l !== "navbar-toggler"))
2340
+ ].join(" ").trim();
2341
+ return /* @__PURE__ */ a(
2342
+ "button",
2343
+ {
2344
+ className: r,
2345
+ onClick: (l) => {
2346
+ var i;
2347
+ (i = o.onClick) == null || i.call(o, l), n();
2348
+ },
2349
+ ...o,
2350
+ children: e ?? /* @__PURE__ */ a("span", { className: "navbar-toggler-icon" })
2351
+ }
2352
+ );
2353
+ }, qo = ({
2354
+ children: e,
2355
+ className: t,
2356
+ ...o
2357
+ }) => {
2358
+ const { expanded: n } = Q(), s = [
2359
+ "navbar-collapse",
2360
+ n ? "collapse show" : "collapse",
2361
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((r) => !["navbar-collapse", "collapse", "show"].includes(r)))
2362
+ ].join(" ");
2363
+ return /* @__PURE__ */ a("div", { className: s, ...o, children: e });
2364
+ }, Ko = ({ children: e, className: t, ...o }) => {
2365
+ const n = [
2366
+ "navbar",
2367
+ ...new Set(
2368
+ (t ?? "").split(/\s+/).filter(Boolean).filter((s) => s !== "navbar")
2369
+ )
2370
+ ].join(" ");
2371
+ return /* @__PURE__ */ a(_o, { children: /* @__PURE__ */ a("nav", { className: n, ...o, children: e }) });
2372
+ }, Jo = (e) => /* @__PURE__ */ a(Uo, { ...e }), be = Ko;
2373
+ be.Brand = Jo;
2374
+ be.Toggle = Yo;
2375
+ be.Collapse = qo;
2376
+ const Qo = ({ children: e, className: t }) => {
2377
+ const o = [
2378
+ "offcanvas-header",
2379
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((n) => n !== "offcanvas-header"))
2380
+ ].join(" ");
2381
+ return /* @__PURE__ */ a("div", { className: o, children: e });
2382
+ }, en = ({ children: e, className: t }) => {
2383
+ const o = [
2384
+ "offcanvas-body",
2385
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((n) => n !== "offcanvas-body"))
2386
+ ].join(" ");
2387
+ return /* @__PURE__ */ a("div", { className: o, children: e });
2388
+ }, W = Object.fromEntries(
2389
+ Object.entries(Te).map(([e, t]) => [e, `offcanvas-${t}`])
2390
+ ), Hn = Object.fromEntries(
2391
+ Object.entries(oe).map(([e, t]) => [e, `offcanvas-${t}`])
2392
+ ), lt = ({
2393
+ children: e,
2394
+ className: t,
2395
+ placement: o = W.Start,
2396
+ responsive: n,
2397
+ show: s = !1,
2398
+ bodyScroll: r = !1,
2399
+ onClose: l,
2400
+ backdropClose: i = !0,
2401
+ ...c
2402
+ }) => {
2403
+ const m = "transform 0.3s ease-in-out", u = "opacity 0.15s linear", [x, C] = M.useState(!1), [h, b] = M.useState(!1), S = {
2404
+ [W.Start]: "translateX(-100%)",
2405
+ [W.End]: "translateX(100%)",
2406
+ [W.Top]: "translateY(-100%)",
2407
+ [W.Bottom]: "translateY(100%)"
2408
+ }, p = M.useMemo(() => [
2409
+ n || "offcanvas",
2410
+ o,
2411
+ ...new Set(
2412
+ (t ?? "").split(/\s+/).filter(Boolean).filter((v) => !v.startsWith("offcanvas"))
2413
+ )
2414
+ ].filter(Boolean).join(" "), [n, o, t]);
2415
+ M.useEffect(() => {
2416
+ if (s) {
2417
+ C(!0);
2418
+ const v = setTimeout(() => b(!0), 10);
2419
+ return () => clearTimeout(v);
2420
+ } else {
2421
+ b(!1);
2422
+ const v = setTimeout(() => C(!1), 300);
2423
+ return () => clearTimeout(v);
2424
+ }
2425
+ }, [s]), M.useEffect(() => {
2426
+ if (s && !r) {
2427
+ const v = window.innerWidth - document.documentElement.clientWidth;
2428
+ document.body.style.overflow = "hidden", document.body.style.paddingRight = `${v}px`;
2429
+ } else
2430
+ document.body.style.overflow = "", document.body.style.paddingRight = "";
2431
+ return () => {
2432
+ document.body.style.overflow = "", document.body.style.paddingRight = "";
2433
+ };
2434
+ }, [s, r]), M.useEffect(() => {
2435
+ const v = (L) => {
2436
+ L.key === "Escape" && s && l && l();
2437
+ };
2438
+ if (s)
2439
+ return document.addEventListener("keydown", v), () => document.removeEventListener("keydown", v);
2440
+ }, [s, l]);
2441
+ const w = M.useCallback(() => {
2442
+ i && l && l();
2443
+ }, [i, l]), g = M.useMemo(() => {
2444
+ const v = {
2445
+ visibility: x ? "visible" : "hidden",
2446
+ transition: m
2447
+ };
2448
+ return !h && x ? {
2449
+ ...v,
2450
+ transform: S[o] || "translateX(-100%)"
2451
+ } : { ...v, transform: "translate(0, 0)" };
2452
+ }, [x, h, o]), y = M.useMemo(() => ({
2453
+ transition: u,
2454
+ opacity: h ? 0.5 : 0
2455
+ }), [h]);
2456
+ return /* @__PURE__ */ N(z, { children: [
2457
+ x && /* @__PURE__ */ a(
2458
+ "div",
2459
+ {
2460
+ className: `${p}${h ? " show" : ""}`,
2461
+ style: g,
2462
+ "data-bs-scroll": r ? "true" : "false",
2463
+ "aria-modal": "true",
2464
+ role: "dialog",
2465
+ tabIndex: -1,
2466
+ ...c,
2467
+ children: e
2468
+ }
2469
+ ),
2470
+ x && !r && /* @__PURE__ */ a(
2471
+ "div",
2472
+ {
2473
+ className: `offcanvas-backdrop fade${h ? " show" : ""}`,
2474
+ onClick: w,
2475
+ style: y
2476
+ }
2477
+ )
2478
+ ] });
2479
+ };
2480
+ lt.Header = Qo;
2481
+ lt.Body = en;
2482
+ const tn = ({ children: e, isActive: t, isDisabled: o, to: n, className: s }) => {
2483
+ const r = [
2484
+ "page-item",
2485
+ o && "disabled",
2486
+ t && "active",
2487
+ ...new Set(
2488
+ (s ?? "").split(/\s+/).filter(Boolean).filter((l) => l !== "page-item")
2489
+ )
2490
+ ].filter(Boolean).join(" ");
2491
+ return /* @__PURE__ */ a("li", { className: r, children: /* @__PURE__ */ a("a", { className: "page-link", href: n, children: e }) });
2492
+ }, on = ({ className: e, children: t, size: o, alignment: n, ...s }) => {
2493
+ const r = [
2494
+ "pagination",
2495
+ o,
2496
+ // will only be added if truthy
2497
+ n,
2498
+ ...new Set(
2499
+ (e ?? "").split(/\s+/).filter(Boolean).filter((l) => l !== "pagination")
2500
+ )
2501
+ ].filter(Boolean).join(" ");
2502
+ return /* @__PURE__ */ a("nav", { "aria-label": "Page navigation", children: /* @__PURE__ */ a("ul", { className: r, ...s, children: t }) });
2503
+ };
2504
+ on.Item = tn;
2505
+ const nn = ({ label: e, children: t }) => /* @__PURE__ */ N("li", { className: "nav-item dropdown", children: [
2506
+ /* @__PURE__ */ a(
2507
+ "a",
2508
+ {
2509
+ className: "nav-link dropdown-toggle",
2510
+ href: "#",
2511
+ "data-bs-toggle": "dropdown",
2512
+ "aria-expanded": "false",
2513
+ children: e
2514
+ }
2515
+ ),
2516
+ /* @__PURE__ */ a("ul", { className: "dropdown-menu", children: t })
2517
+ ] }), sn = ({ href: e, label: t }) => /* @__PURE__ */ a("li", { className: "nav-item", children: /* @__PURE__ */ a("a", { className: "nav-link", href: e, children: t }) }), ln = ({ children: e, className: t }) => /* @__PURE__ */ N("nav", { id: "navbar-example2", className: `navbar bg-light px-3 mb-3 ${t ?? ""}`, children: [
2518
+ /* @__PURE__ */ a("a", { className: "navbar-brand", href: "#", children: "Navbar" }),
2519
+ /* @__PURE__ */ a("ul", { className: "nav nav-pills", children: e })
2520
+ ] }), Se = ({ children: e, className: t, height: o, target: n, ...s }) => {
2521
+ const r = Z(null);
2522
+ return I(() => {
2523
+ r.current && console.warn("Scrollspy: Native implementation pending. Bootstrap JS dependency removed.");
2524
+ }, [n]), /* @__PURE__ */ a(
2525
+ "div",
2526
+ {
2527
+ ref: r,
2528
+ className: `scrollspy-example bg-light p-3 rounded-2 overflow-auto ${t ?? ""}`,
2529
+ tabIndex: 0,
2530
+ ...s,
2531
+ style: { height: o },
2532
+ children: e
2533
+ }
2534
+ );
2535
+ };
2536
+ Se.Nav = ln;
2537
+ Se.Dropdown = nn;
2538
+ Se.NavItem = sn;
2539
+ const _ = (e) => e ? Array.isArray(e) ? e : [e] : [], rn = ({
2540
+ children: e,
2541
+ alignSelf: t,
2542
+ order: o,
2543
+ grow: n,
2544
+ shrink: s,
2545
+ fill: r,
2546
+ className: l,
2547
+ ...i
2548
+ }) => {
2549
+ const c = [
2550
+ ..._(t),
2551
+ ..._(o),
2552
+ ..._(n),
2553
+ ..._(s),
2554
+ ..._(r)
2555
+ ], d = [
2556
+ { prop: t, set: new Set(Object.values(Ze)) },
2557
+ { prop: o, set: new Set(Object.values(Fe)) },
2558
+ { prop: n, set: new Set(Object.values(Nt)) },
2559
+ { prop: s, set: new Set(Object.values(At)) },
2560
+ { prop: r, set: new Set(Object.values(Bt)) }
2561
+ ], m = ((l == null ? void 0 : l.split(" ").filter(Boolean)) ?? []).filter(
2562
+ (x) => !d.some(({ prop: C, set: h }) => C && h.has(x))
2563
+ ), u = [...c, ...m].join(" ");
2564
+ return /* @__PURE__ */ a("div", { className: u, ...i, children: e });
2565
+ }, T = (e) => e ? Array.isArray(e) ? e : [e] : [], ye = ({
2566
+ children: e,
2567
+ behavior: t = Me.Flex,
2568
+ direction: o,
2569
+ alignItems: n,
2570
+ justifyContent: s,
2571
+ alignContent: r,
2572
+ wrap: l,
2573
+ gap: i,
2574
+ className: c,
2575
+ ...d
2576
+ }) => {
2577
+ const f = [
2578
+ ...T(t),
2579
+ ...T(o),
2580
+ ...T(n),
2581
+ ...T(s),
2582
+ ...T(r),
2583
+ ...T(l),
2584
+ ...T(i)
2585
+ ], m = [
2586
+ { prop: t, set: new Set(Object.values(Me)) },
2587
+ { prop: o, set: new Set(Object.values(pe)) },
2588
+ { prop: n, set: new Set(Object.values(He)) },
2589
+ { prop: s, set: new Set(Object.values($e)) },
2590
+ { prop: r, set: new Set(Object.values(Mt)) },
2591
+ { prop: l, set: new Set(Object.values(Et)) },
2592
+ { prop: i, set: new Set(Object.values(Xt)) }
2593
+ ], x = ((c == null ? void 0 : c.split(" ").filter(Boolean)) ?? []).filter(
2594
+ (h) => !m.some(({ prop: b, set: S }) => b && S.has(h))
2595
+ ), C = [...f, ...x].join(" ");
2596
+ return /* @__PURE__ */ a("div", { className: C, ...d, children: e });
2597
+ };
2598
+ ye.Item = rn;
2599
+ const Zn = (e) => /* @__PURE__ */ a(ye, { direction: pe.Row, ...e }), $n = (e) => /* @__PURE__ */ a(ye, { direction: pe.Column, ...e }), an = Object.fromEntries(
2600
+ Object.entries(G).map(([e, t]) => [e, `bg-${t}`])
2601
+ ), cn = {
2602
+ TopStart: "top-0 start-0",
2603
+ TopCenter: "top-0 start-50 translate-middle-x",
2604
+ TopEnd: "top-0 end-0",
2605
+ MiddleStart: "top-50 start-0 translate-middle-y",
2606
+ MiddleCenter: "top-50 start-50 translate-middle",
2607
+ MiddleEnd: "top-50 end-0 translate-middle-y",
2608
+ BottomStart: "bottom-0 start-0",
2609
+ BottomCenter: "bottom-0 start-50 translate-middle-x",
2610
+ BottomEnd: "bottom-0 end-0"
2611
+ }, dn = (e) => e ? Array.isArray(e) ? e : [e] : [], Fn = ({
2612
+ children: e,
2613
+ className: t,
2614
+ show: o = !1,
2615
+ onClose: n,
2616
+ autohide: s = !1,
2617
+ delay: r = 5e3,
2618
+ bg: l,
2619
+ header: i,
2620
+ headerImage: c,
2621
+ headerImageAlt: d = "",
2622
+ headerText: f,
2623
+ headerSmall: m,
2624
+ body: u,
2625
+ animation: x = !0,
2626
+ ...C
2627
+ }) => {
2628
+ const [h, b] = V(o), [S, p] = V(!1);
2629
+ I(() => {
2630
+ if (o)
2631
+ b(!0), setTimeout(() => p(!0), 10);
2632
+ else {
2633
+ p(!1);
2634
+ const R = setTimeout(() => b(!1), 300);
2635
+ return () => clearTimeout(R);
2636
+ }
2637
+ }, [o]), I(() => {
2638
+ if (s && S) {
2639
+ const R = setTimeout(() => {
2640
+ w();
2641
+ }, r);
2642
+ return () => clearTimeout(R);
2643
+ }
2644
+ }, [s, r, S]);
2645
+ const w = () => {
2646
+ p(!1), setTimeout(() => {
2647
+ b(!1), n == null || n();
2648
+ }, 300);
2649
+ };
2650
+ if (!h) return null;
2651
+ const g = [
2652
+ ...dn(l)
2653
+ ], y = [
2654
+ { prop: l, set: new Set(Object.values(an)) }
2655
+ ], L = ((t == null ? void 0 : t.split(" ").filter(Boolean)) ?? []).filter(
2656
+ (R) => !y.some(({ prop: ie, set: Oe }) => ie && Oe.has(R))
2657
+ ), A = /* @__PURE__ */ new Set([...g, ...L]), E = [
2658
+ "toast",
2659
+ S ? "show" : "",
2660
+ x ? "fade" : "",
2661
+ ...new Set(
2662
+ [...A].filter((R) => R !== "toast")
2663
+ )
2664
+ ].filter(Boolean).join(" "), j = l != null && l.includes("dark") || l != null && l.includes("primary") || l != null && l.includes("secondary") || l != null && l.includes("success") || l != null && l.includes("danger") || l != null && l.includes("info") ? "text-white" : "", k = c || f || m;
2665
+ return /* @__PURE__ */ N(
2666
+ "div",
2667
+ {
2668
+ className: E,
2669
+ role: "alert",
2670
+ "aria-live": "assertive",
2671
+ "aria-atomic": "true",
2672
+ ...C,
2673
+ children: [
2674
+ (i || k) && /* @__PURE__ */ N("div", { className: `toast-header ${j}`, children: [
2675
+ c && /* @__PURE__ */ a(
2676
+ "img",
2677
+ {
2678
+ src: c,
2679
+ className: "rounded me-2",
2680
+ alt: d,
2681
+ style: { width: "20px", height: "20px" }
2682
+ }
2683
+ ),
2684
+ f && /* @__PURE__ */ a("strong", { className: "me-auto", children: f }),
2685
+ m && /* @__PURE__ */ a("small", { children: m }),
2686
+ i && !k && i,
2687
+ /* @__PURE__ */ a(
2688
+ "button",
2689
+ {
2690
+ type: "button",
2691
+ className: "btn-close",
2692
+ "aria-label": "Close",
2693
+ onClick: w
2694
+ }
2695
+ )
2696
+ ] }),
2697
+ (u || e) && /* @__PURE__ */ N("div", { className: `toast-body ${j}`, children: [
2698
+ u || e,
2699
+ !i && !k && /* @__PURE__ */ a("div", { className: "mt-2 pt-2 border-top d-flex gap-2", children: /* @__PURE__ */ a(
2700
+ "button",
2701
+ {
2702
+ type: "button",
2703
+ className: "btn btn-sm",
2704
+ onClick: w,
2705
+ children: "Close"
2706
+ }
2707
+ ) })
2708
+ ] })
2709
+ ]
2710
+ }
2711
+ );
2712
+ }, Wn = ({
2713
+ children: e,
2714
+ className: t = "",
2715
+ placement: o = cn.TopEnd,
2716
+ position: n = "fixed",
2717
+ ...s
2718
+ }) => {
2719
+ const r = [
2720
+ "toast-container",
2721
+ n === "fixed" ? "position-fixed" : "",
2722
+ o,
2723
+ "p-3",
2724
+ t
2725
+ ].filter(Boolean).join(" ");
2726
+ return /* @__PURE__ */ a("div", { className: r, ...s, children: e });
2727
+ }, _n = {
2728
+ Sidebar: "layout-sidebar",
2729
+ FullSidebar: "layout-full-sidebar",
2730
+ OverlaySidebar: "layout-overlay-sidebar"
2731
+ }, fn = ["Sm", "Lg"], zn = Object.fromEntries(
2732
+ fn.map((e) => [e, `pagination-${oe[e]}`])
2733
+ ), mn = ["Start", "End", "Center"], Un = Object.fromEntries(
2734
+ mn.map((e) => [e, `justify-content-${ct[e]}`])
2735
+ );
2736
+ export {
2737
+ It as Accordion,
2738
+ Vt as AccordionItem,
2739
+ gn as Alert,
2740
+ dt as AlertColor,
2741
+ Mt as AlignContent,
2742
+ He as AlignItems,
2743
+ Ze as AlignSelf,
2744
+ hn as Badge,
2745
+ mt as BadgeColor,
2746
+ xt as BadgePlacement,
2747
+ pt as BadgePosition,
2748
+ ut as BadgeRounded,
2749
+ ct as BaseAlignment,
2750
+ G as BaseColors,
2751
+ it as BaseOverflow,
2752
+ Te as BasePosition,
2753
+ oe as BaseSize,
2754
+ at as BaseWidth,
2755
+ go as Breadcrumb,
2756
+ xo as BreadcrumbItem,
2757
+ Ee as Button,
2758
+ Ve as ButtonColor,
2759
+ wn as ButtonGroup,
2760
+ wt as ButtonGroupSize,
2761
+ ht as ButtonSize,
2762
+ F as Card,
2763
+ wo as CardBody,
2764
+ ho as CardColor,
2765
+ So as CardFooter,
2766
+ bo as CardHeader,
2767
+ Co as CardImage,
2768
+ ke as CardImagePlacement,
2769
+ Oo as CardText,
2770
+ yo as CardTitle,
2771
+ kt as Col,
2772
+ kn as Column,
2773
+ Rn as Container,
2774
+ Lt as ContainerSize,
2775
+ Ce as Dropdown,
2776
+ P as DropdownDirection,
2777
+ Xo as DropdownItem,
2778
+ Ao as DropdownMenu,
2779
+ Bo as DropdownToggle,
2780
+ Bt as Fill,
2781
+ Xt as Gap,
2782
+ Nt as Grow,
2783
+ jt as Gutter,
2784
+ Zn as HStack,
2785
+ Xn as Heading,
2786
+ Mn as Icon,
2787
+ $e as JustifyContent,
2788
+ yt as LabelOverflow,
2789
+ Pn as Layout,
2790
+ Tn as LayoutContent,
2791
+ Vn as LayoutFooter,
2792
+ Dn as LayoutHeader,
2793
+ Gn as LayoutSidebar,
2794
+ _n as LayoutType,
2795
+ To as ListGroup,
2796
+ Go as ListGroupItem,
2797
+ jo as ListGroupItemColor,
2798
+ ae as Modal,
2799
+ Ho as ModalBody,
2800
+ Io as ModalDialog,
2801
+ $o as ModalFooter,
2802
+ In as ModalFullscreen,
2803
+ Zo as ModalHeader,
2804
+ Vo as ModalSize,
2805
+ st as Nav,
2806
+ Fo as NavItem,
2807
+ Wo as NavLink,
2808
+ be as Navbar,
2809
+ Uo as NavbarBrand,
2810
+ qo as NavbarCollapse,
2811
+ Yo as NavbarToggler,
2812
+ lt as Offcanvas,
2813
+ en as OffcanvasBody,
2814
+ Qo as OffcanvasHeader,
2815
+ W as OffcanvasPlacement,
2816
+ Hn as OffcanvasResponsive,
2817
+ Pt as Offset,
2818
+ Fe as Order,
2819
+ on as Pagination,
2820
+ Un as PaginationAlignment,
2821
+ tn as PaginationItem,
2822
+ zn as PaginationSize,
2823
+ En as Popover,
2824
+ On as Progress,
2825
+ Sn as ProgressColor,
2826
+ yn as ProgressWidth,
2827
+ jn as Row,
2828
+ Rt as RowCols,
2829
+ Se as Scrollspy,
2830
+ nn as ScrollspyDropdown,
2831
+ ln as ScrollspyNav,
2832
+ sn as ScrollspyNavItem,
2833
+ At as Shrink,
2834
+ bn as Spinner,
2835
+ Cn as SpinnerColor,
2836
+ vn as SpinnerSize,
2837
+ Ct as SpinnerType,
2838
+ ye as Stack,
2839
+ Me as StackBehavior,
2840
+ pe as StackDirection,
2841
+ rn as StackItem,
2842
+ Et as StackWrap,
2843
+ Bn as Table,
2844
+ Nn as Text,
2845
+ Fn as Toast,
2846
+ an as ToastBg,
2847
+ Wn as ToastContainer,
2848
+ cn as ToastPlacement,
2849
+ Ln as Tooltip,
2850
+ X as TooltipPlacement,
2851
+ $n as VStack,
2852
+ An as Wrapper
2853
+ };
2854
+ //# sourceMappingURL=index.mjs.map