@ynput/ayon-frontend-shared 0.5.0 → 0.6.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.
Files changed (92) hide show
  1. package/dist/ContextMenu.es.js +34 -16
  2. package/dist/DetailsPanel.es.js +307 -311
  3. package/dist/Feed.es.js +179 -50
  4. package/dist/ListTable.es.js +99 -92
  5. package/dist/NewEntity.es.js +1256 -11
  6. package/dist/ProjectTreeTable.es.js +4459 -2959
  7. package/dist/SimpleTable.es.js +8 -7
  8. package/dist/Slicer.es.js +451 -147
  9. package/dist/Views.es.js +918 -310
  10. package/dist/api.es.js +331 -329
  11. package/dist/chunks/Actions.es.js +32 -27
  12. package/dist/chunks/ColumnDropIndicator.es.js +174 -328
  13. package/dist/chunks/ColumnDropIndicator.styled.es.js +281 -0
  14. package/dist/chunks/ColumnHeaderMenuUI.es.js +52 -0
  15. package/dist/chunks/ContextMenuContextInstance.es.js +12 -0
  16. package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +229 -0
  17. package/dist/chunks/DeleteEntitiesContextInstance.es.js +827 -0
  18. package/dist/chunks/DetailsDialog.es.js +3 -3
  19. package/dist/chunks/EmptyPlaceholder.es.js +4 -4
  20. package/dist/chunks/EntityPath.es.js +74 -69
  21. package/dist/chunks/EntityPickerDialog.es.js +25 -21
  22. package/dist/chunks/EntityTooltip.es.js +29 -22
  23. package/dist/chunks/EntityUpdatesContext.es.js +38 -96
  24. package/dist/chunks/Feed.es.js +2321 -2668
  25. package/dist/chunks/FilterErrorActions.es.js +25 -229
  26. package/dist/chunks/Menu.es.js +21 -17
  27. package/dist/chunks/MenuContext.es.js +14 -256
  28. package/dist/chunks/MenuItem.es.js +34 -24
  29. package/dist/chunks/MetaWidget.es.js +2895 -4919
  30. package/dist/chunks/NewEntityContextInstance.es.js +11 -0
  31. package/dist/chunks/PlayableIcon.es.js +4215 -1179
  32. package/dist/chunks/ProjectContext.es.js +102 -66
  33. package/dist/chunks/RepresentationsList.es.js +4 -4
  34. package/dist/chunks/ReviewablesSelector.es.js +468 -460
  35. package/dist/chunks/SimpleForm.es.js +18 -18
  36. package/dist/chunks/SimpleTable.es.js +15 -13
  37. package/dist/chunks/Slicer.es.js +109 -98
  38. package/dist/chunks/TableSettingsFallback.es.js +22 -10
  39. package/dist/chunks/ThumbnailSimple.es.js +290 -52
  40. package/dist/chunks/VersionUploadContextInstance.es.js +12 -0
  41. package/dist/chunks/VideoPlayer.es.js +24 -28
  42. package/dist/chunks/Watchers.es.js +669 -644
  43. package/dist/chunks/entityDefinitions.es.js +2 -350
  44. package/dist/chunks/expandRelativeDates.es.js +27 -0
  45. package/dist/chunks/extractVersionFromFilename.es.js +28 -0
  46. package/dist/chunks/getBundleMode.es.js +1 -1
  47. package/dist/chunks/getUris.es.js +737 -710
  48. package/dist/chunks/queryFilterToClientFilter.es.js +11 -10
  49. package/dist/chunks/searchTerms.es.js +179 -174
  50. package/dist/chunks/useAttributeEnums.es.js +9 -9
  51. package/dist/chunks/useCreateContextMenu.es.js +66 -90
  52. package/dist/chunks/useDateRangeFilter.es.js +3 -3
  53. package/dist/chunks/useHierarchySelection.es.js +24 -0
  54. package/dist/chunks/useLoadModule.es.js +74 -0
  55. package/dist/chunks/useQueryArgumentChangeLoading.es.js +11 -0
  56. package/dist/chunks/versionUploadHelpers.es.js +16 -42
  57. package/dist/chunks/viewUpdateHelper.es.js +74 -57
  58. package/dist/components.es.js +1432 -1001
  59. package/dist/context.es.js +791 -78
  60. package/dist/hooks.es.js +95 -94
  61. package/dist/index.es.js +27 -26
  62. package/dist/types/Actions.d.ts +15 -15
  63. package/dist/types/ContextMenu.d.ts +19 -16
  64. package/dist/types/DetailsPanel.d.ts +110 -17
  65. package/dist/types/EntityPickerDialog.d.ts +15 -15
  66. package/dist/types/Feed.d.ts +19 -16
  67. package/dist/types/ListTable.d.ts +15 -15
  68. package/dist/types/NewEntity.d.ts +24 -18
  69. package/dist/types/ProjectTreeTable.d.ts +34 -123
  70. package/dist/types/RepresentationsList.d.ts +15 -15
  71. package/dist/types/SimpleTable.d.ts +19 -16
  72. package/dist/types/Slicer.d.ts +18 -15
  73. package/dist/types/Views.d.ts +19 -16
  74. package/dist/types/api.d.ts +515 -207
  75. package/dist/types/components.d.ts +84 -20
  76. package/dist/types/context.d.ts +108 -25
  77. package/dist/types/hooks.d.ts +15 -15
  78. package/dist/types/index.d.ts +15 -15
  79. package/dist/types/util.d.ts +20 -15
  80. package/dist/util.es.js +117 -105
  81. package/package.json +16 -4
  82. package/dist/chunks/DeleteEntitiesContext.es.js +0 -748
  83. package/dist/chunks/GlobalContext.es.js +0 -52
  84. package/dist/chunks/NewEntityContext.es.js +0 -1242
  85. package/dist/chunks/ProjectFoldersContext.es.js +0 -134
  86. package/dist/chunks/ProjectFoldersContextInstance.es.js +0 -7
  87. package/dist/chunks/VersionUploadContext.es.js +0 -232
  88. package/dist/chunks/ViewsContext.es.js +0 -878
  89. package/dist/chunks/mentionTypeOptions.es.js +0 -15
  90. package/dist/chunks/useColumnDragRestriction.es.js +0 -148
  91. package/dist/chunks/useLocalStorage.es.js +0 -355
  92. /package/dist/{useCreateContextMenu.css → ContextMenuContextInstance.css} +0 -0
@@ -1,10 +1,10 @@
1
- import { ad as Xt, aK as Se, aE as j, ae as Ne, a5 as D, bf as Es, ay as Q, av as pt, bd as F, a as Ss, be as Ps, aG as Ls, az as V, aq as de, af as Pe, ag as js, ai as Fs, aj as _s, al as Rs, bc as Gs, an as Cs, aA as Ns, aC as Qs, b8 as Zt, aH as Ms, aJ as Vs, aL as X, aN as Ds, aO as rt, aP as Os, a9 as ye, b9 as $s, ba as xs, aR as Us } from "./searchTerms.es.js";
1
+ import { ad as Xt, aL as Se, aF as L, ae as Ne, a5 as D, bj as Es, az as Q, av as pt, be as F, a as Ss, bi as Ps, aH as Ls, aA as V, aq as ue, af as Pe, ag as js, ai as Fs, aj as _s, al as Rs, bd as Gs, an as Cs, aB as Ns, aD as Qs, b9 as Zt, aI as Ms, aK as Vs, aM as X, aO as Ds, aP as rt, aQ as Os, a9 as ce, ar as $s, ba as xs, bb as Us, aS as qs } from "./searchTerms.es.js";
2
2
  import "lodash";
3
3
  import "primereact/confirmdialog";
4
4
  import { toast as es } from "react-toastify";
