@wandelbots/wandelbots-js-react-components 4.1.1 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/3d.cjs.js +1 -1
  2. package/dist/3d.d.ts +1 -0
  3. package/dist/3d.d.ts.map +1 -1
  4. package/dist/3d.es.js +13 -12
  5. package/dist/MotionGroupVisualizer-C3CB-L2z.cjs +2 -0
  6. package/dist/MotionGroupVisualizer-C3CB-L2z.cjs.map +1 -0
  7. package/dist/{manufacturerHomePositions-DAaWLJKB.js → MotionGroupVisualizer-CrLamHYm.js} +408 -356
  8. package/dist/MotionGroupVisualizer-CrLamHYm.js.map +1 -0
  9. package/dist/components/robots/MotionGroupVisualizer.d.ts +9 -0
  10. package/dist/components/robots/MotionGroupVisualizer.d.ts.map +1 -0
  11. package/dist/components/robots/SupportedLinearAxis.d.ts +3 -2
  12. package/dist/components/robots/SupportedLinearAxis.d.ts.map +1 -1
  13. package/dist/components/robots/SupportedRobot.d.ts +3 -2
  14. package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
  15. package/dist/components/robots/robotModelLogic.d.ts +1 -1
  16. package/dist/components/robots/robotModelLogic.d.ts.map +1 -1
  17. package/dist/core.cjs.js +1 -1
  18. package/dist/core.es.js +2 -2
  19. package/dist/index.cjs.js +1 -1
  20. package/dist/index.es.js +57 -56
  21. package/dist/{interpolation-DZhBKo-u.cjs → interpolation-C5OTEwAm.cjs} +3 -3
  22. package/dist/{interpolation-DZhBKo-u.cjs.map → interpolation-C5OTEwAm.cjs.map} +1 -1
  23. package/dist/{interpolation-baUmFLkh.js → interpolation-Cs2pC1zE.js} +694 -637
  24. package/dist/{interpolation-baUmFLkh.js.map → interpolation-Cs2pC1zE.js.map} +1 -1
  25. package/dist/{theming-BTlS2afw.js → theming-C-zvh022.js} +2 -2
  26. package/dist/{theming-BTlS2afw.js.map → theming-C-zvh022.js.map} +1 -1
  27. package/dist/{theming-DPoEjzxv.cjs → theming-Dk07SE2_.cjs} +2 -2
  28. package/dist/{theming-DPoEjzxv.cjs.map → theming-Dk07SE2_.cjs.map} +1 -1
  29. package/package.json +3 -3
  30. package/src/3d.ts +1 -0
  31. package/src/components/robots/MotionGroupVisualizer.tsx +113 -0
  32. package/src/components/robots/SupportedLinearAxis.tsx +4 -2
  33. package/src/components/robots/SupportedRobot.tsx +4 -2
  34. package/src/components/robots/robotModelLogic.ts +2 -2
  35. package/dist/manufacturerHomePositions-5E6JP4Zd.cjs +0 -2
  36. package/dist/manufacturerHomePositions-5E6JP4Zd.cjs.map +0 -1
  37. package/dist/manufacturerHomePositions-DAaWLJKB.js.map +0 -1
@@ -7,7 +7,7 @@ import m, { isAxiosError as He, AxiosError as Ne } from "axios";
7
7
  import { reaction as Ke, autorun as $e } from "mobx";
8
8
  import ie, { useEffect as Je } from "react";
9
9
  var J = /* @__PURE__ */ ((e) => (e.IDLE = "idle", e.PREPARING = "preparing", e.STARTING = "starting", e.RUNNING = "running", e.PAUSING = "pausing", e.PAUSED = "paused", e.STOPPING = "stopping", e.COMPLETED = "completed", e.FAILED = "failed", e.STOPPED = "stopped", e.ERROR = "error", e))(J || {});
