@overmap-ai/core 1.0.78-view-sets.8 → 1.0.78-view-sets.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
- var Oc = Object.defineProperty;
2
- var Rc = (t, e, s) => e in t ? Oc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
- var f = (t, e, s) => Rc(t, typeof e != "symbol" ? e + "" : e, s);
1
+ var Rc = Object.defineProperty;
2
+ var Ic = (t, e, s) => e in t ? Rc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
+ var f = (t, e, s) => Ic(t, typeof e != "symbol" ? e + "" : e, s);
4
4
  import "@redux-offline/redux-offline/lib/types";
5
- import { createAction as Vt, createSlice as P, isAnyOf as R, createSelector as p, combineReducers as Pn, compose as Ic } from "@reduxjs/toolkit";
5
+ import { createAction as Vt, createSlice as P, isAnyOf as R, createSelector as p, combineReducers as Pn, compose as vc } from "@reduxjs/toolkit";
6
6
  import $e from "superagent";
7
7
  import { v4 as Be } from "uuid";
8
- import { saveAs as vc } from "file-saver";
9
- import { offline as wc } from "@redux-offline/redux-offline";
8
+ import { saveAs as wc } from "file-saver";
9
+ import { offline as kc } from "@redux-offline/redux-offline";
10
10
  import Jt from "@redux-offline/redux-offline/lib/defaults";
11
11
  import "buffer";
12
- import kc from "localforage";
13
- import Ec from "redux-persist-migrate";
12
+ import Ec from "localforage";
13
+ import qc from "redux-persist-migrate";
14
14
  import "@overmap-ai/forms";
15
- import { openDB as qc } from "idb";
16
- import jc from "jwt-decode";
17
- import { DepGraph as Mc } from "dependency-graph";
15
+ import { openDB as jc } from "idb";
16
+ import Mc from "jwt-decode";
17
+ import { DepGraph as zc } from "dependency-graph";
18
18
  import "@tiptap/core";
