@expedite-commerce/expedite-components 0.2.122 → 0.2.124

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.
@@ -1,4 +1,4 @@
1
- import { openBlock as B, createElementBlock as q, normalizeClass as Re, normalizeStyle as De, createElementVNode as _, ref as z, onMounted as xt, onBeforeUnmount as or, renderSlot as ot, onUnmounted as Ws, createBlock as Ae, withCtx as ze, createVNode as ce, createCommentVNode as ie, toDisplayString as ve, resolveComponent as tn, resolveDynamicComponent as Br, mergeProps as lo, withModifiers as yt, createTextVNode as je, unref as Ie, Fragment as Te, renderList as Le, inject as Qs, computed as fe, onBeforeUpdate as $0, pushScopeId as Gt, popScopeId as Kt, withKeys as kn, onBeforeMount as on, watch as Xe, resolveDirective as Zs, withDirectives as dn, vModelDynamic as U0, nextTick as Ht, vModelText as uo, defineComponent as j0, h as H0, vModelCheckbox as Js, vModelRadio as V0, vShow as Ys, reactive as z0, mergeModels as zl, useModel as G0, createStaticVNode as so, Transition as K0, Teleport as ec, watchEffect as Gl } from "vue";
1
+ import { openBlock as B, createElementBlock as q, normalizeClass as Re, normalizeStyle as De, createElementVNode as _, ref as z, onMounted as xt, onBeforeUnmount as or, renderSlot as ot, onUnmounted as Ws, createBlock as Ae, withCtx as ze, createVNode as se, createCommentVNode as ie, toDisplayString as ge, resolveComponent as tn, resolveDynamicComponent as Br, mergeProps as lo, withModifiers as yt, createTextVNode as je, unref as Ie, Fragment as Te, renderList as Le, inject as Qs, computed as fe, onBeforeUpdate as $0, pushScopeId as Gt, popScopeId as Kt, withKeys as kn, onBeforeMount as on, watch as Xe, resolveDirective as Zs, withDirectives as dn, vModelDynamic as U0, nextTick as Ht, vModelText as uo, defineComponent as j0, h as H0, vModelCheckbox as Js, vModelRadio as V0, vShow as Ys, reactive as z0, mergeModels as zl, useModel as G0, createStaticVNode as so, Transition as K0, Teleport as ec, watchEffect as Gl } from "vue";
2
2
  import { defineStore as St } from "pinia";