10
- const dr = Ae(
10
+ const Cr = Ae(
11
11
  Te(
12
12
  ({
13
13
  state: e,
@@ -20,7 +20,7 @@ const dr = Ae(
20
20
  className: l
21
21
  }) => {
22
22
  const c = Re(), { t: i } = _e(), p = () => {
23
- const v = {
23
+ const I = {
24
24
  run: {
25
25
  enabled: e === "idle" || e === "stopped" || e === "paused" || e === "completed" || e === "failed" || e === "error",
26
26
  label: i(e === "paused" ? "ProgramControl.Resume.bt" : e === "error" || e === "failed" ? "ProgramControl.Retry.bt" : "ProgramControl.Start.bt"),
@@ -41,12 +41,12 @@ const dr = Ae(
41
41
  onClick: s
42
42
  }
43
43
  };
44
- return a === "without_pause" ? [v.run, v.stop] : [v.run, v.pause, v.stop];
45
- }, d = (v) => {
44
+ return a === "without_pause" ? [I.run, I.stop] : [I.run, I.pause, I.stop];
45
+ }, d = (I) => {
46
46
  const E = { sx: { fontSize: "55px" } };
47
47
  if (a === "without_pause")
48
- return v === 0 ? /* @__PURE__ */ g.jsx(be, { ...E }) : /* @__PURE__ */ g.jsx(ye, { ...E });
49
- switch (v) {
48
+ return I === 0 ? /* @__PURE__ */ g.jsx(be, { ...E }) : /* @__PURE__ */ g.jsx(ye, { ...E });
49
+ switch (I) {
50
50
  case 0:
51
51
  return /* @__PURE__ */ g.jsx(be, { ...E });
52
52
  case 1:
@@ -77,7 +77,7 @@ const dr = Ae(
77
77
  justifyContent: "center",
78
78
  alignItems: "center"
79
79
  },
80
- children: u.map((v, E) => /* @__PURE__ */ g.jsxs(
80
+ children: u.map((I, E) => /* @__PURE__ */ g.jsxs(
81
81
  ce,
82
82
  {
83
83
  sx: {
@@ -91,20 +91,20 @@ const dr = Ae(
91
91
  qe,
92
92
  {
93
93
  variant: "contained",
94
- disabled: !v.enabled || e === "preparing" || e === "starting" || e === "pausing" || e === "stopping" && !n,
95
- onClick: v.onClick,
94
+ disabled: !I.enabled || e === "preparing" || e === "starting" || e === "pausing" || e === "stopping" && !n,
95
+ onClick: I.onClick,
96
96
  sx: {
97
97
  width: "88px",
98
98
  height: "88px",
99
99
  borderRadius: "88px",
100
- backgroundColor: v.color,
101
- opacity: v.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !n) ? 1 : 0.3,
100
+ backgroundColor: I.color,
101
+ opacity: I.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !n) ? 1 : 0.3,
102
102
  "&:hover": {
103
- backgroundColor: v.color,
104
- opacity: v.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !n) ? 0.8 : 0.3
103
+ backgroundColor: I.color,
104
+ opacity: I.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !n) ? 0.8 : 0.3
105
105
  },
106
106
  "&:disabled": {
107
- backgroundColor: v.color,
107
+ backgroundColor: I.color,
108
108
  opacity: 0.3
109
109
  },
110
110
  minWidth: "88px",
@@ -118,16 +118,16 @@ const dr = Ae(
118
118
  {
119
119
  variant: "body1",
120
120
  sx: {
121
- color: v.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !n) ? v.color : c.palette.text.disabled,
121
+ color: I.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !n) ? I.color : c.palette.text.disabled,
122
122
  textAlign: "center",
123
- opacity: v.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !n) ? 1 : 0.3
123
+ opacity: I.enabled && e !== "preparing" && e !== "starting" && e !== "pausing" && !(e === "stopping" && !n) ? 1 : 0.3
124
124
  },
125
- children: v.label
125
+ children: I.label
126
126
  }
127
127
  )
128
128
  ]
129
129
  },
130
- v.label
130
+ I.label
131
131
  ))
132
132
  }
133
133
  )
@@ -135,7 +135,7 @@ const dr = Ae(
135
135
  );
136
136
  }
137
137
  )
138
- ), hr = Ae(
138
+ ), Sr = Ae(
139
139
  Te(
140
140
  ({
141
141
  programState: e,
@@ -817,7 +817,7 @@ function de() {
817
817
  var K = {}, Pe;
818
818
  function ct() {
819
819
  if (Pe) return K;
820
- Pe = 1, Object.defineProperty(K, "__esModule", { value: !0 }), K.PathError = K.TokenData = void 0, K.parse = i, K.compile = p, K.match = v, K.pathToRegexp = E, K.stringify = Le;
820
+ Pe = 1, Object.defineProperty(K, "__esModule", { value: !0 }), K.PathError = K.TokenData = void 0, K.parse = i, K.compile = p, K.match = I, K.pathToRegexp = E, K.stringify = Le;
821
821
  const e = "/", t = (x) => x, r = /^[$_\p{ID_Start}]$/u, s = /^[$\u200c\u200d\p{ID_Continue}]$/u, o = {
822
822
  // Groups.
823
823
  "{": "{",
@@ -969,7 +969,7 @@ function ct() {
969
969
  return [T(w)];
970
970
  };
971
971
  }
972
- function v(x, R = {}) {
972
+ function I(x, R = {}) {
973
973
  const { decode: U = decodeURIComponent, delimiter: T = e } = R, { regexp: A, keys: w } = E(x, R), M = w.map((B) => U === !1 ? t : B.type === "param" ? U : (H) => H.split(T).map(U));
974
974
  return function(H) {
975
975
  const j = A.exec(H);
@@ -1103,7 +1103,7 @@ function ht(e, t, r) {
1103
1103
  writable: !0
1104
1104
  }) : e[t] = r, e;
1105
1105
  }
1106
- const O = "/api/v2".replace(/\/+$/, ""), Ie = {
1106
+ const O = "/api/v2".replace(/\/+$/, ""), ve = {
1107
1107
  csv: ","
1108
1108
  };
1109
1109
  var L = class {
@@ -1136,7 +1136,7 @@ const y = function(e, ...t) {
1136
1136
  return (s && r && r.isJsonMime ? r.isJsonMime(t.headers["Content-Type"]) : s) ? JSON.stringify(e !== void 0 ? e : {}) : e || "";
1137
1137
  }, P = function(e) {
1138
1138
  return e.pathname + e.search + e.hash;
1139
- }, I = function(e, t, r, s) {
1139
+ }, v = function(e, t, r, s) {
1140
1140
  return (o = t, n = r) => {
1141
1141
  const a = {
1142
1142
  ...e.options,
@@ -1144,7 +1144,7 @@ const y = function(e, ...t) {
1144
1144
  };
1145
1145
  return o.request(a);
1146
1146
  };
1147
- }, ur = {
1147
+ }, br = {
1148
1148
  Abb: "abb",
1149
1149
  Fanuc: "fanuc",
1150
1150
  Kuka: "kuka",
@@ -1285,36 +1285,36 @@ const y = function(e, ...t) {
1285
1285
  async addApp(r, s, o, n) {
1286
1286
  var i, p;
1287
1287
  const a = await t.addApp(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ApplicationApi.addApp"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
1288
- return (d, u) => I(a, m, O, e)(d, c || u);
1288
+ return (d, u) => v(a, m, O, e)(d, c || u);
1289
1289
  },
1290
1290
  async clearApps(r, s, o) {
1291
1291
  var c, i;
1292
1292
  const n = await t.clearApps(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ApplicationApi.clearApps"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
1293
- return (p, d) => I(n, m, O, e)(p, l || d);
1293
+ return (p, d) => v(n, m, O, e)(p, l || d);
1294
1294
  },
1295
1295
  async deleteApp(r, s, o, n) {
1296
1296
  var i, p;
1297
1297
  const a = await t.deleteApp(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ApplicationApi.deleteApp"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
1298
- return (d, u) => I(a, m, O, e)(d, c || u);
1298
+ return (d, u) => v(a, m, O, e)(d, c || u);
1299
1299
  },
1300
1300
  async getApp(r, s, o) {
1301
1301
  var c, i;
1302
1302
  const n = await t.getApp(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ApplicationApi.getApp"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
1303
- return (p, d) => I(n, m, O, e)(p, l || d);
1303
+ return (p, d) => v(n, m, O, e)(p, l || d);
1304
1304
  },
1305
1305
  async listApps(r, s) {
1306
1306
  var l, c;
1307
1307
  const o = await t.listApps(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ApplicationApi.listApps"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
1308
- return (i, p) => I(o, m, O, e)(i, a || p);
1308
+ return (i, p) => v(o, m, O, e)(i, a || p);
1309
1309
  },
1310
1310
  async updateApp(r, s, o, n, a) {
1311
1311
  var p, d;
1312
1312
  const l = await t.updateApp(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["ApplicationApi.updateApp"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
1313
- return (u, v) => I(l, m, O, e)(u, i || v);
1313
+ return (u, I) => v(l, m, O, e)(u, i || I);
1314
1314
  }
1315
1315
  };
1316
1316
  };
1317
- var ve = class extends L {
1317
+ var Ie = class extends L {
1318
1318
  /**
1319
1319
  * Install a basic, containerized web application to the cell to control robots with a customized frontend. #### Prerequisites - A Docker hub account or similar container registry account, with valid credentials. #### Workflow After adding the application to the cell, open the application on the Wandelbots NOVA home screen. Read [build your application](https://docs.wandelbots.io/latest/developing-introduction) for more information. #### Predefined environment variables <!-- theme: NOTE --> > **NOTE** > - `NOVA_API`: The API endpoint accessible from within the application container. > - `NATS_BROKER`: The NATS broker endpoint accessible from within the application container. > - `BASE_PATH`: The application\'s root path, accessible at http://$host/$BASE_PATH > - `CELL_NAME`: The name of the cell hosting the deployed application.
1320
1320
  * @summary Add Application
@@ -1772,92 +1772,92 @@ const Ot = function(e) {
1772
1772
  async addBusIOService(r, s, o, n) {
1773
1773
  var i, p;
1774
1774
  const a = await t.addBusIOService(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["BUSInputsOutputsApi.addBusIOService"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
1775
- return (d, u) => I(a, m, O, e)(d, c || u);
1775
+ return (d, u) => v(a, m, O, e)(d, c || u);
1776
1776
  },
1777
1777
  async addModbusIO(r, s, o, n) {
1778
1778
  var i, p;
1779
1779
  const a = await t.addModbusIO(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["BUSInputsOutputsApi.addModbusIO"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
1780
- return (d, u) => I(a, m, O, e)(d, c || u);
1780
+ return (d, u) => v(a, m, O, e)(d, c || u);
1781
1781
  },
1782
1782
  async addProfinetIO(r, s, o, n) {
1783
1783
  var i, p;
1784
1784
  const a = await t.addProfinetIO(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["BUSInputsOutputsApi.addProfinetIO"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
1785
- return (d, u) => I(a, m, O, e)(d, c || u);
1785
+ return (d, u) => v(a, m, O, e)(d, c || u);
1786
1786
  },
1787
1787
  async clearBusIOService(r, s, o) {
1788
1788
  var c, i;
1789
1789
  const n = await t.clearBusIOService(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["BUSInputsOutputsApi.clearBusIOService"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
1790
- return (p, d) => I(n, m, O, e)(p, l || d);
1790
+ return (p, d) => v(n, m, O, e)(p, l || d);
1791
1791
  },
1792
1792
  async deleteAllModbusIOs(r, s) {
1793
1793
  var l, c;
1794
1794
  const o = await t.deleteAllModbusIOs(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["BUSInputsOutputsApi.deleteAllModbusIOs"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
1795
- return (i, p) => I(o, m, O, e)(i, a || p);
1795
+ return (i, p) => v(o, m, O, e)(i, a || p);
1796
1796
  },
1797
1797
  async deleteAllProfinetIOs(r, s) {
1798
1798
  var l, c;
1799
1799
  const o = await t.deleteAllProfinetIOs(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["BUSInputsOutputsApi.deleteAllProfinetIOs"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
1800
- return (i, p) => I(o, m, O, e)(i, a || p);
1800
+ return (i, p) => v(o, m, O, e)(i, a || p);
1801
1801
  },
1802
1802
  async deleteModbusIO(r, s, o) {
1803
1803
  var c, i;
1804
1804
  const n = await t.deleteModbusIO(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["BUSInputsOutputsApi.deleteModbusIO"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
1805
- return (p, d) => I(n, m, O, e)(p, l || d);
1805
+ return (p, d) => v(n, m, O, e)(p, l || d);
1806
1806
  },
1807
1807
  async deleteProfinetIO(r, s, o) {
1808
1808
  var c, i;
1809
1809
  const n = await t.deleteProfinetIO(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["BUSInputsOutputsApi.deleteProfinetIO"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
1810
- return (p, d) => I(n, m, O, e)(p, l || d);
1810
+ return (p, d) => v(n, m, O, e)(p, l || d);
1811
1811
  },
1812
1812
  async getBusIOService(r, s) {
1813
1813
  var l, c;
1814
1814
  const o = await t.getBusIOService(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["BUSInputsOutputsApi.getBusIOService"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
1815
- return (i, p) => I(o, m, O, e)(i, a || p);
1815
+ return (i, p) => v(o, m, O, e)(i, a || p);
1816
1816
  },
1817
1817
  async getBusIOState(r, s) {
1818
1818
  var l, c;
1819
1819
  const o = await t.getBusIOState(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["BUSInputsOutputsApi.getBusIOState"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
1820
- return (i, p) => I(o, m, O, e)(i, a || p);
1820
+ return (i, p) => v(o, m, O, e)(i, a || p);
1821
1821
  },
1822
1822
  async getBusIOValues(r, s, o) {
1823
1823
  var c, i;
1824
1824
  const n = await t.getBusIOValues(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["BUSInputsOutputsApi.getBusIOValues"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
1825
- return (p, d) => I(n, m, O, e)(p, l || d);
1825
+ return (p, d) => v(n, m, O, e)(p, l || d);
1826
1826
  },
1827
1827
  async getProfinetDescription(r, s) {
1828
1828
  var l, c;
1829
1829
  const o = await t.getProfinetDescription(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["BUSInputsOutputsApi.getProfinetDescription"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
1830
- return (i, p) => I(o, m, O, e)(i, a || p);
1830
+ return (i, p) => v(o, m, O, e)(i, a || p);
1831
1831
  },
1832
1832
  async getProfinetIOsFromFile(r, s, o, n) {
1833
1833
  var i, p;
1834
1834
  const a = await t.getProfinetIOsFromFile(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["BUSInputsOutputsApi.getProfinetIOsFromFile"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
1835
- return (d, u) => I(a, m, O, e)(d, c || u);
1835
+ return (d, u) => v(a, m, O, e)(d, c || u);
1836
1836
  },
1837
1837
  async listBusIODescriptions(r, s) {
1838
1838
  var l, c;
1839
1839
  const o = await t.listBusIODescriptions(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["BUSInputsOutputsApi.listBusIODescriptions"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
1840
- return (i, p) => I(o, m, O, e)(i, a || p);
1840
+ return (i, p) => v(o, m, O, e)(i, a || p);
1841
1841
  },
1842
1842
  async listModbusIOs(r, s) {
1843
1843
  var l, c;
1844
1844
  const o = await t.listModbusIOs(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["BUSInputsOutputsApi.listModbusIOs"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
1845
- return (i, p) => I(o, m, O, e)(i, a || p);
1845
+ return (i, p) => v(o, m, O, e)(i, a || p);
1846
1846
  },
1847
1847
  async listProfinetIOs(r, s) {
1848
1848
  var l, c;
1849
1849
  const o = await t.listProfinetIOs(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["BUSInputsOutputsApi.listProfinetIOs"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
1850
- return (i, p) => I(o, m, O, e)(i, a || p);
1850
+ return (i, p) => v(o, m, O, e)(i, a || p);
1851
1851
  },
1852
1852
  async setBusIOValues(r, s, o) {
1853
1853
  var c, i;
1854
1854
  const n = await t.setBusIOValues(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["BUSInputsOutputsApi.setBusIOValues"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
1855
- return (p, d) => I(n, m, O, e)(p, l || d);
1855
+ return (p, d) => v(n, m, O, e)(p, l || d);
1856
1856
  },
1857
1857
  async setProfinetIOsFromFile(r, s, o) {
1858
1858
  var c, i;
1859
1859
  const n = await t.setProfinetIOsFromFile(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["BUSInputsOutputsApi.setProfinetIOsFromFile"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
1860
- return (p, d) => I(n, m, O, e)(p, l || d);
1860
+ return (p, d) => v(n, m, O, e)(p, l || d);
1861
1861
  }
1862
1862
  };
1863
1863
  };
@@ -2212,37 +2212,37 @@ const Ct = function(e) {
2212
2212
  async deleteCell(r, s, o) {
2213
2213
  var c, i;
2214
2214
  const n = await t.deleteCell(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["CellApi.deleteCell"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
2215
- return (p, d) => I(n, m, O, e)(p, l || d);
2215
+ return (p, d) => v(n, m, O, e)(p, l || d);
2216
2216
  },
2217
2217
  async deployCell(r, s, o) {
2218
2218
  var c, i;
2219
2219
  const n = await t.deployCell(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["CellApi.deployCell"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
2220
- return (p, d) => I(n, m, O, e)(p, l || d);
2220
+ return (p, d) => v(n, m, O, e)(p, l || d);
2221
2221
  },
2222
2222
  async getCell(r, s) {
2223
2223
  var l, c;
2224
2224
  const o = await t.getCell(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["CellApi.getCell"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
2225
- return (i, p) => I(o, m, O, e)(i, a || p);
2225
+ return (i, p) => v(o, m, O, e)(i, a || p);
2226
2226
  },
2227
2227
  async getCellStatus(r, s) {
2228
2228
  var l, c;
2229
2229
  const o = await t.getCellStatus(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["CellApi.getCellStatus"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
2230
- return (i, p) => I(o, m, O, e)(i, a || p);
2230
+ return (i, p) => v(o, m, O, e)(i, a || p);
2231
2231
  },
2232
2232
  async listCells(r) {
2233
2233
  var a, l;
2234
2234
  const s = await t.listCells(r), o = (e == null ? void 0 : e.serverIndex) ?? 0, n = (l = (a = V["CellApi.listCells"]) == null ? void 0 : a[o]) == null ? void 0 : l.url;
2235
- return (c, i) => I(s, m, O, e)(c, n || i);
2235
+ return (c, i) => v(s, m, O, e)(c, n || i);
2236
2236
  },
2237
2237
  async setCellStatus(r, s, o) {
2238
2238
  var c, i;
2239
2239
  const n = await t.setCellStatus(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["CellApi.setCellStatus"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
2240
- return (p, d) => I(n, m, O, e)(p, l || d);
2240
+ return (p, d) => v(n, m, O, e)(p, l || d);
2241
2241
  },
2242
2242
  async updateCell(r, s, o, n) {
2243
2243
  var i, p;
2244
2244
  const a = await t.updateCell(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["CellApi.updateCell"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
2245
- return (d, u) => I(a, m, O, e)(d, c || u);
2245
+ return (d, u) => v(a, m, O, e)(d, c || u);
2246
2246
  }
2247
2247
  };
2248
2248
  };
@@ -2625,72 +2625,72 @@ const bt = function(e) {
2625
2625
  async addRobotController(r, s, o, n) {
2626
2626
  var i, p;
2627
2627
  const a = await t.addRobotController(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ControllerApi.addRobotController"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
2628
- return (d, u) => I(a, m, O, e)(d, c || u);
2628
+ return (d, u) => v(a, m, O, e)(d, c || u);
2629
2629
  },
2630
2630
  async clearRobotControllers(r, s, o) {
2631
2631
  var c, i;
2632
2632
  const n = await t.clearRobotControllers(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ControllerApi.clearRobotControllers"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
2633
- return (p, d) => I(n, m, O, e)(p, l || d);
2633
+ return (p, d) => v(n, m, O, e)(p, l || d);
2634
2634
  },
2635
2635
  async deleteRobotController(r, s, o, n) {
2636
2636
  var i, p;
2637
2637
  const a = await t.deleteRobotController(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ControllerApi.deleteRobotController"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
2638
- return (d, u) => I(a, m, O, e)(d, c || u);
2638
+ return (d, u) => v(a, m, O, e)(d, c || u);
2639
2639
  },
2640
2640
  async getControllerDescription(r, s, o) {
2641
2641
  var c, i;
2642
2642
  const n = await t.getControllerDescription(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ControllerApi.getControllerDescription"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
2643
- return (p, d) => I(n, m, O, e)(p, l || d);
2643
+ return (p, d) => v(n, m, O, e)(p, l || d);
2644
2644
  },
2645
2645
  async getCoordinateSystem(r, s, o, n, a) {
2646
2646
  var p, d;
2647
2647
  const l = await t.getCoordinateSystem(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["ControllerApi.getCoordinateSystem"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
2648
- return (u, v) => I(l, m, O, e)(u, i || v);
2648
+ return (u, I) => v(l, m, O, e)(u, i || I);
2649
2649
  },
2650
2650
  async getCurrentRobotControllerState(r, s, o) {
2651
2651
  var c, i;
2652
2652
  const n = await t.getCurrentRobotControllerState(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ControllerApi.getCurrentRobotControllerState"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
2653
- return (p, d) => I(n, m, O, e)(p, l || d);
2653
+ return (p, d) => v(n, m, O, e)(p, l || d);
2654
2654
  },
2655
2655
  async getRobotController(r, s, o) {
2656
2656
  var c, i;
2657
2657
  const n = await t.getRobotController(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ControllerApi.getRobotController"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
2658
- return (p, d) => I(n, m, O, e)(p, l || d);
2658
+ return (p, d) => v(n, m, O, e)(p, l || d);
2659
2659
  },
2660
2660
  async getVirtualControllerConfiguration(r, s, o) {
2661
2661
  var c, i;
2662
2662
  const n = await t.getVirtualControllerConfiguration(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["ControllerApi.getVirtualControllerConfiguration"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
2663
- return (p, d) => I(n, m, O, e)(p, l || d);
2663
+ return (p, d) => v(n, m, O, e)(p, l || d);
2664
2664
  },
2665
2665
  async listCoordinateSystems(r, s, o, n) {
2666
2666
  var i, p;
2667
2667
  const a = await t.listCoordinateSystems(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ControllerApi.listCoordinateSystems"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
2668
- return (d, u) => I(a, m, O, e)(d, c || u);
2668
+ return (d, u) => v(a, m, O, e)(d, c || u);
2669
2669
  },
2670
2670
  async listRobotControllers(r, s) {
2671
2671
  var l, c;
2672
2672
  const o = await t.listRobotControllers(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["ControllerApi.listRobotControllers"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
2673
- return (i, p) => I(o, m, O, e)(i, a || p);
2673
+ return (i, p) => v(o, m, O, e)(i, a || p);
2674
2674
  },
2675
2675
  async setDefaultMode(r, s, o, n) {
2676
2676
  var i, p;
2677
2677
  const a = await t.setDefaultMode(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ControllerApi.setDefaultMode"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
2678
- return (d, u) => I(a, m, O, e)(d, c || u);
2678
+ return (d, u) => v(a, m, O, e)(d, c || u);
2679
2679
  },
2680
2680
  async streamFreeDrive(r, s, o, n) {
2681
2681
  var i, p;
2682
2682
  const a = await t.streamFreeDrive(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ControllerApi.streamFreeDrive"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
2683
- return (d, u) => I(a, m, O, e)(d, c || u);
2683
+ return (d, u) => v(a, m, O, e)(d, c || u);
2684
2684
  },
2685
2685
  async streamRobotControllerState(r, s, o, n, a) {
2686
2686
  var p, d;
2687
2687
  const l = await t.streamRobotControllerState(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["ControllerApi.streamRobotControllerState"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
2688
- return (u, v) => I(l, m, O, e)(u, i || v);
2688
+ return (u, I) => v(l, m, O, e)(u, i || I);
2689
2689
  },
2690
2690
  async updateRobotController(r, s, o, n, a) {
2691
2691
  var p, d;
2692
2692
  const l = await t.updateRobotController(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["ControllerApi.updateRobotController"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
2693
- return (u, v) => I(l, m, O, e)(u, i || v);
2693
+ return (u, I) => v(l, m, O, e)(u, i || I);
2694
2694
  }
2695
2695
  };
2696
2696
  };
@@ -2871,8 +2871,8 @@ const Pt = function(e) {
2871
2871
  method: "GET",
2872
2872
  ...p,
2873
2873
  ...l
2874
- }, u = {}, v = {};
2875
- S(d, e), await b(u, e), s && (v.ios = s), o !== void 0 && (v.direction = o), n !== void 0 && (v.value_type = n), a !== void 0 && (v.group = a), y(i, v);
2874
+ }, u = {}, I = {};
2875
+ S(d, e), await b(u, e), s && (I.ios = s), o !== void 0 && (I.direction = o), n !== void 0 && (I.value_type = n), a !== void 0 && (I.group = a), y(i, I);
2876
2876
  let E = p && p.headers ? p.headers : {};
2877
2877
  return d.headers = {
2878
2878
  ...u,
@@ -2972,33 +2972,33 @@ const Pt = function(e) {
2972
2972
  const t = Pt(e);
2973
2973
  return {
2974
2974
  async listIODescriptions(r, s, o, n, a, l, c) {
2975
- var u, v;
2976
- const i = await t.listIODescriptions(r, s, o, n, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (v = (u = V["ControllerInputsOutputsApi.listIODescriptions"]) == null ? void 0 : u[p]) == null ? void 0 : v.url;
2977
- return (E, W) => I(i, m, O, e)(E, d || W);
2975
+ var u, I;
2976
+ const i = await t.listIODescriptions(r, s, o, n, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (I = (u = V["ControllerInputsOutputsApi.listIODescriptions"]) == null ? void 0 : u[p]) == null ? void 0 : I.url;
2977
+ return (E, W) => v(i, m, O, e)(E, d || W);
2978
2978
  },
2979
2979
  async listIOValues(r, s, o, n) {
2980
2980
  var i, p;
2981
2981
  const a = await t.listIOValues(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ControllerInputsOutputsApi.listIOValues"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
2982
- return (d, u) => I(a, m, O, e)(d, c || u);
2982
+ return (d, u) => v(a, m, O, e)(d, c || u);
2983
2983
  },
2984
2984
  async setOutputValues(r, s, o, n) {
2985
2985
  var i, p;
2986
2986
  const a = await t.setOutputValues(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ControllerInputsOutputsApi.setOutputValues"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
2987
- return (d, u) => I(a, m, O, e)(d, c || u);
2987
+ return (d, u) => v(a, m, O, e)(d, c || u);
2988
2988
  },
2989
2989
  async streamIOValues(r, s, o, n) {
2990
2990
  var i, p;
2991
2991
  const a = await t.streamIOValues(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ControllerInputsOutputsApi.streamIOValues"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
2992
- return (d, u) => I(a, m, O, e)(d, c || u);
2992
+ return (d, u) => v(a, m, O, e)(d, c || u);
2993
2993
  },
2994
2994
  async waitForIOEvent(r, s, o, n) {
2995
2995
  var i, p;
2996
2996
  const a = await t.waitForIOEvent(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["ControllerInputsOutputsApi.waitForIOEvent"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
2997
- return (d, u) => I(a, m, O, e)(d, c || u);
2997
+ return (d, u) => v(a, m, O, e)(d, c || u);
2998
2998
  }
2999
2999
  };
3000
3000
  };
3001
- var It = class extends L {
3001
+ var vt = class extends L {
3002
3002
  /**
3003
3003
  * Lists the input/output descriptions of the robot controller. The input/output descriptions contain information like name, type and unit.\\ Available inputs/outputs are defined by the robot controller\\ Each input/output has a unique identifier. - If no identifiers and no filters are specified in the request, all available inputs/outputs are retrieved by this endpoint. - If a filter, e.g., `direction`, `value_type`, `group` is applied, only matching inputs/outputs are returned.
3004
3004
  * @summary List Descriptions
@@ -3063,7 +3063,7 @@ var It = class extends L {
3063
3063
  return te(this.configuration).waitForIOEvent(e, t, r, s).then((o) => o(this.axios, this.basePath));
3064
3064
  }
3065
3065
  };
3066
- const vt = function(e) {
3066
+ const It = function(e) {
3067
3067
  return { executeJogging: async (t, r, s, o = {}) => {
3068
3068
  h("executeJogging", "cell", t), h("executeJogging", "controller", r), h("executeJogging", "executeJoggingRequest", s);
3069
3069
  const n = "/cells/{cell}/controllers/{controller}/execution/jogging".replace("{cell}", encodeURIComponent(String(t))).replace("{controller}", encodeURIComponent(String(r))), a = new URL(n, C);
@@ -3086,11 +3086,11 @@ const vt = function(e) {
3086
3086
  };
3087
3087
  } };
3088
3088
  }, xt = function(e) {
3089
- const t = vt(e);
3089
+ const t = It(e);
3090
3090
  return { async executeJogging(r, s, o, n) {
3091
3091
  var i, p;
3092
3092
  const a = await t.executeJogging(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["JoggingApi.executeJogging"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
3093
- return (d, u) => I(a, m, O, e)(d, c || u);
3093
+ return (d, u) => v(a, m, O, e)(d, c || u);
3094
3094
  } };
3095
3095
  };
3096
3096
  var wt = class extends L {
@@ -3158,12 +3158,12 @@ const At = function(e) {
3158
3158
  async forwardKinematics(r, s, o) {
3159
3159
  var c, i;
3160
3160
  const n = await t.forwardKinematics(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["KinematicsApi.forwardKinematics"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
3161
- return (p, d) => I(n, m, O, e)(p, l || d);
3161
+ return (p, d) => v(n, m, O, e)(p, l || d);
3162
3162
  },
3163
3163
  async inverseKinematics(r, s, o) {
3164
3164
  var c, i;
3165
3165
  const n = await t.inverseKinematics(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["KinematicsApi.inverseKinematics"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
3166
- return (p, d) => I(n, m, O, e)(p, l || d);
3166
+ return (p, d) => v(n, m, O, e)(p, l || d);
3167
3167
  }
3168
3168
  };
3169
3169
  };
@@ -3246,10 +3246,10 @@ const Ut = function(e) {
3246
3246
  ...a
3247
3247
  }, d = {}, u = {};
3248
3248
  S(p, e), await b(d, e), o !== void 0 && (u.response_rate = o), n !== void 0 && (u.response_coordinate_system = n), y(c, u);
3249
- let v = i && i.headers ? i.headers : {};
3249
+ let I = i && i.headers ? i.headers : {};
3250
3250
  return p.headers = {
3251
3251
  ...d,
3252
- ...v,
3252
+ ...I,
3253
3253
  ...a.headers
3254
3254
  }, {
3255
3255
  url: P(c),
@@ -3263,17 +3263,17 @@ const Ut = function(e) {
3263
3263
  async getCurrentMotionGroupState(r, s, o, n, a) {
3264
3264
  var p, d;
3265
3265
  const l = await t.getCurrentMotionGroupState(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["MotionGroupApi.getCurrentMotionGroupState"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
3266
- return (u, v) => I(l, m, O, e)(u, i || v);
3266
+ return (u, I) => v(l, m, O, e)(u, i || I);
3267
3267
  },
3268
3268
  async getMotionGroupDescription(r, s, o, n) {
3269
3269
  var i, p;
3270
3270
  const a = await t.getMotionGroupDescription(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["MotionGroupApi.getMotionGroupDescription"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
3271
- return (d, u) => I(a, m, O, e)(d, c || u);
3271
+ return (d, u) => v(a, m, O, e)(d, c || u);
3272
3272
  },
3273
3273
  async streamMotionGroupState(r, s, o, n, a, l) {
3274
3274
  var d, u;
3275
3275
  const c = await t.streamMotionGroupState(r, s, o, n, a, l), i = (e == null ? void 0 : e.serverIndex) ?? 0, p = (u = (d = V["MotionGroupApi.streamMotionGroupState"]) == null ? void 0 : d[i]) == null ? void 0 : u.url;
3276
- return (v, E) => I(c, m, O, e)(v, p || E);
3276
+ return (I, E) => v(c, m, O, e)(I, p || E);
3277
3277
  }
3278
3278
  };
3279
3279
  };
@@ -3431,27 +3431,27 @@ const _t = function(e) {
3431
3431
  async getMotionGroupCollisionModel(r, s) {
3432
3432
  var l, c;
3433
3433
  const o = await t.getMotionGroupCollisionModel(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["MotionGroupModelsApi.getMotionGroupCollisionModel"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
3434
- return (i, p) => I(o, m, O, e)(i, a || p);
3434
+ return (i, p) => v(o, m, O, e)(i, a || p);
3435
3435
  },
3436
3436
  async getMotionGroupGlbModel(r, s) {
3437
3437
  var l, c;
3438
3438
  const o = await t.getMotionGroupGlbModel(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["MotionGroupModelsApi.getMotionGroupGlbModel"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
3439
- return (i, p) => I(o, m, O, e)(i, a || p);
3439
+ return (i, p) => v(o, m, O, e)(i, a || p);
3440
3440
  },
3441
3441
  async getMotionGroupKinematicModel(r, s) {
3442
3442
  var l, c;
3443
3443
  const o = await t.getMotionGroupKinematicModel(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["MotionGroupModelsApi.getMotionGroupKinematicModel"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
3444
- return (i, p) => I(o, m, O, e)(i, a || p);
3444
+ return (i, p) => v(o, m, O, e)(i, a || p);
3445
3445
  },
3446
3446
  async getMotionGroupModels(r) {
3447
3447
  var a, l;
3448
3448
  const s = await t.getMotionGroupModels(r), o = (e == null ? void 0 : e.serverIndex) ?? 0, n = (l = (a = V["MotionGroupModelsApi.getMotionGroupModels"]) == null ? void 0 : a[o]) == null ? void 0 : l.url;
3449
- return (c, i) => I(s, m, O, e)(c, n || i);
3449
+ return (c, i) => v(s, m, O, e)(c, n || i);
3450
3450
  },
3451
3451
  async getMotionGroupUsdModel(r, s) {
3452
3452
  var l, c;
3453
3453
  const o = await t.getMotionGroupUsdModel(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["MotionGroupModelsApi.getMotionGroupUsdModel"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
3454
- return (i, p) => I(o, m, O, e)(i, a || p);
3454
+ return (i, p) => v(o, m, O, e)(i, a || p);
3455
3455
  }
3456
3456
  };
3457
3457
  };
@@ -3830,77 +3830,77 @@ const Et = function(e) {
3830
3830
  async deleteStoredCollider(r, s, o) {
3831
3831
  var c, i;
3832
3832
  const n = await t.deleteStoredCollider(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreCollisionComponentsApi.deleteStoredCollider"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
3833
- return (p, d) => I(n, m, O, e)(p, l || d);
3833
+ return (p, d) => v(n, m, O, e)(p, l || d);
3834
3834
  },
3835
3835
  async deleteStoredCollisionLinkChain(r, s, o) {
3836
3836
  var c, i;
3837
3837
  const n = await t.deleteStoredCollisionLinkChain(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreCollisionComponentsApi.deleteStoredCollisionLinkChain"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
3838
- return (p, d) => I(n, m, O, e)(p, l || d);
3838
+ return (p, d) => v(n, m, O, e)(p, l || d);
3839
3839
  },
3840
3840
  async deleteStoredCollisionTool(r, s, o) {
3841
3841
  var c, i;
3842
3842
  const n = await t.deleteStoredCollisionTool(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreCollisionComponentsApi.deleteStoredCollisionTool"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
3843
- return (p, d) => I(n, m, O, e)(p, l || d);
3843
+ return (p, d) => v(n, m, O, e)(p, l || d);
3844
3844
  },
3845
3845
  async getStoredCollider(r, s, o) {
3846
3846
  var c, i;
3847
3847
  const n = await t.getStoredCollider(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreCollisionComponentsApi.getStoredCollider"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
3848
- return (p, d) => I(n, m, O, e)(p, l || d);
3848
+ return (p, d) => v(n, m, O, e)(p, l || d);
3849
3849
  },
3850
3850
  async getStoredCollisionLinkChain(r, s, o) {
3851
3851
  var c, i;
3852
3852
  const n = await t.getStoredCollisionLinkChain(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreCollisionComponentsApi.getStoredCollisionLinkChain"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
3853
- return (p, d) => I(n, m, O, e)(p, l || d);
3853
+ return (p, d) => v(n, m, O, e)(p, l || d);
3854
3854
  },
3855
3855
  async getStoredCollisionTool(r, s, o) {
3856
3856
  var c, i;
3857
3857
  const n = await t.getStoredCollisionTool(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreCollisionComponentsApi.getStoredCollisionTool"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
3858
- return (p, d) => I(n, m, O, e)(p, l || d);
3858
+ return (p, d) => v(n, m, O, e)(p, l || d);
3859
3859
  },
3860
3860
  async listCollisionLinkChains(r, s) {
3861
3861
  var l, c;
3862
3862
  const o = await t.listCollisionLinkChains(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["StoreCollisionComponentsApi.listCollisionLinkChains"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
3863
- return (i, p) => I(o, m, O, e)(i, a || p);
3863
+ return (i, p) => v(o, m, O, e)(i, a || p);
3864
3864
  },
3865
3865
  async listCollisionLinkChainsKeys(r, s) {
3866
3866
  var l, c;
3867
3867
  const o = await t.listCollisionLinkChainsKeys(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["StoreCollisionComponentsApi.listCollisionLinkChainsKeys"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
3868
- return (i, p) => I(o, m, O, e)(i, a || p);
3868
+ return (i, p) => v(o, m, O, e)(i, a || p);
3869
3869
  },
3870
3870
  async listStoredColliders(r, s) {
3871
3871
  var l, c;
3872
3872
  const o = await t.listStoredColliders(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["StoreCollisionComponentsApi.listStoredColliders"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
3873
- return (i, p) => I(o, m, O, e)(i, a || p);
3873
+ return (i, p) => v(o, m, O, e)(i, a || p);
3874
3874
  },
3875
3875
  async listStoredCollidersKeys(r, s) {
3876
3876
  var l, c;
3877
3877
  const o = await t.listStoredCollidersKeys(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["StoreCollisionComponentsApi.listStoredCollidersKeys"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
3878
- return (i, p) => I(o, m, O, e)(i, a || p);
3878
+ return (i, p) => v(o, m, O, e)(i, a || p);
3879
3879
  },
3880
3880
  async listStoredCollisionTools(r, s) {
3881
3881
  var l, c;
3882
3882
  const o = await t.listStoredCollisionTools(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["StoreCollisionComponentsApi.listStoredCollisionTools"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
3883
- return (i, p) => I(o, m, O, e)(i, a || p);
3883
+ return (i, p) => v(o, m, O, e)(i, a || p);
3884
3884
  },
3885
3885
  async listStoredCollisionToolsKeys(r, s) {
3886
3886
  var l, c;
3887
3887
  const o = await t.listStoredCollisionToolsKeys(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["StoreCollisionComponentsApi.listStoredCollisionToolsKeys"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
3888
- return (i, p) => I(o, m, O, e)(i, a || p);
3888
+ return (i, p) => v(o, m, O, e)(i, a || p);
3889
3889
  },
3890
3890
  async storeCollider(r, s, o, n) {
3891
3891
  var i, p;
3892
3892
  const a = await t.storeCollider(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["StoreCollisionComponentsApi.storeCollider"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
3893
- return (d, u) => I(a, m, O, e)(d, c || u);
3893
+ return (d, u) => v(a, m, O, e)(d, c || u);
3894
3894
  },
3895
3895
  async storeCollisionLinkChain(r, s, o, n) {
3896
3896
  var i, p;
3897
3897
  const a = await t.storeCollisionLinkChain(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["StoreCollisionComponentsApi.storeCollisionLinkChain"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
3898
- return (d, u) => I(a, m, O, e)(d, c || u);
3898
+ return (d, u) => v(a, m, O, e)(d, c || u);
3899
3899
  },
3900
3900
  async storeCollisionTool(r, s, o, n) {
3901
3901
  var i, p;
3902
3902
  const a = await t.storeCollisionTool(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["StoreCollisionComponentsApi.storeCollisionTool"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
3903
- return (d, u) => I(a, m, O, e)(d, c || u);
3903
+ return (d, u) => v(a, m, O, e)(d, c || u);
3904
3904
  }
3905
3905
  };
3906
3906
  };
@@ -4182,27 +4182,27 @@ const Mt = function(e) {
4182
4182
  async deleteStoredCollisionSetup(r, s, o) {
4183
4183
  var c, i;
4184
4184
  const n = await t.deleteStoredCollisionSetup(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreCollisionSetupsApi.deleteStoredCollisionSetup"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
4185
- return (p, d) => I(n, m, O, e)(p, l || d);
4185
+ return (p, d) => v(n, m, O, e)(p, l || d);
4186
4186
  },
4187
4187
  async getStoredCollisionSetup(r, s, o) {
4188
4188
  var c, i;
4189
4189
  const n = await t.getStoredCollisionSetup(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreCollisionSetupsApi.getStoredCollisionSetup"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
4190
- return (p, d) => I(n, m, O, e)(p, l || d);
4190
+ return (p, d) => v(n, m, O, e)(p, l || d);
4191
4191
  },
4192
4192
  async listStoredCollisionSetups(r, s) {
4193
4193
  var l, c;
4194
4194
  const o = await t.listStoredCollisionSetups(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["StoreCollisionSetupsApi.listStoredCollisionSetups"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
4195
- return (i, p) => I(o, m, O, e)(i, a || p);
4195
+ return (i, p) => v(o, m, O, e)(i, a || p);
4196
4196
  },
4197
4197
  async listStoredCollisionSetupsKeys(r, s) {
4198
4198
  var l, c;
4199
4199
  const o = await t.listStoredCollisionSetupsKeys(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["StoreCollisionSetupsApi.listStoredCollisionSetupsKeys"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
4200
- return (i, p) => I(o, m, O, e)(i, a || p);
4200
+ return (i, p) => v(o, m, O, e)(i, a || p);
4201
4201
  },
4202
4202
  async storeCollisionSetup(r, s, o, n) {
4203
4203
  var i, p;
4204
4204
  const a = await t.storeCollisionSetup(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["StoreCollisionSetupsApi.storeCollisionSetup"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
4205
- return (d, u) => I(a, m, O, e)(d, c || u);
4205
+ return (d, u) => v(a, m, O, e)(d, c || u);
4206
4206
  }
4207
4207
  };
4208
4208
  };
@@ -4380,10 +4380,10 @@ const Ft = function(e) {
4380
4380
  ...n
4381
4381
  }, p = {}, d = {}, u = new (e && e.formDataCtor || FormData)();
4382
4382
  S(i, e), await b(p, e), o !== void 0 && u.append("any_value", new Blob([JSON.stringify(o)], { type: "application/json" })), p["Content-Type"] = "multipart/form-data", s != null && (p["X-Metadata"] = typeof s == "string" ? s : JSON.stringify(s)), y(l, d);
4383
- let v = c && c.headers ? c.headers : {};
4383
+ let I = c && c.headers ? c.headers : {};
4384
4384
  return i.headers = {
4385
4385
  ...p,
4386
- ...v,
4386
+ ...I,
4387
4387
  ...n.headers
4388
4388
  }, i.data = u, {
4389
4389
  url: P(l),
@@ -4397,32 +4397,32 @@ const Ft = function(e) {
4397
4397
  async clearAllObjects(r, s) {
4398
4398
  var l, c;
4399
4399
  const o = await t.clearAllObjects(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["StoreObjectApi.clearAllObjects"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
4400
- return (i, p) => I(o, m, O, e)(i, a || p);
4400
+ return (i, p) => v(o, m, O, e)(i, a || p);
4401
4401
  },
4402
4402
  async deleteObject(r, s, o) {
4403
4403
  var c, i;
4404
4404
  const n = await t.deleteObject(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreObjectApi.deleteObject"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
4405
- return (p, d) => I(n, m, O, e)(p, l || d);
4405
+ return (p, d) => v(n, m, O, e)(p, l || d);
4406
4406
  },
4407
4407
  async getObject(r, s, o) {
4408
4408
  var c, i;
4409
4409
  const n = await t.getObject(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreObjectApi.getObject"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
4410
- return (p, d) => I(n, m, O, e)(p, l || d);
4410
+ return (p, d) => v(n, m, O, e)(p, l || d);
4411
4411
  },
4412
4412
  async getObjectMetadata(r, s, o) {
4413
4413
  var c, i;
4414
4414
  const n = await t.getObjectMetadata(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["StoreObjectApi.getObjectMetadata"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
4415
- return (p, d) => I(n, m, O, e)(p, l || d);
4415
+ return (p, d) => v(n, m, O, e)(p, l || d);
4416
4416
  },
4417
4417
  async listAllObjectKeys(r, s) {
4418
4418
  var l, c;
4419
4419
  const o = await t.listAllObjectKeys(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["StoreObjectApi.listAllObjectKeys"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
4420
- return (i, p) => I(o, m, O, e)(i, a || p);
4420
+ return (i, p) => v(o, m, O, e)(i, a || p);
4421
4421
  },
4422
4422
  async storeObject(r, s, o, n, a) {
4423
4423
  var p, d;
4424
4424
  const l = await t.storeObject(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["StoreObjectApi.storeObject"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
4425
- return (u, v) => I(l, m, O, e)(u, i || v);
4425
+ return (u, I) => v(l, m, O, e)(u, i || I);
4426
4426
  }
4427
4427
  };
4428
4428
  };
@@ -4505,7 +4505,7 @@ const kt = function(e) {
4505
4505
  ...n,
4506
4506
  ...s
4507
4507
  }, l = {}, c = {};
4508
- S(a, e), await b(l, e), t && (c.resources = t.join(Ie.csv)), r !== void 0 && (c.metadata = r), y(o, c);
4508
+ S(a, e), await b(l, e), t && (c.resources = t.join(ve.csv)), r !== void 0 && (c.metadata = r), y(o, c);
4509
4509
  let i = n && n.headers ? n.headers : {};
4510
4510
  return a.headers = {
4511
4511
  ...l,
@@ -4708,7 +4708,7 @@ const kt = function(e) {
4708
4708
  ...n,
4709
4709
  ...s
4710
4710
  }, l = {}, c = {};
4711
- S(a, e), await b(l, e), r && (c.resources = r.join(Ie.csv)), l["Content-Type"] = "application/gzip", y(o, c);
4711
+ S(a, e), await b(l, e), r && (c.resources = r.join(ve.csv)), l["Content-Type"] = "application/gzip", y(o, c);
4712
4712
  let i = n && n.headers ? n.headers : {};
4713
4713
  return a.headers = {
4714
4714
  ...l,
@@ -4747,62 +4747,62 @@ const kt = function(e) {
4747
4747
  async backupConfiguration(r, s, o) {
4748
4748
  var c, i;
4749
4749
  const n = await t.backupConfiguration(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["SystemApi.backupConfiguration"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
4750
- return (p, d) => I(n, m, O, e)(p, l || d);
4750
+ return (p, d) => v(n, m, O, e)(p, l || d);
4751
4751
  },
4752
4752
  async checkNovaVersionUpdate(r, s) {
4753
4753
  var l, c;
4754
4754
  const o = await t.checkNovaVersionUpdate(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SystemApi.checkNovaVersionUpdate"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
4755
- return (i, p) => I(o, m, O, e)(i, a || p);
4755
+ return (i, p) => v(o, m, O, e)(i, a || p);
4756
4756
  },
4757
4757
  async getArpScan(r, s, o, n) {
4758
4758
  var i, p;
4759
4759
  const a = await t.getArpScan(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["SystemApi.getArpScan"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
4760
- return (d, u) => I(a, m, O, e)(d, c || u);
4760
+ return (d, u) => v(a, m, O, e)(d, c || u);
4761
4761
  },
4762
4762
  async getConfigurationBackupStatus(r, s) {
4763
4763
  var l, c;
4764
4764
  const o = await t.getConfigurationBackupStatus(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SystemApi.getConfigurationBackupStatus"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
4765
- return (i, p) => I(o, m, O, e)(i, a || p);
4765
+ return (i, p) => v(o, m, O, e)(i, a || p);
4766
4766
  },
4767
4767
  async getDiagnosePackage(r) {
4768
4768
  var a, l;
4769
4769
  const s = await t.getDiagnosePackage(r), o = (e == null ? void 0 : e.serverIndex) ?? 0, n = (l = (a = V["SystemApi.getDiagnosePackage"]) == null ? void 0 : a[o]) == null ? void 0 : l.url;
4770
- return (c, i) => I(s, m, O, e)(c, n || i);
4770
+ return (c, i) => v(s, m, O, e)(c, n || i);
4771
4771
  },
4772
4772
  async getNetworkInterfaces(r) {
4773
4773
  var a, l;
4774
4774
  const s = await t.getNetworkInterfaces(r), o = (e == null ? void 0 : e.serverIndex) ?? 0, n = (l = (a = V["SystemApi.getNetworkInterfaces"]) == null ? void 0 : a[o]) == null ? void 0 : l.url;
4775
- return (c, i) => I(s, m, O, e)(c, n || i);
4775
+ return (c, i) => v(s, m, O, e)(c, n || i);
4776
4776
  },
4777
4777
  async getNetworkState(r) {
4778
4778
  var a, l;
4779
4779
  const s = await t.getNetworkState(r), o = (e == null ? void 0 : e.serverIndex) ?? 0, n = (l = (a = V["SystemApi.getNetworkState"]) == null ? void 0 : a[o]) == null ? void 0 : l.url;
4780
- return (c, i) => I(s, m, O, e)(c, n || i);
4780
+ return (c, i) => v(s, m, O, e)(c, n || i);
4781
4781
  },
4782
4782
  async getSystemStatus(r) {
4783
4783
  var a, l;
4784
4784
  const s = await t.getSystemStatus(r), o = (e == null ? void 0 : e.serverIndex) ?? 0, n = (l = (a = V["SystemApi.getSystemStatus"]) == null ? void 0 : a[o]) == null ? void 0 : l.url;
4785
- return (c, i) => I(s, m, O, e)(c, n || i);
4785
+ return (c, i) => v(s, m, O, e)(c, n || i);
4786
4786
  },
4787
4787
  async getSystemVersion(r) {
4788
4788
  var a, l;
4789
4789
  const s = await t.getSystemVersion(r), o = (e == null ? void 0 : e.serverIndex) ?? 0, n = (l = (a = V["SystemApi.getSystemVersion"]) == null ? void 0 : a[o]) == null ? void 0 : l.url;
4790
- return (c, i) => I(s, m, O, e)(c, n || i);
4790
+ return (c, i) => v(s, m, O, e)(c, n || i);
4791
4791
  },
4792
4792
  async listConfigurationResources(r) {
4793
4793
  var a, l;
4794
4794
  const s = await t.listConfigurationResources(r), o = (e == null ? void 0 : e.serverIndex) ?? 0, n = (l = (a = V["SystemApi.listConfigurationResources"]) == null ? void 0 : a[o]) == null ? void 0 : l.url;
4795
- return (c, i) => I(s, m, O, e)(c, n || i);
4795
+ return (c, i) => v(s, m, O, e)(c, n || i);
4796
4796
  },
4797
4797
  async restoreConfiguration(r, s, o) {
4798
4798
  var c, i;
4799
4799
  const n = await t.restoreConfiguration(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["SystemApi.restoreConfiguration"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
4800
- return (p, d) => I(n, m, O, e)(p, l || d);
4800
+ return (p, d) => v(n, m, O, e)(p, l || d);
4801
4801
  },
4802
4802
  async updateNovaVersion(r, s) {
4803
4803
  var l, c;
4804
4804
  const o = await t.updateNovaVersion(r, s), n = (e == null ? void 0 : e.serverIndex) ?? 0, a = (c = (l = V["SystemApi.updateNovaVersion"]) == null ? void 0 : l[n]) == null ? void 0 : c.url;
4805
- return (i, p) => I(o, m, O, e)(i, a || p);
4805
+ return (i, p) => v(o, m, O, e)(i, a || p);
4806
4806
  }
4807
4807
  };
4808
4808
  };
@@ -5040,27 +5040,27 @@ const Dt = function(e) {
5040
5040
  async addTrajectory(r, s, o, n) {
5041
5041
  var i, p;
5042
5042
  const a = await t.addTrajectory(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["TrajectoryCachingApi.addTrajectory"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5043
- return (d, u) => I(a, m, O, e)(d, c || u);
5043
+ return (d, u) => v(a, m, O, e)(d, c || u);
5044
5044
  },
5045
5045
  async clearTrajectories(r, s, o) {
5046
5046
  var c, i;
5047
5047
  const n = await t.clearTrajectories(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["TrajectoryCachingApi.clearTrajectories"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
5048
- return (p, d) => I(n, m, O, e)(p, l || d);
5048
+ return (p, d) => v(n, m, O, e)(p, l || d);
5049
5049
  },
5050
5050
  async deleteTrajectory(r, s, o, n) {
5051
5051
  var i, p;
5052
5052
  const a = await t.deleteTrajectory(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["TrajectoryCachingApi.deleteTrajectory"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5053
- return (d, u) => I(a, m, O, e)(d, c || u);
5053
+ return (d, u) => v(a, m, O, e)(d, c || u);
5054
5054
  },
5055
5055
  async getTrajectory(r, s, o, n) {
5056
5056
  var i, p;
5057
5057
  const a = await t.getTrajectory(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["TrajectoryCachingApi.getTrajectory"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5058
- return (d, u) => I(a, m, O, e)(d, c || u);
5058
+ return (d, u) => v(a, m, O, e)(d, c || u);
5059
5059
  },
5060
5060
  async listTrajectories(r, s, o) {
5061
5061
  var c, i;
5062
5062
  const n = await t.listTrajectories(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["TrajectoryCachingApi.listTrajectories"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
5063
- return (p, d) => I(n, m, O, e)(p, l || d);
5063
+ return (p, d) => v(n, m, O, e)(p, l || d);
5064
5064
  }
5065
5065
  };
5066
5066
  };
@@ -5151,7 +5151,7 @@ const Ht = function(e) {
5151
5151
  return { async executeTrajectory(r, s, o, n) {
5152
5152
  var i, p;
5153
5153
  const a = await t.executeTrajectory(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["TrajectoryExecutionApi.executeTrajectory"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5154
- return (d, u) => I(a, m, O, e)(d, c || u);
5154
+ return (d, u) => v(a, m, O, e)(d, c || u);
5155
5155
  } };
5156
5156
  };
5157
5157
  var Kt = class extends L {
@@ -5219,12 +5219,12 @@ const $t = function(e) {
5219
5219
  async planCollisionFree(r, s, o) {
5220
5220
  var c, i;
5221
5221
  const n = await t.planCollisionFree(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["TrajectoryPlanningApi.planCollisionFree"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
5222
- return (p, d) => I(n, m, O, e)(p, l || d);
5222
+ return (p, d) => v(n, m, O, e)(p, l || d);
5223
5223
  },
5224
5224
  async planTrajectory(r, s, o) {
5225
5225
  var c, i;
5226
5226
  const n = await t.planTrajectory(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["TrajectoryPlanningApi.planTrajectory"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
5227
- return (p, d) => I(n, m, O, e)(p, l || d);
5227
+ return (p, d) => v(n, m, O, e)(p, l || d);
5228
5228
  }
5229
5229
  };
5230
5230
  };
@@ -5286,10 +5286,10 @@ const gt = function(e) {
5286
5286
  ...a
5287
5287
  }, d = {}, u = {};
5288
5288
  S(p, e), await b(d, e), d["Content-Type"] = "application/json", y(c, u);
5289
- let v = i && i.headers ? i.headers : {};
5289
+ let I = i && i.headers ? i.headers : {};
5290
5290
  return p.headers = {
5291
5291
  ...d,
5292
- ...v,
5292
+ ...I,
5293
5293
  ...a.headers
5294
5294
  }, p.data = _(n, p, e), {
5295
5295
  url: P(c),
@@ -5576,77 +5576,77 @@ const gt = function(e) {
5576
5576
  async addVirtualControllerCoordinateSystem(r, s, o, n, a) {
5577
5577
  var p, d;
5578
5578
  const l = await t.addVirtualControllerCoordinateSystem(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["VirtualControllerApi.addVirtualControllerCoordinateSystem"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
5579
- return (u, v) => I(l, m, O, e)(u, i || v);
5579
+ return (u, I) => v(l, m, O, e)(u, i || I);
5580
5580
  },
5581
5581
  async addVirtualControllerTcp(r, s, o, n, a, l) {
5582
5582
  var d, u;
5583
5583
  const c = await t.addVirtualControllerTcp(r, s, o, n, a, l), i = (e == null ? void 0 : e.serverIndex) ?? 0, p = (u = (d = V["VirtualControllerApi.addVirtualControllerTcp"]) == null ? void 0 : d[i]) == null ? void 0 : u.url;
5584
- return (v, E) => I(c, m, O, e)(v, p || E);
5584
+ return (I, E) => v(c, m, O, e)(I, p || E);
5585
5585
  },
5586
5586
  async deleteVirtualControllerCoordinateSystem(r, s, o, n, a) {
5587
5587
  var p, d;
5588
5588
  const l = await t.deleteVirtualControllerCoordinateSystem(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["VirtualControllerApi.deleteVirtualControllerCoordinateSystem"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
5589
- return (u, v) => I(l, m, O, e)(u, i || v);
5589
+ return (u, I) => v(l, m, O, e)(u, i || I);
5590
5590
  },
5591
5591
  async deleteVirtualControllerTcp(r, s, o, n, a) {
5592
5592
  var p, d;
5593
5593
  const l = await t.deleteVirtualControllerTcp(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["VirtualControllerApi.deleteVirtualControllerTcp"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
5594
- return (u, v) => I(l, m, O, e)(u, i || v);
5594
+ return (u, I) => v(l, m, O, e)(u, i || I);
5595
5595
  },
5596
5596
  async getEmergencyStop(r, s, o) {
5597
5597
  var c, i;
5598
5598
  const n = await t.getEmergencyStop(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["VirtualControllerApi.getEmergencyStop"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
5599
- return (p, d) => I(n, m, O, e)(p, l || d);
5599
+ return (p, d) => v(n, m, O, e)(p, l || d);
5600
5600
  },
5601
5601
  async getMotionGroupState(r, s, o, n) {
5602
5602
  var i, p;
5603
5603
  const a = await t.getMotionGroupState(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["VirtualControllerApi.getMotionGroupState"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5604
- return (d, u) => I(a, m, O, e)(d, c || u);
5604
+ return (d, u) => v(a, m, O, e)(d, c || u);
5605
5605
  },
5606
5606
  async getMotionGroups(r, s, o) {
5607
5607
  var c, i;
5608
5608
  const n = await t.getMotionGroups(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["VirtualControllerApi.getMotionGroups"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
5609
- return (p, d) => I(n, m, O, e)(p, l || d);
5609
+ return (p, d) => v(n, m, O, e)(p, l || d);
5610
5610
  },
5611
5611
  async getOperationMode(r, s, o) {
5612
5612
  var c, i;
5613
5613
  const n = await t.getOperationMode(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["VirtualControllerApi.getOperationMode"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
5614
- return (p, d) => I(n, m, O, e)(p, l || d);
5614
+ return (p, d) => v(n, m, O, e)(p, l || d);
5615
5615
  },
5616
5616
  async getVirtualControllerMounting(r, s, o, n) {
5617
5617
  var i, p;
5618
5618
  const a = await t.getVirtualControllerMounting(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["VirtualControllerApi.getVirtualControllerMounting"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5619
- return (d, u) => I(a, m, O, e)(d, c || u);
5619
+ return (d, u) => v(a, m, O, e)(d, c || u);
5620
5620
  },
5621
5621
  async listVirtualControllerCoordinateSystems(r, s, o) {
5622
5622
  var c, i;
5623
5623
  const n = await t.listVirtualControllerCoordinateSystems(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["VirtualControllerApi.listVirtualControllerCoordinateSystems"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
5624
- return (p, d) => I(n, m, O, e)(p, l || d);
5624
+ return (p, d) => v(n, m, O, e)(p, l || d);
5625
5625
  },
5626
5626
  async listVirtualControllerTcps(r, s, o, n) {
5627
5627
  var i, p;
5628
5628
  const a = await t.listVirtualControllerTcps(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["VirtualControllerApi.listVirtualControllerTcps"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5629
- return (d, u) => I(a, m, O, e)(d, c || u);
5629
+ return (d, u) => v(a, m, O, e)(d, c || u);
5630
5630
  },
5631
5631
  async setEmergencyStop(r, s, o, n) {
5632
5632
  var i, p;
5633
5633
  const a = await t.setEmergencyStop(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["VirtualControllerApi.setEmergencyStop"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5634
- return (d, u) => I(a, m, O, e)(d, c || u);
5634
+ return (d, u) => v(a, m, O, e)(d, c || u);
5635
5635
  },
5636
5636
  async setMotionGroupState(r, s, o, n, a) {
5637
5637
  var p, d;
5638
5638
  const l = await t.setMotionGroupState(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["VirtualControllerApi.setMotionGroupState"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
5639
- return (u, v) => I(l, m, O, e)(u, i || v);
5639
+ return (u, I) => v(l, m, O, e)(u, i || I);
5640
5640
  },
5641
5641
  async setOperationMode(r, s, o, n) {
5642
5642
  var i, p;
5643
5643
  const a = await t.setOperationMode(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["VirtualControllerApi.setOperationMode"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5644
- return (d, u) => I(a, m, O, e)(d, c || u);
5644
+ return (d, u) => v(a, m, O, e)(d, c || u);
5645
5645
  },
5646
5646
  async setVirtualControllerMounting(r, s, o, n, a) {
5647
5647
  var p, d;
5648
5648
  const l = await t.setVirtualControllerMounting(r, s, o, n, a), c = (e == null ? void 0 : e.serverIndex) ?? 0, i = (d = (p = V["VirtualControllerApi.setVirtualControllerMounting"]) == null ? void 0 : p[c]) == null ? void 0 : d.url;
5649
- return (u, v) => I(l, m, O, e)(u, i || v);
5649
+ return (u, I) => v(l, m, O, e)(u, i || I);
5650
5650
  }
5651
5651
  };
5652
5652
  };
@@ -5928,22 +5928,22 @@ const Yt = function(e) {
5928
5928
  async externalJointsStream(r, s, o, n) {
5929
5929
  var i, p;
5930
5930
  const a = await t.externalJointsStream(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["VirtualControllerBehaviorApi.externalJointsStream"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5931
- return (d, u) => I(a, m, O, e)(d, c || u);
5931
+ return (d, u) => v(a, m, O, e)(d, c || u);
5932
5932
  },
5933
5933
  async getCycleTime(r, s, o) {
5934
5934
  var c, i;
5935
5935
  const n = await t.getCycleTime(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["VirtualControllerBehaviorApi.getCycleTime"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
5936
- return (p, d) => I(n, m, O, e)(p, l || d);
5936
+ return (p, d) => v(n, m, O, e)(p, l || d);
5937
5937
  },
5938
5938
  async getVirtualControllerBehavior(r, s, o) {
5939
5939
  var c, i;
5940
5940
  const n = await t.getVirtualControllerBehavior(r, s, o), a = (e == null ? void 0 : e.serverIndex) ?? 0, l = (i = (c = V["VirtualControllerBehaviorApi.getVirtualControllerBehavior"]) == null ? void 0 : c[a]) == null ? void 0 : i.url;
5941
- return (p, d) => I(n, m, O, e)(p, l || d);
5941
+ return (p, d) => v(n, m, O, e)(p, l || d);
5942
5942
  },
5943
5943
  async setVirtualControllerBehavior(r, s, o, n) {
5944
5944
  var i, p;
5945
5945
  const a = await t.setVirtualControllerBehavior(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["VirtualControllerBehaviorApi.setVirtualControllerBehavior"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
5946
- return (d, u) => I(a, m, O, e)(d, c || u);
5946
+ return (d, u) => v(a, m, O, e)(d, c || u);
5947
5947
  }
5948
5948
  };
5949
5949
  };
@@ -6027,8 +6027,8 @@ const Xt = function(e) {
6027
6027
  method: "GET",
6028
6028
  ...p,
6029
6029
  ...l
6030
- }, u = {}, v = {};
6031
- S(d, e), await b(u, e), s && (v.ios = s), o !== void 0 && (v.direction = o), n !== void 0 && (v.value_type = n), a !== void 0 && (v.group = a), y(i, v);
6030
+ }, u = {}, I = {};
6031
+ S(d, e), await b(u, e), s && (I.ios = s), o !== void 0 && (I.direction = o), n !== void 0 && (I.value_type = n), a !== void 0 && (I.group = a), y(i, I);
6032
6032
  let E = p && p.headers ? p.headers : {};
6033
6033
  return d.headers = {
6034
6034
  ...u,
@@ -6067,17 +6067,17 @@ const Xt = function(e) {
6067
6067
  async listIOs(r, s, o, n) {
6068
6068
  var i, p;
6069
6069
  const a = await t.listIOs(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["VirtualControllerInputsOutputsApi.listIOs"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
6070
- return (d, u) => I(a, m, O, e)(d, c || u);
6070
+ return (d, u) => v(a, m, O, e)(d, c || u);
6071
6071
  },
6072
6072
  async listVirtualControllerIODescriptions(r, s, o, n, a, l, c) {
6073
- var u, v;
6074
- const i = await t.listVirtualControllerIODescriptions(r, s, o, n, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (v = (u = V["VirtualControllerInputsOutputsApi.listVirtualControllerIODescriptions"]) == null ? void 0 : u[p]) == null ? void 0 : v.url;
6075
- return (E, W) => I(i, m, O, e)(E, d || W);
6073
+ var u, I;
6074
+ const i = await t.listVirtualControllerIODescriptions(r, s, o, n, a, l, c), p = (e == null ? void 0 : e.serverIndex) ?? 0, d = (I = (u = V["VirtualControllerInputsOutputsApi.listVirtualControllerIODescriptions"]) == null ? void 0 : u[p]) == null ? void 0 : I.url;
6075
+ return (E, W) => v(i, m, O, e)(E, d || W);
6076
6076
  },
6077
6077
  async setIOValues(r, s, o, n) {
6078
6078
  var i, p;
6079
6079
  const a = await t.setIOValues(r, s, o, n), l = (e == null ? void 0 : e.serverIndex) ?? 0, c = (p = (i = V["VirtualControllerInputsOutputsApi.setIOValues"]) == null ? void 0 : i[l]) == null ? void 0 : p.url;
6080
- return (d, u) => I(a, m, O, e)(d, c || u);
6080
+ return (d, u) => v(a, m, O, e)(d, c || u);
6081
6081
  }
6082
6082
  };
6083
6083
  };
@@ -6123,7 +6123,7 @@ var Zt = class extends L {
6123
6123
  }
6124
6124
  }, ft = class {
6125
6125
  constructor(e, t) {
6126
- this.cellId = e, this.opts = t, this.system = this.withUnwrappedResponsesOnly(qt), this.cell = this.withUnwrappedResponsesOnly(St), this.motionGroup = this.withCellId(Tt), this.motionGroupModels = this.withUnwrappedResponsesOnly(jt), this.controller = this.withCellId(yt), this.controllerIOs = this.withCellId(It), this.trajectoryPlanning = this.withCellId(Jt), this.trajectoryExecution = this.withCellId(Kt), this.trajectoryCaching = this.withCellId(Qt), this.application = this.withCellId(ve), this.applicationGlobal = this.withUnwrappedResponsesOnly(ve), this.jogging = this.withCellId(wt), this.kinematics = this.withCellId(Rt), this.busInputsOutputs = this.withCellId(Vt), this.virtualController = this.withCellId(Wt), this.virtualControllerBehavior = this.withCellId(zt), this.virtualControllerIOs = this.withCellId(Zt), this.storeObject = this.withCellId(Gt), this.storeCollisionComponents = this.withCellId(Bt), this.storeCollisionSetups = this.withCellId(Lt);
6126
+ this.cellId = e, this.opts = t, this.system = this.withUnwrappedResponsesOnly(qt), this.cell = this.withUnwrappedResponsesOnly(St), this.motionGroup = this.withCellId(Tt), this.motionGroupModels = this.withUnwrappedResponsesOnly(jt), this.controller = this.withCellId(yt), this.controllerIOs = this.withCellId(vt), this.trajectoryPlanning = this.withCellId(Jt), this.trajectoryExecution = this.withCellId(Kt), this.trajectoryCaching = this.withCellId(Qt), this.application = this.withCellId(Ie), this.applicationGlobal = this.withUnwrappedResponsesOnly(Ie), this.jogging = this.withCellId(wt), this.kinematics = this.withCellId(Rt), this.busInputsOutputs = this.withCellId(Vt), this.virtualController = this.withCellId(Wt), this.virtualControllerBehavior = this.withCellId(zt), this.virtualControllerIOs = this.withCellId(Zt), this.storeObject = this.withCellId(Gt), this.storeCollisionComponents = this.withCellId(Bt), this.storeCollisionSetups = this.withCellId(Lt);
6127
6127
  }
6128
6128
  /**
6129
6129
  * Some TypeScript sorcery which alters the API class methods so you don't
@@ -6155,465 +6155,522 @@ var Zt = class extends L {
6155
6155
  }
6156
6156
  return t;
6157
6157
  }
6158
- }, er = class {
6159
- constructor() {
6160
- this.connections = [];
6158
+ };
6159
+ const er = {
6160
+ method: "GET",
6161
+ path: "/cells/:cellId/controllers/:controllerId/state",
6162
+ handle() {
6163
+ return {
6164
+ mode: "MODE_CONTROL",
6165
+ last_error: [],
6166
+ timestamp: "2025-10-16T09:19:26.634534092Z",
6167
+ sequence_number: 1054764,
6168
+ controller: "mock-ur5e",
6169
+ operation_mode: "OPERATION_MODE_AUTO",
6170
+ safety_state: "SAFETY_STATE_NORMAL",
6171
+ velocity_override: 100,
6172
+ motion_groups: [{
6173
+ timestamp: "2025-10-16T09:19:26.634534092Z",
6174
+ sequence_number: 1054764,
6175
+ motion_group: "0@mock-ur5e",
6176
+ controller: "mock-ur5e",
6177
+ joint_position: [
6178
+ 1.487959623336792,
6179
+ -1.8501918315887451,
6180
+ 1.8003005981445312,
6181
+ 6.034560203552246,
6182
+ 1.4921919107437134,
6183
+ 1.593459963798523
6184
+ ],
6185
+ joint_limit_reached: { limit_reached: [
6186
+ !1,
6187
+ !1,
6188
+ !1,
6189
+ !1,
6190
+ !1,
6191
+ !1
6192
+ ] },
6193
+ joint_torque: [],
6194
+ joint_current: [
6195
+ 0,
6196
+ 0,
6197
+ 0,
6198
+ 0,
6199
+ 0,
6200
+ 0
6201
+ ],
6202
+ flange_pose: {
6203
+ position: [
6204
+ 107.6452433732927,
6205
+ -409.0402987746852,
6206
+ 524.2402132330305
6207
+ ],
6208
+ orientation: [
6209
+ 0.9874434028353319,
6210
+ -0.986571714997442,
6211
+ 1.3336589451098142
6212
+ ]
6213
+ },
6214
+ tcp: "Flange",
6215
+ tcp_pose: {
6216
+ position: [
6217
+ 107.6452433732927,
6218
+ -409.0402987746852,
6219
+ 524.2402132330305
6220
+ ],
6221
+ orientation: [
6222
+ 0.9874434028353319,
6223
+ -0.986571714997442,
6224
+ 1.3336589451098142
6225
+ ]
6226
+ },
6227
+ payload: "",
6228
+ coordinate_system: "",
6229
+ standstill: !0
6230
+ }]
6231
+ };
6161
6232
  }
6162
- async handleAPIRequest(e) {
6163
- var o, n, a;
6164
- const t = [
6165
- {
6166
- method: "GET",
6167
- path: "/cells/:cellId/controllers",
6168
- handle() {
6169
- return ["mock-ur5e"];
6170
- }
6233
+ }, tr = {
6234
+ method: "GET",
6235
+ path: "/cells/:cellId/controllers/:controllerId/motion-groups/:motionGroupId/description",
6236
+ handle() {
6237
+ return {
6238
+ motion_group_model: "UniversalRobots_UR5e",
6239
+ mounting: {
6240
+ position: [
6241
+ 0,
6242
+ 0,
6243
+ 0
6244
+ ],
6245
+ orientation: [
6246
+ 0,
6247
+ 0,
6248
+ 0
6249
+ ]
6171
6250
  },
6172
- {
6173
- method: "GET",
6174
- path: "/cells/:cellId/controllers/:controllerId",
6175
- handle() {
6176
- return {
6177
- configuration: {
6178
- initial_joint_position: "[0,-1.571,-1.571,-1.571,1.571,-1.571,0]",
6179
- kind: "VirtualController",
6180
- manufacturer: "universalrobots",
6181
- type: "universalrobots-ur5e"
6182
- },
6183
- name: "mock-ur5"
6184
- };
6251
+ tcps: { Flange: {
6252
+ name: "Default-Flange",
6253
+ pose: {
6254
+ position: [
6255
+ 0,
6256
+ 0,
6257
+ 0
6258
+ ],
6259
+ orientation: [
6260
+ 0,
6261
+ 0,
6262
+ 0
6263
+ ]
6185
6264
  }
6186
- },
6187
- {
6188
- method: "GET",
6189
- path: "/cells/:cellId/controllers/:controllerId/state",
6190
- handle() {
6191
- return {
6192
- mode: "MODE_CONTROL",
6193
- last_error: [],
6194
- timestamp: "2025-10-16T09:19:26.634534092Z",
6195
- sequence_number: 1054764,
6196
- controller: "mock-ur5e",
6197
- operation_mode: "OPERATION_MODE_AUTO",
6198
- safety_state: "SAFETY_STATE_NORMAL",
6199
- velocity_override: 100,
6200
- motion_groups: [{
6201
- timestamp: "2025-10-16T09:19:26.634534092Z",
6202
- sequence_number: 1054764,
6203
- motion_group: "0@mock-ur5e",
6204
- controller: "mock-ur5e",
6205
- joint_position: [
6206
- 1.487959623336792,
6207
- -1.8501918315887451,
6208
- 1.8003005981445312,
6209
- 6.034560203552246,
6210
- 1.4921919107437134,
6211
- 1.593459963798523
6212
- ],
6213
- joint_limit_reached: { limit_reached: [
6214
- !1,
6215
- !1,
6216
- !1,
6217
- !1,
6218
- !1,
6219
- !1
6220
- ] },
6221
- joint_torque: [],
6222
- joint_current: [
6223
- 0,
6224
- 0,
6225
- 0,
6226
- 0,
6227
- 0,
6228
- 0
6229
- ],
6230
- flange_pose: {
6231
- position: [
6232
- 107.6452433732927,
6233
- -409.0402987746852,
6234
- 524.2402132330305
6235
- ],
6236
- orientation: [
6237
- 0.9874434028353319,
6238
- -0.986571714997442,
6239
- 1.3336589451098142
6240
- ]
6265
+ } },
6266
+ payloads: { "FPay-0": {
6267
+ name: "FPay-0",
6268
+ payload: 0,
6269
+ center_of_mass: [
6270
+ 0,
6271
+ 0,
6272
+ 0
6273
+ ],
6274
+ moment_of_inertia: [
6275
+ 0,
6276
+ 0,
6277
+ 0
6278
+ ]
6279
+ } },
6280
+ cycle_time: 8,
6281
+ dh_parameters: [
6282
+ {
6283
+ alpha: 1.5707963267948966,
6284
+ d: 162.25
6285
+ },
6286
+ { a: -425 },
6287
+ { a: -392.2 },
6288
+ {
6289
+ alpha: 1.5707963267948966,
6290
+ d: 133.3
6291
+ },
6292
+ {
6293
+ alpha: -1.5707963267948966,
6294
+ d: 99.7
6295
+ },
6296
+ { d: 99.6 }
6297
+ ],
6298
+ operation_limits: {
6299
+ auto_limits: {
6300
+ joints: [
6301
+ {
6302
+ position: {
6303
+ lower_limit: -6.283185307179586,
6304
+ upper_limit: 6.283185307179586
6241
6305
  },
6242
- tcp: "Flange",
6243
- tcp_pose: {
6244
- position: [
6245
- 107.6452433732927,
6246
- -409.0402987746852,
6247
- 524.2402132330305
6248
- ],
6249
- orientation: [
6250
- 0.9874434028353319,
6251
- -0.986571714997442,
6252
- 1.3336589451098142
6253
- ]
6306
+ velocity: 3.34159255027771,
6307
+ acceleration: 40,
6308
+ torque: 150
6309
+ },
6310
+ {
6311
+ position: {
6312
+ lower_limit: -6.283185307179586,
6313
+ upper_limit: 6.283185307179586
6254
6314
  },
6255
- payload: "",
6256
- coordinate_system: "",
6257
- standstill: !0
6258
- }]
6259
- };
6260
- }
6261
- },
6262
- {
6263
- method: "GET",
6264
- path: "/cells/:cellId/controllers/:controllerId/motion-groups/:motionGroupId/description",
6265
- handle() {
6266
- return {
6267
- motion_group_model: "UniversalRobots_UR5e",
6268
- mounting: {
6269
- position: [
6270
- 0,
6271
- 0,
6272
- 0
6273
- ],
6274
- orientation: [
6275
- 0,
6276
- 0,
6277
- 0
6278
- ]
6315
+ velocity: 3.34159255027771,
6316
+ acceleration: 40,
6317
+ torque: 150
6279
6318
  },
6280
- tcps: { Flange: {
6281
- name: "Default-Flange",
6282
- pose: {
6283
- position: [
6284
- 0,
6285
- 0,
6286
- 0
6287
- ],
6288
- orientation: [
6289
- 0,
6290
- 0,
6291
- 0
6292
- ]
6293
- }
6294
- } },
6295
- payloads: { "FPay-0": {
6296
- name: "FPay-0",
6297
- payload: 0,
6298
- center_of_mass: [
6299
- 0,
6300
- 0,
6301
- 0
6302
- ],
6303
- moment_of_inertia: [
6304
- 0,
6305
- 0,
6306
- 0
6307
- ]
6308
- } },
6309
- cycle_time: 8,
6310
- dh_parameters: [
6311
- {
6312
- alpha: 1.5707963267948966,
6313
- d: 162.25
6319
+ {
6320
+ position: {
6321
+ lower_limit: -6.283185307179586,
6322
+ upper_limit: 6.283185307179586
6314
6323
  },
6315
- { a: -425 },
6316
- { a: -392.2 },
6317
- {
6318
- alpha: 1.5707963267948966,
6319
- d: 133.3
6324
+ velocity: 3.34159255027771,
6325
+ acceleration: 40,
6326
+ torque: 150
6327
+ },
6328
+ {
6329
+ position: {
6330
+ lower_limit: -6.283185307179586,
6331
+ upper_limit: 6.283185307179586
6320
6332
  },
6321
- {
6322
- alpha: -1.5707963267948966,
6323
- d: 99.7
6333
+ velocity: 3.34159255027771,
6334
+ acceleration: 40,
6335
+ torque: 28
6336
+ },
6337
+ {
6338
+ position: {
6339
+ lower_limit: -6.283185307179586,
6340
+ upper_limit: 6.283185307179586
6324
6341
  },
6325
- { d: 99.6 }
6326
- ],
6327
- operation_limits: {
6328
- auto_limits: {
6329
- joints: [
6330
- {
6331
- position: {
6332
- lower_limit: -6.283185307179586,
6333
- upper_limit: 6.283185307179586
6334
- },
6335
- velocity: 3.34159255027771,
6336
- acceleration: 40,
6337
- torque: 150
6338
- },
6339
- {
6340
- position: {
6341
- lower_limit: -6.283185307179586,
6342
- upper_limit: 6.283185307179586
6343
- },
6344
- velocity: 3.34159255027771,
6345
- acceleration: 40,
6346
- torque: 150
6347
- },
6348
- {
6349
- position: {
6350
- lower_limit: -6.283185307179586,
6351
- upper_limit: 6.283185307179586
6352
- },
6353
- velocity: 3.34159255027771,
6354
- acceleration: 40,
6355
- torque: 150
6356
- },
6357
- {
6358
- position: {
6359
- lower_limit: -6.283185307179586,
6360
- upper_limit: 6.283185307179586
6361
- },
6362
- velocity: 3.34159255027771,
6363
- acceleration: 40,
6364
- torque: 28
6365
- },
6366
- {
6367
- position: {
6368
- lower_limit: -6.283185307179586,
6369
- upper_limit: 6.283185307179586
6370
- },
6371
- velocity: 3.34159255027771,
6372
- acceleration: 40,
6373
- torque: 28
6374
- },
6375
- {
6376
- position: {
6377
- lower_limit: -6.283185307179586,
6378
- upper_limit: 6.283185307179586
6379
- },
6380
- velocity: 3.34159255027771,
6381
- acceleration: 40,
6382
- torque: 28
6383
- }
6384
- ],
6385
- tcp: { velocity: 5e3 },
6386
- elbow: { velocity: 5e3 },
6387
- flange: { velocity: 5e3 }
6342
+ velocity: 3.34159255027771,
6343
+ acceleration: 40,
6344
+ torque: 28
6345
+ },
6346
+ {
6347
+ position: {
6348
+ lower_limit: -6.283185307179586,
6349
+ upper_limit: 6.283185307179586
6388
6350
  },
6389
- manual_limits: {
6390
- joints: [
6391
- {
6392
- position: {
6393
- lower_limit: -6.283185307179586,
6394
- upper_limit: 6.283185307179586
6395
- },
6396
- velocity: 3.34159255027771,
6397
- acceleration: 40,
6398
- torque: 150
6399
- },
6400
- {
6401
- position: {
6402
- lower_limit: -6.283185307179586,
6403
- upper_limit: 6.283185307179586
6404
- },
6405
- velocity: 3.34159255027771,
6406
- acceleration: 40,
6407
- torque: 150
6408
- },
6409
- {
6410
- position: {
6411
- lower_limit: -6.283185307179586,
6412
- upper_limit: 6.283185307179586
6413
- },
6414
- velocity: 3.34159255027771,
6415
- acceleration: 40,
6416
- torque: 150
6417
- },
6418
- {
6419
- position: {
6420
- lower_limit: -6.283185307179586,
6421
- upper_limit: 6.283185307179586
6422
- },
6423
- velocity: 3.34159255027771,
6424
- acceleration: 40,
6425
- torque: 28
6426
- },
6427
- {
6428
- position: {
6429
- lower_limit: -6.283185307179586,
6430
- upper_limit: 6.283185307179586
6431
- },
6432
- velocity: 3.34159255027771,
6433
- acceleration: 40,
6434
- torque: 28
6435
- },
6436
- {
6437
- position: {
6438
- lower_limit: -6.283185307179586,
6439
- upper_limit: 6.283185307179586
6440
- },
6441
- velocity: 3.34159255027771,
6442
- acceleration: 40,
6443
- torque: 28
6444
- }
6445
- ],
6446
- tcp: { velocity: 5e3 }
6351
+ velocity: 3.34159255027771,
6352
+ acceleration: 40,
6353
+ torque: 28
6354
+ }
6355
+ ],
6356
+ tcp: { velocity: 5e3 },
6357
+ elbow: { velocity: 5e3 },
6358
+ flange: { velocity: 5e3 }
6359
+ },
6360
+ manual_limits: {
6361
+ joints: [
6362
+ {
6363
+ position: {
6364
+ lower_limit: -6.283185307179586,
6365
+ upper_limit: 6.283185307179586
6447
6366
  },
6448
- manual_t1_limits: {
6449
- joints: [
6450
- {
6451
- position: {
6452
- lower_limit: -6.283185307179586,
6453
- upper_limit: 6.283185307179586
6454
- },
6455
- velocity: 3.34159255027771,
6456
- acceleration: 40,
6457
- torque: 150
6458
- },
6459
- {
6460
- position: {
6461
- lower_limit: -6.283185307179586,
6462
- upper_limit: 6.283185307179586
6463
- },
6464
- velocity: 3.34159255027771,
6465
- acceleration: 40,
6466
- torque: 150
6467
- },
6468
- {
6469
- position: {
6470
- lower_limit: -6.283185307179586,
6471
- upper_limit: 6.283185307179586
6472
- },
6473
- velocity: 3.34159255027771,
6474
- acceleration: 40,
6475
- torque: 150
6476
- },
6477
- {
6478
- position: {
6479
- lower_limit: -6.283185307179586,
6480
- upper_limit: 6.283185307179586
6481
- },
6482
- velocity: 3.34159255027771,
6483
- acceleration: 40,
6484
- torque: 28
6485
- },
6486
- {
6487
- position: {
6488
- lower_limit: -6.283185307179586,
6489
- upper_limit: 6.283185307179586
6490
- },
6491
- velocity: 3.34159255027771,
6492
- acceleration: 40,
6493
- torque: 28
6494
- },
6495
- {
6496
- position: {
6497
- lower_limit: -6.283185307179586,
6498
- upper_limit: 6.283185307179586
6499
- },
6500
- velocity: 3.34159255027771,
6501
- acceleration: 40,
6502
- torque: 28
6503
- }
6504
- ],
6505
- tcp: { velocity: 5e3 }
6367
+ velocity: 3.34159255027771,
6368
+ acceleration: 40,
6369
+ torque: 150
6370
+ },
6371
+ {
6372
+ position: {
6373
+ lower_limit: -6.283185307179586,
6374
+ upper_limit: 6.283185307179586
6506
6375
  },
6507
- manual_t2_limits: {
6508
- joints: [
6509
- {
6510
- position: {
6511
- lower_limit: -6.283185307179586,
6512
- upper_limit: 6.283185307179586
6513
- },
6514
- velocity: 3.34159255027771,
6515
- acceleration: 40,
6516
- torque: 150
6517
- },
6518
- {
6519
- position: {
6520
- lower_limit: -6.283185307179586,
6521
- upper_limit: 6.283185307179586
6522
- },
6523
- velocity: 3.34159255027771,
6524
- acceleration: 40,
6525
- torque: 150
6526
- },
6527
- {
6528
- position: {
6529
- lower_limit: -6.283185307179586,
6530
- upper_limit: 6.283185307179586
6531
- },
6532
- velocity: 3.34159255027771,
6533
- acceleration: 40,
6534
- torque: 150
6535
- },
6536
- {
6537
- position: {
6538
- lower_limit: -6.283185307179586,
6539
- upper_limit: 6.283185307179586
6540
- },
6541
- velocity: 3.34159255027771,
6542
- acceleration: 40,
6543
- torque: 28
6544
- },
6545
- {
6546
- position: {
6547
- lower_limit: -6.283185307179586,
6548
- upper_limit: 6.283185307179586
6549
- },
6550
- velocity: 3.34159255027771,
6551
- acceleration: 40,
6552
- torque: 28
6553
- },
6554
- {
6555
- position: {
6556
- lower_limit: -6.283185307179586,
6557
- upper_limit: 6.283185307179586
6558
- },
6559
- velocity: 3.34159255027771,
6560
- acceleration: 40,
6561
- torque: 28
6562
- }
6563
- ],
6564
- tcp: { velocity: 5e3 }
6565
- }
6376
+ velocity: 3.34159255027771,
6377
+ acceleration: 40,
6378
+ torque: 150
6566
6379
  },
6567
- serial_number: "WBVirtualRobot"
6568
- };
6380
+ {
6381
+ position: {
6382
+ lower_limit: -6.283185307179586,
6383
+ upper_limit: 6.283185307179586
6384
+ },
6385
+ velocity: 3.34159255027771,
6386
+ acceleration: 40,
6387
+ torque: 150
6388
+ },
6389
+ {
6390
+ position: {
6391
+ lower_limit: -6.283185307179586,
6392
+ upper_limit: 6.283185307179586
6393
+ },
6394
+ velocity: 3.34159255027771,
6395
+ acceleration: 40,
6396
+ torque: 28
6397
+ },
6398
+ {
6399
+ position: {
6400
+ lower_limit: -6.283185307179586,
6401
+ upper_limit: 6.283185307179586
6402
+ },
6403
+ velocity: 3.34159255027771,
6404
+ acceleration: 40,
6405
+ torque: 28
6406
+ },
6407
+ {
6408
+ position: {
6409
+ lower_limit: -6.283185307179586,
6410
+ upper_limit: 6.283185307179586
6411
+ },
6412
+ velocity: 3.34159255027771,
6413
+ acceleration: 40,
6414
+ torque: 28
6415
+ }
6416
+ ],
6417
+ tcp: { velocity: 5e3 }
6418
+ },
6419
+ manual_t1_limits: {
6420
+ joints: [
6421
+ {
6422
+ position: {
6423
+ lower_limit: -6.283185307179586,
6424
+ upper_limit: 6.283185307179586
6425
+ },
6426
+ velocity: 3.34159255027771,
6427
+ acceleration: 40,
6428
+ torque: 150
6429
+ },
6430
+ {
6431
+ position: {
6432
+ lower_limit: -6.283185307179586,
6433
+ upper_limit: 6.283185307179586
6434
+ },
6435
+ velocity: 3.34159255027771,
6436
+ acceleration: 40,
6437
+ torque: 150
6438
+ },
6439
+ {
6440
+ position: {
6441
+ lower_limit: -6.283185307179586,
6442
+ upper_limit: 6.283185307179586
6443
+ },
6444
+ velocity: 3.34159255027771,
6445
+ acceleration: 40,
6446
+ torque: 150
6447
+ },
6448
+ {
6449
+ position: {
6450
+ lower_limit: -6.283185307179586,
6451
+ upper_limit: 6.283185307179586
6452
+ },
6453
+ velocity: 3.34159255027771,
6454
+ acceleration: 40,
6455
+ torque: 28
6456
+ },
6457
+ {
6458
+ position: {
6459
+ lower_limit: -6.283185307179586,
6460
+ upper_limit: 6.283185307179586
6461
+ },
6462
+ velocity: 3.34159255027771,
6463
+ acceleration: 40,
6464
+ torque: 28
6465
+ },
6466
+ {
6467
+ position: {
6468
+ lower_limit: -6.283185307179586,
6469
+ upper_limit: 6.283185307179586
6470
+ },
6471
+ velocity: 3.34159255027771,
6472
+ acceleration: 40,
6473
+ torque: 28
6474
+ }
6475
+ ],
6476
+ tcp: { velocity: 5e3 }
6477
+ },
6478
+ manual_t2_limits: {
6479
+ joints: [
6480
+ {
6481
+ position: {
6482
+ lower_limit: -6.283185307179586,
6483
+ upper_limit: 6.283185307179586
6484
+ },
6485
+ velocity: 3.34159255027771,
6486
+ acceleration: 40,
6487
+ torque: 150
6488
+ },
6489
+ {
6490
+ position: {
6491
+ lower_limit: -6.283185307179586,
6492
+ upper_limit: 6.283185307179586
6493
+ },
6494
+ velocity: 3.34159255027771,
6495
+ acceleration: 40,
6496
+ torque: 150
6497
+ },
6498
+ {
6499
+ position: {
6500
+ lower_limit: -6.283185307179586,
6501
+ upper_limit: 6.283185307179586
6502
+ },
6503
+ velocity: 3.34159255027771,
6504
+ acceleration: 40,
6505
+ torque: 150
6506
+ },
6507
+ {
6508
+ position: {
6509
+ lower_limit: -6.283185307179586,
6510
+ upper_limit: 6.283185307179586
6511
+ },
6512
+ velocity: 3.34159255027771,
6513
+ acceleration: 40,
6514
+ torque: 28
6515
+ },
6516
+ {
6517
+ position: {
6518
+ lower_limit: -6.283185307179586,
6519
+ upper_limit: 6.283185307179586
6520
+ },
6521
+ velocity: 3.34159255027771,
6522
+ acceleration: 40,
6523
+ torque: 28
6524
+ },
6525
+ {
6526
+ position: {
6527
+ lower_limit: -6.283185307179586,
6528
+ upper_limit: 6.283185307179586
6529
+ },
6530
+ velocity: 3.34159255027771,
6531
+ acceleration: 40,
6532
+ torque: 28
6533
+ }
6534
+ ],
6535
+ tcp: { velocity: 5e3 }
6569
6536
  }
6570
6537
  },
6571
- {
6572
- method: "GET",
6573
- path: "/cells/:cellId/controllers/:controllerId/coordinate-systems",
6574
- handle() {
6575
- return [{
6576
- coordinate_system: "",
6577
- name: "world",
6578
- reference_coordinate_system: "",
6579
- position: [
6580
- 0,
6581
- 0,
6582
- 0
6583
- ],
6584
- orientation: [
6585
- 0,
6586
- 0,
6587
- 0
6588
- ],
6589
- orientation_type: "ROTATION_VECTOR"
6590
- }, {
6591
- coordinate_system: "CS-0",
6592
- name: "Default-CS",
6593
- reference_coordinate_system: "",
6594
- position: [
6595
- 0,
6596
- 0,
6597
- 0
6598
- ],
6599
- orientation: [
6600
- 0,
6601
- 0,
6602
- 0
6603
- ],
6604
- orientation_type: "ROTATION_VECTOR"
6605
- }];
6538
+ serial_number: "WBVirtualRobot"
6539
+ };
6540
+ }
6541
+ }, rr = {
6542
+ method: "GET",
6543
+ path: "/motion-group-models/:motionGroupModel/kinematic",
6544
+ handle() {
6545
+ return {
6546
+ dh_parameters: [
6547
+ {
6548
+ alpha: 1.5707963267948966,
6549
+ theta: 0,
6550
+ a: 0,
6551
+ d: 162.25,
6552
+ reverse_rotation_direction: !1
6553
+ },
6554
+ {
6555
+ alpha: 0,
6556
+ theta: 0,
6557
+ a: -425,
6558
+ d: 0,
6559
+ reverse_rotation_direction: !1
6560
+ },
6561
+ {
6562
+ alpha: 0,
6563
+ theta: 0,
6564
+ a: -392.2,
6565
+ d: 0,
6566
+ reverse_rotation_direction: !1
6567
+ },
6568
+ {
6569
+ alpha: 1.5707963267948966,
6570
+ theta: 0,
6571
+ a: 0,
6572
+ d: 133.3,
6573
+ reverse_rotation_direction: !1
6574
+ },
6575
+ {
6576
+ alpha: -1.5707963267948966,
6577
+ theta: 0,
6578
+ a: 0,
6579
+ d: 99.7,
6580
+ reverse_rotation_direction: !1
6581
+ },
6582
+ {
6583
+ alpha: 0,
6584
+ theta: 0,
6585
+ a: 0,
6586
+ d: 99.6,
6587
+ reverse_rotation_direction: !1
6606
6588
  }
6607
- }
6608
- ], r = ((o = e.method) == null ? void 0 : o.toUpperCase()) || "GET", s = `/cells${(a = (n = e.url) == null ? void 0 : n.split("/cells")[1]) == null ? void 0 : a.split("?")[0]}`;
6609
- for (const l of t) {
6610
- const c = it.match(l.path)(s || "");
6611
- if (r === l.method && c) {
6612
- const i = l.handle();
6589
+ ],
6590
+ inverse_solver: "Universalrobots"
6591
+ };
6592
+ }
6593
+ }, sr = {
6594
+ method: "GET",
6595
+ path: "/cells/:cellId/controllers/:controllerId",
6596
+ handle() {
6597
+ return {
6598
+ configuration: {
6599
+ initial_joint_position: "[0,-1.571,-1.571,-1.571,1.571,-1.571,0]",
6600
+ kind: "VirtualController",
6601
+ manufacturer: "universalrobots",
6602
+ type: "universalrobots-ur5e"
6603
+ },
6604
+ name: "mock-ur5"
6605
+ };
6606
+ }
6607
+ }, ar = {
6608
+ method: "GET",
6609
+ path: "/cells/:cellId/controllers/:controllerId/coordinate-systems",
6610
+ handle() {
6611
+ return [{
6612
+ coordinate_system: "",
6613
+ name: "world",
6614
+ reference_coordinate_system: "",
6615
+ position: [
6616
+ 0,
6617
+ 0,
6618
+ 0
6619
+ ],
6620
+ orientation: [
6621
+ 0,
6622
+ 0,
6623
+ 0
6624
+ ],
6625
+ orientation_type: "ROTATION_VECTOR"
6626
+ }, {
6627
+ coordinate_system: "CS-0",
6628
+ name: "Default-CS",
6629
+ reference_coordinate_system: "",
6630
+ position: [
6631
+ 0,
6632
+ 0,
6633
+ 0
6634
+ ],
6635
+ orientation: [
6636
+ 0,
6637
+ 0,
6638
+ 0
6639
+ ],
6640
+ orientation_type: "ROTATION_VECTOR"
6641
+ }];
6642
+ }
6643
+ }, lr = {
6644
+ method: "GET",
6645
+ path: "/cells/:cellId/controllers",
6646
+ handle() {
6647
+ return ["mock-ur5e"];
6648
+ }
6649
+ };
6650
+ var or = class {
6651
+ constructor() {
6652
+ this.connections = [];
6653
+ }
6654
+ async handleAPIRequest(e) {
6655
+ var o;
6656
+ const t = [
6657
+ lr,
6658
+ sr,
6659
+ tr,
6660
+ er,
6661
+ ar,
6662
+ rr
6663
+ ], r = ((o = e.method) == null ? void 0 : o.toUpperCase()) || "GET";
6664
+ if (!e.url) throw new Error("No url sent with request");
6665
+ const s = e.url;
6666
+ for (const n of t) {
6667
+ const a = it.match(n.path)(s);
6668
+ if (r === n.method && a) {
6669
+ const l = n.handle();
6613
6670
  return {
6614
6671
  status: 200,
6615
6672
  statusText: "Success",
6616
- data: JSON.stringify(i),
6673
+ data: JSON.stringify(l),
6617
6674
  headers: {},
6618
6675
  config: e,
6619
6676
  request: { responseURL: e.url }
@@ -6624,7 +6681,7 @@ var Zt = class extends L {
6624
6681
  }
6625
6682
  handleWebsocketConnection(e) {
6626
6683
  this.connections.push(e), setTimeout(() => {
6627
- e.dispatchEvent(new Event("open")), console.log("Websocket connection opened from", e.url), e.url.includes("/state-stream") && e.dispatchEvent(new MessageEvent("message", { data: JSON.stringify(tr) })), e.url.includes("/execution/jogging") && e.dispatchEvent(new MessageEvent("message", { data: JSON.stringify({ result: {
6684
+ e.dispatchEvent(new Event("open")), console.log("Websocket connection opened from", e.url), e.url.includes("/state-stream") && e.dispatchEvent(new MessageEvent("message", { data: JSON.stringify(nr) })), e.url.includes("/execution/jogging") && e.dispatchEvent(new MessageEvent("message", { data: JSON.stringify({ result: {
6628
6685
  message: "string",
6629
6686
  kind: "INITIALIZE_RECEIVED"
6630
6687
  } }) }));
@@ -6634,7 +6691,7 @@ var Zt = class extends L {
6634
6691
  console.log(`Received message on ${e.url}`, t);
6635
6692
  }
6636
6693
  };
6637
- const tr = { result: {
6694
+ const nr = { result: {
6638
6695
  motion_group: "0@universalrobots-ur5e",
6639
6696
  controller: "universalrobots-ur5e",
6640
6697
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
@@ -6681,14 +6738,14 @@ const tr = { result: {
6681
6738
  ]
6682
6739
  }
6683
6740
  } };
6684
- var mr = class {
6741
+ var yr = class {
6685
6742
  constructor(e) {
6686
6743
  this.authPromise = null, this.accessToken = null;
6687
6744
  const t = e.cellId ?? "cell";
6688
6745
  this.config = {
6689
6746
  cellId: t,
6690
6747
  ...e
6691
- }, this.accessToken = e.accessToken || oe.getString("wbjs.access_token") || null, this.config.instanceUrl === "https://mock.example.com" && (this.mock = new er()), this.instanceUrl = at(this.config.instanceUrl);
6748
+ }, this.accessToken = e.accessToken || oe.getString("wbjs.access_token") || null, this.config.instanceUrl === "https://mock.example.com" && (this.mock = new or()), this.instanceUrl = at(this.config.instanceUrl);
6692
6749
  const r = m.create({
6693
6750
  baseURL: de(this.instanceUrl.href, "/api/v2"),
6694
6751
  headers: typeof window < "u" && window.location.origin.includes("localhost") ? {} : { "X-Wandelbots-Client": "Wandelbots-Nova-JS-SDK" }
@@ -6742,7 +6799,7 @@ var mr = class {
6742
6799
  return new tt(this.makeWebsocketURL(e), { mock: this.mock });
6743
6800
  }
6744
6801
  };
6745
- function Or(e) {
6802
+ function Pr(e) {
6746
6803
  var n, a, l, c, i, p;
6747
6804
  const t = [
6748
6805
  ((n = e.position) == null ? void 0 : n[0]) ?? 0,
@@ -6758,13 +6815,13 @@ function Or(e) {
6758
6815
  function Ce(e) {
6759
6816
  Je(e, []);
6760
6817
  }
6761
- function Vr(e) {
6818
+ function vr(e) {
6762
6819
  Ce(() => $e(e));
6763
6820
  }
6764
- function Cr(e, t, r) {
6821
+ function Ir(e, t, r) {
6765
6822
  Ce(() => Ke(e, t, r));
6766
6823
  }
6767
- function Sr(e) {
6824
+ function xr(e) {
6768
6825
  return Ce(() => {
6769
6826
  let t;
6770
6827
  function r() {
@@ -6775,7 +6832,7 @@ function Sr(e) {
6775
6832
  };
6776
6833
  });
6777
6834
  }
6778
- class rr {
6835
+ class cr {
6779
6836
  constructor(t = [], r = {}) {
6780
6837
  this.currentValues = [], this.targetValues = [], this.previousTargetValues = [], this.targetUpdateTime = 0, this.animationId = null, this.updateCount = 0, this.velocities = [], this.animate = () => {
6781
6838
  this.update(0.016666666666666666) ? this.animationId = null : this.animationId = requestAnimationFrame(this.animate);
@@ -6804,7 +6861,7 @@ class rr {
6804
6861
  this.updateCount++;
6805
6862
  const o = Math.min(t, 1 / 15), n = this.updateCount === 1 ? 0.7 : 1;
6806
6863
  for (let a = 0; a < this.currentValues.length; a++) {
6807
- const l = this.currentValues[a], c = this.targetValues[a], i = this.velocities[a], p = c - l, d = p * this.options.tension * n, u = i * this.options.friction, v = d - u, E = i + v * o, W = l + E * o;
6864
+ const l = this.currentValues[a], c = this.targetValues[a], i = this.velocities[a], p = c - l, d = p * this.options.tension * n, u = i * this.options.friction, I = d - u, E = i + I * o, W = l + E * o;
6808
6865
  Math.abs(p) < this.options.threshold && Math.abs(E) < this.options.threshold * 10 ? this.currentValues[a] !== c && (this.currentValues[a] = c, this.velocities[a] = 0, r = !0) : (s = !1, this.currentValues[a] = W, this.velocities[a] = E, r = !0);
6809
6866
  }
6810
6867
  return r && this.options.onChange(this.currentValues), s && this.options.onComplete(this.currentValues), s;
@@ -6897,9 +6954,9 @@ class rr {
6897
6954
  this.animationId === null && this.animate();
6898
6955
  }
6899
6956
  }
6900
- function br(e = [], t = {}) {
6957
+ function wr(e = [], t = {}) {
6901
6958
  const r = ie.useRef(null);
6902
- return r.current || (r.current = new rr(e, t)), ie.useEffect(() => {
6959
+ return r.current || (r.current = new cr(e, t)), ie.useEffect(() => {
6903
6960
  var s;
6904
6961
  (s = r.current) == null || s.updateOptions(t);
6905
6962
  }, [t]), ie.useEffect(() => () => {
@@ -6908,17 +6965,17 @@ function br(e = [], t = {}) {
6908
6965
  }, []), [r.current];
6909
6966
  }
6910
6967
  export {
6911
- ur as M,
6912
- mr as N,
6913
- dr as P,
6914
- rr as V,
6968
+ br as M,
6969
+ yr as N,
6970
+ Cr as P,
6971
+ cr as V,
6915
6972
  J as a,
6916
- hr as b,
6917
- Vr as c,
6918
- br as d,
6973
+ Sr as b,
6974
+ vr as c,
6975
+ wr as d,
6919
6976
  Ce as e,
6920
- Cr as f,
6921
- Or as p,
6922
- Sr as u
6977
+ Ir as f,
6978
+ Pr as p,
6979
+ xr as u
6923
6980
  };
6924
- //# sourceMappingURL=interpolation-baUmFLkh.js.map
6981
+ //# sourceMappingURL=interpolation-Cs2pC1zE.js.map