@cobaltcore-dev/aurora 0.20.0 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/client/{ContentHeader-BIScbvb4.mjs → ContentHeader-CIAzorGI.mjs} +2 -3
  2. package/dist/client/{ContentHeader-BIScbvb4.mjs.map → ContentHeader-CIAzorGI.mjs.map} +1 -1
  3. package/dist/client/{_flavorId-sS1sg_DZ.mjs → _flavorId-BMX239RH.mjs} +3 -3
  4. package/dist/client/{_flavorId-sS1sg_DZ.mjs.map → _flavorId-BMX239RH.mjs.map} +1 -1
  5. package/dist/client/{_flavorId-BQY7YhNx.mjs → _flavorId-BaNJ1CDY.mjs} +2 -2
  6. package/dist/client/{_flavorId-BQY7YhNx.mjs.map → _flavorId-BaNJ1CDY.mjs.map} +1 -1
  7. package/dist/client/{_floatingIpId-DFCaWI9K.mjs → _floatingIpId-DQFtZNeg.mjs} +2 -2
  8. package/dist/client/{_floatingIpId-DFCaWI9K.mjs.map → _floatingIpId-DQFtZNeg.mjs.map} +1 -1
  9. package/dist/client/{_floatingIpId-De0hCSSN2.mjs → _floatingIpId-E6x99cmW.mjs} +2 -2
  10. package/dist/client/_floatingIpId-E6x99cmW.mjs.map +1 -0
  11. package/dist/client/{_imageId-D8HiDS3P.mjs → _imageId-C2662dZr.mjs} +2 -2
  12. package/dist/client/{_imageId-D8HiDS3P.mjs.map → _imageId-C2662dZr.mjs.map} +1 -1
  13. package/dist/client/{_projectId-b4NGeECR.mjs → _projectId-B4ScifQf.mjs} +7 -7
  14. package/dist/client/_projectId-B4ScifQf.mjs.map +1 -0
  15. package/dist/client/{_projectId-D8FHe0gr.mjs → _projectId-CYq4KZXB.mjs} +3 -3
  16. package/dist/client/{_projectId-D8FHe0gr.mjs.map → _projectId-CYq4KZXB.mjs.map} +1 -1
  17. package/dist/client/{_projectId-Cq9JnhRj.mjs → _projectId-DJLjspKf.mjs} +24 -25
  18. package/dist/client/_projectId-DJLjspKf.mjs.map +1 -0
  19. package/dist/client/{_projectId-Ig3QqYzt.mjs → _projectId-DxgPaiA7.mjs} +2 -2
  20. package/dist/client/_projectId-DxgPaiA7.mjs.map +1 -0
  21. package/dist/client/{_storageType-CH2khFcZ.mjs → _storageType-DsbBodWF.mjs} +2 -2
  22. package/dist/client/{_storageType-CH2khFcZ.mjs.map → _storageType-DsbBodWF.mjs.map} +1 -1
  23. package/dist/client/{_storageType-D-1H6SX1.mjs → _storageType-WwAATdsa.mjs} +886 -886
  24. package/dist/client/{_storageType-D-1H6SX1.mjs.map → _storageType-WwAATdsa.mjs.map} +1 -1
  25. package/dist/client/{flavors-D5aTQJT1.mjs → flavors-Bwjig3k2.mjs} +3 -3
  26. package/dist/client/{flavors-D5aTQJT1.mjs.map → flavors-Bwjig3k2.mjs.map} +1 -1
  27. package/dist/client/{flavors-TqwbWt4R.mjs → flavors-C7PVJUqZ.mjs} +2 -2
  28. package/dist/client/{flavors-TqwbWt4R.mjs.map → flavors-C7PVJUqZ.mjs.map} +1 -1
  29. package/dist/client/{images-sNuJa6ce.mjs → images-CD7DNwru.mjs} +2 -2
  30. package/dist/client/{images-sNuJa6ce.mjs.map → images-CD7DNwru.mjs.map} +1 -1
  31. package/dist/client/{images-CkW8zNjs.mjs → images-CfBrglGJ.mjs} +9 -9
  32. package/dist/client/{images-CkW8zNjs.mjs.map → images-CfBrglGJ.mjs.map} +1 -1
  33. package/dist/client/index.js +454 -317
  34. package/dist/client/index.js.map +1 -1
  35. package/dist/client/{objects-B3Z8h4RU.mjs → objects-CEBrL7k-.mjs} +2 -2
  36. package/dist/client/{objects-B3Z8h4RU.mjs.map → objects-CEBrL7k-.mjs.map} +1 -1
  37. package/dist/client/{objects-CGOfO00N.mjs → objects-DvIxpzGI.mjs} +3 -3
  38. package/dist/client/{objects-CGOfO00N.mjs.map → objects-DvIxpzGI.mjs.map} +1 -1
  39. package/dist/client/{pca-BClYQElh.mjs → pca-CpMqoF00.mjs} +3 -3
  40. package/dist/client/{pca-BClYQElh.mjs.map → pca-CpMqoF00.mjs.map} +1 -1
  41. package/dist/client/{pca-B4_2DqT2.mjs → pca-ZgGU0UPF.mjs} +2 -2
  42. package/dist/client/{pca-B4_2DqT2.mjs.map → pca-ZgGU0UPF.mjs.map} +1 -1
  43. package/dist/client/projects-DvSiI5Vg.mjs.map +1 -1
  44. package/dist/client/projects-yiK0HGSA.mjs.map +1 -1
  45. package/dist/client/routeInfo-Ct5r4Gen.mjs +56 -0
  46. package/dist/client/routeInfo-Ct5r4Gen.mjs.map +1 -0
  47. package/dist/client/trpcClient.d.ts +37 -0
  48. package/dist/server/index.d.ts +37 -0
  49. package/dist/server/index.js +44 -29
  50. package/package.json +1 -1
  51. package/dist/client/Slot-CWb612-_.mjs +0 -28
  52. package/dist/client/Slot-CWb612-_.mjs.map +0 -1
  53. package/dist/client/_floatingIpId-De0hCSSN2.mjs.map +0 -1
  54. package/dist/client/_projectId-Cq9JnhRj.mjs.map +0 -1
  55. package/dist/client/_projectId-Ig3QqYzt.mjs.map +0 -1
  56. package/dist/client/_projectId-b4NGeECR.mjs.map +0 -1
  57. package/dist/client/projects-CDFynG9q.mjs +0 -23
  58. package/dist/client/projects-CDFynG9q.mjs.map +0 -1
  59. package/dist/client/projects-sn_XPdCh.mjs +0 -107
  60. package/dist/client/projects-sn_XPdCh.mjs.map +0 -1
  61. package/dist/client/routeInfo-CdTRlSxv.mjs +0 -32
  62. package/dist/client/routeInfo-CdTRlSxv.mjs.map +0 -1
@@ -1,21 +1,21 @@
1
1
  import { $ as e, A as t, B as n, D as r, E as i, F as a, G as o, K as s, L as c, N as l, P as u, R as d, U as f, at as p, ct as m, et as h, f as g, g as _, l as v, lt as y, n as b, ot as x, q as S, r as C, rt as w, s as T, st as E, tt as D, ut as O, w as k, y as A } from "./build-DgeVmENN.mjs";
2
2
  import { r as j } from "./trpcClient-BxcNKnhv.mjs";
3
- import { t as M } from "./_storageType-CH2khFcZ.mjs";
4
- import { t as ee } from "./useProjectId-DBc5lpoU.mjs";
5
- import { t as N } from "./ContentHeader-BIScbvb4.mjs";
6
- import { t as P } from "./SortInput-DjaEHvcO.mjs";
7
- import { t as F } from "./formatBytes-CZv_XyCY.mjs";
8
- import { _ as I, a as te, i as L, l as ne, n as re, o as ie, r as R, t as ae, v as oe, x as z } from "./BucketToastNotifications-BGd2wVmh.mjs";
9
- import { Fragment as B, jsx as V, jsxs as H } from "react/jsx-runtime";
10
- import { Fragment as se, startTransition as ce, useCallback as le, useEffect as ue, useRef as de, useState as U } from "react";
11
- import { useNavigate as fe, useParams as W } from "@tanstack/react-router";
12
- import { Trans as G, useLingui as K } from "@lingui/react";
13
- import { i18n as q } from "@lingui/core";
14
- import { ErrorBoundary as pe } from "react-error-boundary";
15
- import { useVirtualizer as me } from "@tanstack/react-virtual";
3
+ import { t as M } from "./_storageType-DsbBodWF.mjs";
4
+ import { t as N } from "./useProjectId-DBc5lpoU.mjs";
5
+ import { t as P } from "./ContentHeader-CIAzorGI.mjs";
6
+ import { t as F } from "./SortInput-DjaEHvcO.mjs";
7
+ import { t as I } from "./formatBytes-CZv_XyCY.mjs";
8
+ import { _ as L, a as ee, i as R, l as te, n as ne, o as re, r as z, t as B, v as ie, x as V } from "./BucketToastNotifications-BGd2wVmh.mjs";
9
+ import { Fragment as H, jsx as U, jsxs as W } from "react/jsx-runtime";
10
+ import { Fragment as ae, startTransition as oe, useCallback as se, useEffect as ce, useRef as le, useState as G } from "react";
11
+ import { useNavigate as ue, useParams as K } from "@tanstack/react-router";
12
+ import { Trans as q, useLingui as J } from "@lingui/react";
13
+ import { ErrorBoundary as de } from "react-error-boundary";
14
+ import { i18n as Y } from "@lingui/core";
15
+ import { useVirtualizer as fe } from "@tanstack/react-virtual";
16
16
  //#region src/client/routes/_auth/projects/$projectId/storage/-components/Swift/Containers/CreateContainerModal.tsx
