@synopackageland/sdk 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/vue.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { appRefusal as da, appDenial as Be, delegateCopy as Ve, appLifecycle as Ce, lifecycleRetryDelay as ca, uiLocale as va, lifecycleCopy as Ne, shellCopy as sa, isFullPage as $a, format as Je, nasCopy as Te, nasErrorCopy as Sa, saveCopy as fa, saveError as Ye, createNasProvider as Pa, identityCopy as Xa, backgroundCopy as Wa, createBackgroundPickerProvider as Ga, backgroundErrorCopy as Ja, requestKey as ba, labelSeparator as Ea, lifecycleRefusal as Ya, errorCopy as Qa, scopedPicker as Za, authorizationCopy as ja } from "./index.js";
2
- import { DEFAULT_REQUEST_TIMEOUT as xo, FILE_STATION_APP as Co, LIFECYCLE_RETRY_MAX_MS as $o, LIFECYCLE_STARTING_RETRY_MAX_MS as So, activePage as Po, authorizationCatalogs as Eo, backgroundCatalogs as To, bridgeCatalogs as zo, bridgeErrorCopy as Ao, catalogs as Ro, clientTimeout as Io, createBackgroundSaveFacade as Do, createDsmSession as Uo, createFileTransfers as Vo, createPortalAccess as No, createStandaloneContext as Bo, createStandaloneHost as Lo, decodeResponse as Oo, delegateCatalogs as Fo, encodeRequest as qo, fileStationPath as Mo, identityCatalogs as Ko, mergeCatalogs as Ho, nasCatalogs as Xo, openFileInFileStation as Wo, openFolderInFileStation as Go, portalCatalogs as Jo, portalMessages as Yo, protocolCodes as Qo, protocolOps as Zo, protocolSchemas as jo, saveCatalogs as es, shellCatalogs as as, shellPages as ts, uiLocales as ls } from "./index.js";
3
- import { inject as Ee, ref as y, computed as _, onBeforeUnmount as we, Comment as et, Text as at, Fragment as oe, watch as Oe, onMounted as Se, defineComponent as fe, openBlock as l, createElementBlock as $, normalizeClass as De, createElementVNode as S, createVNode as v, unref as e, toDisplayString as s, createCommentVNode as g, renderList as ge, createTextVNode as h, renderSlot as be, createBlock as b, withCtx as n, resolveDynamicComponent as Xe, normalizeProps as Qe, mergeProps as pa, withModifiers as qe, isRef as Ze, provide as Le, useTemplateRef as He, useSlots as Ta, watchEffect as ga, guardReactiveProps as ha, createSlots as za, Teleport as Aa, markRaw as tt, h as lt, onUnmounted as Ra, nextTick as nt } from "vue";
2
+ import { DEFAULT_REQUEST_TIMEOUT as Co, FILE_STATION_APP as $o, LIFECYCLE_RETRY_MAX_MS as So, LIFECYCLE_STARTING_RETRY_MAX_MS as Po, activePage as Eo, authorizationCatalogs as To, backgroundCatalogs as zo, bridgeCatalogs as Ao, bridgeErrorCopy as Ro, catalogs as Io, clientTimeout as Do, createBackgroundSaveFacade as Uo, createDsmSession as Vo, createFileTransfers as No, createPortalAccess as Bo, createStandaloneContext as Lo, createStandaloneHost as Oo, decodeResponse as Fo, delegateCatalogs as qo, encodeRequest as Mo, fileStationPath as Ko, identityCatalogs as Ho, mergeCatalogs as Xo, nasCatalogs as Wo, openFileInFileStation as Go, openFolderInFileStation as Jo, portalCatalogs as Yo, portalMessages as Qo, protocolCodes as Zo, protocolOps as jo, protocolSchemas as es, saveCatalogs as as, shellCatalogs as ts, shellPages as ls, uiLocales as ns } from "./index.js";
3
+ import { inject as Ee, ref as y, computed as _, onBeforeUnmount as we, Comment as et, Text as at, Fragment as oe, watch as Oe, onMounted as Se, defineComponent as fe, openBlock as l, createElementBlock as $, normalizeClass as De, createElementVNode as S, createVNode as v, unref as e, toDisplayString as s, createCommentVNode as b, renderList as ge, createTextVNode as h, renderSlot as be, createBlock as g, withCtx as n, resolveDynamicComponent as Xe, normalizeProps as Qe, mergeProps as pa, withModifiers as qe, isRef as Ze, provide as Le, useTemplateRef as He, useSlots as Ta, watchEffect as ga, guardReactiveProps as ha, createSlots as za, Teleport as Aa, markRaw as tt, h as lt, onUnmounted as Ra, nextTick as nt } from "vue";
4
4
  import { SettingsSection as ke, Callout as j, Button as V, SettingsRow as xe, Skeleton as Fe, Badge as ia, PathDisplay as Ue, Form as Me, FormItem as $e, Select as ma, Input as ze, Dialog as Ge, ensureDeviceViewport as ot, AppRoot as st, ConfigProvider as it, PageContent as ka, PageHeader as wa, AppLayout as ut, AppSidebar as rt, AppSidebarUser as dt, InfoTip as ct, FileTypeIcon as la, IconButton as na, Breadcrumb as vt, FilePicker as ft, TreeView as pt, DataGrid as mt, Link as ua, FormActions as aa, Card as _a, Checkbox as yt, LoadingArea as bt } from "@synopackageland/ui";
5
5
  import { Timer as gt, Info as ht, ShieldCheck as Ia, ChevronRight as Da, ChevronLeft as kt, RotateCw as wt } from "@lucide/vue";
6
6
  const We = /* @__PURE__ */ Symbol("executor-setup"), Ua = /* @__PURE__ */ Symbol("executor-preload");
@@ -24,32 +24,32 @@ const xt = ["password_rejected", "password_required", "password_confirm_failed"]
24
24
  function je(t) {
25
25
  if (t.state !== "blocked") return;
26
26
  if (t.code) return xt.includes(t.code) ? t.code : void 0;
27
- const p = t.reason ?? "";
28
- if (/^dsm_3121\b/.test(p)) return "password_rejected";
29
- if (/^\S+: administrator password confirmation failed\./.test(p)) return "password_confirm_failed";
27
+ const m = t.reason ?? "";
28
+ if (/^dsm_3121\b/.test(m)) return "password_rejected";
29
+ if (/^\S+: administrator password confirmation failed\./.test(m)) return "password_confirm_failed";
30
30
  }
31
31
  function Ct(t) {
32
32
  return /: the executor status request failed\.$/.test(t ?? "");
33
33
  }
