@spiffcommerce/core 29.1.0 → 29.1.1-beta.1070aece-0a80-54e4-b717-197225c42d3c

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
@@ -1,29 +1,29 @@
1
- import { createHttpLink as ir, ApolloClient as sr, from as or, InMemoryCache as lr, gql as v } from "@apollo/client/core";
2
- import { setContext as cr } from "@apollo/client/link/context";
3
- import { onError as dr } from "@apollo/client/link/error";
4
- import { renderToStaticMarkup as Ar } from "preact-render-to-string";
5
- import { removeTypenameFromVariables as ur } from "@apollo/client/link/remove-typename";
6
- import { orientation as hr } from "exifr/dist/mini.umd.cjs";
1
+ import { createHttpLink as sr, ApolloClient as or, from as lr, InMemoryCache as cr, gql as v } from "@apollo/client/core";
2
+ import { setContext as dr } from "@apollo/client/link/context";
3
+ import { onError as Ar } from "@apollo/client/link/error";
4
+ import { renderToStaticMarkup as ur } from "preact-render-to-string";
5
+ import { removeTypenameFromVariables as hr } from "@apollo/client/link/remove-typename";
6
+ import { orientation as mr } from "exifr/dist/mini.umd.cjs";
7
7
  import { parse as sn } from "css";
8
- import mr from "fuse.js";
8
+ import gr from "fuse.js";
9
9
  import { Pith as Aa } from "pith";
10
10
  import yt from "lodash.clonedeep";
11
11
  import { toString as on } from "qrcode";
12
- import gr from "svg-path-bbox";
12
+ import pr from "svg-path-bbox";
13
13
  import { parse as Xe } from "opentype.js";
14
14
  import { jsx as x, jsxs as ct, Fragment as Gt } from "preact/jsx-runtime";
15
- import pr from "handlebars";
16
- import { dataUriToBuffer as fr } from "data-uri-to-buffer";
15
+ import fr from "handlebars";
16
+ import { dataUriToBuffer as Cr } from "data-uri-to-buffer";
17
17
  import xa from "lodash.chunk";
18
- import { CognitoIdentityProviderClient as Cr, InitiateAuthCommand as ka, RespondToAuthChallengeCommand as wr } from "@aws-sdk/client-cognito-identity-provider";
19
- import yr from "dinero.js";
18
+ import { CognitoIdentityProviderClient as wr, InitiateAuthCommand as ka, RespondToAuthChallengeCommand as yr } from "@aws-sdk/client-cognito-identity-provider";
19
+ import Sr from "dinero.js";
20
20
  import * as Ma from "currency-codes";
21
21
  import ln from "lodash.isequal";
22
22
  import { split as Ze } from "unicode-default-word-boundary";
23
23
  import cn from "lodash.debounce";
24
24
  import "fs";
25
25
  import "path";
