@spiffcommerce/core 33.4.0-beta.a67d15dd-dc23-5bb7-a68b-9af13a38acda → 33.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,30 +1,30 @@
1
- import { createHttpLink as gr, ApolloClient as pr, InMemoryCache as fr, from as Cr, gql as C } from "@apollo/client/core";
2
- import { setContext as wr } from "@apollo/client/link/context";
3
- import { onError as yr } from "@apollo/client/link/error";
4
- import { renderToStaticMarkup as Sr } from "preact-render-to-string";
5
- import { removeTypenameFromVariables as vr } from "@apollo/client/link/remove-typename";
6
- import { orientation as Er } from "exifr/dist/mini.umd.cjs";
1
+ import { createHttpLink as mr, ApolloClient as gr, InMemoryCache as pr, from as fr, gql as C } from "@apollo/client/core";
2
+ import { setContext as Cr } from "@apollo/client/link/context";
3
+ import { onError as wr } from "@apollo/client/link/error";
4
+ import { renderToStaticMarkup as yr } from "preact-render-to-string";
5
+ import { removeTypenameFromVariables as Sr } from "@apollo/client/link/remove-typename";
6
+ import { orientation as vr } from "exifr/dist/mini.umd.cjs";
7
7
  import { parse as An } from "css";
8
- import br from "fuse.js";
8
+ import Er from "fuse.js";
9
9
  import { Pith as ma } from "pith";
10
10
  import vt from "lodash.clonedeep";
11
- import qt from "lodash.isequal";
11
+ import Ht from "lodash.isequal";
12
12
  import { jsx as D, jsxs as ct, Fragment as zt } from "preact/jsx-runtime";
13
13
  import { parse as aa } from "opentype.js";
14
- import Ir from "handlebars";
15
- import { dataUriToBuffer as Br } from "data-uri-to-buffer";
14
+ import br from "handlebars";
15
+ import { dataUriToBuffer as Ir } from "data-uri-to-buffer";
16
16
  import { toString as un } from "qrcode";
17
17
  import { split as na } from "unicode-default-word-boundary";
18
- import Pr from "svg-path-bbox";
18
+ import Br from "svg-path-bbox";
19
19
  import Ma from "lodash.chunk";
20
- import { CognitoIdentityProviderClient as Dr, InitiateAuthCommand as Ta, RespondToAuthChallengeCommand as Fr } from "@aws-sdk/client-cognito-identity-provider";
21
- import xr from "dinero.js";
20
+ import { CognitoIdentityProviderClient as Pr, InitiateAuthCommand as Ta, RespondToAuthChallengeCommand as Dr } from "@aws-sdk/client-cognito-identity-provider";
21
+ import Fr from "dinero.js";
22
22
  import * as Na from "currency-codes";
23
23
  import hn from "lodash.debounce";
24
24
  import "fs";
25
25
  import "path";
