@cimulate/copilot-widget 1.61.0 → 1.61.1

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.
@@ -277,13 +277,13 @@ tt.prototype.listeners = function(e) {
277
277
  tt.prototype.hasListeners = function(e) {
278
278
  return !!this.listeners(e).length;
279
279
  };
280
- const Do = typeof Promise == "function" && typeof Promise.resolve == "function" ? (t) => Promise.resolve().then(t) : (t, n) => n(t, 0), Zt = typeof self != "undefined" ? self : typeof window != "undefined" ? window : Function("return this")(), ZE = "arraybuffer";
280
+ const Do = typeof Promise == "function" && typeof Promise.resolve == "function" ? (t) => Promise.resolve().then(t) : (t, n) => n(t, 0), en = typeof self != "undefined" ? self : typeof window != "undefined" ? window : Function("return this")(), ZE = "arraybuffer";
281
281
  function Ch(e, ...t) {
282
282
  return t.reduce((n, r) => (e.hasOwnProperty(r) && (n[r] = e[r]), n), {});
283
283
  }
284
- const e1 = Zt.setTimeout, t1 = Zt.clearTimeout;
284
+ const e1 = en.setTimeout, t1 = en.clearTimeout;
285
285
  function Mo(e, t) {
286
- t.useNativeTimers ? (e.setTimeoutFn = e1.bind(Zt), e.clearTimeoutFn = t1.bind(Zt)) : (e.setTimeoutFn = Zt.setTimeout.bind(Zt), e.clearTimeoutFn = Zt.clearTimeout.bind(Zt));
286
+ t.useNativeTimers ? (e.setTimeoutFn = e1.bind(en), e.clearTimeoutFn = t1.bind(en)) : (e.setTimeoutFn = en.setTimeout.bind(en), e.clearTimeoutFn = en.clearTimeout.bind(en));
287
287
  }
288
288
  const n1 = 1.33;
289
289
  function r1(e) {
@@ -660,7 +660,7 @@ if (typeof document != "undefined") {
660
660
  if (typeof attachEvent == "function")
661
661
  attachEvent("onunload", Nl);
662
662
  else if (typeof addEventListener == "function") {
663
- const e = "onpagehide" in Zt ? "pagehide" : "unload";
663
+ const e = "onpagehide" in en ? "pagehide" : "unload";
664
664
  addEventListener(e, Nl, !1);
665
665
  }
666
666
  }
@@ -693,7 +693,7 @@ function Nh(e) {
693
693
  }
694
694
  if (!t)
695
695
  try {
696
- return new Zt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP");
696
+ return new en[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP");
697
697
  } catch (n) {
698
698
  }
699
699
  }
@@ -754,7 +754,7 @@ class p1 extends ec {
754
754
  return this.opts.timestampRequests && (n[this.opts.timestampParam] = xh()), this.supportsBinary || (n.b64 = 1), this.createUri(t, n);
755
755
  }
756
756
  }
757
- const ya = Zt.WebSocket || Zt.MozWebSocket;
757
+ const ya = en.WebSocket || en.MozWebSocket;
758
758
  class m1 extends p1 {
759
759
  createSocket(t, n, r) {
760
760
  return Oh ? new ya(t, n, r) : n ? new ya(t, n) : new ya(t);
@@ -1489,7 +1489,7 @@ const D1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1489
1489
  return Pe;
1490
1490
  }
1491
1491
  }, Symbol.toStringTag, { value: "Module" }));