5
- import { v4 as qs } from "uuid";
6
- import { R as Bs, D as Hs, s as H, c as U, f as le, d as De, a as ie, w as J, g as ts } from "./realtimeUpdatesUtils.es.js";
7
- import { current as Ws } from "@reduxjs/toolkit";
5
+ import { v4 as Bs } from "uuid";
6
+ import { R as Hs, D as Ws, s as H, c as U, f as pe, d as De, a as ie, w as J, g as ts } from "./realtimeUpdatesUtils.es.js";
7
+ import { current as zs } from "@reduxjs/toolkit";
8
8
  const Oe = Xt.injectEndpoints({
9
9
  endpoints: (t) => ({
10
10
  getProjectsAccess: t.query({
@@ -27,7 +27,7 @@ const Oe = Xt.injectEndpoints({
27
27
  );
28
28
  return await Promise.all(i), { data: r, meta: void 0, error: void 0 };
29
29
  } catch (i) {
30
- return console.error(i), { error: j(i) };
30
+ return console.error(i), { error: L(i) };
31
31
  }
32
32
  },
33
33
  providesTags: (e, s, { projects: n }) => n.map((i) => ({ type: "projectAccess", id: i }))
@@ -59,12 +59,12 @@ Oe.enhanceEndpoints({
59
59
  }
60
60
  });
61
61
  const {
62
- useGetStudioAccessGroupsQuery: Ir,
63
- useGetAccessGroupsQuery: Tr,
64
- useGetAccessGroupQuery: kr,
65
- useGetAccessGroupSchemaQuery: Ar,
66
- useGetProjectsAccessQuery: wr
67
- } = Oe, zs = Oe.enhanceEndpoints({
62
+ useGetStudioAccessGroupsQuery: kr,
63
+ useGetAccessGroupsQuery: Ar,
64
+ useGetAccessGroupQuery: wr,
65
+ useGetAccessGroupSchemaQuery: Er,
66
+ useGetProjectsAccessQuery: Sr
67
+ } = Oe, Ks = Oe.enhanceEndpoints({
68
68
  endpoints: {
69
69
  setProjectsAccess: {
70
70
  async onQueryStarted({ payload: t }, { dispatch: e, queryFulfilled: s }) {
@@ -116,22 +116,22 @@ const {
116
116
  }
117
117
  }
118
118
  }), {
119
- useSetProjectsAccessMutation: Er,
120
- useSaveAccessGroupMutation: Sr,
121
- useDeleteAccessGroupMutation: Pr
122
- } = zs, Ks = Ne.enhanceEndpoints({
119
+ useSetProjectsAccessMutation: Pr,
120
+ useSaveAccessGroupMutation: Lr,
121
+ useDeleteAccessGroupMutation: jr
122
+ } = Ks, Js = Ne.enhanceEndpoints({
123
123
  endpoints: {
124
124
  executeAction: {},
125
125
  listAvailableActionsForContext: {}
126
126
  }
127
- }), Js = Ks.injectEndpoints({
127
+ }), Ys = Js.injectEndpoints({
128
128
  endpoints: (t) => ({
129
129
  getActionsFromContext: t.query({
130
130
  queryFn: async (e, { dispatch: s }) => {
131
131
  const n = await s(
132
132
  Ne.endpoints.listAvailableActionsForContext.initiate(e)
133
133
  );
134
- return n.error ? { error: j(n.error) } : { data: n.data };
134
+ return n.error ? { error: L(n.error) } : { data: n.data };
135
135
  },
136
136
  providesTags: (e, s, n) => {
137
137
  const i = [{ type: "actions", id: "LIST" }], r = n.actionContext.entityIds?.map((c) => ({ type: "actions", id: c })) || [], a = e?.actions?.map((c) => ({ type: "actions", id: c.identifier })) || [];
@@ -142,34 +142,34 @@ const {
142
142
  getActionConfig: t.query({
143
143
  queryFn: async (e, { dispatch: s }) => {
144
144
  const n = await s(Ne.endpoints.configureAction.initiate(e));
145
- return n.error ? { error: j(n.error) } : { data: n.data };
145
+ return n.error ? { error: L(n.error) } : { data: n.data };
146
146
  },
147
147
  providesTags: [{ type: "actionConfig", id: "LIST" }]
148
148
  }),
149
149
  setActionConfig: t.mutation({
150
150
  queryFn: async (e, { dispatch: s }) => {
151
151
  const n = await s(Ne.endpoints.configureAction.initiate(e));
152
- return n.error ? { error: j(n.error) } : { data: n.data };
152
+ return n.error ? { error: L(n.error) } : { data: n.data };
153
153
  },
154
154
  invalidatesTags: [{ type: "actionConfig", id: "LIST" }]
155
155
  })
156
156
  // End of endpoints
157
157
  })
158
158
  }), {
159
- useGetActionsFromContextQuery: Lr,
160
- useLazyGetActionsFromContextQuery: jr,
161
- useExecuteActionMutation: Fr,
162
- useGetActionConfigQuery: _r,
163
- useSetActionConfigMutation: Rr
164
- } = Js, Ys = (t, e) => e.split(".").reduce((s, n) => s && s[n] !== void 0 ? s[n] : void 0, t), Xs = (t, e) => {
159
+ useGetActionsFromContextQuery: Fr,
160
+ useLazyGetActionsFromContextQuery: _r,
161
+ useExecuteActionMutation: Rr,
162
+ useGetActionConfigQuery: Gr,
163
+ useSetActionConfigMutation: Cr
164
+ } = Ys, Xs = (t, e) => e.split(".").reduce((s, n) => s && s[n] !== void 0 ? s[n] : void 0, t), Zs = (t, e) => {
165
165
  const s = e.split("."), n = s.pop(), i = s.reduce((r, a) => r && r[a] !== void 0 ? r[a] : void 0, t);
166
166
  i && n && delete i[n];
167
167
  };
168
- function Zs(t, e) {
168
+ function en(t, e) {
169
169
  const s = { ...t };
170
170
  for (const [n, i] of Object.entries(e)) {
171
- const r = Ys(s, n);
172
- r !== void 0 && (s[i] = r, Xs(s, n));
171
+ const r = Xs(s, n);
172
+ r !== void 0 && (s[i] = r, Zs(s, n));
173
173
  }
174
174
  return s;
175
175
  }
@@ -179,7 +179,7 @@ const mt = (t = [], e) => {
179
179
  const i = n.node;
180
180
  if (!i)
181
181
  return;
182
- const r = i, c = Zs(
182
+ const r = i, c = en(
183
183
  r,
184
184
  {
185
185
  "author.name": "authorName",
@@ -195,7 +195,7 @@ const mt = (t = [], e) => {
195
195
  }
196
196
  s.push(c);
197
197
  }), { activities: s, pageInfo: e };
198
- }, en = (t) => {
198
+ }, tn = (t) => {
199
199
  const {
200
200
  id: e,
201
201
  label: s,
@@ -222,7 +222,7 @@ const mt = (t = [], e) => {
222
222
  users: c?.map((p) => ({ name: p, avatarUrl: `/api/users/${p}/avatar` })) || [],
223
223
  path: o?.path.split("/").splice(-2, 1).join("")
224
224
  };
225
- }, tn = (t) => {
225
+ }, sn = (t) => {
226
226
  const { id: e, name: s, status: n, thumbnailId: i, author: r, updatedAt: a, product: c } = t;
227
227
  return {
228
228
  id: e,
@@ -237,7 +237,7 @@ const mt = (t = [], e) => {
237
237
  productType: c?.productType,
238
238
  path: c?.folder?.path?.split("/").pop()
239
239
  };
240
- }, sn = (t) => {
240
+ }, nn = (t) => {
241
241
  const { id: e, name: s, label: n, status: i, thumbnailId: r, thumbnailHash: a, updatedAt: c, folderType: d, parents: u } = t || {};
242
242
  return {
243
243
  id: e,
@@ -253,7 +253,7 @@ const mt = (t = [], e) => {
253
253
  users: [],
254
254
  path: u?.[u.length - 2]
255
255
  };
256
- }, nn = (t) => {
256
+ }, rn = (t) => {
257
257
  const { id: e, name: s, status: n, thumbnailId: i, thumbnailHash: r, updatedAt: a, task: c } = t || {};
258
258
  return {
259
259
  id: e,
@@ -269,20 +269,20 @@ const mt = (t = [], e) => {
269
269
  users: [],
270
270
  path: c?.folder?.path?.split("/").pop()
271
271
  };
272
- }, rn = (t, e) => {
272
+ }, an = (t, e) => {
273
273
  switch (e) {
274
274
  case "task":
275
- return en(t.task);
275
+ return tn(t.task);
276
276
  case "version":
277
- return tn(t.version);
277
+ return sn(t.version);
278
278
  case "folder":
279
- return sn(t.folder);
279
+ return nn(t.folder);
280
280
  case "workfile":
281
- return nn(t.workfile);
281
+ return rn(t.workfile);
282
282
  default:
283
283
  return {};
284
284
  }
285
- }, an = (t) => {
285
+ }, on = (t) => {
286
286
  const e = t?.project?.activities?.edges?.map((a) => a?.node), s = e.map((a) => a.body), n = e.map((a) => a.activityId), i = s.reduce((a, c) => {
287
287
  if (!c) return a;
288
288
  const d = c.match(/\*\s\[\s\]/g);
@@ -293,7 +293,7 @@ const mt = (t = [], e) => {
293
293
  return a + (d ? d.length : 0);
294
294
  }, 0);
295
295
  return { total: i + r, checked: r, unChecked: i, ids: n };
296
- }, on = (t, e = "task", s = "task") => t?.length ? [
296
+ }, cn = (t, e = "task", s = "task") => t?.length ? [
297
297
  ...t.map(({ id: n }) => ({ type: e, id: n })),
298
298
  { type: e, id: s.toUpperCase() + "S" },
299
299
  {
@@ -354,7 +354,7 @@ const mt = (t = [], e) => {
354
354
  "subtype.change"
355
355
  ],
356
356
  checklists: ["checklist"]
357
- }, Gr = (t) => {
357
+ }, Nr = (t) => {
358
358
  if (typeof t == "string")
359
359
  return t in se ? se[t] : null;
360
360
  if (t && typeof t == "object" && t.conditions) {
@@ -365,7 +365,7 @@ const mt = (t = [], e) => {
365
365
  }), s ? Array.from(new Set(e)) : se.activity;
366
366
  }
367
367
  return se.activity;
368
- }, cn = (t) => {
368
+ }, dn = (t) => {
369
369
  switch (t) {
370
370
  case "task":
371
371
  return `
@@ -409,7 +409,7 @@ const mt = (t = [], e) => {
409
409
  default:
410
410
  return "";
411
411
  }
412
- }, dn = (t) => `
412
+ }, un = (t) => `
413
413
  query EntityTooltip($projectName: String!, $entityId: String!) {
414
414
  project(name: $projectName) {
415
415
  ${t}(id: $entityId) {
@@ -419,15 +419,15 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
419
419
  thumbnailId
420
420
  updatedAt
421
421
  thumbnailHash
422
- ${cn(t)}
422
+ ${dn(t)}
423
423
  }
424
424
  }
425
425
  }
426
- `, un = (t) => t.replace(/_([a-z0-9])/g, (e, s) => s.toUpperCase()), vt = {
426
+ `, ln = (t) => t.replace(/_([a-z0-9])/g, (e, s) => s.toUpperCase()), vt = {
427
427
  task_type: "subType",
428
428
  folder_type: "subType",
429
429
  product_type: "subType"
430
- }, pe = (t) => t in vt ? vt[t] : t.startsWith("project_attributes_") ? "attrib_" + t.slice(19) : t.startsWith("inherited_attributes_") ? "attrib_" + t.slice(21) : t.startsWith("attrib_") ? t : un(t), ln = (t) => {
430
+ }, fe = (t) => t in vt ? vt[t] : t.startsWith("project_attributes_") ? "attrib_" + t.slice(19) : t.startsWith("inherited_attributes_") ? "attrib_" + t.slice(21) : t.startsWith("attrib_") ? t : ln(t), pn = (t) => {
431
431
  if (Array.isArray(t)) return t;
432
432
  if (typeof t == "string") {
433
433
  const e = t.trim();
@@ -439,7 +439,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
439
439
  }
440
440
  }
441
441
  return [t];
442
- }, pn = (t) => {
442
+ }, fn = (t) => {
443
443
  if (t == null) return;
444
444
  let e = t;
445
445
  if (typeof e == "string")
@@ -452,7 +452,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
452
452
  const s = /* @__PURE__ */ new Map();
453
453
  for (const n of e) {
454
454
  if (!n || n.value == null) continue;
455
- const i = ln(n.value);
455
+ const i = pn(n.value);
456
456
  for (const r of i) {
457
457
  const a = String(r), c = s.get(a);
458
458
  s.set(a, { ...n, value: a, count: (c?.count ?? 0) + (Number(n.count) || 0) });
@@ -465,7 +465,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
465
465
  value: s,
466
466
  count: Number(n) || 0
467
467
  }));
468
- }, ge = (t, e) => t == null && e == null ? void 0 : (t ?? 0) + (e ?? 0), fn = (t, e) => t == null ? e ?? void 0 : e == null || t < e ? t : e, yn = (t, e) => t == null ? e ?? void 0 : e == null || t > e ? t : e, Le = (t, e) => t != null && e != null && t + e > 0 ? Math.round(t / (t + e) * 1e4) / 100 : void 0, gn = (t, e) => {
468
+ }, ge = (t, e) => t == null && e == null ? void 0 : (t ?? 0) + (e ?? 0), yn = (t, e) => t == null ? e ?? void 0 : e == null || t < e ? t : e, gn = (t, e) => t == null ? e ?? void 0 : e == null || t > e ? t : e, Le = (t, e) => t != null && e != null && t + e > 0 ? Math.round(t / (t + e) * 1e4) / 100 : void 0, hn = (t, e) => {
469
469
  const s = ge(t.valueFilledCount, e.valueFilledCount), n = ge(t.valueNotFilledCount, e.valueNotFilledCount), i = ge(t.checkedCount, e.checkedCount), r = ge(t.notCheckedCount, e.notCheckedCount);
470
470
  let a;
471
471
  if (t.avg != null && e.avg != null) {
@@ -484,8 +484,8 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
484
484
  }
485
485
  return {
486
486
  columnName: t.columnName,
487
- min: fn(t.min, e.min),
488
- max: yn(t.max, e.max),
487
+ min: yn(t.min, e.min),
488
+ max: gn(t.max, e.max),
489
489
  avg: a,
490
490
  sum: ge(t.sum, e.sum),
491
491
  valueFilledCount: s,
@@ -502,31 +502,31 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
502
502
  };
503
503
  }, ke = (t) => t.map((e) => ({
504
504
  ...e,
505
- columnName: pe(e.columnName),
506
- distribution: pn(e.distribution)
505
+ columnName: fe(e.columnName),
506
+ distribution: fn(e.distribution)
507
507
  })), Ae = (t = [], e = []) => {
508
508
  const s = /* @__PURE__ */ new Map();
509
- for (const n of e) s.set(pe(n.columnName), { ...n });
509
+ for (const n of e) s.set(fe(n.columnName), { ...n });
510
510
  for (const n of t) {
511
- const i = pe(n.columnName), r = { ...s.get(i) || { columnName: n.columnName } };
511
+ const i = fe(n.columnName), r = { ...s.get(i) || { columnName: n.columnName } };
512
512
  for (const [a, c] of Object.entries(n))
513
513
  c != null && (r[a] = c);
514
514
  s.set(i, r);
515
515
  }
516
516
  return [...s.values()];
517
- }, Cr = (t) => t.reduce(
517
+ }, Qr = (t) => t.reduce(
518
518
  (e, s) => Math.max(e, (s.valueFilledCount ?? 0) + (s.valueNotFilledCount ?? 0)),
519
519
  0
520
- ), Nr = (t, e = []) => {
520
+ ), Mr = (t, e = []) => {
521
521
  const s = /* @__PURE__ */ new Map();
522
- for (const i of t) s.set(pe(i.columnName), i);
522
+ for (const i of t) s.set(fe(i.columnName), i);
523
523
  const n = new Map(s);
524
524
  for (const i of e) {
525
- const r = pe(i.columnName), a = s.get(r);
526
- n.set(r, a ? gn(a, i) : i);
525
+ const r = fe(i.columnName), a = s.get(r);
526
+ n.set(r, a ? hn(a, i) : i);
527
527
  }
528
528
  return [...n.values()];
529
- }, is = [Bs, Hs], rs = (t, e, s) => {
529
+ }, is = [Hs, Ws], rs = (t, e, s) => {
530
530
  if (is.includes(e))
531
531
  return !0;
532
532
  if (t[e] !== void 0 && t[e] !== null)
@@ -550,7 +550,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
550
550
  return s[r];
551
551
  }
552
552
  return !1;
553
- }, Qr = (t, e) => e.filter(
553
+ }, Vr = (t, e) => e.filter(
554
554
  (n) => !is.includes(n) && t[n]
555
555
  ).length === 0 && e.includes("name") ? {
556
556
  ...t,
@@ -561,7 +561,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
561
561
  }, at = (t, e, s) => {
562
562
  const n = e?.[t], i = s?.[t];
563
563
  return n === "none" || i === "none" ? !1 : n != null || i != null;
564
- }, hn = (t, e, s, n) => {
564
+ }, mn = (t, e, s, n) => {
565
565
  const i = /* @__PURE__ */ new Set([
566
566
  ...Object.keys(t ?? {}),
567
567
  ...Object.keys(e ?? {})
@@ -570,12 +570,12 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
570
570
  if (!(s && !rs(s, r, n)) && at(r, t, e))
571
571
  return !0;
572
572
  return !1;
573
- }, Mr = (t, e, s, n) => e?.name === "none" && !hn(t, e, s, n), we = (t, e) => {
573
+ }, Dr = (t, e, s, n) => e?.name === "none" && !mn(t, e, s, n), we = (t, e) => {
574
574
  if (!t) return !1;
575
575
  if (!e) return !0;
576
576
  const s = new Set(bt(e).map((n) => n.field));
577
577
  return bt(t).some((n) => !s.has(n.field));
578
- }, He = [D.Filled, D.NotFilled], mn = [
578
+ }, He = [D.Filled, D.NotFilled], vn = [
579
579
  D.Min,
580
580
  D.Max,
581
581
  D.Avg,
@@ -586,12 +586,12 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
586
586
  D.Filled,
587
587
  D.NotFilled,
588
588
  D.Distribution
589
- ], vn = {
589
+ ], bn = {
590
590
  folder: "folder_type",
591
591
  task: "task_type",
592
592
  product: "product_type",
593
593
  version: null
594
- }, Vr = ({
594
+ }, Or = ({
595
595
  entity: t,
596
596
  attribs: e,
597
597
  columnVisibility: s,
@@ -602,7 +602,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
602
602
  }) => {
603
603
  const c = (y) => rs(s, y, n), d = (y) => c(y) && at(y, i, r), u = [];
604
604
  t === "version" ? u.push({ field: "status", aggregations: d("status") ? Y : He }) : (u.push({ field: "name", aggregations: He }), d("status") && u.push({ field: "status", aggregations: Y })), d("tags") && u.push({ field: "tags", aggregations: Y }), t === "task" && d("assignees") && u.push({ field: "assignees", aggregations: Y });
605
- const o = r?.name ?? "all", l = ["folder", "product"].includes(t) ? o === "all" || o === "primary" : o === "all" || o === "secondary", p = i?.name === "breakdown" && at("name", i, r) && l, f = vn[t];
605
+ const o = r?.name ?? "all", l = ["folder", "product"].includes(t) ? o === "all" || o === "primary" : o === "all" || o === "secondary", p = i?.name === "breakdown" && at("name", i, r) && l, f = bn[t];
606
606
  f && (d("subType") || p) && u.push({ field: f, aggregations: Y });
607
607
  for (const y of a)
608
608
  u.push({ field: y, aggregations: Y });
@@ -611,38 +611,38 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
611
611
  let h = `attrib.${y.name}`;
612
612
  ["folder", "task"].includes(t) && (h = `inherited_attributes.${y.name}`);
613
613
  const g = y.data?.type;
614
- g === "integer" || g === "float" ? u.push({ field: h, aggregations: mn }) : g === "string" ? u.push({ field: h, aggregations: Es(y.data) ? Y : He }) : (g === "list_of_strings" || g === "list_of_integers") && u.push({ field: h, aggregations: Y });
614
+ g === "integer" || g === "float" ? u.push({ field: h, aggregations: vn }) : g === "string" ? u.push({ field: h, aggregations: Es(y.data) ? Y : He }) : (g === "list_of_strings" || g === "list_of_integers") && u.push({ field: h, aggregations: Y });
615
615
  }
616
616
  return u;
617
617
  }, It = [
618
618
  D.Distribution,
619
619
  D.Filled,
620
620
  D.NotFilled
621
- ], bn = {
621
+ ], In = {
622
622
  status: "status",
623
623
  assignees: "assignees",
624
624
  tags: "tags",
625
625
  taskType: "task_type"
626
- }, In = {
626
+ }, Tn = {
627
627
  status: "status",
628
628
  tags: "tags",
629
629
  author: "author",
630
630
  productType: "product_type"
631
- }, Dr = (t, e) => {
632
- const n = (e === "version" || e === "product" ? In : bn)[t.id];
631
+ }, $r = (t, e) => {
632
+ const n = (e === "version" || e === "product" ? Tn : In)[t.id];
633
633
  if (n) return { field: n, aggregations: It };
634
634
  if (t.id.startsWith("attrib.")) {
635
635
  const i = t.id.slice(7);
636
636
  return { field: e === "task" || e === "folder" ? `inherited_attributes.${i}` : `attrib.${i}`, aggregations: It };
637
637
  }
638
638
  return null;
639
- }, Tn = (t) => {
639
+ }, kn = (t) => {
640
640
  const e = t.indexOf(".");
641
- return e !== -1 ? "attrib_" + t.slice(e + 1) : pe(t);
642
- }, Or = (t, e) => {
641
+ return e !== -1 ? "attrib_" + t.slice(e + 1) : fe(t);
642
+ }, xr = (t, e) => {
643
643
  const s = /* @__PURE__ */ new Map(), n = { count: 0, percentage: 0 };
644
644
  if (!e) return { counts: s, total: 0, ungrouped: n, complete: !1 };
645
- const i = Tn(e.field), r = t.find((f) => f.columnName === i), a = r?.distribution || [], c = r?.valueNotFilledCount ?? 0, d = r?.valueFilledCount ?? 0, u = !!r && (a.length > 0 || d === 0), o = a.reduce((f, y) => f + (y.count || 0), 0), l = d ? d + c : o + c;
645
+ const i = kn(e.field), r = t.find((f) => f.columnName === i), a = r?.distribution || [], c = r?.valueNotFilledCount ?? 0, d = r?.valueFilledCount ?? 0, u = !!r && (a.length > 0 || d === 0), o = a.reduce((f, y) => f + (y.count || 0), 0), l = d ? d + c : o + c;
646
646
  for (const f of a) {
647
647
  const y = f.count || 0, h = l > 0 ? Math.round(y / l * 100) : 0;
648
648
  s.set(String(f.value), { count: y, percentage: h });
@@ -660,7 +660,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
660
660
  } catch {
661
661
  return {};
662
662
  }
663
- }, $r = R, Tt = (t) => {
663
+ }, Ur = R, Tt = (t) => {
664
664
  if (!t.project)
665
665
  return [];
666
666
  const e = [];
@@ -726,11 +726,11 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
726
726
  keepUnusedDataFor: Z
727
727
  }
728
728
  }
729
- }), kn = pt.enhanceEndpoints({
729
+ }), An = pt.enhanceEndpoints({
730
730
  endpoints: {
731
731
  searchFolders: {}
732
732
  }
733
- }), We = 100, be = {}, ze = (t, e, s, n, i) => JSON.stringify({ projectName: t, filter: e, folderFilter: s, search: n, showComments: i }), An = (t, e) => {
733
+ }), We = 100, be = {}, ze = (t, e, s, n, i) => JSON.stringify({ projectName: t, filter: e, folderFilter: s, search: n, showComments: i }), wn = (t, e) => {
734
734
  be[t] || (be[t] = /* @__PURE__ */ new Set()), e.forEach((s) => be[t].add(s));
735
735
  }, kt = (t) => be[t] || /* @__PURE__ */ new Set(), x = re.injectEndpoints({
736
736
  endpoints: (t) => ({
@@ -754,7 +754,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
754
754
  );
755
755
  for (let E = 0; E < g.length; E += v) {
756
756
  const P = g.slice(E, E + v);
757
- let S = !0, L, _ = 0;
757
+ let S = !0, j, _ = 0;
758
758
  for (; S && _ < I; ) {
759
759
  if (_++, _ === I)
760
760
  throw new Error(
@@ -770,7 +770,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
770
770
  search: r,
771
771
  showComments: !!a,
772
772
  first: T,
773
- after: L
773
+ after: j
774
774
  },
775
775
  { forceRefetch: !0 }
776
776
  )
@@ -779,16 +779,16 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
779
779
  const O = G.data, $ = O?.tasks || [];
780
780
  m.push(...$);
781
781
  const C = O?.pageInfo;
782
- S = C?.hasNextPage || !1, L = C?.endCursor || void 0;
782
+ S = C?.hasNextPage || !1, j = C?.endCursor || void 0;
783
783
  }
784
784
  }
785
- An(y, g);
785
+ wn(y, g);
786
786
  const A = [...f, ...m], w = new Map(A.map((E) => [E.id, E]));
787
787
  return {
788
788
  data: Array.from(w.values())
789
789
  };
790
790
  } catch (o) {
791
- return console.error(o), { error: j(o) };
791
+ return console.error(o), { error: L(o) };
792
792
  }
793
793
  },
794
794
  // keep one cache per project
@@ -812,7 +812,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
812
812
  m.filter((w) => w.project === e).filter((w) => b.has(w.summary?.parentId)).forEach((w) => {
813
813
  const E = w.summary?.entityId;
814
814
  if (!E || !I.has(E)) return;
815
- const P = w.topic?.split(".")[2]?.replace("_changed", ""), S = le(
815
+ const P = w.topic?.split(".")[2]?.replace("_changed", ""), S = pe(
816
816
  P,
817
817
  w.summary,
818
818
  De
@@ -824,8 +824,8 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
824
824
  }) : k.add(E);
825
825
  }), T.length && u((w) => {
826
826
  T.forEach(({ taskId: E, field: P, value: S }) => {
827
- const L = w.find((_) => _.id === E);
828
- L && Object.assign(L, { [P === "type" ? "taskType" : P]: S });
827
+ const j = w.find((_) => _.id === E);
828
+ j && Object.assign(j, { [P === "type" ? "taskType" : P]: S });
829
829
  });
830
830
  });
831
831
  const A = Array.from(k);
@@ -845,13 +845,13 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
845
845
  if (!v()) return;
846
846
  const P = new Map(E.map((S) => [S.id, S]));
847
847
  u((S) => {
848
- for (const L of E) {
849
- const _ = S.findIndex((G) => G.id === L.id);
850
- _ > -1 ? S[_] = L : S.push(L);
848
+ for (const j of E) {
849
+ const _ = S.findIndex((G) => G.id === j.id);
850
+ _ > -1 ? S[_] = j : S.push(j);
851
851
  }
852
- for (const L of A)
853
- if (!P.has(L)) {
854
- const _ = S.findIndex((G) => G.id === L);
852
+ for (const j of A)
853
+ if (!P.has(j)) {
854
+ const _ = S.findIndex((G) => G.id === j);
855
855
  _ > -1 && S.splice(_, 1);
856
856
  }
857
857
  });
@@ -895,14 +895,14 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
895
895
  async queryFn({ projectName: e, folderSearchRequest: s }, { dispatch: n }) {
896
896
  try {
897
897
  const i = await n(
898
- kn.endpoints.searchFolders.initiate({
898
+ An.endpoints.searchFolders.initiate({
899
899
  projectName: e,
900
900
  folderSearchRequest: s
901
901
  })
902
902
  );
903
- return i.error ? { error: j(i.error) } : { data: i.data?.folderIds || [] };
903
+ return i.error ? { error: L(i.error) } : { data: i.data?.folderIds || [] };
904
904
  } catch (i) {
905
- return console.error(i), { error: j(i) };
905
+ return console.error(i), { error: L(i) };
906
906
  }
907
907
  },
908
908
  providesTags: (e, s, { projectName: n }) => [{ type: "tasksFolder", id: n }],
@@ -964,7 +964,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
964
964
  data: g.data || m
965
965
  };
966
966
  } catch (i) {
967
- return console.error("ERROR [getOverview]:", i, i.data?.detail), { error: j(i) };
967
+ return console.error("ERROR [getOverview]:", i, i.data?.detail), { error: L(i) };
968
968
  }
969
969
  },
970
970
  providesTags: (e, s, { projectName: n }) => ve(e?.pages.flatMap((i) => i.tasks) || [], n),
@@ -980,7 +980,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
980
980
  l.filter((m) => m.project === e.projectName).forEach((m) => {
981
981
  const v = m.summary?.entityId;
982
982
  if (!v || !f.has(v)) return;
983
- const b = m.topic?.split(".")[2]?.replace("_changed", ""), I = le(
983
+ const b = m.topic?.split(".")[2]?.replace("_changed", ""), I = pe(
984
984
  b,
985
985
  m.summary,
986
986
  De
@@ -1151,7 +1151,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1151
1151
  }
1152
1152
  };
1153
1153
  } catch (l) {
1154
- return console.error("ERROR [getGroupedTasksList]:", l, l.data?.detail), { error: j(l) };
1154
+ return console.error("ERROR [getGroupedTasksList]:", l, l.data?.detail), { error: L(l) };
1155
1155
  }
1156
1156
  },
1157
1157
  providesTags: (e, s, { projectName: n }) => ve(e?.tasks, n),
@@ -1159,15 +1159,15 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1159
1159
  })
1160
1160
  })
1161
1161
  }), {
1162
- useGetOverviewTasksByFoldersQuery: xr,
1163
- useGetSearchFoldersQuery: Ur,
1164
- useGetTasksListQuery: qr,
1165
- useGetTasksListInfiniteInfiniteQuery: Br,
1166
- useLazyGetTasksByParentQuery: Hr,
1167
- useGetGroupedTasksListQuery: Wr,
1168
- useGetFolderColumnStatsQuery: zr,
1169
- useGetTaskColumnStatsQuery: Kr
1170
- } = x, wn = Q.enhanceEndpoints({
1162
+ useGetOverviewTasksByFoldersQuery: qr,
1163
+ useGetSearchFoldersQuery: Br,
1164
+ useGetTasksListQuery: Hr,
1165
+ useGetTasksListInfiniteInfiniteQuery: Wr,
1166
+ useLazyGetTasksByParentQuery: zr,
1167
+ useGetGroupedTasksListQuery: Kr,
1168
+ useGetFolderColumnStatsQuery: Jr,
1169
+ useGetTaskColumnStatsQuery: Yr
1170
+ } = x, En = Q.enhanceEndpoints({
1171
1171
  endpoints: {
1172
1172
  GetUpdatedAndNewFolders: {
1173
1173
  transformResponse: (t) => t.project.folders.edges.map(({ node: e }) => ({
@@ -1182,7 +1182,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1182
1182
  }))
1183
1183
  }
1184
1184
  }
1185
- }), En = ie, $e = pt.enhanceEndpoints({
1185
+ }), Sn = ie, $e = pt.enhanceEndpoints({
1186
1186
  endpoints: {
1187
1187
  getFolderHierarchy: {
1188
1188
  providesTags: ["hierarchy"]
@@ -1220,7 +1220,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1220
1220
  return;
1221
1221
  }
1222
1222
  if (!g.has(w)) return;
1223
- const E = le(
1223
+ const E = pe(
1224
1224
  d[A.topic],
1225
1225
  A.summary,
1226
1226
  c
@@ -1236,15 +1236,15 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1236
1236
  !A || !Array.isArray(A.folders) || (A.folders = A.folders.filter((w) => !v.includes(w.id)));
1237
1237
  }), k.length && n((A) => {
1238
1238
  !A || !Array.isArray(A.folders) || k.forEach(({ folderId: w, field: E, value: P }) => {
1239
- const S = A.folders.find((L) => L.id === w);
1239
+ const S = A.folders.find((j) => j.id === w);
1240
1240
  S && (S[E] = P);
1241
1241
  });
1242
1242
  });
1243
1243
  const T = [.../* @__PURE__ */ new Set([...b, ...I.keys()])];
1244
- if (!(T.length > En) && T.length) {
1244
+ if (!(T.length > Sn) && T.length) {
1245
1245
  await J();
1246
1246
  const A = await r(
1247
- wn.endpoints.GetUpdatedAndNewFolders.initiate({
1247
+ En.endpoints.GetUpdatedAndNewFolders.initiate({
1248
1248
  projectName: a,
1249
1249
  folderIds: T,
1250
1250
  first: T.length
@@ -1257,13 +1257,13 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1257
1257
  const P = new Map(
1258
1258
  A.filter(Boolean).map((S) => [S.id, S])
1259
1259
  );
1260
- E.folders.forEach((S, L) => {
1260
+ E.folders.forEach((S, j) => {
1261
1261
  const _ = P.get(S.id);
1262
- _ && (w.has(S.id) ? E.folders[L] = { ...S, ..._ } : (I.get(S.id) || /* @__PURE__ */ new Set()).forEach((O) => {
1262
+ _ && (w.has(S.id) ? E.folders[j] = { ...S, ..._ } : (I.get(S.id) || /* @__PURE__ */ new Set()).forEach((O) => {
1263
1263
  S[O] = _[O];
1264
1264
  }), P.delete(S.id));
1265
- }), P.forEach((S, L) => {
1266
- w.has(L) && E.folders.push(S);
1265
+ }), P.forEach((S, j) => {
1266
+ w.has(j) && E.folders.push(S);
1267
1267
  });
1268
1268
  });
1269
1269
  }
@@ -1297,7 +1297,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1297
1297
  }
1298
1298
  }
1299
1299
  }
1300
- }), { useGetFolderHierarchyQuery: Jr, useGetFolderListQuery: Yr } = $e, Sn = Q.enhanceEndpoints({
1300
+ }), { useGetFolderHierarchyQuery: Xr, useGetFolderListQuery: Zr } = $e, Pn = Q.enhanceEndpoints({
1301
1301
  endpoints: {
1302
1302
  GetFolderDeleteInfo: {
1303
1303
  transformResponse: (t) => (t?.project?.folders?.edges || []).map((s) => ({
@@ -1315,7 +1315,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1315
1315
  ] : [{ type: "folder", id: "DELETE_INFO" }]
1316
1316
  }
1317
1317
  }
1318
- }), { useGetFolderDeleteInfoQuery: Xr, useLazyGetFolderDeleteInfoQuery: Zr } = Sn, Pn = ["task", "version", "folder", "representation"], je = ({
1318
+ }), { useGetFolderDeleteInfoQuery: ea, useLazyGetFolderDeleteInfoQuery: ta } = Pn, Ln = ["task", "version", "folder", "representation"], je = ({
1319
1319
  entity: t,
1320
1320
  entityType: e,
1321
1321
  projectName: s
@@ -1502,12 +1502,12 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1502
1502
  case "representation":
1503
1503
  return "GetDetailsPanelRepresentation";
1504
1504
  }
1505
- }, ce = Ke.injectEndpoints({
1505
+ }, de = Ke.injectEndpoints({
1506
1506
  endpoints: (t) => ({
1507
1507
  getEntitiesDetailsPanel: t.query({
1508
1508
  async queryFn({ entities: e = [], entityType: s }, { dispatch: n }) {
1509
- if (!Pn.includes(s))
1510
- return { error: j("Entity type not supported", 400) };
1509
+ if (!Ln.includes(s))
1510
+ return { error: L("Entity type not supported", 400) };
1511
1511
  try {
1512
1512
  const i = e.map((c) => n(
1513
1513
  Ke.endpoints[At(s)].initiate(
@@ -1520,7 +1520,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1520
1520
  ));
1521
1521
  return { data: (await Promise.all(i)).filter((c) => !!c.data).map((c) => c.data) };
1522
1522
  } catch (i) {
1523
- return console.error(i), { error: j(i) };
1523
+ return console.error(i), { error: L(i) };
1524
1524
  }
1525
1525
  },
1526
1526
  async onCacheEntryAdded({ entityType: e }, { updateCachedData: s, cacheDataLoaded: n, cacheEntryRemoved: i, dispatch: r, getCacheEntry: a }) {
@@ -1535,7 +1535,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1535
1535
  if (!k || !T) return;
1536
1536
  const A = `${T}:${k}`;
1537
1537
  if (!y.has(A)) return;
1538
- const w = b.split(".")[2]?.replace("_changed", ""), E = le(
1538
+ const w = b.split(".")[2]?.replace("_changed", ""), E = pe(
1539
1539
  w,
1540
1540
  I.summary,
1541
1541
  De
@@ -1632,7 +1632,7 @@ query EntityTooltip($projectName: String!, $entityId: String!) {
1632
1632
  ]
1633
1633
  })
1634
1634
  })
1635
- }), { useGetEntitiesDetailsPanelQuery: ea, useLazyGetEntitiesDetailsPanelQuery: ta } = ce, Ln = `
1635
+ }), { useGetEntitiesDetailsPanelQuery: sa, useLazyGetEntitiesDetailsPanelQuery: na } = de, jn = `
1636
1636
  fragment taskTileFragment on TaskNode {
1637
1637
  id
1638
1638
  name
@@ -1649,7 +1649,7 @@ fragment taskTileFragment on TaskNode {
1649
1649
  path
1650
1650
  }
1651
1651
  }
1652
- `, jn = `
1652
+ `, Fn = `
1653
1653
  fragment versionTileFragment on VersionNode {
1654
1654
  id
1655
1655
  name: product {
@@ -1673,7 +1673,7 @@ fragment versionTileFragment on VersionNode {
1673
1673
  }
1674
1674
  version
1675
1675
  }
1676
- `, Fn = `
1676
+ `, _n = `
1677
1677
  fragment productTileFragment on ProductNode {
1678
1678
  id
1679
1679
  name
@@ -1689,7 +1689,7 @@ fragment productTileFragment on ProductNode {
1689
1689
  path
1690
1690
  }
1691
1691
  }
1692
- `, _n = `
1692
+ `, Rn = `
1693
1693
  fragment folderTileFragment on FolderNode {
1694
1694
  id
1695
1695
  name
@@ -1702,7 +1702,7 @@ fragment folderTileFragment on FolderNode {
1702
1702
  path: parent {
1703
1703
  path
1704
1704
  }
1705
- }`, Rn = (t) => `
1705
+ }`, Gn = (t) => `
1706
1706
  query EventTile($projectName: String!, $id: String!) {
1707
1707
  project(name: $projectName) {
1708
1708
  ${t}(id: $id) {
@@ -1713,7 +1713,7 @@ fragment folderTileFragment on FolderNode {
1713
1713
  }
1714
1714
  }
1715
1715
  }
1716
- `, Gn = (t) => {
1716
+ `, Cn = (t) => {
1717
1717
  let s = `
1718
1718
  query EntityTiles($projectName: String!) {
1719
1719
  project(name: $projectName) {
@@ -1732,10 +1732,10 @@ fragment folderTileFragment on FolderNode {
1732
1732
  }
1733
1733
  `;
1734
1734
  const n = {
1735
- folder: _n,
1736
- product: Fn,
1737
- version: jn,
1738
- task: Ln
1735
+ folder: Rn,
1736
+ product: _n,
1737
+ version: Fn,
1738
+ task: jn
1739
1739
  };
1740
1740
  for (const i in t)
1741
1741
  s += n[i];
@@ -1748,7 +1748,7 @@ function as(t) {
1748
1748
  if (e.length > 0)
1749
1749
  return as(t[e[0]]);
1750
1750
  }
1751
- const Cn = (t, e) => {
1751
+ const Nn = (t, e) => {
1752
1752
  if (Array.isArray(e)) {
1753
1753
  const n = {};
1754
1754
  for (const i of e)
@@ -1767,14 +1767,14 @@ const Cn = (t, e) => {
1767
1767
  n.thumbnailEntityType = n.type, n.type === "product" && (n.thumbnailEntityId = n.latestVersion.thumbnailEntityId, n.thumbnailId = n.latestVersion.thumbnailId, n.thumbnailEntityType = "version");
1768
1768
  }
1769
1769
  return s;
1770
- }, Nn = Q.injectEndpoints({
1770
+ }, Qn = Q.injectEndpoints({
1771
1771
  endpoints: (t) => ({
1772
1772
  getEventTile: t.query({
1773
1773
  query: ({ projectName: e, id: s, type: n }) => ({
1774
1774
  url: "/graphql",
1775
1775
  method: "POST",
1776
1776
  body: {
1777
- query: Rn(n),
1777
+ query: Gn(n),
1778
1778
  variables: { projectName: e, id: s }
1779
1779
  }
1780
1780
  }),
@@ -1785,11 +1785,11 @@ const Cn = (t, e) => {
1785
1785
  url: "/graphql",
1786
1786
  method: "POST",
1787
1787
  body: {
1788
- query: Gn(s),
1788
+ query: Cn(s),
1789
1789
  variables: { projectName: e }
1790
1790
  }
1791
1791
  }),
1792
- transformResponse: (e, s, { entities: n }) => Cn(e.data?.project, n)
1792
+ transformResponse: (e, s, { entities: n }) => Nn(e.data?.project, n)
1793
1793
  }),
1794
1794
  getEntity: t.query({
1795
1795
  query: ({ projectName: e, entityType: s, entityId: n }) => ({
@@ -1799,17 +1799,17 @@ const Cn = (t, e) => {
1799
1799
  })
1800
1800
  }),
1801
1801
  overrideExisting: !0
1802
- }), me = Nn.enhanceEndpoints({
1802
+ }), me = Qn.enhanceEndpoints({
1803
1803
  endpoints: {
1804
1804
  GetProductVersions: {}
1805
1805
  }
1806
1806
  }), {
1807
- useGetEventTileQuery: sa,
1808
- useGetEntityTilesQuery: na,
1809
- useGetEntityQuery: ia,
1810
- useLazyGetEntityQuery: ra,
1811
- useGetProductVersionsQuery: aa,
1812
- useGetSearchedEntitiesInfiniteQuery: oa
1807
+ useGetEventTileQuery: ia,
1808
+ useGetEntityTilesQuery: ra,
1809
+ useGetEntityQuery: aa,
1810
+ useLazyGetEntityQuery: oa,
1811
+ useGetProductVersionsQuery: ca,
1812
+ useGetSearchedEntitiesInfiniteQuery: da
1813
1813
  } = me, ee = Se.enhanceEndpoints({
1814
1814
  endpoints: {
1815
1815
  getProject: {
@@ -1827,7 +1827,7 @@ const Cn = (t, e) => {
1827
1827
  providesTags: (t, e, { projectName: s }) => [{ type: "project", id: s }]
1828
1828
  }
1829
1829
  }
1830
- }), { useGetProjectQuery: ca, useListProjectsQuery: da, useGetProjectAnatomyQuery: ua } = ee, wt = 2e3, Et = Q.enhanceEndpoints({
1830
+ }), { useGetProjectQuery: ua, useListProjectsQuery: la, useGetProjectAnatomyQuery: pa } = ee, wt = 2e3, Et = Q.enhanceEndpoints({
1831
1831
  endpoints: {
1832
1832
  GetProjects: {
1833
1833
  transformResponse: (t) => ({
@@ -1875,7 +1875,7 @@ const Cn = (t, e) => {
1875
1875
  }
1876
1876
  };
1877
1877
  } catch (i) {
1878
- return console.error("Error in getProjectsInfinite queryFn:", i), { error: j(i) };
1878
+ return console.error("Error in getProjectsInfinite queryFn:", i), { error: L(i) };
1879
1879
  }
1880
1880
  },
1881
1881
  providesTags: (e) => {
@@ -1888,7 +1888,7 @@ const Cn = (t, e) => {
1888
1888
  })
1889
1889
  }),
1890
1890
  overrideExisting: !0
1891
- }), { useGetProjectsInfiniteInfiniteQuery: la } = ft, Je = (t, e) => {
1891
+ }), { useGetProjectsInfiniteInfiniteQuery: fa } = ft, Je = (t, e) => {
1892
1892
  for (const [s, n] of Object.entries(e)) {
1893
1893
  if (s === "attrib" && n && typeof n == "object" && !Array.isArray(n)) {
1894
1894
  t.attrib = {
@@ -1899,7 +1899,7 @@ const Cn = (t, e) => {
1899
1899
  }
1900
1900
  t[s] = n;
1901
1901
  }
1902
- }, Qn = ee.enhanceEndpoints({
1902
+ }, Mn = ee.enhanceEndpoints({
1903
1903
  endpoints: {
1904
1904
  deployProject: {
1905
1905
  invalidatesTags: () => [
@@ -1967,18 +1967,18 @@ const Cn = (t, e) => {
1967
1967
  }
1968
1968
  }
1969
1969
  }), {
1970
- useDeployProjectMutation: pa,
1971
- useDeleteProjectMutation: fa,
1972
- useSetProjectAnatomyMutation: ya,
1973
- useUpdateProjectMutation: ga,
1974
- useSetProjectBundleMutation: ha
1975
- } = Qn, Mn = (t) => {
1970
+ useDeployProjectMutation: ya,
1971
+ useDeleteProjectMutation: ga,
1972
+ useSetProjectAnatomyMutation: ha,
1973
+ useUpdateProjectMutation: ma,
1974
+ useSetProjectBundleMutation: va
1975
+ } = Mn, Vn = (t) => {
1976
1976
  try {
1977
1977
  return JSON.parse(t);
1978
1978
  } catch {
1979
1979
  return {};
1980
1980
  }
1981
- }, Vn = (t) => Object.keys(t), St = (t) => t.kanban.edges.map(({ node: e }) => e).sort((e, s) => {
1981
+ }, Dn = (t) => Object.keys(t), St = (t) => t.kanban.edges.map(({ node: e }) => e).sort((e, s) => {
1982
1982
  const n = e.label || e.name, i = s.label || s.name;
1983
1983
  return n.localeCompare(i);
1984
1984
  }), Pt = (t, e, s) => t?.length ? [
@@ -2026,16 +2026,16 @@ const Cn = (t, e) => {
2026
2026
  if (!w || !p.includes(w)) return;
2027
2027
  const E = A.summary?.entityId;
2028
2028
  if (!E) return;
2029
- const P = T.split(".")[2]?.replace("_changed", ""), S = le(
2029
+ const P = T.split(".")[2]?.replace("_changed", ""), S = pe(
2030
2030
  P,
2031
2031
  A.summary,
2032
2032
  De
2033
2033
  );
2034
2034
  if (!S) return;
2035
- const L = `${w}:${E}`, _ = h.has(L), G = S.value, O = S.field === "assignees" && G.some(($) => f.includes($));
2035
+ const j = `${w}:${E}`, _ = h.has(j), G = S.value, O = S.field === "assignees" && G.some(($) => f.includes($));
2036
2036
  if (!(!_ && !O)) {
2037
2037
  if (!_) {
2038
- g.set(L, { taskId: E, project: w });
2038
+ g.set(j, { taskId: E, project: w });
2039
2039
  return;
2040
2040
  }
2041
2041
  m.push({
@@ -2048,11 +2048,11 @@ const Cn = (t, e) => {
2048
2048
  }), m.length && e((T) => {
2049
2049
  m.forEach(({ taskId: A, project: w, field: E, value: P }) => {
2050
2050
  const S = T.find(
2051
- (L) => L.id === A && L.projectName === w
2051
+ (j) => j.id === A && j.projectName === w
2052
2052
  );
2053
- if (S && (Object.assign(S, { [E === "type" ? "taskType" : E]: P }), E === "assignees" && f.length > 0 && !P.some((L) => f.includes(L)))) {
2054
- const L = T.indexOf(S);
2055
- L !== -1 && T.splice(L, 1);
2053
+ if (S && (Object.assign(S, { [E === "type" ? "taskType" : E]: P }), E === "assignees" && f.length > 0 && !P.some((j) => f.includes(j)))) {
2054
+ const j = T.indexOf(S);
2055
+ j !== -1 && T.splice(j, 1);
2056
2056
  }
2057
2057
  });
2058
2058
  });
@@ -2131,8 +2131,8 @@ const Cn = (t, e) => {
2131
2131
  // get all users on all selected projects
2132
2132
  GetKanbanProjectUsers: {
2133
2133
  transformResponse: (t, e, { projects: s } = {}) => t.users.edges.map(({ node: n }) => {
2134
- const i = Mn(n.accessGroups);
2135
- let a = !n.isManager && !n.isAdmin ? Vn(i) : s;
2134
+ const i = Vn(n.accessGroups);
2135
+ let a = !n.isManager && !n.isAdmin ? Dn(i) : s;
2136
2136
  (typeof a == "string" || !a) && (a = []);
2137
2137
  const c = `/api/users/${n.name}/avatar`;
2138
2138
  return {
@@ -2148,7 +2148,7 @@ const Cn = (t, e) => {
2148
2148
  ] : [{ type: "user", id: "LIST" }]
2149
2149
  }
2150
2150
  }
2151
- }), { useGetKanbanQuery: ma, useGetKanbanProjectUsersQuery: va } = yt, Ie = yt.injectEndpoints({
2151
+ }), { useGetKanbanQuery: ba, useGetKanbanProjectUsersQuery: Ia } = yt, Ie = yt.injectEndpoints({
2152
2152
  endpoints: (t) => ({
2153
2153
  getProjectsInfo: t.query({
2154
2154
  async queryFn({ projects: e = [], anatomy: s = !0 }, { dispatch: n }) {
@@ -2170,13 +2170,13 @@ const Cn = (t, e) => {
2170
2170
  }
2171
2171
  return { data: i, meta: void 0, error: void 0 };
2172
2172
  } catch (i) {
2173
- return console.error(i), { error: j(i) };
2173
+ return console.error(i), { error: L(i) };
2174
2174
  }
2175
2175
  },
2176
2176
  providesTags: (e, s, { projects: n }) => n.map((i) => ({ type: "project", id: i }))
2177
2177
  })
2178
2178
  })
2179
- }), { useGetProjectsInfoQuery: ba } = Ie, Dn = (t, e) => {
2179
+ }), { useGetProjectsInfoQuery: Ta } = Ie, On = (t, e) => {
2180
2180
  const s = {
2181
2181
  name: t.name,
2182
2182
  attrib: t.attrib,
@@ -2227,7 +2227,7 @@ const Cn = (t, e) => {
2227
2227
  const s = t.find((c) => c.entityId === e.id), n = s?.data;
2228
2228
  if (!n || s.entityType === "product" || s.entityType === "workfile")
2229
2229
  return console.warn("No operation data found or entity type not supported");
2230
- const i = Dn(n, s.entityType);
2230
+ const i = On(n, s.entityType);
2231
2231
  if (s.entityType === "folder" && n.name && e.path) {
2232
2232
  const c = e.path.split("/");
2233
2233
  c[c.length - 1] = n.name, i.path = c.join("/");
@@ -2270,7 +2270,7 @@ const Cn = (t, e) => {
2270
2270
  for (const a of r)
2271
2271
  if (a.endpointName === "getEntitiesDetailsPanel") {
2272
2272
  const c = s(
2273
- ce.util.updateQueryData(
2273
+ de.util.updateQueryData(
2274
2274
  "getEntitiesDetailsPanel",
2275
2275
  a.originalArgs,
2276
2276
  (d) => {
@@ -2298,7 +2298,7 @@ const Cn = (t, e) => {
2298
2298
  }
2299
2299
  )
2300
2300
  ), c];
2301
- }, On = ({
2301
+ }, $n = ({
2302
2302
  operations: t,
2303
2303
  state: e,
2304
2304
  dispatch: s,
@@ -2359,12 +2359,12 @@ const Cn = (t, e) => {
2359
2359
  if (r === "task") {
2360
2360
  const p = d(), f = p.dashboard?.selectedProjects || [], y = p.dashboard?.tasks?.assignees || [], h = p.dashboard?.tasks?.assigneesFilter === "me", g = n.assignees, m = h ? p.user?.name ? [p.user.name] : [] : y, b = [.../* @__PURE__ */ new Set([...i, ...g || []])].some((S) => m.includes(S)), I = f.some((S) => S === e);
2361
2361
  if (b && I) {
2362
- const [S, L] = Ye(
2362
+ const [S, j] = Ye(
2363
2363
  { assignees: m, projects: f },
2364
2364
  { newAssignees: g, taskId: s, data: n },
2365
2365
  { dispatch: a }
2366
2366
  );
2367
- L && o.push(S), L || os({ projects: [e], taskIds: [s] }, a).then(
2367
+ j && o.push(S), j || os({ projects: [e], taskIds: [s] }, a).then(
2368
2368
  // use .then so that the rest of the code can run
2369
2369
  (_) => {
2370
2370
  let G = _.find((O) => O.id === s);
@@ -2378,9 +2378,9 @@ const Cn = (t, e) => {
2378
2378
  }
2379
2379
  const T = [{ type: "task", id: s }];
2380
2380
  if (g?.length) {
2381
- const S = new Set(i), L = new Set(g), _ = [...S].filter(
2382
- (C) => !L.has(C)
2383
- ), G = [...L].filter(
2381
+ const S = new Set(i), j = new Set(g), _ = [...S].filter(
2382
+ (C) => !j.has(C)
2383
+ ), G = [...j].filter(
2384
2384
  (C) => !S.has(C)
2385
2385
  ), $ = [.../* @__PURE__ */ new Set([..._, ...G])].map((C) => ({
2386
2386
  type: "kanban",
@@ -2398,7 +2398,7 @@ const Cn = (t, e) => {
2398
2398
  const A = Ie.util.selectInvalidatedBy(u, T).filter((S) => S.endpointName === "GetKanban");
2399
2399
  let w = [];
2400
2400
  for (const S of A) {
2401
- const [L, _] = Ye(
2401
+ const [j, _] = Ye(
2402
2402
  {
2403
2403
  assignees: S.originalArgs.assignees,
2404
2404
  projects: S.originalArgs.projects
@@ -2410,7 +2410,7 @@ const Cn = (t, e) => {
2410
2410
  },
2411
2411
  { dispatch: a }
2412
2412
  );
2413
- _ ? o.push(L) : w.push(S);
2413
+ _ ? o.push(j) : w.push(S);
2414
2414
  }
2415
2415
  const E = { projects: f, assignees: m };
2416
2416
  w = w.filter(
@@ -2447,7 +2447,7 @@ const Cn = (t, e) => {
2447
2447
  a.push(g);
2448
2448
  }
2449
2449
  let c = [];
2450
- (s === "task" || s === "folder") && (c = On({ operations: e, state: r, dispatch: n, entityType: s }));
2450
+ (s === "task" || s === "folder") && (c = $n({ operations: e, state: r, dispatch: n, entityType: s }));
2451
2451
  const d = [], u = e.map((p) => ({ ...p, entityId: p.id }));
2452
2452
  return (s === "task" || s === "folder") && (s === "task" && Ee(u, { state: r, dispatch: n }, d), s === "folder" && (qe(u, { state: r, dispatch: n }, d), console.log("invalidate overview folders"), n(me.util.invalidateTags([{ type: "folder", id: "LIST" }])), n(
2453
2453
  me.util.invalidateTags(
@@ -2457,9 +2457,9 @@ const Cn = (t, e) => {
2457
2457
  (p) => p.status === "rejected" || !!p.value.error
2458
2458
  ) ? (n(
2459
2459
  me.util.invalidateTags(e.map((p) => ({ type: "kanBanTask", id: p.id })))
2460
- ), c.forEach((p) => p?.undo()), d.forEach((p) => p?.undo()), { error: j("Failed to update some tasks", 400) }) : { data: e };
2460
+ ), c.forEach((p) => p?.undo()), d.forEach((p) => p?.undo()), { error: L("Failed to update some tasks", 400) }) : { data: e };
2461
2461
  } catch (r) {
2462
- return console.error(r), { error: j(r) };
2462
+ return console.error(r), { error: L(r) };
2463
2463
  }
2464
2464
  },
2465
2465
  invalidatesTags: (e, s, { operations: n, entityType: i }) => {
@@ -2473,7 +2473,7 @@ const Cn = (t, e) => {
2473
2473
  })
2474
2474
  }),
2475
2475
  overrideExisting: !0
2476
- }), { useUpdateEntitiesMutation: Ia, useUpdateEntityMutation: Ta } = us, Lt = (t) => [...new Set(t.map((e) => e.entityId).filter(Boolean))], $n = async ({
2476
+ }), { useUpdateEntitiesMutation: ka, useUpdateEntityMutation: Aa } = us, Lt = (t) => [...new Set(t.map((e) => e.entityId).filter(Boolean))], xn = async ({
2477
2477
  dispatch: t,
2478
2478
  projectName: e,
2479
2479
  updatedTaskIds: s,
@@ -2511,7 +2511,7 @@ const Cn = (t, e) => {
2511
2511
  } catch (i) {
2512
2512
  return console.error("Background entity refetch failed:", i), null;
2513
2513
  }
2514
- }, xn = async ({
2514
+ }, Un = async ({
2515
2515
  dispatch: t,
2516
2516
  projectName: e,
2517
2517
  updatedTaskIds: s,
@@ -2543,8 +2543,8 @@ const Cn = (t, e) => {
2543
2543
  } catch (i) {
2544
2544
  return console.error("Background overview tasks refetch failed:", i), null;
2545
2545
  }
2546
- }, ls = "version", Un = { type: ls, id: "LIST" }, ps = "product", gt = { type: ps, id: "LIST" }, Xe = {
2547
- version: { type: ls, list: Un },
2546
+ }, ls = "version", qn = { type: ls, id: "LIST" }, ps = "product", gt = { type: ps, id: "LIST" }, Xe = {
2547
+ version: { type: ls, list: qn },
2548
2548
  product: { type: ps, list: gt }
2549
2549
  }, W = (t, e) => t ? [
2550
2550
  ...t.map(
@@ -2557,26 +2557,26 @@ const Cn = (t, e) => {
2557
2557
  "product"
2558
2558
  );
2559
2559
  return [...e, ...s];
2560
- }, xe = (t) => t ? fs(t.versions) : W(void 0, "version"), qn = (t) => t ? fs(zn(t)) : W(void 0, "version"), Bn = (t) => {
2560
+ }, xe = (t) => t ? fs(t.versions) : W(void 0, "version"), Bn = (t) => t ? fs(Kn(t)) : W(void 0, "version"), Hn = (t) => {
2561
2561
  if (!t) return [gt, ...W(void 0, "product")];
2562
- const e = Kn(t), s = W(e, "product"), n = W(
2562
+ const e = Jn(t), s = W(e, "product"), n = W(
2563
2563
  e.map((i) => i.featuredVersion).filter((i) => !!i),
2564
2564
  "version"
2565
2565
  );
2566
2566
  return [...s, ...n];
2567
- }, Hn = (t) => {
2567
+ }, Wn = (t) => {
2568
2568
  if (!t) return [gt, ...W(void 0, "product")];
2569
2569
  const e = W(t.products, "product"), s = W(
2570
2570
  t.products.map((n) => n.featuredVersion).filter((n) => !!n),
2571
2571
  "version"
2572
2572
  );
2573
2573
  return [...e, ...s];
2574
- }, Wn = (t) => {
2574
+ }, zn = (t) => {
2575
2575
  const e = [];
2576
2576
  for (const { node: s } of t)
2577
2577
  Math.sign(s.version) !== -1 && e.push(s);
2578
2578
  return e;
2579
- }, zn = (t) => t ? t.pages.flatMap((e) => e.versions) : [], Kn = (t) => t ? t.pages.flatMap((e) => e.products) : [], ys = (t) => {
2579
+ }, Kn = (t) => t ? t.pages.flatMap((e) => e.versions) : [], Jn = (t) => t ? t.pages.flatMap((e) => e.products) : [], ys = (t) => {
2580
2580
  const e = R(t.allAttrib), s = t.task ? {
2581
2581
  ...t.task,
2582
2582
  attrib: R(t.task.allAttrib),
@@ -2596,9 +2596,9 @@ const Cn = (t, e) => {
2596
2596
  product: n
2597
2597
  };
2598
2598
  }, jt = (t) => {
2599
- const e = t.project.versions.pageInfo, n = Wn(t.project.versions.edges).map((i) => ys(i));
2599
+ const e = t.project.versions.pageInfo, n = zn(t.project.versions.edges).map((i) => ys(i));
2600
2600
  return { pageInfo: e, versions: n };
2601
- }, Jn = (t) => t.featuredVersion ? ys({
2601
+ }, Yn = (t) => t.featuredVersion ? ys({
2602
2602
  ...t.featuredVersion,
2603
2603
  product: {
2604
2604
  id: t.id,
@@ -2609,7 +2609,7 @@ const Cn = (t, e) => {
2609
2609
  allAttrib: t.folder.allAttrib
2610
2610
  }
2611
2611
  }
2612
- }) : null, Yn = (t) => {
2612
+ }) : null, Xn = (t) => {
2613
2613
  const e = t.project.products.pageInfo, s = t.project.products.edges.map((n) => {
2614
2614
  const i = n.node, r = R(i.allAttrib), a = {
2615
2615
  ...i.folder,
@@ -2623,7 +2623,7 @@ const Cn = (t, e) => {
2623
2623
  attrib: r,
2624
2624
  folder: a,
2625
2625
  versions: d,
2626
- featuredVersion: Jn(i)
2626
+ featuredVersion: Yn(i)
2627
2627
  };
2628
2628
  });
2629
2629
  return { pageInfo: e, products: s };
@@ -2650,7 +2650,7 @@ function gs(t, e, s, n) {
2650
2650
  }
2651
2651
  return t.length;
2652
2652
  }
2653
- function Xn(t, e, s, n, i, r) {
2653
+ function Zn(t, e, s, n, i, r) {
2654
2654
  for (const a of t) {
2655
2655
  const c = a[n], d = c.findIndex((u) => u.id === e);
2656
2656
  if (d !== -1) {
@@ -2681,7 +2681,7 @@ function Qe(t, e, s, n, i, r = !0) {
2681
2681
  const a = gs(t, e, n, i);
2682
2682
  return t.splice(a, 0, e), !0;
2683
2683
  }
2684
- function Zn(t, e, s, n, i) {
2684
+ function ei(t, e, s, n, i) {
2685
2685
  if (s)
2686
2686
  for (const r of t)
2687
2687
  Qe(r.versions, e, !0, n, i, !1);
@@ -2707,8 +2707,8 @@ const z = Q.enhanceEndpoints({
2707
2707
  },
2708
2708
  // used by getProductsInfinite only
2709
2709
  GetProducts: {
2710
- transformResponse: Yn,
2711
- providesTags: Hn,
2710
+ transformResponse: Xn,
2711
+ providesTags: Wn,
2712
2712
  keepUnusedDataFor: K
2713
2713
  },
2714
2714
  // footer stats: `targets` excluded from cache key + responses merged,
@@ -2730,7 +2730,7 @@ const z = Q.enhanceEndpoints({
2730
2730
  keepUnusedDataFor: K
2731
2731
  }
2732
2732
  }
2733
- }), ae = 250, _t = 1e3, ei = 10, ti = ["status", "tags"];
2733
+ }), ae = 250, _t = 1e3, ti = 10, si = ["status", "tags"];
2734
2734
  function Fe(t, e, s) {
2735
2735
  const i = U(
2736
2736
  async (a, c) => {
@@ -2749,7 +2749,7 @@ function Fe(t, e, s) {
2749
2749
  o.add(g);
2750
2750
  continue;
2751
2751
  }
2752
- const I = le(b, h.summary, ti);
2752
+ const I = pe(b, h.summary, si);
2753
2753
  if (!I) {
2754
2754
  l.add(g);
2755
2755
  continue;
@@ -2851,10 +2851,10 @@ const N = z.injectEndpoints({
2851
2851
  data: o.data || l
2852
2852
  };
2853
2853
  } catch (i) {
2854
- return console.error("Error in getVersionsInfiniteQuery queryFn:", i), { error: j(i) };
2854
+ return console.error("Error in getVersionsInfiniteQuery queryFn:", i), { error: L(i) };
2855
2855
  }
2856
2856
  },
2857
- providesTags: qn,
2857
+ providesTags: Bn,
2858
2858
  // Subscribes to version entity changes and updates cache accordingly
2859
2859
  // Handles: create, update, delete operations
2860
2860
  onCacheEntryAdded: async (e, { getCacheEntry: s, updateCachedData: n, cacheEntryRemoved: i, dispatch: r }) => {
@@ -2921,7 +2921,7 @@ const N = z.injectEndpoints({
2921
2921
  }
2922
2922
  if (p)
2923
2923
  for (const g of p)
2924
- Zn(
2924
+ ei(
2925
2925
  y.pages,
2926
2926
  g,
2927
2927
  e.latestPerFolder === !0 && f?.has(g.id) === !0,
@@ -2969,7 +2969,7 @@ const N = z.injectEndpoints({
2969
2969
  if (!h.data) continue;
2970
2970
  o.push(...h.data.versions);
2971
2971
  let g = h.data.pageInfo, m = 1;
2972
- for (; g && m < ei; ) {
2972
+ for (; g && m < ti; ) {
2973
2973
  const v = r ? g.hasPreviousPage : g.hasNextPage, b = g.endCursor;
2974
2974
  if (!v || !b) break;
2975
2975
  const I = await c(y, b);
@@ -3102,10 +3102,10 @@ const N = z.injectEndpoints({
3102
3102
  data: i.data || l
3103
3103
  };
3104
3104
  } catch (r) {
3105
- return console.error("Error in getProductsInfiniteQuery queryFn:", r), { error: j(r) };
3105
+ return console.error("Error in getProductsInfiniteQuery queryFn:", r), { error: L(r) };
3106
3106
  }
3107
3107
  },
3108
- providesTags: Bn,
3108
+ providesTags: Hn,
3109
3109
  // Subscribes to product entity changes and updates cache accordingly
3110
3110
  // Handles: create, update, delete operations
3111
3111
  // Often triggered together with version changes (new product + version)
@@ -3145,7 +3145,7 @@ const N = z.injectEndpoints({
3145
3145
  (g.data?.products || []).map((b) => [b.id, b])
3146
3146
  );
3147
3147
  f.forEach((b) => {
3148
- Xn(
3148
+ Zn(
3149
3149
  m.pages,
3150
3150
  b,
3151
3151
  v.get(b),
@@ -3292,7 +3292,7 @@ const N = z.injectEndpoints({
3292
3292
  }
3293
3293
  };
3294
3294
  } catch (v) {
3295
- return console.error("Error in getGroupedVersionsList queryFn:", v), { error: j(v) };
3295
+ return console.error("Error in getGroupedVersionsList queryFn:", v), { error: L(v) };
3296
3296
  }
3297
3297
  },
3298
3298
  providesTags: xe,
@@ -3367,14 +3367,14 @@ const N = z.injectEndpoints({
3367
3367
  })
3368
3368
  })
3369
3369
  }), {
3370
- useGetVersionsQuery: ka,
3371
- useGetProductsColumnStatsQuery: Aa,
3372
- useGetVersionsColumnStatsQuery: wa
3370
+ useGetVersionsQuery: wa,
3371
+ useGetProductsColumnStatsQuery: Ea,
3372
+ useGetVersionsColumnStatsQuery: Sa
3373
3373
  } = z, {
3374
- useGetVersionsInfiniteInfiniteQuery: Ea,
3375
- useGetVersionsByProductsQuery: Sa,
3376
- useGetProductsInfiniteInfiniteQuery: Pa,
3377
- useGetGroupedVersionsListQuery: La
3374
+ useGetVersionsInfiniteInfiniteQuery: Pa,
3375
+ useGetVersionsByProductsQuery: La,
3376
+ useGetProductsInfiniteInfiniteQuery: ja,
3377
+ useGetGroupedVersionsListQuery: Fa
3378
3378
  } = N, Rt = (t) => [
3379
3379
  { type: "version", id: "LIST" },
3380
3380
  ...t.map((e) => ({ type: "version", id: e.entityId }))
@@ -3405,7 +3405,7 @@ const N = z.injectEndpoints({
3405
3405
  const i = e.get(n.id);
3406
3406
  i && hs(n, i);
3407
3407
  });
3408
- }, si = (t, {
3408
+ }, ni = (t, {
3409
3409
  state: e,
3410
3410
  dispatch: s
3411
3411
  }, n) => {
@@ -3463,7 +3463,7 @@ const N = z.injectEndpoints({
3463
3463
  );
3464
3464
  n?.push(c);
3465
3465
  }
3466
- }, ni = (t, {
3466
+ }, ii = (t, {
3467
3467
  state: e,
3468
3468
  dispatch: s
3469
3469
  }, n) => {
@@ -3559,7 +3559,7 @@ const N = z.injectEndpoints({
3559
3559
  }, Nt = (t) => [
3560
3560
  { type: "product", id: "LIST" },
3561
3561
  ...t.map((e) => ({ type: "product", id: e.entityId }))
3562
- ], ii = (t, e) => {
3562
+ ], ri = (t, e) => {
3563
3563
  const s = { ...t };
3564
3564
  return Object.keys(e).forEach((n) => {
3565
3565
  n !== "attrib" && e[n] !== void 0 && (s[n] = e[n]);
@@ -3567,7 +3567,7 @@ const N = z.injectEndpoints({
3567
3567
  ...s.attrib,
3568
3568
  ...e.attrib
3569
3569
  }), s;
3570
- }, ri = (t, {
3570
+ }, ai = (t, {
3571
3571
  state: e,
3572
3572
  dispatch: s
3573
3573
  }, n) => {
@@ -3590,7 +3590,7 @@ const N = z.injectEndpoints({
3590
3590
  const y = p.products[f], h = t.find(
3591
3591
  (g) => g.entityId === y.id && g.type !== "delete"
3592
3592
  );
3593
- h?.data && (p.products[f] = ii(y, h.data));
3593
+ h?.data && (p.products[f] = ri(y, h.data));
3594
3594
  }
3595
3595
  }
3596
3596
  }
@@ -3642,7 +3642,7 @@ const N = z.injectEndpoints({
3642
3642
  t.links = t.links.filter((i) => i.id !== n);
3643
3643
  });
3644
3644
  }
3645
- }, ai = (t) => [
3645
+ }, oi = (t) => [
3646
3646
  { type: "overviewTask", id: "LIST" },
3647
3647
  ...t.map((e) => ({ type: "overviewTask", id: e.entityId })),
3648
3648
  // we also add the projectName so that tasks that do not exist in the cache can still invalidate
@@ -3650,21 +3650,21 @@ const N = z.injectEndpoints({
3650
3650
  type: "overviewTask",
3651
3651
  id: e.data?.projectName
3652
3652
  }))
3653
- ], oi = (t) => [
3653
+ ], ci = (t) => [
3654
3654
  ...t.map((e) => ({ type: "folder", id: e.entityId })),
3655
3655
  // we also add the projectName so that tasks that do not exist in the cache can still invalidate
3656
3656
  ...t.filter((e) => e.data?.projectName).map((e) => ({
3657
3657
  type: "folder",
3658
3658
  id: e.data?.projectName
3659
3659
  }))
3660
- ], ci = (t, e, s) => ({
3660
+ ], di = (t, e, s) => ({
3661
3661
  entityId: t,
3662
3662
  entityType: e,
3663
3663
  type: "update",
3664
3664
  data: { deleteLinks: s }
3665
- }), ja = (t, e) => t.map(
3666
- (s) => ci(s.entityId, s.entityType, e)
3667
- ), Fa = (t, {
3665
+ }), _a = (t, e) => t.map(
3666
+ (s) => di(s.entityId, s.entityType, e)
3667
+ ), Ra = (t, {
3668
3668
  state: e,
3669
3669
  dispatch: s
3670
3670
  }, n) => {
@@ -3674,7 +3674,7 @@ const N = z.injectEndpoints({
3674
3674
  state: e,
3675
3675
  dispatch: s
3676
3676
  }, n) => {
3677
- const i = ai(t), r = x.util.selectInvalidatedBy(e, i), a = new Set(
3677
+ const i = oi(t), r = x.util.selectInvalidatedBy(e, i), a = new Set(
3678
3678
  t.filter((d) => d.type === "delete" && d.entityId).map((d) => d.entityId)
3679
3679
  ), c = (d) => {
3680
3680
  for (let u = d.length - 1; u >= 0; u--)
@@ -3734,7 +3734,7 @@ const N = z.injectEndpoints({
3734
3734
  state: e,
3735
3735
  dispatch: s
3736
3736
  }, n) => {
3737
- const i = $e.util.selectInvalidatedBy(e, oi(t)).filter((a) => a.endpointName === "getFolderList"), r = new Set(
3737
+ const i = $e.util.selectInvalidatedBy(e, ci(t)).filter((a) => a.endpointName === "getFolderList"), r = new Set(
3738
3738
  t.filter((a) => a.type === "delete" && a.entityId).map((a) => a.entityId)
3739
3739
  );
3740
3740
  for (const a of i) {
@@ -3762,7 +3762,7 @@ const N = z.injectEndpoints({
3762
3762
  );
3763
3763
  n?.push(c);
3764
3764
  }
3765
- }, di = (t, {
3765
+ }, ui = (t, {
3766
3766
  state: e,
3767
3767
  dispatch: s
3768
3768
  }, n) => {
@@ -3802,21 +3802,21 @@ const N = z.injectEndpoints({
3802
3802
  endpoints: {
3803
3803
  operations: {}
3804
3804
  }
3805
- }), ui = Vt.injectEndpoints({
3805
+ }), li = Vt.injectEndpoints({
3806
3806
  endpoints: (t) => ({
3807
3807
  updateOverviewEntities: t.mutation({
3808
3808
  async queryFn(e, { dispatch: s }) {
3809
3809
  try {
3810
3810
  const n = await s(Vt.endpoints.operations.initiate(e));
3811
3811
  if (n.error)
3812
- return { error: j(n.error) };
3812
+ return { error: L(n.error) };
3813
3813
  const i = n.data, r = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set();
3814
3814
  for (const c of i?.operations || [])
3815
3815
  c.success === !1 && c.detail && (r.has(c.detail) || r.add(c.detail), a.has(c.errorCode) || a.add(c.errorCode));
3816
3816
  if (r.size > 0) {
3817
3817
  const c = Array.from(r).join(", ");
3818
3818
  return {
3819
- error: j({
3819
+ error: L({
3820
3820
  status: 400,
3821
3821
  data: {
3822
3822
  code: 400,
@@ -3828,7 +3828,7 @@ const N = z.injectEndpoints({
3828
3828
  } else
3829
3829
  return { data: i };
3830
3830
  } catch (n) {
3831
- return console.error(n), { error: j(n) };
3831
+ return console.error(n), { error: L(n) };
3832
3832
  }
3833
3833
  },
3834
3834
  async onQueryStarted({ operationsRequestModel: e, patchOperations: s = [], projectName: n }, { dispatch: i, queryFulfilled: r, getState: a }) {
@@ -3857,28 +3857,28 @@ const N = z.injectEndpoints({
3857
3857
  qe([...I, ...v], { state: u, dispatch: i }, o);
3858
3858
  }
3859
3859
  const l = s.filter((v) => v.entityType === "task"), p = s.filter((v) => v.entityType === "folder");
3860
- l.length && Ee(l, { state: u, dispatch: i }, o), p.length && qe(p, { state: u, dispatch: i }, o), si(
3860
+ l.length && Ee(l, { state: u, dispatch: i }, o), p.length && qe(p, { state: u, dispatch: i }, o), ni(
3861
3861
  [...c, ...s],
3862
3862
  { state: u, dispatch: i },
3863
3863
  o
3864
- ), di([...c, ...s], { state: u, dispatch: i }, o), d.version?.length && ni(d.version, { state: u, dispatch: i }, o), d.product?.length && ri(d.product, { state: u, dispatch: i }, o);
3864
+ ), ui([...c, ...s], { state: u, dispatch: i }, o), d.version?.length && ii(d.version, { state: u, dispatch: i }, o), d.product?.length && ai(d.product, { state: u, dispatch: i }, o);
3865
3865
  const f = c.map((v) => ({
3866
3866
  id: v.entityId,
3867
3867
  type: v.entityType
3868
3868
  })), y = f.map((v) => ({
3869
3869
  type: "entities",
3870
3870
  id: v.id
3871
- })), h = () => i(ce.util.invalidateTags(y)), g = ce.util.selectInvalidatedBy(
3871
+ })), h = () => i(de.util.invalidateTags(y)), g = de.util.selectInvalidatedBy(
3872
3872
  u,
3873
3873
  f
3874
- ), m = ce.util.selectInvalidatedBy(
3874
+ ), m = de.util.selectInvalidatedBy(
3875
3875
  u,
3876
3876
  y
3877
3877
  );
3878
3878
  for (const v of m) {
3879
3879
  if (v.endpointName !== "getEntitiesDetailsPanel") continue;
3880
3880
  const b = i(
3881
- ce.util.updateQueryData(
3881
+ de.util.updateQueryData(
3882
3882
  v.endpointName,
3883
3883
  v.originalArgs,
3884
3884
  (I) => {
@@ -3905,7 +3905,7 @@ const N = z.injectEndpoints({
3905
3905
  const T = Lt(v), A = Lt(b), w = T.map((P) => ({ type: "overviewTask", id: P })), E = x.util.selectInvalidatedBy(u, w).filter((P) => P.endpointName === "getTasksListInfinite");
3906
3906
  if (T.length > 0 && n) {
3907
3907
  for (const S of E)
3908
- await $n({
3908
+ await xn({
3909
3909
  dispatch: i,
3910
3910
  projectName: n,
3911
3911
  updatedTaskIds: T,
@@ -3913,7 +3913,7 @@ const N = z.injectEndpoints({
3913
3913
  });
3914
3914
  const P = x.util.selectInvalidatedBy(u, w).filter((S) => S.endpointName === "getOverviewTasksByFolders");
3915
3915
  for (const S of P)
3916
- await xn({
3916
+ await Un({
3917
3917
  dispatch: i,
3918
3918
  projectName: n,
3919
3919
  updatedTaskIds: T,
@@ -3952,7 +3952,7 @@ const N = z.injectEndpoints({
3952
3952
  }
3953
3953
  })
3954
3954
  })
3955
- }), { useUpdateOverviewEntitiesMutation: _a } = ui, Dt = (t) => {
3955
+ }), { useUpdateOverviewEntitiesMutation: Ga } = li, Dt = (t) => {
3956
3956
  if (t)
3957
3957
  return t.label;
3958
3958
  }, Ot = {
@@ -3969,7 +3969,7 @@ const N = z.injectEndpoints({
3969
3969
  version: "versions",
3970
3970
  representation: "representations",
3971
3971
  workfile: "workfiles"
3972
- }, ue = pt.injectEndpoints({
3972
+ }, le = pt.injectEndpoints({
3973
3973
  endpoints: (t) => ({
3974
3974
  getEntityLinks: t.query({
3975
3975
  queryFn: async ({ projectName: e, entityIds: s, entityType: n }, { getState: i, dispatch: r, queryCacheKey: a, forced: c }) => {
@@ -4015,7 +4015,7 @@ const N = z.injectEndpoints({
4015
4015
  };
4016
4016
  }) || [] };
4017
4017
  } catch (d) {
4018
- return console.error(`Error in getEntityLinks queryFn for ${n}:`, d), es.error(`Error fetching ${n} links`), { error: j(d) };
4018
+ return console.error(`Error in getEntityLinks queryFn for ${n}:`, d), es.error(`Error fetching ${n} links`), { error: L(d) };
4019
4019
  }
4020
4020
  },
4021
4021
  // 2. We should not create new caches when the entityIds argument changes.
@@ -4104,7 +4104,7 @@ const N = z.injectEndpoints({
4104
4104
  }
4105
4105
  })
4106
4106
  })
4107
- }), { useGetEntityLinksQuery: Ra } = ue, ne = 10, xt = (t) => {
4107
+ }), { useGetEntityLinksQuery: Ca } = le, ne = 10, xt = (t) => {
4108
4108
  if (!t) return {};
4109
4109
  try {
4110
4110
  return typeof t != "string" ? t ?? {} : JSON.parse(t);
@@ -4173,7 +4173,7 @@ const N = z.injectEndpoints({
4173
4173
  }, a = await n.dispatch(
4174
4174
  Re.endpoints.GetLists.initiate(r, { forceRefetch: !0 })
4175
4175
  );
4176
- return a.error ? { error: j(a.error) } : {
4176
+ return a.error ? { error: L(a.error) } : {
4177
4177
  data: a.data || {
4178
4178
  lists: [],
4179
4179
  pageInfo: {
@@ -4185,7 +4185,7 @@ const N = z.injectEndpoints({
4185
4185
  }
4186
4186
  };
4187
4187
  } catch (i) {
4188
- return console.error("Error in getListsInfinite queryFn:", i), { error: j(i) };
4188
+ return console.error("Error in getListsInfinite queryFn:", i), { error: L(i) };
4189
4189
  }
4190
4190
  },
4191
4191
  providesTags: (e) => {
@@ -4283,7 +4283,7 @@ const N = z.injectEndpoints({
4283
4283
  forceRefetch: !0
4284
4284
  })
4285
4285
  );
4286
- return u.error ? { error: j(u.error) } : {
4286
+ return u.error ? { error: L(u.error) } : {
4287
4287
  data: u.data || {
4288
4288
  items: [],
4289
4289
  pageInfo: {
@@ -4295,7 +4295,7 @@ const N = z.injectEndpoints({
4295
4295
  }
4296
4296
  };
4297
4297
  } catch (i) {
4298
- return console.error("Error in getListsInfinite queryFn:", i), { error: j(i) };
4298
+ return console.error("Error in getListsInfinite queryFn:", i), { error: L(i) };
4299
4299
  }
4300
4300
  },
4301
4301
  providesTags: (e, s, { listId: n, projectName: i }) => [
@@ -4377,7 +4377,7 @@ const N = z.injectEndpoints({
4377
4377
  forceRefetch: !0
4378
4378
  })
4379
4379
  );
4380
- return a.error ? { error: j(a.error) } : {
4380
+ return a.error ? { error: L(a.error) } : {
4381
4381
  data: a.data || {
4382
4382
  lists: [],
4383
4383
  pageInfo: {
@@ -4389,7 +4389,7 @@ const N = z.injectEndpoints({
4389
4389
  }
4390
4390
  };
4391
4391
  } catch (i) {
4392
- return console.error("Error in getListsInfinite queryFn:", i), { error: j(i) };
4392
+ return console.error("Error in getListsInfinite queryFn:", i), { error: L(i) };
4393
4393
  }
4394
4394
  },
4395
4395
  providesTags: (e) => [
@@ -4402,7 +4402,7 @@ const N = z.injectEndpoints({
4402
4402
  keepUnusedDataFor: ne
4403
4403
  })
4404
4404
  })
4405
- }), li = de.enhanceEndpoints({
4405
+ }), pi = ue.enhanceEndpoints({
4406
4406
  endpoints: {
4407
4407
  getEntityList: {
4408
4408
  providesTags: (t, e, { listId: s, projectName: n }) => [
@@ -4420,12 +4420,12 @@ const N = z.injectEndpoints({
4420
4420
  }
4421
4421
  }
4422
4422
  }), {
4423
- useGetListsInfiniteInfiniteQuery: Ga,
4424
- useGetListItemsInfiniteInfiniteQuery: Ca,
4425
- useGetListsItemsForReviewSessionInfiniteQuery: Na,
4426
- useLazyGetListsItemsForReviewSessionQuery: Qa,
4427
- useLazyGetListItemsQuery: Ma
4428
- } = q, { useGetEntityListQuery: Va } = li, pi = de.enhanceEndpoints({
4423
+ useGetListsInfiniteInfiniteQuery: Na,
4424
+ useGetListItemsInfiniteInfiniteQuery: Qa,
4425
+ useGetListsItemsForReviewSessionInfiniteQuery: Ma,
4426
+ useLazyGetListsItemsForReviewSessionQuery: Va,
4427
+ useLazyGetListItemsQuery: Da
4428
+ } = q, { useGetEntityListQuery: Oa } = pi, fi = ue.enhanceEndpoints({
4429
4429
  endpoints: {
4430
4430
  // LIST MUTATIONS
4431
4431
  createEntityList: {
@@ -4450,10 +4450,10 @@ const N = z.injectEndpoints({
4450
4450
  );
4451
4451
  d.push(l);
4452
4452
  }
4453
- const u = de.util.selectInvalidatedBy(r, a).filter((o) => o.endpointName === "getEntityList" && o.originalArgs.listId === t);
4453
+ const u = ue.util.selectInvalidatedBy(r, a).filter((o) => o.endpointName === "getEntityList" && o.originalArgs.listId === t);
4454
4454
  for (const o of u) {
4455
4455
  const l = s(
4456
- de.util.updateQueryData("getEntityList", o.originalArgs, (p) => {
4456
+ ue.util.updateQueryData("getEntityList", o.originalArgs, (p) => {
4457
4457
  Object.assign(p, {
4458
4458
  ...p,
4459
4459
  ...e
@@ -4608,7 +4608,7 @@ const N = z.injectEndpoints({
4608
4608
  ]
4609
4609
  }
4610
4610
  }
4611
- }), fi = pi.injectEndpoints({
4611
+ }), yi = fi.injectEndpoints({
4612
4612
  endpoints: (t) => ({
4613
4613
  createSessionFromList: t.mutation({
4614
4614
  query: (e) => ({
@@ -4621,21 +4621,21 @@ const N = z.injectEndpoints({
4621
4621
  })
4622
4622
  }), {
4623
4623
  // LIST MUTATIONS
4624
- useCreateEntityListMutation: Da,
4625
- useUpdateEntityListMutation: Oa,
4626
- useDeleteEntityListMutation: $a,
4624
+ useCreateEntityListMutation: $a,
4625
+ useUpdateEntityListMutation: xa,
4626
+ useDeleteEntityListMutation: Ua,
4627
4627
  // LIST ITEM MUTATIONS
4628
- useUpdateEntityListItemsMutation: xa,
4629
- useUpdateEntityListItemMutation: Ua,
4630
- useCreateEntityListItemMutation: qa,
4631
- useDeleteEntityListItemMutation: Ba,
4628
+ useUpdateEntityListItemsMutation: qa,
4629
+ useUpdateEntityListItemMutation: Ba,
4630
+ useCreateEntityListItemMutation: Ha,
4631
+ useDeleteEntityListItemMutation: Wa,
4632
4632
  // REVIEW SESSION MUTATIONS
4633
- useCreateSessionFromListMutation: Ha
4634
- } = fi, qt = 5, Te = (t) => (t || "").replace(/-/g, ""), yi = (t, e, s) => {
4633
+ useCreateSessionFromListMutation: za
4634
+ } = yi, qt = 5, Te = (t) => (t || "").replace(/-/g, ""), gi = (t, e, s) => {
4635
4635
  Array.isArray(t.latestComments) || (t.latestComments = []);
4636
4636
  const n = t.latestComments, i = Te(e.activityId), r = n.findIndex((a) => Te(a.activityId) === i);
4637
4637
  s === "delete" ? r !== -1 && n.splice(r, 1) : s === "update" ? r !== -1 && (n[r].body = e.body) : (r !== -1 && n.splice(r, 1), n.unshift(e), n.length > qt && n.splice(qt));
4638
- }, gi = [
4638
+ }, hi = [
4639
4639
  {
4640
4640
  api: x,
4641
4641
  tag: "overviewTask",
@@ -4662,7 +4662,7 @@ const N = z.injectEndpoints({
4662
4662
  getProductsInfinite: (t) => (t?.pages?.flatMap((e) => e.products ?? []) ?? []).map((e) => e.featuredVersion).filter(Boolean)
4663
4663
  }
4664
4664
  }
4665
- ], hi = (t, { dispatch: e, getState: s }, n) => {
4665
+ ], mi = (t, { dispatch: e, getState: s }, n) => {
4666
4666
  const { patch: i } = t, r = t.entityId ?? i?.entityId, a = i?.activityId ?? t.activityId;
4667
4667
  if (!r || !a) return [];
4668
4668
  if (n === "create" && !(i?.activityType === "comment" && i?.referenceType === "origin"))
@@ -4675,7 +4675,7 @@ const N = z.injectEndpoints({
4675
4675
  author: i?.authorName ?? null,
4676
4676
  createdAt: i?.createdAt ?? ""
4677
4677
  }, d = s(), u = Te(r), o = [];
4678
- for (const { api: l, tag: p, selectors: f } of gi) {
4678
+ for (const { api: l, tag: p, selectors: f } of hi) {
4679
4679
  const y = l.util.selectInvalidatedBy(d, [{ type: p, id: r }]);
4680
4680
  for (const { endpointName: h, originalArgs: g } of y) {
4681
4681
  const m = f[h];
@@ -4683,14 +4683,14 @@ const N = z.injectEndpoints({
4683
4683
  e(
4684
4684
  l.util.updateQueryData(h, g, (v) => {
4685
4685
  for (const b of m(v))
4686
- (Te(b?.id) === u || Te(b?.entityId) === u) && yi(b, c, n);
4686
+ (Te(b?.id) === u || Te(b?.entityId) === u) && gi(b, c, n);
4687
4687
  })
4688
4688
  )
4689
4689
  );
4690
4690
  }
4691
4691
  }
4692
4692
  return o;
4693
- }, mi = (t) => t ? t.includes("* [ ]") || t.includes("* [x]") : !1, vi = async (t, {
4693
+ }, vi = (t) => t ? t.includes("* [ ]") || t.includes("* [x]") : !1, bi = async (t, {
4694
4694
  updateCachedData: e,
4695
4695
  cacheDataLoaded: s,
4696
4696
  cacheEntryRemoved: n,
@@ -4741,8 +4741,8 @@ const N = z.injectEndpoints({
4741
4741
  );
4742
4742
  e((E) => {
4743
4743
  w.forEach((P, S) => {
4744
- const L = [P.activityType];
4745
- if (P.activityType === "comment" && mi(P.body || "") && L.push("checklist"), h.length > 0 && !h.some(($) => L.includes($)))
4744
+ const j = [P.activityType];
4745
+ if (P.activityType === "comment" && vi(P.body || "") && j.push("checklist"), h.length > 0 && !h.some(($) => j.includes($)))
4746
4746
  return;
4747
4747
  let _ = !1;
4748
4748
  if (E.pages?.forEach(($) => {
@@ -4812,7 +4812,7 @@ const N = z.injectEndpoints({
4812
4812
  transformResponse: (t) => mt(t.project.activities.edges, t.project.activities.pageInfo)
4813
4813
  },
4814
4814
  GetEntitiesChecklists: {
4815
- transformResponse: (t) => an(t),
4815
+ transformResponse: (t) => on(t),
4816
4816
  providesTags: (t, e, { entityIds: s }) => t ? [
4817
4817
  { type: "activity", id: "LIST" },
4818
4818
  ...t.ids.map((n) => ({ type: "activity", id: "checklist-" + n })),
@@ -4827,7 +4827,7 @@ const N = z.injectEndpoints({
4827
4827
  providesTags: (t) => t?.length ? [{ type: "user", id: "LIST" }, ...t.map(({ name: e }) => ({ type: "user", id: e }))] : [{ type: "user", id: "LIST" }]
4828
4828
  }
4829
4829
  }
4830
- }), Bt = 30, fe = tt.injectEndpoints({
4830
+ }), Bt = 30, ye = tt.injectEndpoints({
4831
4831
  endpoints: (t) => ({
4832
4832
  getActivitiesInfinite: t.infiniteQuery({
4833
4833
  infiniteQueryOptions: {
@@ -4867,11 +4867,11 @@ const N = z.injectEndpoints({
4867
4867
  data: c.data || d
4868
4868
  };
4869
4869
  } catch (i) {
4870
- return console.error("Error in getActivitiesInfinite queryFn:", i), { error: j(i) };
4870
+ return console.error("Error in getActivitiesInfinite queryFn:", i), { error: L(i) };
4871
4871
  }
4872
4872
  },
4873
4873
  async onCacheEntryAdded(e, { updateCachedData: s, cacheDataLoaded: n, cacheEntryRemoved: i, dispatch: r, getCacheEntry: a }) {
4874
- await vi(e, {
4874
+ await bi(e, {
4875
4875
  updateCachedData: s,
4876
4876
  cacheDataLoaded: n,
4877
4877
  cacheEntryRemoved: i,
@@ -4888,23 +4888,24 @@ const N = z.injectEndpoints({
4888
4888
  url: "/graphql",
4889
4889
  method: "POST",
4890
4890
  body: {
4891
- query: dn(n),
4891
+ query: un(n),
4892
4892
  variables: { projectName: e, entityId: s }
4893
4893
  }
4894
4894
  }),
4895
- transformResponse: (e, s, { entityType: n }) => rn(e?.data?.project, n),
4896
- providesTags: (e, s, { entityType: n }) => on([e], "task", n)
4895
+ transformResponse: (e, s, { entityType: n }) => an(e?.data?.project, n),
4896
+ providesTags: (e, s, { entityType: n }) => cn([e], "task", n)
4897
4897
  })
4898
4898
  }),
4899
4899
  overrideExisting: !0
4900
4900
  }), {
4901
- useGetEntityTooltipQuery: Wa,
4902
- useLazyGetActivitiesByIdQuery: za,
4903
- useGetEntitiesChecklistsQuery: Ka,
4904
- useGetActivitiesQuery: Ja,
4905
- useGetActivitiesInfiniteInfiniteQuery: Ya,
4906
- useGetActivityUsersQuery: Xa
4907
- } = fe, bi = (t, e, s) => {
4901
+ useGetEntityTooltipQuery: Ka,
4902
+ useGetActivitiesByIdQuery: Ja,
4903
+ useLazyGetActivitiesByIdQuery: Ya,
4904
+ useGetEntitiesChecklistsQuery: Xa,
4905
+ useGetActivitiesQuery: Za,
4906
+ useGetActivitiesInfiniteInfiniteQuery: eo,
4907
+ useGetActivityUsersQuery: to
4908
+ } = ye, Ii = (t, e, s) => {
4908
4909
  if (s)
4909
4910
  for (const n of t.pages) {
4910
4911
  const i = n.activities.findIndex((r) => r.activityId === e.activityId);
@@ -4924,23 +4925,23 @@ const N = z.injectEndpoints({
4924
4925
  }
4925
4926
  !n && t.pages.length > 0 && t.pages[0].activities.unshift(e);
4926
4927
  }
4927
- }, Ii = (t) => t == null ? "" : typeof t == "string" ? t : JSON.stringify(t), st = async ({ patch: t, entityIds: e = [], filter: s, refs: n = [], ...i }, r, a) => {
4928
+ }, Ti = (t) => t == null ? "" : typeof t == "string" ? t : JSON.stringify(t), st = async ({ patch: t, entityIds: e = [], filter: s, refs: n = [], ...i }, r, a) => {
4928
4929
  const { dispatch: c, queryFulfilled: d, getState: u } = r, o = n.map((g) => g.id) || [];
4929
- Ii(s);
4930
+ Ti(s);
4930
4931
  const l = [...e, ...o].map((g) => ({
4931
4932
  type: "entityActivities",
4932
4933
  id: g + "-" + ss(s)
4933
- })), p = u(), f = fe.util.selectInvalidatedBy(p, l);
4934
+ })), p = u(), f = ye.util.selectInvalidatedBy(p, l);
4934
4935
  a !== "delete" && t.data && (t.activityData = { ...t.activityData, ...t.data });
4935
4936
  const y = f.map(
4936
4937
  ({ originalArgs: g }) => c(
4937
- fe.util.updateQueryData(
4938
+ ye.util.updateQueryData(
4938
4939
  "getActivitiesInfinite",
4939
4940
  g,
4940
- (m) => bi(m, t, a === "delete")
4941
+ (m) => Ii(m, t, a === "delete")
4941
4942
  )
4942
4943
  )
4943
- ), h = hi(
4944
+ ), h = mi(
4944
4945
  { patch: t, ...i },
4945
4946
  r,
4946
4947
  a
@@ -4957,7 +4958,7 @@ const N = z.injectEndpoints({
4957
4958
  id: t + "-" + i
4958
4959
  }));
4959
4960
  return n.push({ type: "activity", id: "LIST" }), n.push({ type: "watchers", id: t }), n;
4960
- }, Ti = fe.injectEndpoints({
4961
+ }, ki = ye.injectEndpoints({
4961
4962
  endpoints: (t) => ({
4962
4963
  createEntityActivity: t.mutation({
4963
4964
  query: ({ projectName: e, entityType: s, entityId: n, data: i = {} }) => ({
@@ -4998,14 +4999,14 @@ const N = z.injectEndpoints({
4998
4999
  }),
4999
5000
  overrideExisting: !0
5000
5001
  }), {
5001
- useCreateEntityActivityMutation: Za,
5002
- useDeleteActivityMutation: eo,
5003
- useUpdateActivityMutation: to
5004
- } = Ti, Ht = ({ activityId: t, userName: e, reaction: s }, { getState: n, dispatch: i }, r) => {
5002
+ useCreateEntityActivityMutation: so,
5003
+ useDeleteActivityMutation: no,
5004
+ useUpdateActivityMutation: io
5005
+ } = ki, Ht = ({ activityId: t, userName: e, reaction: s }, { getState: n, dispatch: i }, r) => {
5005
5006
  const a = [{ type: "activity", id: t }];
5006
- return fe.util.selectInvalidatedBy(n(), a).map((d) => i(
5007
+ return ye.util.selectInvalidatedBy(n(), a).map((d) => i(
5007
5008
  // @ts-ignore
5008
- fe.util.updateQueryData(
5009
+ ye.util.updateQueryData(
5009
5010
  "getActivitiesInfinite",
5010
5011
  d.originalArgs,
5011
5012
  (u) => {
@@ -5039,7 +5040,7 @@ const N = z.injectEndpoints({
5039
5040
  }
5040
5041
  )
5041
5042
  ));
5042
- }, ki = Pe.enhanceEndpoints({
5043
+ }, Ai = Pe.enhanceEndpoints({
5043
5044
  endpoints: {
5044
5045
  createReactionToActivity: {
5045
5046
  async onQueryStarted(t, { getState: e, dispatch: s, queryFulfilled: n }) {
@@ -5078,23 +5079,23 @@ const N = z.injectEndpoints({
5078
5079
  }
5079
5080
  }
5080
5081
  }
5081
- }), { useCreateReactionToActivityMutation: so, useDeleteReactionToActivityMutation: no } = ki, Wt = Pe.enhanceEndpoints({
5082
+ }), { useCreateReactionToActivityMutation: ro, useDeleteReactionToActivityMutation: ao } = Ai, Wt = Pe.enhanceEndpoints({
5082
5083
  endpoints: {
5083
5084
  suggestEntityMention: {}
5084
5085
  }
5085
- }), Ai = Wt.injectEndpoints({
5086
+ }), wi = Wt.injectEndpoints({
5086
5087
  endpoints: (t) => ({
5087
5088
  getEntityMentions: t.query({
5088
5089
  queryFn: async (e, { dispatch: s }) => {
5089
5090
  const n = await s(
5090
5091
  Wt.endpoints.suggestEntityMention.initiate(e)
5091
5092
  );
5092
- return n.error ? { error: j(n.error) } : { data: n.data };
5093
+ return n.error ? { error: L(n.error) } : { data: n.data };
5093
5094
  },
5094
5095
  providesTags: [{ type: "team", id: "LIST" }]
5095
5096
  })
5096
5097
  })
5097
- }), { useGetEntityMentionsQuery: io } = Ai, ot = { type: "category", id: "LIST" }, ct = { type: "addonSettings", id: "powerpack" }, dt = Pe.enhanceEndpoints({
5098
+ }), { useGetEntityMentionsQuery: oo } = wi, ot = { type: "category", id: "LIST" }, ct = { type: "addonSettings", id: "powerpack" }, dt = Pe.enhanceEndpoints({
5098
5099
  endpoints: {
5099
5100
  getActivityCategories: {
5100
5101
  transformResponse: (t) => t.categories,
@@ -5105,7 +5106,7 @@ const N = z.injectEndpoints({
5105
5106
  ] : [ot, ct]
5106
5107
  }
5107
5108
  }
5108
- }), wi = dt.injectEndpoints({
5109
+ }), Ei = dt.injectEndpoints({
5109
5110
  endpoints: (t) => ({
5110
5111
  getProjectsCategories: t.query({
5111
5112
  async queryFn({ projects: e = [] }, { dispatch: s }) {
@@ -5126,13 +5127,13 @@ const N = z.injectEndpoints({
5126
5127
  providesTags: [ot, ct]
5127
5128
  })
5128
5129
  })
5129
- }), { useGetActivityCategoriesQuery: ro } = dt, { useGetProjectsCategoriesQuery: ao } = wi, ms = js.enhanceEndpoints({
5130
+ }), { useGetActivityCategoriesQuery: co } = dt, { useGetProjectsCategoriesQuery: uo } = Ei, ms = js.enhanceEndpoints({
5130
5131
  endpoints: {
5131
5132
  listAddons: {
5132
5133
  providesTags: ["addonList"]
5133
5134
  }
5134
5135
  }
5135
- }), { useListAddonsQuery: oo } = ms, vs = ms.injectEndpoints({
5136
+ }), { useListAddonsQuery: lo } = ms, vs = ms.injectEndpoints({
5136
5137
  endpoints: (t) => ({
5137
5138
  // Return a list of addons which have project-scoped frontend
5138
5139
  getProjectAddons: t.query({
@@ -5205,7 +5206,7 @@ const N = z.injectEndpoints({
5205
5206
  })
5206
5207
  }),
5207
5208
  overrideExisting: !0
5208
- }), { useGetProjectAddonsQuery: co, useGetSettingsAddonsQuery: uo, useGetDashboardAddonsQuery: lo } = vs, it = vs.enhanceEndpoints({
5209
+ }), { useGetProjectAddonsQuery: po, useGetSettingsAddonsQuery: fo, useGetDashboardAddonsQuery: yo } = vs, it = vs.enhanceEndpoints({
5209
5210
  endpoints: {
5210
5211
  deleteAddonVersion: {
5211
5212
  invalidatesTags: ["addonList"]
@@ -5239,7 +5240,7 @@ const N = z.injectEndpoints({
5239
5240
  try {
5240
5241
  return await Promise.all(n), { data: void 0 };
5241
5242
  } catch (i) {
5242
- return { error: j(i) };
5243
+ return { error: L(i) };
5243
5244
  }
5244
5245
  }
5245
5246
  }),
@@ -5261,7 +5262,7 @@ const N = z.injectEndpoints({
5261
5262
  return { data: (await Promise.allSettled(i)).filter((c) => c.status === "fulfilled").flatMap((c) => c.value.data?.eventId ? [c.value.data.eventId] : []) };
5262
5263
  } catch (r) {
5263
5264
  return {
5264
- error: j(r)
5265
+ error: L(r)
5265
5266
  };
5266
5267
  }
5267
5268
  }
@@ -5269,7 +5270,7 @@ const N = z.injectEndpoints({
5269
5270
  }),
5270
5271
  // endpoints
5271
5272
  overrideExisting: !0
5272
- }), { useDeleteAddonVersionsMutation: po, useDownloadAddonsMutation: fo } = bs, Is = Fs.enhanceEndpoints({
5273
+ }), { useDeleteAddonVersionsMutation: go, useDownloadAddonsMutation: ho } = bs, Is = Fs.enhanceEndpoints({
5273
5274
  endpoints: {
5274
5275
  getAttributeList: {
5275
5276
  transformResponse: (t) => t.attributes || [],
@@ -5282,7 +5283,7 @@ const N = z.injectEndpoints({
5282
5283
  ]
5283
5284
  }
5284
5285
  }
5285
- }), { useGetAttributeListQuery: yo, useGetAttributeConfigQuery: go } = Is, Ei = Is.enhanceEndpoints({
5286
+ }), { useGetAttributeListQuery: mo, useGetAttributeConfigQuery: vo } = Is, Si = Is.enhanceEndpoints({
5286
5287
  endpoints: {
5287
5288
  setAttributeList: {
5288
5289
  invalidatesTags: ["attribute"]
@@ -5294,21 +5295,21 @@ const N = z.injectEndpoints({
5294
5295
  invalidatesTags: (t, e, { attributeName: s }) => [{ type: "attribute", id: s }]
5295
5296
  }
5296
5297
  }
5297
- }), { useSetAttributeListMutation: ho, usePatchAttributeConfigMutation: mo } = Ei, Si = _s.enhanceEndpoints({
5298
+ }), { useSetAttributeListMutation: bo, usePatchAttributeConfigMutation: Io } = Si, Pi = _s.enhanceEndpoints({
5298
5299
  endpoints: {
5299
5300
  createSession: {},
5300
5301
  getUserPools: {
5301
5302
  providesTags: [{ type: "userPool", id: "LIST" }]
5302
5303
  }
5303
5304
  }
5304
- }), { useCreateSessionMutation: vo, useGetUserPoolsQuery: bo } = Si, ut = Rs.enhanceEndpoints({
5305
+ }), { useCreateSessionMutation: To, useGetUserPoolsQuery: ko } = Pi, ut = Rs.enhanceEndpoints({
5305
5306
  endpoints: {
5306
5307
  listBundles: {
5307
5308
  providesTags: () => [{ type: "bundleList" }]
5308
5309
  },
5309
5310
  checkBundleCompatibility: {}
5310
5311
  }
5311
- }), Pi = Se.enhanceEndpoints({
5312
+ }), Li = Se.enhanceEndpoints({
5312
5313
  endpoints: {
5313
5314
  getProjectBundleInfo: {
5314
5315
  providesTags: (t, e, { projectName: s }) => [
@@ -5317,7 +5318,7 @@ const N = z.injectEndpoints({
5317
5318
  ]
5318
5319
  }
5319
5320
  }
5320
- }), { useListBundlesQuery: Io, useLazyListBundlesQuery: To, useCheckBundleCompatibilityQuery: ko } = ut, { useGetProjectBundleInfoQuery: Ao } = Pi, Li = ut.enhanceEndpoints({
5321
+ }), { useListBundlesQuery: Ao, useLazyListBundlesQuery: wo, useCheckBundleCompatibilityQuery: Eo } = ut, { useGetProjectBundleInfoQuery: So } = Li, ji = ut.enhanceEndpoints({
5321
5322
  endpoints: {
5322
5323
  migrateSettingsByBundle: {
5323
5324
  invalidatesTags: () => [
@@ -5352,7 +5353,7 @@ const N = z.injectEndpoints({
5352
5353
  ]
5353
5354
  }
5354
5355
  }
5355
- }), ji = Se.enhanceEndpoints({
5356
+ }), Fi = Se.enhanceEndpoints({
5356
5357
  endpoints: {
5357
5358
  unsetProjectBundle: {
5358
5359
  invalidatesTags: (t, e, { projectName: s }) => [
@@ -5365,7 +5366,7 @@ const N = z.injectEndpoints({
5365
5366
  ]
5366
5367
  }
5367
5368
  }
5368
- }), Fi = Li.injectEndpoints({
5369
+ }), _i = ji.injectEndpoints({
5369
5370
  endpoints: (t) => ({
5370
5371
  deleteBundle: t.mutation({
5371
5372
  query: ({ name: e }) => ({
@@ -5419,12 +5420,12 @@ const N = z.injectEndpoints({
5419
5420
  // endpoints
5420
5421
  overrideExisting: !0
5421
5422
  }), {
5422
- useDeleteBundleMutation: wo,
5423
- useCreateBundleMutation: Eo,
5424
- usePromoteBundleMutation: So,
5425
- useMigrateSettingsByBundleMutation: Po,
5426
- useUpdateBundleMutation: Lo
5427
- } = Fi, { useUnsetProjectBundleMutation: jo } = ji, _i = Gs.enhanceEndpoints({
5423
+ useDeleteBundleMutation: Po,
5424
+ useCreateBundleMutation: Lo,
5425
+ usePromoteBundleMutation: jo,
5426
+ useMigrateSettingsByBundleMutation: Fo,
5427
+ useUpdateBundleMutation: _o
5428
+ } = _i, { useUnsetProjectBundleMutation: Ro } = Fi, Ri = Gs.enhanceEndpoints({
5428
5429
  endpoints: {
5429
5430
  getYnputCloudInfo: {
5430
5431
  providesTags: ["connections"]
@@ -5440,11 +5441,11 @@ const N = z.injectEndpoints({
5440
5441
  }
5441
5442
  }
5442
5443
  }), {
5443
- useGetYnputCloudInfoQuery: Fo,
5444
- useSetYnputCloudKeyMutation: _o,
5445
- useDeleteYnputCloudKeyMutation: Ro,
5446
- useGetFeedbackVerificationQuery: Go
5447
- } = _i, Ts = Cs.enhanceEndpoints({
5444
+ useGetYnputCloudInfoQuery: Go,
5445
+ useSetYnputCloudKeyMutation: Co,
5446
+ useDeleteYnputCloudKeyMutation: No,
5447
+ useGetFeedbackVerificationQuery: Qo
5448
+ } = Ri, Ts = Cs.enhanceEndpoints({
5448
5449
  endpoints: {
5449
5450
  getServerConfig: {
5450
5451
  providesTags: ["config"]
@@ -5458,17 +5459,17 @@ const N = z.injectEndpoints({
5458
5459
  }
5459
5460
  }
5460
5461
  }), {
5461
- useGetServerConfigQuery: Co,
5462
- useGetServerConfigOverridesQuery: No,
5463
- useGetServerConfigSchemaQuery: Qo,
5464
- useGetConfigValueQuery: Mo
5465
- } = Ts, Ri = Ts.enhanceEndpoints({
5462
+ useGetServerConfigQuery: Mo,
5463
+ useGetServerConfigOverridesQuery: Vo,
5464
+ useGetServerConfigSchemaQuery: Do,
5465
+ useGetConfigValueQuery: Oo
5466
+ } = Ts, Gi = Ts.enhanceEndpoints({
5466
5467
  endpoints: {
5467
5468
  setServerConfig: {
5468
5469
  invalidatesTags: ["config"]
5469
5470
  }
5470
5471
  }
5471
- }), { useSetServerConfigMutation: Vo } = Ri, lt = de.enhanceEndpoints({
5472
+ }), { useSetServerConfigMutation: $o } = Gi, lt = ue.enhanceEndpoints({
5472
5473
  endpoints: {
5473
5474
  getEntityListAttributesDefinition: {
5474
5475
  providesTags: (t, e, { listId: s }) => t ? [
@@ -5477,7 +5478,7 @@ const N = z.injectEndpoints({
5477
5478
  ] : [{ type: "entityListAttribute", id: "LIST" }]
5478
5479
  }
5479
5480
  }
5480
- }), { useGetEntityListAttributesDefinitionQuery: Do } = lt, Gi = (t) => t.startsWith("attrib.") ? `_all_attrib.${t.slice(7)}` : t.startsWith("inherited_attributes.") ? `_all_attrib.${t.slice(21)}` : `_entity_${t}`, Ci = (t) => t.startsWith("_all_attrib_") ? `attrib_${t.slice(12)}` : t.startsWith("_entity_") ? t.slice(8) : t, Oo = (t) => t.map((e) => ({ ...e, field: Gi(e.field) })), Ni = Q.enhanceEndpoints({
5481
+ }), { useGetEntityListAttributesDefinitionQuery: xo } = lt, Ci = (t) => t.startsWith("attrib.") ? `_all_attrib.${t.slice(7)}` : t.startsWith("inherited_attributes.") ? `_all_attrib.${t.slice(21)}` : `_entity_${t}`, Ni = (t) => t.startsWith("_all_attrib_") ? `attrib_${t.slice(12)}` : t.startsWith("_entity_") ? t.slice(8) : t, Uo = (t) => t.map((e) => ({ ...e, field: Ci(e.field) })), Qi = Q.enhanceEndpoints({
5481
5482
  endpoints: {
5482
5483
  // same caching as the other column stats endpoints: `targets` excluded
5483
5484
  // from the cache key, responses merged, only added targets refetch
@@ -5485,7 +5486,7 @@ const N = z.injectEndpoints({
5485
5486
  transformResponse: (t) => {
5486
5487
  const e = t?.project?.entityLists?.edges?.[0]?.node?.items?.fieldStats ?? [];
5487
5488
  return ke(
5488
- e.map((s) => ({ ...s, columnName: Ci(s.columnName) }))
5489
+ e.map((s) => ({ ...s, columnName: Ni(s.columnName) }))
5489
5490
  );
5490
5491
  },
5491
5492
  serializeQueryArgs: ({ queryArgs: { targets: t, ...e } }) => e,
@@ -5497,7 +5498,7 @@ const N = z.injectEndpoints({
5497
5498
  ]
5498
5499
  }
5499
5500
  }
5500
- }), { useGetListItemsColumnStatsQuery: $o } = Ni, Qi = lt.enhanceEndpoints({
5501
+ }), { useGetListItemsColumnStatsQuery: qo } = Qi, Mi = lt.enhanceEndpoints({
5501
5502
  endpoints: {
5502
5503
  setEntityListAttributesDefinition: {
5503
5504
  onQueryStarted: async (t, { dispatch: e, queryFulfilled: s }) => {
@@ -5517,7 +5518,7 @@ const N = z.injectEndpoints({
5517
5518
  invalidatesTags: (t, e, { listId: s }) => [{ type: "entityListAttribute", id: s }]
5518
5519
  }
5519
5520
  }
5520
- }), { useSetEntityListAttributesDefinitionMutation: xo } = Qi, Ge = { type: "entityListFolder", id: "LIST" }, Me = de.enhanceEndpoints({
5521
+ }), { useSetEntityListAttributesDefinitionMutation: Bo } = Mi, Ge = { type: "entityListFolder", id: "LIST" }, Me = ue.enhanceEndpoints({
5521
5522
  endpoints: {
5522
5523
  getEntityListFolders: {
5523
5524
  transformResponse: (t) => t.folders || [],
@@ -5605,15 +5606,15 @@ const N = z.injectEndpoints({
5605
5606
  }
5606
5607
  }
5607
5608
  }), {
5608
- useGetEntityListFoldersQuery: Uo,
5609
- useCreateEntityListFolderMutation: qo,
5610
- useDeleteEntityListFolderMutation: Bo,
5611
- useUpdateEntityListFolderMutation: Ho
5612
- } = Me, Mi = Ns.enhanceEndpoints({
5609
+ useGetEntityListFoldersQuery: Ho,
5610
+ useCreateEntityListFolderMutation: Wo,
5611
+ useDeleteEntityListFolderMutation: zo,
5612
+ useUpdateEntityListFolderMutation: Ko
5613
+ } = Me, Vi = Ns.enhanceEndpoints({
5613
5614
  endpoints: {
5614
5615
  getEntityGroups: {}
5615
5616
  }
5616
- }), { useGetEntityGroupsQuery: Wo } = Mi, zt = async (t, e, s, n) => {
5617
+ }), { useGetEntityGroupsQuery: Jo } = Vi, zt = async (t, e, s, n) => {
5617
5618
  switch (t) {
5618
5619
  case "task":
5619
5620
  return (await n(
@@ -5673,14 +5674,14 @@ const N = z.injectEndpoints({
5673
5674
  dispatch: d
5674
5675
  }, u = []) => {
5675
5676
  const o = (p, f, y) => {
5676
- const g = ue.util.selectCachedArgsForQuery(c, "getEntityLinks").filter(
5677
+ const g = le.util.selectCachedArgsForQuery(c, "getEntityLinks").filter(
5677
5678
  (v) => v.projectName === t && v.entityType === p.entityType
5678
5679
  );
5679
5680
  let m = !1;
5680
5681
  for (const v of g)
5681
5682
  try {
5682
5683
  const b = d(
5683
- ue.util.updateQueryData(
5684
+ le.util.updateQueryData(
5684
5685
  "getEntityLinks",
5685
5686
  v,
5686
5687
  (I) => {
@@ -5710,7 +5711,7 @@ const N = z.injectEndpoints({
5710
5711
  A !== -1 ? k.links[A] = T : (console.log(
5711
5712
  `Adding new link to ${p.entityType} links cache`,
5712
5713
  T,
5713
- Ws(k)
5714
+ zs(k)
5714
5715
  ), k.links.push(T));
5715
5716
  }
5716
5717
  }
@@ -5723,7 +5724,7 @@ const N = z.injectEndpoints({
5723
5724
  m || (p.entityId === e.entityId ? (console.warn(
5724
5725
  `Source ${p.entityType} ${p.entityId} not in cache - invalidating to refresh UI`
5725
5726
  ), d(
5726
- ue.util.invalidateTags([
5727
+ le.util.invalidateTags([
5727
5728
  { type: "link", id: `${t}-${p.entityType}` }
5728
5729
  ])
5729
5730
  )) : console.log(
@@ -5731,7 +5732,7 @@ const N = z.injectEndpoints({
5731
5732
  ));
5732
5733
  };
5733
5734
  o(e, s, r), o(s, e, r === "in" ? "out" : "in");
5734
- }, Vi = Qs.enhanceEndpoints({
5735
+ }, Di = Qs.enhanceEndpoints({
5735
5736
  endpoints: {
5736
5737
  deleteEntityLink: {
5737
5738
  async onQueryStarted({ linkId: t, projectName: e, patch: s }, { dispatch: n, getState: i, queryFulfilled: r }) {
@@ -5758,7 +5759,7 @@ const N = z.injectEndpoints({
5758
5759
  for (const f of c)
5759
5760
  f.undo();
5760
5761
  n(
5761
- ue.util.invalidateTags([
5762
+ le.util.invalidateTags([
5762
5763
  { type: "link", id: `${e}-${d.entityType}` },
5763
5764
  { type: "link", id: `${e}-${u.entityType}` }
5764
5765
  ])
@@ -5824,7 +5825,7 @@ const N = z.injectEndpoints({
5824
5825
  for (const b of u)
5825
5826
  b.undo();
5826
5827
  o && f && n(
5827
- ue.util.invalidateTags([
5828
+ le.util.invalidateTags([
5828
5829
  { type: "link", id: `${t}-${o.entityType}` },
5829
5830
  { type: "link", id: `${t}-${f.entityType}` }
5830
5831
  ])
@@ -5833,7 +5834,7 @@ const N = z.injectEndpoints({
5833
5834
  }
5834
5835
  }
5835
5836
  }
5836
- }), { useDeleteEntityLinkMutation: zo, useCreateEntityLinkMutation: Ko } = Vi, Di = 50, he = (t, e) => e ? { entityType: t, entityId: e.id, thumbnailHash: e.thumbnailHash || void 0 } : void 0, Oi = V.injectEndpoints({
5837
+ }), { useDeleteEntityLinkMutation: Yo, useCreateEntityLinkMutation: Xo } = Di, Oi = 50, he = (t, e) => e ? { entityType: t, entityId: e.id, thumbnailHash: e.thumbnailHash || void 0 } : void 0, $i = V.injectEndpoints({
5837
5838
  endpoints: (t) => ({
5838
5839
  getSearchedEntitiesLinks: t.infiniteQuery({
5839
5840
  infiniteQueryOptions: {
@@ -5850,7 +5851,7 @@ const N = z.injectEndpoints({
5850
5851
  try {
5851
5852
  const { projectName: i, entityType: r, search: a, parentIds: c, hasReviewables: d, includeTask: u } = e, { cursor: o } = s, l = {
5852
5853
  projectName: i,
5853
- first: Di
5854
+ first: Oi
5854
5855
  };
5855
5856
  o && (l.after = o), l.search = a || "", l.parentIds = c, l.hasReviewables = d, l.includeTask = !!u;
5856
5857
  let p;
@@ -5983,12 +5984,12 @@ const N = z.injectEndpoints({
5983
5984
  }
5984
5985
  };
5985
5986
  } catch (i) {
5986
- return console.error("Error in getSearchedEntitiesLinks queryFn:", i), { error: j(i) };
5987
+ return console.error("Error in getSearchedEntitiesLinks queryFn:", i), { error: L(i) };
5987
5988
  }
5988
5989
  }
5989
5990
  })
5990
5991
  })
5991
- }), { useGetSearchedEntitiesLinksInfiniteQuery: Jo } = Oi, $i = Zt.enhanceEndpoints({
5992
+ }), { useGetSearchedEntitiesLinksInfiniteQuery: Zo } = $i, xi = Zt.enhanceEndpoints({
5992
5993
  endpoints: {
5993
5994
  getMyPermissions: {
5994
5995
  providesTags: (t) => [{ type: "userPermissions" }]
@@ -5997,13 +5998,13 @@ const N = z.injectEndpoints({
5997
5998
  providesTags: (t, e, s) => [{ type: "userProjectPermissions" }]
5998
5999
  }
5999
6000
  }
6000
- }), { useGetMyPermissionsQuery: Yo, useGetMyProjectPermissionsQuery: Xo } = $i, ks = Ms.enhanceEndpoints({
6001
+ }), { useGetMyPermissionsQuery: ec, useGetMyProjectPermissionsQuery: tc } = xi, ks = Ms.enhanceEndpoints({
6001
6002
  endpoints: {
6002
6003
  getProductTypes: {
6003
6004
  providesTags: (t, e, s) => [{ type: "productType", id: "LIST" }]
6004
6005
  }
6005
6006
  }
6006
- }), { useGetProductTypesQuery: Zo } = ks, xi = ks.enhanceEndpoints({
6007
+ }), { useGetProductTypesQuery: sc } = ks, Ui = ks.enhanceEndpoints({
6007
6008
  endpoints: {
6008
6009
  createProduct: {
6009
6010
  invalidatesTags: (t, e, { productPostModel: s }) => [
@@ -6011,7 +6012,7 @@ const N = z.injectEndpoints({
6011
6012
  ]
6012
6013
  }
6013
6014
  }
6014
- }), { useCreateProductMutation: ec } = xi, Ui = Q.enhanceEndpoints({
6015
+ }), { useCreateProductMutation: nc } = Ui, qi = Q.enhanceEndpoints({
6015
6016
  endpoints: {
6016
6017
  GetFolderProducts: {
6017
6018
  transformResponse: (t) => (t?.project?.products?.edges || []).map((s) => ({
@@ -6035,7 +6036,7 @@ const N = z.injectEndpoints({
6035
6036
  ] : [{ type: "product", id: s }]
6036
6037
  }
6037
6038
  }
6038
- }), { useGetFolderProductsQuery: tc } = Ui, oe = { type: "projectFolder", id: "LIST" }, Ve = Vs.enhanceEndpoints({
6039
+ }), { useGetFolderProductsQuery: ic } = qi, oe = { type: "projectFolder", id: "LIST" }, Ve = Vs.enhanceEndpoints({
6039
6040
  endpoints: {
6040
6041
  getProjectFolders: {
6041
6042
  transformResponse: (t) => t.folders || [],
@@ -6164,12 +6165,12 @@ const N = z.injectEndpoints({
6164
6165
  }
6165
6166
  }
6166
6167
  }), {
6167
- useGetProjectFoldersQuery: sc,
6168
- useCreateProjectFolderMutation: nc,
6169
- useDeleteProjectFolderMutation: ic,
6170
- useUpdateProjectFolderMutation: rc,
6171
- useSetProjectFoldersOrderMutation: ac,
6172
- useAssignProjectsToFolderMutation: oc
6168
+ useGetProjectFoldersQuery: rc,
6169
+ useCreateProjectFolderMutation: ac,
6170
+ useDeleteProjectFolderMutation: oc,
6171
+ useUpdateProjectFolderMutation: cc,
6172
+ useSetProjectFoldersOrderMutation: dc,
6173
+ useAssignProjectsToFolderMutation: uc
6173
6174
  } = Ve, As = (t, {
6174
6175
  productId: e,
6175
6176
  taskId: s,
@@ -6205,7 +6206,7 @@ const N = z.injectEndpoints({
6205
6206
  a.push(...u);
6206
6207
  }
6207
6208
  return a;
6208
- }, qi = X.enhanceEndpoints({
6209
+ }, Bi = X.enhanceEndpoints({
6209
6210
  endpoints: {
6210
6211
  getReviewablesForVersion: {
6211
6212
  keepUnusedDataFor: 1,
@@ -6268,7 +6269,7 @@ const N = z.injectEndpoints({
6268
6269
  }
6269
6270
  }
6270
6271
  }
6271
- }), ht = qi.injectEndpoints({
6272
+ }), ht = Bi.injectEndpoints({
6272
6273
  endpoints: (t) => ({
6273
6274
  // custom endpoint to get reviewables from product/task/folder
6274
6275
  // utilizes getReviewablesForProduct, getReviewablesForTask, getReviewablesForFolder
@@ -6298,10 +6299,10 @@ const N = z.injectEndpoints({
6298
6299
  )
6299
6300
  )).error), !a)
6300
6301
  return {
6301
- error: j("No query found", 400)
6302
+ error: L("No query found", 400)
6302
6303
  };
6303
6304
  const c = await r(a);
6304
- return c.error ? { error: j(c.error) } : { data: c.data };
6305
+ return c.error ? { error: L(c.error) } : { data: c.data };
6305
6306
  },
6306
6307
  providesTags: (e, s, n) => As(e, n, !0),
6307
6308
  async onCacheEntryAdded({ productId: e, taskId: s, folderId: n }, { cacheDataLoaded: i, cacheEntryRemoved: r, dispatch: a, getCacheEntry: c }) {
@@ -6335,10 +6336,10 @@ const N = z.injectEndpoints({
6335
6336
  })
6336
6337
  })
6337
6338
  }), {
6338
- useGetViewerReviewablesQuery: cc,
6339
- useGetReviewablesForVersionQuery: dc,
6340
- useHasTranscoderQuery: uc
6341
- } = ht, Bi = ht.injectEndpoints({
6339
+ useGetViewerReviewablesQuery: lc,
6340
+ useGetReviewablesForVersionQuery: pc,
6341
+ useHasTranscoderQuery: fc
6342
+ } = ht, Hi = ht.injectEndpoints({
6342
6343
  endpoints: (t) => ({
6343
6344
  deleteReviewable: t.mutation(
6344
6345
  {
@@ -6347,16 +6348,16 @@ const N = z.injectEndpoints({
6347
6348
  const n = await s(
6348
6349
  Pe.endpoints.deleteProjectActivity.initiate(e)
6349
6350
  );
6350
- return n.error ? { error: j(n.error) } : { data: n.data };
6351
+ return n.error ? { error: L(n.error) } : { data: n.data };
6351
6352
  } catch (n) {
6352
- return { error: j(n) };
6353
+ return { error: L(n) };
6353
6354
  }
6354
6355
  },
6355
6356
  invalidatesTags: (e, s, n) => [{ type: "review", id: n.activityId }]
6356
6357
  }
6357
6358
  )
6358
6359
  })
6359
- }), Hi = Bi.enhanceEndpoints({
6360
+ }), Wi = Hi.enhanceEndpoints({
6360
6361
  endpoints: {
6361
6362
  // reviewables list is updated optimistically
6362
6363
  sortVersionReviewables: {
@@ -6389,16 +6390,16 @@ const N = z.injectEndpoints({
6389
6390
  }
6390
6391
  }
6391
6392
  }), {
6392
- useDeleteReviewableMutation: lc,
6393
- useSortVersionReviewablesMutation: pc,
6394
- useUpdateReviewableMutation: fc
6395
- } = Hi, Jt = (t) => {
6393
+ useDeleteReviewableMutation: yc,
6394
+ useSortVersionReviewablesMutation: gc,
6395
+ useUpdateReviewableMutation: hc
6396
+ } = Wi, Jt = (t) => {
6396
6397
  const e = [{ type: "shared", id: "LIST" }];
6397
6398
  return t && e.push({
6398
6399
  type: "shared",
6399
6400
  id: t.toUpperCase()
6400
6401
  }), e;
6401
- }, Wi = (t) => {
6402
+ }, zi = (t) => {
6402
6403
  const e = [];
6403
6404
  for (const s of t) {
6404
6405
  const n = { type: "shared", id: s.value };
@@ -6424,14 +6425,14 @@ const N = z.injectEndpoints({
6424
6425
  }
6425
6426
  }
6426
6427
  return e;
6427
- }, zi = Xt.enhanceEndpoints({
6428
+ }, Ki = Xt.enhanceEndpoints({
6428
6429
  endpoints: {
6429
6430
  getShareOptions: {
6430
6431
  transformResponse: (t) => t?.options || [],
6431
- providesTags: (t, e, { projectName: s }) => t ? [...Wi(t), ...Jt(s)] : Jt(s)
6432
+ providesTags: (t, e, { projectName: s }) => t ? [...zi(t), ...Jt(s)] : Jt(s)
6432
6433
  }
6433
6434
  }
6434
- }), { useGetShareOptionsQuery: yc } = zi, Ki = Ds.enhanceEndpoints({
6435
+ }), { useGetShareOptionsQuery: mc } = Ki, Ji = Ds.enhanceEndpoints({
6435
6436
  endpoints: {
6436
6437
  getSiteInfo: {
6437
6438
  providesTags: (t) => t ? [
@@ -6448,7 +6449,7 @@ const N = z.injectEndpoints({
6448
6449
  providesTags: ["info"]
6449
6450
  }
6450
6451
  }
6451
- }), { useGetSiteInfoQuery: gc, useLazyGetSiteInfoQuery: hc, useListFrontendModulesQuery: mc } = Ki, Ji = rt.enhanceEndpoints({
6452
+ }), { useGetSiteInfoQuery: vc, useLazyGetSiteInfoQuery: bc, useListFrontendModulesQuery: Ic } = Ji, Yi = rt.enhanceEndpoints({
6452
6453
  endpoints: {
6453
6454
  getTask: {
6454
6455
  providesTags: (t, e, { taskId: s }) => [
@@ -6456,7 +6457,7 @@ const N = z.injectEndpoints({
6456
6457
  ]
6457
6458
  }
6458
6459
  }
6459
- }), { useGetTaskQuery: vc } = Ji, Yi = (t, e, { state: s, dispatch: n }, i) => {
6460
+ }), { useGetTaskQuery: Tc } = Yi, Xi = (t, e, { state: s, dispatch: n }, i) => {
6460
6461
  const r = [{ type: "entityListItem", id: t }], a = q.util.selectInvalidatedBy(s, r).filter((c) => c.endpointName === "getListItemsInfinite");
6461
6462
  for (const c of a) {
6462
6463
  const d = n(
@@ -6472,7 +6473,7 @@ const N = z.injectEndpoints({
6472
6473
  );
6473
6474
  i.push(d);
6474
6475
  }
6475
- }, Xi = rt.injectEndpoints({
6476
+ }, Zi = rt.injectEndpoints({
6476
6477
  endpoints: (t) => ({
6477
6478
  updateSubtasks: t.mutation({
6478
6479
  queryFn: async ({ projectName: e, taskId: s, subtasks: n }, { dispatch: i }) => {
@@ -6487,7 +6488,7 @@ const N = z.injectEndpoints({
6487
6488
  })
6488
6489
  ).unwrap(), { data: void 0 };
6489
6490
  } catch (r) {
6490
- return { error: j(r) };
6491
+ return { error: L(r) };
6491
6492
  }
6492
6493
  },
6493
6494
  async onQueryStarted({ taskId: e, subtasks: s }, { dispatch: n, queryFulfilled: i, getState: r }) {
@@ -6498,7 +6499,7 @@ const N = z.injectEndpoints({
6498
6499
  data: { subtasks: s }
6499
6500
  }
6500
6501
  ];
6501
- Ee(d, { state: a, dispatch: n }, c), ds(d, { state: a, dispatch: n }, c), Yi(e, s, { state: a, dispatch: n }, c);
6502
+ Ee(d, { state: a, dispatch: n }, c), ds(d, { state: a, dispatch: n }, c), Xi(e, s, { state: a, dispatch: n }, c);
6502
6503
  try {
6503
6504
  await i;
6504
6505
  } catch {
@@ -6507,51 +6508,51 @@ const N = z.injectEndpoints({
6507
6508
  }
6508
6509
  })
6509
6510
  })
6510
- }), { useUpdateSubtasksMutation: bc } = Xi, te = { type: "team", id: "LIST" }, Zi = Os.enhanceEndpoints({
6511
+ }), { useUpdateSubtasksMutation: kc } = Zi, te = { type: "team", id: "LIST" }, er = Os.enhanceEndpoints({
6511
6512
  endpoints: {
6512
6513
  getTeams: {
6513
6514
  providesTags: (t) => t ? [te, ...t.map((e) => ({ type: "team", id: e.name }))] : [te]
6514
6515
  },
6515
6516
  updateTeams: {
6516
- invalidatesTags: [te, ...ye]
6517
+ invalidatesTags: [te, ...ce]
6517
6518
  },
6518
6519
  saveTeam: {
6519
6520
  invalidatesTags: (t, e, { teamName: s }) => [
6520
6521
  te,
6521
6522
  { type: "team", id: s },
6522
- ...ye
6523
+ ...ce
6523
6524
  ]
6524
6525
  },
6525
6526
  deleteTeam: {
6526
6527
  invalidatesTags: (t, e, { teamName: s }) => [
6527
6528
  te,
6528
6529
  { type: "team", id: s },
6529
- ...ye
6530
+ ...ce
6530
6531
  ]
6531
6532
  },
6532
6533
  saveTeamMember: {
6533
6534
  invalidatesTags: (t, e, { teamName: s }) => [
6534
6535
  te,
6535
6536
  { type: "team", id: s },
6536
- ...ye
6537
+ ...ce
6537
6538
  ]
6538
6539
  },
6539
6540
  deleteTeamMember: {
6540
6541
  invalidatesTags: (t, e, { teamName: s }) => [
6541
6542
  te,
6542
6543
  { type: "team", id: s },
6543
- ...ye
6544
+ ...ce
6544
6545
  ]
6545
6546
  }
6546
6547
  }
6547
6548
  }), {
6548
- useGetTeamsQuery: Ic,
6549
- useUpdateTeamsMutation: Tc,
6550
- useSaveTeamMutation: kc,
6551
- useDeleteTeamMutation: Ac,
6552
- useSaveTeamMemberMutation: wc,
6553
- useDeleteTeamMemberMutation: Ec
6554
- } = Zi, er = `
6549
+ useGetTeamsQuery: Ac,
6550
+ useUpdateTeamsMutation: wc,
6551
+ useSaveTeamMutation: Ec,
6552
+ useDeleteTeamMutation: Sc,
6553
+ useSaveTeamMemberMutation: Pc,
6554
+ useDeleteTeamMemberMutation: Lc
6555
+ } = er, tr = `
6555
6556
  query UserList($name:String!) {
6556
6557
  users(name: $name) {
6557
6558
  edges {
@@ -6573,7 +6574,7 @@ const N = z.injectEndpoints({
6573
6574
  }
6574
6575
  }
6575
6576
  }
6576
- `, tr = `
6577
+ `, sr = `
6577
6578
  query UserList {
6578
6579
  users(last: 5000, isSupport: false) {
6579
6580
  edges {
@@ -6601,7 +6602,7 @@ const N = z.injectEndpoints({
6601
6602
  }
6602
6603
  }
6603
6604
  }
6604
- `, sr = `
6605
+ `, nr = `
6605
6606
  query Assignees($names: [String!]!){
6606
6607
  users(names: $names, isSupport: false) {
6607
6608
  edges {
@@ -6613,7 +6614,7 @@ query Assignees($names: [String!]!){
6613
6614
  }
6614
6615
  }
6615
6616
  }
6616
- }`, nr = `
6617
+ }`, ir = `
6617
6618
  query Assignees($projectName: String) {
6618
6619
  users(last: 5000, projectName: $projectName, isSupport: false) {
6619
6620
  edges {
@@ -6625,7 +6626,15 @@ query Assignees($projectName: String) {
6625
6626
  }
6626
6627
  }
6627
6628
  }
6628
- }`, ir = Zt.enhanceEndpoints({
6629
+ }`, rr = (t) => {
6630
+ const e = String(t.value);
6631
+ return {
6632
+ name: e,
6633
+ fullName: t.label,
6634
+ avatarUrl: `/api/users/${e}/avatar`,
6635
+ hidden: t.hidden
6636
+ };
6637
+ }, ar = Zt.enhanceEndpoints({
6629
6638
  endpoints: {
6630
6639
  getCurrentUser: {
6631
6640
  providesTags: [{ type: "user", id: "LIST" }]
@@ -6638,14 +6647,14 @@ query Assignees($projectName: String) {
6638
6647
  providesTags: (t, e, { userName: s }) => [{ type: "session", id: s }]
6639
6648
  }
6640
6649
  }
6641
- }), rr = Q.injectEndpoints({
6650
+ }), or = Q.injectEndpoints({
6642
6651
  endpoints: (t) => ({
6643
6652
  getUsers: t.query({
6644
6653
  query: () => ({
6645
6654
  url: "/graphql",
6646
6655
  method: "POST",
6647
6656
  body: {
6648
- query: tr,
6657
+ query: sr,
6649
6658
  variables: {}
6650
6659
  }
6651
6660
  }),
@@ -6667,7 +6676,7 @@ query Assignees($projectName: String) {
6667
6676
  url: "/graphql",
6668
6677
  method: "POST",
6669
6678
  body: {
6670
- query: er,
6679
+ query: tr,
6671
6680
  variables: { name: e }
6672
6681
  }
6673
6682
  }),
@@ -6679,31 +6688,48 @@ query Assignees($projectName: String) {
6679
6688
  providesTags: (e) => e ? [...e.map((s) => ({ type: "user", id: s.name })), { type: "user", id: "LIST" }] : ["user", { type: "user", id: "LIST" }]
6680
6689
  }),
6681
6690
  getUsersAssignee: t.query({
6682
- query: ({ names: e, projectName: s }) => ({
6683
- url: "/graphql",
6684
- method: "POST",
6685
- body: {
6686
- query: e ? sr : nr,
6687
- variables: { names: e, projectName: s }
6691
+ async queryFn({ names: e, projectName: s }, n, i, r) {
6692
+ if (!e && s) {
6693
+ const d = await n.dispatch(
6694
+ $s.endpoints.getEnumOptions.initiate(
6695
+ {
6696
+ enumName: "users",
6697
+ params: { project_name: s, mode: "users", hide_inactive: !0 }
6698
+ },
6699
+ { subscribe: !1, forceRefetch: n.forced }
6700
+ )
6701
+ ).unwrap();
6702
+ return d.error ? { error: L(d.error) } : { data: d.items.map(rr) };
6688
6703
  }
6689
- }),
6690
- transformResponse: (e) => e?.data?.users.edges.flatMap((s) => {
6691
- if (!s.node) return [];
6692
- const n = s.node;
6693
- return {
6694
- name: n.name,
6695
- fullName: n.attrib?.fullName,
6696
- avatarUrl: `/api/users/${n.name}/avatar`
6704
+ const a = await r({
6705
+ url: "/graphql",
6706
+ method: "POST",
6707
+ body: {
6708
+ query: e ? nr : ir,
6709
+ variables: { names: e, projectName: s }
6710
+ }
6711
+ });
6712
+ return a.error ? { error: L(a.error) } : {
6713
+ data: (a.data?.data?.users.edges ?? []).flatMap(
6714
+ (d) => d.node ? [
6715
+ {
6716
+ name: d.node.name,
6717
+ fullName: d.node.attrib?.fullName ?? void 0,
6718
+ avatarUrl: `/api/users/${d.node.name}/avatar`
6719
+ }
6720
+ ] : []
6721
+ )
6697
6722
  };
6698
- }),
6699
- providesTags: (e) => e ? [
6700
- ...e.map((s) => ({ type: "user", id: s.name })),
6701
- { type: "user", id: "LIST" }
6702
- ] : [{ type: "user", id: "LIST" }]
6723
+ },
6724
+ providesTags: (e) => [
6725
+ ...(e || []).map((s) => ({ type: "user", id: s.name })),
6726
+ { type: "user", id: "LIST" },
6727
+ ...ce
6728
+ ]
6703
6729
  })
6704
6730
  }),
6705
6731
  overrideExisting: !0
6706
- }), ar = rr.enhanceEndpoints({
6732
+ }), cr = or.enhanceEndpoints({
6707
6733
  endpoints: {
6708
6734
  GetAllProjectUsersAsAssignee: {
6709
6735
  transformResponse: (t) => t.users.edges.map((e) => ({
@@ -6727,14 +6753,14 @@ query Assignees($projectName: String) {
6727
6753
  }
6728
6754
  }
6729
6755
  }), {
6730
- useGetAllProjectUsersAsAssigneeQuery: Sc,
6731
- useLazyGetAllProjectUsersAsAssigneeQuery: Pc,
6732
- useGetActiveUsersCountQuery: Lc,
6733
- useGetAllAssigneesQuery: jc,
6734
- useGetUsersQuery: Fc,
6735
- useGetUserByNameQuery: _c,
6736
- useGetUsersAssigneeQuery: Rc
6737
- } = ar, { useGetUserSessionsQuery: Gc, useGetCurrentUserQuery: Cc, useGetUserQuery: Nc } = ir, or = Se.enhanceEndpoints({
6756
+ useGetAllProjectUsersAsAssigneeQuery: jc,
6757
+ useLazyGetAllProjectUsersAsAssigneeQuery: Fc,
6758
+ useGetActiveUsersCountQuery: _c,
6759
+ useGetAllAssigneesQuery: Rc,
6760
+ useGetUsersQuery: Gc,
6761
+ useGetUserByNameQuery: Cc,
6762
+ useGetUsersAssigneeQuery: Nc
6763
+ } = cr, { useGetUserSessionsQuery: Qc, useGetCurrentUserQuery: Mc, useGetUserQuery: Vc } = ar, dr = Se.enhanceEndpoints({
6738
6764
  endpoints: {
6739
6765
  listGuestUsers: {
6740
6766
  providesTags: (t) => t?.users ? [
@@ -6749,7 +6775,7 @@ query Assignees($projectName: String) {
6749
6775
  invalidatesTags: (t, e, s) => [{ type: "guest", id: s.email }]
6750
6776
  }
6751
6777
  }
6752
- }), { useListGuestUsersQuery: Qc, useAddGuestUserMutation: Mc, useRemoveGuestUserMutation: Vc } = or, cr = Q.enhanceEndpoints({
6778
+ }), { useListGuestUsersQuery: Dc, useAddGuestUserMutation: Oc, useRemoveGuestUserMutation: $c } = dr, ur = Q.enhanceEndpoints({
6753
6779
  endpoints: {
6754
6780
  GetLatestProductVersion: {
6755
6781
  transformResponse: (t) => t.project.versions.edges[0]?.node,
@@ -6759,7 +6785,7 @@ query Assignees($projectName: String) {
6759
6785
  ] : [{ type: "product", id: s }]
6760
6786
  }
6761
6787
  }
6762
- }), { useGetLatestProductVersionQuery: Dc } = cr, dr = $s.enhanceEndpoints({
6788
+ }), { useGetLatestProductVersionQuery: xc } = ur, lr = xs.enhanceEndpoints({
6763
6789
  endpoints: {
6764
6790
  getVersion: {},
6765
6791
  createVersion: {
@@ -6778,10 +6804,10 @@ query Assignees($projectName: String) {
6778
6804
  ]
6779
6805
  }
6780
6806
  }
6781
- }), { useGetVersionQuery: Oc, useCreateVersionMutation: $c, useDeleteVersionMutation: xc } = dr, B = (t, e) => ({
6807
+ }), { useGetVersionQuery: Uc, useCreateVersionMutation: qc, useDeleteVersionMutation: Bc } = lr, B = (t, e) => ({
6782
6808
  type: "view",
6783
6809
  id: `${t.toUpperCase()}${e ? `:${e.toUpperCase()}` : ""}`
6784
- }), Ce = { type: "view", id: "LIST" }, M = xs.enhanceEndpoints({
6810
+ }), Ce = { type: "view", id: "LIST" }, M = Us.enhanceEndpoints({
6785
6811
  endpoints: {
6786
6812
  listViews: {
6787
6813
  transformResponse: (t) => t?.views || [],
@@ -6809,12 +6835,12 @@ query Assignees($projectName: String) {
6809
6835
  }
6810
6836
  }
6811
6837
  }), {
6812
- useListViewsQuery: Uc,
6813
- useGetWorkingViewQuery: qc,
6814
- useGetViewQuery: Bc,
6815
- useGetDefaultViewQuery: Hc,
6816
- useGetBaseViewQuery: Wc
6817
- } = M, ur = M.enhanceEndpoints({
6838
+ useListViewsQuery: Hc,
6839
+ useGetWorkingViewQuery: Wc,
6840
+ useGetViewQuery: zc,
6841
+ useGetDefaultViewQuery: Kc,
6842
+ useGetBaseViewQuery: Jc
6843
+ } = M, pr = M.enhanceEndpoints({
6818
6844
  endpoints: {
6819
6845
  createView: {
6820
6846
  onQueryStarted: async (t, { dispatch: e, queryFulfilled: s, getState: n }) => {
@@ -6868,7 +6894,7 @@ query Assignees($projectName: String) {
6868
6894
  let u;
6869
6895
  if (i.label === "__base__") {
6870
6896
  const o = {
6871
- id: qs(),
6897
+ id: Bs(),
6872
6898
  ...i,
6873
6899
  working: !1,
6874
6900
  scope: t.projectName ? "project" : "studio",
@@ -7047,11 +7073,11 @@ query Assignees($projectName: String) {
7047
7073
  }
7048
7074
  }
7049
7075
  }), {
7050
- useCreateViewMutation: zc,
7051
- useUpdateViewMutation: Kc,
7052
- useDeleteViewMutation: Jc,
7053
- useSetDefaultViewMutation: Yc
7054
- } = ur, Be = Pe.enhanceEndpoints({
7076
+ useCreateViewMutation: Yc,
7077
+ useUpdateViewMutation: Xc,
7078
+ useDeleteViewMutation: Zc,
7079
+ useSetDefaultViewMutation: ed
7080
+ } = pr, Be = Pe.enhanceEndpoints({
7055
7081
  endpoints: {
7056
7082
  getEntityWatchers: {},
7057
7083
  setEntityWatchers: {}
@@ -7074,7 +7100,7 @@ query Assignees($projectName: String) {
7074
7100
  })
7075
7101
  ) };
7076
7102
  } catch (n) {
7077
- return console.error(n), { error: j(n) };
7103
+ return console.error(n), { error: L(n) };
7078
7104
  }
7079
7105
  },
7080
7106
  providesTags: (e, s, { entities: n }) => n.flatMap((i) => [
@@ -7083,7 +7109,7 @@ query Assignees($projectName: String) {
7083
7109
  ])
7084
7110
  })
7085
7111
  })
7086
- }), lr = Yt.injectEndpoints({
7112
+ }), fr = Yt.injectEndpoints({
7087
7113
  endpoints: (t) => ({
7088
7114
  setEntitiesWatchers: t.mutation({
7089
7115
  async queryFn({ entities: e = [] }, { dispatch: s }) {
@@ -7101,7 +7127,7 @@ query Assignees($projectName: String) {
7101
7127
  try {
7102
7128
  return await Promise.all(n), { data: void 0 };
7103
7129
  } catch (i) {
7104
- return { error: j(i) };
7130
+ return { error: L(i) };
7105
7131
  }
7106
7132
  },
7107
7133
  async onQueryStarted({ entities: e }, { dispatch: s, queryFulfilled: n, getState: i }) {
@@ -7135,292 +7161,293 @@ query Assignees($projectName: String) {
7135
7161
  invalidatesTags: (e, s, { entities: n }) => n.some((i) => i.entityType === "task") ? [{ type: "watchers", id: "VERSION-LIST" }] : []
7136
7162
  })
7137
7163
  })
7138
- }), { useGetEntitiesWatchersQuery: Xc, useSetEntitiesWatchersMutation: Zc } = lr, pr = Us.enhanceEndpoints({
7164
+ }), { useGetEntitiesWatchersQuery: td, useSetEntitiesWatchersMutation: sd } = fr, yr = qs.enhanceEndpoints({
7139
7165
  endpoints: {
7140
7166
  resolveUris: {}
7141
7167
  }
7142
- }), { useResolveUrisMutation: ed } = pr;
7168
+ }), { useResolveUrisMutation: nd } = yr;
7143
7169
  export {
7144
- Ai as $,
7145
- fi as A,
7146
- Wn as B,
7170
+ wi as $,
7171
+ yi as A,
7172
+ zn as B,
7147
7173
  se as C,
7148
- Kn as D,
7149
- Di as E,
7150
- _n as F,
7151
- zn as G,
7174
+ Jn as D,
7175
+ Oi as E,
7176
+ Rn as F,
7177
+ Kn as G,
7152
7178
  $e as H,
7153
- Cn as I,
7154
- fe as J,
7155
- Gr as K,
7179
+ Nn as I,
7180
+ ye as J,
7181
+ Nr as K,
7156
7182
  Ut as L,
7157
- En as M,
7183
+ Sn as M,
7158
7184
  os as N,
7159
- li as O,
7160
- Fn as P,
7185
+ pi as O,
7186
+ _n as P,
7161
7187
  ft as Q,
7162
7188
  ht as R,
7163
7189
  B as S,
7164
7190
  We as T,
7165
7191
  M as U,
7166
- jn as V,
7167
- Dr as W,
7168
- Mi as X,
7192
+ Fn as V,
7193
+ $r as W,
7194
+ Vi as X,
7169
7195
  we as Y,
7170
7196
  N as Z,
7171
7197
  at as _,
7172
7198
  et as a,
7173
- lc as a$,
7199
+ yc as a$,
7174
7200
  Ae as a0,
7175
7201
  ke as a1,
7176
- $r as a2,
7202
+ Ur as a2,
7177
7203
  Ft as a3,
7178
7204
  R as a4,
7179
7205
  ds as a5,
7180
7206
  cs as a6,
7181
- Yi as a7,
7182
- Fa as a8,
7207
+ Xi as a7,
7208
+ Ra as a8,
7183
7209
  qe as a9,
7184
- Mc as aA,
7185
- oc as aB,
7186
- ko as aC,
7187
- Eo as aD,
7188
- Za as aE,
7189
- Ko as aF,
7190
- qo as aG,
7191
- qa as aH,
7192
- Da as aI,
7193
- ec as aJ,
7194
- nc as aK,
7195
- so as aL,
7196
- Ha as aM,
7197
- vo as aN,
7198
- $c as aO,
7199
- zc as aP,
7200
- Pr as aQ,
7201
- eo as aR,
7202
- po as aS,
7203
- wo as aT,
7204
- zo as aU,
7205
- Bo as aV,
7206
- Ba as aW,
7207
- $a as aX,
7208
- ic as aY,
7209
- fa as aZ,
7210
- no as a_,
7210
+ Oc as aA,
7211
+ uc as aB,
7212
+ Eo as aC,
7213
+ Lo as aD,
7214
+ so as aE,
7215
+ Xo as aF,
7216
+ Wo as aG,
7217
+ Ha as aH,
7218
+ $a as aI,
7219
+ nc as aJ,
7220
+ ac as aK,
7221
+ ro as aL,
7222
+ za as aM,
7223
+ To as aN,
7224
+ qc as aO,
7225
+ Yc as aP,
7226
+ jr as aQ,
7227
+ no as aR,
7228
+ go as aS,
7229
+ Po as aT,
7230
+ Yo as aU,
7231
+ zo as aV,
7232
+ Wa as aW,
7233
+ Ua as aX,
7234
+ oc as aY,
7235
+ ga as aZ,
7236
+ ao as a_,
7211
7237
  Ee as aa,
7212
- si as ab,
7213
- ri as ac,
7214
- ni as ad,
7215
- $i as ae,
7238
+ ni as ab,
7239
+ ai as ac,
7240
+ ii as ad,
7241
+ xi as ae,
7216
7242
  gt as af,
7217
7243
  ee as ag,
7218
7244
  W as ah,
7219
- Bn as ai,
7220
- Hn as aj,
7221
- qn as ak,
7245
+ Hn as ai,
7246
+ Wn as aj,
7247
+ Bn as ak,
7222
7248
  xe as al,
7223
- ki as am,
7224
- Hi as an,
7225
- Or as ao,
7226
- zi as ap,
7227
- Mr as aq,
7228
- Ki as ar,
7229
- Tn as as,
7230
- Zi as at,
7231
- Oo as au,
7232
- Cr as av,
7249
+ Ai as am,
7250
+ Wi as an,
7251
+ xr as ao,
7252
+ Ki as ap,
7253
+ Dr as aq,
7254
+ Ji as ar,
7255
+ kn as as,
7256
+ er as at,
7257
+ Uo as au,
7258
+ Qr as av,
7233
7259
  je as aw,
7234
- Yn as ax,
7260
+ Xn as ax,
7235
7261
  ys as ay,
7236
7262
  jt as az,
7237
7263
  wt as b,
7238
- Ao as b$,
7239
- Ec as b0,
7240
- Ac as b1,
7241
- xc as b2,
7242
- Jc as b3,
7243
- Ro as b4,
7244
- pa as b5,
7245
- fo as b6,
7246
- Fr as b7,
7247
- kr as b8,
7248
- Ar as b9,
7249
- ia as bA,
7250
- na as bB,
7251
- Wa as bC,
7252
- sa as bD,
7253
- Go as bE,
7254
- zr as bF,
7255
- Xr as bG,
7256
- Jr as bH,
7257
- Yr as bI,
7258
- tc as bJ,
7259
- Wr as bK,
7260
- La as bL,
7261
- va as bM,
7262
- ma as bN,
7263
- Dc as bO,
7264
- $o as bP,
7265
- Ca as bQ,
7266
- Ga as bR,
7264
+ pa as b$,
7265
+ Lc as b0,
7266
+ Sc as b1,
7267
+ Bc as b2,
7268
+ Zc as b3,
7269
+ No as b4,
7270
+ ya as b5,
7271
+ ho as b6,
7272
+ Rr as b7,
7273
+ wr as b8,
7274
+ Er as b9,
7275
+ oo as bA,
7276
+ aa as bB,
7277
+ ra as bC,
7278
+ Ka as bD,
7279
+ ia as bE,
7280
+ Qo as bF,
7281
+ Jr as bG,
7282
+ ea as bH,
7283
+ Xr as bI,
7284
+ Zr as bJ,
7285
+ ic as bK,
7286
+ Kr as bL,
7287
+ Fa as bM,
7288
+ Ia as bN,
7289
+ ba as bO,
7290
+ xc as bP,
7291
+ qo as bQ,
7292
+ Qa as bR,
7267
7293
  Na as bS,
7268
- Yo as bT,
7269
- Xo as bU,
7270
- xr as bV,
7271
- aa as bW,
7272
- Aa as bX,
7273
- Pa as bY,
7274
- co as bZ,
7275
- ua as b_,
7276
- Tr as ba,
7277
- _r as bb,
7278
- Lr as bc,
7279
- Lc as bd,
7280
- Ya as be,
7281
- Ja as bf,
7282
- ro as bg,
7283
- Xa as bh,
7284
- jc as bi,
7285
- Sc as bj,
7286
- go as bk,
7287
- yo as bl,
7288
- Wc as bm,
7289
- Mo as bn,
7290
- Cc as bo,
7291
- lo as bp,
7292
- Hc as bq,
7293
- Ka as br,
7294
- ea as bs,
7295
- Xc as bt,
7296
- Wo as bu,
7297
- Ra as bv,
7298
- Do as bw,
7299
- Uo as bx,
7300
- Va as by,
7301
- io as bz,
7302
- Ln as c,
7303
- Rr as c$,
7304
- sc as c0,
7305
- ca as c1,
7306
- wr as c2,
7307
- ao as c3,
7308
- la as c4,
7309
- ba as c5,
7310
- dc as c6,
7311
- Ur as c7,
7312
- oa as c8,
7313
- Jo as c9,
7314
- Fo as cA,
7315
- uc as cB,
7316
- jr as cC,
7317
- za as cD,
7318
- Pc as cE,
7319
- ta as cF,
7320
- ra as cG,
7321
- Zr as cH,
7322
- Ma as cI,
7323
- Qa as cJ,
7324
- hc as cK,
7325
- Hr as cL,
7326
- To as cM,
7327
- oo as cN,
7328
- Io as cO,
7329
- mc as cP,
7330
- Qc as cQ,
7331
- da as cR,
7332
- Uc as cS,
7333
- Po as cT,
7334
- mo as cU,
7335
- So as cV,
7336
- Vc as cW,
7337
- ed as cX,
7338
- Sr as cY,
7339
- wc as cZ,
7340
- kc as c_,
7341
- No as ca,
7342
- Co as cb,
7343
- Qo as cc,
7344
- uo as cd,
7345
- yc as ce,
7346
- gc as cf,
7347
- Ir as cg,
7348
- Kr as ch,
7349
- vc as ci,
7350
- Br as cj,
7351
- qr as ck,
7352
- Ic as cl,
7353
- _c as cm,
7354
- bo as cn,
7355
- Nc as co,
7356
- Gc as cp,
7357
- Rc as cq,
7358
- Fc as cr,
7359
- Oc as cs,
7360
- Sa as ct,
7361
- wa as cu,
7362
- Ea as cv,
7363
- ka as cw,
7364
- Bc as cx,
7365
- cc as cy,
7366
- qc as cz,
7294
+ Ma as bT,
7295
+ ec as bU,
7296
+ tc as bV,
7297
+ qr as bW,
7298
+ ca as bX,
7299
+ Ea as bY,
7300
+ ja as bZ,
7301
+ po as b_,
7302
+ Ar as ba,
7303
+ Gr as bb,
7304
+ Fr as bc,
7305
+ _c as bd,
7306
+ Ja as be,
7307
+ eo as bf,
7308
+ Za as bg,
7309
+ co as bh,
7310
+ to as bi,
7311
+ Rc as bj,
7312
+ jc as bk,
7313
+ vo as bl,
7314
+ mo as bm,
7315
+ Jc as bn,
7316
+ Oo as bo,
7317
+ Mc as bp,
7318
+ yo as bq,
7319
+ Kc as br,
7320
+ Xa as bs,
7321
+ sa as bt,
7322
+ td as bu,
7323
+ Jo as bv,
7324
+ Ca as bw,
7325
+ xo as bx,
7326
+ Ho as by,
7327
+ Oa as bz,
7328
+ jn as c,
7329
+ Ec as c$,
7330
+ So as c0,
7331
+ rc as c1,
7332
+ ua as c2,
7333
+ Sr as c3,
7334
+ uo as c4,
7335
+ fa as c5,
7336
+ Ta as c6,
7337
+ pc as c7,
7338
+ Br as c8,
7339
+ da as c9,
7340
+ Wc as cA,
7341
+ Go as cB,
7342
+ fc as cC,
7343
+ _r as cD,
7344
+ Ya as cE,
7345
+ Fc as cF,
7346
+ na as cG,
7347
+ oa as cH,
7348
+ ta as cI,
7349
+ Da as cJ,
7350
+ Va as cK,
7351
+ bc as cL,
7352
+ zr as cM,
7353
+ wo as cN,
7354
+ lo as cO,
7355
+ Ao as cP,
7356
+ Ic as cQ,
7357
+ Dc as cR,
7358
+ la as cS,
7359
+ Hc as cT,
7360
+ Fo as cU,
7361
+ Io as cV,
7362
+ jo as cW,
7363
+ $c as cX,
7364
+ nd as cY,
7365
+ Lr as cZ,
7366
+ Pc as c_,
7367
+ Zo as ca,
7368
+ Vo as cb,
7369
+ Mo as cc,
7370
+ Do as cd,
7371
+ fo as ce,
7372
+ mc as cf,
7373
+ vc as cg,
7374
+ kr as ch,
7375
+ Yr as ci,
7376
+ Tc as cj,
7377
+ Wr as ck,
7378
+ Hr as cl,
7379
+ Ac as cm,
7380
+ Cc as cn,
7381
+ ko as co,
7382
+ Vc as cp,
7383
+ Qc as cq,
7384
+ Nc as cr,
7385
+ Gc as cs,
7386
+ Uc as ct,
7387
+ La as cu,
7388
+ Sa as cv,
7389
+ Pa as cw,
7390
+ wa as cx,
7391
+ zc as cy,
7392
+ lc as cz,
7367
7393
  ae as d,
7368
- ho as d0,
7369
- Yc as d1,
7370
- Zc as d2,
7371
- xo as d3,
7372
- ya as d4,
7394
+ Cr as d0,
7395
+ bo as d1,
7396
+ ed as d2,
7397
+ sd as d3,
7398
+ Bo as d4,
7373
7399
  ha as d5,
7374
- ac as d6,
7375
- Er as d7,
7376
- Vo as d8,
7377
- _o as d9,
7378
- is as dA,
7379
- pc as da,
7380
- jo as db,
7381
- to as dc,
7382
- Lo as dd,
7383
- Ia as de,
7384
- Ho as df,
7385
- Ua as dg,
7386
- xa as dh,
7387
- Oa as di,
7388
- Ta as dj,
7389
- _a as dk,
7390
- rc as dl,
7391
- ga as dm,
7392
- fc as dn,
7393
- bc as dp,
7394
- Tc as dq,
7395
- Kc as dr,
7396
- Un as ds,
7397
- dr as dt,
7398
- ur as du,
7399
- lr as dv,
7400
- _i as dw,
7401
- Zo as dx,
7402
- rs as dy,
7403
- Qr as dz,
7404
- Ti as e,
7400
+ va as d6,
7401
+ dc as d7,
7402
+ Pr as d8,
7403
+ $o as d9,
7404
+ Vr as dA,
7405
+ is as dB,
7406
+ Co as da,
7407
+ gc as db,
7408
+ Ro as dc,
7409
+ io as dd,
7410
+ _o as de,
7411
+ ka as df,
7412
+ Ko as dg,
7413
+ Ba as dh,
7414
+ qa as di,
7415
+ xa as dj,
7416
+ Aa as dk,
7417
+ Ga as dl,
7418
+ cc as dm,
7419
+ ma as dn,
7420
+ hc as dp,
7421
+ kc as dq,
7422
+ wc as dr,
7423
+ Xc as ds,
7424
+ qn as dt,
7425
+ lr as du,
7426
+ pr as dv,
7427
+ fr as dw,
7428
+ Ri as dx,
7429
+ sc as dy,
7430
+ rs as dz,
7431
+ ki as e,
7405
7432
  bs as f,
7406
- hn as g,
7407
- Ei as h,
7408
- Js as i,
7409
- Si as j,
7410
- Vr as k,
7411
- Fi as l,
7412
- pe as m,
7413
- Nr as n,
7414
- Ri as o,
7415
- ci as p,
7433
+ mn as g,
7434
+ Si as h,
7435
+ Ys as i,
7436
+ Pi as j,
7437
+ Or as k,
7438
+ _i as l,
7439
+ fe as m,
7440
+ Mr as n,
7441
+ Gi as o,
7442
+ di as p,
7416
7443
  Ie as q,
7417
- ja as r,
7418
- Pn as s,
7419
- ce as t,
7420
- zs as u,
7444
+ _a as r,
7445
+ Ln as s,
7446
+ de as t,
7447
+ Ks as u,
7421
7448
  z as v,
7422
7449
  us as w,
7423
- ue as x,
7424
- Qi as y,
7450
+ le as x,
7451
+ Mi as y,
7425
7452
  q as z
7426
7453
  };