@kosdev-code/kos-ui-plugin 2.1.21 → 2.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as te from "react/jsx-runtime";
2
2
  import * as j from "react";
3
- import Y, { forwardRef as Vt, useContext as Re, createContext as Je, useState as B, useEffect as W, useMemo as L, Suspense as jt } from "react";
4
- import h from "@emotion/styled";
3
+ import Y, { forwardRef as Vt, useContext as Re, createContext as Je, useState as B, useEffect as W, useMemo as O, Suspense as jt } from "react";
4
+ import m from "@emotion/styled";
5
5
  import { r as ne, m as Bt, R as Kt, a as Yt, b as Wt, P as re, g as Ht, c as _e, D as Ut } from "./documentation-generator-Di4c9D9P.js";
6
6
  import { C as mi, f as gi, h as xi, e as yi, d as bi, l as vi } from "./documentation-generator-Di4c9D9P.js";
7
7
  import { useKosTranslation as Gt } from "@kosdev-code/kos-ui-sdk";
@@ -46,7 +46,7 @@ var Xt = /* @__PURE__ */ function() {
46
46
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
47
47
  }), this.tags = [], this.ctr = 0;
48
48
  }, e;
49
- }(), z = "-ms-", he = "-moz-", E = "-webkit-", Qe = "comm", Te = "rule", Me = "decl", Jt = "@import", et = "@keyframes", Qt = "@layer", en = Math.abs, me = String.fromCharCode, tn = Object.assign;
49
+ }(), N = "-ms-", he = "-moz-", E = "-webkit-", Qe = "comm", Te = "rule", Me = "decl", Jt = "@import", et = "@keyframes", Qt = "@layer", en = Math.abs, me = String.fromCharCode, tn = Object.assign;
50
50
  function nn(e, t) {
51
51
  return A(e, 0) ^ 45 ? (((t << 2 ^ A(e, 0)) << 2 ^ A(e, 1)) << 2 ^ A(e, 2)) << 2 ^ A(e, 3) : 0;
52
52
  }
