@pristy/pristy-libvue 0.3.3 → 0.4.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.
@@ -1,250 +1,369 @@
1
- import { AlfrescoApi as Ae, ContentApi as Se, UploadApi as Pe, RenditionsApi as Le, NodesApi as Ve, SitesApi as Oe, SearchApi as Ce, PeopleApi as je, FavoritesApi as xe, TrashcanApi as De } from "@alfresco/js-api";
2
- import { getCurrentInstance as me, inject as Ie, markRaw as S, ref as he, watch as $e, reactive as Re, effectScope as Fe, isRef as I, isReactive as se, toRef as T, toRaw as Ue, nextTick as ae, computed as ge, onUnmounted as Te, toRefs as ce } from "vue";
3
- let M = null;
4
- function E() {
5
- return M || (M = new Ae({
1
+ import { AlfrescoApi as Lt, ContentApi as Tt, UploadApi as Ft, RenditionsApi as Dt, NodesApi as jt, SitesApi as Ut, SearchApi as Bt, PeopleApi as It, FavoritesApi as Vt, TrashcanApi as Mt } from "@alfresco/js-api";
2
+ import { getCurrentInstance as ot, inject as $t, markRaw as B, ref as it, watch as zt, reactive as qt, effectScope as Ht, isRef as Y, isReactive as Fe, toRef as fe, toRaw as Wt, nextTick as Ve, computed as at, onUnmounted as Jt, toRefs as Me } from "vue";
3
+ let de = null;
4
+ function v() {
5
+ return de || (de = new Lt({
6
6
  hostEcm: window.config.ALFRESCO_HOST,
7
7
  authType: window.config.ALFRESCO_AUTH,
8
8
  contextRoot: window.config.ALFRESCO_ROOT
9
- })), M;
9
+ })), de;
10
10
  }
11
- let W = null;
12
- function z() {
13
- return W || (W = new Se(E())), W;
11
+ let pe = null;
12
+ function he() {
13
+ return pe || (pe = new Tt(v())), pe;
14
14
  }
15
- let q = null;
16
- function Me() {
17
- return q || (q = new Pe(E())), q;
15
+ let me = null;
16
+ function Xt() {
17
+ return me || (me = new Ft(v())), me;
18
18
  }
19
- let H = null;
20
- function ue() {
21
- return H || (H = new Le(E())), H;
19
+ let Ee = null;
20
+ function $e() {
21
+ return Ee || (Ee = new Dt(v())), Ee;
22
22
  }
23
- let B = null;
24
- function y() {
25
- return B || (B = new Ve(E())), B;
23
+ let be = null;
24
+ function P() {
25
+ return be || (be = new jt(v())), be;
26
26
  }
27
- let G = null;
28
- function k() {
29
- return G || (G = new Oe(E())), G;
27
+ let we = null;
28
+ function L() {
29
+ return we || (we = new Ut(v())), we;
30
30
  }
31
- let J = null;
32
- function We() {
33
- return J || (J = new Ce(E())), J;
31
+ let ye = null;
32
+ function Gt() {
33
+ return ye || (ye = new Bt(v())), ye;
34
34
  }
35
- let Y = null;
36
- function ee() {
37
- return Y || (Y = new je(E())), Y;
35
+ let ge = null;
36
+ function Re() {
37
+ return ge || (ge = new It(v())), ge;
38
38
  }
39
- let Q = null;
40
- function X() {
41
- return Q || (Q = new xe(E())), Q;
39
+ let Ne = null;
40
+ function Se() {
41
+ return Ne || (Ne = new Vt(v())), Ne;
42
42
  }
43
- let Z = null;
44
- function Ke() {
45
- return Z || (Z = new De(E())), Z;
43
+ let Ae = null;
44
+ function bn() {
45
+ return Ae || (Ae = new Mt(v())), Ae;
46
46
  }
47
- class be {
48
- uploadFileError(r, t) {
49
- let e;
50
- switch (r.status) {
47
+ class ct {
48
+ uploadFileError(t, r) {
49
+ let n;
50
+ switch (t.status) {
51
51
  case 400:
52
- e = "Les param\xE8tres de la requ\xEAte sont invalides.";
52
+ n = "Les param\xE8tres de la requ\xEAte sont invalides.";
53
53
  break;
54
54
  case 403:
55
- e = "Vous n'avez pas les droits pour cr\xE9er un fichier.";
55
+ n = "Vous n'avez pas les droits pour cr\xE9er un fichier.";
56
56
  break;
57
57
  case 404:
58
- e = "Impossible de trouver le dossier parent.";
58
+ n = "Impossible de trouver le dossier parent.";
59
59
  break;
60
60
  case 409:
61
- e = "Le fichier " + t + " existe d\xE9j\xE0.";
61
+ n = "Le fichier " + r + " existe d\xE9j\xE0.";
62
62
  break;
63
63
  case 413:
64
- e = "Le contenu d\xE9passe la limite de taille de fichier individuelle configur\xE9e pour le r\xE9seau ou le syst\xE8me";
64
+ n = "Le contenu d\xE9passe la limite de taille de fichier individuelle configur\xE9e pour le r\xE9seau ou le syst\xE8me";
65
65
  break;
66
66
  case 415:
67
- e = "Le type du contenu du noeud n'est pas support\xE9.";
67
+ n = "Le type du contenu du noeud n'est pas support\xE9.";
68
68
  break;
69
69
  case 422:
70
- e = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom de fichier contenant des caract\xE8res non valides.";
70
+ n = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom de fichier contenant des caract\xE8res non valides.";
71
+ break;
72
+ case 502:
73
+ n = "La r\xE9ponse re\xE7ue est non valide.";
74
+ break;
75
+ case 504:
76
+ n = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
71
77
  break;
72
78
  case 507:
73
- e = "Le contenu d\xE9passe la limite de quota de stockage globale configur\xE9e pour le r\xE9seau ou le syst\xE8me.";
79
+ n = "Le contenu d\xE9passe la limite de quota de stockage globale configur\xE9e pour le r\xE9seau ou le syst\xE8me.";
74
80
  break;
75
81
  default:
76
- e = r.message;
82
+ n = t.message;
77
83
  }
78
- throw new Error(e);
84
+ throw new Error(n);
79
85
  }
80
- createNodeError(r) {
81
- let t;
82
- switch (r.status) {
86
+ createNodeError(t) {
87
+ let r;
88
+ switch (t.status) {
83
89
  case 400:
84
- t = "Le nom choisi est invalide.";
90
+ r = "Le nom choisi est invalide.";
85
91
  break;
86
92
  case 409:
87
- t = "Le nom choisi est d\xE9j\xE0 existant.";
93
+ r = "Le nom choisi est d\xE9j\xE0 existant.";
88
94
  break;
89
95
  case 422:
90
- t = "Le nom choisi ne respecte pas le format requis.";
96
+ r = "Le nom choisi ne respecte pas le format requis.";
91
97
  break;
92
98
  default:
93
- t = r.message;
99
+ r = t.message;
94
100
  }
95
- throw new Error(t);
101
+ throw new Error(r);
96
102
  }
97
- updateNodeError(r) {
98
- let t;
99
- switch (r.status) {
103
+ updateNodeError(t) {
104
+ let r;
105
+ switch (t.status) {
100
106
  case 400:
101
- t = "Le nom choisi est invalide.";
107
+ r = "Le nom choisi est invalide.";
102
108
  break;
103
109
  case 409:
104
- t = "Le nom choisi est d\xE9j\xE0 existant.";
110
+ r = "Le nom choisi est d\xE9j\xE0 existant.";
105
111
  break;
106
112
  case 422:
107
- t = "Le nom choisi ne respecte pas le format requis.";
113
+ r = "Le nom choisi ne respecte pas le format requis.";
108
114
  break;
109
115
  default:
110
- t = r.message;
116
+ r = t.message;
111
117
  }
112
- throw new Error(t);
118
+ throw new Error(r);
113
119
  }
114
- deleteNodeError(r, t) {
115
- let e;
116
- switch (r.status) {
120
+ deleteNodeError(t, r) {
121
+ let n;
122
+ switch (t.status) {
117
123
  case 403:
118
- e = `Vous n'avez pas la permission de supprimer ce ${t}.`;
124
+ n = `Vous n'avez pas la permission de supprimer ce ${r}.`;
119
125
  break;
120
126
  case 404:
121
- e = `Le ${t} \xE0 supprimer n'existe pas.`;
127
+ n = `Le ${r} \xE0 supprimer n'existe pas.`;
122
128
  break;
123
129
  case 409:
124
- e = `Vous ne pouvez pas supprimer ce ${t}, ce dernier est verrouill\xE9.`;
130
+ n = `Vous ne pouvez pas supprimer ce ${r}, ce dernier est verrouill\xE9.`;
125
131
  break;
126
132
  default:
127
- e = r.message;
133
+ n = t.message;
128
134
  }
129
- throw new Error(e);
135
+ throw new Error(n);
130
136
  }
131
- updateContentNodeError(r) {
132
- let t;
133
- switch (r.status) {
137
+ updateContentNodeError(t) {
138
+ let r;
139
+ switch (t.status) {
134
140
  case 400:
135
- t = "Le type du contenu du noeud n'est pas support\xE9.";
141
+ r = "Le type du contenu du noeud n'est pas support\xE9.";
136
142
  break;
137
143
  case 403:
138
- t = "Vous n'avez pas la permission pour mettre \xE0 jour.";
144
+ r = "Vous n'avez pas la permission pour mettre \xE0 jour.";
139
145
  break;
140
146
  case 404:
141
- t = "Impossible de mettre \xE0 jour un fichier inexistant.";
147
+ r = "Impossible de mettre \xE0 jour un fichier inexistant.";
142
148
  break;
143
149
  case 409:
144
- t = "Le nom du fichier est d\xE9j\xE0 existant.";
150
+ r = "Le nom du fichier est d\xE9j\xE0 existant.";
145
151
  break;
146
152
  case 413:
147
- t = "Le contenu d\xE9passe la taille limite individuelle de fichier configur\xE9e pour le r\xE9seau ou le syst\xE8me.";
153
+ r = "Le contenu d\xE9passe la taille limite individuelle de fichier configur\xE9e pour le r\xE9seau ou le syst\xE8me.";
148
154
  break;
149
155
  case 422:
150
- t = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom de fichier contenant des caract\xE8res non valides.";
156
+ r = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom de fichier contenant des caract\xE8res non valides.";
151
157
  break;
152
158
  case 507:
153
- t = "Le contenu d\xE9passe la limite de quota de stockage globale configur\xE9e pour le r\xE9seau ou le syst\xE8me.";
159
+ r = "Le contenu d\xE9passe la limite de quota de stockage globale configur\xE9e pour le r\xE9seau ou le syst\xE8me.";
154
160
  break;
155
161
  default:
156
- t = r.message;
162
+ r = t.message;
157
163
  }
158
- throw new Error(t);
164
+ throw new Error(r);
159
165
  }
160
- copyNodeError(r) {
161
- let t;
162
- switch (r.status) {
166
+ copyNodeError(t) {
167
+ let r;
168
+ switch (t.status) {
163
169
  case 403:
164
- t = "Vous n'avez pas la permission pour copier cet \xE9l\xE9ment";
170
+ r = "Vous n'avez pas la permission pour copier cet \xE9l\xE9ment";
165
171
  break;
166
172
  case 404:
167
- t = "Impossible de copier un \xE9l\xE9ment inexistant.";
173
+ r = "Impossible de copier un \xE9l\xE9ment inexistant.";
168
174
  break;
169
175
  case 409:
170
- t = "Le nom de l'\xE9l\xE9ment entre en conflit avec un \xE9l\xE9ment existant au m\xEAme endroit.";
176
+ r = "Le nom de l'\xE9l\xE9ment entre en conflit avec un \xE9l\xE9ment existant au m\xEAme endroit.";
171
177
  break;
172
178
  case 422:
173
- t = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom d'\xE9l\xE9ment contenant des caract\xE8res non valides.";
179
+ r = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom d'\xE9l\xE9ment contenant des caract\xE8res non valides.";
174
180
  break;
175
181
  default:
176
- t = r.message;
182
+ r = t.message;
177
183
  }
178
- throw new Error(t);
184
+ throw new Error(r);
179
185
  }
180
- moveNodeError(r) {
181
- let t;
182
- switch (r.status) {
186
+ moveNodeError(t) {
187
+ let r;
188
+ switch (t.status) {
183
189
  case 400:
184
- t = "Vous ne pouvez pas d\xE9placer l'\xE9l\xE9ment \xE0 l'endroit ou il se trouve.";
190
+ r = "Vous ne pouvez pas d\xE9placer l'\xE9l\xE9ment \xE0 l'endroit ou il se trouve.";
185
191
  break;
186
192
  case 403:
187
- t = "Vous n'avez pas la permission pour d\xE9placer cet \xE9l\xE9ment";
193
+ r = "Vous n'avez pas la permission pour d\xE9placer cet \xE9l\xE9ment";
188
194
  break;
189
195
  case 404:
190
- t = "Impossible de d\xE9placer un \xE9l\xE9ment inexistant.";
196
+ r = "Impossible de d\xE9placer un \xE9l\xE9ment inexistant.";
191
197
  break;
192
198
  case 409:
193
- t = "Le nom de l'\xE9l\xE9ment entre en conflit avec un \xE9l\xE9ment existant au m\xEAme endroit.";
199
+ r = "Le nom de l'\xE9l\xE9ment entre en conflit avec un \xE9l\xE9ment existant au m\xEAme endroit.";
194
200
  break;
195
201
  case 422:
196
- t = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom d'\xE9l\xE9ment contenant des caract\xE8res non valides.";
202
+ r = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom d'\xE9l\xE9ment contenant des caract\xE8res non valides.";
197
203
  break;
198
204
  default:
199
- t = r.message;
205
+ r = t.message;
200
206
  }
201
- throw new Error(t);
207
+ throw new Error(r);
202
208
  }
203
209
  }
204
- function ze(s) {
205
- let r, t = JSON.parse(s.message).error;
206
- switch (t.statusCode) {
210
+ function Kt(e) {
211
+ let t, r = JSON.parse(e.message).error;
212
+ switch (r.statusCode) {
207
213
  case 401:
208
- r = "L'authentification a \xE9chou\xE9";
214
+ t = "L'authentification a \xE9chou\xE9";
209
215
  break;
210
216
  case 403:
211
- r = "Nom d'utilisateur ou mot de passe incorrect.";
217
+ t = "Nom d'utilisateur ou mot de passe incorrect.";
218
+ break;
219
+ default:
220
+ t = r.message;
221
+ }
222
+ throw new Error(t);
223
+ }
224
+ function Qt(e) {
225
+ let t;
226
+ switch (e.status) {
227
+ case 404:
228
+ t = "Impossible de trouver le lool url";
229
+ break;
230
+ case 500:
231
+ t = "Erreur du serveur Alfresco";
232
+ break;
233
+ default:
234
+ t = e.message;
235
+ }
236
+ throw new Error(t);
237
+ }
238
+ function Yt(e) {
239
+ let t;
240
+ switch (e.status) {
241
+ case 404:
242
+ t = "Impossible de trouver le token.";
243
+ break;
244
+ case 500:
245
+ t = "Erreur du serveur Alfresco";
212
246
  break;
213
247
  default:
214
- r = t.message;
248
+ t = e.message;
215
249
  }
216
- throw new Error(r);
250
+ throw new Error(t);
217
251
  }
218
- function qe() {
219
- return new be();
252
+ function Zt(e) {
253
+ let t;
254
+ switch (e.status) {
255
+ case 404:
256
+ t = "Impossible de trouver les extensions compatibles avec Collabora.";
257
+ break;
258
+ case 500:
259
+ t = "Erreur du serveur Collabora";
260
+ break;
261
+ default:
262
+ t = e.message;
263
+ }
264
+ throw new Error(t);
220
265
  }
221
- class et {
222
- getThumbnailUrl(r) {
223
- return z().getDocumentThumbnailUrl(r);
266
+ function er(e) {
267
+ let t;
268
+ switch (e.status) {
269
+ case 404:
270
+ t = "Impossible de trouver si l'\xE9l\xE9ment peut \xEAtre ouvert avec Collabora.";
271
+ break;
272
+ case 500:
273
+ t = "Erreur du serveur Collabora";
274
+ break;
275
+ default:
276
+ t = e.message;
224
277
  }
225
- getPreviewUrl(r) {
226
- return z().getDocumentPreviewUrl(r);
278
+ throw new Error(t);
279
+ }
280
+ function tr(e) {
281
+ let t;
282
+ switch (e.status) {
283
+ case 404:
284
+ t = "Impossible de trouver la liste des favoris.";
285
+ break;
286
+ case 502:
287
+ t = "La r\xE9ponse re\xE7ue est non valide.";
288
+ break;
289
+ case 504:
290
+ t = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
291
+ break;
292
+ default:
293
+ t = e.message;
227
294
  }
228
- getContentUrl(r) {
229
- return z().getContentUrl(r);
295
+ throw new Error(t);
296
+ }
297
+ function rr(e) {
298
+ let t;
299
+ switch (e.status) {
300
+ case 401:
301
+ t = "L'authentification \xE0 \xE9chou\xE9, veuillez vous reconnecter.";
302
+ break;
303
+ case 404:
304
+ t = "Impossible de trouver l'\xE9l\xE9ment \xE0 ajouter aux favoris.";
305
+ break;
306
+ case 409:
307
+ t = "L'\xE9l\xE9ment est d\xE9j\xE0 favori.";
308
+ break;
309
+ case 502:
310
+ t = "La r\xE9ponse re\xE7ue est non valide.";
311
+ break;
312
+ case 504:
313
+ t = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
314
+ break;
315
+ default:
316
+ t = e.message;
230
317
  }
231
- uploadFile(r, t, e) {
232
- return Me().uploadFile(e, null, r, null, t).on("progress", (n) => {
233
- console.log("Percent :" + n.percent);
318
+ throw new Error(t);
319
+ }
320
+ function nr(e) {
321
+ let t;
322
+ switch (e.status) {
323
+ case 404:
324
+ t = "Impossible de trouver l'\xE9l\xE9ment \xE0 supprimer des favoris.";
325
+ break;
326
+ case 502:
327
+ t = "La r\xE9ponse re\xE7ue est non valide.";
328
+ break;
329
+ case 504:
330
+ t = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.";
331
+ break;
332
+ default:
333
+ t = e.message;
334
+ }
335
+ throw new Error(t);
336
+ }
337
+ function sr() {
338
+ return new ct();
339
+ }
340
+ class wn {
341
+ getThumbnailUrl(t) {
342
+ return he().getDocumentThumbnailUrl(t);
343
+ }
344
+ getPreviewUrl(t) {
345
+ return he().getDocumentPreviewUrl(t);
346
+ }
347
+ getContentUrl(t) {
348
+ return he().getContentUrl(t);
349
+ }
350
+ uploadFile(t, r, n) {
351
+ return Xt().uploadFile(n, null, t, null, r).on("progress", (s) => {
352
+ console.log("Percent :" + s.percent);
234
353
  }).then(
235
- (n) => this.createAllRendition(n.entry.id).then(() => n).catch((o) => o),
236
- (n) => {
237
- qe().uploadFileError(n, e.name);
354
+ (s) => this.createAllRendition(s.entry.id).then(() => s).catch((i) => i),
355
+ (s) => {
356
+ sr().uploadFileError(s, n.name);
238
357
  }
239
358
  );
240
359
  }
241
- createRendition(r, t) {
242
- return ue().createRendition(r, {
243
- id: t
360
+ createRendition(t, r) {
361
+ return $e().createRendition(t, {
362
+ id: r
244
363
  });
245
364
  }
246
- createAllRendition(r) {
247
- return ue().createRendition(r, [
365
+ createAllRendition(t) {
366
+ return $e().createRendition(t, [
248
367
  {
249
368
  id: "doclib"
250
369
  },
@@ -254,12 +373,12 @@ class et {
254
373
  ]);
255
374
  }
256
375
  }
257
- function V() {
258
- return new be();
376
+ function $() {
377
+ return new ct();
259
378
  }
260
- class tt {
261
- getNode(r) {
262
- const t = {
379
+ class yn {
380
+ getNode(t) {
381
+ const r = {
263
382
  include: [
264
383
  "isFavorite",
265
384
  "properties",
@@ -267,18 +386,18 @@ class tt {
267
386
  "permissions"
268
387
  ]
269
388
  };
270
- return y().getNode(r, t).then((e) => e.entry);
389
+ return P().getNode(t, r).then((n) => n.entry);
271
390
  }
272
- createNode(r, t) {
273
- return y().createNode(r, t).then(
274
- (e) => e,
275
- (e) => {
276
- V().createNodeError(e);
391
+ createNode(t, r) {
392
+ return P().createNode(t, r).then(
393
+ (n) => n,
394
+ (n) => {
395
+ $().createNodeError(n);
277
396
  }
278
397
  );
279
398
  }
280
- getChildren(r) {
281
- const t = {
399
+ getChildren(t) {
400
+ const r = {
282
401
  include: [
283
402
  "isFavorite",
284
403
  "properties",
@@ -286,47 +405,47 @@ class tt {
286
405
  "permissions"
287
406
  ]
288
407
  };
289
- return y().listNodeChildren(r, t).then((e) => {
290
- let n = e.list.entries.map((a) => a.entry), o = n.filter(
291
- (a) => a.name === "documentLibrary"
408
+ return P().listNodeChildren(t, r).then((n) => {
409
+ let s = n.list.entries.map((o) => o.entry), i = s.filter(
410
+ (o) => o.name === "documentLibrary"
292
411
  )[0];
293
- return o ? this.getChildren(o.id).then((a) => ({
294
- documentLibrary: o,
295
- subChildren: a
296
- })) : n;
412
+ return i ? this.getChildren(i.id).then((o) => ({
413
+ documentLibrary: i,
414
+ subChildren: o
415
+ })) : s;
297
416
  });
298
417
  }
299
- updateNode(r, t) {
300
- return y().updateNode(r, t).then(
301
- (e) => e,
302
- function(e) {
303
- V().updateNodeError(e);
418
+ updateNode(t, r) {
419
+ return P().updateNode(t, r).then(
420
+ (n) => n,
421
+ function(n) {
422
+ $().updateNodeError(n);
304
423
  }
305
424
  );
306
425
  }
307
- deleteNode(r, t) {
308
- const e = {};
309
- return y().deleteNode(r, e).then(
310
- (n) => n,
311
- function(n) {
312
- V().deleteNodeError(n, t);
426
+ deleteNode(t, r) {
427
+ const n = {};
428
+ return P().deleteNode(t, n).then(
429
+ (s) => s,
430
+ function(s) {
431
+ $().deleteNodeError(s, r);
313
432
  }
314
433
  );
315
434
  }
316
- getParents(r) {
317
- const t = {
435
+ getParents(t) {
436
+ const r = {
318
437
  include: ["isFavorite", "properties"]
319
438
  };
320
- return y().listParents(r, t).then((e) => {
321
- let n = e.list.entries.map((a) => a.entry), o = n[0];
322
- return o && o.name === "documentLibrary" ? this.getParents(o.id).then((a) => ({
323
- documentLibrary: o,
324
- supParent: a
325
- })) : n[0];
439
+ return P().listParents(t, r).then((n) => {
440
+ let s = n.list.entries.map((o) => o.entry), i = s[0];
441
+ return i && i.name === "documentLibrary" ? this.getParents(i.id).then((o) => ({
442
+ documentLibrary: i,
443
+ supParent: o
444
+ })) : s[0];
326
445
  });
327
446
  }
328
- getDocumentLibrary(r) {
329
- const t = {
447
+ getDocumentLibrary(t) {
448
+ const r = {
330
449
  include: [
331
450
  "isFavorite",
332
451
  "properties",
@@ -334,69 +453,69 @@ class tt {
334
453
  "permissions"
335
454
  ]
336
455
  };
337
- return y().listNodeChildren(r, t).then((e) => e.list.entries.map((o) => o.entry).find((o) => o.name === "documentLibrary"));
456
+ return P().listNodeChildren(t, r).then((n) => n.list.entries.map((i) => i.entry).find((i) => i.name === "documentLibrary"));
338
457
  }
339
- updateContentNode(r, t) {
340
- return y().updateNodeContent(r, t).then(
341
- (e) => e,
342
- function(e) {
343
- V().updateContentNodeError(e);
458
+ updateContentNode(t, r) {
459
+ return P().updateNodeContent(t, r).then(
460
+ (n) => n,
461
+ function(n) {
462
+ $().updateContentNodeError(n);
344
463
  }
345
464
  );
346
465
  }
347
- copyNode(r, t, e) {
348
- const n = e !== null ? {
349
- targetParentId: t,
350
- name: e
466
+ copyNode(t, r, n) {
467
+ const s = n !== null ? {
468
+ targetParentId: r,
469
+ name: n
351
470
  } : {
352
- targetParentId: t
353
- }, o = {
471
+ targetParentId: r
472
+ }, i = {
354
473
  include: ["path"]
355
474
  };
356
- return y().copyNode(r, n, o).then(
357
- (a) => a,
358
- function(a) {
359
- V().copyNodeError(a);
475
+ return P().copyNode(t, s, i).then(
476
+ (o) => o,
477
+ function(o) {
478
+ $().copyNodeError(o);
360
479
  }
361
480
  );
362
481
  }
363
- moveNode(r, t, e) {
364
- const n = e !== null ? {
365
- targetParentId: t,
366
- name: e
482
+ moveNode(t, r, n) {
483
+ const s = n !== null ? {
484
+ targetParentId: r,
485
+ name: n
367
486
  } : {
368
- targetParentId: t
369
- }, o = {
487
+ targetParentId: r
488
+ }, i = {
370
489
  include: ["path"]
371
490
  };
372
- return y().moveNode(r, n, o).then(
373
- (a) => a,
374
- function(a) {
375
- V().moveNodeError(a);
491
+ return P().moveNode(t, s, i).then(
492
+ (o) => o,
493
+ function(o) {
494
+ $().moveNodeError(o);
376
495
  }
377
496
  );
378
497
  }
379
498
  }
380
- class rt {
499
+ class gn {
381
500
  getPublicLink() {
382
501
  }
383
502
  createPublicLink() {
384
503
  }
385
504
  }
386
- class st {
505
+ class Nn {
387
506
  getWorkspaces() {
388
- const r = {
507
+ const t = {
389
508
  skipCount: 0,
390
509
  maxItems: 100
391
510
  };
392
- return k().listSites(r).then((t) => t.list.entries.map((e) => e.entry)).catch((t) => {
393
- throw new Error(t.message);
511
+ return L().listSites(t).then((r) => r.list.entries.map((n) => n.entry)).catch((r) => {
512
+ throw new Error(r.message);
394
513
  });
395
514
  }
396
- searchAllWorkspaces(r = "") {
397
- const t = {
515
+ searchAllWorkspaces(t = "") {
516
+ const r = {
398
517
  query: {
399
- query: "TYPE: 'st:site' " + r
518
+ query: "TYPE: 'st:site' " + t
400
519
  },
401
520
  include: ["properties"],
402
521
  paging: {
@@ -405,35 +524,35 @@ class st {
405
524
  },
406
525
  localization: { locales: ["fr_FR"] }
407
526
  };
408
- return We().search(t).then((e) => e.list.entries.map((n) => {
409
- let o = n.entry;
410
- return o.title = n.entry.properties["cm:title"], o.visibility = n.entry.properties["st:siteVisibility"], o.typeEspace = n.entry.properties["pm:typeEspace"], o;
411
- })).catch((e) => {
412
- throw new Error(e.message);
527
+ return Gt().search(r).then((n) => n.list.entries.map((s) => {
528
+ let i = s.entry;
529
+ return i.title = s.entry.properties["cm:title"], i.visibility = s.entry.properties["st:siteVisibility"], i.typeEspace = s.entry.properties["pm:typeEspace"], i;
530
+ })).catch((n) => {
531
+ throw new Error(n.message);
413
532
  });
414
533
  }
415
- getWorkspace(r) {
416
- const t = {};
417
- return k().getSite(r, t).then((e) => e.entry).catch((e) => {
418
- throw new Error(e.message);
534
+ getWorkspace(t) {
535
+ const r = {};
536
+ return L().getSite(t, r).then((n) => n.entry).catch((n) => {
537
+ throw new Error(n.message);
419
538
  });
420
539
  }
421
- getWorkspaceMemberships(r) {
422
- const t = {};
423
- return k().listSiteMemberships(r, t).then((e) => e.list.entries.map((n) => n.entry)).catch((e) => {
424
- throw new Error(e.message);
540
+ getWorkspaceMemberships(t) {
541
+ const r = {};
542
+ return L().listSiteMemberships(t, r).then((n) => n.list.entries.map((s) => s.entry)).catch((n) => {
543
+ throw new Error(n.message);
425
544
  });
426
545
  }
427
- createWorkspace(r, t, e, n) {
428
- const o = {
429
- id: r,
430
- title: t,
431
- description: e,
432
- visibility: n
546
+ createWorkspace(t, r, n, s) {
547
+ const i = {
548
+ id: t,
549
+ title: r,
550
+ description: n,
551
+ visibility: s
433
552
  };
434
- return k().createSite(o).then((a) => a).catch((a) => {
553
+ return L().createSite(i).then((o) => o).catch((o) => {
435
554
  let u;
436
- switch (a.status) {
555
+ switch (o.status) {
437
556
  case 400:
438
557
  u = "L'identifiant choisi ne respecte pas le format requis.";
439
558
  break;
@@ -441,29 +560,29 @@ class st {
441
560
  u = "L'identifiant choisi est d\xE9j\xE0 existant.";
442
561
  break;
443
562
  default:
444
- u = a.message;
563
+ u = o.message;
445
564
  }
446
565
  throw new Error(u);
447
566
  });
448
567
  }
449
- async getWorskpaceUuid(r) {
450
- const t = {
568
+ async getWorskpaceUuid(t) {
569
+ const r = {
451
570
  skipCount: 0,
452
571
  maxItems: 100
453
572
  };
454
- let e = null;
455
- const n = (await k.listSiteContainers(r, t)).list.entries;
456
- for (let o in n)
457
- n[o].entry.folderId === "documentLibrary" && (e = n[o].entry.id);
458
- return e;
573
+ let n = null;
574
+ const s = (await L.listSiteContainers(t, r)).list.entries;
575
+ for (let i in s)
576
+ s[i].entry.folderId === "documentLibrary" && (n = s[i].entry.id);
577
+ return n;
459
578
  }
460
- updateWorkspaceMemberRole(r, t, e) {
461
- const n = {
462
- role: e
463
- }, o = {};
464
- return k().updateSiteMembership(r, t, n, o).then((a) => a).catch((a) => {
579
+ updateWorkspaceMemberRole(t, r, n) {
580
+ const s = {
581
+ role: n
582
+ }, i = {};
583
+ return L().updateSiteMembership(t, r, s, i).then((o) => o).catch((o) => {
465
584
  let u;
466
- switch (a.status) {
585
+ switch (o.status) {
467
586
  case 404:
468
587
  u = "L'identifiant entr\xE9 ne correspond \xE0 aucun utilisateur.";
469
588
  break;
@@ -471,38 +590,38 @@ class st {
471
590
  u = "Au moins un utilisateur doit \xEAtre Gestionnaire. Si ce n'est pas le cas, vous n'avez pas la permission de modifier le r\xF4le de cet utilisateur.";
472
591
  break;
473
592
  default:
474
- u = a.message;
593
+ u = o.message;
475
594
  }
476
595
  throw new Error(u);
477
596
  });
478
597
  }
479
- deleteWorkspaceMember(r, t) {
480
- return k().deleteSiteMembership(r, t).then(() => t).catch((e) => {
481
- let n;
482
- switch (e.status) {
598
+ deleteWorkspaceMember(t, r) {
599
+ return L().deleteSiteMembership(t, r).then(() => r).catch((n) => {
600
+ let s;
601
+ switch (n.status) {
483
602
  case 400:
484
- n = "Impossible de supprimer le seul Gestionnaire de l'espace.";
603
+ s = "Impossible de supprimer le seul Gestionnaire de l'espace.";
485
604
  break;
486
605
  case 404:
487
- n = "Vous ne pouvez pas supprimer un utilisateur inexistant.";
606
+ s = "Vous ne pouvez pas supprimer un utilisateur inexistant.";
488
607
  break;
489
608
  case 422:
490
- n = "Vous n'avez pas la permission de supprimer l'acc\xE8s \xE0 cet utilisateur.";
609
+ s = "Vous n'avez pas la permission de supprimer l'acc\xE8s \xE0 cet utilisateur.";
491
610
  break;
492
611
  default:
493
- n = e.message;
612
+ s = n.message;
494
613
  }
495
- throw new Error(n);
614
+ throw new Error(s);
496
615
  });
497
616
  }
498
- addWorkspaceMember(r, t, e) {
499
- const n = {
500
- role: e,
501
- id: t
502
- }, o = {};
503
- return k().createSiteMembership(r, n, o).then((a) => a).catch((a) => {
617
+ addWorkspaceMember(t, r, n) {
618
+ const s = {
619
+ role: n,
620
+ id: r
621
+ }, i = {};
622
+ return L().createSiteMembership(t, s, i).then((o) => o).catch((o) => {
504
623
  let u;
505
- switch (a.status) {
624
+ switch (o.status) {
506
625
  case 403:
507
626
  u = "Vous ne pouvez pas inviter sur ce site.";
508
627
  break;
@@ -513,343 +632,343 @@ class st {
513
632
  u = "L'utilisateur a d\xE9j\xE0 acc\xE8s \xE0 cet espace.";
514
633
  break;
515
634
  default:
516
- u = a.message;
635
+ u = o.message;
517
636
  }
518
637
  throw new Error(u);
519
638
  });
520
639
  }
521
- updateWorkspaceType(r, t) {
522
- const e = {
640
+ updateWorkspaceType(t, r) {
641
+ const n = {
523
642
  properties: {
524
- "pm:typeEspace": t
643
+ "pm:typeEspace": r
525
644
  }
526
645
  };
527
- return y().updateNode(r, e).then((n) => n).catch((n) => {
528
- let o;
529
- switch (n.status) {
646
+ return P().updateNode(t, n).then((s) => s).catch((s) => {
647
+ let i;
648
+ switch (s.status) {
530
649
  case 404:
531
- o = "Vous ne pouvez pas mettre \xE0 jour un espace inexistant.";
650
+ i = "Vous ne pouvez pas mettre \xE0 jour un espace inexistant.";
532
651
  break;
533
652
  default:
534
- o = n.message;
653
+ i = s.message;
535
654
  }
536
- throw new Error(o);
655
+ throw new Error(i);
537
656
  });
538
657
  }
539
658
  async getAllUsers() {
540
- return ee().listPeople().then((r) => r.list.entries.map((t) => {
541
- let e = t.entry;
542
- return e.email = (e == null ? void 0 : e.email) || "", e.firstName = (e == null ? void 0 : e.firstName) || e.email, e.lastName = (e == null ? void 0 : e.lastName) || e.email, {
543
- firstname: e.firstName,
544
- lastname: e.lastName,
545
- email: e.email,
546
- id: e.id,
547
- label: `${e.firstName} ${e.lastName}`,
548
- label2: `${e.lastName} ${e.firstName}`
659
+ return Re().listPeople().then((t) => t.list.entries.map((r) => {
660
+ let n = r.entry;
661
+ return n.email = (n == null ? void 0 : n.email) || "", n.firstName = (n == null ? void 0 : n.firstName) || n.email, n.lastName = (n == null ? void 0 : n.lastName) || n.email, {
662
+ firstname: n.firstName,
663
+ lastname: n.lastName,
664
+ email: n.email,
665
+ id: n.id,
666
+ label: `${n.firstName} ${n.lastName}`,
667
+ label2: `${n.lastName} ${n.firstName}`
549
668
  };
550
669
  }));
551
670
  }
552
- deleteWorkspace(r) {
553
- const t = {};
554
- return k().deleteSite(r, t).then(() => {
671
+ deleteWorkspace(t) {
672
+ const r = {};
673
+ return L().deleteSite(t, r).then(() => {
555
674
  console.log("Site deletion successful.");
556
- }).catch((e) => {
557
- throw new Error(e.message);
675
+ }).catch((n) => {
676
+ throw new Error(n.message);
558
677
  });
559
678
  }
560
- updateWorkspace(r, t) {
561
- return k().updateSite(r, t).then((e) => e).catch((e) => {
562
- throw new Error(e.message);
679
+ updateWorkspace(t, r) {
680
+ return L().updateSite(t, r).then((n) => n).catch((n) => {
681
+ throw new Error(n.message);
563
682
  });
564
683
  }
565
684
  }
566
- var He = !1;
567
- function R(s, r, t) {
568
- return Array.isArray(s) ? (s.length = Math.max(s.length, r), s.splice(r, 1, t), t) : (s[r] = t, t);
685
+ var or = !1;
686
+ function se(e, t, r) {
687
+ return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, r), r) : (e[t] = r, r);
569
688
  }
570
- function K(s, r) {
571
- if (Array.isArray(s)) {
572
- s.splice(r, 1);
689
+ function Oe(e, t) {
690
+ if (Array.isArray(e)) {
691
+ e.splice(t, 1);
573
692
  return;
574
693
  }
575
- delete s[r];
694
+ delete e[t];
576
695
  }
577
696
  /*!
578
697
  * pinia v2.0.17
579
698
  * (c) 2022 Eduardo San Martin Morote
580
699
  * @license MIT
581
700
  */
582
- let j;
583
- const F = (s) => j = s, Be = process.env.NODE_ENV !== "production" ? Symbol("pinia") : Symbol();
584
- function P(s) {
585
- return s && typeof s == "object" && Object.prototype.toString.call(s) === "[object Object]" && typeof s.toJSON != "function";
586
- }
587
- var D;
588
- (function(s) {
589
- s.direct = "direct", s.patchObject = "patch object", s.patchFunction = "patch function";
590
- })(D || (D = {}));
591
- const x = typeof window < "u";
592
- function Ee(s, r) {
593
- for (const t in r) {
594
- const e = r[t];
595
- if (!(t in s))
701
+ let X;
702
+ const ae = (e) => X = e, ir = process.env.NODE_ENV !== "production" ? Symbol("pinia") : Symbol();
703
+ function V(e) {
704
+ return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
705
+ }
706
+ var Q;
707
+ (function(e) {
708
+ e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
709
+ })(Q || (Q = {}));
710
+ const G = typeof window < "u";
711
+ function ut(e, t) {
712
+ for (const r in t) {
713
+ const n = t[r];
714
+ if (!(r in e))
596
715
  continue;
597
- const n = s[t];
598
- P(n) && P(e) && !I(e) && !se(e) ? s[t] = Ee(n, e) : s[t] = e;
716
+ const s = e[r];
717
+ V(s) && V(n) && !Y(n) && !Fe(n) ? e[r] = ut(s, n) : e[r] = n;
599
718
  }
600
- return s;
719
+ return e;
601
720
  }
602
- const ve = () => {
721
+ const lt = () => {
603
722
  };
604
- function le(s, r, t, e = ve) {
605
- s.push(r);
606
- const n = () => {
607
- const o = s.indexOf(r);
608
- o > -1 && (s.splice(o, 1), e());
723
+ function ze(e, t, r, n = lt) {
724
+ e.push(t);
725
+ const s = () => {
726
+ const i = e.indexOf(t);
727
+ i > -1 && (e.splice(i, 1), n());
609
728
  };
610
- return !t && me() && Te(n), n;
729
+ return !r && ot() && Jt(s), s;
611
730
  }
612
- function O(s, ...r) {
613
- s.slice().forEach((t) => {
614
- t(...r);
731
+ function z(e, ...t) {
732
+ e.slice().forEach((r) => {
733
+ r(...t);
615
734
  });
616
735
  }
617
- function te(s, r) {
618
- for (const t in r) {
619
- if (!r.hasOwnProperty(t))
736
+ function ke(e, t) {
737
+ for (const r in t) {
738
+ if (!t.hasOwnProperty(r))
620
739
  continue;
621
- const e = r[t], n = s[t];
622
- P(n) && P(e) && s.hasOwnProperty(t) && !I(e) && !se(e) ? s[t] = te(n, e) : s[t] = e;
623
- }
624
- return s;
625
- }
626
- const Ge = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : Symbol();
627
- function Je(s) {
628
- return !P(s) || !s.hasOwnProperty(Ge);
629
- }
630
- const { assign: w } = Object;
631
- function pe(s) {
632
- return !!(I(s) && s.effect);
633
- }
634
- function de(s, r, t, e) {
635
- const { state: n, actions: o, getters: a } = r, u = t.state.value[s];
636
- let N;
637
- function f() {
638
- !u && (process.env.NODE_ENV === "production" || !e) && (t.state.value[s] = n ? n() : {});
639
- const g = process.env.NODE_ENV !== "production" && e ? ce(he(n ? n() : {}).value) : ce(t.state.value[s]);
640
- return w(g, o, Object.keys(a || {}).reduce((d, m) => (process.env.NODE_ENV !== "production" && m in g && console.warn(`[\u{1F34D}]: A getter cannot have the same name as another state property. Rename one of them. Found with "${m}" in store "${s}".`), d[m] = S(ge(() => {
641
- F(t);
642
- const _ = t._s.get(s);
643
- return a[m].call(_, _);
644
- })), d), {}));
645
- }
646
- return N = re(s, f, r, t, e, !0), N.$reset = function() {
647
- const d = n ? n() : {};
648
- this.$patch((m) => {
649
- w(m, d);
740
+ const n = t[r], s = e[r];
741
+ V(s) && V(n) && e.hasOwnProperty(r) && !Y(n) && !Fe(n) ? e[r] = ke(s, n) : e[r] = n;
742
+ }
743
+ return e;
744
+ }
745
+ const ar = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : Symbol();
746
+ function cr(e) {
747
+ return !V(e) || !e.hasOwnProperty(ar);
748
+ }
749
+ const { assign: x } = Object;
750
+ function qe(e) {
751
+ return !!(Y(e) && e.effect);
752
+ }
753
+ function He(e, t, r, n) {
754
+ const { state: s, actions: i, getters: o } = t, u = r.state.value[e];
755
+ let f;
756
+ function c() {
757
+ !u && (process.env.NODE_ENV === "production" || !n) && (r.state.value[e] = s ? s() : {});
758
+ const d = process.env.NODE_ENV !== "production" && n ? Me(it(s ? s() : {}).value) : Me(r.state.value[e]);
759
+ return x(d, i, Object.keys(o || {}).reduce((m, g) => (process.env.NODE_ENV !== "production" && g in d && console.warn(`[\u{1F34D}]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${e}".`), m[g] = B(at(() => {
760
+ ae(r);
761
+ const h = r._s.get(e);
762
+ return o[g].call(h, h);
763
+ })), m), {}));
764
+ }
765
+ return f = Pe(e, c, t, r, n, !0), f.$reset = function() {
766
+ const m = s ? s() : {};
767
+ this.$patch((g) => {
768
+ x(g, m);
650
769
  });
651
- }, N;
770
+ }, f;
652
771
  }
653
- function re(s, r, t = {}, e, n, o) {
654
- let a;
655
- const u = w({ actions: {} }, t);
656
- if (process.env.NODE_ENV !== "production" && !e._e.active)
772
+ function Pe(e, t, r = {}, n, s, i) {
773
+ let o;
774
+ const u = x({ actions: {} }, r);
775
+ if (process.env.NODE_ENV !== "production" && !n._e.active)
657
776
  throw new Error("Pinia destroyed");
658
- const N = {
777
+ const f = {
659
778
  deep: !0
660
779
  };
661
- process.env.NODE_ENV !== "production" && !He && (N.onTrigger = (l) => {
662
- f ? _ = l : f == !1 && !c._hotUpdating && (Array.isArray(_) ? _.push(l) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
780
+ process.env.NODE_ENV !== "production" && !or && (f.onTrigger = (b) => {
781
+ c ? h = b : c == !1 && !E._hotUpdating && (Array.isArray(h) ? h.push(b) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
663
782
  });
664
- let f, g, d = S([]), m = S([]), _;
665
- const L = e.state.value[s];
666
- !o && !L && (process.env.NODE_ENV === "production" || !n) && (e.state.value[s] = {});
667
- const U = he({});
668
- let ne;
669
- function oe(l) {
670
- let i;
671
- f = g = !1, process.env.NODE_ENV !== "production" && (_ = []), typeof l == "function" ? (l(e.state.value[s]), i = {
672
- type: D.patchFunction,
673
- storeId: s,
674
- events: _
675
- }) : (te(e.state.value[s], l), i = {
676
- type: D.patchObject,
677
- payload: l,
678
- storeId: s,
679
- events: _
783
+ let c, d, m = B([]), g = B([]), h;
784
+ const l = n.state.value[e];
785
+ !i && !l && (process.env.NODE_ENV === "production" || !s) && (n.state.value[e] = {});
786
+ const N = it({});
787
+ let C;
788
+ function A(b) {
789
+ let p;
790
+ c = d = !1, process.env.NODE_ENV !== "production" && (h = []), typeof b == "function" ? (b(n.state.value[e]), p = {
791
+ type: Q.patchFunction,
792
+ storeId: e,
793
+ events: h
794
+ }) : (ke(n.state.value[e], b), p = {
795
+ type: Q.patchObject,
796
+ payload: b,
797
+ storeId: e,
798
+ events: h
680
799
  });
681
- const p = ne = Symbol();
682
- ae().then(() => {
683
- ne === p && (f = !0);
684
- }), g = !0, O(d, i, e.state.value[s]);
685
- }
686
- const ye = process.env.NODE_ENV !== "production" ? () => {
687
- throw new Error(`\u{1F34D}: Store "${s}" is built using the setup syntax and does not implement $reset().`);
688
- } : ve;
689
- function we() {
690
- a.stop(), d = [], m = [], e._s.delete(s);
691
- }
692
- function ie(l, i) {
800
+ const w = C = Symbol();
801
+ Ve().then(() => {
802
+ C === w && (c = !0);
803
+ }), d = !0, z(m, p, n.state.value[e]);
804
+ }
805
+ const D = process.env.NODE_ENV !== "production" ? () => {
806
+ throw new Error(`\u{1F34D}: Store "${e}" is built using the setup syntax and does not implement $reset().`);
807
+ } : lt;
808
+ function M() {
809
+ o.stop(), m = [], g = [], n._s.delete(e);
810
+ }
811
+ function re(b, p) {
693
812
  return function() {
694
- F(e);
695
- const p = Array.from(arguments), h = [], v = [];
696
- function _e(b) {
697
- h.push(b);
813
+ ae(n);
814
+ const w = Array.from(arguments), O = [], k = [];
815
+ function xt(_) {
816
+ O.push(_);
698
817
  }
699
- function ke(b) {
700
- v.push(b);
818
+ function Ct(_) {
819
+ k.push(_);
701
820
  }
702
- O(m, {
703
- args: p,
704
- name: l,
705
- store: c,
706
- after: _e,
707
- onError: ke
821
+ z(g, {
822
+ args: w,
823
+ name: b,
824
+ store: E,
825
+ after: xt,
826
+ onError: Ct
708
827
  });
709
- let C;
828
+ let W;
710
829
  try {
711
- C = i.apply(this && this.$id === s ? this : c, p);
712
- } catch (b) {
713
- throw O(v, b), b;
830
+ W = p.apply(this && this.$id === e ? this : E, w);
831
+ } catch (_) {
832
+ throw z(k, _), _;
714
833
  }
715
- return C instanceof Promise ? C.then((b) => (O(h, b), b)).catch((b) => (O(v, b), Promise.reject(b))) : (O(h, C), C);
834
+ return W instanceof Promise ? W.then((_) => (z(O, _), _)).catch((_) => (z(k, _), Promise.reject(_))) : (z(O, W), W);
716
835
  };
717
836
  }
718
- const $ = /* @__PURE__ */ S({
837
+ const ne = /* @__PURE__ */ B({
719
838
  actions: {},
720
839
  getters: {},
721
840
  state: [],
722
- hotState: U
723
- }), Ne = {
724
- _p: e,
725
- $id: s,
726
- $onAction: le.bind(null, m),
727
- $patch: oe,
728
- $reset: ye,
729
- $subscribe(l, i = {}) {
730
- const p = le(d, l, i.detached, () => h()), h = a.run(() => $e(() => e.state.value[s], (v) => {
731
- (i.flush === "sync" ? g : f) && l({
732
- storeId: s,
733
- type: D.direct,
734
- events: _
735
- }, v);
736
- }, w({}, N, i)));
737
- return p;
841
+ hotState: N
842
+ }), Pt = {
843
+ _p: n,
844
+ $id: e,
845
+ $onAction: ze.bind(null, g),
846
+ $patch: A,
847
+ $reset: D,
848
+ $subscribe(b, p = {}) {
849
+ const w = ze(m, b, p.detached, () => O()), O = o.run(() => zt(() => n.state.value[e], (k) => {
850
+ (p.flush === "sync" ? d : c) && b({
851
+ storeId: e,
852
+ type: Q.direct,
853
+ events: h
854
+ }, k);
855
+ }, x({}, f, p)));
856
+ return w;
738
857
  },
739
- $dispose: we
740
- }, c = Re(w(
741
- process.env.NODE_ENV !== "production" && x ? {
742
- _customProperties: S(/* @__PURE__ */ new Set()),
743
- _hmrPayload: $
858
+ $dispose: M
859
+ }, E = qt(x(
860
+ process.env.NODE_ENV !== "production" && G ? {
861
+ _customProperties: B(/* @__PURE__ */ new Set()),
862
+ _hmrPayload: ne
744
863
  } : {},
745
- Ne
864
+ Pt
746
865
  ));
747
- e._s.set(s, c);
748
- const A = e._e.run(() => (a = Fe(), a.run(() => r())));
749
- for (const l in A) {
750
- const i = A[l];
751
- if (I(i) && !pe(i) || se(i))
752
- process.env.NODE_ENV !== "production" && n ? R(U.value, l, T(A, l)) : o || (L && Je(i) && (I(i) ? i.value = L[l] : te(i, L[l])), e.state.value[s][l] = i), process.env.NODE_ENV !== "production" && $.state.push(l);
753
- else if (typeof i == "function") {
754
- const p = process.env.NODE_ENV !== "production" && n ? i : ie(l, i);
755
- A[l] = p, process.env.NODE_ENV !== "production" && ($.actions[l] = i), u.actions[l] = i;
866
+ n._s.set(e, E);
867
+ const j = n._e.run(() => (o = Ht(), o.run(() => t())));
868
+ for (const b in j) {
869
+ const p = j[b];
870
+ if (Y(p) && !qe(p) || Fe(p))
871
+ process.env.NODE_ENV !== "production" && s ? se(N.value, b, fe(j, b)) : i || (l && cr(p) && (Y(p) ? p.value = l[b] : ke(p, l[b])), n.state.value[e][b] = p), process.env.NODE_ENV !== "production" && ne.state.push(b);
872
+ else if (typeof p == "function") {
873
+ const w = process.env.NODE_ENV !== "production" && s ? p : re(b, p);
874
+ j[b] = w, process.env.NODE_ENV !== "production" && (ne.actions[b] = p), u.actions[b] = p;
756
875
  } else
757
- process.env.NODE_ENV !== "production" && pe(i) && ($.getters[l] = o ? t.getters[l] : i, x && (A._getters || (A._getters = S([]))).push(l));
876
+ process.env.NODE_ENV !== "production" && qe(p) && (ne.getters[b] = i ? r.getters[b] : p, G && (j._getters || (j._getters = B([]))).push(b));
758
877
  }
759
- if (w(c, A), w(Ue(c), A), Object.defineProperty(c, "$state", {
760
- get: () => process.env.NODE_ENV !== "production" && n ? U.value : e.state.value[s],
761
- set: (l) => {
762
- if (process.env.NODE_ENV !== "production" && n)
878
+ if (x(E, j), x(Wt(E), j), Object.defineProperty(E, "$state", {
879
+ get: () => process.env.NODE_ENV !== "production" && s ? N.value : n.state.value[e],
880
+ set: (b) => {
881
+ if (process.env.NODE_ENV !== "production" && s)
763
882
  throw new Error("cannot set hotState");
764
- oe((i) => {
765
- w(i, l);
883
+ A((p) => {
884
+ x(p, b);
766
885
  });
767
886
  }
768
887
  }), process.env.NODE_ENV !== "production") {
769
- c._hotUpdate = S((i) => {
770
- c._hotUpdating = !0, i._hmrPayload.state.forEach((p) => {
771
- if (p in c.$state) {
772
- const h = i.$state[p], v = c.$state[p];
773
- typeof h == "object" && P(h) && P(v) ? Ee(h, v) : i.$state[p] = v;
888
+ E._hotUpdate = B((p) => {
889
+ E._hotUpdating = !0, p._hmrPayload.state.forEach((w) => {
890
+ if (w in E.$state) {
891
+ const O = p.$state[w], k = E.$state[w];
892
+ typeof O == "object" && V(O) && V(k) ? ut(O, k) : p.$state[w] = k;
774
893
  }
775
- R(c, p, T(i.$state, p));
776
- }), Object.keys(c.$state).forEach((p) => {
777
- p in i.$state || K(c, p);
778
- }), f = !1, g = !1, e.state.value[s] = T(i._hmrPayload, "hotState"), g = !0, ae().then(() => {
779
- f = !0;
894
+ se(E, w, fe(p.$state, w));
895
+ }), Object.keys(E.$state).forEach((w) => {
896
+ w in p.$state || Oe(E, w);
897
+ }), c = !1, d = !1, n.state.value[e] = fe(p._hmrPayload, "hotState"), d = !0, Ve().then(() => {
898
+ c = !0;
780
899
  });
781
- for (const p in i._hmrPayload.actions) {
782
- const h = i[p];
783
- R(c, p, ie(p, h));
900
+ for (const w in p._hmrPayload.actions) {
901
+ const O = p[w];
902
+ se(E, w, re(w, O));
784
903
  }
785
- for (const p in i._hmrPayload.getters) {
786
- const h = i._hmrPayload.getters[p], v = o ? ge(() => (F(e), h.call(c, c))) : h;
787
- R(c, p, v);
904
+ for (const w in p._hmrPayload.getters) {
905
+ const O = p._hmrPayload.getters[w], k = i ? at(() => (ae(n), O.call(E, E))) : O;
906
+ se(E, w, k);
788
907
  }
789
- Object.keys(c._hmrPayload.getters).forEach((p) => {
790
- p in i._hmrPayload.getters || K(c, p);
791
- }), Object.keys(c._hmrPayload.actions).forEach((p) => {
792
- p in i._hmrPayload.actions || K(c, p);
793
- }), c._hmrPayload = i._hmrPayload, c._getters = i._getters, c._hotUpdating = !1;
908
+ Object.keys(E._hmrPayload.getters).forEach((w) => {
909
+ w in p._hmrPayload.getters || Oe(E, w);
910
+ }), Object.keys(E._hmrPayload.actions).forEach((w) => {
911
+ w in p._hmrPayload.actions || Oe(E, w);
912
+ }), E._hmrPayload = p._hmrPayload, E._getters = p._getters, E._hotUpdating = !1;
794
913
  });
795
- const l = {
914
+ const b = {
796
915
  writable: !0,
797
916
  configurable: !0,
798
917
  enumerable: !1
799
918
  };
800
- x && ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((i) => {
801
- Object.defineProperty(c, i, {
802
- value: c[i],
803
- ...l
919
+ G && ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((p) => {
920
+ Object.defineProperty(E, p, {
921
+ value: E[p],
922
+ ...b
804
923
  });
805
924
  });
806
925
  }
807
- return e._p.forEach((l) => {
808
- if (process.env.NODE_ENV !== "production" && x) {
809
- const i = a.run(() => l({
810
- store: c,
811
- app: e._a,
812
- pinia: e,
926
+ return n._p.forEach((b) => {
927
+ if (process.env.NODE_ENV !== "production" && G) {
928
+ const p = o.run(() => b({
929
+ store: E,
930
+ app: n._a,
931
+ pinia: n,
813
932
  options: u
814
933
  }));
815
- Object.keys(i || {}).forEach((p) => c._customProperties.add(p)), w(c, i);
934
+ Object.keys(p || {}).forEach((w) => E._customProperties.add(w)), x(E, p);
816
935
  } else
817
- w(c, a.run(() => l({
818
- store: c,
819
- app: e._a,
820
- pinia: e,
936
+ x(E, o.run(() => b({
937
+ store: E,
938
+ app: n._a,
939
+ pinia: n,
821
940
  options: u
822
941
  })));
823
- }), process.env.NODE_ENV !== "production" && c.$state && typeof c.$state == "object" && typeof c.$state.constructor == "function" && !c.$state.constructor.toString().includes("[native code]") && console.warn(`[\u{1F34D}]: The "state" must be a plain object. It cannot be
942
+ }), process.env.NODE_ENV !== "production" && E.$state && typeof E.$state == "object" && typeof E.$state.constructor == "function" && !E.$state.constructor.toString().includes("[native code]") && console.warn(`[\u{1F34D}]: The "state" must be a plain object. It cannot be
824
943
  state: () => new MyClass()
825
- Found in store "${c.$id}".`), L && o && t.hydrate && t.hydrate(c.$state, L), f = !0, g = !0, c;
826
- }
827
- function Ye(s, r, t) {
828
- let e, n;
829
- const o = typeof r == "function";
830
- typeof s == "string" ? (e = s, n = o ? t : r) : (n = s, e = s.id);
831
- function a(u, N) {
832
- const f = me();
833
- if (u = (process.env.NODE_ENV === "test" && j && j._testing ? null : u) || f && Ie(Be), u && F(u), process.env.NODE_ENV !== "production" && !j)
944
+ Found in store "${E.$id}".`), l && i && r.hydrate && r.hydrate(E.$state, l), c = !0, d = !0, E;
945
+ }
946
+ function ur(e, t, r) {
947
+ let n, s;
948
+ const i = typeof t == "function";
949
+ typeof e == "string" ? (n = e, s = i ? r : t) : (s = e, n = e.id);
950
+ function o(u, f) {
951
+ const c = ot();
952
+ if (u = (process.env.NODE_ENV === "test" && X && X._testing ? null : u) || c && $t(ir), u && ae(u), process.env.NODE_ENV !== "production" && !X)
834
953
  throw new Error(`[\u{1F34D}]: getActivePinia was called with no active Pinia. Did you forget to install pinia?
835
954
  const pinia = createPinia()
836
955
  app.use(pinia)
837
956
  This will fail in production.`);
838
- u = j, u._s.has(e) || (o ? re(e, r, n, u) : de(e, n, u), process.env.NODE_ENV !== "production" && (a._pinia = u));
839
- const g = u._s.get(e);
840
- if (process.env.NODE_ENV !== "production" && N) {
841
- const d = "__hot:" + e, m = o ? re(d, r, n, u, !0) : de(d, w({}, n), u, !0);
842
- N._hotUpdate(m), delete u.state.value[d], u._s.delete(d);
957
+ u = X, u._s.has(n) || (i ? Pe(n, t, s, u) : He(n, s, u), process.env.NODE_ENV !== "production" && (o._pinia = u));
958
+ const d = u._s.get(n);
959
+ if (process.env.NODE_ENV !== "production" && f) {
960
+ const m = "__hot:" + n, g = i ? Pe(m, t, s, u, !0) : He(m, x({}, s), u, !0);
961
+ f._hotUpdate(g), delete u.state.value[m], u._s.delete(m);
843
962
  }
844
- if (process.env.NODE_ENV !== "production" && x && f && f.proxy && !N) {
845
- const d = f.proxy, m = "_pStores" in d ? d._pStores : d._pStores = {};
846
- m[e] = g;
963
+ if (process.env.NODE_ENV !== "production" && G && c && c.proxy && !f) {
964
+ const m = c.proxy, g = "_pStores" in m ? m._pStores : m._pStores = {};
965
+ g[n] = d;
847
966
  }
848
- return g;
967
+ return d;
849
968
  }
850
- return a.$id = e, a;
969
+ return o.$id = n, o;
851
970
  }
852
- const fe = Ye({
971
+ const We = ur({
853
972
  id: "user",
854
973
  state: () => ({
855
974
  displayName: "",
@@ -859,8 +978,8 @@ const fe = Ye({
859
978
  apiAlfresco: null
860
979
  }),
861
980
  getters: {
862
- displayName(s) {
863
- return s.person == null ? "" : s.person.displayName;
981
+ displayName(e) {
982
+ return e.person == null ? "" : e.person.displayName;
864
983
  }
865
984
  },
866
985
  actions: {
@@ -873,36 +992,36 @@ const fe = Ye({
873
992
  });
874
993
  },
875
994
  isLoggedIn() {
876
- let s;
877
- return this.apiAlfresco ? s = this.apiAlfresco : s = E(), ee().getPerson("-me-").then((r) => (this.$patch({
878
- person: r.entry,
879
- apiAlfresco: s
880
- }), !0)).catch((r) => Qe(r));
995
+ let e;
996
+ return this.apiAlfresco ? e = this.apiAlfresco : e = v(), Re().getPerson("-me-").then((t) => (this.$patch({
997
+ person: t.entry,
998
+ apiAlfresco: e
999
+ }), !0)).catch((t) => lr(t));
881
1000
  },
882
- async login(s, r) {
883
- if (!s || !r)
1001
+ async login(e, t) {
1002
+ if (!e || !t)
884
1003
  return !1;
885
- await this.apiLogin(s, r).then((t) => {
1004
+ await this.apiLogin(e, t).then((r) => {
886
1005
  this.$patch({
887
- person: t.entry
1006
+ person: r.entry
888
1007
  });
889
- }).catch((t) => {
890
- ze(t);
1008
+ }).catch((r) => {
1009
+ Kt(r);
891
1010
  });
892
1011
  },
893
- apiLogin(s, r) {
894
- return E().login(s, r).then(() => (this.$patch({
895
- apiAlfresco: E()
896
- }), ee().getPerson("-me-"))).catch((t) => Promise.reject(t));
1012
+ apiLogin(e, t) {
1013
+ return v().login(e, t).then(() => (this.$patch({
1014
+ apiAlfresco: v()
1015
+ }), Re().getPerson("-me-"))).catch((r) => Promise.reject(r));
897
1016
  },
898
1017
  async publiclogoff() {
899
- const s = localStorage.getItem("ACS_USERNAME");
900
- s && s.startsWith("user_publication_") && (localStorage.removeItem("ticket-ECM"), localStorage.removeItem("ACS_USERNAME"));
1018
+ const e = localStorage.getItem("ACS_USERNAME");
1019
+ e && e.startsWith("user_publication_") && (localStorage.removeItem("ticket-ECM"), localStorage.removeItem("ACS_USERNAME"));
901
1020
  },
902
- async publiclogin(s) {
903
- let r = window.localStorage.getItem("ticket-ECM");
904
- typeof r < "u" && r != null || await fetch(
905
- window.config.ALFRESCO_HOST + "/alfresco/s/fr/jeci/pristy/authentication/ticket/publication/site/" + s,
1021
+ async publiclogin(e) {
1022
+ let t = window.localStorage.getItem("ticket-ECM");
1023
+ typeof t < "u" && t != null || await fetch(
1024
+ window.config.ALFRESCO_HOST + "/alfresco/s/fr/jeci/pristy/authentication/ticket/publication/site/" + e,
906
1025
  {
907
1026
  method: "GET",
908
1027
  headers: {
@@ -910,8 +1029,8 @@ const fe = Ye({
910
1029
  Accept: "application/json"
911
1030
  }
912
1031
  }
913
- ).then((t) => t.json()).then((t) => {
914
- window.localStorage.setItem("ticket-ECM", t.ticket), window.localStorage.setItem("ACS_USERNAME", t.login);
1032
+ ).then((r) => r.json()).then((r) => {
1033
+ window.localStorage.setItem("ticket-ECM", r.ticket), window.localStorage.setItem("ACS_USERNAME", r.login);
915
1034
  });
916
1035
  },
917
1036
  alfrescoApi() {
@@ -919,52 +1038,1273 @@ const fe = Ye({
919
1038
  }
920
1039
  }
921
1040
  });
922
- function Qe(s) {
923
- let r = JSON.parse(s.message).error;
924
- if (r.statusCode === 401 || r.statusCode === 403)
1041
+ function lr(e) {
1042
+ let t = JSON.parse(e.message).error;
1043
+ if (t.statusCode === 401 || t.statusCode === 403)
925
1044
  return !1;
926
- throw new Error(s);
1045
+ throw new Error(e);
927
1046
  }
928
- class nt {
929
- getFavorites() {
930
- const r = fe(), t = {
1047
+ class Sn {
1048
+ getFavorites(t) {
1049
+ const r = We(), n = {
931
1050
  skipCount: 0,
932
1051
  maxItems: 100,
933
1052
  include: ["properties", "path"]
934
1053
  };
935
- return X().listFavorites(r.person.id, t).then((e) => e.list.entries.map((n) => n.entry)).catch((e) => {
936
- throw new Error(e.message);
1054
+ return t && (n.where = `(EXISTS(target/${t}))`), Se().listFavorites(r.person.id, n).then((s) => s.list.entries.map((i) => i.entry)).catch((s) => {
1055
+ tr(s);
937
1056
  });
938
1057
  }
939
- changeSingleFavorite(r) {
940
- const t = fe();
941
- if (r.isFavorite)
942
- return X().deleteFavorite(t.person.id, r.id).then(() => (r.isFavorite = !1, r)).catch((e) => {
943
- throw new Error(e.message);
1058
+ changeSingleFavorite(t) {
1059
+ const r = We();
1060
+ if (t.isFavorite)
1061
+ return Se().deleteFavorite(r.person.id, t.id).then(() => (t.isFavorite = !1, t)).catch((n) => {
1062
+ nr(n);
944
1063
  });
945
1064
  {
946
- let e = { target: {} }, n = { guid: r.id };
947
- return r.isFolder ? e.target = { folder: n } : e.target = { file: n }, X().createFavorite(t.person.id, e).then((o) => (o.entry.targetGuid === r.id && (r.isFavorite = !0), r)).catch((o) => {
948
- throw new Error(o.message);
1065
+ let n = { target: {} }, s = { guid: t.id };
1066
+ return t.nodeType === "st:site" ? n.target = { site: s } : t.isFile ? n.target = { file: s } : n.target = { folder: s }, Se().createFavorite(r.person.id, n).then((i) => (t.isFavorite = i.entry.targetGuid === t.id, t)).catch((i) => {
1067
+ rr(i);
949
1068
  });
950
1069
  }
951
1070
  }
952
1071
  }
1072
+ function ft(e, t) {
1073
+ return function() {
1074
+ return e.apply(t, arguments);
1075
+ };
1076
+ }
1077
+ const { toString: dt } = Object.prototype, { getPrototypeOf: De } = Object, je = ((e) => (t) => {
1078
+ const r = dt.call(t);
1079
+ return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
1080
+ })(/* @__PURE__ */ Object.create(null)), F = (e) => (e = e.toLowerCase(), (t) => je(t) === e), ce = (e) => (t) => typeof t === e, { isArray: ee } = Array, xe = ce("undefined");
1081
+ function fr(e) {
1082
+ return e !== null && !xe(e) && e.constructor !== null && !xe(e.constructor) && q(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1083
+ }
1084
+ const pt = F("ArrayBuffer");
1085
+ function dr(e) {
1086
+ let t;
1087
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && pt(e.buffer), t;
1088
+ }
1089
+ const pr = ce("string"), q = ce("function"), ht = ce("number"), mt = (e) => e !== null && typeof e == "object", hr = (e) => e === !0 || e === !1, oe = (e) => {
1090
+ if (je(e) !== "object")
1091
+ return !1;
1092
+ const t = De(e);
1093
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
1094
+ }, mr = F("Date"), Er = F("File"), br = F("Blob"), wr = F("FileList"), yr = (e) => mt(e) && q(e.pipe), gr = (e) => {
1095
+ const t = "[object FormData]";
1096
+ return e && (typeof FormData == "function" && e instanceof FormData || dt.call(e) === t || q(e.toString) && e.toString() === t);
1097
+ }, Nr = F("URLSearchParams"), Sr = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1098
+ function ue(e, t, { allOwnKeys: r = !1 } = {}) {
1099
+ if (e === null || typeof e > "u")
1100
+ return;
1101
+ let n, s;
1102
+ if (typeof e != "object" && (e = [e]), ee(e))
1103
+ for (n = 0, s = e.length; n < s; n++)
1104
+ t.call(null, e[n], n, e);
1105
+ else {
1106
+ const i = r ? Object.getOwnPropertyNames(e) : Object.keys(e), o = i.length;
1107
+ let u;
1108
+ for (n = 0; n < o; n++)
1109
+ u = i[n], t.call(null, e[u], u, e);
1110
+ }
1111
+ }
1112
+ function Ce() {
1113
+ const e = {}, t = (r, n) => {
1114
+ oe(e[n]) && oe(r) ? e[n] = Ce(e[n], r) : oe(r) ? e[n] = Ce({}, r) : ee(r) ? e[n] = r.slice() : e[n] = r;
1115
+ };
1116
+ for (let r = 0, n = arguments.length; r < n; r++)
1117
+ arguments[r] && ue(arguments[r], t);
1118
+ return e;
1119
+ }
1120
+ const Ar = (e, t, r, { allOwnKeys: n } = {}) => (ue(t, (s, i) => {
1121
+ r && q(s) ? e[i] = ft(s, r) : e[i] = s;
1122
+ }, { allOwnKeys: n }), e), Or = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), _r = (e, t, r, n) => {
1123
+ e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
1124
+ value: t.prototype
1125
+ }), r && Object.assign(e.prototype, r);
1126
+ }, vr = (e, t, r, n) => {
1127
+ let s, i, o;
1128
+ const u = {};
1129
+ if (t = t || {}, e == null)
1130
+ return t;
1131
+ do {
1132
+ for (s = Object.getOwnPropertyNames(e), i = s.length; i-- > 0; )
1133
+ o = s[i], (!n || n(o, e, t)) && !u[o] && (t[o] = e[o], u[o] = !0);
1134
+ e = r !== !1 && De(e);
1135
+ } while (e && (!r || r(e, t)) && e !== Object.prototype);
1136
+ return t;
1137
+ }, Rr = (e, t, r) => {
1138
+ e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
1139
+ const n = e.indexOf(t, r);
1140
+ return n !== -1 && n === r;
1141
+ }, kr = (e) => {
1142
+ if (!e)
1143
+ return null;
1144
+ if (ee(e))
1145
+ return e;
1146
+ let t = e.length;
1147
+ if (!ht(t))
1148
+ return null;
1149
+ const r = new Array(t);
1150
+ for (; t-- > 0; )
1151
+ r[t] = e[t];
1152
+ return r;
1153
+ }, Pr = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && De(Uint8Array)), xr = (e, t) => {
1154
+ const n = (e && e[Symbol.iterator]).call(e);
1155
+ let s;
1156
+ for (; (s = n.next()) && !s.done; ) {
1157
+ const i = s.value;
1158
+ t.call(e, i[0], i[1]);
1159
+ }
1160
+ }, Cr = (e, t) => {
1161
+ let r;
1162
+ const n = [];
1163
+ for (; (r = e.exec(t)) !== null; )
1164
+ n.push(r);
1165
+ return n;
1166
+ }, Lr = F("HTMLFormElement"), Tr = (e) => e.toLowerCase().replace(
1167
+ /[_-\s]([a-z\d])(\w*)/g,
1168
+ function(r, n, s) {
1169
+ return n.toUpperCase() + s;
1170
+ }
1171
+ ), Je = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Fr = F("RegExp"), Et = (e, t) => {
1172
+ const r = Object.getOwnPropertyDescriptors(e), n = {};
1173
+ ue(r, (s, i) => {
1174
+ t(s, i, e) !== !1 && (n[i] = s);
1175
+ }), Object.defineProperties(e, n);
1176
+ }, Dr = (e) => {
1177
+ Et(e, (t, r) => {
1178
+ const n = e[r];
1179
+ if (!!q(n)) {
1180
+ if (t.enumerable = !1, "writable" in t) {
1181
+ t.writable = !1;
1182
+ return;
1183
+ }
1184
+ t.set || (t.set = () => {
1185
+ throw Error("Can not read-only method '" + r + "'");
1186
+ });
1187
+ }
1188
+ });
1189
+ }, jr = (e, t) => {
1190
+ const r = {}, n = (s) => {
1191
+ s.forEach((i) => {
1192
+ r[i] = !0;
1193
+ });
1194
+ };
1195
+ return ee(e) ? n(e) : n(String(e).split(t)), r;
1196
+ }, Ur = () => {
1197
+ }, Br = (e, t) => (e = +e, Number.isFinite(e) ? e : t), a = {
1198
+ isArray: ee,
1199
+ isArrayBuffer: pt,
1200
+ isBuffer: fr,
1201
+ isFormData: gr,
1202
+ isArrayBufferView: dr,
1203
+ isString: pr,
1204
+ isNumber: ht,
1205
+ isBoolean: hr,
1206
+ isObject: mt,
1207
+ isPlainObject: oe,
1208
+ isUndefined: xe,
1209
+ isDate: mr,
1210
+ isFile: Er,
1211
+ isBlob: br,
1212
+ isRegExp: Fr,
1213
+ isFunction: q,
1214
+ isStream: yr,
1215
+ isURLSearchParams: Nr,
1216
+ isTypedArray: Pr,
1217
+ isFileList: wr,
1218
+ forEach: ue,
1219
+ merge: Ce,
1220
+ extend: Ar,
1221
+ trim: Sr,
1222
+ stripBOM: Or,
1223
+ inherits: _r,
1224
+ toFlatObject: vr,
1225
+ kindOf: je,
1226
+ kindOfTest: F,
1227
+ endsWith: Rr,
1228
+ toArray: kr,
1229
+ forEachEntry: xr,
1230
+ matchAll: Cr,
1231
+ isHTMLForm: Lr,
1232
+ hasOwnProperty: Je,
1233
+ hasOwnProp: Je,
1234
+ reduceDescriptors: Et,
1235
+ freezeMethods: Dr,
1236
+ toObjectSet: jr,
1237
+ toCamelCase: Tr,
1238
+ noop: Ur,
1239
+ toFiniteNumber: Br
1240
+ };
1241
+ function y(e, t, r, n, s) {
1242
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), n && (this.request = n), s && (this.response = s);
1243
+ }
1244
+ a.inherits(y, Error, {
1245
+ toJSON: function() {
1246
+ return {
1247
+ message: this.message,
1248
+ name: this.name,
1249
+ description: this.description,
1250
+ number: this.number,
1251
+ fileName: this.fileName,
1252
+ lineNumber: this.lineNumber,
1253
+ columnNumber: this.columnNumber,
1254
+ stack: this.stack,
1255
+ config: this.config,
1256
+ code: this.code,
1257
+ status: this.response && this.response.status ? this.response.status : null
1258
+ };
1259
+ }
1260
+ });
1261
+ const bt = y.prototype, wt = {};
1262
+ [
1263
+ "ERR_BAD_OPTION_VALUE",
1264
+ "ERR_BAD_OPTION",
1265
+ "ECONNABORTED",
1266
+ "ETIMEDOUT",
1267
+ "ERR_NETWORK",
1268
+ "ERR_FR_TOO_MANY_REDIRECTS",
1269
+ "ERR_DEPRECATED",
1270
+ "ERR_BAD_RESPONSE",
1271
+ "ERR_BAD_REQUEST",
1272
+ "ERR_CANCELED",
1273
+ "ERR_NOT_SUPPORT",
1274
+ "ERR_INVALID_URL"
1275
+ ].forEach((e) => {
1276
+ wt[e] = { value: e };
1277
+ });
1278
+ Object.defineProperties(y, wt);
1279
+ Object.defineProperty(bt, "isAxiosError", { value: !0 });
1280
+ y.from = (e, t, r, n, s, i) => {
1281
+ const o = Object.create(bt);
1282
+ return a.toFlatObject(e, o, function(f) {
1283
+ return f !== Error.prototype;
1284
+ }, (u) => u !== "isAxiosError"), y.call(o, e.message, t, r, n, s), o.cause = e, o.name = e.name, i && Object.assign(o, i), o;
1285
+ };
1286
+ var Ir = typeof self == "object" ? self.FormData : window.FormData;
1287
+ function Le(e) {
1288
+ return a.isPlainObject(e) || a.isArray(e);
1289
+ }
1290
+ function yt(e) {
1291
+ return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
1292
+ }
1293
+ function Xe(e, t, r) {
1294
+ return e ? e.concat(t).map(function(s, i) {
1295
+ return s = yt(s), !r && i ? "[" + s + "]" : s;
1296
+ }).join(r ? "." : "") : t;
1297
+ }
1298
+ function Vr(e) {
1299
+ return a.isArray(e) && !e.some(Le);
1300
+ }
1301
+ const Mr = a.toFlatObject(a, {}, null, function(t) {
1302
+ return /^is[A-Z]/.test(t);
1303
+ });
1304
+ function $r(e) {
1305
+ return e && a.isFunction(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator];
1306
+ }
1307
+ function le(e, t, r) {
1308
+ if (!a.isObject(e))
1309
+ throw new TypeError("target must be an object");
1310
+ t = t || new (Ir || FormData)(), r = a.toFlatObject(r, {
1311
+ metaTokens: !0,
1312
+ dots: !1,
1313
+ indexes: !1
1314
+ }, !1, function(N, C) {
1315
+ return !a.isUndefined(C[N]);
1316
+ });
1317
+ const n = r.metaTokens, s = r.visitor || d, i = r.dots, o = r.indexes, f = (r.Blob || typeof Blob < "u" && Blob) && $r(t);
1318
+ if (!a.isFunction(s))
1319
+ throw new TypeError("visitor must be a function");
1320
+ function c(l) {
1321
+ if (l === null)
1322
+ return "";
1323
+ if (a.isDate(l))
1324
+ return l.toISOString();
1325
+ if (!f && a.isBlob(l))
1326
+ throw new y("Blob is not supported. Use a Buffer instead.");
1327
+ return a.isArrayBuffer(l) || a.isTypedArray(l) ? f && typeof Blob == "function" ? new Blob([l]) : Buffer.from(l) : l;
1328
+ }
1329
+ function d(l, N, C) {
1330
+ let A = l;
1331
+ if (l && !C && typeof l == "object") {
1332
+ if (a.endsWith(N, "{}"))
1333
+ N = n ? N : N.slice(0, -2), l = JSON.stringify(l);
1334
+ else if (a.isArray(l) && Vr(l) || a.isFileList(l) || a.endsWith(N, "[]") && (A = a.toArray(l)))
1335
+ return N = yt(N), A.forEach(function(M, re) {
1336
+ !(a.isUndefined(M) || M === null) && t.append(
1337
+ o === !0 ? Xe([N], re, i) : o === null ? N : N + "[]",
1338
+ c(M)
1339
+ );
1340
+ }), !1;
1341
+ }
1342
+ return Le(l) ? !0 : (t.append(Xe(C, N, i), c(l)), !1);
1343
+ }
1344
+ const m = [], g = Object.assign(Mr, {
1345
+ defaultVisitor: d,
1346
+ convertValue: c,
1347
+ isVisitable: Le
1348
+ });
1349
+ function h(l, N) {
1350
+ if (!a.isUndefined(l)) {
1351
+ if (m.indexOf(l) !== -1)
1352
+ throw Error("Circular reference detected in " + N.join("."));
1353
+ m.push(l), a.forEach(l, function(A, D) {
1354
+ (!(a.isUndefined(A) || A === null) && s.call(
1355
+ t,
1356
+ A,
1357
+ a.isString(D) ? D.trim() : D,
1358
+ N,
1359
+ g
1360
+ )) === !0 && h(A, N ? N.concat(D) : [D]);
1361
+ }), m.pop();
1362
+ }
1363
+ }
1364
+ if (!a.isObject(e))
1365
+ throw new TypeError("data must be an object");
1366
+ return h(e), t;
1367
+ }
1368
+ function Ge(e) {
1369
+ const t = {
1370
+ "!": "%21",
1371
+ "'": "%27",
1372
+ "(": "%28",
1373
+ ")": "%29",
1374
+ "~": "%7E",
1375
+ "%20": "+",
1376
+ "%00": "\0"
1377
+ };
1378
+ return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(n) {
1379
+ return t[n];
1380
+ });
1381
+ }
1382
+ function Ue(e, t) {
1383
+ this._pairs = [], e && le(e, this, t);
1384
+ }
1385
+ const gt = Ue.prototype;
1386
+ gt.append = function(t, r) {
1387
+ this._pairs.push([t, r]);
1388
+ };
1389
+ gt.toString = function(t) {
1390
+ const r = t ? function(n) {
1391
+ return t.call(this, n, Ge);
1392
+ } : Ge;
1393
+ return this._pairs.map(function(s) {
1394
+ return r(s[0]) + "=" + r(s[1]);
1395
+ }, "").join("&");
1396
+ };
1397
+ function zr(e) {
1398
+ return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1399
+ }
1400
+ function Nt(e, t, r) {
1401
+ if (!t)
1402
+ return e;
1403
+ const n = r && r.encode || zr, s = r && r.serialize;
1404
+ let i;
1405
+ if (s ? i = s(t, r) : i = a.isURLSearchParams(t) ? t.toString() : new Ue(t, r).toString(n), i) {
1406
+ const o = e.indexOf("#");
1407
+ o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
1408
+ }
1409
+ return e;
1410
+ }
1411
+ class Ke {
1412
+ constructor() {
1413
+ this.handlers = [];
1414
+ }
1415
+ use(t, r, n) {
1416
+ return this.handlers.push({
1417
+ fulfilled: t,
1418
+ rejected: r,
1419
+ synchronous: n ? n.synchronous : !1,
1420
+ runWhen: n ? n.runWhen : null
1421
+ }), this.handlers.length - 1;
1422
+ }
1423
+ eject(t) {
1424
+ this.handlers[t] && (this.handlers[t] = null);
1425
+ }
1426
+ clear() {
1427
+ this.handlers && (this.handlers = []);
1428
+ }
1429
+ forEach(t) {
1430
+ a.forEach(this.handlers, function(n) {
1431
+ n !== null && t(n);
1432
+ });
1433
+ }
1434
+ }
1435
+ const St = {
1436
+ silentJSONParsing: !0,
1437
+ forcedJSONParsing: !0,
1438
+ clarifyTimeoutError: !1
1439
+ }, qr = typeof URLSearchParams < "u" ? URLSearchParams : Ue, Hr = FormData, Wr = (() => {
1440
+ let e;
1441
+ return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u";
1442
+ })(), T = {
1443
+ isBrowser: !0,
1444
+ classes: {
1445
+ URLSearchParams: qr,
1446
+ FormData: Hr,
1447
+ Blob
1448
+ },
1449
+ isStandardBrowserEnv: Wr,
1450
+ protocols: ["http", "https", "file", "blob", "url", "data"]
1451
+ };
1452
+ function Jr(e, t) {
1453
+ return le(e, new T.classes.URLSearchParams(), Object.assign({
1454
+ visitor: function(r, n, s, i) {
1455
+ return T.isNode && a.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
1456
+ }
1457
+ }, t));
1458
+ }
1459
+ function Xr(e) {
1460
+ return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
1461
+ }
1462
+ function Gr(e) {
1463
+ const t = {}, r = Object.keys(e);
1464
+ let n;
1465
+ const s = r.length;
1466
+ let i;
1467
+ for (n = 0; n < s; n++)
1468
+ i = r[n], t[i] = e[i];
1469
+ return t;
1470
+ }
1471
+ function At(e) {
1472
+ function t(r, n, s, i) {
1473
+ let o = r[i++];
1474
+ const u = Number.isFinite(+o), f = i >= r.length;
1475
+ return o = !o && a.isArray(s) ? s.length : o, f ? (a.hasOwnProp(s, o) ? s[o] = [s[o], n] : s[o] = n, !u) : ((!s[o] || !a.isObject(s[o])) && (s[o] = []), t(r, n, s[o], i) && a.isArray(s[o]) && (s[o] = Gr(s[o])), !u);
1476
+ }
1477
+ if (a.isFormData(e) && a.isFunction(e.entries)) {
1478
+ const r = {};
1479
+ return a.forEachEntry(e, (n, s) => {
1480
+ t(Xr(n), s, r, 0);
1481
+ }), r;
1482
+ }
1483
+ return null;
1484
+ }
1485
+ function Kr(e, t, r) {
1486
+ const n = r.config.validateStatus;
1487
+ !r.status || !n || n(r.status) ? e(r) : t(new y(
1488
+ "Request failed with status code " + r.status,
1489
+ [y.ERR_BAD_REQUEST, y.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
1490
+ r.config,
1491
+ r.request,
1492
+ r
1493
+ ));
1494
+ }
1495
+ const Qr = T.isStandardBrowserEnv ? function() {
1496
+ return {
1497
+ write: function(r, n, s, i, o, u) {
1498
+ const f = [];
1499
+ f.push(r + "=" + encodeURIComponent(n)), a.isNumber(s) && f.push("expires=" + new Date(s).toGMTString()), a.isString(i) && f.push("path=" + i), a.isString(o) && f.push("domain=" + o), u === !0 && f.push("secure"), document.cookie = f.join("; ");
1500
+ },
1501
+ read: function(r) {
1502
+ const n = document.cookie.match(new RegExp("(^|;\\s*)(" + r + ")=([^;]*)"));
1503
+ return n ? decodeURIComponent(n[3]) : null;
1504
+ },
1505
+ remove: function(r) {
1506
+ this.write(r, "", Date.now() - 864e5);
1507
+ }
1508
+ };
1509
+ }() : function() {
1510
+ return {
1511
+ write: function() {
1512
+ },
1513
+ read: function() {
1514
+ return null;
1515
+ },
1516
+ remove: function() {
1517
+ }
1518
+ };
1519
+ }();
1520
+ function Yr(e) {
1521
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
1522
+ }
1523
+ function Zr(e, t) {
1524
+ return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e;
1525
+ }
1526
+ function Ot(e, t) {
1527
+ return e && !Yr(t) ? Zr(e, t) : t;
1528
+ }
1529
+ const en = T.isStandardBrowserEnv ? function() {
1530
+ const t = /(msie|trident)/i.test(navigator.userAgent), r = document.createElement("a");
1531
+ let n;
1532
+ function s(i) {
1533
+ let o = i;
1534
+ return t && (r.setAttribute("href", o), o = r.href), r.setAttribute("href", o), {
1535
+ href: r.href,
1536
+ protocol: r.protocol ? r.protocol.replace(/:$/, "") : "",
1537
+ host: r.host,
1538
+ search: r.search ? r.search.replace(/^\?/, "") : "",
1539
+ hash: r.hash ? r.hash.replace(/^#/, "") : "",
1540
+ hostname: r.hostname,
1541
+ port: r.port,
1542
+ pathname: r.pathname.charAt(0) === "/" ? r.pathname : "/" + r.pathname
1543
+ };
1544
+ }
1545
+ return n = s(window.location.href), function(o) {
1546
+ const u = a.isString(o) ? s(o) : o;
1547
+ return u.protocol === n.protocol && u.host === n.host;
1548
+ };
1549
+ }() : function() {
1550
+ return function() {
1551
+ return !0;
1552
+ };
1553
+ }();
1554
+ function te(e, t, r) {
1555
+ y.call(this, e == null ? "canceled" : e, y.ERR_CANCELED, t, r), this.name = "CanceledError";
1556
+ }
1557
+ a.inherits(te, y, {
1558
+ __CANCEL__: !0
1559
+ });
1560
+ function tn(e) {
1561
+ const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
1562
+ return t && t[1] || "";
1563
+ }
1564
+ const rn = a.toObjectSet([
1565
+ "age",
1566
+ "authorization",
1567
+ "content-length",
1568
+ "content-type",
1569
+ "etag",
1570
+ "expires",
1571
+ "from",
1572
+ "host",
1573
+ "if-modified-since",
1574
+ "if-unmodified-since",
1575
+ "last-modified",
1576
+ "location",
1577
+ "max-forwards",
1578
+ "proxy-authorization",
1579
+ "referer",
1580
+ "retry-after",
1581
+ "user-agent"
1582
+ ]), nn = (e) => {
1583
+ const t = {};
1584
+ let r, n, s;
1585
+ return e && e.split(`
1586
+ `).forEach(function(o) {
1587
+ s = o.indexOf(":"), r = o.substring(0, s).trim().toLowerCase(), n = o.substring(s + 1).trim(), !(!r || t[r] && rn[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
1588
+ }), t;
1589
+ }, Qe = Symbol("internals"), _t = Symbol("defaults");
1590
+ function K(e) {
1591
+ return e && String(e).trim().toLowerCase();
1592
+ }
1593
+ function ie(e) {
1594
+ return e === !1 || e == null ? e : a.isArray(e) ? e.map(ie) : String(e);
1595
+ }
1596
+ function sn(e) {
1597
+ const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1598
+ let n;
1599
+ for (; n = r.exec(e); )
1600
+ t[n[1]] = n[2];
1601
+ return t;
1602
+ }
1603
+ function Ye(e, t, r, n) {
1604
+ if (a.isFunction(n))
1605
+ return n.call(this, t, r);
1606
+ if (!!a.isString(t)) {
1607
+ if (a.isString(n))
1608
+ return t.indexOf(n) !== -1;
1609
+ if (a.isRegExp(n))
1610
+ return n.test(t);
1611
+ }
1612
+ }
1613
+ function on(e) {
1614
+ return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
1615
+ }
1616
+ function an(e, t) {
1617
+ const r = a.toCamelCase(" " + t);
1618
+ ["get", "set", "has"].forEach((n) => {
1619
+ Object.defineProperty(e, n + r, {
1620
+ value: function(s, i, o) {
1621
+ return this[n].call(this, t, s, i, o);
1622
+ },
1623
+ configurable: !0
1624
+ });
1625
+ });
1626
+ }
1627
+ function J(e, t) {
1628
+ t = t.toLowerCase();
1629
+ const r = Object.keys(e);
1630
+ let n = r.length, s;
1631
+ for (; n-- > 0; )
1632
+ if (s = r[n], t === s.toLowerCase())
1633
+ return s;
1634
+ return null;
1635
+ }
1636
+ function R(e, t) {
1637
+ e && this.set(e), this[_t] = t || null;
1638
+ }
1639
+ Object.assign(R.prototype, {
1640
+ set: function(e, t, r) {
1641
+ const n = this;
1642
+ function s(i, o, u) {
1643
+ const f = K(o);
1644
+ if (!f)
1645
+ throw new Error("header name must be a non-empty string");
1646
+ const c = J(n, f);
1647
+ c && u !== !0 && (n[c] === !1 || u === !1) || (n[c || o] = ie(i));
1648
+ }
1649
+ return a.isPlainObject(e) ? a.forEach(e, (i, o) => {
1650
+ s(i, o, t);
1651
+ }) : s(t, e, r), this;
1652
+ },
1653
+ get: function(e, t) {
1654
+ if (e = K(e), !e)
1655
+ return;
1656
+ const r = J(this, e);
1657
+ if (r) {
1658
+ const n = this[r];
1659
+ if (!t)
1660
+ return n;
1661
+ if (t === !0)
1662
+ return sn(n);
1663
+ if (a.isFunction(t))
1664
+ return t.call(this, n, r);
1665
+ if (a.isRegExp(t))
1666
+ return t.exec(n);
1667
+ throw new TypeError("parser must be boolean|regexp|function");
1668
+ }
1669
+ },
1670
+ has: function(e, t) {
1671
+ if (e = K(e), e) {
1672
+ const r = J(this, e);
1673
+ return !!(r && (!t || Ye(this, this[r], r, t)));
1674
+ }
1675
+ return !1;
1676
+ },
1677
+ delete: function(e, t) {
1678
+ const r = this;
1679
+ let n = !1;
1680
+ function s(i) {
1681
+ if (i = K(i), i) {
1682
+ const o = J(r, i);
1683
+ o && (!t || Ye(r, r[o], o, t)) && (delete r[o], n = !0);
1684
+ }
1685
+ }
1686
+ return a.isArray(e) ? e.forEach(s) : s(e), n;
1687
+ },
1688
+ clear: function() {
1689
+ return Object.keys(this).forEach(this.delete.bind(this));
1690
+ },
1691
+ normalize: function(e) {
1692
+ const t = this, r = {};
1693
+ return a.forEach(this, (n, s) => {
1694
+ const i = J(r, s);
1695
+ if (i) {
1696
+ t[i] = ie(n), delete t[s];
1697
+ return;
1698
+ }
1699
+ const o = e ? on(s) : String(s).trim();
1700
+ o !== s && delete t[s], t[o] = ie(n), r[o] = !0;
1701
+ }), this;
1702
+ },
1703
+ toJSON: function(e) {
1704
+ const t = /* @__PURE__ */ Object.create(null);
1705
+ return a.forEach(
1706
+ Object.assign({}, this[_t] || null, this),
1707
+ (r, n) => {
1708
+ r == null || r === !1 || (t[n] = e && a.isArray(r) ? r.join(", ") : r);
1709
+ }
1710
+ ), t;
1711
+ }
1712
+ });
1713
+ Object.assign(R, {
1714
+ from: function(e) {
1715
+ return a.isString(e) ? new this(nn(e)) : e instanceof this ? e : new this(e);
1716
+ },
1717
+ accessor: function(e) {
1718
+ const r = (this[Qe] = this[Qe] = {
1719
+ accessors: {}
1720
+ }).accessors, n = this.prototype;
1721
+ function s(i) {
1722
+ const o = K(i);
1723
+ r[o] || (an(n, i), r[o] = !0);
1724
+ }
1725
+ return a.isArray(e) ? e.forEach(s) : s(e), this;
1726
+ }
1727
+ });
1728
+ R.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent"]);
1729
+ a.freezeMethods(R.prototype);
1730
+ a.freezeMethods(R);
1731
+ function cn(e, t) {
1732
+ e = e || 10;
1733
+ const r = new Array(e), n = new Array(e);
1734
+ let s = 0, i = 0, o;
1735
+ return t = t !== void 0 ? t : 1e3, function(f) {
1736
+ const c = Date.now(), d = n[i];
1737
+ o || (o = c), r[s] = f, n[s] = c;
1738
+ let m = i, g = 0;
1739
+ for (; m !== s; )
1740
+ g += r[m++], m = m % e;
1741
+ if (s = (s + 1) % e, s === i && (i = (i + 1) % e), c - o < t)
1742
+ return;
1743
+ const h = d && c - d;
1744
+ return h ? Math.round(g * 1e3 / h) : void 0;
1745
+ };
1746
+ }
1747
+ function Ze(e, t) {
1748
+ let r = 0;
1749
+ const n = cn(50, 250);
1750
+ return (s) => {
1751
+ const i = s.loaded, o = s.lengthComputable ? s.total : void 0, u = i - r, f = n(u), c = i <= o;
1752
+ r = i;
1753
+ const d = {
1754
+ loaded: i,
1755
+ total: o,
1756
+ progress: o ? i / o : void 0,
1757
+ bytes: u,
1758
+ rate: f || void 0,
1759
+ estimated: f && o && c ? (o - i) / f : void 0
1760
+ };
1761
+ d[t ? "download" : "upload"] = !0, e(d);
1762
+ };
1763
+ }
1764
+ function et(e) {
1765
+ return new Promise(function(r, n) {
1766
+ let s = e.data;
1767
+ const i = R.from(e.headers).normalize(), o = e.responseType;
1768
+ let u;
1769
+ function f() {
1770
+ e.cancelToken && e.cancelToken.unsubscribe(u), e.signal && e.signal.removeEventListener("abort", u);
1771
+ }
1772
+ a.isFormData(s) && T.isStandardBrowserEnv && i.setContentType(!1);
1773
+ let c = new XMLHttpRequest();
1774
+ if (e.auth) {
1775
+ const h = e.auth.username || "", l = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
1776
+ i.set("Authorization", "Basic " + btoa(h + ":" + l));
1777
+ }
1778
+ const d = Ot(e.baseURL, e.url);
1779
+ c.open(e.method.toUpperCase(), Nt(d, e.params, e.paramsSerializer), !0), c.timeout = e.timeout;
1780
+ function m() {
1781
+ if (!c)
1782
+ return;
1783
+ const h = R.from(
1784
+ "getAllResponseHeaders" in c && c.getAllResponseHeaders()
1785
+ ), N = {
1786
+ data: !o || o === "text" || o === "json" ? c.responseText : c.response,
1787
+ status: c.status,
1788
+ statusText: c.statusText,
1789
+ headers: h,
1790
+ config: e,
1791
+ request: c
1792
+ };
1793
+ Kr(function(A) {
1794
+ r(A), f();
1795
+ }, function(A) {
1796
+ n(A), f();
1797
+ }, N), c = null;
1798
+ }
1799
+ if ("onloadend" in c ? c.onloadend = m : c.onreadystatechange = function() {
1800
+ !c || c.readyState !== 4 || c.status === 0 && !(c.responseURL && c.responseURL.indexOf("file:") === 0) || setTimeout(m);
1801
+ }, c.onabort = function() {
1802
+ !c || (n(new y("Request aborted", y.ECONNABORTED, e, c)), c = null);
1803
+ }, c.onerror = function() {
1804
+ n(new y("Network Error", y.ERR_NETWORK, e, c)), c = null;
1805
+ }, c.ontimeout = function() {
1806
+ let l = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
1807
+ const N = e.transitional || St;
1808
+ e.timeoutErrorMessage && (l = e.timeoutErrorMessage), n(new y(
1809
+ l,
1810
+ N.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
1811
+ e,
1812
+ c
1813
+ )), c = null;
1814
+ }, T.isStandardBrowserEnv) {
1815
+ const h = (e.withCredentials || en(d)) && e.xsrfCookieName && Qr.read(e.xsrfCookieName);
1816
+ h && i.set(e.xsrfHeaderName, h);
1817
+ }
1818
+ s === void 0 && i.setContentType(null), "setRequestHeader" in c && a.forEach(i.toJSON(), function(l, N) {
1819
+ c.setRequestHeader(N, l);
1820
+ }), a.isUndefined(e.withCredentials) || (c.withCredentials = !!e.withCredentials), o && o !== "json" && (c.responseType = e.responseType), typeof e.onDownloadProgress == "function" && c.addEventListener("progress", Ze(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", Ze(e.onUploadProgress)), (e.cancelToken || e.signal) && (u = (h) => {
1821
+ !c || (n(!h || h.type ? new te(null, e, c) : h), c.abort(), c = null);
1822
+ }, e.cancelToken && e.cancelToken.subscribe(u), e.signal && (e.signal.aborted ? u() : e.signal.addEventListener("abort", u)));
1823
+ const g = tn(d);
1824
+ if (g && T.protocols.indexOf(g) === -1) {
1825
+ n(new y("Unsupported protocol " + g + ":", y.ERR_BAD_REQUEST, e));
1826
+ return;
1827
+ }
1828
+ c.send(s || null);
1829
+ });
1830
+ }
1831
+ const tt = {
1832
+ http: et,
1833
+ xhr: et
1834
+ }, rt = {
1835
+ getAdapter: (e) => {
1836
+ if (a.isString(e)) {
1837
+ const t = tt[e];
1838
+ if (!e)
1839
+ throw Error(
1840
+ a.hasOwnProp(e) ? `Adapter '${e}' is not available in the build` : `Can not resolve adapter '${e}'`
1841
+ );
1842
+ return t;
1843
+ }
1844
+ if (!a.isFunction(e))
1845
+ throw new TypeError("adapter is not a function");
1846
+ return e;
1847
+ },
1848
+ adapters: tt
1849
+ }, un = {
1850
+ "Content-Type": "application/x-www-form-urlencoded"
1851
+ };
1852
+ function ln() {
1853
+ let e;
1854
+ return typeof XMLHttpRequest < "u" ? e = rt.getAdapter("xhr") : typeof process < "u" && a.kindOf(process) === "process" && (e = rt.getAdapter("http")), e;
1855
+ }
1856
+ function fn(e, t, r) {
1857
+ if (a.isString(e))
1858
+ try {
1859
+ return (t || JSON.parse)(e), a.trim(e);
1860
+ } catch (n) {
1861
+ if (n.name !== "SyntaxError")
1862
+ throw n;
1863
+ }
1864
+ return (r || JSON.stringify)(e);
1865
+ }
1866
+ const H = {
1867
+ transitional: St,
1868
+ adapter: ln(),
1869
+ transformRequest: [function(t, r) {
1870
+ const n = r.getContentType() || "", s = n.indexOf("application/json") > -1, i = a.isObject(t);
1871
+ if (i && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
1872
+ return s && s ? JSON.stringify(At(t)) : t;
1873
+ if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t))
1874
+ return t;
1875
+ if (a.isArrayBufferView(t))
1876
+ return t.buffer;
1877
+ if (a.isURLSearchParams(t))
1878
+ return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
1879
+ let u;
1880
+ if (i) {
1881
+ if (n.indexOf("application/x-www-form-urlencoded") > -1)
1882
+ return Jr(t, this.formSerializer).toString();
1883
+ if ((u = a.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
1884
+ const f = this.env && this.env.FormData;
1885
+ return le(
1886
+ u ? { "files[]": t } : t,
1887
+ f && new f(),
1888
+ this.formSerializer
1889
+ );
1890
+ }
1891
+ }
1892
+ return i || s ? (r.setContentType("application/json", !1), fn(t)) : t;
1893
+ }],
1894
+ transformResponse: [function(t) {
1895
+ const r = this.transitional || H.transitional, n = r && r.forcedJSONParsing, s = this.responseType === "json";
1896
+ if (t && a.isString(t) && (n && !this.responseType || s)) {
1897
+ const o = !(r && r.silentJSONParsing) && s;
1898
+ try {
1899
+ return JSON.parse(t);
1900
+ } catch (u) {
1901
+ if (o)
1902
+ throw u.name === "SyntaxError" ? y.from(u, y.ERR_BAD_RESPONSE, this, null, this.response) : u;
1903
+ }
1904
+ }
1905
+ return t;
1906
+ }],
1907
+ timeout: 0,
1908
+ xsrfCookieName: "XSRF-TOKEN",
1909
+ xsrfHeaderName: "X-XSRF-TOKEN",
1910
+ maxContentLength: -1,
1911
+ maxBodyLength: -1,
1912
+ env: {
1913
+ FormData: T.classes.FormData,
1914
+ Blob: T.classes.Blob
1915
+ },
1916
+ validateStatus: function(t) {
1917
+ return t >= 200 && t < 300;
1918
+ },
1919
+ headers: {
1920
+ common: {
1921
+ Accept: "application/json, text/plain, */*"
1922
+ }
1923
+ }
1924
+ };
1925
+ a.forEach(["delete", "get", "head"], function(t) {
1926
+ H.headers[t] = {};
1927
+ });
1928
+ a.forEach(["post", "put", "patch"], function(t) {
1929
+ H.headers[t] = a.merge(un);
1930
+ });
1931
+ function _e(e, t) {
1932
+ const r = this || H, n = t || r, s = R.from(n.headers);
1933
+ let i = n.data;
1934
+ return a.forEach(e, function(u) {
1935
+ i = u.call(r, i, s.normalize(), t ? t.status : void 0);
1936
+ }), s.normalize(), i;
1937
+ }
1938
+ function vt(e) {
1939
+ return !!(e && e.__CANCEL__);
1940
+ }
1941
+ function ve(e) {
1942
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1943
+ throw new te();
1944
+ }
1945
+ function nt(e) {
1946
+ return ve(e), e.headers = R.from(e.headers), e.data = _e.call(
1947
+ e,
1948
+ e.transformRequest
1949
+ ), (e.adapter || H.adapter)(e).then(function(n) {
1950
+ return ve(e), n.data = _e.call(
1951
+ e,
1952
+ e.transformResponse,
1953
+ n
1954
+ ), n.headers = R.from(n.headers), n;
1955
+ }, function(n) {
1956
+ return vt(n) || (ve(e), n && n.response && (n.response.data = _e.call(
1957
+ e,
1958
+ e.transformResponse,
1959
+ n.response
1960
+ ), n.response.headers = R.from(n.response.headers))), Promise.reject(n);
1961
+ });
1962
+ }
1963
+ function Z(e, t) {
1964
+ t = t || {};
1965
+ const r = {};
1966
+ function n(c, d) {
1967
+ return a.isPlainObject(c) && a.isPlainObject(d) ? a.merge(c, d) : a.isPlainObject(d) ? a.merge({}, d) : a.isArray(d) ? d.slice() : d;
1968
+ }
1969
+ function s(c) {
1970
+ if (a.isUndefined(t[c])) {
1971
+ if (!a.isUndefined(e[c]))
1972
+ return n(void 0, e[c]);
1973
+ } else
1974
+ return n(e[c], t[c]);
1975
+ }
1976
+ function i(c) {
1977
+ if (!a.isUndefined(t[c]))
1978
+ return n(void 0, t[c]);
1979
+ }
1980
+ function o(c) {
1981
+ if (a.isUndefined(t[c])) {
1982
+ if (!a.isUndefined(e[c]))
1983
+ return n(void 0, e[c]);
1984
+ } else
1985
+ return n(void 0, t[c]);
1986
+ }
1987
+ function u(c) {
1988
+ if (c in t)
1989
+ return n(e[c], t[c]);
1990
+ if (c in e)
1991
+ return n(void 0, e[c]);
1992
+ }
1993
+ const f = {
1994
+ url: i,
1995
+ method: i,
1996
+ data: i,
1997
+ baseURL: o,
1998
+ transformRequest: o,
1999
+ transformResponse: o,
2000
+ paramsSerializer: o,
2001
+ timeout: o,
2002
+ timeoutMessage: o,
2003
+ withCredentials: o,
2004
+ adapter: o,
2005
+ responseType: o,
2006
+ xsrfCookieName: o,
2007
+ xsrfHeaderName: o,
2008
+ onUploadProgress: o,
2009
+ onDownloadProgress: o,
2010
+ decompress: o,
2011
+ maxContentLength: o,
2012
+ maxBodyLength: o,
2013
+ beforeRedirect: o,
2014
+ transport: o,
2015
+ httpAgent: o,
2016
+ httpsAgent: o,
2017
+ cancelToken: o,
2018
+ socketPath: o,
2019
+ responseEncoding: o,
2020
+ validateStatus: u
2021
+ };
2022
+ return a.forEach(Object.keys(e).concat(Object.keys(t)), function(d) {
2023
+ const m = f[d] || s, g = m(d);
2024
+ a.isUndefined(g) && m !== u || (r[d] = g);
2025
+ }), r;
2026
+ }
2027
+ const Rt = "1.1.3", Be = {};
2028
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
2029
+ Be[e] = function(n) {
2030
+ return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
2031
+ };
2032
+ });
2033
+ const st = {};
2034
+ Be.transitional = function(t, r, n) {
2035
+ function s(i, o) {
2036
+ return "[Axios v" + Rt + "] Transitional option '" + i + "'" + o + (n ? ". " + n : "");
2037
+ }
2038
+ return (i, o, u) => {
2039
+ if (t === !1)
2040
+ throw new y(
2041
+ s(o, " has been removed" + (r ? " in " + r : "")),
2042
+ y.ERR_DEPRECATED
2043
+ );
2044
+ return r && !st[o] && (st[o] = !0, console.warn(
2045
+ s(
2046
+ o,
2047
+ " has been deprecated since v" + r + " and will be removed in the near future"
2048
+ )
2049
+ )), t ? t(i, o, u) : !0;
2050
+ };
2051
+ };
2052
+ function dn(e, t, r) {
2053
+ if (typeof e != "object")
2054
+ throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
2055
+ const n = Object.keys(e);
2056
+ let s = n.length;
2057
+ for (; s-- > 0; ) {
2058
+ const i = n[s], o = t[i];
2059
+ if (o) {
2060
+ const u = e[i], f = u === void 0 || o(u, i, e);
2061
+ if (f !== !0)
2062
+ throw new y("option " + i + " must be " + f, y.ERR_BAD_OPTION_VALUE);
2063
+ continue;
2064
+ }
2065
+ if (r !== !0)
2066
+ throw new y("Unknown option " + i, y.ERR_BAD_OPTION);
2067
+ }
2068
+ }
2069
+ const Te = {
2070
+ assertOptions: dn,
2071
+ validators: Be
2072
+ }, U = Te.validators;
2073
+ class I {
2074
+ constructor(t) {
2075
+ this.defaults = t, this.interceptors = {
2076
+ request: new Ke(),
2077
+ response: new Ke()
2078
+ };
2079
+ }
2080
+ request(t, r) {
2081
+ typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Z(this.defaults, r);
2082
+ const { transitional: n, paramsSerializer: s } = r;
2083
+ n !== void 0 && Te.assertOptions(n, {
2084
+ silentJSONParsing: U.transitional(U.boolean),
2085
+ forcedJSONParsing: U.transitional(U.boolean),
2086
+ clarifyTimeoutError: U.transitional(U.boolean)
2087
+ }, !1), s !== void 0 && Te.assertOptions(s, {
2088
+ encode: U.function,
2089
+ serialize: U.function
2090
+ }, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
2091
+ const i = r.headers && a.merge(
2092
+ r.headers.common,
2093
+ r.headers[r.method]
2094
+ );
2095
+ i && a.forEach(
2096
+ ["delete", "get", "head", "post", "put", "patch", "common"],
2097
+ function(l) {
2098
+ delete r.headers[l];
2099
+ }
2100
+ ), r.headers = new R(r.headers, i);
2101
+ const o = [];
2102
+ let u = !0;
2103
+ this.interceptors.request.forEach(function(l) {
2104
+ typeof l.runWhen == "function" && l.runWhen(r) === !1 || (u = u && l.synchronous, o.unshift(l.fulfilled, l.rejected));
2105
+ });
2106
+ const f = [];
2107
+ this.interceptors.response.forEach(function(l) {
2108
+ f.push(l.fulfilled, l.rejected);
2109
+ });
2110
+ let c, d = 0, m;
2111
+ if (!u) {
2112
+ const h = [nt.bind(this), void 0];
2113
+ for (h.unshift.apply(h, o), h.push.apply(h, f), m = h.length, c = Promise.resolve(r); d < m; )
2114
+ c = c.then(h[d++], h[d++]);
2115
+ return c;
2116
+ }
2117
+ m = o.length;
2118
+ let g = r;
2119
+ for (d = 0; d < m; ) {
2120
+ const h = o[d++], l = o[d++];
2121
+ try {
2122
+ g = h(g);
2123
+ } catch (N) {
2124
+ l.call(this, N);
2125
+ break;
2126
+ }
2127
+ }
2128
+ try {
2129
+ c = nt.call(this, g);
2130
+ } catch (h) {
2131
+ return Promise.reject(h);
2132
+ }
2133
+ for (d = 0, m = f.length; d < m; )
2134
+ c = c.then(f[d++], f[d++]);
2135
+ return c;
2136
+ }
2137
+ getUri(t) {
2138
+ t = Z(this.defaults, t);
2139
+ const r = Ot(t.baseURL, t.url);
2140
+ return Nt(r, t.params, t.paramsSerializer);
2141
+ }
2142
+ }
2143
+ a.forEach(["delete", "get", "head", "options"], function(t) {
2144
+ I.prototype[t] = function(r, n) {
2145
+ return this.request(Z(n || {}, {
2146
+ method: t,
2147
+ url: r,
2148
+ data: (n || {}).data
2149
+ }));
2150
+ };
2151
+ });
2152
+ a.forEach(["post", "put", "patch"], function(t) {
2153
+ function r(n) {
2154
+ return function(i, o, u) {
2155
+ return this.request(Z(u || {}, {
2156
+ method: t,
2157
+ headers: n ? {
2158
+ "Content-Type": "multipart/form-data"
2159
+ } : {},
2160
+ url: i,
2161
+ data: o
2162
+ }));
2163
+ };
2164
+ }
2165
+ I.prototype[t] = r(), I.prototype[t + "Form"] = r(!0);
2166
+ });
2167
+ class Ie {
2168
+ constructor(t) {
2169
+ if (typeof t != "function")
2170
+ throw new TypeError("executor must be a function.");
2171
+ let r;
2172
+ this.promise = new Promise(function(i) {
2173
+ r = i;
2174
+ });
2175
+ const n = this;
2176
+ this.promise.then((s) => {
2177
+ if (!n._listeners)
2178
+ return;
2179
+ let i = n._listeners.length;
2180
+ for (; i-- > 0; )
2181
+ n._listeners[i](s);
2182
+ n._listeners = null;
2183
+ }), this.promise.then = (s) => {
2184
+ let i;
2185
+ const o = new Promise((u) => {
2186
+ n.subscribe(u), i = u;
2187
+ }).then(s);
2188
+ return o.cancel = function() {
2189
+ n.unsubscribe(i);
2190
+ }, o;
2191
+ }, t(function(i, o, u) {
2192
+ n.reason || (n.reason = new te(i, o, u), r(n.reason));
2193
+ });
2194
+ }
2195
+ throwIfRequested() {
2196
+ if (this.reason)
2197
+ throw this.reason;
2198
+ }
2199
+ subscribe(t) {
2200
+ if (this.reason) {
2201
+ t(this.reason);
2202
+ return;
2203
+ }
2204
+ this._listeners ? this._listeners.push(t) : this._listeners = [t];
2205
+ }
2206
+ unsubscribe(t) {
2207
+ if (!this._listeners)
2208
+ return;
2209
+ const r = this._listeners.indexOf(t);
2210
+ r !== -1 && this._listeners.splice(r, 1);
2211
+ }
2212
+ static source() {
2213
+ let t;
2214
+ return {
2215
+ token: new Ie(function(s) {
2216
+ t = s;
2217
+ }),
2218
+ cancel: t
2219
+ };
2220
+ }
2221
+ }
2222
+ function pn(e) {
2223
+ return function(r) {
2224
+ return e.apply(null, r);
2225
+ };
2226
+ }
2227
+ function hn(e) {
2228
+ return a.isObject(e) && e.isAxiosError === !0;
2229
+ }
2230
+ function kt(e) {
2231
+ const t = new I(e), r = ft(I.prototype.request, t);
2232
+ return a.extend(r, I.prototype, t, { allOwnKeys: !0 }), a.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(s) {
2233
+ return kt(Z(e, s));
2234
+ }, r;
2235
+ }
2236
+ const S = kt(H);
2237
+ S.Axios = I;
2238
+ S.CanceledError = te;
2239
+ S.CancelToken = Ie;
2240
+ S.isCancel = vt;
2241
+ S.VERSION = Rt;
2242
+ S.toFormData = le;
2243
+ S.AxiosError = y;
2244
+ S.Cancel = S.CanceledError;
2245
+ S.all = function(t) {
2246
+ return Promise.all(t);
2247
+ };
2248
+ S.spread = pn;
2249
+ S.isAxiosError = hn;
2250
+ S.formToJSON = (e) => At(a.isHTMLForm(e) ? new FormData(e) : e);
2251
+ class An {
2252
+ getLoolUrl(t) {
2253
+ let r = `${t}/alfresco/service/lool/host/url`;
2254
+ return S.get(r).then((n) => n.data).catch((n) => {
2255
+ Qt(n);
2256
+ });
2257
+ }
2258
+ getAccessToken(t, r, n) {
2259
+ let s = `${t}/alfresco/service/lool/token?nodeRef=workspace://SpacesStore/${r}&action=${n}`, i = {
2260
+ headers: {
2261
+ Authorization: `basic ${window.btoa(
2262
+ window.localStorage["ticket-ECM"]
2263
+ )}`
2264
+ }
2265
+ };
2266
+ return S.get(s, i).then((o) => o.data).catch((o) => {
2267
+ Yt(o);
2268
+ });
2269
+ }
2270
+ }
2271
+ class On {
2272
+ getCollaboraExtensions(t) {
2273
+ return S.get(`${t}/hosting/discovery`).then((r) => new DOMParser().parseFromString(r.data, "text/xml")).catch((r) => {
2274
+ Zt(r);
2275
+ });
2276
+ }
2277
+ canOpenWithCollabora(t, r, n) {
2278
+ return this.getCollaboraExtensions(t).then((s) => this.checkIfExists(s, r, n)).catch((s) => {
2279
+ er(s);
2280
+ });
2281
+ }
2282
+ checkIfExists(t, r, n) {
2283
+ const i = [...t.getElementsByTagName("app")].find(
2284
+ (o) => o.attributes.name.value === r
2285
+ );
2286
+ return i ? !![...i.getElementsByTagName("action")].find(
2287
+ (f) => f.attributes.name.value === n
2288
+ ) : !!i;
2289
+ }
2290
+ }
953
2291
  export {
954
- et as AlfrescoFileService,
955
- tt as AlfrescoNodeService,
956
- rt as AlfrescoPermissionService,
957
- be as ErrorService,
958
- nt as FavoriteService,
959
- st as WorkspaceService,
960
- E as alfrescoApi,
961
- X as favoritesApi,
962
- y as nodesApi,
963
- ee as peopleApi,
964
- ue as renditionsApi,
965
- We as searchApi,
966
- k as sitesApi,
967
- Ke as trashcanApi,
968
- Me as uploadApi,
969
- fe as useUserStore
2292
+ wn as AlfrescoFileService,
2293
+ yn as AlfrescoNodeService,
2294
+ gn as AlfrescoPermissionService,
2295
+ An as CollaboraAccessService,
2296
+ On as CollaboraExtensionService,
2297
+ ct as ErrorService,
2298
+ Sn as FavoriteService,
2299
+ Nn as WorkspaceService,
2300
+ v as alfrescoApi,
2301
+ Se as favoritesApi,
2302
+ P as nodesApi,
2303
+ Re as peopleApi,
2304
+ $e as renditionsApi,
2305
+ Gt as searchApi,
2306
+ L as sitesApi,
2307
+ bn as trashcanApi,
2308
+ Xt as uploadApi,
2309
+ We as useUserStore
970
2310
  };