@raspberrypifoundation/design-system-react 2.1.0 → 2.2.0-beta.2

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.
@@ -1,5 +1,5 @@
1
- import { jsxs as q, jsx as R, Fragment as je } from "react/jsx-runtime";
2
- import * as p from "react";
1
+ import { jsxs as q, jsx as C, Fragment as Me } from "react/jsx-runtime";
2
+ import * as d from "react";
3
3
  import Tt from "react";
4
4
  function st(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -16,9 +16,9 @@ function St() {
16
16
  (function() {
17
17
  var t = {}.hasOwnProperty;
18
18
  function r() {
19
- for (var a = "", o = 0; o < arguments.length; o++) {
20
- var l = arguments[o];
21
- l && (a = n(a, i(l)));
19
+ for (var a = "", l = 0; l < arguments.length; l++) {
20
+ var o = arguments[l];
21
+ o && (a = n(a, i(o)));
22
22
  }
23
23
  return a;
24
24
  }
@@ -31,13 +31,13 @@ function St() {
31
31
  return r.apply(null, a);
32
32
  if (a.toString !== Object.prototype.toString && !a.toString.toString().includes("[native code]"))
33
33
  return a.toString();
34
- var o = "";
35
- for (var l in a)
36
- t.call(a, l) && a[l] && (o = n(o, l));
37
- return o;
34
+ var l = "";
35
+ for (var o in a)
36
+ t.call(a, o) && a[o] && (l = n(l, o));
37
+ return l;
38
38
  }
39
- function n(a, o) {
40
- return o ? a ? a + " " + o : a + o : a;
39
+ function n(a, l) {
40
+ return l ? a ? a + " " + l : a + l : a;
41
41
  }
42
42
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
43
43
  })();
@@ -45,7 +45,7 @@ function St() {
45
45
  }
46
46
  var Pt = St();
47
47
  const B = /* @__PURE__ */ st(Pt);
48
- var fe = { exports: {} }, de = { exports: {} }, j = {};
48
+ var fe = { exports: {} }, de = { exports: {} }, M = {};
49
49
  /** @license React v16.13.1
50
50
  * react-is.production.min.js
51
51
  *
@@ -56,29 +56,29 @@ var fe = { exports: {} }, de = { exports: {} }, j = {};
56
56
  */
57
57
  var Je;
58
58
  function _t() {
59
- if (Je) return j;
59
+ if (Je) return M;
60
60
  Je = 1;
61
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
62
- function T(g) {
61
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
62
+ function S(g) {
63
63
  if (typeof g == "object" && g !== null) {
64
64
  var U = g.$$typeof;
65
65
  switch (U) {
66
66
  case t:
67
67
  switch (g = g.type, g) {
68
- case c:
69
68
  case u:
69
+ case c:
70
70
  case i:
71
71
  case a:
72
72
  case n:
73
- case v:
73
+ case h:
74
74
  return g;
75
75
  default:
76
76
  switch (g = g && g.$$typeof, g) {
77
- case l:
78
- case d:
79
- case h:
80
- case b:
81
77
  case o:
78
+ case f:
79
+ case m:
80
+ case v:
81
+ case l:
82
82
  return g;
83
83
  default:
84
84
  return U;
@@ -89,38 +89,38 @@ function _t() {
89
89
  }
90
90
  }
91
91
  }
92
- function k(g) {
93
- return T(g) === u;
92
+ function N(g) {
93
+ return S(g) === c;
94
94
  }
95
- return j.AsyncMode = c, j.ConcurrentMode = u, j.ContextConsumer = l, j.ContextProvider = o, j.Element = t, j.ForwardRef = d, j.Fragment = i, j.Lazy = h, j.Memo = b, j.Portal = r, j.Profiler = a, j.StrictMode = n, j.Suspense = v, j.isAsyncMode = function(g) {
96
- return k(g) || T(g) === c;
97
- }, j.isConcurrentMode = k, j.isContextConsumer = function(g) {
98
- return T(g) === l;
99
- }, j.isContextProvider = function(g) {
100
- return T(g) === o;
101
- }, j.isElement = function(g) {
95
+ return M.AsyncMode = u, M.ConcurrentMode = c, M.ContextConsumer = o, M.ContextProvider = l, M.Element = t, M.ForwardRef = f, M.Fragment = i, M.Lazy = m, M.Memo = v, M.Portal = r, M.Profiler = a, M.StrictMode = n, M.Suspense = h, M.isAsyncMode = function(g) {
96
+ return N(g) || S(g) === u;
97
+ }, M.isConcurrentMode = N, M.isContextConsumer = function(g) {
98
+ return S(g) === o;
99
+ }, M.isContextProvider = function(g) {
100
+ return S(g) === l;
101
+ }, M.isElement = function(g) {
102
102
  return typeof g == "object" && g !== null && g.$$typeof === t;
103
- }, j.isForwardRef = function(g) {
104
- return T(g) === d;
105
- }, j.isFragment = function(g) {
106
- return T(g) === i;
107
- }, j.isLazy = function(g) {
108
- return T(g) === h;
109
- }, j.isMemo = function(g) {
110
- return T(g) === b;
111
- }, j.isPortal = function(g) {
112
- return T(g) === r;
113
- }, j.isProfiler = function(g) {
114
- return T(g) === a;
115
- }, j.isStrictMode = function(g) {
116
- return T(g) === n;
117
- }, j.isSuspense = function(g) {
118
- return T(g) === v;
119
- }, j.isValidElementType = function(g) {
120
- return typeof g == "string" || typeof g == "function" || g === i || g === u || g === a || g === n || g === v || g === f || typeof g == "object" && g !== null && (g.$$typeof === h || g.$$typeof === b || g.$$typeof === o || g.$$typeof === l || g.$$typeof === d || g.$$typeof === C || g.$$typeof === y || g.$$typeof === N || g.$$typeof === E);
121
- }, j.typeOf = T, j;
122
- }
123
- var M = {};
103
+ }, M.isForwardRef = function(g) {
104
+ return S(g) === f;
105
+ }, M.isFragment = function(g) {
106
+ return S(g) === i;
107
+ }, M.isLazy = function(g) {
108
+ return S(g) === m;
109
+ }, M.isMemo = function(g) {
110
+ return S(g) === v;
111
+ }, M.isPortal = function(g) {
112
+ return S(g) === r;
113
+ }, M.isProfiler = function(g) {
114
+ return S(g) === a;
115
+ }, M.isStrictMode = function(g) {
116
+ return S(g) === n;
117
+ }, M.isSuspense = function(g) {
118
+ return S(g) === h;
119
+ }, M.isValidElementType = function(g) {
120
+ return typeof g == "string" || typeof g == "function" || g === i || g === c || g === a || g === n || g === h || g === p || typeof g == "object" && g !== null && (g.$$typeof === m || g.$$typeof === v || g.$$typeof === l || g.$$typeof === o || g.$$typeof === f || g.$$typeof === R || g.$$typeof === b || g.$$typeof === T || g.$$typeof === x);
121
+ }, M.typeOf = S, M;
122
+ }
123
+ var j = {};
124
124
  /** @license React v16.13.1
125
125
  * react-is.development.js
126
126
  *
@@ -132,33 +132,33 @@ var M = {};
132
132
  var Ke;
133
133
  function Ot() {
134
134
  return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
135
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
136
- function T(w) {
137
- return typeof w == "string" || typeof w == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
138
- w === i || w === u || w === a || w === n || w === v || w === f || typeof w == "object" && w !== null && (w.$$typeof === h || w.$$typeof === b || w.$$typeof === o || w.$$typeof === l || w.$$typeof === d || w.$$typeof === C || w.$$typeof === y || w.$$typeof === N || w.$$typeof === E);
139
- }
140
- function k(w) {
141
- if (typeof w == "object" && w !== null) {
142
- var K = w.$$typeof;
135
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
136
+ function S(E) {
137
+ return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
138
+ E === i || E === c || E === a || E === n || E === h || E === p || typeof E == "object" && E !== null && (E.$$typeof === m || E.$$typeof === v || E.$$typeof === l || E.$$typeof === o || E.$$typeof === f || E.$$typeof === R || E.$$typeof === b || E.$$typeof === T || E.$$typeof === x);
139
+ }
140
+ function N(E) {
141
+ if (typeof E == "object" && E !== null) {
142
+ var K = E.$$typeof;
143
143
  switch (K) {
144
144
  case t:
145
- var ce = w.type;
145
+ var ce = E.type;
146
146
  switch (ce) {
147
- case c:
148
147
  case u:
148
+ case c:
149
149
  case i:
150
150
  case a:
151
151
  case n:
152
- case v:
152
+ case h:
153
153
  return ce;
154
154
  default:
155
155
  var He = ce && ce.$$typeof;
156
156
  switch (He) {
157
- case l:
158
- case d:
159
- case h:
160
- case b:
161
157
  case o:
158
+ case f:
159
+ case m:
160
+ case v:
161
+ case l:
162
162
  return He;
163
163
  default:
164
164
  return K;
@@ -169,48 +169,48 @@ function Ot() {
169
169
  }
170
170
  }
171
171
  }
172
- var g = c, U = u, Y = l, V = o, F = t, H = d, ee = i, we = h, xe = b, ae = r, Re = a, J = n, te = v, ue = !1;
173
- function Ce(w) {
174
- return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), m(w) || k(w) === c;
172
+ var g = u, U = c, Y = o, V = l, F = t, H = f, ee = i, we = m, xe = v, ae = r, Re = a, J = n, te = h, ue = !1;
173
+ function Ce(E) {
174
+ return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(E) || N(E) === u;
175
175
  }
176
- function m(w) {
177
- return k(w) === u;
176
+ function y(E) {
177
+ return N(E) === c;
178
178
  }
179
- function x(w) {
180
- return k(w) === l;
179
+ function w(E) {
180
+ return N(E) === o;
181
181
  }
182
- function $(w) {
183
- return k(w) === o;
182
+ function $(E) {
183
+ return N(E) === l;
184
184
  }
185
- function _(w) {
186
- return typeof w == "object" && w !== null && w.$$typeof === t;
185
+ function O(E) {
186
+ return typeof E == "object" && E !== null && E.$$typeof === t;
187
187
  }
188
- function S(w) {
189
- return k(w) === d;
188
+ function P(E) {
189
+ return N(E) === f;
190
190
  }
191
- function I(w) {
192
- return k(w) === i;
191
+ function I(E) {
192
+ return N(E) === i;
193
193
  }
194
- function P(w) {
195
- return k(w) === h;
194
+ function _(E) {
195
+ return N(E) === m;
196
196
  }
197
- function O(w) {
198
- return k(w) === b;
197
+ function k(E) {
198
+ return N(E) === v;
199
199
  }
200
- function A(w) {
201
- return k(w) === r;
200
+ function A(E) {
201
+ return N(E) === r;
202
202
  }
203
- function D(w) {
204
- return k(w) === a;
203
+ function D(E) {
204
+ return N(E) === a;
205
205
  }
206
- function L(w) {
207
- return k(w) === n;
206
+ function L(E) {
207
+ return N(E) === n;
208
208
  }
209
- function z(w) {
210
- return k(w) === v;
209
+ function z(E) {
210
+ return N(E) === h;
211
211
  }
212
- M.AsyncMode = g, M.ConcurrentMode = U, M.ContextConsumer = Y, M.ContextProvider = V, M.Element = F, M.ForwardRef = H, M.Fragment = ee, M.Lazy = we, M.Memo = xe, M.Portal = ae, M.Profiler = Re, M.StrictMode = J, M.Suspense = te, M.isAsyncMode = Ce, M.isConcurrentMode = m, M.isContextConsumer = x, M.isContextProvider = $, M.isElement = _, M.isForwardRef = S, M.isFragment = I, M.isLazy = P, M.isMemo = O, M.isPortal = A, M.isProfiler = D, M.isStrictMode = L, M.isSuspense = z, M.isValidElementType = T, M.typeOf = k;
213
- }()), M;
212
+ j.AsyncMode = g, j.ConcurrentMode = U, j.ContextConsumer = Y, j.ContextProvider = V, j.Element = F, j.ForwardRef = H, j.Fragment = ee, j.Lazy = we, j.Memo = xe, j.Portal = ae, j.Profiler = Re, j.StrictMode = J, j.Suspense = te, j.isAsyncMode = Ce, j.isConcurrentMode = y, j.isContextConsumer = w, j.isContextProvider = $, j.isElement = O, j.isForwardRef = P, j.isFragment = I, j.isLazy = _, j.isMemo = k, j.isPortal = A, j.isProfiler = D, j.isStrictMode = L, j.isSuspense = z, j.isValidElementType = S, j.typeOf = N;
213
+ }()), j;
214
214
  }
215
215
  var Ge;
216
216
  function ut() {
@@ -222,7 +222,7 @@ object-assign
222
222
  @license MIT
223
223
  */
224
224
  var Se, Xe;
225
- function $t() {
225
+ function kt() {
226
226
  if (Xe) return Se;
227
227
  Xe = 1;
228
228
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
@@ -238,37 +238,37 @@ function $t() {
238
238
  var a = new String("abc");
239
239
  if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
240
240
  return !1;
241
- for (var o = {}, l = 0; l < 10; l++)
242
- o["_" + String.fromCharCode(l)] = l;
243
- var c = Object.getOwnPropertyNames(o).map(function(d) {
244
- return o[d];
241
+ for (var l = {}, o = 0; o < 10; o++)
242
+ l["_" + String.fromCharCode(o)] = o;
243
+ var u = Object.getOwnPropertyNames(l).map(function(f) {
244
+ return l[f];
245
245
  });
246
- if (c.join("") !== "0123456789")
246
+ if (u.join("") !== "0123456789")
247
247
  return !1;
248
- var u = {};
249
- return "abcdefghijklmnopqrst".split("").forEach(function(d) {
250
- u[d] = d;
251
- }), Object.keys(Object.assign({}, u)).join("") === "abcdefghijklmnopqrst";
248
+ var c = {};
249
+ return "abcdefghijklmnopqrst".split("").forEach(function(f) {
250
+ c[f] = f;
251
+ }), Object.keys(Object.assign({}, c)).join("") === "abcdefghijklmnopqrst";
252
252
  } catch {
253
253
  return !1;
254
254
  }
255
255
  }
256
- return Se = n() ? Object.assign : function(a, o) {
257
- for (var l, c = i(a), u, d = 1; d < arguments.length; d++) {
258
- l = Object(arguments[d]);
259
- for (var v in l)
260
- t.call(l, v) && (c[v] = l[v]);
256
+ return Se = n() ? Object.assign : function(a, l) {
257
+ for (var o, u = i(a), c, f = 1; f < arguments.length; f++) {
258
+ o = Object(arguments[f]);
259
+ for (var h in o)
260
+ t.call(o, h) && (u[h] = o[h]);
261
261
  if (e) {
262
- u = e(l);
263
- for (var f = 0; f < u.length; f++)
264
- r.call(l, u[f]) && (c[u[f]] = l[u[f]]);
262
+ c = e(o);
263
+ for (var p = 0; p < c.length; p++)
264
+ r.call(o, c[p]) && (u[c[p]] = o[c[p]]);
265
265
  }
266
266
  }
267
- return c;
267
+ return u;
268
268
  }, Se;
269
269
  }
270
270
  var Pe, Ze;
271
- function Me() {
271
+ function je() {
272
272
  if (Ze) return Pe;
273
273
  Ze = 1;
274
274
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
@@ -279,45 +279,45 @@ function ct() {
279
279
  return Qe || (Qe = 1, _e = Function.call.bind(Object.prototype.hasOwnProperty)), _e;
280
280
  }
281
281
  var Oe, et;
282
- function kt() {
282
+ function $t() {
283
283
  if (et) return Oe;
284
284
  et = 1;
285
285
  var e = function() {
286
286
  };
287
287
  if (process.env.NODE_ENV !== "production") {
288
- var t = /* @__PURE__ */ Me(), r = {}, i = /* @__PURE__ */ ct();
288
+ var t = /* @__PURE__ */ je(), r = {}, i = /* @__PURE__ */ ct();
289
289
  e = function(a) {
290
- var o = "Warning: " + a;
291
- typeof console < "u" && console.error(o);
290
+ var l = "Warning: " + a;
291
+ typeof console < "u" && console.error(l);
292
292
  try {
293
- throw new Error(o);
293
+ throw new Error(l);
294
294
  } catch {
295
295
  }
296
296
  };
297
297
  }
298
- function n(a, o, l, c, u) {
298
+ function n(a, l, o, u, c) {
299
299
  if (process.env.NODE_ENV !== "production") {
300
- for (var d in a)
301
- if (i(a, d)) {
302
- var v;
300
+ for (var f in a)
301
+ if (i(a, f)) {
302
+ var h;
303
303
  try {
304
- if (typeof a[d] != "function") {
305
- var f = Error(
306
- (c || "React class") + ": " + l + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
304
+ if (typeof a[f] != "function") {
305
+ var p = Error(
306
+ (u || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
307
307
  );
308
- throw f.name = "Invariant Violation", f;
308
+ throw p.name = "Invariant Violation", p;
309
309
  }
310
- v = a[d](o, d, c, l, null, t);
311
- } catch (h) {
312
- v = h;
310
+ h = a[f](l, f, u, o, null, t);
311
+ } catch (m) {
312
+ h = m;
313
313
  }
314
- if (v && !(v instanceof Error) && e(
315
- (c || "React class") + ": type specification of " + l + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof v + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
316
- ), v instanceof Error && !(v.message in r)) {
317
- r[v.message] = !0;
318
- var b = u ? u() : "";
314
+ if (h && !(h instanceof Error) && e(
315
+ (u || "React class") + ": type specification of " + o + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
316
+ ), h instanceof Error && !(h.message in r)) {
317
+ r[h.message] = !0;
318
+ var v = c ? c() : "";
319
319
  e(
320
- "Failed " + l + " type: " + v.message + (b ?? "")
320
+ "Failed " + o + " type: " + h.message + (v ?? "")
321
321
  );
322
322
  }
323
323
  }
@@ -327,42 +327,42 @@ function kt() {
327
327
  process.env.NODE_ENV !== "production" && (r = {});
328
328
  }, Oe = n, Oe;
329
329
  }
330
- var $e, tt;
330
+ var ke, tt;
331
331
  function Nt() {
332
- if (tt) return $e;
332
+ if (tt) return ke;
333
333
  tt = 1;
334
- var e = ut(), t = $t(), r = /* @__PURE__ */ Me(), i = /* @__PURE__ */ ct(), n = /* @__PURE__ */ kt(), a = function() {
334
+ var e = ut(), t = kt(), r = /* @__PURE__ */ je(), i = /* @__PURE__ */ ct(), n = /* @__PURE__ */ $t(), a = function() {
335
335
  };
336
- process.env.NODE_ENV !== "production" && (a = function(l) {
337
- var c = "Warning: " + l;
338
- typeof console < "u" && console.error(c);
336
+ process.env.NODE_ENV !== "production" && (a = function(o) {
337
+ var u = "Warning: " + o;
338
+ typeof console < "u" && console.error(u);
339
339
  try {
340
- throw new Error(c);
340
+ throw new Error(u);
341
341
  } catch {
342
342
  }
343
343
  });
344
- function o() {
344
+ function l() {
345
345
  return null;
346
346
  }
347
- return $e = function(l, c) {
348
- var u = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
349
- function v(m) {
350
- var x = m && (u && m[u] || m[d]);
351
- if (typeof x == "function")
352
- return x;
353
- }
354
- var f = "<<anonymous>>", b = {
355
- array: y("array"),
356
- bigint: y("bigint"),
357
- bool: y("boolean"),
358
- func: y("function"),
359
- number: y("number"),
360
- object: y("object"),
361
- string: y("string"),
362
- symbol: y("symbol"),
363
- any: N(),
364
- arrayOf: T,
365
- element: k(),
347
+ return ke = function(o, u) {
348
+ var c = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
349
+ function h(y) {
350
+ var w = y && (c && y[c] || y[f]);
351
+ if (typeof w == "function")
352
+ return w;
353
+ }
354
+ var p = "<<anonymous>>", v = {
355
+ array: b("array"),
356
+ bigint: b("bigint"),
357
+ bool: b("boolean"),
358
+ func: b("function"),
359
+ number: b("number"),
360
+ object: b("object"),
361
+ string: b("string"),
362
+ symbol: b("symbol"),
363
+ any: T(),
364
+ arrayOf: S,
365
+ element: N(),
366
366
  elementType: g(),
367
367
  instanceOf: U,
368
368
  node: H(),
@@ -372,234 +372,234 @@ function Nt() {
372
372
  shape: we,
373
373
  exact: xe
374
374
  };
375
- function h(m, x) {
376
- return m === x ? m !== 0 || 1 / m === 1 / x : m !== m && x !== x;
375
+ function m(y, w) {
376
+ return y === w ? y !== 0 || 1 / y === 1 / w : y !== y && w !== w;
377
377
  }
378
- function E(m, x) {
379
- this.message = m, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
378
+ function x(y, w) {
379
+ this.message = y, this.data = w && typeof w == "object" ? w : {}, this.stack = "";
380
380
  }
381
- E.prototype = Error.prototype;
382
- function C(m) {
381
+ x.prototype = Error.prototype;
382
+ function R(y) {
383
383
  if (process.env.NODE_ENV !== "production")
384
- var x = {}, $ = 0;
385
- function _(I, P, O, A, D, L, z) {
386
- if (A = A || f, L = L || O, z !== r) {
387
- if (c) {
388
- var w = new Error(
384
+ var w = {}, $ = 0;
385
+ function O(I, _, k, A, D, L, z) {
386
+ if (A = A || p, L = L || k, z !== r) {
387
+ if (u) {
388
+ var E = new Error(
389
389
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
390
390
  );
391
- throw w.name = "Invariant Violation", w;
391
+ throw E.name = "Invariant Violation", E;
392
392
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
393
- var K = A + ":" + O;
394
- !x[K] && // Avoid spamming the console because they are often not actionable except for lib authors
393
+ var K = A + ":" + k;
394
+ !w[K] && // Avoid spamming the console because they are often not actionable except for lib authors
395
395
  $ < 3 && (a(
396
396
  "You are manually calling a React.PropTypes validation function for the `" + L + "` prop on `" + A + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
397
- ), x[K] = !0, $++);
397
+ ), w[K] = !0, $++);
398
398
  }
399
399
  }
400
- return P[O] == null ? I ? P[O] === null ? new E("The " + D + " `" + L + "` is marked as required " + ("in `" + A + "`, but its value is `null`.")) : new E("The " + D + " `" + L + "` is marked as required in " + ("`" + A + "`, but its value is `undefined`.")) : null : m(P, O, A, D, L);
400
+ return _[k] == null ? I ? _[k] === null ? new x("The " + D + " `" + L + "` is marked as required " + ("in `" + A + "`, but its value is `null`.")) : new x("The " + D + " `" + L + "` is marked as required in " + ("`" + A + "`, but its value is `undefined`.")) : null : y(_, k, A, D, L);
401
401
  }
402
- var S = _.bind(null, !1);
403
- return S.isRequired = _.bind(null, !0), S;
402
+ var P = O.bind(null, !1);
403
+ return P.isRequired = O.bind(null, !0), P;
404
404
  }
405
- function y(m) {
406
- function x($, _, S, I, P, O) {
407
- var A = $[_], D = J(A);
408
- if (D !== m) {
405
+ function b(y) {
406
+ function w($, O, P, I, _, k) {
407
+ var A = $[O], D = J(A);
408
+ if (D !== y) {
409
409
  var L = te(A);
410
- return new E(
411
- "Invalid " + I + " `" + P + "` of type " + ("`" + L + "` supplied to `" + S + "`, expected ") + ("`" + m + "`."),
412
- { expectedType: m }
410
+ return new x(
411
+ "Invalid " + I + " `" + _ + "` of type " + ("`" + L + "` supplied to `" + P + "`, expected ") + ("`" + y + "`."),
412
+ { expectedType: y }
413
413
  );
414
414
  }
415
415
  return null;
416
416
  }
417
- return C(x);
418
- }
419
- function N() {
420
- return C(o);
421
- }
422
- function T(m) {
423
- function x($, _, S, I, P) {
424
- if (typeof m != "function")
425
- return new E("Property `" + P + "` of component `" + S + "` has invalid PropType notation inside arrayOf.");
426
- var O = $[_];
427
- if (!Array.isArray(O)) {
428
- var A = J(O);
429
- return new E("Invalid " + I + " `" + P + "` of type " + ("`" + A + "` supplied to `" + S + "`, expected an array."));
417
+ return R(w);
418
+ }
419
+ function T() {
420
+ return R(l);
421
+ }
422
+ function S(y) {
423
+ function w($, O, P, I, _) {
424
+ if (typeof y != "function")
425
+ return new x("Property `" + _ + "` of component `" + P + "` has invalid PropType notation inside arrayOf.");
426
+ var k = $[O];
427
+ if (!Array.isArray(k)) {
428
+ var A = J(k);
429
+ return new x("Invalid " + I + " `" + _ + "` of type " + ("`" + A + "` supplied to `" + P + "`, expected an array."));
430
430
  }
431
- for (var D = 0; D < O.length; D++) {
432
- var L = m(O, D, S, I, P + "[" + D + "]", r);
431
+ for (var D = 0; D < k.length; D++) {
432
+ var L = y(k, D, P, I, _ + "[" + D + "]", r);
433
433
  if (L instanceof Error)
434
434
  return L;
435
435
  }
436
436
  return null;
437
437
  }
438
- return C(x);
439
- }
440
- function k() {
441
- function m(x, $, _, S, I) {
442
- var P = x[$];
443
- if (!l(P)) {
444
- var O = J(P);
445
- return new E("Invalid " + S + " `" + I + "` of type " + ("`" + O + "` supplied to `" + _ + "`, expected a single ReactElement."));
438
+ return R(w);
439
+ }
440
+ function N() {
441
+ function y(w, $, O, P, I) {
442
+ var _ = w[$];
443
+ if (!o(_)) {
444
+ var k = J(_);
445
+ return new x("Invalid " + P + " `" + I + "` of type " + ("`" + k + "` supplied to `" + O + "`, expected a single ReactElement."));
446
446
  }
447
447
  return null;
448
448
  }
449
- return C(m);
449
+ return R(y);
450
450
  }
451
451
  function g() {
452
- function m(x, $, _, S, I) {
453
- var P = x[$];
454
- if (!e.isValidElementType(P)) {
455
- var O = J(P);
456
- return new E("Invalid " + S + " `" + I + "` of type " + ("`" + O + "` supplied to `" + _ + "`, expected a single ReactElement type."));
452
+ function y(w, $, O, P, I) {
453
+ var _ = w[$];
454
+ if (!e.isValidElementType(_)) {
455
+ var k = J(_);
456
+ return new x("Invalid " + P + " `" + I + "` of type " + ("`" + k + "` supplied to `" + O + "`, expected a single ReactElement type."));
457
457
  }
458
458
  return null;
459
459
  }
460
- return C(m);
460
+ return R(y);
461
461
  }
462
- function U(m) {
463
- function x($, _, S, I, P) {
464
- if (!($[_] instanceof m)) {
465
- var O = m.name || f, A = Ce($[_]);
466
- return new E("Invalid " + I + " `" + P + "` of type " + ("`" + A + "` supplied to `" + S + "`, expected ") + ("instance of `" + O + "`."));
462
+ function U(y) {
463
+ function w($, O, P, I, _) {
464
+ if (!($[O] instanceof y)) {
465
+ var k = y.name || p, A = Ce($[O]);
466
+ return new x("Invalid " + I + " `" + _ + "` of type " + ("`" + A + "` supplied to `" + P + "`, expected ") + ("instance of `" + k + "`."));
467
467
  }
468
468
  return null;
469
469
  }
470
- return C(x);
470
+ return R(w);
471
471
  }
472
- function Y(m) {
473
- if (!Array.isArray(m))
472
+ function Y(y) {
473
+ if (!Array.isArray(y))
474
474
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
475
475
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
476
- ) : a("Invalid argument supplied to oneOf, expected an array.")), o;
477
- function x($, _, S, I, P) {
478
- for (var O = $[_], A = 0; A < m.length; A++)
479
- if (h(O, m[A]))
476
+ ) : a("Invalid argument supplied to oneOf, expected an array.")), l;
477
+ function w($, O, P, I, _) {
478
+ for (var k = $[O], A = 0; A < y.length; A++)
479
+ if (m(k, y[A]))
480
480
  return null;
481
- var D = JSON.stringify(m, function(z, w) {
482
- var K = te(w);
483
- return K === "symbol" ? String(w) : w;
481
+ var D = JSON.stringify(y, function(z, E) {
482
+ var K = te(E);
483
+ return K === "symbol" ? String(E) : E;
484
484
  });
485
- return new E("Invalid " + I + " `" + P + "` of value `" + String(O) + "` " + ("supplied to `" + S + "`, expected one of " + D + "."));
485
+ return new x("Invalid " + I + " `" + _ + "` of value `" + String(k) + "` " + ("supplied to `" + P + "`, expected one of " + D + "."));
486
486
  }
487
- return C(x);
487
+ return R(w);
488
488
  }
489
- function V(m) {
490
- function x($, _, S, I, P) {
491
- if (typeof m != "function")
492
- return new E("Property `" + P + "` of component `" + S + "` has invalid PropType notation inside objectOf.");
493
- var O = $[_], A = J(O);
489
+ function V(y) {
490
+ function w($, O, P, I, _) {
491
+ if (typeof y != "function")
492
+ return new x("Property `" + _ + "` of component `" + P + "` has invalid PropType notation inside objectOf.");
493
+ var k = $[O], A = J(k);
494
494
  if (A !== "object")
495
- return new E("Invalid " + I + " `" + P + "` of type " + ("`" + A + "` supplied to `" + S + "`, expected an object."));
496
- for (var D in O)
497
- if (i(O, D)) {
498
- var L = m(O, D, S, I, P + "." + D, r);
495
+ return new x("Invalid " + I + " `" + _ + "` of type " + ("`" + A + "` supplied to `" + P + "`, expected an object."));
496
+ for (var D in k)
497
+ if (i(k, D)) {
498
+ var L = y(k, D, P, I, _ + "." + D, r);
499
499
  if (L instanceof Error)
500
500
  return L;
501
501
  }
502
502
  return null;
503
503
  }
504
- return C(x);
504
+ return R(w);
505
505
  }
506
- function F(m) {
507
- if (!Array.isArray(m))
508
- return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), o;
509
- for (var x = 0; x < m.length; x++) {
510
- var $ = m[x];
506
+ function F(y) {
507
+ if (!Array.isArray(y))
508
+ return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), l;
509
+ for (var w = 0; w < y.length; w++) {
510
+ var $ = y[w];
511
511
  if (typeof $ != "function")
512
512
  return a(
513
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ue($) + " at index " + x + "."
514
- ), o;
513
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ue($) + " at index " + w + "."
514
+ ), l;
515
515
  }
516
- function _(S, I, P, O, A) {
517
- for (var D = [], L = 0; L < m.length; L++) {
518
- var z = m[L], w = z(S, I, P, O, A, r);
519
- if (w == null)
516
+ function O(P, I, _, k, A) {
517
+ for (var D = [], L = 0; L < y.length; L++) {
518
+ var z = y[L], E = z(P, I, _, k, A, r);
519
+ if (E == null)
520
520
  return null;
521
- w.data && i(w.data, "expectedType") && D.push(w.data.expectedType);
521
+ E.data && i(E.data, "expectedType") && D.push(E.data.expectedType);
522
522
  }
523
523
  var K = D.length > 0 ? ", expected one of type [" + D.join(", ") + "]" : "";
524
- return new E("Invalid " + O + " `" + A + "` supplied to " + ("`" + P + "`" + K + "."));
524
+ return new x("Invalid " + k + " `" + A + "` supplied to " + ("`" + _ + "`" + K + "."));
525
525
  }
526
- return C(_);
526
+ return R(O);
527
527
  }
528
528
  function H() {
529
- function m(x, $, _, S, I) {
530
- return ae(x[$]) ? null : new E("Invalid " + S + " `" + I + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
529
+ function y(w, $, O, P, I) {
530
+ return ae(w[$]) ? null : new x("Invalid " + P + " `" + I + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
531
531
  }
532
- return C(m);
532
+ return R(y);
533
533
  }
534
- function ee(m, x, $, _, S) {
535
- return new E(
536
- (m || "React class") + ": " + x + " type `" + $ + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + S + "`."
534
+ function ee(y, w, $, O, P) {
535
+ return new x(
536
+ (y || "React class") + ": " + w + " type `" + $ + "." + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + P + "`."
537
537
  );
538
538
  }
539
- function we(m) {
540
- function x($, _, S, I, P) {
541
- var O = $[_], A = J(O);
539
+ function we(y) {
540
+ function w($, O, P, I, _) {
541
+ var k = $[O], A = J(k);
542
542
  if (A !== "object")
543
- return new E("Invalid " + I + " `" + P + "` of type `" + A + "` " + ("supplied to `" + S + "`, expected `object`."));
544
- for (var D in m) {
545
- var L = m[D];
543
+ return new x("Invalid " + I + " `" + _ + "` of type `" + A + "` " + ("supplied to `" + P + "`, expected `object`."));
544
+ for (var D in y) {
545
+ var L = y[D];
546
546
  if (typeof L != "function")
547
- return ee(S, I, P, D, te(L));
548
- var z = L(O, D, S, I, P + "." + D, r);
547
+ return ee(P, I, _, D, te(L));
548
+ var z = L(k, D, P, I, _ + "." + D, r);
549
549
  if (z)
550
550
  return z;
551
551
  }
552
552
  return null;
553
553
  }
554
- return C(x);
554
+ return R(w);
555
555
  }
556
- function xe(m) {
557
- function x($, _, S, I, P) {
558
- var O = $[_], A = J(O);
556
+ function xe(y) {
557
+ function w($, O, P, I, _) {
558
+ var k = $[O], A = J(k);
559
559
  if (A !== "object")
560
- return new E("Invalid " + I + " `" + P + "` of type `" + A + "` " + ("supplied to `" + S + "`, expected `object`."));
561
- var D = t({}, $[_], m);
560
+ return new x("Invalid " + I + " `" + _ + "` of type `" + A + "` " + ("supplied to `" + P + "`, expected `object`."));
561
+ var D = t({}, $[O], y);
562
562
  for (var L in D) {
563
- var z = m[L];
564
- if (i(m, L) && typeof z != "function")
565
- return ee(S, I, P, L, te(z));
563
+ var z = y[L];
564
+ if (i(y, L) && typeof z != "function")
565
+ return ee(P, I, _, L, te(z));
566
566
  if (!z)
567
- return new E(
568
- "Invalid " + I + " `" + P + "` key `" + L + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify($[_], null, " ") + `
569
- Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
567
+ return new x(
568
+ "Invalid " + I + " `" + _ + "` key `" + L + "` supplied to `" + P + "`.\nBad object: " + JSON.stringify($[O], null, " ") + `
569
+ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
570
570
  );
571
- var w = z(O, L, S, I, P + "." + L, r);
572
- if (w)
573
- return w;
571
+ var E = z(k, L, P, I, _ + "." + L, r);
572
+ if (E)
573
+ return E;
574
574
  }
575
575
  return null;
576
576
  }
577
- return C(x);
577
+ return R(w);
578
578
  }
579
- function ae(m) {
580
- switch (typeof m) {
579
+ function ae(y) {
580
+ switch (typeof y) {
581
581
  case "number":
582
582
  case "string":
583
583
  case "undefined":
584
584
  return !0;
585
585
  case "boolean":
586
- return !m;
586
+ return !y;
587
587
  case "object":
588
- if (Array.isArray(m))
589
- return m.every(ae);
590
- if (m === null || l(m))
588
+ if (Array.isArray(y))
589
+ return y.every(ae);
590
+ if (y === null || o(y))
591
591
  return !0;
592
- var x = v(m);
593
- if (x) {
594
- var $ = x.call(m), _;
595
- if (x !== m.entries) {
596
- for (; !(_ = $.next()).done; )
597
- if (!ae(_.value))
592
+ var w = h(y);
593
+ if (w) {
594
+ var $ = w.call(y), O;
595
+ if (w !== y.entries) {
596
+ for (; !(O = $.next()).done; )
597
+ if (!ae(O.value))
598
598
  return !1;
599
599
  } else
600
- for (; !(_ = $.next()).done; ) {
601
- var S = _.value;
602
- if (S && !ae(S[1]))
600
+ for (; !(O = $.next()).done; ) {
601
+ var P = O.value;
602
+ if (P && !ae(P[1]))
603
603
  return !1;
604
604
  }
605
605
  } else
@@ -609,61 +609,61 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
609
609
  return !1;
610
610
  }
611
611
  }
612
- function Re(m, x) {
613
- return m === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x instanceof Symbol : !1;
612
+ function Re(y, w) {
613
+ return y === "symbol" ? !0 : w ? w["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && w instanceof Symbol : !1;
614
614
  }
615
- function J(m) {
616
- var x = typeof m;
617
- return Array.isArray(m) ? "array" : m instanceof RegExp ? "object" : Re(x, m) ? "symbol" : x;
615
+ function J(y) {
616
+ var w = typeof y;
617
+ return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : Re(w, y) ? "symbol" : w;
618
618
  }
619
- function te(m) {
620
- if (typeof m > "u" || m === null)
621
- return "" + m;
622
- var x = J(m);
623
- if (x === "object") {
624
- if (m instanceof Date)
619
+ function te(y) {
620
+ if (typeof y > "u" || y === null)
621
+ return "" + y;
622
+ var w = J(y);
623
+ if (w === "object") {
624
+ if (y instanceof Date)
625
625
  return "date";
626
- if (m instanceof RegExp)
626
+ if (y instanceof RegExp)
627
627
  return "regexp";
628
628
  }
629
- return x;
629
+ return w;
630
630
  }
631
- function ue(m) {
632
- var x = te(m);
633
- switch (x) {
631
+ function ue(y) {
632
+ var w = te(y);
633
+ switch (w) {
634
634
  case "array":
635
635
  case "object":
636
- return "an " + x;
636
+ return "an " + w;
637
637
  case "boolean":
638
638
  case "date":
639
639
  case "regexp":
640
- return "a " + x;
640
+ return "a " + w;
641
641
  default:
642
- return x;
642
+ return w;
643
643
  }
644
644
  }
645
- function Ce(m) {
646
- return !m.constructor || !m.constructor.name ? f : m.constructor.name;
645
+ function Ce(y) {
646
+ return !y.constructor || !y.constructor.name ? p : y.constructor.name;
647
647
  }
648
- return b.checkPropTypes = n, b.resetWarningCache = n.resetWarningCache, b.PropTypes = b, b;
649
- }, $e;
648
+ return v.checkPropTypes = n, v.resetWarningCache = n.resetWarningCache, v.PropTypes = v, v;
649
+ }, ke;
650
650
  }
651
- var ke, rt;
651
+ var $e, rt;
652
652
  function It() {
653
- if (rt) return ke;
653
+ if (rt) return $e;
654
654
  rt = 1;
655
- var e = /* @__PURE__ */ Me();
655
+ var e = /* @__PURE__ */ je();
656
656
  function t() {
657
657
  }
658
658
  function r() {
659
659
  }
660
- return r.resetWarningCache = t, ke = function() {
661
- function i(o, l, c, u, d, v) {
662
- if (v !== e) {
663
- var f = new Error(
660
+ return r.resetWarningCache = t, $e = function() {
661
+ function i(l, o, u, c, f, h) {
662
+ if (h !== e) {
663
+ var p = new Error(
664
664
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
665
665
  );
666
- throw f.name = "Invariant Violation", f;
666
+ throw p.name = "Invariant Violation", p;
667
667
  }
668
668
  }
669
669
  i.isRequired = i;
@@ -694,7 +694,7 @@ function It() {
694
694
  resetWarningCache: t
695
695
  };
696
696
  return a.PropTypes = a, a;
697
- }, ke;
697
+ }, $e;
698
698
  }
699
699
  var nt;
700
700
  function At() {
@@ -707,150 +707,150 @@ function At() {
707
707
  return fe.exports;
708
708
  }
709
709
  var Lt = /* @__PURE__ */ At();
710
- const s = /* @__PURE__ */ st(Lt), jt = ({ content: e, title: t, className: r, id: i = "accordion" }) => {
710
+ const s = /* @__PURE__ */ st(Lt), Mt = ({ content: e, title: t, className: r, id: i = "accordion" }) => {
711
711
  const n = B("rpf-accordion", r);
712
712
  return /* @__PURE__ */ q("details", { className: n, id: `${i}`, children: [
713
713
  /* @__PURE__ */ q("summary", { className: "rpf-accordion__title", role: "button", children: [
714
714
  t,
715
- /* @__PURE__ */ R("span", { className: "rpf-accordion__icon" })
715
+ /* @__PURE__ */ C("span", { className: "rpf-accordion__icon" })
716
716
  ] }),
717
- /* @__PURE__ */ R("p", { className: "rpf-accordion__text", children: e })
717
+ /* @__PURE__ */ C("p", { className: "rpf-accordion__text", children: e })
718
718
  ] });
719
719
  };
720
- jt.propTypes = {
720
+ Mt.propTypes = {
721
721
  content: s.string.isRequired,
722
722
  title: s.string.isRequired,
723
723
  id: s.string,
724
724
  className: s.string
725
725
  };
726
726
  var oe = {}, at;
727
- function Mt() {
727
+ function jt() {
728
728
  if (at) return oe;
729
- at = 1, Object.defineProperty(oe, "__esModule", { value: !0 }), oe.parse = o, oe.serialize = u;
729
+ at = 1, Object.defineProperty(oe, "__esModule", { value: !0 }), oe.parse = l, oe.serialize = c;
730
730
  const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, i = /^[\u0020-\u003A\u003D-\u007E]*$/, n = Object.prototype.toString, a = /* @__PURE__ */ (() => {
731
- const f = function() {
731
+ const p = function() {
732
732
  };
733
- return f.prototype = /* @__PURE__ */ Object.create(null), f;
733
+ return p.prototype = /* @__PURE__ */ Object.create(null), p;
734
734
  })();
735
- function o(f, b) {
736
- const h = new a(), E = f.length;
737
- if (E < 2)
738
- return h;
739
- const C = (b == null ? void 0 : b.decode) || d;
740
- let y = 0;
735
+ function l(p, v) {
736
+ const m = new a(), x = p.length;
737
+ if (x < 2)
738
+ return m;
739
+ const R = (v == null ? void 0 : v.decode) || f;
740
+ let b = 0;
741
741
  do {
742
- const N = f.indexOf("=", y);
743
- if (N === -1)
742
+ const T = p.indexOf("=", b);
743
+ if (T === -1)
744
744
  break;
745
- const T = f.indexOf(";", y), k = T === -1 ? E : T;
746
- if (N > k) {
747
- y = f.lastIndexOf(";", N - 1) + 1;
745
+ const S = p.indexOf(";", b), N = S === -1 ? x : S;
746
+ if (T > N) {
747
+ b = p.lastIndexOf(";", T - 1) + 1;
748
748
  continue;
749
749
  }
750
- const g = l(f, y, N), U = c(f, N, g), Y = f.slice(g, U);
751
- if (h[Y] === void 0) {
752
- let V = l(f, N + 1, k), F = c(f, k, V);
753
- const H = C(f.slice(V, F));
754
- h[Y] = H;
750
+ const g = o(p, b, T), U = u(p, T, g), Y = p.slice(g, U);
751
+ if (m[Y] === void 0) {
752
+ let V = o(p, T + 1, N), F = u(p, N, V);
753
+ const H = R(p.slice(V, F));
754
+ m[Y] = H;
755
755
  }
756
- y = k + 1;
757
- } while (y < E);
758
- return h;
756
+ b = N + 1;
757
+ } while (b < x);
758
+ return m;
759
759
  }
760
- function l(f, b, h) {
760
+ function o(p, v, m) {
761
761
  do {
762
- const E = f.charCodeAt(b);
763
- if (E !== 32 && E !== 9)
764
- return b;
765
- } while (++b < h);
766
- return h;
762
+ const x = p.charCodeAt(v);
763
+ if (x !== 32 && x !== 9)
764
+ return v;
765
+ } while (++v < m);
766
+ return m;
767
767
  }
768
- function c(f, b, h) {
769
- for (; b > h; ) {
770
- const E = f.charCodeAt(--b);
771
- if (E !== 32 && E !== 9)
772
- return b + 1;
768
+ function u(p, v, m) {
769
+ for (; v > m; ) {
770
+ const x = p.charCodeAt(--v);
771
+ if (x !== 32 && x !== 9)
772
+ return v + 1;
773
773
  }
774
- return h;
774
+ return m;
775
775
  }
776
- function u(f, b, h) {
777
- const E = (h == null ? void 0 : h.encode) || encodeURIComponent;
778
- if (!e.test(f))
779
- throw new TypeError(`argument name is invalid: ${f}`);
780
- const C = E(b);
781
- if (!t.test(C))
782
- throw new TypeError(`argument val is invalid: ${b}`);
783
- let y = f + "=" + C;
784
- if (!h)
785
- return y;
786
- if (h.maxAge !== void 0) {
787
- if (!Number.isInteger(h.maxAge))
788
- throw new TypeError(`option maxAge is invalid: ${h.maxAge}`);
789
- y += "; Max-Age=" + h.maxAge;
790
- }
791
- if (h.domain) {
792
- if (!r.test(h.domain))
793
- throw new TypeError(`option domain is invalid: ${h.domain}`);
794
- y += "; Domain=" + h.domain;
795
- }
796
- if (h.path) {
797
- if (!i.test(h.path))
798
- throw new TypeError(`option path is invalid: ${h.path}`);
799
- y += "; Path=" + h.path;
800
- }
801
- if (h.expires) {
802
- if (!v(h.expires) || !Number.isFinite(h.expires.valueOf()))
803
- throw new TypeError(`option expires is invalid: ${h.expires}`);
804
- y += "; Expires=" + h.expires.toUTCString();
805
- }
806
- if (h.httpOnly && (y += "; HttpOnly"), h.secure && (y += "; Secure"), h.partitioned && (y += "; Partitioned"), h.priority)
807
- switch (typeof h.priority == "string" ? h.priority.toLowerCase() : void 0) {
776
+ function c(p, v, m) {
777
+ const x = (m == null ? void 0 : m.encode) || encodeURIComponent;
778
+ if (!e.test(p))
779
+ throw new TypeError(`argument name is invalid: ${p}`);
780
+ const R = x(v);
781
+ if (!t.test(R))
782
+ throw new TypeError(`argument val is invalid: ${v}`);
783
+ let b = p + "=" + R;
784
+ if (!m)
785
+ return b;
786
+ if (m.maxAge !== void 0) {
787
+ if (!Number.isInteger(m.maxAge))
788
+ throw new TypeError(`option maxAge is invalid: ${m.maxAge}`);
789
+ b += "; Max-Age=" + m.maxAge;
790
+ }
791
+ if (m.domain) {
792
+ if (!r.test(m.domain))
793
+ throw new TypeError(`option domain is invalid: ${m.domain}`);
794
+ b += "; Domain=" + m.domain;
795
+ }
796
+ if (m.path) {
797
+ if (!i.test(m.path))
798
+ throw new TypeError(`option path is invalid: ${m.path}`);
799
+ b += "; Path=" + m.path;
800
+ }
801
+ if (m.expires) {
802
+ if (!h(m.expires) || !Number.isFinite(m.expires.valueOf()))
803
+ throw new TypeError(`option expires is invalid: ${m.expires}`);
804
+ b += "; Expires=" + m.expires.toUTCString();
805
+ }
806
+ if (m.httpOnly && (b += "; HttpOnly"), m.secure && (b += "; Secure"), m.partitioned && (b += "; Partitioned"), m.priority)
807
+ switch (typeof m.priority == "string" ? m.priority.toLowerCase() : void 0) {
808
808
  case "low":
809
- y += "; Priority=Low";
809
+ b += "; Priority=Low";
810
810
  break;
811
811
  case "medium":
812
- y += "; Priority=Medium";
812
+ b += "; Priority=Medium";
813
813
  break;
814
814
  case "high":
815
- y += "; Priority=High";
815
+ b += "; Priority=High";
816
816
  break;
817
817
  default:
818
- throw new TypeError(`option priority is invalid: ${h.priority}`);
818
+ throw new TypeError(`option priority is invalid: ${m.priority}`);
819
819
  }
820
- if (h.sameSite)
821
- switch (typeof h.sameSite == "string" ? h.sameSite.toLowerCase() : h.sameSite) {
820
+ if (m.sameSite)
821
+ switch (typeof m.sameSite == "string" ? m.sameSite.toLowerCase() : m.sameSite) {
822
822
  case !0:
823
823
  case "strict":
824
- y += "; SameSite=Strict";
824
+ b += "; SameSite=Strict";
825
825
  break;
826
826
  case "lax":
827
- y += "; SameSite=Lax";
827
+ b += "; SameSite=Lax";
828
828
  break;
829
829
  case "none":
830
- y += "; SameSite=None";
830
+ b += "; SameSite=None";
831
831
  break;
832
832
  default:
833
- throw new TypeError(`option sameSite is invalid: ${h.sameSite}`);
833
+ throw new TypeError(`option sameSite is invalid: ${m.sameSite}`);
834
834
  }
835
- return y;
835
+ return b;
836
836
  }
837
- function d(f) {
838
- if (f.indexOf("%") === -1)
839
- return f;
837
+ function f(p) {
838
+ if (p.indexOf("%") === -1)
839
+ return p;
840
840
  try {
841
- return decodeURIComponent(f);
841
+ return decodeURIComponent(p);
842
842
  } catch {
843
- return f;
843
+ return p;
844
844
  }
845
845
  }
846
- function v(f) {
847
- return n.call(f) === "[object Date]";
846
+ function h(p) {
847
+ return n.call(p) === "[object Date]";
848
848
  }
849
849
  return oe;
850
850
  }
851
- Mt();
851
+ jt();
852
852
  /**
853
- * react-router v7.1.1
853
+ * react-router v7.2.0
854
854
  *
855
855
  * Copyright (c) Remix Software Inc.
856
856
  *
@@ -896,50 +896,50 @@ function Dt(e, t, r, i) {
896
896
  let n = typeof t == "string" ? De(t) : t, a = re(n.pathname || "/", r);
897
897
  if (a == null)
898
898
  return null;
899
- let o = dt(e);
900
- qt(o);
901
- let l = null;
902
- for (let c = 0; l == null && c < o.length; ++c) {
903
- let u = Gt(a);
904
- l = Jt(
905
- o[c],
906
- u,
899
+ let l = dt(e);
900
+ qt(l);
901
+ let o = null;
902
+ for (let u = 0; o == null && u < l.length; ++u) {
903
+ let c = Gt(a);
904
+ o = Jt(
905
+ l[u],
906
+ c,
907
907
  i
908
908
  );
909
909
  }
910
- return l;
910
+ return o;
911
911
  }
912
912
  function dt(e, t = [], r = [], i = "") {
913
- let n = (a, o, l) => {
914
- let c = {
915
- relativePath: l === void 0 ? a.path || "" : l,
913
+ let n = (a, l, o) => {
914
+ let u = {
915
+ relativePath: o === void 0 ? a.path || "" : o,
916
916
  caseSensitive: a.caseSensitive === !0,
917
- childrenIndex: o,
917
+ childrenIndex: l,
918
918
  route: a
919
919
  };
920
- c.relativePath.startsWith("/") && (W(
921
- c.relativePath.startsWith(i),
922
- `Absolute route path "${c.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
923
- ), c.relativePath = c.relativePath.slice(i.length));
924
- let u = G([i, c.relativePath]), d = r.concat(c);
920
+ u.relativePath.startsWith("/") && (W(
921
+ u.relativePath.startsWith(i),
922
+ `Absolute route path "${u.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
923
+ ), u.relativePath = u.relativePath.slice(i.length));
924
+ let c = G([i, u.relativePath]), f = r.concat(u);
925
925
  a.children && a.children.length > 0 && (W(
926
926
  // Our types know better, but runtime JS may not!
927
927
  // @ts-expect-error
928
928
  a.index !== !0,
929
- `Index routes must not have child routes. Please remove all child routes from route path "${u}".`
930
- ), dt(a.children, t, d, u)), !(a.path == null && !a.index) && t.push({
931
- path: u,
932
- score: Ht(u, a.index),
933
- routesMeta: d
929
+ `Index routes must not have child routes. Please remove all child routes from route path "${c}".`
930
+ ), dt(a.children, t, f, c)), !(a.path == null && !a.index) && t.push({
931
+ path: c,
932
+ score: Ht(c, a.index),
933
+ routesMeta: f
934
934
  });
935
935
  };
936
- return e.forEach((a, o) => {
937
- var l;
938
- if (a.path === "" || !((l = a.path) != null && l.includes("?")))
939
- n(a, o);
936
+ return e.forEach((a, l) => {
937
+ var o;
938
+ if (a.path === "" || !((o = a.path) != null && o.includes("?")))
939
+ n(a, l);
940
940
  else
941
- for (let c of pt(a.path))
942
- n(a, o, c);
941
+ for (let u of pt(a.path))
942
+ n(a, l, u);
943
943
  }), t;
944
944
  }
945
945
  function pt(e) {
@@ -948,13 +948,13 @@ function pt(e) {
948
948
  let [r, ...i] = t, n = r.endsWith("?"), a = r.replace(/\?$/, "");
949
949
  if (i.length === 0)
950
950
  return n ? [a, ""] : [a];
951
- let o = pt(i.join("/")), l = [];
952
- return l.push(
953
- ...o.map(
954
- (c) => c === "" ? a : [a, c].join("/")
951
+ let l = pt(i.join("/")), o = [];
952
+ return o.push(
953
+ ...l.map(
954
+ (u) => u === "" ? a : [a, u].join("/")
955
955
  )
956
- ), n && l.push(...o), l.map(
957
- (c) => e.startsWith("/") && c === "" ? "/" : c
956
+ ), n && o.push(...l), o.map(
957
+ (u) => e.startsWith("/") && u === "" ? "/" : u
958
958
  );
959
959
  }
960
960
  function qt(e) {
@@ -987,32 +987,32 @@ function Vt(e, t) {
987
987
  );
988
988
  }
989
989
  function Jt(e, t, r = !1) {
990
- let { routesMeta: i } = e, n = {}, a = "/", o = [];
991
- for (let l = 0; l < i.length; ++l) {
992
- let c = i[l], u = l === i.length - 1, d = a === "/" ? t : t.slice(a.length) || "/", v = ye(
993
- { path: c.relativePath, caseSensitive: c.caseSensitive, end: u },
994
- d
995
- ), f = c.route;
996
- if (!v && u && r && !i[i.length - 1].route.index && (v = ye(
990
+ let { routesMeta: i } = e, n = {}, a = "/", l = [];
991
+ for (let o = 0; o < i.length; ++o) {
992
+ let u = i[o], c = o === i.length - 1, f = a === "/" ? t : t.slice(a.length) || "/", h = ye(
993
+ { path: u.relativePath, caseSensitive: u.caseSensitive, end: c },
994
+ f
995
+ ), p = u.route;
996
+ if (!h && c && r && !i[i.length - 1].route.index && (h = ye(
997
997
  {
998
- path: c.relativePath,
999
- caseSensitive: c.caseSensitive,
998
+ path: u.relativePath,
999
+ caseSensitive: u.caseSensitive,
1000
1000
  end: !1
1001
1001
  },
1002
- d
1003
- )), !v)
1002
+ f
1003
+ )), !h)
1004
1004
  return null;
1005
- Object.assign(n, v.params), o.push({
1005
+ Object.assign(n, h.params), l.push({
1006
1006
  // TODO: Can this as be avoided?
1007
1007
  params: n,
1008
- pathname: G([a, v.pathname]),
1008
+ pathname: G([a, h.pathname]),
1009
1009
  pathnameBase: er(
1010
- G([a, v.pathnameBase])
1010
+ G([a, h.pathnameBase])
1011
1011
  ),
1012
- route: f
1013
- }), v.pathnameBase !== "/" && (a = G([a, v.pathnameBase]));
1012
+ route: p
1013
+ }), h.pathnameBase !== "/" && (a = G([a, h.pathnameBase]));
1014
1014
  }
1015
- return o;
1015
+ return l;
1016
1016
  }
1017
1017
  function ye(e, t) {
1018
1018
  typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
@@ -1022,21 +1022,21 @@ function ye(e, t) {
1022
1022
  e.end
1023
1023
  ), n = t.match(r);
1024
1024
  if (!n) return null;
1025
- let a = n[0], o = a.replace(/(.)\/+$/, "$1"), l = n.slice(1);
1025
+ let a = n[0], l = a.replace(/(.)\/+$/, "$1"), o = n.slice(1);
1026
1026
  return {
1027
1027
  params: i.reduce(
1028
- (u, { paramName: d, isOptional: v }, f) => {
1029
- if (d === "*") {
1030
- let h = l[f] || "";
1031
- o = a.slice(0, a.length - h.length).replace(/(.)\/+$/, "$1");
1028
+ (c, { paramName: f, isOptional: h }, p) => {
1029
+ if (f === "*") {
1030
+ let m = o[p] || "";
1031
+ l = a.slice(0, a.length - m.length).replace(/(.)\/+$/, "$1");
1032
1032
  }
1033
- const b = l[f];
1034
- return v && !b ? u[d] = void 0 : u[d] = (b || "").replace(/%2F/g, "/"), u;
1033
+ const v = o[p];
1034
+ return h && !v ? c[f] = void 0 : c[f] = (v || "").replace(/%2F/g, "/"), c;
1035
1035
  },
1036
1036
  {}
1037
1037
  ),
1038
1038
  pathname: a,
1039
- pathnameBase: o,
1039
+ pathnameBase: l,
1040
1040
  pattern: e
1041
1041
  };
1042
1042
  }
@@ -1047,7 +1047,7 @@ function Kt(e, t = !1, r = !0) {
1047
1047
  );
1048
1048
  let i = [], n = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(
1049
1049
  /\/:([\w-]+)(\?)?/g,
1050
- (o, l, c) => (i.push({ paramName: l, isOptional: c != null }), c ? "/?([^\\/]+)?" : "/([^\\/]+)")
1050
+ (l, o, u) => (i.push({ paramName: o, isOptional: u != null }), u ? "/?([^\\/]+)?" : "/([^\\/]+)")
1051
1051
  );
1052
1052
  return e.endsWith("*") ? (i.push({ paramName: "*" }), n += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? n += "\\/*$" : e !== "" && e !== "/" && (n += "(?:(?=\\/|$))"), [new RegExp(n, t ? void 0 : "i"), i];
1053
1053
  }
@@ -1057,7 +1057,7 @@ function Gt(e) {
1057
1057
  } catch (t) {
1058
1058
  return X(
1059
1059
  !1,
1060
- `The URL path "${e}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`
1060
+ `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`
1061
1061
  ), e;
1062
1062
  }
1063
1063
  }
@@ -1114,21 +1114,21 @@ function mt(e, t, r, i = !1) {
1114
1114
  !n.search || !n.search.includes("#"),
1115
1115
  Ne("#", "search", "hash", n)
1116
1116
  ));
1117
- let a = e === "" || n.pathname === "", o = a ? "/" : n.pathname, l;
1118
- if (o == null)
1119
- l = r;
1117
+ let a = e === "" || n.pathname === "", l = a ? "/" : n.pathname, o;
1118
+ if (l == null)
1119
+ o = r;
1120
1120
  else {
1121
- let v = t.length - 1;
1122
- if (!i && o.startsWith("..")) {
1123
- let f = o.split("/");
1124
- for (; f[0] === ".."; )
1125
- f.shift(), v -= 1;
1126
- n.pathname = f.join("/");
1127
- }
1128
- l = v >= 0 ? t[v] : "/";
1121
+ let h = t.length - 1;
1122
+ if (!i && l.startsWith("..")) {
1123
+ let p = l.split("/");
1124
+ for (; p[0] === ".."; )
1125
+ p.shift(), h -= 1;
1126
+ n.pathname = p.join("/");
1127
+ }
1128
+ o = h >= 0 ? t[h] : "/";
1129
1129
  }
1130
- let c = Xt(n, l), u = o && o !== "/" && o.endsWith("/"), d = (a || o === ".") && r.endsWith("/");
1131
- return !c.pathname.endsWith("/") && (u || d) && (c.pathname += "/"), c;
1130
+ let u = Xt(n, o), c = l && l !== "/" && l.endsWith("/"), f = (a || l === ".") && r.endsWith("/");
1131
+ return !u.pathname.endsWith("/") && (c || f) && (u.pathname += "/"), u;
1132
1132
  }
1133
1133
  var G = (e) => e.join("/").replace(/\/\/+/g, "/"), er = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), tr = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, rr = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
1134
1134
  function nr(e) {
@@ -1148,35 +1148,35 @@ var ar = [
1148
1148
  ...yt
1149
1149
  ];
1150
1150
  new Set(ar);
1151
- var ie = p.createContext(null);
1151
+ var ie = d.createContext(null);
1152
1152
  ie.displayName = "DataRouter";
1153
- var ve = p.createContext(null);
1153
+ var ve = d.createContext(null);
1154
1154
  ve.displayName = "DataRouterState";
1155
- var vt = p.createContext({
1155
+ var vt = d.createContext({
1156
1156
  isTransitioning: !1
1157
1157
  });
1158
1158
  vt.displayName = "ViewTransition";
1159
- var ir = p.createContext(
1159
+ var ir = d.createContext(
1160
1160
  /* @__PURE__ */ new Map()
1161
1161
  );
1162
1162
  ir.displayName = "Fetchers";
1163
- var or = p.createContext(null);
1163
+ var or = d.createContext(null);
1164
1164
  or.displayName = "Await";
1165
- var Z = p.createContext(
1165
+ var Z = d.createContext(
1166
1166
  null
1167
1167
  );
1168
1168
  Z.displayName = "Navigation";
1169
- var qe = p.createContext(
1169
+ var qe = d.createContext(
1170
1170
  null
1171
1171
  );
1172
1172
  qe.displayName = "Location";
1173
- var Q = p.createContext({
1173
+ var Q = d.createContext({
1174
1174
  outlet: null,
1175
1175
  matches: [],
1176
1176
  isDataRoute: !1
1177
1177
  });
1178
1178
  Q.displayName = "Route";
1179
- var Fe = p.createContext(null);
1179
+ var Fe = d.createContext(null);
1180
1180
  Fe.displayName = "RouteError";
1181
1181
  function lr(e, { relative: t } = {}) {
1182
1182
  W(
@@ -1185,11 +1185,11 @@ function lr(e, { relative: t } = {}) {
1185
1185
  // router loaded. We can help them understand how to avoid that.
1186
1186
  "useHref() may be used only in the context of a <Router> component."
1187
1187
  );
1188
- let { basename: r, navigator: i } = p.useContext(Z), { hash: n, pathname: a, search: o } = se(e, { relative: t }), l = a;
1189
- return r !== "/" && (l = a === "/" ? r : G([r, a])), i.createHref({ pathname: l, search: o, hash: n });
1188
+ let { basename: r, navigator: i } = d.useContext(Z), { hash: n, pathname: a, search: l } = se(e, { relative: t }), o = a;
1189
+ return r !== "/" && (o = a === "/" ? r : G([r, a])), i.createHref({ pathname: o, search: l, hash: n });
1190
1190
  }
1191
1191
  function ge() {
1192
- return p.useContext(qe) != null;
1192
+ return d.useContext(qe) != null;
1193
1193
  }
1194
1194
  function ne() {
1195
1195
  return W(
@@ -1197,14 +1197,14 @@ function ne() {
1197
1197
  // TODO: This error is probably because they somehow have 2 versions of the
1198
1198
  // router loaded. We can help them understand how to avoid that.
1199
1199
  "useLocation() may be used only in the context of a <Router> component."
1200
- ), p.useContext(qe).location;
1200
+ ), d.useContext(qe).location;
1201
1201
  }
1202
1202
  var gt = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
1203
1203
  function bt(e) {
1204
- p.useContext(Z).static || p.useLayoutEffect(e);
1204
+ d.useContext(Z).static || d.useLayoutEffect(e);
1205
1205
  }
1206
1206
  function sr() {
1207
- let { isDataRoute: e } = p.useContext(Q);
1207
+ let { isDataRoute: e } = d.useContext(Q);
1208
1208
  return e ? wr() : ur();
1209
1209
  }
1210
1210
  function ur() {
@@ -1214,26 +1214,26 @@ function ur() {
1214
1214
  // router loaded. We can help them understand how to avoid that.
1215
1215
  "useNavigate() may be used only in the context of a <Router> component."
1216
1216
  );
1217
- let e = p.useContext(ie), { basename: t, navigator: r } = p.useContext(Z), { matches: i } = p.useContext(Q), { pathname: n } = ne(), a = JSON.stringify(ht(i)), o = p.useRef(!1);
1217
+ let e = d.useContext(ie), { basename: t, navigator: r } = d.useContext(Z), { matches: i } = d.useContext(Q), { pathname: n } = ne(), a = JSON.stringify(ht(i)), l = d.useRef(!1);
1218
1218
  return bt(() => {
1219
- o.current = !0;
1220
- }), p.useCallback(
1221
- (c, u = {}) => {
1222
- if (X(o.current, gt), !o.current) return;
1223
- if (typeof c == "number") {
1224
- r.go(c);
1219
+ l.current = !0;
1220
+ }), d.useCallback(
1221
+ (u, c = {}) => {
1222
+ if (X(l.current, gt), !l.current) return;
1223
+ if (typeof u == "number") {
1224
+ r.go(u);
1225
1225
  return;
1226
1226
  }
1227
- let d = mt(
1228
- c,
1227
+ let f = mt(
1228
+ u,
1229
1229
  JSON.parse(a),
1230
1230
  n,
1231
- u.relative === "path"
1231
+ c.relative === "path"
1232
1232
  );
1233
- e == null && t !== "/" && (d.pathname = d.pathname === "/" ? t : G([t, d.pathname])), (u.replace ? r.replace : r.push)(
1234
- d,
1235
- u.state,
1236
- u
1233
+ e == null && t !== "/" && (f.pathname = f.pathname === "/" ? t : G([t, f.pathname])), (c.replace ? r.replace : r.push)(
1234
+ f,
1235
+ c.state,
1236
+ c
1237
1237
  );
1238
1238
  },
1239
1239
  [
@@ -1245,10 +1245,10 @@ function ur() {
1245
1245
  ]
1246
1246
  );
1247
1247
  }
1248
- p.createContext(null);
1248
+ d.createContext(null);
1249
1249
  function se(e, { relative: t } = {}) {
1250
- let { matches: r } = p.useContext(Q), { pathname: i } = ne(), n = JSON.stringify(ht(r));
1251
- return p.useMemo(
1250
+ let { matches: r } = d.useContext(Q), { pathname: i } = ne(), n = JSON.stringify(ht(r));
1251
+ return d.useMemo(
1252
1252
  () => mt(
1253
1253
  e,
1254
1254
  JSON.parse(n),
@@ -1265,60 +1265,60 @@ function cr(e, t, r, i) {
1265
1265
  // router loaded. We can help them understand how to avoid that.
1266
1266
  "useRoutes() may be used only in the context of a <Router> component."
1267
1267
  );
1268
- let { navigator: n } = p.useContext(Z), { matches: a } = p.useContext(Q), o = a[a.length - 1], l = o ? o.params : {}, c = o ? o.pathname : "/", u = o ? o.pathnameBase : "/", d = o && o.route;
1268
+ let { navigator: n, static: a } = d.useContext(Z), { matches: l } = d.useContext(Q), o = l[l.length - 1], u = o ? o.params : {}, c = o ? o.pathname : "/", f = o ? o.pathnameBase : "/", h = o && o.route;
1269
1269
  {
1270
- let y = d && d.path || "";
1270
+ let T = h && h.path || "";
1271
1271
  Et(
1272
1272
  c,
1273
- !d || y.endsWith("*") || y.endsWith("*?"),
1274
- `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
1273
+ !h || T.endsWith("*") || T.endsWith("*?"),
1274
+ `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${T}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
1275
1275
 
1276
- Please change the parent <Route path="${y}"> to <Route path="${y === "/" ? "*" : `${y}/*`}">.`
1276
+ Please change the parent <Route path="${T}"> to <Route path="${T === "/" ? "*" : `${T}/*`}">.`
1277
1277
  );
1278
1278
  }
1279
- let v = ne(), f;
1280
- f = v;
1281
- let b = f.pathname || "/", h = b;
1282
- if (u !== "/") {
1283
- let y = u.replace(/^\//, "").split("/");
1284
- h = "/" + b.replace(/^\//, "").split("/").slice(y.length).join("/");
1279
+ let p = ne(), v;
1280
+ v = p;
1281
+ let m = v.pathname || "/", x = m;
1282
+ if (f !== "/") {
1283
+ let T = f.replace(/^\//, "").split("/");
1284
+ x = "/" + m.replace(/^\//, "").split("/").slice(T.length).join("/");
1285
1285
  }
1286
- let E = ft(e, { pathname: h });
1286
+ let R = !a && r && r.matches && r.matches.length > 0 ? r.matches : ft(e, { pathname: x });
1287
1287
  return X(
1288
- d || E != null,
1289
- `No routes matched location "${f.pathname}${f.search}${f.hash}" `
1288
+ h || R != null,
1289
+ `No routes matched location "${v.pathname}${v.search}${v.hash}" `
1290
1290
  ), X(
1291
- E == null || E[E.length - 1].route.element !== void 0 || E[E.length - 1].route.Component !== void 0 || E[E.length - 1].route.lazy !== void 0,
1292
- `Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
1291
+ R == null || R[R.length - 1].route.element !== void 0 || R[R.length - 1].route.Component !== void 0 || R[R.length - 1].route.lazy !== void 0,
1292
+ `Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
1293
1293
  ), mr(
1294
- E && E.map(
1295
- (y) => Object.assign({}, y, {
1296
- params: Object.assign({}, l, y.params),
1294
+ R && R.map(
1295
+ (T) => Object.assign({}, T, {
1296
+ params: Object.assign({}, u, T.params),
1297
1297
  pathname: G([
1298
- u,
1298
+ f,
1299
1299
  // Re-encode pathnames that were decoded inside matchRoutes
1300
- n.encodeLocation ? n.encodeLocation(y.pathname).pathname : y.pathname
1300
+ n.encodeLocation ? n.encodeLocation(T.pathname).pathname : T.pathname
1301
1301
  ]),
1302
- pathnameBase: y.pathnameBase === "/" ? u : G([
1303
- u,
1302
+ pathnameBase: T.pathnameBase === "/" ? f : G([
1303
+ f,
1304
1304
  // Re-encode pathnames that were decoded inside matchRoutes
1305
- n.encodeLocation ? n.encodeLocation(y.pathnameBase).pathname : y.pathnameBase
1305
+ n.encodeLocation ? n.encodeLocation(T.pathnameBase).pathname : T.pathnameBase
1306
1306
  ])
1307
1307
  })
1308
1308
  ),
1309
- a,
1309
+ l,
1310
1310
  r,
1311
1311
  i
1312
1312
  );
1313
1313
  }
1314
1314
  function fr() {
1315
- let e = Er(), t = nr(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", n = { padding: "0.5rem", backgroundColor: i }, a = { padding: "2px 4px", backgroundColor: i }, o = null;
1315
+ let e = Er(), t = nr(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", n = { padding: "0.5rem", backgroundColor: i }, a = { padding: "2px 4px", backgroundColor: i }, l = null;
1316
1316
  return console.error(
1317
1317
  "Error handled by React Router default ErrorBoundary:",
1318
1318
  e
1319
- ), o = /* @__PURE__ */ p.createElement(p.Fragment, null, /* @__PURE__ */ p.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ p.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ p.createElement("code", { style: a }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ p.createElement("code", { style: a }, "errorElement"), " prop on your route.")), /* @__PURE__ */ p.createElement(p.Fragment, null, /* @__PURE__ */ p.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ p.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ p.createElement("pre", { style: n }, r) : null, o);
1319
+ ), l = /* @__PURE__ */ d.createElement(d.Fragment, null, /* @__PURE__ */ d.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ d.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ d.createElement("code", { style: a }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ d.createElement("code", { style: a }, "errorElement"), " prop on your route.")), /* @__PURE__ */ d.createElement(d.Fragment, null, /* @__PURE__ */ d.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ d.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ d.createElement("pre", { style: n }, r) : null, l);
1320
1320
  }
1321
- var dr = /* @__PURE__ */ p.createElement(fr, null), pr = class extends p.Component {
1321
+ var dr = /* @__PURE__ */ d.createElement(fr, null), pr = class extends d.Component {
1322
1322
  constructor(e) {
1323
1323
  super(e), this.state = {
1324
1324
  location: e.location,
@@ -1348,7 +1348,7 @@ var dr = /* @__PURE__ */ p.createElement(fr, null), pr = class extends p.Compone
1348
1348
  );
1349
1349
  }
1350
1350
  render() {
1351
- return this.state.error !== void 0 ? /* @__PURE__ */ p.createElement(Q.Provider, { value: this.props.routeContext }, /* @__PURE__ */ p.createElement(
1351
+ return this.state.error !== void 0 ? /* @__PURE__ */ d.createElement(Q.Provider, { value: this.props.routeContext }, /* @__PURE__ */ d.createElement(
1352
1352
  Fe.Provider,
1353
1353
  {
1354
1354
  value: this.state.error,
@@ -1358,8 +1358,8 @@ var dr = /* @__PURE__ */ p.createElement(fr, null), pr = class extends p.Compone
1358
1358
  }
1359
1359
  };
1360
1360
  function hr({ routeContext: e, match: t, children: r }) {
1361
- let i = p.useContext(ie);
1362
- return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ p.createElement(Q.Provider, { value: e }, r);
1361
+ let i = d.useContext(ie);
1362
+ return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ d.createElement(Q.Provider, { value: e }, r);
1363
1363
  }
1364
1364
  function mr(e, t = [], r = null, i = null) {
1365
1365
  if (e == null) {
@@ -1374,79 +1374,79 @@ function mr(e, t = [], r = null, i = null) {
1374
1374
  }
1375
1375
  let n = e, a = r == null ? void 0 : r.errors;
1376
1376
  if (a != null) {
1377
- let c = n.findIndex(
1378
- (u) => u.route.id && (a == null ? void 0 : a[u.route.id]) !== void 0
1377
+ let u = n.findIndex(
1378
+ (c) => c.route.id && (a == null ? void 0 : a[c.route.id]) !== void 0
1379
1379
  );
1380
1380
  W(
1381
- c >= 0,
1381
+ u >= 0,
1382
1382
  `Could not find a matching route for errors on route IDs: ${Object.keys(
1383
1383
  a
1384
1384
  ).join(",")}`
1385
1385
  ), n = n.slice(
1386
1386
  0,
1387
- Math.min(n.length, c + 1)
1387
+ Math.min(n.length, u + 1)
1388
1388
  );
1389
1389
  }
1390
- let o = !1, l = -1;
1390
+ let l = !1, o = -1;
1391
1391
  if (r)
1392
- for (let c = 0; c < n.length; c++) {
1393
- let u = n[c];
1394
- if ((u.route.HydrateFallback || u.route.hydrateFallbackElement) && (l = c), u.route.id) {
1395
- let { loaderData: d, errors: v } = r, f = u.route.loader && !d.hasOwnProperty(u.route.id) && (!v || v[u.route.id] === void 0);
1396
- if (u.route.lazy || f) {
1397
- o = !0, l >= 0 ? n = n.slice(0, l + 1) : n = [n[0]];
1392
+ for (let u = 0; u < n.length; u++) {
1393
+ let c = n[u];
1394
+ if ((c.route.HydrateFallback || c.route.hydrateFallbackElement) && (o = u), c.route.id) {
1395
+ let { loaderData: f, errors: h } = r, p = c.route.loader && !f.hasOwnProperty(c.route.id) && (!h || h[c.route.id] === void 0);
1396
+ if (c.route.lazy || p) {
1397
+ l = !0, o >= 0 ? n = n.slice(0, o + 1) : n = [n[0]];
1398
1398
  break;
1399
1399
  }
1400
1400
  }
1401
1401
  }
1402
- return n.reduceRight((c, u, d) => {
1403
- let v, f = !1, b = null, h = null;
1404
- r && (v = a && u.route.id ? a[u.route.id] : void 0, b = u.route.errorElement || dr, o && (l < 0 && d === 0 ? (Et(
1402
+ return n.reduceRight((u, c, f) => {
1403
+ let h, p = !1, v = null, m = null;
1404
+ r && (h = a && c.route.id ? a[c.route.id] : void 0, v = c.route.errorElement || dr, l && (o < 0 && f === 0 ? (Et(
1405
1405
  "route-fallback",
1406
1406
  !1,
1407
1407
  "No `HydrateFallback` element provided to render during initial hydration"
1408
- ), f = !0, h = null) : l === d && (f = !0, h = u.route.hydrateFallbackElement || null)));
1409
- let E = t.concat(n.slice(0, d + 1)), C = () => {
1410
- let y;
1411
- return v ? y = b : f ? y = h : u.route.Component ? y = /* @__PURE__ */ p.createElement(u.route.Component, null) : u.route.element ? y = u.route.element : y = c, /* @__PURE__ */ p.createElement(
1408
+ ), p = !0, m = null) : o === f && (p = !0, m = c.route.hydrateFallbackElement || null)));
1409
+ let x = t.concat(n.slice(0, f + 1)), R = () => {
1410
+ let b;
1411
+ return h ? b = v : p ? b = m : c.route.Component ? b = /* @__PURE__ */ d.createElement(c.route.Component, null) : c.route.element ? b = c.route.element : b = u, /* @__PURE__ */ d.createElement(
1412
1412
  hr,
1413
1413
  {
1414
- match: u,
1414
+ match: c,
1415
1415
  routeContext: {
1416
- outlet: c,
1417
- matches: E,
1416
+ outlet: u,
1417
+ matches: x,
1418
1418
  isDataRoute: r != null
1419
1419
  },
1420
- children: y
1420
+ children: b
1421
1421
  }
1422
1422
  );
1423
1423
  };
1424
- return r && (u.route.ErrorBoundary || u.route.errorElement || d === 0) ? /* @__PURE__ */ p.createElement(
1424
+ return r && (c.route.ErrorBoundary || c.route.errorElement || f === 0) ? /* @__PURE__ */ d.createElement(
1425
1425
  pr,
1426
1426
  {
1427
1427
  location: r.location,
1428
1428
  revalidation: r.revalidation,
1429
- component: b,
1430
- error: v,
1431
- children: C(),
1432
- routeContext: { outlet: null, matches: E, isDataRoute: !0 }
1429
+ component: v,
1430
+ error: h,
1431
+ children: R(),
1432
+ routeContext: { outlet: null, matches: x, isDataRoute: !0 }
1433
1433
  }
1434
- ) : C();
1434
+ ) : R();
1435
1435
  }, null);
1436
1436
  }
1437
1437
  function We(e) {
1438
1438
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1439
1439
  }
1440
1440
  function yr(e) {
1441
- let t = p.useContext(ie);
1441
+ let t = d.useContext(ie);
1442
1442
  return W(t, We(e)), t;
1443
1443
  }
1444
1444
  function vr(e) {
1445
- let t = p.useContext(ve);
1445
+ let t = d.useContext(ve);
1446
1446
  return W(t, We(e)), t;
1447
1447
  }
1448
1448
  function gr(e) {
1449
- let t = p.useContext(Q);
1449
+ let t = d.useContext(Q);
1450
1450
  return W(t, We(e)), t;
1451
1451
  }
1452
1452
  function Be(e) {
@@ -1464,7 +1464,7 @@ function br() {
1464
1464
  }
1465
1465
  function Er() {
1466
1466
  var i;
1467
- let e = p.useContext(Fe), t = vr(
1467
+ let e = d.useContext(Fe), t = vr(
1468
1468
  "useRouteError"
1469
1469
  /* UseRouteError */
1470
1470
  ), r = Be(
@@ -1480,10 +1480,10 @@ function wr() {
1480
1480
  ), t = Be(
1481
1481
  "useNavigate"
1482
1482
  /* UseNavigateStable */
1483
- ), r = p.useRef(!1);
1483
+ ), r = d.useRef(!1);
1484
1484
  return bt(() => {
1485
1485
  r.current = !0;
1486
- }), p.useCallback(
1486
+ }), d.useCallback(
1487
1487
  async (n, a = {}) => {
1488
1488
  X(r.current, gt), r.current && (typeof n == "number" ? e.navigate(n) : await e.navigate(n, { fromRouteId: t, ...a }));
1489
1489
  },
@@ -1494,7 +1494,7 @@ var ot = {};
1494
1494
  function Et(e, t, r) {
1495
1495
  !t && !ot[e] && (ot[e] = !0, X(!1, r));
1496
1496
  }
1497
- p.memo(xr);
1497
+ d.memo(xr);
1498
1498
  function xr({
1499
1499
  routes: e,
1500
1500
  future: t,
@@ -1548,39 +1548,39 @@ function Ie(e) {
1548
1548
  `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${me}"`
1549
1549
  ), null) : e;
1550
1550
  }
1551
- function $r(e, t) {
1552
- let r, i, n, a, o;
1551
+ function kr(e, t) {
1552
+ let r, i, n, a, l;
1553
1553
  if (Cr(e)) {
1554
- let l = e.getAttribute("action");
1555
- i = l ? re(l, t) : null, r = e.getAttribute("method") || he, n = Ie(e.getAttribute("enctype")) || me, a = new FormData(e);
1554
+ let o = e.getAttribute("action");
1555
+ i = o ? re(o, t) : null, r = e.getAttribute("method") || he, n = Ie(e.getAttribute("enctype")) || me, a = new FormData(e);
1556
1556
  } else if (Rr(e) || Tr(e) && (e.type === "submit" || e.type === "image")) {
1557
- let l = e.form;
1558
- if (l == null)
1557
+ let o = e.form;
1558
+ if (o == null)
1559
1559
  throw new Error(
1560
1560
  'Cannot submit a <button> or <input type="submit"> without a <form>'
1561
1561
  );
1562
- let c = e.getAttribute("formaction") || l.getAttribute("action");
1563
- if (i = c ? re(c, t) : null, r = e.getAttribute("formmethod") || l.getAttribute("method") || he, n = Ie(e.getAttribute("formenctype")) || Ie(l.getAttribute("enctype")) || me, a = new FormData(l, e), !_r()) {
1564
- let { name: u, type: d, value: v } = e;
1565
- if (d === "image") {
1566
- let f = u ? `${u}.` : "";
1567
- a.append(`${f}x`, "0"), a.append(`${f}y`, "0");
1568
- } else u && a.append(u, v);
1562
+ let u = e.getAttribute("formaction") || o.getAttribute("action");
1563
+ if (i = u ? re(u, t) : null, r = e.getAttribute("formmethod") || o.getAttribute("method") || he, n = Ie(e.getAttribute("formenctype")) || Ie(o.getAttribute("enctype")) || me, a = new FormData(o, e), !_r()) {
1564
+ let { name: c, type: f, value: h } = e;
1565
+ if (f === "image") {
1566
+ let p = c ? `${c}.` : "";
1567
+ a.append(`${p}x`, "0"), a.append(`${p}y`, "0");
1568
+ } else c && a.append(c, h);
1569
1569
  }
1570
1570
  } else {
1571
1571
  if (be(e))
1572
1572
  throw new Error(
1573
1573
  'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
1574
1574
  );
1575
- r = he, i = null, n = me, o = e;
1575
+ r = he, i = null, n = me, l = e;
1576
1576
  }
1577
- return a && n === "text/plain" && (o = a, a = void 0), { action: i, method: r.toLowerCase(), encType: n, formData: a, body: o };
1577
+ return a && n === "text/plain" && (l = a, a = void 0), { action: i, method: r.toLowerCase(), encType: n, formData: a, body: l };
1578
1578
  }
1579
1579
  function Ue(e, t) {
1580
1580
  if (e === !1 || e === null || typeof e > "u")
1581
1581
  throw new Error(t);
1582
1582
  }
1583
- async function kr(e, t) {
1583
+ async function $r(e, t) {
1584
1584
  if (e.id in t)
1585
1585
  return t[e.id];
1586
1586
  try {
@@ -1605,77 +1605,77 @@ async function Ir(e, t, r) {
1605
1605
  e.map(async (n) => {
1606
1606
  let a = t.routes[n.route.id];
1607
1607
  if (a) {
1608
- let o = await kr(a, r);
1609
- return o.links ? o.links() : [];
1608
+ let l = await $r(a, r);
1609
+ return l.links ? l.links() : [];
1610
1610
  }
1611
1611
  return [];
1612
1612
  })
1613
1613
  );
1614
- return Mr(
1614
+ return jr(
1615
1615
  i.flat(1).filter(Nr).filter((n) => n.rel === "stylesheet" || n.rel === "preload").map(
1616
1616
  (n) => n.rel === "stylesheet" ? { ...n, rel: "prefetch", as: "style" } : { ...n, rel: "prefetch" }
1617
1617
  )
1618
1618
  );
1619
1619
  }
1620
1620
  function lt(e, t, r, i, n, a) {
1621
- let o = (c, u) => r[u] ? c.route.id !== r[u].route.id : !0, l = (c, u) => {
1622
- var d;
1621
+ let l = (u, c) => r[c] ? u.route.id !== r[c].route.id : !0, o = (u, c) => {
1622
+ var f;
1623
1623
  return (
1624
1624
  // param change, /users/123 -> /users/456
1625
- r[u].pathname !== c.pathname || // splat param changed, which is not present in match.path
1625
+ r[c].pathname !== u.pathname || // splat param changed, which is not present in match.path
1626
1626
  // e.g. /files/images/avatar.jpg -> files/finances.xls
1627
- ((d = r[u].route.path) == null ? void 0 : d.endsWith("*")) && r[u].params["*"] !== c.params["*"]
1627
+ ((f = r[c].route.path) == null ? void 0 : f.endsWith("*")) && r[c].params["*"] !== u.params["*"]
1628
1628
  );
1629
1629
  };
1630
1630
  return a === "assets" ? t.filter(
1631
- (c, u) => o(c, u) || l(c, u)
1632
- ) : a === "data" ? t.filter((c, u) => {
1633
- var v;
1634
- let d = i.routes[c.route.id];
1635
- if (!d || !d.hasLoader)
1631
+ (u, c) => l(u, c) || o(u, c)
1632
+ ) : a === "data" ? t.filter((u, c) => {
1633
+ var h;
1634
+ let f = i.routes[u.route.id];
1635
+ if (!f || !f.hasLoader)
1636
1636
  return !1;
1637
- if (o(c, u) || l(c, u))
1637
+ if (l(u, c) || o(u, c))
1638
1638
  return !0;
1639
- if (c.route.shouldRevalidate) {
1640
- let f = c.route.shouldRevalidate({
1639
+ if (u.route.shouldRevalidate) {
1640
+ let p = u.route.shouldRevalidate({
1641
1641
  currentUrl: new URL(
1642
1642
  n.pathname + n.search + n.hash,
1643
1643
  window.origin
1644
1644
  ),
1645
- currentParams: ((v = r[0]) == null ? void 0 : v.params) || {},
1645
+ currentParams: ((h = r[0]) == null ? void 0 : h.params) || {},
1646
1646
  nextUrl: new URL(e, window.origin),
1647
- nextParams: c.params,
1647
+ nextParams: u.params,
1648
1648
  defaultShouldRevalidate: !0
1649
1649
  });
1650
- if (typeof f == "boolean")
1651
- return f;
1650
+ if (typeof p == "boolean")
1651
+ return p;
1652
1652
  }
1653
1653
  return !0;
1654
1654
  }) : [];
1655
1655
  }
1656
- function Ar(e, t) {
1656
+ function Ar(e, t, { includeHydrateFallback: r } = {}) {
1657
1657
  return Lr(
1658
- e.map((r) => {
1659
- let i = t.routes[r.route.id];
1660
- if (!i) return [];
1661
- let n = [i.module];
1662
- return i.imports && (n = n.concat(i.imports)), n;
1658
+ e.map((i) => {
1659
+ let n = t.routes[i.route.id];
1660
+ if (!n) return [];
1661
+ let a = [n.module];
1662
+ return n.clientActionModule && (a = a.concat(n.clientActionModule)), n.clientLoaderModule && (a = a.concat(n.clientLoaderModule)), r && n.hydrateFallbackModule && (a = a.concat(n.hydrateFallbackModule)), n.imports && (a = a.concat(n.imports)), a;
1663
1663
  }).flat(1)
1664
1664
  );
1665
1665
  }
1666
1666
  function Lr(e) {
1667
1667
  return [...new Set(e)];
1668
1668
  }
1669
- function jr(e) {
1669
+ function Mr(e) {
1670
1670
  let t = {}, r = Object.keys(e).sort();
1671
1671
  for (let i of r)
1672
1672
  t[i] = e[i];
1673
1673
  return t;
1674
1674
  }
1675
- function Mr(e, t) {
1675
+ function jr(e, t) {
1676
1676
  let r = /* @__PURE__ */ new Set();
1677
1677
  return new Set(t), e.reduce((i, n) => {
1678
- let a = JSON.stringify(jr(n));
1678
+ let a = JSON.stringify(Mr(n));
1679
1679
  return r.has(a) || (r.add(a), i.push({ key: a, link: n })), i;
1680
1680
  }, []);
1681
1681
  }
@@ -1689,67 +1689,67 @@ function Dr(e) {
1689
1689
  return t.pathname === "/" ? t.pathname = "_root.data" : t.pathname = `${t.pathname.replace(/\/$/, "")}.data`, t;
1690
1690
  }
1691
1691
  function qr() {
1692
- let e = p.useContext(ie);
1692
+ let e = d.useContext(ie);
1693
1693
  return Ue(
1694
1694
  e,
1695
1695
  "You must render this element inside a <DataRouterContext.Provider> element"
1696
1696
  ), e;
1697
1697
  }
1698
1698
  function Fr() {
1699
- let e = p.useContext(ve);
1699
+ let e = d.useContext(ve);
1700
1700
  return Ue(
1701
1701
  e,
1702
1702
  "You must render this element inside a <DataRouterStateContext.Provider> element"
1703
1703
  ), e;
1704
1704
  }
1705
- var ze = p.createContext(void 0);
1705
+ var ze = d.createContext(void 0);
1706
1706
  ze.displayName = "FrameworkContext";
1707
1707
  function wt() {
1708
- let e = p.useContext(ze);
1708
+ let e = d.useContext(ze);
1709
1709
  return Ue(
1710
1710
  e,
1711
1711
  "You must render this element inside a <HydratedRouter> element"
1712
1712
  ), e;
1713
1713
  }
1714
1714
  function Wr(e, t) {
1715
- let r = p.useContext(ze), [i, n] = p.useState(!1), [a, o] = p.useState(!1), { onFocus: l, onBlur: c, onMouseEnter: u, onMouseLeave: d, onTouchStart: v } = t, f = p.useRef(null);
1716
- p.useEffect(() => {
1717
- if (e === "render" && o(!0), e === "viewport") {
1718
- let E = (y) => {
1719
- y.forEach((N) => {
1720
- o(N.isIntersecting);
1715
+ let r = d.useContext(ze), [i, n] = d.useState(!1), [a, l] = d.useState(!1), { onFocus: o, onBlur: u, onMouseEnter: c, onMouseLeave: f, onTouchStart: h } = t, p = d.useRef(null);
1716
+ d.useEffect(() => {
1717
+ if (e === "render" && l(!0), e === "viewport") {
1718
+ let x = (b) => {
1719
+ b.forEach((T) => {
1720
+ l(T.isIntersecting);
1721
1721
  });
1722
- }, C = new IntersectionObserver(E, { threshold: 0.5 });
1723
- return f.current && C.observe(f.current), () => {
1724
- C.disconnect();
1722
+ }, R = new IntersectionObserver(x, { threshold: 0.5 });
1723
+ return p.current && R.observe(p.current), () => {
1724
+ R.disconnect();
1725
1725
  };
1726
1726
  }
1727
- }, [e]), p.useEffect(() => {
1727
+ }, [e]), d.useEffect(() => {
1728
1728
  if (i) {
1729
- let E = setTimeout(() => {
1730
- o(!0);
1729
+ let x = setTimeout(() => {
1730
+ l(!0);
1731
1731
  }, 100);
1732
1732
  return () => {
1733
- clearTimeout(E);
1733
+ clearTimeout(x);
1734
1734
  };
1735
1735
  }
1736
1736
  }, [i]);
1737
- let b = () => {
1737
+ let v = () => {
1738
1738
  n(!0);
1739
- }, h = () => {
1740
- n(!1), o(!1);
1739
+ }, m = () => {
1740
+ n(!1), l(!1);
1741
1741
  };
1742
- return r ? e !== "intent" ? [a, f, {}] : [
1742
+ return r ? e !== "intent" ? [a, p, {}] : [
1743
1743
  a,
1744
- f,
1744
+ p,
1745
1745
  {
1746
- onFocus: le(l, b),
1747
- onBlur: le(c, h),
1748
- onMouseEnter: le(u, b),
1749
- onMouseLeave: le(d, h),
1750
- onTouchStart: le(v, b)
1746
+ onFocus: le(o, v),
1747
+ onBlur: le(u, m),
1748
+ onMouseEnter: le(c, v),
1749
+ onMouseLeave: le(f, m),
1750
+ onTouchStart: le(h, v)
1751
1751
  }
1752
- ] : [!1, f, {}];
1752
+ ] : [!1, p, {}];
1753
1753
  }
1754
1754
  function le(e, t) {
1755
1755
  return (r) => {
@@ -1760,19 +1760,19 @@ function Br({
1760
1760
  page: e,
1761
1761
  ...t
1762
1762
  }) {
1763
- let { router: r } = qr(), i = p.useMemo(
1763
+ let { router: r } = qr(), i = d.useMemo(
1764
1764
  () => ft(r.routes, e, r.basename),
1765
1765
  [r.routes, e, r.basename]
1766
1766
  );
1767
- return i ? /* @__PURE__ */ p.createElement(zr, { page: e, matches: i, ...t }) : null;
1767
+ return i ? /* @__PURE__ */ d.createElement(zr, { page: e, matches: i, ...t }) : null;
1768
1768
  }
1769
1769
  function Ur(e) {
1770
- let { manifest: t, routeModules: r } = wt(), [i, n] = p.useState([]);
1771
- return p.useEffect(() => {
1770
+ let { manifest: t, routeModules: r } = wt(), [i, n] = d.useState([]);
1771
+ return d.useEffect(() => {
1772
1772
  let a = !1;
1773
1773
  return Ir(e, t, r).then(
1774
- (o) => {
1775
- a || n(o);
1774
+ (l) => {
1775
+ a || n(l);
1776
1776
  }
1777
1777
  ), () => {
1778
1778
  a = !0;
@@ -1784,57 +1784,57 @@ function zr({
1784
1784
  matches: t,
1785
1785
  ...r
1786
1786
  }) {
1787
- let i = ne(), { manifest: n, routeModules: a } = wt(), { loaderData: o, matches: l } = Fr(), c = p.useMemo(
1787
+ let i = ne(), { manifest: n, routeModules: a } = wt(), { loaderData: l, matches: o } = Fr(), u = d.useMemo(
1788
1788
  () => lt(
1789
1789
  e,
1790
1790
  t,
1791
- l,
1791
+ o,
1792
1792
  n,
1793
1793
  i,
1794
1794
  "data"
1795
1795
  ),
1796
- [e, t, l, n, i]
1797
- ), u = p.useMemo(
1796
+ [e, t, o, n, i]
1797
+ ), c = d.useMemo(
1798
1798
  () => lt(
1799
1799
  e,
1800
1800
  t,
1801
- l,
1801
+ o,
1802
1802
  n,
1803
1803
  i,
1804
1804
  "assets"
1805
1805
  ),
1806
- [e, t, l, n, i]
1807
- ), d = p.useMemo(() => {
1806
+ [e, t, o, n, i]
1807
+ ), f = d.useMemo(() => {
1808
1808
  if (e === i.pathname + i.search + i.hash)
1809
1809
  return [];
1810
- let b = /* @__PURE__ */ new Set(), h = !1;
1811
- if (t.forEach((C) => {
1812
- var N;
1813
- let y = n.routes[C.route.id];
1814
- !y || !y.hasLoader || (!c.some((T) => T.route.id === C.route.id) && C.route.id in o && ((N = a[C.route.id]) != null && N.shouldRevalidate) || y.hasClientLoader ? h = !0 : b.add(C.route.id));
1815
- }), b.size === 0)
1810
+ let v = /* @__PURE__ */ new Set(), m = !1;
1811
+ if (t.forEach((R) => {
1812
+ var T;
1813
+ let b = n.routes[R.route.id];
1814
+ !b || !b.hasLoader || (!u.some((S) => S.route.id === R.route.id) && R.route.id in l && ((T = a[R.route.id]) != null && T.shouldRevalidate) || b.hasClientLoader ? m = !0 : v.add(R.route.id));
1815
+ }), v.size === 0)
1816
1816
  return [];
1817
- let E = Dr(e);
1818
- return h && b.size > 0 && E.searchParams.set(
1817
+ let x = Dr(e);
1818
+ return m && v.size > 0 && x.searchParams.set(
1819
1819
  "_routes",
1820
- t.filter((C) => b.has(C.route.id)).map((C) => C.route.id).join(",")
1821
- ), [E.pathname + E.search];
1820
+ t.filter((R) => v.has(R.route.id)).map((R) => R.route.id).join(",")
1821
+ ), [x.pathname + x.search];
1822
1822
  }, [
1823
- o,
1823
+ l,
1824
1824
  i,
1825
1825
  n,
1826
- c,
1826
+ u,
1827
1827
  t,
1828
1828
  e,
1829
1829
  a
1830
- ]), v = p.useMemo(
1831
- () => Ar(u, n),
1832
- [u, n]
1833
- ), f = Ur(u);
1834
- return /* @__PURE__ */ p.createElement(p.Fragment, null, d.map((b) => /* @__PURE__ */ p.createElement("link", { key: b, rel: "prefetch", as: "fetch", href: b, ...r })), v.map((b) => /* @__PURE__ */ p.createElement("link", { key: b, rel: "modulepreload", href: b, ...r })), f.map(({ key: b, link: h }) => (
1830
+ ]), h = d.useMemo(
1831
+ () => Ar(c, n),
1832
+ [c, n]
1833
+ ), p = Ur(c);
1834
+ return /* @__PURE__ */ d.createElement(d.Fragment, null, f.map((v) => /* @__PURE__ */ d.createElement("link", { key: v, rel: "prefetch", as: "fetch", href: v, ...r })), h.map((v) => /* @__PURE__ */ d.createElement("link", { key: v, rel: "modulepreload", href: v, ...r })), p.map(({ key: v, link: m }) => (
1835
1835
  // these don't spread `linkProps` because they are full link descriptors
1836
1836
  // already with their own props
1837
- /* @__PURE__ */ p.createElement("link", { key: b, ...h })
1837
+ /* @__PURE__ */ d.createElement("link", { key: v, ...m })
1838
1838
  )));
1839
1839
  }
1840
1840
  function Yr(...e) {
@@ -1846,114 +1846,114 @@ function Yr(...e) {
1846
1846
  }
1847
1847
  var xt = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
1848
1848
  try {
1849
- xt && (window.__reactRouterVersion = "7.1.1");
1849
+ xt && (window.__reactRouterVersion = "7.2.0");
1850
1850
  } catch {
1851
1851
  }
1852
- var Rt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ye = p.forwardRef(
1852
+ var Rt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ye = d.forwardRef(
1853
1853
  function({
1854
1854
  onClick: t,
1855
1855
  discover: r = "render",
1856
1856
  prefetch: i = "none",
1857
1857
  relative: n,
1858
1858
  reloadDocument: a,
1859
- replace: o,
1860
- state: l,
1861
- target: c,
1862
- to: u,
1863
- preventScrollReset: d,
1864
- viewTransition: v,
1865
- ...f
1866
- }, b) {
1867
- let { basename: h } = p.useContext(Z), E = typeof u == "string" && Rt.test(u), C, y = !1;
1868
- if (typeof u == "string" && E && (C = u, xt))
1859
+ replace: l,
1860
+ state: o,
1861
+ target: u,
1862
+ to: c,
1863
+ preventScrollReset: f,
1864
+ viewTransition: h,
1865
+ ...p
1866
+ }, v) {
1867
+ let { basename: m } = d.useContext(Z), x = typeof c == "string" && Rt.test(c), R, b = !1;
1868
+ if (typeof c == "string" && x && (R = c, xt))
1869
1869
  try {
1870
- let F = new URL(window.location.href), H = u.startsWith("//") ? new URL(F.protocol + u) : new URL(u), ee = re(H.pathname, h);
1871
- H.origin === F.origin && ee != null ? u = ee + H.search + H.hash : y = !0;
1870
+ let F = new URL(window.location.href), H = c.startsWith("//") ? new URL(F.protocol + c) : new URL(c), ee = re(H.pathname, m);
1871
+ H.origin === F.origin && ee != null ? c = ee + H.search + H.hash : b = !0;
1872
1872
  } catch {
1873
1873
  X(
1874
1874
  !1,
1875
- `<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
1875
+ `<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
1876
1876
  );
1877
1877
  }
1878
- let N = lr(u, { relative: n }), [T, k, g] = Wr(
1878
+ let T = lr(c, { relative: n }), [S, N, g] = Wr(
1879
1879
  i,
1880
- f
1881
- ), U = Kr(u, {
1882
- replace: o,
1883
- state: l,
1884
- target: c,
1885
- preventScrollReset: d,
1880
+ p
1881
+ ), U = Kr(c, {
1882
+ replace: l,
1883
+ state: o,
1884
+ target: u,
1885
+ preventScrollReset: f,
1886
1886
  relative: n,
1887
- viewTransition: v
1887
+ viewTransition: h
1888
1888
  });
1889
1889
  function Y(F) {
1890
1890
  t && t(F), F.defaultPrevented || U(F);
1891
1891
  }
1892
1892
  let V = (
1893
1893
  // eslint-disable-next-line jsx-a11y/anchor-has-content
1894
- /* @__PURE__ */ p.createElement(
1894
+ /* @__PURE__ */ d.createElement(
1895
1895
  "a",
1896
1896
  {
1897
- ...f,
1897
+ ...p,
1898
1898
  ...g,
1899
- href: C || N,
1900
- onClick: y || a ? t : Y,
1901
- ref: Yr(b, k),
1902
- target: c,
1903
- "data-discover": !E && r === "render" ? "true" : void 0
1899
+ href: R || T,
1900
+ onClick: b || a ? t : Y,
1901
+ ref: Yr(v, N),
1902
+ target: u,
1903
+ "data-discover": !x && r === "render" ? "true" : void 0
1904
1904
  }
1905
1905
  )
1906
1906
  );
1907
- return T && !E ? /* @__PURE__ */ p.createElement(p.Fragment, null, V, /* @__PURE__ */ p.createElement(Br, { page: N })) : V;
1907
+ return S && !x ? /* @__PURE__ */ d.createElement(d.Fragment, null, V, /* @__PURE__ */ d.createElement(Br, { page: T })) : V;
1908
1908
  }
1909
1909
  );
1910
1910
  Ye.displayName = "Link";
1911
- var Hr = p.forwardRef(
1911
+ var Hr = d.forwardRef(
1912
1912
  function({
1913
1913
  "aria-current": t = "page",
1914
1914
  caseSensitive: r = !1,
1915
1915
  className: i = "",
1916
1916
  end: n = !1,
1917
1917
  style: a,
1918
- to: o,
1919
- viewTransition: l,
1920
- children: c,
1921
- ...u
1922
- }, d) {
1923
- let v = se(o, { relative: u.relative }), f = ne(), b = p.useContext(ve), { navigator: h, basename: E } = p.useContext(Z), C = b != null && // Conditional usage is OK here because the usage of a data router is static
1918
+ to: l,
1919
+ viewTransition: o,
1920
+ children: u,
1921
+ ...c
1922
+ }, f) {
1923
+ let h = se(l, { relative: c.relative }), p = ne(), v = d.useContext(ve), { navigator: m, basename: x } = d.useContext(Z), R = v != null && // Conditional usage is OK here because the usage of a data router is static
1924
1924
  // eslint-disable-next-line react-hooks/rules-of-hooks
1925
- en(v) && l === !0, y = h.encodeLocation ? h.encodeLocation(v).pathname : v.pathname, N = f.pathname, T = b && b.navigation && b.navigation.location ? b.navigation.location.pathname : null;
1926
- r || (N = N.toLowerCase(), T = T ? T.toLowerCase() : null, y = y.toLowerCase()), T && E && (T = re(T, E) || T);
1927
- const k = y !== "/" && y.endsWith("/") ? y.length - 1 : y.length;
1928
- let g = N === y || !n && N.startsWith(y) && N.charAt(k) === "/", U = T != null && (T === y || !n && T.startsWith(y) && T.charAt(y.length) === "/"), Y = {
1925
+ en(h) && o === !0, b = m.encodeLocation ? m.encodeLocation(h).pathname : h.pathname, T = p.pathname, S = v && v.navigation && v.navigation.location ? v.navigation.location.pathname : null;
1926
+ r || (T = T.toLowerCase(), S = S ? S.toLowerCase() : null, b = b.toLowerCase()), S && x && (S = re(S, x) || S);
1927
+ const N = b !== "/" && b.endsWith("/") ? b.length - 1 : b.length;
1928
+ let g = T === b || !n && T.startsWith(b) && T.charAt(N) === "/", U = S != null && (S === b || !n && S.startsWith(b) && S.charAt(b.length) === "/"), Y = {
1929
1929
  isActive: g,
1930
1930
  isPending: U,
1931
- isTransitioning: C
1931
+ isTransitioning: R
1932
1932
  }, V = g ? t : void 0, F;
1933
1933
  typeof i == "function" ? F = i(Y) : F = [
1934
1934
  i,
1935
1935
  g ? "active" : null,
1936
1936
  U ? "pending" : null,
1937
- C ? "transitioning" : null
1937
+ R ? "transitioning" : null
1938
1938
  ].filter(Boolean).join(" ");
1939
1939
  let H = typeof a == "function" ? a(Y) : a;
1940
- return /* @__PURE__ */ p.createElement(
1940
+ return /* @__PURE__ */ d.createElement(
1941
1941
  Ye,
1942
1942
  {
1943
- ...u,
1943
+ ...c,
1944
1944
  "aria-current": V,
1945
1945
  className: F,
1946
- ref: d,
1946
+ ref: f,
1947
1947
  style: H,
1948
- to: o,
1949
- viewTransition: l
1948
+ to: l,
1949
+ viewTransition: o
1950
1950
  },
1951
- typeof c == "function" ? c(Y) : c
1951
+ typeof u == "function" ? u(Y) : u
1952
1952
  );
1953
1953
  }
1954
1954
  );
1955
1955
  Hr.displayName = "NavLink";
1956
- var Vr = p.forwardRef(
1956
+ var Vr = d.forwardRef(
1957
1957
  ({
1958
1958
  discover: e = "render",
1959
1959
  fetcherKey: t,
@@ -1961,38 +1961,38 @@ var Vr = p.forwardRef(
1961
1961
  reloadDocument: i,
1962
1962
  replace: n,
1963
1963
  state: a,
1964
- method: o = he,
1965
- action: l,
1966
- onSubmit: c,
1967
- relative: u,
1968
- preventScrollReset: d,
1969
- viewTransition: v,
1970
- ...f
1971
- }, b) => {
1972
- let h = Zr(), E = Qr(l, { relative: u }), C = o.toLowerCase() === "get" ? "get" : "post", y = typeof l == "string" && Rt.test(l), N = (T) => {
1973
- if (c && c(T), T.defaultPrevented) return;
1974
- T.preventDefault();
1975
- let k = T.nativeEvent.submitter, g = (k == null ? void 0 : k.getAttribute("formmethod")) || o;
1976
- h(k || T.currentTarget, {
1964
+ method: l = he,
1965
+ action: o,
1966
+ onSubmit: u,
1967
+ relative: c,
1968
+ preventScrollReset: f,
1969
+ viewTransition: h,
1970
+ ...p
1971
+ }, v) => {
1972
+ let m = Zr(), x = Qr(o, { relative: c }), R = l.toLowerCase() === "get" ? "get" : "post", b = typeof o == "string" && Rt.test(o), T = (S) => {
1973
+ if (u && u(S), S.defaultPrevented) return;
1974
+ S.preventDefault();
1975
+ let N = S.nativeEvent.submitter, g = (N == null ? void 0 : N.getAttribute("formmethod")) || l;
1976
+ m(N || S.currentTarget, {
1977
1977
  fetcherKey: t,
1978
1978
  method: g,
1979
1979
  navigate: r,
1980
1980
  replace: n,
1981
1981
  state: a,
1982
- relative: u,
1983
- preventScrollReset: d,
1984
- viewTransition: v
1982
+ relative: c,
1983
+ preventScrollReset: f,
1984
+ viewTransition: h
1985
1985
  });
1986
1986
  };
1987
- return /* @__PURE__ */ p.createElement(
1987
+ return /* @__PURE__ */ d.createElement(
1988
1988
  "form",
1989
1989
  {
1990
- ref: b,
1991
- method: C,
1992
- action: E,
1993
- onSubmit: i ? c : N,
1994
- ...f,
1995
- "data-discover": !y && e === "render" ? "true" : void 0
1990
+ ref: v,
1991
+ method: R,
1992
+ action: x,
1993
+ onSubmit: i ? u : T,
1994
+ ...p,
1995
+ "data-discover": !b && e === "render" ? "true" : void 0
1996
1996
  }
1997
1997
  );
1998
1998
  }
@@ -2002,7 +2002,7 @@ function Jr(e) {
2002
2002
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
2003
2003
  }
2004
2004
  function Ct(e) {
2005
- let t = p.useContext(ie);
2005
+ let t = d.useContext(ie);
2006
2006
  return W(t, Jr(e)), t;
2007
2007
  }
2008
2008
  function Kr(e, {
@@ -2011,34 +2011,34 @@ function Kr(e, {
2011
2011
  state: i,
2012
2012
  preventScrollReset: n,
2013
2013
  relative: a,
2014
- viewTransition: o
2014
+ viewTransition: l
2015
2015
  } = {}) {
2016
- let l = sr(), c = ne(), u = se(e, { relative: a });
2017
- return p.useCallback(
2018
- (d) => {
2019
- if (Pr(d, t)) {
2020
- d.preventDefault();
2021
- let v = r !== void 0 ? r : Ae(c) === Ae(u);
2022
- l(e, {
2023
- replace: v,
2016
+ let o = sr(), u = ne(), c = se(e, { relative: a });
2017
+ return d.useCallback(
2018
+ (f) => {
2019
+ if (Pr(f, t)) {
2020
+ f.preventDefault();
2021
+ let h = r !== void 0 ? r : Ae(u) === Ae(c);
2022
+ o(e, {
2023
+ replace: h,
2024
2024
  state: i,
2025
2025
  preventScrollReset: n,
2026
2026
  relative: a,
2027
- viewTransition: o
2027
+ viewTransition: l
2028
2028
  });
2029
2029
  }
2030
2030
  },
2031
2031
  [
2032
- c,
2033
- l,
2034
2032
  u,
2033
+ o,
2034
+ c,
2035
2035
  r,
2036
2036
  i,
2037
2037
  t,
2038
2038
  e,
2039
2039
  n,
2040
2040
  a,
2041
- o
2041
+ l
2042
2042
  ]
2043
2043
  );
2044
2044
  }
@@ -2047,30 +2047,30 @@ function Zr() {
2047
2047
  let { router: e } = Ct(
2048
2048
  "useSubmit"
2049
2049
  /* UseSubmit */
2050
- ), { basename: t } = p.useContext(Z), r = br();
2051
- return p.useCallback(
2050
+ ), { basename: t } = d.useContext(Z), r = br();
2051
+ return d.useCallback(
2052
2052
  async (i, n = {}) => {
2053
- let { action: a, method: o, encType: l, formData: c, body: u } = $r(
2053
+ let { action: a, method: l, encType: o, formData: u, body: c } = kr(
2054
2054
  i,
2055
2055
  t
2056
2056
  );
2057
2057
  if (n.navigate === !1) {
2058
- let d = n.fetcherKey || Xr();
2059
- await e.fetch(d, r, n.action || a, {
2058
+ let f = n.fetcherKey || Xr();
2059
+ await e.fetch(f, r, n.action || a, {
2060
2060
  preventScrollReset: n.preventScrollReset,
2061
- formData: c,
2062
- body: u,
2063
- formMethod: n.method || o,
2064
- formEncType: n.encType || l,
2061
+ formData: u,
2062
+ body: c,
2063
+ formMethod: n.method || l,
2064
+ formEncType: n.encType || o,
2065
2065
  flushSync: n.flushSync
2066
2066
  });
2067
2067
  } else
2068
2068
  await e.navigate(n.action || a, {
2069
2069
  preventScrollReset: n.preventScrollReset,
2070
- formData: c,
2071
- body: u,
2072
- formMethod: n.method || o,
2073
- formEncType: n.encType || l,
2070
+ formData: u,
2071
+ body: c,
2072
+ formMethod: n.method || l,
2073
+ formEncType: n.encType || o,
2074
2074
  replace: n.replace,
2075
2075
  state: n.state,
2076
2076
  fromRouteId: r,
@@ -2082,22 +2082,22 @@ function Zr() {
2082
2082
  );
2083
2083
  }
2084
2084
  function Qr(e, { relative: t } = {}) {
2085
- let { basename: r } = p.useContext(Z), i = p.useContext(Q);
2085
+ let { basename: r } = d.useContext(Z), i = d.useContext(Q);
2086
2086
  W(i, "useFormAction must be used inside a RouteContext");
2087
- let [n] = i.matches.slice(-1), a = { ...se(e || ".", { relative: t }) }, o = ne();
2087
+ let [n] = i.matches.slice(-1), a = { ...se(e || ".", { relative: t }) }, l = ne();
2088
2088
  if (e == null) {
2089
- a.search = o.search;
2090
- let l = new URLSearchParams(a.search), c = l.getAll("index");
2091
- if (c.some((d) => d === "")) {
2092
- l.delete("index"), c.filter((v) => v).forEach((v) => l.append("index", v));
2093
- let d = l.toString();
2094
- a.search = d ? `?${d}` : "";
2089
+ a.search = l.search;
2090
+ let o = new URLSearchParams(a.search), u = o.getAll("index");
2091
+ if (u.some((f) => f === "")) {
2092
+ o.delete("index"), u.filter((h) => h).forEach((h) => o.append("index", h));
2093
+ let f = o.toString();
2094
+ a.search = f ? `?${f}` : "";
2095
2095
  }
2096
2096
  }
2097
2097
  return (!e || e === ".") && n.route.index && (a.search = a.search ? a.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (a.pathname = a.pathname === "/" ? r : G([r, a.pathname])), Ae(a);
2098
2098
  }
2099
2099
  function en(e, t = {}) {
2100
- let r = p.useContext(vt);
2100
+ let r = d.useContext(vt);
2101
2101
  W(
2102
2102
  r != null,
2103
2103
  "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"
@@ -2108,8 +2108,8 @@ function en(e, t = {}) {
2108
2108
  ), n = se(e, { relative: t.relative });
2109
2109
  if (!r.isTransitioning)
2110
2110
  return !1;
2111
- let a = re(r.currentLocation.pathname, i) || r.currentLocation.pathname, o = re(r.nextLocation.pathname, i) || r.nextLocation.pathname;
2112
- return ye(n.pathname, o) != null || ye(n.pathname, a) != null;
2111
+ let a = re(r.currentLocation.pathname, i) || r.currentLocation.pathname, l = re(r.nextLocation.pathname, i) || r.nextLocation.pathname;
2112
+ return ye(n.pathname, l) != null || ye(n.pathname, a) != null;
2113
2113
  }
2114
2114
  new TextEncoder();
2115
2115
  const Le = ({
@@ -2119,57 +2119,57 @@ const Le = ({
2119
2119
  className: i,
2120
2120
  type: n = "primary",
2121
2121
  variant: a = "",
2122
- size: o = "default",
2123
- icon: l = "",
2124
- iconOnly: c = !1,
2125
- iconPosition: u = "left",
2126
- fullWidth: d = !1,
2127
- disabled: v = !1,
2128
- onClick: f = () => {
2122
+ size: l = "default",
2123
+ icon: o = "",
2124
+ iconOnly: u = !1,
2125
+ iconPosition: c = "left",
2126
+ fullWidth: f = !1,
2127
+ disabled: h = !1,
2128
+ onClick: p = () => {
2129
2129
  },
2130
- "aria-label": b = ""
2130
+ "aria-label": v = ""
2131
2131
  }) => {
2132
- const h = l && c, E = B(
2132
+ const m = o && u, x = B(
2133
2133
  // Static classes
2134
2134
  "rpf-button",
2135
2135
  // Conditional classes
2136
2136
  {
2137
2137
  [`rpf-button--${n}`]: n,
2138
2138
  "rpf-button--danger": a === "danger",
2139
- "rpf-button--sm": o === "small",
2140
- "rpf-button--icon-only": h,
2141
- "rpf-button--full-width": d,
2142
- disabled: v
2139
+ "rpf-button--sm": l === "small",
2140
+ "rpf-button--icon-only": m,
2141
+ "rpf-button--full-width": f,
2142
+ disabled: h
2143
2143
  },
2144
2144
  i
2145
2145
  );
2146
- let C = "rpf-button__icon";
2147
- Tt.isValidElement(l) ? (C += " icon", console.warn(
2146
+ let R = "rpf-button__icon";
2147
+ Tt.isValidElement(o) ? (R += " icon", console.warn(
2148
2148
  "DEPRECATED: icons as React elements will not be supported in future releases"
2149
- )) : C += " material-symbols-sharp";
2150
- const y = (k) => l && u === k && /* @__PURE__ */ R("span", { className: C, children: l }), N = () => e && !h && /* @__PURE__ */ R("span", { className: "text", children: e }), T = /* @__PURE__ */ q(je, { children: [
2151
- y("left"),
2152
- N(),
2153
- y("right")
2149
+ )) : R += " material-symbols-sharp";
2150
+ const b = (N) => o && c === N && /* @__PURE__ */ C("span", { className: R, children: o }), T = () => e && !m && /* @__PURE__ */ C("span", { className: "text", children: e }), S = /* @__PURE__ */ q(Me, { children: [
2151
+ b("left"),
2152
+ T(),
2153
+ b("right")
2154
2154
  ] });
2155
- return t ? /* @__PURE__ */ R(
2155
+ return t ? /* @__PURE__ */ C(
2156
2156
  Ye,
2157
2157
  {
2158
- className: E,
2158
+ className: x,
2159
2159
  to: t,
2160
- onClick: f,
2161
- "aria-label": b,
2162
- children: T
2160
+ onClick: p,
2161
+ "aria-label": v,
2162
+ children: S
2163
2163
  }
2164
- ) : /* @__PURE__ */ R(
2164
+ ) : /* @__PURE__ */ C(
2165
2165
  "button",
2166
2166
  {
2167
- className: E,
2167
+ className: x,
2168
2168
  title: r,
2169
- onClick: f,
2170
- disabled: v,
2171
- "aria-label": b,
2172
- children: T
2169
+ onClick: p,
2170
+ disabled: h,
2171
+ "aria-label": v,
2172
+ children: S
2173
2173
  }
2174
2174
  );
2175
2175
  };
@@ -2192,9 +2192,9 @@ Le.propTypes = {
2192
2192
  };
2193
2193
  const tn = ({ title: e, text: t, children: r, type: i, actions: n, onClose: a }) => /* @__PURE__ */ q("div", { className: `rpf-alert rpf-alert--${i}`, children: [
2194
2194
  /* @__PURE__ */ q("div", { className: "rpf-alert__header", children: [
2195
- /* @__PURE__ */ R("span", { className: "rpf-alert__icon material-symbols-sharp" }),
2196
- /* @__PURE__ */ R("p", { className: "rpf-alert__title", children: e }),
2197
- !!a && /* @__PURE__ */ R("div", { className: "rpf-alert__close", children: /* @__PURE__ */ R(
2195
+ /* @__PURE__ */ C("span", { className: "rpf-alert__icon material-symbols-sharp" }),
2196
+ /* @__PURE__ */ C("p", { className: "rpf-alert__title", children: e }),
2197
+ !!a && /* @__PURE__ */ C("div", { className: "rpf-alert__close", children: /* @__PURE__ */ C(
2198
2198
  Le,
2199
2199
  {
2200
2200
  type: "tertiary",
@@ -2206,18 +2206,18 @@ const tn = ({ title: e, text: t, children: r, type: i, actions: n, onClose: a })
2206
2206
  ) })
2207
2207
  ] }),
2208
2208
  (t || r || n) && /* @__PURE__ */ q("div", { className: "rpf-alert__body", children: [
2209
- !r && t && /* @__PURE__ */ R("p", { children: t }),
2210
- r && /* @__PURE__ */ R("div", { children: r }),
2211
- n && n.length > 0 && /* @__PURE__ */ R("div", { className: "rpf-alert__actions", children: n.map((o) => /* @__PURE__ */ R(
2209
+ !r && t && /* @__PURE__ */ C("p", { children: t }),
2210
+ r && /* @__PURE__ */ C("div", { children: r }),
2211
+ n && n.length > 0 && /* @__PURE__ */ C("div", { className: "rpf-alert__actions", children: n.map((l) => /* @__PURE__ */ C(
2212
2212
  Le,
2213
2213
  {
2214
- text: o.label,
2214
+ text: l.label,
2215
2215
  size: "small",
2216
2216
  type: "tertiary",
2217
- href: o.href,
2218
- onClick: o.onClick
2217
+ href: l.href,
2218
+ onClick: l.onClick
2219
2219
  },
2220
- o.key || o.label
2220
+ l.key || l.label
2221
2221
  )) })
2222
2222
  ] })
2223
2223
  ] });
@@ -2242,38 +2242,38 @@ const rn = ({
2242
2242
  checked: i = !1,
2243
2243
  disabled: n = !1,
2244
2244
  error: a = "",
2245
- onChange: o = () => {
2245
+ onChange: l = () => {
2246
2246
  },
2247
- value: l = "",
2248
- className: c = ""
2249
- }) => /* @__PURE__ */ q(je, { children: [
2247
+ value: o = "",
2248
+ className: u = ""
2249
+ }) => /* @__PURE__ */ q(Me, { children: [
2250
2250
  /* @__PURE__ */ q(
2251
2251
  "label",
2252
2252
  {
2253
2253
  className: B("rpf-input-checkbox", {
2254
2254
  "rpf-input-checkbox--error": a,
2255
- className: c
2255
+ className: u
2256
2256
  }),
2257
2257
  children: [
2258
- /* @__PURE__ */ R("span", { children: /* @__PURE__ */ R(
2258
+ /* @__PURE__ */ C("span", { children: /* @__PURE__ */ C(
2259
2259
  "input",
2260
2260
  {
2261
2261
  checked: !!i,
2262
2262
  disabled: n,
2263
2263
  id: e,
2264
2264
  name: r,
2265
- onChange: o,
2265
+ onChange: l,
2266
2266
  type: "checkbox",
2267
- value: l
2267
+ value: o
2268
2268
  }
2269
2269
  ) }),
2270
- /* @__PURE__ */ R("span", { className: "checkmark" }),
2270
+ /* @__PURE__ */ C("span", { className: "checkmark" }),
2271
2271
  t
2272
2272
  ]
2273
2273
  }
2274
2274
  ),
2275
2275
  a && /* @__PURE__ */ q("div", { className: "rpf-error-message", children: [
2276
- /* @__PURE__ */ R("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
2276
+ /* @__PURE__ */ C("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
2277
2277
  a
2278
2278
  ] })
2279
2279
  ] });
@@ -2307,11 +2307,11 @@ const nn = ({
2307
2307
  children: [
2308
2308
  /* @__PURE__ */ q("legend", { className: "rpf-label", children: [
2309
2309
  i,
2310
- n.length > 0 ? /* @__PURE__ */ R("small", { className: "rpf-label__hint", children: n }) : null
2310
+ n.length > 0 ? /* @__PURE__ */ C("small", { className: "rpf-label__hint", children: n }) : null
2311
2311
  ] }),
2312
- /* @__PURE__ */ R("div", { className: "rpf-fieldset__inputs", children: a }),
2312
+ /* @__PURE__ */ C("div", { className: "rpf-fieldset__inputs", children: a }),
2313
2313
  t.length > 0 ? /* @__PURE__ */ q("div", { className: "rpf-error-message", children: [
2314
- /* @__PURE__ */ R("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
2314
+ /* @__PURE__ */ C("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
2315
2315
  t
2316
2316
  ] }) : null
2317
2317
  ]
@@ -2342,13 +2342,13 @@ const Ee = ({
2342
2342
  }),
2343
2343
  children: [
2344
2344
  t,
2345
- /* @__PURE__ */ R("small", { className: "rpf-label__hint", children: a })
2345
+ /* @__PURE__ */ C("small", { className: "rpf-label__hint", children: a })
2346
2346
  ]
2347
2347
  }
2348
2348
  ),
2349
2349
  r,
2350
2350
  n && /* @__PURE__ */ q("div", { className: "rpf-error-message", children: [
2351
- /* @__PURE__ */ R("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
2351
+ /* @__PURE__ */ C("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
2352
2352
  n
2353
2353
  ] })
2354
2354
  ] });
@@ -2365,7 +2365,7 @@ const an = ({
2365
2365
  inputFieldId: t,
2366
2366
  disabled: r = !1,
2367
2367
  hint: i = ""
2368
- }) => /* @__PURE__ */ R("div", { className: "rpf-label", children: /* @__PURE__ */ q(
2368
+ }) => /* @__PURE__ */ C("div", { className: "rpf-label", children: /* @__PURE__ */ q(
2369
2369
  "label",
2370
2370
  {
2371
2371
  htmlFor: t,
@@ -2374,7 +2374,7 @@ const an = ({
2374
2374
  }),
2375
2375
  children: [
2376
2376
  e,
2377
- i && /* @__PURE__ */ R("div", { className: "rpf-label__hint", children: i })
2377
+ i && /* @__PURE__ */ C("div", { className: "rpf-label__hint", children: i })
2378
2378
  ]
2379
2379
  }
2380
2380
  ) });
@@ -2384,9 +2384,9 @@ an.propTypes = {
2384
2384
  label: s.oneOfType([s.string, s.object]).isRequired,
2385
2385
  inputFieldId: s.string.isRequired
2386
2386
  };
2387
- const on = ({ text: e = "", percent: t }) => /* @__PURE__ */ R("div", { className: "rpf-progress-bar", children: /* @__PURE__ */ q("label", { className: "rpf-progress-bar__label", children: [
2388
- /* @__PURE__ */ R("span", { children: e }),
2389
- /* @__PURE__ */ R("progress", { className: "rpf-progress-bar__bar", value: t, max: "100", children: `${t}%` })
2387
+ const on = ({ text: e = "", percent: t }) => /* @__PURE__ */ C("div", { className: "rpf-progress-bar", children: /* @__PURE__ */ q("label", { className: "rpf-progress-bar__label", children: [
2388
+ /* @__PURE__ */ C("span", { children: e }),
2389
+ /* @__PURE__ */ C("progress", { className: "rpf-progress-bar__bar", value: t, max: "100", children: `${t}%` })
2390
2390
  ] }) });
2391
2391
  on.propTypes = {
2392
2392
  text: s.string,
@@ -2399,10 +2399,10 @@ const ln = ({
2399
2399
  checked: i = !1,
2400
2400
  disabled: n = !1,
2401
2401
  fullWidth: a = !1,
2402
- onChange: o = () => {
2402
+ onChange: l = () => {
2403
2403
  },
2404
- value: l = ""
2405
- }) => /* @__PURE__ */ R(je, { children: /* @__PURE__ */ q(
2404
+ value: o = ""
2405
+ }) => /* @__PURE__ */ C(Me, { children: /* @__PURE__ */ q(
2406
2406
  "label",
2407
2407
  {
2408
2408
  className: B("rpf-input-radio", {
@@ -2410,16 +2410,16 @@ const ln = ({
2410
2410
  "rpf-input--full-width": a
2411
2411
  }),
2412
2412
  children: [
2413
- /* @__PURE__ */ R(
2413
+ /* @__PURE__ */ C(
2414
2414
  "input",
2415
2415
  {
2416
2416
  checked: !!i,
2417
2417
  disabled: n,
2418
2418
  id: e,
2419
2419
  name: r,
2420
- onChange: o,
2420
+ onChange: l,
2421
2421
  type: "radio",
2422
- value: l
2422
+ value: o
2423
2423
  }
2424
2424
  ),
2425
2425
  t
@@ -2443,11 +2443,11 @@ const sn = ({
2443
2443
  error: i = "",
2444
2444
  hint: n = "",
2445
2445
  placeholder: a = "",
2446
- defaultValue: o = "",
2447
- onClick: l = () => {
2446
+ defaultValue: l = "",
2447
+ onClick: o = () => {
2448
2448
  },
2449
2449
  // eslint-disable-next-line no-unused-vars
2450
- onChange: c = (u) => {
2450
+ onChange: u = (c) => {
2451
2451
  }
2452
2452
  }) => /* @__PURE__ */ q("div", { className: "rpf-input-field", children: [
2453
2453
  /* @__PURE__ */ q(
@@ -2459,12 +2459,12 @@ const sn = ({
2459
2459
  }),
2460
2460
  children: [
2461
2461
  e,
2462
- n && /* @__PURE__ */ R("small", { className: "rpf-label__hint", children: n })
2462
+ n && /* @__PURE__ */ C("small", { className: "rpf-label__hint", children: n })
2463
2463
  ]
2464
2464
  }
2465
2465
  ),
2466
2466
  /* @__PURE__ */ q("div", { className: "rpf-input-search-container", children: [
2467
- /* @__PURE__ */ R(
2467
+ /* @__PURE__ */ C(
2468
2468
  "input",
2469
2469
  {
2470
2470
  className: B("rpf-input rpf-input-search", {
@@ -2476,12 +2476,12 @@ const sn = ({
2476
2476
  name: "search",
2477
2477
  type: "search",
2478
2478
  "aria-label": "Search",
2479
- defaultValue: o,
2479
+ defaultValue: l,
2480
2480
  placeholder: a,
2481
- onChange: c
2481
+ onChange: u
2482
2482
  }
2483
2483
  ),
2484
- /* @__PURE__ */ R(
2484
+ /* @__PURE__ */ C(
2485
2485
  "button",
2486
2486
  {
2487
2487
  type: "button",
@@ -2490,13 +2490,13 @@ const sn = ({
2490
2490
  "rpf-button--error": i
2491
2491
  }),
2492
2492
  disabled: r,
2493
- onClick: l,
2494
- children: /* @__PURE__ */ R("span", { className: "rpf-button__icon material-symbols-sharp", children: "search" })
2493
+ onClick: o,
2494
+ children: /* @__PURE__ */ C("span", { className: "rpf-button__icon material-symbols-sharp", children: "search" })
2495
2495
  }
2496
2496
  )
2497
2497
  ] }),
2498
2498
  i && /* @__PURE__ */ q("div", { className: "rpf-error-message", children: [
2499
- /* @__PURE__ */ R("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "info" }),
2499
+ /* @__PURE__ */ C("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "info" }),
2500
2500
  i
2501
2501
  ] })
2502
2502
  ] });
@@ -2518,36 +2518,36 @@ const un = ({
2518
2518
  options: i,
2519
2519
  disabled: n = !1,
2520
2520
  error: a = "",
2521
- fullWidth: o = !1,
2522
- hint: l = "",
2523
- onChange: c = () => {
2521
+ fullWidth: l = !1,
2522
+ hint: o = "",
2523
+ onChange: u = () => {
2524
2524
  },
2525
- placeholder: u = "",
2526
- value: d = ""
2527
- }) => /* @__PURE__ */ R(
2525
+ placeholder: c = "",
2526
+ value: f = ""
2527
+ }) => /* @__PURE__ */ C(
2528
2528
  Ee,
2529
2529
  {
2530
2530
  id: e,
2531
2531
  disabled: n,
2532
2532
  error: a,
2533
- hint: l,
2533
+ hint: o,
2534
2534
  label: t,
2535
2535
  children: /* @__PURE__ */ q(
2536
2536
  "select",
2537
2537
  {
2538
2538
  className: B("rpf-input rpf-input-select", {
2539
2539
  "rpf-input--error": a,
2540
- "rpf-input--full-width": o
2540
+ "rpf-input--full-width": l
2541
2541
  }),
2542
2542
  disabled: n,
2543
2543
  id: e,
2544
2544
  name: r,
2545
- onChange: c,
2545
+ onChange: u,
2546
2546
  type: "text",
2547
- value: d,
2547
+ value: f,
2548
2548
  children: [
2549
- !d && !!u && /* @__PURE__ */ R("option", { value: "", disabled: !0, children: u }),
2550
- i.map((v) => /* @__PURE__ */ R("option", { value: v.key, children: v.value }, v.key))
2549
+ !f && !!c && /* @__PURE__ */ C("option", { value: "", disabled: !0, children: c }),
2550
+ i.map((h) => /* @__PURE__ */ C("option", { value: h.key, children: h.value }, h.key))
2551
2551
  ]
2552
2552
  }
2553
2553
  )
@@ -2566,7 +2566,7 @@ un.propTypes = {
2566
2566
  placeholder: s.string,
2567
2567
  value: s.string
2568
2568
  };
2569
- const cn = ({ headerRow: e, bodyRows: t, fullWidth: r }) => /* @__PURE__ */ R(
2569
+ const cn = ({ headerRow: e, bodyRows: t, fullWidth: r }) => /* @__PURE__ */ C(
2570
2570
  "div",
2571
2571
  {
2572
2572
  "data-testid": "table-container",
@@ -2578,8 +2578,8 @@ const cn = ({ headerRow: e, bodyRows: t, fullWidth: r }) => /* @__PURE__ */ R(
2578
2578
  "rpf-table__table--full-width": r
2579
2579
  }),
2580
2580
  children: [
2581
- /* @__PURE__ */ R("thead", { children: /* @__PURE__ */ R("tr", { className: "rpf-table-row", children: e }) }),
2582
- /* @__PURE__ */ R("tbody", { children: t.map((i, n) => /* @__PURE__ */ R("tr", { className: "rpf-table-row", children: i }, n)) })
2581
+ /* @__PURE__ */ C("thead", { children: /* @__PURE__ */ C("tr", { className: "rpf-table-row", children: e }) }),
2582
+ /* @__PURE__ */ C("tbody", { children: t.map((i, n) => /* @__PURE__ */ C("tr", { className: "rpf-table-row", children: i }, n)) })
2583
2583
  ]
2584
2584
  }
2585
2585
  )
@@ -2590,19 +2590,19 @@ cn.propTypes = {
2590
2590
  bodyRows: s.arrayOf(s.node).isRequired,
2591
2591
  fullWidth: s.bool
2592
2592
  };
2593
- const fn = ({ children: e }) => /* @__PURE__ */ R("td", { className: "rpf-table-cell rpf-table-cell--body", children: /* @__PURE__ */ R("div", { className: "rpf-table-cell__content", children: e }) });
2593
+ const fn = ({ children: e }) => /* @__PURE__ */ C("td", { className: "rpf-table-cell rpf-table-cell--body", children: /* @__PURE__ */ C("div", { className: "rpf-table-cell__content", children: e }) });
2594
2594
  fn.propTypes = {
2595
2595
  children: s.node
2596
2596
  };
2597
2597
  const dn = ({ sortDirection: e, children: t }) => (e !== void 0 && (t = /* @__PURE__ */ q("div", { className: "rpf-table-cell__sort-header", children: [
2598
2598
  t,
2599
- /* @__PURE__ */ R("span", { className: "material-symbols-sharp", children: e === "up" ? "arrow_drop_up" : "arrow_drop_down" })
2600
- ] })), /* @__PURE__ */ R("th", { className: `rpf-table-cell ${e !== void 0 ? "rpf-table-cell--sortable-header" : "rpf-table-cell--header"}`, children: /* @__PURE__ */ R("div", { className: "rpf-table-cell__content", children: t }) }));
2599
+ /* @__PURE__ */ C("span", { className: "material-symbols-sharp", children: e === "up" ? "arrow_drop_up" : "arrow_drop_down" })
2600
+ ] })), /* @__PURE__ */ C("th", { className: `rpf-table-cell ${e !== void 0 ? "rpf-table-cell--sortable-header" : "rpf-table-cell--header"}`, children: /* @__PURE__ */ C("div", { className: "rpf-table-cell__content", children: t }) }));
2601
2601
  dn.propTypes = {
2602
2602
  sortDirection: s.oneOf(["up", "down"]),
2603
2603
  children: s.node
2604
2604
  };
2605
- const pn = ({ text: e, variant: t, secondary: r, icon: i, iconPosition: n }) => (i && (i = /* @__PURE__ */ R("span", { className: "rpf-tag__icon material-symbols-sharp", children: i })), i && !n && (n = "left"), t && t !== "default" ? t = `rpf-tag--${t}` : t = null, /* @__PURE__ */ q(
2605
+ const pn = ({ text: e, variant: t, secondary: r, icon: i, iconPosition: n }) => (i && (i = /* @__PURE__ */ C("span", { className: "rpf-tag__icon material-symbols-sharp", children: i })), i && !n && (n = "left"), t && t !== "default" ? t = `rpf-tag--${t}` : t = null, /* @__PURE__ */ q(
2606
2606
  "span",
2607
2607
  {
2608
2608
  className: B("rpf-tag", t, {
@@ -2635,32 +2635,32 @@ const hn = ({
2635
2635
  value: i,
2636
2636
  disabled: n = !1,
2637
2637
  readOnly: a = !1,
2638
- error: o = "",
2639
- fullWidth: l = !1,
2640
- hint: c = "",
2641
- onChange: u = () => {
2638
+ error: l = "",
2639
+ fullWidth: o = !1,
2640
+ hint: u = "",
2641
+ onChange: c = () => {
2642
2642
  }
2643
- }) => /* @__PURE__ */ R(
2643
+ }) => /* @__PURE__ */ C(
2644
2644
  Ee,
2645
2645
  {
2646
2646
  id: e,
2647
2647
  disabled: n,
2648
- error: o,
2649
- hint: c,
2648
+ error: l,
2649
+ hint: u,
2650
2650
  label: t,
2651
- children: /* @__PURE__ */ R(
2651
+ children: /* @__PURE__ */ C(
2652
2652
  "textarea",
2653
2653
  {
2654
2654
  className: B("rpf-input rpf-input-textarea", {
2655
- "rpf-input--error": o,
2656
- "rpf-input--full-width": l,
2655
+ "rpf-input--error": l,
2656
+ "rpf-input--full-width": o,
2657
2657
  "rpf-input--disabled": n
2658
2658
  }),
2659
2659
  disabled: n,
2660
2660
  readOnly: a,
2661
2661
  id: e,
2662
2662
  name: r,
2663
- onChange: u,
2663
+ onChange: c,
2664
2664
  type: "text",
2665
2665
  value: i
2666
2666
  }
@@ -2686,29 +2686,29 @@ const mn = ({
2686
2686
  value: i,
2687
2687
  disabled: n = !1,
2688
2688
  error: a = "",
2689
- fullWidth: o = !1,
2690
- hint: l = "",
2691
- onChange: c = () => {
2689
+ fullWidth: l = !1,
2690
+ hint: o = "",
2691
+ onChange: u = () => {
2692
2692
  }
2693
- }) => /* @__PURE__ */ R(
2693
+ }) => /* @__PURE__ */ C(
2694
2694
  Ee,
2695
2695
  {
2696
2696
  id: e,
2697
2697
  disabled: n,
2698
2698
  error: a,
2699
- hint: l,
2699
+ hint: o,
2700
2700
  label: t,
2701
- children: /* @__PURE__ */ R(
2701
+ children: /* @__PURE__ */ C(
2702
2702
  "input",
2703
2703
  {
2704
2704
  className: B("rpf-input rpf-input-text", {
2705
2705
  "rpf-input--error": a,
2706
- "rpf-input--full-width": o
2706
+ "rpf-input--full-width": l
2707
2707
  }),
2708
2708
  disabled: n,
2709
2709
  id: e,
2710
2710
  name: r,
2711
- onChange: c,
2711
+ onChange: u,
2712
2712
  type: "text",
2713
2713
  value: i
2714
2714
  }
@@ -2727,7 +2727,7 @@ mn.propTypes = {
2727
2727
  value: s.string.isRequired
2728
2728
  };
2729
2729
  export {
2730
- jt as Accordion,
2730
+ Mt as Accordion,
2731
2731
  tn as Alert,
2732
2732
  Le as Button,
2733
2733
  rn as CheckboxInput,