17
- var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLength: i = 256 }) => {
18
- let { i18n: a, _: o } = K(), s = ee(), [c, l] = U(""), [u, d] = U(null), p = j.useUtils(), m = j.storage.swift.createContainer.useMutation({
17
+ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLength: i = 256 }) => {
18
+ let { i18n: a, _: o } = J(), s = N(), [c, l] = G(""), [u, d] = G(null), p = j.useUtils(), m = j.storage.swift.createContainer.useMutation({
19
19
  onSuccess: () => {
20
20
  p.storage.swift.listContainers.invalidate();
21
21
  let e = c.trim();
@@ -41,7 +41,7 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
41
41
  container: c.trim()
42
42
  });
43
43
  };
44
- return e ? /*#__PURE__*/ V(C, {
44
+ return e ? /*#__PURE__*/ U(C, {
45
45
  title: a._({ id: "vTh35P" }),
46
46
  open: e,
47
47
  onCancel: h,
@@ -50,13 +50,13 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
50
50
  cancelButtonLabel: a._({ id: "dEgA5A" }),
51
51
  size: "small",
52
52
  disableConfirmButton: m.isPending || !c.trim(),
53
- children: /*#__PURE__*/ H(D, {
53
+ children: /*#__PURE__*/ W(D, {
54
54
  direction: "vertical",
55
55
  gap: "6",
56
- children: [/*#__PURE__*/ V("p", {
56
+ children: [/*#__PURE__*/ U("p", {
57
57
  className: "text-theme-default",
58
- children: /*#__PURE__*/ V(G, { id: "ne/GWZ" })
59
- }), /*#__PURE__*/ V(f, {
58
+ children: /*#__PURE__*/ U(q, { id: "ne/GWZ" })
59
+ }), /*#__PURE__*/ U(f, {
60
60
  label: a._({ id: "SUSS9i" }),
61
61
  required: !0,
62
62
  value: c,
@@ -72,8 +72,8 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
72
72
  })]
73
73
  })
74
74
  }) : null;
75
- }, he = ({ isOpen: e, container: t, onClose: n, onSuccess: r, onError: a }) => {
76
- let { i18n: c, _: l } = K(), p = ee(), [m, h] = U(""), [v, y] = U(null), [b, x] = U(!1), S = de(""), w = () => {
75
+ }, me = ({ isOpen: e, container: t, onClose: n, onSuccess: r, onError: a }) => {
76
+ let { i18n: c, _: l } = J(), p = N(), [m, h] = G(""), [v, y] = G(null), [b, x] = G(!1), S = le(""), w = () => {
77
77
  t && navigator.clipboard.writeText(t.name).then(() => {
78
78
  x(!0), setTimeout(() => x(!1), 2e3);
79
79
  });
@@ -82,7 +82,7 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
82
82
  container: t?.name ?? "",
83
83
  format: "json",
84
84
  limit: 100
85
- }, { enabled: e && t !== null }), N = j.storage.swift.emptyContainer.useMutation({
85
+ }, { enabled: e && t !== null }), P = j.storage.swift.emptyContainer.useMutation({
86
86
  onSuccess: (e) => {
87
87
  T.storage.swift.listContainers.invalidate(), T.storage.swift.listObjects.invalidate({
88
88
  project_id: p,
@@ -93,48 +93,48 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
93
93
  a?.(S.current, e.message);
94
94
  },
95
95
  onSettled: () => {
96
- P();
96
+ F();
97
97
  }
98
- }), P = () => {
99
- h(""), y(null), N.reset(), n();
100
- }, I = (e) => {
98
+ }), F = () => {
99
+ h(""), y(null), P.reset(), n();
100
+ }, L = (e) => {
101
101
  let t = e.target.value;
102
102
  h(t), v && y(null);
103
- }, te = () => {
103
+ }, ee = () => {
104
104
  if (t) {
105
105
  if (m.trim() !== t.name) {
106
106
  y(c._({ id: "jS4B2+" }));
107
107
  return;
108
108
  }
109
- S.current = t.name, N.mutate({
109
+ S.current = t.name, P.mutate({
110
110
  project_id: p,
111
111
  container: t.name
112
112
  });
113
113
  }
114
- }, L = (e) => {
115
- e.key === "Enter" && te();
114
+ }, R = (e) => {
115
+ e.key === "Enter" && ee();
116
116
  };
117
117
  if (!e || !t) return null;
118
- let ne = E?.length ?? 0, re = !k && t.count === 0 && ne === 0, ie = !k && t.count > 0 && ne === 0, R = re || ie;
119
- return /*#__PURE__*/ H(C, {
120
- title: /* @__PURE__ */ H("span", {
118
+ let te = E?.length ?? 0, ne = !k && t.count === 0 && te === 0, re = !k && t.count > 0 && te === 0, z = ne || re;
119
+ return /*#__PURE__*/ W(C, {
120
+ title: /* @__PURE__ */ W("span", {
121
121
  className: "flex max-w-[400px] items-center gap-2",
122
122
  children: [
123
- /*#__PURE__*/ V("span", {
123
+ /*#__PURE__*/ U("span", {
124
124
  className: "shrink-0",
125
- children: /*#__PURE__*/ V(G, { id: "5Okch2" })
125
+ children: /*#__PURE__*/ U(q, { id: "5Okch2" })
126
126
  }),
127
- /*#__PURE__*/ V("span", {
127
+ /*#__PURE__*/ U("span", {
128
128
  className: "truncate",
129
129
  title: t.name,
130
130
  children: t.name
131
131
  }),
132
- !k && !R && /*#__PURE__*/ V("button", {
132
+ !k && !z && /*#__PURE__*/ U("button", {
133
133
  type: "button",
134
134
  onClick: w,
135
135
  title: b ? c._({ id: "PiH3UR" }) : c._({ id: "NQU1Nn" }),
136
136
  className: "text-theme-light hover:text-theme-default inline-flex items-center transition-colors",
137
- children: /*#__PURE__*/ V(g, {
137
+ children: /*#__PURE__*/ U(g, {
138
138
  icon: b ? "checkCircle" : "contentCopy",
139
139
  size: "16"
140
140
  })
@@ -142,119 +142,119 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
142
142
  ]
143
143
  }),
144
144
  open: e,
145
- onCancel: P,
146
- confirmButtonLabel: R ? void 0 : c._({ id: "N2S1rs" }),
145
+ onCancel: F,
146
+ confirmButtonLabel: z ? void 0 : c._({ id: "N2S1rs" }),
147
147
  confirmButtonVariant: "primary-danger",
148
- onConfirm: R ? void 0 : te,
149
- cancelButtonLabel: R ? void 0 : c._({ id: "dEgA5A" }),
150
- modalFooter: R ? /*#__PURE__*/ V(_, {
148
+ onConfirm: z ? void 0 : ee,
149
+ cancelButtonLabel: z ? void 0 : c._({ id: "dEgA5A" }),
150
+ modalFooter: z ? /*#__PURE__*/ U(_, {
151
151
  className: "flex justify-end",
152
- children: /*#__PURE__*/ V(O, { children: /*#__PURE__*/ V(A, {
152
+ children: /*#__PURE__*/ U(O, { children: /*#__PURE__*/ U(A, {
153
153
  variant: "primary",
154
- onClick: P,
154
+ onClick: F,
155
155
  "data-testid": "empty-info-close-button",
156
- children: /*#__PURE__*/ V(G, { id: "yz7wBu" })
156
+ children: /*#__PURE__*/ U(q, { id: "yz7wBu" })
157
157
  }) })
158
158
  }) : void 0,
159
159
  size: "small",
160
- disableConfirmButton: k || N.isPending || !R && !m.trim() || !R && m.trim() !== t.name,
161
- children: [M && /*#__PURE__*/ V("p", {
160
+ disableConfirmButton: k || P.isPending || !z && !m.trim() || !z && m.trim() !== t.name,
161
+ children: [M && /*#__PURE__*/ U("p", {
162
162
  className: "text-theme-error mb-4",
163
163
  children: (() => {
164
164
  let e = M.message;
165
- return /*#__PURE__*/ V(G, {
165
+ return /*#__PURE__*/ U(q, {
166
166
  id: "56IxdF",
167
167
  values: { errorMessage: e }
168
168
  });
169
169
  })()
170
- }), k ? /*#__PURE__*/ H(D, {
170
+ }), k ? /*#__PURE__*/ W(D, {
171
171
  direction: "horizontal",
172
172
  alignment: "center",
173
173
  gap: "2",
174
174
  className: "py-4",
175
- children: [/*#__PURE__*/ V(s, { size: "small" }), /*#__PURE__*/ V(G, { id: "ujK/QN" })]
176
- }) : R && !M ? /*#__PURE__*/ V("p", {
175
+ children: [/*#__PURE__*/ U(s, { size: "small" }), /*#__PURE__*/ U(q, { id: "ujK/QN" })]
176
+ }) : z && !M ? /*#__PURE__*/ U("p", {
177
177
  className: "text-theme-default py-2",
178
- children: re ? /*#__PURE__*/ V(G, { id: "jNm/qL" }) : /*#__PURE__*/ V(G, { id: "WefafP" })
179
- }) : M ? null : /*#__PURE__*/ H(D, {
178
+ children: ne ? /*#__PURE__*/ U(q, { id: "jNm/qL" }) : /*#__PURE__*/ U(q, { id: "WefafP" })
179
+ }) : M ? null : /*#__PURE__*/ W(D, {
180
180
  direction: "vertical",
181
181
  gap: "6",
182
182
  children: [
183
- /*#__PURE__*/ H("p", {
183
+ /*#__PURE__*/ W("p", {
184
184
  className: "text-theme-default",
185
185
  children: [
186
- /*#__PURE__*/ V(G, { id: "Ioblgz" }),
187
- /*#__PURE__*/ V("br", {}),
188
- /*#__PURE__*/ V(G, {
186
+ /*#__PURE__*/ U(q, { id: "Ioblgz" }),
187
+ /*#__PURE__*/ U("br", {}),
188
+ /*#__PURE__*/ U(q, {
189
189
  id: "kiRrtv",
190
190
  components: {
191
- 0: /*#__PURE__*/ V("strong", {}),
192
- 1: /*#__PURE__*/ V("strong", {}),
193
- 2: /*#__PURE__*/ V("strong", {})
191
+ 0: /*#__PURE__*/ U("strong", {}),
192
+ 1: /*#__PURE__*/ U("strong", {}),
193
+ 2: /*#__PURE__*/ U("strong", {})
194
194
  }
195
195
  })
196
196
  ]
197
197
  }),
198
- /*#__PURE__*/ H("div", {
198
+ /*#__PURE__*/ W("div", {
199
199
  className: "border-theme-background-lvl-3 overflow-hidden rounded border",
200
200
  children: [
201
- t.count > ne && /*#__PURE__*/ V("p", {
201
+ t.count > te && /*#__PURE__*/ U("p", {
202
202
  className: "text-theme-light px-3 py-2 text-xs",
203
203
  children: (() => {
204
204
  let e = t.count;
205
- return /*#__PURE__*/ V(G, {
205
+ return /*#__PURE__*/ U(q, {
206
206
  id: "1iQtS2",
207
207
  values: {
208
- actualObjectCount: ne,
208
+ actualObjectCount: te,
209
209
  total: e
210
210
  }
211
211
  });
212
212
  })()
213
213
  }),
214
- /*#__PURE__*/ V(u, {
214
+ /*#__PURE__*/ U(u, {
215
215
  columns: 3,
216
216
  className: "text-sm",
217
- children: /*#__PURE__*/ H(i, { children: [
218
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "6YtxFj" }) }),
219
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "Cj2Gtd" }) }),
220
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "sjMCOP" }) })
217
+ children: /*#__PURE__*/ W(i, { children: [
218
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "6YtxFj" }) }),
219
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "Cj2Gtd" }) }),
220
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "sjMCOP" }) })
221
221
  ] })
222
222
  }),
223
- /*#__PURE__*/ V("div", {
223
+ /*#__PURE__*/ U("div", {
224
224
  className: "max-h-48 overflow-y-auto",
225
- children: /*#__PURE__*/ V(u, {
225
+ children: /*#__PURE__*/ U(u, {
226
226
  columns: 3,
227
227
  className: "text-sm",
228
- children: E.map((e) => /*#__PURE__*/ H(i, { children: [
229
- /*#__PURE__*/ V(o, {
228
+ children: E.map((e) => /*#__PURE__*/ W(i, { children: [
229
+ /*#__PURE__*/ U(o, {
230
230
  className: "max-w-[200px] truncate",
231
231
  title: e.name,
232
232
  children: e.name
233
233
  }),
234
- /*#__PURE__*/ V(o, { children: F(e.bytes) }),
235
- /*#__PURE__*/ V(o, { children: e.last_modified ? new Date(e.last_modified).toLocaleString() : c._({ id: "fj5byd" }) })
234
+ /*#__PURE__*/ U(o, { children: I(e.bytes) }),
235
+ /*#__PURE__*/ U(o, { children: e.last_modified ? new Date(e.last_modified).toLocaleString() : c._({ id: "fj5byd" }) })
236
236
  ] }, e.name))
237
237
  })
238
238
  })
239
239
  ]
240
240
  }),
241
- /*#__PURE__*/ V(f, {
241
+ /*#__PURE__*/ U(f, {
242
242
  label: c._({ id: "33F2A+" }),
243
243
  required: !0,
244
244
  value: m,
245
- onChange: I,
246
- onKeyDown: L,
245
+ onChange: L,
246
+ onKeyDown: R,
247
247
  invalid: !!v,
248
248
  errortext: v || void 0,
249
- disabled: N.isPending,
249
+ disabled: P.isPending,
250
250
  autoFocus: !0,
251
251
  placeholder: t.name
252
252
  })
253
253
  ]
254
254
  })]
255
255
  });
256
- }, ge = ({ isOpen: e, container: t, onClose: n, onSuccess: r, onError: i }) => {
257
- let { i18n: a, _: o } = K(), c = ee(), [l, u] = U(""), [d, p] = U(null), [m, h] = U(!1), g = j.useUtils(), { data: v, isLoading: b, error: x } = j.storage.swift.listObjects.useQuery({
256
+ }, he = ({ isOpen: e, container: t, onClose: n, onSuccess: r, onError: i }) => {
257
+ let { i18n: a, _: o } = J(), c = N(), [l, u] = G(""), [d, p] = G(null), [m, h] = G(!1), g = j.useUtils(), { data: v, isLoading: b, error: x } = j.storage.swift.listObjects.useQuery({
258
258
  project_id: c,
259
259
  container: t?.name ?? "",
260
260
  format: "json",
@@ -273,7 +273,7 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
273
273
  k();
274
274
  }
275
275
  });
276
- ue(() => {
276
+ ce(() => {
277
277
  e || (u(""), p(null), h(!1), E.reset());
278
278
  }, [e, t?.name]);
279
279
  let k = () => {
@@ -281,7 +281,7 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
281
281
  }, M = (e) => {
282
282
  let t = e.target.value;
283
283
  u(t), d && p(null);
284
- }, N = () => {
284
+ }, P = () => {
285
285
  if (t && !(x || w)) {
286
286
  if (l.trim() !== "delete") {
287
287
  p(a._({ id: "b5aNMO" }));
@@ -292,18 +292,18 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
292
292
  container: t.name
293
293
  });
294
294
  }
295
- }, P = (e) => {
296
- e.key === "Enter" && N();
295
+ }, F = (e) => {
296
+ e.key === "Enter" && P();
297
297
  };
298
298
  if (!e || !t) return null;
299
- let F = v?.length ?? 0, I = !b && (F > 0 || t.count > 0), te = !b && t.count > 0 && F === 0, L = !!(x || w);
300
- return /*#__PURE__*/ H(C, {
301
- title: /* @__PURE__ */ H("span", {
299
+ let I = v?.length ?? 0, L = !b && (I > 0 || t.count > 0), ee = !b && t.count > 0 && I === 0, R = !!(x || w);
300
+ return /*#__PURE__*/ W(C, {
301
+ title: /* @__PURE__ */ W("span", {
302
302
  className: "flex max-w-[400px] items-center gap-2",
303
- children: [/*#__PURE__*/ V("span", {
303
+ children: [/*#__PURE__*/ U("span", {
304
304
  className: "shrink-0",
305
- children: /*#__PURE__*/ V(G, { id: "Vzlopx" })
306
- }), /*#__PURE__*/ V("span", {
305
+ children: /*#__PURE__*/ U(q, { id: "Vzlopx" })
306
+ }), /*#__PURE__*/ U("span", {
307
307
  className: "truncate",
308
308
  title: t.name,
309
309
  children: t.name
@@ -311,89 +311,89 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
311
311
  }),
312
312
  open: e,
313
313
  onCancel: k,
314
- confirmButtonLabel: I ? void 0 : a._({ id: "cnGeoo" }),
315
- confirmButtonVariant: I ? void 0 : "primary-danger",
316
- onConfirm: I ? void 0 : N,
317
- cancelButtonLabel: I ? void 0 : a._({ id: "dEgA5A" }),
318
- modalFooter: I ? /*#__PURE__*/ V(_, {
314
+ confirmButtonLabel: L ? void 0 : a._({ id: "cnGeoo" }),
315
+ confirmButtonVariant: L ? void 0 : "primary-danger",
316
+ onConfirm: L ? void 0 : P,
317
+ cancelButtonLabel: L ? void 0 : a._({ id: "dEgA5A" }),
318
+ modalFooter: L ? /*#__PURE__*/ U(_, {
319
319
  className: "flex justify-end",
320
- children: /*#__PURE__*/ V(O, { children: /*#__PURE__*/ V(A, {
320
+ children: /*#__PURE__*/ U(O, { children: /*#__PURE__*/ U(A, {
321
321
  variant: "primary",
322
322
  onClick: k,
323
323
  "data-testid": "delete-has-objects-close-button",
324
- children: /*#__PURE__*/ V(G, { id: "yz7wBu" })
324
+ children: /*#__PURE__*/ U(q, { id: "yz7wBu" })
325
325
  }) })
326
326
  }) : void 0,
327
327
  size: "small",
328
- disableConfirmButton: b || L || E.isPending || !I && l.trim() !== "delete" || !I && T && !m,
329
- children: [(x || w) && /*#__PURE__*/ H(D, {
328
+ disableConfirmButton: b || R || E.isPending || !L && l.trim() !== "delete" || !L && T && !m,
329
+ children: [(x || w) && /*#__PURE__*/ W(D, {
330
330
  direction: "vertical",
331
331
  gap: "2",
332
332
  className: "mb-4",
333
333
  role: "alert",
334
334
  "aria-live": "assertive",
335
- children: [x && /*#__PURE__*/ V("p", {
335
+ children: [x && /*#__PURE__*/ U("p", {
336
336
  className: "text-theme-error",
337
337
  children: (() => {
338
338
  let e = x.message;
339
- return /*#__PURE__*/ V(G, {
339
+ return /*#__PURE__*/ U(q, {
340
340
  id: "56IxdF",
341
341
  values: { errorMessage: e }
342
342
  });
343
343
  })()
344
- }), w && /*#__PURE__*/ V("p", {
344
+ }), w && /*#__PURE__*/ U("p", {
345
345
  className: "text-theme-error",
346
346
  children: (() => {
347
347
  let e = w.message;
348
- return /*#__PURE__*/ V(G, {
348
+ return /*#__PURE__*/ U(q, {
349
349
  id: "BCXapL",
350
350
  values: { errorMessage: e }
351
351
  });
352
352
  })()
353
353
  })]
354
- }), b ? /*#__PURE__*/ H(D, {
354
+ }), b ? /*#__PURE__*/ W(D, {
355
355
  direction: "horizontal",
356
356
  alignment: "center",
357
357
  gap: "2",
358
358
  className: "py-4",
359
- children: [/*#__PURE__*/ V(s, { size: "small" }), /*#__PURE__*/ V(G, { id: "Z3FXyt" })]
360
- }) : I ? /*#__PURE__*/ H(D, {
359
+ children: [/*#__PURE__*/ U(s, { size: "small" }), /*#__PURE__*/ U(q, { id: "Z3FXyt" })]
360
+ }) : L ? /*#__PURE__*/ W(D, {
361
361
  direction: "vertical",
362
362
  gap: "3",
363
- children: [/*#__PURE__*/ V("p", {
363
+ children: [/*#__PURE__*/ U("p", {
364
364
  className: "text-theme-default",
365
- children: /*#__PURE__*/ V(G, { id: "3dBmvU" })
366
- }), te && /*#__PURE__*/ V("p", {
365
+ children: /*#__PURE__*/ U(q, { id: "3dBmvU" })
366
+ }), ee && /*#__PURE__*/ U("p", {
367
367
  className: "text-theme-default",
368
- children: /*#__PURE__*/ V(G, { id: "x3T4pq" })
368
+ children: /*#__PURE__*/ U(q, { id: "x3T4pq" })
369
369
  })]
370
- }) : /*#__PURE__*/ H(D, {
370
+ }) : /*#__PURE__*/ W(D, {
371
371
  direction: "vertical",
372
372
  gap: "6",
373
373
  children: [
374
- /*#__PURE__*/ H("p", {
374
+ /*#__PURE__*/ W("p", {
375
375
  className: "text-theme-default",
376
376
  children: [
377
- /*#__PURE__*/ V(G, { id: "Y8M9Uc" }),
378
- /*#__PURE__*/ V("br", {}),
379
- /*#__PURE__*/ V(G, {
377
+ /*#__PURE__*/ U(q, { id: "Y8M9Uc" }),
378
+ /*#__PURE__*/ U("br", {}),
379
+ /*#__PURE__*/ U(q, {
380
380
  id: "YzUoh9",
381
- components: { 0: /*#__PURE__*/ V("strong", {}) }
381
+ components: { 0: /*#__PURE__*/ U("strong", {}) }
382
382
  })
383
383
  ]
384
384
  }),
385
- T && /*#__PURE__*/ V(y, {
385
+ T && /*#__PURE__*/ U(y, {
386
386
  label: a._({ id: "V/8B9A" }),
387
387
  checked: m,
388
388
  onChange: (e) => h(e.target.checked),
389
389
  invalid: !m
390
390
  }),
391
- /*#__PURE__*/ V(f, {
391
+ /*#__PURE__*/ U(f, {
392
392
  label: a._({ id: "QytzQr" }),
393
393
  required: !0,
394
394
  value: l,
395
395
  onChange: M,
396
- onKeyDown: P,
396
+ onKeyDown: F,
397
397
  invalid: !!d,
398
398
  errortext: d || void 0,
399
399
  disabled: E.isPending,
@@ -403,31 +403,31 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
403
403
  ]
404
404
  })]
405
405
  });
406
- }, _e = new Set([
406
+ }, ge = new Set([
407
407
  "quota-bytes",
408
408
  "quota-count",
409
409
  "web-index",
410
410
  "web-listings",
411
411
  "web-listings-css",
412
412
  "web-error"
413
- ]), ve = 50, ye = /^[a-zA-Z0-9!#$%&'*+\-.^_`|~]+$/, Y = ({ isOpen: t, container: n, onClose: r, onSuccess: a, onError: l }) => {
414
- let { i18n: p, _: m } = K(), h = ee(), { data: _, isLoading: b, isError: S, error: w } = j.storage.swift.getContainerMetadata.useQuery({
413
+ ]), _e = 50, ve = /^[a-zA-Z0-9!#$%&'*+\-.^_`|~]+$/, X = ({ isOpen: t, container: n, onClose: r, onSuccess: a, onError: l }) => {
414
+ let { i18n: p, _: m } = J(), h = N(), { data: _, isLoading: b, isError: S, error: w } = j.storage.swift.getContainerMetadata.useQuery({
415
415
  project_id: h,
416
416
  container: n?.name ?? ""
417
417
  }, { enabled: t && n !== null }), E = _?.read === ".r:*,.rlistings", { data: O } = j.storage.swift.getContainerPublicUrl.useQuery({
418
418
  project_id: h,
419
419
  container: n?.name ?? ""
420
- }, { enabled: t && n !== null && E }), { data: k } = j.storage.swift.listContainers.useQuery({ project_id: h }, { enabled: t }), [M, N] = U(""), [P, F] = U(""), I = de(null), te = le((e) => {
420
+ }, { enabled: t && n !== null && E }), { data: k } = j.storage.swift.listContainers.useQuery({ project_id: h }, { enabled: t }), [M, P] = G(""), [F, I] = G(""), L = le(null), ee = se((e) => {
421
421
  let t = e.target.value;
422
- N(t), I.current && clearTimeout(I.current), I.current = setTimeout(() => F(t), 300);
423
- }, []), L = P.trim().length > 0 ? (k ?? []).filter((e) => e.name !== n?.name && e.name.toLowerCase().includes(P.toLowerCase())) : [], ne = L.slice(0, ve), re = L.length - ne.length, ie = j.useUtils(), [R, ae] = U(""), [oe, z] = U(null), [B, se] = U(""), [ce, fe] = U(null), [W, q] = U(""), [pe, me] = U(!1), [J, he] = U(!1), [ge, Y] = U(""), [X, Z] = U([]), [be, xe] = U({}), [Se, Ce] = U(!1), [we, Te] = U(""), [Ee, De] = U(""), [Oe, ke] = U(null), [Ae, je] = U(null);
424
- ue(() => {
422
+ P(t), L.current && clearTimeout(L.current), L.current = setTimeout(() => I(t), 300);
423
+ }, []), R = F.trim().length > 0 ? (k ?? []).filter((e) => e.name !== n?.name && e.name.toLowerCase().includes(F.toLowerCase())) : [], te = R.slice(0, _e), ne = R.length - te.length, re = j.useUtils(), [z, B] = G(""), [ie, V] = G(null), [H, ae] = G(""), [oe, ue] = G(null), [K, de] = G(""), [Y, fe] = G(!1), [pe, me] = G(!1), [he, X] = G(""), [Z, Q] = G([]), [ye, be] = G({}), [xe, Se] = G(!1), [Ce, we] = G(""), [Te, Ee] = G(""), [De, Oe] = G(null), [ke, Ae] = G(null);
424
+ ce(() => {
425
425
  if (!_) return;
426
- ae(_.quotaBytes == null ? "" : String(_.quotaBytes)), se(_.quotaCount == null ? "" : String(_.quotaCount)), he(!!(_.versionsEnabled || _.versionsLocation || _.historyLocation)), Y(_.versionsLocation || _.historyLocation || "");
426
+ B(_.quotaBytes == null ? "" : String(_.quotaBytes)), ae(_.quotaCount == null ? "" : String(_.quotaCount)), me(!!(_.versionsEnabled || _.versionsLocation || _.historyLocation)), X(_.versionsLocation || _.historyLocation || "");
427
427
  let e = _.metadata ?? {};
428
- q(e["web-index"] ?? ""), me(e["web-listings"] === "1" || e["web-listings"] === "true");
428
+ de(e["web-index"] ?? ""), fe(e["web-listings"] === "1" || e["web-listings"] === "true");
429
429
  let t = _.metadata ?? {};
430
- Z(Object.entries(t).filter(([e]) => !_e.has(e)).map(([e, t]) => ({
430
+ Q(Object.entries(t).filter(([e]) => !ge.has(e)).map(([e, t]) => ({
431
431
  key: e,
432
432
  value: t,
433
433
  isNew: !1,
@@ -435,307 +435,307 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
435
435
  originalKey: e,
436
436
  originalValue: t
437
437
  })));
438
- }, [_]), ue(() => {
439
- t || Me();
438
+ }, [_]), ce(() => {
439
+ t || je();
440
440
  }, [t]);
441
- let Me = () => {
442
- ae(""), z(null), se(""), fe(null), q(""), me(!1), he(!1), Y(""), N(""), F(""), I.current && clearTimeout(I.current), Z([]), xe({}), Ce(!1), Te(""), De(""), ke(null), je(null), Ne.reset();
443
- }, Ne = j.storage.swift.updateContainerMetadata.useMutation({
441
+ let je = () => {
442
+ B(""), V(null), ae(""), ue(null), de(""), fe(!1), me(!1), X(""), P(""), I(""), L.current && clearTimeout(L.current), Q([]), be({}), Se(!1), we(""), Ee(""), Oe(null), Ae(null), Me.reset();
443
+ }, Me = j.storage.swift.updateContainerMetadata.useMutation({
444
444
  onSuccess: () => {
445
- ie.storage.swift.getContainerMetadata.invalidate({ container: n.name }), ie.storage.swift.listContainers.invalidate(), a?.(n.name), We();
445
+ re.storage.swift.getContainerMetadata.invalidate({ container: n.name }), re.storage.swift.listContainers.invalidate(), a?.(n.name), Ue();
446
446
  },
447
447
  onError: (e) => {
448
448
  l?.(n.name, e.message);
449
449
  }
450
- }), Pe = () => {
450
+ }), Ne = () => {
451
451
  let e = !0;
452
- return R !== "" && (isNaN(Number(R)) || Number(R) < 0) ? (z(p._({ id: "AuQtzx" })), e = !1) : z(null), B !== "" && (isNaN(Number(B)) || Number(B) < 0) ? (fe(p._({ id: "AuQtzx" })), e = !1) : fe(null), e;
453
- }, Fe = (e, t) => e.trim() ? ye.test(e) ? /[a-zA-Z0-9]/.test(e) ? _e.has(e.toLowerCase()) ? p._({ id: "JeRXll" }) : X.some((n) => n.key.toLowerCase() === e.toLowerCase() && n.originalKey !== t) ? p._({ id: "i6/ygf" }) : null : p._({ id: "dTNzBI" }) : p._({ id: "XYZLy9" }) : p._({ id: "QV1ZPO" }), Ie = () => {
454
- let e = Fe(we);
452
+ return z !== "" && (isNaN(Number(z)) || Number(z) < 0) ? (V(p._({ id: "AuQtzx" })), e = !1) : V(null), H !== "" && (isNaN(Number(H)) || Number(H) < 0) ? (ue(p._({ id: "AuQtzx" })), e = !1) : ue(null), e;
453
+ }, Pe = (e, t) => e.trim() ? ve.test(e) ? /[a-zA-Z0-9]/.test(e) ? ge.has(e.toLowerCase()) ? p._({ id: "JeRXll" }) : Z.some((n) => n.key.toLowerCase() === e.toLowerCase() && n.originalKey !== t) ? p._({ id: "i6/ygf" }) : null : p._({ id: "dTNzBI" }) : p._({ id: "XYZLy9" }) : p._({ id: "QV1ZPO" }), Fe = () => {
454
+ let e = Pe(Ce);
455
455
  if (e) {
456
- ke(e);
456
+ Oe(e);
457
457
  return;
458
458
  }
459
- if (!Ee.trim()) {
460
- je(p._({ id: "hXUWyd" }));
459
+ if (!Te.trim()) {
460
+ Ae(p._({ id: "hXUWyd" }));
461
461
  return;
462
462
  }
463
- Z([...X, {
464
- key: we.trim(),
465
- value: Ee.trim(),
463
+ Q([...Z, {
464
+ key: Ce.trim(),
465
+ value: Te.trim(),
466
466
  isNew: !0,
467
467
  isEditing: !1
468
- }]), Te(""), De(""), Ce(!1), ke(null), je(null);
469
- }, Le = () => {
470
- Te(""), De(""), Ce(!1), ke(null), je(null);
471
- }, Re = (e) => {
472
- Z(X.map((t, n) => n === e ? {
468
+ }]), we(""), Ee(""), Se(!1), Oe(null), Ae(null);
469
+ }, Ie = () => {
470
+ we(""), Ee(""), Se(!1), Oe(null), Ae(null);
471
+ }, Le = (e) => {
472
+ Q(Z.map((t, n) => n === e ? {
473
473
  ...t,
474
474
  isEditing: !0
475
475
  } : {
476
476
  ...t,
477
477
  isEditing: !1
478
- })), Ce(!1);
479
- }, ze = (e) => {
480
- let t = X[e], n = Fe(t.key, t.originalKey);
478
+ })), Se(!1);
479
+ }, Re = (e) => {
480
+ let t = Z[e], n = Pe(t.key, t.originalKey);
481
481
  if (n) {
482
- xe({ [`edit-${e}`]: n });
482
+ be({ [`edit-${e}`]: n });
483
483
  return;
484
484
  }
485
485
  if (!t.value.trim()) {
486
- xe({ [`edit-${e}`]: p._({ id: "hXUWyd" }) });
486
+ be({ [`edit-${e}`]: p._({ id: "hXUWyd" }) });
487
487
  return;
488
488
  }
489
- Z(X.map((t, n) => n === e ? {
489
+ Q(Z.map((t, n) => n === e ? {
490
490
  ...t,
491
491
  isEditing: !1,
492
492
  key: t.key.trim(),
493
493
  value: t.value.trim()
494
- } : t)), xe({});
495
- }, Q = (e) => {
496
- Z(X.map((t, n) => n === e ? {
494
+ } : t)), be({});
495
+ }, $ = (e) => {
496
+ Q(Z.map((t, n) => n === e ? {
497
497
  ...t,
498
498
  isEditing: !1,
499
499
  key: t.originalKey ?? t.key,
500
500
  value: t.originalValue ?? t.value
501
- } : t)), xe({});
502
- }, Be = (e) => {
503
- Z(X.filter((t, n) => n !== e)), xe({});
504
- }, Ve = (e, t) => {
505
- Z(X.map((n, r) => r === e ? {
501
+ } : t)), be({});
502
+ }, ze = (e) => {
503
+ Q(Z.filter((t, n) => n !== e)), be({});
504
+ }, Be = (e, t) => {
505
+ Q(Z.map((n, r) => r === e ? {
506
506
  ...n,
507
507
  key: t
508
- } : n)), xe((t) => {
508
+ } : n)), be((t) => {
509
509
  let n = { ...t };
510
510
  return delete n[`edit-${e}`], n;
511
511
  });
512
- }, He = (e, t) => {
513
- Z(X.map((n, r) => r === e ? {
512
+ }, Ve = (e, t) => {
513
+ Q(Z.map((n, r) => r === e ? {
514
514
  ...n,
515
515
  value: t
516
- } : n)), xe((t) => {
516
+ } : n)), be((t) => {
517
517
  let n = { ...t };
518
518
  return delete n[`edit-${e}`], n;
519
519
  });
520
- }, Ue = () => {
521
- if (!n || !Pe()) return;
520
+ }, He = () => {
521
+ if (!n || !Ne()) return;
522
522
  let e = _?.metadata ?? {}, t = {}, r = [];
523
- X.forEach((e) => {
523
+ Z.forEach((e) => {
524
524
  (e.isNew || e.value !== e.originalValue || e.key !== e.originalKey) && (t[e.key] = e.value, !e.isNew && e.originalKey && e.key !== e.originalKey && r.push(e.originalKey));
525
525
  });
526
- let i = Object.keys(e).filter((e) => !_e.has(e)), a = X.map((e) => e.originalKey).filter(Boolean);
526
+ let i = Object.keys(e).filter((e) => !ge.has(e)), a = Z.map((e) => e.originalKey).filter(Boolean);
527
527
  i.forEach((e) => {
528
528
  !a.includes(e) && !r.includes(e) && r.push(e);
529
- }), E && (W ? t["web-index"] = W : _?.metadata?.["web-index"] && r.push("web-index"), pe ? t["web-listings"] = "1" : _?.metadata?.["web-listings"] && r.push("web-listings"));
529
+ }), E && (K ? t["web-index"] = K : _?.metadata?.["web-index"] && r.push("web-index"), Y ? t["web-listings"] = "1" : _?.metadata?.["web-listings"] && r.push("web-listings"));
530
530
  let o = !!(_?.versionsEnabled || _?.versionsLocation || _?.historyLocation), s = _?.versionsLocation || _?.historyLocation || "";
531
- Ne.mutate({
531
+ Me.mutate({
532
532
  project_id: h,
533
533
  container: n.name,
534
534
  metadata: t,
535
535
  removeMetadata: r.length ? r : void 0,
536
- quotaBytes: R === "" ? void 0 : Number(R),
537
- quotaCount: B === "" ? void 0 : Number(B),
538
- versionsLocation: J && (!o || ge !== s) && ge ? ge : void 0,
539
- removeVersionsLocation: !J && o ? !0 : void 0
536
+ quotaBytes: z === "" ? void 0 : Number(z),
537
+ quotaCount: H === "" ? void 0 : Number(H),
538
+ versionsLocation: pe && (!o || he !== s) && he ? he : void 0,
539
+ removeVersionsLocation: !pe && o ? !0 : void 0
540
540
  });
541
- }, We = () => {
542
- Me(), r();
541
+ }, Ue = () => {
542
+ je(), r();
543
543
  };
544
544
  if (!t || !n) return null;
545
- let $ = b || Ne.isPending, Ge = S && !b, Ke = X.some((e) => e.isEditing), qe = _?.quotaBytes == null ? "" : String(_.quotaBytes), Je = _?.quotaCount == null ? "" : String(_.quotaCount), Ye = !!_?.versionsEnabled, Xe = _?.versionsLocation || _?.historyLocation || "", Ze = _?.metadata?.["web-index"] ?? "", Qe = _?.metadata?.["web-listings"] === "1" || _?.metadata?.["web-listings"] === "true", $e = Object.keys(_?.metadata ?? {}).filter((e) => !_e.has(e)), et = X.length === $e.length && X.every((e) => !e.isNew && e.key === e.originalKey && e.value === e.originalValue), tt = R === qe && B === Je && J === Ye && ge === Xe && W === Ze && pe === Qe && et, nt = _?.quotaBytes == null ? null : `${_.quotaBytes} B`;
546
- return /*#__PURE__*/ H(C, {
547
- title: /*#__PURE__*/ H("span", {
545
+ let We = b || Me.isPending, Ge = S && !b, Ke = Z.some((e) => e.isEditing), qe = _?.quotaBytes == null ? "" : String(_.quotaBytes), Je = _?.quotaCount == null ? "" : String(_.quotaCount), Ye = !!_?.versionsEnabled, Xe = _?.versionsLocation || _?.historyLocation || "", Ze = _?.metadata?.["web-index"] ?? "", Qe = _?.metadata?.["web-listings"] === "1" || _?.metadata?.["web-listings"] === "true", $e = Object.keys(_?.metadata ?? {}).filter((e) => !ge.has(e)), et = Z.length === $e.length && Z.every((e) => !e.isNew && e.key === e.originalKey && e.value === e.originalValue), tt = z === qe && H === Je && pe === Ye && he === Xe && K === Ze && Y === Qe && et, nt = _?.quotaBytes == null ? null : `${_.quotaBytes} B`;
546
+ return /*#__PURE__*/ W(C, {
547
+ title: /*#__PURE__*/ W("span", {
548
548
  className: "flex max-w-[500px] items-center gap-2",
549
- children: [/*#__PURE__*/ V("span", {
549
+ children: [/*#__PURE__*/ U("span", {
550
550
  className: "shrink-0",
551
- children: /*#__PURE__*/ V(G, { id: "y02Bu1" })
552
- }), /*#__PURE__*/ V("span", {
551
+ children: /*#__PURE__*/ U(q, { id: "y02Bu1" })
552
+ }), /*#__PURE__*/ U("span", {
553
553
  className: "truncate",
554
554
  title: n.name,
555
555
  children: n.name
556
556
  })]
557
557
  }),
558
558
  open: t,
559
- onCancel: We,
559
+ onCancel: Ue,
560
560
  confirmButtonLabel: p._({ id: "tfDRzk" }),
561
- onConfirm: Ue,
561
+ onConfirm: He,
562
562
  cancelButtonLabel: p._({ id: "dEgA5A" }),
563
563
  size: "large",
564
- disableConfirmButton: $ || Se || Ke || tt || Ge,
565
- children: [Ne.isError && /*#__PURE__*/ V("p", {
564
+ disableConfirmButton: We || xe || Ke || tt || Ge,
565
+ children: [Me.isError && /*#__PURE__*/ U("p", {
566
566
  className: "text-theme-error mb-4",
567
567
  children: (() => {
568
- let e = Ne.error.message;
569
- return /*#__PURE__*/ V(G, {
568
+ let e = Me.error.message;
569
+ return /*#__PURE__*/ U(q, {
570
570
  id: "nUuaq8",
571
571
  values: { errorMessage: e }
572
572
  });
573
573
  })()
574
- }), b ? /*#__PURE__*/ H(D, {
574
+ }), b ? /*#__PURE__*/ W(D, {
575
575
  direction: "horizontal",
576
576
  alignment: "center",
577
577
  gap: "2",
578
578
  className: "py-8",
579
- children: [/*#__PURE__*/ V(s, { size: "small" }), /*#__PURE__*/ V(G, { id: "WRZ3Mt" })]
580
- }) : Ge ? /*#__PURE__*/ V("p", {
579
+ children: [/*#__PURE__*/ U(s, { size: "small" }), /*#__PURE__*/ U(q, { id: "WRZ3Mt" })]
580
+ }) : Ge ? /*#__PURE__*/ U("p", {
581
581
  className: "text-theme-error py-8 text-center",
582
- children: /*#__PURE__*/ V(G, {
582
+ children: /*#__PURE__*/ U(q, {
583
583
  id: "BCXapL",
584
584
  values: { errorMessage: w?.message ?? "Unknown error" }
585
585
  })
586
- }) : /*#__PURE__*/ V("div", {
586
+ }) : /*#__PURE__*/ U("div", {
587
587
  className: "max-h-[65vh] overflow-y-auto pr-1 pl-1",
588
- children: /*#__PURE__*/ H(D, {
588
+ children: /*#__PURE__*/ W(D, {
589
589
  direction: "vertical",
590
590
  gap: "6",
591
591
  children: [
592
- /*#__PURE__*/ H("div", {
592
+ /*#__PURE__*/ W("div", {
593
593
  className: "grid grid-cols-2 gap-4",
594
- children: [/*#__PURE__*/ V(f, {
594
+ children: [/*#__PURE__*/ U(f, {
595
595
  label: p._({ id: "z45o5B" }),
596
596
  value: String(n.count),
597
597
  disabled: !0,
598
598
  readOnly: !0
599
- }), /*#__PURE__*/ V(f, {
599
+ }), /*#__PURE__*/ U(f, {
600
600
  label: p._({ id: "/InK0O" }),
601
601
  value: _?.bytesUsed == null ? `${n.bytes.toLocaleString()} B` : `${_.bytesUsed.toLocaleString()} B`,
602
602
  disabled: !0,
603
603
  readOnly: !0
604
604
  })]
605
605
  }),
606
- /*#__PURE__*/ H("div", {
606
+ /*#__PURE__*/ W("div", {
607
607
  className: "grid grid-cols-2 gap-4",
608
- children: [/*#__PURE__*/ V("div", { children: /*#__PURE__*/ V(f, {
608
+ children: [/*#__PURE__*/ U("div", { children: /*#__PURE__*/ U(f, {
609
609
  label: p._({ id: "k0vAWv" }),
610
- value: B,
610
+ value: H,
611
611
  onChange: (e) => {
612
- se(e.target.value), ce && fe(null);
612
+ ae(e.target.value), oe && ue(null);
613
613
  },
614
614
  placeholder: p._({ id: "qtoOYG" }),
615
- invalid: !!ce,
616
- errortext: ce ?? void 0,
617
- disabled: $
618
- }) }), /*#__PURE__*/ V("div", { children: /*#__PURE__*/ V(f, {
615
+ invalid: !!oe,
616
+ errortext: oe ?? void 0,
617
+ disabled: We
618
+ }) }), /*#__PURE__*/ U("div", { children: /*#__PURE__*/ U(f, {
619
619
  label: p._({ id: "KOpPMt" }),
620
- value: R,
620
+ value: z,
621
621
  onChange: (e) => {
622
- ae(e.target.value), oe && z(null);
622
+ B(e.target.value), ie && V(null);
623
623
  },
624
624
  placeholder: p._({ id: "qtoOYG" }),
625
- invalid: !!oe,
626
- errortext: oe ?? void 0,
627
- disabled: $,
628
- helptext: R && nt ? nt : void 0
625
+ invalid: !!ie,
626
+ errortext: ie ?? void 0,
627
+ disabled: We,
628
+ helptext: z && nt ? nt : void 0
629
629
  }) })]
630
630
  }),
631
- E && O && /*#__PURE__*/ H("div", { children: [/*#__PURE__*/ H("p", {
631
+ E && O && /*#__PURE__*/ W("div", { children: [/*#__PURE__*/ W("p", {
632
632
  className: "text-theme-default mb-1 text-sm font-semibold",
633
633
  children: [
634
- /*#__PURE__*/ V(G, { id: "mvz5Eo" }),
634
+ /*#__PURE__*/ U(q, { id: "mvz5Eo" }),
635
635
  " ",
636
- /*#__PURE__*/ V("a", {
636
+ /*#__PURE__*/ U("a", {
637
637
  href: O,
638
638
  target: "_blank",
639
639
  rel: "noopener noreferrer",
640
640
  className: "text-theme-info text-xs font-normal underline",
641
- children: /*#__PURE__*/ V(G, { id: "Alx2/L" })
641
+ children: /*#__PURE__*/ U(q, { id: "Alx2/L" })
642
642
  })
643
643
  ]
644
- }), /*#__PURE__*/ V(f, {
644
+ }), /*#__PURE__*/ U(f, {
645
645
  value: O,
646
646
  disabled: !0,
647
647
  readOnly: !0
648
648
  })] }),
649
- /*#__PURE__*/ H("div", { children: [/*#__PURE__*/ V("p", {
649
+ /*#__PURE__*/ W("div", { children: [/*#__PURE__*/ U("p", {
650
650
  className: "text-theme-default mb-3 text-sm font-semibold",
651
- children: /*#__PURE__*/ V(G, { id: "6CDYXS" })
652
- }), E ? /*#__PURE__*/ H(D, {
651
+ children: /*#__PURE__*/ U(q, { id: "6CDYXS" })
652
+ }), E ? /*#__PURE__*/ W(D, {
653
653
  direction: "vertical",
654
654
  gap: "4",
655
- children: [/*#__PURE__*/ H(D, {
655
+ children: [/*#__PURE__*/ W(D, {
656
656
  direction: "vertical",
657
657
  gap: "1",
658
- children: [/*#__PURE__*/ V(y, {
658
+ children: [/*#__PURE__*/ U(y, {
659
659
  label: p._({ id: "6+7EwD" }),
660
- checked: !!W,
660
+ checked: !!K,
661
661
  onChange: (e) => {
662
- e.target.checked ? W || q("index.html") : q("");
662
+ e.target.checked ? K || de("index.html") : de("");
663
663
  },
664
- disabled: $
665
- }), /*#__PURE__*/ V("div", {
664
+ disabled: We
665
+ }), /*#__PURE__*/ U("div", {
666
666
  className: "pl-6",
667
- children: /*#__PURE__*/ V(f, {
668
- value: W,
669
- onChange: (e) => q(e.target.value),
667
+ children: /*#__PURE__*/ U(f, {
668
+ value: K,
669
+ onChange: (e) => de(e.target.value),
670
670
  placeholder: "index.html",
671
- disabled: $ || !W,
671
+ disabled: We || !K,
672
672
  className: "flex-1"
673
673
  })
674
674
  })]
675
- }), /*#__PURE__*/ H(D, {
675
+ }), /*#__PURE__*/ W(D, {
676
676
  direction: "horizontal",
677
677
  alignment: "start",
678
678
  gap: "2",
679
- children: [/*#__PURE__*/ V(y, {
679
+ children: [/*#__PURE__*/ U(y, {
680
680
  label: p._({ id: "NeUjqc" }),
681
- checked: pe,
682
- onChange: (e) => me(e.target.checked),
683
- disabled: $
684
- }), /*#__PURE__*/ H(x, {
681
+ checked: Y,
682
+ onChange: (e) => fe(e.target.checked),
683
+ disabled: We
684
+ }), /*#__PURE__*/ W(x, {
685
685
  triggerEvent: "hover",
686
- children: [/*#__PURE__*/ V(T, { children: /*#__PURE__*/ V(g, {
686
+ children: [/*#__PURE__*/ U(T, { children: /*#__PURE__*/ U(g, {
687
687
  icon: "help",
688
688
  size: "16",
689
689
  className: "text-theme-light cursor-help"
690
- }) }), /*#__PURE__*/ V(v, {
690
+ }) }), /*#__PURE__*/ U(v, {
691
691
  className: "z-10 max-w-[220px]",
692
- children: /*#__PURE__*/ V(G, { id: "Oxl1UN" })
692
+ children: /*#__PURE__*/ U(q, { id: "Oxl1UN" })
693
693
  })]
694
694
  })]
695
695
  })]
696
- }) : /*#__PURE__*/ V("p", {
696
+ }) : /*#__PURE__*/ U("p", {
697
697
  className: "text-theme-default text-sm",
698
- children: /*#__PURE__*/ V(G, {
698
+ children: /*#__PURE__*/ U(q, {
699
699
  id: "aSsVD3",
700
- components: { 0: /*#__PURE__*/ V("strong", {}) }
700
+ components: { 0: /*#__PURE__*/ U("strong", {}) }
701
701
  })
702
702
  })] }),
703
- /*#__PURE__*/ H("div", { children: [/*#__PURE__*/ V("p", {
703
+ /*#__PURE__*/ W("div", { children: [/*#__PURE__*/ U("p", {
704
704
  className: "text-theme-default mb-2 text-sm font-semibold",
705
- children: /*#__PURE__*/ V(G, { id: "jNzyQo" })
706
- }), Ye && !ge ? /*#__PURE__*/ V(y, {
705
+ children: /*#__PURE__*/ U(q, { id: "jNzyQo" })
706
+ }), Ye && !he ? /*#__PURE__*/ U(y, {
707
707
  label: p._({ id: "Nvfd2b" }),
708
708
  checked: !0,
709
709
  onChange: (e) => {
710
- e.target.checked || (he(!1), Y(""), N(""), F(""));
710
+ e.target.checked || (me(!1), X(""), P(""), I(""));
711
711
  },
712
712
  disabled: !0
713
- }) : !J && !ge ? /*#__PURE__*/ V(y, {
713
+ }) : !pe && !he ? /*#__PURE__*/ U(y, {
714
714
  label: p._({ id: "WyKwnD" }),
715
715
  checked: !1,
716
- onChange: (e) => he(e.target.checked),
717
- disabled: $
718
- }) : /*#__PURE__*/ H(D, {
716
+ onChange: (e) => me(e.target.checked),
717
+ disabled: We
718
+ }) : /*#__PURE__*/ W(D, {
719
719
  direction: "vertical",
720
720
  gap: "1",
721
- children: [/*#__PURE__*/ V(y, {
721
+ children: [/*#__PURE__*/ U(y, {
722
722
  label: p._({ id: "b0uU1G" }),
723
- checked: J,
723
+ checked: pe,
724
724
  onChange: (e) => {
725
- he(e.target.checked), e.target.checked || (Y(""), N(""), F(""));
725
+ me(e.target.checked), e.target.checked || (X(""), P(""), I(""));
726
726
  },
727
- disabled: $
728
- }), J && /*#__PURE__*/ V("div", {
727
+ disabled: We
728
+ }), pe && /*#__PURE__*/ U("div", {
729
729
  className: "pl-6",
730
- children: /*#__PURE__*/ V(e, {
731
- value: ge,
732
- onChange: (e) => Y(e),
733
- onInputChange: te,
730
+ children: /*#__PURE__*/ U(e, {
731
+ value: he,
732
+ onChange: (e) => X(e),
733
+ onInputChange: ee,
734
734
  placeholder: p._({ id: "a13wDR" }),
735
735
  helptext: (() => {
736
736
  if (M.trim().length === 0) return p._({ id: "c+fUtV" });
737
- if (re > 0) {
738
- let e = ve, t = L.length;
737
+ if (ne > 0) {
738
+ let e = _e, t = R.length;
739
739
  return p._({
740
740
  id: "qzhUb9",
741
741
  values: {
@@ -745,149 +745,149 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
745
745
  });
746
746
  }
747
747
  })(),
748
- disabled: $,
749
- children: ne.map((e) => /*#__PURE__*/ V(c, {
748
+ disabled: We,
749
+ children: te.map((e) => /*#__PURE__*/ U(c, {
750
750
  value: e.name,
751
751
  children: e.name
752
752
  }, e.name))
753
753
  })
754
754
  })]
755
755
  })] }),
756
- /*#__PURE__*/ H("div", { children: [
757
- /*#__PURE__*/ H(D, {
756
+ /*#__PURE__*/ W("div", { children: [
757
+ /*#__PURE__*/ W(D, {
758
758
  direction: "horizontal",
759
759
  alignment: "center",
760
760
  distribution: "between",
761
761
  className: "mb-3",
762
- children: [/*#__PURE__*/ V("p", {
762
+ children: [/*#__PURE__*/ U("p", {
763
763
  className: "text-theme-default text-sm font-semibold",
764
- children: /*#__PURE__*/ V(G, { id: "6GBt0m" })
765
- }), /*#__PURE__*/ V("p", {
764
+ children: /*#__PURE__*/ U(q, { id: "6GBt0m" })
765
+ }), /*#__PURE__*/ U("p", {
766
766
  className: "text-theme-light text-xs",
767
- children: /*#__PURE__*/ V(G, { id: "kuYWaD" })
767
+ children: /*#__PURE__*/ U(q, { id: "kuYWaD" })
768
768
  })]
769
769
  }),
770
- /*#__PURE__*/ V(D, {
770
+ /*#__PURE__*/ U(D, {
771
771
  direction: "horizontal",
772
772
  className: "jn:bg-theme-background-lvl-1 justify-end p-2",
773
- children: /*#__PURE__*/ V(A, {
773
+ children: /*#__PURE__*/ U(A, {
774
774
  label: p._({ id: "sWBLli" }),
775
- onClick: () => Ce(!0),
775
+ onClick: () => Se(!0),
776
776
  variant: "primary",
777
777
  icon: "addCircle",
778
778
  size: "small",
779
- disabled: Se || Ke || $
779
+ disabled: xe || Ke || We
780
780
  })
781
781
  }),
782
- /*#__PURE__*/ H(u, {
782
+ /*#__PURE__*/ W(u, {
783
783
  columns: 3,
784
784
  children: [
785
- /*#__PURE__*/ H(i, { children: [
786
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "7sMeHQ" }) }),
787
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "wMHvYH" }) }),
788
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "7L01XJ" }) })
785
+ /*#__PURE__*/ W(i, { children: [
786
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "7sMeHQ" }) }),
787
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "wMHvYH" }) }),
788
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "7L01XJ" }) })
789
789
  ] }),
790
- Se && /*#__PURE__*/ H(i, { children: [
791
- /*#__PURE__*/ V(o, { children: /*#__PURE__*/ V(f, {
792
- value: we,
790
+ xe && /*#__PURE__*/ W(i, { children: [
791
+ /*#__PURE__*/ U(o, { children: /*#__PURE__*/ U(f, {
792
+ value: Ce,
793
793
  onChange: (e) => {
794
- Te(e.target.value), Oe && ke(null);
794
+ we(e.target.value), De && Oe(null);
795
795
  },
796
796
  placeholder: p._({ id: "x9AdZ8" }),
797
- errortext: Oe ?? void 0,
798
- invalid: !!Oe,
797
+ errortext: De ?? void 0,
798
+ invalid: !!De,
799
799
  autoFocus: !0
800
800
  }) }),
801
- /*#__PURE__*/ V(o, { children: /*#__PURE__*/ V(f, {
802
- value: Ee,
801
+ /*#__PURE__*/ U(o, { children: /*#__PURE__*/ U(f, {
802
+ value: Te,
803
803
  onChange: (e) => {
804
- De(e.target.value), Ae && je(null);
804
+ Ee(e.target.value), ke && Ae(null);
805
805
  },
806
806
  placeholder: p._({ id: "wMHvYH" }),
807
- errortext: Ae ?? void 0,
808
- invalid: !!Ae
807
+ errortext: ke ?? void 0,
808
+ invalid: !!ke
809
809
  }) }),
810
- /*#__PURE__*/ V(o, { children: /*#__PURE__*/ H(D, {
810
+ /*#__PURE__*/ U(o, { children: /*#__PURE__*/ W(D, {
811
811
  direction: "horizontal",
812
812
  gap: "2",
813
- children: [/*#__PURE__*/ V(A, {
813
+ children: [/*#__PURE__*/ U(A, {
814
814
  size: "small",
815
815
  variant: "primary",
816
- onClick: Ie,
816
+ onClick: Fe,
817
817
  icon: "check",
818
818
  title: p._({ id: "tfDRzk" })
819
- }), /*#__PURE__*/ V(A, {
819
+ }), /*#__PURE__*/ U(A, {
820
820
  size: "small",
821
821
  variant: "subdued",
822
- onClick: Le,
822
+ onClick: Ie,
823
823
  icon: "close",
824
824
  title: p._({ id: "bzSI52" })
825
825
  })]
826
826
  }) })
827
827
  ] }),
828
- X.map((e, t) => /*#__PURE__*/ H(i, { children: [
829
- /*#__PURE__*/ V(o, { children: e.isEditing ? /*#__PURE__*/ V(f, {
828
+ Z.map((e, t) => /*#__PURE__*/ W(i, { children: [
829
+ /*#__PURE__*/ U(o, { children: e.isEditing ? /*#__PURE__*/ U(f, {
830
830
  value: e.key,
831
- onChange: (e) => Ve(t, e.target.value),
832
- errortext: be[`edit-${t}`],
833
- invalid: !!be[`edit-${t}`]
834
- }) : /*#__PURE__*/ V("span", {
831
+ onChange: (e) => Be(t, e.target.value),
832
+ errortext: ye[`edit-${t}`],
833
+ invalid: !!ye[`edit-${t}`]
834
+ }) : /*#__PURE__*/ U("span", {
835
835
  className: "block max-w-xs truncate text-sm",
836
836
  title: e.key,
837
837
  children: e.key
838
838
  }) }),
839
- /*#__PURE__*/ V(o, { children: e.isEditing ? /*#__PURE__*/ V(f, {
839
+ /*#__PURE__*/ U(o, { children: e.isEditing ? /*#__PURE__*/ U(f, {
840
840
  value: e.value,
841
- onChange: (e) => He(t, e.target.value)
842
- }) : /*#__PURE__*/ V("span", {
841
+ onChange: (e) => Ve(t, e.target.value)
842
+ }) : /*#__PURE__*/ U("span", {
843
843
  className: "block max-w-md truncate text-sm",
844
844
  title: e.value,
845
845
  children: e.value
846
846
  }) }),
847
- /*#__PURE__*/ V(o, { children: e.isEditing ? /*#__PURE__*/ H(D, {
847
+ /*#__PURE__*/ U(o, { children: e.isEditing ? /*#__PURE__*/ W(D, {
848
848
  direction: "horizontal",
849
849
  gap: "2",
850
- children: [/*#__PURE__*/ V(A, {
850
+ children: [/*#__PURE__*/ U(A, {
851
851
  size: "small",
852
852
  variant: "primary",
853
- onClick: () => ze(t),
853
+ onClick: () => Re(t),
854
854
  icon: "check",
855
855
  title: p._({ id: "tfDRzk" })
856
- }), /*#__PURE__*/ V(A, {
856
+ }), /*#__PURE__*/ U(A, {
857
857
  size: "small",
858
858
  variant: "subdued",
859
- onClick: () => Q(t),
859
+ onClick: () => $(t),
860
860
  icon: "close",
861
861
  title: p._({ id: "bzSI52" })
862
862
  })]
863
- }) : /*#__PURE__*/ H(D, {
863
+ }) : /*#__PURE__*/ W(D, {
864
864
  direction: "horizontal",
865
865
  gap: "2",
866
- children: [/*#__PURE__*/ V(A, {
866
+ children: [/*#__PURE__*/ U(A, {
867
867
  size: "small",
868
868
  variant: "subdued",
869
- onClick: () => Re(t),
869
+ onClick: () => Le(t),
870
870
  icon: "edit",
871
871
  title: p._({ id: "ePK91l" }),
872
- disabled: Se || Ke || $
873
- }), /*#__PURE__*/ V(A, {
872
+ disabled: xe || Ke || We
873
+ }), /*#__PURE__*/ U(A, {
874
874
  size: "small",
875
875
  variant: "primary-danger",
876
- onClick: () => Be(t),
876
+ onClick: () => ze(t),
877
877
  icon: "deleteForever",
878
878
  title: p._({ id: "cnGeoo" }),
879
- disabled: Se || Ke || $
879
+ disabled: xe || Ke || We
880
880
  })]
881
881
  }) })
882
882
  ] }, t)),
883
- X.length === 0 && !Se && /*#__PURE__*/ V(i, { children: /*#__PURE__*/ V(o, {
883
+ Z.length === 0 && !xe && /*#__PURE__*/ U(i, { children: /*#__PURE__*/ U(o, {
884
884
  colSpan: 3,
885
885
  className: "py-6 text-center",
886
- children: /*#__PURE__*/ V(D, {
886
+ children: /*#__PURE__*/ U(D, {
887
887
  alignment: "center",
888
- children: /*#__PURE__*/ V("span", {
888
+ children: /*#__PURE__*/ U("span", {
889
889
  className: "text-theme-light text-sm",
890
- children: /*#__PURE__*/ V(G, { id: "F02e8I" })
890
+ children: /*#__PURE__*/ U(q, { id: "F02e8I" })
891
891
  })
892
892
  })
893
893
  }) })
@@ -901,7 +901,7 @@ var J = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLeng
901
901
  };
902
902
  //#endregion
903
903
  //#region src/client/routes/_auth/projects/$projectId/storage/-components/Swift/Containers/ManageContainerAccessModal.tsx
904
- function X(e) {
904
+ function Z(e) {
905
905
  let t = e.trim();
906
906
  if (t === ".r:*") return {
907
907
  raw: t,
@@ -960,56 +960,56 @@ function X(e) {
960
960
  requiresToken: !0
961
961
  };
962
962
  }
963
- function Z(e) {
964
- return e.trim() ? e.split(",").map((e) => e.trim()).filter(Boolean).map(X) : [];
963
+ function Q(e) {
964
+ return e.trim() ? e.split(",").map((e) => e.trim()).filter(Boolean).map(Z) : [];
965
+ }
966
+ var ye = [".r:*", ".rlistings"];
967
+ function be(e) {
968
+ let t = e.split(",").map((e) => e.trim()).filter(Boolean);
969
+ return ye.every((e) => t.includes(e));
965
970
  }
966
- var be = [".r:*", ".rlistings"];
967
971
  function xe(e) {
968
972
  let t = e.split(",").map((e) => e.trim()).filter(Boolean);
969
- return be.every((e) => t.includes(e));
973
+ return [...new Set([...ye, ...t])].join(",");
970
974
  }
971
975
  function Se(e) {
972
- let t = e.split(",").map((e) => e.trim()).filter(Boolean);
973
- return [...new Set([...be, ...t])].join(",");
976
+ return e.split(",").map((e) => e.trim()).filter((e) => !ye.includes(e)).join(",");
974
977
  }
975
978
  function Ce(e) {
976
- return e.split(",").map((e) => e.trim()).filter((e) => !be.includes(e)).join(",");
977
- }
978
- function we(e) {
979
979
  switch (e.type) {
980
- case "any-referrer": return q._({ id: "HVdrr1" });
980
+ case "any-referrer": return Y._({ id: "HVdrr1" });
981
981
  case "denied-referrer": {
982
982
  let t = e.host || "";
983
- return q._({
983
+ return Y._({
984
984
  id: "7XQ3QJ",
985
985
  values: { host: t }
986
986
  });
987
987
  }
988
988
  case "specific-referrer": {
989
989
  let t = e.host || "";
990
- return q._({
990
+ return Y._({
991
991
  id: "Dqnh7K",
992
992
  values: { host: t }
993
993
  });
994
994
  }
995
- case "listing-access": return q._({ id: "ntNlXu" });
995
+ case "listing-access": return Y._({ id: "ntNlXu" });
996
996
  case "all-project-users": {
997
997
  let t = e.projectId || "";
998
- return q._({
998
+ return Y._({
999
999
  id: "sa4CV6",
1000
1000
  values: { projectId: t }
1001
1001
  });
1002
1002
  }
1003
1003
  case "specific-user-any-project": {
1004
1004
  let t = e.userId || "";
1005
- return q._({
1005
+ return Y._({
1006
1006
  id: "izMhIO",
1007
1007
  values: { userId: t }
1008
1008
  });
1009
1009
  }
1010
1010
  case "specific-user": {
1011
1011
  let t = e.projectId || "", n = e.userId || "";
1012
- return q._({
1012
+ return Y._({
1013
1013
  id: "cXuXkb",
1014
1014
  values: {
1015
1015
  userId: n,
@@ -1020,45 +1020,45 @@ function we(e) {
1020
1020
  default: return e.raw;
1021
1021
  }
1022
1022
  }
1023
- var Te = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) => {
1024
- let { i18n: l, _: u } = K(), d = ee(), [f, p] = U(""), [m, g] = U(""), [_, v] = U(!1), [b, x] = U(!1);
1025
- ue(() => {
1023
+ var we = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) => {
1024
+ let { i18n: l, _: u } = J(), d = N(), [f, p] = G(""), [m, g] = G(""), [_, v] = G(!1), [b, x] = G(!1);
1025
+ ce(() => {
1026
1026
  !f.trim() && !m.trim() && x(!1);
1027
1027
  }, [f, m]);
1028
1028
  let { data: w, isLoading: T, isError: E, error: O } = j.storage.swift.getContainerMetadata.useQuery({
1029
1029
  project_id: d,
1030
1030
  container: t?.name ?? ""
1031
1031
  }, { enabled: e && t !== null });
1032
- ue(() => {
1032
+ ce(() => {
1033
1033
  if (!w) return;
1034
1034
  let e = w.read ?? "", t = w.write ?? "";
1035
- p(e), g(t), v(xe(e));
1035
+ p(e), g(t), v(be(e));
1036
1036
  }, [w]);
1037
1037
  let k = j.useUtils(), M = j.storage.swift.updateContainerMetadata.useMutation({
1038
1038
  onSuccess: () => {
1039
1039
  k.storage.swift.getContainerMetadata.invalidate({
1040
1040
  project_id: d,
1041
1041
  container: t.name
1042
- }), k.storage.swift.listContainers.invalidate(), o?.(t.name), P();
1042
+ }), k.storage.swift.listContainers.invalidate(), o?.(t.name), F();
1043
1043
  },
1044
1044
  onError: (e) => {
1045
1045
  c?.(t.name, e.message);
1046
1046
  }
1047
- }), N = de(M.reset);
1048
- N.current = M.reset;
1049
- let P = () => {
1047
+ }), P = le(M.reset);
1048
+ P.current = M.reset;
1049
+ let F = () => {
1050
1050
  p(""), g(""), v(!1), x(!1), M.reset(), i();
1051
1051
  };
1052
- ue(() => {
1053
- e || (p(""), g(""), v(!1), N.current());
1052
+ ce(() => {
1053
+ e || (p(""), g(""), v(!1), P.current());
1054
1054
  }, [e]);
1055
- let F = (e) => {
1055
+ let I = (e) => {
1056
1056
  let t = e.target.checked;
1057
- v(t), p((e) => t ? Se(e) : Ce(e));
1058
- }, I = (e) => {
1057
+ v(t), p((e) => t ? xe(e) : Se(e));
1058
+ }, L = (e) => {
1059
1059
  let t = e.target.value;
1060
- p(t), v(xe(t));
1061
- }, te = () => {
1060
+ p(t), v(be(t));
1061
+ }, ee = () => {
1062
1062
  t && M.mutate({
1063
1063
  project_id: d,
1064
1064
  container: t.name,
@@ -1067,153 +1067,153 @@ var Te = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) =>
1067
1067
  });
1068
1068
  };
1069
1069
  if (!e || !t) return null;
1070
- let L = T || M.isPending, ne = f.trim().length > 0 || m.trim().length > 0, re = Z(f), ie = Z(m);
1071
- return /*#__PURE__*/ H(C, {
1072
- title: /* @__PURE__ */ H("span", {
1070
+ let R = T || M.isPending, te = f.trim().length > 0 || m.trim().length > 0, ne = Q(f), re = Q(m);
1071
+ return /*#__PURE__*/ W(C, {
1072
+ title: /* @__PURE__ */ W("span", {
1073
1073
  className: "flex items-center gap-2",
1074
- children: [/*#__PURE__*/ V(G, { id: "EdxcAN" }), /*#__PURE__*/ V("span", {
1074
+ children: [/*#__PURE__*/ U(q, { id: "EdxcAN" }), /*#__PURE__*/ U("span", {
1075
1075
  className: "max-w-[250px] truncate",
1076
1076
  title: t.name,
1077
1077
  children: t.name
1078
1078
  })]
1079
1079
  }),
1080
1080
  open: e,
1081
- onCancel: P,
1081
+ onCancel: F,
1082
1082
  confirmButtonLabel: l._({ id: "tfDRzk" }),
1083
- onConfirm: te,
1083
+ onConfirm: ee,
1084
1084
  cancelButtonLabel: l._({ id: "dEgA5A" }),
1085
1085
  size: "xl",
1086
- disableConfirmButton: L || E,
1087
- children: [M.isError && /*#__PURE__*/ V("p", {
1086
+ disableConfirmButton: R || E,
1087
+ children: [M.isError && /*#__PURE__*/ U("p", {
1088
1088
  className: "text-theme-error mb-4",
1089
1089
  children: (() => {
1090
1090
  let e = M.error.message;
1091
- return /*#__PURE__*/ V(G, {
1091
+ return /*#__PURE__*/ U(q, {
1092
1092
  id: "u2xIeO",
1093
1093
  values: { errorMessage: e }
1094
1094
  });
1095
1095
  })()
1096
- }), /*#__PURE__*/ H("div", {
1096
+ }), /*#__PURE__*/ W("div", {
1097
1097
  className: "max-h-[70vh] overflow-y-auto pr-1 pl-1",
1098
1098
  children: [
1099
- /*#__PURE__*/ V("div", {
1099
+ /*#__PURE__*/ U("div", {
1100
1100
  className: "mb-4",
1101
- children: /*#__PURE__*/ V(n, {
1101
+ children: /*#__PURE__*/ U(n, {
1102
1102
  variant: "warning",
1103
1103
  className: "mb-4",
1104
- children: /*#__PURE__*/ V(G, { id: "wH0MtN" })
1104
+ children: /*#__PURE__*/ U(q, { id: "wH0MtN" })
1105
1105
  })
1106
1106
  }),
1107
- T ? /*#__PURE__*/ H(D, {
1107
+ T ? /*#__PURE__*/ W(D, {
1108
1108
  direction: "horizontal",
1109
1109
  alignment: "center",
1110
1110
  gap: "2",
1111
1111
  className: "py-6",
1112
- children: [/*#__PURE__*/ V(s, { size: "small" }), /*#__PURE__*/ V(G, { id: "poCbZw" })]
1113
- }) : E ? /*#__PURE__*/ V("p", {
1112
+ children: [/*#__PURE__*/ U(s, { size: "small" }), /*#__PURE__*/ U(q, { id: "poCbZw" })]
1113
+ }) : E ? /*#__PURE__*/ U("p", {
1114
1114
  className: "text-theme-error py-2",
1115
- children: /*#__PURE__*/ V(G, {
1115
+ children: /*#__PURE__*/ U(q, {
1116
1116
  id: "QNHur0",
1117
1117
  values: { errorMessage: O?.message ?? "" }
1118
1118
  })
1119
- }) : /*#__PURE__*/ V(B, { children: /*#__PURE__*/ H("div", {
1119
+ }) : /*#__PURE__*/ U(H, { children: /*#__PURE__*/ W("div", {
1120
1120
  className: "flex gap-6",
1121
- children: [/*#__PURE__*/ V("div", {
1121
+ children: [/*#__PURE__*/ U("div", {
1122
1122
  className: "min-w-0 flex-1",
1123
- children: /*#__PURE__*/ H(D, {
1123
+ children: /*#__PURE__*/ W(D, {
1124
1124
  direction: "vertical",
1125
1125
  gap: "6",
1126
1126
  children: [
1127
- /*#__PURE__*/ H("div", { children: [
1128
- /*#__PURE__*/ V(De, { label: l._({ id: "SBGiGm" }) }),
1129
- /*#__PURE__*/ V(h, {
1127
+ /*#__PURE__*/ W("div", { children: [
1128
+ /*#__PURE__*/ U(Ee, { label: l._({ id: "SBGiGm" }) }),
1129
+ /*#__PURE__*/ U(h, {
1130
1130
  value: f,
1131
- onChange: I,
1132
- disabled: L || _,
1131
+ onChange: L,
1132
+ disabled: R || _,
1133
1133
  placeholder: l._({ id: "FKL6Jv" }),
1134
1134
  className: "text-sm",
1135
1135
  rows: 3
1136
1136
  }),
1137
- /*#__PURE__*/ V(y, {
1137
+ /*#__PURE__*/ U(y, {
1138
1138
  label: l._({ id: "23wBCX" }),
1139
1139
  checked: _,
1140
- onChange: F,
1141
- disabled: L,
1140
+ onChange: I,
1141
+ disabled: R,
1142
1142
  className: "mt-2"
1143
1143
  })
1144
1144
  ] }),
1145
- /*#__PURE__*/ H("div", { children: [/*#__PURE__*/ V(De, { label: l._({ id: "6qzsuS" }) }), /*#__PURE__*/ V(h, {
1145
+ /*#__PURE__*/ W("div", { children: [/*#__PURE__*/ U(Ee, { label: l._({ id: "6qzsuS" }) }), /*#__PURE__*/ U(h, {
1146
1146
  value: m,
1147
1147
  onChange: (e) => {
1148
1148
  let t = e.target.value;
1149
1149
  g(t);
1150
1150
  },
1151
- disabled: L,
1151
+ disabled: R,
1152
1152
  placeholder: l._({ id: "UVFHGY" }),
1153
1153
  className: "text-sm",
1154
1154
  rows: 3
1155
1155
  })] }),
1156
- ne && /*#__PURE__*/ V(A, {
1156
+ te && /*#__PURE__*/ U(A, {
1157
1157
  label: b ? l._({ id: "we28Pq" }) : l._({ id: "YiMCKk" }),
1158
1158
  onClick: () => x((e) => !e),
1159
1159
  variant: "subdued",
1160
- disabled: L,
1160
+ disabled: R,
1161
1161
  className: "self-start"
1162
1162
  }),
1163
- b && (re.length > 0 || ie.length > 0) && /*#__PURE__*/ H(D, {
1163
+ b && (ne.length > 0 || re.length > 0) && /*#__PURE__*/ W(D, {
1164
1164
  direction: "vertical",
1165
1165
  gap: "4",
1166
- children: [re.length > 0 && /*#__PURE__*/ H("div", { children: [/*#__PURE__*/ V("p", {
1166
+ children: [ne.length > 0 && /*#__PURE__*/ W("div", { children: [/*#__PURE__*/ U("p", {
1167
1167
  className: "text-theme-default mb-2 text-sm font-semibold",
1168
- children: /*#__PURE__*/ V(G, { id: "x7SF89" })
1169
- }), /*#__PURE__*/ V("div", {
1168
+ children: /*#__PURE__*/ U(q, { id: "x7SF89" })
1169
+ }), /*#__PURE__*/ U("div", {
1170
1170
  className: "border-theme-background-lvl-3 rounded border p-3",
1171
- children: /*#__PURE__*/ V(a, {
1171
+ children: /*#__PURE__*/ U(a, {
1172
1172
  className: "grid-cols-2",
1173
1173
  alignTerms: "left",
1174
- children: re.map((e, t) => /*#__PURE__*/ H(se, { children: [/*#__PURE__*/ V(S, {
1174
+ children: ne.map((e, t) => /*#__PURE__*/ W(ae, { children: [/*#__PURE__*/ U(S, {
1175
1175
  className: "col-span-1",
1176
- children: /*#__PURE__*/ V("span", {
1176
+ children: /*#__PURE__*/ U("span", {
1177
1177
  className: "block truncate text-xs",
1178
1178
  title: e.raw,
1179
1179
  children: e.raw
1180
1180
  })
1181
- }), /*#__PURE__*/ H(r, {
1181
+ }), /*#__PURE__*/ W(r, {
1182
1182
  className: "col-span-1",
1183
- children: [/*#__PURE__*/ V("span", {
1183
+ children: [/*#__PURE__*/ U("span", {
1184
1184
  className: "block truncate text-sm",
1185
- title: we(e),
1186
- children: we(e)
1187
- }), /*#__PURE__*/ V("span", {
1185
+ title: Ce(e),
1186
+ children: Ce(e)
1187
+ }), /*#__PURE__*/ U("span", {
1188
1188
  className: "text-theme-light block text-xs",
1189
- children: e.requiresToken ? /*#__PURE__*/ V(G, { id: "z+zpLP" }) : /*#__PURE__*/ V(G, { id: "t7ff15" })
1189
+ children: e.requiresToken ? /*#__PURE__*/ U(q, { id: "z+zpLP" }) : /*#__PURE__*/ U(q, { id: "t7ff15" })
1190
1190
  })]
1191
1191
  })] }, t))
1192
1192
  })
1193
- })] }), ie.length > 0 && /*#__PURE__*/ H("div", { children: [/*#__PURE__*/ V("p", {
1193
+ })] }), re.length > 0 && /*#__PURE__*/ W("div", { children: [/*#__PURE__*/ U("p", {
1194
1194
  className: "text-theme-default mb-2 text-sm font-semibold",
1195
- children: /*#__PURE__*/ V(G, { id: "lRRkwQ" })
1196
- }), /*#__PURE__*/ V("div", {
1195
+ children: /*#__PURE__*/ U(q, { id: "lRRkwQ" })
1196
+ }), /*#__PURE__*/ U("div", {
1197
1197
  className: "border-theme-background-lvl-3 rounded border p-3",
1198
- children: /*#__PURE__*/ V(a, {
1198
+ children: /*#__PURE__*/ U(a, {
1199
1199
  className: "grid-cols-2",
1200
1200
  alignTerms: "left",
1201
- children: ie.map((e, t) => /*#__PURE__*/ H(se, { children: [/*#__PURE__*/ V(S, {
1201
+ children: re.map((e, t) => /*#__PURE__*/ W(ae, { children: [/*#__PURE__*/ U(S, {
1202
1202
  className: "col-span-1",
1203
- children: /*#__PURE__*/ V("span", {
1203
+ children: /*#__PURE__*/ U("span", {
1204
1204
  className: "block truncate text-xs",
1205
1205
  title: e.raw,
1206
1206
  children: e.raw
1207
1207
  })
1208
- }), /*#__PURE__*/ H(r, {
1208
+ }), /*#__PURE__*/ W(r, {
1209
1209
  className: "col-span-1",
1210
- children: [/*#__PURE__*/ V("span", {
1210
+ children: [/*#__PURE__*/ U("span", {
1211
1211
  className: "block truncate text-sm",
1212
- title: we(e),
1213
- children: we(e)
1214
- }), /*#__PURE__*/ V("span", {
1212
+ title: Ce(e),
1213
+ children: Ce(e)
1214
+ }), /*#__PURE__*/ U("span", {
1215
1215
  className: "text-theme-light block text-xs",
1216
- children: e.requiresToken ? /*#__PURE__*/ V(G, { id: "z+zpLP" }) : /*#__PURE__*/ V(G, { id: "t7ff15" })
1216
+ children: e.requiresToken ? /*#__PURE__*/ U(q, { id: "z+zpLP" }) : /*#__PURE__*/ U(q, { id: "t7ff15" })
1217
1217
  })]
1218
1218
  })] }, t))
1219
1219
  })
@@ -1221,44 +1221,44 @@ var Te = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) =>
1221
1221
  })
1222
1222
  ]
1223
1223
  })
1224
- }), /*#__PURE__*/ H("div", {
1224
+ }), /*#__PURE__*/ W("div", {
1225
1225
  className: "border-theme-background-lvl-3 w-72 shrink-0 border-l pl-6",
1226
1226
  children: [
1227
- /*#__PURE__*/ V("p", {
1227
+ /*#__PURE__*/ U("p", {
1228
1228
  className: "text-theme-light mb-3 text-xs",
1229
- children: /*#__PURE__*/ V(G, { id: "dd2ndz" })
1229
+ children: /*#__PURE__*/ U(q, { id: "dd2ndz" })
1230
1230
  }),
1231
- /*#__PURE__*/ H(D, {
1231
+ /*#__PURE__*/ W(D, {
1232
1232
  direction: "vertical",
1233
1233
  gap: "4",
1234
1234
  children: [
1235
- /*#__PURE__*/ V(Ee, {
1235
+ /*#__PURE__*/ U(Te, {
1236
1236
  code: ".r:*",
1237
1237
  description: l._({ id: "VV1fdg" })
1238
1238
  }),
1239
- /*#__PURE__*/ V(Ee, {
1239
+ /*#__PURE__*/ U(Te, {
1240
1240
  code: ".rlistings",
1241
1241
  description: l._({ id: "s/s1lz" })
1242
1242
  }),
1243
- /*#__PURE__*/ V(Ee, {
1243
+ /*#__PURE__*/ U(Te, {
1244
1244
  code: "PROJECT_ID:USER_ID",
1245
1245
  description: l._({ id: "zhM8FP" })
1246
1246
  }),
1247
- /*#__PURE__*/ V(Ee, {
1247
+ /*#__PURE__*/ U(Te, {
1248
1248
  code: "PROJECT_ID:*",
1249
1249
  description: l._({ id: "BCJPTn" })
1250
1250
  }),
1251
- /*#__PURE__*/ V(Ee, {
1251
+ /*#__PURE__*/ U(Te, {
1252
1252
  code: "*:USER_ID",
1253
1253
  description: l._({ id: "/xnbdQ" })
1254
1254
  })
1255
1255
  ]
1256
1256
  }),
1257
- /*#__PURE__*/ V("p", {
1257
+ /*#__PURE__*/ U("p", {
1258
1258
  className: "text-theme-light mt-4 text-xs",
1259
- children: /*#__PURE__*/ V(G, {
1259
+ children: /*#__PURE__*/ U(q, {
1260
1260
  id: "rrjuul",
1261
- components: { 0: /*#__PURE__*/ V("a", {
1261
+ components: { 0: /*#__PURE__*/ U("a", {
1262
1262
  href: "https://docs.openstack.org/swift/latest/overview_acl.html",
1263
1263
  target: "_blank",
1264
1264
  rel: "noopener noreferrer",
@@ -1269,120 +1269,120 @@ var Te = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) =>
1269
1269
  ]
1270
1270
  })]
1271
1271
  }) }),
1272
- !T && !E && /*#__PURE__*/ V("p", {
1272
+ !T && !E && /*#__PURE__*/ U("p", {
1273
1273
  className: "text-theme-light mt-4 text-xs",
1274
- children: /*#__PURE__*/ V(G, { id: "j9lCXl" })
1274
+ children: /*#__PURE__*/ U(q, { id: "j9lCXl" })
1275
1275
  })
1276
1276
  ]
1277
1277
  })]
1278
1278
  });
1279
1279
  };
1280
- function Ee({ code: e, description: t }) {
1281
- return /*#__PURE__*/ H("div", { children: [/*#__PURE__*/ V(k, {
1280
+ function Te({ code: e, description: t }) {
1281
+ return /*#__PURE__*/ W("div", { children: [/*#__PURE__*/ U(k, {
1282
1282
  variant: "info",
1283
1283
  className: "mb-1 text-xs",
1284
1284
  children: e
1285
- }), /*#__PURE__*/ V("p", {
1285
+ }), /*#__PURE__*/ U("p", {
1286
1286
  className: "text-theme-light text-xs leading-relaxed",
1287
1287
  children: t
1288
1288
  })] });
1289
1289
  }
1290
- function De({ label: e }) {
1291
- return /*#__PURE__*/ H("div", {
1290
+ function Ee({ label: e }) {
1291
+ return /*#__PURE__*/ W("div", {
1292
1292
  className: "mb-1 flex items-center gap-1",
1293
- children: [/*#__PURE__*/ V("label", {
1293
+ children: [/*#__PURE__*/ U("label", {
1294
1294
  className: "text-theme-default text-sm font-semibold",
1295
1295
  children: e
1296
- }), /*#__PURE__*/ H(x, {
1296
+ }), /*#__PURE__*/ W(x, {
1297
1297
  triggerEvent: "hover",
1298
- children: [/*#__PURE__*/ V(T, { children: /*#__PURE__*/ V(g, {
1298
+ children: [/*#__PURE__*/ U(T, { children: /*#__PURE__*/ U(g, {
1299
1299
  icon: "info",
1300
1300
  size: "14",
1301
1301
  className: "text-theme-light cursor-help"
1302
- }) }), /*#__PURE__*/ V(v, {
1302
+ }) }), /*#__PURE__*/ U(v, {
1303
1303
  className: "z-10 max-w-[350px]",
1304
- children: /*#__PURE__*/ V(G, { id: "AdtLNV" })
1304
+ children: /*#__PURE__*/ U(q, { id: "AdtLNV" })
1305
1305
  })]
1306
1306
  })]
1307
1307
  });
1308
1308
  }
1309
1309
  //#endregion
1310
1310
  //#region src/client/routes/_auth/projects/$projectId/storage/-components/Swift/Containers/ContainerTableView.tsx
1311
- var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContainerNameLength: a, onCreateSuccess: s, onCreateError: c, onEmptySuccess: l, onEmptyError: f, onDeleteSuccess: m, onDeleteError: h, onPropertiesSuccess: g, onPropertiesError: _, onAclSuccess: v, onAclError: b, selectedContainers: x, setSelectedContainers: S, hasAnyBulkAction: C = !0 }) => {
1312
- let { projectId: T, provider: E, storageType: D } = W({ from: "/_auth/projects/$projectId/storage/$provider/$storageType/" }), { i18n: O, _: k } = K(), A = fe(), j = de(null), [M, ee] = U(0), [N, P] = U(null), [I, te] = U(null), [L, ne] = U(null), [re, ie] = U(null);
1313
- ue(() => {
1314
- j.current && ee(j.current.offsetWidth - j.current.clientWidth);
1311
+ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContainerNameLength: a, onCreateSuccess: s, onCreateError: c, onEmptySuccess: l, onEmptyError: f, onDeleteSuccess: m, onDeleteError: h, onPropertiesSuccess: g, onPropertiesError: _, onAclSuccess: v, onAclError: b, selectedContainers: x, setSelectedContainers: S, hasAnyBulkAction: C = !0 }) => {
1312
+ let { projectId: T, provider: E, storageType: D } = K({ from: "/_auth/projects/$projectId/storage/$provider/$storageType/" }), { i18n: O, _: k } = J(), A = ue(), j = le(null), [M, N] = G(0), [P, F] = G(null), [L, ee] = G(null), [R, te] = G(null), [ne, re] = G(null);
1313
+ ce(() => {
1314
+ j.current && N(j.current.offsetWidth - j.current.clientWidth);
1315
1315
  }, [e.length]);
1316
- let R = (e) => {
1316
+ let z = (e) => {
1317
1317
  try {
1318
1318
  return new Date(e).toLocaleString();
1319
1319
  } catch {
1320
1320
  return O._({ id: "fj5byd" });
1321
1321
  }
1322
- }, ae = me({
1322
+ }, B = fe({
1323
1323
  count: e.length,
1324
1324
  getScrollElement: () => j.current,
1325
1325
  estimateSize: () => 48,
1326
1326
  overscan: 10
1327
- }), oe = (e) => {
1327
+ }), ie = (e) => {
1328
1328
  x.includes(e) ? S(x.filter((t) => t !== e)) : S([...x, e]);
1329
1329
  };
1330
- if (!e || e.length === 0) return /*#__PURE__*/ H(B, { children: [/*#__PURE__*/ V(u, {
1330
+ if (!e || e.length === 0) return /*#__PURE__*/ W(H, { children: [/*#__PURE__*/ U(u, {
1331
1331
  columns: 4,
1332
1332
  className: "containers",
1333
1333
  "data-testid": "no-containers",
1334
- children: /*#__PURE__*/ V(i, { children: /*#__PURE__*/ V(o, {
1334
+ children: /*#__PURE__*/ U(i, { children: /*#__PURE__*/ U(o, {
1335
1335
  colSpan: 4,
1336
- children: /*#__PURE__*/ H("div", {
1336
+ children: /*#__PURE__*/ W("div", {
1337
1337
  className: "py-8 text-center",
1338
- children: [/*#__PURE__*/ V("h3", {
1338
+ children: [/*#__PURE__*/ U("h3", {
1339
1339
  className: "text-lg font-semibold",
1340
- children: /*#__PURE__*/ V(G, { id: "Hiw1Ha" })
1341
- }), /*#__PURE__*/ V("p", {
1340
+ children: /*#__PURE__*/ U(q, { id: "Hiw1Ha" })
1341
+ }), /*#__PURE__*/ U("p", {
1342
1342
  className: "text-theme-light mt-2",
1343
- children: /*#__PURE__*/ V(G, { id: "x1bK0h" })
1343
+ children: /*#__PURE__*/ U(q, { id: "x1bK0h" })
1344
1344
  })]
1345
1345
  })
1346
1346
  }) })
1347
- }), /*#__PURE__*/ V(J, {
1347
+ }), /*#__PURE__*/ U(pe, {
1348
1348
  isOpen: n,
1349
1349
  onClose: () => r(!1),
1350
1350
  onSuccess: s,
1351
1351
  onError: c,
1352
1352
  maxContainerNameLength: a
1353
1353
  })] });
1354
- let z = C ? 6 : 5, se = C ? "40px minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px" : "minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px";
1355
- return /*#__PURE__*/ H(B, { children: [
1356
- /*#__PURE__*/ H("div", {
1354
+ let V = C ? 6 : 5, ae = C ? "40px minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px" : "minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px";
1355
+ return /*#__PURE__*/ W(H, { children: [
1356
+ /*#__PURE__*/ W("div", {
1357
1357
  className: "relative",
1358
- children: [/*#__PURE__*/ V("div", {
1358
+ children: [/*#__PURE__*/ U("div", {
1359
1359
  style: { paddingRight: `${M}px` },
1360
- children: /*#__PURE__*/ V(u, {
1361
- columns: z,
1362
- gridColumnTemplate: se,
1360
+ children: /*#__PURE__*/ U(u, {
1361
+ columns: V,
1362
+ gridColumnTemplate: ae,
1363
1363
  className: "containers",
1364
1364
  "data-testid": "containers-table-header",
1365
- children: /*#__PURE__*/ H(i, { children: [
1366
- C && /*#__PURE__*/ V(d, {}),
1367
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "t0X9+8" }) }),
1368
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "sxbP3b" }) }),
1369
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "sjMCOP" }) }),
1370
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "hgpMHD" }) }),
1371
- /*#__PURE__*/ V(d, { style: { marginRight: `-${M}px` } })
1365
+ children: /*#__PURE__*/ W(i, { children: [
1366
+ C && /*#__PURE__*/ U(d, {}),
1367
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "t0X9+8" }) }),
1368
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "sxbP3b" }) }),
1369
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "sjMCOP" }) }),
1370
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "hgpMHD" }) }),
1371
+ /*#__PURE__*/ U(d, { style: { marginRight: `-${M}px` } })
1372
1372
  ] })
1373
1373
  })
1374
- }), /*#__PURE__*/ V("div", {
1374
+ }), /*#__PURE__*/ U("div", {
1375
1375
  ref: j,
1376
1376
  className: "overflow-auto",
1377
1377
  style: { height: "calc(100vh - 490px)" },
1378
1378
  "data-testid": "containers-table-body",
1379
- children: /*#__PURE__*/ V("div", {
1379
+ children: /*#__PURE__*/ U("div", {
1380
1380
  style: {
1381
- height: `${ae.getTotalSize()}px`,
1381
+ height: `${B.getTotalSize()}px`,
1382
1382
  width: "100%",
1383
1383
  position: "relative"
1384
1384
  },
1385
- children: ae.getVirtualItems().map((n) => {
1385
+ children: B.getVirtualItems().map((n) => {
1386
1386
  let r = e[n.index], i = x.includes(r.name), a = () => A({
1387
1387
  to: "/projects/$projectId/storage/$provider/$storageType/$containerName/objects",
1388
1388
  params: {
@@ -1392,9 +1392,9 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1392
1392
  containerName: r.name
1393
1393
  }
1394
1394
  });
1395
- return /*#__PURE__*/ H("div", {
1395
+ return /*#__PURE__*/ W("div", {
1396
1396
  "data-index": n.index,
1397
- ref: ae.measureElement,
1397
+ ref: B.measureElement,
1398
1398
  className: "juno-datagrid group hover:bg-theme-background-lvl-1 cursor-pointer",
1399
1399
  style: {
1400
1400
  position: "absolute",
@@ -1403,7 +1403,7 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1403
1403
  width: "100%",
1404
1404
  transform: `translateY(${n.start}px)`,
1405
1405
  display: "grid",
1406
- gridTemplateColumns: se,
1406
+ gridTemplateColumns: ae,
1407
1407
  alignItems: "stretch"
1408
1408
  },
1409
1409
  "data-testid": `container-row-${r.name}`,
@@ -1414,49 +1414,49 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1414
1414
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), a());
1415
1415
  },
1416
1416
  children: [
1417
- C && /*#__PURE__*/ V(o, {
1417
+ C && /*#__PURE__*/ U(o, {
1418
1418
  onClick: (e) => e.stopPropagation(),
1419
1419
  onKeyDown: (e) => {
1420
1420
  (e.key === "Enter" || e.key === " ") && e.stopPropagation();
1421
1421
  },
1422
- children: /*#__PURE__*/ V(y, {
1422
+ children: /*#__PURE__*/ U(y, {
1423
1423
  checked: i,
1424
- onChange: () => oe(r.name),
1424
+ onChange: () => ie(r.name),
1425
1425
  "data-testid": `select-container-${r.name}`
1426
1426
  })
1427
1427
  }),
1428
- /*#__PURE__*/ V(o, {
1428
+ /*#__PURE__*/ U(o, {
1429
1429
  className: "min-w-0 overflow-hidden",
1430
- children: /*#__PURE__*/ V("span", {
1430
+ children: /*#__PURE__*/ U("span", {
1431
1431
  className: "block truncate",
1432
1432
  title: r.name,
1433
1433
  children: r.name
1434
1434
  })
1435
1435
  }),
1436
- /*#__PURE__*/ V(o, { children: r.count.toLocaleString() }),
1437
- /*#__PURE__*/ V(o, { children: r.last_modified ? R(r.last_modified) : O._({ id: "fj5byd" }) }),
1438
- /*#__PURE__*/ V(o, { children: F(r.bytes) }),
1439
- /*#__PURE__*/ V(o, {
1436
+ /*#__PURE__*/ U(o, { children: r.count.toLocaleString() }),
1437
+ /*#__PURE__*/ U(o, { children: r.last_modified ? z(r.last_modified) : O._({ id: "fj5byd" }) }),
1438
+ /*#__PURE__*/ U(o, { children: I(r.bytes) }),
1439
+ /*#__PURE__*/ U(o, {
1440
1440
  onClick: (e) => e.stopPropagation(),
1441
- children: /*#__PURE__*/ V(w, { children: /*#__PURE__*/ H(t, { children: [
1442
- /*#__PURE__*/ V(p, {
1441
+ children: /*#__PURE__*/ U(w, { children: /*#__PURE__*/ W(t, { children: [
1442
+ /*#__PURE__*/ U(p, {
1443
1443
  label: O._({ id: "cWbW6w" }),
1444
- onClick: () => ie(r),
1444
+ onClick: () => re(r),
1445
1445
  "data-testid": `access-control-action-${r.name}`
1446
1446
  }),
1447
- /*#__PURE__*/ V(p, {
1447
+ /*#__PURE__*/ U(p, {
1448
1448
  label: O._({ id: "Oc8Aqv" }),
1449
- onClick: () => ne(r),
1449
+ onClick: () => te(r),
1450
1450
  "data-testid": `properties-action-${r.name}`
1451
1451
  }),
1452
- /*#__PURE__*/ V(p, {
1452
+ /*#__PURE__*/ U(p, {
1453
1453
  label: O._({ id: "N2S1rs" }),
1454
- onClick: () => P(r),
1454
+ onClick: () => F(r),
1455
1455
  "data-testid": `empty-action-${r.name}`
1456
1456
  }),
1457
- /*#__PURE__*/ V(p, {
1457
+ /*#__PURE__*/ U(p, {
1458
1458
  label: O._({ id: "cnGeoo" }),
1459
- onClick: () => te(r),
1459
+ onClick: () => ee(r),
1460
1460
  "data-testid": `delete-action-${r.name}`
1461
1461
  })
1462
1462
  ] }) })
@@ -1467,181 +1467,181 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1467
1467
  })
1468
1468
  })]
1469
1469
  }),
1470
- /*#__PURE__*/ V(J, {
1470
+ /*#__PURE__*/ U(pe, {
1471
1471
  isOpen: n,
1472
1472
  onClose: () => r(!1),
1473
1473
  onSuccess: s,
1474
1474
  onError: c,
1475
1475
  maxContainerNameLength: a
1476
1476
  }),
1477
- /*#__PURE__*/ V(he, {
1478
- isOpen: N !== null,
1479
- container: N,
1480
- onClose: () => P(null),
1477
+ /*#__PURE__*/ U(me, {
1478
+ isOpen: P !== null,
1479
+ container: P,
1480
+ onClose: () => F(null),
1481
1481
  onSuccess: l,
1482
1482
  onError: f
1483
1483
  }),
1484
- /*#__PURE__*/ V(ge, {
1485
- isOpen: I !== null,
1486
- container: I,
1487
- onClose: () => te(null),
1484
+ /*#__PURE__*/ U(he, {
1485
+ isOpen: L !== null,
1486
+ container: L,
1487
+ onClose: () => ee(null),
1488
1488
  onSuccess: m,
1489
1489
  onError: h
1490
1490
  }),
1491
- /*#__PURE__*/ V(Y, {
1492
- isOpen: L !== null,
1493
- container: L,
1494
- onClose: () => ne(null),
1491
+ /*#__PURE__*/ U(X, {
1492
+ isOpen: R !== null,
1493
+ container: R,
1494
+ onClose: () => te(null),
1495
1495
  onSuccess: g,
1496
1496
  onError: _
1497
1497
  }),
1498
- /*#__PURE__*/ V(Te, {
1499
- isOpen: re !== null,
1500
- container: re,
1501
- onClose: () => ie(null),
1498
+ /*#__PURE__*/ U(we, {
1499
+ isOpen: ne !== null,
1500
+ container: ne,
1501
+ onClose: () => re(null),
1502
1502
  onSuccess: v,
1503
1503
  onError: b
1504
1504
  })
1505
1505
  ] });
1506
- }, ke = (e) => ({
1507
- message: /*#__PURE__*/ V(G, { id: "6w+VnM" }),
1508
- description: /*#__PURE__*/ V(G, {
1506
+ }, Oe = (e) => ({
1507
+ message: /*#__PURE__*/ U(q, { id: "6w+VnM" }),
1508
+ description: /*#__PURE__*/ U(q, {
1509
1509
  id: "XwxJJB",
1510
1510
  values: { containerName: e }
1511
1511
  })
1512
- }), Ae = (e, t) => ({
1513
- message: /*#__PURE__*/ V(G, { id: "Vj8XFg" }),
1514
- description: /*#__PURE__*/ V(G, {
1512
+ }), ke = (e, t) => ({
1513
+ message: /*#__PURE__*/ U(q, { id: "Vj8XFg" }),
1514
+ description: /*#__PURE__*/ U(q, {
1515
1515
  id: "Vz+7ZA",
1516
1516
  values: {
1517
1517
  containerName: e,
1518
1518
  errorMessage: t
1519
1519
  }
1520
1520
  })
1521
- }), je = (e, t) => ({
1522
- message: /*#__PURE__*/ V(G, { id: "6OopEX" }),
1523
- description: t === 0 ? /*#__PURE__*/ V(G, {
1521
+ }), Ae = (e, t) => ({
1522
+ message: /*#__PURE__*/ U(q, { id: "6OopEX" }),
1523
+ description: t === 0 ? /*#__PURE__*/ U(q, {
1524
1524
  id: "nkpZyk",
1525
1525
  values: { containerName: e }
1526
- }) : t === 1 ? /*#__PURE__*/ V(G, {
1526
+ }) : t === 1 ? /*#__PURE__*/ U(q, {
1527
1527
  id: "TZJiVf",
1528
1528
  values: {
1529
1529
  containerName: e,
1530
1530
  deletedCount: t
1531
1531
  }
1532
- }) : /*#__PURE__*/ V(G, {
1532
+ }) : /*#__PURE__*/ U(q, {
1533
1533
  id: "Sb/VT5",
1534
1534
  values: {
1535
1535
  containerName: e,
1536
1536
  deletedCount: t
1537
1537
  }
1538
1538
  })
1539
- }), Me = (e, t) => ({
1540
- message: /*#__PURE__*/ V(G, { id: "S8/j2h" }),
1541
- description: /*#__PURE__*/ V(G, {
1539
+ }), je = (e, t) => ({
1540
+ message: /*#__PURE__*/ U(q, { id: "S8/j2h" }),
1541
+ description: /*#__PURE__*/ U(q, {
1542
1542
  id: "1rLu3+",
1543
1543
  values: {
1544
1544
  containerName: e,
1545
1545
  errorMessage: t
1546
1546
  }
1547
1547
  })
1548
- }), Ne = (e) => ({
1549
- message: /*#__PURE__*/ V(G, { id: "odVI9Y" }),
1550
- description: /*#__PURE__*/ V(G, {
1548
+ }), Me = (e) => ({
1549
+ message: /*#__PURE__*/ U(q, { id: "odVI9Y" }),
1550
+ description: /*#__PURE__*/ U(q, {
1551
1551
  id: "V1TzeS",
1552
1552
  values: { containerName: e }
1553
1553
  })
1554
- }), Pe = (e, t) => ({
1555
- message: /*#__PURE__*/ V(G, { id: "BJt+PJ" }),
1556
- description: /*#__PURE__*/ V(G, {
1554
+ }), Ne = (e, t) => ({
1555
+ message: /*#__PURE__*/ U(q, { id: "BJt+PJ" }),
1556
+ description: /*#__PURE__*/ U(q, {
1557
1557
  id: "RGrgxg",
1558
1558
  values: {
1559
1559
  containerName: e,
1560
1560
  errorMessage: t
1561
1561
  }
1562
1562
  })
1563
- }), Fe = (e) => ({
1564
- message: /*#__PURE__*/ V(G, { id: "a7C4YS" }),
1565
- description: /*#__PURE__*/ V(G, {
1563
+ }), Pe = (e) => ({
1564
+ message: /*#__PURE__*/ U(q, { id: "a7C4YS" }),
1565
+ description: /*#__PURE__*/ U(q, {
1566
1566
  id: "/NeNjH",
1567
1567
  values: { containerName: e }
1568
1568
  })
1569
- }), Ie = (e, t) => ({
1570
- message: /*#__PURE__*/ V(G, { id: "5MF8U2" }),
1571
- description: /*#__PURE__*/ V(G, {
1569
+ }), Fe = (e, t) => ({
1570
+ message: /*#__PURE__*/ U(q, { id: "5MF8U2" }),
1571
+ description: /*#__PURE__*/ U(q, {
1572
1572
  id: "uLtFAr",
1573
1573
  values: {
1574
1574
  containerName: e,
1575
1575
  errorMessage: t
1576
1576
  }
1577
1577
  })
1578
- }), Le = (e) => ({
1579
- message: /*#__PURE__*/ V(G, { id: "olfSYj" }),
1580
- description: /*#__PURE__*/ V(G, {
1578
+ }), Ie = (e) => ({
1579
+ message: /*#__PURE__*/ U(q, { id: "olfSYj" }),
1580
+ description: /*#__PURE__*/ U(q, {
1581
1581
  id: "tM5SEI",
1582
1582
  values: { containerName: e }
1583
1583
  })
1584
- }), Re = (e, t) => ({
1585
- message: /*#__PURE__*/ V(G, { id: "p7DzCB" }),
1586
- description: /*#__PURE__*/ V(G, {
1584
+ }), Le = (e, t) => ({
1585
+ message: /*#__PURE__*/ U(q, { id: "p7DzCB" }),
1586
+ description: /*#__PURE__*/ U(q, {
1587
1587
  id: "DcMIiu",
1588
1588
  values: {
1589
1589
  containerName: e,
1590
1590
  errorMessage: t
1591
1591
  }
1592
1592
  })
1593
- }), ze = (e, t, n) => {
1593
+ }), Re = (e, t, n) => {
1594
1594
  let r = n.length > 0, i = e > 0, a = r && i;
1595
1595
  return {
1596
1596
  severity: a ? "warning" : r ? "error" : "success",
1597
- message: a ? /*#__PURE__*/ V(G, { id: "q44uUq" }) : r ? /*#__PURE__*/ V(G, { id: "wFaT8w" }) : /*#__PURE__*/ V(G, { id: "0WsqO0" }),
1598
- description: /*#__PURE__*/ H(D, {
1597
+ message: a ? /*#__PURE__*/ U(q, { id: "q44uUq" }) : r ? /*#__PURE__*/ U(q, { id: "wFaT8w" }) : /*#__PURE__*/ U(q, { id: "0WsqO0" }),
1598
+ description: /*#__PURE__*/ W(D, {
1599
1599
  direction: "vertical",
1600
1600
  gap: "1",
1601
- children: [i && /*#__PURE__*/ V("span", { children: /*#__PURE__*/ V(G, {
1601
+ children: [i && /*#__PURE__*/ U("span", { children: /*#__PURE__*/ U(q, {
1602
1602
  id: "1NS3nd",
1603
1603
  values: {
1604
1604
  emptiedCount: e,
1605
1605
  totalDeleted: t
1606
1606
  }
1607
- }) }), r && /*#__PURE__*/ V("span", {
1607
+ }) }), r && /*#__PURE__*/ U("span", {
1608
1608
  className: "whitespace-pre-line",
1609
- children: /*#__PURE__*/ V(G, {
1609
+ children: /*#__PURE__*/ U(q, {
1610
1610
  id: "JrmKyf",
1611
1611
  values: { errorDetails: n.join("\n") }
1612
1612
  })
1613
1613
  })]
1614
1614
  })
1615
1615
  };
1616
- }, Q = ({ label: e, value: t }) => t == null ? null : /*#__PURE__*/ H("span", {
1616
+ }, $ = ({ label: e, value: t }) => t == null ? null : /*#__PURE__*/ W("span", {
1617
1617
  className: "flex items-start gap-1.5",
1618
- children: [/*#__PURE__*/ V(g, {
1618
+ children: [/*#__PURE__*/ U(g, {
1619
1619
  icon: "check",
1620
1620
  size: "16px",
1621
1621
  className: "text-theme-success mt-0.5 shrink-0"
1622
- }), /*#__PURE__*/ H("span", { children: [
1623
- /*#__PURE__*/ H("span", {
1622
+ }), /*#__PURE__*/ W("span", { children: [
1623
+ /*#__PURE__*/ W("span", {
1624
1624
  className: "font-medium",
1625
1625
  children: [e, ":"]
1626
1626
  }),
1627
1627
  " ",
1628
1628
  t
1629
1629
  ] })]
1630
- }), Be = ({ label: e }) => /*#__PURE__*/ H("span", {
1630
+ }), ze = ({ label: e }) => /*#__PURE__*/ W("span", {
1631
1631
  className: "flex items-start gap-1.5",
1632
- children: [/*#__PURE__*/ V(g, {
1632
+ children: [/*#__PURE__*/ U(g, {
1633
1633
  icon: "check",
1634
1634
  size: "16px",
1635
1635
  className: "text-theme-success mt-0.5 shrink-0"
1636
- }), /*#__PURE__*/ V("span", { children: e })]
1637
- }), Ve = ({ title: e, children: t }) => /*#__PURE__*/ H("span", {
1636
+ }), /*#__PURE__*/ U("span", { children: e })]
1637
+ }), Be = ({ title: e, children: t }) => /*#__PURE__*/ W("span", {
1638
1638
  className: "flex flex-col gap-1.5",
1639
- children: [/*#__PURE__*/ V("span", {
1639
+ children: [/*#__PURE__*/ U("span", {
1640
1640
  className: "text-theme-default block font-semibold",
1641
1641
  children: e
1642
1642
  }), t]
1643
- }), He = ({ serviceInfo: e, accountInfo: t, open: n }) => {
1644
- let { i18n: r, _: i } = K(), a = e?.swift, o = {
1643
+ }), Ve = ({ serviceInfo: e, accountInfo: t, open: n }) => {
1644
+ let { i18n: r, _: i } = J(), a = e?.swift, o = {
1645
1645
  account_quotas: r._({ id: "DJT9tB" }),
1646
1646
  container_quotas: r._({ id: "USiuNX" }),
1647
1647
  bulk_delete: r._({ id: "F6YIQe" }),
@@ -1652,110 +1652,110 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1652
1652
  symlink: r._({ id: "Q2xmVl" }),
1653
1653
  versioned_writes: r._({ id: "8jLXs3" })
1654
1654
  }, s = Object.entries(o).filter(([e]) => a?.[e]).map(([, e]) => e);
1655
- return /*#__PURE__*/ H(x, {
1655
+ return /*#__PURE__*/ W(x, {
1656
1656
  triggerEvent: "hover",
1657
1657
  placement: "bottom-end",
1658
1658
  open: n,
1659
- children: [/*#__PURE__*/ V(T, {
1659
+ children: [/*#__PURE__*/ U(T, {
1660
1660
  asChild: !0,
1661
- children: /*#__PURE__*/ V(g, {
1661
+ children: /*#__PURE__*/ U(g, {
1662
1662
  icon: "info",
1663
1663
  size: "20px",
1664
1664
  className: "text-theme-light hover:text-theme-default cursor-pointer"
1665
1665
  })
1666
- }), /*#__PURE__*/ V(v, {
1666
+ }), /*#__PURE__*/ U(v, {
1667
1667
  className: "z-10 w-72 text-sm",
1668
- children: /*#__PURE__*/ H("span", {
1668
+ children: /*#__PURE__*/ W("span", {
1669
1669
  className: "flex flex-col gap-3 p-1",
1670
1670
  children: [
1671
- t && /*#__PURE__*/ H(Ve, {
1672
- title: /*#__PURE__*/ V(G, { id: "AeXO77" }),
1671
+ t && /*#__PURE__*/ W(Be, {
1672
+ title: /*#__PURE__*/ U(q, { id: "AeXO77" }),
1673
1673
  children: [
1674
- /*#__PURE__*/ V(Q, {
1674
+ /*#__PURE__*/ U($, {
1675
1675
  label: r._({ id: "ClGcRq" }),
1676
1676
  value: t.containerCount.toLocaleString()
1677
1677
  }),
1678
- /*#__PURE__*/ V(Q, {
1678
+ /*#__PURE__*/ U($, {
1679
1679
  label: r._({ id: "B3toQF" }),
1680
1680
  value: t.objectCount.toLocaleString()
1681
1681
  }),
1682
- /*#__PURE__*/ V(Q, {
1682
+ /*#__PURE__*/ U($, {
1683
1683
  label: r._({ id: "aL1w5Z" }),
1684
- value: F(t.bytesUsed)
1684
+ value: I(t.bytesUsed)
1685
1685
  }),
1686
- t.quotaBytes !== void 0 && /*#__PURE__*/ V(Q, {
1686
+ t.quotaBytes !== void 0 && /*#__PURE__*/ U($, {
1687
1687
  label: r._({ id: "vEkTR9" }),
1688
- value: F(t.quotaBytes)
1688
+ value: I(t.quotaBytes)
1689
1689
  })
1690
1690
  ]
1691
1691
  }),
1692
- a && /*#__PURE__*/ H(Ve, {
1693
- title: /*#__PURE__*/ V(G, { id: "6BDqha" }),
1692
+ a && /*#__PURE__*/ W(Be, {
1693
+ title: /*#__PURE__*/ U(q, { id: "6BDqha" }),
1694
1694
  children: [
1695
- /*#__PURE__*/ V(Q, {
1695
+ /*#__PURE__*/ U($, {
1696
1696
  label: r._({ id: "wTg+FY" }),
1697
- value: a.max_file_size === void 0 ? void 0 : F(a.max_file_size)
1697
+ value: a.max_file_size === void 0 ? void 0 : I(a.max_file_size)
1698
1698
  }),
1699
- /*#__PURE__*/ V(Q, {
1699
+ /*#__PURE__*/ U($, {
1700
1700
  label: r._({ id: "Rih53k" }),
1701
1701
  value: a.max_container_name_length
1702
1702
  }),
1703
- /*#__PURE__*/ V(Q, {
1703
+ /*#__PURE__*/ U($, {
1704
1704
  label: r._({ id: "qAkkjP" }),
1705
1705
  value: a.max_object_name_length
1706
1706
  }),
1707
- /*#__PURE__*/ V(Q, {
1707
+ /*#__PURE__*/ U($, {
1708
1708
  label: r._({ id: "OZImTR" }),
1709
1709
  value: a.container_listing_limit?.toLocaleString()
1710
1710
  }),
1711
- /*#__PURE__*/ V(Q, {
1711
+ /*#__PURE__*/ U($, {
1712
1712
  label: r._({ id: "a4A2uB" }),
1713
1713
  value: a.account_listing_limit?.toLocaleString()
1714
1714
  }),
1715
- /*#__PURE__*/ V(Q, {
1715
+ /*#__PURE__*/ U($, {
1716
1716
  label: r._({ id: "zWb/Nn" }),
1717
1717
  value: a.max_header_size
1718
1718
  }),
1719
- /*#__PURE__*/ V(Q, {
1719
+ /*#__PURE__*/ U($, {
1720
1720
  label: r._({ id: "RGwfoL" }),
1721
1721
  value: a.max_meta_count
1722
1722
  }),
1723
- /*#__PURE__*/ V(Q, {
1723
+ /*#__PURE__*/ U($, {
1724
1724
  label: r._({ id: "8c3/77" }),
1725
1725
  value: a.max_meta_name_length
1726
1726
  }),
1727
- /*#__PURE__*/ V(Q, {
1727
+ /*#__PURE__*/ U($, {
1728
1728
  label: r._({ id: "5JDSvn" }),
1729
1729
  value: a.max_meta_value_length
1730
1730
  }),
1731
- /*#__PURE__*/ V(Q, {
1731
+ /*#__PURE__*/ U($, {
1732
1732
  label: r._({ id: "ZAx+d1" }),
1733
1733
  value: a.max_meta_overall_size
1734
1734
  }),
1735
- a.bulk_delete && /*#__PURE__*/ V(Q, {
1735
+ a.bulk_delete && /*#__PURE__*/ U($, {
1736
1736
  label: r._({ id: "lQ3EIe" }),
1737
1737
  value: a.bulk_delete.max_deletes_per_request.toLocaleString()
1738
1738
  }),
1739
- a.bulk_upload && /*#__PURE__*/ V(Q, {
1739
+ a.bulk_upload && /*#__PURE__*/ U($, {
1740
1740
  label: r._({ id: "STc+7E" }),
1741
1741
  value: a.bulk_upload.max_containers_per_extraction.toLocaleString()
1742
1742
  }),
1743
- a.slo && /*#__PURE__*/ V(Q, {
1743
+ a.slo && /*#__PURE__*/ U($, {
1744
1744
  label: r._({ id: "RNBvdl" }),
1745
1745
  value: a.slo.max_manifest_segments.toLocaleString()
1746
1746
  })
1747
1747
  ]
1748
1748
  }),
1749
- s.length > 0 && /*#__PURE__*/ V(Ve, {
1750
- title: /*#__PURE__*/ V(G, { id: "Qx7DM7" }),
1751
- children: s.map((e) => /*#__PURE__*/ V(Be, { label: e }, e))
1749
+ s.length > 0 && /*#__PURE__*/ U(Be, {
1750
+ title: /*#__PURE__*/ U(q, { id: "Qx7DM7" }),
1751
+ children: s.map((e) => /*#__PURE__*/ U(ze, { label: e }, e))
1752
1752
  })
1753
1753
  ]
1754
1754
  })
1755
1755
  })]
1756
1756
  });
1757
- }, Ue = 20, We = "empty", $ = ({ isOpen: e, containers: t, onClose: i, onComplete: o }) => {
1758
- let { i18n: c, i18n: l, _: u } = K(), d = ee(), [p, m] = U(null), [h, g] = U(""), _ = h.trim() === We, v = j.useUtils(), y = j.storage.swift.emptyContainer.useMutation(), b = () => {
1757
+ }, He = 20, Ue = "empty", We = ({ isOpen: e, containers: t, onClose: i, onComplete: o }) => {
1758
+ let { i18n: c, i18n: l, _: u } = J(), d = N(), [p, m] = G(null), [h, g] = G(""), _ = h.trim() === Ue, v = j.useUtils(), y = j.storage.swift.emptyContainer.useMutation(), b = () => {
1759
1759
  y.reset(), m(null), g(""), i();
1760
1760
  }, x = async () => {
1761
1761
  let e = 0, n = 0, r = [], i = t.length;
@@ -1783,9 +1783,9 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1783
1783
  }), b();
1784
1784
  };
1785
1785
  if (!e || t.length === 0) return null;
1786
- let w = t.length, T = t.slice(0, Ue), E = w - T.length, O = y.isPending || p !== null, k = p?.current, A = p?.total;
1787
- return /*#__PURE__*/ V(C, {
1788
- title: /*#__PURE__*/ V(G, {
1786
+ let w = t.length, T = t.slice(0, He), E = w - T.length, O = y.isPending || p !== null, k = p?.current, A = p?.total;
1787
+ return /*#__PURE__*/ U(C, {
1788
+ title: /*#__PURE__*/ U(q, {
1789
1789
  id: "0efWir",
1790
1790
  values: { totalCount: w }
1791
1791
  }),
@@ -1799,15 +1799,15 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1799
1799
  disableCancelButton: O,
1800
1800
  disableCloseButton: O,
1801
1801
  size: "small",
1802
- children: O ? /*#__PURE__*/ H(D, {
1802
+ children: O ? /*#__PURE__*/ W(D, {
1803
1803
  direction: "vertical",
1804
1804
  distribution: "center",
1805
1805
  alignment: "center",
1806
1806
  gap: "2",
1807
1807
  className: "py-4",
1808
- children: [/*#__PURE__*/ V(s, { variant: "primary" }), p && /*#__PURE__*/ V("p", {
1808
+ children: [/*#__PURE__*/ U(s, { variant: "primary" }), p && /*#__PURE__*/ U("p", {
1809
1809
  className: "text-theme-light text-sm",
1810
- children: /*#__PURE__*/ V(G, {
1810
+ children: /*#__PURE__*/ U(q, {
1811
1811
  id: "7NSdfG",
1812
1812
  values: {
1813
1813
  progressCurrent: k,
@@ -1815,49 +1815,49 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1815
1815
  }
1816
1816
  })
1817
1817
  })]
1818
- }) : /*#__PURE__*/ H("div", {
1818
+ }) : /*#__PURE__*/ W("div", {
1819
1819
  className: "my-6",
1820
1820
  children: [
1821
- /*#__PURE__*/ V(n, {
1821
+ /*#__PURE__*/ U(n, {
1822
1822
  variant: "danger",
1823
1823
  className: "mb-6",
1824
- children: /*#__PURE__*/ V(G, { id: "JuOpPY" })
1824
+ children: /*#__PURE__*/ U(q, { id: "JuOpPY" })
1825
1825
  }),
1826
- /*#__PURE__*/ V("p", {
1826
+ /*#__PURE__*/ U("p", {
1827
1827
  className: "text-theme-default mb-6 text-sm",
1828
- children: /*#__PURE__*/ V(G, {
1828
+ children: /*#__PURE__*/ U(q, {
1829
1829
  id: "XXjbEV",
1830
1830
  components: {
1831
- 0: /*#__PURE__*/ V("strong", {}),
1832
- 1: /*#__PURE__*/ V("strong", {})
1831
+ 0: /*#__PURE__*/ U("strong", {}),
1832
+ 1: /*#__PURE__*/ U("strong", {})
1833
1833
  }
1834
1834
  })
1835
1835
  }),
1836
- /*#__PURE__*/ H("div", {
1836
+ /*#__PURE__*/ W("div", {
1837
1837
  className: "mb-6",
1838
- children: [/*#__PURE__*/ V("h3", {
1838
+ children: [/*#__PURE__*/ U("h3", {
1839
1839
  className: "jn:text-theme-high mb-3 font-semibold",
1840
- children: /*#__PURE__*/ V(G, {
1840
+ children: /*#__PURE__*/ U(q, {
1841
1841
  id: "VKmlZ+",
1842
1842
  values: { totalCount: w }
1843
1843
  })
1844
- }), /*#__PURE__*/ H("div", {
1844
+ }), /*#__PURE__*/ W("div", {
1845
1845
  className: "jn:bg-theme-background-lvl-1 max-h-48 overflow-y-auto rounded p-4",
1846
- children: [/*#__PURE__*/ V(a, {
1846
+ children: [/*#__PURE__*/ U(a, {
1847
1847
  className: "grid-cols-2",
1848
1848
  alignTerms: "left",
1849
1849
  children: T.map((e) => {
1850
1850
  let t = e.count;
1851
- return /*#__PURE__*/ H(se, { children: [/*#__PURE__*/ V(S, {
1851
+ return /*#__PURE__*/ W(ae, { children: [/*#__PURE__*/ U(S, {
1852
1852
  className: "col-span-1",
1853
- children: /*#__PURE__*/ V("span", {
1853
+ children: /*#__PURE__*/ U("span", {
1854
1854
  className: "block truncate",
1855
1855
  title: e.name,
1856
1856
  children: e.name
1857
1857
  })
1858
- }), /*#__PURE__*/ V(r, {
1858
+ }), /*#__PURE__*/ U(r, {
1859
1859
  className: "col-span-1",
1860
- children: /*#__PURE__*/ V("span", {
1860
+ children: /*#__PURE__*/ U("span", {
1861
1861
  className: "whitespace-nowrap",
1862
1862
  children: t == null ? "" : l._(c._({
1863
1863
  id: "7Ocn0b",
@@ -1866,18 +1866,18 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1866
1866
  })
1867
1867
  })] }, e.name);
1868
1868
  })
1869
- }), E > 0 && /*#__PURE__*/ V("p", {
1869
+ }), E > 0 && /*#__PURE__*/ U("p", {
1870
1870
  className: "text-theme-light mt-2 text-xs",
1871
- children: /*#__PURE__*/ V(G, {
1871
+ children: /*#__PURE__*/ U(q, {
1872
1872
  id: "yqPflB",
1873
1873
  values: { hiddenCount: E }
1874
1874
  })
1875
1875
  })]
1876
1876
  })]
1877
1877
  }),
1878
- /*#__PURE__*/ V(f, {
1878
+ /*#__PURE__*/ U(f, {
1879
1879
  label: c._({ id: "Ghp863" }),
1880
- placeholder: We,
1880
+ placeholder: Ue,
1881
1881
  value: h,
1882
1882
  onChange: (e) => g(e.target.value)
1883
1883
  })
@@ -1885,49 +1885,49 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1885
1885
  })
1886
1886
  });
1887
1887
  }, Ge = () => {
1888
- let { i18n: e, i18n: n, _: r } = K(), i = ee(), a = fe({ from: M.fullPath }), { sortBy: o, sortDirection: c, search: u = "" } = M.useSearch(), [d, f] = U(!1), [h, g] = U(!1), [_, v] = U([]), [x, S] = U(u), C = de(void 0);
1889
- ue(() => () => clearTimeout(C.current), []), ue(() => {
1888
+ let { i18n: e, i18n: n, _: r } = J(), i = N(), a = ue({ from: M.fullPath }), { sortBy: o, sortDirection: c, search: u = "" } = M.useSearch(), [d, f] = G(!1), [h, g] = G(!1), [_, v] = G([]), [x, S] = G(u), C = le(void 0);
1889
+ ce(() => () => clearTimeout(C.current), []), ce(() => {
1890
1890
  S(u);
1891
1891
  }, [u]);
1892
1892
  let T = (e) => {
1893
- let { message: t, ...n } = ke(e);
1893
+ let { message: t, ...n } = Oe(e);
1894
1894
  l.success(t, n);
1895
1895
  }, O = (e, t) => {
1896
- let { message: n, ...r } = Ae(e, t);
1896
+ let { message: n, ...r } = ke(e, t);
1897
1897
  l.error(n, r);
1898
1898
  }, k = (e, t) => {
1899
- let { message: n, ...r } = je(e, t);
1899
+ let { message: n, ...r } = Ae(e, t);
1900
1900
  l.success(n, r);
1901
- }, N = (e, t) => {
1902
- let { message: n, ...r } = Me(e, t);
1901
+ }, P = (e, t) => {
1902
+ let { message: n, ...r } = je(e, t);
1903
1903
  l.error(n, r);
1904
- }, I = (e) => {
1905
- let { message: t, ...n } = Ne(e);
1904
+ }, L = (e) => {
1905
+ let { message: t, ...n } = Me(e);
1906
1906
  l.success(t, n);
1907
- }, te = (e, t) => {
1908
- let { message: n, ...r } = Pe(e, t);
1907
+ }, ee = (e, t) => {
1908
+ let { message: n, ...r } = Ne(e, t);
1909
1909
  l.error(n, r);
1910
- }, L = (e) => {
1911
- let { message: t, ...n } = Fe(e);
1910
+ }, R = (e) => {
1911
+ let { message: t, ...n } = Pe(e);
1912
1912
  l.success(t, n);
1913
- }, ne = (e, t) => {
1914
- let { message: n, ...r } = Ie(e, t);
1913
+ }, te = (e, t) => {
1914
+ let { message: n, ...r } = Fe(e, t);
1915
1915
  l.error(n, r);
1916
- }, re = (e) => {
1917
- let { message: t, ...n } = Le(e);
1916
+ }, ne = (e) => {
1917
+ let { message: t, ...n } = Ie(e);
1918
1918
  l.success(t, n);
1919
- }, ie = (e, t) => {
1920
- let { message: n, ...r } = Re(e, t);
1919
+ }, re = (e, t) => {
1920
+ let { message: n, ...r } = Le(e, t);
1921
1921
  l.error(n, r);
1922
- }, R = ({ emptiedCount: e, totalDeleted: t, errors: n }) => {
1922
+ }, z = ({ emptiedCount: e, totalDeleted: t, errors: n }) => {
1923
1923
  if (n.length === 0) v([]);
1924
1924
  else {
1925
1925
  let e = new Set(n.map((e) => e.split(": ")[0]));
1926
1926
  v((t) => t.filter((t) => e.has(t)));
1927
1927
  }
1928
- let { message: r, severity: i, ...a } = ze(e, t, n);
1928
+ let { message: r, severity: i, ...a } = Re(e, t, n);
1929
1929
  l[i](r, a);
1930
- }, ae = {
1930
+ }, B = {
1931
1931
  options: [
1932
1932
  {
1933
1933
  label: e._({ id: "6YtxFj" }),
@@ -1948,10 +1948,10 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1948
1948
  ],
1949
1949
  sortBy: o ?? "name",
1950
1950
  sortDirection: c ?? "asc"
1951
- }, { data: oe, isLoading: z, error: se } = j.storage.swift.listContainers.useQuery({
1951
+ }, { data: ie, isLoading: V, error: ae } = j.storage.swift.listContainers.useQuery({
1952
1952
  project_id: i,
1953
1953
  format: "json"
1954
- }), { data: le } = j.storage.swift.getAccountMetadata.useQuery({ project_id: i }), { data: W } = j.storage.swift.getServiceInfo.useQuery(), q = (e) => [...e].sort((e, t) => {
1954
+ }), { data: se } = j.storage.swift.getAccountMetadata.useQuery({ project_id: i }), { data: K } = j.storage.swift.getServiceInfo.useQuery(), de = (e) => [...e].sort((e, t) => {
1955
1955
  let n;
1956
1956
  switch (o ?? "name") {
1957
1957
  case "name":
@@ -1970,17 +1970,17 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1970
1970
  default: n = e.name.localeCompare(t.name);
1971
1971
  }
1972
1972
  return (c ?? "asc") === "desc" ? -n : n;
1973
- }), pe = (oe || []).filter((e) => e.name.toLowerCase().includes(u.toLowerCase())), me = q(pe), J = (e) => {
1973
+ }), Y = (ie || []).filter((e) => e.name.toLowerCase().includes(u.toLowerCase())), fe = de(Y), pe = (e) => {
1974
1974
  let t = typeof e == "string" ? e : "";
1975
- ce(() => {
1975
+ oe(() => {
1976
1976
  a({ search: (e) => ({
1977
1977
  ...e,
1978
1978
  search: t || void 0
1979
1979
  }) });
1980
1980
  });
1981
- }, he = (e) => {
1981
+ }, me = (e) => {
1982
1982
  let t = e.sortBy?.toString() || "name", n = e.sortDirection || "asc";
1983
- ce(() => {
1983
+ oe(() => {
1984
1984
  a({ search: (e) => ({
1985
1985
  ...e,
1986
1986
  sortBy: t,
@@ -1988,177 +1988,177 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
1988
1988
  }) });
1989
1989
  });
1990
1990
  };
1991
- if (z) return /*#__PURE__*/ H(D, {
1991
+ if (V) return /*#__PURE__*/ W(D, {
1992
1992
  className: "absolute inset-0",
1993
1993
  distribution: "center",
1994
1994
  alignment: "center",
1995
1995
  direction: "vertical",
1996
- children: [/*#__PURE__*/ V(s, {
1996
+ children: [/*#__PURE__*/ U(s, {
1997
1997
  variant: "primary",
1998
1998
  size: "large",
1999
1999
  className: "mb-2"
2000
- }), /*#__PURE__*/ V(G, { id: "WYiUDa" })]
2000
+ }), /*#__PURE__*/ U(q, { id: "WYiUDa" })]
2001
2001
  });
2002
- if (se) {
2003
- let e = se.message;
2004
- return /*#__PURE__*/ V(D, {
2002
+ if (ae) {
2003
+ let e = ae.message;
2004
+ return /*#__PURE__*/ U(D, {
2005
2005
  className: "absolute inset-0",
2006
2006
  distribution: "center",
2007
2007
  alignment: "center",
2008
2008
  direction: "vertical",
2009
- children: /*#__PURE__*/ V(G, {
2009
+ children: /*#__PURE__*/ U(q, {
2010
2010
  id: "dLFiER",
2011
2011
  values: { errorMessage: e }
2012
2012
  })
2013
2013
  });
2014
2014
  }
2015
- let ge = le?.bytesUsed || 0, _e = le?.quotaBytes || 0, ve = _e > 0 ? _e - ge : 0, ye = (oe || []).filter((e) => _.includes(e.name)), Y = ye.length > 0, X = ye.length, Z = (oe || []).length, be = pe.length, xe = be !== Z, Se = me.map((e) => e.name), Ce = Se.length > 0 && Se.every((e) => _.includes(e)), we = Se.some((e) => _.includes(e));
2016
- return /*#__PURE__*/ H("div", {
2015
+ let he = se?.bytesUsed || 0, ge = se?.quotaBytes || 0, _e = ge > 0 ? ge - he : 0, ve = (ie || []).filter((e) => _.includes(e.name)), X = ve.length > 0, Z = ve.length, Q = (ie || []).length, ye = Y.length, be = ye !== Q, xe = fe.map((e) => e.name), Se = xe.length > 0 && xe.every((e) => _.includes(e)), Ce = xe.some((e) => _.includes(e));
2016
+ return /*#__PURE__*/ W("div", {
2017
2017
  className: "relative",
2018
2018
  children: [
2019
- /*#__PURE__*/ H(D, {
2019
+ /*#__PURE__*/ W(D, {
2020
2020
  direction: "vertical",
2021
2021
  children: [
2022
- /*#__PURE__*/ H(D, {
2022
+ /*#__PURE__*/ W(D, {
2023
2023
  distribution: "end",
2024
2024
  alignment: "center",
2025
2025
  gap: "2",
2026
2026
  className: "pb-2",
2027
- children: [/*#__PURE__*/ V(D, {
2027
+ children: [/*#__PURE__*/ U(D, {
2028
2028
  gap: "0.5",
2029
2029
  alignment: "center",
2030
- children: /*#__PURE__*/ V(P, {
2031
- options: ae.options,
2032
- sortBy: ae.sortBy,
2033
- sortDirection: ae.sortDirection ?? "asc",
2034
- onSortByChange: (e) => he({
2035
- ...ae,
2030
+ children: /*#__PURE__*/ U(F, {
2031
+ options: B.options,
2032
+ sortBy: B.sortBy,
2033
+ sortDirection: B.sortDirection ?? "asc",
2034
+ onSortByChange: (e) => me({
2035
+ ...B,
2036
2036
  sortBy: e,
2037
- sortDirection: ae.sortDirection
2037
+ sortDirection: B.sortDirection
2038
2038
  }),
2039
- onSortDirectionChange: (e) => he({
2040
- ...ae,
2039
+ onSortDirectionChange: (e) => me({
2040
+ ...B,
2041
2041
  sortDirection: e
2042
2042
  })
2043
2043
  })
2044
- }), /*#__PURE__*/ V(A, {
2044
+ }), /*#__PURE__*/ U(A, {
2045
2045
  variant: "primary",
2046
2046
  className: "whitespace-nowrap",
2047
2047
  onClick: () => f(!0),
2048
- children: /*#__PURE__*/ V(G, { id: "vTh35P" })
2048
+ children: /*#__PURE__*/ U(q, { id: "vTh35P" })
2049
2049
  })]
2050
2050
  }),
2051
- /*#__PURE__*/ V(m, { children: /*#__PURE__*/ V(D, {
2051
+ /*#__PURE__*/ U(m, { children: /*#__PURE__*/ U(D, {
2052
2052
  direction: "vertical",
2053
2053
  gap: "2",
2054
- children: /*#__PURE__*/ V(D, {
2054
+ children: /*#__PURE__*/ U(D, {
2055
2055
  distribution: "end",
2056
2056
  alignment: "center",
2057
- children: /*#__PURE__*/ V(b, {
2057
+ children: /*#__PURE__*/ U(b, {
2058
2058
  placeholder: e._({ id: "TipzDp" }),
2059
2059
  "data-testid": "searchbar",
2060
2060
  value: x,
2061
2061
  onInput: (e) => {
2062
2062
  let t = e.currentTarget.value;
2063
- S(t), clearTimeout(C.current), C.current = window.setTimeout(() => J(t), 500);
2063
+ S(t), clearTimeout(C.current), C.current = window.setTimeout(() => pe(t), 500);
2064
2064
  },
2065
2065
  onSearch: (e) => {
2066
- clearTimeout(C.current), J(typeof e == "string" ? e : "");
2066
+ clearTimeout(C.current), pe(typeof e == "string" ? e : "");
2067
2067
  },
2068
2068
  onClear: () => {
2069
- clearTimeout(C.current), S(""), J("");
2069
+ clearTimeout(C.current), S(""), pe("");
2070
2070
  }
2071
2071
  })
2072
2072
  })
2073
2073
  }) }),
2074
- /*#__PURE__*/ V(m, { children: /*#__PURE__*/ H(D, {
2074
+ /*#__PURE__*/ U(m, { children: /*#__PURE__*/ W(D, {
2075
2075
  distribution: "start",
2076
2076
  gap: "2",
2077
2077
  alignment: "center",
2078
2078
  className: "text-sm",
2079
- children: [/*#__PURE__*/ H(D, {
2079
+ children: [/*#__PURE__*/ W(D, {
2080
2080
  gap: "2",
2081
2081
  alignment: "center",
2082
- children: [/*#__PURE__*/ V(y, {
2083
- checked: Ce,
2084
- indeterminate: we && !Ce,
2082
+ children: [/*#__PURE__*/ U(y, {
2083
+ checked: Se,
2084
+ indeterminate: Ce && !Se,
2085
2085
  onChange: () => {
2086
- v(Ce ? (e) => e.filter((e) => !Se.includes(e)) : (e) => [...new Set([...e, ...Se])]);
2086
+ v(Se ? (e) => e.filter((e) => !xe.includes(e)) : (e) => [...new Set([...e, ...xe])]);
2087
2087
  }
2088
- }), /*#__PURE__*/ H(w, {
2088
+ }), /*#__PURE__*/ W(w, {
2089
2089
  className: "flex items-center",
2090
- children: [/*#__PURE__*/ V(E, {
2090
+ children: [/*#__PURE__*/ U(E, {
2091
2091
  as: "div",
2092
- children: /*#__PURE__*/ V(A, {
2093
- disabled: !Y,
2092
+ children: /*#__PURE__*/ U(A, {
2093
+ disabled: !X,
2094
2094
  size: "small",
2095
2095
  icon: "moreVert",
2096
2096
  label: e._({ id: "7L01XJ" })
2097
2097
  })
2098
- }), Y && /*#__PURE__*/ V(t, { children: /*#__PURE__*/ V(p, {
2099
- disabled: !Y,
2098
+ }), X && /*#__PURE__*/ U(t, { children: /*#__PURE__*/ U(p, {
2099
+ disabled: !X,
2100
2100
  label: n._(e._({
2101
2101
  id: "0Th0CH",
2102
- values: { selectedCount: X }
2102
+ values: { selectedCount: Z }
2103
2103
  })),
2104
2104
  onClick: () => g(!0)
2105
2105
  }) })]
2106
2106
  })]
2107
- }), /*#__PURE__*/ H("div", {
2107
+ }), /*#__PURE__*/ W("div", {
2108
2108
  className: "text-theme-light flex items-center gap-1",
2109
2109
  "data-testid": "containers-info-block",
2110
2110
  children: [
2111
- xe ? /*#__PURE__*/ V(G, {
2111
+ be ? /*#__PURE__*/ U(q, {
2112
2112
  id: "8uPTwT",
2113
2113
  values: {
2114
- filteredCount: be,
2115
- totalCount: Z
2114
+ filteredCount: ye,
2115
+ totalCount: Q
2116
2116
  }
2117
- }) : /*#__PURE__*/ V(G, {
2117
+ }) : /*#__PURE__*/ U(q, {
2118
2118
  id: "ywe1H/",
2119
- values: { totalCount: Z }
2119
+ values: { totalCount: Q }
2120
2120
  }),
2121
- _e > 0 && /*#__PURE__*/ H(B, { children: [/*#__PURE__*/ V("span", { children: "," }), /*#__PURE__*/ H("span", { children: [
2122
- /*#__PURE__*/ V(G, { id: "kKK8AH" }),
2121
+ ge > 0 && /*#__PURE__*/ W(H, { children: [/*#__PURE__*/ U("span", { children: "," }), /*#__PURE__*/ W("span", { children: [
2122
+ /*#__PURE__*/ U(q, { id: "kKK8AH" }),
2123
2123
  " ",
2124
- /*#__PURE__*/ V("span", {
2124
+ /*#__PURE__*/ U("span", {
2125
2125
  className: "text-theme-default font-semibold",
2126
- children: F(ve)
2126
+ children: I(_e)
2127
2127
  })
2128
2128
  ] })] }),
2129
- /*#__PURE__*/ V(He, {
2130
- serviceInfo: W,
2131
- accountInfo: le
2129
+ /*#__PURE__*/ U(Ve, {
2130
+ serviceInfo: K,
2131
+ accountInfo: se
2132
2132
  })
2133
2133
  ]
2134
2134
  })]
2135
2135
  }) })
2136
2136
  ]
2137
2137
  }),
2138
- /*#__PURE__*/ V(Oe, {
2139
- containers: me,
2138
+ /*#__PURE__*/ U(De, {
2139
+ containers: fe,
2140
2140
  createModalOpen: d,
2141
2141
  setCreateModalOpen: f,
2142
- maxContainerNameLength: W?.swift?.max_container_name_length,
2142
+ maxContainerNameLength: K?.swift?.max_container_name_length,
2143
2143
  onCreateSuccess: T,
2144
2144
  onCreateError: O,
2145
2145
  onEmptySuccess: k,
2146
- onEmptyError: N,
2147
- onDeleteSuccess: I,
2148
- onDeleteError: te,
2149
- onPropertiesSuccess: L,
2150
- onPropertiesError: ne,
2151
- onAclSuccess: re,
2152
- onAclError: ie,
2146
+ onEmptyError: P,
2147
+ onDeleteSuccess: L,
2148
+ onDeleteError: ee,
2149
+ onPropertiesSuccess: R,
2150
+ onPropertiesError: te,
2151
+ onAclSuccess: ne,
2152
+ onAclError: re,
2153
2153
  selectedContainers: _,
2154
2154
  setSelectedContainers: v,
2155
2155
  hasAnyBulkAction: !0
2156
2156
  }),
2157
- /*#__PURE__*/ V($, {
2157
+ /*#__PURE__*/ U(We, {
2158
2158
  isOpen: h,
2159
- containers: ye,
2159
+ containers: ve,
2160
2160
  onClose: () => g(!1),
2161
- onComplete: R
2161
+ onComplete: z
2162
2162
  })
2163
2163
  ]
2164
2164
  });
@@ -2173,7 +2173,7 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2173
2173
  "--x-s3",
2174
2174
  "--table-s3"
2175
2175
  ], Xe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r }) => {
2176
- let { i18n: i, _: a } = K(), o = ee(), [s, c] = U(""), [l, u] = U(null), [d, p] = U(!1), { trackClose: m, markSubmitted: h, resetTracking: g } = z({
2176
+ let { i18n: i, _: a } = J(), o = N(), [s, c] = G(""), [l, u] = G(null), [d, p] = G(!1), { trackClose: m, markSubmitted: h, resetTracking: g } = V({
2177
2177
  isOpen: e,
2178
2178
  actionPrefix: "storage.ceph.bucket.create"
2179
2179
  }), _ = j.useUtils(), v = j.storage.ceph.containers.create.useMutation({
@@ -2218,7 +2218,7 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2218
2218
  enableVersioning: d
2219
2219
  }));
2220
2220
  };
2221
- return e ? /*#__PURE__*/ V(C, {
2221
+ return e ? /*#__PURE__*/ U(C, {
2222
2222
  title: i._({ id: "HiDAFk" }),
2223
2223
  open: e,
2224
2224
  onCancel: () => {
@@ -2229,15 +2229,15 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2229
2229
  cancelButtonLabel: i._({ id: "dEgA5A" }),
2230
2230
  size: "small",
2231
2231
  disableConfirmButton: v.isPending || !s.trim(),
2232
- children: /*#__PURE__*/ H(D, {
2232
+ children: /*#__PURE__*/ W(D, {
2233
2233
  direction: "vertical",
2234
2234
  gap: "6",
2235
2235
  children: [
2236
- /*#__PURE__*/ V("p", {
2236
+ /*#__PURE__*/ U("p", {
2237
2237
  className: "text-theme-default",
2238
- children: /*#__PURE__*/ V(G, { id: "ASJMIw" })
2238
+ children: /*#__PURE__*/ U(q, { id: "ASJMIw" })
2239
2239
  }),
2240
- /*#__PURE__*/ V(f, {
2240
+ /*#__PURE__*/ U(f, {
2241
2241
  label: i._({ id: "NNpgo3" }),
2242
2242
  required: !0,
2243
2243
  value: s,
@@ -2251,7 +2251,7 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2251
2251
  autoFocus: !0,
2252
2252
  placeholder: i._({ id: "yDHGP+" })
2253
2253
  }),
2254
- /*#__PURE__*/ V(y, {
2254
+ /*#__PURE__*/ U(y, {
2255
2255
  label: i._({ id: "ifQSTI" }),
2256
2256
  helptext: i._({ id: "WM+Nm7" }),
2257
2257
  checked: d,
@@ -2262,74 +2262,74 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2262
2262
  })
2263
2263
  }) : null;
2264
2264
  }, Ze = ({ buckets: e, createModalOpen: n, setCreateModalOpen: r, onCreateSuccess: a, onCreateError: s, onEmptySuccess: c, onEmptyError: l, onDeleteSuccess: f, onDeleteError: m, selectedBuckets: h, setSelectedBuckets: g, hasAnyBulkAction: _ = !0 }) => {
2265
- let { projectId: v, provider: b, storageType: x } = W({ strict: !1 }), { i18n: S, _: C } = K(), T = fe(), E = de(null), [D, O] = U(0), [k, A] = U(null), [j, M] = U(null);
2266
- ue(() => {
2265
+ let { projectId: v, provider: b, storageType: x } = K({ strict: !1 }), { i18n: S, _: C } = J(), T = ue(), E = le(null), [D, O] = G(0), [k, A] = G(null), [j, M] = G(null);
2266
+ ce(() => {
2267
2267
  E.current && O(E.current.offsetWidth - E.current.clientWidth);
2268
2268
  }, [e.length]);
2269
- let ee = (e) => {
2269
+ let N = (e) => {
2270
2270
  try {
2271
2271
  return new Date(e).toLocaleString();
2272
2272
  } catch {
2273
2273
  return S._({ id: "fj5byd" });
2274
2274
  }
2275
- }, N = me({
2275
+ }, P = fe({
2276
2276
  count: e.length,
2277
2277
  getScrollElement: () => E.current,
2278
2278
  estimateSize: () => 48,
2279
2279
  overscan: 10
2280
- }), P = (e) => {
2280
+ }), F = (e) => {
2281
2281
  h.includes(e) ? g(h.filter((t) => t !== e)) : g([...h, e]);
2282
2282
  };
2283
- if (!e || e.length === 0) return /*#__PURE__*/ V(u, {
2283
+ if (!e || e.length === 0) return /*#__PURE__*/ U(u, {
2284
2284
  columns: 4,
2285
2285
  className: "buckets",
2286
2286
  "data-testid": "no-buckets",
2287
- children: /*#__PURE__*/ V(i, { children: /*#__PURE__*/ V(o, {
2287
+ children: /*#__PURE__*/ U(i, { children: /*#__PURE__*/ U(o, {
2288
2288
  colSpan: 4,
2289
- children: /*#__PURE__*/ H("div", {
2289
+ children: /*#__PURE__*/ W("div", {
2290
2290
  className: "py-8 text-center",
2291
- children: [/*#__PURE__*/ V("h3", {
2291
+ children: [/*#__PURE__*/ U("h3", {
2292
2292
  className: "text-lg font-semibold",
2293
- children: /*#__PURE__*/ V(G, { id: "ih2lfP" })
2294
- }), /*#__PURE__*/ V("p", {
2293
+ children: /*#__PURE__*/ U(q, { id: "ih2lfP" })
2294
+ }), /*#__PURE__*/ U("p", {
2295
2295
  className: "text-theme-light mt-2",
2296
- children: /*#__PURE__*/ V(G, { id: "emkxJa" })
2296
+ children: /*#__PURE__*/ U(q, { id: "emkxJa" })
2297
2297
  })]
2298
2298
  })
2299
2299
  }) })
2300
2300
  });
2301
- let te = _ ? 6 : 5, L = _ ? "40px minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px" : "minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px";
2302
- return /*#__PURE__*/ H(B, { children: [
2303
- /*#__PURE__*/ H("div", {
2301
+ let ee = _ ? 6 : 5, R = _ ? "40px minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px" : "minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px";
2302
+ return /*#__PURE__*/ W(H, { children: [
2303
+ /*#__PURE__*/ W("div", {
2304
2304
  className: "relative",
2305
- children: [/*#__PURE__*/ V("div", {
2305
+ children: [/*#__PURE__*/ U("div", {
2306
2306
  style: { paddingRight: `${D}px` },
2307
- children: /*#__PURE__*/ V(u, {
2308
- columns: te,
2309
- gridColumnTemplate: L,
2307
+ children: /*#__PURE__*/ U(u, {
2308
+ columns: ee,
2309
+ gridColumnTemplate: R,
2310
2310
  className: "buckets",
2311
2311
  "data-testid": "buckets-table-header",
2312
- children: /*#__PURE__*/ H(i, { children: [
2313
- _ && /*#__PURE__*/ V(d, {}),
2314
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "BTsbBe" }) }),
2315
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "sxbP3b" }) }),
2316
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "sjMCOP" }) }),
2317
- /*#__PURE__*/ V(d, { children: /*#__PURE__*/ V(G, { id: "hgpMHD" }) }),
2318
- /*#__PURE__*/ V(d, { style: { marginRight: `-${D}px` } })
2312
+ children: /*#__PURE__*/ W(i, { children: [
2313
+ _ && /*#__PURE__*/ U(d, {}),
2314
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "BTsbBe" }) }),
2315
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "sxbP3b" }) }),
2316
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "sjMCOP" }) }),
2317
+ /*#__PURE__*/ U(d, { children: /*#__PURE__*/ U(q, { id: "hgpMHD" }) }),
2318
+ /*#__PURE__*/ U(d, { style: { marginRight: `-${D}px` } })
2319
2319
  ] })
2320
2320
  })
2321
- }), /*#__PURE__*/ V("div", {
2321
+ }), /*#__PURE__*/ U("div", {
2322
2322
  ref: E,
2323
2323
  className: "overflow-auto",
2324
2324
  style: { height: "calc(100vh - 490px)" },
2325
2325
  "data-testid": "buckets-table-body",
2326
- children: /*#__PURE__*/ V("div", {
2326
+ children: /*#__PURE__*/ U("div", {
2327
2327
  style: {
2328
- height: `${N.getTotalSize()}px`,
2328
+ height: `${P.getTotalSize()}px`,
2329
2329
  width: "100%",
2330
2330
  position: "relative"
2331
2331
  },
2332
- children: N.getVirtualItems().map((n) => {
2332
+ children: P.getVirtualItems().map((n) => {
2333
2333
  let r = e[n.index], i = h.includes(r.name), a = () => T({
2334
2334
  to: "/projects/$projectId/storage/$provider/$storageType/$containerName/objects",
2335
2335
  params: {
@@ -2339,9 +2339,9 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2339
2339
  containerName: r.name
2340
2340
  }
2341
2341
  });
2342
- return /*#__PURE__*/ H("div", {
2342
+ return /*#__PURE__*/ W("div", {
2343
2343
  "data-index": n.index,
2344
- ref: N.measureElement,
2344
+ ref: P.measureElement,
2345
2345
  className: "juno-datagrid group hover:bg-theme-background-lvl-1 cursor-pointer",
2346
2346
  style: {
2347
2347
  position: "absolute",
@@ -2350,7 +2350,7 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2350
2350
  width: "100%",
2351
2351
  transform: `translateY(${n.start}px)`,
2352
2352
  display: "grid",
2353
- gridTemplateColumns: L,
2353
+ gridTemplateColumns: R,
2354
2354
  alignItems: "stretch"
2355
2355
  },
2356
2356
  "data-testid": `bucket-row-${r.name}`,
@@ -2361,42 +2361,42 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2361
2361
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), a());
2362
2362
  },
2363
2363
  children: [
2364
- _ && /*#__PURE__*/ V(o, {
2364
+ _ && /*#__PURE__*/ U(o, {
2365
2365
  onClick: (e) => e.stopPropagation(),
2366
2366
  onKeyDown: (e) => {
2367
2367
  (e.key === "Enter" || e.key === " ") && e.stopPropagation();
2368
2368
  },
2369
- children: /*#__PURE__*/ V(y, {
2369
+ children: /*#__PURE__*/ U(y, {
2370
2370
  checked: i,
2371
- onChange: () => P(r.name),
2371
+ onChange: () => F(r.name),
2372
2372
  "data-testid": `select-bucket-${r.name}`
2373
2373
  })
2374
2374
  }),
2375
- /*#__PURE__*/ V(o, {
2375
+ /*#__PURE__*/ U(o, {
2376
2376
  className: "min-w-0 overflow-hidden",
2377
- children: /*#__PURE__*/ V("span", {
2377
+ children: /*#__PURE__*/ U("span", {
2378
2378
  className: "block truncate",
2379
2379
  title: r.name,
2380
2380
  children: r.name
2381
2381
  })
2382
2382
  }),
2383
- /*#__PURE__*/ V(o, { children: r.count.toLocaleString() }),
2384
- /*#__PURE__*/ V(o, { children: ee(r.last_modified || r.creationDate || "") }),
2385
- /*#__PURE__*/ V(o, { children: F(r.bytes) }),
2386
- /*#__PURE__*/ V(o, {
2383
+ /*#__PURE__*/ U(o, { children: r.count.toLocaleString() }),
2384
+ /*#__PURE__*/ U(o, { children: N(r.last_modified || r.creationDate || "") }),
2385
+ /*#__PURE__*/ U(o, { children: I(r.bytes) }),
2386
+ /*#__PURE__*/ U(o, {
2387
2387
  onClick: (e) => e.stopPropagation(),
2388
- children: /*#__PURE__*/ V(w, { children: /*#__PURE__*/ H(t, { children: [
2389
- /*#__PURE__*/ V(p, {
2388
+ children: /*#__PURE__*/ U(w, { children: /*#__PURE__*/ W(t, { children: [
2389
+ /*#__PURE__*/ U(p, {
2390
2390
  label: S._({ id: "v0hPHE" }),
2391
2391
  onClick: a,
2392
2392
  "data-testid": `show-details-action-${r.name}`
2393
2393
  }),
2394
- /*#__PURE__*/ V(p, {
2394
+ /*#__PURE__*/ U(p, {
2395
2395
  label: S._({ id: "N2S1rs" }),
2396
2396
  onClick: () => A(r),
2397
2397
  "data-testid": `empty-action-${r.name}`
2398
2398
  }),
2399
- /*#__PURE__*/ V(p, {
2399
+ /*#__PURE__*/ U(p, {
2400
2400
  label: S._({ id: "cnGeoo" }),
2401
2401
  onClick: () => M(r),
2402
2402
  "data-testid": `delete-action-${r.name}`
@@ -2409,20 +2409,20 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2409
2409
  })
2410
2410
  })]
2411
2411
  }),
2412
- /*#__PURE__*/ V(Xe, {
2412
+ /*#__PURE__*/ U(Xe, {
2413
2413
  isOpen: n,
2414
2414
  onClose: () => r(!1),
2415
2415
  onSuccess: a,
2416
2416
  onError: s
2417
2417
  }),
2418
- /*#__PURE__*/ V(oe, {
2418
+ /*#__PURE__*/ U(ie, {
2419
2419
  isOpen: k !== null,
2420
2420
  bucket: k,
2421
2421
  onClose: () => A(null),
2422
2422
  onSuccess: c,
2423
2423
  onError: l
2424
2424
  }),
2425
- /*#__PURE__*/ V(I, {
2425
+ /*#__PURE__*/ U(L, {
2426
2426
  isOpen: j !== null,
2427
2427
  bucket: j,
2428
2428
  onClose: () => M(null),
@@ -2431,7 +2431,7 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2431
2431
  })
2432
2432
  ] });
2433
2433
  }, Qe = 20, $e = ({ isOpen: e, buckets: t, onClose: n, onComplete: r }) => {
2434
- let { i18n: i, _: a } = K(), o = ee(), [c, l] = U(null), [u, d] = U(""), { trackClose: p, markSubmitted: m, resetTracking: h } = z({
2434
+ let { i18n: i, _: a } = J(), o = N(), [c, l] = G(null), [u, d] = G(""), { trackClose: p, markSubmitted: m, resetTracking: h } = V({
2435
2435
  isOpen: e,
2436
2436
  actionPrefix: "storage.ceph.buckets.empty"
2437
2437
  }), g = j.useUtils(), _ = j.storage.ceph.objects.deleteAll.useMutation(), v = () => {
@@ -2464,8 +2464,8 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2464
2464
  };
2465
2465
  if (!e || t.length === 0) return null;
2466
2466
  let b = t.length, x = t.slice(0, Qe), S = b - x.length, w = _.isPending || c !== null, T = c?.current, E = c?.total, O = u === "empty";
2467
- return /*#__PURE__*/ V(C, {
2468
- title: /*#__PURE__*/ V(G, {
2467
+ return /*#__PURE__*/ U(C, {
2468
+ title: /*#__PURE__*/ U(q, {
2469
2469
  id: "DWBWmW",
2470
2470
  values: { totalCount: b }
2471
2471
  }),
@@ -2481,15 +2481,15 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2481
2481
  disableCancelButton: w,
2482
2482
  disableCloseButton: w,
2483
2483
  size: "small",
2484
- children: w ? /*#__PURE__*/ H(D, {
2484
+ children: w ? /*#__PURE__*/ W(D, {
2485
2485
  direction: "vertical",
2486
2486
  distribution: "center",
2487
2487
  alignment: "center",
2488
2488
  gap: "2",
2489
2489
  className: "py-4",
2490
- children: [/*#__PURE__*/ V(s, { variant: "primary" }), c && /*#__PURE__*/ V("p", {
2490
+ children: [/*#__PURE__*/ U(s, { variant: "primary" }), c && /*#__PURE__*/ U("p", {
2491
2491
  className: "text-theme-light text-sm",
2492
- children: /*#__PURE__*/ V(G, {
2492
+ children: /*#__PURE__*/ U(q, {
2493
2493
  id: "NW1XEL",
2494
2494
  values: {
2495
2495
  progressCurrent: T,
@@ -2497,28 +2497,28 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2497
2497
  }
2498
2498
  })
2499
2499
  })]
2500
- }) : /*#__PURE__*/ H(D, {
2500
+ }) : /*#__PURE__*/ W(D, {
2501
2501
  direction: "vertical",
2502
2502
  gap: "4",
2503
2503
  children: [
2504
- /*#__PURE__*/ V(G, {
2504
+ /*#__PURE__*/ U(q, {
2505
2505
  id: "CtiFDz",
2506
2506
  values: { totalCount: b }
2507
2507
  }),
2508
- /*#__PURE__*/ H("div", { children: [/*#__PURE__*/ V("p", {
2508
+ /*#__PURE__*/ W("div", { children: [/*#__PURE__*/ U("p", {
2509
2509
  className: "text-theme-light mb-2 text-sm",
2510
- children: /*#__PURE__*/ V(G, { id: "Zshv0H" })
2511
- }), /*#__PURE__*/ H("ul", {
2510
+ children: /*#__PURE__*/ U(q, { id: "Zshv0H" })
2511
+ }), /*#__PURE__*/ W("ul", {
2512
2512
  className: "list-inside list-disc space-y-1 text-sm",
2513
- children: [x.map((e) => /*#__PURE__*/ V("li", { children: e.name }, e.name)), S > 0 && /*#__PURE__*/ V("li", {
2513
+ children: [x.map((e) => /*#__PURE__*/ U("li", { children: e.name }, e.name)), S > 0 && /*#__PURE__*/ U("li", {
2514
2514
  className: "text-theme-light",
2515
- children: /*#__PURE__*/ V(G, {
2515
+ children: /*#__PURE__*/ U(q, {
2516
2516
  id: "yqPflB",
2517
2517
  values: { hiddenCount: S }
2518
2518
  })
2519
2519
  })]
2520
2520
  })] }),
2521
- /*#__PURE__*/ V(f, {
2521
+ /*#__PURE__*/ U(f, {
2522
2522
  label: i._({ id: "Ghp863" }),
2523
2523
  value: u,
2524
2524
  onChange: (e) => d(e.target.value),
@@ -2532,39 +2532,39 @@ var Oe = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
2532
2532
  //#endregion
2533
2533
  //#region src/client/routes/_auth/projects/$projectId/storage/-components/Ceph/Buckets/CredentialPrompt.tsx
2534
2534
  function et({ onSuccess: e }) {
2535
- let t = ee(), n = j.useUtils(), r = j.storage.ceph.ec2Credentials.create.useMutation({
2535
+ let t = N(), n = j.useUtils(), r = j.storage.ceph.ec2Credentials.create.useMutation({
2536
2536
  onSuccess: () => {
2537
2537
  n.storage.ceph.ec2Credentials.list.invalidate(), e();
2538
2538
  },
2539
2539
  onError: (e) => {
2540
2540
  let t = e.message;
2541
- l.error(/*#__PURE__*/ V(G, {
2541
+ l.error(/*#__PURE__*/ U(q, {
2542
2542
  id: "rcBt6T",
2543
2543
  values: { errorMessage: t }
2544
2544
  }));
2545
2545
  }
2546
2546
  });
2547
- return /*#__PURE__*/ H(D, {
2547
+ return /*#__PURE__*/ W(D, {
2548
2548
  direction: "vertical",
2549
2549
  gap: "4",
2550
2550
  className: "mt-8 max-w-lg",
2551
2551
  children: [
2552
- /*#__PURE__*/ V("h2", {
2552
+ /*#__PURE__*/ U("h2", {
2553
2553
  className: "text-lg font-semibold",
2554
- children: /*#__PURE__*/ V(G, { id: "jq5wGQ" })
2554
+ children: /*#__PURE__*/ U(q, { id: "jq5wGQ" })
2555
2555
  }),
2556
- /*#__PURE__*/ V("p", {
2556
+ /*#__PURE__*/ U("p", {
2557
2557
  className: "text-theme-default",
2558
- children: /*#__PURE__*/ V(G, { id: "+8m5QE" })
2558
+ children: /*#__PURE__*/ U(q, { id: "+8m5QE" })
2559
2559
  }),
2560
- /*#__PURE__*/ V("p", {
2560
+ /*#__PURE__*/ U("p", {
2561
2561
  className: "text-theme-default text-sm",
2562
- children: /*#__PURE__*/ V(G, { id: "+1xG4p" })
2562
+ children: /*#__PURE__*/ U(q, { id: "+1xG4p" })
2563
2563
  }),
2564
- /*#__PURE__*/ V("div", { children: /*#__PURE__*/ V(A, {
2564
+ /*#__PURE__*/ U("div", { children: /*#__PURE__*/ U(A, {
2565
2565
  onClick: () => t && r.mutate({ project_id: t }),
2566
2566
  disabled: r.isPending || !t,
2567
- children: r.isPending ? /*#__PURE__*/ V(G, { id: "k/zHK7" }) : /*#__PURE__*/ V(G, { id: "FJO48W" })
2567
+ children: r.isPending ? /*#__PURE__*/ U(q, { id: "k/zHK7" }) : /*#__PURE__*/ U(q, { id: "FJO48W" })
2568
2568
  }) })
2569
2569
  ]
2570
2570
  });
@@ -2572,37 +2572,37 @@ function et({ onSuccess: e }) {
2572
2572
  //#endregion
2573
2573
  //#region src/client/routes/_auth/projects/$projectId/storage/-components/Ceph/Buckets/index.tsx
2574
2574
  var tt = () => {
2575
- let { i18n: e, i18n: n, _: r } = K(), i = ee(), a = fe({ from: M.fullPath }), { sortBy: o, sortDirection: c, search: u = "" } = M.useSearch(), [d, f] = U(!1), [h, g] = U(!1), [_, v] = U([]), [x, S] = U(u), C = de(void 0);
2576
- ue(() => () => clearTimeout(C.current), []), ue(() => {
2575
+ let { i18n: e, i18n: n, _: r } = J(), i = N(), a = ue({ from: M.fullPath }), { sortBy: o, sortDirection: c, search: u = "" } = M.useSearch(), [d, f] = G(!1), [h, g] = G(!1), [_, v] = G([]), [x, S] = G(u), C = le(void 0);
2576
+ ce(() => () => clearTimeout(C.current), []), ce(() => {
2577
2577
  S(u);
2578
2578
  }, [u]);
2579
2579
  let T = (e) => {
2580
- let { message: t, ...n } = re(e);
2580
+ let { message: t, ...n } = ne(e);
2581
2581
  l.success(t, n);
2582
2582
  }, O = (e, t) => {
2583
- let { message: n, ...r } = ae(e, t);
2583
+ let { message: n, ...r } = B(e, t);
2584
2584
  l.error(n, r);
2585
2585
  }, k = (e, t) => {
2586
- let { message: n, ...r } = te(e, t);
2586
+ let { message: n, ...r } = ee(e, t);
2587
2587
  l.success(n, r);
2588
- }, N = (e, t) => {
2589
- let { message: n, ...r } = ie(e, t);
2588
+ }, P = (e, t) => {
2589
+ let { message: n, ...r } = re(e, t);
2590
2590
  l.error(n, r);
2591
- }, F = (e) => {
2592
- let { message: t, ...n } = L(e);
2591
+ }, I = (e) => {
2592
+ let { message: t, ...n } = R(e);
2593
2593
  l.success(t, n);
2594
- }, I = (e, t) => {
2595
- let { message: n, ...r } = R(e, t);
2594
+ }, L = (e, t) => {
2595
+ let { message: n, ...r } = z(e, t);
2596
2596
  l.error(n, r);
2597
- }, oe = ({ emptiedCount: e, totalDeleted: t, errors: n }) => {
2597
+ }, ie = ({ emptiedCount: e, totalDeleted: t, errors: n }) => {
2598
2598
  if (n.length === 0) v([]);
2599
2599
  else {
2600
2600
  let e = new Set(n.map((e) => e.split(": ")[0]));
2601
2601
  v((t) => t.filter((t) => e.has(t)));
2602
2602
  }
2603
- let { message: r, ...i } = ne(e, t, n);
2603
+ let { message: r, ...i } = te(e, t, n);
2604
2604
  n.length > 0 ? l.warning(r, i) : l.success(r, i);
2605
- }, z = {
2605
+ }, V = {
2606
2606
  options: [
2607
2607
  {
2608
2608
  label: e._({ id: "6YtxFj" }),
@@ -2623,13 +2623,13 @@ var tt = () => {
2623
2623
  ],
2624
2624
  sortBy: o ?? "name",
2625
2625
  sortDirection: c ?? "asc"
2626
- }, { data: B, isLoading: se, error: le } = j.storage.ceph.containers.list.useQuery({
2626
+ }, { data: H, isLoading: ae, error: se } = j.storage.ceph.containers.list.useQuery({
2627
2627
  project_id: i,
2628
2628
  includeMetadata: !0
2629
2629
  }, {
2630
2630
  enabled: !!i,
2631
2631
  retry: !1
2632
- }), W = (e) => [...e].sort((e, t) => {
2632
+ }), K = (e) => [...e].sort((e, t) => {
2633
2633
  let n;
2634
2634
  switch (o ?? "name") {
2635
2635
  case "name":
@@ -2650,17 +2650,17 @@ var tt = () => {
2650
2650
  default: n = e.name.localeCompare(t.name);
2651
2651
  }
2652
2652
  return (c ?? "asc") === "desc" ? -n : n;
2653
- }), q = (B || []).filter((e) => e.name.toLowerCase().includes(u.toLowerCase())), pe = W(q), me = (e) => {
2653
+ }), de = (H || []).filter((e) => e.name.toLowerCase().includes(u.toLowerCase())), Y = K(de), fe = (e) => {
2654
2654
  let t = typeof e == "string" ? e : "";
2655
- ce(() => {
2655
+ oe(() => {
2656
2656
  a({ search: (e) => ({
2657
2657
  ...e,
2658
2658
  search: t || void 0
2659
2659
  }) });
2660
2660
  });
2661
- }, J = (e) => {
2661
+ }, pe = (e) => {
2662
2662
  let t = e.sortBy?.toString() || "name", n = e.sortDirection || "asc";
2663
- ce(() => {
2663
+ oe(() => {
2664
2664
  a({ search: (e) => ({
2665
2665
  ...e,
2666
2666
  sortBy: t,
@@ -2668,158 +2668,158 @@ var tt = () => {
2668
2668
  }) });
2669
2669
  });
2670
2670
  };
2671
- if (se) return /*#__PURE__*/ H(D, {
2671
+ if (ae) return /*#__PURE__*/ W(D, {
2672
2672
  className: "absolute inset-0",
2673
2673
  distribution: "center",
2674
2674
  alignment: "center",
2675
2675
  direction: "vertical",
2676
- children: [/*#__PURE__*/ V(s, {
2676
+ children: [/*#__PURE__*/ U(s, {
2677
2677
  variant: "primary",
2678
2678
  size: "large",
2679
2679
  className: "mb-2"
2680
- }), /*#__PURE__*/ V(G, { id: "c5i+X0" })]
2680
+ }), /*#__PURE__*/ U(q, { id: "c5i+X0" })]
2681
2681
  });
2682
- if (le) {
2683
- let e = le.message;
2684
- if (e === "NO_CEPH_CREDENTIALS") return /*#__PURE__*/ V(et, { onSuccess: () => window.location.reload() });
2682
+ if (se) {
2683
+ let e = se.message;
2684
+ if (e === "NO_CEPH_CREDENTIALS") return /*#__PURE__*/ U(et, { onSuccess: () => window.location.reload() });
2685
2685
  let t = e.includes("Access denied") || e.includes("AccessDenied"), n = e.includes("Invalid access key") || e.includes("InvalidAccessKeyId");
2686
- return /*#__PURE__*/ V("div", { children: /*#__PURE__*/ V("p", {
2686
+ return /*#__PURE__*/ U("div", { children: /*#__PURE__*/ U("p", {
2687
2687
  className: "text-theme-default text-sm",
2688
- children: t ? /*#__PURE__*/ V(G, { id: "HAcOOW" }) : n ? /*#__PURE__*/ V(G, { id: "xIXYTK" }) : /*#__PURE__*/ V(G, {
2688
+ children: t ? /*#__PURE__*/ U(q, { id: "HAcOOW" }) : n ? /*#__PURE__*/ U(q, { id: "xIXYTK" }) : /*#__PURE__*/ U(q, {
2689
2689
  id: "yDAMyU",
2690
2690
  values: { errorMessage: e }
2691
2691
  })
2692
2692
  }) });
2693
2693
  }
2694
- let he = (B || []).filter((e) => _.includes(e.name)), ge = he.length > 0, _e = he.length, ve = (B || []).length, ye = q.length, Y = pe.map((e) => e.name), X = Y.length > 0 && Y.every((e) => _.includes(e)), Z = Y.some((e) => _.includes(e));
2695
- return /*#__PURE__*/ H("div", {
2694
+ let me = (H || []).filter((e) => _.includes(e.name)), he = me.length > 0, ge = me.length, _e = (H || []).length, ve = de.length, X = Y.map((e) => e.name), Z = X.length > 0 && X.every((e) => _.includes(e)), Q = X.some((e) => _.includes(e));
2695
+ return /*#__PURE__*/ W("div", {
2696
2696
  className: "relative",
2697
2697
  children: [
2698
- /*#__PURE__*/ H(D, {
2698
+ /*#__PURE__*/ W(D, {
2699
2699
  direction: "vertical",
2700
2700
  children: [
2701
- /*#__PURE__*/ H(D, {
2701
+ /*#__PURE__*/ W(D, {
2702
2702
  distribution: "end",
2703
2703
  alignment: "center",
2704
2704
  gap: "2",
2705
2705
  className: "pb-2",
2706
- children: [/*#__PURE__*/ V(D, {
2706
+ children: [/*#__PURE__*/ U(D, {
2707
2707
  gap: "0.5",
2708
2708
  alignment: "center",
2709
- children: /*#__PURE__*/ V(P, {
2710
- options: z.options,
2711
- sortBy: z.sortBy,
2712
- sortDirection: z.sortDirection ?? "asc",
2709
+ children: /*#__PURE__*/ U(F, {
2710
+ options: V.options,
2711
+ sortBy: V.sortBy,
2712
+ sortDirection: V.sortDirection ?? "asc",
2713
2713
  selectClassName: "w-40",
2714
- onSortByChange: (e) => J({
2715
- ...z,
2714
+ onSortByChange: (e) => pe({
2715
+ ...V,
2716
2716
  sortBy: e,
2717
- sortDirection: z.sortDirection
2717
+ sortDirection: V.sortDirection
2718
2718
  }),
2719
- onSortDirectionChange: (e) => J({
2720
- ...z,
2719
+ onSortDirectionChange: (e) => pe({
2720
+ ...V,
2721
2721
  sortDirection: e
2722
2722
  })
2723
2723
  })
2724
- }), /*#__PURE__*/ V(A, {
2724
+ }), /*#__PURE__*/ U(A, {
2725
2725
  variant: "primary",
2726
2726
  className: "whitespace-nowrap",
2727
2727
  onClick: () => f(!0),
2728
- children: /*#__PURE__*/ V(G, { id: "HiDAFk" })
2728
+ children: /*#__PURE__*/ U(q, { id: "HiDAFk" })
2729
2729
  })]
2730
2730
  }),
2731
- /*#__PURE__*/ V(m, { children: /*#__PURE__*/ V(D, {
2731
+ /*#__PURE__*/ U(m, { children: /*#__PURE__*/ U(D, {
2732
2732
  direction: "vertical",
2733
2733
  gap: "2",
2734
- children: /*#__PURE__*/ V(D, {
2734
+ children: /*#__PURE__*/ U(D, {
2735
2735
  distribution: "end",
2736
2736
  alignment: "center",
2737
- children: /*#__PURE__*/ V(b, {
2737
+ children: /*#__PURE__*/ U(b, {
2738
2738
  placeholder: e._({ id: "VeDAv2" }),
2739
2739
  "data-testid": "searchbar",
2740
2740
  value: x,
2741
2741
  onInput: (e) => {
2742
2742
  let t = e.currentTarget.value;
2743
- S(t), clearTimeout(C.current), C.current = window.setTimeout(() => me(t), 500);
2743
+ S(t), clearTimeout(C.current), C.current = window.setTimeout(() => fe(t), 500);
2744
2744
  },
2745
2745
  onSearch: (e) => {
2746
- clearTimeout(C.current), me(typeof e == "string" ? e : "");
2746
+ clearTimeout(C.current), fe(typeof e == "string" ? e : "");
2747
2747
  },
2748
2748
  onClear: () => {
2749
- clearTimeout(C.current), S(""), me("");
2749
+ clearTimeout(C.current), S(""), fe("");
2750
2750
  }
2751
2751
  })
2752
2752
  })
2753
2753
  }) }),
2754
- /*#__PURE__*/ V(m, { children: /*#__PURE__*/ H(D, {
2754
+ /*#__PURE__*/ U(m, { children: /*#__PURE__*/ W(D, {
2755
2755
  distribution: "start",
2756
2756
  gap: "2",
2757
2757
  alignment: "center",
2758
2758
  className: "text-sm",
2759
- children: [/*#__PURE__*/ H(D, {
2759
+ children: [/*#__PURE__*/ W(D, {
2760
2760
  gap: "2",
2761
2761
  alignment: "center",
2762
- children: [/*#__PURE__*/ V(y, {
2763
- checked: X,
2764
- indeterminate: Z && !X,
2762
+ children: [/*#__PURE__*/ U(y, {
2763
+ checked: Z,
2764
+ indeterminate: Q && !Z,
2765
2765
  onChange: () => {
2766
- v(X ? (e) => e.filter((e) => !Y.includes(e)) : (e) => [...new Set([...e, ...Y])]);
2766
+ v(Z ? (e) => e.filter((e) => !X.includes(e)) : (e) => [...new Set([...e, ...X])]);
2767
2767
  }
2768
- }), /*#__PURE__*/ H(w, {
2768
+ }), /*#__PURE__*/ W(w, {
2769
2769
  className: "flex items-center",
2770
- children: [/*#__PURE__*/ V(E, {
2770
+ children: [/*#__PURE__*/ U(E, {
2771
2771
  as: "div",
2772
- children: /*#__PURE__*/ V(A, {
2773
- disabled: !ge,
2772
+ children: /*#__PURE__*/ U(A, {
2773
+ disabled: !he,
2774
2774
  size: "small",
2775
2775
  icon: "moreVert",
2776
2776
  label: e._({ id: "7L01XJ" })
2777
2777
  })
2778
- }), ge && /*#__PURE__*/ V(t, { children: /*#__PURE__*/ V(p, {
2779
- disabled: !ge,
2778
+ }), he && /*#__PURE__*/ U(t, { children: /*#__PURE__*/ U(p, {
2779
+ disabled: !he,
2780
2780
  label: n._(e._({
2781
2781
  id: "P2tWBZ",
2782
- values: { selectedCount: _e }
2782
+ values: { selectedCount: ge }
2783
2783
  })),
2784
2784
  onClick: () => g(!0)
2785
2785
  }) })]
2786
2786
  })]
2787
- }), /*#__PURE__*/ V("div", {
2787
+ }), /*#__PURE__*/ U("div", {
2788
2788
  className: "text-theme-light flex items-center gap-1",
2789
2789
  "data-testid": "buckets-info-block",
2790
- children: u.trim() ? /*#__PURE__*/ V(G, {
2790
+ children: u.trim() ? /*#__PURE__*/ U(q, {
2791
2791
  id: "xOvKAE",
2792
2792
  values: {
2793
- totalCount: ve,
2794
- filteredCount: ye
2793
+ totalCount: _e,
2794
+ filteredCount: ve
2795
2795
  }
2796
- }) : /*#__PURE__*/ V(G, {
2796
+ }) : /*#__PURE__*/ U(q, {
2797
2797
  id: "Ux/pNd",
2798
- values: { totalCount: ve }
2798
+ values: { totalCount: _e }
2799
2799
  })
2800
2800
  })]
2801
2801
  }) })
2802
2802
  ]
2803
2803
  }),
2804
- /*#__PURE__*/ V(Ze, {
2805
- buckets: pe,
2804
+ /*#__PURE__*/ U(Ze, {
2805
+ buckets: Y,
2806
2806
  createModalOpen: d,
2807
2807
  setCreateModalOpen: f,
2808
2808
  onCreateSuccess: T,
2809
2809
  onCreateError: O,
2810
2810
  onEmptySuccess: k,
2811
- onEmptyError: N,
2812
- onDeleteSuccess: F,
2813
- onDeleteError: I,
2811
+ onEmptyError: P,
2812
+ onDeleteSuccess: I,
2813
+ onDeleteError: L,
2814
2814
  selectedBuckets: _,
2815
2815
  setSelectedBuckets: v,
2816
2816
  hasAnyBulkAction: !0
2817
2817
  }),
2818
- /*#__PURE__*/ V($e, {
2818
+ /*#__PURE__*/ U($e, {
2819
2819
  isOpen: h,
2820
- buckets: he,
2820
+ buckets: me,
2821
2821
  onClose: () => g(!1),
2822
- onComplete: oe
2822
+ onComplete: ie
2823
2823
  })
2824
2824
  ]
2825
2825
  });
@@ -2827,14 +2827,14 @@ var tt = () => {
2827
2827
  //#endregion
2828
2828
  //#region src/client/routes/_auth/projects/$projectId/storage/$provider/$storageType/index.tsx?tsr-split=component
2829
2829
  function nt() {
2830
- let { project: e, provider: t } = W({
2830
+ let { project: e, provider: t } = K({
2831
2831
  from: "/_auth/projects/$projectId/storage/$provider/$storageType/",
2832
2832
  select: (e) => ({
2833
2833
  project: e.projectId,
2834
2834
  provider: e.provider,
2835
2835
  storageType: e.storageType
2836
2836
  })
2837
- }), { i18n: n, _: r } = K(), i;
2837
+ }), { i18n: n, _: r } = J(), i;
2838
2838
  switch (t) {
2839
2839
  case "swift":
2840
2840
  i = n._({ id: "+OEi73" });
@@ -2844,29 +2844,29 @@ function nt() {
2844
2844
  break;
2845
2845
  default: i = n._({ id: "IWF68U" });
2846
2846
  }
2847
- return /*#__PURE__*/ H("div", { children: [/*#__PURE__*/ V(N, {
2847
+ return /*#__PURE__*/ W("div", { children: [/*#__PURE__*/ U(P, {
2848
2848
  title: i,
2849
2849
  projectId: e
2850
- }), e ? /*#__PURE__*/ V(pe, {
2850
+ }), e ? /*#__PURE__*/ U(de, {
2851
2851
  resetKeys: [e, t],
2852
- fallback: /*#__PURE__*/ V("div", {
2852
+ fallback: /*#__PURE__*/ U("div", {
2853
2853
  className: "p-4 text-center",
2854
- children: /*#__PURE__*/ V(G, { id: "diFNkW" })
2854
+ children: /*#__PURE__*/ U(q, { id: "diFNkW" })
2855
2855
  }),
2856
2856
  children: (() => {
2857
2857
  switch (t) {
2858
- case "swift": return /*#__PURE__*/ V(Ge, {});
2859
- case "ceph": return /*#__PURE__*/ V(tt, {});
2860
- default: return /*#__PURE__*/ V("div", { children: "Storage Overview Page" });
2858
+ case "swift": return /*#__PURE__*/ U(Ge, {});
2859
+ case "ceph": return /*#__PURE__*/ U(tt, {});
2860
+ default: return /*#__PURE__*/ U("div", { children: "Storage Overview Page" });
2861
2861
  }
2862
2862
  })()
2863
- }) : /*#__PURE__*/ V("div", {
2863
+ }) : /*#__PURE__*/ U("div", {
2864
2864
  className: "p-4 text-center",
2865
- children: /*#__PURE__*/ V(G, { id: "Z2fZGD" })
2865
+ children: /*#__PURE__*/ U(q, { id: "Z2fZGD" })
2866
2866
  })] });
2867
2867
  }
2868
- var rt = () => /*#__PURE__*/ V(nt, {});
2868
+ var rt = () => /*#__PURE__*/ U(nt, {});
2869
2869
  //#endregion
2870
2870
  export { rt as component };
2871
2871
 
2872
- //# sourceMappingURL=_storageType-D-1H6SX1.mjs.map
2872
+ //# sourceMappingURL=_storageType-WwAATdsa.mjs.map