@@ -59,7 +59,7 @@ function rn(e, t) {
59
59
  function w(e, t, n) {
60
60
  return e.replace(t, n);
61
61
  }
62
- function Ce(e, t) {
62
+ function Se(e, t) {
63
63
  return e.indexOf(t);
64
64
  }
65
65
  function A(e, t) {
@@ -80,7 +80,7 @@ function le(e, t) {
80
80
  function on(e, t) {
81
81
  return e.map(t).join("");
82
82
  }
83
- var ge = 1, q = 1, nt = 0, O = 0, T = 0, Z = "";
83
+ var ge = 1, q = 1, nt = 0, F = 0, M = 0, Z = "";
84
84
  function xe(e, t, n, r, i, o, s) {
85
85
  return { value: e, root: t, parent: n, type: r, props: i, children: o, line: ge, column: q, length: s, return: "" };
86
86
  }
@@ -88,19 +88,19 @@ function J(e, t) {
88
88
  return tn(xe("", null, null, "", null, null, 0), e, { length: -e.length }, t);
89
89
  }
90
90
  function sn() {
91
- return T;
91
+ return M;
92
92
  }
93
93
  function an() {
94
- return T = O > 0 ? A(Z, --O) : 0, q--, T === 10 && (q = 1, ge--), T;
94
+ return M = F > 0 ? A(Z, --F) : 0, q--, M === 10 && (q = 1, ge--), M;
95
95
  }
96
- function F() {
97
- return T = O < nt ? A(Z, O++) : 0, q++, T === 10 && (q = 1, ge++), T;
96
+ function L() {
97
+ return M = F < nt ? A(Z, F++) : 0, q++, M === 10 && (q = 1, ge++), M;
98
98
  }
99
99
  function V() {
100
- return A(Z, O);
100
+ return A(Z, F);
101
101
  }
102
102
  function fe() {
103
- return O;
103
+ return F;
104
104
  }
105
105
  function ae(e, t) {
106
106
  return ie(Z, e, t);
@@ -138,74 +138,74 @@ function oe(e) {
138
138
  return 0;
139
139
  }
140
140
  function rt(e) {
141
- return ge = q = 1, nt = D(Z = e), O = 0, [];
141
+ return ge = q = 1, nt = D(Z = e), F = 0, [];
142
142
  }
143
143
  function it(e) {
144
144
  return Z = "", e;
145
145
  }
146
146
  function ue(e) {
147
- return tt(ae(O - 1, Se(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
147
+ return tt(ae(F - 1, Ce(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
148
148
  }
149
149
  function cn(e) {
150
- for (; (T = V()) && T < 33; )
151
- F();
152
- return oe(e) > 2 || oe(T) > 3 ? "" : " ";
150
+ for (; (M = V()) && M < 33; )
151
+ L();
152
+ return oe(e) > 2 || oe(M) > 3 ? "" : " ";
153
153
  }
154
154
  function ln(e, t) {
155
- for (; --t && F() && !(T < 48 || T > 102 || T > 57 && T < 65 || T > 70 && T < 97); )
155
+ for (; --t && L() && !(M < 48 || M > 102 || M > 57 && M < 65 || M > 70 && M < 97); )
156
156
  ;
157
- return ae(e, fe() + (t < 6 && V() == 32 && F() == 32));
157
+ return ae(e, fe() + (t < 6 && V() == 32 && L() == 32));
158
158
  }
159
- function Se(e) {
160
- for (; F(); )
161
- switch (T) {
159
+ function Ce(e) {
160
+ for (; L(); )
161
+ switch (M) {
162
162
  case e:
163
- return O;
163
+ return F;
164
164
  case 34:
165
165
  case 39:
166
- e !== 34 && e !== 39 && Se(T);
166
+ e !== 34 && e !== 39 && Ce(M);
167
167
  break;
168
168
  case 40:
169
- e === 41 && Se(e);
169
+ e === 41 && Ce(e);
170
170
  break;
171
171
  case 92:
172
- F();
172
+ L();
173
173
  break;
174
174
  }
175
- return O;
175
+ return F;
176
176
  }
177
177
  function dn(e, t) {
178
- for (; F() && e + T !== 57; )
179
- if (e + T === 84 && V() === 47)
178
+ for (; L() && e + M !== 57; )
179
+ if (e + M === 84 && V() === 47)
180
180
  break;
181
- return "/*" + ae(t, O - 1) + "*" + me(e === 47 ? e : F());
181
+ return "/*" + ae(t, F - 1) + "*" + me(e === 47 ? e : L());
182
182
  }
183
183
  function fn(e) {
184
184
  for (; !oe(V()); )
185
- F();
186
- return ae(e, O);
185
+ L();
186
+ return ae(e, F);
187
187
  }
188
188
  function un(e) {
189
189
  return it(pe("", null, null, null, [""], e = rt(e), 0, [0], e));
190
190
  }
191
- function pe(e, t, n, r, i, o, s, a, f) {
192
- for (var u = 0, d = 0, c = s, x = 0, b = 0, y = 0, v = 1, M = 1, $ = 1, _ = 0, k = "", R = i, p = o, N = r, P = k; M; )
193
- switch (y = _, _ = F()) {
191
+ function pe(e, t, n, r, i, o, s, a, l) {
192
+ for (var u = 0, d = 0, c = s, h = 0, y = 0, b = 0, v = 1, R = 1, $ = 1, T = 0, k = "", _ = i, p = o, z = r, P = k; R; )
193
+ switch (b = T, T = L()) {
194
194
  case 40:
195
- if (y != 108 && A(P, c - 1) == 58) {
196
- Ce(P += w(ue(_), "&", "&\f"), "&\f") != -1 && ($ = -1);
195
+ if (b != 108 && A(P, c - 1) == 58) {
196
+ Se(P += w(ue(T), "&", "&\f"), "&\f") != -1 && ($ = -1);
197
197
  break;
198
198
  }
199
199
  case 34:
200
200
  case 39:
201
201
  case 91:
202
- P += ue(_);
202
+ P += ue(T);
203
203
  break;
204
204
  case 9:
205
205
  case 10:
206
206
  case 13:
207
207
  case 32:
208
- P += cn(y);
208
+ P += cn(b);
209
209
  break;
210
210
  case 92:
211
211
  P += ln(fe() - 1, 7);
@@ -214,7 +214,7 @@ function pe(e, t, n, r, i, o, s, a, f) {
214
214
  switch (V()) {
215
215
  case 42:
216
216
  case 47:
217
- le(pn(dn(F(), fe()), t, n), f);
217
+ le(pn(dn(L(), fe()), t, n), l);
218
218
  break;
219
219
  default:
220
220
  P += "/";
@@ -225,43 +225,43 @@ function pe(e, t, n, r, i, o, s, a, f) {
225
225
  case 125 * v:
226
226
  case 59:
227
227
  case 0:
228
- switch (_) {
228
+ switch (T) {
229
229
  case 0:
230
230
  case 125:
231
- M = 0;
231
+ R = 0;
232
232
  case 59 + d:
233
- $ == -1 && (P = w(P, /\f/g, "")), b > 0 && D(P) - c && le(b > 32 ? Ve(P + ";", r, n, c - 1) : Ve(w(P, " ", "") + ";", r, n, c - 2), f);
233
+ $ == -1 && (P = w(P, /\f/g, "")), y > 0 && D(P) - c && le(y > 32 ? Ve(P + ";", r, n, c - 1) : Ve(w(P, " ", "") + ";", r, n, c - 2), l);
234
234
  break;
235
235
  case 59:
236
236
  P += ";";
237
237
  default:
238
- if (le(N = Ie(P, t, n, u, d, i, a, k, R = [], p = [], c), o), _ === 123)
238
+ if (le(z = Ie(P, t, n, u, d, i, a, k, _ = [], p = [], c), o), T === 123)
239
239
  if (d === 0)
240
- pe(P, t, N, N, R, o, c, a, p);
240
+ pe(P, t, z, z, _, o, c, a, p);
241
241
  else
242
- switch (x === 99 && A(P, 3) === 110 ? 100 : x) {
242
+ switch (h === 99 && A(P, 3) === 110 ? 100 : h) {
243
243
  case 100:
244
244
  case 108:
245
245
  case 109:
246
246
  case 115:
247
- pe(e, N, N, r && le(Ie(e, N, N, 0, 0, i, a, k, i, R = [], c), p), i, p, c, a, r ? R : p);
247
+ pe(e, z, z, r && le(Ie(e, z, z, 0, 0, i, a, k, i, _ = [], c), p), i, p, c, a, r ? _ : p);
248
248
  break;
249
249
  default:
250
- pe(P, N, N, N, [""], p, 0, a, p);
250
+ pe(P, z, z, z, [""], p, 0, a, p);
251
251
  }
252
252
  }
253
- u = d = b = 0, v = $ = 1, k = P = "", c = s;
253
+ u = d = y = 0, v = $ = 1, k = P = "", c = s;
254
254
  break;
255
255
  case 58:
256
- c = 1 + D(P), b = y;
256
+ c = 1 + D(P), y = b;
257
257
  default:
258
258
  if (v < 1) {
259
- if (_ == 123)
259
+ if (T == 123)
260
260
  --v;
261
- else if (_ == 125 && v++ == 0 && an() == 125)
261
+ else if (T == 125 && v++ == 0 && an() == 125)
262
262
  continue;
263
263
  }
264
- switch (P += me(_), _ * v) {
264
+ switch (P += me(T), T * v) {
265
265
  case 38:
266
266
  $ = d > 0 ? 1 : (P += "\f", -1);
267
267
  break;
@@ -269,19 +269,19 @@ function pe(e, t, n, r, i, o, s, a, f) {
269
269
  a[u++] = (D(P) - 1) * $, $ = 1;
270
270
  break;
271
271
  case 64:
272
- V() === 45 && (P += ue(F())), x = V(), d = c = D(k = P += fn(fe())), _++;
272
+ V() === 45 && (P += ue(L())), h = V(), d = c = D(k = P += fn(fe())), T++;
273
273
  break;
274
274
  case 45:
275
- y === 45 && D(P) == 2 && (v = 0);
275
+ b === 45 && D(P) == 2 && (v = 0);
276
276
  }
277
277
  }
278
278
  return o;
279
279
  }
280
- function Ie(e, t, n, r, i, o, s, a, f, u, d) {
281
- for (var c = i - 1, x = i === 0 ? o : [""], b = Ae(x), y = 0, v = 0, M = 0; y < r; ++y)
282
- for (var $ = 0, _ = ie(e, c + 1, c = en(v = s[y])), k = e; $ < b; ++$)
283
- (k = tt(v > 0 ? x[$] + " " + _ : w(_, /&\f/g, x[$]))) && (f[M++] = k);
284
- return xe(e, t, n, i === 0 ? Te : a, f, u, d);
280
+ function Ie(e, t, n, r, i, o, s, a, l, u, d) {
281
+ for (var c = i - 1, h = i === 0 ? o : [""], y = Ae(h), b = 0, v = 0, R = 0; b < r; ++b)
282
+ for (var $ = 0, T = ie(e, c + 1, c = en(v = s[b])), k = e; $ < y; ++$)
283
+ (k = tt(v > 0 ? h[$] + " " + T : w(T, /&\f/g, h[$]))) && (l[R++] = k);
284
+ return xe(e, t, n, i === 0 ? Te : a, l, u, d);
285
285
  }
286
286
  function pn(e, t, n) {
287
287
  return xe(e, t, n, Qe, me(sn()), ie(e, 2, -2), 0);
@@ -326,14 +326,14 @@ function gn(e) {
326
326
  }
327
327
  var xn = function(t, n, r) {
328
328
  for (var i = 0, o = 0; i = o, o = V(), i === 38 && o === 12 && (n[r] = 1), !oe(o); )
329
- F();
330
- return ae(t, O);
329
+ L();
330
+ return ae(t, F);
331
331
  }, yn = function(t, n) {
332
332
  var r = -1, i = 44;
333
333
  do
334
334
  switch (oe(i)) {
335
335
  case 0:
336
- i === 38 && V() === 12 && (n[r] = 1), t[r] += xn(O - 1, n, r);
336
+ i === 38 && V() === 12 && (n[r] = 1), t[r] += xn(F - 1, n, r);
337
337
  break;
338
338
  case 2:
339
339
  t[r] += ue(i);
@@ -346,7 +346,7 @@ var xn = function(t, n, r) {
346
346
  default:
347
347
  t[r] += me(i);
348
348
  }
349
- while (i = F());
349
+ while (i = L());
350
350
  return t;
351
351
  }, bn = function(t, n) {
352
352
  return it(yn(rt(t), n));
@@ -359,9 +359,9 @@ var xn = function(t, n, r) {
359
359
  return;
360
360
  if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !je.get(r)) && !i) {
361
361
  je.set(t, !0);
362
- for (var o = [], s = bn(n, o), a = r.props, f = 0, u = 0; f < s.length; f++)
362
+ for (var o = [], s = bn(n, o), a = r.props, l = 0, u = 0; l < s.length; l++)
363
363
  for (var d = 0; d < a.length; d++, u++)
364
- t.props[u] = o[f] ? s[f].replace(/&\f/g, a[d]) : a[d] + " " + s[f];
364
+ t.props[u] = o[l] ? s[l].replace(/&\f/g, a[d]) : a[d] + " " + s[l];
365
365
  }
366
366
  }
367
367
  }, En = function(t) {
@@ -407,24 +407,24 @@ function ot(e, t) {
407
407
  case 4810:
408
408
  case 6968:
409
409
  case 2756:
410
- return E + e + he + e + z + e + e;
410
+ return E + e + he + e + N + e + e;
411
411
  case 6828:
412
412
  case 4268:
413
- return E + e + z + e + e;
413
+ return E + e + N + e + e;
414
414
  case 6165:
415
- return E + e + z + "flex-" + e + e;
415
+ return E + e + N + "flex-" + e + e;
416
416
  case 5187:
417
- return E + e + w(e, /(\w+).+(:[^]+)/, E + "box-$1$2" + z + "flex-$1$2") + e;
417
+ return E + e + w(e, /(\w+).+(:[^]+)/, E + "box-$1$2" + N + "flex-$1$2") + e;
418
418
  case 5443:
419
- return E + e + z + "flex-item-" + w(e, /flex-|-self/, "") + e;
419
+ return E + e + N + "flex-item-" + w(e, /flex-|-self/, "") + e;
420
420
  case 4675:
421
- return E + e + z + "flex-line-pack" + w(e, /align-content|flex-|-self/, "") + e;
421
+ return E + e + N + "flex-line-pack" + w(e, /align-content|flex-|-self/, "") + e;
422
422
  case 5548:
423
- return E + e + z + w(e, "shrink", "negative") + e;
423
+ return E + e + N + w(e, "shrink", "negative") + e;
424
424
  case 5292:
425
- return E + e + z + w(e, "basis", "preferred-size") + e;
425
+ return E + e + N + w(e, "basis", "preferred-size") + e;
426
426
  case 6060:
427
- return E + "box-" + w(e, "-grow", "") + E + e + z + w(e, "grow", "positive") + e;
427
+ return E + "box-" + w(e, "-grow", "") + E + e + N + w(e, "grow", "positive") + e;
428
428
  case 4554:
429
429
  return E + w(e, /([^-])(transform)/g, "$1" + E + "$2") + e;
430
430
  case 6187:
@@ -433,7 +433,7 @@ function ot(e, t) {
433
433
  case 3959:
434
434
  return w(e, /(image-set\([^]*)/, E + "$1$`$1");
435
435
  case 4968:
436
- return w(w(e, /(.+:)(flex-)?(.*)/, E + "box-pack:$3" + z + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + E + e + e;
436
+ return w(w(e, /(.+:)(flex-)?(.*)/, E + "box-pack:$3" + N + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + E + e + e;
437
437
  case 4095:
438
438
  case 3583:
439
439
  case 4068:
@@ -459,30 +459,30 @@ function ot(e, t) {
459
459
  case 102:
460
460
  return w(e, /(.+:)(.+)-([^]+)/, "$1" + E + "$2-$3$1" + he + (A(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
461
461
  case 115:
462
- return ~Ce(e, "stretch") ? ot(w(e, "stretch", "fill-available"), t) + e : e;
462
+ return ~Se(e, "stretch") ? ot(w(e, "stretch", "fill-available"), t) + e : e;
463
463
  }
464
464
  break;
465
465
  case 4949:
466
466
  if (A(e, t + 1) !== 115)
467
467
  break;
468
468
  case 6444:
469
- switch (A(e, D(e) - 3 - (~Ce(e, "!important") && 10))) {
469
+ switch (A(e, D(e) - 3 - (~Se(e, "!important") && 10))) {
470
470
  case 107:
471
471
  return w(e, ":", ":" + E) + e;
472
472
  case 101:
473
- return w(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + E + (A(e, 14) === 45 ? "inline-" : "") + "box$3$1" + E + "$2$3$1" + z + "$2box$3") + e;
473
+ return w(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + E + (A(e, 14) === 45 ? "inline-" : "") + "box$3$1" + E + "$2$3$1" + N + "$2box$3") + e;
474
474
  }
475
475
  break;
476
476
  case 5936:
477
477
  switch (A(e, t + 11)) {
478
478
  case 114:
479
- return E + e + z + w(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
479
+ return E + e + N + w(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
480
480
  case 108:
481
- return E + e + z + w(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
481
+ return E + e + N + w(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
482
482
  case 45:
483
- return E + e + z + w(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
483
+ return E + e + N + w(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
484
484
  }
485
- return E + e + z + e + e;
485
+ return E + e + N + e + e;
486
486
  }
487
487
  return e;
488
488
  }
@@ -511,44 +511,44 @@ var wn = function(t, n, r, i) {
511
511
  }), J(t, {
512
512
  props: [w(o, /:(plac\w+)/, ":" + he + "$1")]
513
513
  }), J(t, {
514
- props: [w(o, /:(plac\w+)/, z + "input-$1")]
514
+ props: [w(o, /:(plac\w+)/, N + "input-$1")]
515
515
  })], i);
516
516
  }
517
517
  return "";
518
518
  });
519
519
  }
520
- }, Cn = [wn], Sn = function(t) {
520
+ }, Sn = [wn], Cn = function(t) {
521
521
  var n = t.key;
522
522
  if (n === "css") {
523
523
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
524
524
  Array.prototype.forEach.call(r, function(v) {
525
- var M = v.getAttribute("data-emotion");
526
- M.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
525
+ var R = v.getAttribute("data-emotion");
526
+ R.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
527
527
  });
528
528
  }
529
- var i = t.stylisPlugins || Cn, o = {}, s, a = [];
529
+ var i = t.stylisPlugins || Sn, o = {}, s, a = [];
530
530
  s = t.container || document.head, Array.prototype.forEach.call(
531
531
  // this means we will ignore elements which don't have a space in them which
532
532
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
533
533
  document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
534
534
  function(v) {
535
- for (var M = v.getAttribute("data-emotion").split(" "), $ = 1; $ < M.length; $++)
536
- o[M[$]] = !0;
535
+ for (var R = v.getAttribute("data-emotion").split(" "), $ = 1; $ < R.length; $++)
536
+ o[R[$]] = !0;
537
537
  a.push(v);
538
538
  }
539
539
  );
540
- var f, u = [vn, En];
540
+ var l, u = [vn, En];
541
541
  {
542
542
  var d, c = [hn, gn(function(v) {
543
543
  d.insert(v);
544
- })], x = mn(u.concat(i, c)), b = function(M) {
545
- return G(un(M), x);
544
+ })], h = mn(u.concat(i, c)), y = function(R) {
545
+ return G(un(R), h);
546
546
  };
547
- f = function(M, $, _, k) {
548
- d = _, b(M ? M + "{" + $.styles + "}" : $.styles), k && (y.inserted[$.name] = !0);
547
+ l = function(R, $, T, k) {
548
+ d = T, y(R ? R + "{" + $.styles + "}" : $.styles), k && (b.inserted[$.name] = !0);
549
549
  };
550
550
  }
551
- var y = {
551
+ var b = {
552
552
  key: n,
553
553
  sheet: new Xt({
554
554
  key: n,
@@ -561,10 +561,10 @@ var wn = function(t, n, r, i) {
561
561
  nonce: t.nonce,
562
562
  inserted: o,
563
563
  registered: {},
564
- insert: f
564
+ insert: l
565
565
  };
566
- return y.sheet.hydrate(a), y;
567
- }, Pe = { exports: {} }, C = {};
566
+ return b.sheet.hydrate(a), b;
567
+ }, Pe = { exports: {} }, S = {};
568
568
  /** @license React v16.13.1
569
569
  * react-is.production.min.js
570
570
  *
@@ -576,16 +576,16 @@ var wn = function(t, n, r, i) {
576
576
  var Be;
577
577
  function Pn() {
578
578
  if (Be)
579
- return C;
579
+ return S;
580
580
  Be = 1;
581
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
581
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
582
582
  function k(p) {
583
583
  if (typeof p == "object" && p !== null) {
584
- var N = p.$$typeof;
585
- switch (N) {
584
+ var z = p.$$typeof;
585
+ switch (z) {
586
586
  case t:
587
587
  switch (p = p.type, p) {
588
- case f:
588
+ case l:
589
589
  case u:
590
590
  case r:
591
591
  case o:
@@ -596,51 +596,51 @@ function Pn() {
596
596
  switch (p = p && p.$$typeof, p) {
597
597
  case a:
598
598
  case d:
599
- case y:
600
599
  case b:
600
+ case y:
601
601
  case s:
602
602
  return p;
603
603
  default:
604
- return N;
604
+ return z;
605
605
  }
606
606
  }
607
607
  case n:
608
- return N;
608
+ return z;
609
609
  }
610
610
  }
611
611
  }
612
- function R(p) {
612
+ function _(p) {
613
613
  return k(p) === u;
614
614
  }
615
- return C.AsyncMode = f, C.ConcurrentMode = u, C.ContextConsumer = a, C.ContextProvider = s, C.Element = t, C.ForwardRef = d, C.Fragment = r, C.Lazy = y, C.Memo = b, C.Portal = n, C.Profiler = o, C.StrictMode = i, C.Suspense = c, C.isAsyncMode = function(p) {
616
- return R(p) || k(p) === f;
617
- }, C.isConcurrentMode = R, C.isContextConsumer = function(p) {
615
+ return S.AsyncMode = l, S.ConcurrentMode = u, S.ContextConsumer = a, S.ContextProvider = s, S.Element = t, S.ForwardRef = d, S.Fragment = r, S.Lazy = b, S.Memo = y, S.Portal = n, S.Profiler = o, S.StrictMode = i, S.Suspense = c, S.isAsyncMode = function(p) {
616
+ return _(p) || k(p) === l;
617
+ }, S.isConcurrentMode = _, S.isContextConsumer = function(p) {
618
618
  return k(p) === a;
619
- }, C.isContextProvider = function(p) {
619
+ }, S.isContextProvider = function(p) {
620
620
  return k(p) === s;
621
- }, C.isElement = function(p) {
621
+ }, S.isElement = function(p) {
622
622
  return typeof p == "object" && p !== null && p.$$typeof === t;
623
- }, C.isForwardRef = function(p) {
623
+ }, S.isForwardRef = function(p) {
624
624
  return k(p) === d;
625
- }, C.isFragment = function(p) {
625
+ }, S.isFragment = function(p) {
626
626
  return k(p) === r;
627
- }, C.isLazy = function(p) {
628
- return k(p) === y;
629
- }, C.isMemo = function(p) {
627
+ }, S.isLazy = function(p) {
630
628
  return k(p) === b;
631
- }, C.isPortal = function(p) {
629
+ }, S.isMemo = function(p) {
630
+ return k(p) === y;
631
+ }, S.isPortal = function(p) {
632
632
  return k(p) === n;
633
- }, C.isProfiler = function(p) {
633
+ }, S.isProfiler = function(p) {
634
634
  return k(p) === o;
635
- }, C.isStrictMode = function(p) {
635
+ }, S.isStrictMode = function(p) {
636
636
  return k(p) === i;
637
- }, C.isSuspense = function(p) {
637
+ }, S.isSuspense = function(p) {
638
638
  return k(p) === c;
639
- }, C.isValidElementType = function(p) {
640
- return typeof p == "string" || typeof p == "function" || p === r || p === u || p === o || p === i || p === c || p === x || typeof p == "object" && p !== null && (p.$$typeof === y || p.$$typeof === b || p.$$typeof === s || p.$$typeof === a || p.$$typeof === d || p.$$typeof === M || p.$$typeof === $ || p.$$typeof === _ || p.$$typeof === v);
641
- }, C.typeOf = k, C;
639
+ }, S.isValidElementType = function(p) {
640
+ return typeof p == "string" || typeof p == "function" || p === r || p === u || p === o || p === i || p === c || p === h || typeof p == "object" && p !== null && (p.$$typeof === b || p.$$typeof === y || p.$$typeof === s || p.$$typeof === a || p.$$typeof === d || p.$$typeof === R || p.$$typeof === $ || p.$$typeof === T || p.$$typeof === v);
641
+ }, S.typeOf = k, S;
642
642
  }
643
- var S = {};
643
+ var C = {};
644
644
  /** @license React v16.13.1
645
645
  * react-is.development.js
646
646
  *
@@ -652,19 +652,19 @@ var S = {};
652
652
  var Ke;
653
653
  function kn() {
654
654
  return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
655
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
656
- function k(m) {
657
- return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
658
- m === r || m === u || m === o || m === i || m === c || m === x || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === b || m.$$typeof === s || m.$$typeof === a || m.$$typeof === d || m.$$typeof === M || m.$$typeof === $ || m.$$typeof === _ || m.$$typeof === v);
655
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
656
+ function k(g) {
657
+ return typeof g == "string" || typeof g == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
658
+ g === r || g === u || g === o || g === i || g === c || g === h || typeof g == "object" && g !== null && (g.$$typeof === b || g.$$typeof === y || g.$$typeof === s || g.$$typeof === a || g.$$typeof === d || g.$$typeof === R || g.$$typeof === $ || g.$$typeof === T || g.$$typeof === v);
659
659
  }
660
- function R(m) {
661
- if (typeof m == "object" && m !== null) {
662
- var be = m.$$typeof;
660
+ function _(g) {
661
+ if (typeof g == "object" && g !== null) {
662
+ var be = g.$$typeof;
663
663
  switch (be) {
664
664
  case t:
665
- var ce = m.type;
665
+ var ce = g.type;
666
666
  switch (ce) {
667
- case f:
667
+ case l:
668
668
  case u:
669
669
  case r:
670
670
  case o:
@@ -676,8 +676,8 @@ function kn() {
676
676
  switch (De) {
677
677
  case a:
678
678
  case d:
679
- case y:
680
679
  case b:
680
+ case y:
681
681
  case s:
682
682
  return De;
683
683
  default:
@@ -689,48 +689,48 @@ function kn() {
689
689
  }
690
690
  }
691
691
  }
692
- var p = f, N = u, P = a, yt = s, bt = t, vt = d, Et = r, wt = y, Ct = b, St = n, Pt = o, kt = i, $t = c, Fe = !1;
693
- function Rt(m) {
694
- return Fe || (Fe = !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.")), Le(m) || R(m) === f;
692
+ var p = l, z = u, P = a, yt = s, bt = t, vt = d, Et = r, wt = b, St = y, Ct = n, Pt = o, kt = i, $t = c, Le = !1;
693
+ function Rt(g) {
694
+ return Le || (Le = !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.")), Oe(g) || _(g) === l;
695
695
  }
696
- function Le(m) {
697
- return R(m) === u;
696
+ function Oe(g) {
697
+ return _(g) === u;
698
698
  }
699
- function _t(m) {
700
- return R(m) === a;
699
+ function _t(g) {
700
+ return _(g) === a;
701
701
  }
702
- function Tt(m) {
703
- return R(m) === s;
702
+ function Tt(g) {
703
+ return _(g) === s;
704
704
  }
705
- function Mt(m) {
706
- return typeof m == "object" && m !== null && m.$$typeof === t;
705
+ function Mt(g) {
706
+ return typeof g == "object" && g !== null && g.$$typeof === t;
707
707
  }
708
- function At(m) {
709
- return R(m) === d;
708
+ function At(g) {
709
+ return _(g) === d;
710
710
  }
711
- function Nt(m) {
712
- return R(m) === r;
711
+ function zt(g) {
712
+ return _(g) === r;
713
713
  }
714
- function zt(m) {
715
- return R(m) === y;
714
+ function Nt(g) {
715
+ return _(g) === b;
716
716
  }
717
- function Ot(m) {
718
- return R(m) === b;
717
+ function Ft(g) {
718
+ return _(g) === y;
719
719
  }
720
- function Ft(m) {
721
- return R(m) === n;
720
+ function Lt(g) {
721
+ return _(g) === n;
722
722
  }
723
- function Lt(m) {
724
- return R(m) === o;
723
+ function Ot(g) {
724
+ return _(g) === o;
725
725
  }
726
- function Dt(m) {
727
- return R(m) === i;
726
+ function Dt(g) {
727
+ return _(g) === i;
728
728
  }
729
- function It(m) {
730
- return R(m) === c;
729
+ function It(g) {
730
+ return _(g) === c;
731
731
  }
732
- S.AsyncMode = p, S.ConcurrentMode = N, S.ContextConsumer = P, S.ContextProvider = yt, S.Element = bt, S.ForwardRef = vt, S.Fragment = Et, S.Lazy = wt, S.Memo = Ct, S.Portal = St, S.Profiler = Pt, S.StrictMode = kt, S.Suspense = $t, S.isAsyncMode = Rt, S.isConcurrentMode = Le, S.isContextConsumer = _t, S.isContextProvider = Tt, S.isElement = Mt, S.isForwardRef = At, S.isFragment = Nt, S.isLazy = zt, S.isMemo = Ot, S.isPortal = Ft, S.isProfiler = Lt, S.isStrictMode = Dt, S.isSuspense = It, S.isValidElementType = k, S.typeOf = R;
733
- }()), S;
732
+ C.AsyncMode = p, C.ConcurrentMode = z, C.ContextConsumer = P, C.ContextProvider = yt, C.Element = bt, C.ForwardRef = vt, C.Fragment = Et, C.Lazy = wt, C.Memo = St, C.Portal = Ct, C.Profiler = Pt, C.StrictMode = kt, C.Suspense = $t, C.isAsyncMode = Rt, C.isConcurrentMode = Oe, C.isContextConsumer = _t, C.isContextProvider = Tt, C.isElement = Mt, C.isForwardRef = At, C.isFragment = zt, C.isLazy = Nt, C.isMemo = Ft, C.isPortal = Lt, C.isProfiler = Ot, C.isStrictMode = Dt, C.isSuspense = It, C.isValidElementType = k, C.typeOf = _;
733
+ }()), C;
734
734
  }
735
735
  process.env.NODE_ENV === "production" ? Pe.exports = Pn() : Pe.exports = kn();
736
736
  var $n = Pe.exports, st = $n, Rn = {
@@ -778,7 +778,7 @@ var ct = function(t, n, r) {
778
778
  while (o !== void 0);
779
779
  }
780
780
  };
781
- function Nn(e) {
781
+ function zn(e) {
782
782
  for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4)
783
783
  n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
784
784
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
@@ -797,7 +797,7 @@ function Nn(e) {
797
797
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
798
798
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
799
799
  }
800
- var zn = {
800
+ var Nn = {
801
801
  animationIterationCount: 1,
802
802
  aspectRatio: 1,
803
803
  borderImageOutset: 1,
@@ -847,24 +847,24 @@ var zn = {
847
847
  strokeOpacity: 1,
848
848
  strokeWidth: 1
849
849
  };
850
- function On(e) {
850
+ function Fn(e) {
851
851
  var t = /* @__PURE__ */ Object.create(null);
852
852
  return function(n) {
853
853
  return t[n] === void 0 && (t[n] = e(n)), t[n];
854
854
  };
855
855
  }
856
- var Fn = /[A-Z]|^ms/g, Ln = /_EMO_([^_]+?)_([^]*?)_EMO_/g, lt = function(t) {
856
+ var Ln = /[A-Z]|^ms/g, On = /_EMO_([^_]+?)_([^]*?)_EMO_/g, lt = function(t) {
857
857
  return t.charCodeAt(1) === 45;
858
858
  }, Ye = function(t) {
859
859
  return t != null && typeof t != "boolean";
860
- }, ve = /* @__PURE__ */ On(function(e) {
861
- return lt(e) ? e : e.replace(Fn, "-$&").toLowerCase();
860
+ }, ve = /* @__PURE__ */ Fn(function(e) {
861
+ return lt(e) ? e : e.replace(Ln, "-$&").toLowerCase();
862
862
  }), We = function(t, n) {
863
863
  switch (t) {
864
864
  case "animation":
865
865
  case "animationName":
866
866
  if (typeof n == "string")
867
- return n.replace(Ln, function(r, i, o) {
867
+ return n.replace(On, function(r, i, o) {
868
868
  return I = {
869
869
  name: i,
870
870
  styles: o,
@@ -872,7 +872,7 @@ var Fn = /[A-Z]|^ms/g, Ln = /_EMO_([^_]+?)_([^]*?)_EMO_/g, lt = function(t) {
872
872
  }, i;
873
873
  });
874
874
  }
875
- return zn[t] !== 1 && !lt(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
875
+ return Nn[t] !== 1 && !lt(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
876
876
  };
877
877
  function se(e, t, n) {
878
878
  if (n == null)
@@ -908,8 +908,8 @@ function se(e, t, n) {
908
908
  }
909
909
  case "function": {
910
910
  if (e !== void 0) {
911
- var f = I, u = n(e);
912
- return I = f, se(e, t, u);
911
+ var l = I, u = n(e);
912
+ return I = l, se(e, t, u);
913
913
  }
914
914
  break;
915
915
  }
@@ -929,8 +929,8 @@ function Dn(e, t, n) {
929
929
  var a = s;
930
930
  Ye(a) && (r += ve(o) + ":" + We(o, a) + ";");
931
931
  } else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
932
- for (var f = 0; f < s.length; f++)
933
- Ye(s[f]) && (r += ve(o) + ":" + We(o, s[f]) + ";");
932
+ for (var l = 0; l < s.length; l++)
933
+ Ye(s[l]) && (r += ve(o) + ":" + We(o, s[l]) + ";");
934
934
  else {
935
935
  var u = se(e, t, s);
936
936
  switch (o) {
@@ -961,13 +961,13 @@ function Ue(e, t, n) {
961
961
  }
962
962
  for (var a = 1; a < e.length; a++)
963
963
  if (i += se(n, t, e[a]), r) {
964
- var f = o;
965
- i += f[a];
964
+ var l = o;
965
+ i += l[a];
966
966
  }
967
967
  He.lastIndex = 0;
968
968
  for (var u = "", d; (d = He.exec(i)) !== null; )
969
969
  u += "-" + d[1];
970
- var c = Nn(i) + u;
970
+ var c = zn(i) + u;
971
971
  return {
972
972
  name: c,
973
973
  styles: i,
@@ -976,22 +976,22 @@ function Ue(e, t, n) {
976
976
  }
977
977
  var In = function(t) {
978
978
  return t();
979
- }, Vn = j.useInsertionEffect ? j.useInsertionEffect : !1, jn = Vn || In, ye = {}.hasOwnProperty, Ne = /* @__PURE__ */ j.createContext(
979
+ }, Vn = j.useInsertionEffect ? j.useInsertionEffect : !1, jn = Vn || In, ye = {}.hasOwnProperty, ze = /* @__PURE__ */ j.createContext(
980
980
  // we're doing this to avoid preconstruct's dead code elimination in this one case
981
981
  // because this module is primarily intended for the browser and node
982
982
  // but it's also required in react native and similar environments sometimes
983
983
  // and we could have a special build just for that
984
984
  // but this is much easier and the native packages
985
985
  // might use a different theme context in the future anyway
986
- typeof HTMLElement < "u" ? /* @__PURE__ */ Sn({
986
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Cn({
987
987
  key: "css"
988
988
  }) : null
989
989
  );
990
- process.env.NODE_ENV !== "production" && (Ne.displayName = "EmotionCacheContext");
991
- Ne.Provider;
990
+ process.env.NODE_ENV !== "production" && (ze.displayName = "EmotionCacheContext");
991
+ ze.Provider;
992
992
  var Bn = function(t) {
993
993
  return /* @__PURE__ */ Vt(function(n, r) {
994
- var i = Re(Ne);
994
+ var i = Re(ze);
995
995
  return t(n, i, r);
996
996
  });
997
997
  }, dt = /* @__PURE__ */ j.createContext({});
@@ -1041,8 +1041,8 @@ var Ge = function(t) {
1041
1041
  typeof e.className == "string" ? s = Mn(t.registered, o, e.className) : e.className != null && (s = e.className + " ");
1042
1042
  var a = Ue(o, void 0, j.useContext(dt));
1043
1043
  if (process.env.NODE_ENV !== "production" && a.name.indexOf("-") === -1) {
1044
- var f = e[$e];
1045
- f && (a = Ue([a, "label:" + f + ";"]));
1044
+ var l = e[$e];
1045
+ l && (a = Ue([a, "label:" + l + ";"]));
1046
1046
  }
1047
1047
  s += t.key + "-" + a.name;
1048
1048
  var u = {};
@@ -1056,10 +1056,10 @@ var Ge = function(t) {
1056
1056
  });
1057
1057
  process.env.NODE_ENV !== "production" && (ut.displayName = "EmotionCssPropInternal");
1058
1058
  var pt = ut, K = te.Fragment;
1059
- function l(e, t, n) {
1059
+ function f(e, t, n) {
1060
1060
  return ye.call(t, "css") ? te.jsx(pt, ft(e, t), n) : te.jsx(e, t, n);
1061
1061
  }
1062
- function g(e, t, n) {
1062
+ function x(e, t, n) {
1063
1063
  return ye.call(t, "css") ? te.jsxs(pt, ft(e, t), n) : te.jsxs(e, t, n);
1064
1064
  }
1065
1065
  const ht = Je(null), Gn = () => {
@@ -1077,7 +1077,7 @@ function mt(e, t) {
1077
1077
  W(() => (s(n.getExtensions(e, r)), n.subscribe(e, () => {
1078
1078
  s(n.getExtensions(e, r));
1079
1079
  })), [n, e, r]);
1080
- const a = L(() => i ? ne(o) : null, [o, i]);
1080
+ const a = O(() => i ? ne(o) : null, [o, i]);
1081
1081
  return {
1082
1082
  extensions: o,
1083
1083
  best: a,
@@ -1101,27 +1101,26 @@ const qn = (e) => {
1101
1101
  // We'll resolve manually based on module prop
1102
1102
  }), [o, s] = B(
1103
1103
  null
1104
- ), [a, f] = B(null), u = L(() => {
1104
+ ), [a, l] = B(!0), u = O(() => {
1105
1105
  if (t) {
1106
- const d = i[t];
1107
- return d || (r && !n ? ne(i) : null);
1106
+ const c = i[t];
1107
+ return c || (r && !n ? ne(i) : null);
1108
1108
  }
1109
1109
  return ne(i);
1110
- }, [i, t, n, r]);
1110
+ }, [i, t, n, r]), d = u ?? null;
1111
1111
  return W(() => {
1112
- async function d() {
1113
- const c = u;
1114
- f(c ?? null);
1115
- const x = (c == null ? void 0 : c.remote) || "", b = qn(c) ? c.view.component : c == null ? void 0 : c.component, y = b ? `./${b}` : "";
1116
- if (!x) {
1117
- s(null);
1112
+ async function c() {
1113
+ l(!0);
1114
+ const h = u, y = (h == null ? void 0 : h.remote) || "", b = qn(h) ? h.view.component : h == null ? void 0 : h.component, v = b ? `./${b}` : "";
1115
+ if (!y) {
1116
+ s(null), l(!1);
1118
1117
  return;
1119
1118
  }
1120
- const v = Y.lazy(() => Bt.loadRemoteModule(x, y));
1121
- s(v);
1119
+ const R = Y.lazy(() => Bt.loadRemoteModule(y, v));
1120
+ s(R), l(!1);
1122
1121
  }
1123
- d();
1124
- }, [u]), [o, a];
1122
+ c();
1123
+ }, [u]), [o, d, a];
1125
1124
  };
1126
1125
  class Xn extends Y.Component {
1127
1126
  constructor(t) {
@@ -1137,63 +1136,60 @@ class Xn extends Y.Component {
1137
1136
  return this.state.hasError ? this.props.fallback : this.props.children;
1138
1137
  }
1139
1138
  }
1140
- const Jn = h.div`
1139
+ const Jn = m.div`
1141
1140
  align-items: center;
1142
1141
  display: flex;
1143
1142
  height: 100%;
1144
1143
  justify-content: center;
1145
1144
  width: 100%;
1146
- `, Qn = h.div`
1145
+ `, Qn = m.div`
1147
1146
  align-items: center;
1148
1147
  background-color: transparent;
1149
1148
  display: flex;
1150
1149
  flex-direction: column;
1151
- height: ${(e) => e.height};
1152
1150
  justify-content: center;
1153
- width: ${(e) => e.width};
1154
- `, ze = ({
1151
+
1152
+ /* Only apply flexible sizing when no explicit size is provided */
1153
+ flex: ${(e) => e.hasExplicitSize ? "0 0 auto" : "1"};
1154
+ height: ${(e) => e.hasExplicitSize ? "auto" : "100%"};
1155
+ width: ${(e) => e.hasExplicitSize ? "auto" : "100%"};
1156
+ `, Ne = ({
1155
1157
  extension: e,
1156
1158
  fallback: t,
1157
1159
  module: n,
1158
1160
  props: r,
1159
1161
  fallbackOnDisabled: i = !0,
1160
- autoSwitchOnDisabled: o = !1
1162
+ autoSwitchOnDisabled: o = !1,
1163
+ waitForLoad: s = !1,
1164
+ onLoadingChange: a
1161
1165
  }) => {
1162
- const [s, a] = Zn({
1166
+ const [l, u, d] = Zn({
1163
1167
  extension: e,
1164
1168
  module: n,
1165
1169
  fallbackOnDisabled: i,
1166
1170
  autoSwitchOnDisabled: o
1167
- }), f = !s, u = t || /* @__PURE__ */ l(Jn, { children: `Dynamic component, ${e}, not found...` });
1168
- return f ? /* @__PURE__ */ l(K, { children: u }) : /* @__PURE__ */ l(Xn, { fallback: u, children: /* @__PURE__ */ l(
1169
- jt,
1170
- {
1171
- fallback: a != null && a.size ? /* @__PURE__ */ l(
1172
- Qn,
1173
- {
1174
- width: a.size.width,
1175
- height: a.size.height
1176
- }
1177
- ) : null,
1178
- children: /* @__PURE__ */ l(s, { ...r })
1179
- }
1180
- ) });
1181
- }, er = h.div`
1171
+ });
1172
+ Y.useEffect(() => {
1173
+ a == null || a(d);
1174
+ }, [d, a]);
1175
+ const c = t || /* @__PURE__ */ f(Jn, { children: `Dynamic component, ${e}, not found...` }), h = u == null ? void 0 : u.data, y = (u == null ? void 0 : u.size) || (h == null ? void 0 : h.size), b = y ? { width: y.width, height: y.height } : {}, R = /* @__PURE__ */ f(Qn, { hasExplicitSize: !!y, style: b });
1176
+ return d ? s ? null : R : l ? /* @__PURE__ */ f(Xn, { fallback: c, children: /* @__PURE__ */ f(jt, { fallback: R, children: /* @__PURE__ */ f(l, { ...r }) }) }) : /* @__PURE__ */ f(K, { children: c });
1177
+ }, er = m.div`
1182
1178
  display: flex;
1183
1179
  flex-direction: column;
1184
1180
  height: 100%;
1185
1181
  min-height: 0; /* Important for flexbox children to shrink */
1186
- `, tr = h.div`
1182
+ `, tr = m.div`
1187
1183
  padding: 16px;
1188
1184
  border-bottom: 1px solid #e1e5e9;
1189
1185
  background: #f6f8fa;
1190
1186
  flex-shrink: 0; /* Prevent header from shrinking */
1191
- `, nr = h.h3`
1187
+ `, nr = m.h3`
1192
1188
  margin: 0 0 8px 0;
1193
1189
  font-size: 16px;
1194
1190
  font-weight: 600;
1195
1191
  color: #24292f;
1196
- `, rr = h.input`
1192
+ `, rr = m.input`
1197
1193
  width: 100%;
1198
1194
  padding: 8px 12px;
1199
1195
  border: 1px solid #d0d7de;
@@ -1206,11 +1202,11 @@ const Jn = h.div`
1206
1202
  border-color: #0969da;
1207
1203
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
1208
1204
  }
1209
- `, ir = h.div`
1205
+ `, ir = m.div`
1210
1206
  flex: 1;
1211
1207
  overflow-y: auto;
1212
1208
  min-height: 0; /* Critical for making overflow work in flexbox */
1213
- `, or = h.div`
1209
+ `, or = m.div`
1214
1210
  padding: 12px 16px;
1215
1211
  border-bottom: 1px solid #f0f0f0;
1216
1212
  cursor: pointer;
@@ -1221,17 +1217,17 @@ const Jn = h.div`
1221
1217
  &:hover {
1222
1218
  background: #f6f8fa;
1223
1219
  }
1224
- `, sr = h.div`
1220
+ `, sr = m.div`
1225
1221
  font-weight: 500;
1226
1222
  font-size: 14px;
1227
1223
  color: #24292f;
1228
1224
  margin-bottom: 4px;
1229
- `, ar = h.div`
1225
+ `, ar = m.div`
1230
1226
  font-size: 12px;
1231
1227
  color: #656d76;
1232
1228
  display: flex;
1233
1229
  justify-content: space-between;
1234
- `, qe = h.span`
1230
+ `, qe = m.span`
1235
1231
  display: inline-block;
1236
1232
  padding: 2px 6px;
1237
1233
  border-radius: 12px;
@@ -1250,7 +1246,7 @@ const Jn = h.div`
1250
1246
  return "background: #f6f8fa; color: #656d76;";
1251
1247
  }
1252
1248
  }}
1253
- `, cr = h.div`
1249
+ `, cr = m.div`
1254
1250
  padding: 40px 16px;
1255
1251
  text-align: center;
1256
1252
  color: #656d76;
@@ -1262,10 +1258,10 @@ const Jn = h.div`
1262
1258
  searchTerm: r,
1263
1259
  onSearchChange: i,
1264
1260
  className: o
1265
- }) => /* @__PURE__ */ g(er, { className: o, children: [
1266
- /* @__PURE__ */ g(tr, { children: [
1267
- /* @__PURE__ */ l(nr, { children: "Extension Points" }),
1268
- /* @__PURE__ */ l(
1261
+ }) => /* @__PURE__ */ x(er, { className: o, children: [
1262
+ /* @__PURE__ */ x(tr, { children: [
1263
+ /* @__PURE__ */ f(nr, { children: "Extension Points" }),
1264
+ /* @__PURE__ */ f(
1269
1265
  rr,
1270
1266
  {
1271
1267
  placeholder: "Search extension points...",
@@ -1274,21 +1270,21 @@ const Jn = h.div`
1274
1270
  }
1275
1271
  )
1276
1272
  ] }),
1277
- /* @__PURE__ */ l(ir, { children: e.length > 0 ? e.map((s) => {
1273
+ /* @__PURE__ */ f(ir, { children: e.length > 0 ? e.map((s) => {
1278
1274
  var a;
1279
- return /* @__PURE__ */ g(
1275
+ return /* @__PURE__ */ x(
1280
1276
  or,
1281
1277
  {
1282
1278
  selected: s.id === t,
1283
1279
  onClick: () => n(s.id),
1284
1280
  children: [
1285
- /* @__PURE__ */ l(sr, { children: s.displayName || s.id }),
1286
- /* @__PURE__ */ g(ar, { children: [
1287
- /* @__PURE__ */ g("div", { children: [
1288
- /* @__PURE__ */ l(qe, { variant: s.source, children: s.source }),
1289
- ((a = s.metadata) == null ? void 0 : a.deprecated) && /* @__PURE__ */ l(qe, { variant: "deprecated", style: { marginLeft: 4 }, children: "deprecated" })
1281
+ /* @__PURE__ */ f(sr, { children: s.displayName || s.id }),
1282
+ /* @__PURE__ */ x(ar, { children: [
1283
+ /* @__PURE__ */ x("div", { children: [
1284
+ /* @__PURE__ */ f(qe, { variant: s.source, children: s.source }),
1285
+ ((a = s.metadata) == null ? void 0 : a.deprecated) && /* @__PURE__ */ f(qe, { variant: "deprecated", style: { marginLeft: 4 }, children: "deprecated" })
1290
1286
  ] }),
1291
- /* @__PURE__ */ g("div", { children: [
1287
+ /* @__PURE__ */ x("div", { children: [
1292
1288
  s.pluginCount,
1293
1289
  " plugin",
1294
1290
  s.pluginCount !== 1 ? "s" : ""
@@ -1298,8 +1294,8 @@ const Jn = h.div`
1298
1294
  },
1299
1295
  s.id
1300
1296
  );
1301
- }) : /* @__PURE__ */ l(cr, { children: r ? `No extension points match "${r}"` : "No extension points available" }) })
1302
- ] }), gt = Je(void 0), Ze = h.div`
1297
+ }) : /* @__PURE__ */ f(cr, { children: r ? `No extension points match "${r}"` : "No extension points available" }) })
1298
+ ] }), gt = Je(void 0), Ze = m.div`
1303
1299
  padding-inline: 20px;
1304
1300
  width: 100%;
1305
1301
  height: 100vh;
@@ -1313,12 +1309,12 @@ const Jn = h.div`
1313
1309
  left: 0;
1314
1310
  z-index: 10000;
1315
1311
  `, ni = ({ remotesOverride: e, onBeforeInitialize: t, pluginConfig: n, children: r }) => {
1316
- const [i, o] = B(), [s, a] = B(null), f = L(() => i != null && i.extensions ? new Kt(i.extensions) : null, [i == null ? void 0 : i.extensions]);
1312
+ const [i, o] = B(), [s, a] = B(null), l = O(() => i != null && i.extensions ? new Kt(i.extensions) : null, [i == null ? void 0 : i.extensions]);
1317
1313
  return W(
1318
1314
  () => () => {
1319
- f == null || f.destroy();
1315
+ l == null || l.destroy();
1320
1316
  },
1321
- [f]
1317
+ [l]
1322
1318
  ), W(() => {
1323
1319
  (async () => {
1324
1320
  var d, c;
@@ -1326,22 +1322,22 @@ const Jn = h.div`
1326
1322
  t && (console.log(
1327
1323
  "KosPluginProvider: Waiting for pre-initialization conditions..."
1328
1324
  ), await t(), console.log("KosPluginProvider: Pre-initialization complete"));
1329
- let x = e;
1330
- const b = (d = window.KosPlugins) == null ? void 0 : d.__dynamicRemotes;
1331
- x || (b && Object.keys(b).length > 0 ? (console.log(
1325
+ let h = e;
1326
+ const y = (d = window.KosPlugins) == null ? void 0 : d.__dynamicRemotes;
1327
+ h || (y && Object.keys(y).length > 0 ? (console.log(
1332
1328
  "KosPluginProvider: Using existing plugin initialization"
1333
- ), x = b) : (console.log("KosPluginProvider: Initializing plugins..."), await Yt(n), x = (c = window.KosPlugins) == null ? void 0 : c.__dynamicRemotes));
1334
- const y = await Wt(x);
1335
- o(y);
1336
- } catch (x) {
1337
- console.error("KosPluginProvider: Failed to initialize plugins", x), a(x);
1329
+ ), h = y) : (console.log("KosPluginProvider: Initializing plugins..."), await Yt(n), h = (c = window.KosPlugins) == null ? void 0 : c.__dynamicRemotes));
1330
+ const b = await Wt(h);
1331
+ o(b);
1332
+ } catch (h) {
1333
+ console.error("KosPluginProvider: Failed to initialize plugins", h), a(h);
1338
1334
  }
1339
1335
  })();
1340
- }, [e, t, n]), s ? /* @__PURE__ */ g(Ze, { children: [
1341
- /* @__PURE__ */ l("div", { children: "Failed to load plugins" }),
1342
- /* @__PURE__ */ l("div", { style: { fontSize: "12px", marginTop: "10px", opacity: 0.8 }, children: s.message })
1343
- ] }) : /* @__PURE__ */ l(gt.Provider, { value: i, children: /* @__PURE__ */ l(ht.Provider, { value: f, children: i ? r : /* @__PURE__ */ l(Ze, { children: "Loading remote plugins..." }) }) });
1344
- }, Oe = () => {
1336
+ }, [e, t, n]), s ? /* @__PURE__ */ x(Ze, { children: [
1337
+ /* @__PURE__ */ f("div", { children: "Failed to load plugins" }),
1338
+ /* @__PURE__ */ f("div", { style: { fontSize: "12px", marginTop: "10px", opacity: 0.8 }, children: s.message })
1339
+ ] }) : /* @__PURE__ */ f(gt.Provider, { value: i, children: /* @__PURE__ */ f(ht.Provider, { value: l, children: i ? r : /* @__PURE__ */ f(Ze, { children: "Loading remote plugins..." }) }) });
1340
+ }, Fe = () => {
1345
1341
  const e = Re(gt);
1346
1342
  if (!e)
1347
1343
  throw new Error(
@@ -1350,8 +1346,8 @@ const Jn = h.div`
1350
1346
  return e;
1351
1347
  };
1352
1348
  function xt(e) {
1353
- const { extensions: t } = Oe();
1354
- return L(() => {
1349
+ const { extensions: t } = Fe();
1350
+ return O(() => {
1355
1351
  try {
1356
1352
  const r = re.getExtensionPoints(
1357
1353
  t,
@@ -1381,7 +1377,7 @@ function xt(e) {
1381
1377
  }, [t, e]);
1382
1378
  }
1383
1379
  function dr(e, t) {
1384
- const n = xt(t), r = L(
1380
+ const n = xt(t), r = O(
1385
1381
  () => re.filterExtensionPoints(
1386
1382
  n.extensionPoints,
1387
1383
  e
@@ -1395,7 +1391,7 @@ function dr(e, t) {
1395
1391
  }
1396
1392
  function ri(e) {
1397
1393
  const { extensionPoints: t } = xt();
1398
- return L(
1394
+ return O(
1399
1395
  () => re.getExtensionPointById(
1400
1396
  t,
1401
1397
  e
@@ -1403,21 +1399,21 @@ function ri(e) {
1403
1399
  [t, e]
1404
1400
  );
1405
1401
  }
1406
- const fr = h.div`
1402
+ const fr = m.div`
1407
1403
  border: 1px solid #e1e5e9;
1408
1404
  border-radius: 6px;
1409
1405
  padding: 12px;
1410
1406
  background: white;
1411
1407
  transition: all 0.2s ease;
1412
- `, ur = h.div`
1408
+ `, ur = m.div`
1413
1409
  display: flex;
1414
1410
  align-items: center;
1415
1411
  justify-content: space-between;
1416
1412
  margin-bottom: 8px;
1417
- `, pr = h.div`
1413
+ `, pr = m.div`
1418
1414
  display: flex;
1419
1415
  align-items: center;
1420
- `, hr = h.div`
1416
+ `, hr = m.div`
1421
1417
  display: inline-block;
1422
1418
  width: 8px;
1423
1419
  height: 8px;
@@ -1436,18 +1432,18 @@ const fr = h.div`
1436
1432
  return "background: #656d76;";
1437
1433
  }
1438
1434
  }}
1439
- `, mr = h.h5`
1435
+ `, mr = m.h5`
1440
1436
  margin: 0;
1441
1437
  font-size: 14px;
1442
1438
  font-weight: 600;
1443
1439
  color: #24292f;
1444
- `, gr = h.div`
1440
+ `, gr = m.div`
1445
1441
  font-size: 12px;
1446
1442
  color: #656d76;
1447
1443
  line-height: 1.4;
1448
1444
  display: grid;
1449
1445
  gap: 2px;
1450
- `, Q = h.div`
1446
+ `, Q = m.div`
1451
1447
  display: grid;
1452
1448
  grid-template-columns: 80px 1fr; /* Fixed label width, flexible value */
1453
1449
  gap: 8px;
@@ -1463,28 +1459,28 @@ const fr = h.div`
1463
1459
  text-overflow: ellipsis;
1464
1460
  white-space: nowrap;
1465
1461
  }
1466
- `, xr = h.div`
1462
+ `, xr = m.div`
1467
1463
  color: #656d76;
1468
1464
  font-style: italic;
1469
1465
  margin-top: 4px;
1470
1466
  font-size: 12px;
1471
- `, yr = h.div`
1467
+ `, yr = m.div`
1472
1468
  margin-top: 6px;
1473
1469
  display: flex;
1474
1470
  flex-wrap: wrap;
1475
1471
  gap: 4px;
1476
- `, br = h.span`
1472
+ `, br = m.span`
1477
1473
  background: #f6f8fa;
1478
1474
  border: 1px solid #d0d7de;
1479
1475
  border-radius: 12px;
1480
1476
  padding: 2px 6px;
1481
1477
  font-size: 10px;
1482
1478
  color: #24292f;
1483
- `, vr = h.div`
1479
+ `, vr = m.div`
1484
1480
  margin-top: 8px;
1485
1481
  padding-top: 8px;
1486
1482
  border-top: 1px solid #f0f0f0;
1487
- `, Er = h.div`
1483
+ `, Er = m.div`
1488
1484
  display: flex;
1489
1485
  align-items: flex-start;
1490
1486
  gap: 6px;
@@ -1506,7 +1502,7 @@ const fr = h.div`
1506
1502
  return "background: #f6f8fa; color: #656d76;";
1507
1503
  }
1508
1504
  }}
1509
- `, wr = h.span`
1505
+ `, wr = m.span`
1510
1506
  font-size: 12px;
1511
1507
  font-weight: bold;
1512
1508
  flex-shrink: 0;
@@ -1526,10 +1522,10 @@ const fr = h.div`
1526
1522
  }
1527
1523
  }}";
1528
1524
  }
1529
- `, Cr = h.div`
1525
+ `, Sr = m.div`
1530
1526
  flex: 1;
1531
1527
  `;
1532
- function Sr(e, t) {
1528
+ function Cr(e, t) {
1533
1529
  if (_e().getExtensionPoint(t) && e.data)
1534
1530
  return e.data;
1535
1531
  }
@@ -1542,64 +1538,64 @@ const kr = ({
1542
1538
  extensionPointId: t,
1543
1539
  className: n
1544
1540
  }) => {
1545
- const r = re.analyzePlugin(e), { hasComponent: i, healthStatus: o, capabilities: s } = r, a = Ht(e.id), f = Sr(e, t), u = Pr(t);
1546
- return /* @__PURE__ */ g(fr, { className: n, children: [
1547
- /* @__PURE__ */ l(ur, { children: /* @__PURE__ */ g(pr, { children: [
1548
- /* @__PURE__ */ l(hr, { status: o }),
1549
- /* @__PURE__ */ l(mr, { children: e.id })
1541
+ const r = re.analyzePlugin(e), { hasComponent: i, healthStatus: o, capabilities: s } = r, a = Ht(e.id), l = Cr(e, t), u = Pr(t);
1542
+ return /* @__PURE__ */ x(fr, { className: n, children: [
1543
+ /* @__PURE__ */ f(ur, { children: /* @__PURE__ */ x(pr, { children: [
1544
+ /* @__PURE__ */ f(hr, { status: o }),
1545
+ /* @__PURE__ */ f(mr, { children: e.id })
1550
1546
  ] }) }),
1551
- /* @__PURE__ */ g(gr, { children: [
1552
- /* @__PURE__ */ g(Q, { children: [
1553
- /* @__PURE__ */ l("strong", { children: "Source:" }),
1554
- /* @__PURE__ */ l("span", { children: e.remote ? `${e.remote} plugin` : "Local" })
1547
+ /* @__PURE__ */ x(gr, { children: [
1548
+ /* @__PURE__ */ x(Q, { children: [
1549
+ /* @__PURE__ */ f("strong", { children: "Source:" }),
1550
+ /* @__PURE__ */ f("span", { children: e.remote ? `${e.remote} plugin` : "Local" })
1555
1551
  ] }),
1556
- /* @__PURE__ */ g(Q, { children: [
1557
- /* @__PURE__ */ l("strong", { children: "Type:" }),
1558
- /* @__PURE__ */ l("span", { children: e.type })
1552
+ /* @__PURE__ */ x(Q, { children: [
1553
+ /* @__PURE__ */ f("strong", { children: "Type:" }),
1554
+ /* @__PURE__ */ f("span", { children: e.type })
1559
1555
  ] }),
1560
- typeof e.rank == "number" && /* @__PURE__ */ g(Q, { children: [
1561
- /* @__PURE__ */ l("strong", { children: "Priority:" }),
1562
- /* @__PURE__ */ g("span", { children: [
1556
+ typeof e.rank == "number" && /* @__PURE__ */ x(Q, { children: [
1557
+ /* @__PURE__ */ f("strong", { children: "Priority:" }),
1558
+ /* @__PURE__ */ x("span", { children: [
1563
1559
  e.rank,
1564
1560
  " (higher = preferred)"
1565
1561
  ] })
1566
1562
  ] }),
1567
- e.component && /* @__PURE__ */ g(Q, { children: [
1568
- /* @__PURE__ */ l("strong", { children: "Component:" }),
1569
- /* @__PURE__ */ l("span", { children: e.component })
1563
+ e.component && /* @__PURE__ */ x(Q, { children: [
1564
+ /* @__PURE__ */ f("strong", { children: "Component:" }),
1565
+ /* @__PURE__ */ f("span", { children: e.component })
1570
1566
  ] }),
1571
- f && u.map((d) => {
1572
- const c = f[d];
1567
+ l && u.map((d) => {
1568
+ const c = l[d];
1573
1569
  if (c == null)
1574
1570
  return null;
1575
- const x = d.replace(/([A-Z])/g, " $1").replace(/^./, (b) => b.toUpperCase()).trim();
1576
- return /* @__PURE__ */ g(Q, { children: [
1577
- /* @__PURE__ */ g("strong", { children: [
1578
- x,
1571
+ const h = d.replace(/([A-Z])/g, " $1").replace(/^./, (y) => y.toUpperCase()).trim();
1572
+ return /* @__PURE__ */ x(Q, { children: [
1573
+ /* @__PURE__ */ x("strong", { children: [
1574
+ h,
1579
1575
  ":"
1580
1576
  ] }),
1581
- /* @__PURE__ */ l("span", { children: String(c) })
1577
+ /* @__PURE__ */ f("span", { children: String(c) })
1582
1578
  ] }, d);
1583
1579
  }),
1584
- !i && /* @__PURE__ */ l(xr, { children: "No UI component (data/utility plugin)" }),
1585
- s.length > 0 && /* @__PURE__ */ l(yr, { children: s.map((d) => /* @__PURE__ */ l(br, { children: d }, d)) }),
1586
- a.length > 0 && /* @__PURE__ */ l(vr, { children: a.map((d, c) => /* @__PURE__ */ g(Er, { type: d.type, children: [
1587
- /* @__PURE__ */ l(wr, { type: d.type }),
1588
- /* @__PURE__ */ l(Cr, { children: d.message })
1580
+ !i && /* @__PURE__ */ f(xr, { children: "No UI component (data/utility plugin)" }),
1581
+ s.length > 0 && /* @__PURE__ */ f(yr, { children: s.map((d) => /* @__PURE__ */ f(br, { children: d }, d)) }),
1582
+ a.length > 0 && /* @__PURE__ */ f(vr, { children: a.map((d, c) => /* @__PURE__ */ x(Er, { type: d.type, children: [
1583
+ /* @__PURE__ */ f(wr, { type: d.type }),
1584
+ /* @__PURE__ */ f(Sr, { children: d.message })
1589
1585
  ] }, c)) })
1590
1586
  ] })
1591
1587
  ] });
1592
- }, $r = h.div`
1588
+ }, $r = m.div`
1593
1589
  padding: 12px 16px;
1594
1590
  border-bottom: 1px solid #e1e5e9;
1595
1591
  background: #f9f9f9;
1596
1592
  font-size: 12px;
1597
1593
  flex-shrink: 0; /* Prevent from shrinking */
1598
- `, Rr = h.div`
1594
+ `, Rr = m.div`
1599
1595
  font-weight: 600;
1600
1596
  margin-bottom: 8px;
1601
1597
  color: #24292f;
1602
- `, Xe = h.div`
1598
+ `, Xe = m.div`
1603
1599
  display: flex;
1604
1600
  gap: 12px;
1605
1601
  align-items: center;
@@ -1607,11 +1603,11 @@ const kr = ({
1607
1603
  &:not(:last-child) {
1608
1604
  margin-bottom: 4px;
1609
1605
  }
1610
- `, ee = h.div`
1606
+ `, ee = m.div`
1611
1607
  display: flex;
1612
1608
  align-items: center;
1613
1609
  gap: 4px;
1614
- `, _r = h.div`
1610
+ `, _r = m.div`
1615
1611
  display: inline-block;
1616
1612
  width: 8px;
1617
1613
  height: 8px;
@@ -1630,7 +1626,7 @@ const kr = ({
1630
1626
  return "background: #656d76;";
1631
1627
  }
1632
1628
  }}
1633
- `, Ee = h.span`
1629
+ `, Ee = m.span`
1634
1630
  display: inline-block;
1635
1631
  padding: 2px 6px;
1636
1632
  border-radius: 12px;
@@ -1649,7 +1645,7 @@ const kr = ({
1649
1645
  return "background: #f6f8fa; color: #656d76;";
1650
1646
  }
1651
1647
  }}
1652
- `, Tr = h.button`
1648
+ `, Tr = m.button`
1653
1649
  background: #0969da;
1654
1650
  border: 1px solid #0969da;
1655
1651
  border-radius: 4px;
@@ -1672,13 +1668,13 @@ const kr = ({
1672
1668
  healthStats: e,
1673
1669
  className: t
1674
1670
  }) => {
1675
- const { extensions: n } = Oe(), {
1671
+ const { extensions: n } = Fe(), {
1676
1672
  totalPlugins: r,
1677
1673
  extensionPointsWithPlugins: i,
1678
1674
  totalExtensionPoints: o,
1679
1675
  simplifiedExtensionPoints: s,
1680
1676
  legacyExtensionPoints: a,
1681
- deprecatedExtensionPoints: f
1677
+ deprecatedExtensionPoints: l
1682
1678
  } = e, u = () => {
1683
1679
  try {
1684
1680
  const d = Ut.generateFullDocumentation(
@@ -1689,46 +1685,46 @@ const kr = ({
1689
1685
  includeLegacyExtensions: !0,
1690
1686
  includePluginHealth: !0
1691
1687
  }
1692
- ), c = new Blob([d.content], { type: "text/markdown" }), x = URL.createObjectURL(c), b = document.createElement("a");
1693
- b.href = x, b.download = `kos-extension-points-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.md`, document.body.appendChild(b), b.click(), document.body.removeChild(b), URL.revokeObjectURL(x);
1688
+ ), c = new Blob([d.content], { type: "text/markdown" }), h = URL.createObjectURL(c), y = document.createElement("a");
1689
+ y.href = h, y.download = `kos-extension-points-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.md`, document.body.appendChild(y), y.click(), document.body.removeChild(y), URL.revokeObjectURL(h);
1694
1690
  } catch (d) {
1695
1691
  console.error("Failed to generate documentation:", d);
1696
1692
  }
1697
1693
  };
1698
- return /* @__PURE__ */ g($r, { className: t, children: [
1699
- /* @__PURE__ */ l(Rr, { children: "System Health" }),
1700
- /* @__PURE__ */ g(Xe, { children: [
1701
- /* @__PURE__ */ g(ee, { children: [
1702
- /* @__PURE__ */ l(_r, { status: "healthy" }),
1703
- /* @__PURE__ */ g("span", { children: [
1694
+ return /* @__PURE__ */ x($r, { className: t, children: [
1695
+ /* @__PURE__ */ f(Rr, { children: "System Health" }),
1696
+ /* @__PURE__ */ x(Xe, { children: [
1697
+ /* @__PURE__ */ x(ee, { children: [
1698
+ /* @__PURE__ */ f(_r, { status: "healthy" }),
1699
+ /* @__PURE__ */ x("span", { children: [
1704
1700
  r,
1705
1701
  " plugins"
1706
1702
  ] })
1707
1703
  ] }),
1708
- /* @__PURE__ */ l(ee, { children: /* @__PURE__ */ g("span", { children: [
1704
+ /* @__PURE__ */ f(ee, { children: /* @__PURE__ */ x("span", { children: [
1709
1705
  i,
1710
1706
  "/",
1711
1707
  o,
1712
1708
  " active"
1713
1709
  ] }) })
1714
1710
  ] }),
1715
- /* @__PURE__ */ g(Xe, { children: [
1716
- /* @__PURE__ */ g(ee, { children: [
1717
- /* @__PURE__ */ l(Ee, { variant: "simplified", children: s }),
1718
- /* @__PURE__ */ l("span", { children: "simplified" })
1711
+ /* @__PURE__ */ x(Xe, { children: [
1712
+ /* @__PURE__ */ x(ee, { children: [
1713
+ /* @__PURE__ */ f(Ee, { variant: "simplified", children: s }),
1714
+ /* @__PURE__ */ f("span", { children: "simplified" })
1719
1715
  ] }),
1720
- /* @__PURE__ */ g(ee, { children: [
1721
- /* @__PURE__ */ l(Ee, { variant: "legacy", children: a }),
1722
- /* @__PURE__ */ l("span", { children: "legacy" })
1716
+ /* @__PURE__ */ x(ee, { children: [
1717
+ /* @__PURE__ */ f(Ee, { variant: "legacy", children: a }),
1718
+ /* @__PURE__ */ f("span", { children: "legacy" })
1723
1719
  ] }),
1724
- f > 0 && /* @__PURE__ */ g(ee, { children: [
1725
- /* @__PURE__ */ l(Ee, { variant: "deprecated", children: f }),
1726
- /* @__PURE__ */ l("span", { children: "deprecated" })
1720
+ l > 0 && /* @__PURE__ */ x(ee, { children: [
1721
+ /* @__PURE__ */ f(Ee, { variant: "deprecated", children: l }),
1722
+ /* @__PURE__ */ f("span", { children: "deprecated" })
1727
1723
  ] })
1728
1724
  ] }),
1729
- /* @__PURE__ */ l(Tr, { onClick: u, children: "Export Documentation" })
1725
+ /* @__PURE__ */ f(Tr, { onClick: u, children: "Export Documentation" })
1730
1726
  ] });
1731
- }, we = h.div`
1727
+ }, we = m.div`
1732
1728
  display: flex;
1733
1729
  width: 100%;
1734
1730
  height: 100%;
@@ -1740,7 +1736,7 @@ const kr = ({
1740
1736
  sans-serif;
1741
1737
  background: white;
1742
1738
  container-type: inline-size; /* Enable container queries */
1743
- `, Ar = h.div`
1739
+ `, Ar = m.div`
1744
1740
  flex: 0 0 35%; /* Take 35% of container width */
1745
1741
  min-width: 280px; /* Minimum usable width */
1746
1742
  max-width: 400px; /* Maximum width to prevent too wide */
@@ -1755,7 +1751,7 @@ const kr = ({
1755
1751
  max-width: 100%;
1756
1752
  border-right: none;
1757
1753
  }
1758
- `, Nr = h.div`
1754
+ `, zr = m.div`
1759
1755
  flex: 1;
1760
1756
  min-width: 0; /* Allows flex child to shrink below content size */
1761
1757
  display: flex;
@@ -1766,29 +1762,29 @@ const kr = ({
1766
1762
  @media (max-width: 768px) {
1767
1763
  display: none; /* We'll add mobile navigation later if needed */
1768
1764
  }
1769
- `, zr = h.div`
1765
+ `, Nr = m.div`
1770
1766
  padding: 16px;
1771
1767
  border-bottom: 1px solid #e1e5e9;
1772
1768
  background: #f6f8fa;
1773
- `, Or = h.h4`
1769
+ `, Fr = m.h4`
1774
1770
  margin: 0 0 8px 0;
1775
1771
  font-size: 16px;
1776
1772
  font-weight: 600;
1777
1773
  color: #24292f;
1778
- `, Fr = h.p`
1774
+ `, Lr = m.p`
1779
1775
  margin: 0;
1780
1776
  font-size: 14px;
1781
1777
  color: #656d76;
1782
- `, Lr = h.div`
1778
+ `, Or = m.div`
1783
1779
  flex: 1;
1784
1780
  padding: 16px;
1785
1781
  overflow-y: auto;
1786
- `, Dr = h.div`
1782
+ `, Dr = m.div`
1787
1783
  display: flex;
1788
1784
  flex-direction: column;
1789
1785
  gap: 12px;
1790
1786
  margin-bottom: 24px;
1791
- `, de = h.div`
1787
+ `, de = m.div`
1792
1788
  display: flex;
1793
1789
  flex-direction: column;
1794
1790
  align-items: center;
@@ -1796,24 +1792,24 @@ const kr = ({
1796
1792
  height: 100%;
1797
1793
  color: #656d76;
1798
1794
  text-align: center;
1799
- `, Ir = h.div`
1795
+ `, Ir = m.div`
1800
1796
  margin-top: 16px;
1801
1797
  padding-top: 16px;
1802
1798
  border-top: 1px solid #e1e5e9;
1803
- `, Vr = h.h5`
1799
+ `, Vr = m.h5`
1804
1800
  margin: 0 0 8px 0;
1805
1801
  font-size: 14px;
1806
1802
  font-weight: 600;
1807
1803
  color: #24292f;
1808
- `, jr = h.div`
1804
+ `, jr = m.div`
1809
1805
  display: grid;
1810
1806
  grid-template-columns: auto 1fr;
1811
1807
  gap: 8px 16px;
1812
1808
  font-size: 12px;
1813
- `, H = h.div`
1809
+ `, H = m.div`
1814
1810
  color: #656d76;
1815
1811
  font-weight: 500;
1816
- `, U = h.div`
1812
+ `, U = m.div`
1817
1813
  color: #24292f;
1818
1814
  `, Br = ({
1819
1815
  className: e,
@@ -1822,40 +1818,40 @@ const kr = ({
1822
1818
  }) => {
1823
1819
  const [r, i] = B(
1824
1820
  null
1825
- ), [o, s] = B(n), { filteredExtensionPoints: a, healthStats: f, isLoading: u, error: d } = dr(o, {
1821
+ ), [o, s] = B(n), { filteredExtensionPoints: a, healthStats: l, isLoading: u, error: d } = dr(o, {
1826
1822
  includeLegacyExtensions: t
1827
1823
  }), c = a.find(
1828
- (y) => y.id === r
1829
- ), x = (y) => {
1830
- i(y);
1831
- }, b = (y) => {
1832
- s(y);
1824
+ (b) => b.id === r
1825
+ ), h = (b) => {
1826
+ i(b);
1827
+ }, y = (b) => {
1828
+ s(b);
1833
1829
  };
1834
- return d ? /* @__PURE__ */ l(we, { className: e, children: /* @__PURE__ */ l(de, { children: /* @__PURE__ */ g("div", { children: [
1830
+ return d ? /* @__PURE__ */ f(we, { className: e, children: /* @__PURE__ */ f(de, { children: /* @__PURE__ */ x("div", { children: [
1835
1831
  "Error loading plugins: ",
1836
1832
  d.message
1837
- ] }) }) }) : u ? /* @__PURE__ */ l(we, { className: e, children: /* @__PURE__ */ l(de, { children: /* @__PURE__ */ l("div", { children: "Loading plugins..." }) }) }) : /* @__PURE__ */ g(we, { className: e, children: [
1838
- /* @__PURE__ */ g(Ar, { children: [
1839
- /* @__PURE__ */ l(Mr, { healthStats: f }),
1840
- /* @__PURE__ */ l(
1833
+ ] }) }) }) : u ? /* @__PURE__ */ f(we, { className: e, children: /* @__PURE__ */ f(de, { children: /* @__PURE__ */ f("div", { children: "Loading plugins..." }) }) }) : /* @__PURE__ */ x(we, { className: e, children: [
1834
+ /* @__PURE__ */ x(Ar, { children: [
1835
+ /* @__PURE__ */ f(Mr, { healthStats: l }),
1836
+ /* @__PURE__ */ f(
1841
1837
  lr,
1842
1838
  {
1843
1839
  extensionPoints: a,
1844
1840
  selectedExtensionId: r,
1845
- onExtensionSelect: x,
1841
+ onExtensionSelect: h,
1846
1842
  searchTerm: o,
1847
- onSearchChange: b
1843
+ onSearchChange: y
1848
1844
  }
1849
1845
  )
1850
1846
  ] }),
1851
- /* @__PURE__ */ l(Nr, { children: c ? /* @__PURE__ */ g(K, { children: [
1852
- /* @__PURE__ */ g(zr, { children: [
1853
- /* @__PURE__ */ l(Or, { children: c.displayName || c.id }),
1854
- c.description && /* @__PURE__ */ l(Fr, { children: c.description })
1847
+ /* @__PURE__ */ f(zr, { children: c ? /* @__PURE__ */ x(K, { children: [
1848
+ /* @__PURE__ */ x(Nr, { children: [
1849
+ /* @__PURE__ */ f(Fr, { children: c.displayName || c.id }),
1850
+ c.description && /* @__PURE__ */ f(Lr, { children: c.description })
1855
1851
  ] }),
1856
- /* @__PURE__ */ g(Lr, { children: [
1857
- c.plugins.length > 0 ? /* @__PURE__ */ g(K, { children: [
1858
- /* @__PURE__ */ g(
1852
+ /* @__PURE__ */ x(Or, { children: [
1853
+ c.plugins.length > 0 ? /* @__PURE__ */ x(K, { children: [
1854
+ /* @__PURE__ */ x(
1859
1855
  "h5",
1860
1856
  {
1861
1857
  style: {
@@ -1870,17 +1866,17 @@ const kr = ({
1870
1866
  ]
1871
1867
  }
1872
1868
  ),
1873
- /* @__PURE__ */ l(Dr, { children: c.plugins.map((y) => /* @__PURE__ */ l(
1869
+ /* @__PURE__ */ f(Dr, { children: c.plugins.map((b) => /* @__PURE__ */ f(
1874
1870
  kr,
1875
1871
  {
1876
- plugin: y,
1872
+ plugin: b,
1877
1873
  extensionPointId: c.id
1878
1874
  },
1879
- y.id
1875
+ b.id
1880
1876
  )) })
1881
- ] }) : /* @__PURE__ */ g(de, { children: [
1882
- /* @__PURE__ */ l("div", { style: { fontSize: "48px", marginBottom: "12px" }, children: "🔌" }),
1883
- /* @__PURE__ */ l(
1877
+ ] }) : /* @__PURE__ */ x(de, { children: [
1878
+ /* @__PURE__ */ f("div", { style: { fontSize: "48px", marginBottom: "12px" }, children: "🔌" }),
1879
+ /* @__PURE__ */ f(
1884
1880
  "div",
1885
1881
  {
1886
1882
  style: {
@@ -1891,47 +1887,47 @@ const kr = ({
1891
1887
  children: "No plugins registered"
1892
1888
  }
1893
1889
  ),
1894
- /* @__PURE__ */ l("div", { style: { fontSize: "14px" }, children: "This extension point is available but no plugins are currently contributing to it." })
1890
+ /* @__PURE__ */ f("div", { style: { fontSize: "14px" }, children: "This extension point is available but no plugins are currently contributing to it." })
1895
1891
  ] }),
1896
- c.metadata && /* @__PURE__ */ g(Ir, { children: [
1897
- /* @__PURE__ */ l(Vr, { children: "Extension Point Details" }),
1898
- /* @__PURE__ */ g(jr, { children: [
1899
- /* @__PURE__ */ l(H, { children: "ID:" }),
1900
- /* @__PURE__ */ l(U, { children: c.id }),
1901
- /* @__PURE__ */ l(H, { children: "Source:" }),
1902
- /* @__PURE__ */ l(U, { children: c.source }),
1903
- c.metadata.category && /* @__PURE__ */ g(K, { children: [
1904
- /* @__PURE__ */ l(H, { children: "Category:" }),
1905
- /* @__PURE__ */ l(U, { children: c.metadata.category })
1892
+ c.metadata && /* @__PURE__ */ x(Ir, { children: [
1893
+ /* @__PURE__ */ f(Vr, { children: "Extension Point Details" }),
1894
+ /* @__PURE__ */ x(jr, { children: [
1895
+ /* @__PURE__ */ f(H, { children: "ID:" }),
1896
+ /* @__PURE__ */ f(U, { children: c.id }),
1897
+ /* @__PURE__ */ f(H, { children: "Source:" }),
1898
+ /* @__PURE__ */ f(U, { children: c.source }),
1899
+ c.metadata.category && /* @__PURE__ */ x(K, { children: [
1900
+ /* @__PURE__ */ f(H, { children: "Category:" }),
1901
+ /* @__PURE__ */ f(U, { children: c.metadata.category })
1906
1902
  ] }),
1907
- c.metadata.owner && /* @__PURE__ */ g(K, { children: [
1908
- /* @__PURE__ */ l(H, { children: "Owner:" }),
1909
- /* @__PURE__ */ l(U, { children: c.metadata.owner })
1903
+ c.metadata.owner && /* @__PURE__ */ x(K, { children: [
1904
+ /* @__PURE__ */ f(H, { children: "Owner:" }),
1905
+ /* @__PURE__ */ f(U, { children: c.metadata.owner })
1910
1906
  ] }),
1911
- c.metadata.since && /* @__PURE__ */ g(K, { children: [
1912
- /* @__PURE__ */ l(H, { children: "Since:" }),
1913
- /* @__PURE__ */ l(U, { children: c.metadata.since })
1907
+ c.metadata.since && /* @__PURE__ */ x(K, { children: [
1908
+ /* @__PURE__ */ f(H, { children: "Since:" }),
1909
+ /* @__PURE__ */ f(U, { children: c.metadata.since })
1914
1910
  ] }),
1915
- c.metadata.tags && c.metadata.tags.length > 0 && /* @__PURE__ */ g(K, { children: [
1916
- /* @__PURE__ */ l(H, { children: "Tags:" }),
1917
- /* @__PURE__ */ l(U, { children: c.metadata.tags.join(", ") })
1911
+ c.metadata.tags && c.metadata.tags.length > 0 && /* @__PURE__ */ x(K, { children: [
1912
+ /* @__PURE__ */ f(H, { children: "Tags:" }),
1913
+ /* @__PURE__ */ f(U, { children: c.metadata.tags.join(", ") })
1918
1914
  ] })
1919
1915
  ] })
1920
1916
  ] })
1921
1917
  ] })
1922
- ] }) : /* @__PURE__ */ g(de, { children: [
1923
- /* @__PURE__ */ l("div", { style: { fontSize: "48px", marginBottom: "12px" }, children: "🔍" }),
1924
- /* @__PURE__ */ l(
1918
+ ] }) : /* @__PURE__ */ x(de, { children: [
1919
+ /* @__PURE__ */ f("div", { style: { fontSize: "48px", marginBottom: "12px" }, children: "🔍" }),
1920
+ /* @__PURE__ */ f(
1925
1921
  "div",
1926
1922
  {
1927
1923
  style: { fontSize: "16px", fontWeight: 500, marginBottom: "8px" },
1928
1924
  children: "Select an extension point"
1929
1925
  }
1930
1926
  ),
1931
- /* @__PURE__ */ l("div", { style: { fontSize: "14px" }, children: "Choose an extension point from the sidebar to view its plugins and details." })
1927
+ /* @__PURE__ */ f("div", { style: { fontSize: "14px" }, children: "Choose an extension point from the sidebar to view its plugins and details." })
1932
1928
  ] }) })
1933
1929
  ] });
1934
- }, Kr = h.div`
1930
+ }, Kr = m.div`
1935
1931
  position: fixed;
1936
1932
  top: 0;
1937
1933
  left: 0;
@@ -1944,7 +1940,7 @@ const kr = ({
1944
1940
  justify-content: center;
1945
1941
  padding: 20px;
1946
1942
  box-sizing: border-box;
1947
- `, Yr = h.div`
1943
+ `, Yr = m.div`
1948
1944
  background: white;
1949
1945
  border-radius: 12px;
1950
1946
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
@@ -1954,19 +1950,19 @@ const kr = ({
1954
1950
  position: relative;
1955
1951
  display: flex;
1956
1952
  flex-direction: column;
1957
- `, Wr = h.div`
1953
+ `, Wr = m.div`
1958
1954
  display: flex;
1959
1955
  align-items: center;
1960
1956
  justify-content: space-between;
1961
1957
  padding: 16px 20px;
1962
1958
  border-bottom: 1px solid #e1e5e9;
1963
1959
  background: #f6f8fa;
1964
- `, Hr = h.h3`
1960
+ `, Hr = m.h3`
1965
1961
  margin: 0;
1966
1962
  font-size: 18px;
1967
1963
  font-weight: 600;
1968
1964
  color: #24292f;
1969
- `, Ur = h.button`
1965
+ `, Ur = m.button`
1970
1966
  background: none;
1971
1967
  border: none;
1972
1968
  font-size: 20px;
@@ -1979,7 +1975,7 @@ const kr = ({
1979
1975
  background: #f0f0f0;
1980
1976
  color: #24292f;
1981
1977
  }
1982
- `, Gr = h.button`
1978
+ `, Gr = m.button`
1983
1979
  position: fixed;
1984
1980
  ${(e) => {
1985
1981
  switch (e.position) {
@@ -2020,7 +2016,7 @@ const kr = ({
2020
2016
  &:active {
2021
2017
  transform: scale(0.95);
2022
2018
  }
2023
- `, qr = h.div`
2019
+ `, qr = m.div`
2024
2020
  font-size: 12px;
2025
2021
  color: #656d76;
2026
2022
  margin-left: 8px;
@@ -2032,35 +2028,35 @@ const kr = ({
2032
2028
  }) => {
2033
2029
  const [i, o] = B(!1);
2034
2030
  W(() => {
2035
- const f = (u) => {
2036
- const c = e.toLowerCase().split("+").map((y) => y.trim());
2037
- let x = !0;
2038
- c.includes("ctrl") && !u.ctrlKey && (x = !1), c.includes("shift") && !u.shiftKey && (x = !1), c.includes("alt") && !u.altKey && (x = !1), c.includes("meta") && !u.metaKey && (x = !1);
2039
- const b = c.find(
2040
- (y) => !["ctrl", "shift", "alt", "meta"].includes(y)
2031
+ const l = (u) => {
2032
+ const c = e.toLowerCase().split("+").map((b) => b.trim());
2033
+ let h = !0;
2034
+ c.includes("ctrl") && !u.ctrlKey && (h = !1), c.includes("shift") && !u.shiftKey && (h = !1), c.includes("alt") && !u.altKey && (h = !1), c.includes("meta") && !u.metaKey && (h = !1);
2035
+ const y = c.find(
2036
+ (b) => !["ctrl", "shift", "alt", "meta"].includes(b)
2041
2037
  );
2042
- b && u.key.toLowerCase() !== b.toLowerCase() && (x = !1), x && (u.preventDefault(), o((y) => !y));
2038
+ y && u.key.toLowerCase() !== y.toLowerCase() && (h = !1), h && (u.preventDefault(), o((b) => !b));
2043
2039
  };
2044
- return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
2040
+ return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
2045
2041
  }, [e]), W(() => {
2046
- const f = (u) => {
2042
+ const l = (u) => {
2047
2043
  u.key === "Escape" && i && o(!1);
2048
2044
  };
2049
- return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
2045
+ return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
2050
2046
  }, [i]);
2051
2047
  const s = () => {
2052
- o((f) => !f);
2053
- }, a = (f) => {
2054
- f.target === f.currentTarget && o(!1);
2048
+ o((l) => !l);
2049
+ }, a = (l) => {
2050
+ l.target === l.currentTarget && o(!1);
2055
2051
  };
2056
- return process.env.NODE_ENV !== "development" ? null : /* @__PURE__ */ g(K, { children: [
2057
- t && /* @__PURE__ */ l(
2052
+ return process.env.NODE_ENV !== "development" ? null : /* @__PURE__ */ x(K, { children: [
2053
+ t && /* @__PURE__ */ f(
2058
2054
  Gr,
2059
2055
  {
2060
2056
  position: n,
2061
2057
  onClick: s,
2062
2058
  title: `Plugin Explorer (${e})`,
2063
- children: /* @__PURE__ */ l(
2059
+ children: /* @__PURE__ */ f(
2064
2060
  "svg",
2065
2061
  {
2066
2062
  fill: "#ffffff",
@@ -2071,7 +2067,7 @@ const kr = ({
2071
2067
  xmlns: "http://www.w3.org/2000/svg",
2072
2068
  viewBox: "0 0 512 512",
2073
2069
  style: { display: "block" },
2074
- children: /* @__PURE__ */ l("g", { children: /* @__PURE__ */ l(
2070
+ children: /* @__PURE__ */ f("g", { children: /* @__PURE__ */ f(
2075
2071
  "path",
2076
2072
  {
2077
2073
  fill: "#ffffff",
@@ -2093,18 +2089,18 @@ const kr = ({
2093
2089
  )
2094
2090
  }
2095
2091
  ),
2096
- /* @__PURE__ */ l(Kr, { visible: i, onClick: a, children: /* @__PURE__ */ g(Yr, { children: [
2097
- /* @__PURE__ */ g(Wr, { children: [
2098
- /* @__PURE__ */ g("div", { style: { display: "flex", alignItems: "center" }, children: [
2099
- /* @__PURE__ */ l(Hr, { children: "KOS Plugin Explorer" }),
2100
- /* @__PURE__ */ g(qr, { children: [
2092
+ /* @__PURE__ */ f(Kr, { visible: i, onClick: a, children: /* @__PURE__ */ x(Yr, { children: [
2093
+ /* @__PURE__ */ x(Wr, { children: [
2094
+ /* @__PURE__ */ x("div", { style: { display: "flex", alignItems: "center" }, children: [
2095
+ /* @__PURE__ */ f(Hr, { children: "KOS Plugin Explorer" }),
2096
+ /* @__PURE__ */ x(qr, { children: [
2101
2097
  e,
2102
2098
  " to toggle"
2103
2099
  ] })
2104
2100
  ] }),
2105
- /* @__PURE__ */ l(Ur, { onClick: () => o(!1), "aria-label": "Close", children: "×" })
2101
+ /* @__PURE__ */ f(Ur, { onClick: () => o(!1), "aria-label": "Close", children: "×" })
2106
2102
  ] }),
2107
- /* @__PURE__ */ l(Br, { ...r })
2103
+ /* @__PURE__ */ f(Br, { ...r })
2108
2104
  ] }) })
2109
2105
  ] });
2110
2106
  };
@@ -2118,15 +2114,19 @@ function oi(e) {
2118
2114
  fallback: i,
2119
2115
  fallbackOnDisabled: o,
2120
2116
  autoSwitchOnDisabled: s,
2121
- ...a
2117
+ waitForLoad: a,
2118
+ onLoadingChange: l,
2119
+ ...u
2122
2120
  } = n;
2123
- return Y.createElement(ze, {
2121
+ return Y.createElement(Ne, {
2124
2122
  extension: e.id,
2125
2123
  module: r,
2126
2124
  fallback: i,
2127
2125
  fallbackOnDisabled: o,
2128
2126
  autoSwitchOnDisabled: s,
2129
- props: a
2127
+ waitForLoad: a,
2128
+ onLoadingChange: l,
2129
+ props: u
2130
2130
  });
2131
2131
  };
2132
2132
  return t.displayName = `${e.config.displayName || e.id}.Component`, t;
@@ -2141,15 +2141,19 @@ function si(e) {
2141
2141
  fallback: i,
2142
2142
  fallbackOnDisabled: o,
2143
2143
  autoSwitchOnDisabled: s,
2144
- ...a
2144
+ waitForLoad: a,
2145
+ onLoadingChange: l,
2146
+ ...u
2145
2147
  } = n;
2146
- return Y.createElement(ze, {
2148
+ return Y.createElement(Ne, {
2147
2149
  extension: e.id,
2148
2150
  module: r,
2149
2151
  fallback: i,
2150
2152
  fallbackOnDisabled: o,
2151
2153
  autoSwitchOnDisabled: s,
2152
- props: a
2154
+ waitForLoad: a,
2155
+ onLoadingChange: l,
2156
+ props: u
2153
2157
  });
2154
2158
  };
2155
2159
  return t.displayName = `${e.config.displayName || e.id}.Component`, t;
@@ -2166,16 +2170,20 @@ function Zr(e) {
2166
2170
  module: o,
2167
2171
  fallback: s,
2168
2172
  fallbackOnDisabled: a,
2169
- autoSwitchOnDisabled: f,
2170
- ...u
2173
+ autoSwitchOnDisabled: l,
2174
+ waitForLoad: u,
2175
+ onLoadingChange: d,
2176
+ ...c
2171
2177
  } = i;
2172
- return Y.createElement(ze, {
2178
+ return Y.createElement(Ne, {
2173
2179
  extension: e,
2174
2180
  module: o,
2175
2181
  fallback: s,
2176
2182
  fallbackOnDisabled: a,
2177
- autoSwitchOnDisabled: f,
2178
- props: u
2183
+ autoSwitchOnDisabled: l,
2184
+ waitForLoad: u,
2185
+ onLoadingChange: d,
2186
+ props: c
2179
2187
  });
2180
2188
  };
2181
2189
  return r.displayName = `${n.config.displayName || e}.Component`, r;
@@ -2190,7 +2198,7 @@ function X(e) {
2190
2198
  autoResolve: !1
2191
2199
  }
2192
2200
  );
2193
- return L(() => {
2201
+ return O(() => {
2194
2202
  if (typeof e == "object" && e.id) {
2195
2203
  const r = e;
2196
2204
  if (r.getExtensions) {
@@ -2207,8 +2215,8 @@ function X(e) {
2207
2215
  }, [e, n]);
2208
2216
  }
2209
2217
  function ai(e, t) {
2210
- const { extensions: n } = Oe(), r = X(e);
2211
- return L(() => {
2218
+ const { extensions: n } = Fe(), r = X(e);
2219
+ return O(() => {
2212
2220
  if (!r || r.length === 0)
2213
2221
  return null;
2214
2222
  if (t != null && t.customRanker)
@@ -2218,8 +2226,8 @@ function ai(e, t) {
2218
2226
  if (t.propertyMatches && (a = a.filter(
2219
2227
  (u) => Object.entries(t.propertyMatches).every(
2220
2228
  ([d, c]) => {
2221
- var x;
2222
- return ((x = u.data) == null ? void 0 : x[d]) === c;
2229
+ var h;
2230
+ return ((h = u.data) == null ? void 0 : h[d]) === c;
2223
2231
  }
2224
2232
  )
2225
2233
  )), t.preferredModule) {
@@ -2229,8 +2237,8 @@ function ai(e, t) {
2229
2237
  if (u)
2230
2238
  return u;
2231
2239
  }
2232
- const f = a.reduce((u, d) => (u[d.id] = d, u), {});
2233
- return ne(f);
2240
+ const l = a.reduce((u, d) => (u[d.id] = d, u), {});
2241
+ return ne(l);
2234
2242
  }
2235
2243
  const i = typeof e == "string" ? e : e.id, o = (n == null ? void 0 : n[i]) || {};
2236
2244
  return ne(o, t == null ? void 0 : t.preferredModule);
@@ -2244,19 +2252,19 @@ function li(e) {
2244
2252
  }
2245
2253
  function di(e, t) {
2246
2254
  const n = X(e);
2247
- return L(() => {
2255
+ return O(() => {
2248
2256
  let r = n.filter(t.filter);
2249
2257
  return t.sort && (r = r.sort(t.sort)), r;
2250
2258
  }, [n, t.filter, t.sort]);
2251
2259
  }
2252
2260
  function fi(e, t) {
2253
- const n = X(e), [r, i] = B(/* @__PURE__ */ new Map()), o = L(
2261
+ const n = X(e), [r, i] = B(/* @__PURE__ */ new Map()), o = O(
2254
2262
  () => t != null && t.filter ? n.filter(t.filter) : n,
2255
2263
  [n, t == null ? void 0 : t.filter]
2256
2264
  ), s = (t == null ? void 0 : t.moduleProperty) || "module";
2257
2265
  return W(() => {
2258
2266
  (async () => {
2259
- var f;
2267
+ var l;
2260
2268
  for (const u of o) {
2261
2269
  const d = u.id;
2262
2270
  if (!r.has(d)) {
@@ -2268,54 +2276,54 @@ function fi(e, t) {
2268
2276
  })
2269
2277
  );
2270
2278
  try {
2271
- const c = ((f = u.data) == null ? void 0 : f[s]) || u[s] || `./${u.id}`, x = u.remote;
2272
- if (!x)
2279
+ const c = ((l = u.data) == null ? void 0 : l[s]) || u[s] || `./${u.id}`, h = u.remote;
2280
+ if (!h)
2273
2281
  throw new Error(`No remote specified for extension ${d}`);
2274
- const { loadRemoteModule: b } = await import("./documentation-generator-Di4c9D9P.js").then((v) => v.i), y = await b(x, c);
2282
+ const { loadRemoteModule: y } = await import("./documentation-generator-Di4c9D9P.js").then((v) => v.i), b = await y(h, c);
2275
2283
  i(
2276
2284
  (v) => new Map(v).set(d, {
2277
- module: y,
2285
+ module: b,
2278
2286
  loading: !1,
2279
2287
  error: null
2280
2288
  })
2281
2289
  );
2282
2290
  } catch (c) {
2283
- const x = c instanceof Error ? c.message : "Unknown error";
2291
+ const h = c instanceof Error ? c.message : "Unknown error";
2284
2292
  i(
2285
- (b) => new Map(b).set(d, {
2293
+ (y) => new Map(y).set(d, {
2286
2294
  module: null,
2287
2295
  loading: !1,
2288
- error: x
2296
+ error: h
2289
2297
  })
2290
2298
  );
2291
2299
  }
2292
2300
  }
2293
2301
  }
2294
2302
  })();
2295
- }, [o, s, r]), L(
2303
+ }, [o, s, r]), O(
2296
2304
  () => o.map((a) => {
2297
- const f = r.get(a.id) || {
2305
+ const l = r.get(a.id) || {
2298
2306
  module: null,
2299
2307
  loading: !0,
2300
2308
  error: null
2301
2309
  };
2302
2310
  return {
2303
2311
  extension: a,
2304
- module: f.module,
2305
- loading: f.loading,
2306
- error: f.error
2312
+ module: l.module,
2313
+ loading: l.loading,
2314
+ error: l.error
2307
2315
  };
2308
2316
  }),
2309
2317
  [o, r]
2310
2318
  );
2311
2319
  }
2312
2320
  function ui(e, t) {
2313
- const n = X(e), r = Zr(e), i = (t == null ? void 0 : t.namespaceProperty) || "namespace", o = L(() => {
2314
- const f = n.map((u) => {
2321
+ const n = X(e), r = Zr(e), i = (t == null ? void 0 : t.namespaceProperty) || "namespace", o = O(() => {
2322
+ const l = n.map((u) => {
2315
2323
  var d;
2316
2324
  return (d = u.data) == null ? void 0 : d[i];
2317
2325
  }).filter(Boolean);
2318
- return Array.from(new Set(f));
2326
+ return Array.from(new Set(l));
2319
2327
  }, [n, i]), { t: s, i18n: a } = Gt(o);
2320
2328
  return {
2321
2329
  extensions: n,
@@ -2327,7 +2335,7 @@ function ui(e, t) {
2327
2335
  }
2328
2336
  export {
2329
2337
  mi as ContributionRegistry,
2330
- ze as DynamicComponent,
2338
+ Ne as DynamicComponent,
2331
2339
  lr as ExtensionPointList,
2332
2340
  ii as FloatingPluginExplorer,
2333
2341
  ni as KosPluginProvider,
@@ -2357,7 +2365,7 @@ export {
2357
2365
  dr as useFilteredExtensionPoints,
2358
2366
  di as useFilteredExtensions,
2359
2367
  ci as useHasExtensions,
2360
- Oe as useKosPluginsContext,
2368
+ Fe as useKosPluginsContext,
2361
2369
  fi as useModules,
2362
2370
  xt as usePluginDiscovery,
2363
2371
  Gn as useReactiveExtensionRegistry,