26
- var Ce = /* @__PURE__ */ ((r) => (r.Data = "Data", r.Font = "Font", r.Frame = "Frame", r.Illustration = "Illustration", r.Image = "Image", r.Model = "Model", r.Material = "Material", r.Color = "Color", r.QuestionnaireCollateral = "QuestionnaireCollateral", r.RequestCollateral = "RequestCollateral", r.SignupCollateral = "SignupCollateral", r.Video = "Video", r.ColorProfile = "ColorProfile", r.Environment = "Environment", r))(Ce || {}), z = /* @__PURE__ */ ((r) => (r.FileUpload = "FileUpload", r.Option = "Option", r.ColorOption = "ColorOption", r.Text = "Text", r))(z || {}), I = /* @__PURE__ */ ((r) => (r.Information = "Information", r.Bulk = "Bulk", r.DigitalContent = "DigitalContent", r.Finish = "Finish", r.Frame = "Frame", r.Illustration = "Illustration", r.Introduction = "Introduction", r.Material = "Material", r.Model = "Model", r.Module = "Module", r.Picture = "Picture", r.Photo = "Photo", r.ProductOverlay = "ProductOverlay", r.Question = "Question", r.Shape = "Shape", r.SilentIllustration = "SilentIllustration", r.Text = "Text", r))(I || {}), Sr = /* @__PURE__ */ ((r) => (r.Color = "Color", r.Colors = "Colors", r.Selection = "Selection", r.Selections = "Selections", r.Text = "Text", r.Upload = "Upload", r))(Sr || {}), Ht = /* @__PURE__ */ ((r) => (r.ThreeD = "ThreeD", r.FreeDesign = "FreeDesign", r.Print = "Print", r))(Ht || {}), M = /* @__PURE__ */ ((r) => (r.Frame = "frame", r.Group = "group", r.Image = "image", r.Pattern = "pattern", r.Illustration = "illustration", r.Textbox = "textbox", r))(M || {}), vr = /* @__PURE__ */ ((r) => (r.Default = "Default", r.FirstTransaction = "FirstTransaction", r.OneToOne = "OneToOne", r))(vr || {}), Er = /* @__PURE__ */ ((r) => (r.Hyperlink = "Hyperlink", r.Edit = "Edit", r.Approve = "Approve", r))(Er || {}), br = /* @__PURE__ */ ((r) => (r.Hub = "Hub", r.Shopify = "Shopify", r))(br || {}), ua = /* @__PURE__ */ ((r) => (r.BackgroundRemover = "BackgroundRemover", r.ConversionAccelerator = "Conversion Accelerator", r.ProcessBuilder = "ProcessBuilder", r))(ua || {}), Br = /* @__PURE__ */ ((r) => (r[r.Orbit = 0] = "Orbit", r[r.Pan = 1] = "Pan", r))(Br || {}), we = /* @__PURE__ */ ((r) => (r.Owner = "Owner", r.Approver = "Approver", r.Editor = "Editor", r.Viewer = "Viewer", r))(we || {}), kt = /* @__PURE__ */ ((r) => (r.Autosize = "Autosize", r.Traditional = "Traditional", r))(kt || {}), H = /* @__PURE__ */ ((r) => (r[r.North = 0] = "North", r[r.Northeast = 1] = "Northeast", r[r.East = 2] = "East", r[r.Southeast = 3] = "Southeast", r[r.South = 4] = "South", r[r.Southwest = 5] = "Southwest", r[r.West = 6] = "West", r[r.Northwest = 7] = "Northwest", r))(H || {}), Ir = /* @__PURE__ */ ((r) => (r.Pixel = "px", r.Millimeter = "mm", r.Centimeter = "cm", r))(Ir || {});
26
+ var Ce = /* @__PURE__ */ ((r) => (r.Data = "Data", r.Font = "Font", r.Frame = "Frame", r.Illustration = "Illustration", r.Image = "Image", r.Model = "Model", r.Material = "Material", r.Color = "Color", r.QuestionnaireCollateral = "QuestionnaireCollateral", r.RequestCollateral = "RequestCollateral", r.SignupCollateral = "SignupCollateral", r.Video = "Video", r.ColorProfile = "ColorProfile", r.Environment = "Environment", r))(Ce || {}), z = /* @__PURE__ */ ((r) => (r.FileUpload = "FileUpload", r.Option = "Option", r.ColorOption = "ColorOption", r.Text = "Text", r))(z || {}), I = /* @__PURE__ */ ((r) => (r.Information = "Information", r.Bulk = "Bulk", r.DigitalContent = "DigitalContent", r.Finish = "Finish", r.Frame = "Frame", r.Illustration = "Illustration", r.Introduction = "Introduction", r.Material = "Material", r.Model = "Model", r.Module = "Module", r.Picture = "Picture", r.Photo = "Photo", r.ProductOverlay = "ProductOverlay", r.Question = "Question", r.Shape = "Shape", r.SilentIllustration = "SilentIllustration", r.Text = "Text", r))(I || {}), vr = /* @__PURE__ */ ((r) => (r.Color = "Color", r.Colors = "Colors", r.Selection = "Selection", r.Selections = "Selections", r.Text = "Text", r.Upload = "Upload", r))(vr || {}), Ht = /* @__PURE__ */ ((r) => (r.ThreeD = "ThreeD", r.FreeDesign = "FreeDesign", r.Print = "Print", r))(Ht || {}), M = /* @__PURE__ */ ((r) => (r.Frame = "frame", r.Group = "group", r.Image = "image", r.Pattern = "pattern", r.Illustration = "illustration", r.Textbox = "textbox", r))(M || {}), Er = /* @__PURE__ */ ((r) => (r.Default = "Default", r.FirstTransaction = "FirstTransaction", r.OneToOne = "OneToOne", r))(Er || {}), br = /* @__PURE__ */ ((r) => (r.Hyperlink = "Hyperlink", r.Edit = "Edit", r.Approve = "Approve", r))(br || {}), Br = /* @__PURE__ */ ((r) => (r.Hub = "Hub", r.Shopify = "Shopify", r))(Br || {}), ua = /* @__PURE__ */ ((r) => (r.BackgroundRemover = "BackgroundRemover", r.ConversionAccelerator = "Conversion Accelerator", r.ProcessBuilder = "ProcessBuilder", r))(ua || {}), Ir = /* @__PURE__ */ ((r) => (r[r.Orbit = 0] = "Orbit", r[r.Pan = 1] = "Pan", r))(Ir || {}), we = /* @__PURE__ */ ((r) => (r.Owner = "Owner", r.Approver = "Approver", r.Editor = "Editor", r.Viewer = "Viewer", r))(we || {}), kt = /* @__PURE__ */ ((r) => (r.Autosize = "Autosize", r.Traditional = "Traditional", r))(kt || {}), H = /* @__PURE__ */ ((r) => (r[r.North = 0] = "North", r[r.Northeast = 1] = "Northeast", r[r.East = 2] = "East", r[r.Southeast = 3] = "Southeast", r[r.South = 4] = "South", r[r.Southwest = 5] = "Southwest", r[r.West = 6] = "West", r[r.Northwest = 7] = "Northwest", r))(H || {}), Pr = /* @__PURE__ */ ((r) => (r.Pixel = "px", r.Millimeter = "mm", r.Centimeter = "cm", r))(Pr || {});
27
27
  class dn extends Error {
28
28
  constructor(t) {
29
29
  super(t), this.name = this.constructor.name;
@@ -84,7 +84,7 @@ class Fe extends De {
84
84
  super(`Resource Generation Failed: ${t}`);
85
85
  }
86
86
  }
87
- class Pr {
87
+ class Dr {
88
88
  get(t) {
89
89
  return localStorage.getItem(t) || void 0;
90
90
  }
@@ -127,14 +127,14 @@ class Ta {
127
127
  this.set(t, a);
128
128
  }
129
129
  }
130
- const Dr = () => {
130
+ const Fr = () => {
131
131
  try {
132
- return localStorage ? new Pr() : new Ta();
132
+ return localStorage ? new Dr() : new Ta();
133
133
  } catch {
134
134
  return console.warn("Local storage was unavilable due to browser security settings. Using in-memory storage instead."), new Ta();
135
135
  }
136
- }, N = Dr();
137
- class Fr {
136
+ }, N = Fr();
137
+ class xr {
138
138
  constructor() {
139
139
  this.defaultServerUrl = "https://api.au.spiffcommerce.com", this.defaultServicesApiUrl = "https://services.au.spiffcommerce.com", this.defaultHubUrl = "https://hub.au.spiffcommerce.com", this.serverUrl = this.defaultServerUrl, this.servicesApiUrl = this.defaultServicesApiUrl, this.hubUrl = this.defaultHubUrl, this.serverUrlCallbacks = [];
140
140
  }
@@ -160,12 +160,12 @@ class Fr {
160
160
  this.serverUrlCallbacks.push(t);
161
161
  }
162
162
  }
163
- const mt = new Fr();
163
+ const mt = new xr();
164
164
  let ta, ea;
165
- function Mc(r) {
165
+ function Tc(r) {
166
166
  ta = r;
167
167
  }
168
- function Tc(r) {
168
+ function Nc(r) {
169
169
  ea = r;
170
170
  }
171
171
  function Xt() {
@@ -193,13 +193,13 @@ const An = /* @__PURE__ */ new Map(), Na = /* @__PURE__ */ new Map(), Qa = /* @_
193
193
  return An.set(r, ((i = n.headers) == null ? void 0 : i.get("content-type")) || ""), await n.arrayBuffer();
194
194
  })();
195
195
  return Na.set(r, a), a;
196
- }, xr = async (r) => {
196
+ }, kr = async (r) => {
197
197
  const t = Qa.get(r);
198
198
  if (t)
199
199
  return t;
200
200
  const a = (async () => await (await rt(r)).text())();
201
201
  return Qa.set(r, a), a;
202
- }, Mt = (r) => r.every((t) => t !== "undefined"), ie = (r) => Mt([typeof document]) ? document.createElement(r) : Xt().document.createElement(r), kr = (r, t) => {
202
+ }, Mt = (r) => r.every((t) => t !== "undefined"), ie = (r) => Mt([typeof document]) ? document.createElement(r) : Xt().document.createElement(r), Mr = (r, t) => {
203
203
  if (Mt([typeof document]))
204
204
  return document.createElementNS(r, t);
205
205
  const a = Xt().document.createElement(t);
@@ -209,24 +209,24 @@ const An = /* @__PURE__ */ new Map(), Na = /* @__PURE__ */ new Map(), Qa = /* @_
209
209
  return new DOMParser();
210
210
  const r = Xt();
211
211
  return new r.DOMParser();
212
- }, Mr = () => Mt([typeof DOMParser]) ? DOMParser : Xt().DOMParser, xe = (r, t) => new Promise((e, a) => {
212
+ }, Tr = () => Mt([typeof DOMParser]) ? DOMParser : Xt().DOMParser, xe = (r, t) => new Promise((e, a) => {
213
213
  t ? un(r).then(e).catch(a) : rt(r).then((n) => {
214
214
  n.arrayBuffer().then(e).catch(a);
215
215
  }).catch((n) => {
216
216
  a(n);
217
217
  });
218
218
  }), nt = (r, t) => new Promise((e, a) => {
219
- t ? xr(r).then(e).catch(a) : rt(r).then((n) => {
219
+ t ? kr(r).then(e).catch(a) : rt(r).then((n) => {
220
220
  n.text().then(e).catch(a);
221
221
  }).catch(a);
222
- }), hn = (r) => Ar(r), Oe = /* @__PURE__ */ new Map(), Tr = async (r, t) => {
222
+ }), hn = (r) => ur(r), $e = /* @__PURE__ */ new Map(), Nr = async (r, t) => {
223
223
  if (Mt([typeof FontFace])) {
224
- if (Oe.has(t))
225
- return Oe.get(t);
224
+ if ($e.has(t))
225
+ return $e.get(t);
226
226
  const e = r.names.fullName.en, a = new FontFace(e, `url(${t})`);
227
227
  document.fonts.add(a);
228
228
  const n = a.load();
229
- return Oe.set(t, n), n;
229
+ return $e.set(t, n), n;
230
230
  }
231
231
  }, bt = () => {
232
232
  if (Mt([typeof XMLSerializer]))
@@ -260,17 +260,17 @@ const An = /* @__PURE__ */ new Map(), Na = /* @__PURE__ */ new Map(), Qa = /* @_
260
260
  }
261
261
  const e = t();
262
262
  return e || "image/svg+xml";
263
- }, Nc = async (r) => {
263
+ }, Qc = async (r) => {
264
264
  const t = await un(r), e = An.get(r) || ke(t);
265
- return await Rr(new Blob([t], { type: e }));
266
- }, Nr = (r) => {
265
+ return await $r(new Blob([t], { type: e }));
266
+ }, Qr = (r) => {
267
267
  let t = "";
268
268
  const e = r.byteLength;
269
269
  for (let a = 0; a < e; a++)
270
270
  t += String.fromCharCode(r[a]);
271
271
  return t;
272
- }, Qr = async (r) => {
273
- const t = ke(r), e = new Uint8Array(r), a = Nr(e), n = btoa(a);
272
+ }, Rr = async (r) => {
273
+ const t = ke(r), e = new Uint8Array(r), a = Qr(e), n = btoa(a);
274
274
  return `data:${t};base64,${n}`;
275
275
  }, ha = (r) => `data:image/svg+xml;base64,${btoa(r)}`, mn = (r) => {
276
276
  const t = r.replace(/\r?\n/g, ""), e = t.indexOf(",");
@@ -284,7 +284,7 @@ const An = /* @__PURE__ */ new Map(), Na = /* @__PURE__ */ new Map(), Qa = /* @_
284
284
  return n ? new Uint8Array(
285
285
  atob(i).split("").map((o) => o.charCodeAt(0))
286
286
  ).buffer : new Uint8Array(i.split("").map((o) => o.charCodeAt(0))).buffer;
287
- }, Rr = (r) => new Promise((t, e) => {
287
+ }, $r = (r) => new Promise((t, e) => {
288
288
  const a = new FileReader();
289
289
  a.onload = function(n) {
290
290
  const i = n.target;
@@ -292,31 +292,31 @@ const An = /* @__PURE__ */ new Map(), Na = /* @__PURE__ */ new Map(), Qa = /* @_
292
292
  }, a.readAsDataURL(r);
293
293
  });
294
294
  let Or, ma;
295
- const $r = (r) => {
295
+ const Ur = (r) => {
296
296
  ma = r;
297
- }, Ur = () => ma;
297
+ }, Lr = () => ma;
298
298
  let gn;
299
- const Lr = (r) => {
299
+ const Vr = (r) => {
300
300
  gn = r;
301
- }, Vr = () => new Promise((r) => {
301
+ }, zr = () => new Promise((r) => {
302
302
  const t = mt.getHubUrl(), e = (a) => {
303
303
  a.origin === t && (window.removeEventListener("message", e), r(a.data));
304
304
  };
305
305
  window.parent !== window && (window.addEventListener("message", e, !1), window.parent.postMessage("ready", t));
306
- }), zr = async () => {
306
+ }), Gr = async () => {
307
307
  const r = {
308
308
  applicationKey: ma,
309
309
  customerToken: Or,
310
310
  bearer: gn
311
311
  };
312
- return typeof window < "u" && (window.location.href.includes("/workflows/product/") || window.location.href.includes("hub=true")) ? { ...await Vr(), ...r } : r;
312
+ return typeof window < "u" && (window.location.href.includes("/workflows/product/") || window.location.href.includes("hub=true")) ? { ...await zr(), ...r } : r;
313
313
  };
314
- async function Gr(r, t) {
314
+ async function Wr(r, t) {
315
315
  const e = mt.getServerUrl(), a = e.includes(".aumelbdev.spiffcommerce.com") ? "https://moonlight.aumelbdev.spiffcommerce.com" : e.includes(".us.spiffcommerce.com") ? "https://moonlight.us.spiffcommerce.com" : "https://moonlight.au.spiffcommerce.com";
316
316
  let n = await rt(r, { ...t, redirect: "manual" });
317
317
  return n.type === "opaqueredirect" && (typeof r != "string" && "url" in r ? n = await rt({ ...r, url: `${a}/graphql` }, t) : n = await rt(`${a}/graphql`, t)), n;
318
318
  }
319
- class Wr {
319
+ class qr {
320
320
  constructor() {
321
321
  this.shadowGraphqlClient = this.constructShadowGraphqlClient(), mt.addServerUrlCallback(() => {
322
322
  this.shadowGraphqlClient = this.constructShadowGraphqlClient();
@@ -329,11 +329,11 @@ class Wr {
329
329
  return this.shadowGraphqlClient;
330
330
  }
331
331
  constructShadowGraphqlClient() {
332
- const t = ir({
332
+ const t = sr({
333
333
  uri: `${mt.getServerUrl()}/graphql`,
334
- fetch: Gr
335
- }), e = cr(async (i, s) => {
336
- const { headers: o } = s, l = o || {}, c = await zr();
334
+ fetch: Wr
335
+ }), e = dr(async (i, s) => {
336
+ const { headers: o } = s, l = o || {}, c = await Gr();
337
337
  let d = s.bearer ?? c.bearer;
338
338
  if (this.spiffClient)
339
339
  try {
@@ -356,19 +356,19 @@ class Wr {
356
356
  return d && (l.Authorization = `Bearer ${d}`), A && (l.partnerId = A), u && (l.activeIntegration = u), h && (l.transactionOwnerId = h), m && (l.customerToken = m), g && (l["X-Application-Key"] = g), p && (l.bundleOwnerId = p), l["Allow-Moonlight-Redirect"] = "true", {
357
357
  headers: l
358
358
  };
359
- }), a = dr(({ operation: i, graphQLErrors: s, networkError: o }) => {
359
+ }), a = Ar(({ operation: i, graphQLErrors: s, networkError: o }) => {
360
360
  var d, A;
361
361
  const l = s || [], c = i.getContext();
362
362
  o && !((A = (d = c == null ? void 0 : c.fetchOptions) == null ? void 0 : d.signal) != null && A.aborted) && console.log("GraphQL Network error"), l.forEach(() => console.log("GraphQL Error: " + i.operationName));
363
- }), n = ur();
364
- return new sr({
365
- link: or([n, a, e, t]),
366
- cache: new lr(),
363
+ }), n = hr();
364
+ return new or({
365
+ link: lr([n, a, e, t]),
366
+ cache: new cr(),
367
367
  name: "Core"
368
368
  });
369
369
  }
370
370
  }
371
- const B = new Wr();
371
+ const B = new qr();
372
372
  let aa, na;
373
373
  const gt = (r, t, e) => {
374
374
  if (aa !== void 0)
@@ -412,31 +412,31 @@ function fn(r) {
412
412
  throw t;
413
413
  }
414
414
  }
415
- let $e;
415
+ let Oe;
416
416
  function ga() {
417
- return $e === void 0 && ($e = Mr()), $e;
417
+ return Oe === void 0 && (Oe = Tr()), Oe;
418
418
  }
419
419
  let se = null;
420
- const qr = (r) => new Promise((t) => {
420
+ const Hr = (r) => new Promise((t) => {
421
421
  if (ke(r) !== "image/jpeg")
422
422
  return t(1);
423
- hr(r).then((a) => t(a || 1)).catch(() => t(1));
424
- }), Hr = async () => {
423
+ mr(r).then((a) => t(a || 1)).catch(() => t(1));
424
+ }), jr = async () => {
425
425
  if (se !== null)
426
426
  return !se;
427
427
  const t = await Zt("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAIAAwMBEQACEQEDEQH/xABRAAEAAAAAAAAAAAAAAAAAAAAKEAEBAQADAQEAAAAAAAAAAAAGBQQDCAkCBwEBAAAAAAAAAAAAAAAAAAAAABEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AG8T9NfSMEVMhQvoP3fFiRZ+MTHDifa/95OFSZU5OzRzxkyejv8ciEfhSceSXGjS8eSdLnZc2HDm4M3BxcXwH/9k=");
428
428
  return se = t.width === 2 && t.height === 3, !se;
429
- }, jr = (r) => {
429
+ }, Yr = (r) => {
430
430
  const e = r.naturalWidth / r.naturalHeight;
431
431
  return r.naturalHeight <= 8192 && r.naturalWidth <= 8192 ? [r.naturalWidth, r.naturalHeight] : r.naturalHeight > r.naturalWidth ? [e * 8192, 8192] : [8192, 8192 / e];
432
- }, Yr = async (r) => {
432
+ }, Jr = async (r) => {
433
433
  var A;
434
- const t = await Qr(r), e = await Zt(t), [a, n] = jr(e);
435
- if (!await Hr()) {
434
+ const t = await Rr(r), e = await Zt(t), [a, n] = Yr(e);
435
+ if (!await jr()) {
436
436
  const u = gt(a, n);
437
437
  return (A = u.getContext("2d")) == null || A.drawImage(e, 0, 0, a, n), u;
438
438
  }
439
- const s = await qr(r), [o, l] = s > 4 ? [n, a] : [a, n], c = gt(o, l), d = c.getContext("2d");
439
+ const s = await Hr(r), [o, l] = s > 4 ? [n, a] : [a, n], c = gt(o, l), d = c.getContext("2d");
440
440
  switch (s) {
441
441
  case 2:
442
442
  d.translate(o, 0), d.scale(-1, 1);
@@ -462,7 +462,7 @@ const qr = (r) => new Promise((t) => {
462
462
  }
463
463
  return d.drawImage(e, 0, 0, o, l), c;
464
464
  }, Me = async (r) => {
465
- const t = await Yr(r);
465
+ const t = await Jr(r);
466
466
  return ke(r) === "image/jpeg" ? {
467
467
  dataUrl: t.toDataURL("image/jpeg", 1),
468
468
  height: t.height,
@@ -3161,16 +3161,16 @@ const qr = (r) => new Promise((t) => {
3161
3161
  parseInt(r.substring(2, 4), 16),
3162
3162
  parseInt(r.substring(4, 6), 16)
3163
3163
  ]);
3164
- function Qc(r) {
3164
+ function Rc(r) {
3165
3165
  const t = Yt.indexOf(r);
3166
3166
  return t >= 0 ? Ft[t] : "";
3167
3167
  }
3168
- function Jr(r) {
3168
+ function Kr(r) {
3169
3169
  const t = Ft.indexOf(r);
3170
3170
  return t >= 0 ? Yt[t] : "";
3171
3171
  }
3172
- function Rc(r, t = 64) {
3173
- const e = [], a = [], n = Jr(r);
3172
+ function $c(r, t = 64) {
3173
+ const e = [], a = [], n = Kr(r);
3174
3174
  n && e.push({
3175
3175
  pms: n,
3176
3176
  hex: r,
@@ -3187,23 +3187,23 @@ function Rc(r, t = 64) {
3187
3187
  a[A] <= t && !e.some((u) => u.pms === Yt[A]) && e.push({ pms: Yt[A], hex: Ft[A], distance: a[A] });
3188
3188
  return e.sort((A, u) => A.distance - u.distance);
3189
3189
  }
3190
- const Kr = Yt.map((r, t) => ({ pms: r, hex: Ft[t] })), _r = new mr(Kr, { keys: ["pms"] });
3190
+ const _r = Yt.map((r, t) => ({ pms: r, hex: Ft[t] })), Xr = new gr(_r, { keys: ["pms"] });
3191
3191
  function Oc(r, t) {
3192
- return _r.search(r, t ? { limit: t } : void 0);
3192
+ return Xr.search(r, t ? { limit: t } : void 0);
3193
3193
  }
3194
3194
  let Qt = null;
3195
- function Xr(r) {
3195
+ function Zr(r) {
3196
3196
  if (r.startsWith("#"))
3197
- return Oa(r);
3197
+ return $a(r);
3198
3198
  if (!document)
3199
3199
  throw new Error("browserColorToHex is only supported on browsers");
3200
3200
  if (Qt || (Qt = document.createElement("canvas").getContext("2d")), !Qt)
3201
3201
  throw new Error("Failed to create canvas context required to convert colors");
3202
3202
  Qt.fillStyle = r;
3203
- const t = Oa(Qt.fillStyle);
3203
+ const t = $a(Qt.fillStyle);
3204
3204
  return t || console.error(`Unknown browser color ${r}`), t;
3205
3205
  }
3206
- function Oa(r) {
3206
+ function $a(r) {
3207
3207
  const t = r.substring(1).toUpperCase();
3208
3208
  return t.length === 6 ? t : t.length === 3 ? `${t[0]}${t[0]}${t[1]}${t[1]}${t[2]}${t[2]}` : "";
3209
3209
  }
@@ -3218,7 +3218,7 @@ const oe = (r) => {
3218
3218
  return `icc-named-color(${t.slice(e + 1).slice(0, -4)}, ${r.namedColor})`;
3219
3219
  }
3220
3220
  return `icc-named-color(${r.profileName}, ${r.namedColor})`;
3221
- }, $a = (r) => {
3221
+ }, Oa = (r) => {
3222
3222
  const t = r.split(/[ ](?=[^)]*?(?:\(|$))/);
3223
3223
  if (t.length === 0)
3224
3224
  return { browserValue: "#000000" };
@@ -3232,7 +3232,7 @@ const oe = (r) => {
3232
3232
  browserValue: t[0],
3233
3233
  spotColor: { profileName: a[0], namedColor: a[1] }
3234
3234
  };
3235
- }, Zr = [
3235
+ }, ti = [
3236
3236
  "altGlyph",
3237
3237
  "circle",
3238
3238
  "ellipse",
@@ -3244,9 +3244,9 @@ const oe = (r) => {
3244
3244
  "textPath",
3245
3245
  "tref",
3246
3246
  "tspan"
3247
- ], ti = ["fill", "stroke"], xt = (r, t) => {
3247
+ ], ei = ["fill", "stroke"], xt = (r, t) => {
3248
3248
  t(r), r.children.length > 0 && Array.from(r.children).forEach((e) => xt(e, t));
3249
- }, ei = (r, t) => {
3249
+ }, ai = (r, t) => {
3250
3250
  try {
3251
3251
  return r.matches(t);
3252
3252
  } catch {
@@ -3278,7 +3278,7 @@ const oe = (r) => {
3278
3278
  const A = d.trim();
3279
3279
  if (A) {
3280
3280
  const [u, h] = A.split(":"), m = u.toLowerCase();
3281
- ti.indexOf(m) > -1 ? a.setAttribute(m, h.trim()) : l.push(A);
3281
+ ei.indexOf(m) > -1 ? a.setAttribute(m, h.trim()) : l.push(A);
3282
3282
  }
3283
3283
  }), l.length > 0 ? a.setAttribute("style", l.join(";")) : a.removeAttribute("style");
3284
3284
  }
@@ -3287,18 +3287,18 @@ const oe = (r) => {
3287
3287
  var i;
3288
3288
  (i = n.selectors) == null || i.forEach((s) => {
3289
3289
  var o;
3290
- ei(a, s) && ((o = n.declarations) == null || o.forEach((l) => {
3290
+ ai(a, s) && ((o = n.declarations) == null || o.forEach((l) => {
3291
3291
  l.property && l.value && a.setAttribute(l.property, l.value);
3292
3292
  }));
3293
3293
  });
3294
3294
  });
3295
3295
  });
3296
- }, ai = (r) => {
3296
+ }, ni = (r) => {
3297
3297
  const t = /pt|pc|mm|cm|in/gm, e = r.getAttribute("viewBox"), a = r.getAttribute("width"), n = r.getAttribute("height");
3298
3298
  if (!e)
3299
3299
  throw new Error("viewBox not specified on SVG!");
3300
3300
  a && r.setAttribute("width", a.replace(t, "")), n && r.setAttribute("height", n.replace(t, ""));
3301
- }, wn = (r) => dt().parseFromString(r, "image/svg+xml").firstElementChild, ni = (r, t, e) => {
3301
+ }, wn = (r) => dt().parseFromString(r, "image/svg+xml").firstElementChild, ri = (r, t, e) => {
3302
3302
  r.setAttribute("height", `${e}px`), r.setAttribute("width", `${t}px`);
3303
3303
  }, yn = (r, t, e) => {
3304
3304
  xt(r, (a) => {
@@ -3343,31 +3343,31 @@ const oe = (r) => {
3343
3343
  const i = wn(r);
3344
3344
  if (!i)
3345
3345
  throw new Error("Failed to read SVG.");
3346
- return ni(i, t, e), yn(i, a, n), Sn(i);
3346
+ return ri(i, t, e), yn(i, a, n), Sn(i);
3347
3347
  }, Ca = (r, t, e) => {
3348
3348
  const a = wn(r);
3349
3349
  if (!a)
3350
3350
  throw new Error("Failed to read SVG.");
3351
3351
  return yn(a, t, e), Sn(a);
3352
- }, ri = (r) => {
3352
+ }, ii = (r) => {
3353
3353
  const t = /<svg.*<\/svg>/s, e = r.match(t) || [], a = (e == null ? void 0 : e.length) > 0 ? e[0] : "";
3354
3354
  return dt().parseFromString(a, "image/svg+xml");
3355
3355
  }, lt = async (r) => {
3356
- const e = ri(r).firstElementChild;
3356
+ const e = ii(r).firstElementChild;
3357
3357
  if (!e)
3358
3358
  throw new Error("Failed to read SVG.");
3359
3359
  pa(e);
3360
3360
  const a = {};
3361
3361
  xt(e, (s) => {
3362
- Zr.includes(s.tagName) && !s.attributes.getNamedItem("fill") && s.setAttribute("fill", "black");
3362
+ ti.includes(s.tagName) && !s.attributes.getNamedItem("fill") && s.setAttribute("fill", "black");
3363
3363
  const o = s.attributes.getNamedItem("fill");
3364
3364
  if (o && o.value !== "none" && !o.value.startsWith("url(")) {
3365
- const c = $a(o.value), d = c.browserValue.replace(/\W/g, ""), A = `spiff-fill-${d}`;
3365
+ const c = Oa(o.value), d = c.browserValue.replace(/\W/g, ""), A = `spiff-fill-${d}`;
3366
3366
  s.setAttribute("fill", c.browserValue), s.classList.add(A), a[d] = c;
3367
3367
  }
3368
3368
  const l = s.attributes.getNamedItem("stroke");
3369
3369
  if (l && l.value !== "none" && !l.value.startsWith("url(")) {
3370
- const c = $a(l.value), d = c.browserValue.replace(/\W/g, ""), A = `spiff-stroke-${d}`;
3370
+ const c = Oa(l.value), d = c.browserValue.replace(/\W/g, ""), A = `spiff-stroke-${d}`;
3371
3371
  s.classList.add(A), s.setAttribute("stroke", c.browserValue), a[d] = c;
3372
3372
  }
3373
3373
  });
@@ -3376,7 +3376,7 @@ const oe = (r) => {
3376
3376
  colors: a,
3377
3377
  svg: i
3378
3378
  };
3379
- }, ii = v`
3379
+ }, si = v`
3380
3380
  fragment AssetMetadataFields on Asset {
3381
3381
  metadata {
3382
3382
  key
@@ -3384,7 +3384,7 @@ const oe = (r) => {
3384
3384
  }
3385
3385
  }
3386
3386
  `, te = (r) => v`
3387
- ${r && ii || ""}
3387
+ ${r && si || ""}
3388
3388
  fragment AssetFields on Asset {
3389
3389
  name
3390
3390
  key
@@ -3426,7 +3426,7 @@ const oe = (r) => {
3426
3426
  }
3427
3427
  ${r && "...AssetMetadataFields" || ""}
3428
3428
  }
3429
- `, si = v`
3429
+ `, oi = v`
3430
3430
  ${te(!1)}
3431
3431
  query GetAssets($keys: [String]!) {
3432
3432
  assets(keys: $keys) {
@@ -3480,14 +3480,14 @@ const oe = (r) => {
3480
3480
  fileLink
3481
3481
  }
3482
3482
  }
3483
- `, oi = v`
3483
+ `, li = v`
3484
3484
  ${wa}
3485
3485
  query GetMaterials($ids: [String]) {
3486
3486
  materials(id: $ids) {
3487
3487
  ...MaterialFields
3488
3488
  }
3489
3489
  }
3490
- `, li = v`
3490
+ `, ci = v`
3491
3491
  mutation CreateAsset($name: String!, $type: String!, $mimeType: String!, $anonymous: Boolean, $temporary: Boolean) {
3492
3492
  assetCreate(name: $name, type: $type, mimeType: $mimeType, anonymous: $anonymous, temporary: $temporary) {
3493
3493
  uploadUrl
@@ -3501,7 +3501,7 @@ const oe = (r) => {
3501
3501
  }
3502
3502
  }
3503
3503
  }
3504
- `, ci = v`
3504
+ `, di = v`
3505
3505
  ${te(!1)}
3506
3506
  mutation RemoveBackgroundFromAsset($key: String!) {
3507
3507
  assetRemoveBackground(key: $key) {
@@ -3509,22 +3509,22 @@ const oe = (r) => {
3509
3509
  }
3510
3510
  }
3511
3511
  `, ve = async (r) => (await B.getShadowGraphqlClient().query({
3512
- query: si,
3512
+ query: oi,
3513
3513
  errorPolicy: "all",
3514
3514
  fetchPolicy: "no-cache",
3515
3515
  variables: {
3516
3516
  keys: r
3517
3517
  }
3518
- })).data.assets, di = async (r) => (await B.getShadowGraphqlClient().query({
3519
- query: oi,
3518
+ })).data.assets, Ai = async (r) => (await B.getShadowGraphqlClient().query({
3519
+ query: li,
3520
3520
  errorPolicy: "all",
3521
3521
  variables: {
3522
3522
  ids: r
3523
3523
  }
3524
- })).data.materials, Ai = async (r, t, e, a, n) => {
3524
+ })).data.materials, ui = async (r, t, e, a, n) => {
3525
3525
  var s;
3526
3526
  return (s = (await B.getShadowGraphqlClient().mutate({
3527
- mutation: li,
3527
+ mutation: ci,
3528
3528
  errorPolicy: "all",
3529
3529
  fetchPolicy: "no-cache",
3530
3530
  variables: {
@@ -3536,7 +3536,7 @@ const oe = (r) => {
3536
3536
  }
3537
3537
  })).data) == null ? void 0 : s.assetCreate;
3538
3538
  };
3539
- class ui {
3539
+ class hi {
3540
3540
  constructor() {
3541
3541
  this.cache = /* @__PURE__ */ new Map(), this.bgrmProcessCache = /* @__PURE__ */ new Map(), this.materialCache = /* @__PURE__ */ new Map(), this.loadImageAsFileInfo = async (t) => {
3542
3542
  const e = await t.arrayBuffer(), a = await Me(e), n = (i, s) => {
@@ -3603,7 +3603,7 @@ class ui {
3603
3603
  async getMaterialLocalOrFromServer(t) {
3604
3604
  if (this.materialCache.has(t))
3605
3605
  return this.materialCache.get(t);
3606
- const a = (async () => (await di([t]))[0])();
3606
+ const a = (async () => (await Ai([t]))[0])();
3607
3607
  return this.materialCache.set(t, a), a;
3608
3608
  }
3609
3609
  /**
@@ -3643,7 +3643,7 @@ class ui {
3643
3643
  const n = (async () => {
3644
3644
  var s, o;
3645
3645
  const i = await B.getShadowGraphqlClient().mutate({
3646
- mutation: ci,
3646
+ mutation: di,
3647
3647
  fetchPolicy: "no-cache",
3648
3648
  errorPolicy: "all",
3649
3649
  variables: {
@@ -3679,7 +3679,7 @@ class ui {
3679
3679
  const a = await t.blob.text(), s = new window.DOMParser().parseFromString(a, "image/svg+xml").documentElement;
3680
3680
  if (!s)
3681
3681
  throw new Dt("Failed to read SVG.");
3682
- ai(s);
3682
+ ni(s);
3683
3683
  const l = bt().serializeToString(s);
3684
3684
  return {
3685
3685
  name: t.name,
@@ -3694,7 +3694,7 @@ class ui {
3694
3694
  * @param assetType The type of asset we're expecting to upload
3695
3695
  */
3696
3696
  async dispatchCreateAssetRequest(t, e, a, n) {
3697
- const i = t.blob.type ? t.blob.type : this.guessMIME(t.name), s = await Ai(t.name, e, i, a, n);
3697
+ const i = t.blob.type ? t.blob.type : this.guessMIME(t.name), s = await ui(t.name, e, i, a, n);
3698
3698
  if (s)
3699
3699
  return {
3700
3700
  assetResponse: s,
@@ -3801,8 +3801,8 @@ class J {
3801
3801
  N.setMap(Ua, t);
3802
3802
  }
3803
3803
  }
3804
- const U = new ui();
3805
- class hi {
3804
+ const U = new hi();
3805
+ class mi {
3806
3806
  constructor() {
3807
3807
  this.cache = {}, this.disabled = !1;
3808
3808
  }
@@ -3833,7 +3833,7 @@ class hi {
3833
3833
  this.disabled = t;
3834
3834
  }
3835
3835
  }
3836
- const Jt = new hi(), En = v`
3836
+ const Jt = new mi(), En = v`
3837
3837
  fragment OptionFields on Option {
3838
3838
  id
3839
3839
  name
@@ -3870,7 +3870,7 @@ const Jt = new hi(), En = v`
3870
3870
  ...AssetFields
3871
3871
  }
3872
3872
  }
3873
- `, mi = v`
3873
+ `, gi = v`
3874
3874
  ${te(!1)}
3875
3875
  ${wa}
3876
3876
  ${En}
@@ -3879,9 +3879,9 @@ const Jt = new hi(), En = v`
3879
3879
  ...OptionFields
3880
3880
  }
3881
3881
  }
3882
- `, gi = async (r) => {
3882
+ `, pi = async (r) => {
3883
3883
  const t = await B.getShadowGraphqlClient().query({
3884
- query: mi,
3884
+ query: gi,
3885
3885
  errorPolicy: "all",
3886
3886
  variables: {
3887
3887
  ids: r
@@ -3893,16 +3893,16 @@ const Jt = new hi(), En = v`
3893
3893
  i.asset && U.cacheAsset(i.asset), i.thumbnail && U.cacheAsset(i.thumbnail), i.material && U.cacheMaterial(i.material);
3894
3894
  });
3895
3895
  }), t.data.options;
3896
- }, pi = async (r, t) => (await t).find((a) => a.id === r), fi = async (r) => {
3896
+ }, fi = async (r, t) => (await t).find((a) => a.id === r), Ci = async (r) => {
3897
3897
  const t = r.map((s) => Jt.get({ id: s })), e = r.filter((s, o) => t[o] === void 0);
3898
3898
  if (e.length === 0)
3899
3899
  return Promise.all(t);
3900
- const a = gi(e), n = e.map(
3901
- (s) => Jt.set({ id: s }, pi(s, a))
3900
+ const a = pi(e), n = e.map(
3901
+ (s) => Jt.set({ id: s }, fi(s, a))
3902
3902
  ), i = t.filter((s) => s !== void 0);
3903
3903
  return await Promise.all(i.concat(n));
3904
3904
  };
3905
- class Ci {
3905
+ class wi {
3906
3906
  constructor() {
3907
3907
  this.getSelectedVariant = (t, e) => {
3908
3908
  var a;
@@ -3916,7 +3916,7 @@ class Ci {
3916
3916
  */
3917
3917
  async getOption(t) {
3918
3918
  return (async () => {
3919
- const n = (await fi([t]))[0];
3919
+ const n = (await Ci([t]))[0];
3920
3920
  if (n)
3921
3921
  return n;
3922
3922
  })();
@@ -3948,7 +3948,7 @@ class Ci {
3948
3948
  }
3949
3949
  }
3950
3950
  }
3951
- const j = new Ci(), bn = v`
3951
+ const j = new wi(), bn = v`
3952
3952
  fragment ActiveIntegrationFields on Integration {
3953
3953
  id
3954
3954
  logo
@@ -3985,7 +3985,7 @@ const j = new Ci(), bn = v`
3985
3985
  preloadImageUrl
3986
3986
  }
3987
3987
  }
3988
- `, wi = v`
3988
+ `, yi = v`
3989
3989
  ${Te}
3990
3990
  mutation CreateTransactions(
3991
3991
  $inputs: [TransactionCreateInput]!
@@ -4050,6 +4050,7 @@ const j = new Ci(), bn = v`
4050
4050
  mandatory
4051
4051
  title
4052
4052
  uniqueIdentifier
4053
+ customFieldIndex
4053
4054
  }
4054
4055
  mandatory
4055
4056
  }
@@ -4092,7 +4093,7 @@ const j = new Ci(), bn = v`
4092
4093
  precedence
4093
4094
  url
4094
4095
  }
4095
- `, yi = v`
4096
+ `, Si = v`
4096
4097
  ${Te}
4097
4098
  ${Bn}
4098
4099
  ${In}
@@ -4150,6 +4151,13 @@ const j = new Ci(), bn = v`
4150
4151
  country
4151
4152
  mobile
4152
4153
  company
4154
+ apartment
4155
+ customField1
4156
+ customField2
4157
+ customField3
4158
+ customField4
4159
+ customField5
4160
+ conversionConfigurationId
4153
4161
  }
4154
4162
  product {
4155
4163
  id
@@ -4222,6 +4230,7 @@ const j = new Ci(), bn = v`
4222
4230
  mandatory
4223
4231
  title
4224
4232
  uniqueIdentifier
4233
+ customFieldIndex
4225
4234
  }
4226
4235
  mandatory
4227
4236
  }
@@ -4250,19 +4259,37 @@ const j = new Ci(), bn = v`
4250
4259
  }
4251
4260
  }
4252
4261
  }
4253
- `, Si = v`
4262
+ `, vi = v`
4254
4263
  mutation UpdateTransactionWorkflowState($id: String!, $workflowState: String!) {
4255
4264
  transactionUpdate(id: $id, workflowState: $workflowState) {
4256
4265
  id
4257
4266
  }
4258
4267
  }
4259
- `, vi = v`
4268
+ `, Ei = v`
4260
4269
  mutation UpdateTransactionQuantity($id: String!, $quantity: Int) {
4261
4270
  transactionUpdate(id: $id, quantity: $quantity) {
4262
4271
  id
4263
4272
  }
4264
4273
  }
4265
- `, Ei = v`
4274
+ `, bi = v`
4275
+ query ReadConversionConfigurationQuery($id: String!) {
4276
+ conversionConfiguration(id: $id) {
4277
+ id
4278
+ partnerId
4279
+ name
4280
+ locations
4281
+ requestedData
4282
+ requestedDataItems {
4283
+ type
4284
+ mandatory
4285
+ title
4286
+ uniqueIdentifier
4287
+ customFieldIndex
4288
+ }
4289
+ mandatory
4290
+ }
4291
+ }
4292
+ `, Bi = v`
4266
4293
  query ReadTransactionForDesignCreation($id: String!) {
4267
4294
  transactions(ids: [$id]) {
4268
4295
  id
@@ -4291,6 +4318,7 @@ const j = new Ci(), bn = v`
4291
4318
  mandatory
4292
4319
  title
4293
4320
  uniqueIdentifier
4321
+ customFieldIndex
4294
4322
  }
4295
4323
  mandatory
4296
4324
  }
@@ -4331,7 +4359,7 @@ const j = new Ci(), bn = v`
4331
4359
  workflowViewerReadOnlyLink
4332
4360
  }
4333
4361
  }
4334
- `, bi = v`
4362
+ `, Ii = v`
4335
4363
  ${In}
4336
4364
  query ReadTransactionForShareActions($id: String!) {
4337
4365
  transactions(ids: [$id]) {
@@ -4432,14 +4460,14 @@ const j = new Ci(), bn = v`
4432
4460
  ` : ""}
4433
4461
  }
4434
4462
  }
4435
- `, Bi = (r) => v`
4463
+ `, Pi = (r) => v`
4436
4464
  ${Dn(r)}
4437
4465
  query GetIntegrationProducts($ids: [String!]!) {
4438
4466
  integrationProducts(ids: $ids) {
4439
4467
  ...IntegrationProductFields
4440
4468
  }
4441
4469
  }
4442
- `, Ii = (r) => v`
4470
+ `, Di = (r) => v`
4443
4471
  ${Dn(r)}
4444
4472
  query GetIntegrationProductFromExternalIds($externalIntegrationId: String!, $externalProductId: String!) {
4445
4473
  integrationProductFromExternalIds(
@@ -4449,7 +4477,7 @@ const j = new Ci(), bn = v`
4449
4477
  ...IntegrationProductFields
4450
4478
  }
4451
4479
  }
4452
- `, Pi = v`
4480
+ `, Fi = v`
4453
4481
  ${Bn}
4454
4482
  query ReadTransactionForStakeholders($id: String!) {
4455
4483
  transactions(ids: [$id]) {
@@ -4461,11 +4489,11 @@ const j = new Ci(), bn = v`
4461
4489
  }
4462
4490
  }
4463
4491
  }
4464
- `, Di = v`
4492
+ `, xi = v`
4465
4493
  mutation FinalizeUpdateTransaction($transactionId: String!) {
4466
4494
  transactionFinalizeUpdate(transactionId: $transactionId)
4467
4495
  }
4468
- `, Fi = v`
4496
+ `, ki = v`
4469
4497
  fragment RegionFields on Region {
4470
4498
  width
4471
4499
  top
@@ -4483,7 +4511,7 @@ const j = new Ci(), bn = v`
4483
4511
  height
4484
4512
  }
4485
4513
  }
4486
- `, xi = v`
4514
+ `, Mi = v`
4487
4515
  fragment LookAtAnimationFields on LookAtAnimation {
4488
4516
  latDeg
4489
4517
  lonDeg
@@ -4494,7 +4522,7 @@ const j = new Ci(), bn = v`
4494
4522
  z
4495
4523
  }
4496
4524
  }
4497
- `, ki = v`
4525
+ `, Ti = v`
4498
4526
  fragment RenderingPipelineConfigurationFields on RenderingPipelineConfiguration {
4499
4527
  antiAliasing {
4500
4528
  samples
@@ -4578,21 +4606,21 @@ const j = new Ci(), bn = v`
4578
4606
  weight
4579
4607
  }
4580
4608
  }
4581
- `, Mi = v`
4609
+ `, Ni = v`
4582
4610
  fragment ModelAnimationFields on ModelAnimation {
4583
4611
  from
4584
4612
  to
4585
4613
  loop
4586
4614
  name
4587
4615
  }
4588
- `, Ti = (r) => v`
4616
+ `, Qi = (r) => v`
4589
4617
  ${te(r)}
4590
4618
  ${wa}
4591
4619
  ${En}
4592
- ${Fi}
4593
- ${xi}
4594
4620
  ${ki}
4595
4621
  ${Mi}
4622
+ ${Ti}
4623
+ ${Ni}
4596
4624
  query GetWorkflows($ids: [String!]!) {
4597
4625
  workflows(ids: $ids) {
4598
4626
  partner {
@@ -4987,7 +5015,7 @@ const j = new Ci(), bn = v`
4987
5015
  }
4988
5016
  }
4989
5017
  }
4990
- `, Ni = v`
5018
+ `, Ri = v`
4991
5019
  query GetTransactionForPartner($id: String!) {
4992
5020
  transactions(ids: [$id]) {
4993
5021
  id
@@ -5005,7 +5033,7 @@ const j = new Ci(), bn = v`
5005
5033
  }
5006
5034
  }
5007
5035
  }
5008
- `, Qi = v`
5036
+ `, $i = v`
5009
5037
  ${te(!1)}
5010
5038
  query GetWorkflowForTheme($id: String!) {
5011
5039
  workflow(id: $id) {
@@ -5052,6 +5080,7 @@ const j = new Ci(), bn = v`
5052
5080
  mandatory
5053
5081
  title
5054
5082
  uniqueIdentifier
5083
+ customFieldIndex
5055
5084
  }
5056
5085
  mandatory
5057
5086
  }
@@ -5104,14 +5133,14 @@ const j = new Ci(), bn = v`
5104
5133
  }
5105
5134
  }
5106
5135
  }
5107
- `, Ri = v`
5136
+ `, Oi = v`
5108
5137
  ${Ne}
5109
5138
  query GetMarketplaceThemeInstallConfiguration($themeConfigurationId: String!, $themeInstallId: String!) {
5110
5139
  marketplaceThemeInstallConfiguration(id: $themeConfigurationId, themeInstallId: $themeInstallId, raw: false) {
5111
5140
  ...MarketplaceThemeInstallConfigurationFields
5112
5141
  }
5113
5142
  }
5114
- `, Oi = v`
5143
+ `, Ui = v`
5115
5144
  ${bn}
5116
5145
  ${Ne}
5117
5146
  query GetCurrentIntegration($themeConfigurationId: String) {
@@ -5124,7 +5153,7 @@ const j = new Ci(), bn = v`
5124
5153
  ...ActiveIntegrationFields
5125
5154
  }
5126
5155
  }
5127
- `, $i = v`
5156
+ `, Li = v`
5128
5157
  ${Ne}
5129
5158
  query ReadTransactionForMarketplaceTheme($id: String!) {
5130
5159
  transactions(ids: [$id]) {
@@ -5133,7 +5162,7 @@ const j = new Ci(), bn = v`
5133
5162
  }
5134
5163
  }
5135
5164
  }
5136
- `, Ui = v`
5165
+ `, Vi = v`
5137
5166
  ${Ne}
5138
5167
  query ReadBundleForMarketplaceTheme($id: String!) {
5139
5168
  bundles(ids: [$id]) {
@@ -5142,14 +5171,14 @@ const j = new Ci(), bn = v`
5142
5171
  }
5143
5172
  }
5144
5173
  }
5145
- `, Li = v`
5174
+ `, zi = v`
5146
5175
  mutation CreateOrder($orderItems: [OrderItemInput]!) {
5147
5176
  orderCreate(orderItems: $orderItems, paid: false, generateInternalId: true) {
5148
5177
  id
5149
5178
  internalId
5150
5179
  }
5151
5180
  }
5152
- `, Vi = v`
5181
+ `, Gi = v`
5153
5182
  query CurrencyConversion($from: String!, $to: String!) {
5154
5183
  currencyConversion(from: $from, to: $to) {
5155
5184
  rateFrom
@@ -5157,7 +5186,7 @@ const j = new Ci(), bn = v`
5157
5186
  timestamp
5158
5187
  }
5159
5188
  }
5160
- `, Ot = [I.SilentIllustration, I.ProductOverlay], zi = async (r) => {
5189
+ `, $t = [I.SilentIllustration, I.ProductOverlay], Wi = async (r) => {
5161
5190
  const t = [];
5162
5191
  r.introduction && t.push({
5163
5192
  name: "Introduction",
@@ -5175,21 +5204,21 @@ const j = new Ci(), bn = v`
5175
5204
  silentSteps: []
5176
5205
  });
5177
5206
  for (const a of r.steps) {
5178
- const n = Gi(a.stepName, r.stepGroups);
5207
+ const n = qi(a.stepName, r.stepGroups);
5179
5208
  if (!n)
5180
5209
  t.push({
5181
5210
  name: a.stepName,
5182
5211
  title: a.stepTitle,
5183
- renderableSteps: Ot.includes(a.type) ? [] : [a],
5184
- silentSteps: Ot.includes(a.type) ? [a] : []
5212
+ renderableSteps: $t.includes(a.type) ? [] : [a],
5213
+ silentSteps: $t.includes(a.type) ? [a] : []
5185
5214
  });
5186
5215
  else {
5187
5216
  const i = t.find((s) => s.name === n.name);
5188
- i ? Ot.includes(a.type) ? i.silentSteps.push(a) : i.renderableSteps.push(a) : t.push({
5217
+ i ? $t.includes(a.type) ? i.silentSteps.push(a) : i.renderableSteps.push(a) : t.push({
5189
5218
  name: n.name,
5190
5219
  title: n.name,
5191
- renderableSteps: Ot.includes(a.type) ? [] : [a],
5192
- silentSteps: Ot.includes(a.type) ? [a] : []
5220
+ renderableSteps: $t.includes(a.type) ? [] : [a],
5221
+ silentSteps: $t.includes(a.type) ? [a] : []
5193
5222
  });
5194
5223
  }
5195
5224
  }
@@ -5212,7 +5241,7 @@ const j = new Ci(), bn = v`
5212
5241
  ],
5213
5242
  silentSteps: []
5214
5243
  }), t;
5215
- }, Gi = (r, t) => t.find((e) => e.stepNames.includes(r)), wt = (r, t) => (r.conditions || []).every((e) => {
5244
+ }, qi = (r, t) => t.find((e) => e.stepNames.includes(r)), wt = (r, t) => (r.conditions || []).every((e) => {
5216
5245
  const a = t[e.targetStepName];
5217
5246
  if (a && a.selectedVariants) {
5218
5247
  const n = a.selectedVariants;
@@ -5221,7 +5250,7 @@ const j = new Ci(), bn = v`
5221
5250
  );
5222
5251
  }
5223
5252
  return !1;
5224
- }), Wi = (r, t) => {
5253
+ }), Hi = (r, t) => {
5225
5254
  const e = {
5226
5255
  name: r.name,
5227
5256
  title: r.title,
@@ -5229,7 +5258,7 @@ const j = new Ci(), bn = v`
5229
5258
  silentSteps: r.silentSteps.filter((a) => wt(a, t))
5230
5259
  };
5231
5260
  return e.silentSteps.length === 0 && e.renderableSteps.length === 0 ? null : e;
5232
- }, Pt = (r, t) => r.map((e) => Wi(e, t)).filter((e) => e !== null), qi = async (r, t, e = !1) => {
5261
+ }, Pt = (r, t) => r.map((e) => Hi(e, t)).filter((e) => e !== null), ji = async (r, t, e = !1) => {
5233
5262
  var s;
5234
5263
  const a = Pt(r, t), n = [];
5235
5264
  for (const o of a)
@@ -5324,7 +5353,7 @@ class xn {
5324
5353
  const Q = () => {
5325
5354
  const r = () => Math.floor((1 + Math.random()) * 65536).toString(16).substring(1);
5326
5355
  return r() + r() + "-" + r() + "-" + r() + "-" + r() + "-" + r() + r() + r();
5327
- }, Hi = ({
5356
+ }, Yi = ({
5328
5357
  backgroundColor: r,
5329
5358
  outlineColor: t,
5330
5359
  borderRadius: e,
@@ -5425,7 +5454,7 @@ const Q = () => {
5425
5454
  ]
5426
5455
  }
5427
5456
  );
5428
- }, $c = (r, t, e, a, n) => {
5457
+ }, Uc = (r, t, e, a, n) => {
5429
5458
  const i = pt(n), s = e / 2, o = a / 2, l = r + s, c = t + o, d = Math.sin(i), A = Math.cos(i), u = s, h = s, m = -o, g = o, p = u * A - m * d, f = h * A - g * d, C = u * d + m * A, w = h * d + g * A, S = Math.max(Math.abs(p), Math.abs(f)), y = Math.max(Math.abs(C), Math.abs(w));
5430
5459
  return {
5431
5460
  minX: l - S,
@@ -5433,25 +5462,25 @@ const Q = () => {
5433
5462
  minY: c - y,
5434
5463
  maxY: c + y
5435
5464
  };
5436
- }, Uc = (r, t, e) => {
5465
+ }, Lc = (r, t, e) => {
5437
5466
  const a = Math.sqrt(Math.pow(t.x - r.x, 2) + Math.pow(t.y - r.y, 2)), n = Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)), i = Math.sqrt(Math.pow(e.x - r.x, 2) + Math.pow(e.y - r.y, 2));
5438
5467
  return Math.acos((n * n + a * a - i * i) / (2 * n * a)) * (180 / Math.PI);
5439
- }, pt = (r) => r * (Math.PI / 180), Lc = (r, t, e) => Math.abs(r - t) < e, Vc = (r, t, e) => {
5468
+ }, pt = (r) => r * (Math.PI / 180), Vc = (r, t, e) => Math.abs(r - t) < e, zc = (r, t, e) => {
5440
5469
  const a = Math.sin(pt(e)), n = Math.cos(pt(e));
5441
5470
  return {
5442
5471
  x: (r.x - t.x) * n - (r.y - t.y) * a + t.x,
5443
5472
  y: (r.x - t.x) * a + (r.y - t.y) * n + t.y
5444
5473
  };
5445
- }, zc = (r, t) => ({
5474
+ }, Gc = (r, t) => ({
5446
5475
  x: (r.x + t.x) / 2,
5447
5476
  y: (r.y + t.y) / 2
5448
- }), Gc = (r, t, e, a) => ({
5477
+ }), Wc = (r, t, e, a) => ({
5449
5478
  x: r.x + (t == null ? void 0 : t.x) * e,
5450
5479
  y: r.y + (t == null ? void 0 : t.y) * a
5451
- }), Wc = (r, t, e, a) => ({
5480
+ }), qc = (r, t, e, a) => ({
5452
5481
  x: r.x + ((t == null ? void 0 : t.x) + (t == null ? void 0 : t.width)) * e,
5453
5482
  y: r.y + (t == null ? void 0 : t.y) * a
5454
- }), qc = (r, t, e, a) => ({
5483
+ }), Hc = (r, t, e, a) => ({
5455
5484
  x: r.x + ((t == null ? void 0 : t.x) + (t == null ? void 0 : t.width)) * e,
5456
5485
  y: r.y + ((t == null ? void 0 : t.y) + (t == null ? void 0 : t.height)) * a
5457
5486
  }), It = (r) => {
@@ -5473,7 +5502,7 @@ const Q = () => {
5473
5502
  case H.Southwest:
5474
5503
  return H.Northwest;
5475
5504
  }
5476
- }, Hc = (r, t) => t > 45 && t <= 135 ? It(r) : t > 135 && t <= 225 ? It(It(r)) : t > 225 && t <= 315 ? It(It(It(r))) : r, jc = (r, t = { x: 0, y: 0 }, e = { x: 1, y: 1 }) => {
5505
+ }, jc = (r, t) => t > 45 && t <= 135 ? It(r) : t > 135 && t <= 225 ? It(It(r)) : t > 225 && t <= 315 ? It(It(It(r))) : r, Yc = (r, t = { x: 0, y: 0 }, e = { x: 1, y: 1 }) => {
5477
5506
  const a = pt(r.rotation), n = {
5478
5507
  x: t.x + r.x * e.x,
5479
5508
  y: t.x + r.y * e.y
@@ -5503,7 +5532,7 @@ const Q = () => {
5503
5532
  x: (r.x - t.x) * n - (r.y - t.y) * a + t.x,
5504
5533
  y: (r.x - t.x) * a + (r.y - t.y) * n + t.y
5505
5534
  };
5506
- }, Yc = 0.352778, Jc = 0.035277, kn = (r) => {
5535
+ }, Jc = 0.352778, Kc = 0.035277, kn = (r) => {
5507
5536
  const t = r.rotation || 0, e = pt(t), a = Math.cos(e), n = -Math.sin(e);
5508
5537
  return /* @__PURE__ */ x("g", { mask: r.stepName || r.productOverlay ? void 0 : r.mask, children: /* @__PURE__ */ x(
5509
5538
  "g",
@@ -5557,7 +5586,7 @@ const Q = () => {
5557
5586
  }
5558
5587
  )
5559
5588
  ] });
5560
- }, ji = (r) => {
5589
+ }, Ji = (r) => {
5561
5590
  const t = `spiff-frame-${r.id}`, e = `spiff-frame-threshold-${r.id}`, a = () => {
5562
5591
  if (!r.pattern)
5563
5592
  return "";
@@ -5650,7 +5679,7 @@ const Q = () => {
5650
5679
  )
5651
5680
  ] });
5652
5681
  }, Tn = /* @__PURE__ */ new Map();
5653
- class Yi {
5682
+ class Ki {
5654
5683
  constructor(t) {
5655
5684
  this.font = t, this.glyphsFromText = /* @__PURE__ */ new Map(), this.kerningValues = /* @__PURE__ */ new Map(), this.height = this.calculateApproximateHeight();
5656
5685
  }
@@ -5700,24 +5729,24 @@ class Yi {
5700
5729
  }), a - n;
5701
5730
  }
5702
5731
  }
5703
- const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @__PURE__ */ new Map(), Tt = async (r) => {
5732
+ const _i = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @__PURE__ */ new Map(), Tt = async (r) => {
5704
5733
  if (Le.has(r))
5705
5734
  return Le.get(r);
5706
5735
  const e = (async () => {
5707
5736
  try {
5708
5737
  return vt(r).getFont();
5709
5738
  } catch {
5710
- if (Ji(r)) {
5739
+ if (_i(r)) {
5711
5740
  const a = mn(r), n = Xe(a);
5712
5741
  return ra(r, n), n;
5713
5742
  } else {
5714
5743
  const a = await xe(r, !0), n = Xe(a);
5715
- return ra(r, n), await Tr(n, r), n;
5744
+ return ra(r, n), await Nr(n, r), n;
5716
5745
  }
5717
5746
  }
5718
5747
  })();
5719
5748
  return Le.set(r, e), e;
5720
- }, Ki = (r) => {
5749
+ }, Xi = (r) => {
5721
5750
  const t = mn(r), e = Xe(t);
5722
5751
  return ra(r, e), e;
5723
5752
  }, vt = (r) => {
@@ -5726,9 +5755,9 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
5726
5755
  return t;
5727
5756
  throw new Error("Font metrics unavailable for font");
5728
5757
  }, ra = (r, t) => {
5729
- const e = new Yi(t);
5758
+ const e = new Ki(t);
5730
5759
  return Tn.set(r, e), e;
5731
- }, Kc = async (r) => {
5760
+ }, _c = async (r) => {
5732
5761
  const t = dt(), e = t.parseFromString(r, "image/svg+xml"), a = e.firstElementChild, n = /* @__PURE__ */ new Map();
5733
5762
  a.querySelectorAll("style").forEach((d) => {
5734
5763
  var u;
@@ -5764,7 +5793,7 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
5764
5793
  h.appendChild(F);
5765
5794
  }
5766
5795
  return e.querySelectorAll("text").forEach((d) => d.remove()), bt().serializeToString(a);
5767
- }, Ee = (r, t, e, a) => Math.max(ts(r.join(`
5796
+ }, Ee = (r, t, e, a) => Math.max(as(r.join(`
5768
5797
  `), e, a), t), La = (r, t, e, a, n, i) => {
5769
5798
  const s = (i || ya) * n.getApproximateHeight(), o = t.split(`
5770
5799
  `);
@@ -5816,10 +5845,10 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
5816
5845
  if (l < 0)
5817
5846
  throw new Error(`No max width calculated for text: ${o}.`);
5818
5847
  return { lines: o, width: l };
5819
- }, _i = (r, t, e, a, n, i) => {
5848
+ }, Zi = (r, t, e, a, n, i) => {
5820
5849
  const s = (i ?? ya) * t.getApproximateHeight(), o = 1 / e.unitsPerEm, l = Nn(r, o, t), c = r.length * s * o, d = a / l, A = n / c;
5821
5850
  return Math.min(A, d);
5822
- }, Xi = (r, t, e, a) => {
5851
+ }, ts = (r, t, e, a) => {
5823
5852
  var c;
5824
5853
  const n = vt(t.fontData.assetUrl), i = n.getFont(), s = t.fontSize / i.unitsPerEm;
5825
5854
  if (!e)
@@ -5839,13 +5868,13 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
5839
5868
  lines: o,
5840
5869
  requiredHeight: t.height,
5841
5870
  requiredWidth: Ee(o, t.width, s, n),
5842
- fontSize: _i(o, n, i, t.width, t.height, a)
5871
+ fontSize: Zi(o, n, i, t.width, t.height, a)
5843
5872
  } : La(t, r, t.fontSize, s, n, a);
5844
- }, Zi = (r, t, e, a, n) => {
5873
+ }, es = (r, t, e, a, n) => {
5845
5874
  const s = vt(t.assetUrl).getFont();
5846
5875
  let o = { ...r };
5847
5876
  const l = { ...r }, c = Nn(a, e / s.unitsPerEm, vt(t.assetUrl));
5848
- return c && c < o.width && (l.width = c, n === "left" ? (l.left += Math.sin(o.rotation * Math.PI / 360) * (o.width - c), l.top += Math.sin(o.rotation * Math.PI / 180) * (c - o.width) / 2) : n === "right" ? l.left += o.width - c : l.left += (o.width - c) / 2, a && es(a, a).every(([d, A]) => d === A) && (o = l)), o;
5877
+ return c && c < o.width && (l.width = c, n === "left" ? (l.left += Math.sin(o.rotation * Math.PI / 360) * (o.width - c), l.top += Math.sin(o.rotation * Math.PI / 180) * (c - o.width) / 2) : n === "right" ? l.left += o.width - c : l.left += (o.width - c) / 2, a && ns(a, a).every(([d, A]) => d === A) && (o = l)), o;
5849
5878
  }, Ve = 1, ht = (r, t, e) => {
5850
5879
  let a = 0;
5851
5880
  const n = e.getGlyphs(r);
@@ -5855,7 +5884,7 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
5855
5884
  a += o || 0;
5856
5885
  }
5857
5886
  }), a *= t, a;
5858
- }, ts = (r, t, e) => {
5887
+ }, as = (r, t, e) => {
5859
5888
  let a = 0;
5860
5889
  const n = e.getGlyphs(r);
5861
5890
  return n.forEach((i, s) => {
@@ -5878,11 +5907,11 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
5878
5907
  let a = r || "";
5879
5908
  return e.stripControlCharacters && (a = a.replace(/^(?![\u000A\u000D])[\u0000-\u001F\u007F-\u009F]/g, "")), e.uppercase && (a = a.toUpperCase()), e.vertical && (a = a.split("").join(`
5880
5909
  `)), a;
5881
- }, es = (r, t) => r.map((e, a) => [e, t[a]]), as = (r = "center", t = !1) => t ? "center" : r, Qn = (r) => r === "left" ? "start" : r === "right" ? "end" : "middle", ee = (r, t, e) => r.fontData ? {
5910
+ }, ns = (r, t) => r.map((e, a) => [e, t[a]]), rs = (r = "center", t = !1) => t ? "center" : r, Qn = (r) => r === "left" ? "start" : r === "right" ? "end" : "middle", ee = (r, t, e) => r.fontData ? {
5882
5911
  ...r,
5883
5912
  ...(() => {
5884
5913
  if (r.algorithm === kt.Traditional) {
5885
- const n = Xi(t, r, e, r.lineHeight);
5914
+ const n = ts(t, r, e, r.lineHeight);
5886
5915
  return {
5887
5916
  text: n.lines.join(`
5888
5917
  `),
@@ -5896,12 +5925,12 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
5896
5925
  text: t
5897
5926
  };
5898
5927
  })()
5899
- } : r, ya = 1.1, ns = (r) => {
5928
+ } : r, ya = 1.1, is = (r) => {
5900
5929
  var m, g, p, f, C;
5901
5930
  const e = (r.rotation || 0) * Math.PI / 180, a = Math.cos(e), n = -Math.sin(e), i = `text-path-${r.id}`, s = `text-fill-${r.id}`, o = r.x + (r.curved ? 0 : r.width / 2), l = r.y + (r.curved ? 0 : r.height / 2);
5902
5931
  let c = "";
5903
5932
  try {
5904
- c = pr.compile(r.text || "")((m = r._renderingConfiguration) == null ? void 0 : m.templatingContext);
5933
+ c = fr.compile(r.text || "")((m = r._renderingConfiguration) == null ? void 0 : m.templatingContext);
5905
5934
  } catch {
5906
5935
  c = r.text ?? "";
5907
5936
  }
@@ -5967,8 +5996,8 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
5967
5996
  },
5968
5997
  stroke: A,
5969
5998
  strokeWidth: u,
5970
- children: r.curved ? /* @__PURE__ */ x(is, { text: c, curvedPathId: i, align: r.align }) : d.map((w, S) => /* @__PURE__ */ x(
5971
- rs,
5999
+ children: r.curved ? /* @__PURE__ */ x(os, { text: c, curvedPathId: i, align: r.align }) : d.map((w, S) => /* @__PURE__ */ x(
6000
+ ss,
5972
6001
  {
5973
6002
  align: r.vertical ? "center" : r.align,
5974
6003
  fontSize: r.fontSize,
@@ -5986,7 +6015,7 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
5986
6015
  }
5987
6016
  ) }) })
5988
6017
  ] });
5989
- }, rs = (r) => {
6018
+ }, ss = (r) => {
5990
6019
  const t = () => r.lineHeight !== void 0 ? r.lineHeight : ya, e = () => r.align === "left" ? -r.textboxWidth / 2 : r.align === "right" ? r.textboxWidth / 2 : 0, a = () => {
5991
6020
  const n = r.fontSize * t(), i = r.textboxHeight / 2;
5992
6021
  if (r.verticalAlign === "top")
@@ -5999,7 +6028,7 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
5999
6028
  return (r.thisLineIdx - s) * n + r.fontSize / 4;
6000
6029
  };
6001
6030
  return /* @__PURE__ */ x("tspan", { textAnchor: Qn(r.align), x: e(), y: `${a()}px`, children: r.text });
6002
- }, is = (r) => {
6031
+ }, os = (r) => {
6003
6032
  const t = `#${r.curvedPathId}`;
6004
6033
  return /* @__PURE__ */ x(
6005
6034
  "textPath",
@@ -6011,7 +6040,7 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
6011
6040
  children: r.text
6012
6041
  }
6013
6042
  );
6014
- }, ss = (r) => {
6043
+ }, ls = (r) => {
6015
6044
  var s, o;
6016
6045
  if (r.cachedObjectURL && !((s = r._renderingConfiguration) != null && s.omitCachedFields))
6017
6046
  return /* @__PURE__ */ x(
@@ -6055,7 +6084,7 @@ const Ji = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Le = /* @_
6055
6084
  }
6056
6085
  ) });
6057
6086
  };
6058
- class os {
6087
+ class cs {
6059
6088
  constructor() {
6060
6089
  this.id = Q(), this.stateCallbacks = [], this.prevCommands = [], this.nextCommands = [];
6061
6090
  }
@@ -6147,10 +6176,10 @@ class os {
6147
6176
  return { ...t, transaction: e.apply(a) };
6148
6177
  }
6149
6178
  }
6150
- const Rn = (r) => r.type === M.Image ? /* @__PURE__ */ x(kn, { ...r }, r.id) : r.type === M.Frame ? /* @__PURE__ */ x(ji, { ...r }, r.id) : r.type === M.Illustration ? /* @__PURE__ */ x(ss, { ...r }, r.id) : r.type === M.Textbox ? /* @__PURE__ */ x(ns, { ...r }, r.id) : r.type === M.Group ? /* @__PURE__ */ x(Mn, { ...r }, r.id) : null, Sa = (r, t, e) => {
6179
+ const Rn = (r) => r.type === M.Image ? /* @__PURE__ */ x(kn, { ...r }, r.id) : r.type === M.Frame ? /* @__PURE__ */ x(Ji, { ...r }, r.id) : r.type === M.Illustration ? /* @__PURE__ */ x(ls, { ...r }, r.id) : r.type === M.Textbox ? /* @__PURE__ */ x(is, { ...r }, r.id) : r.type === M.Group ? /* @__PURE__ */ x(Mn, { ...r }, r.id) : null, Sa = (r, t, e) => {
6151
6180
  const a = e.renderingConfiguration, n = a != null && a.removeExcludedElements ? t.filter((i) => !i.excludeFromExport) : t;
6152
6181
  return /* @__PURE__ */ x(
6153
- Hi,
6182
+ Yi,
6154
6183
  {
6155
6184
  preserveAspectRatio: void 0,
6156
6185
  elements: n,
@@ -6197,7 +6226,7 @@ const ae = (r) => {
6197
6226
  if (r.defaultVariant !== void 0)
6198
6227
  return t.find((e) => e.id === r.defaultVariant);
6199
6228
  }
6200
- }, At = /* @__PURE__ */ new Map(), Vt = /* @__PURE__ */ new Map(), ze = /* @__PURE__ */ new Map(), On = async (r, t) => {
6229
+ }, At = /* @__PURE__ */ new Map(), Vt = /* @__PURE__ */ new Map(), ze = /* @__PURE__ */ new Map(), $n = async (r, t) => {
6201
6230
  if (!t) {
6202
6231
  if (!r)
6203
6232
  throw new Error("No region or src supplied. Cannot construct frame!");
@@ -6210,7 +6239,7 @@ const ae = (r) => {
6210
6239
  <path id="target-path" d='M0 0 h ${t} v ${e} h ${-t} Z' />
6211
6240
  </svg>
6212
6241
  `;
6213
- }, ls = (r, t) => {
6242
+ }, ds = (r, t) => {
6214
6243
  var a;
6215
6244
  if (!t)
6216
6245
  return;
@@ -6274,7 +6303,7 @@ const ae = (r) => {
6274
6303
  if (At.has(r))
6275
6304
  return At.get(r);
6276
6305
  if (r.startsWith("data:image/svg+xml")) {
6277
- const a = fr(r), n = new TextDecoder().decode(a.buffer), i = $n(n), s = {
6306
+ const a = Cr(r), n = new TextDecoder().decode(a.buffer), i = On(n), s = {
6278
6307
  src: r,
6279
6308
  width: i.width,
6280
6309
  height: i.height,
@@ -6301,8 +6330,8 @@ const ae = (r) => {
6301
6330
  }
6302
6331
  }, ba = async (r) => {
6303
6332
  const t = await nt(r);
6304
- return $n(t);
6305
- }, za = (r) => r.endsWith("mm") ? Number(r.replace("mm", "")) * 3.7795275591 : r.endsWith("px") ? Number(r.replace("px", "")) : Number(r), $n = (r) => {
6333
+ return On(t);
6334
+ }, za = (r) => r.endsWith("mm") ? Number(r.replace("mm", "")) * 3.7795275591 : r.endsWith("px") ? Number(r.replace("px", "")) : Number(r), On = (r) => {
6306
6335
  const a = dt().parseFromString(r, "image/svg+xml").querySelector("svg");
6307
6336
  if (!a)
6308
6337
  throw new Error("No svg tag found, this svg must be malformed!");
@@ -6313,7 +6342,7 @@ const ae = (r) => {
6313
6342
  width: o[2],
6314
6343
  height: o[3]
6315
6344
  };
6316
- }, $t = (r, t) => {
6345
+ }, Ot = (r, t) => {
6317
6346
  const e = r.layoutState.elements.filter((n) => n.layer === t), a = Math.max(...e.map((n) => n.layerIndex).filter((n) => n !== void 0));
6318
6347
  return Math.max(a, 0) + 1;
6319
6348
  }, Un = async (r) => new Promise((t) => {
@@ -6387,9 +6416,9 @@ const ae = (r) => {
6387
6416
  }
6388
6417
  return o;
6389
6418
  };
6390
- class _c {
6419
+ class Xc {
6391
6420
  static async getFrame(t, e) {
6392
- const a = await On(e.region, e.src), n = await Qe(a), i = e.region || await Ut(t, M.Frame);
6421
+ const a = await $n(e.region, e.src), n = await Qe(a), i = e.region || await Ut(t, M.Frame);
6393
6422
  return {
6394
6423
  id: Q(),
6395
6424
  x: i.left,
@@ -6397,7 +6426,7 @@ class _c {
6397
6426
  width: i.width,
6398
6427
  height: i.height,
6399
6428
  layer: i.layer || 0,
6400
- layerIndex: i.layerIndex || $t(t, i.layer || 0),
6429
+ layerIndex: i.layerIndex || Ot(t, i.layer || 0),
6401
6430
  rotation: i.rotation,
6402
6431
  scaleX: i.width / n.width,
6403
6432
  scaleY: i.height / n.height,
@@ -6426,7 +6455,7 @@ class _c {
6426
6455
  width: a.width,
6427
6456
  height: a.height,
6428
6457
  layer: a.layer || 0,
6429
- layerIndex: a.layerIndex || $t(t, a.layer || 0),
6458
+ layerIndex: a.layerIndex || Ot(t, a.layer || 0),
6430
6459
  immutable: a.immutable,
6431
6460
  preserveAspectRatio: "none"
6432
6461
  };
@@ -6450,12 +6479,12 @@ class _c {
6450
6479
  y: A.top,
6451
6480
  width: A.width,
6452
6481
  height: A.height,
6453
- align: as(a.textAlign, a.vertical),
6482
+ align: rs(a.textAlign, a.vertical),
6454
6483
  curved: a.curved,
6455
6484
  fill: (i == null ? void 0 : i.color) || a.colour || "#000000",
6456
6485
  fontData: o,
6457
6486
  layer: A.layer || 0,
6458
- layerIndex: A.layerIndex || $t(t, A.layer || 0),
6487
+ layerIndex: A.layerIndex || Ot(t, A.layer || 0),
6459
6488
  paths: a.paths,
6460
6489
  rotation: A.rotation,
6461
6490
  vertical: a.vertical,
@@ -6466,7 +6495,7 @@ class _c {
6466
6495
  input: l
6467
6496
  },
6468
6497
  d
6469
- ), h = Zi(
6498
+ ), h = es(
6470
6499
  { ...A, height: u.height },
6471
6500
  o,
6472
6501
  u.fontSize,
@@ -6518,7 +6547,7 @@ class _c {
6518
6547
  width: i.width,
6519
6548
  height: i.height,
6520
6549
  layer: i.layer || 0,
6521
- layerIndex: i.layerIndex || $t(t, i.layer || 0),
6550
+ layerIndex: i.layerIndex || Ot(t, i.layer || 0),
6522
6551
  immutable: i.immutable
6523
6552
  };
6524
6553
  }
@@ -6538,7 +6567,7 @@ class _c {
6538
6567
  width: a.width,
6539
6568
  height: a.height,
6540
6569
  layer: a.layer || 0,
6541
- layerIndex: a.layerIndex || $t(t, a.layer || 0),
6570
+ layerIndex: a.layerIndex || Ot(t, a.layer || 0),
6542
6571
  immutable: a.immutable
6543
6572
  };
6544
6573
  }
@@ -6560,7 +6589,7 @@ const L = (r, t) => _(r, t).elements.find((n) => n.id === r), _ = (r, t) => {
6560
6589
  elements: a,
6561
6590
  modificationID: Q()
6562
6591
  };
6563
- }, cs = async (r) => {
6592
+ }, As = async (r) => {
6564
6593
  var a;
6565
6594
  const t = [...Object.keys(r.layouts)], e = [...new Set(t)];
6566
6595
  for (let n = 0; n < e.length; n++) {
@@ -6612,7 +6641,7 @@ const L = (r, t) => _(r, t).elements.find((n) => n.id === r), _ = (r, t) => {
6612
6641
  }
6613
6642
  }
6614
6643
  };
6615
- class O {
6644
+ class $ {
6616
6645
  undo() {
6617
6646
  if (!this.oldState)
6618
6647
  throw new Error("Cannot undo.");
@@ -6622,7 +6651,7 @@ class O {
6622
6651
  this.oldState = t;
6623
6652
  }
6624
6653
  }
6625
- class Ga extends O {
6654
+ class Ga extends $ {
6626
6655
  constructor(t) {
6627
6656
  super(), this.serializableWorkflow = t;
6628
6657
  }
@@ -6633,7 +6662,7 @@ class Ga extends O {
6633
6662
  };
6634
6663
  }
6635
6664
  }
6636
- class Xc extends O {
6665
+ class Zc extends $ {
6637
6666
  constructor(t, e, a) {
6638
6667
  super(), this.id = t, this.x = e, this.y = a;
6639
6668
  }
@@ -6656,7 +6685,7 @@ class Xc extends O {
6656
6685
  };
6657
6686
  }
6658
6687
  }
6659
- class Zc extends O {
6688
+ class td extends $ {
6660
6689
  constructor(t, e) {
6661
6690
  super(), this.id = t, this.angle = e;
6662
6691
  }
@@ -6678,7 +6707,7 @@ class Zc extends O {
6678
6707
  };
6679
6708
  }
6680
6709
  }
6681
- class td extends O {
6710
+ class ed extends $ {
6682
6711
  constructor(t, e, a) {
6683
6712
  super(), this.id = t, this.width = Math.abs(e), this.height = Math.abs(a);
6684
6713
  }
@@ -6709,7 +6738,7 @@ class td extends O {
6709
6738
  };
6710
6739
  }
6711
6740
  }
6712
- class $ extends O {
6741
+ class O extends $ {
6713
6742
  constructor(t) {
6714
6743
  super(), this.commands = t;
6715
6744
  }
@@ -6717,7 +6746,7 @@ class $ extends O {
6717
6746
  return this.oldState = t, this.commands.reduce((e, a) => a.apply(e), t);
6718
6747
  }
6719
6748
  }
6720
- class Ln extends O {
6749
+ class Ln extends $ {
6721
6750
  constructor(t) {
6722
6751
  super(), this.layout = t;
6723
6752
  }
@@ -6735,7 +6764,7 @@ class Ln extends O {
6735
6764
  };
6736
6765
  }
6737
6766
  }
6738
- class W extends O {
6767
+ class W extends $ {
6739
6768
  /**
6740
6769
  * @param initialParams The initial parameters to be set on this new object
6741
6770
  * @param callback An optional callback function to be notified when the object has been instantiated
@@ -6795,7 +6824,7 @@ class W extends O {
6795
6824
  return a !== void 0 ? a + 1 : 0;
6796
6825
  }
6797
6826
  }
6798
- class Et extends O {
6827
+ class Et extends $ {
6799
6828
  constructor(t) {
6800
6829
  super(), this.id = t;
6801
6830
  }
@@ -6817,7 +6846,7 @@ class Et extends O {
6817
6846
  };
6818
6847
  }
6819
6848
  }
6820
- class ds extends O {
6849
+ class us extends $ {
6821
6850
  constructor(t, e, a) {
6822
6851
  super(), this.id = t, this.color = e, this.textFillSpotColor = a;
6823
6852
  }
@@ -6841,7 +6870,7 @@ class ds extends O {
6841
6870
  };
6842
6871
  }
6843
6872
  }
6844
- class We extends O {
6873
+ class We extends $ {
6845
6874
  constructor(t, e) {
6846
6875
  super(), this.id = t, this.imageFill = e;
6847
6876
  }
@@ -6863,7 +6892,7 @@ class We extends O {
6863
6892
  };
6864
6893
  }
6865
6894
  }
6866
- class As extends O {
6895
+ class hs extends $ {
6867
6896
  constructor(t, e) {
6868
6897
  super(), this.id = t, this.size = e;
6869
6898
  }
@@ -6885,7 +6914,7 @@ class As extends O {
6885
6914
  };
6886
6915
  }
6887
6916
  }
6888
- class Wa extends O {
6917
+ class Wa extends $ {
6889
6918
  constructor(t, e) {
6890
6919
  super(), this.id = t, this.fontData = e;
6891
6920
  }
@@ -6907,7 +6936,7 @@ class Wa extends O {
6907
6936
  };
6908
6937
  }
6909
6938
  }
6910
- class us extends O {
6939
+ class ms extends $ {
6911
6940
  constructor(t, e) {
6912
6941
  super(), this.id = t, this.align = e;
6913
6942
  }
@@ -6929,7 +6958,7 @@ class us extends O {
6929
6958
  };
6930
6959
  }
6931
6960
  }
6932
- class hs extends O {
6961
+ class gs extends $ {
6933
6962
  constructor(t, e, a) {
6934
6963
  super(), this.id = t, this.imageData = e, this.offsets = a;
6935
6964
  }
@@ -6965,7 +6994,7 @@ class hs extends O {
6965
6994
  };
6966
6995
  }
6967
6996
  }
6968
- class ms extends O {
6997
+ class ps extends $ {
6969
6998
  constructor(t, e, a, n, i) {
6970
6999
  super(), this.id = t, this.useThreshold = e, this.invertThreshold = a, this.threshold = n, this.thresholdSaturation = i;
6971
7000
  }
@@ -6990,7 +7019,7 @@ class ms extends O {
6990
7019
  };
6991
7020
  }
6992
7021
  }
6993
- class ed extends O {
7022
+ class ad extends $ {
6994
7023
  constructor(t, e) {
6995
7024
  super(), this.id = t, this.src = e;
6996
7025
  }
@@ -7012,7 +7041,7 @@ class ed extends O {
7012
7041
  };
7013
7042
  }
7014
7043
  }
7015
- class gs extends O {
7044
+ class fs extends $ {
7016
7045
  constructor(t, e) {
7017
7046
  super(), this.id = t, this.text = e;
7018
7047
  }
@@ -7031,7 +7060,7 @@ class gs extends O {
7031
7060
  };
7032
7061
  }
7033
7062
  }
7034
- class qe extends O {
7063
+ class qe extends $ {
7035
7064
  constructor(t, e, a) {
7036
7065
  super(), this.id = t, this.strokeColor = e, this.strokeThickness = a;
7037
7066
  }
@@ -7054,7 +7083,7 @@ class qe extends O {
7054
7083
  };
7055
7084
  }
7056
7085
  }
7057
- class oa extends O {
7086
+ class oa extends $ {
7058
7087
  constructor(t, e, a) {
7059
7088
  super(), this.id = t, this.className = e, this.fill = a;
7060
7089
  }
@@ -7086,7 +7115,7 @@ class oa extends O {
7086
7115
  };
7087
7116
  }
7088
7117
  }
7089
- class ps extends O {
7118
+ class Cs extends $ {
7090
7119
  constructor(t, e, a) {
7091
7120
  super(), this.id = t, this.svgBody = e, this.objectURL = a;
7092
7121
  }
@@ -7109,7 +7138,7 @@ class ps extends O {
7109
7138
  };
7110
7139
  }
7111
7140
  }
7112
- class ad extends O {
7141
+ class nd extends $ {
7113
7142
  /**
7114
7143
  * @param id The targeted element to bring to the front.
7115
7144
  */
@@ -7138,7 +7167,7 @@ class ad extends O {
7138
7167
  };
7139
7168
  }
7140
7169
  }
7141
- class nd extends O {
7170
+ class rd extends $ {
7142
7171
  /**
7143
7172
  * @param id The targeted element to bring to the back.
7144
7173
  */
@@ -7169,7 +7198,7 @@ class nd extends O {
7169
7198
  };
7170
7199
  }
7171
7200
  }
7172
- class rd extends O {
7201
+ class id extends $ {
7173
7202
  /**
7174
7203
  * @param id The targeted element to bring to the front.
7175
7204
  */
@@ -7196,7 +7225,7 @@ class rd extends O {
7196
7225
  };
7197
7226
  }
7198
7227
  }
7199
- class id extends O {
7228
+ class sd extends $ {
7200
7229
  /**
7201
7230
  * @param id The targeted element to bring to the front.
7202
7231
  */
@@ -7324,7 +7353,7 @@ class qa {
7324
7353
  return t != null && t.startsWith("data:image/png") || t != null && t.endsWith(".jpeg") || t != null && t.endsWith(".jpg") || t != null && t.endsWith(".png") ? M.Image : (t != null && t.endsWith(".svg") || t != null && t.startsWith("image/svg+xml"), M.Illustration);
7325
7354
  }
7326
7355
  }
7327
- const fs = async (r) => {
7356
+ const ws = async (r) => {
7328
7357
  const t = `${mt.getServicesApiUrl()}/shortener`;
7329
7358
  try {
7330
7359
  return (await (await rt(t, {
@@ -7361,7 +7390,7 @@ class Vn {
7361
7390
  this.onSuccess = e, this.onFailure = a, this.predicate = t, this.attempts = 0, this.pollingId = -1, this.interval = n, this.maxAttempts = i, this.poll();
7362
7391
  }
7363
7392
  }
7364
- class Cs {
7393
+ class ys {
7365
7394
  async init(t, e, a) {
7366
7395
  return a && await this.reload(t, e, a), null;
7367
7396
  }
@@ -7409,7 +7438,7 @@ class Cs {
7409
7438
  const c = l.toString();
7410
7439
  if (c.length >= 2e3)
7411
7440
  throw new Fe("Cannot create QR code, URL too long.");
7412
- const d = await fs(c);
7441
+ const d = await ws(c);
7413
7442
  if (!n.data || !n.data.regions)
7414
7443
  throw new Se(n, "Missing regions.");
7415
7444
  const A = await this.regionElements(n), u = await this.command(d, A, a, n.stepName);
@@ -7449,11 +7478,11 @@ class Cs {
7449
7478
  A
7450
7479
  );
7451
7480
  });
7452
- return { command: new $(l), followup: async () => {
7481
+ return { command: new O(l), followup: async () => {
7453
7482
  } };
7454
7483
  }
7455
7484
  }
7456
- const zn = new Cs();
7485
+ const zn = new ys();
7457
7486
  class Be {
7458
7487
  constructor() {
7459
7488
  this.frameSourceSvg = async (t, e) => {
@@ -7692,7 +7721,7 @@ class Be {
7692
7721
  const d = c.pmsValue.trim().toLocaleLowerCase();
7693
7722
  i.includes(d) || i.push(d);
7694
7723
  } else if (c.browserValue) {
7695
- const d = Xr(c.browserValue);
7724
+ const d = Zr(c.browserValue);
7696
7725
  i.includes(d) || i.push(d);
7697
7726
  }
7698
7727
  }
@@ -7779,7 +7808,7 @@ class Be {
7779
7808
  })
7780
7809
  ), A = d.map((m) => m.command), u = d.map((m) => m.removeExistingCommands).flat();
7781
7810
  return {
7782
- command: new $([...A, ...u]),
7811
+ command: new O([...A, ...u]),
7783
7812
  followup: async () => {
7784
7813
  i && i(!1), await n.setSelectionsAndElements(
7785
7814
  t.stepName,
@@ -7841,7 +7870,7 @@ class Be {
7841
7870
  }
7842
7871
  }
7843
7872
  const Ct = new Be();
7844
- class ws {
7873
+ class Ss {
7845
7874
  async getIllustrationBody(t) {
7846
7875
  return new Promise((e) => {
7847
7876
  nt(t, !0).then((a) => {
@@ -7954,9 +7983,9 @@ class ws {
7954
7983
  for (const d of n) {
7955
7984
  for (const [A, u] of i.entries())
7956
7985
  c.push(new oa(d, A, u));
7957
- c.push(new ps(d, o, l));
7986
+ c.push(new Cs(d, o, l));
7958
7987
  }
7959
- return new $(c);
7988
+ return new O(c);
7960
7989
  }
7961
7990
  async changeColors(t, e, a, n, i) {
7962
7991
  var h, m;
@@ -8038,7 +8067,7 @@ class ws {
8038
8067
  return w.toLowerCase() === ((S = C.color) == null ? void 0 : S.toLowerCase()) ? C.name : w;
8039
8068
  });
8040
8069
  })), i.updateMetadata(t.stepName, { colors: g }), {
8041
- command: new $(m),
8070
+ command: new O(m),
8042
8071
  followup: async () => {
8043
8072
  var w, S;
8044
8073
  await i.setSelectionsAndElements(
@@ -8088,8 +8117,8 @@ class ws {
8088
8117
  };
8089
8118
  }
8090
8119
  }
8091
- const ge = new ws();
8092
- class ys {
8120
+ const ge = new Ss();
8121
+ class vs {
8093
8122
  async init(t, e, a) {
8094
8123
  const n = t.option;
8095
8124
  if (!n)
@@ -8166,8 +8195,8 @@ class ys {
8166
8195
  };
8167
8196
  }
8168
8197
  }
8169
- const Gn = new ys();
8170
- class Ss {
8198
+ const Gn = new vs();
8199
+ class Es {
8171
8200
  async init(t, e, a) {
8172
8201
  const n = t.option;
8173
8202
  if (!n)
@@ -8252,8 +8281,8 @@ class Ss {
8252
8281
  };
8253
8282
  }
8254
8283
  }
8255
- const Wn = new Ss();
8256
- class vs {
8284
+ const Wn = new Es();
8285
+ class bs {
8257
8286
  async init(t, e, a) {
8258
8287
  if (a)
8259
8288
  await this.reload(t, e, a);
@@ -8315,7 +8344,7 @@ class vs {
8315
8344
  ), {
8316
8345
  id: m,
8317
8346
  region: u,
8318
- command: new $(f)
8347
+ command: new O(f)
8319
8348
  };
8320
8349
  };
8321
8350
  if (i.length > 0) {
@@ -8326,7 +8355,7 @@ class vs {
8326
8355
  return c(m, h.region, h.id);
8327
8356
  }).filter((h) => !!h).filter((h) => !!h).map((h) => h && h.command);
8328
8357
  return {
8329
- command: new $(u),
8358
+ command: new O(u),
8330
8359
  followup: async () => {
8331
8360
  }
8332
8361
  };
@@ -8335,7 +8364,7 @@ class vs {
8335
8364
  (h) => c(s.svgPrint(e, h), h)
8336
8365
  ), u = A.filter((h) => !!h).map((h) => h && h.command);
8337
8366
  return {
8338
- command: new $(u),
8367
+ command: new O(u),
8339
8368
  followup: async () => {
8340
8369
  const h = A.filter((m) => m).map((m) => m && { id: m.id, region: m.region });
8341
8370
  await a.setSelectionsAndElements(
@@ -8365,8 +8394,8 @@ class vs {
8365
8394
  return n(""), { input: e, helperData: {} };
8366
8395
  }
8367
8396
  }
8368
- const qn = new vs();
8369
- class Es {
8397
+ const qn = new bs();
8398
+ class Bs {
8370
8399
  async init(t, e, a) {
8371
8400
  const n = t.option;
8372
8401
  if (!n)
@@ -8443,7 +8472,7 @@ class Es {
8443
8472
  };
8444
8473
  }, d = t.data.regions.map(c);
8445
8474
  return {
8446
- command: new $([...l, ...d.map((A) => A.command)]),
8475
+ command: new O([...l, ...d.map((A) => A.command)]),
8447
8476
  followup: async () => {
8448
8477
  await a.setSelectionsAndElements(
8449
8478
  t.stepName,
@@ -8457,8 +8486,8 @@ class Es {
8457
8486
  };
8458
8487
  }
8459
8488
  }
8460
- const Hn = new Es();
8461
- class bs {
8489
+ const Hn = new Bs();
8490
+ class Is {
8462
8491
  async init(t, e, a) {
8463
8492
  const n = t.option;
8464
8493
  if (!n)
@@ -8516,8 +8545,8 @@ class bs {
8516
8545
  };
8517
8546
  }
8518
8547
  }
8519
- const jn = new bs();
8520
- class Bs {
8548
+ const jn = new Is();
8549
+ class Ps {
8521
8550
  constructor() {
8522
8551
  this.shapeFillId = "spiff-fill-shape";
8523
8552
  }
@@ -8538,7 +8567,7 @@ class Bs {
8538
8567
  throw new Y(l);
8539
8568
  return new oa(o.id, this.shapeFillId, t);
8540
8569
  }).filter((o) => !!o);
8541
- a.getCommandDispatcher()(new $(s)), a.updateStorage(e.stepName, { colour: t });
8570
+ a.getCommandDispatcher()(new O(s)), a.updateStorage(e.stepName, { colour: t });
8542
8571
  }
8543
8572
  async init(t, e, a) {
8544
8573
  const n = t.option;
@@ -8611,7 +8640,7 @@ class Bs {
8611
8640
  return new oa(A.id, this.shapeFillId, m);
8612
8641
  }, d = a.map(c).filter((A) => !!A);
8613
8642
  return {
8614
- command: new $(d),
8643
+ command: new O(d),
8615
8644
  followup: async () => {
8616
8645
  await n.setSelectionsAndElements(
8617
8646
  t.stepName,
@@ -8674,7 +8703,7 @@ class Bs {
8674
8703
  };
8675
8704
  }, d = t.data.regions.map(c), A = d.filter((h) => !!h).map((h) => h == null ? void 0 : h.command), u = d.filter((h) => !!h).map((h) => ({ id: h.id, region: h.region }));
8676
8705
  return {
8677
- command: new $(A),
8706
+ command: new O(A),
8678
8707
  followup: async () => {
8679
8708
  await n.setSelectionsAndElements(
8680
8709
  t.stepName,
@@ -8689,8 +8718,8 @@ class Bs {
8689
8718
  }
8690
8719
  }
8691
8720
  }
8692
- const zt = new Bs();
8693
- class Is {
8721
+ const zt = new Ps();
8722
+ class Ds {
8694
8723
  constructor() {
8695
8724
  this.latestToast = null, this.toastType = null, this.toastCallbacks = [];
8696
8725
  }
@@ -8715,7 +8744,7 @@ class Is {
8715
8744
  );
8716
8745
  }
8717
8746
  }
8718
- const Ps = new Is(), He = (r, t, e, a, n) => {
8747
+ const Fs = new Ds(), He = (r, t, e, a, n) => {
8719
8748
  if (t.some((d) => d == null))
8720
8749
  throw new Error(`Failed to autosize lines: ${t.join(", ")}`);
8721
8750
  let i = t.map((d) => d.split(`
@@ -8765,14 +8794,14 @@ class Ie extends Error {
8765
8794
  super(t), Object.setPrototypeOf(this, new.target.prototype), this.name = Ie.name;
8766
8795
  }
8767
8796
  }
8768
- const Ds = ["‘", "’", "“", "”", `
8797
+ const xs = ["‘", "’", "“", "”", `
8769
8798
  `];
8770
8799
  class Pe extends Error {
8771
8800
  constructor(t) {
8772
8801
  super(t), Object.setPrototypeOf(this, new.target.prototype), this.name = Pe.name;
8773
8802
  }
8774
8803
  }
8775
- class Fs {
8804
+ class ks {
8776
8805
  constructor() {
8777
8806
  this.cachedColors = /* @__PURE__ */ new Map(), this.cachedStrokeColors = /* @__PURE__ */ new Map(), this.filterUnsupportedCharacters = (t, e) => {
8778
8807
  let a = t.replace(
@@ -8781,7 +8810,7 @@ class Fs {
8781
8810
  );
8782
8811
  const n = [], i = e ? vt(e.assetUrl) : void 0;
8783
8812
  if (i) {
8784
- const s = a.split("").filter((l) => !Ds.includes(l)).join(""), o = s.split("").map((l) => i.getFont().charToGlyph(l));
8813
+ const s = a.split("").filter((l) => !xs.includes(l)).join(""), o = s.split("").map((l) => i.getFont().charToGlyph(l));
8785
8814
  for (let l = 0; l < o.length; l++)
8786
8815
  o[l].name === ".notdef" && n.push(String.fromCharCode(s.charCodeAt(l)));
8787
8816
  }
@@ -8892,7 +8921,7 @@ class Fs {
8892
8921
  return;
8893
8922
  const i = n.getCommandDispatcher();
8894
8923
  for (const s of a) {
8895
- const o = new us(s.id, e);
8924
+ const o = new ms(s.id, e);
8896
8925
  i(o);
8897
8926
  }
8898
8927
  }
@@ -8912,7 +8941,7 @@ class Fs {
8912
8941
  for (const c of a) {
8913
8942
  if (!e.fill)
8914
8943
  throw new Error("Fill not set on new color selection!");
8915
- const d = new ds(c.id, e.fill, o);
8944
+ const d = new us(c.id, e.fill, o);
8916
8945
  i(d);
8917
8946
  }
8918
8947
  }
@@ -9027,7 +9056,7 @@ class Fs {
9027
9056
  }
9028
9057
  return !a.data.curved && e.length > 0 && !Array.from(d.values()).every((u) => u) ? (o.errorData || (o.errorData = {}), o.errorData.doesNotFit = !0, o) : (n.updateStorage(a.stepName, { text: t }), n.updateMetadata(a.stepName, {
9029
9058
  text: s
9030
- }), (i != null && i.defaultCleared || !a.data.deleteDefaultOnFocus) && s.trim() !== "" && n.setMandatoryFulfilled(a.stepName, !0), o.command = new $(l), o);
9059
+ }), (i != null && i.defaultCleared || !a.data.deleteDefaultOnFocus) && s.trim() !== "" && n.setMandatoryFulfilled(a.stepName, !0), o.command = new O(l), o);
9031
9060
  }
9032
9061
  async selectVariant(t, e, a, n, i) {
9033
9062
  const s = await this.selectVariantCommand(
@@ -9083,7 +9112,7 @@ class Fs {
9083
9112
  f,
9084
9113
  async () => {
9085
9114
  e.updateMetadata(t.stepName, { color: C, text: w }), e.updateStorage(t.stepName, { text: w, inputText: w });
9086
- const y = o.map((b) => new Wa(b.id, p)), E = new $(y);
9115
+ const y = o.map((b) => new Wa(b.id, p)), E = new O(y);
9087
9116
  e.getCommandDispatcher()(E);
9088
9117
  }
9089
9118
  ), o.length === 0 && l) {
@@ -9214,7 +9243,7 @@ class Fs {
9214
9243
  o
9215
9244
  );
9216
9245
  return m && h.push(m), {
9217
- command: new $(h),
9246
+ command: new O(h),
9218
9247
  followup: async () => {
9219
9248
  i.markUpdateCompleted(d), await i.setSelectionsAndElements(t.stepName, [e], n);
9220
9249
  }
@@ -9251,7 +9280,7 @@ class Fs {
9251
9280
  g.push(...f);
9252
9281
  }
9253
9282
  return m && g.push(m), {
9254
- command: new $(g),
9283
+ command: new O(g),
9255
9284
  followup: async () => {
9256
9285
  i.markUpdateCompleted(d);
9257
9286
  }
@@ -9344,7 +9373,7 @@ class Fs {
9344
9373
  throw console.log(p), new Ie("Error adding font to region");
9345
9374
  }
9346
9375
  }, d = await Promise.all(a.regions.map(c)).catch((A) => {
9347
- throw A instanceof Ie ? (Ps.setLatestToast("Failed to load font.", Re.Error), A) : A instanceof Pe ? A : new Error(A);
9376
+ throw A instanceof Ie ? (Fs.setLatestToast("Failed to load font.", Re.Error), A) : A instanceof Pe ? A : new Error(A);
9348
9377
  });
9349
9378
  return await s.setSelectionsAndElements(
9350
9379
  t,
@@ -9360,12 +9389,12 @@ class Fs {
9360
9389
  ), d;
9361
9390
  }
9362
9391
  generateTextChangeCommandsForRegion(t, e, a, n) {
9363
- const i = [], s = new gs(a, n);
9392
+ const i = [], s = new fs(a, n);
9364
9393
  if (i.push(s), !e.size) {
9365
- const l = new As(a, t);
9394
+ const l = new hs(a, t);
9366
9395
  i.push(l);
9367
9396
  }
9368
- return new $(i);
9397
+ return new O(i);
9369
9398
  }
9370
9399
  /**
9371
9400
  * @deprecated
@@ -9418,16 +9447,16 @@ class Fs {
9418
9447
  )
9419
9448
  );
9420
9449
  }
9421
- return new $(C);
9450
+ return new O(C);
9422
9451
  }
9423
9452
  }
9424
- const q = new Fs();
9425
- class xs {
9453
+ const q = new ks();
9454
+ class Ms {
9426
9455
  }
9427
- const ks = "data:application/octet-stream;base64,AAEAAAAPAIAAAwBwRkZUTYdHeHoAAElcAAAAHEdERUYAJwBUAAAe2AAAAB5HUE9TkNtcVAAAHygAACoyR1NVQrj/uP4AAB74AAAAME9TLzJoWmUcAAABeAAAAGBjbWFwtkIacAAAAxAAAAJWZ2FzcP//AAMAAB7QAAAACGdseWY27KOUAAAGCAAAFcRoZWFkFPal0gAAAPwAAAA2aGhlYQU0Ar0AAAE0AAAAJGhtdHiADw6qAAAB2AAAAThsb2Nh5CzfJAAABWgAAACebWF4cACVAEwAAAFYAAAAIG5hbWXeIPPyAAAbzAAAAiJwb3N0ABeZTwAAHfAAAADdAAEAAAABAAAZ9vREXw889QALA+gA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ADv/tAA//7AAQ/+kAEf/rABL/3QAT/90AFP/hABX/3QAW/90AMf/nADL/vwAz/+cANP/nADX/8QA2//EAN//sADj/5wA5//YAOv/2ADv/4gA8//EAPf/2AD7/+wA///sAQP/2AEH/+wBC/+wAQ//7AET/7ABF/9MARv/7AEf/yQBI/84ASf+wAEr/xABL/+cADgAG//sACf/xAAv/7AAN//sADv/7AA8AAAAR//EAEv/0ABP/9gAU//EAFf/xABb/7AAx//YAQP/2ACkABv/7AAf/9gAI//sACf/iAAr/5wAL/+wADP/vAA3/3QAO//sAD//qABD/8QAR/+wAEv/nABP/8QAU/+cAFf/iABb/7AAx/+cAMv/vADP//AA0/+cANf/7ADb//gA4//EAOf/8ADr//AA7/+kAPP/6AD3//QA+//4AP//7AEL/6gBD//0ARP/2AEX/7ABG//EAR//YAEj/4gBJ/+wASv/LAEv//AAsAAb/+wAH//EACP/2AAn/0wAK/+IAC//JAAz/5wAN/90ADv/iAA//7AAQ/+cAEf/sABL/3QAT/9MAFP/iABX/zgAW/+cAMf/YADL/xAAz/+wANP/dADX/6AA2//EAN//xADj/4wA5//EAOv/2ADv/7AA8/+wAPf/sAD7/9gA//+wAQP/iAEH/8QBC/90AQ//nAET/5wBF/8QARv/mAEf/xABI/8kASf+1AEr/rQBL/+IALAAG//sAB//7AAj/9gAJ/9MACv/2AAv/ugAM/+kADf/dAA7/9gAP/+wAEP/2ABH/8AAS//EAE//2ABT/5wAV/9gAFv/sADH/vwAy/9UAM//eADT/3wA1//EANv/xADf/9gA4/+IAOf/xADr/9gA7/+wAPP/xAD3/9gA+//EAP//2AED/2ABB//EAQv/nAEP/9gBE/+cARf/TAEb/8QBH/9gASP/YAEn/xgBK/78AS//xACsABv/7AAf/9gAI/+wACf/TAAr/5wAL/90ADP/lAA3/zgAO/90AD//dABD/7AAR/+IAEv/iABP/2AAU/+IAFf/JABb/5wAx/90AMv/EADP/6wA0/+EANf/wADb/8AA4/9wAOf/dADr/7AA7/9gAPP/sAD3/5wA+/+wAP//iAED/0wBB/+IAQv/YAEP/4gBE/84ARf/JAEb/4gBH/8kASP/OAEn/vwBK/8kAS//TACwABv/7AAf/3wAI/+cACf+wAAr/4wAL/8kADP/dAA3/xwAO/+cAD//dABD/7AAR/+cAEv/iABP/yQAU/9cAFf+/ABb/4gAa/+kAMf/YADL/uwAz/+EANP/dADb/6wA3//MAOP/lADn/8QA6//IAO//eADz/5wA9/+4APv/zAD//8ABA/+IAQf/2AEL/6gBD//YARP/kAEX/zABG/+8AR/+0AEj/uwBJ/64ASv+vAEv/5QAsAAb/+wAH/90ACP/nAAn/4gAK/9MAC//nAAz/3QAN//YADv/eAA//3QAQ/7AAEf/OABL/sAAT//sAFP/dABX/0wAW/9MAMf/iADL/iAAz//YANP/OADX/9gA2//EAN//xADj/0wA5//YAOv/zADv/gAA8//EAPf/7AD7/+wA///YAQP/OAEH/7gBC/84AQ//2AET/2ABF//sARv/2AEf/5wBI/+cASf/TAEr/4gBL/+wALAAG//sAB//2AAj/8QAJ/9gACv/nAAv/3QAM/+IADf/dAA7/4gAP/+IAEP/nABH/5wAS/9gAE//YABT/3QAV/84AFv/sADH/5wAy/78AM//nADT/2AA1/+cANv/nADf/7AA4/90AOf/sADr/7AA7/+cAPP/sAD3/8QA+/+wAP//xAED/4gBB//EAQv/dAEP/5wBE/+IARf/YAEb/5wBH/78ASP/HAEn/sABK/7UAS//dACsABv/xAAf/8QAI/+IACf/dAAr/0wAL/+IADP/iAA3/3QAO/+cAD//dABD/zgAR/9MAEv/EABP/0wAU/84AFv/dADH/4gAy/6EAM//jADT/3QA1/+wANv/sADf/5wA4/90AOf/nADr/8QA7/78APP/xAD3/9gA+/+wAP//nAED/3QBB/+cAQv/nAEP/5wBE/+IARf/OAEb/3QBH/8QASP/JAEn/lwBK/7oAS//YACkABv/sAAf/0wAI/90ACf/OAAr/3QAM/90ADf/EAA7/5wAP/9gAEP/YABH/3QAS/9MAE//YABT/4gAV/90AMf/sADL/wAAz/+8ANP/kADX/6wA2//AA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/8wA6//sAO//YADz/8wA9/+4APv/3AD//8wBA/+MAQf/3AEL/6QBD/+8ARP/nAEX/1ABG/+8AR//JAEj/zABJ/6YASv/JAEv/3AAcAAb/+wAX//MAJf/7ADL/6wAz//4ANP/uADX/+wA2//4AN//+ADj/8wA5//0AOv/+ADv/7gA8//4APf/+AD7/+wA///4AQP/uAEL/9wBD//4ARP/+AEX/+QBG//4AR//uAEj/9wBJ/+4ASv/zAEv//gAYAAb/+wAx//YAMv/rADP//wA0//MANf//ADYAAQA3//8AOP/zADv/6AA8//4APf/+AD4AAQBA/+4AQf//AEL/8wBD//4ARP/4AEX//QBH/+wASP/3AEn/7ABK//EASwABABwABv/2ABf/4QAy/8oAM//9ADT/+QA1//4ANv/7ADf//gA4//MAOf/+ADr//wA7/+EAPP/7AD3//gA+//4AP//+AED/7wBB//4AQv/zAEP//gBE//sARf/7AEb//gBH/+8ASP/5AEn/2gBK//oAS//+AB0ABv/nABf/5wAx/7AAMv/hADP/7gA0/7QANf/rADb/5wA3/+4AOP+sADn/6wA6//kAO/+3ADz/6gA9/+8APv/nAD//5wBA/6wAQf/uAEL/rgBD/+cARP+8AEX/3ABG/9oAR//cAEj/0QBJ/9oASv/RAEv/7wAeAAb/9gAX//cAI//9ADH/vwAy/+4AM//5ADT/2gA1//4ANv/3ADf/+wA4/9oAOf/3ADr/+wA7/+cAPP/7AD3/+QA+//cAP//5AED/1ABB//sAQv/cAEP/9wBE/+8ARf/JAEb/6wBH/8QASP++AEn/5wBK/8EAS//+ABwAF//7ADH/7AAy/+QAM//+ADT/7gA1//4ANgAAADf//QA4//cAOf/7ADr//gA7/+4APP/+AD3//gA+//0AP//7AED/7wBB//4AQv/uAEP//gBE//cARf/7AEb/+QBH/+gASP/vAEn/6wBK/+gAS//+AB4ABv/7ABf/8wAa//4AHf/3ACX/9wAq//4AMf/2ADL/5AAz//0ANP/zADX/+wA2//4AN//+ADj/+QA7/+4APf/+AD7/+wA///4AQP/2AEH/+gBC/+4AQ//7AET/+QBF//sARv/+AEf/8wBI/+8ASf/zAEr/6wBL//4AHQAG//EAJP/3ADH/7AAy/7sAM//sADT/4wA1/+8ANv/vADf/9wA4/+QAOf/qADr/9wA7/98APP/vAD3/9wA+/+sAP//uAED/4wBB/+4AQv/mAEP/7wBE/+IARf/VAEb/7gBH/8MASP/GAEn/uwBK/7oAS//fABwABv/sACT//gAy/54AM//rADT/6gA1//EANv/rADf/9wA4/+MAOf/oADr/9wA7/64APP/sAD3/8QA+/+wAP//sAED/4QBB//MAQv/oAEP/5ABE/9gARf/kAEb/7gBH/9EASP/QAEn/uwBK/8QAS//zADAAF//3ABj//wAZ/+kAGv//ABv//QAc//4AHf/pAB7/+wAf//8AIP/iACH//gAi//8AI//+ACT//wAl/+IAJ//uACj//gAp/+cAKv/hACv/+QAs/8MALf/QAC7/5AAv/8wAMP//ADL/4QAz//4ANP/jADX/9wA3//kAOP/fADn/9wA7/+IAPP/5AD3/+gA+//EAP//6AED/2gBB/+8AQv/aAET/7wBF/9cARv/qAEf/xgBI/7sASf/qAEr/tABL//sAHQAG/+cAF//oACT/+gAy/+IAM//xADT/zAA1/+8ANv/sADf/+gA4/8wAOf/3ADr/8wA7/8kAPP/uAD3/7wA+/+wAP//rAED/yQBB//cAQv/MAEP/+ABE/9QARf/KAEb/2gBH/8EASP/EAEn/4gBK/7cAS//vAB0ABv/xABv/+QAl/+4AMv+8ADP/7wA0/9wANf/zADb/6AA3//cAOP/hADn/5gA6//MAO//aADz/6QA9//MAPv/pAD//6wBA/+MAQf/3AEL/2gBD/+kARP/rAEX/1ABG/+kAR//JAEj/zABJ/7QASv+7AEv/5wAbAAb/9gAy/6YAM//9ADT/0wA1//oANv/+ADf//QA4/9UAOf/3ADr//wA7/7kAPP/6AD3//gA+//sAP//7AED/0ABB//oAQv/XAEP/+QBE/+IARf/zAEb/9wBH/+8ASP/vAEn/6gBK/+cAS//6ABwABv/7ACQAAgAy/9UAM//7ADT/7wA1//cANv/9ADf//wA4/+4AOf/7AD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EAFP/iABX/5wAy/+kAM//9ADT/5wA1//sANv/9ADf//gA4/+sAOf/+ADoAAQA7/+gAPP/9AD3/9wA+//0AP//9AED/6wBBAAEAQv/pAEP/+QBE/+wARgACAEf/6QBI/+8ASf/nAEr/6wBL//sAKQAH//sACP/xAAn/5wAK/+4AC//2AAz/4gAN//sADv/1AA//8QAQ/90AEf/kABL/4gAT/+wAFP/YABX/3QAx//YAMv+5ADP/+AA0/+MANf/3ADb/+AA3//kAOP/iADn/+gA6//0AO//OADz//QA9//4APv/5AD///ABA/+YAQv/jAEP/9wBE/+YARf/vAEb//gBH/+cASP/vAEn/0QBK/+YAS//9ACgAB//2AAj/4gAJ/90ACv/sAAv/4gAM/+gADf/iAA7/9QAP/+gAEP/dABH/4AAS/+YAE//OABT/4gAV/90AJP/7ADH/9gAy/8EAM//vADT/3wA2//QAN//4ADj/4wA5/+kAOv/6ADv/0QA8/+YAPf/zAD7/6QA///EAQP/qAEL/3ABD/+gARP/fAEb/+ABH/7sASP+7AEn/rwBK/68AS//jACcACP/xAAn/7AAK//gADP/2AA7/9wAP//YAEP/xABH/5wAS/+cAE//xABT/7AAV/+UAMf/2ADL/6AAz//kANP/qADX/+wA2//oAN//7ADj/6wA5//cAOv//ADv/4wA8//sAPf/+AD7/+wA///oAQP/sAEH/+gBC/+MAQ//5AET/7wBF/+oARv/7AEf/4wBI/+wASf/jAEr/6gBL//4AJgAH//sACP/7AAn/5wAK//oADP/2AA7/9gAP//YAEP/xABH/8QAS//IAE//xABT/5wAV//EAMv/nADP/+wA0//EANf/9ADb//gA3//4AOP/uADn/+wA6//4AO//oAD0AAAA+//sAP//+AED/7wBB//4AQv/qAEP//wBE//EARf/3AEb/+wBH/+YASP/3AEn/2gBK/+QAS//7ACkAB//2AAj/9gAJ/90ACv/yAAz/8QAO//EAD//wABD/6gAR/+wAEv/mABP/9AAU/+wAFf/rABf/zgAx//YAMv/OADP/7wA0/+oANf/5ADb//gA3//0AOP/oADn/+QA6//0AO//YADz//g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P/4gAU/7UAFf+6AB7/8QAk//sAMf+1ADL/lwAz/+8ANP+7ADX/5gA2/+4AN//uADj/uQA5/+gAOv/3ADv/hAA8/+8APf/sAD7/7AA//+oAQP+6AEH/7ABC/7kAQ//pAET/ygBF/+8ARv/vAEf/6ABI/+kASf/fAEr/5ABL//EAJgAH//YACf/iAAr/7AAL/+cADP/iAA3//wAO//UAD//nABD/7AAR/+IAEv/gABP/7AAU/90AFf/TADH/4gAy/+sAM//+ADT/6AA1//4ANgAEADf//wA4/9wAOf/6ADv/5gA8//8APf//AD///QBA/+MAQf//AEMAAABE/+8ARf/4AEb/+wBH//cASP/rAEn/6QBK/+kAS//9AAIAAQAGAEsAAAAAAAAAAQAAAADUGBYRAAAAANmXsTQAAAAA2ZexNA==", at = (r) => kr("http://www.w3.org/2000/svg", r), Ms = (r, t) => {
9456
+ const Ts = "data:application/octet-stream;base64,AAEAAAAPAIAAAwBwRkZUTYdHeHoAAElcAAAAHEdERUYAJwBUAAAe2AAAAB5HUE9TkNtcVAAAHygAACoyR1NVQrj/uP4AAB74AAAAME9TLzJoWmUcAAABeAAAAGBjbWFwtkIacAAAAxAAAAJWZ2FzcP//AAMAAB7QAAAACGdseWY27KOUAAAGCAAAFcRoZWFkFPal0gAAAPwAAAA2aGhlYQU0Ar0AAAE0AAAAJGhtdHiADw6qAAAB2AAAAThsb2Nh5CzfJAAABWgAAACebWF4cACVAEwAAAFYAAAAIG5hbWXeIPPyAAAbzAAAAiJwb3N0ABeZTwAAHfAAAADdAAEAAAABAAAZ9vREXw889QALA+gAAAAA2ZexNAAAAADZl7E0ADL/yQJ2ArwAAAAIAAIAAAAAAAAAAQAAArz/wwAAAqsAAAAAAnYAAQAAAAAAAAAAAAAAAAAAAE4AAQAAAE4ASQAFAAAAAAACAAAAAQABAAAAQAAAAAAAAAAEAbsBkAAFAAACigK7AAAAjAKKArsAAAHfADEBAgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAABYWFhYAEAACgCtArz/w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v/zAEv//gAYAAb/+wAx//YAMv/rADP//wA0//MANf//ADYAAQA3//8AOP/zADv/6AA8//4APf/+AD4AAQBA/+4AQf//AEL/8wBD//4ARP/4AEX//QBH/+wASP/3AEn/7ABK//EASwABABwABv/2ABf/4QAy/8oAM//9ADT/+QA1//4ANv/7ADf//gA4//MAOf/+ADr//wA7/+EAPP/7AD3//gA+//4AP//+AED/7wBB//4AQv/zAEP//gBE//sARf/7AEb//gBH/+8ASP/5AEn/2gBK//oAS//+AB0ABv/nABf/5wAx/7AAMv/hADP/7gA0/7QANf/rADb/5wA3/+4AOP+sADn/6wA6//kAO/+3ADz/6gA9/+8APv/nAD//5wBA/6wAQf/uAEL/rgBD/+cARP+8AEX/3ABG/9oAR//cAEj/0QBJ/9oASv/RAEv/7wAeAAb/9gAX//cAI//9ADH/vwAy/+4AM//5ADT/2gA1//4ANv/3ADf/+wA4/9oAOf/3ADr/+wA7/+cAPP/7AD3/+QA+//cAP//5AED/1ABB//sAQv/cAEP/9wBE/+8ARf/JAEb/6wBH/8QASP++AEn/5wBK/8EAS//+ABwAF//7ADH/7AAy/+QAM//+ADT/7gA1//4ANgAAADf//QA4//cAOf/7ADr//gA7/+4APP/+AD3//gA+//0AP//7AED/7wBB//4AQv/uAEP//gBE//cARf/7AEb/+QBH/+gASP/vAEn/6wBK/+gAS//+AB4ABv/7ABf/8wAa//4AHf/3ACX/9wAq//4AMf/2ADL/5AAz//0ANP/zADX/+wA2//4AN//+ADj/+QA7/+4APf/+AD7/+wA///4AQP/2AEH/+gBC/+4AQ//7AET/+QBF//sARv/+AEf/8wBI/+8ASf/zAEr/6wBL//4AHQAG//EAJP/3ADH/7AAy/7sAM//sADT/4wA1/+8ANv/vADf/9wA4/+QAOf/qADr/9wA7/98APP/vAD3/9wA+/+sAP//uAED/4wBB/+4AQv/mAEP/7wBE/+IARf/VAEb/7gBH/8MASP/GAEn/uwBK/7oAS//fABwABv/sACT//gAy/54AM//rADT/6gA1//EANv/rADf/9wA4/+M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AA0/+MANf/3ADb/+AA3//kAOP/iADn/+gA6//0AO//OADz//QA9//4APv/5AD///ABA/+YAQv/jAEP/9wBE/+YARf/vAEb//gBH/+cASP/vAEn/0QBK/+YAS//9ACgAB//2AAj/4gAJ/90ACv/sAAv/4gAM/+gADf/iAA7/9QAP/+gAEP/dABH/4AAS/+YAE//OABT/4gAV/90AJP/7ADH/9gAy/8EAM//vADT/3wA2//QAN//4ADj/4wA5/+kAOv/6ADv/0QA8/+YAPf/zAD7/6QA///EAQP/qAEL/3ABD/+gARP/fAEb/+ABH/7sASP+7AEn/rwBK/68AS//jACcACP/xAAn/7AAK//gADP/2AA7/9wAP//YAEP/xABH/5wAS/+cAE//xABT/7AAV/+UAMf/2ADL/6AAz//kANP/qADX/+wA2//oAN//7ADj/6wA5//cAOv//ADv/4wA8//sAPf/+AD7/+wA///oAQP/sAEH/+gBC/+MAQ//5AET/7wBF/+oARv/7AEf/4wBI/+wASf/jAEr/6gBL//4AJgAH//sACP/7AAn/5wAK//oADP/2AA7/9gAP//YAEP/xABH/8QAS//IAE//xABT/5wAV//EAMv/nADP/+wA0//EANf/9ADb//gA3//4AOP/uADn/+wA6//4AO//oAD0AAAA+//sAP//+AED/7wBB//4AQv/qAEP//wBE//EARf/3AEb/+wBH/+YASP/3AEn/2gBK/+QAS//7ACkAB//2AAj/9gAJ/90ACv/yAAz/8QAO//EAD//wABD/6gAR/+wAEv/mABP/9AAU/+wAFf/rABf/zgAx//YAMv/OADP/7wA0/+oANf/5ADb//gA3//0AOP/oADn/+QA6//0AO//YADz//gA9//8APv/6AD//+QBA/+4AQf/5AEL/4wBD//gARP/qAEX/+QBG//oAR//pAEj/6QBJ/9UASv/rAEv/+gAqAAf/sgAI/8kACf+wAAr/ugAL/7UADP+1AA3/3QAO/+QAD/+6ABD/sgAR/7UAEv+xABP/4gAU/6sAFf+mADH/lwAy/9oAM//jADT/qwA1/+IANv/iADf/4wA4/5oAOf/XADr/7gA7/7QAPP/kAD3/6wA+/+4AP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90AFf/TADH/4gAy/+sAM//+ADT/6AA1//4ANgAEADf//wA4/9wAOf/6ADv/5gA8//8APf//AD///QBA/+MAQf//AEMAAABE/+8ARf/4AEb/+wBH//cASP/rAEn/6QBK/+kAS//9AAIAAQAGAEsAAAAAAAAAAQAAAADUGBYRAAAAANmXsTQAAAAA2ZexNA==", at = (r) => Mr("http://www.w3.org/2000/svg", r), Ns = (r, t) => {
9428
9457
  const e = at("rect");
9429
9458
  return e.setAttribute("height", `${r}`), e.setAttribute("width", `${t}`), e;
9430
- }, Ts = (r, t, e, a) => {
9459
+ }, Qs = (r, t, e, a) => {
9431
9460
  const n = ie("filter");
9432
9461
  n.setAttribute("id", a), n.setAttribute("height", "200%"), n.setAttribute("width", "200%"), n.setAttribute("x", "-50%"), n.setAttribute("y", "-50%");
9433
9462
  const i = ie("feOffset");
@@ -9436,11 +9465,11 @@ const ks = "data:application/octet-stream;base64,AAEAAAAPAIAAAwBwRkZUTYdHeHoAAEl
9436
9465
  n.appendChild(s), s.setAttribute("result", "blurOut"), s.setAttribute("in", "offOut"), s.setAttribute("stdDeviation", `${e}`);
9437
9466
  const o = ie("feBlend");
9438
9467
  return n.appendChild(o), o.setAttribute("in", "SourceGraphic"), o.setAttribute("in2", "blurOut"), o.setAttribute("mode", "normal"), n;
9439
- }, Ns = (r) => {
9468
+ }, Rs = (r) => {
9440
9469
  let t = r;
9441
9470
  return t = t.replace(/feoffset/gi, "feOffset"), t = t.replace(/fegaussianblur/gi, "feGaussianBlur"), t = t.replace(/feblend/gi, "feBlend"), t = t.replace(/lineargradient/gi, "linearGradient"), t = t.replace(/stddeviation/gi, "stdDeviation"), t;
9442
9471
  };
9443
- function Qs(r, t, e, a, n, i) {
9472
+ function $s(r, t, e, a, n, i) {
9444
9473
  const s = n || 1, o = i || 1, l = {
9445
9474
  x: t[0],
9446
9475
  y: t[1],
@@ -9449,10 +9478,10 @@ function Qs(r, t, e, a, n, i) {
9449
9478
  };
9450
9479
  if (l.width <= 0)
9451
9480
  return;
9452
- const c = Rs(l.height, l.width, e * s, a * o), d = (a - c * l.width) / 2 - c * l.x, A = (e - c * l.height) / 2 - c * l.y;
9481
+ const c = Os(l.height, l.width, e * s, a * o), d = (a - c * l.width) / 2 - c * l.x, A = (e - c * l.height) / 2 - c * l.y;
9453
9482
  r.setAttribute("transform", `translate(${d} ${A}) scale(${c} ${c})`);
9454
9483
  }
9455
- function Rs(r, t, e, a) {
9484
+ function Os(r, t, e, a) {
9456
9485
  const n = e / r, i = a / t;
9457
9486
  return n > 1 && i > 1 ? Math.min(n, i) : n > 1 && i < 1 ? i : n < 1 && i > 1 ? n : Math.min(n, i);
9458
9487
  }
@@ -9468,7 +9497,7 @@ const Ha = {
9468
9497
  t: ["x", "y"],
9469
9498
  a: ["rx", "ry", "xRotation", "largeArc", "sweep", "x", "y"]
9470
9499
  };
9471
- class Os {
9500
+ class Us {
9472
9501
  constructor(t) {
9473
9502
  const e = Array.from(t.querySelectorAll("path"));
9474
9503
  this.paths = e.map((a) => {
@@ -9566,7 +9595,7 @@ class Os {
9566
9595
  }
9567
9596
  }
9568
9597
  }
9569
- class $s extends xs {
9598
+ class Ls extends Ms {
9570
9599
  constructor() {
9571
9600
  super(...arguments), this.moduleName = "Vegemite";
9572
9601
  }
@@ -9577,11 +9606,11 @@ class $s extends xs {
9577
9606
  return this.svgElement(t, e);
9578
9607
  }
9579
9608
  svgElement(t, e) {
9580
- const a = Ki(ks), i = t !== "" ? ((w) => w.charAt(0).toUpperCase() + w.substr(1).toLowerCase())(t) : "", s = a.getPath(i, 0, 72, 72), o = s.toSVG(2), l = s.getBoundingBox(), c = l.x2 - l.x1, d = s.toPathData(3), A = () => {
9609
+ const a = Xi(Ts), i = t !== "" ? ((w) => w.charAt(0).toUpperCase() + w.substr(1).toLowerCase())(t) : "", s = a.getPath(i, 0, 72, 72), o = s.toSVG(2), l = s.getBoundingBox(), c = l.x2 - l.x1, d = s.toPathData(3), A = () => {
9581
9610
  const w = at("g");
9582
9611
  w.classList.add("module-text-group");
9583
9612
  const S = at("defs");
9584
- w.appendChild(S), S.appendChild(Ts(0, 2, 2, "shadow"));
9613
+ w.appendChild(S), S.appendChild(Qs(0, 2, 2, "shadow"));
9585
9614
  const y = at("path");
9586
9615
  y.setAttribute("d", d), y.setAttribute("stroke", "black"), y.setAttribute("stroke-width", "3"), S.appendChild(y);
9587
9616
  const E = at("g");
@@ -9591,26 +9620,26 @@ class $s extends xs {
9591
9620
  const P = at("g");
9592
9621
  P.classList.add("module-layer2"), w.appendChild(P), P.setAttribute("fill", "rgb(255,209,0)"), P.setAttribute("transform", "translate(1,-0.1)"), P.innerHTML = o;
9593
9622
  const D = at("g");
9594
- return D.classList.add("module-layer3"), w.appendChild(D), D.setAttribute("fill", "white"), D.innerHTML = o, new Os(w).transform(([k, T]) => [k, T + (c / 2 - k) ** 2 / (c * 6)]), w;
9623
+ return D.classList.add("module-layer3"), w.appendChild(D), D.setAttribute("fill", "white"), D.innerHTML = o, new Us(w).transform(([k, T]) => [k, T + (c / 2 - k) ** 2 / (c * 6)]), w;
9595
9624
  }, u = at("g");
9596
9625
  u.classList.add("module-root");
9597
9626
  const h = at("defs");
9598
9627
  u.appendChild(h);
9599
9628
  const m = at("g");
9600
9629
  m.classList.add("module-bounds"), u.appendChild(m);
9601
- const g = Ms(e.height, e.width);
9630
+ const g = Ns(e.height, e.width);
9602
9631
  g.setAttribute("opacity", "0"), m.appendChild(g);
9603
9632
  const p = at("g");
9604
9633
  p.classList.add("module-text-enclosure"), u.appendChild(p);
9605
9634
  const f = A();
9606
9635
  p.appendChild(f);
9607
- const C = gr(d);
9608
- return Qs(p, C, e.height, e.width, 0.35, 0.65), Ns(u.outerHTML);
9636
+ const C = pr(d);
9637
+ return $s(p, C, e.height, e.width, 0.35, 0.65), Rs(u.outerHTML);
9609
9638
  }
9610
9639
  }
9611
9640
  async function Yn(r) {
9612
9641
  if (r === "Vegemite")
9613
- return new $s();
9642
+ return new Ls();
9614
9643
  throw new G(`Failed to resolve Module, Module ${r} not found`);
9615
9644
  }
9616
9645
  const ne = v`
@@ -9635,7 +9664,7 @@ const ne = v`
9635
9664
  }
9636
9665
  }
9637
9666
  }
9638
- `, Us = v`
9667
+ `, Vs = v`
9639
9668
  ${ne}
9640
9669
  mutation CreateGlobalPropertyState($bundleId: String!) {
9641
9670
  globalPropertyStateCreate(bundleId: $bundleId) {
@@ -9645,7 +9674,7 @@ const ne = v`
9645
9674
  }
9646
9675
  }
9647
9676
  }
9648
- `, Ls = v`
9677
+ `, zs = v`
9649
9678
  ${ne}
9650
9679
  mutation UpdateGlobalPropertyState($id: String!, $aspects: [GlobalPropertyStateAspectInput]!) {
9651
9680
  globalPropertyStateUpdate(id: $id, aspects: $aspects) {
@@ -9655,7 +9684,7 @@ const ne = v`
9655
9684
  }
9656
9685
  }
9657
9686
  }
9658
- `, Vs = v`
9687
+ `, Gs = v`
9659
9688
  ${ne}
9660
9689
  query GetGlobalPropertyState($bundleId: String!) {
9661
9690
  globalPropertyState(bundleId: $bundleId) {
@@ -9665,14 +9694,14 @@ const ne = v`
9665
9694
  }
9666
9695
  }
9667
9696
  }
9668
- `, sd = async (r) => (await B.getShadowGraphqlClient().query({
9669
- query: Vs,
9697
+ `, od = async (r) => (await B.getShadowGraphqlClient().query({
9698
+ query: Gs,
9670
9699
  fetchPolicy: "cache-first",
9671
9700
  errorPolicy: "all",
9672
9701
  variables: {
9673
9702
  bundleId: r
9674
9703
  }
9675
- })).data.globalPropertyState, zs = v`
9704
+ })).data.globalPropertyState, Ws = v`
9676
9705
  ${Te}
9677
9706
  fragment ProductFields on Product {
9678
9707
  id
@@ -9718,7 +9747,7 @@ const ne = v`
9718
9747
  }
9719
9748
  }
9720
9749
  `, Ba = v`
9721
- ${zs}
9750
+ ${Ws}
9722
9751
  fragment ProductCollectionProductFields on ProductCollectionProduct {
9723
9752
  id
9724
9753
  productId
@@ -9787,7 +9816,7 @@ const ne = v`
9787
9816
  }
9788
9817
  }
9789
9818
  }
9790
- `, Gs = (r) => v`
9819
+ `, qs = (r) => v`
9791
9820
  ${ne}
9792
9821
  ${re(r)}
9793
9822
  query GetBundle($id: String!) {
@@ -9876,7 +9905,7 @@ const ne = v`
9876
9905
  }
9877
9906
  }
9878
9907
  }
9879
- `, Ws = v`
9908
+ `, Hs = v`
9880
9909
  query GetBundlesForCustomer($id: String!) {
9881
9910
  customers(ids: [$id]) {
9882
9911
  bundleStakeholders {
@@ -9905,7 +9934,7 @@ const ne = v`
9905
9934
  }
9906
9935
  }
9907
9936
  }
9908
- `, qs = v`
9937
+ `, js = v`
9909
9938
  ${Ba}
9910
9939
  query GetProductCollectionProducts($id: String!, $productIds: [String!]) {
9911
9940
  productCollections(ids: [$id], productIds: $productIds) {
@@ -9915,7 +9944,7 @@ const ne = v`
9915
9944
  }
9916
9945
  }
9917
9946
  }
9918
- `, Hs = v`
9947
+ `, Ys = v`
9919
9948
  query GetProductCollectionForFilteredProducts(
9920
9949
  $id: String!
9921
9950
  $filters: ProductCollectionProductFilterInput
@@ -9938,7 +9967,7 @@ const ne = v`
9938
9967
  }
9939
9968
  }
9940
9969
  }
9941
- `, js = v`
9970
+ `, Js = v`
9942
9971
  ${Ba}
9943
9972
  query GetProductCollectionForProductsFeed(
9944
9973
  $id: String!
@@ -9966,7 +9995,7 @@ const ne = v`
9966
9995
  }
9967
9996
  }
9968
9997
  }
9969
- `, Ys = (r) => v`
9998
+ `, Ks = (r) => v`
9970
9999
  ${re(r)}
9971
10000
  mutation CreateBundle(
9972
10001
  $collectionId: String
@@ -9995,7 +10024,7 @@ const ne = v`
9995
10024
  }
9996
10025
  }
9997
10026
  }
9998
- `, Js = (r) => v`
10027
+ `, _s = (r) => v`
9999
10028
  ${ne}
10000
10029
  ${re(r)}
10001
10030
  mutation DuplicateBundle(
@@ -10037,7 +10066,7 @@ const ne = v`
10037
10066
  }
10038
10067
  }
10039
10068
  }
10040
- `, Ks = v`
10069
+ `, Xs = v`
10041
10070
  mutation UpdateBundle(
10042
10071
  $id: String!
10043
10072
  $name: String
@@ -10057,19 +10086,19 @@ const ne = v`
10057
10086
  id
10058
10087
  }
10059
10088
  }
10060
- `, _s = v`
10089
+ `, Zs = v`
10061
10090
  mutation BundleAddTransaction($id: String!, $transactionId: String!) {
10062
10091
  bundleAddTransaction(id: $id, transactionId: $transactionId) {
10063
10092
  id
10064
10093
  }
10065
10094
  }
10066
- `, Xs = v`
10095
+ `, to = v`
10067
10096
  mutation BundleAddTransactions($id: String!, $transactionIds: [String!]!, $transactionOwnerIds: [String!]) {
10068
10097
  bundleAddTransactions(id: $id, transactionIds: $transactionIds, transactionOwnerIds: $transactionOwnerIds) {
10069
10098
  id
10070
10099
  }
10071
10100
  }
10072
- `, Zs = v`
10101
+ `, eo = v`
10073
10102
  mutation BundleRemoveTransaction(
10074
10103
  $id: String!
10075
10104
  $transactionId: String!
@@ -10084,7 +10113,7 @@ const ne = v`
10084
10113
  id
10085
10114
  }
10086
10115
  }
10087
- `, to = v`
10116
+ `, ao = v`
10088
10117
  mutation BundleRemoveTransactions(
10089
10118
  $id: String!
10090
10119
  $transactionIds: [String!]!
@@ -10099,7 +10128,7 @@ const ne = v`
10099
10128
  id
10100
10129
  }
10101
10130
  }
10102
- `, eo = v`
10131
+ `, no = v`
10103
10132
  mutation BundleAddStakeholder($id: String!, $details: CustomerDetailsInput!, $type: String!) {
10104
10133
  bundleAddStakeholder(id: $id, details: $details, type: $type) {
10105
10134
  id
@@ -10119,13 +10148,13 @@ const ne = v`
10119
10148
  }
10120
10149
  }
10121
10150
  }
10122
- `, ao = v`
10151
+ `, ro = v`
10123
10152
  mutation BundleAddStakeholder($id: String!, $emailAddress: String!) {
10124
10153
  bundleRemoveStakeholder(id: $id, emailAddress: $emailAddress) {
10125
10154
  id
10126
10155
  }
10127
10156
  }
10128
- `, no = v`
10157
+ `, io = v`
10129
10158
  mutation BundleUpdateStakeholders($id: String!, $input: [BundleStakeholderInput!]!) {
10130
10159
  bundleUpdateStakeholders(id: $id, input: $input) {
10131
10160
  id
@@ -10145,13 +10174,13 @@ const ne = v`
10145
10174
  }
10146
10175
  }
10147
10176
  }