26
- import kr from "lodash.omit";
27
- var ve = /* @__PURE__ */ ((n) => (n.Data = "Data", n.Font = "Font", n.Frame = "Frame", n.Illustration = "Illustration", n.Image = "Image", n.Model = "Model", n.Material = "Material", n.Color = "Color", n.QuestionnaireCollateral = "QuestionnaireCollateral", n.RequestCollateral = "RequestCollateral", n.SignupCollateral = "SignupCollateral", n.Video = "Video", n.ColorProfile = "ColorProfile", n.Environment = "Environment", n))(ve || {}), mn = /* @__PURE__ */ ((n) => (n.AND = "AND", n.OR = "OR", n))(mn || {}), L = /* @__PURE__ */ ((n) => (n.FileUpload = "FileUpload", n.Option = "Option", n.ColorOption = "ColorOption", n.Text = "Text", n))(L || {}), E = /* @__PURE__ */ ((n) => (n.Information = "Information", n.Bulk = "Bulk", n.DigitalContent = "DigitalContent", n.Finish = "Finish", n.Frame = "Frame", n.Illustration = "Illustration", n.Introduction = "Introduction", n.Material = "Material", n.Model = "Model", n.Module = "Module", n.Picture = "Picture", n.Photo = "Photo", n.ProductOverlay = "ProductOverlay", n.Question = "Question", n.Shape = "Shape", n.SilentIllustration = "SilentIllustration", n.Text = "Text", n))(E || {}), Mr = /* @__PURE__ */ ((n) => (n.Color = "Color", n.Colors = "Colors", n.Selection = "Selection", n.Selections = "Selections", n.Text = "Text", n.Upload = "Upload", n))(Mr || {}), Ht = /* @__PURE__ */ ((n) => (n.ThreeD = "ThreeD", n.FreeDesign = "FreeDesign", n.Print = "Print", n))(Ht || {}), x = /* @__PURE__ */ ((n) => (n.Frame = "frame", n.Group = "group", n.Image = "image", n.Pattern = "pattern", n.Illustration = "illustration", n.Textbox = "textbox", n))(x || {}), Tr = /* @__PURE__ */ ((n) => (n.Default = "Default", n.FirstTransaction = "FirstTransaction", n.OneToOne = "OneToOne", n))(Tr || {}), gn = /* @__PURE__ */ ((n) => (n.Pending = "Pending", n.Failed = "Failed", n.Validated = "Validated", n.Overridden = "Overridden", n))(gn || {}), Nr = /* @__PURE__ */ ((n) => (n.Hyperlink = "Hyperlink", n.Edit = "Edit", n.Approve = "Approve", n))(Nr || {}), Qr = /* @__PURE__ */ ((n) => (n.Hub = "Hub", n.Shopify = "Shopify", n))(Qr || {}), ga = /* @__PURE__ */ ((n) => (n.BackgroundRemover = "BackgroundRemover", n.ConversionAccelerator = "Conversion Accelerator", n.ProcessBuilder = "ProcessBuilder", n))(ga || {}), Rr = /* @__PURE__ */ ((n) => (n[n.Orbit = 0] = "Orbit", n[n.Pan = 1] = "Pan", n))(Rr || {}), Ee = /* @__PURE__ */ ((n) => (n.Owner = "Owner", n.Approver = "Approver", n.Editor = "Editor", n.Viewer = "Viewer", n))(Ee || {}), xt = /* @__PURE__ */ ((n) => (n.Autosize = "Autosize", n.Traditional = "Traditional", n))(xt || {}), W = /* @__PURE__ */ ((n) => (n[n.North = 0] = "North", n[n.Northeast = 1] = "Northeast", n[n.East = 2] = "East", n[n.Southeast = 3] = "Southeast", n[n.South = 4] = "South", n[n.Southwest = 5] = "Southwest", n[n.West = 6] = "West", n[n.Northwest = 7] = "Northwest", n))(W || {}), Or = /* @__PURE__ */ ((n) => (n.Pixel = "px", n.Millimeter = "mm", n.Centimeter = "cm", n))(Or || {});
26
+ import xr from "lodash.omit";
27
+ var ve = /* @__PURE__ */ ((n) => (n.Data = "Data", n.Font = "Font", n.Frame = "Frame", n.Illustration = "Illustration", n.Image = "Image", n.Model = "Model", n.Material = "Material", n.Color = "Color", n.QuestionnaireCollateral = "QuestionnaireCollateral", n.RequestCollateral = "RequestCollateral", n.SignupCollateral = "SignupCollateral", n.Video = "Video", n.ColorProfile = "ColorProfile", n.Environment = "Environment", n))(ve || {}), mn = /* @__PURE__ */ ((n) => (n.AND = "AND", n.OR = "OR", n))(mn || {}), L = /* @__PURE__ */ ((n) => (n.FileUpload = "FileUpload", n.Option = "Option", n.ColorOption = "ColorOption", n.Text = "Text", n))(L || {}), E = /* @__PURE__ */ ((n) => (n.Information = "Information", n.Bulk = "Bulk", n.DigitalContent = "DigitalContent", n.Finish = "Finish", n.Frame = "Frame", n.Illustration = "Illustration", n.Introduction = "Introduction", n.Material = "Material", n.Model = "Model", n.Module = "Module", n.Picture = "Picture", n.Photo = "Photo", n.ProductOverlay = "ProductOverlay", n.Question = "Question", n.Shape = "Shape", n.SilentIllustration = "SilentIllustration", n.Text = "Text", n))(E || {}), kr = /* @__PURE__ */ ((n) => (n.Color = "Color", n.Colors = "Colors", n.Selection = "Selection", n.Selections = "Selections", n.Text = "Text", n.Upload = "Upload", n))(kr || {}), jt = /* @__PURE__ */ ((n) => (n.ThreeD = "ThreeD", n.FreeDesign = "FreeDesign", n.Print = "Print", n))(jt || {}), x = /* @__PURE__ */ ((n) => (n.Frame = "frame", n.Group = "group", n.Image = "image", n.Pattern = "pattern", n.Illustration = "illustration", n.Textbox = "textbox", n))(x || {}), Mr = /* @__PURE__ */ ((n) => (n.Default = "Default", n.FirstTransaction = "FirstTransaction", n.OneToOne = "OneToOne", n))(Mr || {}), gn = /* @__PURE__ */ ((n) => (n.Pending = "Pending", n.Failed = "Failed", n.Validated = "Validated", n.Overridden = "Overridden", n))(gn || {}), Tr = /* @__PURE__ */ ((n) => (n.Hyperlink = "Hyperlink", n.Edit = "Edit", n.Approve = "Approve", n))(Tr || {}), Nr = /* @__PURE__ */ ((n) => (n.Hub = "Hub", n.Shopify = "Shopify", n))(Nr || {}), ga = /* @__PURE__ */ ((n) => (n.BackgroundRemover = "BackgroundRemover", n.ConversionAccelerator = "Conversion Accelerator", n.ProcessBuilder = "ProcessBuilder", n))(ga || {}), Qr = /* @__PURE__ */ ((n) => (n[n.Orbit = 0] = "Orbit", n[n.Pan = 1] = "Pan", n))(Qr || {}), Ee = /* @__PURE__ */ ((n) => (n.Owner = "Owner", n.Approver = "Approver", n.Editor = "Editor", n.Viewer = "Viewer", n))(Ee || {}), xt = /* @__PURE__ */ ((n) => (n.Autosize = "Autosize", n.Traditional = "Traditional", n))(xt || {}), W = /* @__PURE__ */ ((n) => (n[n.North = 0] = "North", n[n.Northeast = 1] = "Northeast", n[n.East = 2] = "East", n[n.Southeast = 3] = "Southeast", n[n.South = 4] = "South", n[n.Southwest = 5] = "Southwest", n[n.West = 6] = "West", n[n.Northwest = 7] = "Northwest", n))(W || {}), Rr = /* @__PURE__ */ ((n) => (n.Pixel = "px", n.Millimeter = "mm", n.Centimeter = "cm", n))(Rr || {});
28
28
  class pn extends Error {
29
29
  constructor(t) {
30
30
  super(t), this.name = this.constructor.name;
@@ -50,7 +50,7 @@ class Et extends Xt {
50
50
  super(`Asset not found for variant: ${t.name}`), this.variant = t;
51
51
  }
52
52
  }
53
- class jt extends Xt {
53
+ class Yt extends Xt {
54
54
  constructor(t) {
55
55
  super(`Resource not found for asset: ${t.name}`), this.asset = t;
56
56
  }
@@ -85,7 +85,7 @@ class Te extends Me {
85
85
  super(`Resource Generation Failed: ${t}`);
86
86
  }
87
87
  }
88
- class $r {
88
+ class Or {
89
89
  get(t) {
90
90
  return localStorage.getItem(t) || void 0;
91
91
  }
@@ -128,14 +128,14 @@ class Qa {
128
128
  this.set(t, a);
129
129
  }
130
130
  }
131
- const Ur = () => {
131
+ const $r = () => {
132
132
  try {
133
- return localStorage ? new $r() : new Qa();
133
+ return localStorage ? new Or() : new Qa();
134
134
  } catch {
135
135
  return console.warn("Local storage was unavilable due to browser security settings. Using in-memory storage instead."), new Qa();
136
136
  }
137
- }, k = Ur();
138
- class Lr {
137
+ }, k = $r();
138
+ class Ur {
139
139
  constructor() {
140
140
  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 = [];
141
141
  }
@@ -161,12 +161,12 @@ class Lr {
161
161
  this.serverUrlCallbacks.push(t);
162
162
  }
163
163
  }
164
- const gt = new Lr();
164
+ const gt = new Ur();
165
165
  let ra, ia;
166
- function Jc(n) {
166
+ function Yc(n) {
167
167
  ra = n;
168
168
  }
169
- function Kc(n) {
169
+ function Jc(n) {
170
170
  ia = n;
171
171
  }
172
172
  function Zt() {
@@ -192,12 +192,12 @@ const fn = /* @__PURE__ */ new Map(), Ra = /* @__PURE__ */ new Map(), Oa = /* @_
192
192
  return fn.set(n, r.headers?.get("content-type") || ""), await r.arrayBuffer();
193
193
  })();
194
194
  return Ra.set(n, a), a;
195
- }, Vr = async (n) => {
195
+ }, Lr = async (n) => {
196
196
  const t = Oa.get(n);
197
197
  if (t) return t;
198
198
  const a = (async () => await (await nt(n)).text())();
199
199
  return Oa.set(n, a), a;
200
- }, kt = (n) => n.every((t) => t !== "undefined"), oe = (n) => kt([typeof document]) ? document.createElement(n) : Zt().document.createElement(n), zr = (n, t) => {
200
+ }, kt = (n) => n.every((t) => t !== "undefined"), oe = (n) => kt([typeof document]) ? document.createElement(n) : Zt().document.createElement(n), Vr = (n, t) => {
201
201
  if (kt([typeof document]))
202
202
  return document.createElementNS(n, t);
203
203
  const a = Zt().document.createElement(t);
@@ -207,17 +207,17 @@ const fn = /* @__PURE__ */ new Map(), Ra = /* @__PURE__ */ new Map(), Oa = /* @_
207
207
  return new DOMParser();
208
208
  const n = Zt();
209
209
  return new n.DOMParser();
210
- }, Gr = () => kt([typeof DOMParser]) ? DOMParser : Zt().DOMParser, Ne = (n, t) => new Promise((e, a) => {
210
+ }, zr = () => kt([typeof DOMParser]) ? DOMParser : Zt().DOMParser, Ne = (n, t) => new Promise((e, a) => {
211
211
  t ? Cn(n).then(e).catch(a) : nt(n).then((r) => {
212
212
  r.arrayBuffer().then(e).catch(a);
213
213
  }).catch((r) => {
214
214
  a(r);
215
215
  });
216
216
  }), at = (n, t) => new Promise((e, a) => {
217
- t ? Vr(n).then(e).catch(a) : nt(n).then((r) => {
217
+ t ? Lr(n).then(e).catch(a) : nt(n).then((r) => {
218
218
  r.text().then(e).catch(a);
219
219
  }).catch(a);
220
- }), wn = (n) => Sr(n), Ve = /* @__PURE__ */ new Map(), Wr = async (n, t) => {
220
+ }), wn = (n) => yr(n), Ve = /* @__PURE__ */ new Map(), Gr = async (n, t) => {
221
221
  if (kt([typeof FontFace])) {
222
222
  if (Ve.has(t))
223
223
  return Ve.get(t);
@@ -257,17 +257,17 @@ const fn = /* @__PURE__ */ new Map(), Ra = /* @__PURE__ */ new Map(), Oa = /* @_
257
257
  }
258
258
  const e = t();
259
259
  return e || "image/svg+xml";
260
- }, _c = async (n) => {
260
+ }, Kc = async (n) => {
261
261
  const t = await Cn(n), e = fn.get(n) || Qe(t);
262
- return await jr(new Blob([t], { type: e }));
263
- }, qr = (n) => {
262
+ return await Hr(new Blob([t], { type: e }));
263
+ }, Wr = (n) => {
264
264
  let t = "";
265
265
  const e = n.byteLength;
266
266
  for (let a = 0; a < e; a++)
267
267
  t += String.fromCharCode(n[a]);
268
268
  return t;
269
- }, Hr = async (n) => {
270
- const t = Qe(n), e = new Uint8Array(n), a = qr(e), r = btoa(a);
269
+ }, qr = async (n) => {
270
+ const t = Qe(n), e = new Uint8Array(n), a = Wr(e), r = btoa(a);
271
271
  return `data:${t};base64,${r}`;
272
272
  }, pa = (n) => `data:image/svg+xml;base64,${btoa(n)}`, yn = (n) => {
273
273
  const t = n.replace(/\r?\n/g, ""), e = t.indexOf(",");
@@ -281,39 +281,39 @@ const fn = /* @__PURE__ */ new Map(), Ra = /* @__PURE__ */ new Map(), Oa = /* @_
281
281
  return r ? new Uint8Array(
282
282
  atob(i).split("").map((o) => o.charCodeAt(0))
283
283
  ).buffer : new Uint8Array(i.split("").map((o) => o.charCodeAt(0))).buffer;
284
- }, jr = (n) => new Promise((t, e) => {
284
+ }, Hr = (n) => new Promise((t, e) => {
285
285
  const a = new FileReader();
286
286
  a.onload = function(r) {
287
287
  const i = r.target;
288
288
  !i || !i.result ? e() : t(i.result.toString());
289
289
  }, a.readAsDataURL(n);
290
290
  });
291
- let Yr, fa;
292
- const Jr = (n) => {
291
+ let jr, fa;
292
+ const Yr = (n) => {
293
293
  fa = n;
294
- }, Kr = () => fa;
294
+ }, Jr = () => fa;
295
295
  let Sn;
296
- const _r = (n) => {
296
+ const Kr = (n) => {
297
297
  Sn = n;
298
- }, Xr = () => new Promise((n) => {
298
+ }, _r = () => new Promise((n) => {
299
299
  const t = gt.getHubUrl(), e = (a) => {
300
300
  a.origin === t && (window.removeEventListener("message", e), n(a.data));
301
301
  };
302
302
  window.parent !== window && (window.addEventListener("message", e, !1), window.parent.postMessage("ready", t));
303
- }), Zr = async () => {
303
+ }), Xr = async () => {
304
304
  const n = {
305
305
  applicationKey: fa,
306
- customerToken: Yr,
306
+ customerToken: jr,
307
307
  bearer: Sn
308
308
  };
309
- return typeof window < "u" && (window.location.href.includes("/workflows/product/") || window.location.href.includes("hub=true")) ? { ...await Xr(), ...n } : n;
309
+ return typeof window < "u" && (window.location.href.includes("/workflows/product/") || window.location.href.includes("hub=true")) ? { ...await _r(), ...n } : n;
310
310
  };
311
- async function ti(n, t) {
311
+ async function Zr(n, t) {
312
312
  const e = gt.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";
313
313
  let r = await nt(n, { ...t, redirect: "manual" });
314
314
  return r.type === "opaqueredirect" && (typeof n != "string" && "url" in n ? r = await nt({ ...n, url: `${a}/graphql` }, t) : r = await nt(`${a}/graphql`, t)), r;
315
315
  }
316
- class ei {
316
+ class ti {
317
317
  constructor() {
318
318
  this.shadowGraphqlClient = this.constructShadowGraphqlClient(), gt.addServerUrlCallback(() => {
319
319
  this.shadowGraphqlClient = this.constructShadowGraphqlClient();
@@ -326,11 +326,11 @@ class ei {
326
326
  return this.shadowGraphqlClient;
327
327
  }
328
328
  constructShadowGraphqlClient() {
329
- const t = gr({
329
+ const t = mr({
330
330
  uri: `${gt.getServerUrl()}/graphql`,
331
- fetch: ti
332
- }), e = wr(async (i, s) => {
333
- const { headers: o } = s, l = o || {}, c = await Zr();
331
+ fetch: Zr
332
+ }), e = Cr(async (i, s) => {
333
+ const { headers: o } = s, l = o || {}, c = await Xr();
334
334
  let d = s.bearer ?? c.bearer;
335
335
  if (this.spiffClient)
336
336
  try {
@@ -353,18 +353,18 @@ class ei {
353
353
  return d && (l.Authorization = `Bearer ${d}`), A && (l.partnerId = A), u && (l.activeIntegration = u), h && (l.transactionOwnerId = h), m && (l.customerToken = m), p && (l["X-Application-Key"] = p), g && (l.bundleOwnerId = g), l["Allow-Moonlight-Redirect"] = "true", {
354
354
  headers: l
355
355
  };
356
- }), a = yr(({ operation: i, graphQLErrors: s, networkError: o }) => {
356
+ }), a = wr(({ operation: i, graphQLErrors: s, networkError: o }) => {
357
357
  const l = s || [], c = i.getContext();
358
358
  o && !c?.fetchOptions?.signal?.aborted && console.log("GraphQL Network error"), l.forEach(() => console.log("GraphQL Error: " + i.operationName));
359
- }), r = vr();
360
- return new pr({
361
- link: Cr([r, a, e, t]),
362
- cache: new fr(),
359
+ }), r = Sr();
360
+ return new gr({
361
+ link: fr([r, a, e, t]),
362
+ cache: new pr(),
363
363
  name: "Core"
364
364
  });
365
365
  }
366
366
  }
367
- const v = new ei();
367
+ const v = new ti();
368
368
  let sa, oa;
369
369
  const pt = (n, t, e) => {
370
370
  if (sa !== void 0)
@@ -409,28 +409,28 @@ function En(n) {
409
409
  }
410
410
  let ze;
411
411
  function Ca() {
412
- return ze === void 0 && (ze = Gr()), ze;
412
+ return ze === void 0 && (ze = zr()), ze;
413
413
  }
414
414
  let le = null;
415
- const ai = (n) => new Promise((t) => {
415
+ const ei = (n) => new Promise((t) => {
416
416
  if (Qe(n) !== "image/jpeg")
417
417
  return t(1);
418
- Er(n).then((a) => t(a || 1)).catch(() => t(1));
419
- }), ni = async () => {
418
+ vr(n).then((a) => t(a || 1)).catch(() => t(1));
419
+ }), ai = async () => {
420
420
  if (le !== null)
421
421
  return !le;
422
422
  const t = await te("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAIAAwMBEQACEQEDEQH/xABRAAEAAAAAAAAAAAAAAAAAAAAKEAEBAQADAQEAAAAAAAAAAAAGBQQDCAkCBwEBAAAAAAAAAAAAAAAAAAAAABEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AG8T9NfSMEVMhQvoP3fFiRZ+MTHDifa/95OFSZU5OzRzxkyejv8ciEfhSceSXGjS8eSdLnZc2HDm4M3BxcXwH/9k=");
423
423
  return le = t.width === 2 && t.height === 3, !le;
424
- }, ri = (n) => {
424
+ }, ni = (n) => {
425
425
  const e = n.naturalWidth / n.naturalHeight;
426
426
  return n.naturalHeight <= 8192 && n.naturalWidth <= 8192 ? [n.naturalWidth, n.naturalHeight] : n.naturalHeight > n.naturalWidth ? [e * 8192, 8192] : [8192, 8192 / e];
427
- }, ii = async (n) => {
428
- const t = await Hr(n), e = await te(t), [a, r] = ri(e);
429
- if (!await ni()) {
427
+ }, ri = async (n) => {
428
+ const t = await qr(n), e = await te(t), [a, r] = ni(e);
429
+ if (!await ai()) {
430
430
  const A = pt(a, r);
431
431
  return A.getContext("2d")?.drawImage(e, 0, 0, a, r), A;
432
432
  }
433
- const s = await ai(n), [o, l] = s > 4 ? [r, a] : [a, r], c = pt(o, l), d = c.getContext("2d");
433
+ const s = await ei(n), [o, l] = s > 4 ? [r, a] : [a, r], c = pt(o, l), d = c.getContext("2d");
434
434
  switch (s) {
435
435
  case 2:
436
436
  d.translate(o, 0), d.scale(-1, 1);
@@ -456,7 +456,7 @@ const ai = (n) => new Promise((t) => {
456
456
  }
457
457
  return d.drawImage(e, 0, 0, o, l), c;
458
458
  }, Re = async (n) => {
459
- const t = await ii(n);
459
+ const t = await ri(n);
460
460
  return Qe(n) === "image/jpeg" ? {
461
461
  dataUrl: t.toDataURL("image/jpeg", 1),
462
462
  height: t.height,
@@ -466,7 +466,7 @@ const ai = (n) => new Promise((t) => {
466
466
  height: t.height,
467
467
  width: t.width
468
468
  };
469
- }, Yt = [
469
+ }, Jt = [
470
470
  "Yellow C",
471
471
  "Yellow 012 C",
472
472
  "Orange 021 C",
@@ -3155,16 +3155,16 @@ const ai = (n) => new Promise((t) => {
3155
3155
  parseInt(n.substring(2, 4), 16),
3156
3156
  parseInt(n.substring(4, 6), 16)
3157
3157
  ]);
3158
- function Xc(n) {
3159
- const t = Yt.indexOf(n);
3158
+ function _c(n) {
3159
+ const t = Jt.indexOf(n);
3160
3160
  return t >= 0 ? Dt[t] : "";
3161
3161
  }
3162
- function si(n) {
3162
+ function ii(n) {
3163
3163
  const t = Dt.indexOf(n);
3164
- return t >= 0 ? Yt[t] : "";
3164
+ return t >= 0 ? Jt[t] : "";
3165
3165
  }
3166
- function Zc(n, t = 64) {
3167
- const e = [], a = [], r = si(n);
3166
+ function Xc(n, t = 64) {
3167
+ const e = [], a = [], r = ii(n);
3168
3168
  r && e.push({
3169
3169
  pms: r,
3170
3170
  hex: n,
@@ -3178,15 +3178,15 @@ function Zc(n, t = 64) {
3178
3178
  a.push(u);
3179
3179
  }
3180
3180
  for (let A = 0; A < a.length; A++)
3181
- a[A] <= t && !e.some((u) => u.pms === Yt[A]) && e.push({ pms: Yt[A], hex: Dt[A], distance: a[A] });
3181
+ a[A] <= t && !e.some((u) => u.pms === Jt[A]) && e.push({ pms: Jt[A], hex: Dt[A], distance: a[A] });
3182
3182
  return e.sort((A, u) => A.distance - u.distance);
3183
3183
  }
3184
- const oi = Yt.map((n, t) => ({ pms: n, hex: Dt[t] })), li = new br(oi, { keys: ["pms"] });
3185
- function td(n, t) {
3186
- return li.search(n, t ? { limit: t } : void 0);
3184
+ const si = Jt.map((n, t) => ({ pms: n, hex: Dt[t] })), oi = new Er(si, { keys: ["pms"] });
3185
+ function Zc(n, t) {
3186
+ return oi.search(n, t ? { limit: t } : void 0);
3187
3187
  }
3188
3188
  let Nt = null;
3189
- function ci(n) {
3189
+ function li(n) {
3190
3190
  if (n.startsWith("#"))
3191
3191
  return Ua(n);
3192
3192
  if (!document)
@@ -3226,7 +3226,7 @@ const ce = (n) => {
3226
3226
  browserValue: t[0],
3227
3227
  spotColor: { profileName: a[0], namedColor: a[1] }
3228
3228
  };
3229
- }, di = [
3229
+ }, ci = [
3230
3230
  "altGlyph",
3231
3231
  "circle",
3232
3232
  "ellipse",
@@ -3238,9 +3238,9 @@ const ce = (n) => {
3238
3238
  "textPath",
3239
3239
  "tref",
3240
3240
  "tspan"
3241
- ], Ai = ["fill", "stroke"], Ft = (n, t) => {
3241
+ ], di = ["fill", "stroke"], Ft = (n, t) => {
3242
3242
  t(n), n.children.length > 0 && Array.from(n.children).forEach((e) => Ft(e, t));
3243
- }, ui = (n, t) => {
3243
+ }, Ai = (n, t) => {
3244
3244
  try {
3245
3245
  return n.matches(t);
3246
3246
  } catch {
@@ -3271,24 +3271,24 @@ const ce = (n) => {
3271
3271
  const l = o.trim();
3272
3272
  if (l) {
3273
3273
  const [c, d] = l.split(":"), A = c.toLowerCase();
3274
- Ai.indexOf(A) > -1 ? a.setAttribute(A, d.trim()) : i.push(l);
3274
+ di.indexOf(A) > -1 ? a.setAttribute(A, d.trim()) : i.push(l);
3275
3275
  }
3276
3276
  }), i.length > 0 ? a.setAttribute("style", i.join(";")) : a.removeAttribute("style");
3277
3277
  }
3278
3278
  }), Ft(n, (a) => {
3279
3279
  e.forEach((r) => {
3280
3280
  r.selectors?.forEach((i) => {
3281
- ui(a, i) && r.declarations?.forEach((s) => {
3281
+ Ai(a, i) && r.declarations?.forEach((s) => {
3282
3282
  s.property && s.value && a.setAttribute(s.property, s.value);
3283
3283
  });
3284
3284
  });
3285
3285
  });
3286
3286
  });
3287
- }, hi = (n) => {
3287
+ }, ui = (n) => {
3288
3288
  const t = /pt|pc|mm|cm|in/gm, e = n.getAttribute("viewBox"), a = n.getAttribute("width"), r = n.getAttribute("height");
3289
3289
  if (!e) throw new Error("viewBox not specified on SVG!");
3290
3290
  a && n.setAttribute("width", a.replace(t, "")), r && n.setAttribute("height", r.replace(t, ""));
3291
- }, In = (n) => dt().parseFromString(n, "image/svg+xml").firstElementChild, mi = (n, t, e) => {
3291
+ }, In = (n) => dt().parseFromString(n, "image/svg+xml").firstElementChild, hi = (n, t, e) => {
3292
3292
  n.setAttribute("height", `${e}px`), n.setAttribute("width", `${t}px`);
3293
3293
  }, Bn = (n, t, e) => {
3294
3294
  Ft(n, (a) => {
@@ -3333,23 +3333,23 @@ const ce = (n) => {
3333
3333
  const i = In(n);
3334
3334
  if (!i)
3335
3335
  throw new Error("Failed to read SVG.");
3336
- return mi(i, t, e), Bn(i, a, r), Pn(i);
3336
+ return hi(i, t, e), Bn(i, a, r), Pn(i);
3337
3337
  }, Sa = (n, t, e) => {
3338
3338
  const a = In(n);
3339
3339
  if (!a)
3340
3340
  throw new Error("Failed to read SVG.");
3341
3341
  return Bn(a, t, e), Pn(a);
3342
- }, gi = (n) => {
3342
+ }, mi = (n) => {
3343
3343
  const t = /<svg.*<\/svg>/s, e = n.match(t) || [], a = e?.length > 0 ? e[0] : "";
3344
3344
  return dt().parseFromString(a, "image/svg+xml");
3345
3345
  }, ot = async (n) => {
3346
- const e = gi(n).firstElementChild;
3346
+ const e = mi(n).firstElementChild;
3347
3347
  if (!e)
3348
3348
  throw new Error("Failed to read SVG.");
3349
3349
  wa(e);
3350
3350
  const a = {};
3351
3351
  Ft(e, (s) => {
3352
- di.includes(s.tagName) && !s.attributes.getNamedItem("fill") && s.setAttribute("fill", "black");
3352
+ ci.includes(s.tagName) && !s.attributes.getNamedItem("fill") && s.setAttribute("fill", "black");
3353
3353
  const o = s.attributes.getNamedItem("fill");
3354
3354
  if (o && o.value !== "none" && !o.value.startsWith("url(")) {
3355
3355
  const c = La(o.value), d = c.browserValue.replace(/\W/g, ""), A = `spiff-fill-${d}`;
@@ -3366,7 +3366,7 @@ const ce = (n) => {
3366
3366
  colors: a,
3367
3367
  svg: i
3368
3368
  };
3369
- }, pi = C`
3369
+ }, gi = C`
3370
3370
  fragment AssetMetadataFields on Asset {
3371
3371
  metadata {
3372
3372
  key
@@ -3374,7 +3374,7 @@ const ce = (n) => {
3374
3374
  }
3375
3375
  }
3376
3376
  `, ee = (n) => C`
3377
- ${n && pi || ""}
3377
+ ${n && gi || ""}
3378
3378
  fragment AssetFields on Asset {
3379
3379
  name
3380
3380
  key
@@ -3416,7 +3416,7 @@ const ce = (n) => {
3416
3416
  }
3417
3417
  ${n && "...AssetMetadataFields" || ""}
3418
3418
  }
3419
- `, fi = C`
3419
+ `, pi = C`
3420
3420
  ${ee(!1)}
3421
3421
  query GetAssets($keys: [String]!) {
3422
3422
  assets(keys: $keys) {
@@ -3470,14 +3470,14 @@ const ce = (n) => {
3470
3470
  fileLink
3471
3471
  }
3472
3472
  }
3473
- `, Ci = C`
3473
+ `, fi = C`
3474
3474
  ${va}
3475
3475
  query GetMaterials($ids: [String]) {
3476
3476
  materials(id: $ids) {
3477
3477
  ...MaterialFields
3478
3478
  }
3479
3479
  }
3480
- `, wi = C`
3480
+ `, Ci = C`
3481
3481
  mutation CreateAsset($name: String!, $type: String!, $mimeType: String!, $anonymous: Boolean, $temporary: Boolean) {
3482
3482
  assetCreate(name: $name, type: $type, mimeType: $mimeType, anonymous: $anonymous, temporary: $temporary) {
3483
3483
  uploadUrl
@@ -3491,7 +3491,7 @@ const ce = (n) => {
3491
3491
  }
3492
3492
  }
3493
3493
  }
3494
- `, yi = C`
3494
+ `, wi = C`
3495
3495
  ${ee(!1)}
3496
3496
  mutation RemoveBackgroundFromAsset($key: String!) {
3497
3497
  assetRemoveBackground(key: $key) {
@@ -3499,20 +3499,20 @@ const ce = (n) => {
3499
3499
  }
3500
3500
  }
3501
3501
  `, Be = async (n) => (await v.getShadowGraphqlClient().query({
3502
- query: fi,
3502
+ query: pi,
3503
3503
  errorPolicy: "all",
3504
3504
  fetchPolicy: "no-cache",
3505
3505
  variables: {
3506
3506
  keys: n
3507
3507
  }
3508
- })).data.assets, Si = async (n) => (await v.getShadowGraphqlClient().query({
3509
- query: Ci,
3508
+ })).data.assets, yi = async (n) => (await v.getShadowGraphqlClient().query({
3509
+ query: fi,
3510
3510
  errorPolicy: "all",
3511
3511
  variables: {
3512
3512
  ids: n
3513
3513
  }
3514
- })).data.materials, vi = async (n, t, e, a, r) => (await v.getShadowGraphqlClient().mutate({
3515
- mutation: wi,
3514
+ })).data.materials, Si = async (n, t, e, a, r) => (await v.getShadowGraphqlClient().mutate({
3515
+ mutation: Ci,
3516
3516
  errorPolicy: "all",
3517
3517
  fetchPolicy: "no-cache",
3518
3518
  variables: {
@@ -3523,7 +3523,7 @@ const ce = (n) => {
3523
3523
  temporary: r
3524
3524
  }
3525
3525
  })).data?.assetCreate;
3526
- class Ei {
3526
+ class vi {
3527
3527
  constructor() {
3528
3528
  this.cache = /* @__PURE__ */ new Map(), this.bgrmProcessCache = /* @__PURE__ */ new Map(), this.materialCache = /* @__PURE__ */ new Map(), this.loadImageAsFileInfo = async (t) => {
3529
3529
  const e = await t.arrayBuffer(), a = await Re(e), r = (i, s) => {
@@ -3587,7 +3587,7 @@ class Ei {
3587
3587
  async getMaterialLocalOrFromServer(t) {
3588
3588
  if (this.materialCache.has(t))
3589
3589
  return this.materialCache.get(t);
3590
- const a = (async () => (await Si([t]))[0])();
3590
+ const a = (async () => (await yi([t]))[0])();
3591
3591
  return this.materialCache.set(t, a), a;
3592
3592
  }
3593
3593
  /**
@@ -3626,7 +3626,7 @@ class Ei {
3626
3626
  }
3627
3627
  const r = (async () => {
3628
3628
  const i = await v.getShadowGraphqlClient().mutate({
3629
- mutation: yi,
3629
+ mutation: wi,
3630
3630
  fetchPolicy: "no-cache",
3631
3631
  errorPolicy: "all",
3632
3632
  variables: {
@@ -3661,7 +3661,7 @@ class Ei {
3661
3661
  if (e === "image/svg+xml") {
3662
3662
  const a = await t.blob.text(), s = new window.DOMParser().parseFromString(a, "image/svg+xml").documentElement;
3663
3663
  if (!s) throw new Bt("Failed to read SVG.");
3664
- hi(s);
3664
+ ui(s);
3665
3665
  const l = bt().serializeToString(s);
3666
3666
  return {
3667
3667
  name: t.name,
@@ -3676,7 +3676,7 @@ class Ei {
3676
3676
  * @param assetType The type of asset we're expecting to upload
3677
3677
  */
3678
3678
  async dispatchCreateAssetRequest(t, e, a, r) {
3679
- const i = t.blob.type ? t.blob.type : this.guessMIME(t.name), s = await vi(t.name, e, i, a, r);
3679
+ const i = t.blob.type ? t.blob.type : this.guessMIME(t.name), s = await Si(t.name, e, i, a, r);
3680
3680
  if (s)
3681
3681
  return {
3682
3682
  assetResponse: s,
@@ -3782,8 +3782,8 @@ class j {
3782
3782
  k.setMap(Va, t);
3783
3783
  }
3784
3784
  }
3785
- const $ = new Ei();
3786
- class bi {
3785
+ const $ = new vi();
3786
+ class Ei {
3787
3787
  constructor() {
3788
3788
  this.cache = {}, this.disabled = !1;
3789
3789
  }
@@ -3812,7 +3812,7 @@ class bi {
3812
3812
  this.disabled = t;
3813
3813
  }
3814
3814
  }
3815
- const Jt = new bi(), Dn = C`
3815
+ const Kt = new Ei(), Dn = C`
3816
3816
  fragment OptionFields on Option {
3817
3817
  id
3818
3818
  name
@@ -3849,7 +3849,7 @@ const Jt = new bi(), Dn = C`
3849
3849
  ...AssetFields
3850
3850
  }
3851
3851
  }
3852
- `, Ii = C`
3852
+ `, bi = C`
3853
3853
  ${ee(!1)}
3854
3854
  ${va}
3855
3855
  ${Dn}
@@ -3858,9 +3858,9 @@ const Jt = new bi(), Dn = C`
3858
3858
  ...OptionFields
3859
3859
  }
3860
3860
  }
3861
- `, Bi = async (n) => {
3861
+ `, Ii = async (n) => {
3862
3862
  const t = await v.getShadowGraphqlClient().query({
3863
- query: Ii,
3863
+ query: bi,
3864
3864
  errorPolicy: "all",
3865
3865
  variables: {
3866
3866
  ids: n
@@ -3871,16 +3871,16 @@ const Jt = new bi(), Dn = C`
3871
3871
  a.asset && $.cacheAsset(a.asset), a.thumbnail && $.cacheAsset(a.thumbnail), a.material && $.cacheMaterial(a.material);
3872
3872
  });
3873
3873
  }), t.data.options;
3874
- }, Pi = async (n, t) => (await t).find((a) => a.id === n), Di = async (n) => {
3875
- const t = n.map((s) => Jt.get({ id: s })), e = n.filter((s, o) => t[o] === void 0);
3874
+ }, Bi = async (n, t) => (await t).find((a) => a.id === n), Pi = async (n) => {
3875
+ const t = n.map((s) => Kt.get({ id: s })), e = n.filter((s, o) => t[o] === void 0);
3876
3876
  if (e.length === 0)
3877
3877
  return Promise.all(t);
3878
- const a = Bi(e), r = e.map(
3879
- (s) => Jt.set({ id: s }, Pi(s, a))
3878
+ const a = Ii(e), r = e.map(
3879
+ (s) => Kt.set({ id: s }, Bi(s, a))
3880
3880
  ), i = t.filter((s) => s !== void 0);
3881
3881
  return await Promise.all(i.concat(r));
3882
3882
  };
3883
- class Fi {
3883
+ class Di {
3884
3884
  constructor() {
3885
3885
  this.getSelectedVariant = (t, e) => {
3886
3886
  if (!(!t || e.length === 0))
@@ -3893,7 +3893,7 @@ class Fi {
3893
3893
  */
3894
3894
  async getOption(t) {
3895
3895
  return (async () => {
3896
- const r = (await Di([t]))[0];
3896
+ const r = (await Pi([t]))[0];
3897
3897
  if (r)
3898
3898
  return r;
3899
3899
  })();
@@ -3921,7 +3921,7 @@ class Fi {
3921
3921
  }
3922
3922
  }
3923
3923
  }
3924
- const q = new Fi(), Fn = C`
3924
+ const q = new Di(), Fn = C`
3925
3925
  fragment ActiveIntegrationFields on Integration {
3926
3926
  id
3927
3927
  logo
@@ -3979,7 +3979,7 @@ const q = new Fi(), Fn = C`
3979
3979
  customField5
3980
3980
  conversionConfigurationId
3981
3981
  }
3982
- `, xi = C`
3982
+ `, Fi = C`
3983
3983
  ${ae}
3984
3984
  ${xn}
3985
3985
  mutation CreateTransactions(
@@ -4091,7 +4091,7 @@ const q = new Fi(), Fn = C`
4091
4091
  precedence
4092
4092
  url
4093
4093
  }
4094
- `, ki = C`
4094
+ `, xi = C`
4095
4095
  ${ae}
4096
4096
  ${kn}
4097
4097
  ${Mn}
@@ -4242,25 +4242,25 @@ const q = new Fi(), Fn = C`
4242
4242
  }
4243
4243
  }
4244
4244
  }
4245
- `, Mi = C`
4245
+ `, ki = C`
4246
4246
  mutation UpdateTransactionWorkflowState($id: String!, $workflowState: String!) {
4247
4247
  transactionUpdate(id: $id, workflowState: $workflowState) {
4248
4248
  id
4249
4249
  }
4250
4250
  }
4251
- `, Ti = C`
4251
+ `, Mi = C`
4252
4252
  mutation UpdateTransactionQuantity($id: String!, $quantity: Int) {
4253
4253
  transactionUpdate(id: $id, quantity: $quantity) {
4254
4254
  id
4255
4255
  }
4256
4256
  }
4257
- `, Ni = C`
4257
+ `, Ti = C`
4258
4258
  mutation UpdateTransactionWorkflow($id: String!, $workflowId: String!) {
4259
4259
  transactionUpdate(id: $id, workflowId: $workflowId) {
4260
4260
  id
4261
4261
  }
4262
4262
  }
4263
- `, Qi = C`
4263
+ `, Ni = C`
4264
4264
  query ReadConversionConfigurationQuery($id: String!) {
4265
4265
  conversionConfiguration(id: $id) {
4266
4266
  id
@@ -4278,7 +4278,7 @@ const q = new Fi(), Fn = C`
4278
4278
  mandatory
4279
4279
  }
4280
4280
  }
4281
- `, Ri = C`
4281
+ `, Qi = C`
4282
4282
  query ReadTransactionForDesignCreation($id: String!) {
4283
4283
  transactions(ids: [$id]) {
4284
4284
  id
@@ -4348,7 +4348,7 @@ const q = new Fi(), Fn = C`
4348
4348
  workflowViewerReadOnlyLink
4349
4349
  }
4350
4350
  }
4351
- `, Oi = C`
4351
+ `, Ri = C`
4352
4352
  ${Mn}
4353
4353
  query ReadTransactionForShareActions($id: String!) {
4354
4354
  transactions(ids: [$id]) {
@@ -4449,14 +4449,14 @@ const q = new Fi(), Fn = C`
4449
4449
  ` : ""}
4450
4450
  }
4451
4451
  }
4452
- `, $i = (n) => C`
4452
+ `, Oi = (n) => C`
4453
4453
  ${Nn(n)}
4454
4454
  query GetIntegrationProducts($ids: [String!]!) {
4455
4455
  integrationProducts(ids: $ids) {
4456
4456
  ...IntegrationProductFields
4457
4457
  }
4458
4458
  }
4459
- `, Ui = (n) => C`
4459
+ `, $i = (n) => C`
4460
4460
  ${Nn(n)}
4461
4461
  query GetIntegrationProductFromExternalIds($externalIntegrationId: String!, $externalProductId: String!) {
4462
4462
  integrationProductFromExternalIds(
@@ -4466,7 +4466,7 @@ const q = new Fi(), Fn = C`
4466
4466
  ...IntegrationProductFields
4467
4467
  }
4468
4468
  }
4469
- `, Li = C`
4469
+ `, Ui = C`
4470
4470
  ${kn}
4471
4471
  query ReadTransactionForStakeholders($id: String!) {
4472
4472
  transactions(ids: [$id]) {
@@ -4478,11 +4478,11 @@ const q = new Fi(), Fn = C`
4478
4478
  }
4479
4479
  }
4480
4480
  }
4481
- `, Vi = C`
4481
+ `, Li = C`
4482
4482
  mutation FinalizeUpdateTransaction($transactionId: String!) {
4483
4483
  transactionFinalizeUpdate(transactionId: $transactionId)
4484
4484
  }
4485
- `, zi = C`
4485
+ `, Vi = C`
4486
4486
  fragment RegionFields on Region {
4487
4487
  width
4488
4488
  top
@@ -4500,7 +4500,7 @@ const q = new Fi(), Fn = C`
4500
4500
  height
4501
4501
  }
4502
4502
  }
4503
- `, Gi = C`
4503
+ `, zi = C`
4504
4504
  fragment LookAtAnimationFields on LookAtAnimation {
4505
4505
  latDeg
4506
4506
  lonDeg
@@ -4511,7 +4511,7 @@ const q = new Fi(), Fn = C`
4511
4511
  z
4512
4512
  }
4513
4513
  }
4514
- `, Wi = C`
4514
+ `, Gi = C`
4515
4515
  fragment RenderingPipelineConfigurationFields on RenderingPipelineConfiguration {
4516
4516
  antiAliasing {
4517
4517
  samples
@@ -4595,21 +4595,21 @@ const q = new Fi(), Fn = C`
4595
4595
  weight
4596
4596
  }
4597
4597
  }
4598
- `, qi = C`
4598
+ `, Wi = C`
4599
4599
  fragment ModelAnimationFields on ModelAnimation {
4600
4600
  from
4601
4601
  to
4602
4602
  loop
4603
4603
  name
4604
4604
  }
4605
- `, Hi = (n) => C`
4605
+ `, qi = (n) => C`
4606
4606
  ${ee(n)}
4607
4607
  ${va}
4608
4608
  ${Dn}
4609
+ ${Vi}
4609
4610
  ${zi}
4610
4611
  ${Gi}
4611
4612
  ${Wi}
4612
- ${qi}
4613
4613
  query GetWorkflows($ids: [String!]!) {
4614
4614
  workflows(ids: $ids) {
4615
4615
  partner {
@@ -5004,7 +5004,7 @@ const q = new Fi(), Fn = C`
5004
5004
  }
5005
5005
  }
5006
5006
  }
5007
- `, ji = C`
5007
+ `, Hi = C`
5008
5008
  query GetTransactionForPartner($id: String!) {
5009
5009
  transactions(ids: [$id]) {
5010
5010
  id
@@ -5022,7 +5022,7 @@ const q = new Fi(), Fn = C`
5022
5022
  }
5023
5023
  }
5024
5024
  }
5025
- `, Yi = C`
5025
+ `, ji = C`
5026
5026
  ${ee(!1)}
5027
5027
  query GetWorkflowForTheme($id: String!) {
5028
5028
  workflow(id: $id) {
@@ -5123,14 +5123,14 @@ const q = new Fi(), Fn = C`
5123
5123
  }
5124
5124
  }
5125
5125
  }
5126
- `, Ji = C`
5126
+ `, Yi = C`
5127
5127
  ${Oe}
5128
5128
  query GetMarketplaceThemeInstallConfiguration($themeConfigurationId: String!, $themeInstallId: String!) {
5129
5129
  marketplaceThemeInstallConfiguration(id: $themeConfigurationId, themeInstallId: $themeInstallId, raw: false) {
5130
5130
  ...MarketplaceThemeInstallConfigurationFields
5131
5131
  }
5132
5132
  }
5133
- `, Ki = C`
5133
+ `, Ji = C`
5134
5134
  ${Fn}
5135
5135
  ${Oe}
5136
5136
  query GetCurrentIntegration($themeConfigurationId: String) {
@@ -5143,7 +5143,7 @@ const q = new Fi(), Fn = C`
5143
5143
  ...ActiveIntegrationFields
5144
5144
  }
5145
5145
  }
5146
- `, _i = C`
5146
+ `, Ki = C`
5147
5147
  ${Oe}
5148
5148
  query ReadTransactionForMarketplaceTheme($id: String!) {
5149
5149
  transactions(ids: [$id]) {
@@ -5152,7 +5152,7 @@ const q = new Fi(), Fn = C`
5152
5152
  }
5153
5153
  }
5154
5154
  }
5155
- `, Xi = C`
5155
+ `, _i = C`
5156
5156
  ${Oe}
5157
5157
  query ReadBundleForMarketplaceTheme($id: String!) {
5158
5158
  bundles(ids: [$id]) {
@@ -5161,14 +5161,14 @@ const q = new Fi(), Fn = C`
5161
5161
  }
5162
5162
  }
5163
5163
  }
5164
- `, Zi = C`
5164
+ `, Xi = C`
5165
5165
  mutation CreateOrder($orderItems: [OrderItemInput]!) {
5166
5166
  orderCreate(orderItems: $orderItems, paid: false, generateInternalId: true) {
5167
5167
  id
5168
5168
  internalId
5169
5169
  }
5170
5170
  }
5171
- `, ts = C`
5171
+ `, Zi = C`
5172
5172
  query CurrencyConversion($from: String!, $to: String!) {
5173
5173
  currencyConversion(from: $from, to: $to) {
5174
5174
  rateFrom
@@ -5176,7 +5176,7 @@ const q = new Fi(), Fn = C`
5176
5176
  timestamp
5177
5177
  }
5178
5178
  }
5179
- `, Rt = [E.SilentIllustration, E.ProductOverlay], es = async (n) => {
5179
+ `, Rt = [E.SilentIllustration, E.ProductOverlay], ts = async (n) => {
5180
5180
  const t = [];
5181
5181
  n.introduction && t.push({
5182
5182
  name: "Introduction",
@@ -5194,7 +5194,7 @@ const q = new Fi(), Fn = C`
5194
5194
  silentSteps: []
5195
5195
  });
5196
5196
  for (const a of n.steps) {
5197
- const r = as(a.stepName, n.stepGroups);
5197
+ const r = es(a.stepName, n.stepGroups);
5198
5198
  if (!r)
5199
5199
  t.push({
5200
5200
  name: a.stepName,
@@ -5231,7 +5231,7 @@ const q = new Fi(), Fn = C`
5231
5231
  ],
5232
5232
  silentSteps: []
5233
5233
  }), t;
5234
- }, as = (n, t) => t.find((e) => e.stepNames.includes(n)), St = (n, t) => (n.conditions || []).every((e) => {
5234
+ }, es = (n, t) => t.find((e) => e.stepNames.includes(n)), St = (n, t) => (n.conditions || []).every((e) => {
5235
5235
  const a = t[e.targetStepName];
5236
5236
  if (a && a.selectedVariants) {
5237
5237
  const r = a.selectedVariants;
@@ -5240,7 +5240,7 @@ const q = new Fi(), Fn = C`
5240
5240
  );
5241
5241
  }
5242
5242
  return !1;
5243
- }), ns = (n, t) => {
5243
+ }), as = (n, t) => {
5244
5244
  const e = {
5245
5245
  name: n.name,
5246
5246
  title: n.title,
@@ -5248,7 +5248,7 @@ const q = new Fi(), Fn = C`
5248
5248
  silentSteps: n.silentSteps.filter((a) => St(a, t))
5249
5249
  };
5250
5250
  return e.silentSteps.length === 0 && e.renderableSteps.length === 0 ? null : e;
5251
- }, wt = (n, t) => n.map((e) => ns(e, t)).filter((e) => e !== null), rs = async (n, t, e = !1) => {
5251
+ }, wt = (n, t) => n.map((e) => as(e, t)).filter((e) => e !== null), ns = async (n, t, e = !1) => {
5252
5252
  const a = wt(n, t), r = [];
5253
5253
  for (const s of a)
5254
5254
  for (const o of s.renderableSteps) {
@@ -5342,7 +5342,7 @@ class Rn {
5342
5342
  const M = () => {
5343
5343
  const n = () => Math.floor((1 + Math.random()) * 65536).toString(16).substring(1);
5344
5344
  return n() + n() + "-" + n() + "-" + n() + "-" + n() + "-" + n() + n() + n();
5345
- }, is = ({
5345
+ }, rs = ({
5346
5346
  backgroundColor: n,
5347
5347
  outlineColor: t,
5348
5348
  borderRadius: e,
@@ -5357,7 +5357,7 @@ const M = () => {
5357
5357
  viewBox: A,
5358
5358
  width: u
5359
5359
  }) => {
5360
- const h = e || 0, m = 2 * (l?.scale || 1), p = A || { x: 0, y: 0, width: u, height: i }, g = `${p.x} ${p.y} ${p.width} ${p.height}`, f = M(), w = a.purpose === Ht.FreeDesign && /* @__PURE__ */ D("defs", { children: /* @__PURE__ */ D("clipPath", { id: "viewboxClip", children: /* @__PURE__ */ D("rect", { width: p.width, height: p.height, rx: h }) }) }), I = a.colorProfiles?.map((S, B) => (
5360
+ const h = e || 0, m = 2 * (l?.scale || 1), p = A || { x: 0, y: 0, width: u, height: i }, g = `${p.x} ${p.y} ${p.width} ${p.height}`, f = M(), w = a.purpose === jt.FreeDesign && /* @__PURE__ */ D("defs", { children: /* @__PURE__ */ D("clipPath", { id: "viewboxClip", children: /* @__PURE__ */ D("rect", { width: p.width, height: p.height, rx: h }) }) }), I = a.colorProfiles?.map((S, B) => (
5361
5361
  /* @ts-ignore */
5362
5362
  /* @__PURE__ */ D("color-profile", { name: S.name, xlinkHref: S.key, children: " " }, B)
5363
5363
  )), P = r.map((S) => ({
@@ -5400,7 +5400,7 @@ const M = () => {
5400
5400
  "g",
5401
5401
  {
5402
5402
  id: "element-group",
5403
- clipPath: a.purpose === Ht.FreeDesign ? "url(#viewboxClip)" : void 0,
5403
+ clipPath: a.purpose === jt.FreeDesign ? "url(#viewboxClip)" : void 0,
5404
5404
  children: y.map((S) => Wn(S)).filter((S) => !!S)
5405
5405
  }
5406
5406
  ),
@@ -5442,7 +5442,7 @@ const M = () => {
5442
5442
  ]
5443
5443
  }
5444
5444
  );
5445
- }, ed = (n, t, e, a, r) => {
5445
+ }, td = (n, t, e, a, r) => {
5446
5446
  const i = ft(r), s = e / 2, o = a / 2, l = n + s, c = t + o, d = Math.sin(i), A = Math.cos(i), u = s, h = s, m = -o, p = o, g = u * A - m * d, f = h * A - p * d, w = u * d + m * A, I = h * d + p * A, P = Math.max(Math.abs(g), Math.abs(f)), y = Math.max(Math.abs(w), Math.abs(I));
5447
5447
  return {
5448
5448
  minX: l - P,
@@ -5450,25 +5450,25 @@ const M = () => {
5450
5450
  minY: c - y,
5451
5451
  maxY: c + y
5452
5452
  };
5453
- }, ad = (n, t, e) => {
5453
+ }, ed = (n, t, e) => {
5454
5454
  const a = Math.sqrt(Math.pow(t.x - n.x, 2) + Math.pow(t.y - n.y, 2)), r = Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)), i = Math.sqrt(Math.pow(e.x - n.x, 2) + Math.pow(e.y - n.y, 2));
5455
5455
  return Math.acos((r * r + a * a - i * i) / (2 * r * a)) * (180 / Math.PI);
5456
- }, ft = (n) => n * (Math.PI / 180), nd = (n, t, e) => Math.abs(n - t) < e, rd = (n, t, e) => {
5456
+ }, ft = (n) => n * (Math.PI / 180), ad = (n, t, e) => Math.abs(n - t) < e, nd = (n, t, e) => {
5457
5457
  const a = Math.sin(ft(e)), r = Math.cos(ft(e));
5458
5458
  return {
5459
5459
  x: (n.x - t.x) * r - (n.y - t.y) * a + t.x,
5460
5460
  y: (n.x - t.x) * a + (n.y - t.y) * r + t.y
5461
5461
  };
5462
- }, id = (n, t) => ({
5462
+ }, rd = (n, t) => ({
5463
5463
  x: (n.x + t.x) / 2,
5464
5464
  y: (n.y + t.y) / 2
5465
- }), sd = (n, t, e, a) => ({
5465
+ }), id = (n, t, e, a) => ({
5466
5466
  x: n.x + t?.x * e,
5467
5467
  y: n.y + t?.y * a
5468
- }), od = (n, t, e, a) => ({
5468
+ }), sd = (n, t, e, a) => ({
5469
5469
  x: n.x + (t?.x + t?.width) * e,
5470
5470
  y: n.y + t?.y * a
5471
- }), ld = (n, t, e, a) => ({
5471
+ }), od = (n, t, e, a) => ({
5472
5472
  x: n.x + (t?.x + t?.width) * e,
5473
5473
  y: n.y + (t?.y + t?.height) * a
5474
5474
  }), It = (n) => {
@@ -5490,7 +5490,7 @@ const M = () => {
5490
5490
  case W.Southwest:
5491
5491
  return W.Northwest;
5492
5492
  }
5493
- }, cd = (n, t) => t > 45 && t <= 135 ? It(n) : t > 135 && t <= 225 ? It(It(n)) : t > 225 && t <= 315 ? It(It(It(n))) : n, dd = (n, t = { x: 0, y: 0 }, e = { x: 1, y: 1 }) => {
5493
+ }, ld = (n, t) => t > 45 && t <= 135 ? It(n) : t > 135 && t <= 225 ? It(It(n)) : t > 225 && t <= 315 ? It(It(It(n))) : n, cd = (n, t = { x: 0, y: 0 }, e = { x: 1, y: 1 }) => {
5494
5494
  const a = ft(n.rotation), r = {
5495
5495
  x: t.x + n.x * e.x,
5496
5496
  y: t.x + n.y * e.y
@@ -5520,7 +5520,7 @@ const M = () => {
5520
5520
  x: (n.x - t.x) * r - (n.y - t.y) * a + t.x,
5521
5521
  y: (n.x - t.x) * a + (n.y - t.y) * r + t.y
5522
5522
  };
5523
- }, Ad = 0.352778, ud = 0.035277, On = (n) => {
5523
+ }, dd = 0.352778, Ad = 0.035277, On = (n) => {
5524
5524
  const t = n.rotation || 0, e = ft(t), a = Math.cos(e), r = -Math.sin(e);
5525
5525
  return /* @__PURE__ */ D("g", { mask: n.stepName || n.productOverlay ? void 0 : n.mask, children: /* @__PURE__ */ D(
5526
5526
  "g",
@@ -5573,7 +5573,7 @@ const M = () => {
5573
5573
  }
5574
5574
  )
5575
5575
  ] });
5576
- }, ss = (n) => {
5576
+ }, is = (n) => {
5577
5577
  const t = `spiff-frame-${n.id}`, e = `spiff-frame-threshold-${n.id}`, a = () => {
5578
5578
  if (!n.pattern)
5579
5579
  return "";
@@ -5665,7 +5665,7 @@ const M = () => {
5665
5665
  )
5666
5666
  ] });
5667
5667
  }, Un = /* @__PURE__ */ new Map();
5668
- class os {
5668
+ class ss {
5669
5669
  constructor(t) {
5670
5670
  this.font = t, this.glyphsFromText = /* @__PURE__ */ new Map(), this.kerningValues = /* @__PURE__ */ new Map(), this.height = this.calculateApproximateHeight();
5671
5671
  }
@@ -5714,24 +5714,24 @@ class os {
5714
5714
  }), a - r;
5715
5715
  }
5716
5716
  }
5717
- const ls = (n) => n.substring(0, 5).toLowerCase().trim() === "data:", We = /* @__PURE__ */ new Map(), Mt = async (n) => {
5717
+ const os = (n) => n.substring(0, 5).toLowerCase().trim() === "data:", We = /* @__PURE__ */ new Map(), Mt = async (n) => {
5718
5718
  if (We.has(n))
5719
5719
  return We.get(n);
5720
5720
  const e = (async () => {
5721
5721
  try {
5722
5722
  return Ct(n).getFont();
5723
5723
  } catch {
5724
- if (ls(n)) {
5724
+ if (os(n)) {
5725
5725
  const a = yn(n), r = aa(a);
5726
5726
  return la(n, r), r;
5727
5727
  } else {
5728
5728
  const a = await Ne(n, !0), r = aa(a);
5729
- return la(n, r), await Wr(r, n), r;
5729
+ return la(n, r), await Gr(r, n), r;
5730
5730
  }
5731
5731
  }
5732
5732
  })();
5733
5733
  return We.set(n, e), e;
5734
- }, cs = (n) => {
5734
+ }, ls = (n) => {
5735
5735
  const t = yn(n), e = aa(t);
5736
5736
  return la(n, e), e;
5737
5737
  }, Ct = (n) => {
@@ -5740,9 +5740,9 @@ const ls = (n) => n.substring(0, 5).toLowerCase().trim() === "data:", We = /* @_
5740
5740
  return t;
5741
5741
  throw new Error("Font metrics unavailable for font");
5742
5742
  }, la = (n, t) => {
5743
- const e = new os(t);
5743
+ const e = new ss(t);
5744
5744
  return Un.set(n, e), e;
5745
- }, hd = async (n) => {
5745
+ }, ud = async (n) => {
5746
5746
  const t = dt(), e = t.parseFromString(n, "image/svg+xml"), a = e.firstElementChild, r = /* @__PURE__ */ new Map();
5747
5747
  a.querySelectorAll("style").forEach((d) => {
5748
5748
  An(d.innerHTML).stylesheet?.rules.forEach((u) => {
@@ -5776,7 +5776,7 @@ const ls = (n) => n.substring(0, 5).toLowerCase().trim() === "data:", We = /* @_
5776
5776
  h.appendChild(R);
5777
5777
  }
5778
5778
  return e.querySelectorAll("text").forEach((d) => d.remove()), bt().serializeToString(a);
5779
- }, Pe = (n, t, e, a) => Math.max(hs(n.join(`
5779
+ }, Pe = (n, t, e, a) => Math.max(us(n.join(`
5780
5780
  `), e, a), t), za = (n, t, e, a, r, i) => {
5781
5781
  const s = (i || zn) * r.getApproximateHeight(), o = t.split(`
5782
5782
  `);
@@ -5828,10 +5828,10 @@ const ls = (n) => n.substring(0, 5).toLowerCase().trim() === "data:", We = /* @_
5828
5828
  if (l < 0)
5829
5829
  throw new Error(`No max width calculated for text: ${o}.`);
5830
5830
  return { lines: o, width: l };
5831
- }, ds = (n, t, e, a, r, i) => {
5831
+ }, cs = (n, t, e, a, r, i) => {
5832
5832
  const s = (i ?? zn) * t.getApproximateHeight(), o = 1 / e.unitsPerEm, l = Ln(n, o, t), c = n.length * s * o, d = a / l, A = r / c;
5833
5833
  return Math.min(A, d);
5834
- }, As = (n, t, e, a) => {
5834
+ }, ds = (n, t, e, a) => {
5835
5835
  const r = Ct(t.fontData.assetUrl), i = r.getFont(), s = t.fontSize / i.unitsPerEm;
5836
5836
  if (!e)
5837
5837
  return za(t, n, t.fontSize, s, r, a);
@@ -5850,13 +5850,13 @@ const ls = (n) => n.substring(0, 5).toLowerCase().trim() === "data:", We = /* @_
5850
5850
  lines: o,
5851
5851
  requiredHeight: t.height,
5852
5852
  requiredWidth: Pe(o, t.width, s, r),
5853
- fontSize: ds(o, r, i, t.width, t.height, a)
5853
+ fontSize: cs(o, r, i, t.width, t.height, a)
5854
5854
  } : za(t, n, t.fontSize, s, r, a);
5855
- }, us = (n, t, e, a, r) => {
5855
+ }, As = (n, t, e, a, r) => {
5856
5856
  const s = Ct(t.assetUrl).getFont();
5857
5857
  let o = { ...n };
5858
5858
  const l = { ...n }, c = Ln(a, e / s.unitsPerEm, Ct(t.assetUrl));
5859
- return c && c < o.width && (l.width = c, r === "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) : r === "right" ? l.left += o.width - c : l.left += (o.width - c) / 2, a && ms(a, a).every(([d, A]) => d === A) && (o = l)), o;
5859
+ return c && c < o.width && (l.width = c, r === "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) : r === "right" ? l.left += o.width - c : l.left += (o.width - c) / 2, a && hs(a, a).every(([d, A]) => d === A) && (o = l)), o;
5860
5860
  }, qe = 1, mt = (n, t, e) => {
5861
5861
  let a = 0;
5862
5862
  const r = e.getGlyphs(n);
@@ -5866,7 +5866,7 @@ const ls = (n) => n.substring(0, 5).toLowerCase().trim() === "data:", We = /* @_
5866
5866
  a += o || 0;
5867
5867
  }
5868
5868
  }), a *= t, a;
5869
- }, hs = (n, t, e) => {
5869
+ }, us = (n, t, e) => {
5870
5870
  let a = 0;
5871
5871
  const r = e.getGlyphs(n);
5872
5872
  return r.forEach((i, s) => {
@@ -5889,11 +5889,11 @@ const ls = (n) => n.substring(0, 5).toLowerCase().trim() === "data:", We = /* @_
5889
5889
  let a = n || "";
5890
5890
  return e.stripControlCharacters && (a = a.replace(/^(?![\u000A\u000D])[\u0000-\u001F\u007F-\u009F]/g, "")), e.uppercase && (a = a.toUpperCase()), e.vertical && (a = a.split("").join(`
5891
5891
  `)), a;
5892
- }, ms = (n, t) => n.map((e, a) => [e, t[a]]), gs = (n = "center", t = !1) => t ? "center" : n, Vn = (n) => n === "left" ? "start" : n === "right" ? "end" : "middle", ne = (n, t, e) => n.fontData ? {
5892
+ }, hs = (n, t) => n.map((e, a) => [e, t[a]]), ms = (n = "center", t = !1) => t ? "center" : n, Vn = (n) => n === "left" ? "start" : n === "right" ? "end" : "middle", ne = (n, t, e) => n.fontData ? {
5893
5893
  ...n,
5894
5894
  ...(() => {
5895
5895
  if (n.algorithm === xt.Traditional) {
5896
- const r = As(t, n, e, n.lineHeight);
5896
+ const r = ds(t, n, e, n.lineHeight);
5897
5897
  return {
5898
5898
  text: r.lines.join(`
5899
5899
  `),
@@ -5913,13 +5913,13 @@ function Pt(n, t) {
5913
5913
  }
5914
5914
  function Gn(n, t) {
5915
5915
  try {
5916
- n = Ir.compile(n)(t);
5916
+ n = br.compile(n)(t);
5917
5917
  } catch (e) {
5918
5918
  console.error("failed to render templated text", e);
5919
5919
  }
5920
5920
  return n;
5921
5921
  }
5922
- const ps = (n) => {
5922
+ const gs = (n) => {
5923
5923
  const e = (n.rotation || 0) * Math.PI / 180, a = Math.cos(e), r = -Math.sin(e), i = `text-path-${n.id}`, s = `text-fill-${n.id}`, o = n.x + (n.curved ? 0 : n.width / 2), l = n.y + (n.curved ? 0 : n.height / 2), c = Gn(n.text || "", n._renderingConfiguration?.templatingContext), d = c.split(`
5924
5924
  `), A = n.strokeColor?.browserValue && n.strokeThickness ? n.strokeColor?.browserValue : void 0, u = n.strokeColor?.browserValue && n.strokeThickness ? n.strokeThickness : void 0;
5925
5925
  if (n.curved && !n.paths || !n.fontData)
@@ -5979,8 +5979,8 @@ const ps = (n) => {
5979
5979
  },
5980
5980
  stroke: A,
5981
5981
  strokeWidth: u,
5982
- children: n.curved ? /* @__PURE__ */ D(Cs, { text: c, curvedPathId: i, align: n.align }) : d.map((m, p) => /* @__PURE__ */ D(
5983
- fs,
5982
+ children: n.curved ? /* @__PURE__ */ D(fs, { text: c, curvedPathId: i, align: n.align }) : d.map((m, p) => /* @__PURE__ */ D(
5983
+ ps,
5984
5984
  {
5985
5985
  align: n.vertical ? "center" : n.align,
5986
5986
  fontSize: n.fontSize,
@@ -5999,7 +5999,7 @@ const ps = (n) => {
5999
5999
  }
6000
6000
  ) }) })
6001
6001
  ] });
6002
- }, fs = (n) => {
6002
+ }, ps = (n) => {
6003
6003
  const t = () => {
6004
6004
  if (n.lineHeight !== void 0)
6005
6005
  return n.lineHeight * n.fontSize;
@@ -6017,7 +6017,7 @@ const ps = (n) => {
6017
6017
  return (n.thisLineIdx - s) * r + n.fontSize / 4;
6018
6018
  };
6019
6019
  return /* @__PURE__ */ D("tspan", { textAnchor: Vn(n.align), x: e(), y: `${a()}px`, children: n.text });
6020
- }, Cs = (n) => {
6020
+ }, fs = (n) => {
6021
6021
  const t = `#${n.curvedPathId}`;
6022
6022
  return /* @__PURE__ */ D(
6023
6023
  "textPath",
@@ -6029,7 +6029,7 @@ const ps = (n) => {
6029
6029
  children: n.text
6030
6030
  }
6031
6031
  );
6032
- }, ws = (n) => {
6032
+ }, Cs = (n) => {
6033
6033
  if (n.cachedObjectURL && !n._renderingConfiguration?.omitCachedFields)
6034
6034
  return /* @__PURE__ */ D(
6035
6035
  On,
@@ -6072,7 +6072,7 @@ const ps = (n) => {
6072
6072
  }
6073
6073
  ) });
6074
6074
  };
6075
- class ys {
6075
+ class ws {
6076
6076
  constructor() {
6077
6077
  this.id = M(), this.stateCallbacks = [], this.prevCommands = [], this.nextCommands = [];
6078
6078
  }
@@ -6162,10 +6162,10 @@ class ys {
6162
6162
  return { ...t, transaction: e.apply(a) };
6163
6163
  }
6164
6164
  }
6165
- const Wn = (n) => n.type === x.Image ? /* @__PURE__ */ D(On, { ...n }, n.id) : n.type === x.Frame ? /* @__PURE__ */ D(ss, { ...n }, n.id) : n.type === x.Illustration ? /* @__PURE__ */ D(ws, { ...n }, n.id) : n.type === x.Textbox ? /* @__PURE__ */ D(ps, { ...n }, n.id) : n.type === x.Group ? /* @__PURE__ */ D($n, { ...n }, n.id) : null, Ea = (n, t, e) => {
6165
+ const Wn = (n) => n.type === x.Image ? /* @__PURE__ */ D(On, { ...n }, n.id) : n.type === x.Frame ? /* @__PURE__ */ D(is, { ...n }, n.id) : n.type === x.Illustration ? /* @__PURE__ */ D(Cs, { ...n }, n.id) : n.type === x.Textbox ? /* @__PURE__ */ D(gs, { ...n }, n.id) : n.type === x.Group ? /* @__PURE__ */ D($n, { ...n }, n.id) : null, Ea = (n, t, e) => {
6166
6166
  const a = e.renderingConfiguration, r = a?.removeExcludedElements ? t.filter((i) => !i.excludeFromExport) : t;
6167
6167
  return /* @__PURE__ */ D(
6168
- is,
6168
+ rs,
6169
6169
  {
6170
6170
  preserveAspectRatio: void 0,
6171
6171
  elements: r,
@@ -6222,7 +6222,7 @@ const re = (n) => {
6222
6222
  <path id="target-path" d='M0 0 h ${t} v ${e} h ${-t} Z' />
6223
6223
  </svg>
6224
6224
  `;
6225
- }, Ss = (n, t) => {
6225
+ }, ys = (n, t) => {
6226
6226
  if (!t)
6227
6227
  return;
6228
6228
  const e = t.variants?.find((a) => a.id === n.frameVariantId) || re(t);
@@ -6284,7 +6284,7 @@ const re = (n) => {
6284
6284
  if (ut.has(n))
6285
6285
  return ut.get(n);
6286
6286
  if (n.startsWith("data:image/svg+xml")) {
6287
- const e = Br(n), a = new TextDecoder().decode(e.buffer), r = Hn(a), i = {
6287
+ const e = Ir(n), a = new TextDecoder().decode(e.buffer), r = Hn(a), i = {
6288
6288
  src: n,
6289
6289
  width: r.width,
6290
6290
  height: r.height,
@@ -6330,7 +6330,7 @@ const re = (n) => {
6330
6330
  at(n).then((e) => {
6331
6331
  t(e);
6332
6332
  }).catch((e) => console.error(e));
6333
- }), je = /* @__PURE__ */ new Map(), Kt = async (n) => {
6333
+ }), je = /* @__PURE__ */ new Map(), _t = async (n) => {
6334
6334
  if (je.has(n))
6335
6335
  return je.get(n);
6336
6336
  const t = async (r) => new Promise((i, s) => {
@@ -6395,7 +6395,7 @@ const re = (n) => {
6395
6395
  }
6396
6396
  return o;
6397
6397
  };
6398
- class md {
6398
+ class hd {
6399
6399
  static async getFrame(t, e) {
6400
6400
  const a = await qn(e.region, e.src), r = await $e(a), i = e.region || await $t(t, x.Frame);
6401
6401
  return {
@@ -6457,7 +6457,7 @@ class md {
6457
6457
  y: A.top,
6458
6458
  width: A.width,
6459
6459
  height: A.height,
6460
- align: gs(a.textAlign, a.vertical),
6460
+ align: ms(a.textAlign, a.vertical),
6461
6461
  curved: a.curved,
6462
6462
  fill: i?.color || a.colour || "#000000",
6463
6463
  fontData: o,
@@ -6473,7 +6473,7 @@ class md {
6473
6473
  input: l
6474
6474
  },
6475
6475
  d
6476
- ), h = us(
6476
+ ), h = As(
6477
6477
  { ...A, height: u.height },
6478
6478
  o,
6479
6479
  u.fontSize,
@@ -6530,7 +6530,7 @@ class md {
6530
6530
  };
6531
6531
  }
6532
6532
  static async getIllustration(t, e) {
6533
- const a = e.region || await $t(t, x.Illustration, e.src), r = await ot(await jn(e.src)), i = await Kt(r.svg), s = M();
6533
+ const a = e.region || await $t(t, x.Illustration, e.src), r = await ot(await jn(e.src)), i = await _t(r.svg), s = M();
6534
6534
  return {
6535
6535
  cachedObjectURL: i,
6536
6536
  stepRegion: e.region,
@@ -6603,7 +6603,7 @@ const U = (n, t) => J(n, t).elements.find((r) => r.id === n), J = (n, t) => {
6603
6603
  const o = r[s];
6604
6604
  if (o.src && o.svg)
6605
6605
  try {
6606
- o.cachedObjectURL = await Kt(o.svg);
6606
+ o.cachedObjectURL = await _t(o.svg);
6607
6607
  } catch (l) {
6608
6608
  console.log(l);
6609
6609
  }
@@ -6638,7 +6638,7 @@ class Ha extends Q {
6638
6638
  };
6639
6639
  }
6640
6640
  }
6641
- class gd extends Q {
6641
+ class md extends Q {
6642
6642
  constructor(t, e, a) {
6643
6643
  super(), this.id = t, this.x = e, this.y = a;
6644
6644
  }
@@ -6661,7 +6661,7 @@ class gd extends Q {
6661
6661
  };
6662
6662
  }
6663
6663
  }
6664
- class pd extends Q {
6664
+ class gd extends Q {
6665
6665
  constructor(t, e) {
6666
6666
  super(), this.id = t, this.angle = e;
6667
6667
  }
@@ -6683,7 +6683,7 @@ class pd extends Q {
6683
6683
  };
6684
6684
  }
6685
6685
  }
6686
- class fd extends Q {
6686
+ class pd extends Q {
6687
6687
  constructor(t, e, a) {
6688
6688
  super(), this.id = t, this.width = Math.abs(e), this.height = Math.abs(a);
6689
6689
  }
@@ -6821,7 +6821,7 @@ class Tt extends Q {
6821
6821
  };
6822
6822
  }
6823
6823
  }
6824
- class vs extends Q {
6824
+ class Ss extends Q {
6825
6825
  constructor(t, e, a) {
6826
6826
  super(), this.id = t, this.color = e, this.textFillSpotColor = a;
6827
6827
  }
@@ -6867,7 +6867,7 @@ class Ye extends Q {
6867
6867
  };
6868
6868
  }
6869
6869
  }
6870
- class Es extends Q {
6870
+ class vs extends Q {
6871
6871
  constructor(t, e) {
6872
6872
  super(), this.id = t, this.size = e;
6873
6873
  }
@@ -6911,7 +6911,7 @@ class ja extends Q {
6911
6911
  };
6912
6912
  }
6913
6913
  }
6914
- class bs extends Q {
6914
+ class Es extends Q {
6915
6915
  constructor(t, e) {
6916
6916
  super(), this.id = t, this.align = e;
6917
6917
  }
@@ -6933,7 +6933,7 @@ class bs extends Q {
6933
6933
  };
6934
6934
  }
6935
6935
  }
6936
- class Is extends Q {
6936
+ class bs extends Q {
6937
6937
  constructor(t, e, a) {
6938
6938
  super(), this.id = t, this.imageData = e, this.offsets = a;
6939
6939
  }
@@ -6969,7 +6969,7 @@ class Is extends Q {
6969
6969
  };
6970
6970
  }
6971
6971
  }
6972
- class Bs extends Q {
6972
+ class Is extends Q {
6973
6973
  constructor(t, e, a, r, i) {
6974
6974
  super(), this.id = t, this.useThreshold = e, this.invertThreshold = a, this.threshold = r, this.thresholdSaturation = i;
6975
6975
  }
@@ -6994,7 +6994,7 @@ class Bs extends Q {
6994
6994
  };
6995
6995
  }
6996
6996
  }
6997
- class Cd extends Q {
6997
+ class fd extends Q {
6998
6998
  constructor(t, e) {
6999
6999
  super(), this.id = t, this.src = e;
7000
7000
  }
@@ -7016,7 +7016,7 @@ class Cd extends Q {
7016
7016
  };
7017
7017
  }
7018
7018
  }
7019
- class Ps extends Q {
7019
+ class Bs extends Q {
7020
7020
  constructor(t, e) {
7021
7021
  super(), this.id = t, this.text = e;
7022
7022
  }
@@ -7090,7 +7090,7 @@ class Aa extends Q {
7090
7090
  };
7091
7091
  }
7092
7092
  }
7093
- class Ds extends Q {
7093
+ class Ps extends Q {
7094
7094
  constructor(t, e, a) {
7095
7095
  super(), this.id = t, this.svgBody = e, this.objectURL = a;
7096
7096
  }
@@ -7113,7 +7113,7 @@ class Ds extends Q {
7113
7113
  };
7114
7114
  }
7115
7115
  }
7116
- class wd extends Q {
7116
+ class Cd extends Q {
7117
7117
  /**
7118
7118
  * @param id The targeted element to bring to the front.
7119
7119
  */
@@ -7142,7 +7142,7 @@ class wd extends Q {
7142
7142
  };
7143
7143
  }
7144
7144
  }
7145
- class yd extends Q {
7145
+ class wd extends Q {
7146
7146
  /**
7147
7147
  * @param id The targeted element to bring to the back.
7148
7148
  */
@@ -7173,7 +7173,7 @@ class yd extends Q {
7173
7173
  };
7174
7174
  }
7175
7175
  }
7176
- class Sd extends Q {
7176
+ class yd extends Q {
7177
7177
  /**
7178
7178
  * @param id The targeted element to bring to the front.
7179
7179
  */
@@ -7200,7 +7200,7 @@ class Sd extends Q {
7200
7200
  };
7201
7201
  }
7202
7202
  }
7203
- class vd extends Q {
7203
+ class Sd extends Q {
7204
7204
  /**
7205
7205
  * @param id The targeted element to bring to the front.
7206
7206
  */
@@ -7280,7 +7280,7 @@ class Ya {
7280
7280
  }))()), A = {
7281
7281
  stepName: this.configuration.stepName,
7282
7282
  id: M(),
7283
- cachedObjectURL: await Kt(d.svg),
7283
+ cachedObjectURL: await _t(d.svg),
7284
7284
  src: l,
7285
7285
  svg: d.svg,
7286
7286
  colors: d.colors,
@@ -7325,7 +7325,7 @@ class Ya {
7325
7325
  return t?.startsWith("data:image/png") || t?.endsWith(".jpeg") || t?.endsWith(".jpg") || t?.endsWith(".png") ? x.Image : (t?.endsWith(".svg") || t?.startsWith("image/svg+xml"), x.Illustration);
7326
7326
  }
7327
7327
  }
7328
- const Fs = async (n) => {
7328
+ const Ds = async (n) => {
7329
7329
  const t = `${gt.getServicesApiUrl()}/shortener`;
7330
7330
  try {
7331
7331
  return (await (await nt(t, {
@@ -7362,7 +7362,7 @@ class Jn {
7362
7362
  this.onSuccess = e, this.onFailure = a, this.predicate = t, this.attempts = 0, this.pollingId = -1, this.interval = r, this.maxAttempts = i, this.poll();
7363
7363
  }
7364
7364
  }
7365
- class xs {
7365
+ class Fs {
7366
7366
  async init(t, e, a) {
7367
7367
  return a && await this.reload(t, e, a), null;
7368
7368
  }
@@ -7389,7 +7389,7 @@ class xs {
7389
7389
  async () => {
7390
7390
  const p = await i();
7391
7391
  if (!p.link || !p.link)
7392
- throw new jt(p.asset);
7392
+ throw new Yt(p.asset);
7393
7393
  h({
7394
7394
  rel: "mpeg4",
7395
7395
  href: p.link
@@ -7408,7 +7408,7 @@ class xs {
7408
7408
  const c = l.toString();
7409
7409
  if (c.length >= 2e3)
7410
7410
  throw new Te("Cannot create QR code, URL too long.");
7411
- const d = await Fs(c);
7411
+ const d = await Ds(c);
7412
7412
  if (!r.data || !r.data.regions)
7413
7413
  throw new Ie(r, "Missing regions.");
7414
7414
  const A = await this.regionElements(r), u = await this.command(d, A, a, r.stepName);
@@ -7452,7 +7452,7 @@ class xs {
7452
7452
  } };
7453
7453
  }
7454
7454
  }
7455
- const Kn = new xs();
7455
+ const Kn = new Fs();
7456
7456
  class Fe {
7457
7457
  constructor() {
7458
7458
  this.frameSourceSvg = async (t, e) => {
@@ -7464,7 +7464,7 @@ class Fe {
7464
7464
  const r = a.fileLink;
7465
7465
  if (r)
7466
7466
  return at(r, !0);
7467
- throw new jt(a);
7467
+ throw new Yt(a);
7468
7468
  };
7469
7469
  }
7470
7470
  async init(t, e, a) {
@@ -7680,7 +7680,7 @@ class Fe {
7680
7680
  const l = o.pmsValue.trim().toLocaleLowerCase();
7681
7681
  i.includes(l) || i.push(l);
7682
7682
  } else if (o.browserValue) {
7683
- const l = ci(o.browserValue);
7683
+ const l = li(o.browserValue);
7684
7684
  i.includes(l) || i.push(l);
7685
7685
  }
7686
7686
  }
@@ -7788,7 +7788,7 @@ class Fe {
7788
7788
  const a = t.fileLink;
7789
7789
  if (a)
7790
7790
  return a;
7791
- throw new jt(t);
7791
+ throw new Yt(t);
7792
7792
  }
7793
7793
  async loadPatternFromAsset(t, e, a, r) {
7794
7794
  const i = Fe.patternSource(t), s = a.markUpdatePending(), o = a.getWorkflowExperience().getStepById(e.stepName)?.frameService;
@@ -7819,7 +7819,7 @@ class Fe {
7819
7819
  }
7820
7820
  }
7821
7821
  const yt = new Fe();
7822
- class ks {
7822
+ class xs {
7823
7823
  async getIllustrationBody(t) {
7824
7824
  return new Promise((e) => {
7825
7825
  at(t, !0).then((a) => {
@@ -7923,11 +7923,11 @@ class ks {
7923
7923
  spotColor: A.spotColor,
7924
7924
  pmsValue: A.pmsValue
7925
7925
  };
7926
- const o = ya(t, e, a, s), l = await Kt(o), c = [];
7926
+ const o = ya(t, e, a, s), l = await _t(o), c = [];
7927
7927
  for (const d of r) {
7928
7928
  for (const [A, u] of i.entries())
7929
7929
  c.push(new Aa(d, A, u));
7930
- c.push(new Ds(d, o, l));
7930
+ c.push(new Ps(d, o, l));
7931
7931
  }
7932
7932
  return new O(c);
7933
7933
  }
@@ -7982,8 +7982,8 @@ class ks {
7982
7982
  throw new Et(e);
7983
7983
  const l = o.fileLink;
7984
7984
  if (!l)
7985
- throw new jt(o);
7986
- const c = await ot(await this.getIllustrationBody(l)), d = await Kt(c.svg), A = (f) => {
7985
+ throw new Yt(o);
7986
+ const c = await ot(await this.getIllustrationBody(l)), d = await _t(c.svg), A = (f) => {
7987
7987
  const w = i.getLayouts().find((P) => P.panelId === f.panelId);
7988
7988
  if (!w)
7989
7989
  throw new H(f);
@@ -8051,8 +8051,8 @@ class ks {
8051
8051
  };
8052
8052
  }
8053
8053
  }
8054
- const Ce = new ks();
8055
- class Ms {
8054
+ const Ce = new xs();
8055
+ class ks {
8056
8056
  async init(t, e, a) {
8057
8057
  const r = t.option;
8058
8058
  if (!r)
@@ -8127,8 +8127,8 @@ class Ms {
8127
8127
  };
8128
8128
  }
8129
8129
  }
8130
- const _n = new Ms();
8131
- class Ts {
8130
+ const _n = new ks();
8131
+ class Ms {
8132
8132
  async init(t, e, a) {
8133
8133
  const r = t.option;
8134
8134
  if (!r) throw new be(t);
@@ -8208,8 +8208,8 @@ class Ts {
8208
8208
  };
8209
8209
  }
8210
8210
  }
8211
- const Xn = new Ts();
8212
- class Ns {
8211
+ const Xn = new Ms();
8212
+ class Ts {
8213
8213
  async init(t, e, a) {
8214
8214
  if (a)
8215
8215
  await this.reload(t, e, a);
@@ -8319,8 +8319,8 @@ class Ns {
8319
8319
  return r(""), { input: e, helperData: {} };
8320
8320
  }
8321
8321
  }
8322
- const Zn = new Ns();
8323
- class Qs {
8322
+ const Zn = new Ts();
8323
+ class Ns {
8324
8324
  async init(t, e, a) {
8325
8325
  const r = t.option;
8326
8326
  if (!r)
@@ -8410,8 +8410,8 @@ class Qs {
8410
8410
  };
8411
8411
  }
8412
8412
  }
8413
- const tr = new Qs();
8414
- class Rs {
8413
+ const tr = new Ns();
8414
+ class Qs {
8415
8415
  async init(t, e, a) {
8416
8416
  const r = t.option;
8417
8417
  if (!r)
@@ -8465,8 +8465,8 @@ class Rs {
8465
8465
  };
8466
8466
  }
8467
8467
  }
8468
- const er = new Rs();
8469
- class Os {
8468
+ const er = new Qs();
8469
+ class Rs {
8470
8470
  constructor() {
8471
8471
  this.shapeFillId = "spiff-fill-shape";
8472
8472
  }
@@ -8630,8 +8630,8 @@ class Os {
8630
8630
  }
8631
8631
  }
8632
8632
  }
8633
- const Vt = new Os();
8634
- class $s {
8633
+ const Vt = new Rs();
8634
+ class Os {
8635
8635
  constructor() {
8636
8636
  this.latestToast = null, this.toastType = null, this.toastCallbacks = [];
8637
8637
  }
@@ -8656,7 +8656,7 @@ class $s {
8656
8656
  );
8657
8657
  }
8658
8658
  }
8659
- const Us = new $s(), Ke = (n, t, e, a, r) => {
8659
+ const $s = new Os(), Ke = (n, t, e, a, r) => {
8660
8660
  if (t.some((d) => d == null))
8661
8661
  throw new Error(`Failed to autosize lines: ${t.join(", ")}`);
8662
8662
  let i = t.map((d) => d.split(`
@@ -8706,14 +8706,14 @@ class xe extends Error {
8706
8706
  super(t), Object.setPrototypeOf(this, new.target.prototype), this.name = xe.name;
8707
8707
  }
8708
8708
  }
8709
- const Ls = ["‘", "’", "“", "”", `
8709
+ const Us = ["‘", "’", "“", "”", `
8710
8710
  `];
8711
8711
  class ke extends Error {
8712
8712
  constructor(t) {
8713
8713
  super(t), Object.setPrototypeOf(this, new.target.prototype), this.name = ke.name;
8714
8714
  }
8715
8715
  }
8716
- class Vs {
8716
+ class Ls {
8717
8717
  constructor() {
8718
8718
  this.cachedColors = /* @__PURE__ */ new Map(), this.cachedStrokeColors = /* @__PURE__ */ new Map(), this.filterUnsupportedCharacters = (t, e) => {
8719
8719
  let a = t.replace(
@@ -8722,7 +8722,7 @@ class Vs {
8722
8722
  );
8723
8723
  const r = [], i = e ? Ct(e.assetUrl) : void 0;
8724
8724
  if (i) {
8725
- const s = a.split("").filter((l) => !Ls.includes(l)).join(""), o = s.split("").map((l) => i.getFont().charToGlyph(l));
8725
+ const s = a.split("").filter((l) => !Us.includes(l)).join(""), o = s.split("").map((l) => i.getFont().charToGlyph(l));
8726
8726
  for (let l = 0; l < o.length; l++)
8727
8727
  o[l].name === ".notdef" && r.push(String.fromCharCode(s.charCodeAt(l)));
8728
8728
  }
@@ -8830,7 +8830,7 @@ class Vs {
8830
8830
  return;
8831
8831
  const i = r.getCommandDispatcher();
8832
8832
  for (const s of a) {
8833
- const o = new bs(s.id, e);
8833
+ const o = new Es(s.id, e);
8834
8834
  i(o);
8835
8835
  }
8836
8836
  }
@@ -8849,7 +8849,7 @@ class Vs {
8849
8849
  for (const l of a) {
8850
8850
  if (!e.fill)
8851
8851
  throw new Error("Fill not set on new color selection!");
8852
- const c = new vs(l.id, e.fill, o);
8852
+ const c = new Ss(l.id, e.fill, o);
8853
8853
  i(c);
8854
8854
  }
8855
8855
  }
@@ -9099,7 +9099,7 @@ class Vs {
9099
9099
  throw new Et(t);
9100
9100
  const a = e.fileLink;
9101
9101
  if (!a)
9102
- throw new jt(e);
9102
+ throw new Yt(e);
9103
9103
  const r = await Mt(a);
9104
9104
  return {
9105
9105
  assetUrl: a,
@@ -9257,7 +9257,7 @@ class Vs {
9257
9257
  throw console.log(g), new xe("Error adding font to region");
9258
9258
  }
9259
9259
  }, A = await Promise.all(a.regions.map(d)).catch((u) => {
9260
- throw u instanceof xe ? (Us.setLatestToast("Failed to load font.", Ue.Error), u) : u instanceof ke ? u : new Error(u);
9260
+ throw u instanceof xe ? ($s.setLatestToast("Failed to load font.", Ue.Error), u) : u instanceof ke ? u : new Error(u);
9261
9261
  });
9262
9262
  return await s.setSelectionsAndElements(
9263
9263
  t,
@@ -9273,9 +9273,9 @@ class Vs {
9273
9273
  ), A;
9274
9274
  }
9275
9275
  generateTextChangeCommandsForRegion(t, e, a, r) {
9276
- const i = [], s = new Ps(a, r);
9276
+ const i = [], s = new Bs(a, r);
9277
9277
  if (i.push(s), !e.size) {
9278
- const l = new Es(a, t);
9278
+ const l = new vs(a, t);
9279
9279
  i.push(l);
9280
9280
  }
9281
9281
  return new O(i);
@@ -9334,13 +9334,13 @@ class Vs {
9334
9334
  return new O(I);
9335
9335
  }
9336
9336
  }
9337
- const G = new Vs();
9338
- class zs {
9337
+ const G = new Ls();
9338
+ class Vs {
9339
9339
  }
9340
- const Gs = "data:application/octet-stream;base64,AAEAAAAPAIAAAwBwRkZUTYdHeHoAAElcAAAAHEdERUYAJwBUAAAe2AAAAB5HUE9TkNtcVAAAHygAACoyR1NVQrj/uP4AAB74AAAAME9TLzJoWmUcAAABeAAAAGBjbWFwtkIacAAAAxAAAAJWZ2FzcP//AAMAAB7QAAAACGdseWY27KOUAAAGCAAAFcRoZWFkFPal0gAAAPwAAAA2aGhlYQU0Ar0AAAE0AAAAJGhtdHiADw6qAAAB2AAAAThsb2Nh5CzfJAAABWgAAACebWF4cACVAEwAAAFYAAAAIG5hbWXeIPPyAAAbzAAAAiJwb3N0ABeZTwAAHfAAAADdAAEAAAABAAAZ9vREXw889QALA+gAAAAA2ZexNAAAAADZl7E0ADL/yQJ2ArwAAAAIAAIAAAAAAAAAAQAAArz/wwAAAqsAAAAAAnYAAQAAAAAAAAAAAAAAAAAAAE4AAQAAAE4ASQAFAAAAAAACAAAA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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/7ADr//wA7/+sAPP/+AD3//gA+//0AP//6AED/7gBB//sAQv/sAEP/+wBE/+8ARf/7AEb//QBH/+8ASP/qAEn/3wBK//gAS//+ABwABv/nABf/lQAy/4IAM//3ADT/wQA1/+kAN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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//gA9//8APv/6AD//+QBA/+4AQf/5AEL/4wBD//gARP/qAEX/+QBG//oAR//pAEj/6QBJ/9UASv/rAEv/+gAqAAf/sgAI/8kACf+wAAr/ugAL/7UADP+1AA3/3QAO/+QAD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//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==", et = (n) => zr("http://www.w3.org/2000/svg", n), Ws = (n, t) => {
9340
+ const zs = "data:application/octet-stream;base64,AAEAAAAPAIAAAwBwRkZUTYdHeHoAAElcAAAAHEdERUYAJwBUAAAe2AAAAB5HUE9TkNtcVAAAHygAACoyR1NVQrj/uP4AAB74AAAAME9TLzJoWmUcAAABeAAAAGBjbWFwtkIacAAAAxAAAAJWZ2FzcP//AAMAAB7QAAAACGdseWY27KOUAAAGCAAAFcRoZWFkFPal0gAAAPwAAAA2aGhlYQU0Ar0AAAE0AAAAJGhtdHiADw6qAAAB2AAAAThsb2Nh5CzfJAAABWgAAACebWF4cACVAEwAAAFYAAAAIG5hbWXeIPPyAAAbzAAAAiJwb3N0ABeZTwAAHfAAAADdAAEAAAABAAAZ9vREXw889QALA+gAAAAA2ZexNAAAAADZl7E0ADL/yQJ2ArwAAAAIAAIAAAAAAAAAAQAAArz/wwAAAqsAAAAAAnYAAQAAAAAAAAAAAAAAAAAAAE4AAQAAAE4ASQAFAAAAAAACAAAAAQABAAAAQAAAAAAAAAAEAbsBkAAFAAACigK7AAAAjAKKArsAAAHfADEBAgAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAABYWFhYAEAACgCtArz/wwAAAqkANgAAAAMAAAAAAmQCZAAAACAAAgIPADIAAAAAAU0AAAAAAAAAAAAAALQAAAD3ADUCfQA1AcoANQKrADUCDQA1AX4ANQHYADUBNQA1AcgANQHUADUB8AA1AeEANQ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/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//AAN//2ADj/5AA5//EAOv/uADv/1gA8//QAPf/2AD7/8QA///AAQP/dAEH/7ABD/+gARP/YAEX/1QBG/+wAR/+3AEj/wwBJ/7UASv+wAEv/5gAeAAf/zgAi/+4AI//5ACT/7wAy/9AAM//pADT/sQA1/+sANv/nADf/5gA4/7oAOf/vADr/9wA7/9AAPP/sAD3/6wA+/+YAP//sAED/uwBB/+kAQv+7AEP/5ABE/9QARf+6AEb/0ABH/34ASP+SAEn/zQBK/5sAS//nABwAF//RACT//wAy/9EAM//uADT/5wA1/+8ANv/3ADf/7gA4/+gAOf/3ADr/+wA7/9oAPP/vAD3/9wA+/+4AP//vAED/4QBB//cAQv/nAEP/7wBE/+4ARf/QAEb/9wBH/8EASP/MAEn/wwBK/7sAS//nABwAF//QABv/+QAy/8EAM//zADT/6wA1//sANv/zADf/+wA4/+8AOf/zADr//gA7/+EAPP/vAD3/9wA+//kAP//3AED/4gBB//kAQv/jAEP/8wBE/+YARf/VAEb/+QBH/84ASP/JAEn/twBK/8EAS//rAB8ABv/7ABL/3wAX/8kAJf/5ACv/7wAy/7oAM//zADT/6wA1/+8ANv/uADf/8wA4/+oAOf/vADr/7wA7/9QAPP/5AD3//gA+//EAP//vAED/4wBB//MAQv/mAEP/7gBE/+cARf/XAEb/6wBH/8kASP/JAEn/twBK/7cAS//nACAABv/7ACQAAgAl/+8AJ//5AC3//gAv//4AMv/oADP//QA0/+sANf/7ADb/+gA3//sAOP/jADn/9wA6//oAO//kADz//wA9//0APv/+AD8AAABA/+gAQf/7AEL/6ABD//sARP/sAEX/8QBG//sAR//qAEj/6wBJ/+cASv/qAEv/+QAbAAb/+wAl/+8AMv+5ADP/+wA0/+8ANf/7ADb/+wA3//0AOP/vADn/+wA6AAAAO/+7ADz//gA9//4APv/7AED/7ABB//4AQv/nAEP/+QBE//kARf/7AEb/+QBH//MASP/rAEn/4gBK/+8AS//7AB0ABv/2ABf/zgAl/+8AMv+3ADP/9wA0/+sANf/3ADb/8QA3//kAOP/uADn/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//QA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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//mAED/rQBB/+8AQv+qAEP/6gBE/74ARf/XAEb/2gBH/9AASP/SAEn/1QBK/80AS//qACsAB//nAAj/8QAJ/6YACv/sAAv/nAAM/90ADf+6AA7/9gAP/+IAEP/sABH/3Q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AAIAAQAGAEsAAAAAAAAAAQAAAADUGBYRAAAAANmXsTQAAAAA2ZexNA==", et = (n) => Vr("http://www.w3.org/2000/svg", n), Gs = (n, t) => {
9341
9341
  const e = et("rect");
9342
9342
  return e.setAttribute("height", `${n}`), e.setAttribute("width", `${t}`), e;
9343
- }, qs = (n, t, e, a) => {
9343
+ }, Ws = (n, t, e, a) => {
9344
9344
  const r = oe("filter");
9345
9345
  r.setAttribute("id", a), r.setAttribute("height", "200%"), r.setAttribute("width", "200%"), r.setAttribute("x", "-50%"), r.setAttribute("y", "-50%");
9346
9346
  const i = oe("feOffset");
@@ -9349,11 +9349,11 @@ const Gs = "data:application/octet-stream;base64,AAEAAAAPAIAAAwBwRkZUTYdHeHoAAEl
9349
9349
  r.appendChild(s), s.setAttribute("result", "blurOut"), s.setAttribute("in", "offOut"), s.setAttribute("stdDeviation", `${e}`);
9350
9350
  const o = oe("feBlend");
9351
9351
  return r.appendChild(o), o.setAttribute("in", "SourceGraphic"), o.setAttribute("in2", "blurOut"), o.setAttribute("mode", "normal"), r;
9352
- }, Hs = (n) => {
9352
+ }, qs = (n) => {
9353
9353
  let t = n;
9354
9354
  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;
9355
9355
  };
9356
- function js(n, t, e, a, r, i) {
9356
+ function Hs(n, t, e, a, r, i) {
9357
9357
  const s = r, o = i, l = {
9358
9358
  x: t[0],
9359
9359
  y: t[1],
@@ -9362,10 +9362,10 @@ function js(n, t, e, a, r, i) {
9362
9362
  };
9363
9363
  if (l.width <= 0)
9364
9364
  return;
9365
- const c = Ys(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;
9365
+ const c = js(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;
9366
9366
  n.setAttribute("transform", `translate(${d} ${A}) scale(${c} ${c})`);
9367
9367
  }
9368
- function Ys(n, t, e, a) {
9368
+ function js(n, t, e, a) {
9369
9369
  const r = e / n, i = a / t;
9370
9370
  return r > 1 && i > 1 ? Math.min(r, i) : r > 1 && i < 1 ? i : r < 1 && i > 1 ? r : Math.min(r, i);
9371
9371
  }
@@ -9381,7 +9381,7 @@ const Ja = {
9381
9381
  t: ["x", "y"],
9382
9382
  a: ["rx", "ry", "xRotation", "largeArc", "sweep", "x", "y"]
9383
9383
  };
9384
- class Js {
9384
+ class Ys {
9385
9385
  constructor(t) {
9386
9386
  const e = Array.from(t.querySelectorAll("path"));
9387
9387
  this.paths = e.map((a) => {
@@ -9479,7 +9479,7 @@ class Js {
9479
9479
  }
9480
9480
  }
9481
9481
  }
9482
- class Ks extends zs {
9482
+ class Js extends Vs {
9483
9483
  constructor() {
9484
9484
  super(...arguments), this.moduleName = "Vegemite";
9485
9485
  }
@@ -9490,11 +9490,11 @@ class Ks extends zs {
9490
9490
  return this.svgElement(t, e);
9491
9491
  }
9492
9492
  svgElement(t, e) {
9493
- const a = cs(Gs), i = t !== "" ? ((I) => I.charAt(0).toUpperCase() + I.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 = () => {
9493
+ const a = ls(zs), i = t !== "" ? ((I) => I.charAt(0).toUpperCase() + I.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 = () => {
9494
9494
  const I = et("g");
9495
9495
  I.classList.add("module-text-group");
9496
9496
  const P = et("defs");
9497
- I.appendChild(P), P.appendChild(qs(0, 2, 2, "shadow"));
9497
+ I.appendChild(P), P.appendChild(Ws(0, 2, 2, "shadow"));
9498
9498
  const y = et("path");
9499
9499
  y.setAttribute("d", d), y.setAttribute("stroke", "black"), y.setAttribute("stroke-width", "3"), P.appendChild(y);
9500
9500
  const S = et("g");
@@ -9504,29 +9504,29 @@ class Ks extends zs {
9504
9504
  const b = et("g");
9505
9505
  b.classList.add("module-layer2"), I.appendChild(b), b.setAttribute("fill", "rgb(255,209,0)"), b.setAttribute("transform", "translate(1,-0.1)"), b.innerHTML = o;
9506
9506
  const F = et("g");
9507
- return F.classList.add("module-layer3"), I.appendChild(F), F.setAttribute("fill", "white"), F.innerHTML = o, new Js(I).transform(([N, Z]) => [N, Z + (c / 2 - N) ** 2 / (c * 6)]), I;
9507
+ return F.classList.add("module-layer3"), I.appendChild(F), F.setAttribute("fill", "white"), F.innerHTML = o, new Ys(I).transform(([N, Z]) => [N, Z + (c / 2 - N) ** 2 / (c * 6)]), I;
9508
9508
  }, u = et("g");
9509
9509
  u.classList.add("module-root");
9510
9510
  const h = et("defs");
9511
9511
  u.appendChild(h);
9512
9512
  const m = et("g");
9513
9513
  m.classList.add("module-bounds"), u.appendChild(m);
9514
- const p = Ws(e.height, e.width);
9514
+ const p = Gs(e.height, e.width);
9515
9515
  p.setAttribute("opacity", "0"), m.appendChild(p);
9516
9516
  const g = et("g");
9517
9517
  g.classList.add("module-text-enclosure"), u.appendChild(g);
9518
9518
  const f = A();
9519
9519
  g.appendChild(f);
9520
- const w = Pr(d);
9521
- return js(g, w, e.height, e.width, 0.35, 0.65), Hs(u.outerHTML);
9520
+ const w = Br(d);
9521
+ return Hs(g, w, e.height, e.width, 0.35, 0.65), qs(u.outerHTML);
9522
9522
  }
9523
9523
  }
9524
9524
  async function ar(n) {
9525
9525
  if (n === "Vegemite")
9526
- return new Ks();
9526
+ return new Js();
9527
9527
  throw new T(`Failed to resolve Module, Module ${n} not found`);
9528
9528
  }
9529
- const _s = [
9529
+ const Ks = [
9530
9530
  "altGlyph",
9531
9531
  "circle",
9532
9532
  "ellipse",
@@ -9538,7 +9538,7 @@ const _s = [
9538
9538
  "textPath",
9539
9539
  "tref",
9540
9540
  "tspan"
9541
- ], Xs = async (n, t, e) => {
9541
+ ], _s = async (n, t, e) => {
9542
9542
  const a = t.data, r = e.data.baseUrl, i = a.assetUrl.replace("localhost", "localstack"), s = r.slice(0, 4) === "http" ? "" : "https://", o = new URL(s + r);
9543
9543
  o.searchParams.append("video", $a(JSON.stringify([{ href: i }]))), o.pathname = o.pathname + (o.pathname.slice(-1) === "/" ? "" : "/");
9544
9544
  const l = o.toString(), d = `data:image/svg+xml;base64,${$a(await un(l, { type: "svg" }))}`, A = (h) => {
@@ -9565,10 +9565,10 @@ const _s = [
9565
9565
  } catch (h) {
9566
9566
  return console.error(h), [];
9567
9567
  }
9568
- }, Zs = async (n, t, e, a) => {
9568
+ }, Xs = async (n, t, e, a) => {
9569
9569
  const r = e.data, i = r.assetUrl, s = await da(i);
9570
9570
  try {
9571
- const o = Ss(r, a.option);
9571
+ const o = ys(r, a.option);
9572
9572
  o && (t[a.stepName] = { selectedVariants: [o] });
9573
9573
  const l = async (c) => {
9574
9574
  const d = await qn(c, o?.asset?.fileLink), A = await $e(d), u = M(), h = n.find((p) => p.panelId === c.panelId);
@@ -9622,7 +9622,7 @@ const _s = [
9622
9622
  } catch (o) {
9623
9623
  return console.error(o), [];
9624
9624
  }
9625
- }, to = async (n, t, e, a) => {
9625
+ }, Zs = async (n, t, e, a) => {
9626
9626
  const r = e.data, i = a.option;
9627
9627
  if (!i)
9628
9628
  return console.error(`No option for step ${a.stepName}.`), [];
@@ -9641,7 +9641,7 @@ const _s = [
9641
9641
  wa(m);
9642
9642
  const p = {};
9643
9643
  Ft(m, (y) => {
9644
- _s.includes(y.tagName) && !y.attributes.getNamedItem("fill") && y.setAttribute("fill", "#000000");
9644
+ Ks.includes(y.tagName) && !y.attributes.getNamedItem("fill") && y.setAttribute("fill", "#000000");
9645
9645
  const S = y.attributes.getNamedItem("fill");
9646
9646
  if (S && S.value !== "none") {
9647
9647
  const b = S.value, R = `spiff-fill-${b.replace(/\W/g, "")}`;
@@ -9690,7 +9690,7 @@ const _s = [
9690
9690
  } catch (y) {
9691
9691
  return console.error(y), [];
9692
9692
  }
9693
- }, eo = async (n, t, e) => {
9693
+ }, to = async (n, t, e) => {
9694
9694
  const a = await ar(e.data.module), r = t.data, i = (o, l) => {
9695
9695
  const c = n.find((A) => A.panelId === l.panelId);
9696
9696
  if (!c)
@@ -9720,7 +9720,7 @@ const _s = [
9720
9720
  } catch (o) {
9721
9721
  return console.error(o), [];
9722
9722
  }
9723
- }, ao = async (n, t, e, a) => {
9723
+ }, eo = async (n, t, e, a) => {
9724
9724
  const r = e.data, i = a.option;
9725
9725
  if (!i)
9726
9726
  return console.error(`No option for step ${a.stepName}.`), [];
@@ -9761,7 +9761,7 @@ const _s = [
9761
9761
  } catch (d) {
9762
9762
  return console.error(d), [];
9763
9763
  }
9764
- }, no = async (n, t, e, a) => {
9764
+ }, ao = async (n, t, e, a) => {
9765
9765
  const r = e.data, i = a.option;
9766
9766
  if (!i)
9767
9767
  return console.error(`No option for step ${a.stepName}.`), [];
@@ -9817,7 +9817,7 @@ const _s = [
9817
9817
  } catch (c) {
9818
9818
  return console.error(c), [];
9819
9819
  }
9820
- }, ro = async (n, t, e) => {
9820
+ }, no = async (n, t, e) => {
9821
9821
  const a = [], i = t.type === E.ProductOverlay ? e || t.data.asset?.fileLink || "" : t.data.asset?.fileLink || "", o = i.endsWith(".jpeg") || i.endsWith(".jpg") || i.endsWith(".png") ? x.Image : (i.endsWith(".svg"), x.Illustration), l = t.data.regions;
9822
9822
  if (o === "image")
9823
9823
  try {
@@ -9881,7 +9881,7 @@ const _s = [
9881
9881
  });
9882
9882
  }
9883
9883
  return a;
9884
- }, io = async (n, t, e, a) => {
9884
+ }, ro = async (n, t, e, a) => {
9885
9885
  const r = [], i = e.data, s = 30, o = (g) => g.vertical ? "center" : g.textAlign || "center", l = () => {
9886
9886
  const g = a.option;
9887
9887
  if (!g)
@@ -9966,7 +9966,7 @@ const _s = [
9966
9966
  r.push(new z(w, f));
9967
9967
  }
9968
9968
  return r;
9969
- }, so = (n, t) => n.conditions ? n.conditions.every((e) => {
9969
+ }, io = (n, t) => n.conditions ? n.conditions.every((e) => {
9970
9970
  const a = t[e.targetStepName];
9971
9971
  if (a && a.selectedVariants) {
9972
9972
  const r = a.selectedVariants;
@@ -9975,7 +9975,7 @@ const _s = [
9975
9975
  );
9976
9976
  }
9977
9977
  return !1;
9978
- }) : !0, oo = async (n, t, e, a) => {
9978
+ }) : !0, so = async (n, t, e, a) => {
9979
9979
  const r = [], i = {};
9980
9980
  for (const s of n) {
9981
9981
  const o = t.steps.find((l) => l.stepName === s.name);
@@ -9983,18 +9983,18 @@ const _s = [
9983
9983
  switch (o.type) {
9984
9984
  case E.DigitalContent:
9985
9985
  r.push(
9986
- ...await Xs(e, s, o)
9986
+ ...await _s(e, s, o)
9987
9987
  );
9988
9988
  break;
9989
9989
  case E.Frame:
9990
9990
  case E.Photo:
9991
9991
  r.push(
9992
- ...await Zs(e, i, s, o)
9992
+ ...await Xs(e, i, s, o)
9993
9993
  );
9994
9994
  break;
9995
9995
  case E.Illustration:
9996
9996
  r.push(
9997
- ...await to(
9997
+ ...await Zs(
9998
9998
  e,
9999
9999
  i,
10000
10000
  s,
@@ -10003,39 +10003,39 @@ const _s = [
10003
10003
  );
10004
10004
  break;
10005
10005
  case E.Module:
10006
- r.push(...await eo(e, s, o));
10006
+ r.push(...await to(e, s, o));
10007
10007
  break;
10008
10008
  case E.Picture:
10009
10009
  r.push(
10010
- ...await ao(e, i, s, o)
10010
+ ...await eo(e, i, s, o)
10011
10011
  );
10012
10012
  break;
10013
10013
  case E.Shape:
10014
10014
  r.push(
10015
- ...await no(e, i, s, o)
10015
+ ...await ao(e, i, s, o)
10016
10016
  );
10017
10017
  break;
10018
10018
  case E.Text:
10019
10019
  r.push(
10020
- ...await io(e, i, s, o)
10020
+ ...await ro(e, i, s, o)
10021
10021
  );
10022
10022
  break;
10023
10023
  }
10024
10024
  }
10025
10025
  for (const s of t.steps)
10026
- s.type !== E.SilentIllustration && s.type !== E.ProductOverlay || so(s, i) && r.push(
10027
- ...await ro(e, s, a)
10026
+ s.type !== E.SilentIllustration && s.type !== E.ProductOverlay || io(s, i) && r.push(
10027
+ ...await no(e, s, a)
10028
10028
  );
10029
10029
  return r;
10030
10030
  };
10031
- class lo {
10031
+ class oo {
10032
10032
  constructor(t) {
10033
10033
  this.handleCompleteRender = null;
10034
10034
  const e = /* @__PURE__ */ new Map();
10035
10035
  t.forEach(
10036
10036
  (a) => e.set(
10037
10037
  a.id,
10038
- new uo(
10038
+ new Ao(
10039
10039
  a.id,
10040
10040
  a.name,
10041
10041
  this,
@@ -10061,15 +10061,15 @@ class lo {
10061
10061
  return this.workflowManager;
10062
10062
  }
10063
10063
  }
10064
- const co = () => new Promise((n, t) => {
10064
+ const lo = () => new Promise((n, t) => {
10065
10065
  try {
10066
10066
  const a = pt().getContext("webgl2");
10067
10067
  n(!!a);
10068
10068
  } catch {
10069
10069
  n(!1);
10070
10070
  }
10071
- }), Ao = co();
10072
- class uo {
10071
+ }), co = lo();
10072
+ class Ao {
10073
10073
  constructor(t, e, a, r, i) {
10074
10074
  this.hasSetStaticContext = !1, this.interactiveDirty = !1, this.staticCtxDirty = !1, this.lastRequestedRenderArguments = void 0, this.lastCompletedStaticRender = void 0, this.renderQueue = new Rn(2), this.id = t, this.name = e, this.service = a, this.panelSize = r, this.getWorkflowManager = i;
10075
10075
  }
@@ -10125,10 +10125,10 @@ class uo {
10125
10125
  return;
10126
10126
  }
10127
10127
  this.renderQueue.enqueue(
10128
- new ho(
10128
+ new uo(
10129
10129
  this.getID(),
10130
10130
  a,
10131
- await Ao,
10131
+ await co,
10132
10132
  () => {
10133
10133
  this.markLastCompletedStaticRender(), this.setStaticContextDirty(!0);
10134
10134
  },
@@ -10138,7 +10138,7 @@ class uo {
10138
10138
  );
10139
10139
  }
10140
10140
  }
10141
- class ho extends Qn {
10141
+ class uo extends Qn {
10142
10142
  constructor(t, e, a, r, i, s) {
10143
10143
  super(), this.layoutId = t, this.ctx = e, this.nonPOTSupport = a, this.onRender = r, this.layouts = i, this.getWorkflowManager = s;
10144
10144
  }
@@ -10190,7 +10190,7 @@ class ho extends Qn {
10190
10190
  l = i.width, c = i.height;
10191
10191
  const d = this.getWorkflowManager?.()?.getTemplatingContext(), A = Ea(t.layoutState.layout, e, {
10192
10192
  renderingConfiguration: {
10193
- purpose: Ht.ThreeD,
10193
+ purpose: jt.ThreeD,
10194
10194
  templatingContext: d
10195
10195
  }
10196
10196
  }), u = wn(A), h = await ma.from(this.ctx, u, {
@@ -10208,7 +10208,7 @@ class ho extends Qn {
10208
10208
  h.resize(l, c), await h.render(), this.onRender();
10209
10209
  }
10210
10210
  }
10211
- const Ed = (n, t) => {
10211
+ const vd = (n, t) => {
10212
10212
  const e = [];
10213
10213
  return n.forEach((a) => {
10214
10214
  const r = t.steps.find((i) => i.stepName === a.stepName);
@@ -10219,13 +10219,13 @@ const Ed = (n, t) => {
10219
10219
  }
10220
10220
  });
10221
10221
  }), e;
10222
- }, bd = async (n, t, e, a) => {
10222
+ }, Ed = async (n, t, e, a) => {
10223
10223
  let r = {
10224
10224
  serializableWorkflow: { steps: [] },
10225
10225
  layouts: {}
10226
10226
  };
10227
10227
  r = new O(e.map((l) => new Yn(l))).apply(r);
10228
- const s = await oo(n, t, e, a);
10228
+ const s = await so(n, t, e, a);
10229
10229
  return new O(s).apply(r);
10230
10230
  }, ie = C`
10231
10231
  fragment GlobalPropertyStateAspectFields on GlobalPropertyStateAspect {
@@ -10249,7 +10249,7 @@ const Ed = (n, t) => {
10249
10249
  }
10250
10250
  }
10251
10251
  }
10252
- `, mo = C`
10252
+ `, ho = C`
10253
10253
  ${ie}
10254
10254
  mutation CreateGlobalPropertyState($bundleId: String!) {
10255
10255
  globalPropertyStateCreate(bundleId: $bundleId) {
@@ -10259,7 +10259,7 @@ const Ed = (n, t) => {
10259
10259
  }
10260
10260
  }
10261
10261
  }
10262
- `, go = C`
10262
+ `, mo = C`
10263
10263
  ${ie}
10264
10264
  mutation UpdateGlobalPropertyState($id: String!, $aspects: [GlobalPropertyStateAspectInput]!) {
10265
10265
  globalPropertyStateUpdate(id: $id, aspects: $aspects) {
@@ -10269,7 +10269,7 @@ const Ed = (n, t) => {
10269
10269
  }
10270
10270
  }
10271
10271
  }
10272
- `, po = C`
10272
+ `, go = C`
10273
10273
  ${ie}
10274
10274
  query GetGlobalPropertyState($bundleId: String!) {
10275
10275
  globalPropertyState(bundleId: $bundleId) {
@@ -10279,14 +10279,14 @@ const Ed = (n, t) => {
10279
10279
  }
10280
10280
  }
10281
10281
  }
10282
- `, Id = async (n) => (await v.getShadowGraphqlClient().query({
10283
- query: po,
10282
+ `, bd = async (n) => (await v.getShadowGraphqlClient().query({
10283
+ query: go,
10284
10284
  fetchPolicy: "cache-first",
10285
10285
  errorPolicy: "all",
10286
10286
  variables: {
10287
10287
  bundleId: n
10288
10288
  }
10289
- })).data.globalPropertyState, fo = (n) => C`
10289
+ })).data.globalPropertyState, po = (n) => C`
10290
10290
  ${ae}
10291
10291
  fragment ProductFields on Product {
10292
10292
  id
@@ -10332,7 +10332,7 @@ const Ed = (n, t) => {
10332
10332
  }
10333
10333
  }
10334
10334
  `, Pa = (n) => C`
10335
- ${fo(n)}
10335
+ ${po(n)}
10336
10336
  fragment ProductCollectionProductFields on ProductCollectionProduct {
10337
10337
  id
10338
10338
  productId
@@ -10431,7 +10431,7 @@ const Ed = (n, t) => {
10431
10431
  workflowViewerLink
10432
10432
  workflowViewerAmendLink
10433
10433
  }
10434
- `, Co = (n) => C`
10434
+ `, fo = (n) => C`
10435
10435
  ${ie}
10436
10436
  ${se(n)}
10437
10437
  ${nr}
@@ -10513,7 +10513,7 @@ const Ed = (n, t) => {
10513
10513
  }
10514
10514
  }
10515
10515
  }
10516
- `, wo = C`
10516
+ `, Co = C`
10517
10517
  query GetBundlesForCustomer($id: String!) {
10518
10518
  customers(ids: [$id]) {
10519
10519
  bundleStakeholders {
@@ -10542,7 +10542,7 @@ const Ed = (n, t) => {
10542
10542
  }
10543
10543
  }
10544
10544
  }
10545
- `, yo = C`
10545
+ `, wo = C`
10546
10546
  ${Pa(!1)}
10547
10547
  query GetProductCollectionProducts($id: String!, $productIds: [String!]) {
10548
10548
  productCollections(ids: [$id], productIds: $productIds) {
@@ -10552,7 +10552,7 @@ const Ed = (n, t) => {
10552
10552
  }
10553
10553
  }
10554
10554
  }
10555
- `, So = C`
10555
+ `, yo = C`
10556
10556
  query GetProductCollectionForFilteredProducts(
10557
10557
  $id: String!
10558
10558
  $filters: ProductCollectionProductFilterInput
@@ -10575,7 +10575,7 @@ const Ed = (n, t) => {
10575
10575
  }
10576
10576
  }
10577
10577
  }
10578
- `, vo = C`
10578
+ `, So = C`
10579
10579
  ${Pa(!0)}
10580
10580
  query GetProductCollectionForProductsFeed(
10581
10581
  $id: String!
@@ -10607,7 +10607,7 @@ const Ed = (n, t) => {
10607
10607
  }
10608
10608
  }
10609
10609
  }
10610
- `, Eo = (n) => C`
10610
+ `, vo = (n) => C`
10611
10611
  ${se(n)}
10612
10612
  mutation CreateBundle(
10613
10613
  $collectionId: String
@@ -10636,7 +10636,7 @@ const Ed = (n, t) => {
10636
10636
  }
10637
10637
  }
10638
10638
  }
10639
- `, bo = (n) => C`
10639
+ `, Eo = (n) => C`
10640
10640
  ${ie}
10641
10641
  ${se(n)}
10642
10642
  mutation DuplicateBundle(
@@ -10698,19 +10698,19 @@ const Ed = (n, t) => {
10698
10698
  id
10699
10699
  }
10700
10700
  }
10701
- `, Io = C`
10701
+ `, bo = C`
10702
10702
  mutation BundleAddTransaction($id: String!, $transactionId: String!) {
10703
10703
  bundleAddTransaction(id: $id, transactionId: $transactionId) {
10704
10704
  id
10705
10705
  }
10706
10706
  }
10707
- `, Bo = C`
10707
+ `, Io = C`
10708
10708
  mutation BundleAddTransactions($id: String!, $transactionIds: [String!]!, $transactionOwnerIds: [String!]) {
10709
10709
  bundleAddTransactions(id: $id, transactionIds: $transactionIds, transactionOwnerIds: $transactionOwnerIds) {
10710
10710
  id
10711
10711
  }
10712
10712
  }
10713
- `, Po = C`
10713
+ `, Bo = C`
10714
10714
  mutation BundleRemoveTransaction(
10715
10715
  $id: String!
10716
10716
  $transactionId: String!
@@ -10725,7 +10725,7 @@ const Ed = (n, t) => {
10725
10725
  id
10726
10726
  }
10727
10727
  }
10728
- `, Do = C`
10728
+ `, Po = C`
10729
10729
  mutation BundleRemoveTransactions(
10730
10730
  $id: String!
10731
10731
  $transactionIds: [String!]!
@@ -10740,7 +10740,7 @@ const Ed = (n, t) => {
10740
10740
  id
10741
10741
  }
10742
10742
  }
10743
- `, Fo = C`
10743
+ `, Do = C`
10744
10744
  mutation BundleAddStakeholder($id: String!, $details: CustomerDetailsInput!, $type: String!) {
10745
10745
  bundleAddStakeholder(id: $id, details: $details, type: $type) {
10746
10746
  id
@@ -10760,13 +10760,13 @@ const Ed = (n, t) => {
10760
10760
  }
10761
10761
  }
10762
10762
  }
10763
- `, xo = C`
10763
+ `, Fo = C`
10764
10764
  mutation BundleAddStakeholder($id: String!, $emailAddress: String!) {
10765
10765
  bundleRemoveStakeholder(id: $id, emailAddress: $emailAddress) {
10766
10766
  id
10767
10767
  }
10768
10768
  }
10769
- `, ko = C`
10769
+ `, xo = C`
10770
10770
  mutation BundleUpdateStakeholders($id: String!, $input: [BundleStakeholderInput!]!) {
10771
10771
  bundleUpdateStakeholders(id: $id, input: $input) {
10772
10772
  id
@@ -10786,13 +10786,13 @@ const Ed = (n, t) => {
10786
10786
  }
10787
10787
  }
10788
10788
  }
10789
- `, Mo = C`
10789
+ `, ko = C`
10790
10790
  mutation BundleUpdateTransactionOrder($id: String!, $transactionIds: [String!]!) {
10791
10791
  bundleUpdateTransactionOrder(id: $id, transactionIds: $transactionIds) {
10792
10792
  id
10793
10793
  }
10794
10794
  }
10795
- `, To = (n) => C`
10795
+ `, Mo = (n) => C`
10796
10796
  ${se(n)}
10797
10797
  mutation BundleAssignProductCollection($id: String!, $productCollectionId: String!) {
10798
10798
  bundleAssignProductCollection(id: $id, collectionId: $productCollectionId) {
@@ -10802,13 +10802,13 @@ const Ed = (n, t) => {
10802
10802
  }
10803
10803
  }
10804
10804
  }
10805
- `, No = C`
10805
+ `, To = C`
10806
10806
  mutation AssignGlobalPropertyConfiguration($bundleId: String!, $globalPropertyConfigurationId: String!) {
10807
10807
  bundleUpdate(id: $bundleId, globalPropertyConfigurationId: $globalPropertyConfigurationId) {
10808
10808
  id
10809
10809
  }
10810
10810
  }
10811
- `, Qo = (n) => C`
10811
+ `, No = (n) => C`
10812
10812
  ${nr}
10813
10813
  query CustomerBundlesFeed($id: String!, $limit: Int!, $offset: Int!, $template: Boolean, $templateStatus: BundleTemplateStatus, $ordered: Boolean) {
10814
10814
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: $template, templateStatus: $templateStatus, ordered: $ordered) {
@@ -10834,27 +10834,27 @@ const Ed = (n, t) => {
10834
10834
  total
10835
10835
  }
10836
10836
  }
10837
- `, Ro = C`
10837
+ `, Qo = C`
10838
10838
  mutation FinalizeUpdateBundle($bundleId: String!) {
10839
10839
  bundleFinalizeUpdate(bundleId: $bundleId)
10840
10840
  }
10841
- `, Oo = C`
10841
+ `, Ro = C`
10842
10842
  mutation ApproveBundle($id: String!, $note: String, $stakeholderId: String) {
10843
10843
  bundleApprove(id: $id, note: $note, stakeholderId: $stakeholderId)
10844
10844
  }
10845
- `, $o = C`
10845
+ `, Oo = C`
10846
10846
  mutation RejectBundle($id: String!, $note: String, $stakeholderId: String) {
10847
10847
  bundleReject(id: $id, note: $note, stakeholderId: $stakeholderId)
10848
10848
  }
10849
- `, Uo = C`
10849
+ `, $o = C`
10850
10850
  mutation ApproveTransaction($id: String!, $note: String) {
10851
10851
  transactionApprove(id: $id, note: $note)
10852
10852
  }
10853
- `, Lo = C`
10853
+ `, Uo = C`
10854
10854
  mutation RejectTransaction($id: String!, $note: String) {
10855
10855
  transactionReject(id: $id, note: $note)
10856
10856
  }
10857
- `, Vo = C`
10857
+ `, Lo = C`
10858
10858
  mutation CreateRecipient(
10859
10859
  $firstName: String
10860
10860
  $lastName: String
@@ -10896,7 +10896,7 @@ const Ed = (n, t) => {
10896
10896
  id
10897
10897
  }
10898
10898
  }
10899
- `, zo = C`
10899
+ `, Vo = C`
10900
10900
  mutation UpdateRecipient(
10901
10901
  $id: String!
10902
10902
  $firstName: String
@@ -10940,19 +10940,19 @@ const Ed = (n, t) => {
10940
10940
  id
10941
10941
  }
10942
10942
  }
10943
- `, Go = C`
10943
+ `, zo = C`
10944
10944
  mutation AtttachRecipient($id: String!, $recipientId: String!) {
10945
10945
  transactionAttachRecipient(id: $id, recipientId: $recipientId) {
10946
10946
  id
10947
10947
  }
10948
10948
  }
10949
- `, Wo = C`
10949
+ `, Go = C`
10950
10950
  mutation DeleteBundle($id: String!) {
10951
10951
  bundleDelete(id: $id)
10952
10952
  }
10953
10953
  `;
10954
10954
  var Ue = /* @__PURE__ */ ((n) => (n.Error = "Error", n.Warning = "Warning", n.Info = "Info", n))(Ue || {});
10955
- const qo = 1e3;
10955
+ const Wo = 1e3;
10956
10956
  class Xa extends Qn {
10957
10957
  constructor(t) {
10958
10958
  super(), this.createdAt = /* @__PURE__ */ new Date(), this.update = t;
@@ -10961,11 +10961,11 @@ class Xa extends Qn {
10961
10961
  await this.update(), await new Promise((t) => {
10962
10962
  window.setTimeout(() => {
10963
10963
  t();
10964
- }, qo);
10964
+ }, Wo);
10965
10965
  });
10966
10966
  }
10967
10967
  }
10968
- const Ho = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
10968
+ const qo = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
10969
10969
  id: M(),
10970
10970
  panelId: t.name,
10971
10971
  name: t.name,
@@ -10979,14 +10979,14 @@ const Ho = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
10979
10979
  previewRegion: t.previewRegion,
10980
10980
  useEditableArea: t.useEditableArea,
10981
10981
  editableArea: t.editableArea
10982
- })), jo = (n, t) => {
10982
+ })), Ho = (n, t) => {
10983
10983
  const e = n.workflowState, a = e ? JSON.parse(e) : void 0;
10984
- return a ? Object.values(a.layouts).map((r) => r.layout) : Ho(t.panels);
10984
+ return a ? Object.values(a.layouts).map((r) => r.layout) : qo(t.panels);
10985
10985
  };
10986
- class Yo {
10986
+ class jo {
10987
10987
  constructor(t, e, a, r, i, s = !1, o, l = !1, c = !1, d = !1) {
10988
10988
  this.workflowStatePromiseQueue = new Rn(1), this.initialized = !1, this.readOnly = !1, this.isReloadedTransaction = !1, this.singleVariantsRenderable = !1, this.stepTags = {}, this.setWorkflow = async (u) => {
10989
- this.confirmedDesign = !1, this.editedSteps = {}, this.informationResults = [], this.mandatorySteps = {}, this.pendingUpdates = [], this.selectionCost = 0, this.stepSpecificServices = {}, this.pollers = [], this.allScenes = [], this.stepElements = {}, this.stepInitialised = {}, this.stepMetadata = {}, this.stepSelections = {}, this.storage = {}, this.validationErrors = { steps: /* @__PURE__ */ new Map() }, this.currentAdjustingStepId = "", this.reloadedState ? this.layouts = Object.values(this.reloadedState.layouts || {}).map((m) => m.layout) : u ? this.layouts = jo(this.experience.getTransaction(), u) : this.layouts = [], this.commandContext.initialize(this.layouts, this.reloadedState), this.renderableContextService = new lo(this.layouts), this.renderableContextService.setWorkflowManager(this), u.steps.forEach((m) => {
10989
+ this.confirmedDesign = !1, this.editedSteps = {}, this.informationResults = [], this.mandatorySteps = {}, this.pendingUpdates = [], this.selectionCost = 0, this.stepSpecificServices = {}, this.pollers = [], this.allScenes = [], this.stepElements = {}, this.stepInitialised = {}, this.stepMetadata = {}, this.stepSelections = {}, this.storage = {}, this.validationErrors = { steps: /* @__PURE__ */ new Map() }, this.currentAdjustingStepId = "", this.reloadedState ? this.layouts = Object.values(this.reloadedState.layouts || {}).map((m) => m.layout) : u ? this.layouts = Ho(this.experience.getTransaction(), u) : this.layouts = [], this.commandContext.initialize(this.layouts, this.reloadedState), this.renderableContextService = new oo(this.layouts), this.renderableContextService.setWorkflowManager(this), u.steps.forEach((m) => {
10990
10990
  this.stepTags[m.stepName] = m.tags ?? [];
10991
10991
  });
10992
10992
  const h = this.previewService;
@@ -11005,7 +11005,7 @@ class Yo {
11005
11005
  if (h)
11006
11006
  for (const [, m] of h)
11007
11007
  m.render(u);
11008
- }, this.experience = t, this.client = e, this.updateTransaction = a, this.graphQlClient = r, this.reloadedState = i, this.readOnly = s, this.singleVariantsRenderable = c, this.commandContext = new ys(), this.confirmCallbacks = [], this.editedCallbacks = [], this.elementsCallbacks = [], this.informationResultCallbacks = [], this.initCallbacks = [], this.mandatoryCallbacks = [], this.makingAdjustmentsCallback = [], this.metadataCallbacks = [], this.selectionCallbacks = [], this.stepSpecificStorageCallbacks = {}, this.storageCallbacks = [], this.validationCallbacks = [], this.recipientCallbacks = [], this.modelContainer = o, this.confirmedDesign = !1, this.editedSteps = {}, this.informationResults = [], this.mandatorySteps = {}, this.pendingUpdates = [], this.selectionCost = 0, this.stepSpecificServices = {}, this.pollers = [], this.allScenes = [], this.stepElements = {}, this.stepInitialised = {}, this.stepMetadata = {}, this.stepSelections = {}, this.storage = {}, this.validationErrors = { steps: /* @__PURE__ */ new Map() }, this.currentAdjustingStepId = "", this.isReloadedTransaction = l, d && (this.workflowStatePromiseQueue.enabled = !1);
11008
+ }, this.experience = t, this.client = e, this.updateTransaction = a, this.graphQlClient = r, this.reloadedState = i, this.readOnly = s, this.singleVariantsRenderable = c, this.commandContext = new ws(), this.confirmCallbacks = [], this.editedCallbacks = [], this.elementsCallbacks = [], this.informationResultCallbacks = [], this.initCallbacks = [], this.mandatoryCallbacks = [], this.makingAdjustmentsCallback = [], this.metadataCallbacks = [], this.selectionCallbacks = [], this.stepSpecificStorageCallbacks = {}, this.storageCallbacks = [], this.validationCallbacks = [], this.recipientCallbacks = [], this.modelContainer = o, this.confirmedDesign = !1, this.editedSteps = {}, this.informationResults = [], this.mandatorySteps = {}, this.pendingUpdates = [], this.selectionCost = 0, this.stepSpecificServices = {}, this.pollers = [], this.allScenes = [], this.stepElements = {}, this.stepInitialised = {}, this.stepMetadata = {}, this.stepSelections = {}, this.storage = {}, this.validationErrors = { steps: /* @__PURE__ */ new Map() }, this.currentAdjustingStepId = "", this.isReloadedTransaction = l, d && (this.workflowStatePromiseQueue.enabled = !1);
11009
11009
  const A = this.experience.getWorkflow();
11010
11010
  A && this.setWorkflow(A);
11011
11011
  }
@@ -11039,7 +11039,7 @@ class Yo {
11039
11039
  customField5: g ?? w.recipient.customField5,
11040
11040
  conversionConfigurationId: f || w.recipient.conversionConfigurationId
11041
11041
  }, await this.graphQlClient().mutate({
11042
- mutation: zo,
11042
+ mutation: Vo,
11043
11043
  errorPolicy: "all",
11044
11044
  fetchPolicy: "no-cache",
11045
11045
  variables: {
@@ -11065,7 +11065,7 @@ class Yo {
11065
11065
  });
11066
11066
  else {
11067
11067
  const I = await this.graphQlClient().mutate({
11068
- mutation: Vo,
11068
+ mutation: Lo,
11069
11069
  errorPolicy: "all",
11070
11070
  fetchPolicy: "no-cache",
11071
11071
  variables: {
@@ -11108,7 +11108,7 @@ class Yo {
11108
11108
  customField5: g,
11109
11109
  conversionConfigurationId: f
11110
11110
  }, await this.graphQlClient().mutate({
11111
- mutation: Go,
11111
+ mutation: zo,
11112
11112
  errorPolicy: "all",
11113
11113
  fetchPolicy: "no-cache",
11114
11114
  variables: {
@@ -11126,7 +11126,7 @@ class Yo {
11126
11126
  const t = this.experience.getTransaction().recipient;
11127
11127
  if (t?.conversionConfigurationId && !this.recipientConversionConfiguration) {
11128
11128
  const e = await this.graphQlClient().query({
11129
- query: Qi,
11129
+ query: Ni,
11130
11130
  errorPolicy: "all",
11131
11131
  fetchPolicy: "no-cache",
11132
11132
  variables: {
@@ -11145,7 +11145,7 @@ class Yo {
11145
11145
  };
11146
11146
  this.reloadedState && this.reloadedState.serializableWorkflow.steps.forEach((o) => {
11147
11147
  this.storage[o.stepName] = o.storage || {};
11148
- }), await this.fetchConversionConfiguration(), this.allScenes = await es(t);
11148
+ }), await this.fetchConversionConfiguration(), this.allScenes = await ts(t);
11149
11149
  const r = wt(this.allScenes, this.stepSelections).map((o) => o.silentSteps).flat(), { stepElements: i, commands: s } = await this.stepElementsForIntroducedSilentSteps(r, !!this.reloadedState);
11150
11150
  this.commandContext.apply(new O(s), !0), this.stepElements = { ...this.stepElements, ...i }, await this.ensureStepsAreLoaded(), this.isReloadedTransaction || this.updateStateWithServer(), this.renderLayouts(), this.reloadedState && e();
11151
11151
  }
@@ -11392,7 +11392,7 @@ class Yo {
11392
11392
  ...this.storage,
11393
11393
  [t]: { ...this.storage[t], ...e }
11394
11394
  };
11395
- if (!qt(a, this.storage)) {
11395
+ if (!Ht(a, this.storage)) {
11396
11396
  this.storage = a;
11397
11397
  const r = new Ha(this.constructSerializableWorkflow());
11398
11398
  this.commandContext.apply(r, !0), this.onStepSpecificStorageChange(t), this.onStorageChange();
@@ -11540,7 +11540,7 @@ class Yo {
11540
11540
  }
11541
11541
  async updateTransactionStakeholders() {
11542
11542
  const t = await v.getShadowGraphqlClient().query({
11543
- query: Li,
11543
+ query: Ui,
11544
11544
  errorPolicy: "all",
11545
11545
  fetchPolicy: "no-cache",
11546
11546
  variables: {
@@ -11551,7 +11551,7 @@ class Yo {
11551
11551
  }
11552
11552
  async approveTransaction(t) {
11553
11553
  await v.getShadowGraphqlClient().mutate({
11554
- mutation: Uo,
11554
+ mutation: $o,
11555
11555
  errorPolicy: "all",
11556
11556
  fetchPolicy: "no-cache",
11557
11557
  variables: {
@@ -11562,7 +11562,7 @@ class Yo {
11562
11562
  }
11563
11563
  async rejectTransaction(t) {
11564
11564
  await v.getShadowGraphqlClient().mutate({
11565
- mutation: Lo,
11565
+ mutation: Uo,
11566
11566
  errorPolicy: "all",
11567
11567
  fetchPolicy: "no-cache",
11568
11568
  variables: {
@@ -11725,7 +11725,7 @@ class Yo {
11725
11725
  this.validationCallbacks.forEach((t) => t(this.validationErrors));
11726
11726
  }
11727
11727
  traversableScenes() {
11728
- return rs(this.allScenes, this.stepSelections, this.singleVariantsRenderable);
11728
+ return ns(this.allScenes, this.stepSelections, this.singleVariantsRenderable);
11729
11729
  }
11730
11730
  }
11731
11731
  class it {
@@ -11808,7 +11808,7 @@ class it {
11808
11808
  return this.variantData.enabled;
11809
11809
  }
11810
11810
  }
11811
- const Wt = class Wt {
11811
+ const qt = class qt {
11812
11812
  constructor(t, e, a) {
11813
11813
  this.manager = t, this.step = e, this.tags = a;
11814
11814
  }
@@ -11818,7 +11818,7 @@ const Wt = class Wt {
11818
11818
  * @param value The new value
11819
11819
  */
11820
11820
  setUpdateState(t) {
11821
- Wt.updateState.set(
11821
+ qt.updateState.set(
11822
11822
  `${this.step.stepName}-${this.manager.getWorkflowExperience().getTransaction().id}`,
11823
11823
  t
11824
11824
  );
@@ -11827,7 +11827,7 @@ const Wt = class Wt {
11827
11827
  * @returns Gets the current update state of this step. All step handles for this step will see this value.
11828
11828
  */
11829
11829
  getUpdateState() {
11830
- return !!Wt.updateState.get(
11830
+ return !!qt.updateState.get(
11831
11831
  `${this.step.stepName}-${this.manager.getWorkflowExperience().getTransaction().id}`
11832
11832
  );
11833
11833
  }
@@ -11939,9 +11939,9 @@ const Wt = class Wt {
11939
11939
  e ? i && e.executeCameraAnimation(i) : console.warn("No preview service available, cannot execute camera animations."), a ? r && a.executeAnimation(r, t) : console.warn("No model container available, cannot execute model animations.");
11940
11940
  }
11941
11941
  };
11942
- Wt.updateState = /* @__PURE__ */ new Map();
11943
- let X = Wt;
11944
- class Jo extends X {
11942
+ qt.updateState = /* @__PURE__ */ new Map();
11943
+ let X = qt;
11944
+ class Yo extends X {
11945
11945
  constructor(t, e, a) {
11946
11946
  super(t, e, a);
11947
11947
  }
@@ -12015,7 +12015,7 @@ class Jo extends X {
12015
12015
  return this.step.data.pmsPickerEnabled ?? !1;
12016
12016
  }
12017
12017
  }
12018
- class Ko extends X {
12018
+ class Jo extends X {
12019
12019
  constructor(t, e, a) {
12020
12020
  super(t, e, a);
12021
12021
  }
@@ -12028,7 +12028,7 @@ class Ko extends X {
12028
12028
  );
12029
12029
  }
12030
12030
  }
12031
- class _o extends X {
12031
+ class Ko extends X {
12032
12032
  constructor(t, e, a) {
12033
12033
  super(t, e, a);
12034
12034
  }
@@ -12041,7 +12041,7 @@ class _o extends X {
12041
12041
  );
12042
12042
  }
12043
12043
  }
12044
- class Xo extends X {
12044
+ class _o extends X {
12045
12045
  constructor(t, e, a) {
12046
12046
  super(t, e, a);
12047
12047
  }
@@ -12059,7 +12059,7 @@ class Xo extends X {
12059
12059
  );
12060
12060
  }
12061
12061
  }
12062
- class Zo extends X {
12062
+ class Xo extends X {
12063
12063
  constructor(t, e, a) {
12064
12064
  super(t, e, a);
12065
12065
  }
@@ -12075,7 +12075,7 @@ class Zo extends X {
12075
12075
  return this.step.data.displayType || this.step.option?.displayType;
12076
12076
  }
12077
12077
  }
12078
- class tl extends X {
12078
+ class Zo extends X {
12079
12079
  constructor(t, e, a) {
12080
12080
  super(t, e, a);
12081
12081
  }
@@ -12134,7 +12134,7 @@ class tl extends X {
12134
12134
  return t;
12135
12135
  }
12136
12136
  }
12137
- class el extends X {
12137
+ class tl extends X {
12138
12138
  constructor(t, e, a) {
12139
12139
  super(t, e, a);
12140
12140
  }
@@ -12327,7 +12327,7 @@ class el extends X {
12327
12327
  await G.changeStrokeColor(this.step, t, e, this.manager);
12328
12328
  }
12329
12329
  }
12330
- class al extends X {
12330
+ class el extends X {
12331
12331
  constructor(t, e, a) {
12332
12332
  super(t, e, a);
12333
12333
  }
@@ -12340,7 +12340,7 @@ class al extends X {
12340
12340
  return this.step.data.content;
12341
12341
  }
12342
12342
  }
12343
- class nl extends X {
12343
+ class al extends X {
12344
12344
  constructor(t, e, a) {
12345
12345
  super(t, e, a);
12346
12346
  }
@@ -12366,7 +12366,7 @@ class nl extends X {
12366
12366
  );
12367
12367
  }
12368
12368
  }
12369
- class rl extends X {
12369
+ class nl extends X {
12370
12370
  constructor(t, e, a) {
12371
12371
  super(t, e, a);
12372
12372
  }
@@ -12417,27 +12417,27 @@ class Ae {
12417
12417
  static get(t, e) {
12418
12418
  switch (e.type) {
12419
12419
  case E.DigitalContent:
12420
- return new nl(t, e, t.getStepTags(e.stepName));
12421
- case E.Information:
12422
12420
  return new al(t, e, t.getStepTags(e.stepName));
12421
+ case E.Information:
12422
+ return new el(t, e, t.getStepTags(e.stepName));
12423
12423
  case E.Question:
12424
- return new Zo(t, e, t.getStepTags(e.stepName));
12424
+ return new Xo(t, e, t.getStepTags(e.stepName));
12425
12425
  case E.Text:
12426
- return new el(t, e, t.getStepTags(e.stepName));
12426
+ return new tl(t, e, t.getStepTags(e.stepName));
12427
12427
  case E.Illustration:
12428
- return new Jo(t, e, t.getStepTags(e.stepName));
12428
+ return new Yo(t, e, t.getStepTags(e.stepName));
12429
12429
  case E.Picture:
12430
- return new Xo(t, e, t.getStepTags(e.stepName));
12430
+ return new _o(t, e, t.getStepTags(e.stepName));
12431
12431
  case E.Shape:
12432
- return new tl(t, e, t.getStepTags(e.stepName));
12432
+ return new Zo(t, e, t.getStepTags(e.stepName));
12433
12433
  case E.Material:
12434
- return new Ko(t, e, t.getStepTags(e.stepName));
12434
+ return new Jo(t, e, t.getStepTags(e.stepName));
12435
12435
  case E.Model:
12436
- return new _o(t, e, t.getStepTags(e.stepName));
12436
+ return new Ko(t, e, t.getStepTags(e.stepName));
12437
12437
  case E.Frame:
12438
- return new ic(t, e, t.getStepTags(e.stepName));
12438
+ return new rc(t, e, t.getStepTags(e.stepName));
12439
12439
  case E.Module:
12440
- return new rl(t, e, t.getStepTags(e.stepName));
12440
+ return new nl(t, e, t.getStepTags(e.stepName));
12441
12441
  default:
12442
12442
  throw new T(`Step type ${e.type} not yet supported in Core SDK`);
12443
12443
  }
@@ -12468,7 +12468,7 @@ const rr = C`
12468
12468
  externalProductVariantId
12469
12469
  }
12470
12470
  }
12471
- `, il = C`
12471
+ `, rl = C`
12472
12472
  ${rr}
12473
12473
  mutation CreateDesign(
12474
12474
  $name: String!
@@ -12500,7 +12500,7 @@ const rr = C`
12500
12500
  }
12501
12501
  }
12502
12502
  }
12503
- `, sl = C`
12503
+ `, il = C`
12504
12504
  ${rr}
12505
12505
  mutation CreateDesigns($inputs: [DesignCreateInput]!) {
12506
12506
  designCreateMany(inputs: $inputs) {
@@ -12515,20 +12515,20 @@ const rr = C`
12515
12515
  }
12516
12516
  }
12517
12517
  `;
12518
- function _t(n) {
12518
+ function Gt(n) {
12519
12519
  const t = JSON.parse(atob(n.split(".")[1])).exp;
12520
12520
  return Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3) >= t;
12521
12521
  }
12522
- const ol = async (n, t) => {
12522
+ const sl = async (n, t) => {
12523
12523
  const e = {};
12524
12524
  try {
12525
12525
  if (!t) throw new Error();
12526
12526
  } catch {
12527
12527
  const s = Object.entries(localStorage).find(([l, c]) => l.startsWith("CognitoIdentityServiceProvider") && l.endsWith("idToken"))?.[0] || "", o = localStorage.getItem(s);
12528
- o && !_t(o) && (e.Authorization = `Bearer ${o}`);
12528
+ o && !Gt(o) && (e.Authorization = `Bearer ${o}`);
12529
12529
  }
12530
12530
  return (await v.getShadowGraphqlClient().mutate({
12531
- mutation: il,
12531
+ mutation: rl,
12532
12532
  errorPolicy: "all",
12533
12533
  fetchPolicy: "no-cache",
12534
12534
  variables: {
@@ -12545,16 +12545,16 @@ const ol = async (n, t) => {
12545
12545
  headers: e
12546
12546
  }
12547
12547
  })).data?.designCreate;
12548
- }, ll = async (n, t) => {
12548
+ }, ol = async (n, t) => {
12549
12549
  const e = {};
12550
12550
  try {
12551
12551
  if (!t) throw new Error();
12552
12552
  } catch {
12553
12553
  const s = Object.entries(localStorage).find(([l, c]) => l.startsWith("CognitoIdentityServiceProvider") && l.endsWith("idToken"))?.[0] || "", o = localStorage.getItem(s);
12554
- o && !_t(o) && (e.Authorization = `Bearer ${o}`);
12554
+ o && !Gt(o) && (e.Authorization = `Bearer ${o}`);
12555
12555
  }
12556
12556
  return (await v.getShadowGraphqlClient().mutate({
12557
- mutation: sl,
12557
+ mutation: il,
12558
12558
  errorPolicy: "all",
12559
12559
  fetchPolicy: "no-cache",
12560
12560
  variables: {
@@ -12609,7 +12609,7 @@ const ol = async (n, t) => {
12609
12609
  return t.steps.forEach((i) => {
12610
12610
  Object.assign(r, a(i));
12611
12611
  }), r;
12612
- }, cl = (n, t, e, a) => {
12612
+ }, ll = (n, t, e, a) => {
12613
12613
  const r = {};
12614
12614
  let i = {};
12615
12615
  a && (i = a);
@@ -12630,7 +12630,7 @@ const ol = async (n, t) => {
12630
12630
  }
12631
12631
  return r;
12632
12632
  }, ir = (n, t, e, a, r, i, s, o) => {
12633
- const l = t.basePrice || 0, c = n.priceModifierTotal || 0, d = cl(a, e, void 0, i), u = (k.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(n.id), h = {
12633
+ const l = t.basePrice || 0, c = n.priceModifierTotal || 0, d = ll(a, e, void 0, i), u = (k.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(n.id), h = {
12634
12634
  additionalExternalProductId: n.integrationProduct?.additionalExternalProductId,
12635
12635
  additionalExternalVariantId: n.integrationProduct?.additionalExternalVariantId,
12636
12636
  baseCost: l,
@@ -12743,7 +12743,7 @@ const ol = async (n, t) => {
12743
12743
  cartSelectionsWithPrices: w,
12744
12744
  cartMetadata: p
12745
12745
  };
12746
- }, dl = async (n, t, e, a, r, i, s, o, l, c, d) => {
12746
+ }, cl = async (n, t, e, a, r, i, s, o, l, c, d) => {
12747
12747
  l("workflow.steps.finish.finalize.buildingLayouts");
12748
12748
  const { designDetails: A, cartSelectionsWithPrices: u, cartMetadata: h } = await sr(
12749
12749
  n,
@@ -12757,7 +12757,7 @@ const ol = async (n, t) => {
12757
12757
  d
12758
12758
  );
12759
12759
  l("workflow.steps.finish.finalize.creatingDesign");
12760
- const m = await ol(A), p = m?.transaction?.previewImageLink;
12760
+ const m = await sl(A), p = m?.transaction?.previewImageLink;
12761
12761
  if (!m?.transaction)
12762
12762
  throw new Error("Failed to create design");
12763
12763
  l("workflow.steps.finish.finalize.updatingTransaction");
@@ -12772,7 +12772,7 @@ const ol = async (n, t) => {
12772
12772
  p,
12773
12773
  m?.processExecution?.id
12774
12774
  );
12775
- }, Al = async (n, t, e) => {
12775
+ }, dl = async (n, t, e) => {
12776
12776
  t("workflow.steps.finish.finalize.buildingLayouts"), await Promise.all(
12777
12777
  n.map(async (o) => {
12778
12778
  await o.workflowManager.outstandingRequestsPromise();
@@ -12803,7 +12803,7 @@ const ol = async (n, t) => {
12803
12803
  ))
12804
12804
  );
12805
12805
  t("workflow.steps.finish.finalize.creatingDesign");
12806
- const s = await ll(i.map((o) => o.designDetails));
12806
+ const s = await ol(i.map((o) => o.designDetails));
12807
12807
  if (!s)
12808
12808
  throw new Error("Failed to create designs");
12809
12809
  return t("workflow.steps.finish.finalize.updatingTransaction"), s.map((o, l) => {
@@ -12820,7 +12820,7 @@ const ol = async (n, t) => {
12820
12820
  );
12821
12821
  });
12822
12822
  };
12823
- class ul {
12823
+ class Al {
12824
12824
  constructor() {
12825
12825
  this.localPersistenceKey = "designTransactions", this.storageMethod = "Local", this.designSavedListeners = [];
12826
12826
  }
@@ -12887,7 +12887,7 @@ class ul {
12887
12887
  throw new T("Unexpected storage method requested");
12888
12888
  }
12889
12889
  }
12890
- const Xe = new ul(), hl = C`
12890
+ const Xe = new Al(), ul = C`
12891
12891
  mutation AddTransactionStakeholder($id: String!, $type: String!, $details: CustomerDetailsInput!) {
12892
12892
  transactionAddStakeholder(id: $id, details: $details, type: $type) {
12893
12893
  id
@@ -12901,7 +12901,7 @@ const Xe = new ul(), hl = C`
12901
12901
  }
12902
12902
  }
12903
12903
  }
12904
- `, ml = C`
12904
+ `, hl = C`
12905
12905
  mutation AddAddressToTransaction(
12906
12906
  $transactionId: String!
12907
12907
  $streetAddress: String
@@ -12923,13 +12923,13 @@ const Xe = new ul(), hl = C`
12923
12923
  id
12924
12924
  }
12925
12925
  }
12926
- `, gl = C`
12926
+ `, ml = C`
12927
12927
  mutation AddOrganizationToTransaction($transactionId: String!, $organizationName: String!) {
12928
12928
  organizationAttachToTransaction(transactionId: $transactionId, organizationName: $organizationName) {
12929
12929
  id
12930
12930
  }
12931
12931
  }
12932
- `, pl = C`
12932
+ `, gl = C`
12933
12933
  ${ae}
12934
12934
  mutation TransactionUpdateIntegrationProduct($id: String!, $integrationProductId: String!) {
12935
12935
  transactionUpdateIntegrationProduct(id: $id, integrationProductId: $integrationProductId) {
@@ -13029,8 +13029,8 @@ const Xe = new ul(), hl = C`
13029
13029
  }
13030
13030
  }
13031
13031
  `;
13032
- var fl = /* @__PURE__ */ ((n) => (n.QuantityChanged = "QuantityChanged", n.PriceBreakChanged = "PriceBreakChanged", n.SelectionChanged = "SelectionChanged", n))(fl || {});
13033
- class Cl {
13032
+ var pl = /* @__PURE__ */ ((n) => (n.QuantityChanged = "QuantityChanged", n.PriceBreakChanged = "PriceBreakChanged", n.SelectionChanged = "SelectionChanged", n))(pl || {});
13033
+ class fl {
13034
13034
  constructor(t, e) {
13035
13035
  this.cachedStepHandles = /* @__PURE__ */ new Map(), this.profanityList = [], this.currentPriceBreak = 1, this.renderableScenes = [], this.renderableSceneCallbacks = [], this.eventCallbacks = /* @__PURE__ */ new Map(), this.debouncedSavedDesignUpdate = hn(async () => {
13036
13036
  await Xe.getSavedDesignByTransaction(this.getTransaction().id) && this.save();
@@ -13045,7 +13045,7 @@ class Cl {
13045
13045
  } catch (s) {
13046
13046
  i(s);
13047
13047
  }
13048
- }), this.client = t, this.transaction = e.transaction, this.workflow = e.workflow, this.profanityList = this.transaction.product?.profanities?.map((a) => a.word) || [], this.isReadOnly = e.transaction.isOrdered || !!e.readOnly, this.graphQlClient = e.graphQlClient, this.workflowManager = new Yo(
13048
+ }), this.client = t, this.transaction = e.transaction, this.workflow = e.workflow, this.profanityList = this.transaction.product?.profanities?.map((a) => a.word) || [], this.isReadOnly = e.transaction.isOrdered || !!e.readOnly, this.graphQlClient = e.graphQlClient, this.workflowManager = new jo(
13049
13049
  this,
13050
13050
  t,
13051
13051
  (a) => {
@@ -13091,7 +13091,7 @@ class Cl {
13091
13091
  async setProduct(t) {
13092
13092
  this.workflow = void 0;
13093
13093
  const e = await this.graphQlClient().mutate({
13094
- mutation: pl,
13094
+ mutation: gl,
13095
13095
  variables: {
13096
13096
  id: this.getTransaction().id,
13097
13097
  integrationProductId: t
@@ -13114,7 +13114,7 @@ class Cl {
13114
13114
  try {
13115
13115
  const i = r?.getDefaultWorkflow();
13116
13116
  if (i) {
13117
- const s = await tc(i.getId());
13117
+ const s = await Zl(i.getId());
13118
13118
  await this.setWorkflow(s), console.log("Setting Product - Workflow set to default for product.");
13119
13119
  }
13120
13120
  } catch {
@@ -13126,7 +13126,7 @@ class Cl {
13126
13126
  }
13127
13127
  async setWorkflow(t) {
13128
13128
  return this.workflow = t, await this.graphQlClient().mutate({
13129
- mutation: Ni,
13129
+ mutation: Ti,
13130
13130
  variables: {
13131
13131
  id: this.getTransaction().id,
13132
13132
  workflowId: t.id
@@ -13135,7 +13135,7 @@ class Cl {
13135
13135
  }
13136
13136
  async attachAddress(t, e, a, r, i, s) {
13137
13137
  await this.graphQlClient().mutate({
13138
- mutation: ml,
13138
+ mutation: hl,
13139
13139
  variables: {
13140
13140
  transactionId: this.getTransaction().id,
13141
13141
  streetAddress: t || void 0,
@@ -13149,7 +13149,7 @@ class Cl {
13149
13149
  }
13150
13150
  async attachOrganization(t) {
13151
13151
  await this.graphQlClient().mutate({
13152
- mutation: gl,
13152
+ mutation: ml,
13153
13153
  variables: {
13154
13154
  transactionId: this.getTransaction().id,
13155
13155
  organizationName: t
@@ -13200,7 +13200,7 @@ class Cl {
13200
13200
  throw new Te("Failed to obtain 2D context for preview image creation");
13201
13201
  const m = this.workflowManager.getTemplatingContext(), p = Ea(u.layoutState.layout, u.layoutState.elements, {
13202
13202
  renderingConfiguration: {
13203
- purpose: Ht.Print,
13203
+ purpose: jt.Print,
13204
13204
  region: { left: A.x, top: A.y, width: A.width, height: A.height },
13205
13205
  templatingContext: m
13206
13206
  }
@@ -13336,7 +13336,7 @@ class Cl {
13336
13336
  }
13337
13337
  async assignCustomerDetails(t) {
13338
13338
  const a = (await this.graphQlClient().mutate({
13339
- mutation: hl,
13339
+ mutation: ul,
13340
13340
  variables: {
13341
13341
  id: this.getTransaction().id,
13342
13342
  details: t,
@@ -13399,7 +13399,7 @@ class Cl {
13399
13399
  if (!i)
13400
13400
  throw new T("Workflow undefined! Cannot finish an experience without a workflow.");
13401
13401
  return a.completed ? (await this.graphQlClient().mutate({
13402
- mutation: Vi,
13402
+ mutation: Li,
13403
13403
  variables: {
13404
13404
  transactionId: a.id
13405
13405
  }
@@ -13411,7 +13411,7 @@ class Cl {
13411
13411
  transactionId: a.id,
13412
13412
  workflowViewerLink: "",
13413
13413
  workflowViewerReadOnlyLink: ""
13414
- }) : dl(
13414
+ }) : cl(
13415
13415
  this.workflowManager,
13416
13416
  i,
13417
13417
  this.workflowManager.getLayouts(),
@@ -13442,7 +13442,7 @@ class Cl {
13442
13442
  title: i.stepTitle,
13443
13443
  properties: []
13444
13444
  };
13445
- if (l && yl(i, a) && c.properties.push({
13445
+ if (l && wl(i, a) && c.properties.push({
13446
13446
  type: "selection",
13447
13447
  value: l.name,
13448
13448
  priceModifier: l.priceModifier
@@ -13514,7 +13514,7 @@ class Cl {
13514
13514
  ), this.checkForPriceBreakChanges();
13515
13515
  const e = this.getTransaction();
13516
13516
  await this.graphQlClient().mutate({
13517
- mutation: Ti,
13517
+ mutation: Mi,
13518
13518
  variables: {
13519
13519
  id: e.id,
13520
13520
  quantity: t
@@ -13536,7 +13536,7 @@ class Cl {
13536
13536
  (this.eventCallbacks.get(t) || []).forEach((e) => e(this));
13537
13537
  }
13538
13538
  }
13539
- const wl = (n) => {
13539
+ const Cl = (n) => {
13540
13540
  if ([
13541
13541
  E.Question,
13542
13542
  E.Frame,
@@ -13551,15 +13551,15 @@ const wl = (n) => {
13551
13551
  return !!e.displaySelectionOnFinishStep || !!e.displaySelectionsOnFinishStep;
13552
13552
  }
13553
13553
  return !1;
13554
- }, yl = (n, t) => {
13555
- if (!wl(n)) return !1;
13554
+ }, wl = (n, t) => {
13555
+ if (!Cl(n)) return !1;
13556
13556
  if (n.option && (n.option.variants || []).length > 1) {
13557
13557
  const e = t[n.stepName];
13558
13558
  return !!(e && e.selections.length > 0);
13559
13559
  }
13560
13560
  return !1;
13561
13561
  };
13562
- class Sl {
13562
+ class yl {
13563
13563
  constructor(t) {
13564
13564
  this.handleCache = {}, this.bundle = t;
13565
13565
  }
@@ -13601,7 +13601,7 @@ class Sl {
13601
13601
  async createHandle(t) {
13602
13602
  switch (t.type) {
13603
13603
  case L.FileUpload:
13604
- return new vl(this.bundle, t).initialize();
13604
+ return new Sl(this.bundle, t).initialize();
13605
13605
  case L.ColorOption:
13606
13606
  return new tn(
13607
13607
  this.bundle,
@@ -13613,7 +13613,7 @@ class Sl {
13613
13613
  return e?.type === "Color" ? new tn(this.bundle, t, e) : new or(this.bundle, t, e);
13614
13614
  }
13615
13615
  case L.Text:
13616
- return new El(this.bundle, t);
13616
+ return new vl(this.bundle, t);
13617
13617
  default:
13618
13618
  throw new Error("Unhandled Global Property Aspect Type");
13619
13619
  }
@@ -13680,7 +13680,7 @@ class Da {
13680
13680
  return this.bundle.getGlobalPropertyStateManager().getAspect(this.property.name);
13681
13681
  }
13682
13682
  }
13683
- class vl extends Da {
13683
+ class Sl extends Da {
13684
13684
  constructor(t, e) {
13685
13685
  super(t, e);
13686
13686
  }
@@ -13906,7 +13906,7 @@ class vl extends Da {
13906
13906
  );
13907
13907
  }
13908
13908
  }
13909
- class El extends Da {
13909
+ class vl extends Da {
13910
13910
  constructor(t, e) {
13911
13911
  super(t, e);
13912
13912
  }
@@ -14057,8 +14057,8 @@ class tn extends or {
14057
14057
  return this.bundle.getGlobalPropertyStateManager().getAspectStorage(this.property.name)?.customColor || this.getCurrentVariant()?.getColor() || "#ffffff";
14058
14058
  }
14059
14059
  }
14060
- const bl = (n, t, e, a) => n.flatMap((r) => r.getSteps()).filter((r) => r.getGlobalPropertyAspects(t).includes(e) && r.getType() === a), Il = (n, t, e) => {
14061
- const r = bl(
14060
+ const El = (n, t, e, a) => n.flatMap((r) => r.getSteps()).filter((r) => r.getGlobalPropertyAspects(t).includes(e) && r.getType() === a), bl = (n, t, e) => {
14061
+ const r = El(
14062
14062
  n,
14063
14063
  t,
14064
14064
  e,
@@ -14071,21 +14071,21 @@ const bl = (n, t, e, a) => n.flatMap((r) => r.getSteps()).filter((r) => r.getGlo
14071
14071
  };
14072
14072
  function ua(n, t) {
14073
14073
  function e(a) {
14074
- if (typeof a > "u" || !Array.isArray(a) && !Pl(a))
14074
+ if (typeof a > "u" || !Array.isArray(a) && !Bl(a))
14075
14075
  return a;
14076
14076
  if (Array.isArray(a))
14077
14077
  return ua(a, t);
14078
14078
  let r = {};
14079
14079
  for (const [i, s] of Object.entries(a))
14080
- r[i] = Bl(s) ? s : ua(s, t);
14081
- return kr(r, t);
14080
+ r[i] = Il(s) ? s : ua(s, t);
14081
+ return xr(r, t);
14082
14082
  }
14083
14083
  return Array.isArray(n) ? n.map(e) : e(n);
14084
14084
  }
14085
- function Bl(n) {
14085
+ function Il(n) {
14086
14086
  return n == null;
14087
14087
  }
14088
- function Pl(n) {
14088
+ function Bl(n) {
14089
14089
  return typeof n == "object" && !Array.isArray(n) && n !== null;
14090
14090
  }
14091
14091
  function lr(n) {
@@ -14097,7 +14097,7 @@ function lr(n) {
14097
14097
  function ue(n) {
14098
14098
  return ua(n, ["__typename"]);
14099
14099
  }
14100
- class Dl {
14100
+ class Pl {
14101
14101
  constructor(t, e, a, r, i) {
14102
14102
  this.mandatoryFulfilledAspects = /* @__PURE__ */ new Map(), this.bundleId = t, this.bundleOwnerId = e, this.configuration = a, this.bundleOptions = i;
14103
14103
  const s = i?.existingGlobalPropertyState;
@@ -14193,7 +14193,7 @@ class Dl {
14193
14193
  storage: a !== null ? a : void 0,
14194
14194
  channel: r
14195
14195
  });
14196
- qt(s, this.globalPropertyState) || (await this.updateGlobalPropertyState(), await this.onGlobalPropertyStateChange(s, this.globalPropertyState));
14196
+ Ht(s, this.globalPropertyState) || (await this.updateGlobalPropertyState(), await this.onGlobalPropertyStateChange(s, this.globalPropertyState));
14197
14197
  }
14198
14198
  async setAspectStorage(t, e, a) {
14199
14199
  if (!this.globalPropertyState)
@@ -14220,13 +14220,13 @@ class Dl {
14220
14220
  storage: e !== null ? e : void 0,
14221
14221
  channel: a
14222
14222
  });
14223
- qt(i, this.globalPropertyState) || (await this.updateGlobalPropertyState(), await this.onGlobalPropertyStateChange(i, this.globalPropertyState));
14223
+ Ht(i, this.globalPropertyState) || (await this.updateGlobalPropertyState(), await this.onGlobalPropertyStateChange(i, this.globalPropertyState));
14224
14224
  }
14225
14225
  async updateGlobalPropertyState() {
14226
14226
  if (!this.globalPropertyState)
14227
14227
  throw new Error("Global property state not initialized");
14228
14228
  const t = await v.getShadowGraphqlClient().mutate({
14229
- mutation: go,
14229
+ mutation: mo,
14230
14230
  variables: {
14231
14231
  id: this.globalPropertyState.id,
14232
14232
  aspects: this.globalPropertyState.aspects.map((e) => {
@@ -14269,7 +14269,7 @@ class Dl {
14269
14269
  }
14270
14270
  async createGlobalPropertyState() {
14271
14271
  const t = await v.getShadowGraphqlClient().mutate({
14272
- mutation: mo,
14272
+ mutation: ho,
14273
14273
  variables: {
14274
14274
  bundleId: this.bundleId
14275
14275
  },
@@ -14285,7 +14285,7 @@ class Dl {
14285
14285
  throw new Error(`Unable to create global property state for bundle: ${this.bundleId}`);
14286
14286
  }
14287
14287
  }
14288
- class Fl {
14288
+ class Dl {
14289
14289
  constructor(t) {
14290
14290
  this.setState(t || '{"transactions": []}');
14291
14291
  }
@@ -14374,7 +14374,7 @@ class Fl {
14374
14374
  };
14375
14375
  }
14376
14376
  }
14377
- const xl = C`
14377
+ const Fl = C`
14378
14378
  query GetManyMetafields($entityIds: [String!]!) {
14379
14379
  metafieldsMany(entityIds: $entityIds) {
14380
14380
  id
@@ -14386,7 +14386,7 @@ const xl = C`
14386
14386
  }
14387
14387
  }
14388
14388
  `;
14389
- class kl {
14389
+ class xl {
14390
14390
  constructor() {
14391
14391
  this.internalMap = /* @__PURE__ */ new Map();
14392
14392
  }
@@ -14407,7 +14407,7 @@ class kl {
14407
14407
  async ensureIdsArePresent(t) {
14408
14408
  if (t.every((a) => this.internalMap.has(a))) return;
14409
14409
  const e = await v.getShadowGraphqlClient().query({
14410
- query: xl,
14410
+ query: Fl,
14411
14411
  errorPolicy: "all",
14412
14412
  variables: {
14413
14413
  entityIds: t.filter((a) => !this.internalMap.has(a))
@@ -14448,8 +14448,8 @@ class kl {
14448
14448
  return JSON.parse(r.value);
14449
14449
  }
14450
14450
  }
14451
- const Ml = new kl();
14452
- var Tl = /* @__PURE__ */ ((n) => (n.Default = "Default", n.Name = "Name", n.Price = "Price", n))(Tl || {});
14451
+ const kl = new xl();
14452
+ var Ml = /* @__PURE__ */ ((n) => (n.Default = "Default", n.Name = "Name", n.Price = "Price", n))(Ml || {});
14453
14453
  class cr {
14454
14454
  constructor(t) {
14455
14455
  this.fullFetched = !1, this.collection = t;
@@ -14511,7 +14511,7 @@ class cr {
14511
14511
  if (this.fullFetched)
14512
14512
  return this.collection.productCollectionProducts.filter((a) => !!a.product).map((a) => new he(a));
14513
14513
  const e = await v.getShadowGraphqlClient().query({
14514
- query: yo,
14514
+ query: wo,
14515
14515
  variables: {
14516
14516
  id: this.getId(),
14517
14517
  productIds: t
@@ -14527,7 +14527,7 @@ class cr {
14527
14527
  */
14528
14528
  async filterProducts(t, e, a, r) {
14529
14529
  const i = await v.getShadowGraphqlClient().query({
14530
- query: So,
14530
+ query: yo,
14531
14531
  errorPolicy: "all",
14532
14532
  variables: {
14533
14533
  id: this.getId(),
@@ -14571,7 +14571,7 @@ class cr {
14571
14571
  };
14572
14572
  }
14573
14573
  const c = new AbortController(), { signal: d } = c, A = v.getShadowGraphqlClient().watchQuery({
14574
- query: vo,
14574
+ query: So,
14575
14575
  variables: {
14576
14576
  id: this.getId(),
14577
14577
  limit: e,
@@ -14623,7 +14623,7 @@ class cr {
14623
14623
  }
14624
14624
  getTransformCollection() {
14625
14625
  if (this.collection.transformCollection)
14626
- return new Nl(this.collection.transformCollection);
14626
+ return new Tl(this.collection.transformCollection);
14627
14627
  }
14628
14628
  /**
14629
14629
  * The raw collection resource. This is generally not needed and should be avoided.
@@ -14690,10 +14690,10 @@ class he {
14690
14690
  const e = this.productResource.workflowId;
14691
14691
  if (e) {
14692
14692
  const a = t.find((r) => r.workflowName === e);
14693
- if (a) return new Gt(a);
14693
+ if (a) return new Wt(a);
14694
14694
  }
14695
14695
  if (t.length === 1)
14696
- return new Gt(t[0]);
14696
+ return new Wt(t[0]);
14697
14697
  throw new ht(
14698
14698
  "Called getDefaultWorkflow() but no default workflow is configured for the requested product. Multiple workflows exist so we can't assume!"
14699
14699
  );
@@ -14706,7 +14706,7 @@ class he {
14706
14706
  throw new ht(
14707
14707
  "No workflows on configured product. Ensure at least 1 workflow is assigned to this product."
14708
14708
  );
14709
- return this.product.workflows.sort((e, a) => (e.index ?? 0) - (a.index ?? 0)).map((e) => new Gt(e));
14709
+ return this.product.workflows.sort((e, a) => (e.index ?? 0) - (a.index ?? 0)).map((e) => new Wt(e));
14710
14710
  }
14711
14711
  /**
14712
14712
  * A list of all integrations this product is connected to.
@@ -14747,10 +14747,10 @@ class he {
14747
14747
  * @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.
14748
14748
  */
14749
14749
  async requestMetafields(t) {
14750
- return Ml.requestKeysForEntity(this.product.id, t);
14750
+ return kl.requestKeysForEntity(this.product.id, t);
14751
14751
  }
14752
14752
  }
14753
- class Gt {
14753
+ class Wt {
14754
14754
  constructor(t) {
14755
14755
  this.workflow = t;
14756
14756
  }
@@ -14774,7 +14774,7 @@ class Gt {
14774
14774
  return this.workflow.imageUrl;
14775
14775
  }
14776
14776
  }
14777
- class Nl {
14777
+ class Tl {
14778
14778
  constructor(t) {
14779
14779
  this.collection = t;
14780
14780
  }
@@ -14794,10 +14794,10 @@ class Nl {
14794
14794
  * @returns The transforms in this collection.
14795
14795
  */
14796
14796
  getTransforms() {
14797
- return this.collection.transforms.map((t) => new Ql(t));
14797
+ return this.collection.transforms.map((t) => new Nl(t));
14798
14798
  }
14799
14799
  }
14800
- class Ql {
14800
+ class Nl {
14801
14801
  constructor(t) {
14802
14802
  this.transform = t;
14803
14803
  }
@@ -14824,21 +14824,21 @@ class Ql {
14824
14824
  };
14825
14825
  }
14826
14826
  }
14827
- const Rl = C`
14827
+ const Ql = C`
14828
14828
  ${se(!1)}
14829
14829
  query GetProductCollections($ids: [String!]!) {
14830
14830
  productCollections(ids: $ids) {
14831
14831
  ...ProductCollectionFields
14832
14832
  }
14833
14833
  }
14834
- `, Bd = async (n) => (await v.getShadowGraphqlClient().query({
14835
- query: Rl,
14834
+ `, Id = async (n) => (await v.getShadowGraphqlClient().query({
14835
+ query: Ql,
14836
14836
  errorPolicy: "all",
14837
14837
  variables: {
14838
14838
  ids: n
14839
14839
  }
14840
14840
  })).data?.productCollections?.map((e) => new cr(e));
14841
- class Ol {
14841
+ class Rl {
14842
14842
  constructor() {
14843
14843
  this.listeners = {};
14844
14844
  }
@@ -14865,7 +14865,7 @@ class Ol {
14865
14865
  delete this.listeners[e];
14866
14866
  }
14867
14867
  }
14868
- const $l = C`
14868
+ const Ol = C`
14869
14869
  mutation AddAddressToBundle(
14870
14870
  $bundleId: String!
14871
14871
  $streetAddress: String
@@ -14887,13 +14887,13 @@ const $l = C`
14887
14887
  id
14888
14888
  }
14889
14889
  }
14890
- `, Ul = C`
14890
+ `, $l = C`
14891
14891
  mutation AddOrganizationToBundle($bundleId: String!, $organizationName: String!) {
14892
14892
  organizationAttachToBundle(bundleId: $bundleId, organizationName: $organizationName) {
14893
14893
  id
14894
14894
  }
14895
14895
  }
14896
- `, Ll = C`
14896
+ `, Ul = C`
14897
14897
  mutation GenerateQuoteId($id: String!) {
14898
14898
  bundleGenerateQuoteId(id: $id) {
14899
14899
  id
@@ -14903,15 +14903,15 @@ const $l = C`
14903
14903
  `;
14904
14904
  class Ze {
14905
14905
  constructor(t, e, a, r, i, s) {
14906
- this.workflowExperiences = [], this.eventEmitter = new Ol(), this.updatesLocked = !1, this.client = t, this.id = e.id, this.name = e.name || "", this.dispatchDate = e.dispatchDate, this.template = e.template || !1, this.quoteId = e.quoteId, this.shareActions = e.bundleShareActions, this.workflowViewerLink = e.workflowViewerLink, this.workflowViewerAmendLink = e.workflowViewerAmendLink, this.ownerId = i, this.metadata = new Map(e.metadata?.map((c) => [c.key, c.value]) || []), this.completed = e.completed ?? !1, this.productCollection = e.productCollection, this.bundleStateManager = new Fl(e.bundleStateData);
14906
+ this.workflowExperiences = [], this.eventEmitter = new Rl(), this.updatesLocked = !1, this.client = t, this.id = e.id, this.name = e.name || "", this.dispatchDate = e.dispatchDate, this.template = e.template || !1, this.quoteId = e.quoteId, this.shareActions = e.bundleShareActions, this.workflowViewerLink = e.workflowViewerLink, this.workflowViewerAmendLink = e.workflowViewerAmendLink, this.ownerId = i, this.metadata = new Map(e.metadata?.map((c) => [c.key, c.value]) || []), this.completed = e.completed ?? !1, this.productCollection = e.productCollection, this.bundleStateManager = new Dl(e.bundleStateData);
14907
14907
  const o = this.productCollection?.globalPropertyConfiguration;
14908
- this.globalConfigurationPropertyId = o?.id, this.globalPropertyStateManager = new Dl(
14908
+ this.globalConfigurationPropertyId = o?.id, this.globalPropertyStateManager = new Pl(
14909
14909
  this.id,
14910
14910
  this.ownerId,
14911
14911
  o,
14912
14912
  this.onGlobalPropertiesChanged.bind(this),
14913
14913
  s
14914
- ), this.globalPropertyHandleService = new Sl(this), this.setPreviewService(a);
14914
+ ), this.globalPropertyHandleService = new yl(this), this.setPreviewService(a);
14915
14915
  const l = new Promise((c, d) => {
14916
14916
  if (s?.readonly) {
14917
14917
  c([]);
@@ -14969,7 +14969,7 @@ class Ze {
14969
14969
  }
14970
14970
  async generateQuoteId() {
14971
14971
  const e = (await v.getShadowGraphqlClient().mutate({
14972
- mutation: Ll,
14972
+ mutation: Ul,
14973
14973
  variables: {
14974
14974
  id: this.id
14975
14975
  },
@@ -14981,7 +14981,7 @@ class Ze {
14981
14981
  }
14982
14982
  async attachAddress(t, e, a, r, i, s) {
14983
14983
  await v.getShadowGraphqlClient().mutate({
14984
- mutation: $l,
14984
+ mutation: Ol,
14985
14985
  variables: {
14986
14986
  bundleId: this.id,
14987
14987
  streetAddress: t || void 0,
@@ -14998,7 +14998,7 @@ class Ze {
14998
14998
  }
14999
14999
  async attachOrganization(t) {
15000
15000
  await v.getShadowGraphqlClient().mutate({
15001
- mutation: Ul,
15001
+ mutation: $l,
15002
15002
  variables: {
15003
15003
  bundleId: this.id,
15004
15004
  organizationName: t
@@ -15135,7 +15135,7 @@ class Ze {
15135
15135
  (s) => s.name === r
15136
15136
  );
15137
15137
  if (i && i.type === L.ColorOption) {
15138
- const s = e.getCurrentVariant()?.getAssetResource(), o = s?.assetConfiguration?.channelNumbers || [], l = s?.assetConfiguration?.defaultColorVariants || [], c = Il(
15138
+ const s = e.getCurrentVariant()?.getAssetResource(), o = s?.assetConfiguration?.channelNumbers || [], l = s?.assetConfiguration?.defaultColorVariants || [], c = bl(
15139
15139
  this.getWorkflowExperiences(),
15140
15140
  this.globalConfigurationPropertyId || "",
15141
15141
  r
@@ -15170,7 +15170,7 @@ class Ze {
15170
15170
  );
15171
15171
  const r = k.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), i = e.map((o) => r.get(o));
15172
15172
  await v.getShadowGraphqlClient().mutate({
15173
- mutation: Bo,
15173
+ mutation: Io,
15174
15174
  variables: {
15175
15175
  id: this.id,
15176
15176
  transactionIds: e,
@@ -15199,7 +15199,7 @@ class Ze {
15199
15199
  if (this.workflowExperiences.find((o) => o.getTransaction().id === a)) throw new Error("Unable to add transaction to bundle - Already Exists!");
15200
15200
  const s = (k.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(a);
15201
15201
  await v.getShadowGraphqlClient().mutate({
15202
- mutation: Io,
15202
+ mutation: bo,
15203
15203
  variables: {
15204
15204
  id: this.id,
15205
15205
  transactionId: a
@@ -15230,7 +15230,7 @@ class Ze {
15230
15230
  if (t > -1) {
15231
15231
  const r = this.workflowExperiences.find((i) => i.getTransaction().id === e.id);
15232
15232
  if (r.setBundle(void 0), this.previewService && r.getWorkflowManager().ejectFromPreviewService(), this.bundleStateManager.removeStateForTransaction(e.id), await v.getShadowGraphqlClient().mutate({
15233
- mutation: Po,
15233
+ mutation: Bo,
15234
15234
  variables: {
15235
15235
  id: this.id,
15236
15236
  transactionId: e.id,
@@ -15267,7 +15267,7 @@ class Ze {
15267
15267
  a.forEach((r) => r.setBundle(void 0)), [...this.workflowExperiences, ...a].forEach(
15268
15268
  (r) => r.checkForPriceBreakChanges()
15269
15269
  ), this.previewService && a.forEach((r) => r.getWorkflowManager().ejectFromPreviewService()), t.forEach((r) => this.bundleStateManager.removeStateForTransaction(r.id)), await v.getShadowGraphqlClient().mutate({
15270
- mutation: Do,
15270
+ mutation: Po,
15271
15271
  variables: {
15272
15272
  id: this.id,
15273
15273
  transactionIds: t.map((r) => r.id),
@@ -15328,7 +15328,7 @@ class Ze {
15328
15328
  }
15329
15329
  async addStakeholder(t, e) {
15330
15330
  const a = await v.getShadowGraphqlClient().mutate({
15331
- mutation: Fo,
15331
+ mutation: Do,
15332
15332
  variables: {
15333
15333
  id: this.id,
15334
15334
  details: t,
@@ -15344,7 +15344,7 @@ class Ze {
15344
15344
  }
15345
15345
  async removeStakeholder(t) {
15346
15346
  if (!(await v.getShadowGraphqlClient().mutate({
15347
- mutation: xo,
15347
+ mutation: Fo,
15348
15348
  variables: {
15349
15349
  id: this.id,
15350
15350
  emailAddress: t
@@ -15356,7 +15356,7 @@ class Ze {
15356
15356
  }
15357
15357
  async updateStakeholders(t) {
15358
15358
  const e = await v.getShadowGraphqlClient().mutate({
15359
- mutation: ko,
15359
+ mutation: xo,
15360
15360
  variables: {
15361
15361
  id: this.id,
15362
15362
  input: t
@@ -15407,12 +15407,12 @@ class Ze {
15407
15407
  }
15408
15408
  async finish(t, e) {
15409
15409
  this.completed && await v.getShadowGraphqlClient().mutate({
15410
- mutation: Ro,
15410
+ mutation: Qo,
15411
15411
  variables: {
15412
15412
  bundleId: this.id
15413
15413
  }
15414
15414
  });
15415
- const a = await Al(
15415
+ const a = await dl(
15416
15416
  this.workflowExperiences.map((r) => {
15417
15417
  const i = r.getWorkflow();
15418
15418
  if (!i) throw new Error("Unable to create designs - Workflow not found!");
@@ -15476,7 +15476,7 @@ class Ze {
15476
15476
  }
15477
15477
  async assignGlobalPropertyConfiguration(t) {
15478
15478
  await v.getShadowGraphqlClient().mutate({
15479
- mutation: No,
15479
+ mutation: To,
15480
15480
  variables: {
15481
15481
  bundleId: this.id,
15482
15482
  globalPropertyConfigurationId: t
@@ -15488,7 +15488,7 @@ class Ze {
15488
15488
  }
15489
15489
  async assignProductCollection(t) {
15490
15490
  const e = await v.getShadowGraphqlClient().mutate({
15491
- mutation: To(
15491
+ mutation: Mo(
15492
15492
  this.globalPropertyStateManager.getBundleOptions()?.eagerFetchProducts ?? !1
15493
15493
  ),
15494
15494
  variables: {
@@ -15558,7 +15558,7 @@ class Ze {
15558
15558
  }
15559
15559
  async updateTransactionOrder() {
15560
15560
  await v.getShadowGraphqlClient().mutate({
15561
- mutation: Mo,
15561
+ mutation: ko,
15562
15562
  variables: {
15563
15563
  id: this.id,
15564
15564
  transactionIds: this.workflowExperiences.map((t) => t.getTransaction().id)
@@ -15587,7 +15587,7 @@ class Ze {
15587
15587
  });
15588
15588
  await Promise.all(l), await Promise.all(i.map((A) => A.applyGlobalState()));
15589
15589
  const c = this.globalPropertyStateManager.getGlobalPropertyState(), d = this.globalPropertyHandleService.applyConditionsFromState(a, c);
15590
- qt(i.sort(), d.sort()) || (this.checkConditionalHandlesChanged(i, d), this.checkMandatoryHandlesChanged(c, d), await this.onGlobalPropertiesChanged(e, c));
15590
+ Ht(i.sort(), d.sort()) || (this.checkConditionalHandlesChanged(i, d), this.checkMandatoryHandlesChanged(c, d), await this.onGlobalPropertiesChanged(e, c));
15591
15591
  }
15592
15592
  checkConditionalHandlesChanged(t, e) {
15593
15593
  (() => {
@@ -15628,7 +15628,7 @@ class Ze {
15628
15628
  }
15629
15629
  async approve(t, e) {
15630
15630
  await v.getShadowGraphqlClient().mutate({
15631
- mutation: Oo,
15631
+ mutation: Ro,
15632
15632
  errorPolicy: "all",
15633
15633
  fetchPolicy: "no-cache",
15634
15634
  variables: {
@@ -15640,7 +15640,7 @@ class Ze {
15640
15640
  }
15641
15641
  async reject(t, e) {
15642
15642
  await v.getShadowGraphqlClient().mutate({
15643
- mutation: $o,
15643
+ mutation: Oo,
15644
15644
  errorPolicy: "all",
15645
15645
  fetchPolicy: "no-cache",
15646
15646
  variables: {
@@ -15658,14 +15658,14 @@ class Ze {
15658
15658
  };
15659
15659
  }
15660
15660
  }
15661
- const Vl = C`
15661
+ const Ll = C`
15662
15662
  mutation processFlowCreate($processFlowId: String!, $inputs: [String]!) {
15663
15663
  processExecutionCreate(processFlowId: $processFlowId, inputs: $inputs) {
15664
15664
  id
15665
15665
  }
15666
15666
  }
15667
15667
  `;
15668
- class zl {
15668
+ class Vl {
15669
15669
  /**
15670
15670
  *
15671
15671
  * @param id
@@ -15675,7 +15675,7 @@ class zl {
15675
15675
  */
15676
15676
  async execute(t, e, a) {
15677
15677
  const i = (await v.getShadowGraphqlClient().mutate({
15678
- mutation: Vl,
15678
+ mutation: Ll,
15679
15679
  variables: {
15680
15680
  processFlowId: t,
15681
15681
  inputs: [...e.map((A) => A.getValueForTransmission())]
@@ -15715,7 +15715,7 @@ class zl {
15715
15715
  "Execution has failed to complete. See Automation > FLows in Flight on partner account on SpiffCommerce Hub."
15716
15716
  );
15717
15717
  if (A.completedAt) {
15718
- o = !0, d = new Gl(A);
15718
+ o = !0, d = new zl(A);
15719
15719
  break;
15720
15720
  }
15721
15721
  l += 1;
@@ -15727,7 +15727,7 @@ class zl {
15727
15727
  return Promise.resolve(d);
15728
15728
  }
15729
15729
  }
15730
- class Gl {
15730
+ class zl {
15731
15731
  constructor(t) {
15732
15732
  this.execution = t;
15733
15733
  }
@@ -15812,8 +15812,8 @@ class Fa {
15812
15812
  return t.startsWith("[") ? JSON.stringify(JSON.parse(t)) : t;
15813
15813
  }
15814
15814
  }
15815
- var Wl = /* @__PURE__ */ ((n) => (n.Transaction = "Transaction", n.Bundle = "Bundle", n.Product = "Product", n.Variant = "Variant", n.Option = "Option", n.LineItem = "LineItem", n.Asset = "Asset", n))(Wl || {});
15816
- class Pd extends Fa {
15815
+ var Gl = /* @__PURE__ */ ((n) => (n.Transaction = "Transaction", n.Bundle = "Bundle", n.Product = "Product", n.Variant = "Variant", n.Option = "Option", n.LineItem = "LineItem", n.Asset = "Asset", n))(Gl || {});
15816
+ class Bd extends Fa {
15817
15817
  constructor(t) {
15818
15818
  super(`"${t}"`);
15819
15819
  }
@@ -15828,7 +15828,7 @@ class dr extends Fa {
15828
15828
  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);
15829
15829
  }
15830
15830
  }
15831
- class Dd extends Fa {
15831
+ class Pd extends Fa {
15832
15832
  constructor(t) {
15833
15833
  super(`[${t.map((e) => e.getRaw()).join(",")}]`);
15834
15834
  }
@@ -15860,7 +15860,7 @@ class en {
15860
15860
  throw new Error(
15861
15861
  "No workflows found on product. This is generally due to a configuration error. Please confirm at least one workflow is configured for this product."
15862
15862
  );
15863
- return new Gt(t[0]);
15863
+ return new Wt(t[0]);
15864
15864
  }
15865
15865
  getAllWorkflows() {
15866
15866
  if (!this.integrationProduct.product)
@@ -15870,7 +15870,7 @@ class en {
15870
15870
  throw new Error(
15871
15871
  "No workflows found on product. This is generally due to a configuration error. Please confirm at least one workflow is configured for this product."
15872
15872
  );
15873
- return t.sort((e, a) => (e.index ?? 0) - (a.index ?? 0)).map((e) => new Gt(e));
15873
+ return t.sort((e, a) => (e.index ?? 0) - (a.index ?? 0)).map((e) => new Wt(e));
15874
15874
  }
15875
15875
  }
15876
15876
  const ge = C`
@@ -15890,7 +15890,7 @@ const ge = C`
15890
15890
  }
15891
15891
  }
15892
15892
  }
15893
- `, ql = C`
15893
+ `, Wl = C`
15894
15894
  mutation CustomerCreate($details: CustomerDetailsInput!) {
15895
15895
  customerCreate(details: $details) {
15896
15896
  id
@@ -15932,7 +15932,7 @@ C`
15932
15932
  }
15933
15933
  }
15934
15934
  `;
15935
- const Hl = C`
15935
+ const ql = C`
15936
15936
  mutation CustomerGenerateVerificationCode($emailAddress: String!) {
15937
15937
  customerGenerateVerificationCode(emailAddress: $emailAddress)
15938
15938
  }
@@ -15969,7 +15969,7 @@ C`
15969
15969
  }
15970
15970
  }
15971
15971
  `;
15972
- const jl = C`
15972
+ const Hl = C`
15973
15973
  query CustomerMetafields($id: String!) {
15974
15974
  metafields(entityId: $id) {
15975
15975
  id
@@ -15988,7 +15988,7 @@ const jl = C`
15988
15988
  }
15989
15989
  }
15990
15990
  `;
15991
- class Yl {
15991
+ class jl {
15992
15992
  constructor(t, e = v.getShadowGraphqlClient.bind(v)) {
15993
15993
  this.options = t, this.client = e;
15994
15994
  }
@@ -16015,9 +16015,9 @@ class Yl {
16015
16015
  });
16016
16016
  }
16017
16017
  }
16018
- class Jl {
16018
+ class Yl {
16019
16019
  init(t, e, a) {
16020
- this.cognitoClient = new Dr({ region: e }), this.spiffRegion = t, this.userPoolClientId = a;
16020
+ this.cognitoClient = new Pr({ region: e }), this.spiffRegion = t, this.userPoolClientId = a;
16021
16021
  }
16022
16022
  async generateCode(t) {
16023
16023
  const e = await this.cognitoClient?.send(
@@ -16033,7 +16033,7 @@ class Jl {
16033
16033
  }
16034
16034
  async verifyCode(t, e, a) {
16035
16035
  const r = await this.cognitoClient?.send(
16036
- new Fr({
16036
+ new Dr({
16037
16037
  ClientId: this.userPoolClientId,
16038
16038
  ChallengeName: "CUSTOM_CHALLENGE",
16039
16039
  Session: this.challengeSession,
@@ -16065,8 +16065,8 @@ class Jl {
16065
16065
  );
16066
16066
  }
16067
16067
  }
16068
- const Ut = new Jl();
16069
- class Kl {
16068
+ const Ut = new Yl();
16069
+ class Jl {
16070
16070
  /**
16071
16071
  * Returns a formatted string representing a given amount with desired currency.
16072
16072
  * @param currency The currency to represent the amount in.
@@ -16078,7 +16078,7 @@ class Kl {
16078
16078
  currency: t,
16079
16079
  precision: this.getPrecisionForCurrency(t)
16080
16080
  };
16081
- return xr(a).toFormat(this.getSpecialFormat(t));
16081
+ return Fr(a).toFormat(this.getSpecialFormat(t));
16082
16082
  }
16083
16083
  /**
16084
16084
  * Get the number of decimal places expected in a currency string.
@@ -16100,8 +16100,8 @@ class Kl {
16100
16100
  return "USD0,0";
16101
16101
  }
16102
16102
  }
16103
- const an = new Kl();
16104
- class _l {
16103
+ const an = new Jl();
16104
+ class Kl {
16105
16105
  constructor(t, e, a, r) {
16106
16106
  this.presentmentCurrency = void 0, this.presentmentCurrency = r, this.partnerCurrency = a, this.rateFrom = t, this.rateTo = e;
16107
16107
  }
@@ -16141,9 +16141,9 @@ class _l {
16141
16141
  return t * Math.pow(10, an.getPrecisionForCurrency(e));
16142
16142
  }
16143
16143
  }
16144
- const Xl = async (n, t) => {
16144
+ const _l = async (n, t) => {
16145
16145
  const e = await v.getShadowGraphqlClient().query({
16146
- query: Hi(t?.assets?.metadata || !1),
16146
+ query: qi(t?.assets?.metadata || !1),
16147
16147
  errorPolicy: "all",
16148
16148
  variables: {
16149
16149
  ids: n
@@ -16160,38 +16160,38 @@ const Xl = async (n, t) => {
16160
16160
  r.steps.forEach((i) => {
16161
16161
  delete i.data.__typename, i.option?.id && (i.option.defaultVariant?.asset && $.cacheAsset(i.option.defaultVariant.asset), i.option.colorProfile && $.cacheAsset(i.option.colorProfile), i.option.variants?.forEach((s) => {
16162
16162
  s.asset && $.cacheAsset(s.asset), s.thumbnail && $.cacheAsset(s.thumbnail), s.material && $.cacheMaterial(s.material);
16163
- }), Jt.set({ id: i.option.id }, Promise.resolve(i.option)));
16163
+ }), Kt.set({ id: i.option.id }, Promise.resolve(i.option)));
16164
16164
  }), r.finalizeStepConfig || (r.finalizeStepConfig = {}), r.finalizeStepConfig.termsMarkdown = r.finalizeStepConfig.termsMarkdown || r.partner.termsMarkdown;
16165
16165
  }), a;
16166
- }, Zl = async (n, t) => {
16166
+ }, Xl = async (n, t) => {
16167
16167
  const a = (await t).find((r) => r.id === n);
16168
16168
  if (!a)
16169
16169
  throw new Error(`Workflow not found: ${n}`);
16170
16170
  return a;
16171
16171
  }, Ar = async (n, t) => {
16172
- const e = n.map((o) => Jt.get({ id: o, options: t })), a = n.filter((o, l) => e[l] === void 0);
16172
+ const e = n.map((o) => Kt.get({ id: o, options: t })), a = n.filter((o, l) => e[l] === void 0);
16173
16173
  if (a.length === 0)
16174
16174
  return Promise.all(e);
16175
- const r = Xl(a, t), i = a.map(
16176
- (o) => Jt.set({ id: o, options: t }, Zl(o, r))
16175
+ const r = _l(a, t), i = a.map(
16176
+ (o) => Kt.set({ id: o, options: t }, Xl(o, r))
16177
16177
  ), s = e.filter((o) => o !== void 0);
16178
16178
  return await Promise.all(s.concat(i));
16179
- }, tc = async (n, t) => (await Ar([n], t))[0];
16180
- class Fd {
16179
+ }, Zl = async (n, t) => (await Ar([n], t))[0];
16180
+ class Dd {
16181
16181
  constructor(t) {
16182
16182
  this.activeIntegration = void 0, this.updateTransactionState = async (e) => {
16183
16183
  try {
16184
16184
  return v.getShadowGraphqlClient().mutate({
16185
16185
  ...e,
16186
- mutation: Mi
16186
+ mutation: ki
16187
16187
  });
16188
16188
  } catch (a) {
16189
16189
  throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
16190
16190
  }
16191
- }, this.options = t, this.options.applicationKey && Jr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 33.4.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16191
+ }, this.options = t, this.options.applicationKey && Yr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 33.4.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16192
16192
  }
16193
16193
  configure(t) {
16194
- gt.setHubUrl(t.hubUrl), gt.setServerUrl(t.serverUrl), gt.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 && _r(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Ut.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
16194
+ gt.setHubUrl(t.hubUrl), gt.setServerUrl(t.serverUrl), gt.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 && Kr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Ut.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
16195
16195
  }
16196
16196
  /**
16197
16197
  * @returns The asset manager allows for common operations related to assets
@@ -16201,12 +16201,12 @@ class Fd {
16201
16201
  return $;
16202
16202
  }
16203
16203
  getFlowService() {
16204
- if (!Kr()) throw new Error("Application key required to use Flow Service.");
16205
- return new zl();
16204
+ if (!Jr()) throw new Error("Application key required to use Flow Service.");
16205
+ return new Vl();
16206
16206
  }
16207
16207
  async getCurrencyContext(t) {
16208
16208
  const a = (await this.getIntegration()).partner.currencyCode, i = await v.getShadowGraphqlClient().query({
16209
- query: ts,
16209
+ query: Zi,
16210
16210
  errorPolicy: "all",
16211
16211
  fetchPolicy: "cache-first",
16212
16212
  variables: {
@@ -16214,14 +16214,14 @@ class Fd {
16214
16214
  to: t
16215
16215
  }
16216
16216
  }), { rateFrom: s, rateTo: o } = i.data.currencyConversion;
16217
- return new _l(s, o, a, t);
16217
+ return new Kl(s, o, a, t);
16218
16218
  }
16219
16219
  async getIntegration() {
16220
16220
  if (this.activeIntegration)
16221
16221
  return this.activeIntegration;
16222
16222
  if (!this.options.applicationKey)
16223
16223
  throw new Error("Cannot get current Integration without specifying an Application Key.");
16224
- return this.activeIntegration = ec(this.options.applicationKey), this.activeIntegration;
16224
+ return this.activeIntegration = tc(this.options.applicationKey), this.activeIntegration;
16225
16225
  }
16226
16226
  async canUseAddon(t) {
16227
16227
  try {
@@ -16267,7 +16267,7 @@ class Fd {
16267
16267
  */
16268
16268
  async authenticateTransactionFromLocalStorage(t) {
16269
16269
  const e = v.getShadowGraphqlClient(), a = await e.query({
16270
- query: ji,
16270
+ query: Hi,
16271
16271
  errorPolicy: "all",
16272
16272
  fetchPolicy: "no-cache",
16273
16273
  variables: {
@@ -16297,7 +16297,7 @@ class Fd {
16297
16297
  });
16298
16298
  }
16299
16299
  const c = (await e.query({
16300
- query: Yi,
16300
+ query: ji,
16301
16301
  errorPolicy: "all",
16302
16302
  variables: {
16303
16303
  id: r.workflowId
@@ -16348,7 +16348,7 @@ class Fd {
16348
16348
  })).data.customer;
16349
16349
  if (!r.id) {
16350
16350
  const o = (await e.mutate({
16351
- mutation: ql,
16351
+ mutation: Wl,
16352
16352
  errorPolicy: "all",
16353
16353
  fetchPolicy: "no-cache",
16354
16354
  variables: {
@@ -16406,7 +16406,7 @@ class Fd {
16406
16406
  */
16407
16407
  async generateVerificationCode(t) {
16408
16408
  await v.getShadowGraphqlClient().mutate({
16409
- mutation: Hl,
16409
+ mutation: ql,
16410
16410
  variables: {
16411
16411
  emailAddress: t
16412
16412
  }
@@ -16445,7 +16445,7 @@ class Fd {
16445
16445
  const t = localStorage.getItem("last-refreshed-cognito-tokens"), e = localStorage.getItem("cognito-tokens");
16446
16446
  if (!t || !e)
16447
16447
  throw new Error("No token data in storage.");
16448
- const a = JSON.parse(e), r = (/* @__PURE__ */ new Date()).getTime() / 1e3, i = !a?.AccessToken || _t(a.AccessToken);
16448
+ const a = JSON.parse(e), r = (/* @__PURE__ */ new Date()).getTime() / 1e3, i = !a?.AccessToken || Gt(a.AccessToken);
16449
16449
  if (!a.ExpiresIn || a.ExpiresIn < r - parseInt(t) || i) {
16450
16450
  const s = await Ut.refreshTokens();
16451
16451
  if (s?.AuthenticationResult)
@@ -16461,7 +16461,7 @@ class Fd {
16461
16461
  if (!this.customer?.id)
16462
16462
  throw new Error("Customer must be logged in before calling this function.");
16463
16463
  return (await v.getShadowGraphqlClient().query({
16464
- query: jl,
16464
+ query: Hl,
16465
16465
  variables: {
16466
16466
  id: this.customer.id
16467
16467
  }
@@ -16473,7 +16473,7 @@ class Fd {
16473
16473
  */
16474
16474
  async getNewBundle(t, e, a) {
16475
16475
  const i = (await v.getShadowGraphqlClient().mutate({
16476
- mutation: Eo(a?.graphql?.productCollection?.eagerFetchProducts || !1),
16476
+ mutation: vo(a?.graphql?.productCollection?.eagerFetchProducts || !1),
16477
16477
  variables: {
16478
16478
  collectionId: t,
16479
16479
  initialMetadata: e ? Object.entries(e).map((c, d) => ({ key: c[0], value: c[1] })) : void 0,
@@ -16508,14 +16508,14 @@ class Fd {
16508
16508
  o.Authorization = `Bearer ${h}`;
16509
16509
  } catch {
16510
16510
  const p = Object.entries(localStorage).find(([f, w]) => f.startsWith("CognitoIdentityServiceProvider") && f.endsWith("idToken"))?.[0] || "", g = localStorage.getItem(p);
16511
- g && !_t(g) && (o.Authorization = `Bearer ${g}`);
16511
+ g && !Gt(g) && (o.Authorization = `Bearer ${g}`);
16512
16512
  }
16513
16513
  const l = {
16514
16514
  bundleOwnerId: s,
16515
16515
  ...o,
16516
16516
  ...r?.graphql?.additionalHeaders
16517
16517
  }, c = await v.getShadowGraphqlClient().query({
16518
- query: Co(r?.graphql?.productCollection?.eagerFetchProducts || !1),
16518
+ query: fo(r?.graphql?.productCollection?.eagerFetchProducts || !1),
16519
16519
  variables: {
16520
16520
  id: t
16521
16521
  },
@@ -16543,11 +16543,20 @@ class Fd {
16543
16543
  * @returns A bundle to be used for grouping and operating on large amounts of workflow experiences.
16544
16544
  */
16545
16545
  async duplicateBundle(t, e, a, r) {
16546
- const s = {
16547
- ...await ur(t),
16546
+ const i = k.getMap("bundleOwnerIds")?.get(t), s = {};
16547
+ try {
16548
+ const u = await this.loggedInBearerToken();
16549
+ s.Authorization = `Bearer ${u}`;
16550
+ } catch {
16551
+ const m = Object.entries(localStorage).find(([g, f]) => g.startsWith("CognitoIdentityServiceProvider") && g.endsWith("idToken"))?.[0] || "", p = localStorage.getItem(m);
16552
+ p && !Gt(p) && (s.Authorization = `Bearer ${p}`);
16553
+ }
16554
+ const o = {
16555
+ bundleOwnerId: i,
16556
+ ...s,
16548
16557
  ...r?.graphql?.additionalHeaders
16549
- }, l = (await v.getShadowGraphqlClient().mutate({
16550
- mutation: bo(r?.graphql?.productCollection?.eagerFetchProducts || !1),
16558
+ }, c = (await v.getShadowGraphqlClient().mutate({
16559
+ mutation: Eo(r?.graphql?.productCollection?.eagerFetchProducts || !1),
16551
16560
  variables: {
16552
16561
  id: t,
16553
16562
  template: e,
@@ -16556,21 +16565,21 @@ class Fd {
16556
16565
  duplicateTransactions: a
16557
16566
  },
16558
16567
  context: {
16559
- headers: s
16568
+ headers: o
16560
16569
  },
16561
16570
  fetchPolicy: "no-cache"
16562
16571
  })).data?.bundleDuplicate;
16563
- if (!l?.id)
16572
+ if (!c?.id)
16564
16573
  throw new Error("Unable to duplicate bundle");
16565
- const c = k.getMap("bundlePartnerIds") || /* @__PURE__ */ new Map();
16566
- c.set(l.id, l.partner.id), k.setMap("bundlePartnerIds", c);
16567
- const d = k.getMap("bundleOwnerIds") || /* @__PURE__ */ new Map();
16568
- return d.set(l.id, l.bundleOwnerId), k.setMap("bundleOwnerIds", d), async () => {
16569
- const A = new Ze(this, l, void 0, void 0, l.bundleOwnerId, {
16574
+ const d = k.getMap("bundlePartnerIds") || /* @__PURE__ */ new Map();
16575
+ d.set(c.id, c.partner.id), k.setMap("bundlePartnerIds", d);
16576
+ const A = k.getMap("bundleOwnerIds") || /* @__PURE__ */ new Map();
16577
+ return A.set(c.id, c.bundleOwnerId), k.setMap("bundleOwnerIds", A), async () => {
16578
+ const u = new Ze(this, c, void 0, void 0, c.bundleOwnerId, {
16570
16579
  eagerFetchProducts: r?.graphql?.productCollection?.eagerFetchProducts,
16571
- existingGlobalPropertyState: l.globalPropertyState
16580
+ existingGlobalPropertyState: c.globalPropertyState
16572
16581
  });
16573
- return await A.getInitializationPromise(), A;
16582
+ return await u.getInitializationPromise(), u;
16574
16583
  };
16575
16584
  }
16576
16585
  /**
@@ -16587,7 +16596,7 @@ class Fd {
16587
16596
  throw new Error("Customer not authenticated.");
16588
16597
  const { includeMetadata: e, ...a } = t;
16589
16598
  return (await v.getShadowGraphqlClient().query({
16590
- query: Qo(e ?? !1),
16599
+ query: No(e ?? !1),
16591
16600
  variables: {
16592
16601
  ...a,
16593
16602
  id: this.customer.id
@@ -16603,7 +16612,7 @@ class Fd {
16603
16612
  if (!this.customer)
16604
16613
  throw new Error("Customer not authenticated.");
16605
16614
  const t = await v.getShadowGraphqlClient().query({
16606
- query: wo,
16615
+ query: Co,
16607
16616
  variables: {
16608
16617
  id: this.customer.id
16609
16618
  },
@@ -16642,7 +16651,7 @@ class Fd {
16642
16651
  if (y.length === 0)
16643
16652
  return [];
16644
16653
  const S = y.map((F) => F.option.transactionId), B = await a.query({
16645
- query: ki,
16654
+ query: xi,
16646
16655
  variables: {
16647
16656
  ids: S
16648
16657
  },
@@ -16663,7 +16672,7 @@ class Fd {
16663
16672
  if (y.length === 0)
16664
16673
  return [];
16665
16674
  const S = await a.mutate({
16666
- mutation: xi,
16675
+ mutation: Fi,
16667
16676
  variables: {
16668
16677
  inputs: y.map((b) => ({
16669
16678
  integrationProductId: b.option.type === "integration" ? b.option.integrationProductId : void 0,
@@ -16701,7 +16710,7 @@ class Fd {
16701
16710
  ), m = h.length > 0 ? await Ar(h, e) : [], p = new Map(m.map((y) => [y.id, y])), g = k.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), f = u.map(async (y) => {
16702
16711
  const { transaction: S, workflowId: B, readOnly: b, index: F } = y, R = B ? p.get(B) : void 0, N = t[F];
16703
16712
  !g.get(S.id) && S.transactionOwnerId && g.set(S.id, S.transactionOwnerId);
16704
- const Z = g.get(S.id) || void 0, tt = new Yl({
16713
+ const Z = g.get(S.id) || void 0, tt = new jl({
16705
16714
  onMutate: () => ({ context: { transactionOwnerId: Z, bundleOwnerId: e?.bundleOwnerId } }),
16706
16715
  onQuery: () => ({ context: { transactionOwnerId: Z, bundleOwnerId: e?.bundleOwnerId } })
16707
16716
  }), rt = {
@@ -16731,7 +16740,7 @@ class Fd {
16731
16740
  const I = w.sort((y, S) => y.index - S.index);
16732
16741
  let P = [];
16733
16742
  for (const y of I) {
16734
- const { experienceOptions: S, options: B } = y, b = new Cl(this, S);
16743
+ const { experienceOptions: S, options: B } = y, b = new fl(this, S);
16735
16744
  await b.getWorkflowManager().getInitializationPromise(), B.type !== "transaction" && this.customer && await b.attachCustomerDetails({ email: this.customer.emailAddress }), P = [...P, b], b.getWorkflowManager().setWorkflowStateSyncEnabled(!0);
16736
16745
  }
16737
16746
  return P;
@@ -16742,7 +16751,7 @@ class Fd {
16742
16751
  }
16743
16752
  async getIntegrationProductById(t, e) {
16744
16753
  const i = (await v.getShadowGraphqlClient().query({
16745
- query: $i(e),
16754
+ query: Oi(e),
16746
16755
  variables: {
16747
16756
  ids: [t]
16748
16757
  },
@@ -16755,7 +16764,7 @@ class Fd {
16755
16764
  }
16756
16765
  async getIntegrationProductFromExternalIds(t, e, a) {
16757
16766
  const s = (await v.getShadowGraphqlClient().query({
16758
- query: Ui(a),
16767
+ query: $i(a),
16759
16768
  variables: {
16760
16769
  externalProductId: e,
16761
16770
  externalIntegrationId: t
@@ -16772,7 +16781,7 @@ class Fd {
16772
16781
  }
16773
16782
  async getShareActionsForTransaction(t) {
16774
16783
  const a = (k.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(t) || void 0, r = await v.getShadowGraphqlClient().query({
16775
- query: Oi,
16784
+ query: Ri,
16776
16785
  errorPolicy: "all",
16777
16786
  fetchPolicy: "no-cache",
16778
16787
  variables: {
@@ -16788,7 +16797,7 @@ class Fd {
16788
16797
  }
16789
16798
  async placeOrder(t) {
16790
16799
  const e = await v.getShadowGraphqlClient().mutate({
16791
- mutation: Zi,
16800
+ mutation: Xi,
16792
16801
  variables: {
16793
16802
  orderItems: t
16794
16803
  }
@@ -16803,8 +16812,8 @@ class Fd {
16803
16812
  };
16804
16813
  }
16805
16814
  }
16806
- const ec = async (n, t) => (await v.getShadowGraphqlClient().query({
16807
- query: Ki,
16815
+ const tc = async (n, t) => (await v.getShadowGraphqlClient().query({
16816
+ query: Ji,
16808
16817
  errorPolicy: "all",
16809
16818
  fetchPolicy: "no-cache",
16810
16819
  context: {
@@ -16815,9 +16824,9 @@ const ec = async (n, t) => (await v.getShadowGraphqlClient().query({
16815
16824
  variables: {
16816
16825
  themeConfigurationId: t
16817
16826
  }
16818
- })).data.currentIntegration, xd = async (n) => {
16827
+ })).data.currentIntegration, Fd = async (n) => {
16819
16828
  const e = await v.getShadowGraphqlClient().query({
16820
- query: Ri,
16829
+ query: Qi,
16821
16830
  errorPolicy: "all",
16822
16831
  fetchPolicy: "network-only",
16823
16832
  variables: {
@@ -16826,56 +16835,38 @@ const ec = async (n, t) => (await v.getShadowGraphqlClient().query({
16826
16835
  });
16827
16836
  if (e.data.transactions.length !== 0)
16828
16837
  return e.data.transactions[0];
16829
- }, kd = async (n, t) => (await v.getShadowGraphqlClient().query({
16830
- query: Ji,
16838
+ }, xd = async (n, t) => (await v.getShadowGraphqlClient().query({
16839
+ query: Yi,
16831
16840
  errorPolicy: "all",
16832
16841
  variables: {
16833
16842
  themeConfigurationId: n,
16834
16843
  themeInstallId: t
16835
16844
  }
16836
- })).data?.marketplaceThemeInstallConfiguration, Md = async (n) => (await v.getShadowGraphqlClient().query({
16837
- query: Xi,
16845
+ })).data?.marketplaceThemeInstallConfiguration, kd = async (n) => (await v.getShadowGraphqlClient().query({
16846
+ query: _i,
16838
16847
  errorPolicy: "all",
16839
16848
  variables: {
16840
16849
  id: n
16841
16850
  }
16842
- })).data?.bundles?.[0]?.marketplaceThemeInstallConfiguration, Td = async (n) => (await v.getShadowGraphqlClient().query({
16843
- query: _i,
16851
+ })).data?.bundles?.[0]?.marketplaceThemeInstallConfiguration, Md = async (n) => (await v.getShadowGraphqlClient().query({
16852
+ query: Ki,
16844
16853
  errorPolicy: "all",
16845
16854
  variables: {
16846
16855
  id: n
16847
16856
  }
16848
- })).data?.transactions?.[0]?.marketplaceThemeInstallConfiguration;
16849
- async function ur(n) {
16850
- const e = k.getMap("bundleOwnerIds")?.get(n), a = {};
16851
- try {
16852
- const r = await this.loggedInBearerToken();
16853
- a.Authorization = `Bearer ${r}`;
16854
- } catch {
16855
- const s = Object.entries(localStorage).find(([l, c]) => l.startsWith("CognitoIdentityServiceProvider") && l.endsWith("idToken"))?.[0] || "", o = localStorage.getItem(s);
16856
- o && !_t(o) && (a.Authorization = `Bearer ${o}`);
16857
- }
16858
- return {
16859
- bundleOwnerId: e,
16860
- ...a
16861
- };
16862
- }
16863
- const Nd = async (n) => {
16864
- const t = await ur(n), e = await v.getShadowGraphqlClient().mutate({
16865
- mutation: Wo,
16857
+ })).data?.transactions?.[0]?.marketplaceThemeInstallConfiguration, Td = async (n) => {
16858
+ const t = await v.getShadowGraphqlClient().mutate({
16859
+ mutation: Go,
16866
16860
  errorPolicy: "all",
16867
16861
  fetchPolicy: "no-cache",
16868
16862
  variables: {
16869
16863
  id: n
16870
- },
16871
- context: {
16872
- headers: t
16873
16864
  }
16874
16865
  });
16875
- if (e.data?.bundleDelete !== n)
16876
- throw new Error(`Failed to delete bundle: ${e.errors}`);
16866
+ if (t.data?.bundleDelete !== n)
16867
+ throw new Error(`Failed to delete bundle: ${t.errors}`);
16877
16868
  };
16878
- function ac(n, t, e, a) {
16869
+ function ec(n, t, e, a) {
16879
16870
  const r = e.width * n.zoom, i = e.height * n.zoom;
16880
16871
  if (a) {
16881
16872
  const o = n, l = Math.max(t.width / e.width, t.height / e.height);
@@ -16889,7 +16880,7 @@ function ac(n, t, e, a) {
16889
16880
  function pe(n, t, e) {
16890
16881
  return Math.min(Math.max(n, t), e);
16891
16882
  }
16892
- class nc {
16883
+ class ac {
16893
16884
  constructor(t, e) {
16894
16885
  this.minZoomScale = [0.03], this.maxZoomScale = [20], this._debouncedUpdateFrameOffsets = hn(this.updateFrameOffsets, 200), this.targetElements = [], this.onFrameDataChangeListeners = [], this.onZoomChangeListeners = [], this.forceImageCover = t, this.initialZoom = e, this.thresholdSettings = {
16895
16886
  useThreshold: !1,
@@ -16912,7 +16903,7 @@ class nc {
16912
16903
  let i = !1;
16913
16904
  for (let s = 0; s < r.currentFrameSources.length; s++) {
16914
16905
  const o = r.currentFrameSources[s], l = await $e(o), c = this.frameData ? this.frameData[s] : void 0;
16915
- qt(l, c) || (this.frameData || (this.frameData = new Array(r.currentFrameSources.length)), this.frameData[s] = l, i = !0);
16906
+ Ht(l, c) || (this.frameData || (this.frameData = new Array(r.currentFrameSources.length)), this.frameData[s] = l, i = !0);
16916
16907
  }
16917
16908
  i && (this.onFrameDataChangeListeners.forEach(
16918
16909
  (s) => s(this.frameData)
@@ -17032,7 +17023,7 @@ class nc {
17032
17023
  return;
17033
17024
  }
17034
17025
  (!this.offsets || this.offsets.length !== this.frameData.length) && (this.offsets = new Array(this.frameData.length)), this.frameData.forEach((s, o) => {
17035
- this.offsets[o] = ac(t[o], s, this.imageData, this.forceImageCover);
17026
+ this.offsets[o] = ec(t[o], s, this.imageData, this.forceImageCover);
17036
17027
  }), this._debouncedUpdateFrameOffsets(
17037
17028
  this.offsets,
17038
17029
  r,
@@ -17074,8 +17065,8 @@ class nc {
17074
17065
  this.targetElements.forEach((o, l) => {
17075
17066
  s(
17076
17067
  new O([
17077
- new Is(o, e, t[l]),
17078
- new Bs(
17068
+ new bs(o, e, t[l]),
17069
+ new Is(
17079
17070
  o,
17080
17071
  r.useThreshold,
17081
17072
  r.invertThreshold,
@@ -17110,7 +17101,7 @@ class nc {
17110
17101
  }), this._debouncedUpdateFrameOffsets(this.offsets, t, this.frameData, this.thresholdSettings));
17111
17102
  }
17112
17103
  }
17113
- class Qd {
17104
+ class Nd {
17114
17105
  traversableScenes() {
17115
17106
  throw new Error("Method not implemented.");
17116
17107
  }
@@ -17272,12 +17263,12 @@ class Qd {
17272
17263
  return [];
17273
17264
  }
17274
17265
  }
17275
- var rc = /* @__PURE__ */ ((n) => (n.SelectFrame = "SelectFrame", n.SelectImage = "SelectImage", n.Position = "Position", n))(rc || {});
17276
- class ic extends X {
17266
+ var nc = /* @__PURE__ */ ((n) => (n.SelectFrame = "SelectFrame", n.SelectImage = "SelectImage", n.Position = "Position", n))(nc || {});
17267
+ class rc extends X {
17277
17268
  constructor(t, e, a) {
17278
17269
  super(t, e, a);
17279
17270
  const r = e.data;
17280
- this.frameService = new nc(r.forceImageCover, r.initialZoomLevel), this.frameService.connectWorkflowManager(t, e.stepName);
17271
+ this.frameService = new ac(r.forceImageCover, r.initialZoomLevel), this.frameService.connectWorkflowManager(t, e.stepName);
17281
17272
  }
17282
17273
  selectVariant(t) {
17283
17274
  const e = this.manager.getRegionElements(this.step.stepName);
@@ -17437,7 +17428,7 @@ class ic extends X {
17437
17428
  return this.manager.getStepStorage(this.step.stepName);
17438
17429
  }
17439
17430
  }
17440
- const sc = C`
17431
+ const ic = C`
17441
17432
  query GetLoggedInCustomer($email: String!) {
17442
17433
  customer(emailAddress: $email) {
17443
17434
  id
@@ -17480,21 +17471,21 @@ const sc = C`
17480
17471
  total
17481
17472
  }
17482
17473
  }
17483
- `, oc = C`
17474
+ `, sc = C`
17484
17475
  mutation SetTransactionDesignName($id: String!, $name: String!) {
17485
17476
  transactionUpdate(id: $id, designName: $name) {
17486
17477
  id
17487
17478
  designName
17488
17479
  }
17489
17480
  }
17490
- `, lc = C`
17481
+ `, oc = C`
17491
17482
  mutation DuplicateTransaction($id: String!, $template: Boolean!) {
17492
17483
  transactionDuplicate(id: $id, template: $template) {
17493
17484
  id
17494
17485
  workflowViewerLink
17495
17486
  }
17496
17487
  }
17497
- `, cc = C`
17488
+ `, lc = C`
17498
17489
  query GetCustomerBundles($id: String!, $limit: Int!, $offset: Int!) {
17499
17490
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset) {
17500
17491
  items {
@@ -17509,7 +17500,7 @@ const sc = C`
17509
17500
  total
17510
17501
  }
17511
17502
  }
17512
- `, dc = C`
17503
+ `, cc = C`
17513
17504
  query GetTransactionsForBundle($id: String!) {
17514
17505
  bundles(ids: [$id]) {
17515
17506
  id
@@ -17530,21 +17521,21 @@ const sc = C`
17530
17521
  }
17531
17522
  }
17532
17523
  }
17533
- `, Ac = C`
17524
+ `, dc = C`
17534
17525
  mutation SetBundleName($id: String!, $name: String!) {
17535
17526
  bundleUpdate(id: $id, name: $name) {
17536
17527
  id
17537
17528
  name
17538
17529
  }
17539
17530
  }
17540
- `, uc = C`
17531
+ `, Ac = C`
17541
17532
  mutation DuplicateBundle($id: String!, $template: Boolean!) {
17542
17533
  bundleDuplicate(id: $id, template: $template) {
17543
17534
  id
17544
17535
  workflowViewerLink
17545
17536
  }
17546
17537
  }
17547
- `, hc = C`
17538
+ `, uc = C`
17548
17539
  query GetBundleTemplates($id: String!, $limit: Int!, $offset: Int!) {
17549
17540
  customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: true) {
17550
17541
  items {
@@ -17557,43 +17548,43 @@ const sc = C`
17557
17548
  total
17558
17549
  }
17559
17550
  }
17560
- `, Rd = async (n, t, e) => await v.getShadowGraphqlClient().mutate({
17561
- mutation: Ac,
17551
+ `, Qd = async (n, t, e) => await v.getShadowGraphqlClient().mutate({
17552
+ mutation: dc,
17562
17553
  errorPolicy: "all",
17563
17554
  variables: {
17564
17555
  id: n,
17565
17556
  name: t
17566
17557
  },
17567
17558
  context: e
17568
- }), Od = async (n, t) => await v.getShadowGraphqlClient().mutate({
17569
- mutation: oc,
17559
+ }), Rd = async (n, t) => await v.getShadowGraphqlClient().mutate({
17560
+ mutation: sc,
17570
17561
  errorPolicy: "all",
17571
17562
  variables: {
17572
17563
  id: n,
17573
17564
  name: t
17574
17565
  }
17575
- }), $d = async (n, t) => await v.getShadowGraphqlClient().mutate({
17576
- mutation: uc,
17566
+ }), Od = async (n, t) => await v.getShadowGraphqlClient().mutate({
17567
+ mutation: Ac,
17577
17568
  errorPolicy: "all",
17578
17569
  variables: {
17579
17570
  id: n,
17580
17571
  template: t
17581
17572
  }
17582
- }), Ud = async (n, t) => await v.getShadowGraphqlClient().mutate({
17583
- mutation: lc,
17573
+ }), $d = async (n, t) => await v.getShadowGraphqlClient().mutate({
17574
+ mutation: oc,
17584
17575
  errorPolicy: "all",
17585
17576
  variables: {
17586
17577
  id: n,
17587
17578
  template: t
17588
17579
  }
17589
- }), Ld = async (n) => (await v.getShadowGraphqlClient().query({
17590
- query: sc,
17580
+ }), Ud = async (n) => (await v.getShadowGraphqlClient().query({
17581
+ query: ic,
17591
17582
  errorPolicy: "all",
17592
17583
  variables: {
17593
17584
  email: n
17594
17585
  }
17595
- })).data.customer, Vd = async (n, t, e) => await v.getShadowGraphqlClient().query({
17596
- query: cc,
17586
+ })).data.customer, Ld = async (n, t, e) => await v.getShadowGraphqlClient().query({
17587
+ query: lc,
17597
17588
  errorPolicy: "all",
17598
17589
  fetchPolicy: "no-cache",
17599
17590
  variables: {
@@ -17601,15 +17592,15 @@ const sc = C`
17601
17592
  offset: e,
17602
17593
  limit: t
17603
17594
  }
17604
- }), zd = async (n, t) => await v.getShadowGraphqlClient().query({
17605
- query: dc,
17595
+ }), Vd = async (n, t) => await v.getShadowGraphqlClient().query({
17596
+ query: cc,
17606
17597
  errorPolicy: "all",
17607
17598
  fetchPolicy: "no-cache",
17608
17599
  variables: {
17609
17600
  id: n
17610
17601
  },
17611
17602
  context: t
17612
- }), Gd = async (n, t, e) => (await v.getShadowGraphqlClient().query({
17603
+ }), zd = async (n, t, e) => (await v.getShadowGraphqlClient().query({
17613
17604
  query: xa,
17614
17605
  errorPolicy: "all",
17615
17606
  fetchPolicy: "no-cache",
@@ -17629,7 +17620,7 @@ const sc = C`
17629
17620
  offset: e,
17630
17621
  limit: t
17631
17622
  }
17632
- }))?.data.customerTransactionsFeed?.items || [], Wd = async (n, t, e) => (await v.getShadowGraphqlClient().query({
17623
+ }))?.data.customerTransactionsFeed?.items || [], Gd = async (n, t, e) => (await v.getShadowGraphqlClient().query({
17633
17624
  query: xa,
17634
17625
  errorPolicy: "all",
17635
17626
  fetchPolicy: "no-cache",
@@ -17649,7 +17640,7 @@ const sc = C`
17649
17640
  offset: e,
17650
17641
  limit: t
17651
17642
  }
17652
- }))?.data.customerTransactionsFeed?.items || [], qd = async (n, t, e) => (await v.getShadowGraphqlClient().query({
17643
+ }))?.data.customerTransactionsFeed?.items || [], Wd = async (n, t, e) => (await v.getShadowGraphqlClient().query({
17653
17644
  query: xa,
17654
17645
  errorPolicy: "all",
17655
17646
  fetchPolicy: "no-cache",
@@ -17665,8 +17656,8 @@ const sc = C`
17665
17656
  offset: e,
17666
17657
  limit: t
17667
17658
  }
17668
- }))?.data.customerTransactionsFeed?.items || [], Hd = async (n, t, e) => (await v.getShadowGraphqlClient().query({
17669
- query: hc,
17659
+ }))?.data.customerTransactionsFeed?.items || [], qd = async (n, t, e) => (await v.getShadowGraphqlClient().query({
17660
+ query: uc,
17670
17661
  errorPolicy: "all",
17671
17662
  fetchPolicy: "no-cache",
17672
17663
  variables: {
@@ -17685,7 +17676,7 @@ const sc = C`
17685
17676
  console.error("vite-plugin-css-injected-by-js", t);
17686
17677
  }
17687
17678
  })();
17688
- var mc = /* @__PURE__ */ ((n) => (n.Manual = "Manual", n.OnStart = "OnStart", n.OnQuit = "OnQuit", n.OnEnd = "OnEnd", n))(mc || {}), ye = /* @__PURE__ */ ((n) => (n.Email = "Email", n.FirstName = "FirstName", n.LastName = "LastName", n.Phone = "Phone", n.Apartment = "Apartment", n.City = "City", n.Country = "Country", n.OrganizationName = "OrganizationName", n.PostCode = "PostCode", n.State = "State", n.StreetAddress = "StreetAddress", n.Custom = "Custom", n))(ye || {}), Y;
17679
+ var hc = /* @__PURE__ */ ((n) => (n.Manual = "Manual", n.OnStart = "OnStart", n.OnQuit = "OnQuit", n.OnEnd = "OnEnd", n))(hc || {}), ye = /* @__PURE__ */ ((n) => (n.Email = "Email", n.FirstName = "FirstName", n.LastName = "LastName", n.Phone = "Phone", n.Apartment = "Apartment", n.City = "City", n.Country = "Country", n.OrganizationName = "OrganizationName", n.PostCode = "PostCode", n.State = "State", n.StreetAddress = "StreetAddress", n.Custom = "Custom", n))(ye || {}), Y;
17689
17680
  Y = { __e: function(n, t, e, a) {
17690
17681
  for (var r, i, s; t = t.__; )
17691
17682
  if ((r = t.__c) && !r.__)
@@ -17697,9 +17688,9 @@ Y = { __e: function(n, t, e, a) {
17697
17688
  }
17698
17689
  throw n;
17699
17690
  } }, typeof Promise == "function" && Promise.prototype.then.bind(Promise.resolve());
17700
- var st, ta, nn, hr = [], ea = [], rn = Y.__b, sn = Y.__r, on = Y.diffed, ln = Y.__c, cn = Y.unmount;
17701
- function gc() {
17702
- for (var n; n = hr.shift(); )
17691
+ var st, ta, nn, ur = [], ea = [], rn = Y.__b, sn = Y.__r, on = Y.diffed, ln = Y.__c, cn = Y.unmount;
17692
+ function mc() {
17693
+ for (var n; n = ur.shift(); )
17703
17694
  if (n.__P && n.__H)
17704
17695
  try {
17705
17696
  n.__H.__h.forEach(Se), n.__H.__h.forEach(ha), n.__H.__h = [];
@@ -17718,7 +17709,7 @@ Y.__b = function(n) {
17718
17709
  }, Y.diffed = function(n) {
17719
17710
  on && on(n);
17720
17711
  var t = n.__c;
17721
- t && t.__H && (t.__H.__h.length && (hr.push(t) !== 1 && nn === Y.requestAnimationFrame || ((nn = Y.requestAnimationFrame) || pc)(gc)), t.__H.__.forEach(function(e) {
17712
+ t && t.__H && (t.__H.__h.length && (ur.push(t) !== 1 && nn === Y.requestAnimationFrame || ((nn = Y.requestAnimationFrame) || gc)(mc)), t.__H.__.forEach(function(e) {
17722
17713
  e.i && (e.__H = e.i), e.__V !== ea && (e.__ = e.__V), e.i = void 0, e.__V = ea;
17723
17714
  })), ta = st = null;
17724
17715
  }, Y.__c = function(n, t) {
@@ -17745,7 +17736,7 @@ Y.__b = function(n) {
17745
17736
  }), e.__H = void 0, t && Y.__e(t, e.__v));
17746
17737
  };
17747
17738
  var dn = typeof requestAnimationFrame == "function";
17748
- function pc(n) {
17739
+ function gc(n) {
17749
17740
  var t, e = function() {
17750
17741
  clearTimeout(a), dn && cancelAnimationFrame(t), setTimeout(n);
17751
17742
  }, a = setTimeout(e, 100);
@@ -17759,7 +17750,7 @@ function ha(n) {
17759
17750
  var t = st;
17760
17751
  n.__c = n.__(), st = t;
17761
17752
  }
17762
- const mr = C`
17753
+ const hr = C`
17763
17754
  fragment AddressValidationResultFields on AddressValidationResult {
17764
17755
  addressComplete
17765
17756
  address {
@@ -17782,7 +17773,7 @@ const mr = C`
17782
17773
  missingComponentTypes
17783
17774
  }
17784
17775
  `, ka = C`
17785
- ${mr}
17776
+ ${hr}
17786
17777
  fragment AddressValidationJobFields on AddressValidationJob {
17787
17778
  id
17788
17779
  entityId
@@ -17793,14 +17784,14 @@ const mr = C`
17793
17784
  ...AddressValidationResultFields
17794
17785
  }
17795
17786
  }
17796
- `, fc = C`
17787
+ `, pc = C`
17797
17788
  ${ka}
17798
17789
  query GetAddressValidationJobs($ids: [String!]!) {
17799
17790
  addressValidationJobs(ids: $ids) {
17800
17791
  ...AddressValidationJobFields
17801
17792
  }
17802
17793
  }
17803
- `, Cc = C`
17794
+ `, fc = C`
17804
17795
  ${ka}
17805
17796
  query GetRecipientsWithAddressValidationJobs($ids: [String!]!) {
17806
17797
  recipients(ids: $ids) {
@@ -17810,31 +17801,31 @@ const mr = C`
17810
17801
  }
17811
17802
  }
17812
17803
  }
17813
- `, wc = C`
17814
- ${mr}
17804
+ `, Cc = C`
17805
+ ${hr}
17815
17806
  mutation ValidateRecipientAddress($id: String!) {
17816
17807
  recipientValidate(id: $id) {
17817
17808
  ...AddressValidationResultFields
17818
17809
  }
17819
17810
  }
17820
- `, yc = C`
17811
+ `, wc = C`
17821
17812
  ${ka}
17822
17813
  mutation BatchValidateRecipientAddress($ids: [String!]!) {
17823
17814
  recipientValidateBatch(ids: $ids) {
17824
17815
  ...AddressValidationJobFields
17825
17816
  }
17826
17817
  }
17827
- `, Sc = C`
17818
+ `, yc = C`
17828
17819
  mutation OverrideRecipientAddress($id: String!) {
17829
17820
  recipientOverrideAddress(id: $id) {
17830
17821
  id
17831
17822
  }
17832
17823
  }
17833
17824
  `;
17834
- var vc = /* @__PURE__ */ ((n) => (n.Confirmed = "Confirmed", n.Plausible = "Plausible", n.Unlikely = "Unlikely", n))(vc || {}), Ec = /* @__PURE__ */ ((n) => (n.Created = "Created", n.Processing = "Processing", n.Completed = "Completed", n.Failed = "Failed", n.Cancelled = "Cancelled", n))(Ec || {});
17835
- const jd = async (n) => {
17825
+ var Sc = /* @__PURE__ */ ((n) => (n.Confirmed = "Confirmed", n.Plausible = "Plausible", n.Unlikely = "Unlikely", n))(Sc || {}), vc = /* @__PURE__ */ ((n) => (n.Created = "Created", n.Processing = "Processing", n.Completed = "Completed", n.Failed = "Failed", n.Cancelled = "Cancelled", n))(vc || {});
17826
+ const Hd = async (n) => {
17836
17827
  const t = n.map((a) => a.getTransaction().recipient?.id).filter((a) => !!a), e = await v.getShadowGraphqlClient().query({
17837
- query: Cc,
17828
+ query: fc,
17838
17829
  errorPolicy: "all",
17839
17830
  fetchPolicy: "network-only",
17840
17831
  variables: {
@@ -17846,23 +17837,23 @@ const jd = async (n) => {
17846
17837
  if (r)
17847
17838
  return e.data?.recipients?.find((i) => i.id === r)?.addressValidationJob;
17848
17839
  });
17849
- }, Yd = async (n) => (await v.getShadowGraphqlClient().query({
17850
- query: fc,
17840
+ }, jd = async (n) => (await v.getShadowGraphqlClient().query({
17841
+ query: pc,
17851
17842
  errorPolicy: "all",
17852
17843
  fetchPolicy: "network-only",
17853
17844
  variables: {
17854
17845
  ids: n
17855
17846
  }
17856
- })).data?.addressValidationJobs, Jd = async (n) => n.getTransaction().recipient?.id ? (await v.getShadowGraphqlClient().mutate({
17857
- mutation: wc,
17847
+ })).data?.addressValidationJobs, Yd = async (n) => n.getTransaction().recipient?.id ? (await v.getShadowGraphqlClient().mutate({
17848
+ mutation: Cc,
17858
17849
  errorPolicy: "all",
17859
17850
  fetchPolicy: "network-only",
17860
17851
  variables: {
17861
17852
  id: n.getTransaction().recipient.id
17862
17853
  }
17863
- })).data?.recipientValidate : void 0, Kd = async (n) => {
17854
+ })).data?.recipientValidate : void 0, Jd = async (n) => {
17864
17855
  const t = n.map((a) => a.getTransaction().recipient?.id).filter((a) => !!a), e = await v.getShadowGraphqlClient().mutate({
17865
- mutation: yc,
17856
+ mutation: wc,
17866
17857
  errorPolicy: "all",
17867
17858
  fetchPolicy: "network-only",
17868
17859
  variables: {
@@ -17874,12 +17865,12 @@ const jd = async (n) => {
17874
17865
  if (r)
17875
17866
  return e.data?.recipientValidateBatch?.find((i) => i.entityId === r);
17876
17867
  });
17877
- }, _d = async (n) => {
17868
+ }, Kd = async (n) => {
17878
17869
  const t = n.getTransaction().recipient?.id;
17879
17870
  if (!t)
17880
17871
  return;
17881
17872
  (await v.getShadowGraphqlClient().mutate({
17882
- mutation: Sc,
17873
+ mutation: yc,
17883
17874
  errorPolicy: "all",
17884
17875
  fetchPolicy: "network-only",
17885
17876
  variables: {
@@ -17889,188 +17880,188 @@ const jd = async (n) => {
17889
17880
  };
17890
17881
  export {
17891
17882
  ga as AddonHandle,
17892
- Ec as AddressValidationJobStatus,
17893
- vc as AddressValidationResultConfirmationLevel,
17883
+ vc as AddressValidationJobStatus,
17884
+ Sc as AddressValidationResultConfirmationLevel,
17894
17885
  gn as AddressValidationStatus,
17895
- Dd as ArrayInput,
17886
+ Pd as ArrayInput,
17896
17887
  L as AspectType,
17897
17888
  Et as AssetNotFoundError,
17898
17889
  ve as AssetType,
17899
- Sd as BringForwardCommand,
17900
- yd as BringToBackCommand,
17901
- wd as BringToFrontCommand,
17902
- Tr as BundleDesignCreationCartAddMode,
17890
+ yd as BringForwardCommand,
17891
+ wd as BringToBackCommand,
17892
+ Cd as BringToFrontCommand,
17893
+ Mr as BundleDesignCreationCartAddMode,
17903
17894
  Q as CanvasCommand,
17904
17895
  he as CollectionProduct,
17905
17896
  tn as ColorOptionGlobalPropertyHandle,
17906
- ys as CommandContext,
17897
+ ws as CommandContext,
17907
17898
  ye as ConversionDataType,
17908
- mc as ConversionLocation,
17899
+ hc as ConversionLocation,
17909
17900
  z as CreateElementCommand,
17910
17901
  Yn as CreateLayoutCommand,
17911
- _l as CurrencyContext,
17912
- Kl as CurrencyService,
17902
+ Kl as CurrencyContext,
17903
+ Jl as CurrencyService,
17913
17904
  Tt as DeleteElementCommand,
17914
- nl as DigitalContentStepHandle,
17915
- vl as FileUploadGlobalPropertyHandle,
17905
+ al as DigitalContentStepHandle,
17906
+ Sl as FileUploadGlobalPropertyHandle,
17916
17907
  me as FlowExecutionNodeResult,
17917
- Gl as FlowExecutionResult,
17918
- zl as FlowService,
17919
- bs as FontAlignmentCommand,
17920
- vs as FontColorCommand,
17921
- Es as FontSizeCommand,
17908
+ zl as FlowExecutionResult,
17909
+ Vl as FlowService,
17910
+ Es as FontAlignmentCommand,
17911
+ Ss as FontColorCommand,
17912
+ vs as FontSizeCommand,
17922
17913
  ja as FontSourceCommand,
17923
- nc as FrameService,
17924
- rc as FrameStep,
17925
- ic as FrameStepHandle,
17914
+ ac as FrameService,
17915
+ nc as FrameStep,
17916
+ rc as FrameStepHandle,
17926
17917
  Da as GlobalPropertyHandle,
17927
17918
  O as GroupCommand,
17928
- Jo as IllustrationStepHandle,
17919
+ Yo as IllustrationStepHandle,
17929
17920
  Ue as InformationMessageType,
17930
- al as InformationStepHandle,
17921
+ el as InformationStepHandle,
17931
17922
  en as IntegrationProduct,
17932
- Qr as IntegrationType,
17933
- md as LayoutElementFactory,
17923
+ Nr as IntegrationType,
17924
+ hd as LayoutElementFactory,
17934
17925
  x as LayoutElementType,
17935
17926
  H as LayoutNotFoundError,
17936
- Ht as LayoutRenderingPurpose,
17937
- Ko as MaterialStepHandle,
17927
+ jt as LayoutRenderingPurpose,
17928
+ Jo as MaterialStepHandle,
17938
17929
  Ie as MisconfigurationError,
17939
- Qd as MockWorkflowManager,
17940
- _o as ModelStepHandle,
17941
- rl as ModuleStepHandle,
17942
- gd as MoveCommand,
17930
+ Nd as MockWorkflowManager,
17931
+ Ko as ModelStepHandle,
17932
+ nl as ModuleStepHandle,
17933
+ md as MoveCommand,
17943
17934
  dr as ObjectInput,
17944
- Wl as ObjectInputType,
17935
+ Gl as ObjectInputType,
17945
17936
  or as OptionGlobalPropertyHandle,
17946
17937
  be as OptionNotFoundError,
17947
17938
  Bt as ParseError,
17948
- Xo as PictureStepHandle,
17949
- Rr as ProductCameraRig,
17939
+ _o as PictureStepHandle,
17940
+ Qr as ProductCameraRig,
17950
17941
  cr as ProductCollection,
17951
- Tl as ProductCollectionProductSortKey,
17952
- Gt as ProductWorkflow,
17953
- Jt as PromiseCache,
17942
+ Ml as ProductCollectionProductSortKey,
17943
+ Wt as ProductWorkflow,
17944
+ Kt as PromiseCache,
17954
17945
  Rn as PromiseQueue,
17955
- Zo as QuestionStepHandle,
17946
+ Xo as QuestionStepHandle,
17956
17947
  Qn as QueueablePromise,
17957
- fd as ResizeCommand,
17958
- jt as ResourceNotFoundError,
17959
- pd as RotateCommand,
17948
+ pd as ResizeCommand,
17949
+ Yt as ResourceNotFoundError,
17950
+ gd as RotateCommand,
17960
17951
  W as ScaleAxis,
17961
- vd as SendBackwardsCommand,
17962
- tl as ShapeStepHandle,
17963
- Nr as ShareActionType,
17964
- Fd as SpiffCommerceClient,
17952
+ Sd as SendBackwardsCommand,
17953
+ Zo as ShapeStepHandle,
17954
+ Tr as ShareActionType,
17955
+ Dd as SpiffCommerceClient,
17965
17956
  Ee as StakeholderType,
17966
- Mr as StepAspectType,
17957
+ kr as StepAspectType,
17967
17958
  X as StepHandle,
17968
17959
  E as StepType,
17969
17960
  xt as TextAlgorithm,
17970
- Ps as TextChangeCommand,
17971
- El as TextGlobalPropertyHandle,
17972
- Pd as TextInput,
17973
- el as TextStepHandle,
17974
- Ql as Transform,
17975
- Nl as TransformCollection,
17961
+ Bs as TextChangeCommand,
17962
+ vl as TextGlobalPropertyHandle,
17963
+ Bd as TextInput,
17964
+ tl as TextStepHandle,
17965
+ Nl as Transform,
17966
+ Tl as TransformCollection,
17976
17967
  T as UnhandledBehaviorError,
17977
- Or as UnitOfMeasurement,
17978
- Cd as UpdateImageSourceCommand,
17968
+ Rr as UnitOfMeasurement,
17969
+ fd as UpdateImageSourceCommand,
17979
17970
  it as Variant,
17980
- fl as WorkflowExperienceEventType,
17981
- Cl as WorkflowExperienceImpl,
17971
+ pl as WorkflowExperienceEventType,
17972
+ fl as WorkflowExperienceImpl,
17982
17973
  $ as assetService,
17983
- ci as browserColorToHex,
17984
- ud as cmPerPixel,
17985
- dl as createDesign,
17986
- cd as currentDirection,
17987
- _c as dataUrlFromExternalUrl,
17988
- Nd as deleteBundle,
17974
+ li as browserColorToHex,
17975
+ Ad as cmPerPixel,
17976
+ cl as createDesign,
17977
+ ld as currentDirection,
17978
+ Kc as dataUrlFromExternalUrl,
17979
+ Td as deleteBundle,
17989
17980
  Xe as designService,
17990
17981
  we as determineCorrectFontSizeAndLines,
17991
17982
  Kn as digitalContentStepService,
17992
17983
  dt as domParser,
17993
- $d as duplicateBundle,
17994
- Ud as duplicateTransaction,
17984
+ Od as duplicateBundle,
17985
+ $d as duplicateTransaction,
17995
17986
  at as fetchAsString,
17996
- ad as findAngle,
17987
+ ed as findAngle,
17997
17988
  U as findElement,
17998
- td as findPmsColors,
17989
+ Zc as findPmsColors,
17999
17990
  Lt as frameDataCache,
18000
17991
  yt as frameStepService,
18001
17992
  M as generate,
18002
- oo as generateCommands,
17993
+ so as generateCommands,
18003
17994
  ot as generateSVGWithUnknownColors,
18004
- bd as generateStateFromDesignInputSteps,
18005
- Yd as getAddressValidationJobs,
17995
+ Ed as generateStateFromDesignInputSteps,
17996
+ jd as getAddressValidationJobs,
18006
17997
  Re as getAttributesFromArrayBuffer,
18007
- ed as getAxisAlignedBoundingBox,
18008
- ac as getBoundedOffsets,
18009
- Md as getBundleThemeConfiguration,
18010
- Ld as getCustomer,
18011
- Vd as getCustomerBundles,
18012
- dd as getElementVertices,
17998
+ td as getAxisAlignedBoundingBox,
17999
+ ec as getBoundedOffsets,
18000
+ kd as getBundleThemeConfiguration,
18001
+ Ud as getCustomer,
18002
+ Ld as getCustomerBundles,
18003
+ cd as getElementVertices,
18013
18004
  $e as getFrameData,
18014
- Id as getGlobalPropertyStateForBundle,
18015
- ec as getIntegration,
18016
- od as getNEPoint,
18017
- sd as getNWPoint,
18018
- Wd as getOrderedTransactions,
18019
- kd as getOverrideThemeConfiguration,
18020
- id as getPointOfRotation,
18021
- Bd as getProductCollections,
18022
- ld as getSEPoint,
18005
+ bd as getGlobalPropertyStateForBundle,
18006
+ tc as getIntegration,
18007
+ sd as getNEPoint,
18008
+ id as getNWPoint,
18009
+ Gd as getOrderedTransactions,
18010
+ xd as getOverrideThemeConfiguration,
18011
+ rd as getPointOfRotation,
18012
+ Id as getProductCollections,
18013
+ od as getSEPoint,
18023
18014
  Ea as getSvgElement,
18024
- Hd as getTemplateBundles,
18025
- qd as getTemplateTransactions,
18026
- xd as getTransaction,
18027
- Td as getTransactionThemeConfiguration,
18028
- zd as getTransactionsForBundle,
18029
- rd as getTrueCoordinates,
18030
- Gd as getUnorderedTransactions,
18031
- jd as getValidationJobsForWorkflowExperiences,
18032
- tc as getWorkflow,
18015
+ qd as getTemplateBundles,
18016
+ Wd as getTemplateTransactions,
18017
+ Fd as getTransaction,
18018
+ Md as getTransactionThemeConfiguration,
18019
+ Vd as getTransactionsForBundle,
18020
+ nd as getTrueCoordinates,
18021
+ zd as getUnorderedTransactions,
18022
+ Hd as getValidationJobsForWorkflowExperiences,
18023
+ Zl as getWorkflow,
18033
18024
  Ar as getWorkflows,
18034
18025
  v as graphQlManager,
18035
18026
  Ce as illustrationStepService,
18036
- nd as isCloseToValue,
18027
+ ad as isCloseToValue,
18037
18028
  Mt as loadFont,
18038
- Zc as matchHexToPms,
18029
+ Xc as matchHexToPms,
18039
18030
  _n as materialStepService,
18040
- Ml as metafieldManager,
18041
- Ad as mmPerPixel,
18031
+ kl as metafieldManager,
18032
+ dd as mmPerPixel,
18042
18033
  Xn as modelStepService,
18043
18034
  Sa as modifySVGColors,
18044
18035
  Zn as moduleStepService,
18045
- Rd as nameBundle,
18046
- Od as nameTransaction,
18036
+ Qd as nameBundle,
18037
+ Rd as nameTransaction,
18047
18038
  q as optionService,
18048
- hd as outlineFontsInSvg,
18049
- _d as overrideWorkflowExperienceRecipientAddress,
18039
+ ud as outlineFontsInSvg,
18040
+ Kd as overrideWorkflowExperienceRecipientAddress,
18050
18041
  ut as patternImageDataCache,
18051
18042
  k as persistenceService,
18052
18043
  tr as pictureStepService,
18053
- Xc as pmsToRgb,
18044
+ _c as pmsToRgb,
18054
18045
  er as questionStepService,
18055
- Kc as registerFetchImplementation,
18056
- Jc as registerWindowImplementation,
18046
+ Jc as registerFetchImplementation,
18047
+ Yc as registerWindowImplementation,
18057
18048
  qa as rehydrateSerializedLayout,
18058
- si as rgbToPms,
18049
+ ii as rgbToPms,
18059
18050
  de as rotateAroundPoint,
18060
18051
  wa as sanitizeSvgTree,
18061
- _r as setBearerAuthenticationToken,
18052
+ Kr as setBearerAuthenticationToken,
18062
18053
  vn as setCanvasModule,
18063
18054
  Vt as shapeStepService,
18064
- Fs as shortenUrl,
18055
+ Ds as shortenUrl,
18065
18056
  gt as spiffCoreConfiguration,
18066
- Ed as stepAspectValuesToDesignInputSteps,
18057
+ vd as stepAspectValuesToDesignInputSteps,
18067
18058
  La as svgColorValueToDefinition,
18068
18059
  Hn as svgStringDimensions,
18069
18060
  pa as svgToDataUrl,
18070
18061
  G as textStepService,
18071
- Us as toast,
18072
- Jd as validateWorkflowExperienceRecipient,
18073
- Kd as validateWorkflowExperienceRecipients,
18062
+ $s as toast,
18063
+ Yd as validateWorkflowExperienceRecipient,
18064
+ Jd as validateWorkflowExperienceRecipients,
18074
18065
  bt as xmlSerializer
18075
18066
  };
18076
18067
  //# sourceMappingURL=index.mjs.map