@ovh-ux/manager-pci-common 0.18.3 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -6,7 +6,7 @@ import { useParams as Ot } from "react-router-dom";
6
6
  import { useTranslation as L, Translation as it, Trans as Xr } from "react-i18next";
7
7
  import "react-dom";
8
8
  import { ShellContext as Me, useNavigation as fo } from "@ovh-ux/manager-react-shell-client";
9
- import { jsx as s, jsxs as k, Fragment as oe } from "react/jsx-runtime";
9
+ import { jsx as c, jsxs as k, Fragment as oe } from "react/jsx-runtime";
10
10
  import { ODS_THEME_COLOR_INTENT as w, ODS_THEME_TYPOGRAPHY_LEVEL as O, ODS_THEME_TYPOGRAPHY_SIZE as Q } from "@ovhcloud/ods-common-theming";
11
11
  import { OsdsText as T, OsdsIcon as ge, OsdsMessage as Br, OsdsChip as qt, OsdsPopover as Xt, OsdsPopoverContent as Bt, OsdsTile as yt, OsdsSpinner as Ae, OsdsSelect as Gr, OsdsSelectOption as Yr, OsdsButton as _e, OsdsLink as wt, OsdsDivider as go, OsdsSkeleton as ba, OsdsSearchBar as Zr, OsdsModal as Kr, OsdsFormField as bo, OsdsInput as vo, OsdsQuantity as Qr } from "@ovhcloud/ods-components/react";
12
12
  import { ODS_TEXT_SIZE as q, ODS_TEXT_LEVEL as ve, ODS_ICON_NAME as be, ODS_ICON_SIZE as $e, ODS_MESSAGE_TYPE as yo, ODS_CHIP_SIZE as va, ODS_SPINNER_SIZE as Te, ODS_BUTTON_SIZE as we, ODS_BUTTON_VARIANT as fe, ODS_INPUT_TYPE as wo, ODS_TEXT_COLOR_INTENT as $t, ODS_TEXT_COLOR_HUE as Jr } from "@ovhcloud/ods-components";
@@ -35,20 +35,20 @@ const Ur = async () => {
35
35
  });
36
36
  return t;
37
37
  };