10148
- `, ro = v`
10177
+ `, so = v`
10149
10178
  mutation BundleUpdateTransactionOrder($id: String!, $transactionIds: [String!]!) {
10150
10179
  bundleUpdateTransactionOrder(id: $id, transactionIds: $transactionIds) {
10151
10180
  id
10152
10181
  }
10153
10182
  }
10154
- `, io = (r) => v`
10183
+ `, oo = (r) => v`
10155
10184
  ${re(r)}
10156
10185
  mutation BundleAssignProductCollection($id: String!, $productCollectionId: String!) {
10157
10186
  bundleAssignProductCollection(id: $id, collectionId: $productCollectionId) {
@@ -10161,13 +10190,13 @@ const ne = v`
10161
10190
  }
10162
10191
  }
10163
10192
  }
10164
- `, so = v`
10193
+ `, lo = v`
10165
10194
  mutation AssignGlobalPropertyConfiguration($bundleId: String!, $globalPropertyConfigurationId: String!) {
10166
10195
  bundleUpdate(id: $bundleId, globalPropertyConfigurationId: $globalPropertyConfigurationId) {
10167
10196
  id
10168
10197
  }
10169
10198
  }
10170
- `, oo = (r) => v`
10199
+ `, co = (r) => v`
10171
10200
  query CustomerBundlesFeed($id: String!, $limit: Int!, $offset: Int!, $template: Boolean, $templateStatus: BundleTemplateStatus, $ordered: Boolean) {
10172
10201
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: $template, templateStatus: $templateStatus, ordered: $ordered) {
10173
10202
  items {
@@ -10203,27 +10232,27 @@ const ne = v`
10203
10232
  total
10204
10233
  }
10205
10234
  }