19
- const zc = Object.freeze([]), Dc = Object.freeze({});
20
- var xc = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(xc || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}), Uc = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(Uc || {}), Tn = /* @__PURE__ */ ((t) => (t[t.LOWEST = 0] = "LOWEST", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 6] = "HIGH", t[t.HIGHEST = 8] = "HIGHEST", t))(Tn || {}), Fn = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.SELECTED = 2] = "SELECTED", t[t.DONE = 4] = "DONE", t))(Fn || {}), M = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.CATEGORY = "category", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))(M || {});
21
- const lm = Fn.BACKLOG, hm = Tn.MEDIUM, Vc = 6e4;
19
+ const Dc = Object.freeze([]), xc = Object.freeze({});
20
+ var Uc = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(Uc || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}), Vc = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(Vc || {}), Tn = /* @__PURE__ */ ((t) => (t[t.LOWEST = 0] = "LOWEST", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 6] = "HIGH", t[t.HIGHEST = 8] = "HIGHEST", t))(Tn || {}), Fn = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.SELECTED = 2] = "SELECTED", t[t.DONE = 4] = "DONE", t))(Fn || {}), M = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.CATEGORY = "category", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))(M || {});
21
+ const lm = Fn.BACKLOG, hm = Tn.MEDIUM, Cc = 6e4;
22
22
  function O(t) {
23
23
  return {
24
24
  addOne: (h, m) => {
@@ -114,7 +114,7 @@ function pm() {
114
114
  const At = "versioning", _ = Vt("RESET"), k = Vt("RESET_PROJECT_STATE"), I = Vt("RESET_ORGANIZATION_STATE");
115
115
  var _n;
116
116
  _n = Symbol.toStringTag;
117
- class Cc {
117
+ class $c {
118
118
  constructor() {
119
119
  f(this, _n, "Promise");
120
120
  f(this, "_promise");
@@ -154,8 +154,8 @@ const mm = (t) => ({
154
154
  coordinates: t
155
155
  }), fm = (t, e) => t[0] === e[0] && t[1] === e[1];
156
156
  let It = !1;
157
- const $c = "";
158
- ["true", "1"].includes($c.toLowerCase()) && (It = !0);
157
+ const Gc = "";
158
+ ["true", "1"].includes(Gc.toLowerCase()) && (It = !0);
159
159
  function ym(t, e) {
160
160
  if (t === e) return !0;
161
161
  if (typeof t != typeof e)
@@ -182,15 +182,15 @@ function bm(t, e) {
182
182
  if (t[s] !== e[s]) return !1;
183
183
  return !0;
184
184
  }
185
- const b = (t) => t.length === 0 ? zc : t, Ze = (t) => Object.keys(t).length === 0 ? Dc : t, Gc = On((t) => {
185
+ const b = (t) => t.length === 0 ? Dc : t, Ze = (t) => Object.keys(t).length === 0 ? xc : t, Bc = On((t) => {
186
186
  if (!t) return "";
187
187
  const e = new Date(t), s = e.getFullYear() === Ct.getFullYear(), i = { day: "numeric", month: "short" };
188
188
  return s || (i.year = "numeric"), e.toLocaleDateString([], i);
189
- }), Bc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Lc = 1e3 * 86400, Ct = /* @__PURE__ */ new Date(), gm = (t) => new Date(t).toDateString() === Ct.toDateString(), Sm = On((t, e, s) => {
190
- const i = Math.round((new Date(t).getTime() - Ct.getTime()) / Lc);
191
- return i < e || i > s ? Gc(t) : Bc.format(i, "days");
189
+ }), Lc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Nc = 1e3 * 86400, Ct = /* @__PURE__ */ new Date(), gm = (t) => new Date(t).toDateString() === Ct.toDateString(), Sm = On((t, e, s) => {
190
+ const i = Math.round((new Date(t).getTime() - Ct.getTime()) / Nc);
191
+ return i < e || i > s ? Bc(t) : Lc.format(i, "days");
192
192
  });
193
- function Nc(t) {
193
+ function Hc(t) {
194
194
  return new Uint8Array(t).reduce((s, i) => s + i.toString(16).padStart(2, "0"), "");
195
195
  }
196
196
  const Zt = async (t, e) => {
@@ -210,7 +210,7 @@ function Ke(t) {
210
210
  return;
211
211
  }
212
212
  crypto.subtle.digest("SHA-1", n).then((a) => {
213
- const c = Nc(a);
213
+ const c = Hc(a);
214
214
  e(c);
215
215
  });
216
216
  }, i.readAsArrayBuffer(t);
@@ -223,7 +223,7 @@ function _m(t) {
223
223
  }
224
224
  return `${t.name}&${t.type}${t.size}`;
225
225
  }
226
- function Hc(t, e) {
226
+ function Wc(t, e) {
227
227
  return new File([t], e, { type: t.type });
228
228
  }
229
229
  function Pm(t, e) {
@@ -242,7 +242,7 @@ const Tm = async (t) => {
242
242
  };
243
243
  }
244
244
  return Object.values(e);
245
- }, Wc = async (t) => (await fetch(t)).blob(), Fm = (t) => new Promise((e, s) => {
245
+ }, Kc = async (t) => (await fetch(t)).blob(), Fm = (t) => new Promise((e, s) => {
246
246
  const i = new FileReader();
247
247
  i.onloadend = () => {
248
248
  var n;
@@ -251,7 +251,7 @@ const Tm = async (t) => {
251
251
  });
252
252
  function Om(t) {
253
253
  const e = new Blob([t]);
254
- vc(e, t.name);
254
+ wc(e, t.name);
255
255
  }
256
256
  const Qt = {};
257
257
  function Rm(t, e, s, ...i) {
@@ -259,11 +259,11 @@ function Rm(t, e, s, ...i) {
259
259
  let a = !1;
260
260
  n ? n[e] || (n[e] = !0, a = !0) : (Qt[t] = { [e]: !0 }, a = !0), a && console[s](...i);
261
261
  }
262
- const Kc = ["created_at", "updated_at", "index", "revision"];
262
+ const Yc = ["created_at", "updated_at", "index", "revision"];
263
263
  function F(t) {
264
264
  return { ...t, uuid: Be() };
265
265
  }
266
- function Yc(t) {
266
+ function Jc(t) {
267
267
  const e = {};
268
268
  for (const s of t)
269
269
  e[s.uuid] = s;
@@ -292,7 +292,7 @@ function km(t, e) {
292
292
  return s.slice(0, s.lastIndexOf(" ")) + "…";
293
293
  }
294
294
  const y = (t) => (e) => (s) => t(s, e);
295
- function Jc(t, e, s) {
295
+ function Zc(t, e, s) {
296
296
  return s.findIndex((i) => i.uuid === t.uuid) === e;
297
297
  }
298
298
  function Em(t, e, s) {
@@ -301,7 +301,7 @@ function Em(t, e, s) {
301
301
  const qm = /^.+@.+\..+$/;
302
302
  function E(t) {
303
303
  const e = { ...t };
304
- for (const s of [...Kc, "created_by"])
304
+ for (const s of [...Yc, "created_by"])
305
305
  s in e && delete e[s];
306
306
  return e;
307
307
  }
@@ -326,12 +326,12 @@ const V = O(
326
326
  deleteConversations: V.deleteMany
327
327
  }
328
328
  }), {
329
- initializeConversations: Zc,
330
- addConversation: Qc,
329
+ initializeConversations: Qc,
330
+ addConversation: Xc,
331
331
  addConversations: jm,
332
- setConversation: Xc,
332
+ setConversation: er,
333
333
  setConversations: Mm,
334
- updateConversation: er,
334
+ updateConversation: tr,
335
335
  updateConversations: zm,
336
336
  deleteConversation: Dm,
337
337
  deleteConversations: xm
@@ -343,7 +343,7 @@ const V = O(
343
343
  [In, (t, e) => e],
344
344
  (t, e) => t[e]
345
345
  )
346
- ), tr = Rn.reducer, C = O(
346
+ ), sr = Rn.reducer, C = O(
347
347
  (t) => t.uuid
348
348
  ), es = C.getInitialState({}), vn = P({
349
349
  name: "assetAttachments",
@@ -367,21 +367,21 @@ const V = O(
367
367
  initializeAssetAttachments: ts,
368
368
  addAssetAttachment: Cm,
369
369
  addAssetAttachments: wn,
370
- setAssetAttachment: sr,
370
+ setAssetAttachment: ir,
371
371
  setAssetAttachments: $m,
372
372
  updateAssetAttachment: Gm,
373
- updateAssetAttachments: ir,
374
- deleteAssetAttachment: nr,
373
+ updateAssetAttachments: nr,
374
+ deleteAssetAttachment: ar,
375
375
  deleteAssetAttachments: kn
376
- } = vn.actions, ar = (t) => t.assetAttachmentReducer.instances, cr = p(
377
- [ar],
376
+ } = vn.actions, cr = (t) => t.assetAttachmentReducer.instances, rr = p(
377
+ [cr],
378
378
  (t) => Object.values(t)
379
- ), rr = (t) => (e) => e.assetAttachmentReducer.instances[t], or = y(
379
+ ), or = (t) => (e) => e.assetAttachmentReducer.instances[t], dr = y(
380
380
  p(
381
- [cr, (t, e) => e],
381
+ [rr, (t, e) => e],
382
382
  (t, e) => b(t.filter(({ asset: s }) => e === s))
383
383
  )
384
- ), dr = vn.reducer, $ = O((t) => t.uuid), ss = $.getInitialState({}), En = P({
384
+ ), ur = vn.reducer, $ = O((t) => t.uuid), ss = $.getInitialState({}), En = P({
385
385
  name: "assetProcedureAttachments",
386
386
  initialState: ss,
387
387
  extraReducers: (t) => t.addMatcher(
@@ -400,29 +400,29 @@ const V = O(
400
400
  deleteAssetProcedureAttachments: $.deleteMany
401
401
  }
402
402
  }), {
403
- initializeAssetProcedureAttachments: ur,
403
+ initializeAssetProcedureAttachments: lr,
404
404
  addAssetProcedureAttachment: Bm,
405
- addAssetProcedureAttachments: lr,
406
- setAssetProcedureAttachment: hr,
405
+ addAssetProcedureAttachments: hr,
406
+ setAssetProcedureAttachment: pr,
407
407
  setAssetProcedureAttachments: Lm,
408
408
  updateAssetProcedureAttachment: Nm,
409
- updateAssetProcedureAttachments: pr,
410
- deleteAssetProcedureAttachment: mr,
411
- deleteAssetProcedureAttachments: Ar
412
- } = En.actions, fr = (t) => t.assetProcedureAttachmentReducer.instances, yr = p(
413
- [fr],
409
+ updateAssetProcedureAttachments: mr,
410
+ deleteAssetProcedureAttachment: Ar,
411
+ deleteAssetProcedureAttachments: fr
412
+ } = En.actions, yr = (t) => t.assetProcedureAttachmentReducer.instances, br = p(
413
+ [yr],
414
414
  (t) => Object.values(t)
415
- ), br = (t) => (e) => e.assetProcedureAttachmentReducer.instances[t], Hm = y(
415
+ ), gr = (t) => (e) => e.assetProcedureAttachmentReducer.instances[t], Hm = y(
416
416
  p(
417
417
  [
418
- yr,
418
+ br,
419
419
  (t, e) => e
420
420
  ],
421
421
  (t, e) => b(
422
422
  t.filter(({ asset_procedure: s }) => e === s)
423
423
  )
424
424
  )
425
- ), gr = En.reducer, G = O((t) => t.uuid), is = G.getInitialState({}), qn = P({
425
+ ), Sr = En.reducer, G = O((t) => t.uuid), is = G.getInitialState({}), qn = P({
426
426
  name: "assetProcedureFieldsAttachments",
427
427
  initialState: is,
428
428
  extraReducers: (t) => t.addMatcher(
@@ -441,21 +441,21 @@ const V = O(
441
441
  deleteAssetProcedureFieldsAttachments: G.deleteMany
442
442
  }
443
443
  }), {
444
- initializeAssetProcedureFieldsAttachments: Sr,
444
+ initializeAssetProcedureFieldsAttachments: _r,
445
445
  addAssetProcedureFieldsAttachment: Wm,
446
- addAssetProcedureFieldsAttachments: _r,
446
+ addAssetProcedureFieldsAttachments: Pr,
447
447
  setAssetProcedureFieldsAttachment: Km,
448
448
  setAssetProcedureFieldsAttachments: Ym,
449
449
  updateAssetProcedureFieldsAttachment: Jm,
450
- updateAssetProcedureFieldsAttachments: Pr,
450
+ updateAssetProcedureFieldsAttachments: Tr,
451
451
  deleteAssetProcedureFieldsAttachment: Zm,
452
- deleteAssetProcedureFieldsAttachments: Tr
453
- } = qn.actions, Fr = (t) => t.assetProcedureFieldsAttachmentReducer.instances, Or = p(
454
- [Fr],
452
+ deleteAssetProcedureFieldsAttachments: Fr
453
+ } = qn.actions, Or = (t) => t.assetProcedureFieldsAttachmentReducer.instances, Rr = p(
454
+ [Or],
455
455
  (t) => Object.values(t)
456
456
  ), Qm = y(
457
- p([Or, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
458
- ), Xm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], Rr = qn.reducer, B = O(
457
+ p([Rr, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
458
+ ), Xm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], Ir = qn.reducer, B = O(
459
459
  (t) => t.uuid
460
460
  ), ns = B.getInitialState({}), jn = P({
461
461
  name: "assetProcedureFields",
@@ -476,23 +476,23 @@ const V = O(
476
476
  deleteAssetProcedureFieldsMany: B.deleteMany
477
477
  }
478
478
  }), {
479
- initializeAssetProcedureFields: Ir,
480
- addAssetProcedureFields: vr,
479
+ initializeAssetProcedureFields: vr,
480
+ addAssetProcedureFields: wr,
481
481
  addAssetProcedureFieldsMany: eA,
482
482
  setAssetProcedureFields: tA,
483
483
  setAssetProcedureFieldsMany: sA,
484
- updateAssetProcedureFields: wr,
484
+ updateAssetProcedureFields: kr,
485
485
  updateAssetProcedureFieldsMany: iA,
486
- deleteAssetProcedureFields: kr,
486
+ deleteAssetProcedureFields: Er,
487
487
  deleteAssetProcedureFieldsMany: nA
488
- } = jn.actions, Er = (t) => t.assetProcedureFieldsReducer.instances, Mn = p([Er], (t) => Object.values(t)), aA = y(
488
+ } = jn.actions, qr = (t) => t.assetProcedureFieldsReducer.instances, Mn = p([qr], (t) => Object.values(t)), aA = y(
489
489
  p(
490
490
  [Mn, (t, e) => e],
491
491
  (t, e) => b(t.filter((s) => s.asset_procedure === e))
492
492
  )
493
493
  ), cA = y(
494
494
  p([Mn, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
495
- ), rA = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], qr = jn.reducer, L = O((t) => t.uuid), as = L.getInitialState({}), zn = P({
495
+ ), rA = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], jr = jn.reducer, L = O((t) => t.uuid), as = L.getInitialState({}), zn = P({
496
496
  name: "assetProcedureFieldValuesAttachments",
497
497
  initialState: as,
498
498
  extraReducers: (t) => t.addMatcher(
@@ -511,19 +511,19 @@ const V = O(
511
511
  deleteAssetProcedureFieldValuesAttachments: L.deleteMany
512
512
  }
513
513
  }), {
514
- initializeAssetProcedureFieldValuesAttachments: jr,
514
+ initializeAssetProcedureFieldValuesAttachments: Mr,
515
515
  addAssetProcedureFieldValuesAttachment: oA,
516
516
  addAssetProcedureFieldValuesAttachments: vt,
517
517
  setAssetProcedureFieldValuesAttachment: dA,
518
518
  setAssetProcedureFieldValuesAttachments: uA,
519
519
  updateAssetProcedureFieldValuesAttachment: lA,
520
- updateAssetProcedureFieldValuesAttachments: Mr,
520
+ updateAssetProcedureFieldValuesAttachments: zr,
521
521
  deleteAssetProcedureFieldValuesAttachment: hA,
522
522
  deleteAssetProcedureFieldValuesAttachments: wt
523
- } = zn.actions, Dn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, zr = p(
523
+ } = zn.actions, Dn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, Dr = p(
524
524
  [Dn],
525
525
  (t) => Object.values(t)
526
- ), pA = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], Dr = y(
526
+ ), pA = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], xr = y(
527
527
  p(
528
528
  [
529
529
  Dn,
@@ -534,12 +534,12 @@ const V = O(
534
534
  return b(Object.values(t).filter((i) => s.has(i.uuid)));
535
535
  }
536
536
  )
537
- ), xr = y(
537
+ ), Ur = y(
538
538
  p(
539
- [zr, (t, e) => e],
539
+ [Dr, (t, e) => e],
540
540
  (t, e) => b(t.filter((s) => s.field_values === e))
541
541
  )
542
- ), Ur = zn.reducer, N = O((t) => t.uuid), cs = N.getInitialState({}), xn = P({
542
+ ), Vr = zn.reducer, N = O((t) => t.uuid), cs = N.getInitialState({}), xn = P({
543
543
  name: "assetProcedureFieldValues",
544
544
  initialState: cs,
545
545
  extraReducers: (t) => t.addMatcher(
@@ -558,23 +558,23 @@ const V = O(
558
558
  deleteAssetProcedureFieldValuesMany: N.deleteMany
559
559
  }
560
560
  }), {
561
- initializeAssetProcedureFieldValues: Vr,
561
+ initializeAssetProcedureFieldValues: Cr,
562
562
  addAssetProcedureFieldValues: rs,
563
- addAssetProcedureFieldValuesMany: Cr,
563
+ addAssetProcedureFieldValuesMany: $r,
564
564
  setAssetProcedureFieldValues: mA,
565
565
  setAssetProcedureFieldValuesMany: AA,
566
566
  updateAssetProcedureFieldValues: tt,
567
- updateAssetProcedureFieldValuesMany: $r,
567
+ updateAssetProcedureFieldValuesMany: Gr,
568
568
  deleteAssetProcedureFieldValues: os,
569
- deleteAssetProcedureFieldValuesMany: Gr
570
- } = xn.actions, Br = (t) => t.assetProcedureFieldValuesReducer.instances, Un = p(
571
- [Br],
569
+ deleteAssetProcedureFieldValuesMany: Br
570
+ } = xn.actions, Lr = (t) => t.assetProcedureFieldValuesReducer.instances, Un = p(
571
+ [Lr],
572
572
  (t) => Object.values(t)
573
573
  ), fA = y(
574
574
  p([Un, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
575
575
  ), yA = y(
576
576
  p([Un, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
577
- ), ds = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t], Lr = xn.reducer, H = O((t) => t.uuid), us = H.getInitialState({}), Vn = P({
577
+ ), ds = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t], Nr = xn.reducer, H = O((t) => t.uuid), us = H.getInitialState({}), Vn = P({
578
578
  name: "assetProcedureInstances",
579
579
  initialState: us,
580
580
  extraReducers: (t) => t.addMatcher(
@@ -593,19 +593,19 @@ const V = O(
593
593
  deleteAssetProcedureInstances: H.deleteMany
594
594
  }
595
595
  }), {
596
- initializeAssetProcedureInstances: Nr,
596
+ initializeAssetProcedureInstances: Hr,
597
597
  addAssetProcedureInstance: ls,
598
- addAssetProcedureInstances: Hr,
598
+ addAssetProcedureInstances: Wr,
599
599
  updateAssetProcedureInstance: st,
600
600
  updateAssetProcedureInstances: bA,
601
601
  deleteAssetProcedureInstance: hs,
602
- deleteAssetProcedureInstances: Wr,
602
+ deleteAssetProcedureInstances: Kr,
603
603
  setAssetProcedureInstance: gA,
604
604
  setAssetProcedureInstances: SA
605
605
  } = Vn.actions, Cn = (t) => t.assetProcedureInstanceReducer.instances, $n = p(
606
606
  [Cn],
607
607
  (t) => Object.values(t)
608
- ), Kr = y(
608
+ ), Yr = y(
609
609
  p(
610
610
  [$n, (t, e) => e],
611
611
  (t, e) => b(
@@ -635,7 +635,7 @@ const V = O(
635
635
  return b(s);
636
636
  }
637
637
  )
638
- ), Yr = Vn.reducer, W = O(
638
+ ), Jr = Vn.reducer, W = O(
639
639
  (t) => t.uuid
640
640
  ), ms = W.getInitialState({}), Gn = P({
641
641
  name: "assetProcedures",
@@ -656,7 +656,7 @@ const V = O(
656
656
  deleteAssetProcedures: W.deleteMany
657
657
  }
658
658
  }), {
659
- initializeAssetProcedures: Jr,
659
+ initializeAssetProcedures: Zr,
660
660
  addAssetProcedure: As,
661
661
  addAssetProcedures: TA,
662
662
  updateAssetProcedure: it,
@@ -665,7 +665,7 @@ const V = O(
665
665
  deleteAssetProcedures: OA,
666
666
  setAssetProcedure: RA,
667
667
  setAssetProcedures: IA
668
- } = Gn.actions, Bn = (t) => t.assetProcedureReducer.instances, Zr = p([Bn], (t) => Object.values(t)), ys = (t) => (e) => e.assetProcedureReducer.instances[t], vA = y(
668
+ } = Gn.actions, Bn = (t) => t.assetProcedureReducer.instances, Qr = p([Bn], (t) => Object.values(t)), ys = (t) => (e) => e.assetProcedureReducer.instances[t], vA = y(
669
669
  p(
670
670
  [Bn, (t, e) => e],
671
671
  (t, e) => {
@@ -678,8 +678,8 @@ const V = O(
678
678
  }
679
679
  )
680
680
  ), wA = y(
681
- p([Zr, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
682
- ), Qr = Gn.reducer, K = O((t) => t.uuid), bs = K.getInitialState(
681
+ p([Qr, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
682
+ ), Xr = Gn.reducer, K = O((t) => t.uuid), bs = K.getInitialState(
683
683
  {}
684
684
  ), Ln = P({
685
685
  name: "assetProcedureStepFieldsAttachments",
@@ -700,21 +700,21 @@ const V = O(
700
700
  deleteAssetProcedureStepFieldsAttachments: K.deleteMany
701
701
  }
702
702
  }), {
703
- initializeAssetProcedureStepFieldsAttachments: Xr,
703
+ initializeAssetProcedureStepFieldsAttachments: eo,
704
704
  addAssetProcedureStepFieldsAttachment: kA,
705
- addAssetProcedureStepFieldsAttachments: eo,
705
+ addAssetProcedureStepFieldsAttachments: to,
706
706
  setAssetProcedureStepFieldsAttachment: EA,
707
707
  setAssetProcedureStepFieldsAttachments: qA,
708
708
  updateAssetProcedureStepFieldsAttachment: jA,
709
- updateAssetProcedureStepFieldsAttachments: to,
709
+ updateAssetProcedureStepFieldsAttachments: so,
710
710
  deleteAssetProcedureStepFieldsAttachment: MA,
711
- deleteAssetProcedureStepFieldsAttachments: so
712
- } = Ln.actions, io = (t) => t.assetProcedureStepFieldsAttachmentReducer.instances, no = p(
713
- [io],
711
+ deleteAssetProcedureStepFieldsAttachments: io
712
+ } = Ln.actions, no = (t) => t.assetProcedureStepFieldsAttachmentReducer.instances, ao = p(
713
+ [no],
714
714
  (t) => Object.values(t)
715
715
  ), zA = y(
716
- p([no, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
717
- ), DA = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t], ao = Ln.reducer, Y = O((t) => t.uuid), gs = Y.getInitialState({}), Nn = P({
716
+ p([ao, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
717
+ ), DA = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t], co = Ln.reducer, Y = O((t) => t.uuid), gs = Y.getInitialState({}), Nn = P({
718
718
  name: "assetProcedureStepFields",
719
719
  initialState: gs,
720
720
  extraReducers: (t) => t.addMatcher(
@@ -733,7 +733,7 @@ const V = O(
733
733
  deleteAssetProcedureStepFieldsMany: Y.deleteMany
734
734
  }
735
735
  }), {
736
- initializeAssetProcedureStepFields: co,
736
+ initializeAssetProcedureStepFields: ro,
737
737
  addAssetProcedureStepFields: Ss,
738
738
  addAssetProcedureStepFieldsMany: xA,
739
739
  setAssetProcedureStepFields: UA,
@@ -762,7 +762,7 @@ const V = O(
762
762
  }
763
763
  return e;
764
764
  }
765
- ), NA = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t], ro = Nn.reducer, J = O((t) => t.uuid), Ps = J.getInitialState({}), Kn = P({
765
+ ), NA = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t], oo = Nn.reducer, J = O((t) => t.uuid), Ps = J.getInitialState({}), Kn = P({
766
766
  name: "assetProcedureStepFieldValuesAttachments",
767
767
  initialState: Ps,
768
768
  extraReducers: (t) => t.addMatcher(
@@ -781,19 +781,19 @@ const V = O(
781
781
  deleteAssetProcedureStepFieldValuesAttachments: J.deleteMany
782
782
  }
783
783
  }), {
784
- initializeAssetProcedureStepFieldValuesAttachments: oo,
784
+ initializeAssetProcedureStepFieldValuesAttachments: uo,
785
785
  addAssetProcedureStepFieldValuesAttachment: HA,
786
786
  addAssetProcedureStepFieldValuesAttachments: kt,
787
787
  setAssetProcedureStepFieldValuesAttachment: WA,
788
788
  setAssetProcedureStepFieldValuesAttachments: KA,
789
789
  updateAssetProcedureStepFieldValuesAttachment: YA,
790
- updateAssetProcedureStepFieldValuesAttachments: uo,
790
+ updateAssetProcedureStepFieldValuesAttachments: lo,
791
791
  deleteAssetProcedureStepFieldValuesAttachment: JA,
792
792
  deleteAssetProcedureStepFieldValuesAttachments: Et
793
- } = Kn.actions, Yn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, lo = p(
793
+ } = Kn.actions, Yn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, ho = p(
794
794
  [Yn],
795
795
  (t) => Object.values(t)
796
- ), ZA = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t], ho = y(
796
+ ), ZA = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t], po = y(
797
797
  p(
798
798
  [
799
799
  Yn,
@@ -804,12 +804,12 @@ const V = O(
804
804
  return b(Object.values(t).filter((i) => s.has(i.uuid)));
805
805
  }
806
806
  )
807
- ), po = y(
807
+ ), mo = y(
808
808
  p(
809
- [lo, (t, e) => e],
809
+ [ho, (t, e) => e],
810
810
  (t, e) => b(t.filter((s) => s.field_values === e))
811
811
  )
812
- ), mo = Kn.reducer, Z = O((t) => t.uuid), Ts = Z.getInitialState({}), Jn = P({
812
+ ), Ao = Kn.reducer, Z = O((t) => t.uuid), Ts = Z.getInitialState({}), Jn = P({
813
813
  name: "assetProcedureStepFieldValues",
814
814
  initialState: Ts,
815
815
  extraReducers: (t) => t.addMatcher(
@@ -828,17 +828,17 @@ const V = O(
828
828
  deleteAssetProcedureStepFieldValuesMany: Z.deleteMany
829
829
  }
830
830
  }), {
831
- initializeAssetProcedureStepFieldValues: Ao,
831
+ initializeAssetProcedureStepFieldValues: fo,
832
832
  addAssetProcedureStepFieldValues: Fs,
833
- addAssetProcedureStepFieldValuesMany: fo,
833
+ addAssetProcedureStepFieldValuesMany: yo,
834
834
  setAssetProcedureStepFieldValues: QA,
835
835
  setAssetProcedureStepFieldValuesMany: XA,
836
836
  updateAssetProcedureStepFieldValues: at,
837
- updateAssetProcedureStepFieldValuesMany: yo,
837
+ updateAssetProcedureStepFieldValuesMany: bo,
838
838
  deleteAssetProcedureStepFieldValues: Os,
839
- deleteAssetProcedureStepFieldValuesMany: bo
840
- } = Jn.actions, go = (t) => t.assetProcedureStepFieldValuesReducer.instances, $t = p(
841
- [go],
839
+ deleteAssetProcedureStepFieldValuesMany: go
840
+ } = Jn.actions, So = (t) => t.assetProcedureStepFieldValuesReducer.instances, $t = p(
841
+ [So],
842
842
  (t) => Object.values(t)
843
843
  ), ef = y(
844
844
  p(
@@ -849,7 +849,7 @@ const V = O(
849
849
  p([$t, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
850
850
  ), sf = y(
851
851
  p([$t, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_step === e)))
852
- ), Rs = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t], So = Jn.reducer, Q = O(
852
+ ), Rs = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t], _o = Jn.reducer, Q = O(
853
853
  (t) => t.uuid
854
854
  ), Is = Q.getInitialState({}), Zn = P({
855
855
  name: "assetProcedureSteps",
@@ -870,8 +870,8 @@ const V = O(
870
870
  deleteAssetProcedureSteps: Q.deleteMany
871
871
  }
872
872
  }), {
873
- initializeAssetProcedureSteps: _o,
874
- setAssetProcedureStep: Po,
873
+ initializeAssetProcedureSteps: Po,
874
+ setAssetProcedureStep: To,
875
875
  setAssetProcedureSteps: nf,
876
876
  addAssetProcedureStep: af,
877
877
  addAssetProcedureSteps: vs,
@@ -879,7 +879,7 @@ const V = O(
879
879
  updateAssetProcedureSteps: bt,
880
880
  deleteAssetProcedureStep: cf,
881
881
  deleteAssetProcedureSteps: ks
882
- } = Zn.actions, To = Zn.reducer, Gt = (t) => t.assetProcedureStepReducer.instances, Fo = (t) => (e) => e.assetProcedureStepReducer.instances[t], Oo = p([Gt], (t) => Object.values(t)), rf = y(
882
+ } = Zn.actions, Fo = Zn.reducer, Gt = (t) => t.assetProcedureStepReducer.instances, Oo = (t) => (e) => e.assetProcedureStepReducer.instances[t], Ro = p([Gt], (t) => Object.values(t)), rf = y(
883
883
  p([Gt, (t, e) => e], (t, e) => {
884
884
  const s = {};
885
885
  for (const [i, n] of Object.entries(t))
@@ -887,7 +887,7 @@ const V = O(
887
887
  return Ze(s);
888
888
  })
889
889
  ), of = y(
890
- p([Oo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
890
+ p([Ro, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
891
891
  ), Es = y(
892
892
  p(
893
893
  [Gt, (t, e) => e],
@@ -919,7 +919,7 @@ const V = O(
919
919
  deleteAssets: X.deleteMany
920
920
  }
921
921
  }), {
922
- initializeAssets: Ro,
922
+ initializeAssets: Io,
923
923
  addAsset: js,
924
924
  addAssets: qt,
925
925
  updateAsset: ct,
@@ -928,9 +928,9 @@ const V = O(
928
928
  deleteAssets: Xn,
929
929
  setAsset: uf,
930
930
  setAssets: lf
931
- } = Qn.actions, ea = (t) => t.assetReducer.instances, Io = p([ea], (t) => b(Object.values(t))), ta = y(
932
- p([Io, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
933
- ), zs = (t) => (e) => e.assetReducer.instances[t], vo = y(
931
+ } = Qn.actions, ea = (t) => t.assetReducer.instances, vo = p([ea], (t) => b(Object.values(t))), ta = y(
932
+ p([vo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
933
+ ), zs = (t) => (e) => e.assetReducer.instances[t], wo = y(
934
934
  p([ea, (t, e) => e], (t, e) => {
935
935
  const s = [];
936
936
  for (const i of e) {
@@ -939,7 +939,7 @@ const V = O(
939
939
  }
940
940
  return b(s);
941
941
  })
942
- ), hf = (t) => (e) => ta(t)(e).length, wo = Qn.reducer, ee = O(
942
+ ), hf = (t) => (e) => ta(t)(e).length, ko = Qn.reducer, ee = O(
943
943
  (t) => t.uuid
944
944
  ), Ds = ee.getInitialState({}), sa = P({
945
945
  name: "assetStageCompletions",
@@ -960,19 +960,19 @@ const V = O(
960
960
  deleteAssetStageCompletions: ee.deleteMany
961
961
  }
962
962
  }), {
963
- initializeAssetStageCompletions: ko,
963
+ initializeAssetStageCompletions: Eo,
964
964
  addAssetStageCompletion: xs,
965
965
  addAssetStageCompletions: Us,
966
966
  setAssetStageCompletion: pf,
967
967
  setAssetStageCompletions: mf,
968
- updateAssetStageCompletion: Eo,
969
- updateAssetStageCompletions: qo,
968
+ updateAssetStageCompletion: qo,
969
+ updateAssetStageCompletions: jo,
970
970
  deleteAssetStageCompletion: Vs,
971
971
  deleteAssetStageCompletions: Cs
972
- } = sa.actions, jo = sa.reducer, ia = (t) => t.assetStageCompletionReducer.instances, Af = p(
972
+ } = sa.actions, Mo = sa.reducer, ia = (t) => t.assetStageCompletionReducer.instances, Af = p(
973
973
  [ia],
974
974
  (t) => Object.values(t)
975
- ), Mo = (t) => (e) => e.assetStageCompletionReducer.instances[t], zo = y(
975
+ ), zo = (t) => (e) => e.assetStageCompletionReducer.instances[t], Do = y(
976
976
  p(
977
977
  [ia, (t, e) => e],
978
978
  (t, e) => {
@@ -1003,8 +1003,8 @@ const V = O(
1003
1003
  deleteAssetStages: te.deleteMany
1004
1004
  }
1005
1005
  }), {
1006
- initializeAssetStages: Do,
1007
- setAssetStage: xo,
1006
+ initializeAssetStages: xo,
1007
+ setAssetStage: Uo,
1008
1008
  setAssetStages: ff,
1009
1009
  addAssetStage: yf,
1010
1010
  addAssetStages: Gs,
@@ -1012,7 +1012,7 @@ const V = O(
1012
1012
  updateAssetStages: gt,
1013
1013
  deleteAssetStage: bf,
1014
1014
  deleteAssetStages: Ls
1015
- } = na.actions, Uo = na.reducer, Bt = (t) => t.assetStageReducer.instances, Vo = (t) => (e) => e.assetStageReducer.instances[t], Co = p([Bt], (t) => Object.values(t)), gf = y(
1015
+ } = na.actions, Vo = na.reducer, Bt = (t) => t.assetStageReducer.instances, Co = (t) => (e) => e.assetStageReducer.instances[t], $o = p([Bt], (t) => Object.values(t)), gf = y(
1016
1016
  p([Bt, (t, e) => e], (t, e) => {
1017
1017
  const s = {};
1018
1018
  for (const [i, n] of Object.entries(t))
@@ -1020,7 +1020,7 @@ const V = O(
1020
1020
  return Ze(s);
1021
1021
  })
1022
1022
  ), Sf = y(
1023
- p([Co, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
1023
+ p([$o, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
1024
1024
  ), Ns = y(
1025
1025
  p([Bt, (t, e) => e], (t, e) => {
1026
1026
  const s = [];
@@ -1051,24 +1051,24 @@ const V = O(
1051
1051
  deleteAssetTypeAttachments: se.deleteMany
1052
1052
  }
1053
1053
  }), {
1054
- initializeAssetTypeAttachments: $o,
1054
+ initializeAssetTypeAttachments: Go,
1055
1055
  addAssetTypeAttachment: _f,
1056
1056
  addAssetTypeAttachments: ca,
1057
- setAssetTypeAttachment: Go,
1057
+ setAssetTypeAttachment: Bo,
1058
1058
  setAssetTypeAttachments: Pf,
1059
1059
  updateAssetTypeAttachment: Tf,
1060
- updateAssetTypeAttachments: Bo,
1061
- deleteAssetTypeAttachment: Lo,
1060
+ updateAssetTypeAttachments: Lo,
1061
+ deleteAssetTypeAttachment: No,
1062
1062
  deleteAssetTypeAttachments: ra
1063
- } = aa.actions, No = (t) => t.assetTypeAttachmentReducer.instances, Ho = p(
1064
- [No],
1063
+ } = aa.actions, Ho = (t) => t.assetTypeAttachmentReducer.instances, Wo = p(
1064
+ [Ho],
1065
1065
  (t) => Object.values(t)
1066
- ), Wo = (t) => (e) => e.assetTypeAttachmentReducer.instances[t], Ko = y(
1066
+ ), Ko = (t) => (e) => e.assetTypeAttachmentReducer.instances[t], Yo = y(
1067
1067
  p(
1068
- [Ho, (t, e) => e],
1068
+ [Wo, (t, e) => e],
1069
1069
  (t, e) => b(t.filter(({ asset_type: s }) => e === s))
1070
1070
  )
1071
- ), Yo = aa.reducer, ie = O((t) => t.uuid), Ws = ie.getInitialState({}), oa = P({
1071
+ ), Jo = aa.reducer, ie = O((t) => t.uuid), Ws = ie.getInitialState({}), oa = P({
1072
1072
  name: "assetTypeFieldsAttachments",
1073
1073
  initialState: Ws,
1074
1074
  extraReducers: (t) => t.addMatcher(
@@ -1087,21 +1087,21 @@ const V = O(
1087
1087
  deleteAssetTypeFieldsAttachments: ie.deleteMany
1088
1088
  }
1089
1089
  }), {
1090
- initializeAssetTypeFieldsAttachments: Jo,
1090
+ initializeAssetTypeFieldsAttachments: Zo,
1091
1091
  addAssetTypeFieldsAttachment: Ff,
1092
- addAssetTypeFieldsAttachments: Zo,
1092
+ addAssetTypeFieldsAttachments: Qo,
1093
1093
  setAssetTypeFieldsAttachment: Of,
1094
1094
  setAssetTypeFieldsAttachments: Rf,
1095
1095
  updateAssetTypeFieldsAttachment: If,
1096
- updateAssetTypeFieldsAttachments: Qo,
1096
+ updateAssetTypeFieldsAttachments: Xo,
1097
1097
  deleteAssetTypeFieldsAttachment: vf,
1098
- deleteAssetTypeFieldsAttachments: Xo
1099
- } = oa.actions, ed = (t) => t.assetTypeFieldsAttachmentReducer.instances, td = p(
1100
- [ed],
1098
+ deleteAssetTypeFieldsAttachments: ed
1099
+ } = oa.actions, td = (t) => t.assetTypeFieldsAttachmentReducer.instances, sd = p(
1100
+ [td],
1101
1101
  (t) => Object.values(t)
1102
1102
  ), wf = y(
1103
- p([td, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
1104
- ), kf = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], sd = oa.reducer, ne = O(
1103
+ p([sd, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
1104
+ ), kf = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], id = oa.reducer, ne = O(
1105
1105
  (t) => t.uuid
1106
1106
  ), Ks = ne.getInitialState({}), da = P({
1107
1107
  name: "assetTypeFields",
@@ -1122,20 +1122,20 @@ const V = O(
1122
1122
  deleteAssetTypeFieldsMany: ne.deleteMany
1123
1123
  }
1124
1124
  }), {
1125
- initializeAssetTypeFields: id,
1126
- addAssetTypeFields: nd,
1125
+ initializeAssetTypeFields: nd,
1126
+ addAssetTypeFields: ad,
1127
1127
  addAssetTypeFieldsMany: Ef,
1128
1128
  setAssetTypeFields: qf,
1129
1129
  setAssetTypeFieldsMany: jf,
1130
- updateAssetTypeFields: ad,
1130
+ updateAssetTypeFields: cd,
1131
1131
  updateAssetTypeFieldsMany: Mf,
1132
- deleteAssetTypeFields: cd,
1132
+ deleteAssetTypeFields: rd,
1133
1133
  deleteAssetTypeFieldsMany: zf
1134
- } = da.actions, rd = (t) => t.assetTypeFieldsReducer.instances, Lt = p([rd], (t) => Object.values(t)), Df = y(
1134
+ } = da.actions, od = (t) => t.assetTypeFieldsReducer.instances, Lt = p([od], (t) => Object.values(t)), Df = y(
1135
1135
  p([Lt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
1136
1136
  ), xf = y(
1137
1137
  p([Lt, (t, e) => e], (t, e) => t.filter((s) => s.asset_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
1138
- ), Uf = (t) => (e) => e.assetTypeFieldsReducer.instances[t], od = da.reducer, ae = O((t) => t.uuid), Ys = ae.getInitialState({}), ua = P({
1138
+ ), Uf = (t) => (e) => e.assetTypeFieldsReducer.instances[t], dd = da.reducer, ae = O((t) => t.uuid), Ys = ae.getInitialState({}), ua = P({
1139
1139
  name: "assetTypeFieldValuesAttachments",
1140
1140
  initialState: Ys,
1141
1141
  extraReducers: (t) => t.addMatcher(
@@ -1154,19 +1154,19 @@ const V = O(
1154
1154
  deleteAssetTypeFieldValuesAttachments: ae.deleteMany
1155
1155
  }
1156
1156
  }), {
1157
- initializeAssetTypeFieldValuesAttachments: dd,
1157
+ initializeAssetTypeFieldValuesAttachments: ud,
1158
1158
  addAssetTypeFieldValuesAttachment: Vf,
1159
1159
  addAssetTypeFieldValuesAttachments: jt,
1160
1160
  setAssetTypeFieldValuesAttachment: Cf,
1161
1161
  setAssetTypeFieldValuesAttachments: $f,
1162
1162
  updateAssetTypeFieldValuesAttachment: Gf,
1163
- updateAssetTypeFieldValuesAttachments: ud,
1163
+ updateAssetTypeFieldValuesAttachments: ld,
1164
1164
  deleteAssetTypeFieldValuesAttachment: Bf,
1165
1165
  deleteAssetTypeFieldValuesAttachments: Mt
1166
- } = ua.actions, la = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, ld = p(
1166
+ } = ua.actions, la = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, hd = p(
1167
1167
  [la],
1168
1168
  (t) => Object.values(t)
1169
- ), Lf = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], hd = y(
1169
+ ), Lf = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], pd = y(
1170
1170
  p(
1171
1171
  [
1172
1172
  la,
@@ -1179,9 +1179,9 @@ const V = O(
1179
1179
  );
1180
1180
  }
1181
1181
  )
1182
- ), pd = y(
1183
- p([ld, (t, e) => e], (t, e) => b(t.filter((s) => s.field_values === e)))
1184
- ), md = ua.reducer, ce = O(
1182
+ ), md = y(
1183
+ p([hd, (t, e) => e], (t, e) => b(t.filter((s) => s.field_values === e)))
1184
+ ), Ad = ua.reducer, ce = O(
1185
1185
  (t) => t.uuid
1186
1186
  ), Js = ce.getInitialState({}), ha = P({
1187
1187
  name: "assetTypeFieldValues",
@@ -1202,16 +1202,16 @@ const V = O(
1202
1202
  deleteAssetTypeFieldValuesMany: ce.deleteMany
1203
1203
  }
1204
1204
  }), {
1205
- initializeAssetTypeFieldValues: Ad,
1205
+ initializeAssetTypeFieldValues: fd,
1206
1206
  addAssetTypeFieldValues: Zs,
1207
- addAssetTypeFieldValuesMany: fd,
1207
+ addAssetTypeFieldValuesMany: yd,
1208
1208
  setAssetTypeFieldValues: Nf,
1209
1209
  setAssetTypeFieldValuesMany: Hf,
1210
1210
  updateAssetTypeFieldValues: rt,
1211
- updateAssetTypeFieldValuesMany: yd,
1211
+ updateAssetTypeFieldValuesMany: bd,
1212
1212
  deleteAssetTypeFieldValues: Qs,
1213
- deleteAssetTypeFieldValuesMany: bd
1214
- } = ha.actions, gd = (t) => t.assetTypeFieldValuesReducer.instances, pa = p([gd], (t) => Object.values(t)), Wf = y(
1213
+ deleteAssetTypeFieldValuesMany: gd
1214
+ } = ha.actions, Sd = (t) => t.assetTypeFieldValuesReducer.instances, pa = p([Sd], (t) => Object.values(t)), Wf = y(
1215
1215
  p([pa, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
1216
1216
  ), Kf = y(
1217
1217
  p(
@@ -1223,7 +1223,7 @@ const V = O(
1223
1223
  return b(e.filter((n) => i.has(n.fields_revision)));
1224
1224
  }
1225
1225
  )
1226
- ), Xs = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], Sd = ha.reducer, re = O((t) => t.uuid), ei = re.getInitialState({}), ma = P({
1226
+ ), Xs = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], _d = ha.reducer, re = O((t) => t.uuid), ei = re.getInitialState({}), ma = P({
1227
1227
  name: "assetTypes",
1228
1228
  initialState: ei,
1229
1229
  extraReducers: (t) => t.addMatcher(
@@ -1242,7 +1242,7 @@ const V = O(
1242
1242
  deleteAssetTypes: re.deleteMany
1243
1243
  }
1244
1244
  }), {
1245
- initializeAssetTypes: _d,
1245
+ initializeAssetTypes: Pd,
1246
1246
  setAssetType: Yf,
1247
1247
  setAssetTypes: Jf,
1248
1248
  addAssetType: ti,
@@ -1251,7 +1251,7 @@ const V = O(
1251
1251
  updateAssetTypes: Qf,
1252
1252
  deleteAssetType: si,
1253
1253
  deleteAssetTypes: Xf
1254
- } = ma.actions, Aa = (t) => t.assetTypeReducer.instances, Pd = p(
1254
+ } = ma.actions, Aa = (t) => t.assetTypeReducer.instances, Td = p(
1255
1255
  [Aa],
1256
1256
  (t) => Object.values(t)
1257
1257
  ), ii = (t) => (e) => e.assetTypeReducer.instances[t], ey = y(
@@ -1267,8 +1267,8 @@ const V = O(
1267
1267
  }
1268
1268
  )
1269
1269
  ), ty = y(
1270
- p([Pd, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
1271
- ), Td = ma.reducer, ni = {
1270
+ p([Td, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
1271
+ ), Fd = ma.reducer, ni = {
1272
1272
  accessToken: "",
1273
1273
  refreshToken: "",
1274
1274
  isLoggedIn: !1
@@ -1287,7 +1287,7 @@ const V = O(
1287
1287
  e.payload || Nt.caseReducers.clearTokens(t), t.isLoggedIn = e.payload;
1288
1288
  }
1289
1289
  }
1290
- }), { setTokens: sy, clearTokens: iy, setLoggedIn: Fd } = Nt.actions, ny = (t) => t.authReducer.accessToken, ay = (t) => t.authReducer.isLoggedIn, Od = Nt.reducer, oe = O((t) => t.uuid), ai = oe.getInitialState({}), fa = P({
1290
+ }), { setTokens: sy, clearTokens: iy, setLoggedIn: Od } = Nt.actions, ny = (t) => t.authReducer.accessToken, ay = (t) => t.authReducer.isLoggedIn, Rd = Nt.reducer, oe = O((t) => t.uuid), ai = oe.getInitialState({}), fa = P({
1291
1291
  name: "categories",
1292
1292
  initialState: ai,
1293
1293
  extraReducers: (t) => t.addMatcher(
@@ -1306,16 +1306,16 @@ const V = O(
1306
1306
  deleteCategories: oe.deleteMany
1307
1307
  }
1308
1308
  }), {
1309
- initializeCategories: Rd,
1309
+ initializeCategories: Id,
1310
1310
  addCategory: ci,
1311
1311
  addCategories: cy,
1312
1312
  setCategory: ry,
1313
1313
  setCategories: oy,
1314
- updateCategory: Id,
1314
+ updateCategory: vd,
1315
1315
  updateCategories: dy,
1316
- deleteCategory: vd,
1316
+ deleteCategory: wd,
1317
1317
  deleteCategories: uy
1318
- } = fa.actions, ya = (t) => t.categoryReducer.instances, wd = p([ya], (t) => Object.values(t)), ri = (t) => (e) => e.categoryReducer.instances[t], ly = y(
1318
+ } = fa.actions, ya = (t) => t.categoryReducer.instances, kd = p([ya], (t) => Object.values(t)), ri = (t) => (e) => e.categoryReducer.instances[t], ly = y(
1319
1319
  p(
1320
1320
  [ya, (t, e) => e],
1321
1321
  (t, e) => {
@@ -1328,8 +1328,8 @@ const V = O(
1328
1328
  }
1329
1329
  )
1330
1330
  ), hy = y(
1331
- p([wd, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1332
- ), py = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, kd = fa.reducer, de = O(
1331
+ p([kd, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1332
+ ), Ed = fa.reducer, de = O(
1333
1333
  (t) => t.uuid
1334
1334
  ), oi = de.getInitialState({}), ba = P({
1335
1335
  name: "documentAttachments",
@@ -1347,24 +1347,24 @@ const V = O(
1347
1347
  deleteDocumentAttachments: de.deleteMany
1348
1348
  }
1349
1349
  }), {
1350
- initializeDocumentAttachments: Ed,
1351
- addDocumentAttachment: my,
1352
- addDocumentAttachments: qd,
1353
- setDocumentAttachment: jd,
1354
- setDocumentAttachments: Ay,
1355
- updateDocumentAttachment: fy,
1356
- updateDocumentAttachments: Md,
1357
- deleteDocumentAttachment: zd,
1358
- deleteDocumentAttachments: Dd
1359
- } = ba.actions, xd = (t) => t.documentAttachmentReducer.instances, Ud = p(
1360
- [xd],
1350
+ initializeDocumentAttachments: qd,
1351
+ addDocumentAttachment: py,
1352
+ addDocumentAttachments: jd,
1353
+ setDocumentAttachment: Md,
1354
+ setDocumentAttachments: my,
1355
+ updateDocumentAttachment: Ay,
1356
+ updateDocumentAttachments: zd,
1357
+ deleteDocumentAttachment: Dd,
1358
+ deleteDocumentAttachments: xd
1359
+ } = ba.actions, Ud = (t) => t.documentAttachmentReducer.instances, Vd = p(
1360
+ [Ud],
1361
1361
  (t) => Object.values(t)
1362
- ), Vd = (t) => (e) => e.documentAttachmentReducer.instances[t], yy = y(
1362
+ ), Cd = (t) => (e) => e.documentAttachmentReducer.instances[t], fy = y(
1363
1363
  p(
1364
- [Ud, (t, e) => e],
1364
+ [Vd, (t, e) => e],
1365
1365
  (t, e) => b(t.filter(({ document: s }) => e === s))
1366
1366
  )
1367
- ), Cd = ba.reducer, di = {
1367
+ ), $d = ba.reducer, di = {
1368
1368
  documents: {}
1369
1369
  }, ga = P({
1370
1370
  name: "documents",
@@ -1374,9 +1374,9 @@ const V = O(
1374
1374
  }),
1375
1375
  reducers: {
1376
1376
  setDocuments: (t, e) => {
1377
- if (e.payload.filter(Jc).length !== e.payload.length)
1377
+ if (e.payload.filter(Zc).length !== e.payload.length)
1378
1378
  throw new Error("Tried to use setIssues reducer with duplicate ID's");
1379
- t.documents = Yc(e.payload);
1379
+ t.documents = Jc(e.payload);
1380
1380
  },
1381
1381
  addDocuments: (t, e) => {
1382
1382
  for (const s of e.payload)
@@ -1490,10 +1490,10 @@ const V = O(
1490
1490
  }
1491
1491
  }
1492
1492
  }
1493
- }), { setDocuments: $d, addDocuments: Gd, updateDocuments: Ue, moveDocument: Bd, removeDocuments: ui } = ga.actions, Ye = (t) => t.documentsReducer.documents, Ld = p(
1493
+ }), { setDocuments: Gd, addDocuments: Bd, updateDocuments: Ue, moveDocument: Ld, removeDocuments: ui } = ga.actions, Ye = (t) => t.documentsReducer.documents, Nd = p(
1494
1494
  [Ye],
1495
1495
  (t) => Object.values(t)
1496
- ), Nd = (t) => (e) => e.documentsReducer.documents[t], by = y(
1496
+ ), Hd = (t) => (e) => e.documentsReducer.documents[t], yy = y(
1497
1497
  p(
1498
1498
  [Ye, (t, e) => e],
1499
1499
  (t, e) => {
@@ -1505,7 +1505,7 @@ const V = O(
1505
1505
  return b(s);
1506
1506
  }
1507
1507
  )
1508
- ), gy = y(
1508
+ ), by = y(
1509
1509
  p(
1510
1510
  [Ye, (t, e) => e],
1511
1511
  (t, e) => {
@@ -1517,10 +1517,10 @@ const V = O(
1517
1517
  return b(s);
1518
1518
  }
1519
1519
  )
1520
- ), Sy = p(
1521
- [Ld],
1520
+ ), gy = p(
1521
+ [Nd],
1522
1522
  (t) => b(t.filter((e) => !e.parent_document))
1523
- ), Hd = ga.reducer, ue = O(
1523
+ ), Wd = ga.reducer, ue = O(
1524
1524
  (t) => t.uuid
1525
1525
  ), li = ue.getInitialState({}), Sa = P({
1526
1526
  name: "emailDomains",
@@ -1541,31 +1541,31 @@ const V = O(
1541
1541
  deleteEmailDomains: ue.deleteMany
1542
1542
  }
1543
1543
  }), {
1544
- initializeEmailDomains: Wd,
1545
- addEmailDomain: Kd,
1546
- addEmailDomains: _y,
1547
- setEmailDomain: Py,
1548
- setEmailDomains: Ty,
1549
- updateEmailDomain: Fy,
1550
- updateEmailDomains: Oy,
1551
- deleteEmailDomain: Yd,
1552
- deleteEmailDomains: Ry
1553
- } = Sa.actions, Jd = (t) => t.emailDomainsReducer.instances, Zd = p([Jd], (t) => Object.values(t)), Iy = y(
1544
+ initializeEmailDomains: Kd,
1545
+ addEmailDomain: Yd,
1546
+ addEmailDomains: Sy,
1547
+ setEmailDomain: _y,
1548
+ setEmailDomains: Py,
1549
+ updateEmailDomain: Ty,
1550
+ updateEmailDomains: Fy,
1551
+ deleteEmailDomain: Jd,
1552
+ deleteEmailDomains: Oy
1553
+ } = Sa.actions, Zd = (t) => t.emailDomainsReducer.instances, Qd = p([Zd], (t) => Object.values(t)), Ry = y(
1554
1554
  p(
1555
- [Zd, (t, e) => e],
1555
+ [Qd, (t, e) => e],
1556
1556
  (t, e) => b(
1557
1557
  t.filter((s) => s.organization === e)
1558
1558
  )
1559
1559
  )
1560
- ), Qd = Sa.reducer, hi = {
1560
+ ), Xd = Sa.reducer, hi = {
1561
1561
  s3Urls: {}
1562
- }, _a = 1e3 * 60 * 60, Xd = _a * 24 * 7, Pa = P({
1562
+ }, _a = 1e3 * 60 * 60, eu = _a * 24 * 7, Pa = P({
1563
1563
  name: "file",
1564
1564
  initialState: hi,
1565
1565
  extraReducers: (t) => t.addCase(_, (e) => Object.assign(e, hi)),
1566
1566
  reducers: {
1567
1567
  setUploadUrl: (t, e) => {
1568
- const { url: s, fields: i, sha1: n } = e.payload, a = /* @__PURE__ */ new Date(), c = new Date(a.getTime() + Xd);
1568
+ const { url: s, fields: i, sha1: n } = e.payload, a = /* @__PURE__ */ new Date(), c = new Date(a.getTime() + eu);
1569
1569
  t.s3Urls[n] = {
1570
1570
  url: s,
1571
1571
  fields: i,
@@ -1573,14 +1573,14 @@ const V = O(
1573
1573
  };
1574
1574
  }
1575
1575
  }
1576
- }), { setUploadUrl: eu } = Pa.actions, tu = (t) => (e) => {
1576
+ }), { setUploadUrl: tu } = Pa.actions, su = (t) => (e) => {
1577
1577
  const s = e.fileReducer.s3Urls[t];
1578
1578
  if (!s)
1579
1579
  return;
1580
1580
  const i = (/* @__PURE__ */ new Date()).getTime();
1581
1581
  if (!((s.exp ?? i) - i < _a))
1582
1582
  return s;
1583
- }, su = Pa.reducer, le = O((t) => t.uuid), pi = le.getInitialState({}), Ta = P({
1583
+ }, iu = Pa.reducer, le = O((t) => t.uuid), pi = le.getInitialState({}), Ta = P({
1584
1584
  name: "formRevisionAttachments",
1585
1585
  initialState: pi,
1586
1586
  extraReducers: (t) => t.addMatcher(
@@ -1599,23 +1599,23 @@ const V = O(
1599
1599
  deleteFormRevisionAttachments: le.deleteMany
1600
1600
  }
1601
1601
  }), {
1602
- initializeFormRevisionAttachments: iu,
1603
- addFormRevisionAttachment: vy,
1604
- addFormRevisionAttachments: nu,
1605
- setFormRevisionAttachment: wy,
1606
- setFormRevisionAttachments: ky,
1607
- updateFormRevisionAttachment: Ey,
1608
- updateFormRevisionAttachments: au,
1609
- deleteFormRevisionAttachment: qy,
1610
- deleteFormRevisionAttachments: cu
1611
- } = Ta.actions, ru = (t) => t.formRevisionAttachmentReducer.instances, jy = y(
1602
+ initializeFormRevisionAttachments: nu,
1603
+ addFormRevisionAttachment: Iy,
1604
+ addFormRevisionAttachments: au,
1605
+ setFormRevisionAttachment: vy,
1606
+ setFormRevisionAttachments: wy,
1607
+ updateFormRevisionAttachment: ky,
1608
+ updateFormRevisionAttachments: cu,
1609
+ deleteFormRevisionAttachment: Ey,
1610
+ deleteFormRevisionAttachments: ru
1611
+ } = Ta.actions, ou = (t) => t.formRevisionAttachmentReducer.instances, qy = y(
1612
1612
  p(
1613
- [ru, (t, e) => e],
1613
+ [ou, (t, e) => e],
1614
1614
  (t, e) => b(
1615
1615
  Object.values(t).filter((s) => s.form_revision === e)
1616
1616
  )
1617
1617
  )
1618
- ), ou = Ta.reducer, du = (t, e) => {
1618
+ ), du = Ta.reducer, uu = (t, e) => {
1619
1619
  const s = t.revision, i = e.revision;
1620
1620
  return s === void 0 && i === void 0 ? t.submitted_at < e.submitted_at ? -1 : 1 : s === void 0 ? 1 : i === void 0 || s < i ? -1 : 1;
1621
1621
  }, he = O((t) => t.uuid), mi = he.getInitialState({}), Fa = P({
@@ -1637,34 +1637,34 @@ const V = O(
1637
1637
  deleteFormRevisions: he.deleteMany
1638
1638
  }
1639
1639
  }), {
1640
- initializeFormRevisions: uu,
1640
+ initializeFormRevisions: lu,
1641
1641
  addFormRevision: Oa,
1642
- addFormRevisions: lu,
1643
- setFormRevision: hu,
1644
- setFormRevisions: My,
1645
- updateFormRevision: zy,
1646
- updateFormRevisions: Dy,
1642
+ addFormRevisions: hu,
1643
+ setFormRevision: pu,
1644
+ setFormRevisions: jy,
1645
+ updateFormRevision: My,
1646
+ updateFormRevisions: zy,
1647
1647
  deleteFormRevision: Ra,
1648
- deleteFormRevisions: pu
1649
- } = Fa.actions, Ht = (t) => t.formRevisionReducer.instances, mu = p(
1648
+ deleteFormRevisions: mu
1649
+ } = Fa.actions, Ht = (t) => t.formRevisionReducer.instances, Au = p(
1650
1650
  [Ht],
1651
1651
  (t) => Object.values(t)
1652
- ), xy = (t) => (e) => e.formRevisionReducer.instances[t], Uy = y(
1652
+ ), Dy = (t) => (e) => e.formRevisionReducer.instances[t], xy = y(
1653
1653
  p(
1654
1654
  [Ht, (t, e) => e],
1655
1655
  (t, e) => {
1656
1656
  const s = Object.values(t).filter((a) => a.form === e);
1657
1657
  if (s.length === 0) return;
1658
- const n = s.sort(du)[s.length - 1];
1658
+ const n = s.sort(uu)[s.length - 1];
1659
1659
  return t[n.uuid];
1660
1660
  }
1661
1661
  )
1662
- ), Au = y(
1662
+ ), fu = y(
1663
1663
  p(
1664
- [mu, (t, e) => e],
1664
+ [Au, (t, e) => e],
1665
1665
  (t, e) => b(t.filter((s) => s.form === e))
1666
1666
  )
1667
- ), fu = Fa.reducer, pe = O((t) => t.uuid), Ai = pe.getInitialState({}), Ia = P({
1667
+ ), yu = Fa.reducer, pe = O((t) => t.uuid), Ai = pe.getInitialState({}), Ia = P({
1668
1668
  name: "forms",
1669
1669
  initialState: Ai,
1670
1670
  extraReducers: (t) => t.addMatcher(
@@ -1683,17 +1683,17 @@ const V = O(
1683
1683
  deleteForms: pe.deleteMany
1684
1684
  }
1685
1685
  }), {
1686
- initializeForms: yu,
1686
+ initializeForms: bu,
1687
1687
  addForm: fi,
1688
- addForms: Vy,
1689
- setForm: Cy,
1690
- setForms: $y,
1691
- updateForm: Gy,
1692
- updateForms: By,
1688
+ addForms: Uy,
1689
+ setForm: Vy,
1690
+ setForms: Cy,
1691
+ updateForm: $y,
1692
+ updateForms: Gy,
1693
1693
  deleteForm: yi,
1694
- deleteForms: Ly
1695
- } = Ia.actions, bu = Ia.reducer, gu = (t) => t.formReducer.instances, Su = p([gu], (t) => Object.values(t)), _u = (t) => (e) => e.formReducer.instances[t], Ny = y(
1696
- p([Su, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
1694
+ deleteForms: By
1695
+ } = Ia.actions, gu = Ia.reducer, Su = (t) => t.formReducer.instances, _u = p([Su], (t) => Object.values(t)), Pu = (t) => (e) => e.formReducer.instances[t], Ly = y(
1696
+ p([_u, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
1697
1697
  ), me = O((t) => t.uuid), bi = me.getInitialState({}), va = P({
1698
1698
  name: "formSubmissionAttachments",
1699
1699
  initialState: bi,
@@ -1713,16 +1713,16 @@ const V = O(
1713
1713
  deleteFormSubmissionAttachments: me.deleteMany
1714
1714
  }
1715
1715
  }), {
1716
- initializeFormSubmissionAttachments: Pu,
1717
- addFormSubmissionAttachment: Hy,
1716
+ initializeFormSubmissionAttachments: Tu,
1717
+ addFormSubmissionAttachment: Ny,
1718
1718
  addFormSubmissionAttachments: zt,
1719
- setFormSubmissionAttachment: Wy,
1720
- setFormSubmissionAttachments: Ky,
1721
- updateFormSubmissionAttachment: Yy,
1722
- updateFormSubmissionAttachments: Tu,
1723
- deleteFormSubmissionAttachment: Jy,
1719
+ setFormSubmissionAttachment: Hy,
1720
+ setFormSubmissionAttachments: Wy,
1721
+ updateFormSubmissionAttachment: Ky,
1722
+ updateFormSubmissionAttachments: Fu,
1723
+ deleteFormSubmissionAttachment: Yy,
1724
1724
  deleteFormSubmissionAttachments: Dt
1725
- } = va.actions, wa = (t) => t.formSubmissionAttachmentReducer.instances, Fu = y(
1725
+ } = va.actions, wa = (t) => t.formSubmissionAttachmentReducer.instances, Ou = y(
1726
1726
  p(
1727
1727
  [
1728
1728
  wa,
@@ -1735,14 +1735,14 @@ const V = O(
1735
1735
  );
1736
1736
  }
1737
1737
  )
1738
- ), Ou = y(
1738
+ ), Ru = y(
1739
1739
  p(
1740
1740
  [wa, (t, e) => e],
1741
1741
  (t, e) => b(
1742
1742
  Object.values(t).filter((s) => s.form_submission === e)
1743
1743
  )
1744
1744
  )
1745
- ), Ru = va.reducer, Ae = O(
1745
+ ), Iu = va.reducer, Ae = O(
1746
1746
  (t) => t.uuid
1747
1747
  ), gi = Ae.getInitialState({}), ka = P({
1748
1748
  name: "formSubmissions",
@@ -1763,19 +1763,19 @@ const V = O(
1763
1763
  deleteFormSubmissions: Ae.deleteMany
1764
1764
  }
1765
1765
  }), {
1766
- initializeFormSubmissions: Iu,
1766
+ initializeFormSubmissions: vu,
1767
1767
  setFormSubmission: St,
1768
- setFormSubmissions: Zy,
1768
+ setFormSubmissions: Jy,
1769
1769
  addFormSubmission: Si,
1770
1770
  addFormSubmissions: Wt,
1771
- updateFormSubmission: vu,
1772
- updateFormSubmissions: Qy,
1771
+ updateFormSubmission: wu,
1772
+ updateFormSubmissions: Zy,
1773
1773
  deleteFormSubmission: _i,
1774
1774
  deleteFormSubmissions: Kt
1775
1775
  } = ka.actions, Ea = (t) => t.formSubmissionReducer.instances, qa = p(
1776
1776
  [Ea],
1777
1777
  (t) => Object.values(t)
1778
- ), Pi = (t) => (e) => e.formSubmissionReducer.instances[t], wu = y(
1778
+ ), Pi = (t) => (e) => e.formSubmissionReducer.instances[t], ku = y(
1779
1779
  p(
1780
1780
  [
1781
1781
  Ea,
@@ -1791,17 +1791,17 @@ const V = O(
1791
1791
  );
1792
1792
  }
1793
1793
  )
1794
- ), ku = y(
1794
+ ), Eu = y(
1795
1795
  p(
1796
1796
  [qa, (t, e) => e],
1797
1797
  (t, e) => Object.values(t).filter((s) => s.issue === e)
1798
1798
  )
1799
- ), Eu = y(
1799
+ ), qu = y(
1800
1800
  p(
1801
1801
  [qa, (t, e) => e],
1802
1802
  (t, e) => t.filter((s) => s.asset === e)
1803
1803
  )
1804
- ), qu = ka.reducer, fe = O((t) => t.uuid), Ti = fe.getInitialState({}), ja = P({
1804
+ ), ju = ka.reducer, fe = O((t) => t.uuid), Ti = fe.getInitialState({}), ja = P({
1805
1805
  name: "geoImages",
1806
1806
  initialState: Ti,
1807
1807
  extraReducers: (t) => t.addMatcher(
@@ -1820,18 +1820,18 @@ const V = O(
1820
1820
  deleteGeoImages: fe.deleteMany
1821
1821
  }
1822
1822
  }), {
1823
- initializeGeoImages: ju,
1823
+ initializeGeoImages: Mu,
1824
1824
  setGeoImage: dt,
1825
- setGeoImages: Mu,
1826
- addGeoImage: zu,
1827
- addGeoImages: Du,
1828
- updateGeoImage: xu,
1829
- updateGeoImages: Xy,
1825
+ setGeoImages: zu,
1826
+ addGeoImage: Du,
1827
+ addGeoImages: xu,
1828
+ updateGeoImage: Uu,
1829
+ updateGeoImages: Qy,
1830
1830
  deleteGeoImage: Fi,
1831
- deleteGeoImages: Uu
1832
- } = ja.actions, Vu = (t) => t.geoImageReducer.instances, Cu = p([Vu], (t) => Object.values(t)), Oi = (t) => (e) => e.geoImageReducer.instances[t], eb = y(
1833
- p([Cu, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1834
- ), $u = ja.reducer, ye = O(
1831
+ deleteGeoImages: Vu
1832
+ } = ja.actions, Cu = (t) => t.geoImageReducer.instances, $u = p([Cu], (t) => Object.values(t)), Oi = (t) => (e) => e.geoImageReducer.instances[t], Xy = y(
1833
+ p([$u, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1834
+ ), Gu = ja.reducer, ye = O(
1835
1835
  (t) => t.uuid
1836
1836
  ), Ri = ye.getInitialState({}), Ma = P({
1837
1837
  name: "issueAssociations",
@@ -1852,33 +1852,33 @@ const V = O(
1852
1852
  deleteIssueAssociations: ye.deleteMany
1853
1853
  }
1854
1854
  }), {
1855
- initializeIssueAssociations: Gu,
1856
- setIssueAssociations: tb,
1857
- setIssueAssociation: sb,
1858
- updateIssueAssociation: Bu,
1859
- updateIssueAssociations: ib,
1855
+ initializeIssueAssociations: Bu,
1856
+ setIssueAssociations: eb,
1857
+ setIssueAssociation: tb,
1858
+ updateIssueAssociation: Lu,
1859
+ updateIssueAssociations: sb,
1860
1860
  addIssueAssociation: Ii,
1861
1861
  addIssueAssociations: za,
1862
1862
  deleteIssueAssociation: vi,
1863
1863
  deleteIssueAssociations: Da
1864
- } = Ma.actions, ft = (t) => t.issueAssociationReducer.instances, nb = p([ft], (t) => Object.values(t)), Lu = (t) => (e) => e.issueAssociationReducer.instances[t], Nu = y(
1864
+ } = Ma.actions, ft = (t) => t.issueAssociationReducer.instances, ib = p([ft], (t) => Object.values(t)), Nu = (t) => (e) => e.issueAssociationReducer.instances[t], Hu = y(
1865
1865
  p(
1866
1866
  [ft, (t, e) => e],
1867
1867
  (t, e) => b(
1868
1868
  Object.values(t).filter((s) => s.associated_issue === e)
1869
1869
  )
1870
1870
  )
1871
- ), Hu = y(
1871
+ ), Wu = y(
1872
1872
  p(
1873
1873
  [ft, (t, e) => e],
1874
1874
  (t, e) => b(Object.values(t).filter((s) => s.issue === e))
1875
1875
  )
1876
- ), Wu = y(
1876
+ ), Ku = y(
1877
1877
  p(
1878
1878
  [ft, (t, e) => e],
1879
1879
  (t, e) => b(Object.values(t).filter((s) => s.asset === e))
1880
1880
  )
1881
- ), Ku = Ma.reducer, be = O(
1881
+ ), Yu = Ma.reducer, be = O(
1882
1882
  (t) => t.uuid
1883
1883
  ), wi = be.getInitialState({}), xa = P({
1884
1884
  name: "issueAttachments",
@@ -1900,23 +1900,23 @@ const V = O(
1900
1900
  }
1901
1901
  }), {
1902
1902
  initializeIssueAttachments: ki,
1903
- addIssueAttachment: ab,
1903
+ addIssueAttachment: nb,
1904
1904
  addIssueAttachments: Ua,
1905
- setIssueAttachment: Yu,
1906
- setIssueAttachments: cb,
1907
- updateIssueAttachment: rb,
1908
- updateIssueAttachments: Ju,
1909
- deleteIssueAttachment: Zu,
1905
+ setIssueAttachment: Ju,
1906
+ setIssueAttachments: ab,
1907
+ updateIssueAttachment: cb,
1908
+ updateIssueAttachments: Zu,
1909
+ deleteIssueAttachment: Qu,
1910
1910
  deleteIssueAttachments: Va
1911
- } = xa.actions, Qu = (t) => t.issueAttachmentReducer.instances, Xu = p(
1912
- [Qu],
1911
+ } = xa.actions, Xu = (t) => t.issueAttachmentReducer.instances, el = p(
1912
+ [Xu],
1913
1913
  (t) => Object.values(t)
1914
- ), el = y(
1914
+ ), tl = y(
1915
1915
  p(
1916
- [Xu, (t, e) => e],
1916
+ [el, (t, e) => e],
1917
1917
  (t, e) => b(t.filter(({ issue: s }) => e === s))
1918
1918
  )
1919
- ), tl = (t) => (e) => e.issueAttachmentReducer.instances[t], sl = xa.reducer, ge = O((t) => t.uuid), Ei = ge.getInitialState({}), Ca = P({
1919
+ ), sl = (t) => (e) => e.issueAttachmentReducer.instances[t], il = xa.reducer, ge = O((t) => t.uuid), Ei = ge.getInitialState({}), Ca = P({
1920
1920
  name: "issueCommentAttachments",
1921
1921
  initialState: Ei,
1922
1922
  extraReducers: (t) => t.addMatcher(
@@ -1936,26 +1936,26 @@ const V = O(
1936
1936
  }
1937
1937
  }), {
1938
1938
  initializeIssueCommentAttachments: qi,
1939
- addIssueCommentAttachment: ob,
1940
- addIssueCommentAttachments: il,
1941
- setIssueCommentAttachment: nl,
1942
- setIssueCommentAttachments: db,
1943
- updateIssueCommentAttachment: ub,
1944
- updateIssueCommentAttachments: al,
1945
- deleteIssueCommentAttachment: cl,
1946
- deleteIssueCommentAttachments: rl
1947
- } = Ca.actions, ol = (t) => t.issueCommentAttachmentReducer.instances, dl = p(
1948
- [ol],
1939
+ addIssueCommentAttachment: rb,
1940
+ addIssueCommentAttachments: nl,
1941
+ setIssueCommentAttachment: al,
1942
+ setIssueCommentAttachments: ob,
1943
+ updateIssueCommentAttachment: db,
1944
+ updateIssueCommentAttachments: cl,
1945
+ deleteIssueCommentAttachment: rl,
1946
+ deleteIssueCommentAttachments: ol
1947
+ } = Ca.actions, dl = (t) => t.issueCommentAttachmentReducer.instances, ul = p(
1948
+ [dl],
1949
1949
  (t) => Object.values(t)
1950
- ), ul = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], lb = y(
1950
+ ), ll = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], ub = y(
1951
1951
  p(
1952
1952
  [
1953
- dl,
1953
+ ul,
1954
1954
  (t, e) => e
1955
1955
  ],
1956
1956
  (t, e) => b(t.filter(({ issue_comment: s }) => e === s))
1957
1957
  )
1958
- ), ll = Ca.reducer, Se = O((t) => t.uuid), ji = Se.getInitialState({}), $a = P({
1958
+ ), hl = Ca.reducer, Se = O((t) => t.uuid), ji = Se.getInitialState({}), $a = P({
1959
1959
  name: "issueComments",
1960
1960
  initialState: ji,
1961
1961
  extraReducers: (t) => t.addMatcher(
@@ -1974,21 +1974,21 @@ const V = O(
1974
1974
  deleteIssueComments: Se.deleteMany
1975
1975
  }
1976
1976
  }), {
1977
- initializeIssueComments: hb,
1977
+ initializeIssueComments: lb,
1978
1978
  addIssueComment: Mi,
1979
- addIssueComments: pb,
1979
+ addIssueComments: hb,
1980
1980
  setIssueComment: zi,
1981
- setIssueComments: hl,
1982
- updateIssueComment: mb,
1983
- updateIssueComments: Ab,
1981
+ setIssueComments: pl,
1982
+ updateIssueComment: pb,
1983
+ updateIssueComments: mb,
1984
1984
  deleteIssueComment: Di,
1985
- deleteIssueComments: fb
1986
- } = $a.actions, pl = (t) => t.issueCommentReducer.instances, xi = (t) => (e) => e.issueCommentReducer.instances[t], yb = y(
1985
+ deleteIssueComments: Ab
1986
+ } = $a.actions, ml = (t) => t.issueCommentReducer.instances, xi = (t) => (e) => e.issueCommentReducer.instances[t], fb = y(
1987
1987
  p(
1988
- [pl, (t, e) => e],
1988
+ [ml, (t, e) => e],
1989
1989
  (t, e) => b(Object.values(t).filter((s) => s.issue === e))
1990
1990
  )
1991
- ), ml = $a.reducer, _e = O((t) => t.uuid), Ui = _e.getInitialState({}), Ga = P({
1991
+ ), Al = $a.reducer, _e = O((t) => t.uuid), Ui = _e.getInitialState({}), Ga = P({
1992
1992
  name: "issues",
1993
1993
  initialState: Ui,
1994
1994
  extraReducers: (t) => t.addMatcher(
@@ -2007,17 +2007,17 @@ const V = O(
2007
2007
  deleteIssues: _e.deleteMany
2008
2008
  }
2009
2009
  }), {
2010
- initializeIssues: Al,
2010
+ initializeIssues: fl,
2011
2011
  addIssue: Vi,
2012
- addIssues: fl,
2013
- setIssue: bb,
2014
- setIssues: gb,
2012
+ addIssues: yl,
2013
+ setIssue: yb,
2014
+ setIssues: bb,
2015
2015
  updateIssue: _t,
2016
- updateIssues: Sb,
2016
+ updateIssues: gb,
2017
2017
  deleteIssue: Ci,
2018
- deleteIssues: yl
2019
- } = Ga.actions, bl = (t) => t.issueReducer.instances, $i = (t) => (e) => e.issueReducer.instances[t], _b = y(
2020
- p([bl, (t, e) => e], (t, e) => {
2018
+ deleteIssues: bl
2019
+ } = Ga.actions, Ba = (t) => t.issueReducer.instances, Sb = p([Ba], (t) => Object.values(t)), $i = (t) => (e) => e.issueReducer.instances[t], _b = y(
2020
+ p([Ba, (t, e) => e], (t, e) => {
2021
2021
  const s = [];
2022
2022
  for (const i of e) {
2023
2023
  const n = t[i];
@@ -2027,7 +2027,7 @@ const V = O(
2027
2027
  })
2028
2028
  ), gl = Ga.reducer, Pe = O(
2029
2029
  (t) => t.uuid
2030
- ), Gi = Pe.getInitialState({}), Ba = P({
2030
+ ), Gi = Pe.getInitialState({}), La = P({
2031
2031
  name: "issueTypeAttachments",
2032
2032
  initialState: Gi,
2033
2033
  extraReducers: (t) => t.addMatcher(
@@ -2055,7 +2055,7 @@ const V = O(
2055
2055
  updateIssueTypeAttachments: Pl,
2056
2056
  deleteIssueTypeAttachment: Tl,
2057
2057
  deleteIssueTypeAttachments: Fl
2058
- } = Ba.actions, Ol = (t) => t.issueTypeAttachmentReducer.instances, Rl = p(
2058
+ } = La.actions, Ol = (t) => t.issueTypeAttachmentReducer.instances, Rl = p(
2059
2059
  [Ol],
2060
2060
  (t) => Object.values(t)
2061
2061
  ), Il = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Ob = y(
@@ -2063,7 +2063,7 @@ const V = O(
2063
2063
  [Rl, (t, e) => e],
2064
2064
  (t, e) => b(t.filter(({ issue_type: s }) => e === s))
2065
2065
  )
2066
- ), vl = Ba.reducer, Te = O((t) => t.uuid), Li = Te.getInitialState({}), La = P({
2066
+ ), vl = La.reducer, Te = O((t) => t.uuid), Li = Te.getInitialState({}), Na = P({
2067
2067
  name: "issueTypeFieldsAttachments",
2068
2068
  initialState: Li,
2069
2069
  extraReducers: (t) => t.addMatcher(
@@ -2091,7 +2091,7 @@ const V = O(
2091
2091
  updateIssueTypeFieldsAttachments: El,
2092
2092
  deleteIssueTypeFieldsAttachment: kb,
2093
2093
  deleteIssueTypeFieldsAttachments: ql
2094
- } = La.actions, jl = (t) => t.issueTypeFieldsAttachmentReducer.instances, Ml = p(
2094
+ } = Na.actions, jl = (t) => t.issueTypeFieldsAttachmentReducer.instances, Ml = p(
2095
2095
  [jl],
2096
2096
  (t) => Object.values(t)
2097
2097
  ), Eb = y(
@@ -2101,9 +2101,9 @@ const V = O(
2101
2101
  t.filter((s) => s.fields_revision === e)
2102
2102
  )
2103
2103
  )
2104
- ), qb = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], zl = La.reducer, Fe = O(
2104
+ ), qb = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], zl = Na.reducer, Fe = O(
2105
2105
  (t) => t.uuid
2106
- ), Ni = Fe.getInitialState({}), Na = P({
2106
+ ), Ni = Fe.getInitialState({}), Ha = P({
2107
2107
  name: "issueTypeFieldValues",
2108
2108
  initialState: Ni,
2109
2109
  extraReducers: (t) => t.addMatcher(
@@ -2131,11 +2131,11 @@ const V = O(
2131
2131
  updateIssueTypeFieldValuesMany: Db,
2132
2132
  deleteIssueTypeFieldValues: Wi,
2133
2133
  deleteIssueTypeFieldValuesMany: xb
2134
- } = Na.actions, xl = (t) => t.issueTypeFieldValuesReducer.instances, Ha = p([xl], (t) => Object.values(t)), Ub = y(
2135
- p([Ha, (t, e) => e], (t, e) => b(t.filter((s) => s.issue === e)))
2136
- ), Ki = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Ul = Na.reducer, Oe = O(
2134
+ } = Ha.actions, xl = (t) => t.issueTypeFieldValuesReducer.instances, Wa = p([xl], (t) => Object.values(t)), Ub = y(
2135
+ p([Wa, (t, e) => e], (t, e) => b(t.filter((s) => s.issue === e)))
2136
+ ), Ki = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Ul = Ha.reducer, Oe = O(
2137
2137
  (t) => t.uuid
2138
- ), Yi = Oe.getInitialState({}), Wa = P({
2138
+ ), Yi = Oe.getInitialState({}), Ka = P({
2139
2139
  name: "issueTypeFields",
2140
2140
  initialState: Yi,
2141
2141
  extraReducers: (t) => t.addMatcher(
@@ -2163,13 +2163,13 @@ const V = O(
2163
2163
  updateIssueTypeFieldsMany: Gb,
2164
2164
  deleteIssueTypeFields: Gl,
2165
2165
  deleteIssueTypeFieldsMany: Bb
2166
- } = Wa.actions, Bl = (t) => t.issueTypeFieldsReducer.instances, Yt = p([Bl], (t) => Object.values(t)), Lb = y(
2166
+ } = Ka.actions, Bl = (t) => t.issueTypeFieldsReducer.instances, Yt = p([Bl], (t) => Object.values(t)), Lb = y(
2167
2167
  p([Yt, (t, e) => e], (t, e) => b(t.filter((s) => s.issue_type === e)))
2168
2168
  ), Nb = y(
2169
2169
  p([Yt, (t, e) => e], (t, e) => t.filter((s) => s.issue_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
2170
2170
  ), Hb = y(
2171
2171
  p(
2172
- [Yt, Ha, (t, e) => e],
2172
+ [Yt, Wa, (t, e) => e],
2173
2173
  (t, e, s) => {
2174
2174
  const i = new Set(
2175
2175
  t.filter((n) => n.issue_type === s).map((n) => n.uuid)
@@ -2177,7 +2177,7 @@ const V = O(
2177
2177
  return b(e.filter((n) => i.has(n.fields_revision)));
2178
2178
  }
2179
2179
  )
2180
- ), Wb = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Ll = Wa.reducer, Re = O((t) => t.uuid), Ji = Re.getInitialState({}), Ka = P({
2180
+ ), Wb = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Ll = Ka.reducer, Re = O((t) => t.uuid), Ji = Re.getInitialState({}), Ya = P({
2181
2181
  name: "issueTypeFieldValuesAttachments",
2182
2182
  initialState: Ji,
2183
2183
  extraReducers: (t) => t.addMatcher(
@@ -2205,13 +2205,13 @@ const V = O(
2205
2205
  updateIssueTypeFieldValuesAttachments: Hl,
2206
2206
  deleteIssueTypeFieldValuesAttachment: Qb,
2207
2207
  deleteIssueTypeFieldValuesAttachments: Ut
2208
- } = Ka.actions, Ya = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Wl = p(
2209
- [Ya],
2208
+ } = Ya.actions, Ja = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Wl = p(
2209
+ [Ja],
2210
2210
  (t) => Object.values(t)
2211
2211
  ), Xb = (t) => (e) => e.issueTypeFieldValuesAttachmentReducer.instances[t], Kl = y(
2212
2212
  p(
2213
2213
  [
2214
- Ya,
2214
+ Ja,
2215
2215
  (t, e) => e
2216
2216
  ],
2217
2217
  (t, e) => {
@@ -2226,7 +2226,7 @@ const V = O(
2226
2226
  [Wl, (t, e) => e],
2227
2227
  (t, e) => b(t.filter((s) => s.field_values === e))
2228
2228
  )
2229
- ), Jl = Ka.reducer, D = O((t) => t.uuid), Zi = D.getInitialState({}), Ja = P({
2229
+ ), Jl = Ya.reducer, D = O((t) => t.uuid), Zi = D.getInitialState({}), Za = P({
2230
2230
  name: "issueTypes",
2231
2231
  initialState: Zi,
2232
2232
  extraReducers: (t) => t.addMatcher(
@@ -2256,7 +2256,7 @@ const V = O(
2256
2256
  deleteIssueType: ig,
2257
2257
  deleteIssueTypes: ng,
2258
2258
  removeIssueType: Qi
2259
- } = Ja.actions, eh = (t) => t.issueTypeReducer.instances, th = p(
2259
+ } = Za.actions, eh = (t) => t.issueTypeReducer.instances, th = p(
2260
2260
  eh,
2261
2261
  (t) => Object.values(t)
2262
2262
  ), Xi = (t) => (e) => e.issueTypeReducer.instances[t], ag = (t) => (e) => {
@@ -2268,16 +2268,16 @@ const V = O(
2268
2268
  return s;
2269
2269
  }, cg = y(
2270
2270
  p([th, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
2271
- ), Za = y(
2271
+ ), Qa = y(
2272
2272
  p(
2273
2273
  [(t) => t.issueReducer.instances, (t, e) => e],
2274
2274
  (t, e) => b(
2275
2275
  Object.values(t).filter((s) => s.issue_type === e)
2276
2276
  )
2277
2277
  )
2278
- ), rg = (t) => (e) => Za(t)(e).length, sh = Ja.reducer, Ie = O(
2278
+ ), rg = (t) => (e) => Qa(t)(e).length, sh = Za.reducer, Ie = O(
2279
2279
  (t) => t.uuid
2280
- ), en = Ie.getInitialState({}), Qa = P({
2280
+ ), en = Ie.getInitialState({}), Xa = P({
2281
2281
  name: "issueUpdates",
2282
2282
  initialState: en,
2283
2283
  extraReducers: (t) => t.addMatcher(
@@ -2305,14 +2305,14 @@ const V = O(
2305
2305
  updateIssueUpdates: lg,
2306
2306
  deleteIssueUpdate: ch,
2307
2307
  deleteIssueUpdates: rh
2308
- } = Qa.actions, oh = (t) => t.issueUpdateReducer.instances, dh = y(
2308
+ } = Xa.actions, oh = (t) => t.issueUpdateReducer.instances, dh = y(
2309
2309
  p(
2310
2310
  [oh, (t, e) => e],
2311
2311
  (t, e) => b(Object.values(t).filter((s) => s.issue === e))
2312
2312
  )
2313
- ), uh = Qa.reducer, ve = O((t) => t.id), tn = ve.getInitialState({
2313
+ ), uh = Xa.reducer, ve = O((t) => t.id), tn = ve.getInitialState({
2314
2314
  currentUser: null
2315
- }), Xa = P({
2315
+ }), ec = P({
2316
2316
  name: "users",
2317
2317
  initialState: tn,
2318
2318
  extraReducers: (t) => t.addMatcher(
@@ -2353,7 +2353,7 @@ const V = O(
2353
2353
  deleteUsers: yg,
2354
2354
  setCurrentUser: bg,
2355
2355
  setProfilePicture: gg
2356
- } = Xa.actions, mh = Xa.reducer, Ah = (t) => t.userReducer.currentUser, Qe = (t) => t.userReducer.instances, fh = (t) => (e) => e.userReducer.instances[t], Sg = y(
2356
+ } = ec.actions, mh = ec.reducer, Ah = (t) => t.userReducer.currentUser, Qe = (t) => t.userReducer.instances, fh = (t) => (e) => e.userReducer.instances[t], Sg = y(
2357
2357
  p([Qe, (t, e) => e], (t, e) => {
2358
2358
  const s = [];
2359
2359
  for (const i of e) {
@@ -2364,7 +2364,7 @@ const V = O(
2364
2364
  })
2365
2365
  ), we = O(
2366
2366
  (t) => t.uuid
2367
- ), sn = we.getInitialState({}), ec = P({
2367
+ ), sn = we.getInitialState({}), tc = P({
2368
2368
  name: "organizationAccess",
2369
2369
  initialState: sn,
2370
2370
  extraReducers: (t) => t.addMatcher(
@@ -2392,7 +2392,7 @@ const V = O(
2392
2392
  updateOrganizationAccesses: Fg,
2393
2393
  deleteOrganizationAccess: gh,
2394
2394
  deleteOrganizationAccesses: Og
2395
- } = ec.actions, yt = (t) => t.organizationAccessReducer.instances, nn = (t) => (e) => e.organizationAccessReducer.instances[t], Rg = y(
2395
+ } = tc.actions, yt = (t) => t.organizationAccessReducer.instances, nn = (t) => (e) => e.organizationAccessReducer.instances[t], Rg = y(
2396
2396
  p([yt, (t, e) => e], (t, e) => Object.values(t).find((s) => s.user === e))
2397
2397
  ), Ig = p(
2398
2398
  [Ah, yt],
@@ -2404,7 +2404,7 @@ const V = O(
2404
2404
  for (const s of Object.values(t))
2405
2405
  e[s.user] = s;
2406
2406
  return Ze(e);
2407
- }), _h = ec.reducer, ke = O((t) => t.uuid), an = ke.getInitialState({}), tc = P({
2407
+ }), _h = tc.reducer, ke = O((t) => t.uuid), an = ke.getInitialState({}), sc = P({
2408
2408
  name: "organizations",
2409
2409
  initialState: an,
2410
2410
  extraReducers: (t) => t.addMatcher(
@@ -2432,7 +2432,7 @@ const V = O(
2432
2432
  updateOrganization: jg,
2433
2433
  deleteOrganization: Mg,
2434
2434
  deleteOrganizations: zg
2435
- } = tc.actions, Th = (t) => t.organizationReducer.instances, Fh = p([Th], (t) => Object.values(t)), Dg = (t) => (e) => e.organizationReducer.instances[t], xg = p(
2435
+ } = sc.actions, Th = (t) => t.organizationReducer.instances, Fh = p([Th], (t) => Object.values(t)), Dg = (t) => (e) => e.organizationReducer.instances[t], xg = p(
2436
2436
  [Fh],
2437
2437
  (t) => b(
2438
2438
  Object.values(t).filter((e) => e.has_access)
@@ -2455,7 +2455,7 @@ const V = O(
2455
2455
  })
2456
2456
  )
2457
2457
  )
2458
- ), Rh = tc.reducer, Ih = (t, e, s) => {
2458
+ ), Rh = sc.reducer, Ih = (t, e, s) => {
2459
2459
  const i = t.uuid ? t : { ...t, uuid: Be() };
2460
2460
  return {
2461
2461
  payload: i,
@@ -2474,7 +2474,7 @@ const V = O(
2474
2474
  }, cn = {
2475
2475
  deletedRequests: [],
2476
2476
  latestRetryTime: 0
2477
- }, sc = P({
2477
+ }, ic = P({
2478
2478
  name: "outbox",
2479
2479
  initialState: cn,
2480
2480
  extraReducers: (t) => t.addCase(_, (e) => Object.assign(e, cn)),
@@ -2501,9 +2501,9 @@ const V = O(
2501
2501
  t.latestRetryTime = e.payload;
2502
2502
  }
2503
2503
  }
2504
- }), Cg = (t) => t.outboxReducer.deletedRequests, $g = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: vh, markForDeletion: Gg, markAsDeleted: wh, _setLatestRetryTime: kh } = sc.actions, Eh = sc.reducer, Ee = O(
2504
+ }), Cg = (t) => t.outboxReducer.deletedRequests, $g = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: vh, markForDeletion: Gg, markAsDeleted: wh, _setLatestRetryTime: kh } = ic.actions, Eh = ic.reducer, Ee = O(
2505
2505
  (t) => t.uuid
2506
- ), rn = Ee.getInitialState({}), ic = P({
2506
+ ), rn = Ee.getInitialState({}), nc = P({
2507
2507
  name: "projectAccess",
2508
2508
  initialState: rn,
2509
2509
  extraReducers: (t) => t.addMatcher(
@@ -2531,7 +2531,7 @@ const V = O(
2531
2531
  updateProjectAccesses: Ng,
2532
2532
  deleteProjectAccess: dn,
2533
2533
  deleteProjectAccesses: Mh
2534
- } = ic.actions, Xe = (t) => t.projectAccessReducer.instances, Hg = p(
2534
+ } = nc.actions, Xe = (t) => t.projectAccessReducer.instances, Hg = p(
2535
2535
  Xe,
2536
2536
  (t) => Object.values(t)
2537
2537
  ), un = (t) => (e) => e.projectAccessReducer.instances[t], Wg = y(
@@ -2551,9 +2551,9 @@ const V = O(
2551
2551
  e[s.user] = s;
2552
2552
  return Ze(e);
2553
2553
  }
2554
- ), xh = ic.reducer, qe = O(
2554
+ ), xh = nc.reducer, qe = O(
2555
2555
  (t) => t.uuid
2556
- ), ln = qe.getInitialState({}), nc = P({
2556
+ ), ln = qe.getInitialState({}), ac = P({
2557
2557
  name: "projectAttachments",
2558
2558
  initialState: ln,
2559
2559
  extraReducers: (t) => t.addMatcher(
@@ -2580,8 +2580,8 @@ const V = O(
2580
2580
  updateProjectAttachment: Yg,
2581
2581
  updateProjectAttachments: Gh,
2582
2582
  deleteProjectAttachment: Bh,
2583
- deleteProjectAttachments: ac
2584
- } = nc.actions, Lh = (t) => t.projectAttachmentReducer.instances, Nh = p(
2583
+ deleteProjectAttachments: cc
2584
+ } = ac.actions, Lh = (t) => t.projectAttachmentReducer.instances, Nh = p(
2585
2585
  [Lh],
2586
2586
  (t) => Object.values(t)
2587
2587
  ), Hh = (t) => (e) => e.projectAttachmentReducer.instances[t], Wh = y(
@@ -2589,12 +2589,12 @@ const V = O(
2589
2589
  [Nh, (t, e) => e],
2590
2590
  (t, e) => b(t.filter(({ project: s }) => e === s))
2591
2591
  )
2592
- ), Kh = nc.reducer, je = O(
2592
+ ), Kh = ac.reducer, je = O(
2593
2593
  (t) => t.uuid
2594
2594
  ), hn = je.getInitialState({
2595
2595
  activeProjectFileId: null,
2596
2596
  isImportingProjectFile: !1
2597
- }), cc = P({
2597
+ }), rc = P({
2598
2598
  name: "projectFiles",
2599
2599
  initialState: hn,
2600
2600
  extraReducers: (t) => t.addMatcher(
@@ -2649,7 +2649,7 @@ const V = O(
2649
2649
  setActiveProjectFileId: ep,
2650
2650
  saveActiveProjectFileBounds: tp,
2651
2651
  resetProjectFileObjectUrls: eS
2652
- } = cc.actions, sp = (t) => t.projectFileReducer.instances, ip = p([sp], (t) => b(Object.values(t).sort((e, s) => e.z_index - s.z_index))), tS = (t) => (e) => e.projectFileReducer.instances[t], sS = (t) => t.projectFileReducer.activeProjectFileId, iS = (t) => t.projectFileReducer.isImportingProjectFile, np = cc.reducer, Me = O((t) => t.uuid), mn = Me.getInitialState({}), rc = P({
2652
+ } = rc.actions, sp = (t) => t.projectFileReducer.instances, ip = p([sp], (t) => b(Object.values(t).sort((e, s) => e.z_index - s.z_index))), tS = (t) => (e) => e.projectFileReducer.instances[t], sS = (t) => t.projectFileReducer.activeProjectFileId, iS = (t) => t.projectFileReducer.isImportingProjectFile, np = rc.reducer, Me = O((t) => t.uuid), mn = Me.getInitialState({}), oc = P({
2653
2653
  name: "projects",
2654
2654
  initialState: mn,
2655
2655
  extraReducers: (t) => t.addMatcher(
@@ -2677,7 +2677,7 @@ const V = O(
2677
2677
  updateProject: rp,
2678
2678
  deleteProject: An,
2679
2679
  deleteProjects: oS
2680
- } = rc.actions, op = rc.reducer, dp = (t) => t.projectReducer.instances, up = p([dp], (t) => b(Object.values(t))), lp = (t) => (e) => e.projectReducer.instances[t], hp = p(
2680
+ } = oc.actions, op = oc.reducer, dp = (t) => t.projectReducer.instances, up = p([dp], (t) => b(Object.values(t))), lp = (t) => (e) => e.projectReducer.instances[t], hp = p(
2681
2681
  [Xe],
2682
2682
  (t) => Object.values(t).map((e) => e.user)
2683
2683
  ), dS = p(
@@ -2697,7 +2697,7 @@ const V = O(
2697
2697
  p([up, (t, e) => e], (t, e) => b(t.filter((s) => s.organization_owner === e)))
2698
2698
  ), pp = {
2699
2699
  isRehydrated: !1
2700
- }, oc = P({
2700
+ }, dc = P({
2701
2701
  name: "rehydrated",
2702
2702
  initialState: pp,
2703
2703
  // The `reducers` field lets us define reducers and generate associated actions
@@ -2706,7 +2706,7 @@ const V = O(
2706
2706
  t.isRehydrated = e.payload;
2707
2707
  }
2708
2708
  }
2709
- }), { setRehydrated: hS } = oc.actions, pS = (t) => t.rehydratedReducer.isRehydrated, mp = oc.reducer, ze = O((t) => t.uuid), fn = ze.getInitialState({}), dc = P({
2709
+ }), { setRehydrated: hS } = dc.actions, pS = (t) => t.rehydratedReducer.isRehydrated, mp = dc.reducer, ze = O((t) => t.uuid), fn = ze.getInitialState({}), uc = P({
2710
2710
  name: "teams",
2711
2711
  initialState: fn,
2712
2712
  extraReducers: (t) => t.addMatcher(
@@ -2734,9 +2734,9 @@ const V = O(
2734
2734
  updateTeams: fS,
2735
2735
  deleteTeam: bn,
2736
2736
  deleteTeams: yS
2737
- } = dc.actions, uc = (t) => t.teamReducer.instances, lc = p([uc], (t) => Object.values(t)), He = (t) => (e) => e.teamReducer.instances[t], bS = y(
2737
+ } = uc.actions, lc = (t) => t.teamReducer.instances, hc = p([lc], (t) => Object.values(t)), He = (t) => (e) => e.teamReducer.instances[t], bS = y(
2738
2738
  p(
2739
- [uc, (t, e) => e],
2739
+ [lc, (t, e) => e],
2740
2740
  (t, e) => {
2741
2741
  const s = [];
2742
2742
  for (const i of e) {
@@ -2748,33 +2748,33 @@ const V = O(
2748
2748
  )
2749
2749
  ), gS = y(
2750
2750
  p(
2751
- [lc, (t, e) => e],
2751
+ [hc, (t, e) => e],
2752
2752
  (t, e) => b(t.filter((s) => s.organization === e))
2753
2753
  )
2754
2754
  ), SS = y(
2755
- p([lc, (t, e) => e], (t, e) => b(t.filter((s) => s.members.includes(e))))
2756
- ), yp = dc.reducer, bp = {
2755
+ p([hc, (t, e) => e], (t, e) => b(t.filter((s) => s.members.includes(e))))
2756
+ ), yp = uc.reducer, bp = {
2757
2757
  version: 0
2758
2758
  }, gp = P({
2759
2759
  name: "versioning",
2760
2760
  initialState: bp,
2761
2761
  reducers: {}
2762
- }), Sp = gp.reducer, hc = {
2762
+ }), Sp = gp.reducer, pc = {
2763
2763
  outboxReducer: Eh,
2764
- fileReducer: su,
2765
- authReducer: Od
2766
- }, _S = Pn(hc), _p = {
2767
- ...hc,
2764
+ fileReducer: iu,
2765
+ authReducer: Rd
2766
+ }, _S = Pn(pc), _p = {
2767
+ ...pc,
2768
2768
  [At]: Sp,
2769
- categoryReducer: kd,
2770
- assetReducer: wo,
2771
- assetAttachmentReducer: dr,
2772
- assetStageCompletionReducer: jo,
2773
- assetStageReducer: Uo,
2774
- assetTypeReducer: Td,
2775
- assetTypeAttachmentReducer: Yo,
2769
+ categoryReducer: Ed,
2770
+ assetReducer: ko,
2771
+ assetAttachmentReducer: ur,
2772
+ assetStageCompletionReducer: Mo,
2773
+ assetStageReducer: Vo,
2774
+ assetTypeReducer: Fd,
2775
+ assetTypeAttachmentReducer: Jo,
2776
2776
  issueReducer: gl,
2777
- issueAttachmentReducer: sl,
2777
+ issueAttachmentReducer: il,
2778
2778
  issueTypeReducer: sh,
2779
2779
  issueTypeAttachmentReducer: vl,
2780
2780
  organizationReducer: Rh,
@@ -2784,62 +2784,62 @@ const V = O(
2784
2784
  organizationAccessReducer: _h,
2785
2785
  projectFileReducer: np,
2786
2786
  rehydratedReducer: mp,
2787
- formReducer: bu,
2788
- formRevisionReducer: fu,
2789
- formRevisionAttachmentReducer: ou,
2790
- formSubmissionAttachmentReducer: Ru,
2791
- formSubmissionReducer: qu,
2787
+ formReducer: gu,
2788
+ formRevisionReducer: yu,
2789
+ formRevisionAttachmentReducer: du,
2790
+ formSubmissionAttachmentReducer: Iu,
2791
+ formSubmissionReducer: ju,
2792
2792
  userReducer: mh,
2793
- emailDomainsReducer: Qd,
2794
- documentsReducer: Hd,
2795
- documentAttachmentReducer: Cd,
2793
+ emailDomainsReducer: Xd,
2794
+ documentsReducer: Wd,
2795
+ documentAttachmentReducer: $d,
2796
2796
  teamReducer: yp,
2797
- agentsReducer: tr,
2798
- issueCommentReducer: ml,
2799
- issueCommentAttachmentReducer: ll,
2797
+ agentsReducer: sr,
2798
+ issueCommentReducer: Al,
2799
+ issueCommentAttachmentReducer: hl,
2800
2800
  issueUpdateReducer: uh,
2801
- geoImageReducer: $u,
2802
- issueAssociationReducer: Ku,
2801
+ geoImageReducer: Gu,
2802
+ issueAssociationReducer: Yu,
2803
2803
  issueTypeFieldsReducer: Ll,
2804
2804
  issueTypeFieldValuesReducer: Ul,
2805
2805
  issueTypeFieldsAttachmentReducer: zl,
2806
2806
  issueTypeFieldValuesAttachmentReducer: Jl,
2807
- assetTypeFieldsReducer: od,
2808
- assetTypeFieldValuesReducer: Sd,
2809
- assetTypeFieldsAttachmentReducer: sd,
2810
- assetTypeFieldValuesAttachmentReducer: md,
2811
- assetProcedureReducer: Qr,
2812
- assetProcedureInstanceReducer: Yr,
2813
- assetProcedureFieldsReducer: qr,
2814
- assetProcedureFieldValuesReducer: Lr,
2815
- assetProcedureFieldsAttachmentReducer: Rr,
2816
- assetProcedureFieldValuesAttachmentReducer: Ur,
2817
- assetProcedureAttachmentReducer: gr,
2818
- assetProcedureStepFieldsAttachmentReducer: ao,
2819
- assetProcedureStepFieldsReducer: ro,
2820
- assetProcedureStepFieldValuesAttachmentReducer: mo,
2821
- assetProcedureStepFieldValuesReducer: So,
2822
- assetProcedureStepReducer: To
2807
+ assetTypeFieldsReducer: dd,
2808
+ assetTypeFieldValuesReducer: _d,
2809
+ assetTypeFieldsAttachmentReducer: id,
2810
+ assetTypeFieldValuesAttachmentReducer: Ad,
2811
+ assetProcedureReducer: Xr,
2812
+ assetProcedureInstanceReducer: Jr,
2813
+ assetProcedureFieldsReducer: jr,
2814
+ assetProcedureFieldValuesReducer: Nr,
2815
+ assetProcedureFieldsAttachmentReducer: Ir,
2816
+ assetProcedureFieldValuesAttachmentReducer: Vr,
2817
+ assetProcedureAttachmentReducer: Sr,
2818
+ assetProcedureStepFieldsAttachmentReducer: co,
2819
+ assetProcedureStepFieldsReducer: oo,
2820
+ assetProcedureStepFieldValuesAttachmentReducer: Ao,
2821
+ assetProcedureStepFieldValuesReducer: _o,
2822
+ assetProcedureStepReducer: Fo
2823
2823
  }, PS = Pn(_p);
2824
- let pc;
2824
+ let mc;
2825
2825
  function Pp(t) {
2826
- pc = t;
2826
+ mc = t;
2827
2827
  }
2828
2828
  function et() {
2829
- return pc;
2829
+ return mc;
2830
2830
  }
2831
- let mc;
2831
+ let Ac;
2832
2832
  function Tp(t) {
2833
- mc = t;
2833
+ Ac = t;
2834
2834
  }
2835
2835
  function Fp() {
2836
- return mc;
2836
+ return Ac;
2837
2837
  }
2838
- const Ac = {};
2839
- class fc {
2838
+ const fc = {};
2839
+ class yc {
2840
2840
  constructor(e) {
2841
2841
  f(this, "client");
2842
- Ac[this.constructor.name] = this, this.client = e;
2842
+ fc[this.constructor.name] = this, this.client = e;
2843
2843
  }
2844
2844
  async enqueueRequest(e) {
2845
2845
  return this.client.enqueueRequest(e, this.host, this.constructor.name);
@@ -2849,10 +2849,10 @@ class fc {
2849
2849
  this.client.store.dispatch(e);
2850
2850
  }
2851
2851
  }
2852
- const yc = () => gc.length - 1, bc = (t) => (t[At] = { version: yc() }, t), gn = () => bc({}), Op = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Rp = (t) => (e) => {
2852
+ const bc = () => Sc.length - 1, gc = (t) => (t[At] = { version: bc() }, t), gn = () => gc({}), Op = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Rp = (t) => (e) => {
2853
2853
  var s;
2854
- return e === void 0 && (e = {}), ((s = e[At]) == null ? void 0 : s.version) === yc() ? e : t(e);
2855
- }, gc = [bc, gn, gn, Op], Ip = Object.fromEntries(gc.map((t, e) => [e, Rp(t)]));
2854
+ return e === void 0 && (e = {}), ((s = e[At]) == null ? void 0 : s.version) === bc() ? e : t(e);
2855
+ }, Sc = [gc, gn, gn, Op], Ip = Object.fromEntries(Sc.map((t, e) => [e, Rp(t)]));
2856
2856
  let Tt = null;
2857
2857
  function Ge() {
2858
2858
  const t = et();
@@ -2887,13 +2887,13 @@ const qp = {
2887
2887
  effect: Ep,
2888
2888
  // Casting needed because we are saving FullOfflineAction objects, not just OfflineAction objects,
2889
2889
  // but redux-offline does not know this.
2890
- discard: Tc,
2890
+ discard: Fc,
2891
2891
  returnPromises: !0,
2892
2892
  persistCallback: vp,
2893
2893
  retry: $p,
2894
2894
  // Modify the configuration of the offline store to use localforage
2895
2895
  // which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
2896
- persistOptions: { storage: kc },
2896
+ persistOptions: { storage: Ec },
2897
2897
  // TODO: custom enqueue implementation to take care of intelligently cancelling "create/delete same issue",
2898
2898
  // and custom dequeue for e.g. if user insists on removing a failed a "create issue", then remove the "edit
2899
2899
  // that same issue"
@@ -2904,7 +2904,7 @@ const qp = {
2904
2904
  // Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
2905
2905
  peek: (...t) => Cp(...t)
2906
2906
  }
2907
- }, jp = Ec(Ip, At), TS = Ic(wc(qp), jp);
2907
+ }, jp = qc(Ip, At), TS = vc(kc(qp), jp);
2908
2908
  function Mp(t) {
2909
2909
  function e(s) {
2910
2910
  return typeof s == "object" && s !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((n) => n in s);
@@ -2916,8 +2916,8 @@ function Mp(t) {
2916
2916
  if (s.response && e(s.response.response)) return s.response.response;
2917
2917
  }
2918
2918
  }
2919
- async function Sc(t, e) {
2920
- const s = Ac[t.meta.offline.effect.serviceName];
2919
+ async function _c(t, e) {
2920
+ const s = fc[t.meta.offline.effect.serviceName];
2921
2921
  if (!s)
2922
2922
  throw new Error(`Service ${t.meta.offline.effect.serviceName} not found`);
2923
2923
  const i = s instanceof v;
@@ -2947,7 +2947,7 @@ async function Sc(t, e) {
2947
2947
  return j.set("x-amz-checksum-sha1", Le).field({ ...o, ...U.fields }).attach("file", w);
2948
2948
  }
2949
2949
  return j.send(o);
2950
- }, Fc = {
2950
+ }, Oc = {
2951
2951
  [u.GET]: () => g ? $e.get(T.toString()).responseType("blob") : $e.get(T.toString()),
2952
2952
  [u.POST]: () => {
2953
2953
  const j = $e.post(T.toString());
@@ -2966,7 +2966,7 @@ async function Sc(t, e) {
2966
2966
  return q(j);
2967
2967
  }
2968
2968
  }[r];
2969
- let xe = Fc();
2969
+ let xe = Oc();
2970
2970
  if (A && i) {
2971
2971
  const j = s.auth.getAuthHeader();
2972
2972
  xe = xe.set("Authorization", j);
@@ -2978,7 +2978,7 @@ async function Sc(t, e) {
2978
2978
  const U = Mp(j), Le = U == null ? void 0 : U.status;
2979
2979
  if (i && Le === 401)
2980
2980
  return await s.auth.handleUnauthorized(xe, U), xe.query(d);
2981
- throw new x({ response: U, innerError: j, discard: Pc.includes(Le) });
2981
+ throw new x({ response: U, innerError: j, discard: Tc.includes(Le) });
2982
2982
  }
2983
2983
  }
2984
2984
  class zp {
@@ -2997,7 +2997,7 @@ class zp {
2997
2997
  return this._all;
2998
2998
  }
2999
2999
  }
3000
- class _c {
3000
+ class Pc {
3001
3001
  constructor() {
3002
3002
  f(this, "next");
3003
3003
  this.next = null;
@@ -3012,16 +3012,16 @@ class _c {
3012
3012
  if (console.debug("Middleware finished. Performing request:", e), !et()) throw new Error("Client store not set");
3013
3013
  const i = Fp();
3014
3014
  if (!i) throw new Error("Client SDK not set");
3015
- return Sc(e, i);
3015
+ return _c(e, i);
3016
3016
  }
3017
3017
  }
3018
3018
  }
3019
- class Dp extends _c {
3019
+ class Dp extends Pc {
3020
3020
  async run(e) {
3021
3021
  return super.run(e);
3022
3022
  }
3023
3023
  }
3024
- class xp extends _c {
3024
+ class xp extends Pc {
3025
3025
  async run(e) {
3026
3026
  return super.run(e);
3027
3027
  }
@@ -3031,8 +3031,8 @@ function Vp(t) {
3031
3031
  var e;
3032
3032
  return (e = Up[0]) == null ? void 0 : e.run(t);
3033
3033
  }
3034
- const Pc = [400, 409, 403, 404, 405, 500];
3035
- function Tc(t, e, s = 0) {
3034
+ const Tc = [400, 409, 403, 404, 405, 500];
3035
+ function Fc(t, e, s = 0) {
3036
3036
  var r;
3037
3037
  if (console.debug(
3038
3038
  "Considering discarding request due to error:",
@@ -3066,7 +3066,7 @@ Retries:`,
3066
3066
  return console.debug("Discarding request due to deletion:", e), o();
3067
3067
  if (t instanceof x) {
3068
3068
  const d = t.status || ((r = t.response) == null ? void 0 : r.status);
3069
- if (d || console.warn("Error has no status code:", t), d !== void 0 && Pc.includes(d)) {
3069
+ if (d || console.warn("Error has no status code:", t), d !== void 0 && Tc.includes(d)) {
3070
3070
  console.warn("Discarding request due to error:", t, `
3071
3071
  Action:`, e);
3072
3072
  const h = Ge();
@@ -3086,7 +3086,7 @@ function Cp(t, e, s) {
3086
3086
  return (i = Ge()) == null ? void 0 : i.peek();
3087
3087
  }
3088
3088
  function $p(t, e) {
3089
- return et().dispatch(kh((/* @__PURE__ */ new Date()).getTime())), Vc;
3089
+ return et().dispatch(kh((/* @__PURE__ */ new Date()).getTime())), Cc;
3090
3090
  }
3091
3091
  const Je = "An unknown error occurred", Gp = 500, Sn = ["non_field_errors", "detail"];
3092
3092
  function Bp(t, e) {
@@ -3123,12 +3123,12 @@ class x extends Error {
3123
3123
  this.message = s.message ?? Bp(i, n) ?? Je, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, s.discard = s.discard ?? !1, this.options = s;
3124
3124
  }
3125
3125
  }
3126
- class Lp extends fc {
3126
+ class Lp extends yc {
3127
3127
  constructor(e) {
3128
3128
  super(e);
3129
3129
  }
3130
3130
  }
3131
- class v extends fc {
3131
+ class v extends yc {
3132
3132
  constructor(s, i) {
3133
3133
  super(s);
3134
3134
  f(this, "auth");
@@ -3147,7 +3147,7 @@ class FS extends v {
3147
3147
  },
3148
3148
  blockers: ["prompt"],
3149
3149
  blocks: ["prompt"]
3150
- }).then((i) => (this.dispatch(Qc(i)), i));
3150
+ }).then((i) => (this.dispatch(Xc(i)), i));
3151
3151
  }
3152
3152
  async continueConversation(e, s, i) {
3153
3153
  return this.enqueueRequest({
@@ -3162,7 +3162,7 @@ class FS extends v {
3162
3162
  blocks: ["prompt"],
3163
3163
  queryParams: { conversation_id: s }
3164
3164
  }).then((n) => {
3165
- this.dispatch(er(n));
3165
+ this.dispatch(tr(n));
3166
3166
  });
3167
3167
  }
3168
3168
  async fetchDetails(e) {
@@ -3173,7 +3173,7 @@ class FS extends v {
3173
3173
  blockers: ["conversation"],
3174
3174
  blocks: ["conversation"]
3175
3175
  }).then((s) => {
3176
- this.dispatch(Xc(s));
3176
+ this.dispatch(er(s));
3177
3177
  });
3178
3178
  }
3179
3179
  async rate(e, s) {
@@ -3195,7 +3195,7 @@ class FS extends v {
3195
3195
  blockers: ["agent-conversations"],
3196
3196
  blocks: ["agent-conversations"]
3197
3197
  });
3198
- return this.dispatch(Zc(s)), s;
3198
+ return this.dispatch(Qc(s)), s;
3199
3199
  }
3200
3200
  }
3201
3201
  class z extends v {
@@ -3328,11 +3328,11 @@ class OS extends De {
3328
3328
  f(this, "url", "/asset-attachments");
3329
3329
  f(this, "initializeAttachments", ts);
3330
3330
  f(this, "addAttachments", wn);
3331
- f(this, "updateAttachments", ir);
3331
+ f(this, "updateAttachments", nr);
3332
3332
  f(this, "removeAttachments", kn);
3333
- f(this, "removeAttachment", nr);
3334
- f(this, "setAttachment", sr);
3335
- f(this, "selectAttachment", rr);
3333
+ f(this, "removeAttachment", ar);
3334
+ f(this, "setAttachment", ir);
3335
+ f(this, "selectAttachment", or);
3336
3336
  }
3337
3337
  buildOfflineAttachment(s) {
3338
3338
  return F({
@@ -3377,12 +3377,12 @@ class RS extends De {
3377
3377
  super(...arguments);
3378
3378
  f(this, "name", "Asset Procedure Attachment");
3379
3379
  f(this, "url", "/asset-procedure-attachments");
3380
- f(this, "addAttachments", lr);
3381
- f(this, "updateAttachments", pr);
3382
- f(this, "removeAttachments", Ar);
3383
- f(this, "removeAttachment", mr);
3384
- f(this, "setAttachment", hr);
3385
- f(this, "selectAttachment", br);
3380
+ f(this, "addAttachments", hr);
3381
+ f(this, "updateAttachments", mr);
3382
+ f(this, "removeAttachments", fr);
3383
+ f(this, "removeAttachment", Ar);
3384
+ f(this, "setAttachment", pr);
3385
+ f(this, "selectAttachment", gr);
3386
3386
  }
3387
3387
  buildOfflineAttachment(s) {
3388
3388
  return F({
@@ -3419,7 +3419,7 @@ class RS extends De {
3419
3419
  blocks: [],
3420
3420
  blockers: []
3421
3421
  });
3422
- return this.dispatch(ur(i)), i;
3422
+ return this.dispatch(lr(i)), i;
3423
3423
  }
3424
3424
  }
3425
3425
  class IS extends z {
@@ -3450,7 +3450,7 @@ class IS extends z {
3450
3450
  };
3451
3451
  c.push(S);
3452
3452
  }
3453
- this.dispatch(_r(a));
3453
+ this.dispatch(Pr(a));
3454
3454
  const o = this.enqueueRequest({
3455
3455
  description: "Add asset procedure fields attachments",
3456
3456
  method: u.POST,
@@ -3464,10 +3464,10 @@ class IS extends z {
3464
3464
  blocks: a.map((r) => r.uuid)
3465
3465
  });
3466
3466
  return o.then((r) => {
3467
- this.processPresignedUrls(r.presigned_urls), this.dispatch(Pr(r.attachments));
3467
+ this.processPresignedUrls(r.presigned_urls), this.dispatch(Tr(r.attachments));
3468
3468
  }).catch(() => {
3469
3469
  this.dispatch(
3470
- Tr(
3470
+ Fr(
3471
3471
  a.map((r) => r.uuid)
3472
3472
  )
3473
3473
  );
@@ -3484,7 +3484,7 @@ class IS extends z {
3484
3484
  blockers: [],
3485
3485
  blocks: []
3486
3486
  });
3487
- return this.dispatch(Sr(s)), s;
3487
+ return this.dispatch(_r(s)), s;
3488
3488
  }
3489
3489
  }
3490
3490
  class vS extends v {
@@ -3495,7 +3495,7 @@ class vS extends v {
3495
3495
  created_by: i,
3496
3496
  submitted_at: n
3497
3497
  });
3498
- this.dispatch(vr(a));
3498
+ this.dispatch(wr(a));
3499
3499
  const c = this.enqueueRequest({
3500
3500
  description: "Add Asset Procedure Fields",
3501
3501
  method: u.POST,
@@ -3505,9 +3505,9 @@ class vS extends v {
3505
3505
  blocks: [a.uuid]
3506
3506
  });
3507
3507
  return c.then((l) => {
3508
- this.dispatch(wr(l));
3508
+ this.dispatch(kr(l));
3509
3509
  }).catch((l) => {
3510
- throw this.dispatch(kr(a.uuid)), l;
3510
+ throw this.dispatch(Er(a.uuid)), l;
3511
3511
  }), [a, c];
3512
3512
  }
3513
3513
  async refreshStore(e) {
@@ -3521,7 +3521,7 @@ class vS extends v {
3521
3521
  blockers: [],
3522
3522
  blocks: []
3523
3523
  });
3524
- return this.dispatch(Ir(s)), s;
3524
+ return this.dispatch(vr(s)), s;
3525
3525
  }
3526
3526
  }
3527
3527
  function Ve(t, e) {
@@ -3582,7 +3582,7 @@ class wS extends z {
3582
3582
  return Promise.all(l).then((d) => {
3583
3583
  for (const m of d) this.processPresignedUrls(m.presigned_urls);
3584
3584
  const h = d.flatMap((m) => m.attachments);
3585
- this.dispatch(Mr(h));
3585
+ this.dispatch(zr(h));
3586
3586
  }).catch((d) => {
3587
3587
  throw this.dispatch(
3588
3588
  wt(
@@ -3595,7 +3595,7 @@ class wS extends z {
3595
3595
  ];
3596
3596
  }
3597
3597
  async bulkDelete(e) {
3598
- const { store: s } = this.client, i = s.getState(), n = Dr(e)(i);
3598
+ const { store: s } = this.client, i = s.getState(), n = xr(e)(i);
3599
3599
  this.dispatch(wt(e));
3600
3600
  try {
3601
3601
  await this.enqueueRequest({
@@ -3621,7 +3621,7 @@ class wS extends z {
3621
3621
  blockers: [],
3622
3622
  blocks: []
3623
3623
  });
3624
- return this.dispatch(jr(s)), s;
3624
+ return this.dispatch(Mr(s)), s;
3625
3625
  }
3626
3626
  }
3627
3627
  class kS extends v {
@@ -3670,7 +3670,7 @@ class kS extends v {
3670
3670
  field_values: d
3671
3671
  });
3672
3672
  }
3673
- this.dispatch(Cr(n));
3673
+ this.dispatch($r(n));
3674
3674
  const o = [];
3675
3675
  for (const r of c) {
3676
3676
  const d = r.field_values.map((S) => S.asset), h = r.field_values.map((S) => S.fields_revision), m = r.field_values.map((S) => S.asset_procedure_instance), A = r.field_values.map((S) => S.uuid), g = this.enqueueRequest({
@@ -3684,10 +3684,10 @@ class kS extends v {
3684
3684
  o.push(g);
3685
3685
  }
3686
3686
  return Promise.all(o).then((r) => {
3687
- this.dispatch($r(r.flat()));
3687
+ this.dispatch(Gr(r.flat()));
3688
3688
  }).catch(() => {
3689
3689
  this.dispatch(
3690
- Gr(n.map((r) => r.uuid))
3690
+ Br(n.map((r) => r.uuid))
3691
3691
  );
3692
3692
  }), [n, o];
3693
3693
  }
@@ -3722,7 +3722,7 @@ class kS extends v {
3722
3722
  const { store: s } = this.client, i = s.getState(), n = ds(e)(i);
3723
3723
  if (!n)
3724
3724
  throw new Error(`Expected submission with uuid ${e} to exist`);
3725
- const a = xr(e)(i);
3725
+ const a = Ur(e)(i);
3726
3726
  this.dispatch(os(e)), this.dispatch(
3727
3727
  wt(a.map((c) => c.uuid))
3728
3728
  );
@@ -3749,7 +3749,7 @@ class kS extends v {
3749
3749
  blockers: [],
3750
3750
  blocks: []
3751
3751
  });
3752
- return this.dispatch(Vr(s)), s;
3752
+ return this.dispatch(Cr(s)), s;
3753
3753
  }
3754
3754
  }
3755
3755
  class ES extends v {
@@ -3823,7 +3823,7 @@ class ES extends v {
3823
3823
  blockers: [],
3824
3824
  blocks: []
3825
3825
  });
3826
- return this.dispatch(Nr(s)), s;
3826
+ return this.dispatch(Hr(s)), s;
3827
3827
  }
3828
3828
  }
3829
3829
  class qS extends v {
@@ -3876,15 +3876,15 @@ class qS extends v {
3876
3876
  const { store: s } = this.client, i = s.getState(), n = ys(e)(i);
3877
3877
  if (!n)
3878
3878
  throw new Error(`Expected asset procedure with uuid ${e} to exist`);
3879
- const a = Kr(e)(i);
3880
- return this.dispatch(fs(e)), this.dispatch(Wr(a.map((c) => c.uuid))), this.enqueueRequest({
3879
+ const a = Yr(e)(i);
3880
+ return this.dispatch(fs(e)), this.dispatch(Kr(a.map((c) => c.uuid))), this.enqueueRequest({
3881
3881
  description: "Delete asset procedure",
3882
3882
  method: u.DELETE,
3883
3883
  url: `/asset-procedures/${e}/`,
3884
3884
  blockers: [e],
3885
3885
  blocks: []
3886
3886
  }).catch((c) => {
3887
- throw this.dispatch(As(n)), this.dispatch(Hr(a)), c;
3887
+ throw this.dispatch(As(n)), this.dispatch(Wr(a)), c;
3888
3888
  });
3889
3889
  }
3890
3890
  async refreshStore(e) {
@@ -3898,7 +3898,7 @@ class qS extends v {
3898
3898
  blockers: [],
3899
3899
  blocks: []
3900
3900
  });
3901
- return this.dispatch(Jr(s)), s;
3901
+ return this.dispatch(Zr(s)), s;
3902
3902
  }
3903
3903
  }
3904
3904
  class jS extends z {
@@ -3929,7 +3929,7 @@ class jS extends z {
3929
3929
  };
3930
3930
  c.push(S);
3931
3931
  }
3932
- this.dispatch(eo(a));
3932
+ this.dispatch(to(a));
3933
3933
  const o = this.enqueueRequest({
3934
3934
  description: "Add asset procedure step fields attachments",
3935
3935
  method: u.POST,
@@ -3943,10 +3943,10 @@ class jS extends z {
3943
3943
  blocks: a.map((r) => r.uuid)
3944
3944
  });
3945
3945
  return o.then((r) => {
3946
- this.processPresignedUrls(r.presigned_urls), this.dispatch(to(r.attachments));
3946
+ this.processPresignedUrls(r.presigned_urls), this.dispatch(so(r.attachments));
3947
3947
  }).catch(() => {
3948
3948
  this.dispatch(
3949
- so(
3949
+ io(
3950
3950
  a.map((r) => r.uuid)
3951
3951
  )
3952
3952
  );
@@ -3963,7 +3963,7 @@ class jS extends z {
3963
3963
  blockers: [],
3964
3964
  blocks: []
3965
3965
  });
3966
- return this.dispatch(Xr(s)), s;
3966
+ return this.dispatch(eo(s)), s;
3967
3967
  }
3968
3968
  }
3969
3969
  class MS extends v {
@@ -4039,7 +4039,7 @@ class MS extends v {
4039
4039
  blockers: [],
4040
4040
  blocks: []
4041
4041
  });
4042
- return this.dispatch(co(s)), s;
4042
+ return this.dispatch(ro(s)), s;
4043
4043
  }
4044
4044
  }
4045
4045
  class zS extends z {
@@ -4090,7 +4090,7 @@ class zS extends z {
4090
4090
  return Promise.all(l).then((d) => {
4091
4091
  for (const m of d) this.processPresignedUrls(m.presigned_urls);
4092
4092
  const h = d.flatMap((m) => m.attachments);
4093
- this.dispatch(uo(h));
4093
+ this.dispatch(lo(h));
4094
4094
  }).catch((d) => {
4095
4095
  throw this.dispatch(
4096
4096
  Et(
@@ -4103,7 +4103,7 @@ class zS extends z {
4103
4103
  ];
4104
4104
  }
4105
4105
  async bulkDelete(e) {
4106
- const { store: s } = this.client, i = s.getState(), n = ho(e)(i);
4106
+ const { store: s } = this.client, i = s.getState(), n = po(e)(i);
4107
4107
  this.dispatch(Et(e));
4108
4108
  try {
4109
4109
  await this.enqueueRequest({
@@ -4129,7 +4129,7 @@ class zS extends z {
4129
4129
  blockers: [],
4130
4130
  blocks: []
4131
4131
  });
4132
- return this.dispatch(oo(s)), s;
4132
+ return this.dispatch(uo(s)), s;
4133
4133
  }
4134
4134
  }
4135
4135
  class DS extends v {
@@ -4179,7 +4179,7 @@ class DS extends v {
4179
4179
  field_values: d
4180
4180
  });
4181
4181
  }
4182
- this.dispatch(fo(n));
4182
+ this.dispatch(yo(n));
4183
4183
  const o = [];
4184
4184
  for (const r of c) {
4185
4185
  const d = r.field_values.map((S) => S.asset), h = r.field_values.map((S) => S.fields_revision), m = r.field_values.map((S) => S.asset_procedure_instance), A = r.field_values.map((S) => S.uuid), g = this.enqueueRequest({
@@ -4193,10 +4193,10 @@ class DS extends v {
4193
4193
  o.push(g);
4194
4194
  }
4195
4195
  return Promise.all(o).then((r) => {
4196
- this.dispatch(yo(r.flat()));
4196
+ this.dispatch(bo(r.flat()));
4197
4197
  }).catch(() => {
4198
4198
  this.dispatch(
4199
- bo(
4199
+ go(
4200
4200
  n.map((r) => r.uuid)
4201
4201
  )
4202
4202
  );
@@ -4233,7 +4233,7 @@ class DS extends v {
4233
4233
  const { store: s } = this.client, i = s.getState(), n = Rs(e)(i);
4234
4234
  if (!n)
4235
4235
  throw new Error(`Expected submission with uuid ${e} to exist`);
4236
- const a = po(e)(i);
4236
+ const a = mo(e)(i);
4237
4237
  this.dispatch(Os(e)), this.dispatch(
4238
4238
  Et(a.map((c) => c.uuid))
4239
4239
  );
@@ -4260,7 +4260,7 @@ class DS extends v {
4260
4260
  blockers: [],
4261
4261
  blocks: []
4262
4262
  });
4263
- return this.dispatch(Ao(s)), s;
4263
+ return this.dispatch(fo(s)), s;
4264
4264
  }
4265
4265
  }
4266
4266
  class xS extends v {
@@ -4319,7 +4319,7 @@ class xS extends v {
4319
4319
  }), n;
4320
4320
  }
4321
4321
  update(e) {
4322
- const { store: s } = this.client, i = Fo(e.uuid)(s.getState());
4322
+ const { store: s } = this.client, i = Oo(e.uuid)(s.getState());
4323
4323
  if (!i) throw new Error(`No asset procedure step with uuid ${e.uuid} found in the store`);
4324
4324
  const n = {
4325
4325
  ...i,
@@ -4342,7 +4342,7 @@ class xS extends v {
4342
4342
  return a.then((c) => {
4343
4343
  this.dispatch(ws(c));
4344
4344
  }).catch(() => {
4345
- this.dispatch(Po(i));
4345
+ this.dispatch(To(i));
4346
4346
  }), [n, a];
4347
4347
  }
4348
4348
  async refreshStore(e) {
@@ -4356,7 +4356,7 @@ class xS extends v {
4356
4356
  blockers: [],
4357
4357
  blocks: []
4358
4358
  });
4359
- return this.dispatch(_o(s)), s;
4359
+ return this.dispatch(Po(s)), s;
4360
4360
  }
4361
4361
  }
4362
4362
  class US extends v {
@@ -4414,7 +4414,7 @@ class US extends v {
4414
4414
  async delete(e) {
4415
4415
  const { store: s } = this.client, i = s.getState(), n = zs(e)(i);
4416
4416
  if (!n) throw new Error(`No asset with uuid ${e} found in the store`);
4417
- const a = or(e)(i), c = Eu(e)(i), o = Wu(e)(i);
4417
+ const a = dr(e)(i), c = qu(e)(i), o = Ku(e)(i);
4418
4418
  if (this.dispatch(Ms(e)), a.length > 0) {
4419
4419
  const l = a.map(({ uuid: r }) => r);
4420
4420
  this.dispatch(kn(l));
@@ -4473,7 +4473,7 @@ class US extends v {
4473
4473
  }), l;
4474
4474
  }
4475
4475
  async bulkDelete(e) {
4476
- const { store: s } = this.client, i = s.getState(), n = vo(e)(i);
4476
+ const { store: s } = this.client, i = s.getState(), n = wo(e)(i);
4477
4477
  this.dispatch(Xn(e));
4478
4478
  try {
4479
4479
  await this.enqueueRequest({
@@ -4501,7 +4501,7 @@ class US extends v {
4501
4501
  blockers: [],
4502
4502
  blocks: []
4503
4503
  });
4504
- return this.dispatch(Ro(s)), s;
4504
+ return this.dispatch(Io(s)), s;
4505
4505
  }
4506
4506
  }
4507
4507
  class VS extends v {
@@ -4522,13 +4522,13 @@ class VS extends v {
4522
4522
  blocks: [a.uuid]
4523
4523
  });
4524
4524
  return c.then((l) => {
4525
- this.dispatch(Eo(l));
4525
+ this.dispatch(qo(l));
4526
4526
  }).catch(() => {
4527
4527
  this.dispatch(Vs(a.uuid));
4528
4528
  }), [a, c];
4529
4529
  }
4530
4530
  delete(e) {
4531
- const { store: s } = this.client, i = Mo(e)(s.getState());
4531
+ const { store: s } = this.client, i = zo(e)(s.getState());
4532
4532
  if (!i)
4533
4533
  throw new Error(`Expected asset stage completion with uuid ${e} to exist`);
4534
4534
  this.dispatch(Vs(e));
@@ -4567,13 +4567,13 @@ class VS extends v {
4567
4567
  blocks: o
4568
4568
  });
4569
4569
  return l.then((d) => {
4570
- this.dispatch(qo(d));
4570
+ this.dispatch(jo(d));
4571
4571
  }).catch(() => {
4572
4572
  this.dispatch(Cs(o));
4573
4573
  }), [c, l];
4574
4574
  }
4575
4575
  bulkDelete(e) {
4576
- const { store: s } = this.client, i = zo(e)(s.getState());
4576
+ const { store: s } = this.client, i = Do(e)(s.getState());
4577
4577
  this.dispatch(Cs(e));
4578
4578
  const n = this.enqueueRequest({
4579
4579
  description: "Deleting asset stage completions",
@@ -4600,7 +4600,7 @@ class VS extends v {
4600
4600
  blockers: [],
4601
4601
  blocks: []
4602
4602
  });
4603
- return this.dispatch(ko(s)), s;
4603
+ return this.dispatch(Eo(s)), s;
4604
4604
  }
4605
4605
  }
4606
4606
  class CS extends v {
@@ -4659,7 +4659,7 @@ class CS extends v {
4659
4659
  }), n;
4660
4660
  }
4661
4661
  update(e) {
4662
- const { store: s } = this.client, i = Vo(e.uuid)(s.getState());
4662
+ const { store: s } = this.client, i = Co(e.uuid)(s.getState());
4663
4663
  if (!i) throw new Error(`No asset stage with uuid ${e.uuid} found in the store`);
4664
4664
  const n = {
4665
4665
  ...i,
@@ -4682,7 +4682,7 @@ class CS extends v {
4682
4682
  return a.then((c) => {
4683
4683
  this.dispatch(Bs(c));
4684
4684
  }).catch(() => {
4685
- this.dispatch(xo(i));
4685
+ this.dispatch(Uo(i));
4686
4686
  }), [n, a];
4687
4687
  }
4688
4688
  async refreshStore(e) {
@@ -4696,7 +4696,7 @@ class CS extends v {
4696
4696
  blockers: [],
4697
4697
  blocks: []
4698
4698
  });
4699
- return this.dispatch(Do(s)), s;
4699
+ return this.dispatch(xo(s)), s;
4700
4700
  }
4701
4701
  }
4702
4702
  class $S extends De {
@@ -4705,11 +4705,11 @@ class $S extends De {
4705
4705
  f(this, "name", "Asset Type Attachment");
4706
4706
  f(this, "url", "/asset-type-attachments");
4707
4707
  f(this, "addAttachments", ca);
4708
- f(this, "updateAttachments", Bo);
4708
+ f(this, "updateAttachments", Lo);
4709
4709
  f(this, "removeAttachments", ra);
4710
- f(this, "removeAttachment", Lo);
4711
- f(this, "setAttachment", Go);
4712
- f(this, "selectAttachment", Wo);
4710
+ f(this, "removeAttachment", No);
4711
+ f(this, "setAttachment", Bo);
4712
+ f(this, "selectAttachment", Ko);
4713
4713
  }
4714
4714
  buildOfflineAttachment(s) {
4715
4715
  return F({
@@ -4746,7 +4746,7 @@ class $S extends De {
4746
4746
  blocks: [],
4747
4747
  blockers: []
4748
4748
  });
4749
- return this.dispatch($o(i)), i;
4749
+ return this.dispatch(Go(i)), i;
4750
4750
  }
4751
4751
  }
4752
4752
  class GS extends z {
@@ -4777,7 +4777,7 @@ class GS extends z {
4777
4777
  };
4778
4778
  c.push(S);
4779
4779
  }
4780
- this.dispatch(Zo(a));
4780
+ this.dispatch(Qo(a));
4781
4781
  const o = this.enqueueRequest({
4782
4782
  description: "Add asset type fields attachments",
4783
4783
  method: u.POST,
@@ -4791,10 +4791,10 @@ class GS extends z {
4791
4791
  blocks: a.map((r) => r.uuid)
4792
4792
  });
4793
4793
  return o.then((r) => {
4794
- this.processPresignedUrls(r.presigned_urls), this.dispatch(Qo(r.attachments));
4794
+ this.processPresignedUrls(r.presigned_urls), this.dispatch(Xo(r.attachments));
4795
4795
  }).catch(() => {
4796
4796
  this.dispatch(
4797
- Xo(
4797
+ ed(
4798
4798
  a.map((r) => r.uuid)
4799
4799
  )
4800
4800
  );
@@ -4811,7 +4811,7 @@ class GS extends z {
4811
4811
  blockers: [e],
4812
4812
  blocks: []
4813
4813
  });
4814
- return this.dispatch(Jo(s)), s;
4814
+ return this.dispatch(Zo(s)), s;
4815
4815
  }
4816
4816
  }
4817
4817
  class BS extends v {
@@ -4822,7 +4822,7 @@ class BS extends v {
4822
4822
  created_by: i,
4823
4823
  submitted_at: n
4824
4824
  });
4825
- this.dispatch(nd(a));
4825
+ this.dispatch(ad(a));
4826
4826
  const c = this.enqueueRequest({
4827
4827
  description: "Add Asset Type Fields",
4828
4828
  method: u.POST,
@@ -4832,9 +4832,9 @@ class BS extends v {
4832
4832
  blocks: [a.uuid]
4833
4833
  });
4834
4834
  return c.then((l) => {
4835
- this.dispatch(ad(l));
4835
+ this.dispatch(cd(l));
4836
4836
  }).catch((l) => {
4837
- throw this.dispatch(cd(a.uuid)), l;
4837
+ throw this.dispatch(rd(a.uuid)), l;
4838
4838
  }), [a, c];
4839
4839
  }
4840
4840
  async refreshStore(e) {
@@ -4848,7 +4848,7 @@ class BS extends v {
4848
4848
  blockers: [],
4849
4849
  blocks: []
4850
4850
  });
4851
- return this.dispatch(id(s)), s;
4851
+ return this.dispatch(nd(s)), s;
4852
4852
  }
4853
4853
  }
4854
4854
  class LS extends z {
@@ -4899,7 +4899,7 @@ class LS extends z {
4899
4899
  return Promise.all(l).then((d) => {
4900
4900
  for (const m of d) this.processPresignedUrls(m.presigned_urls);
4901
4901
  const h = d.flatMap((m) => m.attachments);
4902
- this.dispatch(ud(h));
4902
+ this.dispatch(ld(h));
4903
4903
  }).catch((d) => {
4904
4904
  throw this.dispatch(
4905
4905
  Mt(
@@ -4912,7 +4912,7 @@ class LS extends z {
4912
4912
  ];
4913
4913
  }
4914
4914
  async bulkDelete(e) {
4915
- const { store: s } = this.client, i = s.getState(), n = hd(e)(i);
4915
+ const { store: s } = this.client, i = s.getState(), n = pd(e)(i);
4916
4916
  this.dispatch(Mt(e));
4917
4917
  try {
4918
4918
  await this.enqueueRequest({
@@ -4938,7 +4938,7 @@ class LS extends z {
4938
4938
  blockers: [],
4939
4939
  blocks: []
4940
4940
  });
4941
- return this.dispatch(dd(s)), s;
4941
+ return this.dispatch(ud(s)), s;
4942
4942
  }
4943
4943
  }
4944
4944
  class NS extends v {
@@ -4986,7 +4986,7 @@ class NS extends v {
4986
4986
  field_values: d
4987
4987
  });
4988
4988
  }
4989
- this.dispatch(fd(n));
4989
+ this.dispatch(yd(n));
4990
4990
  const o = [];
4991
4991
  for (const r of c) {
4992
4992
  const d = r.field_values.map((g) => g.asset), h = r.field_values.map((g) => g.fields_revision), m = r.field_values.map((g) => g.uuid), A = this.enqueueRequest({
@@ -5000,9 +5000,9 @@ class NS extends v {
5000
5000
  o.push(A);
5001
5001
  }
5002
5002
  return Promise.all(o).then((r) => {
5003
- this.dispatch(yd(r.flat()));
5003
+ this.dispatch(bd(r.flat()));
5004
5004
  }).catch(() => {
5005
- this.dispatch(bd(n.map((r) => r.uuid)));
5005
+ this.dispatch(gd(n.map((r) => r.uuid)));
5006
5006
  }), [n, o];
5007
5007
  }
5008
5008
  update(e) {
@@ -5036,7 +5036,7 @@ class NS extends v {
5036
5036
  const { store: s } = this.client, i = s.getState(), n = Xs(e)(i);
5037
5037
  if (!n)
5038
5038
  throw new Error(`Expected submission with uuid ${e} to exist`);
5039
- const a = pd(e)(i);
5039
+ const a = md(e)(i);
5040
5040
  this.dispatch(Qs(e)), this.dispatch(Mt(a.map((c) => c.uuid)));
5041
5041
  try {
5042
5042
  await this.enqueueRequest({
@@ -5061,7 +5061,7 @@ class NS extends v {
5061
5061
  blockers: [],
5062
5062
  blocks: []
5063
5063
  });
5064
- return this.dispatch(Ad(s)), s;
5064
+ return this.dispatch(fd(s)), s;
5065
5065
  }
5066
5066
  }
5067
5067
  class HS extends v {
@@ -5119,7 +5119,7 @@ class HS extends v {
5119
5119
  const { store: s } = this.client, i = s.getState(), n = ii(e)(i);
5120
5120
  if (!n)
5121
5121
  throw new Error(`Expected asset type with uuid ${e} to exist`);
5122
- const a = ta(e)(i), c = Ko(e)(i);
5122
+ const a = ta(e)(i), c = Yo(e)(i);
5123
5123
  return this.dispatch(si(e)), this.dispatch(Xn(a.map((o) => o.uuid))), this.dispatch(ra(c.map(({ uuid: o }) => o))), this.enqueueRequest({
5124
5124
  description: "Delete asset type",
5125
5125
  method: u.DELETE,
@@ -5141,7 +5141,7 @@ class HS extends v {
5141
5141
  blockers: [],
5142
5142
  blocks: []
5143
5143
  });
5144
- return this.dispatch(_d(s)), s;
5144
+ return this.dispatch(Pd(s)), s;
5145
5145
  }
5146
5146
  }
5147
5147
  class WS extends v {
@@ -5168,7 +5168,7 @@ class WS extends v {
5168
5168
  if (!i)
5169
5169
  throw new Error(`Expected an existing category with uuid ${e.uuid}`);
5170
5170
  const n = { ...i, ...e };
5171
- this.dispatch(Id(n));
5171
+ this.dispatch(vd(n));
5172
5172
  const a = this.enqueueRequest({
5173
5173
  description: "Edit Category",
5174
5174
  method: u.PATCH,
@@ -5183,7 +5183,7 @@ class WS extends v {
5183
5183
  const { store: s } = this.client, i = ri(e)(s.getState());
5184
5184
  if (!i)
5185
5185
  throw new Error(`No category with uuid ${e} found in the store`);
5186
- this.dispatch(vd(e));
5186
+ this.dispatch(wd(e));
5187
5187
  const n = this.enqueueRequest({
5188
5188
  description: "Delete Category",
5189
5189
  method: u.DELETE,
@@ -5206,7 +5206,7 @@ class WS extends v {
5206
5206
  blocks: [],
5207
5207
  blockers: []
5208
5208
  });
5209
- return this.dispatch(Rd(s)), s;
5209
+ return this.dispatch(Id(s)), s;
5210
5210
  }
5211
5211
  }
5212
5212
  class KS extends De {
@@ -5214,12 +5214,12 @@ class KS extends De {
5214
5214
  super(...arguments);
5215
5215
  f(this, "name", "Document Attachment");
5216
5216
  f(this, "url", "/document-attachments");
5217
- f(this, "addAttachments", qd);
5218
- f(this, "updateAttachments", Md);
5219
- f(this, "removeAttachments", Dd);
5220
- f(this, "removeAttachment", zd);
5221
- f(this, "setAttachment", jd);
5222
- f(this, "selectAttachment", Vd);
5217
+ f(this, "addAttachments", jd);
5218
+ f(this, "updateAttachments", zd);
5219
+ f(this, "removeAttachments", xd);
5220
+ f(this, "removeAttachment", Dd);
5221
+ f(this, "setAttachment", Md);
5222
+ f(this, "selectAttachment", Cd);
5223
5223
  }
5224
5224
  buildOfflineAttachment(s) {
5225
5225
  return F({
@@ -5313,7 +5313,7 @@ class KS extends De {
5313
5313
  blocks: [],
5314
5314
  blockers: []
5315
5315
  });
5316
- this.dispatch(Ed(n));
5316
+ this.dispatch(qd(n));
5317
5317
  const a = await this.enqueueRequest({
5318
5318
  description: "Get document attachments",
5319
5319
  method: u.GET,
@@ -5332,7 +5332,7 @@ class YS extends v {
5332
5332
  created_by: i,
5333
5333
  submitted_at: n
5334
5334
  });
5335
- this.dispatch(Gd([a]));
5335
+ this.dispatch(Bd([a]));
5336
5336
  const c = this.enqueueRequest({
5337
5337
  description: "Create Document",
5338
5338
  method: u.POST,
@@ -5386,7 +5386,7 @@ class YS extends v {
5386
5386
  );
5387
5387
  c.push(r), r.parent_document && c.push(a[r.parent_document]);
5388
5388
  }
5389
- this.dispatch(Bd({ documentId: e, targetDocumentId: s, position: i }));
5389
+ this.dispatch(Ld({ documentId: e, targetDocumentId: s, position: i }));
5390
5390
  const l = this.enqueueRequest({
5391
5391
  description: "Move Document",
5392
5392
  method: u.PATCH,
@@ -5405,7 +5405,7 @@ class YS extends v {
5405
5405
  }), l;
5406
5406
  }
5407
5407
  delete(e) {
5408
- const { store: s } = this.client, i = Ye(s.getState()), n = Nd(e)(s.getState());
5408
+ const { store: s } = this.client, i = Ye(s.getState()), n = Hd(e)(s.getState());
5409
5409
  if (!n)
5410
5410
  throw new Error(`attempting to delete a document with uuid ${e} that does not exist in store.documents`);
5411
5411
  const a = n.parent_document ? i[n.parent_document] : void 0;
@@ -5437,7 +5437,7 @@ class YS extends v {
5437
5437
  blockers: [],
5438
5438
  blocks: []
5439
5439
  }), a = [...await i, ...await n];
5440
- return this.dispatch($d(a)), a;
5440
+ return this.dispatch(Gd(a)), a;
5441
5441
  }
5442
5442
  }
5443
5443
  class JS extends v {
@@ -5452,14 +5452,14 @@ class JS extends v {
5452
5452
  });
5453
5453
  }
5454
5454
  async remove(e) {
5455
- return this.dispatch(Yd(e.uuid)), this.enqueueRequest({
5455
+ return this.dispatch(Jd(e.uuid)), this.enqueueRequest({
5456
5456
  description: "Remove email domain from organization",
5457
5457
  method: u.DELETE,
5458
5458
  url: `/organization-email-domains/${e.uuid}/`,
5459
5459
  blockers: [e.domain],
5460
5460
  blocks: []
5461
5461
  }).catch((s) => {
5462
- throw this.dispatch(Kd(e)), s;
5462
+ throw this.dispatch(Yd(e)), s;
5463
5463
  });
5464
5464
  }
5465
5465
  async refreshStore(e) {
@@ -5473,7 +5473,7 @@ class JS extends v {
5473
5473
  blockers: [e],
5474
5474
  blocks: []
5475
5475
  });
5476
- return this.dispatch(Wd(s)), s;
5476
+ return this.dispatch(Kd(s)), s;
5477
5477
  }
5478
5478
  }
5479
5479
  class ZS extends v {
@@ -5508,7 +5508,7 @@ class QS extends v {
5508
5508
  f(this, "host");
5509
5509
  // NOTE: If you alter the schema (of the IndexedDB database) in any way, you must increment the version in order to
5510
5510
  // migrate the store. This allows idb to automatically migrate the user's existing data to the new schema.
5511
- f(this, "_dbPromise", qc("fileCache", 1, {
5511
+ f(this, "_dbPromise", jc("fileCache", 1, {
5512
5512
  upgrade(s) {
5513
5513
  s.createObjectStore("files");
5514
5514
  }
@@ -5530,7 +5530,7 @@ class QS extends v {
5530
5530
  blockers: [],
5531
5531
  blocks: [`s3-${n}`]
5532
5532
  });
5533
- return "url" in a && this.dispatch(eu({ sha1: s, ...a })), a;
5533
+ return "url" in a && this.dispatch(tu({ sha1: s, ...a })), a;
5534
5534
  }
5535
5535
  /**
5536
5536
  * Adds a file to the cache using the sha1 hash as the key and returns the sha1 hash.
@@ -5560,7 +5560,7 @@ class QS extends v {
5560
5560
  }
5561
5561
  async getOrRenewUploadUrl(s) {
5562
5562
  const i = this.client.store.getState();
5563
- return tu(s)(i) ?? await this.renewUploadUrl(s);
5563
+ return su(s)(i) ?? await this.renewUploadUrl(s);
5564
5564
  }
5565
5565
  /** Ensure the file has been added to the file cache before calling `uploadFileToS3()` */
5566
5566
  async uploadFileToS3(s) {
@@ -5607,7 +5607,7 @@ class QS extends v {
5607
5607
  return c;
5608
5608
  }
5609
5609
  if (s.startsWith("blob:")) {
5610
- const d = await Wc(s), h = new File([d], n ?? i, { type: d.type });
5610
+ const d = await Kc(s), h = new File([d], n ?? i, { type: d.type });
5611
5611
  return await this.addCache(h, i), h;
5612
5612
  }
5613
5613
  let o = pt[a], l = !0;
@@ -5650,7 +5650,7 @@ class QS extends v {
5650
5650
  if (!h)
5651
5651
  throw new Error("File has no extension");
5652
5652
  const m = n ?? d + "." + h;
5653
- if (r = Hc(r, m), !r.name)
5653
+ if (r = Wc(r, m), !r.name)
5654
5654
  throw new Error("Failed to set file's name");
5655
5655
  await this.addCache(r, d), pt[a] = new Promise((A) => {
5656
5656
  A(r);
@@ -5687,7 +5687,7 @@ class XS extends z {
5687
5687
  };
5688
5688
  c.push(S);
5689
5689
  }
5690
- this.dispatch(nu(a));
5690
+ this.dispatch(au(a));
5691
5691
  const o = this.enqueueRequest({
5692
5692
  description: "Attach files to form revision",
5693
5693
  method: u.POST,
@@ -5701,10 +5701,10 @@ class XS extends z {
5701
5701
  blocks: a.map((r) => r.uuid)
5702
5702
  });
5703
5703
  return o.then((r) => {
5704
- this.processPresignedUrls(r.presigned_urls), this.dispatch(au(r.attachments));
5704
+ this.processPresignedUrls(r.presigned_urls), this.dispatch(cu(r.attachments));
5705
5705
  }).catch(() => {
5706
5706
  this.dispatch(
5707
- cu(a.map((r) => r.uuid))
5707
+ ru(a.map((r) => r.uuid))
5708
5708
  );
5709
5709
  }), [a, o.then(({ attachments: r }) => r)];
5710
5710
  }
@@ -5719,7 +5719,7 @@ class XS extends z {
5719
5719
  blockers: [e],
5720
5720
  blocks: []
5721
5721
  });
5722
- return this.dispatch(iu(s)), s;
5722
+ return this.dispatch(nu(s)), s;
5723
5723
  }
5724
5724
  }
5725
5725
  class e_ extends z {
@@ -5740,7 +5740,7 @@ class e_ extends z {
5740
5740
  blocks: [a.uuid]
5741
5741
  });
5742
5742
  return c.then((l) => {
5743
- this.dispatch(hu(l));
5743
+ this.dispatch(pu(l));
5744
5744
  }).catch(() => {
5745
5745
  this.dispatch(Ra(a.uuid));
5746
5746
  }), [a, c];
@@ -5756,7 +5756,7 @@ class e_ extends z {
5756
5756
  blockers: [e],
5757
5757
  blocks: []
5758
5758
  });
5759
- return this.dispatch(uu(s)), s;
5759
+ return this.dispatch(lu(s)), s;
5760
5760
  }
5761
5761
  }
5762
5762
  class t_ extends z {
@@ -5795,13 +5795,13 @@ class t_ extends z {
5795
5795
  }), [c, o, l];
5796
5796
  }
5797
5797
  async delete(e) {
5798
- const { store: s } = this.client, i = s.getState(), n = _u(e)(i);
5798
+ const { store: s } = this.client, i = s.getState(), n = Pu(e)(i);
5799
5799
  if (!n)
5800
5800
  throw new Error("Expected form to exist");
5801
- const a = wu(e)(i);
5801
+ const a = ku(e)(i);
5802
5802
  a.length > 0 && this.dispatch(Kt(a.map(({ uuid: o }) => o)));
5803
- const c = Au(e)(i);
5804
- c.length > 0 && this.dispatch(pu(c.map(({ uuid: o }) => o))), this.dispatch(yi(e));
5803
+ const c = fu(e)(i);
5804
+ c.length > 0 && this.dispatch(mu(c.map(({ uuid: o }) => o))), this.dispatch(yi(e));
5805
5805
  try {
5806
5806
  return await this.enqueueRequest({
5807
5807
  description: "Delete form",
@@ -5811,7 +5811,7 @@ class t_ extends z {
5811
5811
  blocks: []
5812
5812
  });
5813
5813
  } catch (o) {
5814
- throw this.dispatch(fi(n)), c.length > 0 && this.dispatch(lu(c)), a.length > 0 && this.dispatch(Wt(a)), o;
5814
+ throw this.dispatch(fi(n)), c.length > 0 && this.dispatch(hu(c)), a.length > 0 && this.dispatch(Wt(a)), o;
5815
5815
  }
5816
5816
  }
5817
5817
  async refreshStore(e) {
@@ -5825,7 +5825,7 @@ class t_ extends z {
5825
5825
  blockers: [e],
5826
5826
  blocks: []
5827
5827
  });
5828
- return this.dispatch(yu(s)), s;
5828
+ return this.dispatch(bu(s)), s;
5829
5829
  }
5830
5830
  }
5831
5831
  class s_ extends z {
@@ -5870,7 +5870,7 @@ class s_ extends z {
5870
5870
  blocks: a.map((r) => r.uuid)
5871
5871
  });
5872
5872
  return o.then((r) => {
5873
- this.processPresignedUrls(r.presigned_urls), this.dispatch(Tu(r.attachments));
5873
+ this.processPresignedUrls(r.presigned_urls), this.dispatch(Fu(r.attachments));
5874
5874
  }).catch((r) => {
5875
5875
  throw this.dispatch(
5876
5876
  Dt(
@@ -5880,7 +5880,7 @@ class s_ extends z {
5880
5880
  }), [a, o.then(({ attachments: r }) => r)];
5881
5881
  }
5882
5882
  async bulkDelete(e) {
5883
- const { store: s } = this.client, i = s.getState(), n = Fu(e)(i);
5883
+ const { store: s } = this.client, i = s.getState(), n = Ou(e)(i);
5884
5884
  this.dispatch(Dt(e));
5885
5885
  try {
5886
5886
  await this.enqueueRequest({
@@ -5906,7 +5906,7 @@ class s_ extends z {
5906
5906
  blockers: [],
5907
5907
  blocks: []
5908
5908
  });
5909
- return this.dispatch(Pu(s)), s;
5909
+ return this.dispatch(Tu(s)), s;
5910
5910
  }
5911
5911
  }
5912
5912
  class i_ extends z {
@@ -5941,7 +5941,7 @@ class i_ extends z {
5941
5941
  ...n,
5942
5942
  ...e
5943
5943
  };
5944
- this.dispatch(vu(a));
5944
+ this.dispatch(wu(a));
5945
5945
  const c = this.enqueueRequest({
5946
5946
  description: "Delete user form submissions",
5947
5947
  method: u.PATCH,
@@ -5960,7 +5960,7 @@ class i_ extends z {
5960
5960
  const { store: s } = this.client, i = s.getState(), n = Pi(e)(i);
5961
5961
  if (!n)
5962
5962
  throw new Error(`Expected submission with uuid ${e} to exist`);
5963
- const a = Ou(e)(i);
5963
+ const a = Ru(e)(i);
5964
5964
  this.dispatch(_i(e)), this.dispatch(Dt(a.map((c) => c.uuid)));
5965
5965
  try {
5966
5966
  return await this.enqueueRequest({
@@ -5985,7 +5985,7 @@ class i_ extends z {
5985
5985
  blockers: [],
5986
5986
  blocks: []
5987
5987
  });
5988
- return this.dispatch(Iu(s)), s;
5988
+ return this.dispatch(vu(s)), s;
5989
5989
  }
5990
5990
  }
5991
5991
  class n_ extends z {
@@ -5999,7 +5999,7 @@ class n_ extends z {
5999
5999
  submitted_at: a,
6000
6000
  created_by: c
6001
6001
  });
6002
- this.dispatch(zu(r));
6002
+ this.dispatch(Du(r));
6003
6003
  const d = this.enqueueRequest({
6004
6004
  description: "Add geo image",
6005
6005
  method: u.POST,
@@ -6054,7 +6054,7 @@ class n_ extends z {
6054
6054
  original_date: T.original_date
6055
6055
  });
6056
6056
  }
6057
- this.dispatch(Du(c));
6057
+ this.dispatch(xu(c));
6058
6058
  const d = this.enqueueRequest({
6059
6059
  description: "Bulk add geo images",
6060
6060
  method: u.POST,
@@ -6069,9 +6069,9 @@ class n_ extends z {
6069
6069
  blockers: o
6070
6070
  });
6071
6071
  return d.then((m) => {
6072
- this.processPresignedUrls(m.presigned_urls), this.dispatch(Mu(m.geo_images));
6072
+ this.processPresignedUrls(m.presigned_urls), this.dispatch(zu(m.geo_images));
6073
6073
  }).catch(() => {
6074
- this.dispatch(Uu(o));
6074
+ this.dispatch(Vu(o));
6075
6075
  }), [c, d.then((m) => m.geo_images)];
6076
6076
  }
6077
6077
  update(e) {
@@ -6079,7 +6079,7 @@ class n_ extends z {
6079
6079
  if (!n)
6080
6080
  throw new Error(`Map image with uuid ${e.uuid} does not exist in the store`);
6081
6081
  const a = { ...n, ...e };
6082
- this.dispatch(xu(a));
6082
+ this.dispatch(Uu(a));
6083
6083
  const c = this.enqueueRequest({
6084
6084
  description: "Update geo image",
6085
6085
  method: u.PATCH,
@@ -6121,7 +6121,7 @@ class n_ extends z {
6121
6121
  blocks: [e],
6122
6122
  blockers: []
6123
6123
  });
6124
- return this.dispatch(ju(s)), s;
6124
+ return this.dispatch(Mu(s)), s;
6125
6125
  }
6126
6126
  }
6127
6127
  class a_ extends v {
@@ -6146,13 +6146,13 @@ class a_ extends v {
6146
6146
  blocks: [a.uuid]
6147
6147
  });
6148
6148
  return c.then((l) => {
6149
- this.dispatch(Bu(l));
6149
+ this.dispatch(Lu(l));
6150
6150
  }).catch(() => {
6151
6151
  this.dispatch(vi(a.uuid));
6152
6152
  }), [a, c];
6153
6153
  }
6154
6154
  async delete(e) {
6155
- const { store: s } = this.client, i = Lu(e)(s.getState());
6155
+ const { store: s } = this.client, i = Nu(e)(s.getState());
6156
6156
  if (!i)
6157
6157
  throw new Error(`Issue association with uuid ${e} not found in store.`);
6158
6158
  this.dispatch(vi(e));
@@ -6176,7 +6176,7 @@ class a_ extends v {
6176
6176
  blockers: [],
6177
6177
  blocks: []
6178
6178
  });
6179
- return this.dispatch(Gu(s)), s;
6179
+ return this.dispatch(Bu(s)), s;
6180
6180
  }
6181
6181
  }
6182
6182
  class c_ extends De {
@@ -6186,11 +6186,11 @@ class c_ extends De {
6186
6186
  f(this, "url", "/issue-attachments");
6187
6187
  f(this, "initializeAttachments", ki);
6188
6188
  f(this, "addAttachments", Ua);
6189
- f(this, "updateAttachments", Ju);
6189
+ f(this, "updateAttachments", Zu);
6190
6190
  f(this, "removeAttachments", Va);
6191
- f(this, "removeAttachment", Zu);
6192
- f(this, "setAttachment", Yu);
6193
- f(this, "selectAttachment", tl);
6191
+ f(this, "removeAttachment", Qu);
6192
+ f(this, "setAttachment", Ju);
6193
+ f(this, "selectAttachment", sl);
6194
6194
  }
6195
6195
  buildOfflineAttachment(s) {
6196
6196
  return F({
@@ -6236,12 +6236,12 @@ class r_ extends De {
6236
6236
  f(this, "name", "Issue Comment Attachment");
6237
6237
  f(this, "url", "/issue-comment-attachments");
6238
6238
  f(this, "initializeAttachments", qi);
6239
- f(this, "addAttachments", il);
6240
- f(this, "updateAttachments", al);
6241
- f(this, "removeAttachments", rl);
6242
- f(this, "removeAttachment", cl);
6243
- f(this, "setAttachment", nl);
6244
- f(this, "selectAttachment", ul);
6239
+ f(this, "addAttachments", nl);
6240
+ f(this, "updateAttachments", cl);
6241
+ f(this, "removeAttachments", ol);
6242
+ f(this, "removeAttachment", rl);
6243
+ f(this, "setAttachment", al);
6244
+ f(this, "selectAttachment", ll);
6245
6245
  }
6246
6246
  buildOfflineAttachment(s) {
6247
6247
  return F({
@@ -6350,7 +6350,7 @@ class o_ extends v {
6350
6350
  blockers: [],
6351
6351
  blocks: []
6352
6352
  });
6353
- return this.dispatch(hl(s)), s;
6353
+ return this.dispatch(pl(s)), s;
6354
6354
  }
6355
6355
  }
6356
6356
  class d_ extends v {
@@ -6462,11 +6462,11 @@ class d_ extends v {
6462
6462
  const { store: s } = this.client, i = s.getState(), n = $i(e)(i);
6463
6463
  if (!n)
6464
6464
  throw new Error(`No issue with uuid ${e} found in the store`);
6465
- const a = el(e)(i), c = dh(e)(i), o = ku(e)(i), l = {};
6466
- for (const d of Nu(e)(i))
6467
- l[d.uuid] = d;
6465
+ const a = tl(e)(i), c = dh(e)(i), o = Eu(e)(i), l = {};
6468
6466
  for (const d of Hu(e)(i))
6469
6467
  l[d.uuid] = d;
6468
+ for (const d of Wu(e)(i))
6469
+ l[d.uuid] = d;
6470
6470
  const r = Object.values(l);
6471
6471
  this.dispatch(Ci(e)), a.length > 0 && this.dispatch(Va(a.map(({ uuid: d }) => d))), c.length > 0 && this.dispatch(rh(c.map(({ uuid: d }) => d))), o.length > 0 && this.dispatch(Kt(o.map(({ uuid: d }) => d))), r.length > 0 && this.dispatch(Da(r.map(({ uuid: d }) => d)));
6472
6472
  try {
@@ -6492,7 +6492,7 @@ class d_ extends v {
6492
6492
  blockers: [],
6493
6493
  blocks: []
6494
6494
  });
6495
- return this.dispatch(Al(s)), s;
6495
+ return this.dispatch(fl(s)), s;
6496
6496
  }
6497
6497
  }
6498
6498
  class u_ extends De {
@@ -6855,8 +6855,8 @@ class A_ extends v {
6855
6855
  const { store: s } = this.client, i = s.getState(), n = Xi(e)(i);
6856
6856
  if (!n)
6857
6857
  throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
6858
- const a = Za(e)(i);
6859
- this.dispatch(Qi(e)), this.dispatch(yl(a.map((o) => o.uuid)));
6858
+ const a = Qa(e)(i);
6859
+ this.dispatch(Qi(e)), this.dispatch(bl(a.map((o) => o.uuid)));
6860
6860
  const c = this.enqueueRequest({
6861
6861
  method: u.DELETE,
6862
6862
  url: `/issue-types/${e}/`,
@@ -6864,7 +6864,7 @@ class A_ extends v {
6864
6864
  blocks: []
6865
6865
  });
6866
6866
  return c.catch(() => {
6867
- this.dispatch(lt(n)), this.dispatch(fl(a));
6867
+ this.dispatch(lt(n)), this.dispatch(yl(a));
6868
6868
  }), c;
6869
6869
  }
6870
6870
  async refreshStore(e) {
@@ -6942,7 +6942,7 @@ class y_ extends Lp {
6942
6942
  * Logs the user out
6943
6943
  */
6944
6944
  clearAuth() {
6945
- console.debug(this.constructor.name, "clearing auth;"), this.dispatch(Fd(!1)), this.clearTokens(), this.dispatch(_), this.dispatch(_);
6945
+ console.debug(this.constructor.name, "clearing auth;"), this.dispatch(Od(!1)), this.clearTokens(), this.dispatch(_), this.dispatch(_);
6946
6946
  }
6947
6947
  /**
6948
6948
  * Attempts to renew tokens
@@ -6968,7 +6968,7 @@ class y_ extends Lp {
6968
6968
  const i = Date.now() / 1e3;
6969
6969
  let n;
6970
6970
  try {
6971
- n = jc(s).exp ?? i;
6971
+ n = Mc(s).exp ?? i;
6972
6972
  } catch {
6973
6973
  n = i;
6974
6974
  }
@@ -7189,7 +7189,7 @@ class __ extends De {
7189
7189
  f(this, "url", "/project-attachments");
7190
7190
  f(this, "addAttachments", Vh);
7191
7191
  f(this, "updateAttachments", Gh);
7192
- f(this, "removeAttachments", ac);
7192
+ f(this, "removeAttachments", cc);
7193
7193
  f(this, "removeAttachment", Bh);
7194
7194
  f(this, "setAttachment", Ch);
7195
7195
  f(this, "selectAttachment", Hh);
@@ -7352,7 +7352,7 @@ class T_ extends v {
7352
7352
  const a = ip(i).filter((l) => l.project === e);
7353
7353
  this.dispatch(Qh(a.map(({ uuid: l }) => l)));
7354
7354
  const c = Wh(n.uuid)(i);
7355
- this.dispatch(ac(c.map(({ uuid: l }) => l)));
7355
+ this.dispatch(cc(c.map(({ uuid: l }) => l)));
7356
7356
  const o = zh(e)(i);
7357
7357
  this.dispatch(Mh(o.map(({ uuid: l }) => l))), this.dispatch(An(n.uuid));
7358
7358
  try {
@@ -7519,7 +7519,7 @@ class R_ {
7519
7519
  });
7520
7520
  }
7521
7521
  _enqueueRequest(e, s, i) {
7522
- const n = new Cc(), a = { ...e, BASE_URL: s, serviceName: i };
7522
+ const n = new $c(), a = { ...e, BASE_URL: s, serviceName: i };
7523
7523
  if (e.immediate) {
7524
7524
  const c = {
7525
7525
  ...a,
@@ -7538,10 +7538,10 @@ class R_ {
7538
7538
  }
7539
7539
  }
7540
7540
  };
7541
- Sc(o, this).then((l) => {
7541
+ _c(o, this).then((l) => {
7542
7542
  n.resolve(l.body);
7543
7543
  }).catch((l) => {
7544
- Tc(l, o), l instanceof Error ? n.reject(l) : n.reject(new Error((l ?? Je).toString()));
7544
+ Fc(l, o), l instanceof Error ? n.reject(l) : n.reject(new Error((l ?? Je).toString()));
7545
7545
  });
7546
7546
  } else {
7547
7547
  const c = this.store.dispatch(
@@ -7579,7 +7579,7 @@ class We {
7579
7579
  constructor() {
7580
7580
  f(this, "graph");
7581
7581
  f(this, "requestAttemptCounter");
7582
- this.graph = new Mc(), this.requestAttemptCounter = {};
7582
+ this.graph = new zc(), this.requestAttemptCounter = {};
7583
7583
  }
7584
7584
  /**
7585
7585
  * Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
@@ -7747,18 +7747,18 @@ export {
7747
7747
  GS as AssetTypeFieldsAttachmentService,
7748
7748
  BS as AssetTypeFieldsService,
7749
7749
  HS as AssetTypeService,
7750
- Uc as AttachmentModel,
7750
+ Vc as AttachmentModel,
7751
7751
  v as BaseApiService,
7752
7752
  R_ as BaseSDK,
7753
- Kc as COMMON_AUTO_FIELDS,
7753
+ Yc as COMMON_AUTO_FIELDS,
7754
7754
  WS as CategoryService,
7755
7755
  hm as DEFAULT_ISSUE_PRIORITY,
7756
7756
  lm as DEFAULT_ISSUE_STATUS,
7757
- Cc as DeferredPromise,
7757
+ $c as DeferredPromise,
7758
7758
  KS as DocumentAttachmentService,
7759
7759
  YS as DocumentService,
7760
- zc as EMPTY_ARRAY,
7761
- Dc as EMPTY_OBJECT,
7760
+ Dc as EMPTY_ARRAY,
7761
+ xc as EMPTY_OBJECT,
7762
7762
  JS as EmailDomainsService,
7763
7763
  ZS as EmailVerificationService,
7764
7764
  QS as FileService,
@@ -7785,8 +7785,8 @@ export {
7785
7785
  M as IssueUpdateChange,
7786
7786
  f_ as IssueUpdateService,
7787
7787
  y_ as JWTService,
7788
- Vc as OUTBOX_RETRY_DELAY,
7789
- xc as OrganizationAccessLevel,
7788
+ Cc as OUTBOX_RETRY_DELAY,
7789
+ Uc as OrganizationAccessLevel,
7790
7790
  b_ as OrganizationAccessService,
7791
7791
  g_ as OrganizationService,
7792
7792
  We as OutboxCoordinator,
@@ -7808,25 +7808,25 @@ export {
7808
7808
  wn as addAssetAttachments,
7809
7809
  As as addAssetProcedure,
7810
7810
  Bm as addAssetProcedureAttachment,
7811
- lr as addAssetProcedureAttachments,
7811
+ hr as addAssetProcedureAttachments,
7812
7812
  rs as addAssetProcedureFieldValues,
7813
7813
  oA as addAssetProcedureFieldValuesAttachment,
7814
7814
  vt as addAssetProcedureFieldValuesAttachments,
7815
- Cr as addAssetProcedureFieldValuesMany,
7816
- vr as addAssetProcedureFields,
7815
+ $r as addAssetProcedureFieldValuesMany,
7816
+ wr as addAssetProcedureFields,
7817
7817
  Wm as addAssetProcedureFieldsAttachment,
7818
- _r as addAssetProcedureFieldsAttachments,
7818
+ Pr as addAssetProcedureFieldsAttachments,
7819
7819
  eA as addAssetProcedureFieldsMany,
7820
7820
  ls as addAssetProcedureInstance,
7821
- Hr as addAssetProcedureInstances,
7821
+ Wr as addAssetProcedureInstances,
7822
7822
  af as addAssetProcedureStep,
7823
7823
  Fs as addAssetProcedureStepFieldValues,
7824
7824
  HA as addAssetProcedureStepFieldValuesAttachment,
7825
7825
  kt as addAssetProcedureStepFieldValuesAttachments,
7826
- fo as addAssetProcedureStepFieldValuesMany,
7826
+ yo as addAssetProcedureStepFieldValuesMany,
7827
7827
  Ss as addAssetProcedureStepFields,
7828
7828
  kA as addAssetProcedureStepFieldsAttachment,
7829
- eo as addAssetProcedureStepFieldsAttachments,
7829
+ to as addAssetProcedureStepFieldsAttachments,
7830
7830
  xA as addAssetProcedureStepFieldsMany,
7831
7831
  vs as addAssetProcedureSteps,
7832
7832
  TA as addAssetProcedures,
@@ -7840,43 +7840,43 @@ export {
7840
7840
  Zs as addAssetTypeFieldValues,
7841
7841
  Vf as addAssetTypeFieldValuesAttachment,
7842
7842
  jt as addAssetTypeFieldValuesAttachments,
7843
- fd as addAssetTypeFieldValuesMany,
7844
- nd as addAssetTypeFields,
7843
+ yd as addAssetTypeFieldValuesMany,
7844
+ ad as addAssetTypeFields,
7845
7845
  Ff as addAssetTypeFieldsAttachment,
7846
- Zo as addAssetTypeFieldsAttachments,
7846
+ Qo as addAssetTypeFieldsAttachments,
7847
7847
  Ef as addAssetTypeFieldsMany,
7848
7848
  Zf as addAssetTypes,
7849
7849
  qt as addAssets,
7850
7850
  cy as addCategories,
7851
7851
  ci as addCategory,
7852
- Qc as addConversation,
7852
+ Xc as addConversation,
7853
7853
  jm as addConversations,
7854
- my as addDocumentAttachment,
7855
- qd as addDocumentAttachments,
7856
- Gd as addDocuments,
7857
- Kd as addEmailDomain,
7858
- _y as addEmailDomains,
7854
+ py as addDocumentAttachment,
7855
+ jd as addDocumentAttachments,
7856
+ Bd as addDocuments,
7857
+ Yd as addEmailDomain,
7858
+ Sy as addEmailDomains,
7859
7859
  fi as addForm,
7860
7860
  Oa as addFormRevision,
7861
- vy as addFormRevisionAttachment,
7862
- nu as addFormRevisionAttachments,
7863
- lu as addFormRevisions,
7861
+ Iy as addFormRevisionAttachment,
7862
+ au as addFormRevisionAttachments,
7863
+ hu as addFormRevisions,
7864
7864
  Si as addFormSubmission,
7865
- Hy as addFormSubmissionAttachment,
7865
+ Ny as addFormSubmissionAttachment,
7866
7866
  zt as addFormSubmissionAttachments,
7867
7867
  Wt as addFormSubmissions,
7868
- Vy as addForms,
7869
- zu as addGeoImage,
7870
- Du as addGeoImages,
7868
+ Uy as addForms,
7869
+ Du as addGeoImage,
7870
+ xu as addGeoImages,
7871
7871
  Vi as addIssue,
7872
7872
  Ii as addIssueAssociation,
7873
7873
  za as addIssueAssociations,
7874
- ab as addIssueAttachment,
7874
+ nb as addIssueAttachment,
7875
7875
  Ua as addIssueAttachments,
7876
7876
  Mi as addIssueComment,
7877
- ob as addIssueCommentAttachment,
7878
- il as addIssueCommentAttachments,
7879
- pb as addIssueComments,
7877
+ rb as addIssueCommentAttachment,
7878
+ nl as addIssueCommentAttachments,
7879
+ hb as addIssueComments,
7880
7880
  Ql as addIssueType,
7881
7881
  Pb as addIssueTypeAttachment,
7882
7882
  Sl as addIssueTypeAttachments,
@@ -7891,7 +7891,7 @@ export {
7891
7891
  eg as addIssueTypes,
7892
7892
  nh as addIssueUpdate,
7893
7893
  ah as addIssueUpdates,
7894
- fl as addIssues,
7894
+ yl as addIssues,
7895
7895
  Eg as addOrganization,
7896
7896
  bh as addOrganizationAccess,
7897
7897
  _g as addOrganizationAccesses,
@@ -7908,59 +7908,59 @@ export {
7908
7908
  mS as addTeams,
7909
7909
  hh as addUser,
7910
7910
  mg as addUsers,
7911
- tr as agentsReducer,
7911
+ sr as agentsReducer,
7912
7912
  Rn as agentsSlice,
7913
7913
  bm as areArraysEqual,
7914
- dr as assetAttachmentReducer,
7914
+ ur as assetAttachmentReducer,
7915
7915
  vn as assetAttachmentSlice,
7916
- gr as assetProcedureAttachmentReducer,
7916
+ Sr as assetProcedureAttachmentReducer,
7917
7917
  En as assetProcedureAttachmentSlice,
7918
- Ur as assetProcedureFieldValuesAttachmentReducer,
7918
+ Vr as assetProcedureFieldValuesAttachmentReducer,
7919
7919
  zn as assetProcedureFieldValuesAttachmentSlice,
7920
- Lr as assetProcedureFieldValuesReducer,
7920
+ Nr as assetProcedureFieldValuesReducer,
7921
7921
  xn as assetProcedureFieldValuesSlice,
7922
- Rr as assetProcedureFieldsAttachmentReducer,
7922
+ Ir as assetProcedureFieldsAttachmentReducer,
7923
7923
  qn as assetProcedureFieldsAttachmentSlice,
7924
- qr as assetProcedureFieldsReducer,
7924
+ jr as assetProcedureFieldsReducer,
7925
7925
  jn as assetProcedureFieldsSlice,
7926
- Yr as assetProcedureInstanceReducer,
7926
+ Jr as assetProcedureInstanceReducer,
7927
7927
  Vn as assetProcedureInstanceSlice,
7928
- Qr as assetProcedureReducer,
7928
+ Xr as assetProcedureReducer,
7929
7929
  Gn as assetProcedureSlice,
7930
- mo as assetProcedureStepFieldValuesAttachmentReducer,
7930
+ Ao as assetProcedureStepFieldValuesAttachmentReducer,
7931
7931
  Kn as assetProcedureStepFieldValuesAttachmentSlice,
7932
- So as assetProcedureStepFieldValuesReducer,
7932
+ _o as assetProcedureStepFieldValuesReducer,
7933
7933
  Jn as assetProcedureStepFieldValuesSlice,
7934
- ao as assetProcedureStepFieldsAttachmentReducer,
7934
+ co as assetProcedureStepFieldsAttachmentReducer,
7935
7935
  Ln as assetProcedureStepFieldsAttachmentSlice,
7936
- ro as assetProcedureStepFieldsReducer,
7936
+ oo as assetProcedureStepFieldsReducer,
7937
7937
  Nn as assetProcedureStepFieldsSlice,
7938
- To as assetProcedureStepReducer,
7938
+ Fo as assetProcedureStepReducer,
7939
7939
  Zn as assetProcedureStepSlice,
7940
- wo as assetReducer,
7940
+ ko as assetReducer,
7941
7941
  Qn as assetSlice,
7942
- jo as assetStageCompletionReducer,
7942
+ Mo as assetStageCompletionReducer,
7943
7943
  sa as assetStageCompletionSlice,
7944
- Uo as assetStageReducer,
7944
+ Vo as assetStageReducer,
7945
7945
  na as assetStageSlice,
7946
- Yo as assetTypeAttachmentReducer,
7946
+ Jo as assetTypeAttachmentReducer,
7947
7947
  aa as assetTypeAttachmentSlice,
7948
- md as assetTypeFieldValuesAttachmentReducer,
7948
+ Ad as assetTypeFieldValuesAttachmentReducer,
7949
7949
  ua as assetTypeFieldValuesAttachmentSlice,
7950
- Sd as assetTypeFieldValuesReducer,
7950
+ _d as assetTypeFieldValuesReducer,
7951
7951
  ha as assetTypeFieldValuesSlice,
7952
- sd as assetTypeFieldsAttachmentReducer,
7952
+ id as assetTypeFieldsAttachmentReducer,
7953
7953
  oa as assetTypeFieldsAttachmentSlice,
7954
- od as assetTypeFieldsReducer,
7954
+ dd as assetTypeFieldsReducer,
7955
7955
  da as assetTypeFieldsSlice,
7956
- Td as assetTypeReducer,
7956
+ Fd as assetTypeReducer,
7957
7957
  ma as assetTypeSlice,
7958
- Od as authReducer,
7958
+ Rd as authReducer,
7959
7959
  Nt as authSlice,
7960
7960
  _S as baseReducer,
7961
- hc as baseReducers,
7961
+ pc as baseReducers,
7962
7962
  Fm as blobToBase64,
7963
- kd as categoryReducer,
7963
+ Ed as categoryReducer,
7964
7964
  fa as categorySlice,
7965
7965
  iy as clearTokens,
7966
7966
  Tm as constructUploadedFilePayloads,
@@ -7972,29 +7972,29 @@ export {
7972
7972
  mm as createPointGeometry,
7973
7973
  pm as createSelectionAdapter,
7974
7974
  Ms as deleteAsset,
7975
- nr as deleteAssetAttachment,
7975
+ ar as deleteAssetAttachment,
7976
7976
  kn as deleteAssetAttachments,
7977
7977
  fs as deleteAssetProcedure,
7978
- mr as deleteAssetProcedureAttachment,
7979
- Ar as deleteAssetProcedureAttachments,
7978
+ Ar as deleteAssetProcedureAttachment,
7979
+ fr as deleteAssetProcedureAttachments,
7980
7980
  os as deleteAssetProcedureFieldValues,
7981
7981
  hA as deleteAssetProcedureFieldValuesAttachment,
7982
7982
  wt as deleteAssetProcedureFieldValuesAttachments,
7983
- Gr as deleteAssetProcedureFieldValuesMany,
7984
- kr as deleteAssetProcedureFields,
7983
+ Br as deleteAssetProcedureFieldValuesMany,
7984
+ Er as deleteAssetProcedureFields,
7985
7985
  Zm as deleteAssetProcedureFieldsAttachment,
7986
- Tr as deleteAssetProcedureFieldsAttachments,
7986
+ Fr as deleteAssetProcedureFieldsAttachments,
7987
7987
  nA as deleteAssetProcedureFieldsMany,
7988
7988
  hs as deleteAssetProcedureInstance,
7989
- Wr as deleteAssetProcedureInstances,
7989
+ Kr as deleteAssetProcedureInstances,
7990
7990
  cf as deleteAssetProcedureStep,
7991
7991
  Os as deleteAssetProcedureStepFieldValues,
7992
7992
  JA as deleteAssetProcedureStepFieldValuesAttachment,
7993
7993
  Et as deleteAssetProcedureStepFieldValuesAttachments,
7994
- bo as deleteAssetProcedureStepFieldValuesMany,
7994
+ go as deleteAssetProcedureStepFieldValuesMany,
7995
7995
  _s as deleteAssetProcedureStepFields,
7996
7996
  MA as deleteAssetProcedureStepFieldsAttachment,
7997
- so as deleteAssetProcedureStepFieldsAttachments,
7997
+ io as deleteAssetProcedureStepFieldsAttachments,
7998
7998
  $A as deleteAssetProcedureStepFieldsMany,
7999
7999
  ks as deleteAssetProcedureSteps,
8000
8000
  OA as deleteAssetProcedures,
@@ -8003,47 +8003,47 @@ export {
8003
8003
  Cs as deleteAssetStageCompletions,
8004
8004
  Ls as deleteAssetStages,
8005
8005
  si as deleteAssetType,
8006
- Lo as deleteAssetTypeAttachment,
8006
+ No as deleteAssetTypeAttachment,
8007
8007
  ra as deleteAssetTypeAttachments,
8008
8008
  Qs as deleteAssetTypeFieldValues,
8009
8009
  Bf as deleteAssetTypeFieldValuesAttachment,
8010
8010
  Mt as deleteAssetTypeFieldValuesAttachments,
8011
- bd as deleteAssetTypeFieldValuesMany,
8012
- cd as deleteAssetTypeFields,
8011
+ gd as deleteAssetTypeFieldValuesMany,
8012
+ rd as deleteAssetTypeFields,
8013
8013
  vf as deleteAssetTypeFieldsAttachment,
8014
- Xo as deleteAssetTypeFieldsAttachments,
8014
+ ed as deleteAssetTypeFieldsAttachments,
8015
8015
  zf as deleteAssetTypeFieldsMany,
8016
8016
  Xf as deleteAssetTypes,
8017
8017
  Xn as deleteAssets,
8018
8018
  uy as deleteCategories,
8019
- vd as deleteCategory,
8019
+ wd as deleteCategory,
8020
8020
  Dm as deleteConversation,
8021
8021
  xm as deleteConversations,
8022
- zd as deleteDocumentAttachment,
8023
- Dd as deleteDocumentAttachments,
8024
- Yd as deleteEmailDomain,
8025
- Ry as deleteEmailDomains,
8022
+ Dd as deleteDocumentAttachment,
8023
+ xd as deleteDocumentAttachments,
8024
+ Jd as deleteEmailDomain,
8025
+ Oy as deleteEmailDomains,
8026
8026
  yi as deleteForm,
8027
8027
  Ra as deleteFormRevision,
8028
- qy as deleteFormRevisionAttachment,
8029
- cu as deleteFormRevisionAttachments,
8030
- pu as deleteFormRevisions,
8028
+ Ey as deleteFormRevisionAttachment,
8029
+ ru as deleteFormRevisionAttachments,
8030
+ mu as deleteFormRevisions,
8031
8031
  _i as deleteFormSubmission,
8032
- Jy as deleteFormSubmissionAttachment,
8032
+ Yy as deleteFormSubmissionAttachment,
8033
8033
  Dt as deleteFormSubmissionAttachments,
8034
8034
  Kt as deleteFormSubmissions,
8035
- Ly as deleteForms,
8035
+ By as deleteForms,
8036
8036
  Fi as deleteGeoImage,
8037
- Uu as deleteGeoImages,
8037
+ Vu as deleteGeoImages,
8038
8038
  Ci as deleteIssue,
8039
8039
  vi as deleteIssueAssociation,
8040
8040
  Da as deleteIssueAssociations,
8041
- Zu as deleteIssueAttachment,
8041
+ Qu as deleteIssueAttachment,
8042
8042
  Va as deleteIssueAttachments,
8043
8043
  Di as deleteIssueComment,
8044
- cl as deleteIssueCommentAttachment,
8045
- rl as deleteIssueCommentAttachments,
8046
- fb as deleteIssueComments,
8044
+ rl as deleteIssueCommentAttachment,
8045
+ ol as deleteIssueCommentAttachments,
8046
+ Ab as deleteIssueComments,
8047
8047
  ig as deleteIssueType,
8048
8048
  Tl as deleteIssueTypeAttachment,
8049
8049
  Fl as deleteIssueTypeAttachments,
@@ -8058,7 +8058,7 @@ export {
8058
8058
  ng as deleteIssueTypes,
8059
8059
  ch as deleteIssueUpdate,
8060
8060
  rh as deleteIssueUpdates,
8061
- yl as deleteIssues,
8061
+ bl as deleteIssues,
8062
8062
  Mg as deleteOrganization,
8063
8063
  gh as deleteOrganizationAccess,
8064
8064
  Og as deleteOrganizationAccesses,
@@ -8067,7 +8067,7 @@ export {
8067
8067
  dn as deleteProjectAccess,
8068
8068
  Mh as deleteProjectAccesses,
8069
8069
  Bh as deleteProjectAttachment,
8070
- ac as deleteProjectAttachments,
8070
+ cc as deleteProjectAttachments,
8071
8071
  Zh as deleteProjectFile,
8072
8072
  Qh as deleteProjectFiles,
8073
8073
  oS as deleteProjects,
@@ -8076,79 +8076,79 @@ export {
8076
8076
  ph as deleteUser,
8077
8077
  yg as deleteUsers,
8078
8078
  kp as dequeue,
8079
- Tc as discard,
8080
- Cd as documentAttachmentReducer,
8079
+ Fc as discard,
8080
+ $d as documentAttachmentReducer,
8081
8081
  ba as documentAttachmentSlice,
8082
8082
  ga as documentSlice,
8083
- Hd as documentsReducer,
8083
+ Wd as documentsReducer,
8084
8084
  Om as downloadFile,
8085
8085
  Pm as downloadInMemoryFile,
8086
- Qd as emailDomainsReducer,
8086
+ Xd as emailDomainsReducer,
8087
8087
  Sa as emailDomainsSlice,
8088
8088
  qm as emailRegex,
8089
8089
  wp as enqueue,
8090
8090
  vh as enqueueRequest,
8091
8091
  b as fallbackToEmptyArray,
8092
8092
  Ze as fallbackToEmptyObject,
8093
- su as fileReducer,
8093
+ iu as fileReducer,
8094
8094
  Pa as fileSlice,
8095
- Wc as fileToBlob,
8096
- bu as formReducer,
8097
- ou as formRevisionAttachmentReducer,
8095
+ Kc as fileToBlob,
8096
+ gu as formReducer,
8097
+ du as formRevisionAttachmentReducer,
8098
8098
  Ta as formRevisionAttachmentSlice,
8099
- fu as formRevisionReducer,
8099
+ yu as formRevisionReducer,
8100
8100
  Fa as formRevisionsSlice,
8101
8101
  Ia as formSlice,
8102
- Ru as formSubmissionAttachmentReducer,
8102
+ Iu as formSubmissionAttachmentReducer,
8103
8103
  va as formSubmissionAttachmentSlice,
8104
- qu as formSubmissionReducer,
8104
+ ju as formSubmissionReducer,
8105
8105
  ka as formSubmissionSlice,
8106
- $u as geoImageReducer,
8106
+ Gu as geoImageReducer,
8107
8107
  ja as geoImageSlice,
8108
8108
  _m as getFileIdentifier,
8109
8109
  Zt as getFileS3Key,
8110
- Gc as getLocalDateString,
8110
+ Bc as getLocalDateString,
8111
8111
  Sm as getLocalRelativeDateString,
8112
8112
  Ge as getOutboxCoordinator,
8113
- Hc as getRenamedFile,
8113
+ Wc as getRenamedFile,
8114
8114
  Ke as hashFile,
8115
8115
  I_ as initSDK,
8116
8116
  ts as initializeAssetAttachments,
8117
- ur as initializeAssetProcedureAttachments,
8118
- Vr as initializeAssetProcedureFieldValues,
8119
- jr as initializeAssetProcedureFieldValuesAttachments,
8120
- Ir as initializeAssetProcedureFields,
8121
- Sr as initializeAssetProcedureFieldsAttachments,
8122
- Nr as initializeAssetProcedureInstances,
8123
- Ao as initializeAssetProcedureStepFieldValues,
8124
- oo as initializeAssetProcedureStepFieldValuesAttachments,
8125
- co as initializeAssetProcedureStepFields,
8126
- Xr as initializeAssetProcedureStepFieldsAttachments,
8127
- _o as initializeAssetProcedureSteps,
8128
- Jr as initializeAssetProcedures,
8129
- ko as initializeAssetStageCompletions,
8130
- Do as initializeAssetStages,
8131
- $o as initializeAssetTypeAttachments,
8132
- Ad as initializeAssetTypeFieldValues,
8133
- dd as initializeAssetTypeFieldValuesAttachments,
8134
- id as initializeAssetTypeFields,
8135
- Jo as initializeAssetTypeFieldsAttachments,
8136
- _d as initializeAssetTypes,
8137
- Ro as initializeAssets,
8138
- Rd as initializeCategories,
8139
- Zc as initializeConversations,
8140
- Ed as initializeDocumentAttachments,
8141
- Wd as initializeEmailDomains,
8142
- iu as initializeFormRevisionAttachments,
8143
- uu as initializeFormRevisions,
8144
- Pu as initializeFormSubmissionAttachments,
8145
- Iu as initializeFormSubmissions,
8146
- yu as initializeForms,
8147
- ju as initializeGeoImages,
8148
- Gu as initializeIssueAssociations,
8117
+ lr as initializeAssetProcedureAttachments,
8118
+ Cr as initializeAssetProcedureFieldValues,
8119
+ Mr as initializeAssetProcedureFieldValuesAttachments,
8120
+ vr as initializeAssetProcedureFields,
8121
+ _r as initializeAssetProcedureFieldsAttachments,
8122
+ Hr as initializeAssetProcedureInstances,
8123
+ fo as initializeAssetProcedureStepFieldValues,
8124
+ uo as initializeAssetProcedureStepFieldValuesAttachments,
8125
+ ro as initializeAssetProcedureStepFields,
8126
+ eo as initializeAssetProcedureStepFieldsAttachments,
8127
+ Po as initializeAssetProcedureSteps,
8128
+ Zr as initializeAssetProcedures,
8129
+ Eo as initializeAssetStageCompletions,
8130
+ xo as initializeAssetStages,
8131
+ Go as initializeAssetTypeAttachments,
8132
+ fd as initializeAssetTypeFieldValues,
8133
+ ud as initializeAssetTypeFieldValuesAttachments,
8134
+ nd as initializeAssetTypeFields,
8135
+ Zo as initializeAssetTypeFieldsAttachments,
8136
+ Pd as initializeAssetTypes,
8137
+ Io as initializeAssets,
8138
+ Id as initializeCategories,
8139
+ Qc as initializeConversations,
8140
+ qd as initializeDocumentAttachments,
8141
+ Kd as initializeEmailDomains,
8142
+ nu as initializeFormRevisionAttachments,
8143
+ lu as initializeFormRevisions,
8144
+ Tu as initializeFormSubmissionAttachments,
8145
+ vu as initializeFormSubmissions,
8146
+ bu as initializeForms,
8147
+ Mu as initializeGeoImages,
8148
+ Bu as initializeIssueAssociations,
8149
8149
  ki as initializeIssueAttachments,
8150
8150
  qi as initializeIssueCommentAttachments,
8151
- hb as initializeIssueComments,
8151
+ lb as initializeIssueComments,
8152
8152
  Bi as initializeIssueTypeAttachments,
8153
8153
  Dl as initializeIssueTypeFieldValues,
8154
8154
  Nl as initializeIssueTypeFieldValuesAttachments,
@@ -8156,7 +8156,7 @@ export {
8156
8156
  wl as initializeIssueTypeFieldsAttachments,
8157
8157
  Zl as initializeIssueTypes,
8158
8158
  ih as initializeIssueUpdates,
8159
- Al as initializeIssues,
8159
+ fl as initializeIssues,
8160
8160
  yh as initializeOrganizationAccesses,
8161
8161
  vg as initializeOrganizations,
8162
8162
  qh as initializeProjectAccesses,
@@ -8166,58 +8166,58 @@ export {
8166
8166
  Ap as initializeTeams,
8167
8167
  lh as initializeUsers,
8168
8168
  gm as isToday,
8169
- Ku as issueAssociationReducer,
8169
+ Yu as issueAssociationReducer,
8170
8170
  Ma as issueAssociationSlice,
8171
- sl as issueAttachmentReducer,
8171
+ il as issueAttachmentReducer,
8172
8172
  xa as issueAttachmentSlice,
8173
- ll as issueCommentAttachmentReducer,
8173
+ hl as issueCommentAttachmentReducer,
8174
8174
  Ca as issueCommentAttachmentSlice,
8175
- ml as issueCommentReducer,
8175
+ Al as issueCommentReducer,
8176
8176
  $a as issueCommentSlice,
8177
8177
  gl as issueReducer,
8178
8178
  Ga as issueSlice,
8179
8179
  vl as issueTypeAttachmentReducer,
8180
- Ba as issueTypeAttachmentSlice,
8180
+ La as issueTypeAttachmentSlice,
8181
8181
  Jl as issueTypeFieldValuesAttachmentReducer,
8182
- Ka as issueTypeFieldValuesAttachmentSlice,
8182
+ Ya as issueTypeFieldValuesAttachmentSlice,
8183
8183
  Ul as issueTypeFieldValuesReducer,
8184
- Na as issueTypeFieldValuesSlice,
8184
+ Ha as issueTypeFieldValuesSlice,
8185
8185
  zl as issueTypeFieldsAttachmentReducer,
8186
- La as issueTypeFieldsAttachmentSlice,
8186
+ Na as issueTypeFieldsAttachmentSlice,
8187
8187
  Ll as issueTypeFieldsReducer,
8188
- Wa as issueTypeFieldsSlice,
8188
+ Ka as issueTypeFieldsSlice,
8189
8189
  sh as issueTypeReducer,
8190
- Ja as issueTypeSlice,
8190
+ Za as issueTypeSlice,
8191
8191
  uh as issueUpdateReducer,
8192
- Qa as issueUpdateSlice,
8192
+ Xa as issueUpdateSlice,
8193
8193
  Rm as logOnlyOnce,
8194
8194
  wh as markAsDeleted,
8195
8195
  Gg as markForDeletion,
8196
8196
  On as memoize,
8197
- Bd as moveDocument,
8197
+ Ld as moveDocument,
8198
8198
  F as offline,
8199
8199
  Em as onlyUniqueHashes,
8200
- Jc as onlyUniqueOfflineIds,
8200
+ Zc as onlyUniqueOfflineIds,
8201
8201
  _h as organizationAccessReducer,
8202
- ec as organizationAccessSlice,
8202
+ tc as organizationAccessSlice,
8203
8203
  Rh as organizationReducer,
8204
- tc as organizationSlice,
8204
+ sc as organizationSlice,
8205
8205
  Eh as outboxReducer,
8206
- sc as outboxSlice,
8206
+ ic as outboxSlice,
8207
8207
  TS as overmapEnhancer,
8208
8208
  PS as overmapReducer,
8209
8209
  _p as overmapReducers,
8210
- Sc as performRequest,
8210
+ _c as performRequest,
8211
8211
  xh as projectAccessReducer,
8212
- ic as projectAccessSlice,
8212
+ nc as projectAccessSlice,
8213
8213
  Kh as projectAttachmentReducer,
8214
- nc as projectAttachmentSlice,
8214
+ ac as projectAttachmentSlice,
8215
8215
  np as projectFileReducer,
8216
- cc as projectFileSlice,
8216
+ rc as projectFileSlice,
8217
8217
  op as projectReducer,
8218
- rc as projectSlice,
8218
+ oc as projectSlice,
8219
8219
  mp as rehydratedReducer,
8220
- oc as rehydratedSlice,
8220
+ dc as rehydratedSlice,
8221
8221
  ui as removeDocuments,
8222
8222
  Qi as removeIssueType,
8223
8223
  eS as resetProjectFileObjectUrls,
@@ -8226,190 +8226,189 @@ export {
8226
8226
  ny as selectAccessToken,
8227
8227
  Ig as selectActiveOrganizationAccess,
8228
8228
  sS as selectActiveProjectFileId,
8229
- Ud as selectAllDocumentAttachments,
8229
+ Vd as selectAllDocumentAttachments,
8230
8230
  Nh as selectAllProjectAttachments,
8231
- gy as selectAncestorIdsOfDocument,
8232
- rr as selectAssetAttachmentById,
8233
- ar as selectAssetAttachmentMapping,
8234
- cr as selectAssetAttachments,
8231
+ by as selectAncestorIdsOfDocument,
8232
+ or as selectAssetAttachmentById,
8233
+ cr as selectAssetAttachmentMapping,
8234
+ rr as selectAssetAttachments,
8235
8235
  zs as selectAssetById,
8236
- br as selectAssetProcedureAttachmentById,
8237
- fr as selectAssetProcedureAttachmentMapping,
8238
- yr as selectAssetProcedureAttachments,
8236
+ gr as selectAssetProcedureAttachmentById,
8237
+ yr as selectAssetProcedureAttachmentMapping,
8238
+ br as selectAssetProcedureAttachments,
8239
8239
  ys as selectAssetProcedureById,
8240
8240
  Un as selectAssetProcedureFieldValues,
8241
8241
  pA as selectAssetProcedureFieldValuesAttachmentById,
8242
- zr as selectAssetProcedureFieldValuesAttachments,
8243
- Dr as selectAssetProcedureFieldValuesAttachmentsByIds,
8242
+ Dr as selectAssetProcedureFieldValuesAttachments,
8243
+ xr as selectAssetProcedureFieldValuesAttachmentsByIds,
8244
8244
  Dn as selectAssetProcedureFieldValuesAttachmentsMapping,
8245
8245
  ds as selectAssetProcedureFieldValuesById,
8246
- Br as selectAssetProcedureFieldValuesMapping,
8246
+ Lr as selectAssetProcedureFieldValuesMapping,
8247
8247
  fA as selectAssetProcedureFieldValuesOfAsset,
8248
8248
  Mn as selectAssetProcedureFields,
8249
8249
  Xm as selectAssetProcedureFieldsAttachmentById,
8250
- Or as selectAssetProcedureFieldsAttachments,
8251
- Fr as selectAssetProcedureFieldsAttachmentsMapping,
8250
+ Rr as selectAssetProcedureFieldsAttachments,
8251
+ Or as selectAssetProcedureFieldsAttachmentsMapping,
8252
8252
  rA as selectAssetProcedureFieldsById,
8253
- Er as selectAssetProcedureFieldsMapping,
8253
+ qr as selectAssetProcedureFieldsMapping,
8254
8254
  aA as selectAssetProcedureFieldsOfAssetProcedure,
8255
8255
  ps as selectAssetProcedureInstanceById,
8256
8256
  $n as selectAssetProcedureInstances,
8257
8257
  PA as selectAssetProcedureInstancesByIds,
8258
8258
  Cn as selectAssetProcedureInstancesMapping,
8259
- Kr as selectAssetProcedureInstancesOfAssetProcedure,
8259
+ Yr as selectAssetProcedureInstancesOfAssetProcedure,
8260
8260
  _A as selectAssetProcedureInstancesOfAssetType,
8261
- Fo as selectAssetProcedureStepById,
8261
+ Oo as selectAssetProcedureStepById,
8262
8262
  $t as selectAssetProcedureStepFieldValues,
8263
8263
  ZA as selectAssetProcedureStepFieldValuesAttachmentById,
8264
- lo as selectAssetProcedureStepFieldValuesAttachments,
8265
- ho as selectAssetProcedureStepFieldValuesAttachmentsByIds,
8264
+ ho as selectAssetProcedureStepFieldValuesAttachments,
8265
+ po as selectAssetProcedureStepFieldValuesAttachmentsByIds,
8266
8266
  Yn as selectAssetProcedureStepFieldValuesAttachmentsMapping,
8267
8267
  Rs as selectAssetProcedureStepFieldValuesById,
8268
- go as selectAssetProcedureStepFieldValuesMapping,
8268
+ So as selectAssetProcedureStepFieldValuesMapping,
8269
8269
  ef as selectAssetProcedureStepFieldValuesOfAsset,
8270
8270
  tf as selectAssetProcedureStepFieldValuesOfAssetProcedureInstance,
8271
8271
  sf as selectAssetProcedureStepFieldValuesOfAssetProcedureStep,
8272
8272
  Wn as selectAssetProcedureStepFields,
8273
8273
  DA as selectAssetProcedureStepFieldsAttachmentById,
8274
- no as selectAssetProcedureStepFieldsAttachments,
8275
- io as selectAssetProcedureStepFieldsAttachmentsMapping,
8274
+ ao as selectAssetProcedureStepFieldsAttachments,
8275
+ no as selectAssetProcedureStepFieldsAttachmentsMapping,
8276
8276
  NA as selectAssetProcedureStepFieldsById,
8277
8277
  Hn as selectAssetProcedureStepFieldsMapping,
8278
8278
  GA as selectAssetProcedureStepFieldsOfAssetProcedureStep,
8279
8279
  Gt as selectAssetProcedureStepMapping,
8280
- Oo as selectAssetProcedureSteps,
8280
+ Ro as selectAssetProcedureSteps,
8281
8281
  Es as selectAssetProcedureStepsByIds,
8282
8282
  rf as selectAssetProcedureStepsMappingOfAssetProcedure,
8283
8283
  of as selectAssetProcedureStepsOfAssetProcedure,
8284
- Zr as selectAssetProcedures,
8284
+ Qr as selectAssetProcedures,
8285
8285
  vA as selectAssetProceduresByIds,
8286
8286
  Bn as selectAssetProceduresMapping,
8287
8287
  wA as selectAssetProceduresOfOrganization,
8288
- Vo as selectAssetStageById,
8289
- Mo as selectAssetStageCompletionById,
8288
+ Co as selectAssetStageById,
8289
+ zo as selectAssetStageCompletionById,
8290
8290
  ia as selectAssetStageCompletionMapping,
8291
8291
  Af as selectAssetStageCompletions,
8292
- zo as selectAssetStageCompletionsByIds,
8293
- Co as selectAssetStages,
8292
+ Do as selectAssetStageCompletionsByIds,
8293
+ $o as selectAssetStages,
8294
8294
  Ns as selectAssetStagesByIds,
8295
8295
  gf as selectAssetStagesMappingOfAssetProcedure,
8296
8296
  Sf as selectAssetStagesOfAssetProcedure,
8297
- Wo as selectAssetTypeAttachmentById,
8298
- No as selectAssetTypeAttachmentMapping,
8299
- Ho as selectAssetTypeAttachments,
8297
+ Ko as selectAssetTypeAttachmentById,
8298
+ Ho as selectAssetTypeAttachmentMapping,
8299
+ Wo as selectAssetTypeAttachments,
8300
8300
  ii as selectAssetTypeById,
8301
8301
  pa as selectAssetTypeFieldValues,
8302
8302
  Lf as selectAssetTypeFieldValuesAttachmentById,
8303
- ld as selectAssetTypeFieldValuesAttachments,
8304
- hd as selectAssetTypeFieldValuesAttachmentsByIds,
8303
+ hd as selectAssetTypeFieldValuesAttachments,
8304
+ pd as selectAssetTypeFieldValuesAttachmentsByIds,
8305
8305
  la as selectAssetTypeFieldValuesAttachmentsMapping,
8306
8306
  Xs as selectAssetTypeFieldValuesById,
8307
- gd as selectAssetTypeFieldValuesMapping,
8307
+ Sd as selectAssetTypeFieldValuesMapping,
8308
8308
  Wf as selectAssetTypeFieldValuesOfAsset,
8309
8309
  Lt as selectAssetTypeFields,
8310
8310
  kf as selectAssetTypeFieldsAttachmentById,
8311
- td as selectAssetTypeFieldsAttachments,
8312
- ed as selectAssetTypeFieldsAttachmentsMapping,
8311
+ sd as selectAssetTypeFieldsAttachments,
8312
+ td as selectAssetTypeFieldsAttachmentsMapping,
8313
8313
  Uf as selectAssetTypeFieldsById,
8314
- rd as selectAssetTypeFieldsMapping,
8314
+ od as selectAssetTypeFieldsMapping,
8315
8315
  Df as selectAssetTypeFieldsOfAssetType,
8316
8316
  Kf as selectAssetTypeValuesOfAssetType,
8317
- Pd as selectAssetTypes,
8317
+ Td as selectAssetTypes,
8318
8318
  ey as selectAssetTypesByIds,
8319
8319
  Aa as selectAssetTypesMapping,
8320
8320
  ty as selectAssetTypesOfOrganization,
8321
- Io as selectAssets,
8322
- vo as selectAssetsByIds,
8321
+ vo as selectAssets,
8322
+ wo as selectAssetsByIds,
8323
8323
  ea as selectAssetsMapping,
8324
8324
  ta as selectAssetsOfAssetType,
8325
- or as selectAttachmentsOfAsset,
8325
+ dr as selectAttachmentsOfAsset,
8326
8326
  Hm as selectAttachmentsOfAssetProcedure,
8327
- xr as selectAttachmentsOfAssetProcedureFieldValues,
8327
+ Ur as selectAttachmentsOfAssetProcedureFieldValues,
8328
8328
  Qm as selectAttachmentsOfAssetProcedureFields,
8329
- po as selectAttachmentsOfAssetProcedureStepFieldValues,
8329
+ mo as selectAttachmentsOfAssetProcedureStepFieldValues,
8330
8330
  zA as selectAttachmentsOfAssetProcedureStepFields,
8331
- Ko as selectAttachmentsOfAssetType,
8332
- pd as selectAttachmentsOfAssetTypeFieldValues,
8331
+ Yo as selectAttachmentsOfAssetType,
8332
+ md as selectAttachmentsOfAssetTypeFieldValues,
8333
8333
  wf as selectAttachmentsOfAssetTypeFields,
8334
- yy as selectAttachmentsOfDocument,
8335
- jy as selectAttachmentsOfFormRevision,
8336
- Ou as selectAttachmentsOfFormSubmission,
8337
- el as selectAttachmentsOfIssue,
8338
- lb as selectAttachmentsOfIssueComment,
8334
+ fy as selectAttachmentsOfDocument,
8335
+ qy as selectAttachmentsOfFormRevision,
8336
+ Ru as selectAttachmentsOfFormSubmission,
8337
+ tl as selectAttachmentsOfIssue,
8338
+ ub as selectAttachmentsOfIssueComment,
8339
8339
  Ob as selectAttachmentsOfIssueType,
8340
8340
  Yl as selectAttachmentsOfIssueTypeFieldValues,
8341
8341
  Eb as selectAttachmentsOfIssueTypeFields,
8342
8342
  Wh as selectAttachmentsOfProject,
8343
- wd as selectCategories,
8343
+ kd as selectCategories,
8344
8344
  ly as selectCategoriesByIds,
8345
8345
  hy as selectCategoriesOfProject,
8346
8346
  ri as selectCategoryById,
8347
8347
  ya as selectCategoryMapping,
8348
- yb as selectCommentsOfIssue,
8348
+ fb as selectCommentsOfIssue,
8349
8349
  Vm as selectConversation,
8350
8350
  In as selectConversationMapping,
8351
8351
  Um as selectConversations,
8352
8352
  Ah as selectCurrentUser,
8353
8353
  Cg as selectDeletedRequests,
8354
- Vd as selectDocumentAttachmentById,
8355
- xd as selectDocumentAttachmentMapping,
8356
- Nd as selectDocumentById,
8357
- Ld as selectDocuments,
8358
- by as selectDocumentsByIds,
8354
+ Cd as selectDocumentAttachmentById,
8355
+ Ud as selectDocumentAttachmentMapping,
8356
+ Hd as selectDocumentById,
8357
+ Nd as selectDocuments,
8358
+ yy as selectDocumentsByIds,
8359
8359
  Ye as selectDocumentsMapping,
8360
- Zd as selectEmailDomains,
8361
- Jd as selectEmailDomainsAsMapping,
8362
- Iy as selectEmailDomainsOfOrganization,
8360
+ Qd as selectEmailDomains,
8361
+ Zd as selectEmailDomainsAsMapping,
8362
+ Ry as selectEmailDomainsOfOrganization,
8363
8363
  yA as selectFieldValuesOfAssetProcedureInstance,
8364
- _u as selectFormById,
8365
- gu as selectFormMapping,
8366
- ru as selectFormRevisionAttachmentsMapping,
8367
- xy as selectFormRevisionById,
8364
+ Pu as selectFormById,
8365
+ Su as selectFormMapping,
8366
+ ou as selectFormRevisionAttachmentsMapping,
8367
+ Dy as selectFormRevisionById,
8368
8368
  Ht as selectFormRevisionMapping,
8369
- mu as selectFormRevisions,
8370
- Au as selectFormRevisionsOfForm,
8371
- Fu as selectFormSubmissionAttachemntsByIds,
8369
+ Au as selectFormRevisions,
8370
+ fu as selectFormRevisionsOfForm,
8371
+ Ou as selectFormSubmissionAttachemntsByIds,
8372
8372
  wa as selectFormSubmissionAttachmentsMapping,
8373
8373
  Pi as selectFormSubmissionById,
8374
8374
  qa as selectFormSubmissions,
8375
8375
  Ea as selectFormSubmissionsMapping,
8376
- Eu as selectFormSubmissionsOfAsset,
8377
- wu as selectFormSubmissionsOfForm,
8378
- ku as selectFormSubmissionsOfIssue,
8379
- Su as selectForms,
8380
- Ny as selectFormsOfOrganization,
8376
+ qu as selectFormSubmissionsOfAsset,
8377
+ ku as selectFormSubmissionsOfForm,
8378
+ Eu as selectFormSubmissionsOfIssue,
8379
+ _u as selectForms,
8380
+ Ly as selectFormsOfOrganization,
8381
8381
  Oi as selectGeoImageById,
8382
- Vu as selectGeoImageMapping,
8383
- Cu as selectGeoImages,
8384
- eb as selectGeoImagesOfProject,
8382
+ Cu as selectGeoImageMapping,
8383
+ $u as selectGeoImages,
8384
+ Xy as selectGeoImagesOfProject,
8385
8385
  iS as selectIsImportingProjectFile,
8386
8386
  ay as selectIsLoggedIn,
8387
- Lu as selectIssueAssociationById,
8387
+ Nu as selectIssueAssociationById,
8388
8388
  ft as selectIssueAssociationMapping,
8389
- nb as selectIssueAssociations,
8390
- Wu as selectIssueAssociationsOfAsset,
8391
- Hu as selectIssueAssociationsOfIssue,
8392
- Nu as selectIssueAssociationsToIssue,
8393
- tl as selectIssueAttachmentById,
8394
- Qu as selectIssueAttachmentMapping,
8395
- Xu as selectIssueAttachments,
8389
+ ib as selectIssueAssociations,
8390
+ Ku as selectIssueAssociationsOfAsset,
8391
+ Wu as selectIssueAssociationsOfIssue,
8392
+ Hu as selectIssueAssociationsToIssue,
8393
+ sl as selectIssueAttachmentById,
8394
+ Xu as selectIssueAttachmentMapping,
8395
+ el as selectIssueAttachments,
8396
8396
  $i as selectIssueById,
8397
- ul as selectIssueCommentAttachmentById,
8398
- ol as selectIssueCommentAttachmentMapping,
8399
- dl as selectIssueCommentAttachments,
8397
+ ll as selectIssueCommentAttachmentById,
8398
+ dl as selectIssueCommentAttachmentMapping,
8399
+ ul as selectIssueCommentAttachments,
8400
8400
  xi as selectIssueCommentById,
8401
- pl as selectIssueCommentMapping,
8402
- py as selectIssueCountOfCategory,
8403
- bl as selectIssueMapping,
8401
+ ml as selectIssueCommentMapping,
8402
+ Ba as selectIssueMapping,
8404
8403
  Il as selectIssueTypeAttachmentById,
8405
8404
  Ol as selectIssueTypeAttachmentMapping,
8406
8405
  Rl as selectIssueTypeAttachments,
8407
8406
  Xi as selectIssueTypeById,
8408
- Ha as selectIssueTypeFieldValues,
8407
+ Wa as selectIssueTypeFieldValues,
8409
8408
  Xb as selectIssueTypeFieldValuesAttachmentById,
8410
8409
  Wl as selectIssueTypeFieldValuesAttachments,
8411
8410
  Kl as selectIssueTypeFieldValuesAttachmentsByIds,
8412
- Ya as selectIssueTypeFieldValuesAttachmentsMapping,
8411
+ Ja as selectIssueTypeFieldValuesAttachmentsMapping,
8413
8412
  Ki as selectIssueTypeFieldValuesById,
8414
8413
  xl as selectIssueTypeFieldValuesMapping,
8415
8414
  Ub as selectIssueTypeFieldValuesOfIssue,
@@ -8427,14 +8426,15 @@ export {
8427
8426
  cg as selectIssueTypesOfOrganization,
8428
8427
  oh as selectIssueUpdateMapping,
8429
8428
  dh as selectIssueUpdatesOfIssue,
8429
+ Sb as selectIssues,
8430
8430
  _b as selectIssuesByIds,
8431
- Za as selectIssuesOfIssueType,
8431
+ Qa as selectIssuesOfIssueType,
8432
8432
  rg as selectIssuesOfIssueTypeCount,
8433
8433
  cA as selectLatestAssetProcedureFieldsOfAssetProcedure,
8434
8434
  BA as selectLatestAssetProcedureStepFieldsOfAssetProcedureStep,
8435
8435
  xf as selectLatestAssetTypeFieldsOfAssetType,
8436
8436
  LA as selectLatestFieldsByAssetProcedureStep,
8437
- Uy as selectLatestFormRevisionOfForm,
8437
+ xy as selectLatestFormRevisionOfForm,
8438
8438
  Nb as selectLatestIssueTypeFieldsOfIssueType,
8439
8439
  $g as selectLatestRetryTime,
8440
8440
  hf as selectNumberOfAssetsOfAssetType,
@@ -8468,24 +8468,24 @@ export {
8468
8468
  up as selectProjects,
8469
8469
  lS as selectProjectsOfOrganization,
8470
8470
  pS as selectRehydrated,
8471
- Sy as selectRootDocuments,
8471
+ gy as selectRootDocuments,
8472
8472
  Bt as selectStageMapping,
8473
8473
  He as selectTeamById,
8474
- lc as selectTeams,
8474
+ hc as selectTeams,
8475
8475
  bS as selectTeamsByIds,
8476
- uc as selectTeamsMapping,
8476
+ lc as selectTeamsMapping,
8477
8477
  gS as selectTeamsOfOrganization,
8478
8478
  SS as selectTeamsOfUser,
8479
- tu as selectUploadUrl,
8479
+ su as selectUploadUrl,
8480
8480
  fh as selectUserById,
8481
8481
  Sg as selectUsersByIds,
8482
8482
  Qe as selectUsersMapping,
8483
8483
  ep as setActiveProjectFileId,
8484
8484
  uf as setAsset,
8485
- sr as setAssetAttachment,
8485
+ ir as setAssetAttachment,
8486
8486
  $m as setAssetAttachments,
8487
8487
  RA as setAssetProcedure,
8488
- hr as setAssetProcedureAttachment,
8488
+ pr as setAssetProcedureAttachment,
8489
8489
  Lm as setAssetProcedureAttachments,
8490
8490
  mA as setAssetProcedureFieldValues,
8491
8491
  dA as setAssetProcedureFieldValuesAttachment,
@@ -8497,7 +8497,7 @@ export {
8497
8497
  sA as setAssetProcedureFieldsMany,
8498
8498
  gA as setAssetProcedureInstance,
8499
8499
  SA as setAssetProcedureInstances,
8500
- Po as setAssetProcedureStep,
8500
+ To as setAssetProcedureStep,
8501
8501
  QA as setAssetProcedureStepFieldValues,
8502
8502
  WA as setAssetProcedureStepFieldValuesAttachment,
8503
8503
  KA as setAssetProcedureStepFieldValuesAttachments,
@@ -8508,12 +8508,12 @@ export {
8508
8508
  VA as setAssetProcedureStepFieldsMany,
8509
8509
  nf as setAssetProcedureSteps,
8510
8510
  IA as setAssetProcedures,
8511
- xo as setAssetStage,
8511
+ Uo as setAssetStage,
8512
8512
  pf as setAssetStageCompletion,
8513
8513
  mf as setAssetStageCompletions,
8514
8514
  ff as setAssetStages,
8515
8515
  Yf as setAssetType,
8516
- Go as setAssetTypeAttachment,
8516
+ Bo as setAssetTypeAttachment,
8517
8517
  Pf as setAssetTypeAttachments,
8518
8518
  Nf as setAssetTypeFieldValues,
8519
8519
  Cf as setAssetTypeFieldValuesAttachment,
@@ -8527,36 +8527,36 @@ export {
8527
8527
  lf as setAssets,
8528
8528
  oy as setCategories,
8529
8529
  ry as setCategory,
8530
- Xc as setConversation,
8530
+ er as setConversation,
8531
8531
  Mm as setConversations,
8532
8532
  bg as setCurrentUser,
8533
- jd as setDocumentAttachment,
8534
- Ay as setDocumentAttachments,
8535
- $d as setDocuments,
8536
- Py as setEmailDomain,
8537
- Ty as setEmailDomains,
8538
- Cy as setForm,
8539
- hu as setFormRevision,
8540
- wy as setFormRevisionAttachment,
8541
- ky as setFormRevisionAttachments,
8542
- My as setFormRevisions,
8533
+ Md as setDocumentAttachment,
8534
+ my as setDocumentAttachments,
8535
+ Gd as setDocuments,
8536
+ _y as setEmailDomain,
8537
+ Py as setEmailDomains,
8538
+ Vy as setForm,
8539
+ pu as setFormRevision,
8540
+ vy as setFormRevisionAttachment,
8541
+ wy as setFormRevisionAttachments,
8542
+ jy as setFormRevisions,
8543
8543
  St as setFormSubmission,
8544
- Wy as setFormSubmissionAttachment,
8545
- Ky as setFormSubmissionAttachments,
8546
- Zy as setFormSubmissions,
8547
- $y as setForms,
8544
+ Hy as setFormSubmissionAttachment,
8545
+ Wy as setFormSubmissionAttachments,
8546
+ Jy as setFormSubmissions,
8547
+ Cy as setForms,
8548
8548
  dt as setGeoImage,
8549
- Mu as setGeoImages,
8549
+ zu as setGeoImages,
8550
8550
  Xh as setIsImportingProjectFile,
8551
- bb as setIssue,
8552
- sb as setIssueAssociation,
8553
- tb as setIssueAssociations,
8554
- Yu as setIssueAttachment,
8555
- cb as setIssueAttachments,
8551
+ yb as setIssue,
8552
+ tb as setIssueAssociation,
8553
+ eb as setIssueAssociations,
8554
+ Ju as setIssueAttachment,
8555
+ ab as setIssueAttachments,
8556
8556
  zi as setIssueComment,
8557
- nl as setIssueCommentAttachment,
8558
- db as setIssueCommentAttachments,
8559
- hl as setIssueComments,
8557
+ al as setIssueCommentAttachment,
8558
+ ob as setIssueCommentAttachments,
8559
+ pl as setIssueComments,
8560
8560
  lt as setIssueType,
8561
8561
  _l as setIssueTypeAttachment,
8562
8562
  Tb as setIssueTypeAttachments,
@@ -8571,8 +8571,8 @@ export {
8571
8571
  tg as setIssueTypes,
8572
8572
  og as setIssueUpdate,
8573
8573
  dg as setIssueUpdates,
8574
- gb as setIssues,
8575
- Fd as setLoggedIn,
8574
+ bb as setIssues,
8575
+ Od as setLoggedIn,
8576
8576
  wg as setOrganization,
8577
8577
  Pg as setOrganizationAccess,
8578
8578
  Tg as setOrganizationAccesses,
@@ -8590,91 +8590,91 @@ export {
8590
8590
  Ne as setTeam,
8591
8591
  AS as setTeams,
8592
8592
  sy as setTokens,
8593
- eu as setUploadUrl,
8593
+ tu as setUploadUrl,
8594
8594
  pg as setUser,
8595
8595
  hg as setUsers,
8596
8596
  ym as shallowEqual,
8597
8597
  wm as slugify,
8598
8598
  vm as spacesToDashesLower,
8599
8599
  yp as teamReducer,
8600
- dc as teamSlice,
8600
+ uc as teamSlice,
8601
8601
  Im as toFileNameSafeString,
8602
- Yc as toOfflineIdRecord,
8602
+ Jc as toOfflineIdRecord,
8603
8603
  km as truncate,
8604
8604
  ct as updateAsset,
8605
8605
  Gm as updateAssetAttachment,
8606
- ir as updateAssetAttachments,
8606
+ nr as updateAssetAttachments,
8607
8607
  it as updateAssetProcedure,
8608
8608
  Nm as updateAssetProcedureAttachment,
8609
- pr as updateAssetProcedureAttachments,
8609
+ mr as updateAssetProcedureAttachments,
8610
8610
  tt as updateAssetProcedureFieldValues,
8611
8611
  lA as updateAssetProcedureFieldValuesAttachment,
8612
- Mr as updateAssetProcedureFieldValuesAttachments,
8613
- $r as updateAssetProcedureFieldValuesMany,
8614
- wr as updateAssetProcedureFields,
8612
+ zr as updateAssetProcedureFieldValuesAttachments,
8613
+ Gr as updateAssetProcedureFieldValuesMany,
8614
+ kr as updateAssetProcedureFields,
8615
8615
  Jm as updateAssetProcedureFieldsAttachment,
8616
- Pr as updateAssetProcedureFieldsAttachments,
8616
+ Tr as updateAssetProcedureFieldsAttachments,
8617
8617
  iA as updateAssetProcedureFieldsMany,
8618
8618
  st as updateAssetProcedureInstance,
8619
8619
  bA as updateAssetProcedureInstances,
8620
8620
  ws as updateAssetProcedureStep,
8621
8621
  at as updateAssetProcedureStepFieldValues,
8622
8622
  YA as updateAssetProcedureStepFieldValuesAttachment,
8623
- uo as updateAssetProcedureStepFieldValuesAttachments,
8624
- yo as updateAssetProcedureStepFieldValuesMany,
8623
+ lo as updateAssetProcedureStepFieldValuesAttachments,
8624
+ bo as updateAssetProcedureStepFieldValuesMany,
8625
8625
  nt as updateAssetProcedureStepFields,
8626
8626
  jA as updateAssetProcedureStepFieldsAttachment,
8627
- to as updateAssetProcedureStepFieldsAttachments,
8627
+ so as updateAssetProcedureStepFieldsAttachments,
8628
8628
  CA as updateAssetProcedureStepFieldsMany,
8629
8629
  bt as updateAssetProcedureSteps,
8630
8630
  FA as updateAssetProcedures,
8631
8631
  Bs as updateAssetStage,
8632
- Eo as updateAssetStageCompletion,
8633
- qo as updateAssetStageCompletions,
8632
+ qo as updateAssetStageCompletion,
8633
+ jo as updateAssetStageCompletions,
8634
8634
  gt as updateAssetStages,
8635
8635
  ot as updateAssetType,
8636
8636
  Tf as updateAssetTypeAttachment,
8637
- Bo as updateAssetTypeAttachments,
8637
+ Lo as updateAssetTypeAttachments,
8638
8638
  rt as updateAssetTypeFieldValues,
8639
8639
  Gf as updateAssetTypeFieldValuesAttachment,
8640
- ud as updateAssetTypeFieldValuesAttachments,
8641
- yd as updateAssetTypeFieldValuesMany,
8642
- ad as updateAssetTypeFields,
8640
+ ld as updateAssetTypeFieldValuesAttachments,
8641
+ bd as updateAssetTypeFieldValuesMany,
8642
+ cd as updateAssetTypeFields,
8643
8643
  If as updateAssetTypeFieldsAttachment,
8644
- Qo as updateAssetTypeFieldsAttachments,
8644
+ Xo as updateAssetTypeFieldsAttachments,
8645
8645
  Mf as updateAssetTypeFieldsMany,
8646
8646
  Qf as updateAssetTypes,
8647
8647
  df as updateAssets,
8648
8648
  dy as updateCategories,
8649
- Id as updateCategory,
8650
- er as updateConversation,
8649
+ vd as updateCategory,
8650
+ tr as updateConversation,
8651
8651
  zm as updateConversations,
8652
- fy as updateDocumentAttachment,
8653
- Md as updateDocumentAttachments,
8652
+ Ay as updateDocumentAttachment,
8653
+ zd as updateDocumentAttachments,
8654
8654
  Ue as updateDocuments,
8655
- Fy as updateEmailDomain,
8656
- Oy as updateEmailDomains,
8657
- Gy as updateForm,
8658
- zy as updateFormRevision,
8659
- Ey as updateFormRevisionAttachment,
8660
- au as updateFormRevisionAttachments,
8661
- Dy as updateFormRevisions,
8662
- vu as updateFormSubmission,
8663
- Yy as updateFormSubmissionAttachment,
8664
- Tu as updateFormSubmissionAttachments,
8665
- Qy as updateFormSubmissions,
8666
- By as updateForms,
8667
- xu as updateGeoImage,
8668
- Xy as updateGeoImages,
8655
+ Ty as updateEmailDomain,
8656
+ Fy as updateEmailDomains,
8657
+ $y as updateForm,
8658
+ My as updateFormRevision,
8659
+ ky as updateFormRevisionAttachment,
8660
+ cu as updateFormRevisionAttachments,
8661
+ zy as updateFormRevisions,
8662
+ wu as updateFormSubmission,
8663
+ Ky as updateFormSubmissionAttachment,
8664
+ Fu as updateFormSubmissionAttachments,
8665
+ Zy as updateFormSubmissions,
8666
+ Gy as updateForms,
8667
+ Uu as updateGeoImage,
8668
+ Qy as updateGeoImages,
8669
8669
  _t as updateIssue,
8670
- Bu as updateIssueAssociation,
8671
- ib as updateIssueAssociations,
8672
- rb as updateIssueAttachment,
8673
- Ju as updateIssueAttachments,
8674
- mb as updateIssueComment,
8675
- ub as updateIssueCommentAttachment,
8676
- al as updateIssueCommentAttachments,
8677
- Ab as updateIssueComments,
8670
+ Lu as updateIssueAssociation,
8671
+ sb as updateIssueAssociations,
8672
+ cb as updateIssueAttachment,
8673
+ Zu as updateIssueAttachments,
8674
+ pb as updateIssueComment,
8675
+ db as updateIssueCommentAttachment,
8676
+ cl as updateIssueCommentAttachments,
8677
+ mb as updateIssueComments,
8678
8678
  Xl as updateIssueType,
8679
8679
  Fb as updateIssueTypeAttachment,
8680
8680
  Pl as updateIssueTypeAttachments,
@@ -8689,7 +8689,7 @@ export {
8689
8689
  sg as updateIssueTypes,
8690
8690
  ug as updateIssueUpdate,
8691
8691
  lg as updateIssueUpdates,
8692
- Sb as updateIssues,
8692
+ gb as updateIssues,
8693
8693
  jg as updateOrganization,
8694
8694
  Pt as updateOrganizationAccess,
8695
8695
  Fg as updateOrganizationAccesses,
@@ -8707,7 +8707,7 @@ export {
8707
8707
  fg as updateUser,
8708
8708
  Ag as updateUsers,
8709
8709
  mh as userReducer,
8710
- Xa as userSlice,
8710
+ ec as userSlice,
8711
8711
  Sp as versioningReducer,
8712
8712
  gp as versioningSlice
8713
8713
  };