38
- async function Axe() {
38
+ async function Nxe() {
39
39
  const { data: e } = await Ue({
40
40
  route: "/dbaas/logs",
41
41
  disableCache: !0
42
42
  });
43
43
  return e;
44
44
  }
45
- async function Txe(e, a) {
45
+ async function Axe(e, a) {
46
46
  const { data: t } = await F.get(
47
47
  `/dbaas/logs/${e}/output/graylog/stream/${a}`
48
48
  );
49
49
  return t;
50
50
  }
51
- async function Cxe(e) {
51
+ async function Txe(e) {
52
52
  const { data: a } = await F.get(
53
53
  `/dbaas/logs/${e}/output/graylog/stream`
54
54
  );
@@ -64,7 +64,7 @@ async function ns(e, a, t) {
64
64
  });
65
65
  return { data: n, totalCount: o };
66
66
  }
67
- async function Exe(e, a) {
67
+ async function Cxe(e, a) {
68
68
  const { data: t } = await F.get(
69
69
  `/dbaas/logs/${e}/output/graylog/stream/${a}/url`
70
70
  );
@@ -83,7 +83,7 @@ async function is(e, a) {
83
83
  });
84
84
  return t;
85
85
  }
86
- const Vxe = async (e, a) => {
86
+ const Exe = async (e, a) => {
87
87
  const { data: t } = await F.get(
88
88
  `/cloud/project/${e}/flavor/${a}`
89
89
  );
@@ -113,7 +113,7 @@ const Vxe = async (e, a) => {
113
113
  }
114
114
  );
115
115
  return t;
116
- }, Lxe = async (e, a) => {
116
+ }, Vxe = async (e, a) => {
117
117
  const { data: t } = await F.get(
118
118
  `/cloud/project/${e}/region/${a}/instance`
119
119
  );
@@ -150,7 +150,7 @@ const ls = async (e, a) => {
150
150
  `/cloud/project/${e}/volume`
151
151
  );
152
152
  return a;
153
- }, Hxe = () => H({
153
+ }, Lxe = () => H({
154
154
  queryKey: ["cloud.json"],
155
155
  queryFn: () => Ur()
156
156
  }), hs = (e, a, t) => ({
@@ -177,7 +177,7 @@ const ls = async (e, a) => {
177
177
  }, vs = (e) => ({
178
178
  queryKey: ["project", e],
179
179
  queryFn: () => us(e)
180
- }), Fxe = (e, a) => {
180
+ }), Hxe = (e, a) => {
181
181
  const { projectId: t } = Ot();
182
182
  return H({
183
183
  ...vs(e || t),
@@ -190,7 +190,7 @@ const ls = async (e, a) => {
190
190
  const { projectId: n } = Ot();
191
191
  return H({
192
192
  ...ys(e || n),
193
- select: (o) => a ? o.filter((c) => c.region === a.region) : o,
193
+ select: (o) => a ? o.filter((s) => s.region === a.region) : o,
194
194
  ...t
195
195
  });
196
196
  }, $o = [
@@ -256,7 +256,7 @@ const ls = async (e, a) => {
256
256
  const { data: t, isPending: n } = ks(
257
257
  e,
258
258
  a
259
- ), { data: o, isPending: c } = zs(
259
+ ), { data: o, isPending: s } = zs(
260
260
  e,
261
261
  a
262
262
  ), { data: u, isPending: m } = bs(), {
@@ -265,27 +265,27 @@ const ls = async (e, a) => {
265
265
  } = fs(e), { data: b, isPending: v } = ws(
266
266
  e,
267
267
  { region: a }
268
- ), y = n || c || m || h || v;
268
+ ), y = n || s || m || h || v;
269
269
  return {
270
270
  mergedFlavors: Z(() => !t || !o || !u || !p || !b ? [] : [...new Set(
271
- o.map(({ name: W }) => W.replace("-flex", ""))
272
- )].map((W) => ({
273
- ...t.find((A) => A.name === W),
274
- ...o.find((A) => A.name === W)
275
- })).map((W) => {
276
- var M, D, U, ee, je;
271
+ o.map(({ name: D }) => D.replace("-flex", ""))
272
+ )].map((D) => ({
273
+ ...t.find((A) => A.name === D),
274
+ ...o.find((A) => A.name === D)
275
+ })).map((D) => {
276
+ var M, N, U, ee, je;
277
277
  const A = u.addons.find(
278
- (ae) => ae.planCode === W.planCodes.hourly
279
- ), x = u.addons.find(
280
- (ae) => ae.planCode === W.planCodes.monthly
278
+ (ae) => ae.planCode === D.planCodes.hourly
279
+ ), S = u.addons.find(
280
+ (ae) => ae.planCode === D.planCodes.monthly
281
281
  ), P = (M = p.plans) == null ? void 0 : M.find(
282
- (ae) => ae.code === W.planCodes.hourly
283
- ), E = x && (x.pricings.find((ae) => ae.capacities.includes("renew")) || x.pricings[0]);
282
+ (ae) => ae.code === D.planCodes.hourly
283
+ ), E = S && (S.pricings.find((ae) => ae.capacities.includes("renew")) || S.pricings[0]);
284
284
  return {
285
- ...W,
285
+ ...D,
286
286
  blobs: A == null ? void 0 : A.blobs,
287
287
  compatibility: {
288
- localzone: (D = P == null ? void 0 : P.regions) == null ? void 0 : D.some(
288
+ localzone: (N = P == null ? void 0 : P.regions) == null ? void 0 : N.some(
289
289
  (ae) => ae.type === "localzone"
290
290
  ),
291
291
  globalzone: (U = P == null ? void 0 : P.regions) == null ? void 0 : U.some(
@@ -296,26 +296,26 @@ const ls = async (e, a) => {
296
296
  pricingsMonthly: E,
297
297
  isNew: A == null ? void 0 : A.blobs.tags.includes("is_new"),
298
298
  flavorCategory: (je = $o.find(
299
- (ae) => ae.pattern.test(W.type)
299
+ (ae) => ae.pattern.test(D.type)
300
300
  )) == null ? void 0 : je.category,
301
- isFlex: /flex$/.test(W.name),
302
- isLegacy: /eg|sp|hg|vps-ssd/.test(W.name),
303
- hasEnoughQuota: js(W, b[0])
301
+ isFlex: /flex$/.test(D.name),
302
+ isLegacy: /eg|sp|hg|vps-ssd/.test(D.name),
303
+ hasEnoughQuota: js(D, b[0])
304
304
  };
305
- }).sort((W, A) => {
306
- const x = Number((W.name.match(/[0-9]+/) || [])[0]), P = Number((A.name.match(/[0-9]+/) || [])[0]), E = Number((W.name.match(/-([^-]+)$/) || [])[1]), M = Number((A.name.match(/-([^-]+)$/) || [])[1]);
307
- return x === P ? E - M : P - x;
305
+ }).sort((D, A) => {
306
+ const S = Number((D.name.match(/[0-9]+/) || [])[0]), P = Number((A.name.match(/[0-9]+/) || [])[0]), E = Number((D.name.match(/-([^-]+)$/) || [])[1]), M = Number((A.name.match(/-([^-]+)$/) || [])[1]);
307
+ return S === P ? E - M : P - S;
308
308
  }), [p, u, t, o, b]),
309
309
  isPending: y
310
310
  };
311
- }, Ixe = (e, a) => H({
311
+ }, Fxe = (e, a) => H({
312
312
  queryKey: ["project", e, "instances", a],
313
313
  queryFn: async () => cs(e, a),
314
314
  enabled: !!a
315
315
  }), xs = (e, a) => ({
316
316
  queryKey: ["instances", e, a],
317
317
  queryFn: () => ds(e, a)
318
- }), Rxe = (e, a) => H({
318
+ }), Ixe = (e, a) => H({
319
319
  ...xs(e, a)
320
320
  });
321
321
  function Po(e) {
@@ -446,8 +446,8 @@ function i(e) {
446
446
  const u = e.defaultWidth, m = t != null && t.width ? String(t.width) : e.defaultWidth;
447
447
  o = e.values[m] || e.values[u];
448
448
  }
449
- const c = e.argumentCallback ? e.argumentCallback(a) : a;
450
- return o[c];
449
+ const s = e.argumentCallback ? e.argumentCallback(a) : a;
450
+ return o[s];
451
451
  };
452
452
  }
453
453
  const Ls = {
@@ -602,10 +602,10 @@ const Ls = {
602
602
  };
603
603
  function r(e) {
604
604
  return (a, t = {}) => {
605
- const n = t.width, o = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], c = a.match(o);
606
- if (!c)
605
+ const n = t.width, o = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], s = a.match(o);
606
+ if (!s)
607
607
  return null;
608
- const u = c[0], m = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], p = Array.isArray(m) ? Gs(m, (v) => v.test(u)) : (
608
+ const u = s[0], m = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], p = Array.isArray(m) ? Gs(m, (v) => v.test(u)) : (
609
609
  // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
610
610
  Bs(m, (v) => v.test(u))
611
611
  );
@@ -632,9 +632,9 @@ function $(e) {
632
632
  return (a, t = {}) => {
633
633
  const n = a.match(e.matchPattern);
634
634
  if (!n) return null;
635
- const o = n[0], c = a.match(e.parsePattern);
636
- if (!c) return null;
637
- let u = e.valueCallback ? e.valueCallback(c[0]) : c[0];
635
+ const o = n[0], s = a.match(e.parsePattern);
636
+ if (!s) return null;
637
+ let u = e.valueCallback ? e.valueCallback(s[0]) : s[0];
638
638
  u = t.valueCallback ? t.valueCallback(u) : u;
639
639
  const m = a.slice(o.length);
640
640
  return { value: u, rest: m };
@@ -3767,7 +3767,7 @@ function Pt() {
3767
3767
  }
3768
3768
  function Qe(e, a) {
3769
3769
  var m, p, h, b;
3770
- const t = Pt(), n = (a == null ? void 0 : a.weekStartsOn) ?? ((p = (m = a == null ? void 0 : a.locale) == null ? void 0 : m.options) == null ? void 0 : p.weekStartsOn) ?? t.weekStartsOn ?? ((b = (h = t.locale) == null ? void 0 : h.options) == null ? void 0 : b.weekStartsOn) ?? 0, o = K(e), c = o.getDay(), u = (c < n ? 7 : 0) + c - n;
3770
+ const t = Pt(), n = (a == null ? void 0 : a.weekStartsOn) ?? ((p = (m = a == null ? void 0 : a.locale) == null ? void 0 : m.options) == null ? void 0 : p.weekStartsOn) ?? t.weekStartsOn ?? ((b = (h = t.locale) == null ? void 0 : h.options) == null ? void 0 : b.weekStartsOn) ?? 0, o = K(e), s = o.getDay(), u = (s < n ? 7 : 0) + s - n;
3771
3771
  return o.setDate(o.getDate() - u), o.setHours(0, 0, 0, 0), o;
3772
3772
  }
3773
3773
  function Y(e, a, t) {
@@ -4904,8 +4904,8 @@ function F_(e) {
4904
4904
  return e === "quarter";
4905
4905
  }
4906
4906
  function Ye(e, a, t, n, o) {
4907
- const c = F_(a) ? o : H_(a) ? n : t;
4908
- return e + "-" + c;
4907
+ const s = F_(a) ? o : H_(a) ? n : t;
4908
+ return e + "-" + s;
4909
4909
  }
4910
4910
  const I_ = (e, a) => {
4911
4911
  const t = Number(e), n = a == null ? void 0 : a.unit;
@@ -7069,9 +7069,9 @@ const mp = {
7069
7069
  let n;
7070
7070
  const o = yf[e];
7071
7071
  o.type === "other" ? n = o.other : a === 1 ? n = o.one : a > 1 && a < 5 ? n = o.few : n = o.many;
7072
- const c = (t == null ? void 0 : t.addSuffix) === !0, u = t == null ? void 0 : t.comparison;
7072
+ const s = (t == null ? void 0 : t.addSuffix) === !0, u = t == null ? void 0 : t.comparison;
7073
7073
  let m;
7074
- return c && u === -1 ? m = n.past : c && u === 1 ? m = n.future : m = n.regular, m.replace("{{count}}", String(a));
7074
+ return s && u === -1 ? m = n.past : s && u === 1 ? m = n.future : m = n.regular, m.replace("{{count}}", String(a));
7075
7075
  }, $f = {
7076
7076
  full: "EEEE, d. MMMM yyyy",
7077
7077
  long: "d. MMMM yyyy",
@@ -12334,8 +12334,8 @@ const oP = {
12334
12334
  const t = Number(e), n = a == null ? void 0 : a.unit;
12335
12335
  if (t === 0) return "0";
12336
12336
  const o = ["year", "week", "hour", "minute", "second"];
12337
- let c;
12338
- return t === 1 ? c = n && o.includes(n) ? "ère" : "er" : c = "ème", t + c;
12337
+ let s;
12338
+ return t === 1 ? s = n && o.includes(n) ? "ère" : "er" : s = "ème", t + s;
12339
12339
  }, XP = ["MMM", "MMMM"], za = {
12340
12340
  preprocessor: (e, a) => e.getDate() === 1 || !a.some(
12341
12341
  (n) => n.isToken && XP.includes(n.value)
@@ -14234,7 +14234,7 @@ const oP = {
14234
14234
  }, OM = (e, a) => {
14235
14235
  const t = Number(e);
14236
14236
  if (t <= 0 || t > 10) return String(t);
14237
- const n = String(a == null ? void 0 : a.unit), o = ["year", "hour", "minute", "second"].indexOf(n) >= 0, c = [
14237
+ const n = String(a == null ? void 0 : a.unit), o = ["year", "hour", "minute", "second"].indexOf(n) >= 0, s = [
14238
14238
  "ראשון",
14239
14239
  "שני",
14240
14240
  "שלישי",
@@ -14257,7 +14257,7 @@ const oP = {
14257
14257
  "תשיעית",
14258
14258
  "עשירית"
14259
14259
  ], m = t - 1;
14260
- return o ? u[m] : c[m];
14260
+ return o ? u[m] : s[m];
14261
14261
  }, qM = {
14262
14262
  ordinalNumber: OM,
14263
14263
  era: i({
@@ -15726,7 +15726,7 @@ const pz = {
15726
15726
  0: " éve"
15727
15727
  }
15728
15728
  }, Bj = (e, a, t) => {
15729
- const n = e.match(/about|over|almost|lessthan/i), o = n ? e.replace(n[0], "") : e, c = (t == null ? void 0 : t.addSuffix) === !0, u = o.toLowerCase(), m = (t == null ? void 0 : t.comparison) || 0, p = c ? Xj[u][m] : qj[u];
15729
+ const n = e.match(/about|over|almost|lessthan/i), o = n ? e.replace(n[0], "") : e, s = (t == null ? void 0 : t.addSuffix) === !0, u = o.toLowerCase(), m = (t == null ? void 0 : t.comparison) || 0, p = s ? Xj[u][m] : qj[u];
15730
15730
  let h = u === "halfaminute" ? p : a + p;
15731
15731
  if (n) {
15732
15732
  const b = n[0].toLowerCase();
@@ -18991,8 +18991,8 @@ const jN = {
18991
18991
  90: "-шы",
18992
18992
  100: "-ші"
18993
18993
  }, EN = (e, a) => {
18994
- const t = Number(e), n = t % 10, o = t >= 100 ? 100 : null, c = aa[t] || aa[n] || o && aa[o] || "";
18995
- return t + c;
18994
+ const t = Number(e), n = t % 10, o = t >= 100 ? 100 : null, s = aa[t] || aa[n] || o && aa[o] || "";
18995
+ return t + s;
18996
18996
  }, VN = {
18997
18997
  ordinalNumber: EN,
18998
18998
  era: i({
@@ -20461,8 +20461,8 @@ function Mn(e) {
20461
20461
  }
20462
20462
  const HT = (e, a, t) => {
20463
20463
  let n;
20464
- const o = TT[e], c = t != null && t.addSuffix ? o.withPreposition : o.standalone;
20465
- return typeof c == "string" ? n = c : a === 1 ? n = c.one : n = c.other.replace("{{count}}", String(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "a" + (Mn(n) ? "n" : "") + " " + n : "viru" + (Mn(n) ? "n" : "") + " " + n : n;
20464
+ const o = TT[e], s = t != null && t.addSuffix ? o.withPreposition : o.standalone;
20465
+ return typeof s == "string" ? n = s : a === 1 ? n = s.one : n = s.other.replace("{{count}}", String(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "a" + (Mn(n) ? "n" : "") + " " + n : "viru" + (Mn(n) ? "n" : "") + " " + n : n;
20466
20466
  }, FT = {
20467
20467
  full: "EEEE, do MMMM y",
20468
20468
  // Méindeg, 7. Januar 2018
@@ -20855,19 +20855,19 @@ const pC = {
20855
20855
  other: de
20856
20856
  }
20857
20857
  }, hC = (e, a, t) => {
20858
- const n = e.match(/about|over|almost|lessthan/i), o = n ? e.replace(n[0], "") : e, c = (t == null ? void 0 : t.comparison) !== void 0 && t.comparison > 0;
20858
+ const n = e.match(/about|over|almost|lessthan/i), o = n ? e.replace(n[0], "") : e, s = (t == null ? void 0 : t.comparison) !== void 0 && t.comparison > 0;
20859
20859
  let u;
20860
20860
  const m = pC[e];
20861
20861
  if (typeof m == "string" ? u = m : a === 1 ? u = m.one(
20862
20862
  a,
20863
20863
  (t == null ? void 0 : t.addSuffix) === !0,
20864
20864
  o.toLowerCase() + "_one",
20865
- c
20865
+ s
20866
20866
  ) : u = m.other(
20867
20867
  a,
20868
20868
  (t == null ? void 0 : t.addSuffix) === !0,
20869
20869
  o.toLowerCase() + "_other",
20870
- c
20870
+ s
20871
20871
  ), n) {
20872
20872
  const p = n[0].toLowerCase();
20873
20873
  u = Fo[p] + " " + u;
@@ -22147,8 +22147,8 @@ const T2 = {
22147
22147
  let n;
22148
22148
  const o = n3[e];
22149
22149
  if (typeof o == "string" ? n = o : a === 1 ? n = o.one : n = o.other.replace("{{count}}", String(a)), t != null && t.addSuffix) {
22150
- const c = n.split(" "), u = c.pop();
22151
- switch (n = c.join(" "), u) {
22150
+ const s = n.split(" "), u = s.pop();
22151
+ switch (n = s.join(" "), u) {
22152
22152
  case "секунд":
22153
22153
  n += " секундийн";
22154
22154
  break;
@@ -25061,7 +25061,7 @@ function Dn(e, a, t, n) {
25061
25061
  o = TV;
25062
25062
  else
25063
25063
  throw new Error(`Cannot determine adjectives for token ${e}`);
25064
- const c = a.getDay(), u = CV[c];
25064
+ const s = a.getDay(), u = CV[s];
25065
25065
  return `'${o[u]}' eeee 'o' p`;
25066
25066
  }
25067
25067
  const EV = {
@@ -27506,8 +27506,8 @@ const tI = {
27506
27506
  }
27507
27507
  }
27508
27508
  }, aI = (e, a, t) => {
27509
- const n = UF(e) || "", o = eI(e.substring(n.length)), c = tI[o];
27510
- return t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? ia(n) + "o " + ra(n) + oa(c, a, "future") : ia(n) + "pred " + ra(n) + oa(c, a, "past") : ia(n) + ra(n) + oa(c, a, "present");
27509
+ const n = UF(e) || "", o = eI(e.substring(n.length)), s = tI[o];
27510
+ return t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? ia(n) + "o " + ra(n) + oa(s, a, "future") : ia(n) + "pred " + ra(n) + oa(s, a, "past") : ia(n) + ra(n) + oa(s, a, "present");
27511
27511
  }, nI = {
27512
27512
  full: "EEEE d. MMMM y",
27513
27513
  long: "d. MMMM y",
@@ -28170,12 +28170,12 @@ function EI(e) {
28170
28170
  const VI = (e, a, t) => {
28171
28171
  let n = "", o = "present";
28172
28172
  t != null && t.addSuffix && (t.comparison && t.comparison > 0 ? (o = "future", n = "čez ") : (o = "past", n = "pred "));
28173
- const c = CI[e];
28174
- if (typeof c == "string")
28175
- n += c;
28173
+ const s = CI[e];
28174
+ if (typeof s == "string")
28175
+ n += s;
28176
28176
  else {
28177
28177
  const u = EI(a);
28178
- TI(c) ? n += c[u].replace("{{count}}", String(a)) : n += c[o][u].replace("{{count}}", String(a));
28178
+ TI(s) ? n += s[u].replace("{{count}}", String(a)) : n += s[o][u].replace("{{count}}", String(a));
28179
28179
  }
28180
28180
  return n;
28181
28181
  }, LI = {
@@ -35252,9 +35252,9 @@ function Ft(e) {
35252
35252
  function Xo(e) {
35253
35253
  const a = K(e), t = a.getFullYear(), n = Je(e, 0);
35254
35254
  n.setFullYear(t + 1, 0, 4), n.setHours(0, 0, 0, 0);
35255
- const o = Ft(n), c = Je(e, 0);
35256
- c.setFullYear(t, 0, 4), c.setHours(0, 0, 0, 0);
35257
- const u = Ft(c);
35255
+ const o = Ft(n), s = Je(e, 0);
35256
+ s.setFullYear(t, 0, 4), s.setHours(0, 0, 0, 0);
35257
+ const u = Ft(s);
35258
35258
  return a.getTime() >= o.getTime() ? t + 1 : a.getTime() >= u.getTime() ? t : t - 1;
35259
35259
  }
35260
35260
  function Cn(e) {
@@ -35276,8 +35276,8 @@ function En(e) {
35276
35276
  return t.setUTCFullYear(a.getFullYear()), +e - +t;
35277
35277
  }
35278
35278
  function b5(e, a) {
35279
- const t = Cn(e), n = Cn(a), o = +t - En(t), c = +n - En(n);
35280
- return Math.round((o - c) / g5);
35279
+ const t = Cn(e), n = Cn(a), o = +t - En(t), s = +n - En(n);
35280
+ return Math.round((o - s) / g5);
35281
35281
  }
35282
35282
  function v5(e) {
35283
35283
  const a = Xo(e), t = Je(e, 0);
@@ -35318,18 +35318,18 @@ function j5(e) {
35318
35318
  return Math.round(t / Oo) + 1;
35319
35319
  }
35320
35320
  function Bo(e, a) {
35321
- var b, v, y, S;
35322
- const t = K(e), n = t.getFullYear(), o = Pt(), c = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((v = (b = a == null ? void 0 : a.locale) == null ? void 0 : b.options) == null ? void 0 : v.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((S = (y = o.locale) == null ? void 0 : y.options) == null ? void 0 : S.firstWeekContainsDate) ?? 1, u = Je(e, 0);
35323
- u.setFullYear(n + 1, 0, c), u.setHours(0, 0, 0, 0);
35321
+ var b, v, y, x;
35322
+ const t = K(e), n = t.getFullYear(), o = Pt(), s = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((v = (b = a == null ? void 0 : a.locale) == null ? void 0 : b.options) == null ? void 0 : v.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((x = (y = o.locale) == null ? void 0 : y.options) == null ? void 0 : x.firstWeekContainsDate) ?? 1, u = Je(e, 0);
35323
+ u.setFullYear(n + 1, 0, s), u.setHours(0, 0, 0, 0);
35324
35324
  const m = Qe(u, a), p = Je(e, 0);
35325
- p.setFullYear(n, 0, c), p.setHours(0, 0, 0, 0);
35325
+ p.setFullYear(n, 0, s), p.setHours(0, 0, 0, 0);
35326
35326
  const h = Qe(p, a);
35327
35327
  return t.getTime() >= m.getTime() ? n + 1 : t.getTime() >= h.getTime() ? n : n - 1;
35328
35328
  }
35329
35329
  function W5(e, a) {
35330
35330
  var m, p, h, b;
35331
- const t = Pt(), n = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((p = (m = a == null ? void 0 : a.locale) == null ? void 0 : m.options) == null ? void 0 : p.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((b = (h = t.locale) == null ? void 0 : h.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, o = Bo(e, a), c = Je(e, 0);
35332
- return c.setFullYear(o, 0, n), c.setHours(0, 0, 0, 0), Qe(c, a);
35331
+ const t = Pt(), n = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((p = (m = a == null ? void 0 : a.locale) == null ? void 0 : m.options) == null ? void 0 : p.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((b = (h = t.locale) == null ? void 0 : h.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, o = Bo(e, a), s = Je(e, 0);
35332
+ return s.setFullYear(o, 0, n), s.setHours(0, 0, 0, 0), Qe(s, a);
35333
35333
  }
35334
35334
  function x5(e, a) {
35335
35335
  const t = K(e), n = +Qe(t, a) - +W5(t, a);
@@ -35428,12 +35428,12 @@ const Le = {
35428
35428
  },
35429
35429
  // Local week-numbering year
35430
35430
  Y: function(e, a, t, n) {
35431
- const o = Bo(e, n), c = o > 0 ? o : 1 - o;
35431
+ const o = Bo(e, n), s = o > 0 ? o : 1 - o;
35432
35432
  if (a === "YY") {
35433
- const u = c % 100;
35433
+ const u = s % 100;
35434
35434
  return V(u, 2);
35435
35435
  }
35436
- return a === "Yo" ? t.ordinalNumber(c, { unit: "year" }) : V(c, a.length);
35436
+ return a === "Yo" ? t.ordinalNumber(s, { unit: "year" }) : V(s, a.length);
35437
35437
  },
35438
35438
  // ISO week-numbering year
35439
35439
  R: function(e, a) {
@@ -35608,14 +35608,14 @@ const Le = {
35608
35608
  },
35609
35609
  // Local day of week
35610
35610
  e: function(e, a, t, n) {
35611
- const o = e.getDay(), c = (o - n.weekStartsOn + 8) % 7 || 7;
35611
+ const o = e.getDay(), s = (o - n.weekStartsOn + 8) % 7 || 7;
35612
35612
  switch (a) {
35613
35613
  case "e":
35614
- return String(c);
35614
+ return String(s);
35615
35615
  case "ee":
35616
- return V(c, 2);
35616
+ return V(s, 2);
35617
35617
  case "eo":
35618
- return t.ordinalNumber(c, { unit: "day" });
35618
+ return t.ordinalNumber(s, { unit: "day" });
35619
35619
  case "eee":
35620
35620
  return t.day(o, {
35621
35621
  width: "abbreviated",
@@ -35641,14 +35641,14 @@ const Le = {
35641
35641
  },
35642
35642
  // Stand-alone local day of week
35643
35643
  c: function(e, a, t, n) {
35644
- const o = e.getDay(), c = (o - n.weekStartsOn + 8) % 7 || 7;
35644
+ const o = e.getDay(), s = (o - n.weekStartsOn + 8) % 7 || 7;
35645
35645
  switch (a) {
35646
35646
  case "c":
35647
- return String(c);
35647
+ return String(s);
35648
35648
  case "cc":
35649
- return V(c, a.length);
35649
+ return V(s, a.length);
35650
35650
  case "co":
35651
- return t.ordinalNumber(c, { unit: "day" });
35651
+ return t.ordinalNumber(s, { unit: "day" });
35652
35652
  case "ccc":
35653
35653
  return t.day(o, {
35654
35654
  width: "abbreviated",
@@ -35891,15 +35891,15 @@ const Le = {
35891
35891
  }
35892
35892
  };
35893
35893
  function Ln(e, a = "") {
35894
- const t = e > 0 ? "-" : "+", n = Math.abs(e), o = Math.trunc(n / 60), c = n % 60;
35895
- return c === 0 ? t + String(o) : t + String(o) + a + V(c, 2);
35894
+ const t = e > 0 ? "-" : "+", n = Math.abs(e), o = Math.trunc(n / 60), s = n % 60;
35895
+ return s === 0 ? t + String(o) : t + String(o) + a + V(s, 2);
35896
35896
  }
35897
35897
  function Hn(e, a) {
35898
35898
  return e % 60 === 0 ? (e > 0 ? "-" : "+") + V(Math.abs(e) / 60, 2) : Ze(e, a);
35899
35899
  }
35900
35900
  function Ze(e, a = "") {
35901
- const t = e > 0 ? "-" : "+", n = Math.abs(e), o = V(Math.trunc(n / 60), 2), c = V(n % 60, 2);
35902
- return t + o + a + c;
35901
+ const t = e > 0 ? "-" : "+", n = Math.abs(e), o = V(Math.trunc(n / 60), 2), s = V(n % 60, 2);
35902
+ return t + o + a + s;
35903
35903
  }
35904
35904
  const Fn = (e, a) => {
35905
35905
  switch (e) {
@@ -35929,23 +35929,23 @@ const Fn = (e, a) => {
35929
35929
  const t = e.match(/(P+)(p+)?/) || [], n = t[1], o = t[2];
35930
35930
  if (!o)
35931
35931
  return Fn(e, a);
35932
- let c;
35932
+ let s;
35933
35933
  switch (n) {
35934
35934
  case "P":
35935
- c = a.dateTime({ width: "short" });
35935
+ s = a.dateTime({ width: "short" });
35936
35936
  break;
35937
35937
  case "PP":
35938
- c = a.dateTime({ width: "medium" });
35938
+ s = a.dateTime({ width: "medium" });
35939
35939
  break;
35940
35940
  case "PPP":
35941
- c = a.dateTime({ width: "long" });
35941
+ s = a.dateTime({ width: "long" });
35942
35942
  break;
35943
35943
  case "PPPP":
35944
35944
  default:
35945
- c = a.dateTime({ width: "full" });
35945
+ s = a.dateTime({ width: "full" });
35946
35946
  break;
35947
35947
  }
35948
- return c.replace("{{date}}", Fn(n, a)).replace("{{time}}", Go(o, a));
35948
+ return s.replace("{{date}}", Fn(n, a)).replace("{{time}}", Go(o, a));
35949
35949
  }, S5 = {
35950
35950
  p: Go,
35951
35951
  P: D5
@@ -35966,40 +35966,40 @@ function L5(e, a, t) {
35966
35966
  }
35967
35967
  const H5 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, F5 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, I5 = /^'([^]*?)'?$/, R5 = /''/g, O5 = /[a-zA-Z]/;
35968
35968
  function In(e, a, t) {
35969
- var b, v, y, S, N, z, W, A;
35970
- const n = Pt(), o = (t == null ? void 0 : t.locale) ?? n.locale ?? ka, c = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((v = (b = t == null ? void 0 : t.locale) == null ? void 0 : b.options) == null ? void 0 : v.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((S = (y = n.locale) == null ? void 0 : y.options) == null ? void 0 : S.firstWeekContainsDate) ?? 1, u = (t == null ? void 0 : t.weekStartsOn) ?? ((z = (N = t == null ? void 0 : t.locale) == null ? void 0 : N.options) == null ? void 0 : z.weekStartsOn) ?? n.weekStartsOn ?? ((A = (W = n.locale) == null ? void 0 : W.options) == null ? void 0 : A.weekStartsOn) ?? 0, m = K(e);
35969
+ var b, v, y, x, W, z, D, A;
35970
+ const n = Pt(), o = (t == null ? void 0 : t.locale) ?? n.locale ?? ka, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((v = (b = t == null ? void 0 : t.locale) == null ? void 0 : b.options) == null ? void 0 : v.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((x = (y = n.locale) == null ? void 0 : y.options) == null ? void 0 : x.firstWeekContainsDate) ?? 1, u = (t == null ? void 0 : t.weekStartsOn) ?? ((z = (W = t == null ? void 0 : t.locale) == null ? void 0 : W.options) == null ? void 0 : z.weekStartsOn) ?? n.weekStartsOn ?? ((A = (D = n.locale) == null ? void 0 : D.options) == null ? void 0 : A.weekStartsOn) ?? 0, m = K(e);
35971
35971
  if (!w5(m))
35972
35972
  throw new RangeError("Invalid time value");
35973
- let p = a.match(F5).map((x) => {
35974
- const P = x[0];
35973
+ let p = a.match(F5).map((S) => {
35974
+ const P = S[0];
35975
35975
  if (P === "p" || P === "P") {
35976
35976
  const E = S5[P];
35977
- return E(x, o.formatLong);
35977
+ return E(S, o.formatLong);
35978
35978
  }
35979
- return x;
35980
- }).join("").match(H5).map((x) => {
35981
- if (x === "''")
35979
+ return S;
35980
+ }).join("").match(H5).map((S) => {
35981
+ if (S === "''")
35982
35982
  return { isToken: !1, value: "'" };
35983
- const P = x[0];
35983
+ const P = S[0];
35984
35984
  if (P === "'")
35985
- return { isToken: !1, value: q5(x) };
35985
+ return { isToken: !1, value: q5(S) };
35986
35986
  if (Vn[P])
35987
- return { isToken: !0, value: x };
35987
+ return { isToken: !0, value: S };
35988
35988
  if (P.match(O5))
35989
35989
  throw new RangeError(
35990
35990
  "Format string contains an unescaped latin alphabet character `" + P + "`"
35991
35991
  );
35992
- return { isToken: !1, value: x };
35992
+ return { isToken: !1, value: S };
35993
35993
  });
35994
35994
  o.localize.preprocessor && (p = o.localize.preprocessor(m, p));
35995
35995
  const h = {
35996
- firstWeekContainsDate: c,
35996
+ firstWeekContainsDate: s,
35997
35997
  weekStartsOn: u,
35998
35998
  locale: o
35999
35999
  };
36000
- return p.map((x) => {
36001
- if (!x.isToken) return x.value;
36002
- const P = x.value;
36000
+ return p.map((S) => {
36001
+ if (!S.isToken) return S.value;
36002
+ const P = S.value;
36003
36003
  (!(t != null && t.useAdditionalWeekYearTokens) && E5(P) || !(t != null && t.useAdditionalDayOfYearTokens) && C5(P)) && V5(P, a, String(e));
36004
36004
  const E = Vn[P[0]];
36005
36005
  return E(m, P, o.localize, h);
@@ -36019,10 +36019,10 @@ const X5 = [
36019
36019
  "seconds"
36020
36020
  ];
36021
36021
  function B5(e, a) {
36022
- const t = Pt(), n = (a == null ? void 0 : a.locale) ?? t.locale ?? ka, o = (a == null ? void 0 : a.format) ?? X5, c = (a == null ? void 0 : a.zero) ?? !1, u = (a == null ? void 0 : a.delimiter) ?? " ";
36022
+ const t = Pt(), n = (a == null ? void 0 : a.locale) ?? t.locale ?? ka, o = (a == null ? void 0 : a.format) ?? X5, s = (a == null ? void 0 : a.zero) ?? !1, u = (a == null ? void 0 : a.delimiter) ?? " ";
36023
36023
  return n.formatDistance ? o.reduce((p, h) => {
36024
36024
  const b = `x${h.replace(/(^.)/, (y) => y.toUpperCase())}`, v = e[h];
36025
- return v !== void 0 && (c || e[h]) ? p.concat(n.formatDistance(b, v)) : p;
36025
+ return v !== void 0 && (s || e[h]) ? p.concat(n.formatDistance(b, v)) : p;
36026
36026
  }, []).join(u) : "";
36027
36027
  }
36028
36028
  function sa(e, a) {
@@ -36034,7 +36034,7 @@ function sa(e, a) {
36034
36034
  }
36035
36035
  if (!o || isNaN(o.getTime()))
36036
36036
  return /* @__PURE__ */ new Date(NaN);
36037
- const c = o.getTime();
36037
+ const s = o.getTime();
36038
36038
  let u = 0, m;
36039
36039
  if (n.time && (u = U5(n.time), isNaN(u)))
36040
36040
  return /* @__PURE__ */ new Date(NaN);
@@ -36042,7 +36042,7 @@ function sa(e, a) {
36042
36042
  if (m = eK(n.timezone), isNaN(m))
36043
36043
  return /* @__PURE__ */ new Date(NaN);
36044
36044
  } else {
36045
- const p = new Date(c + u), h = /* @__PURE__ */ new Date(0);
36045
+ const p = new Date(s + u), h = /* @__PURE__ */ new Date(0);
36046
36046
  return h.setFullYear(
36047
36047
  p.getUTCFullYear(),
36048
36048
  p.getUTCMonth(),
@@ -36054,7 +36054,7 @@ function sa(e, a) {
36054
36054
  p.getUTCMilliseconds()
36055
36055
  ), h;
36056
36056
  }
36057
- return new Date(c + u + m);
36057
+ return new Date(s + u + m);
36058
36058
  }
36059
36059
  const Tt = {
36060
36060
  dateTimeDelimiter: /[T ]/,
@@ -36080,9 +36080,9 @@ function Q5(e, a) {
36080
36080
  "^(?:(\\d{4}|[+-]\\d{" + (4 + a) + "})|(\\d{2}|[+-]\\d{" + (2 + a) + "})$)"
36081
36081
  ), n = e.match(t);
36082
36082
  if (!n) return { year: NaN, restDateString: "" };
36083
- const o = n[1] ? parseInt(n[1]) : null, c = n[2] ? parseInt(n[2]) : null;
36083
+ const o = n[1] ? parseInt(n[1]) : null, s = n[2] ? parseInt(n[2]) : null;
36084
36084
  return {
36085
- year: c === null ? o : c * 100,
36085
+ year: s === null ? o : s * 100,
36086
36086
  restDateString: e.slice((n[1] || n[2]).length)
36087
36087
  };
36088
36088
  }
@@ -36090,12 +36090,12 @@ function J5(e, a) {
36090
36090
  if (a === null) return /* @__PURE__ */ new Date(NaN);
36091
36091
  const t = e.match(G5);
36092
36092
  if (!t) return /* @__PURE__ */ new Date(NaN);
36093
- const n = !!t[4], o = vt(t[1]), c = vt(t[2]) - 1, u = vt(t[3]), m = vt(t[4]), p = vt(t[5]) - 1;
36093
+ const n = !!t[4], o = vt(t[1]), s = vt(t[2]) - 1, u = vt(t[3]), m = vt(t[4]), p = vt(t[5]) - 1;
36094
36094
  if (n)
36095
36095
  return iK(a, m, p) ? tK(a, m, p) : /* @__PURE__ */ new Date(NaN);
36096
36096
  {
36097
36097
  const h = /* @__PURE__ */ new Date(0);
36098
- return !nK(a, c, u) || !oK(a, o) ? /* @__PURE__ */ new Date(NaN) : (h.setUTCFullYear(a, c, Math.max(o, u)), h);
36098
+ return !nK(a, s, u) || !oK(a, o) ? /* @__PURE__ */ new Date(NaN) : (h.setUTCFullYear(a, s, Math.max(o, u)), h);
36099
36099
  }
36100
36100
  }
36101
36101
  function vt(e) {
@@ -36120,8 +36120,8 @@ function eK(e) {
36120
36120
  function tK(e, a, t) {
36121
36121
  const n = /* @__PURE__ */ new Date(0);
36122
36122
  n.setUTCFullYear(e, 0, 4);
36123
- const o = n.getUTCDay() || 7, c = (a - 1) * 7 + t + 1 - o;
36124
- return n.setUTCDate(n.getUTCDate() + c), n;
36123
+ const o = n.getUTCDay() || 7, s = (a - 1) * 7 + t + 1 - o;
36124
+ return n.setUTCDate(n.getUTCDate() + s), n;
36125
36125
  }
36126
36126
  const aK = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
36127
36127
  function Yo(e) {
@@ -36180,10 +36180,10 @@ async function uK(e, a) {
36180
36180
  const Gt = () => H({
36181
36181
  queryKey: ["dbaas-logs"],
36182
36182
  queryFn: cK
36183
- }), Oxe = (e, a) => H({
36183
+ }), Rxe = (e, a) => H({
36184
36184
  queryKey: ["dbaas-logs-stream", e, a],
36185
36185
  queryFn: () => Zo(e, a)
36186
- }), qxe = (e, a, t) => H({
36186
+ }), Oxe = (e, a, t) => H({
36187
36187
  queryKey: [
36188
36188
  "dbaas-logs-streams",
36189
36189
  e,
@@ -36209,7 +36209,7 @@ const Gt = () => H({
36209
36209
  return o;
36210
36210
  if (o.state === "ERROR")
36211
36211
  throw new Error(o.state);
36212
- return await new Promise((c) => setTimeout(c, t)), n();
36212
+ return await new Promise((s) => setTimeout(s, t)), n();
36213
36213
  };
36214
36214
  return n();
36215
36215
  }, _K = ({
@@ -36218,7 +36218,7 @@ const Gt = () => H({
36218
36218
  onError: t,
36219
36219
  onSuccess: n
36220
36220
  }) => {
36221
- const o = Rt(), c = ha({
36221
+ const o = Rt(), s = ha({
36222
36222
  mutationFn: async () => {
36223
36223
  const { data: u } = await F.delete(
36224
36224
  `${e}/subscription/${a}`
@@ -36235,8 +36235,8 @@ const Gt = () => H({
36235
36235
  }
36236
36236
  });
36237
36237
  return {
36238
- remove: () => c.mutate(),
36239
- ...c
36238
+ remove: () => s.mutate(),
36239
+ ...s
36240
36240
  };
36241
36241
  }, pK = (e, a) => H({
36242
36242
  queryKey: ["dbaas-logs-subscriptions", e, a],
@@ -36250,7 +36250,7 @@ const Gt = () => H({
36250
36250
  }), hK = (e, a) => {
36251
36251
  const { data: t, isPending: n } = Gt(), {
36252
36252
  data: o,
36253
- isPending: c
36253
+ isPending: s
36254
36254
  } = pK(e, a);
36255
36255
  return lo({
36256
36256
  queries: (o == null ? void 0 : o.map(({ serviceName: u, streamId: m }) => ({
@@ -36284,7 +36284,7 @@ const Gt = () => H({
36284
36284
  }
36285
36285
  )
36286
36286
  })),
36287
- isPending: u.some(({ isPending: m }) => m) || n || c
36287
+ isPending: u.some(({ isPending: m }) => m) || n || s
36288
36288
  })
36289
36289
  });
36290
36290
  }, fK = {
@@ -36298,42 +36298,42 @@ const Gt = () => H({
36298
36298
  7: "DEBUG"
36299
36299
  };
36300
36300
  function gK(e, a, t) {
36301
- const { i18n: n } = L(), o = Ke({ ...Ro }).current, c = Po(n.language), u = Rt(), [m, p] = re(!1), [h, b] = re([]), v = Ke(/* @__PURE__ */ new Set()), { data: y, isFetching: S, isError: N } = H({
36301
+ const { i18n: n } = L(), o = Ke({ ...Ro }).current, s = Po(n.language), u = Rt(), [m, p] = re(!1), [h, b] = re([]), v = Ke(/* @__PURE__ */ new Set()), { data: y, isFetching: x, isError: W } = H({
36302
36302
  queryKey: ["logs-url", e, a],
36303
36303
  queryFn: async () => {
36304
- const { data: W } = await F.post(`${e}/url`, {
36304
+ const { data: D } = await F.post(`${e}/url`, {
36305
36305
  kind: a
36306
36306
  });
36307
- return W;
36307
+ return D;
36308
36308
  },
36309
- select: (W) => ({
36310
- ...W,
36311
- expirationDate: sa(W.expirationDate)
36309
+ select: (D) => ({
36310
+ ...D,
36311
+ expirationDate: sa(D.expirationDate)
36312
36312
  }),
36313
36313
  enabled: m
36314
36314
  });
36315
36315
  pe(() => {
36316
- (!y || k5(y.expirationDate, Date.now()) <= 3) && !S && u.invalidateQueries({
36316
+ (!y || k5(y.expirationDate, Date.now()) <= 3) && !x && u.invalidateQueries({
36317
36317
  queryKey: ["logs-url", e, a]
36318
36318
  });
36319
36319
  }, [y]);
36320
36320
  const { data: z } = H({
36321
36321
  queryKey: ["logs-data"],
36322
36322
  queryFn: () => fetch(`${y == null ? void 0 : y.url}&sort=asc&limit=20`).then(
36323
- (W) => W.json()
36323
+ (D) => D.json()
36324
36324
  ),
36325
- select: ({ messages: W }) => W == null ? void 0 : W.map(({ message: A }) => A),
36325
+ select: ({ messages: D }) => D == null ? void 0 : D.map(({ message: A }) => A),
36326
36326
  enabled: !!(y != null && y.url) && m,
36327
36327
  refetchInterval: 2e3
36328
36328
  });
36329
36329
  return pe(() => {
36330
- const W = (z == null ? void 0 : z.filter(({ _id: x }) => !v.current.has(x))) || [], A = W.map(({ _id: x, ...P }) => ({
36331
- _id: x,
36330
+ const D = (z == null ? void 0 : z.filter(({ _id: S }) => !v.current.has(S))) || [], A = D.map(({ _id: S, ...P }) => ({
36331
+ _id: S,
36332
36332
  date: In(sa(P.timestamp), "P", {
36333
- locale: o[c]
36333
+ locale: o[s]
36334
36334
  }),
36335
36335
  time: In(sa(P.timestamp), "pp", {
36336
- locale: o[c]
36336
+ locale: o[s]
36337
36337
  }),
36338
36338
  level: fK[P.level],
36339
36339
  ...t.reduce(
@@ -36341,9 +36341,9 @@ function gK(e, a, t) {
36341
36341
  {}
36342
36342
  )
36343
36343
  }));
36344
- b((x) => [...x, ...A]), W.forEach(({ _id: x }) => v.current.add(x));
36344
+ b((S) => [...S, ...A]), D.forEach(({ _id: S }) => v.current.add(S));
36345
36345
  }, [z]), {
36346
- isError: N,
36346
+ isError: W,
36347
36347
  isPolling: m,
36348
36348
  setIsPolling: p,
36349
36349
  clearLogs: () => {
@@ -36352,12 +36352,12 @@ function gK(e, a, t) {
36352
36352
  messages: h
36353
36353
  };
36354
36354
  }
36355
- const Xxe = (e, a, t) => {
36355
+ const qxe = (e, a, t) => {
36356
36356
  const [n, o] = re({
36357
36357
  percentage: 0,
36358
36358
  status: Ne.Unknown
36359
- }), c = Ke(t), u = (h) => {
36360
- c.current && (c.current(h), c.current = null);
36359
+ }), s = Ke(t), u = (h) => {
36360
+ s.current && (s.current(h), s.current = null);
36361
36361
  }, { data: m, error: p } = H({
36362
36362
  queryKey: ["pci-operation-progress", e, a],
36363
36363
  queryFn: () => ls(e, a),
@@ -36425,12 +36425,12 @@ const vK = () => {
36425
36425
  }, kK = (e) => ({
36426
36426
  queryKey: ["project", e, "regions"],
36427
36427
  queryFn: () => ya(e)
36428
- }), Bxe = (e) => H({
36428
+ }), Xxe = (e) => H({
36429
36429
  ...kK(e)
36430
- }), Gxe = (e) => H({
36430
+ }), Bxe = (e) => H({
36431
36431
  queryKey: ["project", e, "images"],
36432
36432
  queryFn: () => _s(e)
36433
- }), Yxe = (e) => H({
36433
+ }), Gxe = (e) => H({
36434
36434
  queryKey: ["project", e, "volumes"],
36435
36435
  queryFn: () => ps(e)
36436
36436
  });
@@ -36443,56 +36443,56 @@ function ei(e) {
36443
36443
  } else for (t in e) e[t] && (n && (n += " "), n += t);
36444
36444
  return n;
36445
36445
  }
36446
- function B() {
36446
+ function X() {
36447
36447
  for (var e, a, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (a = ei(e)) && (n && (n += " "), n += a);
36448
36448
  return n;
36449
36449
  }
36450
- const Zxe = ({
36450
+ const Yxe = ({
36451
36451
  children: e,
36452
36452
  className: a,
36453
36453
  ...t
36454
- }) => /* @__PURE__ */ s(
36454
+ }) => /* @__PURE__ */ c(
36455
36455
  "div",
36456
36456
  {
36457
- className: B(
36457
+ className: X(
36458
36458
  "box-border border-solid rounded-lg border-[.125rem] border-[--ods-color-blue-100] w-full p-[16px] flex flex-col gap-4",
36459
36459
  a
36460
36460
  ),
36461
36461
  ...t,
36462
36462
  children: e
36463
36463
  }
36464
- ), Kxe = ({
36464
+ ), Zxe = ({
36465
36465
  children: e,
36466
36466
  className: a,
36467
36467
  ...t
36468
- }) => /* @__PURE__ */ s(
36468
+ }) => /* @__PURE__ */ c(
36469
36469
  "div",
36470
36470
  {
36471
- className: B("flex flex-col w-full items-center gap-4", a),
36471
+ className: X("flex flex-col w-full items-center gap-4", a),
36472
36472
  ...t,
36473
36473
  children: e
36474
36474
  }
36475
- ), Qxe = ({
36475
+ ), Kxe = ({
36476
36476
  children: e,
36477
36477
  ...a
36478
- }) => /* @__PURE__ */ s("div", { ...a, children: e }), Jxe = ({
36478
+ }) => /* @__PURE__ */ c("div", { ...a, children: e }), Qxe = ({
36479
36479
  children: e,
36480
36480
  className: a,
36481
36481
  ...t
36482
- }) => /* @__PURE__ */ s(
36482
+ }) => /* @__PURE__ */ c(
36483
36483
  T,
36484
36484
  {
36485
36485
  color: w.text,
36486
36486
  level: O.body,
36487
36487
  size: Q._400,
36488
- className: B("leading-8", a),
36488
+ className: X("leading-8", a),
36489
36489
  ...t,
36490
36490
  children: e
36491
36491
  }
36492
- ), Uxe = ({
36492
+ ), Jxe = ({
36493
36493
  children: e,
36494
36494
  ...a
36495
- }) => /* @__PURE__ */ s(
36495
+ }) => /* @__PURE__ */ c(
36496
36496
  T,
36497
36497
  {
36498
36498
  color: w.text,
@@ -36507,7 +36507,7 @@ const Zxe = ({
36507
36507
  isOpen: t = !1,
36508
36508
  onToggle: n,
36509
36509
  className: o = "",
36510
- ...c
36510
+ ...s
36511
36511
  }) => {
36512
36512
  const [u, m] = re({ isOpen: t });
36513
36513
  pe(() => {
@@ -36520,15 +36520,15 @@ const Zxe = ({
36520
36520
  "section",
36521
36521
  {
36522
36522
  className: `px-2 bg-[#F5FEFF] border border-solid border-[#bef1ff] rounded-lg ${o}`.trim(),
36523
- ...c,
36523
+ ...s,
36524
36524
  children: [
36525
- /* @__PURE__ */ s("div", { children: /* @__PURE__ */ k(
36525
+ /* @__PURE__ */ c("div", { children: /* @__PURE__ */ k(
36526
36526
  "button",
36527
36527
  {
36528
36528
  className: "flex cursor-pointer px-2 w-full border-0 bg-transparent items-stretch",
36529
36529
  onClick: () => p(),
36530
36530
  children: [
36531
- /* @__PURE__ */ s("div", { className: "w-full text-left", children: /* @__PURE__ */ s(
36531
+ /* @__PURE__ */ c("div", { className: "w-full text-left", children: /* @__PURE__ */ c(
36532
36532
  T,
36533
36533
  {
36534
36534
  size: q._400,
@@ -36537,7 +36537,7 @@ const Zxe = ({
36537
36537
  children: e
36538
36538
  }
36539
36539
  ) }),
36540
- /* @__PURE__ */ s("div", { className: "w-fit flex items-center", children: /* @__PURE__ */ s(
36540
+ /* @__PURE__ */ c("div", { className: "w-fit flex items-center", children: /* @__PURE__ */ c(
36541
36541
  ge,
36542
36542
  {
36543
36543
  name: u.isOpen ? be.CHEVRON_UP : be.CHEVRON_DOWN,
@@ -36548,7 +36548,7 @@ const Zxe = ({
36548
36548
  ]
36549
36549
  }
36550
36550
  ) }),
36551
- u.isOpen && /* @__PURE__ */ s("div", { children: a })
36551
+ u.isOpen && /* @__PURE__ */ c("div", { children: a })
36552
36552
  ]
36553
36553
  }
36554
36554
  );
@@ -36582,7 +36582,7 @@ function Rn() {
36582
36582
  }
36583
36583
  f.isInitialized ? Rn() : f.on("initialized", Rn);
36584
36584
  const KK = "project.discovery", QK = (e) => (e == null ? void 0 : e.planCode) === KK;
36585
- function eDe({
36585
+ function Uxe({
36586
36586
  project: e,
36587
36587
  className: a
36588
36588
  }) {
@@ -36593,7 +36593,7 @@ function eDe({
36593
36593
  {}
36594
36594
  );
36595
36595
  };
36596
- return /* @__PURE__ */ s(oe, { children: QK(e) && /* @__PURE__ */ s(
36596
+ return /* @__PURE__ */ c(oe, { children: QK(e) && /* @__PURE__ */ c(
36597
36597
  ga,
36598
36598
  {
36599
36599
  message: t("pci_projects_project_activate_project_banner_message"),
@@ -36644,13 +36644,13 @@ function On() {
36644
36644
  f.addResources("de_DE", "pci-announcement-banner", a7), f.addResources("en_GB", "pci-announcement-banner", i7), f.addResources("es_ES", "pci-announcement-banner", c7), f.addResources("fr_CA", "pci-announcement-banner", u7), f.addResources("fr_FR", "pci-announcement-banner", p7), f.addResources("it_IT", "pci-announcement-banner", g7), f.addResources("pl_PL", "pci-announcement-banner", y7), f.addResources("pt_PT", "pci-announcement-banner", P7);
36645
36645
  }
36646
36646
  f.isInitialized ? On() : f.on("initialized", On);
36647
- function tDe({
36647
+ function eDe({
36648
36648
  projectId: e
36649
36649
  }) {
36650
36650
  const { t: a } = L("pci-announcement-banner"), { navigateTo: t } = fo(), { isBannerVisible: n } = UK(), o = async () => {
36651
36651
  await t("public-cloud", `#/pci/projects/${e}/regions`, {});
36652
36652
  };
36653
- return /* @__PURE__ */ s(oe, { children: n && /* @__PURE__ */ s(
36653
+ return /* @__PURE__ */ c(oe, { children: n && /* @__PURE__ */ c(
36654
36654
  ga,
36655
36655
  {
36656
36656
  message: a("pci_projects_beta_public_cloud_banner_info"),
@@ -36720,12 +36720,12 @@ const Xn = {
36720
36720
  WS: "https://www.ovhcloud.com/es/about-us/global-infrastructure/local-zone/",
36721
36721
  US: "https://us.ovhcloud.com/public-cloud/local-zone/"
36722
36722
  };
36723
- function aDe({
36723
+ function tDe({
36724
36724
  ovhSubsidiary: e,
36725
36725
  showConfirm: a
36726
36726
  }) {
36727
36727
  const { t } = L("pci-free-local-zones-banner");
36728
- return /* @__PURE__ */ s(
36728
+ return /* @__PURE__ */ c(
36729
36729
  ga,
36730
36730
  {
36731
36731
  message: t(
@@ -36768,9 +36768,9 @@ function Bn() {
36768
36768
  f.addResources("de_DE", "pci-trusted-zone-banner", iQ), f.addResources("en_GB", "pci-trusted-zone-banner", sQ), f.addResources("es_ES", "pci-trusted-zone-banner", dQ), f.addResources("fr_CA", "pci-trusted-zone-banner", uQ), f.addResources("fr_FR", "pci-trusted-zone-banner", _Q), f.addResources("it_IT", "pci-trusted-zone-banner", hQ), f.addResources("pl_PL", "pci-trusted-zone-banner", gQ), f.addResources("pt_PT", "pci-trusted-zone-banner", vQ);
36769
36769
  }
36770
36770
  f.isInitialized ? Bn() : f.on("initialized", Bn);
36771
- function nDe() {
36771
+ function aDe() {
36772
36772
  const { t: e } = L("pci-trusted-zone-banner"), { isBannerVisible: a } = nQ();
36773
- return /* @__PURE__ */ s(oe, { children: a && /* @__PURE__ */ s(Br, { type: yo.info, children: /* @__PURE__ */ s(
36773
+ return /* @__PURE__ */ c(oe, { children: a && /* @__PURE__ */ c(Br, { type: yo.info, children: /* @__PURE__ */ c(
36774
36774
  T,
36775
36775
  {
36776
36776
  level: ve.body,
@@ -36780,7 +36780,7 @@ function nDe() {
36780
36780
  }
36781
36781
  ) }) });
36782
36782
  }
36783
- const oDe = (e) => H({
36783
+ const nDe = (e) => H({
36784
36784
  queryKey: ["project", e, "regions"],
36785
36785
  queryFn: () => ya(e)
36786
36786
  }), yQ = (e) => {
@@ -36792,8 +36792,8 @@ const oDe = (e) => H({
36792
36792
  return H({
36793
36793
  queryKey: ["project", e, "localisation"],
36794
36794
  queryFn: () => ya(e),
36795
- select: (c) => {
36796
- const u = c.map((h) => {
36795
+ select: (s) => {
36796
+ const u = s.map((h) => {
36797
36797
  const b = Tr(h.name);
36798
36798
  return {
36799
36799
  ...h,
@@ -36807,8 +36807,8 @@ const oDe = (e) => H({
36807
36807
  }).sort(({ name: h }, { name: b }) => {
36808
36808
  const v = h.replace(/[\d]+/, ""), y = b.replace(/[\d]+/, "");
36809
36809
  if (v === y) {
36810
- const S = parseInt(h.replace(/[^\d]+/, ""), 10) || 0, N = parseInt(b.replace(/[^\d]+/, ""), 10) || 0;
36811
- return S - N;
36810
+ const x = parseInt(h.replace(/[^\d]+/, ""), 10) || 0, W = parseInt(b.replace(/[^\d]+/, ""), 10) || 0;
36811
+ return x - W;
36812
36812
  }
36813
36813
  return v.localeCompare(y);
36814
36814
  }), m = {
@@ -36837,38 +36837,38 @@ function wQ({
36837
36837
  onSelectRegion: a,
36838
36838
  regionFilter: t
36839
36839
  }) {
36840
- const [n, o] = re(null), [c, u] = re(null), [m, p] = re(null), h = yQ(e), { continents: b, regions: v } = h.data || {}, y = v == null ? void 0 : v.filter(
36840
+ const [n, o] = re(null), [s, u] = re(null), [m, p] = re(null), h = yQ(e), { continents: b, regions: v } = h.data || {}, y = v == null ? void 0 : v.filter(
36841
36841
  (P) => t ? t(P) : !0
36842
- ), S = b == null ? void 0 : b.filter(
36842
+ ), x = b == null ? void 0 : b.filter(
36843
36843
  (P) => P.id === "WORLD" || y.some(({ continentLabel: E }) => E === P.name)
36844
- ), N = Z(
36844
+ ), W = Z(
36845
36845
  () => ((n == null ? void 0 : n.id) === "WORLD" ? y : y == null ? void 0 : y.filter(
36846
36846
  ({ continentLabel: P }) => P === (n == null ? void 0 : n.name)
36847
36847
  )) || [],
36848
36848
  [n, y]
36849
36849
  ), z = Z(
36850
- () => N.filter((P) => {
36851
- const E = N.filter(
36852
- ({ macro: M, isMacro: D }) => M === P.macro && D === !1
36850
+ () => W.filter((P) => {
36851
+ const E = W.filter(
36852
+ ({ macro: M, isMacro: N }) => M === P.macro && N === !1
36853
36853
  );
36854
36854
  return P.isMacro ? E.length > 1 : E.length === 1;
36855
36855
  }),
36856
- [N]
36857
- ), W = Z(
36858
- () => z.indexOf(c) >= 0 && N.filter(
36859
- (P) => P.macro === c.macro && P.isMacro === !1 && P !== c
36856
+ [W]
36857
+ ), D = Z(
36858
+ () => z.indexOf(s) >= 0 && W.filter(
36859
+ (P) => P.macro === s.macro && P.isMacro === !1 && P !== s
36860
36860
  ) || [],
36861
- [z, c]
36861
+ [z, s]
36862
36862
  );
36863
36863
  return {
36864
36864
  ...h,
36865
36865
  regions: y,
36866
- continents: S,
36866
+ continents: x,
36867
36867
  macroRegions: z,
36868
- microRegions: W,
36868
+ microRegions: D,
36869
36869
  selectContinent: o,
36870
36870
  selectMacroRegion: (P) => {
36871
- const E = N.filter(
36871
+ const E = W.filter(
36872
36872
  (M) => M.macro === P.macro && M.isMacro === !1 && M !== P
36873
36873
  );
36874
36874
  u(P), p(null), a(E.length === 0 ? P : null);
@@ -36876,7 +36876,7 @@ function wQ({
36876
36876
  selectMicroRegion: (P) => {
36877
36877
  p(P), a(P);
36878
36878
  },
36879
- selectedMacroRegion: c,
36879
+ selectedMacroRegion: s,
36880
36880
  selectedMicroRegion: m
36881
36881
  };
36882
36882
  }
@@ -36964,8 +36964,8 @@ function Va({
36964
36964
  ...n
36965
36965
  }) {
36966
36966
  return /* @__PURE__ */ k(qt, { class: t, size: va.sm, inline: !0, ...n, children: [
36967
- /* @__PURE__ */ s(T, { level: ve.body, size: q._500, children: a }),
36968
- e && /* @__PURE__ */ s(
36967
+ /* @__PURE__ */ c(T, { level: ve.body, size: q._500, children: a }),
36968
+ e && /* @__PURE__ */ c(
36969
36969
  ge,
36970
36970
  {
36971
36971
  name: be.HELP,
@@ -36983,9 +36983,9 @@ function La({
36983
36983
  }) {
36984
36984
  const { t: n } = L("pci-region-selector");
36985
36985
  return /* @__PURE__ */ k(Xt, { children: [
36986
- /* @__PURE__ */ s("span", { slot: "popover-trigger", children: e }),
36986
+ /* @__PURE__ */ c("span", { slot: "popover-trigger", children: e }),
36987
36987
  /* @__PURE__ */ k(Bt, { children: [
36988
- /* @__PURE__ */ s(
36988
+ /* @__PURE__ */ c(
36989
36989
  T,
36990
36990
  {
36991
36991
  color: w.text,
@@ -36994,7 +36994,7 @@ function La({
36994
36994
  }
36995
36995
  ),
36996
36996
  " ",
36997
- /* @__PURE__ */ s(
36997
+ /* @__PURE__ */ c(
36998
36998
  uo,
36999
36999
  {
37000
37000
  "tab-index": "-1",
@@ -37010,7 +37010,7 @@ function La({
37010
37010
  function kQ({
37011
37011
  showTooltip: e = !0
37012
37012
  }) {
37013
- const { t: a } = L("pci-region-selector"), t = ti(), n = J(Me), { ovhSubsidiary: o } = n.environment.getUser(), c = st.LOCAL_ZONE[o] || st.LOCAL_ZONE.DEFAULT, u = /* @__PURE__ */ s(
37013
+ const { t: a } = L("pci-region-selector"), t = ti(), n = J(Me), { ovhSubsidiary: o } = n.environment.getUser(), s = st.LOCAL_ZONE[o] || st.LOCAL_ZONE.DEFAULT, u = /* @__PURE__ */ c(
37014
37014
  Va,
37015
37015
  {
37016
37016
  title: a("pci_project_flavors_zone_localzone"),
@@ -37019,13 +37019,13 @@ function kQ({
37019
37019
  onClick: e ? (m) => m.stopPropagation() : void 0
37020
37020
  }
37021
37021
  );
37022
- return e ? /* @__PURE__ */ s(
37022
+ return e ? /* @__PURE__ */ c(
37023
37023
  La,
37024
37024
  {
37025
37025
  tooltip: a(
37026
37026
  `pci_project_flavors_zone_localzone${t ? "_1AZ" : ""}_tooltip`
37027
37027
  ),
37028
- tooltipUrl: c,
37028
+ tooltipUrl: s,
37029
37029
  children: u
37030
37030
  }
37031
37031
  ) : u;
@@ -37040,7 +37040,7 @@ const zQ = () => {
37040
37040
  function jQ({
37041
37041
  showTooltip: e = !0
37042
37042
  }) {
37043
- const { t: a } = L("pci-region-selector"), t = ti(), n = J(Me), { ovhSubsidiary: o } = n.environment.getUser(), c = t ? "1AZ_REGIONS" : "GLOBAL_REGIONS", u = st[c][o] || st[c].DEFAULT, m = zQ(), p = /* @__PURE__ */ s(
37043
+ const { t: a } = L("pci-region-selector"), t = ti(), n = J(Me), { ovhSubsidiary: o } = n.environment.getUser(), s = t ? "1AZ_REGIONS" : "GLOBAL_REGIONS", u = st[s][o] || st[s].DEFAULT, m = zQ(), p = /* @__PURE__ */ c(
37044
37044
  Va,
37045
37045
  {
37046
37046
  showTooltipIcon: e,
@@ -37049,7 +37049,7 @@ function jQ({
37049
37049
  onClick: e ? (h) => h.stopPropagation() : void 0
37050
37050
  }
37051
37051
  );
37052
- return e ? /* @__PURE__ */ s(
37052
+ return e ? /* @__PURE__ */ c(
37053
37053
  La,
37054
37054
  {
37055
37055
  tooltipUrl: u,
@@ -37061,7 +37061,7 @@ function jQ({
37061
37061
  function WQ({
37062
37062
  showTooltip: e = !0
37063
37063
  }) {
37064
- const { t: a } = L("pci-region-selector"), t = J(Me), { ovhSubsidiary: n } = t.environment.getUser(), o = st.REGION_3AZ[n] || st.REGION_3AZ.DEFAULT, c = /* @__PURE__ */ s(
37064
+ const { t: a } = L("pci-region-selector"), t = J(Me), { ovhSubsidiary: n } = t.environment.getUser(), o = st.REGION_3AZ[n] || st.REGION_3AZ.DEFAULT, s = /* @__PURE__ */ c(
37065
37065
  Va,
37066
37066
  {
37067
37067
  className: "chip-3AZ",
@@ -37070,14 +37070,14 @@ function WQ({
37070
37070
  onClick: e ? (u) => u.stopPropagation() : void 0
37071
37071
  }
37072
37072
  );
37073
- return e ? /* @__PURE__ */ s(
37073
+ return e ? /* @__PURE__ */ c(
37074
37074
  La,
37075
37075
  {
37076
37076
  tooltipUrl: o,
37077
37077
  tooltip: a("pci_project_flavors_zone_3AZ_tooltip"),
37078
- children: c
37078
+ children: s
37079
37079
  }
37080
- ) : c;
37080
+ ) : s;
37081
37081
  }
37082
37082
  const xQ = ({
37083
37083
  type: e,
@@ -37085,11 +37085,11 @@ const xQ = ({
37085
37085
  }) => {
37086
37086
  switch (e) {
37087
37087
  case "localzone":
37088
- return /* @__PURE__ */ s(kQ, { showTooltip: a });
37088
+ return /* @__PURE__ */ c(kQ, { showTooltip: a });
37089
37089
  case "region":
37090
- return /* @__PURE__ */ s(jQ, { showTooltip: a });
37090
+ return /* @__PURE__ */ c(jQ, { showTooltip: a });
37091
37091
  case "region-3-az":
37092
- return /* @__PURE__ */ s(WQ, { showTooltip: a });
37092
+ return /* @__PURE__ */ c(WQ, { showTooltip: a });
37093
37093
  default:
37094
37094
  return null;
37095
37095
  }
@@ -37098,7 +37098,7 @@ const xQ = ({
37098
37098
  isSelected: a,
37099
37099
  isCompact: t
37100
37100
  }) => /* @__PURE__ */ k("div", { className: "flex flex-col w-full items-center", children: [
37101
- /* @__PURE__ */ s("div", { className: t ? "my-4" : "", children: /* @__PURE__ */ s(
37101
+ /* @__PURE__ */ c("div", { className: t ? "my-4" : "", children: /* @__PURE__ */ c(
37102
37102
  T,
37103
37103
  {
37104
37104
  color: w.text,
@@ -37108,20 +37108,20 @@ const xQ = ({
37108
37108
  }
37109
37109
  ) }),
37110
37110
  !t && /* @__PURE__ */ k(oe, { children: [
37111
- /* @__PURE__ */ s("hr", { className: "w-full border-solid border-0 border-b border-ods-primary-200" }),
37112
- /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(xQ, { type: e.type }) })
37111
+ /* @__PURE__ */ c("hr", { className: "w-full border-solid border-0 border-b border-ods-primary-200" }),
37112
+ /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(xQ, { type: e.type }) })
37113
37113
  ] })
37114
- ] }), ai = "grid gap-6 list-none p-6 m-0 grid-cols-1 md:grid-cols-3", ni = "cursor-pointer border-[--ods-color-blue-100] hover:bg-[--ods-color-blue-100] hover:border-[--ods-color-blue-600]", oi = "font-bold bg-[--ods-color-blue-100] border-[--ods-color-blue-600]";
37114
+ ] }), ai = "grid gap-6 list-none py-6 m-0 grid-cols-1 md:grid-cols-3", ni = "cursor-pointer border-[--ods-color-blue-100] hover:bg-[--ods-color-blue-100] hover:border-[--ods-color-blue-600]", oi = "font-bold bg-[--ods-color-blue-100] border-[--ods-color-blue-600]";
37115
37115
  function Zn({
37116
37116
  regions: e,
37117
37117
  selectedRegion: a,
37118
37118
  onClick: t,
37119
37119
  render: n
37120
37120
  }) {
37121
- return /* @__PURE__ */ s("ul", { className: ai, children: e.map((o) => /* @__PURE__ */ s("li", { className: "w-full px-1", children: /* @__PURE__ */ s(
37121
+ return /* @__PURE__ */ c("ul", { className: X(ai, "px-6"), children: e.map((o) => /* @__PURE__ */ c("li", { className: "w-full px-1", children: /* @__PURE__ */ c(
37122
37122
  yt,
37123
37123
  {
37124
- className: B(
37124
+ className: X(
37125
37125
  ni,
37126
37126
  o === a && oi
37127
37127
  ),
@@ -37281,14 +37281,14 @@ function Kn() {
37281
37281
  f.addResources("de_DE", "pci-region-selector", YQ), f.addResources("en_GB", "pci-region-selector", mJ), f.addResources("es_ES", "pci-region-selector", DJ), f.addResources("fr_CA", "pci-region-selector", YJ), f.addResources("fr_FR", "pci-region-selector", mU), f.addResources("it_IT", "pci-region-selector", DU), f.addResources("pl_PL", "pci-region-selector", YU), f.addResources("pt_PT", "pci-region-selector", m8);
37282
37282
  }
37283
37283
  f.isInitialized ? Kn() : f.on("initialized", Kn);
37284
- function iDe({
37284
+ function oDe({
37285
37285
  projectId: e,
37286
37286
  onSelectRegion: a,
37287
37287
  regionFilter: t,
37288
37288
  compactMode: n
37289
37289
  }) {
37290
37290
  const { t: o } = L("pci-region-selector"), {
37291
- continents: c,
37291
+ continents: s,
37292
37292
  macroRegions: u,
37293
37293
  microRegions: m,
37294
37294
  selectContinent: p,
@@ -37296,33 +37296,33 @@ function iDe({
37296
37296
  selectMicroRegion: b,
37297
37297
  selectedMacroRegion: v,
37298
37298
  selectedMicroRegion: y,
37299
- isPending: S
37299
+ isPending: x
37300
37300
  } = wQ({ projectId: e, onSelectRegion: a, regionFilter: t });
37301
- return S ? /* @__PURE__ */ s(Ae, { inline: !0, size: Te.md }) : /* @__PURE__ */ s(
37301
+ return x ? /* @__PURE__ */ c(Ae, { inline: !0, size: Te.md }) : /* @__PURE__ */ c(
37302
37302
  _o,
37303
37303
  {
37304
- items: c,
37305
- itemKey: (N) => N.id,
37304
+ items: s,
37305
+ itemKey: (W) => W.id,
37306
37306
  contentElement: () => /* @__PURE__ */ k(oe, { children: [
37307
- /* @__PURE__ */ s(
37307
+ /* @__PURE__ */ c(
37308
37308
  Zn,
37309
37309
  {
37310
37310
  regions: u,
37311
37311
  selectedRegion: v,
37312
37312
  onClick: h,
37313
- render: (N, z) => /* @__PURE__ */ s(
37313
+ render: (W, z) => /* @__PURE__ */ c(
37314
37314
  DQ,
37315
37315
  {
37316
- region: N,
37316
+ region: W,
37317
37317
  isSelected: z,
37318
37318
  isCompact: n
37319
37319
  },
37320
- N.name
37320
+ W.name
37321
37321
  )
37322
37322
  }
37323
37323
  ),
37324
37324
  (m == null ? void 0 : m.length) > 0 && /* @__PURE__ */ k(oe, { children: [
37325
- /* @__PURE__ */ s("div", { className: "ml-8", children: /* @__PURE__ */ s(
37325
+ /* @__PURE__ */ c("div", { className: "ml-8", children: /* @__PURE__ */ c(
37326
37326
  T,
37327
37327
  {
37328
37328
  className: "font-bold",
@@ -37332,39 +37332,39 @@ function iDe({
37332
37332
  children: o("pci_project_regions_list_region")
37333
37333
  }
37334
37334
  ) }),
37335
- /* @__PURE__ */ s(
37335
+ /* @__PURE__ */ c(
37336
37336
  Zn,
37337
37337
  {
37338
37338
  regions: m,
37339
37339
  selectedRegion: y,
37340
37340
  onClick: b,
37341
- render: (N, z) => /* @__PURE__ */ s(
37341
+ render: (W, z) => /* @__PURE__ */ c(
37342
37342
  T,
37343
37343
  {
37344
37344
  color: w.text,
37345
37345
  level: ve.body,
37346
37346
  size: z ? q._500 : q._400,
37347
- children: N.name
37347
+ children: W.name
37348
37348
  }
37349
37349
  )
37350
37350
  }
37351
37351
  )
37352
37352
  ] })
37353
37353
  ] }),
37354
- titleElement: (N, z) => /* @__PURE__ */ s(
37354
+ titleElement: (W, z) => /* @__PURE__ */ c(
37355
37355
  T,
37356
37356
  {
37357
37357
  breakSpaces: !1,
37358
37358
  size: Q._600,
37359
37359
  color: z ? w.text : w.primary,
37360
- children: /* @__PURE__ */ s(
37360
+ children: /* @__PURE__ */ c(
37361
37361
  "div",
37362
37362
  {
37363
- className: B(
37363
+ className: X(
37364
37364
  z && "font-bold",
37365
37365
  "whitespace-nowrap px-2 text-lg"
37366
37366
  ),
37367
- children: N.name
37367
+ children: W.name
37368
37368
  }
37369
37369
  )
37370
37370
  }
@@ -37373,9 +37373,9 @@ function iDe({
37373
37373
  }
37374
37374
  );
37375
37375
  }
37376
- function rDe({ region: e }) {
37377
- return /* @__PURE__ */ s("div", { className: ai, children: /* @__PURE__ */ s(yt, { className: `${ni} ${oi}`, checked: !0, children: /* @__PURE__ */ k("div", { className: "w-full", children: [
37378
- /* @__PURE__ */ s("div", { className: "border-solid border-0 border-b border-ods-primary-200 py-3", children: /* @__PURE__ */ s(
37376
+ function iDe({ region: e }) {
37377
+ return /* @__PURE__ */ c("div", { className: ai, children: /* @__PURE__ */ c(yt, { className: `${ni} ${oi}`, checked: !0, children: /* @__PURE__ */ k("div", { className: "w-full", children: [
37378
+ /* @__PURE__ */ c("div", { className: "border-solid border-0 border-b border-ods-primary-200 py-3", children: /* @__PURE__ */ c(
37379
37379
  T,
37380
37380
  {
37381
37381
  className: "font-bold",
@@ -37385,7 +37385,7 @@ function rDe({ region: e }) {
37385
37385
  children: e.macroLabel
37386
37386
  }
37387
37387
  ) }),
37388
- /* @__PURE__ */ s("div", { className: "mt-6", children: /* @__PURE__ */ s(
37388
+ /* @__PURE__ */ c("div", { className: "mt-6", children: /* @__PURE__ */ c(
37389
37389
  T,
37390
37390
  {
37391
37391
  level: O.body,
@@ -37396,25 +37396,25 @@ function rDe({ region: e }) {
37396
37396
  ) })
37397
37397
  ] }) }) });
37398
37398
  }
37399
- function sDe({
37399
+ function rDe({
37400
37400
  account: e,
37401
37401
  onAccountChange: a
37402
37402
  }) {
37403
37403
  const { data: t, isPending: n } = Gt();
37404
37404
  return pe(() => {
37405
37405
  a(t == null ? void 0 : t[0]);
37406
- }, [t]), n ? /* @__PURE__ */ s("div", { className: "text-center", children: /* @__PURE__ */ s(Ae, { inline: !0, size: Te.md }) }) : /* @__PURE__ */ s(oe, { children: (t == null ? void 0 : t.length) && /* @__PURE__ */ s("div", { className: "mt-8", children: /* @__PURE__ */ s(
37406
+ }, [t]), n ? /* @__PURE__ */ c("div", { className: "text-center", children: /* @__PURE__ */ c(Ae, { inline: !0, size: Te.md }) }) : /* @__PURE__ */ c(oe, { children: (t == null ? void 0 : t.length) && /* @__PURE__ */ c("div", { className: "mt-8", children: /* @__PURE__ */ c(
37407
37407
  Gr,
37408
37408
  {
37409
37409
  className: "w-[20rem]",
37410
37410
  value: e == null ? void 0 : e.serviceName,
37411
37411
  onOdsValueChange: (o) => a(
37412
37412
  t.find(
37413
- ({ serviceName: c }) => c === `${o.detail.value}`
37413
+ ({ serviceName: s }) => s === `${o.detail.value}`
37414
37414
  )
37415
37415
  ),
37416
37416
  inline: !0,
37417
- children: t.map((o) => /* @__PURE__ */ s(Yr, { value: o.serviceName, children: o.displayName || o.serviceName }, o.serviceName))
37417
+ children: t.map((o) => /* @__PURE__ */ c(Yr, { value: o.serviceName, children: o.displayName || o.serviceName }, o.serviceName))
37418
37418
  }
37419
37419
  ) }) });
37420
37420
  }
@@ -37423,14 +37423,14 @@ const ct = ho({
37423
37423
  logsKeys: [],
37424
37424
  logsKind: ""
37425
37425
  });
37426
- function cDe({
37426
+ function sDe({
37427
37427
  logsApiURL: e,
37428
37428
  logsKeys: a,
37429
37429
  logsKind: t,
37430
37430
  logsGuideURL: n,
37431
37431
  children: o
37432
37432
  }) {
37433
- return /* @__PURE__ */ s(
37433
+ return /* @__PURE__ */ c(
37434
37434
  ct.Provider,
37435
37435
  {
37436
37436
  value: { logsApiURL: e, logsKeys: a, logsKind: t, logsGuideURL: n },
@@ -37776,15 +37776,15 @@ function goe({
37776
37776
  onSuccess: a,
37777
37777
  onError: t
37778
37778
  }) {
37779
- const { t: n } = L("pci-logs"), { logsApiURL: o } = J(ct), { remove: c, isPending: u } = _K({
37779
+ const { t: n } = L("pci-logs"), { logsApiURL: o } = J(ct), { remove: s, isPending: u } = _K({
37780
37780
  logsApiURL: o,
37781
37781
  subscriptionId: e,
37782
37782
  onSuccess: a,
37783
37783
  onError: t
37784
37784
  });
37785
37785
  return /* @__PURE__ */ k(oe, { children: [
37786
- u && /* @__PURE__ */ s("div", { className: "text-center mt-8", children: /* @__PURE__ */ s(Ae, { size: Te.md, inline: !0 }) }),
37787
- !u && /* @__PURE__ */ s(
37786
+ u && /* @__PURE__ */ c("div", { className: "text-center mt-8", children: /* @__PURE__ */ c(Ae, { size: Te.md, inline: !0 }) }),
37787
+ !u && /* @__PURE__ */ c(
37788
37788
  _e,
37789
37789
  {
37790
37790
  className: "mt-4",
@@ -37792,28 +37792,28 @@ function goe({
37792
37792
  color: w.primary,
37793
37793
  size: we.sm,
37794
37794
  variant: fe.ghost,
37795
- onClick: c,
37795
+ onClick: s,
37796
37796
  children: n("list_button_unsubscribe")
37797
37797
  }
37798
37798
  )
37799
37799
  ] });
37800
37800
  }
37801
37801
  function boe({ onGotoStreams: e }) {
37802
- const { t: a } = L("pci-logs"), { navigation: t, tracking: n } = J(Me).shell, { logsGuideURL: o, logsTracking: c } = J(ct), { data: u } = Gt(), { data: m } = mK(), p = (u == null ? void 0 : u.length) > 0, h = (m == null ? void 0 : m.length) > 0, b = () => {
37803
- p ? h ? (c != null && c.transfer && n.trackClick({
37804
- name: c == null ? void 0 : c.transfer
37805
- }), e()) : (c != null && c.createDataStream && n.trackClick({
37806
- name: c == null ? void 0 : c.createDataStream
37802
+ const { t: a } = L("pci-logs"), { navigation: t, tracking: n } = J(Me).shell, { logsGuideURL: o, logsTracking: s } = J(ct), { data: u } = Gt(), { data: m } = mK(), p = (u == null ? void 0 : u.length) > 0, h = (m == null ? void 0 : m.length) > 0, b = () => {
37803
+ p ? h ? (s != null && s.transfer && n.trackClick({
37804
+ name: s == null ? void 0 : s.transfer
37805
+ }), e()) : (s != null && s.createDataStream && n.trackClick({
37806
+ name: s == null ? void 0 : s.createDataStream
37807
37807
  }), t.getURL("dedicated", "#/dbaas/logs", {}).then((v) => {
37808
37808
  window.location.href = v;
37809
- })) : (c != null && c.createAccount && n.trackClick({
37810
- name: c == null ? void 0 : c.createAccount
37809
+ })) : (s != null && s.createAccount && n.trackClick({
37810
+ name: s == null ? void 0 : s.createAccount
37811
37811
  }), t.getURL("dedicated", "#/dbaas/logs/order", {}).then((v) => {
37812
37812
  window.location.href = v;
37813
37813
  }));
37814
37814
  };
37815
37815
  return /* @__PURE__ */ k(oe, { children: [
37816
- /* @__PURE__ */ s(
37816
+ /* @__PURE__ */ c(
37817
37817
  T,
37818
37818
  {
37819
37819
  color: w.primary,
@@ -37822,8 +37822,8 @@ function boe({ onGotoStreams: e }) {
37822
37822
  children: a("log_tile_section_title")
37823
37823
  }
37824
37824
  ),
37825
- /* @__PURE__ */ s(yt, { className: "mt-4", color: w.primary, children: /* @__PURE__ */ k("div", { className: "flex flex-col", children: [
37826
- /* @__PURE__ */ s(
37825
+ /* @__PURE__ */ c(yt, { className: "mt-4", color: w.primary, children: /* @__PURE__ */ k("div", { className: "flex flex-col", children: [
37826
+ /* @__PURE__ */ c(
37827
37827
  T,
37828
37828
  {
37829
37829
  className: "block",
@@ -37834,8 +37834,8 @@ function boe({ onGotoStreams: e }) {
37834
37834
  }
37835
37835
  ),
37836
37836
  a("log_tile_empty_state_description"),
37837
- !p && /* @__PURE__ */ s("p", { children: a("log_tile_desc_create_account") }),
37838
- p && !h && /* @__PURE__ */ s("p", { children: a("log_tile_desc_create_stream") }),
37837
+ !p && /* @__PURE__ */ c("p", { children: a("log_tile_desc_create_account") }),
37838
+ p && !h && /* @__PURE__ */ c("p", { children: a("log_tile_desc_create_stream") }),
37839
37839
  o && /* @__PURE__ */ k(
37840
37840
  wt,
37841
37841
  {
@@ -37845,7 +37845,7 @@ function boe({ onGotoStreams: e }) {
37845
37845
  target: et._blank,
37846
37846
  children: [
37847
37847
  a("log_data_platform_guide_link"),
37848
- /* @__PURE__ */ s("span", { slot: "end", children: /* @__PURE__ */ s(
37848
+ /* @__PURE__ */ c("span", { slot: "end", children: /* @__PURE__ */ c(
37849
37849
  ge,
37850
37850
  {
37851
37851
  "aria-hidden": "true",
@@ -37879,14 +37879,14 @@ function boe({ onGotoStreams: e }) {
37879
37879
  ] });
37880
37880
  }
37881
37881
  function voe({ onGotoStreams: e }) {
37882
- const { t: a } = L("pci-logs"), { tracking: t } = J(Me).shell, { logsApiURL: n, logsKind: o, logsTracking: c } = J(ct), { addError: u, addSuccess: m, clearNotifications: p } = po(), { data: h, isPending: b } = hK(
37882
+ const { t: a } = L("pci-logs"), { tracking: t } = J(Me).shell, { logsApiURL: n, logsKind: o, logsTracking: s } = J(ct), { addError: u, addSuccess: m, clearNotifications: p } = po(), { data: h, isPending: b } = hK(
37883
37883
  n,
37884
37884
  o
37885
37885
  );
37886
- return b ? /* @__PURE__ */ s(oe, {}) : /* @__PURE__ */ k(oe, { children: [
37887
- (h == null ? void 0 : h.length) === 0 && /* @__PURE__ */ s(boe, { onGotoStreams: e }),
37886
+ return b ? /* @__PURE__ */ c(oe, {}) : /* @__PURE__ */ k(oe, { children: [
37887
+ (h == null ? void 0 : h.length) === 0 && /* @__PURE__ */ c(boe, { onGotoStreams: e }),
37888
37888
  (h == null ? void 0 : h.length) > 0 && /* @__PURE__ */ k(oe, { children: [
37889
- /* @__PURE__ */ s(
37889
+ /* @__PURE__ */ c(
37890
37890
  T,
37891
37891
  {
37892
37892
  color: w.text,
@@ -37906,7 +37906,7 @@ function voe({ onGotoStreams: e }) {
37906
37906
  p(), e();
37907
37907
  },
37908
37908
  children: [
37909
- /* @__PURE__ */ s("span", { slot: "start", children: /* @__PURE__ */ s(
37909
+ /* @__PURE__ */ c("span", { slot: "start", children: /* @__PURE__ */ c(
37910
37910
  ge,
37911
37911
  {
37912
37912
  name: be.ADD,
@@ -37919,13 +37919,13 @@ function voe({ onGotoStreams: e }) {
37919
37919
  }
37920
37920
  )
37921
37921
  ] }),
37922
- h == null ? void 0 : h.map(({ data: v, log: y, stream: S, streamURL: N }) => /* @__PURE__ */ s(
37922
+ h == null ? void 0 : h.map(({ data: v, log: y, stream: x, streamURL: W }) => /* @__PURE__ */ c(
37923
37923
  yt,
37924
37924
  {
37925
37925
  className: "mt-4",
37926
37926
  color: w.primary,
37927
37927
  children: /* @__PURE__ */ k("div", { className: "flex flex-col", children: [
37928
- /* @__PURE__ */ s(
37928
+ /* @__PURE__ */ c(
37929
37929
  T,
37930
37930
  {
37931
37931
  className: "block",
@@ -37936,7 +37936,7 @@ function voe({ onGotoStreams: e }) {
37936
37936
  }
37937
37937
  ),
37938
37938
  /* @__PURE__ */ k("dl", { className: "grid grid-cols-2", children: [
37939
- /* @__PURE__ */ s("dt", { className: "mb-4", children: /* @__PURE__ */ s(
37939
+ /* @__PURE__ */ c("dt", { className: "mb-4", children: /* @__PURE__ */ c(
37940
37940
  T,
37941
37941
  {
37942
37942
  color: w.text,
@@ -37945,8 +37945,8 @@ function voe({ onGotoStreams: e }) {
37945
37945
  children: (v == null ? void 0 : v.displayName) || (y == null ? void 0 : y.serviceName)
37946
37946
  }
37947
37947
  ) }),
37948
- /* @__PURE__ */ s("dd", { className: "text-right", children: y == null ? void 0 : y.serviceName }),
37949
- /* @__PURE__ */ s("dt", { className: "mb-4", children: /* @__PURE__ */ s(
37948
+ /* @__PURE__ */ c("dd", { className: "text-right", children: y == null ? void 0 : y.serviceName }),
37949
+ /* @__PURE__ */ c("dt", { className: "mb-4", children: /* @__PURE__ */ c(
37950
37950
  T,
37951
37951
  {
37952
37952
  color: w.text,
@@ -37955,8 +37955,8 @@ function voe({ onGotoStreams: e }) {
37955
37955
  children: a("log_title_subscriptions_user")
37956
37956
  }
37957
37957
  ) }),
37958
- /* @__PURE__ */ s("dd", { className: "text-right", children: v == null ? void 0 : v.username }),
37959
- /* @__PURE__ */ s("dt", { children: /* @__PURE__ */ s(
37958
+ /* @__PURE__ */ c("dd", { className: "text-right", children: v == null ? void 0 : v.username }),
37959
+ /* @__PURE__ */ c("dt", { children: /* @__PURE__ */ c(
37960
37960
  T,
37961
37961
  {
37962
37962
  color: w.text,
@@ -37965,9 +37965,9 @@ function voe({ onGotoStreams: e }) {
37965
37965
  children: a("logs_list_title")
37966
37966
  }
37967
37967
  ) }),
37968
- /* @__PURE__ */ s("dd", { className: "text-right", children: S == null ? void 0 : S.title })
37968
+ /* @__PURE__ */ c("dd", { className: "text-right", children: x == null ? void 0 : x.title })
37969
37969
  ] }),
37970
- /* @__PURE__ */ s(go, { color: w.primary, separator: !0 }),
37970
+ /* @__PURE__ */ c(go, { color: w.primary, separator: !0 }),
37971
37971
  /* @__PURE__ */ k(
37972
37972
  _e,
37973
37973
  {
@@ -37975,17 +37975,17 @@ function voe({ onGotoStreams: e }) {
37975
37975
  color: w.primary,
37976
37976
  size: we.sm,
37977
37977
  variant: fe.stroked,
37978
- href: N == null ? void 0 : N.address,
37978
+ href: W == null ? void 0 : W.address,
37979
37979
  onClick: () => {
37980
- c != null && c.graylogWatch && t.trackClick({
37981
- name: c == null ? void 0 : c.graylogWatch
37980
+ s != null && s.graylogWatch && t.trackClick({
37981
+ name: s == null ? void 0 : s.graylogWatch
37982
37982
  });
37983
37983
  },
37984
37984
  target: et._blank,
37985
- disabled: N != null && N.address ? void 0 : !0,
37985
+ disabled: W != null && W.address ? void 0 : !0,
37986
37986
  children: [
37987
37987
  a("log_title_subscriptions_button_watch"),
37988
- /* @__PURE__ */ s("span", { slot: "end", children: /* @__PURE__ */ s(
37988
+ /* @__PURE__ */ c("span", { slot: "end", children: /* @__PURE__ */ c(
37989
37989
  ge,
37990
37990
  {
37991
37991
  "aria-hidden": "true",
@@ -37999,19 +37999,19 @@ function voe({ onGotoStreams: e }) {
37999
37999
  ]
38000
38000
  }
38001
38001
  ),
38002
- /* @__PURE__ */ s(
38002
+ /* @__PURE__ */ c(
38003
38003
  goe,
38004
38004
  {
38005
38005
  subscriptionId: y.subscriptionId,
38006
38006
  onSuccess: () => m(
38007
- /* @__PURE__ */ s(it, { ns: "pci-logs", children: (z) => z("logs_list_unsubscription_success") }),
38007
+ /* @__PURE__ */ c(it, { ns: "pci-logs", children: (z) => z("logs_list_unsubscription_success") }),
38008
38008
  !0
38009
38009
  ),
38010
38010
  onError: (z) => u(
38011
- /* @__PURE__ */ s(it, { ns: "pci-logs", children: (W) => {
38012
- var A, x;
38013
- return W("error_message", {
38014
- message: ((x = (A = z == null ? void 0 : z.response) == null ? void 0 : A.data) == null ? void 0 : x.message) || (z == null ? void 0 : z.message) || null
38011
+ /* @__PURE__ */ c(it, { ns: "pci-logs", children: (D) => {
38012
+ var A, S;
38013
+ return D("error_message", {
38014
+ message: ((S = (A = z == null ? void 0 : z.response) == null ? void 0 : A.data) == null ? void 0 : S.message) || (z == null ? void 0 : z.message) || null
38015
38015
  });
38016
38016
  } }),
38017
38017
  !0
@@ -38020,35 +38020,35 @@ function voe({ onGotoStreams: e }) {
38020
38020
  )
38021
38021
  ] })
38022
38022
  },
38023
- (y == null ? void 0 : y.serviceName) + (S == null ? void 0 : S.streamId)
38023
+ (y == null ? void 0 : y.serviceName) + (x == null ? void 0 : x.streamId)
38024
38024
  ))
38025
38025
  ] });
38026
38026
  }
38027
- function dDe({ onGotoStreams: e }) {
38027
+ function cDe({ onGotoStreams: e }) {
38028
38028
  const [a, t] = re(!1);
38029
38029
  return /* @__PURE__ */ k(
38030
38030
  "div",
38031
38031
  {
38032
- className: B(
38032
+ className: X(
38033
38033
  "flex mt-4 md:h-[600px]",
38034
38034
  a ? "flex-col" : "flex-col md:flex-row"
38035
38035
  ),
38036
38036
  children: [
38037
- /* @__PURE__ */ s("div", { className: B(a || "w-full md:w-[68%] h-full"), children: /* @__PURE__ */ s(
38037
+ /* @__PURE__ */ c("div", { className: X(a || "w-full md:w-[68%] h-full"), children: /* @__PURE__ */ c(
38038
38038
  Noe,
38039
38039
  {
38040
38040
  isFullscreen: a,
38041
38041
  onToggleFullscreen: () => t((n) => !n)
38042
38042
  }
38043
38043
  ) }),
38044
- /* @__PURE__ */ s(
38044
+ /* @__PURE__ */ c(
38045
38045
  "div",
38046
38046
  {
38047
- className: B(
38047
+ className: X(
38048
38048
  a || "w-full md:w-[32%] h-full overflow-y-auto mt-4 md:mt-0 ml-0 md:ml-4",
38049
38049
  "min-h-0"
38050
38050
  ),
38051
- children: /* @__PURE__ */ s(voe, { onGotoStreams: e })
38051
+ children: /* @__PURE__ */ c(voe, { onGotoStreams: e })
38052
38052
  }
38053
38053
  )
38054
38054
  ]
@@ -38075,7 +38075,7 @@ const yoe = (e, a, t) => H({
38075
38075
  onError: n,
38076
38076
  onSuccess: o
38077
38077
  }) => {
38078
- const c = Rt(), u = ha({
38078
+ const s = Rt(), u = ha({
38079
38079
  mutationFn: async () => {
38080
38080
  const { data: m } = await F.post(
38081
38081
  `${e}/subscription`,
@@ -38088,9 +38088,9 @@ const yoe = (e, a, t) => H({
38088
38088
  },
38089
38089
  onError: n,
38090
38090
  onSuccess: async () => {
38091
- await c.invalidateQueries({
38091
+ await s.invalidateQueries({
38092
38092
  queryKey: ["dbaas-logs-subscriptions"]
38093
- }), await c.invalidateQueries({
38093
+ }), await s.invalidateQueries({
38094
38094
  queryKey: ["dbaas-logs-streams"]
38095
38095
  }), o();
38096
38096
  }
@@ -38105,9 +38105,9 @@ const yoe = (e, a, t) => H({
38105
38105
  onSuccess: t
38106
38106
  }) => {
38107
38107
  const n = Rt(), o = ha({
38108
- mutationFn: async (c) => {
38108
+ mutationFn: async (s) => {
38109
38109
  const { data: u } = await F.delete(
38110
- `${e}/subscription/${c}`
38110
+ `${e}/subscription/${s}`
38111
38111
  );
38112
38112
  return Ca(u.serviceName, u.operationId);
38113
38113
  },
@@ -38121,13 +38121,13 @@ const yoe = (e, a, t) => H({
38121
38121
  }
38122
38122
  });
38123
38123
  return {
38124
- remove: (c) => o.mutate(c),
38124
+ remove: (s) => o.mutate(s),
38125
38125
  ...o
38126
38126
  };
38127
38127
  }, Moe = (e = "") => {
38128
- const [a, t] = e.split("T"), n = (o, c) => {
38128
+ const [a, t] = e.split("T"), n = (o, s) => {
38129
38129
  var u;
38130
- return Number((u = (o || "").match(new RegExp(`([0-9]+)${c}`))) == null ? void 0 : u[1]) || 0;
38130
+ return Number((u = (o || "").match(new RegExp(`([0-9]+)${s}`))) == null ? void 0 : u[1]) || 0;
38131
38131
  };
38132
38132
  return {
38133
38133
  years: n(a, "Y"),
@@ -38143,16 +38143,16 @@ function zoe({
38143
38143
  clusterId: a,
38144
38144
  retentionId: t
38145
38145
  }) {
38146
- const { i18n: n } = L(), o = Ke({ ...Ro }).current, c = Po(n.language), { data: u, isPending: m } = woe(
38146
+ const { i18n: n } = L(), o = Ke({ ...Ro }).current, s = Po(n.language), { data: u, isPending: m } = woe(
38147
38147
  e,
38148
38148
  a,
38149
38149
  t
38150
38150
  );
38151
38151
  return /* @__PURE__ */ k(oe, { children: [
38152
- m && /* @__PURE__ */ s(ba, {}),
38152
+ m && /* @__PURE__ */ c(ba, {}),
38153
38153
  !m && !(u != null && u.duration) && "-",
38154
38154
  !m && (u == null ? void 0 : u.duration) && B5(Moe(u == null ? void 0 : u.duration), {
38155
- locale: o[c]
38155
+ locale: o[s]
38156
38156
  })
38157
38157
  ] });
38158
38158
  }
@@ -38162,63 +38162,63 @@ function joe({
38162
38162
  streamId: t,
38163
38163
  subscriptionCount: n
38164
38164
  }) {
38165
- const { t: o } = L("pci-logs"), { tracking: c } = J(Me).shell, { logsApiURL: u, logsKind: m, logsTracking: p } = J(ct), { data: h, isPending: b } = $oe(e, t), v = h == null ? void 0 : h.filter(({ kind: D }) => D === m), { navigation: y } = J(Me).shell, [S, N] = re(""), { addError: z, addSuccess: W } = po(), { create: A, isPending: x } = Poe({
38165
+ const { t: o } = L("pci-logs"), { tracking: s } = J(Me).shell, { logsApiURL: u, logsKind: m, logsTracking: p } = J(ct), { data: h, isPending: b } = $oe(e, t), v = h == null ? void 0 : h.filter(({ kind: N }) => N === m), { navigation: y } = J(Me).shell, [x, W] = re(""), { addError: z, addSuccess: D } = po(), { create: A, isPending: S } = Poe({
38166
38166
  logsApiURL: u,
38167
38167
  logsKind: m,
38168
38168
  streamId: t,
38169
- onSuccess: () => W(
38170
- /* @__PURE__ */ s(it, { ns: "pci-logs", children: (D) => D("logs_list_subscription_success") }),
38169
+ onSuccess: () => D(
38170
+ /* @__PURE__ */ c(it, { ns: "pci-logs", children: (N) => N("logs_list_subscription_success") }),
38171
38171
  !0
38172
38172
  ),
38173
- onError: (D) => z(
38174
- /* @__PURE__ */ s(it, { ns: "pci-logs", children: (U) => {
38173
+ onError: (N) => z(
38174
+ /* @__PURE__ */ c(it, { ns: "pci-logs", children: (U) => {
38175
38175
  var ee, je;
38176
38176
  return U("error_message", {
38177
- message: ((je = (ee = D == null ? void 0 : D.response) == null ? void 0 : ee.data) == null ? void 0 : je.message) || (D == null ? void 0 : D.message) || null
38177
+ message: ((je = (ee = N == null ? void 0 : N.response) == null ? void 0 : ee.data) == null ? void 0 : je.message) || (N == null ? void 0 : N.message) || null
38178
38178
  });
38179
38179
  } }),
38180
38180
  !0
38181
38181
  )
38182
38182
  }), { remove: P, isPending: E } = koe({
38183
38183
  logsApiURL: u,
38184
- onSuccess: () => W(
38185
- /* @__PURE__ */ s(it, { ns: "pci-logs", children: (D) => D("logs_list_unsubscription_success") }),
38184
+ onSuccess: () => D(
38185
+ /* @__PURE__ */ c(it, { ns: "pci-logs", children: (N) => N("logs_list_unsubscription_success") }),
38186
38186
  !0
38187
38187
  ),
38188
- onError: (D) => z(
38189
- /* @__PURE__ */ s(it, { ns: "pci-logs", children: (U) => {
38188
+ onError: (N) => z(
38189
+ /* @__PURE__ */ c(it, { ns: "pci-logs", children: (U) => {
38190
38190
  var ee, je;
38191
38191
  return U("error_message", {
38192
- message: ((je = (ee = D == null ? void 0 : D.response) == null ? void 0 : ee.data) == null ? void 0 : je.message) || (D == null ? void 0 : D.message) || null
38192
+ message: ((je = (ee = N == null ? void 0 : N.response) == null ? void 0 : ee.data) == null ? void 0 : je.message) || (N == null ? void 0 : N.message) || null
38193
38193
  });
38194
38194
  } }),
38195
38195
  !0
38196
38196
  )
38197
38197
  }), M = v == null ? void 0 : v.find(
38198
- ({ resource: D }) => D.name === a
38198
+ ({ resource: N }) => N.name === a
38199
38199
  );
38200
38200
  return pe(() => {
38201
38201
  y.getURL(
38202
38202
  "dedicated",
38203
38203
  `#/dbaas/logs/${e}/streams/${t}/subscriptions`,
38204
38204
  {}
38205
- ).then(N);
38206
- }, []), b ? /* @__PURE__ */ s(ba, {}) : /* @__PURE__ */ k("div", { className: "flex justify-between items-center min-w-[14rem]", children: [
38205
+ ).then(W);
38206
+ }, []), b ? /* @__PURE__ */ c(ba, {}) : /* @__PURE__ */ k("div", { className: "flex justify-between items-center min-w-[14rem]", children: [
38207
38207
  n > 0 ? /* @__PURE__ */ k(
38208
38208
  wt,
38209
38209
  {
38210
38210
  className: "mr-4",
38211
38211
  color: w.primary,
38212
- href: S,
38212
+ href: x,
38213
38213
  onClick: () => {
38214
- p != null && p.ldpDetails && c.trackClick({
38214
+ p != null && p.ldpDetails && s.trackClick({
38215
38215
  name: p == null ? void 0 : p.ldpDetails
38216
38216
  });
38217
38217
  },
38218
38218
  target: et._blank,
38219
38219
  children: [
38220
38220
  n,
38221
- /* @__PURE__ */ s("span", { slot: "end", children: /* @__PURE__ */ s(
38221
+ /* @__PURE__ */ c("span", { slot: "end", children: /* @__PURE__ */ c(
38222
38222
  ge,
38223
38223
  {
38224
38224
  "aria-hidden": "true",
@@ -38239,7 +38239,7 @@ function joe({
38239
38239
  size: we.sm,
38240
38240
  variant: fe.stroked,
38241
38241
  onClick: () => {
38242
- E || (P(M.subscriptionId), p != null && p.unsubscribe && c.trackClick({
38242
+ E || (P(M.subscriptionId), p != null && p.unsubscribe && s.trackClick({
38243
38243
  name: p == null ? void 0 : p.unsubscribe
38244
38244
  }));
38245
38245
  },
@@ -38247,7 +38247,7 @@ function joe({
38247
38247
  inline: !0,
38248
38248
  children: [
38249
38249
  o("list_button_unsubscribe"),
38250
- E && /* @__PURE__ */ s("span", { slot: "start", children: /* @__PURE__ */ s(Ae, { className: "mt-3", size: Te.sm, inline: !0 }) })
38250
+ E && /* @__PURE__ */ c("span", { slot: "start", children: /* @__PURE__ */ c(Ae, { className: "mt-3", size: Te.sm, inline: !0 }) })
38251
38251
  ]
38252
38252
  }
38253
38253
  ),
@@ -38258,15 +38258,15 @@ function joe({
38258
38258
  size: we.sm,
38259
38259
  variant: fe.stroked,
38260
38260
  onClick: () => {
38261
- x || (A(), p != null && p.subscribe && c.trackClick({
38261
+ S || (A(), p != null && p.subscribe && s.trackClick({
38262
38262
  name: p == null ? void 0 : p.subscribe
38263
38263
  }));
38264
38264
  },
38265
- disabled: x ? !0 : void 0,
38265
+ disabled: S ? !0 : void 0,
38266
38266
  inline: !0,
38267
38267
  children: [
38268
38268
  o("list_button_subscribe"),
38269
- x && /* @__PURE__ */ s("span", { slot: "start", children: /* @__PURE__ */ s(Ae, { className: "mt-3", size: Te.sm, inline: !0 }) })
38269
+ S && /* @__PURE__ */ c("span", { slot: "start", children: /* @__PURE__ */ c(Ae, { className: "mt-3", size: Te.sm, inline: !0 }) })
38270
38270
  ]
38271
38271
  }
38272
38272
  )
@@ -38276,14 +38276,14 @@ const Woe = ({
38276
38276
  account: e,
38277
38277
  serviceName: a
38278
38278
  }) => {
38279
- const { t } = L("pci-logs"), { navigation: n } = J(Me).shell, [o, c] = re("");
38279
+ const { t } = L("pci-logs"), { navigation: n } = J(Me).shell, [o, s] = re("");
38280
38280
  return pe(() => {
38281
- n.getURL("dedicated", `#/dbaas/logs/${e == null ? void 0 : e.serviceName}/home`, {}).then(c);
38281
+ n.getURL("dedicated", `#/dbaas/logs/${e == null ? void 0 : e.serviceName}/home`, {}).then(s);
38282
38282
  }, [e]), [
38283
38283
  {
38284
38284
  id: "name",
38285
38285
  cell: () => /* @__PURE__ */ k(nt, { children: [
38286
- /* @__PURE__ */ s(
38286
+ /* @__PURE__ */ c(
38287
38287
  wt,
38288
38288
  {
38289
38289
  color: w.primary,
@@ -38292,23 +38292,23 @@ const Woe = ({
38292
38292
  children: e.displayName || e.serviceName
38293
38293
  }
38294
38294
  ),
38295
- e.displayName && /* @__PURE__ */ s(T, { className: "block", level: ve.caption, children: e.serviceName })
38295
+ e.displayName && /* @__PURE__ */ c(T, { className: "block", level: ve.caption, children: e.serviceName })
38296
38296
  ] }),
38297
38297
  label: t("list_column_account")
38298
38298
  },
38299
38299
  {
38300
38300
  id: "title",
38301
- cell: (u) => /* @__PURE__ */ s(nt, { children: u.title }),
38301
+ cell: (u) => /* @__PURE__ */ c(nt, { children: u.title }),
38302
38302
  label: t("list_column_stream_name")
38303
38303
  },
38304
38304
  {
38305
38305
  id: "description",
38306
- cell: (u) => /* @__PURE__ */ s(nt, { children: u.description }),
38306
+ cell: (u) => /* @__PURE__ */ c(nt, { children: u.description }),
38307
38307
  label: t("list_column_stream_description")
38308
38308
  },
38309
38309
  {
38310
38310
  id: "indexation",
38311
- cell: (u) => /* @__PURE__ */ s(nt, { children: /* @__PURE__ */ s(
38311
+ cell: (u) => /* @__PURE__ */ c(nt, { children: /* @__PURE__ */ c(
38312
38312
  qt,
38313
38313
  {
38314
38314
  color: w[u.indexingEnabled ? "success" : "warning"],
@@ -38320,7 +38320,7 @@ const Woe = ({
38320
38320
  },
38321
38321
  {
38322
38322
  id: "retention",
38323
- cell: (u) => /* @__PURE__ */ s(nt, { children: /* @__PURE__ */ s(
38323
+ cell: (u) => /* @__PURE__ */ c(nt, { children: /* @__PURE__ */ c(
38324
38324
  zoe,
38325
38325
  {
38326
38326
  serviceName: e.serviceName,
@@ -38332,7 +38332,7 @@ const Woe = ({
38332
38332
  },
38333
38333
  {
38334
38334
  id: "subscriptions",
38335
- cell: (u) => /* @__PURE__ */ s(nt, { children: /* @__PURE__ */ s(
38335
+ cell: (u) => /* @__PURE__ */ c(nt, { children: /* @__PURE__ */ c(
38336
38336
  joe,
38337
38337
  {
38338
38338
  account: e.serviceName,
@@ -38345,11 +38345,11 @@ const Woe = ({
38345
38345
  }
38346
38346
  ];
38347
38347
  };
38348
- function lDe({
38348
+ function dDe({
38349
38349
  account: e,
38350
38350
  serviceName: a
38351
38351
  }) {
38352
- const { t } = L("pci-logs"), { t: n } = L("filter"), { pagination: o, setPagination: c } = Er(), { filters: u, addFilter: m, removeFilter: p } = Vr(), { data: h, isPending: b } = yoe(
38352
+ const { t } = L("pci-logs"), { t: n } = L("filter"), { pagination: o, setPagination: s } = Er(), { filters: u, addFilter: m, removeFilter: p } = Vr(), { data: h, isPending: b } = yoe(
38353
38353
  e.serviceName,
38354
38354
  o,
38355
38355
  u
@@ -38357,8 +38357,8 @@ function lDe({
38357
38357
  account: e,
38358
38358
  serviceName: a
38359
38359
  }), y = Ke(void 0);
38360
- return b ? /* @__PURE__ */ s("div", { className: "text-center", children: /* @__PURE__ */ s(Ae, { inline: !0, size: Te.md }) }) : /* @__PURE__ */ k(oe, { children: [
38361
- /* @__PURE__ */ s("div", { className: "flex justify-end", children: /* @__PURE__ */ k(Xt, { ref: y, children: [
38360
+ return b ? /* @__PURE__ */ c("div", { className: "text-center", children: /* @__PURE__ */ c(Ae, { inline: !0, size: Te.md }) }) : /* @__PURE__ */ k(oe, { children: [
38361
+ /* @__PURE__ */ c("div", { className: "flex justify-end", children: /* @__PURE__ */ k(Xt, { ref: y, children: [
38362
38362
  /* @__PURE__ */ k(
38363
38363
  _e,
38364
38364
  {
@@ -38367,7 +38367,7 @@ function lDe({
38367
38367
  color: w.primary,
38368
38368
  variant: fe.stroked,
38369
38369
  children: [
38370
- /* @__PURE__ */ s(
38370
+ /* @__PURE__ */ c(
38371
38371
  ge,
38372
38372
  {
38373
38373
  name: be.FILTER,
@@ -38380,7 +38380,7 @@ function lDe({
38380
38380
  ]
38381
38381
  }
38382
38382
  ),
38383
- /* @__PURE__ */ s(Bt, { children: /* @__PURE__ */ s(
38383
+ /* @__PURE__ */ c(Bt, { children: /* @__PURE__ */ c(
38384
38384
  Lr,
38385
38385
  {
38386
38386
  columns: [
@@ -38390,28 +38390,28 @@ function lDe({
38390
38390
  comparators: Nr.String
38391
38391
  }
38392
38392
  ],
38393
- onAddFilter: (S, N) => {
38393
+ onAddFilter: (x, W) => {
38394
38394
  var z;
38395
- c({
38395
+ s({
38396
38396
  pageIndex: 0,
38397
38397
  pageSize: o.pageSize
38398
38398
  }), m({
38399
- ...S,
38400
- label: N.label
38399
+ ...x,
38400
+ label: W.label
38401
38401
  }), (z = y.current) == null || z.closeSurface();
38402
38402
  }
38403
38403
  }
38404
38404
  ) })
38405
38405
  ] }) }),
38406
- /* @__PURE__ */ s("div", { className: "my-5", children: /* @__PURE__ */ s(Hr, { filters: u, onRemoveFilter: p }) }),
38407
- /* @__PURE__ */ s(
38406
+ /* @__PURE__ */ c("div", { className: "my-5", children: /* @__PURE__ */ c(Hr, { filters: u, onRemoveFilter: p }) }),
38407
+ /* @__PURE__ */ c(
38408
38408
  Fr,
38409
38409
  {
38410
38410
  columns: v,
38411
38411
  items: (h == null ? void 0 : h.data) || [],
38412
38412
  totalItems: (h == null ? void 0 : h.totalCount) || 0,
38413
38413
  pagination: o,
38414
- onPaginationChange: c,
38414
+ onPaginationChange: s,
38415
38415
  className: "overflow-x-visible"
38416
38416
  }
38417
38417
  )
@@ -38422,7 +38422,7 @@ const xoe = "_blinkingCursor_18io1_12", Doe = {
38422
38422
  "cursor-blink": "_cursor-blink_18io1_1"
38423
38423
  };
38424
38424
  function Soe() {
38425
- return /* @__PURE__ */ s("i", { className: Doe.blinkingCursor, "aria-hidden": !0 });
38425
+ return /* @__PURE__ */ c("i", { className: Doe.blinkingCursor, "aria-hidden": !0 });
38426
38426
  }
38427
38427
  const Ct = (e, a) => {
38428
38428
  if (!a) return e;
@@ -38440,44 +38440,44 @@ function Noe({
38440
38440
  isFullscreen: e,
38441
38441
  onToggleFullscreen: a
38442
38442
  }) {
38443
- const { t } = L("pci-logs"), n = Ke(void 0), o = Ke(void 0), { logsApiURL: c, logsKeys: u, logsKind: m } = J(ct), [p, h] = re(""), { messages: b, clearLogs: v, isPolling: y, setIsPolling: S, isError: N } = gK(
38444
- c,
38443
+ const { t } = L("pci-logs"), n = Ke(void 0), o = Ke(void 0), { logsApiURL: s, logsKeys: u, logsKind: m } = J(ct), [p, h] = re(""), { messages: b, clearLogs: v, isPolling: y, setIsPolling: x, isError: W } = gK(
38444
+ s,
38445
38445
  m,
38446
38446
  u
38447
38447
  );
38448
38448
  pe(() => {
38449
- S(!0);
38449
+ x(!0);
38450
38450
  }, []);
38451
38451
  const z = Z(
38452
- () => b == null ? void 0 : b.reduce((A, x) => {
38452
+ () => b == null ? void 0 : b.reduce((A, S) => {
38453
38453
  var E;
38454
38454
  let P = A;
38455
38455
  return P += ` <span class="text-[var(--ods-color-warning-050)]">${Ct(
38456
- x.date,
38456
+ S.date,
38457
38457
  p
38458
38458
  )}</span>`, P += ` <span class="text-[var(--ods-color-warning-100)]">${Ct(
38459
- x.time,
38459
+ S.time,
38460
38460
  p
38461
38461
  )}</span>`, P += ` | <span class="text-[var(--ods-color-primary-300)]">${(E = Ct(
38462
- x.level,
38462
+ S.level,
38463
38463
  p
38464
38464
  )) == null ? void 0 : E.padStart(6, "")}</span> |`, u.forEach((M) => {
38465
- x[M] !== void 0 && (P += Ct(` ${x[M]}`, p));
38465
+ S[M] !== void 0 && (P += Ct(` ${S[M]}`, p));
38466
38466
  }), P += "<br />", P;
38467
38467
  }, ""),
38468
38468
  [p, b]
38469
- ), W = () => {
38469
+ ), D = () => {
38470
38470
  setTimeout(() => {
38471
38471
  o.current.scrollTop = o.current.scrollHeight;
38472
38472
  }, 0);
38473
38473
  };
38474
38474
  return pe(() => {
38475
38475
  if (!n.current) return;
38476
- const { scrollTop: A, scrollHeight: x, clientHeight: P } = o.current, E = x - A <= P + 50;
38477
- n.current.innerHTML = z, E && W();
38478
- }, [n.current, z]), /* @__PURE__ */ s("div", { className: "font-mono bg-black text-white", children: /* @__PURE__ */ k("div", { className: "p-4 relative", children: [
38476
+ const { scrollTop: A, scrollHeight: S, clientHeight: P } = o.current, E = S - A <= P + 50;
38477
+ n.current.innerHTML = z, E && D();
38478
+ }, [n.current, z]), /* @__PURE__ */ c("div", { className: "font-mono bg-black text-white", children: /* @__PURE__ */ k("div", { className: "p-4 relative", children: [
38479
38479
  /* @__PURE__ */ k("div", { className: "flex", children: [
38480
- /* @__PURE__ */ s(
38480
+ /* @__PURE__ */ c(
38481
38481
  Zr,
38482
38482
  {
38483
38483
  className: "w-[25%] min-w-[10rem]",
@@ -38491,7 +38491,7 @@ function Noe({
38491
38491
  }
38492
38492
  }
38493
38493
  ),
38494
- /* @__PURE__ */ s(
38494
+ /* @__PURE__ */ c(
38495
38495
  _e,
38496
38496
  {
38497
38497
  className: "ml-4 min-w-[2.5rem]",
@@ -38499,11 +38499,11 @@ function Noe({
38499
38499
  color: w.primary,
38500
38500
  variant: fe.stroked,
38501
38501
  size: we.sm,
38502
- onClick: () => S((A) => !A),
38502
+ onClick: () => x((A) => !A),
38503
38503
  children: y ? "⏸︎" : "▶"
38504
38504
  }
38505
38505
  ),
38506
- /* @__PURE__ */ s(
38506
+ /* @__PURE__ */ c(
38507
38507
  _e,
38508
38508
  {
38509
38509
  className: "ml-4 min-w-[5rem]",
@@ -38515,7 +38515,7 @@ function Noe({
38515
38515
  children: t("clear_session")
38516
38516
  }
38517
38517
  ),
38518
- /* @__PURE__ */ s(
38518
+ /* @__PURE__ */ c(
38519
38519
  _e,
38520
38520
  {
38521
38521
  className: "ml-auto min-w-[2.5rem] w-[2.5rem]",
@@ -38534,14 +38534,14 @@ function Noe({
38534
38534
  ref: o,
38535
38535
  className: "flex-1 font-mono text-sm text-[0.8rem] mt-4 h-[500px] overflow-y-auto",
38536
38536
  children: [
38537
- /* @__PURE__ */ s("div", { ref: n }),
38538
- N && /* @__PURE__ */ s("span", { className: "text-[var(--ods-color-error-200)]", children: t("error_get_url") }),
38537
+ /* @__PURE__ */ c("div", { ref: n }),
38538
+ W && /* @__PURE__ */ c("span", { className: "text-[var(--ods-color-error-200)]", children: t("error_get_url") }),
38539
38539
  !z && t("list_no_logs"),
38540
- /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(Soe, {}) })
38540
+ /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Soe, {}) })
38541
38541
  ]
38542
38542
  }
38543
38543
  ),
38544
- z && /* @__PURE__ */ s("div", { className: "flex py-2", children: /* @__PURE__ */ s(
38544
+ z && /* @__PURE__ */ c("div", { className: "flex py-2", children: /* @__PURE__ */ c(
38545
38545
  _e,
38546
38546
  {
38547
38547
  className: "ml-auto",
@@ -38549,8 +38549,8 @@ function Noe({
38549
38549
  color: w.primary,
38550
38550
  variant: fe.stroked,
38551
38551
  size: we.sm,
38552
- onClick: W,
38553
- children: /* @__PURE__ */ s(
38552
+ onClick: D,
38553
+ children: /* @__PURE__ */ c(
38554
38554
  ge,
38555
38555
  {
38556
38556
  name: be.ARROW_DOWN,
@@ -38568,7 +38568,7 @@ function Aoe({
38568
38568
  title: t,
38569
38569
  cancelText: n,
38570
38570
  submitText: o,
38571
- isPending: c,
38571
+ isPending: s,
38572
38572
  isDisabled: u,
38573
38573
  onConfirm: m,
38574
38574
  onClose: p,
@@ -38583,7 +38583,7 @@ function Aoe({
38583
38583
  "data-testid": "pciModal-modal",
38584
38584
  onOdsModalClose: p,
38585
38585
  children: [
38586
- /* @__PURE__ */ s("slot", { name: "content", children: c ? /* @__PURE__ */ s(
38586
+ /* @__PURE__ */ c("slot", { name: "content", children: s ? /* @__PURE__ */ c(
38587
38587
  Ae,
38588
38588
  {
38589
38589
  inline: !0,
@@ -38591,8 +38591,8 @@ function Aoe({
38591
38591
  className: "block text-center mt-6",
38592
38592
  "data-testid": "pciModal-spinner"
38593
38593
  }
38594
- ) : /* @__PURE__ */ s("div", { className: "mt-6", children: e }) }),
38595
- /* @__PURE__ */ s(
38594
+ ) : /* @__PURE__ */ c("div", { className: "mt-6", children: e }) }),
38595
+ /* @__PURE__ */ c(
38596
38596
  _e,
38597
38597
  {
38598
38598
  slot: "actions",
@@ -38603,7 +38603,7 @@ function Aoe({
38603
38603
  children: n || b("common_cancel")
38604
38604
  }
38605
38605
  ),
38606
- /* @__PURE__ */ s(
38606
+ /* @__PURE__ */ c(
38607
38607
  _e,
38608
38608
  {
38609
38609
  slot: "actions",
@@ -39375,38 +39375,38 @@ function Jn() {
39375
39375
  f.addResources("de_DE", "pci-common", vre), f.addResources("en_GB", "pci-common", ice), f.addResources("es_ES", "pci-common", Xde), f.addResources("fr_CA", "pci-common", Sue), f.addResources("fr_FR", "pci-common", g_e), f.addResources("it_IT", "pci-common", nhe), f.addResources("pl_PL", "pci-common", Ofe), f.addResources("pt_PT", "pci-common", xbe);
39376
39376
  }
39377
39377
  f.isInitialized ? Jn() : f.on("initialized", Jn);
39378
- function uDe({
39378
+ function lDe({
39379
39379
  children: e,
39380
39380
  type: a = "warning",
39381
39381
  title: t,
39382
39382
  cancelText: n,
39383
39383
  submitText: o,
39384
- isPending: c,
39384
+ isPending: s,
39385
39385
  onConfirm: u,
39386
39386
  onClose: m,
39387
39387
  onCancel: p,
39388
39388
  confirmationText: h,
39389
39389
  confirmationLabel: b
39390
39390
  }) {
39391
- const { t: v } = L("pci-common"), [y, S] = re({
39391
+ const { t: v } = L("pci-common"), [y, x] = re({
39392
39392
  deleteInput: "",
39393
39393
  error: 0,
39394
39394
  isTouched: !1
39395
- }), N = (A) => {
39396
- S({
39395
+ }), W = (A) => {
39396
+ x({
39397
39397
  ...y,
39398
39398
  deleteInput: A.detail.value
39399
39399
  });
39400
39400
  };
39401
39401
  pe(() => {
39402
- var x;
39402
+ var S;
39403
39403
  let A = null;
39404
- y.isTouched && !((x = y.deleteInput) != null && x.trim()) ? A = 1 : y.isTouched && y.deleteInput !== h ? A = 2 : A = 0, S({
39404
+ y.isTouched && !((S = y.deleteInput) != null && S.trim()) ? A = 1 : y.isTouched && y.deleteInput !== h ? A = 2 : A = 0, x({
39405
39405
  ...y,
39406
39406
  error: A
39407
39407
  });
39408
39408
  }, [y.deleteInput, y.isTouched]);
39409
- const z = c || h && y.deleteInput !== h, W = {
39409
+ const z = s || h && y.deleteInput !== h, D = {
39410
39410
  1: v("common_field_error_required"),
39411
39411
  2: v("common_field_error_pattern"),
39412
39412
  0: ""
@@ -39416,7 +39416,7 @@ function uDe({
39416
39416
  {
39417
39417
  title: t,
39418
39418
  type: a || "warning",
39419
- isPending: c,
39419
+ isPending: s,
39420
39420
  isDisabled: z,
39421
39421
  cancelText: n,
39422
39422
  submitText: o,
@@ -39430,9 +39430,9 @@ function uDe({
39430
39430
  {
39431
39431
  class: "mt-6",
39432
39432
  "data-testid": "delete-formField",
39433
- error: W,
39433
+ error: D,
39434
39434
  children: [
39435
- /* @__PURE__ */ s(
39435
+ /* @__PURE__ */ c(
39436
39436
  T,
39437
39437
  {
39438
39438
  slot: "label",
@@ -39442,16 +39442,16 @@ function uDe({
39442
39442
  children: b
39443
39443
  }
39444
39444
  ),
39445
- /* @__PURE__ */ s(
39445
+ /* @__PURE__ */ c(
39446
39446
  vo,
39447
39447
  {
39448
39448
  value: y.deleteInput,
39449
39449
  type: wo.text,
39450
39450
  "data-testid": "delete-input",
39451
- onOdsValueChange: N,
39452
- className: W ? "bg-red-100 border-red-500 text-red-500 focus:text-red-500" : "border-color-[var(--ods-color-default-200)] bg-white",
39451
+ onOdsValueChange: W,
39452
+ className: D ? "bg-red-100 border-red-500 text-red-500 focus:text-red-500" : "border-color-[var(--ods-color-default-200)] bg-white",
39453
39453
  onOdsInputBlur: () => {
39454
- S({
39454
+ x({
39455
39455
  ...y,
39456
39456
  isTouched: !0
39457
39457
  });
@@ -39622,13 +39622,13 @@ function _we() {
39622
39622
  const { t: e } = L("pci-bytes");
39623
39623
  return { formatBytes: (t, n = 0, o = 1e3) => {
39624
39624
  if (!+t) return 0;
39625
- const c = Math.floor(Math.log(t) / Math.log(o));
39626
- return `${parseFloat((t / o ** c).toFixed(n))} ${e(
39627
- `unit_size_${mwe[o][c]}`
39625
+ const s = Math.floor(Math.log(t) / Math.log(o));
39626
+ return `${parseFloat((t / o ** s).toFixed(n))} ${e(
39627
+ `unit_size_${mwe[o][s]}`
39628
39628
  )}`;
39629
39629
  } };
39630
39630
  }
39631
- const mDe = () => {
39631
+ const uDe = () => {
39632
39632
  const { projectId: e } = Ot(), a = J(Me).shell.navigation, [t, n] = re("");
39633
39633
  return pe(() => {
39634
39634
  a.getURL("public-cloud", `#/pci/projects/${e}`, {}).then((o) => {
@@ -39787,9 +39787,9 @@ function hPe() {
39787
39787
  };
39788
39788
  const { price: p, tax: h } = u, b = m == null ? void 0 : m.decimals, v = (m == null ? void 0 : m.intervalUnit) || u.intervalUnit !== "none" && u.interval > 0, y = a(
39789
39789
  `order_catalog_price_interval_${(m == null ? void 0 : m.intervalUnit) || u.intervalUnit}`
39790
- ), S = v ? `${u.interval > 1 ? `${u.interval} ` : ""}${y}` : "", N = mPe.includes(t.ovhSubsidiary), z = _Pe.includes(t.ovhSubsidiary), W = pPe.includes(t.ovhSubsidiary);
39791
- if (N || z) {
39792
- const A = N ? "gst" : "tax";
39790
+ ), x = v ? `${u.interval > 1 ? `${u.interval} ` : ""}${y}` : "", W = mPe.includes(t.ovhSubsidiary), z = _Pe.includes(t.ovhSubsidiary), D = pPe.includes(t.ovhSubsidiary);
39791
+ if (W || z) {
39792
+ const A = W ? "gst" : "tax";
39793
39793
  return {
39794
39794
  primary: a(`order_catalog_price_${A}_excl_label`, {
39795
39795
  price: n(p, { decimals: b })
@@ -39797,15 +39797,15 @@ function hPe() {
39797
39797
  secondary: a(`order_catalog_price_${A}_incl_label`, {
39798
39798
  price: n(p + h, { decimals: b })
39799
39799
  }),
39800
- interval: S
39800
+ interval: x
39801
39801
  };
39802
39802
  }
39803
- return W ? {
39803
+ return D ? {
39804
39804
  primary: n(p + h, { decimals: b }),
39805
- interval: S
39805
+ interval: x
39806
39806
  } : {
39807
39807
  primary: n(p, { decimals: b }),
39808
- interval: S
39808
+ interval: x
39809
39809
  };
39810
39810
  };
39811
39811
  return {
@@ -39818,7 +39818,7 @@ function hPe() {
39818
39818
  }
39819
39819
  };
39820
39820
  }
39821
- const _De = (...e) => {
39821
+ const mDe = (...e) => {
39822
39822
  const a = Ot();
39823
39823
  return e.reduce((t, n) => {
39824
39824
  const o = a[n];
@@ -39827,7 +39827,7 @@ const _De = (...e) => {
39827
39827
  return t[n] = o, t;
39828
39828
  }, {});
39829
39829
  };
39830
- function pDe(e) {
39830
+ function _De(e) {
39831
39831
  const a = J(Ea);
39832
39832
  return Z(() => ({ ...a || {}, ...e || {} }), [a, e]);
39833
39833
  }
@@ -39886,14 +39886,14 @@ function ao({
39886
39886
  }) {
39887
39887
  const { t: a } = L("pci-flavors"), { ovhSubsidiary: t } = J(Me).environment.getUser(), n = (o) => to[o][t] || to[o].DEFAULT;
39888
39888
  return /* @__PURE__ */ k(Xt, { children: [
39889
- /* @__PURE__ */ s("span", { slot: "popover-trigger", children: /* @__PURE__ */ k(
39889
+ /* @__PURE__ */ c("span", { slot: "popover-trigger", children: /* @__PURE__ */ k(
39890
39890
  qt,
39891
39891
  {
39892
39892
  color: e ? w.error : w.primary,
39893
39893
  size: va.sm,
39894
39894
  onClick: (o) => o.stopPropagation(),
39895
39895
  children: [
39896
- /* @__PURE__ */ s(
39896
+ /* @__PURE__ */ c(
39897
39897
  T,
39898
39898
  {
39899
39899
  color: w.primary,
@@ -39902,7 +39902,7 @@ function ao({
39902
39902
  children: a(e ? "pci_project_flavors_zone_localzone" : "pci_project_flavors_zone_global_region")
39903
39903
  }
39904
39904
  ),
39905
- /* @__PURE__ */ s(
39905
+ /* @__PURE__ */ c(
39906
39906
  ge,
39907
39907
  {
39908
39908
  name: be.HELP,
@@ -39915,7 +39915,7 @@ function ao({
39915
39915
  }
39916
39916
  ) }),
39917
39917
  /* @__PURE__ */ k(Bt, { children: [
39918
- /* @__PURE__ */ s(
39918
+ /* @__PURE__ */ c(
39919
39919
  T,
39920
39920
  {
39921
39921
  color: w.text,
@@ -39924,7 +39924,7 @@ function ao({
39924
39924
  }
39925
39925
  ),
39926
39926
  " ",
39927
- /* @__PURE__ */ s(
39927
+ /* @__PURE__ */ c(
39928
39928
  uo,
39929
39929
  {
39930
39930
  "tab-index": "-1",
@@ -39944,41 +39944,41 @@ function yPe({
39944
39944
  flavorCompatibility: t,
39945
39945
  flavorPrice: n,
39946
39946
  isNewFlavor: o,
39947
- isSelected: c,
39947
+ isSelected: s,
39948
39948
  hasEnoughQuota: u,
39949
39949
  onClick: m
39950
39950
  }) {
39951
- var S, N;
39951
+ var x, W;
39952
39952
  const { t: p } = L("pci-flavors"), { formatBytes: h } = _we(), { getTextPrice: b, getFormattedHourlyCatalogPrice: v } = Ir(4, {
39953
39953
  exclVat: !0
39954
39954
  }), y = Rr("public-cloud");
39955
- return /* @__PURE__ */ s(
39955
+ return /* @__PURE__ */ c(
39956
39956
  yt,
39957
39957
  {
39958
- className: B(
39959
- c ? bPe : vPe,
39958
+ className: X(
39959
+ s ? bPe : vPe,
39960
39960
  !u && "opacity-50"
39961
39961
  ),
39962
- checked: c,
39962
+ checked: s,
39963
39963
  onClick: () => u && (m == null ? void 0 : m()),
39964
39964
  children: /* @__PURE__ */ k("div", { className: "w-full", children: [
39965
39965
  /* @__PURE__ */ k("div", { className: "flex justify-between", children: [
39966
- /* @__PURE__ */ s(
39966
+ /* @__PURE__ */ c(
39967
39967
  T,
39968
39968
  {
39969
39969
  level: O.body,
39970
39970
  size: Q._400,
39971
39971
  color: w.text,
39972
- children: /* @__PURE__ */ s("span", { className: B(c && "font-bold"), children: e })
39972
+ children: /* @__PURE__ */ c("span", { className: X(s && "font-bold"), children: e })
39973
39973
  }
39974
39974
  ),
39975
- o && /* @__PURE__ */ s(
39975
+ o && /* @__PURE__ */ c(
39976
39976
  qt,
39977
39977
  {
39978
39978
  color: w.info,
39979
39979
  size: va.sm,
39980
39980
  inline: !0,
39981
- children: /* @__PURE__ */ s(
39981
+ children: /* @__PURE__ */ c(
39982
39982
  T,
39983
39983
  {
39984
39984
  color: w.primary,
@@ -39990,8 +39990,8 @@ function yPe({
39990
39990
  }
39991
39991
  )
39992
39992
  ] }),
39993
- /* @__PURE__ */ s("hr", { className: Et }),
39994
- /* @__PURE__ */ s(
39993
+ /* @__PURE__ */ c("hr", { className: Et }),
39994
+ /* @__PURE__ */ c(
39995
39995
  T,
39996
39996
  {
39997
39997
  level: O.body,
@@ -40000,7 +40000,7 @@ function yPe({
40000
40000
  children: p("pci_project_flavors_spec_ram", { ram: `${a.ram} GB` })
40001
40001
  }
40002
40002
  ),
40003
- /* @__PURE__ */ s(
40003
+ /* @__PURE__ */ c(
40004
40004
  T,
40005
40005
  {
40006
40006
  className: "block",
@@ -40013,7 +40013,7 @@ function yPe({
40013
40013
  })
40014
40014
  }
40015
40015
  ),
40016
- (S = a.disk) == null ? void 0 : S.map((z, W) => /* @__PURE__ */ k(
40016
+ (x = a.disk) == null ? void 0 : x.map((z, D) => /* @__PURE__ */ k(
40017
40017
  T,
40018
40018
  {
40019
40019
  className: "block",
@@ -40026,9 +40026,9 @@ function yPe({
40026
40026
  ` ${z.technology}`
40027
40027
  ]
40028
40028
  },
40029
- W
40029
+ D
40030
40030
  )),
40031
- (N = a.nvme) == null ? void 0 : N.map((z, W) => /* @__PURE__ */ k(
40031
+ (W = a.nvme) == null ? void 0 : W.map((z, D) => /* @__PURE__ */ k(
40032
40032
  T,
40033
40033
  {
40034
40034
  className: "block",
@@ -40041,9 +40041,9 @@ function yPe({
40041
40041
  " NVMe"
40042
40042
  ]
40043
40043
  },
40044
- W
40044
+ D
40045
40045
  )),
40046
- /* @__PURE__ */ s(
40046
+ /* @__PURE__ */ c(
40047
40047
  T,
40048
40048
  {
40049
40049
  className: "block",
@@ -40068,8 +40068,8 @@ function yPe({
40068
40068
  ]
40069
40069
  }
40070
40070
  ),
40071
- /* @__PURE__ */ s("hr", { className: Et }),
40072
- /* @__PURE__ */ s(
40071
+ /* @__PURE__ */ c("hr", { className: Et }),
40072
+ /* @__PURE__ */ c(
40073
40073
  T,
40074
40074
  {
40075
40075
  level: O.body,
@@ -40079,11 +40079,11 @@ function yPe({
40079
40079
  }
40080
40080
  ),
40081
40081
  /* @__PURE__ */ k("div", { className: "flex gap-4 mt-3", children: [
40082
- t.localzone && /* @__PURE__ */ s(ao, { isLocalZone: !0 }),
40083
- t.globalzone && /* @__PURE__ */ s(ao, { isLocalZone: !1 })
40082
+ t.localzone && /* @__PURE__ */ c(ao, { isLocalZone: !0 }),
40083
+ t.globalzone && /* @__PURE__ */ c(ao, { isLocalZone: !1 })
40084
40084
  ] }),
40085
- /* @__PURE__ */ s("hr", { className: Et }),
40086
- n.monthly && /* @__PURE__ */ s(
40085
+ /* @__PURE__ */ c("hr", { className: Et }),
40086
+ n.monthly && /* @__PURE__ */ c(
40087
40087
  T,
40088
40088
  {
40089
40089
  className: "block",
@@ -40095,7 +40095,7 @@ function yPe({
40095
40095
  })
40096
40096
  }
40097
40097
  ),
40098
- /* @__PURE__ */ s(
40098
+ /* @__PURE__ */ c(
40099
40099
  T,
40100
40100
  {
40101
40101
  level: O.body,
@@ -40105,8 +40105,8 @@ function yPe({
40105
40105
  }
40106
40106
  ),
40107
40107
  !u && /* @__PURE__ */ k(oe, { children: [
40108
- /* @__PURE__ */ s("hr", { className: Et }),
40109
- /* @__PURE__ */ s(
40108
+ /* @__PURE__ */ c("hr", { className: Et }),
40109
+ /* @__PURE__ */ c(
40110
40110
  T,
40111
40111
  {
40112
40112
  level: O.body,
@@ -40115,13 +40115,13 @@ function yPe({
40115
40115
  children: p("pci_project_flavors_quota_info")
40116
40116
  }
40117
40117
  ),
40118
- /* @__PURE__ */ s(
40118
+ /* @__PURE__ */ c(
40119
40119
  wt,
40120
40120
  {
40121
40121
  className: "ml-3",
40122
40122
  color: w.primary,
40123
40123
  href: `${y}/quota`,
40124
- children: /* @__PURE__ */ s(
40124
+ children: /* @__PURE__ */ c(
40125
40125
  T,
40126
40126
  {
40127
40127
  level: O.body,
@@ -40382,27 +40382,27 @@ function oo() {
40382
40382
  f.addResources("de_DE", "pci-flavors", KPe), f.addResources("en_GB", "pci-flavors", z1e), f.addResources("es_ES", "pci-flavors", ake), f.addResources("fr_CA", "pci-flavors", Nke), f.addResources("fr_FR", "pci-flavors", cMe), f.addResources("it_IT", "pci-flavors", LMe), f.addResources("pl_PL", "pci-flavors", pze), f.addResources("pt_PT", "pci-flavors", qze);
40383
40383
  }
40384
40384
  f.isInitialized ? oo() : f.on("initialized", oo);
40385
- function hDe({
40385
+ function pDe({
40386
40386
  projectId: e,
40387
40387
  region: a,
40388
40388
  onSelect: t
40389
40389
  }) {
40390
- const { mergedFlavors: n, isPending: o } = Ws(e, a), [c, u] = re(null);
40391
- return o ? /* @__PURE__ */ s(Ae, { inline: !0, size: Te.md }) : /* @__PURE__ */ s(
40390
+ const { mergedFlavors: n, isPending: o } = Ws(e, a), [s, u] = re(null);
40391
+ return o ? /* @__PURE__ */ c(Ae, { inline: !0, size: Te.md }) : /* @__PURE__ */ c(
40392
40392
  _o,
40393
40393
  {
40394
40394
  items: $s,
40395
40395
  itemKey: ({ category: m }) => m,
40396
- titleElement: (m, p) => /* @__PURE__ */ s(
40396
+ titleElement: (m, p) => /* @__PURE__ */ c(
40397
40397
  T,
40398
40398
  {
40399
40399
  breakSpaces: !1,
40400
40400
  size: Q._600,
40401
40401
  color: p ? w.text : w.primary,
40402
- children: /* @__PURE__ */ s(
40402
+ children: /* @__PURE__ */ c(
40403
40403
  "span",
40404
40404
  {
40405
- className: B(
40405
+ className: X(
40406
40406
  p && "font-bold",
40407
40407
  "whitespace-nowrap text-lg"
40408
40408
  ),
@@ -40411,9 +40411,9 @@ function hDe({
40411
40411
  )
40412
40412
  }
40413
40413
  ),
40414
- contentElement: (m) => /* @__PURE__ */ s("div", { className: "grid gap-6 p-6 grid-cols-1 md:grid-cols-2 xl:grid-cols-4", children: n.filter((p) => p.flavorCategory === m.category).map((p) => {
40415
- var h, b, v, y, S, N, z;
40416
- return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(
40414
+ contentElement: (m) => /* @__PURE__ */ c("div", { className: "grid gap-6 p-6 grid-cols-1 md:grid-cols-2 xl:grid-cols-4", children: n.filter((p) => p.flavorCategory === m.category).map((p) => {
40415
+ var h, b, v, y, x, W, z;
40416
+ return /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(
40417
40417
  yPe,
40418
40418
  {
40419
40419
  flavorName: p.name.toUpperCase(),
@@ -40425,15 +40425,15 @@ function hDe({
40425
40425
  nvme: (b = p.blobs.technical.nvme) == null ? void 0 : b.disks,
40426
40426
  bandwidth: (v = p.blobs.technical.bandwidth) == null ? void 0 : v.level,
40427
40427
  gpuNumber: (y = p.blobs.technical.gpu) == null ? void 0 : y.number,
40428
- gpuModel: (S = p.blobs.technical.gpu) == null ? void 0 : S.model
40428
+ gpuModel: (x = p.blobs.technical.gpu) == null ? void 0 : x.model
40429
40429
  },
40430
40430
  flavorCompatibility: p.compatibility,
40431
40431
  flavorPrice: {
40432
- hourly: (N = p.pricingsHourly) == null ? void 0 : N.price,
40432
+ hourly: (W = p.pricingsHourly) == null ? void 0 : W.price,
40433
40433
  monthly: (z = p.pricingsMonthly) == null ? void 0 : z.price
40434
40434
  },
40435
40435
  isNewFlavor: p.isNew,
40436
- isSelected: p === c,
40436
+ isSelected: p === s,
40437
40437
  hasEnoughQuota: p.hasEnoughQuota,
40438
40438
  onClick: () => {
40439
40439
  u(p), t(p);
@@ -40481,27 +40481,27 @@ function io() {
40481
40481
  f.addResources("de_DE", "pci-quantity-selector", Yze), f.addResources("en_GB", "pci-quantity-selector", Jze), f.addResources("es_ES", "pci-quantity-selector", aje), f.addResources("fr_CA", "pci-quantity-selector", rje), f.addResources("fr_FR", "pci-quantity-selector", lje), f.addResources("it_IT", "pci-quantity-selector", pje), f.addResources("pl_PL", "pci-quantity-selector", bje), f.addResources("pt_PT", "pci-quantity-selector", $je);
40482
40482
  }
40483
40483
  f.isInitialized ? io() : f.on("initialized", io);
40484
- function fDe({
40484
+ function hDe({
40485
40485
  label: e,
40486
40486
  labelHelpText: a,
40487
40487
  description: t,
40488
40488
  value: n,
40489
40489
  onValueChange: o,
40490
- min: c,
40490
+ min: s,
40491
40491
  max: u,
40492
40492
  className: m,
40493
40493
  contentClassName: p,
40494
40494
  ...h
40495
40495
  }) {
40496
40496
  const { t: b } = L("pci-quantity-selector"), [, v] = re(0), y = {
40497
- min: c !== void 0 && n < c,
40497
+ min: s !== void 0 && n < s,
40498
40498
  max: u !== void 0 && n > u,
40499
40499
  nan: Number.isNaN(n)
40500
- }, S = !y.min && !y.max && !y.nan, N = () => v((z) => z + 1);
40501
- return pe(N, [c, u]), /* @__PURE__ */ k(bo, { className: m, inline: !0, ...h, children: [
40500
+ }, x = !y.min && !y.max && !y.nan, W = () => v((z) => z + 1);
40501
+ return pe(W, [s, u]), /* @__PURE__ */ k(bo, { className: m, inline: !0, ...h, children: [
40502
40502
  /* @__PURE__ */ k("div", { className: p, children: [
40503
40503
  /* @__PURE__ */ k("div", { slot: "label", className: "flex gap-2", children: [
40504
- e && /* @__PURE__ */ s(
40504
+ e && /* @__PURE__ */ c(
40505
40505
  T,
40506
40506
  {
40507
40507
  color: w.text,
@@ -40510,7 +40510,7 @@ function fDe({
40510
40510
  }
40511
40511
  ),
40512
40512
  a && /* @__PURE__ */ k(Xt, { className: "w-4 h-4", children: [
40513
- /* @__PURE__ */ s(
40513
+ /* @__PURE__ */ c(
40514
40514
  ge,
40515
40515
  {
40516
40516
  slot: "popover-trigger",
@@ -40520,10 +40520,10 @@ function fDe({
40520
40520
  color: w.text
40521
40521
  }
40522
40522
  ),
40523
- /* @__PURE__ */ s(Bt, { children: a })
40523
+ /* @__PURE__ */ c(Bt, { children: a })
40524
40524
  ] })
40525
40525
  ] }),
40526
- t && /* @__PURE__ */ s(
40526
+ t && /* @__PURE__ */ c(
40527
40527
  T,
40528
40528
  {
40529
40529
  color: w.text,
@@ -40533,7 +40533,7 @@ function fDe({
40533
40533
  }
40534
40534
  ),
40535
40535
  /* @__PURE__ */ k(Qr, { children: [
40536
- /* @__PURE__ */ s(
40536
+ /* @__PURE__ */ c(
40537
40537
  _e,
40538
40538
  {
40539
40539
  slot: "minus",
@@ -40542,8 +40542,8 @@ function fDe({
40542
40542
  size: we.sm,
40543
40543
  "data-testid": "quantity-button-minus",
40544
40544
  "text-align": "center",
40545
- disabled: c !== void 0 && n - 1 < c ? !0 : void 0,
40546
- children: /* @__PURE__ */ s(
40545
+ disabled: s !== void 0 && n - 1 < s ? !0 : void 0,
40546
+ children: /* @__PURE__ */ c(
40547
40547
  ge,
40548
40548
  {
40549
40549
  name: be.MINUS,
@@ -40553,20 +40553,20 @@ function fDe({
40553
40553
  )
40554
40554
  }
40555
40555
  ),
40556
- /* @__PURE__ */ s(
40556
+ /* @__PURE__ */ c(
40557
40557
  vo,
40558
40558
  {
40559
40559
  type: wo.number,
40560
40560
  value: n,
40561
- color: S ? w.primary : w.error,
40561
+ color: x ? w.primary : w.error,
40562
40562
  onOdsValueChange: (z) => {
40563
- N(), o(Number(z.detail.value));
40563
+ W(), o(Number(z.detail.value));
40564
40564
  },
40565
- min: c,
40565
+ min: s,
40566
40566
  max: u
40567
40567
  }
40568
40568
  ),
40569
- /* @__PURE__ */ s(
40569
+ /* @__PURE__ */ c(
40570
40570
  _e,
40571
40571
  {
40572
40572
  slot: "plus",
@@ -40576,7 +40576,7 @@ function fDe({
40576
40576
  "data-testid": "quantity-button-plus",
40577
40577
  "text-align": "center",
40578
40578
  disabled: u !== void 0 && n + 1 > u ? !0 : void 0,
40579
- children: /* @__PURE__ */ s(
40579
+ children: /* @__PURE__ */ c(
40580
40580
  ge,
40581
40581
  {
40582
40582
  className: "bg-white",
@@ -40588,22 +40588,22 @@ function fDe({
40588
40588
  )
40589
40589
  ] })
40590
40590
  ] }),
40591
- y.min && /* @__PURE__ */ s(T, { color: w.error, slot: "helper", children: b("common_field_error_min", { min: c }) }),
40592
- y.max && /* @__PURE__ */ s(T, { color: w.error, slot: "helper", children: b("common_field_error_max", { max: u }) }),
40593
- y.nan && /* @__PURE__ */ s(T, { color: w.error, slot: "helper", children: b("common_field_error_number") })
40591
+ y.min && /* @__PURE__ */ c(T, { color: w.error, slot: "helper", children: b("common_field_error_min", { min: s }) }),
40592
+ y.max && /* @__PURE__ */ c(T, { color: w.error, slot: "helper", children: b("common_field_error_max", { max: u }) }),
40593
+ y.nan && /* @__PURE__ */ c(T, { color: w.error, slot: "helper", children: b("common_field_error_number") })
40594
40594
  ] });
40595
40595
  }
40596
- function gDe({ pricing: e, options: a }) {
40596
+ function fDe({ pricing: e, options: a }) {
40597
40597
  const { getPriceDetails: t } = hPe(), n = Z(() => e && t(e, a), [
40598
40598
  e,
40599
40599
  a,
40600
40600
  t
40601
40601
  ]);
40602
40602
  return n ? /* @__PURE__ */ k("span", { children: [
40603
- /* @__PURE__ */ s("span", { className: B((n == null ? void 0 : n.secondary) && "font-bold"), children: n == null ? void 0 : n.primary }),
40603
+ /* @__PURE__ */ c("span", { className: X((n == null ? void 0 : n.secondary) && "font-bold"), children: n == null ? void 0 : n.primary }),
40604
40604
  (n == null ? void 0 : n.secondary) && ` (${n == null ? void 0 : n.secondary})`,
40605
40605
  (n == null ? void 0 : n.interval) && ` / ${n == null ? void 0 : n.interval}`
40606
- ] }) : /* @__PURE__ */ s(ba, { "data-testid": "loading" });
40606
+ ] }) : /* @__PURE__ */ c(ba, { "data-testid": "loading" });
40607
40607
  }
40608
40608
  var Vt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
40609
40609
  function Pje(e) {
@@ -40612,8 +40612,8 @@ function Pje(e) {
40612
40612
  var It = { exports: {} };
40613
40613
  It.exports;
40614
40614
  (function(e, a) {
40615
- var t = 200, n = "__lodash_hash_undefined__", o = 1, c = 2, u = 9007199254740991, m = "[object Arguments]", p = "[object Array]", h = "[object AsyncFunction]", b = "[object Boolean]", v = "[object Date]", y = "[object Error]", S = "[object Function]", N = "[object GeneratorFunction]", z = "[object Map]", W = "[object Number]", A = "[object Null]", x = "[object Object]", P = "[object Promise]", E = "[object Proxy]", M = "[object RegExp]", D = "[object Set]", U = "[object String]", ee = "[object Symbol]", je = "[object Undefined]", ae = "[object WeakMap]", Ha = "[object ArrayBuffer]", kt = "[object DataView]", ci = "[object Float32Array]", di = "[object Float64Array]", li = "[object Int8Array]", ui = "[object Int16Array]", mi = "[object Int32Array]", _i = "[object Uint8Array]", pi = "[object Uint8ClampedArray]", hi = "[object Uint16Array]", fi = "[object Uint32Array]", gi = /[\\^$.*+?()[\]{}|]/g, bi = /^\[object .+?Constructor\]$/, vi = /^(?:0|[1-9]\d*)$/, I = {};
40616
- I[ci] = I[di] = I[li] = I[ui] = I[mi] = I[_i] = I[pi] = I[hi] = I[fi] = !0, I[m] = I[p] = I[Ha] = I[b] = I[kt] = I[v] = I[y] = I[S] = I[z] = I[W] = I[x] = I[M] = I[D] = I[U] = I[ae] = !1;
40615
+ var t = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, u = 9007199254740991, m = "[object Arguments]", p = "[object Array]", h = "[object AsyncFunction]", b = "[object Boolean]", v = "[object Date]", y = "[object Error]", x = "[object Function]", W = "[object GeneratorFunction]", z = "[object Map]", D = "[object Number]", A = "[object Null]", S = "[object Object]", P = "[object Promise]", E = "[object Proxy]", M = "[object RegExp]", N = "[object Set]", U = "[object String]", ee = "[object Symbol]", je = "[object Undefined]", ae = "[object WeakMap]", Ha = "[object ArrayBuffer]", kt = "[object DataView]", ci = "[object Float32Array]", di = "[object Float64Array]", li = "[object Int8Array]", ui = "[object Int16Array]", mi = "[object Int32Array]", _i = "[object Uint8Array]", pi = "[object Uint8ClampedArray]", hi = "[object Uint16Array]", fi = "[object Uint32Array]", gi = /[\\^$.*+?()[\]{}|]/g, bi = /^\[object .+?Constructor\]$/, vi = /^(?:0|[1-9]\d*)$/, I = {};
40616
+ I[ci] = I[di] = I[li] = I[ui] = I[mi] = I[_i] = I[pi] = I[hi] = I[fi] = !0, I[m] = I[p] = I[Ha] = I[b] = I[kt] = I[v] = I[y] = I[x] = I[z] = I[D] = I[S] = I[M] = I[N] = I[U] = I[ae] = !1;
40617
40617
  var Fa = typeof Vt == "object" && Vt && Vt.Object === Object && Vt, yi = typeof self == "object" && self && self.Object === Object && self, xe = Fa || yi || Function("return this")(), Ia = a && !a.nodeType && a, Ra = Ia && !0 && e && !e.nodeType && e, Oa = Ra && Ra.exports === Ia, Yt = Oa && Fa.process, qa = function() {
40618
40618
  try {
40619
40619
  return Yt && Yt.binding && Yt.binding("util");
@@ -40808,12 +40808,12 @@ It.exports;
40808
40808
  Ce.prototype.clear = ir, Ce.prototype.delete = rr, Ce.prototype.get = sr, Ce.prototype.has = cr, Ce.prototype.set = dr;
40809
40809
  function lr(l, _) {
40810
40810
  var g = Dt(l), j = !g && Mr(l), R = !g && !j && ta(l), C = !g && !j && !R && dn(l), G = g || j || R || C, te = G ? ki(l.length, String) : [], ne = te.length;
40811
- for (var X in l)
40812
- We.call(l, X) && !(G && // Safari 9 has enumerable `arguments.length` in strict mode.
40813
- (X == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
40814
- R && (X == "offset" || X == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
40815
- C && (X == "buffer" || X == "byteLength" || X == "byteOffset") || // Skip index properties.
40816
- yr(X, ne))) && te.push(X);
40811
+ for (var B in l)
40812
+ We.call(l, B) && !(G && // Safari 9 has enumerable `arguments.length` in strict mode.
40813
+ (B == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
40814
+ R && (B == "offset" || B == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
40815
+ C && (B == "buffer" || B == "byteLength" || B == "byteOffset") || // Skip index properties.
40816
+ yr(B, ne))) && te.push(B);
40817
40817
  return te;
40818
40818
  }
40819
40819
  function Wt(l, _) {
@@ -40836,9 +40836,9 @@ It.exports;
40836
40836
  return l === _ ? !0 : l == null || _ == null || !mt(l) && !mt(_) ? l !== l && _ !== _ : mr(l, _, g, j, tn, R);
40837
40837
  }
40838
40838
  function mr(l, _, g, j, R, C) {
40839
- var G = Dt(l), te = Dt(_), ne = G ? p : Ee(l), X = te ? p : Ee(_);
40840
- ne = ne == m ? x : ne, X = X == m ? x : X;
40841
- var ye = ne == x, ze = X == x, ie = ne == X;
40839
+ var G = Dt(l), te = Dt(_), ne = G ? p : Ee(l), B = te ? p : Ee(_);
40840
+ ne = ne == m ? S : ne, B = B == m ? S : B;
40841
+ var ye = ne == S, ze = B == S, ie = ne == B;
40842
40842
  if (ie && ta(l)) {
40843
40843
  if (!ta(_))
40844
40844
  return !1;
@@ -40876,10 +40876,10 @@ It.exports;
40876
40876
  var G = g & o, te = l.length, ne = _.length;
40877
40877
  if (te != ne && !(G && ne > te))
40878
40878
  return !1;
40879
- var X = C.get(l);
40880
- if (X && C.get(_))
40881
- return X == _;
40882
- var ye = -1, ze = !0, ie = g & c ? new jt() : void 0;
40879
+ var B = C.get(l);
40880
+ if (B && C.get(_))
40881
+ return B == _;
40882
+ var ye = -1, ze = !0, ie = g & s ? new jt() : void 0;
40883
40883
  for (C.set(l, _), C.set(_, l); ++ye < te; ) {
40884
40884
  var Pe = l[ye], ke = _[ye];
40885
40885
  if (j)
@@ -40915,7 +40915,7 @@ It.exports;
40915
40915
  return !(l.byteLength != _.byteLength || !C(new Ka(l), new Ka(_)));
40916
40916
  case b:
40917
40917
  case v:
40918
- case W:
40918
+ case D:
40919
40919
  return on(+l, +_);
40920
40920
  case y:
40921
40921
  return l.name == _.name && l.message == _.message;
@@ -40924,14 +40924,14 @@ It.exports;
40924
40924
  return l == _ + "";
40925
40925
  case z:
40926
40926
  var te = Wi;
40927
- case D:
40927
+ case N:
40928
40928
  var ne = j & o;
40929
40929
  if (te || (te = Di), l.size != _.size && !ne)
40930
40930
  return !1;
40931
- var X = G.get(l);
40932
- if (X)
40933
- return X == _;
40934
- j |= c, G.set(l, _);
40931
+ var B = G.get(l);
40932
+ if (B)
40933
+ return B == _;
40934
+ j |= s, G.set(l, _);
40935
40935
  var ye = an(te(l), te(_), j, R, C, G);
40936
40936
  return G.delete(l), ye;
40937
40937
  case ee:
@@ -40941,7 +40941,7 @@ It.exports;
40941
40941
  return !1;
40942
40942
  }
40943
40943
  function gr(l, _, g, j, R, C) {
40944
- var G = g & o, te = nn(l), ne = te.length, X = nn(_), ye = X.length;
40944
+ var G = g & o, te = nn(l), ne = te.length, B = nn(_), ye = B.length;
40945
40945
  if (ne != ye && !G)
40946
40946
  return !1;
40947
40947
  for (var ze = ne; ze--; ) {
@@ -40997,8 +40997,8 @@ It.exports;
40997
40997
  return Qa.call(l, _);
40998
40998
  }));
40999
40999
  } : xr, Ee = ut;
41000
- (Kt && Ee(new Kt(new ArrayBuffer(1))) != kt || dt && Ee(new dt()) != z || Qt && Ee(Qt.resolve()) != P || Jt && Ee(new Jt()) != D || Ut && Ee(new Ut()) != ae) && (Ee = function(l) {
41001
- var _ = ut(l), g = _ == x ? l.constructor : void 0, j = g ? Be(g) : "";
41000
+ (Kt && Ee(new Kt(new ArrayBuffer(1))) != kt || dt && Ee(new dt()) != z || Qt && Ee(Qt.resolve()) != P || Jt && Ee(new Jt()) != N || Ut && Ee(new Ut()) != ae) && (Ee = function(l) {
41001
+ var _ = ut(l), g = _ == S ? l.constructor : void 0, j = g ? Be(g) : "";
41002
41002
  if (j)
41003
41003
  switch (j) {
41004
41004
  case Vi:
@@ -41008,7 +41008,7 @@ It.exports;
41008
41008
  case Hi:
41009
41009
  return P;
41010
41010
  case Fi:
41011
- return D;
41011
+ return N;
41012
41012
  case Ii:
41013
41013
  return ae;
41014
41014
  }
@@ -41063,7 +41063,7 @@ It.exports;
41063
41063
  if (!cn(l))
41064
41064
  return !1;
41065
41065
  var _ = ut(l);
41066
- return _ == S || _ == N || _ == h || _ == E;
41066
+ return _ == x || _ == W || _ == h || _ == E;
41067
41067
  }
41068
41068
  function sn(l) {
41069
41069
  return typeof l == "number" && l > -1 && l % 1 == 0 && l <= u;
@@ -41092,44 +41092,44 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41092
41092
  item: e,
41093
41093
  isItemSelected: a,
41094
41094
  isMobile: t
41095
- }) => /* @__PURE__ */ s("div", { className: "w-full", children: /* @__PURE__ */ s("table", { className: "w-full", children: /* @__PURE__ */ k("tbody", { children: [
41095
+ }) => /* @__PURE__ */ c("div", { className: "w-full", children: /* @__PURE__ */ c("table", { className: "w-full", children: /* @__PURE__ */ k("tbody", { children: [
41096
41096
  /* @__PURE__ */ k("tr", { children: [
41097
- /* @__PURE__ */ s("td", { children: "item:" }),
41098
- /* @__PURE__ */ s("td", { children: String(e) })
41097
+ /* @__PURE__ */ c("td", { children: "item:" }),
41098
+ /* @__PURE__ */ c("td", { children: String(e) })
41099
41099
  ] }),
41100
41100
  /* @__PURE__ */ k("tr", { children: [
41101
- /* @__PURE__ */ s("td", { children: "isItemSelected:" }),
41102
- /* @__PURE__ */ s("td", { children: a ? "true" : "false" })
41101
+ /* @__PURE__ */ c("td", { children: "isItemSelected:" }),
41102
+ /* @__PURE__ */ c("td", { children: a ? "true" : "false" })
41103
41103
  ] }),
41104
41104
  /* @__PURE__ */ k("tr", { children: [
41105
- /* @__PURE__ */ s("td", { children: "isMobile:" }),
41106
- /* @__PURE__ */ s("td", { children: t ? "true" : "false" })
41105
+ /* @__PURE__ */ c("td", { children: "isMobile:" }),
41106
+ /* @__PURE__ */ c("td", { children: t ? "true" : "false" })
41107
41107
  ] })
41108
41108
  ] }) }) }), zje = ({
41109
41109
  stackKey: e,
41110
41110
  isStackSelected: a,
41111
41111
  stackItems: t,
41112
41112
  isMobile: n
41113
- }) => /* @__PURE__ */ s("div", { className: "w-full", children: /* @__PURE__ */ s("table", { className: "w-full", children: /* @__PURE__ */ k("tbody", { children: [
41113
+ }) => /* @__PURE__ */ c("div", { className: "w-full", children: /* @__PURE__ */ c("table", { className: "w-full", children: /* @__PURE__ */ k("tbody", { children: [
41114
41114
  /* @__PURE__ */ k("tr", { children: [
41115
- /* @__PURE__ */ s("td", { children: "stackKey:" }),
41116
- /* @__PURE__ */ s("td", { children: e })
41115
+ /* @__PURE__ */ c("td", { children: "stackKey:" }),
41116
+ /* @__PURE__ */ c("td", { children: e })
41117
41117
  ] }),
41118
41118
  /* @__PURE__ */ k("tr", { children: [
41119
- /* @__PURE__ */ s("td", { children: "isStackSelected:" }),
41120
- /* @__PURE__ */ s("td", { children: a ? "true" : "false" })
41119
+ /* @__PURE__ */ c("td", { children: "isStackSelected:" }),
41120
+ /* @__PURE__ */ c("td", { children: a ? "true" : "false" })
41121
41121
  ] }),
41122
41122
  /* @__PURE__ */ k("tr", { children: [
41123
- /* @__PURE__ */ s("td", { children: "items count:" }),
41124
- /* @__PURE__ */ s("td", { children: (t == null ? void 0 : t.length) || 0 })
41123
+ /* @__PURE__ */ c("td", { children: "items count:" }),
41124
+ /* @__PURE__ */ c("td", { children: (t == null ? void 0 : t.length) || 0 })
41125
41125
  ] }),
41126
41126
  /* @__PURE__ */ k("tr", { children: [
41127
- /* @__PURE__ */ s("td", { children: "isMobile:" }),
41128
- /* @__PURE__ */ s("td", { children: n ? "true" : "false" })
41127
+ /* @__PURE__ */ c("td", { children: "isMobile:" }),
41128
+ /* @__PURE__ */ c("td", { children: n ? "true" : "false" })
41129
41129
  ] })
41130
41130
  ] }) }) }), jje = ({
41131
41131
  stackKey: e
41132
- }) => /* @__PURE__ */ s("div", { className: "w-full", children: /* @__PURE__ */ k("table", { className: "w-full", children: [
41132
+ }) => /* @__PURE__ */ c("div", { className: "w-full", children: /* @__PURE__ */ k("table", { className: "w-full", children: [
41133
41133
  "Items of: ",
41134
41134
  e
41135
41135
  ] }) }), Wje = ({
@@ -41151,10 +41151,10 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41151
41151
  isDisabled: a,
41152
41152
  action: t,
41153
41153
  children: n
41154
- }) => /* @__PURE__ */ s(
41154
+ }) => /* @__PURE__ */ c(
41155
41155
  "button",
41156
41156
  {
41157
- className: B(
41157
+ className: X(
41158
41158
  ii,
41159
41159
  "w-full h-full border-solid border-2 rounded-lg cursor-pointer",
41160
41160
  a && "cursor-not-allowed pointer-events-none opacity-50",
@@ -41165,12 +41165,12 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41165
41165
  },
41166
41166
  children: n
41167
41167
  }
41168
- ), bDe = function e({
41168
+ ), gDe = function e({
41169
41169
  items: a = [],
41170
41170
  value: t,
41171
41171
  onInput: n,
41172
41172
  columnsCount: o = 3,
41173
- item: c,
41173
+ item: s,
41174
41174
  stack: u,
41175
41175
  group: m,
41176
41176
  className: p,
@@ -41181,46 +41181,46 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41181
41181
  const [v, y] = re({
41182
41182
  value: t,
41183
41183
  group: void 0
41184
- }), S = Z(
41185
- () => (c == null ? void 0 : c.LabelComponent) || Mje,
41186
- [c == null ? void 0 : c.LabelComponent]
41187
- ), N = Z(
41184
+ }), x = Z(
41185
+ () => (s == null ? void 0 : s.LabelComponent) || Mje,
41186
+ [s == null ? void 0 : s.LabelComponent]
41187
+ ), W = Z(
41188
41188
  () => (u == null ? void 0 : u.LabelComponent) || zje,
41189
41189
  [u == null ? void 0 : u.LabelComponent]
41190
41190
  ), z = Z(
41191
41191
  () => (u == null ? void 0 : u.TitleComponent) || jje,
41192
41192
  [u == null ? void 0 : u.TitleComponent]
41193
- ), W = Z(
41193
+ ), D = Z(
41194
41194
  () => (m == null ? void 0 : m.LabelComponent) || Wje,
41195
41195
  [m == null ? void 0 : m.LabelComponent]
41196
- ), A = xje, x = {
41196
+ ), A = xje, S = {
41197
41197
  itemsMap: Z(() => {
41198
41198
  const M = /* @__PURE__ */ new Map([[void 0, a]]);
41199
- return a.forEach((D, U) => {
41199
+ return a.forEach((N, U) => {
41200
41200
  if (m) {
41201
- const ee = m.by(D) ?? "";
41202
- M.has(ee) || M.set(ee, []), M.get(ee).push(D);
41201
+ const ee = m.by(N) ?? "";
41202
+ M.has(ee) || M.set(ee, []), M.get(ee).push(N);
41203
41203
  } else
41204
41204
  M.set(
41205
- typeof (c == null ? void 0 : c.getId) == "function" ? c.getId(D) : `group-${U}`,
41206
- [D]
41205
+ typeof (s == null ? void 0 : s.getId) == "function" ? s.getId(N) : `group-${U}`,
41206
+ [N]
41207
41207
  );
41208
41208
  }), M;
41209
41209
  }, [m, a])
41210
41210
  }, P = {
41211
41211
  itemsMap: Z(() => {
41212
41212
  const M = /* @__PURE__ */ new Map();
41213
- return (m && v.group ? a.filter((D) => m.by(D) === v.group) : a).forEach((D, U) => {
41213
+ return (m && v.group ? a.filter((N) => m.by(N) === v.group) : a).forEach((N, U) => {
41214
41214
  if (u) {
41215
- const ee = u.by(D) ?? "";
41216
- M.has(ee) || M.set(ee, []), M.get(ee).push(D);
41215
+ const ee = u.by(N) ?? "";
41216
+ M.has(ee) || M.set(ee, []), M.get(ee).push(N);
41217
41217
  } else
41218
41218
  M.set(
41219
- typeof (c == null ? void 0 : c.getId) == "function" ? c.getId(D) : `stack-${U}`,
41220
- [D]
41219
+ typeof (s == null ? void 0 : s.getId) == "function" ? s.getId(N) : `stack-${U}`,
41220
+ [N]
41221
41221
  );
41222
41222
  }), M;
41223
- }, [a, u, v.group, m, c == null ? void 0 : c.getId]),
41223
+ }, [a, u, v.group, m, s == null ? void 0 : s.getId]),
41224
41224
  is: {
41225
41225
  stackSingle: rt(
41226
41226
  (M) => P.itemsMap.get(M).length === 1,
@@ -41228,15 +41228,15 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41228
41228
  ),
41229
41229
  stackDisabled: rt(
41230
41230
  (M) => {
41231
- var D;
41232
- return (c == null ? void 0 : c.isDisabled) && ((D = P.itemsMap.get(M)) == null ? void 0 : D.every(c.isDisabled));
41231
+ var N;
41232
+ return (s == null ? void 0 : s.isDisabled) && ((N = P.itemsMap.get(M)) == null ? void 0 : N.every(s.isDisabled));
41233
41233
  },
41234
- [a, c == null ? void 0 : c.isDisabled]
41234
+ [a, s == null ? void 0 : s.isDisabled]
41235
41235
  ),
41236
41236
  stackSelected: rt(
41237
41237
  (M) => {
41238
- var D;
41239
- return (D = P.itemsMap.get(M)) == null ? void 0 : D.some((U) => da(U, v.value));
41238
+ var N;
41239
+ return (N = P.itemsMap.get(M)) == null ? void 0 : N.some((U) => da(U, v.value));
41240
41240
  },
41241
41241
  [a, v.value]
41242
41242
  )
@@ -41246,28 +41246,28 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41246
41246
  t && !da(t, v.value) && y((M) => ({ ...M, value: t }));
41247
41247
  }, [t]), pe(() => {
41248
41248
  n && n(v.value);
41249
- }, [v.value]), /* @__PURE__ */ s("section", { className: p, ...b, style: { maxWidth: "100%" }, children: !h || !m ? /* @__PURE__ */ k(oe, { children: [
41249
+ }, [v.value]), /* @__PURE__ */ c("section", { className: p, ...b, style: { maxWidth: "100%" }, children: !h || !m ? /* @__PURE__ */ k(oe, { children: [
41250
41250
  m && /* @__PURE__ */ k("ul", { className: "list-none flex flex-row gap-0 m-0 p-0 max-w-full w-full", children: [
41251
- [...x.itemsMap.keys()].map((M) => /* @__PURE__ */ s(
41251
+ [...S.itemsMap.keys()].map((M) => /* @__PURE__ */ c(
41252
41252
  "li",
41253
41253
  {
41254
- className: B(
41254
+ className: X(
41255
41255
  "border border-solid border-[#bef1ff] rounded-t-lg overflow-hidden",
41256
41256
  M === v.group ? "border-b-0 bg-[#F5FEFF] m-t[1px]" : "border-b bg-white"
41257
41257
  ),
41258
- children: /* @__PURE__ */ s(
41258
+ children: /* @__PURE__ */ c(
41259
41259
  "button",
41260
41260
  {
41261
- className: B(ii, "h-full w-full"),
41261
+ className: X(ii, "h-full w-full"),
41262
41262
  onClick: () => {
41263
- y((D) => ({ ...D, group: M }));
41263
+ y((N) => ({ ...N, group: M }));
41264
41264
  },
41265
- children: /* @__PURE__ */ s(
41266
- W,
41265
+ children: /* @__PURE__ */ c(
41266
+ D,
41267
41267
  {
41268
41268
  groupName: M,
41269
41269
  isGroupSelected: M === v.group,
41270
- groupItems: M ? a.filter((D) => m.by(D) === M) : a,
41270
+ groupItems: M ? a.filter((N) => m.by(N) === M) : a,
41271
41271
  isMobile: h
41272
41272
  }
41273
41273
  )
@@ -41276,7 +41276,7 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41276
41276
  },
41277
41277
  M || "none"
41278
41278
  )),
41279
- /* @__PURE__ */ s(
41279
+ /* @__PURE__ */ c(
41280
41280
  "li",
41281
41281
  {
41282
41282
  className: "border-0 border-b border-solid border-b-[#bef1ff] grow"
@@ -41287,33 +41287,33 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41287
41287
  /* @__PURE__ */ k(
41288
41288
  "div",
41289
41289
  {
41290
- className: B(
41290
+ className: X(
41291
41291
  m && "bg-[#F5FEFF] border border-t-0 border-solid border-[#BEF1FF]"
41292
41292
  ),
41293
41293
  children: [
41294
- /* @__PURE__ */ s(
41294
+ /* @__PURE__ */ c(
41295
41295
  "ul",
41296
41296
  {
41297
41297
  className: "list-none grid gap-6 m-0 p-4",
41298
41298
  style: {
41299
41299
  gridTemplateColumns: `repeat(${o}, minmax(0, 1fr))`
41300
41300
  },
41301
- children: [...P.itemsMap.keys()].map((M) => /* @__PURE__ */ s("li", { children: /* @__PURE__ */ s(
41301
+ children: [...P.itemsMap.keys()].map((M) => /* @__PURE__ */ c("li", { children: /* @__PURE__ */ c(
41302
41302
  A,
41303
41303
  {
41304
41304
  isSelected: P.is.stackSelected(M),
41305
41305
  isDisabled: P.is.stackDisabled(M),
41306
41306
  action: () => {
41307
- const D = P.itemsMap.get(M).find(
41308
- (U) => typeof (c == null ? void 0 : c.isDisabled) != "function" || !c.isDisabled(U)
41307
+ const N = P.itemsMap.get(M).find(
41308
+ (U) => typeof (s == null ? void 0 : s.isDisabled) != "function" || !s.isDisabled(U)
41309
41309
  );
41310
41310
  y((U) => ({
41311
41311
  ...U,
41312
- value: D
41312
+ value: N
41313
41313
  }));
41314
41314
  },
41315
- children: P.is.stackSingle(M) ? /* @__PURE__ */ s(oe, { children: /* @__PURE__ */ s(
41316
- S,
41315
+ children: P.is.stackSingle(M) ? /* @__PURE__ */ c(oe, { children: /* @__PURE__ */ c(
41316
+ x,
41317
41317
  {
41318
41318
  item: P.itemsMap.get(M)[0],
41319
41319
  isItemSelected: da(
@@ -41322,8 +41322,8 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41322
41322
  ),
41323
41323
  isMobile: h
41324
41324
  }
41325
- ) }) : /* @__PURE__ */ s(
41326
- N,
41325
+ ) }) : /* @__PURE__ */ c(
41326
+ W,
41327
41327
  {
41328
41328
  stackKey: M,
41329
41329
  isStackSelected: P.is.stackSelected(
@@ -41338,7 +41338,7 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41338
41338
  }
41339
41339
  ),
41340
41340
  u && v.value && ((E = P.itemsMap.get(u.by(v.value))) == null ? void 0 : E.length) > 1 && /* @__PURE__ */ k("div", { className: "pl-4", children: [
41341
- /* @__PURE__ */ s(
41341
+ /* @__PURE__ */ c(
41342
41342
  z,
41343
41343
  {
41344
41344
  stackKey: u.by(v.value),
@@ -41346,15 +41346,15 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41346
41346
  isMobile: h
41347
41347
  }
41348
41348
  ),
41349
- /* @__PURE__ */ s(
41349
+ /* @__PURE__ */ c(
41350
41350
  e,
41351
41351
  {
41352
41352
  value: v.value,
41353
41353
  items: P.itemsMap.get(u.by(v.value)),
41354
41354
  item: {
41355
- LabelComponent: c.LabelComponent,
41356
- getId: c.getId,
41357
- isDisabled: c == null ? void 0 : c.isDisabled
41355
+ LabelComponent: s.LabelComponent,
41356
+ getId: s.getId,
41357
+ isDisabled: s == null ? void 0 : s.isDisabled
41358
41358
  },
41359
41359
  onInput: n
41360
41360
  }
@@ -41363,28 +41363,28 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41363
41363
  ]
41364
41364
  }
41365
41365
  )
41366
- ] }) : /* @__PURE__ */ s("div", { className: "grid grid-cols-1 gap-2", children: [...x.itemsMap.keys()].map((M) => /* @__PURE__ */ s(
41366
+ ] }) : /* @__PURE__ */ c("div", { className: "grid grid-cols-1 gap-2", children: [...S.itemsMap.keys()].map((M) => /* @__PURE__ */ c(
41367
41367
  MK,
41368
41368
  {
41369
- title: /* @__PURE__ */ s(
41369
+ title: /* @__PURE__ */ c(
41370
41370
  m.LabelComponent,
41371
41371
  {
41372
41372
  groupName: M,
41373
41373
  isGroupSelected: M === v.group,
41374
- groupItems: a.filter((D) => m.by(D) === M),
41374
+ groupItems: a.filter((N) => m.by(N) === M),
41375
41375
  isMobile: h
41376
41376
  }
41377
41377
  ),
41378
41378
  isOpen: !M,
41379
- children: /* @__PURE__ */ s(
41379
+ children: /* @__PURE__ */ c(
41380
41380
  e,
41381
41381
  {
41382
41382
  value: v.value,
41383
- items: x.itemsMap.get(M),
41383
+ items: S.itemsMap.get(M),
41384
41384
  item: {
41385
- LabelComponent: c.LabelComponent,
41386
- getId: c.getId,
41387
- isDisabled: c == null ? void 0 : c.isDisabled
41385
+ LabelComponent: s.LabelComponent,
41386
+ getId: s.getId,
41387
+ isDisabled: s == null ? void 0 : s.isDisabled
41388
41388
  },
41389
41389
  onInput: n,
41390
41390
  stack: u,
@@ -41421,9 +41421,9 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41421
41421
  subtitle: a,
41422
41422
  children: t,
41423
41423
  ...n
41424
- }) => /* @__PURE__ */ k("fieldset", { className: "border-0 p-0", role: "radiogroup", ...n, children: [
41425
- /* @__PURE__ */ s("legend", { children: /* @__PURE__ */ s(Or, { children: e }) }),
41426
- /* @__PURE__ */ s(
41424
+ }) => /* @__PURE__ */ k("fieldset", { className: "border-0 p-0 m-0", role: "radiogroup", ...n, children: [
41425
+ /* @__PURE__ */ c("legend", { className: "p-0", children: /* @__PURE__ */ c(Or, { children: e }) }),
41426
+ /* @__PURE__ */ c(
41427
41427
  T,
41428
41428
  {
41429
41429
  size: q._400,
@@ -41436,7 +41436,7 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41436
41436
  ] }), Sje = ({
41437
41437
  className: e,
41438
41438
  ...a
41439
- }) => /* @__PURE__ */ s(
41439
+ }) => /* @__PURE__ */ c(
41440
41440
  "span",
41441
41441
  {
41442
41442
  className: "pci-ods-checkbox",
@@ -41447,12 +41447,12 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41447
41447
  "--icon-mask-check": `url("${un.check}")`,
41448
41448
  "--icon-mask-minus": `url("${un.minus}")`
41449
41449
  },
41450
- children: /* @__PURE__ */ s(
41450
+ children: /* @__PURE__ */ c(
41451
41451
  "input",
41452
41452
  {
41453
41453
  type: "checkbox",
41454
41454
  ...a,
41455
- className: B("pci-ods-checkbox__checkbox", e)
41455
+ className: X("pci-ods-checkbox__checkbox", e)
41456
41456
  }
41457
41457
  )
41458
41458
  }
@@ -41463,27 +41463,27 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41463
41463
  className: n,
41464
41464
  ...o
41465
41465
  }) => {
41466
- const c = {};
41467
- "backgroundColor" in o || "textColor" in o ? c.style = {
41468
- ...c.style,
41466
+ const s = {};
41467
+ "backgroundColor" in o || "textColor" in o ? s.style = {
41468
+ ...s.style,
41469
41469
  backgroundColor: o.backgroundColor,
41470
41470
  color: o.textColor
41471
- } : "color" in o && (c.className = B(
41472
- c.className,
41471
+ } : "color" in o && (s.className = X(
41472
+ s.className,
41473
41473
  `pci-badge--color-${o.color}`
41474
41474
  ));
41475
41475
  const u = "textColor" in o ? { backgroundColor: o.textColor } : {};
41476
41476
  return /* @__PURE__ */ k(
41477
41477
  "div",
41478
41478
  {
41479
- ...c,
41480
- className: B(
41479
+ ...s,
41480
+ className: X(
41481
41481
  n,
41482
- c.className,
41482
+ s.className,
41483
41483
  `pci-badge pci-badge--size-${t}`
41484
41484
  ),
41485
41485
  children: [
41486
- !!e && /* @__PURE__ */ s(
41486
+ !!e && /* @__PURE__ */ c(
41487
41487
  ge,
41488
41488
  {
41489
41489
  name: e,
@@ -41492,30 +41492,30 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41492
41492
  }
41493
41493
  ),
41494
41494
  " ",
41495
- /* @__PURE__ */ s("span", { style: { fontFamily: "var(--ods-font-family)" }, children: a })
41495
+ /* @__PURE__ */ c("span", { style: { fontFamily: "var(--ods-font-family)" }, children: a })
41496
41496
  ]
41497
41497
  }
41498
41498
  );
41499
41499
  }, Aje = ({
41500
41500
  className: e,
41501
41501
  ...a
41502
- }) => /* @__PURE__ */ s("span", { className: "pci-ods-radio", children: /* @__PURE__ */ s(
41502
+ }) => /* @__PURE__ */ c("span", { className: "pci-ods-radio", children: /* @__PURE__ */ c(
41503
41503
  "input",
41504
41504
  {
41505
41505
  type: "radio",
41506
41506
  ...a,
41507
- className: B("pci-ods-radio__radio", e)
41507
+ className: X("pci-ods-radio__radio", e)
41508
41508
  }
41509
41509
  ) }), ri = ({
41510
41510
  children: e,
41511
41511
  className: a,
41512
41512
  ...t
41513
- }) => /* @__PURE__ */ s(
41513
+ }) => /* @__PURE__ */ c(
41514
41514
  T,
41515
41515
  {
41516
41516
  color: $t.text,
41517
41517
  size: q._100,
41518
- className: B(a, "text-[14px] leading-[100%]"),
41518
+ className: X(a, "text-[14px] leading-[100%]"),
41519
41519
  ...t,
41520
41520
  children: e
41521
41521
  }
@@ -41523,16 +41523,16 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41523
41523
  children: e,
41524
41524
  className: a,
41525
41525
  ...t
41526
- }) => /* @__PURE__ */ s(
41526
+ }) => /* @__PURE__ */ c(
41527
41527
  T,
41528
41528
  {
41529
41529
  color: $t.text,
41530
41530
  size: q._100,
41531
- className: B(a, "text-[12px] leading-[100%]"),
41531
+ className: X(a, "text-[12px] leading-[100%]"),
41532
41532
  ...t,
41533
41533
  children: e
41534
41534
  }
41535
- ), Tje = ({ children: e, ...a }) => /* @__PURE__ */ s("div", { ...a, children: /* @__PURE__ */ s(
41535
+ ), Tje = ({ children: e, ...a }) => /* @__PURE__ */ c("div", { ...a, children: /* @__PURE__ */ c(
41536
41536
  T,
41537
41537
  {
41538
41538
  color: $t.primary,
@@ -41541,9 +41541,9 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41541
41541
  hue: Jr._800,
41542
41542
  children: e
41543
41543
  }
41544
- ) }), Cje = ({ children: e }) => /* @__PURE__ */ s(ri, { children: e }), Eje = () => {
41544
+ ) }), Cje = ({ children: e }) => /* @__PURE__ */ c(ri, { children: e }), Eje = () => {
41545
41545
  const { t: e } = L("pci-common");
41546
- return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(
41546
+ return /* @__PURE__ */ c(
41547
41547
  T,
41548
41548
  {
41549
41549
  color: $t.text,
@@ -41551,195 +41551,210 @@ const da = /* @__PURE__ */ Pje(kje), Mje = ({
41551
41551
  className: "text-[12px] leading-[100%] font-bold",
41552
41552
  children: e("common_price_from")
41553
41553
  }
41554
- ) });
41555
- }, Vje = ({ value: e, unit: a }) => /* @__PURE__ */ k("div", { children: [
41556
- /* @__PURE__ */ s(
41557
- T,
41558
- {
41559
- color: $t.primary,
41560
- level: ve.heading,
41561
- size: q._400,
41562
- className: "leading-[100%]",
41563
- children: e
41564
- }
41565
- ),
41566
- /* @__PURE__ */ s(si, { className: "ml-2", children: a })
41567
- ] }), Lje = ({ descriptions: e }) => /* @__PURE__ */ s("div", { children: e.map((a) => /* @__PURE__ */ s("div", { className: "leading-[100%]", children: /* @__PURE__ */ s(si, { children: a }) }, a)) }), Hje = ({ features: e }) => /* @__PURE__ */ s("ul", { className: "list-['✓'] marker:text-[#2B8000] pl-6 mb-0", children: e.map((a) => /* @__PURE__ */ s("li", { className: "pl-5", children: /* @__PURE__ */ s(ri, { children: a }) }, a)) }), Fje = ({ badges: e }) => /* @__PURE__ */ s("div", { className: "inline-flex gap-4 flex-wrap", children: e.map((a) => /* @__PURE__ */ s(Nje, { size: a.size ?? "sm", ...a }, a.label)) }), Ije = ({
41554
+ );
41555
+ }, Vje = ({ descriptions: e }) => /* @__PURE__ */ c("div", { children: e.map((a) => /* @__PURE__ */ c("div", { className: "leading-[100%]", children: /* @__PURE__ */ c(si, { children: a }) }, a)) }), Lje = ({ features: e }) => /* @__PURE__ */ c("ul", { className: "config-card__features", children: e.map((a) => /* @__PURE__ */ c("li", { children: /* @__PURE__ */ c(ri, { children: a }) }, a)) }), Hje = ({ badges: e }) => /* @__PURE__ */ c("div", { className: "config-card__badges", children: e.map((a) => /* @__PURE__ */ c(Nje, { size: a.size ?? "sm", ...a }, a.label)) }), Fje = ({
41568
41556
  label: e,
41569
41557
  badges: a,
41570
41558
  description: t,
41571
- features: n,
41572
- price: o,
41573
- inputProps: c
41559
+ decorativeImage: n,
41560
+ features: o,
41561
+ price: s,
41562
+ horizontal: u,
41563
+ inputProps: m
41574
41564
  }) => {
41575
- const u = Ht(), m = Ht(), p = [];
41576
- t && p.push(/* @__PURE__ */ s(Cje, { children: t })), n && p.push(/* @__PURE__ */ s(Hje, { features: n }));
41577
- const h = Z(
41565
+ const p = Ht(), h = Ht(), b = [];
41566
+ t && b.push(/* @__PURE__ */ c(Cje, { children: t })), !u && o && b.push(/* @__PURE__ */ c(Lje, { features: o }));
41567
+ const v = Z(
41578
41568
  () => ({
41579
- ...c,
41580
- "aria-labelledby": u,
41581
- "aria-details": m
41569
+ ...m,
41570
+ "aria-labelledby": p,
41571
+ "aria-details": h
41582
41572
  }),
41583
- [c, u, m]
41573
+ [m, p, h]
41584
41574
  );
41585
- let b;
41586
- return h.type === "checkbox" ? b = /* @__PURE__ */ s(Sje, { ...h }) : h.type === "radio" ? b = /* @__PURE__ */ s(Aje, { ...h }) : b = /* @__PURE__ */ s("input", { ...h }), /* @__PURE__ */ s("label", { children: /* @__PURE__ */ k("div", { className: "config-card", children: [
41587
- /* @__PURE__ */ s("div", { className: "config-card__header", children: /* @__PURE__ */ k("div", { className: "flex flex-col gap-[8px]", children: [
41588
- /* @__PURE__ */ k("div", { className: "inline-flex items-center gap-4 mb-2", children: [
41589
- b,
41590
- /* @__PURE__ */ s(Tje, { id: u, children: e })
41591
- ] }),
41592
- !!a && a.length > 0 && /* @__PURE__ */ s(Fje, { badges: a })
41593
- ] }) }),
41594
- p.length > 0 && /* @__PURE__ */ s("div", { className: "config-card__body", id: m, children: p.map((v, y) => /* @__PURE__ */ k("div", { children: [
41595
- y !== 0 && /* @__PURE__ */ s(go, { separator: !0 }),
41596
- /* @__PURE__ */ s("div", { className: "config-card__body-section", children: v })
41597
- ] }, y)) }),
41598
- !!o && typeof o == "object" && "value" in o && /* @__PURE__ */ k("div", { className: "config-card__footer", children: [
41599
- o.isLeastPrice && /* @__PURE__ */ s(Eje, {}),
41600
- /* @__PURE__ */ s(Vje, { value: o.value, unit: o.unit }),
41601
- !!o.descriptions && o.descriptions.length > 0 && /* @__PURE__ */ s(Lje, { descriptions: o.descriptions })
41602
- ] }),
41603
- !!o && qr.isValidElement(o) && /* @__PURE__ */ s("div", { className: "config-card__footer", children: o })
41604
- ] }) });
41605
- }, Rje = ({
41575
+ let y;
41576
+ return v.type === "checkbox" ? y = /* @__PURE__ */ c(Sje, { ...v }) : v.type === "radio" ? y = /* @__PURE__ */ c(Aje, { ...v }) : y = /* @__PURE__ */ c("input", { ...v }), /* @__PURE__ */ c("label", { children: /* @__PURE__ */ k(
41577
+ "div",
41578
+ {
41579
+ className: `config-card config-card-${u ? "horizontal" : "vertical"}`,
41580
+ children: [
41581
+ /* @__PURE__ */ k("div", { className: "config-card__header", children: [
41582
+ y,
41583
+ /* @__PURE__ */ c(Tje, { id: p, children: e }),
41584
+ !!a && a.length > 0 && /* @__PURE__ */ c(Hje, { badges: a })
41585
+ ] }),
41586
+ b.length > 0 && /* @__PURE__ */ c("div", { className: "config-card__body", id: h, children: b.map((x, W) => /* @__PURE__ */ k("div", { children: [
41587
+ W !== 0 && /* @__PURE__ */ c(go, { separator: !0 }),
41588
+ /* @__PURE__ */ c("div", { className: "config-card__body-section", children: x })
41589
+ ] }, W)) }),
41590
+ !u && !!n && /* @__PURE__ */ c("div", { className: "config-card__decorative-image", children: /* @__PURE__ */ c("img", { src: n, alt: "", loading: "lazy" }) }),
41591
+ !!s && typeof s == "object" && "value" in s && /* @__PURE__ */ k("div", { className: "config-card__footer", children: [
41592
+ /* @__PURE__ */ k("div", { className: "flex flex-col", children: [
41593
+ s.isLeastPrice && /* @__PURE__ */ c(Eje, {}),
41594
+ /* @__PURE__ */ c(
41595
+ T,
41596
+ {
41597
+ color: $t.primary,
41598
+ level: ve.heading,
41599
+ size: q._400,
41600
+ className: "leading-[100%]",
41601
+ children: s.value
41602
+ }
41603
+ ),
41604
+ /* @__PURE__ */ c(si, { children: s.unit })
41605
+ ] }),
41606
+ !!s.descriptions && s.descriptions.length > 0 && /* @__PURE__ */ c(Vje, { descriptions: s.descriptions })
41607
+ ] }),
41608
+ !!s && qr.isValidElement(s) && /* @__PURE__ */ c("div", { className: "config-card__footer", children: s })
41609
+ ]
41610
+ }
41611
+ ) });
41612
+ }, Ije = ({
41606
41613
  label: e,
41607
41614
  elements: a,
41608
41615
  elementKey: t,
41609
41616
  value: n,
41610
41617
  onChange: o,
41611
- inputProps: c,
41618
+ inputProps: s,
41612
41619
  subtitle: u,
41613
41620
  locked: m,
41614
- name: p
41621
+ name: p,
41622
+ horizontal: h
41615
41623
  }) => {
41616
- const h = rt(
41617
- (y) => (t == null ? void 0 : t(n)) ?? y.label,
41624
+ const b = rt(
41625
+ (x) => (t == null ? void 0 : t(n)) ?? x.label,
41618
41626
  [t]
41619
- ), b = Z(
41620
- () => n ? h(n) : null,
41621
- [n, h]
41622
- ), v = Z(() => m ? n ? [n] : [] : a, [a, n, m]);
41623
- return /* @__PURE__ */ s(Dje, { label: e, subtitle: u, disabled: m, children: /* @__PURE__ */ s("div", { className: "grid gap-6 p-6 m-0 grid-cols-1 md:grid-cols-3 auto-rows-auto", children: v.map((y) => {
41624
- const S = h(y);
41625
- return /* @__PURE__ */ s(
41626
- Ije,
41627
- {
41628
- inputProps: {
41629
- name: p,
41630
- type: "radio",
41631
- value: S,
41632
- checked: S === b,
41633
- onChange: () => o == null ? void 0 : o(y),
41634
- ...c == null ? void 0 : c(y)
41635
- },
41636
- ...y
41637
- },
41638
- S
41639
- );
41640
- }) }) });
41641
- }, Oje = "Bereitstellungsmodus auswählen", qje = "Wählen Sie die optimale Konfiguration für Ihre Use Cases aus, um Verfügbarkeit, Resilienz und eine angemessene Latenz für Ihre Daten zu gewährleisten. <Link>Mehr erfahren</Link>", Xje = "1-AZ Region", Bje = "Resiliente und kostengünstige Bereitstellung in 1 Availability Zone.", Gje = "Local Zone", Yje = "Bereitstellung Ihrer Anwendungen möglichst nahe an Ihren Usern für niedrige Latenz und die Datenresidenz.", Zje = "Beta", Kje = "Kostenlos", Qje = "Demnächst verfügbar", Jje = {
41642
- deployment_mode_title: Oje,
41643
- deployment_mode_description: qje,
41644
- deployment_mode_card_title_region: Xje,
41645
- deployment_mode_card_description_region: Bje,
41627
+ ), v = Z(
41628
+ () => n ? b(n) : null,
41629
+ [n, b]
41630
+ ), y = Z(() => m ? n ? [n] : [] : a, [a, n, m]);
41631
+ return /* @__PURE__ */ c(Dje, { label: e, subtitle: u, disabled: m, children: /* @__PURE__ */ c(
41632
+ "div",
41633
+ {
41634
+ className: `pci-tiles-input-grid pci-tiles-input-grid-${h ? "horizontal" : "vertical"}`,
41635
+ children: y.map((x) => {
41636
+ const W = b(x);
41637
+ return /* @__PURE__ */ c(
41638
+ Fje,
41639
+ {
41640
+ inputProps: {
41641
+ name: p,
41642
+ type: "radio",
41643
+ value: W,
41644
+ checked: W === v,
41645
+ onChange: () => o == null ? void 0 : o(x),
41646
+ ...s == null ? void 0 : s(x)
41647
+ },
41648
+ horizontal: h,
41649
+ ...x
41650
+ },
41651
+ W
41652
+ );
41653
+ })
41654
+ }
41655
+ ) });
41656
+ }, Rje = "Bereitstellungsmodus auswählen", Oje = "Wählen Sie die optimale Konfiguration für Ihre Use Cases aus, um Verfügbarkeit, Resilienz und eine angemessene Latenz für Ihre Daten zu gewährleisten. <Link>Mehr erfahren</Link>", qje = "1-AZ Region", Xje = "Resiliente und kostengünstige Bereitstellung in 1 Availability Zone.", Bje = "Local Zone", Gje = "Bereitstellung Ihrer Anwendungen möglichst nahe an Ihren Usern für niedrige Latenz und die Datenresidenz.", Yje = "Beta", Zje = "Kostenlos", Kje = "Demnächst verfügbar", Qje = {
41657
+ deployment_mode_title: Rje,
41658
+ deployment_mode_description: Oje,
41659
+ deployment_mode_card_title_region: qje,
41660
+ deployment_mode_card_description_region: Xje,
41646
41661
  "deployment_mode_card_title_region-3-az": "3-AZ Region",
41647
41662
  "deployment_mode_card_description_region-3-az": "Bereitstellung mit hoher Resilienz/hoher Verfügbarkeit für Ihre kritischen Anwendungen in 3 Availability Zones.",
41648
- deployment_mode_card_title_localzone: Gje,
41649
- deployment_mode_card_description_localzone: Yje,
41650
- deployment_mode_card_beta: Zje,
41651
- deployment_mode_card_beta_price: Kje,
41652
- deployment_mode_card_coming_soon: Qje
41653
- }, Uje = "Select a deployment mode", eWe = "Pick the optimal configuration to ensure your data is always accessible, reliable, and has the right latency based on your use cases. <Link>Find out more</Link>", tWe = "1-AZ Region", aWe = "Resilient and low cost deployment in 1 availability zone.", nWe = "Local Zone", oWe = "Deploy your applications as geographically close to your users as possible, for low latency and compliant data residency.", iWe = "Beta", rWe = "Free", sWe = "Coming soon", cWe = {
41654
- deployment_mode_title: Uje,
41655
- deployment_mode_description: eWe,
41656
- deployment_mode_card_title_region: tWe,
41657
- deployment_mode_card_description_region: aWe,
41663
+ deployment_mode_card_title_localzone: Bje,
41664
+ deployment_mode_card_description_localzone: Gje,
41665
+ deployment_mode_card_beta: Yje,
41666
+ deployment_mode_card_beta_price: Zje,
41667
+ deployment_mode_card_coming_soon: Kje
41668
+ }, Jje = "Select a deployment mode", Uje = "Pick the optimal configuration to ensure your data is always accessible, reliable, and has the right latency based on your use cases. <Link>Find out more</Link>", eWe = "1-AZ Region", tWe = "Resilient and low cost deployment in 1 availability zone.", aWe = "Local Zone", nWe = "Deploy your applications as geographically close to your users as possible, for low latency and compliant data residency.", oWe = "Beta", iWe = "Free", rWe = "Coming soon", sWe = {
41669
+ deployment_mode_title: Jje,
41670
+ deployment_mode_description: Uje,
41671
+ deployment_mode_card_title_region: eWe,
41672
+ deployment_mode_card_description_region: tWe,
41658
41673
  "deployment_mode_card_title_region-3-az": "3-AZ Region",
41659
41674
  "deployment_mode_card_description_region-3-az": "High resilience/high availability deployment for your critical applications across 3 availability zones.",
41660
- deployment_mode_card_title_localzone: nWe,
41661
- deployment_mode_card_description_localzone: oWe,
41662
- deployment_mode_card_beta: iWe,
41663
- deployment_mode_card_beta_price: rWe,
41664
- deployment_mode_card_coming_soon: sWe
41665
- }, dWe = "Seleccione un modo de implementación", lWe = "Seleccione una configuración óptima para asegurar la disponibilidad, la resiliencia y la latencia más adecuadas para los datos según sus casos de uso. <Link>Más información</Link>", uWe = "Región 1-AZ", mWe = "Implementación resiliente y económica en 1 zona de disponibilidad.", _We = "Local Zone", pWe = "Despliegue sus aplicaciones más cerca de sus usuarios para disfrutar de una menor latencia y de residencia de datos.", hWe = "Beta", fWe = "Gratis", gWe = "Próximamente disponible", bWe = {
41666
- deployment_mode_title: dWe,
41667
- deployment_mode_description: lWe,
41668
- deployment_mode_card_title_region: uWe,
41669
- deployment_mode_card_description_region: mWe,
41675
+ deployment_mode_card_title_localzone: aWe,
41676
+ deployment_mode_card_description_localzone: nWe,
41677
+ deployment_mode_card_beta: oWe,
41678
+ deployment_mode_card_beta_price: iWe,
41679
+ deployment_mode_card_coming_soon: rWe
41680
+ }, cWe = "Seleccione un modo de implementación", dWe = "Seleccione una configuración óptima para asegurar la disponibilidad, la resiliencia y la latencia más adecuadas para los datos según sus casos de uso. <Link>Más información</Link>", lWe = "Región 1-AZ", uWe = "Implementación resiliente y económica en 1 zona de disponibilidad.", mWe = "Local Zone", _We = "Despliegue sus aplicaciones más cerca de sus usuarios para disfrutar de una menor latencia y de residencia de datos.", pWe = "Beta", hWe = "Gratis", fWe = "Próximamente disponible", gWe = {
41681
+ deployment_mode_title: cWe,
41682
+ deployment_mode_description: dWe,
41683
+ deployment_mode_card_title_region: lWe,
41684
+ deployment_mode_card_description_region: uWe,
41670
41685
  "deployment_mode_card_title_region-3-az": "Región 3-AZ",
41671
41686
  "deployment_mode_card_description_region-3-az": "Despliegue de alta resiliencia/alta disponibilidad para sus aplicaciones críticas en 3 zonas de disponibilidad.",
41672
- deployment_mode_card_title_localzone: _We,
41673
- deployment_mode_card_description_localzone: pWe,
41674
- deployment_mode_card_beta: hWe,
41675
- deployment_mode_card_beta_price: fWe,
41676
- deployment_mode_card_coming_soon: gWe
41677
- }, vWe = "Sélectionnez un mode de déploiement", yWe = "Sélectionnez une configuration optimale pour assurer la disponibilité, la résilience et la latence appropriées pour vos données selon vos cas d’usage. <Link>En savoir plus</Link>", wWe = "Région 1-AZ", $We = "Déploiement résilient et économique sur 1 zone de disponibilité.", PWe = "Local Zone", kWe = "Déploiement de vos applications au plus près de vos utilisatrices et utilisateurs pour une faible latence et la résidence des données.", MWe = "Beta", zWe = "Gratuit", jWe = "Bientôt disponible", WWe = {
41678
- deployment_mode_title: vWe,
41679
- deployment_mode_description: yWe,
41680
- deployment_mode_card_title_region: wWe,
41681
- deployment_mode_card_description_region: $We,
41687
+ deployment_mode_card_title_localzone: mWe,
41688
+ deployment_mode_card_description_localzone: _We,
41689
+ deployment_mode_card_beta: pWe,
41690
+ deployment_mode_card_beta_price: hWe,
41691
+ deployment_mode_card_coming_soon: fWe
41692
+ }, bWe = "Sélectionnez un mode de déploiement", vWe = "Sélectionnez une configuration optimale pour assurer la disponibilité, la résilience et la latence appropriées pour vos données selon vos cas d’usage. <Link>En savoir plus</Link>", yWe = "Région 1-AZ", wWe = "Déploiement résilient et économique sur 1 zone de disponibilité.", $We = "Local Zone", PWe = "Déploiement de vos applications au plus près de vos utilisatrices et utilisateurs pour une faible latence et la résidence des données.", kWe = "Beta", MWe = "Gratuit", zWe = "Bientôt disponible", jWe = {
41693
+ deployment_mode_title: bWe,
41694
+ deployment_mode_description: vWe,
41695
+ deployment_mode_card_title_region: yWe,
41696
+ deployment_mode_card_description_region: wWe,
41682
41697
  "deployment_mode_card_title_region-3-az": "Région 3-AZ",
41683
41698
  "deployment_mode_card_description_region-3-az": "Déploiement haute résilience/haute disponibilité pour vos applications critiques sur 3 zones de disponibilité.",
41684
- deployment_mode_card_title_localzone: PWe,
41685
- deployment_mode_card_description_localzone: kWe,
41686
- deployment_mode_card_beta: MWe,
41687
- deployment_mode_card_beta_price: zWe,
41688
- deployment_mode_card_coming_soon: jWe
41689
- }, xWe = "Sélectionnez un mode de déploiement", DWe = "Sélectionnez une configuration optimale pour assurer la disponibilité, la résilience et la latence appropriées pour vos données selon vos cas d’usage. <Link>En savoir plus</Link>", SWe = "Région 1-AZ", NWe = "Déploiement résilient et économique sur 1 zone de disponibilité.", AWe = "Local Zone", TWe = "Déploiement de vos applications au plus près de vos utilisatrices et utilisateurs pour une faible latence et la résidence des données.", CWe = "Beta", EWe = "Gratuit", VWe = "Bientôt disponible", LWe = {
41690
- deployment_mode_title: xWe,
41691
- deployment_mode_description: DWe,
41692
- deployment_mode_card_title_region: SWe,
41693
- deployment_mode_card_description_region: NWe,
41699
+ deployment_mode_card_title_localzone: $We,
41700
+ deployment_mode_card_description_localzone: PWe,
41701
+ deployment_mode_card_beta: kWe,
41702
+ deployment_mode_card_beta_price: MWe,
41703
+ deployment_mode_card_coming_soon: zWe
41704
+ }, WWe = "Sélectionnez un mode de déploiement", xWe = "Sélectionnez une configuration optimale pour assurer la disponibilité, la résilience et la latence appropriées pour vos données selon vos cas d’usage. <Link>En savoir plus</Link>", DWe = "Région 1-AZ", SWe = "Déploiement résilient et économique sur 1 zone de disponibilité.", NWe = "Local Zone", AWe = "Déploiement de vos applications au plus près de vos utilisatrices et utilisateurs pour une faible latence et la résidence des données.", TWe = "Beta", CWe = "Gratuit", EWe = "Bientôt disponible", VWe = {
41705
+ deployment_mode_title: WWe,
41706
+ deployment_mode_description: xWe,
41707
+ deployment_mode_card_title_region: DWe,
41708
+ deployment_mode_card_description_region: SWe,
41694
41709
  "deployment_mode_card_title_region-3-az": "Région 3-AZ",
41695
41710
  "deployment_mode_card_description_region-3-az": "Déploiement haute résilience/haute disponibilité pour vos applications critiques sur 3 zones de disponibilité.",
41696
- deployment_mode_card_title_localzone: AWe,
41697
- deployment_mode_card_description_localzone: TWe,
41698
- deployment_mode_card_beta: CWe,
41699
- deployment_mode_card_beta_price: EWe,
41700
- deployment_mode_card_coming_soon: VWe
41701
- }, HWe = "Seleziona una modalità di deploy", FWe = "Seleziona una configurazione ottimale per assicurare la disponibilità, la resilienza e la latenza più appropriata per i tuoi dati in base alle modalità di utilizzo. <Link>Scopri di più</Link>", IWe = "Region 1-AZ", RWe = "Deploy resiliente ed economico su 1 zona di disponibilità.", OWe = "Local Zone", qWe = "Esecuzione delle applicazioni il più vicino possibile ai tuoi utenti per una latenza ridotta e la localizzazione dei dati.", XWe = "Beta", BWe = "Gratis", GWe = "In arrivo", YWe = {
41702
- deployment_mode_title: HWe,
41703
- deployment_mode_description: FWe,
41704
- deployment_mode_card_title_region: IWe,
41705
- deployment_mode_card_description_region: RWe,
41711
+ deployment_mode_card_title_localzone: NWe,
41712
+ deployment_mode_card_description_localzone: AWe,
41713
+ deployment_mode_card_beta: TWe,
41714
+ deployment_mode_card_beta_price: CWe,
41715
+ deployment_mode_card_coming_soon: EWe
41716
+ }, LWe = "Seleziona una modalità di deploy", HWe = "Seleziona una configurazione ottimale per assicurare la disponibilità, la resilienza e la latenza più appropriata per i tuoi dati in base alle modalità di utilizzo. <Link>Scopri di più</Link>", FWe = "Region 1-AZ", IWe = "Deploy resiliente ed economico su 1 zona di disponibilità.", RWe = "Local Zone", OWe = "Esecuzione delle applicazioni il più vicino possibile ai tuoi utenti per una latenza ridotta e la localizzazione dei dati.", qWe = "Beta", XWe = "Gratis", BWe = "In arrivo", GWe = {
41717
+ deployment_mode_title: LWe,
41718
+ deployment_mode_description: HWe,
41719
+ deployment_mode_card_title_region: FWe,
41720
+ deployment_mode_card_description_region: IWe,
41706
41721
  "deployment_mode_card_title_region-3-az": "Region 3-AZ",
41707
41722
  "deployment_mode_card_description_region-3-az": "Deploy ad alta resilienza/alta disponibilità per le tue applicazioni critiche su 3 zone di disponibilità.",
41708
- deployment_mode_card_title_localzone: OWe,
41709
- deployment_mode_card_description_localzone: qWe,
41710
- deployment_mode_card_beta: XWe,
41711
- deployment_mode_card_beta_price: BWe,
41712
- deployment_mode_card_coming_soon: GWe
41713
- }, ZWe = "Wybierz tryb wdrożenia", KWe = "Wybierz optymalną konfigurację, aby zapewnić odpowiednią dostępność, odporność i opóźnienia w zależności od specyficznych potrzeb związanych z danymi i zastosowaniami. <Link>Dowiedz się więcej</Link>", QWe = "Region 1-AZ", JWe = "Wdrożenia zapewniające odporność infrastruktury i efektywność kosztową w 1 strefie dostępności.", UWe = "Local Zone", exe = "Wdrażanie aplikacji jak najbliżej użytkowników w celu minimalizacji opóźnień i zapewnienia lokalizacji danych spełniającej wymogi regulacyjne obowiązujące na określonym terytorium.", txe = "Wersja beta", axe = "Gratis", nxe = "Dostępne wkrótce", oxe = {
41714
- deployment_mode_title: ZWe,
41715
- deployment_mode_description: KWe,
41716
- deployment_mode_card_title_region: QWe,
41717
- deployment_mode_card_description_region: JWe,
41723
+ deployment_mode_card_title_localzone: RWe,
41724
+ deployment_mode_card_description_localzone: OWe,
41725
+ deployment_mode_card_beta: qWe,
41726
+ deployment_mode_card_beta_price: XWe,
41727
+ deployment_mode_card_coming_soon: BWe
41728
+ }, YWe = "Wybierz tryb wdrożenia", ZWe = "Wybierz optymalną konfigurację, aby zapewnić odpowiednią dostępność, odporność i opóźnienia w zależności od specyficznych potrzeb związanych z danymi i zastosowaniami. <Link>Dowiedz się więcej</Link>", KWe = "Region 1-AZ", QWe = "Wdrożenia zapewniające odporność infrastruktury i efektywność kosztową w 1 strefie dostępności.", JWe = "Local Zone", UWe = "Wdrażanie aplikacji jak najbliżej użytkowników w celu minimalizacji opóźnień i zapewnienia lokalizacji danych spełniającej wymogi regulacyjne obowiązujące na określonym terytorium.", exe = "Wersja beta", txe = "Gratis", axe = "Dostępne wkrótce", nxe = {
41729
+ deployment_mode_title: YWe,
41730
+ deployment_mode_description: ZWe,
41731
+ deployment_mode_card_title_region: KWe,
41732
+ deployment_mode_card_description_region: QWe,
41718
41733
  "deployment_mode_card_title_region-3-az": "Region 3-AZ",
41719
41734
  "deployment_mode_card_description_region-3-az": "Wdrożenia zapewniające odporność infrastruktury i dostępność krytycznych aplikacji w 3 strefach dostępności.",
41720
- deployment_mode_card_title_localzone: UWe,
41721
- deployment_mode_card_description_localzone: exe,
41722
- deployment_mode_card_beta: txe,
41723
- deployment_mode_card_beta_price: axe,
41724
- deployment_mode_card_coming_soon: nxe
41725
- }, ixe = "Selecione um modo de implementação", rxe = "Escolha uma configuração ideal para assegurar a disponibilidade, a resiliência e a latência adequadas aos seus dados, consoante as sua utilização. <Link>Saber mais</Link>", sxe = "Região 1-AZ", cxe = "Implementação resiliente e económica em 1 zona de disponibilidade.", dxe = "Local Zone", lxe = "Implementação das suas aplicações mais próxima dos seus utilizadores para uma baixa latência e residência dos dados.", uxe = "Beta", mxe = "Grátis", _xe = "Disponível em breve", pxe = {
41726
- deployment_mode_title: ixe,
41727
- deployment_mode_description: rxe,
41728
- deployment_mode_card_title_region: sxe,
41729
- deployment_mode_card_description_region: cxe,
41735
+ deployment_mode_card_title_localzone: JWe,
41736
+ deployment_mode_card_description_localzone: UWe,
41737
+ deployment_mode_card_beta: exe,
41738
+ deployment_mode_card_beta_price: txe,
41739
+ deployment_mode_card_coming_soon: axe
41740
+ }, oxe = "Selecione um modo de implementação", ixe = "Escolha uma configuração ideal para assegurar a disponibilidade, a resiliência e a latência adequadas aos seus dados, consoante as sua utilização. <Link>Saber mais</Link>", rxe = "Região 1-AZ", sxe = "Implementação resiliente e económica em 1 zona de disponibilidade.", cxe = "Local Zone", dxe = "Implementação das suas aplicações mais próxima dos seus utilizadores para uma baixa latência e residência dos dados.", lxe = "Beta", uxe = "Grátis", mxe = "Disponível em breve", _xe = {
41741
+ deployment_mode_title: oxe,
41742
+ deployment_mode_description: ixe,
41743
+ deployment_mode_card_title_region: rxe,
41744
+ deployment_mode_card_description_region: sxe,
41730
41745
  "deployment_mode_card_title_region-3-az": "Região 3-AZ",
41731
41746
  "deployment_mode_card_description_region-3-az": "Implementação de alta resiliência/alta disponibilidade para as suas aplicações críticas em 3 zonas de disponibilidade.",
41732
- deployment_mode_card_title_localzone: dxe,
41733
- deployment_mode_card_description_localzone: lxe,
41734
- deployment_mode_card_beta: uxe,
41735
- deployment_mode_card_beta_price: mxe,
41736
- deployment_mode_card_coming_soon: _xe
41747
+ deployment_mode_card_title_localzone: cxe,
41748
+ deployment_mode_card_description_localzone: dxe,
41749
+ deployment_mode_card_beta: lxe,
41750
+ deployment_mode_card_beta_price: uxe,
41751
+ deployment_mode_card_coming_soon: mxe
41737
41752
  };
41738
41753
  function so() {
41739
- f.addResources("de_DE", "deployment-mode", Jje), f.addResources("en_GB", "deployment-mode", cWe), f.addResources("es_ES", "deployment-mode", bWe), f.addResources("fr_CA", "deployment-mode", WWe), f.addResources("fr_FR", "deployment-mode", LWe), f.addResources("it_IT", "deployment-mode", YWe), f.addResources("pl_PL", "deployment-mode", oxe), f.addResources("pt_PT", "deployment-mode", pxe);
41754
+ f.addResources("de_DE", "deployment-mode", Qje), f.addResources("en_GB", "deployment-mode", sWe), f.addResources("es_ES", "deployment-mode", gWe), f.addResources("fr_CA", "deployment-mode", jWe), f.addResources("fr_FR", "deployment-mode", VWe), f.addResources("it_IT", "deployment-mode", GWe), f.addResources("pl_PL", "deployment-mode", nxe), f.addResources("pt_PT", "deployment-mode", _xe);
41740
41755
  }
41741
41756
  f.isInitialized ? so() : f.on("initialized", so);
41742
- const hxe = ({ children: e }) => {
41757
+ const pxe = ({ children: e }) => {
41743
41758
  const a = J(Me), t = Z(
41744
41759
  () => a == null ? void 0 : a.environment.getUser().ovhSubsidiary,
41745
41760
  [a]
@@ -41752,7 +41767,7 @@ const hxe = ({ children: e }) => {
41752
41767
  target: et._blank,
41753
41768
  children: [
41754
41769
  e,
41755
- /* @__PURE__ */ s("span", { slot: "end", children: /* @__PURE__ */ s(
41770
+ /* @__PURE__ */ c("span", { slot: "end", children: /* @__PURE__ */ c(
41756
41771
  ge,
41757
41772
  {
41758
41773
  "aria-hidden": "true",
@@ -41766,7 +41781,7 @@ const hxe = ({ children: e }) => {
41766
41781
  ]
41767
41782
  }
41768
41783
  );
41769
- }, fxe = (e) => {
41784
+ }, hxe = (e) => {
41770
41785
  switch (e.name) {
41771
41786
  case "localzone":
41772
41787
  return {
@@ -41789,33 +41804,33 @@ const hxe = ({ children: e }) => {
41789
41804
  default:
41790
41805
  return null;
41791
41806
  }
41792
- }, gxe = ({
41807
+ }, fxe = ({
41793
41808
  deployments: e,
41794
41809
  value: a,
41795
41810
  onChange: t,
41796
41811
  inputProps: n,
41797
41812
  ...o
41798
41813
  }) => {
41799
- const { t: c } = L(["deployment-mode", "pci-region-selector"]), u = rt(
41814
+ const { t: s } = L(["deployment-mode", "pci-region-selector"]), u = rt(
41800
41815
  (h) => {
41801
- const b = [], v = fxe(h);
41816
+ const b = [], v = hxe(h);
41802
41817
  return v && b.push({
41803
41818
  ...v,
41804
- label: c(v.label)
41819
+ label: s(v.label)
41805
41820
  }), h.comingSoon && b.push({
41806
- label: c("deployment_mode_card_coming_soon"),
41821
+ label: s("deployment_mode_card_coming_soon"),
41807
41822
  color: "neutral"
41808
41823
  }), h.beta && b.push({
41809
- label: c("deployment_mode_card_beta"),
41824
+ label: s("deployment_mode_card_beta"),
41810
41825
  color: "success"
41811
41826
  }), {
41812
41827
  ...h,
41813
- label: c(`deployment_mode_card_title_${h.name}`),
41814
- description: c(`deployment_mode_card_description_${h.name}`),
41828
+ label: s(`deployment_mode_card_title_${h.name}`),
41829
+ description: s(`deployment_mode_card_description_${h.name}`),
41815
41830
  badges: b
41816
41831
  };
41817
41832
  },
41818
- [c]
41833
+ [s]
41819
41834
  ), m = Z(() => e.map(u), [
41820
41835
  e,
41821
41836
  u
@@ -41823,8 +41838,8 @@ const hxe = ({ children: e }) => {
41823
41838
  () => a ? u(a) : null,
41824
41839
  [a, u]
41825
41840
  );
41826
- return /* @__PURE__ */ s(
41827
- Rje,
41841
+ return /* @__PURE__ */ c(
41842
+ Ije,
41828
41843
  {
41829
41844
  ...o,
41830
41845
  value: p,
@@ -41834,28 +41849,28 @@ const hxe = ({ children: e }) => {
41834
41849
  ...n == null ? void 0 : n(e.find((b) => b.name === h.name))
41835
41850
  }),
41836
41851
  onChange: (h) => t == null ? void 0 : t(e.find((b) => b.name === h.name)),
41837
- label: c("deployment_mode_title"),
41838
- subtitle: /* @__PURE__ */ s(
41852
+ label: s("deployment_mode_title"),
41853
+ subtitle: /* @__PURE__ */ c(
41839
41854
  Xr,
41840
41855
  {
41841
- t: c,
41856
+ t: s,
41842
41857
  i18nKey: "deployment_mode_description",
41843
41858
  components: {
41844
- Link: /* @__PURE__ */ s(hxe, {})
41859
+ Link: /* @__PURE__ */ c(pxe, {})
41845
41860
  }
41846
41861
  }
41847
41862
  )
41848
41863
  }
41849
41864
  );
41850
- }, vDe = ({
41865
+ }, bDe = ({
41851
41866
  value: e,
41852
41867
  onChange: a,
41853
41868
  name: t,
41854
41869
  ...n
41855
41870
  }) => {
41856
- const { deployments: o, isPending: c } = PK();
41857
- return /* @__PURE__ */ s("div", { "aria-live": "polite", "aria-busy": c, children: c ? /* @__PURE__ */ s(Ae, { inline: !0, size: Te.md }) : /* @__PURE__ */ s(
41858
- gxe,
41871
+ const { deployments: o, isPending: s } = PK();
41872
+ return /* @__PURE__ */ c("div", { "aria-live": "polite", "aria-busy": s, children: s ? /* @__PURE__ */ c(Ae, { inline: !0, size: Te.md }) : /* @__PURE__ */ c(
41873
+ fxe,
41859
41874
  {
41860
41875
  ...n,
41861
41876
  value: e,
@@ -41864,20 +41879,20 @@ const hxe = ({ children: e }) => {
41864
41879
  name: t
41865
41880
  }
41866
41881
  ) });
41867
- }, yDe = ({
41882
+ }, vDe = ({
41868
41883
  name: e,
41869
41884
  checked: a,
41870
41885
  // eslint-disable-next-line @typescript-eslint/naming-convention
41871
41886
  render: t,
41872
41887
  onChange: n,
41873
41888
  className: o,
41874
- ...c
41889
+ ...s
41875
41890
  }) => {
41876
- const u = Ht(), m = Ht(), p = rt(() => n(c.value), [
41891
+ const u = Ht(), m = Ht(), p = rt(() => n(s.value), [
41877
41892
  n,
41878
- c.value
41893
+ s.value
41879
41894
  ]), h = Z(
41880
- () => /* @__PURE__ */ s(
41895
+ () => /* @__PURE__ */ c(
41881
41896
  t,
41882
41897
  {
41883
41898
  name: e,
@@ -41885,22 +41900,22 @@ const hxe = ({ children: e }) => {
41885
41900
  labelId: u,
41886
41901
  ariaDetailsId: m,
41887
41902
  onChange: p,
41888
- ...c
41903
+ ...s
41889
41904
  }
41890
41905
  ),
41891
- [t, e, a, u, m, c]
41906
+ [t, e, a, u, m, s]
41892
41907
  );
41893
41908
  return /* @__PURE__ */ k("label", { className: "tile-input", children: [
41894
- /* @__PURE__ */ s(
41909
+ /* @__PURE__ */ c(
41895
41910
  "input",
41896
41911
  {
41897
- ...c,
41912
+ ...s,
41898
41913
  tabIndex: 0,
41899
41914
  onChange: p,
41900
41915
  type: "radio",
41901
41916
  name: e,
41902
41917
  checked: a,
41903
- className: B("sr-only peer", o),
41918
+ className: X("sr-only peer", o),
41904
41919
  "aria-labelledby": u,
41905
41920
  "aria-details": m
41906
41921
  }
@@ -41911,70 +41926,70 @@ const hxe = ({ children: e }) => {
41911
41926
  export {
41912
41927
  MK as AccordionComponent,
41913
41928
  Nje as Badge,
41914
- Zxe as Card,
41915
- Kxe as CardBody,
41916
- Uxe as CardDescription,
41917
- Qxe as CardHeader,
41918
- Jxe as CardTitle,
41919
- Ije as ConfigCard,
41929
+ Yxe as Card,
41930
+ Zxe as CardBody,
41931
+ Jxe as CardDescription,
41932
+ Kxe as CardHeader,
41933
+ Qxe as CardTitle,
41934
+ Fje as ConfigCard,
41920
41935
  $K as DEPLOYMENT_FEATURES,
41921
41936
  Qo as DEPLOYMENT_MODES_TYPES,
41922
41937
  ro as DEPLOYMENT_MODES_URL,
41923
- sDe as DbaasLogsAccountSelector,
41924
- uDe as DeletionModal,
41925
- gxe as DeploymentTilesInput,
41938
+ rDe as DbaasLogsAccountSelector,
41939
+ lDe as DeletionModal,
41940
+ fxe as DeploymentTilesInput,
41926
41941
  $o as FLAVOR_CATEGORIES,
41927
- vDe as FeaturedDeploymentTilesInput,
41942
+ bDe as FeaturedDeploymentTilesInput,
41928
41943
  ao as FlavorLocalzoneChip,
41929
- hDe as FlavorSelector,
41944
+ pDe as FlavorSelector,
41930
41945
  yPe as FlavorTile,
41931
41946
  gPe as GLOBAL_REGIONS_INFO_URL,
41932
41947
  $s as KUBE_FLAVOR_CATEGORIES,
41933
41948
  fK as LEVEL_LABELS,
41934
41949
  fPe as LOCAL_ZONE_INFO_URL,
41935
41950
  ct as LogContext,
41936
- cDe as LogProvider,
41951
+ sDe as LogProvider,
41937
41952
  voe as LogTiles,
41938
- dDe as LogsView,
41953
+ cDe as LogsView,
41939
41954
  Ne as OperationStatus,
41940
41955
  Ea as PCICommonContext,
41941
- tDe as PciAnnouncementBanner,
41942
- eDe as PciDiscoveryBanner,
41943
- aDe as PciFreeLocalZonesBanner,
41956
+ eDe as PciAnnouncementBanner,
41957
+ Uxe as PciDiscoveryBanner,
41958
+ tDe as PciFreeLocalZonesBanner,
41944
41959
  Aoe as PciModal,
41945
- nDe as PciTrustedZoneBanner,
41946
- gDe as Pricing,
41947
- fDe as QuantitySelector,
41948
- yDe as RadioAdapter,
41960
+ aDe as PciTrustedZoneBanner,
41961
+ fDe as Pricing,
41962
+ hDe as QuantitySelector,
41963
+ vDe as RadioAdapter,
41949
41964
  Dje as RadioField,
41950
41965
  WQ as Region3AZChip,
41951
41966
  xQ as RegionChipByType,
41952
41967
  jQ as RegionGlobalzoneChip,
41953
41968
  kQ as RegionLocalzoneChip,
41954
- iDe as RegionSelector,
41955
- rDe as RegionSummary,
41969
+ oDe as RegionSelector,
41970
+ iDe as RegionSummary,
41956
41971
  DQ as RegionTile,
41957
- bDe as ShapesInputComponent,
41958
- lDe as StreamsList,
41972
+ gDe as ShapesInputComponent,
41973
+ dDe as StreamsList,
41959
41974
  Noe as TailLogs,
41960
- Rje as TilesInput,
41975
+ Ije as TilesInput,
41961
41976
  Ur as getApiSchema,
41962
41977
  as as getCatalog,
41963
41978
  gs as getCatalogQuery,
41964
41979
  Jo as getDeploymentBetaKey,
41965
41980
  Uo as getDeploymentComingSoonKey,
41966
41981
  ts as getFeatureAvailability,
41967
- Vxe as getFlavor,
41982
+ Exe as getFlavor,
41968
41983
  rs as getFlavors,
41969
41984
  Ps as getFlavorsQueryKey,
41970
41985
  _s as getImages,
41971
41986
  cs as getInstance,
41972
41987
  ds as getInstances,
41973
- Lxe as getInstancesByRegion,
41988
+ Vxe as getInstancesByRegion,
41974
41989
  xs as getInstancesQuery,
41975
41990
  ss as getKubeFlavors,
41976
41991
  Ms as getKubeFlavorsQueryKey,
41977
- Axe as getLogs,
41992
+ Nxe as getLogs,
41978
41993
  ls as getOperation,
41979
41994
  es as getProductAvailability,
41980
41995
  hs as getProductAvailabilityQuery,
@@ -41984,10 +41999,10 @@ export {
41984
41999
  ys as getProjectQuotaQuery,
41985
42000
  ya as getProjectRegions,
41986
42001
  os as getRetention,
41987
- Txe as getStream,
41988
- Exe as getStreamURL,
42002
+ Axe as getStream,
42003
+ Cxe as getStreamURL,
41989
42004
  ns as getStreams,
41990
- Cxe as getStreamsIds,
42005
+ Txe as getStreamsIds,
41991
42006
  is as getSubscriptions,
41992
42007
  ps as getVolumes,
41993
42008
  js as hasEnoughQuota,
@@ -42001,31 +42016,31 @@ export {
42001
42016
  Gt as useDbaasLogs,
42002
42017
  PK as useFeaturedDeploymentModes,
42003
42018
  ks as useFlavors,
42004
- Hxe as useGetApiSchema,
42005
- Bxe as useGetProjectRegions,
42019
+ Lxe as useGetApiSchema,
42020
+ Xxe as useGetProjectRegions,
42006
42021
  kK as useGetProjectRegionsQuery,
42007
- Gxe as useImages,
42008
- Ixe as useInstance,
42009
- Rxe as useInstances,
42022
+ Bxe as useImages,
42023
+ Fxe as useInstance,
42024
+ Ixe as useInstances,
42010
42025
  zs as useKubeFlavors,
42011
42026
  hK as useLogsDetails,
42012
42027
  Ws as useMergedKubeFlavors,
42013
- Xxe as useOperationProgress,
42014
- pDe as usePCICommonContextFactory,
42028
+ qxe as useOperationProgress,
42029
+ _De as usePCICommonContextFactory,
42015
42030
  wK as usePCIFeatureAvailability,
42016
- _De as useParam,
42017
- mDe as usePciUrl,
42031
+ mDe as useParam,
42032
+ uDe as usePciUrl,
42018
42033
  hPe as usePricing,
42019
42034
  fs as useProductAvailability,
42020
- Fxe as useProject,
42035
+ Hxe as useProject,
42021
42036
  yQ as useProjectLocalisation,
42022
42037
  ws as useProjectQuota,
42023
- oDe as useProjectRegions,
42038
+ nDe as useProjectRegions,
42024
42039
  _K as useRemoveSubscription,
42025
- Oxe as useStream,
42026
- qxe as useStreams,
42040
+ Rxe as useStream,
42041
+ Oxe as useStreams,
42027
42042
  pK as useSubscribedLogs,
42028
42043
  gK as useTailLogs,
42029
42044
  nQ as useTrustedZoneBanner,
42030
- Yxe as useVolumes
42045
+ Gxe as useVolumes
42031
42046
  };