3
3
  const Ne = (e, r) => {
4
4
  const t = e.__vccOpts || e;
@@ -146,7 +146,7 @@ const He = /* @__PURE__ */ Ne(X0, [["render", J0], ["__scopeId", "data-v-480610f
146
146
  "data-test-id": `${e.dataTestId}-close-button`,
147
147
  onClick: t[0] || (t[0] = (n) => r.$emit("clicked"))
148
148
  }, [
149
- ce(He, {
149
+ se(He, {
150
150
  icon: "close",
151
151
  size: 10,
152
152
  "data-test-id": `${e.dataTestId}-close-icon`
@@ -161,7 +161,7 @@ const He = /* @__PURE__ */ Ne(X0, [["render", J0], ["__scopeId", "data-v-480610f
161
161
  _("p", {
162
162
  class: "widget-upload__heading",
163
163
  "data-test-id": `${e.dataTestId}-title`
164
- }, ve(e.title), 9, od),
164
+ }, ge(e.title), 9, od),
165
165
  ot(r.$slots, "header-action", {}, void 0, !0)
166
166
  ], 12, rd)) : ie("", !0),
167
167
  _("div", {
@@ -244,8 +244,8 @@ const He = /* @__PURE__ */ Ne(X0, [["render", J0], ["__scopeId", "data-v-480610f
244
244
  _("div", cd, [
245
245
  e.header ? (B(), q("div", dd, [
246
246
  _("div", fd, [
247
- _("div", hd, ve(e.title), 1),
248
- e.description ? (B(), q("div", pd, ve(e.description), 1)) : ie("", !0)
247
+ _("div", hd, ge(e.title), 1),
248
+ e.description ? (B(), q("div", pd, ge(e.description), 1)) : ie("", !0)
249
249
  ])
250
250
  ])) : ie("", !0),
251
251
  e.noClose ? ie("", !0) : (B(), q("div", md, [
@@ -254,7 +254,7 @@ const He = /* @__PURE__ */ Ne(X0, [["render", J0], ["__scopeId", "data-v-480610f
254
254
  "aria-label": "Close modal",
255
255
  onClick: o[0] || (o[0] = (a) => t("close"))
256
256
  }, [
257
- ce(He, {
257
+ se(He, {
258
258
  icon: "close",
259
259
  color: "#000000",
260
260
  size: "11",
@@ -364,14 +364,14 @@ function xd(e, r, t, n, o, a) {
364
364
  default: ze(() => [
365
365
  _("span", bd, [
366
366
  ot(e.$slots, "default", {}, () => [
367
- je(ve(t.text), 1)
367
+ je(ge(t.text), 1)
368
368
  ], !0)
369
369
  ], 512),
370
370
  t.loading ? (B(), q("span", {
371
371
  key: 0,
372
372
  class: Re(["loader", { "": !a.isTextSpanEmpty }])
373
373
  }, [
374
- ce(i, {
374
+ se(i, {
375
375
  icon: "loading",
376
376
  color: a.loaderColor,
377
377
  size: "16"
@@ -417,7 +417,7 @@ const Lt = /* @__PURE__ */ Ne(vd, [["render", xd], ["__scopeId", "data-v-6a4e923
417
417
  onClick: i
418
418
  }, {
419
419
  default: ze(() => [
420
- je(ve(e.data.cancel.label), 1)
420
+ je(ge(e.data.cancel.label), 1)
421
421
  ]),
422
422
  _: 1
423
423
  })) : ie("", !0),
@@ -429,7 +429,7 @@ const Lt = /* @__PURE__ */ Ne(vd, [["render", xd], ["__scopeId", "data-v-6a4e923
429
429
  onClick: a
430
430
  }, {
431
431
  default: ze(() => [
432
- je(ve(e.data.button.label), 1)
432
+ je(ge(e.data.button.label), 1)
433
433
  ]),
434
434
  _: 1
435
435
  })) : ie("", !0)
@@ -441,7 +441,7 @@ const Lt = /* @__PURE__ */ Ne(vd, [["render", xd], ["__scopeId", "data-v-6a4e923
441
441
  key: c,
442
442
  class: "ect-flex ect-items-center ect-align-center ect-gap-2"
443
443
  }, [
444
- ce(He, {
444
+ se(He, {
445
445
  icon: e.data.icon,
446
446
  size: 16,
447
447
  height: 16,
@@ -452,7 +452,7 @@ const Lt = /* @__PURE__ */ Ne(vd, [["render", xd], ["__scopeId", "data-v-6a4e923
452
452
  class: "ect-text-sm ect-leading-5 ect-text-neutral-700 ect-my-2 ect-max-md:max-w-full"
453
453
  }, null, 8, Cd)
454
454
  ]))), 128))
455
- ])) : (B(), q("p", Ed, ve(e.data.body), 1))
455
+ ])) : (B(), q("p", Ed, ge(e.data.body), 1))
456
456
  ]),
457
457
  _: 1
458
458
  }, 8, ["title", "description"]));
@@ -2551,30 +2551,30 @@ const pn = St("comConfigurator", () => {
2551
2551
  var Ce;
2552
2552
  if (!l.value || !((Ce = l.value.categoryOptions) != null && Ce.length) > 0)
2553
2553
  return !1;
2554
- let ne = !0, pe = !0, be = !0, re = null, se = !1;
2554
+ let ne = !0, pe = !0, be = !0, re = null, ue = !1;
2555
2555
  for (const Ue of l.value.categoryOptions)
2556
2556
  for (const We of Ue.itemTypes)
2557
2557
  for (const Ge of We.options)
2558
- Ge.billingPeriod && (re && re !== Ge.billingPeriod && (be = !1), re = Ge.billingPeriod, !Ge.yrcPrice && Ge.billingPeriod === "Monthly" && (ne = !1), !Ge.mrcPrice && Ge.billingPeriod === "Yearly" && (pe = !1), se = !0);
2559
- return ne && pe && be && se;
2558
+ Ge.billingPeriod && (re && re !== Ge.billingPeriod && (be = !1), re = Ge.billingPeriod, !Ge.yrcPrice && Ge.billingPeriod === "Monthly" && (ne = !1), !Ge.mrcPrice && Ge.billingPeriod === "Yearly" && (pe = !1), ue = !0);
2559
+ return ne && pe && be && ue;
2560
2560
  }), T = fe(() => M.value.init ? !1 : Ha(l.value) !== c.value), $ = fe(() => {
2561
2561
  var pe;
2562
2562
  const ne = ((pe = l.value) == null ? void 0 : pe.categoryOptions) || [];
2563
2563
  return ne.forEach((be) => {
2564
2564
  be.itemTypes.forEach((re) => {
2565
- re.selectedOptions = re.options.filter((se) => re.selected.includes(se.itemId)), re.totalPrice = function() {
2566
- return re.selectedOptions.reduce((se, Ce) => se + Ce.price * Ce.qty, 0) || 0;
2565
+ re.selectedOptions = re.options.filter((ue) => re.selected.includes(ue.itemId)), re.totalPrice = function() {
2566
+ return re.selectedOptions.reduce((ue, Ce) => ue + Ce.price * Ce.qty, 0) || 0;
2567
2567
  }, re.oneTimePrice = function() {
2568
- return re.selectedOptions.filter((se) => !se.billingPeriod).reduce((se, Ce) => se + Ce.price * Ce.qty, 0) || 0;
2568
+ return re.selectedOptions.filter((ue) => !ue.billingPeriod).reduce((ue, Ce) => ue + Ce.price * Ce.qty, 0) || 0;
2569
2569
  }, re.recurringPrice = function() {
2570
- return re.selectedOptions.filter((se) => se.billingPeriod).reduce((se, Ce) => se + Ce.price * Ce.qty, 0) || 0;
2570
+ return re.selectedOptions.filter((ue) => ue.billingPeriod).reduce((ue, Ce) => ue + Ce.price * Ce.qty, 0) || 0;
2571
2571
  };
2572
2572
  }), be.selectedItemTypes = be.itemTypes.filter((re) => re.selected.length > 0), be.totalPrice = function() {
2573
- return be.itemTypes.reduce((re, se) => re + se.totalPrice(), 0);
2573
+ return be.itemTypes.reduce((re, ue) => re + ue.totalPrice(), 0);
2574
2574
  }, be.oneTimePrice = function() {
2575
- return be.itemTypes.reduce((re, se) => re + se.oneTimePrice(), 0);
2575
+ return be.itemTypes.reduce((re, ue) => re + ue.oneTimePrice(), 0);
2576
2576
  }, be.recurringPrice = function() {
2577
- return be.itemTypes.reduce((re, se) => re + se.recurringPrice(), 0);
2577
+ return be.itemTypes.reduce((re, ue) => re + ue.recurringPrice(), 0);
2578
2578
  };
2579
2579
  }), ne.filter((be) => be.itemTypes.filter((re) => re.selected.length > 0).length > 0);
2580
2580
  }), G = fe(() => $.value.reduce((ne, pe) => ne + pe.totalPrice(), 0)), j = fe(() => {
@@ -2589,7 +2589,7 @@ const pn = St("comConfigurator", () => {
2589
2589
  console.info("summary", $.value);
2590
2590
  const ne = $.value.reduce((nt, st) => nt + st.totalPrice(), 0);
2591
2591
  console.info("addOnsTotal", ne);
2592
- const pe = $.value.reduce((nt, st) => nt + st.oneTimePrice(), 0), be = $.value.reduce((nt, st) => nt + st.recurringPrice(), 0), re = l.value.price || 0, se = l.value.qty || 1, Ce = re * se, Ue = !!l.value.billingPeriod, We = Ue ? 0 : Ce, Ge = Ue ? Ce : 0, lt = We + pe, Qe = Ge + be, ut = lt + Qe;
2592
+ const pe = $.value.reduce((nt, st) => nt + st.oneTimePrice(), 0), be = $.value.reduce((nt, st) => nt + st.recurringPrice(), 0), re = l.value.price || 0, ue = l.value.qty || 1, Ce = re * ue, Ue = !!l.value.billingPeriod, We = Ue ? 0 : Ce, Ge = Ue ? Ce : 0, lt = We + pe, Qe = Ge + be, ut = lt + Qe;
2593
2593
  return {
2594
2594
  basePrice: re,
2595
2595
  addOns: ne,
@@ -2598,9 +2598,9 @@ const pn = St("comConfigurator", () => {
2598
2598
  total: ut
2599
2599
  };
2600
2600
  }), Z = fe(() => {
2601
- var pe, be, re, se;
2601
+ var pe, be, re, ue;
2602
2602
  const ne = /* @__PURE__ */ new Map();
2603
- return (pe = m.value) != null && pe.productLineItem && ne.set((be = m.value) == null ? void 0 : be.productLineItem.XX_ORD1__Item__c, (re = m.value) == null ? void 0 : re.productLineItem), (se = m.value) == null || se.options.forEach((Ce) => {
2603
+ return (pe = m.value) != null && pe.productLineItem && ne.set((be = m.value) == null ? void 0 : be.productLineItem.XX_ORD1__Item__c, (re = m.value) == null ? void 0 : re.productLineItem), (ue = m.value) == null || ue.options.forEach((Ce) => {
2604
2604
  ne.set(Ce.XX_ORD1__Item__c, Ce);
2605
2605
  }), ne;
2606
2606
  }), Y = fe(() => {
@@ -2608,8 +2608,8 @@ const pn = St("comConfigurator", () => {
2608
2608
  const ne = /* @__PURE__ */ new Map();
2609
2609
  return ne.set(l.value.publishKey, l.value), l.value && ((pe = l.value.categoryOptions) == null ? void 0 : pe.length) > 0 && l.value.categoryOptions.forEach((be) => {
2610
2610
  be.itemTypes.forEach((re) => {
2611
- re.options.forEach((se) => {
2612
- ne.set(se.publishKey, se);
2611
+ re.options.forEach((ue) => {
2612
+ ne.set(ue.publishKey, ue);
2613
2613
  });
2614
2614
  });
2615
2615
  }), ne;
@@ -2618,22 +2618,22 @@ const pn = St("comConfigurator", () => {
2618
2618
  const ne = /* @__PURE__ */ new Map();
2619
2619
  return ne.set(l.value.publishKey.toLowerCase(), l.value.publishKey), l.value && ((pe = l.value.categoryOptions) == null ? void 0 : pe.length) > 0 && l.value.categoryOptions.forEach((be) => {
2620
2620
  be.itemTypes.forEach((re) => {
2621
- re.options.forEach((se) => {
2622
- ne.set(se.publishKey.toLowerCase(), se.publishKey);
2621
+ re.options.forEach((ue) => {
2622
+ ne.set(ue.publishKey.toLowerCase(), ue.publishKey);
2623
2623
  });
2624
2624
  });
2625
2625
  }), ne;
2626
2626
  }), P = fe(() => {
2627
2627
  if (!l.value)
2628
2628
  return {};
2629
- const ne = (re) => !re || !Array.isArray(re) ? [] : re.map((se) => ({
2630
- label: se.label,
2631
- field: se.apiName,
2632
- dataType: se.dataType,
2633
- picklistValues: se.picklistValues,
2634
- isEditable: se.editable,
2635
- defaultValue: se.defaultValue,
2636
- value: se.dataType === "BOOLEAN" ? se.value ? "true" : "false" : se.dataType === "REFERENCE" ? se.referenceRecordId || se.value || "" : se.value || ""
2629
+ const ne = (re) => !re || !Array.isArray(re) ? [] : re.map((ue) => ({
2630
+ label: ue.label,
2631
+ field: ue.apiName,
2632
+ dataType: ue.dataType,
2633
+ picklistValues: ue.picklistValues,
2634
+ isEditable: ue.editable,
2635
+ defaultValue: ue.defaultValue,
2636
+ value: ue.dataType === "BOOLEAN" ? ue.value ? "true" : "false" : ue.dataType === "REFERENCE" ? ue.referenceRecordId || ue.value || "" : ue.value || ""
2637
2637
  })), pe = {
2638
2638
  itemId: l.value.itemId,
2639
2639
  qliId: l.value.qliId || null,
@@ -2645,9 +2645,9 @@ const pn = St("comConfigurator", () => {
2645
2645
  attributes: ne(l.value.attributes)
2646
2646
  }, be = [];
2647
2647
  return l.value.categoryOptions.forEach((re) => {
2648
- re.itemTypes.forEach((se) => {
2649
- se.options.forEach((Ce) => {
2650
- se.selected.includes(Ce.itemId) && be.push({
2648
+ re.itemTypes.forEach((ue) => {
2649
+ ue.options.forEach((Ce) => {
2650
+ ue.selected.includes(Ce.itemId) && be.push({
2651
2651
  itemId: Ce.itemId,
2652
2652
  qliId: Ce.qliId || null,
2653
2653
  name: Ce.itemName,
@@ -2669,18 +2669,18 @@ const pn = St("comConfigurator", () => {
2669
2669
  return [];
2670
2670
  const ne = [], pe = l.value;
2671
2671
  return (be = pe == null ? void 0 : pe.categoryOptions) != null && be.length && pe.categoryOptions.forEach((re) => {
2672
- re.itemTypes.forEach((se) => {
2672
+ re.itemTypes.forEach((ue) => {
2673
2673
  const Ce = {
2674
2674
  tab: re.key,
2675
- type: se.itemTypeId
2675
+ type: ue.itemTypeId
2676
2676
  };
2677
- if (se.minNumber > se.selected.length) {
2678
- const Ue = se.minNumber === 1 ? "item" : "items";
2679
- Ce.message = `<b>Minimum of ${se.minNumber} ${Ue}</b> must be selected under ${re.category} > <b>${se.itemTypeName}</b>`, ne.push(Ce);
2677
+ if (ue.minNumber > ue.selected.length) {
2678
+ const Ue = ue.minNumber === 1 ? "item" : "items";
2679
+ Ce.message = `<b>Minimum of ${ue.minNumber} ${Ue}</b> must be selected under ${re.category} > <b>${ue.itemTypeName}</b>`, ne.push(Ce);
2680
2680
  }
2681
- if (se.maxNumber < se.selected.length) {
2682
- const Ue = se.maxNumber === 1 ? "item" : "items";
2683
- Ce.message = `<b>Maximum of ${se.maxNumber} ${Ue}</b> can be selected under ${re.category} > <b>${se.itemTypeName}</b>`, ne.push(Ce);
2681
+ if (ue.maxNumber < ue.selected.length) {
2682
+ const Ue = ue.maxNumber === 1 ? "item" : "items";
2683
+ Ce.message = `<b>Maximum of ${ue.maxNumber} ${Ue}</b> can be selected under ${re.category} > <b>${ue.itemTypeName}</b>`, ne.push(Ce);
2684
2684
  }
2685
2685
  });
2686
2686
  }), ne;
@@ -2698,8 +2698,8 @@ const pn = St("comConfigurator", () => {
2698
2698
  const { itemMapById: ne, selectedItemsByTypeMap: pe } = u.value;
2699
2699
  l.value.itemName = ne.get(l.value.itemId).itemName, l.value.qty = ne.get(l.value.itemId).qty, l.value.price = ne.get(l.value.itemId).price, l.value.attributes = R(l.value.attributes, ne.get(l.value.itemId).attributes), l.value.categoryOptions.forEach((be) => {
2700
2700
  be.itemTypes.forEach((re) => {
2701
- re.selected = JSON.parse(JSON.stringify(pe.get(re.itemTypeId))), re.options.forEach((se) => {
2702
- se.itemName = ne.get(se.itemId).itemName, se.qty = ne.get(se.itemId).qty, se.price = ne.get(se.itemId).price, se.attributes = R(se.attributes, ne.get(se.itemId).attributes);
2701
+ re.selected = JSON.parse(JSON.stringify(pe.get(re.itemTypeId))), re.options.forEach((ue) => {
2702
+ ue.itemName = ne.get(ue.itemId).itemName, ue.qty = ne.get(ue.itemId).qty, ue.price = ne.get(ue.itemId).price, ue.attributes = R(ue.attributes, ne.get(ue.itemId).attributes);
2703
2703
  });
2704
2704
  });
2705
2705
  });
@@ -2710,9 +2710,9 @@ const pn = St("comConfigurator", () => {
2710
2710
  ne.options.forEach((re) => {
2711
2711
  be.set(re.itemId, re);
2712
2712
  }), l.value.itemName = ne.product.name, l.value.qty = ne.product.qty, l.value.price = ne.product.salesPrice, l.value.attributes = R(l.value.attributes, ne.product.attributes), l.value.categoryOptions.forEach((re) => {
2713
- re.itemTypes.forEach((se) => {
2714
- se.selected = [], se.options.forEach((Ce) => {
2715
- be.has(Ce.itemId) && (Ce.itemName = be.get(Ce.itemId).name, Ce.qty = be.get(Ce.itemId).qty, Ce.price = be.get(Ce.itemId).salesPrice, Ce.qliId = be.get(Ce.itemId).qliId, Ce.attributes = R(Ce.attributes, be.get(Ce.itemId).attributes), se.selected.push(Ce.itemId));
2713
+ re.itemTypes.forEach((ue) => {
2714
+ ue.selected = [], ue.options.forEach((Ce) => {
2715
+ be.has(Ce.itemId) && (Ce.itemName = be.get(Ce.itemId).name, Ce.qty = be.get(Ce.itemId).qty, Ce.price = be.get(Ce.itemId).salesPrice, Ce.qliId = be.get(Ce.itemId).qliId, Ce.attributes = R(Ce.attributes, be.get(Ce.itemId).attributes), ue.selected.push(Ce.itemId));
2716
2716
  });
2717
2717
  });
2718
2718
  }), l.value = { ...l.value };
@@ -2749,8 +2749,8 @@ const pn = St("comConfigurator", () => {
2749
2749
  }
2750
2750
  async function K(ne, pe, be, re) {
2751
2751
  M.value.init = !0, console.time("CONFIGURATOR INIT CONFIGURATOR"), V(), console.timeLog("CONFIGURATOR INIT CONFIGURATOR", "1"), a.value = ne, i.value = pe || null, n.value = be || t.quoteId, o.value = re || t.eCatalogId;
2752
- const se = await J();
2753
- console.timeLog("CONFIGURATOR INIT CONFIGURATOR", "2"), l.value = te(se), i.value ? await X() : n.value && ee(), c.value = Ha(l.value), u.value = Zl(l.value), M.value.init = !1;
2752
+ const ue = await J();
2753
+ console.timeLog("CONFIGURATOR INIT CONFIGURATOR", "2"), l.value = te(ue), i.value ? await X() : n.value && ee(), c.value = Ha(l.value), u.value = Zl(l.value), Ee(null, null), M.value.init = !1;
2754
2754
  }
2755
2755
  async function X() {
2756
2756
  await ee(), oe(l.value), l.value.categoryOptions.forEach((ne) => {
@@ -2781,22 +2781,22 @@ const pn = St("comConfigurator", () => {
2781
2781
  const pe = /* @__PURE__ */ new Set();
2782
2782
  return f.value.forEach((be) => {
2783
2783
  const re = JSON.parse(be.ruleJson);
2784
- re.optionSelected.forEach((se) => {
2785
- pe.add(se);
2786
- }), re.affectedOptions.forEach((se) => {
2787
- pe.add(se);
2784
+ re.optionSelected.forEach((ue) => {
2785
+ pe.add(ue);
2786
+ }), re.affectedOptions.forEach((ue) => {
2787
+ pe.add(ue);
2788
2788
  });
2789
2789
  }), console.info("rulesByPublishKey", pe), ne.categoryOptions || (ne.categoryOptions = []), oe(ne), ne.defaultImageURL = t.getFullUrl(ne.defaultImageURL), ne.categoryOptions.forEach((be) => {
2790
2790
  be.key = be.category.toLowerCase().replace(/\s+/g, "-").replace(/[&]/g, ""), be.itemTypes.forEach((re) => {
2791
2791
  if (re.selected = [], re.numberOfColumns || (re.numberOfColumns = 1), re.numberOfColumns > 1 && (re.lightboxAttributes = !0), re.maxQuantity || (re.maxQuantity = 1e4), re.minQuantity || (re.minQuantity = 1), re.maxNumber === 1)
2792
- re.isRadio = !0, re.minMaxMessage = "Minimum of 1 selection is required", re.isKit = re.options.some((se) => se.relationshipInfo.relationship === "Kit");
2792
+ re.isRadio = !0, re.minMaxMessage = "Minimum of 1 selection is required", re.isKit = re.options.some((ue) => ue.relationshipInfo.relationship === "Kit");
2793
2793
  else {
2794
- const se = re.minNumber != null && re.minNumber !== 0, Ce = re.maxNumber != null && re.maxNumber !== 0;
2794
+ const ue = re.minNumber != null && re.minNumber !== 0, Ce = re.maxNumber != null && re.maxNumber !== 0;
2795
2795
  let Ue = "";
2796
- if (se && Ce) {
2796
+ if (ue && Ce) {
2797
2797
  const We = re.maxNumber !== 1 ? "selections" : "selection";
2798
2798
  Ue = `Minimum of ${re.minNumber} and maximum of ${re.maxNumber} ${We} are allowed`;
2799
- } else if (se) {
2799
+ } else if (ue) {
2800
2800
  const We = re.minNumber !== 1 ? "selections" : "selection";
2801
2801
  Ue = `Minimum of ${re.minNumber} ${We} required`;
2802
2802
  } else if (Ce) {
@@ -2805,15 +2805,15 @@ const pn = St("comConfigurator", () => {
2805
2805
  }
2806
2806
  re.minMaxMessage = Ue;
2807
2807
  }
2808
- re.maxNumber || (re.maxNumber = 100), re.minNumber || (re.minNumber = 0), re.options.forEach((se) => {
2809
- be.showImage = be.showImage || !!se.defaultImageURL, se.defaultImageURL = t.getFullUrl(se.defaultImageURL), se.showAttributesModal = !1, se.calculateRules = !0, se.calculatePricing = !0, console.info("option.calculatePricing, option.calculateRules, ", se.itemName, se.calculatePricing, se.calculateRules), se.qty = re.minQuantity || 1, se.getTags = () => (se.attributes = se.attributes || [], se.attributes.filter((Ce) => Ce.value !== null && Ce.value !== "").map((Ce) => ({
2808
+ re.maxNumber || (re.maxNumber = 100), re.minNumber || (re.minNumber = 0), re.options.forEach((ue) => {
2809
+ be.showImage = be.showImage || !!ue.defaultImageURL, ue.defaultImageURL = t.getFullUrl(ue.defaultImageURL), ue.showAttributesModal = !1, ue.calculateRules = !0, ue.calculatePricing = !0, console.info("option.calculatePricing, option.calculateRules, ", ue.itemName, ue.calculatePricing, ue.calculateRules), ue.qty = re.minQuantity || 1, ue.getTags = () => (ue.attributes = ue.attributes || [], ue.attributes.filter((Ce) => Ce.value !== null && Ce.value !== "").map((Ce) => ({
2810
2810
  label: Ce.label,
2811
2811
  value: Ce.value
2812
- }))), Object.defineProperty(se, "isDisabled", {
2812
+ }))), Object.defineProperty(ue, "isDisabled", {
2813
2813
  get: function() {
2814
- return se.relationshipInfo.relationship === "Kit" || (re.isRadio ? re.isKit : !re.selected.includes(se.itemId) && re.maxNumber === re.selected.length);
2814
+ return ue.relationshipInfo.relationship === "Kit" || (re.isRadio ? re.isKit : !re.selected.includes(ue.itemId) && re.maxNumber === re.selected.length);
2815
2815
  }
2816
- }), oe(se);
2816
+ }), oe(ue);
2817
2817
  });
2818
2818
  });
2819
2819
  }), ne;
@@ -2823,10 +2823,10 @@ const pn = St("comConfigurator", () => {
2823
2823
  ne.isAttributes = ne.attributes && ne.attributes.length > 0;
2824
2824
  const pe = ne.catalogItem;
2825
2825
  if (Z.value.has(ne.itemId)) {
2826
- const se = Z.value.get(ne.itemId);
2827
- if (ne.qliId = se.Id, ne.qty = se.XX_ORD1__QTY__c, ne.itemName = se.XX_ORD1__Line_Description__c, ne.billingPeriod = se.XX_ORD1__Billing_Period__c, ne.price = se.XX_ORD1__Sales_Price__c, ne.billingPeriod ? ne.price = se.XX_ORD1__Sales_Price__c || se.XX_ORD1__MRC__c : ne.price = se.XX_ORD1__NRC__c || se.XX_ORD1__Sales_Price__c, ne.salesPrice = se.XX_ORD1__Sales_Price__c, ne.nrc = se.XX_ORD1__NRC__c, ne.mrc = se.XX_ORD1__MRC__c, ne.qliBillingPeriod = se.XX_ORD1__Billing_Period__c, g.value.set(ne.qliId, ne.attributes), ((be = se.lineAttributes) == null ? void 0 : be.length) > 0 && ((re = ne.attributes) == null ? void 0 : re.length) > 0) {
2826
+ const ue = Z.value.get(ne.itemId);
2827
+ if (ne.qliId = ue.Id, ne.qty = ue.XX_ORD1__QTY__c, ne.itemName = ue.XX_ORD1__Line_Description__c, ne.billingPeriod = ue.XX_ORD1__Billing_Period__c, ne.price = ue.XX_ORD1__Sales_Price__c, ne.billingPeriod ? ne.price = ue.XX_ORD1__Sales_Price__c || ue.XX_ORD1__MRC__c : ne.price = ue.XX_ORD1__NRC__c || ue.XX_ORD1__Sales_Price__c, ne.salesPrice = ue.XX_ORD1__Sales_Price__c, ne.nrc = ue.XX_ORD1__NRC__c, ne.mrc = ue.XX_ORD1__MRC__c, ne.qliBillingPeriod = ue.XX_ORD1__Billing_Period__c, g.value.set(ne.qliId, ne.attributes), ((be = ue.lineAttributes) == null ? void 0 : be.length) > 0 && ((re = ne.attributes) == null ? void 0 : re.length) > 0) {
2828
2828
  const Ce = /* @__PURE__ */ new Map();
2829
- se.lineAttributes.forEach((Ue) => {
2829
+ ue.lineAttributes.forEach((Ue) => {
2830
2830
  Ce.set(Ue.apiName, Ue.value);
2831
2831
  }), ne.attributes.forEach((Ue) => {
2832
2832
  Ue.value = Ce.get(Ue.apiName) || null;
@@ -2853,24 +2853,24 @@ const pn = St("comConfigurator", () => {
2853
2853
  }
2854
2854
  }, pe = await e.value.getLineItems({ request: JSON.stringify(ne) }), be = pe.data.products || [];
2855
2855
  return x.value = [], be.forEach((re) => {
2856
- const se = re.productLineItem;
2857
- se.Id === i.value ? m.value = { ...re } : d.value.push(se);
2856
+ const ue = re.productLineItem;
2857
+ ue.Id === i.value ? m.value = { ...re } : d.value.push(ue);
2858
2858
  const Ce = {
2859
2859
  "Fully Configured": "#57c046",
2860
2860
  "Suggests Configuration": "#e89c30",
2861
2861
  "Needs Configuration": "#ff6a6a"
2862
- }, Ue = se.XX_ORD1__SYS_Configuration_Status2__c;
2862
+ }, Ue = ue.XX_ORD1__SYS_Configuration_Status2__c;
2863
2863
  x.value.push({
2864
- value: se.Id,
2865
- label: se.XX_ORD1__Line_Description__c || se.Name,
2866
- description: se.XX_ORD1__Item__r.XX_ORD1__Product_Description__c,
2864
+ value: ue.Id,
2865
+ label: ue.XX_ORD1__Line_Description__c || ue.Name,
2866
+ description: ue.XX_ORD1__Item__r.XX_ORD1__Product_Description__c,
2867
2867
  icon: "configuration",
2868
2868
  color: Ce[Ue] || "#57c046",
2869
- itemId: se.XX_ORD1__Item__c,
2869
+ itemId: ue.XX_ORD1__Item__c,
2870
2870
  configurationStatus: Ue || "Fully Configured"
2871
2871
  });
2872
- }), i.value || x.value.push({ label: l.value.itemName, value: null }), x.value = x.value.sort((re, se) => {
2873
- const Ce = (Ge) => Ge === "#ff6a6a" ? 1 : Ge === "#e89c30" ? 2 : Ge === "#57c046" ? 3 : 4, Ue = Ce(re.color), We = Ce(se.color);
2872
+ }), i.value || x.value.push({ label: l.value.itemName, value: null }), x.value = x.value.sort((re, ue) => {
2873
+ const Ce = (Ge) => Ge === "#ff6a6a" ? 1 : Ge === "#e89c30" ? 2 : Ge === "#57c046" ? 3 : 4, Ue = Ce(re.color), We = Ce(ue.color);
2874
2874
  return Ue - We;
2875
2875
  }), M.value.lineItem = !1, pe;
2876
2876
  } catch (ne) {
@@ -2886,7 +2886,7 @@ const pn = St("comConfigurator", () => {
2886
2886
  return console.info("error", pe.message), !1;
2887
2887
  }
2888
2888
  }
2889
- async function ge(ne = !1) {
2889
+ async function ye(ne = !1) {
2890
2890
  var Ce;
2891
2891
  if (!E.value && w.value.length > 0) {
2892
2892
  E.value = !0;
@@ -2897,7 +2897,7 @@ const pn = St("comConfigurator", () => {
2897
2897
  if (l.value.categoryOptions.forEach((Ue) => {
2898
2898
  Ue.itemTypes.forEach((We) => {
2899
2899
  We.options.forEach((Ge) => {
2900
- We.selected.includes(Ge.itemId) ? pe.push(ue(Ge)) : Ge.qliId && be.push(Ge.qliId);
2900
+ We.selected.includes(Ge.itemId) ? pe.push(de(Ge)) : Ge.qliId && be.push(Ge.qliId);
2901
2901
  });
2902
2902
  });
2903
2903
  }), !n.value) {
@@ -2912,16 +2912,16 @@ const pn = St("comConfigurator", () => {
2912
2912
  optionsToRemove: be,
2913
2913
  grandFatheredOptionsToRemove: [],
2914
2914
  productLineItem: {
2915
- ...ue(l.value),
2915
+ ...de(l.value),
2916
2916
  optionLineItems: pe
2917
2917
  }
2918
2918
  };
2919
2919
  console.info("maintainQuoteConfiguration:request", re);
2920
- const se = await e.value.maintainQuoteConfiguration({ request: JSON.stringify(re) });
2921
- if (E.value = !1, console.info("maintainQuoteConfiguration:result", se), se != null && se.error) {
2920
+ const ue = await e.value.maintainQuoteConfiguration({ request: JSON.stringify(re) });
2921
+ if (E.value = !1, console.info("maintainQuoteConfiguration:result", ue), ue != null && ue.error) {
2922
2922
  const Ue = {
2923
2923
  title: "Unable to Save Configuration",
2924
- body: ((Ce = se.error.details) == null ? void 0 : Ce.original_error) || se.error.details,
2924
+ body: ((Ce = ue.error.details) == null ? void 0 : Ce.original_error) || ue.error.details,
2925
2925
  button: {
2926
2926
  label: "Back to Configuration",
2927
2927
  action: () => {
@@ -2930,18 +2930,18 @@ const pn = St("comConfigurator", () => {
2930
2930
  }
2931
2931
  };
2932
2932
  r.errorPopup = Ue;
2933
- } else if (c.value = Ha(l.value), u.value = Zl(l.value), console.info("maintainQuoteConfiguration:result", se), M.value.save = !1, O.value && O.value({
2934
- data: se.data,
2933
+ } else if (c.value = Ha(l.value), u.value = Zl(l.value), console.info("maintainQuoteConfiguration:result", ue), M.value.save = !1, O.value && O.value({
2934
+ data: ue.data,
2935
2935
  wasNewQli: !i.value,
2936
2936
  products: x.value
2937
2937
  }), !i.value)
2938
- return l.value.qliId = se.data.productLineItem.lineItemId, i.value = se.data.productLineItem.lineItemId, se.data.productLineItem.lineItemId;
2938
+ return l.value.qliId = ue.data.productLineItem.lineItemId, i.value = ue.data.productLineItem.lineItemId, ue.data.productLineItem.lineItemId;
2939
2939
  M.value.save = !1;
2940
2940
  }
2941
2941
  function _e(ne) {
2942
2942
  O.value = typeof ne == "function" ? ne : null;
2943
2943
  }
2944
- function ue(ne) {
2944
+ function de(ne) {
2945
2945
  const pe = {};
2946
2946
  ne.isAttributes && ne.attributes.forEach((re) => {
2947
2947
  !re.apiName.includes(".") && re.value !== null && re.value !== void 0 && (re.dataType === "BOOLEAN" ? pe[re.apiName] = re.value ? "true" : "false" : ["DECIMAL", "DOUBLE", "CURRENCY"].includes(re.dataType) ? pe[re.apiName] = parseFloat(re.value).toFixed(2) : re.dataType === "REFERENCE" ? pe[re.apiName] = re.referenceRecordId : pe[re.apiName] = re.value);
@@ -2957,7 +2957,7 @@ const pn = St("comConfigurator", () => {
2957
2957
  };
2958
2958
  return ne.billingPeriod && I.value && !t.isSinglePricingSchema && (be.billingPeriod = S.value ? "Yearly" : "Monthly"), !t.isSinglePricingSchema && !ne.billingPeriod ? be.nrcPrice = ne.price : (be.applyOnField = "Catalog Price", be.salesPrice = ne.price, be.nrcPrice = ne.nrcPrice), be;
2959
2959
  }
2960
- async function ye() {
2960
+ async function ve() {
2961
2961
  const ne = {
2962
2962
  objectId: t.accountId,
2963
2963
  productItemId: a.value
@@ -2967,14 +2967,14 @@ const pn = St("comConfigurator", () => {
2967
2967
  const { crossSells: be, offerResult: re } = pe.data;
2968
2968
  if (be.length === 0)
2969
2969
  return [];
2970
- const se = /* @__PURE__ */ new Map();
2970
+ const ue = /* @__PURE__ */ new Map();
2971
2971
  return re.forEach((Ce) => {
2972
- se.set(Ce.eCatalogItemId, { ...Ce, ...Ce.pricingTypes[0] });
2972
+ ue.set(Ce.eCatalogItemId, { ...Ce, ...Ce.pricingTypes[0] });
2973
2973
  }), be.forEach((Ce) => {
2974
- Ce.loading = !1, Ce.Name = Ce.XX_ORD1__Line_Description__c || Ce.XX_ORD1__Item__r.Name, Ce.Description = Ce.XX_ORD1__Item__r.XX_ORD1__Product_Description__c, se.has(Ce.Id) ? (Ce.Price = se.get(Ce.Id).offerPrice, Ce.priceFormatted = se.get(Ce.Id).formattedOfferPrice, Ce.offer = {
2975
- offerDiscount: se.get(Ce.Id).offerDiscount,
2976
- offerId: se.get(Ce.Id).offerId,
2977
- offerType: se.get(Ce.Id).offerType
2974
+ Ce.loading = !1, Ce.Name = Ce.XX_ORD1__Line_Description__c || Ce.XX_ORD1__Item__r.Name, Ce.Description = Ce.XX_ORD1__Item__r.XX_ORD1__Product_Description__c, ue.has(Ce.Id) ? (Ce.Price = ue.get(Ce.Id).offerPrice, Ce.priceFormatted = ue.get(Ce.Id).formattedOfferPrice, Ce.offer = {
2975
+ offerDiscount: ue.get(Ce.Id).offerDiscount,
2976
+ offerId: ue.get(Ce.Id).offerId,
2977
+ offerType: ue.get(Ce.Id).offerType
2978
2978
  }) : (Ce.Price = Ce.XX_ORD1__List_Price2__c, Ce.priceFormatted = Ce.XX_ORD1__List_Price2__c, Ce.offer = {
2979
2979
  offerDiscount: 0,
2980
2980
  offerId: null,
@@ -3032,7 +3032,7 @@ const pn = St("comConfigurator", () => {
3032
3032
  });
3033
3033
  });
3034
3034
  }), console.info("evaluateConfigSelection:currentConfig.options", re.options);
3035
- const se = {
3035
+ const ue = {
3036
3036
  itemId: a.value,
3037
3037
  currentConfig: re,
3038
3038
  selected: ne ? {
@@ -3052,7 +3052,7 @@ const pn = St("comConfigurator", () => {
3052
3052
  attributes: Oe(pe.attributes),
3053
3053
  lineDescription: pe.itemName
3054
3054
  } : {}
3055
- }, Ce = await e.value.evaluateConfigurationSelection({ request: JSON.stringify(se) }), Ue = {};
3055
+ }, Ce = await e.value.evaluateConfigurationSelection({ request: JSON.stringify(ue) }), Ue = {};
3056
3056
  let We = !1;
3057
3057
  Ce.pricingRuleFormula && typeof Ce.pricingRuleFormula == "object" && (Object.keys(Ce.pricingRuleFormula).forEach((nt) => {
3058
3058
  const st = Q.value.get(nt);
@@ -3081,8 +3081,8 @@ const pn = St("comConfigurator", () => {
3081
3081
  if (A.value = null, l.value.categoryOptions.forEach((ne) => {
3082
3082
  ne.itemTypes.forEach((pe) => {
3083
3083
  pe.options.forEach((be) => {
3084
- var re, se, Ce;
3085
- l.value.sysGuidedOptions && ((re = b.value.hidden) != null && re.includes(be.publishKey) ? be.hidden = !0 : be.hidden = !1), (se = b.value.inclusions) != null && se.includes(be.publishKey) && !pe.selected.includes(be.itemId) && pe.selected.push(be.itemId), (Ce = b.value.exclusions) != null && Ce.includes(be.publishKey) && pe.selected.includes(be.itemId) && pe.selected.splice(pe.selected.indexOf(be.itemId), 1);
3084
+ var re, ue, Ce;
3085
+ l.value.sysGuidedOptions && ((re = b.value.hidden) != null && re.includes(be.publishKey) ? be.hidden = !0 : be.hidden = !1), (ue = b.value.inclusions) != null && ue.includes(be.publishKey) && !pe.selected.includes(be.itemId) && pe.selected.push(be.itemId), (Ce = b.value.exclusions) != null && Ce.includes(be.publishKey) && pe.selected.includes(be.itemId) && pe.selected.splice(pe.selected.indexOf(be.itemId), 1);
3086
3086
  });
3087
3087
  });
3088
3088
  }), b.value.pricingRuleFormula && typeof b.value.pricingRuleFormula == "object") {
@@ -3090,8 +3090,8 @@ const pn = St("comConfigurator", () => {
3090
3090
  Object.keys(b.value.pricingRuleFormula).forEach((pe) => {
3091
3091
  const be = Q.value.get(pe) ?? pe, re = ne.get(be);
3092
3092
  if (re) {
3093
- const se = b.value.pricingRuleFormula[pe];
3094
- re.price = se.price, re.qty = se.quantity;
3093
+ const ue = b.value.pricingRuleFormula[pe];
3094
+ re.price = ue.price, re.qty = ue.quantity;
3095
3095
  }
3096
3096
  });
3097
3097
  }
@@ -3148,9 +3148,9 @@ const pn = St("comConfigurator", () => {
3148
3148
  addLines: Be,
3149
3149
  resetConfigurator: V,
3150
3150
  getRecords: me,
3151
- getProductCrossSells: ye,
3151
+ getProductCrossSells: ve,
3152
3152
  initConfigurator: K,
3153
- maintainQuoteConfiguration: ge,
3153
+ maintainQuoteConfiguration: ye,
3154
3154
  setOnSaveSuccess: _e,
3155
3155
  evaluateConfigSelection: Ee,
3156
3156
  conflictData: b,
@@ -3209,7 +3209,7 @@ const pn = St("comConfigurator", () => {
3209
3209
  }, {
3210
3210
  content: ze(() => [
3211
3211
  _("div", yf, [
3212
- _("p", gf, ve(e.message), 1),
3212
+ _("p", gf, ge(e.message), 1),
3213
3213
  Ie(t).showMinMaxPopup ? (B(), q("div", vf, [
3214
3214
  bf,
3215
3215
  Ie(t).configuration && Ie(t).minMaxErrors.length > 0 ? (B(), q("div", xf, [
@@ -3219,7 +3219,7 @@ const pn = St("comConfigurator", () => {
3219
3219
  class: Re(["ect-flex ect-flex-row ect-items-center ect-gap-2 ect-p-3 ect-bg-white ect-border-b ect-border-[#DEDEDE] last:ect-border-b-0", { "ect-cursor-pointer": n.redirect }]),
3220
3220
  "data-test-id": `configurator-minmax-popup-error-${d}`
3221
3221
  }, [
3222
- ce(He, {
3222
+ se(He, {
3223
3223
  icon: "info",
3224
3224
  size: 16,
3225
3225
  color: "#D23333",
@@ -3240,7 +3240,7 @@ const pn = St("comConfigurator", () => {
3240
3240
  var m, d, p;
3241
3241
  return [
3242
3242
  _("div", kf, [
3243
- ce(Lt, {
3243
+ se(Lt, {
3244
3244
  btype: "secondary",
3245
3245
  "button-style": "outlined",
3246
3246
  size: "medium",
@@ -3254,7 +3254,7 @@ const pn = St("comConfigurator", () => {
3254
3254
  _: 1
3255
3255
  }, 8, ["disabled"]),
3256
3256
  _("div", Af, [
3257
- ce(Lt, {
3257
+ se(Lt, {
3258
3258
  btype: "secondary",
3259
3259
  "button-style": "outlined",
3260
3260
  size: "medium",
@@ -3263,11 +3263,11 @@ const pn = St("comConfigurator", () => {
3263
3263
  onClick: f[0] || (f[0] = (s) => o("close"))
3264
3264
  }, {
3265
3265
  default: ze(() => [
3266
- je(ve(Ie(t).showMinMaxPopup ? "Go Back to Configurator" : "Cancel"), 1)
3266
+ je(ge(Ie(t).showMinMaxPopup ? "Go Back to Configurator" : "Cancel"), 1)
3267
3267
  ]),
3268
3268
  _: 1
3269
3269
  }, 8, ["disabled"]),
3270
- ce(Lt, {
3270
+ se(Lt, {
3271
3271
  btype: "primary",
3272
3272
  "button-style": "primary",
3273
3273
  size: "medium",
@@ -3277,7 +3277,7 @@ const pn = St("comConfigurator", () => {
3277
3277
  onClick: u
3278
3278
  }, {
3279
3279
  default: ze(() => [
3280
- je(ve(Ie(t).showMinMaxPopup ? "Proceed with Partial Save" : "Save changes"), 1)
3280
+ je(ge(Ie(t).showMinMaxPopup ? "Proceed with Partial Save" : "Save changes"), 1)
3281
3281
  ]),
3282
3282
  _: 1
3283
3283
  }, 8, ["loading", "disabled"])
@@ -3349,7 +3349,7 @@ const pn = St("comConfigurator", () => {
3349
3349
  class: "toast",
3350
3350
  "data-test-id": `${e.dataTestId}-content`
3351
3351
  }, [
3352
- ce(He, {
3352
+ se(He, {
3353
3353
  icon: u.value.icon,
3354
3354
  symbol: "",
3355
3355
  color: u.value.iconColor,
@@ -3360,13 +3360,13 @@ const pn = St("comConfigurator", () => {
3360
3360
  _("span", {
3361
3361
  class: "toast__text",
3362
3362
  "data-test-id": `${e.dataTestId}-message`
3363
- }, ve(Ie(r).toast.message), 9, Of)
3363
+ }, ge(Ie(r).toast.message), 9, Of)
3364
3364
  ], 8, Sf),
3365
3365
  _("div", {
3366
3366
  class: "toast no-wrap",
3367
3367
  "data-test-id": `${e.dataTestId}-actions`
3368
3368
  }, [
3369
- ce(He, {
3369
+ se(He, {
3370
3370
  symbol: "",
3371
3371
  icon: "close",
3372
3372
  color: u.value.iconColor,
@@ -3378,7 +3378,7 @@ const pn = St("comConfigurator", () => {
3378
3378
  key: 0,
3379
3379
  style: De({ color: u.value.iconColor }),
3380
3380
  "data-test-id": `${e.dataTestId}-timer`
3381
- }, "Dismiss " + ve(t.value), 13, Df))
3381
+ }, "Dismiss " + ge(t.value), 13, Df))
3382
3382
  ], 8, Tf)
3383
3383
  ], 44, If)) : ie("", !0);
3384
3384
  }
@@ -5549,18 +5549,18 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
5549
5549
  setup(e) {
5550
5550
  return (r, t) => e.configueredProduct ? (B(), q("footer", qf, [
5551
5551
  _("div", $f, [
5552
- _("h3", Uf, ve(e.title), 1),
5552
+ _("h3", Uf, ge(e.title), 1),
5553
5553
  _("div", jf, [
5554
5554
  _("div", Hf, [
5555
5555
  _("div", Vf, [
5556
5556
  _("h4", zf, [
5557
5557
  ot(r.$slots, "default")
5558
5558
  ]),
5559
- _("p", Gf, ve(e.configueredProduct.Description), 1)
5559
+ _("p", Gf, ge(e.configueredProduct.Description), 1)
5560
5560
  ]),
5561
5561
  _("div", Kf, [
5562
- _("div", Xf, ve(Ie(Ut)(e.configueredProduct.Price)), 1),
5563
- ce(Lt, {
5562
+ _("div", Xf, ge(Ie(Ut)(e.configueredProduct.Price)), 1),
5563
+ se(Lt, {
5564
5564
  btype: "primary",
5565
5565
  "button-style": "filled",
5566
5566
  size: "medium",
@@ -5792,14 +5792,14 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
5792
5792
  _("span", {
5793
5793
  class: "ect-relative ect-text-lg ect-font-semibold ect-leading-5 ect-text-[#1F1F1F] ect-transition-colors ect-duration-200 ect-truncate",
5794
5794
  title: p(g.value)
5795
- }, ve(p(g.value)), 9, l2)
5795
+ }, ge(p(g.value)), 9, l2)
5796
5796
  ], 10, i2)) : (B(), q("span", {
5797
5797
  key: 1,
5798
5798
  class: "ect-text-font-clr-light ect-truncate ect-flex-1 ect-min-w-0",
5799
5799
  "data-test-id": `${e.dataTestId}-placeholder`
5800
- }, ve(e.placeholder), 9, u2))
5800
+ }, ge(e.placeholder), 9, u2))
5801
5801
  ], 8, a2),
5802
- ce(He, {
5802
+ se(He, {
5803
5803
  class: "clear-button",
5804
5804
  color: y.value ? "#ff6a6a" : "#acacac",
5805
5805
  icon: "arrow_drop_up",
@@ -5812,7 +5812,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
5812
5812
  key: 0,
5813
5813
  class: "error_tooltip error_tooltip-bottom-right",
5814
5814
  "data-test-id": `${e.dataTestId}-error`
5815
- }, ve(y.value), 9, s2)) : ie("", !0),
5815
+ }, ge(y.value), 9, s2)) : ie("", !0),
5816
5816
  h.value && h.value.length > 0 && o.value && !e.disabled ? (B(), q("div", {
5817
5817
  key: 1,
5818
5818
  ref_key: "dropdown",
@@ -5835,7 +5835,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
5835
5835
  _("span", {
5836
5836
  class: "ect-flex-1",
5837
5837
  "data-test-id": `${e.dataTestId}-option-${T}-value`
5838
- }, ve(p(I)), 9, p2),
5838
+ }, ge(p(I)), 9, p2),
5839
5839
  m(I) ? (B(), Ae(He, {
5840
5840
  key: 0,
5841
5841
  icon: m(I),
@@ -5927,7 +5927,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
5927
5927
  }), (s, g) => (B(), q("div", v2, [
5928
5928
  _("div", b2, [
5929
5929
  _("div", x2, [
5930
- ce(He, {
5930
+ se(He, {
5931
5931
  icon: "arrow",
5932
5932
  symbol: "",
5933
5933
  size: 12,
@@ -5935,13 +5935,13 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
5935
5935
  "data-test-id": "configurator-recommend-button-back",
5936
5936
  onClick: g[0] || (g[0] = (h) => Ie(r).savedScreen = !1)
5937
5937
  }),
5938
- _("h2", _2, ve(t.value.itemName), 1)
5938
+ _("h2", _2, ge(t.value.itemName), 1)
5939
5939
  ]),
5940
5940
  Ie(r).loading.save ? (B(), q("div", C2, [
5941
- ce(_l, { svg: "" }),
5941
+ se(_l, { svg: "" }),
5942
5942
  E2
5943
5943
  ])) : (B(), q("div", k2, [
5944
- ce(He, {
5944
+ se(He, {
5945
5945
  icon: "check",
5946
5946
  color: "#136E05",
5947
5947
  size: 14,
@@ -5955,7 +5955,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
5955
5955
  _("div", I2, [
5956
5956
  _("h3", S2, [
5957
5957
  je(" Finish Configuring Your Products "),
5958
- _("span", O2, "(" + ve(a.value.length) + ")", 1)
5958
+ _("span", O2, "(" + ge(a.value.length) + ")", 1)
5959
5959
  ]),
5960
5960
  T2
5961
5961
  ]),
@@ -5965,11 +5965,11 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
5965
5965
  class: "ect-bg-white ect-border ect-border-gray-200 ect-rounded-lg ect-p-4 ect-shadow-sm ect-flex ect-flex-col ect-gap-4",
5966
5966
  "data-test-id": `configurator-recommend-card-${h.configurationStatus}-${h.value || x}`
5967
5967
  }, [
5968
- _("h4", B2, ve(h.label), 1),
5969
- _("p", M2, ve(h.description), 1),
5968
+ _("h4", B2, ge(h.label), 1),
5969
+ _("p", M2, ge(h.description), 1),
5970
5970
  _("div", F2, [
5971
5971
  _("div", N2, [
5972
- ce(He, {
5972
+ se(He, {
5973
5973
  icon: "configuration",
5974
5974
  size: 14,
5975
5975
  class: "ect-flex-shrink-0"
@@ -5978,9 +5978,9 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
5978
5978
  class: "ect-text-xs ect-font-normal",
5979
5979
  style: De({ color: c(h.configurationStatus) }),
5980
5980
  "data-test-id": `configurator-recommend-status-${h.value || x}`
5981
- }, ve(u(h.configurationStatus)), 13, L2)
5981
+ }, ge(u(h.configurationStatus)), 13, L2)
5982
5982
  ]),
5983
- ce(Lt, {
5983
+ se(Lt, {
5984
5984
  btype: "primary",
5985
5985
  "button-style": "filled",
5986
5986
  size: "medium",
@@ -6000,7 +6000,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6000
6000
  _("div", q2, [
6001
6001
  _("h4", $2, [
6002
6002
  je(" Configured Products "),
6003
- _("span", U2, "(" + ve(l.value.length) + ")", 1)
6003
+ _("span", U2, "(" + ge(l.value.length) + ")", 1)
6004
6004
  ]),
6005
6005
  j2
6006
6006
  ]),
@@ -6010,11 +6010,11 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6010
6010
  class: "ect-bg-white ect-border ect-border-gray-200 ect-rounded-lg ect-p-4 ect-shadow-sm ect-flex ect-flex-col ect-gap-4",
6011
6011
  "data-test-id": `configurator-recommend-card-configured-${h.value || x}`
6012
6012
  }, [
6013
- _("h4", z2, ve(h.label), 1),
6014
- _("p", G2, ve(h.description), 1),
6013
+ _("h4", z2, ge(h.label), 1),
6014
+ _("p", G2, ge(h.description), 1),
6015
6015
  _("div", K2, [
6016
6016
  _("div", X2, [
6017
- ce(He, {
6017
+ se(He, {
6018
6018
  icon: "configuration",
6019
6019
  size: 14,
6020
6020
  class: "ect-flex-shrink-0"
@@ -6024,7 +6024,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6024
6024
  "data-test-id": `configurator-recommend-status-configured-${h.value || x}`
6025
6025
  }, " Fully Configured ", 8, W2)
6026
6026
  ]),
6027
- ce(Lt, {
6027
+ se(Lt, {
6028
6028
  btype: "primary",
6029
6029
  "button-style": "filled",
6030
6030
  size: "medium",
@@ -6049,7 +6049,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6049
6049
  onConfigureNextProduct: p
6050
6050
  }, {
6051
6051
  default: ze(() => [
6052
- je(ve(m.value.Name), 1)
6052
+ je(ge(m.value.Name), 1)
6053
6053
  ]),
6054
6054
  _: 1
6055
6055
  }, 8, ["configuered-product", "count-configued-product-string"])) : ie("", !0)
@@ -6133,7 +6133,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6133
6133
  "data-test-id": `${e.dataTestId}-tab-${u.key}`,
6134
6134
  onClick: (c) => a(u.key)
6135
6135
  }, [
6136
- je(ve(u.title) + " ", 1),
6136
+ je(ge(u.title) + " ", 1),
6137
6137
  u.pill !== void 0 && u.pill !== null ? (B(), Ae(Y2, {
6138
6138
  key: 0,
6139
6139
  class: "ect-ml-2",
@@ -6141,7 +6141,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6141
6141
  "data-test-id": `${e.dataTestId}-tab-${u.key}-pill`
6142
6142
  }, {
6143
6143
  default: ze(() => [
6144
- je(ve(u.pill), 1)
6144
+ je(ge(u.pill), 1)
6145
6145
  ]),
6146
6146
  _: 2
6147
6147
  }, 1032, ["variant", "data-test-id"])) : ie("", !0)
@@ -6306,11 +6306,11 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6306
6306
  _("span", {
6307
6307
  class: "ect-text-xs ect-font-normal ect-text-gray-500 ect-text-left",
6308
6308
  "data-test-id": `configurator-footer-price-label-${d}`
6309
- }, ve(m.label), 9, ph),
6309
+ }, ge(m.label), 9, ph),
6310
6310
  _("span", {
6311
6311
  class: Re(["ect-text-left", m.highlight ? "ect-text-lg ect-font-bold ect-text-green-700" : "ect-text-sm ect-font-medium ect-text-gray-800 "]),
6312
6312
  "data-test-id": `configurator-footer-price-value-${d}`
6313
- }, ve(Ie(Ut)(m.value)), 11, mh)
6313
+ }, ge(Ie(Ut)(m.value)), 11, mh)
6314
6314
  ], 8, hh),
6315
6315
  d < i.value.length - 1 ? (B(), q("div", {
6316
6316
  key: 0,
@@ -6319,7 +6319,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6319
6319
  }, null, 8, yh)) : ie("", !0)
6320
6320
  ], 64))), 128))
6321
6321
  ]),
6322
- ce(Lt, {
6322
+ se(Lt, {
6323
6323
  class: "ect-min-w-[100px]",
6324
6324
  btype: e.disabled ? "secondary" : "primary",
6325
6325
  disabled: e.disabled,
@@ -6330,7 +6330,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6330
6330
  onClick: u
6331
6331
  }, {
6332
6332
  default: ze(() => [
6333
- je(ve(e.btnText), 1)
6333
+ je(ge(e.btnText), 1)
6334
6334
  ]),
6335
6335
  _: 1
6336
6336
  }, 8, ["btype", "disabled", "loading"])
@@ -6358,7 +6358,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6358
6358
  return (r, t) => (B(), q("section", vh, [
6359
6359
  _("header", bh, [
6360
6360
  _("div", xh, [
6361
- _("h2", _h, ve(e.title), 1),
6361
+ _("h2", _h, ge(e.title), 1),
6362
6362
  e.description ? (B(), q("p", {
6363
6363
  key: 0,
6364
6364
  class: "ect-mt-1 ect-text-xs ect-text-gray-500 ect-leading-tight",
@@ -6366,7 +6366,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6366
6366
  }, null, 8, Ch)) : ie("", !0)
6367
6367
  ]),
6368
6368
  e.message ? (B(), q("div", Eh, [
6369
- ce(He, {
6369
+ se(He, {
6370
6370
  icon: "info",
6371
6371
  symbol: "",
6372
6372
  color: e.warning ? "#D23333" : "#198708",
@@ -6376,7 +6376,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6376
6376
  _("span", {
6377
6377
  class: "ect-text-xs ect-font-medium ect-leading-tight ect-min-w-[190px]",
6378
6378
  style: De({ color: e.warning ? "#D23333" : "#198708" })
6379
- }, ve(e.message), 5)
6379
+ }, ge(e.message), 5)
6380
6380
  ])) : ie("", !0)
6381
6381
  ]),
6382
6382
  _("div", kh, [
@@ -6476,7 +6476,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6476
6476
  _("div", {
6477
6477
  "data-test-id": `${e.dataTestId}-add-icon`
6478
6478
  }, Dh, 8, Oh),
6479
- je(" " + ve(e.label), 1)
6479
+ je(" " + ge(e.label), 1)
6480
6480
  ], 8, Sh)
6481
6481
  ], 8, Ih)) : e.editButton ? (B(), q("div", {
6482
6482
  key: 1,
@@ -6486,7 +6486,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6486
6486
  _("span", {
6487
6487
  class: "ect-self-stretch ect-my-auto ect-text-xs ect-leading-5 ect-text-success ect-flex ect-items-center ect-gap-1",
6488
6488
  "data-test-id": `${e.dataTestId}-content`
6489
- }, ve(e.label), 9, Bh)
6489
+ }, ge(e.label), 9, Bh)
6490
6490
  ], 8, Rh)) : (B(), q("div", {
6491
6491
  key: 2,
6492
6492
  class: "ect-bg-white ect-px-2 ect-py-0.5 ect-text-xs ect-font-medium ect-rounded-md ect-border ect-border-solid ect-border-neutral-200",
@@ -6495,7 +6495,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6495
6495
  _("span", {
6496
6496
  class: "ect-self-stretch ect-my-auto ect-text-xs ect-leading-5 ect-text-zinc-500",
6497
6497
  "data-test-id": `${e.dataTestId}-label`
6498
- }, ve(e.label), 9, Fh),
6498
+ }, ge(e.label), 9, Fh),
6499
6499
  e.value ? (B(), q("span", {
6500
6500
  key: 0,
6501
6501
  class: "ect-self-stretch ect-my-auto ect-text-xs ect-leading-5 ect-text-zinc-500",
@@ -6610,8 +6610,8 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6610
6610
  "data-test-id": `${e.dataTestId}-text`
6611
6611
  }), {
6612
6612
  default: ze(() => [
6613
- je(ve(c.value) + " ", 1),
6614
- ce(He, {
6613
+ je(ge(c.value) + " ", 1),
6614
+ se(He, {
6615
6615
  class: Re(i.value && !e.disabled ? "ect-visible" : "ect-invisible"),
6616
6616
  icon: "edit",
6617
6617
  size: "12",
@@ -6741,7 +6741,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6741
6741
  ])) : ie("", !0),
6742
6742
  _("div", Xh, [
6743
6743
  _("div", Wh, [
6744
- ce(Bo, {
6744
+ se(Bo, {
6745
6745
  modelValue: c.value,
6746
6746
  "onUpdate:modelValue": h[0] || (h[0] = (x) => c.value = x),
6747
6747
  disabled: !e.editable,
@@ -6754,7 +6754,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6754
6754
  onClick: h[2] || (h[2] = yt(() => {
6755
6755
  }, ["stop"]))
6756
6756
  }, [
6757
- ce(ea, {
6757
+ se(ea, {
6758
6758
  value: u.value,
6759
6759
  "onUpdate:value": h[1] || (h[1] = (x) => u.value = x),
6760
6760
  min: e.minQuantity,
@@ -6765,7 +6765,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6765
6765
  ]),
6766
6766
  Zh,
6767
6767
  _("div", Jh, [
6768
- ce(Bo, {
6768
+ se(Bo, {
6769
6769
  modelValue: i.value.price,
6770
6770
  "onUpdate:modelValue": h[3] || (h[3] = (x) => i.value.price = x),
6771
6771
  disabled: !e.editable,
@@ -6791,7 +6791,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6791
6791
  key: y,
6792
6792
  class: "ect-inline-block"
6793
6793
  }, [
6794
- ce(Rn, {
6794
+ se(Rn, {
6795
6795
  label: x.label,
6796
6796
  value: x.value
6797
6797
  }, null, 8, ["label", "value"])
@@ -6803,13 +6803,13 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6803
6803
  "data-test-id": `configurator-item-button-more-tags-${e.item.itemId}`,
6804
6804
  onClick: h[4] || (h[4] = yt(() => {
6805
6805
  }, ["stop"]))
6806
- }, " +" + ve(p.value) + " more ", 9, n5)) : ie("", !0),
6806
+ }, " +" + ge(p.value) + " more ", 9, n5)) : ie("", !0),
6807
6807
  e.selected ? (B(), q("button", {
6808
6808
  key: 1,
6809
6809
  "data-test-id": `configurator-item-button-edit-attributes-${e.item.itemId}`,
6810
6810
  onClick: h[5] || (h[5] = (x) => n("edit-attributes"))
6811
6811
  }, [
6812
- ce(Rn, {
6812
+ se(Rn, {
6813
6813
  label: "Edit attributes",
6814
6814
  "edit-button": ""
6815
6815
  })
@@ -6819,7 +6819,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6819
6819
  "data-test-id": "configurator-info-button-add-attributes",
6820
6820
  onClick: h[6] || (h[6] = (x) => n("edit-attributes"))
6821
6821
  }, [
6822
- ce(Rn, {
6822
+ se(Rn, {
6823
6823
  label: "Add attributes",
6824
6824
  "add-button": ""
6825
6825
  })
@@ -6838,7 +6838,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6838
6838
  }, null, 8, u5)) : ie("", !0)
6839
6839
  ])) : ie("", !0),
6840
6840
  _("div", s5, [
6841
- ce(Bo, {
6841
+ se(Bo, {
6842
6842
  modelValue: c.value,
6843
6843
  "onUpdate:modelValue": h[7] || (h[7] = (x) => c.value = x),
6844
6844
  disabled: !e.editable,
@@ -6850,7 +6850,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6850
6850
  class: "ect-mt-1 ect-text-sm ect-text-gray-700 ect-leading-tight",
6851
6851
  innerHTML: e.description
6852
6852
  }, null, 8, c5),
6853
- _("p", d5, ve(e.item.publishKey) + " :: " + ve(e.item.calculateRules), 1)
6853
+ _("p", d5, ge(e.item.publishKey) + " :: " + ge(e.item.calculateRules), 1)
6854
6854
  ]),
6855
6855
  _("div", f5, [
6856
6856
  ot(g.$slots, "selection-control", {}, void 0, !0)
@@ -6862,7 +6862,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6862
6862
  key: y,
6863
6863
  class: "ect-inline-block"
6864
6864
  }, [
6865
- ce(Rn, {
6865
+ se(Rn, {
6866
6866
  label: x.label,
6867
6867
  value: x.value
6868
6868
  }, null, 8, ["label", "value"])
@@ -6874,14 +6874,14 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6874
6874
  "data-test-id": `configurator-item-button-more-tags-${e.item.itemId}`,
6875
6875
  onClick: h[8] || (h[8] = yt(() => {
6876
6876
  }, ["stop"]))
6877
- }, " +" + ve(p.value) + " more ", 9, p5)) : ie("", !0),
6877
+ }, " +" + ge(p.value) + " more ", 9, p5)) : ie("", !0),
6878
6878
  e.selected ? (B(), q("button", {
6879
6879
  key: 1,
6880
6880
  class: "ect-ml-auto",
6881
6881
  "data-test-id": `configurator-item-button-edit-attributes-${e.item.itemId}`,
6882
6882
  onClick: h[9] || (h[9] = (x) => n("edit-attributes"))
6883
6883
  }, [
6884
- ce(Rn, {
6884
+ se(Rn, {
6885
6885
  label: "Edit attributes",
6886
6886
  "edit-button": ""
6887
6887
  })
@@ -6891,7 +6891,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6891
6891
  "data-test-id": "configurator-info-button-add-attributes",
6892
6892
  onClick: h[10] || (h[10] = (x) => n("edit-attributes"))
6893
6893
  }, [
6894
- ce(Rn, {
6894
+ se(Rn, {
6895
6895
  label: "Add attributes",
6896
6896
  "add-button": ""
6897
6897
  })
@@ -6903,7 +6903,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6903
6903
  onClick: h[12] || (h[12] = yt(() => {
6904
6904
  }, ["stop"]))
6905
6905
  }, [
6906
- ce(ea, {
6906
+ se(ea, {
6907
6907
  value: u.value,
6908
6908
  "onUpdate:value": h[11] || (h[11] = (x) => u.value = x),
6909
6909
  min: e.minQuantity,
@@ -6914,7 +6914,7 @@ const xl = /* @__PURE__ */ Ne(Mf, [["render", Pf]]), Ut = (e, r = {}) => {
6914
6914
  ]),
6915
6915
  _("div", v5, [
6916
6916
  b5,
6917
- ce(Bo, {
6917
+ se(Bo, {
6918
6918
  modelValue: i.value.price,
6919
6919
  "onUpdate:modelValue": h[13] || (h[13] = (x) => i.value.price = x),
6920
6920
  disabled: !e.editable,
@@ -7349,7 +7349,7 @@ function D5(e, r, t, n, o, a) {
7349
7349
  for: t.label,
7350
7350
  "data-test-id": `${t.dataTestId}-label`
7351
7351
  }, [
7352
- je(ve(t.label) + " ", 1),
7352
+ je(ge(t.label) + " ", 1),
7353
7353
  t.required ? (B(), q("span", {
7354
7354
  key: 0,
7355
7355
  class: Re({ error_color: !!t.error })
@@ -7400,12 +7400,12 @@ function D5(e, r, t, n, o, a) {
7400
7400
  key: 2,
7401
7401
  class: "value",
7402
7402
  "data-test-id": `${t.dataTestId}-value`
7403
- }, ve(a.getValue), 9, O5)),
7403
+ }, ge(a.getValue), 9, O5)),
7404
7404
  a.error_message ? (B(), q("div", {
7405
7405
  key: 3,
7406
7406
  class: "error_tooltip error_tooltip-bottom-right",
7407
7407
  "data-test-id": `${t.dataTestId}-error`
7408
- }, ve(a.error_message), 9, T5)) : ie("", !0)
7408
+ }, ge(a.error_message), 9, T5)) : ie("", !0)
7409
7409
  ], 8, A5);
7410
7410
  }
7411
7411
  const pr = /* @__PURE__ */ Ne(k5, [["render", D5], ["__scopeId", "data-v-54d68f22"]]), R5 = {
@@ -7661,7 +7661,7 @@ function tp(e, r, t, n, o, a) {
7661
7661
  for: t.label,
7662
7662
  "data-test-id": `${t.dataTestId}-label`
7663
7663
  }, [
7664
- je(ve(t.label) + " ", 1),
7664
+ je(ge(t.label) + " ", 1),
7665
7665
  t.required ? (B(), q("span", {
7666
7666
  key: 0,
7667
7667
  class: Re({ error_color: !!t.error })
@@ -7722,13 +7722,13 @@ function tp(e, r, t, n, o, a) {
7722
7722
  color: "#5F5F5F",
7723
7723
  "data-test-id": `${t.dataTestId}-selection-icon`
7724
7724
  }, null, 8, ["icon", "data-test-id"])) : ie("", !0),
7725
- je(" " + ve(a.getSelected[t.property.value]), 1)
7725
+ je(" " + ge(a.getSelected[t.property.value]), 1)
7726
7726
  ], 10, j5),
7727
7727
  t.badge && a.getSelected[t.badge] ? (B(), q("span", {
7728
7728
  key: 0,
7729
7729
  class: "badge ect-bg-btn ect-rounded-[5px] ect-py-[2px] ect-px-[10px] ect-text-white",
7730
7730
  "data-test-id": `${t.dataTestId}-selection-badge`
7731
- }, ve(a.getSelected[t.badge]), 9, H5)) : ie("", !0)
7731
+ }, ge(a.getSelected[t.badge]), 9, H5)) : ie("", !0)
7732
7732
  ], 64)) : ie("", !0)
7733
7733
  ], 10, U5)),
7734
7734
  t.search ? (B(), q(Te, { key: 2 }, [
@@ -7772,7 +7772,7 @@ function tp(e, r, t, n, o, a) {
7772
7772
  key: 0,
7773
7773
  class: "error_tooltip error_tooltip-bottom-right",
7774
7774
  "data-test-id": `${t.dataTestId}-error`
7775
- }, ve(a.error_message), 9, z5)) : ie("", !0),
7775
+ }, ge(a.error_message), 9, z5)) : ie("", !0),
7776
7776
  a.getOptions && e.inputFocused && !t.disabled && (t.select || t.lookup) ? (B(), q("div", {
7777
7777
  key: 1,
7778
7778
  ref: "dropdown",
@@ -7794,7 +7794,7 @@ function tp(e, r, t, n, o, a) {
7794
7794
  _("span", {
7795
7795
  class: Re({ "ect-text-zinc-400": u[t.property.assigned] }),
7796
7796
  "data-test-id": `${t.dataTestId}-option-${c}-value`
7797
- }, ve(u[t.property.value] == null ? "Key and Value is Wrong" : u[t.property.value]), 11, Q5),
7797
+ }, ge(u[t.property.value] == null ? "Key and Value is Wrong" : u[t.property.value]), 11, Q5),
7798
7798
  u[t.property.assigned] ? (B(), q("span", {
7799
7799
  key: 0,
7800
7800
  class: "ect-text-xs ect-leading-4 ect-text-zinc-600",
@@ -7805,14 +7805,14 @@ function tp(e, r, t, n, o, a) {
7805
7805
  key: 0,
7806
7806
  class: "badge ect-bg-btn ect-rounded-[5px] ect-py-[2px] ect-px-[10px] ect-text-white",
7807
7807
  "data-test-id": `${t.dataTestId}-option-${c}-badge`
7808
- }, ve(u[t.badge]), 9, J5)) : ie("", !0)
7808
+ }, ge(u[t.badge]), 9, J5)) : ie("", !0)
7809
7809
  ], 8, X5),
7810
7810
  _("div", {
7811
7811
  class: "info",
7812
7812
  title: a.subFieldsText(u),
7813
7813
  "data-test-id": `${t.dataTestId}-option-${c}-info`
7814
7814
  }, [
7815
- _("span", null, ve(a.subFieldsText(u)), 1)
7815
+ _("span", null, ge(a.subFieldsText(u)), 1)
7816
7816
  ], 8, Y5)
7817
7817
  ], 10, K5))), 128)),
7818
7818
  !a.getOptions.length && !t.loading && (e.value || t.select) ? (B(), q("div", {
@@ -9437,20 +9437,20 @@ var Oc = { exports: {} };
9437
9437
  `) && (D = !0), R.scroll.insertAt(H, K);
9438
9438
  var X = R.scroll.line(H), J = i(X, 2), te = J[0], oe = J[1], ee = (0, k.default)({}, (0, y.bubbleFormats)(te));
9439
9439
  if (te instanceof v.default) {
9440
- var me = te.descendant(p.default.Leaf, oe), ge = i(me, 1), _e = ge[0];
9440
+ var me = te.descendant(p.default.Leaf, oe), ye = i(me, 1), _e = ye[0];
9441
9441
  ee = (0, k.default)(ee, (0, y.bubbleFormats)(_e));
9442
9442
  }
9443
9443
  U = m.default.attributes.diff(ee, U) || {};
9444
9444
  } else if (a(N.insert) === "object") {
9445
- var ue = Object.keys(N.insert)[0];
9446
- if (ue == null)
9445
+ var de = Object.keys(N.insert)[0];
9446
+ if (de == null)
9447
9447
  return H;
9448
- R.scroll.insertAt(H, ue, N.insert[ue]);
9448
+ R.scroll.insertAt(H, de, N.insert[de]);
9449
9449
  }
9450
9450
  L += V;
9451
9451
  }
9452
- return Object.keys(U).forEach(function(ye) {
9453
- R.scroll.formatAt(H, V, ye, U[ye]);
9452
+ return Object.keys(U).forEach(function(ve) {
9453
+ R.scroll.formatAt(H, V, ve, U[ve]);
9454
9454
  }), H + V;
9455
9455
  }, 0), w.reduce(function(H, N) {
9456
9456
  return typeof N.delete == "number" ? (R.scroll.deleteAt(H, N.delete), H) : H + (N.retain || N.insert.length || 1);
@@ -10743,9 +10743,9 @@ var Oc = { exports: {} };
10743
10743
  if (te.length !== 0) {
10744
10744
  var oe = K.quill.getSelection();
10745
10745
  if (!(oe == null || !K.quill.hasFocus())) {
10746
- var ee = K.quill.getLine(oe.index), me = i(ee, 2), ge = me[0], _e = me[1], ue = K.quill.getLeaf(oe.index), ye = i(ue, 2), Oe = ye[0], Se = ye[1], Ee = oe.length === 0 ? [Oe, Se] : K.quill.getLeaf(oe.index + oe.length), le = i(Ee, 2), he = le[0], we = le[1], Be = Oe instanceof v.default.Text ? Oe.value().slice(0, Se) : "", ne = he instanceof v.default.Text ? he.value().slice(we) : "", pe = {
10746
+ var ee = K.quill.getLine(oe.index), me = i(ee, 2), ye = me[0], _e = me[1], de = K.quill.getLeaf(oe.index), ve = i(de, 2), Oe = ve[0], Se = ve[1], Ee = oe.length === 0 ? [Oe, Se] : K.quill.getLeaf(oe.index + oe.length), le = i(Ee, 2), he = le[0], we = le[1], Be = Oe instanceof v.default.Text ? Oe.value().slice(0, Se) : "", ne = he instanceof v.default.Text ? he.value().slice(we) : "", pe = {
10747
10747
  collapsed: oe.length === 0,
10748
- empty: oe.length === 0 && ge.length() <= 1,
10748
+ empty: oe.length === 0 && ye.length() <= 1,
10749
10749
  format: K.quill.getFormat(oe),
10750
10750
  offset: _e,
10751
10751
  prefix: Be,
@@ -10754,12 +10754,12 @@ var Oc = { exports: {} };
10754
10754
  if (re.collapsed != null && re.collapsed !== pe.collapsed || re.empty != null && re.empty !== pe.empty || re.offset != null && re.offset !== pe.offset)
10755
10755
  return !1;
10756
10756
  if (Array.isArray(re.format)) {
10757
- if (re.format.every(function(se) {
10758
- return pe.format[se] == null;
10757
+ if (re.format.every(function(ue) {
10758
+ return pe.format[ue] == null;
10759
10759
  }))
10760
10760
  return !1;
10761
- } else if (a(re.format) === "object" && !Object.keys(re.format).every(function(se) {
10762
- return re.format[se] === !0 ? pe.format[se] != null : re.format[se] === !1 ? pe.format[se] == null : (0, m.default)(re.format[se], pe.format[se]);
10761
+ } else if (a(re.format) === "object" && !Object.keys(re.format).every(function(ue) {
10762
+ return re.format[ue] === !0 ? pe.format[ue] != null : re.format[ue] === !1 ? pe.format[ue] == null : (0, m.default)(re.format[ue], pe.format[ue]);
10763
10763
  }))
10764
10764
  return !1;
10765
10765
  return re.prefix != null && !re.prefix.test(pe.prefix) || re.suffix != null && !re.suffix.test(pe.suffix) ? !1 : re.handler.call(K, oe, pe) !== !0;
@@ -10936,8 +10936,8 @@ var Oc = { exports: {} };
10936
10936
  if (V.offset === 0) {
10937
10937
  var te = this.quill.getLine(N.index - 1), oe = i(te, 1), ee = oe[0];
10938
10938
  if (ee != null && ee.length() > 1) {
10939
- var me = X.formats(), ge = this.quill.getFormat(N.index - 1, 1);
10940
- J = x.default.attributes.diff(me, ge) || {};
10939
+ var me = X.formats(), ye = this.quill.getFormat(N.index - 1, 1);
10940
+ J = x.default.attributes.diff(me, ye) || {};
10941
10941
  }
10942
10942
  }
10943
10943
  var _e = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(V.prefix) ? 2 : 1;
@@ -10949,10 +10949,10 @@ var Oc = { exports: {} };
10949
10949
  if (!(N.index >= this.quill.getLength() - U)) {
10950
10950
  var K = {}, X = 0, J = this.quill.getLine(N.index), te = i(J, 1), oe = te[0];
10951
10951
  if (V.offset >= oe.length() - 1) {
10952
- var ee = this.quill.getLine(N.index + 1), me = i(ee, 1), ge = me[0];
10953
- if (ge) {
10954
- var _e = oe.formats(), ue = this.quill.getFormat(N.index, 1);
10955
- K = x.default.attributes.diff(_e, ue) || {}, X = ge.length();
10952
+ var ee = this.quill.getLine(N.index + 1), me = i(ee, 1), ye = me[0];
10953
+ if (ye) {
10954
+ var _e = oe.formats(), de = this.quill.getFormat(N.index, 1);
10955
+ K = x.default.attributes.diff(_e, de) || {}, X = ye.length();
10956
10956
  }
10957
10957
  }
10958
10958
  this.quill.deleteText(N.index, U, C.default.sources.USER), Object.keys(K).length > 0 && this.quill.formatLine(N.index + X - 1, U, K, C.default.sources.USER);
@@ -10985,9 +10985,9 @@ var Oc = { exports: {} };
10985
10985
  handler: function(U) {
10986
10986
  var K = v.default.query("code-block"), X = U.index, J = U.length, te = this.quill.scroll.descendant(K, X), oe = i(te, 2), ee = oe[0], me = oe[1];
10987
10987
  if (ee != null) {
10988
- var ge = this.quill.getIndex(ee), _e = ee.newlineIndex(me, !0) + 1, ue = ee.newlineIndex(ge + me + J), ye = ee.domNode.textContent.slice(_e, ue).split(`
10988
+ var ye = this.quill.getIndex(ee), _e = ee.newlineIndex(me, !0) + 1, de = ee.newlineIndex(ye + me + J), ve = ee.domNode.textContent.slice(_e, de).split(`
10989
10989
  `);
10990
- me = 0, ye.forEach(function(Oe, Se) {
10990
+ me = 0, ve.forEach(function(Oe, Se) {
10991
10991
  N ? (ee.insertAt(_e + me, K.TAB), me += K.TAB.length, Se === 0 ? X += K.TAB.length : J += K.TAB.length) : Oe.startsWith(K.TAB) && (ee.deleteAt(_e + me, K.TAB.length), me -= K.TAB.length, Se === 0 ? X -= K.TAB.length : J -= K.TAB.length), me += Oe.length + 1;
10992
10992
  }), this.quill.update(C.default.sources.USER), this.quill.setSelection(X, J, C.default.sources.SILENT);
10993
10993
  }
@@ -13164,15 +13164,15 @@ var Oc = { exports: {} };
13164
13164
  Object.defineProperty(n, "__esModule", {
13165
13165
  value: !0
13166
13166
  }), n.matchText = n.matchSpacing = n.matchNewline = n.matchBlot = n.matchAttributor = n.default = void 0;
13167
- var a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(ue) {
13168
- return typeof ue;
13169
- } : function(ue) {
13170
- return ue && typeof Symbol == "function" && ue.constructor === Symbol && ue !== Symbol.prototype ? "symbol" : typeof ue;
13167
+ var a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(de) {
13168
+ return typeof de;
13169
+ } : function(de) {
13170
+ return de && typeof Symbol == "function" && de.constructor === Symbol && de !== Symbol.prototype ? "symbol" : typeof de;
13171
13171
  }, i = /* @__PURE__ */ function() {
13172
- function ue(ye, Oe) {
13172
+ function de(ve, Oe) {
13173
13173
  var Se = [], Ee = !0, le = !1, he = void 0;
13174
13174
  try {
13175
- for (var we = ye[Symbol.iterator](), Be; !(Ee = (Be = we.next()).done) && (Se.push(Be.value), !(Oe && Se.length === Oe)); Ee = !0)
13175
+ for (var we = ve[Symbol.iterator](), Be; !(Ee = (Be = we.next()).done) && (Se.push(Be.value), !(Oe && Se.length === Oe)); Ee = !0)
13176
13176
  ;
13177
13177
  } catch (ne) {
13178
13178
  le = !0, he = ne;
@@ -13186,59 +13186,59 @@ var Oc = { exports: {} };
13186
13186
  }
13187
13187
  return Se;
13188
13188
  }
13189
- return function(ye, Oe) {
13190
- if (Array.isArray(ye))
13191
- return ye;
13192
- if (Symbol.iterator in Object(ye))
13193
- return ue(ye, Oe);
13189
+ return function(ve, Oe) {
13190
+ if (Array.isArray(ve))
13191
+ return ve;
13192
+ if (Symbol.iterator in Object(ve))
13193
+ return de(ve, Oe);
13194
13194
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
13195
13195
  };
13196
13196
  }(), l = /* @__PURE__ */ function() {
13197
- function ue(ye, Oe) {
13197
+ function de(ve, Oe) {
13198
13198
  for (var Se = 0; Se < Oe.length; Se++) {
13199
13199
  var Ee = Oe[Se];
13200
- Ee.enumerable = Ee.enumerable || !1, Ee.configurable = !0, "value" in Ee && (Ee.writable = !0), Object.defineProperty(ye, Ee.key, Ee);
13200
+ Ee.enumerable = Ee.enumerable || !1, Ee.configurable = !0, "value" in Ee && (Ee.writable = !0), Object.defineProperty(ve, Ee.key, Ee);
13201
13201
  }
13202
13202
  }
13203
- return function(ye, Oe, Se) {
13204
- return Oe && ue(ye.prototype, Oe), Se && ue(ye, Se), ye;
13203
+ return function(ve, Oe, Se) {
13204
+ return Oe && de(ve.prototype, Oe), Se && de(ve, Se), ve;
13205
13205
  };
13206
13206
  }(), u = o(3), c = I(u), f = o(2), m = I(f), d = o(0), p = I(d), s = o(5), g = I(s), h = o(10), x = I(h), y = o(9), v = I(y), b = o(36), C = o(37), A = o(13), E = I(A), O = o(26), M = o(38), S = o(39), k = o(40);
13207
- function I(ue) {
13208
- return ue && ue.__esModule ? ue : { default: ue };
13207
+ function I(de) {
13208
+ return de && de.__esModule ? de : { default: de };
13209
13209
  }
13210
- function T(ue, ye, Oe) {
13211
- return ye in ue ? Object.defineProperty(ue, ye, { value: Oe, enumerable: !0, configurable: !0, writable: !0 }) : ue[ye] = Oe, ue;
13210
+ function T(de, ve, Oe) {
13211
+ return ve in de ? Object.defineProperty(de, ve, { value: Oe, enumerable: !0, configurable: !0, writable: !0 }) : de[ve] = Oe, de;
13212
13212
  }
13213
- function $(ue, ye) {
13214
- if (!(ue instanceof ye))
13213
+ function $(de, ve) {
13214
+ if (!(de instanceof ve))
13215
13215
  throw new TypeError("Cannot call a class as a function");
13216
13216
  }
13217
- function G(ue, ye) {
13218
- if (!ue)
13217
+ function G(de, ve) {
13218
+ if (!de)
13219
13219
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
13220
- return ye && (typeof ye == "object" || typeof ye == "function") ? ye : ue;
13221
- }
13222
- function j(ue, ye) {
13223
- if (typeof ye != "function" && ye !== null)
13224
- throw new TypeError("Super expression must either be null or a function, not " + typeof ye);
13225
- ue.prototype = Object.create(ye && ye.prototype, { constructor: { value: ue, enumerable: !1, writable: !0, configurable: !0 } }), ye && (Object.setPrototypeOf ? Object.setPrototypeOf(ue, ye) : ue.__proto__ = ye);
13226
- }
13227
- var Z = (0, x.default)("quill:clipboard"), Y = "__ql-matcher", Q = [[Node.TEXT_NODE, _e], [Node.TEXT_NODE, ee], ["br", J], [Node.ELEMENT_NODE, ee], [Node.ELEMENT_NODE, X], [Node.ELEMENT_NODE, me], [Node.ELEMENT_NODE, K], [Node.ELEMENT_NODE, ge], ["li", oe], ["b", U.bind(U, "bold")], ["i", U.bind(U, "italic")], ["style", te]], P = [b.AlignAttribute, M.DirectionAttribute].reduce(function(ue, ye) {
13228
- return ue[ye.keyName] = ye, ue;
13229
- }, {}), w = [b.AlignStyle, C.BackgroundStyle, O.ColorStyle, M.DirectionStyle, S.FontStyle, k.SizeStyle].reduce(function(ue, ye) {
13230
- return ue[ye.keyName] = ye, ue;
13231
- }, {}), R = function(ue) {
13232
- j(ye, ue);
13233
- function ye(Oe, Se) {
13234
- $(this, ye);
13235
- var Ee = G(this, (ye.__proto__ || Object.getPrototypeOf(ye)).call(this, Oe, Se));
13220
+ return ve && (typeof ve == "object" || typeof ve == "function") ? ve : de;
13221
+ }
13222
+ function j(de, ve) {
13223
+ if (typeof ve != "function" && ve !== null)
13224
+ throw new TypeError("Super expression must either be null or a function, not " + typeof ve);
13225
+ de.prototype = Object.create(ve && ve.prototype, { constructor: { value: de, enumerable: !1, writable: !0, configurable: !0 } }), ve && (Object.setPrototypeOf ? Object.setPrototypeOf(de, ve) : de.__proto__ = ve);
13226
+ }
13227
+ var Z = (0, x.default)("quill:clipboard"), Y = "__ql-matcher", Q = [[Node.TEXT_NODE, _e], [Node.TEXT_NODE, ee], ["br", J], [Node.ELEMENT_NODE, ee], [Node.ELEMENT_NODE, X], [Node.ELEMENT_NODE, me], [Node.ELEMENT_NODE, K], [Node.ELEMENT_NODE, ye], ["li", oe], ["b", U.bind(U, "bold")], ["i", U.bind(U, "italic")], ["style", te]], P = [b.AlignAttribute, M.DirectionAttribute].reduce(function(de, ve) {
13228
+ return de[ve.keyName] = ve, de;
13229
+ }, {}), w = [b.AlignStyle, C.BackgroundStyle, O.ColorStyle, M.DirectionStyle, S.FontStyle, k.SizeStyle].reduce(function(de, ve) {
13230
+ return de[ve.keyName] = ve, de;
13231
+ }, {}), R = function(de) {
13232
+ j(ve, de);
13233
+ function ve(Oe, Se) {
13234
+ $(this, ve);
13235
+ var Ee = G(this, (ve.__proto__ || Object.getPrototypeOf(ve)).call(this, Oe, Se));
13236
13236
  return Ee.quill.root.addEventListener("paste", Ee.onPaste.bind(Ee)), Ee.container = Ee.quill.addContainer("ql-clipboard"), Ee.container.setAttribute("contenteditable", !0), Ee.container.setAttribute("tabindex", -1), Ee.matchers = [], Q.concat(Ee.options.matchers).forEach(function(le) {
13237
13237
  var he = i(le, 2), we = he[0], Be = he[1];
13238
13238
  !Se.matchVisual && Be === me || Ee.addMatcher(we, Be);
13239
13239
  }), Ee;
13240
13240
  }
13241
- return l(ye, [{
13241
+ return l(ve, [{
13242
13242
  key: "addMatcher",
13243
13243
  value: function(Se, Ee) {
13244
13244
  this.matchers.push([Se, Ee]);
@@ -13300,122 +13300,122 @@ var Oc = { exports: {} };
13300
13300
  }
13301
13301
  }), [Ee, le];
13302
13302
  }
13303
- }]), ye;
13303
+ }]), ve;
13304
13304
  }(v.default);
13305
13305
  R.DEFAULTS = {
13306
13306
  matchers: [],
13307
13307
  matchVisual: !0
13308
13308
  };
13309
- function D(ue, ye, Oe) {
13310
- return (typeof ye > "u" ? "undefined" : a(ye)) === "object" ? Object.keys(ye).reduce(function(Se, Ee) {
13311
- return D(Se, Ee, ye[Ee]);
13312
- }, ue) : ue.reduce(function(Se, Ee) {
13313
- return Ee.attributes && Ee.attributes[ye] ? Se.push(Ee) : Se.insert(Ee.insert, (0, c.default)({}, T({}, ye, Oe), Ee.attributes));
13309
+ function D(de, ve, Oe) {
13310
+ return (typeof ve > "u" ? "undefined" : a(ve)) === "object" ? Object.keys(ve).reduce(function(Se, Ee) {
13311
+ return D(Se, Ee, ve[Ee]);
13312
+ }, de) : de.reduce(function(Se, Ee) {
13313
+ return Ee.attributes && Ee.attributes[ve] ? Se.push(Ee) : Se.insert(Ee.insert, (0, c.default)({}, T({}, ve, Oe), Ee.attributes));
13314
13314
  }, new m.default());
13315
13315
  }
13316
- function L(ue) {
13317
- if (ue.nodeType !== Node.ELEMENT_NODE)
13316
+ function L(de) {
13317
+ if (de.nodeType !== Node.ELEMENT_NODE)
13318
13318
  return {};
13319
- var ye = "__ql-computed-style";
13320
- return ue[ye] || (ue[ye] = window.getComputedStyle(ue));
13319
+ var ve = "__ql-computed-style";
13320
+ return de[ve] || (de[ve] = window.getComputedStyle(de));
13321
13321
  }
13322
- function H(ue, ye) {
13323
- for (var Oe = "", Se = ue.ops.length - 1; Se >= 0 && Oe.length < ye.length; --Se) {
13324
- var Ee = ue.ops[Se];
13322
+ function H(de, ve) {
13323
+ for (var Oe = "", Se = de.ops.length - 1; Se >= 0 && Oe.length < ve.length; --Se) {
13324
+ var Ee = de.ops[Se];
13325
13325
  if (typeof Ee.insert != "string")
13326
13326
  break;
13327
13327
  Oe = Ee.insert + Oe;
13328
13328
  }
13329
- return Oe.slice(-1 * ye.length) === ye;
13329
+ return Oe.slice(-1 * ve.length) === ve;
13330
13330
  }
13331
- function N(ue) {
13332
- if (ue.childNodes.length === 0)
13331
+ function N(de) {
13332
+ if (de.childNodes.length === 0)
13333
13333
  return !1;
13334
- var ye = L(ue);
13335
- return ["block", "list-item"].indexOf(ye.display) > -1;
13336
- }
13337
- function V(ue, ye, Oe) {
13338
- return ue.nodeType === ue.TEXT_NODE ? Oe.reduce(function(Se, Ee) {
13339
- return Ee(ue, Se);
13340
- }, new m.default()) : ue.nodeType === ue.ELEMENT_NODE ? [].reduce.call(ue.childNodes || [], function(Se, Ee) {
13341
- var le = V(Ee, ye, Oe);
13342
- return Ee.nodeType === ue.ELEMENT_NODE && (le = ye.reduce(function(he, we) {
13334
+ var ve = L(de);
13335
+ return ["block", "list-item"].indexOf(ve.display) > -1;
13336
+ }
13337
+ function V(de, ve, Oe) {
13338
+ return de.nodeType === de.TEXT_NODE ? Oe.reduce(function(Se, Ee) {
13339
+ return Ee(de, Se);
13340
+ }, new m.default()) : de.nodeType === de.ELEMENT_NODE ? [].reduce.call(de.childNodes || [], function(Se, Ee) {
13341
+ var le = V(Ee, ve, Oe);
13342
+ return Ee.nodeType === de.ELEMENT_NODE && (le = ve.reduce(function(he, we) {
13343
13343
  return we(Ee, he);
13344
13344
  }, le), le = (Ee[Y] || []).reduce(function(he, we) {
13345
13345
  return we(Ee, he);
13346
13346
  }, le)), Se.concat(le);
13347
13347
  }, new m.default()) : new m.default();
13348
13348
  }
13349
- function U(ue, ye, Oe) {
13350
- return D(Oe, ue, !0);
13349
+ function U(de, ve, Oe) {
13350
+ return D(Oe, de, !0);
13351
13351
  }
13352
- function K(ue, ye) {
13353
- var Oe = p.default.Attributor.Attribute.keys(ue), Se = p.default.Attributor.Class.keys(ue), Ee = p.default.Attributor.Style.keys(ue), le = {};
13352
+ function K(de, ve) {
13353
+ var Oe = p.default.Attributor.Attribute.keys(de), Se = p.default.Attributor.Class.keys(de), Ee = p.default.Attributor.Style.keys(de), le = {};
13354
13354
  return Oe.concat(Se).concat(Ee).forEach(function(he) {
13355
13355
  var we = p.default.query(he, p.default.Scope.ATTRIBUTE);
13356
- we != null && (le[we.attrName] = we.value(ue), le[we.attrName]) || (we = P[he], we != null && (we.attrName === he || we.keyName === he) && (le[we.attrName] = we.value(ue) || void 0), we = w[he], we != null && (we.attrName === he || we.keyName === he) && (we = w[he], le[we.attrName] = we.value(ue) || void 0));
13357
- }), Object.keys(le).length > 0 && (ye = D(ye, le)), ye;
13356
+ we != null && (le[we.attrName] = we.value(de), le[we.attrName]) || (we = P[he], we != null && (we.attrName === he || we.keyName === he) && (le[we.attrName] = we.value(de) || void 0), we = w[he], we != null && (we.attrName === he || we.keyName === he) && (we = w[he], le[we.attrName] = we.value(de) || void 0));
13357
+ }), Object.keys(le).length > 0 && (ve = D(ve, le)), ve;
13358
13358
  }
13359
- function X(ue, ye) {
13360
- var Oe = p.default.query(ue);
13359
+ function X(de, ve) {
13360
+ var Oe = p.default.query(de);
13361
13361
  if (Oe == null)
13362
- return ye;
13362
+ return ve;
13363
13363
  if (Oe.prototype instanceof p.default.Embed) {
13364
- var Se = {}, Ee = Oe.value(ue);
13365
- Ee != null && (Se[Oe.blotName] = Ee, ye = new m.default().insert(Se, Oe.formats(ue)));
13364
+ var Se = {}, Ee = Oe.value(de);
13365
+ Ee != null && (Se[Oe.blotName] = Ee, ve = new m.default().insert(Se, Oe.formats(de)));
13366
13366
  } else
13367
- typeof Oe.formats == "function" && (ye = D(ye, Oe.blotName, Oe.formats(ue)));
13368
- return ye;
13367
+ typeof Oe.formats == "function" && (ve = D(ve, Oe.blotName, Oe.formats(de)));
13368
+ return ve;
13369
13369
  }
13370
- function J(ue, ye) {
13371
- return H(ye, `
13372
- `) || ye.insert(`
13373
- `), ye;
13370
+ function J(de, ve) {
13371
+ return H(ve, `
13372
+ `) || ve.insert(`
13373
+ `), ve;
13374
13374
  }
13375
13375
  function te() {
13376
13376
  return new m.default();
13377
13377
  }
13378
- function oe(ue, ye) {
13379
- var Oe = p.default.query(ue);
13380
- if (Oe == null || Oe.blotName !== "list-item" || !H(ye, `
13378
+ function oe(de, ve) {
13379
+ var Oe = p.default.query(de);
13380
+ if (Oe == null || Oe.blotName !== "list-item" || !H(ve, `
13381
13381
  `))
13382
- return ye;
13383
- for (var Se = -1, Ee = ue.parentNode; !Ee.classList.contains("ql-clipboard"); )
13382
+ return ve;
13383
+ for (var Se = -1, Ee = de.parentNode; !Ee.classList.contains("ql-clipboard"); )
13384
13384
  (p.default.query(Ee) || {}).blotName === "list" && (Se += 1), Ee = Ee.parentNode;
13385
- return Se <= 0 ? ye : ye.compose(new m.default().retain(ye.length() - 1).retain(1, { indent: Se }));
13385
+ return Se <= 0 ? ve : ve.compose(new m.default().retain(ve.length() - 1).retain(1, { indent: Se }));
13386
13386
  }
13387
- function ee(ue, ye) {
13388
- return H(ye, `
13389
- `) || (N(ue) || ye.length() > 0 && ue.nextSibling && N(ue.nextSibling)) && ye.insert(`
13390
- `), ye;
13387
+ function ee(de, ve) {
13388
+ return H(ve, `
13389
+ `) || (N(de) || ve.length() > 0 && de.nextSibling && N(de.nextSibling)) && ve.insert(`
13390
+ `), ve;
13391
13391
  }
13392
- function me(ue, ye) {
13393
- if (N(ue) && ue.nextElementSibling != null && !H(ye, `
13392
+ function me(de, ve) {
13393
+ if (N(de) && de.nextElementSibling != null && !H(ve, `
13394
13394
 
13395
13395
  `)) {
13396
- var Oe = ue.offsetHeight + parseFloat(L(ue).marginTop) + parseFloat(L(ue).marginBottom);
13397
- ue.nextElementSibling.offsetTop > ue.offsetTop + Oe * 1.5 && ye.insert(`
13396
+ var Oe = de.offsetHeight + parseFloat(L(de).marginTop) + parseFloat(L(de).marginBottom);
13397
+ de.nextElementSibling.offsetTop > de.offsetTop + Oe * 1.5 && ve.insert(`
13398
13398
  `);
13399
13399
  }
13400
- return ye;
13401
- }
13402
- function ge(ue, ye) {
13403
- var Oe = {}, Se = ue.style || {};
13404
- return Se.fontStyle && L(ue).fontStyle === "italic" && (Oe.italic = !0), Se.fontWeight && (L(ue).fontWeight.startsWith("bold") || parseInt(L(ue).fontWeight) >= 700) && (Oe.bold = !0), Object.keys(Oe).length > 0 && (ye = D(ye, Oe)), parseFloat(Se.textIndent || 0) > 0 && (ye = new m.default().insert(" ").concat(ye)), ye;
13405
- }
13406
- function _e(ue, ye) {
13407
- var Oe = ue.data;
13408
- if (ue.parentNode.tagName === "O:P")
13409
- return ye.insert(Oe.trim());
13410
- if (Oe.trim().length === 0 && ue.parentNode.classList.contains("ql-clipboard"))
13411
- return ye;
13412
- if (!L(ue.parentNode).whiteSpace.startsWith("pre")) {
13400
+ return ve;
13401
+ }
13402
+ function ye(de, ve) {
13403
+ var Oe = {}, Se = de.style || {};
13404
+ return Se.fontStyle && L(de).fontStyle === "italic" && (Oe.italic = !0), Se.fontWeight && (L(de).fontWeight.startsWith("bold") || parseInt(L(de).fontWeight) >= 700) && (Oe.bold = !0), Object.keys(Oe).length > 0 && (ve = D(ve, Oe)), parseFloat(Se.textIndent || 0) > 0 && (ve = new m.default().insert(" ").concat(ve)), ve;
13405
+ }
13406
+ function _e(de, ve) {
13407
+ var Oe = de.data;
13408
+ if (de.parentNode.tagName === "O:P")
13409
+ return ve.insert(Oe.trim());
13410
+ if (Oe.trim().length === 0 && de.parentNode.classList.contains("ql-clipboard"))
13411
+ return ve;
13412
+ if (!L(de.parentNode).whiteSpace.startsWith("pre")) {
13413
13413
  var Se = function(le, he) {
13414
13414
  return he = he.replace(/[^\u00a0]/g, ""), he.length < 1 && le ? " " : he;
13415
13415
  };
13416
- Oe = Oe.replace(/\r\n/g, " ").replace(/\n/g, " "), Oe = Oe.replace(/\s\s+/g, Se.bind(Se, !0)), (ue.previousSibling == null && N(ue.parentNode) || ue.previousSibling != null && N(ue.previousSibling)) && (Oe = Oe.replace(/^\s+/, Se.bind(Se, !1))), (ue.nextSibling == null && N(ue.parentNode) || ue.nextSibling != null && N(ue.nextSibling)) && (Oe = Oe.replace(/\s+$/, Se.bind(Se, !1)));
13416
+ Oe = Oe.replace(/\r\n/g, " ").replace(/\n/g, " "), Oe = Oe.replace(/\s\s+/g, Se.bind(Se, !0)), (de.previousSibling == null && N(de.parentNode) || de.previousSibling != null && N(de.previousSibling)) && (Oe = Oe.replace(/^\s+/, Se.bind(Se, !1))), (de.nextSibling == null && N(de.parentNode) || de.nextSibling != null && N(de.nextSibling)) && (Oe = Oe.replace(/\s+$/, Se.bind(Se, !1)));
13417
13417
  }
13418
- return ye.insert(Oe);
13418
+ return ve.insert(Oe);
13419
13419
  }
13420
13420
  n.default = R, n.matchAttributor = K, n.matchBlot = X, n.matchNewline = ee, n.matchSpacing = me, n.matchText = _e;
13421
13421
  },
@@ -14062,7 +14062,7 @@ var Oc = { exports: {} };
14062
14062
  Object.defineProperty(n, "__esModule", {
14063
14063
  value: !0
14064
14064
  });
14065
- var a = o(29), i = Ee(a), l = o(36), u = o(38), c = o(64), f = o(65), m = Ee(f), d = o(66), p = Ee(d), s = o(67), g = Ee(s), h = o(37), x = o(26), y = o(39), v = o(40), b = o(56), C = Ee(b), A = o(68), E = Ee(A), O = o(27), M = Ee(O), S = o(69), k = Ee(S), I = o(70), T = Ee(I), $ = o(71), G = Ee($), j = o(72), Z = Ee(j), Y = o(73), Q = Ee(Y), P = o(13), w = Ee(P), R = o(74), D = Ee(R), L = o(75), H = Ee(L), N = o(57), V = Ee(N), U = o(41), K = Ee(U), X = o(28), J = Ee(X), te = o(59), oe = Ee(te), ee = o(60), me = Ee(ee), ge = o(61), _e = Ee(ge), ue = o(108), ye = Ee(ue), Oe = o(62), Se = Ee(Oe);
14065
+ var a = o(29), i = Ee(a), l = o(36), u = o(38), c = o(64), f = o(65), m = Ee(f), d = o(66), p = Ee(d), s = o(67), g = Ee(s), h = o(37), x = o(26), y = o(39), v = o(40), b = o(56), C = Ee(b), A = o(68), E = Ee(A), O = o(27), M = Ee(O), S = o(69), k = Ee(S), I = o(70), T = Ee(I), $ = o(71), G = Ee($), j = o(72), Z = Ee(j), Y = o(73), Q = Ee(Y), P = o(13), w = Ee(P), R = o(74), D = Ee(R), L = o(75), H = Ee(L), N = o(57), V = Ee(N), U = o(41), K = Ee(U), X = o(28), J = Ee(X), te = o(59), oe = Ee(te), ee = o(60), me = Ee(ee), ye = o(61), _e = Ee(ye), de = o(108), ve = Ee(de), Oe = o(62), Se = Ee(Oe);
14066
14066
  function Ee(le) {
14067
14067
  return le && le.__esModule ? le : { default: le };
14068
14068
  }
@@ -14105,7 +14105,7 @@ var Oc = { exports: {} };
14105
14105
  "modules/formula": D.default,
14106
14106
  "modules/syntax": H.default,
14107
14107
  "modules/toolbar": V.default,
14108
- "themes/bubble": ye.default,
14108
+ "themes/bubble": ve.default,
14109
14109
  "themes/snow": Se.default,
14110
14110
  "ui/icons": K.default,
14111
14111
  "ui/picker": J.default,
@@ -15553,7 +15553,7 @@ ta.exports;
15553
15553
  ae[++W] = [Ve, ke];
15554
15554
  }), ae;
15555
15555
  }
15556
- function ge(F, W) {
15556
+ function ye(F, W) {
15557
15557
  return function(ae) {
15558
15558
  return F(W(ae));
15559
15559
  };
@@ -15564,12 +15564,12 @@ ta.exports;
15564
15564
  ae[++W] = ke;
15565
15565
  }), ae;
15566
15566
  }
15567
- var ue = Array.prototype, ye = Function.prototype, Oe = Object.prototype, Se = D["__core-js_shared__"], Ee = function() {
15567
+ var de = Array.prototype, ve = Function.prototype, Oe = Object.prototype, Se = D["__core-js_shared__"], Ee = function() {
15568
15568
  var F = /[^.]+$/.exec(Se && Se.keys && Se.keys.IE_PROTO || "");
15569
15569
  return F ? "Symbol(src)_1." + F : "";
15570
- }(), le = ye.toString, he = Oe.hasOwnProperty, we = Oe.toString, Be = RegExp(
15570
+ }(), le = ve.toString, he = Oe.hasOwnProperty, we = Oe.toString, Be = RegExp(
15571
15571
  "^" + le.call(he).replace(j, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
15572
- ), ne = N ? D.Buffer : void 0, pe = D.Symbol, be = D.Uint8Array, re = ge(Object.getPrototypeOf, Object), se = Object.create, Ce = Oe.propertyIsEnumerable, Ue = ue.splice, We = Object.getOwnPropertySymbols, Ge = ne ? ne.isBuffer : void 0, lt = ge(Object.keys, Object), Qe = xn(D, "DataView"), ut = xn(D, "Map"), nt = xn(D, "Promise"), st = xn(D, "Set"), _t = xn(D, "WeakMap"), Bt = xn(Object, "create"), Un = qt(Qe), vn = qt(ut), ct = qt(nt), Pt = qt(st), jn = qt(_t), an = pe ? pe.prototype : void 0, bn = an ? an.valueOf : void 0;
15572
+ ), ne = N ? D.Buffer : void 0, pe = D.Symbol, be = D.Uint8Array, re = ye(Object.getPrototypeOf, Object), ue = Object.create, Ce = Oe.propertyIsEnumerable, Ue = de.splice, We = Object.getOwnPropertySymbols, Ge = ne ? ne.isBuffer : void 0, lt = ye(Object.keys, Object), Qe = xn(D, "DataView"), ut = xn(D, "Map"), nt = xn(D, "Promise"), st = xn(D, "Set"), _t = xn(D, "WeakMap"), Bt = xn(Object, "create"), Un = qt(Qe), vn = qt(ut), ct = qt(nt), Pt = qt(st), jn = qt(_t), an = pe ? pe.prototype : void 0, bn = an ? an.valueOf : void 0;
15573
15573
  function Xt(F) {
15574
15574
  var W = -1, ae = F ? F.length : 0;
15575
15575
  for (this.clear(); ++W < ae; ) {
@@ -15649,13 +15649,13 @@ ta.exports;
15649
15649
  function Pe(F) {
15650
15650
  return sr(this, F).get(F);
15651
15651
  }
15652
- function de(F) {
15652
+ function ce(F) {
15653
15653
  return sr(this, F).has(F);
15654
15654
  }
15655
15655
  function Me(F, W) {
15656
15656
  return sr(this, F).set(F, W), this;
15657
15657
  }
15658
- Et.prototype.clear = Cr, Et.prototype.delete = Pr, Et.prototype.get = Pe, Et.prototype.has = de, Et.prototype.set = Me;
15658
+ Et.prototype.clear = Cr, Et.prototype.delete = Pr, Et.prototype.get = Pe, Et.prototype.has = ce, Et.prototype.set = Me;
15659
15659
  function Fe(F) {
15660
15660
  this.__data__ = new gt(F);
15661
15661
  }
@@ -15737,7 +15737,7 @@ ta.exports;
15737
15737
  }), tt;
15738
15738
  }
15739
15739
  function ka(F) {
15740
- return Tn(F) ? se(F) : {};
15740
+ return Tn(F) ? ue(F) : {};
15741
15741
  }
15742
15742
  function Aa(F, W, ae) {
15743
15743
  var ke = W(F);
@@ -15821,7 +15821,7 @@ ta.exports;
15821
15821
  var ae = oe(F, W);
15822
15822
  return Ia(ae) ? ae : void 0;
15823
15823
  }
15824
- var Vn = We ? ge(We, Object) : Ua, zn = wa;
15824
+ var Vn = We ? ye(We, Object) : Ua, zn = wa;
15825
15825
  (Qe && zn(new Qe(new ArrayBuffer(1))) != A || ut && zn(new ut()) != d || nt && zn(nt.resolve()) != g || st && zn(new st()) != x || _t && zn(new _t()) != b) && (zn = function(F) {
15826
15826
  var W = we.call(F), ae = W == s ? F.constructor : void 0, ke = ae ? qt(ae) : void 0;
15827
15827
  if (ke)
@@ -15966,7 +15966,7 @@ na.exports;
15966
15966
  }
15967
15967
  return qe;
15968
15968
  }
15969
- function ge(F, W) {
15969
+ function ye(F, W) {
15970
15970
  for (var ae = -1, ke = W.length, Ve = F.length; ++ae < ke; )
15971
15971
  F[Ve + ae] = W[ae];
15972
15972
  return F;
@@ -15977,12 +15977,12 @@ na.exports;
15977
15977
  return !0;
15978
15978
  return !1;
15979
15979
  }
15980
- function ue(F, W) {
15980
+ function de(F, W) {
15981
15981
  for (var ae = -1, ke = Array(F); ++ae < F; )
15982
15982
  ke[ae] = W(ae);
15983
15983
  return ke;
15984
15984
  }
15985
- function ye(F) {
15985
+ function ve(F) {
15986
15986
  return function(W) {
15987
15987
  return F(W);
15988
15988
  };
@@ -16010,7 +16010,7 @@ na.exports;
16010
16010
  ae[++W] = ke;
16011
16011
  }), ae;
16012
16012
  }
16013
- var we = Array.prototype, Be = Function.prototype, ne = Object.prototype, pe = U["__core-js_shared__"], be = Be.toString, re = ne.hasOwnProperty, se = function() {
16013
+ var we = Array.prototype, Be = Function.prototype, ne = Object.prototype, pe = U["__core-js_shared__"], be = Be.toString, re = ne.hasOwnProperty, ue = function() {
16014
16014
  var F = /[^.]+$/.exec(pe && pe.keys && pe.keys.IE_PROTO || "");
16015
16015
  return F ? "Symbol(src)_1." + F : "";
16016
16016
  }(), Ce = ne.toString, Ue = RegExp(
@@ -16068,14 +16068,14 @@ na.exports;
16068
16068
  var W = this.__data__, ae = Er(W, F);
16069
16069
  return ae < 0 ? void 0 : W[ae][1];
16070
16070
  }
16071
- function de(F) {
16071
+ function ce(F) {
16072
16072
  return Er(this.__data__, F) > -1;
16073
16073
  }
16074
16074
  function Me(F, W) {
16075
16075
  var ae = this.__data__, ke = Er(ae, F);
16076
16076
  return ke < 0 ? (++this.size, ae.push([F, W])) : ae[ke][1] = W, this;
16077
16077
  }
16078
- Et.prototype.clear = Cr, Et.prototype.delete = Pr, Et.prototype.get = Pe, Et.prototype.has = de, Et.prototype.set = Me;
16078
+ Et.prototype.clear = Cr, Et.prototype.delete = Pr, Et.prototype.get = Pe, Et.prototype.has = ce, Et.prototype.set = Me;
16079
16079
  function Fe(F) {
16080
16080
  var W = -1, ae = F == null ? 0 : F.length;
16081
16081
  for (this.clear(); ++W < ae; ) {
@@ -16146,7 +16146,7 @@ na.exports;
16146
16146
  }
16147
16147
  sn.prototype.clear = Qn, sn.prototype.delete = ka, sn.prototype.get = Aa, sn.prototype.has = wa, sn.prototype.set = Ia;
16148
16148
  function Sa(F, W) {
16149
- var ae = kr(F), ke = !ae && wo(F), Ve = !ae && !ke && Ar(F), qe = !ae && !ke && !Ve && Oo(F), Je = ae || ke || Ve || qe, tt = Je ? ue(F.length, String) : [], bt = tt.length;
16149
+ var ae = kr(F), ke = !ae && wo(F), Ve = !ae && !ke && Ar(F), qe = !ae && !ke && !Ve && Oo(F), Je = ae || ke || Ve || qe, tt = Je ? de(F.length, String) : [], bt = tt.length;
16150
16150
  for (var rt in F)
16151
16151
  (W || re.call(F, rt)) && !(Je && // Safari 9 has enumerable `arguments.length` in strict mode.
16152
16152
  (rt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -16163,7 +16163,7 @@ na.exports;
16163
16163
  }
16164
16164
  function qr(F, W, ae) {
16165
16165
  var ke = W(F);
16166
- return kr(F) ? ke : ge(ke, ae(F));
16166
+ return kr(F) ? ke : ye(ke, ae(F));
16167
16167
  }
16168
16168
  function ur(F) {
16169
16169
  return F == null ? F === void 0 ? M : x : nt && nt in Object(F) ? zn(F) : ko(F);
@@ -16361,7 +16361,7 @@ na.exports;
16361
16361
  return W == "string" || W == "number" || W == "symbol" || W == "boolean" ? F !== "__proto__" : F === null;
16362
16362
  }
16363
16363
  function Pa(F) {
16364
- return !!se && se in F;
16364
+ return !!ue && ue in F;
16365
16365
  }
16366
16366
  function qa(F) {
16367
16367
  var W = F && F.constructor, ae = typeof W == "function" && W.prototype || ne;
@@ -16414,7 +16414,7 @@ na.exports;
16414
16414
  function Tn(F) {
16415
16415
  return F != null && typeof F == "object";
16416
16416
  }
16417
- var Oo = ee ? ye(ee) : Da;
16417
+ var Oo = ee ? ve(ee) : Da;
16418
16418
  function Hr(F) {
16419
16419
  return Ur(F) ? Sa(F) : Ra(F);
16420
16420
  }
@@ -17013,13 +17013,13 @@ const gu = {
17013
17013
  for: e.label,
17014
17014
  "data-test-id": `${e.dataTestId}-label`
17015
17015
  }, [
17016
- je(ve(e.label) + " ", 1),
17016
+ je(ge(e.label) + " ", 1),
17017
17017
  e.required ? (B(), q("span", {
17018
17018
  key: 0,
17019
17019
  class: Re({ error_color: !!e.error })
17020
17020
  }, "*", 2)) : ie("", !0)
17021
17021
  ], 10, xp)) : ie("", !0),
17022
- ce(Ie(vp), {
17022
+ se(Ie(vp), {
17023
17023
  "content-type": "html",
17024
17024
  toolbar: e.editorOptions,
17025
17025
  "model-value": e.modelValue,
@@ -17031,7 +17031,7 @@ const gu = {
17031
17031
  key: 1,
17032
17032
  class: "error_tooltip error_tooltip-bottom-right",
17033
17033
  "data-test-id": `${e.dataTestId}-error`
17034
- }, ve(t.value), 9, _p)) : ie("", !0)
17034
+ }, ge(t.value), 9, _p)) : ie("", !0)
17035
17035
  ]));
17036
17036
  }
17037
17037
  }, Ep = /* @__PURE__ */ Ne(Cp, [["__scopeId", "data-v-76aecac0"]]), kp = {
@@ -17084,10 +17084,10 @@ const gu = {
17084
17084
  });
17085
17085
  return (u, c) => (B(), q(Te, null, [
17086
17086
  _("div", kp, [
17087
- e.title ? (B(), q("div", Ap, ve(e.title), 1)) : ie("", !0),
17087
+ e.title ? (B(), q("div", Ap, ge(e.title), 1)) : ie("", !0),
17088
17088
  _("div", wp, [
17089
17089
  o.value ? (B(), q("div", Ip, [
17090
- ce(Bn, {
17090
+ se(Bn, {
17091
17091
  modelValue: o.value.referenceRecordId,
17092
17092
  "onUpdate:modelValue": [
17093
17093
  c[0] || (c[0] = (f) => o.value.referenceRecordId = f),
@@ -17140,9 +17140,9 @@ const gu = {
17140
17140
  for: `checkbox-${f.attRecordId ?? u.index}`,
17141
17141
  class: "ect-text-sm ect-font-medium ect-text-gray-900 ect-cursor-pointer",
17142
17142
  "data-test-id": `configurator-inputs-checkbox-label-${f.attRecordId ?? u.index}`
17143
- }, ve(f.label), 9, Tp)
17143
+ }, ge(f.label), 9, Tp)
17144
17144
  ], 8, Sp)) : f.dataType === "TEXTAREA" ? (B(), q("div", Dp, [
17145
- ce(Ep, {
17145
+ se(Ep, {
17146
17146
  modelValue: f.value,
17147
17147
  "onUpdate:modelValue": (d) => f.value = d,
17148
17148
  label: f.label,
@@ -17239,13 +17239,13 @@ const gu = {
17239
17239
  { deep: !0 }
17240
17240
  ), (f, m) => (B(), q("div", Mp, [
17241
17241
  _("div", Fp, [
17242
- ce(vu, { attributes: n.value }, null, 8, ["attributes"])
17242
+ se(vu, { attributes: n.value }, null, 8, ["attributes"])
17243
17243
  ]),
17244
17244
  (B(!0), q(Te, null, Le(o.value, (d) => (B(), q("div", {
17245
17245
  key: d.attRecordId,
17246
17246
  class: "ect-bg-white ect-rounded-lg"
17247
17247
  }, [
17248
- ce(vu, {
17248
+ se(vu, {
17249
17249
  title: d.referenceLabel + " Lookup",
17250
17250
  lookup: d,
17251
17251
  attributes: d.relatedFields
@@ -17278,13 +17278,13 @@ const gu = {
17278
17278
  _("header", Np, [
17279
17279
  Lp,
17280
17280
  _("div", Pp, [
17281
- _("p", qp, ve(e.option.itemName), 1),
17282
- _("p", $p, ve(e.option.qty), 1),
17283
- _("p", Up, ve(e.option.price), 1)
17281
+ _("p", qp, ge(e.option.itemName), 1),
17282
+ _("p", $p, ge(e.option.qty), 1),
17283
+ _("p", Up, ge(e.option.price), 1)
17284
17284
  ])
17285
17285
  ]),
17286
17286
  _("main", jp, [
17287
- ce(wl, {
17287
+ se(wl, {
17288
17288
  attributes: o.value,
17289
17289
  "config-item": e.option
17290
17290
  }, null, 8, ["attributes", "config-item"])
@@ -17292,7 +17292,7 @@ const gu = {
17292
17292
  ]),
17293
17293
  footer: ze(() => [
17294
17294
  _("div", Hp, [
17295
- ce(Lt, {
17295
+ se(Lt, {
17296
17296
  class: "ect-min-w-[100px]",
17297
17297
  btype: "secondary",
17298
17298
  "button-style": "outlined",
@@ -17305,7 +17305,7 @@ const gu = {
17305
17305
  ]),
17306
17306
  _: 1
17307
17307
  }),
17308
- ce(Lt, {
17308
+ se(Lt, {
17309
17309
  class: "ect-min-w-[100px]",
17310
17310
  btype: "primary",
17311
17311
  "button-style": "primary",
@@ -17386,7 +17386,7 @@ const gu = {
17386
17386
  "data-test-id": `configurator-tab-section-${y.itemTypeId}`,
17387
17387
  class: "ect-scroll-mt-4"
17388
17388
  }, [
17389
- ce(Ah, {
17389
+ se(Ah, {
17390
17390
  title: y.itemTypeName,
17391
17391
  description: y.description,
17392
17392
  message: y.minMaxMessage,
@@ -17470,7 +17470,7 @@ const gu = {
17470
17470
  onClose: (b) => v.showAttributesModal = !1
17471
17471
  }, null, 8, ["option", "attributes", "onDone", "onClose"])) : ie("", !0)
17472
17472
  ])) : (B(), q("div", Wp, [
17473
- ce(wl, {
17473
+ se(wl, {
17474
17474
  attributes: v.attributes,
17475
17475
  "config-item": v
17476
17476
  }, null, 8, ["attributes", "config-item"])
@@ -17520,25 +17520,25 @@ const gu = {
17520
17520
  }, [
17521
17521
  _("section", Yp, [
17522
17522
  _("div", e6, [
17523
- _("h3", t6, ve(n.category), 1)
17523
+ _("h3", t6, ge(n.category), 1)
17524
17524
  ]),
17525
17525
  (B(!0), q(Te, null, Le(n.selectedItemTypes, (o) => (B(), q("div", {
17526
17526
  key: o.itemTypeId,
17527
17527
  class: "ect-flex ect-flex-col ect-border-b ect-border-ect-gray-200"
17528
17528
  }, [
17529
17529
  _("div", n6, [
17530
- _("h4", r6, ve(o.itemTypeName), 1)
17530
+ _("h4", r6, ge(o.itemTypeName), 1)
17531
17531
  ]),
17532
17532
  (B(!0), q(Te, null, Le(o.selectedOptions, (a) => (B(), q(Te, {
17533
17533
  key: a.itemId
17534
17534
  }, [
17535
17535
  _("div", o6, [
17536
17536
  _("div", a6, [
17537
- _("span", i6, ve(a.itemName), 1)
17537
+ _("span", i6, ge(a.itemName), 1)
17538
17538
  ]),
17539
17539
  _("div", l6, [
17540
17540
  _("div", u6, [
17541
- ce(ea, {
17541
+ se(ea, {
17542
17542
  value: a.qty,
17543
17543
  "onUpdate:value": (i) => a.qty = i,
17544
17544
  min: o.minQuantity,
@@ -17548,7 +17548,7 @@ const gu = {
17548
17548
  ]),
17549
17549
  s6,
17550
17550
  _("div", c6, [
17551
- _("span", d6, ve(Ie(Ut)(a.price)), 1)
17551
+ _("span", d6, ge(Ie(Ut)(a.price)), 1)
17552
17552
  ])
17553
17553
  ])
17554
17554
  ]),
@@ -17564,7 +17564,7 @@ const gu = {
17564
17564
  ], 64))), 128))
17565
17565
  ]))), 128)),
17566
17566
  _("div", p6, [
17567
- _("span", m6, " Total : " + ve(Ie(Ut)(n.totalPrice())), 1)
17567
+ _("span", m6, " Total : " + ge(Ie(Ut)(n.totalPrice())), 1)
17568
17568
  ])
17569
17569
  ])
17570
17570
  ]))), 128))
@@ -17633,7 +17633,7 @@ const gu = {
17633
17633
  a.value = u.value[0].key, o("update:modelValue", u.value[0].key);
17634
17634
  }), (s, g) => (B(), q("div", v6, [
17635
17635
  _("div", b6, [
17636
- ce(ah, {
17636
+ se(ah, {
17637
17637
  modelValue: a.value,
17638
17638
  "onUpdate:modelValue": g[0] || (g[0] = (h) => a.value = h),
17639
17639
  "show-tabs": !0,
@@ -17649,7 +17649,7 @@ const gu = {
17649
17649
  "data-test-id": "`configurator-${activeTab}-tab-content`",
17650
17650
  onScroll: p
17651
17651
  }, [
17652
- ce(Qp, {
17652
+ se(Qp, {
17653
17653
  data: c.value,
17654
17654
  "item-type-id": e.itemTypeId
17655
17655
  }, null, 8, ["data", "item-type-id"])
@@ -17659,12 +17659,12 @@ const gu = {
17659
17659
  "data-test-id": "`configurator-${activeTab}-tab-content`",
17660
17660
  onScroll: p
17661
17661
  }, [
17662
- ce(g6, {
17662
+ se(g6, {
17663
17663
  summary: Ie(t).summary
17664
17664
  }, null, 8, ["summary"])
17665
17665
  ], 32)),
17666
17666
  _("div", x6, [
17667
- ce(gh, {
17667
+ se(gh, {
17668
17668
  "btn-text": a.value !== "summary" ? "Next: " + i.value : Ie(t).showMinMaxPopup ? "Proceed with Partial Save" : "Save & Continue",
17669
17669
  item: Ie(t).configuration,
17670
17670
  loading: Ie(t).loading.save,
@@ -17713,11 +17713,11 @@ const gu = {
17713
17713
  }, null, 8, A6)) : ie("", !0)
17714
17714
  ], 2)) : ie("", !0),
17715
17715
  e.scroll < 50 ? (B(), q("div", w6, [
17716
- _("p", I6, ve(e.config.description), 1)
17716
+ _("p", I6, ge(e.config.description), 1)
17717
17717
  ])) : ie("", !0),
17718
17718
  e.config.isAttributes ? (B(), q(Te, { key: 2 }, [
17719
17719
  e.editAttributes ? (B(), q("div", D6, [
17720
- ce(wl, {
17720
+ se(wl, {
17721
17721
  attributes: e.config.attributes,
17722
17722
  "config-item": e.config
17723
17723
  }, null, 8, ["attributes", "config-item"])
@@ -17727,7 +17727,7 @@ const gu = {
17727
17727
  key: u,
17728
17728
  class: "ect-inline-block ect-mr-2 ect-mb-2"
17729
17729
  }, [
17730
- ce(Rn, {
17730
+ se(Rn, {
17731
17731
  label: l.label,
17732
17732
  value: l.value
17733
17733
  }, null, 8, ["label", "value"])
@@ -17737,7 +17737,7 @@ const gu = {
17737
17737
  "data-test-id": "configurator-info-button-edit-attributes",
17738
17738
  onClick: i[0] || (i[0] = (l) => n("edit-attributes"))
17739
17739
  }, [
17740
- ce(Rn, {
17740
+ se(Rn, {
17741
17741
  label: "Edit attributes",
17742
17742
  "edit-button": ""
17743
17743
  })
@@ -17748,7 +17748,7 @@ const gu = {
17748
17748
  "data-test-id": "configurator-info-button-add-attributes",
17749
17749
  onClick: i[1] || (i[1] = (l) => n("edit-attributes"))
17750
17750
  }, [
17751
- ce(Rn, {
17751
+ se(Rn, {
17752
17752
  label: "Add attributes",
17753
17753
  "add-button": ""
17754
17754
  })
@@ -17798,7 +17798,7 @@ const gu = {
17798
17798
  "data-test-id": `configurator-minmax-popup-error-${c}`,
17799
17799
  onClick: (f) => a(u)
17800
17800
  }, [
17801
- ce(He, {
17801
+ se(He, {
17802
17802
  icon: "info",
17803
17803
  size: 16,
17804
17804
  color: "#D23333",
@@ -17871,8 +17871,8 @@ const gu = {
17871
17871
  _("div", V6, [
17872
17872
  e.header ? (B(), q("div", z6, [
17873
17873
  _("div", G6, [
17874
- _("div", K6, ve(e.title), 1),
17875
- e.description ? (B(), q("div", X6, ve(e.description), 1)) : ie("", !0)
17874
+ _("div", K6, ge(e.title), 1),
17875
+ e.description ? (B(), q("div", X6, ge(e.description), 1)) : ie("", !0)
17876
17876
  ])
17877
17877
  ])) : ie("", !0),
17878
17878
  _("div", W6, [
@@ -17881,7 +17881,7 @@ const gu = {
17881
17881
  "aria-label": "Close modal",
17882
17882
  onClick: o[0] || (o[0] = (a) => t("close"))
17883
17883
  }, [
17884
- ce(He, {
17884
+ se(He, {
17885
17885
  icon: "close",
17886
17886
  color: "#000000",
17887
17887
  size: "11",
@@ -18083,9 +18083,9 @@ const gu = {
18083
18083
  _("header", n3, [
18084
18084
  r3,
18085
18085
  _("div", o3, [
18086
- _("p", a3, ve(e.item.itemName), 1),
18087
- _("p", i3, ve(e.item.qty), 1),
18088
- _("p", l3, ve(Ie(Ut)(e.item.price)), 1)
18086
+ _("p", a3, ge(e.item.itemName), 1),
18087
+ _("p", i3, ge(e.item.qty), 1),
18088
+ _("p", l3, ge(Ie(Ut)(e.item.price)), 1)
18089
18089
  ])
18090
18090
  ]),
18091
18091
  _("main", u3, [
@@ -18097,16 +18097,16 @@ const gu = {
18097
18097
  key: y.itemId,
18098
18098
  class: "ect-flex ect-items-center ect-justify-between ect-py-2 ect-px-4 ect-border-t ect-border-neutral-200"
18099
18099
  }, [
18100
- _("p", h3, ve(y.itemName), 1),
18101
- _("p", p3, ve(y.newQty), 1),
18100
+ _("p", h3, ge(y.itemName), 1),
18101
+ _("p", p3, ge(y.newQty), 1),
18102
18102
  _("div", m3, [
18103
- _("p", y3, ve(Ie(Ut)(y.oldPrice * y.oldQty)), 1),
18104
- _("p", g3, ve(Ie(Ut)(y.newPrice * y.newQty)), 1)
18103
+ _("p", y3, ge(Ie(Ut)(y.oldPrice * y.oldQty)), 1),
18104
+ _("p", g3, ge(Ie(Ut)(y.newPrice * y.newQty)), 1)
18105
18105
  ])
18106
18106
  ]))), 128)),
18107
18107
  p.value !== 0 ? (B(), q("div", v3, [
18108
18108
  b3,
18109
- _("p", x3, ve(Ie(Ut)(p.value)), 1)
18109
+ _("p", x3, ge(Ie(Ut)(p.value)), 1)
18110
18110
  ])) : ie("", !0)
18111
18111
  ])
18112
18112
  ])) : ie("", !0),
@@ -18119,9 +18119,9 @@ const gu = {
18119
18119
  key: y.itemId,
18120
18120
  class: "ect-flex ect-items-center ect-py-2 ect-px-4 ect-border-t ect-border-neutral-200"
18121
18121
  }, [
18122
- _("p", w3, ve(y.itemName), 1),
18123
- _("p", I3, ve(y.qty), 1),
18124
- _("p", S3, " + " + ve(Ie(Ut)(y.price * (y.qty || 1))), 1)
18122
+ _("p", w3, ge(y.itemName), 1),
18123
+ _("p", I3, ge(y.qty), 1),
18124
+ _("p", S3, " + " + ge(Ie(Ut)(y.price * (y.qty || 1))), 1)
18125
18125
  ]))), 128))
18126
18126
  ])) : ie("", !0),
18127
18127
  f.value.length > 0 ? (B(), q("div", O3, [
@@ -18130,14 +18130,14 @@ const gu = {
18130
18130
  key: y.itemId,
18131
18131
  class: "ect-flex ect-items-center ect-py-2 ect-px-4 ect-border-t ect-border-neutral-200"
18132
18132
  }, [
18133
- _("p", D3, ve(y.itemName), 1),
18134
- _("p", R3, ve(y.qty), 1),
18135
- _("p", B3, " - " + ve(Ie(Ut)(y.price * (y.qty || 1))), 1)
18133
+ _("p", D3, ge(y.itemName), 1),
18134
+ _("p", R3, ge(y.qty), 1),
18135
+ _("p", B3, " - " + ge(Ie(Ut)(y.price * (y.qty || 1))), 1)
18136
18136
  ]))), 128))
18137
18137
  ])) : ie("", !0),
18138
18138
  _("div", M3, [
18139
18139
  F3,
18140
- _("p", N3, ve(Ie(Ut)(m.value)), 1)
18140
+ _("p", N3, ge(Ie(Ut)(m.value)), 1)
18141
18141
  ])
18142
18142
  ])
18143
18143
  ])) : ie("", !0)
@@ -18152,13 +18152,13 @@ const gu = {
18152
18152
  class: Re(["ect-flex ect-px-4 ect-py-1", { "ect-border-t ect-border-neutral-200": v > 0 }])
18153
18153
  }, [
18154
18154
  _("div", U3, [
18155
- _("p", j3, ve(y.label), 1)
18155
+ _("p", j3, ge(y.label), 1)
18156
18156
  ]),
18157
18157
  _("div", H3, [
18158
- _("p", V3, ve(Ie(Ut)(y.value)), 1)
18158
+ _("p", V3, ge(Ie(Ut)(y.value)), 1)
18159
18159
  ]),
18160
18160
  _("div", z3, [
18161
- _("p", G3, ve(Ie(Ut)(y.priceChange)), 1)
18161
+ _("p", G3, ge(Ie(Ut)(y.priceChange)), 1)
18162
18162
  ])
18163
18163
  ], 2))), 128))
18164
18164
  ])
@@ -18167,10 +18167,10 @@ const gu = {
18167
18167
  _("div", X3, [
18168
18168
  W3,
18169
18169
  _("div", Q3, [
18170
- _("p", Z3, ve(Ie(Ut)(i.value.value)), 1)
18170
+ _("p", Z3, ge(Ie(Ut)(i.value.value)), 1)
18171
18171
  ]),
18172
18172
  _("div", J3, [
18173
- _("p", Y3, ve(Ie(Ut)(i.value.priceChange)), 1)
18173
+ _("p", Y3, ge(Ie(Ut)(i.value.priceChange)), 1)
18174
18174
  ])
18175
18175
  ])
18176
18176
  ])
@@ -18180,7 +18180,7 @@ const gu = {
18180
18180
  ]),
18181
18181
  footer: ze(() => [
18182
18182
  _("div", e4, [
18183
- ce(Lt, {
18183
+ se(Lt, {
18184
18184
  class: "ect-min-w-[100px]",
18185
18185
  btype: "secondary",
18186
18186
  "button-style": "outlined",
@@ -18193,7 +18193,7 @@ const gu = {
18193
18193
  ]),
18194
18194
  _: 1
18195
18195
  }),
18196
- ce(Lt, {
18196
+ se(Lt, {
18197
18197
  class: "ect-min-w-[100px]",
18198
18198
  btype: "primary",
18199
18199
  "button-style": "primary",
@@ -18333,8 +18333,8 @@ const gu = {
18333
18333
  onMousedown: x[0] || (x[0] = yt(() => {
18334
18334
  }, ["prevent"]))
18335
18335
  }, [
18336
- je(ve(v.label) + " ", 1),
18337
- _("span", null, ve(v.subLabel), 1)
18336
+ je(ge(v.label) + " ", 1),
18337
+ _("span", null, ge(v.subLabel), 1)
18338
18338
  ], 40, i4))), 128))
18339
18339
  ], 14, a4)) : ie("", !0)
18340
18340
  ], 10, r4);
@@ -18368,7 +18368,7 @@ const gu = {
18368
18368
  return (n, o) => (B(), q("span", {
18369
18369
  class: Re(["ect-state-pill", t.value]),
18370
18370
  "data-test-id": e.dataTestId
18371
- }, ve(e.text), 11, s4));
18371
+ }, ge(e.text), 11, s4));
18372
18372
  }
18373
18373
  }, d4 = /* @__PURE__ */ Ne(c4, [["__scopeId", "data-v-6be678b8"]]), f4 = ["data-test-id"], h4 = ["data-test-id"], p4 = ["data-test-id"], m4 = ["data-test-id"], y4 = ["data-test-id", "onClick"], g4 = ["data-test-id"], v4 = {
18374
18374
  __name: "ecBreadcrumbs",
@@ -18412,11 +18412,11 @@ const gu = {
18412
18412
  class: "ect-text-[#828282] ect-text-xs ect-font-semibold ect-font-ui ect-leading-normal hover:ect-text-[#0076D6] hover:ect-underline ect-transition-colors",
18413
18413
  "data-test-id": `${e.dataTestId}-link-${i}`,
18414
18414
  onClick: (l) => t(a.route)
18415
- }, ve(a.text), 9, y4)) : (B(), q("span", {
18415
+ }, ge(a.text), 9, y4)) : (B(), q("span", {
18416
18416
  key: 2,
18417
18417
  class: "ect-text-[#828282] ect-text-xs ect-font-semibold ect-font-ui ect-leading-normal",
18418
18418
  "data-test-id": `${e.dataTestId}-text-${i}`
18419
- }, ve(a.text), 9, g4))
18419
+ }, ge(a.text), 9, g4))
18420
18420
  ], 64))), 128))
18421
18421
  ], 8, p4)
18422
18422
  ], 8, h4)
@@ -18500,7 +18500,7 @@ function E4(e, r, t, n, o, a) {
18500
18500
  size: 14,
18501
18501
  "data-test-id": `${t.dataTestId}-icon`
18502
18502
  }, null, 8, ["icon", "data-test-id"])) : ie("", !0),
18503
- je(" " + ve(t.content), 1)
18503
+ je(" " + ge(t.content), 1)
18504
18504
  ], 14, C4), [
18505
18505
  [Ys, o.show]
18506
18506
  ])
@@ -18665,10 +18665,10 @@ const k4 = St("item", () => {
18665
18665
  try {
18666
18666
  const J = (K = (U = u.value) == null ? void 0 : U.productItem) == null ? void 0 : K.itemStatus, te = {
18667
18667
  itemId: h.value,
18668
- fileId: (X = y.value.find((ge) => ge.status === J)) == null ? void 0 : X.id
18668
+ fileId: (X = y.value.find((ye) => ye.status === J)) == null ? void 0 : X.id
18669
18669
  }, oe = await window.AdminConfiguratorManager.createNewVersion({ request: JSON.stringify(te) }), ee = JSON.parse(oe);
18670
18670
  await Y(), await M(h.value, ee.id);
18671
- const me = y.value.findIndex((ge) => ge.status === "Draft");
18671
+ const me = y.value.findIndex((ye) => ye.status === "Draft");
18672
18672
  return me !== -1 ? y.value[me] = ee : y.value.push(ee), ee;
18673
18673
  } catch (J) {
18674
18674
  e.handleError("Failed to create new version. Please try again.", J);
@@ -18890,7 +18890,7 @@ const k4 = St("item", () => {
18890
18890
  "data-test-id": "filter-header-button-back",
18891
18891
  onClick: f
18892
18892
  }, [
18893
- ce(He, {
18893
+ se(He, {
18894
18894
  icon: "arrow",
18895
18895
  symbol: "",
18896
18896
  size: 16,
@@ -18904,9 +18904,9 @@ const k4 = St("item", () => {
18904
18904
  "data-test-id": "filter-header-title",
18905
18905
  onClick: p[0] || (p[0] = (s) => e.recordLink ? m() : null)
18906
18906
  }, [
18907
- je(ve(e.title) + " ", 1),
18907
+ je(ge(e.title) + " ", 1),
18908
18908
  e.recordLink ? (B(), q(Te, { key: 0 }, [
18909
- ce(He, {
18909
+ se(He, {
18910
18910
  icon: "open-link",
18911
18911
  symbol: "",
18912
18912
  size: 16,
@@ -18914,7 +18914,7 @@ const k4 = St("item", () => {
18914
18914
  class: "ect-relative ect-top-[3px]"
18915
18915
  }),
18916
18916
  _("div", T4, [
18917
- ce(qc, {
18917
+ se(qc, {
18918
18918
  class: "ect-min-w-full ect-h-full",
18919
18919
  direction: "top",
18920
18920
  content: "View Item in Salesforce",
@@ -18939,7 +18939,7 @@ const k4 = St("item", () => {
18939
18939
  class: "search-wrapper",
18940
18940
  style: De({ width: e.searchWidth })
18941
18941
  }, [
18942
- ce(u4, {
18942
+ se(u4, {
18943
18943
  modelValue: u.value,
18944
18944
  "onUpdate:modelValue": [
18945
18945
  p[1] || (p[1] = (s) => u.value = s),
@@ -18963,7 +18963,7 @@ const k4 = St("item", () => {
18963
18963
  key: g,
18964
18964
  class: "action-wrapper"
18965
18965
  }, [
18966
- ce(Lt, {
18966
+ se(Lt, {
18967
18967
  btype: s.type || "primary",
18968
18968
  "button-style": s.style || "outlined",
18969
18969
  size: "medium",
@@ -18982,8 +18982,8 @@ const k4 = St("item", () => {
18982
18982
  color: s.color || "#136E05",
18983
18983
  size: s.size || 14
18984
18984
  }, null, 8, ["icon", "color", "size"])) : ie("", !0),
18985
- s.text ? (B(), q("span", N4, ve(s.isActive ? s.altText : s.text), 1)) : ie("", !0),
18986
- s.count ? (B(), q("span", L4, ve(s.count), 1)) : ie("", !0)
18985
+ s.text ? (B(), q("span", N4, ge(s.isActive ? s.altText : s.text), 1)) : ie("", !0),
18986
+ s.count ? (B(), q("span", L4, ge(s.count), 1)) : ie("", !0)
18987
18987
  ]),
18988
18988
  _: 2
18989
18989
  }, 1032, ["btype", "button-style", "style", "class", "loading", "disabled", "data-test-id", "onClick"])
@@ -19044,12 +19044,12 @@ const k4 = St("item", () => {
19044
19044
  class: "ec-switch__label",
19045
19045
  "data-test-id": `${e.dataTestId}-label`
19046
19046
  }, [
19047
- je(ve(a.value) + " ", 1),
19047
+ je(ge(a.value) + " ", 1),
19048
19048
  e.subtext ? (B(), q("span", {
19049
19049
  key: 0,
19050
19050
  class: "ec-switch__subtext",
19051
19051
  "data-test-id": `${e.dataTestId}-subtext`
19052
- }, ve(e.subtext), 9, j4)) : ie("", !0)
19052
+ }, ge(e.subtext), 9, j4)) : ie("", !0)
19053
19053
  ], 8, U4)) : ie("", !0),
19054
19054
  _("div", {
19055
19055
  class: Re(["ec-switch", { "ec-switch--active": n.value, "ec-switch--large": e.size === "large" }]),
@@ -19066,12 +19066,12 @@ const k4 = St("item", () => {
19066
19066
  class: "ec-switch__label",
19067
19067
  "data-test-id": `${e.dataTestId}-label`
19068
19068
  }, [
19069
- je(ve(a.value) + " ", 1),
19069
+ je(ge(a.value) + " ", 1),
19070
19070
  e.subtext ? (B(), q("span", {
19071
19071
  key: 0,
19072
19072
  class: "ec-switch__subtext",
19073
19073
  "data-test-id": `${e.dataTestId}-subtext`
19074
- }, ve(e.subtext), 9, G4)) : ie("", !0)
19074
+ }, ge(e.subtext), 9, G4)) : ie("", !0)
19075
19075
  ], 8, z4))
19076
19076
  ], 10, $4));
19077
19077
  }
@@ -19144,7 +19144,7 @@ const k4 = St("item", () => {
19144
19144
  };
19145
19145
  return (p, s) => Ie(t).configuration ? (B(), q("div", W4, [
19146
19146
  Ie(t).showMinMaxPopup && !Ie(t).loading.save ? (B(), q("div", Q4, [
19147
- ce(q6, {
19147
+ se(q6, {
19148
19148
  redirect: !0,
19149
19149
  onRedirect: c
19150
19150
  })
@@ -19160,10 +19160,10 @@ const k4 = St("item", () => {
19160
19160
  Ie(t).savedScreen ? (B(), Ae(Q2, { key: 3 })) : (B(), q(Te, { key: 2 }, [
19161
19161
  _("div", Z4, [
19162
19162
  _("div", J4, [
19163
- ce(q4, { buttons: f.value }, {
19163
+ se(q4, { buttons: f.value }, {
19164
19164
  "after-status": ze(() => [
19165
19165
  Ie(t).quoteId && Ie(t).products.length > 0 ? (B(), q("div", Y4, [
19166
- ce(g2, {
19166
+ se(g2, {
19167
19167
  modelValue: a.value,
19168
19168
  "onUpdate:modelValue": [
19169
19169
  s[2] || (s[2] = (g) => a.value = g),
@@ -19173,7 +19173,7 @@ const k4 = St("item", () => {
19173
19173
  placeholder: "Select configuration",
19174
19174
  "data-test-id": "filter-header-input-list"
19175
19175
  }, null, 8, ["modelValue", "options"])
19176
- ])) : (B(), q("div", e9, ve(i.value.itemName), 1))
19176
+ ])) : (B(), q("div", e9, ge(i.value.itemName), 1))
19177
19177
  ]),
19178
19178
  "before-button": ze(() => [
19179
19179
  Ie(t).isYearlyPricingExist ? (B(), Ae(X4, {
@@ -19195,7 +19195,7 @@ const k4 = St("item", () => {
19195
19195
  _("div", {
19196
19196
  class: Re(n.value ? "ect-pb-16" : "ect-pb-0")
19197
19197
  }, [
19198
- ce(R6, {
19198
+ se(R6, {
19199
19199
  config: i.value,
19200
19200
  "edit-attributes": n.value,
19201
19201
  scroll: o.value,
@@ -19204,7 +19204,7 @@ const k4 = St("item", () => {
19204
19204
  ], 2)
19205
19205
  ]),
19206
19206
  n.value ? ie("", !0) : (B(), q("div", t9, [
19207
- ce(C6, {
19207
+ se(C6, {
19208
19208
  modelValue: l.value,
19209
19209
  "onUpdate:modelValue": s[5] || (s[5] = (g) => l.value = g),
19210
19210
  "item-type-id": u.value
@@ -19341,9 +19341,9 @@ const k4 = St("item", () => {
19341
19341
  "data-qli-id": e.qliId
19342
19342
  }, [
19343
19343
  Ie(o).loading.init ? (B(), q("div", D9, [
19344
- ce(S9)
19344
+ se(S9)
19345
19345
  ])) : (B(), q("div", T9, [
19346
- ce(r9, {
19346
+ se(r9, {
19347
19347
  "qli-id": e.qliId,
19348
19348
  onAction: i[0] || (i[0] = (l) => n("action", l)),
19349
19349
  onSave: a.handleSave,
@@ -19433,9 +19433,9 @@ const k4 = St("item", () => {
19433
19433
  }), (f, m) => {
19434
19434
  var d, p;
19435
19435
  return B(), q(Te, null, [
19436
- _("div", M9, " Is Changed Configuration: " + ve(Ie(o).isChangedConfiguration), 1),
19437
- ce(Bf),
19438
- ce(xl),
19436
+ _("div", M9, " Is Changed Configuration: " + ge(Ie(o).isChangedConfiguration), 1),
19437
+ se(Bf),
19438
+ se(xl),
19439
19439
  Ie(n).errorPopup ? (B(), Ae(Ad, {
19440
19440
  key: 0,
19441
19441
  data: Ie(n).errorPopup,
@@ -19447,7 +19447,7 @@ const k4 = St("item", () => {
19447
19447
  onClose: m[1] || (m[1] = (s) => Ie(o).message = null)
19448
19448
  }, null, 8, ["message"])) : ie("", !0),
19449
19449
  F9,
19450
- ce(R9, {
19450
+ se(R9, {
19451
19451
  "item-id": (d = a.session) == null ? void 0 : d.itemId,
19452
19452
  "qli-id": (p = a.session) == null ? void 0 : p.qliId,
19453
19453
  onReady: l,
@@ -19585,8 +19585,8 @@ const k4 = St("item", () => {
19585
19585
  _("div", U9, [
19586
19586
  i.value ? (B(), q("div", j9, z9)) : l.value ? (B(), q("div", G9, [
19587
19587
  K9,
19588
- je(" " + ve(l.value), 1)
19589
- ])) : c.value ? (B(), q("div", X9, ve(a.value), 1)) : (B(), q("div", W9, Z9))
19588
+ je(" " + ge(l.value), 1)
19589
+ ])) : c.value ? (B(), q("div", X9, ge(a.value), 1)) : (B(), q("div", W9, Z9))
19590
19590
  ]),
19591
19591
  _("div", J9, [
19592
19592
  _("div", Y9, [
@@ -20930,18 +20930,18 @@ function Hc() {
20930
20930
  ]);
20931
20931
  },
20932
20932
  _doProcessBlock: function(s, g) {
20933
- for (var h = this._hash.words, x = h[0], y = h[1], v = h[2], b = h[3], C = h[4], A = h[5], E = h[6], O = h[7], M = x.high, S = x.low, k = y.high, I = y.low, T = v.high, $ = v.low, G = b.high, j = b.low, Z = C.high, Y = C.low, Q = A.high, P = A.low, w = E.high, R = E.low, D = O.high, L = O.low, H = M, N = S, V = k, U = I, K = T, X = $, J = G, te = j, oe = Z, ee = Y, me = Q, ge = P, _e = w, ue = R, ye = D, Oe = L, Se = 0; Se < 80; Se++) {
20933
+ for (var h = this._hash.words, x = h[0], y = h[1], v = h[2], b = h[3], C = h[4], A = h[5], E = h[6], O = h[7], M = x.high, S = x.low, k = y.high, I = y.low, T = v.high, $ = v.low, G = b.high, j = b.low, Z = C.high, Y = C.low, Q = A.high, P = A.low, w = E.high, R = E.low, D = O.high, L = O.low, H = M, N = S, V = k, U = I, K = T, X = $, J = G, te = j, oe = Z, ee = Y, me = Q, ye = P, _e = w, de = R, ve = D, Oe = L, Se = 0; Se < 80; Se++) {
20934
20934
  var Ee, le, he = d[Se];
20935
20935
  if (Se < 16)
20936
20936
  le = he.high = s[g + Se * 2] | 0, Ee = he.low = s[g + Se * 2 + 1] | 0;
20937
20937
  else {
20938
- var we = d[Se - 15], Be = we.high, ne = we.low, pe = (Be >>> 1 | ne << 31) ^ (Be >>> 8 | ne << 24) ^ Be >>> 7, be = (ne >>> 1 | Be << 31) ^ (ne >>> 8 | Be << 24) ^ (ne >>> 7 | Be << 25), re = d[Se - 2], se = re.high, Ce = re.low, Ue = (se >>> 19 | Ce << 13) ^ (se << 3 | Ce >>> 29) ^ se >>> 6, We = (Ce >>> 19 | se << 13) ^ (Ce << 3 | se >>> 29) ^ (Ce >>> 6 | se << 26), Ge = d[Se - 7], lt = Ge.high, Qe = Ge.low, ut = d[Se - 16], nt = ut.high, st = ut.low;
20938
+ var we = d[Se - 15], Be = we.high, ne = we.low, pe = (Be >>> 1 | ne << 31) ^ (Be >>> 8 | ne << 24) ^ Be >>> 7, be = (ne >>> 1 | Be << 31) ^ (ne >>> 8 | Be << 24) ^ (ne >>> 7 | Be << 25), re = d[Se - 2], ue = re.high, Ce = re.low, Ue = (ue >>> 19 | Ce << 13) ^ (ue << 3 | Ce >>> 29) ^ ue >>> 6, We = (Ce >>> 19 | ue << 13) ^ (Ce << 3 | ue >>> 29) ^ (Ce >>> 6 | ue << 26), Ge = d[Se - 7], lt = Ge.high, Qe = Ge.low, ut = d[Se - 16], nt = ut.high, st = ut.low;
20939
20939
  Ee = be + Qe, le = pe + lt + (Ee >>> 0 < be >>> 0 ? 1 : 0), Ee = Ee + We, le = le + Ue + (Ee >>> 0 < We >>> 0 ? 1 : 0), Ee = Ee + st, le = le + nt + (Ee >>> 0 < st >>> 0 ? 1 : 0), he.high = le, he.low = Ee;
20940
20940
  }
20941
- var _t = oe & me ^ ~oe & _e, Bt = ee & ge ^ ~ee & ue, Un = H & V ^ H & K ^ V & K, vn = N & U ^ N & X ^ U & X, ct = (H >>> 28 | N << 4) ^ (H << 30 | N >>> 2) ^ (H << 25 | N >>> 7), Pt = (N >>> 28 | H << 4) ^ (N << 30 | H >>> 2) ^ (N << 25 | H >>> 7), jn = (oe >>> 14 | ee << 18) ^ (oe >>> 18 | ee << 14) ^ (oe << 23 | ee >>> 9), an = (ee >>> 14 | oe << 18) ^ (ee >>> 18 | oe << 14) ^ (ee << 23 | oe >>> 9), bn = m[Se], Xt = bn.high, Hn = bn.low, Ct = Oe + an, ht = ye + jn + (Ct >>> 0 < Oe >>> 0 ? 1 : 0), Ct = Ct + Bt, ht = ht + _t + (Ct >>> 0 < Bt >>> 0 ? 1 : 0), Ct = Ct + Hn, ht = ht + Xt + (Ct >>> 0 < Hn >>> 0 ? 1 : 0), Ct = Ct + Ee, ht = ht + le + (Ct >>> 0 < Ee >>> 0 ? 1 : 0), Wt = Pt + vn, Sn = ct + Un + (Wt >>> 0 < Pt >>> 0 ? 1 : 0);
20942
- ye = _e, Oe = ue, _e = me, ue = ge, me = oe, ge = ee, ee = te + Ct | 0, oe = J + ht + (ee >>> 0 < te >>> 0 ? 1 : 0) | 0, J = K, te = X, K = V, X = U, V = H, U = N, N = Ct + Wt | 0, H = ht + Sn + (N >>> 0 < Ct >>> 0 ? 1 : 0) | 0;
20941
+ var _t = oe & me ^ ~oe & _e, Bt = ee & ye ^ ~ee & de, Un = H & V ^ H & K ^ V & K, vn = N & U ^ N & X ^ U & X, ct = (H >>> 28 | N << 4) ^ (H << 30 | N >>> 2) ^ (H << 25 | N >>> 7), Pt = (N >>> 28 | H << 4) ^ (N << 30 | H >>> 2) ^ (N << 25 | H >>> 7), jn = (oe >>> 14 | ee << 18) ^ (oe >>> 18 | ee << 14) ^ (oe << 23 | ee >>> 9), an = (ee >>> 14 | oe << 18) ^ (ee >>> 18 | oe << 14) ^ (ee << 23 | oe >>> 9), bn = m[Se], Xt = bn.high, Hn = bn.low, Ct = Oe + an, ht = ve + jn + (Ct >>> 0 < Oe >>> 0 ? 1 : 0), Ct = Ct + Bt, ht = ht + _t + (Ct >>> 0 < Bt >>> 0 ? 1 : 0), Ct = Ct + Hn, ht = ht + Xt + (Ct >>> 0 < Hn >>> 0 ? 1 : 0), Ct = Ct + Ee, ht = ht + le + (Ct >>> 0 < Ee >>> 0 ? 1 : 0), Wt = Pt + vn, Sn = ct + Un + (Wt >>> 0 < Pt >>> 0 ? 1 : 0);
20942
+ ve = _e, Oe = de, _e = me, de = ye, me = oe, ye = ee, ee = te + Ct | 0, oe = J + ht + (ee >>> 0 < te >>> 0 ? 1 : 0) | 0, J = K, te = X, K = V, X = U, V = H, U = N, N = Ct + Wt | 0, H = ht + Sn + (N >>> 0 < Ct >>> 0 ? 1 : 0) | 0;
20943
20943
  }
20944
- S = x.low = S + N, x.high = M + H + (S >>> 0 < N >>> 0 ? 1 : 0), I = y.low = I + U, y.high = k + V + (I >>> 0 < U >>> 0 ? 1 : 0), $ = v.low = $ + X, v.high = T + K + ($ >>> 0 < X >>> 0 ? 1 : 0), j = b.low = j + te, b.high = G + J + (j >>> 0 < te >>> 0 ? 1 : 0), Y = C.low = Y + ee, C.high = Z + oe + (Y >>> 0 < ee >>> 0 ? 1 : 0), P = A.low = P + ge, A.high = Q + me + (P >>> 0 < ge >>> 0 ? 1 : 0), R = E.low = R + ue, E.high = w + _e + (R >>> 0 < ue >>> 0 ? 1 : 0), L = O.low = L + Oe, O.high = D + ye + (L >>> 0 < Oe >>> 0 ? 1 : 0);
20944
+ S = x.low = S + N, x.high = M + H + (S >>> 0 < N >>> 0 ? 1 : 0), I = y.low = I + U, y.high = k + V + (I >>> 0 < U >>> 0 ? 1 : 0), $ = v.low = $ + X, v.high = T + K + ($ >>> 0 < X >>> 0 ? 1 : 0), j = b.low = j + te, b.high = G + J + (j >>> 0 < te >>> 0 ? 1 : 0), Y = C.low = Y + ee, C.high = Z + oe + (Y >>> 0 < ee >>> 0 ? 1 : 0), P = A.low = P + ye, A.high = Q + me + (P >>> 0 < ye >>> 0 ? 1 : 0), R = E.low = R + de, E.high = w + _e + (R >>> 0 < de >>> 0 ? 1 : 0), L = O.low = L + Oe, O.high = D + ve + (L >>> 0 < Oe >>> 0 ? 1 : 0);
20945
20945
  },
20946
20946
  _doFinalize: function() {
20947
20947
  var s = this._data, g = s.words, h = this._nDataBytes * 8, x = s.sigBytes * 8;
@@ -25141,16 +25141,16 @@ const Pn = St("catalog", () => {
25141
25141
  return (X = K == null ? void 0 : K.catalogResponse) == null ? void 0 : X.productInfo;
25142
25142
  }).filter(Boolean);
25143
25143
  V.forEach((K) => {
25144
- var oe, ee, me, ge;
25144
+ var oe, ee, me, ye;
25145
25145
  const X = JSON.parse(JSON.stringify(Z)), J = ft(K, Q ? "XX_ORD1__Friendly_URL__c" : "XX_ORD1__Item__r.XX_ORD1__Friendly_URL__c"), te = ft(K, Q ? "XX_ORD1__SYS_Requires_Configuration__c" : "XX_ORD1__Item__r.XX_ORD1__SYS_Requires_Configuration__c");
25146
25146
  Q ? X.itemId = K.Id : (X.itemId = K.XX_ORD1__Item__c, X.catalogItemId = K.Id), X.thumbnail.value = X.thumbnail.field && !X.thumbnail.isStatic ? ft(K, X.thumbnail.field) : "", X.title.value = X.title.field && !X.title.isStatic ? ft(K, X.title.field) : "", X.description.value = X.description.field && !X.description.isStatic ? ft(K, X.description.field) : "", (oe = X.attributes) == null || oe.forEach((_e) => {
25147
25147
  _e.value.field && (_e.value.value = ft(K, _e.value.field, _e.value.dataType) || "-"), _e.label.field && (_e.label.value = ft(K, _e.label.field, _e.label.dataType) || "-");
25148
25148
  }), X.requiresConfiguration = te, X.actions = X.actions.filter(({ action: _e }) => _e === "ADD_TO_CART" && U8.includes(te) || _e === "CONFIGURE" && ol.includes(te) || _e === "UPLOAD" && $8.includes(te) || !j8.includes(_e)), (ee = X.actions) == null || ee.forEach((_e) => {
25149
25149
  if (_e.action === "CUSTOM") {
25150
- const { url: ue, label: ye } = _e;
25151
- ue.isStatic || (ue.value = ft(K, ue.field)), ye.isStatic || (ye.value = ft(K, ye.field));
25150
+ const { url: de, label: ve } = _e;
25151
+ de.isStatic || (de.value = ft(K, de.field)), ve.isStatic || (ve.value = ft(K, ve.field));
25152
25152
  }
25153
- }), ((me = X.friendlyURLFields) == null ? void 0 : me.length) > 0 && J ? ((ge = X.friendlyURLFields) == null || ge.forEach((_e) => {
25153
+ }), ((me = X.friendlyURLFields) == null ? void 0 : me.length) > 0 && J ? ((ye = X.friendlyURLFields) == null || ye.forEach((_e) => {
25154
25154
  X.friendlyURL = X.friendlyURL.replace(`{!${_e}}`, ft(K, _e));
25155
25155
  }), X.friendlyURL = "/" + X.friendlyURL + "/" + J) : X.url && (X.friendlyURL = X.url + "/" + K.Id), X.friendlyURL && (X.friendlyURL = X.friendlyURL.replace(/\/{2,}/g, "/")), P.push(X);
25156
25156
  });
@@ -25789,7 +25789,7 @@ const Z8 = ["href"], J8 = /* @__PURE__ */ _("link", {
25789
25789
  "data-name": "template-theme"
25790
25790
  }, {
25791
25791
  default: ze(() => [
25792
- je(ve(n.value), 1)
25792
+ je(ge(n.value), 1)
25793
25793
  ]),
25794
25794
  _: 1
25795
25795
  })) : ie("", !0),
@@ -25906,7 +25906,7 @@ const En = /* @__PURE__ */ Ne(rm, [["render", am], ["__scopeId", "data-v-826b27e
25906
25906
  style: De(e.cssStyle),
25907
25907
  class: "custom-tag-skeletion"
25908
25908
  }, [
25909
- ce(En)
25909
+ se(En)
25910
25910
  ], 4)) : (B(), Ae(Br(a.value), lo({ key: 1 }, u.$attrs, {
25911
25911
  type: e.method,
25912
25912
  disabled: e.disabled,
@@ -26005,18 +26005,18 @@ const En = /* @__PURE__ */ Ne(rm, [["render", am], ["__scopeId", "data-v-826b27e
26005
26005
  style: De(e.label.style),
26006
26006
  class: Re(`${e.field}_label`)
26007
26007
  }, null, 8, ["tag", "text", "style", "class"])) : (B(), q("div", lm, [
26008
- ce(En)
26008
+ se(En)
26009
26009
  ])),
26010
26010
  _("div", um, [
26011
26011
  n.value && t.offer.offerValue && o.value ? (B(), q("div", sm, [
26012
- ce(Ye, {
26012
+ se(Ye, {
26013
26013
  tag: a.value,
26014
26014
  text: l.value,
26015
26015
  style: De(e.offer.offerDetails.styles.offerValue.textStyles),
26016
26016
  class: Re(`${e.field}_value`)
26017
26017
  }, null, 8, ["tag", "text", "style", "class"])
26018
26018
  ])) : n.value && !t.offer.offerValue ? (B(), q("div", cm, [
26019
- ce(En)
26019
+ se(En)
26020
26020
  ])) : ie("", !0),
26021
26021
  _("div", {
26022
26022
  class: Re(u.value)
@@ -26028,7 +26028,7 @@ const En = /* @__PURE__ */ Ne(rm, [["render", am], ["__scopeId", "data-v-826b27e
26028
26028
  style: De(e.value.style),
26029
26029
  class: Re(`${e.field}_value`)
26030
26030
  }, null, 8, ["tag", "text", "style", "class"])) : (B(), q("div", dm, [
26031
- ce(En)
26031
+ se(En)
26032
26032
  ]))
26033
26033
  ], 2)
26034
26034
  ]),
@@ -26037,7 +26037,7 @@ const En = /* @__PURE__ */ Ne(rm, [["render", am], ["__scopeId", "data-v-826b27e
26037
26037
  class: "field-description ect-left-0 ect-w-max ect-pt-2",
26038
26038
  style: De({ maxWidth: e.parentWidth ? e.parentWidth + "px" : void 0 })
26039
26039
  }, [
26040
- ce(Ye, {
26040
+ se(Ye, {
26041
26041
  tag: i.value.tag,
26042
26042
  text: t.offer.offerValue.offerDescShort,
26043
26043
  style: De(i.value),
@@ -26086,16 +26086,16 @@ const En = /* @__PURE__ */ Ne(rm, [["render", am], ["__scopeId", "data-v-826b27e
26086
26086
  }
26087
26087
  return (o, a) => e.loading ? (B(), q("div", hm, [
26088
26088
  _("div", pm, [
26089
- ce(En)
26089
+ se(En)
26090
26090
  ]),
26091
26091
  e.description ? (B(), q("div", mm, [
26092
- ce(En)
26092
+ se(En)
26093
26093
  ])) : ie("", !0),
26094
26094
  e.description ? (B(), q("div", ym, [
26095
- ce(En)
26095
+ se(En)
26096
26096
  ])) : ie("", !0),
26097
26097
  e.description ? (B(), q("div", gm, [
26098
- ce(En)
26098
+ se(En)
26099
26099
  ])) : ie("", !0)
26100
26100
  ])) : (B(), q(Te, { key: 0 }, [
26101
26101
  e.title ? (B(), Ae(Ye, {
@@ -26189,47 +26189,47 @@ function ly(e, r, t, n, o, a) {
26189
26189
  km,
26190
26190
  _("div", Am, [
26191
26191
  _("div", wm, [
26192
- ce(i)
26192
+ se(i)
26193
26193
  ])
26194
26194
  ])
26195
26195
  ])) : t.type === "fieldattribute" ? (B(), q("div", Im, [
26196
- ce(i)
26196
+ se(i)
26197
26197
  ])) : t.type === "filteroptions" ? (B(), q("div", Sm, [
26198
26198
  (B(!0), q(Te, null, Le(t.rows, (u) => (B(), q("div", {
26199
26199
  key: u,
26200
26200
  class: "filter-option"
26201
26201
  }, [
26202
26202
  _("div", Om, [
26203
- ce(i)
26203
+ se(i)
26204
26204
  ])
26205
26205
  ]))), 128))
26206
26206
  ])) : t.type === "full" ? (B(), q("div", Tm, [
26207
- ce(i)
26207
+ se(i)
26208
26208
  ])) : t.type === "shuttle" ? (B(), q("div", Dm, [
26209
26209
  _("div", Rm, [
26210
- ce(i)
26210
+ se(i)
26211
26211
  ]),
26212
26212
  _("div", Bm, [
26213
- ce(i)
26213
+ se(i)
26214
26214
  ]),
26215
26215
  _("div", Mm, [
26216
- ce(i)
26216
+ se(i)
26217
26217
  ]),
26218
26218
  _("div", Fm, [
26219
- ce(i)
26219
+ se(i)
26220
26220
  ]),
26221
26221
  _("div", Nm, [
26222
- ce(i)
26222
+ se(i)
26223
26223
  ])
26224
26224
  ])) : t.type === "shuttle-done" ? (B(), q("div", Lm, [
26225
26225
  _("div", Pm, [
26226
- ce(l, { class: "shuttle2-spinner" }),
26226
+ se(l, { class: "shuttle2-spinner" }),
26227
26227
  je(),
26228
26228
  qm
26229
26229
  ])
26230
26230
  ])) : t.type === "order-processing" ? (B(), q("div", $m, [
26231
26231
  _("div", Um, [
26232
- ce(l, { class: "shuttle2-spinner" }),
26232
+ se(l, { class: "shuttle2-spinner" }),
26233
26233
  je(),
26234
26234
  jm
26235
26235
  ])
@@ -26237,65 +26237,65 @@ function ly(e, r, t, n, o, a) {
26237
26237
  key: 7,
26238
26238
  class: Re(t.className)
26239
26239
  }, [
26240
- ce(i)
26240
+ se(i)
26241
26241
  ], 2)) : t.type === "offers" ? (B(), q("div", {
26242
26242
  key: 8,
26243
26243
  class: Re(t.className)
26244
26244
  }, [
26245
- ce(i)
26245
+ se(i)
26246
26246
  ], 2)) : t.type === "detailPage" ? (B(), q("div", {
26247
26247
  key: 9,
26248
26248
  class: Re(t.className)
26249
26249
  }, [
26250
- ce(i)
26250
+ se(i)
26251
26251
  ], 2)) : t.type === "shippingAddress" ? (B(), q("div", Hm, [
26252
26252
  _("div", Vm, [
26253
- ce(i)
26253
+ se(i)
26254
26254
  ]),
26255
26255
  _("div", zm, [
26256
- ce(i)
26256
+ se(i)
26257
26257
  ])
26258
26258
  ])) : t.type === "termsAndPayment" ? (B(), q("div", Gm, [
26259
26259
  _("div", Km, [
26260
- ce(i)
26260
+ se(i)
26261
26261
  ]),
26262
26262
  _("div", Xm, [
26263
- ce(i)
26263
+ se(i)
26264
26264
  ]),
26265
26265
  _("div", Wm, [
26266
- ce(i)
26266
+ se(i)
26267
26267
  ])
26268
26268
  ])) : t.type === "accordian-title" ? (B(), q("div", Qm, [
26269
26269
  _("div", Zm, [
26270
- ce(i)
26270
+ se(i)
26271
26271
  ])
26272
26272
  ])) : t.type === "imageDiv" ? (B(), q("div", Jm, [
26273
26273
  _("div", Ym, [
26274
- ce(i)
26274
+ se(i)
26275
26275
  ])
26276
26276
  ])) : t.type === "product-detail" ? (B(), q("div", ey, [
26277
26277
  _("div", ty, [
26278
- ce(i)
26278
+ se(i)
26279
26279
  ]),
26280
26280
  _("div", ny, [
26281
- ce(i)
26281
+ se(i)
26282
26282
  ]),
26283
26283
  _("div", ry, [
26284
- ce(i)
26284
+ se(i)
26285
26285
  ]),
26286
26286
  _("div", oy, [
26287
26287
  (B(!0), q(Te, null, Le(t.rows, (u) => (B(), q("div", {
26288
26288
  key: u,
26289
26289
  class: "product-action_item"
26290
26290
  }, [
26291
- ce(i)
26291
+ se(i)
26292
26292
  ]))), 128))
26293
26293
  ]),
26294
26294
  _("div", ay, [
26295
- ce(i)
26295
+ se(i)
26296
26296
  ])
26297
26297
  ])) : t.type === o.SKELETON_TYPE.KNOWLEDGE_DETAIL ? (B(), q("div", iy, [
26298
- ce(i, {
26298
+ se(i, {
26299
26299
  class: Re(t.className)
26300
26300
  }, null, 8, ["class"])
26301
26301
  ])) : ie("", !0);
@@ -26397,13 +26397,13 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26397
26397
  disabled: e.modelValue <= e.min || o.value,
26398
26398
  onClick: u
26399
26399
  }, [
26400
- ce(He, {
26400
+ se(He, {
26401
26401
  icon: e.modelValue > 1 ? "minus" : "close",
26402
26402
  size: 10
26403
26403
  }, null, 8, ["icon"])
26404
26404
  ], 8, cy),
26405
26405
  e.loading ? (B(), q("div", dy, [
26406
- ce(vo, { class: "item-button_spinner" })
26406
+ se(vo, { class: "item-button_spinner" })
26407
26407
  ])) : (B(), q("input", {
26408
26408
  key: 1,
26409
26409
  type: "number",
@@ -26419,7 +26419,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26419
26419
  disabled: e.modelValue >= e.max || o.value,
26420
26420
  onClick: l
26421
26421
  }, [
26422
- ce(He, {
26422
+ se(He, {
26423
26423
  class: "ect-transform ect-rotate-45",
26424
26424
  icon: "add",
26425
26425
  size: 12
@@ -26505,7 +26505,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26505
26505
  disabled: e.disabled,
26506
26506
  onClick: h[0] || (h[0] = (y) => g.$emit("selected", e.options[0]))
26507
26507
  }, [
26508
- _("span", null, ve(((x = e.options[0].label) == null ? void 0 : x.value) || e.options[0].name), 1)
26508
+ _("span", null, ge(((x = e.options[0].label) == null ? void 0 : x.value) || e.options[0].name), 1)
26509
26509
  ], 8, my)) : e.options.length > 1 ? (B(), q(Te, { key: 1 }, [
26510
26510
  Ie(n).isMobile.value ? (B(), q(Te, { key: 0 }, [
26511
26511
  _("button", {
@@ -26513,9 +26513,9 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26513
26513
  disabled: e.disabled,
26514
26514
  onClick: yt(c, ["stop"])
26515
26515
  }, [
26516
- _("span", gy, ve(e.name || e.options[0].name), 1),
26516
+ _("span", gy, ge(e.name || e.options[0].name), 1),
26517
26517
  _("div", vy, [
26518
- ce(He, {
26518
+ se(He, {
26519
26519
  icon: "arrow_drop_down",
26520
26520
  class: "ect-relative ect-top-0.5 ect-ml-2",
26521
26521
  color: "#ffffff",
@@ -26539,13 +26539,13 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26539
26539
  onClick: (v) => m(y)
26540
26540
  }, [
26541
26541
  y.selected && e.select ? (B(), q("div", xy, [
26542
- ce(He, {
26542
+ se(He, {
26543
26543
  icon: "done",
26544
26544
  size: 20,
26545
26545
  color: "black"
26546
26546
  })
26547
26547
  ])) : ie("", !0),
26548
- je(" " + ve(y.name), 1)
26548
+ je(" " + ge(y.name), 1)
26549
26549
  ], 8, by))), 128))
26550
26550
  ])) : ie("", !0)
26551
26551
  ], 64)) : (B(), q("div", {
@@ -26561,9 +26561,9 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26561
26561
  disabled: e.disabled,
26562
26562
  onClick: yt(f, ["stop"])
26563
26563
  }, [
26564
- _("span", Cy, ve(e.name || e.options[0].name), 1),
26564
+ _("span", Cy, ge(e.name || e.options[0].name), 1),
26565
26565
  _("div", Ey, [
26566
- ce(He, {
26566
+ se(He, {
26567
26567
  class: "ect-relative ect-top-0.5 ect-ml-2",
26568
26568
  icon: "arrow_drop_down",
26569
26569
  color: "#ffffff",
@@ -26586,13 +26586,13 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26586
26586
  onClick: (b) => g.$emit("selected", y)
26587
26587
  }, [
26588
26588
  y.selected && e.select ? (B(), q("div", Ay, [
26589
- ce(He, {
26589
+ se(He, {
26590
26590
  icon: "done",
26591
26591
  size: 20,
26592
26592
  color: "black"
26593
26593
  })
26594
26594
  ])) : ie("", !0),
26595
- je(" " + ve(((v = y.label) == null ? void 0 : v.value) || y.name), 1)
26595
+ je(" " + ge(((v = y.label) == null ? void 0 : v.value) || y.name), 1)
26596
26596
  ], 8, ky);
26597
26597
  }), 128))
26598
26598
  ], 4)) : ie("", !0)
@@ -26725,7 +26725,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26725
26725
  _("div", {
26726
26726
  class: Re(`item-image ${e.mode}-image`)
26727
26727
  }, [
26728
- ce(al, {
26728
+ se(al, {
26729
26729
  src: e.thumbnail.value,
26730
26730
  loading: e.loading,
26731
26731
  "resources-domain": Ie(r).storefrontDetails.resourcesDomain
@@ -26734,7 +26734,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26734
26734
  _("div", {
26735
26735
  class: Re(`item-text ${e.mode}-text`)
26736
26736
  }, [
26737
- ce(Xc, {
26737
+ se(Xc, {
26738
26738
  title: e.title,
26739
26739
  loading: e.loading,
26740
26740
  description: e.description
@@ -26760,7 +26760,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26760
26760
  key: 0,
26761
26761
  class: Re(`${e.mode}-offer-banner`)
26762
26762
  }, [
26763
- ce(Ye, {
26763
+ se(Ye, {
26764
26764
  tag: e.offerSetting.offerDetails.styles.offerDescription.textStyles.tag,
26765
26765
  text: (A = n.offer) == null ? void 0 : A.offerDescShort,
26766
26766
  style: De(e.offerSetting.offerDetails.styles.offerDescription.textStyles),
@@ -26773,7 +26773,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26773
26773
  class: Re([`item-button ${e.mode}-button`, "ect-flex ect-flex-col ect-gap-2"])
26774
26774
  }, [
26775
26775
  e.loading || e.applyOffer && !n.offer ? (B(), q("div", Sy, [
26776
- ce(En)
26776
+ se(En)
26777
26777
  ])) : (B(), q(Te, { key: 1 }, [
26778
26778
  a.value ? (B(), Ae(vo, {
26779
26779
  key: 0,
@@ -26925,7 +26925,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
26925
26925
  }, 800);
26926
26926
  return (x, y) => (B(), q("div", Ry, [
26927
26927
  _("div", By, [
26928
- ce(Xc, {
26928
+ se(Xc, {
26929
26929
  url: e.url,
26930
26930
  title: e.title,
26931
26931
  loading: e.loading
@@ -27050,7 +27050,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27050
27050
  }, null, 40, qy), [
27051
27051
  [uo, o.value]
27052
27052
  ]),
27053
- ce(He, {
27053
+ se(He, {
27054
27054
  icon: o.value ? "close" : "search",
27055
27055
  size: 14,
27056
27056
  color: l.value ? "red" : "#acacac",
@@ -27058,7 +27058,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27058
27058
  }, null, 8, ["icon", "color"])
27059
27059
  ], 2),
27060
27060
  l.value ? (B(), q("div", $y, [
27061
- _("span", null, ve(l.value), 1)
27061
+ _("span", null, ge(l.value), 1)
27062
27062
  ])) : ie("", !0),
27063
27063
  o.value.length > 1 && a.value ? (B(), q("div", {
27064
27064
  key: 1,
@@ -27072,11 +27072,11 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27072
27072
  }, [
27073
27073
  _("div", Uy, [
27074
27074
  je(" Search for "),
27075
- _("span", jy, ve(o.value) + "*", 1)
27075
+ _("span", jy, ge(o.value) + "*", 1)
27076
27076
  ]),
27077
27077
  _("div", Hy, [
27078
27078
  je(" word that starts with "),
27079
- _("span", Vy, ve(o.value) + "*", 1)
27079
+ _("span", Vy, ge(o.value) + "*", 1)
27080
27080
  ])
27081
27081
  ]),
27082
27082
  _("div", {
@@ -27085,11 +27085,11 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27085
27085
  }, [
27086
27086
  _("div", zy, [
27087
27087
  je(" Search for "),
27088
- _("span", Gy, '"' + ve(o.value) + '"', 1)
27088
+ _("span", Gy, '"' + ge(o.value) + '"', 1)
27089
27089
  ]),
27090
27090
  _("div", Ky, [
27091
27091
  je(" search exactly for "),
27092
- _("span", Xy, '"' + ve(o.value) + '"', 1)
27092
+ _("span", Xy, '"' + ge(o.value) + '"', 1)
27093
27093
  ])
27094
27094
  ]),
27095
27095
  _("div", {
@@ -27098,11 +27098,11 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27098
27098
  }, [
27099
27099
  _("div", Wy, [
27100
27100
  je(" Search for "),
27101
- _("span", Qy, "*" + ve(o.value) + "*", 1)
27101
+ _("span", Qy, "*" + ge(o.value) + "*", 1)
27102
27102
  ]),
27103
27103
  _("div", Zy, [
27104
27104
  je(" word that includes "),
27105
- _("span", Jy, "*" + ve(o.value) + "*", 1)
27105
+ _("span", Jy, "*" + ge(o.value) + "*", 1)
27106
27106
  ])
27107
27107
  ])
27108
27108
  ], 32)) : ie("", !0)
@@ -27211,20 +27211,20 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27211
27211
  try {
27212
27212
  L ? V.itemId = N.Id : (V.itemId = N.XX_ORD1__Item__c, V.catalogItemId = N.Id);
27213
27213
  const { description: X, thumbnail: J, title: te, attributes: oe, actions: ee } = V;
27214
- J != null && J.field && !J.isStatic && (J.value = ft(N, J.field)), te != null && te.field && !te.isStatic && (te.value = ft(N, te.field)), X != null && X.field && !X.isStatic && (X.value = ft(N, X.field)), (oe || []).forEach((ge) => {
27215
- var _e, ue;
27216
- (_e = ge == null ? void 0 : ge.value) != null && _e.field && !ge.value.isStatic && (ge.value.value = ft(N, ge.value.field, ge.value.dataType) || "-"), (ue = ge == null ? void 0 : ge.label) != null && ue.field && !ge.label.isStatic && (ge.label.value = ft(N, ge.label.field, ge.label.dataType) || "-");
27217
- }), (ee || []).forEach((ge) => {
27218
- ge.action === "CUSTOM" && (ge.url && !ge.url.isStatic && (ge.url.value = ft(N, ge.url.field)), ge.label && !ge.label.isStatic && (ge.label.value = ft(N, ge.label.field)));
27214
+ J != null && J.field && !J.isStatic && (J.value = ft(N, J.field)), te != null && te.field && !te.isStatic && (te.value = ft(N, te.field)), X != null && X.field && !X.isStatic && (X.value = ft(N, X.field)), (oe || []).forEach((ye) => {
27215
+ var _e, de;
27216
+ (_e = ye == null ? void 0 : ye.value) != null && _e.field && !ye.value.isStatic && (ye.value.value = ft(N, ye.value.field, ye.value.dataType) || "-"), (de = ye == null ? void 0 : ye.label) != null && de.field && !ye.label.isStatic && (ye.label.value = ft(N, ye.label.field, ye.label.dataType) || "-");
27217
+ }), (ee || []).forEach((ye) => {
27218
+ ye.action === "CUSTOM" && (ye.url && !ye.url.isStatic && (ye.url.value = ft(N, ye.url.field)), ye.label && !ye.label.isStatic && (ye.label.value = ft(N, ye.label.field)));
27219
27219
  });
27220
27220
  try {
27221
- const ge = L ? ft(N, "XX_ORD1__SYS_Requires_Configuration__c") : ft(N, "XX_ORD1__Item__r.XX_ORD1__SYS_Requires_Configuration__c");
27222
- V.requiresConfiguration = ge;
27221
+ const ye = L ? ft(N, "XX_ORD1__SYS_Requires_Configuration__c") : ft(N, "XX_ORD1__Item__r.XX_ORD1__SYS_Requires_Configuration__c");
27222
+ V.requiresConfiguration = ye;
27223
27223
  } catch {
27224
27224
  }
27225
27225
  const me = L ? ft(N, "XX_ORD1__Friendly_URL__c") : ft(N, "XX_ORD1__Item__r.XX_ORD1__Friendly_URL__c");
27226
- ((U = V.friendlyURLFields) == null ? void 0 : U.length) > 0 && me ? ((K = V.friendlyURLFields) == null || K.forEach((ge) => {
27227
- V.friendlyURL = (V.friendlyURL || "").replace(`{!${ge}}`, ft(N, ge));
27226
+ ((U = V.friendlyURLFields) == null ? void 0 : U.length) > 0 && me ? ((K = V.friendlyURLFields) == null || K.forEach((ye) => {
27227
+ V.friendlyURL = (V.friendlyURL || "").replace(`{!${ye}}`, ft(N, ye));
27228
27228
  }), V.friendlyURL = "/" + (V.friendlyURL || "") + "/" + me) : V.url && (V.friendlyURL = V.url + "/" + ((N == null ? void 0 : N.Id) || "")), V.friendlyURL && (V.friendlyURL = V.friendlyURL.replace(/\/{2,}/g, "/"));
27229
27229
  } catch {
27230
27230
  }
@@ -27341,7 +27341,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27341
27341
  class: "product"
27342
27342
  }, [
27343
27343
  G.value && A.value === void 0 && !e.hideHeader ? (B(), q("div", ig, [
27344
- ce(og, {
27344
+ se(og, {
27345
27345
  modelValue: h.value,
27346
27346
  "onUpdate:modelValue": R[0] || (R[0] = (D) => h.value = D),
27347
27347
  placeholder: "Search products..."
@@ -27357,7 +27357,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27357
27357
  key: (D == null ? void 0 : D.catalogItemId) || (D == null ? void 0 : D.itemId),
27358
27358
  class: "product-item_table"
27359
27359
  }, [
27360
- ce(Py, {
27360
+ se(Py, {
27361
27361
  class: "ecb-theme-card",
27362
27362
  "item-id": D == null ? void 0 : D.itemId,
27363
27363
  "catalog-item-id": D == null ? void 0 : D.catalogItemId,
@@ -27381,7 +27381,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27381
27381
  key: (D == null ? void 0 : D.catalogItemId) || (D == null ? void 0 : D.itemId),
27382
27382
  class: Re(["product-item_record", $.value])
27383
27383
  }, [
27384
- ce(Dy, {
27384
+ se(Dy, {
27385
27385
  "item-id": D == null ? void 0 : D.itemId,
27386
27386
  "catalog-item-id": D == null ? void 0 : D.catalogItemId,
27387
27387
  loading: f.value || m.value,
@@ -27494,8 +27494,8 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27494
27494
  }
27495
27495
  ), (O, M) => (B(), q("div", pg, [
27496
27496
  _("div", mg, [
27497
- _("h2", yg, ve(o.value), 1),
27498
- ce(hg, {
27497
+ _("h2", yg, ge(o.value), 1),
27498
+ se(hg, {
27499
27499
  ref_key: "product",
27500
27500
  ref: m,
27501
27501
  "block-id": e.id,
@@ -27517,7 +27517,7 @@ const Xn = /* @__PURE__ */ Ne(Cm, [["render", ly], ["__scopeId", "data-v-956cc08
27517
27517
  class: "ect-flex ect-items-center ect-gap-2 m-show",
27518
27518
  onClick: M[0] || (M[0] = (S) => n.value = !0)
27519
27519
  }, [
27520
- ce(He, {
27520
+ se(He, {
27521
27521
  class: "filter-product_icon",
27522
27522
  icon: "tune",
27523
27523
  color: "#acacac",
@@ -27624,7 +27624,7 @@ function Ig(e, r, t, n, o, a) {
27624
27624
  onMouseleave: r[1] || (r[1] = (u) => o.isHover = !1)
27625
27625
  }, [
27626
27626
  t.custom ? (B(), q(Te, { key: 1 }, [
27627
- ce(i),
27627
+ se(i),
27628
27628
  (B(), q("svg", {
27629
27629
  width: t.size,
27630
27630
  height: t.size,
@@ -27638,7 +27638,7 @@ function Ig(e, r, t, n, o, a) {
27638
27638
  key: 0,
27639
27639
  class: Re(a.mode),
27640
27640
  style: De(a.style)
27641
- }, ve(t.icon), 7))
27641
+ }, ge(t.icon), 7))
27642
27642
  ], 34)
27643
27643
  ]),
27644
27644
  _: 1
@@ -27649,7 +27649,7 @@ function Ig(e, r, t, n, o, a) {
27649
27649
  onMouseleave: r[3] || (r[3] = (u) => o.isHover = !1)
27650
27650
  }, [
27651
27651
  t.custom ? (B(), q(Te, { key: 1 }, [
27652
- ce(i),
27652
+ se(i),
27653
27653
  (B(), q("svg", {
27654
27654
  width: t.size,
27655
27655
  height: t.size,
@@ -27663,7 +27663,7 @@ function Ig(e, r, t, n, o, a) {
27663
27663
  key: 0,
27664
27664
  class: Re(a.mode),
27665
27665
  style: De(a.style)
27666
- }, ve(t.icon), 7))
27666
+ }, ge(t.icon), 7))
27667
27667
  ], 34));
27668
27668
  }
27669
27669
  const Xo = /* @__PURE__ */ Ne(Cg, [["render", Ig], ["__scopeId", "data-v-16108bca"]]);
@@ -27848,7 +27848,7 @@ function Pg(e, r, t, n, o, a) {
27848
27848
  class: "modal-container__close ect-gap-2",
27849
27849
  onClick: r[0] || (r[0] = (l) => e.$emit("clicked"))
27850
27850
  }, [
27851
- ce(i, {
27851
+ se(i, {
27852
27852
  icon: "close",
27853
27853
  size: 16,
27854
27854
  color: "##0a0a0a",
@@ -27858,8 +27858,8 @@ function Pg(e, r, t, n, o, a) {
27858
27858
  ])) : ie("", !0),
27859
27859
  t.title ? (B(), q("span", Rg, [
27860
27860
  _("div", Bg, [
27861
- _("p", Mg, ve(t.title), 1),
27862
- t.subTitle ? (B(), q("span", Fg, ve(t.subTitle), 1)) : ie("", !0)
27861
+ _("p", Mg, ge(t.title), 1),
27862
+ t.subTitle ? (B(), q("span", Fg, ge(t.subTitle), 1)) : ie("", !0)
27863
27863
  ]),
27864
27864
  ot(e.$slots, "header-action", {}, void 0, !0)
27865
27865
  ])) : ie("", !0),
@@ -27949,7 +27949,7 @@ function Gg(e, r, t, n, o, a) {
27949
27949
  class: Re({ "text-loading": t.loading })
27950
27950
  }, [
27951
27951
  ot(e.$slots, "default", {}, () => [
27952
- je(ve(t.text), 1)
27952
+ je(ge(t.text), 1)
27953
27953
  ], !0)
27954
27954
  ], 2),
27955
27955
  _("span", zg, [
@@ -28051,7 +28051,7 @@ function rv(e, r, t, n, o, a) {
28051
28051
  key: 0,
28052
28052
  class: "label",
28053
28053
  "data-test-id": `${t.dataTestId}-label`
28054
- }, ve(t.label), 9, nv)) : ie("", !0),
28054
+ }, ge(t.label), 9, nv)) : ie("", !0),
28055
28055
  t.info ? (B(), Ae(l, {
28056
28056
  key: 1,
28057
28057
  direction: "top",
@@ -28060,7 +28060,7 @@ function rv(e, r, t, n, o, a) {
28060
28060
  "data-test-id": `${t.dataTestId}-info-tooltip`
28061
28061
  }, {
28062
28062
  default: ze(() => [
28063
- ce(i, {
28063
+ se(i, {
28064
28064
  class: "ect-text-primary ect-pt-2 ect-pl-4",
28065
28065
  icon: "info",
28066
28066
  "data-test-id": `${t.dataTestId}-info-icon`
@@ -28178,8 +28178,8 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28178
28178
  var y;
28179
28179
  return B(), q(Te, { key: x }, [
28180
28180
  h.firstLookup ? (B(), q("div", av, [
28181
- _("label", null, ve(h.firstLookup), 1),
28182
- ce(Wo, {
28181
+ _("label", null, ge(h.firstLookup), 1),
28182
+ se(Wo, {
28183
28183
  modelValue: h.same,
28184
28184
  "onUpdate:modelValue": [(v) => h.same = v, (v) => m(v, h)],
28185
28185
  class: "ect-pt-3 ect-mb-3"
@@ -28187,7 +28187,7 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28187
28187
  ])) : ie("", !0),
28188
28188
  h.dataType === "REFERENCE" && ((y = h.relatedFields) == null ? void 0 : y.length) > 0 ? (B(), q("div", iv, [
28189
28189
  _("div", lv, [
28190
- ce(Bn, {
28190
+ se(Bn, {
28191
28191
  modelValue: h.referenceRecordId,
28192
28192
  "onUpdate:modelValue": [(v) => h.referenceRecordId = v, (v) => d(v, h)],
28193
28193
  label: h.label,
@@ -28214,8 +28214,8 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28214
28214
  options: v.picklistValues.map((C) => ({ label: C, value: C })),
28215
28215
  select: ""
28216
28216
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "options"])) : v.dataType === "BOOLEAN" ? (B(), q("div", uv, [
28217
- _("label", null, ve(v.label), 1),
28218
- ce(Wo, {
28217
+ _("label", null, ge(v.label), 1),
28218
+ se(Wo, {
28219
28219
  modelValue: v.value,
28220
28220
  "onUpdate:modelValue": (C) => v.value = C,
28221
28221
  disabled: !v.editable,
@@ -28254,8 +28254,8 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28254
28254
  select: "",
28255
28255
  highlight: ""
28256
28256
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled", "options"])) : h.dataType === "BOOLEAN" ? (B(), q("div", cv, [
28257
- _("label", null, ve(h.label), 1),
28258
- ce(Wo, {
28257
+ _("label", null, ge(h.label), 1),
28258
+ se(Wo, {
28259
28259
  modelValue: h.value,
28260
28260
  "onUpdate:modelValue": (v) => h.value = v,
28261
28261
  disabled: !h.editable,
@@ -28277,12 +28277,12 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28277
28277
  ]),
28278
28278
  action: ze(() => [
28279
28279
  _("div", dv, [
28280
- ce(xs, {
28280
+ se(xs, {
28281
28281
  text: "CANCEL",
28282
28282
  btype: "secondary",
28283
28283
  onClick: g[0] || (g[0] = (h) => s.$emit("close"))
28284
28284
  }),
28285
- ce(xs, {
28285
+ se(xs, {
28286
28286
  text: "SAVE",
28287
28287
  btype: "primary",
28288
28288
  loading: u.value,
@@ -28567,7 +28567,7 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28567
28567
  style: De(s(E.content.style, E.style))
28568
28568
  }, [
28569
28569
  _("div", _v, [
28570
- ce(Xn)
28570
+ se(Xn)
28571
28571
  ])
28572
28572
  ], 4))), 128)),
28573
28573
  e.del ? (B(), q("td", {
@@ -28575,7 +28575,7 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28575
28575
  style: De({ ...s(), minWidth: "100px", maxWidth: "100px" })
28576
28576
  }, [
28577
28577
  _("div", Cv, [
28578
- ce(Xn)
28578
+ se(Xn)
28579
28579
  ])
28580
28580
  ], 4)) : ie("", !0),
28581
28581
  e.configure ? (B(), q("th", {
@@ -28583,7 +28583,7 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28583
28583
  style: De({ ...s(), minWidth: "100px", maxWidth: "100px" })
28584
28584
  }, [
28585
28585
  _("div", Ev, [
28586
- ce(Xn)
28586
+ se(Xn)
28587
28587
  ])
28588
28588
  ], 4)) : ie("", !0)
28589
28589
  ]),
@@ -28593,8 +28593,8 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28593
28593
  style: De(s())
28594
28594
  }, [
28595
28595
  _("div", Av, [
28596
- ce(Xn),
28597
- ce(Xn)
28596
+ se(Xn),
28597
+ se(Xn)
28598
28598
  ])
28599
28599
  ], 12, kv)) : ie("", !0)
28600
28600
  ], 64))), 64)) : (B(!0), q(Te, { key: 2 }, Le(e.rows, (A) => (B(), q(Te, {
@@ -28684,8 +28684,8 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28684
28684
  style: De(s())
28685
28685
  }, [
28686
28686
  _("div", Tv, [
28687
- ce(Xn),
28688
- ce(Xn)
28687
+ se(Xn),
28688
+ se(Xn)
28689
28689
  ])
28690
28690
  ], 12, Ov)
28691
28691
  ])) : A.Attributes ? (B(), q("tr", Dv, [
@@ -28697,18 +28697,18 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28697
28697
  (B(!0), q(Te, null, Le(A.Attributes, (E, O) => (B(), q(Te, { key: O }, [
28698
28698
  E.value || E.existingValue || E.existingValueReferenceName ? (B(), q(Te, { key: 0 }, [
28699
28699
  E.value && (E.existingValue || E.existingValueReferenceName) ? (B(), q("div", Mv, [
28700
- _("b", null, ve(E.label) + ":", 1),
28700
+ _("b", null, ge(E.label) + ":", 1),
28701
28701
  E.value !== E.existingValue && E.value !== E.existingValueReferenceName ? (B(), q("div", Fv, [
28702
- ce(Ye, {
28702
+ se(Ye, {
28703
28703
  text: E.value,
28704
28704
  style: De(e.attribute.new.style)
28705
28705
  }, null, 8, ["text", "style"]),
28706
- ce(Ye, {
28706
+ se(Ye, {
28707
28707
  text: E.existingValueReferenceName || E.existingValue,
28708
28708
  style: De(e.attribute.old.style)
28709
28709
  }, null, 8, ["text", "style"])
28710
28710
  ])) : (B(), q("div", Nv, [
28711
- ce(Ye, {
28711
+ se(Ye, {
28712
28712
  text: E.value,
28713
28713
  style: De(e.attribute.regular.style)
28714
28714
  }, null, 8, ["text", "style"])
@@ -28722,9 +28722,9 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28722
28722
  onClick: (M) => (n.value = A.Attributes, o.value = A.Id)
28723
28723
  }, null, 8, ["onClick"])) : ie("", !0)
28724
28724
  ])) : E.value ? (B(), q("div", Lv, [
28725
- _("b", null, ve(E.label) + ":", 1),
28725
+ _("b", null, ge(E.label) + ":", 1),
28726
28726
  E.value ? (B(), q("div", Pv, [
28727
- ce(Ye, {
28727
+ se(Ye, {
28728
28728
  text: E.value,
28729
28729
  style: De(e.attribute.new.style)
28730
28730
  }, null, 8, ["text", "style"])
@@ -28738,14 +28738,14 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
28738
28738
  onClick: (M) => (n.value = A.Attributes, o.value = A.Id)
28739
28739
  }, null, 8, ["onClick"])) : ie("", !0)
28740
28740
  ])) : e.attribute.displayonlychanged ? ie("", !0) : (B(), q("div", qv, [
28741
- _("b", null, ve(E.label) + ":", 1),
28741
+ _("b", null, ge(E.label) + ":", 1),
28742
28742
  E.value ? (B(), q("div", $v, [
28743
- ce(Ye, {
28743
+ se(Ye, {
28744
28744
  text: E.value,
28745
28745
  style: De(e.attribute.new.style)
28746
28746
  }, null, 8, ["text", "style"])
28747
28747
  ])) : E.existingValue ? (B(), q("div", Uv, [
28748
- ce(Ye, {
28748
+ se(Ye, {
28749
28749
  text: E.existingValueReferenceName || E.existingValue,
28750
28750
  style: De(e.attribute.regular.style)
28751
28751
  }, null, 8, ["text", "style"])
@@ -29006,7 +29006,7 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
29006
29006
  }, null, 8, ["tag", "text", "style"])) : ie("", !0)
29007
29007
  ]),
29008
29008
  !d.value.repeatcolumheadings || O.value ? (B(), q("div", zv, [
29009
- ce(Po, {
29009
+ se(Po, {
29010
29010
  cols: S.value,
29011
29011
  rows: [],
29012
29012
  summary: [],
@@ -29028,7 +29028,7 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
29028
29028
  key: 1,
29029
29029
  style: De(g.value)
29030
29030
  }, [
29031
- ce(Po, {
29031
+ se(Po, {
29032
29032
  hidecolumn: "",
29033
29033
  cols: S.value,
29034
29034
  rows: [],
@@ -29061,12 +29061,12 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
29061
29061
  class: "groupHeader",
29062
29062
  style: De(p.value)
29063
29063
  }, [
29064
- ce(Ye, {
29064
+ se(Ye, {
29065
29065
  text: "Group: " + H.name,
29066
29066
  style: De(d.value.groupheader.style)
29067
29067
  }, null, 8, ["text", "style"])
29068
29068
  ], 4)) : ie("", !0),
29069
- ce(Po, {
29069
+ se(Po, {
29070
29070
  hidecolumn: !d.value.repeatcolumheadings,
29071
29071
  cols: S.value,
29072
29072
  rows: H.rows,
@@ -29092,13 +29092,13 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
29092
29092
  class: "summary_row",
29093
29093
  style: De(s.value)
29094
29094
  }, [
29095
- ce(Ye, {
29095
+ se(Ye, {
29096
29096
  tag: (U = N == null ? void 0 : N.style) == null ? void 0 : U.tag,
29097
29097
  text: N.label + " : ",
29098
29098
  style: De(N == null ? void 0 : N.style)
29099
29099
  }, null, 8, ["tag", "text", "style"]),
29100
29100
  je("   "),
29101
- ce(Ye, {
29101
+ se(Ye, {
29102
29102
  loading: ((K = A.value) == null ? void 0 : K.length) > 0 || O.value,
29103
29103
  tag: (X = N == null ? void 0 : N.style) == null ? void 0 : X.tag,
29104
29104
  text: N.value,
@@ -29115,12 +29115,12 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
29115
29115
  class: "groupHeader",
29116
29116
  style: De(p.value)
29117
29117
  }, [
29118
- ce(Ye, {
29118
+ se(Ye, {
29119
29119
  text: "Group: " + N.name,
29120
29120
  style: De(d.value.groupheader.style)
29121
29121
  }, null, 8, ["text", "style"])
29122
29122
  ], 4)) : ie("", !0),
29123
- ce(Po, {
29123
+ se(Po, {
29124
29124
  hidecolumn: !d.value.repeatcolumheadings,
29125
29125
  cols: S.value,
29126
29126
  rows: N.rows,
@@ -29147,13 +29147,13 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
29147
29147
  class: "summary_row",
29148
29148
  style: De(s.value)
29149
29149
  }, [
29150
- ce(Ye, {
29150
+ se(Ye, {
29151
29151
  tag: (K = V == null ? void 0 : V.style) == null ? void 0 : K.tag,
29152
29152
  text: V.label + " : ",
29153
29153
  style: De(V == null ? void 0 : V.style)
29154
29154
  }, null, 8, ["tag", "text", "style"]),
29155
29155
  je("   "),
29156
- ce(Ye, {
29156
+ se(Ye, {
29157
29157
  loading: ((X = A.value) == null ? void 0 : X.length) > 0 || O.value,
29158
29158
  tag: (J = V == null ? void 0 : V.style) == null ? void 0 : J.tag,
29159
29159
  text: V.value,
@@ -29231,8 +29231,8 @@ const Wo = /* @__PURE__ */ Ne(Kg, [["render", rv], ["__scopeId", "data-v-888eb5f
29231
29231
  type: "accordian-title"
29232
29232
  })) : ie("", !0),
29233
29233
  _("div", null, [
29234
- t.selectedText ? (B(), q("span", Zv, ve(t.selectedText), 1)) : ie("", !0),
29235
- _("span", Jv, ve(t.expand ? "expand_more" : "expand_less"), 1)
29234
+ t.selectedText ? (B(), q("span", Zv, ge(t.selectedText), 1)) : ie("", !0),
29235
+ _("span", Jv, ge(t.expand ? "expand_more" : "expand_less"), 1)
29236
29236
  ])
29237
29237
  ], 2)) : (B(), q("div", Yv, [
29238
29238
  e.title ? (B(), Ae(Ye, {
@@ -29343,7 +29343,7 @@ const i7 = { class: "quote-summary" }, l7 = {
29343
29343
  }, [
29344
29344
  _("div", i7, [
29345
29345
  e.quoteId ? (B(), q("div", l7, [
29346
- ce(n7, {
29346
+ se(n7, {
29347
29347
  expand: u.value,
29348
29348
  title: p.value,
29349
29349
  style: De(a.value.style),
@@ -29481,8 +29481,8 @@ function m7(e, r, t, n, o, a) {
29481
29481
  default: ze(() => [
29482
29482
  ot(e.$slots, "default", {}, () => [
29483
29483
  t.showspinner ? (B(), q("div", h7, [
29484
- ce(i, { class: "item-button_spinner" })
29485
- ])) : (B(), q("div", p7, ve(t.text), 1))
29484
+ se(i, { class: "item-button_spinner" })
29485
+ ])) : (B(), q("div", p7, ge(t.text), 1))
29486
29486
  ], !0)
29487
29487
  ]),
29488
29488
  _: 3
@@ -29551,7 +29551,7 @@ const il = /* @__PURE__ */ Ne(f7, [["render", m7], ["__scopeId", "data-v-7428ebd
29551
29551
  style: De((y = n.value) == null ? void 0 : y.style)
29552
29552
  }, null, 8, ["text", "style"])) : ie("", !0),
29553
29553
  _("div", y7, [
29554
- ce(pr, {
29554
+ se(pr, {
29555
29555
  modelValue: a.value,
29556
29556
  "onUpdate:modelValue": [
29557
29557
  g[0] || (g[0] = (E) => a.value = E),
@@ -29576,7 +29576,7 @@ const il = /* @__PURE__ */ Ne(f7, [["render", m7], ["__scopeId", "data-v-7428ebd
29576
29576
  onClick: f
29577
29577
  }, null, 8, ["theme", "disabled", "text"]))
29578
29578
  ], 64)),
29579
- _("span", g7, ve(u.value), 1)
29579
+ _("span", g7, ge(u.value), 1)
29580
29580
  ])
29581
29581
  ], 512);
29582
29582
  };
@@ -29880,13 +29880,13 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
29880
29880
  const t = e, n = r, o = Date.now() - Date.now() % Q7 + (/* @__PURE__ */ new Date()).getTimezoneOffset() * 1e3 * 60, a = (ee) => {
29881
29881
  if (!ee)
29882
29882
  return "";
29883
- const [me, ge, _e] = ee.split("-");
29884
- return `${ge}/${_e}/${me}`;
29883
+ const [me, ye, _e] = ee.split("-");
29884
+ return `${ye}/${_e}/${me}`;
29885
29885
  }, i = (ee) => {
29886
29886
  if (!ee)
29887
29887
  return "";
29888
- const [me, ge, _e] = ee.split("/");
29889
- return `${_e}-${me.padStart(2, "0")}-${ge.padStart(2, "0")}`;
29888
+ const [me, ye, _e] = ee.split("/");
29889
+ return `${_e}-${me.padStart(2, "0")}-${ye.padStart(2, "0")}`;
29890
29890
  }, l = z({
29891
29891
  year: (/* @__PURE__ */ new Date()).getFullYear(),
29892
29892
  month: (/* @__PURE__ */ new Date()).getMonth(),
@@ -29930,10 +29930,10 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
29930
29930
  try {
29931
29931
  const me = _7(ee, t.locale);
29932
29932
  if (x.value = me || x.value, s.value = !!me, s.value) {
29933
- const ge = i(ee);
29934
- if (v.value === ge)
29933
+ const ye = i(ee);
29934
+ if (v.value === ye)
29935
29935
  return;
29936
- n("update:modelValue", ge);
29936
+ n("update:modelValue", ye);
29937
29937
  }
29938
29938
  } catch (me) {
29939
29939
  console.info("[ERROR]: Date parsing error:", me), s.value = !1;
@@ -29950,12 +29950,12 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
29950
29950
  const j = () => {
29951
29951
  if (!G.value)
29952
29952
  return;
29953
- const ee = G.value.getBoundingClientRect(), me = 420, ge = 334, _e = window.innerHeight - ee.bottom, ue = ee.top, ye = _e < me && ue > me;
29953
+ const ee = G.value.getBoundingClientRect(), me = 420, ye = 334, _e = window.innerHeight - ee.bottom, de = ee.top, ve = _e < me && de > me;
29954
29954
  u.value = {
29955
29955
  position: "absolute",
29956
- top: `${ye ? ee.top - me : ee.bottom}px`,
29956
+ top: `${ve ? ee.top - me : ee.bottom}px`,
29957
29957
  left: `${ee.left}px`,
29958
- width: `${ge}px`,
29958
+ width: `${ye}px`,
29959
29959
  zIndex: 9999
29960
29960
  };
29961
29961
  }, Z = () => {
@@ -29967,31 +29967,31 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
29967
29967
  }, Q = () => {
29968
29968
  $.value && $.value.focus();
29969
29969
  }, P = (ee) => {
29970
- const me = ee.index - ee.firstDay, ge = ee.index % 7;
29971
- let _e = ee.month - 1, ue = ee.year;
29972
- _e < 0 && (_e = 11, ue--);
29973
- const ye = w(ue, _e), Oe = (me < 0 ? ye + me : me % ee.numberOfDays) + 1, Se = new Date(ee.year, ee.month, Oe).getTime(), Ee = me < 0 || d.value.getTime() > Se ? -1 : me >= ee.numberOfDays || p.value.getTime() < Se ? 1 : 0;
29970
+ const me = ee.index - ee.firstDay, ye = ee.index % 7;
29971
+ let _e = ee.month - 1, de = ee.year;
29972
+ _e < 0 && (_e = 11, de--);
29973
+ const ve = w(de, _e), Oe = (me < 0 ? ve + me : me % ee.numberOfDays) + 1, Se = new Date(ee.year, ee.month, Oe).getTime(), Ee = me < 0 || d.value.getTime() > Se ? -1 : me >= ee.numberOfDays || p.value.getTime() < Se ? 1 : 0;
29974
29974
  return {
29975
29975
  date: Oe,
29976
- day: ge,
29976
+ day: ye,
29977
29977
  month: Ee,
29978
29978
  timestamp: Se,
29979
- dayString: f[ge]
29979
+ dayString: f[ye]
29980
29980
  };
29981
29981
  }, w = (ee, me) => 40 - new Date(ee, me, 40).getDate(), R = (ee, me) => {
29982
- const ge = new Date(ee, me).getDay(), _e = w(ee, me), ue = [], ye = 6;
29982
+ const ye = new Date(ee, me).getDay(), _e = w(ee, me), de = [], ve = 6;
29983
29983
  let Oe = null, Se = 0;
29984
29984
  const Ee = 7;
29985
- for (let le = 0; le < ye; le++)
29985
+ for (let le = 0; le < ve; le++)
29986
29986
  for (let he = 0; he < Ee; he++)
29987
29987
  Oe = P({
29988
29988
  index: Se,
29989
29989
  numberOfDays: _e,
29990
- firstDay: ge,
29990
+ firstDay: ye,
29991
29991
  year: ee,
29992
29992
  month: me
29993
- }), ue.push(Oe), Se++;
29994
- return ue;
29993
+ }), de.push(Oe), Se++;
29994
+ return de;
29995
29995
  }, D = (ee) => ee.timestamp === o, L = (ee) => ee.timestamp === l.value.selectedDay, H = (ee) => {
29996
29996
  if (!ee)
29997
29997
  return null;
@@ -30002,11 +30002,11 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30002
30002
  date: ee.getDate()
30003
30003
  };
30004
30004
  if (typeof ee == "string" && ee.includes("/")) {
30005
- const [me, ge, _e] = ee.split("/");
30005
+ const [me, ye, _e] = ee.split("/");
30006
30006
  return {
30007
30007
  year: parseInt(_e),
30008
30008
  month: parseInt(me),
30009
- date: parseInt(ge)
30009
+ date: parseInt(ye)
30010
30010
  };
30011
30011
  }
30012
30012
  return null;
@@ -30022,8 +30022,8 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30022
30022
  monthDetails: R(ee.year, ee.month - 1)
30023
30023
  });
30024
30024
  }, K = (ee) => {
30025
- const me = new Date(ee), ge = (me.getMonth() + 1).toString().padStart(2, "0"), _e = me.getDate().toString().padStart(2, "0"), ue = me.getFullYear();
30026
- return h.value = `${ge}/${_e}/${ue}`, `${ue}-${ge}-${_e}`;
30025
+ const me = new Date(ee), ye = (me.getMonth() + 1).toString().padStart(2, "0"), _e = me.getDate().toString().padStart(2, "0"), de = me.getFullYear();
30026
+ return h.value = `${ye}/${_e}/${de}`, `${de}-${ye}-${_e}`;
30027
30027
  }, X = (ee) => {
30028
30028
  l.value = { selectedDay: ee.timestamp };
30029
30029
  const me = K(ee.timestamp);
@@ -30032,29 +30032,29 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30032
30032
  if (t.disableYear)
30033
30033
  return;
30034
30034
  const me = l.value.year + ee;
30035
- let ge = l.value.month;
30036
- d.value.getFullYear() === me && d.value.getMonth() > ge && (ge = d.value.getMonth()), p.value.getFullYear() === me && p.value.getMonth() < ge && (ge = p.value.getMonth()), l.value = {
30035
+ let ye = l.value.month;
30036
+ d.value.getFullYear() === me && d.value.getMonth() > ye && (ye = d.value.getMonth()), p.value.getFullYear() === me && p.value.getMonth() < ye && (ye = p.value.getMonth()), l.value = {
30037
30037
  year: me,
30038
- month: ge,
30039
- monthDetails: R(me, ge)
30038
+ month: ye,
30039
+ monthDetails: R(me, ye)
30040
30040
  };
30041
30041
  }, te = (ee) => {
30042
30042
  if (t.disableMonth)
30043
30043
  return;
30044
- let me = l.value.year, ge = l.value.month + ee;
30045
- ge === -1 ? (ge = 11, me--) : ge === 12 && (ge = 0, me++), l.value = {
30044
+ let me = l.value.year, ye = l.value.month + ee;
30045
+ ye === -1 ? (ye = 11, me--) : ye === 12 && (ye = 0, me++), l.value = {
30046
30046
  year: me,
30047
- month: ge,
30048
- monthDetails: R(me, ge)
30047
+ month: ye,
30048
+ monthDetails: R(me, ye)
30049
30049
  };
30050
30050
  }, oe = () => {
30051
- const ee = /* @__PURE__ */ new Date(), me = ee.getFullYear(), ge = ee.getMonth();
30051
+ const ee = /* @__PURE__ */ new Date(), me = ee.getFullYear(), ye = ee.getMonth();
30052
30052
  l.value = {
30053
30053
  ...l.value,
30054
30054
  year: me,
30055
- month: ge,
30055
+ month: ye,
30056
30056
  selectedDay: o,
30057
- monthDetails: R(me, ge)
30057
+ monthDetails: R(me, ye)
30058
30058
  };
30059
30059
  };
30060
30060
  return (ee, me) => (B(), q(Te, null, [
@@ -30063,8 +30063,8 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30063
30063
  ref: T,
30064
30064
  class: "MyDatePicker",
30065
30065
  "data-test-id": e.dataTestId,
30066
- onMouseover: me[2] || (me[2] = (ge) => g.value = !0),
30067
- onMouseout: me[3] || (me[3] = (ge) => g.value = !1)
30066
+ onMouseover: me[2] || (me[2] = (ye) => g.value = !0),
30067
+ onMouseout: me[3] || (me[3] = (ye) => g.value = !1)
30068
30068
  }, [
30069
30069
  e.label ? (B(), q("label", {
30070
30070
  key: 0,
@@ -30072,7 +30072,7 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30072
30072
  for: e.label,
30073
30073
  "data-test-id": `${e.dataTestId}-label`
30074
30074
  }, [
30075
- je(ve(e.label) + " ", 1),
30075
+ je(ge(e.label) + " ", 1),
30076
30076
  e.required ? (B(), q("span", {
30077
30077
  key: 0,
30078
30078
  class: Re({ error_color: !!k.value })
@@ -30089,14 +30089,14 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30089
30089
  }]),
30090
30090
  "data-test-id": `${e.dataTestId}-input-wrapper`,
30091
30091
  onFocusin: Z,
30092
- onFocusout: me[1] || (me[1] = (ge) => Y(!1)),
30092
+ onFocusout: me[1] || (me[1] = (ye) => Y(!1)),
30093
30093
  onClick: Q
30094
30094
  }, [
30095
30095
  dn(_("input", {
30096
30096
  id: "calendar",
30097
30097
  ref_key: "inputRef",
30098
30098
  ref: $,
30099
- "onUpdate:modelValue": me[0] || (me[0] = (ge) => h.value = ge),
30099
+ "onUpdate:modelValue": me[0] || (me[0] = (ye) => h.value = ye),
30100
30100
  type: "text",
30101
30101
  autocomplete: "off",
30102
30102
  placeholder: C.value,
@@ -30104,7 +30104,7 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30104
30104
  }, null, 8, A7), [
30105
30105
  [uo, h.value]
30106
30106
  ]),
30107
- ce(He, {
30107
+ se(He, {
30108
30108
  icon: "calendar_today",
30109
30109
  size: 18,
30110
30110
  for: "calendar",
@@ -30116,7 +30116,7 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30116
30116
  class: "error_label",
30117
30117
  "data-test-id": `${e.dataTestId}-error`
30118
30118
  }, [
30119
- _("p", null, ve(k.value), 1)
30119
+ _("p", null, ge(k.value), 1)
30120
30120
  ], 8, w7)) : ie("", !0)
30121
30121
  ], 40, C7),
30122
30122
  (B(), Ae(ec, { to: ".dropdowntp" }, [
@@ -30138,7 +30138,7 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30138
30138
  }, [
30139
30139
  _("div", {
30140
30140
  class: Re(["mdpchb-inner", { disabled: !A.value || e.disableYear }]),
30141
- onClick: me[4] || (me[4] = (ge) => J(-1))
30141
+ onClick: me[4] || (me[4] = (ye) => J(-1))
30142
30142
  }, D7, 2)
30143
30143
  ], 8, O7),
30144
30144
  _("div", {
@@ -30147,7 +30147,7 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30147
30147
  }, [
30148
30148
  _("div", {
30149
30149
  class: Re(["mdpchb-inner", { disabled: !O.value || e.disableMonth }]),
30150
- onClick: me[5] || (me[5] = (ge) => te(-1))
30150
+ onClick: me[5] || (me[5] = (ye) => te(-1))
30151
30151
  }, M7, 2)
30152
30152
  ], 8, R7),
30153
30153
  _("div", {
@@ -30157,11 +30157,11 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30157
30157
  _("div", {
30158
30158
  class: "mdpchc-year",
30159
30159
  "data-test-id": `${e.dataTestId}-year-display`
30160
- }, ve(l.value.year), 9, N7),
30160
+ }, ge(l.value.year), 9, N7),
30161
30161
  _("div", {
30162
30162
  class: "mdpchc-month",
30163
30163
  "data-test-id": `${e.dataTestId}-month-display`
30164
- }, ve(N(l.value.month)), 9, L7)
30164
+ }, ge(N(l.value.month)), 9, L7)
30165
30165
  ], 8, F7),
30166
30166
  _("div", {
30167
30167
  class: "mdpch-button",
@@ -30169,7 +30169,7 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30169
30169
  }, [
30170
30170
  _("div", {
30171
30171
  class: Re(["mdpchb-inner", { disabled: !M.value || e.disableMonth }]),
30172
- onClick: me[6] || (me[6] = (ge) => te(1))
30172
+ onClick: me[6] || (me[6] = (ye) => te(1))
30173
30173
  }, $7, 2)
30174
30174
  ], 8, P7),
30175
30175
  _("div", {
@@ -30178,7 +30178,7 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30178
30178
  }, [
30179
30179
  _("div", {
30180
30180
  class: Re(["mdpchb-inner", { disabled: !E.value || e.disableYear }]),
30181
- onClick: me[7] || (me[7] = (ge) => J(1))
30181
+ onClick: me[7] || (me[7] = (ye) => J(1))
30182
30182
  }, H7, 2)
30183
30183
  ], 8, U7)
30184
30184
  ], 8, S7),
@@ -30188,24 +30188,24 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30188
30188
  }, [
30189
30189
  _("div", z7, [
30190
30190
  _("div", G7, [
30191
- (B(), q(Te, null, Le(c, (ge, _e) => _("div", {
30191
+ (B(), q(Te, null, Le(c, (ye, _e) => _("div", {
30192
30192
  key: _e,
30193
30193
  class: "cch-name"
30194
- }, ve(ge), 1)), 64))
30194
+ }, ge(ye), 1)), 64))
30195
30195
  ]),
30196
30196
  _("div", K7, [
30197
- (B(!0), q(Te, null, Le(l.value.monthDetails, (ge, _e) => (B(), q("div", {
30197
+ (B(!0), q(Te, null, Le(l.value.monthDetails, (ye, _e) => (B(), q("div", {
30198
30198
  key: _e,
30199
30199
  class: Re(["c-day-container", {
30200
- disabled: ge.month !== 0,
30201
- highlight: D(ge),
30202
- "highlight-green": L(ge)
30200
+ disabled: ye.month !== 0,
30201
+ highlight: D(ye),
30202
+ "highlight-green": L(ye)
30203
30203
  }])
30204
30204
  }, [
30205
30205
  _("div", X7, [
30206
30206
  _("span", {
30207
- onClick: (ue) => X(ge)
30208
- }, ve(ge.date), 9, W7)
30207
+ onClick: (de) => X(ye)
30208
+ }, ge(ye.date), 9, W7)
30209
30209
  ])
30210
30210
  ], 2))), 128))
30211
30211
  ])
@@ -30351,7 +30351,7 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30351
30351
  return u.value ? (B(), q("div", ib, [
30352
30352
  _("div", lb, [
30353
30353
  ub,
30354
- je("   " + ve((Q = x.value) == null ? void 0 : Q.label), 1)
30354
+ je("   " + ge((Q = x.value) == null ? void 0 : Q.label), 1)
30355
30355
  ]),
30356
30356
  x.value && x.value.close ? (B(), q("a", {
30357
30357
  key: 0,
@@ -30370,7 +30370,7 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30370
30370
  key: w,
30371
30371
  class: Re(["custom-form_block-content_skeletion", P.size])
30372
30372
  }, [
30373
- ce(En)
30373
+ se(En)
30374
30374
  ], 2))), 128))
30375
30375
  ])) : i.value ? ie("", !0) : (B(), q("div", rb, [
30376
30376
  (B(!0), q(Te, null, Le(v.value, (P, w) => (B(), q(Te, { key: w }, [
@@ -30498,7 +30498,7 @@ const va = (e) => (Gt("data-v-975857d5"), e = e(), Kt(), e), C7 = ["data-test-id
30498
30498
  return (l, u) => (B(), q("div", db, [
30499
30499
  (B(!0), q(Te, null, Le(a.value, (c, f) => (B(), q(Te, { key: f }, [
30500
30500
  c.spinner ? (B(), q("div", fb, [
30501
- ce(pa)
30501
+ se(pa)
30502
30502
  ])) : (B(), Ae(il, {
30503
30503
  key: 0,
30504
30504
  theme: c.style.theme,
@@ -30590,7 +30590,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
30590
30590
  }), m;
30591
30591
  });
30592
30592
  return (m, d) => (B(), q(Te, null, [
30593
- ce(xl),
30593
+ se(xl),
30594
30594
  (B(), q("div", {
30595
30595
  key: l.value,
30596
30596
  class: "contentRendered ectheme",
@@ -30618,7 +30618,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
30618
30618
  "page-block-id": s.Id,
30619
30619
  class: "ect-m-auto ect-w-full"
30620
30620
  }, [
30621
- ce(Wv, {
30621
+ se(Wv, {
30622
30622
  id: s.Id,
30623
30623
  header: s.fields.header,
30624
30624
  columns: s.fields.columns,
@@ -30632,7 +30632,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
30632
30632
  "page-block-id": s.Id,
30633
30633
  class: ""
30634
30634
  }, [
30635
- ce(c7, {
30635
+ se(c7, {
30636
30636
  id: s.Id,
30637
30637
  configuration: s.configuration,
30638
30638
  fields: s.fields,
@@ -30643,7 +30643,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
30643
30643
  "page-block-id": s.Id,
30644
30644
  class: ""
30645
30645
  }, [
30646
- ce(b7, {
30646
+ se(b7, {
30647
30647
  id: s.Id,
30648
30648
  fields: s.fields,
30649
30649
  configuration: s.configuration,
@@ -30654,7 +30654,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
30654
30654
  "page-block-id": s.Id,
30655
30655
  class: "ect-w-full"
30656
30656
  }, [
30657
- ce(cb, {
30657
+ se(cb, {
30658
30658
  id: s.Id,
30659
30659
  configuration: s.configuration,
30660
30660
  fields: s.fields,
@@ -30665,7 +30665,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
30665
30665
  "page-block-id": s.Id,
30666
30666
  class: ""
30667
30667
  }, [
30668
- ce(pb, {
30668
+ se(pb, {
30669
30669
  id: s.Id,
30670
30670
  configuration: s.configuration,
30671
30671
  fields: s.fields,
@@ -30676,7 +30676,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
30676
30676
  "page-block-id": s.Id,
30677
30677
  class: ""
30678
30678
  }, [
30679
- ce(_g, {
30679
+ se(_g, {
30680
30680
  id: s.Id,
30681
30681
  mode: "preview",
30682
30682
  configuration: s.configuration,
@@ -30860,7 +30860,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
30860
30860
  }), (d, p) => {
30861
30861
  var s, g;
30862
30862
  return B(), q("div", Ab, [
30863
- ce(zc, {
30863
+ se(zc, {
30864
30864
  "organization-id": (s = a.identity) == null ? void 0 : s.organizationId,
30865
30865
  "template-id": a.templateId,
30866
30866
  "is-preview": a.isPreview,
@@ -30964,13 +30964,13 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
30964
30964
  }), Xe(() => i.sections, async (u, c) => {
30965
30965
  u !== c && (await t.processSections(i.isPreview, u), o.value && o.value.refreshTemplate && o.value.refreshTemplate());
30966
30966
  }, { deep: !0 }), (u, c) => (B(), q(Te, null, [
30967
- ce(zc, {
30967
+ se(zc, {
30968
30968
  "organization-id": i.identity.organizationId,
30969
30969
  "template-id": i.templateId,
30970
30970
  "is-preview": i.isPreview,
30971
30971
  theme: i.theme
30972
30972
  }, null, 8, ["organization-id", "template-id", "is-preview", "theme"]),
30973
- ce(e0, {
30973
+ se(e0, {
30974
30974
  ref_key: "templateRendererRef",
30975
30975
  ref: o,
30976
30976
  "is-preview": e.isPreview
@@ -31091,24 +31091,26 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
31091
31091
  }, Fl = St("expediteConfigurator", () => {
31092
31092
  const e = z(null), r = z(null), t = z(null), n = z([]);
31093
31093
  function o() {
31094
- var u, c;
31095
- return console.info("[expediteConfiguratorStore] getPayload", {
31094
+ var c, f;
31095
+ console.info("[expediteConfiguratorStore] getPayload", {
31096
31096
  hasComp: !!e.value,
31097
- hasGetConfig: !!((u = e.value) != null && u.getConfig)
31098
- }), {
31099
- quoteConfiguration: (c = e.value) == null ? void 0 : c.getConfig
31097
+ hasGetConfig: !!((c = e.value) != null && c.getConfig)
31098
+ });
31099
+ const u = (f = e.value) == null ? void 0 : f.getConfig;
31100
+ return {
31101
+ productConfiguration: u != null ? [u] : []
31100
31102
  };
31101
31103
  }
31102
31104
  function a(u, c) {
31103
- var f;
31105
+ var f, m, d;
31104
31106
  console.info("[expediteConfiguratorStore] setPreConfigData", {
31105
31107
  hasData: !!u,
31106
- hasQuoteConfiguration: !!(u != null && u.quoteConfiguration),
31108
+ hasProductConfiguration: !!((f = u == null ? void 0 : u.productConfiguration) != null && f.length),
31107
31109
  itemId: c
31108
- }), r.value = u, u != null && u.quoteConfiguration && (t.value = u.quoteConfiguration[c], n.value = Object.values(u.quoteConfiguration), console.info("[expediteConfiguratorStore] apply queued?", {
31110
+ }), r.value = u, ((m = u == null ? void 0 : u.productConfiguration) == null ? void 0 : m.length) > 0 && (t.value = u.productConfiguration.find((p) => p.itemId === c), n.value = u.productConfiguration, console.info("[expediteConfiguratorStore] apply queued?", {
31109
31111
  hasQueueItem: !!t.value,
31110
31112
  ready: !!e.value
31111
- }), t.value && ((f = e.value) != null && f.setConfig) && e.value.setConfig(t.value, n.value));
31113
+ }), t.value && ((d = e.value) != null && d.setConfig) && e.value.setConfig(t.value, n.value));
31112
31114
  }
31113
31115
  function i() {
31114
31116
  var u;
@@ -31222,7 +31224,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
31222
31224
  }
31223
31225
  l.value = N.stepName ?? I, console.info(`[navigateToStep] Navigating to step[${H}] "${l.value}" with component "${V}".`);
31224
31226
  let U = T;
31225
- const K = String(V || "").trim().toLowerCase().replace(/[^a-z0-9]+/g, "_"), X = !!((R = (w = U == null ? void 0 : U.payload) == null ? void 0 : w.savedProducts) != null && R.length) || !!((D = U == null ? void 0 : U.payload) != null && D.quoteConfiguration && Object.keys(((L = U == null ? void 0 : U.payload) == null ? void 0 : L.quoteConfiguration) || {}).length > 0);
31227
+ const K = String(V || "").trim().toLowerCase().replace(/[^a-z0-9]+/g, "_"), X = !!((R = (w = U == null ? void 0 : U.payload) == null ? void 0 : w.savedProducts) != null && R.length) || ((L = (D = U == null ? void 0 : U.payload) == null ? void 0 : D.productConfiguration) == null ? void 0 : L.length) > 0;
31226
31228
  if (K === "configurator" && !X)
31227
31229
  try {
31228
31230
  const J = typeof t.getTopConfigurableItem == "function" ? t.getTopConfigurableItem() : null;
@@ -31298,11 +31300,11 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
31298
31300
  console.info("[playbook] Quote line items reloaded...");
31299
31301
  })), $ === "/configurator")
31300
31302
  if (console.log("[playbook:loadComponent] navigating to configurator", {
31301
- hasQuoteConfiguration: !!((Z = T == null ? void 0 : T.payload) != null && Z.quoteConfiguration && Object.keys(((Y = T == null ? void 0 : T.payload) == null ? void 0 : Y.quoteConfiguration) ?? {}).length > 0),
31303
+ hasProductConfiguration: ((Y = (Z = T == null ? void 0 : T.payload) == null ? void 0 : Z.productConfiguration) == null ? void 0 : Y.length) > 0,
31302
31304
  hasSavedProducts: ((P = (Q = T == null ? void 0 : T.payload) == null ? void 0 : Q.savedProducts) == null ? void 0 : P.length) > 0,
31303
31305
  isReload: (T == null ? void 0 : T.actionFunction) === "Reload"
31304
- }), (w = T == null ? void 0 : T.payload) != null && w.quoteConfiguration && Object.keys(((R = T == null ? void 0 : T.payload) == null ? void 0 : R.quoteConfiguration) ?? {}).length > 0) {
31305
- const oe = Object.keys(((D = T == null ? void 0 : T.payload) == null ? void 0 : D.quoteConfiguration) ?? {})[0];
31306
+ }), ((R = (w = T == null ? void 0 : T.payload) == null ? void 0 : w.productConfiguration) == null ? void 0 : R.length) > 0) {
31307
+ const oe = (D = T == null ? void 0 : T.payload) == null ? void 0 : D.productConfiguration[0].itemId;
31306
31308
  n.setPreConfigData(T == null ? void 0 : T.payload, oe);
31307
31309
  const ee = `/configurator/${oe}`;
31308
31310
  G(ee) || router.push(ee);
@@ -31315,12 +31317,12 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
31315
31317
  console.log("Reloading configurator 5"), n.refresh();
31316
31318
  return;
31317
31319
  } else {
31318
- const me = [...((U = quoteStore.allQLIData) == null ? void 0 : U.lineItems) ?? []].sort((ge, _e) => {
31319
- const ue = (ye) => ye.xx_ord1__sys_configuration_status2__c === "Needs Configuration" ? 1 : ye.xx_ord1__sys_configuration_status2__c === "Suggests Configuration" ? 2 : 3;
31320
- return ue(ge) - ue(_e);
31321
- }).filter((ge) => ge.xx_ord1__sys_configuration_status2__c !== "No Configuration");
31320
+ const me = [...((U = quoteStore.allQLIData) == null ? void 0 : U.lineItems) ?? []].sort((ye, _e) => {
31321
+ const de = (ve) => ve.xx_ord1__sys_configuration_status2__c === "Needs Configuration" ? 1 : ve.xx_ord1__sys_configuration_status2__c === "Suggests Configuration" ? 2 : 3;
31322
+ return de(ye) - de(_e);
31323
+ }).filter((ye) => ye.xx_ord1__sys_configuration_status2__c !== "No Configuration");
31322
31324
  if (me.length) {
31323
- const ge = me[0], _e = `/configurator/${ge.xx_ord1__item__c}${ge.id ? `/${ge.id}` : ""}`;
31325
+ const ye = me[0], _e = `/configurator/${ye.xx_ord1__item__c}${ye.id ? `/${ye.id}` : ""}`;
31324
31326
  G(_e) || router.push(_e);
31325
31327
  } else
31326
31328
  e.handleWarning("No items needing configuration");
@@ -31650,7 +31652,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
31650
31652
  f.value = !1, l.value = !0;
31651
31653
  const me = w.trim();
31652
31654
  D.length || (D = C());
31653
- const ge = {
31655
+ const ye = {
31654
31656
  fields: D,
31655
31657
  ...R.length ? { dynamicFilters: L } : {},
31656
31658
  // dynamicFilterLogic: '',
@@ -31669,7 +31671,7 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
31669
31671
  ...((J = y.value) == null ? void 0 : J.offset) !== 0 ? { offset: y.value.offset } : {},
31670
31672
  objectName: (oe = (te = a.value) == null ? void 0 : te.configuration) == null ? void 0 : oe.objectName,
31671
31673
  currencyCode: r.currencyCode
31672
- }, _e = await window.salesforceConnector.getItems(JSON.stringify(ge));
31674
+ }, _e = await window.salesforceConnector.getItems(JSON.stringify(ye));
31673
31675
  if (_e != null && _e.errorMessage) {
31674
31676
  s.handleError(_e.errorMessage);
31675
31677
  return;
@@ -32277,10 +32279,10 @@ const yb = ["data-sid", "data-sname"], gb = ["data-bid", "data-bname"], vb = ["p
32277
32279
  te.forEach((_e) => {
32278
32280
  _e.XX_ORD1__Parent_QLI__c ? oe.has(_e.XX_ORD1__Parent_QLI__c) ? oe.get(_e.XX_ORD1__Parent_QLI__c).push(_e) : oe.set(_e.XX_ORD1__Parent_QLI__c, [_e]) : ee.push(_e);
32279
32281
  });
32280
- const ge = [];
32282
+ const ye = [];
32281
32283
  return ee.forEach((_e) => {
32282
- ge.push(_e), oe.has(_e.Id) && ge.push(...oe.get(_e.Id));
32283
- }), ee = S(ee, P), L.lineItems = Zo(ge), L.parentQLIs = ee, L.totalValues = me, L.loading = !1, f.value = new Map(f.value), ge;
32284
+ ye.push(_e), oe.has(_e.Id) && ye.push(...oe.get(_e.Id));
32285
+ }), ee = S(ee, P), L.lineItems = Zo(ye), L.parentQLIs = ee, L.totalValues = me, L.loading = !1, f.value = new Map(f.value), ye;
32284
32286
  } catch (L) {
32285
32287
  console.info("[ERROR]: fetchQuoteLineItems()123 error = ", L.message);
32286
32288
  const H = f.value.get(P);
@@ -32943,14 +32945,14 @@ const vr = St("ai", () => {
32943
32945
  we || (we = !0, Qe ? pe(Qe) : ne(ut));
32944
32946
  }, re = () => {
32945
32947
  Y(), be(null);
32946
- }, se = (Qe) => {
32948
+ }, ue = (Qe) => {
32947
32949
  Q(Qe), we || be(new Error("WebSocket closed before open"));
32948
32950
  }, Ce = (Qe) => {
32949
32951
  P(Qe), we || be((Qe == null ? void 0 : Qe.error) || new Error("WebSocket error"));
32950
32952
  };
32951
32953
  try {
32952
32954
  const Qe = $.value + "?chatRoomId=" + I.value;
32953
- m.value = new WebSocket(Qe), m.value.addEventListener("open", re), m.value.addEventListener("message", w), m.value.addEventListener("close", se), m.value.addEventListener("error", Ce);
32955
+ m.value = new WebSocket(Qe), m.value.addEventListener("open", re), m.value.addEventListener("message", w), m.value.addEventListener("close", ue), m.value.addEventListener("error", Ce);
32954
32956
  } catch (Qe) {
32955
32957
  v.value && (clearTimeout(v.value), v.value = null), (Ue = Qe.message) != null && Ue.includes("network") || (We = Qe.message) != null && We.includes("Network") ? j("WEBSOCKET_NETWORK_ERROR", { error: Qe.message }) : (Ge = Qe.message) != null && Ge.includes("CORS") || (lt = Qe.message) != null && lt.includes("cors") ? j("WEBSOCKET_CORS_ERROR", { error: Qe.message }) : j("WEBSOCKET_CONNECTION_FAILED", { error: Qe.message }), be(Qe);
32956
32958
  }
@@ -33003,8 +33005,8 @@ const vr = St("ai", () => {
33003
33005
  he != null && he.chatId && (d.value.chatId = he.chatId);
33004
33006
  const we = (he == null ? void 0 : he.contextObjectId) ?? ((Be = he == null ? void 0 : he.payload) == null ? void 0 : Be.contextObjectId);
33005
33007
  if (we) {
33006
- const re = d.value.contextObjectId || ((ne = o.quoteId) == null ? void 0 : ne.value) || "", se = we;
33007
- se && se !== re && (d.value.contextObjectId = se, o.updateConfig({ quoteId: se }), jt("quote-id:updated", { quoteId: se }));
33008
+ const re = d.value.contextObjectId || ((ne = o.quoteId) == null ? void 0 : ne.value) || "", ue = we;
33009
+ ue && ue !== re && (d.value.contextObjectId = ue, o.updateConfig({ quoteId: ue }), jt("quote-id:updated", { quoteId: ue }));
33008
33010
  }
33009
33011
  if (D(he), he.status !== "ALIVE") {
33010
33012
  if ((he == null ? void 0 : he.status) === "IN_PROGRESS" || (he == null ? void 0 : he.loading) === !0) {
@@ -33014,8 +33016,8 @@ const vr = St("ai", () => {
33014
33016
  }
33015
33017
  if ((he == null ? void 0 : he.status) === "SUCCESS") {
33016
33018
  const re = (he == null ? void 0 : he.message) || Wr;
33017
- A.value = E.getCurrentMessage() || re, E.setSuccess(he, (se) => {
33018
- R(se);
33019
+ A.value = E.getCurrentMessage() || re, E.setSuccess(he, (ue) => {
33020
+ R(ue);
33019
33021
  });
33020
33022
  return;
33021
33023
  }
@@ -33027,15 +33029,15 @@ const vr = St("ai", () => {
33027
33029
  error: he.agentResponse.error,
33028
33030
  isDML: he.agentResponse.isDML,
33029
33031
  ...(pe = he.agentResponse) != null && pe.filesData ? { filesData: (be = he.agentResponse) == null ? void 0 : be.filesData } : {}
33030
- })), O.value = he.links || [], ue(he);
33032
+ })), O.value = he.links || [], de(he);
33031
33033
  }
33032
33034
  };
33033
33035
  function R(le, he = {}) {
33034
33036
  var ne, pe, be, re;
33035
33037
  const { skipComponentLoad: we = !1 } = he || {}, Be = (le == null ? void 0 : le.contextObjectId) ?? ((ne = le == null ? void 0 : le.payload) == null ? void 0 : ne.contextObjectId);
33036
33038
  if (Be) {
33037
- const se = d.value.contextObjectId || ((pe = o.quoteId) == null ? void 0 : pe.value) || "", Ce = Be;
33038
- Ce && Ce !== se && (console.info("[ai] Updating quoteId from contextObjectId (SUCCESS):", { current: se, new: Ce }), d.value.contextObjectId = Ce, o.updateConfig({ quoteId: Ce }), console.info("[ai] Emitting quote-id:updated event with quoteId (SUCCESS):", Ce), jt("quote-id:updated", { quoteId: Ce }));
33039
+ const ue = d.value.contextObjectId || ((pe = o.quoteId) == null ? void 0 : pe.value) || "", Ce = Be;
33040
+ Ce && Ce !== ue && (console.info("[ai] Updating quoteId from contextObjectId (SUCCESS):", { current: ue, new: Ce }), d.value.contextObjectId = Ce, o.updateConfig({ quoteId: Ce }), console.info("[ai] Emitting quote-id:updated event with quoteId (SUCCESS):", Ce), jt("quote-id:updated", { quoteId: Ce }));
33039
33041
  }
33040
33042
  if (le != null && le.loading) {
33041
33043
  A.value = le.message;
@@ -33055,7 +33057,7 @@ const vr = St("ai", () => {
33055
33057
  jt("ai-response:success", le);
33056
33058
  } catch {
33057
33059
  }
33058
- we || ue(le);
33060
+ we || de(le);
33059
33061
  }
33060
33062
  const D = (le) => {
33061
33063
  const he = le == null ? void 0 : le.eventType, we = (le == null ? void 0 : le.loading) === !0 || he === "ResponseTextDeltaEvent", Be = he === "ResponseTextDoneEvent" || Array.isArray(le == null ? void 0 : le.messages) || !!(le != null && le.agentResponse);
@@ -33102,7 +33104,7 @@ const vr = St("ai", () => {
33102
33104
  }
33103
33105
  if (le.trim()) {
33104
33106
  let Be = { ...d.value };
33105
- Be.prompt = le.trim(), Be.requestType = "Chat", Be.requestId = tr(), Be.internalCall = !1, Be.payload = oe(), console.log("[ai] _payload.payload", Be.payload), Be.componentName = ee.value, Be.templateId = r.templateId, Be.payload.lineItemsCount = r.lineItemsCount, Be.relatedIds.eCatalogId = o.eCatalogId.value || "", we && (Be = { ...Be, ...we }), ge(), he && l.value.push({
33107
+ Be.prompt = le.trim(), Be.requestType = "Chat", Be.requestId = tr(), Be.internalCall = !1, Be.payload = oe(), console.log("[ai] _payload.payload", Be.payload), Be.componentName = ee.value, Be.templateId = r.templateId, Be.payload.lineItemsCount = r.lineItemsCount, Be.relatedIds.eCatalogId = o.eCatalogId.value || "", we && (Be = { ...Be, ...we }), ye(), he && l.value.push({
33106
33108
  message: le.trim(),
33107
33109
  type: "user",
33108
33110
  ...C.value && { fileData: [C.value] },
@@ -33154,7 +33156,7 @@ const vr = St("ai", () => {
33154
33156
  message: "Oops! Something went wrong while processing your request. Please try again later.",
33155
33157
  error: !0
33156
33158
  });
33157
- }, ge = () => {
33159
+ }, ye = () => {
33158
33160
  l.value = l.value.map((le) => ({
33159
33161
  ...le,
33160
33162
  links: []
@@ -33166,7 +33168,7 @@ const vr = St("ai", () => {
33166
33168
  const ne = le == null ? void 0 : le.stepName;
33167
33169
  if (!ne)
33168
33170
  return !1;
33169
- const pe = (lt) => String(lt || "").trim().toLowerCase().replace(/[^a-z0-9]+/g, "_"), be = ((he = a.currentPlaybook) == null ? void 0 : he.playBookSteps) || [], re = be.find((lt) => lt.stepName === ne || lt.name === ne) || null, Ce = pe(re == null ? void 0 : re.stepComponent) === "configurator" || pe(ne).includes("configure"), Ue = !!(le != null && le.payload && ((we = le == null ? void 0 : le.payload) != null && we.quoteConfiguration) && typeof le.payload.quoteConfiguration == "object" && Object.keys(le.payload.quoteConfiguration || {}).length === 0), Ge = pe(
33171
+ const pe = (lt) => String(lt || "").trim().toLowerCase().replace(/[^a-z0-9]+/g, "_"), be = ((he = a.currentPlaybook) == null ? void 0 : he.playBookSteps) || [], re = be.find((lt) => lt.stepName === ne || lt.name === ne) || null, Ce = pe(re == null ? void 0 : re.stepComponent) === "configurator" || pe(ne).includes("configure"), Ue = !!((we = le == null ? void 0 : le.payload) != null && we.productConfiguration && Array.isArray(le.payload.productConfiguration) && le.payload.productConfiguration.length === 0), Ge = pe(
33170
33172
  a.currentStep && a.currentStep.stepComponent || ((Be = be.find((lt) => lt.stepName === (a.currentStepName || ""))) == null ? void 0 : Be.stepComponent) || a.activeComponentKey
33171
33173
  ) === "configurator";
33172
33174
  return Ce && Ue && Ge;
@@ -33174,12 +33176,12 @@ const vr = St("ai", () => {
33174
33176
  return !1;
33175
33177
  }
33176
33178
  }
33177
- function ue(le) {
33179
+ function de(le) {
33178
33180
  var Be, ne, pe, be;
33179
33181
  const he = (le == null ? void 0 : le.contextObjectId) ?? ((Be = le == null ? void 0 : le.payload) == null ? void 0 : Be.contextObjectId);
33180
33182
  if (he) {
33181
- const re = he, se = d.value.contextObjectId || ((ne = o.quoteId) == null ? void 0 : ne.value) || "";
33182
- re && re !== se && (d.value.contextObjectId = re, o.updateConfig({ quoteId: re }), jt("quote-id:updated", { quoteId: re }));
33183
+ const re = he, ue = d.value.contextObjectId || ((ne = o.quoteId) == null ? void 0 : ne.value) || "";
33184
+ re && re !== ue && (d.value.contextObjectId = re, o.updateConfig({ quoteId: re }), jt("quote-id:updated", { quoteId: re }));
33183
33185
  }
33184
33186
  const we = le == null ? void 0 : le.stepName;
33185
33187
  if (we) {
@@ -33188,7 +33190,7 @@ const vr = St("ai", () => {
33188
33190
  return;
33189
33191
  }
33190
33192
  if (_e(le)) {
33191
- console.info("[ai] Skipping configurator update: empty quoteConfiguration and configurator already active"), (le == null ? void 0 : le.actionFunction) === "Reload" && (console.log("Reloading configurator 2"), n.refresh());
33193
+ console.info("[ai] Skipping configurator update: empty productConfiguration and configurator already active"), (le == null ? void 0 : le.actionFunction) === "Reload" && (console.log("Reloading configurator 2"), n.refresh());
33192
33194
  return;
33193
33195
  }
33194
33196
  try {
@@ -33204,7 +33206,7 @@ const vr = St("ai", () => {
33204
33206
  return;
33205
33207
  }
33206
33208
  }
33207
- function ye() {
33209
+ function ve() {
33208
33210
  if (T.value) {
33209
33211
  const le = {
33210
33212
  action: "cancel",
@@ -33275,7 +33277,7 @@ const vr = St("ai", () => {
33275
33277
  connectSocket: Z,
33276
33278
  sendMessage: K,
33277
33279
  setInitialPayload: G,
33278
- cancelRequest: ye,
33280
+ cancelRequest: ve,
33279
33281
  disconnectSocket: Oe,
33280
33282
  resetState: Se
33281
33283
  };
@@ -33491,7 +33493,7 @@ const Qb = { class: "chat-message-links" }, Zb = ["href", "redirect", "data-test
33491
33493
  target: "_blank",
33492
33494
  class: "ai-links",
33493
33495
  "data-test-id": `chat-message-action-${o.label}`
33494
- }, ve(o.label), 9, Zb))
33496
+ }, ge(o.label), 9, Zb))
33495
33497
  ], 64))), 128))
33496
33498
  ]));
33497
33499
  }
@@ -33545,15 +33547,15 @@ const Qb = { class: "chat-message-links" }, Zb = ["href", "redirect", "data-test
33545
33547
  }, null, 8, tx)
33546
33548
  ]),
33547
33549
  _("div", null, [
33548
- _("p", nx, ve(e.info.fileName), 1),
33549
- _("p", rx, ve(e.info.fileSize), 1)
33550
+ _("p", nx, ge(e.info.fileName), 1),
33551
+ _("p", rx, ge(e.info.fileSize), 1)
33550
33552
  ]),
33551
33553
  e.encodedString ? (B(), q("button", {
33552
33554
  key: 0,
33553
33555
  class: "a-download",
33554
33556
  onClick: i[0] || (i[0] = (l) => o(e.encodedString))
33555
33557
  }, [
33556
- ce(He, {
33558
+ se(He, {
33557
33559
  icon: "download",
33558
33560
  color: "#353535"
33559
33561
  })
@@ -36900,14 +36902,14 @@ function L0() {
36900
36902
  enumerable: !0,
36901
36903
  value: !1
36902
36904
  }
36903
- })), N = null, V = null, U = !0, K = !0, X = !1, J = !0, te = !1, oe = !0, ee = !1, me = !1, ge = !1, _e = !1, ue = !1, ye = !1, Oe = !0, Se = !1;
36905
+ })), N = null, V = null, U = !0, K = !0, X = !1, J = !0, te = !1, oe = !0, ee = !1, me = !1, ye = !1, _e = !1, de = !1, ve = !1, Oe = !0, Se = !1;
36904
36906
  const Ee = "user-content-";
36905
36907
  let le = !0, he = !1, we = {}, Be = null;
36906
36908
  const ne = Ze({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
36907
36909
  let pe = null;
36908
36910
  const be = Ze({}, ["audio", "video", "img", "source", "image", "track"]);
36909
36911
  let re = null;
36910
- const se = Ze({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ce = "http://www.w3.org/1998/Math/MathML", Ue = "http://www.w3.org/2000/svg", We = "http://www.w3.org/1999/xhtml";
36912
+ const ue = Ze({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ce = "http://www.w3.org/1998/Math/MathML", Ue = "http://www.w3.org/2000/svg", We = "http://www.w3.org/1999/xhtml";
36911
36913
  let Ge = We, lt = !1, Qe = null;
36912
36914
  const ut = Ze({}, [Ce, Ue, We], Ki);
36913
36915
  let nt = Ze({}, ["mi", "mo", "mn", "ms", "mtext"]), st = Ze({}, ["annotation-xml"]);
@@ -36915,43 +36917,43 @@ function L0() {
36915
36917
  let Bt = null;
36916
36918
  const Un = ["application/xhtml+xml", "text/html"], vn = "text/html";
36917
36919
  let ct = null, Pt = null;
36918
- const jn = t.createElement("form"), an = function(de) {
36919
- return de instanceof RegExp || de instanceof Function;
36920
+ const jn = t.createElement("form"), an = function(ce) {
36921
+ return ce instanceof RegExp || ce instanceof Function;
36920
36922
  }, bn = function() {
36921
- let de = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
36922
- if (!(Pt && Pt === de)) {
36923
- if ((!de || typeof de != "object") && (de = {}), de = Kn(de), Bt = // eslint-disable-next-line unicorn/prefer-includes
36924
- Un.indexOf(de.PARSER_MEDIA_TYPE) === -1 ? vn : de.PARSER_MEDIA_TYPE, ct = Bt === "application/xhtml+xml" ? Ki : Qo, w = _n(de, "ALLOWED_TAGS") ? Ze({}, de.ALLOWED_TAGS, ct) : R, D = _n(de, "ALLOWED_ATTR") ? Ze({}, de.ALLOWED_ATTR, ct) : L, Qe = _n(de, "ALLOWED_NAMESPACES") ? Ze({}, de.ALLOWED_NAMESPACES, Ki) : ut, re = _n(de, "ADD_URI_SAFE_ATTR") ? Ze(Kn(se), de.ADD_URI_SAFE_ATTR, ct) : se, pe = _n(de, "ADD_DATA_URI_TAGS") ? Ze(Kn(be), de.ADD_DATA_URI_TAGS, ct) : be, Be = _n(de, "FORBID_CONTENTS") ? Ze({}, de.FORBID_CONTENTS, ct) : ne, N = _n(de, "FORBID_TAGS") ? Ze({}, de.FORBID_TAGS, ct) : Kn({}), V = _n(de, "FORBID_ATTR") ? Ze({}, de.FORBID_ATTR, ct) : Kn({}), we = _n(de, "USE_PROFILES") ? de.USE_PROFILES : !1, U = de.ALLOW_ARIA_ATTR !== !1, K = de.ALLOW_DATA_ATTR !== !1, X = de.ALLOW_UNKNOWN_PROTOCOLS || !1, J = de.ALLOW_SELF_CLOSE_IN_ATTR !== !1, te = de.SAFE_FOR_TEMPLATES || !1, oe = de.SAFE_FOR_XML !== !1, ee = de.WHOLE_DOCUMENT || !1, _e = de.RETURN_DOM || !1, ue = de.RETURN_DOM_FRAGMENT || !1, ye = de.RETURN_TRUSTED_TYPE || !1, ge = de.FORCE_BODY || !1, Oe = de.SANITIZE_DOM !== !1, Se = de.SANITIZE_NAMED_PROPS || !1, le = de.KEEP_CONTENT !== !1, he = de.IN_PLACE || !1, P = de.ALLOWED_URI_REGEXP || F0, Ge = de.NAMESPACE || We, nt = de.MATHML_TEXT_INTEGRATION_POINTS || nt, st = de.HTML_INTEGRATION_POINTS || st, H = de.CUSTOM_ELEMENT_HANDLING || {}, de.CUSTOM_ELEMENT_HANDLING && an(de.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (H.tagNameCheck = de.CUSTOM_ELEMENT_HANDLING.tagNameCheck), de.CUSTOM_ELEMENT_HANDLING && an(de.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (H.attributeNameCheck = de.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), de.CUSTOM_ELEMENT_HANDLING && typeof de.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (H.allowCustomizedBuiltInElements = de.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), te && (K = !1), ue && (_e = !0), we && (w = Ze({}, Hs), D = [], we.html === !0 && (Ze(w, js), Ze(D, Vs)), we.svg === !0 && (Ze(w, Xi), Ze(D, Zi), Ze(D, Ho)), we.svgFilters === !0 && (Ze(w, Wi), Ze(D, Zi), Ze(D, Ho)), we.mathMl === !0 && (Ze(w, Qi), Ze(D, zs), Ze(D, Ho))), de.ADD_TAGS && (w === R && (w = Kn(w)), Ze(w, de.ADD_TAGS, ct)), de.ADD_ATTR && (D === L && (D = Kn(D)), Ze(D, de.ADD_ATTR, ct)), de.ADD_URI_SAFE_ATTR && Ze(re, de.ADD_URI_SAFE_ATTR, ct), de.FORBID_CONTENTS && (Be === ne && (Be = Kn(Be)), Ze(Be, de.FORBID_CONTENTS, ct)), le && (w["#text"] = !0), ee && Ze(w, ["html", "head", "body"]), w.table && (Ze(w, ["tbody"]), delete N.tbody), de.TRUSTED_TYPES_POLICY) {
36925
- if (typeof de.TRUSTED_TYPES_POLICY.createHTML != "function")
36923
+ let ce = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
36924
+ if (!(Pt && Pt === ce)) {
36925
+ if ((!ce || typeof ce != "object") && (ce = {}), ce = Kn(ce), Bt = // eslint-disable-next-line unicorn/prefer-includes
36926
+ Un.indexOf(ce.PARSER_MEDIA_TYPE) === -1 ? vn : ce.PARSER_MEDIA_TYPE, ct = Bt === "application/xhtml+xml" ? Ki : Qo, w = _n(ce, "ALLOWED_TAGS") ? Ze({}, ce.ALLOWED_TAGS, ct) : R, D = _n(ce, "ALLOWED_ATTR") ? Ze({}, ce.ALLOWED_ATTR, ct) : L, Qe = _n(ce, "ALLOWED_NAMESPACES") ? Ze({}, ce.ALLOWED_NAMESPACES, Ki) : ut, re = _n(ce, "ADD_URI_SAFE_ATTR") ? Ze(Kn(ue), ce.ADD_URI_SAFE_ATTR, ct) : ue, pe = _n(ce, "ADD_DATA_URI_TAGS") ? Ze(Kn(be), ce.ADD_DATA_URI_TAGS, ct) : be, Be = _n(ce, "FORBID_CONTENTS") ? Ze({}, ce.FORBID_CONTENTS, ct) : ne, N = _n(ce, "FORBID_TAGS") ? Ze({}, ce.FORBID_TAGS, ct) : Kn({}), V = _n(ce, "FORBID_ATTR") ? Ze({}, ce.FORBID_ATTR, ct) : Kn({}), we = _n(ce, "USE_PROFILES") ? ce.USE_PROFILES : !1, U = ce.ALLOW_ARIA_ATTR !== !1, K = ce.ALLOW_DATA_ATTR !== !1, X = ce.ALLOW_UNKNOWN_PROTOCOLS || !1, J = ce.ALLOW_SELF_CLOSE_IN_ATTR !== !1, te = ce.SAFE_FOR_TEMPLATES || !1, oe = ce.SAFE_FOR_XML !== !1, ee = ce.WHOLE_DOCUMENT || !1, _e = ce.RETURN_DOM || !1, de = ce.RETURN_DOM_FRAGMENT || !1, ve = ce.RETURN_TRUSTED_TYPE || !1, ye = ce.FORCE_BODY || !1, Oe = ce.SANITIZE_DOM !== !1, Se = ce.SANITIZE_NAMED_PROPS || !1, le = ce.KEEP_CONTENT !== !1, he = ce.IN_PLACE || !1, P = ce.ALLOWED_URI_REGEXP || F0, Ge = ce.NAMESPACE || We, nt = ce.MATHML_TEXT_INTEGRATION_POINTS || nt, st = ce.HTML_INTEGRATION_POINTS || st, H = ce.CUSTOM_ELEMENT_HANDLING || {}, ce.CUSTOM_ELEMENT_HANDLING && an(ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (H.tagNameCheck = ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ce.CUSTOM_ELEMENT_HANDLING && an(ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (H.attributeNameCheck = ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ce.CUSTOM_ELEMENT_HANDLING && typeof ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (H.allowCustomizedBuiltInElements = ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), te && (K = !1), de && (_e = !0), we && (w = Ze({}, Hs), D = [], we.html === !0 && (Ze(w, js), Ze(D, Vs)), we.svg === !0 && (Ze(w, Xi), Ze(D, Zi), Ze(D, Ho)), we.svgFilters === !0 && (Ze(w, Wi), Ze(D, Zi), Ze(D, Ho)), we.mathMl === !0 && (Ze(w, Qi), Ze(D, zs), Ze(D, Ho))), ce.ADD_TAGS && (w === R && (w = Kn(w)), Ze(w, ce.ADD_TAGS, ct)), ce.ADD_ATTR && (D === L && (D = Kn(D)), Ze(D, ce.ADD_ATTR, ct)), ce.ADD_URI_SAFE_ATTR && Ze(re, ce.ADD_URI_SAFE_ATTR, ct), ce.FORBID_CONTENTS && (Be === ne && (Be = Kn(Be)), Ze(Be, ce.FORBID_CONTENTS, ct)), le && (w["#text"] = !0), ee && Ze(w, ["html", "head", "body"]), w.table && (Ze(w, ["tbody"]), delete N.tbody), ce.TRUSTED_TYPES_POLICY) {
36927
+ if (typeof ce.TRUSTED_TYPES_POLICY.createHTML != "function")
36926
36928
  throw Jr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
36927
- if (typeof de.TRUSTED_TYPES_POLICY.createScriptURL != "function")
36929
+ if (typeof ce.TRUSTED_TYPES_POLICY.createScriptURL != "function")
36928
36930
  throw Jr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
36929
- b = de.TRUSTED_TYPES_POLICY, C = b.createHTML("");
36931
+ b = ce.TRUSTED_TYPES_POLICY, C = b.createHTML("");
36930
36932
  } else
36931
36933
  b === void 0 && (b = pE(p, o)), b !== null && typeof C == "string" && (C = b.createHTML(""));
36932
- Vt && Vt(de), Pt = de;
36934
+ Vt && Vt(ce), Pt = ce;
36933
36935
  }
36934
- }, Xt = Ze({}, [...Xi, ...Wi, ...rE]), Hn = Ze({}, [...Qi, ...oE]), Ct = function(de) {
36935
- let Me = v(de);
36936
+ }, Xt = Ze({}, [...Xi, ...Wi, ...rE]), Hn = Ze({}, [...Qi, ...oE]), Ct = function(ce) {
36937
+ let Me = v(ce);
36936
36938
  (!Me || !Me.tagName) && (Me = {
36937
36939
  namespaceURI: Ge,
36938
36940
  tagName: "template"
36939
36941
  });
36940
- const Fe = Qo(de.tagName), at = Qo(Me.tagName);
36941
- return Qe[de.namespaceURI] ? de.namespaceURI === Ue ? Me.namespaceURI === We ? Fe === "svg" : Me.namespaceURI === Ce ? Fe === "svg" && (at === "annotation-xml" || nt[at]) : !!Xt[Fe] : de.namespaceURI === Ce ? Me.namespaceURI === We ? Fe === "math" : Me.namespaceURI === Ue ? Fe === "math" && st[at] : !!Hn[Fe] : de.namespaceURI === We ? Me.namespaceURI === Ue && !st[at] || Me.namespaceURI === Ce && !nt[at] ? !1 : !Hn[Fe] && (_t[Fe] || !Xt[Fe]) : !!(Bt === "application/xhtml+xml" && Qe[de.namespaceURI]) : !1;
36942
- }, ht = function(de) {
36942
+ const Fe = Qo(ce.tagName), at = Qo(Me.tagName);
36943
+ return Qe[ce.namespaceURI] ? ce.namespaceURI === Ue ? Me.namespaceURI === We ? Fe === "svg" : Me.namespaceURI === Ce ? Fe === "svg" && (at === "annotation-xml" || nt[at]) : !!Xt[Fe] : ce.namespaceURI === Ce ? Me.namespaceURI === We ? Fe === "math" : Me.namespaceURI === Ue ? Fe === "math" && st[at] : !!Hn[Fe] : ce.namespaceURI === We ? Me.namespaceURI === Ue && !st[at] || Me.namespaceURI === Ce && !nt[at] ? !1 : !Hn[Fe] && (_t[Fe] || !Xt[Fe]) : !!(Bt === "application/xhtml+xml" && Qe[ce.namespaceURI]) : !1;
36944
+ }, ht = function(ce) {
36943
36945
  Qr(r.removed, {
36944
- element: de
36946
+ element: ce
36945
36947
  });
36946
36948
  try {
36947
- v(de).removeChild(de);
36949
+ v(ce).removeChild(ce);
36948
36950
  } catch {
36949
- h(de);
36951
+ h(ce);
36950
36952
  }
36951
- }, Wt = function(de, Me) {
36953
+ }, Wt = function(ce, Me) {
36952
36954
  try {
36953
36955
  Qr(r.removed, {
36954
- attribute: Me.getAttributeNode(de),
36956
+ attribute: Me.getAttributeNode(ce),
36955
36957
  from: Me
36956
36958
  });
36957
36959
  } catch {
@@ -36960,27 +36962,27 @@ function L0() {
36960
36962
  from: Me
36961
36963
  });
36962
36964
  }
36963
- if (Me.removeAttribute(de), de === "is")
36964
- if (_e || ue)
36965
+ if (Me.removeAttribute(ce), ce === "is")
36966
+ if (_e || de)
36965
36967
  try {
36966
36968
  ht(Me);
36967
36969
  } catch {
36968
36970
  }
36969
36971
  else
36970
36972
  try {
36971
- Me.setAttribute(de, "");
36973
+ Me.setAttribute(ce, "");
36972
36974
  } catch {
36973
36975
  }
36974
- }, Sn = function(de) {
36976
+ }, Sn = function(ce) {
36975
36977
  let Me = null, Fe = null;
36976
- if (ge)
36977
- de = "<remove></remove>" + de;
36978
+ if (ye)
36979
+ ce = "<remove></remove>" + ce;
36978
36980
  else {
36979
- const pt = Us(de, /^[\r\n\t ]+/);
36981
+ const pt = Us(ce, /^[\r\n\t ]+/);
36980
36982
  Fe = pt && pt[0];
36981
36983
  }
36982
- Bt === "application/xhtml+xml" && Ge === We && (de = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + de + "</body></html>");
36983
- const at = b ? b.createHTML(de) : de;
36984
+ Bt === "application/xhtml+xml" && Ge === We && (ce = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + ce + "</body></html>");
36985
+ const at = b ? b.createHTML(ce) : ce;
36984
36986
  if (Ge === We)
36985
36987
  try {
36986
36988
  Me = new d().parseFromString(at, Bt);
@@ -36994,56 +36996,56 @@ function L0() {
36994
36996
  }
36995
36997
  }
36996
36998
  const vt = Me.body || Me.documentElement;
36997
- return de && Fe && vt.insertBefore(t.createTextNode(Fe), vt.childNodes[0] || null), Ge === We ? M.call(Me, ee ? "html" : "body")[0] : ee ? Me.documentElement : vt;
36998
- }, gt = function(de) {
36999
+ return ce && Fe && vt.insertBefore(t.createTextNode(Fe), vt.childNodes[0] || null), Ge === We ? M.call(Me, ee ? "html" : "body")[0] : ee ? Me.documentElement : vt;
37000
+ }, gt = function(ce) {
36999
37001
  return E.call(
37000
- de.ownerDocument || de,
37001
- de,
37002
+ ce.ownerDocument || ce,
37003
+ ce,
37002
37004
  // eslint-disable-next-line no-bitwise
37003
37005
  c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION,
37004
37006
  null
37005
37007
  );
37006
- }, lr = function(de) {
37007
- return de instanceof m && (typeof de.nodeName != "string" || typeof de.textContent != "string" || typeof de.removeChild != "function" || !(de.attributes instanceof f) || typeof de.removeAttribute != "function" || typeof de.setAttribute != "function" || typeof de.namespaceURI != "string" || typeof de.insertBefore != "function" || typeof de.hasChildNodes != "function");
37008
- }, br = function(de) {
37009
- return typeof l == "function" && de instanceof l;
37008
+ }, lr = function(ce) {
37009
+ return ce instanceof m && (typeof ce.nodeName != "string" || typeof ce.textContent != "string" || typeof ce.removeChild != "function" || !(ce.attributes instanceof f) || typeof ce.removeAttribute != "function" || typeof ce.setAttribute != "function" || typeof ce.namespaceURI != "string" || typeof ce.insertBefore != "function" || typeof ce.hasChildNodes != "function");
37010
+ }, br = function(ce) {
37011
+ return typeof l == "function" && ce instanceof l;
37010
37012
  };
37011
- function ln(Pe, de, Me) {
37013
+ function ln(Pe, ce, Me) {
37012
37014
  jo(Pe, (Fe) => {
37013
- Fe.call(r, de, Me, Pt);
37015
+ Fe.call(r, ce, Me, Pt);
37014
37016
  });
37015
37017
  }
37016
- const xr = function(de) {
37018
+ const xr = function(ce) {
37017
37019
  let Me = null;
37018
- if (ln(k.beforeSanitizeElements, de, null), lr(de))
37019
- return ht(de), !0;
37020
- const Fe = ct(de.nodeName);
37021
- if (ln(k.uponSanitizeElement, de, {
37020
+ if (ln(k.beforeSanitizeElements, ce, null), lr(ce))
37021
+ return ht(ce), !0;
37022
+ const Fe = ct(ce.nodeName);
37023
+ if (ln(k.uponSanitizeElement, ce, {
37022
37024
  tagName: Fe,
37023
37025
  allowedTags: w
37024
- }), oe && de.hasChildNodes() && !br(de.firstElementChild) && $t(/<[/\w!]/g, de.innerHTML) && $t(/<[/\w!]/g, de.textContent) || de.nodeType === eo.progressingInstruction || oe && de.nodeType === eo.comment && $t(/<[/\w]/g, de.data))
37025
- return ht(de), !0;
37026
+ }), oe && ce.hasChildNodes() && !br(ce.firstElementChild) && $t(/<[/\w!]/g, ce.innerHTML) && $t(/<[/\w!]/g, ce.textContent) || ce.nodeType === eo.progressingInstruction || oe && ce.nodeType === eo.comment && $t(/<[/\w]/g, ce.data))
37027
+ return ht(ce), !0;
37026
37028
  if (!w[Fe] || N[Fe]) {
37027
37029
  if (!N[Fe] && Et(Fe) && (H.tagNameCheck instanceof RegExp && $t(H.tagNameCheck, Fe) || H.tagNameCheck instanceof Function && H.tagNameCheck(Fe)))
37028
37030
  return !1;
37029
37031
  if (le && !Be[Fe]) {
37030
- const at = v(de) || de.parentNode, vt = y(de) || de.childNodes;
37032
+ const at = v(ce) || ce.parentNode, vt = y(ce) || ce.childNodes;
37031
37033
  if (vt && at) {
37032
37034
  const pt = vt.length;
37033
37035
  for (let At = pt - 1; At >= 0; --At) {
37034
37036
  const un = g(vt[At], !0);
37035
- un.__removalCount = (de.__removalCount || 0) + 1, at.insertBefore(un, x(de));
37037
+ un.__removalCount = (ce.__removalCount || 0) + 1, at.insertBefore(un, x(ce));
37036
37038
  }
37037
37039
  }
37038
37040
  }
37039
- return ht(de), !0;
37041
+ return ht(ce), !0;
37040
37042
  }
37041
- return de instanceof u && !Ct(de) || (Fe === "noscript" || Fe === "noembed" || Fe === "noframes") && $t(/<\/no(script|embed|frames)/i, de.innerHTML) ? (ht(de), !0) : (te && de.nodeType === eo.text && (Me = de.textContent, jo([I, T, $], (at) => {
37043
+ return ce instanceof u && !Ct(ce) || (Fe === "noscript" || Fe === "noembed" || Fe === "noframes") && $t(/<\/no(script|embed|frames)/i, ce.innerHTML) ? (ht(ce), !0) : (te && ce.nodeType === eo.text && (Me = ce.textContent, jo([I, T, $], (at) => {
37042
37044
  Me = Zr(Me, at, " ");
37043
- }), de.textContent !== Me && (Qr(r.removed, {
37044
- element: de.cloneNode()
37045
- }), de.textContent = Me)), ln(k.afterSanitizeElements, de, null), !1);
37046
- }, _r = function(de, Me, Fe) {
37045
+ }), ce.textContent !== Me && (Qr(r.removed, {
37046
+ element: ce.cloneNode()
37047
+ }), ce.textContent = Me)), ln(k.afterSanitizeElements, ce, null), !1);
37048
+ }, _r = function(ce, Me, Fe) {
37047
37049
  if (Oe && (Me === "id" || Me === "name") && (Fe in t || Fe in jn))
37048
37050
  return !1;
37049
37051
  if (!(K && !V[Me] && $t(G, Me))) {
@@ -37053,14 +37055,14 @@ function L0() {
37053
37055
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
37054
37056
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
37055
37057
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
37056
- !(Et(de) && (H.tagNameCheck instanceof RegExp && $t(H.tagNameCheck, de) || H.tagNameCheck instanceof Function && H.tagNameCheck(de)) && (H.attributeNameCheck instanceof RegExp && $t(H.attributeNameCheck, Me) || H.attributeNameCheck instanceof Function && H.attributeNameCheck(Me)) || // Alternative, second condition checks if it's an `is`-attribute, AND
37058
+ !(Et(ce) && (H.tagNameCheck instanceof RegExp && $t(H.tagNameCheck, ce) || H.tagNameCheck instanceof Function && H.tagNameCheck(ce)) && (H.attributeNameCheck instanceof RegExp && $t(H.attributeNameCheck, Me) || H.attributeNameCheck instanceof Function && H.attributeNameCheck(Me)) || // Alternative, second condition checks if it's an `is`-attribute, AND
37057
37059
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
37058
37060
  Me === "is" && H.allowCustomizedBuiltInElements && (H.tagNameCheck instanceof RegExp && $t(H.tagNameCheck, Fe) || H.tagNameCheck instanceof Function && H.tagNameCheck(Fe)))
37059
37061
  )
37060
37062
  return !1;
37061
37063
  } else if (!re[Me]) {
37062
37064
  if (!$t(P, Zr(Fe, Y, ""))) {
37063
- if (!((Me === "src" || Me === "xlink:href" || Me === "href") && de !== "script" && YC(Fe, "data:") === 0 && pe[de])) {
37065
+ if (!((Me === "src" || Me === "xlink:href" || Me === "href") && ce !== "script" && YC(Fe, "data:") === 0 && pe[ce])) {
37064
37066
  if (!(X && !$t(Z, Zr(Fe, Y, "")))) {
37065
37067
  if (Fe)
37066
37068
  return !1;
@@ -37071,14 +37073,14 @@ function L0() {
37071
37073
  }
37072
37074
  }
37073
37075
  return !0;
37074
- }, Et = function(de) {
37075
- return de !== "annotation-xml" && Us(de, Q);
37076
- }, Cr = function(de) {
37077
- ln(k.beforeSanitizeAttributes, de, null);
37076
+ }, Et = function(ce) {
37077
+ return ce !== "annotation-xml" && Us(ce, Q);
37078
+ }, Cr = function(ce) {
37079
+ ln(k.beforeSanitizeAttributes, ce, null);
37078
37080
  const {
37079
37081
  attributes: Me
37080
- } = de;
37081
- if (!Me || lr(de))
37082
+ } = ce;
37083
+ if (!Me || lr(ce))
37082
37084
  return;
37083
37085
  const Fe = {
37084
37086
  attrName: "",
@@ -37095,26 +37097,26 @@ function L0() {
37095
37097
  value: un
37096
37098
  } = vt, mn = ct(pt), Wn = un;
37097
37099
  let mt = pt === "value" ? Wn : eE(Wn);
37098
- if (Fe.attrName = mn, Fe.attrValue = mt, Fe.keepAttr = !0, Fe.forceKeepAttr = void 0, ln(k.uponSanitizeAttribute, de, Fe), mt = Fe.attrValue, Se && (mn === "id" || mn === "name") && (Wt(pt, de), mt = Ee + mt), oe && $t(/((--!?|])>)|<\/(style|title)/i, mt)) {
37099
- Wt(pt, de);
37100
+ if (Fe.attrName = mn, Fe.attrValue = mt, Fe.keepAttr = !0, Fe.forceKeepAttr = void 0, ln(k.uponSanitizeAttribute, ce, Fe), mt = Fe.attrValue, Se && (mn === "id" || mn === "name") && (Wt(pt, ce), mt = Ee + mt), oe && $t(/((--!?|])>)|<\/(style|title)/i, mt)) {
37101
+ Wt(pt, ce);
37100
37102
  continue;
37101
37103
  }
37102
37104
  if (Fe.forceKeepAttr)
37103
37105
  continue;
37104
37106
  if (!Fe.keepAttr) {
37105
- Wt(pt, de);
37107
+ Wt(pt, ce);
37106
37108
  continue;
37107
37109
  }
37108
37110
  if (!J && $t(/\/>/i, mt)) {
37109
- Wt(pt, de);
37111
+ Wt(pt, ce);
37110
37112
  continue;
37111
37113
  }
37112
37114
  te && jo([I, T, $], (Qn) => {
37113
37115
  mt = Zr(mt, Qn, " ");
37114
37116
  });
37115
- const sn = ct(de.nodeName);
37117
+ const sn = ct(ce.nodeName);
37116
37118
  if (!_r(sn, mn, mt)) {
37117
- Wt(pt, de);
37119
+ Wt(pt, ce);
37118
37120
  continue;
37119
37121
  }
37120
37122
  if (b && typeof p == "object" && typeof p.getAttributeType == "function" && !At)
@@ -37130,21 +37132,21 @@ function L0() {
37130
37132
  }
37131
37133
  if (mt !== Wn)
37132
37134
  try {
37133
- At ? de.setAttributeNS(At, pt, mt) : de.setAttribute(pt, mt), lr(de) ? ht(de) : $s(r.removed);
37135
+ At ? ce.setAttributeNS(At, pt, mt) : ce.setAttribute(pt, mt), lr(ce) ? ht(ce) : $s(r.removed);
37134
37136
  } catch {
37135
- Wt(pt, de);
37137
+ Wt(pt, ce);
37136
37138
  }
37137
37139
  }
37138
- ln(k.afterSanitizeAttributes, de, null);
37139
- }, Pr = function Pe(de) {
37140
+ ln(k.afterSanitizeAttributes, ce, null);
37141
+ }, Pr = function Pe(ce) {
37140
37142
  let Me = null;
37141
- const Fe = gt(de);
37142
- for (ln(k.beforeSanitizeShadowDOM, de, null); Me = Fe.nextNode(); )
37143
+ const Fe = gt(ce);
37144
+ for (ln(k.beforeSanitizeShadowDOM, ce, null); Me = Fe.nextNode(); )
37143
37145
  ln(k.uponSanitizeShadowNode, Me, null), xr(Me), Cr(Me), Me.content instanceof a && Pe(Me.content);
37144
- ln(k.afterSanitizeShadowDOM, de, null);
37146
+ ln(k.afterSanitizeShadowDOM, ce, null);
37145
37147
  };
37146
37148
  return r.sanitize = function(Pe) {
37147
- let de = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Me = null, Fe = null, at = null, vt = null;
37149
+ let ce = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Me = null, Fe = null, at = null, vt = null;
37148
37150
  if (lt = !Pe, lt && (Pe = "<!-->"), typeof Pe != "string" && !br(Pe))
37149
37151
  if (typeof Pe.toString == "function") {
37150
37152
  if (Pe = Pe.toString(), typeof Pe != "string")
@@ -37153,7 +37155,7 @@ function L0() {
37153
37155
  throw Jr("toString is not a function");
37154
37156
  if (!r.isSupported)
37155
37157
  return Pe;
37156
- if (me || bn(de), r.removed = [], typeof Pe == "string" && (he = !1), he) {
37158
+ if (me || bn(ce), r.removed = [], typeof Pe == "string" && (he = !1), he) {
37157
37159
  if (Pe.nodeName) {
37158
37160
  const un = ct(Pe.nodeName);
37159
37161
  if (!w[un] || N[un])
@@ -37164,18 +37166,18 @@ function L0() {
37164
37166
  else {
37165
37167
  if (!_e && !te && !ee && // eslint-disable-next-line unicorn/prefer-includes
37166
37168
  Pe.indexOf("<") === -1)
37167
- return b && ye ? b.createHTML(Pe) : Pe;
37169
+ return b && ve ? b.createHTML(Pe) : Pe;
37168
37170
  if (Me = Sn(Pe), !Me)
37169
- return _e ? null : ye ? C : "";
37171
+ return _e ? null : ve ? C : "";
37170
37172
  }
37171
- Me && ge && ht(Me.firstChild);
37173
+ Me && ye && ht(Me.firstChild);
37172
37174
  const pt = gt(he ? Pe : Me);
37173
37175
  for (; at = pt.nextNode(); )
37174
37176
  xr(at), Cr(at), at.content instanceof a && Pr(at.content);
37175
37177
  if (he)
37176
37178
  return Pe;
37177
37179
  if (_e) {
37178
- if (ue)
37180
+ if (de)
37179
37181
  for (vt = O.call(Me.ownerDocument); Me.firstChild; )
37180
37182
  vt.appendChild(Me.firstChild);
37181
37183
  else
@@ -37186,21 +37188,21 @@ function L0() {
37186
37188
  return ee && w["!doctype"] && Me.ownerDocument && Me.ownerDocument.doctype && Me.ownerDocument.doctype.name && $t(N0, Me.ownerDocument.doctype.name) && (At = "<!DOCTYPE " + Me.ownerDocument.doctype.name + `>
37187
37189
  ` + At), te && jo([I, T, $], (un) => {
37188
37190
  At = Zr(At, un, " ");
37189
- }), b && ye ? b.createHTML(At) : At;
37191
+ }), b && ve ? b.createHTML(At) : At;
37190
37192
  }, r.setConfig = function() {
37191
37193
  let Pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
37192
37194
  bn(Pe), me = !0;
37193
37195
  }, r.clearConfig = function() {
37194
37196
  Pt = null, me = !1;
37195
- }, r.isValidAttribute = function(Pe, de, Me) {
37197
+ }, r.isValidAttribute = function(Pe, ce, Me) {
37196
37198
  Pt || bn({});
37197
- const Fe = ct(Pe), at = ct(de);
37199
+ const Fe = ct(Pe), at = ct(ce);
37198
37200
  return _r(Fe, at, Me);
37199
- }, r.addHook = function(Pe, de) {
37200
- typeof de == "function" && Qr(k[Pe], de);
37201
- }, r.removeHook = function(Pe, de) {
37202
- if (de !== void 0) {
37203
- const Me = ZC(k[Pe], de);
37201
+ }, r.addHook = function(Pe, ce) {
37202
+ typeof ce == "function" && Qr(k[Pe], ce);
37203
+ }, r.removeHook = function(Pe, ce) {
37204
+ if (ce !== void 0) {
37205
+ const Me = ZC(k[Pe], ce);
37204
37206
  return Me === -1 ? void 0 : JC(k[Pe], Me, 1)[0];
37205
37207
  }
37206
37208
  return $s(k[Pe]);
@@ -37343,13 +37345,13 @@ const yE = ["innerHTML"], gE = {
37343
37345
  }])
37344
37346
  }, [
37345
37347
  _("div", vE, [
37346
- h.name ? (B(), q("div", bE, ve(h.name), 1)) : ie("", !0),
37348
+ h.name ? (B(), q("div", bE, ge(h.name), 1)) : ie("", !0),
37347
37349
  _("div", {
37348
37350
  class: Re(["message-text ect-relative", { "error-message": h.error, strikethrough: h.undone }]),
37349
37351
  style: De(h.type === "user" ? { color: m.value, backgroundColor: c.value } : {})
37350
37352
  }, [
37351
37353
  _("div", xE, [
37352
- ce(Xs, {
37354
+ se(Xs, {
37353
37355
  source: p(h.message)
37354
37356
  }, null, 8, ["source"])
37355
37357
  ]),
@@ -37382,19 +37384,19 @@ const yE = ["innerHTML"], gE = {
37382
37384
  class: "loading-window"
37383
37385
  }, [
37384
37386
  _("div", EE, [
37385
- ce(Xs, {
37387
+ se(Xs, {
37386
37388
  source: p(e.loadingMessage)
37387
37389
  }, null, 8, ["source"])
37388
37390
  ])
37389
37391
  ], 512)
37390
37392
  ]),
37391
37393
  _("div", kE, [
37392
- ce(to, { style: { height: "100%", width: "100%" } })
37394
+ se(to, { style: { height: "100%", width: "100%" } })
37393
37395
  ])
37394
37396
  ])
37395
37397
  ], 2)
37396
37398
  ], 2)) : e.buttonLinks.length > 0 ? (B(), q("div", AE, [
37397
- ce(Yb, {
37399
+ se(Yb, {
37398
37400
  links: e.buttonLinks,
37399
37401
  onPerformAction: d
37400
37402
  }, null, 8, ["links"])
@@ -37513,7 +37515,7 @@ const yE = ["innerHTML"], gE = {
37513
37515
  onMouseenter: d[0] || (d[0] = (p) => l.value = !0),
37514
37516
  onMouseleave: d[1] || (d[1] = (p) => l.value = !1)
37515
37517
  }, [
37516
- ce(He, {
37518
+ se(He, {
37517
37519
  icon: "attachment",
37518
37520
  size: "11",
37519
37521
  height: "17",
@@ -37621,18 +37623,18 @@ const yE = ["innerHTML"], gE = {
37621
37623
  }
37622
37624
  ), (d, p) => e.showSuggestions ? (B(), q("div", FE, [
37623
37625
  i.value ? ie("", !0) : (B(), q("div", NE, [
37624
- ce(ME)
37626
+ se(ME)
37625
37627
  ])),
37626
37628
  _("div", LE, [
37627
- e.helpText && !i.value ? (B(), q("div", PE, ve(e.helpText), 1)) : ie("", !0),
37628
- e.subHelpText ? (B(), q("div", qE, ve(e.subHelpText), 1)) : ie("", !0)
37629
+ e.helpText && !i.value ? (B(), q("div", PE, ge(e.helpText), 1)) : ie("", !0),
37630
+ e.subHelpText ? (B(), q("div", qE, ge(e.subHelpText), 1)) : ie("", !0)
37629
37631
  ]),
37630
37632
  i.value ? (B(), q("div", UE, [
37631
37633
  (B(!0), q(Te, null, Le(i.value.subOptions, (s, g) => (B(), q("div", {
37632
37634
  key: g,
37633
37635
  class: Re(["sub-option", { "sub-active": a.value === g }]),
37634
37636
  onClick: (h) => f(s)
37635
- }, ve(s), 11, jE))), 128))
37637
+ }, ge(s), 11, jE))), 128))
37636
37638
  ])) : (B(), q("div", {
37637
37639
  key: 1,
37638
37640
  ref_key: "suggestionsList",
@@ -37643,7 +37645,7 @@ const yE = ["innerHTML"], gE = {
37643
37645
  key: g,
37644
37646
  class: Re(["suggestion-item", { active: o.value === g }]),
37645
37647
  onClick: (h) => u(s)
37646
- }, ve(s.title), 11, $E))), 128))
37648
+ }, ge(s.title), 11, $E))), 128))
37647
37649
  ], 512))
37648
37650
  ])) : ie("", !0);
37649
37651
  }
@@ -37671,17 +37673,17 @@ const yE = ["innerHTML"], gE = {
37671
37673
  class: "ect-object-contain ect-shrink-0 ect-self-stretch ect-my-auto ect-w-7 ect-aspect-square",
37672
37674
  alt: ""
37673
37675
  }, null, 8, KE),
37674
- _("div", XE, ve(e.fileInfo.fileName), 1)
37676
+ _("div", XE, ge(e.fileInfo.fileName), 1)
37675
37677
  ]),
37676
37678
  e.fileInfo.status === "uploading" ? (B(), q("div", WE, [
37677
- ce(_l, { size: 18 })
37679
+ se(_l, { size: 18 })
37678
37680
  ])) : ie("", !0),
37679
37681
  e.fileInfo.status === "uploaded" ? (B(), q("button", {
37680
37682
  key: 1,
37681
37683
  class: "ect-flex ect-gap-2 ect-justify-center ect-items-center ect-self-stretch ect-my-auto ect-w-4 ect-h-4",
37682
37684
  onClick: n
37683
37685
  }, [
37684
- ce(He, {
37686
+ se(He, {
37685
37687
  icon: "close",
37686
37688
  size: "8"
37687
37689
  })
@@ -37794,7 +37796,7 @@ const yE = ["innerHTML"], gE = {
37794
37796
  var S, k, I, T, $;
37795
37797
  const M = Zs("click-outside");
37796
37798
  return dn((B(), q("div", JE, [
37797
- ce(VE, {
37799
+ se(VE, {
37798
37800
  options: d.value,
37799
37801
  "help-text": p.value,
37800
37802
  "sub-help-text": e.subHelpText,
@@ -37807,7 +37809,7 @@ const yE = ["innerHTML"], gE = {
37807
37809
  _("div", {
37808
37810
  class: Re(["icon-wrapper", { "active-suggestions": u.value, disabled: ((S = d.value) == null ? void 0 : S.length) <= 0 }])
37809
37811
  }, [
37810
- ce(He, {
37812
+ se(He, {
37811
37813
  disabled: ((k = d.value) == null ? void 0 : k.length) <= 0 || e.loading,
37812
37814
  color: ((I = d.value) == null ? void 0 : I.length) <= 0 ? "#DEDEDE" : u.value ? "#198708" : "#828282",
37813
37815
  icon: "suggestions",
@@ -37832,14 +37834,14 @@ const yE = ["innerHTML"], gE = {
37832
37834
  key: 0,
37833
37835
  class: Re(["icon-wrapper", { "file-upload-disabled": e.loading }])
37834
37836
  }, [
37835
- ce(TE, {
37837
+ se(TE, {
37836
37838
  "reset-file-input": l.value,
37837
37839
  onUploadStatus: v,
37838
37840
  onError: s
37839
37841
  }, null, 8, ["reset-file-input"])
37840
37842
  ], 2)) : ie("", !0),
37841
37843
  e.showMic ? (B(), q("div", nk, [
37842
- ce(He, {
37844
+ se(He, {
37843
37845
  color: "#828282",
37844
37846
  disabled: e.loading,
37845
37847
  icon: "mic",
@@ -37918,7 +37920,7 @@ const yE = ["innerHTML"], gE = {
37918
37920
  style: De({ maxHeight: `calc(${e.styles.height} - 72px)`, height: `calc(${e.styles.height} - 72px)` }),
37919
37921
  "data-test-id": `${e.dataTestId}-messages-container`
37920
37922
  }, [
37921
- ce(IE, {
37923
+ se(IE, {
37922
37924
  messages: Ie(t).chatHistory,
37923
37925
  "loading-message": Ie(t).loadingMessage,
37924
37926
  "undo-id": Ie(t).latestDMLRequest,
@@ -37932,7 +37934,7 @@ const yE = ["innerHTML"], gE = {
37932
37934
  class: "input-container",
37933
37935
  "data-test-id": `${e.dataTestId}-input-container`
37934
37936
  }, [
37935
- ce(ak, {
37937
+ se(ak, {
37936
37938
  modelValue: Ie(t).promptMessage,
37937
37939
  "onUpdate:modelValue": c[0] || (c[0] = (f) => Ie(t).promptMessage = f),
37938
37940
  disabled: !a.value,
@@ -37961,7 +37963,7 @@ const yE = ["innerHTML"], gE = {
37961
37963
  return (r, t) => (B(), q("div", dk, [
37962
37964
  _("div", fk, [
37963
37965
  _("div", hk, [
37964
- ce(He, {
37966
+ se(He, {
37965
37967
  icon: "error",
37966
37968
  size: 48
37967
37969
  })
@@ -37985,7 +37987,7 @@ const yE = ["innerHTML"], gE = {
37985
37987
  ])
37986
37988
  ]));
37987
37989
  }
37988
- }, P0 = (e) => (Gt("data-v-ccceb136"), e = e(), Kt(), e), vk = {
37990
+ }, P0 = (e) => (Gt("data-v-3074a674"), e = e(), Kt(), e), vk = {
37989
37991
  class: "ect-h-full ect-w-full ect-bg-white",
37990
37992
  "data-test-id": "aiComponentLoader-wrapper"
37991
37993
  }, bk = {
@@ -38124,24 +38126,20 @@ const yE = ["innerHTML"], gE = {
38124
38126
  const U = ((K = o == null ? void 0 : o.activeComponentData) == null ? void 0 : K.payload) || {};
38125
38127
  return n.catalogSearchTerm || U.searchTerm || "";
38126
38128
  }), g = fe(() => {
38127
- var K, X, J, te, oe, ee;
38128
- const U = ((te = (J = (X = (K = o == null ? void 0 : o.activeComponentData) == null ? void 0 : K.payload) == null ? void 0 : X.savedProducts) == null ? void 0 : J[0]) == null ? void 0 : te.itemId) || ((oe = o == null ? void 0 : o.activeComponentData) == null ? void 0 : oe.payload) && Object.keys(((ee = o.activeComponentData.payload) == null ? void 0 : ee.quoteConfiguration) || {})[0] || "";
38129
+ var K, X, J, te, oe, ee, me, ye;
38130
+ const U = ((te = (J = (X = (K = o == null ? void 0 : o.activeComponentData) == null ? void 0 : K.payload) == null ? void 0 : X.savedProducts) == null ? void 0 : J[0]) == null ? void 0 : te.itemId) || ((ye = (me = (ee = (oe = o == null ? void 0 : o.activeComponentData) == null ? void 0 : oe.payload) == null ? void 0 : ee.productConfiguration) == null ? void 0 : me[0]) == null ? void 0 : ye.itemId) || "";
38129
38131
  return n.configItemId || U || "";
38130
38132
  }), h = fe(() => {
38131
- var K, X, J, te, oe, ee, me, ge;
38133
+ var K, X, J, te, oe, ee;
38132
38134
  const U = (te = (J = (X = (K = o == null ? void 0 : o.activeComponentData) == null ? void 0 : K.payload) == null ? void 0 : X.savedProducts) == null ? void 0 : J[0]) == null ? void 0 : te.qliId;
38133
38135
  if (!U) {
38134
- console.log("[aiComponentLoader] configQliIdComputed: No qliId from savedProducts");
38135
- const _e = (ee = (oe = o == null ? void 0 : o.activeComponentData) == null ? void 0 : oe.payload) == null ? void 0 : ee.quoteConfiguration;
38136
- if (console.log("[aiComponentLoader] configQliIdComputed: quoteConfiguration:", _e), _e && typeof _e == "object") {
38137
- const ue = Object.keys(_e)[0];
38138
- if (console.log("[aiComponentLoader] configQliIdComputed: firstItemId:", ue), ue) {
38139
- const ye = (me = _e[ue]) == null ? void 0 : me.product;
38140
- if (console.log("[aiComponentLoader] configQliIdComputed: productObj:", ye), ye && ye.qliId)
38141
- return console.log("[aiComponentLoader] configQliIdComputed: found qliId in productObj:", ye.qliId), ye.qliId;
38142
- if ((ge = _e[ue]) != null && ge.qliId)
38143
- return console.log("[aiComponentLoader] configQliIdComputed: found qliId directly under itemId:", _e[ue].qliId), _e[ue].qliId;
38144
- }
38136
+ const me = (ee = (oe = o == null ? void 0 : o.activeComponentData) == null ? void 0 : oe.payload) == null ? void 0 : ee.productConfiguration, ye = Array.isArray(me) && me.length > 0 ? me[0] : null;
38137
+ if (ye) {
38138
+ const _e = ye == null ? void 0 : ye.product;
38139
+ if (_e != null && _e.qliId)
38140
+ return _e.qliId;
38141
+ if (ye != null && ye.qliId)
38142
+ return ye.qliId;
38145
38143
  }
38146
38144
  }
38147
38145
  return U || "";
@@ -38179,8 +38177,8 @@ const yE = ["innerHTML"], gE = {
38179
38177
  "Fully Configured": 3
38180
38178
  }, J = (ee) => (ee == null ? void 0 : ee.requiresConfiguration) || "", te = (ee) => !!ee && ee in X, oe = K.filter((ee) => te(J(ee)));
38181
38179
  oe.sort((ee, me) => {
38182
- const ge = J(ee), _e = J(me);
38183
- return (X[ge] || 99) - (X[_e] || 99);
38180
+ const ye = J(ee), _e = J(me);
38181
+ return (X[ye] || 99) - (X[_e] || 99);
38184
38182
  }), k.value = oe, I.value = oe.length ? oe[0] : null;
38185
38183
  }, $ = (U) => {
38186
38184
  console.log("onQuoteCreated", U), t("catalog-quote-created", U);
@@ -38198,23 +38196,23 @@ const yE = ["innerHTML"], gE = {
38198
38196
  Xe(
38199
38197
  () => c.value,
38200
38198
  (U, K) => {
38201
- var X, J, te, oe, ee, me, ge, _e, ue, ye, Oe;
38199
+ var X, J, te, oe, ee, me, ye, _e, de, ve;
38202
38200
  if (U === "configurator") {
38203
- const Se = !!((te = (J = (X = o == null ? void 0 : o.activeComponentData) == null ? void 0 : X.payload) == null ? void 0 : J.savedProducts) != null && te.length), Ee = !!((ee = (oe = o == null ? void 0 : o.activeComponentData) == null ? void 0 : oe.payload) != null && ee.quoteConfiguration && Object.keys(((ge = (me = o == null ? void 0 : o.activeComponentData) == null ? void 0 : me.payload) == null ? void 0 : ge.quoteConfiguration) || {}).length > 0);
38204
- if (!Se && !Ee && I.value && !g.value) {
38205
- const le = ((_e = I.value) == null ? void 0 : _e.itemId) || "";
38206
- if (le) {
38207
- const he = ((ue = o == null ? void 0 : o.currentPlaybook) == null ? void 0 : ue.playBookSteps) || [], we = (be) => String(be || "").trim().toLowerCase().replace(/[^a-z0-9]+/g, "_");
38208
- let Be = null;
38209
- const ne = he.findIndex((be) => be.stepName === (o == null ? void 0 : o.currentStepName));
38210
- if (ne >= 0 && he[ne + 1] && we((ye = he[ne + 1]) == null ? void 0 : ye.stepComponent) === "configurator")
38211
- Be = he[ne + 1].stepName;
38201
+ const Oe = !!((te = (J = (X = o == null ? void 0 : o.activeComponentData) == null ? void 0 : X.payload) == null ? void 0 : J.savedProducts) != null && te.length), Se = ((me = (ee = (oe = o == null ? void 0 : o.activeComponentData) == null ? void 0 : oe.payload) == null ? void 0 : ee.productConfiguration) == null ? void 0 : me.length) > 0;
38202
+ if (!Oe && !Se && I.value && !g.value) {
38203
+ const Ee = ((ye = I.value) == null ? void 0 : ye.itemId) || "";
38204
+ if (Ee) {
38205
+ const le = ((_e = o == null ? void 0 : o.currentPlaybook) == null ? void 0 : _e.playBookSteps) || [], he = (pe) => String(pe || "").trim().toLowerCase().replace(/[^a-z0-9]+/g, "_");
38206
+ let we = null;
38207
+ const Be = le.findIndex((pe) => pe.stepName === (o == null ? void 0 : o.currentStepName));
38208
+ if (Be >= 0 && le[Be + 1] && he((de = le[Be + 1]) == null ? void 0 : de.stepComponent) === "configurator")
38209
+ we = le[Be + 1].stepName;
38212
38210
  else {
38213
- const be = he.findIndex((re) => we(re == null ? void 0 : re.stepComponent) === "configurator");
38214
- Be = be >= 0 ? (Oe = he[be]) == null ? void 0 : Oe.stepName : null;
38211
+ const pe = le.findIndex((be) => he(be == null ? void 0 : be.stepComponent) === "configurator");
38212
+ we = pe >= 0 ? (ve = le[pe]) == null ? void 0 : ve.stepName : null;
38215
38213
  }
38216
- const pe = { payload: { savedProducts: [{ itemId: le }] } };
38217
- Be ? o.navigateToStep({ stepName: Be, data: pe }) : o.loadComponent("configurator", pe);
38214
+ const ne = { payload: { savedProducts: [{ itemId: Ee }] } };
38215
+ we ? o.navigateToStep({ stepName: we, data: ne }) : o.loadComponent("configurator", ne);
38218
38216
  }
38219
38217
  }
38220
38218
  }
@@ -38242,20 +38240,20 @@ const yE = ["innerHTML"], gE = {
38242
38240
  try {
38243
38241
  const J = (U == null ? void 0 : U.itemId) || "", te = (U == null ? void 0 : U.qliId) || (U == null ? void 0 : U.QliId) || "", oe = [];
38244
38242
  if (J) {
38245
- const ue = { itemId: J };
38246
- te && (ue.qliId = te), oe.push(ue);
38243
+ const de = { itemId: J };
38244
+ te && (de.qliId = te), oe.push(de);
38247
38245
  }
38248
38246
  const ee = {
38249
38247
  payload: {
38250
38248
  savedProducts: oe
38251
38249
  }
38252
- }, me = ((K = o == null ? void 0 : o.currentPlaybook) == null ? void 0 : K.playBookSteps) || [], ge = (ue) => String(ue || "").trim().toLowerCase().replace(/[^a-z0-9]+/g, "_"), _e = me.findIndex((ue) => {
38253
- const ye = ge(ue == null ? void 0 : ue.stepComponent), Oe = ge(ue == null ? void 0 : ue.stepName);
38254
- return ye === "configurator" || Oe.includes("configure");
38250
+ }, me = ((K = o == null ? void 0 : o.currentPlaybook) == null ? void 0 : K.playBookSteps) || [], ye = (de) => String(de || "").trim().toLowerCase().replace(/[^a-z0-9]+/g, "_"), _e = me.findIndex((de) => {
38251
+ const ve = ye(de == null ? void 0 : de.stepComponent), Oe = ye(de == null ? void 0 : de.stepName);
38252
+ return ve === "configurator" || Oe.includes("configure");
38255
38253
  });
38256
38254
  if (_e >= 0) {
38257
- const ue = (X = me[_e]) == null ? void 0 : X.stepName;
38258
- o.navigateToStep({ stepName: ue, data: ee });
38255
+ const de = (X = me[_e]) == null ? void 0 : X.stepName;
38256
+ o.navigateToStep({ stepName: de, data: ee });
38259
38257
  } else
38260
38258
  o.loadComponent("configurator", ee);
38261
38259
  } catch (J) {
@@ -38268,20 +38266,20 @@ const yE = ["innerHTML"], gE = {
38268
38266
  try {
38269
38267
  const J = (U == null ? void 0 : U.itemId) || "", te = (U == null ? void 0 : U.lineItemId) || (U == null ? void 0 : U.qliId) || "", oe = [];
38270
38268
  if (J) {
38271
- const ue = { itemId: J };
38272
- te && (ue.qliId = te), oe.push(ue);
38269
+ const de = { itemId: J };
38270
+ te && (de.qliId = te), oe.push(de);
38273
38271
  }
38274
38272
  const ee = {
38275
38273
  payload: {
38276
38274
  savedProducts: oe
38277
38275
  }
38278
- }, me = ((K = o == null ? void 0 : o.currentPlaybook) == null ? void 0 : K.playBookSteps) || [], ge = (ue) => String(ue || "").trim().toLowerCase().replace(/[^a-z0-9]+/g, "_"), _e = me.findIndex((ue) => {
38279
- const ye = ge(ue == null ? void 0 : ue.stepComponent), Oe = ge(ue == null ? void 0 : ue.stepName);
38280
- return ye === "configurator" || Oe.includes("configure");
38276
+ }, me = ((K = o == null ? void 0 : o.currentPlaybook) == null ? void 0 : K.playBookSteps) || [], ye = (de) => String(de || "").trim().toLowerCase().replace(/[^a-z0-9]+/g, "_"), _e = me.findIndex((de) => {
38277
+ const ve = ye(de == null ? void 0 : de.stepComponent), Oe = ye(de == null ? void 0 : de.stepName);
38278
+ return ve === "configurator" || Oe.includes("configure");
38281
38279
  });
38282
38280
  if (_e >= 0) {
38283
- const ue = (X = me[_e]) == null ? void 0 : X.stepName;
38284
- o.navigateToStep({ stepName: ue, data: ee });
38281
+ const de = (X = me[_e]) == null ? void 0 : X.stepName;
38282
+ o.navigateToStep({ stepName: de, data: ee });
38285
38283
  } else
38286
38284
  o.loadComponent("configurator", ee);
38287
38285
  } catch (J) {
@@ -38301,8 +38299,8 @@ const yE = ["innerHTML"], gE = {
38301
38299
  console.log("activeComponentData Changed", U);
38302
38300
  const K = (U == null ? void 0 : U.requestId) || "";
38303
38301
  if (console.log("requestId", K), console.log("lastReloadRequestId", V.value), K && K !== V.value)
38304
- if (V.value = K, await Ht(), (X = U == null ? void 0 : U.payload) != null && X.quoteConfiguration && Object.keys(((J = U == null ? void 0 : U.payload) == null ? void 0 : J.quoteConfiguration) ?? {}).length > 0) {
38305
- const oe = Object.keys(((te = U == null ? void 0 : U.payload) == null ? void 0 : te.quoteConfiguration) ?? {})[0];
38302
+ if (V.value = K, await Ht(), ((J = (X = U == null ? void 0 : U.payload) == null ? void 0 : X.productConfiguration) == null ? void 0 : J.length) > 0) {
38303
+ const oe = (te = U == null ? void 0 : U.payload) == null ? void 0 : te.productConfiguration[0].itemId;
38306
38304
  a.setPreConfigData(U == null ? void 0 : U.payload, oe);
38307
38305
  } else
38308
38306
  (U == null ? void 0 : U.actionFunction) === "Reload" && (console.log("Reloading configurator 1"), a.refresh());
@@ -38370,12 +38368,12 @@ const yE = ["innerHTML"], gE = {
38370
38368
  })) : (B(), q("div", Ck, [
38371
38369
  _("div", Ek, [
38372
38370
  kk,
38373
- _("div", Ak, ve(y.value), 1)
38371
+ _("div", Ak, ge(y.value), 1)
38374
38372
  ])
38375
38373
  ]))
38376
38374
  ]));
38377
38375
  }
38378
- }, Ik = /* @__PURE__ */ Ne(wk, [["__scopeId", "data-v-ccceb136"]]), Sk = {
38376
+ }, Ik = /* @__PURE__ */ Ne(wk, [["__scopeId", "data-v-3074a674"]]), Sk = {
38379
38377
  class: "ai-guidance-loader",
38380
38378
  "data-test-id": "aiGuidance-loader-container"
38381
38379
  }, Ok = { "data-test-id": "aiGuidance-loader-text" }, Tk = {
@@ -38407,19 +38405,19 @@ const yE = ["innerHTML"], gE = {
38407
38405
  }, null, 4),
38408
38406
  _("div", Sk, [
38409
38407
  _("div", Ok, [
38410
- ce(to, { style: { width: "100%", height: "16px", "margin-bottom": "8px" } }),
38411
- ce(to, { style: { width: "100%", height: "16px", "margin-bottom": "32px", "max-width": "481px" } })
38408
+ se(to, { style: { width: "100%", height: "16px", "margin-bottom": "8px" } }),
38409
+ se(to, { style: { width: "100%", height: "16px", "margin-bottom": "32px", "max-width": "481px" } })
38412
38410
  ]),
38413
38411
  _("div", Tk, [
38414
- ce(to, { style: { width: "100%", height: "24px" } })
38412
+ se(to, { style: { width: "100%", height: "24px" } })
38415
38413
  ]),
38416
38414
  (B(!0), q(Te, null, Le(e.errors, (a) => (B(), q("div", {
38417
38415
  key: a,
38418
38416
  class: "aig-message-error",
38419
38417
  "data-test-id": "aiGuidance-loader-error"
38420
- }, ve(a), 1))), 128)),
38418
+ }, ge(a), 1))), 128)),
38421
38419
  _("div", Dk, [
38422
- ce(to, { style: { height: "36px", width: "100%" } })
38420
+ se(to, { style: { height: "36px", width: "100%" } })
38423
38421
  ])
38424
38422
  ])
38425
38423
  ], 64));
@@ -38710,7 +38708,7 @@ const yE = ["innerHTML"], gE = {
38710
38708
  }), (D, L) => {
38711
38709
  var H;
38712
38710
  return B(), q("div", Mk, [
38713
- ce(xl, {
38711
+ se(xl, {
38714
38712
  icon: "logo",
38715
38713
  color: "#000000",
38716
38714
  size: "18.75",
@@ -38729,7 +38727,7 @@ const yE = ["innerHTML"], gE = {
38729
38727
  class: "ai-app-chat-wrapper",
38730
38728
  style: De({ height: e.styles.height })
38731
38729
  }, [
38732
- ce(ck, {
38730
+ se(ck, {
38733
38731
  "data-test-id": "chat-screen",
38734
38732
  "is-external-guidance": u.value,
38735
38733
  styles: e.styles