@reactufy/reactufy 1.0.0

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 +83 -0
  137. package/dist/index.js.map +1 -0
  138. package/dist/index.mjs +4083 -0
  139. package/dist/index.mjs.map +1 -0
  140. package/dist/reactufy-complete.css +11922 -0
  141. package/dist/reactufy-complete.css.map +1 -0
  142. package/dist/reactufy-overrides.css +61 -0
  143. package/dist/reactufy-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,4083 @@
1
+ import { jsx as u, jsxs as j, Fragment as ne } from "react/jsx-runtime";
2
+ import * as m from "react";
3
+ import L, { createElement as $, useState as _, useRef as K, useEffect as F, createContext as k, useReducer as Bt, useContext as me, useId as En } from "react";
4
+ import { createPortal as Xt } from "react-dom";
5
+ const I = {
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
+ }, pe = {
15
+ Sm: "sm",
16
+ Md: "md",
17
+ Lg: "lg",
18
+ Xl: "xl",
19
+ Xxl: "xxl"
20
+ }, Nn = {
21
+ W0: "0",
22
+ W25: "25",
23
+ W50: "50",
24
+ W75: "75",
25
+ W100: "100",
26
+ WAuto: "auto"
27
+ }, Ln = {
28
+ OverflowAuto: "auto",
29
+ OverflowHidden: "hidden",
30
+ OverflowVisible: "visible",
31
+ OverflowScroll: "scroll"
32
+ }, Dt = {
33
+ Top: "top",
34
+ Bottom: "bottom",
35
+ Start: "start",
36
+ End: "end"
37
+ }, Rn = {
38
+ Start: "start",
39
+ End: "end",
40
+ Center: "center",
41
+ Between: "between",
42
+ Around: "around",
43
+ Evenly: "evenly"
44
+ }, jn = Object.fromEntries(
45
+ Object.entries(I).map(([e, t]) => [e, `alert-${t}`])
46
+ ), An = (e) => e ? Array.isArray(e) ? e : [e] : [], ta = ({
47
+ children: e,
48
+ className: t,
49
+ color: n,
50
+ ...o
51
+ }) => {
52
+ const r = [
53
+ ...An(n)
54
+ ], a = [
55
+ { prop: n, set: new Set(Object.values(jn)) }
56
+ ], i = ((t == null ? void 0 : t.split(" ").filter(Boolean)) ?? []).filter(
57
+ (d) => !a.some(({ prop: f, set: p }) => f && p.has(d))
58
+ ), l = /* @__PURE__ */ new Set([...r, ...i]), c = [
59
+ "alert",
60
+ ...new Set(
61
+ [...l].filter((d) => d !== "alert")
62
+ )
63
+ ].join(" ");
64
+ return /* @__PURE__ */ u("div", { className: c, ...o, children: e });
65
+ }, Mn = Object.fromEntries(
66
+ Object.entries(I).map(([e, t]) => [e, `text-bg-${t}`])
67
+ ), Bn = {
68
+ None: "rounded-0",
69
+ Pill: "rounded-pill",
70
+ Circle: "rounded-circle"
71
+ }, Xn = {
72
+ Absolute: "position-absolute",
73
+ Relative: "position-relative",
74
+ Static: "position-static"
75
+ }, Dn = {
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
+ }, ae = (e) => e ? Array.isArray(e) ? e : [e] : [], na = ({
86
+ children: e,
87
+ className: t,
88
+ color: n,
89
+ position: o,
90
+ rounded: r,
91
+ placement: a
92
+ }) => {
93
+ const s = [
94
+ ...ae(n),
95
+ ...ae(o),
96
+ ...ae(r),
97
+ ...ae(a)
98
+ ], i = [
99
+ { prop: n, set: new Set(Object.values(Mn)) },
100
+ { prop: o, set: new Set(Object.values(Xn)) },
101
+ { prop: r, set: new Set(Object.values(Bn)) },
102
+ { prop: a, set: new Set(Object.values(Dn)) }
103
+ ], c = ((t == null ? void 0 : t.split(" ").filter(Boolean)) ?? []).filter(
104
+ (p) => !i.some(({ prop: x, set: w }) => x && w.has(p))
105
+ ), d = /* @__PURE__ */ new Set([...s, ...c]), f = [
106
+ "badge",
107
+ ...new Set(
108
+ [...d].filter((p) => p !== "badge")
109
+ )
110
+ ].join(" ");
111
+ return /* @__PURE__ */ u("span", { className: f, children: e });
112
+ };
113
+ function kn(e) {
114
+ const t = Object.fromEntries(
115
+ Object.entries(e).map(([o, r]) => [o, `btn-${r}`])
116
+ ), n = Object.fromEntries(
117
+ Object.entries(e).map(([o, r]) => [`${o}Outline`, `btn-outline-${r}`])
118
+ );
119
+ return {
120
+ ...t,
121
+ ...n,
122
+ Link: "btn-link"
123
+ };
124
+ }
125
+ const kt = kn(I), Pt = ["Sm", "Lg"], Pn = Object.fromEntries(
126
+ Pt.map((e) => [e, `btn-${pe[e]}`])
127
+ ), Vn = Object.fromEntries(
128
+ Pt.map((e) => [e, `btn-group-${pe[e]}`])
129
+ ), ct = (e) => e ? Array.isArray(e) ? e : [e] : [], dt = ({
130
+ el: e,
131
+ children: t,
132
+ className: n,
133
+ color: o,
134
+ size: r,
135
+ type: a = "button",
136
+ disabled: s = !1,
137
+ active: i = !1,
138
+ ...l
139
+ }) => {
140
+ const c = e || "button", d = [
141
+ ...ct(o),
142
+ ...ct(r)
143
+ ];
144
+ i && d.push("active");
145
+ const f = [
146
+ { prop: o, set: new Set(Object.values(kt)) },
147
+ { prop: r, set: new Set(Object.values(Pn)) }
148
+ ], x = ((n == null ? void 0 : n.split(" ").filter(Boolean)) ?? []).filter(
149
+ (v) => !f.some(({ prop: g, set: h }) => g && h.has(v))
150
+ ), w = /* @__PURE__ */ new Set([...d, ...x]), b = [
151
+ "btn",
152
+ ...new Set(
153
+ [...w].filter((v) => v !== "btn")
154
+ )
155
+ ].join(" ");
156
+ return $(c, { ...l, className: b, type: a, disabled: s }, t);
157
+ }, Tn = (e) => e ? Array.isArray(e) ? e : [e] : [], oa = ({
158
+ children: e,
159
+ className: t,
160
+ size: n,
161
+ vertical: o = !1,
162
+ ...r
163
+ }) => {
164
+ const a = [
165
+ ...Tn(n)
166
+ ], s = [
167
+ { prop: n, set: new Set(Object.values(Vn)) }
168
+ ], l = ((t == null ? void 0 : t.split(" ").filter(Boolean)) ?? []).filter(
169
+ (f) => !s.some(({ prop: p, set: x }) => p && x.has(f))
170
+ ), c = /* @__PURE__ */ new Set([...a, ...l]), d = [
171
+ o ? "btn-group-vertical" : "btn-group",
172
+ ...new Set(
173
+ [...c].filter(
174
+ (f) => f !== "btn-group" && f !== "btn-group-vertical"
175
+ )
176
+ )
177
+ ].join(" ");
178
+ return /* @__PURE__ */ u(
179
+ "div",
180
+ {
181
+ className: d,
182
+ role: "group",
183
+ ...r,
184
+ children: e
185
+ }
186
+ );
187
+ }, $n = {
188
+ Border: "spinner-border",
189
+ Grow: "spinner-grow"
190
+ }, ra = {
191
+ BorderSm: "spinner-border-sm",
192
+ GrowSm: "spinner-grow-sm"
193
+ }, sa = Object.fromEntries(
194
+ Object.entries(I).map(([e, t]) => [e, `text-${t}`])
195
+ ), aa = ({
196
+ spinnerType: e = $n.Border,
197
+ color: t,
198
+ size: n,
199
+ style: o,
200
+ className: r
201
+ }) => {
202
+ const a = [
203
+ e,
204
+ t,
205
+ n,
206
+ ...(r == null ? void 0 : r.split(/\s+/).filter(Boolean)) ?? []
207
+ ].filter(Boolean).join(" ");
208
+ return /* @__PURE__ */ u("div", { className: a, style: o, role: "status", children: /* @__PURE__ */ u("span", { className: "visually-hidden", children: "Loading..." }) });
209
+ }, la = Object.fromEntries(
210
+ Object.entries(I).map(([e, t]) => [e, `bg-${t}`])
211
+ ), In = ["W0", "W25", "W50", "W75", "W100"], ia = Object.fromEntries(
212
+ In.map((e) => [e, `w-${Nn[e]}`])
213
+ ), Gn = ["OverflowVisible", "OverflowHidden"], Wn = Object.fromEntries(
214
+ Gn.map((e) => [e, `overflow-${Ln[e]}`])
215
+ ), ca = ({
216
+ id: e,
217
+ className: t,
218
+ isStriped: n = !1,
219
+ isAnimating: o = !1,
220
+ progressValue: r,
221
+ labelOverflow: a = Wn.OverflowHidden,
222
+ progressValueClass: s,
223
+ color: i,
224
+ height: l,
225
+ label: c
226
+ }) => {
227
+ const d = {}, f = [
228
+ "progress-bar",
229
+ ...new Set(
230
+ (t ?? "").split(/\s+/).filter(Boolean).filter((x) => !x.startsWith("progress-bar"))
231
+ ),
232
+ s,
233
+ i,
234
+ a,
235
+ n ? "progress-bar-striped" : "",
236
+ o ? "progress-bar-animated" : ""
237
+ ].filter(Boolean).join(" ");
238
+ l && (d.height = typeof l == "number" ? `${l}px` : l);
239
+ const p = r != null ? `${Math.min(Math.max(r, 0), 100)}%` : void 0;
240
+ return /* @__PURE__ */ u(
241
+ "div",
242
+ {
243
+ id: e,
244
+ style: d,
245
+ className: `progress ${t ?? ""}`,
246
+ role: "progressbar",
247
+ children: /* @__PURE__ */ u("div", { className: f, style: { width: p }, children: c })
248
+ }
249
+ );
250
+ }, R = Object.fromEntries(
251
+ Object.entries(Dt).map(([e, t]) => [e, `${t}`])
252
+ ), da = ({ children: e, text: t, className: n, placement: o = R.Top, isHtml: r = !1, container: a = "body" }) => {
253
+ const [s, i] = _(!1), [l, c] = _({ top: 0, left: 0 }), d = K(null), f = K(null), p = () => {
254
+ if (!d.current || !f.current) return;
255
+ const h = d.current.getBoundingClientRect(), y = f.current.getBoundingClientRect();
256
+ let C = 0, S = 0;
257
+ if (a === "body") {
258
+ const O = window.scrollX || window.pageXOffset, E = window.scrollY || window.pageYOffset;
259
+ switch (o) {
260
+ case R.Top:
261
+ C = h.top + E - y.height - 8, S = h.left + O + (h.width - y.width) / 2;
262
+ break;
263
+ case R.Bottom:
264
+ C = h.bottom + E + 8, S = h.left + O + (h.width - y.width) / 2;
265
+ break;
266
+ case R.Start:
267
+ C = h.top + E + (h.height - y.height) / 2, S = h.left + O - y.width - 8;
268
+ break;
269
+ case R.End:
270
+ C = h.top + E + (h.height - y.height) / 2, S = h.right + O + 8;
271
+ break;
272
+ }
273
+ } else {
274
+ const E = ((V) => V.offsetParent || document.documentElement)(d.current), A = E.getBoundingClientRect();
275
+ let N = h.top - A.top, P = h.left - A.left;
276
+ switch (E !== document.documentElement && E !== document.body && (N += E.scrollTop, P += E.scrollLeft), o) {
277
+ case R.Top:
278
+ C = N - y.height - 8, S = P + (h.width - y.width) / 2;
279
+ break;
280
+ case R.Bottom:
281
+ C = N + h.height + 8, S = P + (h.width - y.width) / 2;
282
+ break;
283
+ case R.Start:
284
+ C = N + (h.height - y.height) / 2, S = P - y.width - 8;
285
+ break;
286
+ case R.End:
287
+ C = N + (h.height - y.height) / 2, S = P + h.width + 8;
288
+ break;
289
+ }
290
+ }
291
+ c({ top: C, left: S });
292
+ };
293
+ F(() => {
294
+ if (s) {
295
+ p();
296
+ const h = () => {
297
+ i(!1);
298
+ }, y = () => {
299
+ p();
300
+ };
301
+ return window.addEventListener("scroll", h, !0), window.addEventListener("resize", y), () => {
302
+ window.removeEventListener("scroll", h, !0), window.removeEventListener("resize", y);
303
+ };
304
+ }
305
+ }, [s, o, a]);
306
+ const x = () => {
307
+ i(!0);
308
+ }, w = () => {
309
+ i(!1);
310
+ }, b = () => {
311
+ i(!0);
312
+ }, v = () => {
313
+ i(!1);
314
+ }, g = [
315
+ "tooltip",
316
+ `bs-tooltip-${o}`,
317
+ s ? "show" : "",
318
+ n
319
+ ].filter(Boolean).join(" ");
320
+ return /* @__PURE__ */ j(ne, { children: [
321
+ /* @__PURE__ */ u(
322
+ "span",
323
+ {
324
+ className: "d-inline-block",
325
+ ref: d,
326
+ onMouseEnter: x,
327
+ onMouseLeave: w,
328
+ onFocus: b,
329
+ onBlur: v,
330
+ children: e
331
+ }
332
+ ),
333
+ s && (a === "body" ? Xt(
334
+ /* @__PURE__ */ j(
335
+ "div",
336
+ {
337
+ ref: f,
338
+ className: g,
339
+ role: "tooltip",
340
+ style: {
341
+ position: "absolute",
342
+ top: `${l.top}px`,
343
+ left: `${l.left}px`,
344
+ zIndex: 1080,
345
+ opacity: 1
346
+ },
347
+ children: [
348
+ /* @__PURE__ */ u("div", { className: "tooltip-arrow" }),
349
+ /* @__PURE__ */ u("div", { className: "tooltip-inner", children: r ? /* @__PURE__ */ u("span", { dangerouslySetInnerHTML: { __html: t } }) : t })
350
+ ]
351
+ }
352
+ ),
353
+ document.body
354
+ ) : /* @__PURE__ */ j(
355
+ "div",
356
+ {
357
+ ref: f,
358
+ className: g,
359
+ role: "tooltip",
360
+ style: {
361
+ position: "absolute",
362
+ top: `${l.top}px`,
363
+ left: `${l.left}px`,
364
+ zIndex: 1080,
365
+ opacity: 1
366
+ },
367
+ children: [
368
+ /* @__PURE__ */ u("div", { className: "tooltip-arrow" }),
369
+ /* @__PURE__ */ u("div", { className: "tooltip-inner", children: r ? /* @__PURE__ */ u("span", { dangerouslySetInnerHTML: { __html: t } }) : t })
370
+ ]
371
+ }
372
+ ))
373
+ ] });
374
+ }, ua = ({
375
+ children: e,
376
+ title: t,
377
+ content: n,
378
+ className: o,
379
+ placement: r = R.Top,
380
+ trigger: a = "click",
381
+ container: s = "body"
382
+ // Default: portal to body
383
+ }) => {
384
+ const [i, l] = _(!1), [c, d] = _({ top: 0, left: 0 }), f = K(null), p = K(null), x = () => {
385
+ if (!f.current || !p.current) return;
386
+ const C = f.current.getBoundingClientRect(), S = p.current.getBoundingClientRect();
387
+ let O = 0, E = 0;
388
+ if (s === "body") {
389
+ const A = window.scrollX || window.pageXOffset, N = window.scrollY || window.pageYOffset;
390
+ switch (r) {
391
+ case R.Top:
392
+ O = C.top + N - S.height - 8, E = C.left + A + (C.width - S.width) / 2;
393
+ break;
394
+ case R.Bottom:
395
+ O = C.bottom + N + 8, E = C.left + A + (C.width - S.width) / 2;
396
+ break;
397
+ case R.Start:
398
+ O = C.top + N + (C.height - S.height) / 2, E = C.left + A - S.width - 8;
399
+ break;
400
+ case R.End:
401
+ O = C.top + N + (C.height - S.height) / 2, E = C.right + A + 8;
402
+ break;
403
+ }
404
+ } else {
405
+ const N = ((Re) => Re.offsetParent || document.documentElement)(f.current), P = N.getBoundingClientRect();
406
+ let V = C.top - P.top, D = C.left - P.left;
407
+ switch (N !== document.documentElement && N !== document.body && (V += N.scrollTop, D += N.scrollLeft), r) {
408
+ case R.Top:
409
+ O = V - S.height - 8, E = D + (C.width - S.width) / 2;
410
+ break;
411
+ case R.Bottom:
412
+ O = V + C.height + 8, E = D + (C.width - S.width) / 2;
413
+ break;
414
+ case R.Start:
415
+ O = V + (C.height - S.height) / 2, E = D - S.width - 8;
416
+ break;
417
+ case R.End:
418
+ O = V + (C.height - S.height) / 2, E = D + C.width + 8;
419
+ break;
420
+ }
421
+ }
422
+ d({ top: O, left: E });
423
+ };
424
+ F(() => {
425
+ if (i) {
426
+ x();
427
+ const C = () => {
428
+ a === "hover" && l(!1);
429
+ }, S = () => {
430
+ x();
431
+ }, O = (A) => {
432
+ a !== "hover" && p.current && f.current && !p.current.contains(A.target) && !f.current.contains(A.target) && l(!1);
433
+ }, E = (A) => {
434
+ A.key === "Escape" && l(!1);
435
+ };
436
+ return window.addEventListener("scroll", C, !0), window.addEventListener("resize", S), document.addEventListener("mousedown", O), document.addEventListener("keydown", E), () => {
437
+ window.removeEventListener("scroll", C, !0), window.removeEventListener("resize", S), document.removeEventListener("mousedown", O), document.removeEventListener("keydown", E);
438
+ };
439
+ }
440
+ }, [i, r, a, s]);
441
+ const w = () => {
442
+ a === "click" && l(!i);
443
+ }, b = () => {
444
+ a === "hover" && l(!0);
445
+ }, v = () => {
446
+ a === "hover" && l(!1);
447
+ }, g = () => {
448
+ a === "focus" && l(!0);
449
+ }, h = () => {
450
+ a === "focus" && l(!1);
451
+ }, y = [
452
+ "popover",
453
+ `bs-popover-${r}`,
454
+ i ? "show" : "",
455
+ o
456
+ ].filter(Boolean).join(" ");
457
+ return /* @__PURE__ */ j(ne, { children: [
458
+ /* @__PURE__ */ u(
459
+ "span",
460
+ {
461
+ className: "d-inline-block",
462
+ ref: f,
463
+ onClick: w,
464
+ onMouseEnter: b,
465
+ onMouseLeave: v,
466
+ onFocus: g,
467
+ onBlur: h,
468
+ tabIndex: a === "focus" ? 0 : void 0,
469
+ children: e
470
+ }
471
+ ),
472
+ i && (s === "body" ? Xt(
473
+ /* @__PURE__ */ j(
474
+ "div",
475
+ {
476
+ ref: p,
477
+ className: y,
478
+ role: "popover",
479
+ style: {
480
+ position: "absolute",
481
+ top: `${c.top}px`,
482
+ left: `${c.left}px`,
483
+ zIndex: 1080,
484
+ opacity: 1
485
+ },
486
+ children: [
487
+ /* @__PURE__ */ u("div", { className: "popover-arrow" }),
488
+ t && /* @__PURE__ */ u("div", { className: "popover-header", children: t }),
489
+ /* @__PURE__ */ u("div", { className: "popover-body", children: n })
490
+ ]
491
+ }
492
+ ),
493
+ document.body
494
+ ) : /* @__PURE__ */ j(
495
+ "div",
496
+ {
497
+ ref: p,
498
+ className: y,
499
+ role: "popover",
500
+ style: {
501
+ position: "absolute",
502
+ top: `${c.top}px`,
503
+ left: `${c.left}px`,
504
+ zIndex: 1080,
505
+ opacity: 1
506
+ },
507
+ children: [
508
+ /* @__PURE__ */ u("div", { className: "popover-arrow" }),
509
+ t && /* @__PURE__ */ u("div", { className: "popover-header", children: t }),
510
+ /* @__PURE__ */ u("div", { className: "popover-body", children: n })
511
+ ]
512
+ }
513
+ ))
514
+ ] });
515
+ }, Hn = "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", fa = ({ name: e, className: t, width: n, height: o, fill: r }) => {
516
+ const a = `${Hn}#${e}`;
517
+ return /* @__PURE__ */ u(
518
+ "svg",
519
+ {
520
+ className: t,
521
+ width: n,
522
+ height: o || n,
523
+ fill: r ?? "currentColor",
524
+ "aria-hidden": "true",
525
+ children: /* @__PURE__ */ u("use", { href: a })
526
+ }
527
+ );
528
+ }, ma = ({
529
+ el: e,
530
+ children: t,
531
+ ...n
532
+ }) => $(e || "h2", n, t), pa = ({
533
+ el: e,
534
+ children: t,
535
+ ...n
536
+ }) => $(e || "p", n, t), ha = ({
537
+ el: e,
538
+ children: t,
539
+ ...n
540
+ }) => /* @__PURE__ */ u(e || "div", { ...n, children: t });
541
+ function ga({
542
+ columns: e,
543
+ data: t,
544
+ striped: n = !1,
545
+ bordered: o = !1,
546
+ hover: r = !0,
547
+ darkHeader: a = !1
548
+ }) {
549
+ const s = [
550
+ "table",
551
+ n && "table-striped",
552
+ o && "table-bordered",
553
+ r && "table-hover"
554
+ ].filter(Boolean).join(" ");
555
+ return /* @__PURE__ */ u("div", { className: "table-responsive", children: /* @__PURE__ */ j("table", { className: s, children: [
556
+ /* @__PURE__ */ u("thead", { className: a ? "table-dark" : "", children: /* @__PURE__ */ u("tr", { children: e.map((i, l) => /* @__PURE__ */ u("th", { children: i.header }, l)) }) }),
557
+ /* @__PURE__ */ u("tbody", { children: t.map((i, l) => /* @__PURE__ */ u("tr", { children: e.map((c, d) => {
558
+ const f = typeof c.accessor == "function" ? c.accessor(i) : i[c.accessor];
559
+ return /* @__PURE__ */ u("td", { children: f }, d);
560
+ }) }, l)) })
561
+ ] }) });
562
+ }
563
+ const _n = {
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
+ }, va = ({
571
+ children: e,
572
+ size: t,
573
+ className: n,
574
+ ...o
575
+ }) => {
576
+ const r = Object.values(_n), a = [
577
+ { prop: t, set: new Set(r) }
578
+ ], i = ((n == null ? void 0 : n.split(" ").filter(Boolean)) ?? []).filter(
579
+ (d) => !a.some(({ prop: f, set: p }) => f && p.has(d))
580
+ ), l = r.some((d) => n == null ? void 0 : n.split(" ").includes(d)), c = [
581
+ t && r.includes(t) ? t : l ? "" : "container",
582
+ ...new Set([...i].filter((d) => d !== "container"))
583
+ ].join(" ").trim();
584
+ return /* @__PURE__ */ u("div", { className: c, ...o, children: e });
585
+ }, ut = {
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
+ }, _e = {
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
+ }, Fn = {
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
+ }, Vt = {
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
+ }, Tt = {
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
+ }, $t = {
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
+ }, Zn = {
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
+ }, Un = {
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
+ }, It = {
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
+ }, zn = {
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
+ }, Kn = {
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
+ }, Yn = {
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
+ }, Jn = {
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
+ }, qn = {
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
+ }, Qn = {
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
+ }, eo = {
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
+ }, le = (e) => e ? Array.isArray(e) ? e : [e] : [], xa = ({
1130
+ children: e,
1131
+ cols: t,
1132
+ gutter: n,
1133
+ alignItems: o,
1134
+ justifyContent: r,
1135
+ className: a
1136
+ }) => {
1137
+ const s = [
1138
+ ...le(t),
1139
+ ...le(n),
1140
+ ...le(o),
1141
+ ...le(r)
1142
+ ], i = [
1143
+ { prop: t, set: new Set(Object.values(Jn)) },
1144
+ { prop: n, set: new Set(Object.values(qn)) },
1145
+ { prop: o, set: new Set(Object.values(Vt)) },
1146
+ { prop: r, set: new Set(Object.values($t)) }
1147
+ ], c = ((a == null ? void 0 : a.split(" ").filter(Boolean)) ?? []).filter(
1148
+ (p) => !i.some(({ prop: x, set: w }) => x && w.has(p))
1149
+ ), d = /* @__PURE__ */ new Set([...s, ...c]), f = [
1150
+ "row",
1151
+ ...new Set(
1152
+ [...d].filter((p) => p !== "row")
1153
+ )
1154
+ ].join(" ");
1155
+ return /* @__PURE__ */ u("div", { className: f, children: e });
1156
+ }, ie = (e) => e ? Array.isArray(e) ? e : [e] : [], wa = ({
1157
+ children: e,
1158
+ col: t,
1159
+ order: n,
1160
+ offset: o,
1161
+ alignSelf: r,
1162
+ className: a
1163
+ }) => {
1164
+ const s = [
1165
+ ...ie(t),
1166
+ ...ie(n),
1167
+ ...ie(o),
1168
+ ...ie(r)
1169
+ ], i = [
1170
+ { prop: t, set: new Set(Object.values(Qn)) },
1171
+ { prop: t, set: new Set(Object.values({ default: "col" })) },
1172
+ { prop: r, set: new Set(Object.values(Tt)) },
1173
+ { prop: n, set: new Set(Object.values(It)) },
1174
+ { prop: o, set: new Set(Object.values(eo)) }
1175
+ ], c = ((a == null ? void 0 : a.split(" ").filter(Boolean)) ?? []).filter(
1176
+ (p) => !i.some(({ prop: x, set: w }) => x && w.has(p))
1177
+ ), d = /* @__PURE__ */ new Set([...s, ...c]), f = [
1178
+ "col",
1179
+ ...new Set(
1180
+ [...d].filter((p) => p !== "col")
1181
+ )
1182
+ ].join(" ");
1183
+ return /* @__PURE__ */ u("div", { className: f, children: e });
1184
+ }, ba = ({ type: e, children: t }) => /* @__PURE__ */ u("div", { className: `layout ${e} d-grid bg-body-tertiary overflow-hidden`, children: t }), Ca = ({ children: e }) => /* @__PURE__ */ u("header", { className: "layout-header", children: e }), ya = ({ children: e }) => /* @__PURE__ */ u("aside", { className: "layout-aside", children: e }), Sa = ({ children: e }) => /* @__PURE__ */ u("main", { className: "layout-content rounded-top-4 rounded-end-0 bg-body", children: e }), Oa = ({ children: e }) => /* @__PURE__ */ u("footer", { className: "layout-footer", children: e }), to = (e, t, n) => {
1185
+ switch (t.type) {
1186
+ case "TOGGLE_ITEM":
1187
+ const o = t.payload, r = e.openItems.includes(o);
1188
+ return n ? {
1189
+ openItems: r ? e.openItems.filter((a) => a !== o) : [...e.openItems, o]
1190
+ } : {
1191
+ openItems: r ? [] : [o]
1192
+ };
1193
+ case "RESET":
1194
+ return { openItems: [] };
1195
+ default:
1196
+ return e;
1197
+ }
1198
+ }, Gt = k(null), no = () => {
1199
+ const e = me(Gt);
1200
+ if (!e)
1201
+ throw new Error("useAccordionContext must be used within <AccordionProvider>");
1202
+ return e;
1203
+ }, oo = ({ children: e, stayOpen: t = !0 }) => {
1204
+ const [n, o] = Bt(
1205
+ (a, s) => to(a, s, t),
1206
+ { openItems: [] }
1207
+ ), r = {
1208
+ openItems: n.openItems,
1209
+ toggleItem: (a) => o({ type: "TOGGLE_ITEM", payload: a }),
1210
+ stayOpen: t
1211
+ };
1212
+ return /* @__PURE__ */ u(Gt.Provider, { value: r, children: e });
1213
+ }, ro = ({
1214
+ children: e,
1215
+ title: t,
1216
+ open: n = !1,
1217
+ className: o
1218
+ }) => {
1219
+ const { openItems: r, toggleItem: a } = no(), s = En(), i = r.includes(s);
1220
+ F(() => {
1221
+ n && !i && a(s);
1222
+ }, []);
1223
+ const l = [
1224
+ "accordion-item",
1225
+ ...new Set(
1226
+ (o ?? "").split(/\s+/).filter(Boolean).filter((c) => c !== "accordion-item")
1227
+ )
1228
+ ].join(" ");
1229
+ return /* @__PURE__ */ j("div", { className: l, children: [
1230
+ /* @__PURE__ */ u("h2", { className: "accordion-header", children: /* @__PURE__ */ u(
1231
+ "button",
1232
+ {
1233
+ className: `accordion-button${i ? "" : " collapsed"}`,
1234
+ onClick: () => a(s),
1235
+ "aria-expanded": i,
1236
+ "aria-controls": s,
1237
+ children: t
1238
+ }
1239
+ ) }),
1240
+ /* @__PURE__ */ u(
1241
+ "div",
1242
+ {
1243
+ id: s,
1244
+ className: `accordion-collapse collapse${i ? " show" : ""}`,
1245
+ children: /* @__PURE__ */ u("div", { className: "accordion-body", children: e })
1246
+ }
1247
+ )
1248
+ ] });
1249
+ }, so = ({
1250
+ children: e,
1251
+ stayOpen: t = !1,
1252
+ className: n = ""
1253
+ }) => {
1254
+ const o = [
1255
+ "accordion",
1256
+ ...new Set(
1257
+ (n ?? "").split(/\s+/).filter(Boolean).filter((r) => r !== "accordion")
1258
+ )
1259
+ ].join(" ");
1260
+ return /* @__PURE__ */ u(oo, { stayOpen: t, children: /* @__PURE__ */ u("div", { className: o, children: e }) });
1261
+ };
1262
+ so.Item = ro;
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 ke() {
1274
+ return ke = Object.assign ? Object.assign.bind() : function(e) {
1275
+ for (var t = 1; t < arguments.length; t++) {
1276
+ var n = arguments[t];
1277
+ for (var o in n)
1278
+ Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
1279
+ }
1280
+ return e;
1281
+ }, ke.apply(this, arguments);
1282
+ }
1283
+ var ft;
1284
+ (function(e) {
1285
+ e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
1286
+ })(ft || (ft = {}));
1287
+ function M(e, t) {
1288
+ if (e === !1 || e === null || typeof e > "u")
1289
+ throw new Error(t);
1290
+ }
1291
+ function ao(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 Pe(e) {
1301
+ let {
1302
+ pathname: t = "/",
1303
+ search: n = "",
1304
+ hash: o = ""
1305
+ } = e;
1306
+ return n && n !== "?" && (t += n.charAt(0) === "?" ? n : "?" + n), o && o !== "#" && (t += o.charAt(0) === "#" ? o : "#" + o), t;
1307
+ }
1308
+ function Wt(e) {
1309
+ let t = {};
1310
+ if (e) {
1311
+ let n = e.indexOf("#");
1312
+ n >= 0 && (t.hash = e.substr(n), e = e.substr(0, n));
1313
+ let o = e.indexOf("?");
1314
+ o >= 0 && (t.search = e.substr(o), e = e.substr(0, o)), e && (t.pathname = e);
1315
+ }
1316
+ return t;
1317
+ }
1318
+ var mt;
1319
+ (function(e) {
1320
+ e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
1321
+ })(mt || (mt = {}));
1322
+ function lo(e, t) {
1323
+ if (t === "/") return e;
1324
+ if (!e.toLowerCase().startsWith(t.toLowerCase()))
1325
+ return null;
1326
+ let n = t.endsWith("/") ? t.length - 1 : t.length, o = e.charAt(n);
1327
+ return o && o !== "/" ? null : e.slice(n) || "/";
1328
+ }
1329
+ function io(e, t) {
1330
+ t === void 0 && (t = "/");
1331
+ let {
1332
+ pathname: n,
1333
+ search: o = "",
1334
+ hash: r = ""
1335
+ } = typeof e == "string" ? Wt(e) : e;
1336
+ return {
1337
+ pathname: n ? n.startsWith("/") ? n : co(n, t) : t,
1338
+ search: uo(o),
1339
+ hash: fo(r)
1340
+ };
1341
+ }
1342
+ function co(e, t) {
1343
+ let n = t.replace(/\/+$/, "").split("/");
1344
+ return e.split("/").forEach((r) => {
1345
+ r === ".." ? n.length > 1 && n.pop() : r !== "." && n.push(r);
1346
+ }), n.length > 1 ? n.join("/") : "/";
1347
+ }
1348
+ function je(e, t, n, o) {
1349
+ return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + t + "` field [" + JSON.stringify(o) + "]. Please separate it out to the ") + ("`to." + n + "` 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 Ht(e) {
1352
+ return e.filter((t, n) => n === 0 || t.route.path && t.route.path.length > 0);
1353
+ }
1354
+ function _t(e, t, n, o) {
1355
+ o === void 0 && (o = !1);
1356
+ let r;
1357
+ typeof e == "string" ? r = Wt(e) : (r = ke({}, e), M(!r.pathname || !r.pathname.includes("?"), je("?", "pathname", "search", r)), M(!r.pathname || !r.pathname.includes("#"), je("#", "pathname", "hash", r)), M(!r.search || !r.search.includes("#"), je("#", "search", "hash", r)));
1358
+ let a = e === "" || r.pathname === "", s = a ? "/" : r.pathname, i;
1359
+ if (o || s == null)
1360
+ i = n;
1361
+ else {
1362
+ let f = t.length - 1;
1363
+ if (s.startsWith("..")) {
1364
+ let p = s.split("/");
1365
+ for (; p[0] === ".."; )
1366
+ p.shift(), f -= 1;
1367
+ r.pathname = p.join("/");
1368
+ }
1369
+ i = f >= 0 ? t[f] : "/";
1370
+ }
1371
+ let l = io(r, i), c = s && s !== "/" && s.endsWith("/"), d = (a || s === ".") && n.endsWith("/");
1372
+ return !l.pathname.endsWith("/") && (c || d) && (l.pathname += "/"), l;
1373
+ }
1374
+ const Fe = (e) => e.join("/").replace(/\/\/+/g, "/"), uo = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, fo = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Ft = ["post", "put", "patch", "delete"];
1375
+ new Set(Ft);
1376
+ const mo = ["get", ...Ft];
1377
+ new Set(mo);
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 Zt = /* @__PURE__ */ m.createContext(null);
1389
+ process.env.NODE_ENV !== "production" && (Zt.displayName = "DataRouter");
1390
+ const Ut = /* @__PURE__ */ m.createContext(null);
1391
+ process.env.NODE_ENV !== "production" && (Ut.displayName = "DataRouterState");
1392
+ const po = /* @__PURE__ */ m.createContext(null);
1393
+ process.env.NODE_ENV !== "production" && (po.displayName = "Await");
1394
+ const Y = /* @__PURE__ */ m.createContext(null);
1395
+ process.env.NODE_ENV !== "production" && (Y.displayName = "Navigation");
1396
+ const Ze = /* @__PURE__ */ m.createContext(null);
1397
+ process.env.NODE_ENV !== "production" && (Ze.displayName = "Location");
1398
+ const he = /* @__PURE__ */ m.createContext({
1399
+ outlet: null,
1400
+ matches: []
1401
+ });
1402
+ process.env.NODE_ENV !== "production" && (he.displayName = "Route");
1403
+ const ho = /* @__PURE__ */ m.createContext(null);
1404
+ process.env.NODE_ENV !== "production" && (ho.displayName = "RouteError");
1405
+ function go(e, t) {
1406
+ let {
1407
+ relative: n
1408
+ } = t === void 0 ? {} : t;
1409
+ Ue() || (process.env.NODE_ENV !== "production" ? M(
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
+ ) : M(!1));
1415
+ let {
1416
+ basename: o,
1417
+ navigator: r
1418
+ } = m.useContext(Y), {
1419
+ hash: a,
1420
+ pathname: s,
1421
+ search: i
1422
+ } = ge(e, {
1423
+ relative: n
1424
+ }), l = s;
1425
+ return o !== "/" && (l = s === "/" ? o : Fe([o, s])), r.createHref({
1426
+ pathname: l,
1427
+ search: i,
1428
+ hash: a
1429
+ });
1430
+ }
1431
+ function Ue() {
1432
+ return m.useContext(Ze) != null;
1433
+ }
1434
+ function oe() {
1435
+ return Ue() || (process.env.NODE_ENV !== "production" ? M(
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
+ ) : M(!1)), m.useContext(Ze).location;
1441
+ }
1442
+ function vo() {
1443
+ Ue() || (process.env.NODE_ENV !== "production" ? M(
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
+ ) : M(!1));
1449
+ let {
1450
+ basename: e,
1451
+ navigator: t
1452
+ } = m.useContext(Y), {
1453
+ matches: n
1454
+ } = m.useContext(he), {
1455
+ pathname: o
1456
+ } = oe(), r = JSON.stringify(Ht(n).map((i) => i.pathnameBase)), a = m.useRef(!1);
1457
+ return m.useEffect(() => {
1458
+ a.current = !0;
1459
+ }), m.useCallback(function(i, l) {
1460
+ if (l === void 0 && (l = {}), process.env.NODE_ENV !== "production" && ao(a.current, "You should call navigate() in a React.useEffect(), not when your component is first rendered."), !a.current) return;
1461
+ if (typeof i == "number") {
1462
+ t.go(i);
1463
+ return;
1464
+ }
1465
+ let c = _t(i, JSON.parse(r), o, l.relative === "path");
1466
+ e !== "/" && (c.pathname = c.pathname === "/" ? e : Fe([e, c.pathname])), (l.replace ? t.replace : t.push)(c, l.state, l);
1467
+ }, [e, t, r, o]);
1468
+ }
1469
+ function ge(e, t) {
1470
+ let {
1471
+ relative: n
1472
+ } = t === void 0 ? {} : t, {
1473
+ matches: o
1474
+ } = m.useContext(he), {
1475
+ pathname: r
1476
+ } = oe(), a = JSON.stringify(Ht(o).map((s) => s.pathnameBase));
1477
+ return m.useMemo(() => _t(e, JSON.parse(a), r, n === "path"), [e, a, r, n]);
1478
+ }
1479
+ var pt;
1480
+ (function(e) {
1481
+ e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator";
1482
+ })(pt || (pt = {}));
1483
+ var ht;
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
+ })(ht || (ht = {}));
1487
+ var gt;
1488
+ (function(e) {
1489
+ e[e.pending = 0] = "pending", e[e.success = 1] = "success", e[e.error = 2] = "error";
1490
+ })(gt || (gt = {}));
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 Z() {
1504
+ return Z = Object.assign ? Object.assign.bind() : function(e) {
1505
+ for (var t = 1; t < arguments.length; t++) {
1506
+ var n = arguments[t];
1507
+ for (var o in n)
1508
+ Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
1509
+ }
1510
+ return e;
1511
+ }, Z.apply(this, arguments);
1512
+ }
1513
+ function ze(e, t) {
1514
+ if (e == null) return {};
1515
+ var n = {}, o = Object.keys(e), r, a;
1516
+ for (a = 0; a < o.length; a++)
1517
+ r = o[a], !(t.indexOf(r) >= 0) && (n[r] = e[r]);
1518
+ return n;
1519
+ }
1520
+ const ce = "get", Ae = "application/x-www-form-urlencoded";
1521
+ function ve(e) {
1522
+ return e != null && typeof e.tagName == "string";
1523
+ }
1524
+ function xo(e) {
1525
+ return ve(e) && e.tagName.toLowerCase() === "button";
1526
+ }
1527
+ function wo(e) {
1528
+ return ve(e) && e.tagName.toLowerCase() === "form";
1529
+ }
1530
+ function bo(e) {
1531
+ return ve(e) && e.tagName.toLowerCase() === "input";
1532
+ }
1533
+ function Co(e) {
1534
+ return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1535
+ }
1536
+ function yo(e, t) {
1537
+ return e.button === 0 && // Ignore everything but left clicks
1538
+ (!t || t === "_self") && // Let browser handle "target=_blank" etc.
1539
+ !Co(e);
1540
+ }
1541
+ function So(e, t, n) {
1542
+ let o, r, a, s;
1543
+ if (wo(e)) {
1544
+ let d = n.submissionTrigger;
1545
+ o = n.method || e.getAttribute("method") || ce, r = n.action || e.getAttribute("action") || t, a = n.encType || e.getAttribute("enctype") || Ae, s = new FormData(e), d && d.name && s.append(d.name, d.value);
1546
+ } else if (xo(e) || bo(e) && (e.type === "submit" || e.type === "image")) {
1547
+ let d = e.form;
1548
+ if (d == null)
1549
+ throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
1550
+ o = n.method || e.getAttribute("formmethod") || d.getAttribute("method") || ce, r = n.action || e.getAttribute("formaction") || d.getAttribute("action") || t, a = n.encType || e.getAttribute("formenctype") || d.getAttribute("enctype") || Ae, s = new FormData(d), e.name && s.append(e.name, e.value);
1551
+ } else {
1552
+ if (ve(e))
1553
+ throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
1554
+ if (o = n.method || ce, r = n.action || t, a = n.encType || Ae, e instanceof FormData)
1555
+ s = e;
1556
+ else if (s = new FormData(), e instanceof URLSearchParams)
1557
+ for (let [d, f] of e)
1558
+ s.append(d, f);
1559
+ else if (e != null)
1560
+ for (let d of Object.keys(e))
1561
+ s.append(d, e[d]);
1562
+ }
1563
+ let {
1564
+ protocol: i,
1565
+ host: l
1566
+ } = window.location;
1567
+ return {
1568
+ url: new URL(r, i + "//" + l),
1569
+ method: o.toLowerCase(),
1570
+ encType: a,
1571
+ formData: s
1572
+ };
1573
+ }
1574
+ const Oo = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset"], Eo = ["aria-current", "caseSensitive", "className", "end", "style", "to", "children"], No = ["reloadDocument", "replace", "method", "action", "onSubmit", "fetcherKey", "routeId", "relative", "preventScrollReset"];
1575
+ process.env.NODE_ENV;
1576
+ const Lo = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Ro = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ke = /* @__PURE__ */ m.forwardRef(function(t, n) {
1577
+ let {
1578
+ onClick: o,
1579
+ relative: r,
1580
+ reloadDocument: a,
1581
+ replace: s,
1582
+ state: i,
1583
+ target: l,
1584
+ to: c,
1585
+ preventScrollReset: d
1586
+ } = t, f = ze(t, Oo), {
1587
+ basename: p
1588
+ } = m.useContext(Y), x, w = !1;
1589
+ if (typeof c == "string" && Ro.test(c) && (x = c, Lo)) {
1590
+ let h = new URL(window.location.href), y = c.startsWith("//") ? new URL(h.protocol + c) : new URL(c), C = lo(y.pathname, p);
1591
+ y.origin === h.origin && C != null ? c = C + y.search + y.hash : w = !0;
1592
+ }
1593
+ let b = go(c, {
1594
+ relative: r
1595
+ }), v = Bo(c, {
1596
+ replace: s,
1597
+ state: i,
1598
+ target: l,
1599
+ preventScrollReset: d,
1600
+ relative: r
1601
+ });
1602
+ function g(h) {
1603
+ o && o(h), h.defaultPrevented || v(h);
1604
+ }
1605
+ return (
1606
+ // eslint-disable-next-line jsx-a11y/anchor-has-content
1607
+ /* @__PURE__ */ m.createElement("a", Z({}, f, {
1608
+ href: x || b,
1609
+ onClick: w || a ? o : g,
1610
+ ref: n,
1611
+ target: l
1612
+ }))
1613
+ );
1614
+ });
1615
+ process.env.NODE_ENV !== "production" && (Ke.displayName = "Link");
1616
+ const zt = /* @__PURE__ */ m.forwardRef(function(t, n) {
1617
+ let {
1618
+ "aria-current": o = "page",
1619
+ caseSensitive: r = !1,
1620
+ className: a = "",
1621
+ end: s = !1,
1622
+ style: i,
1623
+ to: l,
1624
+ children: c
1625
+ } = t, d = ze(t, Eo), f = ge(l, {
1626
+ relative: d.relative
1627
+ }), p = oe(), x = m.useContext(Ut), {
1628
+ navigator: w
1629
+ } = m.useContext(Y), b = w.encodeLocation ? w.encodeLocation(f).pathname : f.pathname, v = p.pathname, g = x && x.navigation && x.navigation.location ? x.navigation.location.pathname : null;
1630
+ r || (v = v.toLowerCase(), g = g ? g.toLowerCase() : null, b = b.toLowerCase());
1631
+ let h = v === b || !s && v.startsWith(b) && v.charAt(b.length) === "/", y = g != null && (g === b || !s && g.startsWith(b) && g.charAt(b.length) === "/"), C = h ? o : void 0, S;
1632
+ typeof a == "function" ? S = a({
1633
+ isActive: h,
1634
+ isPending: y
1635
+ }) : S = [a, h ? "active" : null, y ? "pending" : null].filter(Boolean).join(" ");
1636
+ let O = typeof i == "function" ? i({
1637
+ isActive: h,
1638
+ isPending: y
1639
+ }) : i;
1640
+ return /* @__PURE__ */ m.createElement(Ke, Z({}, d, {
1641
+ "aria-current": C,
1642
+ className: S,
1643
+ ref: n,
1644
+ style: O,
1645
+ to: l
1646
+ }), typeof c == "function" ? c({
1647
+ isActive: h,
1648
+ isPending: y
1649
+ }) : c);
1650
+ });
1651
+ process.env.NODE_ENV !== "production" && (zt.displayName = "NavLink");
1652
+ const jo = /* @__PURE__ */ m.forwardRef((e, t) => /* @__PURE__ */ m.createElement(Kt, Z({}, e, {
1653
+ ref: t
1654
+ })));
1655
+ process.env.NODE_ENV !== "production" && (jo.displayName = "Form");
1656
+ const Kt = /* @__PURE__ */ m.forwardRef((e, t) => {
1657
+ let {
1658
+ reloadDocument: n,
1659
+ replace: o,
1660
+ method: r = ce,
1661
+ action: a,
1662
+ onSubmit: s,
1663
+ fetcherKey: i,
1664
+ routeId: l,
1665
+ relative: c,
1666
+ preventScrollReset: d
1667
+ } = e, f = ze(e, No), p = Xo(i, l), x = r.toLowerCase() === "get" ? "get" : "post", w = Yt(a, {
1668
+ relative: c
1669
+ }), b = (v) => {
1670
+ if (s && s(v), v.defaultPrevented) return;
1671
+ v.preventDefault();
1672
+ let g = v.nativeEvent.submitter, h = (g == null ? void 0 : g.getAttribute("formmethod")) || r;
1673
+ p(g || v.currentTarget, {
1674
+ method: h,
1675
+ replace: o,
1676
+ relative: c,
1677
+ preventScrollReset: d
1678
+ });
1679
+ };
1680
+ return /* @__PURE__ */ m.createElement("form", Z({
1681
+ ref: t,
1682
+ method: x,
1683
+ action: w,
1684
+ onSubmit: n ? s : b
1685
+ }, f));
1686
+ });
1687
+ process.env.NODE_ENV !== "production" && (Kt.displayName = "FormImpl");
1688
+ process.env.NODE_ENV;
1689
+ var Ve;
1690
+ (function(e) {
1691
+ e.UseScrollRestoration = "useScrollRestoration", e.UseSubmitImpl = "useSubmitImpl", e.UseFetcher = "useFetcher";
1692
+ })(Ve || (Ve = {}));
1693
+ var vt;
1694
+ (function(e) {
1695
+ e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
1696
+ })(vt || (vt = {}));
1697
+ function Ao(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 = m.useContext(Zt);
1702
+ return t || (process.env.NODE_ENV !== "production" ? M(!1, Ao(e)) : M(!1)), t;
1703
+ }
1704
+ function Bo(e, t) {
1705
+ let {
1706
+ target: n,
1707
+ replace: o,
1708
+ state: r,
1709
+ preventScrollReset: a,
1710
+ relative: s
1711
+ } = t === void 0 ? {} : t, i = vo(), l = oe(), c = ge(e, {
1712
+ relative: s
1713
+ });
1714
+ return m.useCallback((d) => {
1715
+ if (yo(d, n)) {
1716
+ d.preventDefault();
1717
+ let f = o !== void 0 ? o : Pe(l) === Pe(c);
1718
+ i(e, {
1719
+ replace: f,
1720
+ state: r,
1721
+ preventScrollReset: a,
1722
+ relative: s
1723
+ });
1724
+ }
1725
+ }, [l, i, c, o, r, n, e, a, s]);
1726
+ }
1727
+ function Xo(e, t) {
1728
+ let {
1729
+ router: n
1730
+ } = Mo(Ve.UseSubmitImpl), o = Yt();
1731
+ return m.useCallback(function(r, a) {
1732
+ if (a === void 0 && (a = {}), 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: s,
1736
+ encType: i,
1737
+ formData: l,
1738
+ url: c
1739
+ } = So(r, o, a), d = c.pathname + c.search, f = {
1740
+ replace: a.replace,
1741
+ preventScrollReset: a.preventScrollReset,
1742
+ formData: l,
1743
+ formMethod: s,
1744
+ formEncType: i
1745
+ };
1746
+ e ? (t == null && (process.env.NODE_ENV !== "production" ? M(!1, "No routeId available for useFetcher()") : M(!1)), n.fetch(e, t, d, f)) : n.navigate(d, f);
1747
+ }, [o, n, e, t]);
1748
+ }
1749
+ function Yt(e, t) {
1750
+ let {
1751
+ relative: n
1752
+ } = t === void 0 ? {} : t, {
1753
+ basename: o
1754
+ } = m.useContext(Y), r = m.useContext(he);
1755
+ r || (process.env.NODE_ENV !== "production" ? M(!1, "useFormAction must be used inside a RouteContext") : M(!1));
1756
+ let [a] = r.matches.slice(-1), s = Z({}, ge(e || ".", {
1757
+ relative: n
1758
+ })), i = oe();
1759
+ if (e == null && (s.search = i.search, s.hash = i.hash, a.route.index)) {
1760
+ let l = new URLSearchParams(s.search);
1761
+ l.delete("index"), s.search = l.toString() ? "?" + l.toString() : "";
1762
+ }
1763
+ return (!e || e === ".") && a.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), o !== "/" && (s.pathname = s.pathname === "/" ? o : Fe([o, s.pathname])), Pe(s);
1764
+ }
1765
+ const Do = ({
1766
+ children: e,
1767
+ text: t,
1768
+ path: n,
1769
+ className: o,
1770
+ isCurrent: r = !1,
1771
+ ...a
1772
+ }) => {
1773
+ const s = e ?? t, i = [
1774
+ "breadcrumb-item",
1775
+ ...new Set(
1776
+ (o ?? "").split(/\s+/).filter(Boolean).filter((l) => l !== "breadcrumb-item")
1777
+ )
1778
+ ].join(" ");
1779
+ return /* @__PURE__ */ u(
1780
+ "li",
1781
+ {
1782
+ className: `${i}${r ? " active" : ""}`,
1783
+ "aria-current": r ? "page" : void 0,
1784
+ ...a,
1785
+ children: n && !r ? /* @__PURE__ */ u(Ke, { to: n, children: s }) : s
1786
+ }
1787
+ );
1788
+ }, ko = ({
1789
+ children: e,
1790
+ className: t,
1791
+ divider: n,
1792
+ ...o
1793
+ }) => {
1794
+ const r = [
1795
+ "breadcrumb",
1796
+ ...new Set(
1797
+ (t ?? "").split(/\s+/).filter(Boolean).filter((s) => s !== "breadcrumb")
1798
+ )
1799
+ ].join(" "), a = n !== void 0 ? { "--bs-breadcrumb-divider": `'${n}'` } : void 0;
1800
+ return /* @__PURE__ */ u(
1801
+ "nav",
1802
+ {
1803
+ "aria-label": "breadcrumb",
1804
+ style: a,
1805
+ children: /* @__PURE__ */ u("ol", { className: r, ...o, children: e })
1806
+ }
1807
+ );
1808
+ };
1809
+ ko.Item = Do;
1810
+ const Po = Object.fromEntries(
1811
+ Object.entries(I).map(([e, t]) => [e, `text-bg-${t}`])
1812
+ ), xt = {
1813
+ Top: "card-image-top",
1814
+ Bottom: "card-image-bottom"
1815
+ }, Vo = ({
1816
+ children: e,
1817
+ className: t
1818
+ }) => {
1819
+ const n = [
1820
+ "card-body",
1821
+ ...new Set(
1822
+ (t ?? "").split(/\s+/).filter(Boolean).filter((o) => o !== "card-body")
1823
+ )
1824
+ ].join(" ");
1825
+ return /* @__PURE__ */ u("div", { className: n, children: e });
1826
+ }, To = (e) => e ? Array.isArray(e) ? e : [e] : [], $o = ({
1827
+ className: e,
1828
+ placement: t = xt.Top,
1829
+ alt: n = "",
1830
+ src: o
1831
+ }) => {
1832
+ const r = [
1833
+ ...To(t)
1834
+ ], a = [
1835
+ { prop: t, set: new Set(Object.values(xt)) }
1836
+ ], i = ((e == null ? void 0 : e.split(" ").filter(Boolean)) ?? []).filter(
1837
+ (c) => !a.some(({ prop: d, set: f }) => d && f.has(c))
1838
+ ), l = [
1839
+ "card-image",
1840
+ ...new Set([...r, ...i].filter((c) => c !== "card-image"))
1841
+ ].join(" ");
1842
+ return /* @__PURE__ */ u("img", { className: l, alt: n, src: o });
1843
+ }, Io = ({
1844
+ children: e,
1845
+ className: t
1846
+ }) => {
1847
+ const n = [
1848
+ "card-header",
1849
+ ...new Set(
1850
+ (t ?? "").split(/\s+/).filter(Boolean).filter((o) => o !== "card-header")
1851
+ )
1852
+ ].join(" ");
1853
+ return /* @__PURE__ */ u("div", { className: n, children: e });
1854
+ }, Go = ({
1855
+ children: e,
1856
+ className: t
1857
+ }) => {
1858
+ const n = [
1859
+ "card-footer",
1860
+ ...new Set(
1861
+ (t ?? "").split(/\s+/).filter(Boolean).filter((o) => o !== "card-footer")
1862
+ )
1863
+ ].join(" ");
1864
+ return /* @__PURE__ */ u("div", { className: n, children: e });
1865
+ }, Wo = ({
1866
+ el: e,
1867
+ children: t,
1868
+ className: n,
1869
+ ...o
1870
+ }) => {
1871
+ const r = [
1872
+ "card-title",
1873
+ ...new Set(
1874
+ (n ?? "").split(/\s+/).filter(Boolean).filter((s) => s !== "card-title")
1875
+ )
1876
+ ].join(" ");
1877
+ return $(e || "h5", { ...o, className: r }, t);
1878
+ }, Ho = ({
1879
+ children: e,
1880
+ className: t
1881
+ }) => {
1882
+ const n = [
1883
+ "card-text",
1884
+ ...new Set(
1885
+ (t ?? "").split(/\s+/).filter(Boolean).filter((o) => o !== "card-text")
1886
+ )
1887
+ ].join(" ");
1888
+ return /* @__PURE__ */ u("p", { className: n, children: e });
1889
+ }, _o = (e) => e ? Array.isArray(e) ? e : [e] : [], J = ({
1890
+ children: e,
1891
+ className: t,
1892
+ color: n,
1893
+ ...o
1894
+ }) => {
1895
+ const r = [
1896
+ ..._o(n)
1897
+ ], a = [
1898
+ { prop: n, set: new Set(Object.values(Po)) }
1899
+ ], i = ((t == null ? void 0 : t.split(/\s+/).filter(Boolean)) ?? []).filter(
1900
+ (c) => !a.some(({ prop: d, set: f }) => d && f.has(c))
1901
+ ), l = [
1902
+ "card",
1903
+ ...new Set([...r, ...i].filter((c) => c !== "card"))
1904
+ ].join(" ");
1905
+ return /* @__PURE__ */ u("div", { className: l, ...o, children: e });
1906
+ };
1907
+ J.Header = Io;
1908
+ J.Body = Vo;
1909
+ J.Footer = Go;
1910
+ J.Image = $o;
1911
+ J.Title = Wo;
1912
+ J.Text = Ho;
1913
+ const G = {
1914
+ Primary: "primary",
1915
+ Secondary: "secondary",
1916
+ Success: "success",
1917
+ Danger: "danger",
1918
+ Warning: "warning",
1919
+ Info: "info",
1920
+ Light: "light",
1921
+ Dark: "dark"
1922
+ }, xe = {
1923
+ Sm: "sm",
1924
+ Md: "md",
1925
+ Lg: "lg",
1926
+ Xl: "xl",
1927
+ Xxl: "xxl"
1928
+ }, Fo = {
1929
+ W0: "0",
1930
+ W25: "25",
1931
+ W50: "50",
1932
+ W75: "75",
1933
+ W100: "100",
1934
+ WAuto: "auto"
1935
+ }, Zo = {
1936
+ OverflowAuto: "auto",
1937
+ OverflowHidden: "hidden",
1938
+ OverflowVisible: "visible",
1939
+ OverflowScroll: "scroll"
1940
+ }, Jt = {
1941
+ Top: "top",
1942
+ Bottom: "bottom",
1943
+ Start: "start",
1944
+ End: "end"
1945
+ }, Uo = {
1946
+ Start: "start",
1947
+ End: "end",
1948
+ Center: "center",
1949
+ Between: "between",
1950
+ Around: "around",
1951
+ Evenly: "evenly"
1952
+ };
1953
+ Object.fromEntries(
1954
+ Object.entries(G).map(([e, t]) => [e, `alert-${t}`])
1955
+ );
1956
+ Object.fromEntries(
1957
+ Object.entries(G).map(([e, t]) => [e, `text-bg-${t}`])
1958
+ );
1959
+ function zo(e) {
1960
+ const t = Object.fromEntries(
1961
+ Object.entries(e).map(([o, r]) => [o, `btn-${r}`])
1962
+ ), n = Object.fromEntries(
1963
+ Object.entries(e).map(([o, r]) => [`${o}Outline`, `btn-outline-${r}`])
1964
+ );
1965
+ return {
1966
+ ...t,
1967
+ ...n,
1968
+ Link: "btn-link"
1969
+ };
1970
+ }
1971
+ zo(G);
1972
+ const qt = ["Sm", "Lg"];
1973
+ Object.fromEntries(
1974
+ qt.map((e) => [e, `btn-${xe[e]}`])
1975
+ );
1976
+ Object.fromEntries(
1977
+ qt.map((e) => [e, `btn-group-${xe[e]}`])
1978
+ );
1979
+ Object.fromEntries(
1980
+ Object.entries(G).map(([e, t]) => [e, `text-${t}`])
1981
+ );
1982
+ Object.fromEntries(
1983
+ Object.entries(G).map(([e, t]) => [e, `bg-${t}`])
1984
+ );
1985
+ const Ko = ["W0", "W25", "W50", "W75", "W100"];
1986
+ Object.fromEntries(
1987
+ Ko.map((e) => [e, `w-${Fo[e]}`])
1988
+ );
1989
+ const Yo = ["OverflowVisible", "OverflowHidden"];
1990
+ Object.fromEntries(
1991
+ Yo.map((e) => [e, `overflow-${Zo[e]}`])
1992
+ );
1993
+ Object.fromEntries(
1994
+ Object.entries(Jt).map(([e, t]) => [e, `${t}`])
1995
+ );
1996
+ k(null);
1997
+ /**
1998
+ * @remix-run/router v1.5.0
1999
+ *
2000
+ * Copyright (c) Remix Software Inc.
2001
+ *
2002
+ * This source code is licensed under the MIT license found in the
2003
+ * LICENSE.md file in the root directory of this source tree.
2004
+ *
2005
+ * @license MIT
2006
+ */
2007
+ function Te() {
2008
+ return Te = Object.assign ? Object.assign.bind() : function(e) {
2009
+ for (var t = 1; t < arguments.length; t++) {
2010
+ var n = arguments[t];
2011
+ for (var o in n)
2012
+ Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
2013
+ }
2014
+ return e;
2015
+ }, Te.apply(this, arguments);
2016
+ }
2017
+ var wt;
2018
+ (function(e) {
2019
+ e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
2020
+ })(wt || (wt = {}));
2021
+ function B(e, t) {
2022
+ if (e === !1 || e === null || typeof e > "u")
2023
+ throw new Error(t);
2024
+ }
2025
+ function Jo(e, t) {
2026
+ if (!e) {
2027
+ typeof console < "u" && console.warn(t);
2028
+ try {
2029
+ throw new Error(t);
2030
+ } catch {
2031
+ }
2032
+ }
2033
+ }
2034
+ function $e(e) {
2035
+ let {
2036
+ pathname: t = "/",
2037
+ search: n = "",
2038
+ hash: o = ""
2039
+ } = e;
2040
+ return n && n !== "?" && (t += n.charAt(0) === "?" ? n : "?" + n), o && o !== "#" && (t += o.charAt(0) === "#" ? o : "#" + o), t;
2041
+ }
2042
+ function Qt(e) {
2043
+ let t = {};
2044
+ if (e) {
2045
+ let n = e.indexOf("#");
2046
+ n >= 0 && (t.hash = e.substr(n), e = e.substr(0, n));
2047
+ let o = e.indexOf("?");
2048
+ o >= 0 && (t.search = e.substr(o), e = e.substr(0, o)), e && (t.pathname = e);
2049
+ }
2050
+ return t;
2051
+ }
2052
+ var bt;
2053
+ (function(e) {
2054
+ e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
2055
+ })(bt || (bt = {}));
2056
+ function qo(e, t) {
2057
+ if (t === "/") return e;
2058
+ if (!e.toLowerCase().startsWith(t.toLowerCase()))
2059
+ return null;
2060
+ let n = t.endsWith("/") ? t.length - 1 : t.length, o = e.charAt(n);
2061
+ return o && o !== "/" ? null : e.slice(n) || "/";
2062
+ }
2063
+ function Qo(e, t) {
2064
+ t === void 0 && (t = "/");
2065
+ let {
2066
+ pathname: n,
2067
+ search: o = "",
2068
+ hash: r = ""
2069
+ } = typeof e == "string" ? Qt(e) : e;
2070
+ return {
2071
+ pathname: n ? n.startsWith("/") ? n : er(n, t) : t,
2072
+ search: tr(o),
2073
+ hash: nr(r)
2074
+ };
2075
+ }
2076
+ function er(e, t) {
2077
+ let n = t.replace(/\/+$/, "").split("/");
2078
+ return e.split("/").forEach((o) => {
2079
+ o === ".." ? n.length > 1 && n.pop() : o !== "." && n.push(o);
2080
+ }), n.length > 1 ? n.join("/") : "/";
2081
+ }
2082
+ function Me(e, t, n, o) {
2083
+ return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + t + "` field [" + JSON.stringify(o) + "]. Please separate it out to the ") + ("`to." + n + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
2084
+ }
2085
+ function en(e) {
2086
+ return e.filter((t, n) => n === 0 || t.route.path && t.route.path.length > 0);
2087
+ }
2088
+ function tn(e, t, n, o) {
2089
+ o === void 0 && (o = !1);
2090
+ let r;
2091
+ typeof e == "string" ? r = Qt(e) : (r = Te({}, e), B(!r.pathname || !r.pathname.includes("?"), Me("?", "pathname", "search", r)), B(!r.pathname || !r.pathname.includes("#"), Me("#", "pathname", "hash", r)), B(!r.search || !r.search.includes("#"), Me("#", "search", "hash", r)));
2092
+ let a = e === "" || r.pathname === "", s = a ? "/" : r.pathname, i;
2093
+ if (o || s == null)
2094
+ i = n;
2095
+ else {
2096
+ let f = t.length - 1;
2097
+ if (s.startsWith("..")) {
2098
+ let p = s.split("/");
2099
+ for (; p[0] === ".."; )
2100
+ p.shift(), f -= 1;
2101
+ r.pathname = p.join("/");
2102
+ }
2103
+ i = f >= 0 ? t[f] : "/";
2104
+ }
2105
+ let l = Qo(r, i), c = s && s !== "/" && s.endsWith("/"), d = (a || s === ".") && n.endsWith("/");
2106
+ return !l.pathname.endsWith("/") && (c || d) && (l.pathname += "/"), l;
2107
+ }
2108
+ const Ye = (e) => e.join("/").replace(/\/\/+/g, "/"), tr = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, nr = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, nn = ["post", "put", "patch", "delete"];
2109
+ new Set(nn);
2110
+ const or = ["get", ...nn];
2111
+ new Set(or);
2112
+ /**
2113
+ * React Router v6.10.0
2114
+ *
2115
+ * Copyright (c) Remix Software Inc.
2116
+ *
2117
+ * This source code is licensed under the MIT license found in the
2118
+ * LICENSE.md file in the root directory of this source tree.
2119
+ *
2120
+ * @license MIT
2121
+ */
2122
+ const on = /* @__PURE__ */ m.createContext(null);
2123
+ process.env.NODE_ENV !== "production" && (on.displayName = "DataRouter");
2124
+ const rn = /* @__PURE__ */ m.createContext(null);
2125
+ process.env.NODE_ENV !== "production" && (rn.displayName = "DataRouterState");
2126
+ const rr = /* @__PURE__ */ m.createContext(null);
2127
+ process.env.NODE_ENV !== "production" && (rr.displayName = "Await");
2128
+ const q = /* @__PURE__ */ m.createContext(null);
2129
+ process.env.NODE_ENV !== "production" && (q.displayName = "Navigation");
2130
+ const Je = /* @__PURE__ */ m.createContext(null);
2131
+ process.env.NODE_ENV !== "production" && (Je.displayName = "Location");
2132
+ const we = /* @__PURE__ */ m.createContext({
2133
+ outlet: null,
2134
+ matches: []
2135
+ });
2136
+ process.env.NODE_ENV !== "production" && (we.displayName = "Route");
2137
+ const sr = /* @__PURE__ */ m.createContext(null);
2138
+ process.env.NODE_ENV !== "production" && (sr.displayName = "RouteError");
2139
+ function ar(e, t) {
2140
+ let {
2141
+ relative: n
2142
+ } = t === void 0 ? {} : t;
2143
+ qe() || (process.env.NODE_ENV !== "production" ? B(
2144
+ !1,
2145
+ // TODO: This error is probably because they somehow have 2 versions of the
2146
+ // router loaded. We can help them understand how to avoid that.
2147
+ "useHref() may be used only in the context of a <Router> component."
2148
+ ) : B(!1));
2149
+ let {
2150
+ basename: o,
2151
+ navigator: r
2152
+ } = m.useContext(q), {
2153
+ hash: a,
2154
+ pathname: s,
2155
+ search: i
2156
+ } = be(e, {
2157
+ relative: n
2158
+ }), l = s;
2159
+ return o !== "/" && (l = s === "/" ? o : Ye([o, s])), r.createHref({
2160
+ pathname: l,
2161
+ search: i,
2162
+ hash: a
2163
+ });
2164
+ }
2165
+ function qe() {
2166
+ return m.useContext(Je) != null;
2167
+ }
2168
+ function re() {
2169
+ return qe() || (process.env.NODE_ENV !== "production" ? B(
2170
+ !1,
2171
+ // TODO: This error is probably because they somehow have 2 versions of the
2172
+ // router loaded. We can help them understand how to avoid that.
2173
+ "useLocation() may be used only in the context of a <Router> component."
2174
+ ) : B(!1)), m.useContext(Je).location;
2175
+ }
2176
+ function lr() {
2177
+ qe() || (process.env.NODE_ENV !== "production" ? B(
2178
+ !1,
2179
+ // TODO: This error is probably because they somehow have 2 versions of the
2180
+ // router loaded. We can help them understand how to avoid that.
2181
+ "useNavigate() may be used only in the context of a <Router> component."
2182
+ ) : B(!1));
2183
+ let {
2184
+ basename: e,
2185
+ navigator: t
2186
+ } = m.useContext(q), {
2187
+ matches: n
2188
+ } = m.useContext(we), {
2189
+ pathname: o
2190
+ } = re(), r = JSON.stringify(en(n).map((s) => s.pathnameBase)), a = m.useRef(!1);
2191
+ return m.useEffect(() => {
2192
+ a.current = !0;
2193
+ }), m.useCallback(function(s, i) {
2194
+ if (i === void 0 && (i = {}), process.env.NODE_ENV !== "production" && Jo(a.current, "You should call navigate() in a React.useEffect(), not when your component is first rendered."), !a.current) return;
2195
+ if (typeof s == "number") {
2196
+ t.go(s);
2197
+ return;
2198
+ }
2199
+ let l = tn(s, JSON.parse(r), o, i.relative === "path");
2200
+ e !== "/" && (l.pathname = l.pathname === "/" ? e : Ye([e, l.pathname])), (i.replace ? t.replace : t.push)(l, i.state, i);
2201
+ }, [e, t, r, o]);
2202
+ }
2203
+ function be(e, t) {
2204
+ let {
2205
+ relative: n
2206
+ } = t === void 0 ? {} : t, {
2207
+ matches: o
2208
+ } = m.useContext(we), {
2209
+ pathname: r
2210
+ } = re(), a = JSON.stringify(en(o).map((s) => s.pathnameBase));
2211
+ return m.useMemo(() => tn(e, JSON.parse(a), r, n === "path"), [e, a, r, n]);
2212
+ }
2213
+ var Ct;
2214
+ (function(e) {
2215
+ e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator";
2216
+ })(Ct || (Ct = {}));
2217
+ var yt;
2218
+ (function(e) {
2219
+ e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator";
2220
+ })(yt || (yt = {}));
2221
+ var St;
2222
+ (function(e) {
2223
+ e[e.pending = 0] = "pending", e[e.success = 1] = "success", e[e.error = 2] = "error";
2224
+ })(St || (St = {}));
2225
+ new Promise(() => {
2226
+ });
2227
+ /**
2228
+ * React Router DOM v6.10.0
2229
+ *
2230
+ * Copyright (c) Remix Software Inc.
2231
+ *
2232
+ * This source code is licensed under the MIT license found in the
2233
+ * LICENSE.md file in the root directory of this source tree.
2234
+ *
2235
+ * @license MIT
2236
+ */
2237
+ function U() {
2238
+ return U = Object.assign ? Object.assign.bind() : function(e) {
2239
+ for (var t = 1; t < arguments.length; t++) {
2240
+ var n = arguments[t];
2241
+ for (var o in n)
2242
+ Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
2243
+ }
2244
+ return e;
2245
+ }, U.apply(this, arguments);
2246
+ }
2247
+ function Qe(e, t) {
2248
+ if (e == null) return {};
2249
+ var n = {}, o = Object.keys(e), r, a;
2250
+ for (a = 0; a < o.length; a++)
2251
+ r = o[a], !(t.indexOf(r) >= 0) && (n[r] = e[r]);
2252
+ return n;
2253
+ }
2254
+ const de = "get", Be = "application/x-www-form-urlencoded";
2255
+ function Ce(e) {
2256
+ return e != null && typeof e.tagName == "string";
2257
+ }
2258
+ function ir(e) {
2259
+ return Ce(e) && e.tagName.toLowerCase() === "button";
2260
+ }
2261
+ function cr(e) {
2262
+ return Ce(e) && e.tagName.toLowerCase() === "form";
2263
+ }
2264
+ function dr(e) {
2265
+ return Ce(e) && e.tagName.toLowerCase() === "input";
2266
+ }
2267
+ function ur(e) {
2268
+ return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
2269
+ }
2270
+ function fr(e, t) {
2271
+ return e.button === 0 && // Ignore everything but left clicks
2272
+ (!t || t === "_self") && // Let browser handle "target=_blank" etc.
2273
+ !ur(e);
2274
+ }
2275
+ function mr(e, t, n) {
2276
+ let o, r, a, s;
2277
+ if (cr(e)) {
2278
+ let c = n.submissionTrigger;
2279
+ o = n.method || e.getAttribute("method") || de, r = n.action || e.getAttribute("action") || t, a = n.encType || e.getAttribute("enctype") || Be, s = new FormData(e), c && c.name && s.append(c.name, c.value);
2280
+ } else if (ir(e) || dr(e) && (e.type === "submit" || e.type === "image")) {
2281
+ let c = e.form;
2282
+ if (c == null)
2283
+ throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
2284
+ o = n.method || e.getAttribute("formmethod") || c.getAttribute("method") || de, r = n.action || e.getAttribute("formaction") || c.getAttribute("action") || t, a = n.encType || e.getAttribute("formenctype") || c.getAttribute("enctype") || Be, s = new FormData(c), e.name && s.append(e.name, e.value);
2285
+ } else {
2286
+ if (Ce(e))
2287
+ throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
2288
+ if (o = n.method || de, r = n.action || t, a = n.encType || Be, e instanceof FormData)
2289
+ s = e;
2290
+ else if (s = new FormData(), e instanceof URLSearchParams)
2291
+ for (let [c, d] of e)
2292
+ s.append(c, d);
2293
+ else if (e != null)
2294
+ for (let c of Object.keys(e))
2295
+ s.append(c, e[c]);
2296
+ }
2297
+ let {
2298
+ protocol: i,
2299
+ host: l
2300
+ } = window.location;
2301
+ return {
2302
+ url: new URL(r, i + "//" + l),
2303
+ method: o.toLowerCase(),
2304
+ encType: a,
2305
+ formData: s
2306
+ };
2307
+ }
2308
+ const pr = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset"], hr = ["aria-current", "caseSensitive", "className", "end", "style", "to", "children"], gr = ["reloadDocument", "replace", "method", "action", "onSubmit", "fetcherKey", "routeId", "relative", "preventScrollReset"];
2309
+ process.env.NODE_ENV;
2310
+ const vr = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", xr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, sn = /* @__PURE__ */ m.forwardRef(function(e, t) {
2311
+ let {
2312
+ onClick: n,
2313
+ relative: o,
2314
+ reloadDocument: r,
2315
+ replace: a,
2316
+ state: s,
2317
+ target: i,
2318
+ to: l,
2319
+ preventScrollReset: c
2320
+ } = e, d = Qe(e, pr), {
2321
+ basename: f
2322
+ } = m.useContext(q), p, x = !1;
2323
+ if (typeof l == "string" && xr.test(l) && (p = l, vr)) {
2324
+ let g = new URL(window.location.href), h = l.startsWith("//") ? new URL(g.protocol + l) : new URL(l), y = qo(h.pathname, f);
2325
+ h.origin === g.origin && y != null ? l = y + h.search + h.hash : x = !0;
2326
+ }
2327
+ let w = ar(l, {
2328
+ relative: o
2329
+ }), b = Sr(l, {
2330
+ replace: a,
2331
+ state: s,
2332
+ target: i,
2333
+ preventScrollReset: c,
2334
+ relative: o
2335
+ });
2336
+ function v(g) {
2337
+ n && n(g), g.defaultPrevented || b(g);
2338
+ }
2339
+ return (
2340
+ // eslint-disable-next-line jsx-a11y/anchor-has-content
2341
+ /* @__PURE__ */ m.createElement("a", U({}, d, {
2342
+ href: p || w,
2343
+ onClick: x || r ? n : v,
2344
+ ref: t,
2345
+ target: i
2346
+ }))
2347
+ );
2348
+ });
2349
+ process.env.NODE_ENV !== "production" && (sn.displayName = "Link");
2350
+ const wr = /* @__PURE__ */ m.forwardRef(function(e, t) {
2351
+ let {
2352
+ "aria-current": n = "page",
2353
+ caseSensitive: o = !1,
2354
+ className: r = "",
2355
+ end: a = !1,
2356
+ style: s,
2357
+ to: i,
2358
+ children: l
2359
+ } = e, c = Qe(e, hr), d = be(i, {
2360
+ relative: c.relative
2361
+ }), f = re(), p = m.useContext(rn), {
2362
+ navigator: x
2363
+ } = m.useContext(q), w = x.encodeLocation ? x.encodeLocation(d).pathname : d.pathname, b = f.pathname, v = p && p.navigation && p.navigation.location ? p.navigation.location.pathname : null;
2364
+ o || (b = b.toLowerCase(), v = v ? v.toLowerCase() : null, w = w.toLowerCase());
2365
+ let g = b === w || !a && b.startsWith(w) && b.charAt(w.length) === "/", h = v != null && (v === w || !a && v.startsWith(w) && v.charAt(w.length) === "/"), y = g ? n : void 0, C;
2366
+ typeof r == "function" ? C = r({
2367
+ isActive: g,
2368
+ isPending: h
2369
+ }) : C = [r, g ? "active" : null, h ? "pending" : null].filter(Boolean).join(" ");
2370
+ let S = typeof s == "function" ? s({
2371
+ isActive: g,
2372
+ isPending: h
2373
+ }) : s;
2374
+ return /* @__PURE__ */ m.createElement(sn, U({}, c, {
2375
+ "aria-current": y,
2376
+ className: C,
2377
+ ref: t,
2378
+ style: S,
2379
+ to: i
2380
+ }), typeof l == "function" ? l({
2381
+ isActive: g,
2382
+ isPending: h
2383
+ }) : l);
2384
+ });
2385
+ process.env.NODE_ENV !== "production" && (wr.displayName = "NavLink");
2386
+ const br = /* @__PURE__ */ m.forwardRef((e, t) => /* @__PURE__ */ m.createElement(an, U({}, e, {
2387
+ ref: t
2388
+ })));
2389
+ process.env.NODE_ENV !== "production" && (br.displayName = "Form");
2390
+ const an = /* @__PURE__ */ m.forwardRef((e, t) => {
2391
+ let {
2392
+ reloadDocument: n,
2393
+ replace: o,
2394
+ method: r = de,
2395
+ action: a,
2396
+ onSubmit: s,
2397
+ fetcherKey: i,
2398
+ routeId: l,
2399
+ relative: c,
2400
+ preventScrollReset: d
2401
+ } = e, f = Qe(e, gr), p = Or(i, l), x = r.toLowerCase() === "get" ? "get" : "post", w = ln(a, {
2402
+ relative: c
2403
+ }), b = (v) => {
2404
+ if (s && s(v), v.defaultPrevented) return;
2405
+ v.preventDefault();
2406
+ let g = v.nativeEvent.submitter, h = (g == null ? void 0 : g.getAttribute("formmethod")) || r;
2407
+ p(g || v.currentTarget, {
2408
+ method: h,
2409
+ replace: o,
2410
+ relative: c,
2411
+ preventScrollReset: d
2412
+ });
2413
+ };
2414
+ return /* @__PURE__ */ m.createElement("form", U({
2415
+ ref: t,
2416
+ method: x,
2417
+ action: w,
2418
+ onSubmit: n ? s : b
2419
+ }, f));
2420
+ });
2421
+ process.env.NODE_ENV !== "production" && (an.displayName = "FormImpl");
2422
+ process.env.NODE_ENV;
2423
+ var Ie;
2424
+ (function(e) {
2425
+ e.UseScrollRestoration = "useScrollRestoration", e.UseSubmitImpl = "useSubmitImpl", e.UseFetcher = "useFetcher";
2426
+ })(Ie || (Ie = {}));
2427
+ var Ot;
2428
+ (function(e) {
2429
+ e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
2430
+ })(Ot || (Ot = {}));
2431
+ function Cr(e) {
2432
+ return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
2433
+ }
2434
+ function yr(e) {
2435
+ let t = m.useContext(on);
2436
+ return t || (process.env.NODE_ENV !== "production" ? B(!1, Cr(e)) : B(!1)), t;
2437
+ }
2438
+ function Sr(e, t) {
2439
+ let {
2440
+ target: n,
2441
+ replace: o,
2442
+ state: r,
2443
+ preventScrollReset: a,
2444
+ relative: s
2445
+ } = t === void 0 ? {} : t, i = lr(), l = re(), c = be(e, {
2446
+ relative: s
2447
+ });
2448
+ return m.useCallback((d) => {
2449
+ if (fr(d, n)) {
2450
+ d.preventDefault();
2451
+ let f = o !== void 0 ? o : $e(l) === $e(c);
2452
+ i(e, {
2453
+ replace: f,
2454
+ state: r,
2455
+ preventScrollReset: a,
2456
+ relative: s
2457
+ });
2458
+ }
2459
+ }, [l, i, c, o, r, n, e, a, s]);
2460
+ }
2461
+ function Or(e, t) {
2462
+ let {
2463
+ router: n
2464
+ } = yr(Ie.UseSubmitImpl), o = ln();
2465
+ return m.useCallback(function(r, a) {
2466
+ if (a === void 0 && (a = {}), typeof document > "u")
2467
+ throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
2468
+ let {
2469
+ method: s,
2470
+ encType: i,
2471
+ formData: l,
2472
+ url: c
2473
+ } = mr(r, o, a), d = c.pathname + c.search, f = {
2474
+ replace: a.replace,
2475
+ preventScrollReset: a.preventScrollReset,
2476
+ formData: l,
2477
+ formMethod: s,
2478
+ formEncType: i
2479
+ };
2480
+ e ? (t == null && (process.env.NODE_ENV !== "production" ? B(!1, "No routeId available for useFetcher()") : B(!1)), n.fetch(e, t, d, f)) : n.navigate(d, f);
2481
+ }, [o, n, e, t]);
2482
+ }
2483
+ function ln(e, t) {
2484
+ let {
2485
+ relative: n
2486
+ } = t === void 0 ? {} : t, {
2487
+ basename: o
2488
+ } = m.useContext(q), r = m.useContext(we);
2489
+ r || (process.env.NODE_ENV !== "production" ? B(!1, "useFormAction must be used inside a RouteContext") : B(!1));
2490
+ let [a] = r.matches.slice(-1), s = U({}, be(e || ".", {
2491
+ relative: n
2492
+ })), i = re();
2493
+ if (e == null && (s.search = i.search, s.hash = i.hash, a.route.index)) {
2494
+ let l = new URLSearchParams(s.search);
2495
+ l.delete("index"), s.search = l.toString() ? "?" + l.toString() : "";
2496
+ }
2497
+ return (!e || e === ".") && a.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), o !== "/" && (s.pathname = s.pathname === "/" ? o : Ye([o, s.pathname])), $e(s);
2498
+ }
2499
+ Object.fromEntries(
2500
+ Object.entries(G).map(([e, t]) => [e, `text-bg-${t}`])
2501
+ );
2502
+ const W = {
2503
+ Primary: "primary",
2504
+ Secondary: "secondary",
2505
+ Success: "success",
2506
+ Danger: "danger",
2507
+ Warning: "warning",
2508
+ Info: "info",
2509
+ Light: "light",
2510
+ Dark: "dark"
2511
+ }, ye = {
2512
+ Sm: "sm",
2513
+ Md: "md",
2514
+ Lg: "lg",
2515
+ Xl: "xl",
2516
+ Xxl: "xxl"
2517
+ }, Er = {
2518
+ W0: "0",
2519
+ W25: "25",
2520
+ W50: "50",
2521
+ W75: "75",
2522
+ W100: "100",
2523
+ WAuto: "auto"
2524
+ }, Nr = {
2525
+ OverflowAuto: "auto",
2526
+ OverflowHidden: "hidden",
2527
+ OverflowVisible: "visible",
2528
+ OverflowScroll: "scroll"
2529
+ }, cn = {
2530
+ Top: "top",
2531
+ Bottom: "bottom",
2532
+ Start: "start",
2533
+ End: "end"
2534
+ }, Lr = {
2535
+ Start: "start",
2536
+ End: "end",
2537
+ Center: "center",
2538
+ Between: "between",
2539
+ Around: "around",
2540
+ Evenly: "evenly"
2541
+ };
2542
+ Object.fromEntries(
2543
+ Object.entries(W).map(([e, t]) => [e, `alert-${t}`])
2544
+ );
2545
+ Object.fromEntries(
2546
+ Object.entries(W).map(([e, t]) => [e, `text-bg-${t}`])
2547
+ );
2548
+ function Rr(e) {
2549
+ const t = Object.fromEntries(
2550
+ Object.entries(e).map(([o, r]) => [o, `btn-${r}`])
2551
+ ), n = Object.fromEntries(
2552
+ Object.entries(e).map(([o, r]) => [`${o}Outline`, `btn-outline-${r}`])
2553
+ );
2554
+ return {
2555
+ ...t,
2556
+ ...n,
2557
+ Link: "btn-link"
2558
+ };
2559
+ }
2560
+ Rr(W);
2561
+ const dn = ["Sm", "Lg"];
2562
+ Object.fromEntries(
2563
+ dn.map((e) => [e, `btn-${ye[e]}`])
2564
+ );
2565
+ Object.fromEntries(
2566
+ dn.map((e) => [e, `btn-group-${ye[e]}`])
2567
+ );
2568
+ Object.fromEntries(
2569
+ Object.entries(W).map(([e, t]) => [e, `text-${t}`])
2570
+ );
2571
+ Object.fromEntries(
2572
+ Object.entries(W).map(([e, t]) => [e, `bg-${t}`])
2573
+ );
2574
+ const jr = ["W0", "W25", "W50", "W75", "W100"];
2575
+ Object.fromEntries(
2576
+ jr.map((e) => [e, `w-${Er[e]}`])
2577
+ );
2578
+ const Ar = ["OverflowVisible", "OverflowHidden"];
2579
+ Object.fromEntries(
2580
+ Ar.map((e) => [e, `overflow-${Nr[e]}`])
2581
+ );
2582
+ Object.fromEntries(
2583
+ Object.entries(cn).map(([e, t]) => [e, `${t}`])
2584
+ );
2585
+ k(null);
2586
+ /**
2587
+ * @remix-run/router v1.5.0
2588
+ *
2589
+ * Copyright (c) Remix Software Inc.
2590
+ *
2591
+ * This source code is licensed under the MIT license found in the
2592
+ * LICENSE.md file in the root directory of this source tree.
2593
+ *
2594
+ * @license MIT
2595
+ */
2596
+ function Ge() {
2597
+ return Ge = Object.assign ? Object.assign.bind() : function(e) {
2598
+ for (var t = 1; t < arguments.length; t++) {
2599
+ var n = arguments[t];
2600
+ for (var o in n)
2601
+ Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
2602
+ }
2603
+ return e;
2604
+ }, Ge.apply(this, arguments);
2605
+ }
2606
+ var Et;
2607
+ (function(e) {
2608
+ e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
2609
+ })(Et || (Et = {}));
2610
+ function X(e, t) {
2611
+ if (e === !1 || e === null || typeof e > "u")
2612
+ throw new Error(t);
2613
+ }
2614
+ function Mr(e, t) {
2615
+ if (!e) {
2616
+ typeof console < "u" && console.warn(t);
2617
+ try {
2618
+ throw new Error(t);
2619
+ } catch {
2620
+ }
2621
+ }
2622
+ }
2623
+ function We(e) {
2624
+ let {
2625
+ pathname: t = "/",
2626
+ search: n = "",
2627
+ hash: o = ""
2628
+ } = e;
2629
+ return n && n !== "?" && (t += n.charAt(0) === "?" ? n : "?" + n), o && o !== "#" && (t += o.charAt(0) === "#" ? o : "#" + o), t;
2630
+ }
2631
+ function un(e) {
2632
+ let t = {};
2633
+ if (e) {
2634
+ let n = e.indexOf("#");
2635
+ n >= 0 && (t.hash = e.substr(n), e = e.substr(0, n));
2636
+ let o = e.indexOf("?");
2637
+ o >= 0 && (t.search = e.substr(o), e = e.substr(0, o)), e && (t.pathname = e);
2638
+ }
2639
+ return t;
2640
+ }
2641
+ var Nt;
2642
+ (function(e) {
2643
+ e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
2644
+ })(Nt || (Nt = {}));
2645
+ function Br(e, t) {
2646
+ if (t === "/") return e;
2647
+ if (!e.toLowerCase().startsWith(t.toLowerCase()))
2648
+ return null;
2649
+ let n = t.endsWith("/") ? t.length - 1 : t.length, o = e.charAt(n);
2650
+ return o && o !== "/" ? null : e.slice(n) || "/";
2651
+ }
2652
+ function Xr(e, t) {
2653
+ t === void 0 && (t = "/");
2654
+ let {
2655
+ pathname: n,
2656
+ search: o = "",
2657
+ hash: r = ""
2658
+ } = typeof e == "string" ? un(e) : e;
2659
+ return {
2660
+ pathname: n ? n.startsWith("/") ? n : Dr(n, t) : t,
2661
+ search: kr(o),
2662
+ hash: Pr(r)
2663
+ };
2664
+ }
2665
+ function Dr(e, t) {
2666
+ let n = t.replace(/\/+$/, "").split("/");
2667
+ return e.split("/").forEach((o) => {
2668
+ o === ".." ? n.length > 1 && n.pop() : o !== "." && n.push(o);
2669
+ }), n.length > 1 ? n.join("/") : "/";
2670
+ }
2671
+ function Xe(e, t, n, o) {
2672
+ return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + t + "` field [" + JSON.stringify(o) + "]. Please separate it out to the ") + ("`to." + n + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
2673
+ }
2674
+ function fn(e) {
2675
+ return e.filter((t, n) => n === 0 || t.route.path && t.route.path.length > 0);
2676
+ }
2677
+ function mn(e, t, n, o) {
2678
+ o === void 0 && (o = !1);
2679
+ let r;
2680
+ typeof e == "string" ? r = un(e) : (r = Ge({}, e), X(!r.pathname || !r.pathname.includes("?"), Xe("?", "pathname", "search", r)), X(!r.pathname || !r.pathname.includes("#"), Xe("#", "pathname", "hash", r)), X(!r.search || !r.search.includes("#"), Xe("#", "search", "hash", r)));
2681
+ let a = e === "" || r.pathname === "", s = a ? "/" : r.pathname, i;
2682
+ if (o || s == null)
2683
+ i = n;
2684
+ else {
2685
+ let f = t.length - 1;
2686
+ if (s.startsWith("..")) {
2687
+ let p = s.split("/");
2688
+ for (; p[0] === ".."; )
2689
+ p.shift(), f -= 1;
2690
+ r.pathname = p.join("/");
2691
+ }
2692
+ i = f >= 0 ? t[f] : "/";
2693
+ }
2694
+ let l = Xr(r, i), c = s && s !== "/" && s.endsWith("/"), d = (a || s === ".") && n.endsWith("/");
2695
+ return !l.pathname.endsWith("/") && (c || d) && (l.pathname += "/"), l;
2696
+ }
2697
+ const et = (e) => e.join("/").replace(/\/\/+/g, "/"), kr = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Pr = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, pn = ["post", "put", "patch", "delete"];
2698
+ new Set(pn);
2699
+ const Vr = ["get", ...pn];
2700
+ new Set(Vr);
2701
+ /**
2702
+ * React Router v6.10.0
2703
+ *
2704
+ * Copyright (c) Remix Software Inc.
2705
+ *
2706
+ * This source code is licensed under the MIT license found in the
2707
+ * LICENSE.md file in the root directory of this source tree.
2708
+ *
2709
+ * @license MIT
2710
+ */
2711
+ const hn = /* @__PURE__ */ m.createContext(null);
2712
+ process.env.NODE_ENV !== "production" && (hn.displayName = "DataRouter");
2713
+ const gn = /* @__PURE__ */ m.createContext(null);
2714
+ process.env.NODE_ENV !== "production" && (gn.displayName = "DataRouterState");
2715
+ const Tr = /* @__PURE__ */ m.createContext(null);
2716
+ process.env.NODE_ENV !== "production" && (Tr.displayName = "Await");
2717
+ const Q = /* @__PURE__ */ m.createContext(null);
2718
+ process.env.NODE_ENV !== "production" && (Q.displayName = "Navigation");
2719
+ const tt = /* @__PURE__ */ m.createContext(null);
2720
+ process.env.NODE_ENV !== "production" && (tt.displayName = "Location");
2721
+ const Se = /* @__PURE__ */ m.createContext({
2722
+ outlet: null,
2723
+ matches: []
2724
+ });
2725
+ process.env.NODE_ENV !== "production" && (Se.displayName = "Route");
2726
+ const $r = /* @__PURE__ */ m.createContext(null);
2727
+ process.env.NODE_ENV !== "production" && ($r.displayName = "RouteError");
2728
+ function Ir(e, t) {
2729
+ let {
2730
+ relative: n
2731
+ } = t === void 0 ? {} : t;
2732
+ nt() || (process.env.NODE_ENV !== "production" ? X(
2733
+ !1,
2734
+ // TODO: This error is probably because they somehow have 2 versions of the
2735
+ // router loaded. We can help them understand how to avoid that.
2736
+ "useHref() may be used only in the context of a <Router> component."
2737
+ ) : X(!1));
2738
+ let {
2739
+ basename: o,
2740
+ navigator: r
2741
+ } = m.useContext(Q), {
2742
+ hash: a,
2743
+ pathname: s,
2744
+ search: i
2745
+ } = Oe(e, {
2746
+ relative: n
2747
+ }), l = s;
2748
+ return o !== "/" && (l = s === "/" ? o : et([o, s])), r.createHref({
2749
+ pathname: l,
2750
+ search: i,
2751
+ hash: a
2752
+ });
2753
+ }
2754
+ function nt() {
2755
+ return m.useContext(tt) != null;
2756
+ }
2757
+ function se() {
2758
+ return nt() || (process.env.NODE_ENV !== "production" ? X(
2759
+ !1,
2760
+ // TODO: This error is probably because they somehow have 2 versions of the
2761
+ // router loaded. We can help them understand how to avoid that.
2762
+ "useLocation() may be used only in the context of a <Router> component."
2763
+ ) : X(!1)), m.useContext(tt).location;
2764
+ }
2765
+ function Gr() {
2766
+ nt() || (process.env.NODE_ENV !== "production" ? X(
2767
+ !1,
2768
+ // TODO: This error is probably because they somehow have 2 versions of the
2769
+ // router loaded. We can help them understand how to avoid that.
2770
+ "useNavigate() may be used only in the context of a <Router> component."
2771
+ ) : X(!1));
2772
+ let {
2773
+ basename: e,
2774
+ navigator: t
2775
+ } = m.useContext(Q), {
2776
+ matches: n
2777
+ } = m.useContext(Se), {
2778
+ pathname: o
2779
+ } = se(), r = JSON.stringify(fn(n).map((s) => s.pathnameBase)), a = m.useRef(!1);
2780
+ return m.useEffect(() => {
2781
+ a.current = !0;
2782
+ }), m.useCallback(function(s, i) {
2783
+ if (i === void 0 && (i = {}), process.env.NODE_ENV !== "production" && Mr(a.current, "You should call navigate() in a React.useEffect(), not when your component is first rendered."), !a.current) return;
2784
+ if (typeof s == "number") {
2785
+ t.go(s);
2786
+ return;
2787
+ }
2788
+ let l = mn(s, JSON.parse(r), o, i.relative === "path");
2789
+ e !== "/" && (l.pathname = l.pathname === "/" ? e : et([e, l.pathname])), (i.replace ? t.replace : t.push)(l, i.state, i);
2790
+ }, [e, t, r, o]);
2791
+ }
2792
+ function Oe(e, t) {
2793
+ let {
2794
+ relative: n
2795
+ } = t === void 0 ? {} : t, {
2796
+ matches: o
2797
+ } = m.useContext(Se), {
2798
+ pathname: r
2799
+ } = se(), a = JSON.stringify(fn(o).map((s) => s.pathnameBase));
2800
+ return m.useMemo(() => mn(e, JSON.parse(a), r, n === "path"), [e, a, r, n]);
2801
+ }
2802
+ var Lt;
2803
+ (function(e) {
2804
+ e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator";
2805
+ })(Lt || (Lt = {}));
2806
+ var Rt;
2807
+ (function(e) {
2808
+ e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator";
2809
+ })(Rt || (Rt = {}));
2810
+ var jt;
2811
+ (function(e) {
2812
+ e[e.pending = 0] = "pending", e[e.success = 1] = "success", e[e.error = 2] = "error";
2813
+ })(jt || (jt = {}));
2814
+ new Promise(() => {
2815
+ });
2816
+ /**
2817
+ * React Router DOM v6.10.0
2818
+ *
2819
+ * Copyright (c) Remix Software Inc.
2820
+ *
2821
+ * This source code is licensed under the MIT license found in the
2822
+ * LICENSE.md file in the root directory of this source tree.
2823
+ *
2824
+ * @license MIT
2825
+ */
2826
+ function z() {
2827
+ return z = Object.assign ? Object.assign.bind() : function(e) {
2828
+ for (var t = 1; t < arguments.length; t++) {
2829
+ var n = arguments[t];
2830
+ for (var o in n)
2831
+ Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
2832
+ }
2833
+ return e;
2834
+ }, z.apply(this, arguments);
2835
+ }
2836
+ function ot(e, t) {
2837
+ if (e == null) return {};
2838
+ var n = {}, o = Object.keys(e), r, a;
2839
+ for (a = 0; a < o.length; a++)
2840
+ r = o[a], !(t.indexOf(r) >= 0) && (n[r] = e[r]);
2841
+ return n;
2842
+ }
2843
+ const ue = "get", De = "application/x-www-form-urlencoded";
2844
+ function Ee(e) {
2845
+ return e != null && typeof e.tagName == "string";
2846
+ }
2847
+ function Wr(e) {
2848
+ return Ee(e) && e.tagName.toLowerCase() === "button";
2849
+ }
2850
+ function Hr(e) {
2851
+ return Ee(e) && e.tagName.toLowerCase() === "form";
2852
+ }
2853
+ function _r(e) {
2854
+ return Ee(e) && e.tagName.toLowerCase() === "input";
2855
+ }
2856
+ function Fr(e) {
2857
+ return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
2858
+ }
2859
+ function Zr(e, t) {
2860
+ return e.button === 0 && // Ignore everything but left clicks
2861
+ (!t || t === "_self") && // Let browser handle "target=_blank" etc.
2862
+ !Fr(e);
2863
+ }
2864
+ function Ur(e, t, n) {
2865
+ let o, r, a, s;
2866
+ if (Hr(e)) {
2867
+ let c = n.submissionTrigger;
2868
+ o = n.method || e.getAttribute("method") || ue, r = n.action || e.getAttribute("action") || t, a = n.encType || e.getAttribute("enctype") || De, s = new FormData(e), c && c.name && s.append(c.name, c.value);
2869
+ } else if (Wr(e) || _r(e) && (e.type === "submit" || e.type === "image")) {
2870
+ let c = e.form;
2871
+ if (c == null)
2872
+ throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
2873
+ o = n.method || e.getAttribute("formmethod") || c.getAttribute("method") || ue, r = n.action || e.getAttribute("formaction") || c.getAttribute("action") || t, a = n.encType || e.getAttribute("formenctype") || c.getAttribute("enctype") || De, s = new FormData(c), e.name && s.append(e.name, e.value);
2874
+ } else {
2875
+ if (Ee(e))
2876
+ throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
2877
+ if (o = n.method || ue, r = n.action || t, a = n.encType || De, e instanceof FormData)
2878
+ s = e;
2879
+ else if (s = new FormData(), e instanceof URLSearchParams)
2880
+ for (let [c, d] of e)
2881
+ s.append(c, d);
2882
+ else if (e != null)
2883
+ for (let c of Object.keys(e))
2884
+ s.append(c, e[c]);
2885
+ }
2886
+ let {
2887
+ protocol: i,
2888
+ host: l
2889
+ } = window.location;
2890
+ return {
2891
+ url: new URL(r, i + "//" + l),
2892
+ method: o.toLowerCase(),
2893
+ encType: a,
2894
+ formData: s
2895
+ };
2896
+ }
2897
+ const zr = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset"], Kr = ["aria-current", "caseSensitive", "className", "end", "style", "to", "children"], Yr = ["reloadDocument", "replace", "method", "action", "onSubmit", "fetcherKey", "routeId", "relative", "preventScrollReset"];
2898
+ process.env.NODE_ENV;
2899
+ const Jr = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", qr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, vn = /* @__PURE__ */ m.forwardRef(function(e, t) {
2900
+ let {
2901
+ onClick: n,
2902
+ relative: o,
2903
+ reloadDocument: r,
2904
+ replace: a,
2905
+ state: s,
2906
+ target: i,
2907
+ to: l,
2908
+ preventScrollReset: c
2909
+ } = e, d = ot(e, zr), {
2910
+ basename: f
2911
+ } = m.useContext(Q), p, x = !1;
2912
+ if (typeof l == "string" && qr.test(l) && (p = l, Jr)) {
2913
+ let g = new URL(window.location.href), h = l.startsWith("//") ? new URL(g.protocol + l) : new URL(l), y = Br(h.pathname, f);
2914
+ h.origin === g.origin && y != null ? l = y + h.search + h.hash : x = !0;
2915
+ }
2916
+ let w = Ir(l, {
2917
+ relative: o
2918
+ }), b = os(l, {
2919
+ replace: a,
2920
+ state: s,
2921
+ target: i,
2922
+ preventScrollReset: c,
2923
+ relative: o
2924
+ });
2925
+ function v(g) {
2926
+ n && n(g), g.defaultPrevented || b(g);
2927
+ }
2928
+ return (
2929
+ // eslint-disable-next-line jsx-a11y/anchor-has-content
2930
+ /* @__PURE__ */ m.createElement("a", z({}, d, {
2931
+ href: p || w,
2932
+ onClick: x || r ? n : v,
2933
+ ref: t,
2934
+ target: i
2935
+ }))
2936
+ );
2937
+ });
2938
+ process.env.NODE_ENV !== "production" && (vn.displayName = "Link");
2939
+ const Qr = /* @__PURE__ */ m.forwardRef(function(e, t) {
2940
+ let {
2941
+ "aria-current": n = "page",
2942
+ caseSensitive: o = !1,
2943
+ className: r = "",
2944
+ end: a = !1,
2945
+ style: s,
2946
+ to: i,
2947
+ children: l
2948
+ } = e, c = ot(e, Kr), d = Oe(i, {
2949
+ relative: c.relative
2950
+ }), f = se(), p = m.useContext(gn), {
2951
+ navigator: x
2952
+ } = m.useContext(Q), w = x.encodeLocation ? x.encodeLocation(d).pathname : d.pathname, b = f.pathname, v = p && p.navigation && p.navigation.location ? p.navigation.location.pathname : null;
2953
+ o || (b = b.toLowerCase(), v = v ? v.toLowerCase() : null, w = w.toLowerCase());
2954
+ let g = b === w || !a && b.startsWith(w) && b.charAt(w.length) === "/", h = v != null && (v === w || !a && v.startsWith(w) && v.charAt(w.length) === "/"), y = g ? n : void 0, C;
2955
+ typeof r == "function" ? C = r({
2956
+ isActive: g,
2957
+ isPending: h
2958
+ }) : C = [r, g ? "active" : null, h ? "pending" : null].filter(Boolean).join(" ");
2959
+ let S = typeof s == "function" ? s({
2960
+ isActive: g,
2961
+ isPending: h
2962
+ }) : s;
2963
+ return /* @__PURE__ */ m.createElement(vn, z({}, c, {
2964
+ "aria-current": y,
2965
+ className: C,
2966
+ ref: t,
2967
+ style: S,
2968
+ to: i
2969
+ }), typeof l == "function" ? l({
2970
+ isActive: g,
2971
+ isPending: h
2972
+ }) : l);
2973
+ });
2974
+ process.env.NODE_ENV !== "production" && (Qr.displayName = "NavLink");
2975
+ const es = /* @__PURE__ */ m.forwardRef((e, t) => /* @__PURE__ */ m.createElement(xn, z({}, e, {
2976
+ ref: t
2977
+ })));
2978
+ process.env.NODE_ENV !== "production" && (es.displayName = "Form");
2979
+ const xn = /* @__PURE__ */ m.forwardRef((e, t) => {
2980
+ let {
2981
+ reloadDocument: n,
2982
+ replace: o,
2983
+ method: r = ue,
2984
+ action: a,
2985
+ onSubmit: s,
2986
+ fetcherKey: i,
2987
+ routeId: l,
2988
+ relative: c,
2989
+ preventScrollReset: d
2990
+ } = e, f = ot(e, Yr), p = rs(i, l), x = r.toLowerCase() === "get" ? "get" : "post", w = wn(a, {
2991
+ relative: c
2992
+ }), b = (v) => {
2993
+ if (s && s(v), v.defaultPrevented) return;
2994
+ v.preventDefault();
2995
+ let g = v.nativeEvent.submitter, h = (g == null ? void 0 : g.getAttribute("formmethod")) || r;
2996
+ p(g || v.currentTarget, {
2997
+ method: h,
2998
+ replace: o,
2999
+ relative: c,
3000
+ preventScrollReset: d
3001
+ });
3002
+ };
3003
+ return /* @__PURE__ */ m.createElement("form", z({
3004
+ ref: t,
3005
+ method: x,
3006
+ action: w,
3007
+ onSubmit: n ? s : b
3008
+ }, f));
3009
+ });
3010
+ process.env.NODE_ENV !== "production" && (xn.displayName = "FormImpl");
3011
+ process.env.NODE_ENV;
3012
+ var He;
3013
+ (function(e) {
3014
+ e.UseScrollRestoration = "useScrollRestoration", e.UseSubmitImpl = "useSubmitImpl", e.UseFetcher = "useFetcher";
3015
+ })(He || (He = {}));
3016
+ var At;
3017
+ (function(e) {
3018
+ e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
3019
+ })(At || (At = {}));
3020
+ function ts(e) {
3021
+ return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
3022
+ }
3023
+ function ns(e) {
3024
+ let t = m.useContext(hn);
3025
+ return t || (process.env.NODE_ENV !== "production" ? X(!1, ts(e)) : X(!1)), t;
3026
+ }
3027
+ function os(e, t) {
3028
+ let {
3029
+ target: n,
3030
+ replace: o,
3031
+ state: r,
3032
+ preventScrollReset: a,
3033
+ relative: s
3034
+ } = t === void 0 ? {} : t, i = Gr(), l = se(), c = Oe(e, {
3035
+ relative: s
3036
+ });
3037
+ return m.useCallback((d) => {
3038
+ if (Zr(d, n)) {
3039
+ d.preventDefault();
3040
+ let f = o !== void 0 ? o : We(l) === We(c);
3041
+ i(e, {
3042
+ replace: f,
3043
+ state: r,
3044
+ preventScrollReset: a,
3045
+ relative: s
3046
+ });
3047
+ }
3048
+ }, [l, i, c, o, r, n, e, a, s]);
3049
+ }
3050
+ function rs(e, t) {
3051
+ let {
3052
+ router: n
3053
+ } = ns(He.UseSubmitImpl), o = wn();
3054
+ return m.useCallback(function(r, a) {
3055
+ if (a === void 0 && (a = {}), typeof document > "u")
3056
+ throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
3057
+ let {
3058
+ method: s,
3059
+ encType: i,
3060
+ formData: l,
3061
+ url: c
3062
+ } = Ur(r, o, a), d = c.pathname + c.search, f = {
3063
+ replace: a.replace,
3064
+ preventScrollReset: a.preventScrollReset,
3065
+ formData: l,
3066
+ formMethod: s,
3067
+ formEncType: i
3068
+ };
3069
+ e ? (t == null && (process.env.NODE_ENV !== "production" ? X(!1, "No routeId available for useFetcher()") : X(!1)), n.fetch(e, t, d, f)) : n.navigate(d, f);
3070
+ }, [o, n, e, t]);
3071
+ }
3072
+ function wn(e, t) {
3073
+ let {
3074
+ relative: n
3075
+ } = t === void 0 ? {} : t, {
3076
+ basename: o
3077
+ } = m.useContext(Q), r = m.useContext(Se);
3078
+ r || (process.env.NODE_ENV !== "production" ? X(!1, "useFormAction must be used inside a RouteContext") : X(!1));
3079
+ let [a] = r.matches.slice(-1), s = z({}, Oe(e || ".", {
3080
+ relative: n
3081
+ })), i = se();
3082
+ if (e == null && (s.search = i.search, s.hash = i.hash, a.route.index)) {
3083
+ let l = new URLSearchParams(s.search);
3084
+ l.delete("index"), s.search = l.toString() ? "?" + l.toString() : "";
3085
+ }
3086
+ return (!e || e === ".") && a.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), o !== "/" && (s.pathname = s.pathname === "/" ? o : et([o, s.pathname])), We(s);
3087
+ }
3088
+ Object.fromEntries(
3089
+ Object.entries(W).map(([e, t]) => [e, `text-bg-${t}`])
3090
+ );
3091
+ k(null);
3092
+ Object.fromEntries(
3093
+ Object.entries(W).map(([e, t]) => [e, `list-group-item-${t}`])
3094
+ );
3095
+ const ss = k(null);
3096
+ ss.Provider;
3097
+ k(void 0);
3098
+ Object.fromEntries(
3099
+ Object.entries(cn).map(([e, t]) => [e, `offcanvas-${t}`])
3100
+ );
3101
+ Object.fromEntries(
3102
+ Object.entries(ye).map(([e, t]) => [e, `offcanvas-${t}`])
3103
+ );
3104
+ Object.fromEntries(
3105
+ Object.entries(W).map(([e, t]) => [e, `bg-${t}`])
3106
+ );
3107
+ const as = ["Sm", "Lg"];
3108
+ Object.fromEntries(
3109
+ as.map((e) => [e, `pagination-${ye[e]}`])
3110
+ );
3111
+ const ls = ["Start", "End", "Center"];
3112
+ Object.fromEntries(
3113
+ ls.map((e) => [e, `justify-content-${Lr[e]}`])
3114
+ );
3115
+ k(null);
3116
+ const is = {
3117
+ DropDownStart: "dropdown-start"
3118
+ };
3119
+ Object.fromEntries(
3120
+ Object.entries(G).map(([e, t]) => [e, `list-group-item-${t}`])
3121
+ );
3122
+ const cs = k(null);
3123
+ cs.Provider;
3124
+ k(void 0);
3125
+ Object.fromEntries(
3126
+ Object.entries(Jt).map(([e, t]) => [e, `offcanvas-${t}`])
3127
+ );
3128
+ Object.fromEntries(
3129
+ Object.entries(xe).map(([e, t]) => [e, `offcanvas-${t}`])
3130
+ );
3131
+ Object.fromEntries(
3132
+ Object.entries(G).map(([e, t]) => [e, `bg-${t}`])
3133
+ );
3134
+ const ds = ["Sm", "Lg"];
3135
+ Object.fromEntries(
3136
+ ds.map((e) => [e, `pagination-${xe[e]}`])
3137
+ );
3138
+ const us = ["Start", "End", "Center"];
3139
+ Object.fromEntries(
3140
+ us.map((e) => [e, `justify-content-${Uo[e]}`])
3141
+ );
3142
+ const fs = (e, t) => {
3143
+ switch (t.type) {
3144
+ case "TOGGLE":
3145
+ return { ...e, isOpen: !e.isOpen };
3146
+ case "CLOSE":
3147
+ return { ...e, isOpen: !1 };
3148
+ case "SET_DIRECTION":
3149
+ return { ...e, direction: t.payload };
3150
+ default:
3151
+ return e;
3152
+ }
3153
+ }, bn = k(null), Ne = () => {
3154
+ const e = me(bn);
3155
+ if (!e)
3156
+ throw new Error("useDropdownContext must be used inside <DropdownProvider>");
3157
+ return e;
3158
+ }, ms = ({
3159
+ children: e,
3160
+ defaultDirection: t = is.DropDownStart
3161
+ }) => {
3162
+ const [n, o] = Bt(fs, {
3163
+ isOpen: !1,
3164
+ direction: t
3165
+ }), r = {
3166
+ isOpen: n.isOpen,
3167
+ direction: n.direction,
3168
+ toggle: () => o({ type: "TOGGLE" }),
3169
+ close: () => o({ type: "CLOSE" }),
3170
+ setDirection: (a) => o({ type: "SET_DIRECTION", payload: a })
3171
+ };
3172
+ return /* @__PURE__ */ u(bn.Provider, { value: r, children: e });
3173
+ }, ps = ({
3174
+ el: e,
3175
+ children: t,
3176
+ className: n,
3177
+ disabled: o = !1,
3178
+ active: r = !1,
3179
+ onClick: a,
3180
+ ...s
3181
+ }) => {
3182
+ const { close: i } = Ne(), l = e || "button", c = () => {
3183
+ a && a(), i();
3184
+ }, d = [
3185
+ "dropdown-item",
3186
+ ...new Set(
3187
+ (n ?? "").split(/\s+/).filter(Boolean).filter((p) => p !== "dropdown-item")
3188
+ )
3189
+ ];
3190
+ r && d.push("active"), o && d.push("disabled");
3191
+ const f = d.join(" ");
3192
+ return /* @__PURE__ */ u("li", { children: $(l, { ...s, className: f, onClick: c }, t) });
3193
+ }, T = {
3194
+ DropDownStart: "dropdown-start",
3195
+ DropDownCenter: "dropdown-center",
3196
+ DropDownEnd: "dropdown-end",
3197
+ DropUpStart: "dropup-start",
3198
+ DropUpCenter: "dropup-center",
3199
+ DropUpEnd: "dropup-end",
3200
+ DropStart: "dropstart",
3201
+ DropEnd: "dropend"
3202
+ }, hs = (e) => {
3203
+ switch (e) {
3204
+ case T.DropDownStart:
3205
+ return { inset: "100% auto auto 0", transform: "translate(0, 0)" };
3206
+ case T.DropDownCenter:
3207
+ return { inset: "100% auto auto 50%", transform: "translate(-50%, 0)" };
3208
+ case T.DropDownEnd:
3209
+ return { inset: "100% 0 auto auto", transform: "translate(0, 0)" };
3210
+ case T.DropUpStart:
3211
+ return { inset: "auto auto 100% 0", transform: "translate(0, 0)" };
3212
+ case T.DropUpCenter:
3213
+ return { inset: "auto auto 100% 50%", transform: "translate(-50%, 0)" };
3214
+ case T.DropUpEnd:
3215
+ return { inset: "auto 0 100% auto", transform: "translate(0, 0)" };
3216
+ case T.DropStart:
3217
+ return { inset: "0 100% auto auto", transform: "translate(0, 0)" };
3218
+ case T.DropEnd:
3219
+ return { inset: "0 auto auto 100%", transform: "translate(0, 0)" };
3220
+ default:
3221
+ return {};
3222
+ }
3223
+ }, gs = ({
3224
+ children: e,
3225
+ className: t,
3226
+ style: n,
3227
+ ...o
3228
+ }) => {
3229
+ const { isOpen: r, direction: a } = Ne(), s = {
3230
+ ...hs(a),
3231
+ ...n
3232
+ }, i = [
3233
+ "dropdown-menu",
3234
+ ...new Set(
3235
+ (t ?? "").split(/\s+/).filter(Boolean).filter((l) => l !== "dropdown-menu")
3236
+ )
3237
+ ].join(" ");
3238
+ return /* @__PURE__ */ u("ul", { className: `${i}${r ? " show" : ""}`, style: s, ...o, children: e });
3239
+ }, vs = ({
3240
+ children: e,
3241
+ className: t = "",
3242
+ color: n = kt.Secondary,
3243
+ size: o,
3244
+ disabled: r = !1,
3245
+ active: a = !1,
3246
+ split: s = !1,
3247
+ onMainClick: i,
3248
+ ...l
3249
+ }) => {
3250
+ const { toggle: c, isOpen: d } = Ne(), f = `dropdown-toggle ${s ? "dropdown-toggle-split" : ""} ${t}`.trim();
3251
+ return /* @__PURE__ */ j(ne, { children: [
3252
+ s && /* @__PURE__ */ u(
3253
+ dt,
3254
+ {
3255
+ color: n,
3256
+ size: o,
3257
+ disabled: r,
3258
+ onClick: i,
3259
+ className: "main-btn",
3260
+ children: e
3261
+ }
3262
+ ),
3263
+ /* @__PURE__ */ u(
3264
+ dt,
3265
+ {
3266
+ className: f,
3267
+ color: n,
3268
+ size: o,
3269
+ disabled: r,
3270
+ active: a,
3271
+ "aria-expanded": d,
3272
+ onClick: c,
3273
+ ...l,
3274
+ children: s ? /* @__PURE__ */ u("span", { className: "visually-hidden", children: "Toggle Dropdown" }) : e
3275
+ }
3276
+ )
3277
+ ] });
3278
+ }, xs = ({ children: e, className: t, direction: n }) => {
3279
+ const { close: o, isOpen: r } = Ne(), a = K(null);
3280
+ F(() => {
3281
+ const l = (c) => {
3282
+ a.current && !a.current.contains(c.target) && o();
3283
+ };
3284
+ return r && document.addEventListener("mousedown", l), () => {
3285
+ document.removeEventListener("mousedown", l);
3286
+ };
3287
+ }, [r, o]);
3288
+ const s = [
3289
+ "btn-group",
3290
+ ...new Set(
3291
+ (t ?? "").split(/\s+/).filter(Boolean).filter((l) => l !== "btn-group")
3292
+ )
3293
+ ];
3294
+ n != null && n.startsWith("dropdown") && s.push("dropdown"), n != null && n.startsWith("dropup") && s.push("dropup"), n != null && n.startsWith("dropstart") && s.push("dropstart"), n != null && n.startsWith("dropend") && s.push("dropend");
3295
+ const i = s.join(" ");
3296
+ return /* @__PURE__ */ u("div", { className: i, ref: a, children: e });
3297
+ }, rt = ({
3298
+ children: e,
3299
+ className: t,
3300
+ direction: n
3301
+ }) => /* @__PURE__ */ u(ms, { defaultDirection: n, children: /* @__PURE__ */ u(xs, { className: t, direction: n, children: e }) });
3302
+ rt.Toggle = vs;
3303
+ rt.Menu = gs;
3304
+ rt.Item = ps;
3305
+ const ws = Object.fromEntries(
3306
+ Object.entries(I).map(([e, t]) => [e, `list-group-item-${t}`])
3307
+ ), Cn = k(null), bs = () => {
3308
+ const e = me(Cn);
3309
+ if (!e) throw new Error("ListGroup.Item must be used inside a <ListGroup>");
3310
+ return e;
3311
+ }, Cs = Cn.Provider, ys = (e) => e ? Array.isArray(e) ? e : [e] : [], Ss = ({
3312
+ el: e,
3313
+ children: t,
3314
+ color: n,
3315
+ className: o,
3316
+ disabled: r = !1,
3317
+ active: a = !1,
3318
+ ...s
3319
+ }) => {
3320
+ const { parentTag: i } = bs(), c = e || (i === "ul" || i === "ol" ? "li" : "button"), d = [
3321
+ ...ys(n)
3322
+ ], f = [
3323
+ { prop: n, set: new Set(Object.values(ws)) }
3324
+ ], x = ((o == null ? void 0 : o.split(" ").filter(Boolean)) ?? []).filter(
3325
+ (g) => !f.some(({ prop: h, set: y }) => h && y.has(g))
3326
+ ), w = /* @__PURE__ */ new Set([...d, ...x]), b = [
3327
+ "list-group-item",
3328
+ ...new Set(
3329
+ [...w].filter((g) => g !== "list-group-item")
3330
+ )
3331
+ ];
3332
+ (c === "a" || c === "button") && b.push("list-group-item-action"), a && b.push("active"), r && b.push("disabled");
3333
+ const v = b.join(" ");
3334
+ return $(c, { ...s, className: v }, t);
3335
+ }, Os = ({
3336
+ el: e,
3337
+ children: t,
3338
+ className: n,
3339
+ ...o
3340
+ }) => {
3341
+ const r = e || "ul", a = [
3342
+ "list-group",
3343
+ ...new Set(
3344
+ (n ?? "").split(/\s+/).filter(Boolean).filter((s) => s !== "list-group")
3345
+ )
3346
+ ].join(" ");
3347
+ return /* @__PURE__ */ u(Cs, { value: { parentTag: r }, children: $(r, { ...o, className: a }, t) });
3348
+ };
3349
+ Os.Item = Ss;
3350
+ const Es = {
3351
+ Sm: "modal-sm",
3352
+ Lg: "modal-lg",
3353
+ Xl: "modal-xl"
3354
+ }, Ea = {
3355
+ Always: "modal-fullscreen",
3356
+ SmDown: "modal-fullscreen-sm-down",
3357
+ MdDown: "modal-fullscreen-md-down",
3358
+ LgDown: "modal-fullscreen-lg-down",
3359
+ XlDown: "modal-fullscreen-xl-down",
3360
+ XxlDown: "modal-fullscreen-xxl-down"
3361
+ }, Mt = (e) => e ? Array.isArray(e) ? e : [e] : [], Ns = ({
3362
+ children: e,
3363
+ className: t,
3364
+ size: n,
3365
+ scrollable: o = !1,
3366
+ centered: r = !1,
3367
+ fullscreen: a = !1
3368
+ }) => {
3369
+ const s = [
3370
+ ...Mt(n),
3371
+ ...a === !0 ? ["modal-fullscreen"] : Mt(a)
3372
+ ].filter(Boolean), i = [
3373
+ { prop: n, set: new Set(Object.values(Es)) },
3374
+ { prop: a, set: new Set(Object.values(a)) }
3375
+ ], c = ((t == null ? void 0 : t.split(/\s+/).filter(Boolean)) ?? []).filter(
3376
+ (p) => !i.some(({ prop: x, set: w }) => x && w.has(p)) && (!o || p !== "modal-dialog-scrollable") && (!r || p !== "modal-dialog-centered")
3377
+ ), d = [
3378
+ "modal-dialog",
3379
+ o ? "modal-dialog-scrollable" : "",
3380
+ r ? "modal-dialog-centered" : "",
3381
+ .../* @__PURE__ */ new Set([...s, ...c])
3382
+ ].filter(Boolean).join(" ");
3383
+ return /* @__PURE__ */ u("div", { className: d, onClick: (p) => {
3384
+ p.stopPropagation();
3385
+ }, children: /* @__PURE__ */ u("div", { className: "modal-content", children: e }) });
3386
+ }, Ls = ({
3387
+ children: e,
3388
+ className: t
3389
+ }) => {
3390
+ const n = [
3391
+ "modal-body",
3392
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((o) => o !== "modal-body"))
3393
+ ].join(" ");
3394
+ return /* @__PURE__ */ u("div", { className: n, children: e });
3395
+ }, Rs = ({
3396
+ children: e,
3397
+ className: t
3398
+ }) => {
3399
+ const n = [
3400
+ "modal-header",
3401
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((o) => o !== "modal-header"))
3402
+ ].join(" ");
3403
+ return /* @__PURE__ */ u("div", { className: n, children: e });
3404
+ }, js = ({
3405
+ children: e,
3406
+ className: t
3407
+ }) => {
3408
+ const n = [
3409
+ "modal-footer",
3410
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((o) => o !== "modal-footer"))
3411
+ ].join(" ");
3412
+ return /* @__PURE__ */ u("div", { className: n, children: e });
3413
+ }, Le = ({
3414
+ children: e,
3415
+ className: t,
3416
+ show: n = !1,
3417
+ onClose: o,
3418
+ backdropClose: r = !0,
3419
+ ...a
3420
+ }) => {
3421
+ const l = "opacity 0.15s linear", c = "opacity 0.15s linear", [d, f] = L.useState(!1), [p, x] = L.useState(!1), w = L.useMemo(() => [
3422
+ "modal fade",
3423
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((h) => h !== "modal fade"))
3424
+ ].join(" "), [t]);
3425
+ L.useEffect(() => {
3426
+ if (n) {
3427
+ f(!0);
3428
+ const h = setTimeout(() => x(!0), 10);
3429
+ return () => clearTimeout(h);
3430
+ } else {
3431
+ x(!1);
3432
+ const h = setTimeout(() => f(!1), 150);
3433
+ return () => clearTimeout(h);
3434
+ }
3435
+ }, [n]), L.useEffect(() => {
3436
+ if (n) {
3437
+ const h = window.innerWidth - document.documentElement.clientWidth;
3438
+ document.body.style.overflow = "hidden", document.body.style.paddingRight = `${h}px`;
3439
+ } else
3440
+ document.body.style.overflow = "", document.body.style.paddingRight = "";
3441
+ return () => {
3442
+ document.body.style.overflow = "", document.body.style.paddingRight = "";
3443
+ };
3444
+ }, [n]), L.useEffect(() => {
3445
+ const h = (y) => {
3446
+ y.key === "Escape" && n && o && o();
3447
+ };
3448
+ if (n)
3449
+ return document.addEventListener("keydown", h), () => document.removeEventListener("keydown", h);
3450
+ }, [n, o]);
3451
+ const b = L.useCallback((h) => {
3452
+ r && o && h.target === h.currentTarget && o();
3453
+ }, [r, o]), v = L.useMemo(() => ({
3454
+ display: d ? "block" : "none",
3455
+ transition: l,
3456
+ opacity: p ? 1 : 0
3457
+ }), [d, p]), g = L.useMemo(() => ({
3458
+ transition: c,
3459
+ opacity: p ? 0.5 : 0
3460
+ }), [p]);
3461
+ return /* @__PURE__ */ j(ne, { children: [
3462
+ d && /* @__PURE__ */ u(
3463
+ "div",
3464
+ {
3465
+ className: `${w}${p ? " show" : ""}`,
3466
+ style: v,
3467
+ onClick: b,
3468
+ "aria-modal": "true",
3469
+ role: "dialog",
3470
+ tabIndex: -1,
3471
+ ...a,
3472
+ children: e
3473
+ }
3474
+ ),
3475
+ d && /* @__PURE__ */ u(
3476
+ "div",
3477
+ {
3478
+ className: `modal-backdrop fade${p ? " show" : ""}`,
3479
+ style: g
3480
+ }
3481
+ )
3482
+ ] });
3483
+ };
3484
+ Le.Dialog = Ns;
3485
+ Le.Header = Rs;
3486
+ Le.Body = Ls;
3487
+ Le.Footer = js;
3488
+ const As = ({
3489
+ children: e,
3490
+ className: t,
3491
+ ...n
3492
+ }) => {
3493
+ const o = [
3494
+ "nav-item",
3495
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((r) => r !== "nav-item"))
3496
+ ].join(" ");
3497
+ return /* @__PURE__ */ u("li", { className: o, ...n, children: e });
3498
+ }, Ms = ({
3499
+ children: e,
3500
+ className: t,
3501
+ to: n,
3502
+ active: o,
3503
+ disabled: r,
3504
+ ...a
3505
+ }) => {
3506
+ const s = [
3507
+ "nav-link",
3508
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((c) => c !== "nav-link"))
3509
+ ];
3510
+ o && s.push("active"), r && s.push("disabled");
3511
+ const i = s.join(" ");
3512
+ return /* @__PURE__ */ u(
3513
+ zt,
3514
+ {
3515
+ to: n,
3516
+ className: i,
3517
+ "aria-current": o ? "page" : void 0,
3518
+ ...r ? { tabIndex: -1 } : {},
3519
+ ...a,
3520
+ children: e
3521
+ }
3522
+ );
3523
+ }, yn = k(void 0), fe = () => {
3524
+ const e = me(yn);
3525
+ if (!e)
3526
+ throw new Error("useNavbar must be used within a <Navbar> component");
3527
+ return e;
3528
+ }, Bs = ({ children: e, defaultExpanded: t = !1 }) => {
3529
+ const [n, o] = _(t), r = () => o((a) => !a);
3530
+ return /* @__PURE__ */ u(yn.Provider, { value: { expanded: n, toggle: r }, children: e });
3531
+ }, Xs = ({
3532
+ children: e,
3533
+ className: t,
3534
+ ...n
3535
+ }) => {
3536
+ let o = !1;
3537
+ try {
3538
+ fe(), o = !0;
3539
+ } catch {
3540
+ }
3541
+ const r = [
3542
+ ...o ? ["navbar-nav"] : [],
3543
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((a) => !["nav", "navbar-nav"].includes(a)))
3544
+ ].join(" ");
3545
+ return /* @__PURE__ */ u("ul", { className: r, ...n, children: e });
3546
+ }, Sn = Xs;
3547
+ Sn.Item = As;
3548
+ Sn.Link = Ms;
3549
+ const Ds = ({
3550
+ el: e,
3551
+ children: t,
3552
+ className: n,
3553
+ ...o
3554
+ }) => {
3555
+ const r = e || "span", a = [
3556
+ "navbar-brand",
3557
+ ...new Set((n ?? "").split(/\s+/).filter(Boolean).filter((s) => s !== "navbar-brand"))
3558
+ ].join(" ");
3559
+ return $(r, { ...o, className: a }, t);
3560
+ }, ks = ({
3561
+ children: e,
3562
+ className: t,
3563
+ ...n
3564
+ }) => {
3565
+ const { toggle: o } = fe(), { expanded: r } = fe(), a = [
3566
+ "navbar-toggler",
3567
+ r ? "collapsed" : "",
3568
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((s) => s !== "navbar-toggler"))
3569
+ ].join(" ").trim();
3570
+ return /* @__PURE__ */ u(
3571
+ "button",
3572
+ {
3573
+ className: a,
3574
+ onClick: (s) => {
3575
+ var i;
3576
+ (i = n.onClick) == null || i.call(n, s), o();
3577
+ },
3578
+ ...n,
3579
+ children: e ?? /* @__PURE__ */ u("span", { className: "navbar-toggler-icon" })
3580
+ }
3581
+ );
3582
+ }, Ps = ({
3583
+ children: e,
3584
+ className: t,
3585
+ ...n
3586
+ }) => {
3587
+ const { expanded: o } = fe(), r = [
3588
+ "navbar-collapse",
3589
+ o ? "collapse show" : "collapse",
3590
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((a) => !["navbar-collapse", "collapse", "show"].includes(a)))
3591
+ ].join(" ");
3592
+ return /* @__PURE__ */ u("div", { className: r, ...n, children: e });
3593
+ }, Vs = ({ children: e, className: t, ...n }) => {
3594
+ const o = [
3595
+ "navbar",
3596
+ ...new Set(
3597
+ (t ?? "").split(/\s+/).filter(Boolean).filter((r) => r !== "navbar")
3598
+ )
3599
+ ].join(" ");
3600
+ return /* @__PURE__ */ u(Bs, { children: /* @__PURE__ */ u("nav", { className: o, ...n, children: e }) });
3601
+ }, Ts = (e) => /* @__PURE__ */ u(Ds, { ...e }), st = Vs;
3602
+ st.Brand = Ts;
3603
+ st.Toggle = ks;
3604
+ st.Collapse = Ps;
3605
+ const $s = ({ children: e, className: t }) => {
3606
+ const n = [
3607
+ "offcanvas-header",
3608
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((o) => o !== "offcanvas-header"))
3609
+ ].join(" ");
3610
+ return /* @__PURE__ */ u("div", { className: n, children: e });
3611
+ }, Is = ({ children: e, className: t }) => {
3612
+ const n = [
3613
+ "offcanvas-body",
3614
+ ...new Set((t ?? "").split(/\s+/).filter(Boolean).filter((o) => o !== "offcanvas-body"))
3615
+ ].join(" ");
3616
+ return /* @__PURE__ */ u("div", { className: n, children: e });
3617
+ }, ee = Object.fromEntries(
3618
+ Object.entries(Dt).map(([e, t]) => [e, `offcanvas-${t}`])
3619
+ ), Na = Object.fromEntries(
3620
+ Object.entries(pe).map(([e, t]) => [e, `offcanvas-${t}`])
3621
+ ), On = ({
3622
+ children: e,
3623
+ className: t,
3624
+ placement: n = ee.Start,
3625
+ responsive: o,
3626
+ show: r = !1,
3627
+ bodyScroll: a = !1,
3628
+ onClose: s,
3629
+ backdropClose: i = !0,
3630
+ ...l
3631
+ }) => {
3632
+ const f = "transform 0.3s ease-in-out", p = "opacity 0.15s linear", [x, w] = L.useState(!1), [b, v] = L.useState(!1), g = {
3633
+ [ee.Start]: "translateX(-100%)",
3634
+ [ee.End]: "translateX(100%)",
3635
+ [ee.Top]: "translateY(-100%)",
3636
+ [ee.Bottom]: "translateY(100%)"
3637
+ }, h = L.useMemo(() => [
3638
+ o || "offcanvas",
3639
+ n,
3640
+ ...new Set(
3641
+ (t ?? "").split(/\s+/).filter(Boolean).filter((O) => !O.startsWith("offcanvas"))
3642
+ )
3643
+ ].filter(Boolean).join(" "), [o, n, t]);
3644
+ L.useEffect(() => {
3645
+ if (r) {
3646
+ w(!0);
3647
+ const O = setTimeout(() => v(!0), 10);
3648
+ return () => clearTimeout(O);
3649
+ } else {
3650
+ v(!1);
3651
+ const O = setTimeout(() => w(!1), 300);
3652
+ return () => clearTimeout(O);
3653
+ }
3654
+ }, [r]), L.useEffect(() => {
3655
+ if (r && !a) {
3656
+ const O = window.innerWidth - document.documentElement.clientWidth;
3657
+ document.body.style.overflow = "hidden", document.body.style.paddingRight = `${O}px`;
3658
+ } else
3659
+ document.body.style.overflow = "", document.body.style.paddingRight = "";
3660
+ return () => {
3661
+ document.body.style.overflow = "", document.body.style.paddingRight = "";
3662
+ };
3663
+ }, [r, a]), L.useEffect(() => {
3664
+ const O = (E) => {
3665
+ E.key === "Escape" && r && s && s();
3666
+ };
3667
+ if (r)
3668
+ return document.addEventListener("keydown", O), () => document.removeEventListener("keydown", O);
3669
+ }, [r, s]);
3670
+ const y = L.useCallback(() => {
3671
+ i && s && s();
3672
+ }, [i, s]), C = L.useMemo(() => {
3673
+ const O = {
3674
+ visibility: x ? "visible" : "hidden",
3675
+ transition: f
3676
+ };
3677
+ return !b && x ? {
3678
+ ...O,
3679
+ transform: g[n] || "translateX(-100%)"
3680
+ } : { ...O, transform: "translate(0, 0)" };
3681
+ }, [x, b, n]), S = L.useMemo(() => ({
3682
+ transition: p,
3683
+ opacity: b ? 0.5 : 0
3684
+ }), [b]);
3685
+ return /* @__PURE__ */ j(ne, { children: [
3686
+ x && /* @__PURE__ */ u(
3687
+ "div",
3688
+ {
3689
+ className: `${h}${b ? " show" : ""}`,
3690
+ style: C,
3691
+ "data-bs-scroll": a ? "true" : "false",
3692
+ "aria-modal": "true",
3693
+ role: "dialog",
3694
+ tabIndex: -1,
3695
+ ...l,
3696
+ children: e
3697
+ }
3698
+ ),
3699
+ x && !a && /* @__PURE__ */ u(
3700
+ "div",
3701
+ {
3702
+ className: `offcanvas-backdrop fade${b ? " show" : ""}`,
3703
+ onClick: y,
3704
+ style: S
3705
+ }
3706
+ )
3707
+ ] });
3708
+ };
3709
+ On.Header = $s;
3710
+ On.Body = Is;
3711
+ const Gs = ({ children: e, isActive: t, isDisabled: n, to: o, className: r }) => {
3712
+ const a = [
3713
+ "page-item",
3714
+ n && "disabled",
3715
+ t && "active",
3716
+ ...new Set(
3717
+ (r ?? "").split(/\s+/).filter(Boolean).filter((s) => s !== "page-item")
3718
+ )
3719
+ ].filter(Boolean).join(" ");
3720
+ return /* @__PURE__ */ u("li", { className: a, children: /* @__PURE__ */ u("a", { className: "page-link", href: o, children: e }) });
3721
+ }, Ws = ({ className: e, children: t, size: n, alignment: o, ...r }) => {
3722
+ const a = [
3723
+ "pagination",
3724
+ n,
3725
+ // will only be added if truthy
3726
+ o,
3727
+ ...new Set(
3728
+ (e ?? "").split(/\s+/).filter(Boolean).filter((s) => s !== "pagination")
3729
+ )
3730
+ ].filter(Boolean).join(" ");
3731
+ return /* @__PURE__ */ u("nav", { "aria-label": "Page navigation", children: /* @__PURE__ */ u("ul", { className: a, ...r, children: t }) });
3732
+ };
3733
+ Ws.Item = Gs;
3734
+ const Hs = ({ label: e, children: t }) => /* @__PURE__ */ j("li", { className: "nav-item dropdown", children: [
3735
+ /* @__PURE__ */ u(
3736
+ "a",
3737
+ {
3738
+ className: "nav-link dropdown-toggle",
3739
+ href: "#",
3740
+ "data-bs-toggle": "dropdown",
3741
+ "aria-expanded": "false",
3742
+ children: e
3743
+ }
3744
+ ),
3745
+ /* @__PURE__ */ u("ul", { className: "dropdown-menu", children: t })
3746
+ ] }), _s = ({ href: e, label: t }) => /* @__PURE__ */ u("li", { className: "nav-item", children: /* @__PURE__ */ u("a", { className: "nav-link", href: e, children: t }) }), Fs = ({ children: e, className: t }) => /* @__PURE__ */ j("nav", { id: "navbar-example2", className: `navbar bg-light px-3 mb-3 ${t ?? ""}`, children: [
3747
+ /* @__PURE__ */ u("a", { className: "navbar-brand", href: "#", children: "Navbar" }),
3748
+ /* @__PURE__ */ u("ul", { className: "nav nav-pills", children: e })
3749
+ ] }), at = ({ children: e, className: t, height: n, target: o, ...r }) => {
3750
+ const a = K(null);
3751
+ return F(() => {
3752
+ a.current && console.warn("Scrollspy: Native implementation pending. Bootstrap JS dependency removed.");
3753
+ }, [o]), /* @__PURE__ */ u(
3754
+ "div",
3755
+ {
3756
+ ref: a,
3757
+ className: `scrollspy-example bg-light p-3 rounded-2 overflow-auto ${t ?? ""}`,
3758
+ tabIndex: 0,
3759
+ ...r,
3760
+ style: { height: n },
3761
+ children: e
3762
+ }
3763
+ );
3764
+ };
3765
+ at.Nav = Fs;
3766
+ at.Dropdown = Hs;
3767
+ at.NavItem = _s;
3768
+ const te = (e) => e ? Array.isArray(e) ? e : [e] : [], Zs = ({
3769
+ children: e,
3770
+ alignSelf: t,
3771
+ order: n,
3772
+ grow: o,
3773
+ shrink: r,
3774
+ fill: a,
3775
+ className: s,
3776
+ ...i
3777
+ }) => {
3778
+ const l = [
3779
+ ...te(t),
3780
+ ...te(n),
3781
+ ...te(o),
3782
+ ...te(r),
3783
+ ...te(a)
3784
+ ], c = [
3785
+ { prop: t, set: new Set(Object.values(Tt)) },
3786
+ { prop: n, set: new Set(Object.values(It)) },
3787
+ { prop: o, set: new Set(Object.values(zn)) },
3788
+ { prop: r, set: new Set(Object.values(Kn)) },
3789
+ { prop: a, set: new Set(Object.values(Yn)) }
3790
+ ], f = ((s == null ? void 0 : s.split(" ").filter(Boolean)) ?? []).filter(
3791
+ (x) => !c.some(({ prop: w, set: b }) => w && b.has(x))
3792
+ ), p = [...l, ...f].join(" ");
3793
+ return /* @__PURE__ */ u("div", { className: p, ...i, children: e });
3794
+ }, H = (e) => e ? Array.isArray(e) ? e : [e] : [], lt = ({
3795
+ children: e,
3796
+ behavior: t = ut.Flex,
3797
+ direction: n,
3798
+ alignItems: o,
3799
+ justifyContent: r,
3800
+ alignContent: a,
3801
+ wrap: s,
3802
+ gap: i,
3803
+ className: l,
3804
+ ...c
3805
+ }) => {
3806
+ const d = [
3807
+ ...H(t),
3808
+ ...H(n),
3809
+ ...H(o),
3810
+ ...H(r),
3811
+ ...H(a),
3812
+ ...H(s),
3813
+ ...H(i)
3814
+ ], f = [
3815
+ { prop: t, set: new Set(Object.values(ut)) },
3816
+ { prop: n, set: new Set(Object.values(_e)) },
3817
+ { prop: o, set: new Set(Object.values(Vt)) },
3818
+ { prop: r, set: new Set(Object.values($t)) },
3819
+ { prop: a, set: new Set(Object.values(Zn)) },
3820
+ { prop: s, set: new Set(Object.values(Fn)) },
3821
+ { prop: i, set: new Set(Object.values(Un)) }
3822
+ ], x = ((l == null ? void 0 : l.split(" ").filter(Boolean)) ?? []).filter(
3823
+ (b) => !f.some(({ prop: v, set: g }) => v && g.has(b))
3824
+ ), w = [...d, ...x].join(" ");
3825
+ return /* @__PURE__ */ u("div", { className: w, ...c, children: e });
3826
+ };
3827
+ lt.Item = Zs;
3828
+ const La = (e) => /* @__PURE__ */ u(lt, { direction: _e.Row, ...e }), Ra = (e) => /* @__PURE__ */ u(lt, { direction: _e.Column, ...e }), Us = Object.fromEntries(
3829
+ Object.entries(I).map(([e, t]) => [e, `bg-${t}`])
3830
+ ), zs = {
3831
+ TopStart: "top-0 start-0",
3832
+ TopCenter: "top-0 start-50 translate-middle-x",
3833
+ TopEnd: "top-0 end-0",
3834
+ MiddleStart: "top-50 start-0 translate-middle-y",
3835
+ MiddleCenter: "top-50 start-50 translate-middle",
3836
+ MiddleEnd: "top-50 end-0 translate-middle-y",
3837
+ BottomStart: "bottom-0 start-0",
3838
+ BottomCenter: "bottom-0 start-50 translate-middle-x",
3839
+ BottomEnd: "bottom-0 end-0"
3840
+ }, Ks = (e) => e ? Array.isArray(e) ? e : [e] : [], ja = ({
3841
+ children: e,
3842
+ className: t,
3843
+ show: n = !1,
3844
+ onClose: o,
3845
+ autohide: r = !1,
3846
+ delay: a = 5e3,
3847
+ bg: s,
3848
+ header: i,
3849
+ headerImage: l,
3850
+ headerImageAlt: c = "",
3851
+ headerText: d,
3852
+ headerSmall: f,
3853
+ body: p,
3854
+ animation: x = !0,
3855
+ ...w
3856
+ }) => {
3857
+ const [b, v] = _(n), [g, h] = _(!1);
3858
+ F(() => {
3859
+ if (n)
3860
+ v(!0), setTimeout(() => h(!0), 10);
3861
+ else {
3862
+ h(!1);
3863
+ const D = setTimeout(() => v(!1), 300);
3864
+ return () => clearTimeout(D);
3865
+ }
3866
+ }, [n]), F(() => {
3867
+ if (r && g) {
3868
+ const D = setTimeout(() => {
3869
+ y();
3870
+ }, a);
3871
+ return () => clearTimeout(D);
3872
+ }
3873
+ }, [r, a, g]);
3874
+ const y = () => {
3875
+ h(!1), setTimeout(() => {
3876
+ v(!1), o == null || o();
3877
+ }, 300);
3878
+ };
3879
+ if (!b) return null;
3880
+ const C = [
3881
+ ...Ks(s)
3882
+ ], S = [
3883
+ { prop: s, set: new Set(Object.values(Us)) }
3884
+ ], E = ((t == null ? void 0 : t.split(" ").filter(Boolean)) ?? []).filter(
3885
+ (D) => !S.some(({ prop: Re, set: it }) => Re && it.has(D))
3886
+ ), A = /* @__PURE__ */ new Set([...C, ...E]), N = [
3887
+ "toast",
3888
+ g ? "show" : "",
3889
+ x ? "fade" : "",
3890
+ ...new Set(
3891
+ [...A].filter((D) => D !== "toast")
3892
+ )
3893
+ ].filter(Boolean).join(" "), P = s != null && s.includes("dark") || s != null && s.includes("primary") || s != null && s.includes("secondary") || s != null && s.includes("success") || s != null && s.includes("danger") || s != null && s.includes("info") ? "text-white" : "", V = l || d || f;
3894
+ return /* @__PURE__ */ j(
3895
+ "div",
3896
+ {
3897
+ className: N,
3898
+ role: "alert",
3899
+ "aria-live": "assertive",
3900
+ "aria-atomic": "true",
3901
+ ...w,
3902
+ children: [
3903
+ (i || V) && /* @__PURE__ */ j("div", { className: `toast-header ${P}`, children: [
3904
+ l && /* @__PURE__ */ u(
3905
+ "img",
3906
+ {
3907
+ src: l,
3908
+ className: "rounded me-2",
3909
+ alt: c,
3910
+ style: { width: "20px", height: "20px" }
3911
+ }
3912
+ ),
3913
+ d && /* @__PURE__ */ u("strong", { className: "me-auto", children: d }),
3914
+ f && /* @__PURE__ */ u("small", { children: f }),
3915
+ i && !V && i,
3916
+ /* @__PURE__ */ u(
3917
+ "button",
3918
+ {
3919
+ type: "button",
3920
+ className: "btn-close",
3921
+ "aria-label": "Close",
3922
+ onClick: y
3923
+ }
3924
+ )
3925
+ ] }),
3926
+ (p || e) && /* @__PURE__ */ j("div", { className: `toast-body ${P}`, children: [
3927
+ p || e,
3928
+ !i && !V && /* @__PURE__ */ u("div", { className: "mt-2 pt-2 border-top d-flex gap-2", children: /* @__PURE__ */ u(
3929
+ "button",
3930
+ {
3931
+ type: "button",
3932
+ className: "btn btn-sm",
3933
+ onClick: y,
3934
+ children: "Close"
3935
+ }
3936
+ ) })
3937
+ ] })
3938
+ ]
3939
+ }
3940
+ );
3941
+ }, Aa = ({
3942
+ children: e,
3943
+ className: t = "",
3944
+ placement: n = zs.TopEnd,
3945
+ position: o = "fixed",
3946
+ ...r
3947
+ }) => {
3948
+ const a = [
3949
+ "toast-container",
3950
+ o === "fixed" ? "position-fixed" : "",
3951
+ n,
3952
+ "p-3",
3953
+ t
3954
+ ].filter(Boolean).join(" ");
3955
+ return /* @__PURE__ */ u("div", { className: a, ...r, children: e });
3956
+ }, Ma = {
3957
+ Sidebar: "layout-sidebar",
3958
+ FullSidebar: "layout-full-sidebar",
3959
+ OverlaySidebar: "layout-overlay-sidebar"
3960
+ }, Ys = ["Sm", "Lg"], Ba = Object.fromEntries(
3961
+ Ys.map((e) => [e, `pagination-${pe[e]}`])
3962
+ ), Js = ["Start", "End", "Center"], Xa = Object.fromEntries(
3963
+ Js.map((e) => [e, `justify-content-${Rn[e]}`])
3964
+ );
3965
+ export {
3966
+ so as Accordion,
3967
+ ro as AccordionItem,
3968
+ ta as Alert,
3969
+ jn as AlertColor,
3970
+ Zn as AlignContent,
3971
+ Vt as AlignItems,
3972
+ Tt as AlignSelf,
3973
+ na as Badge,
3974
+ Mn as BadgeColor,
3975
+ Dn as BadgePlacement,
3976
+ Xn as BadgePosition,
3977
+ Bn as BadgeRounded,
3978
+ Rn as BaseAlignment,
3979
+ I as BaseColors,
3980
+ Ln as BaseOverflow,
3981
+ Dt as BasePosition,
3982
+ pe as BaseSize,
3983
+ Nn as BaseWidth,
3984
+ ko as Breadcrumb,
3985
+ Do as BreadcrumbItem,
3986
+ dt as Button,
3987
+ kt as ButtonColor,
3988
+ oa as ButtonGroup,
3989
+ Vn as ButtonGroupSize,
3990
+ Pn as ButtonSize,
3991
+ J as Card,
3992
+ Vo as CardBody,
3993
+ Po as CardColor,
3994
+ Go as CardFooter,
3995
+ Io as CardHeader,
3996
+ $o as CardImage,
3997
+ xt as CardImagePlacement,
3998
+ Ho as CardText,
3999
+ Wo as CardTitle,
4000
+ Qn as Col,
4001
+ wa as Column,
4002
+ va as Container,
4003
+ _n as ContainerSize,
4004
+ rt as Dropdown,
4005
+ T as DropdownDirection,
4006
+ ps as DropdownItem,
4007
+ gs as DropdownMenu,
4008
+ vs as DropdownToggle,
4009
+ Yn as Fill,
4010
+ Un as Gap,
4011
+ zn as Grow,
4012
+ qn as Gutter,
4013
+ La as HStack,
4014
+ ma as Heading,
4015
+ fa as Icon,
4016
+ $t as JustifyContent,
4017
+ Wn as LabelOverflow,
4018
+ ba as Layout,
4019
+ Sa as LayoutContent,
4020
+ Oa as LayoutFooter,
4021
+ Ca as LayoutHeader,
4022
+ ya as LayoutSidebar,
4023
+ Ma as LayoutType,
4024
+ Os as ListGroup,
4025
+ Ss as ListGroupItem,
4026
+ ws as ListGroupItemColor,
4027
+ Le as Modal,
4028
+ Ls as ModalBody,
4029
+ Ns as ModalDialog,
4030
+ js as ModalFooter,
4031
+ Ea as ModalFullscreen,
4032
+ Rs as ModalHeader,
4033
+ Es as ModalSize,
4034
+ Sn as Nav,
4035
+ As as NavItem,
4036
+ Ms as NavLink,
4037
+ st as Navbar,
4038
+ Ds as NavbarBrand,
4039
+ Ps as NavbarCollapse,
4040
+ ks as NavbarToggler,
4041
+ On as Offcanvas,
4042
+ Is as OffcanvasBody,
4043
+ $s as OffcanvasHeader,
4044
+ ee as OffcanvasPlacement,
4045
+ Na as OffcanvasResponsive,
4046
+ eo as Offset,
4047
+ It as Order,
4048
+ Ws as Pagination,
4049
+ Xa as PaginationAlignment,
4050
+ Gs as PaginationItem,
4051
+ Ba as PaginationSize,
4052
+ ua as Popover,
4053
+ ca as Progress,
4054
+ la as ProgressColor,
4055
+ ia as ProgressWidth,
4056
+ xa as Row,
4057
+ Jn as RowCols,
4058
+ at as Scrollspy,
4059
+ Hs as ScrollspyDropdown,
4060
+ Fs as ScrollspyNav,
4061
+ _s as ScrollspyNavItem,
4062
+ Kn as Shrink,
4063
+ aa as Spinner,
4064
+ sa as SpinnerColor,
4065
+ ra as SpinnerSize,
4066
+ $n as SpinnerType,
4067
+ lt as Stack,
4068
+ ut as StackBehavior,
4069
+ _e as StackDirection,
4070
+ Zs as StackItem,
4071
+ Fn as StackWrap,
4072
+ ga as Table,
4073
+ pa as Text,
4074
+ ja as Toast,
4075
+ Us as ToastBg,
4076
+ Aa as ToastContainer,
4077
+ zs as ToastPlacement,
4078
+ da as Tooltip,
4079
+ R as TooltipPlacement,
4080
+ Ra as VStack,
4081
+ ha as Wrapper
4082
+ };
4083
+ //# sourceMappingURL=index.mjs.map