@spiffcommerce/core 34.1.0-beta.045b4f76-f7f9-5412-8815-ccbd8e5a09a4 → 34.1.0-beta.3582d45f-394f-5d84-990c-55ef010d8892

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.
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ import { parse as Sn } from "css";
8
8
  import Ri from "fuse.js";
9
9
  import { Pith as Ia } from "pith";
10
10
  import Et from "lodash.clonedeep";
11
- import jt from "lodash.isequal";
11
+ import Ht from "lodash.isequal";
12
12
  import { jsx as P, jsxs as ct, Fragment as Gt } from "preact/jsx-runtime";
13
13
  import { parse as la } from "opentype.js";
14
14
  import Oi from "handlebars";
@@ -24,7 +24,7 @@ import En from "lodash.debounce";
24
24
  import "fs";
25
25
  import "path";
26
26
  import Gi from "lodash.omit";
27
- var Ee = /* @__PURE__ */ ((n) => (n.Data = "Data", n.Font = "Font", n.Frame = "Frame", n.Illustration = "Illustration", n.Image = "Image", n.Model = "Model", n.Material = "Material", n.Color = "Color", n.QuestionnaireCollateral = "QuestionnaireCollateral", n.RequestCollateral = "RequestCollateral", n.SignupCollateral = "SignupCollateral", n.Video = "Video", n.ColorProfile = "ColorProfile", n.Environment = "Environment", n))(Ee || {}), bn = /* @__PURE__ */ ((n) => (n.AND = "AND", n.OR = "OR", n))(bn || {}), L = /* @__PURE__ */ ((n) => (n.FileUpload = "FileUpload", n.Option = "Option", n.ColorOption = "ColorOption", n.Text = "Text", n))(L || {}), b = /* @__PURE__ */ ((n) => (n.Information = "Information", n.Bulk = "Bulk", n.DigitalContent = "DigitalContent", n.Finish = "Finish", n.Frame = "Frame", n.Illustration = "Illustration", n.Introduction = "Introduction", n.Material = "Material", n.Model = "Model", n.Module = "Module", n.Picture = "Picture", n.Photo = "Photo", n.ProductOverlay = "ProductOverlay", n.Question = "Question", n.Shape = "Shape", n.SilentIllustration = "SilentIllustration", n.Text = "Text", n))(b || {}), Wi = /* @__PURE__ */ ((n) => (n.Color = "Color", n.Colors = "Colors", n.Selection = "Selection", n.Selections = "Selections", n.Text = "Text", n.Upload = "Upload", n))(Wi || {}), Jt = /* @__PURE__ */ ((n) => (n.ThreeD = "ThreeD", n.FreeDesign = "FreeDesign", n.Print = "Print", n))(Jt || {}), F = /* @__PURE__ */ ((n) => (n.Frame = "frame", n.Group = "group", n.Image = "image", n.Pattern = "pattern", n.Illustration = "illustration", n.Textbox = "textbox", n))(F || {}), qi = /* @__PURE__ */ ((n) => (n.Default = "Default", n.FirstTransaction = "FirstTransaction", n.OneToOne = "OneToOne", n))(qi || {}), In = /* @__PURE__ */ ((n) => (n.Pending = "Pending", n.Failed = "Failed", n.Validated = "Validated", n.Overridden = "Overridden", n))(In || {}), Hi = /* @__PURE__ */ ((n) => (n.Hyperlink = "Hyperlink", n.Edit = "Edit", n.Approve = "Approve", n))(Hi || {}), ji = /* @__PURE__ */ ((n) => (n.Hub = "Hub", n.Shopify = "Shopify", n))(ji || {}), Ba = /* @__PURE__ */ ((n) => (n.BackgroundRemover = "BackgroundRemover", n.ConversionAccelerator = "Conversion Accelerator", n.ProcessBuilder = "ProcessBuilder", n))(Ba || {}), Ji = /* @__PURE__ */ ((n) => (n[n.Orbit = 0] = "Orbit", n[n.Pan = 1] = "Pan", n))(Ji || {}), be = /* @__PURE__ */ ((n) => (n.Owner = "Owner", n.Approver = "Approver", n.Editor = "Editor", n.Viewer = "Viewer", n))(be || {}), kt = /* @__PURE__ */ ((n) => (n.Autosize = "Autosize", n.Traditional = "Traditional", n))(kt || {}), q = /* @__PURE__ */ ((n) => (n[n.North = 0] = "North", n[n.Northeast = 1] = "Northeast", n[n.East = 2] = "East", n[n.Southeast = 3] = "Southeast", n[n.South = 4] = "South", n[n.Southwest = 5] = "Southwest", n[n.West = 6] = "West", n[n.Northwest = 7] = "Northwest", n))(q || {}), Yi = /* @__PURE__ */ ((n) => (n.Pixel = "px", n.Millimeter = "mm", n.Centimeter = "cm", n))(Yi || {});
27
+ var Ee = /* @__PURE__ */ ((n) => (n.Data = "Data", n.Font = "Font", n.Frame = "Frame", n.Illustration = "Illustration", n.Image = "Image", n.Model = "Model", n.Material = "Material", n.Color = "Color", n.QuestionnaireCollateral = "QuestionnaireCollateral", n.RequestCollateral = "RequestCollateral", n.SignupCollateral = "SignupCollateral", n.Video = "Video", n.ColorProfile = "ColorProfile", n.Environment = "Environment", n))(Ee || {}), bn = /* @__PURE__ */ ((n) => (n.AND = "AND", n.OR = "OR", n))(bn || {}), L = /* @__PURE__ */ ((n) => (n.FileUpload = "FileUpload", n.Option = "Option", n.ColorOption = "ColorOption", n.Text = "Text", n))(L || {}), b = /* @__PURE__ */ ((n) => (n.Information = "Information", n.Bulk = "Bulk", n.DigitalContent = "DigitalContent", n.Finish = "Finish", n.Frame = "Frame", n.Illustration = "Illustration", n.Introduction = "Introduction", n.Material = "Material", n.Model = "Model", n.Module = "Module", n.Picture = "Picture", n.Photo = "Photo", n.ProductOverlay = "ProductOverlay", n.Question = "Question", n.Shape = "Shape", n.SilentIllustration = "SilentIllustration", n.Text = "Text", n))(b || {}), Wi = /* @__PURE__ */ ((n) => (n.Color = "Color", n.Colors = "Colors", n.Selection = "Selection", n.Selections = "Selections", n.Text = "Text", n.Upload = "Upload", n))(Wi || {}), Jt = /* @__PURE__ */ ((n) => (n.ThreeD = "ThreeD", n.FreeDesign = "FreeDesign", n.Print = "Print", n))(Jt || {}), F = /* @__PURE__ */ ((n) => (n.Frame = "frame", n.Group = "group", n.Image = "image", n.Pattern = "pattern", n.Illustration = "illustration", n.Textbox = "textbox", n))(F || {}), qi = /* @__PURE__ */ ((n) => (n.Default = "Default", n.FirstTransaction = "FirstTransaction", n.OneToOne = "OneToOne", n))(qi || {}), In = /* @__PURE__ */ ((n) => (n.Pending = "Pending", n.Failed = "Failed", n.Validated = "Validated", n.Overridden = "Overridden", n))(In || {}), ji = /* @__PURE__ */ ((n) => (n.Hyperlink = "Hyperlink", n.Edit = "Edit", n.Approve = "Approve", n))(ji || {}), Hi = /* @__PURE__ */ ((n) => (n.Hub = "Hub", n.Shopify = "Shopify", n))(Hi || {}), Ba = /* @__PURE__ */ ((n) => (n.BackgroundRemover = "BackgroundRemover", n.ConversionAccelerator = "Conversion Accelerator", n.ProcessBuilder = "ProcessBuilder", n))(Ba || {}), Ji = /* @__PURE__ */ ((n) => (n[n.Orbit = 0] = "Orbit", n[n.Pan = 1] = "Pan", n))(Ji || {}), be = /* @__PURE__ */ ((n) => (n.Owner = "Owner", n.Approver = "Approver", n.Editor = "Editor", n.Viewer = "Viewer", n))(be || {}), kt = /* @__PURE__ */ ((n) => (n.Autosize = "Autosize", n.Traditional = "Traditional", n))(kt || {}), q = /* @__PURE__ */ ((n) => (n[n.North = 0] = "North", n[n.Northeast = 1] = "Northeast", n[n.East = 2] = "East", n[n.Southeast = 3] = "Southeast", n[n.South = 4] = "South", n[n.Southwest = 5] = "Southwest", n[n.West = 6] = "West", n[n.Northwest = 7] = "Northwest", n))(q || {}), Yi = /* @__PURE__ */ ((n) => (n.Pixel = "px", n.Millimeter = "mm", n.Centimeter = "cm", n))(Yi || {});
28
28
  class Bn extends Error {
29
29
  constructor(t) {
30
30
  super(t), this.name = this.constructor.name;
@@ -40,7 +40,7 @@ class Ie extends Zt {
40
40
  super(`Option not Configured: ${t.stepTitle}`), this.optionId = t?.optionId || "N/A";
41
41
  }
42
42
  }
43
- class j extends Zt {
43
+ class H extends Zt {
44
44
  constructor(t) {
45
45
  super(`Panel not Found: ${t.panelId}`), this.panelId = t?.panelId || "N/A";
46
46
  }
@@ -184,19 +184,19 @@ function nt(n, t) {
184
184
  }
185
185
  return Aa(n, t);
186
186
  }
187
- const Pn = /* @__PURE__ */ new Map(), Ha = /* @__PURE__ */ new Map(), ja = /* @__PURE__ */ new Map(), xn = async (n) => {
188
- const t = Ha.get(n);
187
+ const Pn = /* @__PURE__ */ new Map(), ja = /* @__PURE__ */ new Map(), Ha = /* @__PURE__ */ new Map(), xn = async (n) => {
188
+ const t = ja.get(n);
189
189
  if (t) return t;
190
190
  const a = (async () => {
191
191
  const i = await nt(n);
192
192
  return Pn.set(n, i.headers?.get("content-type") || ""), await i.arrayBuffer();
193
193
  })();
194
- return Ha.set(n, a), a;
194
+ return ja.set(n, a), a;
195
195
  }, Zi = async (n) => {
196
- const t = ja.get(n);
196
+ const t = Ha.get(n);
197
197
  if (t) return t;
198
198
  const a = (async () => await (await nt(n)).text())();
199
- return ja.set(n, a), a;
199
+ return Ha.set(n, a), a;
200
200
  }, Mt = (n) => n.every((t) => t !== "undefined"), le = (n) => Mt([typeof document]) ? document.createElement(n) : te().document.createElement(n), tr = (n, t) => {
201
201
  if (Mt([typeof document]))
202
202
  return document.createElementNS(n, t);
@@ -217,14 +217,14 @@ const Pn = /* @__PURE__ */ new Map(), Ha = /* @__PURE__ */ new Map(), ja = /* @_
217
217
  t ? Zi(n).then(e).catch(a) : nt(n).then((i) => {
218
218
  i.text().then(e).catch(a);
219
219
  }).catch(a);
220
- }), Fn = (n) => Ti(n), je = /* @__PURE__ */ new Map(), ar = async (n, t) => {
220
+ }), Fn = (n) => Ti(n), He = /* @__PURE__ */ new Map(), ar = async (n, t) => {
221
221
  if (Mt([typeof FontFace])) {
222
- if (je.has(t))
223
- return je.get(t);
222
+ if (He.has(t))
223
+ return He.get(t);
224
224
  const e = n.names.fullName.en, a = new FontFace(e, `url(${t})`);
225
225
  document.fonts.add(a);
226
226
  const i = a.load();
227
- return je.set(t, i), i;
227
+ return He.set(t, i), i;
228
228
  }
229
229
  }, It = () => {
230
230
  if (Mt([typeof XMLSerializer]))
@@ -3947,7 +3947,7 @@ class Vr {
3947
3947
  }
3948
3948
  }
3949
3949
  }
3950
- const H = new Vr(), Ln = C`
3950
+ const j = new Vr(), Ln = C`
3951
3951
  fragment ActiveIntegrationFields on Integration {
3952
3952
  id
3953
3953
  logo
@@ -4231,13 +4231,13 @@ const H = new Vr(), Ln = C`
4231
4231
  id
4232
4232
  }
4233
4233
  }
4234
- `, Hr = C`
4234
+ `, jr = C`
4235
4235
  mutation UpdateTransactionQuantity($id: String!, $quantity: Int) {
4236
4236
  transactionUpdate(id: $id, quantity: $quantity) {
4237
4237
  id
4238
4238
  }
4239
4239
  }
4240
- `, jr = C`
4240
+ `, Hr = C`
4241
4241
  mutation UpdateTransactionWorkflow($id: String!, $workflowId: String!) {
4242
4242
  transactionUpdate(id: $id, workflowId: $workflowId) {
4243
4243
  id
@@ -5220,7 +5220,7 @@ class qn {
5220
5220
  this.timestamp = Date.now();
5221
5221
  }
5222
5222
  }
5223
- class Hn {
5223
+ class jn {
5224
5224
  /**
5225
5225
  * Constructs a new promise queue.
5226
5226
  * @param queueMaxSize An optional maximum size, when the max size is hit.
@@ -5471,7 +5471,7 @@ const k = () => {
5471
5471
  x: (n.x - t.x) * i - (n.y - t.y) * a + t.x,
5472
5472
  y: (n.x - t.x) * a + (n.y - t.y) * i + t.y
5473
5473
  };
5474
- }, Ed = 0.352778, bd = 0.035277, jn = (n) => {
5474
+ }, Ed = 0.352778, bd = 0.035277, Hn = (n) => {
5475
5475
  const t = n.rotation || 0, e = Ct(t), a = Math.cos(e), i = -Math.sin(e);
5476
5476
  return /* @__PURE__ */ P("g", { mask: n.stepName || n.productOverlay ? void 0 : n.mask, children: /* @__PURE__ */ P(
5477
5477
  "g",
@@ -5983,7 +5983,7 @@ const ko = (n) => {
5983
5983
  }, No = (n) => {
5984
5984
  if (n.cachedObjectURL && !n._renderingConfiguration?.omitCachedFields)
5985
5985
  return /* @__PURE__ */ P(
5986
- jn,
5986
+ Hn,
5987
5987
  {
5988
5988
  id: n.id,
5989
5989
  src: n.cachedObjectURL,
@@ -6113,7 +6113,7 @@ class Qo {
6113
6113
  return { ...t, transaction: e.apply(a) };
6114
6114
  }
6115
6115
  }
6116
- const ti = (n) => n.type === F.Image ? /* @__PURE__ */ P(jn, { ...n }, n.id) : n.type === F.Frame ? /* @__PURE__ */ P(So, { ...n }, n.id) : n.type === F.Illustration ? /* @__PURE__ */ P(No, { ...n }, n.id) : n.type === F.Textbox ? /* @__PURE__ */ P(ko, { ...n }, n.id) : n.type === F.Group ? /* @__PURE__ */ P(Jn, { ...n }, n.id) : null, Na = (n, t, e) => {
6116
+ const ti = (n) => n.type === F.Image ? /* @__PURE__ */ P(Hn, { ...n }, n.id) : n.type === F.Frame ? /* @__PURE__ */ P(So, { ...n }, n.id) : n.type === F.Illustration ? /* @__PURE__ */ P(No, { ...n }, n.id) : n.type === F.Textbox ? /* @__PURE__ */ P(ko, { ...n }, n.id) : n.type === F.Group ? /* @__PURE__ */ P(Jn, { ...n }, n.id) : null, Na = (n, t, e) => {
6117
6117
  const a = e.renderingConfiguration, i = a?.removeExcludedElements ? t.filter((r) => !r.excludeFromExport) : t;
6118
6118
  return /* @__PURE__ */ P(
6119
6119
  yo,
@@ -7185,7 +7185,7 @@ class rn {
7185
7185
  this.processRegion = async (i) => {
7186
7186
  const r = this.layouts.find((l) => l.panelId === i.panelId);
7187
7187
  if (!r)
7188
- throw new j(i);
7188
+ throw new H(i);
7189
7189
  let o = "";
7190
7190
  if (this.configuration.type === b.ProductOverlay) {
7191
7191
  let l = "";
@@ -7268,7 +7268,7 @@ class rn {
7268
7268
  } else return this.configuration.type === b.ProductOverlay ? Promise.all(
7269
7269
  this.configuration.data.regions.map((t) => {
7270
7270
  if (!this.layouts.find((a) => t.panelId === a.panelId))
7271
- throw new j(t);
7271
+ throw new H(t);
7272
7272
  return this.processRegion(t);
7273
7273
  })
7274
7274
  ) : Promise.reject("Unknown silent step. This is a bug");
@@ -7384,7 +7384,7 @@ class qo {
7384
7384
  const r = a.getLayouts(), s = `data:image/svg+xml;base64,${btoa(await vn(t, { type: "svg" }))}`, l = e.map((c) => {
7385
7385
  const d = c.region, u = r.find((A) => A.panelId === d?.panelId);
7386
7386
  if (!u && d)
7387
- throw new j(d);
7387
+ throw new H(d);
7388
7388
  if (u && !d)
7389
7389
  throw new Error("Region not found");
7390
7390
  if (!u || !d)
@@ -7439,7 +7439,7 @@ class De {
7439
7439
  c && c.originalAssetKey && (r = (await $.getLocalOrFromServer(c.originalAssetKey)).fileLink);
7440
7440
  }
7441
7441
  if (t.option && t.option.variants && t.option.variants.length > 0) {
7442
- const s = t.option, l = H.getDefaultVariant(s);
7442
+ const s = t.option, l = j.getDefaultVariant(s);
7443
7443
  return l ? this.selectVariantCommand(
7444
7444
  t,
7445
7445
  l,
@@ -7707,7 +7707,7 @@ class De {
7707
7707
  rotation: 0
7708
7708
  } : void 0, x = k(), v = i.getLayouts().find((B) => B.panelId === h.panelId);
7709
7709
  if (!v)
7710
- throw new j(h);
7710
+ throw new H(h);
7711
7711
  return {
7712
7712
  command: this.getCreateElementCommand(x, h, g, v, {
7713
7713
  frameData: m,
@@ -7783,7 +7783,7 @@ class De {
7783
7783
  }
7784
7784
  }
7785
7785
  const St = new De();
7786
- class Ho {
7786
+ class jo {
7787
7787
  async getIllustrationBody(t) {
7788
7788
  return new Promise((e) => {
7789
7789
  at(t, !0).then((a) => {
@@ -7834,7 +7834,7 @@ class Ho {
7834
7834
  if (a)
7835
7835
  return this.reload(t, e, a);
7836
7836
  {
7837
- const r = H.getDefaultVariant(i);
7837
+ const r = j.getDefaultVariant(i);
7838
7838
  if (r)
7839
7839
  return await this.selectVariantCommand(t, r, [], () => {
7840
7840
  }, e);
@@ -7955,7 +7955,7 @@ class Ho {
7955
7955
  const c = await st(await this.getIllustrationBody(l)), d = await Xt(c.svg), u = (f, E) => {
7956
7956
  const w = r.getLayouts().find((y) => y.panelId === f.panelId);
7957
7957
  if (!w)
7958
- throw new j(f);
7958
+ throw new H(f);
7959
7959
  const x = k();
7960
7960
  return {
7961
7961
  regionElement: { id: x, region: f, regionIndex: E },
@@ -8020,8 +8020,8 @@ class Ho {
8020
8020
  };
8021
8021
  }
8022
8022
  }
8023
- const we = new Ho();
8024
- class jo {
8023
+ const we = new jo();
8024
+ class Ho {
8025
8025
  async init(t, e, a) {
8026
8026
  const i = t.option;
8027
8027
  if (!i)
@@ -8029,7 +8029,7 @@ class jo {
8029
8029
  if (a)
8030
8030
  await this.reload(t, e, a);
8031
8031
  else {
8032
- const r = H.getDefaultVariant(i);
8032
+ const r = j.getDefaultVariant(i);
8033
8033
  if (r)
8034
8034
  return await this.selectVariantLambda(t, r, e, () => {
8035
8035
  });
@@ -8100,7 +8100,7 @@ class jo {
8100
8100
  };
8101
8101
  }
8102
8102
  }
8103
- const si = new jo();
8103
+ const si = new Ho();
8104
8104
  class Jo {
8105
8105
  async init(t, e, a) {
8106
8106
  const i = t.option;
@@ -8108,7 +8108,7 @@ class Jo {
8108
8108
  if (a)
8109
8109
  await this.reload(t, e, a);
8110
8110
  else {
8111
- const r = H.getDefaultVariant(i);
8111
+ const r = j.getDefaultVariant(i);
8112
8112
  if (r)
8113
8113
  return await this.selectVariantLambda(t, r, e, () => {
8114
8114
  });
@@ -8361,7 +8361,7 @@ class Ko {
8361
8361
  const l = a.getRegionElements(t.stepName).map((u) => new Nt(u.id)), c = (u, A) => {
8362
8362
  const g = a.getLayouts().find((p) => p.panelId === u.panelId);
8363
8363
  if (!g)
8364
- throw new j(u);
8364
+ throw new H(u);
8365
8365
  const m = k();
8366
8366
  return {
8367
8367
  regionElement: { id: m, region: u, regionIndex: A },
@@ -8412,7 +8412,7 @@ class _o {
8412
8412
  await this.reload(t, e, a);
8413
8413
  else {
8414
8414
  const r = i.variants;
8415
- if (H.getDefaultVariant(i)) {
8415
+ if (j.getDefaultVariant(i)) {
8416
8416
  const s = r?.find((l) => l.id === i.defaultVariant?.id);
8417
8417
  return this.selectVariantLambda(t, s?.id || "", e);
8418
8418
  }
@@ -8474,7 +8474,7 @@ class Xo {
8474
8474
  setCustomColor(t, e, a) {
8475
8475
  const i = a.getLayouts(), o = (a.getRegionElements(e.stepName) || []).map((s) => {
8476
8476
  const l = s.region;
8477
- if (!i.find((d) => d.panelId === l?.panelId)) throw new j(l);
8477
+ if (!i.find((d) => d.panelId === l?.panelId)) throw new H(l);
8478
8478
  return new Ca(s.id, this.shapeFillId, t);
8479
8479
  }).filter((s) => !!s);
8480
8480
  a.getCommandDispatcher()(new O(o)), a.updateStorage(e.stepName, { colour: t });
@@ -8486,7 +8486,7 @@ class Xo {
8486
8486
  if (a)
8487
8487
  await this.reload(t, e, a);
8488
8488
  else {
8489
- const r = H.getDefaultVariant(i);
8489
+ const r = j.getDefaultVariant(i);
8490
8490
  return r ? this.selectVariantCommand(
8491
8491
  t,
8492
8492
  {
@@ -8543,7 +8543,7 @@ class Xo {
8543
8543
  const l = (d) => {
8544
8544
  const u = d.region;
8545
8545
  if (!r.find((g) => g.panelId === u?.panelId))
8546
- throw new j(u);
8546
+ throw new H(u);
8547
8547
  const h = s();
8548
8548
  return new Ca(d.id, this.shapeFillId, h);
8549
8549
  }, c = a.map(l).filter((d) => !!d);
@@ -8561,7 +8561,7 @@ class Xo {
8561
8561
  const l = (A, h) => {
8562
8562
  const g = r.find((w) => w.panelId === A.panelId);
8563
8563
  if (!g)
8564
- throw new j(A);
8564
+ throw new H(A);
8565
8565
  const m = s(), p = `
8566
8566
  <svg
8567
8567
  xmlns="http://www.w3.org/2000/svg"
@@ -8781,7 +8781,7 @@ class as {
8781
8781
  fillImage: r?.name,
8782
8782
  strokeColor: t.data.strokeEnabled ? c?.color : void 0
8783
8783
  });
8784
- const h = H.getDefaultVariant(i);
8784
+ const h = j.getDefaultVariant(i);
8785
8785
  if (h)
8786
8786
  return this.selectVariantCommand(
8787
8787
  t,
@@ -9011,7 +9011,7 @@ class as {
9011
9011
  e.getCommandDispatcher()(f);
9012
9012
  }
9013
9013
  ), s.length === 0 && l) {
9014
- const p = H.getDefaultVariant(l);
9014
+ const p = j.getDefaultVariant(l);
9015
9015
  if (p) {
9016
9016
  const f = await this.selectVariantCommand(
9017
9017
  t,
@@ -9047,7 +9047,7 @@ class as {
9047
9047
  const h = c.getGlobalPropertyStateManager().getAspect(u.name);
9048
9048
  if (h)
9049
9049
  if (s.length === 0 && l) {
9050
- const g = H.getDefaultVariant(l);
9050
+ const g = j.getDefaultVariant(l);
9051
9051
  if (g) {
9052
9052
  const m = await this.selectVariantCommand(
9053
9053
  t,
@@ -9078,21 +9078,21 @@ class as {
9078
9078
  getDefaultColorVariant(t) {
9079
9079
  const e = t.colorOption;
9080
9080
  if (e)
9081
- return H.getDefaultVariant(e);
9081
+ return j.getDefaultVariant(e);
9082
9082
  }
9083
9083
  getDefaultColor(t) {
9084
9084
  const e = t.colorOption;
9085
- return e ? H.getDefaultVariant(e)?.color : void 0;
9085
+ return e ? j.getDefaultVariant(e)?.color : void 0;
9086
9086
  }
9087
9087
  getDefaultImageFillVariant(t) {
9088
9088
  const e = t.imageFillOption;
9089
9089
  if (e)
9090
- return H.getDefaultVariant(e);
9090
+ return j.getDefaultVariant(e);
9091
9091
  }
9092
9092
  getDefaultStrokeColorVariant(t) {
9093
9093
  const e = t.strokeOption;
9094
9094
  if (e)
9095
- return H.getDefaultVariant(e);
9095
+ return j.getDefaultVariant(e);
9096
9096
  }
9097
9097
  async fontDataFromVariant(t) {
9098
9098
  const e = t.asset;
@@ -9546,7 +9546,7 @@ const As = [
9546
9546
  const l = s.toString(), d = `data:image/svg+xml;base64,${Ja(await vn(l, { type: "svg" }))}`, u = (h) => {
9547
9547
  const g = n.find((p) => p.panelId === h.panelId);
9548
9548
  if (!g)
9549
- throw new j(h);
9549
+ throw new H(h);
9550
9550
  const m = k();
9551
9551
  return new z(
9552
9552
  {
@@ -9575,7 +9575,7 @@ const As = [
9575
9575
  const l = async (c) => {
9576
9576
  const d = await ei(c, s?.asset?.fileLink), u = await Ve(d), A = k(), h = n.find((m) => m.panelId === c.panelId);
9577
9577
  if (!h)
9578
- throw new j(c);
9578
+ throw new H(c);
9579
9579
  const g = Ra(
9580
9580
  o,
9581
9581
  u,
@@ -9667,7 +9667,7 @@ const As = [
9667
9667
  const w = (y) => {
9668
9668
  const v = n.find((T) => T.panelId === y.panelId);
9669
9669
  if (!v)
9670
- throw new j(y);
9670
+ throw new H(y);
9671
9671
  const B = k();
9672
9672
  return new z(
9673
9673
  {
@@ -9696,7 +9696,7 @@ const As = [
9696
9696
  const a = await Ai(e.data.module), i = t.data, r = (s, l) => {
9697
9697
  const c = n.find((u) => u.panelId === l.panelId);
9698
9698
  if (!c)
9699
- throw new j(l);
9699
+ throw new H(l);
9700
9700
  const d = k();
9701
9701
  return new z(
9702
9702
  {
@@ -9738,7 +9738,7 @@ const As = [
9738
9738
  const l = (d) => {
9739
9739
  const u = n.find((h) => h.panelId === d.panelId);
9740
9740
  if (!u)
9741
- throw new j(d);
9741
+ throw new H(d);
9742
9742
  const A = k();
9743
9743
  return new z(
9744
9744
  {
@@ -9774,7 +9774,7 @@ const As = [
9774
9774
  const s = (c) => {
9775
9775
  const d = n.find((m) => m.panelId === c.panelId);
9776
9776
  if (!d)
9777
- throw new j(c);
9777
+ throw new H(c);
9778
9778
  const u = `
9779
9779
  <svg
9780
9780
  xmlns="http://www.w3.org/2000/svg"
@@ -9826,7 +9826,7 @@ const As = [
9826
9826
  l.forEach((c) => {
9827
9827
  const d = n.find((A) => A.panelId === c.panelId);
9828
9828
  if (!d)
9829
- throw new j(c);
9829
+ throw new H(c);
9830
9830
  const u = {
9831
9831
  id: k(),
9832
9832
  src: r,
@@ -9859,7 +9859,7 @@ const As = [
9859
9859
  l.forEach((u) => {
9860
9860
  const A = n.find((g) => g.panelId === u.panelId);
9861
9861
  if (!A)
9862
- throw new j(u);
9862
+ throw new H(u);
9863
9863
  const h = {
9864
9864
  id: k(),
9865
9865
  src: r,
@@ -9909,7 +9909,7 @@ const As = [
9909
9909
  uppercase: a.data.uppercase
9910
9910
  }), h = async (p) => {
9911
9911
  const f = p.colorOption;
9912
- return f ? H.getDefaultVariant(f)?.color : void 0;
9912
+ return f ? j.getDefaultVariant(f)?.color : void 0;
9913
9913
  }, g = r.color || await h(a.data), m = a.data.regions;
9914
9914
  for (const p of m) {
9915
9915
  const f = n.find((w) => w.panelId === p.panelId);
@@ -10073,7 +10073,7 @@ const bs = () => new Promise((n, t) => {
10073
10073
  }), Is = bs();
10074
10074
  class Bs {
10075
10075
  constructor(t, e, a, i, r) {
10076
- this.hasSetStaticContext = !1, this.interactiveDirty = !1, this.staticCtxDirty = !1, this.lastRequestedRenderArguments = void 0, this.lastCompletedStaticRender = void 0, this.renderQueue = new Hn(2), this.id = t, this.name = e, this.service = a, this.panelSize = i, this.getWorkflowManager = r;
10076
+ this.hasSetStaticContext = !1, this.interactiveDirty = !1, this.staticCtxDirty = !1, this.lastRequestedRenderArguments = void 0, this.lastCompletedStaticRender = void 0, this.renderQueue = new jn(2), this.id = t, this.name = e, this.service = a, this.panelSize = i, this.getWorkflowManager = r;
10077
10077
  }
10078
10078
  getID() {
10079
10079
  return this.id;
@@ -11085,13 +11085,13 @@ const ia = new Qs(), pi = C`
11085
11085
  id
11086
11086
  }
11087
11087
  }
11088
- `, Hs = C`
11088
+ `, js = C`
11089
11089
  mutation BundleAddTransactions($id: String!, $transactionIds: [String!]!, $transactionOwnerIds: [String!]) {
11090
11090
  bundleAddTransactions(id: $id, transactionIds: $transactionIds, transactionOwnerIds: $transactionOwnerIds) {
11091
11091
  id
11092
11092
  }
11093
11093
  }
11094
- `, js = C`
11094
+ `, Hs = C`
11095
11095
  mutation BundleRemoveTransaction(
11096
11096
  $id: String!
11097
11097
  $transactionId: String!
@@ -11374,7 +11374,7 @@ const hl = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
11374
11374
  return a ? Object.values(a.layouts).map((i) => i.layout) : hl(t.panels);
11375
11375
  }, qt = class qt {
11376
11376
  constructor(t, e, a, i, r, o = !1, s, l = !1, c = !1, d = !1) {
11377
- this.workflowStatePromiseQueue = new Hn(1), this.initialized = !1, this.readOnly = !1, this.isReloadedTransaction = !1, this.singleVariantsRenderable = !1, this.stepTags = {}, this.setWorkflow = async (A) => {
11377
+ this.workflowStatePromiseQueue = new jn(1), this.initialized = !1, this.readOnly = !1, this.isReloadedTransaction = !1, this.singleVariantsRenderable = !1, this.stepTags = {}, this.setWorkflow = async (A) => {
11378
11378
  this.confirmedDesign = !1, this.editedSteps = {}, this.informationResults = [], this.mandatorySteps = {}, this.pendingUpdates = [], this.selectionCost = 0, this.stepSpecificServices = {}, this.pollers = [], this.allScenes = [], this.stepElements = {}, this.stepInitialised = {}, this.stepMetadata = {}, this.stepSelections = {}, this.storage = {}, this.validationErrors = { steps: /* @__PURE__ */ new Map() }, this.currentAdjustingStepId = "", this.reloadedState ? this.layouts = Object.values(this.reloadedState.layouts || {}).map((g) => g.layout) : A ? this.layouts = gl(this.experience.getTransaction(), A) : this.layouts = [], this.commandContext.initialize(this.layouts, this.reloadedState), this.renderableContextService = new Es(this.layouts), this.renderableContextService.setWorkflowManager(this), A.steps.forEach((g) => {
11379
11379
  this.stepTags[g.stepName] = g.tags ?? [];
11380
11380
  });
@@ -11789,7 +11789,7 @@ const hl = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
11789
11789
  ...this.storage,
11790
11790
  [t]: { ...this.storage[t], ...e }
11791
11791
  };
11792
- if (!jt(a, this.storage)) {
11792
+ if (!Ht(a, this.storage)) {
11793
11793
  this.storage = a;
11794
11794
  const i = new an(this.constructSerializableWorkflow());
11795
11795
  this.commandContext.apply(i, !0), this.onStepSpecificStorageChange(t), this.onStorageChange();
@@ -12219,7 +12219,7 @@ class rt {
12219
12219
  return this.variantData.enabled;
12220
12220
  }
12221
12221
  }
12222
- const Ht = class Ht {
12222
+ const jt = class jt {
12223
12223
  constructor(t, e, a) {
12224
12224
  this.manager = t, this.step = e, this.tags = a;
12225
12225
  }
@@ -12229,7 +12229,7 @@ const Ht = class Ht {
12229
12229
  * @param value The new value
12230
12230
  */
12231
12231
  setUpdateState(t) {
12232
- Ht.updateState.set(
12232
+ jt.updateState.set(
12233
12233
  `${this.step.stepName}-${this.manager.getWorkflowExperience().getTransaction().id}`,
12234
12234
  t
12235
12235
  );
@@ -12238,7 +12238,7 @@ const Ht = class Ht {
12238
12238
  * @returns Gets the current update state of this step. All step handles for this step will see this value.
12239
12239
  */
12240
12240
  getUpdateState() {
12241
- return !!Ht.updateState.get(
12241
+ return !!jt.updateState.get(
12242
12242
  `${this.step.stepName}-${this.manager.getWorkflowExperience().getTransaction().id}`
12243
12243
  );
12244
12244
  }
@@ -12350,8 +12350,8 @@ const Ht = class Ht {
12350
12350
  e ? r && e.executeCameraAnimation(r) : console.warn("No preview service available, cannot execute camera animations."), a ? i && a.executeAnimation(i, t) : console.warn("No model container available, cannot execute model animations.");
12351
12351
  }
12352
12352
  };
12353
- Ht.updateState = /* @__PURE__ */ new Map();
12354
- let tt = Ht;
12353
+ jt.updateState = /* @__PURE__ */ new Map();
12354
+ let tt = jt;
12355
12355
  class ml extends tt {
12356
12356
  constructor(t, e, a) {
12357
12357
  super(t, e, a);
@@ -13098,7 +13098,7 @@ class xl {
13098
13098
  }
13099
13099
  async setWorkflow(t) {
13100
13100
  return this.workflow = t, await this.graphQlClient().mutate({
13101
- mutation: jr,
13101
+ mutation: Hr,
13102
13102
  variables: {
13103
13103
  id: this.getTransaction().id,
13104
13104
  workflowId: t.id
@@ -13488,7 +13488,7 @@ class xl {
13488
13488
  ), this.checkForPriceBreakChanges();
13489
13489
  const e = this.getTransaction();
13490
13490
  await this.graphQlClient().mutate({
13491
- mutation: Hr,
13491
+ mutation: jr,
13492
13492
  variables: {
13493
13493
  id: e.id,
13494
13494
  quantity: t
@@ -13580,10 +13580,10 @@ class kl {
13580
13580
  return new dn(
13581
13581
  this.bundle,
13582
13582
  t,
13583
- t.entityId ? await H.getOption(t.entityId) : void 0
13583
+ t.entityId ? await j.getOption(t.entityId) : void 0
13584
13584
  );
13585
13585
  case L.Option: {
13586
- const e = t.entityId ? await H.getOption(t.entityId) : void 0;
13586
+ const e = t.entityId ? await j.getOption(t.entityId) : void 0;
13587
13587
  return e?.type === "Color" ? new dn(this.bundle, t, e) : new Ci(this.bundle, t, e);
13588
13588
  }
13589
13589
  case L.Text:
@@ -13659,7 +13659,7 @@ class Ml extends Ua {
13659
13659
  super(t, e);
13660
13660
  }
13661
13661
  async initialize() {
13662
- return this.property.data?.fileUpload?.colorOptionId && (this.colorOption = await H.getOption(this.property.data?.fileUpload?.colorOptionId)), await this.loadImageData(), this;
13662
+ return this.property.data?.fileUpload?.colorOptionId && (this.colorOption = await j.getOption(this.property.data?.fileUpload?.colorOptionId)), await this.loadImageData(), this;
13663
13663
  }
13664
13664
  async loadImageData() {
13665
13665
  const t = await this.getImage();
@@ -14167,7 +14167,7 @@ class $l {
14167
14167
  storage: a !== null ? a : void 0,
14168
14168
  channel: i
14169
14169
  });
14170
- jt(o, this.globalPropertyState) || (await this.updateGlobalPropertyState(), await this.onGlobalPropertyStateChange(o, this.globalPropertyState));
14170
+ Ht(o, this.globalPropertyState) || (await this.updateGlobalPropertyState(), await this.onGlobalPropertyStateChange(o, this.globalPropertyState));
14171
14171
  }
14172
14172
  async setAspectStorage(t, e, a) {
14173
14173
  if (!this.globalPropertyState)
@@ -14194,7 +14194,7 @@ class $l {
14194
14194
  storage: e !== null ? e : void 0,
14195
14195
  channel: a
14196
14196
  });
14197
- jt(r, this.globalPropertyState) || (await this.updateGlobalPropertyState(), await this.onGlobalPropertyStateChange(r, this.globalPropertyState));
14197
+ Ht(r, this.globalPropertyState) || (await this.updateGlobalPropertyState(), await this.onGlobalPropertyStateChange(r, this.globalPropertyState));
14198
14198
  }
14199
14199
  async updateGlobalPropertyState() {
14200
14200
  if (!this.globalPropertyState)
@@ -14798,7 +14798,7 @@ class ql {
14798
14798
  };
14799
14799
  }
14800
14800
  }
14801
- const Hl = C`
14801
+ const jl = C`
14802
14802
  ${Ge(!1)}
14803
14803
  query GetProductCollections($ids: [String!]!) {
14804
14804
  productCollections(ids: $ids) {
@@ -14806,13 +14806,13 @@ const Hl = C`
14806
14806
  }
14807
14807
  }
14808
14808
  `, $d = async (n) => (await S.getShadowGraphqlClient().query({
14809
- query: Hl,
14809
+ query: jl,
14810
14810
  errorPolicy: "all",
14811
14811
  variables: {
14812
14812
  ids: n
14813
14813
  }
14814
14814
  })).data?.productCollections?.map((e) => new yi(e));
14815
- class jl {
14815
+ class Hl {
14816
14816
  constructor() {
14817
14817
  this.listeners = {};
14818
14818
  }
@@ -14877,7 +14877,7 @@ const Jl = C`
14877
14877
  `;
14878
14878
  class un {
14879
14879
  constructor(t, e, a, i, r, o, s) {
14880
- this.workflowExperiences = [], this.eventEmitter = new jl(), this.updatesLocked = !1, this.client = t, this.id = e.id, this.name = e.name || "", this.dispatchDate = e.dispatchDate, this.template = e.template || !1, this.quoteId = e.quoteId, this.shareActions = e.bundleShareActions, this.workflowViewerLink = e.workflowViewerLink, this.workflowViewerAmendLink = e.workflowViewerAmendLink, this.ownerId = r, this.metadata = new Map(e.metadata?.map((d) => [d.key, d.value]) || []), this.completed = e.completed ?? !1, this.productCollection = e.productCollection, this.bundleStateManager = new Ul(e.bundleStateData);
14880
+ this.workflowExperiences = [], this.eventEmitter = new Hl(), this.updatesLocked = !1, this.client = t, this.id = e.id, this.name = e.name || "", this.dispatchDate = e.dispatchDate, this.template = e.template || !1, this.quoteId = e.quoteId, this.shareActions = e.bundleShareActions, this.workflowViewerLink = e.workflowViewerLink, this.workflowViewerAmendLink = e.workflowViewerAmendLink, this.ownerId = r, this.metadata = new Map(e.metadata?.map((d) => [d.key, d.value]) || []), this.completed = e.completed ?? !1, this.productCollection = e.productCollection, this.bundleStateManager = new Ul(e.bundleStateData);
14881
14881
  const l = this.productCollection?.globalPropertyConfiguration;
14882
14882
  this.globalConfigurationPropertyId = l?.id, this.globalPropertyStateManager = new $l(
14883
14883
  this.id,
@@ -15178,7 +15178,7 @@ class un {
15178
15178
  );
15179
15179
  const i = D.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), r = e.map((s) => i.get(s));
15180
15180
  await S.getShadowGraphqlClient().mutate({
15181
- mutation: Hs,
15181
+ mutation: js,
15182
15182
  variables: {
15183
15183
  id: this.id,
15184
15184
  transactionIds: e,
@@ -15238,7 +15238,7 @@ class un {
15238
15238
  if (t > -1) {
15239
15239
  const i = this.workflowExperiences.find((r) => r.getTransaction().id === e.id);
15240
15240
  if (i.setBundle(void 0), this.previewService && i.getWorkflowManager().ejectFromPreviewService(), this.bundleStateManager.removeStateForTransaction(e.id), await S.getShadowGraphqlClient().mutate({
15241
- mutation: js,
15241
+ mutation: Hs,
15242
15242
  variables: {
15243
15243
  id: this.id,
15244
15244
  transactionId: e.id,
@@ -15426,6 +15426,7 @@ class un {
15426
15426
  mutation: ul,
15427
15427
  variables: {
15428
15428
  id: this.id
15429
+ // TODO: preview image
15429
15430
  },
15430
15431
  errorPolicy: "all"
15431
15432
  });
@@ -15433,7 +15434,7 @@ class un {
15433
15434
  let s = o.data.designCreateBundle;
15434
15435
  const c = await (async () => {
15435
15436
  let d = 0;
15436
- for (; d > 121; ) {
15437
+ for (; d < 121; ) {
15437
15438
  if (d += 1, s.status === "Completed")
15438
15439
  return s;
15439
15440
  await new Promise((A) => setTimeout(A, 1e3));
@@ -15444,8 +15445,10 @@ class un {
15444
15445
  },
15445
15446
  errorPolicy: "all"
15446
15447
  });
15447
- if (!u.data?.jobs || u.data.jobs.length === 0)
15448
+ if (!u.data?.jobs || u.data.jobs.length === 0) {
15449
+ console.error("failed to refetch jobs", u.errors);
15448
15450
  return;
15451
+ }
15449
15452
  s = u.data.jobs[0], a && a(
15450
15453
  s.children.length,
15451
15454
  s.children.filter((A) => A.status === "Completed").length
@@ -15480,8 +15483,10 @@ class un {
15480
15483
  items: d,
15481
15484
  bundleOwnerId: this.ownerId
15482
15485
  };
15483
- }
15484
- }
15486
+ } else
15487
+ console.error("failed to ensure job completed");
15488
+ } else
15489
+ console.error("designCreateBundle failed", o.errors);
15485
15490
  }
15486
15491
  const r = await mi(
15487
15492
  this.workflowExperiences.map((o) => {
@@ -15658,7 +15663,7 @@ class un {
15658
15663
  });
15659
15664
  await Promise.all(l), await Promise.all(r.map((u) => u.applyGlobalState()));
15660
15665
  const c = this.globalPropertyStateManager.getGlobalPropertyState(), d = this.globalPropertyHandleService.applyConditionsFromState(a, c);
15661
- jt(r.sort(), d.sort()) || (this.checkConditionalHandlesChanged(r, d), this.checkMandatoryHandlesChanged(c, d), await this.onGlobalPropertiesChanged(e, c));
15666
+ Ht(r.sort(), d.sort()) || (this.checkConditionalHandlesChanged(r, d), this.checkMandatoryHandlesChanged(c, d), await this.onGlobalPropertiesChanged(e, c));
15662
15667
  }
15663
15668
  checkConditionalHandlesChanged(t, e) {
15664
15669
  (() => {
@@ -16269,7 +16274,7 @@ class Vd {
16269
16274
  } catch (a) {
16270
16275
  throw console.error(a), new gt("Critical - Unable to synchronize workflow state with server.");
16271
16276
  }
16272
- }, this.options = t, this.options.applicationKey && sr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.1.0-beta.a76c4ba0-a053-56c6-8c60-be896da3de61"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16277
+ }, this.options = t, this.options.applicationKey && sr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.1.0-beta.2a094b75-2fe2-5f9d-9449-137427b6c156"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16273
16278
  }
16274
16279
  configure(t) {
16275
16280
  pt.setHubUrl(t.hubUrl), pt.setServerUrl(t.serverUrl), pt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, this.userPoolClientId = t.userPoolClientId, this.userPoolRegion = t.userPoolRegion, this.spiffRegion = t.spiffRegion, t.bearerAuthenticationToken && cr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
@@ -16802,9 +16807,9 @@ class Vd {
16802
16807
  }
16803
16808
  const oe = D.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map();
16804
16809
  !oe.get(N.id) && N.transactionOwnerId && (oe.set(N.id, N.transactionOwnerId), D.setMap("transactionOwnerIds", oe));
16805
- const He = oe.get(N.id) || void 0, Bi = new ic({
16806
- onMutate: () => ({ context: { transactionOwnerId: He, bundleOwnerId: e?.bundleOwnerId } }),
16807
- onQuery: () => ({ context: { transactionOwnerId: He, bundleOwnerId: e?.bundleOwnerId } })
16810
+ const je = oe.get(N.id) || void 0, Bi = new ic({
16811
+ onMutate: () => ({ context: { transactionOwnerId: je, bundleOwnerId: e?.bundleOwnerId } }),
16812
+ onQuery: () => ({ context: { transactionOwnerId: je, bundleOwnerId: e?.bundleOwnerId } })
16808
16813
  }), se = {
16809
16814
  workflow: qe,
16810
16815
  transaction: N,
@@ -16813,7 +16818,7 @@ class Vd {
16813
16818
  throw new Q("State mutation is forbidden in read only mode!");
16814
16819
  } : async (it) => this.updateTransactionState({
16815
16820
  ...it,
16816
- context: { transactionOwnerId: He, bundleOwnerId: e?.bundleOwnerId }
16821
+ context: { transactionOwnerId: je, bundleOwnerId: e?.bundleOwnerId }
16817
16822
  }),
16818
16823
  graphQlClient: () => Bi,
16819
16824
  readOnly: M,
@@ -16959,7 +16964,7 @@ async function Ei(n) {
16959
16964
  ...a
16960
16965
  };
16961
16966
  }
16962
- const Hd = async (n) => {
16967
+ const jd = async (n) => {
16963
16968
  const t = await Ei(n), e = await S.getShadowGraphqlClient().mutate({
16964
16969
  mutation: dl,
16965
16970
  errorPolicy: "all",
@@ -17011,7 +17016,7 @@ class gc {
17011
17016
  let r = !1;
17012
17017
  for (let o = 0; o < i.currentFrameSources.length; o++) {
17013
17018
  const s = i.currentFrameSources[o], l = await Ve(s), c = this.frameData ? this.frameData[o] : void 0;
17014
- jt(l, c) || (this.frameData || (this.frameData = new Array(i.currentFrameSources.length)), this.frameData[o] = l, r = !0);
17019
+ Ht(l, c) || (this.frameData || (this.frameData = new Array(i.currentFrameSources.length)), this.frameData[o] = l, r = !0);
17015
17020
  }
17016
17021
  r && (this.onFrameDataChangeListeners.forEach(
17017
17022
  (o) => o(this.frameData)
@@ -17210,7 +17215,7 @@ class gc {
17210
17215
  }), this._debouncedUpdateFrameOffsets(this.offsets, t, this.frameData, this.thresholdSettings));
17211
17216
  }
17212
17217
  }
17213
- class jd {
17218
+ class Hd {
17214
17219
  traversableScenes() {
17215
17220
  throw new Error("Method not implemented.");
17216
17221
  }
@@ -18044,14 +18049,14 @@ export {
18044
18049
  We as InformationMessageType,
18045
18050
  vl as InformationStepHandle,
18046
18051
  An as IntegrationProduct,
18047
- ji as IntegrationType,
18052
+ Hi as IntegrationType,
18048
18053
  Bd as LayoutElementFactory,
18049
18054
  F as LayoutElementType,
18050
- j as LayoutNotFoundError,
18055
+ H as LayoutNotFoundError,
18051
18056
  Jt as LayoutRenderingPurpose,
18052
18057
  pl as MaterialStepHandle,
18053
18058
  Be as MisconfigurationError,
18054
- jd as MockWorkflowManager,
18059
+ Hd as MockWorkflowManager,
18055
18060
  fl as ModelStepHandle,
18056
18061
  bl as ModuleStepHandle,
18057
18062
  Pd as MoveCommand,
@@ -18066,7 +18071,7 @@ export {
18066
18071
  Gl as ProductCollectionProductSortKey,
18067
18072
  Wt as ProductWorkflow,
18068
18073
  _t as PromiseCache,
18069
- Hn as PromiseQueue,
18074
+ jn as PromiseQueue,
18070
18075
  wl as QuestionStepHandle,
18071
18076
  qn as QueueablePromise,
18072
18077
  Fd as ResizeCommand,
@@ -18075,7 +18080,7 @@ export {
18075
18080
  q as ScaleAxis,
18076
18081
  Nd as SendBackwardsCommand,
18077
18082
  yl as ShapeStepHandle,
18078
- Hi as ShareActionType,
18083
+ ji as ShareActionType,
18079
18084
  Vd as SpiffCommerceClient,
18080
18085
  be as StakeholderType,
18081
18086
  Wi as StepAspectType,
@@ -18099,7 +18104,7 @@ export {
18099
18104
  bd as cmPerPixel,
18100
18105
  Sd as currentDirection,
18101
18106
  cd as dataUrlFromExternalUrl,
18102
- Hd as deleteBundle,
18107
+ jd as deleteBundle,
18103
18108
  ia as designService,
18104
18109
  ye as determineCorrectFontSizeAndLines,
18105
18110
  oi as digitalContentStepService,
@@ -18159,7 +18164,7 @@ export {
18159
18164
  ci as moduleStepService,
18160
18165
  Jd as nameBundle,
18161
18166
  Yd as nameTransaction,
18162
- H as optionService,
18167
+ j as optionService,
18163
18168
  Id as outlineFontsInSvg,
18164
18169
  cu as overrideWorkflowExperienceRecipientAddress,
18165
18170
  ht as patternImageDataCache,