@ovh-ux/manager-pci-common 0.16.1 → 0.16.3

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
@@ -1,12 +1,12 @@
1
1
  import jr, { v6 as F, fetchIcebergV6 as Ue, aapi as ro, FilterCategories as Wr } from "@ovh-ux/manager-core-api";
2
2
  import { useQuery as H, useQueries as so, useQueryClient as Rt, useMutation as _a } from "@tanstack/react-query";
3
3
  import { useMe as pa, ActionBanner as ha, useTranslatedMicroRegions as xr, getMacroRegion as Dr, useFeatureAvailability as Sr, Links as co, LinkType as lo, TabsComponent as uo, useNotifications as mo, DataGridTextCell as nt, useDataGrid as Nr, useColumnFilters as Ar, FilterAdd as Tr, FilterList as Cr, Datagrid as Er, useCatalogPrice as Vr, useProjectUrl as Lr, Subtitle as Hr } from "@ovh-ux/manager-react-components";
4
- import { useMemo as Q, useRef as Ke, useState as ie, useEffect as pe, createContext as _o, useContext as Z, useCallback as Lt, useId as dn } from "react";
4
+ import { useMemo as Q, useRef as Ke, useState as re, useEffect as pe, createContext as _o, useContext as Z, useCallback as Lt, useId as dn } from "react";
5
5
  import { useParams as fa } from "react-router-dom";
6
6
  import { useTranslation as V, Translation as it, Trans as Fr } from "react-i18next";
7
7
  import "react-dom";
8
8
  import { ShellContext as ke, useNavigation as po } from "@ovh-ux/manager-react-shell-client";
9
- import { jsx as l, jsxs as k, Fragment as ne } from "react/jsx-runtime";
9
+ import { jsx as l, 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 G } from "@ovhcloud/ods-common-theming";
11
11
  import { OsdsText as T, OsdsIcon as ye, OsdsMessage as Ir, OsdsChip as rt, OsdsPopover as Ot, OsdsPopoverContent as qt, OsdsTile as wt, OsdsSpinner as Ae, OsdsSelect as Rr, OsdsSelectOption as Or, OsdsButton as _e, OsdsLink as $t, OsdsDivider as qr, OsdsSkeleton as ga, OsdsSearchBar as Xr, OsdsModal as Br, OsdsFormField as ho, OsdsInput as fo, OsdsQuantity as Gr } from "@ovhcloud/ods-components/react";
12
12
  import { ODS_TEXT_SIZE as J, ODS_TEXT_LEVEL as Me, ODS_ICON_NAME as ge, ODS_ICON_SIZE as we, ODS_MESSAGE_TYPE as go, ODS_CHIP_SIZE as yt, ODS_SPINNER_SIZE as Te, ODS_BUTTON_SIZE as ve, ODS_BUTTON_VARIANT as fe, ODS_INPUT_TYPE as bo } from "@ovhcloud/ods-components";