1492
- function an(e, t, n) {
1492
+ function un(e, t, n) {
1493
1493
  return e.on(t, n), function() {
1494
1494
  e.off(t, n);
1495
1495
  };
@@ -1537,10 +1537,10 @@ class wh extends tt {
1537
1537
  return;
1538
1538
  const t = this.io;
1539
1539
  this.subs = [
1540
- an(t, "open", this.onopen.bind(this)),
1541
- an(t, "packet", this.onpacket.bind(this)),
1542
- an(t, "error", this.onerror.bind(this)),
1543
- an(t, "close", this.onclose.bind(this))
1540
+ un(t, "open", this.onopen.bind(this)),
1541
+ un(t, "packet", this.onpacket.bind(this)),
1542
+ un(t, "error", this.onerror.bind(this)),
1543
+ un(t, "close", this.onclose.bind(this))
1544
1544
  ];
1545
1545
  }
1546
1546
  /**
@@ -2172,11 +2172,11 @@ class uu extends tt {
2172
2172
  this.engine = new S1(this.uri, this.opts);
2173
2173
  const n = this.engine, r = this;
2174
2174
  this._readyState = "opening", this.skipReconnect = !1;
2175
- const i = an(n, "open", function() {
2175
+ const i = un(n, "open", function() {
2176
2176
  r.onopen(), t && t();
2177
2177
  }), s = (a) => {
2178
2178
  this.cleanup(), this._readyState = "closed", this.emitReserved("error", a), t ? t(a) : this.maybeReconnectOnOpen();
2179
- }, o = an(n, "error", s);
2179
+ }, o = un(n, "error", s);
2180
2180
  if (this._timeout !== !1) {
2181
2181
  const a = this._timeout, u = this.setTimeoutFn(() => {
2182
2182
  i(), s(new Error("timeout")), n.close();
@@ -2205,12 +2205,12 @@ class uu extends tt {
2205
2205
  this.cleanup(), this._readyState = "open", this.emitReserved("open");
2206
2206
  const t = this.engine;
2207
2207
  this.subs.push(
2208
- an(t, "ping", this.onping.bind(this)),
2209
- an(t, "data", this.ondata.bind(this)),
2210
- an(t, "error", this.onerror.bind(this)),
2211
- an(t, "close", this.onclose.bind(this)),
2208
+ un(t, "ping", this.onping.bind(this)),
2209
+ un(t, "data", this.ondata.bind(this)),
2210
+ un(t, "error", this.onerror.bind(this)),
2211
+ un(t, "close", this.onclose.bind(this)),
2212
2212
  // @ts-ignore
2213
- an(this.decoder, "decoded", this.ondecoded.bind(this))
2213
+ un(this.decoder, "decoded", this.ondecoded.bind(this))
2214
2214
  );
2215
2215
  }
2216
2216
  /**
@@ -2820,7 +2820,7 @@ const vh = (e) => Array.from(new Set((e != null ? e : []).map((t) => t.trim()).f
2820
2820
  return Array.from(new Set(r));
2821
2821
  };
2822
2822
  var Mh = /* @__PURE__ */ Symbol.for("immer-nothing"), vl = /* @__PURE__ */ Symbol.for("immer-draftable"), ve = /* @__PURE__ */ Symbol.for("immer-state");
2823
- function nn(e, ...t) {
2823
+ function rn(e, ...t) {
2824
2824
  throw new Error(
2825
2825
  `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`
2826
2826
  );
@@ -2911,7 +2911,7 @@ function sc(e, t = !1) {
2911
2911
  }), Object.freeze(e), t && Object.values(e).forEach((n) => sc(n, !0))), e;
2912
2912
  }
2913
2913
  function Us() {
2914
- nn(2);
2914
+ rn(2);
2915
2915
  }
2916
2916
  function Uo(e) {
2917
2917
  return Object.isFrozen(e);
@@ -2919,7 +2919,7 @@ function Uo(e) {
2919
2919
  var hu = {};
2920
2920
  function Or(e) {
2921
2921
  const t = hu[e];
2922
- return t || nn(0, e), t;
2922
+ return t || rn(0, e), t;
2923
2923
  }
2924
2924
  function ib(e, t) {
2925
2925
  hu[e] || (hu[e] = t);
@@ -2958,7 +2958,7 @@ function ob(e) {
2958
2958
  function Fl(e, t) {
2959
2959
  t.unfinalizedDrafts_ = t.drafts_.length;
2960
2960
  const n = t.drafts_[0];
2961
- return e !== void 0 && e !== n ? (n[ve].modified_ && (pu(t), nn(4)), zn(e) && (e = go(t, e), t.parent_ || Eo(t, e)), t.patches_ && Or("Patches").generateReplacementPatches_(
2961
+ return e !== void 0 && e !== n ? (n[ve].modified_ && (pu(t), rn(4)), zn(e) && (e = go(t, e), t.parent_ || Eo(t, e)), t.patches_ && Or("Patches").generateReplacementPatches_(
2962
2962
  n[ve].base_,
2963
2963
  e,
2964
2964
  t.patches_,
@@ -3088,13 +3088,13 @@ var oc = {
3088
3088
  };
3089
3089
  },
3090
3090
  defineProperty() {
3091
- nn(11);
3091
+ rn(11);
3092
3092
  },
3093
3093
  getPrototypeOf(e) {
3094
3094
  return si(e.base_);
3095
3095
  },
3096
3096
  setPrototypeOf() {
3097
- nn(12);
3097
+ rn(12);
3098
3098
  }
3099
3099
  }, ss = {};
3100
3100
  rs(oc, (e, t) => {
@@ -3152,7 +3152,7 @@ var cb = class {
3152
3152
  return o.produce(u, (l) => n.call(this, l, ...c));
3153
3153
  };
3154
3154
  }
3155
- typeof n != "function" && nn(6), r !== void 0 && typeof r != "function" && nn(7);
3155
+ typeof n != "function" && rn(6), r !== void 0 && typeof r != "function" && rn(7);
3156
3156
  let i;
3157
3157
  if (zn(t)) {
3158
3158
  const s = Ml(this), o = os(t, void 0);
@@ -3170,7 +3170,7 @@ var cb = class {
3170
3170
  }
3171
3171
  return i;
3172
3172
  } else
3173
- nn(1, t);
3173
+ rn(1, t);
3174
3174
  }, this.produceWithPatches = (t, n) => {
3175
3175
  if (typeof t == "function")
3176
3176
  return (o, ...a) => this.produceWithPatches(o, (u) => t(u, ...a));
@@ -3181,13 +3181,13 @@ var cb = class {
3181
3181
  }, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
3182
3182
  }
3183
3183
  createDraft(e) {
3184
- zn(e) || nn(8), oi(e) && (e = lb(e));
3184
+ zn(e) || rn(8), oi(e) && (e = lb(e));
3185
3185
  const t = Ml(this), n = os(e, void 0);
3186
3186
  return n[ve].isManual_ = !0, mu(t), n;
3187
3187
  }
3188
3188
  finishDraft(e, t) {
3189
3189
  const n = e && e[ve];
3190
- (!n || !n.isManual_) && nn(9);
3190
+ (!n || !n.isManual_) && rn(9);
3191
3191
  const { scope_: r } = n;
3192
3192
  return Dl(r, t), Fl(void 0, r);
3193
3193
  }
@@ -3229,7 +3229,7 @@ function os(e, t) {
3229
3229
  return (t ? t.scope_ : mo()).drafts_.push(n), n;
3230
3230
  }
3231
3231
  function lb(e) {
3232
- return oi(e) || nn(10, e), Hh(e);
3232
+ return oi(e) || rn(10, e), Hh(e);
3233
3233
  }
3234
3234
  function Hh(e) {
3235
3235
  if (!zn(e) || Uo(e))
@@ -3416,7 +3416,7 @@ function db() {
3416
3416
  }));
3417
3417
  }
3418
3418
  function o(a) {
3419
- a.revoked_ && nn(3, JSON.stringify(at(a)));
3419
+ a.revoked_ && rn(3, JSON.stringify(at(a)));
3420
3420
  }
3421
3421
  ib("MapSet", { proxyMap_: t, proxySet_: i });
3422
3422
  }
@@ -3773,7 +3773,8 @@ const mb = new Map(
3773
3773
  promptsDisplay: "both",
3774
3774
  staticQuestions: [],
3775
3775
  staticQuestionsStrategy: "append",
3776
- disableAskElseButton: !1
3776
+ disableAskElseButton: !1,
3777
+ layout: null
3777
3778
  };
3778
3779
  function Xh(e, t) {
3779
3780
  return function() {
@@ -3828,11 +3829,11 @@ const { toString: _b } = Object.prototype, { getPrototypeOf: sr } = Object, { it
3828
3829
  }, hc = /* @__PURE__ */ ((e) => (t) => {
3829
3830
  const n = _b.call(t);
3830
3831
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
3831
- })(/* @__PURE__ */ Object.create(null)), rn = (e) => (e = e.toLowerCase(), (t) => hc(t) === e), Ho = (e) => (t) => typeof t === e, { isArray: Ir } = Array, wr = Ho("undefined");
3832
+ })(/* @__PURE__ */ Object.create(null)), sn = (e) => (e = e.toLowerCase(), (t) => hc(t) === e), Ho = (e) => (t) => typeof t === e, { isArray: Ir } = Array, wr = Ho("undefined");
3832
3833
  function pi(e) {
3833
3834
  return e !== null && !wr(e) && e.constructor !== null && !wr(e.constructor) && Ut(e.constructor.isBuffer) && e.constructor.isBuffer(e);
3834
3835
  }
3835
- const Zh = rn("ArrayBuffer");
3836
+ const Zh = sn("ArrayBuffer");
3836
3837
  function xb(e) {
3837
3838
  let t;
3838
3839
  return typeof ArrayBuffer != "undefined" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Zh(e.buffer), t;
@@ -3853,7 +3854,7 @@ const Pb = Ho("string"), Ut = Ho("function"), ep = Ho("number"), mi = (e) => e !
3853
3854
  } catch (t) {
3854
3855
  return !1;
3855
3856
  }
3856
- }, Ib = rn("Date"), wb = rn("File"), kb = (e) => !!(e && typeof e.uri != "undefined"), Rb = (e) => e && typeof e.getParts != "undefined", Lb = rn("Blob"), vb = rn("FileList"), Db = rn("Set"), Mb = (e) => mi(e) && Ut(e.pipe);
3857
+ }, Ib = sn("Date"), wb = sn("File"), kb = (e) => !!(e && typeof e.uri != "undefined"), Rb = (e) => e && typeof e.getParts != "undefined", Lb = sn("Blob"), vb = sn("FileList"), Db = sn("Set"), Mb = (e) => mi(e) && Ut(e.pipe);
3857
3858
  function Fb() {
3858
3859
  return typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : typeof global != "undefined" ? global : {};
3859
3860
  }
@@ -3865,12 +3866,12 @@ const Yl = Fb(), jl = typeof Yl.FormData != "undefined" ? Yl.FormData : void 0,
3865
3866
  const n = hc(e);
3866
3867
  return n === "formdata" || // detect form-data instance
3867
3868
  n === "object" && Ut(e.toString) && e.toString() === "[object FormData]";
3868
- }, Ub = rn("URLSearchParams"), [Hb, $b, zb, qb] = [
3869
+ }, Ub = sn("URLSearchParams"), [Hb, $b, zb, qb] = [
3869
3870
  "ReadableStream",
3870
3871
  "Request",
3871
3872
  "Response",
3872
3873
  "Headers"
3873
- ].map(rn), Vb = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
3874
+ ].map(sn), Vb = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
3874
3875
  function bs(e, t, { allOwnKeys: n = !1 } = {}) {
3875
3876
  if (e === null || typeof e == "undefined")
3876
3877
  return;
@@ -3985,9 +3986,9 @@ const Yb = (e, t, n, { allOwnKeys: r } = {}) => (bs(
3985
3986
  for (; (n = e.exec(t)) !== null; )
3986
3987
  r.push(n);
3987
3988
  return r;
3988
- }, eT = rn("HTMLFormElement"), tT = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, i) {
3989
+ }, eT = sn("HTMLFormElement"), tT = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, i) {
3989
3990
  return r.toUpperCase() + i;
3990
- }), { propertyIsEnumerable: nT } = Object.prototype, rT = rn("RegExp"), rp = (e, t) => {
3991
+ }), { propertyIsEnumerable: nT } = Object.prototype, rT = sn("RegExp"), rp = (e, t) => {
3991
3992
  const n = Object.getOwnPropertyDescriptors(e), r = {};
3992
3993
  bs(n, (i, s) => {
3993
3994
  let o;
@@ -4047,7 +4048,7 @@ const cT = (e) => {
4047
4048
  return r;
4048
4049
  };
4049
4050
  return n(e);
4050
- }, lT = rn("AsyncFunction"), dT = (e) => e && (mi(e) || Ut(e)) && Ut(e.then) && Ut(e.catch), ip = ((e, t) => e ? setImmediate : t ? ((n, r) => (yr.addEventListener(
4051
+ }, lT = sn("AsyncFunction"), dT = (e) => e && (mi(e) || Ut(e)) && Ut(e.then) && Ut(e.catch), ip = ((e, t) => e ? setImmediate : t ? ((n, r) => (yr.addEventListener(
4051
4052
  "message",
4052
4053
  ({ source: i, data: s }) => {
4053
4054
  i === yr && s === n && r.length && r.shift()();
@@ -4091,7 +4092,7 @@ const cT = (e) => {
4091
4092
  inherits: Gb,
4092
4093
  toFlatObject: Wb,
4093
4094
  kindOf: hc,
4094
- kindOfTest: rn,
4095
+ kindOfTest: sn,
4095
4096
  endsWith: Xb,
4096
4097
  toArray: Kb,
4097
4098
  forEachEntry: Jb,
@@ -5725,7 +5726,7 @@ const bc = "1.20.0", od = 64 * 1024, yy = {
5725
5726
  le
5726
5727
  );
5727
5728
  R.isString(X) || (X = X ? "include" : "omit");
5728
- const zt = u && "credentials" in s.prototype;
5729
+ const qt = u && "credentials" in s.prototype;
5729
5730
  if (R.isFormData(k)) {
5730
5731
  const pe = $.getContentType();
5731
5732
  pe && /^multipart\/form-data/i.test(pe) && !/boundary=/i.test(pe) && $.delete("content-type");
@@ -5739,7 +5740,7 @@ const bc = "1.20.0", od = 64 * 1024, yy = {
5739
5740
  headers: op($.normalize()),
5740
5741
  body: k,
5741
5742
  duplex: "half",
5742
- credentials: zt ? X : void 0
5743
+ credentials: qt ? X : void 0
5743
5744
  });
5744
5745
  u && (R.forEach(yy, (pe, Ge) => {
5745
5746
  gt[Ge] === void 0 && (gt[Ge] = pe);
@@ -5756,8 +5757,8 @@ const bc = "1.20.0", od = 64 * 1024, yy = {
5756
5757
  le
5757
5758
  );
5758
5759
  }
5759
- const Xt = h && (v === "stream" || v === "response");
5760
- if (h && rt.body && (B || j || Xt && O)) {
5760
+ const Kt = h && (v === "stream" || v === "response");
5761
+ if (h && rt.body && (B || j || Kt && O)) {
5761
5762
  const pe = {};
5762
5763
  ["status", "statusText", "headers"].forEach((bt) => {
5763
5764
  pe[bt] = rt[bt];
@@ -5766,9 +5767,9 @@ const bc = "1.20.0", od = 64 * 1024, yy = {
5766
5767
  Ge,
5767
5768
  yo(ed(B), !0)
5768
5769
  ) || [];
5769
- let sn = 0;
5770
+ let on = 0;
5770
5771
  const gn = (bt) => {
5771
- if (j && (sn = bt, sn > U))
5772
+ if (j && (on = bt, on > U))
5772
5773
  throw new te(
5773
5774
  "maxContentLength size of " + U + " exceeded",
5774
5775
  te.ERR_BAD_RESPONSE,
@@ -5789,7 +5790,7 @@ const bc = "1.20.0", od = 64 * 1024, yy = {
5789
5790
  rt,
5790
5791
  g
5791
5792
  );
5792
- if (j && !h && !Xt) {
5793
+ if (j && !h && !Kt) {
5793
5794
  let pe;
5794
5795
  if (Nt != null && (typeof Nt.byteLength == "number" ? pe = Nt.byteLength : typeof Nt.size == "number" ? pe = Nt.size : typeof Nt == "string" && (pe = typeof r == "function" ? new r().encode(Nt).byteLength : Nt.length)), typeof pe == "number" && pe > U)
5795
5796
  throw new te(
@@ -5799,7 +5800,7 @@ const bc = "1.20.0", od = 64 * 1024, yy = {
5799
5800
  le
5800
5801
  );
5801
5802
  }
5802
- return !Xt && O && O(), yield new Promise((pe, Ge) => {
5803
+ return !Kt && O && O(), yield new Promise((pe, Ge) => {
5803
5804
  Ep(pe, Ge, {
5804
5805
  data: Nt,
5805
5806
  headers: At.from(rt.headers),
@@ -6353,23 +6354,23 @@ Je.getAdapter = Sp.getAdapter;
6353
6354
  Je.HttpStatusCode = oo;
6354
6355
  Je.default = Je;
6355
6356
  const {
6356
- Axios: Av,
6357
- AxiosError: Sv,
6358
- CanceledError: Cv,
6359
- isCancel: xv,
6360
- CancelToken: Pv,
6361
- VERSION: Nv,
6362
- all: Ov,
6363
- Cancel: Iv,
6364
- isAxiosError: wv,
6365
- spread: kv,
6366
- toFormData: Rv,
6367
- AxiosHeaders: Lv,
6368
- HttpStatusCode: vv,
6369
- formToJSON: Dv,
6370
- getAdapter: Mv,
6371
- mergeConfig: Fv,
6372
- create: Bv
6357
+ Axios: _v,
6358
+ AxiosError: Av,
6359
+ CanceledError: Sv,
6360
+ isCancel: Cv,
6361
+ CancelToken: xv,
6362
+ VERSION: Pv,
6363
+ all: Nv,
6364
+ Cancel: Ov,
6365
+ isAxiosError: Iv,
6366
+ spread: wv,
6367
+ toFormData: kv,
6368
+ AxiosHeaders: Rv,
6369
+ HttpStatusCode: Lv,
6370
+ formToJSON: vv,
6371
+ getAdapter: Dv,
6372
+ mergeConfig: Mv,
6373
+ create: Fv
6373
6374
  } = Je;
6374
6375
  class ky {
6375
6376
  constructor(t, n, r, i = !1, s, o) {
@@ -6544,13 +6545,13 @@ const vy = {
6544
6545
  Ie(() => {
6545
6546
  de || !fe || fe.config || fe.getConfig();
6546
6547
  }, [fe, de]);
6547
- const ke = ze(() => Yh(X), [X]), st = ke.cssVariables, zt = ze(() => {
6548
+ const ke = ze(() => Yh(X), [X]), st = ke.cssVariables, qt = ze(() => {
6548
6549
  const rt = (m == null ? void 0 : m.placeholder) || p, mn = (m == null ? void 0 : m.buttonLabel) || h;
6549
- let Xt = "icon";
6550
- return m != null && m.buttonType ? Xt = m.buttonType : h && (Xt = "text"), V(P({}, m || {}), {
6550
+ let Kt = "icon";
6551
+ return m != null && m.buttonType ? Kt = m.buttonType : h && (Kt = "text"), V(P({}, m || {}), {
6551
6552
  placeholder: rt,
6552
6553
  buttonLabel: mn,
6553
- buttonType: Xt
6554
+ buttonType: Kt
6554
6555
  });
6555
6556
  }, [m, p, h]), We = ze(() => V(P({}, r || {}), {
6556
6557
  logoUrl: t || (r == null ? void 0 : r.logoUrl),
@@ -6575,7 +6576,7 @@ const vy = {
6575
6576
  baseCatalogParams: d,
6576
6577
  themeVariables: st,
6577
6578
  logger: Re,
6578
- searchConfig: zt,
6579
+ searchConfig: qt,
6579
6580
  suggestionButtonConfig: E,
6580
6581
  progressStepsLimit: A,
6581
6582
  messageAlignment: g,
@@ -6611,7 +6612,7 @@ const vy = {
6611
6612
  c,
6612
6613
  o,
6613
6614
  a,
6614
- zt,
6615
+ qt,
6615
6616
  E,
6616
6617
  g,
6617
6618
  T,
@@ -7331,7 +7332,7 @@ class f_ {
7331
7332
  }, this.proxy.imageUrl !== void 0 ? { imageUrl: this.proxy.imageUrl } : {});
7332
7333
  }
7333
7334
  }
7334
- const ln = new f_(), Vp = (e) => {
7335
+ const dn = new f_(), Vp = (e) => {
7335
7336
  if (!e || !e.productId)
7336
7337
  throw new Error("PDP context must include a productId");
7337
7338
  const t = or(), n = _s();
@@ -7339,11 +7340,11 @@ const ln = new f_(), Vp = (e) => {
7339
7340
  t && pt.clear(), pt.add({ context: "pdp", payload: P({}, e) });
7340
7341
  return;
7341
7342
  }
7342
- ln.updateProxy(e), yu("pdp-context", e);
7343
+ dn.updateProxy(e), yu("pdp-context", e);
7343
7344
  }, h_ = (e) => {
7344
- ln.proxy.productId = e, or() || pt.add({ context: "pdp", payload: P({}, ln.state) });
7345
+ dn.proxy.productId = e, or() || pt.add({ context: "pdp", payload: P({}, dn.state) });
7345
7346
  }, p_ = (e) => {
7346
- ln.proxy.pdpLink = e;
7347
+ dn.proxy.pdpLink = e;
7347
7348
  };
7348
7349
  class m_ {
7349
7350
  constructor() {
@@ -7625,10 +7626,10 @@ const qe = new I_(), w_ = (e) => {
7625
7626
  throw new Error("useSearch must be used within a SearchProvider");
7626
7627
  return e;
7627
7628
  }, $_ = {
7628
- productId: ln.productId,
7629
- pdpLink: ln.pdpLink
7629
+ productId: dn.productId,
7630
+ pdpLink: dn.pdpLink
7630
7631
  }, Zp = St($_), z_ = ({ children: e }) => {
7631
- const [t, n] = Te(ln.productId), [r, i] = Te(ln.pdpLink);
7632
+ const [t, n] = Te(dn.productId), [r, i] = Te(dn.pdpLink);
7632
7633
  Ie(() => {
7633
7634
  const o = ({
7634
7635
  detail: a
@@ -7755,7 +7756,7 @@ const qe = new I_(), w_ = (e) => {
7755
7756
  ]
7756
7757
  );
7757
7758
  return /* @__PURE__ */ y(em.Provider, { value: k, children: r });
7758
- }, Wt = () => {
7759
+ }, Xt = () => {
7759
7760
  const e = mt(em);
7760
7761
  if (!e)
7761
7762
  throw new Error("useUIState must be used within a UIStateProvider");
@@ -7987,7 +7988,7 @@ const qe = new I_(), w_ = (e) => {
7987
7988
  logger: l,
7988
7989
  clientContext: d,
7989
7990
  baseCatalogParams: p
7990
- } = xe(), vn = H_(), { searchQuery: h } = vn, m = ht(vn, ["searchQuery"]), Kt = F_(), { categoryId: E } = Kt, A = ht(Kt, ["categoryId"]), { productId: g, pdpLink: T } = q_(), {
7991
+ } = xe(), vn = H_(), { searchQuery: h } = vn, m = ht(vn, ["searchQuery"]), Qt = F_(), { categoryId: E } = Qt, A = ht(Qt, ["categoryId"]), { productId: g, pdpLink: T } = q_(), {
7991
7992
  setCopilot: b,
7992
7993
  setConnected: k,
7993
7994
  resetCopilot: I,
@@ -7998,17 +7999,17 @@ const qe = new I_(), w_ = (e) => {
7998
7999
  setActiveConversationId: v,
7999
8000
  setConversationIds: $,
8000
8001
  setAskCimPrompts: X
8001
- } = Mr(), { connected: Z, copilot: U, messages: z, groupedMessages: ce, loadingMessages: j, askCimPrompts: J } = Ht(), { status: re, entryType: C } = Wt(), { isInline: se } = Yn(), le = Oe(null), [O, oe] = Te("idle"), de = O === "connecting" && !Z, be = O === "slow" && !Z, {
8002
+ } = Mr(), { connected: Z, copilot: U, messages: z, groupedMessages: ce, loadingMessages: j, askCimPrompts: J } = Ht(), { status: re, entryType: C } = Xt(), { isInline: se } = Yn(), le = Oe(null), [O, oe] = Te("idle"), de = O === "connecting" && !Z, be = O === "slow" && !Z, {
8002
8003
  pendingInput: fe,
8003
8004
  inputError: Re,
8004
8005
  dispatchRequest: ke,
8005
8006
  submitInput: st,
8006
- prepareInput: zt,
8007
+ prepareInput: qt,
8007
8008
  flushInput: We,
8008
8009
  cancelInput: gt,
8009
8010
  resetInput: rt,
8010
8011
  disconnectInput: mn,
8011
- disposeInput: Xt
8012
+ disposeInput: Kt
8012
8013
  } = j_({
8013
8014
  connected: !!Z,
8014
8015
  canQueue: de && !!U && re.isOpen
@@ -8023,7 +8024,7 @@ const qe = new I_(), w_ = (e) => {
8023
8024
  catalogSegment: me,
8024
8025
  pricebooks: Xe,
8025
8026
  userPrompt: Ze,
8026
- imageFile: Qt
8027
+ imageFile: Jt
8027
8028
  }) => {
8028
8029
  if (!U) {
8029
8030
  l == null || l.error("Copilot is not initialized");
@@ -8031,19 +8032,19 @@ const qe = new I_(), w_ = (e) => {
8031
8032
  }
8032
8033
  if (!Q) return;
8033
8034
  const Ke = { searchParams: { query: Q } };
8034
- Ze && (Ke.userPrompt = Ze), Qt && (Ke.attachments = {
8035
- image: Qt
8035
+ Ze && (Ke.userPrompt = Ze), Jt && (Ke.attachments = {
8036
+ image: Jt
8036
8037
  }), ae && Object.keys(ae).length > 0 && (Ke.searchParams.facetFilters = ae), ue && ue.length > 0 && (Ke.searchParams.rangeFilters = ue), me && (Ke.searchParams.catalogSegment = me), Xe && (Ke.searchParams.pricebooks = Xe), d && (Ke.clientContext = d), ji("search"), ke(
8037
8038
  Ke,
8038
- (qt, De) => U.search(qt, De),
8039
- (qt) => {
8040
- const De = P({}, qt);
8039
+ (Vt, De) => U.search(Vt, De),
8040
+ (Vt) => {
8041
+ const De = P({}, Vt);
8041
8042
  W(De);
8042
8043
  }
8043
8044
  );
8044
8045
  },
8045
8046
  [l, U, d, W, ke]
8046
- ), sn = ie(
8047
+ ), on = ie(
8047
8048
  ({
8048
8049
  categoryId: Q,
8049
8050
  categoryName: ae,
@@ -8051,28 +8052,28 @@ const qe = new I_(), w_ = (e) => {
8051
8052
  rangeFilters: me,
8052
8053
  catalogSegment: Xe,
8053
8054
  pricebooks: Ze,
8054
- userPrompt: Qt,
8055
+ userPrompt: Jt,
8055
8056
  imageFile: Ke
8056
8057
  }) => {
8057
8058
  if (!U) {
8058
8059
  l == null || l.error("Copilot is not initialized");
8059
8060
  return;
8060
8061
  }
8061
- const qt = ue && Object.keys(ue).length > 0;
8062
- if (Q === "" && !qt) {
8062
+ const Vt = ue && Object.keys(ue).length > 0;
8063
+ if (Q === "" && !Vt) {
8063
8064
  l == null || l.error("Browse event must include facetFilters when categoryId is empty");
8064
8065
  return;
8065
8066
  }
8066
8067
  const De = { browseParams: { categoryId: Q || "" } };
8067
- Qt && (De.userPrompt = Qt), Ke && (De.attachments = {
8068
+ Jt && (De.userPrompt = Jt), Ke && (De.attachments = {
8068
8069
  image: Ke
8069
- }), qt && (De.browseParams.facetFilters = ue), me && me.length > 0 && (De.browseParams.rangeFilters = me), Xe && (De.browseParams.catalogSegment = Xe), Array.isArray(Ze) && Ze.length > 0 && (De.browseParams.pricebooks = Ze), (d || ae) && (De.clientContext = {}, d && (De.clientContext = P({}, d)), ae && (De.clientContext.cimLabel = ae)), ji("browse"), ke(
8070
+ }), Vt && (De.browseParams.facetFilters = ue), me && me.length > 0 && (De.browseParams.rangeFilters = me), Xe && (De.browseParams.catalogSegment = Xe), Array.isArray(Ze) && Ze.length > 0 && (De.browseParams.pricebooks = Ze), (d || ae) && (De.clientContext = {}, d && (De.clientContext = P({}, d)), ae && (De.clientContext.cimLabel = ae)), ji("browse"), ke(
8070
8071
  De,
8071
- (Vt, on) => U.browse(Vt, on),
8072
- (Vt) => {
8072
+ (Yt, an) => U.browse(Yt, an),
8073
+ (Yt) => {
8073
8074
  var yl;
8074
- const on = P({}, Vt), fr = ((yl = on.request) == null ? void 0 : yl.clientContext) || {}, Kn = (fr == null ? void 0 : fr.cimLabel) || ae;
8075
- Kn && on.request && (on.request.label = Kn), W(on);
8075
+ const an = P({}, Yt), fr = ((yl = an.request) == null ? void 0 : yl.clientContext) || {}, Kn = (fr == null ? void 0 : fr.cimLabel) || ae;
8076
+ Kn && an.request && (an.request.label = Kn), W(an);
8076
8077
  }
8077
8078
  );
8078
8079
  },
@@ -8095,10 +8096,10 @@ const qe = new I_(), w_ = (e) => {
8095
8096
  image: Xe
8096
8097
  }), (d || ae) && (Ze.clientContext = {}, d && (Ze.clientContext = P({}, d)), ae && (Ze.clientContext.cimLabel = ae)), p && (Ze.baseCatalogParams = p), ji("pdp"), ke(
8097
8098
  Ze,
8098
- (Qt, Ke) => U.productView(Qt, Ke),
8099
- (Qt) => {
8100
- var Vt;
8101
- const Ke = P({}, Qt), qt = ((Vt = Ke.request) == null ? void 0 : Vt.clientContext) || {}, De = (qt == null ? void 0 : qt.cimLabel) || ae;
8099
+ (Jt, Ke) => U.productView(Jt, Ke),
8100
+ (Jt) => {
8101
+ var Yt;
8102
+ const Ke = P({}, Jt), Vt = ((Yt = Ke.request) == null ? void 0 : Yt.clientContext) || {}, De = (Vt == null ? void 0 : Vt.cimLabel) || ae;
8102
8103
  De && Ke.request && (Ke.request.label = De), W(Ke);
8103
8104
  }
8104
8105
  );
@@ -8259,7 +8260,7 @@ const qe = new I_(), w_ = (e) => {
8259
8260
  const ue = new tb(ae);
8260
8261
  return le.current = { sdk: ue, started: !1, established: !1 }, b(ue), ge(ue), () => {
8261
8262
  var me;
8262
- Xt(), clearTimeout((me = le.current) == null ? void 0 : me.timer), le.current = null, ue.disconnect(), ue.off(), k(!1), I();
8263
+ Kt(), clearTimeout((me = le.current) == null ? void 0 : me.timer), le.current = null, ue.disconnect(), ue.off(), k(!1), I();
8263
8264
  };
8264
8265
  }), Ie(() => {
8265
8266
  const Q = le.current;
@@ -8333,26 +8334,26 @@ const qe = new I_(), w_ = (e) => {
8333
8334
  ue.search.query ? Et(P(P({}, ue.search), me)) : bt(me);
8334
8335
  return;
8335
8336
  case "browse":
8336
- sn(P(P({}, ue.browse), me));
8337
+ on(P(P({}, ue.browse), me));
8337
8338
  return;
8338
8339
  case "pdp":
8339
8340
  ue.pdp.productId ? gn(P(P({}, ue.pdp), me)) : bt(me);
8340
8341
  return;
8341
8342
  }
8342
8343
  },
8343
- [Tt, Et, bt, sn, gn]
8344
+ [Tt, Et, bt, on, gn]
8344
8345
  ), Lt = ie(
8345
8346
  (Q, ae, ue) => st(Q, () => En(Q, ae, ue)),
8346
8347
  [st, En]
8347
8348
  ), Wn = ie(
8348
8349
  (Q) => {
8349
8350
  const ae = Tt();
8350
- return zt((ue) => Lt(Q, ue, ae));
8351
+ return qt((ue) => Lt(Q, ue, ae));
8351
8352
  },
8352
- [Tt, Lt, zt]
8353
+ [Tt, Lt, qt]
8353
8354
  ), Xn = ie(
8354
8355
  (Q, ae) => {
8355
- var Qt, Ke, qt;
8356
+ var Jt, Ke, Vt;
8356
8357
  const me = Q.params.userPrompt || "";
8357
8358
  if (!me) return;
8358
8359
  const Xe = z.find((De) => De.id === ae);
@@ -8363,18 +8364,18 @@ const qe = new I_(), w_ = (e) => {
8363
8364
  return;
8364
8365
  }
8365
8366
  if (Ze === "copilot_search") {
8366
- const De = ((Qt = Xe.request) == null ? void 0 : Qt.searchParams) || {}, on = De.query === h;
8367
+ const De = ((Jt = Xe.request) == null ? void 0 : Jt.searchParams) || {}, an = De.query === h;
8367
8368
  Et(V(P({
8368
8369
  query: De.query || h
8369
- }, on ? m : {}), {
8370
+ }, an ? m : {}), {
8370
8371
  userPrompt: me
8371
8372
  }));
8372
8373
  return;
8373
8374
  }
8374
8375
  if (Ze === "copilot_browse") {
8375
- const De = Xe.request, Vt = De.browseParams || {}, fr = Vt.categoryId === E, Kn = ((Ke = De.clientContext) == null ? void 0 : Ke.cimLabel) || "";
8376
- sn(V(P({
8377
- categoryId: Vt.categoryId || E || ""
8376
+ const De = Xe.request, Yt = De.browseParams || {}, fr = Yt.categoryId === E, Kn = ((Ke = De.clientContext) == null ? void 0 : Ke.cimLabel) || "";
8377
+ on(V(P({
8378
+ categoryId: Yt.categoryId || E || ""
8378
8379
  }, fr ? A : {}), {
8379
8380
  categoryName: Kn,
8380
8381
  userPrompt: me
@@ -8382,10 +8383,10 @@ const qe = new I_(), w_ = (e) => {
8382
8383
  return;
8383
8384
  }
8384
8385
  if (Ze === "product_view") {
8385
- const De = Xe.request || {}, Vt = De.productId, on = Vt === g, fr = ((qt = De.clientContext) == null ? void 0 : qt.cimLabel) || "";
8386
+ const De = Xe.request || {}, Yt = De.productId, an = Yt === g, fr = ((Vt = De.clientContext) == null ? void 0 : Vt.cimLabel) || "";
8386
8387
  let Kn = "";
8387
- on ? Kn = T || "" : Kn = De.pdpLink || "", gn({
8388
- productId: Vt || g,
8388
+ an ? Kn = T || "" : Kn = De.pdpLink || "", gn({
8389
+ productId: Yt || g,
8389
8390
  pdpLink: Kn,
8390
8391
  productName: fr,
8391
8392
  userPrompt: me
@@ -8400,7 +8401,7 @@ const qe = new I_(), w_ = (e) => {
8400
8401
  bt,
8401
8402
  E,
8402
8403
  A,
8403
- sn,
8404
+ on,
8404
8405
  gn,
8405
8406
  g,
8406
8407
  T
@@ -8417,7 +8418,7 @@ const qe = new I_(), w_ = (e) => {
8417
8418
  isResponseLoading: Rt,
8418
8419
  handleAskCim: bt,
8419
8420
  handleSearch: Et,
8420
- handleBrowse: sn,
8421
+ handleBrowse: on,
8421
8422
  handlePdp: gn,
8422
8423
  handleUserInput: Lt,
8423
8424
  prepareUserInput: Wn,
@@ -8438,7 +8439,7 @@ const qe = new I_(), w_ = (e) => {
8438
8439
  Rt,
8439
8440
  bt,
8440
8441
  Et,
8441
- sn,
8442
+ on,
8442
8443
  gn,
8443
8444
  Lt,
8444
8445
  Wn,
@@ -8489,7 +8490,7 @@ const qe = new I_(), w_ = (e) => {
8489
8490
  throw new Error("useCopilot must be used within a CopilotProvider");
8490
8491
  return e;
8491
8492
  }, W_ = () => {
8492
- const { copilot: e, activeConversationId: t, askCimPrompts: n, conversationHistoryLoaded: r } = Ht(), { entryType: i } = Wt(), { resetCopilotState: s, addCopilotEvent: o, setAskCimPrompts: a } = Mr(), {
8493
+ const { copilot: e, activeConversationId: t, askCimPrompts: n, conversationHistoryLoaded: r } = Ht(), { entryType: i } = Xt(), { resetCopilotState: s, addCopilotEvent: o, setAskCimPrompts: a } = Mr(), {
8493
8494
  handleSearch: u,
8494
8495
  handleBrowse: c,
8495
8496
  handlePdp: l,
@@ -8532,8 +8533,8 @@ const qe = new I_(), w_ = (e) => {
8532
8533
  if (!e || !or() || !T) return;
8533
8534
  const b = {
8534
8535
  productId: T,
8535
- pdpLink: ln.pdpLink,
8536
- productName: ln.proxy.productName || ""
8536
+ pdpLink: dn.pdpLink,
8537
+ productName: dn.proxy.productName || ""
8537
8538
  };
8538
8539
  l(b);
8539
8540
  },
@@ -8707,7 +8708,7 @@ const om = St(null), am = St(void 0), S2 = ({
8707
8708
  [t, n]
8708
8709
  );
8709
8710
  return /* @__PURE__ */ y(am.Provider, { value: e, children: /* @__PURE__ */ y(om.Provider, { value: i, children: r }) });
8710
- }, hn = () => {
8711
+ }, $t = () => {
8711
8712
  const e = mt(om);
8712
8713
  return e || sm(void 0, void 0);
8713
8714
  }, Sc = () => mt(am);
@@ -9187,7 +9188,7 @@ const B2 = (e) => Ku(e) ? mh(e, { "aria-hidden": !0 }) : e, jn = ({
9187
9188
  ) : B2(n)
9188
9189
  }
9189
9190
  ), U2 = "data:image/svg+xml,%3csvg%20width='140'%20height='137'%20viewBox='0%200%20140%20137'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M140%2034.5C140%2040.8513%20135.075%2046%20129%2046C122.925%2046%20118%2040.8513%20118%2034.5C118%2028.1487%20122.925%2023%20129%2023C135.075%2023%20140%2028.1487%20140%2034.5Z'%20fill='%23F3F2EB'/%3e%3cpath%20d='M85%2011.3028C85%205.06042%2090.1487%200%2096.5%200C102.851%200%20108%205.06042%20108%2011.3028V21.6972C108%2027.9396%20102.851%2033%2096.5%2033C90.1487%2033%2085%2027.9396%2085%2021.6972V11.3028Z'%20fill='%23F3F2EB'/%3e%3cpath%20d='M41.3868%2030.0986C36.9601%2025.6719%2036.9601%2018.4948%2041.3868%2014.0682C45.8134%209.64151%2052.9905%209.6415%2057.4172%2014.0682L71.3628%2028.0138C75.7894%2032.4404%2075.7894%2039.6175%2071.3628%2044.0442C66.9361%2048.4708%2059.759%2048.4708%2055.3324%2044.0442L41.3868%2030.0986Z'%20fill='%23F3F2EB'/%3e%3cpath%20d='M140%20101C140%2094.9249%20135.075%2090%20129%2090C122.925%2090%20118%2094.9249%20118%20101C118%20107.075%20122.925%20112%20129%20112C135.075%20112%20140%20107.075%20140%20101Z'%20fill='%23F3F2EB'/%3e%3cpath%20d='M85%20125.697C85%20131.94%2090.1487%20137%2096.5%20137C102.851%20137%20108%20131.94%20108%20125.697V115.303C108%20109.06%20102.851%20104%2096.5%20104C90.1487%20104%2085%20109.06%2085%20115.303V125.697Z'%20fill='%23F3F2EB'/%3e%3cpath%20d='M41.3868%20106.932C36.9601%20111.359%2036.9601%20118.536%2041.3868%20122.963C45.8134%20127.389%2052.9905%20127.39%2057.4172%20122.963L71.3628%20109.017C75.7894%20104.591%2075.7894%2097.4135%2071.3628%2092.9868C66.9361%2088.5602%2059.759%2088.5602%2055.3324%2092.9868L41.3868%20106.932Z'%20fill='%23F3F2EB'/%3e%3cpath%20d='M11.259%2080C5.04084%2080%200%2074.8513%200%2068.5C0%2062.1487%205.04084%2057%2011.259%2057H49.741C55.9592%2057%2061%2062.1487%2061%2068.5C61%2074.8513%2055.9592%2080%2049.741%2080H11.259Z'%20fill='%23F3F2EB'/%3e%3c/svg%3e", H2 = ({ onClick: e }) => {
9190
- const { globalClassName: t, headerConfig: n, launcherAriaLabel: r, mode: i } = xe(), { status: s } = Wt(), o = hn(), a = i === "messaging", u = s.type === "dialog" || s.type === "modal", c = a ? o.launcher.openCommerceClientAriaLabel : o.launcher.openCopilotAriaLabel, l = r || c, d = a ? /* @__PURE__ */ y(
9191
+ const { globalClassName: t, headerConfig: n, launcherAriaLabel: r, mode: i } = xe(), { status: s } = Xt(), o = $t(), a = i === "messaging", u = s.type === "dialog" || s.type === "modal", c = a ? o.launcher.openCommerceClientAriaLabel : o.launcher.openCopilotAriaLabel, l = r || c, d = a ? /* @__PURE__ */ y(
9191
9192
  F2,
9192
9193
  {
9193
9194
  className: D(t, `${w}-minimized-icon`)
@@ -9266,7 +9267,7 @@ const B2 = (e) => Ku(e) ? mh(e, { "aria-hidden": !0 }) : e, jn = ({
9266
9267
  onClick: n,
9267
9268
  disabled: r = !1
9268
9269
  }) => {
9269
- const i = hn(), s = t != null ? t : i.common.close;
9270
+ const i = $t(), s = t != null ? t : i.common.close;
9270
9271
  return /* @__PURE__ */ y(
9271
9272
  "button",
9272
9273
  {
@@ -9493,7 +9494,7 @@ const Q2 = ({
9493
9494
  componentType: r,
9494
9495
  isLoading: i
9495
9496
  }) => {
9496
- const s = hn();
9497
+ const s = $t();
9497
9498
  if ((t == null ? void 0 : t.buttonType) === "icon") {
9498
9499
  const a = t.buttonIcon === "arrow" ? hm : gi;
9499
9500
  return /* @__PURE__ */ y(
@@ -9544,7 +9545,7 @@ const tA = () => {
9544
9545
  t(i);
9545
9546
  }, [t, e]) };
9546
9547
  }, nA = ({ isLoading: e }) => {
9547
- const { globalClassName: t, searchConfig: n } = xe(), { cancelRequest: r } = tA(), i = hn();
9548
+ const { globalClassName: t, searchConfig: n } = xe(), { cancelRequest: r } = tA(), i = $t();
9548
9549
  return n != null && n.enableCancelSearch ? /* @__PURE__ */ y(
9549
9550
  jn,
9550
9551
  {
@@ -9611,7 +9612,7 @@ function mm(e, t) {
9611
9612
  function ls(e) {
9612
9613
  return e.toLowerCase();
9613
9614
  }
9614
- class $t {
9615
+ class zt {
9615
9616
  /**
9616
9617
  * @param {string} property
9617
9618
  * Property.
@@ -9624,20 +9625,20 @@ class $t {
9624
9625
  this.attribute = n, this.property = t;
9625
9626
  }
9626
9627
  }
9627
- $t.prototype.attribute = "";
9628
- $t.prototype.booleanish = !1;
9629
- $t.prototype.boolean = !1;
9630
- $t.prototype.commaOrSpaceSeparated = !1;
9631
- $t.prototype.commaSeparated = !1;
9632
- $t.prototype.defined = !1;
9633
- $t.prototype.mustUseProperty = !1;
9634
- $t.prototype.number = !1;
9635
- $t.prototype.overloadedBoolean = !1;
9636
- $t.prototype.property = "";
9637
- $t.prototype.spaceSeparated = !1;
9638
- $t.prototype.space = void 0;
9628
+ zt.prototype.attribute = "";
9629
+ zt.prototype.booleanish = !1;
9630
+ zt.prototype.boolean = !1;
9631
+ zt.prototype.commaOrSpaceSeparated = !1;
9632
+ zt.prototype.commaSeparated = !1;
9633
+ zt.prototype.defined = !1;
9634
+ zt.prototype.mustUseProperty = !1;
9635
+ zt.prototype.number = !1;
9636
+ zt.prototype.overloadedBoolean = !1;
9637
+ zt.prototype.property = "";
9638
+ zt.prototype.spaceSeparated = !1;
9639
+ zt.prototype.space = void 0;
9639
9640
  let uA = 0;
9640
- const Ee = Fr(), et = Fr(), Su = Fr(), G = Fr(), Be = Fr(), Pr = Fr(), Yt = Fr();
9641
+ const Ee = Fr(), et = Fr(), Su = Fr(), G = Fr(), Be = Fr(), Pr = Fr(), jt = Fr();
9641
9642
  function Fr() {
9642
9643
  return Oi(2, ++uA);
9643
9644
  }
@@ -9645,7 +9646,7 @@ const Cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9645
9646
  __proto__: null,
9646
9647
  boolean: Ee,
9647
9648
  booleanish: et,
9648
- commaOrSpaceSeparated: Yt,
9649
+ commaOrSpaceSeparated: jt,
9649
9650
  commaSeparated: Pr,
9650
9651
  number: G,
9651
9652
  overloadedBoolean: Su,
@@ -9654,7 +9655,7 @@ const Cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9654
9655
  /** @type {ReadonlyArray<keyof typeof types>} */
9655
9656
  Object.keys(Cu)
9656
9657
  );
9657
- class Pc extends $t {
9658
+ class Pc extends zt {
9658
9659
  /**
9659
9660
  * @constructor
9660
9661
  * @param {string} property
@@ -10305,7 +10306,7 @@ const cA = Ei({
10305
10306
  timelineBegin: "timelinebegin"
10306
10307
  },
10307
10308
  properties: {
10308
- about: Yt,
10309
+ about: jt,
10309
10310
  accentHeight: G,
10310
10311
  accumulate: null,
10311
10312
  additive: null,
@@ -10417,7 +10418,7 @@ const cA = Ei({
10417
10418
  k2: G,
10418
10419
  k3: G,
10419
10420
  k4: G,
10420
- kernelMatrix: Yt,
10421
+ kernelMatrix: jt,
10421
10422
  kernelUnitLength: null,
10422
10423
  keyPoints: null,
10423
10424
  // SEMI_COLON_SEPARATED
@@ -10575,21 +10576,21 @@ const cA = Ei({
10575
10576
  preserveAspectRatio: null,
10576
10577
  primitiveUnits: null,
10577
10578
  propagate: null,
10578
- property: Yt,
10579
+ property: jt,
10579
10580
  r: null,
10580
10581
  radius: null,
10581
10582
  referrerPolicy: null,
10582
10583
  refX: null,
10583
10584
  refY: null,
10584
- rel: Yt,
10585
- rev: Yt,
10585
+ rel: jt,
10586
+ rev: jt,
10586
10587
  renderingIntent: null,
10587
10588
  repeatCount: null,
10588
10589
  repeatDur: null,
10589
- requiredExtensions: Yt,
10590
- requiredFeatures: Yt,
10591
- requiredFonts: Yt,
10592
- requiredFormats: Yt,
10590
+ requiredExtensions: jt,
10591
+ requiredFeatures: jt,
10592
+ requiredFonts: jt,
10593
+ requiredFormats: jt,
10593
10594
  resource: null,
10594
10595
  restart: null,
10595
10596
  result: null,
@@ -10617,7 +10618,7 @@ const cA = Ei({
10617
10618
  strikethroughThickness: G,
10618
10619
  string: null,
10619
10620
  stroke: null,
10620
- strokeDashArray: Yt,
10621
+ strokeDashArray: jt,
10621
10622
  strokeDashOffset: null,
10622
10623
  strokeLineCap: null,
10623
10624
  strokeLineJoin: null,
@@ -10631,7 +10632,7 @@ const cA = Ei({
10631
10632
  syncMaster: null,
10632
10633
  syncTolerance: null,
10633
10634
  syncToleranceDefault: null,
10634
- systemLanguage: Yt,
10635
+ systemLanguage: jt,
10635
10636
  tabIndex: G,
10636
10637
  tableValues: null,
10637
10638
  target: null,
@@ -10645,7 +10646,7 @@ const cA = Ei({
10645
10646
  title: null,
10646
10647
  transformBehavior: null,
10647
10648
  type: null,
10648
- typeOf: Yt,
10649
+ typeOf: jt,
10649
10650
  to: null,
10650
10651
  transform: null,
10651
10652
  transformOrigin: null,
@@ -10734,7 +10735,7 @@ const cA = Ei({
10734
10735
  }, fA = /[A-Z]/g, yd = /-[a-z]/g, hA = /^data[-\w.:]+$/i;
10735
10736
  function Yo(e, t) {
10736
10737
  const n = ls(t);
10737
- let r = t, i = $t;
10738
+ let r = t, i = zt;
10738
10739
  if (n in e.normal)
10739
10740
  return e.property[e.normal[n]];
10740
10741
  if (n.length > 4 && n.slice(0, 4) === "data" && hA.test(t)) {
@@ -11370,7 +11371,7 @@ function kc(e) {
11370
11371
  const n = Id.textContent;
11371
11372
  return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
11372
11373
  }
11373
- function jt(e, t, n, r) {
11374
+ function Gt(e, t, n, r) {
11374
11375
  const i = e.length;
11375
11376
  let s = 0, o;
11376
11377
  if (t < 0 ? t = -t > i ? 0 : i + t : t = t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4)
@@ -11379,8 +11380,8 @@ function jt(e, t, n, r) {
11379
11380
  for (n && e.splice(t, n); s < r.length; )
11380
11381
  o = r.slice(s, s + 1e4), o.unshift(t, 0), e.splice(...o), s += 1e4, t += 1e4;
11381
11382
  }
11382
- function en(e, t) {
11383
- return e.length > 0 ? (jt(e, e.length, 0, t), e) : t;
11383
+ function tn(e, t) {
11384
+ return e.length > 0 ? (Gt(e, e.length, 0, t), e) : t;
11384
11385
  }
11385
11386
  const wd = {}.hasOwnProperty;
11386
11387
  function wm(e) {
@@ -11412,7 +11413,7 @@ function YA(e, t) {
11412
11413
  const r = [];
11413
11414
  for (; ++n < t.length; )
11414
11415
  (t[n].add === "after" ? e : r).push(t[n]);
11415
- jt(e, 0, 0, r);
11416
+ Gt(e, 0, 0, r);
11416
11417
  }
11417
11418
  function km(e, t) {
11418
11419
  const n = Number.parseInt(e, t);
@@ -11427,7 +11428,7 @@ function km(e, t) {
11427
11428
  n > 1114111 ? "�" : String.fromCodePoint(n)
11428
11429
  );
11429
11430
  }
11430
- function cn(e) {
11431
+ function ln(e) {
11431
11432
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
11432
11433
  }
11433
11434
  const wt = dr(/[A-Za-z]/), _t = dr(/[\dA-Za-z]/), jA = dr(/[#-'*+\--9=?A-Z^-~]/);
@@ -11547,7 +11548,7 @@ function JA(e) {
11547
11548
  let L = k;
11548
11549
  for (; L < t.events.length; )
11549
11550
  t.events[L][1].end = P({}, x), L++;
11550
- return jt(t.events, I + 1, 0, t.events.slice(k)), t.events.length = L, c(b);
11551
+ return Gt(t.events, I + 1, 0, t.events.slice(k)), t.events.length = L, c(b);
11551
11552
  }
11552
11553
  return a(b);
11553
11554
  }
@@ -11615,7 +11616,7 @@ function JA(e) {
11615
11616
  }
11616
11617
  for (g(r), x = L; x < t.events.length; )
11617
11618
  t.events[x][1].end = P({}, v), x++;
11618
- jt(t.events, B + 1, 0, t.events.slice(L)), t.events.length = x;
11619
+ Gt(t.events, B + 1, 0, t.events.slice(L)), t.events.length = x;
11619
11620
  }
11620
11621
  }
11621
11622
  function g(b) {
@@ -11680,7 +11681,7 @@ function eS(e, t) {
11680
11681
  type: u > 1 ? "strong" : "emphasis",
11681
11682
  start: P({}, o.start),
11682
11683
  end: P({}, a.end)
11683
- }, e[r][1].end = P({}, o.start), e[n][1].start = P({}, a.end), c = [], e[r][1].end.offset - e[r][1].start.offset && (c = en(c, [["enter", e[r][1], t], ["exit", e[r][1], t]])), c = en(c, [["enter", i, t], ["enter", o, t], ["exit", o, t], ["enter", s, t]]), c = en(c, Wo(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), c = en(c, [["exit", s, t], ["enter", a, t], ["exit", a, t], ["exit", i, t]]), e[n][1].end.offset - e[n][1].start.offset ? (l = 2, c = en(c, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : l = 0, jt(e, r - 1, n - r + 3, c), n = r + c.length - l - 2;
11684
+ }, e[r][1].end = P({}, o.start), e[n][1].start = P({}, a.end), c = [], e[r][1].end.offset - e[r][1].start.offset && (c = tn(c, [["enter", e[r][1], t], ["exit", e[r][1], t]])), c = tn(c, [["enter", i, t], ["enter", o, t], ["exit", o, t], ["enter", s, t]]), c = tn(c, Wo(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), c = tn(c, [["exit", s, t], ["enter", a, t], ["exit", a, t], ["exit", i, t]]), e[n][1].end.offset - e[n][1].start.offset ? (l = 2, c = tn(c, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : l = 0, Gt(e, r - 1, n - r + 3, c), n = r + c.length - l - 2;
11684
11685
  break;
11685
11686
  }
11686
11687
  }
@@ -12192,7 +12193,7 @@ function Dm(e) {
12192
12193
  i && (r[1].end = P({}, l.get(i)[1].start), a = l.slice(i, n), a.unshift(r), l.splice(i, n - i + 1, a));
12193
12194
  }
12194
12195
  }
12195
- return jt(e, 0, Number.POSITIVE_INFINITY, l.slice(0)), !c;
12196
+ return Gt(e, 0, Number.POSITIVE_INFINITY, l.slice(0)), !c;
12196
12197
  }
12197
12198
  function yS(e, t) {
12198
12199
  const n = e.get(t)[1], r = e.get(t)[2];
@@ -12369,7 +12370,7 @@ function OS(e, t, n) {
12369
12370
  )(h);
12370
12371
  }
12371
12372
  function a(h) {
12372
- return i = cn(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), u) : n(h);
12373
+ return i = ln(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), u) : n(h);
12373
12374
  }
12374
12375
  function u(h) {
12375
12376
  return Ue(h) ? Xi(e, c)(h) : c(h);
@@ -12441,7 +12442,7 @@ function LS(e, t) {
12441
12442
  start: e[r][1].start,
12442
12443
  end: e[n][1].end,
12443
12444
  contentType: "text"
12444
- }, jt(e, r, n - r + 1, [["enter", i, t], ["enter", s, t], ["exit", s, t], ["exit", i, t]])), e;
12445
+ }, Gt(e, r, n - r + 1, [["enter", i, t], ["enter", s, t], ["exit", s, t], ["exit", i, t]])), e;
12445
12446
  }
12446
12447
  function vS(e, t, n) {
12447
12448
  let r = 0;
@@ -12785,7 +12786,7 @@ function WS(e) {
12785
12786
  r.type = "data", t += i;
12786
12787
  }
12787
12788
  }
12788
- return e.length !== n.length && jt(e, 0, e.length, n), e;
12789
+ return e.length !== n.length && Gt(e, 0, e.length, n), e;
12789
12790
  }
12790
12791
  function XS(e, t) {
12791
12792
  let n = e.length, r = 0, i, s, o, a;
@@ -12813,7 +12814,7 @@ function XS(e, t) {
12813
12814
  start: P({}, e[s + r + 2][1].end),
12814
12815
  end: P({}, e[o - 2][1].start)
12815
12816
  };
12816
- return a = [["enter", u, t], ["enter", c, t]], a = en(a, e.slice(s + 1, s + r + 3)), a = en(a, [["enter", l, t]]), a = en(a, Wo(t.parser.constructs.insideSpan.null, e.slice(s + r + 4, o - 3), t)), a = en(a, [["exit", l, t], e[o - 2], e[o - 1], ["exit", c, t]]), a = en(a, e.slice(o + 1)), a = en(a, [["exit", u, t]]), jt(e, s, e.length, a), e;
12817
+ return a = [["enter", u, t], ["enter", c, t]], a = tn(a, e.slice(s + 1, s + r + 3)), a = tn(a, [["enter", l, t]]), a = tn(a, Wo(t.parser.constructs.insideSpan.null, e.slice(s + r + 4, o - 3), t)), a = tn(a, [["exit", l, t], e[o - 2], e[o - 1], ["exit", c, t]]), a = tn(a, e.slice(o + 1)), a = tn(a, [["exit", u, t]]), Gt(e, s, e.length, a), e;
12817
12818
  }
12818
12819
  function KS(e, t, n) {
12819
12820
  const r = this;
@@ -12825,7 +12826,7 @@ function KS(e, t, n) {
12825
12826
  }
12826
12827
  return a;
12827
12828
  function a(p) {
12828
- return s ? s._inactive ? d(p) : (o = r.parser.defined.includes(cn(r.sliceSerialize({
12829
+ return s ? s._inactive ? d(p) : (o = r.parser.defined.includes(ln(r.sliceSerialize({
12829
12830
  start: s.end,
12830
12831
  end: r.now()
12831
12832
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(p), e.exit("labelMarker"), e.exit("labelEnd"), u) : n(p);
@@ -12877,7 +12878,7 @@ function JS(e, t, n) {
12877
12878
  return Fm.call(r, e, s, o, "reference", "referenceMarker", "referenceString")(a);
12878
12879
  }
12879
12880
  function s(a) {
12880
- return r.parser.defined.includes(cn(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(a) : n(a);
12881
+ return r.parser.defined.includes(ln(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(a) : n(a);
12881
12882
  }
12882
12883
  function o(a) {
12883
12884
  return n(a);
@@ -13295,7 +13296,7 @@ function kC(e, t, n) {
13295
13296
  let l = t.tokenize.call(c, u);
13296
13297
  return t.resolveAll && s.push(t), c;
13297
13298
  function d($) {
13298
- return o = en(o, $), A(), o[o.length - 1] !== null ? [] : (B(t, 0), c.events = Wo(s, c.events, c), c.events);
13299
+ return o = tn(o, $), A(), o[o.length - 1] !== null ? [] : (B(t, 0), c.events = Wo(s, c.events, c), c.events);
13299
13300
  }
13300
13301
  function p($, X) {
13301
13302
  return LC(h($), X);
@@ -13373,13 +13374,13 @@ function kC(e, t, n) {
13373
13374
  function se(be) {
13374
13375
  return fe;
13375
13376
  function fe(Re) {
13376
- const ke = Re !== null && be[Re], st = Re !== null && be.null, zt = [
13377
+ const ke = Re !== null && be[Re], st = Re !== null && be.null, qt = [
13377
13378
  // To do: add more extension tests.
13378
13379
  /* c8 ignore next 2 */
13379
13380
  ...Array.isArray(ke) ? ke : ke ? [ke] : [],
13380
13381
  ...Array.isArray(st) ? st : st ? [st] : []
13381
13382
  ];
13382
- return le(zt)(Re);
13383
+ return le(qt)(Re);
13383
13384
  }
13384
13385
  }
13385
13386
  function le(be) {
@@ -13408,7 +13409,7 @@ function kC(e, t, n) {
13408
13409
  }
13409
13410
  }
13410
13411
  function B($, X) {
13411
- $.resolveAll && !s.includes($) && s.push($), $.resolve && jt(c.events, X, c.events.length - X, $.resolve(c.events.slice(X), c)), $.resolveTo && (c.events = $.resolveTo(c.events, c));
13412
+ $.resolveAll && !s.includes($) && s.push($), $.resolve && Gt(c.events, X, c.events.length - X, $.resolve(c.events.slice(X), c)), $.resolveTo && (c.events = $.resolveTo(c.events, c));
13412
13413
  }
13413
13414
  function W() {
13414
13415
  const $ = m(), X = c.previous, Z = c.currentConstruct, U = c.events.length, z = Array.from(a);
@@ -13570,10 +13571,10 @@ function $C(e) {
13570
13571
  blockQuote: s(st),
13571
13572
  characterEscape: W,
13572
13573
  characterReference: W,
13573
- codeFenced: s(zt),
13574
+ codeFenced: s(qt),
13574
13575
  codeFencedFenceInfo: o,
13575
13576
  codeFencedFenceMeta: o,
13576
- codeIndented: s(zt, o),
13577
+ codeIndented: s(qt, o),
13577
13578
  codeText: s(We, o),
13578
13579
  codeTextData: W,
13579
13580
  data: W,
@@ -13583,8 +13584,8 @@ function $C(e) {
13583
13584
  definitionLabelString: o,
13584
13585
  definitionTitleString: o,
13585
13586
  emphasis: s(rt),
13586
- hardBreakEscape: s(Xt),
13587
- hardBreakTrailing: s(Xt),
13587
+ hardBreakEscape: s(Kt),
13588
+ hardBreakTrailing: s(Kt),
13588
13589
  htmlFlow: s(Nt, o),
13589
13590
  htmlFlowData: W,
13590
13591
  htmlText: s(Nt, o),
@@ -13596,7 +13597,7 @@ function $C(e) {
13596
13597
  listItemValue: p,
13597
13598
  listOrdered: s(Rt, d),
13598
13599
  listUnordered: s(Rt),
13599
- paragraph: s(sn),
13600
+ paragraph: s(on),
13600
13601
  reference: O,
13601
13602
  referenceString: o,
13602
13603
  resourceDestinationString: o,
@@ -13737,11 +13738,11 @@ function $C(e) {
13737
13738
  if (En) {
13738
13739
  let vn = ye;
13739
13740
  for (Lt = void 0; vn--; ) {
13740
- const Kt = H[vn];
13741
- if (Kt[1].type === "lineEnding" || Kt[1].type === "lineEndingBlank") {
13742
- if (Kt[0] === "exit") continue;
13743
- Lt && (H[Lt][1].type = "lineEndingBlank", Tt = !0), Kt[1].type = "lineEnding", Lt = vn;
13744
- } else if (!(Kt[1].type === "linePrefix" || Kt[1].type === "blockQuotePrefix" || Kt[1].type === "blockQuotePrefixWhitespace" || Kt[1].type === "blockQuoteMarker" || Kt[1].type === "listItemIndent")) break;
13741
+ const Qt = H[vn];
13742
+ if (Qt[1].type === "lineEnding" || Qt[1].type === "lineEndingBlank") {
13743
+ if (Qt[0] === "exit") continue;
13744
+ Lt && (H[Lt][1].type = "lineEndingBlank", Tt = !0), Qt[1].type = "lineEnding", Lt = vn;
13745
+ } else if (!(Qt[1].type === "linePrefix" || Qt[1].type === "blockQuotePrefix" || Qt[1].type === "blockQuotePrefixWhitespace" || Qt[1].type === "blockQuoteMarker" || Qt[1].type === "listItemIndent")) break;
13745
13746
  }
13746
13747
  Wn && (!Lt || Wn < Lt) && (En._spread = !0), En.end = Object.assign({}, Lt ? H[Lt][1].start : Ot[1].end), H.splice(Lt || ye, 0, ["exit", En, Ot[2]]), ye++, ge++;
13747
13748
  }
@@ -13827,7 +13828,7 @@ function $C(e) {
13827
13828
  }
13828
13829
  function T(H) {
13829
13830
  const K = this.resume(), ge = this.stack[this.stack.length - 1];
13830
- ge.label = K, ge.identifier = cn(this.sliceSerialize(H)).toLowerCase();
13831
+ ge.label = K, ge.identifier = ln(this.sliceSerialize(H)).toLowerCase();
13831
13832
  }
13832
13833
  function b() {
13833
13834
  const H = this.resume(), K = this.stack[this.stack.length - 1];
@@ -13911,7 +13912,7 @@ function $C(e) {
13911
13912
  }
13912
13913
  function J(H) {
13913
13914
  const K = this.sliceSerialize(H), ge = this.stack[this.stack.length - 2];
13914
- ge.label = BC(K), ge.identifier = cn(K).toLowerCase();
13915
+ ge.label = BC(K), ge.identifier = ln(K).toLowerCase();
13915
13916
  }
13916
13917
  function re() {
13917
13918
  const H = this.stack[this.stack.length - 1], K = this.resume(), ge = this.stack[this.stack.length - 1];
@@ -13937,7 +13938,7 @@ function $C(e) {
13937
13938
  }
13938
13939
  function oe(H) {
13939
13940
  const K = this.resume(), ge = this.stack[this.stack.length - 1];
13940
- ge.label = K, ge.identifier = cn(this.sliceSerialize(H)).toLowerCase(), this.data.referenceType = "full";
13941
+ ge.label = K, ge.identifier = ln(this.sliceSerialize(H)).toLowerCase(), this.data.referenceType = "full";
13941
13942
  }
13942
13943
  function de(H) {
13943
13944
  this.data.characterReferenceType = H.type;
@@ -13969,7 +13970,7 @@ function $C(e) {
13969
13970
  children: []
13970
13971
  };
13971
13972
  }
13972
- function zt() {
13973
+ function qt() {
13973
13974
  return {
13974
13975
  type: "code",
13975
13976
  lang: null,
@@ -14006,7 +14007,7 @@ function $C(e) {
14006
14007
  children: []
14007
14008
  };
14008
14009
  }
14009
- function Xt() {
14010
+ function Kt() {
14010
14011
  return {
14011
14012
  type: "break"
14012
14013
  };
@@ -14050,7 +14051,7 @@ function $C(e) {
14050
14051
  children: []
14051
14052
  };
14052
14053
  }
14053
- function sn() {
14054
+ function on() {
14054
14055
  return {
14055
14056
  type: "paragraph",
14056
14057
  children: []
@@ -17234,10 +17235,10 @@ var Nr;
17234
17235
  (function(e) {
17235
17236
  e.TYPE = "type", e.ACTION = "action", e.ENCODING = "encoding", e.PROMPT = "prompt", e.NAME = "name", e.COLOR = "color", e.FACE = "face", e.SIZE = "size";
17236
17237
  })(Nr || (Nr = {}));
17237
- var tn;
17238
+ var nn;
17238
17239
  (function(e) {
17239
17240
  e.NO_QUIRKS = "no-quirks", e.QUIRKS = "quirks", e.LIMITED_QUIRKS = "limited-quirks";
17240
- })(tn || (tn = {}));
17241
+ })(nn || (nn = {}));
17241
17242
  var M;
17242
17243
  (function(e) {
17243
17244
  e.A = "a", e.ADDRESS = "address", e.ANNOTATION_XML = "annotation-xml", e.APPLET = "applet", e.AREA = "area", e.ARTICLE = "article", e.ASIDE = "aside", e.B = "b", e.BASE = "base", e.BASEFONT = "basefont", e.BGSOUND = "bgsound", e.BIG = "big", e.BLOCKQUOTE = "blockquote", e.BODY = "body", e.BR = "br", e.BUTTON = "button", e.CAPTION = "caption", e.CENTER = "center", e.CODE = "code", e.COL = "col", e.COLGROUP = "colgroup", e.DD = "dd", e.DESC = "desc", e.DETAILS = "details", e.DIALOG = "dialog", e.DIR = "dir", e.DIV = "div", e.DL = "dl", e.DT = "dt", e.EM = "em", e.EMBED = "embed", e.FIELDSET = "fieldset", e.FIGCAPTION = "figcaption", e.FIGURE = "figure", e.FONT = "font", e.FOOTER = "footer", e.FOREIGN_OBJECT = "foreignObject", e.FORM = "form", e.FRAME = "frame", e.FRAMESET = "frameset", e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e.HEAD = "head", e.HEADER = "header", e.HGROUP = "hgroup", e.HR = "hr", e.HTML = "html", e.I = "i", e.IMG = "img", e.IMAGE = "image", e.INPUT = "input", e.IFRAME = "iframe", e.KEYGEN = "keygen", e.LABEL = "label", e.LI = "li", e.LINK = "link", e.LISTING = "listing", e.MAIN = "main", e.MALIGNMARK = "malignmark", e.MARQUEE = "marquee", e.MATH = "math", e.MENU = "menu", e.META = "meta", e.MGLYPH = "mglyph", e.MI = "mi", e.MO = "mo", e.MN = "mn", e.MS = "ms", e.MTEXT = "mtext", e.NAV = "nav", e.NOBR = "nobr", e.NOFRAMES = "noframes", e.NOEMBED = "noembed", e.NOSCRIPT = "noscript", e.OBJECT = "object", e.OL = "ol", e.OPTGROUP = "optgroup", e.OPTION = "option", e.P = "p", e.PARAM = "param", e.PLAINTEXT = "plaintext", e.PRE = "pre", e.RB = "rb", e.RP = "rp", e.RT = "rt", e.RTC = "rtc", e.RUBY = "ruby", e.S = "s", e.SCRIPT = "script", e.SEARCH = "search", e.SECTION = "section", e.SELECT = "select", e.SOURCE = "source", e.SMALL = "small", e.SPAN = "span", e.STRIKE = "strike", e.STRONG = "strong", e.STYLE = "style", e.SUB = "sub", e.SUMMARY = "summary", e.SUP = "sup", e.TABLE = "table", e.TBODY = "tbody", e.TEMPLATE = "template", e.TEXTAREA = "textarea", e.TFOOT = "tfoot", e.TD = "td", e.TH = "th", e.THEAD = "thead", e.TITLE = "title", e.TR = "tr", e.TRACK = "track", e.TT = "tt", e.U = "u", e.UL = "ul", e.SVG = "svg", e.VAR = "var", e.WBR = "wbr", e.XMP = "xmp";
@@ -19717,7 +19718,7 @@ const tr = {
19717
19718
  createDocument() {
19718
19719
  return {
19719
19720
  nodeName: "#document",
19720
- mode: tn.NO_QUIRKS,
19721
+ mode: nn.NO_QUIRKS,
19721
19722
  childNodes: []
19722
19723
  };
19723
19724
  },
@@ -19946,21 +19947,21 @@ function gN(e) {
19946
19947
  }
19947
19948
  function EN(e) {
19948
19949
  if (e.name !== d0)
19949
- return tn.QUIRKS;
19950
+ return nn.QUIRKS;
19950
19951
  const { systemId: t } = e;
19951
19952
  if (t && t.toLowerCase() === fN)
19952
- return tn.QUIRKS;
19953
+ return nn.QUIRKS;
19953
19954
  let { publicId: n } = e;
19954
19955
  if (n !== null) {
19955
19956
  if (n = n.toLowerCase(), pN.has(n))
19956
- return tn.QUIRKS;
19957
+ return nn.QUIRKS;
19957
19958
  let r = t === null ? hN : f0;
19958
19959
  if (ff(n, r))
19959
- return tn.QUIRKS;
19960
+ return nn.QUIRKS;
19960
19961
  if (r = t === null ? h0 : mN, ff(n, r))
19961
- return tn.LIMITED_QUIRKS;
19962
+ return nn.LIMITED_QUIRKS;
19962
19963
  }
19963
- return tn.NO_QUIRKS;
19964
+ return nn.NO_QUIRKS;
19964
19965
  }
19965
19966
  const hf = {
19966
19967
  TEXT_HTML: "text/html",
@@ -21151,11 +21152,11 @@ function zc(e, t) {
21151
21152
  }
21152
21153
  function $N(e, t) {
21153
21154
  e._setDocumentType(t);
21154
- const n = t.forceQuirks ? tn.QUIRKS : EN(t);
21155
+ const n = t.forceQuirks ? nn.QUIRKS : EN(t);
21155
21156
  gN(t) || e._err(t, F.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = N.BEFORE_HTML;
21156
21157
  }
21157
21158
  function Fi(e, t) {
21158
- e._err(t, F.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, tn.QUIRKS), e.insertionMode = N.BEFORE_HTML, e._processToken(t);
21159
+ e._err(t, F.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, nn.QUIRKS), e.insertionMode = N.BEFORE_HTML, e._processToken(t);
21159
21160
  }
21160
21161
  function zN(e, t) {
21161
21162
  t.tagID === f.HTML ? (e._insertElement(t, q.HTML), e.insertionMode = N.BEFORE_HEAD) : Qi(e, t);
@@ -21445,7 +21446,7 @@ function lO(e, t) {
21445
21446
  e._reconstructActiveFormattingElements(), e._insertElement(t, q.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
21446
21447
  }
21447
21448
  function dO(e, t) {
21448
- e.treeAdapter.getDocumentMode(e.document) !== tn.QUIRKS && e.openElements.hasInButtonScope(f.P) && e._closePElement(), e._insertElement(t, q.HTML), e.framesetOk = !1, e.insertionMode = N.IN_TABLE;
21449
+ e.treeAdapter.getDocumentMode(e.document) !== nn.QUIRKS && e.openElements.hasInButtonScope(f.P) && e._closePElement(), e._insertElement(t, q.HTML), e.framesetOk = !1, e.insertionMode = N.IN_TABLE;
21449
21450
  }
21450
21451
  function T0(e, t) {
21451
21452
  e._reconstructActiveFormattingElements(), e._appendElement(t, q.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
@@ -23076,7 +23077,7 @@ const H0 = ({
23076
23077
  onSubmit: a,
23077
23078
  prepareSubmit: u
23078
23079
  }) => {
23079
- const { connected: c, imageFile: l } = Ht(), { setImageFile: d } = Mr(), { logger: p, globalClassName: h, searchConfig: m, features: E } = xe(), A = hn(), g = Oe(null), T = Oe(!1), b = Oe(l);
23080
+ const { connected: c, imageFile: l } = Ht(), { setImageFile: d } = Mr(), { logger: p, globalClassName: h, searchConfig: m, features: E } = xe(), A = $t(), g = Oe(null), T = Oe(!1), b = Oe(l);
23080
23081
  b.current = l;
23081
23082
  const [k, I] = Te(!1), [x, L] = Te(null), B = Oe({ pendingInput: i, imageFile: l });
23082
23083
  Ie(() => {
@@ -23491,7 +23492,7 @@ function Lw(e) {
23491
23492
  var t, n, r, i;
23492
23493
  return (i = (t = e.composedPath) == null ? void 0 : t.call(e)) != null ? i : (r = (n = e.nativeEvent) == null ? void 0 : n.composedPath) == null ? void 0 : r.call(n);
23493
23494
  }
23494
- function un(e) {
23495
+ function cn(e) {
23495
23496
  var n;
23496
23497
  const t = Lw(e);
23497
23498
  return (n = t == null ? void 0 : t[0]) != null ? n : e.target;
@@ -24371,7 +24372,7 @@ var E3 = {
24371
24372
  ((p = (d = (l = u.composedPath) == null ? void 0 : l.call(u)) == null ? void 0 : d[0]) != null ? p : u.target) === i && e.set("prevAnimationName", Ys(t.get("styles")));
24372
24373
  }, o = (u) => {
24373
24374
  const c = Ys(t.get("styles"));
24374
- un(u) === i && c === e.get("unmountAnimationName") && !r("present") && n({ type: "UNMOUNT", src: "animationend" });
24375
+ cn(u) === i && c === e.get("unmountAnimationName") && !r("present") && n({ type: "UNMOUNT", src: "animationend" });
24375
24376
  };
24376
24377
  i.addEventListener("animationstart", s), i.addEventListener("animationcancel", o), i.addEventListener("animationend", o);
24377
24378
  const a = Oo(i, { animationFillMode: "forwards" });
@@ -25067,7 +25068,7 @@ function ca() {
25067
25068
  function Ni(e) {
25068
25069
  return mg(e) ? (e.nodeName || "").toLowerCase() : "#document";
25069
25070
  }
25070
- function Gt(e) {
25071
+ function Wt(e) {
25071
25072
  var t;
25072
25073
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
25073
25074
  }
@@ -25076,16 +25077,16 @@ function Rn(e) {
25076
25077
  return (t = (mg(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
25077
25078
  }
25078
25079
  function mg(e) {
25079
- return ca() ? e instanceof Node || e instanceof Gt(e).Node : !1;
25080
+ return ca() ? e instanceof Node || e instanceof Wt(e).Node : !1;
25080
25081
  }
25081
- function dn(e) {
25082
- return ca() ? e instanceof Element || e instanceof Gt(e).Element : !1;
25082
+ function fn(e) {
25083
+ return ca() ? e instanceof Element || e instanceof Wt(e).Element : !1;
25083
25084
  }
25084
25085
  function On(e) {
25085
- return ca() ? e instanceof HTMLElement || e instanceof Gt(e).HTMLElement : !1;
25086
+ return ca() ? e instanceof HTMLElement || e instanceof Wt(e).HTMLElement : !1;
25086
25087
  }
25087
25088
  function vf(e) {
25088
- return !ca() || typeof ShadowRoot == "undefined" ? !1 : e instanceof ShadowRoot || e instanceof Gt(e).ShadowRoot;
25089
+ return !ca() || typeof ShadowRoot == "undefined" ? !1 : e instanceof ShadowRoot || e instanceof Wt(e).ShadowRoot;
25089
25090
  }
25090
25091
  function Ls(e) {
25091
25092
  const {
@@ -25093,7 +25094,7 @@ function Ls(e) {
25093
25094
  overflowX: n,
25094
25095
  overflowY: r,
25095
25096
  display: i
25096
- } = fn(e);
25097
+ } = hn(e);
25097
25098
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
25098
25099
  }
25099
25100
  function $3(e) {
@@ -25114,7 +25115,7 @@ function la(e) {
25114
25115
  const z3 = /transform|translate|scale|rotate|perspective|filter/, q3 = /paint|layout|strict|content/, mr = (e) => !!e && e !== "none";
25115
25116
  let Ka;
25116
25117
  function il(e) {
25117
- const t = dn(e) ? fn(e) : e;
25118
+ const t = fn(e) ? hn(e) : e;
25118
25119
  return mr(t.transform) || mr(t.translate) || mr(t.scale) || mr(t.rotate) || mr(t.perspective) || !sl() && (mr(t.backdropFilter) || mr(t.filter)) || z3.test(t.willChange || "") || q3.test(t.contain || "");
25119
25120
  }
25120
25121
  function V3(e) {
@@ -25134,11 +25135,11 @@ function sl() {
25134
25135
  function li(e) {
25135
25136
  return /^(html|body|#document)$/.test(Ni(e));
25136
25137
  }
25137
- function fn(e) {
25138
- return Gt(e).getComputedStyle(e);
25138
+ function hn(e) {
25139
+ return Wt(e).getComputedStyle(e);
25139
25140
  }
25140
25141
  function da(e) {
25141
- return dn(e) ? {
25142
+ return fn(e) ? {
25142
25143
  scrollLeft: e.scrollLeft,
25143
25144
  scrollTop: e.scrollTop
25144
25145
  } : {
@@ -25165,7 +25166,7 @@ function gg(e) {
25165
25166
  function hs(e, t, n) {
25166
25167
  var r;
25167
25168
  t === void 0 && (t = []), n === void 0 && (n = !0);
25168
- const i = gg(e), s = i === ((r = e.ownerDocument) == null ? void 0 : r.body), o = Gt(i);
25169
+ const i = gg(e), s = i === ((r = e.ownerDocument) == null ? void 0 : r.body), o = Wt(i);
25169
25170
  if (s) {
25170
25171
  const a = zu(o);
25171
25172
  return t.concat(o, o.visualViewport || [], Ls(i) ? i : [], a && n ? hs(a) : []);
@@ -25176,7 +25177,7 @@ function zu(e) {
25176
25177
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
25177
25178
  }
25178
25179
  function Eg(e) {
25179
- const t = fn(e);
25180
+ const t = hn(e);
25180
25181
  let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
25181
25182
  const i = On(e), s = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, a = wo(n) !== s || wo(r) !== o;
25182
25183
  return a && (n = s, r = o), {
@@ -25186,7 +25187,7 @@ function Eg(e) {
25186
25187
  };
25187
25188
  }
25188
25189
  function ol(e) {
25189
- return dn(e) ? e : e.contextElement;
25190
+ return fn(e) ? e : e.contextElement;
25190
25191
  }
25191
25192
  function ri(e) {
25192
25193
  const t = ol(e);
@@ -25205,28 +25206,28 @@ function ri(e) {
25205
25206
  }
25206
25207
  const Y3 = /* @__PURE__ */ Pn(0);
25207
25208
  function bg(e) {
25208
- const t = Gt(e);
25209
+ const t = Wt(e);
25209
25210
  return !sl() || !t.visualViewport ? Y3 : {
25210
25211
  x: t.visualViewport.offsetLeft,
25211
25212
  y: t.visualViewport.offsetTop
25212
25213
  };
25213
25214
  }
25214
25215
  function j3(e, t, n) {
25215
- return t === void 0 && (t = !1), !n || t && n !== Gt(e) ? !1 : t;
25216
+ return t === void 0 && (t = !1), !n || t && n !== Wt(e) ? !1 : t;
25216
25217
  }
25217
25218
  function Dr(e, t, n, r) {
25218
25219
  t === void 0 && (t = !1), n === void 0 && (n = !1);
25219
25220
  const i = e.getBoundingClientRect(), s = ol(e);
25220
25221
  let o = Pn(1);
25221
- t && (r ? dn(r) && (o = ri(r)) : o = ri(e));
25222
+ t && (r ? fn(r) && (o = ri(r)) : o = ri(e));
25222
25223
  const a = j3(s, n, r) ? bg(s) : Pn(0);
25223
25224
  let u = (i.left + a.x) / o.x, c = (i.top + a.y) / o.y, l = i.width / o.x, d = i.height / o.y;
25224
25225
  if (s) {
25225
- const p = Gt(s), h = r && dn(r) ? Gt(r) : r;
25226
+ const p = Wt(s), h = r && fn(r) ? Wt(r) : r;
25226
25227
  let m = p, E = zu(m);
25227
25228
  for (; E && r && h !== m; ) {
25228
- const A = ri(E), g = E.getBoundingClientRect(), T = fn(E), b = g.left + (E.clientLeft + parseFloat(T.paddingLeft)) * A.x, k = g.top + (E.clientTop + parseFloat(T.paddingTop)) * A.y;
25229
- u *= A.x, c *= A.y, l *= A.x, d *= A.y, u += b, c += k, m = Gt(E), E = zu(m);
25229
+ const A = ri(E), g = E.getBoundingClientRect(), T = hn(E), b = g.left + (E.clientLeft + parseFloat(T.paddingLeft)) * A.x, k = g.top + (E.clientTop + parseFloat(T.paddingTop)) * A.y;
25230
+ u *= A.x, c *= A.y, l *= A.x, d *= A.y, u += b, c += k, m = Wt(E), E = zu(m);
25230
25231
  }
25231
25232
  }
25232
25233
  return Ro({
@@ -25281,7 +25282,7 @@ function X3(e) {
25281
25282
  const t = Rn(e), n = da(e), r = e.ownerDocument.body, i = $n(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = $n(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
25282
25283
  let o = -n.scrollLeft + fa(e);
25283
25284
  const a = -n.scrollTop;
25284
- return fn(r).direction === "rtl" && (o += $n(t.clientWidth, r.clientWidth) - i), {
25285
+ return hn(r).direction === "rtl" && (o += $n(t.clientWidth, r.clientWidth) - i), {
25285
25286
  width: i,
25286
25287
  height: s,
25287
25288
  x: o,
@@ -25290,7 +25291,7 @@ function X3(e) {
25290
25291
  }
25291
25292
  const Df = 25;
25292
25293
  function K3(e, t) {
25293
- const n = Gt(e), r = Rn(e), i = n.visualViewport;
25294
+ const n = Wt(e), r = Rn(e), i = n.visualViewport;
25294
25295
  let s = r.clientWidth, o = r.clientHeight, a = 0, u = 0;
25295
25296
  if (i) {
25296
25297
  s = i.width, o = i.height;
@@ -25325,7 +25326,7 @@ function Mf(e, t, n) {
25325
25326
  r = K3(e, n);
25326
25327
  else if (t === "document")
25327
25328
  r = X3(Rn(e));
25328
- else if (dn(t))
25329
+ else if (fn(t))
25329
25330
  r = J3(t, n);
25330
25331
  else {
25331
25332
  const i = bg(e);
@@ -25340,17 +25341,17 @@ function Mf(e, t, n) {
25340
25341
  }
25341
25342
  function yg(e, t) {
25342
25343
  const n = cr(e);
25343
- return n === t || !dn(n) || li(n) ? !1 : fn(n).position === "fixed" || yg(n, t);
25344
+ return n === t || !fn(n) || li(n) ? !1 : hn(n).position === "fixed" || yg(n, t);
25344
25345
  }
25345
25346
  function Z3(e, t) {
25346
25347
  const n = t.get(e);
25347
25348
  if (n)
25348
25349
  return n;
25349
- let r = hs(e, [], !1).filter((a) => dn(a) && Ni(a) !== "body"), i = null;
25350
- const s = fn(e).position === "fixed";
25350
+ let r = hs(e, [], !1).filter((a) => fn(a) && Ni(a) !== "body"), i = null;
25351
+ const s = hn(e).position === "fixed";
25351
25352
  let o = s ? cr(e) : e;
25352
- for (; dn(o) && !li(o); ) {
25353
- const a = fn(o), u = il(o);
25353
+ for (; fn(o) && !li(o); ) {
25354
+ const a = hn(o), u = il(o);
25354
25355
  !u && a.position === "fixed" && (i = null), (s ? !u && !i : !u && a.position === "static" && !!i && Q3.has(i.position) || Ls(o) && !u && yg(e, o)) ? r = r.filter((l) => l !== o) : i = a, o = cr(o);
25355
25356
  }
25356
25357
  return t.set(e, r), r;
@@ -25408,10 +25409,10 @@ function nk(e, t, n) {
25408
25409
  };
25409
25410
  }
25410
25411
  function Qa(e) {
25411
- return fn(e).position === "static";
25412
+ return hn(e).position === "static";
25412
25413
  }
25413
25414
  function Ff(e, t) {
25414
- if (!On(e) || fn(e).position === "fixed")
25415
+ if (!On(e) || hn(e).position === "fixed")
25415
25416
  return null;
25416
25417
  if (t)
25417
25418
  return t(e);
@@ -25419,13 +25420,13 @@ function Ff(e, t) {
25419
25420
  return Rn(e) === n && (n = n.ownerDocument.body), n;
25420
25421
  }
25421
25422
  function _g(e, t) {
25422
- const n = Gt(e);
25423
+ const n = Wt(e);
25423
25424
  if (la(e))
25424
25425
  return n;
25425
25426
  if (!On(e)) {
25426
25427
  let i = cr(e);
25427
25428
  for (; i && !li(i); ) {
25428
- if (dn(i) && !Qa(i))
25429
+ if (fn(i) && !Qa(i))
25429
25430
  return i;
25430
25431
  i = cr(i);
25431
25432
  }
@@ -25451,7 +25452,7 @@ const rk = function(e) {
25451
25452
  });
25452
25453
  };
25453
25454
  function ik(e) {
25454
- return fn(e).direction === "rtl";
25455
+ return hn(e).direction === "rtl";
25455
25456
  }
25456
25457
  const sk = {
25457
25458
  convertOffsetParentRelativeRectToViewportRelativeRect: G3,
@@ -25462,7 +25463,7 @@ const sk = {
25462
25463
  getClientRects: W3,
25463
25464
  getDimensions: tk,
25464
25465
  getScale: ri,
25465
- isElement: dn,
25466
+ isElement: fn,
25466
25467
  isRTL: ik
25467
25468
  };
25468
25469
  function Ag(e, t) {
@@ -25977,7 +25978,7 @@ function jk(e, t) {
25977
25978
  var W, v;
25978
25979
  const x = o && !Sf() ? it : ($) => $(), L = I != null ? I : b, B = (v = (W = L == null ? void 0 : L.composedPath) == null ? void 0 : W.call(L)) != null ? v : [L == null ? void 0 : L.target];
25979
25980
  x(() => {
25980
- const $ = m ? B[0] : un(b);
25981
+ const $ = m ? B[0] : cn(b);
25981
25982
  if (!(!e || !p(b, $))) {
25982
25983
  if (i || s) {
25983
25984
  const X = Fu(i, s);
@@ -26004,7 +26005,7 @@ function jk(e, t) {
26004
26005
  function T(b) {
26005
26006
  (o ? it : (I) => I())(() => {
26006
26007
  var L, B;
26007
- const I = (B = (L = b == null ? void 0 : b.composedPath) == null ? void 0 : L.call(b)) != null ? B : [b == null ? void 0 : b.target], x = m ? I[0] : un(b);
26008
+ const I = (B = (L = b == null ? void 0 : b.composedPath) == null ? void 0 : L.call(b)) != null ? B : [b == null ? void 0 : b.target], x = m ? I[0] : cn(b);
26008
26009
  if (!(!e || !p(b, x))) {
26009
26010
  if (r || s) {
26010
26011
  const W = Fu(r, s);
@@ -26048,7 +26049,7 @@ function Wk(e, t) {
26048
26049
  };
26049
26050
  return ut(kn(e), "keydown", n, { capture: !0 });
26050
26051
  }
26051
- var Yf = "layer:request-dismiss", Jt = {
26052
+ var Yf = "layer:request-dismiss", Zt = {
26052
26053
  layers: [],
26053
26054
  branches: [],
26054
26055
  count() {
@@ -26104,7 +26105,7 @@ var Yf = "layer:request-dismiss", Jt = {
26104
26105
  },
26105
26106
  remove(e) {
26106
26107
  const t = this.indexOf(e);
26107
- t < 0 || (t < this.count() - 1 && this.getNestedLayers(e).forEach((r) => Jt.dismiss(r.node, e)), this.layers.splice(t, 1), this.syncLayers());
26108
+ t < 0 || (t < this.count() - 1 && this.getNestedLayers(e).forEach((r) => Zt.dismiss(r.node, e)), this.layers.splice(t, 1), this.syncLayers());
26108
26109
  },
26109
26110
  removeBranch(e) {
26110
26111
  const t = this.branches.indexOf(e);
@@ -26147,8 +26148,8 @@ function Kk(e, t, n) {
26147
26148
  }
26148
26149
  var jf;
26149
26150
  function Gf() {
26150
- Jt.layers.forEach(({ node: e }) => {
26151
- e.style.pointerEvents = Jt.isBelowPointerBlockingLayer(e) ? "none" : "auto";
26151
+ Zt.layers.forEach(({ node: e }) => {
26152
+ e.style.pointerEvents = Zt.isBelowPointerBlockingLayer(e) ? "none" : "auto";
26152
26153
  });
26153
26154
  }
26154
26155
  function Qk(e) {
@@ -26156,7 +26157,7 @@ function Qk(e) {
26156
26157
  }
26157
26158
  function Jk(e, t) {
26158
26159
  const n = kn(e), r = [];
26159
- return Jt.hasPointerBlockingLayer() && !n.body.hasAttribute("data-inert") && (jf = document.body.style.pointerEvents, queueMicrotask(() => {
26160
+ return Zt.hasPointerBlockingLayer() && !n.body.hasAttribute("data-inert") && (jf = document.body.style.pointerEvents, queueMicrotask(() => {
26160
26161
  n.body.style.pointerEvents = "none", n.body.setAttribute("data-inert", "");
26161
26162
  })), t == null || t.forEach((i) => {
26162
26163
  const [s, o] = r3(
@@ -26168,7 +26169,7 @@ function Jk(e, t) {
26168
26169
  );
26169
26170
  s.then((a) => r.push(Oo(a, { pointerEvents: "auto" }))), r.push(o);
26170
26171
  }), () => {
26171
- Jt.hasPointerBlockingLayer() || (queueMicrotask(() => {
26172
+ Zt.hasPointerBlockingLayer() || (queueMicrotask(() => {
26172
26173
  n.body.style.pointerEvents = jf, n.body.removeAttribute("data-inert"), n.body.style.length === 0 && n.body.removeAttribute("style");
26173
26174
  }), r.forEach((i) => i()));
26174
26175
  };
@@ -26182,26 +26183,26 @@ function Zk(e, t) {
26182
26183
  if (!e)
26183
26184
  return;
26184
26185
  const { onDismiss: r, onRequestDismiss: i, pointerBlocking: s, exclude: o, debug: a, type: u = "dialog" } = t, c = { dismiss: r, node: e, type: u, pointerBlocking: s, requestDismiss: i };
26185
- Jt.add(c), Gf();
26186
+ Zt.add(c), Gf();
26186
26187
  function l(E) {
26187
26188
  var g, T;
26188
- const A = un(E.detail.originalEvent);
26189
- Jt.isBelowPointerBlockingLayer(e) || Jt.isInBranch(A) || ((g = t.onPointerDownOutside) == null || g.call(t, E), (T = t.onInteractOutside) == null || T.call(t, E), !E.defaultPrevented && (a && console.log("onPointerDownOutside:", E.detail.originalEvent), r == null || r()));
26189
+ const A = cn(E.detail.originalEvent);
26190
+ Zt.isBelowPointerBlockingLayer(e) || Zt.isInBranch(A) || ((g = t.onPointerDownOutside) == null || g.call(t, E), (T = t.onInteractOutside) == null || T.call(t, E), !E.defaultPrevented && (a && console.log("onPointerDownOutside:", E.detail.originalEvent), r == null || r()));
26190
26191
  }
26191
26192
  function d(E) {
26192
26193
  var g, T;
26193
- const A = un(E.detail.originalEvent);
26194
- Jt.isInBranch(A) || ((g = t.onFocusOutside) == null || g.call(t, E), (T = t.onInteractOutside) == null || T.call(t, E), !E.defaultPrevented && (a && console.log("onFocusOutside:", E.detail.originalEvent), r == null || r()));
26194
+ const A = cn(E.detail.originalEvent);
26195
+ Zt.isInBranch(A) || ((g = t.onFocusOutside) == null || g.call(t, E), (T = t.onInteractOutside) == null || T.call(t, E), !E.defaultPrevented && (a && console.log("onFocusOutside:", E.detail.originalEvent), r == null || r()));
26195
26196
  }
26196
26197
  function p(E) {
26197
26198
  var A;
26198
- Jt.isTopMost(e) && ((A = t.onEscapeKeyDown) == null || A.call(t, E), !E.defaultPrevented && r && (E.preventDefault(), r()));
26199
+ Zt.isTopMost(e) && ((A = t.onEscapeKeyDown) == null || A.call(t, E), !E.defaultPrevented && r && (E.preventDefault(), r()));
26199
26200
  }
26200
26201
  function h(E) {
26201
26202
  var b;
26202
26203
  if (!e) return !1;
26203
26204
  const A = typeof o == "function" ? o() : o, g = Array.isArray(A) ? A : [A], T = (b = t.persistentElements) == null ? void 0 : b.map((k) => k()).filter(dt);
26204
- return T && g.push(...T), g.some((k) => ci(k, E)) || Jt.isInNestedLayer(e, E);
26205
+ return T && g.push(...T), g.some((k) => ci(k, E)) || Zt.isInNestedLayer(e, E);
26205
26206
  }
26206
26207
  const m = [
26207
26208
  s ? Jk(e, t.persistentElements) : void 0,
@@ -26209,7 +26210,7 @@ function Zk(e, t) {
26209
26210
  Gk(e, { exclude: h, onFocusOutside: d, onPointerDownOutside: l, defer: t.defer })
26210
26211
  ];
26211
26212
  return () => {
26212
- Jt.remove(e), Gf(), Qk(e), m.forEach((E) => E == null ? void 0 : E());
26213
+ Zt.remove(e), Gf(), Qk(e), m.forEach((E) => E == null ? void 0 : E());
26213
26214
  };
26214
26215
  }
26215
26216
  function Pg(e, t) {
@@ -26249,7 +26250,7 @@ var eR = Object.defineProperty, tR = (e, t, n) => t in e ? eR(e, t, { enumerable
26249
26250
  delayInitialFocusTimer: void 0,
26250
26251
  recentNavEvent: void 0
26251
26252
  }), Ve(this, "portalContainers", /* @__PURE__ */ new Set()), Ve(this, "listenerCleanups", []), Ve(this, "handleFocus", (r) => {
26252
- const i = un(r), s = this.findContainerIndex(i, r) >= 0;
26253
+ const i = cn(r), s = this.findContainerIndex(i, r) >= 0;
26253
26254
  if (s || ia(i))
26254
26255
  s && (this.state.mostRecentlyFocusedNode = i);
26255
26256
  else {
@@ -26275,7 +26276,7 @@ var eR = Object.defineProperty, tR = (e, t, n) => t in e ? eR(e, t, { enumerable
26275
26276
  }
26276
26277
  this.state.recentNavEvent = void 0;
26277
26278
  }), Ve(this, "handlePointerDown", (r) => {
26278
- const i = un(r);
26279
+ const i = cn(r);
26279
26280
  if (!(this.findContainerIndex(i, r) >= 0)) {
26280
26281
  if (zi(this.config.clickOutsideDeactivates, r)) {
26281
26282
  this.deactivate({ returnFocus: this.config.returnFocusOnDeactivate });
@@ -26284,7 +26285,7 @@ var eR = Object.defineProperty, tR = (e, t, n) => t in e ? eR(e, t, { enumerable
26284
26285
  zi(this.config.allowOutsideClick, r) || r.preventDefault();
26285
26286
  }
26286
26287
  }), Ve(this, "handleClick", (r) => {
26287
- const i = un(r);
26288
+ const i = cn(r);
26288
26289
  this.findContainerIndex(i, r) >= 0 || zi(this.config.clickOutsideDeactivates, r) || zi(this.config.allowOutsideClick, r) || (r.preventDefault(), r.stopImmediatePropagation());
26289
26290
  }), Ve(this, "handleTabKey", (r) => {
26290
26291
  if (this.config.isKeyForward(r) || this.config.isKeyBackward(r)) {
@@ -26402,7 +26403,7 @@ var eR = Object.defineProperty, tR = (e, t, n) => t in e ? eR(e, t, { enumerable
26402
26403
  }
26403
26404
  return a;
26404
26405
  }), Ve(this, "findNextNavNode", (r) => {
26405
- const { event: i, isBackward: s = !1 } = r, o = r.target || un(i);
26406
+ const { event: i, isBackward: s = !1 } = r, o = r.target || cn(i);
26406
26407
  this.updateTabbableNodes();
26407
26408
  let a = null;
26408
26409
  if (this.state.tabbableGroups.length > 0) {
@@ -27010,7 +27011,7 @@ xi()([
27010
27011
  "portalled",
27011
27012
  "positioning"
27012
27013
  ]);
27013
- const [Uv, ha] = Hr({
27014
+ const [Bv, ha] = Hr({
27014
27015
  name: "EnvironmentContext",
27015
27016
  hookName: "useEnvironmentContext",
27016
27017
  providerName: "<EnvironmentProvider />",
@@ -27020,7 +27021,7 @@ const [Uv, ha] = Hr({
27020
27021
  getDocument: () => document,
27021
27022
  getWindow: () => window
27022
27023
  }
27023
- }), [Hv, ul] = Hr({
27024
+ }), [Uv, ul] = Hr({
27024
27025
  name: "LocaleContext",
27025
27026
  hookName: "useLocaleContext",
27026
27027
  providerName: "<LocaleProvider />",
@@ -27330,14 +27331,14 @@ function vR(e, t) {
27330
27331
  dir: a("dir"),
27331
27332
  "aria-live": u ? "off" : "polite",
27332
27333
  onFocus(T) {
27333
- ci(T.currentTarget, un(T)) && s({ type: "VIEWPORT.FOCUS" });
27334
+ ci(T.currentTarget, cn(T)) && s({ type: "VIEWPORT.FOCUS" });
27334
27335
  },
27335
27336
  onBlur(T) {
27336
27337
  ci(T.currentTarget, T.relatedTarget) || s({ type: "VIEWPORT.BLUR" });
27337
27338
  },
27338
27339
  onMouseDown(T) {
27339
27340
  if (T.defaultPrevented || !a("allowMouseDrag") || !Z0(T)) return;
27340
- const b = un(T);
27341
+ const b = cn(T);
27341
27342
  xn(b) && b !== T.currentTarget || (T.preventDefault(), s({ type: "DRAGGING.START" }));
27342
27343
  },
27343
27344
  onWheel: ew((T) => {
@@ -28411,7 +28412,7 @@ const rL = ({ children: e }) => {
28411
28412
  throw new Error("useOverflowMenuDispatch must be used within an OverflowMenuProvider");
28412
28413
  return e;
28413
28414
  }, iL = ({ componentType: e, children: t }) => {
28414
- const { isOpen: n, panelId: r, triggerId: i } = Jg(), { closeMenu: s } = Zg(), { globalClassName: o } = xe(), a = hn(), u = Oe(null);
28415
+ const { isOpen: n, panelId: r, triggerId: i } = Jg(), { closeMenu: s } = Zg(), { globalClassName: o } = xe(), a = $t(), u = Oe(null);
28415
28416
  return Ie(() => {
28416
28417
  var p;
28417
28418
  if (!n) return;
@@ -28443,7 +28444,7 @@ const rL = ({ children: e }) => {
28443
28444
  }
28444
28445
  ) : null;
28445
28446
  }, sL = ({ componentType: e, className: t }) => {
28446
- const { toggleMenu: n } = Zg(), { isOpen: r, panelId: i, triggerId: s } = Jg(), { globalClassName: o } = xe(), a = hn();
28447
+ const { toggleMenu: n } = Zg(), { isOpen: r, panelId: i, triggerId: s } = Jg(), { globalClassName: o } = xe(), a = $t();
28447
28448
  return /* @__PURE__ */ y(
28448
28449
  "button",
28449
28450
  {
@@ -28465,13 +28466,13 @@ const rL = ({ children: e }) => {
28465
28466
  }
28466
28467
  );
28467
28468
  }, fl = () => {
28468
- const { status: e, entryType: t } = Wt(), { messages: n } = Ht(), r = t === "ask_cim", i = !!(n && n.length > 0), s = !!e.isOpen;
28469
+ const { status: e, entryType: t } = Xt(), { messages: n } = Ht(), r = t === "ask_cim", i = !!(n && n.length > 0), s = !!e.isOpen;
28469
28470
  return r && s || !r && s && i;
28470
28471
  }, oL = ({
28471
28472
  componentType: e,
28472
28473
  isIcon: t
28473
28474
  }) => {
28474
- const { globalClassName: n } = xe(), { previousComponentType: r } = Wt(), i = Ur(), s = () => {
28475
+ const { globalClassName: n } = xe(), { previousComponentType: r } = Xt(), i = Ur(), s = () => {
28475
28476
  qo(r || "dialog"), i();
28476
28477
  };
28477
28478
  return t ? /* @__PURE__ */ y(
@@ -28545,7 +28546,7 @@ const rL = ({ children: e }) => {
28545
28546
  componentType: e,
28546
28547
  isIcon: t
28547
28548
  }) => {
28548
- const { globalClassName: n } = xe(), { isModalFullscreen: r } = Wt(), i = Ur(), s = hn(), o = () => {
28549
+ const { globalClassName: n } = xe(), { isModalFullscreen: r } = Xt(), i = Ur(), s = $t(), o = () => {
28549
28550
  yc(!r), i();
28550
28551
  }, a = r ? G2 : W2, u = s.controls.toggleFullscreen;
28551
28552
  return t ? /* @__PURE__ */ y(
@@ -28581,7 +28582,7 @@ const rL = ({ children: e }) => {
28581
28582
  componentType: e,
28582
28583
  isIcon: t
28583
28584
  }) => {
28584
- const { globalClassName: n } = xe(), { dialogPosition: r } = Wt(), i = Ur(), s = hn(), o = r === "bottom-left", a = () => {
28585
+ const { globalClassName: n } = xe(), { dialogPosition: r } = Xt(), i = Ur(), s = $t(), o = r === "bottom-left", a = () => {
28585
28586
  _c(o ? "bottom-right" : "bottom-left"), i();
28586
28587
  }, u = o ? ER : gR, c = o ? s.controls.moveRight : s.controls.moveLeft;
28587
28588
  return t ? /* @__PURE__ */ y(
@@ -28656,7 +28657,7 @@ const rL = ({ children: e }) => {
28656
28657
  onClose: c,
28657
28658
  onDownloadTranscript: l
28658
28659
  }) => {
28659
- const { headerConfig: d, globalClassName: p, themeVariants: h, themeVariables: m } = xe(), { mode: E } = Wt(), A = E === "standalone", g = e === "modal", T = (Z) => n === void 0 || n[Z], b = (Z, U = !0) => t.includes(Z) && T(Z) && U, k = T("toggleExpanded"), I = b(
28660
+ const { headerConfig: d, globalClassName: p, themeVariants: h, themeVariables: m } = xe(), { mode: E } = Xt(), A = E === "standalone", g = e === "modal", T = (Z) => n === void 0 || n[Z], b = (Z, U = !0) => t.includes(Z) && T(Z) && U, k = T("toggleExpanded"), I = b(
28660
28661
  g ? "toggleFullscreen" : "toggleDialogPosition"
28661
28662
  ), x = b("minimize"), L = b("clearChat"), B = T("close"), W = b("endConversation", !!u), v = b(
28662
28663
  "downloadTranscript",
@@ -28783,7 +28784,7 @@ const rL = ({ children: e }) => {
28783
28784
  onDownloadTranscript: e,
28784
28785
  componentType: t
28785
28786
  }) => {
28786
- const { logger: n } = xe(), r = Ur(), [i, s] = Te(!1), o = hn(), a = () => Ae(null, null, function* () {
28787
+ const { logger: n } = xe(), r = Ur(), [i, s] = Te(!1), o = $t(), a = () => Ae(null, null, function* () {
28787
28788
  if (!i) {
28788
28789
  s(!0);
28789
28790
  try {
@@ -28904,7 +28905,7 @@ const rL = ({ children: e }) => {
28904
28905
  componentType: e,
28905
28906
  isIcon: t
28906
28907
  }) => {
28907
- const { globalClassName: n, enableMinimize: r } = xe(), i = hn();
28908
+ const { globalClassName: n, enableMinimize: r } = xe(), i = $t();
28908
28909
  if (!r) return null;
28909
28910
  const s = () => {
28910
28911
  qn(!1), cs(!0), xc();
@@ -29462,7 +29463,7 @@ function qL(e) {
29462
29463
  }
29463
29464
  function VL(e) {
29464
29465
  const t = this.resume(), n = this.stack[this.stack.length - 1];
29465
- n.type, n.identifier = cn(
29466
+ n.type, n.identifier = ln(
29466
29467
  this.sliceSerialize(e)
29467
29468
  ).toLowerCase(), n.label = t;
29468
29469
  }
@@ -29471,7 +29472,7 @@ function YL(e) {
29471
29472
  }
29472
29473
  function jL(e) {
29473
29474
  const t = this.resume(), n = this.stack[this.stack.length - 1];
29474
- n.type, n.identifier = cn(
29475
+ n.type, n.identifier = ln(
29475
29476
  this.sliceSerialize(e)
29476
29477
  ).toLowerCase(), n.label = t;
29477
29478
  }
@@ -30660,7 +30661,7 @@ function d4(e, t, n) {
30660
30661
  function a(u) {
30661
30662
  if (!o || !o._balanced)
30662
30663
  return n(u);
30663
- const c = cn(r.sliceSerialize({
30664
+ const c = ln(r.sliceSerialize({
30664
30665
  start: o.end,
30665
30666
  end: r.now()
30666
30667
  }));
@@ -30739,7 +30740,7 @@ function h4(e, t, n) {
30739
30740
  if (d === 93) {
30740
30741
  e.exit("chunkString");
30741
30742
  const p = e.exit("gfmFootnoteCallString");
30742
- return i.includes(cn(r.sliceSerialize(p))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(d), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(d);
30743
+ return i.includes(ln(r.sliceSerialize(p))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(d), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(d);
30743
30744
  }
30744
30745
  return Ue(d) || (o = !0), s++, e.consume(d), d === 92 ? l : c;
30745
30746
  }
@@ -30769,7 +30770,7 @@ function p4(e, t, n) {
30769
30770
  if (m === 93) {
30770
30771
  e.exit("chunkString");
30771
30772
  const E = e.exit("gfmFootnoteDefinitionLabelString");
30772
- return s = cn(r.sliceSerialize(E)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(m), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
30773
+ return s = ln(r.sliceSerialize(E)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(m), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
30773
30774
  }
30774
30775
  return Ue(m) || (a = !0), o++, e.consume(m), m === 92 ? d : l;
30775
30776
  }
@@ -30833,7 +30834,7 @@ function b4(e) {
30833
30834
  start: Object.assign({}, o[c][1].end),
30834
30835
  end: Object.assign({}, o[u][1].start)
30835
30836
  }, p = [["enter", l, a], ["enter", o[c][1], a], ["exit", o[c][1], a], ["enter", d, a]], h = a.parser.constructs.insideSpan.null;
30836
- h && jt(p, p.length, 0, Wo(h, o.slice(c + 1, u), a)), jt(p, p.length, 0, [["exit", d, a], ["enter", o[u][1], a], ["exit", o[u][1], a], ["exit", l, a]]), jt(o, c - 1, u - c + 3, p), u = c + p.length - 2;
30837
+ h && Gt(p, p.length, 0, Wo(h, o.slice(c + 1, u), a)), Gt(p, p.length, 0, [["exit", d, a], ["enter", o[u][1], a], ["exit", o[u][1], a], ["exit", l, a]]), Gt(o, c - 1, u - c + 3, p), u = c + p.length - 2;
30837
30838
  break;
30838
30839
  }
30839
30840
  }
@@ -31734,7 +31735,7 @@ const bl = ({
31734
31735
  return null;
31735
31736
  }
31736
31737
  }, U4 = ({ isWidgetStandalone: e, handleSuggestionClick: t }) => {
31737
- const { globalClassName: n, openLinksInNewTab: r, resetConversationMessage: i } = xe(), { groupedMessages: s } = Ht(), { entryType: o } = Wt();
31738
+ const { globalClassName: n, openLinksInNewTab: r, resetConversationMessage: i } = xe(), { groupedMessages: s } = Ht(), { entryType: o } = Xt();
31738
31739
  return /* @__PURE__ */ ne(Bt, { children: [
31739
31740
  o === "ask_cim" && /* @__PURE__ */ y(gL, { isWidgetStandalone: e }),
31740
31741
  s.map((a) => {
@@ -31961,7 +31962,7 @@ const bl = ({
31961
31962
  "minimize",
31962
31963
  "clearChat"
31963
31964
  ], IE = () => {
31964
- const { themeClassName: e, globalClassName: t, themeVariables: n, messageAlignment: r, headerConfig: i } = xe(), { mode: s, status: o, dialogPosition: a, isDialogFullHeight: u, dialogWidth: c } = Wt(), l = Sc(), {
31965
+ const { themeClassName: e, globalClassName: t, themeVariables: n, messageAlignment: r, headerConfig: i } = xe(), { mode: s, status: o, dialogPosition: a, isDialogFullHeight: u, dialogWidth: c } = Xt(), l = Sc(), {
31965
31966
  copilot: d,
31966
31967
  isLoading: p,
31967
31968
  isConnecting: h,
@@ -32065,7 +32066,7 @@ const bl = ({
32065
32066
  }
32066
32067
  ) : /* @__PURE__ */ y("div", { children: "Loading Copilot..." });
32067
32068
  }, wE = () => {
32068
- const { themeClassName: e, globalClassName: t, themeVariables: n, messageAlignment: r, headerConfig: i } = xe(), { mode: s, status: o, isModalFullscreen: a } = Wt(), {
32069
+ const { themeClassName: e, globalClassName: t, themeVariables: n, messageAlignment: r, headerConfig: i } = xe(), { mode: s, status: o, isModalFullscreen: a } = Xt(), {
32069
32070
  copilot: u,
32070
32071
  isLoading: c,
32071
32072
  isConnecting: l,
@@ -32188,7 +32189,7 @@ const bl = ({
32188
32189
  }
32189
32190
  ) : /* @__PURE__ */ y("div", { children: "Loading Copilot..." }) : null;
32190
32191
  }, K4 = () => {
32191
- const e = Wt(), {
32192
+ const e = Xt(), {
32192
32193
  status: { type: t, isMinimized: n }
32193
32194
  } = e || { status: {} };
32194
32195
  return n ? /* @__PURE__ */ y($2, {}) : t === "dialog" ? /* @__PURE__ */ y(IE, {}) : t === "modal" ? /* @__PURE__ */ y(wE, {}) : /* @__PURE__ */ y(NE, {});
@@ -32243,14 +32244,14 @@ const bl = ({
32243
32244
  e.off("follow_up", p), e.off("inquiry", h), e.off("error", m);
32244
32245
  };
32245
32246
  }, [e, p, h, m]), null;
32246
- }, kE = {
32247
- copilot: "Ask Copilot",
32248
- messaging: "Ask a question"
32247
+ }, kE = (e) => {
32248
+ const { mode: t } = xe(), n = $t(), r = t === "messaging" ? n.prompts.placeholderAskAQuestion : n.prompts.placeholderAskCopilot;
32249
+ return e || r;
32249
32250
  }, Z4 = ({
32250
32251
  onSubmit: e,
32251
32252
  disabled: t = !1
32252
32253
  }) => {
32253
- const { globalClassName: n, mode: r } = xe(), { placeholder: i, isResponseLoading: s } = Yn(), o = i || kE[r], [a, u] = Te(""), c = t || s, l = (p) => {
32254
+ const { globalClassName: n } = xe(), { placeholder: r, isResponseLoading: i } = Yn(), s = $t(), o = kE(r), [a, u] = Te(""), c = t || i, l = (p) => {
32254
32255
  if (p.preventDefault(), c) return;
32255
32256
  const h = a.trim();
32256
32257
  h && (e(h), u(""));
@@ -32293,7 +32294,7 @@ const bl = ({
32293
32294
  {
32294
32295
  className: D(n, `${w}-prompts-input-submit-button`),
32295
32296
  type: "submit",
32296
- ariaLabel: "Submit Prompt",
32297
+ ariaLabel: s.prompts.submitPromptAriaLabel,
32297
32298
  icon: /* @__PURE__ */ y(gi, {}),
32298
32299
  disabled: c
32299
32300
  }
@@ -32302,7 +32303,7 @@ const bl = ({
32302
32303
  }
32303
32304
  );
32304
32305
  }, ev = () => {
32305
- const { globalClassName: e, mode: t } = xe(), { placeholder: n } = Yn(), r = n || kE[t];
32306
+ const { globalClassName: e } = xe(), { placeholder: t } = Yn(), n = kE(t);
32306
32307
  return /* @__PURE__ */ ne("div", { className: D(e, `${w}-prompts-header`), children: [
32307
32308
  /* @__PURE__ */ y(
32308
32309
  cl,
@@ -32311,7 +32312,7 @@ const bl = ({
32311
32312
  "aria-hidden": "true"
32312
32313
  }
32313
32314
  ),
32314
- /* @__PURE__ */ y("span", { className: D(e, `${w}-prompts-header-text`), children: r })
32315
+ /* @__PURE__ */ y("span", { className: D(e, `${w}-prompts-header-text`), children: n })
32315
32316
  ] });
32316
32317
  }, RE = ({
32317
32318
  label: e,
@@ -32335,17 +32336,20 @@ const bl = ({
32335
32336
  ]
32336
32337
  }
32337
32338
  );
32338
- }, tv = "Ask me something else", nv = ({
32339
+ }, tv = ({
32339
32340
  label: e,
32340
32341
  disabled: t = !1
32341
- }) => /* @__PURE__ */ y(
32342
- RE,
32343
- {
32344
- label: e || tv,
32345
- disabled: t,
32346
- onClick: () => qn(!0)
32347
- }
32348
- ), rv = ({
32342
+ }) => {
32343
+ const n = $t();
32344
+ return /* @__PURE__ */ y(
32345
+ RE,
32346
+ {
32347
+ label: e || n.prompts.askMeSomethingElse,
32348
+ disabled: t,
32349
+ onClick: () => qn(!0)
32350
+ }
32351
+ );
32352
+ }, nv = ({
32349
32353
  sendCopilotPrompt: e
32350
32354
  }) => {
32351
32355
  var A, g;
@@ -32373,9 +32377,9 @@ const bl = ({
32373
32377
  },
32374
32378
  T
32375
32379
  )),
32376
- m && /* @__PURE__ */ y(nv, { label: o, disabled: r })
32380
+ m && /* @__PURE__ */ y(tv, { label: o, disabled: r })
32377
32381
  ] });
32378
- }, iv = () => {
32382
+ }, rv = () => {
32379
32383
  const { globalClassName: e } = xe(), { isInline: t, userPrompt: n } = Yn();
32380
32384
  return !n || !t ? null : /* @__PURE__ */ y(
32381
32385
  "div",
@@ -32384,7 +32388,7 @@ const bl = ({
32384
32388
  children: /* @__PURE__ */ y("p", { className: D(e, `${w}-prompts-user-message`), children: n })
32385
32389
  }
32386
32390
  );
32387
- }, sv = () => {
32391
+ }, iv = () => {
32388
32392
  const { globalClassName: e, openLinksInNewTab: t, onNavigate: n } = xe(), { isInline: r, responseMessage: i, isResponseLoading: s } = Yn();
32389
32393
  if (!r || !i && !s) return null;
32390
32394
  if (s)
@@ -32410,10 +32414,10 @@ const bl = ({
32410
32414
  )
32411
32415
  }
32412
32416
  );
32413
- }, ov = () => {
32417
+ }, sv = () => {
32414
32418
  const { globalClassName: e, themeVariables: t } = xe(), { connected: n, copilot: r } = Ht(), { handleCopilotRequestAck: i } = Mr(), {
32415
32419
  status: { isOpen: s }
32416
- } = Wt(), {
32420
+ } = Xt(), {
32417
32421
  isOpen: o,
32418
32422
  isInline: a,
32419
32423
  elementId: u,
@@ -32487,7 +32491,7 @@ const bl = ({
32487
32491
  children: [
32488
32492
  p && /* @__PURE__ */ y(Z4, { onSubmit: k }),
32489
32493
  !p && /* @__PURE__ */ y(ev, {}),
32490
- h && /* @__PURE__ */ y(rv, { sendCopilotPrompt: k }),
32494
+ h && /* @__PURE__ */ y(nv, { sendCopilotPrompt: k }),
32491
32495
  /* @__PURE__ */ ne(
32492
32496
  "div",
32493
32497
  {
@@ -32496,8 +32500,8 @@ const bl = ({
32496
32500
  `${w}-prompts-extension-messages-container`
32497
32501
  ),
32498
32502
  children: [
32499
- /* @__PURE__ */ y(iv, {}),
32500
- /* @__PURE__ */ y(sv, {})
32503
+ /* @__PURE__ */ y(rv, {}),
32504
+ /* @__PURE__ */ y(iv, {})
32501
32505
  ]
32502
32506
  }
32503
32507
  )
@@ -32506,16 +32510,16 @@ const bl = ({
32506
32510
  ),
32507
32511
  T
32508
32512
  );
32509
- }, av = () => /* @__PURE__ */ ne(Bt, { children: [
32513
+ }, ov = () => /* @__PURE__ */ ne(Bt, { children: [
32510
32514
  /* @__PURE__ */ y(J4, {}),
32511
- /* @__PURE__ */ y(ov, {})
32515
+ /* @__PURE__ */ y(sv, {})
32512
32516
  ] }), LE = (e) => /* @__PURE__ */ ne(um, V(P({}, e), { children: [
32513
32517
  /* @__PURE__ */ y(K4, {}),
32514
- /* @__PURE__ */ y(av, {})
32518
+ /* @__PURE__ */ y(ov, {})
32515
32519
  ] })), ph = /* @__PURE__ */ new WeakMap(), vE = (e, t) => {
32516
32520
  let n = ph.get(e);
32517
32521
  n || (n = qE(e), ph.set(e, n)), n.render(/* @__PURE__ */ y(LE, P({}, t)));
32518
- }, uv = (r) => {
32522
+ }, av = (r) => {
32519
32523
  var i = r, {
32520
32524
  elementId: e,
32521
32525
  timeout: t = 5e3
@@ -32540,7 +32544,7 @@ const bl = ({
32540
32544
  `Element with id: ${e} not found within ${t} milliseconds, stopping observation`
32541
32545
  );
32542
32546
  }, t), a;
32543
- }, cv = (r) => {
32547
+ }, uv = (r) => {
32544
32548
  var i = r, {
32545
32549
  timeout: e,
32546
32550
  elementId: t
@@ -32554,11 +32558,11 @@ const bl = ({
32554
32558
  }
32555
32559
  const s = document.getElementById(t);
32556
32560
  if (!s) {
32557
- ti(!0, "warn", "Container element not found for id:", t), ti(!0, "warn", "Beginning observation for element"), uv(P({ elementId: t, timeout: e }, n));
32561
+ ti(!0, "warn", "Container element not found for id:", t), ti(!0, "warn", "Beginning observation for element"), av(P({ elementId: t, timeout: e }, n));
32558
32562
  return;
32559
32563
  }
32560
32564
  vE(s, n);
32561
- }, lv = {
32565
+ }, cv = {
32562
32566
  search: v_,
32563
32567
  browse: d_,
32564
32568
  pdp: {
@@ -32582,27 +32586,27 @@ const bl = ({
32582
32586
  getProductViewPrompts: __
32583
32587
  },
32584
32588
  session: O_
32585
- }, dv = () => Object.freeze({
32589
+ }, lv = () => Object.freeze({
32586
32590
  search: Object.freeze(qe.state),
32587
32591
  browse: Object.freeze(Me.state),
32588
- pdp: Object.freeze(ln.state),
32592
+ pdp: Object.freeze(dn.state),
32589
32593
  isConnected: Se.state.connected,
32590
32594
  isOpen: Se.isOpen,
32591
32595
  entryType: Se.entryType
32592
- }), $v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32596
+ }), Hv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32593
32597
  __proto__: null,
32594
32598
  CopilotDialog: IE,
32595
32599
  CopilotEmbed: NE,
32596
32600
  CopilotModal: wE,
32597
32601
  CopilotWidget: LE,
32598
32602
  CopilotWidgetProvider: um,
32599
- eventHandlers: lv,
32600
- injectCopilotWidget: cv,
32603
+ eventHandlers: cv,
32604
+ injectCopilotWidget: uv,
32601
32605
  resolveTheme: Yh,
32602
- state: dv,
32606
+ state: lv,
32603
32607
  themes: yb,
32604
32608
  useCopilot: In
32605
32609
  }, Symbol.toStringTag, { value: "Module" }));
32606
32610
  export {
32607
- $v as default
32611
+ Hv as default
32608
32612
  };