34
- function io(t) {
35
- const p = y(), o = _(() => p.value ? { code: p.value, ...da({ code: p.value }, t.locale, t.displayName) } : void 0), a = y(!1), i = y(!1), u = y(), r = y("");
36
- let c = !1, m = 0, d, f;
34
+ function uo(t) {
35
+ const m = y(), o = _(() => m.value ? { code: m.value, ...da({ code: m.value }, t.locale, t.displayName) } : void 0), a = y(!1), i = y(!1), u = y(), r = y("");
36
+ let c = !1, f = 0, d, p;
37
37
  function x() {
38
- clearTimeout(d), clearTimeout(f);
38
+ clearTimeout(d), clearTimeout(p);
39
39
  }
40
40
  function P(B = "") {
41
- m++, x(), u.value = void 0, r.value = B;
41
+ f++, x(), u.value = void 0, r.value = B;
42
42
  }
43
43
  function w(B) {
44
44
  const K = Be(B);
45
- return c || !K ? !1 : (P(), p.value = K, !0);
45
+ return c || !K ? !1 : (P(), m.value = K, !0);
46
46
  }
47
47
  async function C(B, K) {
48
- const L = m;
48
+ const L = f;
49
49
  try {
50
50
  return await t.call(B, K);
51
51
  } catch (R) {
52
- throw L === m && w(R), R;
52
+ throw L === f && w(R), R;
53
53
  }
54
54
  }
55
55
  function E(B) {
@@ -59,14 +59,14 @@ function io(t) {
59
59
  P("expired");
60
60
  return;
61
61
  }
62
- x(), p.value = void 0, u.value = B, r.value = "", d = setTimeout(() => P("expired"), K);
63
- const L = m;
64
- f = setTimeout(async () => {
62
+ x(), m.value = void 0, u.value = B, r.value = "", d = setTimeout(() => P("expired"), K);
63
+ const L = f;
64
+ p = setTimeout(async () => {
65
65
  try {
66
66
  const R = await C("identity.session");
67
- !c && m === L && E(R);
67
+ !c && f === L && E(R);
68
68
  } catch (R) {
69
- !c && m === L && !w(R) && P("expired");
69
+ !c && f === L && !w(R) && P("expired");
70
70
  }
71
71
  }, Math.min(6e4, K));
72
72
  }
@@ -74,7 +74,7 @@ function io(t) {
74
74
  try {
75
75
  const B = await C("identity.status");
76
76
  if (c) return;
77
- if (p.value = void 0, a.value = B.enabled === !0, a.value)
77
+ if (m.value = void 0, a.value = B.enabled === !0, a.value)
78
78
  try {
79
79
  E(await C("identity.session", { bootstrap: !0 }));
80
80
  } catch (K) {
@@ -89,24 +89,24 @@ function io(t) {
89
89
  }
90
90
  }
91
91
  async function T(B, K) {
92
- const L = m;
92
+ const L = f;
93
93
  try {
94
94
  const R = await t.call(B, K);
95
- if (c || a.value && L !== m) throw { code: "session_required" };
95
+ if (c || a.value && L !== f) throw { code: "session_required" };
96
96
  return R;
97
97
  } catch (R) {
98
- L === m && w(R);
98
+ L === f && w(R);
99
99
  const A = R?.code;
100
- throw !c && L === m && a.value && ["session_required", "session_revalidation_required"].includes(A || "") && P(A === "session_revalidation_required" ? "revalidate" : "expired"), R;
100
+ throw !c && L === f && a.value && ["session_required", "session_revalidation_required"].includes(A || "") && P(A === "session_revalidation_required" ? "revalidate" : "expired"), R;
101
101
  }
102
102
  }
103
103
  async function N(B, K, L) {
104
104
  const R = await C("identity.login", { account: B, password: K, otp: L });
105
- c || (m++, E(R));
105
+ c || (f++, E(R));
106
106
  }
107
107
  async function te() {
108
108
  const B = await C("identity.session", { bootstrap: !0 });
109
- c || (m++, E(B));
109
+ c || (f++, E(B));
110
110
  }
111
111
  async function F() {
112
112
  await C("identity.logout"), c || P();
@@ -117,42 +117,42 @@ function io(t) {
117
117
  return { enabled: a, ready: i, subject: u, notice: r, denied: o, start: k, call: T, login: N, bootstrap: te, logout: F, dispose: Y };
118
118
  }
119
119
  function $t() {
120
- const t = y(!1), p = y();
120
+ const t = y(!1), m = y();
121
121
  let o = !1, a = 0, i;
122
122
  function u() {
123
- a++, i?.abort(), i = void 0, t.value = !1, p.value = void 0;
123
+ a++, i?.abort(), i = void 0, t.value = !1, m.value = void 0;
124
124
  }
125
125
  async function r(c) {
126
126
  if (o || t.value) return;
127
- const m = ++a, d = new AbortController();
128
- i = d, t.value = !0, p.value = void 0;
127
+ const f = ++a, d = new AbortController();
128
+ i = d, t.value = !0, m.value = void 0;
129
129
  try {
130
- const f = await c(d.signal);
131
- return !o && m === a ? f : void 0;
132
- } catch (f) {
133
- !o && m === a && (p.value = f);
130
+ const p = await c(d.signal);
131
+ return !o && f === a ? p : void 0;
132
+ } catch (p) {
133
+ !o && f === a && (m.value = p);
134
134
  return;
135
135
  } finally {
136
- !o && m === a && (t.value = !1, i = void 0);
136
+ !o && f === a && (t.value = !1, i = void 0);
137
137
  }
138
138
  }
139
139
  return we(() => {
140
140
  o = !0, u();
141
- }), { busy: t, error: p, run: r, cancel: u };
141
+ }), { busy: t, error: m, run: r, cancel: u };
142
142
  }
143
143
  const xa = ".sds-standalone-main-window";
144
144
  function St(t) {
145
- const p = { brand: !1, user: !1 };
145
+ const m = { brand: !1, user: !1 };
146
146
  try {
147
147
  const o = t.closest(xa);
148
- if (!t.isConnected || !o || o.classList.contains("sds-standalone-main-window--no-banner")) return p;
148
+ if (!t.isConnected || !o || o.classList.contains("sds-standalone-main-window--no-banner")) return m;
149
149
  const a = (i) => Array.from(o.querySelectorAll(i)).some((u) => {
150
150
  if (t.contains(u) || u.closest(xa) !== o || !u.textContent?.trim()) return !1;
151
151
  const r = u.ownerDocument.defaultView;
152
152
  if (!r) return !1;
153
- for (let m = u; m; m = m.parentElement) {
154
- const d = r.getComputedStyle(m);
155
- if (m.hidden || d.display === "none" || d.visibility === "hidden" || d.visibility === "collapse" || d.opacity === "0") return !1;
153
+ for (let f = u; f; f = f.parentElement) {
154
+ const d = r.getComputedStyle(f);
155
+ if (f.hidden || d.display === "none" || d.visibility === "hidden" || d.visibility === "collapse" || d.opacity === "0") return !1;
156
156
  }
157
157
  const c = u.getBoundingClientRect();
158
158
  return c.width > 0 && c.height > 0;
@@ -162,36 +162,36 @@ function St(t) {
162
162
  user: a(".sds-standalone-main-window-header .sds-standalone-main-window-header__toolbar__btn")
163
163
  };
164
164
  } catch {
165
- return p;
165
+ return m;
166
166
  }
167
167
  }
168
168
  function Na(t) {
169
- return Array.isArray(t) && t.some((p) => {
170
- const o = p;
169
+ return Array.isArray(t) && t.some((m) => {
170
+ const o = m;
171
171
  return o.type === et ? !1 : o.type === at ? String(o.children).trim() !== "" : o.type === oe ? Na(o.children) : !0;
172
172
  });
173
173
  }
174
174
  function Pt(t) {
175
- return Array.from(t.childNodes).some((p) => p.nodeType === Node.ELEMENT_NODE || p.nodeType === Node.TEXT_NODE && p.textContent.trim() !== "");
175
+ return Array.from(t.childNodes).some((m) => m.nodeType === Node.ELEMENT_NODE || m.nodeType === Node.TEXT_NODE && m.textContent.trim() !== "");
176
176
  }
177
177
  const Et = { status: ht, background: gt };
178
- function Tt(t, p) {
179
- return t.map((o) => typeof o == "string" ? { id: o, title: p[o], icon: Et[o] } : o);
178
+ function Tt(t, m) {
179
+ return t.map((o) => typeof o == "string" ? { id: o, title: m[o], icon: Et[o] } : o);
180
180
  }
181
181
  function zt(t) {
182
- const p = /* @__PURE__ */ new Map(), o = { items: [] };
182
+ const m = /* @__PURE__ */ new Map(), o = { items: [] };
183
183
  for (const a of t) {
184
184
  if (a.hidden) continue;
185
- let i = a.placement === "bottom" ? o : p.get(a.group);
186
- i || p.set(a.group, i = a.group === void 0 ? { items: [] } : { label: a.group, items: [] }), i.items.push({ key: a.id, label: a.title, icon: a.icon, badge: a.badge });
185
+ let i = a.placement === "bottom" ? o : m.get(a.group);
186
+ i || m.set(a.group, i = a.group === void 0 ? { items: [] } : { label: a.group, items: [] }), i.items.push({ key: a.id, label: a.title, icon: a.icon, badge: a.badge });
187
187
  }
188
- return o.items.length ? [...p.values(), o] : [...p.values()];
188
+ return o.items.length ? [...m.values(), o] : [...m.values()];
189
189
  }
190
190
  const At = { password_rejected: "passwordRejected", password_required: "passwordRequired", password_confirm_failed: "passwordConfirmFailed" }, Rt = 6e4, It = 1e3;
191
- function Ba(t, p) {
192
- const o = Va(), a = _(() => Ve(t.locale)), i = y(), u = y(""), r = y(!1), c = y(!1), m = y(!1), d = y(), f = y(!1), x = _(() => f.value ? a.value.passwordRequired : d.value && "confirm" in d.value ? a.value[At[d.value.confirm]] : "");
191
+ function Ba(t, m) {
192
+ const o = Va(), a = _(() => Ve(t.locale)), i = y(), u = y(""), r = y(!1), c = y(!1), f = y(!1), d = y(), p = y(!1), x = _(() => p.value ? a.value.passwordRequired : d.value && "confirm" in d.value ? a.value[At[d.value.confirm]] : "");
193
193
  Oe(u, () => {
194
- f.value = !1;
194
+ p.value = !1;
195
195
  });
196
196
  const P = y(), w = y(""), C = y([]), E = _(() => P.value?.scope_mode === "install-selected"), k = _(() => !!P.value?.scope_mode), T = _(() => [{ label: a.value.homeScope, value: "home" }, ...C.value]), N = _(() => !E.value || !!w.value && T.value.some((M) => M.value === w.value)), te = _(() => E.value && !P.value?.selection);
197
197
  let F = !1;
@@ -215,11 +215,11 @@ function Ba(t, p) {
215
215
  }
216
216
  async function B(M) {
217
217
  if (!(!t.admin || r.value)) {
218
- r.value = !0, m.value = !1, d.value = void 0;
218
+ r.value = !0, f.value = !1, d.value = void 0;
219
219
  try {
220
220
  await Y(M);
221
221
  } catch {
222
- F || (m.value = !0);
222
+ F || (f.value = !0);
223
223
  } finally {
224
224
  F || (r.value = !1);
225
225
  }
@@ -227,8 +227,8 @@ function Ba(t, p) {
227
227
  }
228
228
  const K = () => B();
229
229
  async function L() {
230
- if (!t.admin || r.value || !u.value || !N.value || m.value) return;
231
- r.value = !0, m.value = !1, d.value = void 0;
230
+ if (!t.admin || r.value || !u.value || !N.value || f.value) return;
231
+ r.value = !0, f.value = !1, d.value = void 0;
232
232
  const M = u.value, se = w.value;
233
233
  u.value = "", c.value = !0;
234
234
  try {
@@ -246,15 +246,15 @@ function Ba(t, p) {
246
246
  F || (d.value = { reason: H.reason ?? "", code: H.code });
247
247
  return;
248
248
  }
249
- F || await p();
249
+ F || await m();
250
250
  } catch {
251
- F || (m.value = !0);
251
+ F || (f.value = !0);
252
252
  } finally {
253
253
  F || (r.value = !1, c.value = !1);
254
254
  }
255
255
  }
256
256
  function R() {
257
- return !u.value && !r.value ? (f.value = !0, Promise.resolve()) : L();
257
+ return !u.value && !r.value ? (p.value = !0, Promise.resolve()) : L();
258
258
  }
259
259
  async function A(M) {
260
260
  for (const se = Date.now() + Rt; !F; await new Promise((H) => setTimeout(H, It))) {
@@ -272,13 +272,13 @@ function Ba(t, p) {
272
272
  }), B(t.initial);
273
273
  }), we(() => {
274
274
  F = !0, u.value = "";
275
- }), { status: i, password: u, busy: r, confirming: c, error: m, failure: d, passwordError: x, scope: P, chosen: w, options: T, dynamic: E, files: k, webapiProfiles: o.webapiProfiles, canConfirm: N, needsScope: te, refresh: K, authorize: L, submit: R, explain: q };
275
+ }), { status: i, password: u, busy: r, confirming: c, error: f, failure: d, passwordError: x, scope: P, chosen: w, options: T, dynamic: E, files: k, webapiProfiles: o.webapiProfiles, canConfirm: N, needsScope: te, refresh: K, authorize: L, submit: R, explain: q };
276
276
  }
277
- function Ke(t, p) {
277
+ function Ke(t, m) {
278
278
  let o = !1, a, i = 0;
279
279
  function u() {
280
280
  clearTimeout(a), a = setTimeout(() => {
281
- p().then(() => {
281
+ m().then(() => {
282
282
  !o && t() && u();
283
283
  });
284
284
  }, ca(i++, t()));
@@ -306,10 +306,13 @@ const Dt = ["data-audience"], Ut = {
306
306
  key: 0,
307
307
  "data-webapi-profiles": ""
308
308
  }, qt = {
309
+ key: 0,
310
+ "data-webapi-raw": ""
311
+ }, Mt = {
309
312
  key: 1,
310
313
  class: "executor-consent-more",
311
314
  "data-consent-points": ""
312
- }, Mt = /* @__PURE__ */ fe({
315
+ }, Kt = /* @__PURE__ */ fe({
313
316
  __name: "ExecutorConsent",
314
317
  props: {
315
318
  admin: { type: Boolean },
@@ -320,7 +323,7 @@ const Dt = ["data-audience"], Ut = {
320
323
  webapiProfiles: {}
321
324
  },
322
325
  setup(t) {
323
- const p = t, o = _(() => Ve(p.locale)), a = _(() => ["zh-TW", "zh-CN", "ja"].includes(va(p.locale ?? "en")) ? "" : " "), i = _(() => [o.value.consentWhy, p.purpose || (p.files ? o.value.consentPurposeFiles : o.value.consentPurpose)].join(a.value)), u = _(() => [o.value.pointPassword, o.value.pointLimited, o.value.pointUpdate, o.value.pointRevoke]);
326
+ const m = t, o = _(() => Ve(m.locale)), a = _(() => ["zh-TW", "zh-CN", "ja"].includes(va(m.locale ?? "en")) ? "" : " "), i = _(() => [o.value.consentWhy, m.purpose || (m.files ? o.value.consentPurposeFiles : o.value.consentPurpose)].join(a.value)), u = _(() => [o.value.pointPassword, o.value.pointLimited, o.value.pointUpdate, o.value.pointRevoke]);
324
327
  return (r, c) => (l(), $("div", {
325
328
  class: De(["executor-consent", `executor-consent-${t.layout ?? "inline"}`]),
326
329
  "data-executor-consent": "",
@@ -335,23 +338,24 @@ const Dt = ["data-audience"], Ut = {
335
338
  S("div", Nt, [
336
339
  S("p", Bt, s(t.admin ? o.value.consentTitle : o.value.consentTitleUser), 1),
337
340
  S("p", Lt, s(i.value), 1),
338
- t.admin ? g("", !0) : (l(), $("p", Ot, s(o.value.consentAsk), 1))
341
+ t.admin ? b("", !0) : (l(), $("p", Ot, s(o.value.consentAsk), 1))
339
342
  ]),
340
343
  t.webapiProfiles && Object.keys(t.webapiProfiles).length ? (l(), $("ul", Ft, [
341
- (l(!0), $(oe, null, ge(t.webapiProfiles, (m, d) => (l(), $("li", { key: d }, [
344
+ (l(!0), $(oe, null, ge(t.webapiProfiles, (f, d) => (l(), $("li", { key: d }, [
342
345
  S("strong", null, s(d), 1),
343
- h(": " + s(m.purpose) + " ", 1),
346
+ h(": " + s(f.purpose) + " ", 1),
344
347
  S("details", null, [
345
348
  S("summary", null, s(o.value.details), 1),
346
- (l(!0), $(oe, null, ge(m.apis, (f, x) => (l(), $("div", { key: x }, [
349
+ (l(!0), $(oe, null, ge(f.apis, (p, x) => (l(), $("div", { key: x }, [
347
350
  S("code", null, s(x), 1),
348
- (l(!0), $(oe, null, ge(f, (P, w) => (l(), $("div", { key: w }, s(w) + " (" + s(P.join(", ")) + ")", 1))), 128))
349
- ]))), 128))
351
+ (l(!0), $(oe, null, ge(p, (P, w) => (l(), $("div", { key: w }, s(w) + " (" + s(P.join(", ")) + ")", 1))), 128))
352
+ ]))), 128)),
353
+ f.raw_max_bytes ? (l(), $("code", qt, s(o.value.rawLimit) + ": " + s(f.raw_max_bytes), 1)) : b("", !0)
350
354
  ])
351
355
  ]))), 128))
352
- ])) : g("", !0),
356
+ ])) : b("", !0),
353
357
  be(r.$slots, "default", {}, void 0, !0),
354
- t.admin ? (l(), $("details", qt, [
358
+ t.admin ? (l(), $("details", Mt, [
355
359
  S("summary", null, [
356
360
  v(e(Da), {
357
361
  class: "executor-consent-chevron",
@@ -361,27 +365,27 @@ const Dt = ["data-audience"], Ut = {
361
365
  h(s(o.value.consentDetails), 1)
362
366
  ]),
363
367
  S("ul", null, [
364
- (l(!0), $(oe, null, ge(u.value, (m) => (l(), $("li", { key: m }, s(m), 1))), 128))
368
+ (l(!0), $(oe, null, ge(u.value, (f) => (l(), $("li", { key: f }, s(f), 1))), 128))
365
369
  ])
366
- ])) : g("", !0)
370
+ ])) : b("", !0)
367
371
  ])
368
372
  ], 10, Dt));
369
373
  }
370
- }), me = (t, p) => {
374
+ }), me = (t, m) => {
371
375
  const o = t.__vccOpts || t;
372
- for (const [a, i] of p)
376
+ for (const [a, i] of m)
373
377
  o[a] = i;
374
378
  return o;
375
- }, ea = /* @__PURE__ */ me(Mt, [["__scopeId", "data-v-896bcab3"]]), Kt = { class: "executor-alert" }, Ht = {
379
+ }, ea = /* @__PURE__ */ me(Kt, [["__scopeId", "data-v-aacde22e"]]), Ht = { class: "executor-alert" }, Xt = {
376
380
  key: 0,
377
381
  class: "executor-reason"
378
- }, Xt = {
382
+ }, Wt = {
379
383
  key: 0,
380
384
  class: "executor-summary"
381
- }, Wt = {
385
+ }, Gt = {
382
386
  key: 1,
383
387
  class: "executor-summary"
384
- }, Gt = ["data-executor-status"], Jt = { class: "executor-reason" }, Yt = /* @__PURE__ */ fe({
388
+ }, Jt = ["data-executor-status"], Yt = { class: "executor-reason" }, Qt = /* @__PURE__ */ fe({
385
389
  __name: "ExecutorSettings",
386
390
  props: {
387
391
  admin: { type: Boolean },
@@ -393,30 +397,30 @@ const Dt = ["data-audience"], Ut = {
393
397
  layout: {}
394
398
  },
395
399
  emits: ["confirmed"],
396
- setup(t, { expose: p, emit: o }) {
397
- const a = t, i = o, u = _(() => Ve(a.locale)), { status: r, password: c, busy: m, confirming: d, error: f, failure: x, passwordError: P, scope: w, chosen: C, options: E, dynamic: k, files: T, webapiProfiles: N, canConfirm: te, needsScope: F, refresh: Y, submit: B, explain: K } = Ba(a, () => i("confirmed")), L = _(() => d.value ? "confirming" : r.value ? r.value.state === "ready" ? "ready" : "blocked" : void 0), R = _(() => ({ ready: { tone: "success", text: u.value.statusReady }, blocked: { tone: "danger", text: u.value.statusBlocked }, confirming: { tone: "info", text: u.value.statusConfirming } })[L.value ?? "confirming"]), A = _(() => d.value ? void 0 : Ce(r.value));
400
+ setup(t, { expose: m, emit: o }) {
401
+ const a = t, i = o, u = _(() => Ve(a.locale)), { status: r, password: c, busy: f, confirming: d, error: p, failure: x, passwordError: P, scope: w, chosen: C, options: E, dynamic: k, files: T, webapiProfiles: N, canConfirm: te, needsScope: F, refresh: Y, submit: B, explain: K } = Ba(a, () => i("confirmed")), L = _(() => d.value ? "confirming" : r.value ? r.value.state === "ready" ? "ready" : "blocked" : void 0), R = _(() => ({ ready: { tone: "success", text: u.value.statusReady }, blocked: { tone: "danger", text: u.value.statusBlocked }, confirming: { tone: "info", text: u.value.statusConfirming } })[L.value ?? "confirming"]), A = _(() => d.value ? void 0 : Ce(r.value));
398
402
  Ke(() => A.value, Y);
399
403
  const q = _(() => !A.value && (r.value?.state === "needs-admin-approval" || F.value)), M = _(() => q.value || !!r.value?.retry);
400
- return p({ refresh: Y }), (se, H) => t.admin ? (l(), b(e(ke), {
404
+ return m({ refresh: Y }), (se, H) => t.admin ? (l(), g(e(ke), {
401
405
  key: 0,
402
406
  title: t.title ?? u.value.setupTitle,
403
407
  description: q.value ? void 0 : e(T) ? u.value.setupHelpFiles : u.value.setupHelp,
404
408
  collapsible: !1,
405
- "aria-busy": e(m) || !e(r) && !e(d) && !e(f)
409
+ "aria-busy": e(f) || !e(r) && !e(d) && !e(p)
406
410
  }, {
407
411
  default: n(() => [
408
- e(f) ? (l(), b(e(j), {
412
+ e(p) ? (l(), g(e(j), {
409
413
  key: 0,
410
414
  tone: "danger",
411
415
  role: "alert"
412
416
  }, {
413
417
  default: n(() => [
414
- S("span", Kt, [
418
+ S("span", Ht, [
415
419
  S("span", null, s(u.value.setupError), 1),
416
420
  v(e(V), {
417
421
  variant: "secondary",
418
422
  size: "sm",
419
- disabled: e(m),
423
+ disabled: e(f),
420
424
  onClick: e(Y)
421
425
  }, {
422
426
  default: n(() => [
@@ -427,18 +431,18 @@ const Dt = ["data-audience"], Ut = {
427
431
  ])
428
432
  ]),
429
433
  _: 1
430
- })) : e(x) && !("confirm" in e(x)) ? (l(), b(e(j), {
434
+ })) : e(x) && !("confirm" in e(x)) ? (l(), g(e(j), {
431
435
  key: 1,
432
436
  tone: "danger",
433
437
  role: "alert"
434
438
  }, {
435
439
  default: n(() => [
436
440
  h(s(e(x).code === "session_ended" ? u.value.session : e(K)(e(x)) ?? u.value.setupError), 1),
437
- e(x).reason ? (l(), $("span", Ht, s(e(x).reason), 1)) : g("", !0)
441
+ e(x).reason ? (l(), $("span", Xt, s(e(x).reason), 1)) : b("", !0)
438
442
  ]),
439
443
  _: 1
440
- })) : g("", !0),
441
- A.value ? (l(), b(e(j), {
444
+ })) : b("", !0),
445
+ A.value ? (l(), g(e(j), {
442
446
  key: 2,
443
447
  tone: "info",
444
448
  role: "status"
@@ -448,7 +452,7 @@ const Dt = ["data-audience"], Ut = {
448
452
  ]),
449
453
  _: 1
450
454
  })) : (l(), $(oe, { key: 3 }, [
451
- !e(r) && !e(d) && !e(f) ? (l(), $("div", Xt, [
455
+ !e(r) && !e(d) && !e(p) ? (l(), $("div", Wt, [
452
456
  v(e(xe), {
453
457
  label: u.value.status,
454
458
  "data-placeholder-row": ""
@@ -461,8 +465,8 @@ const Dt = ["data-audience"], Ut = {
461
465
  ]),
462
466
  _: 1
463
467
  }, 8, ["label"])
464
- ])) : g("", !0),
465
- (e(r) || e(d)) && !q.value ? (l(), $("div", Wt, [
468
+ ])) : b("", !0),
469
+ (e(r) || e(d)) && !q.value ? (l(), $("div", Gt, [
466
470
  v(e(xe), {
467
471
  label: u.value.status
468
472
  }, {
@@ -479,25 +483,25 @@ const Dt = ["data-audience"], Ut = {
479
483
  ]),
480
484
  _: 1
481
485
  }, 8, ["tone"])
482
- ], 8, Gt)
486
+ ], 8, Jt)
483
487
  ]),
484
488
  _: 1
485
489
  }, 8, ["label"]),
486
- e(r)?.reason && (e(r).state === "blocked" || e(r).state === "unsupported") ? (l(), b(e(xe), {
490
+ e(r)?.reason && (e(r).state === "blocked" || e(r).state === "unsupported") ? (l(), g(e(xe), {
487
491
  key: 0,
488
492
  label: u.value.details
489
493
  }, {
490
494
  default: n(() => [
491
495
  e(K)(e(r)) ? (l(), $(oe, { key: 0 }, [
492
496
  h(s(e(K)(e(r))), 1),
493
- S("span", Jt, s(e(r).reason), 1)
497
+ S("span", Yt, s(e(r).reason), 1)
494
498
  ], 64)) : (l(), $(oe, { key: 1 }, [
495
499
  h(s(e(r).reason), 1)
496
500
  ], 64))
497
501
  ]),
498
502
  _: 1
499
- }, 8, ["label"])) : g("", !0),
500
- e(w)?.selection ? (l(), b(e(xe), {
503
+ }, 8, ["label"])) : b("", !0),
504
+ e(w)?.selection ? (l(), g(e(xe), {
501
505
  key: 1,
502
506
  label: u.value.protectedScope
503
507
  }, {
@@ -507,9 +511,9 @@ const Dt = ["data-audience"], Ut = {
507
511
  }, null, 8, ["path"])
508
512
  ]),
509
513
  _: 1
510
- }, 8, ["label"])) : g("", !0)
511
- ])) : g("", !0),
512
- L.value === "blocked" && !q.value ? (l(), b(e(j), {
514
+ }, 8, ["label"])) : b("", !0)
515
+ ])) : b("", !0),
516
+ L.value === "blocked" && !q.value ? (l(), g(e(j), {
513
517
  key: 2,
514
518
  tone: "warning"
515
519
  }, {
@@ -517,8 +521,8 @@ const Dt = ["data-audience"], Ut = {
517
521
  h(s(e(T) ? u.value.blocked : u.value.executorBlocked), 1)
518
522
  ]),
519
523
  _: 1
520
- })) : g("", !0),
521
- e(w)?.mismatch ? (l(), b(e(j), {
524
+ })) : b("", !0),
525
+ e(w)?.mismatch ? (l(), g(e(j), {
522
526
  key: 3,
523
527
  tone: "warning"
524
528
  }, {
@@ -526,8 +530,8 @@ const Dt = ["data-audience"], Ut = {
526
530
  h(s(u.value.scopeMismatch), 1)
527
531
  ]),
528
532
  _: 1
529
- })) : g("", !0),
530
- M.value ? (l(), b(Xe(q.value ? ea : "div"), Qe(pa({ key: 4 }, q.value ? { admin: !0, locale: t.locale, files: e(T), purpose: t.purpose, layout: t.layout, webapiProfiles: e(N) } : {})), {
533
+ })) : b("", !0),
534
+ M.value ? (l(), g(Xe(q.value ? ea : "div"), Qe(pa({ key: 4 }, q.value ? { admin: !0, locale: t.locale, files: e(T), purpose: t.purpose, layout: t.layout, webapiProfiles: e(N) } : {})), {
531
535
  default: n(() => [
532
536
  v(e(Me), {
533
537
  direction: "vertical",
@@ -535,7 +539,7 @@ const Dt = ["data-audience"], Ut = {
535
539
  onSubmit: qe(e(B), ["prevent"])
536
540
  }, {
537
541
  default: n(() => [
538
- e(k) ? (l(), b(e($e), {
542
+ e(k) ? (l(), g(e($e), {
539
543
  key: 0,
540
544
  label: u.value.scopeLabel,
541
545
  description: u.value.preselectionHelp
@@ -546,11 +550,11 @@ const Dt = ["data-audience"], Ut = {
546
550
  modelValue: e(C),
547
551
  "onUpdate:modelValue": H[0] || (H[0] = (G) => Ze(C) ? C.value = G : null),
548
552
  options: e(E),
549
- disabled: e(m) || e(f)
553
+ disabled: e(f) || e(p)
550
554
  }, null, 8, ["modelValue", "options", "disabled"])
551
555
  ]),
552
556
  _: 1
553
- }, 8, ["label", "description"])) : g("", !0),
557
+ }, 8, ["label", "description"])) : b("", !0),
554
558
  v(e($e), {
555
559
  label: u.value.password,
556
560
  description: e(d) ? u.value.confirmingHelp : u.value.passwordNote,
@@ -564,7 +568,7 @@ const Dt = ["data-audience"], Ut = {
564
568
  type: "submit",
565
569
  variant: "primary",
566
570
  loading: e(d),
567
- disabled: e(m) || e(f) || !e(te)
571
+ disabled: e(f) || e(p) || !e(te)
568
572
  }, {
569
573
  default: n(() => [
570
574
  h(s(e(k) ? u.value.confirmShare : u.value.authorize), 1)
@@ -580,7 +584,7 @@ const Dt = ["data-audience"], Ut = {
580
584
  type: "password",
581
585
  autocomplete: "current-password",
582
586
  invalid: !!e(P),
583
- disabled: e(m) || e(f)
587
+ disabled: e(f) || e(p)
584
588
  }, null, 8, ["modelValue", "invalid", "disabled"])
585
589
  ]),
586
590
  _: 1
@@ -590,19 +594,19 @@ const Dt = ["data-audience"], Ut = {
590
594
  }, 8, ["onSubmit"])
591
595
  ]),
592
596
  _: 1
593
- }, 16)) : g("", !0)
597
+ }, 16)) : b("", !0)
594
598
  ], 64))
595
599
  ]),
596
600
  _: 1
597
- }, 8, ["title", "description", "aria-busy"])) : g("", !0);
601
+ }, 8, ["title", "description", "aria-busy"])) : b("", !0);
598
602
  }
599
- }), La = /* @__PURE__ */ me(Yt, [["__scopeId", "data-v-5a1f26e3"]]), Qt = {
603
+ }), La = /* @__PURE__ */ me(Qt, [["__scopeId", "data-v-5a1f26e3"]]), Zt = {
600
604
  key: 0,
601
605
  class: "executor-notice"
602
- }, Zt = {
606
+ }, jt = {
603
607
  key: 1,
604
608
  class: "executor-notice"
605
- }, jt = { class: "executor-notice-body" }, el = /* @__PURE__ */ fe({
609
+ }, el = { class: "executor-notice-body" }, al = /* @__PURE__ */ fe({
606
610
  __name: "ExecutorNotice",
607
611
  props: {
608
612
  locale: {},
@@ -610,10 +614,10 @@ const Dt = ["data-audience"], Ut = {
610
614
  ctx: {}
611
615
  },
612
616
  setup(t) {
613
- const p = t, o = _(() => Ve(p.locale)), a = Ee(We, void 0) ?? p.ctx.executor;
617
+ const m = t, o = _(() => Ve(m.locale)), a = Ee(We, void 0) ?? m.ctx.executor;
614
618
  a && Le(We, a);
615
- const i = y("checking"), u = y(), r = y(!1), c = _(() => p.ctx.user?.isAdmin === !0), m = _(() => !u.value && (i.value === "needs-admin-approval" || i.value === "blocked")), d = _(() => a?.call ? { call: (k, T) => a.call(k, T) } : p.ctx.call ? p.ctx : void 0);
616
- let f = !1, x, P, w = 0;
619
+ const i = y("checking"), u = y(), r = y(!1), c = _(() => m.ctx.user?.isAdmin === !0), f = _(() => !u.value && (i.value === "needs-admin-approval" || i.value === "blocked")), d = _(() => a?.call ? { call: (k, T) => a.call(k, T) } : m.ctx.call ? m.ctx : void 0);
620
+ let p = !1, x, P, w = 0;
617
621
  function C(k) {
618
622
  const T = u.value;
619
623
  if (u.value = Ce(k), i.value = k?.state ?? "unknown", clearTimeout(P), k && !u.value) {
@@ -632,17 +636,17 @@ const Dt = ["data-audience"], Ut = {
632
636
  } catch {
633
637
  k = void 0;
634
638
  }
635
- f || C(k);
639
+ p || C(k);
636
640
  }
637
641
  return Se(() => {
638
642
  a && (a.subscribe?.((k) => {
639
- !f && !je(k) && C(k);
640
- }), x = p.ctx.reopen?.(() => {
643
+ !p && !je(k) && C(k);
644
+ }), x = m.ctx.reopen?.(() => {
641
645
  E();
642
646
  }), E());
643
647
  }), we(() => {
644
- f = !0, clearTimeout(P), x?.();
645
- }), (k, T) => u.value ? (l(), $("div", Qt, [
648
+ p = !0, clearTimeout(P), x?.();
649
+ }), (k, T) => u.value ? (l(), $("div", Zt, [
646
650
  v(e(j), {
647
651
  tone: "info",
648
652
  role: "status"
@@ -652,12 +656,12 @@ const Dt = ["data-audience"], Ut = {
652
656
  ]),
653
657
  _: 1
654
658
  })
655
- ])) : m.value ? (l(), $("div", Zt, [
659
+ ])) : f.value ? (l(), $("div", jt, [
656
660
  v(e(j), { tone: "warning" }, {
657
661
  default: n(() => [
658
- S("span", jt, [
662
+ S("span", el, [
659
663
  h(s(c.value ? o.value.noticeAdmin : o.value.noticeUser), 1),
660
- c.value ? (l(), b(e(V), {
664
+ c.value ? (l(), g(e(V), {
661
665
  key: 0,
662
666
  variant: "secondary",
663
667
  size: "sm",
@@ -667,14 +671,14 @@ const Dt = ["data-audience"], Ut = {
667
671
  h(s(o.value.noticeApprove), 1)
668
672
  ]),
669
673
  _: 1
670
- })) : g("", !0)
674
+ })) : b("", !0)
671
675
  ])
672
676
  ]),
673
677
  _: 1
674
678
  }),
675
- c.value ? (l(), b(e(Ge), {
679
+ c.value ? (l(), g(e(Ge), {
676
680
  key: 0,
677
- open: r.value && m.value,
681
+ open: r.value && f.value,
678
682
  title: o.value.setupTitle,
679
683
  "onUpdate:open": T[1] || (T[1] = (N) => r.value = N)
680
684
  }, {
@@ -689,16 +693,16 @@ const Dt = ["data-audience"], Ut = {
689
693
  }, null, 8, ["locale", "ctx", "purpose"])
690
694
  ]),
691
695
  _: 1
692
- }, 8, ["open", "title"])) : g("", !0)
693
- ])) : g("", !0);
696
+ }, 8, ["open", "title"])) : b("", !0)
697
+ ])) : b("", !0);
694
698
  }
695
- }), al = /* @__PURE__ */ me(el, [["__scopeId", "data-v-d0aeb4e7"]]), Oa = /* @__PURE__ */ Symbol("synopackageland:page-actions"), Fa = /* @__PURE__ */ Symbol("synopackageland:page-info"), qa = /* @__PURE__ */ Symbol("synopackageland:shell-locale"), tl = { role: "alert" }, ll = {
699
+ }), tl = /* @__PURE__ */ me(al, [["__scopeId", "data-v-d0aeb4e7"]]), Oa = /* @__PURE__ */ Symbol("synopackageland:page-actions"), Fa = /* @__PURE__ */ Symbol("synopackageland:page-info"), qa = /* @__PURE__ */ Symbol("synopackageland:shell-locale"), ll = { role: "alert" }, nl = {
696
700
  ref: "page-info",
697
701
  class: "app-page-info"
698
- }, nl = {
702
+ }, ol = {
699
703
  ref: "page-actions",
700
704
  class: "app-page-actions"
701
- }, ol = ["hidden"], sl = { class: "app-page-content" }, il = /* @__PURE__ */ fe({
705
+ }, sl = ["hidden"], il = { class: "app-page-content" }, ul = /* @__PURE__ */ fe({
702
706
  __name: "AppShell",
703
707
  props: {
704
708
  locale: {},
@@ -716,10 +720,10 @@ const Dt = ["data-audience"], Ut = {
716
720
  appRoot: { type: Boolean }
717
721
  },
718
722
  emits: ["update:modelValue"],
719
- setup(t, { emit: p }) {
720
- const o = t, a = p, i = _(() => sa(o.locale)), u = _(() => Tt(o.pages, i.value)), r = _(() => zt(u.value)), c = _(() => u.value.find((L) => L.id === o.modelValue)), m = _(() => c.value?.title ?? i.value[o.modelValue] ?? i.value.status), d = He("scroller"), f = _(() => o.pages.some((L) => typeof L != "string"));
723
+ setup(t, { emit: m }) {
724
+ const o = t, a = m, i = _(() => sa(o.locale)), u = _(() => Tt(o.pages, i.value)), r = _(() => zt(u.value)), c = _(() => u.value.find((L) => L.id === o.modelValue)), f = _(() => c.value?.title ?? i.value[o.modelValue] ?? i.value.status), d = He("scroller"), p = _(() => o.pages.some((L) => typeof L != "string"));
721
725
  Oe(() => o.modelValue, () => {
722
- f.value && !o.keepScroll && d.value && (d.value.$el.scrollTop = 0);
726
+ p.value && !o.keepScroll && d.value && (d.value.$el.scrollTop = 0);
723
727
  }, { flush: "post" });
724
728
  const x = Ta(), P = _(() => o.denied === !0 ? {} : o.denied || void 0), w = _(() => da(P.value, o.locale, o.brandName ?? o.ctx?.displayName)), C = _(() => o.ctx !== void 0 && $a(o.ctx)), E = _(() => C.value ? o.ctx : void 0), k = (L, { slots: R }) => R.default?.(), T = _(() => o.ctx !== void 0 && !C.value);
725
729
  function N() {
@@ -760,31 +764,31 @@ const Dt = ["data-audience"], Ut = {
760
764
  q.observe(R, { childList: !0, subtree: !0, characterData: !0 }), L(() => q.disconnect());
761
765
  }, { flush: "post" }), ga((L) => {
762
766
  C.value && L(ot());
763
- }), (L, R) => (l(), b(Xe(t.appRoot ? e(st) : k), Qe(ha(t.appRoot ? { modalScope: "app", dialogBounds: T.value ? "viewport" : "app", style: "height: 100%;", onActivate: N } : {})), {
767
+ }), (L, R) => (l(), g(Xe(t.appRoot ? e(st) : k), Qe(ha(t.appRoot ? { modalScope: "app", dialogBounds: T.value ? "viewport" : "app", style: "height: 100%;", onActivate: N } : {})), {
764
768
  default: n(() => [
765
- (l(), b(Xe(t.appRoot ? e(it) : k), Qe(ha(t.appRoot ? { locale: e(va)(t.locale) } : {})), {
769
+ (l(), g(Xe(t.appRoot ? e(it) : k), Qe(ha(t.appRoot ? { locale: e(va)(t.locale) } : {})), {
766
770
  default: n(() => [
767
- P.value ? (l(), b(e(ka), {
771
+ P.value ? (l(), g(e(ka), {
768
772
  key: 0,
769
773
  class: "app-denied",
770
774
  width: t.pageWidth
771
775
  }, {
772
776
  default: n(() => [
773
- P.value.header !== !1 ? (l(), b(e(wa), {
777
+ P.value.header !== !1 ? (l(), g(e(wa), {
774
778
  key: 0,
775
779
  title: P.value.title ?? w.value?.title ?? i.value.deniedTitle
776
- }, null, 8, ["title"])) : g("", !0),
780
+ }, null, 8, ["title"])) : b("", !0),
777
781
  be(L.$slots, "denied", {}, () => [
778
782
  v(e(j), { tone: "danger" }, {
779
783
  default: n(() => [
780
- S("span", tl, s(P.value.message ?? w.value?.message ?? i.value.deniedMessage), 1)
784
+ S("span", ll, s(P.value.message ?? w.value?.message ?? i.value.deniedMessage), 1)
781
785
  ]),
782
786
  _: 1
783
787
  })
784
788
  ], !0)
785
789
  ]),
786
790
  _: 3
787
- }, 8, ["width"])) : (l(), b(e(ut), {
791
+ }, 8, ["width"])) : (l(), g(e(ut), {
788
792
  key: 1,
789
793
  ref_key: "layout",
790
794
  ref: te,
@@ -810,26 +814,26 @@ const Dt = ["data-audience"], Ut = {
810
814
  width: t.pageWidth
811
815
  }, {
812
816
  default: n(() => [
813
- c.value?.header !== !1 ? (l(), b(e(wa), {
817
+ c.value?.header !== !1 ? (l(), g(e(wa), {
814
818
  key: 0,
815
- title: m.value,
819
+ title: f.value,
816
820
  description: c.value?.description ?? t.description
817
821
  }, {
818
822
  meta: n(() => [
819
- S("span", ll, null, 512),
823
+ S("span", nl, null, 512),
820
824
  be(L.$slots, "meta", { page: t.modelValue }, void 0, !0)
821
825
  ]),
822
826
  actions: n(() => [
823
- S("div", nl, null, 512),
827
+ S("div", ol, null, 512),
824
828
  be(L.$slots, "actions", { page: t.modelValue }, void 0, !0)
825
829
  ]),
826
830
  _: 3
827
- }, 8, ["title", "description"])) : g("", !0),
828
- t.ctx?.executor ? (l(), b(al, {
831
+ }, 8, ["title", "description"])) : b("", !0),
832
+ t.ctx?.executor ? (l(), g(tl, {
829
833
  key: 1,
830
834
  ctx: t.ctx,
831
835
  locale: t.locale
832
- }, null, 8, ["ctx", "locale"])) : g("", !0),
836
+ }, null, 8, ["ctx", "locale"])) : b("", !0),
833
837
  e(Na)(x.notices?.({ page: t.modelValue })) ? (l(), $("div", {
834
838
  key: 2,
835
839
  ref: "notices",
@@ -837,11 +841,11 @@ const Dt = ["data-audience"], Ut = {
837
841
  hidden: K.value
838
842
  }, [
839
843
  be(L.$slots, "notices", { page: t.modelValue }, void 0, !0)
840
- ], 8, ol)) : g("", !0),
841
- S("div", sl, [
842
- c.value?.component ? (l(), b(Xe(c.value.component), {
844
+ ], 8, sl)) : b("", !0),
845
+ S("div", il, [
846
+ c.value?.component ? (l(), g(Xe(c.value.component), {
843
847
  key: c.value.id
844
- })) : g("", !0),
848
+ })) : b("", !0),
845
849
  be(L.$slots, "default", { page: t.modelValue }, void 0, !0)
846
850
  ])
847
851
  ]),
@@ -854,11 +858,11 @@ const Dt = ["data-audience"], Ut = {
854
858
  name: "sidebar-footer",
855
859
  fn: n(() => [
856
860
  be(L.$slots, "sidebar-footer", {}, () => [
857
- Y.value ? (l(), b(e(dt), {
861
+ Y.value ? (l(), g(e(dt), {
858
862
  key: 0,
859
863
  name: Y.value.name,
860
864
  detail: Y.value.isAdmin ? i.value.administrator : i.value.dsmUser
861
- }, null, 8, ["name", "detail"])) : g("", !0)
865
+ }, null, 8, ["name", "detail"])) : b("", !0)
862
866
  ], !0)
863
867
  ]),
864
868
  key: "0"
@@ -878,18 +882,18 @@ const Dt = ["data-audience"], Ut = {
878
882
  _: 3
879
883
  }, 16));
880
884
  }
881
- }), uo = /* @__PURE__ */ me(il, [["__scopeId", "data-v-59f635a8"]]), ro = /* @__PURE__ */ fe({
885
+ }), ro = /* @__PURE__ */ me(ul, [["__scopeId", "data-v-59f635a8"]]), co = /* @__PURE__ */ fe({
882
886
  __name: "PageActions",
883
887
  setup(t) {
884
- const p = Ee(Oa, null), o = _(() => p?.value ?? null);
885
- return (a, i) => o.value ? (l(), b(Aa, {
888
+ const m = Ee(Oa, null), o = _(() => m?.value ?? null);
889
+ return (a, i) => o.value ? (l(), g(Aa, {
886
890
  key: 0,
887
891
  to: o.value
888
892
  }, [
889
893
  be(a.$slots, "default")
890
- ], 8, ["to"])) : g("", !0);
894
+ ], 8, ["to"])) : b("", !0);
891
895
  }
892
- }), ul = { class: "page-info-notes" }, rl = /* @__PURE__ */ fe({
896
+ }), rl = { class: "page-info-notes" }, dl = /* @__PURE__ */ fe({
893
897
  inheritAttrs: !1,
894
898
  __name: "PageInfo",
895
899
  props: {
@@ -901,17 +905,17 @@ const Dt = ["data-audience"], Ut = {
901
905
  align: { default: "start" }
902
906
  },
903
907
  setup(t) {
904
- const p = t, o = Ta(), a = _(() => (p.notes ?? []).filter(Boolean)), i = p.inline ? null : Ee(Fa, null), u = _(() => i?.value ?? null), r = Ee(qa, null), c = _(() => {
905
- if (p.label) return p.label;
906
- const m = p.locale ?? r?.value ?? "en";
907
- return o.default ? sa(m).notes : Je(sa(m).notesCount, { count: a.value.length }, m);
908
+ const m = t, o = Ta(), a = _(() => (m.notes ?? []).filter(Boolean)), i = m.inline ? null : Ee(Fa, null), u = _(() => i?.value ?? null), r = Ee(qa, null), c = _(() => {
909
+ if (m.label) return m.label;
910
+ const f = m.locale ?? r?.value ?? "en";
911
+ return o.default ? sa(f).notes : Je(sa(f).notesCount, { count: a.value.length }, f);
908
912
  });
909
- return (m, d) => (a.value.length || o.default) && (!e(i) || u.value) ? (l(), b(Aa, {
913
+ return (f, d) => (a.value.length || o.default) && (!e(i) || u.value) ? (l(), g(Aa, {
910
914
  key: 0,
911
915
  to: u.value ?? "body",
912
916
  disabled: !e(i)
913
917
  }, [
914
- v(e(ct), pa(m.$attrs, {
918
+ v(e(ct), pa(f.$attrs, {
915
919
  class: "page-info",
916
920
  icon: "info",
917
921
  "trigger-action": "click",
@@ -920,37 +924,37 @@ const Dt = ["data-audience"], Ut = {
920
924
  "aria-label": c.value
921
925
  }), {
922
926
  default: n(() => [
923
- be(m.$slots, "default", {}, () => [
924
- S("ul", ul, [
925
- (l(!0), $(oe, null, ge(a.value, (f) => (l(), $("li", { key: f }, s(f), 1))), 128))
927
+ be(f.$slots, "default", {}, () => [
928
+ S("ul", rl, [
929
+ (l(!0), $(oe, null, ge(a.value, (p) => (l(), $("li", { key: p }, s(p), 1))), 128))
926
930
  ])
927
931
  ], !0)
928
932
  ]),
929
933
  _: 3
930
934
  }, 16, ["side", "align", "aria-label"])
931
- ], 8, ["to", "disabled"])) : g("", !0);
935
+ ], 8, ["to", "disabled"])) : b("", !0);
932
936
  }
933
- }), co = /* @__PURE__ */ me(rl, [["__scopeId", "data-v-93861654"]]), Ca = ["B", "KB", "MB", "GB", "TB", "PB"];
934
- function ra(t, p) {
937
+ }), vo = /* @__PURE__ */ me(dl, [["__scopeId", "data-v-93861654"]]), Ca = ["B", "KB", "MB", "GB", "TB", "PB"];
938
+ function ra(t, m) {
935
939
  let o = 0, a = t;
936
940
  for (; a >= 1024 && o < Ca.length - 1; )
937
941
  a /= 1024, o++;
938
- return `${new Intl.NumberFormat(p, { maximumFractionDigits: o ? 1 : 0 }).format(a)} ${Ca[o]}`;
942
+ return `${new Intl.NumberFormat(m, { maximumFractionDigits: o ? 1 : 0 }).format(a)} ${Ca[o]}`;
939
943
  }
940
- const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-location" }, vl = ["aria-label"], fl = {
944
+ const cl = ["aria-busy", "aria-label"], vl = { class: "file-toolbar file-location" }, fl = ["aria-label"], pl = {
941
945
  key: 0,
942
946
  class: "file-toolbar"
943
- }, pl = {
947
+ }, ml = {
944
948
  key: 1,
945
949
  role: "status"
946
- }, ml = { role: "alert" }, yl = {
950
+ }, yl = { role: "alert" }, bl = {
947
951
  key: 4,
948
952
  role: "status"
949
- }, bl = { class: "file-columns" }, gl = ["aria-label"], hl = { class: "file-content" }, kl = { class: "file-name" }, wl = { class: "file-empty" }, _l = { class: "file-bytes" }, xl = {
953
+ }, gl = { class: "file-columns" }, hl = ["aria-label"], kl = { class: "file-content" }, wl = { class: "file-name" }, _l = { class: "file-empty" }, xl = { class: "file-bytes" }, Cl = {
950
954
  key: 5,
951
955
  class: "file-selection",
952
956
  role: "status"
953
- }, Cl = /* @__PURE__ */ fe({
957
+ }, $l = /* @__PURE__ */ fe({
954
958
  __name: "FileBrowser",
955
959
  props: {
956
960
  provider: {},
@@ -960,17 +964,17 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
960
964
  transfers: { type: Boolean, default: !1 }
961
965
  },
962
966
  emits: ["selected"],
963
- setup(t, { emit: p }) {
964
- const o = t, a = p, i = _(() => Te(o.locale)), u = $t(), { busy: r, error: c } = u, m = y([]), d = y([]), f = y([]), x = y(), P = y(), w = y(), C = y([]), E = y(), k = y({ key: "name", direction: "asc" }), T = y(0), N = y([]), te = y(!1);
967
+ setup(t, { emit: m }) {
968
+ const o = t, a = m, i = _(() => Te(o.locale)), u = $t(), { busy: r, error: c } = u, f = y([]), d = y([]), p = y([]), x = y(), P = y(), w = y(), C = y([]), E = y(), k = y({ key: "name", direction: "asc" }), T = y(0), N = y([]), te = y(!1);
965
969
  let F = new AbortController();
966
970
  async function Y() {
967
971
  const D = x.value;
968
972
  !D || D.isDir || !o.provider.download || await u.run(async (U) => (await o.provider.info(D.path, U), o.provider.download(D.path), !0));
969
973
  }
970
974
  async function B() {
971
- const D = f.value.at(-1)?.path, U = N.value[0];
975
+ const D = p.value.at(-1)?.path, U = N.value[0];
972
976
  if (!D || !U || !o.provider.upload) return;
973
- te.value = !1, await u.run(async (Z) => (await o.provider.upload(D, U, Z), !0)) && (N.value = [], await Q(f.value), te.value = !0);
977
+ te.value = !1, await u.run(async (Z) => (await o.provider.upload(D, U, Z), !0)) && (N.value = [], await Q(p.value), te.value = !0);
974
978
  }
975
979
  const K = _(() => [
976
980
  { key: "name", label: i.value.nameColumn, sortable: !0 },
@@ -984,12 +988,12 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
984
988
  x.value = D, a("selected", D?.path);
985
989
  }
986
990
  function q(D) {
987
- P.value = D.path, A(o.mode === "folder" ? D.isDir ? D : f.value.at(-1) : D.isDir ? void 0 : D);
991
+ P.value = D.path, A(o.mode === "folder" ? D.isDir ? D : p.value.at(-1) : D.isDir ? void 0 : D);
988
992
  }
989
993
  function M(D) {
990
994
  D.isDir ? Ae(D) : q(D);
991
995
  }
992
- const se = (D) => m.value.find((U) => U.path === D);
996
+ const se = (D) => f.value.find((U) => U.path === D);
993
997
  function H(D, U, O = []) {
994
998
  for (const Z of D) {
995
999
  const ce = [...O, Z.data];
@@ -1041,29 +1045,29 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1041
1045
  }
1042
1046
  async function Q(D, U = !1) {
1043
1047
  if (r.value) return;
1044
- A(), P.value = void 0, m.value = U ? m.value : [], w.value = U ? w.value : void 0;
1048
+ A(), P.value = void 0, f.value = U ? f.value : [], w.value = U ? w.value : void 0;
1045
1049
  const O = U ? w.value ?? 0 : 0, Z = D.at(-1)?.path;
1046
- f.value = D;
1050
+ p.value = D;
1047
1051
  const ce = await u.run((z) => Z ? o.provider.list(Z, { offset: O, sortBy: k.value.key, sortDirection: k.value.direction === "asc" ? "ASC" : "DESC" }, z) : o.provider.shares(O, z));
1048
- ce && (m.value = U ? [...m.value, ...ce.entries] : ce.entries, w.value = ce.nextOffset, Z ? o.mode === "folder" && !U && A(D.at(-1)) : d.value = m.value.filter((z) => z.isDir).map(R), U || ee(D));
1052
+ ce && (f.value = U ? [...f.value, ...ce.entries] : ce.entries, w.value = ce.nextOffset, Z ? o.mode === "folder" && !U && A(D.at(-1)) : d.value = f.value.filter((z) => z.isDir).map(R), U || ee(D));
1049
1053
  }
1050
- const de = _(() => [{ id: "", display: i.value.roots }, ...f.value.map((D) => ({ id: D.path, display: D.name }))]);
1054
+ const de = _(() => [{ id: "", display: i.value.roots }, ...p.value.map((D) => ({ id: D.path, display: D.name }))]);
1051
1055
  function he(D) {
1052
1056
  const U = de.value.findIndex((O) => O.id === D.id);
1053
- U < f.value.length && ie(f.value.slice(0, U));
1057
+ U < p.value.length && ie(p.value.slice(0, U));
1054
1058
  }
1055
1059
  function Ae(D) {
1056
- ie([...f.value, D]);
1060
+ ie([...p.value, D]);
1057
1061
  }
1058
1062
  const _e = y([[]]), J = y(0);
1059
1063
  function ie(D) {
1060
- r.value || (D.at(-1)?.path !== f.value.at(-1)?.path && (_e.value = [..._e.value.slice(0, J.value + 1), D], J.value++), Q(D));
1064
+ r.value || (D.at(-1)?.path !== p.value.at(-1)?.path && (_e.value = [..._e.value.slice(0, J.value + 1), D], J.value++), Q(D));
1061
1065
  }
1062
1066
  function ne(D) {
1063
1067
  r.value || (J.value += D, Q(_e.value[J.value]));
1064
1068
  }
1065
1069
  function ye(D) {
1066
- k.value = { key: D?.key === "bytes" ? "size" : "name", direction: D?.direction ?? "asc" }, Q(f.value);
1070
+ k.value = { key: D?.key === "bytes" ? "size" : "name", direction: D?.direction ?? "asc" }, Q(p.value);
1067
1071
  }
1068
1072
  function Pe() {
1069
1073
  r.value || (T.value++, F.abort(), F = new AbortController(), d.value = [], C.value = [], E.value = void 0, _e.value = [[]], J.value = 0, Q([]));
@@ -1077,7 +1081,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1077
1081
  "aria-busy": e(r),
1078
1082
  "aria-label": i.value.title
1079
1083
  }, [
1080
- S("div", cl, [
1084
+ S("div", vl, [
1081
1085
  v(e(na), {
1082
1086
  label: i.value.back,
1083
1087
  size: "sm",
@@ -1129,9 +1133,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1129
1133
  "collapsed-label": i.value.fullPath,
1130
1134
  onClickItem: he
1131
1135
  }, null, 8, ["items", "collapsed-label"])
1132
- ], 8, vl)
1136
+ ], 8, fl)
1133
1137
  ]),
1134
- t.transfers && t.provider.upload && f.value.length ? (l(), $("div", fl, [
1138
+ t.transfers && t.provider.upload && p.value.length ? (l(), $("div", pl, [
1135
1139
  v(e(ft), {
1136
1140
  modelValue: N.value,
1137
1141
  "onUpdate:modelValue": U[2] || (U[2] = (O) => N.value = O),
@@ -1152,9 +1156,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1152
1156
  ]),
1153
1157
  _: 1
1154
1158
  }, 8, ["disabled"])
1155
- ])) : g("", !0),
1156
- te.value ? (l(), $("p", pl, s(i.value.uploaded), 1)) : g("", !0),
1157
- t.transfers && t.provider.download && x.value && !x.value.isDir && !e(c) ? (l(), b(e(V), {
1159
+ ])) : b("", !0),
1160
+ te.value ? (l(), $("p", ml, s(i.value.uploaded), 1)) : b("", !0),
1161
+ t.transfers && t.provider.download && x.value && !x.value.isDir && !e(c) ? (l(), g(e(V), {
1158
1162
  key: 2,
1159
1163
  variant: "secondary",
1160
1164
  disabled: e(r),
@@ -1164,23 +1168,23 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1164
1168
  h(s(i.value.download), 1)
1165
1169
  ]),
1166
1170
  _: 1
1167
- }, 8, ["disabled"])) : g("", !0),
1168
- e(c) ? (l(), b(e(j), {
1171
+ }, 8, ["disabled"])) : b("", !0),
1172
+ e(c) ? (l(), g(e(j), {
1169
1173
  key: 3,
1170
1174
  tone: "danger"
1171
1175
  }, {
1172
1176
  default: n(() => [
1173
- S("span", ml, s(e(Sa)(e(c), i.value, t.locale, t.name)), 1)
1177
+ S("span", yl, s(e(Sa)(e(c), i.value, t.locale, t.name)), 1)
1174
1178
  ]),
1175
1179
  _: 1
1176
- })) : g("", !0),
1177
- e(r) ? (l(), $("p", yl, s(i.value.loading), 1)) : g("", !0),
1178
- S("div", bl, [
1180
+ })) : b("", !0),
1181
+ e(r) ? (l(), $("p", bl, s(i.value.loading), 1)) : b("", !0),
1182
+ S("div", gl, [
1179
1183
  S("aside", {
1180
1184
  class: "file-tree",
1181
1185
  "aria-label": i.value.roots
1182
1186
  }, [
1183
- d.value.length ? (l(), b(e(pt), {
1187
+ d.value.length ? (l(), g(e(pt), {
1184
1188
  key: T.value,
1185
1189
  "selection-style": "background",
1186
1190
  modelValue: E.value,
@@ -1192,13 +1196,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1192
1196
  "load-children": X,
1193
1197
  "expand-label": (O, Z) => e(Je)(Z ? i.value.collapse : i.value.expand, { name: O.label }),
1194
1198
  onSelect: U[7] || (U[7] = (O) => ie(H(d.value, O.id) ?? [O.data]))
1195
- }, null, 8, ["modelValue", "nodes", "expanded", "expand-label"])) : g("", !0)
1196
- ], 8, gl),
1197
- S("div", hl, [
1198
- e(c) ? g("", !0) : (l(), b(e(mt), {
1199
+ }, null, 8, ["modelValue", "nodes", "expanded", "expand-label"])) : b("", !0)
1200
+ ], 8, hl),
1201
+ S("div", kl, [
1202
+ e(c) ? b("", !0) : (l(), g(e(mt), {
1199
1203
  key: 0,
1200
1204
  columns: K.value,
1201
- rows: m.value.map((O) => ({ ...O, kind: O.isDir ? i.value.directoryKind : i.value.fileKind })),
1205
+ rows: f.value.map((O) => ({ ...O, kind: O.isDir ? i.value.directoryKind : i.value.fileKind })),
1202
1206
  "row-key": "path",
1203
1207
  footer: !1,
1204
1208
  resizable: !1,
@@ -1222,7 +1226,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1222
1226
  })
1223
1227
  }, {
1224
1228
  "cell-name": n(({ row: O }) => [
1225
- S("span", kl, [
1229
+ S("span", wl, [
1226
1230
  v(e(la), {
1227
1231
  kind: O.isDir ? "folder" : "file",
1228
1232
  name: O.name
@@ -1231,7 +1235,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1231
1235
  ])
1232
1236
  ]),
1233
1237
  empty: n(() => [
1234
- S("div", wl, [
1238
+ S("div", _l, [
1235
1239
  v(e(la), {
1236
1240
  kind: "folder",
1237
1241
  size: [40, 40]
@@ -1240,30 +1244,30 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1240
1244
  ])
1241
1245
  ]),
1242
1246
  "cell-bytes": n(({ row: O }) => [
1243
- S("span", _l, s(O.isDir || O.bytes === void 0 ? "—" : e(ra)(O.bytes, e(va)(t.locale))), 1)
1247
+ S("span", xl, s(O.isDir || O.bytes === void 0 ? "—" : e(ra)(O.bytes, e(va)(t.locale))), 1)
1244
1248
  ]),
1245
1249
  _: 1
1246
1250
  }, 8, ["columns", "rows", "loading", "loading-text", "sort", "labels", "selected-keys"])),
1247
- w.value !== void 0 && !e(c) ? (l(), b(e(V), {
1251
+ w.value !== void 0 && !e(c) ? (l(), g(e(V), {
1248
1252
  key: 1,
1249
1253
  variant: "secondary",
1250
1254
  disabled: e(r),
1251
- onClick: U[11] || (U[11] = (O) => Q(f.value, !0))
1255
+ onClick: U[11] || (U[11] = (O) => Q(p.value, !0))
1252
1256
  }, {
1253
1257
  default: n(() => [
1254
1258
  h(s(i.value.loadMore), 1)
1255
1259
  ]),
1256
1260
  _: 1
1257
- }, 8, ["disabled"])) : g("", !0)
1261
+ }, 8, ["disabled"])) : b("", !0)
1258
1262
  ])
1259
1263
  ]),
1260
- x.value && !e(c) ? (l(), $("p", xl, s(e(Je)(i.value.selected, { name: x.value.path })), 1)) : g("", !0)
1261
- ], 8, dl));
1264
+ x.value && !e(c) ? (l(), $("p", Cl, s(e(Je)(i.value.selected, { name: x.value.path })), 1)) : b("", !0)
1265
+ ], 8, cl));
1262
1266
  }
1263
- }), Ma = /* @__PURE__ */ me(Cl, [["__scopeId", "data-v-f4863cea"]]), $l = {
1267
+ }), Ma = /* @__PURE__ */ me($l, [["__scopeId", "data-v-f4863cea"]]), Sl = {
1264
1268
  key: 0,
1265
1269
  class: "save-consent"
1266
- }, Sl = ["aria-busy", "inert"], Pl = /* @__PURE__ */ fe({
1270
+ }, Pl = ["aria-busy", "inert"], El = /* @__PURE__ */ fe({
1267
1271
  __name: "NasPicker",
1268
1272
  props: {
1269
1273
  open: { type: Boolean },
@@ -1277,43 +1281,43 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1277
1281
  errorText: { type: Function }
1278
1282
  },
1279
1283
  emits: ["update:open", "selected", "authorized", "refused"],
1280
- setup(t, { emit: p }) {
1281
- const o = t, a = p, i = y(), u = _(() => Te(o.locale)), r = _(() => fa(o.locale)), c = y(!1), m = y();
1282
- let d = 0, f = !1;
1284
+ setup(t, { emit: m }) {
1285
+ const o = t, a = m, i = y(), u = _(() => Te(o.locale)), r = _(() => fa(o.locale)), c = y(!1), f = y();
1286
+ let d = 0, p = !1;
1283
1287
  Oe(() => o.open, () => {
1284
- d++, i.value = void 0, m.value = void 0;
1288
+ d++, i.value = void 0, f.value = void 0;
1285
1289
  }), we(() => {
1286
- f = !0, d++;
1290
+ p = !0, d++;
1287
1291
  });
1288
1292
  function x() {
1289
1293
  c.value || (i.value = void 0, a("update:open", !1));
1290
1294
  }
1291
1295
  async function P() {
1292
1296
  const w = i.value, C = o.destination, E = d;
1293
- if (!(!w || c.value || !o.open || f || C && o.mode !== "folder")) {
1297
+ if (!(!w || c.value || !o.open || p || C && o.mode !== "folder")) {
1294
1298
  if (!C) {
1295
1299
  a("selected", w), x();
1296
1300
  return;
1297
1301
  }
1298
- c.value = !0, m.value = void 0;
1302
+ c.value = !0, f.value = void 0;
1299
1303
  try {
1300
1304
  const k = await C.selectDestination({ key: C.key, path: w });
1301
- if (f || E !== d) return;
1305
+ if (p || E !== d) return;
1302
1306
  if (!k || typeof k.id != "string" || !k.id || typeof k.username != "string" || !k.username || k.path !== w || k.key !== C.key || k.lifetime !== "until-revoked") throw { code: "commit-uncertain" };
1303
1307
  a("authorized", k), c.value = !1, x();
1304
1308
  } catch (k) {
1305
- if (f || E !== d) return;
1309
+ if (p || E !== d) return;
1306
1310
  if (k?.code === "APP_DENIED") {
1307
1311
  c.value = !1, a("refused", k), x();
1308
1312
  return;
1309
1313
  }
1310
- m.value = k;
1314
+ f.value = k;
1311
1315
  } finally {
1312
- f || (c.value = !1);
1316
+ p || (c.value = !1);
1313
1317
  }
1314
1318
  }
1315
1319
  }
1316
- return (w, C) => (l(), b(e(Ge), {
1320
+ return (w, C) => (l(), g(e(Ge), {
1317
1321
  open: t.open,
1318
1322
  title: t.title ?? (t.mode === "folder" ? u.value.choose : u.value.chooseFile),
1319
1323
  description: t.description ?? u.value.ownPermissions,
@@ -1353,67 +1357,67 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1353
1357
  }, 8, ["disabled"])
1354
1358
  ]),
1355
1359
  default: n(() => [
1356
- t.destination ? (l(), $("p", $l, s(r.value.selection), 1)) : g("", !0),
1357
- m.value ? (l(), b(e(j), {
1360
+ t.destination ? (l(), $("p", Sl, s(r.value.selection), 1)) : b("", !0),
1361
+ f.value ? (l(), g(e(j), {
1358
1362
  key: 1,
1359
1363
  tone: "danger",
1360
1364
  role: "alert",
1361
1365
  class: "save-message"
1362
1366
  }, {
1363
1367
  default: n(() => [
1364
- h(s(t.errorText?.(m.value) ?? e(Ye)(m.value, r.value, "select", t.locale, t.name)), 1)
1368
+ h(s(t.errorText?.(f.value) ?? e(Ye)(f.value, r.value, "select", t.locale, t.name)), 1)
1365
1369
  ]),
1366
1370
  _: 1
1367
- })) : g("", !0),
1371
+ })) : b("", !0),
1368
1372
  S("div", {
1369
1373
  class: "nas-picker-content",
1370
1374
  "aria-busy": c.value,
1371
1375
  inert: c.value
1372
1376
  }, [
1373
- t.open ? (l(), b(Ma, {
1377
+ t.open ? (l(), g(Ma, {
1374
1378
  key: 0,
1375
1379
  provider: t.provider,
1376
1380
  locale: t.locale,
1377
1381
  name: t.name,
1378
1382
  mode: t.mode,
1379
1383
  onSelected: C[0] || (C[0] = (E) => i.value = E)
1380
- }, null, 8, ["provider", "locale", "name", "mode"])) : g("", !0)
1381
- ], 8, Sl)
1384
+ }, null, 8, ["provider", "locale", "name", "mode"])) : b("", !0)
1385
+ ], 8, Pl)
1382
1386
  ]),
1383
1387
  _: 1
1384
1388
  }, 8, ["open", "title", "description", "close-label", "show-close"]));
1385
1389
  }
1386
- }), ta = /* @__PURE__ */ me(Pl, [["__scopeId", "data-v-08be5e1e"]]), El = { role: "alert" }, Tl = { class: "files-actions" }, zl = {
1390
+ }), ta = /* @__PURE__ */ me(El, [["__scopeId", "data-v-08be5e1e"]]), Tl = { role: "alert" }, zl = { class: "files-actions" }, Al = {
1387
1391
  key: 0,
1388
1392
  class: "files-path",
1389
1393
  role: "status"
1390
- }, Al = /* @__PURE__ */ fe({
1394
+ }, Rl = /* @__PURE__ */ fe({
1391
1395
  __name: "FilesPage",
1392
1396
  props: {
1393
1397
  ctx: {}
1394
1398
  },
1395
1399
  setup(t) {
1396
- const p = t, o = y(), a = y(), i = y(!1), u = y("folder"), r = y(!1), c = y(""), m = y(0), d = Pa(p.ctx);
1397
- let f = !1, x;
1400
+ const m = t, o = y(), a = y(), i = y(!1), u = y("folder"), r = y(!1), c = y(""), f = y(0), d = Pa(m.ctx);
1401
+ let p = !1, x;
1398
1402
  async function P() {
1399
- if (!f) {
1400
- o.value = void 0, i.value = !1, c.value = "", r.value = !1, m.value++;
1403
+ if (!p) {
1404
+ o.value = void 0, i.value = !1, c.value = "", r.value = !1, f.value++;
1401
1405
  try {
1402
- await p.ctx.call("nas.session.status"), f || (a.value = void 0, i.value = !0);
1406
+ await m.ctx.call("nas.session.status"), p || (a.value = void 0, i.value = !0);
1403
1407
  } catch (w) {
1404
- if (f) return;
1408
+ if (p) return;
1405
1409
  a.value = Ce(w), !a.value && w?.code !== "unknown_method" && (o.value = w);
1406
1410
  }
1407
1411
  }
1408
1412
  }
1409
1413
  return Ke(() => a.value, P), Se(() => {
1410
- x = p.ctx.reopen(() => {
1414
+ x = m.ctx.reopen(() => {
1411
1415
  P();
1412
1416
  }), P();
1413
1417
  }), we(() => {
1414
- f = !0, x?.(), d.dispose();
1418
+ p = !0, x?.(), d.dispose();
1415
1419
  }), (w, C) => (l(), $(oe, null, [
1416
- a.value ? (l(), b(e(j), {
1420
+ a.value ? (l(), g(e(j), {
1417
1421
  key: 0,
1418
1422
  tone: "info",
1419
1423
  role: "status"
@@ -1422,13 +1426,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1422
1426
  h(s(e(Ne)(a.value, t.ctx.locale)), 1)
1423
1427
  ]),
1424
1428
  _: 1
1425
- })) : g("", !0),
1426
- o.value ? (l(), b(e(j), {
1429
+ })) : b("", !0),
1430
+ o.value ? (l(), g(e(j), {
1427
1431
  key: 1,
1428
1432
  tone: "danger"
1429
1433
  }, {
1430
1434
  default: n(() => [
1431
- S("span", El, s(e(Sa)(o.value, e(Te)(t.ctx.locale), t.ctx.locale, t.ctx.displayName)), 1),
1435
+ S("span", Tl, s(e(Sa)(o.value, e(Te)(t.ctx.locale), t.ctx.locale, t.ctx.displayName)), 1),
1432
1436
  v(e(V), {
1433
1437
  variant: "secondary",
1434
1438
  onClick: P
@@ -1440,15 +1444,15 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1440
1444
  })
1441
1445
  ]),
1442
1446
  _: 1
1443
- })) : g("", !0),
1444
- i.value ? (l(), b(e(ke), {
1447
+ })) : b("", !0),
1448
+ i.value ? (l(), g(e(ke), {
1445
1449
  key: 2,
1446
1450
  title: e(Te)(t.ctx.locale).title,
1447
1451
  description: e(Te)(t.ctx.locale).ownPermissions,
1448
1452
  collapsible: !1
1449
1453
  }, {
1450
1454
  default: n(() => [
1451
- S("div", Tl, [
1455
+ S("div", zl, [
1452
1456
  v(e(V), {
1453
1457
  variant: "secondary",
1454
1458
  onClick: C[0] || (C[0] = (E) => {
@@ -1472,11 +1476,11 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1472
1476
  _: 1
1473
1477
  })
1474
1478
  ]),
1475
- c.value ? (l(), $("p", zl, [
1479
+ c.value ? (l(), $("p", Al, [
1476
1480
  v(e(Ue), { path: c.value }, null, 8, ["path"])
1477
- ])) : g("", !0),
1478
- (l(), b(Ma, {
1479
- key: m.value,
1481
+ ])) : b("", !0),
1482
+ (l(), g(Ma, {
1483
+ key: f.value,
1480
1484
  provider: e(d),
1481
1485
  locale: t.ctx.locale,
1482
1486
  name: t.ctx.displayName,
@@ -1493,16 +1497,16 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1493
1497
  }, null, 8, ["provider", "locale", "name", "mode", "open"])
1494
1498
  ]),
1495
1499
  _: 1
1496
- }, 8, ["title", "description"])) : g("", !0)
1500
+ }, 8, ["title", "description"])) : b("", !0)
1497
1501
  ], 64));
1498
1502
  }
1499
- }), vo = /* @__PURE__ */ me(Al, [["__scopeId", "data-v-a8fc5aa4"]]), Rl = { role: "status" }, Il = { role: "alert" }, oa = /* @__PURE__ */ new WeakMap(), fo = /* @__PURE__ */ fe({
1503
+ }), fo = /* @__PURE__ */ me(Rl, [["__scopeId", "data-v-a8fc5aa4"]]), Il = { role: "status" }, Dl = { role: "alert" }, oa = /* @__PURE__ */ new WeakMap(), po = /* @__PURE__ */ fe({
1500
1504
  __name: "PortalSettings",
1501
1505
  props: {
1502
1506
  portal: {}
1503
1507
  },
1504
1508
  setup(t) {
1505
- const p = t, o = Va(), a = p.portal.messages, i = y(), u = y(""), r = y(!1), c = y(""), m = y(!0), d = y(!1), f = y(oa.get(p.portal));
1509
+ const m = t, o = Va(), a = m.portal.messages, i = y(), u = y(""), r = y(!1), c = y(""), f = y(!0), d = y(!1), p = y(oa.get(m.portal));
1506
1510
  let x = !1, P = !1;
1507
1511
  function w(R) {
1508
1512
  if (!P && (i.value = R, u.value = R.alias || R.defaultAlias, R.url))
@@ -1512,7 +1516,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1512
1516
  } catch {
1513
1517
  }
1514
1518
  }
1515
- const C = p.portal.lastStatus?.();
1519
+ const C = m.portal.lastStatus?.();
1516
1520
  C && w(C);
1517
1521
  const E = 5e3, k = /* @__PURE__ */ Symbol("late");
1518
1522
  async function T(R) {
@@ -1525,11 +1529,11 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1525
1529
  w(q);
1526
1530
  return;
1527
1531
  }
1528
- w(await p.portal.status());
1532
+ w(await m.portal.status());
1529
1533
  try {
1530
1534
  await A;
1531
1535
  } finally {
1532
- w(await p.portal.status());
1536
+ w(await m.portal.status());
1533
1537
  }
1534
1538
  } catch (q) {
1535
1539
  P || (c.value = a[q?.code || ""] || a.portal_unavailable);
@@ -1546,23 +1550,23 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1546
1550
  }
1547
1551
  }), F = a.link?.replace(/\s*[::]\s*$/, "");
1548
1552
  async function Y() {
1549
- const R = await p.portal.register();
1550
- return R.canManage && R.entry === "registered" && R.state === "inactive" ? (w(R), p.portal.apply(R.alias || R.defaultAlias)) : R;
1553
+ const R = await m.portal.register();
1554
+ return R.canManage && R.entry === "registered" && R.state === "inactive" ? (w(R), m.portal.apply(R.alias || R.defaultAlias)) : R;
1551
1555
  }
1552
1556
  function B() {
1553
- !r.value && !f.value && p.portal.status().then(w, () => {
1557
+ !r.value && !p.value && m.portal.status().then(w, () => {
1554
1558
  }).finally(() => {
1555
- P || (m.value = !1);
1559
+ P || (f.value = !1);
1556
1560
  });
1557
1561
  }
1558
1562
  function K() {
1559
- x ? d.value = !0 : T(() => p.portal.unregister());
1563
+ x ? d.value = !0 : T(() => m.portal.unregister());
1560
1564
  }
1561
1565
  async function L() {
1562
1566
  if (d.value = !1, !r.value) {
1563
- r.value = !0, f.value = "removalUnconfirmed", oa.set(p.portal, f.value);
1567
+ r.value = !0, p.value = "removalUnconfirmed", oa.set(m.portal, p.value);
1564
1568
  try {
1565
- await p.portal.unregister(), f.value = "removedFromPage", oa.set(p.portal, f.value);
1569
+ await m.portal.unregister(), p.value = "removedFromPage", oa.set(m.portal, p.value);
1566
1570
  } catch {
1567
1571
  } finally {
1568
1572
  P || (r.value = !1);
@@ -1574,7 +1578,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1574
1578
  }), we(() => {
1575
1579
  P = !0;
1576
1580
  }), (R, A) => (l(), $(oe, null, [
1577
- f.value ? (l(), b(e(ke), {
1581
+ p.value ? (l(), g(e(ke), {
1578
1582
  key: 0,
1579
1583
  title: e(a).title,
1580
1584
  collapsible: !1
@@ -1582,7 +1586,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1582
1586
  default: n(() => [
1583
1587
  v(e(j), { tone: "info" }, {
1584
1588
  default: n(() => [
1585
- S("span", Rl, s(e(a)[f.value]), 1)
1589
+ S("span", Il, s(e(a)[p.value]), 1)
1586
1590
  ]),
1587
1591
  _: 1
1588
1592
  }),
@@ -1597,7 +1601,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1597
1601
  })
1598
1602
  ]),
1599
1603
  _: 1
1600
- }, 8, ["title"])) : i.value || m.value ? (l(), b(e(ke), {
1604
+ }, 8, ["title"])) : i.value || f.value ? (l(), g(e(ke), {
1601
1605
  key: 1,
1602
1606
  title: e(a).title,
1603
1607
  description: te.value,
@@ -1606,7 +1610,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1606
1610
  }, za({
1607
1611
  default: n(() => [
1608
1612
  i.value ? (l(), $(oe, { key: 1 }, [
1609
- i.value.state === "active" ? (l(), b(e(xe), {
1613
+ i.value.state === "active" ? (l(), g(e(xe), {
1610
1614
  key: 0,
1611
1615
  label: e(F)
1612
1616
  }, {
@@ -1622,8 +1626,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1622
1626
  }, 8, ["href"])
1623
1627
  ]),
1624
1628
  _: 1
1625
- }, 8, ["label"])) : g("", !0),
1626
- i.value.canManage && !N.value ? (l(), b(e(Me), {
1629
+ }, 8, ["label"])) : b("", !0),
1630
+ i.value.canManage && !N.value ? (l(), g(e(Me), {
1627
1631
  key: 1,
1628
1632
  onSubmit: A[3] || (A[3] = qe((q) => T(() => t.portal.apply(u.value)), ["prevent"]))
1629
1633
  }, {
@@ -1661,7 +1665,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1661
1665
  ]),
1662
1666
  _: 1
1663
1667
  }, 8, ["disabled"]),
1664
- i.value.state === "active" ? (l(), b(e(V), {
1668
+ i.value.state === "active" ? (l(), g(e(V), {
1665
1669
  key: 0,
1666
1670
  variant: "secondary",
1667
1671
  disabled: r.value,
@@ -1671,7 +1675,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1671
1675
  h(s(e(a).disable), 1)
1672
1676
  ]),
1673
1677
  _: 1
1674
- }, 8, ["disabled"])) : g("", !0),
1678
+ }, 8, ["disabled"])) : b("", !0),
1675
1679
  v(e(V), {
1676
1680
  variant: "secondary",
1677
1681
  onClick: A[2] || (A[2] = (q) => t.portal.openControlPanel())
@@ -1681,7 +1685,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1681
1685
  ]),
1682
1686
  _: 1
1683
1687
  }),
1684
- i.value.entry ? (l(), b(e(V), {
1688
+ i.value.entry ? (l(), g(e(V), {
1685
1689
  key: 1,
1686
1690
  variant: "secondary",
1687
1691
  disabled: r.value,
@@ -1691,7 +1695,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1691
1695
  h(s(e(a).unregister), 1)
1692
1696
  ]),
1693
1697
  _: 1
1694
- }, 8, ["disabled"])) : g("", !0)
1698
+ }, 8, ["disabled"])) : b("", !0)
1695
1699
  ]),
1696
1700
  _: 1
1697
1701
  })
@@ -1700,17 +1704,17 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1700
1704
  })
1701
1705
  ]),
1702
1706
  _: 1
1703
- })) : g("", !0),
1704
- c.value ? (l(), b(e(j), {
1707
+ })) : b("", !0),
1708
+ c.value ? (l(), g(e(j), {
1705
1709
  key: 2,
1706
1710
  tone: "danger"
1707
1711
  }, {
1708
1712
  default: n(() => [
1709
- S("span", Il, s(c.value), 1)
1713
+ S("span", Dl, s(c.value), 1)
1710
1714
  ]),
1711
1715
  _: 1
1712
- })) : g("", !0)
1713
- ], 64)) : (l(!0), $(oe, { key: 0 }, ge([[e(F), "20px"], [e(a).alias, "32px"], ["", "32px"]], ([q, M], se) => (l(), b(e(xe), {
1716
+ })) : b("", !0)
1717
+ ], 64)) : (l(!0), $(oe, { key: 0 }, ge([[e(F), "20px"], [e(a).alias, "32px"], ["", "32px"]], ([q, M], se) => (l(), g(e(xe), {
1714
1718
  key: se,
1715
1719
  label: q,
1716
1720
  "data-placeholder-row": ""
@@ -1729,7 +1733,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1729
1733
  i.value && N.value ? {
1730
1734
  name: "footer",
1731
1735
  fn: n(() => [
1732
- i.value.entry === "unregistered" ? (l(), b(e(V), {
1736
+ i.value.entry === "unregistered" ? (l(), g(e(V), {
1733
1737
  key: 0,
1734
1738
  variant: "primary",
1735
1739
  disabled: r.value,
@@ -1739,7 +1743,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1739
1743
  h(s(e(a).register), 1)
1740
1744
  ]),
1741
1745
  _: 1
1742
- }, 8, ["disabled"])) : (l(), b(e(V), {
1746
+ }, 8, ["disabled"])) : (l(), g(e(V), {
1743
1747
  key: 1,
1744
1748
  variant: "primary",
1745
1749
  disabled: r.value,
@@ -1767,7 +1771,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1767
1771
  ]),
1768
1772
  key: "1"
1769
1773
  } : void 0
1770
- ]), 1032, ["title", "description", "aria-busy"])) : g("", !0),
1774
+ ]), 1032, ["title", "description", "aria-busy"])) : b("", !0),
1771
1775
  v(e(Ge), {
1772
1776
  open: d.value,
1773
1777
  "onUpdate:open": A[7] || (A[7] = (q) => d.value = q),
@@ -1800,30 +1804,30 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1800
1804
  }, 8, ["open", "title", "description", "close-label"])
1801
1805
  ], 64));
1802
1806
  }
1803
- }), Dl = ["aria-busy"], Ul = { role: "alert" }, Vl = {
1807
+ }), Ul = ["aria-busy"], Vl = { role: "alert" }, Nl = {
1804
1808
  key: 2,
1805
1809
  role: "status"
1806
- }, Nl = { role: "alert" }, Bl = { role: "status" }, Ll = /* @__PURE__ */ fe({
1810
+ }, Bl = { role: "alert" }, Ll = { role: "status" }, Ol = /* @__PURE__ */ fe({
1807
1811
  __name: "LoginPage",
1808
1812
  props: {
1809
1813
  session: {},
1810
1814
  locale: {}
1811
1815
  },
1812
1816
  setup(t) {
1813
- const p = t, o = _(() => Xa(p.locale)), a = y(""), i = y(""), u = y(""), r = y(!1), c = y(!1), m = y(""), d = y(), f = _(() => window.location.protocol === "https:");
1817
+ const m = t, o = _(() => Xa(m.locale)), a = y(""), i = y(""), u = y(""), r = y(!1), c = y(!1), f = y(""), d = y(), p = _(() => window.location.protocol === "https:");
1814
1818
  let x = !1;
1815
1819
  function P(k) {
1816
1820
  const T = k?.code;
1817
- return p.session.denied.value?.message || o.value.errors[T || ""] || o.value.errors.failed;
1821
+ return m.session.denied.value?.message || o.value.errors[T || ""] || o.value.errors.failed;
1818
1822
  }
1819
1823
  async function w() {
1820
- if (!(c.value || !f.value || !a.value || !i.value || r.value && !u.value)) {
1821
- c.value = !0, m.value = "";
1824
+ if (!(c.value || !p.value || !a.value || !i.value || r.value && !u.value)) {
1825
+ c.value = !0, f.value = "";
1822
1826
  try {
1823
- await p.session.login(a.value, i.value, u.value), i.value = "", u.value = "";
1827
+ await m.session.login(a.value, i.value, u.value), i.value = "", u.value = "";
1824
1828
  } catch (k) {
1825
1829
  if (x) return;
1826
- u.value = "", k?.code === "otp_required" ? r.value = !0 : (m.value = P(k), i.value = "", r.value = !1);
1830
+ u.value = "", k?.code === "otp_required" ? r.value = !0 : (f.value = P(k), i.value = "", r.value = !1);
1827
1831
  } finally {
1828
1832
  x || (c.value = !1, r.value && (await nt(), x || d.value?.querySelector("input")?.focus()));
1829
1833
  }
@@ -1831,18 +1835,18 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1831
1835
  }
1832
1836
  async function C() {
1833
1837
  if (!c.value) {
1834
- c.value = !0, m.value = "";
1838
+ c.value = !0, f.value = "";
1835
1839
  try {
1836
- await p.session.bootstrap();
1840
+ await m.session.bootstrap();
1837
1841
  } catch (k) {
1838
- x || (m.value = P(k));
1842
+ x || (f.value = P(k));
1839
1843
  } finally {
1840
1844
  x || (c.value = !1);
1841
1845
  }
1842
1846
  }
1843
1847
  }
1844
1848
  function E() {
1845
- i.value = "", u.value = "", r.value = !1, m.value = "";
1849
+ i.value = "", u.value = "", r.value = !1, f.value = "";
1846
1850
  }
1847
1851
  return Ra(() => {
1848
1852
  x = !0, i.value = "", u.value = "";
@@ -1856,7 +1860,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1856
1860
  collapsible: !1
1857
1861
  }, {
1858
1862
  default: n(() => [
1859
- f.value ? g("", !0) : (l(), b(e(j), {
1863
+ p.value ? b("", !0) : (l(), g(e(j), {
1860
1864
  key: 0,
1861
1865
  tone: "warning",
1862
1866
  title: o.value.httpsTitle
@@ -1866,26 +1870,26 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1866
1870
  ]),
1867
1871
  _: 1
1868
1872
  }, 8, ["title"])),
1869
- t.session.denied.value ? (l(), b(e(j), {
1873
+ t.session.denied.value ? (l(), g(e(j), {
1870
1874
  key: 1,
1871
1875
  tone: "danger"
1872
1876
  }, {
1873
1877
  default: n(() => [
1874
- S("span", Ul, s(t.session.denied.value.message), 1)
1878
+ S("span", Vl, s(t.session.denied.value.message), 1)
1875
1879
  ]),
1876
1880
  _: 1
1877
- })) : t.session.notice.value ? (l(), $("p", Vl, s(o.value.notices[t.session.notice.value]), 1)) : g("", !0),
1878
- m.value && !t.session.denied.value ? (l(), b(e(j), {
1881
+ })) : t.session.notice.value ? (l(), $("p", Nl, s(o.value.notices[t.session.notice.value]), 1)) : b("", !0),
1882
+ f.value && !t.session.denied.value ? (l(), g(e(j), {
1879
1883
  key: 3,
1880
1884
  tone: "danger",
1881
1885
  title: o.value.failedTitle
1882
1886
  }, {
1883
1887
  default: n(() => [
1884
- S("span", Nl, s(m.value), 1)
1888
+ S("span", Bl, s(f.value), 1)
1885
1889
  ]),
1886
1890
  _: 1
1887
- }, 8, ["title"])) : g("", !0),
1888
- t.session.denied.value ? g("", !0) : (l(), b(e(Me), {
1891
+ }, 8, ["title"])) : b("", !0),
1892
+ t.session.denied.value ? b("", !0) : (l(), g(e(Me), {
1889
1893
  key: 4,
1890
1894
  onSubmit: qe(w, ["prevent"])
1891
1895
  }, {
@@ -1898,13 +1902,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1898
1902
  modelValue: a.value,
1899
1903
  "onUpdate:modelValue": T[0] || (T[0] = (N) => a.value = N),
1900
1904
  autocomplete: "username",
1901
- disabled: c.value || r.value || !f.value
1905
+ disabled: c.value || r.value || !p.value
1902
1906
  }, null, 8, ["modelValue", "disabled"])
1903
1907
  ]),
1904
1908
  _: 1
1905
1909
  }, 8, ["label"]),
1906
1910
  r.value ? (l(), $(oe, { key: 1 }, [
1907
- S("p", Bl, s(o.value.otpPrompt), 1),
1911
+ S("p", Ll, s(o.value.otpPrompt), 1),
1908
1912
  S("div", {
1909
1913
  ref_key: "otpField",
1910
1914
  ref: d
@@ -1924,7 +1928,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1924
1928
  _: 1
1925
1929
  }, 8, ["label"])
1926
1930
  ], 512)
1927
- ], 64)) : (l(), b(e($e), {
1931
+ ], 64)) : (l(), g(e($e), {
1928
1932
  key: 0,
1929
1933
  label: o.value.password
1930
1934
  }, {
@@ -1934,7 +1938,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1934
1938
  "onUpdate:modelValue": T[1] || (T[1] = (N) => i.value = N),
1935
1939
  type: "password",
1936
1940
  autocomplete: "current-password",
1937
- disabled: c.value || !f.value
1941
+ disabled: c.value || !p.value
1938
1942
  }, null, 8, ["modelValue", "disabled"])
1939
1943
  ]),
1940
1944
  _: 1
@@ -1944,14 +1948,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1944
1948
  v(e(V), {
1945
1949
  type: "submit",
1946
1950
  variant: "primary",
1947
- disabled: c.value || !f.value || !a.value || !i.value || r.value && !u.value
1951
+ disabled: c.value || !p.value || !a.value || !i.value || r.value && !u.value
1948
1952
  }, {
1949
1953
  default: n(() => [
1950
1954
  h(s(c.value ? o.value.signingIn : r.value ? o.value.verify : o.value.signIn), 1)
1951
1955
  ]),
1952
1956
  _: 1
1953
1957
  }, 8, ["disabled"]),
1954
- r.value ? (l(), b(e(V), {
1958
+ r.value ? (l(), g(e(V), {
1955
1959
  key: 0,
1956
1960
  variant: "secondary",
1957
1961
  disabled: c.value,
@@ -1961,10 +1965,10 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1961
1965
  h(s(o.value.otherAccount), 1)
1962
1966
  ]),
1963
1967
  _: 1
1964
- }, 8, ["disabled"])) : (l(), b(e(V), {
1968
+ }, 8, ["disabled"])) : (l(), g(e(V), {
1965
1969
  key: 1,
1966
1970
  variant: "secondary",
1967
- disabled: c.value || !f.value,
1971
+ disabled: c.value || !p.value,
1968
1972
  onClick: C
1969
1973
  }, {
1970
1974
  default: n(() => [
@@ -1981,47 +1985,47 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
1981
1985
  ]),
1982
1986
  _: 1
1983
1987
  }, 8, ["title", "description"])
1984
- ], 8, Dl));
1988
+ ], 8, Ul));
1985
1989
  }
1986
- }), po = /* @__PURE__ */ me(Ll, [["__scopeId", "data-v-07e4497c"]]), Ol = { class: "integration-actions" }, Fl = { role: "status" }, ql = { class: "integration-help" }, Ml = { class: "integration-help" }, Kl = { class: "integration-help" }, Hl = { class: "integration-actions" }, Xl = {
1990
+ }), mo = /* @__PURE__ */ me(Ol, [["__scopeId", "data-v-07e4497c"]]), Fl = { class: "integration-actions" }, ql = { role: "status" }, Ml = { class: "integration-help" }, Kl = { class: "integration-help" }, Hl = { class: "integration-help" }, Xl = { class: "integration-actions" }, Wl = {
1987
1991
  key: 0,
1988
1992
  role: "status",
1989
1993
  "data-bg-picked": "",
1990
1994
  class: "bg-path"
1991
- }, Wl = { class: "integration-actions" }, Gl = { key: 2 }, Jl = {
1995
+ }, Gl = { class: "integration-actions" }, Jl = { key: 2 }, Yl = {
1992
1996
  key: 3,
1993
1997
  class: "bg-cards"
1994
- }, Yl = { class: "bg-card-body" }, Ql = {
1998
+ }, Ql = { class: "bg-card-body" }, Zl = {
1995
1999
  key: 0,
1996
2000
  class: "integration-help"
1997
- }, Zl = {
2001
+ }, jl = {
1998
2002
  key: 1,
1999
2003
  class: "integration-help"
2000
- }, jl = {
2004
+ }, en = {
2001
2005
  key: 2,
2002
2006
  class: "integration-help bg-path"
2003
- }, en = {
2007
+ }, an = {
2004
2008
  key: 3,
2005
2009
  class: "integration-help"
2006
- }, an = {
2010
+ }, tn = {
2007
2011
  key: 4,
2008
2012
  class: "integration-help"
2009
- }, tn = { class: "integration-actions" }, ln = { key: 1 }, nn = {
2013
+ }, ln = { class: "integration-actions" }, nn = { key: 1 }, on = {
2010
2014
  key: 2,
2011
2015
  class: "bg-cards"
2012
- }, on = { class: "bg-card-body" }, sn = {
2016
+ }, sn = { class: "bg-card-body" }, un = {
2013
2017
  key: 0,
2014
2018
  class: "integration-help"
2015
- }, un = {
2019
+ }, rn = {
2016
2020
  key: 1,
2017
2021
  class: "integration-help"
2018
- }, rn = { class: "integration-help" }, dn = { class: "integration-actions" }, cn = { class: "integration-actions" }, vn = { class: "integration-actions" }, fn = /* @__PURE__ */ fe({
2022
+ }, dn = { class: "integration-help" }, cn = { class: "integration-actions" }, vn = { class: "integration-actions" }, fn = { class: "integration-actions" }, pn = /* @__PURE__ */ fe({
2019
2023
  __name: "BackgroundPanel",
2020
2024
  props: {
2021
2025
  ctx: {}
2022
2026
  },
2023
- setup(t, { expose: p }) {
2024
- const o = t, a = _(() => Wa(o.ctx.locale)), i = (z, W) => Je(z, W, o.ctx.locale), u = y(), r = y([]), c = y(), m = y(!1), d = y(!1), f = y([]), x = y(), P = y(!1), w = y("3600"), C = y(), E = y(), k = y(), T = y(!1), N = y(), te = _(() => !u.value && !c.value && !m.value && !N.value), F = y(!1), Y = y(), B = y(""), K = y(""), L = Ga(o.ctx);
2027
+ setup(t, { expose: m }) {
2028
+ const o = t, a = _(() => Wa(o.ctx.locale)), i = (z, W) => Je(z, W, o.ctx.locale), u = y(), r = y([]), c = y(), f = y(!1), d = y(!1), p = y([]), x = y(), P = y(!1), w = y("3600"), C = y(), E = y(), k = y(), T = y(!1), N = y(), te = _(() => !u.value && !c.value && !f.value && !N.value), F = y(!1), Y = y(), B = y(""), K = y(""), L = Ga(o.ctx);
2025
2029
  let R, A = !1;
2026
2030
  const q = (z) => !["queued", "running"].includes(z.state), M = (z) => q(z) && z.state !== "paused", se = (z) => z.state === "running" && z.pauseRequested, H = (z) => se(z) ? a.value.pausing : a.value[`state_${z.state}`], G = (z) => se(z) ? "warning" : { queued: "info", running: "info", paused: "warning", succeeded: "success", failed: "danger", canceled: "neutral", interrupted: "danger" }[z.state];
2027
2031
  async function le(z, W, I = !1) {
@@ -2029,7 +2033,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2029
2033
  return await o.ctx.call(z, W);
2030
2034
  } catch (ve) {
2031
2035
  if (A || I && (N.value = Ce(ve))) return;
2032
- ve?.code === "unsupported" ? (m.value = !0, r.value = [], f.value = [], x.value = void 0, C.value = void 0, E.value = void 0, u.value = void 0, k.value = void 0, Y.value = void 0, B.value && URL.revokeObjectURL(B.value), B.value = "") : A || (c.value = ve);
2036
+ ve?.code === "unsupported" ? (f.value = !0, r.value = [], p.value = [], x.value = void 0, C.value = void 0, E.value = void 0, u.value = void 0, k.value = void 0, Y.value = void 0, B.value && URL.revokeObjectURL(B.value), B.value = "") : A || (c.value = ve);
2033
2037
  return;
2034
2038
  }
2035
2039
  }
@@ -2043,11 +2047,11 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2043
2047
  c.value = { code: "unavailable" };
2044
2048
  return;
2045
2049
  }
2046
- m.value = !1, u.value = z;
2050
+ f.value = !1, u.value = z;
2047
2051
  const W = await le("bg.jobs.list", void 0, !0);
2048
2052
  W && !A && (r.value = W.jobs ?? []);
2049
2053
  const I = await le("bg.schedules.list", void 0, !0);
2050
- I && !A && (f.value = I.schedules ?? []), !A && r.value.every(q) && f.value.every((ve) => !ve.enabled) && R && (clearInterval(R), R = void 0);
2054
+ I && !A && (p.value = I.schedules ?? []), !A && r.value.every(q) && p.value.every((ve) => !ve.enabled) && R && (clearInterval(R), R = void 0);
2051
2055
  } finally {
2052
2056
  T.value = !1;
2053
2057
  }
@@ -2062,7 +2066,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2062
2066
  if (!d.value) {
2063
2067
  d.value = !0, c.value = void 0;
2064
2068
  try {
2065
- await z(), await re(), (f.value.some((W) => W.enabled) || r.value.some((W) => !q(W))) && ee();
2069
+ await z(), await re(), (p.value.some((W) => W.enabled) || r.value.some((W) => !q(W))) && ee();
2066
2070
  } finally {
2067
2071
  A || (d.value = !1);
2068
2072
  }
@@ -2096,21 +2100,21 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2096
2100
  const W = await le("bg.jobs.result", { id: z.id });
2097
2101
  !W || A || (B.value && URL.revokeObjectURL(B.value), B.value = URL.createObjectURL(new Blob([JSON.stringify(W.result, null, 2)], { type: "application/json" })), K.value = `${z.name || z.id}.sha256.json`);
2098
2102
  }
2099
- return Ke(() => N.value, re), p({ refresh: re }), Se(() => {
2103
+ return Ke(() => N.value, re), m({ refresh: re }), Se(() => {
2100
2104
  re().then(() => {
2101
- (f.value.some((z) => z.enabled) || r.value.some((z) => !q(z))) && ee();
2105
+ (p.value.some((z) => z.enabled) || r.value.some((z) => !q(z))) && ee();
2102
2106
  });
2103
2107
  }), we(() => {
2104
2108
  A = !0, L.dispose(), R && clearInterval(R), B.value && URL.revokeObjectURL(B.value);
2105
- }), (z, W) => (l(), b(e(ke), {
2109
+ }), (z, W) => (l(), g(e(ke), {
2106
2110
  "aria-busy": d.value || T.value || te.value,
2107
2111
  title: a.value.title,
2108
- description: m.value ? void 0 : a.value.help,
2112
+ description: f.value ? void 0 : a.value.help,
2109
2113
  collapsible: !1,
2110
2114
  "data-background-panel": ""
2111
2115
  }, {
2112
2116
  default: n(() => [
2113
- m.value ? (l(), b(e(j), {
2117
+ f.value ? (l(), g(e(j), {
2114
2118
  key: 0,
2115
2119
  tone: "warning"
2116
2120
  }, {
@@ -2119,7 +2123,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2119
2123
  ]),
2120
2124
  _: 1
2121
2125
  })) : (l(), $(oe, { key: 1 }, [
2122
- N.value ? (l(), b(e(j), {
2126
+ N.value ? (l(), g(e(j), {
2123
2127
  key: 0,
2124
2128
  tone: "info",
2125
2129
  role: "status"
@@ -2128,8 +2132,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2128
2132
  h(s(e(Ne)(N.value, t.ctx.locale)), 1)
2129
2133
  ]),
2130
2134
  _: 1
2131
- })) : g("", !0),
2132
- c.value ? (l(), b(e(j), {
2135
+ })) : b("", !0),
2136
+ c.value ? (l(), g(e(j), {
2133
2137
  key: 1,
2134
2138
  tone: "danger",
2135
2139
  role: "alert"
@@ -2138,7 +2142,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2138
2142
  h(s(e(Ja)(c.value, a.value, t.ctx.locale, t.ctx.displayName)), 1)
2139
2143
  ]),
2140
2144
  _: 1
2141
- })) : g("", !0),
2145
+ })) : b("", !0),
2142
2146
  te.value ? (l(), $(oe, { key: 2 }, [
2143
2147
  (l(), $(oe, null, ge(["14rem", "24rem", "18rem", "24rem"], (I, ve) => S("p", {
2144
2148
  key: ve,
@@ -2149,7 +2153,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2149
2153
  height: "20px"
2150
2154
  }, null, 8, ["width"])
2151
2155
  ])), 64)),
2152
- S("div", Ol, [
2156
+ S("div", Fl, [
2153
2157
  v(e(V), {
2154
2158
  variant: "secondary",
2155
2159
  disabled: ""
@@ -2169,13 +2173,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2169
2173
  _: 1
2170
2174
  })
2171
2175
  ])
2172
- ], 64)) : g("", !0),
2176
+ ], 64)) : b("", !0),
2173
2177
  u.value ? (l(), $(oe, { key: 3 }, [
2174
- S("p", Fl, s(u.value.worker?.alive ? i(a.value.workerRunning, { user: u.value.worker.username }) : a.value.workerStopped), 1),
2175
- S("p", ql, s(i(a.value.limits, { size: u.value.limits.maxInputBytes / 1024, queue: u.value.limits.maxQueued, seconds: u.value.limits.jobTimeoutSeconds })), 1),
2176
- S("p", Ml, s(u.value.admin ? a.value.adminScope : a.value.ownerScope), 1),
2177
- S("p", Kl, s(i(a.value.ownerLimits, { jobs: u.value.limits.maxOwnerPending, size: u.value.limits.maxOwnerBytes / 1024 })), 1),
2178
- S("div", Hl, [
2178
+ S("p", ql, s(u.value.worker?.alive ? i(a.value.workerRunning, { user: u.value.worker.username }) : a.value.workerStopped), 1),
2179
+ S("p", Ml, s(i(a.value.limits, { size: u.value.limits.maxInputBytes / 1024, queue: u.value.limits.maxQueued, seconds: u.value.limits.jobTimeoutSeconds })), 1),
2180
+ S("p", Kl, s(u.value.admin ? a.value.adminScope : a.value.ownerScope), 1),
2181
+ S("p", Hl, s(i(a.value.ownerLimits, { jobs: u.value.limits.maxOwnerPending, size: u.value.limits.maxOwnerBytes / 1024 })), 1),
2182
+ S("div", Xl, [
2179
2183
  v(e(V), {
2180
2184
  variant: "secondary",
2181
2185
  disabled: d.value,
@@ -2197,12 +2201,12 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2197
2201
  _: 1
2198
2202
  }, 8, ["disabled"])
2199
2203
  ]),
2200
- Y.value ? (l(), $("p", Xl, [
2204
+ Y.value ? (l(), $("p", Wl, [
2201
2205
  h(s(i(a.value.chosen, { path: "" }).trim()) + " ", 1),
2202
2206
  v(e(Ue), {
2203
2207
  path: `${Y.value.folder}/${Y.value.relative}`
2204
2208
  }, null, 8, ["path"])
2205
- ])) : g("", !0),
2209
+ ])) : b("", !0),
2206
2210
  v(ta, {
2207
2211
  open: F.value,
2208
2212
  "onUpdate:open": W[1] || (W[1] = (I) => F.value = I),
@@ -2214,13 +2218,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2214
2218
  description: a.value.pickerConsent,
2215
2219
  onSelected: O
2216
2220
  }, null, 8, ["open", "locale", "name", "provider", "title", "description"]),
2217
- k.value && u.value.admin ? (l(), b(e(j), {
2221
+ k.value && u.value.admin ? (l(), g(e(j), {
2218
2222
  key: 1,
2219
2223
  tone: "warning"
2220
2224
  }, {
2221
2225
  default: n(() => [
2222
2226
  S("p", null, s(i(a.value.purgeConfirm, { user: k.value.user, uid: k.value.uid })), 1),
2223
- S("div", Wl, [
2227
+ S("div", Gl, [
2224
2228
  v(e(V), {
2225
2229
  variant: "secondary",
2226
2230
  disabled: d.value,
@@ -2244,9 +2248,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2244
2248
  ])
2245
2249
  ]),
2246
2250
  _: 1
2247
- })) : g("", !0),
2248
- r.value.length ? (l(), $("div", Jl, [
2249
- (l(!0), $(oe, null, ge(r.value, (I) => (l(), b(e(_a), {
2251
+ })) : b("", !0),
2252
+ r.value.length ? (l(), $("div", Yl, [
2253
+ (l(!0), $(oe, null, ge(r.value, (I) => (l(), g(e(_a), {
2250
2254
  key: I.id,
2251
2255
  title: I.name,
2252
2256
  "layout-type": "compact",
@@ -2265,19 +2269,19 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2265
2269
  }, 1032, ["tone"])
2266
2270
  ]),
2267
2271
  default: n(() => [
2268
- S("div", Yl, [
2269
- I.progress?.total ? (l(), $("span", Ql, s(i(a.value.progressItems, { done: I.progress.done, count: I.progress.total })), 1)) : g("", !0),
2270
- I.progress?.totalBytes ? (l(), $("span", Zl, s(i(a.value.progressBytes, { done: e(ra)(I.progress.bytes, t.ctx.locale), total: e(ra)(I.progress.totalBytes, t.ctx.locale) })), 1)) : g("", !0),
2271
- I.progress?.item ? (l(), $("span", jl, [
2272
+ S("div", Ql, [
2273
+ I.progress?.total ? (l(), $("span", Zl, s(i(a.value.progressItems, { done: I.progress.done, count: I.progress.total })), 1)) : b("", !0),
2274
+ I.progress?.totalBytes ? (l(), $("span", jl, s(i(a.value.progressBytes, { done: e(ra)(I.progress.bytes, t.ctx.locale), total: e(ra)(I.progress.totalBytes, t.ctx.locale) })), 1)) : b("", !0),
2275
+ I.progress?.item ? (l(), $("span", en, [
2272
2276
  h(s(i(a.value.progressItem, { item: "" }).trim()) + " ", 1),
2273
2277
  v(e(Ue), {
2274
2278
  path: I.progress.item
2275
2279
  }, null, 8, ["path"])
2276
- ])) : g("", !0),
2277
- u.value.admin && I.submitter ? (l(), $("span", en, s(i(a.value.owner, { user: I.submitter.user, uid: I.submitter.uid })), 1)) : g("", !0),
2278
- I.scheduleId ? (l(), $("span", an, s(a.value.scheduledJob), 1)) : g("", !0),
2279
- S("div", tn, [
2280
- u.value.admin && I.submitter ? (l(), b(e(V), {
2280
+ ])) : b("", !0),
2281
+ u.value.admin && I.submitter ? (l(), $("span", an, s(i(a.value.owner, { user: I.submitter.user, uid: I.submitter.uid })), 1)) : b("", !0),
2282
+ I.scheduleId ? (l(), $("span", tn, s(a.value.scheduledJob), 1)) : b("", !0),
2283
+ S("div", ln, [
2284
+ u.value.admin && I.submitter ? (l(), g(e(V), {
2281
2285
  key: 0,
2282
2286
  variant: "secondary",
2283
2287
  disabled: d.value,
@@ -2287,8 +2291,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2287
2291
  h(s(a.value.purgeOwner), 1)
2288
2292
  ]),
2289
2293
  _: 1
2290
- }, 8, ["disabled", "onClick"])) : g("", !0),
2291
- !q(I) && !I.pauseRequested && !I.delegation_id ? (l(), b(e(V), {
2294
+ }, 8, ["disabled", "onClick"])) : b("", !0),
2295
+ !q(I) && !I.pauseRequested && !I.delegation_id ? (l(), g(e(V), {
2292
2296
  key: 1,
2293
2297
  variant: "secondary",
2294
2298
  disabled: d.value,
@@ -2298,8 +2302,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2298
2302
  h(s(a.value.pause), 1)
2299
2303
  ]),
2300
2304
  _: 1
2301
- }, 8, ["disabled", "onClick"])) : g("", !0),
2302
- I.state === "paused" || se(I) ? (l(), b(e(V), {
2305
+ }, 8, ["disabled", "onClick"])) : b("", !0),
2306
+ I.state === "paused" || se(I) ? (l(), g(e(V), {
2303
2307
  key: 2,
2304
2308
  variant: "secondary",
2305
2309
  disabled: d.value,
@@ -2309,8 +2313,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2309
2313
  h(s(a.value.resume), 1)
2310
2314
  ]),
2311
2315
  _: 1
2312
- }, 8, ["disabled", "onClick"])) : g("", !0),
2313
- M(I) ? g("", !0) : (l(), b(e(V), {
2316
+ }, 8, ["disabled", "onClick"])) : b("", !0),
2317
+ M(I) ? b("", !0) : (l(), g(e(V), {
2314
2318
  key: 3,
2315
2319
  variant: "secondary",
2316
2320
  disabled: d.value,
@@ -2321,7 +2325,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2321
2325
  ]),
2322
2326
  _: 1
2323
2327
  }, 8, ["disabled", "onClick"])),
2324
- ye(I) ? (l(), b(e(V), {
2328
+ ye(I) ? (l(), g(e(V), {
2325
2329
  key: 4,
2326
2330
  variant: "secondary",
2327
2331
  disabled: d.value,
@@ -2331,8 +2335,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2331
2335
  h(s(a.value.scheduleCopy), 1)
2332
2336
  ]),
2333
2337
  _: 1
2334
- }, 8, ["disabled", "onClick"])) : g("", !0),
2335
- I.state === "succeeded" ? (l(), b(e(V), {
2338
+ }, 8, ["disabled", "onClick"])) : b("", !0),
2339
+ I.state === "succeeded" ? (l(), g(e(V), {
2336
2340
  key: 5,
2337
2341
  variant: "secondary",
2338
2342
  disabled: d.value,
@@ -2342,13 +2346,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2342
2346
  h(s(a.value.result), 1)
2343
2347
  ]),
2344
2348
  _: 1
2345
- }, 8, ["disabled", "onClick"])) : g("", !0)
2349
+ }, 8, ["disabled", "onClick"])) : b("", !0)
2346
2350
  ])
2347
2351
  ])
2348
2352
  ]),
2349
2353
  _: 2
2350
2354
  }, 1032, ["title", "data-job-state", "data-job-id"]))), 128))
2351
- ])) : (l(), $("p", Gl, s(a.value.noJobs), 1)),
2355
+ ])) : (l(), $("p", Jl, s(a.value.noJobs), 1)),
2352
2356
  v(e(ke), {
2353
2357
  "data-bg-schedules": "",
2354
2358
  class: "bg-schedules",
@@ -2357,7 +2361,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2357
2361
  collapsible: !1
2358
2362
  }, {
2359
2363
  default: n(() => [
2360
- x.value ? (l(), b(e(Me), {
2364
+ x.value ? (l(), g(e(Me), {
2361
2365
  key: 0,
2362
2366
  class: "bg-schedule-form",
2363
2367
  onSubmit: qe(Ae, ["prevent"])
@@ -2413,9 +2417,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2413
2417
  })
2414
2418
  ]),
2415
2419
  _: 1
2416
- })) : g("", !0),
2417
- f.value.length ? (l(), $("div", nn, [
2418
- (l(!0), $(oe, null, ge(f.value, (I) => (l(), b(e(_a), {
2420
+ })) : b("", !0),
2421
+ p.value.length ? (l(), $("div", on, [
2422
+ (l(!0), $(oe, null, ge(p.value, (I) => (l(), g(e(_a), {
2419
2423
  key: I.id,
2420
2424
  title: I.name,
2421
2425
  "layout-type": "compact",
@@ -2433,11 +2437,11 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2433
2437
  }, 1032, ["tone"])
2434
2438
  ]),
2435
2439
  default: n(() => [
2436
- S("div", on, [
2437
- u.value.admin ? (l(), $("span", sn, s(i(a.value.owner, { user: I.owner.user, uid: I.owner.uid })), 1)) : g("", !0),
2438
- I.enabled ? (l(), $("span", un, s(i(a.value.nextRun, { time: ne(I.nextAt) })), 1)) : g("", !0),
2439
- S("span", rn, s(i(a.value.missedRuns, { count: I.missed })), 1),
2440
- I.reason === "worker-changed" ? (l(), b(e(j), {
2440
+ S("div", sn, [
2441
+ u.value.admin ? (l(), $("span", un, s(i(a.value.owner, { user: I.owner.user, uid: I.owner.uid })), 1)) : b("", !0),
2442
+ I.enabled ? (l(), $("span", rn, s(i(a.value.nextRun, { time: ne(I.nextAt) })), 1)) : b("", !0),
2443
+ S("span", dn, s(i(a.value.missedRuns, { count: I.missed })), 1),
2444
+ I.reason === "worker-changed" ? (l(), g(e(j), {
2441
2445
  key: 2,
2442
2446
  tone: "warning"
2443
2447
  }, {
@@ -2445,7 +2449,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2445
2449
  h(s(a.value.revisionChanged), 1)
2446
2450
  ]),
2447
2451
  _: 1
2448
- })) : I.reason === "input-unavailable" ? (l(), b(e(j), {
2452
+ })) : I.reason === "input-unavailable" ? (l(), g(e(j), {
2449
2453
  key: 3,
2450
2454
  tone: "warning"
2451
2455
  }, {
@@ -2453,9 +2457,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2453
2457
  h(s(a.value.errors["input-unavailable"]), 1)
2454
2458
  ]),
2455
2459
  _: 1
2456
- })) : g("", !0),
2457
- S("div", dn, [
2458
- I.enabled ? (l(), b(e(V), {
2460
+ })) : b("", !0),
2461
+ S("div", cn, [
2462
+ I.enabled ? (l(), g(e(V), {
2459
2463
  key: 0,
2460
2464
  variant: "secondary",
2461
2465
  disabled: d.value,
@@ -2465,7 +2469,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2465
2469
  h(s(a.value.disableSchedule), 1)
2466
2470
  ]),
2467
2471
  _: 1
2468
- }, 8, ["disabled", "onClick"])) : u.value.admin ? (l(), b(e(V), {
2472
+ }, 8, ["disabled", "onClick"])) : u.value.admin ? (l(), g(e(V), {
2469
2473
  key: 1,
2470
2474
  variant: "secondary",
2471
2475
  disabled: d.value,
@@ -2475,7 +2479,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2475
2479
  h(s(a.value.enableSchedule), 1)
2476
2480
  ]),
2477
2481
  _: 1
2478
- }, 8, ["disabled", "onClick"])) : g("", !0),
2482
+ }, 8, ["disabled", "onClick"])) : b("", !0),
2479
2483
  v(e(V), {
2480
2484
  variant: "secondary",
2481
2485
  disabled: d.value,
@@ -2491,14 +2495,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2491
2495
  ]),
2492
2496
  _: 2
2493
2497
  }, 1032, ["title", "data-schedule-id"]))), 128))
2494
- ])) : (l(), $("p", ln, s(a.value.noSchedules), 1)),
2495
- C.value ? (l(), b(e(j), {
2498
+ ])) : (l(), $("p", nn, s(a.value.noSchedules), 1)),
2499
+ C.value ? (l(), g(e(j), {
2496
2500
  key: 3,
2497
2501
  tone: "warning"
2498
2502
  }, {
2499
2503
  default: n(() => [
2500
2504
  S("p", null, s(i(a.value.deleteScheduleConsent, { name: C.value.name })), 1),
2501
- S("div", cn, [
2505
+ S("div", vn, [
2502
2506
  v(e(V), {
2503
2507
  variant: "danger",
2504
2508
  disabled: d.value,
@@ -2522,14 +2526,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2522
2526
  ])
2523
2527
  ]),
2524
2528
  _: 1
2525
- })) : g("", !0),
2526
- E.value ? (l(), b(e(j), {
2529
+ })) : b("", !0),
2530
+ E.value ? (l(), g(e(j), {
2527
2531
  key: 4,
2528
2532
  tone: "warning"
2529
2533
  }, {
2530
2534
  default: n(() => [
2531
2535
  S("p", null, s(i(a.value.enableScheduleConsent, { name: E.value.name })), 1),
2532
- S("div", vn, [
2536
+ S("div", fn, [
2533
2537
  v(e(V), {
2534
2538
  variant: "primary",
2535
2539
  disabled: d.value,
@@ -2553,11 +2557,11 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2553
2557
  ])
2554
2558
  ]),
2555
2559
  _: 1
2556
- })) : g("", !0)
2560
+ })) : b("", !0)
2557
2561
  ]),
2558
2562
  _: 1
2559
2563
  }, 8, ["title", "description"]),
2560
- B.value ? (l(), b(e(ua), {
2564
+ B.value ? (l(), g(e(ua), {
2561
2565
  key: 4,
2562
2566
  href: B.value,
2563
2567
  download: K.value
@@ -2566,20 +2570,20 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2566
2570
  h(s(a.value.download), 1)
2567
2571
  ]),
2568
2572
  _: 1
2569
- }, 8, ["href", "download"])) : g("", !0)
2570
- ], 64)) : g("", !0)
2573
+ }, 8, ["href", "download"])) : b("", !0)
2574
+ ], 64)) : b("", !0)
2571
2575
  ], 64))
2572
2576
  ]),
2573
2577
  _: 1
2574
2578
  }, 8, ["aria-busy", "title", "description"]));
2575
2579
  }
2576
- }), mo = /* @__PURE__ */ me(fn, [["__scopeId", "data-v-a7c98d9d"]]), pn = ["inert", "aria-hidden"], mn = {
2580
+ }), yo = /* @__PURE__ */ me(pn, [["__scopeId", "data-v-a7c98d9d"]]), mn = ["inert", "aria-hidden"], yn = {
2577
2581
  key: 3,
2578
2582
  class: "executor-approval"
2579
- }, yn = {
2583
+ }, bn = {
2580
2584
  key: 0,
2581
2585
  class: "executor-brand"
2582
- }, bn = ["src"], gn = /* @__PURE__ */ fe({
2586
+ }, gn = ["src"], hn = /* @__PURE__ */ fe({
2583
2587
  __name: "ExecutorApproval",
2584
2588
  props: {
2585
2589
  admin: { type: Boolean },
@@ -2589,31 +2593,31 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2589
2593
  preload: { type: Boolean }
2590
2594
  },
2591
2595
  setup(t) {
2592
- const p = t, o = Ee(We, void 0), a = _(() => Ve(p.locale)), i = y("checking"), u = y(), r = _(() => {
2593
- const w = p.ctx;
2596
+ const m = t, o = Ee(We, void 0), a = _(() => Ve(m.locale)), i = y("checking"), u = y(), r = _(() => {
2597
+ const w = m.ctx;
2594
2598
  return (w?.fullPage ?? (w?.host ? $a({ host: w.host }) : !1)) && w?.displayName ? w : void 0;
2595
2599
  });
2596
2600
  function c(w) {
2597
2601
  u.value = w, i.value = w.state;
2598
2602
  }
2599
- let m = !1, d;
2600
- async function f() {
2603
+ let f = !1, d;
2604
+ async function p() {
2601
2605
  try {
2602
2606
  const w = await o.status();
2603
- m || c(w);
2607
+ f || c(w);
2604
2608
  } catch {
2605
- m || (u.value = void 0, i.value = "blocked");
2609
+ f || (u.value = void 0, i.value = "blocked");
2606
2610
  }
2607
2611
  }
2608
- const x = _(() => Ce(u.value)), P = _(() => !!p.preload && !!o && (i.value === "ready" || i.value === "checking"));
2609
- return Le(Ua, _(() => P.value && i.value === "checking")), Ke(() => x.value, f), Se(() => {
2612
+ const x = _(() => Ce(u.value)), P = _(() => !!m.preload && !!o && (i.value === "ready" || i.value === "checking"));
2613
+ return Le(Ua, _(() => P.value && i.value === "checking")), Ke(() => x.value, p), Se(() => {
2610
2614
  o && (o.subscribe?.((w) => {
2611
- !m && !je(w) && c(w);
2612
- }), d = p.ctx?.reopen(() => {
2613
- f();
2614
- }), f());
2615
+ !f && !je(w) && c(w);
2616
+ }), d = m.ctx?.reopen(() => {
2617
+ p();
2618
+ }), p());
2615
2619
  }), we(() => {
2616
- m = !0, d?.();
2620
+ f = !0, d?.();
2617
2621
  }), (w, C) => (l(), $(oe, null, [
2618
2622
  P.value ? (l(), $("div", {
2619
2623
  key: 0,
@@ -2622,20 +2626,20 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2622
2626
  "aria-hidden": i.value === "checking" ? "true" : void 0
2623
2627
  }, [
2624
2628
  be(w.$slots, "default", {}, void 0, !0)
2625
- ], 10, pn)) : !e(o) || i.value === "ready" ? be(w.$slots, "default", {}, void 0, !0, 1) : g("", !0),
2626
- e(o) && i.value === "checking" ? (l(), b(e(bt), {
2629
+ ], 10, mn)) : !e(o) || i.value === "ready" ? be(w.$slots, "default", {}, void 0, !0, 1) : b("", !0),
2630
+ e(o) && i.value === "checking" ? (l(), g(e(bt), {
2627
2631
  key: 2,
2628
2632
  text: a.value.loading
2629
- }, null, 8, ["text"])) : e(o) && i.value !== "ready" ? (l(), $("div", mn, [
2630
- r.value ? (l(), $("header", yn, [
2633
+ }, null, 8, ["text"])) : e(o) && i.value !== "ready" ? (l(), $("div", yn, [
2634
+ r.value ? (l(), $("header", bn, [
2631
2635
  r.value.appIcon ? (l(), $("img", {
2632
2636
  key: 0,
2633
2637
  src: r.value.appIcon,
2634
2638
  alt: ""
2635
- }, null, 8, bn)) : g("", !0),
2639
+ }, null, 8, gn)) : b("", !0),
2636
2640
  S("span", null, s(r.value.displayName), 1)
2637
- ])) : g("", !0),
2638
- x.value ? (l(), b(e(j), {
2641
+ ])) : b("", !0),
2642
+ x.value ? (l(), g(e(j), {
2639
2643
  key: 1,
2640
2644
  tone: "info",
2641
2645
  role: "status"
@@ -2644,7 +2648,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2644
2648
  h(s(e(Ne)(x.value, t.locale)), 1)
2645
2649
  ]),
2646
2650
  _: 1
2647
- })) : t.admin ? (l(), b(La, {
2651
+ })) : t.admin ? (l(), g(La, {
2648
2652
  key: 2,
2649
2653
  admin: !0,
2650
2654
  locale: t.locale,
@@ -2652,14 +2656,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2652
2656
  purpose: t.purpose,
2653
2657
  title: "",
2654
2658
  layout: "page",
2655
- onConfirmed: f
2656
- }, null, 8, ["locale", "initial", "purpose"])) : i.value === "needs-admin-approval" ? (l(), b(ea, {
2659
+ onConfirmed: p
2660
+ }, null, 8, ["locale", "initial", "purpose"])) : i.value === "needs-admin-approval" ? (l(), g(ea, {
2657
2661
  key: 3,
2658
2662
  admin: !1,
2659
2663
  locale: t.locale,
2660
2664
  purpose: t.purpose,
2661
2665
  layout: "page"
2662
- }, null, 8, ["locale", "purpose"])) : (l(), b(e(j), {
2666
+ }, null, 8, ["locale", "purpose"])) : (l(), g(e(j), {
2663
2667
  key: 4,
2664
2668
  tone: "info"
2665
2669
  }, {
@@ -2668,59 +2672,59 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2668
2672
  ]),
2669
2673
  _: 1
2670
2674
  }))
2671
- ])) : g("", !0)
2675
+ ])) : b("", !0)
2672
2676
  ], 64));
2673
2677
  }
2674
- }), yo = /* @__PURE__ */ me(gn, [["__scopeId", "data-v-59aae3f3"]]), hn = {
2678
+ }), bo = /* @__PURE__ */ me(hn, [["__scopeId", "data-v-59aae3f3"]]), kn = {
2675
2679
  key: 2,
2676
2680
  role: "status"
2677
- }, kn = {
2681
+ }, wn = {
2678
2682
  key: 3,
2679
2683
  role: "status"
2680
- }, wn = {
2684
+ }, _n = {
2681
2685
  key: 0,
2682
2686
  role: "status",
2683
2687
  class: "destination"
2684
- }, _n = {
2688
+ }, xn = {
2685
2689
  key: 0,
2686
2690
  "data-placeholder-row": ""
2687
- }, xn = { key: 1 }, Cn = {
2691
+ }, Cn = { key: 1 }, $n = {
2688
2692
  key: 2,
2689
2693
  class: "records"
2690
- }, $n = ["data-job-state"], Sn = ["role"], Pn = {
2694
+ }, Sn = ["data-job-state"], Pn = ["role"], En = {
2691
2695
  key: 0,
2692
2696
  "data-placeholder-row": ""
2693
- }, En = { key: 1 }, Tn = {
2697
+ }, Tn = { key: 1 }, zn = {
2694
2698
  key: 2,
2695
2699
  class: "records"
2696
- }, zn = /* @__PURE__ */ fe({
2700
+ }, An = /* @__PURE__ */ fe({
2697
2701
  __name: "DelegatePanel",
2698
2702
  props: {
2699
2703
  ctx: {}
2700
2704
  },
2701
- setup(t, { expose: p }) {
2702
- const o = t, a = _(() => Ve(o.ctx.locale)), i = _(() => Ea(o.ctx.locale)), u = Pa(o.ctx), r = y(), c = y([]), m = y([]), d = y(!1), f = y(), x = y(""), P = y(!1), w = y(""), C = y(""), E = y("");
2705
+ setup(t, { expose: m }) {
2706
+ const o = t, a = _(() => Ve(o.ctx.locale)), i = _(() => Ea(o.ctx.locale)), u = Pa(o.ctx), r = y(), c = y([]), f = y([]), d = y(!1), p = y(), x = y(""), P = y(!1), w = y(""), C = y(""), E = y("");
2703
2707
  let k = !1, T, N;
2704
2708
  const te = y();
2705
2709
  Oe([C, w, E], () => {
2706
2710
  N = void 0;
2707
2711
  }, { flush: "sync" });
2708
- const F = (ee) => ["queued", "running", "waiting_executor"].includes(ee.state), Y = _(() => m.value.some((ee) => ee.state === "waiting_executor")), B = ["EXECUTOR_UNAVAILABLE", "EXECUTOR_TIMEOUT"], K = _(() => Y.value && B.includes(f.value?.code ?? "")), L = _(() => !r.value && !f.value && !te.value), R = _(() => r.value && r.value.state !== "ready" && !(Y.value && r.value.state === "needs-admin-approval" && B.includes(r.value.reason ?? "")));
2712
+ const F = (ee) => ["queued", "running", "waiting_executor"].includes(ee.state), Y = _(() => f.value.some((ee) => ee.state === "waiting_executor")), B = ["EXECUTOR_UNAVAILABLE", "EXECUTOR_TIMEOUT"], K = _(() => Y.value && B.includes(p.value?.code ?? "")), L = _(() => !r.value && !p.value && !te.value), R = _(() => r.value && r.value.state !== "ready" && !(Y.value && r.value.state === "needs-admin-approval" && B.includes(r.value.reason ?? "")));
2709
2713
  async function A() {
2710
2714
  if (k) return;
2711
2715
  const [ee, X, Q] = await Promise.allSettled([o.ctx.call("delegate.status"), o.ctx.call("delegate.list"), o.ctx.call("delegate.jobs.list")]);
2712
2716
  if (k) return;
2713
- ee.status === "fulfilled" && (r.value = ee.value), X.status === "fulfilled" && (c.value = (X.value.delegations ?? []).filter((he) => !he.revoked)), Q.status === "fulfilled" && (m.value = Q.value.jobs ?? []);
2717
+ ee.status === "fulfilled" && (r.value = ee.value), X.status === "fulfilled" && (c.value = (X.value.delegations ?? []).filter((he) => !he.revoked)), Q.status === "fulfilled" && (f.value = Q.value.jobs ?? []);
2714
2718
  const de = [ee, X, Q].find((he) => he.status === "rejected");
2715
2719
  if (te.value = de && Ce(de.reason), de && !te.value) throw de.reason;
2716
2720
  }
2717
2721
  async function q(ee) {
2718
2722
  if (!(d.value || k)) {
2719
- d.value = !0, f.value = void 0;
2723
+ d.value = !0, p.value = void 0;
2720
2724
  try {
2721
2725
  await ee();
2722
2726
  } catch (X) {
2723
- k || (f.value = X);
2727
+ k || (p.value = X);
2724
2728
  } finally {
2725
2729
  k || (d.value = !1);
2726
2730
  }
@@ -2739,13 +2743,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2739
2743
  const X = new Date(ee);
2740
2744
  return Number.isNaN(X.getTime()) ? "—" : X.toLocaleString(o.ctx.locale);
2741
2745
  };
2742
- return p({ refresh: M }), Se(() => {
2746
+ return m({ refresh: M }), Se(() => {
2743
2747
  M(), T = setInterval(() => {
2744
- m.value.some(F) && M();
2748
+ f.value.some(F) && M();
2745
2749
  }, 3e3);
2746
2750
  }), we(() => {
2747
2751
  k = !0, T && clearInterval(T), u.dispose();
2748
- }), (ee, X) => (l(), b(e(ke), {
2752
+ }), (ee, X) => (l(), g(e(ke), {
2749
2753
  title: a.value.title,
2750
2754
  description: a.value.help,
2751
2755
  collapsible: !1,
@@ -2753,17 +2757,17 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2753
2757
  class: "delegate-panel"
2754
2758
  }, {
2755
2759
  default: n(() => [
2756
- f.value && !K.value ? (l(), b(e(j), {
2760
+ p.value && !K.value ? (l(), g(e(j), {
2757
2761
  key: 0,
2758
2762
  tone: "danger",
2759
2763
  role: "alert"
2760
2764
  }, {
2761
2765
  default: n(() => [
2762
- h(s(e(Ya)(f.value, t.ctx.locale) ?? e(Qa)(f.value, a.value, t.ctx.locale, t.ctx.displayName)), 1)
2766
+ h(s(e(Ya)(p.value, t.ctx.locale) ?? e(Qa)(p.value, a.value, t.ctx.locale, t.ctx.displayName)), 1)
2763
2767
  ]),
2764
2768
  _: 1
2765
- })) : g("", !0),
2766
- te.value ? (l(), b(e(j), {
2769
+ })) : b("", !0),
2770
+ te.value ? (l(), g(e(j), {
2767
2771
  key: 1,
2768
2772
  tone: "info",
2769
2773
  role: "status"
@@ -2772,9 +2776,9 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2772
2776
  h(s(e(Ne)(te.value, t.ctx.locale)), 1)
2773
2777
  ]),
2774
2778
  _: 1
2775
- })) : g("", !0),
2776
- x.value ? (l(), $("p", hn, s(x.value), 1)) : g("", !0),
2777
- R.value ? (l(), $("p", kn, s(r.value?.state === "needs-admin-approval" ? a.value.needs : a.value.blocked), 1)) : g("", !0),
2779
+ })) : b("", !0),
2780
+ x.value ? (l(), $("p", kn, s(x.value), 1)) : b("", !0),
2781
+ R.value ? (l(), $("p", wn, s(r.value?.state === "needs-admin-approval" ? a.value.needs : a.value.blocked), 1)) : b("", !0),
2778
2782
  v(e(Me), {
2779
2783
  direction: "vertical",
2780
2784
  onSubmit: qe(le, ["prevent"])
@@ -2811,10 +2815,10 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2811
2815
  _: 1
2812
2816
  }, 8, ["label"]),
2813
2817
  S("p", null, s(a.value.size), 1),
2814
- w.value ? (l(), $("p", wn, [
2818
+ w.value ? (l(), $("p", _n, [
2815
2819
  h(s(a.value.destination) + s(i.value), 1),
2816
2820
  v(e(Ue), { path: w.value }, null, 8, ["path"])
2817
- ])) : g("", !0),
2821
+ ])) : b("", !0),
2818
2822
  v(e(aa), null, {
2819
2823
  default: n(() => [
2820
2824
  v(e(V), {
@@ -2859,20 +2863,20 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2859
2863
  class: "delegate-group"
2860
2864
  }, {
2861
2865
  default: n(() => [
2862
- L.value ? (l(), $("p", _n, [
2866
+ L.value ? (l(), $("p", xn, [
2863
2867
  v(e(Fe), {
2864
2868
  width: "12rem",
2865
2869
  height: "20px"
2866
2870
  })
2867
- ])) : !m.value.length && !f.value ? (l(), $("p", xn, s(a.value.noJobs), 1)) : (l(), $("ul", Cn, [
2868
- (l(!0), $(oe, null, ge(m.value, (Q) => (l(), $("li", {
2871
+ ])) : !f.value.length && !p.value ? (l(), $("p", Cn, s(a.value.noJobs), 1)) : (l(), $("ul", $n, [
2872
+ (l(!0), $(oe, null, ge(f.value, (Q) => (l(), $("li", {
2869
2873
  key: Q.id,
2870
2874
  "data-job-state": Q.state
2871
2875
  }, [
2872
2876
  S("span", {
2873
2877
  role: Q.state === "waiting_executor" ? "status" : void 0
2874
- }, s(Q.name) + " · " + s(a.value[Q.state]), 9, Sn),
2875
- F(Q) ? (l(), b(e(V), {
2878
+ }, s(Q.name) + " · " + s(a.value[Q.state]), 9, Pn),
2879
+ F(Q) ? (l(), g(e(V), {
2876
2880
  key: 0,
2877
2881
  variant: "secondary",
2878
2882
  disabled: d.value,
@@ -2882,8 +2886,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2882
2886
  h(s(a.value.cancel), 1)
2883
2887
  ]),
2884
2888
  _: 1
2885
- }, 8, ["disabled", "onClick"])) : g("", !0)
2886
- ], 8, $n))), 128))
2889
+ }, 8, ["disabled", "onClick"])) : b("", !0)
2890
+ ], 8, Sn))), 128))
2887
2891
  ]))
2888
2892
  ]),
2889
2893
  _: 1
@@ -2894,12 +2898,12 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2894
2898
  class: "delegate-group"
2895
2899
  }, {
2896
2900
  default: n(() => [
2897
- L.value ? (l(), $("p", Pn, [
2901
+ L.value ? (l(), $("p", En, [
2898
2902
  v(e(Fe), {
2899
2903
  width: "12rem",
2900
2904
  height: "20px"
2901
2905
  })
2902
- ])) : !c.value.length && !f.value ? (l(), $("p", En, s(a.value.noDelegations), 1)) : (l(), $("ul", Tn, [
2906
+ ])) : !c.value.length && !p.value ? (l(), $("p", Tn, s(a.value.noDelegations), 1)) : (l(), $("ul", zn, [
2903
2907
  (l(!0), $(oe, null, ge(c.value, (Q) => (l(), $("li", {
2904
2908
  key: Q.delegation_id
2905
2909
  }, [
@@ -2928,19 +2932,19 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2928
2932
  _: 1
2929
2933
  }, 8, ["title", "description", "aria-busy"]));
2930
2934
  }
2931
- }), bo = /* @__PURE__ */ me(zn, [["__scopeId", "data-v-987b56d5"]]), An = { class: "save-alert" }, Rn = { "data-save-error": "" }, In = { class: "save-alert" }, Dn = {
2935
+ }), go = /* @__PURE__ */ me(An, [["__scopeId", "data-v-987b56d5"]]), Rn = { class: "save-alert" }, In = { "data-save-error": "" }, Dn = { class: "save-alert" }, Un = {
2932
2936
  key: 0,
2933
2937
  class: "save-reason"
2934
- }, Un = {
2938
+ }, Vn = {
2935
2939
  key: 0,
2936
2940
  class: "save-reason"
2937
- }, Vn = { class: "save-alert" }, Nn = {
2941
+ }, Nn = { class: "save-alert" }, Bn = {
2938
2942
  key: 0,
2939
2943
  class: "save-help"
2940
- }, Bn = { class: "save-actions" }, Ln = {
2944
+ }, Ln = { class: "save-actions" }, On = {
2941
2945
  key: 1,
2942
2946
  class: "save-none"
2943
- }, On = /* @__PURE__ */ fe({
2947
+ }, Fn = /* @__PURE__ */ fe({
2944
2948
  __name: "BackgroundSaveSettings",
2945
2949
  props: {
2946
2950
  sdk: {},
@@ -2952,14 +2956,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
2952
2956
  pickerErrorText: { type: Function }
2953
2957
  },
2954
2958
  emits: ["authorized", "confirmed", "destinations"],
2955
- setup(t, { expose: p, emit: o }) {
2956
- const a = t, i = o, u = _(() => fa(a.locale)), r = _(() => Ve(a.locale)), c = Ee(We, void 0), m = _(() => a.ctx ?? (c?.call ? { call: c.call.bind(c) } : void 0)), d = Ba({ get admin() {
2959
+ setup(t, { expose: m, emit: o }) {
2960
+ const a = t, i = o, u = _(() => fa(a.locale)), r = _(() => Ve(a.locale)), c = Ee(We, void 0), f = _(() => a.ctx ?? (c?.call ? { call: c.call.bind(c) } : void 0)), d = Ba({ get admin() {
2957
2961
  return a.admin;
2958
2962
  }, get locale() {
2959
2963
  return a.locale;
2960
2964
  }, get ctx() {
2961
- return m.value;
2962
- } }, J), { password: f, busy: x, confirming: P, failure: w, passwordError: C, scope: E, chosen: k, options: T, dynamic: N, canConfirm: te } = d, F = y(), Y = y([]), B = y(!1), K = y(!1), L = y(), R = y(!1), A = y(!1), q = y(!1), M = y(""), se = y(), H = _(() => se.value ?? (B.value ? Ce(d.status.value) : void 0));
2965
+ return f.value;
2966
+ } }, J), { password: p, busy: x, confirming: P, failure: w, passwordError: C, scope: E, chosen: k, options: T, dynamic: N, canConfirm: te } = d, F = y(), Y = y([]), B = y(!1), K = y(!1), L = y(), R = y(!1), A = y(!1), q = y(!1), M = y(""), se = y(), H = _(() => se.value ?? (B.value ? Ce(d.status.value) : void 0));
2963
2967
  let G = !1;
2964
2968
  async function le() {
2965
2969
  let ue;
@@ -3037,13 +3041,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3037
3041
  return !ue || "confirm" in ue ? "" : ue.code === "session_ended" ? r.value.session : d.explain(ue) ?? r.value.setupError;
3038
3042
  }), W = _(() => a.admin && Pe.value && !A.value), I = _(() => x.value || K.value || d.error.value || !te.value);
3039
3043
  function ve() {
3040
- A.value = !1, f.value = "", w.value = void 0, k.value = E.value?.selection?.scope ?? "";
3044
+ A.value = !1, p.value = "", w.value = void 0, k.value = E.value?.selection?.scope ?? "";
3041
3045
  }
3042
- return Ke(() => H.value, () => Promise.all([ee(), a.admin ? d.refresh() : void 0])), p({ refresh: X }), Se(() => {
3046
+ return Ke(() => H.value, () => Promise.all([ee(), a.admin ? d.refresh() : void 0])), m({ refresh: X }), Se(() => {
3043
3047
  ee();
3044
3048
  }), we(() => {
3045
3049
  G = !0;
3046
- }), (ue, pe) => (l(), b(e(ke), {
3050
+ }), (ue, pe) => (l(), g(e(ke), {
3047
3051
  title: t.title ?? u.value.title,
3048
3052
  description: Pe.value && !A.value ? void 0 : u.value.help,
3049
3053
  collapsible: !1,
@@ -3051,7 +3055,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3051
3055
  class: "background-save-settings"
3052
3056
  }, {
3053
3057
  default: n(() => [
3054
- ye.value ? (l(!0), $(oe, { key: 0 }, ge(t.picker?.keys ?? [], (ae) => (l(), b(e(xe), {
3058
+ ye.value ? (l(!0), $(oe, { key: 0 }, ge(t.picker?.keys ?? [], (ae) => (l(), g(e(xe), {
3055
3059
  key: ae,
3056
3060
  label: ce(ae),
3057
3061
  "field-width": "full",
@@ -3064,7 +3068,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3064
3068
  })
3065
3069
  ]),
3066
3070
  _: 1
3067
- }, 8, ["label"]))), 128)) : H.value ? (l(), b(e(j), {
3071
+ }, 8, ["label"]))), 128)) : H.value ? (l(), g(e(j), {
3068
3072
  key: 1,
3069
3073
  tone: "info",
3070
3074
  role: "status"
@@ -3074,14 +3078,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3074
3078
  ]),
3075
3079
  _: 1
3076
3080
  })) : (l(), $(oe, { key: 2 }, [
3077
- L.value ? (l(), b(e(j), {
3081
+ L.value ? (l(), g(e(j), {
3078
3082
  key: 0,
3079
3083
  tone: "danger",
3080
3084
  role: "alert"
3081
3085
  }, {
3082
3086
  default: n(() => [
3083
- S("span", An, [
3084
- S("span", Rn, s(he.value), 1),
3087
+ S("span", Rn, [
3088
+ S("span", In, s(he.value), 1),
3085
3089
  v(e(V), {
3086
3090
  variant: "secondary",
3087
3091
  size: "sm",
@@ -3096,14 +3100,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3096
3100
  ])
3097
3101
  ]),
3098
3102
  _: 1
3099
- })) : g("", !0),
3100
- e(d).error.value ? (l(), b(e(j), {
3103
+ })) : b("", !0),
3104
+ e(d).error.value ? (l(), g(e(j), {
3101
3105
  key: 1,
3102
3106
  tone: "danger",
3103
3107
  role: "alert"
3104
3108
  }, {
3105
3109
  default: n(() => [
3106
- S("span", In, [
3110
+ S("span", Dn, [
3107
3111
  h(s(r.value.setupError), 1),
3108
3112
  v(e(V), {
3109
3113
  variant: "secondary",
@@ -3119,41 +3123,41 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3119
3123
  ])
3120
3124
  ]),
3121
3125
  _: 1
3122
- })) : g("", !0),
3123
- z.value ? (l(), b(e(j), {
3126
+ })) : b("", !0),
3127
+ z.value ? (l(), g(e(j), {
3124
3128
  key: 2,
3125
3129
  tone: "danger",
3126
3130
  role: "alert"
3127
3131
  }, {
3128
3132
  default: n(() => [
3129
3133
  h(s(z.value), 1),
3130
- e(w) && "reason" in e(w) && e(w).reason ? (l(), $("span", Dn, s(e(w).reason), 1)) : g("", !0)
3134
+ e(w) && "reason" in e(w) && e(w).reason ? (l(), $("span", Un, s(e(w).reason), 1)) : b("", !0)
3131
3135
  ]),
3132
3136
  _: 1
3133
- })) : g("", !0),
3134
- D.value ? (l(), b(e(j), {
3137
+ })) : b("", !0),
3138
+ D.value ? (l(), g(e(j), {
3135
3139
  key: 3,
3136
3140
  tone: "warning"
3137
3141
  }, {
3138
3142
  default: n(() => [
3139
3143
  h(s(e(d).explain(e(d).status.value) ?? r.value.blocked), 1),
3140
- e(d).status.value?.reason ? (l(), $("span", Un, s(e(d).status.value.reason), 1)) : g("", !0)
3144
+ e(d).status.value?.reason ? (l(), $("span", Vn, s(e(d).status.value.reason), 1)) : b("", !0)
3141
3145
  ]),
3142
3146
  _: 1
3143
- })) : Pe.value && !t.admin ? (l(), b(ea, {
3147
+ })) : Pe.value && !t.admin ? (l(), g(ea, {
3144
3148
  key: 4,
3145
3149
  admin: !1,
3146
3150
  locale: t.locale,
3147
3151
  files: ""
3148
- }, null, 8, ["locale"])) : g("", !0),
3149
- F.value?.disabled ? (l(), b(e(j), {
3152
+ }, null, 8, ["locale"])) : b("", !0),
3153
+ F.value?.disabled ? (l(), g(e(j), {
3150
3154
  key: 5,
3151
3155
  tone: "warning"
3152
3156
  }, {
3153
3157
  default: n(() => [
3154
- S("span", Vn, [
3158
+ S("span", Nn, [
3155
3159
  S("span", null, s(u.value.disabled), 1),
3156
- t.admin ? (l(), b(e(V), {
3160
+ t.admin ? (l(), g(e(V), {
3157
3161
  key: 0,
3158
3162
  variant: "secondary",
3159
3163
  size: "sm",
@@ -3164,12 +3168,12 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3164
3168
  h(s(u.value.enable), 1)
3165
3169
  ]),
3166
3170
  _: 1
3167
- }, 8, ["disabled"])) : g("", !0)
3171
+ }, 8, ["disabled"])) : b("", !0)
3168
3172
  ])
3169
3173
  ]),
3170
3174
  _: 1
3171
- })) : g("", !0),
3172
- U.value && Y.value.some((ae) => ae.status === "reselection-required") ? (l(), b(e(j), {
3175
+ })) : b("", !0),
3176
+ U.value && Y.value.some((ae) => ae.status === "reselection-required") ? (l(), g(e(j), {
3173
3177
  key: 6,
3174
3178
  tone: "warning"
3175
3179
  }, {
@@ -3177,8 +3181,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3177
3181
  h(s(u.value.reselect), 1)
3178
3182
  ]),
3179
3183
  _: 1
3180
- })) : g("", !0),
3181
- O.value || A.value ? (l(), b(Xe(W.value ? ea : "div"), Qe(pa({ key: 7 }, W.value ? { admin: !0, locale: t.locale, files: !0 } : {})), {
3184
+ })) : b("", !0),
3185
+ O.value || A.value ? (l(), g(Xe(W.value ? ea : "div"), Qe(pa({ key: 7 }, W.value ? { admin: !0, locale: t.locale, files: !0 } : {})), {
3182
3186
  default: n(() => [
3183
3187
  v(e(Me), {
3184
3188
  direction: "vertical",
@@ -3186,8 +3190,8 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3186
3190
  onSubmit: qe(e(d).submit, ["prevent"])
3187
3191
  }, {
3188
3192
  default: n(() => [
3189
- A.value ? (l(), $("p", Nn, s(u.value.changeHelp), 1)) : g("", !0),
3190
- e(N) ? (l(), b(e($e), {
3193
+ A.value ? (l(), $("p", Bn, s(u.value.changeHelp), 1)) : b("", !0),
3194
+ e(N) ? (l(), g(e($e), {
3191
3195
  key: 1,
3192
3196
  label: u.value.folder,
3193
3197
  description: W.value ? u.value.approveHelp : void 0,
@@ -3203,7 +3207,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3203
3207
  }, null, 8, ["modelValue", "options", "disabled"])
3204
3208
  ]),
3205
3209
  _: 1
3206
- }, 8, ["label", "description"])) : g("", !0),
3210
+ }, 8, ["label", "description"])) : b("", !0),
3207
3211
  v(e($e), {
3208
3212
  label: u.value.password,
3209
3213
  description: e(P) ? r.value.confirmingHelp : W.value ? r.value.passwordNote : void 0,
@@ -3224,7 +3228,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3224
3228
  ]),
3225
3229
  _: 1
3226
3230
  }, 8, ["class", "loading", "disabled"]),
3227
- A.value ? (l(), b(e(V), {
3231
+ A.value ? (l(), g(e(V), {
3228
3232
  key: 0,
3229
3233
  class: De(ae.afterItem),
3230
3234
  type: "button",
@@ -3236,13 +3240,13 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3236
3240
  h(s(u.value.cancelChange), 1)
3237
3241
  ]),
3238
3242
  _: 1
3239
- }, 8, ["class", "disabled"])) : g("", !0)
3243
+ }, 8, ["class", "disabled"])) : b("", !0)
3240
3244
  ]),
3241
3245
  default: n(() => [
3242
3246
  v(e(ze), {
3243
3247
  id: "save-password",
3244
- modelValue: e(f),
3245
- "onUpdate:modelValue": pe[1] || (pe[1] = (ae) => Ze(f) ? f.value = ae : null),
3248
+ modelValue: e(p),
3249
+ "onUpdate:modelValue": pe[1] || (pe[1] = (ae) => Ze(p) ? p.value = ae : null),
3246
3250
  type: "password",
3247
3251
  autocomplete: "current-password",
3248
3252
  invalid: !!e(C),
@@ -3256,19 +3260,19 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3256
3260
  }, 8, ["onSubmit"])
3257
3261
  ]),
3258
3262
  _: 1
3259
- }, 16)) : g("", !0),
3260
- U.value && !A.value && !O.value ? (l(!0), $(oe, { key: 8 }, ge(Y.value, (ae) => (l(), b(e(xe), {
3263
+ }, 16)) : b("", !0),
3264
+ U.value && !A.value && !O.value ? (l(!0), $(oe, { key: 8 }, ge(Y.value, (ae) => (l(), g(e(xe), {
3261
3265
  key: ae.key,
3262
3266
  label: ce(ae.key),
3263
3267
  "field-width": "full",
3264
3268
  "data-save-row": "folder"
3265
3269
  }, {
3266
3270
  default: n(() => [
3267
- S("div", Bn, [
3268
- ae.status === "active" && ae.destination ? (l(), b(e(Ue), {
3271
+ S("div", Ln, [
3272
+ ae.status === "active" && ae.destination ? (l(), g(e(Ue), {
3269
3273
  key: 0,
3270
3274
  path: ae.destination.path
3271
- }, null, 8, ["path"])) : (l(), $("span", Ln, s(u.value.folderNone), 1)),
3275
+ }, null, 8, ["path"])) : (l(), $("span", On, s(u.value.folderNone), 1)),
3272
3276
  v(e(V), {
3273
3277
  variant: "secondary",
3274
3278
  size: "sm",
@@ -3280,7 +3284,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3280
3284
  ]),
3281
3285
  _: 1
3282
3286
  }, 8, ["disabled", "onClick"]),
3283
- ae.status === "active" && ae.destination ? (l(), b(e(V), {
3287
+ ae.status === "active" && ae.destination ? (l(), g(e(V), {
3284
3288
  key: 2,
3285
3289
  variant: "ghost",
3286
3290
  size: "sm",
@@ -3291,14 +3295,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3291
3295
  h(s(u.value.revoke), 1)
3292
3296
  ]),
3293
3297
  _: 1
3294
- }, 8, ["disabled", "onClick"])) : g("", !0)
3298
+ }, 8, ["disabled", "onClick"])) : b("", !0)
3295
3299
  ])
3296
3300
  ]),
3297
3301
  _: 2
3298
- }, 1032, ["label"]))), 128)) : g("", !0)
3302
+ }, 1032, ["label"]))), 128)) : b("", !0)
3299
3303
  ], 64)),
3300
3304
  be(ue.$slots, "default", {}, void 0, !0),
3301
- Z.value ? (l(), b(ta, {
3305
+ Z.value ? (l(), g(ta, {
3302
3306
  key: ne.value?.scope,
3303
3307
  open: q.value,
3304
3308
  "onUpdate:open": pe[2] || (pe[2] = (ae) => q.value = ae),
@@ -3310,15 +3314,15 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3310
3314
  onAuthorized: Q,
3311
3315
  onRefused: de,
3312
3316
  "error-text": t.pickerErrorText
3313
- }, null, 8, ["open", "provider", "locale", "name", "destination", "error-text"])) : g("", !0)
3317
+ }, null, 8, ["open", "provider", "locale", "name", "destination", "error-text"])) : b("", !0)
3314
3318
  ]),
3315
3319
  _: 3
3316
3320
  }, 8, ["title", "description", "aria-busy"]));
3317
3321
  }
3318
- }), Fn = /* @__PURE__ */ me(On, [["__scopeId", "data-v-79ce68f8"]]), qn = { class: "background-save-panel" }, Mn = {
3322
+ }), qn = /* @__PURE__ */ me(Fn, [["__scopeId", "data-v-79ce68f8"]]), Mn = { class: "background-save-panel" }, Kn = {
3319
3323
  key: 1,
3320
3324
  class: "save-example"
3321
- }, Kn = { class: "save-help" }, Hn = { class: "save-actions" }, Xn = /* @__PURE__ */ fe({
3325
+ }, Hn = { class: "save-help" }, Xn = { class: "save-actions" }, Wn = /* @__PURE__ */ fe({
3322
3326
  __name: "BackgroundSavePanel",
3323
3327
  props: {
3324
3328
  sdk: {},
@@ -3331,25 +3335,25 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3331
3335
  sampleSave: { type: Boolean }
3332
3336
  },
3333
3337
  emits: ["authorized"],
3334
- setup(t, { expose: p, emit: o }) {
3335
- const a = t, i = o, u = _(() => fa(a.locale)), r = _(() => Ea(a.locale)), c = y([]), m = y(), d = () => (x.value = void 0, m.value?.refresh() ?? Promise.resolve()), f = y(!1), x = y();
3338
+ setup(t, { expose: m, emit: o }) {
3339
+ const a = t, i = o, u = _(() => fa(a.locale)), r = _(() => Ea(a.locale)), c = y([]), f = y(), d = () => (x.value = void 0, f.value?.refresh() ?? Promise.resolve()), p = y(!1), x = y();
3336
3340
  async function P(C) {
3337
- if (f.value) return;
3338
- f.value = !0, x.value = void 0;
3341
+ if (p.value) return;
3342
+ p.value = !0, x.value = void 0;
3339
3343
  const E = "example-" + Array.from(crypto.getRandomValues(new Uint8Array(16)), (k) => k.toString(16).padStart(2, "0")).join("");
3340
3344
  try {
3341
3345
  await a.sdk.exportExample({ key: C, job_id: E });
3342
3346
  } catch (k) {
3343
3347
  x.value = k;
3344
3348
  } finally {
3345
- f.value = !1;
3349
+ p.value = !1;
3346
3350
  }
3347
3351
  }
3348
3352
  const w = (C) => a.picker?.labels?.[C] ? `${u.value.example}${r.value}${a.picker.labels[C]}` : u.value.example;
3349
- return p({ refresh: d }), (C, E) => (l(), $("div", qn, [
3350
- v(Fn, {
3353
+ return m({ refresh: d }), (C, E) => (l(), $("div", Mn, [
3354
+ v(qn, {
3351
3355
  ref_key: "settings",
3352
- ref: m,
3356
+ ref: f,
3353
3357
  sdk: t.sdk,
3354
3358
  admin: t.admin,
3355
3359
  locale: t.locale,
@@ -3361,7 +3365,7 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3361
3365
  onDestinations: E[1] || (E[1] = (k) => c.value = k.filter((T) => T.status === "active"))
3362
3366
  }, {
3363
3367
  default: n(() => [
3364
- x.value ? (l(), b(e(j), {
3368
+ x.value ? (l(), g(e(j), {
3365
3369
  key: 0,
3366
3370
  tone: "danger",
3367
3371
  role: "alert"
@@ -3370,14 +3374,14 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3370
3374
  h(s(e(Ye)(x.value, u.value, "save", t.locale, t.ctx?.displayName)), 1)
3371
3375
  ]),
3372
3376
  _: 1
3373
- })) : g("", !0),
3374
- t.sampleSave && c.value.length ? (l(), $("div", Mn, [
3375
- S("p", Kn, s(u.value.exampleHelp), 1),
3376
- S("div", Hn, [
3377
- (l(!0), $(oe, null, ge(c.value, (k) => (l(), b(e(V), {
3377
+ })) : b("", !0),
3378
+ t.sampleSave && c.value.length ? (l(), $("div", Kn, [
3379
+ S("p", Hn, s(u.value.exampleHelp), 1),
3380
+ S("div", Xn, [
3381
+ (l(!0), $(oe, null, ge(c.value, (k) => (l(), g(e(V), {
3378
3382
  key: k.key,
3379
3383
  variant: "secondary",
3380
- disabled: f.value,
3384
+ disabled: p.value,
3381
3385
  onClick: (T) => P(k.key)
3382
3386
  }, {
3383
3387
  default: n(() => [
@@ -3386,33 +3390,33 @@ const dl = ["aria-busy", "aria-label"], cl = { class: "file-toolbar file-locatio
3386
3390
  _: 2
3387
3391
  }, 1032, ["disabled", "onClick"]))), 128))
3388
3392
  ])
3389
- ])) : g("", !0)
3393
+ ])) : b("", !0)
3390
3394
  ]),
3391
3395
  _: 1
3392
3396
  }, 8, ["sdk", "admin", "locale", "title", "picker", "ctx", "picker-error-text"])
3393
3397
  ]));
3394
3398
  }
3395
- }), go = /* @__PURE__ */ me(Xn, [["__scopeId", "data-v-05618cb8"]]);
3396
- function Wn(t) {
3397
- const { code: p, message: o } = t ?? {};
3398
- return !!Be(t) || typeof p == "string" && ["APP_DENIED", "PERMISSION_DENIED", "cross_origin", "origin_required"].includes(p) || p === "bad_response" && /HTTP 40[13]\b/.test(String(o));
3399
+ }), ho = /* @__PURE__ */ me(Wn, [["__scopeId", "data-v-05618cb8"]]);
3400
+ function Gn(t) {
3401
+ const { code: m, message: o } = t ?? {};
3402
+ return !!Be(t) || typeof m == "string" && ["APP_DENIED", "PERMISSION_DENIED", "cross_origin", "origin_required"].includes(m) || m === "bad_response" && /HTTP 40[13]\b/.test(String(o));
3399
3403
  }
3400
3404
  const Ka = /* @__PURE__ */ Symbol("authorization");
3401
- function Gn() {
3405
+ function Jn() {
3402
3406
  const t = Ee(Ka, void 0);
3403
3407
  if (!t) throw Error("authorization controls must be placed inside AuthorizationGate");
3404
3408
  return t;
3405
3409
  }
3406
- const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authorization-state"], Qn = { class: "authorization-body" }, Zn = /* @__PURE__ */ fe({
3410
+ const Yn = { class: "authorization-content" }, Qn = ["aria-busy", "data-authorization-state"], Zn = { class: "authorization-body" }, jn = /* @__PURE__ */ fe({
3407
3411
  __name: "AuthorizationGate",
3408
3412
  props: {
3409
3413
  ctx: {},
3410
3414
  name: {}
3411
3415
  },
3412
3416
  emits: ["ready"],
3413
- setup(t, { emit: p }) {
3414
- const o = t, a = p, i = y(), u = y(), r = y(!1), c = y(!1), m = y(!1), d = _t();
3415
- let f = [], x = !1, P = 0, w = !1, C, E = 0, k;
3417
+ setup(t, { emit: m }) {
3418
+ const o = t, a = m, i = y(), u = y(), r = y(!1), c = y(!1), f = y(!1), d = _t();
3419
+ let p = [], x = !1, P = 0, w = !1, C, E = 0, k;
3416
3420
  const T = _(() => ja(o.ctx.locale, o.name ?? o.ctx.displayName ?? "")), N = _(() => i.value || u.value), te = _(() => N.value?.state === "authorization_required"), F = _(() => ["helper_untrusted", "cli_untrusted"].includes(N.value?.reason || "")), Y = _(() => te.value && !F.value), B = _(() => N.value?.state === "unavailable" ? Ce(N.value) : void 0), K = _(() => B.value ?? { credential_not_ready: "credential", access_denied: "denied", check_failed: "config" }[N.value?.reason ?? ""] ?? "unavailable"), L = _(() => da({ code: N.value?.reason }, o.ctx.locale, o.name ?? o.ctx.displayName)), R = _(() => L.value?.title ?? (N.value ? te.value ? T.value("title") : N.value.state === "ready" ? T.value("ready") : N.value.state === "not_admin" ? T.value("not_admin.title") : N.value.state === "session_expired" ? T.value("session_expired.title") : T.value(K.value + ".title") : T.value("checking"))), A = _(() => L.value?.message ?? (te.value ? T.value("purpose") : N.value?.state === "not_admin" ? T.value("not_admin.body") : N.value?.state === "session_expired" ? T.value("session_expired.body") : N.value?.state === "unavailable" ? T.value(K.value + ".body") : T.value("purpose"))), q = ["grant_missing", "upgrade_reapproval", "helper_untrusted", "cli_untrusted", "grant_incompatible", "package_identity_changed", "maintenance_task_missing", "maintenance_task_mismatch", "helper_health_rejected", "capability_missing"], M = _(() => q.includes(N.value?.reason || "") ? N.value.reason : "unknown"), se = _(() => F.value ? "next.reinstall" : M.value === "grant_missing" ? "next.install" : M.value === "upgrade_reapproval" || M.value === "grant_incompatible" ? "next.update" : "next.repair");
3417
3421
  function H(J) {
3418
3422
  if (!J || J.command !== "authorization" || J.schema_version !== 1 || !["ready", "authorization_required", "not_admin", "session_expired", "unavailable"].includes(J.state) || J.reason === "upgrade_reapproval" && J.state !== "authorization_required") throw Error("invalid status");
@@ -3421,7 +3425,7 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3421
3425
  const G = ["service_unavailable", "request_timeout", "request_canceled", "network", "app_unavailable", "internal", "auth_unavailable", "EXECUTOR_UNAVAILABLE", "EXECUTOR_TIMEOUT", "EXECUTOR_PAUSED"];
3422
3426
  function le(J) {
3423
3427
  const { code: ie } = J ?? {}, ne = Ce(J);
3424
- return ne ? ne === "stopped" ? "APP_STOPPED" : "APP_STARTING" : ie === "credential_not_ready" ? ie : Be(J) ? Be(J) : Wn(J) ? "access_denied" : typeof ie == "string" && G.includes(ie) || ie === void 0 ? "service_unavailable" : "check_failed";
3428
+ return ne ? ne === "stopped" ? "APP_STOPPED" : "APP_STARTING" : ie === "credential_not_ready" ? ie : Be(J) ? Be(J) : Gn(J) ? "access_denied" : typeof ie == "string" && G.includes(ie) || ie === void 0 ? "service_unavailable" : "check_failed";
3425
3429
  }
3426
3430
  let re;
3427
3431
  function ee() {
@@ -3431,7 +3435,7 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3431
3435
  }
3432
3436
  const X = [1e3, 3e3];
3433
3437
  async function Q(J) {
3434
- const ie = J === "status" && !m.value ? X : [];
3438
+ const ie = J === "status" && !f.value ? X : [];
3435
3439
  for (let ne = 0; ; ne++) {
3436
3440
  try {
3437
3441
  const ye = H(await o.ctx.authorization?.[J]());
@@ -3449,22 +3453,22 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3449
3453
  try {
3450
3454
  const ne = await Q(J);
3451
3455
  if (x || ie !== P) return;
3452
- i.value = ne, m.value = ne.state !== "ready", ne.state === "ready" && he(!0), ne.state === "ready" && a("ready");
3456
+ i.value = ne, f.value = ne.state !== "ready", ne.state === "ready" && he(!0), ne.state === "ready" && a("ready");
3453
3457
  } catch (ne) {
3454
- !x && ie === P && (i.value = ne.code === "session_required" ? { command: "authorization", schema_version: 1, state: "session_expired", reason: "session_expired" } : u.value || { command: "authorization", schema_version: 1, state: "unavailable", reason: le(ne) }, c.value = !L.value && K.value === "unavailable", m.value = !0);
3458
+ !x && ie === P && (i.value = ne.code === "session_required" ? { command: "authorization", schema_version: 1, state: "session_expired", reason: "session_expired" } : u.value || { command: "authorization", schema_version: 1, state: "unavailable", reason: le(ne) }, c.value = !L.value && K.value === "unavailable", f.value = !0);
3455
3459
  } finally {
3456
3460
  !x && ie === P && (r.value = !1, u.value = void 0, w ? (w = !1, de("status")) : ee());
3457
3461
  }
3458
3462
  }
3459
3463
  function he(J) {
3460
- const ie = f;
3461
- f = [], ie.forEach((ne) => ne(J));
3464
+ const ie = p;
3465
+ p = [], ie.forEach((ne) => ne(J));
3462
3466
  }
3463
3467
  function Ae(J) {
3464
- m.value = J, J || he(!1);
3468
+ f.value = J, J || he(!1);
3465
3469
  }
3466
3470
  function _e() {
3467
- return i.value?.state === "ready" ? Promise.resolve(!0) : (r.value || (m.value = !0), new Promise((J) => f.push(J)));
3471
+ return i.value?.state === "ready" ? Promise.resolve(!0) : (r.value || (f.value = !0), new Promise((J) => p.push(J)));
3468
3472
  }
3469
3473
  return Le(Ka, { state: _(() => i.value?.state ?? "checking"), requireAuthorization: _e, text: T, busy: r, canManage: () => !!o.ctx.authorization?.canManage?.(), revoke: () => de("revoke") }), Se(() => {
3470
3474
  k = o.ctx.reopen(() => {
@@ -3473,16 +3477,16 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3473
3477
  }), Ra(() => {
3474
3478
  x = !0, P++, clearTimeout(C), he(!1), typeof k == "function" && k();
3475
3479
  }), (J, ie) => (l(), $(oe, null, [
3476
- S("div", Jn, [
3480
+ S("div", Yn, [
3477
3481
  be(J.$slots, "default", {}, void 0, !0)
3478
3482
  ]),
3479
3483
  v(e(Ge), {
3480
- open: m.value && !e(d),
3484
+ open: f.value && !e(d),
3481
3485
  title: R.value,
3482
3486
  "onUpdate:open": Ae
3483
3487
  }, {
3484
3488
  footer: n(() => [
3485
- Y.value ? (l(), b(e(V), {
3489
+ Y.value ? (l(), g(e(V), {
3486
3490
  key: 0,
3487
3491
  variant: "primary",
3488
3492
  loading: r.value,
@@ -3493,7 +3497,7 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3493
3497
  h(s(r.value ? T.value("authorizing") : T.value("authorize")), 1)
3494
3498
  ]),
3495
3499
  _: 1
3496
- }, 8, ["loading", "disabled"])) : (l(), b(e(V), {
3500
+ }, 8, ["loading", "disabled"])) : (l(), g(e(V), {
3497
3501
  key: 1,
3498
3502
  variant: "primary",
3499
3503
  loading: r.value,
@@ -3512,8 +3516,8 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3512
3516
  "aria-busy": r.value,
3513
3517
  "data-authorization-state": i.value?.state || "checking"
3514
3518
  }, [
3515
- S("p", Qn, s(A.value), 1),
3516
- te.value ? (l(), b(e(j), {
3519
+ S("p", Zn, s(A.value), 1),
3520
+ te.value ? (l(), g(e(j), {
3517
3521
  key: 0,
3518
3522
  class: "authorization-status",
3519
3523
  tone: ["grant_missing", "upgrade_reapproval"].includes(M.value) ? "info" : "warning",
@@ -3523,8 +3527,8 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3523
3527
  h(s(T.value(se.value)), 1)
3524
3528
  ]),
3525
3529
  _: 1
3526
- }, 8, ["tone", "title"])) : g("", !0),
3527
- c.value ? (l(), b(e(j), {
3530
+ }, 8, ["tone", "title"])) : b("", !0),
3531
+ c.value ? (l(), g(e(j), {
3528
3532
  key: 1,
3529
3533
  class: "authorization-failed",
3530
3534
  tone: "warning"
@@ -3533,21 +3537,21 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3533
3537
  h(s(T.value("failed")), 1)
3534
3538
  ]),
3535
3539
  _: 1
3536
- })) : g("", !0)
3537
- ], 8, Yn)
3540
+ })) : b("", !0)
3541
+ ], 8, Qn)
3538
3542
  ]),
3539
3543
  _: 1
3540
3544
  }, 8, ["open", "title"])
3541
3545
  ], 64));
3542
3546
  }
3543
- }), ho = /* @__PURE__ */ me(Zn, [["__scopeId", "data-v-42db0617"]]), jn = { class: "authorization-setting" }, eo = {
3547
+ }), ko = /* @__PURE__ */ me(jn, [["__scopeId", "data-v-42db0617"]]), eo = { class: "authorization-setting" }, ao = {
3544
3548
  class: "authorization-state",
3545
3549
  role: "status"
3546
- }, ao = { class: "authorization-revoke-body" }, to = /* @__PURE__ */ fe({
3550
+ }, to = { class: "authorization-revoke-body" }, lo = /* @__PURE__ */ fe({
3547
3551
  __name: "AuthorizationSettings",
3548
3552
  setup(t) {
3549
- const { state: p, requireAuthorization: o, text: a, busy: i, canManage: u, revoke: r } = Gn(), c = y(!1), m = { checking: "checking", ready: "ready", authorization_required: "state.required", not_admin: "not_admin.title", session_expired: "session_expired.title", unavailable: "state.unavailable" };
3550
- return (d, f) => (l(), $(oe, null, [
3553
+ const { state: m, requireAuthorization: o, text: a, busy: i, canManage: u, revoke: r } = Jn(), c = y(!1), f = { checking: "checking", ready: "ready", authorization_required: "state.required", not_admin: "not_admin.title", session_expired: "session_expired.title", unavailable: "state.unavailable" };
3554
+ return (d, p) => (l(), $(oe, null, [
3551
3555
  v(e(ke), {
3552
3556
  title: e(a)("settings.title"),
3553
3557
  collapsible: !1
@@ -3559,35 +3563,35 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3559
3563
  align: "center"
3560
3564
  }, {
3561
3565
  default: n(() => [
3562
- S("div", jn, [
3563
- S("span", eo, [
3564
- e(p) === "ready" ? (l(), b(e(Ia), {
3566
+ S("div", eo, [
3567
+ S("span", ao, [
3568
+ e(m) === "ready" ? (l(), g(e(Ia), {
3565
3569
  key: 0,
3566
3570
  size: 16,
3567
3571
  "aria-hidden": "true"
3568
- })) : g("", !0),
3569
- h(s(e(a)(m[e(p)])), 1)
3572
+ })) : b("", !0),
3573
+ h(s(e(a)(f[e(m)])), 1)
3570
3574
  ]),
3571
- e(p) === "ready" && e(u)() ? (l(), b(e(V), {
3575
+ e(m) === "ready" && e(u)() ? (l(), g(e(V), {
3572
3576
  key: 0,
3573
3577
  variant: "secondary",
3574
3578
  disabled: e(i),
3575
- onClick: f[0] || (f[0] = (x) => c.value = !0)
3579
+ onClick: p[0] || (p[0] = (x) => c.value = !0)
3576
3580
  }, {
3577
3581
  default: n(() => [
3578
3582
  h(s(e(a)("revoke")), 1)
3579
3583
  ]),
3580
3584
  _: 1
3581
- }, 8, ["disabled"])) : e(p) !== "ready" && e(p) !== "checking" ? (l(), b(e(V), {
3585
+ }, 8, ["disabled"])) : e(m) !== "ready" && e(m) !== "checking" ? (l(), g(e(V), {
3582
3586
  key: 1,
3583
3587
  variant: "secondary",
3584
- onClick: f[1] || (f[1] = (x) => e(o)())
3588
+ onClick: p[1] || (p[1] = (x) => e(o)())
3585
3589
  }, {
3586
3590
  default: n(() => [
3587
3591
  h(s(e(a)("settings.details")), 1)
3588
3592
  ]),
3589
3593
  _: 1
3590
- })) : g("", !0)
3594
+ })) : b("", !0)
3591
3595
  ])
3592
3596
  ]),
3593
3597
  _: 1
@@ -3597,13 +3601,13 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3597
3601
  }, 8, ["title"]),
3598
3602
  v(e(Ge), {
3599
3603
  open: c.value,
3600
- "onUpdate:open": f[4] || (f[4] = (x) => c.value = x),
3604
+ "onUpdate:open": p[4] || (p[4] = (x) => c.value = x),
3601
3605
  title: e(a)("revoke.title")
3602
3606
  }, {
3603
3607
  footer: n(() => [
3604
3608
  v(e(V), {
3605
3609
  variant: "secondary",
3606
- onClick: f[2] || (f[2] = (x) => c.value = !1)
3610
+ onClick: p[2] || (p[2] = (x) => c.value = !1)
3607
3611
  }, {
3608
3612
  default: n(() => [
3609
3613
  h(s(e(a)("cancel")), 1)
@@ -3613,7 +3617,7 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3613
3617
  v(e(V), {
3614
3618
  variant: "danger",
3615
3619
  disabled: e(i),
3616
- onClick: f[3] || (f[3] = (x) => {
3620
+ onClick: p[3] || (p[3] = (x) => {
3617
3621
  c.value = !1, e(r)();
3618
3622
  })
3619
3623
  }, {
@@ -3624,97 +3628,97 @@ const Jn = { class: "authorization-content" }, Yn = ["aria-busy", "data-authoriz
3624
3628
  }, 8, ["disabled"])
3625
3629
  ]),
3626
3630
  default: n(() => [
3627
- S("p", ao, s(e(a)("revoke.body")), 1)
3631
+ S("p", to, s(e(a)("revoke.body")), 1)
3628
3632
  ]),
3629
3633
  _: 1
3630
3634
  }, 8, ["open", "title"])
3631
3635
  ], 64));
3632
3636
  }
3633
- }), ko = /* @__PURE__ */ me(to, [["__scopeId", "data-v-fc7dce79"]]);
3637
+ }), wo = /* @__PURE__ */ me(lo, [["__scopeId", "data-v-fc7dce79"]]);
3634
3638
  export {
3635
- uo as AppShell,
3636
- ho as AuthorizationGate,
3637
- ko as AuthorizationSettings,
3638
- mo as BackgroundPanel,
3639
- go as BackgroundSavePanel,
3640
- Fn as BackgroundSaveSettings,
3641
- xo as DEFAULT_REQUEST_TIMEOUT,
3642
- bo as DelegatePanel,
3643
- yo as ExecutorApproval,
3644
- al as ExecutorNotice,
3639
+ ro as AppShell,
3640
+ ko as AuthorizationGate,
3641
+ wo as AuthorizationSettings,
3642
+ yo as BackgroundPanel,
3643
+ ho as BackgroundSavePanel,
3644
+ qn as BackgroundSaveSettings,
3645
+ Co as DEFAULT_REQUEST_TIMEOUT,
3646
+ go as DelegatePanel,
3647
+ bo as ExecutorApproval,
3648
+ tl as ExecutorNotice,
3645
3649
  Ua as ExecutorPreloadKey,
3646
3650
  La as ExecutorSettings,
3647
3651
  We as ExecutorSetupKey,
3648
- Co as FILE_STATION_APP,
3652
+ $o as FILE_STATION_APP,
3649
3653
  Ma as FileBrowser,
3650
- vo as FilesPage,
3651
- $o as LIFECYCLE_RETRY_MAX_MS,
3652
- So as LIFECYCLE_STARTING_RETRY_MAX_MS,
3653
- po as LoginPage,
3654
+ fo as FilesPage,
3655
+ So as LIFECYCLE_RETRY_MAX_MS,
3656
+ Po as LIFECYCLE_STARTING_RETRY_MAX_MS,
3657
+ mo as LoginPage,
3654
3658
  ta as NasPicker,
3655
- ro as PageActions,
3659
+ co as PageActions,
3656
3660
  Oa as PageActionsTarget,
3657
- co as PageInfo,
3661
+ vo as PageInfo,
3658
3662
  Fa as PageInfoTarget,
3659
- fo as PortalSettings,
3660
- Po as activePage,
3663
+ po as PortalSettings,
3664
+ Eo as activePage,
3661
3665
  Be as appDenial,
3662
3666
  Ce as appLifecycle,
3663
3667
  da as appRefusal,
3664
- Eo as authorizationCatalogs,
3668
+ To as authorizationCatalogs,
3665
3669
  ja as authorizationCopy,
3666
- To as backgroundCatalogs,
3670
+ zo as backgroundCatalogs,
3667
3671
  Wa as backgroundCopy,
3668
3672
  Ja as backgroundErrorCopy,
3669
- zo as bridgeCatalogs,
3670
- Ao as bridgeErrorCopy,
3671
- Ro as catalogs,
3672
- Io as clientTimeout,
3673
+ Ao as bridgeCatalogs,
3674
+ Ro as bridgeErrorCopy,
3675
+ Io as catalogs,
3676
+ Do as clientTimeout,
3673
3677
  Ga as createBackgroundPickerProvider,
3674
- Do as createBackgroundSaveFacade,
3675
- Uo as createDsmSession,
3676
- Vo as createFileTransfers,
3678
+ Uo as createBackgroundSaveFacade,
3679
+ Vo as createDsmSession,
3680
+ No as createFileTransfers,
3677
3681
  Pa as createNasProvider,
3678
- No as createPortalAccess,
3679
- io as createSession,
3680
- Bo as createStandaloneContext,
3681
- Lo as createStandaloneHost,
3682
- Oo as decodeResponse,
3683
- Fo as delegateCatalogs,
3682
+ Bo as createPortalAccess,
3683
+ uo as createSession,
3684
+ Lo as createStandaloneContext,
3685
+ Oo as createStandaloneHost,
3686
+ Fo as decodeResponse,
3687
+ qo as delegateCatalogs,
3684
3688
  Ve as delegateCopy,
3685
- qo as encodeRequest,
3689
+ Mo as encodeRequest,
3686
3690
  Qa as errorCopy,
3687
- Mo as fileStationPath,
3691
+ Ko as fileStationPath,
3688
3692
  Je as format,
3689
- Ko as identityCatalogs,
3693
+ Ho as identityCatalogs,
3690
3694
  Xa as identityCopy,
3691
3695
  $a as isFullPage,
3692
3696
  Ea as labelSeparator,
3693
3697
  Ne as lifecycleCopy,
3694
3698
  Ya as lifecycleRefusal,
3695
3699
  ca as lifecycleRetryDelay,
3696
- Ho as mergeCatalogs,
3697
- Xo as nasCatalogs,
3700
+ Xo as mergeCatalogs,
3701
+ Wo as nasCatalogs,
3698
3702
  Te as nasCopy,
3699
3703
  Sa as nasErrorCopy,
3700
- Wo as openFileInFileStation,
3701
- Go as openFolderInFileStation,
3702
- Jo as portalCatalogs,
3703
- Yo as portalMessages,
3704
- Qo as protocolCodes,
3705
- Zo as protocolOps,
3706
- jo as protocolSchemas,
3704
+ Go as openFileInFileStation,
3705
+ Jo as openFolderInFileStation,
3706
+ Yo as portalCatalogs,
3707
+ Qo as portalMessages,
3708
+ Zo as protocolCodes,
3709
+ jo as protocolOps,
3710
+ es as protocolSchemas,
3707
3711
  ba as requestKey,
3708
- es as saveCatalogs,
3712
+ as as saveCatalogs,
3709
3713
  fa as saveCopy,
3710
3714
  Ye as saveError,
3711
3715
  Za as scopedPicker,
3712
- as as shellCatalogs,
3716
+ ts as shellCatalogs,
3713
3717
  sa as shellCopy,
3714
- ts as shellPages,
3718
+ ls as shellPages,
3715
3719
  va as uiLocale,
3716
- ls as uiLocales,
3717
- Gn as useAuthorization,
3720
+ ns as uiLocales,
3721
+ Jn as useAuthorization,
3718
3722
  _t as useExecutorPreload,
3719
3723
  Va as useExecutorSetup,
3720
3724
  $t as useNasRequest