@@ -272,30 +272,30 @@ const is = async (e, a) => {
272
272
  ...t.find((A) => A.name === W),
273
273
  ...o.find((A) => A.name === W)
274
274
  })).map((W) => {
275
- var E, M, D, K, U, je;
275
+ var M, D, K, U, je;
276
276
  const A = u.addons.find(
277
- (re) => re.planCode === W.planCodes.hourly
277
+ (ae) => ae.planCode === W.planCodes.hourly
278
278
  ), x = u.addons.find(
279
- (re) => re.planCode === W.planCodes.monthly
280
- ), P = (E = p.plans) == null ? void 0 : E.find(
281
- (re) => re.code === W.planCodes.hourly
282
- );
279
+ (ae) => ae.planCode === W.planCodes.monthly
280
+ ), P = (M = p.plans) == null ? void 0 : M.find(
281
+ (ae) => ae.code === W.planCodes.hourly
282
+ ), E = x && (x.pricings.find((ae) => ae.capacities.includes("renew")) || x.pricings[0]);
283
283
  return {
284
284
  ...W,
285
285
  blobs: A == null ? void 0 : A.blobs,
286
286
  compatibility: {
287
- localzone: (M = P == null ? void 0 : P.regions) == null ? void 0 : M.some(
288
- (re) => re.type === "localzone"
287
+ localzone: (D = P == null ? void 0 : P.regions) == null ? void 0 : D.some(
288
+ (ae) => ae.type === "localzone"
289
289
  ),
290
- globalzone: (D = P == null ? void 0 : P.regions) == null ? void 0 : D.some(
291
- (re) => re.type === "region"
290
+ globalzone: (K = P == null ? void 0 : P.regions) == null ? void 0 : K.some(
291
+ (ae) => ae.type === "region"
292
292
  )
293
293
  },
294
- pricingsHourly: (K = A == null ? void 0 : A.pricings) == null ? void 0 : K[0],
295
- pricingsMonthly: (U = x == null ? void 0 : x.pricings) == null ? void 0 : U[0],
294
+ pricingsHourly: (U = A == null ? void 0 : A.pricings) == null ? void 0 : U[0],
295
+ pricingsMonthly: E,
296
296
  isNew: A == null ? void 0 : A.blobs.tags.includes("is_new"),
297
297
  flavorCategory: (je = vo.find(
298
- (re) => re.pattern.test(W.type)
298
+ (ae) => ae.pattern.test(W.type)
299
299
  )) == null ? void 0 : je.category,
300
300
  isFlex: /flex$/.test(W.name),
301
301
  isLegacy: /eg|sp|hg|vps-ssd/.test(W.name),
@@ -36297,7 +36297,7 @@ const Xt = () => H({
36297
36297
  7: "DEBUG"
36298
36298
  };
36299
36299
  function mK(e, a, t) {
36300
- const { i18n: n } = V(), o = Ke({ ...Ho }).current, c = yo(n.language), u = Rt(), [m, p] = ie(!1), [h, v] = ie([]), y = Ke(/* @__PURE__ */ new Set()), { data: b, isFetching: N, isError: S } = H({
36300
+ const { i18n: n } = V(), o = Ke({ ...Ho }).current, c = yo(n.language), u = Rt(), [m, p] = re(!1), [h, v] = re([]), y = Ke(/* @__PURE__ */ new Set()), { data: b, isFetching: N, isError: S } = H({
36301
36301
  queryKey: ["logs-url", e, a],
36302
36302
  queryFn: async () => {
36303
36303
  const { data: W } = await F.post(`${e}/url`, {
@@ -36352,7 +36352,7 @@ function mK(e, a, t) {
36352
36352
  };
36353
36353
  }
36354
36354
  const xxe = (e, a, t) => {
36355
- const [n, o] = ie({
36355
+ const [n, o] = re({
36356
36356
  percentage: 0,
36357
36357
  status: Ne.Unknown
36358
36358
  }), c = Ke(t), u = (h) => {
@@ -36508,7 +36508,7 @@ const yK = ({
36508
36508
  className: o = "",
36509
36509
  ...c
36510
36510
  }) => {
36511
- const [u, m] = ie({ isOpen: t });
36511
+ const [u, m] = re({ isOpen: t });
36512
36512
  pe(() => {
36513
36513
  m((h) => ({ ...h, isOpen: !h.isOpen }));
36514
36514
  }, [t]);
@@ -36592,7 +36592,7 @@ function Axe({
36592
36592
  {}
36593
36593
  );
36594
36594
  };
36595
- return /* @__PURE__ */ l(ne, { children: QK(e) && /* @__PURE__ */ l(
36595
+ return /* @__PURE__ */ l(oe, { children: QK(e) && /* @__PURE__ */ l(
36596
36596
  ha,
36597
36597
  {
36598
36598
  message: t("pci_projects_project_activate_project_banner_message"),
@@ -36649,7 +36649,7 @@ function Txe({
36649
36649
  const { t: a } = V("pci-announcement-banner"), { navigateTo: t } = po(), { isBannerVisible: n } = UK(), o = async () => {
36650
36650
  await t("public-cloud", `#/pci/projects/${e}/regions`, {});
36651
36651
  };
36652
- return /* @__PURE__ */ l(ne, { children: n && /* @__PURE__ */ l(
36652
+ return /* @__PURE__ */ l(oe, { children: n && /* @__PURE__ */ l(
36653
36653
  ha,
36654
36654
  {
36655
36655
  message: a("pci_projects_beta_public_cloud_banner_info"),
@@ -36769,7 +36769,7 @@ function qn() {
36769
36769
  f.isInitialized ? qn() : f.on("initialized", qn);
36770
36770
  function Exe() {
36771
36771
  const { t: e } = V("pci-trusted-zone-banner"), { isBannerVisible: a } = nQ();
36772
- return /* @__PURE__ */ l(ne, { children: a && /* @__PURE__ */ l(Ir, { type: go.info, children: /* @__PURE__ */ l(
36772
+ return /* @__PURE__ */ l(oe, { children: a && /* @__PURE__ */ l(Ir, { type: go.info, children: /* @__PURE__ */ l(
36773
36773
  T,
36774
36774
  {
36775
36775
  level: Me.body,
@@ -36836,7 +36836,7 @@ function wQ({
36836
36836
  onSelectRegion: a,
36837
36837
  regionFilter: t
36838
36838
  }) {
36839
- const [n, o] = ie(null), [c, u] = ie(null), [m, p] = ie(null), h = yQ(e), { continents: v, regions: y } = h.data || {}, b = y == null ? void 0 : y.filter(
36839
+ const [n, o] = re(null), [c, u] = re(null), [m, p] = re(null), h = yQ(e), { continents: v, regions: y } = h.data || {}, b = y == null ? void 0 : y.filter(
36840
36840
  (P) => t ? t(P) : !0
36841
36841
  ), N = v == null ? void 0 : v.filter(
36842
36842
  (P) => P.id === "WORLD" || b.some(({ continentLabel: E }) => E === P.name)
@@ -37106,7 +37106,7 @@ const Uo = ({
37106
37106
  children: e.isMacro ? e.macroLabel : e.microLabel
37107
37107
  }
37108
37108
  ) }),
37109
- !t && /* @__PURE__ */ k(ne, { children: [
37109
+ !t && /* @__PURE__ */ k(oe, { children: [
37110
37110
  /* @__PURE__ */ l("hr", { className: "w-full border-solid border-0 border-b border-ods-primary-200" }),
37111
37111
  /* @__PURE__ */ l("div", { children: /* @__PURE__ */ l(Uo, { type: e.type }) })
37112
37112
  ] })
@@ -37302,7 +37302,7 @@ function Lxe({
37302
37302
  {
37303
37303
  items: c,
37304
37304
  itemKey: (S) => S.id,
37305
- contentElement: () => /* @__PURE__ */ k(ne, { children: [
37305
+ contentElement: () => /* @__PURE__ */ k(oe, { children: [
37306
37306
  /* @__PURE__ */ l(
37307
37307
  Gn,
37308
37308
  {
@@ -37320,7 +37320,7 @@ function Lxe({
37320
37320
  )
37321
37321
  }
37322
37322
  ),
37323
- (m == null ? void 0 : m.length) > 0 && /* @__PURE__ */ k(ne, { children: [
37323
+ (m == null ? void 0 : m.length) > 0 && /* @__PURE__ */ k(oe, { children: [
37324
37324
  /* @__PURE__ */ l("div", { className: "ml-8", children: /* @__PURE__ */ l(
37325
37325
  T,
37326
37326
  {
@@ -37402,7 +37402,7 @@ function Fxe({
37402
37402
  const { data: t, isPending: n } = Xt();
37403
37403
  return pe(() => {
37404
37404
  a(t == null ? void 0 : t[0]);
37405
- }, [t]), n ? /* @__PURE__ */ l("div", { className: "text-center", children: /* @__PURE__ */ l(Ae, { inline: !0, size: Te.md }) }) : /* @__PURE__ */ l(ne, { children: (t == null ? void 0 : t.length) && /* @__PURE__ */ l("div", { className: "mt-8", children: /* @__PURE__ */ l(
37405
+ }, [t]), n ? /* @__PURE__ */ l("div", { className: "text-center", children: /* @__PURE__ */ l(Ae, { inline: !0, size: Te.md }) }) : /* @__PURE__ */ l(oe, { children: (t == null ? void 0 : t.length) && /* @__PURE__ */ l("div", { className: "mt-8", children: /* @__PURE__ */ l(
37406
37406
  Rr,
37407
37407
  {
37408
37408
  className: "w-[20rem]",
@@ -37781,7 +37781,7 @@ function foe({
37781
37781
  onSuccess: a,
37782
37782
  onError: t
37783
37783
  });
37784
- return /* @__PURE__ */ k(ne, { children: [
37784
+ return /* @__PURE__ */ k(oe, { children: [
37785
37785
  u && /* @__PURE__ */ l("div", { className: "text-center mt-8", children: /* @__PURE__ */ l(Ae, { size: Te.md, inline: !0 }) }),
37786
37786
  !u && /* @__PURE__ */ l(
37787
37787
  _e,
@@ -37811,7 +37811,7 @@ function goe({ onGotoStreams: e }) {
37811
37811
  window.location.href = y;
37812
37812
  }));
37813
37813
  };
37814
- return /* @__PURE__ */ k(ne, { children: [
37814
+ return /* @__PURE__ */ k(oe, { children: [
37815
37815
  /* @__PURE__ */ l(
37816
37816
  T,
37817
37817
  {
@@ -37882,9 +37882,9 @@ function boe({ onGotoStreams: e }) {
37882
37882
  n,
37883
37883
  o
37884
37884
  );
37885
- return v ? /* @__PURE__ */ l(ne, {}) : /* @__PURE__ */ k(ne, { children: [
37885
+ return v ? /* @__PURE__ */ l(oe, {}) : /* @__PURE__ */ k(oe, { children: [
37886
37886
  (h == null ? void 0 : h.length) === 0 && /* @__PURE__ */ l(goe, { onGotoStreams: e }),
37887
- (h == null ? void 0 : h.length) > 0 && /* @__PURE__ */ k(ne, { children: [
37887
+ (h == null ? void 0 : h.length) > 0 && /* @__PURE__ */ k(oe, { children: [
37888
37888
  /* @__PURE__ */ l(
37889
37889
  T,
37890
37890
  {
@@ -38024,7 +38024,7 @@ function boe({ onGotoStreams: e }) {
38024
38024
  ] });
38025
38025
  }
38026
38026
  function Rxe({ onGotoStreams: e }) {
38027
- const [a, t] = ie(!1);
38027
+ const [a, t] = re(!1);
38028
38028
  return /* @__PURE__ */ k(
38029
38029
  "div",
38030
38030
  {
@@ -38147,7 +38147,7 @@ function Moe({
38147
38147
  a,
38148
38148
  t
38149
38149
  );
38150
- return /* @__PURE__ */ k(ne, { children: [
38150
+ return /* @__PURE__ */ k(oe, { children: [
38151
38151
  m && /* @__PURE__ */ l(ga, {}),
38152
38152
  !m && !(u != null && u.duration) && "-",
38153
38153
  !m && (u == null ? void 0 : u.duration) && I5(koe(u == null ? void 0 : u.duration), {
@@ -38161,7 +38161,7 @@ function zoe({
38161
38161
  streamId: t,
38162
38162
  subscriptionCount: n
38163
38163
  }) {
38164
- const { t: o } = V("pci-logs"), { tracking: c } = Z(ke).shell, { logsApiURL: u, logsKind: m, logsTracking: p } = Z(ct), { data: h, isPending: v } = woe(e, t), y = h == null ? void 0 : h.filter(({ kind: D }) => D === m), { navigation: b } = Z(ke).shell, [N, S] = ie(""), { addError: z, addSuccess: W } = mo(), { create: A, isPending: x } = $oe({
38164
+ const { t: o } = V("pci-logs"), { tracking: c } = Z(ke).shell, { logsApiURL: u, logsKind: m, logsTracking: p } = Z(ct), { data: h, isPending: v } = woe(e, t), y = h == null ? void 0 : h.filter(({ kind: D }) => D === m), { navigation: b } = Z(ke).shell, [N, S] = re(""), { addError: z, addSuccess: W } = mo(), { create: A, isPending: x } = $oe({
38165
38165
  logsApiURL: u,
38166
38166
  logsKind: m,
38167
38167
  streamId: t,
@@ -38275,7 +38275,7 @@ const joe = ({
38275
38275
  account: e,
38276
38276
  serviceName: a
38277
38277
  }) => {
38278
- const { t } = V("pci-logs"), { navigation: n } = Z(ke).shell, [o, c] = ie("");
38278
+ const { t } = V("pci-logs"), { navigation: n } = Z(ke).shell, [o, c] = re("");
38279
38279
  return pe(() => {
38280
38280
  n.getURL("dedicated", `#/dbaas/logs/${e == null ? void 0 : e.serviceName}/home`, {}).then(c);
38281
38281
  }, [e]), [
@@ -38356,7 +38356,7 @@ function Oxe({
38356
38356
  account: e,
38357
38357
  serviceName: a
38358
38358
  }), b = Ke(void 0);
38359
- return v ? /* @__PURE__ */ l("div", { className: "text-center", children: /* @__PURE__ */ l(Ae, { inline: !0, size: Te.md }) }) : /* @__PURE__ */ k(ne, { children: [
38359
+ return v ? /* @__PURE__ */ l("div", { className: "text-center", children: /* @__PURE__ */ l(Ae, { inline: !0, size: Te.md }) }) : /* @__PURE__ */ k(oe, { children: [
38360
38360
  /* @__PURE__ */ l("div", { className: "flex justify-end", children: /* @__PURE__ */ k(Ot, { ref: b, children: [
38361
38361
  /* @__PURE__ */ k(
38362
38362
  _e,
@@ -38439,7 +38439,7 @@ function Soe({
38439
38439
  isFullscreen: e,
38440
38440
  onToggleFullscreen: a
38441
38441
  }) {
38442
- const { t } = V("pci-logs"), n = Ke(void 0), o = Ke(void 0), { logsApiURL: c, logsKeys: u, logsKind: m } = Z(ct), [p, h] = ie(""), { messages: v, clearLogs: y, isPolling: b, setIsPolling: N, isError: S } = mK(
38442
+ const { t } = V("pci-logs"), n = Ke(void 0), o = Ke(void 0), { logsApiURL: c, logsKeys: u, logsKind: m } = Z(ct), [p, h] = re(""), { messages: v, clearLogs: y, isPolling: b, setIsPolling: N, isError: S } = mK(
38443
38443
  c,
38444
38444
  m,
38445
38445
  u
@@ -39379,7 +39379,7 @@ function qxe({
39379
39379
  confirmationText: h,
39380
39380
  confirmationLabel: v
39381
39381
  }) {
39382
- const { t: y } = V("pci-common"), [b, N] = ie({
39382
+ const { t: y } = V("pci-common"), [b, N] = re({
39383
39383
  deleteInput: "",
39384
39384
  error: 0,
39385
39385
  isTouched: !1
@@ -39620,7 +39620,7 @@ function owe() {
39620
39620
  } };
39621
39621
  }
39622
39622
  const Xxe = () => {
39623
- const { projectId: e } = fa(), a = Z(ke).shell.navigation, [t, n] = ie("");
39623
+ const { projectId: e } = fa(), a = Z(ke).shell.navigation, [t, n] = re("");
39624
39624
  return pe(() => {
39625
39625
  a.getURL("public-cloud", `#/pci/projects/${e}`, {}).then((o) => {
39626
39626
  n(o);
@@ -40086,7 +40086,7 @@ function uPe({
40086
40086
  children: y(n.hourly)
40087
40087
  }
40088
40088
  ),
40089
- !u && /* @__PURE__ */ k(ne, { children: [
40089
+ !u && /* @__PURE__ */ k(oe, { children: [
40090
40090
  /* @__PURE__ */ l("hr", { className: Et }),
40091
40091
  /* @__PURE__ */ l(
40092
40092
  T,
@@ -40369,7 +40369,7 @@ function Gxe({
40369
40369
  region: a,
40370
40370
  onSelect: t
40371
40371
  }) {
40372
- const { mergedFlavors: n, isPending: o } = Ps(e, a), [c, u] = ie(null);
40372
+ const { mergedFlavors: n, isPending: o } = Ps(e, a), [c, u] = re(null);
40373
40373
  return o ? /* @__PURE__ */ l(Ae, { inline: !0, size: Te.md }) : /* @__PURE__ */ l(
40374
40374
  uo,
40375
40375
  {
@@ -40475,7 +40475,7 @@ function Yxe({
40475
40475
  contentClassName: p,
40476
40476
  ...h
40477
40477
  }) {
40478
- const { t: v } = V("pci-quantity-selector"), [, y] = ie(0), b = {
40478
+ const { t: v } = V("pci-quantity-selector"), [, y] = re(0), b = {
40479
40479
  min: c !== void 0 && n < c,
40480
40480
  max: u !== void 0 && n > u,
40481
40481
  nan: Number.isNaN(n)
@@ -40593,8 +40593,8 @@ function pje(e) {
40593
40593
  var It = { exports: {} };
40594
40594
  It.exports;
40595
40595
  (function(e, a) {
40596
- var t = 200, n = "__lodash_hash_undefined__", o = 1, c = 2, u = 9007199254740991, m = "[object Arguments]", p = "[object Array]", h = "[object AsyncFunction]", v = "[object Boolean]", y = "[object Date]", b = "[object Error]", N = "[object Function]", S = "[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]", K = "[object String]", U = "[object Symbol]", je = "[object Undefined]", re = "[object WeakMap]", Va = "[object ArrayBuffer]", kt = "[object DataView]", oi = "[object Float32Array]", ii = "[object Float64Array]", ri = "[object Int8Array]", si = "[object Int16Array]", ci = "[object Int32Array]", di = "[object Uint8Array]", li = "[object Uint8ClampedArray]", ui = "[object Uint16Array]", mi = "[object Uint32Array]", _i = /[\\^$.*+?()[\]{}|]/g, pi = /^\[object .+?Constructor\]$/, hi = /^(?:0|[1-9]\d*)$/, I = {};
40597
- I[oi] = I[ii] = I[ri] = I[si] = I[ci] = I[di] = I[li] = I[ui] = I[mi] = !0, I[m] = I[p] = I[Va] = I[v] = I[kt] = I[y] = I[b] = I[N] = I[z] = I[W] = I[x] = I[M] = I[D] = I[K] = I[re] = !1;
40596
+ var t = 200, n = "__lodash_hash_undefined__", o = 1, c = 2, u = 9007199254740991, m = "[object Arguments]", p = "[object Array]", h = "[object AsyncFunction]", v = "[object Boolean]", y = "[object Date]", b = "[object Error]", N = "[object Function]", S = "[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]", K = "[object String]", U = "[object Symbol]", je = "[object Undefined]", ae = "[object WeakMap]", Va = "[object ArrayBuffer]", kt = "[object DataView]", oi = "[object Float32Array]", ii = "[object Float64Array]", ri = "[object Int8Array]", si = "[object Int16Array]", ci = "[object Int32Array]", di = "[object Uint8Array]", li = "[object Uint8ClampedArray]", ui = "[object Uint16Array]", mi = "[object Uint32Array]", _i = /[\\^$.*+?()[\]{}|]/g, pi = /^\[object .+?Constructor\]$/, hi = /^(?:0|[1-9]\d*)$/, I = {};
40597
+ I[oi] = I[ii] = I[ri] = I[si] = I[ci] = I[di] = I[li] = I[ui] = I[mi] = !0, I[m] = I[p] = I[Va] = I[v] = I[kt] = I[y] = I[b] = I[N] = I[z] = I[W] = I[x] = I[M] = I[D] = I[K] = I[ae] = !1;
40598
40598
  var La = typeof Vt == "object" && Vt && Vt.Object === Object && Vt, fi = typeof self == "object" && self && self.Object === Object && self, xe = La || fi || Function("return this")(), Ha = a && !a.nodeType && a, Fa = Ha && !0 && e && !e.nodeType && e, Ia = Fa && Fa.exports === Ha, Bt = Ia && La.process, Ra = function() {
40599
40599
  try {
40600
40600
  return Bt && Bt.binding && Bt.binding("util");
@@ -40788,13 +40788,13 @@ It.exports;
40788
40788
  }
40789
40789
  Ce.prototype.clear = tr, Ce.prototype.delete = ar, Ce.prototype.get = nr, Ce.prototype.has = or, Ce.prototype.set = ir;
40790
40790
  function rr(d, _) {
40791
- var g = Dt(d), j = !g && wr(d), R = !g && !j && Ut(d), C = !g && !j && !R && sn(d), X = g || j || R || C, ee = X ? yi(d.length, String) : [], ae = ee.length;
40791
+ var g = Dt(d), j = !g && wr(d), R = !g && !j && Ut(d), C = !g && !j && !R && sn(d), X = g || j || R || C, ee = X ? yi(d.length, String) : [], ne = ee.length;
40792
40792
  for (var q in d)
40793
40793
  We.call(d, q) && !(X && // Safari 9 has enumerable `arguments.length` in strict mode.
40794
40794
  (q == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
40795
40795
  R && (q == "offset" || q == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
40796
40796
  C && (q == "buffer" || q == "byteLength" || q == "byteOffset") || // Skip index properties.
40797
- fr(q, ae))) && ee.push(q);
40797
+ fr(q, ne))) && ee.push(q);
40798
40798
  return ee;
40799
40799
  }
40800
40800
  function Wt(d, _) {
@@ -40817,16 +40817,16 @@ It.exports;
40817
40817
  return d === _ ? !0 : d == null || _ == null || !mt(d) && !mt(_) ? d !== d && _ !== _ : cr(d, _, g, j, Ua, R);
40818
40818
  }
40819
40819
  function cr(d, _, g, j, R, C) {
40820
- var X = Dt(d), ee = Dt(_), ae = X ? p : Ee(d), q = ee ? p : Ee(_);
40821
- ae = ae == m ? x : ae, q = q == m ? x : q;
40822
- var be = ae == x, ze = q == x, oe = ae == q;
40823
- if (oe && Ut(d)) {
40820
+ var X = Dt(d), ee = Dt(_), ne = X ? p : Ee(d), q = ee ? p : Ee(_);
40821
+ ne = ne == m ? x : ne, q = q == m ? x : q;
40822
+ var be = ne == x, ze = q == x, ie = ne == q;
40823
+ if (ie && Ut(d)) {
40824
40824
  if (!Ut(_))
40825
40825
  return !1;
40826
40826
  X = !0, be = !1;
40827
40827
  }
40828
- if (oe && !be)
40829
- return C || (C = new Ce()), X || sn(d) ? en(d, _, g, j, R, C) : mr(d, _, ae, g, j, R, C);
40828
+ if (ie && !be)
40829
+ return C || (C = new Ce()), X || sn(d) ? en(d, _, g, j, R, C) : mr(d, _, ne, g, j, R, C);
40830
40830
  if (!(g & o)) {
40831
40831
  var $e = be && We.call(d, "__wrapped__"), Pe = ze && We.call(_, "__wrapped__");
40832
40832
  if ($e || Pe) {
@@ -40834,7 +40834,7 @@ It.exports;
40834
40834
  return C || (C = new Ce()), R(Ve, Se, g, j, C);
40835
40835
  }
40836
40836
  }
40837
- return oe ? (C || (C = new Ce()), _r(d, _, g, j, R, C)) : !1;
40837
+ return ie ? (C || (C = new Ce()), _r(d, _, g, j, R, C)) : !1;
40838
40838
  }
40839
40839
  function dr(d) {
40840
40840
  if (!rn(d) || br(d))
@@ -40854,13 +40854,13 @@ It.exports;
40854
40854
  return _;
40855
40855
  }
40856
40856
  function en(d, _, g, j, R, C) {
40857
- var X = g & o, ee = d.length, ae = _.length;
40858
- if (ee != ae && !(X && ae > ee))
40857
+ var X = g & o, ee = d.length, ne = _.length;
40858
+ if (ee != ne && !(X && ne > ee))
40859
40859
  return !1;
40860
40860
  var q = C.get(d);
40861
40861
  if (q && C.get(_))
40862
40862
  return q == _;
40863
- var be = -1, ze = !0, oe = g & c ? new jt() : void 0;
40863
+ var be = -1, ze = !0, ie = g & c ? new jt() : void 0;
40864
40864
  for (C.set(d, _), C.set(_, d); ++be < ee; ) {
40865
40865
  var $e = d[be], Pe = _[be];
40866
40866
  if (j)
@@ -40871,10 +40871,10 @@ It.exports;
40871
40871
  ze = !1;
40872
40872
  break;
40873
40873
  }
40874
- if (oe) {
40874
+ if (ie) {
40875
40875
  if (!vi(_, function(Se, Ge) {
40876
- if (!$i(oe, Ge) && ($e === Se || R($e, Se, g, j, C)))
40877
- return oe.push(Ge);
40876
+ if (!$i(ie, Ge) && ($e === Se || R($e, Se, g, j, C)))
40877
+ return ie.push(Ge);
40878
40878
  })) {
40879
40879
  ze = !1;
40880
40880
  break;
@@ -40906,8 +40906,8 @@ It.exports;
40906
40906
  case z:
40907
40907
  var ee = ki;
40908
40908
  case D:
40909
- var ae = j & o;
40910
- if (ee || (ee = zi), d.size != _.size && !ae)
40909
+ var ne = j & o;
40910
+ if (ee || (ee = zi), d.size != _.size && !ne)
40911
40911
  return !1;
40912
40912
  var q = X.get(d);
40913
40913
  if (q)
@@ -40922,12 +40922,12 @@ It.exports;
40922
40922
  return !1;
40923
40923
  }
40924
40924
  function _r(d, _, g, j, R, C) {
40925
- var X = g & o, ee = tn(d), ae = ee.length, q = tn(_), be = q.length;
40926
- if (ae != be && !X)
40925
+ var X = g & o, ee = tn(d), ne = ee.length, q = tn(_), be = q.length;
40926
+ if (ne != be && !X)
40927
40927
  return !1;
40928
- for (var ze = ae; ze--; ) {
40929
- var oe = ee[ze];
40930
- if (!(X ? oe in _ : We.call(_, oe)))
40928
+ for (var ze = ne; ze--; ) {
40929
+ var ie = ee[ze];
40930
+ if (!(X ? ie in _ : We.call(_, ie)))
40931
40931
  return !1;
40932
40932
  }
40933
40933
  var $e = C.get(d);
@@ -40935,16 +40935,16 @@ It.exports;
40935
40935
  return $e == _;
40936
40936
  var Pe = !0;
40937
40937
  C.set(d, _), C.set(_, d);
40938
- for (var Ve = X; ++ze < ae; ) {
40939
- oe = ee[ze];
40940
- var Se = d[oe], Ge = _[oe];
40938
+ for (var Ve = X; ++ze < ne; ) {
40939
+ ie = ee[ze];
40940
+ var Se = d[ie], Ge = _[ie];
40941
40941
  if (j)
40942
- var cn = X ? j(Ge, Se, oe, _, d, C) : j(Se, Ge, oe, d, _, C);
40942
+ var cn = X ? j(Ge, Se, ie, _, d, C) : j(Se, Ge, ie, d, _, C);
40943
40943
  if (!(cn === void 0 ? Se === Ge || R(Se, Ge, g, j, C) : cn)) {
40944
40944
  Pe = !1;
40945
40945
  break;
40946
40946
  }
40947
- Ve || (Ve = oe == "constructor");
40947
+ Ve || (Ve = ie == "constructor");
40948
40948
  }
40949
40949
  if (Pe && !Ve) {
40950
40950
  var St = d.constructor, Nt = _.constructor;
@@ -40978,7 +40978,7 @@ It.exports;
40978
40978
  return Za.call(d, _);
40979
40979
  }));
40980
40980
  } : Mr, Ee = ut;
40981
- (Yt && Ee(new Yt(new ArrayBuffer(1))) != kt || dt && Ee(new dt()) != z || Zt && Ee(Zt.resolve()) != P || Kt && Ee(new Kt()) != D || Qt && Ee(new Qt()) != re) && (Ee = function(d) {
40981
+ (Yt && Ee(new Yt(new ArrayBuffer(1))) != kt || dt && Ee(new dt()) != z || Zt && Ee(Zt.resolve()) != P || Kt && Ee(new Kt()) != D || Qt && Ee(new Qt()) != ae) && (Ee = function(d) {
40982
40982
  var _ = ut(d), g = _ == x ? d.constructor : void 0, j = g ? Be(g) : "";
40983
40983
  if (j)
40984
40984
  switch (j) {
@@ -40991,7 +40991,7 @@ It.exports;
40991
40991
  case Ei:
40992
40992
  return D;
40993
40993
  case Vi:
40994
- return re;
40994
+ return ae;
40995
40995
  }
40996
40996
  return _;
40997
40997
  });
@@ -41159,7 +41159,7 @@ const sa = /* @__PURE__ */ pje(hje), fje = ({
41159
41159
  ...v
41160
41160
  }) {
41161
41161
  var E;
41162
- const [y, b] = ie({
41162
+ const [y, b] = re({
41163
41163
  value: t,
41164
41164
  group: void 0
41165
41165
  }), N = Q(
@@ -41227,7 +41227,7 @@ const sa = /* @__PURE__ */ pje(hje), fje = ({
41227
41227
  t && !sa(t, y.value) && b((M) => ({ ...M, value: t }));
41228
41228
  }, [t]), pe(() => {
41229
41229
  n && n(y.value);
41230
- }, [y.value]), /* @__PURE__ */ l("section", { className: p, ...v, style: { maxWidth: "100%" }, children: !h || !m ? /* @__PURE__ */ k(ne, { children: [
41230
+ }, [y.value]), /* @__PURE__ */ l("section", { className: p, ...v, style: { maxWidth: "100%" }, children: !h || !m ? /* @__PURE__ */ k(oe, { children: [
41231
41231
  m && /* @__PURE__ */ k("ul", { className: "list-none flex flex-row gap-0 m-0 p-0 max-w-full w-full", children: [
41232
41232
  [...x.itemsMap.keys()].map((M) => /* @__PURE__ */ l(
41233
41233
  "li",
@@ -41293,7 +41293,7 @@ const sa = /* @__PURE__ */ pje(hje), fje = ({
41293
41293
  value: D
41294
41294
  }));
41295
41295
  },
41296
- children: P.is.stackSingle(M) ? /* @__PURE__ */ l(ne, { children: /* @__PURE__ */ l(
41296
+ children: P.is.stackSingle(M) ? /* @__PURE__ */ l(oe, { children: /* @__PURE__ */ l(
41297
41297
  N,
41298
41298
  {
41299
41299
  item: P.itemsMap.get(M)[0],
@@ -41501,7 +41501,7 @@ const GWe = "peer-enabled:hover:bg-[--ods-color-blue-100] peer-checked:bg-[--ods
41501
41501
  /* @__PURE__ */ l($K, { children: /* @__PURE__ */ l(PK, { id: t, className: "deployment-mode-card-title", children: u(`deployment_mode_card_title_${e}`) }) }),
41502
41502
  /* @__PURE__ */ k(wK, { id: n, children: [
41503
41503
  /* @__PURE__ */ l("div", { children: /* @__PURE__ */ l(Uo, { type: e, showTooltip: !1 }) }),
41504
- /* @__PURE__ */ l("div", { children: /* @__PURE__ */ l(kK, { children: u(`deployment_mode_card_description_${e}`) }) }),
41504
+ /* @__PURE__ */ l("div", { className: "text-center", children: /* @__PURE__ */ l(kK, { children: u(`deployment_mode_card_description_${e}`) }) }),
41505
41505
  /* @__PURE__ */ l("div", { children: a }),
41506
41506
  /* @__PURE__ */ l("div", { children: c })
41507
41507
  ] })
@@ -41517,7 +41517,7 @@ const GWe = "peer-enabled:hover:bg-[--ods-color-blue-100] peer-checked:bg-[--ods
41517
41517
  IN: "https://help.ovhcloud.com/csm/asia-public-cloud-deployments-modes?id=kb_article_view&sysparm_article=KB0066023",
41518
41518
  SG: "https://help.ovhcloud.com/csm/en-sg-public-cloud-deployments-modes?id=kb_article_view&sysparm_article=KB0066026",
41519
41519
  DE: "https://help.ovhcloud.com/csm/de-public-cloud-deployments-modes?id=kb_article_view&sysparm_article=KB0066036",
41520
- ES: "https://help.ovhcloud.com/csm/es-es-documentation-public-cloud?id=kb_browse_cat&kb_id=574a8325551974502d4c6e78b7421938",
41520
+ ES: "https://help.ovhcloud.com/csm/es-es-public-cloud-deployments-modes?id=kb_article_view&sysparm_article=KB0066024",
41521
41521
  FR: "https://help.ovhcloud.com/csm/fr-public-cloud-deployments-modes?id=kb_article_view&sysparm_article=KB0066031",
41522
41522
  IT: "https://help.ovhcloud.com/csm/it-public-cloud-deployments-modes?id=kb_article_view&sysparm_article=KB0066033",
41523
41523
  MA: "https://help.ovhcloud.com/csm/fr-public-cloud-deployments-modes?id=kb_article_view&sysparm_article=KB0066031",