10206
- `, lo = v`
10235
+ `, Ao = v`
10207
10236
  mutation FinalizeUpdateBundle($bundleId: String!) {
10208
10237
  bundleFinalizeUpdate(bundleId: $bundleId)
10209
10238
  }
10210
- `, co = v`
10239
+ `, uo = v`
10211
10240
  mutation ApproveBundle($id: String!, $note: String, $stakeholderId: String) {
10212
10241
  bundleApprove(id: $id, note: $note, stakeholderId: $stakeholderId)
10213
10242
  }
10214
- `, Ao = v`
10243
+ `, ho = v`
10215
10244
  mutation RejectBundle($id: String!, $note: String, $stakeholderId: String) {
10216
10245
  bundleReject(id: $id, note: $note, stakeholderId: $stakeholderId)
10217
10246
  }
10218
- `, uo = v`
10247
+ `, mo = v`
10219
10248
  mutation ApproveTransaction($id: String!, $note: String) {
10220
10249
  transactionApprove(id: $id, note: $note)
10221
10250
  }
10222
- `, ho = v`
10251
+ `, go = v`
10223
10252
  mutation RejectTransaction($id: String!, $note: String) {
10224
10253
  transactionReject(id: $id, note: $note)
10225
10254
  }
10226
- `, mo = v`
10255
+ `, po = v`
10227
10256
  mutation CreateRecipient(
10228
10257
  $firstName: String
10229
10258
  $lastName: String
@@ -10235,6 +10264,13 @@ const ne = v`
10235
10264
  $country: String
10236
10265
  $mobile: String
10237
10266
  $company: String
10267
+ $apartment: String
10268
+ $customField1: String
10269
+ $customField2: String
10270
+ $customField3: String
10271
+ $customField4: String
10272
+ $customField5: String
10273
+ $conversionConfigurationId: String
10238
10274
  ) {
10239
10275
  recipientCreate(
10240
10276
  firstName: $firstName
@@ -10247,11 +10283,18 @@ const ne = v`
10247
10283
  country: $country
10248
10284
  mobile: $mobile
10249
10285
  company: $company
10286
+ apartment: $apartment
10287
+ customField1: $customField1
10288
+ customField2: $customField2
10289
+ customField3: $customField3
10290
+ customField4: $customField4
10291
+ customField5: $customField5
10292
+ conversionConfigurationId: $conversionConfigurationId
10250
10293
  ) {
10251
10294
  id
10252
10295
  }
