@overmap-ai/core 1.0.78-attachment-model-improvements.12 → 1.0.78-attachment-model-improvements.14

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.
@@ -20,7 +20,7 @@ import Mr from "jwt-decode";
20
20
  import { DepGraph as Fr } from "dependency-graph";
21
21
  import "@tiptap/core";
22
22
  const wr = Object.freeze([]), Rr = Object.freeze({});
23
- var Er = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(Er || {}), l = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(l || {}), Br = /* @__PURE__ */ ((t) => (t[t.PLANNED = 0] = "PLANNED", t[t.ACTIVE = 1] = "ACTIVE", t[t.MAINTENANCE = 2] = "MAINTENANCE", t[t.INACTIVE = 3] = "INACTIVE", t[t.RETIRED = 4] = "RETIRED", t[t.DISPOSED = 5] = "DISPOSED", t))(Br || {}), kr = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(kr || {}), An = /* @__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))(An || {}), $ = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))($ || {}), vr = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.PLANNED = 1] = "PLANNED", t[t.IN_PROGRESS = 2] = "IN_PROGRESS", t[t.COMPLETED = 3] = "COMPLETED", t[t.CANCELLED = 4] = "CANCELLED", t))(vr || {});
23
+ var Er = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(Er || {}), l = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(l || {}), Br = /* @__PURE__ */ ((t) => (t[t.PLANNED = 0] = "PLANNED", t[t.ACTIVE = 1] = "ACTIVE", t[t.MAINTENANCE = 2] = "MAINTENANCE", t[t.INACTIVE = 3] = "INACTIVE", t[t.RETIRED = 4] = "RETIRED", t[t.DISPOSED = 5] = "DISPOSED", t))(Br || {}), kr = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(kr || {}), An = /* @__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))(An || {}), x = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))(x || {}), vr = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.PLANNED = 1] = "PLANNED", t[t.IN_PROGRESS = 2] = "IN_PROGRESS", t[t.COMPLETED = 3] = "COMPLETED", t[t.CANCELLED = 4] = "CANCELLED", t))(vr || {});
24
24
  const h_ = An.MEDIUM, zr = 6e4;
25
25
  function g(t) {
26
26
  return {
@@ -188,7 +188,7 @@ const A = (t) => t.length === 0 ? wr : t, Pt = (t) => Object.keys(t).length ===
188
188
  const n = Math.round((new Date(t).getTime() - Mt.getTime()) / Dr);
189
189
  return n < s || n > e ? Vr(t) : jr.format(n, "days");
190
190
  });
191
- function xr(t) {
191
+ function $r(t) {
192
192
  return new Uint8Array(t).reduce((e, n) => e + n.toString(16).padStart(2, "0"), "");
193
193
  }
194
194
  function Ot(t) {
@@ -201,7 +201,7 @@ function Ot(t) {
201
201
  return;
202
202
  }
203
203
  crypto.subtle.digest("SHA-1", i).then((a) => {
204
- const r = xr(a);
204
+ const r = $r(a);
205
205
  s(r);
206
206
  });
207
207
  }, n.readAsArrayBuffer(t);
@@ -215,8 +215,8 @@ function Qt(t) {
215
215
  const s = t.name;
216
216
  return s.includes(".") ? s.split(".").pop() : "";
217
217
  }
218
- const $r = async (t) => (await fetch(t)).blob(), Cr = async (t, s) => {
219
- const e = await $r(t);
218
+ const xr = async (t) => (await fetch(t)).blob(), Cr = async (t, s) => {
219
+ const e = await xr(t);
220
220
  return new File([e], s, { type: e.type });
221
221
  };
222
222
  function O_(t) {
@@ -524,7 +524,7 @@ const f = (
524
524
  } = En.actions, vc = En.reducer, zc = (t) => t.assetProcedureTypeFieldsAttachmentReducer.instances, Bn = p(
525
525
  [zc],
526
526
  (t) => Object.values(t)
527
- ), x_ = f(
527
+ ), $_ = f(
528
528
  p(
529
529
  [Bn, (t, s) => s],
530
530
  (t, s) => A(t.filter((e) => e.fields_revision === s))
@@ -560,8 +560,8 @@ const f = (
560
560
  }), {
561
561
  initializeAssetProcedureTypeFields: jc,
562
562
  addAssetProcedureTypeFields: Dc,
563
- addAssetProcedureTypeFieldsMany: xc,
564
- setAssetProcedureTypeFields: $c,
563
+ addAssetProcedureTypeFieldsMany: $c,
564
+ setAssetProcedureTypeFields: xc,
565
565
  setAssetProcedureTypeFieldsMany: Cc,
566
566
  updateAssetProcedureTypeFields: Uc,
567
567
  updateAssetProcedureTypeFieldsMany: Lc,
@@ -570,7 +570,7 @@ const f = (
570
570
  } = kn.actions, Gc = kn.reducer, Wc = (t) => t.assetProcedureTypeFieldsReducer.instances, wt = p(
571
571
  [Wc],
572
572
  (t) => Object.values(t)
573
- ), $_ = f(
573
+ ), x_ = f(
574
574
  p(
575
575
  [wt, (t, s) => s],
576
576
  (t, s) => A(t.filter((e) => e.asset_procedure_type === s))
@@ -713,11 +713,11 @@ const f = (
713
713
  }), {
714
714
  initializeAssetProcedures: Id,
715
715
  addAssetProcedure: _d,
716
- addAssetProcedures: xn,
716
+ addAssetProcedures: $n,
717
717
  updateAssetProcedure: bd,
718
718
  updateAssetProcedures: gd,
719
719
  deleteAssetProcedure: Pd,
720
- deleteAssetProcedures: $n,
720
+ deleteAssetProcedures: xn,
721
721
  setAssetProcedure: Md,
722
722
  setAssetProcedures: Fd
723
723
  } = Dn.actions, wd = Dn.reducer, Rd = (t) => t.assetProcedureReducer.instances, Et = p([Rd], (t) => Object.values(t)), Ed = f(
@@ -761,8 +761,8 @@ const f = (
761
761
  updateAssetProcedureType: Vd,
762
762
  updateAssetProcedureTypes: jd,
763
763
  deleteAssetProcedureType: Dd,
764
- deleteAssetProcedureTypes: xd,
765
- setAssetProcedureType: $d,
764
+ deleteAssetProcedureTypes: $d,
765
+ setAssetProcedureType: xd,
766
766
  setAssetProcedureTypes: Cd
767
767
  } = Cn.actions, Ud = Cn.reducer, Ld = (t) => t.assetProcedureTypeReducer.instances, Un = p(
768
768
  [Ld],
@@ -966,8 +966,8 @@ const f = (
966
966
  updateAssetProcedureStepFieldValuesMany: Vo,
967
967
  deleteAssetProcedureStepFieldValues: jo,
968
968
  deleteAssetProcedureStepFieldValuesMany: Do
969
- } = Jn.actions, xo = (t) => t.assetProcedureStepFieldValuesReducer.instances, yt = p(
970
- [xo],
969
+ } = Jn.actions, $o = (t) => t.assetProcedureStepFieldValuesReducer.instances, yt = p(
970
+ [$o],
971
971
  (t) => Object.values(t)
972
972
  ), Z_ = f(
973
973
  p(
@@ -984,7 +984,7 @@ const f = (
984
984
  [yt, (t, s) => s],
985
985
  (t, s) => A(t.filter((e) => e.asset_procedure_step === s))
986
986
  )
987
- ), $o = (t) => (s) => s.assetProcedureStepFieldValuesReducer.instances[t], Co = f(
987
+ ), xo = (t) => (s) => s.assetProcedureStepFieldValuesReducer.instances[t], Co = f(
988
988
  p(
989
989
  [yt, (t, s) => s],
990
990
  (t, s) => {
@@ -1172,7 +1172,7 @@ const f = (
1172
1172
  })
1173
1173
  ), nb = f(
1174
1174
  p([ri, (t, s) => s], (t, s) => A(t.filter((e) => e.asset_procedure_type === s)))
1175
- ), xu = f(
1175
+ ), $u = f(
1176
1176
  p([ri, (t, s) => s], (t, s) => {
1177
1177
  const e = new Set(s);
1178
1178
  return A(t.filter(({ uuid: n }) => e.has(n)));
@@ -1198,7 +1198,7 @@ const f = (
1198
1198
  deleteAssetTypeAttachments: ce.deleteMany
1199
1199
  }
1200
1200
  }), {
1201
- initializeAssetTypeAttachments: $u,
1201
+ initializeAssetTypeAttachments: xu,
1202
1202
  addAssetTypeAttachment: Cu,
1203
1203
  addAssetTypeAttachments: di,
1204
1204
  setAssetTypeAttachment: Uu,
@@ -1375,8 +1375,8 @@ const f = (
1375
1375
  initializeAssetTypeFieldValues: Vl,
1376
1376
  addAssetTypeFieldValues: jl,
1377
1377
  addAssetTypeFieldValuesMany: Dl,
1378
- setAssetTypeFieldValues: xl,
1379
- setAssetTypeFieldValuesMany: $l,
1378
+ setAssetTypeFieldValues: $l,
1379
+ setAssetTypeFieldValuesMany: xl,
1380
1380
  updateAssetTypeFieldValues: Cl,
1381
1381
  updateAssetTypeFieldValuesMany: Ul,
1382
1382
  deleteAssetTypeFieldValues: Ll,
@@ -1562,8 +1562,8 @@ const f = (
1562
1562
  addAssetTypeStatuses: Vh,
1563
1563
  setAssetTypeStatus: jh,
1564
1564
  setAssetTypeStatuses: Dh,
1565
- updateAssetTypeStatus: xh,
1566
- updateAssetTypeStatuses: $h,
1565
+ updateAssetTypeStatus: $h,
1566
+ updateAssetTypeStatuses: xh,
1567
1567
  deleteAssetTypeStatus: Ch,
1568
1568
  deleteAssetTypeStatuses: Uh
1569
1569
  } = gi.actions, Lh = (t) => t.assetTypeStatusReducer.instances, Pi = p([Lh], (t) => A(Object.values(t).toSorted(Hr))), Nh = (t) => (s) => s.assetTypeStatusReducer.instances[t], Hh = f(
@@ -1767,8 +1767,8 @@ const f = (
1767
1767
  initializeFormIdentifiers: Vp,
1768
1768
  addFormIdentifier: jp,
1769
1769
  addFormIdentifiers: Dp,
1770
- setFormIdentifier: xp,
1771
- setFormIdentifiers: $p,
1770
+ setFormIdentifier: $p,
1771
+ setFormIdentifiers: xp,
1772
1772
  updateFormIdentifier: Cp,
1773
1773
  updateFormIdentifiers: Up,
1774
1774
  deleteFormIdentifier: Lp,
@@ -1868,12 +1868,12 @@ const f = (
1868
1868
  updateFormRevisionAttachments: mm,
1869
1869
  deleteFormRevisionAttachment: ym,
1870
1870
  deleteFormRevisionAttachments: fm
1871
- } = ji.actions, xt = (t) => t.formRevisionAttachmentReducer.instances, Am = p(
1872
- [xt],
1871
+ } = ji.actions, $t = (t) => t.formRevisionAttachmentReducer.instances, Am = p(
1872
+ [$t],
1873
1873
  (t) => Object.values(t)
1874
1874
  ), Sm = f(
1875
1875
  p(
1876
- [xt, (t, s) => s],
1876
+ [$t, (t, s) => s],
1877
1877
  (t, s) => t[s]
1878
1878
  )
1879
1879
  ), Tm = f(
@@ -1885,7 +1885,7 @@ const f = (
1885
1885
  }
1886
1886
  )
1887
1887
  ), Fb = f(
1888
- p([xt, (t, s) => s], (t, s) => A(
1888
+ p([$t, (t, s) => s], (t, s) => A(
1889
1889
  Object.values(t).filter((e) => e.form_revision === s)
1890
1890
  ))
1891
1891
  ), Om = ji.reducer, _e = g(
@@ -1912,27 +1912,27 @@ const f = (
1912
1912
  }
1913
1913
  }), {
1914
1914
  initializeFormRevisions: Im,
1915
- addFormRevision: xi,
1916
- addFormRevisions: $i,
1915
+ addFormRevision: $i,
1916
+ addFormRevisions: xi,
1917
1917
  setFormRevision: _m,
1918
1918
  setFormRevisions: bm,
1919
1919
  updateFormRevision: gm,
1920
1920
  updateFormRevisions: Pm,
1921
1921
  deleteFormRevision: Ci,
1922
1922
  deleteFormRevisions: Ui
1923
- } = Di.actions, Li = (t) => t.formRevisionReducer.instances, $t = p(
1923
+ } = Di.actions, Li = (t) => t.formRevisionReducer.instances, xt = p(
1924
1924
  [Li],
1925
1925
  (t) => Object.values(t)
1926
1926
  ), Mm = (t) => (s) => s.formRevisionReducer.instances[t], Fm = f(
1927
- p([$t, (t, s) => s], (t, s) => {
1927
+ p([xt, (t, s) => s], (t, s) => {
1928
1928
  const e = new Set(s);
1929
1929
  return A(t.filter(({ uuid: n }) => e.has(n)));
1930
1930
  })
1931
1931
  ), wb = f(
1932
- p([$t, (t, s) => s], (t, s) => t.filter((e) => e.form === s).sort((e, n) => e.submitted_at > n.submitted_at ? -1 : 1)[0])
1932
+ p([xt, (t, s) => s], (t, s) => t.filter((e) => e.form === s).sort((e, n) => e.submitted_at > n.submitted_at ? -1 : 1)[0])
1933
1933
  ), wm = f(
1934
1934
  p(
1935
- [$t, (t, s) => s],
1935
+ [xt, (t, s) => s],
1936
1936
  (t, s) => A(t.filter((e) => e.form === s))
1937
1937
  )
1938
1938
  ), Rm = Di.reducer, be = g((t) => t.uuid), Vs = {
@@ -1965,7 +1965,7 @@ const f = (
1965
1965
  updateForms: Vm,
1966
1966
  deleteForm: jm,
1967
1967
  deleteForms: Dm
1968
- } = Ni.actions, xm = Ni.reducer, $m = (t) => t.formReducer.instances, Hi = p([$m], (t) => Object.values(t)), Cm = (t) => (s) => s.formReducer.instances[t], Um = f(
1968
+ } = Ni.actions, $m = Ni.reducer, xm = (t) => t.formReducer.instances, Hi = p([xm], (t) => Object.values(t)), Cm = (t) => (s) => s.formReducer.instances[t], Um = f(
1969
1969
  p([Hi, (t, s) => s], (t, s) => {
1970
1970
  const e = new Set(s);
1971
1971
  return A(t.filter(({ uuid: n }) => e.has(n)));
@@ -2081,14 +2081,14 @@ const f = (
2081
2081
  )
2082
2082
  ), ly = Xi.reducer, Me = g(
2083
2083
  (t) => t.uuid
2084
- ), xs = {
2084
+ ), $s = {
2085
2085
  instances: {}
2086
2086
  }, sa = I({
2087
2087
  name: "geoImages",
2088
- initialState: xs,
2088
+ initialState: $s,
2089
2089
  extraReducers: (t) => t.addMatcher(
2090
2090
  M(O, V, P),
2091
- (s) => Object.assign(s, xs)
2091
+ (s) => Object.assign(s, $s)
2092
2092
  ),
2093
2093
  reducers: {
2094
2094
  initializeGeoImages: Me.initialize,
@@ -2118,14 +2118,14 @@ const f = (
2118
2118
  })
2119
2119
  ), Eb = f(
2120
2120
  p([na, (t, s) => s], (t, s) => A(t.filter((e) => e.project === s)))
2121
- ), gy = sa.reducer, Fe = g((t) => t.uuid), $s = {
2121
+ ), gy = sa.reducer, Fe = g((t) => t.uuid), xs = {
2122
2122
  instances: {}
2123
2123
  }, ia = I({
2124
2124
  name: "issueAssociations",
2125
- initialState: $s,
2125
+ initialState: xs,
2126
2126
  extraReducers: (t) => t.addMatcher(
2127
2127
  M(O, V, P),
2128
- (s) => Object.assign(s, $s)
2128
+ (s) => Object.assign(s, xs)
2129
2129
  ),
2130
2130
  reducers: {
2131
2131
  initializeIssueAssociations: Fe.initialize,
@@ -2175,9 +2175,9 @@ const f = (
2175
2175
  )
2176
2176
  ), Dy = f(
2177
2177
  p([at, (t, s) => s], (t, s) => A(t.filter(({ issue: e }) => e === s)))
2178
- ), xy = f(
2178
+ ), $y = f(
2179
2179
  p([at, (t, s) => s], (t, s) => A(t.filter(({ asset: e }) => e === s)))
2180
- ), $y = ia.reducer, we = g((t) => t.uuid), Cs = {
2180
+ ), xy = ia.reducer, we = g((t) => t.uuid), Cs = {
2181
2181
  instances: {}
2182
2182
  }, aa = I({
2183
2183
  name: "issueAttachments",
@@ -2372,8 +2372,8 @@ const f = (
2372
2372
  }), {
2373
2373
  initializeIssueTypeAttachments: jf,
2374
2374
  addIssueTypeAttachment: Df,
2375
- addIssueTypeAttachments: xf,
2376
- setIssueTypeAttachment: $f,
2375
+ addIssueTypeAttachments: $f,
2376
+ setIssueTypeAttachment: xf,
2377
2377
  setIssueTypeAttachments: Cf,
2378
2378
  updateIssueTypeAttachment: Uf,
2379
2379
  updateIssueTypeAttachments: Lf,
@@ -2512,7 +2512,7 @@ const f = (
2512
2512
  p([At, (t, s) => s], (t, s) => A(t.filter((e) => e.issue_type === s)))
2513
2513
  ), Db = f(
2514
2514
  p([At, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s).sort((e, n) => e.submitted_at > n.submitted_at ? -1 : 1)[0])
2515
- ), xb = f(
2515
+ ), $b = f(
2516
2516
  p(
2517
2517
  [At, Ut, (t, s) => s],
2518
2518
  (t, s, e) => {
@@ -2553,8 +2553,8 @@ const f = (
2553
2553
  addIssueTypeFieldValuesAttachments: ba,
2554
2554
  setIssueTypeFieldValuesAttachment: jA,
2555
2555
  setIssueTypeFieldValuesAttachments: DA,
2556
- updateIssueTypeFieldValuesAttachment: xA,
2557
- updateIssueTypeFieldValuesAttachments: $A,
2556
+ updateIssueTypeFieldValuesAttachment: $A,
2557
+ updateIssueTypeFieldValuesAttachments: xA,
2558
2558
  deleteIssueTypeFieldValuesAttachment: CA,
2559
2559
  deleteIssueTypeFieldValuesAttachments: ga
2560
2560
  } = _a.actions, UA = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Pa = p(
@@ -2614,7 +2614,7 @@ const f = (
2614
2614
  return A(t.filter(({ uuid: n }) => e.has(n)));
2615
2615
  }
2616
2616
  )
2617
- ), $b = f(
2617
+ ), xb = f(
2618
2618
  p([Fa, (t, s) => s], (t, s) => A(t.filter((e) => e.issue_type === s)))
2619
2619
  ), aS = Ma.reducer, De = g((t) => t.uuid), Js = {
2620
2620
  instances: {}
@@ -2666,7 +2666,7 @@ const f = (
2666
2666
  t.filter((e) => e.issue_type_identifier === s)
2667
2667
  )
2668
2668
  )
2669
- ), SS = wa.reducer, xe = g(
2669
+ ), SS = wa.reducer, $e = g(
2670
2670
  (t) => t.uuid
2671
2671
  ), Xs = {
2672
2672
  instances: {}
@@ -2678,15 +2678,15 @@ const f = (
2678
2678
  (s) => Object.assign(s, Xs)
2679
2679
  ),
2680
2680
  reducers: {
2681
- initializeIssueTypes: xe.initialize,
2682
- addIssueType: xe.addOne,
2683
- addIssueTypes: xe.addMany,
2684
- setIssueType: xe.setOne,
2685
- setIssueTypes: xe.setMany,
2686
- updateIssueType: xe.updateOne,
2687
- updateIssueTypes: xe.updateMany,
2688
- deleteIssueType: xe.deleteOne,
2689
- deleteIssueTypes: xe.deleteMany
2681
+ initializeIssueTypes: $e.initialize,
2682
+ addIssueType: $e.addOne,
2683
+ addIssueTypes: $e.addMany,
2684
+ setIssueType: $e.setOne,
2685
+ setIssueTypes: $e.setMany,
2686
+ updateIssueType: $e.updateOne,
2687
+ updateIssueTypes: $e.updateMany,
2688
+ deleteIssueType: $e.deleteOne,
2689
+ deleteIssueTypes: $e.deleteMany
2690
2690
  }
2691
2691
  }), {
2692
2692
  initializeIssueTypes: TS,
@@ -2708,7 +2708,7 @@ const f = (
2708
2708
  })
2709
2709
  ), Lb = f(
2710
2710
  p([Ea, (t, s) => s], (t, s) => A(t.filter((e) => e.organization === s)))
2711
- ), BS = Ra.reducer, $e = g((t) => t.uuid), Qs = {
2711
+ ), BS = Ra.reducer, xe = g((t) => t.uuid), Qs = {
2712
2712
  instances: {}
2713
2713
  }, Ba = I({
2714
2714
  name: "issueTypeStatuses",
@@ -2718,15 +2718,15 @@ const f = (
2718
2718
  (s) => Object.assign(s, Qs)
2719
2719
  ),
2720
2720
  reducers: {
2721
- initializeIssueTypeStatuses: $e.initialize,
2722
- addIssueTypeStatus: $e.addOne,
2723
- addIssueTypeStatuses: $e.addMany,
2724
- setIssueTypeStatus: $e.setOne,
2725
- setIssueTypeStatuses: $e.setMany,
2726
- updateIssueTypeStatus: $e.updateOne,
2727
- updateIssueTypeStatuses: $e.updateMany,
2728
- deleteIssueTypeStatus: $e.deleteOne,
2729
- deleteIssueTypeStatuses: $e.deleteMany
2721
+ initializeIssueTypeStatuses: xe.initialize,
2722
+ addIssueTypeStatus: xe.addOne,
2723
+ addIssueTypeStatuses: xe.addMany,
2724
+ setIssueTypeStatus: xe.setOne,
2725
+ setIssueTypeStatuses: xe.setMany,
2726
+ updateIssueTypeStatus: xe.updateOne,
2727
+ updateIssueTypeStatuses: xe.updateMany,
2728
+ deleteIssueTypeStatus: xe.deleteOne,
2729
+ deleteIssueTypeStatuses: xe.deleteMany
2730
2730
  }
2731
2731
  }), {
2732
2732
  initializeIssueTypeStatuses: kS,
@@ -2736,8 +2736,8 @@ const f = (
2736
2736
  setIssueTypeStatuses: VS,
2737
2737
  updateIssueTypeStatus: jS,
2738
2738
  updateIssueTypeStatuses: DS,
2739
- deleteIssueTypeStatus: xS,
2740
- deleteIssueTypeStatuses: $S
2739
+ deleteIssueTypeStatus: $S,
2740
+ deleteIssueTypeStatuses: xS
2741
2741
  } = Ba.actions, CS = (t) => t.issueTypeStatusReducer.instances, ka = p([CS], (t) => A(Object.values(t).toSorted(Gr))), va = (t) => (s) => s.issueTypeStatusReducer.instances[t], US = f(
2742
2742
  p([ka, (t, s) => s], (t, s) => {
2743
2743
  const e = new Set(s);
@@ -2777,24 +2777,24 @@ const f = (
2777
2777
  updateIssueUpdates: KS,
2778
2778
  deleteIssueUpdate: ja,
2779
2779
  deleteIssueUpdates: Da
2780
- } = za.actions, xa = (t) => t.issueUpdateReducer.instances, $a = p(
2781
- [xa],
2780
+ } = za.actions, $a = (t) => t.issueUpdateReducer.instances, xa = p(
2781
+ [$a],
2782
2782
  (t) => Object.values(t)
2783
2783
  ), YS = f(
2784
2784
  p(
2785
- [xa, (t, s) => s],
2785
+ [$a, (t, s) => s],
2786
2786
  (t, s) => t[s]
2787
2787
  )
2788
2788
  ), ZS = f(
2789
2789
  p(
2790
- [$a, (t, s) => s],
2790
+ [xa, (t, s) => s],
2791
2791
  (t, s) => {
2792
2792
  const e = new Set(s);
2793
2793
  return A(t.filter(({ uuid: n }) => e.has(n)));
2794
2794
  }
2795
2795
  )
2796
2796
  ), JS = f(
2797
- p([$a, (t, s) => s], (t, s) => A(t.filter((e) => e.issue === s)))
2797
+ p([xa, (t, s) => s], (t, s) => A(t.filter((e) => e.issue === s)))
2798
2798
  ), XS = za.reducer, Ue = g((t) => t.id), tn = {
2799
2799
  instances: {},
2800
2800
  currentUser: null
@@ -2815,13 +2815,13 @@ const f = (
2815
2815
  setCurrentUser: (t, s) => {
2816
2816
  t.currentUser = s.payload;
2817
2817
  },
2818
- setProfilePicture: (t, s) => {
2818
+ setCurrentUserProfile: (t, s) => {
2819
2819
  if (!t.currentUser) return;
2820
- t.currentUser.profile.file_url = s.payload.file_url ?? null, t.currentUser.profile.file_sha1 = s.payload.file_sha1 ?? null, t.currentUser.profile.file_extension = s.payload.file_extension ?? null;
2820
+ t.currentUser.profile = s.payload;
2821
2821
  const e = t.instances[t.currentUser.id];
2822
2822
  if (!e)
2823
2823
  throw new Error("Unable to find current user in users slice");
2824
- e.profile.file_url = s.payload.file_url ?? null, e.profile.file_sha1 = s.payload.file_sha1 ?? null, t.currentUser.profile.file_extension = s.payload.file_extension ?? null;
2824
+ e.profile = s.payload;
2825
2825
  }
2826
2826
  }
2827
2827
  }), {
@@ -2835,7 +2835,7 @@ const f = (
2835
2835
  deleteUser: La,
2836
2836
  deleteUsers: aT,
2837
2837
  setCurrentUser: Hb,
2838
- setProfilePicture: Gb
2838
+ setCurrentUserProfile: Gb
2839
2839
  } = Ca.actions, rT = Ca.reducer, cT = (t) => t.userReducer.currentUser, Na = (t) => t.userReducer.instances, Nt = p([Na], (t) => Object.values(t)), Ht = (t) => (s) => s.userReducer.instances[t], dT = f(
2840
2840
  p([Nt, (t, s) => s], (t, s) => {
2841
2841
  const e = new Set(s);
@@ -2980,7 +2980,7 @@ const f = (
2980
2980
  t.latestRetryTime = s.payload;
2981
2981
  }
2982
2982
  }
2983
- }), Yb = (t) => t.outboxReducer.deletedRequests, Zb = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: jT, markForDeletion: Jb, markAsDeleted: DT, _setLatestRetryTime: xT } = Wa.actions, $T = Wa.reducer, He = g(
2983
+ }), Yb = (t) => t.outboxReducer.deletedRequests, Zb = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: jT, markForDeletion: Jb, markAsDeleted: DT, _setLatestRetryTime: $T } = Wa.actions, xT = Wa.reducer, He = g(
2984
2984
  (t) => t.uuid
2985
2985
  ), rn = {
2986
2986
  instances: {}
@@ -3161,18 +3161,18 @@ const f = (
3161
3161
  })
3162
3162
  ), ng = f(
3163
3163
  p([Wt, (t, s) => s], (t, s) => A(t.filter((e) => e.organization === s)))
3164
- ), xO = {
3164
+ ), $O = {
3165
3165
  isRehydrated: !1
3166
3166
  }, er = I({
3167
3167
  name: "rehydrated",
3168
- initialState: xO,
3168
+ initialState: $O,
3169
3169
  // The `reducers` field lets us define reducers and generate associated actions
3170
3170
  reducers: {
3171
3171
  setRehydrated: (t, s) => {
3172
3172
  t.isRehydrated = s.payload;
3173
3173
  }
3174
3174
  }
3175
- }), { setRehydrated: ig } = er.actions, ag = (t) => t.rehydratedReducer.isRehydrated, $O = er.reducer, Ye = g(
3175
+ }), { setRehydrated: ig } = er.actions, ag = (t) => t.rehydratedReducer.isRehydrated, xO = er.reducer, Ye = g(
3176
3176
  (t) => t.uuid
3177
3177
  ), un = {
3178
3178
  instances: {}
@@ -3271,7 +3271,7 @@ const f = (
3271
3271
  initialState: pI,
3272
3272
  reducers: {}
3273
3273
  }), yI = mI.reducer, ir = {
3274
- outboxReducer: $T,
3274
+ outboxReducer: xT,
3275
3275
  fileReducer: qp,
3276
3276
  authReducer: Kh
3277
3277
  }, og = yn(ir), fI = {
@@ -3293,8 +3293,8 @@ const f = (
3293
3293
  projectAccessReducer: ZT,
3294
3294
  organizationAccessReducer: ST,
3295
3295
  projectFileReducer: PO,
3296
- rehydratedReducer: $O,
3297
- formReducer: xm,
3296
+ rehydratedReducer: xO,
3297
+ formReducer: $m,
3298
3298
  formRevisionReducer: Rm,
3299
3299
  formRevisionAttachmentReducer: Om,
3300
3300
  formSubmissionAttachmentReducer: Qm,
@@ -3311,7 +3311,7 @@ const f = (
3311
3311
  issueCommentAttachmentReducer: hf,
3312
3312
  issueUpdateReducer: XS,
3313
3313
  geoImageReducer: gy,
3314
- issueAssociationReducer: $y,
3314
+ issueAssociationReducer: xy,
3315
3315
  issueTypeFieldsReducer: zA,
3316
3316
  issueTypeFieldValuesReducer: IA,
3317
3317
  issueTypeFieldsAttachmentReducer: dA,
@@ -3469,7 +3469,7 @@ function EI(t, s, e) {
3469
3469
  return (n = it()) == null ? void 0 : n.peek();
3470
3470
  }
3471
3471
  function BI(t, s) {
3472
- return lt().dispatch(xT((/* @__PURE__ */ new Date()).getTime())), zr;
3472
+ return lt().dispatch($T((/* @__PURE__ */ new Date()).getTime())), zr;
3473
3473
  }
