react-addsearch-ui 0.2.12 → 0.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -3,11 +3,11 @@ var Co = (t, i, f) => i in t ? _o(t, i, { enumerable: !0, configurable: !0, writ
3
3
  var Ve = (t, i, f) => Co(t, typeof i != "symbol" ? i + "" : i, f);
4
4
  import * as St from "react";
5
5
  import _i from "react";
6
- var tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
+ var nt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function Ci(t) {
8
8
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
9
9
  }
10
- var dr = { exports: {} }, ln = {};
10
+ var dr = { exports: {} }, an = {};
11
11
  /**
12
12
  * @license React
13
13
  * react-jsx-runtime.production.min.js
@@ -19,7 +19,7 @@ var dr = { exports: {} }, ln = {};
19
19
  */
20
20
  var Gr;
21
21
  function Oo() {
22
- if (Gr) return ln;
22
+ if (Gr) return an;
23
23
  Gr = 1;
24
24
  var t = _i, i = Symbol.for("react.element"), f = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, E = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, b = { key: !0, ref: !0, __self: !0, __source: !0 };
25
25
  function c(n, v, o) {
@@ -29,9 +29,9 @@ function Oo() {
29
29
  if (n && n.defaultProps) for (e in v = n.defaultProps, v) p[e] === void 0 && (p[e] = v[e]);
30
30
  return { $$typeof: i, type: n, key: C, ref: u, props: p, _owner: E.current };
31
31
  }
32
- return ln.Fragment = f, ln.jsx = c, ln.jsxs = c, ln;
32
+ return an.Fragment = f, an.jsx = c, an.jsxs = c, an;
33
33
  }
34
- var cn = {};
34
+ var ln = {};
35
35
  /**
36
36
  * @license React
37
37
  * react-jsx-runtime.development.js
@@ -54,19 +54,19 @@ function Ro() {
54
54
  var d = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
55
  function m(D) {
56
56
  {
57
- for (var ae = arguments.length, he = new Array(ae > 1 ? ae - 1 : 0), Ee = 1; Ee < ae; Ee++)
58
- he[Ee - 1] = arguments[Ee];
59
- l("error", D, he);
57
+ for (var ae = arguments.length, fe = new Array(ae > 1 ? ae - 1 : 0), Ee = 1; Ee < ae; Ee++)
58
+ fe[Ee - 1] = arguments[Ee];
59
+ l("error", D, fe);
60
60
  }
61
61
  }
62
- function l(D, ae, he) {
62
+ function l(D, ae, fe) {
63
63
  {
64
- var Ee = d.ReactDebugCurrentFrame, Le = Ee.getStackAddendum();
65
- Le !== "" && (ae += "%s", he = he.concat([Le]));
66
- var $e = he.map(function(je) {
67
- return String(je);
64
+ var Ee = d.ReactDebugCurrentFrame, De = Ee.getStackAddendum();
65
+ De !== "" && (ae += "%s", fe = fe.concat([De]));
66
+ var He = fe.map(function(Le) {
67
+ return String(Le);
68
68
  });
69
- $e.unshift("Warning: " + ae), Function.prototype.apply.call(console[D], console, $e);
69
+ He.unshift("Warning: " + ae), Function.prototype.apply.call(console[D], console, He);
70
70
  }
71
71
  }
72
72
  var h = !1, _ = !1, S = !1, F = !1, T = !1, A;
@@ -78,12 +78,12 @@ function Ro() {
78
78
  // with.
79
79
  D.$$typeof === A || D.getModuleId !== void 0));
80
80
  }
81
- function U(D, ae, he) {
81
+ function U(D, ae, fe) {
82
82
  var Ee = D.displayName;
83
83
  if (Ee)
84
84
  return Ee;
85
- var Le = ae.displayName || ae.name || "";
86
- return Le !== "" ? he + "(" + Le + ")" : he;
85
+ var De = ae.displayName || ae.name || "";
86
+ return De !== "" ? fe + "(" + De + ")" : fe;
87
87
  }
88
88
  function L(D) {
89
89
  return D.displayName || "Context";
@@ -115,17 +115,17 @@ function Ro() {
115
115
  var ae = D;
116
116
  return L(ae) + ".Consumer";
117
117
  case c:
118
- var he = D;
119
- return L(he._context) + ".Provider";
118
+ var fe = D;
119
+ return L(fe._context) + ".Provider";
120
120
  case v:
121
121
  return U(D, D.render, "ForwardRef");
122
122
  case p:
123
123
  var Ee = D.displayName || null;
124
124
  return Ee !== null ? Ee : B(D.type) || "Memo";
125
125
  case C: {
126
- var Le = D, $e = Le._payload, je = Le._init;
126
+ var De = D, He = De._payload, Le = De._init;
127
127
  try {
128
- return B(je($e));
128
+ return B(Le(He));
129
129
  } catch {
130
130
  return null;
131
131
  }
@@ -134,9 +134,9 @@ function Ro() {
134
134
  return null;
135
135
  }
136
136
  var N = Object.assign, z = 0, G, oe, ee, Y, W, Z, ce;
137
- function ge() {
137
+ function ye() {
138
138
  }
139
- ge.__reactDisabledLog = !0;
139
+ ye.__reactDisabledLog = !0;
140
140
  function _e() {
141
141
  {
142
142
  if (z === 0) {
@@ -144,7 +144,7 @@ function Ro() {
144
144
  var D = {
145
145
  configurable: !0,
146
146
  enumerable: !0,
147
- value: ge,
147
+ value: ye,
148
148
  writable: !0
149
149
  };
150
150
  Object.defineProperties(console, {
@@ -195,104 +195,104 @@ function Ro() {
195
195
  z < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
196
196
  }
197
197
  }
198
- var Oe = d.ReactCurrentDispatcher, He;
199
- function Fe(D, ae, he) {
198
+ var Oe = d.ReactCurrentDispatcher, Ue;
199
+ function Fe(D, ae, fe) {
200
200
  {
201
- if (He === void 0)
201
+ if (Ue === void 0)
202
202
  try {
203
203
  throw Error();
204
- } catch (Le) {
205
- var Ee = Le.stack.trim().match(/\n( *(at )?)/);
206
- He = Ee && Ee[1] || "";
204
+ } catch (De) {
205
+ var Ee = De.stack.trim().match(/\n( *(at )?)/);
206
+ Ue = Ee && Ee[1] || "";
207
207
  }
208
208
  return `
209
- ` + He + D;
209
+ ` + Ue + D;
210
210
  }
211
211
  }
212
- var Ke = !1, Me;
212
+ var Ke = !1, Ne;
213
213
  {
214
214
  var We = typeof WeakMap == "function" ? WeakMap : Map;
215
- Me = new We();
215
+ Ne = new We();
216
216
  }
217
217
  function V(D, ae) {
218
218
  if (!D || Ke)
219
219
  return "";
220
220
  {
221
- var he = Me.get(D);
222
- if (he !== void 0)
223
- return he;
221
+ var fe = Ne.get(D);
222
+ if (fe !== void 0)
223
+ return fe;
224
224
  }
225
225
  var Ee;
226
226
  Ke = !0;
227
- var Le = Error.prepareStackTrace;
227
+ var De = Error.prepareStackTrace;
228
228
  Error.prepareStackTrace = void 0;
229
- var $e;
230
- $e = Oe.current, Oe.current = null, _e();
229
+ var He;
230
+ He = Oe.current, Oe.current = null, _e();
231
231
  try {
232
232
  if (ae) {
233
- var je = function() {
233
+ var Le = function() {
234
234
  throw Error();
235
235
  };
236
- if (Object.defineProperty(je.prototype, "props", {
236
+ if (Object.defineProperty(Le.prototype, "props", {
237
237
  set: function() {
238
238
  throw Error();
239
239
  }
240
240
  }), typeof Reflect == "object" && Reflect.construct) {
241
241
  try {
242
- Reflect.construct(je, []);
243
- } catch (nt) {
244
- Ee = nt;
242
+ Reflect.construct(Le, []);
243
+ } catch (Ze) {
244
+ Ee = Ze;
245
245
  }
246
- Reflect.construct(D, [], je);
246
+ Reflect.construct(D, [], Le);
247
247
  } else {
248
248
  try {
249
- je.call();
250
- } catch (nt) {
251
- Ee = nt;
249
+ Le.call();
250
+ } catch (Ze) {
251
+ Ee = Ze;
252
252
  }
253
- D.call(je.prototype);
253
+ D.call(Le.prototype);
254
254
  }
255
255
  } else {
256
256
  try {
257
257
  throw Error();
258
- } catch (nt) {
259
- Ee = nt;
258
+ } catch (Ze) {
259
+ Ee = Ze;
260
260
  }
261
261
  D();
262
262
  }
263
- } catch (nt) {
264
- if (nt && Ee && typeof nt.stack == "string") {
265
- for (var Ie = nt.stack.split(`
266
- `), Ze = Ee.stack.split(`
267
- `), Je = Ie.length - 1, Ye = Ze.length - 1; Je >= 1 && Ye >= 0 && Ie[Je] !== Ze[Ye]; )
263
+ } catch (Ze) {
264
+ if (Ze && Ee && typeof Ze.stack == "string") {
265
+ for (var Ie = Ze.stack.split(`
266
+ `), Xe = Ee.stack.split(`
267
+ `), Je = Ie.length - 1, Ye = Xe.length - 1; Je >= 1 && Ye >= 0 && Ie[Je] !== Xe[Ye]; )
268
268
  Ye--;
269
269
  for (; Je >= 1 && Ye >= 0; Je--, Ye--)
270
- if (Ie[Je] !== Ze[Ye]) {
270
+ if (Ie[Je] !== Xe[Ye]) {
271
271
  if (Je !== 1 || Ye !== 1)
272
272
  do
273
- if (Je--, Ye--, Ye < 0 || Ie[Je] !== Ze[Ye]) {
273
+ if (Je--, Ye--, Ye < 0 || Ie[Je] !== Xe[Ye]) {
274
274
  var ut = `
275
275
  ` + Ie[Je].replace(" at new ", " at ");
276
- return D.displayName && ut.includes("<anonymous>") && (ut = ut.replace("<anonymous>", D.displayName)), typeof D == "function" && Me.set(D, ut), ut;
276
+ return D.displayName && ut.includes("<anonymous>") && (ut = ut.replace("<anonymous>", D.displayName)), typeof D == "function" && Ne.set(D, ut), ut;
277
277
  }
278
278
  while (Je >= 1 && Ye >= 0);
279
279
  break;
280
280
  }
281
281
  }
282
282
  } finally {
283
- Ke = !1, Oe.current = $e, Ce(), Error.prepareStackTrace = Le;
283
+ Ke = !1, Oe.current = He, Ce(), Error.prepareStackTrace = De;
284
284
  }
285
- var Pt = D ? D.displayName || D.name : "", ft = Pt ? Fe(Pt) : "";
286
- return typeof D == "function" && Me.set(D, ft), ft;
285
+ var Pt = D ? D.displayName || D.name : "", Rt = Pt ? Fe(Pt) : "";
286
+ return typeof D == "function" && Ne.set(D, Rt), Rt;
287
287
  }
288
- function H(D, ae, he) {
288
+ function H(D, ae, fe) {
289
289
  return V(D, !1);
290
290
  }
291
291
  function se(D) {
292
292
  var ae = D.prototype;
293
293
  return !!(ae && ae.isReactComponent);
294
294
  }
295
- function de(D, ae, he) {
295
+ function de(D, ae, fe) {
296
296
  if (D == null)
297
297
  return "";
298
298
  if (typeof D == "function")
@@ -310,11 +310,11 @@ function Ro() {
310
310
  case v:
311
311
  return H(D.render);
312
312
  case p:
313
- return de(D.type, ae, he);
313
+ return de(D.type, ae, fe);
314
314
  case C: {
315
- var Ee = D, Le = Ee._payload, $e = Ee._init;
315
+ var Ee = D, De = Ee._payload, He = Ee._init;
316
316
  try {
317
- return de($e(Le), ae, he);
317
+ return de(He(De), ae, fe);
318
318
  } catch {
319
319
  }
320
320
  }
@@ -324,38 +324,38 @@ function Ro() {
324
324
  var we = Object.prototype.hasOwnProperty, Se = {}, Ae = d.ReactDebugCurrentFrame;
325
325
  function me(D) {
326
326
  if (D) {
327
- var ae = D._owner, he = de(D.type, D._source, ae ? ae.type : null);
328
- Ae.setExtraStackFrame(he);
327
+ var ae = D._owner, fe = de(D.type, D._source, ae ? ae.type : null);
328
+ Ae.setExtraStackFrame(fe);
329
329
  } else
330
330
  Ae.setExtraStackFrame(null);
331
331
  }
332
- function ve(D, ae, he, Ee, Le) {
332
+ function ve(D, ae, fe, Ee, De) {
333
333
  {
334
- var $e = Function.call.bind(we);
335
- for (var je in D)
336
- if ($e(D, je)) {
334
+ var He = Function.call.bind(we);
335
+ for (var Le in D)
336
+ if (He(D, Le)) {
337
337
  var Ie = void 0;
338
338
  try {
339
- if (typeof D[je] != "function") {
340
- var Ze = Error((Ee || "React class") + ": " + he + " type `" + je + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof D[je] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
- throw Ze.name = "Invariant Violation", Ze;
339
+ if (typeof D[Le] != "function") {
340
+ var Xe = Error((Ee || "React class") + ": " + fe + " type `" + Le + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof D[Le] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
+ throw Xe.name = "Invariant Violation", Xe;
342
342
  }
343
- Ie = D[je](ae, je, Ee, he, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ Ie = D[Le](ae, Le, Ee, fe, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
344
  } catch (Je) {
345
345
  Ie = Je;
346
346
  }
347
- Ie && !(Ie instanceof Error) && (me(Le), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ee || "React class", he, je, typeof Ie), me(null)), Ie instanceof Error && !(Ie.message in Se) && (Se[Ie.message] = !0, me(Le), m("Failed %s type: %s", he, Ie.message), me(null));
347
+ Ie && !(Ie instanceof Error) && (me(De), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ee || "React class", fe, Le, typeof Ie), me(null)), Ie instanceof Error && !(Ie.message in Se) && (Se[Ie.message] = !0, me(De), m("Failed %s type: %s", fe, Ie.message), me(null));
348
348
  }
349
349
  }
350
350
  }
351
351
  var be = Array.isArray;
352
- function Be(D) {
352
+ function Me(D) {
353
353
  return be(D);
354
354
  }
355
355
  function X(D) {
356
356
  {
357
- var ae = typeof Symbol == "function" && Symbol.toStringTag, he = ae && D[Symbol.toStringTag] || D.constructor.name || "Object";
358
- return he;
357
+ var ae = typeof Symbol == "function" && Symbol.toStringTag, fe = ae && D[Symbol.toStringTag] || D.constructor.name || "Object";
358
+ return fe;
359
359
  }
360
360
  }
361
361
  function le(D) {
@@ -368,7 +368,7 @@ function Ro() {
368
368
  function ie(D) {
369
369
  return "" + D;
370
370
  }
371
- function fe(D) {
371
+ function he(D) {
372
372
  if (le(D))
373
373
  return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", X(D)), ie(D);
374
374
  }
@@ -377,9 +377,8 @@ function Ro() {
377
377
  ref: !0,
378
378
  __self: !0,
379
379
  __source: !0
380
- }, w, I, $;
381
- $ = {};
382
- function J(D) {
380
+ }, w, I;
381
+ function q(D) {
383
382
  if (we.call(D, "ref")) {
384
383
  var ae = Object.getOwnPropertyDescriptor(D, "ref").get;
385
384
  if (ae && ae.isReactWarning)
@@ -387,7 +386,7 @@ function Ro() {
387
386
  }
388
387
  return D.ref !== void 0;
389
388
  }
390
- function te(D) {
389
+ function J(D) {
391
390
  if (we.call(D, "key")) {
392
391
  var ae = Object.getOwnPropertyDescriptor(D, "key").get;
393
392
  if (ae && ae.isReactWarning)
@@ -395,45 +394,42 @@ function Ro() {
395
394
  }
396
395
  return D.key !== void 0;
397
396
  }
398
- function Te(D, ae) {
399
- if (typeof D.ref == "string" && O.current && ae && O.current.stateNode !== ae) {
400
- var he = B(O.current.type);
401
- $[he] || (m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(O.current.type), D.ref), $[he] = !0);
402
- }
397
+ function te(D, ae) {
398
+ typeof D.ref == "string" && O.current;
403
399
  }
404
- function ze(D, ae) {
400
+ function Te(D, ae) {
405
401
  {
406
- var he = function() {
402
+ var fe = function() {
407
403
  w || (w = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ae));
408
404
  };
409
- he.isReactWarning = !0, Object.defineProperty(D, "key", {
410
- get: he,
405
+ fe.isReactWarning = !0, Object.defineProperty(D, "key", {
406
+ get: fe,
411
407
  configurable: !0
412
408
  });
413
409
  }
414
410
  }
415
- function Pe(D, ae) {
411
+ function ze(D, ae) {
416
412
  {
417
- var he = function() {
413
+ var fe = function() {
418
414
  I || (I = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ae));
419
415
  };
420
- he.isReactWarning = !0, Object.defineProperty(D, "ref", {
421
- get: he,
416
+ fe.isReactWarning = !0, Object.defineProperty(D, "ref", {
417
+ get: fe,
422
418
  configurable: !0
423
419
  });
424
420
  }
425
421
  }
426
- var Ge = function(D, ae, he, Ee, Le, $e, je) {
422
+ var Pe = function(D, ae, fe, Ee, De, He, Le) {
427
423
  var Ie = {
428
424
  // This tag allows us to uniquely identify this as a React Element
429
425
  $$typeof: i,
430
426
  // Built-in properties that belong on the element
431
427
  type: D,
432
428
  key: ae,
433
- ref: he,
434
- props: je,
429
+ ref: fe,
430
+ props: Le,
435
431
  // Record the component responsible for creating this element.
436
- _owner: $e
432
+ _owner: He
437
433
  };
438
434
  return Ie._store = {}, Object.defineProperty(Ie._store, "validated", {
439
435
  configurable: !1,
@@ -449,44 +445,44 @@ function Ro() {
449
445
  configurable: !1,
450
446
  enumerable: !1,
451
447
  writable: !1,
452
- value: Le
448
+ value: De
453
449
  }), Object.freeze && (Object.freeze(Ie.props), Object.freeze(Ie)), Ie;
454
450
  };
455
- function ye(D, ae, he, Ee, Le) {
451
+ function Ge(D, ae, fe, Ee, De) {
456
452
  {
457
- var $e, je = {}, Ie = null, Ze = null;
458
- he !== void 0 && (fe(he), Ie = "" + he), te(ae) && (fe(ae.key), Ie = "" + ae.key), J(ae) && (Ze = ae.ref, Te(ae, Le));
459
- for ($e in ae)
460
- we.call(ae, $e) && !y.hasOwnProperty($e) && (je[$e] = ae[$e]);
453
+ var He, Le = {}, Ie = null, Xe = null;
454
+ fe !== void 0 && (he(fe), Ie = "" + fe), J(ae) && (he(ae.key), Ie = "" + ae.key), q(ae) && (Xe = ae.ref, te(ae, De));
455
+ for (He in ae)
456
+ we.call(ae, He) && !y.hasOwnProperty(He) && (Le[He] = ae[He]);
461
457
  if (D && D.defaultProps) {
462
458
  var Je = D.defaultProps;
463
- for ($e in Je)
464
- je[$e] === void 0 && (je[$e] = Je[$e]);
459
+ for (He in Je)
460
+ Le[He] === void 0 && (Le[He] = Je[He]);
465
461
  }
466
- if (Ie || Ze) {
462
+ if (Ie || Xe) {
467
463
  var Ye = typeof D == "function" ? D.displayName || D.name || "Unknown" : D;
468
- Ie && ze(je, Ye), Ze && Pe(je, Ye);
464
+ Ie && Te(Le, Ye), Xe && ze(Le, Ye);
469
465
  }
470
- return Ge(D, Ie, Ze, Le, Ee, O.current, je);
466
+ return Pe(D, Ie, Xe, De, Ee, O.current, Le);
471
467
  }
472
468
  }
473
- var qt = d.ReactCurrentOwner, Tt = d.ReactDebugCurrentFrame;
474
- function Ot(D) {
469
+ var ge = d.ReactCurrentOwner, Yt = d.ReactDebugCurrentFrame;
470
+ function ft(D) {
475
471
  if (D) {
476
- var ae = D._owner, he = de(D.type, D._source, ae ? ae.type : null);
477
- Tt.setExtraStackFrame(he);
472
+ var ae = D._owner, fe = de(D.type, D._source, ae ? ae.type : null);
473
+ Yt.setExtraStackFrame(fe);
478
474
  } else
479
- Tt.setExtraStackFrame(null);
475
+ Yt.setExtraStackFrame(null);
480
476
  }
481
- var Rt;
482
- Rt = !1;
483
- function zt(D) {
477
+ var Ut;
478
+ Ut = !1;
479
+ function Ot(D) {
484
480
  return typeof D == "object" && D !== null && D.$$typeof === i;
485
481
  }
486
- function Lt() {
482
+ function Qt() {
487
483
  {
488
- if (qt.current) {
489
- var D = B(qt.current.type);
484
+ if (ge.current) {
485
+ var D = B(ge.current.type);
490
486
  if (D)
491
487
  return `
492
488
 
@@ -495,145 +491,145 @@ Check the render method of \`` + D + "`.";
495
491
  return "";
496
492
  }
497
493
  }
498
- function jt(D) {
494
+ function $t(D) {
499
495
  return "";
500
496
  }
501
- var tn = {};
502
- function En(D) {
497
+ var Tt = {};
498
+ function Sn(D) {
503
499
  {
504
- var ae = Lt();
500
+ var ae = Qt();
505
501
  if (!ae) {
506
- var he = typeof D == "string" ? D : D.displayName || D.name;
507
- he && (ae = `
502
+ var fe = typeof D == "string" ? D : D.displayName || D.name;
503
+ fe && (ae = `
508
504
 
509
- Check the top-level render call using <` + he + ">.");
505
+ Check the top-level render call using <` + fe + ">.");
510
506
  }
511
507
  return ae;
512
508
  }
513
509
  }
514
- function Vt(D, ae) {
510
+ function Zt(D, ae) {
515
511
  {
516
512
  if (!D._store || D._store.validated || D.key != null)
517
513
  return;
518
514
  D._store.validated = !0;
519
- var he = En(ae);
520
- if (tn[he])
515
+ var fe = Sn(ae);
516
+ if (Tt[fe])
521
517
  return;
522
- tn[he] = !0;
518
+ Tt[fe] = !0;
523
519
  var Ee = "";
524
- D && D._owner && D._owner !== qt.current && (Ee = " It was passed a child from " + B(D._owner.type) + "."), Ot(D), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', he, Ee), Ot(null);
520
+ D && D._owner && D._owner !== ge.current && (Ee = " It was passed a child from " + B(D._owner.type) + "."), ft(D), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', fe, Ee), ft(null);
525
521
  }
526
522
  }
527
- function Gt(D, ae) {
523
+ function qt(D, ae) {
528
524
  {
529
525
  if (typeof D != "object")
530
526
  return;
531
- if (Be(D))
532
- for (var he = 0; he < D.length; he++) {
533
- var Ee = D[he];
534
- zt(Ee) && Vt(Ee, ae);
527
+ if (Me(D))
528
+ for (var fe = 0; fe < D.length; fe++) {
529
+ var Ee = D[fe];
530
+ Ot(Ee) && Zt(Ee, ae);
535
531
  }
536
- else if (zt(D))
532
+ else if (Ot(D))
537
533
  D._store && (D._store.validated = !0);
538
534
  else if (D) {
539
- var Le = g(D);
540
- if (typeof Le == "function" && Le !== D.entries)
541
- for (var $e = Le.call(D), je; !(je = $e.next()).done; )
542
- zt(je.value) && Vt(je.value, ae);
535
+ var De = g(D);
536
+ if (typeof De == "function" && De !== D.entries)
537
+ for (var He = De.call(D), Le; !(Le = He.next()).done; )
538
+ Ot(Le.value) && Zt(Le.value, ae);
543
539
  }
544
540
  }
545
541
  }
546
- function Qn(D) {
542
+ function Xt(D) {
547
543
  {
548
544
  var ae = D.type;
549
545
  if (ae == null || typeof ae == "string")
550
546
  return;
551
- var he;
547
+ var fe;
552
548
  if (typeof ae == "function")
553
- he = ae.propTypes;
549
+ fe = ae.propTypes;
554
550
  else if (typeof ae == "object" && (ae.$$typeof === v || // Note: Memo only checks outer props here.
555
551
  // Inner props are checked in the reconciler.
556
552
  ae.$$typeof === p))
557
- he = ae.propTypes;
553
+ fe = ae.propTypes;
558
554
  else
559
555
  return;
560
- if (he) {
556
+ if (fe) {
561
557
  var Ee = B(ae);
562
- ve(he, D.props, "prop", Ee, D);
563
- } else if (ae.PropTypes !== void 0 && !Rt) {
564
- Rt = !0;
565
- var Le = B(ae);
566
- m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Le || "Unknown");
558
+ ve(fe, D.props, "prop", Ee, D);
559
+ } else if (ae.PropTypes !== void 0 && !Ut) {
560
+ Ut = !0;
561
+ var De = B(ae);
562
+ m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", De || "Unknown");
567
563
  }
568
564
  typeof ae.getDefaultProps == "function" && !ae.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
569
565
  }
570
566
  }
571
- function Zn(D) {
567
+ function Qn(D) {
572
568
  {
573
- for (var ae = Object.keys(D.props), he = 0; he < ae.length; he++) {
574
- var Ee = ae[he];
569
+ for (var ae = Object.keys(D.props), fe = 0; fe < ae.length; fe++) {
570
+ var Ee = ae[fe];
575
571
  if (Ee !== "children" && Ee !== "key") {
576
- Ot(D), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Ee), Ot(null);
572
+ ft(D), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Ee), ft(null);
577
573
  break;
578
574
  }
579
575
  }
580
- D.ref !== null && (Ot(D), m("Invalid attribute `ref` supplied to `React.Fragment`."), Ot(null));
576
+ D.ref !== null && (ft(D), m("Invalid attribute `ref` supplied to `React.Fragment`."), ft(null));
581
577
  }
582
578
  }
583
- var Nt = {};
584
- function Kt(D, ae, he, Ee, Le, $e) {
579
+ var En = {};
580
+ function Lt(D, ae, fe, Ee, De, He) {
585
581
  {
586
- var je = j(D);
587
- if (!je) {
582
+ var Le = j(D);
583
+ if (!Le) {
588
584
  var Ie = "";
589
585
  (D === void 0 || typeof D == "object" && D !== null && Object.keys(D).length === 0) && (Ie += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
590
- var Ze = jt();
591
- Ze ? Ie += Ze : Ie += Lt();
586
+ var Xe = $t();
587
+ Xe ? Ie += Xe : Ie += Qt();
592
588
  var Je;
593
- D === null ? Je = "null" : Be(D) ? Je = "array" : D !== void 0 && D.$$typeof === i ? (Je = "<" + (B(D.type) || "Unknown") + " />", Ie = " Did you accidentally export a JSX literal instead of a component?") : Je = typeof D, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Je, Ie);
589
+ D === null ? Je = "null" : Me(D) ? Je = "array" : D !== void 0 && D.$$typeof === i ? (Je = "<" + (B(D.type) || "Unknown") + " />", Ie = " Did you accidentally export a JSX literal instead of a component?") : Je = typeof D, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Je, Ie);
594
590
  }
595
- var Ye = ye(D, ae, he, Le, $e);
591
+ var Ye = Ge(D, ae, fe, De, He);
596
592
  if (Ye == null)
597
593
  return Ye;
598
- if (je) {
594
+ if (Le) {
599
595
  var ut = ae.children;
600
596
  if (ut !== void 0)
601
597
  if (Ee)
602
- if (Be(ut)) {
598
+ if (Me(ut)) {
603
599
  for (var Pt = 0; Pt < ut.length; Pt++)
604
- Gt(ut[Pt], D);
600
+ qt(ut[Pt], D);
605
601
  Object.freeze && Object.freeze(ut);
606
602
  } else
607
603
  m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
608
604
  else
609
- Gt(ut, D);
605
+ qt(ut, D);
610
606
  }
611
607
  if (we.call(ae, "key")) {
612
- var ft = B(D), nt = Object.keys(ae).filter(function(rn) {
613
- return rn !== "key";
614
- }), Wt = nt.length > 0 ? "{key: someKey, " + nt.join(": ..., ") + ": ...}" : "{key: someKey}";
615
- if (!Nt[ft + Wt]) {
616
- var Cn = nt.length > 0 ? "{" + nt.join(": ..., ") + ": ...}" : "{}";
608
+ var Rt = B(D), Ze = Object.keys(ae).filter(function(Cn) {
609
+ return Cn !== "key";
610
+ }), nn = Ze.length > 0 ? "{key: someKey, " + Ze.join(": ..., ") + ": ...}" : "{key: someKey}";
611
+ if (!En[Rt + nn]) {
612
+ var _n = Ze.length > 0 ? "{" + Ze.join(": ..., ") + ": ...}" : "{}";
617
613
  m(`A props object containing a "key" prop is being spread into JSX:
618
614
  let props = %s;
619
615
  <%s {...props} />
620
616
  React keys must be passed directly to JSX without using spread:
621
617
  let props = %s;
622
- <%s key={someKey} {...props} />`, Wt, ft, Cn, ft), Nt[ft + Wt] = !0;
618
+ <%s key={someKey} {...props} />`, nn, Rt, _n, Rt), En[Rt + nn] = !0;
623
619
  }
624
620
  }
625
- return D === r ? Zn(Ye) : Qn(Ye), Ye;
621
+ return D === r ? Qn(Ye) : Xt(Ye), Ye;
626
622
  }
627
623
  }
628
- function Xn(D, ae, he) {
629
- return Kt(D, ae, he, !0);
624
+ function en(D, ae, fe) {
625
+ return Lt(D, ae, fe, !0);
630
626
  }
631
- function kn(D, ae, he) {
632
- return Kt(D, ae, he, !1);
627
+ function Zn(D, ae, fe) {
628
+ return Lt(D, ae, fe, !1);
633
629
  }
634
- var nn = kn, _n = Xn;
635
- cn.Fragment = r, cn.jsx = nn, cn.jsxs = _n;
636
- }()), cn;
630
+ var kn = Zn, tn = en;
631
+ ln.Fragment = r, ln.jsx = kn, ln.jsxs = tn;
632
+ }()), ln;
637
633
  }
638
634
  process.env.NODE_ENV === "production" ? dr.exports = Oo() : dr.exports = Ro();
639
635
  var Re = dr.exports, vr = {};
@@ -651,7 +647,7 @@ var Oi = { exports: {} };
651
647
  (function(t, i) {
652
648
  (function(f, r) {
653
649
  t.exports = r();
654
- })(tt, function() {
650
+ })(nt, function() {
655
651
  function f(X) {
656
652
  var le = typeof X;
657
653
  return X !== null && (le === "object" || le === "function");
@@ -720,24 +716,24 @@ var Oi = { exports: {} };
720
716
  var A = void 0;
721
717
  s ? A = d() : a ? A = l() : g ? A = h() : C === void 0 && typeof Ao == "function" ? A = T() : A = _();
722
718
  function j(X, le) {
723
- var ie = this, fe = new this.constructor(B);
724
- fe[L] === void 0 && H(fe);
719
+ var ie = this, he = new this.constructor(B);
720
+ he[L] === void 0 && H(he);
725
721
  var O = ie._state;
726
722
  if (O) {
727
723
  var y = arguments[O - 1];
728
724
  o(function() {
729
- return Ke(O, fe, y, ie._result);
725
+ return Ke(O, he, y, ie._result);
730
726
  });
731
727
  } else
732
- He(ie, fe, X, le);
733
- return fe;
728
+ Ue(ie, he, X, le);
729
+ return he;
734
730
  }
735
731
  function U(X) {
736
732
  var le = this;
737
733
  if (X && typeof X == "object" && X.constructor === le)
738
734
  return X;
739
735
  var ie = new le(B);
740
- return ge(ie, X), ie;
736
+ return ye(ie, X), ie;
741
737
  }
742
738
  var L = Math.random().toString(36).substring(2);
743
739
  function B() {
@@ -749,26 +745,26 @@ var Oi = { exports: {} };
749
745
  function ee() {
750
746
  return new TypeError("A promises callback cannot return that same promise.");
751
747
  }
752
- function Y(X, le, ie, fe) {
748
+ function Y(X, le, ie, he) {
753
749
  try {
754
- X.call(le, ie, fe);
750
+ X.call(le, ie, he);
755
751
  } catch (O) {
756
752
  return O;
757
753
  }
758
754
  }
759
755
  function W(X, le, ie) {
760
- o(function(fe) {
756
+ o(function(he) {
761
757
  var O = !1, y = Y(ie, le, function(w) {
762
- O || (O = !0, le !== w ? ge(fe, w) : Ce(fe, w));
758
+ O || (O = !0, le !== w ? ye(he, w) : Ce(he, w));
763
759
  }, function(w) {
764
- O || (O = !0, Oe(fe, w));
765
- }, "Settle: " + (fe._label || " unknown promise"));
766
- !O && y && (O = !0, Oe(fe, y));
760
+ O || (O = !0, Oe(he, w));
761
+ }, "Settle: " + (he._label || " unknown promise"));
762
+ !O && y && (O = !0, Oe(he, y));
767
763
  }, X);
768
764
  }
769
765
  function Z(X, le) {
770
- le._state === z ? Ce(X, le._result) : le._state === G ? Oe(X, le._result) : He(le, void 0, function(ie) {
771
- return ge(X, ie);
766
+ le._state === z ? Ce(X, le._result) : le._state === G ? Oe(X, le._result) : Ue(le, void 0, function(ie) {
767
+ return ye(X, ie);
772
768
  }, function(ie) {
773
769
  return Oe(X, ie);
774
770
  });
@@ -776,15 +772,15 @@ var Oi = { exports: {} };
776
772
  function ce(X, le, ie) {
777
773
  le.constructor === X.constructor && ie === j && le.constructor.resolve === U ? Z(X, le) : ie === void 0 ? Ce(X, le) : r(ie) ? W(X, le, ie) : Ce(X, le);
778
774
  }
779
- function ge(X, le) {
775
+ function ye(X, le) {
780
776
  if (X === le)
781
777
  Oe(X, oe());
782
778
  else if (f(le)) {
783
779
  var ie = void 0;
784
780
  try {
785
781
  ie = le.then;
786
- } catch (fe) {
787
- Oe(X, fe);
782
+ } catch (he) {
783
+ Oe(X, he);
788
784
  return;
789
785
  }
790
786
  ce(X, le, ie);
@@ -800,40 +796,40 @@ var Oi = { exports: {} };
800
796
  function Oe(X, le) {
801
797
  X._state === N && (X._state = G, X._result = le, o(_e, X));
802
798
  }
803
- function He(X, le, ie, fe) {
799
+ function Ue(X, le, ie, he) {
804
800
  var O = X._subscribers, y = O.length;
805
- X._onerror = null, O[y] = le, O[y + z] = ie, O[y + G] = fe, y === 0 && X._state && o(Fe, X);
801
+ X._onerror = null, O[y] = le, O[y + z] = ie, O[y + G] = he, y === 0 && X._state && o(Fe, X);
806
802
  }
807
803
  function Fe(X) {
808
804
  var le = X._subscribers, ie = X._state;
809
805
  if (le.length !== 0) {
810
- for (var fe = void 0, O = void 0, y = X._result, w = 0; w < le.length; w += 3)
811
- fe = le[w], O = le[w + ie], fe ? Ke(ie, fe, O, y) : O(y);
806
+ for (var he = void 0, O = void 0, y = X._result, w = 0; w < le.length; w += 3)
807
+ he = le[w], O = le[w + ie], he ? Ke(ie, he, O, y) : O(y);
812
808
  X._subscribers.length = 0;
813
809
  }
814
810
  }
815
- function Ke(X, le, ie, fe) {
811
+ function Ke(X, le, ie, he) {
816
812
  var O = r(ie), y = void 0, w = void 0, I = !0;
817
813
  if (O) {
818
814
  try {
819
- y = ie(fe);
820
- } catch ($) {
821
- I = !1, w = $;
815
+ y = ie(he);
816
+ } catch (q) {
817
+ I = !1, w = q;
822
818
  }
823
819
  if (le === y) {
824
820
  Oe(le, ee());
825
821
  return;
826
822
  }
827
823
  } else
828
- y = fe;
829
- le._state !== N || (O && I ? ge(le, y) : I === !1 ? Oe(le, w) : X === z ? Ce(le, y) : X === G && Oe(le, y));
824
+ y = he;
825
+ le._state !== N || (O && I ? ye(le, y) : I === !1 ? Oe(le, w) : X === z ? Ce(le, y) : X === G && Oe(le, y));
830
826
  }
831
- function Me(X, le) {
827
+ function Ne(X, le) {
832
828
  try {
833
- le(function(fe) {
834
- ge(X, fe);
835
- }, function(fe) {
836
- Oe(X, fe);
829
+ le(function(he) {
830
+ ye(X, he);
831
+ }, function(he) {
832
+ Oe(X, he);
837
833
  });
838
834
  } catch (ie) {
839
835
  Oe(X, ie);
@@ -854,39 +850,39 @@ var Oi = { exports: {} };
854
850
  this._instanceConstructor = le, this.promise = new le(B), this.promise[L] || H(this.promise), b(ie) ? (this.length = ie.length, this._remaining = ie.length, this._result = new Array(this.length), this.length === 0 ? Ce(this.promise, this._result) : (this.length = this.length || 0, this._enumerate(ie), this._remaining === 0 && Ce(this.promise, this._result))) : Oe(this.promise, se());
855
851
  }
856
852
  return X.prototype._enumerate = function(ie) {
857
- for (var fe = 0; this._state === N && fe < ie.length; fe++)
858
- this._eachEntry(ie[fe], fe);
859
- }, X.prototype._eachEntry = function(ie, fe) {
853
+ for (var he = 0; this._state === N && he < ie.length; he++)
854
+ this._eachEntry(ie[he], he);
855
+ }, X.prototype._eachEntry = function(ie, he) {
860
856
  var O = this._instanceConstructor, y = O.resolve;
861
857
  if (y === U) {
862
- var w = void 0, I = void 0, $ = !1;
858
+ var w = void 0, I = void 0, q = !1;
863
859
  try {
864
860
  w = ie.then;
865
861
  } catch (te) {
866
- $ = !0, I = te;
862
+ q = !0, I = te;
867
863
  }
868
864
  if (w === j && ie._state !== N)
869
- this._settledAt(ie._state, fe, ie._result);
865
+ this._settledAt(ie._state, he, ie._result);
870
866
  else if (typeof w != "function")
871
- this._remaining--, this._result[fe] = ie;
867
+ this._remaining--, this._result[he] = ie;
872
868
  else if (O === be) {
873
869
  var J = new O(B);
874
- $ ? Oe(J, I) : ce(J, ie, w), this._willSettleAt(J, fe);
870
+ q ? Oe(J, I) : ce(J, ie, w), this._willSettleAt(J, he);
875
871
  } else
876
872
  this._willSettleAt(new O(function(te) {
877
873
  return te(ie);
878
- }), fe);
874
+ }), he);
879
875
  } else
880
- this._willSettleAt(y(ie), fe);
881
- }, X.prototype._settledAt = function(ie, fe, O) {
876
+ this._willSettleAt(y(ie), he);
877
+ }, X.prototype._settledAt = function(ie, he, O) {
882
878
  var y = this.promise;
883
- y._state === N && (this._remaining--, ie === G ? Oe(y, O) : this._result[fe] = O), this._remaining === 0 && Ce(y, this._result);
884
- }, X.prototype._willSettleAt = function(ie, fe) {
879
+ y._state === N && (this._remaining--, ie === G ? Oe(y, O) : this._result[he] = O), this._remaining === 0 && Ce(y, this._result);
880
+ }, X.prototype._willSettleAt = function(ie, he) {
885
881
  var O = this;
886
- He(ie, void 0, function(y) {
887
- return O._settledAt(z, fe, y);
882
+ Ue(ie, void 0, function(y) {
883
+ return O._settledAt(z, he, y);
888
884
  }, function(y) {
889
- return O._settledAt(G, fe, y);
885
+ return O._settledAt(G, he, y);
890
886
  });
891
887
  }, X;
892
888
  }();
@@ -895,11 +891,11 @@ var Oi = { exports: {} };
895
891
  }
896
892
  function Se(X) {
897
893
  var le = this;
898
- return b(X) ? new le(function(ie, fe) {
894
+ return b(X) ? new le(function(ie, he) {
899
895
  for (var O = X.length, y = 0; y < O; y++)
900
- le.resolve(X[y]).then(ie, fe);
901
- }) : new le(function(ie, fe) {
902
- return fe(new TypeError("You must pass an array to race."));
896
+ le.resolve(X[y]).then(ie, he);
897
+ }) : new le(function(ie, he) {
898
+ return he(new TypeError("You must pass an array to race."));
903
899
  });
904
900
  }
905
901
  function Ae(X) {
@@ -914,13 +910,13 @@ var Oi = { exports: {} };
914
910
  }
915
911
  var be = function() {
916
912
  function X(le) {
917
- this[L] = V(), this._result = this._state = void 0, this._subscribers = [], B !== le && (typeof le != "function" && me(), this instanceof X ? Me(this, le) : ve());
913
+ this[L] = V(), this._result = this._state = void 0, this._subscribers = [], B !== le && (typeof le != "function" && me(), this instanceof X ? Ne(this, le) : ve());
918
914
  }
919
915
  return X.prototype.catch = function(ie) {
920
916
  return this.then(null, ie);
921
917
  }, X.prototype.finally = function(ie) {
922
- var fe = this, O = fe.constructor;
923
- return r(ie) ? fe.then(function(y) {
918
+ var he = this, O = he.constructor;
919
+ return r(ie) ? he.then(function(y) {
924
920
  return O.resolve(ie()).then(function() {
925
921
  return y;
926
922
  });
@@ -928,14 +924,14 @@ var Oi = { exports: {} };
928
924
  return O.resolve(ie()).then(function() {
929
925
  throw y;
930
926
  });
931
- }) : fe.then(ie, ie);
927
+ }) : he.then(ie, ie);
932
928
  }, X;
933
929
  }();
934
930
  be.prototype.then = j, be.all = we, be.race = Se, be.resolve = U, be.reject = Ae, be._setScheduler = e, be._setAsap = p, be._asap = o;
935
- function Be() {
931
+ function Me() {
936
932
  var X = void 0;
937
- if (typeof tt < "u")
938
- X = tt;
933
+ if (typeof nt < "u")
934
+ X = nt;
939
935
  else if (typeof self < "u")
940
936
  X = self;
941
937
  else
@@ -956,12 +952,12 @@ var Oi = { exports: {} };
956
952
  }
957
953
  X.Promise = be;
958
954
  }
959
- return be.polyfill = Be, be.Promise = be, be;
955
+ return be.polyfill = Me, be.Promise = be, be;
960
956
  });
961
957
  })(Oi);
962
958
  var Ri = Oi.exports;
963
959
  Ri.polyfill();
964
- var et = {};
960
+ var tt = {};
965
961
  /*! Axios v1.13.5 Copyright (c) 2026 Matt Zabriskie and contributors */
966
962
  function Ai(t, i) {
967
963
  return function() {
@@ -971,29 +967,29 @@ function Ai(t, i) {
971
967
  const { toString: To } = Object.prototype, { getPrototypeOf: xr } = Object, { iterator: Dn, toStringTag: Ti } = Symbol, Hn = /* @__PURE__ */ ((t) => (i) => {
972
968
  const f = To.call(i);
973
969
  return t[f] || (t[f] = f.slice(8, -1).toLowerCase());
974
- })(/* @__PURE__ */ Object.create(null)), kt = (t) => (t = t.toLowerCase(), (i) => Hn(i) === t), Un = (t) => (i) => typeof i === t, { isArray: Qt } = Array, Yt = Un("undefined");
975
- function mn(t) {
976
- return t !== null && !Yt(t) && t.constructor !== null && !Yt(t.constructor) && ht(t.constructor.isBuffer) && t.constructor.isBuffer(t);
970
+ })(/* @__PURE__ */ Object.create(null)), kt = (t) => (t = t.toLowerCase(), (i) => Hn(i) === t), Un = (t) => (i) => typeof i === t, { isArray: Gt } = Array, Vt = Un("undefined");
971
+ function pn(t) {
972
+ return t !== null && !Vt(t) && t.constructor !== null && !Vt(t.constructor) && ht(t.constructor.isBuffer) && t.constructor.isBuffer(t);
977
973
  }
978
974
  const Pi = kt("ArrayBuffer");
979
975
  function Po(t) {
980
976
  let i;
981
977
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? i = ArrayBuffer.isView(t) : i = t && t.buffer && Pi(t.buffer), i;
982
978
  }
983
- const Fo = Un("string"), ht = Un("function"), Fi = Un("number"), gn = (t) => t !== null && typeof t == "object", Io = (t) => t === !0 || t === !1, In = (t) => {
979
+ const Fo = Un("string"), ht = Un("function"), Fi = Un("number"), mn = (t) => t !== null && typeof t == "object", Io = (t) => t === !0 || t === !1, In = (t) => {
984
980
  if (Hn(t) !== "object")
985
981
  return !1;
986
982
  const i = xr(t);
987
983
  return (i === null || i === Object.prototype || Object.getPrototypeOf(i) === null) && !(Ti in t) && !(Dn in t);
988
984
  }, Lo = (t) => {
989
- if (!gn(t) || mn(t))
985
+ if (!mn(t) || pn(t))
990
986
  return !1;
991
987
  try {
992
988
  return Object.keys(t).length === 0 && Object.getPrototypeOf(t) === Object.prototype;
993
989
  } catch {
994
990
  return !1;
995
991
  }
996
- }, jo = kt("Date"), No = kt("File"), Mo = kt("Blob"), Bo = kt("FileList"), Do = (t) => gn(t) && ht(t.pipe), Ho = (t) => {
992
+ }, jo = kt("Date"), No = kt("File"), Mo = kt("Blob"), Bo = kt("FileList"), Do = (t) => mn(t) && ht(t.pipe), Ho = (t) => {
997
993
  let i;
998
994
  return t && (typeof FormData == "function" && t instanceof FormData || ht(t.append) && ((i = Hn(t)) === "formdata" || // detect form-data instance
999
995
  i === "object" && ht(t.toString) && t.toString() === "[object FormData]"));
@@ -1003,15 +999,15 @@ const Fo = Un("string"), ht = Un("function"), Fi = Un("number"), gn = (t) => t !
1003
999
  "Response",
1004
1000
  "Headers"
1005
1001
  ].map(kt), Go = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1006
- function yn(t, i, { allOwnKeys: f = !1 } = {}) {
1002
+ function gn(t, i, { allOwnKeys: f = !1 } = {}) {
1007
1003
  if (t === null || typeof t > "u")
1008
1004
  return;
1009
1005
  let r, E;
1010
- if (typeof t != "object" && (t = [t]), Qt(t))
1006
+ if (typeof t != "object" && (t = [t]), Gt(t))
1011
1007
  for (r = 0, E = t.length; r < E; r++)
1012
1008
  i.call(null, t[r], r, t);
1013
1009
  else {
1014
- if (mn(t))
1010
+ if (pn(t))
1015
1011
  return;
1016
1012
  const b = f ? Object.getOwnPropertyNames(t) : Object.keys(t), c = b.length;
1017
1013
  let n;
@@ -1020,7 +1016,7 @@ function yn(t, i, { allOwnKeys: f = !1 } = {}) {
1020
1016
  }
1021
1017
  }
1022
1018
  function Ii(t, i) {
1023
- if (mn(t))
1019
+ if (pn(t))
1024
1020
  return null;
1025
1021
  i = i.toLowerCase();
1026
1022
  const f = Object.keys(t);
@@ -1030,19 +1026,19 @@ function Ii(t, i) {
1030
1026
  return E;
1031
1027
  return null;
1032
1028
  }
1033
- const Ut = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : tt, Li = (t) => !Yt(t) && t !== Ut;
1029
+ const Dt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : nt, Li = (t) => !Vt(t) && t !== Dt;
1034
1030
  function pr() {
1035
1031
  const { caseless: t, skipUndefined: i } = Li(this) && this || {}, f = {}, r = (E, b) => {
1036
1032
  if (b === "__proto__" || b === "constructor" || b === "prototype")
1037
1033
  return;
1038
1034
  const c = t && Ii(f, b) || b;
1039
- In(f[c]) && In(E) ? f[c] = pr(f[c], E) : In(E) ? f[c] = pr({}, E) : Qt(E) ? f[c] = E.slice() : (!i || !Yt(E)) && (f[c] = E);
1035
+ In(f[c]) && In(E) ? f[c] = pr(f[c], E) : In(E) ? f[c] = pr({}, E) : Gt(E) ? f[c] = E.slice() : (!i || !Vt(E)) && (f[c] = E);
1040
1036
  };
1041
1037
  for (let E = 0, b = arguments.length; E < b; E++)
1042
- arguments[E] && yn(arguments[E], r);
1038
+ arguments[E] && gn(arguments[E], r);
1043
1039
  return f;
1044
1040
  }
1045
- const Ko = (t, i, f, { allOwnKeys: r } = {}) => (yn(
1041
+ const Ko = (t, i, f, { allOwnKeys: r } = {}) => (gn(
1046
1042
  i,
1047
1043
  (E, b) => {
1048
1044
  f && ht(E) ? Object.defineProperty(t, b, {
@@ -1086,7 +1082,7 @@ const Ko = (t, i, f, { allOwnKeys: r } = {}) => (yn(
1086
1082
  return r !== -1 && r === f;
1087
1083
  }, Zo = (t) => {
1088
1084
  if (!t) return null;
1089
- if (Qt(t)) return t;
1085
+ if (Gt(t)) return t;
1090
1086
  let i = t.length;
1091
1087
  if (!Fi(i)) return null;
1092
1088
  const f = new Array(i);
@@ -1110,7 +1106,7 @@ const Ko = (t, i, f, { allOwnKeys: r } = {}) => (yn(
1110
1106
  return r.toUpperCase() + E;
1111
1107
  }), Wr = (({ hasOwnProperty: t }) => (i, f) => t.call(i, f))(Object.prototype), is = kt("RegExp"), ji = (t, i) => {
1112
1108
  const f = Object.getOwnPropertyDescriptors(t), r = {};
1113
- yn(f, (E, b) => {
1109
+ gn(f, (E, b) => {
1114
1110
  let c;
1115
1111
  (c = i(E, b, t)) !== !1 && (r[b] = c || E);
1116
1112
  }), Object.defineProperties(t, r);
@@ -1135,7 +1131,7 @@ const Ko = (t, i, f, { allOwnKeys: r } = {}) => (yn(
1135
1131
  f[b] = !0;
1136
1132
  });
1137
1133
  };
1138
- return Qt(t) ? r(t) : r(String(t).split(i)), f;
1134
+ return Gt(t) ? r(t) : r(String(t).split(i)), f;
1139
1135
  }, as = () => {
1140
1136
  }, ls = (t, i) => t != null && Number.isFinite(t = +t) ? t : i;
1141
1137
  function cs(t) {
@@ -1143,49 +1139,49 @@ function cs(t) {
1143
1139
  }
1144
1140
  const us = (t) => {
1145
1141
  const i = new Array(10), f = (r, E) => {
1146
- if (gn(r)) {
1142
+ if (mn(r)) {
1147
1143
  if (i.indexOf(r) >= 0)
1148
1144
  return;
1149
- if (mn(r))
1145
+ if (pn(r))
1150
1146
  return r;
1151
1147
  if (!("toJSON" in r)) {
1152
1148
  i[E] = r;
1153
- const b = Qt(r) ? [] : {};
1154
- return yn(r, (c, n) => {
1149
+ const b = Gt(r) ? [] : {};
1150
+ return gn(r, (c, n) => {
1155
1151
  const v = f(c, E + 1);
1156
- !Yt(v) && (b[n] = v);
1152
+ !Vt(v) && (b[n] = v);
1157
1153
  }), i[E] = void 0, b;
1158
1154
  }
1159
1155
  }
1160
1156
  return r;
1161
1157
  };
1162
1158
  return f(t, 0);
1163
- }, hs = kt("AsyncFunction"), fs = (t) => t && (gn(t) || ht(t)) && ht(t.then) && ht(t.catch), Ni = ((t, i) => t ? setImmediate : i ? ((f, r) => (Ut.addEventListener(
1159
+ }, hs = kt("AsyncFunction"), fs = (t) => t && (mn(t) || ht(t)) && ht(t.then) && ht(t.catch), Ni = ((t, i) => t ? setImmediate : i ? ((f, r) => (Dt.addEventListener(
1164
1160
  "message",
1165
1161
  ({ source: E, data: b }) => {
1166
- E === Ut && b === f && r.length && r.shift()();
1162
+ E === Dt && b === f && r.length && r.shift()();
1167
1163
  },
1168
1164
  !1
1169
1165
  ), (E) => {
1170
- r.push(E), Ut.postMessage(f, "*");
1171
- }))(`axios@${Math.random()}`, []) : (f) => setTimeout(f))(typeof setImmediate == "function", ht(Ut.postMessage)), ds = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ut) : typeof process < "u" && process.nextTick || Ni, ps = (t) => t != null && ht(t[Dn]);
1166
+ r.push(E), Dt.postMessage(f, "*");
1167
+ }))(`axios@${Math.random()}`, []) : (f) => setTimeout(f))(typeof setImmediate == "function", ht(Dt.postMessage)), ds = typeof queueMicrotask < "u" ? queueMicrotask.bind(Dt) : typeof process < "u" && process.nextTick || Ni, ps = (t) => t != null && ht(t[Dn]);
1172
1168
  var Q = {
1173
- isArray: Qt,
1169
+ isArray: Gt,
1174
1170
  isArrayBuffer: Pi,
1175
- isBuffer: mn,
1171
+ isBuffer: pn,
1176
1172
  isFormData: Ho,
1177
1173
  isArrayBufferView: Po,
1178
1174
  isString: Fo,
1179
1175
  isNumber: Fi,
1180
1176
  isBoolean: Io,
1181
- isObject: gn,
1177
+ isObject: mn,
1182
1178
  isPlainObject: In,
1183
1179
  isEmptyObject: Lo,
1184
1180
  isReadableStream: $o,
1185
1181
  isRequest: qo,
1186
1182
  isResponse: zo,
1187
1183
  isHeaders: Vo,
1188
- isUndefined: Yt,
1184
+ isUndefined: Vt,
1189
1185
  isDate: jo,
1190
1186
  isFile: No,
1191
1187
  isBlob: Mo,
@@ -1195,7 +1191,7 @@ var Q = {
1195
1191
  isURLSearchParams: Uo,
1196
1192
  isTypedArray: Xo,
1197
1193
  isFileList: Bo,
1198
- forEach: yn,
1194
+ forEach: gn,
1199
1195
  merge: pr,
1200
1196
  extend: Ko,
1201
1197
  trim: Go,
@@ -1219,7 +1215,7 @@ var Q = {
1219
1215
  noop: as,
1220
1216
  toFiniteNumber: ls,
1221
1217
  findKey: Ii,
1222
- global: Ut,
1218
+ global: Dt,
1223
1219
  isContextDefined: Li,
1224
1220
  isSpecCompliantForm: cs,
1225
1221
  toJSONObject: us,
@@ -1280,7 +1276,7 @@ ct.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
1280
1276
  ct.ERR_CANCELED = "ERR_CANCELED";
1281
1277
  ct.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
1282
1278
  ct.ERR_INVALID_URL = "ERR_INVALID_URL";
1283
- var Ne = ct, ms = null;
1279
+ var je = ct, ms = null;
1284
1280
  function mr(t) {
1285
1281
  return Q.isPlainObject(t) || Q.isArray(t);
1286
1282
  }
@@ -1318,7 +1314,7 @@ function $n(t, i, f) {
1318
1314
  if (Q.isBoolean(a))
1319
1315
  return a.toString();
1320
1316
  if (!v && Q.isBlob(a))
1321
- throw new Ne("Blob is not supported. Use a Buffer instead.");
1317
+ throw new je("Blob is not supported. Use a Buffer instead.");
1322
1318
  return Q.isArrayBuffer(a) || Q.isTypedArray(a) ? v && typeof Blob == "function" ? new Blob([a]) : Buffer.from(a) : a;
1323
1319
  }
1324
1320
  function e(a, s, g) {
@@ -1531,7 +1527,7 @@ function Ps(t, i, f) {
1531
1527
  if (r.name !== "SyntaxError")
1532
1528
  throw r;
1533
1529
  }
1534
- return (0, JSON.stringify)(t);
1530
+ return (f || JSON.stringify)(t);
1535
1531
  }
1536
1532
  const Er = {
1537
1533
  transitional: wr,
@@ -1571,7 +1567,7 @@ const Er = {
1571
1567
  return JSON.parse(i, this.parseReviver);
1572
1568
  } catch (n) {
1573
1569
  if (c)
1574
- throw n.name === "SyntaxError" ? Ne.from(n, Ne.ERR_BAD_RESPONSE, this, null, this.response) : n;
1570
+ throw n.name === "SyntaxError" ? je.from(n, je.ERR_BAD_RESPONSE, this, null, this.response) : n;
1575
1571
  }
1576
1572
  }
1577
1573
  return i;
@@ -1631,7 +1627,7 @@ var Is = (t) => {
1631
1627
  }), i;
1632
1628
  };
1633
1629
  const Zr = Symbol("internals");
1634
- function un(t) {
1630
+ function cn(t) {
1635
1631
  return t && String(t).trim().toLowerCase();
1636
1632
  }
1637
1633
  function Ln(t) {
@@ -1676,7 +1672,7 @@ class qn {
1676
1672
  set(i, f, r) {
1677
1673
  const E = this;
1678
1674
  function b(n, v, o) {
1679
- const e = un(v);
1675
+ const e = cn(v);
1680
1676
  if (!e)
1681
1677
  throw new Error("header name must be a non-empty string");
1682
1678
  const p = Q.findKey(E, e);
@@ -1700,7 +1696,7 @@ class qn {
1700
1696
  return this;
1701
1697
  }
1702
1698
  get(i, f) {
1703
- if (i = un(i), i) {
1699
+ if (i = cn(i), i) {
1704
1700
  const r = Q.findKey(this, i);
1705
1701
  if (r) {
1706
1702
  const E = this[r];
@@ -1717,7 +1713,7 @@ class qn {
1717
1713
  }
1718
1714
  }
1719
1715
  has(i, f) {
1720
- if (i = un(i), i) {
1716
+ if (i = cn(i), i) {
1721
1717
  const r = Q.findKey(this, i);
1722
1718
  return !!(r && this[r] !== void 0 && (!f || ir(this, this[r], r, f)));
1723
1719
  }
@@ -1727,7 +1723,7 @@ class qn {
1727
1723
  const r = this;
1728
1724
  let E = !1;
1729
1725
  function b(c) {
1730
- if (c = un(c), c) {
1726
+ if (c = cn(c), c) {
1731
1727
  const n = Q.findKey(r, c);
1732
1728
  n && (!f || ir(r, r[n], n, f)) && (delete r[n], E = !0);
1733
1729
  }
@@ -1789,7 +1785,7 @@ class qn {
1789
1785
  accessors: {}
1790
1786
  }).accessors, E = this.prototype;
1791
1787
  function b(c) {
1792
- const n = un(c);
1788
+ const n = cn(c);
1793
1789
  r[n] || (Ms(E, c), r[n] = !0);
1794
1790
  }
1795
1791
  return Q.isArray(i) ? i.forEach(b) : b(i), this;
@@ -1817,7 +1813,7 @@ function or(t, i) {
1817
1813
  function Ui(t) {
1818
1814
  return !!(t && t.__CANCEL__);
1819
1815
  }
1820
- class Bs extends Ne {
1816
+ class Bs extends je {
1821
1817
  /**
1822
1818
  * A `CanceledError` is an object that is thrown when an operation is canceled.
1823
1819
  *
@@ -1828,15 +1824,15 @@ class Bs extends Ne {
1828
1824
  * @returns {CanceledError} The created error.
1829
1825
  */
1830
1826
  constructor(i, f, r) {
1831
- super(i ?? "canceled", Ne.ERR_CANCELED, f, r), this.name = "CanceledError", this.__CANCEL__ = !0;
1827
+ super(i ?? "canceled", je.ERR_CANCELED, f, r), this.name = "CanceledError", this.__CANCEL__ = !0;
1832
1828
  }
1833
1829
  }
1834
- var vn = Bs;
1830
+ var yn = Bs;
1835
1831
  function $i(t, i, f) {
1836
1832
  const r = f.config.validateStatus;
1837
- !f.status || !r || r(f.status) ? t(f) : i(new Ne(
1833
+ !f.status || !r || r(f.status) ? t(f) : i(new je(
1838
1834
  "Request failed with status code " + f.status,
1839
- [Ne.ERR_BAD_REQUEST, Ne.ERR_BAD_RESPONSE][Math.floor(f.status / 100) - 4],
1835
+ [je.ERR_BAD_REQUEST, je.ERR_BAD_RESPONSE][Math.floor(f.status / 100) - 4],
1840
1836
  f.config,
1841
1837
  f.request,
1842
1838
  f
@@ -1944,7 +1940,7 @@ function qi(t, i, f) {
1944
1940
  return t && (r || f == !1) ? Vs(t, i) : i;
1945
1941
  }
1946
1942
  const ti = (t) => t instanceof Et ? { ...t } : t;
1947
- function $t(t, i) {
1943
+ function Ht(t, i) {
1948
1944
  i = i || {};
1949
1945
  const f = {};
1950
1946
  function r(o, e, p, C) {
@@ -2014,7 +2010,7 @@ function $t(t, i) {
2014
2010
  ), f;
2015
2011
  }
2016
2012
  var zi = (t) => {
2017
- const i = $t({}, t);
2013
+ const i = Ht({}, t);
2018
2014
  let { data: f, withXSRFToken: r, xsrfHeaderName: E, xsrfCookieName: b, headers: c, auth: n } = i;
2019
2015
  if (i.headers = c = Et.from(c), i.url = Di(qi(i.baseURL, i.url, i.allowAbsoluteUrls), t.params, t.paramsSerializer), n && c.set(
2020
2016
  "Authorization",
@@ -2069,27 +2065,27 @@ var Ks = Gs && function(t) {
2069
2065
  "onloadend" in g ? g.onloadend = d : g.onreadystatechange = function() {
2070
2066
  !g || g.readyState !== 4 || g.status === 0 && !(g.responseURL && g.responseURL.indexOf("file:") === 0) || setTimeout(d);
2071
2067
  }, g.onabort = function() {
2072
- g && (r(new Ne("Request aborted", Ne.ECONNABORTED, t, g)), g = null);
2068
+ g && (r(new je("Request aborted", je.ECONNABORTED, t, g)), g = null);
2073
2069
  }, g.onerror = function(h) {
2074
- const _ = h && h.message ? h.message : "Network Error", S = new Ne(_, Ne.ERR_NETWORK, t, g);
2070
+ const _ = h && h.message ? h.message : "Network Error", S = new je(_, je.ERR_NETWORK, t, g);
2075
2071
  S.event = h || null, r(S), g = null;
2076
2072
  }, g.ontimeout = function() {
2077
2073
  let h = E.timeout ? "timeout of " + E.timeout + "ms exceeded" : "timeout exceeded";
2078
2074
  const _ = E.transitional || wr;
2079
- E.timeoutErrorMessage && (h = E.timeoutErrorMessage), r(new Ne(
2075
+ E.timeoutErrorMessage && (h = E.timeoutErrorMessage), r(new je(
2080
2076
  h,
2081
- _.clarifyTimeoutError ? Ne.ETIMEDOUT : Ne.ECONNABORTED,
2077
+ _.clarifyTimeoutError ? je.ETIMEDOUT : je.ECONNABORTED,
2082
2078
  t,
2083
2079
  g
2084
2080
  )), g = null;
2085
2081
  }, b === void 0 && c.setContentType(null), "setRequestHeader" in g && Q.forEach(c.toJSON(), function(h, _) {
2086
2082
  g.setRequestHeader(_, h);
2087
2083
  }), Q.isUndefined(E.withCredentials) || (g.withCredentials = !!E.withCredentials), n && n !== "json" && (g.responseType = E.responseType), o && ([C, a] = Mn(o, !0), g.addEventListener("progress", C)), v && g.upload && ([p, u] = Mn(v), g.upload.addEventListener("progress", p), g.upload.addEventListener("loadend", u)), (E.cancelToken || E.signal) && (e = (l) => {
2088
- g && (r(!l || l.type ? new vn(null, t, g) : l), g.abort(), g = null);
2084
+ g && (r(!l || l.type ? new yn(null, t, g) : l), g.abort(), g = null);
2089
2085
  }, E.cancelToken && E.cancelToken.subscribe(e), E.signal && (E.signal.aborted ? e() : E.signal.addEventListener("abort", e)));
2090
2086
  const m = Ds(E.url);
2091
2087
  if (m && at.protocols.indexOf(m) === -1) {
2092
- r(new Ne("Unsupported protocol " + m + ":", Ne.ERR_BAD_REQUEST, t));
2088
+ r(new je("Unsupported protocol " + m + ":", je.ERR_BAD_REQUEST, t));
2093
2089
  return;
2094
2090
  }
2095
2091
  g.send(b || null);
@@ -2103,11 +2099,11 @@ const Ws = (t, i) => {
2103
2099
  if (!E) {
2104
2100
  E = !0, n();
2105
2101
  const e = o instanceof Error ? o : this.reason;
2106
- r.abort(e instanceof Ne ? e : new vn(e instanceof Error ? e.message : e));
2102
+ r.abort(e instanceof je ? e : new yn(e instanceof Error ? e.message : e));
2107
2103
  }
2108
2104
  };
2109
2105
  let c = i && setTimeout(() => {
2110
- c = null, b(new Ne(`timeout of ${i}ms exceeded`, Ne.ETIMEDOUT));
2106
+ c = null, b(new je(`timeout of ${i}ms exceeded`, je.ETIMEDOUT));
2111
2107
  }, i);
2112
2108
  const n = () => {
2113
2109
  t && (c && clearTimeout(c), c = null, t.forEach((o) => {
@@ -2214,7 +2210,7 @@ const Ys = function* (t, i) {
2214
2210
  let d = s && s[a];
2215
2211
  if (d)
2216
2212
  return d.call(s);
2217
- throw new Ne(`Response type '${a}' is not supported`, Ne.ERR_NOT_SUPPORT, g);
2213
+ throw new je(`Response type '${a}' is not supported`, je.ERR_NOT_SUPPORT, g);
2218
2214
  });
2219
2215
  });
2220
2216
  const C = async (a) => {
@@ -2264,11 +2260,11 @@ const Ys = function* (t, i) {
2264
2260
  duplex: "half"
2265
2261
  }), ce;
2266
2262
  if (Q.isFormData(d) && (ce = Z.headers.get("content-type")) && T.setContentType(ce), Z.body) {
2267
- const [ge, _e] = Xr(
2263
+ const [ye, _e] = Xr(
2268
2264
  z,
2269
2265
  Mn(ei(S))
2270
2266
  );
2271
- d = ni(Z.body, ri, ge, _e);
2267
+ d = ni(Z.body, ri, ye, _e);
2272
2268
  }
2273
2269
  }
2274
2270
  Q.isString(A) || (A = A ? "include" : "omit");
@@ -2289,12 +2285,12 @@ const Ys = function* (t, i) {
2289
2285
  ["status", "statusText", "headers"].forEach((Ce) => {
2290
2286
  Z[Ce] = ee[Ce];
2291
2287
  });
2292
- const ce = Q.toFiniteNumber(ee.headers.get("content-length")), [ge, _e] = _ && Xr(
2288
+ const ce = Q.toFiniteNumber(ee.headers.get("content-length")), [ye, _e] = _ && Xr(
2293
2289
  ce,
2294
2290
  Mn(ei(_), !0)
2295
2291
  ) || [];
2296
2292
  ee = new r(
2297
- ni(ee.body, ri, ge, () => {
2293
+ ni(ee.body, ri, ye, () => {
2298
2294
  _e && _e(), N && N();
2299
2295
  }),
2300
2296
  Z
@@ -2314,11 +2310,11 @@ const Ys = function* (t, i) {
2314
2310
  });
2315
2311
  } catch (G) {
2316
2312
  throw N && N(), G && G.name === "TypeError" && /Load failed|fetch/i.test(G.message) ? Object.assign(
2317
- new Ne("Network Error", Ne.ERR_NETWORK, a, B, G && G.response),
2313
+ new je("Network Error", je.ERR_NETWORK, a, B, G && G.response),
2318
2314
  {
2319
2315
  cause: G.cause || G
2320
2316
  }
2321
- ) : Ne.from(G, G && G.code, a, B, G && G.response);
2317
+ ) : je.from(G, G && G.code, a, B, G && G.response);
2322
2318
  }
2323
2319
  };
2324
2320
  }, ta = /* @__PURE__ */ new Map(), Vi = (t) => {
@@ -2360,7 +2356,7 @@ function ra(t, i) {
2360
2356
  r = t[c];
2361
2357
  let n;
2362
2358
  if (E = r, !na(r) && (E = _r[(n = String(r)).toLowerCase()], E === void 0))
2363
- throw new Ne(`Unknown adapter '${n}'`);
2359
+ throw new je(`Unknown adapter '${n}'`);
2364
2360
  if (E && (Q.isFunction(E) || (E = E.get(i))))
2365
2361
  break;
2366
2362
  b[n || "#" + c] = E;
@@ -2372,7 +2368,7 @@ function ra(t, i) {
2372
2368
  let n = f ? c.length > 1 ? `since :
2373
2369
  ` + c.map(ai).join(`
2374
2370
  `) : " " + ai(c[0]) : "as no adapter specified";
2375
- throw new Ne(
2371
+ throw new je(
2376
2372
  "There is no suitable adapter to dispatch the request " + n,
2377
2373
  "ERR_NOT_SUPPORT"
2378
2374
  );
@@ -2393,7 +2389,7 @@ var Gi = {
2393
2389
  };
2394
2390
  function sr(t) {
2395
2391
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
2396
- throw new vn(null, t);
2392
+ throw new yn(null, t);
2397
2393
  }
2398
2394
  function li(t) {
2399
2395
  return sr(t), t.headers = Et.from(t.headers), t.data = or.call(
@@ -2426,9 +2422,9 @@ zn.transitional = function(i, f, r) {
2426
2422
  }
2427
2423
  return (b, c, n) => {
2428
2424
  if (i === !1)
2429
- throw new Ne(
2425
+ throw new je(
2430
2426
  E(c, " has been removed" + (f ? " in " + f : "")),
2431
- Ne.ERR_DEPRECATED
2427
+ je.ERR_DEPRECATED
2432
2428
  );
2433
2429
  return f && !ci[c] && (ci[c] = !0, console.warn(
2434
2430
  E(
@@ -2443,7 +2439,7 @@ zn.spelling = function(i) {
2443
2439
  };
2444
2440
  function ia(t, i, f) {
2445
2441
  if (typeof t != "object")
2446
- throw new Ne("options must be an object", Ne.ERR_BAD_OPTION_VALUE);
2442
+ throw new je("options must be an object", je.ERR_BAD_OPTION_VALUE);
2447
2443
  const r = Object.keys(t);
2448
2444
  let E = r.length;
2449
2445
  for (; E-- > 0; ) {
@@ -2451,11 +2447,11 @@ function ia(t, i, f) {
2451
2447
  if (c) {
2452
2448
  const n = t[b], v = n === void 0 || c(n, b, t);
2453
2449
  if (v !== !0)
2454
- throw new Ne("option " + b + " must be " + v, Ne.ERR_BAD_OPTION_VALUE);
2450
+ throw new je("option " + b + " must be " + v, je.ERR_BAD_OPTION_VALUE);
2455
2451
  continue;
2456
2452
  }
2457
2453
  if (f !== !0)
2458
- throw new Ne("Unknown option " + b, Ne.ERR_BAD_OPTION);
2454
+ throw new je("Unknown option " + b, je.ERR_BAD_OPTION);
2459
2455
  }
2460
2456
  }
2461
2457
  var jn = {
@@ -2496,7 +2492,7 @@ class Bn {
2496
2492
  }
2497
2493
  }
2498
2494
  _request(i, f) {
2499
- typeof i == "string" ? (f = f || {}, f.url = i) : f = i || {}, f = $t(this.defaults, f);
2495
+ typeof i == "string" ? (f = f || {}, f.url = i) : f = i || {}, f = Ht(this.defaults, f);
2500
2496
  const { transitional: r, paramsSerializer: E, headers: b } = f;
2501
2497
  r !== void 0 && jn.assertOptions(r, {
2502
2498
  silentJSONParsing: yt.transitional(yt.boolean),
@@ -2563,14 +2559,14 @@ class Bn {
2563
2559
  return e;
2564
2560
  }
2565
2561
  getUri(i) {
2566
- i = $t(this.defaults, i);
2562
+ i = Ht(this.defaults, i);
2567
2563
  const f = qi(i.baseURL, i.url, i.allowAbsoluteUrls);
2568
2564
  return Di(f, i.params, i.paramsSerializer);
2569
2565
  }
2570
2566
  }
2571
2567
  Q.forEach(["delete", "get", "head", "options"], function(i) {
2572
2568
  Bn.prototype[i] = function(f, r) {
2573
- return this.request($t(r || {}, {
2569
+ return this.request(Ht(r || {}, {
2574
2570
  method: i,
2575
2571
  url: f,
2576
2572
  data: (r || {}).data
@@ -2580,7 +2576,7 @@ Q.forEach(["delete", "get", "head", "options"], function(i) {
2580
2576
  Q.forEach(["post", "put", "patch"], function(i) {
2581
2577
  function f(r) {
2582
2578
  return function(b, c, n) {
2583
- return this.request($t(n || {}, {
2579
+ return this.request(Ht(n || {}, {
2584
2580
  method: i,
2585
2581
  headers: r ? {
2586
2582
  "Content-Type": "multipart/form-data"
@@ -2617,7 +2613,7 @@ class Cr {
2617
2613
  r.unsubscribe(b);
2618
2614
  }, c;
2619
2615
  }, i(function(b, c, n) {
2620
- r.reason || (r.reason = new vn(b, c, n), f(r.reason));
2616
+ r.reason || (r.reason = new yn(b, c, n), f(r.reason));
2621
2617
  });
2622
2618
  }
2623
2619
  /**
@@ -2753,44 +2749,44 @@ var la = yr;
2753
2749
  function Wi(t) {
2754
2750
  const i = new Nn(t), f = Ai(Nn.prototype.request, i);
2755
2751
  return Q.extend(f, Nn.prototype, i, { allOwnKeys: !0 }), Q.extend(f, i, null, { allOwnKeys: !0 }), f.create = function(E) {
2756
- return Wi($t(t, E));
2752
+ return Wi(Ht(t, E));
2757
2753
  }, f;
2758
2754
  }
2759
2755
  const Qe = Wi(kr);
2760
2756
  Qe.Axios = Nn;
2761
- Qe.CanceledError = vn;
2757
+ Qe.CanceledError = yn;
2762
2758
  Qe.CancelToken = oa;
2763
2759
  Qe.isCancel = Ui;
2764
2760
  Qe.VERSION = Ki;
2765
2761
  Qe.toFormData = $n;
2766
- Qe.AxiosError = Ne;
2762
+ Qe.AxiosError = je;
2767
2763
  Qe.Cancel = Qe.CanceledError;
2768
2764
  Qe.all = function(i) {
2769
2765
  return Promise.all(i);
2770
2766
  };
2771
2767
  Qe.spread = sa;
2772
2768
  Qe.isAxiosError = aa;
2773
- Qe.mergeConfig = $t;
2769
+ Qe.mergeConfig = Ht;
2774
2770
  Qe.AxiosHeaders = Et;
2775
2771
  Qe.formToJSON = (t) => Hi(Q.isHTMLForm(t) ? new FormData(t) : t);
2776
2772
  Qe.getAdapter = Gi.getAdapter;
2777
2773
  Qe.HttpStatusCode = la;
2778
2774
  Qe.default = Qe;
2779
- var Ji = Qe, ca = tt && tt.__importDefault || function(t) {
2775
+ var Ji = Qe, ca = nt && nt.__importDefault || function(t) {
2780
2776
  return t && t.__esModule ? t : { default: t };
2781
2777
  };
2782
- Object.defineProperty(et, "__esModule", { value: !0 });
2783
- et.RESPONSE_SERVER_ERROR = et.RESPONSE_BAD_REQUEST = et.setRequestInterceptor = et.aiAnswersInteractionsInstance = et.statsInstance = et.apiInstance = void 0;
2778
+ Object.defineProperty(tt, "__esModule", { value: !0 });
2779
+ tt.RESPONSE_SERVER_ERROR = tt.RESPONSE_BAD_REQUEST = tt.setRequestInterceptor = tt.aiAnswersInteractionsInstance = tt.statsInstance = tt.apiInstance = void 0;
2784
2780
  const Or = ca(Ji), Yi = Or.default.create();
2785
- et.apiInstance = Yi;
2781
+ tt.apiInstance = Yi;
2786
2782
  const Qi = Or.default.create();
2787
- et.statsInstance = Qi;
2783
+ tt.statsInstance = Qi;
2788
2784
  const ua = Or.default.create();
2789
- et.aiAnswersInteractionsInstance = ua;
2785
+ tt.aiAnswersInteractionsInstance = ua;
2790
2786
  const ha = 400;
2791
- et.RESPONSE_BAD_REQUEST = ha;
2787
+ tt.RESPONSE_BAD_REQUEST = ha;
2792
2788
  const fa = 500;
2793
- et.RESPONSE_SERVER_ERROR = fa;
2789
+ tt.RESPONSE_SERVER_ERROR = fa;
2794
2790
  const da = (t, i) => {
2795
2791
  (i === "searchApi" ? Yi : Qi).interceptors.request.use((r) => {
2796
2792
  const E = t({
@@ -2800,14 +2796,14 @@ const da = (t, i) => {
2800
2796
  return r = Object.assign(Object.assign({}, r), E), r;
2801
2797
  }, (r) => Promise.reject(new Error(JSON.stringify(r))));
2802
2798
  };
2803
- et.setRequestInterceptor = da;
2799
+ tt.setRequestInterceptor = da;
2804
2800
  var lt = {}, Zi = {}, Vn = {};
2805
2801
  Vn.byteLength = ga;
2806
2802
  Vn.toByteArray = va;
2807
2803
  Vn.fromByteArray = wa;
2808
2804
  var Ct = [], vt = [], pa = typeof Uint8Array < "u" ? Uint8Array : Array, ar = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
2809
- for (var Jt = 0, ma = ar.length; Jt < ma; ++Jt)
2810
- Ct[Jt] = ar[Jt], vt[ar.charCodeAt(Jt)] = Jt;
2805
+ for (var zt = 0, ma = ar.length; zt < ma; ++zt)
2806
+ Ct[zt] = ar[zt], vt[ar.charCodeAt(zt)] = zt;
2811
2807
  vt[45] = 62;
2812
2808
  vt[95] = 63;
2813
2809
  function Xi(t) {
@@ -2936,7 +2932,7 @@ Rr.write = function(t, i, f, r, E, b) {
2936
2932
  throw new TypeError(
2937
2933
  "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof O
2938
2934
  );
2939
- if (Be(O, ArrayBuffer) || O && Be(O.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (Be(O, SharedArrayBuffer) || O && Be(O.buffer, SharedArrayBuffer)))
2935
+ if (Me(O, ArrayBuffer) || O && Me(O.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (Me(O, SharedArrayBuffer) || O && Me(O.buffer, SharedArrayBuffer)))
2940
2936
  return s(O, y, w);
2941
2937
  if (typeof O == "number")
2942
2938
  throw new TypeError(
@@ -2945,8 +2941,8 @@ Rr.write = function(t, i, f, r, E, b) {
2945
2941
  const I = O.valueOf && O.valueOf();
2946
2942
  if (I != null && I !== O)
2947
2943
  return n.from(I, y, w);
2948
- const $ = g(O);
2949
- if ($) return $;
2944
+ const q = g(O);
2945
+ if (q) return q;
2950
2946
  if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof O[Symbol.toPrimitive] == "function")
2951
2947
  return n.from(O[Symbol.toPrimitive]("string"), y, w);
2952
2948
  throw new TypeError(
@@ -2981,8 +2977,8 @@ Rr.write = function(t, i, f, r, E, b) {
2981
2977
  throw new TypeError("Unknown encoding: " + y);
2982
2978
  const w = l(O, y) | 0;
2983
2979
  let I = c(w);
2984
- const $ = I.write(O, y);
2985
- return $ !== w && (I = I.slice(0, $)), I;
2980
+ const q = I.write(O, y);
2981
+ return q !== w && (I = I.slice(0, q)), I;
2986
2982
  }
2987
2983
  function u(O) {
2988
2984
  const y = O.length < 0 ? 0 : d(O.length) | 0, w = c(y);
@@ -2991,7 +2987,7 @@ Rr.write = function(t, i, f, r, E, b) {
2991
2987
  return w;
2992
2988
  }
2993
2989
  function a(O) {
2994
- if (Be(O, Uint8Array)) {
2990
+ if (Me(O, Uint8Array)) {
2995
2991
  const y = new Uint8Array(O);
2996
2992
  return s(y.buffer, y.byteOffset, y.byteLength);
2997
2993
  }
@@ -3026,18 +3022,18 @@ Rr.write = function(t, i, f, r, E, b) {
3026
3022
  n.isBuffer = function(y) {
3027
3023
  return y != null && y._isBuffer === !0 && y !== n.prototype;
3028
3024
  }, n.compare = function(y, w) {
3029
- if (Be(y, Uint8Array) && (y = n.from(y, y.offset, y.byteLength)), Be(w, Uint8Array) && (w = n.from(w, w.offset, w.byteLength)), !n.isBuffer(y) || !n.isBuffer(w))
3025
+ if (Me(y, Uint8Array) && (y = n.from(y, y.offset, y.byteLength)), Me(w, Uint8Array) && (w = n.from(w, w.offset, w.byteLength)), !n.isBuffer(y) || !n.isBuffer(w))
3030
3026
  throw new TypeError(
3031
3027
  'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
3032
3028
  );
3033
3029
  if (y === w) return 0;
3034
- let I = y.length, $ = w.length;
3035
- for (let J = 0, te = Math.min(I, $); J < te; ++J)
3030
+ let I = y.length, q = w.length;
3031
+ for (let J = 0, te = Math.min(I, q); J < te; ++J)
3036
3032
  if (y[J] !== w[J]) {
3037
- I = y[J], $ = w[J];
3033
+ I = y[J], q = w[J];
3038
3034
  break;
3039
3035
  }
3040
- return I < $ ? -1 : $ < I ? 1 : 0;
3036
+ return I < q ? -1 : q < I ? 1 : 0;
3041
3037
  }, n.isEncoding = function(y) {
3042
3038
  switch (String(y).toLowerCase()) {
3043
3039
  case "hex":
@@ -3064,28 +3060,28 @@ Rr.write = function(t, i, f, r, E, b) {
3064
3060
  if (w === void 0)
3065
3061
  for (w = 0, I = 0; I < y.length; ++I)
3066
3062
  w += y[I].length;
3067
- const $ = n.allocUnsafe(w);
3063
+ const q = n.allocUnsafe(w);
3068
3064
  let J = 0;
3069
3065
  for (I = 0; I < y.length; ++I) {
3070
3066
  let te = y[I];
3071
- if (Be(te, Uint8Array))
3072
- J + te.length > $.length ? (n.isBuffer(te) || (te = n.from(te)), te.copy($, J)) : Uint8Array.prototype.set.call(
3073
- $,
3067
+ if (Me(te, Uint8Array))
3068
+ J + te.length > q.length ? (n.isBuffer(te) || (te = n.from(te)), te.copy(q, J)) : Uint8Array.prototype.set.call(
3069
+ q,
3074
3070
  te,
3075
3071
  J
3076
3072
  );
3077
3073
  else if (n.isBuffer(te))
3078
- te.copy($, J);
3074
+ te.copy(q, J);
3079
3075
  else
3080
3076
  throw new TypeError('"list" argument must be an Array of Buffers');
3081
3077
  J += te.length;
3082
3078
  }
3083
- return $;
3079
+ return q;
3084
3080
  };
3085
3081
  function l(O, y) {
3086
3082
  if (n.isBuffer(O))
3087
3083
  return O.length;
3088
- if (ArrayBuffer.isView(O) || Be(O, ArrayBuffer))
3084
+ if (ArrayBuffer.isView(O) || Me(O, ArrayBuffer))
3089
3085
  return O.byteLength;
3090
3086
  if (typeof O != "string")
3091
3087
  throw new TypeError(
@@ -3093,7 +3089,7 @@ Rr.write = function(t, i, f, r, E, b) {
3093
3089
  );
3094
3090
  const w = O.length, I = arguments.length > 2 && arguments[2] === !0;
3095
3091
  if (!I && w === 0) return 0;
3096
- let $ = !1;
3092
+ let q = !1;
3097
3093
  for (; ; )
3098
3094
  switch (y) {
3099
3095
  case "ascii":
@@ -3113,9 +3109,9 @@ Rr.write = function(t, i, f, r, E, b) {
3113
3109
  case "base64":
3114
3110
  return ve(O).length;
3115
3111
  default:
3116
- if ($)
3112
+ if (q)
3117
3113
  return I ? -1 : Se(O).length;
3118
- y = ("" + y).toLowerCase(), $ = !0;
3114
+ y = ("" + y).toLowerCase(), q = !0;
3119
3115
  }
3120
3116
  }
3121
3117
  n.byteLength = l;
@@ -3183,55 +3179,55 @@ Rr.write = function(t, i, f, r, E, b) {
3183
3179
  let y = "";
3184
3180
  const w = t.INSPECT_MAX_BYTES;
3185
3181
  return y = this.toString("hex", 0, w).replace(/(.{2})/g, "$1 ").trim(), this.length > w && (y += " ... "), "<Buffer " + y + ">";
3186
- }, r && (n.prototype[r] = n.prototype.inspect), n.prototype.compare = function(y, w, I, $, J) {
3187
- if (Be(y, Uint8Array) && (y = n.from(y, y.offset, y.byteLength)), !n.isBuffer(y))
3182
+ }, r && (n.prototype[r] = n.prototype.inspect), n.prototype.compare = function(y, w, I, q, J) {
3183
+ if (Me(y, Uint8Array) && (y = n.from(y, y.offset, y.byteLength)), !n.isBuffer(y))
3188
3184
  throw new TypeError(
3189
3185
  'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof y
3190
3186
  );
3191
- if (w === void 0 && (w = 0), I === void 0 && (I = y ? y.length : 0), $ === void 0 && ($ = 0), J === void 0 && (J = this.length), w < 0 || I > y.length || $ < 0 || J > this.length)
3187
+ if (w === void 0 && (w = 0), I === void 0 && (I = y ? y.length : 0), q === void 0 && (q = 0), J === void 0 && (J = this.length), w < 0 || I > y.length || q < 0 || J > this.length)
3192
3188
  throw new RangeError("out of range index");
3193
- if ($ >= J && w >= I)
3189
+ if (q >= J && w >= I)
3194
3190
  return 0;
3195
- if ($ >= J)
3191
+ if (q >= J)
3196
3192
  return -1;
3197
3193
  if (w >= I)
3198
3194
  return 1;
3199
- if (w >>>= 0, I >>>= 0, $ >>>= 0, J >>>= 0, this === y) return 0;
3200
- let te = J - $, Te = I - w;
3201
- const ze = Math.min(te, Te), Pe = this.slice($, J), Ge = y.slice(w, I);
3202
- for (let ye = 0; ye < ze; ++ye)
3203
- if (Pe[ye] !== Ge[ye]) {
3204
- te = Pe[ye], Te = Ge[ye];
3195
+ if (w >>>= 0, I >>>= 0, q >>>= 0, J >>>= 0, this === y) return 0;
3196
+ let te = J - q, Te = I - w;
3197
+ const ze = Math.min(te, Te), Pe = this.slice(q, J), Ge = y.slice(w, I);
3198
+ for (let ge = 0; ge < ze; ++ge)
3199
+ if (Pe[ge] !== Ge[ge]) {
3200
+ te = Pe[ge], Te = Ge[ge];
3205
3201
  break;
3206
3202
  }
3207
3203
  return te < Te ? -1 : Te < te ? 1 : 0;
3208
3204
  };
3209
- function S(O, y, w, I, $) {
3205
+ function S(O, y, w, I, q) {
3210
3206
  if (O.length === 0) return -1;
3211
- if (typeof w == "string" ? (I = w, w = 0) : w > 2147483647 ? w = 2147483647 : w < -2147483648 && (w = -2147483648), w = +w, X(w) && (w = $ ? 0 : O.length - 1), w < 0 && (w = O.length + w), w >= O.length) {
3212
- if ($) return -1;
3207
+ if (typeof w == "string" ? (I = w, w = 0) : w > 2147483647 ? w = 2147483647 : w < -2147483648 && (w = -2147483648), w = +w, X(w) && (w = q ? 0 : O.length - 1), w < 0 && (w = O.length + w), w >= O.length) {
3208
+ if (q) return -1;
3213
3209
  w = O.length - 1;
3214
3210
  } else if (w < 0)
3215
- if ($) w = 0;
3211
+ if (q) w = 0;
3216
3212
  else return -1;
3217
3213
  if (typeof y == "string" && (y = n.from(y, I)), n.isBuffer(y))
3218
- return y.length === 0 ? -1 : F(O, y, w, I, $);
3214
+ return y.length === 0 ? -1 : F(O, y, w, I, q);
3219
3215
  if (typeof y == "number")
3220
- return y = y & 255, typeof Uint8Array.prototype.indexOf == "function" ? $ ? Uint8Array.prototype.indexOf.call(O, y, w) : Uint8Array.prototype.lastIndexOf.call(O, y, w) : F(O, [y], w, I, $);
3216
+ return y = y & 255, typeof Uint8Array.prototype.indexOf == "function" ? q ? Uint8Array.prototype.indexOf.call(O, y, w) : Uint8Array.prototype.lastIndexOf.call(O, y, w) : F(O, [y], w, I, q);
3221
3217
  throw new TypeError("val must be string, number or Buffer");
3222
3218
  }
3223
- function F(O, y, w, I, $) {
3219
+ function F(O, y, w, I, q) {
3224
3220
  let J = 1, te = O.length, Te = y.length;
3225
3221
  if (I !== void 0 && (I = String(I).toLowerCase(), I === "ucs2" || I === "ucs-2" || I === "utf16le" || I === "utf-16le")) {
3226
3222
  if (O.length < 2 || y.length < 2)
3227
3223
  return -1;
3228
3224
  J = 2, te /= 2, Te /= 2, w /= 2;
3229
3225
  }
3230
- function ze(Ge, ye) {
3231
- return J === 1 ? Ge[ye] : Ge.readUInt16BE(ye * J);
3226
+ function ze(Ge, ge) {
3227
+ return J === 1 ? Ge[ge] : Ge.readUInt16BE(ge * J);
3232
3228
  }
3233
3229
  let Pe;
3234
- if ($) {
3230
+ if (q) {
3235
3231
  let Ge = -1;
3236
3232
  for (Pe = w; Pe < te; Pe++)
3237
3233
  if (ze(O, Pe) === ze(y, Ge === -1 ? 0 : Pe - Ge)) {
@@ -3241,8 +3237,8 @@ Rr.write = function(t, i, f, r, E, b) {
3241
3237
  } else
3242
3238
  for (w + Te > te && (w = te - Te), Pe = w; Pe >= 0; Pe--) {
3243
3239
  let Ge = !0;
3244
- for (let ye = 0; ye < Te; ye++)
3245
- if (ze(O, Pe + ye) !== ze(y, ye)) {
3240
+ for (let ge = 0; ge < Te; ge++)
3241
+ if (ze(O, Pe + ge) !== ze(y, ge)) {
3246
3242
  Ge = !1;
3247
3243
  break;
3248
3244
  }
@@ -3259,8 +3255,8 @@ Rr.write = function(t, i, f, r, E, b) {
3259
3255
  };
3260
3256
  function T(O, y, w, I) {
3261
3257
  w = Number(w) || 0;
3262
- const $ = O.length - w;
3263
- I ? (I = Number(I), I > $ && (I = $)) : I = $;
3258
+ const q = O.length - w;
3259
+ I ? (I = Number(I), I > q && (I = q)) : I = q;
3264
3260
  const J = y.length;
3265
3261
  I > J / 2 && (I = J / 2);
3266
3262
  let te;
@@ -3283,13 +3279,13 @@ Rr.write = function(t, i, f, r, E, b) {
3283
3279
  function L(O, y, w, I) {
3284
3280
  return be(me(y, O.length - w), O, w, I);
3285
3281
  }
3286
- n.prototype.write = function(y, w, I, $) {
3282
+ n.prototype.write = function(y, w, I, q) {
3287
3283
  if (w === void 0)
3288
- $ = "utf8", I = this.length, w = 0;
3284
+ q = "utf8", I = this.length, w = 0;
3289
3285
  else if (I === void 0 && typeof w == "string")
3290
- $ = w, I = this.length, w = 0;
3286
+ q = w, I = this.length, w = 0;
3291
3287
  else if (isFinite(w))
3292
- w = w >>> 0, isFinite(I) ? (I = I >>> 0, $ === void 0 && ($ = "utf8")) : ($ = I, I = void 0);
3288
+ w = w >>> 0, isFinite(I) ? (I = I >>> 0, q === void 0 && (q = "utf8")) : (q = I, I = void 0);
3293
3289
  else
3294
3290
  throw new Error(
3295
3291
  "Buffer.write(string, encoding, offset[, length]) is no longer supported"
@@ -3297,10 +3293,10 @@ Rr.write = function(t, i, f, r, E, b) {
3297
3293
  const J = this.length - w;
3298
3294
  if ((I === void 0 || I > J) && (I = J), y.length > 0 && (I < 0 || w < 0) || w > this.length)
3299
3295
  throw new RangeError("Attempt to write outside buffer bounds");
3300
- $ || ($ = "utf8");
3296
+ q || (q = "utf8");
3301
3297
  let te = !1;
3302
3298
  for (; ; )
3303
- switch ($) {
3299
+ switch (q) {
3304
3300
  case "hex":
3305
3301
  return T(this, y, w, I);
3306
3302
  case "utf8":
@@ -3318,8 +3314,8 @@ Rr.write = function(t, i, f, r, E, b) {
3318
3314
  case "utf-16le":
3319
3315
  return L(this, y, w, I);
3320
3316
  default:
3321
- if (te) throw new TypeError("Unknown encoding: " + $);
3322
- $ = ("" + $).toLowerCase(), te = !0;
3317
+ if (te) throw new TypeError("Unknown encoding: " + q);
3318
+ q = ("" + q).toLowerCase(), te = !0;
3323
3319
  }
3324
3320
  }, n.prototype.toJSON = function() {
3325
3321
  return {
@@ -3333,27 +3329,27 @@ Rr.write = function(t, i, f, r, E, b) {
3333
3329
  function N(O, y, w) {
3334
3330
  w = Math.min(O.length, w);
3335
3331
  const I = [];
3336
- let $ = y;
3337
- for (; $ < w; ) {
3338
- const J = O[$];
3332
+ let q = y;
3333
+ for (; q < w; ) {
3334
+ const J = O[q];
3339
3335
  let te = null, Te = J > 239 ? 4 : J > 223 ? 3 : J > 191 ? 2 : 1;
3340
- if ($ + Te <= w) {
3341
- let ze, Pe, Ge, ye;
3336
+ if (q + Te <= w) {
3337
+ let ze, Pe, Ge, ge;
3342
3338
  switch (Te) {
3343
3339
  case 1:
3344
3340
  J < 128 && (te = J);
3345
3341
  break;
3346
3342
  case 2:
3347
- ze = O[$ + 1], (ze & 192) === 128 && (ye = (J & 31) << 6 | ze & 63, ye > 127 && (te = ye));
3343
+ ze = O[q + 1], (ze & 192) === 128 && (ge = (J & 31) << 6 | ze & 63, ge > 127 && (te = ge));
3348
3344
  break;
3349
3345
  case 3:
3350
- ze = O[$ + 1], Pe = O[$ + 2], (ze & 192) === 128 && (Pe & 192) === 128 && (ye = (J & 15) << 12 | (ze & 63) << 6 | Pe & 63, ye > 2047 && (ye < 55296 || ye > 57343) && (te = ye));
3346
+ ze = O[q + 1], Pe = O[q + 2], (ze & 192) === 128 && (Pe & 192) === 128 && (ge = (J & 15) << 12 | (ze & 63) << 6 | Pe & 63, ge > 2047 && (ge < 55296 || ge > 57343) && (te = ge));
3351
3347
  break;
3352
3348
  case 4:
3353
- ze = O[$ + 1], Pe = O[$ + 2], Ge = O[$ + 3], (ze & 192) === 128 && (Pe & 192) === 128 && (Ge & 192) === 128 && (ye = (J & 15) << 18 | (ze & 63) << 12 | (Pe & 63) << 6 | Ge & 63, ye > 65535 && ye < 1114112 && (te = ye));
3349
+ ze = O[q + 1], Pe = O[q + 2], Ge = O[q + 3], (ze & 192) === 128 && (Pe & 192) === 128 && (Ge & 192) === 128 && (ge = (J & 15) << 18 | (ze & 63) << 12 | (Pe & 63) << 6 | Ge & 63, ge > 65535 && ge < 1114112 && (te = ge));
3354
3350
  }
3355
3351
  }
3356
- te === null ? (te = 65533, Te = 1) : te > 65535 && (te -= 65536, I.push(te >>> 10 & 1023 | 55296), te = 56320 | te & 1023), I.push(te), $ += Te;
3352
+ te === null ? (te = 65533, Te = 1) : te > 65535 && (te -= 65536, I.push(te >>> 10 & 1023 | 55296), te = 56320 | te & 1023), I.push(te), q += Te;
3357
3353
  }
3358
3354
  return G(I);
3359
3355
  }
@@ -3373,37 +3369,37 @@ Rr.write = function(t, i, f, r, E, b) {
3373
3369
  function oe(O, y, w) {
3374
3370
  let I = "";
3375
3371
  w = Math.min(O.length, w);
3376
- for (let $ = y; $ < w; ++$)
3377
- I += String.fromCharCode(O[$] & 127);
3372
+ for (let q = y; q < w; ++q)
3373
+ I += String.fromCharCode(O[q] & 127);
3378
3374
  return I;
3379
3375
  }
3380
3376
  function ee(O, y, w) {
3381
3377
  let I = "";
3382
3378
  w = Math.min(O.length, w);
3383
- for (let $ = y; $ < w; ++$)
3384
- I += String.fromCharCode(O[$]);
3379
+ for (let q = y; q < w; ++q)
3380
+ I += String.fromCharCode(O[q]);
3385
3381
  return I;
3386
3382
  }
3387
3383
  function Y(O, y, w) {
3388
3384
  const I = O.length;
3389
3385
  (!y || y < 0) && (y = 0), (!w || w < 0 || w > I) && (w = I);
3390
- let $ = "";
3386
+ let q = "";
3391
3387
  for (let J = y; J < w; ++J)
3392
- $ += le[O[J]];
3393
- return $;
3388
+ q += le[O[J]];
3389
+ return q;
3394
3390
  }
3395
3391
  function W(O, y, w) {
3396
3392
  const I = O.slice(y, w);
3397
- let $ = "";
3393
+ let q = "";
3398
3394
  for (let J = 0; J < I.length - 1; J += 2)
3399
- $ += String.fromCharCode(I[J] + I[J + 1] * 256);
3400
- return $;
3395
+ q += String.fromCharCode(I[J] + I[J + 1] * 256);
3396
+ return q;
3401
3397
  }
3402
3398
  n.prototype.slice = function(y, w) {
3403
3399
  const I = this.length;
3404
3400
  y = ~~y, w = w === void 0 ? I : ~~w, y < 0 ? (y += I, y < 0 && (y = 0)) : y > I && (y = I), w < 0 ? (w += I, w < 0 && (w = 0)) : w > I && (w = I), w < y && (w = y);
3405
- const $ = this.subarray(y, w);
3406
- return Object.setPrototypeOf($, n.prototype), $;
3401
+ const q = this.subarray(y, w);
3402
+ return Object.setPrototypeOf(q, n.prototype), q;
3407
3403
  };
3408
3404
  function Z(O, y, w) {
3409
3405
  if (O % 1 !== 0 || O < 0) throw new RangeError("offset is not uint");
@@ -3411,16 +3407,16 @@ Rr.write = function(t, i, f, r, E, b) {
3411
3407
  }
3412
3408
  n.prototype.readUintLE = n.prototype.readUIntLE = function(y, w, I) {
3413
3409
  y = y >>> 0, w = w >>> 0, I || Z(y, w, this.length);
3414
- let $ = this[y], J = 1, te = 0;
3410
+ let q = this[y], J = 1, te = 0;
3415
3411
  for (; ++te < w && (J *= 256); )
3416
- $ += this[y + te] * J;
3417
- return $;
3412
+ q += this[y + te] * J;
3413
+ return q;
3418
3414
  }, n.prototype.readUintBE = n.prototype.readUIntBE = function(y, w, I) {
3419
3415
  y = y >>> 0, w = w >>> 0, I || Z(y, w, this.length);
3420
- let $ = this[y + --w], J = 1;
3416
+ let q = this[y + --w], J = 1;
3421
3417
  for (; w > 0 && (J *= 256); )
3422
- $ += this[y + --w] * J;
3423
- return $;
3418
+ q += this[y + --w] * J;
3419
+ return q;
3424
3420
  }, n.prototype.readUint8 = n.prototype.readUInt8 = function(y, w) {
3425
3421
  return y = y >>> 0, w || Z(y, 1, this.length), this[y];
3426
3422
  }, n.prototype.readUint16LE = n.prototype.readUInt16LE = function(y, w) {
@@ -3435,25 +3431,25 @@ Rr.write = function(t, i, f, r, E, b) {
3435
3431
  y = y >>> 0, H(y, "offset");
3436
3432
  const w = this[y], I = this[y + 7];
3437
3433
  (w === void 0 || I === void 0) && se(y, this.length - 8);
3438
- const $ = w + this[++y] * 2 ** 8 + this[++y] * 2 ** 16 + this[++y] * 2 ** 24, J = this[++y] + this[++y] * 2 ** 8 + this[++y] * 2 ** 16 + I * 2 ** 24;
3439
- return BigInt($) + (BigInt(J) << BigInt(32));
3434
+ const q = w + this[++y] * 2 ** 8 + this[++y] * 2 ** 16 + this[++y] * 2 ** 24, J = this[++y] + this[++y] * 2 ** 8 + this[++y] * 2 ** 16 + I * 2 ** 24;
3435
+ return BigInt(q) + (BigInt(J) << BigInt(32));
3440
3436
  }), n.prototype.readBigUInt64BE = ie(function(y) {
3441
3437
  y = y >>> 0, H(y, "offset");
3442
3438
  const w = this[y], I = this[y + 7];
3443
3439
  (w === void 0 || I === void 0) && se(y, this.length - 8);
3444
- const $ = w * 2 ** 24 + this[++y] * 2 ** 16 + this[++y] * 2 ** 8 + this[++y], J = this[++y] * 2 ** 24 + this[++y] * 2 ** 16 + this[++y] * 2 ** 8 + I;
3445
- return (BigInt($) << BigInt(32)) + BigInt(J);
3440
+ const q = w * 2 ** 24 + this[++y] * 2 ** 16 + this[++y] * 2 ** 8 + this[++y], J = this[++y] * 2 ** 24 + this[++y] * 2 ** 16 + this[++y] * 2 ** 8 + I;
3441
+ return (BigInt(q) << BigInt(32)) + BigInt(J);
3446
3442
  }), n.prototype.readIntLE = function(y, w, I) {
3447
3443
  y = y >>> 0, w = w >>> 0, I || Z(y, w, this.length);
3448
- let $ = this[y], J = 1, te = 0;
3444
+ let q = this[y], J = 1, te = 0;
3449
3445
  for (; ++te < w && (J *= 256); )
3450
- $ += this[y + te] * J;
3451
- return J *= 128, $ >= J && ($ -= Math.pow(2, 8 * w)), $;
3446
+ q += this[y + te] * J;
3447
+ return J *= 128, q >= J && (q -= Math.pow(2, 8 * w)), q;
3452
3448
  }, n.prototype.readIntBE = function(y, w, I) {
3453
3449
  y = y >>> 0, w = w >>> 0, I || Z(y, w, this.length);
3454
- let $ = w, J = 1, te = this[y + --$];
3455
- for (; $ > 0 && (J *= 256); )
3456
- te += this[y + --$] * J;
3450
+ let q = w, J = 1, te = this[y + --q];
3451
+ for (; q > 0 && (J *= 256); )
3452
+ te += this[y + --q] * J;
3457
3453
  return J *= 128, te >= J && (te -= Math.pow(2, 8 * w)), te;
3458
3454
  }, n.prototype.readInt8 = function(y, w) {
3459
3455
  return y = y >>> 0, w || Z(y, 1, this.length), this[y] & 128 ? (255 - this[y] + 1) * -1 : this[y];
@@ -3473,15 +3469,15 @@ Rr.write = function(t, i, f, r, E, b) {
3473
3469
  y = y >>> 0, H(y, "offset");
3474
3470
  const w = this[y], I = this[y + 7];
3475
3471
  (w === void 0 || I === void 0) && se(y, this.length - 8);
3476
- const $ = this[y + 4] + this[y + 5] * 2 ** 8 + this[y + 6] * 2 ** 16 + (I << 24);
3477
- return (BigInt($) << BigInt(32)) + BigInt(w + this[++y] * 2 ** 8 + this[++y] * 2 ** 16 + this[++y] * 2 ** 24);
3472
+ const q = this[y + 4] + this[y + 5] * 2 ** 8 + this[y + 6] * 2 ** 16 + (I << 24);
3473
+ return (BigInt(q) << BigInt(32)) + BigInt(w + this[++y] * 2 ** 8 + this[++y] * 2 ** 16 + this[++y] * 2 ** 24);
3478
3474
  }), n.prototype.readBigInt64BE = ie(function(y) {
3479
3475
  y = y >>> 0, H(y, "offset");
3480
3476
  const w = this[y], I = this[y + 7];
3481
3477
  (w === void 0 || I === void 0) && se(y, this.length - 8);
3482
- const $ = (w << 24) + // Overflow
3478
+ const q = (w << 24) + // Overflow
3483
3479
  this[++y] * 2 ** 16 + this[++y] * 2 ** 8 + this[++y];
3484
- return (BigInt($) << BigInt(32)) + BigInt(this[++y] * 2 ** 24 + this[++y] * 2 ** 16 + this[++y] * 2 ** 8 + I);
3480
+ return (BigInt(q) << BigInt(32)) + BigInt(this[++y] * 2 ** 24 + this[++y] * 2 ** 16 + this[++y] * 2 ** 8 + I);
3485
3481
  }), n.prototype.readFloatLE = function(y, w) {
3486
3482
  return y = y >>> 0, w || Z(y, 4, this.length), f.read(this, y, !0, 23, 4);
3487
3483
  }, n.prototype.readFloatBE = function(y, w) {
@@ -3491,13 +3487,13 @@ Rr.write = function(t, i, f, r, E, b) {
3491
3487
  }, n.prototype.readDoubleBE = function(y, w) {
3492
3488
  return y = y >>> 0, w || Z(y, 8, this.length), f.read(this, y, !1, 52, 8);
3493
3489
  };
3494
- function ce(O, y, w, I, $, J) {
3490
+ function ce(O, y, w, I, q, J) {
3495
3491
  if (!n.isBuffer(O)) throw new TypeError('"buffer" argument must be a Buffer instance');
3496
- if (y > $ || y < J) throw new RangeError('"value" argument is out of bounds');
3492
+ if (y > q || y < J) throw new RangeError('"value" argument is out of bounds');
3497
3493
  if (w + I > O.length) throw new RangeError("Index out of range");
3498
3494
  }
3499
- n.prototype.writeUintLE = n.prototype.writeUIntLE = function(y, w, I, $) {
3500
- if (y = +y, w = w >>> 0, I = I >>> 0, !$) {
3495
+ n.prototype.writeUintLE = n.prototype.writeUIntLE = function(y, w, I, q) {
3496
+ if (y = +y, w = w >>> 0, I = I >>> 0, !q) {
3501
3497
  const Te = Math.pow(2, 8 * I) - 1;
3502
3498
  ce(this, y, w, I, Te, 0);
3503
3499
  }
@@ -3505,8 +3501,8 @@ Rr.write = function(t, i, f, r, E, b) {
3505
3501
  for (this[w] = y & 255; ++te < I && (J *= 256); )
3506
3502
  this[w + te] = y / J & 255;
3507
3503
  return w + I;
3508
- }, n.prototype.writeUintBE = n.prototype.writeUIntBE = function(y, w, I, $) {
3509
- if (y = +y, w = w >>> 0, I = I >>> 0, !$) {
3504
+ }, n.prototype.writeUintBE = n.prototype.writeUIntBE = function(y, w, I, q) {
3505
+ if (y = +y, w = w >>> 0, I = I >>> 0, !q) {
3510
3506
  const Te = Math.pow(2, 8 * I) - 1;
3511
3507
  ce(this, y, w, I, Te, 0);
3512
3508
  }
@@ -3525,26 +3521,26 @@ Rr.write = function(t, i, f, r, E, b) {
3525
3521
  }, n.prototype.writeUint32BE = n.prototype.writeUInt32BE = function(y, w, I) {
3526
3522
  return y = +y, w = w >>> 0, I || ce(this, y, w, 4, 4294967295, 0), this[w] = y >>> 24, this[w + 1] = y >>> 16, this[w + 2] = y >>> 8, this[w + 3] = y & 255, w + 4;
3527
3523
  };
3528
- function ge(O, y, w, I, $) {
3529
- V(y, I, $, O, w, 7);
3524
+ function ye(O, y, w, I, q) {
3525
+ V(y, I, q, O, w, 7);
3530
3526
  let J = Number(y & BigInt(4294967295));
3531
3527
  O[w++] = J, J = J >> 8, O[w++] = J, J = J >> 8, O[w++] = J, J = J >> 8, O[w++] = J;
3532
3528
  let te = Number(y >> BigInt(32) & BigInt(4294967295));
3533
3529
  return O[w++] = te, te = te >> 8, O[w++] = te, te = te >> 8, O[w++] = te, te = te >> 8, O[w++] = te, w;
3534
3530
  }
3535
- function _e(O, y, w, I, $) {
3536
- V(y, I, $, O, w, 7);
3531
+ function _e(O, y, w, I, q) {
3532
+ V(y, I, q, O, w, 7);
3537
3533
  let J = Number(y & BigInt(4294967295));
3538
3534
  O[w + 7] = J, J = J >> 8, O[w + 6] = J, J = J >> 8, O[w + 5] = J, J = J >> 8, O[w + 4] = J;
3539
3535
  let te = Number(y >> BigInt(32) & BigInt(4294967295));
3540
3536
  return O[w + 3] = te, te = te >> 8, O[w + 2] = te, te = te >> 8, O[w + 1] = te, te = te >> 8, O[w] = te, w + 8;
3541
3537
  }
3542
3538
  n.prototype.writeBigUInt64LE = ie(function(y, w = 0) {
3543
- return ge(this, y, w, BigInt(0), BigInt("0xffffffffffffffff"));
3539
+ return ye(this, y, w, BigInt(0), BigInt("0xffffffffffffffff"));
3544
3540
  }), n.prototype.writeBigUInt64BE = ie(function(y, w = 0) {
3545
3541
  return _e(this, y, w, BigInt(0), BigInt("0xffffffffffffffff"));
3546
- }), n.prototype.writeIntLE = function(y, w, I, $) {
3547
- if (y = +y, w = w >>> 0, !$) {
3542
+ }), n.prototype.writeIntLE = function(y, w, I, q) {
3543
+ if (y = +y, w = w >>> 0, !q) {
3548
3544
  const ze = Math.pow(2, 8 * I - 1);
3549
3545
  ce(this, y, w, I, ze - 1, -ze);
3550
3546
  }
@@ -3552,8 +3548,8 @@ Rr.write = function(t, i, f, r, E, b) {
3552
3548
  for (this[w] = y & 255; ++J < I && (te *= 256); )
3553
3549
  y < 0 && Te === 0 && this[w + J - 1] !== 0 && (Te = 1), this[w + J] = (y / te >> 0) - Te & 255;
3554
3550
  return w + I;
3555
- }, n.prototype.writeIntBE = function(y, w, I, $) {
3556
- if (y = +y, w = w >>> 0, !$) {
3551
+ }, n.prototype.writeIntBE = function(y, w, I, q) {
3552
+ if (y = +y, w = w >>> 0, !q) {
3557
3553
  const ze = Math.pow(2, 8 * I - 1);
3558
3554
  ce(this, y, w, I, ze - 1, -ze);
3559
3555
  }
@@ -3572,52 +3568,52 @@ Rr.write = function(t, i, f, r, E, b) {
3572
3568
  }, n.prototype.writeInt32BE = function(y, w, I) {
3573
3569
  return y = +y, w = w >>> 0, I || ce(this, y, w, 4, 2147483647, -2147483648), y < 0 && (y = 4294967295 + y + 1), this[w] = y >>> 24, this[w + 1] = y >>> 16, this[w + 2] = y >>> 8, this[w + 3] = y & 255, w + 4;
3574
3570
  }, n.prototype.writeBigInt64LE = ie(function(y, w = 0) {
3575
- return ge(this, y, w, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
3571
+ return ye(this, y, w, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
3576
3572
  }), n.prototype.writeBigInt64BE = ie(function(y, w = 0) {
3577
3573
  return _e(this, y, w, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
3578
3574
  });
3579
- function Ce(O, y, w, I, $, J) {
3575
+ function Ce(O, y, w, I, q, J) {
3580
3576
  if (w + I > O.length) throw new RangeError("Index out of range");
3581
3577
  if (w < 0) throw new RangeError("Index out of range");
3582
3578
  }
3583
- function Oe(O, y, w, I, $) {
3584
- return y = +y, w = w >>> 0, $ || Ce(O, y, w, 4), f.write(O, y, w, I, 23, 4), w + 4;
3579
+ function Oe(O, y, w, I, q) {
3580
+ return y = +y, w = w >>> 0, q || Ce(O, y, w, 4), f.write(O, y, w, I, 23, 4), w + 4;
3585
3581
  }
3586
3582
  n.prototype.writeFloatLE = function(y, w, I) {
3587
3583
  return Oe(this, y, w, !0, I);
3588
3584
  }, n.prototype.writeFloatBE = function(y, w, I) {
3589
3585
  return Oe(this, y, w, !1, I);
3590
3586
  };
3591
- function He(O, y, w, I, $) {
3592
- return y = +y, w = w >>> 0, $ || Ce(O, y, w, 8), f.write(O, y, w, I, 52, 8), w + 8;
3587
+ function Ue(O, y, w, I, q) {
3588
+ return y = +y, w = w >>> 0, q || Ce(O, y, w, 8), f.write(O, y, w, I, 52, 8), w + 8;
3593
3589
  }
3594
3590
  n.prototype.writeDoubleLE = function(y, w, I) {
3595
- return He(this, y, w, !0, I);
3591
+ return Ue(this, y, w, !0, I);
3596
3592
  }, n.prototype.writeDoubleBE = function(y, w, I) {
3597
- return He(this, y, w, !1, I);
3598
- }, n.prototype.copy = function(y, w, I, $) {
3593
+ return Ue(this, y, w, !1, I);
3594
+ }, n.prototype.copy = function(y, w, I, q) {
3599
3595
  if (!n.isBuffer(y)) throw new TypeError("argument should be a Buffer");
3600
- if (I || (I = 0), !$ && $ !== 0 && ($ = this.length), w >= y.length && (w = y.length), w || (w = 0), $ > 0 && $ < I && ($ = I), $ === I || y.length === 0 || this.length === 0) return 0;
3596
+ if (I || (I = 0), !q && q !== 0 && (q = this.length), w >= y.length && (w = y.length), w || (w = 0), q > 0 && q < I && (q = I), q === I || y.length === 0 || this.length === 0) return 0;
3601
3597
  if (w < 0)
3602
3598
  throw new RangeError("targetStart out of bounds");
3603
3599
  if (I < 0 || I >= this.length) throw new RangeError("Index out of range");
3604
- if ($ < 0) throw new RangeError("sourceEnd out of bounds");
3605
- $ > this.length && ($ = this.length), y.length - w < $ - I && ($ = y.length - w + I);
3606
- const J = $ - I;
3607
- return this === y && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(w, I, $) : Uint8Array.prototype.set.call(
3600
+ if (q < 0) throw new RangeError("sourceEnd out of bounds");
3601
+ q > this.length && (q = this.length), y.length - w < q - I && (q = y.length - w + I);
3602
+ const J = q - I;
3603
+ return this === y && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(w, I, q) : Uint8Array.prototype.set.call(
3608
3604
  y,
3609
- this.subarray(I, $),
3605
+ this.subarray(I, q),
3610
3606
  w
3611
3607
  ), J;
3612
- }, n.prototype.fill = function(y, w, I, $) {
3608
+ }, n.prototype.fill = function(y, w, I, q) {
3613
3609
  if (typeof y == "string") {
3614
- if (typeof w == "string" ? ($ = w, w = 0, I = this.length) : typeof I == "string" && ($ = I, I = this.length), $ !== void 0 && typeof $ != "string")
3610
+ if (typeof w == "string" ? (q = w, w = 0, I = this.length) : typeof I == "string" && (q = I, I = this.length), q !== void 0 && typeof q != "string")
3615
3611
  throw new TypeError("encoding must be a string");
3616
- if (typeof $ == "string" && !n.isEncoding($))
3617
- throw new TypeError("Unknown encoding: " + $);
3612
+ if (typeof q == "string" && !n.isEncoding(q))
3613
+ throw new TypeError("Unknown encoding: " + q);
3618
3614
  if (y.length === 1) {
3619
3615
  const te = y.charCodeAt(0);
3620
- ($ === "utf8" && te < 128 || $ === "latin1") && (y = te);
3616
+ (q === "utf8" && te < 128 || q === "latin1") && (y = te);
3621
3617
  }
3622
3618
  } else typeof y == "number" ? y = y & 255 : typeof y == "boolean" && (y = Number(y));
3623
3619
  if (w < 0 || this.length < w || this.length < I)
@@ -3630,7 +3626,7 @@ Rr.write = function(t, i, f, r, E, b) {
3630
3626
  for (J = w; J < I; ++J)
3631
3627
  this[J] = y;
3632
3628
  else {
3633
- const te = n.isBuffer(y) ? y : n.from(y, $), Te = te.length;
3629
+ const te = n.isBuffer(y) ? y : n.from(y, q), Te = te.length;
3634
3630
  if (Te === 0)
3635
3631
  throw new TypeError('The value "' + y + '" is invalid for argument "value"');
3636
3632
  for (J = 0; J < I - w; ++J)
@@ -3651,11 +3647,11 @@ Rr.write = function(t, i, f, r, E, b) {
3651
3647
  get code() {
3652
3648
  return O;
3653
3649
  }
3654
- set code($) {
3650
+ set code(q) {
3655
3651
  Object.defineProperty(this, "code", {
3656
3652
  configurable: !0,
3657
3653
  enumerable: !0,
3658
- value: $,
3654
+ value: q,
3659
3655
  writable: !0
3660
3656
  });
3661
3657
  }
@@ -3679,12 +3675,12 @@ Rr.write = function(t, i, f, r, E, b) {
3679
3675
  ), Ke(
3680
3676
  "ERR_OUT_OF_RANGE",
3681
3677
  function(O, y, w) {
3682
- let I = `The value of "${O}" is out of range.`, $ = w;
3683
- return Number.isInteger(w) && Math.abs(w) > 2 ** 32 ? $ = Me(String(w)) : typeof w == "bigint" && ($ = String(w), (w > BigInt(2) ** BigInt(32) || w < -(BigInt(2) ** BigInt(32))) && ($ = Me($)), $ += "n"), I += ` It must be ${y}. Received ${$}`, I;
3678
+ let I = `The value of "${O}" is out of range.`, q = w;
3679
+ return Number.isInteger(w) && Math.abs(w) > 2 ** 32 ? q = Ne(String(w)) : typeof w == "bigint" && (q = String(w), (w > BigInt(2) ** BigInt(32) || w < -(BigInt(2) ** BigInt(32))) && (q = Ne(q)), q += "n"), I += ` It must be ${y}. Received ${q}`, I;
3684
3680
  },
3685
3681
  RangeError
3686
3682
  );
3687
- function Me(O) {
3683
+ function Ne(O) {
3688
3684
  let y = "", w = O.length;
3689
3685
  const I = O[0] === "-" ? 1 : 0;
3690
3686
  for (; w >= I + 4; w -= 3)
@@ -3694,13 +3690,13 @@ Rr.write = function(t, i, f, r, E, b) {
3694
3690
  function We(O, y, w) {
3695
3691
  H(y, "offset"), (O[y] === void 0 || O[y + w] === void 0) && se(y, O.length - (w + 1));
3696
3692
  }
3697
- function V(O, y, w, I, $, J) {
3693
+ function V(O, y, w, I, q, J) {
3698
3694
  if (O > w || O < y) {
3699
3695
  const te = typeof y == "bigint" ? "n" : "";
3700
3696
  let Te;
3701
3697
  throw y === 0 || y === BigInt(0) ? Te = `>= 0${te} and < 2${te} ** ${(J + 1) * 8}${te}` : Te = `>= -(2${te} ** ${(J + 1) * 8 - 1}${te}) and < 2 ** ${(J + 1) * 8 - 1}${te}`, new Fe.ERR_OUT_OF_RANGE("value", Te, O);
3702
3698
  }
3703
- We(I, $, J);
3699
+ We(I, q, J);
3704
3700
  }
3705
3701
  function H(O, y) {
3706
3702
  if (typeof O != "number")
@@ -3724,11 +3720,11 @@ Rr.write = function(t, i, f, r, E, b) {
3724
3720
  y = y || 1 / 0;
3725
3721
  let w;
3726
3722
  const I = O.length;
3727
- let $ = null;
3723
+ let q = null;
3728
3724
  const J = [];
3729
3725
  for (let te = 0; te < I; ++te) {
3730
3726
  if (w = O.charCodeAt(te), w > 55295 && w < 57344) {
3731
- if (!$) {
3727
+ if (!q) {
3732
3728
  if (w > 56319) {
3733
3729
  (y -= 3) > -1 && J.push(239, 191, 189);
3734
3730
  continue;
@@ -3736,16 +3732,16 @@ Rr.write = function(t, i, f, r, E, b) {
3736
3732
  (y -= 3) > -1 && J.push(239, 191, 189);
3737
3733
  continue;
3738
3734
  }
3739
- $ = w;
3735
+ q = w;
3740
3736
  continue;
3741
3737
  }
3742
3738
  if (w < 56320) {
3743
- (y -= 3) > -1 && J.push(239, 191, 189), $ = w;
3739
+ (y -= 3) > -1 && J.push(239, 191, 189), q = w;
3744
3740
  continue;
3745
3741
  }
3746
- w = ($ - 55296 << 10 | w - 56320) + 65536;
3747
- } else $ && (y -= 3) > -1 && J.push(239, 191, 189);
3748
- if ($ = null, w < 128) {
3742
+ w = (q - 55296 << 10 | w - 56320) + 65536;
3743
+ } else q && (y -= 3) > -1 && J.push(239, 191, 189);
3744
+ if (q = null, w < 128) {
3749
3745
  if ((y -= 1) < 0) break;
3750
3746
  J.push(w);
3751
3747
  } else if (w < 2048) {
@@ -3781,22 +3777,22 @@ Rr.write = function(t, i, f, r, E, b) {
3781
3777
  return y;
3782
3778
  }
3783
3779
  function me(O, y) {
3784
- let w, I, $;
3780
+ let w, I, q;
3785
3781
  const J = [];
3786
3782
  for (let te = 0; te < O.length && !((y -= 2) < 0); ++te)
3787
- w = O.charCodeAt(te), I = w >> 8, $ = w % 256, J.push($), J.push(I);
3783
+ w = O.charCodeAt(te), I = w >> 8, q = w % 256, J.push(q), J.push(I);
3788
3784
  return J;
3789
3785
  }
3790
3786
  function ve(O) {
3791
3787
  return i.toByteArray(we(O));
3792
3788
  }
3793
3789
  function be(O, y, w, I) {
3794
- let $;
3795
- for ($ = 0; $ < I && !($ + w >= y.length || $ >= O.length); ++$)
3796
- y[$ + w] = O[$];
3797
- return $;
3790
+ let q;
3791
+ for (q = 0; q < I && !(q + w >= y.length || q >= O.length); ++q)
3792
+ y[q + w] = O[q];
3793
+ return q;
3798
3794
  }
3799
- function Be(O, y) {
3795
+ function Me(O, y) {
3800
3796
  return O instanceof y || O != null && O.constructor != null && O.constructor.name != null && O.constructor.name === y.name;
3801
3797
  }
3802
3798
  function X(O) {
@@ -3806,15 +3802,15 @@ Rr.write = function(t, i, f, r, E, b) {
3806
3802
  const O = "0123456789abcdef", y = new Array(256);
3807
3803
  for (let w = 0; w < 16; ++w) {
3808
3804
  const I = w * 16;
3809
- for (let $ = 0; $ < 16; ++$)
3810
- y[I + $] = O[w] + O[$];
3805
+ for (let q = 0; q < 16; ++q)
3806
+ y[I + q] = O[w] + O[q];
3811
3807
  }
3812
3808
  return y;
3813
3809
  }();
3814
3810
  function ie(O) {
3815
- return typeof BigInt > "u" ? fe : O;
3811
+ return typeof BigInt > "u" ? he : O;
3816
3812
  }
3817
- function fe() {
3813
+ function he() {
3818
3814
  throw new Error("BigInt not supported");
3819
3815
  }
3820
3816
  })(Zi);
@@ -3824,32 +3820,32 @@ Ar.default = "ffffffff-ffff-ffff-ffff-ffffffffffff";
3824
3820
  var Tr = {};
3825
3821
  Object.defineProperty(Tr, "__esModule", { value: !0 });
3826
3822
  Tr.default = "00000000-0000-0000-0000-000000000000";
3827
- var Zt = {}, Xt = {}, Pr = {};
3823
+ var Kt = {}, Wt = {}, Pr = {};
3828
3824
  Object.defineProperty(Pr, "__esModule", { value: !0 });
3829
3825
  Pr.default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
3830
- Object.defineProperty(Xt, "__esModule", { value: !0 });
3826
+ Object.defineProperty(Wt, "__esModule", { value: !0 });
3831
3827
  const Sa = Pr;
3832
3828
  function Ea(t) {
3833
3829
  return typeof t == "string" && Sa.default.test(t);
3834
3830
  }
3835
- Xt.default = Ea;
3836
- Object.defineProperty(Zt, "__esModule", { value: !0 });
3837
- const ka = Xt;
3831
+ Wt.default = Ea;
3832
+ Object.defineProperty(Kt, "__esModule", { value: !0 });
3833
+ const ka = Wt;
3838
3834
  function _a(t) {
3839
3835
  if (!(0, ka.default)(t))
3840
3836
  throw TypeError("Invalid UUID");
3841
3837
  let i;
3842
3838
  return Uint8Array.of((i = parseInt(t.slice(0, 8), 16)) >>> 24, i >>> 16 & 255, i >>> 8 & 255, i & 255, (i = parseInt(t.slice(9, 13), 16)) >>> 8, i & 255, (i = parseInt(t.slice(14, 18), 16)) >>> 8, i & 255, (i = parseInt(t.slice(19, 23), 16)) >>> 8, i & 255, (i = parseInt(t.slice(24, 36), 16)) / 1099511627776 & 255, i / 4294967296 & 255, i >>> 24 & 255, i >>> 16 & 255, i >>> 8 & 255, i & 255);
3843
3839
  }
3844
- Zt.default = _a;
3840
+ Kt.default = _a;
3845
3841
  var wt = {};
3846
3842
  Object.defineProperty(wt, "__esModule", { value: !0 });
3847
3843
  wt.unsafeStringify = void 0;
3848
- const Ca = Xt, Xe = [];
3844
+ const Ca = Wt, et = [];
3849
3845
  for (let t = 0; t < 256; ++t)
3850
- Xe.push((t + 256).toString(16).slice(1));
3846
+ et.push((t + 256).toString(16).slice(1));
3851
3847
  function to(t, i = 0) {
3852
- return (Xe[t[i + 0]] + Xe[t[i + 1]] + Xe[t[i + 2]] + Xe[t[i + 3]] + "-" + Xe[t[i + 4]] + Xe[t[i + 5]] + "-" + Xe[t[i + 6]] + Xe[t[i + 7]] + "-" + Xe[t[i + 8]] + Xe[t[i + 9]] + "-" + Xe[t[i + 10]] + Xe[t[i + 11]] + Xe[t[i + 12]] + Xe[t[i + 13]] + Xe[t[i + 14]] + Xe[t[i + 15]]).toLowerCase();
3848
+ return (et[t[i + 0]] + et[t[i + 1]] + et[t[i + 2]] + et[t[i + 3]] + "-" + et[t[i + 4]] + et[t[i + 5]] + "-" + et[t[i + 6]] + et[t[i + 7]] + "-" + et[t[i + 8]] + et[t[i + 9]] + "-" + et[t[i + 10]] + et[t[i + 11]] + et[t[i + 12]] + et[t[i + 13]] + et[t[i + 14]] + et[t[i + 15]]).toLowerCase();
3853
3849
  }
3854
3850
  wt.unsafeStringify = to;
3855
3851
  function Oa(t, i = 0) {
@@ -3859,8 +3855,8 @@ function Oa(t, i = 0) {
3859
3855
  return f;
3860
3856
  }
3861
3857
  wt.default = Oa;
3862
- var en = {}, xn = {};
3863
- Object.defineProperty(xn, "__esModule", { value: !0 });
3858
+ var Jt = {}, vn = {};
3859
+ Object.defineProperty(vn, "__esModule", { value: !0 });
3864
3860
  let lr;
3865
3861
  const Ra = new Uint8Array(16);
3866
3862
  function Aa() {
@@ -3871,10 +3867,10 @@ function Aa() {
3871
3867
  }
3872
3868
  return lr(Ra);
3873
3869
  }
3874
- xn.default = Aa;
3875
- Object.defineProperty(en, "__esModule", { value: !0 });
3876
- en.updateV1State = void 0;
3877
- const ui = xn, Ta = wt, hn = {};
3870
+ vn.default = Aa;
3871
+ Object.defineProperty(Jt, "__esModule", { value: !0 });
3872
+ Jt.updateV1State = void 0;
3873
+ const ui = vn, Ta = wt, un = {};
3878
3874
  function Pa(t, i, f) {
3879
3875
  var b;
3880
3876
  let r;
@@ -3887,14 +3883,14 @@ function Pa(t, i, f) {
3887
3883
  r = hi(t.random ?? ((b = t.rng) == null ? void 0 : b.call(t)) ?? (0, ui.default)(), t.msecs, t.nsecs, t.clockseq, t.node, i, f);
3888
3884
  else {
3889
3885
  const c = Date.now(), n = (0, ui.default)();
3890
- no(hn, c, n), r = hi(n, hn.msecs, hn.nsecs, E ? void 0 : hn.clockseq, E ? void 0 : hn.node, i, f);
3886
+ no(un, c, n), r = hi(n, un.msecs, un.nsecs, E ? void 0 : un.clockseq, E ? void 0 : un.node, i, f);
3891
3887
  }
3892
3888
  return i ? r : (0, Ta.unsafeStringify)(r);
3893
3889
  }
3894
3890
  function no(t, i, f) {
3895
3891
  return t.msecs ?? (t.msecs = -1 / 0), t.nsecs ?? (t.nsecs = 0), i === t.msecs ? (t.nsecs++, t.nsecs >= 1e4 && (t.node = void 0, t.nsecs = 0)) : i > t.msecs ? t.nsecs = 0 : i < t.msecs && (t.node = void 0), t.node || (t.node = f.slice(10, 16), t.node[0] |= 1, t.clockseq = (f[8] << 8 | f[9]) & 16383), t.msecs = i, t;
3896
3892
  }
3897
- en.updateV1State = no;
3893
+ Jt.updateV1State = no;
3898
3894
  function hi(t, i, f, r, E, b, c = 0) {
3899
3895
  if (t.length < 16)
3900
3896
  throw new Error("Random bytes length must be >= 16");
@@ -3911,10 +3907,10 @@ function hi(t, i, f, r, E, b, c = 0) {
3911
3907
  b[c++] = E[o];
3912
3908
  return b;
3913
3909
  }
3914
- en.default = Pa;
3910
+ Jt.default = Pa;
3915
3911
  var Gn = {};
3916
3912
  Object.defineProperty(Gn, "__esModule", { value: !0 });
3917
- const Fa = Zt, Ia = wt;
3913
+ const Fa = Kt, Ia = wt;
3918
3914
  function La(t) {
3919
3915
  const i = typeof t == "string" ? (0, Fa.default)(t) : t, f = ja(i);
3920
3916
  return typeof t == "string" ? (0, Ia.unsafeStringify)(f) : f;
@@ -3982,7 +3978,7 @@ Fr.default = Na;
3982
3978
  var bt = {};
3983
3979
  Object.defineProperty(bt, "__esModule", { value: !0 });
3984
3980
  bt.URL = bt.DNS = bt.stringToBytes = void 0;
3985
- const fi = Zt, Ua = wt;
3981
+ const fi = Kt, Ua = wt;
3986
3982
  function oo(t) {
3987
3983
  t = unescape(encodeURIComponent(t));
3988
3984
  const i = new Uint8Array(t.length);
@@ -4026,7 +4022,7 @@ Object.defineProperty(Lr, "__esModule", { value: !0 });
4026
4022
  const qa = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
4027
4023
  Lr.default = { randomUUID: qa };
4028
4024
  Object.defineProperty(Ir, "__esModule", { value: !0 });
4029
- const di = Lr, za = xn, Va = wt;
4025
+ const di = Lr, za = vn, Va = wt;
4030
4026
  function Ga(t, i, f) {
4031
4027
  var E;
4032
4028
  if (di.default.randomUUID && !i && !t)
@@ -4105,7 +4101,7 @@ jr.default = Wa;
4105
4101
  })(so);
4106
4102
  var Nr = {};
4107
4103
  Object.defineProperty(Nr, "__esModule", { value: !0 });
4108
- const Ja = wt, Ya = en, Qa = Gn;
4104
+ const Ja = wt, Ya = Jt, Qa = Gn;
4109
4105
  function Za(t, i, f) {
4110
4106
  t ?? (t = {}), f ?? (f = 0);
4111
4107
  let r = (0, Ya.default)({ ...t, _v6: !0 }, new Uint8Array(16));
@@ -4119,7 +4115,7 @@ function Za(t, i, f) {
4119
4115
  Nr.default = Za;
4120
4116
  var Mr = {};
4121
4117
  Object.defineProperty(Mr, "__esModule", { value: !0 });
4122
- const Xa = Zt, el = wt;
4118
+ const Xa = Kt, el = wt;
4123
4119
  function tl(t) {
4124
4120
  const i = typeof t == "string" ? (0, Xa.default)(t) : t, f = nl(i);
4125
4121
  return typeof t == "string" ? (0, el.unsafeStringify)(f) : f;
@@ -4128,10 +4124,10 @@ Mr.default = tl;
4128
4124
  function nl(t) {
4129
4125
  return Uint8Array.of((t[3] & 15) << 4 | t[4] >> 4 & 15, (t[4] & 15) << 4 | (t[5] & 240) >> 4, (t[5] & 15) << 4 | t[6] & 15, t[7], (t[1] & 15) << 4 | (t[2] & 240) >> 4, (t[2] & 15) << 4 | (t[3] & 240) >> 4, 16 | (t[0] & 240) >> 4, (t[0] & 15) << 4 | (t[1] & 240) >> 4, t[8], t[9], t[10], t[11], t[12], t[13], t[14], t[15]);
4130
4126
  }
4131
- var bn = {};
4132
- Object.defineProperty(bn, "__esModule", { value: !0 });
4133
- bn.updateV7State = void 0;
4134
- const pi = xn, rl = wt, ur = {};
4127
+ var xn = {};
4128
+ Object.defineProperty(xn, "__esModule", { value: !0 });
4129
+ xn.updateV7State = void 0;
4130
+ const pi = vn, rl = wt, ur = {};
4135
4131
  function il(t, i, f) {
4136
4132
  var E;
4137
4133
  let r;
@@ -4146,7 +4142,7 @@ function il(t, i, f) {
4146
4142
  function ao(t, i, f) {
4147
4143
  return t.msecs ?? (t.msecs = -1 / 0), t.seq ?? (t.seq = 0), i > t.msecs ? (t.seq = f[6] << 23 | f[7] << 16 | f[8] << 8 | f[9], t.msecs = i) : (t.seq = t.seq + 1 | 0, t.seq === 0 && t.msecs++), t;
4148
4144
  }
4149
- bn.updateV7State = ao;
4145
+ xn.updateV7State = ao;
4150
4146
  function mi(t, i, f, r, E = 0) {
4151
4147
  if (t.length < 16)
4152
4148
  throw new Error("Random bytes length must be >= 16");
@@ -4156,10 +4152,10 @@ function mi(t, i, f, r, E = 0) {
4156
4152
  throw new RangeError(`UUID byte range ${E}:${E + 15} is out of buffer bounds`);
4157
4153
  return i ?? (i = Date.now()), f ?? (f = t[6] * 127 << 24 | t[7] << 16 | t[8] << 8 | t[9]), r[E++] = i / 1099511627776 & 255, r[E++] = i / 4294967296 & 255, r[E++] = i / 16777216 & 255, r[E++] = i / 65536 & 255, r[E++] = i / 256 & 255, r[E++] = i & 255, r[E++] = 112 | f >>> 28 & 15, r[E++] = f >>> 20 & 255, r[E++] = 128 | f >>> 14 & 63, r[E++] = f >>> 6 & 255, r[E++] = f << 2 & 255 | t[10] & 3, r[E++] = t[11], r[E++] = t[12], r[E++] = t[13], r[E++] = t[14], r[E++] = t[15], r;
4158
4154
  }
4159
- bn.default = il;
4155
+ xn.default = il;
4160
4156
  var Br = {};
4161
4157
  Object.defineProperty(Br, "__esModule", { value: !0 });
4162
- const ol = Xt;
4158
+ const ol = Wt;
4163
4159
  function sl(t) {
4164
4160
  if (!(0, ol.default)(t))
4165
4161
  throw TypeError("Invalid UUID");
@@ -4176,7 +4172,7 @@ Br.default = sl;
4176
4172
  Object.defineProperty(t, "NIL", { enumerable: !0, get: function() {
4177
4173
  return f.default;
4178
4174
  } });
4179
- var r = Zt;
4175
+ var r = Kt;
4180
4176
  Object.defineProperty(t, "parse", { enumerable: !0, get: function() {
4181
4177
  return r.default;
4182
4178
  } });
@@ -4184,7 +4180,7 @@ Br.default = sl;
4184
4180
  Object.defineProperty(t, "stringify", { enumerable: !0, get: function() {
4185
4181
  return E.default;
4186
4182
  } });
4187
- var b = en;
4183
+ var b = Jt;
4188
4184
  Object.defineProperty(t, "v1", { enumerable: !0, get: function() {
4189
4185
  return b.default;
4190
4186
  } });
@@ -4212,11 +4208,11 @@ Br.default = sl;
4212
4208
  Object.defineProperty(t, "v6ToV1", { enumerable: !0, get: function() {
4213
4209
  return p.default;
4214
4210
  } });
4215
- var C = bn;
4211
+ var C = xn;
4216
4212
  Object.defineProperty(t, "v7", { enumerable: !0, get: function() {
4217
4213
  return C.default;
4218
4214
  } });
4219
- var u = Xt;
4215
+ var u = Wt;
4220
4216
  Object.defineProperty(t, "validate", { enumerable: !0, get: function() {
4221
4217
  return u.default;
4222
4218
  } });
@@ -4258,14 +4254,14 @@ lt.generateUUID = hl;
4258
4254
  const fl = (t) => t == null || Array.isArray(t) || Object.prototype.toString.call(t) !== "[object Object]" ? !0 : Object.keys(t).length === 0;
4259
4255
  lt.isEmptyObject = fl;
4260
4256
  Object.defineProperty(vr, "__esModule", { value: !0 });
4261
- const Dt = et, yi = lt, lo = function(t, i, f, r, E, b, c, n) {
4257
+ const Mt = tt, yi = lt, lo = function(t, i, f, r, E, b, c, n) {
4262
4258
  var v, o, e, p, C, u, a, s;
4263
4259
  const g = function(S, F) {
4264
4260
  return S || S === !1 ? "&" + F + "=" + S : "";
4265
4261
  };
4266
4262
  if (f !== "search" && f !== "ai-answers" && f !== "suggest" && f !== "autocomplete" && f !== "recommend") {
4267
4263
  E({
4268
- error: { response: Dt.RESPONSE_BAD_REQUEST, message: "invalid query type" }
4264
+ error: { response: Mt.RESPONSE_BAD_REQUEST, message: "invalid query type" }
4269
4265
  });
4270
4266
  return;
4271
4267
  }
@@ -4311,19 +4307,19 @@ const Dt = et, yi = lt, lo = function(t, i, f, r, E, b, c, n) {
4311
4307
  l = Object.assign(Object.assign({}, l), { personalizationEvents: F });
4312
4308
  }
4313
4309
  c ? (m = m + "&filter=" + encodeURIComponent(JSON.stringify(c)), l = Object.assign(Object.assign({}, l), { filter: c })) : r != null && r.filterObject && (m = m + "&filter=" + encodeURIComponent(JSON.stringify(r == null ? void 0 : r.filterObject)), l = Object.assign(Object.assign({}, l), { filter: (0, yi.isEmptyObject)(r == null ? void 0 : r.filterObject) || r == null ? void 0 : r.filterObject })), h = "https://" + t + "/v1/" + _ + "/" + i + "?term=" + d + m;
4314
- } else f === "ai-answers" ? Dt.apiInstance.post(`https://${t}/v2/indices/${i}/conversations`, {
4310
+ } else f === "ai-answers" ? Mt.apiInstance.post(`https://${t}/v2/indices/${i}/conversations`, {
4315
4311
  question: r == null ? void 0 : r.keyword
4316
4312
  }).then(function(S) {
4317
4313
  S.data.response ? E(S.data.response) : E({
4318
4314
  error: {
4319
- response: Dt.RESPONSE_SERVER_ERROR,
4315
+ response: Mt.RESPONSE_SERVER_ERROR,
4320
4316
  message: "Could not get ai-answers response in the expected data format"
4321
4317
  }
4322
4318
  });
4323
4319
  }).catch(function(S) {
4324
4320
  console.error(S), E({
4325
4321
  error: {
4326
- response: Dt.RESPONSE_SERVER_ERROR,
4322
+ response: Mt.RESPONSE_SERVER_ERROR,
4327
4323
  message: "invalid server response"
4328
4324
  }
4329
4325
  });
@@ -4336,7 +4332,7 @@ const Dt = et, yi = lt, lo = function(t, i, f, r, E, b, c, n) {
4336
4332
  }, F = function(T) {
4337
4333
  console.error(T), E({
4338
4334
  error: {
4339
- response: Dt.RESPONSE_SERVER_ERROR,
4335
+ response: Mt.RESPONSE_SERVER_ERROR,
4340
4336
  message: "invalid server response"
4341
4337
  }
4342
4338
  });
@@ -4344,23 +4340,23 @@ const Dt = et, yi = lt, lo = function(t, i, f, r, E, b, c, n) {
4344
4340
  if ((r == null ? void 0 : r.apiMethod) === "POST" && ["search", "suggest", "autocomplete"].includes(f)) {
4345
4341
  h = "https://" + t + "/v1/" + _ + "/" + i;
4346
4342
  const T = f === "search" ? decodeURIComponent(d) : d;
4347
- l = Object.assign({ term: T }, l), Dt.apiInstance.post(h, l).then(S).catch(F);
4343
+ l = Object.assign({ term: T }, l), Mt.apiInstance.post(h, l).then(S).catch(F);
4348
4344
  } else
4349
- Dt.apiInstance.get(h).then(S).catch(F);
4345
+ Mt.apiInstance.get(h).then(S).catch(F);
4350
4346
  }
4351
4347
  };
4352
4348
  vr.default = lo;
4353
- var xt = {}, dl = tt && tt.__importDefault || function(t) {
4349
+ var xt = {}, dl = nt && nt.__importDefault || function(t) {
4354
4350
  return t && t.__esModule ? t : { default: t };
4355
4351
  };
4356
4352
  Object.defineProperty(xt, "__esModule", { value: !0 });
4357
4353
  xt.deleteDocumentsBatch = xt.deleteDocument = xt.saveDocumentsBatch = xt.saveDocument = xt.getDocument = void 0;
4358
- const wn = dl(Ji), pl = lt, Sn = (t, i) => ({
4354
+ const bn = dl(Ji), pl = lt, wn = (t, i) => ({
4359
4355
  Authorization: "Basic " + (0, pl.base64)(t + ":" + i),
4360
4356
  "Content-Type": "application/json"
4361
4357
  }), ml = (t, i, f, r) => new Promise((E, b) => {
4362
- wn.default.get(`https://${t}/v2/indices/${i}/documents/${r}`, {
4363
- headers: Sn(i, f)
4358
+ bn.default.get(`https://${t}/v2/indices/${i}/documents/${r}`, {
4359
+ headers: wn(i, f)
4364
4360
  }).then((c) => {
4365
4361
  c.status === 200 ? E(c.data) : b(new Error(JSON.stringify({ status: c.status, text: c.statusText })));
4366
4362
  }).catch((c) => {
@@ -4371,10 +4367,10 @@ xt.getDocument = ml;
4371
4367
  const gl = (t, i, f, r) => {
4372
4368
  const E = !!(r.id || r.url);
4373
4369
  return new Promise((b, c) => {
4374
- (0, wn.default)({
4370
+ (0, bn.default)({
4375
4371
  url: `https://${t}/v2/indices/${i}/documents/`,
4376
4372
  method: E ? "put" : "post",
4377
- headers: Sn(i, f),
4373
+ headers: wn(i, f),
4378
4374
  data: r
4379
4375
  }).then((n) => {
4380
4376
  n.status === 202 ? b({ status: n.status, text: n.statusText }) : c(new Error(JSON.stringify({ status: n.status, text: n.statusText })));
@@ -4385,10 +4381,10 @@ const gl = (t, i, f, r) => {
4385
4381
  };
4386
4382
  xt.saveDocument = gl;
4387
4383
  const yl = (t, i, f, r) => new Promise((E, b) => {
4388
- (0, wn.default)({
4384
+ (0, bn.default)({
4389
4385
  method: "put",
4390
4386
  url: `https://${t}/v2/indices/${i}/documents:batch`,
4391
- headers: Sn(i, f),
4387
+ headers: wn(i, f),
4392
4388
  data: r
4393
4389
  }).then((c) => {
4394
4390
  c.status === 202 ? E({ status: c.status, text: c.statusText }) : b(new Error(JSON.stringify({ status: c.status, text: c.statusText })));
@@ -4398,8 +4394,8 @@ const yl = (t, i, f, r) => new Promise((E, b) => {
4398
4394
  });
4399
4395
  xt.saveDocumentsBatch = yl;
4400
4396
  const vl = (t, i, f, r) => new Promise((E, b) => {
4401
- wn.default.delete(`https://${t}/v2/indices/${i}/documents/${r}`, {
4402
- headers: Sn(i, f)
4397
+ bn.default.delete(`https://${t}/v2/indices/${i}/documents/${r}`, {
4398
+ headers: wn(i, f)
4403
4399
  }).then((c) => {
4404
4400
  c.status === 202 ? E({ status: c.status, text: c.statusText }) : b(new Error(JSON.stringify({ status: c.status, text: c.statusText })));
4405
4401
  }).catch((c) => {
@@ -4408,8 +4404,8 @@ const vl = (t, i, f, r) => new Promise((E, b) => {
4408
4404
  });
4409
4405
  xt.deleteDocument = vl;
4410
4406
  const xl = (t, i, f, r) => new Promise((E, b) => {
4411
- wn.default.delete(`https://${t}/v2/indices/${i}/documents:batch`, {
4412
- headers: Sn(i, f),
4407
+ bn.default.delete(`https://${t}/v2/indices/${i}/documents:batch`, {
4408
+ headers: wn(i, f),
4413
4409
  data: r
4414
4410
  }).then((c) => {
4415
4411
  c.status === 202 ? E({ status: c.status, text: c.statusText }) : b(new Error(JSON.stringify({ status: c.status, text: c.statusText })));
@@ -4420,7 +4416,7 @@ const xl = (t, i, f, r) => new Promise((E, b) => {
4420
4416
  xt.deleteDocumentsBatch = xl;
4421
4417
  var Dr = {};
4422
4418
  Object.defineProperty(Dr, "__esModule", { value: !0 });
4423
- const bl = Ri, wl = et;
4419
+ const bl = Ri, wl = tt;
4424
4420
  (0, bl.polyfill)();
4425
4421
  const Sl = (t, i, f, r) => {
4426
4422
  typeof window < "u" && window.navigator && window.navigator.sendBeacon && !r ? window.navigator.sendBeacon(`https://${t}/v1/stats/${i}/`, JSON.stringify(f)) : wl.statsInstance.post(`https://${t}/v1/stats/${i}/`, f, {
@@ -4435,7 +4431,7 @@ Dr.default = Sl;
4435
4431
  var Wn = {};
4436
4432
  Object.defineProperty(Wn, "__esModule", { value: !0 });
4437
4433
  Wn.putSentimentClick = void 0;
4438
- const hr = et, El = (t, i, f, r) => new Promise((E, b) => {
4434
+ const hr = tt, El = (t, i, f, r) => new Promise((E, b) => {
4439
4435
  hr.aiAnswersInteractionsInstance.put(`https://${t}/v2/indices/${i}/conversations/${f}/rating`, {
4440
4436
  value: r === "positive" ? 1 : r === "negative" ? -1 : 0
4441
4437
  }).then((c) => {
@@ -4783,7 +4779,7 @@ const Dl = (t) => {
4783
4779
  }));
4784
4780
  };
4785
4781
  It.deleteCookie = Dl;
4786
- var Hl = tt && tt.__createBinding || (Object.create ? function(t, i, f, r) {
4782
+ var Hl = nt && nt.__createBinding || (Object.create ? function(t, i, f, r) {
4787
4783
  r === void 0 && (r = f);
4788
4784
  var E = Object.getOwnPropertyDescriptor(i, f);
4789
4785
  (!E || ("get" in E ? !i.__esModule : E.writable || E.configurable)) && (E = { enumerable: !0, get: function() {
@@ -4791,11 +4787,11 @@ var Hl = tt && tt.__createBinding || (Object.create ? function(t, i, f, r) {
4791
4787
  } }), Object.defineProperty(t, r, E);
4792
4788
  } : function(t, i, f, r) {
4793
4789
  r === void 0 && (r = f), t[r] = i[f];
4794
- }), Ul = tt && tt.__setModuleDefault || (Object.create ? function(t, i) {
4790
+ }), Ul = nt && nt.__setModuleDefault || (Object.create ? function(t, i) {
4795
4791
  Object.defineProperty(t, "default", { enumerable: !0, value: i });
4796
4792
  } : function(t, i) {
4797
4793
  t.default = i;
4798
- }), co = tt && tt.__importStar || /* @__PURE__ */ function() {
4794
+ }), co = nt && nt.__importStar || /* @__PURE__ */ function() {
4799
4795
  var t = function(i) {
4800
4796
  return t = Object.getOwnPropertyNames || function(f) {
4801
4797
  var r = [];
@@ -4809,13 +4805,13 @@ var Hl = tt && tt.__createBinding || (Object.create ? function(t, i, f, r) {
4809
4805
  if (i != null) for (var r = t(i), E = 0; E < r.length; E++) r[E] !== "default" && Hl(f, i, r[E]);
4810
4806
  return Ul(f, i), f;
4811
4807
  };
4812
- }(), Yn = tt && tt.__importDefault || function(t) {
4808
+ }(), Yn = nt && nt.__importDefault || function(t) {
4813
4809
  return t && t.__esModule ? t : { default: t };
4814
4810
  };
4815
- const Ht = Yn(vr), fn = xt, bi = Yn(Dr), $l = Wn, ql = Yn(Hr), Pn = co(lt), dn = Yn(Ur), pn = co(It), Fn = et, wi = "api.addsearch.com", fr = "addsearchUserToken";
4811
+ const Bt = Yn(vr), hn = xt, bi = Yn(Dr), $l = Wn, ql = Yn(Hr), Pn = co(lt), fn = Yn(Ur), dn = co(It), Fn = tt, wi = "api.addsearch.com", fr = "addsearchUserToken";
4816
4812
  class zl {
4817
4813
  constructor(i, f) {
4818
- this.useStatsSessionId = !1, this.sitekey = i, this.privatekey = f || "", this.apiHostname = wi, this.statsApiHostname = wi, this.settings = new ql.default(), this.sessionId = `a-${Math.random() * 1e8}`.substring(0, 10), this.userTokenInPersonalization = pn.getCookie(fr) || Pn.generateUUID();
4814
+ this.useStatsSessionId = !1, this.sitekey = i, this.privatekey = f || "", this.apiHostname = wi, this.statsApiHostname = wi, this.settings = new ql.default(), this.sessionId = `a-${Math.random() * 1e8}`.substring(0, 10), this.userTokenInPersonalization = dn.getCookie(fr) || Pn.generateUUID();
4819
4815
  }
4820
4816
  search(i, f) {
4821
4817
  var r;
@@ -4828,11 +4824,11 @@ class zl {
4828
4824
  E = this.settings.getSettings().keyword || null, b = this.settings.getSettings().callback;
4829
4825
  else
4830
4826
  throw new Error("Illegal search parameters. Should be (keyword, callbackFunction) or (callbackFunction)");
4831
- this.settings.setCallback(() => b), this.settings.setKeyword(E), (r = this.throttledSearchFetch) !== null && r !== void 0 || (this.throttledSearchFetch = (0, dn.default)(this.settings.getSettings().throttleTimeMs, Ht.default)), this.throttledSearchFetch(this.apiHostname, this.sitekey, "search", this.settings.getSettings(), b);
4827
+ this.settings.setCallback(() => b), this.settings.setKeyword(E), (r = this.throttledSearchFetch) !== null && r !== void 0 || (this.throttledSearchFetch = (0, fn.default)(this.settings.getSettings().throttleTimeMs, Bt.default)), this.throttledSearchFetch(this.apiHostname, this.sitekey, "search", this.settings.getSettings(), b);
4832
4828
  }
4833
4829
  aiAnswers(i, f) {
4834
4830
  var r;
4835
- this.settings.setCallback(() => f), this.settings.setKeyword(i), (r = this.throttledAiAnswersFetch) !== null && r !== void 0 || (this.throttledAiAnswersFetch = (0, dn.default)(this.settings.getSettings().throttleTimeMs, Ht.default)), this.throttledAiAnswersFetch(this.apiHostname, this.sitekey, "ai-answers", this.settings.getSettings(), f);
4831
+ this.settings.setCallback(() => f), this.settings.setKeyword(i), (r = this.throttledAiAnswersFetch) !== null && r !== void 0 || (this.throttledAiAnswersFetch = (0, fn.default)(this.settings.getSettings().throttleTimeMs, Bt.default)), this.throttledAiAnswersFetch(this.apiHostname, this.sitekey, "ai-answers", this.settings.getSettings(), f);
4836
4832
  }
4837
4833
  putSentimentClick(i, f) {
4838
4834
  return (0, $l.putSentimentClick)(this.apiHostname, this.sitekey, i, f);
@@ -4841,48 +4837,48 @@ class zl {
4841
4837
  var r;
4842
4838
  if (!i || !f || !Pn.isFunction(f))
4843
4839
  throw new Error("Illegal suggestions parameters. Should be (prefix, callbackFunction)");
4844
- this.settings.setSuggestionsPrefix(i), (r = this.throttledSuggestionsFetch) !== null && r !== void 0 || (this.throttledSuggestionsFetch = (0, dn.default)(this.settings.getSettings().throttleTimeMs, Ht.default)), this.throttledSuggestionsFetch(this.apiHostname, this.sitekey, "suggest", this.settings.getSettings(), f);
4840
+ this.settings.setSuggestionsPrefix(i), (r = this.throttledSuggestionsFetch) !== null && r !== void 0 || (this.throttledSuggestionsFetch = (0, fn.default)(this.settings.getSettings().throttleTimeMs, Bt.default)), this.throttledSuggestionsFetch(this.apiHostname, this.sitekey, "suggest", this.settings.getSettings(), f);
4845
4841
  }
4846
4842
  autocomplete(i, f, r) {
4847
4843
  var E;
4848
4844
  if (!i || !f || !r || !Pn.isFunction(r))
4849
4845
  throw new Error("Illegal autocomplete parameters. Should be (field, prefix, callbackFunction)");
4850
- this.settings.setAutocompleteParams(i, f), (E = this.throttledAutocompleteFetch) !== null && E !== void 0 || (this.throttledAutocompleteFetch = (0, dn.default)(this.settings.getSettings().throttleTimeMs, Ht.default)), this.throttledAutocompleteFetch(this.apiHostname, this.sitekey, "autocomplete", this.settings.getSettings(), r);
4846
+ this.settings.setAutocompleteParams(i, f), (E = this.throttledAutocompleteFetch) !== null && E !== void 0 || (this.throttledAutocompleteFetch = (0, fn.default)(this.settings.getSettings().throttleTimeMs, Bt.default)), this.throttledAutocompleteFetch(this.apiHostname, this.sitekey, "autocomplete", this.settings.getSettings(), r);
4851
4847
  }
4852
4848
  fetchCustomApi(i, f, r) {
4853
4849
  var E;
4854
4850
  const b = Object.assign({}, this.settings.getSettings());
4855
- b.facetFields = (E = b.facetFields) === null || E === void 0 ? void 0 : E.filter((c) => i === c), (0, Ht.default)(this.apiHostname, this.sitekey, "search", b, r, null, f);
4851
+ b.facetFields = (E = b.facetFields) === null || E === void 0 ? void 0 : E.filter((c) => i === c), (0, Bt.default)(this.apiHostname, this.sitekey, "search", b, r, null, f);
4856
4852
  }
4857
4853
  fetchRangeFacets(i, f, r) {
4858
4854
  var E;
4859
4855
  const b = Object.assign({}, this.settings.getSettings());
4860
- (E = b.rangeFacets) !== null && E !== void 0 || (b.rangeFacets = []), b.rangeFacets.push({ field: i.field, ranges: i.ranges }), (0, Ht.default)(this.apiHostname, this.sitekey, "search", b, r, null, f);
4856
+ (E = b.rangeFacets) !== null && E !== void 0 || (b.rangeFacets = []), b.rangeFacets.push({ field: i.field, ranges: i.ranges }), (0, Bt.default)(this.apiHostname, this.sitekey, "search", b, r, null, f);
4861
4857
  }
4862
4858
  recommendations(i, f) {
4863
4859
  var r;
4864
4860
  if (!i || !f || !Pn.isFunction(f))
4865
4861
  throw new Error("Illegal recommendations parameters. Should be (options, callbackFunction)");
4866
- (r = this.throttledRecommendationFetch) !== null && r !== void 0 || (this.throttledRecommendationFetch = (0, dn.default)(this.settings.getSettings().throttleTimeMs, Ht.default)), this.throttledRecommendationFetch(this.apiHostname, this.sitekey, "recommend", this.settings.getSettings(), f, !1, null, i);
4862
+ (r = this.throttledRecommendationFetch) !== null && r !== void 0 || (this.throttledRecommendationFetch = (0, fn.default)(this.settings.getSettings().throttleTimeMs, Bt.default)), this.throttledRecommendationFetch(this.apiHostname, this.sitekey, "recommend", this.settings.getSettings(), f, !1, null, i);
4867
4863
  }
4868
4864
  getDocument(i) {
4869
- return (0, fn.getDocument)(this.apiHostname, this.sitekey, this.privatekey, i);
4865
+ return (0, hn.getDocument)(this.apiHostname, this.sitekey, this.privatekey, i);
4870
4866
  }
4871
4867
  saveDocument(i) {
4872
- return (0, fn.saveDocument)(this.apiHostname, this.sitekey, this.privatekey, i);
4868
+ return (0, hn.saveDocument)(this.apiHostname, this.sitekey, this.privatekey, i);
4873
4869
  }
4874
4870
  saveDocumentsBatch(i) {
4875
4871
  if (!i || !i.documents || !Array.isArray(i.documents))
4876
4872
  throw new Error("Please provide an array of documents: {documents: []}");
4877
- return (0, fn.saveDocumentsBatch)(this.apiHostname, this.sitekey, this.privatekey, i);
4873
+ return (0, hn.saveDocumentsBatch)(this.apiHostname, this.sitekey, this.privatekey, i);
4878
4874
  }
4879
4875
  deleteDocument(i) {
4880
- return (0, fn.deleteDocument)(this.apiHostname, this.sitekey, this.privatekey, i);
4876
+ return (0, hn.deleteDocument)(this.apiHostname, this.sitekey, this.privatekey, i);
4881
4877
  }
4882
4878
  deleteDocumentsBatch(i) {
4883
4879
  if (!i || !i.documents || !Array.isArray(i.documents))
4884
4880
  throw new Error("Please provide an array of document ids: {documents: []}");
4885
- return (0, fn.deleteDocumentsBatch)(this.apiHostname, this.sitekey, this.privatekey, i);
4881
+ return (0, hn.deleteDocumentsBatch)(this.apiHostname, this.sitekey, this.privatekey, i);
4886
4882
  }
4887
4883
  setApiHostname(i, f) {
4888
4884
  (!f || !f.statsApiRequestOnly) && (this.apiHostname = i), (!f || !f.searchApiRequestOnly) && (this.statsApiHostname = i);
@@ -4991,7 +4987,7 @@ class zl {
4991
4987
  }
4992
4988
  sendStatsEvent(i, f, r) {
4993
4989
  const E = !this.useStatsSessionId && Si && Ei;
4994
- if (E && !pn.getCookie(fr) && pn.setCookie(fr, this.userTokenInPersonalization, ki), i === "search") {
4990
+ if (E && !dn.getCookie(fr) && dn.setCookie(fr, this.userTokenInPersonalization, ki), i === "search") {
4995
4991
  const b = {
4996
4992
  action: "search",
4997
4993
  session: E ? this.userTokenInPersonalization : this.sessionId,
@@ -5031,10 +5027,10 @@ class zl {
5031
5027
  !r && !E ? ((0, Fn.setRequestInterceptor)(i, "searchApi"), (0, Fn.setRequestInterceptor)(i, "statsApi"), this.settings.setStatsRequestIntercepted(!0)) : (r && (0, Fn.setRequestInterceptor)(i, "searchApi"), E && ((0, Fn.setRequestInterceptor)(i, "statsApi"), this.settings.setStatsRequestIntercepted(!0)));
5032
5028
  }
5033
5029
  setCookie(i, f, r) {
5034
- pn.setCookie(i, f, r);
5030
+ dn.setCookie(i, f, r);
5035
5031
  }
5036
5032
  getCookie(i) {
5037
- return pn.getCookie(i);
5033
+ return dn.getCookie(i);
5038
5034
  }
5039
5035
  searchResultClicked(i, f) {
5040
5036
  this.sendStatsEvent("click", this.settings.getSettings().keyword || "", {
@@ -5051,7 +5047,7 @@ var uo = { exports: {} };
5051
5047
  (function(t, i) {
5052
5048
  (function(f, r) {
5053
5049
  t.exports = r();
5054
- })(tt, function() {
5050
+ })(nt, function() {
5055
5051
  return function() {
5056
5052
  var f = { 2987: function(b, c, n) {
5057
5053
  b.exports = n(9770).default, b.exports.AUTOCOMPLETE_TYPE = n(6510).AUTOCOMPLETE_TYPE, b.exports.FILTER_TYPE = n(9369).FILTER_TYPE, b.exports.SORTBY_TYPE = n(8909).SORTBY_TYPE, b.exports.LOAD_MORE_TYPE = n(3816).LOAD_MORE_TYPE, b.exports.RECOMMENDATION_TYPE = n(4128).RECOMMENDATION_TYPE, b.exports.RANGE_FACETS_TYPE = n(1990).RANGE_FACETS_TYPE, b.exports.Handlebars_runtime = n(261);
@@ -5151,8 +5147,8 @@ var uo = { exports: {} };
5151
5147
  const v = "AUTOCOMPLETE_FETCH_START", o = "AUTOCOMPLETE_SUGGESTIONS_RESULTS", e = "AUTOCOMPLETE_CUSTOM_FIELDS_RESULTS", p = "AUTOCOMPLETE_SUGGESTIONS_CLEAR", C = "AUTOCOMPLETE_CUSTOM_FIELDS_CLEAR", u = "AUTOCOMPLETE_SEARCH_RESULTS", a = "AUTOCOMPLETE_SEARCH_CLEAR", s = "AUTOCOMPLETE_SHOW", g = "AUTOCOMPLETE_HIDE", d = "AUTOCOMPLETE_HIDE_AND_DROP_RENDERING", m = "HIDE_AUTOMATICALLY", l = "KEYBOARD_EVENT", h = "ARROW_UP", _ = "ARROW_DOWN", S = "SET_ACTIVE_SUGGESTION", F = "suggestions", T = "custom_fields";
5152
5148
  function A(Y, W) {
5153
5149
  return W && W !== "" ? (Z, ce) => {
5154
- const ge = ce().keyword.minLengthRequiredToFetch;
5155
- W.length < ge || (Z(L(F)), Y.suggestions(W, (_e) => {
5150
+ const ye = ce().keyword.minLengthRequiredToFetch;
5151
+ W.length < ye || (Z(L(F)), Y.suggestions(W, (_e) => {
5156
5152
  ce().keyword.value !== "" && Z(/* @__PURE__ */ function(Ce, Oe) {
5157
5153
  return { type: o, keyword: Ce, results: Oe };
5158
5154
  }(W, _e));
@@ -5160,19 +5156,19 @@ var uo = { exports: {} };
5160
5156
  } : { type: p };
5161
5157
  }
5162
5158
  function j(Y, W, Z) {
5163
- return W && W !== "" ? (ce, ge) => {
5164
- const _e = ge().keyword.minLengthRequiredToFetch;
5159
+ return W && W !== "" ? (ce, ye) => {
5160
+ const _e = ye().keyword.minLengthRequiredToFetch;
5165
5161
  W.length < _e || (ce(L(T)), Y.autocomplete(Z, W, (Ce) => {
5166
- ge().keyword.value !== "" && ce({ type: e, results: Ce });
5162
+ ye().keyword.value !== "" && ce({ type: e, results: Ce });
5167
5163
  }));
5168
5164
  } : { type: C };
5169
5165
  }
5170
5166
  function U(Y, W, Z, ce) {
5171
- return Z && Z !== "" ? (ge, _e) => {
5167
+ return Z && Z !== "" ? (ye, _e) => {
5172
5168
  const Ce = _e().keyword.minLengthRequiredToFetch;
5173
- Z.length < Ce || (ge(L(W)), Y.search(Z, (Oe) => {
5174
- _e().keyword.value !== "" && ge(/* @__PURE__ */ function(He, Fe, Ke, Me) {
5175
- return { type: u, keyword: He, results: Fe, jsonKey: Ke, appendResults: Me };
5169
+ Z.length < Ce || (ye(L(W)), Y.search(Z, (Oe) => {
5170
+ _e().keyword.value !== "" && ye(/* @__PURE__ */ function(Ue, Fe, Ke, Ne) {
5171
+ return { type: u, keyword: Ue, results: Fe, jsonKey: Ke, appendResults: Ne };
5176
5172
  }(Z, Oe, W, ce));
5177
5173
  }));
5178
5174
  } : { type: a };
@@ -5389,15 +5385,15 @@ var uo = { exports: {} };
5389
5385
  if (!Z.custom_fields || !Z.custom_fields[W]) return !1;
5390
5386
  if (typeof Z.custom_fields[W] == "string") return ee.toLowerCase() === Z.custom_fields[W].toLowerCase();
5391
5387
  if (typeof Z.custom_fields[W] == "object" && Z.custom_fields[W].length) {
5392
- const ce = Z.custom_fields[W].map((_e) => _e.toLowerCase()), ge = ee.toLowerCase();
5393
- return ce.indexOf(ge) > -1;
5388
+ const ce = Z.custom_fields[W].map((_e) => _e.toLowerCase()), ye = ee.toLowerCase();
5389
+ return ce.indexOf(ye) > -1;
5394
5390
  }
5395
5391
  return !1;
5396
5392
  });
5397
5393
  }(h, z.hits, G);
5398
5394
  if (oe && !F) return void window.location.replace(oe.url);
5399
5395
  }
5400
- L(function(ee, Y, W, Z, ce, ge) {
5396
+ L(function(ee, Y, W, Z, ce, ye) {
5401
5397
  if (/top-delay-\d*$/.test(Z)) {
5402
5398
  var _e = parseInt(Z.replace("top-delay-", ""), 10);
5403
5399
  window.setTimeout(function() {
@@ -5408,7 +5404,7 @@ var uo = { exports: {} };
5408
5404
  const Ce = W ? W.total_hits : 0, Oe = W ? W.processing_time_ms : 0;
5409
5405
  (0, e.mh)(ee, Y, Ce, Oe);
5410
5406
  }
5411
- return { type: a, keyword: Y, results: W, appendResults: ce, requestBy: ge };
5407
+ return { type: a, keyword: Y, results: W, appendResults: ce, requestBy: ye };
5412
5408
  }(l, h, z, _, S, j));
5413
5409
  }));
5414
5410
  } : { type: s };
@@ -5467,7 +5463,7 @@ var uo = { exports: {} };
5467
5463
  if (typeof L != "object" || !L) return L;
5468
5464
  var N = L[Symbol.toPrimitive];
5469
5465
  if (N !== void 0) {
5470
- var z = N.call(L, B || "default");
5466
+ var z = N.call(L, B);
5471
5467
  if (typeof z != "object") return z;
5472
5468
  throw new TypeError("@@toPrimitive must return a primitive value.");
5473
5469
  }
@@ -5758,12 +5754,12 @@ var uo = { exports: {} };
5758
5754
  return [parseFloat(oe.value), parseFloat(ee.value)];
5759
5755
  }
5760
5756
  function z(oe, ee, Y, W, Z) {
5761
- const ce = ee.max - ee.min, ge = oe.value - ee.min, _e = ee.value - ee.min;
5757
+ const ce = ee.max - ee.min, ye = oe.value - ee.min, _e = ee.value - ee.min;
5762
5758
  Z.style.background = `linear-gradient(
5763
5759
  to right,
5764
5760
  `.concat(Y, ` 0%,
5765
- `).concat(Y, " ").concat(ge / ce * 100, `%,
5766
- `).concat(W, " ").concat(ge / ce * 100, `%,
5761
+ `).concat(Y, " ").concat(ye / ce * 100, `%,
5762
+ `).concat(W, " ").concat(ye / ce * 100, `%,
5767
5763
  `).concat(W, " ").concat(_e / ce * 100, `%,
5768
5764
  `).concat(Y, " ").concat(_e / ce * 100, `%,
5769
5765
  `).concat(Y, " 100%)");
@@ -5774,27 +5770,27 @@ var uo = { exports: {} };
5774
5770
  }
5775
5771
  this.initialize = function(oe, ee, Y) {
5776
5772
  j = ee, U = oe;
5777
- const [W, Z, ce, ge] = function() {
5778
- const Me = document.querySelector("#" + U + " .adds-range-slider-container");
5779
- return [Me.getAttribute("data-slider-min"), Me.getAttribute("data-slider-max"), Me.getAttribute("data-slider-start"), Me.getAttribute("data-slider-end")];
5773
+ const [W, Z, ce, ye] = function() {
5774
+ const Ne = document.querySelector("#" + U + " .adds-range-slider-container");
5775
+ return [Ne.getAttribute("data-slider-min"), Ne.getAttribute("data-slider-max"), Ne.getAttribute("data-slider-start"), Ne.getAttribute("data-slider-end")];
5780
5776
  }(), _e = Math.ceil(parseFloat(Z));
5781
- (function(Me, We) {
5782
- const V = document.querySelector("#" + U + " .adds-range-slider-container"), [H, se, de, we] = Me, Se = `
5777
+ (function(Ne, We) {
5778
+ const V = document.querySelector("#" + U + " .adds-range-slider-container"), [H, se, de, we] = Ne, Se = `
5783
5779
  <div class="adds-range-slider-control">
5784
5780
  <input data-id="adds-slider-control-from" type="range" value="`.concat(de || H, '" min="').concat(H, '" max="').concat(se, '" step="').concat(We, `" />
5785
5781
  <input data-id="adds-slider-control-to" type="range" value="`).concat(we || se, '" min="').concat(H, '" max="').concat(se, '" step="').concat(We, `" />
5786
5782
  </div>
5787
5783
  `);
5788
5784
  V.innerHTML = Se;
5789
- })([Math.floor(parseFloat(W)), _e, ce, ge], Y.step);
5790
- const Ce = Y.styles, Oe = document.querySelector("#" + oe + " [data-id=adds-slider-control-from]"), He = document.querySelector("#" + oe + " [data-id=adds-slider-control-to]"), Fe = document.querySelector("#" + oe + " [data-id=adds-slider-display-start]"), Ke = document.querySelector("#" + oe + " [data-id=adds-slider-display-end]");
5791
- z(Oe, He, Ce.trackColor, Ce.progressColor, He), G(He), L(Fe, ce || W), L(Ke, ge || Z), Oe.oninput = () => function(Me, We, V, H) {
5792
- const [se, de] = N(Me, We);
5793
- z(Me, We, H.trackColor, H.progressColor, We), se > de ? (Me.value = de, L(V, de)) : L(V, se);
5794
- }(Oe, He, Fe, Ce), He.oninput = () => function(Me, We, V, H) {
5795
- const [se, de] = N(Me, We);
5796
- z(Me, We, H.trackColor, H.progressColor, We), G(We), se <= de ? (We.value = de, L(V, de)) : (We.value = se, L(V, se));
5797
- }(Oe, He, Ke, Ce), Oe.onchange = () => B(Oe, He), He.onchange = () => B(Oe, He);
5785
+ })([Math.floor(parseFloat(W)), _e, ce, ye], Y.step);
5786
+ const Ce = Y.styles, Oe = document.querySelector("#" + oe + " [data-id=adds-slider-control-from]"), Ue = document.querySelector("#" + oe + " [data-id=adds-slider-control-to]"), Fe = document.querySelector("#" + oe + " [data-id=adds-slider-display-start]"), Ke = document.querySelector("#" + oe + " [data-id=adds-slider-display-end]");
5787
+ z(Oe, Ue, Ce.trackColor, Ce.progressColor, Ue), G(Ue), L(Fe, ce || W), L(Ke, ye || Z), Oe.oninput = () => function(Ne, We, V, H) {
5788
+ const [se, de] = N(Ne, We);
5789
+ z(Ne, We, H.trackColor, H.progressColor, We), se > de ? (Ne.value = de, L(V, de)) : L(V, se);
5790
+ }(Oe, Ue, Fe, Ce), Ue.oninput = () => function(Ne, We, V, H) {
5791
+ const [se, de] = N(Ne, We);
5792
+ z(Ne, We, H.trackColor, H.progressColor, We), G(We), se <= de ? (We.value = de, L(V, de)) : (We.value = se, L(V, se));
5793
+ }(Oe, Ue, Ke, Ce), Oe.onchange = () => B(Oe, Ue), Ue.onchange = () => B(Oe, Ue);
5798
5794
  };
5799
5795
  }
5800
5796
  S.init = function(j, U, L) {
@@ -5832,10 +5828,10 @@ var uo = { exports: {} };
5832
5828
  for (const ce in W) Z.push({ from: W[ce].gte, to: W[ce].lt });
5833
5829
  return Z;
5834
5830
  }(this.reduxStore.getState().filters.activeRangeFacets[this.conf.field]) : this.ranges = function(W, Z, ce) {
5835
- const ge = W >= 0 ? s(W) : -1 * g(-1 * W), _e = Z >= 0 ? g(Z) : -1 * s(-1 * Z), Ce = [];
5836
- let Oe = ge;
5837
- const He = g((_e - ge) / ce);
5838
- for (var Fe = 0; Fe < ce; Fe++) Ce.push({ from: Oe, to: Oe + He }), Oe += He;
5831
+ const ye = W >= 0 ? s(W) : -1 * g(-1 * W), _e = Z >= 0 ? g(Z) : -1 * s(-1 * Z), Ce = [];
5832
+ let Oe = ye;
5833
+ const Ue = g((_e - ye) / ce);
5834
+ for (var Fe = 0; Fe < ce; Fe++) Ce.push({ from: Oe, to: Oe + Ue }), Oe += Ue;
5839
5835
  return Ce;
5840
5836
  }(oe.min, oe.max, this.maxNumberOfRangeBuckets), this.conf.type === A.SLIDER) return void this.renderRangeSlider(G);
5841
5837
  var ee = { field: this.conf.field, ranges: this.ranges };
@@ -6041,19 +6037,19 @@ var uo = { exports: {} };
6041
6037
  const R = { active: k, clearAll: this.conf.clearAll !== !1 };
6042
6038
  let M;
6043
6039
  if (M = this.conf.precompiledTemplate ? this.conf.precompiledTemplate(R) : this.conf.template ? p().compile(this.conf.template)(R) : g()(R), this.renderedHtml === M) return;
6044
- const q = document.getElementById(this.conf.containerId);
6045
- q.innerHTML = M, this.renderedHtml = M;
6046
- const K = q.querySelectorAll("[data-type]");
6040
+ const $ = document.getElementById(this.conf.containerId);
6041
+ $.innerHTML = M, this.renderedHtml = M;
6042
+ const K = $.querySelectorAll("[data-type]");
6047
6043
  for (let re = 0; re < K.length; re++) K[re].addEventListener("click", (ue) => this.handleFilterClick(ue));
6048
- const ne = q.querySelector("[data-clearall]");
6044
+ const ne = $.querySelector("[data-clearall]");
6049
6045
  ne && ne.addEventListener("click", (re) => this.reduxStore.dispatch((0, C.hx)(!0, !0)));
6050
6046
  }
6051
6047
  handleFilterClick(x) {
6052
- const k = x.target.getAttribute("data-type"), P = x.target.getAttribute("data-name"), R = x.target.getAttribute("data-value"), M = x.target.getAttribute("data-container"), q = x.target.getAttribute("data-conf-fields") ? x.target.getAttribute("data-conf-fields").split(",") : [], K = x.target.getAttribute("data-range-min"), ne = x.target.getAttribute("data-range-max");
6048
+ const k = x.target.getAttribute("data-type"), P = x.target.getAttribute("data-name"), R = x.target.getAttribute("data-value"), M = x.target.getAttribute("data-container"), $ = x.target.getAttribute("data-conf-fields") ? x.target.getAttribute("data-conf-fields").split(",") : [], K = x.target.getAttribute("data-range-min"), ne = x.target.getAttribute("data-range-max");
6053
6049
  if (k === d) this.reduxStore.dispatch((0, C.VH)(P, R, !0));
6054
6050
  else if (k === m) this.reduxStore.dispatch((0, C.u3)(P, null, null));
6055
6051
  else if (k === l) this.reduxStore.dispatch((0, C.II)(P, R));
6056
- else if (k === _) this.reduxStore.dispatch((0, C.Ni)(P, M, q, R, !0));
6052
+ else if (k === _) this.reduxStore.dispatch((0, C.Ni)(P, M, $, R, !0));
6057
6053
  else if (k === h) {
6058
6054
  const re = { min: K, max: ne };
6059
6055
  this.reduxStore.dispatch((0, C.jU)(P, re, R, !0, !0));
@@ -6065,18 +6061,18 @@ var uo = { exports: {} };
6065
6061
  constructor(x, k, P, R) {
6066
6062
  this.client = x, this.reduxStore = k, this.conf = P;
6067
6063
  var M = ["component.loadMore", "component.pagination", "component.sortby"];
6068
- (0, u.A)(P.containerId) && (0, a.G)(this.reduxStore, "search", (q) => {
6064
+ (0, u.A)(P.containerId) && (0, a.G)(this.reduxStore, "search", ($) => {
6069
6065
  var K, ne = this.reduxStore.getState().filters.activeFacets;
6070
- if (!(q.loading || M.indexOf(q.callBy) > -1)) if ((K = ne[this.conf.field]) && Object.keys(K).length !== 0 && this.conf.advancedSticky) {
6066
+ if (!($.loading || M.indexOf($.callBy) > -1)) if ((K = ne[this.conf.field]) && Object.keys(K).length !== 0 && this.conf.advancedSticky) {
6071
6067
  var re = (0, T.a)(this.reduxStore.getState().filters, R, this.conf.field);
6072
- if (q.callBy !== this.conf.field) x.fetchCustomApi(this.conf.field, re, (ue) => {
6068
+ if ($.callBy !== this.conf.field) x.fetchCustomApi(this.conf.field, re, (ue) => {
6073
6069
  this.render(ue, !0);
6074
6070
  });
6075
6071
  else {
6076
6072
  const ue = this.getActiveFacets(this.conf.field);
6077
6073
  this.updateCheckboxStates(ue);
6078
6074
  }
6079
- } else this.render(q);
6075
+ } else this.render($);
6080
6076
  });
6081
6077
  }
6082
6078
  setFilter(x) {
@@ -6087,19 +6083,19 @@ var uo = { exports: {} };
6087
6083
  const P = this.conf.field, R = k ? x : x.results;
6088
6084
  let M = [];
6089
6085
  R && R.facets && R.facets[P] && (M = R.facets[P]);
6090
- const q = this.getActiveFacets(P);
6091
- this.conf.sticky !== !0 || this.conf.advancedSticky || (this.keyword === x.keyword && this.stickyFacets && q.length !== 0 ? M = this.stickyFacets : (this.keyword = x.keyword, this.stickyFacets = M)), this.conf.facetsFilter && (M = this.conf.facetsFilter(M));
6086
+ const $ = this.getActiveFacets(P);
6087
+ this.conf.sticky !== !0 || this.conf.advancedSticky || (this.keyword === x.keyword && this.stickyFacets && $.length !== 0 ? M = this.stickyFacets : (this.keyword = x.keyword, this.stickyFacets = M)), this.conf.facetsFilter && (M = this.conf.facetsFilter(M));
6092
6088
  const K = { conf: this.conf, facets: M };
6093
6089
  let ne;
6094
- if (ne = this.conf.precompiledTemplate ? this.conf.precompiledTemplate(K) : this.conf.template ? p().compile(this.conf.template)(K) : j()(K), this.renderedHtml === ne && q === this.renderedActiveFacets) return;
6095
- this.renderedActiveFacets = q;
6090
+ if (ne = this.conf.precompiledTemplate ? this.conf.precompiledTemplate(K) : this.conf.template ? p().compile(this.conf.template)(K) : j()(K), this.renderedHtml === ne && $ === this.renderedActiveFacets) return;
6091
+ this.renderedActiveFacets = $;
6096
6092
  const re = document.getElementById(this.conf.containerId);
6097
6093
  re.innerHTML = ne, this.renderedHtml = ne;
6098
6094
  const ue = re.getElementsByTagName("input");
6099
6095
  for (let xe = 0; xe < ue.length; xe++) {
6100
6096
  let ke = ue[xe];
6101
- ke.checked = q.indexOf(ke.value) !== -1, ke.onchange = (De) => {
6102
- this.setFilter(De.target.value, De.target.checked);
6097
+ ke.checked = $.indexOf(ke.value) !== -1, ke.onchange = (Be) => {
6098
+ this.setFilter(Be.target.value, Be.target.checked);
6103
6099
  };
6104
6100
  }
6105
6101
  }
@@ -6128,13 +6124,13 @@ var uo = { exports: {} };
6128
6124
  }), ue;
6129
6125
  }
6130
6126
  this.client = x, this.reduxStore = k, this.conf = P;
6131
- var q = ["component.loadMore", "component.pagination", "component.sortby"];
6127
+ var $ = ["component.loadMore", "component.pagination", "component.sortby"];
6132
6128
  const K = this.conf.template_subHierarchicalFacetsTemplate || G();
6133
6129
  (0, N.bp)("subHierarchicalFacetsTemplate", K), (0, N.g3)("validateOpenState", function(ne) {
6134
6130
  return k.getState().filters.openedHierarchicalFacetGroups.indexOf(ne) === -1;
6135
6131
  }), (0, u.A)(P.containerId) && (0, a.G)(this.reduxStore, "search", (ne) => {
6136
6132
  var re = this.reduxStore.getState().filters.activeHierarchicalFacets[this.conf.containerId];
6137
- if (!(ne.loading || q.indexOf(ne.callBy) > -1)) if (M(re, this.conf.fields) || !ne.results.hits.length) this.render(ne);
6133
+ if (!(ne.loading || $.indexOf(ne.callBy) > -1)) if (M(re, this.conf.fields) || !ne.results.hits.length) this.render(ne);
6138
6134
  else {
6139
6135
  var ue = (0, T.a)(this.reduxStore.getState().filters, R, this.conf.fields);
6140
6136
  if (this.conf.fields.indexOf(ne.callBy) === -1) x.fetchCustomApi(this.conf.field, ue, (ke) => {
@@ -6155,14 +6151,14 @@ var uo = { exports: {} };
6155
6151
  const P = this.conf.fields, R = k ? x : x.results;
6156
6152
  let M = [];
6157
6153
  R && R.hierarchicalFacets && R.hierarchicalFacets[P[0]] && (M = R.hierarchicalFacets[P[0]], M = M.map((xe) => (xe.field = xe.field.replace("hierarchical_facet.", ""), xe)));
6158
- const q = this.getActiveFacets(P, this.conf.containerId);
6154
+ const $ = this.getActiveFacets(P, this.conf.containerId);
6159
6155
  this.conf.facetsFilter && (M = this.conf.facetsFilter(M));
6160
6156
  const K = { conf: this.conf, facets: M };
6161
6157
  let ne;
6162
- if (ne = this.conf.precompiledTemplate ? this.conf.precompiledTemplate(K) : this.conf.template ? p().compile(this.conf.template)(K) : B()(K), this.renderedHtml === ne && q === this.renderedActiveFacets) return;
6163
- this.renderedActiveFacets = q;
6158
+ if (ne = this.conf.precompiledTemplate ? this.conf.precompiledTemplate(K) : this.conf.template ? p().compile(this.conf.template)(K) : B()(K), this.renderedHtml === ne && $ === this.renderedActiveFacets) return;
6159
+ this.renderedActiveFacets = $;
6164
6160
  const re = document.getElementById(this.conf.containerId);
6165
- re.innerHTML = ne, this.renderedHtml = ne, this._updateCheckBoxes(re, q, !0, this.reduxStore.getState().filters.indeterminateHierarchicalFacets);
6161
+ re.innerHTML = ne, this.renderedHtml = ne, this._updateCheckBoxes(re, $, !0, this.reduxStore.getState().filters.indeterminateHierarchicalFacets);
6166
6162
  const ue = re.getElementsByClassName("addsearch-facet-group-expansion-arrow");
6167
6163
  for (let xe = 0; xe < ue.length; xe++) ue[xe].addEventListener("click", () => {
6168
6164
  ue[xe].parentNode.parentNode.classList.toggle("shrink"), this._toggleFacetGroupOpenState(ue[xe].parentNode.parentNode.getAttribute("data-facet"));
@@ -6172,7 +6168,7 @@ var uo = { exports: {} };
6172
6168
  let P = [];
6173
6169
  const R = this.reduxStore.getState().filters.activeHierarchicalFacets;
6174
6170
  return x.forEach(function(M) {
6175
- if (R[k] && R[k][M]) for (let q in R[k][M]) P.push(q);
6171
+ if (R[k] && R[k][M]) for (let $ in R[k][M]) P.push($);
6176
6172
  }), P;
6177
6173
  }
6178
6174
  _toggleFacetGroupOpenState(x) {
@@ -6181,29 +6177,29 @@ var uo = { exports: {} };
6181
6177
  }
6182
6178
  _updateCheckBoxes(x, k, P, R) {
6183
6179
  const M = x.getElementsByTagName("input");
6184
- for (let q = 0; q < M.length; q++) {
6185
- let K = M[q];
6180
+ for (let $ = 0; $ < M.length; $++) {
6181
+ let K = M[$];
6186
6182
  K.checked = k.indexOf(K.value) !== -1, K.indeterminate = R.indexOf(K.value) > -1, P && (K.onchange = (ne) => {
6187
6183
  this.setFilter(ne.target.value, ne.target.getAttribute("data-field"));
6188
6184
  });
6189
6185
  }
6190
6186
  }
6191
6187
  }
6192
- var ee = n(1990), Y = n(9369), W = n(3816), Z = n(5756), ce = n(1944), ge = n(4245), _e = n.n(ge);
6188
+ var ee = n(1990), Y = n(9369), W = n(3816), Z = n(5756), ce = n(1944), ye = n(4245), _e = n.n(ye);
6193
6189
  class Ce {
6194
6190
  constructor(x, k, P) {
6195
6191
  this.client = x, this.conf = P, this.reduxStore = k, (0, u.A)(P.containerId) && (0, a.G)(this.reduxStore, "search", () => this.render());
6196
6192
  }
6197
6193
  render() {
6198
- const x = this.reduxStore.getState(), k = x.search.results.page || 1, P = this.client.getSettings().paging.pageSize, R = x.search.results.total_hits || 0, M = Math.ceil(R / P), q = function(xe, ke) {
6194
+ const x = this.reduxStore.getState(), k = x.search.results.page || 1, P = this.client.getSettings().paging.pageSize, R = x.search.results.total_hits || 0, M = Math.ceil(R / P), $ = function(xe, ke) {
6199
6195
  if (!ke || ke < 2 || !xe || xe > ke) return null;
6200
- for (var De = [], Ue = 0; Ue < ke; Ue++) De.push(Ue + 1);
6201
- if (ke <= 9) return De;
6202
- if (ke > 9 && xe < 7) return De.slice(0, 9);
6203
- if (ke > 9 && xe >= ke - 3) return De.slice(ke - 9);
6204
- var mt = De.indexOf(xe);
6205
- return mt - 4 >= 0 && mt + 5 <= De.length ? De.slice(mt - 4, mt + 5) : null;
6206
- }(k, M), K = { currentPage: k, lastPage: q ? q[q.length - 1] : 0, totalPages: M, pages: q };
6196
+ for (var Be = [], $e = 0; $e < ke; $e++) Be.push($e + 1);
6197
+ if (ke <= 9) return Be;
6198
+ if (ke > 9 && xe < 7) return Be.slice(0, 9);
6199
+ if (ke > 9 && xe >= ke - 3) return Be.slice(ke - 9);
6200
+ var mt = Be.indexOf(xe);
6201
+ return mt - 4 >= 0 && mt + 5 <= Be.length ? Be.slice(mt - 4, mt + 5) : null;
6202
+ }(k, M), K = { currentPage: k, lastPage: $ ? $[$.length - 1] : 0, totalPages: M, pages: $ };
6207
6203
  let ne;
6208
6204
  if (ne = this.conf.precompiledTemplate ? this.conf.precompiledTemplate(K) : this.conf.template ? p().compile(this.conf.template)(K) : _e()(K), this.renderedHtml === ne) return;
6209
6205
  const re = document.getElementById(this.conf.containerId);
@@ -6220,13 +6216,13 @@ var uo = { exports: {} };
6220
6216
  this.reduxStore.dispatch((0, ce.EF)(this.client, R, M, null, null, this.reduxStore, null, "component.pagination"));
6221
6217
  }
6222
6218
  }
6223
- var Oe = n(8505), He = n.n(Oe), Fe = n(6148), Ke = n(6993), Me = n(4903);
6219
+ var Oe = n(8505), Ue = n.n(Oe), Fe = n(6148), Ke = n(6993), Ne = n(4903);
6224
6220
  const We = 40, V = 38, H = 13, se = 8, de = 46;
6225
6221
  class we {
6226
6222
  constructor(x, k, P, R, M) {
6227
6223
  this.client = x, this.reduxStore = k, this.conf = P, this.matchAllQuery = R, this.minLengthToShowResults = P.minLengthToShowResults || 1, this.firstRenderDone = !1, this.onSearch = M;
6228
- const q = P.minLengthToShowResults || 0;
6229
- this.reduxStore.dispatch((0, Ke._T)({ minLengthRequiredToFetch: q })), P.selectorToBind ? (this.bindContainer(), (0, a.G)(this.reduxStore, "keyword", (K) => {
6224
+ const $ = P.minLengthToShowResults || 0;
6225
+ this.reduxStore.dispatch((0, Ke._T)({ minLengthRequiredToFetch: $ })), P.selectorToBind ? (this.bindContainer(), (0, a.G)(this.reduxStore, "keyword", (K) => {
6230
6226
  K.setSearchFieldValue && this.updateValueOnAllBoundFields(K.value);
6231
6227
  }), (0, a.G)(this.reduxStore, "autocomplete", (K) => this.onAutocompleteUpdateBoundField(K))) : (0, u.A)(P.containerId) && ((0, a.G)(this.reduxStore, "keyword", (K) => {
6232
6228
  K.searchFieldContainerId !== this.conf.containerId && K.searchFieldContainerId !== null || this.render(K.value);
@@ -6256,7 +6252,7 @@ var uo = { exports: {} };
6256
6252
  }
6257
6253
  redirectOrSearch(x) {
6258
6254
  const k = this.reduxStore.getState().search.searchResultsPageUrl;
6259
- k && this.conf.ignoreSearchResultsPageUrl !== !0 && x && x.length > 0 ? (0, Me.lG)(k, x) : this.executeSearch(this.client, x, !1);
6255
+ k && this.conf.ignoreSearchResultsPageUrl !== !0 && x && x.length > 0 ? (0, Ne.lG)(k, x) : this.executeSearch(this.client, x, !1);
6260
6256
  }
6261
6257
  addEventListenersToField(x) {
6262
6258
  x.oninput = (k) => this.oninput(k), x.onkeypress = (k) => this.onkeypress(k), x.onkeyup = (k) => this.onkeyup(k), x.onfocus = (k) => this.onfocus(k), x.onblur = (k) => setTimeout(() => this.onblur(), 200);
@@ -6270,7 +6266,7 @@ var uo = { exports: {} };
6270
6266
  }
6271
6267
  render(x) {
6272
6268
  const k = document.getElementById(this.conf.containerId);
6273
- k.querySelector("input") ? x !== null && x !== At && k.querySelector("input").value !== x && (k.querySelector("input").value = x) : (this.conf.precompiledTemplate ? k.innerHTML = this.conf.precompiledTemplate(this.conf) : this.conf.template ? k.innerHTML = p().compile(this.conf.template)(this.conf) : k.innerHTML = He()(this.conf), this.field = k.querySelector("input"), x !== At && (this.field.value = x), this.addEventListenersToField(this.field), k.querySelector("button") && (k.querySelector("button").onclick = () => {
6269
+ k.querySelector("input") ? x !== null && x !== At && k.querySelector("input").value !== x && (k.querySelector("input").value = x) : (this.conf.precompiledTemplate ? k.innerHTML = this.conf.precompiledTemplate(this.conf) : this.conf.template ? k.innerHTML = p().compile(this.conf.template)(this.conf) : k.innerHTML = Ue()(this.conf), this.field = k.querySelector("input"), x !== At && (this.field.value = x), this.addEventListenersToField(this.field), k.querySelector("button") && (k.querySelector("button").onclick = () => {
6274
6270
  let P = this.field.value;
6275
6271
  this.handleSubmitKeyword(P);
6276
6272
  }), k.querySelector("form") && (k.querySelector("form").onsubmit = (P) => P.preventDefault()), this.handleAutoFocus(this.field));
@@ -6313,16 +6309,16 @@ var uo = { exports: {} };
6313
6309
  this.reduxStore.getState().autocomplete.hideAutomatically && this.reduxStore.dispatch((0, Fe.dC)());
6314
6310
  }
6315
6311
  }
6316
- var Se = n(6351), Ae = n(6873), me = n.n(Ae), ve = n(303), be = n.n(ve), Be = n(2123), X = n.n(Be), le = n(4111), ie = n.n(le);
6317
- class fe {
6312
+ var Se = n(6351), Ae = n(6873), me = n.n(Ae), ve = n(303), be = n.n(ve), Me = n(2123), X = n.n(Me), le = n(4111), ie = n.n(le);
6313
+ class he {
6318
6314
  constructor(x, k, P) {
6319
6315
  this.client = x, this.conf = P, this.reduxStore = k;
6320
6316
  const R = this.conf.template_resultcount || X(), M = this.conf.template_image || ie();
6321
6317
  (0, N.bp)("numberOfResultsTemplate", R), (0, N.bp)("searchResultImageTemplate", M), (0, N.g3)("removeTrailingQueriesFromUrl", (K) => {
6322
6318
  if (K) return K.replace(/\?.*$/, "");
6323
6319
  });
6324
- const q = this.conf.categorySelectionFunction || N.GK;
6325
- (0, N.g3)("selectCategory", (K) => q(K, this.conf.categoryAliases)), (0, u.A)(P.containerId) && (0, a.G)(this.reduxStore, "search", () => this.render());
6320
+ const $ = this.conf.categorySelectionFunction || N.GK;
6321
+ (0, N.g3)("selectCategory", (K) => $(K, this.conf.categoryAliases)), (0, u.A)(P.containerId) && (0, a.G)(this.reduxStore, "search", () => this.render());
6326
6322
  }
6327
6323
  render() {
6328
6324
  const x = this.reduxStore.getState().search, k = x.results || {};
@@ -6341,24 +6337,24 @@ var uo = { exports: {} };
6341
6337
  function w(pe) {
6342
6338
  y = pe;
6343
6339
  }
6344
- const I = /[&<>"']/, $ = new RegExp(I.source, "g"), J = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, te = new RegExp(J.source, "g"), Te = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ze = (pe) => Te[pe];
6340
+ const I = /[&<>"']/, q = new RegExp(I.source, "g"), J = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, te = new RegExp(J.source, "g"), Te = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ze = (pe) => Te[pe];
6345
6341
  function Pe(pe, x) {
6346
6342
  if (x) {
6347
- if (I.test(pe)) return pe.replace($, ze);
6343
+ if (I.test(pe)) return pe.replace(q, ze);
6348
6344
  } else if (J.test(pe)) return pe.replace(te, ze);
6349
6345
  return pe;
6350
6346
  }
6351
6347
  const Ge = /(^|[^\[])\^/g;
6352
- function ye(pe, x) {
6348
+ function ge(pe, x) {
6353
6349
  let k = typeof pe == "string" ? pe : pe.source;
6354
6350
  x = x || "";
6355
6351
  const P = { replace: (R, M) => {
6356
- let q = typeof M == "string" ? M : M.source;
6357
- return q = q.replace(Ge, "$1"), k = k.replace(R, q), P;
6352
+ let $ = typeof M == "string" ? M : M.source;
6353
+ return $ = $.replace(Ge, "$1"), k = k.replace(R, $), P;
6358
6354
  }, getRegex: () => new RegExp(k, x) };
6359
6355
  return P;
6360
6356
  }
6361
- function qt(pe) {
6357
+ function Yt(pe) {
6362
6358
  try {
6363
6359
  pe = encodeURI(pe).replace(/%25/g, "%");
6364
6360
  } catch {
@@ -6366,11 +6362,11 @@ var uo = { exports: {} };
6366
6362
  }
6367
6363
  return pe;
6368
6364
  }
6369
- const Tt = { exec: () => null };
6370
- function Ot(pe, x) {
6371
- const k = pe.replace(/\|/g, (R, M, q) => {
6365
+ const ft = { exec: () => null };
6366
+ function Ut(pe, x) {
6367
+ const k = pe.replace(/\|/g, (R, M, $) => {
6372
6368
  let K = !1, ne = M;
6373
- for (; --ne >= 0 && q[ne] === "\\"; ) K = !K;
6369
+ for (; --ne >= 0 && $[ne] === "\\"; ) K = !K;
6374
6370
  return K ? "|" : " |";
6375
6371
  }).split(/ \|/);
6376
6372
  let P = 0;
@@ -6379,29 +6375,24 @@ var uo = { exports: {} };
6379
6375
  for (; P < k.length; P++) k[P] = k[P].trim().replace(/\\\|/g, "|");
6380
6376
  return k;
6381
6377
  }
6382
- function Rt(pe, x, k) {
6378
+ function Ot(pe, x, k) {
6383
6379
  const P = pe.length;
6384
6380
  if (P === 0) return "";
6385
6381
  let R = 0;
6386
- for (; R < P; ) {
6387
- const M = pe.charAt(P - R - 1);
6388
- if (M !== x || k) {
6389
- if (M === x || !k) break;
6390
- R++;
6391
- } else R++;
6392
- }
6382
+ for (; R < P && !(pe.charAt(P - R - 1) !== x || k); )
6383
+ R++;
6393
6384
  return pe.slice(0, P - R);
6394
6385
  }
6395
- function zt(pe, x, k, P) {
6396
- const R = x.href, M = x.title ? Pe(x.title) : null, q = pe[1].replace(/\\([\[\]])/g, "$1");
6386
+ function Qt(pe, x, k, P) {
6387
+ const R = x.href, M = x.title ? Pe(x.title) : null, $ = pe[1].replace(/\\([\[\]])/g, "$1");
6397
6388
  if (pe[0].charAt(0) !== "!") {
6398
6389
  P.state.inLink = !0;
6399
- const K = { type: "link", raw: k, href: R, title: M, text: q, tokens: P.inlineTokens(q) };
6390
+ const K = { type: "link", raw: k, href: R, title: M, text: $, tokens: P.inlineTokens($) };
6400
6391
  return P.state.inLink = !1, K;
6401
6392
  }
6402
- return { type: "image", raw: k, href: R, title: M, text: Pe(q) };
6393
+ return { type: "image", raw: k, href: R, title: M, text: Pe($) };
6403
6394
  }
6404
- class Lt {
6395
+ class $t {
6405
6396
  constructor(x) {
6406
6397
  Ve(this, "options");
6407
6398
  Ve(this, "rules");
@@ -6416,18 +6407,18 @@ var uo = { exports: {} };
6416
6407
  const k = this.rules.block.code.exec(x);
6417
6408
  if (k) {
6418
6409
  const P = k[0].replace(/^(?: {1,4}| {0,3}\t)/gm, "");
6419
- return { type: "code", raw: k[0], codeBlockStyle: "indented", text: this.options.pedantic ? P : Rt(P, `
6410
+ return { type: "code", raw: k[0], codeBlockStyle: "indented", text: this.options.pedantic ? P : Ot(P, `
6420
6411
  `) };
6421
6412
  }
6422
6413
  }
6423
6414
  fences(x) {
6424
6415
  const k = this.rules.block.fences.exec(x);
6425
6416
  if (k) {
6426
- const P = k[0], R = function(M, q) {
6417
+ const P = k[0], R = function(M, $) {
6427
6418
  const K = M.match(/^(\s+)(?:```)/);
6428
- if (K === null) return q;
6419
+ if (K === null) return $;
6429
6420
  const ne = K[1];
6430
- return q.split(`
6421
+ return $.split(`
6431
6422
  `).map((re) => {
6432
6423
  const ue = re.match(/^\s+/);
6433
6424
  if (ue === null) return re;
@@ -6444,7 +6435,7 @@ var uo = { exports: {} };
6444
6435
  if (k) {
6445
6436
  let P = k[2].trim();
6446
6437
  if (/#$/.test(P)) {
6447
- const R = Rt(P, "#");
6438
+ const R = Ot(P, "#");
6448
6439
  this.options.pedantic ? P = R.trim() : R && !/ $/.test(R) || (P = R.trim());
6449
6440
  }
6450
6441
  return { type: "heading", raw: k[0], depth: k[1].length, text: P, tokens: this.lexer.inline(P) };
@@ -6452,16 +6443,16 @@ var uo = { exports: {} };
6452
6443
  }
6453
6444
  hr(x) {
6454
6445
  const k = this.rules.block.hr.exec(x);
6455
- if (k) return { type: "hr", raw: Rt(k[0], `
6446
+ if (k) return { type: "hr", raw: Ot(k[0], `
6456
6447
  `) };
6457
6448
  }
6458
6449
  blockquote(x) {
6459
6450
  const k = this.rules.block.blockquote.exec(x);
6460
6451
  if (k) {
6461
- let P = Rt(k[0], `
6452
+ let P = Ot(k[0], `
6462
6453
  `).split(`
6463
6454
  `), R = "", M = "";
6464
- const q = [];
6455
+ const $ = [];
6465
6456
  for (; P.length > 0; ) {
6466
6457
  let K = !1;
6467
6458
  const ne = [];
@@ -6479,25 +6470,25 @@ var uo = { exports: {} };
6479
6470
  ${ue}` : ue, M = M ? `${M}
6480
6471
  ${xe}` : xe;
6481
6472
  const ke = this.lexer.state.top;
6482
- if (this.lexer.state.top = !0, this.lexer.blockTokens(xe, q, !0), this.lexer.state.top = ke, P.length === 0) break;
6483
- const De = q[q.length - 1];
6484
- if ((De == null ? void 0 : De.type) === "code") break;
6485
- if ((De == null ? void 0 : De.type) === "blockquote") {
6486
- const Ue = De, mt = Ue.raw + `
6473
+ if (this.lexer.state.top = !0, this.lexer.blockTokens(xe, $, !0), this.lexer.state.top = ke, P.length === 0) break;
6474
+ const Be = $[$.length - 1];
6475
+ if ((Be == null ? void 0 : Be.type) === "code") break;
6476
+ if ((Be == null ? void 0 : Be.type) === "blockquote") {
6477
+ const $e = Be, mt = $e.raw + `
6487
6478
  ` + P.join(`
6488
6479
  `), gt = this.blockquote(mt);
6489
- q[q.length - 1] = gt, R = R.substring(0, R.length - Ue.raw.length) + gt.raw, M = M.substring(0, M.length - Ue.text.length) + gt.text;
6480
+ $[$.length - 1] = gt, R = R.substring(0, R.length - $e.raw.length) + gt.raw, M = M.substring(0, M.length - $e.text.length) + gt.text;
6490
6481
  break;
6491
6482
  }
6492
- if ((De == null ? void 0 : De.type) === "list") {
6493
- const Ue = De, mt = Ue.raw + `
6483
+ if ((Be == null ? void 0 : Be.type) === "list") {
6484
+ const $e = Be, mt = $e.raw + `
6494
6485
  ` + P.join(`
6495
6486
  `), gt = this.list(mt);
6496
- q[q.length - 1] = gt, R = R.substring(0, R.length - De.raw.length) + gt.raw, M = M.substring(0, M.length - Ue.raw.length) + gt.raw, P = mt.substring(q[q.length - 1].raw.length).split(`
6487
+ $[$.length - 1] = gt, R = R.substring(0, R.length - Be.raw.length) + gt.raw, M = M.substring(0, M.length - $e.raw.length) + gt.raw, P = mt.substring($[$.length - 1].raw.length).split(`
6497
6488
  `);
6498
6489
  }
6499
6490
  }
6500
- return { type: "blockquote", raw: R, tokens: q, text: M };
6491
+ return { type: "blockquote", raw: R, tokens: $, text: M };
6501
6492
  }
6502
6493
  }
6503
6494
  list(x) {
@@ -6506,32 +6497,32 @@ ${xe}` : xe;
6506
6497
  let P = k[1].trim();
6507
6498
  const R = P.length > 1, M = { type: "list", raw: "", ordered: R, start: R ? +P.slice(0, -1) : "", loose: !1, items: [] };
6508
6499
  P = R ? `\\d{1,9}\\${P.slice(-1)}` : `\\${P}`, this.options.pedantic && (P = R ? P : "[*+-]");
6509
- const q = new RegExp(`^( {0,3}${P})((?:[ ][^\\n]*)?(?:\\n|$))`);
6500
+ const $ = new RegExp(`^( {0,3}${P})((?:[ ][^\\n]*)?(?:\\n|$))`);
6510
6501
  let K = !1;
6511
6502
  for (; x; ) {
6512
6503
  let ne = !1, re = "", ue = "";
6513
- if (!(k = q.exec(x)) || this.rules.block.hr.test(x)) break;
6504
+ if (!(k = $.exec(x)) || this.rules.block.hr.test(x)) break;
6514
6505
  re = k[0], x = x.substring(re.length);
6515
6506
  let xe = k[2].split(`
6516
6507
  `, 1)[0].replace(/^\t+/, (nr) => " ".repeat(3 * nr.length)), ke = x.split(`
6517
- `, 1)[0], De = !xe.trim(), Ue = 0;
6518
- if (this.options.pedantic ? (Ue = 2, ue = xe.trimStart()) : De ? Ue = k[1].length + 1 : (Ue = k[2].search(/[^ ]/), Ue = Ue > 4 ? 1 : Ue, ue = xe.slice(Ue), Ue += k[1].length), De && /^[ \t]*$/.test(ke) && (re += ke + `
6508
+ `, 1)[0], Be = !xe.trim(), $e = 0;
6509
+ if (this.options.pedantic ? ($e = 2, ue = xe.trimStart()) : Be ? $e = k[1].length + 1 : ($e = k[2].search(/[^ ]/), $e = $e > 4 ? 1 : $e, ue = xe.slice($e), $e += k[1].length), Be && /^[ \t]*$/.test(ke) && (re += ke + `
6519
6510
  `, x = x.substring(ke.length + 1), ne = !0), !ne) {
6520
- const nr = new RegExp(`^ {0,${Math.min(3, Ue - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), qr = new RegExp(`^ {0,${Math.min(3, Ue - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), zr = new RegExp(`^ {0,${Math.min(3, Ue - 1)}}(?:\`\`\`|~~~)`), Vr = new RegExp(`^ {0,${Math.min(3, Ue - 1)}}#`), ko = new RegExp(`^ {0,${Math.min(3, Ue - 1)}}<[a-z].*>`, "i");
6511
+ const nr = new RegExp(`^ {0,${Math.min(3, $e - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), qr = new RegExp(`^ {0,${Math.min(3, $e - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), zr = new RegExp(`^ {0,${Math.min(3, $e - 1)}}(?:\`\`\`|~~~)`), Vr = new RegExp(`^ {0,${Math.min(3, $e - 1)}}#`), ko = new RegExp(`^ {0,${Math.min(3, $e - 1)}}<[a-z].*>`, "i");
6521
6512
  for (; x; ) {
6522
6513
  const rr = x.split(`
6523
6514
  `, 1)[0];
6524
- let an;
6525
- if (ke = rr, this.options.pedantic ? (ke = ke.replace(/^ {1,4}(?=( {4})*[^ ])/g, " "), an = ke) : an = ke.replace(/\t/g, " "), zr.test(ke) || Vr.test(ke) || ko.test(ke) || nr.test(ke) || qr.test(ke)) break;
6526
- if (an.search(/[^ ]/) >= Ue || !ke.trim()) ue += `
6527
- ` + an.slice(Ue);
6515
+ let sn;
6516
+ if (ke = rr, this.options.pedantic ? (ke = ke.replace(/^ {1,4}(?=( {4})*[^ ])/g, " "), sn = ke) : sn = ke.replace(/\t/g, " "), zr.test(ke) || Vr.test(ke) || ko.test(ke) || nr.test(ke) || qr.test(ke)) break;
6517
+ if (sn.search(/[^ ]/) >= $e || !ke.trim()) ue += `
6518
+ ` + sn.slice($e);
6528
6519
  else {
6529
- if (De || xe.replace(/\t/g, " ").search(/[^ ]/) >= 4 || zr.test(xe) || Vr.test(xe) || qr.test(xe)) break;
6520
+ if (Be || xe.replace(/\t/g, " ").search(/[^ ]/) >= 4 || zr.test(xe) || Vr.test(xe) || qr.test(xe)) break;
6530
6521
  ue += `
6531
6522
  ` + ke;
6532
6523
  }
6533
- De || ke.trim() || (De = !0), re += rr + `
6534
- `, x = x.substring(rr.length + 1), xe = an.slice(Ue);
6524
+ Be || ke.trim() || (Be = !0), re += rr + `
6525
+ `, x = x.substring(rr.length + 1), xe = sn.slice($e);
6535
6526
  }
6536
6527
  }
6537
6528
  M.loose || (K ? M.loose = !0 : /\n[ \t]*\n[ \t]*$/.test(re) && (K = !0));
@@ -6562,13 +6553,13 @@ ${xe}` : xe;
6562
6553
  table(x) {
6563
6554
  const k = this.rules.block.table.exec(x);
6564
6555
  if (!k || !/[:|]/.test(k[2])) return;
6565
- const P = Ot(k[1]), R = k[2].replace(/^\||\| *$/g, "").split("|"), M = k[3] && k[3].trim() ? k[3].replace(/\n[ \t]*$/, "").split(`
6566
- `) : [], q = { type: "table", raw: k[0], header: [], align: [], rows: [] };
6556
+ const P = Ut(k[1]), R = k[2].replace(/^\||\| *$/g, "").split("|"), M = k[3] && k[3].trim() ? k[3].replace(/\n[ \t]*$/, "").split(`
6557
+ `) : [], $ = { type: "table", raw: k[0], header: [], align: [], rows: [] };
6567
6558
  if (P.length === R.length) {
6568
- for (const K of R) /^ *-+: *$/.test(K) ? q.align.push("right") : /^ *:-+: *$/.test(K) ? q.align.push("center") : /^ *:-+ *$/.test(K) ? q.align.push("left") : q.align.push(null);
6569
- for (let K = 0; K < P.length; K++) q.header.push({ text: P[K], tokens: this.lexer.inline(P[K]), header: !0, align: q.align[K] });
6570
- for (const K of M) q.rows.push(Ot(K, q.header.length).map((ne, re) => ({ text: ne, tokens: this.lexer.inline(ne), header: !1, align: q.align[re] })));
6571
- return q;
6559
+ for (const K of R) /^ *-+: *$/.test(K) ? $.align.push("right") : /^ *:-+: *$/.test(K) ? $.align.push("center") : /^ *:-+ *$/.test(K) ? $.align.push("left") : $.align.push(null);
6560
+ for (let K = 0; K < P.length; K++) $.header.push({ text: P[K], tokens: this.lexer.inline(P[K]), header: !0, align: $.align[K] });
6561
+ for (const K of M) $.rows.push(Ut(K, $.header.length).map((ne, re) => ({ text: ne, tokens: this.lexer.inline(ne), header: !1, align: $.align[re] })));
6562
+ return $;
6572
6563
  }
6573
6564
  }
6574
6565
  lheading(x) {
@@ -6601,10 +6592,10 @@ ${xe}` : xe;
6601
6592
  const P = k[2].trim();
6602
6593
  if (!this.options.pedantic && /^</.test(P)) {
6603
6594
  if (!/>$/.test(P)) return;
6604
- const q = Rt(P.slice(0, -1), "\\");
6605
- if ((P.length - q.length) % 2 == 0) return;
6595
+ const $ = Ot(P.slice(0, -1), "\\");
6596
+ if ((P.length - $.length) % 2 == 0) return;
6606
6597
  } else {
6607
- const q = function(K, ne) {
6598
+ const $ = function(K, ne) {
6608
6599
  if (K.indexOf(ne[1]) === -1) return -1;
6609
6600
  let re = 0;
6610
6601
  for (let ue = 0; ue < K.length; ue++) if (K[ue] === "\\") ue++;
@@ -6612,17 +6603,17 @@ ${xe}` : xe;
6612
6603
  else if (K[ue] === ne[1] && (re--, re < 0)) return ue;
6613
6604
  return -1;
6614
6605
  }(k[2], "()");
6615
- if (q > -1) {
6616
- const K = (k[0].indexOf("!") === 0 ? 5 : 4) + k[1].length + q;
6617
- k[2] = k[2].substring(0, q), k[0] = k[0].substring(0, K).trim(), k[3] = "";
6606
+ if ($ > -1) {
6607
+ const K = (k[0].indexOf("!") === 0 ? 5 : 4) + k[1].length + $;
6608
+ k[2] = k[2].substring(0, $), k[0] = k[0].substring(0, K).trim(), k[3] = "";
6618
6609
  }
6619
6610
  }
6620
6611
  let R = k[2], M = "";
6621
6612
  if (this.options.pedantic) {
6622
- const q = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(R);
6623
- q && (R = q[1], M = q[3]);
6613
+ const $ = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(R);
6614
+ $ && (R = $[1], M = $[3]);
6624
6615
  } else M = k[3] ? k[3].slice(1, -1) : "";
6625
- return R = R.trim(), /^</.test(R) && (R = this.options.pedantic && !/>$/.test(P) ? R.slice(1) : R.slice(1, -1)), zt(k, { href: R && R.replace(this.rules.inline.anyPunctuation, "$1"), title: M && M.replace(this.rules.inline.anyPunctuation, "$1") }, k[0], this.lexer);
6616
+ return R = R.trim(), /^</.test(R) && (R = this.options.pedantic && !/>$/.test(P) ? R.slice(1) : R.slice(1, -1)), Qt(k, { href: R && R.replace(this.rules.inline.anyPunctuation, "$1"), title: M && M.replace(this.rules.inline.anyPunctuation, "$1") }, k[0], this.lexer);
6626
6617
  }
6627
6618
  }
6628
6619
  reflink(x, k) {
@@ -6633,18 +6624,18 @@ ${xe}` : xe;
6633
6624
  const M = P[0].charAt(0);
6634
6625
  return { type: "text", raw: M, text: M };
6635
6626
  }
6636
- return zt(P, R, P[0], this.lexer);
6627
+ return Qt(P, R, P[0], this.lexer);
6637
6628
  }
6638
6629
  }
6639
6630
  emStrong(x, k, P = "") {
6640
6631
  let R = this.rules.inline.emStrongLDelim.exec(x);
6641
6632
  if (R && !(R[3] && P.match(/[\p{L}\p{N}]/u)) && (!(R[1] || R[2]) || !P || this.rules.inline.punctuation.exec(P))) {
6642
6633
  const M = [...R[0]].length - 1;
6643
- let q, K, ne = M, re = 0;
6634
+ let $, K, ne = M, re = 0;
6644
6635
  const ue = R[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
6645
6636
  for (ue.lastIndex = 0, k = k.slice(-1 * x.length + M); (R = ue.exec(k)) != null; ) {
6646
- if (q = R[1] || R[2] || R[3] || R[4] || R[5] || R[6], !q) continue;
6647
- if (K = [...q].length, R[3] || R[4]) {
6637
+ if ($ = R[1] || R[2] || R[3] || R[4] || R[5] || R[6], !$) continue;
6638
+ if (K = [...$].length, R[3] || R[4]) {
6648
6639
  ne += K;
6649
6640
  continue;
6650
6641
  }
@@ -6656,11 +6647,11 @@ ${xe}` : xe;
6656
6647
  K = Math.min(K, K + ne + re);
6657
6648
  const xe = [...R[0]][0].length, ke = x.slice(0, M + R.index + xe + K);
6658
6649
  if (Math.min(M, K) % 2) {
6659
- const Ue = ke.slice(1, -1);
6660
- return { type: "em", raw: ke, text: Ue, tokens: this.lexer.inlineTokens(Ue) };
6650
+ const $e = ke.slice(1, -1);
6651
+ return { type: "em", raw: ke, text: $e, tokens: this.lexer.inlineTokens($e) };
6661
6652
  }
6662
- const De = ke.slice(2, -2);
6663
- return { type: "strong", raw: ke, text: De, tokens: this.lexer.inlineTokens(De) };
6653
+ const Be = ke.slice(2, -2);
6654
+ return { type: "strong", raw: ke, text: Be, tokens: this.lexer.inlineTokens(Be) };
6664
6655
  }
6665
6656
  }
6666
6657
  }
@@ -6694,10 +6685,10 @@ ${xe}` : xe;
6694
6685
  let R, M;
6695
6686
  if (k[2] === "@") R = Pe(k[0]), M = "mailto:" + R;
6696
6687
  else {
6697
- let q;
6688
+ let $;
6698
6689
  do
6699
- q = k[0], k[0] = ((P = this.rules.inline._backpedal.exec(k[0])) == null ? void 0 : P[0]) ?? "";
6700
- while (q !== k[0]);
6690
+ $ = k[0], k[0] = ((P = this.rules.inline._backpedal.exec(k[0])) == null ? void 0 : P[0]) ?? "";
6691
+ while ($ !== k[0]);
6701
6692
  R = Pe(k[0]), M = k[1] === "www." ? "http://" + k[0] : k[0];
6702
6693
  }
6703
6694
  return { type: "link", raw: k[0], text: R, href: M, tokens: [{ type: "text", raw: R, text: R }] };
@@ -6711,8 +6702,8 @@ ${xe}` : xe;
6711
6702
  }
6712
6703
  }
6713
6704
  }
6714
- const jt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, tn = /(?:[*+-]|\d{1,9}[.)])/, En = ye(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, tn).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), Vt = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Gt = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Qn = ye(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Gt).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Zn = ye(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, tn).getRegex(), Nt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Kt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Xn = ye("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Kt).replace("tag", Nt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), kn = ye(Vt).replace("hr", jt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Nt).getRegex(), nn = { blockquote: ye(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", kn).getRegex(), code: /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, def: Qn, fences: /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, heading: /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, hr: jt, html: Xn, lheading: En, list: Zn, newline: /^(?:[ \t]*(?:\n|$))+/, paragraph: kn, table: Tt, text: /^[^\n]+/ }, _n = ye("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", jt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Nt).getRegex(), D = { ...nn, table: _n, paragraph: ye(Vt).replace("hr", jt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", _n).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Nt).getRegex() }, ae = { ...nn, html: ye(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Kt).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: Tt, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: ye(Vt).replace("hr", jt).replace("heading", ` *#{1,6} *[^
6715
- ]`).replace("lheading", En).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, he = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ee = /^( {2,}|\\)\n(?!\s*$)/, Le = "\\p{P}\\p{S}", $e = ye(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Le).getRegex(), je = ye(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Le).getRegex(), Ie = ye("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Le).getRegex(), Ze = ye("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Le).getRegex(), Je = ye(/\\([punct])/, "gu").replace(/punct/g, Le).getRegex(), Ye = ye(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), ut = ye(Kt).replace("(?:-->|$)", "-->").getRegex(), Pt = ye("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", ut).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ft = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, nt = ye(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", ft).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Wt = ye(/^!?\[(label)\]\[(ref)\]/).replace("label", ft).replace("ref", Gt).getRegex(), Cn = ye(/^!?\[(ref)\](?:\[\])?/).replace("ref", Gt).getRegex(), rn = { _backpedal: Tt, anyPunctuation: Je, autolink: Ye, blockSkip: /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, br: Ee, code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, del: Tt, emStrongLDelim: je, emStrongRDelimAst: Ie, emStrongRDelimUnd: Ze, escape: he, link: nt, nolink: Cn, punctuation: $e, reflink: Wt, reflinkSearch: ye("reflink|nolink(?!\\()", "g").replace("reflink", Wt).replace("nolink", Cn).getRegex(), tag: Pt, text: /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, url: Tt }, ho = { ...rn, link: ye(/^!?\[(label)\]\((.*?)\)/).replace("label", ft).getRegex(), reflink: ye(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", ft).getRegex() }, er = { ...rn, escape: ye(he).replace("])", "~|])").getRegex(), url: ye(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/, text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ }, fo = { ...er, br: ye(Ee).replace("{2,}", "*").getRegex(), text: ye(er.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, On = { normal: nn, gfm: D, pedantic: ae }, on = { normal: rn, gfm: er, breaks: fo, pedantic: ho };
6705
+ const Tt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Sn = /(?:[*+-]|\d{1,9}[.)])/, Zt = ge(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Sn).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), qt = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Xt = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Qn = ge(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Xt).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), En = ge(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Sn).getRegex(), Lt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", en = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Zn = ge("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", en).replace("tag", Lt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), kn = ge(qt).replace("hr", Tt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Lt).getRegex(), tn = { blockquote: ge(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", kn).getRegex(), code: /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, def: Qn, fences: /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, heading: /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, hr: Tt, html: Zn, lheading: Zt, list: En, newline: /^(?:[ \t]*(?:\n|$))+/, paragraph: kn, table: ft, text: /^[^\n]+/ }, D = ge("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Tt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Lt).getRegex(), ae = { ...tn, table: D, paragraph: ge(qt).replace("hr", Tt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", D).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Lt).getRegex() }, fe = { ...tn, html: ge(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", en).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: ft, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: ge(qt).replace("hr", Tt).replace("heading", ` *#{1,6} *[^
6706
+ ]`).replace("lheading", Zt).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ee = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, De = /^( {2,}|\\)\n(?!\s*$)/, He = "\\p{P}\\p{S}", Le = ge(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, He).getRegex(), Ie = ge(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, He).getRegex(), Xe = ge("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, He).getRegex(), Je = ge("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, He).getRegex(), Ye = ge(/\\([punct])/, "gu").replace(/punct/g, He).getRegex(), ut = ge(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Pt = ge(en).replace("(?:-->|$)", "-->").getRegex(), Rt = ge("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Pt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Ze = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, nn = ge(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", Ze).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), _n = ge(/^!?\[(label)\]\[(ref)\]/).replace("label", Ze).replace("ref", Xt).getRegex(), Cn = ge(/^!?\[(ref)\](?:\[\])?/).replace("ref", Xt).getRegex(), Xn = { _backpedal: ft, anyPunctuation: Ye, autolink: ut, blockSkip: /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, br: De, code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, del: ft, emStrongLDelim: Ie, emStrongRDelimAst: Xe, emStrongRDelimUnd: Je, escape: Ee, link: nn, nolink: Cn, punctuation: Le, reflink: _n, reflinkSearch: ge("reflink|nolink(?!\\()", "g").replace("reflink", _n).replace("nolink", Cn).getRegex(), tag: Rt, text: /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, url: ft }, ho = { ...Xn, link: ge(/^!?\[(label)\]\((.*?)\)/).replace("label", Ze).getRegex(), reflink: ge(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Ze).getRegex() }, er = { ...Xn, escape: ge(Ee).replace("])", "~|])").getRegex(), url: ge(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/, text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ }, fo = { ...er, br: ge(De).replace("{2,}", "*").getRegex(), text: ge(er.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, On = { normal: tn, gfm: ae, pedantic: fe }, rn = { normal: Xn, gfm: er, breaks: fo, pedantic: ho };
6716
6707
  class dt {
6717
6708
  constructor(x) {
6718
6709
  Ve(this, "tokens");
@@ -6720,12 +6711,12 @@ ${xe}` : xe;
6720
6711
  Ve(this, "state");
6721
6712
  Ve(this, "tokenizer");
6722
6713
  Ve(this, "inlineQueue");
6723
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = x || y, this.options.tokenizer = this.options.tokenizer || new Lt(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
6724
- const k = { block: On.normal, inline: on.normal };
6725
- this.options.pedantic ? (k.block = On.pedantic, k.inline = on.pedantic) : this.options.gfm && (k.block = On.gfm, this.options.breaks ? k.inline = on.breaks : k.inline = on.gfm), this.tokenizer.rules = k;
6714
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = x || y, this.options.tokenizer = this.options.tokenizer || new $t(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
6715
+ const k = { block: On.normal, inline: rn.normal };
6716
+ this.options.pedantic ? (k.block = On.pedantic, k.inline = rn.pedantic) : this.options.gfm && (k.block = On.gfm, this.options.breaks ? k.inline = rn.breaks : k.inline = rn.gfm), this.tokenizer.rules = k;
6726
6717
  }
6727
6718
  static get rules() {
6728
- return { block: On, inline: on };
6719
+ return { block: On, inline: rn };
6729
6720
  }
6730
6721
  static lex(x, k) {
6731
6722
  return new dt(k).lex(x);
@@ -6743,7 +6734,7 @@ ${xe}` : xe;
6743
6734
  return this.inlineQueue = [], this.tokens;
6744
6735
  }
6745
6736
  blockTokens(x, k = [], P = !1) {
6746
- let R, M, q;
6737
+ let R, M, $;
6747
6738
  for (this.options.pedantic && (x = x.replace(/\t/g, " ").replace(/^ +$/gm, "")); x; ) if (!(this.options.extensions && this.options.extensions.block && this.options.extensions.block.some((K) => !!(R = K.call({ lexer: this }, x, k)) && (x = x.substring(R.raw.length), k.push(R), !0)))) if (R = this.tokenizer.space(x)) x = x.substring(R.raw.length), R.raw.length === 1 && k.length > 0 ? k[k.length - 1].raw += `
6748
6739
  ` : k.push(R);
6749
6740
  else if (R = this.tokenizer.code(x)) x = x.substring(R.raw.length), M = k[k.length - 1], !M || M.type !== "paragraph" && M.type !== "text" ? k.push(R) : (M.raw += `
@@ -6761,17 +6752,17 @@ ${xe}` : xe;
6761
6752
  else if (R = this.tokenizer.table(x)) x = x.substring(R.raw.length), k.push(R);
6762
6753
  else if (R = this.tokenizer.lheading(x)) x = x.substring(R.raw.length), k.push(R);
6763
6754
  else {
6764
- if (q = x, this.options.extensions && this.options.extensions.startBlock) {
6755
+ if ($ = x, this.options.extensions && this.options.extensions.startBlock) {
6765
6756
  let K = 1 / 0;
6766
6757
  const ne = x.slice(1);
6767
6758
  let re;
6768
6759
  this.options.extensions.startBlock.forEach((ue) => {
6769
6760
  re = ue.call({ lexer: this }, ne), typeof re == "number" && re >= 0 && (K = Math.min(K, re));
6770
- }), K < 1 / 0 && K >= 0 && (q = x.substring(0, K + 1));
6761
+ }), K < 1 / 0 && K >= 0 && ($ = x.substring(0, K + 1));
6771
6762
  }
6772
- if (this.state.top && (R = this.tokenizer.paragraph(q))) M = k[k.length - 1], P && (M == null ? void 0 : M.type) === "paragraph" ? (M.raw += `
6763
+ if (this.state.top && (R = this.tokenizer.paragraph($))) M = k[k.length - 1], P && (M == null ? void 0 : M.type) === "paragraph" ? (M.raw += `
6773
6764
  ` + R.raw, M.text += `
6774
- ` + R.text, this.inlineQueue.pop(), this.inlineQueue[this.inlineQueue.length - 1].src = M.text) : k.push(R), P = q.length !== x.length, x = x.substring(R.raw.length);
6765
+ ` + R.text, this.inlineQueue.pop(), this.inlineQueue[this.inlineQueue.length - 1].src = M.text) : k.push(R), P = $.length !== x.length, x = x.substring(R.raw.length);
6775
6766
  else if (R = this.tokenizer.text(x)) x = x.substring(R.raw.length), M = k[k.length - 1], M && M.type === "text" ? (M.raw += `
6776
6767
  ` + R.raw, M.text += `
6777
6768
  ` + R.text, this.inlineQueue.pop(), this.inlineQueue[this.inlineQueue.length - 1].src = M.text) : k.push(R);
@@ -6790,13 +6781,13 @@ ${xe}` : xe;
6790
6781
  return this.inlineQueue.push({ src: x, tokens: k }), k;
6791
6782
  }
6792
6783
  inlineTokens(x, k = []) {
6793
- let P, R, M, q, K, ne, re = x;
6784
+ let P, R, M, $, K, ne, re = x;
6794
6785
  if (this.tokens.links) {
6795
6786
  const ue = Object.keys(this.tokens.links);
6796
- if (ue.length > 0) for (; (q = this.tokenizer.rules.inline.reflinkSearch.exec(re)) != null; ) ue.includes(q[0].slice(q[0].lastIndexOf("[") + 1, -1)) && (re = re.slice(0, q.index) + "[" + "a".repeat(q[0].length - 2) + "]" + re.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
6787
+ if (ue.length > 0) for (; ($ = this.tokenizer.rules.inline.reflinkSearch.exec(re)) != null; ) ue.includes($[0].slice($[0].lastIndexOf("[") + 1, -1)) && (re = re.slice(0, $.index) + "[" + "a".repeat($[0].length - 2) + "]" + re.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
6797
6788
  }
6798
- for (; (q = this.tokenizer.rules.inline.blockSkip.exec(re)) != null; ) re = re.slice(0, q.index) + "[" + "a".repeat(q[0].length - 2) + "]" + re.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
6799
- for (; (q = this.tokenizer.rules.inline.anyPunctuation.exec(re)) != null; ) re = re.slice(0, q.index) + "++" + re.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
6789
+ for (; ($ = this.tokenizer.rules.inline.blockSkip.exec(re)) != null; ) re = re.slice(0, $.index) + "[" + "a".repeat($[0].length - 2) + "]" + re.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
6790
+ for (; ($ = this.tokenizer.rules.inline.anyPunctuation.exec(re)) != null; ) re = re.slice(0, $.index) + "++" + re.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
6800
6791
  for (; x; ) if (K || (ne = ""), K = !1, !(this.options.extensions && this.options.extensions.inline && this.options.extensions.inline.some((ue) => !!(P = ue.call({ lexer: this }, x, k)) && (x = x.substring(P.raw.length), k.push(P), !0)))) if (P = this.tokenizer.escape(x)) x = x.substring(P.raw.length), k.push(P);
6801
6792
  else if (P = this.tokenizer.tag(x)) x = x.substring(P.raw.length), R = k[k.length - 1], R && P.type === "text" && R.type === "text" ? (R.raw += P.raw, R.text += P.text) : k.push(P);
6802
6793
  else if (P = this.tokenizer.link(x)) x = x.substring(P.raw.length), k.push(P);
@@ -6811,8 +6802,8 @@ ${xe}` : xe;
6811
6802
  let ue = 1 / 0;
6812
6803
  const xe = x.slice(1);
6813
6804
  let ke;
6814
- this.options.extensions.startInline.forEach((De) => {
6815
- ke = De.call({ lexer: this }, xe), typeof ke == "number" && ke >= 0 && (ue = Math.min(ue, ke));
6805
+ this.options.extensions.startInline.forEach((Be) => {
6806
+ ke = Be.call({ lexer: this }, xe), typeof ke == "number" && ke >= 0 && (ue = Math.min(ue, ke));
6816
6807
  }), ue < 1 / 0 && ue >= 0 && (M = x.substring(0, ue + 1));
6817
6808
  }
6818
6809
  if (P = this.tokenizer.inlineText(M)) x = x.substring(P.raw.length), P.raw.slice(-1) !== "_" && (ne = P.raw.slice(-1)), K = !0, R = k[k.length - 1], R && R.type === "text" ? (R.raw += P.raw, R.text += P.text) : k.push(P);
@@ -6838,8 +6829,8 @@ ${xe}` : xe;
6838
6829
  return "";
6839
6830
  }
6840
6831
  code({ text: x, lang: k, escaped: P }) {
6841
- var q;
6842
- const R = (q = (k || "").match(/^\S*/)) == null ? void 0 : q[0], M = x.replace(/\n$/, "") + `
6832
+ var $;
6833
+ const R = ($ = (k || "").match(/^\S*/)) == null ? void 0 : $[0], M = x.replace(/\n$/, "") + `
6843
6834
  `;
6844
6835
  return R ? '<pre><code class="language-' + Pe(R) + '">' + (P ? M : Pe(M, !0)) + `</code></pre>
6845
6836
  ` : "<pre><code>" + (P ? M : Pe(M, !0)) + `</code></pre>
@@ -6864,8 +6855,8 @@ ${this.parser.parse(x)}</blockquote>
6864
6855
  list(x) {
6865
6856
  const k = x.ordered, P = x.start;
6866
6857
  let R = "";
6867
- for (let q = 0; q < x.items.length; q++) {
6868
- const K = x.items[q];
6858
+ for (let $ = 0; $ < x.items.length; $++) {
6859
+ const K = x.items[$];
6869
6860
  R += this.listitem(K);
6870
6861
  }
6871
6862
  const M = k ? "ol" : "ul";
@@ -6895,9 +6886,9 @@ ${this.parser.parse(x)}</blockquote>
6895
6886
  k += this.tablerow({ text: P });
6896
6887
  let R = "";
6897
6888
  for (let M = 0; M < x.rows.length; M++) {
6898
- const q = x.rows[M];
6889
+ const $ = x.rows[M];
6899
6890
  P = "";
6900
- for (let K = 0; K < q.length; K++) P += this.tablecell(q[K]);
6891
+ for (let K = 0; K < $.length; K++) P += this.tablecell($[K]);
6901
6892
  R += this.tablerow({ text: P });
6902
6893
  }
6903
6894
  return R && (R = `<tbody>${R}</tbody>`), `<table>
@@ -6932,13 +6923,13 @@ ${x}</tr>
6932
6923
  return `<del>${this.parser.parseInline(x)}</del>`;
6933
6924
  }
6934
6925
  link({ href: x, title: k, tokens: P }) {
6935
- const R = this.parser.parseInline(P), M = qt(x);
6926
+ const R = this.parser.parseInline(P), M = Yt(x);
6936
6927
  if (M === null) return R;
6937
- let q = '<a href="' + (x = M) + '"';
6938
- return k && (q += ' title="' + k + '"'), q += ">" + R + "</a>", q;
6928
+ let $ = '<a href="' + (x = M) + '"';
6929
+ return k && ($ += ' title="' + k + '"'), $ += ">" + R + "</a>", $;
6939
6930
  }
6940
6931
  image({ href: x, title: k, text: P }) {
6941
- const R = qt(x);
6932
+ const R = Yt(x);
6942
6933
  if (R === null) return P;
6943
6934
  let M = `<img src="${x = R}" alt="${P}"`;
6944
6935
  return k && (M += ` title="${k}"`), M += ">", M;
@@ -7000,44 +6991,44 @@ ${x}</tr>
7000
6991
  continue;
7001
6992
  }
7002
6993
  }
7003
- const q = M;
7004
- switch (q.type) {
6994
+ const $ = M;
6995
+ switch ($.type) {
7005
6996
  case "space":
7006
- P += this.renderer.space(q);
6997
+ P += this.renderer.space($);
7007
6998
  continue;
7008
6999
  case "hr":
7009
- P += this.renderer.hr(q);
7000
+ P += this.renderer.hr($);
7010
7001
  continue;
7011
7002
  case "heading":
7012
- P += this.renderer.heading(q);
7003
+ P += this.renderer.heading($);
7013
7004
  continue;
7014
7005
  case "code":
7015
- P += this.renderer.code(q);
7006
+ P += this.renderer.code($);
7016
7007
  continue;
7017
7008
  case "table":
7018
- P += this.renderer.table(q);
7009
+ P += this.renderer.table($);
7019
7010
  continue;
7020
7011
  case "blockquote":
7021
- P += this.renderer.blockquote(q);
7012
+ P += this.renderer.blockquote($);
7022
7013
  continue;
7023
7014
  case "list":
7024
- P += this.renderer.list(q);
7015
+ P += this.renderer.list($);
7025
7016
  continue;
7026
7017
  case "html":
7027
- P += this.renderer.html(q);
7018
+ P += this.renderer.html($);
7028
7019
  continue;
7029
7020
  case "paragraph":
7030
- P += this.renderer.paragraph(q);
7021
+ P += this.renderer.paragraph($);
7031
7022
  continue;
7032
7023
  case "text": {
7033
- let K = q, ne = this.renderer.text(K);
7024
+ let K = $, ne = this.renderer.text(K);
7034
7025
  for (; R + 1 < x.length && x[R + 1].type === "text"; ) K = x[++R], ne += `
7035
7026
  ` + this.renderer.text(K);
7036
7027
  P += k ? this.renderer.paragraph({ type: "paragraph", raw: ne, text: ne, tokens: [{ type: "text", raw: ne, text: ne }] }) : ne;
7037
7028
  continue;
7038
7029
  }
7039
7030
  default: {
7040
- const K = 'Token with "' + q.type + '" type was not found.';
7031
+ const K = 'Token with "' + $.type + '" type was not found.';
7041
7032
  if (this.options.silent) return console.error(K), "";
7042
7033
  throw new Error(K);
7043
7034
  }
@@ -7057,38 +7048,38 @@ ${x}</tr>
7057
7048
  continue;
7058
7049
  }
7059
7050
  }
7060
- const q = M;
7061
- switch (q.type) {
7051
+ const $ = M;
7052
+ switch ($.type) {
7062
7053
  case "escape":
7063
7054
  case "text":
7064
- P += k.text(q);
7055
+ P += k.text($);
7065
7056
  break;
7066
7057
  case "html":
7067
- P += k.html(q);
7058
+ P += k.html($);
7068
7059
  break;
7069
7060
  case "link":
7070
- P += k.link(q);
7061
+ P += k.link($);
7071
7062
  break;
7072
7063
  case "image":
7073
- P += k.image(q);
7064
+ P += k.image($);
7074
7065
  break;
7075
7066
  case "strong":
7076
- P += k.strong(q);
7067
+ P += k.strong($);
7077
7068
  break;
7078
7069
  case "em":
7079
- P += k.em(q);
7070
+ P += k.em($);
7080
7071
  break;
7081
7072
  case "codespan":
7082
- P += k.codespan(q);
7073
+ P += k.codespan($);
7083
7074
  break;
7084
7075
  case "br":
7085
- P += k.br(q);
7076
+ P += k.br($);
7086
7077
  break;
7087
7078
  case "del":
7088
- P += k.del(q);
7079
+ P += k.del($);
7089
7080
  break;
7090
7081
  default: {
7091
- const K = 'Token with "' + q.type + '" type was not found.';
7082
+ const K = 'Token with "' + $.type + '" type was not found.';
7092
7083
  if (this.options.silent) return console.error(K), "";
7093
7084
  throw new Error(K);
7094
7085
  }
@@ -7097,7 +7088,7 @@ ${x}</tr>
7097
7088
  return P;
7098
7089
  }
7099
7090
  }
7100
- class sn {
7091
+ class on {
7101
7092
  constructor(x) {
7102
7093
  Ve(this, "options");
7103
7094
  Ve(this, "block");
@@ -7119,8 +7110,8 @@ ${x}</tr>
7119
7110
  return this.block ? pt.parse : pt.parseInline;
7120
7111
  }
7121
7112
  }
7122
- Ve(sn, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"]));
7123
- const Mt = new class {
7113
+ Ve(on, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"]));
7114
+ const jt = new class {
7124
7115
  constructor(...pe) {
7125
7116
  Ve(this, "defaults", { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null });
7126
7117
  Ve(this, "options", this.setOptions);
@@ -7130,8 +7121,8 @@ ${x}</tr>
7130
7121
  Ve(this, "Renderer", Rn);
7131
7122
  Ve(this, "TextRenderer", tr);
7132
7123
  Ve(this, "Lexer", dt);
7133
- Ve(this, "Tokenizer", Lt);
7134
- Ve(this, "Hooks", sn);
7124
+ Ve(this, "Tokenizer", $t);
7125
+ Ve(this, "Hooks", on);
7135
7126
  this.use(...pe);
7136
7127
  }
7137
7128
  walkTokens(pe, x) {
@@ -7139,22 +7130,22 @@ ${x}</tr>
7139
7130
  let k = [];
7140
7131
  for (const M of pe) switch (k = k.concat(x.call(this, M)), M.type) {
7141
7132
  case "table": {
7142
- const q = M;
7143
- for (const K of q.header) k = k.concat(this.walkTokens(K.tokens, x));
7144
- for (const K of q.rows) for (const ne of K) k = k.concat(this.walkTokens(ne.tokens, x));
7133
+ const $ = M;
7134
+ for (const K of $.header) k = k.concat(this.walkTokens(K.tokens, x));
7135
+ for (const K of $.rows) for (const ne of K) k = k.concat(this.walkTokens(ne.tokens, x));
7145
7136
  break;
7146
7137
  }
7147
7138
  case "list": {
7148
- const q = M;
7149
- k = k.concat(this.walkTokens(q.items, x));
7139
+ const $ = M;
7140
+ k = k.concat(this.walkTokens($.items, x));
7150
7141
  break;
7151
7142
  }
7152
7143
  default: {
7153
- const q = M;
7154
- (R = (P = this.defaults.extensions) == null ? void 0 : P.childTokens) != null && R[q.type] ? this.defaults.extensions.childTokens[q.type].forEach((K) => {
7155
- const ne = q[K].flat(1 / 0);
7144
+ const $ = M;
7145
+ (R = (P = this.defaults.extensions) == null ? void 0 : P.childTokens) != null && R[$.type] ? this.defaults.extensions.childTokens[$.type].forEach((K) => {
7146
+ const ne = $[K].flat(1 / 0);
7156
7147
  k = k.concat(this.walkTokens(ne, x));
7157
- }) : q.tokens && (k = k.concat(this.walkTokens(q.tokens, x)));
7148
+ }) : $.tokens && (k = k.concat(this.walkTokens($.tokens, x)));
7158
7149
  }
7159
7150
  }
7160
7151
  return k;
@@ -7167,9 +7158,9 @@ ${x}</tr>
7167
7158
  if (!R.name) throw new Error("extension name required");
7168
7159
  if ("renderer" in R) {
7169
7160
  const M = x.renderers[R.name];
7170
- x.renderers[R.name] = M ? function(...q) {
7171
- let K = R.renderer.apply(this, q);
7172
- return K === !1 && (K = M.apply(this, q)), K;
7161
+ x.renderers[R.name] = M ? function(...$) {
7162
+ let K = R.renderer.apply(this, $);
7163
+ return K === !1 && (K = M.apply(this, $)), K;
7173
7164
  } : R.renderer;
7174
7165
  }
7175
7166
  if ("tokenizer" in R) {
@@ -7183,8 +7174,8 @@ ${x}</tr>
7183
7174
  for (const M in k.renderer) {
7184
7175
  if (!(M in R)) throw new Error(`renderer '${M}' does not exist`);
7185
7176
  if (["options", "parser"].includes(M)) continue;
7186
- const q = M, K = k.renderer[q], ne = R[q];
7187
- R[q] = (...re) => {
7177
+ const $ = M, K = k.renderer[$], ne = R[$];
7178
+ R[$] = (...re) => {
7188
7179
  let ue = K.apply(R, re);
7189
7180
  return ue === !1 && (ue = ne.apply(R, re)), ue || "";
7190
7181
  };
@@ -7192,12 +7183,12 @@ ${x}</tr>
7192
7183
  P.renderer = R;
7193
7184
  }
7194
7185
  if (k.tokenizer) {
7195
- const R = this.defaults.tokenizer || new Lt(this.defaults);
7186
+ const R = this.defaults.tokenizer || new $t(this.defaults);
7196
7187
  for (const M in k.tokenizer) {
7197
7188
  if (!(M in R)) throw new Error(`tokenizer '${M}' does not exist`);
7198
7189
  if (["options", "rules", "lexer"].includes(M)) continue;
7199
- const q = M, K = k.tokenizer[q], ne = R[q];
7200
- R[q] = (...re) => {
7190
+ const $ = M, K = k.tokenizer[$], ne = R[$];
7191
+ R[$] = (...re) => {
7201
7192
  let ue = K.apply(R, re);
7202
7193
  return ue === !1 && (ue = ne.apply(R, re)), ue;
7203
7194
  };
@@ -7205,16 +7196,16 @@ ${x}</tr>
7205
7196
  P.tokenizer = R;
7206
7197
  }
7207
7198
  if (k.hooks) {
7208
- const R = this.defaults.hooks || new sn();
7199
+ const R = this.defaults.hooks || new on();
7209
7200
  for (const M in k.hooks) {
7210
7201
  if (!(M in R)) throw new Error(`hook '${M}' does not exist`);
7211
7202
  if (["options", "block"].includes(M)) continue;
7212
- const q = M, K = k.hooks[q], ne = R[q];
7213
- sn.passThroughHooks.has(M) ? R[q] = (re) => {
7203
+ const $ = M, K = k.hooks[$], ne = R[$];
7204
+ on.passThroughHooks.has(M) ? R[$] = (re) => {
7214
7205
  if (this.defaults.async) return Promise.resolve(K.call(R, re)).then((xe) => ne.call(R, xe));
7215
7206
  const ue = K.call(R, re);
7216
7207
  return ne.call(R, ue);
7217
- } : R[q] = (...re) => {
7208
+ } : R[$] = (...re) => {
7218
7209
  let ue = K.apply(R, re);
7219
7210
  return ue === !1 && (ue = ne.apply(R, re)), ue;
7220
7211
  };
@@ -7223,9 +7214,9 @@ ${x}</tr>
7223
7214
  }
7224
7215
  if (k.walkTokens) {
7225
7216
  const R = this.defaults.walkTokens, M = k.walkTokens;
7226
- P.walkTokens = function(q) {
7217
+ P.walkTokens = function($) {
7227
7218
  let K = [];
7228
- return K.push(M.call(this, q)), R && (K = K.concat(R.call(this, q))), K;
7219
+ return K.push(M.call(this, $)), R && (K = K.concat(R.call(this, $))), K;
7229
7220
  };
7230
7221
  }
7231
7222
  this.defaults = { ...this.defaults, ...P };
@@ -7247,11 +7238,11 @@ ${x}</tr>
7247
7238
  if (x == null) return M(new Error("marked(): input parameter is undefined or null"));
7248
7239
  if (typeof x != "string") return M(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(x) + ", string expected"));
7249
7240
  R.hooks && (R.hooks.options = R, R.hooks.block = pe);
7250
- const q = R.hooks ? R.hooks.provideLexer() : pe ? dt.lex : dt.lexInline, K = R.hooks ? R.hooks.provideParser() : pe ? pt.parse : pt.parseInline;
7251
- if (R.async) return Promise.resolve(R.hooks ? R.hooks.preprocess(x) : x).then((ne) => q(ne, R)).then((ne) => R.hooks ? R.hooks.processAllTokens(ne) : ne).then((ne) => R.walkTokens ? Promise.all(this.walkTokens(ne, R.walkTokens)).then(() => ne) : ne).then((ne) => K(ne, R)).then((ne) => R.hooks ? R.hooks.postprocess(ne) : ne).catch(M);
7241
+ const $ = R.hooks ? R.hooks.provideLexer() : pe ? dt.lex : dt.lexInline, K = R.hooks ? R.hooks.provideParser() : pe ? pt.parse : pt.parseInline;
7242
+ if (R.async) return Promise.resolve(R.hooks ? R.hooks.preprocess(x) : x).then((ne) => $(ne, R)).then((ne) => R.hooks ? R.hooks.processAllTokens(ne) : ne).then((ne) => R.walkTokens ? Promise.all(this.walkTokens(ne, R.walkTokens)).then(() => ne) : ne).then((ne) => K(ne, R)).then((ne) => R.hooks ? R.hooks.postprocess(ne) : ne).catch(M);
7252
7243
  try {
7253
7244
  R.hooks && (x = R.hooks.preprocess(x));
7254
- let ne = q(x, R);
7245
+ let ne = $(x, R);
7255
7246
  R.hooks && (ne = R.hooks.processAllTokens(ne)), R.walkTokens && this.walkTokens(ne, R.walkTokens);
7256
7247
  let re = K(ne, R);
7257
7248
  return R.hooks && (re = R.hooks.postprocess(re)), re;
@@ -7273,16 +7264,16 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7273
7264
  }
7274
7265
  }();
7275
7266
  function qe(pe, x) {
7276
- return Mt.parse(pe, x);
7267
+ return jt.parse(pe, x);
7277
7268
  }
7278
7269
  qe.options = qe.setOptions = function(pe) {
7279
- return Mt.setOptions(pe), qe.defaults = Mt.defaults, w(qe.defaults), qe;
7270
+ return jt.setOptions(pe), qe.defaults = jt.defaults, w(qe.defaults), qe;
7280
7271
  }, qe.getDefaults = O, qe.defaults = y, qe.use = function(...pe) {
7281
- return Mt.use(...pe), qe.defaults = Mt.defaults, w(qe.defaults), qe;
7272
+ return jt.use(...pe), qe.defaults = jt.defaults, w(qe.defaults), qe;
7282
7273
  }, qe.walkTokens = function(pe, x) {
7283
- return Mt.walkTokens(pe, x);
7284
- }, qe.parseInline = Mt.parseInline, qe.Parser = pt, qe.parser = pt.parse, qe.Renderer = Rn, qe.TextRenderer = tr, qe.Lexer = dt, qe.lexer = dt.lex, qe.Tokenizer = Lt, qe.Hooks = sn, qe.parse = qe, qe.options, qe.setOptions, qe.use, qe.walkTokens, qe.parseInline, pt.parse, dt.lex;
7285
- var po = n(5230), mo = n.n(po), Bt = n(1543);
7274
+ return jt.walkTokens(pe, x);
7275
+ }, qe.parseInline = jt.parseInline, qe.Parser = pt, qe.parser = pt.parse, qe.Renderer = Rn, qe.TextRenderer = tr, qe.Lexer = dt, qe.lexer = dt.lex, qe.Tokenizer = $t, qe.Hooks = on, qe.parse = qe, qe.options, qe.setOptions, qe.use, qe.walkTokens, qe.parseInline, pt.parse, dt.lex;
7276
+ var po = n(5230), mo = n.n(po), Nt = n(1543);
7286
7277
  class go {
7287
7278
  constructor(x, k, P) {
7288
7279
  this.client = x, this.conf = P, this.reduxStore = k, this.answerMaxHeight = P.answerMaxHeight || 150, this.isSearchResultLoading = !1, this.observeResultLoadingState(), (0, N.g3)("markdown", function(M) {
@@ -7291,7 +7282,7 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7291
7282
  const R = localStorage.getItem("addSearch-isAiAnswersHidden");
7292
7283
  if (R !== null) {
7293
7284
  const M = JSON.parse(R);
7294
- this.reduxStore.dispatch({ type: Bt.jK, payload: M });
7285
+ this.reduxStore.dispatch({ type: Nt.jK, payload: M });
7295
7286
  }
7296
7287
  }
7297
7288
  observeResultLoadingState() {
@@ -7304,36 +7295,36 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7304
7295
  const x = document.querySelector(".addsearch-ai-answers-result"), k = document.querySelector(".toggle-switch input");
7305
7296
  x && k && k.addEventListener("change", () => {
7306
7297
  const P = this.reduxStore.getState().search.isAiAnswersHidden;
7307
- this.reduxStore.dispatch({ type: Bt.jK, payload: !P }), localStorage.setItem("addSearch-isAiAnswersHidden", JSON.stringify(!P));
7298
+ this.reduxStore.dispatch({ type: Nt.jK, payload: !P }), localStorage.setItem("addSearch-isAiAnswersHidden", JSON.stringify(!P));
7308
7299
  });
7309
7300
  }
7310
7301
  setupShowMoreButton() {
7311
7302
  const x = document.querySelector(".answer-container"), k = x && x.querySelector(".fade-out-overlay"), P = document.querySelector(".show-more-btn"), R = P && P.querySelector(".button-text"), M = P && P.querySelector(".chevron");
7312
7303
  x && k && P && R && M && (this.reduxStore.getState().search.isAiAnswersAnswerExpanded ? (x.style.maxHeight = "".concat(x.scrollHeight, "px"), P.style.display = "flex", R.textContent = "Show less", k.style.display = "none", M.style.transform = "rotate(180deg)") : (x.style.maxHeight = "".concat(this.answerMaxHeight, "px"), x.scrollHeight > this.answerMaxHeight ? (P.style.display = "flex", k.style.display = "block") : (P.style.display = "none", k.style.display = "none")), P.addEventListener("click", () => {
7313
- this.reduxStore.getState().search.isAiAnswersAnswerExpanded ? (this.reduxStore.dispatch({ type: Bt.Rn, payload: !1 }), x.style.maxHeight = "".concat(this.answerMaxHeight, "px"), R.textContent = "Show more", k.style.display = "block", M.style.transform = "") : (this.reduxStore.dispatch({ type: Bt.Rn, payload: !0 }), x.style.maxHeight = "".concat(x.scrollHeight, "px"), R.textContent = "Show less", k.style.display = "none", M.style.transform = "rotate(180deg)");
7304
+ this.reduxStore.getState().search.isAiAnswersAnswerExpanded ? (this.reduxStore.dispatch({ type: Nt.Rn, payload: !1 }), x.style.maxHeight = "".concat(this.answerMaxHeight, "px"), R.textContent = "Show more", k.style.display = "block", M.style.transform = "") : (this.reduxStore.dispatch({ type: Nt.Rn, payload: !0 }), x.style.maxHeight = "".concat(x.scrollHeight, "px"), R.textContent = "Show less", k.style.display = "none", M.style.transform = "rotate(180deg)");
7314
7305
  }));
7315
7306
  }
7316
7307
  setupActionButtons() {
7317
7308
  const x = document.querySelector(".addsearch-ai-answers-result"), k = x && x.querySelector(".copy-btn"), P = x.querySelector(".copy-confirm-message"), R = x.querySelector(".thumbs-up-btn"), M = x.querySelector(".thumbs-down-btn");
7318
7309
  x && k && P && R && M && (k.addEventListener("click", () => {
7319
- const q = document.querySelector(".answer-text").textContent;
7320
- navigator.clipboard.writeText(q).then(() => {
7310
+ const $ = document.querySelector(".answer-text").textContent;
7311
+ navigator.clipboard.writeText($).then(() => {
7321
7312
  P.textContent = "Answer copied!";
7322
7313
  }).catch((K) => {
7323
7314
  console.error("Failed to copy answer text with following error: ", K);
7324
7315
  });
7325
7316
  }), R.addEventListener("click", () => {
7326
- const q = this.reduxStore.getState().search;
7327
- this.reduxStore.dispatch((0, Bt.bz)(this.client, q.aiAnswersResult.id, q.aiAnswersSentiment === "positive" ? "neutral" : "positive"));
7317
+ const $ = this.reduxStore.getState().search;
7318
+ this.reduxStore.dispatch((0, Nt.bz)(this.client, $.aiAnswersResult.id, $.aiAnswersSentiment === "positive" ? "neutral" : "positive"));
7328
7319
  }), M.addEventListener("click", () => {
7329
- const q = this.reduxStore.getState().search;
7330
- this.reduxStore.dispatch((0, Bt.bz)(this.client, q.aiAnswersResult.id, q.aiAnswersSentiment === "negative" ? "neutral" : "negative"));
7320
+ const $ = this.reduxStore.getState().search;
7321
+ this.reduxStore.dispatch((0, Nt.bz)(this.client, $.aiAnswersResult.id, $.aiAnswersSentiment === "negative" ? "neutral" : "negative"));
7331
7322
  }));
7332
7323
  }
7333
7324
  render() {
7334
- const x = this.reduxStore.getState().search, k = x.aiAnswersResult, P = x.loadingAiAnswersResult, R = x.keyword, M = x.aiAnswersResultError, q = { mainHeadlineText: this.conf.mainHeadlineText || "Answer", subHeadlineText: R, answerText: k.answerText, sourcesHeadlineText: this.conf.sourcesHeadlineText || "Sources:", sources: k.sources, aiExplanationText: this.conf.aiExplanationText || "Generated by AI, may contain errors.", isResultLoading: this.isSearchResultLoading, hadError: M, sentimentState: x.aiAnswersSentiment, showHideToggle: this.conf.hasHideToggle === void 0 || this.conf.hasHideToggle, isHidden: x.isAiAnswersHidden };
7325
+ const x = this.reduxStore.getState().search, k = x.aiAnswersResult, P = x.loadingAiAnswersResult, R = x.keyword, M = x.aiAnswersResultError, $ = { mainHeadlineText: this.conf.mainHeadlineText || "Answer", subHeadlineText: R, answerText: k.answerText, sourcesHeadlineText: this.conf.sourcesHeadlineText || "Sources:", sources: k.sources, aiExplanationText: this.conf.aiExplanationText || "Generated by AI, may contain errors.", isResultLoading: this.isSearchResultLoading, hadError: M, sentimentState: x.aiAnswersSentiment, showHideToggle: this.conf.hasHideToggle === void 0 || this.conf.hasHideToggle, isHidden: x.isAiAnswersHidden };
7335
7326
  let K;
7336
- (k.answerText || R && P) && (K = this.conf.precompiledTemplate ? this.conf.precompiledTemplate(q) : this.conf.template ? p().compile(this.conf.template)(q) : mo()(q)), !(!K || this.renderedHtml === K) && (document.getElementById(this.conf.containerId).innerHTML = K, this.renderedHtml = K, this.setupHideAIAnswersToggle(), this.setupShowMoreButton(), this.setupActionButtons(), this.conf.renderCompleteCallback && typeof this.conf.renderCompleteCallback == "function" && this.conf.renderCompleteCallback());
7327
+ (k.answerText || R && P) && (K = this.conf.precompiledTemplate ? this.conf.precompiledTemplate($) : this.conf.template ? p().compile(this.conf.template)($) : mo()($)), !(!K || this.renderedHtml === K) && (document.getElementById(this.conf.containerId).innerHTML = K, this.renderedHtml = K, this.setupHideAIAnswersToggle(), this.setupShowMoreButton(), this.setupActionButtons(), this.conf.renderCompleteCallback && typeof this.conf.renderCompleteCallback == "function" && this.conf.renderCompleteCallback());
7337
7328
  }
7338
7329
  }
7339
7330
  class yo {
@@ -7355,12 +7346,12 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7355
7346
  o().polyfill(), (0, N.ud)();
7356
7347
  class Eo {
7357
7348
  constructor(x, k) {
7358
- this.client = x, this.segmentedSearchClients = {}, this.recommendationsSettings = [], this.settings = k || {}, Me.sh.SEARCH = this.settings.searchParameter || Me.sh.SEARCH, Me.sh.FACETS = this.settings.facetsParameter || Me.sh.FACETS, this.shouldInitializeFromBrowserHistory = !1, this.reduxStore = (0, a.N)(this.settings);
7349
+ this.client = x, this.segmentedSearchClients = {}, this.recommendationsSettings = [], this.settings = k || {}, Ne.sh.SEARCH = this.settings.searchParameter || Ne.sh.SEARCH, Ne.sh.FACETS = this.settings.facetsParameter || Ne.sh.FACETS, this.shouldInitializeFromBrowserHistory = !1, this.reduxStore = (0, a.N)(this.settings);
7359
7350
  }
7360
7351
  start() {
7361
7352
  this.initFromClientSettings(), this.client.setCollectAnalytics(!1), (0, Se.b8)(this.settings.analyticsCallback), (0, Se.d_)(this.settings.collectAnalytics), this.reduxStore.dispatch((0, ce.lq)(this.settings.searchResultsPageUrl));
7362
7353
  const x = this.settings && this.settings.createFilterObjectFunction ? this.settings.createFilterObjectFunction : T.a;
7363
- this.shouldInitializeFromBrowserHistory && (0, Me.I5)(this.client, this.reduxStore, x, (P, R) => {
7354
+ this.shouldInitializeFromBrowserHistory && (0, Ne.I5)(this.client, this.reduxStore, x, (P, R) => {
7364
7355
  this.executeSearch(P, R, !1, null, this.settings.fieldForInstantRedirect), P && this.settings.hasAiAnswers && this.executeAiAnswers(P, !1);
7365
7356
  }, this.settings.matchAllQuery, this.settings.baseFilters), new T.A(this.client, this.reduxStore, x, this.settings.onFilterChange, this.settings.baseFilters, this.segmentedSearchClients, this.settings.onFilteredSearchRefresh), this.settings.matchAllQuery === !0 && this.matchAllQuery();
7366
7357
  for (var k = 0; k < this.recommendationsSettings.length; k++) this.recommendationsSettings[k].ignoreFetchOnStart || this.fetchRecommendation(this.recommendationsSettings[k].containerId);
@@ -7368,10 +7359,10 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7368
7359
  }
7369
7360
  executeSearch(x, k, P, R, M) {
7370
7361
  this.reduxStore.dispatch((0, ce.EF)(this.client, x, k, !1, P, this.reduxStore, R, "executeSearch", M));
7371
- for (let q in this.segmentedSearchClients) this.reduxStore.dispatch((0, xo.l$)(this.segmentedSearchClients[q].client, q, x));
7362
+ for (let $ in this.segmentedSearchClients) this.reduxStore.dispatch((0, xo.l$)(this.segmentedSearchClients[$].client, $, x));
7372
7363
  }
7373
7364
  executeAiAnswers(x) {
7374
- this.reduxStore.dispatch((0, Bt.On)(this.client, x));
7365
+ this.reduxStore.dispatch((0, Nt.On)(this.client, x));
7375
7366
  }
7376
7367
  fetchRecommendation(x) {
7377
7368
  const k = this.recommendationsSettings.filter((P) => P.containerId === x)[0];
@@ -7389,8 +7380,8 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7389
7380
  this.settings.debug && console.log(x);
7390
7381
  }
7391
7382
  searchField(x) {
7392
- x.fieldForInstantRedirect && console.log('WARNING: searchField setting "fieldForInstantRedirect" is deprecated. Use it in Search UI configuration object instead.'), new we(this.client, this.reduxStore, x, this.settings.matchAllQuery === !0, (k, P, R, M, q) => {
7393
- this.executeSearch(k, P, R, M, q), !k.startsWith(An) && this.settings.hasAiAnswers && !R && this.executeAiAnswers(k, R);
7383
+ x.fieldForInstantRedirect && console.log('WARNING: searchField setting "fieldForInstantRedirect" is deprecated. Use it in Search UI configuration object instead.'), new we(this.client, this.reduxStore, x, this.settings.matchAllQuery === !0, (k, P, R, M, $) => {
7384
+ this.executeSearch(k, P, R, M, $), !k.startsWith(An) && this.settings.hasAiAnswers && !R && this.executeAiAnswers(k, R);
7394
7385
  });
7395
7386
  }
7396
7387
  autocomplete(x) {
@@ -7400,7 +7391,7 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7400
7391
  this.shouldInitializeFromBrowserHistory = !0, new go(this.client, this.reduxStore, x);
7401
7392
  }
7402
7393
  searchResults(x) {
7403
- this.shouldInitializeFromBrowserHistory = !0, new fe(this.client, this.reduxStore, x);
7394
+ this.shouldInitializeFromBrowserHistory = !0, new he(this.client, this.reduxStore, x);
7404
7395
  }
7405
7396
  segmentedSearchResults(x) {
7406
7397
  x.client ? (this.shouldInitializeFromBrowserHistory = !0, this.segmentedSearchClients[x.containerId] = {}, this.segmentedSearchClients[x.containerId].client = x.client, this.segmentedSearchClients[x.containerId].originalFilters = Object.assign({}, x.client.getSettings().filterObject), new yo(x.client, this.reduxStore, x)) : console.log("WARNING: segmentedResults component must have a client instance");
@@ -7478,7 +7469,7 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7478
7469
  return "Minified Redux error #" + V + "; visit https://redux.js.org/Errors?code=" + V + " for the full message or use the non-minified dev environment for full errors. ";
7479
7470
  }
7480
7471
  n.d(c, { N: function() {
7481
- return Me;
7472
+ return Ne;
7482
7473
  }, G: function() {
7483
7474
  return We;
7484
7475
  } });
@@ -7504,18 +7495,18 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7504
7495
  function be() {
7505
7496
  me === Ae && (me = Ae.slice());
7506
7497
  }
7507
- function Be() {
7498
+ function Me() {
7508
7499
  if (ve) throw new Error(p(3));
7509
7500
  return Se;
7510
7501
  }
7511
7502
  function X(ie) {
7512
7503
  if (typeof ie != "function") throw new Error(p(4));
7513
7504
  if (ve) throw new Error(p(5));
7514
- var fe = !0;
7505
+ var he = !0;
7515
7506
  return be(), me.push(ie), function() {
7516
- if (fe) {
7507
+ if (he) {
7517
7508
  if (ve) throw new Error(p(6));
7518
- fe = !1, be();
7509
+ he = !1, be();
7519
7510
  var O = me.indexOf(ie);
7520
7511
  me.splice(O, 1), Ae = null;
7521
7512
  }
@@ -7530,21 +7521,21 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7530
7521
  } finally {
7531
7522
  ve = !1;
7532
7523
  }
7533
- for (var fe = Ae = me, O = 0; O < fe.length; O++)
7534
- (0, fe[O])();
7524
+ for (var he = Ae = me, O = 0; O < he.length; O++)
7525
+ (0, he[O])();
7535
7526
  return ie;
7536
7527
  }
7537
- return le({ type: a.INIT }), (de = { dispatch: le, subscribe: X, getState: Be, replaceReducer: function(ie) {
7528
+ return le({ type: a.INIT }), (de = { dispatch: le, subscribe: X, getState: Me, replaceReducer: function(ie) {
7538
7529
  if (typeof ie != "function") throw new Error(p(10));
7539
7530
  we = ie, le({ type: a.REPLACE });
7540
7531
  } })[C] = function() {
7541
- var ie, fe = X;
7532
+ var ie, he = X;
7542
7533
  return (ie = { subscribe: function(O) {
7543
7534
  if (typeof O != "object" || O === null) throw new Error(p(11));
7544
7535
  function y() {
7545
- O.next && O.next(Be());
7536
+ O.next && O.next(Me());
7546
7537
  }
7547
- return y(), { unsubscribe: fe(y) };
7538
+ return y(), { unsubscribe: he(y) };
7548
7539
  } })[C] = function() {
7549
7540
  return this;
7550
7541
  }, ie;
@@ -7577,8 +7568,8 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7577
7568
  for (let me in V[se.container]) for (let ve in V[se.container][me]) ve.indexOf(se.value + " >") === 0 && delete V[se.container][me][ve];
7578
7569
  H = H.filter((me) => me.indexOf(se.value + " > ") !== 0);
7579
7570
  const Ae = se.value.split(" > ").reduce((me, ve) => {
7580
- const be = me[me.length - 1], Be = be ? be + " > " + ve : ve;
7581
- return Be !== se.value && me.push(Be), me;
7571
+ const be = me[me.length - 1], Me = be ? be + " > " + ve : ve;
7572
+ return Me !== se.value && me.push(Me), me;
7582
7573
  }, []);
7583
7574
  for (let me in V[se.container]) for (let ve in V[se.container][me]) Ae.indexOf(ve) !== -1 && delete V[se.container][me][ve];
7584
7575
  H = H.filter((me) => Ae.indexOf(me) === -1).concat(Ae);
@@ -7599,7 +7590,7 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7599
7590
  const Y = { field: ["relevance"], order: [ee.ER] }, W = {};
7600
7591
  var Z = n(6843);
7601
7592
  const ce = { fieldStats: {} };
7602
- var ge = n(878);
7593
+ var ye = n(878);
7603
7594
  const _e = { container: null, recommendType: null, results: null };
7604
7595
  var Oe = function(V) {
7605
7596
  for (var H = Object.keys(V), se = {}, de = 0; de < H.length; de++) {
@@ -7620,13 +7611,13 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7620
7611
  }
7621
7612
  return function(me, ve) {
7622
7613
  if (me === void 0 && (me = {}), Se) throw Se;
7623
- for (var be = !1, Be = {}, X = 0; X < Ae.length; X++) {
7624
- var le = Ae[X], ie = se[le], fe = me[le], O = ie(fe, ve);
7614
+ for (var be = !1, Me = {}, X = 0; X < Ae.length; X++) {
7615
+ var le = Ae[X], ie = se[le], he = me[le], O = ie(he, ve);
7625
7616
  if (O === void 0)
7626
7617
  throw ve && ve.type, new Error(p(14));
7627
- Be[le] = O, be = be || O !== fe;
7618
+ Me[le] = O, be = be || O !== he;
7628
7619
  }
7629
- return (be = be || Ae.length !== Object.keys(me).length) ? Be : me;
7620
+ return (be = be || Ae.length !== Object.keys(me).length) ? Me : me;
7630
7621
  };
7631
7622
  }({ autocomplete: function() {
7632
7623
  let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : l, H = arguments.length > 1 ? arguments[1] : void 0;
@@ -7680,11 +7671,11 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7680
7671
  case h.XI:
7681
7672
  let se = V.allAvailableFilters.slice();
7682
7673
  if (H.filterObj.type === _.FILTER_TYPE.RANGE) {
7683
- let Be = {};
7684
- Be[H.filterObj.field] = { label: H.filterObj.labelShort ? H.filterObj.labelShort : H.filterObj.label }, se.push(Be);
7674
+ let Me = {};
7675
+ Me[H.filterObj.field] = { label: H.filterObj.labelShort ? H.filterObj.labelShort : H.filterObj.label }, se.push(Me);
7685
7676
  } else if (H.filterObj.options) {
7686
- const Be = Object.assign({}, H.filterObj.options);
7687
- se.push(Be);
7677
+ const Me = Object.assign({}, H.filterObj.options);
7678
+ se.push(Me);
7688
7679
  }
7689
7680
  return Object.assign({}, V, { allAvailableFilters: se });
7690
7681
  case h.CY:
@@ -7797,10 +7788,10 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7797
7788
  }, recommendation: function() {
7798
7789
  let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _e, H = arguments.length > 1 ? arguments[1] : void 0;
7799
7790
  switch (H.type) {
7800
- case ge.iM:
7801
- case ge.OU:
7791
+ case ye.iM:
7792
+ case ye.OU:
7802
7793
  return Object.assign({}, V, { container: H.container, recommendType: H.recommendType, results: H.results });
7803
- case ge.KE:
7794
+ case ye.KE:
7804
7795
  return Object.assign({}, _e);
7805
7796
  default:
7806
7797
  return V;
@@ -7808,7 +7799,7 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7808
7799
  }, configuration: function() {
7809
7800
  return arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : W;
7810
7801
  } });
7811
- function He(V) {
7802
+ function Ue(V) {
7812
7803
  return function(H) {
7813
7804
  var se = H.dispatch, de = H.getState;
7814
7805
  return function(we) {
@@ -7818,10 +7809,10 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7818
7809
  };
7819
7810
  };
7820
7811
  }
7821
- var Fe = He();
7822
- Fe.withExtraArgument = He;
7812
+ var Fe = Ue();
7813
+ Fe.withExtraArgument = Ue;
7823
7814
  var Ke = Fe;
7824
- function Me(V) {
7815
+ function Ne(V) {
7825
7816
  const H = { configuration: V };
7826
7817
  let se = d;
7827
7818
  return V.debug && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ && (se = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__), g(Oe, H, se(function() {
@@ -7832,10 +7823,10 @@ Please report this to https://github.com/markedjs/marked.`, pe) {
7832
7823
  throw new Error(p(15));
7833
7824
  }, be = { getState: me.getState, dispatch: function() {
7834
7825
  return ve.apply(void 0, arguments);
7835
- } }, Be = we.map(function(X) {
7826
+ } }, Me = we.map(function(X) {
7836
7827
  return X(be);
7837
7828
  });
7838
- return ve = d.apply(void 0, Be)(me.dispatch), e(e({}, me), {}, { dispatch: ve });
7829
+ return ve = d.apply(void 0, Me)(me.dispatch), e(e({}, me), {}, { dispatch: ve });
7839
7830
  };
7840
7831
  };
7841
7832
  }(Ke)));
@@ -9700,26 +9691,26 @@ See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-contr
9700
9691
  function e(B, N) {
9701
9692
  function z(Y, W, Z) {
9702
9693
  Z.hash && (W = F.extend({}, W, Z.hash), Z.ids && (Z.ids[0] = !0)), Y = N.VM.resolvePartial.call(this, Y, W, Z);
9703
- var ce = F.extend({}, Z, { hooks: this.hooks, protoAccessControl: this.protoAccessControl }), ge = N.VM.invokePartial.call(this, Y, W, ce);
9704
- if (ge == null && N.compile && (Z.partials[Z.name] = N.compile(Y, B.compilerOptions, N), ge = Z.partials[Z.name](W, ce)), ge != null) {
9694
+ var ce = F.extend({}, Z, { hooks: this.hooks, protoAccessControl: this.protoAccessControl }), ye = N.VM.invokePartial.call(this, Y, W, ce);
9695
+ if (ye == null && N.compile && (Z.partials[Z.name] = N.compile(Y, B.compilerOptions, N), ye = Z.partials[Z.name](W, ce)), ye != null) {
9705
9696
  if (Z.indent) {
9706
- for (var _e = ge.split(`
9697
+ for (var _e = ye.split(`
9707
9698
  `), Ce = 0, Oe = _e.length; Ce < Oe && (_e[Ce] || Ce + 1 !== Oe); Ce++) _e[Ce] = Z.indent + _e[Ce];
9708
- ge = _e.join(`
9699
+ ye = _e.join(`
9709
9700
  `);
9710
9701
  }
9711
- return ge;
9702
+ return ye;
9712
9703
  }
9713
9704
  throw new T.default("The partial " + Z.name + " could not be compiled when running in runtime-only mode");
9714
9705
  }
9715
9706
  function G(Y) {
9716
9707
  function W(Ce) {
9717
- return "" + B.main(ee, Ce, ee.helpers, ee.partials, ce, _e, ge);
9708
+ return "" + B.main(ee, Ce, ee.helpers, ee.partials, ce, _e, ye);
9718
9709
  }
9719
9710
  var Z = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], ce = Z.data;
9720
9711
  G._setup(Z), !Z.partial && B.useData && (ce = s(Y, ce));
9721
- var ge = void 0, _e = B.useBlockParams ? [] : void 0;
9722
- return B.useDepths && (ge = Z.depths ? Y != Z.depths[0] ? [Y].concat(Z.depths) : Z.depths : [Y]), (W = g(B.main, W, ee, Z.depths || [], ce, _e))(Y, Z);
9712
+ var ye = void 0, _e = B.useBlockParams ? [] : void 0;
9713
+ return B.useDepths && (ye = Z.depths ? Y != Z.depths[0] ? [Y].concat(Z.depths) : Z.depths : [Y]), (W = g(B.main, W, ee, Z.depths || [], ce, _e))(Y, Z);
9723
9714
  }
9724
9715
  if (!N) throw new T.default("No environment passed to template");
9725
9716
  if (!B || !B.main) throw new T.default("Unknown template object: " + typeof B);
@@ -9737,9 +9728,9 @@ See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-contr
9737
9728
  }, escapeExpression: F.escapeExpression, invokePartial: z, fn: function(Y) {
9738
9729
  var W = B[Y];
9739
9730
  return W.decorator = B[Y + "_d"], W;
9740
- }, programs: [], program: function(Y, W, Z, ce, ge) {
9731
+ }, programs: [], program: function(Y, W, Z, ce, ye) {
9741
9732
  var _e = this.programs[Y], Ce = this.fn(Y);
9742
- return W || ge || ce || Z ? _e = p(this, Y, Ce, W, Z, ce, ge) : _e || (_e = this.programs[Y] = p(this, Y, Ce)), _e;
9733
+ return W || ye || ce || Z ? _e = p(this, Y, Ce, W, Z, ce, ye) : _e || (_e = this.programs[Y] = p(this, Y, Ce)), _e;
9743
9734
  }, data: function(Y, W) {
9744
9735
  for (; Y && W--; ) Y = Y._parent;
9745
9736
  return Y;
@@ -9763,8 +9754,8 @@ See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-contr
9763
9754
  }
9764
9755
  function p(B, N, z, G, oe, ee, Y) {
9765
9756
  function W(Z) {
9766
- var ce = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], ge = Y;
9767
- return !Y || Z == Y[0] || Z === B.nullContext && Y[0] === null || (ge = [Z].concat(Y)), z(B, Z, B.helpers, B.partials, ce.data || G, ee && [ce.blockParams].concat(ee), ge);
9757
+ var ce = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], ye = Y;
9758
+ return !Y || Z == Y[0] || Z === B.nullContext && Y[0] === null || (ye = [Z].concat(Y)), z(B, Z, B.helpers, B.partials, ce.data || G, ee && [ce.blockParams].concat(ee), ye);
9768
9759
  }
9769
9760
  return (W = g(z, W, B, Y, G, ee)).program = N, W.depth = Y ? Y.length : 0, W.blockParams = oe || 0, W;
9770
9761
  }