10253
10296
  }
10254
- `, go = v`
10297
+ `, fo = v`
10255
10298
  mutation UpdateRecipient(
10256
10299
  $id: String!
10257
10300
  $firstName: String
@@ -10264,6 +10307,13 @@ const ne = v`
10264
10307
  $country: String
10265
10308
  $mobile: String
10266
10309
  $company: String
10310
+ $apartment: String
10311
+ $customField1: String
10312
+ $customField2: String
10313
+ $customField3: String
10314
+ $customField4: String
10315
+ $customField5: String
10316
+ $conversionConfigurationId: String
10267
10317
  ) {
10268
10318
  recipientUpdate(
10269
10319
  id: $id
@@ -10277,11 +10327,18 @@ const ne = v`
10277
10327
  country: $country
10278
10328
  mobile: $mobile
10279
10329
  company: $company
10330
+ apartment: $apartment
10331
+ customField1: $customField1
10332
+ customField2: $customField2
10333
+ customField3: $customField3
10334
+ customField4: $customField4
10335
+ customField5: $customField5
10336
+ conversionConfigurationId: $conversionConfigurationId
10280
10337
  ) {
10281
10338
  id
10282
10339
  }
10283
10340
  }
10284
- `, po = v`
10341
+ `, Co = v`
10285
10342
  mutation AtttachRecipient($id: String!, $recipientId: String!) {
10286
10343
  transactionAttachRecipient(id: $id, recipientId: $recipientId) {
10287
10344
  id
@@ -10289,7 +10346,7 @@ const ne = v`
10289
10346
  }
10290
10347
  `;
10291
10348
  var Re = /* @__PURE__ */ ((r) => (r.Error = "Error", r.Warning = "Warning", r.Info = "Info", r))(Re || {});
10292
- const fo = 1e3;
10349
+ const wo = 1e3;
10293
10350
  class Ya extends Fn {
10294
10351
  constructor(t) {
10295
10352
  super(), this.createdAt = /* @__PURE__ */ new Date(), this.update = t;
@@ -10298,11 +10355,11 @@ class Ya extends Fn {
10298
10355
  await this.update(), await new Promise((t) => {
10299
10356
  window.setTimeout(() => {
10300
10357
  t();
10301
- }, fo);
10358
+ }, wo);
10302
10359
  });
10303
10360
  }
10304
10361
  }
10305
- class Co {
10362
+ class yo {
10306
10363
  constructor(t, e, a, n, i, s, o, l, c, d, A, u, h, m = !1, g, p = !1, f = !1, C = !1) {
10307
10364
  var w;
10308
10365
  this.workflowStatePromiseQueue = new xn(1), this.initialized = !1, this.readOnly = !1, this.isReloadedTransaction = !1, this.singleVariantsRenderable = !1, this.stepTags = {}, this.renderLayouts = () => {
@@ -10325,12 +10382,31 @@ class Co {
10325
10382
  })
10326
10383
  );
10327
10384
  }
10328
- getTemplatingContext() {
10329
- return { recipient: this.transaction.recipient };
10385
+ async getTemplatingContext() {
10386
+ var a, n;
10387
+ const t = this.transaction.recipient;
10388
+ if (t != null && t.conversionConfigurationId && !this.recipientConversionConfiguration) {
10389
+ const i = await this.graphQlClient().query({
10390
+ query: bi,
10391
+ errorPolicy: "all",
10392
+ fetchPolicy: "no-cache",
10393
+ variables: {
10394
+ id: t.conversionConfigurationId
10395
+ }
10396
+ });
10397
+ i.data.conversionConfiguration && (this.recipientConversionConfiguration = i.data.conversionConfiguration);
10398
+ }
10399
+ const e = { recipient: t };
10400
+ return (n = (a = this.recipientConversionConfiguration) == null ? void 0 : a.requestedDataItems) == null || n.forEach((i) => {
10401
+ if (i.type === nr.Custom) {
10402
+ const s = i.uniqueIdentifier ?? i.title ?? "";
10403
+ i.customFieldIndex === 1 ? e[s] = t == null ? void 0 : t.customField1 : i.customFieldIndex === 2 ? e[s] = t == null ? void 0 : t.customField2 : i.customFieldIndex === 3 ? e[s] = t == null ? void 0 : t.customField3 : i.customFieldIndex === 4 ? e[s] = t == null ? void 0 : t.customField4 : i.customFieldIndex === 5 && (e[s] = t == null ? void 0 : t.customField5);
10404
+ }
10405
+ }), e;
10330
10406
  }
10331
- async updateRecipient(t, e, a, n, i, s, o, l, c, d) {
10332
- var A, u, h, m, g;
10333
- if ((A = this.transaction.recipient) != null && A.id)
10407
+ async updateRecipient(t, e, a, n, i, s, o, l, c, d, A, u, h, m, g, p, f) {
10408
+ var C, w, S, y, E;
10409
+ if ((C = this.transaction.recipient) != null && C.id)
10334
10410
  this.transaction.recipient = {
10335
10411
  id: this.transaction.recipient.id,
10336
10412
  firstName: t || this.transaction.recipient.firstName,
@@ -10342,9 +10418,16 @@ class Co {
10342
10418
  postalCode: o || this.transaction.recipient.postalCode,
10343
10419
  country: l || this.transaction.recipient.country,
10344
10420
  mobile: c || this.transaction.recipient.mobile,
10345
- company: d || this.transaction.recipient.company
10421
+ company: d || this.transaction.recipient.company,
10422
+ apartment: A || this.transaction.recipient.apartment,
10423
+ customField1: u || this.transaction.recipient.customField1,
10424
+ customField2: h || this.transaction.recipient.customField2,
10425
+ customField3: m || this.transaction.recipient.customField3,
10426
+ customField4: g || this.transaction.recipient.customField4,
10427
+ customField5: p || this.transaction.recipient.customField5,
10428
+ conversionConfigurationId: f || this.transaction.recipient.conversionConfigurationId
10346
10429
  }, await this.graphQlClient().mutate({
10347
- mutation: go,
10430
+ mutation: fo,
10348
10431
  errorPolicy: "all",
10349
10432
  fetchPolicy: "no-cache",
10350
10433
  variables: {
@@ -10358,12 +10441,19 @@ class Co {
10358
10441
  postalCode: o || this.transaction.recipient.postalCode,
10359
10442
  country: l || this.transaction.recipient.country,
10360
10443
  mobile: c || this.transaction.recipient.mobile,
10361
- company: d || this.transaction.recipient.company
10444
+ company: d || this.transaction.recipient.company,
10445
+ apartment: A || this.transaction.recipient.apartment,
10446
+ customField1: u || this.transaction.recipient.customField1,
10447
+ customField2: h || this.transaction.recipient.customField2,
10448
+ customField3: m || this.transaction.recipient.customField3,
10449
+ customField4: g || this.transaction.recipient.customField4,
10450
+ customField5: p || this.transaction.recipient.customField5,
10451
+ conversionConfigurationId: f || this.transaction.recipient.conversionConfigurationId
10362
10452
  }
10363
10453
  });
10364
10454
  else {
10365
- const p = await this.graphQlClient().mutate({
10366
- mutation: mo,
10455
+ const b = await this.graphQlClient().mutate({
10456
+ mutation: po,
10367
10457
  errorPolicy: "all",
10368
10458
  fetchPolicy: "no-cache",
10369
10459
  variables: {
@@ -10376,11 +10466,18 @@ class Co {
10376
10466
  postalCode: o,
10377
10467
  country: l,
10378
10468
  mobile: c,
10379
- company: d
10469
+ company: d,
10470
+ apartment: A,
10471
+ customField1: u,
10472
+ customField2: h,
10473
+ customField3: m,
10474
+ customField4: g,
10475
+ customField5: p,
10476
+ conversionConfigurationId: f
10380
10477
  }
10381
10478
  });
10382
10479
  this.transaction.recipient = {
10383
- id: (h = (u = p == null ? void 0 : p.data) == null ? void 0 : u.recipientCreate) == null ? void 0 : h.id,
10480
+ id: (S = (w = b == null ? void 0 : b.data) == null ? void 0 : w.recipientCreate) == null ? void 0 : S.id,
10384
10481
  firstName: t,
10385
10482
  lastName: e,
10386
10483
  address: a,
@@ -10390,21 +10487,28 @@ class Co {
10390
10487
  postalCode: o,
10391
10488
  country: l,
10392
10489
  mobile: c,
10393
- company: d
10490
+ company: d,
10491
+ apartment: A,
10492
+ customField1: u,
10493
+ customField2: h,
10494
+ customField3: m,
10495
+ customField4: g,
10496
+ customField5: p,
10497
+ conversionConfigurationId: f
10394
10498
  }, await this.graphQlClient().mutate({
10395
- mutation: po,
10499
+ mutation: Co,
10396
10500
  errorPolicy: "all",
10397
10501
  fetchPolicy: "no-cache",
10398
10502
  variables: {
10399
10503
  id: this.transaction.id,
10400
- recipientId: (g = (m = p.data) == null ? void 0 : m.recipientCreate) == null ? void 0 : g.id
10504
+ recipientId: (E = (y = b.data) == null ? void 0 : y.recipientCreate) == null ? void 0 : E.id
10401
10505
  },
10402
10506
  context: {
10403
10507
  transactionOwnerId: this.transaction.transactionOwnerId
10404
10508
  }
10405
10509
  });
10406
10510
  }
10407
- this.recipientCallbacks.forEach((p) => p(this.transaction.recipient));
10511
+ this.recipientCallbacks.forEach((b) => b(this.transaction.recipient));
10408
10512
  }
10409
10513
  async initializeDefaultWorkflowState(t) {
10410
10514
  const e = () => {
@@ -10417,9 +10521,9 @@ class Co {
10417
10521
  };
10418
10522
  this.reloadedState && this.reloadedState.serializableWorkflow.steps.forEach((o) => {
10419
10523
  this.storage[o.stepName] = o.storage || {};
10420
- }), this.allScenes = await zi(t);
10524
+ }), this.allScenes = await Wi(t);
10421
10525
  const n = Pt(this.allScenes, this.stepSelections).map((o) => o.silentSteps).flat(), { stepElements: i, commands: s } = await this.stepElementsForIntroducedSilentSteps(n, !!this.reloadedState);
10422
- this.commandContext.apply(new $(s), !0), this.stepElements = { ...this.stepElements, ...i }, await this.ensureStepsAreLoaded(), !this.isReloadedTransaction && this.updateStateWithServer(), this.renderLayouts(), this.reloadedState && e();
10526
+ this.commandContext.apply(new O(s), !0), this.stepElements = { ...this.stepElements, ...i }, await this.ensureStepsAreLoaded(), !this.isReloadedTransaction && this.updateStateWithServer(), this.renderLayouts(), this.reloadedState && e();
10423
10527
  }
10424
10528
  getWorkflowExperience() {
10425
10529
  return this.experience;
@@ -10835,7 +10939,7 @@ class Co {
10835
10939
  async updateTransactionStakeholders() {
10836
10940
  var e;
10837
10941
  const t = await B.getShadowGraphqlClient().query({
10838
- query: Pi,
10942
+ query: Fi,
10839
10943
  errorPolicy: "all",
10840
10944
  fetchPolicy: "no-cache",
10841
10945
  variables: {
@@ -10846,7 +10950,7 @@ class Co {
10846
10950
  }
10847
10951
  async approveTransaction(t) {
10848
10952
  await B.getShadowGraphqlClient().mutate({
10849
- mutation: uo,
10953
+ mutation: mo,
10850
10954
  errorPolicy: "all",
10851
10955
  fetchPolicy: "no-cache",
10852
10956
  variables: {
@@ -10857,7 +10961,7 @@ class Co {
10857
10961
  }
10858
10962
  async rejectTransaction(t) {
10859
10963
  await B.getShadowGraphqlClient().mutate({
10860
- mutation: ho,
10964
+ mutation: go,
10861
10965
  errorPolicy: "all",
10862
10966
  fetchPolicy: "no-cache",
10863
10967
  variables: {
@@ -10900,7 +11004,7 @@ class Co {
10900
11004
  E == null || E.setTargetElements(a.map((b) => b.id));
10901
11005
  }
10902
11006
  const p = u.map((E) => new Et(E.id)), f = new Ga(this.constructSerializableWorkflow()), C = [...m, ...p, f];
10903
- C.length > 0 && this.commandContext.apply(new $(C), !0), await this.ensureStepsAreLoaded(), this.onElementsChange();
11007
+ C.length > 0 && this.commandContext.apply(new O(C), !0), await this.ensureStepsAreLoaded(), this.onElementsChange();
10904
11008
  const w = this.getInvalidModelVariants(), S = this.modelContainer;
10905
11009
  if (S) {
10906
11010
  const E = w.map(
@@ -10975,7 +11079,7 @@ class Co {
10975
11079
  throw new Error(`Step initialization failed: ${l.reason}`);
10976
11080
  return l.value;
10977
11081
  }), s = i.filter((l) => !!l && !!l.command).map((l) => l.command), o = i.filter((l) => !!l && !!l.followup).map((l) => l.followup);
10978
- s && s.length > 0 && this.commandContext.apply(new $(s), !0);
11082
+ s && s.length > 0 && this.commandContext.apply(new O(s), !0);
10979
11083
  for (const l of o)
10980
11084
  await l();
10981
11085
  o.length > 0 && await this.ensureStepsAreLoaded(), this.onInitChange();
@@ -11027,7 +11131,7 @@ class Co {
11027
11131
  this.validationCallbacks.forEach((t) => t(this.validationErrors));
11028
11132
  }
11029
11133
  traversableScenes() {
11030
- return qi(this.allScenes, this.stepSelections, this.singleVariantsRenderable);
11134
+ return ji(this.allScenes, this.stepSelections, this.singleVariantsRenderable);
11031
11135
  }
11032
11136
  }
11033
11137
  class st {
@@ -11246,7 +11350,7 @@ const Jn = class la {
11246
11350
  };
11247
11351
  Jn.updateState = /* @__PURE__ */ new Map();
11248
11352
  let it = Jn;
11249
- class wo extends it {
11353
+ class So extends it {
11250
11354
  constructor(t, e, a) {
11251
11355
  super(t, e, a);
11252
11356
  }
@@ -11324,7 +11428,7 @@ class wo extends it {
11324
11428
  return this.step.data.pmsPickerEnabled ?? !1;
11325
11429
  }
11326
11430
  }
11327
- class yo extends it {
11431
+ class vo extends it {
11328
11432
  constructor(t, e, a) {
11329
11433
  super(t, e, a);
11330
11434
  }
@@ -11337,7 +11441,7 @@ class yo extends it {
11337
11441
  );
11338
11442
  }
11339
11443
  }
11340
- class So extends it {
11444
+ class Eo extends it {
11341
11445
  constructor(t, e, a) {
11342
11446
  super(t, e, a);
11343
11447
  }
@@ -11350,7 +11454,7 @@ class So extends it {
11350
11454
  );
11351
11455
  }
11352
11456
  }
11353
- class vo extends it {
11457
+ class bo extends it {
11354
11458
  constructor(t, e, a) {
11355
11459
  super(t, e, a);
11356
11460
  }
@@ -11368,7 +11472,7 @@ class vo extends it {
11368
11472
  );
11369
11473
  }
11370
11474
  }
11371
- class Eo extends it {
11475
+ class Bo extends it {
11372
11476
  constructor(t, e, a) {
11373
11477
  super(t, e, a);
11374
11478
  }
@@ -11385,7 +11489,7 @@ class Eo extends it {
11385
11489
  return this.step.data.displayType || ((t = this.step.option) == null ? void 0 : t.displayType);
11386
11490
  }
11387
11491
  }
11388
- class bo extends it {
11492
+ class Io extends it {
11389
11493
  constructor(t, e, a) {
11390
11494
  super(t, e, a);
11391
11495
  }
@@ -11440,7 +11544,7 @@ class bo extends it {
11440
11544
  return t;
11441
11545
  }
11442
11546
  }
11443
- class Bo extends it {
11547
+ class Po extends it {
11444
11548
  constructor(t, e, a) {
11445
11549
  super(t, e, a);
11446
11550
  }
@@ -11641,7 +11745,7 @@ class Bo extends it {
11641
11745
  await q.changeStrokeColor(this.step, t, e, this.manager);
11642
11746
  }
11643
11747
  }
11644
- class Io extends it {
11748
+ class Do extends it {
11645
11749
  constructor(t, e, a) {
11646
11750
  super(t, e, a);
11647
11751
  }
@@ -11654,7 +11758,7 @@ class Io extends it {
11654
11758
  return this.step.data.content;
11655
11759
  }
11656
11760
  }
11657
- class Po extends it {
11761
+ class Fo extends it {
11658
11762
  constructor(t, e, a) {
11659
11763
  super(t, e, a);
11660
11764
  }
@@ -11681,7 +11785,7 @@ class Po extends it {
11681
11785
  );
11682
11786
  }
11683
11787
  }
11684
- class Do extends it {
11788
+ class xo extends it {
11685
11789
  constructor(t, e, a) {
11686
11790
  super(t, e, a);
11687
11791
  }
@@ -11733,27 +11837,27 @@ class ce {
11733
11837
  static get(t, e) {
11734
11838
  switch (e.type) {
11735
11839
  case I.DigitalContent:
11736
- return new Po(t, e, t.getStepTags(e.stepName));
11840
+ return new Fo(t, e, t.getStepTags(e.stepName));
11737
11841
  case I.Information:
11738
- return new Io(t, e, t.getStepTags(e.stepName));
11842
+ return new Do(t, e, t.getStepTags(e.stepName));
11739
11843
  case I.Question:
11740
- return new Eo(t, e, t.getStepTags(e.stepName));
11741
- case I.Text:
11742
11844
  return new Bo(t, e, t.getStepTags(e.stepName));
11845
+ case I.Text:
11846
+ return new Po(t, e, t.getStepTags(e.stepName));
11743
11847
  case I.Illustration:
11744
- return new wo(t, e, t.getStepTags(e.stepName));
11848
+ return new So(t, e, t.getStepTags(e.stepName));
11745
11849
  case I.Picture:
11746
- return new vo(t, e, t.getStepTags(e.stepName));
11747
- case I.Shape:
11748
11850
  return new bo(t, e, t.getStepTags(e.stepName));
11851
+ case I.Shape:
11852
+ return new Io(t, e, t.getStepTags(e.stepName));
11749
11853
  case I.Material:
11750
- return new yo(t, e, t.getStepTags(e.stepName));
11854
+ return new vo(t, e, t.getStepTags(e.stepName));
11751
11855
  case I.Model:
11752
- return new So(t, e, t.getStepTags(e.stepName));
11856
+ return new Eo(t, e, t.getStepTags(e.stepName));
11753
11857
  case I.Frame:
11754
- return new Gl(t, e, t.getStepTags(e.stepName));
11858
+ return new ql(t, e, t.getStepTags(e.stepName));
11755
11859
  case I.Module:
11756
- return new Do(t, e, t.getStepTags(e.stepName));
11860
+ return new xo(t, e, t.getStepTags(e.stepName));
11757
11861
  default:
11758
11862
  throw new G(`Step type ${e.type} not yet supported in Core SDK`);
11759
11863
  }
@@ -11784,7 +11888,7 @@ const Kn = v`
11784
11888
  externalProductVariantId
11785
11889
  }
11786
11890
  }
11787
- `, Fo = v`
11891
+ `, ko = v`
11788
11892
  ${Kn}
11789
11893
  mutation CreateDesign(
11790
11894
  $name: String!
@@ -11816,7 +11920,7 @@ const Kn = v`
11816
11920
  }
11817
11921
  }
11818
11922
  }
11819
- `, xo = v`
11923
+ `, Mo = v`
11820
11924
  ${Kn}
11821
11925
  mutation CreateDesigns($inputs: [DesignCreateInput]!) {
11822
11926
  designCreateMany(inputs: $inputs) {
@@ -11835,7 +11939,7 @@ function Wt(r) {
11835
11939
  const t = JSON.parse(atob(r.split(".")[1])).exp;
11836
11940
  return Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3) >= t;
11837
11941
  }
11838
- const ko = async (r, t) => {
11942
+ const To = async (r, t) => {
11839
11943
  var n, i;
11840
11944
  const e = {};
11841
11945
  try {
@@ -11849,7 +11953,7 @@ const ko = async (r, t) => {
11849
11953
  c && !Wt(c) && (e.Authorization = `Bearer ${c}`);
11850
11954
  }
11851
11955
  return (i = (await B.getShadowGraphqlClient().mutate({
11852
- mutation: Fo,
11956
+ mutation: ko,
11853
11957
  errorPolicy: "all",
11854
11958
  fetchPolicy: "no-cache",
11855
11959
  variables: {
@@ -11866,7 +11970,7 @@ const ko = async (r, t) => {
11866
11970
  headers: e
11867
11971
  }
11868
11972
  })).data) == null ? void 0 : i.designCreate;
11869
- }, Mo = async (r, t) => {
11973
+ }, No = async (r, t) => {
11870
11974
  var n, i;
11871
11975
  const e = {};
11872
11976
  try {
@@ -11880,7 +11984,7 @@ const ko = async (r, t) => {
11880
11984
  c && !Wt(c) && (e.Authorization = `Bearer ${c}`);
11881
11985
  }
11882
11986
  return (i = (await B.getShadowGraphqlClient().mutate({
11883
- mutation: xo,
11987
+ mutation: Mo,
11884
11988
  errorPolicy: "all",
11885
11989
  fetchPolicy: "no-cache",
11886
11990
  variables: {
@@ -11935,7 +12039,7 @@ const ko = async (r, t) => {
11935
12039
  return t.steps.forEach((i) => {
11936
12040
  Object.assign(n, a(i));
11937
12041
  }), n;
11938
- }, To = (r, t, e, a) => {
12042
+ }, Qo = (r, t, e, a) => {
11939
12043
  const n = {};
11940
12044
  let i = {};
11941
12045
  e ? i = ca(e, t, !1) : a && (i = a);
@@ -11957,7 +12061,7 @@ const ko = async (r, t) => {
11957
12061
  return n;
11958
12062
  }, _n = (r, t, e, a, n, i, s, o) => {
11959
12063
  var m, g;
11960
- const l = t.basePrice || 0, c = r.priceModifierTotal || 0, d = To(a, e, void 0, i), u = (N.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(r.id), h = {
12064
+ const l = t.basePrice || 0, c = r.priceModifierTotal || 0, d = Qo(a, e, void 0, i), u = (N.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(r.id), h = {
11961
12065
  additionalExternalProductId: (m = r.integrationProduct) == null ? void 0 : m.additionalExternalProductId,
11962
12066
  additionalExternalVariantId: (g = r.integrationProduct) == null ? void 0 : g.additionalExternalVariantId,
11963
12067
  baseCost: l,
@@ -12073,7 +12177,7 @@ const ko = async (r, t) => {
12073
12177
  cartSelectionsWithPrices: C,
12074
12178
  cartMetadata: g
12075
12179
  };
12076
- }, No = async (r, t, e, a, n, i, s, o, l, c, d) => {
12180
+ }, Ro = async (r, t, e, a, n, i, s, o, l, c, d) => {
12077
12181
  var f, C;
12078
12182
  l("workflow.steps.finish.finalize.buildingLayouts");
12079
12183
  const { designDetails: A, cartSelectionsWithPrices: u, cartMetadata: h } = await Xn(
@@ -12088,7 +12192,7 @@ const ko = async (r, t) => {
12088
12192
  d
12089
12193
  );
12090
12194
  l("workflow.steps.finish.finalize.creatingDesign");
12091
- const m = await ko(A), g = (f = m == null ? void 0 : m.transaction) == null ? void 0 : f.previewImageLink;
12195
+ const m = await To(A), g = (f = m == null ? void 0 : m.transaction) == null ? void 0 : f.previewImageLink;
12092
12196
  if (!(m != null && m.transaction))
12093
12197
  throw new Error("Failed to create design");
12094
12198
  l("workflow.steps.finish.finalize.updatingTransaction");
@@ -12103,7 +12207,7 @@ const ko = async (r, t) => {
12103
12207
  g,
12104
12208
  (C = m == null ? void 0 : m.processExecution) == null ? void 0 : C.id
12105
12209
  );
12106
- }, Qo = async (r, t, e) => {
12210
+ }, $o = async (r, t, e) => {
12107
12211
  t("workflow.steps.finish.finalize.buildingLayouts"), await Promise.all(
12108
12212
  r.map(async (o) => {
12109
12213
  await o.workflowManager.outstandingRequestsPromise();
@@ -12135,7 +12239,7 @@ const ko = async (r, t) => {
12135
12239
  ))
12136
12240
  );
12137
12241
  t("workflow.steps.finish.finalize.creatingDesign");
12138
- const s = await Mo(i.map((o) => o.designDetails));
12242
+ const s = await No(i.map((o) => o.designDetails));
12139
12243
  if (!s)
12140
12244
  throw new Error("Failed to create designs");
12141
12245
  return t("workflow.steps.finish.finalize.updatingTransaction"), s.map((o, l) => {
@@ -12153,7 +12257,7 @@ const ko = async (r, t) => {
12153
12257
  );
12154
12258
  });
12155
12259
  };
12156
- class Ro {
12260
+ class Oo {
12157
12261
  constructor() {
12158
12262
  this.localPersistenceKey = "designTransactions", this.storageMethod = "Local", this.designSavedListeners = [];
12159
12263
  }
@@ -12220,7 +12324,7 @@ class Ro {
12220
12324
  throw new G("Unexpected storage method requested");
12221
12325
  }
12222
12326
  }
12223
- const Ye = new Ro(), Oo = v`
12327
+ const Ye = new Oo(), Uo = v`
12224
12328
  mutation AddTransactionStakeholder($id: String!, $type: String!, $details: CustomerDetailsInput!) {
12225
12329
  transactionAddStakeholder(id: $id, details: $details, type: $type) {
12226
12330
  id
@@ -12234,7 +12338,7 @@ const Ye = new Ro(), Oo = v`
12234
12338
  }
12235
12339
  }
12236
12340
  }
12237
- `, $o = v`
12341
+ `, Lo = v`
12238
12342
  mutation AddAddressToTransaction(
12239
12343
  $transactionId: String!
12240
12344
  $streetAddress: String
@@ -12256,15 +12360,15 @@ const Ye = new Ro(), Oo = v`
12256
12360
  id
12257
12361
  }
12258
12362
  }
12259
- `, Uo = v`
12363
+ `, Vo = v`
12260
12364
  mutation AddOrganizationToTransaction($transactionId: String!, $organizationName: String!) {
12261
12365
  organizationAttachToTransaction(transactionId: $transactionId, organizationName: $organizationName) {
12262
12366
  id
12263
12367
  }
12264
12368
  }
12265
12369
  `;
12266
- var Lo = /* @__PURE__ */ ((r) => (r.QuantityChanged = "QuantityChanged", r.PriceBreakChanged = "PriceBreakChanged", r))(Lo || {});
12267
- class Vo {
12370
+ var zo = /* @__PURE__ */ ((r) => (r.QuantityChanged = "QuantityChanged", r.PriceBreakChanged = "PriceBreakChanged", r))(zo || {});
12371
+ class Go {
12268
12372
  constructor(t, e) {
12269
12373
  var n;
12270
12374
  if (this.cachedStepHandles = /* @__PURE__ */ new Map(), this.currentPriceBreak = 1, this.renderableScenes = [], this.renderableSceneCallbacks = [], this.eventCallbacks = /* @__PURE__ */ new Map(), this.debouncedSavedDesignUpdate = cn(async () => {
@@ -12286,7 +12390,7 @@ class Vo {
12286
12390
  throw new Error("No Workflow ID provided.");
12287
12391
  this.client = t;
12288
12392
  const a = e.layouts;
12289
- this.commandContext = new os(), this.commandContext.initialize(a, e.reloadedState), this.isReadOnly = e.transaction.isOrdered || !!e.readOnly, this.graphQlClient = e.graphQlClient, this.workflowManager = new Co(
12393
+ this.commandContext = new cs(), this.commandContext.initialize(a, e.reloadedState), this.isReadOnly = e.transaction.isOrdered || !!e.readOnly, this.graphQlClient = e.graphQlClient, this.workflowManager = new yo(
12290
12394
  this,
12291
12395
  t,
12292
12396
  e.workflow,
@@ -12327,7 +12431,7 @@ class Vo {
12327
12431
  }
12328
12432
  async attachAddress(t, e, a, n, i, s) {
12329
12433
  await this.graphQlClient().mutate({
12330
- mutation: $o,
12434
+ mutation: Lo,
12331
12435
  variables: {
12332
12436
  transactionId: this.getWorkflowManager().getTransaction().id,
12333
12437
  streetAddress: t || void 0,
@@ -12341,7 +12445,7 @@ class Vo {
12341
12445
  }
12342
12446
  async attachOrganization(t) {
12343
12447
  await this.graphQlClient().mutate({
12344
- mutation: Uo,
12448
+ mutation: Vo,
12345
12449
  variables: {
12346
12450
  transactionId: this.getWorkflowManager().getTransaction().id,
12347
12451
  organizationName: t
@@ -12367,18 +12471,18 @@ class Vo {
12367
12471
  return this.workflowManager;
12368
12472
  }
12369
12473
  async createPreviewImage(t, e) {
12370
- var C, w;
12371
- const a = this.workflowManager.getWorkflow(), n = (C = a == null ? void 0 : a.finalizeStepConfig) == null ? void 0 : C.lookAtAnimation;
12474
+ var w, S;
12475
+ const a = this.workflowManager.getWorkflow(), n = (w = a == null ? void 0 : a.finalizeStepConfig) == null ? void 0 : w.lookAtAnimation;
12372
12476
  if (t) {
12373
12477
  if (!n)
12374
12478
  throw new Error("Failed to generate cart preview image!");
12375
- return await ((w = this.workflowManager.getPreviewService()) == null ? void 0 : w.renderSceneScreenshot(e ?? 512, n)) || "";
12479
+ return await ((S = this.workflowManager.getPreviewService()) == null ? void 0 : S.renderSceneScreenshot(e ?? 512, n)) || "";
12376
12480
  }
12377
12481
  let i = 2048;
12378
12482
  e && e <= 2048 && (i = e);
12379
- const s = gt(i, i), o = this.commandContext.getAllLayouts(), l = a.defaultPreviewPanelIndex || 0, c = a.panels[l], d = o.find((S) => {
12380
- var y;
12381
- return ((y = S.layoutState) == null ? void 0 : y.layout.panelId) === (c == null ? void 0 : c.name);
12483
+ const s = gt(i, i), o = this.commandContext.getAllLayouts(), l = a.defaultPreviewPanelIndex || 0, c = a.panels[l], d = o.find((y) => {
12484
+ var E;
12485
+ return ((E = y.layoutState) == null ? void 0 : E.layout.panelId) === (c == null ? void 0 : c.name);
12382
12486
  }) || o[0], A = d.layoutState.layout.previewRegion ? {
12383
12487
  x: d.layoutState.layout.previewRegion.left,
12384
12488
  y: d.layoutState.layout.previewRegion.top,
@@ -12392,14 +12496,14 @@ class Vo {
12392
12496
  }, u = this.commandContext.getLayoutById(d.layoutState.layout.id), h = s.getContext("2d");
12393
12497
  if (!h)
12394
12498
  throw new Fe("Failed to obtain 2D context for preview image creation");
12395
- const m = Sa(u.layoutState.layout, u.layoutState.elements, {
12499
+ const m = await this.workflowManager.getTemplatingContext(), g = Sa(u.layoutState.layout, u.layoutState.elements, {
12396
12500
  renderingConfiguration: {
12397
12501
  purpose: Ht.Print,
12398
12502
  region: { left: A.x, top: A.y, width: A.width, height: A.height },
12399
- templatingContext: this.workflowManager.getTemplatingContext()
12503
+ templatingContext: m
12400
12504
  }
12401
- }), g = hn(m);
12402
- await (await Aa.from(h, g, {
12505
+ }), p = hn(g);
12506
+ await (await Aa.from(h, p, {
12403
12507
  anonymousCrossOrigin: !0,
12404
12508
  ignoreDimensions: !1,
12405
12509
  createCanvas: gt,
@@ -12407,8 +12511,8 @@ class Vo {
12407
12511
  DOMParser: ga(),
12408
12512
  fetch
12409
12513
  })).render();
12410
- const f = await this.getCanvasObjectURLAsync(s);
12411
- return s.toDataURL(f);
12514
+ const C = await this.getCanvasObjectURLAsync(s);
12515
+ return s.toDataURL(C);
12412
12516
  }
12413
12517
  getStepById(t) {
12414
12518
  const e = this.getWorkflowManager().getWorkflow().steps.find((i) => i.stepName === t);
@@ -12541,7 +12645,7 @@ class Vo {
12541
12645
  async assignCustomerDetails(t) {
12542
12646
  var n, i, s;
12543
12647
  const a = (s = (i = (n = (await this.graphQlClient().mutate({
12544
- mutation: Oo,
12648
+ mutation: Uo,
12545
12649
  variables: {
12546
12650
  id: this.getWorkflowManager().getTransaction().id,
12547
12651
  details: t,
@@ -12604,7 +12708,7 @@ class Vo {
12604
12708
  async onDesignFinished(t, e = !0) {
12605
12709
  const a = this.workflowManager.getTransaction();
12606
12710
  return a.completed ? (await this.graphQlClient().mutate({
12607
- mutation: Di,
12711
+ mutation: xi,
12608
12712
  variables: {
12609
12713
  transactionId: a.id
12610
12714
  }
@@ -12616,7 +12720,7 @@ class Vo {
12616
12720
  transactionId: a.id,
12617
12721
  workflowViewerLink: "",
12618
12722
  workflowViewerReadOnlyLink: ""
12619
- }) : No(
12723
+ }) : Ro(
12620
12724
  this.workflowManager,
12621
12725
  this.workflowManager.getWorkflow(),
12622
12726
  this.workflowManager.getLayouts(),
@@ -12648,7 +12752,7 @@ class Vo {
12648
12752
  title: i.stepTitle,
12649
12753
  properties: []
12650
12754
  };
12651
- if (l && Go(i, a) && c.properties.push({
12755
+ if (l && qo(i, a) && c.properties.push({
12652
12756
  type: "selection",
12653
12757
  value: l.name,
12654
12758
  priceModifier: l.priceModifier
@@ -12720,7 +12824,7 @@ class Vo {
12720
12824
  ), this.checkForPriceBreakChanges();
12721
12825
  const e = this.getWorkflowManager().getTransaction();
12722
12826
  await this.graphQlClient().mutate({
12723
- mutation: vi,
12827
+ mutation: Ei,
12724
12828
  variables: {
12725
12829
  id: e.id,
12726
12830
  quantity: t
@@ -12742,7 +12846,7 @@ class Vo {
12742
12846
  (this.eventCallbacks.get(t) || []).forEach((e) => e(this));
12743
12847
  }
12744
12848
  }
12745
- const zo = (r) => {
12849
+ const Wo = (r) => {
12746
12850
  if ([
12747
12851
  I.Question,
12748
12852
  I.Frame,
@@ -12757,15 +12861,15 @@ const zo = (r) => {
12757
12861
  return !!e.displaySelectionOnFinishStep || !!e.displaySelectionsOnFinishStep;
12758
12862
  }
12759
12863
  return !1;
12760
- }, Go = (r, t) => {
12761
- if (!zo(r))
12864
+ }, qo = (r, t) => {
12865
+ if (!Wo(r))
12762
12866
  return !1;
12763
12867
  if (r.option && (r.option.variants || []).length > 1) {
12764
12868
  const e = t[r.stepName];
12765
12869
  return !!(e && e.selections.length > 0);
12766
12870
  }
12767
12871
  return !1;
12768
- }, Wo = [
12872
+ }, Ho = [
12769
12873
  "altGlyph",
12770
12874
  "circle",
12771
12875
  "ellipse",
@@ -12777,7 +12881,7 @@ const zo = (r) => {
12777
12881
  "textPath",
12778
12882
  "tref",
12779
12883
  "tspan"
12780
- ], qo = async (r, t, e) => {
12884
+ ], jo = async (r, t, e) => {
12781
12885
  const a = t.data, n = e.data.baseUrl, i = a.assetUrl.replace("localhost", "localstack"), s = n.slice(0, 4) === "http" ? "" : "https://", o = new URL(s + n);
12782
12886
  o.searchParams.append("video", Ra(JSON.stringify([{ href: i }]))), o.pathname = o.pathname + (o.pathname.slice(-1) === "/" ? "" : "/");
12783
12887
  const l = o.toString(), d = `data:image/svg+xml;base64,${Ra(await on(l, { type: "svg" }))}`, A = (h) => {
@@ -12804,14 +12908,14 @@ const zo = (r) => {
12804
12908
  } catch (h) {
12805
12909
  return console.error(h), [];
12806
12910
  }
12807
- }, Ho = async (r, t, e, a) => {
12911
+ }, Yo = async (r, t, e, a) => {
12808
12912
  const n = e.data, i = n.assetUrl, s = await sa(i);
12809
12913
  try {
12810
- const o = ls(n, a.option);
12914
+ const o = ds(n, a.option);
12811
12915
  o && (t[a.stepName] = { selectedVariants: [o] });
12812
12916
  const l = async (c) => {
12813
12917
  var g;
12814
- const d = await On(c, (g = o == null ? void 0 : o.asset) == null ? void 0 : g.fileLink), A = await Qe(d), u = Q(), h = r.find((p) => p.panelId === c.panelId);
12918
+ const d = await $n(c, (g = o == null ? void 0 : o.asset) == null ? void 0 : g.fileLink), A = await Qe(d), u = Q(), h = r.find((p) => p.panelId === c.panelId);
12815
12919
  if (!h)
12816
12920
  throw new Y(c);
12817
12921
  const m = Ea(
@@ -12862,7 +12966,7 @@ const zo = (r) => {
12862
12966
  } catch (o) {
12863
12967
  return console.error(o), [];
12864
12968
  }
12865
- }, jo = async (r, t, e, a) => {
12969
+ }, Jo = async (r, t, e, a) => {
12866
12970
  var y, E;
12867
12971
  const n = e.data, i = a.option;
12868
12972
  if (!i)
@@ -12882,7 +12986,7 @@ const zo = (r) => {
12882
12986
  pa(m);
12883
12987
  const g = {};
12884
12988
  xt(m, (b) => {
12885
- Wo.includes(b.tagName) && !b.attributes.getNamedItem("fill") && b.setAttribute("fill", "#000000");
12989
+ Ho.includes(b.tagName) && !b.attributes.getNamedItem("fill") && b.setAttribute("fill", "#000000");
12886
12990
  const P = b.attributes.getNamedItem("fill");
12887
12991
  if (P && P.value !== "none") {
12888
12992
  const F = P.value, T = `spiff-fill-${F.replace(/\W/g, "")}`;
@@ -12931,7 +13035,7 @@ const zo = (r) => {
12931
13035
  } catch (b) {
12932
13036
  return console.error(b), [];
12933
13037
  }
12934
- }, Yo = async (r, t, e) => {
13038
+ }, Ko = async (r, t, e) => {
12935
13039
  const a = await Yn(e.data.module), n = t.data, i = (o, l) => {
12936
13040
  const c = r.find((A) => A.panelId === l.panelId);
12937
13041
  if (!c)
@@ -12961,7 +13065,7 @@ const zo = (r) => {
12961
13065
  } catch (o) {
12962
13066
  return console.error(o), [];
12963
13067
  }
12964
- }, Jo = async (r, t, e, a) => {
13068
+ }, _o = async (r, t, e, a) => {
12965
13069
  var d, A;
12966
13070
  const n = e.data, i = a.option;
12967
13071
  if (!i)
@@ -13003,7 +13107,7 @@ const zo = (r) => {
13003
13107
  } catch (u) {
13004
13108
  return console.error(u), [];
13005
13109
  }
13006
- }, Ko = async (r, t, e, a) => {
13110
+ }, Xo = async (r, t, e, a) => {
13007
13111
  var c;
13008
13112
  const n = e.data, i = a.option;
13009
13113
  if (!i)
@@ -13060,7 +13164,7 @@ const zo = (r) => {
13060
13164
  } catch (d) {
13061
13165
  return console.error(d), [];
13062
13166
  }
13063
- }, _o = async (r, t, e) => {
13167
+ }, Zo = async (r, t, e) => {
13064
13168
  const a = [], i = (() => {
13065
13169
  var c, d;
13066
13170
  return t.type === I.ProductOverlay ? e || ((c = t.data.asset) == null ? void 0 : c.fileLink) || "" : ((d = t.data.asset) == null ? void 0 : d.fileLink) || "";
@@ -13127,7 +13231,7 @@ const zo = (r) => {
13127
13231
  });
13128
13232
  }
13129
13233
  return a;
13130
- }, Xo = async (r, t, e, a) => {
13234
+ }, tl = async (r, t, e, a) => {
13131
13235
  const n = [], i = e.data, s = 30, o = (p) => p.vertical ? "center" : p.textAlign || "center", l = () => {
13132
13236
  var w;
13133
13237
  const p = a.option;
@@ -13216,7 +13320,7 @@ const zo = (r) => {
13216
13320
  n.push(new W(C, f));
13217
13321
  }
13218
13322
  return n;
13219
- }, Zo = (r, t) => r.conditions ? r.conditions.every((e) => {
13323
+ }, el = (r, t) => r.conditions ? r.conditions.every((e) => {
13220
13324
  const a = t[e.targetStepName];
13221
13325
  if (a && a.selectedVariants) {
13222
13326
  const n = a.selectedVariants;
@@ -13225,7 +13329,7 @@ const zo = (r) => {
13225
13329
  );
13226
13330
  }
13227
13331
  return !1;
13228
- }) : !0, tl = async (r, t, e, a) => {
13332
+ }) : !0, al = async (r, t, e, a) => {
13229
13333
  const n = [], i = {};
13230
13334
  for (const s of r) {
13231
13335
  const o = t.steps.find((l) => l.stepName === s.name);
@@ -13233,18 +13337,18 @@ const zo = (r) => {
13233
13337
  switch (o.type) {
13234
13338
  case I.DigitalContent:
13235
13339
  n.push(
13236
- ...await qo(e, s, o)
13340
+ ...await jo(e, s, o)
13237
13341
  );
13238
13342
  break;
13239
13343
  case I.Frame:
13240
13344
  case I.Photo:
13241
13345
  n.push(
13242
- ...await Ho(e, i, s, o)
13346
+ ...await Yo(e, i, s, o)
13243
13347
  );
13244
13348
  break;
13245
13349
  case I.Illustration:
13246
13350
  n.push(
13247
- ...await jo(
13351
+ ...await Jo(
13248
13352
  e,
13249
13353
  i,
13250
13354
  s,
@@ -13253,39 +13357,39 @@ const zo = (r) => {
13253
13357
  );
13254
13358
  break;
13255
13359
  case I.Module:
13256
- n.push(...await Yo(e, s, o));
13360
+ n.push(...await Ko(e, s, o));
13257
13361
  break;
13258
13362
  case I.Picture:
13259
13363
  n.push(
13260
- ...await Jo(e, i, s, o)
13364
+ ...await _o(e, i, s, o)
13261
13365
  );
13262
13366
  break;
13263
13367
  case I.Shape:
13264
13368
  n.push(
13265
- ...await Ko(e, i, s, o)
13369
+ ...await Xo(e, i, s, o)
13266
13370
  );
13267
13371
  break;
13268
13372
  case I.Text:
13269
13373
  n.push(
13270
- ...await Xo(e, i, s, o)
13374
+ ...await tl(e, i, s, o)
13271
13375
  );
13272
13376
  break;
13273
13377
  }
13274
13378
  }
13275
13379
  for (const s of t.steps)
13276
- s.type !== I.SilentIllustration && s.type !== I.ProductOverlay || Zo(s, i) && n.push(
13277
- ...await _o(e, s, a)
13380
+ s.type !== I.SilentIllustration && s.type !== I.ProductOverlay || el(s, i) && n.push(
13381
+ ...await Zo(e, s, a)
13278
13382
  );
13279
13383
  return n;
13280
13384
  };
13281
- class el {
13385
+ class nl {
13282
13386
  constructor(t) {
13283
13387
  this.handleCompleteRender = null;
13284
13388
  const e = /* @__PURE__ */ new Map();
13285
13389
  t.forEach(
13286
13390
  (a) => e.set(
13287
13391
  a.id,
13288
- new rl(
13392
+ new sl(
13289
13393
  a.id,
13290
13394
  a.name,
13291
13395
  this,
@@ -13311,15 +13415,15 @@ class el {
13311
13415
  return this.workflowManager;
13312
13416
  }
13313
13417
  }
13314
- const al = () => new Promise((r, t) => {
13418
+ const rl = () => new Promise((r, t) => {
13315
13419
  try {
13316
13420
  const a = gt().getContext("webgl2");
13317
13421
  r(!!a);
13318
13422
  } catch {
13319
13423
  r(!1);
13320
13424
  }
13321
- }), nl = al();
13322
- class rl {
13425
+ }), il = rl();
13426
+ class sl {
13323
13427
  constructor(t, e, a, n, i) {
13324
13428
  this.hasSetStaticContext = !1, this.interactiveDirty = !1, this.staticCtxDirty = !1, this.lastRequestedRenderArguments = void 0, this.lastCompletedStaticRender = void 0, this.renderQueue = new xn(2), this.id = t, this.name = e, this.service = a, this.panelSize = n, this.getWorkflowManager = i;
13325
13429
  }
@@ -13375,10 +13479,10 @@ class rl {
13375
13479
  return;
13376
13480
  }
13377
13481
  this.renderQueue.enqueue(
13378
- new il(
13482
+ new ol(
13379
13483
  this.getID(),
13380
13484
  a,
13381
- await nl,
13485
+ await il,
13382
13486
  () => {
13383
13487
  this.markLastCompletedStaticRender(), this.setStaticContextDirty(!0);
13384
13488
  },
@@ -13388,7 +13492,7 @@ class rl {
13388
13492
  );
13389
13493
  }
13390
13494
  }
13391
- class il extends Fn {
13495
+ class ol extends Fn {
13392
13496
  constructor(t, e, a, n, i, s) {
13393
13497
  super(), this.layoutId = t, this.ctx = e, this.nonPOTSupport = a, this.onRender = n, this.layouts = i, this.getWorkflowManager = s;
13394
13498
  }
@@ -13426,25 +13530,25 @@ class il extends Fn {
13426
13530
  * a loose target but should be kept in mind when making changes.
13427
13531
  */
13428
13532
  async execute() {
13429
- var h, m;
13430
- const t = this.layouts.find((g) => g.layoutState.layout.id === this.layoutId);
13533
+ var m, g;
13534
+ const t = this.layouts.find((p) => p.layoutState.layout.id === this.layoutId);
13431
13535
  if (!t)
13432
13536
  return;
13433
13537
  const e = t.layoutState.elements || [], a = t.layoutState.layout.width, n = t.layoutState.layout.height, i = a === 1 || n === 1 ? { width: 1, height: 1 } : this.getDynamicTextureResolution(), s = i.width, o = i.height;
13434
13538
  let l, c;
13435
13539
  if (this.nonPOTSupport) {
13436
- const g = s / o;
13437
- a / n < g ? (l = s, c = n * (s / a)) : (l = a * (o / n), c = o);
13438
- const f = this.resizeFit({ width: l, height: c });
13439
- l = f.width, c = f.height;
13540
+ const p = s / o;
13541
+ a / n < p ? (l = s, c = n * (s / a)) : (l = a * (o / n), c = o);
13542
+ const C = this.resizeFit({ width: l, height: c });
13543
+ l = C.width, c = C.height;
13440
13544
  } else
13441
13545
  l = i.width, c = i.height;
13442
- const d = Sa(t.layoutState.layout, e, {
13546
+ const d = await ((g = (m = this.getWorkflowManager) == null ? void 0 : m.call(this)) == null ? void 0 : g.getTemplatingContext()), A = Sa(t.layoutState.layout, e, {
13443
13547
  renderingConfiguration: {
13444
13548
  purpose: Ht.ThreeD,
13445
- templatingContext: (m = (h = this.getWorkflowManager) == null ? void 0 : h.call(this)) == null ? void 0 : m.getTemplatingContext()
13549
+ templatingContext: d
13446
13550
  }
13447
- }), A = hn(d), u = await Aa.from(this.ctx, A, {
13551
+ }), u = hn(A), h = await Aa.from(this.ctx, u, {
13448
13552
  anonymousCrossOrigin: !0,
13449
13553
  ignoreDimensions: !this.nonPOTSupport,
13450
13554
  ignoreAnimation: !0,
@@ -13456,10 +13560,10 @@ class il extends Fn {
13456
13560
  DOMParser: ga(),
13457
13561
  fetch
13458
13562
  });
13459
- u.resize(l, c), await u.render(), this.onRender();
13563
+ h.resize(l, c), await h.render(), this.onRender();
13460
13564
  }
13461
13565
  }
13462
- const od = (r, t) => {
13566
+ const ld = (r, t) => {
13463
13567
  const e = [];
13464
13568
  return r.forEach((a) => {
13465
13569
  const n = t.steps.find((i) => i.stepName === a.stepName);
@@ -13470,16 +13574,16 @@ const od = (r, t) => {
13470
13574
  }
13471
13575
  });
13472
13576
  }), e;
13473
- }, ld = async (r, t, e, a) => {
13577
+ }, cd = async (r, t, e, a) => {
13474
13578
  let n = {
13475
13579
  serializableWorkflow: { steps: [] },
13476
13580
  layouts: {}
13477
13581
  };
13478
- n = new $(e.map((l) => new Ln(l))).apply(n);
13479
- const s = await tl(r, t, e, a);
13480
- return new $(s).apply(n);
13582
+ n = new O(e.map((l) => new Ln(l))).apply(n);
13583
+ const s = await al(r, t, e, a);
13584
+ return new O(s).apply(n);
13481
13585
  };
13482
- class sl {
13586
+ class ll {
13483
13587
  constructor(t) {
13484
13588
  this.handleCache = {}, this.bundle = t;
13485
13589
  }
@@ -13524,7 +13628,7 @@ class sl {
13524
13628
  async createHandle(t) {
13525
13629
  switch (t.type) {
13526
13630
  case z.FileUpload:
13527
- return new ol(this.bundle, t).initialize();
13631
+ return new cl(this.bundle, t).initialize();
13528
13632
  case z.ColorOption:
13529
13633
  return new Ja(
13530
13634
  this.bundle,
@@ -13536,7 +13640,7 @@ class sl {
13536
13640
  return (e == null ? void 0 : e.type) === "Color" ? new Ja(this.bundle, t, e) : new Zn(this.bundle, t, e);
13537
13641
  }
13538
13642
  case z.Text:
13539
- return new ll(this.bundle, t);
13643
+ return new dl(this.bundle, t);
13540
13644
  default:
13541
13645
  throw new Error("Unhandled Global Property Aspect Type");
13542
13646
  }
@@ -13597,7 +13701,7 @@ class Ia {
13597
13701
  return this.bundle.getGlobalPropertyStateManager().getAspect(this.property.name);
13598
13702
  }
13599
13703
  }
13600
- class ol extends Ia {
13704
+ class cl extends Ia {
13601
13705
  constructor(t, e) {
13602
13706
  super(t, e);
13603
13707
  }
@@ -13834,7 +13938,7 @@ class ol extends Ia {
13834
13938
  );
13835
13939
  }
13836
13940
  }
13837
- class ll extends Ia {
13941
+ class dl extends Ia {
13838
13942
  constructor(t, e) {
13839
13943
  super(t, e);
13840
13944
  }
@@ -13999,8 +14103,8 @@ class Ja extends Zn {
13999
14103
  return ((t = this.bundle.getGlobalPropertyStateManager().getAspectStorage(this.property.name)) == null ? void 0 : t.customColor) || ((e = this.getCurrentVariant()) == null ? void 0 : e.getColor()) || "#ffffff";
14000
14104
  }
14001
14105
  }
14002
- const cl = (r, t, e, a) => r.flatMap((n) => n.getSteps()).filter((n) => n.getGlobalPropertyAspects(t).includes(e) && n.getType() === a), dl = (r, t, e) => {
14003
- const n = cl(
14106
+ const Al = (r, t, e, a) => r.flatMap((n) => n.getSteps()).filter((n) => n.getGlobalPropertyAspects(t).includes(e) && n.getType() === a), ul = (r, t, e) => {
14107
+ const n = Al(
14004
14108
  r,
14005
14109
  t,
14006
14110
  e,
@@ -14012,7 +14116,7 @@ const cl = (r, t, e, a) => r.flatMap((n) => n.getSteps()).filter((n) => n.getGlo
14012
14116
  });
14013
14117
  return Math.max(...n);
14014
14118
  };
14015
- class Al {
14119
+ class hl {
14016
14120
  constructor(t, e, a, n, i) {
14017
14121
  this.bundleId = t, this.bundleOwnerId = e, this.configuration = a, this.bundleOptions = i;
14018
14122
  const s = i == null ? void 0 : i.existingGlobalPropertyState;
@@ -14128,7 +14232,7 @@ class Al {
14128
14232
  if (!this.globalPropertyState)
14129
14233
  throw new Error("Global property state not initialized");
14130
14234
  const t = await B.getShadowGraphqlClient().mutate({
14131
- mutation: Ls,
14235
+ mutation: zs,
14132
14236
  variables: {
14133
14237
  id: this.globalPropertyState.id,
14134
14238
  aspects: this.globalPropertyState.aspects.map((n) => {
@@ -14172,7 +14276,7 @@ class Al {
14172
14276
  async createGlobalPropertyState() {
14173
14277
  var e, a;
14174
14278
  const t = await B.getShadowGraphqlClient().mutate({
14175
- mutation: Us,
14279
+ mutation: Vs,
14176
14280
  variables: {
14177
14281
  bundleId: this.bundleId
14178
14282
  },
@@ -14188,7 +14292,7 @@ class Al {
14188
14292
  throw new Error(`Unable to create global property state for bundle: ${this.bundleId}`);
14189
14293
  }
14190
14294
  }
14191
- class ul {
14295
+ class ml {
14192
14296
  constructor(t) {
14193
14297
  this.setState(t);
14194
14298
  }
@@ -14276,7 +14380,7 @@ class ul {
14276
14380
  };
14277
14381
  }
14278
14382
  }
14279
- const hl = v`
14383
+ const gl = v`
14280
14384
  query GetManyMetafields($entityIds: [String!]!) {
14281
14385
  metafieldsMany(entityIds: $entityIds) {
14282
14386
  id
@@ -14288,7 +14392,7 @@ const hl = v`
14288
14392
  }
14289
14393
  }
14290
14394
  `;
14291
- class ml {
14395
+ class pl {
14292
14396
  constructor() {
14293
14397
  this.internalMap = /* @__PURE__ */ new Map();
14294
14398
  }
@@ -14310,7 +14414,7 @@ class ml {
14310
14414
  if (t.every((a) => this.internalMap.has(a)))
14311
14415
  return;
14312
14416
  const e = await B.getShadowGraphqlClient().query({
14313
- query: hl,
14417
+ query: gl,
14314
14418
  errorPolicy: "all",
14315
14419
  variables: {
14316
14420
  entityIds: t.filter((a) => !this.internalMap.has(a))
@@ -14351,8 +14455,8 @@ class ml {
14351
14455
  return JSON.parse(n.value);
14352
14456
  }
14353
14457
  }
14354
- const gl = new ml();
14355
- var pl = /* @__PURE__ */ ((r) => (r.Default = "Default", r.Name = "Name", r.Price = "Price", r))(pl || {});
14458
+ const fl = new pl();
14459
+ var Cl = /* @__PURE__ */ ((r) => (r.Default = "Default", r.Name = "Name", r.Price = "Price", r))(Cl || {});
14356
14460
  class tr {
14357
14461
  constructor(t) {
14358
14462
  this.fullFetched = !1, this.collection = t;
@@ -14414,7 +14518,7 @@ class tr {
14414
14518
  if (this.fullFetched)
14415
14519
  return this.collection.productCollectionProducts.filter((a) => !!a.product).map((a) => new de(a));
14416
14520
  const e = await B.getShadowGraphqlClient().query({
14417
- query: qs,
14521
+ query: js,
14418
14522
  variables: {
14419
14523
  id: this.getId(),
14420
14524
  productIds: t
@@ -14431,7 +14535,7 @@ class tr {
14431
14535
  async filterProducts(t, e, a, n) {
14432
14536
  var l, c;
14433
14537
  const i = await B.getShadowGraphqlClient().query({
14434
- query: Hs,
14538
+ query: Ys,
14435
14539
  errorPolicy: "all",
14436
14540
  variables: {
14437
14541
  id: this.getId(),
@@ -14471,7 +14575,7 @@ class tr {
14471
14575
  };
14472
14576
  }
14473
14577
  const o = new AbortController(), { signal: l } = o, c = B.getShadowGraphqlClient().watchQuery({
14474
- query: js,
14578
+ query: Js,
14475
14579
  variables: {
14476
14580
  id: this.getId(),
14477
14581
  limit: e,
@@ -14519,7 +14623,7 @@ class tr {
14519
14623
  }
14520
14624
  getTransformCollection() {
14521
14625
  if (this.collection.transformCollection)
14522
- return new fl(this.collection.transformCollection);
14626
+ return new wl(this.collection.transformCollection);
14523
14627
  }
14524
14628
  /**
14525
14629
  * The raw collection resource. This is generally not needed and should be avoided.
@@ -14661,7 +14765,7 @@ class de {
14661
14765
  * @returns A map of metafield key to value. Any unavailable keys will not be present in the map. use map.has() to check if a key is present.
14662
14766
  */
14663
14767
  async requestMetafields(t) {
14664
- return gl.requestKeysForEntity(this.product.id, t);
14768
+ return fl.requestKeysForEntity(this.product.id, t);
14665
14769
  }
14666
14770
  }
14667
14771
  class qt {
@@ -14688,7 +14792,7 @@ class qt {
14688
14792
  return this.workflow.imageUrl;
14689
14793
  }
14690
14794
  }
14691
- class fl {
14795
+ class wl {
14692
14796
  constructor(t) {
14693
14797
  this.collection = t;
14694
14798
  }
@@ -14708,10 +14812,10 @@ class fl {
14708
14812
  * @returns The transforms in this collection.
14709
14813
  */
14710
14814
  getTransforms() {
14711
- return this.collection.transforms.map((t) => new Cl(t));
14815
+ return this.collection.transforms.map((t) => new yl(t));
14712
14816
  }
14713
14817
  }
14714
- class Cl {
14818
+ class yl {
14715
14819
  constructor(t) {
14716
14820
  this.transform = t;
14717
14821
  }
@@ -14738,24 +14842,24 @@ class Cl {
14738
14842
  };
14739
14843
  }
14740
14844
  }
14741
- const wl = v`
14845
+ const Sl = v`
14742
14846
  ${re(!1)}
14743
14847
  query GetProductCollections($ids: [String!]!) {
14744
14848
  productCollections(ids: $ids) {
14745
14849
  ...ProductCollectionFields
14746
14850
  }
14747
14851
  }
14748
- `, cd = async (r) => {
14852
+ `, dd = async (r) => {
14749
14853
  var e, a;
14750
14854
  return (a = (e = (await B.getShadowGraphqlClient().query({
14751
- query: wl,
14855
+ query: Sl,
14752
14856
  errorPolicy: "all",
14753
14857
  variables: {
14754
14858
  ids: r
14755
14859
  }
14756
14860
  })).data) == null ? void 0 : e.productCollections) == null ? void 0 : a.map((n) => new tr(n));
14757
14861
  };
14758
- class yl {
14862
+ class vl {
14759
14863
  constructor() {
14760
14864
  this.listeners = {};
14761
14865
  }
@@ -14782,7 +14886,7 @@ class yl {
14782
14886
  delete this.listeners[e];
14783
14887
  }
14784
14888
  }
14785
- const Sl = v`
14889
+ const El = v`
14786
14890
  mutation AddAddressToBundle(
14787
14891
  $bundleId: String!
14788
14892
  $streetAddress: String
@@ -14804,13 +14908,13 @@ const Sl = v`
14804
14908
  id
14805
14909
  }
14806
14910
  }
14807
- `, vl = v`
14911
+ `, bl = v`
14808
14912
  mutation AddOrganizationToBundle($bundleId: String!, $organizationName: String!) {
14809
14913
  organizationAttachToBundle(bundleId: $bundleId, organizationName: $organizationName) {
14810
14914
  id
14811
14915
  }
14812
14916
  }
14813
- `, El = v`
14917
+ `, Bl = v`
14814
14918
  mutation GenerateQuoteId($id: String!) {
14815
14919
  bundleGenerateQuoteId(id: $id) {
14816
14920
  id
@@ -14821,15 +14925,15 @@ const Sl = v`
14821
14925
  class Je {
14822
14926
  constructor(t, e, a, n, i, s) {
14823
14927
  var c, d, A;
14824
- this.workflowExperiences = [], this.eventEmitter = new yl(), 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 = i, this.metadata = new Map(((c = e.metadata) == null ? void 0 : c.map((u) => [u.key, u.value])) || []), this.completed = e.completed ?? !1, this.productCollection = e.productCollection, this.bundleStateManager = new ul(e.bundleStateData);
14928
+ this.workflowExperiences = [], this.eventEmitter = new vl(), 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 = i, this.metadata = new Map(((c = e.metadata) == null ? void 0 : c.map((u) => [u.key, u.value])) || []), this.completed = e.completed ?? !1, this.productCollection = e.productCollection, this.bundleStateManager = new ml(e.bundleStateData);
14825
14929
  const o = (d = this.productCollection) == null ? void 0 : d.globalPropertyConfiguration;
14826
- this.globalConfigurationPropertyId = o == null ? void 0 : o.id, this.globalPropertyStateManager = new Al(
14930
+ this.globalConfigurationPropertyId = o == null ? void 0 : o.id, this.globalPropertyStateManager = new hl(
14827
14931
  this.id,
14828
14932
  this.ownerId,
14829
14933
  o,
14830
14934
  this.checkConditionalHandlesChanged.bind(this),
14831
14935
  s
14832
- ), this.globalPropertyHandleService = new sl(this), this.setPreviewService(a);
14936
+ ), this.globalPropertyHandleService = new ll(this), this.setPreviewService(a);
14833
14937
  const l = new Promise((u, h) => {
14834
14938
  if (s != null && s.readonly) {
14835
14939
  u([]);
@@ -14864,7 +14968,7 @@ class Je {
14864
14968
  async generateQuoteId() {
14865
14969
  var a, n;
14866
14970
  const e = (n = (a = (await B.getShadowGraphqlClient().mutate({
14867
- mutation: El,
14971
+ mutation: Bl,
14868
14972
  variables: {
14869
14973
  id: this.id
14870
14974
  },
@@ -14876,7 +14980,7 @@ class Je {
14876
14980
  }
14877
14981
  async attachAddress(t, e, a, n, i, s) {
14878
14982
  await B.getShadowGraphqlClient().mutate({
14879
- mutation: Sl,
14983
+ mutation: El,
14880
14984
  variables: {
14881
14985
  bundleId: this.id,
14882
14986
  streetAddress: t || void 0,
@@ -14893,7 +14997,7 @@ class Je {
14893
14997
  }
14894
14998
  async attachOrganization(t) {
14895
14999
  await B.getShadowGraphqlClient().mutate({
14896
- mutation: vl,
15000
+ mutation: bl,
14897
15001
  variables: {
14898
15002
  bundleId: this.id,
14899
15003
  organizationName: t
@@ -15036,7 +15140,7 @@ class Je {
15036
15140
  (d) => d.name === l
15037
15141
  );
15038
15142
  if (c && c.type === z.ColorOption) {
15039
- const d = (a = s.getCurrentVariant()) == null ? void 0 : a.getAssetResource(), A = ((n = d == null ? void 0 : d.assetConfiguration) == null ? void 0 : n.channelNumbers) || [], u = ((i = d == null ? void 0 : d.assetConfiguration) == null ? void 0 : i.defaultColorVariants) || [], h = dl(
15143
+ const d = (a = s.getCurrentVariant()) == null ? void 0 : a.getAssetResource(), A = ((n = d == null ? void 0 : d.assetConfiguration) == null ? void 0 : n.channelNumbers) || [], u = ((i = d == null ? void 0 : d.assetConfiguration) == null ? void 0 : i.defaultColorVariants) || [], h = ul(
15040
15144
  this.getWorkflowExperiences(),
15041
15145
  this.globalConfigurationPropertyId || "",
15042
15146
  l
@@ -15071,7 +15175,7 @@ class Je {
15071
15175
  );
15072
15176
  const n = N.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), i = e.map((o) => n.get(o));
15073
15177
  await B.getShadowGraphqlClient().mutate({
15074
- mutation: Xs,
15178
+ mutation: to,
15075
15179
  variables: {
15076
15180
  id: this.id,
15077
15181
  transactionIds: e,
@@ -15103,7 +15207,7 @@ class Je {
15103
15207
  throw new Error("Unable to add transaction to bundle - Already Exists!");
15104
15208
  const s = (N.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(a);
15105
15209
  await B.getShadowGraphqlClient().mutate({
15106
- mutation: _s,
15210
+ mutation: Zs,
15107
15211
  variables: {
15108
15212
  id: this.id,
15109
15213
  transactionId: a
@@ -15138,7 +15242,7 @@ class Je {
15138
15242
  (i) => i.getWorkflowManager().getTransaction().id === e.id
15139
15243
  );
15140
15244
  if (n.setBundle(void 0), this.previewService && n.getWorkflowManager().ejectFromPreviewService(), this.bundleStateManager.removeStateForTransaction(e.id), await B.getShadowGraphqlClient().mutate({
15141
- mutation: Zs,
15245
+ mutation: eo,
15142
15246
  variables: {
15143
15247
  id: this.id,
15144
15248
  transactionId: e.id,
@@ -15175,7 +15279,7 @@ class Je {
15175
15279
  a.forEach((n) => n.setBundle(void 0)), [...this.workflowExperiences, ...a].forEach(
15176
15280
  (n) => n.checkForPriceBreakChanges()
15177
15281
  ), this.previewService && a.forEach((n) => n.getWorkflowManager().ejectFromPreviewService()), t.forEach((n) => this.bundleStateManager.removeStateForTransaction(n.id)), await B.getShadowGraphqlClient().mutate({
15178
- mutation: to,
15282
+ mutation: ao,
15179
15283
  variables: {
15180
15284
  id: this.id,
15181
15285
  transactionIds: t.map((n) => n.id),
@@ -15238,7 +15342,7 @@ class Je {
15238
15342
  async addStakeholder(t, e) {
15239
15343
  var i;
15240
15344
  const a = await B.getShadowGraphqlClient().mutate({
15241
- mutation: eo,
15345
+ mutation: no,
15242
15346
  variables: {
15243
15347
  id: this.id,
15244
15348
  details: t,
@@ -15256,7 +15360,7 @@ class Je {
15256
15360
  async removeStakeholder(t) {
15257
15361
  var a;
15258
15362
  if (!((a = (await B.getShadowGraphqlClient().mutate({
15259
- mutation: ao,
15363
+ mutation: ro,
15260
15364
  variables: {
15261
15365
  id: this.id,
15262
15366
  emailAddress: t
@@ -15270,7 +15374,7 @@ class Je {
15270
15374
  async updateStakeholders(t) {
15271
15375
  var n;
15272
15376
  const e = await B.getShadowGraphqlClient().mutate({
15273
- mutation: no,
15377
+ mutation: io,
15274
15378
  variables: {
15275
15379
  id: this.id,
15276
15380
  input: t
@@ -15325,7 +15429,7 @@ class Je {
15325
15429
  async finish(t, e) {
15326
15430
  if (this.completed)
15327
15431
  return await B.getShadowGraphqlClient().mutate({
15328
- mutation: lo,
15432
+ mutation: Ao,
15329
15433
  variables: {
15330
15434
  bundleId: this.id
15331
15435
  }
@@ -15334,7 +15438,7 @@ class Je {
15334
15438
  items: [],
15335
15439
  bundleOwnerId: this.ownerId
15336
15440
  };
15337
- const a = await Qo(
15441
+ const a = await $o(
15338
15442
  this.workflowExperiences.map((n) => ({
15339
15443
  workflowManager: n.getWorkflowManager(),
15340
15444
  workflow: n.getWorkflowManager().getWorkflow(),
@@ -15387,7 +15491,7 @@ class Je {
15387
15491
  }
15388
15492
  async assignGlobalPropertyConfiguration(t) {
15389
15493
  await B.getShadowGraphqlClient().mutate({
15390
- mutation: so,
15494
+ mutation: lo,
15391
15495
  variables: {
15392
15496
  bundleId: this.id,
15393
15497
  globalPropertyConfigurationId: t
@@ -15400,7 +15504,7 @@ class Je {
15400
15504
  async assignProductCollection(t) {
15401
15505
  var a, n;
15402
15506
  const e = await B.getShadowGraphqlClient().mutate({
15403
- mutation: io(
15507
+ mutation: oo(
15404
15508
  ((a = this.globalPropertyStateManager.getBundleOptions()) == null ? void 0 : a.eagerFetchProducts) ?? !1
15405
15509
  ),
15406
15510
  variables: {
@@ -15458,7 +15562,7 @@ class Je {
15458
15562
  async updateBundle() {
15459
15563
  var e;
15460
15564
  if (!((e = (await B.getShadowGraphqlClient().mutate({
15461
- mutation: Ks,
15565
+ mutation: Xs,
15462
15566
  variables: {
15463
15567
  id: this.id,
15464
15568
  name: this.name,
@@ -15475,7 +15579,7 @@ class Je {
15475
15579
  }
15476
15580
  async updateTransactionOrder() {
15477
15581
  await B.getShadowGraphqlClient().mutate({
15478
- mutation: ro,
15582
+ mutation: so,
15479
15583
  variables: {
15480
15584
  id: this.id,
15481
15585
  transactionIds: this.workflowExperiences.map((t) => t.getWorkflowManager().getTransaction().id)
@@ -15516,7 +15620,7 @@ class Je {
15516
15620
  }
15517
15621
  async approve(t, e) {
15518
15622
  await B.getShadowGraphqlClient().mutate({
15519
- mutation: co,
15623
+ mutation: uo,
15520
15624
  errorPolicy: "all",
15521
15625
  fetchPolicy: "no-cache",
15522
15626
  variables: {
@@ -15528,7 +15632,7 @@ class Je {
15528
15632
  }
15529
15633
  async reject(t, e) {
15530
15634
  await B.getShadowGraphqlClient().mutate({
15531
- mutation: Ao,
15635
+ mutation: ho,
15532
15636
  errorPolicy: "all",
15533
15637
  fetchPolicy: "no-cache",
15534
15638
  variables: {
@@ -15546,14 +15650,14 @@ class Je {
15546
15650
  };
15547
15651
  }
15548
15652
  }
15549
- const bl = v`
15653
+ const Il = v`
15550
15654
  mutation processFlowCreate($processFlowId: String!, $inputs: [String]!) {
15551
15655
  processExecutionCreate(processFlowId: $processFlowId, inputs: $inputs) {
15552
15656
  id
15553
15657
  }
15554
15658
  }
15555
15659
  `;
15556
- class Bl {
15660
+ class Pl {
15557
15661
  /**
15558
15662
  *
15559
15663
  * @param id
@@ -15564,7 +15668,7 @@ class Bl {
15564
15668
  async execute(t, e, a) {
15565
15669
  var A, u, h;
15566
15670
  const i = (u = (A = (await B.getShadowGraphqlClient().mutate({
15567
- mutation: bl,
15671
+ mutation: Il,
15568
15672
  variables: {
15569
15673
  processFlowId: t,
15570
15674
  inputs: [...e.map((m) => m.getValueForTransmission())]
@@ -15606,7 +15710,7 @@ class Bl {
15606
15710
  "Execution has failed to complete. See Automation > FLows in Flight on partner account on SpiffCommerce Hub."
15607
15711
  );
15608
15712
  if (m.completedAt) {
15609
- o = !0, d = new Il(m);
15713
+ o = !0, d = new Dl(m);
15610
15714
  break;
15611
15715
  }
15612
15716
  l += 1;
@@ -15620,7 +15724,7 @@ class Bl {
15620
15724
  return Promise.resolve(d);
15621
15725
  }
15622
15726
  }
15623
- class Il {
15727
+ class Dl {
15624
15728
  constructor(t) {
15625
15729
  this.execution = t;
15626
15730
  }
@@ -15705,8 +15809,8 @@ class Pa {
15705
15809
  return t.startsWith("[") ? JSON.stringify(JSON.parse(t)) : t;
15706
15810
  }
15707
15811
  }
15708
- var Pl = /* @__PURE__ */ ((r) => (r.Transaction = "Transaction", r.Bundle = "Bundle", r.Product = "Product", r.Variant = "Variant", r.Option = "Option", r.LineItem = "LineItem", r.Asset = "Asset", r))(Pl || {});
15709
- class dd extends Pa {
15812
+ var Fl = /* @__PURE__ */ ((r) => (r.Transaction = "Transaction", r.Bundle = "Bundle", r.Product = "Product", r.Variant = "Variant", r.Option = "Option", r.LineItem = "LineItem", r.Asset = "Asset", r))(Fl || {});
15813
+ class Ad extends Pa {
15710
15814
  constructor(t) {
15711
15815
  super(`"${t}"`);
15712
15816
  }
@@ -15721,7 +15825,7 @@ class er extends Pa {
15721
15825
  return t.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i);
15722
15826
  }
15723
15827
  }
15724
- class Ad extends Pa {
15828
+ class ud extends Pa {
15725
15829
  constructor(t) {
15726
15830
  super(`[${t.map((e) => e.getRaw()).join(",")}]`);
15727
15831
  }
@@ -15779,7 +15883,7 @@ const ue = v`
15779
15883
  }
15780
15884
  }
15781
15885
  }
15782
- `, Dl = v`
15886
+ `, xl = v`
15783
15887
  mutation CustomerCreate($details: CustomerDetailsInput!) {
15784
15888
  customerCreate(details: $details) {
15785
15889
  id
@@ -15821,7 +15925,7 @@ v`
15821
15925
  }
15822
15926
  }
15823
15927
  `;
15824
- const Fl = v`
15928
+ const kl = v`
15825
15929
  mutation CustomerGenerateVerificationCode($emailAddress: String!) {
15826
15930
  customerGenerateVerificationCode(emailAddress: $emailAddress)
15827
15931
  }
@@ -15858,7 +15962,7 @@ v`
15858
15962
  }
15859
15963
  }
15860
15964
  `;
15861
- const xl = v`
15965
+ const Ml = v`
15862
15966
  query CustomerMetafields($id: String!) {
15863
15967
  metafields(entityId: $id) {
15864
15968
  id
@@ -15877,7 +15981,7 @@ const xl = v`
15877
15981
  }
15878
15982
  }
15879
15983
  `;
15880
- class kl {
15984
+ class Tl {
15881
15985
  constructor(t, e = B.getShadowGraphqlClient.bind(B)) {
15882
15986
  this.options = t, this.client = e;
15883
15987
  }
@@ -15906,9 +16010,9 @@ class kl {
15906
16010
  });
15907
16011
  }
15908
16012
  }
15909
- class Ml {
16013
+ class Nl {
15910
16014
  init(t, e, a) {
15911
- this.cognitoClient = new Cr({ region: e }), this.spiffRegion = t, this.userPoolClientId = a;
16015
+ this.cognitoClient = new wr({ region: e }), this.spiffRegion = t, this.userPoolClientId = a;
15912
16016
  }
15913
16017
  async generateCode(t) {
15914
16018
  var a;
@@ -15924,9 +16028,9 @@ class Ml {
15924
16028
  (e == null ? void 0 : e.ChallengeName) === "CUSTOM_CHALLENGE" && (this.challengeSession = e.Session);
15925
16029
  }
15926
16030
  async verifyCode(t, e, a) {
15927
- var n;
15928
- return await ((n = this.cognitoClient) == null ? void 0 : n.send(
15929
- new wr({
16031
+ var i;
16032
+ const n = await ((i = this.cognitoClient) == null ? void 0 : i.send(
16033
+ new yr({
15930
16034
  ClientId: this.userPoolClientId,
15931
16035
  ChallengeName: "CUSTOM_CHALLENGE",
15932
16036
  Session: this.challengeSession,
@@ -15940,6 +16044,7 @@ class Ml {
15940
16044
  }
15941
16045
  })
15942
16046
  ));
16047
+ return (n == null ? void 0 : n.ChallengeName) === "CUSTOM_CHALLENGE" && (this.challengeSession = n.Session), n;
15943
16048
  }
15944
16049
  async refreshTokens() {
15945
16050
  var a;
@@ -15958,8 +16063,8 @@ class Ml {
15958
16063
  ));
15959
16064
  }
15960
16065
  }
15961
- const Lt = new Ml();
15962
- class Tl {
16066
+ const Lt = new Nl();
16067
+ class Ql {
15963
16068
  /**
15964
16069
  * Returns a formatted string representing a given amount with desired currency.
15965
16070
  * @param currency The currency to represent the amount in.
@@ -15971,7 +16076,7 @@ class Tl {
15971
16076
  currency: t,
15972
16077
  precision: this.getPrecisionForCurrency(t)
15973
16078
  };
15974
- return yr(a).toFormat(this.getSpecialFormat(t));
16079
+ return Sr(a).toFormat(this.getSpecialFormat(t));
15975
16080
  }
15976
16081
  /**
15977
16082
  * Get the number of decimal places expected in a currency string.
@@ -15993,8 +16098,8 @@ class Tl {
15993
16098
  return "USD0,0";
15994
16099
  }
15995
16100
  }
15996
- const _a = new Tl();
15997
- class Nl {
16101
+ const _a = new Ql();
16102
+ class Rl {
15998
16103
  constructor(t, e, a, n) {
15999
16104
  this.presentmentCurrency = void 0, this.presentmentCurrency = n, this.partnerCurrency = a, this.rateFrom = t, this.rateTo = e;
16000
16105
  }
@@ -16034,10 +16139,10 @@ class Nl {
16034
16139
  return t * Math.pow(10, _a.getPrecisionForCurrency(e));
16035
16140
  }
16036
16141
  }
16037
- const Ql = async (r, t) => {
16142
+ const $l = async (r, t) => {
16038
16143
  var n;
16039
16144
  const e = await B.getShadowGraphqlClient().query({
16040
- query: Ti(((n = t == null ? void 0 : t.assets) == null ? void 0 : n.metadata) || !1),
16145
+ query: Qi(((n = t == null ? void 0 : t.assets) == null ? void 0 : n.metadata) || !1),
16041
16146
  errorPolicy: "all",
16042
16147
  variables: {
16043
16148
  ids: r
@@ -16058,7 +16163,7 @@ const Ql = async (r, t) => {
16058
16163
  }), Jt.set({ id: s.option.id }, Promise.resolve(s.option)));
16059
16164
  }), i.finalizeStepConfig || (i.finalizeStepConfig = {}), i.finalizeStepConfig.termsMarkdown = i.finalizeStepConfig.termsMarkdown || i.partner.termsMarkdown;
16060
16165
  }), a;
16061
- }, Rl = async (r, t) => {
16166
+ }, Ol = async (r, t) => {
16062
16167
  const a = (await t).find((n) => n.id === r);
16063
16168
  if (!a)
16064
16169
  throw new Error(`Workflow not found: ${r}`);
@@ -16067,11 +16172,11 @@ const Ql = async (r, t) => {
16067
16172
  const e = r.map((o) => Jt.get({ id: o, options: t })), a = r.filter((o, l) => e[l] === void 0);
16068
16173
  if (a.length === 0)
16069
16174
  return Promise.all(e);
16070
- const n = Ql(a, t), i = a.map(
16071
- (o) => Jt.set({ id: o, options: t }, Rl(o, n))
16175
+ const n = $l(a, t), i = a.map(
16176
+ (o) => Jt.set({ id: o, options: t }, Ol(o, n))
16072
16177
  ), s = e.filter((o) => o !== void 0);
16073
16178
  return await Promise.all(s.concat(i));
16074
- }, ud = async (r, t) => (await ar([r], t))[0], Ol = (r) => r.sort((t, e) => t.index - e.index).map((t) => ({
16179
+ }, hd = async (r, t) => (await ar([r], t))[0], Ul = (r) => r.sort((t, e) => t.index - e.index).map((t) => ({
16075
16180
  id: Q(),
16076
16181
  panelId: t.name,
16077
16182
  name: t.name,
@@ -16085,25 +16190,25 @@ const Ql = async (r, t) => {
16085
16190
  previewRegion: t.previewRegion,
16086
16191
  useEditableArea: t.useEditableArea,
16087
16192
  editableArea: t.editableArea
16088
- })), $l = (r, t) => {
16193
+ })), Ll = (r, t) => {
16089
16194
  const e = r.workflowState, a = e ? JSON.parse(e) : void 0;
16090
- return a ? Object.values(a.layouts).map((n) => n.layout) : Ol(t.panels);
16195
+ return a ? Object.values(a.layouts).map((n) => n.layout) : Ul(t.panels);
16091
16196
  };
16092
- class hd {
16197
+ class md {
16093
16198
  constructor(t) {
16094
16199
  this.activeIntegration = void 0, this.updateTransactionState = async (e) => {
16095
16200
  try {
16096
16201
  return B.getShadowGraphqlClient().mutate({
16097
16202
  ...e,
16098
- mutation: Si
16203
+ mutation: vi
16099
16204
  });
16100
16205
  } catch (a) {
16101
16206
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
16102
16207
  }
16103
- }, this.options = t, this.options.applicationKey && $r(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 29.1.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16208
+ }, this.options = t, this.options.applicationKey && Ur(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 29.1.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16104
16209
  }
16105
16210
  configure(t) {
16106
- mt.setHubUrl(t.hubUrl), mt.setServerUrl(t.serverUrl), mt.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 && Lr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
16211
+ mt.setHubUrl(t.hubUrl), mt.setServerUrl(t.serverUrl), mt.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 && Vr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
16107
16212
  }
16108
16213
  /**
16109
16214
  * @returns The asset manager allows for common operations related to assets
@@ -16113,13 +16218,13 @@ class hd {
16113
16218
  return U;
16114
16219
  }
16115
16220
  getFlowService() {
16116
- if (!Ur())
16221
+ if (!Lr())
16117
16222
  throw new Error("Application key required to use Flow Service.");
16118
- return new Bl();
16223
+ return new Pl();
16119
16224
  }
16120
16225
  async getCurrencyContext(t) {
16121
16226
  const a = (await this.getIntegration()).partner.currencyCode, i = await B.getShadowGraphqlClient().query({
16122
- query: Vi,
16227
+ query: Gi,
16123
16228
  errorPolicy: "all",
16124
16229
  fetchPolicy: "cache-first",
16125
16230
  variables: {
@@ -16127,14 +16232,14 @@ class hd {
16127
16232
  to: t
16128
16233
  }
16129
16234
  }), { rateFrom: s, rateTo: o } = i.data.currencyConversion;
16130
- return new Nl(s, o, a, t);
16235
+ return new Rl(s, o, a, t);
16131
16236
  }
16132
16237
  async getIntegration() {
16133
16238
  if (this.activeIntegration)
16134
16239
  return this.activeIntegration;
16135
16240
  if (!this.options.applicationKey)
16136
16241
  throw new Error("Cannot get current Integration without specifying an Application Key.");
16137
- return this.activeIntegration = Ul(this.options.applicationKey), this.activeIntegration;
16242
+ return this.activeIntegration = Vl(this.options.applicationKey), this.activeIntegration;
16138
16243
  }
16139
16244
  async canUseAddon(t) {
16140
16245
  var e;
@@ -16187,7 +16292,7 @@ class hd {
16187
16292
  async authenticateTransactionFromLocalStorage(t) {
16188
16293
  var d, A, u, h, m, g;
16189
16294
  const e = B.getShadowGraphqlClient(), a = await e.query({
16190
- query: Ni,
16295
+ query: Ri,
16191
16296
  errorPolicy: "all",
16192
16297
  fetchPolicy: "no-cache",
16193
16298
  variables: {
@@ -16224,7 +16329,7 @@ class hd {
16224
16329
  });
16225
16330
  }
16226
16331
  const c = (await e.query({
16227
- query: Qi,
16332
+ query: $i,
16228
16333
  errorPolicy: "all",
16229
16334
  variables: {
16230
16335
  id: n.workflowId
@@ -16280,7 +16385,7 @@ class hd {
16280
16385
  })).data.customer;
16281
16386
  if (!n.id) {
16282
16387
  const l = (s = (await e.mutate({
16283
- mutation: Dl,
16388
+ mutation: xl,
16284
16389
  errorPolicy: "all",
16285
16390
  fetchPolicy: "no-cache",
16286
16391
  variables: {
@@ -16338,7 +16443,7 @@ class hd {
16338
16443
  */
16339
16444
  async generateVerificationCode(t) {
16340
16445
  await B.getShadowGraphqlClient().mutate({
16341
- mutation: Fl,
16446
+ mutation: kl,
16342
16447
  variables: {
16343
16448
  emailAddress: t
16344
16449
  }
@@ -16394,7 +16499,7 @@ class hd {
16394
16499
  if (!((e = this.customer) != null && e.id))
16395
16500
  throw new Error("Customer must be logged in before calling this function.");
16396
16501
  return (await B.getShadowGraphqlClient().query({
16397
- query: xl,
16502
+ query: Ml,
16398
16503
  variables: {
16399
16504
  id: this.customer.id
16400
16505
  }
@@ -16407,7 +16512,7 @@ class hd {
16407
16512
  async getNewBundle(t, e, a) {
16408
16513
  var c, d, A, u, h;
16409
16514
  const i = (A = (await B.getShadowGraphqlClient().mutate({
16410
- mutation: Ys(((d = (c = a == null ? void 0 : a.graphql) == null ? void 0 : c.productCollection) == null ? void 0 : d.eagerFetchProducts) || !1),
16515
+ mutation: Ks(((d = (c = a == null ? void 0 : a.graphql) == null ? void 0 : c.productCollection) == null ? void 0 : d.eagerFetchProducts) || !1),
16411
16516
  variables: {
16412
16517
  collectionId: t,
16413
16518
  initialMetadata: e ? Object.entries(e).map((m, g) => ({ key: m[0], value: m[1] })) : void 0,
@@ -16450,7 +16555,7 @@ class hd {
16450
16555
  ...o,
16451
16556
  ...(g = n == null ? void 0 : n.graphql) == null ? void 0 : g.additionalHeaders
16452
16557
  }, c = await B.getShadowGraphqlClient().query({
16453
- query: Gs(((f = (p = n == null ? void 0 : n.graphql) == null ? void 0 : p.productCollection) == null ? void 0 : f.eagerFetchProducts) || !1),
16558
+ query: qs(((f = (p = n == null ? void 0 : n.graphql) == null ? void 0 : p.productCollection) == null ? void 0 : f.eagerFetchProducts) || !1),
16454
16559
  variables: {
16455
16560
  id: t
16456
16561
  },
@@ -16494,7 +16599,7 @@ class hd {
16494
16599
  ...s,
16495
16600
  ...(m = n == null ? void 0 : n.graphql) == null ? void 0 : m.additionalHeaders
16496
16601
  }, c = (f = (await B.getShadowGraphqlClient().mutate({
16497
- mutation: Js(((p = (g = n == null ? void 0 : n.graphql) == null ? void 0 : g.productCollection) == null ? void 0 : p.eagerFetchProducts) || !1),
16602
+ mutation: _s(((p = (g = n == null ? void 0 : n.graphql) == null ? void 0 : g.productCollection) == null ? void 0 : p.eagerFetchProducts) || !1),
16498
16603
  variables: {
16499
16604
  id: t,
16500
16605
  template: e,
@@ -16536,7 +16641,7 @@ class hd {
16536
16641
  throw new Error("Customer not authenticated.");
16537
16642
  const { includeMetadata: e, ...a } = t;
16538
16643
  return (await B.getShadowGraphqlClient().query({
16539
- query: oo(e ?? !1),
16644
+ query: co(e ?? !1),
16540
16645
  variables: {
16541
16646
  ...a,
16542
16647
  id: this.customer.id
@@ -16553,7 +16658,7 @@ class hd {
16553
16658
  if (!this.customer)
16554
16659
  throw new Error("Customer not authenticated.");
16555
16660
  const t = await B.getShadowGraphqlClient().query({
16556
- query: Ws,
16661
+ query: Hs,
16557
16662
  variables: {
16558
16663
  id: this.customer.id
16559
16664
  },
@@ -16594,7 +16699,7 @@ class hd {
16594
16699
  if (y.length === 0)
16595
16700
  return [];
16596
16701
  const E = y.map((T) => T.option.transactionId), b = await a.query({
16597
- query: yi,
16702
+ query: Si,
16598
16703
  variables: {
16599
16704
  ids: E
16600
16705
  },
@@ -16619,7 +16724,7 @@ class hd {
16619
16724
  if (y.length === 0)
16620
16725
  return [];
16621
16726
  const E = await a.mutate({
16622
- mutation: wi,
16727
+ mutation: yi,
16623
16728
  variables: {
16624
16729
  inputs: y.map((k) => ({
16625
16730
  integrationProductId: k.option.type === "integration" ? k.option.integrationProductId : void 0,
@@ -16654,7 +16759,7 @@ class hd {
16654
16759
  var et;
16655
16760
  const { transaction: E, workflowId: b, readOnly: P, index: D } = y, F = m.get(b), k = t[D];
16656
16761
  !g.get(E.id) && E.transactionOwnerId && g.set(E.id, E.transactionOwnerId);
16657
- const T = g.get(E.id) || void 0, Z = new kl({
16762
+ const T = g.get(E.id) || void 0, Z = new Tl({
16658
16763
  onMutate: () => ({ context: { transactionOwnerId: T, bundleOwnerId: e == null ? void 0 : e.bundleOwnerId } }),
16659
16764
  onQuery: () => ({ context: { transactionOwnerId: T, bundleOwnerId: e == null ? void 0 : e.bundleOwnerId } })
16660
16765
  }), R = {
@@ -16675,19 +16780,19 @@ class hd {
16675
16780
  };
16676
16781
  if (!P && k.workflowState) {
16677
16782
  const tt = JSON.parse(k.workflowState);
16678
- R.layouts = Object.values(tt.layouts || {}).map((Nt) => Nt.layout), await cs(tt), R.reloadedState = tt;
16783
+ R.layouts = Object.values(tt.layouts || {}).map((Nt) => Nt.layout), await As(tt), R.reloadedState = tt;
16679
16784
  } else
16680
- R.layouts = $l(
16785
+ R.layouts = Ll(
16681
16786
  R.transaction,
16682
16787
  R.workflow
16683
16788
  );
16684
- return R.renderableContextService = new el(
16789
+ return R.renderableContextService = new nl(
16685
16790
  R.layouts
16686
16791
  ), R.delayWorkflowStateSync = !0, { experienceOptions: R, index: D, options: k };
16687
16792
  }), f = await Promise.all(p);
16688
16793
  N.setMap("transactionOwnerIds", g);
16689
16794
  const w = f.sort((y, E) => y.index - E.index).map(async (y) => {
16690
- const { experienceOptions: E, options: b } = y, P = new Vo(this, E);
16795
+ const { experienceOptions: E, options: b } = y, P = new Go(this, E);
16691
16796
  return await P.getWorkflowManager().getInitializationPromise(), b.type !== "transaction" && this.customer && await P.attachCustomerDetails({ email: this.customer.emailAddress }), P;
16692
16797
  }), S = await Promise.all(w);
16693
16798
  return S.forEach((y) => y.getWorkflowManager().setWorkflowStateSyncEnabled(!0)), S;
@@ -16699,7 +16804,7 @@ class hd {
16699
16804
  async getIntegrationProductById(t, e) {
16700
16805
  var s, o;
16701
16806
  const i = (s = (await B.getShadowGraphqlClient().query({
16702
- query: Bi(e),
16807
+ query: Pi(e),
16703
16808
  variables: {
16704
16809
  ids: [t]
16705
16810
  },
@@ -16713,7 +16818,7 @@ class hd {
16713
16818
  async getIntegrationProductFromExternalIds(t, e, a) {
16714
16819
  var o;
16715
16820
  const s = (o = (await B.getShadowGraphqlClient().query({
16716
- query: Ii(a),
16821
+ query: Di(a),
16717
16822
  variables: {
16718
16823
  externalProductId: e,
16719
16824
  externalIntegrationId: t
@@ -16730,7 +16835,7 @@ class hd {
16730
16835
  }
16731
16836
  async getShareActionsForTransaction(t) {
16732
16837
  const a = (N.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(t) || void 0, n = await B.getShadowGraphqlClient().query({
16733
- query: bi,
16838
+ query: Ii,
16734
16839
  errorPolicy: "all",
16735
16840
  fetchPolicy: "no-cache",
16736
16841
  variables: {
@@ -16746,7 +16851,7 @@ class hd {
16746
16851
  }
16747
16852
  async placeOrder(t) {
16748
16853
  const e = await B.getShadowGraphqlClient().mutate({
16749
- mutation: Li,
16854
+ mutation: zi,
16750
16855
  variables: {
16751
16856
  orderItems: t
16752
16857
  }
@@ -16761,8 +16866,8 @@ class hd {
16761
16866
  };
16762
16867
  }
16763
16868
  }
16764
- const Ul = async (r, t) => (await B.getShadowGraphqlClient().query({
16765
- query: Oi,
16869
+ const Vl = async (r, t) => (await B.getShadowGraphqlClient().query({
16870
+ query: Ui,
16766
16871
  errorPolicy: "all",
16767
16872
  fetchPolicy: "no-cache",
16768
16873
  context: {
@@ -16773,9 +16878,9 @@ const Ul = async (r, t) => (await B.getShadowGraphqlClient().query({
16773
16878
  variables: {
16774
16879
  themeConfigurationId: t
16775
16880
  }
16776
- })).data.currentIntegration, md = async (r) => {
16881
+ })).data.currentIntegration, gd = async (r) => {
16777
16882
  const e = await B.getShadowGraphqlClient().query({
16778
- query: Ei,
16883
+ query: Bi,
16779
16884
  errorPolicy: "all",
16780
16885
  fetchPolicy: "network-only",
16781
16886
  variables: {
@@ -16784,36 +16889,36 @@ const Ul = async (r, t) => (await B.getShadowGraphqlClient().query({
16784
16889
  });
16785
16890
  if (e.data.transactions.length !== 0)
16786
16891
  return e.data.transactions[0];
16787
- }, gd = async (r, t) => {
16892
+ }, pd = async (r, t) => {
16788
16893
  var a;
16789
16894
  return (a = (await B.getShadowGraphqlClient().query({
16790
- query: Ri,
16895
+ query: Oi,
16791
16896
  errorPolicy: "all",
16792
16897
  variables: {
16793
16898
  themeConfigurationId: r,
16794
16899
  themeInstallId: t
16795
16900
  }
16796
16901
  })).data) == null ? void 0 : a.marketplaceThemeInstallConfiguration;
16797
- }, pd = async (r) => {
16902
+ }, fd = async (r) => {
16798
16903
  var e, a, n;
16799
16904
  return (n = (a = (e = (await B.getShadowGraphqlClient().query({
16800
- query: Ui,
16905
+ query: Vi,
16801
16906
  errorPolicy: "all",
16802
16907
  variables: {
16803
16908
  id: r
16804
16909
  }
16805
16910
  })).data) == null ? void 0 : e.bundles) == null ? void 0 : a[0]) == null ? void 0 : n.marketplaceThemeInstallConfiguration;
16806
- }, fd = async (r) => {
16911
+ }, Cd = async (r) => {
16807
16912
  var e, a, n;
16808
16913
  return (n = (a = (e = (await B.getShadowGraphqlClient().query({
16809
- query: $i,
16914
+ query: Li,
16810
16915
  errorPolicy: "all",
16811
16916
  variables: {
16812
16917
  id: r
16813
16918
  }
16814
16919
  })).data) == null ? void 0 : e.transactions) == null ? void 0 : a[0]) == null ? void 0 : n.marketplaceThemeInstallConfiguration;
16815
16920
  };
16816
- function Ll(r, t, e, a) {
16921
+ function zl(r, t, e, a) {
16817
16922
  const n = e.width * r.zoom, i = e.height * r.zoom;
16818
16923
  if (a) {
16819
16924
  const o = r, l = Math.max(t.width / e.width, t.height / e.height);
@@ -16827,7 +16932,7 @@ function Ll(r, t, e, a) {
16827
16932
  function he(r, t, e) {
16828
16933
  return Math.min(Math.max(r, t), e);
16829
16934
  }
16830
- class Vl {
16935
+ class Gl {
16831
16936
  constructor(t, e) {
16832
16937
  this.minZoomScale = [0.03], this.maxZoomScale = [20], this._debouncedUpdateFrameOffsets = cn(this.updateFrameOffsets, 200), this.targetElements = [], this.onFrameDataChangeListeners = [], this.onZoomChangeListeners = [], this.forceImageCover = t, this.initialZoom = e, this.thresholdSettings = {
16833
16938
  useThreshold: !1,
@@ -16970,7 +17075,7 @@ class Vl {
16970
17075
  return;
16971
17076
  }
16972
17077
  (!this.offsets || this.offsets.length !== this.frameData.length) && (this.offsets = new Array(this.frameData.length)), this.frameData.forEach((s, o) => {
16973
- this.offsets[o] = Ll(t[o], s, this.imageData, this.forceImageCover);
17078
+ this.offsets[o] = zl(t[o], s, this.imageData, this.forceImageCover);
16974
17079
  }), this._debouncedUpdateFrameOffsets(
16975
17080
  this.offsets,
16976
17081
  n,
@@ -17012,9 +17117,9 @@ class Vl {
17012
17117
  const s = this.workflowManager.getCommandDispatcher();
17013
17118
  this.targetElements.forEach((o, l) => {
17014
17119
  s(
17015
- new $([
17016
- new hs(o, e, t[l]),
17017
- new ms(
17120
+ new O([
17121
+ new gs(o, e, t[l]),
17122
+ new ps(
17018
17123
  o,
17019
17124
  n.useThreshold,
17020
17125
  n.invertThreshold,
@@ -17049,8 +17154,8 @@ class Vl {
17049
17154
  }), this._debouncedUpdateFrameOffsets(this.offsets, t, this.frameData, this.thresholdSettings));
17050
17155
  }
17051
17156
  }
17052
- class Cd {
17053
- updateRecipient(t, e, a, n, i, s, o, l, c, d) {
17157
+ class wd {
17158
+ updateRecipient(t, e, a, n, i, s, o, l, c, d, A, u, h, m, g, p, f) {
17054
17159
  throw new Error("Method not implemented.");
17055
17160
  }
17056
17161
  approveTransaction(t) {
@@ -17211,12 +17316,12 @@ class Cd {
17211
17316
  return [];
17212
17317
  }
17213
17318
  }
17214
- var zl = /* @__PURE__ */ ((r) => (r.SelectFrame = "SelectFrame", r.SelectImage = "SelectImage", r.Position = "Position", r))(zl || {});
17215
- class Gl extends it {
17319
+ var Wl = /* @__PURE__ */ ((r) => (r.SelectFrame = "SelectFrame", r.SelectImage = "SelectImage", r.Position = "Position", r))(Wl || {});
17320
+ class ql extends it {
17216
17321
  constructor(t, e, a) {
17217
17322
  super(t, e, a);
17218
17323
  const n = e.data;
17219
- this.frameService = new Vl(n.forceImageCover, n.initialZoomLevel), this.frameService.connectWorkflowManager(t, e.stepName);
17324
+ this.frameService = new Gl(n.forceImageCover, n.initialZoomLevel), this.frameService.connectWorkflowManager(t, e.stepName);
17220
17325
  }
17221
17326
  selectVariant(t) {
17222
17327
  const e = this.manager.getRegionElements(this.step.stepName);
@@ -17385,7 +17490,7 @@ class Gl extends it {
17385
17490
  return this.manager.getStepStorage(this.step.stepName);
17386
17491
  }
17387
17492
  }
17388
- const Wl = v`
17493
+ const Hl = v`
17389
17494
  query GetLoggedInCustomer($email: String!) {
17390
17495
  customer(emailAddress: $email) {
17391
17496
  id
@@ -17428,21 +17533,21 @@ const Wl = v`
17428
17533
  total
17429
17534
  }
17430
17535
  }
17431
- `, ql = v`
17536
+ `, jl = v`
17432
17537
  mutation SetTransactionDesignName($id: String!, $name: String!) {
17433
17538
  transactionUpdate(id: $id, designName: $name) {
17434
17539
  id
17435
17540
  designName
17436
17541
  }
17437
17542
  }
17438
- `, Hl = v`
17543
+ `, Yl = v`
17439
17544
  mutation DuplicateTransaction($id: String!, $template: Boolean!) {
17440
17545
  transactionDuplicate(id: $id, template: $template) {
17441
17546
  id
17442
17547
  workflowViewerLink
17443
17548
  }
17444
17549
  }
17445
- `, jl = v`
17550
+ `, Jl = v`
17446
17551
  query GetCustomerBundles($id: String!, $limit: Int!, $offset: Int!) {
17447
17552
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset) {
17448
17553
  items {
@@ -17457,7 +17562,7 @@ const Wl = v`
17457
17562
  total
17458
17563
  }
17459
17564
  }
17460
- `, Yl = v`
17565
+ `, Kl = v`
17461
17566
  query GetTransactionsForBundle($id: String!) {
17462
17567
  bundles(ids: [$id]) {
17463
17568
  id
@@ -17478,21 +17583,21 @@ const Wl = v`
17478
17583
  }
17479
17584
  }
17480
17585
  }
17481
- `, Jl = v`
17586
+ `, _l = v`
17482
17587
  mutation SetBundleName($id: String!, $name: String!) {
17483
17588
  bundleUpdate(id: $id, name: $name) {
17484
17589
  id
17485
17590
  name
17486
17591
  }
17487
17592
  }
17488
- `, Kl = v`
17593
+ `, Xl = v`
17489
17594
  mutation DuplicateBundle($id: String!, $template: Boolean!) {
17490
17595
  bundleDuplicate(id: $id, template: $template) {
17491
17596
  id
17492
17597
  workflowViewerLink
17493
17598
  }
17494
17599
  }
17495
- `, _l = v`
17600
+ `, Zl = v`
17496
17601
  query GetBundleTemplates($id: String!, $limit: Int!, $offset: Int!) {
17497
17602
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: true) {
17498
17603
  items {
@@ -17505,43 +17610,43 @@ const Wl = v`
17505
17610
  total
17506
17611
  }
17507
17612
  }
17508
- `, wd = async (r, t, e) => await B.getShadowGraphqlClient().mutate({
17509
- mutation: Jl,
17613
+ `, yd = async (r, t, e) => await B.getShadowGraphqlClient().mutate({
17614
+ mutation: _l,
17510
17615
  errorPolicy: "all",
17511
17616
  variables: {
17512
17617
  id: r,
17513
17618
  name: t
17514
17619
  },
17515
17620
  context: e
17516
- }), yd = async (r, t) => await B.getShadowGraphqlClient().mutate({
17517
- mutation: ql,
17621
+ }), Sd = async (r, t) => await B.getShadowGraphqlClient().mutate({
17622
+ mutation: jl,
17518
17623
  errorPolicy: "all",
17519
17624
  variables: {
17520
17625
  id: r,
17521
17626
  name: t
17522
17627
  }
17523
- }), Sd = async (r, t) => await B.getShadowGraphqlClient().mutate({
17524
- mutation: Kl,
17628
+ }), vd = async (r, t) => await B.getShadowGraphqlClient().mutate({
17629
+ mutation: Xl,
17525
17630
  errorPolicy: "all",
17526
17631
  variables: {
17527
17632
  id: r,
17528
17633
  template: t
17529
17634
  }
17530
- }), vd = async (r, t) => await B.getShadowGraphqlClient().mutate({
17531
- mutation: Hl,
17635
+ }), Ed = async (r, t) => await B.getShadowGraphqlClient().mutate({
17636
+ mutation: Yl,
17532
17637
  errorPolicy: "all",
17533
17638
  variables: {
17534
17639
  id: r,
17535
17640
  template: t
17536
17641
  }
17537
- }), Ed = async (r) => (await B.getShadowGraphqlClient().query({
17538
- query: Wl,
17642
+ }), bd = async (r) => (await B.getShadowGraphqlClient().query({
17643
+ query: Hl,
17539
17644
  errorPolicy: "all",
17540
17645
  variables: {
17541
17646
  email: r
17542
17647
  }
17543
- })).data.customer, bd = async (r, t, e) => await B.getShadowGraphqlClient().query({
17544
- query: jl,
17648
+ })).data.customer, Bd = async (r, t, e) => await B.getShadowGraphqlClient().query({
17649
+ query: Jl,
17545
17650
  errorPolicy: "all",
17546
17651
  fetchPolicy: "no-cache",
17547
17652
  variables: {
@@ -17549,15 +17654,15 @@ const Wl = v`
17549
17654
  offset: e,
17550
17655
  limit: t
17551
17656
  }
17552
- }), Bd = async (r, t) => await B.getShadowGraphqlClient().query({
17553
- query: Yl,
17657
+ }), Id = async (r, t) => await B.getShadowGraphqlClient().query({
17658
+ query: Kl,
17554
17659
  errorPolicy: "all",
17555
17660
  fetchPolicy: "no-cache",
17556
17661
  variables: {
17557
17662
  id: r
17558
17663
  },
17559
17664
  context: t
17560
- }), Id = async (r, t, e) => {
17665
+ }), Pd = async (r, t, e) => {
17561
17666
  var n;
17562
17667
  const a = await B.getShadowGraphqlClient().query({
17563
17668
  query: Da,
@@ -17581,7 +17686,7 @@ const Wl = v`
17581
17686
  }
17582
17687
  });
17583
17688
  return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
17584
- }, Pd = async (r, t, e) => {
17689
+ }, Dd = async (r, t, e) => {
17585
17690
  var n;
17586
17691
  const a = await B.getShadowGraphqlClient().query({
17587
17692
  query: Da,
@@ -17605,7 +17710,7 @@ const Wl = v`
17605
17710
  }
17606
17711
  });
17607
17712
  return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
17608
- }, Dd = async (r, t, e) => {
17713
+ }, Fd = async (r, t, e) => {
17609
17714
  var n;
17610
17715
  const a = await B.getShadowGraphqlClient().query({
17611
17716
  query: Da,
@@ -17625,10 +17730,10 @@ const Wl = v`
17625
17730
  }
17626
17731
  });
17627
17732
  return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
17628
- }, Fd = async (r, t, e) => {
17733
+ }, xd = async (r, t, e) => {
17629
17734
  var n;
17630
17735
  const a = await B.getShadowGraphqlClient().query({
17631
- query: _l,
17736
+ query: Zl,
17632
17737
  errorPolicy: "all",
17633
17738
  fetchPolicy: "no-cache",
17634
17739
  variables: {
@@ -17649,7 +17754,7 @@ const Wl = v`
17649
17754
  console.error("vite-plugin-css-injected-by-js", t);
17650
17755
  }
17651
17756
  })();
17652
- var Xl = /* @__PURE__ */ ((r) => (r.Manual = "Manual", r.OnStart = "OnStart", r.OnQuit = "OnQuit", r.OnEnd = "OnEnd", r))(Xl || {}), Zl = /* @__PURE__ */ ((r) => (r.Email = "Email", r.FirstName = "FirstName", r.LastName = "LastName", r.Phone = "Phone", r.Apartment = "Apartment", r.City = "City", r.Country = "Country", r.OrganizationName = "OrganizationName", r.PostCode = "PostCode", r.State = "State", r.StreetAddress = "StreetAddress", r.Custom = "Custom", r))(Zl || {}), K;
17757
+ var tc = /* @__PURE__ */ ((r) => (r.Manual = "Manual", r.OnStart = "OnStart", r.OnQuit = "OnQuit", r.OnEnd = "OnEnd", r))(tc || {}), nr = /* @__PURE__ */ ((r) => (r.Email = "Email", r.FirstName = "FirstName", r.LastName = "LastName", r.Phone = "Phone", r.Apartment = "Apartment", r.City = "City", r.Country = "Country", r.OrganizationName = "OrganizationName", r.PostCode = "PostCode", r.State = "State", r.StreetAddress = "StreetAddress", r.Custom = "Custom", r))(nr || {}), K;
17653
17758
  K = { __e: function(r, t, e, a) {
17654
17759
  for (var n, i, s; t = t.__; )
17655
17760
  if ((n = t.__c) && !n.__)
@@ -17661,9 +17766,9 @@ K = { __e: function(r, t, e, a) {
17661
17766
  }
17662
17767
  throw r;
17663
17768
  } }, typeof Promise == "function" && Promise.prototype.then.bind(Promise.resolve());
17664
- var ot, Ke, Xa, nr = [], _e = [], Za = K.__b, tn = K.__r, en = K.diffed, an = K.__c, nn = K.unmount;
17665
- function tc() {
17666
- for (var r; r = nr.shift(); )
17769
+ var ot, Ke, Xa, rr = [], _e = [], Za = K.__b, tn = K.__r, en = K.diffed, an = K.__c, nn = K.unmount;
17770
+ function ec() {
17771
+ for (var r; r = rr.shift(); )
17667
17772
  if (r.__P && r.__H)
17668
17773
  try {
17669
17774
  r.__H.__h.forEach(fe), r.__H.__h.forEach(da), r.__H.__h = [];
@@ -17682,7 +17787,7 @@ K.__b = function(r) {
17682
17787
  }, K.diffed = function(r) {
17683
17788
  en && en(r);
17684
17789
  var t = r.__c;
17685
- t && t.__H && (t.__H.__h.length && (nr.push(t) !== 1 && Xa === K.requestAnimationFrame || ((Xa = K.requestAnimationFrame) || ec)(tc)), t.__H.__.forEach(function(e) {
17790
+ t && t.__H && (t.__H.__h.length && (rr.push(t) !== 1 && Xa === K.requestAnimationFrame || ((Xa = K.requestAnimationFrame) || ac)(ec)), t.__H.__.forEach(function(e) {
17686
17791
  e.i && (e.__H = e.i), e.__V !== _e && (e.__ = e.__V), e.i = void 0, e.__V = _e;
17687
17792
  })), Ke = ot = null;
17688
17793
  }, K.__c = function(r, t) {
@@ -17709,7 +17814,7 @@ K.__b = function(r) {
17709
17814
  }), e.__H = void 0, t && K.__e(t, e.__v));
17710
17815
  };
17711
17816
  var rn = typeof requestAnimationFrame == "function";
17712
- function ec(r) {
17817
+ function ac(r) {
17713
17818
  var t, e = function() {
17714
17819
  clearTimeout(a), rn && cancelAnimationFrame(t), setTimeout(r);
17715
17820
  }, a = setTimeout(e, 100);
@@ -17723,7 +17828,7 @@ function da(r) {
17723
17828
  var t = ot;
17724
17829
  r.__c = r.__(), ot = t;
17725
17830
  }
17726
- const rr = v`
17831
+ const ir = v`
17727
17832
  fragment AddressValidationResultFields on AddressValidationResult {
17728
17833
  addressComplete
17729
17834
  address {
@@ -17746,7 +17851,7 @@ const rr = v`
17746
17851
  missingComponentTypes
17747
17852
  }
17748
17853
  `, Fa = v`
17749
- ${rr}
17854
+ ${ir}
17750
17855
  fragment AddressValidationJobFields on AddressValidationJob {
17751
17856
  id
17752
17857
  entityId
@@ -17757,14 +17862,14 @@ const rr = v`
17757
17862
  ...AddressValidationResultFields
17758
17863
  }
17759
17864
  }
17760
- `, ac = v`
17865
+ `, nc = v`
17761
17866
  ${Fa}
17762
17867
  query GetAddressValidationJobs($ids: [String!]!) {
17763
17868
  addressValidationJobs(ids: $ids) {
17764
17869
  ...AddressValidationJobFields
17765
17870
  }
17766
17871
  }
17767
- `, nc = v`
17872
+ `, rc = v`
17768
17873
  ${Fa}
17769
17874
  query GetRecipientsWithAddressValidationJobs($ids: [String!]!) {
17770
17875
  recipients(ids: $ids) {
@@ -17774,14 +17879,14 @@ const rr = v`
17774
17879
  }
17775
17880
  }
17776
17881
  }
17777
- `, rc = v`
17778
- ${rr}
17882
+ `, ic = v`
17883
+ ${ir}
17779
17884
  mutation ValidateRecipientAddress($id: String!) {
17780
17885
  recipientValidate(id: $id) {
17781
17886
  ...AddressValidationResultFields
17782
17887
  }
17783
17888
  }
17784
- `, ic = v`
17889
+ `, sc = v`
17785
17890
  ${Fa}
17786
17891
  mutation BatchValidateRecipientAddress($ids: [String!]!) {
17787
17892
  recipientValidateBatch(ids: $ids) {
@@ -17789,13 +17894,13 @@ const rr = v`
17789
17894
  }
17790
17895
  }
17791
17896
  `;
17792
- var sc = /* @__PURE__ */ ((r) => (r.Confirmed = "Confirmed", r.Plausible = "Plausible", r.Unlikely = "Unlikely", r))(sc || {}), oc = /* @__PURE__ */ ((r) => (r.Created = "Created", r.Processing = "Processing", r.Completed = "Completed", r.Failed = "Failed", r.Cancelled = "Cancelled", r))(oc || {});
17793
- const xd = async (r) => {
17897
+ var oc = /* @__PURE__ */ ((r) => (r.Confirmed = "Confirmed", r.Plausible = "Plausible", r.Unlikely = "Unlikely", r))(oc || {}), lc = /* @__PURE__ */ ((r) => (r.Created = "Created", r.Processing = "Processing", r.Completed = "Completed", r.Failed = "Failed", r.Cancelled = "Cancelled", r))(lc || {});
17898
+ const kd = async (r) => {
17794
17899
  const t = r.map((a) => {
17795
17900
  var n;
17796
17901
  return (n = a.getWorkflowManager().getTransaction().recipient) == null ? void 0 : n.id;
17797
17902
  }).filter((a) => !!a), e = await B.getShadowGraphqlClient().query({
17798
- query: nc,
17903
+ query: rc,
17799
17904
  errorPolicy: "all",
17800
17905
  fetchPolicy: "network-only",
17801
17906
  variables: {
@@ -17808,32 +17913,32 @@ const xd = async (r) => {
17808
17913
  if (n)
17809
17914
  return (l = (o = (s = e.data) == null ? void 0 : s.recipients) == null ? void 0 : o.find((c) => c.id === n)) == null ? void 0 : l.addressValidationJob;
17810
17915
  });
17811
- }, kd = async (r) => {
17916
+ }, Md = async (r) => {
17812
17917
  var e;
17813
17918
  return (e = (await B.getShadowGraphqlClient().query({
17814
- query: ac,
17919
+ query: nc,
17815
17920
  errorPolicy: "all",
17816
17921
  fetchPolicy: "network-only",
17817
17922
  variables: {
17818
17923
  ids: r
17819
17924
  }
17820
17925
  })).data) == null ? void 0 : e.addressValidationJobs;
17821
- }, Md = async (r) => {
17926
+ }, Td = async (r) => {
17822
17927
  var e, a;
17823
17928
  return (e = r.getWorkflowManager().getTransaction().recipient) != null && e.id ? (a = (await B.getShadowGraphqlClient().mutate({
17824
- mutation: rc,
17929
+ mutation: ic,
17825
17930
  errorPolicy: "all",
17826
17931
  fetchPolicy: "network-only",
17827
17932
  variables: {
17828
17933
  id: r.getWorkflowManager().getTransaction().recipient.id
17829
17934
  }
17830
17935
  })).data) == null ? void 0 : a.recipientValidate : void 0;
17831
- }, Td = async (r) => {
17936
+ }, Nd = async (r) => {
17832
17937
  const t = r.map((a) => {
17833
17938
  var n;
17834
17939
  return (n = a.getWorkflowManager().getTransaction().recipient) == null ? void 0 : n.id;
17835
17940
  }).filter((a) => !!a), e = await B.getShadowGraphqlClient().mutate({
17836
- mutation: ic,
17941
+ mutation: sc,
17837
17942
  errorPolicy: "all",
17838
17943
  fetchPolicy: "network-only",
17839
17944
  variables: {
@@ -17849,185 +17954,185 @@ const xd = async (r) => {
17849
17954
  };
17850
17955
  export {
17851
17956
  ua as AddonHandle,
17852
- oc as AddressValidationJobStatus,
17853
- sc as AddressValidationResultConfirmationLevel,
17854
- Ad as ArrayInput,
17957
+ lc as AddressValidationJobStatus,
17958
+ oc as AddressValidationResultConfirmationLevel,
17959
+ ud as ArrayInput,
17855
17960
  z as AspectType,
17856
17961
  St as AssetNotFoundError,
17857
17962
  Ce as AssetType,
17858
- rd as BringForwardCommand,
17859
- nd as BringToBackCommand,
17860
- ad as BringToFrontCommand,
17861
- vr as BundleDesignCreationCartAddMode,
17862
- O as CanvasCommand,
17963
+ id as BringForwardCommand,
17964
+ rd as BringToBackCommand,
17965
+ nd as BringToFrontCommand,
17966
+ Er as BundleDesignCreationCartAddMode,
17967
+ $ as CanvasCommand,
17863
17968
  de as CollectionProduct,
17864
17969
  Ja as ColorOptionGlobalPropertyHandle,
17865
- os as CommandContext,
17866
- Zl as ConversionDataType,
17867
- Xl as ConversionLocation,
17970
+ cs as CommandContext,
17971
+ nr as ConversionDataType,
17972
+ tc as ConversionLocation,
17868
17973
  W as CreateElementCommand,
17869
17974
  Ln as CreateLayoutCommand,
17870
- Nl as CurrencyContext,
17871
- Tl as CurrencyService,
17975
+ Rl as CurrencyContext,
17976
+ Ql as CurrencyService,
17872
17977
  Et as DeleteElementCommand,
17873
- Po as DigitalContentStepHandle,
17874
- ol as FileUploadGlobalPropertyHandle,
17978
+ Fo as DigitalContentStepHandle,
17979
+ cl as FileUploadGlobalPropertyHandle,
17875
17980
  Ae as FlowExecutionNodeResult,
17876
- Il as FlowExecutionResult,
17877
- Bl as FlowService,
17878
- us as FontAlignmentCommand,
17879
- ds as FontColorCommand,
17880
- As as FontSizeCommand,
17981
+ Dl as FlowExecutionResult,
17982
+ Pl as FlowService,
17983
+ ms as FontAlignmentCommand,
17984
+ us as FontColorCommand,
17985
+ hs as FontSizeCommand,
17881
17986
  Wa as FontSourceCommand,
17882
- Vl as FrameService,
17883
- zl as FrameStep,
17884
- Gl as FrameStepHandle,
17987
+ Gl as FrameService,
17988
+ Wl as FrameStep,
17989
+ ql as FrameStepHandle,
17885
17990
  Ia as GlobalPropertyHandle,
17886
- $ as GroupCommand,
17887
- wo as IllustrationStepHandle,
17991
+ O as GroupCommand,
17992
+ So as IllustrationStepHandle,
17888
17993
  Re as InformationMessageType,
17889
- Io as InformationStepHandle,
17994
+ Do as InformationStepHandle,
17890
17995
  Ka as IntegrationProduct,
17891
- br as IntegrationType,
17892
- _c as LayoutElementFactory,
17996
+ Br as IntegrationType,
17997
+ Xc as LayoutElementFactory,
17893
17998
  M as LayoutElementType,
17894
17999
  Y as LayoutNotFoundError,
17895
18000
  Ht as LayoutRenderingPurpose,
17896
- yo as MaterialStepHandle,
18001
+ vo as MaterialStepHandle,
17897
18002
  Se as MisconfigurationError,
17898
- Cd as MockWorkflowManager,
17899
- So as ModelStepHandle,
17900
- Do as ModuleStepHandle,
17901
- Xc as MoveCommand,
18003
+ wd as MockWorkflowManager,
18004
+ Eo as ModelStepHandle,
18005
+ xo as ModuleStepHandle,
18006
+ Zc as MoveCommand,
17902
18007
  er as ObjectInput,
17903
- Pl as ObjectInputType,
18008
+ Fl as ObjectInputType,
17904
18009
  Zn as OptionGlobalPropertyHandle,
17905
18010
  ye as OptionNotFoundError,
17906
18011
  Dt as ParseError,
17907
- vo as PictureStepHandle,
17908
- Br as ProductCameraRig,
18012
+ bo as PictureStepHandle,
18013
+ Ir as ProductCameraRig,
17909
18014
  tr as ProductCollection,
17910
- pl as ProductCollectionProductSortKey,
18015
+ Cl as ProductCollectionProductSortKey,
17911
18016
  qt as ProductWorkflow,
17912
18017
  Jt as PromiseCache,
17913
18018
  xn as PromiseQueue,
17914
- Eo as QuestionStepHandle,
18019
+ Bo as QuestionStepHandle,
17915
18020
  Fn as QueueablePromise,
17916
- td as ResizeCommand,
18021
+ ed as ResizeCommand,
17917
18022
  jt as ResourceNotFoundError,
17918
- Zc as RotateCommand,
18023
+ td as RotateCommand,
17919
18024
  H as ScaleAxis,
17920
- id as SendBackwardsCommand,
17921
- bo as ShapeStepHandle,
17922
- Er as ShareActionType,
17923
- hd as SpiffCommerceClient,
18025
+ sd as SendBackwardsCommand,
18026
+ Io as ShapeStepHandle,
18027
+ br as ShareActionType,
18028
+ md as SpiffCommerceClient,
17924
18029
  we as StakeholderType,
17925
- Sr as StepAspectType,
18030
+ vr as StepAspectType,
17926
18031
  it as StepHandle,
17927
18032
  I as StepType,
17928
18033
  kt as TextAlgorithm,
17929
- gs as TextChangeCommand,
17930
- ll as TextGlobalPropertyHandle,
17931
- dd as TextInput,
17932
- Bo as TextStepHandle,
17933
- Cl as Transform,
17934
- fl as TransformCollection,
18034
+ fs as TextChangeCommand,
18035
+ dl as TextGlobalPropertyHandle,
18036
+ Ad as TextInput,
18037
+ Po as TextStepHandle,
18038
+ yl as Transform,
18039
+ wl as TransformCollection,
17935
18040
  G as UnhandledBehaviorError,
17936
- Ir as UnitOfMeasurement,
17937
- ed as UpdateImageSourceCommand,
18041
+ Pr as UnitOfMeasurement,
18042
+ ad as UpdateImageSourceCommand,
17938
18043
  st as Variant,
17939
- Lo as WorkflowExperienceEventType,
17940
- Vo as WorkflowExperienceImpl,
18044
+ zo as WorkflowExperienceEventType,
18045
+ Go as WorkflowExperienceImpl,
17941
18046
  U as assetService,
17942
- Xr as browserColorToHex,
17943
- Jc as cmPerPixel,
17944
- No as createDesign,
17945
- Hc as currentDirection,
17946
- Nc as dataUrlFromExternalUrl,
18047
+ Zr as browserColorToHex,
18048
+ Kc as cmPerPixel,
18049
+ Ro as createDesign,
18050
+ jc as currentDirection,
18051
+ Qc as dataUrlFromExternalUrl,
17947
18052
  Ye as designService,
17948
18053
  pe as determineCorrectFontSizeAndLines,
17949
18054
  zn as digitalContentStepService,
17950
18055
  dt as domParser,
17951
- Sd as duplicateBundle,
17952
- vd as duplicateTransaction,
18056
+ vd as duplicateBundle,
18057
+ Ed as duplicateTransaction,
17953
18058
  nt as fetchAsString,
17954
- Uc as findAngle,
18059
+ Lc as findAngle,
17955
18060
  L as findElement,
17956
18061
  Oc as findPmsColors,
17957
18062
  Vt as frameDataCache,
17958
18063
  Ct as frameStepService,
17959
18064
  Q as generate,
17960
- tl as generateCommands,
18065
+ al as generateCommands,
17961
18066
  lt as generateSVGWithUnknownColors,
17962
- ld as generateStateFromDesignInputSteps,
17963
- kd as getAddressValidationJobs,
18067
+ cd as generateStateFromDesignInputSteps,
18068
+ Md as getAddressValidationJobs,
17964
18069
  Me as getAttributesFromArrayBuffer,
17965
- $c as getAxisAlignedBoundingBox,
17966
- Ll as getBoundedOffsets,
17967
- pd as getBundleThemeConfiguration,
17968
- Ed as getCustomer,
17969
- bd as getCustomerBundles,
17970
- jc as getElementVertices,
18070
+ Uc as getAxisAlignedBoundingBox,
18071
+ zl as getBoundedOffsets,
18072
+ fd as getBundleThemeConfiguration,
18073
+ bd as getCustomer,
18074
+ Bd as getCustomerBundles,
18075
+ Yc as getElementVertices,
17971
18076
  Qe as getFrameData,
17972
- sd as getGlobalPropertyStateForBundle,
17973
- Ul as getIntegration,
17974
- Wc as getNEPoint,
17975
- Gc as getNWPoint,
17976
- Pd as getOrderedTransactions,
17977
- gd as getOverrideThemeConfiguration,
17978
- zc as getPointOfRotation,
17979
- cd as getProductCollections,
17980
- qc as getSEPoint,
18077
+ od as getGlobalPropertyStateForBundle,
18078
+ Vl as getIntegration,
18079
+ qc as getNEPoint,
18080
+ Wc as getNWPoint,
18081
+ Dd as getOrderedTransactions,
18082
+ pd as getOverrideThemeConfiguration,
18083
+ Gc as getPointOfRotation,
18084
+ dd as getProductCollections,
18085
+ Hc as getSEPoint,
17981
18086
  Sa as getSvgElement,
17982
- Fd as getTemplateBundles,
17983
- Dd as getTemplateTransactions,
17984
- md as getTransaction,
17985
- fd as getTransactionThemeConfiguration,
17986
- Bd as getTransactionsForBundle,
17987
- Vc as getTrueCoordinates,
17988
- Id as getUnorderedTransactions,
17989
- xd as getValidationJobsForWorkflowExperiences,
17990
- ud as getWorkflow,
18087
+ xd as getTemplateBundles,
18088
+ Fd as getTemplateTransactions,
18089
+ gd as getTransaction,
18090
+ Cd as getTransactionThemeConfiguration,
18091
+ Id as getTransactionsForBundle,
18092
+ zc as getTrueCoordinates,
18093
+ Pd as getUnorderedTransactions,
18094
+ kd as getValidationJobsForWorkflowExperiences,
18095
+ hd as getWorkflow,
17991
18096
  ar as getWorkflows,
17992
18097
  B as graphQlManager,
17993
18098
  ge as illustrationStepService,
17994
- Lc as isCloseToValue,
18099
+ Vc as isCloseToValue,
17995
18100
  Tt as loadFont,
17996
- Rc as matchHexToPms,
18101
+ $c as matchHexToPms,
17997
18102
  Gn as materialStepService,
17998
- gl as metafieldManager,
17999
- Yc as mmPerPixel,
18103
+ fl as metafieldManager,
18104
+ Jc as mmPerPixel,
18000
18105
  Wn as modelStepService,
18001
18106
  Ca as modifySVGColors,
18002
18107
  qn as moduleStepService,
18003
- wd as nameBundle,
18004
- yd as nameTransaction,
18108
+ yd as nameBundle,
18109
+ Sd as nameTransaction,
18005
18110
  j as optionService,
18006
- Kc as outlineFontsInSvg,
18111
+ _c as outlineFontsInSvg,
18007
18112
  At as patternImageDataCache,
18008
18113
  N as persistenceService,
18009
18114
  Hn as pictureStepService,
18010
- Qc as pmsToRgb,
18115
+ Rc as pmsToRgb,
18011
18116
  jn as questionStepService,
18012
- Tc as registerFetchImplementation,
18013
- Mc as registerWindowImplementation,
18014
- cs as rehydrateSerializedLayout,
18015
- Jr as rgbToPms,
18117
+ Nc as registerFetchImplementation,
18118
+ Tc as registerWindowImplementation,
18119
+ As as rehydrateSerializedLayout,
18120
+ Kr as rgbToPms,
18016
18121
  le as rotateAroundPoint,
18017
18122
  pa as sanitizeSvgTree,
18018
- Lr as setBearerAuthenticationToken,
18123
+ Vr as setBearerAuthenticationToken,
18019
18124
  pn as setCanvasModule,
18020
18125
  zt as shapeStepService,
18021
- fs as shortenUrl,
18126
+ ws as shortenUrl,
18022
18127
  mt as spiffCoreConfiguration,
18023
- od as stepAspectValuesToDesignInputSteps,
18024
- $a as svgColorValueToDefinition,
18025
- $n as svgStringDimensions,
18128
+ ld as stepAspectValuesToDesignInputSteps,
18129
+ Oa as svgColorValueToDefinition,
18130
+ On as svgStringDimensions,
18026
18131
  ha as svgToDataUrl,
18027
18132
  q as textStepService,
18028
- Ps as toast,
18029
- Md as validateWorkflowExperienceRecipient,
18030
- Td as validateWorkflowExperienceRecipients,
18133
+ Fs as toast,
18134
+ Td as validateWorkflowExperienceRecipient,
18135
+ Nd as validateWorkflowExperienceRecipients,
18031
18136
  bt as xmlSerializer
18032
18137
  };
18033
18138
  //# sourceMappingURL=index.mjs.map