3474
3474
  const ot = "An unknown error occurred", kI = 500, pn = ["non_field_errors", "detail"];
3475
3475
  function vI(t, s) {
@@ -3728,18 +3728,18 @@ class D extends v {
3728
3728
  const yr = this.getBlocks(k);
3729
3729
  j.push(...yr);
3730
3730
  }
3731
- const x = {
3731
+ const $ = {
3732
3732
  payloads: F,
3733
3733
  submittedAt: o,
3734
3734
  files: Object.values(R),
3735
3735
  blockers: w,
3736
3736
  blocks: j
3737
3737
  };
3738
- m.push(x);
3738
+ m.push($);
3739
3739
  }
3740
3740
  this.dispatch(i(c));
3741
3741
  const y = m.map((E) => {
3742
- const { submittedAt: F, files: R, payloads: w, blocks: j, blockers: x } = E;
3742
+ const { submittedAt: F, files: R, payloads: w, blocks: j, blockers: $ } = E;
3743
3743
  return this.enqueueRequest({
3744
3744
  description: S(l.POST, this.name, !0),
3745
3745
  method: l.POST,
@@ -3749,7 +3749,7 @@ class D extends v {
3749
3749
  files: R,
3750
3750
  payloads: w
3751
3751
  },
3752
- blockers: x,
3752
+ blockers: $,
3753
3753
  blocks: j
3754
3754
  });
3755
3755
  });
@@ -3766,9 +3766,9 @@ class D extends v {
3766
3766
  const F = [];
3767
3767
  for (const { presigned_urls: R } of E) {
3768
3768
  const w = this.client.files.processPresignedUrls(R);
3769
- for (const [j, x] of Object.entries(w))
3769
+ for (const [j, $] of Object.entries(w))
3770
3770
  try {
3771
- await x, F.push(j);
3771
+ await $, F.push(j);
3772
3772
  } catch (q) {
3773
3773
  throw console.error("Upload to s3 using presigned url failed.", q), q;
3774
3774
  }
@@ -4023,8 +4023,8 @@ class fg extends v {
4023
4023
  h(this, "url", "/asset-procedure-type-fields");
4024
4024
  h(this, "actions", {
4025
4025
  addOne: Dc,
4026
- addMany: xc,
4027
- setOne: $c,
4026
+ addMany: $c,
4027
+ setOne: xc,
4028
4028
  setMany: Cc,
4029
4029
  updateOne: Uc,
4030
4030
  updateMany: Lc,
@@ -4233,12 +4233,12 @@ class Sg extends v {
4233
4233
  this.dispatch(r(m));
4234
4234
  const b = [];
4235
4235
  for (const F of T) {
4236
- const { field_values: R } = F, w = R.map(({ asset: k }) => k), j = R.map(({ fields_revision: k }) => k), x = R.map(({ asset_procedure: k }) => k), q = R.map(({ uuid: k }) => k), U = this.enqueueRequest({
4236
+ const { field_values: R } = F, w = R.map(({ asset: k }) => k), j = R.map(({ fields_revision: k }) => k), $ = R.map(({ asset_procedure: k }) => k), q = R.map(({ uuid: k }) => k), U = this.enqueueRequest({
4237
4237
  description: S(l.POST, this.name, !0),
4238
4238
  method: l.POST,
4239
4239
  url: `${this.url}/bulk/`,
4240
4240
  payload: F,
4241
- blockers: w.concat(j).concat(x),
4241
+ blockers: w.concat(j).concat($),
4242
4242
  blocks: q
4243
4243
  });
4244
4244
  b.push(U);
@@ -4314,13 +4314,13 @@ class Tg extends v {
4314
4314
  h(this, "url", "/asset-procedures");
4315
4315
  h(this, "actions", {
4316
4316
  addOne: _d,
4317
- addMany: xn,
4317
+ addMany: $n,
4318
4318
  setOne: Md,
4319
4319
  setMany: Fd,
4320
4320
  updateOne: bd,
4321
4321
  updateMany: gd,
4322
4322
  deleteOne: Pd,
4323
- deleteMany: $n,
4323
+ deleteMany: xn,
4324
4324
  initialize: Id
4325
4325
  });
4326
4326
  h(this, "selectors", {
@@ -4410,12 +4410,12 @@ class Og extends v {
4410
4410
  h(this, "actions", {
4411
4411
  addOne: zd,
4412
4412
  addMany: qd,
4413
- setOne: $d,
4413
+ setOne: xd,
4414
4414
  setMany: Cd,
4415
4415
  updateOne: Vd,
4416
4416
  updateMany: jd,
4417
4417
  deleteOne: Dd,
4418
- deleteMany: xd,
4418
+ deleteMany: $d,
4419
4419
  initialize: vd
4420
4420
  });
4421
4421
  h(this, "selectors", {
@@ -4473,7 +4473,7 @@ class Og extends v {
4473
4473
  if (!c)
4474
4474
  throw new Error(`Expected asset procedure type with uuid ${e} to exist`);
4475
4475
  const d = Ed(e)(o);
4476
- this.dispatch(i(e)), this.dispatch($n(z(d)));
4476
+ this.dispatch(i(e)), this.dispatch(xn(z(d)));
4477
4477
  try {
4478
4478
  return await this.enqueueRequest({
4479
4479
  description: S(l.DELETE, this.name, !1),
@@ -4483,7 +4483,7 @@ class Og extends v {
4483
4483
  blocks: []
4484
4484
  });
4485
4485
  } catch (u) {
4486
- throw this.dispatch(a(c)), this.dispatch(xn(d)), u;
4486
+ throw this.dispatch(a(c)), this.dispatch($n(d)), u;
4487
4487
  }
4488
4488
  }
4489
4489
  async refreshStore(e, n) {
@@ -4773,7 +4773,7 @@ class gg extends v {
4773
4773
  initialize: Eo
4774
4774
  });
4775
4775
  h(this, "selectors", {
4776
- selectById: $o,
4776
+ selectById: xo,
4777
4777
  selectByIds: Co
4778
4778
  });
4779
4779
  }
@@ -4828,12 +4828,12 @@ class gg extends v {
4828
4828
  this.dispatch(r(m));
4829
4829
  const b = [];
4830
4830
  for (const F of T) {
4831
- const { field_values: R } = F, w = R.map(({ asset: k }) => k), j = R.map(({ fields_revision: k }) => k), x = R.map(({ asset_procedure: k }) => k), q = R.map(({ uuid: k }) => k), U = this.enqueueRequest({
4831
+ const { field_values: R } = F, w = R.map(({ asset: k }) => k), j = R.map(({ fields_revision: k }) => k), $ = R.map(({ asset_procedure: k }) => k), q = R.map(({ uuid: k }) => k), U = this.enqueueRequest({
4832
4832
  description: S(l.POST, this.name, !0),
4833
4833
  method: l.POST,
4834
4834
  url: `${this.url}/bulk/`,
4835
4835
  payload: F,
4836
- blockers: w.concat(j).concat(x),
4836
+ blockers: w.concat(j).concat($),
4837
4837
  blocks: q
4838
4838
  });
4839
4839
  b.push(U);
@@ -5072,7 +5072,7 @@ class Mg extends v {
5072
5072
  async delete(e) {
5073
5073
  const { store: n } = this.client, { addOne: i, deleteOne: a } = this.actions, { selectById: r } = this.selectors, o = n.getState(), c = r(e)(o);
5074
5074
  if (!c) throw new Error(`No asset with uuid ${e} found in the store`);
5075
- const d = oc(e)(o), u = xy(e)(o);
5075
+ const d = oc(e)(o), u = $y(e)(o);
5076
5076
  this.dispatch(a(e)), this.dispatch(Mn(z(d))), this.dispatch(nt(z(u)));
5077
5077
  try {
5078
5078
  return await this.enqueueRequest({
@@ -5318,7 +5318,7 @@ class wg extends v {
5318
5318
  });
5319
5319
  h(this, "selectors", {
5320
5320
  selectById: Du,
5321
- selectByIds: xu
5321
+ selectByIds: $u
5322
5322
  });
5323
5323
  }
5324
5324
  add(e) {
@@ -5407,7 +5407,7 @@ class Rg extends D {
5407
5407
  updateMany: Hu,
5408
5408
  deleteOne: Gu,
5409
5409
  deleteMany: oi,
5410
- initialize: $u
5410
+ initialize: xu
5411
5411
  });
5412
5412
  h(this, "selectors", {
5413
5413
  selectById: Ku,
@@ -5691,8 +5691,8 @@ class vg extends v {
5691
5691
  h(this, "actions", {
5692
5692
  addOne: jl,
5693
5693
  addMany: Dl,
5694
- setOne: xl,
5695
- setMany: $l,
5694
+ setOne: $l,
5695
+ setMany: xl,
5696
5696
  updateOne: Cl,
5697
5697
  updateMany: Ul,
5698
5698
  deleteOne: Ll,
@@ -5753,7 +5753,7 @@ class vg extends v {
5753
5753
  this.dispatch(r(u));
5754
5754
  const T = [];
5755
5755
  for (const E of y) {
5756
- const { field_values: F } = E, R = F.map(({ asset: q }) => q), w = F.map(({ fields_revision: q }) => q), j = F.map(({ uuid: q }) => q), x = this.enqueueRequest({
5756
+ const { field_values: F } = E, R = F.map(({ asset: q }) => q), w = F.map(({ fields_revision: q }) => q), j = F.map(({ uuid: q }) => q), $ = this.enqueueRequest({
5757
5757
  description: S(l.POST, this.name, !0),
5758
5758
  method: l.POST,
5759
5759
  url: `${this.url}/bulk/`,
@@ -5761,7 +5761,7 @@ class vg extends v {
5761
5761
  blockers: R.concat(w),
5762
5762
  blocks: j
5763
5763
  });
5764
- T.push(x);
5764
+ T.push($);
5765
5765
  }
5766
5766
  return Promise.all(T).then((E) => {
5767
5767
  this.dispatch(o(E.flat()));
@@ -6101,8 +6101,8 @@ class jg extends v {
6101
6101
  addMany: Vh,
6102
6102
  setOne: jh,
6103
6103
  setMany: Dh,
6104
- updateOne: xh,
6105
- updateMany: $h,
6104
+ updateOne: $h,
6105
+ updateMany: xh,
6106
6106
  deleteOne: Ch,
6107
6107
  deleteMany: Uh,
6108
6108
  initialize: zh
@@ -6283,7 +6283,7 @@ class Dg extends D {
6283
6283
  return this.dispatch(i(c)), c;
6284
6284
  }
6285
6285
  }
6286
- class xg extends v {
6286
+ class $g extends v {
6287
6287
  constructor() {
6288
6288
  super(...arguments);
6289
6289
  h(this, "name", "Document");
@@ -6415,7 +6415,7 @@ class ut extends rt {
6415
6415
  );
6416
6416
  }
6417
6417
  }
6418
- class $g extends ut {
6418
+ class xg extends ut {
6419
6419
  constructor() {
6420
6420
  super(...arguments);
6421
6421
  h(this, "name", "Email Domains");
@@ -6666,8 +6666,8 @@ class Lg extends v {
6666
6666
  h(this, "actions", {
6667
6667
  addOne: jp,
6668
6668
  addMany: Dp,
6669
- setOne: xp,
6670
- setMany: $p,
6669
+ setOne: $p,
6670
+ setMany: xp,
6671
6671
  updateOne: Cp,
6672
6672
  updateMany: Up,
6673
6673
  deleteOne: Lp,
@@ -6906,8 +6906,8 @@ class Gg extends v {
6906
6906
  h(this, "name", "Form Revision");
6907
6907
  h(this, "url", "/form-revisions");
6908
6908
  h(this, "actions", {
6909
- addOne: xi,
6910
- addMany: $i,
6909
+ addOne: $i,
6910
+ addMany: xi,
6911
6911
  setOne: _m,
6912
6912
  setMany: bm,
6913
6913
  updateOne: gm,
@@ -6988,7 +6988,7 @@ class Wg extends v {
6988
6988
  submitted_at: o,
6989
6989
  created_by: c
6990
6990
  });
6991
- this.dispatch(a(d)), this.dispatch(xi(u));
6991
+ this.dispatch(a(d)), this.dispatch($i(u));
6992
6992
  const m = this.enqueueRequest({
6993
6993
  description: S(l.POST, this.name, !1),
6994
6994
  method: l.POST,
@@ -7025,7 +7025,7 @@ class Wg extends v {
7025
7025
  blocks: []
7026
7026
  });
7027
7027
  } catch (m) {
7028
- throw this.dispatch(a(c)), this.dispatch($i(u)), this.dispatch(Qi(d)), m;
7028
+ throw this.dispatch(a(c)), this.dispatch(xi(u)), this.dispatch(Qi(d)), m;
7029
7029
  }
7030
7030
  }
7031
7031
  async refreshStore(e, n) {
@@ -7690,28 +7690,28 @@ class tP extends v {
7690
7690
  this.dispatch(n(o));
7691
7691
  const c = {};
7692
7692
  for (const y of [
7693
- $.TITLE,
7694
- $.DESCRIPTION,
7695
- $.STATUS,
7696
- $.PRIORITY,
7697
- $.ASSIGNED_TO,
7698
- $.DUE_DATE
7693
+ x.TITLE,
7694
+ x.DESCRIPTION,
7695
+ x.STATUS,
7696
+ x.PRIORITY,
7697
+ x.ASSIGNED_TO,
7698
+ x.DUE_DATE
7699
7699
  ])
7700
7700
  if (y in e && e[y] !== r[y])
7701
7701
  switch (y) {
7702
- case $.PRIORITY:
7702
+ case x.PRIORITY:
7703
7703
  c[y] = e[y];
7704
7704
  break;
7705
- case $.DUE_DATE:
7705
+ case x.DUE_DATE:
7706
7706
  c[y] = e[y];
7707
7707
  break;
7708
- case $.DESCRIPTION:
7708
+ case x.DESCRIPTION:
7709
7709
  c[y] = e[y];
7710
7710
  break;
7711
- case $.TITLE:
7711
+ case x.TITLE:
7712
7712
  c[y] = e[y];
7713
7713
  break;
7714
- case $.STATUS: {
7714
+ case x.STATUS: {
7715
7715
  const T = e[y], b = va(T)(a);
7716
7716
  if (!b)
7717
7717
  throw new Error(`Trying to update issue type status with ${T} which does not exist in store`);
@@ -7722,7 +7722,7 @@ class tP extends v {
7722
7722
  };
7723
7723
  break;
7724
7724
  }
7725
- case $.ASSIGNED_TO: {
7725
+ case x.ASSIGNED_TO: {
7726
7726
  const T = e[y];
7727
7727
  if (T === null)
7728
7728
  c[y] = null;
@@ -7849,8 +7849,8 @@ class sP extends D {
7849
7849
  h(this, "url", "/issue-type-attachments");
7850
7850
  h(this, "actions", {
7851
7851
  addOne: Df,
7852
- addMany: xf,
7853
- setOne: $f,
7852
+ addMany: $f,
7853
+ setOne: xf,
7854
7854
  setMany: Cf,
7855
7855
  updateOne: Uf,
7856
7856
  updateMany: Lf,
@@ -8051,8 +8051,8 @@ class aP extends D {
8051
8051
  addMany: ba,
8052
8052
  setOne: jA,
8053
8053
  setMany: DA,
8054
- updateOne: xA,
8055
- updateMany: $A,
8054
+ updateOne: $A,
8055
+ updateMany: xA,
8056
8056
  deleteOne: CA,
8057
8057
  deleteMany: ga,
8058
8058
  initialize: qA
@@ -8505,8 +8505,8 @@ class uP extends v {
8505
8505
  setMany: VS,
8506
8506
  updateOne: jS,
8507
8507
  updateMany: DS,
8508
- deleteOne: xS,
8509
- deleteMany: $S,
8508
+ deleteOne: $S,
8509
+ deleteMany: xS,
8510
8510
  initialize: kS
8511
8511
  });
8512
8512
  h(this, "selectors", {
@@ -9459,7 +9459,7 @@ async function lr(t, s, e, n, i) {
9459
9459
  return k.set("x-amz-checksum-sha1", L).field({ ...c, ...o.fields }).attach("file", R);
9460
9460
  }
9461
9461
  return k.send(c);
9462
- }, x = {
9462
+ }, $ = {
9463
9463
  [l.GET]: () => E ? tt.get(F.toString()).responseType("blob") : tt.get(F.toString()),
9464
9464
  [l.POST]: () => {
9465
9465
  const k = tt.post(F.toString());
@@ -9478,7 +9478,7 @@ async function lr(t, s, e, n, i) {
9478
9478
  return w(k);
9479
9479
  }
9480
9480
  }[u];
9481
- let q = x();
9481
+ let q = $();
9482
9482
  const U = () => {
9483
9483
  console.debug("aborting request:", s.url), q.abort();
9484
9484
  };
@@ -9737,10 +9737,10 @@ function lt() {
9737
9737
  return hr;
9738
9738
  }
9739
9739
  let pr;
9740
- function xI(t) {
9740
+ function $I(t) {
9741
9741
  pr = t;
9742
9742
  }
9743
- function $I() {
9743
+ function xI() {
9744
9744
  return pr;
9745
9745
  }
9746
9746
  let _t = null;
@@ -9755,7 +9755,7 @@ function it() {
9755
9755
  }
9756
9756
  const bP = (t, s) => {
9757
9757
  const e = new s(t);
9758
- return xI(e), DI(t), e;
9758
+ return $I(e), DI(t), e;
9759
9759
  };
9760
9760
  class CI {
9761
9761
  constructor(s) {
@@ -9787,7 +9787,7 @@ class mr {
9787
9787
  return this.next.run(s);
9788
9788
  {
9789
9789
  if (console.debug("Middleware finished. Performing request:", s.payload.url), !lt()) throw new Error("Client store not set");
9790
- const n = $I();
9790
+ const n = xI();
9791
9791
  if (!n) throw new Error("Client SDK not set");
9792
9792
  return wI(s, n);
9793
9793
  }
@@ -9851,10 +9851,10 @@ export {
9851
9851
  ar as DISCARD_HTTP_STATUSES,
9852
9852
  Jt as DeferredPromise,
9853
9853
  Dg as DocumentAttachmentService,
9854
- xg as DocumentService,
9854
+ $g as DocumentService,
9855
9855
  wr as EMPTY_ARRAY,
9856
9856
  Rr as EMPTY_OBJECT,
9857
- $g as EmailDomainsService,
9857
+ xg as EmailDomainsService,
9858
9858
  Cg as EmailVerificationService,
9859
9859
  SI as FILE_MODEL_DEFAULT_PAGE_SIZE,
9860
9860
  Ug as FileService,
@@ -9883,7 +9883,7 @@ export {
9883
9883
  dP as IssueTypeIdentifierValueService,
9884
9884
  oP as IssueTypeService,
9885
9885
  uP as IssueTypeStatusService,
9886
- $ as IssueUpdateChange,
9886
+ x as IssueUpdateChange,
9887
9887
  lP as IssueUpdateService,
9888
9888
  hP as JWTService,
9889
9889
  Xe as MAX_SERVICE_BATCH_SIZE,
@@ -9909,7 +9909,7 @@ export {
9909
9909
  IP as UserService,
9910
9910
  mt as VERSION_REDUCER_KEY,
9911
9911
  GI as VerificationCodeType,
9912
- xT as _setLatestRetryTime,
9912
+ $T as _setLatestRetryTime,
9913
9913
  nu as addAsset,
9914
9914
  ec as addAssetAttachment,
9915
9915
  Pn as addAssetAttachments,
@@ -9934,9 +9934,9 @@ export {
9934
9934
  Dc as addAssetProcedureTypeFields,
9935
9935
  Pc as addAssetProcedureTypeFieldsAttachment,
9936
9936
  Mc as addAssetProcedureTypeFieldsAttachments,
9937
- xc as addAssetProcedureTypeFieldsMany,
9937
+ $c as addAssetProcedureTypeFieldsMany,
9938
9938
  qd as addAssetProcedureTypes,
9939
- xn as addAssetProcedures,
9939
+ $n as addAssetProcedures,
9940
9940
  Bu as addAssetStage,
9941
9941
  yu as addAssetStageCompletion,
9942
9942
  fu as addAssetStageCompletions,
@@ -9973,10 +9973,10 @@ export {
9973
9973
  Zp as addFormIdentifierValue,
9974
9974
  Jp as addFormIdentifierValues,
9975
9975
  Dp as addFormIdentifiers,
9976
- xi as addFormRevision,
9976
+ $i as addFormRevision,
9977
9977
  om as addFormRevisionAttachment,
9978
9978
  um as addFormRevisionAttachments,
9979
- $i as addFormRevisions,
9979
+ xi as addFormRevisions,
9980
9980
  ny as addFormSubmission,
9981
9981
  Nm as addFormSubmissionAttachment,
9982
9982
  Wi as addFormSubmissionAttachments,
@@ -9995,7 +9995,7 @@ export {
9995
9995
  yf as addIssueComments,
9996
9996
  OS as addIssueType,
9997
9997
  Df as addIssueTypeAttachment,
9998
- xf as addIssueTypeAttachments,
9998
+ $f as addIssueTypeAttachments,
9999
9999
  uA as addIssueTypeFieldValues,
10000
10000
  VA as addIssueTypeFieldValuesAttachment,
10001
10001
  ba as addIssueTypeFieldValuesAttachments,
@@ -10120,8 +10120,8 @@ export {
10120
10120
  Bc as deleteAssetProcedureTypeFieldsAttachment,
10121
10121
  kc as deleteAssetProcedureTypeFieldsAttachments,
10122
10122
  Hc as deleteAssetProcedureTypeFieldsMany,
10123
- xd as deleteAssetProcedureTypes,
10124
- $n as deleteAssetProcedures,
10123
+ $d as deleteAssetProcedureTypes,
10124
+ xn as deleteAssetProcedures,
10125
10125
  qu as deleteAssetStage,
10126
10126
  Iu as deleteAssetStageCompletion,
10127
10127
  _u as deleteAssetStageCompletions,
@@ -10193,8 +10193,8 @@ export {
10193
10193
  pS as deleteIssueTypeIdentifierValue,
10194
10194
  mS as deleteIssueTypeIdentifierValues,
10195
10195
  tS as deleteIssueTypeIdentifiers,
10196
- xS as deleteIssueTypeStatus,
10197
- $S as deleteIssueTypeStatuses,
10196
+ $S as deleteIssueTypeStatus,
10197
+ xS as deleteIssueTypeStatuses,
10198
10198
  FS as deleteIssueTypes,
10199
10199
  ja as deleteIssueUpdate,
10200
10200
  Da as deleteIssueUpdates,
@@ -10232,7 +10232,7 @@ export {
10232
10232
  zI as extractResponseFromError,
10233
10233
  A as fallbackToEmptyArray,
10234
10234
  Pt as fallbackToEmptyObject,
10235
- $r as fetchBlobFromObjectUrl,
10235
+ xr as fetchBlobFromObjectUrl,
10236
10236
  Cr as fetchFileFromObjectUrl,
10237
10237
  qp as fileReducer,
10238
10238
  vi as fileSlice,
@@ -10240,7 +10240,7 @@ export {
10240
10240
  zi as formIdentifierSlice,
10241
10241
  cm as formIdentifierValueReducer,
10242
10242
  Vi as formIdentifierValueSlice,
10243
- xm as formReducer,
10243
+ $m as formReducer,
10244
10244
  Om as formRevisionAttachmentReducer,
10245
10245
  ji as formRevisionAttachmentSlice,
10246
10246
  Rm as formRevisionReducer,
@@ -10254,7 +10254,7 @@ export {
10254
10254
  sa as geoImageSlice,
10255
10255
  Nr as getAssetProcedureStepSubTree,
10256
10256
  w_ as getAssetProcedureStepTrees,
10257
- $I as getClientSDK,
10257
+ xI as getClientSDK,
10258
10258
  lt as getClientStore,
10259
10259
  Wr as getDocumentSubTree,
10260
10260
  R_ as getDocumentTrees,
@@ -10282,7 +10282,7 @@ export {
10282
10282
  Id as initializeAssetProcedures,
10283
10283
  mu as initializeAssetStageCompletions,
10284
10284
  wu as initializeAssetStages,
10285
- $u as initializeAssetTypeAttachments,
10285
+ xu as initializeAssetTypeAttachments,
10286
10286
  Vl as initializeAssetTypeFieldValues,
10287
10287
  gl as initializeAssetTypeFieldValuesAttachments,
10288
10288
  ll as initializeAssetTypeFields,
@@ -10330,7 +10330,7 @@ export {
10330
10330
  QS as initializeUsers,
10331
10331
  Ur as isObjectUrl,
10332
10332
  A_ as isToday,
10333
- $y as issueAssociationReducer,
10333
+ xy as issueAssociationReducer,
10334
10334
  ia as issueAssociationSlice,
10335
10335
  Xy as issueAttachmentReducer,
10336
10336
  aa as issueAttachmentSlice,
@@ -10369,7 +10369,7 @@ export {
10369
10369
  Ha as organizationAccessSlice,
10370
10370
  qT as organizationReducer,
10371
10371
  Ga as organizationSlice,
10372
- $T as outboxReducer,
10372
+ xT as outboxReducer,
10373
10373
  Wa as outboxSlice,
10374
10374
  lg as overmapEnhancer,
10375
10375
  ug as overmapReducer,
@@ -10384,7 +10384,7 @@ export {
10384
10384
  Xa as projectFileSlice,
10385
10385
  qO as projectReducer,
10386
10386
  Qa as projectSlice,
10387
- $O as rehydratedReducer,
10387
+ xO as rehydratedReducer,
10388
10388
  er as rehydratedSlice,
10389
10389
  f as restructureSelectorWithArgs,
10390
10390
  HI as runMiddleware,
@@ -10405,9 +10405,9 @@ export {
10405
10405
  Zn as selectAssetProcedureStepFieldValuesAttachments,
10406
10406
  Fo as selectAssetProcedureStepFieldValuesAttachmentsByIds,
10407
10407
  Po as selectAssetProcedureStepFieldValuesAttachmentsMapping,
10408
- $o as selectAssetProcedureStepFieldValuesById,
10408
+ xo as selectAssetProcedureStepFieldValuesById,
10409
10409
  Co as selectAssetProcedureStepFieldValuesByIds,
10410
- xo as selectAssetProcedureStepFieldValuesMapping,
10410
+ $o as selectAssetProcedureStepFieldValuesMapping,
10411
10411
  Z_ as selectAssetProcedureStepFieldValuesOfAsset,
10412
10412
  J_ as selectAssetProcedureStepFieldValuesOfAssetProcedure,
10413
10413
  X_ as selectAssetProcedureStepFieldValuesOfAssetProcedureStep,
@@ -10447,7 +10447,7 @@ export {
10447
10447
  Kc as selectAssetProcedureTypeFieldsById,
10448
10448
  Yc as selectAssetProcedureTypeFieldsByIds,
10449
10449
  Wc as selectAssetProcedureTypeFieldsMapping,
10450
- $_ as selectAssetProcedureTypeFieldsOfAssetProcedureType,
10450
+ x_ as selectAssetProcedureTypeFieldsOfAssetProcedureType,
10451
10451
  Un as selectAssetProcedureTypes,
10452
10452
  Hd as selectAssetProcedureTypesByIds,
10453
10453
  Ld as selectAssetProcedureTypesMapping,
@@ -10463,7 +10463,7 @@ export {
10463
10463
  Pu as selectAssetStageCompletions,
10464
10464
  Fu as selectAssetStageCompletionsByIds,
10465
10465
  ri as selectAssetStages,
10466
- xu as selectAssetStagesByIds,
10466
+ $u as selectAssetStagesByIds,
10467
10467
  sb as selectAssetStagesMappingOfAssetProcedureType,
10468
10468
  nb as selectAssetStagesOfAssetProcedureType,
10469
10469
  Ku as selectAssetTypeAttachmentById,
@@ -10520,7 +10520,7 @@ export {
10520
10520
  G_ as selectAttachmentsOfAssetProcedureStepFields,
10521
10521
  D_ as selectAttachmentsOfAssetProcedureType,
10522
10522
  cd as selectAttachmentsOfAssetProcedureTypeFieldValues,
10523
- x_ as selectAttachmentsOfAssetProcedureTypeFields,
10523
+ $_ as selectAttachmentsOfAssetProcedureTypeFields,
10524
10524
  Zu as selectAttachmentsOfAssetType,
10525
10525
  zl as selectAttachmentsOfAssetTypeFieldValues,
10526
10526
  ib as selectAttachmentsOfAssetTypeFields,
@@ -10566,14 +10566,14 @@ export {
10566
10566
  qi as selectFormIdentifiers,
10567
10567
  Wp as selectFormIdentifiersByIds,
10568
10568
  gb as selectFormIdentifiersOfForm,
10569
- $m as selectFormMapping,
10569
+ xm as selectFormMapping,
10570
10570
  Sm as selectFormRevisionAttachmentById,
10571
10571
  Am as selectFormRevisionAttachments,
10572
10572
  Tm as selectFormRevisionAttachmentsByIds,
10573
- xt as selectFormRevisionAttachmentsMapping,
10573
+ $t as selectFormRevisionAttachmentsMapping,
10574
10574
  Mm as selectFormRevisionById,
10575
10575
  Li as selectFormRevisionMapping,
10576
- $t as selectFormRevisions,
10576
+ xt as selectFormRevisions,
10577
10577
  Fm as selectFormRevisionsByIds,
10578
10578
  wm as selectFormRevisionsOfForm,
10579
10579
  Ji as selectFormSubmissionAttachemntsByIds,
@@ -10599,7 +10599,7 @@ export {
10599
10599
  ky as selectIssueAssociationMapping,
10600
10600
  at as selectIssueAssociations,
10601
10601
  zy as selectIssueAssociationsByIds,
10602
- xy as selectIssueAssociationsOfAsset,
10602
+ $y as selectIssueAssociationsOfAsset,
10603
10603
  Dy as selectIssueAssociationsOfIssue,
10604
10604
  jy as selectIssueAssociationsOfIssues,
10605
10605
  qy as selectIssueAssociationsToIssue,
@@ -10650,20 +10650,20 @@ export {
10650
10650
  Cb as selectIssueTypeIdentifierValuesOfIssue,
10651
10651
  Fa as selectIssueTypeIdentifiers,
10652
10652
  iS as selectIssueTypeIdentifiersByIds,
10653
- $b as selectIssueTypeIdentifiersOfIssueType,
10653
+ xb as selectIssueTypeIdentifiersOfIssueType,
10654
10654
  wS as selectIssueTypeMapping,
10655
10655
  va as selectIssueTypeStatusById,
10656
10656
  CS as selectIssueTypeStatusMapping,
10657
10657
  ka as selectIssueTypeStatuses,
10658
10658
  US as selectIssueTypeStatusesByIds,
10659
10659
  Nb as selectIssueTypeStatusesOfIssueType,
10660
- xb as selectIssueTypeValuesOfIssueType,
10660
+ $b as selectIssueTypeValuesOfIssueType,
10661
10661
  Ea as selectIssueTypes,
10662
10662
  ES as selectIssueTypesByIds,
10663
10663
  Lb as selectIssueTypesOfOrganization,
10664
10664
  YS as selectIssueUpdateById,
10665
- xa as selectIssueUpdateMapping,
10666
- $a as selectIssueUpdates,
10665
+ $a as selectIssueUpdateMapping,
10666
+ xa as selectIssueUpdates,
10667
10667
  ZS as selectIssueUpdatesByIds,
10668
10668
  JS as selectIssueUpdatesOfIssue,
10669
10669
  Ct as selectIssues,
@@ -10739,14 +10739,14 @@ export {
10739
10739
  Zd as setAssetProcedureStepFieldsAttachments,
10740
10740
  uo as setAssetProcedureStepFieldsMany,
10741
10741
  Ho as setAssetProcedureSteps,
10742
- $d as setAssetProcedureType,
10742
+ xd as setAssetProcedureType,
10743
10743
  mc as setAssetProcedureTypeAttachment,
10744
10744
  yc as setAssetProcedureTypeAttachments,
10745
10745
  ld as setAssetProcedureTypeFieldValues,
10746
10746
  Xc as setAssetProcedureTypeFieldValuesAttachment,
10747
10747
  Qc as setAssetProcedureTypeFieldValuesAttachments,
10748
10748
  hd as setAssetProcedureTypeFieldValuesMany,
10749
- $c as setAssetProcedureTypeFields,
10749
+ xc as setAssetProcedureTypeFields,
10750
10750
  Fc as setAssetProcedureTypeFieldsAttachment,
10751
10751
  wc as setAssetProcedureTypeFieldsAttachments,
10752
10752
  Cc as setAssetProcedureTypeFieldsMany,
@@ -10759,10 +10759,10 @@ export {
10759
10759
  _h as setAssetType,
10760
10760
  Uu as setAssetTypeAttachment,
10761
10761
  Lu as setAssetTypeAttachments,
10762
- xl as setAssetTypeFieldValues,
10762
+ $l as setAssetTypeFieldValues,
10763
10763
  Ml as setAssetTypeFieldValuesAttachment,
10764
10764
  Fl as setAssetTypeFieldValuesAttachments,
10765
- $l as setAssetTypeFieldValuesMany,
10765
+ xl as setAssetTypeFieldValuesMany,
10766
10766
  ml as setAssetTypeFields,
10767
10767
  tl as setAssetTypeFieldsAttachment,
10768
10768
  sl as setAssetTypeFieldsAttachments,
@@ -10775,11 +10775,12 @@ export {
10775
10775
  Dh as setAssetTypeStatuses,
10776
10776
  bh as setAssetTypes,
10777
10777
  du as setAssets,
10778
- xI as setClientSDK,
10778
+ $I as setClientSDK,
10779
10779
  DI as setClientStore,
10780
10780
  Zr as setConversation,
10781
10781
  k_ as setConversations,
10782
10782
  Hb as setCurrentUser,
10783
+ Gb as setCurrentUserProfile,
10783
10784
  lp as setDocument,
10784
10785
  Xh as setDocumentAttachment,
10785
10786
  Qh as setDocumentAttachments,
@@ -10787,10 +10788,10 @@ export {
10787
10788
  gp as setEmailDomain,
10788
10789
  Pp as setEmailDomains,
10789
10790
  vm as setForm,
10790
- xp as setFormIdentifier,
10791
+ $p as setFormIdentifier,
10791
10792
  Xp as setFormIdentifierValue,
10792
10793
  Qp as setFormIdentifierValues,
10793
- $p as setFormIdentifiers,
10794
+ xp as setFormIdentifiers,
10794
10795
  _m as setFormRevision,
10795
10796
  lm as setFormRevisionAttachment,
10796
10797
  hm as setFormRevisionAttachments,
@@ -10812,7 +10813,7 @@ export {
10812
10813
  nf as setIssueCommentAttachments,
10813
10814
  Af as setIssueComments,
10814
10815
  _S as setIssueType,
10815
- $f as setIssueTypeAttachment,
10816
+ xf as setIssueTypeAttachment,
10816
10817
  Cf as setIssueTypeAttachments,
10817
10818
  hA as setIssueTypeFieldValues,
10818
10819
  jA as setIssueTypeFieldValuesAttachment,
@@ -10837,7 +10838,6 @@ export {
10837
10838
  hT as setOrganizationAccess,
10838
10839
  pT as setOrganizationAccesses,
10839
10840
  bT as setOrganizations,
10840
- Gb as setProfilePicture,
10841
10841
  wO as setProject,
10842
10842
  NT as setProjectAccess,
10843
10843
  HT as setProjectAccesses,
@@ -10912,8 +10912,8 @@ export {
10912
10912
  ph as updateAssetTypeIdentifierValue,
10913
10913
  mh as updateAssetTypeIdentifierValues,
10914
10914
  th as updateAssetTypeIdentifiers,
10915
- xh as updateAssetTypeStatus,
10916
- $h as updateAssetTypeStatuses,
10915
+ $h as updateAssetTypeStatus,
10916
+ xh as updateAssetTypeStatuses,
10917
10917
  Fh as updateAssetTypes,
10918
10918
  au as updateAssets,
10919
10919
  Jr as updateConversation,
@@ -10953,8 +10953,8 @@ export {
10953
10953
  Uf as updateIssueTypeAttachment,
10954
10954
  Lf as updateIssueTypeAttachments,
10955
10955
  mA as updateIssueTypeFieldValues,
10956
- xA as updateIssueTypeFieldValuesAttachment,
10957
- $A as updateIssueTypeFieldValuesAttachments,
10956
+ $A as updateIssueTypeFieldValuesAttachment,
10957
+ xA as updateIssueTypeFieldValuesAttachments,
10958
10958
  yA as updateIssueTypeFieldValuesMany,
10959
10959
  FA as updateIssueTypeFields,
10960
10960
  tA as updateIssueTypeFieldsAttachment,