@uxland/primary-shell 7.0.1 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- var os = Object.defineProperty;
2
- var as = (te, J, X) => J in te ? os(te, J, { enumerable: !0, configurable: !0, writable: !0, value: X }) : te[J] = X;
3
- var qt = (te, J, X) => as(te, typeof J != "symbol" ? J + "" : J, X);
1
+ var as = Object.defineProperty;
2
+ var ls = (te, J, X) => J in te ? as(te, J, { enumerable: !0, configurable: !0, writable: !0, value: X }) : te[J] = X;
3
+ var qt = (te, J, X) => ls(te, typeof J != "symbol" ? J + "" : J, X);
4
4
  import c$s, { useState, useRef, useEffect } from "react";
5
5
  import r$L, { createRoot } from "react-dom/client";
6
6
  var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -114,12 +114,12 @@ var Reflect$1;
114
114
  return Be(yt) || (yt = _t(yt)), We(rt, ft, yt);
115
115
  }
116
116
  J("hasOwnMetadata", Fe);
117
- function De(rt, ft, yt) {
117
+ function Pe(rt, ft, yt) {
118
118
  if (!Qe(ft))
119
119
  throw new TypeError();
120
120
  return Be(yt) || (yt = _t(yt)), Ye(rt, ft, yt);
121
121
  }
122
- J("getMetadata", De);
122
+ J("getMetadata", Pe);
123
123
  function Le(rt, ft, yt) {
124
124
  if (!Qe(ft))
125
125
  throw new TypeError();
@@ -132,12 +132,12 @@ var Reflect$1;
132
132
  return Be(ft) || (ft = _t(ft)), Xe(rt, ft);
133
133
  }
134
134
  J("getMetadataKeys", Ue);
135
- function Pe(rt, ft) {
135
+ function De(rt, ft) {
136
136
  if (!Qe(rt))
137
137
  throw new TypeError();
138
138
  return Be(ft) || (ft = _t(ft)), Ge(rt, ft);
139
139
  }
140
- J("getOwnMetadataKeys", Pe);
140
+ J("getOwnMetadataKeys", De);
141
141
  function Oe(rt, ft, yt) {
142
142
  if (!Qe(ft))
143
143
  throw new TypeError();
@@ -228,12 +228,12 @@ var Reflect$1;
228
228
  if (yt.length <= 0)
229
229
  return It;
230
230
  for (var ui = new me(), ci = [], jt = 0, Tt = yt; jt < Tt.length; jt++) {
231
- var Ot = Tt[jt], Dt = ui.has(Ot);
232
- Dt || (ui.add(Ot), ci.push(Ot));
231
+ var Ot = Tt[jt], Pt = ui.has(Ot);
232
+ Pt || (ui.add(Ot), ci.push(Ot));
233
233
  }
234
- for (var Pt = 0, Ht = It; Pt < Ht.length; Pt++) {
235
- var Ot = Ht[Pt], Dt = ui.has(Ot);
236
- Dt || (ui.add(Ot), ci.push(Ot));
234
+ for (var Dt = 0, Ht = It; Dt < Ht.length; Dt++) {
235
+ var Ot = Ht[Dt], Pt = ui.has(Ot);
236
+ Pt || (ui.add(Ot), ci.push(Ot));
237
237
  }
238
238
  return ci;
239
239
  }
@@ -396,36 +396,36 @@ var Reflect$1;
396
396
  var ft, yt, St, It = new ve(), ui = {
397
397
  registerProvider: ci,
398
398
  getProvider: Tt,
399
- setProvider: Dt
399
+ setProvider: Pt
400
400
  };
401
401
  return ui;
402
- function ci(Pt) {
402
+ function ci(Dt) {
403
403
  if (!Object.isExtensible(ui))
404
404
  throw new Error("Cannot add provider to a frozen registry.");
405
405
  switch (!0) {
406
- case rt === Pt:
406
+ case rt === Dt:
407
407
  break;
408
408
  case Be(ft):
409
- ft = Pt;
409
+ ft = Dt;
410
410
  break;
411
- case ft === Pt:
411
+ case ft === Dt:
412
412
  break;
413
413
  case Be(yt):
414
- yt = Pt;
414
+ yt = Dt;
415
415
  break;
416
- case yt === Pt:
416
+ case yt === Dt:
417
417
  break;
418
418
  default:
419
- St === void 0 && (St = new me()), St.add(Pt);
419
+ St === void 0 && (St = new me()), St.add(Dt);
420
420
  break;
421
421
  }
422
422
  }
423
- function jt(Pt, Ht) {
423
+ function jt(Dt, Ht) {
424
424
  if (!Be(ft)) {
425
- if (ft.isProviderFor(Pt, Ht))
425
+ if (ft.isProviderFor(Dt, Ht))
426
426
  return ft;
427
427
  if (!Be(yt)) {
428
- if (yt.isProviderFor(Pt, Ht))
428
+ if (yt.isProviderFor(Dt, Ht))
429
429
  return ft;
430
430
  if (!Be(St))
431
431
  for (var ei = ti(St); ; ) {
@@ -433,32 +433,32 @@ var Reflect$1;
433
433
  if (!ai)
434
434
  return;
435
435
  var fi = mt(ai);
436
- if (fi.isProviderFor(Pt, Ht))
436
+ if (fi.isProviderFor(Dt, Ht))
437
437
  return kt(ei), fi;
438
438
  }
439
439
  }
440
440
  }
441
- if (!Be(rt) && rt.isProviderFor(Pt, Ht))
441
+ if (!Be(rt) && rt.isProviderFor(Dt, Ht))
442
442
  return rt;
443
443
  }
444
- function Tt(Pt, Ht) {
445
- var ei = It.get(Pt), ai;
446
- return Be(ei) || (ai = ei.get(Ht)), Be(ai) && (ai = jt(Pt, Ht), Be(ai) || (Be(ei) && (ei = new ge(), It.set(Pt, ei)), ei.set(Ht, ai))), ai;
444
+ function Tt(Dt, Ht) {
445
+ var ei = It.get(Dt), ai;
446
+ return Be(ei) || (ai = ei.get(Ht)), Be(ai) && (ai = jt(Dt, Ht), Be(ai) || (Be(ei) && (ei = new ge(), It.set(Dt, ei)), ei.set(Ht, ai))), ai;
447
447
  }
448
- function Ot(Pt) {
449
- if (Be(Pt))
448
+ function Ot(Dt) {
449
+ if (Be(Dt))
450
450
  throw new TypeError();
451
- return ft === Pt || yt === Pt || !Be(St) && St.has(Pt);
451
+ return ft === Dt || yt === Dt || !Be(St) && St.has(Dt);
452
452
  }
453
- function Dt(Pt, Ht, ei) {
453
+ function Pt(Dt, Ht, ei) {
454
454
  if (!Ot(ei))
455
455
  throw new Error("Metadata provider not registered.");
456
- var ai = Tt(Pt, Ht);
456
+ var ai = Tt(Dt, Ht);
457
457
  if (ai !== ei) {
458
458
  if (!Be(ai))
459
459
  return !1;
460
- var fi = It.get(Pt);
461
- Be(fi) && (fi = new ge(), It.set(Pt, fi)), fi.set(Ht, ei);
460
+ var fi = It.get(Dt);
461
+ Be(fi) && (fi = new ge(), It.set(Dt, fi)), fi.set(Ht, ei);
462
462
  }
463
463
  return !0;
464
464
  }
@@ -474,9 +474,9 @@ var Reflect$1;
474
474
  }
475
475
  function Mt(rt) {
476
476
  var ft = new ve(), yt = {
477
- isProviderFor: function(Ot, Dt) {
478
- var Pt = ft.get(Ot);
479
- return Be(Pt) ? !1 : Pt.has(Dt);
477
+ isProviderFor: function(Ot, Pt) {
478
+ var Dt = ft.get(Ot);
479
+ return Be(Dt) ? !1 : Dt.has(Pt);
480
480
  },
481
481
  OrdinaryDefineOwnMetadata: ci,
482
482
  OrdinaryHasOwnMetadata: It,
@@ -485,88 +485,88 @@ var Reflect$1;
485
485
  OrdinaryDeleteMetadata: Tt
486
486
  };
487
487
  return _e.registerProvider(yt), yt;
488
- function St(Ot, Dt, Pt) {
488
+ function St(Ot, Pt, Dt) {
489
489
  var Ht = ft.get(Ot), ei = !1;
490
490
  if (Be(Ht)) {
491
- if (!Pt)
491
+ if (!Dt)
492
492
  return;
493
493
  Ht = new ge(), ft.set(Ot, Ht), ei = !0;
494
494
  }
495
- var ai = Ht.get(Dt);
495
+ var ai = Ht.get(Pt);
496
496
  if (Be(ai)) {
497
- if (!Pt)
497
+ if (!Dt)
498
498
  return;
499
- if (ai = new ge(), Ht.set(Dt, ai), !rt.setProvider(Ot, Dt, yt))
500
- throw Ht.delete(Dt), ei && ft.delete(Ot), new Error("Wrong provider for target.");
499
+ if (ai = new ge(), Ht.set(Pt, ai), !rt.setProvider(Ot, Pt, yt))
500
+ throw Ht.delete(Pt), ei && ft.delete(Ot), new Error("Wrong provider for target.");
501
501
  }
502
502
  return ai;
503
503
  }
504
- function It(Ot, Dt, Pt) {
504
+ function It(Ot, Pt, Dt) {
505
505
  var Ht = St(
506
- Dt,
507
506
  Pt,
507
+ Dt,
508
508
  /*Create*/
509
509
  !1
510
510
  );
511
511
  return Be(Ht) ? !1 : nt(Ht.has(Ot));
512
512
  }
513
- function ui(Ot, Dt, Pt) {
513
+ function ui(Ot, Pt, Dt) {
514
514
  var Ht = St(
515
- Dt,
516
515
  Pt,
516
+ Dt,
517
517
  /*Create*/
518
518
  !1
519
519
  );
520
520
  if (!Be(Ht))
521
521
  return Ht.get(Ot);
522
522
  }
523
- function ci(Ot, Dt, Pt, Ht) {
523
+ function ci(Ot, Pt, Dt, Ht) {
524
524
  var ei = St(
525
- Pt,
525
+ Dt,
526
526
  Ht,
527
527
  /*Create*/
528
528
  !0
529
529
  );
530
- ei.set(Ot, Dt);
530
+ ei.set(Ot, Pt);
531
531
  }
532
- function jt(Ot, Dt) {
533
- var Pt = [], Ht = St(
532
+ function jt(Ot, Pt) {
533
+ var Dt = [], Ht = St(
534
534
  Ot,
535
- Dt,
535
+ Pt,
536
536
  /*Create*/
537
537
  !1
538
538
  );
539
539
  if (Be(Ht))
540
- return Pt;
540
+ return Dt;
541
541
  for (var ei = Ht.keys(), ai = ti(ei), fi = 0; ; ) {
542
542
  var Ai = vt(ai);
543
543
  if (!Ai)
544
- return Pt.length = fi, Pt;
545
- var Di = mt(Ai);
544
+ return Dt.length = fi, Dt;
545
+ var Pi = mt(Ai);
546
546
  try {
547
- Pt[fi] = Di;
548
- } catch (Pi) {
547
+ Dt[fi] = Pi;
548
+ } catch (Di) {
549
549
  try {
550
550
  kt(ai);
551
551
  } finally {
552
- throw Pi;
552
+ throw Di;
553
553
  }
554
554
  }
555
555
  fi++;
556
556
  }
557
557
  }
558
- function Tt(Ot, Dt, Pt) {
558
+ function Tt(Ot, Pt, Dt) {
559
559
  var Ht = St(
560
- Dt,
561
560
  Pt,
561
+ Dt,
562
562
  /*Create*/
563
563
  !1
564
564
  );
565
565
  if (Be(Ht) || !Ht.delete(Ot))
566
566
  return !1;
567
567
  if (Ht.size === 0) {
568
- var ei = ft.get(Dt);
569
- Be(ei) || (ei.delete(Pt), ei.size === 0 && ft.delete(ei));
568
+ var ei = ft.get(Pt);
569
+ Be(ei) || (ei.delete(Dt), ei.size === 0 && ft.delete(ei));
570
570
  }
571
571
  return !0;
572
572
  }
@@ -574,8 +574,8 @@ var Reflect$1;
574
574
  function Ut(rt) {
575
575
  var ft = rt.defineMetadata, yt = rt.hasOwnMetadata, St = rt.getOwnMetadata, It = rt.getOwnMetadataKeys, ui = rt.deleteMetadata, ci = new ve(), jt = {
576
576
  isProviderFor: function(Tt, Ot) {
577
- var Dt = ci.get(Tt);
578
- return !Be(Dt) && Dt.has(Ot) ? !0 : It(Tt, Ot).length ? (Be(Dt) && (Dt = new me(), ci.set(Tt, Dt)), Dt.add(Ot), !0) : !1;
577
+ var Pt = ci.get(Tt);
578
+ return !Be(Pt) && Pt.has(Ot) ? !0 : It(Tt, Ot).length ? (Be(Pt) && (Pt = new me(), ci.set(Tt, Pt)), Pt.add(Ot), !0) : !1;
579
579
  },
580
580
  OrdinaryDefineOwnMetadata: ft,
581
581
  OrdinaryHasOwnMetadata: yt,
@@ -599,8 +599,8 @@ var Reflect$1;
599
599
  var rt = {}, ft = [], yt = (
600
600
  /** @class */
601
601
  function() {
602
- function jt(Tt, Ot, Dt) {
603
- this._index = 0, this._keys = Tt, this._values = Ot, this._selector = Dt;
602
+ function jt(Tt, Ot, Pt) {
603
+ this._index = 0, this._keys = Tt, this._values = Ot, this._selector = Pt;
604
604
  }
605
605
  return jt.prototype["@@iterator"] = function() {
606
606
  return this;
@@ -645,12 +645,12 @@ var Reflect$1;
645
645
  );
646
646
  return Ot >= 0 ? this._values[Ot] : void 0;
647
647
  }, jt.prototype.set = function(Tt, Ot) {
648
- var Dt = this._find(
648
+ var Pt = this._find(
649
649
  Tt,
650
650
  /*insert*/
651
651
  !0
652
652
  );
653
- return this._values[Dt] = Ot, this;
653
+ return this._values[Pt] = Ot, this;
654
654
  }, jt.prototype.delete = function(Tt) {
655
655
  var Ot = this._find(
656
656
  Tt,
@@ -658,8 +658,8 @@ var Reflect$1;
658
658
  !1
659
659
  );
660
660
  if (Ot >= 0) {
661
- for (var Dt = this._keys.length, Pt = Ot + 1; Pt < Dt; Pt++)
662
- this._keys[Pt - 1] = this._keys[Pt], this._values[Pt - 1] = this._values[Pt];
661
+ for (var Pt = this._keys.length, Dt = Ot + 1; Dt < Pt; Dt++)
662
+ this._keys[Dt - 1] = this._keys[Dt], this._values[Dt - 1] = this._values[Dt];
663
663
  return this._keys.length--, this._values.length--, Vt(Tt, this._cacheKey) && (this._cacheKey = rt, this._cacheIndex = -2), !0;
664
664
  }
665
665
  return !1;
@@ -678,9 +678,9 @@ var Reflect$1;
678
678
  }, jt.prototype._find = function(Tt, Ot) {
679
679
  if (!Vt(this._cacheKey, Tt)) {
680
680
  this._cacheIndex = -1;
681
- for (var Dt = 0; Dt < this._keys.length; Dt++)
682
- if (Vt(this._keys[Dt], Tt)) {
683
- this._cacheIndex = Dt;
681
+ for (var Pt = 0; Pt < this._keys.length; Pt++)
682
+ if (Vt(this._keys[Pt], Tt)) {
683
+ this._cacheIndex = Pt;
684
684
  break;
685
685
  }
686
686
  }
@@ -744,33 +744,33 @@ var Reflect$1;
744
744
  this._key = St();
745
745
  }
746
746
  return Tt.prototype.has = function(Ot) {
747
- var Dt = It(
747
+ var Pt = It(
748
748
  Ot,
749
749
  /*create*/
750
750
  !1
751
751
  );
752
- return Dt !== void 0 ? pe.has(Dt, this._key) : !1;
752
+ return Pt !== void 0 ? pe.has(Pt, this._key) : !1;
753
753
  }, Tt.prototype.get = function(Ot) {
754
- var Dt = It(
754
+ var Pt = It(
755
755
  Ot,
756
756
  /*create*/
757
757
  !1
758
758
  );
759
- return Dt !== void 0 ? pe.get(Dt, this._key) : void 0;
760
- }, Tt.prototype.set = function(Ot, Dt) {
761
- var Pt = It(
759
+ return Pt !== void 0 ? pe.get(Pt, this._key) : void 0;
760
+ }, Tt.prototype.set = function(Ot, Pt) {
761
+ var Dt = It(
762
762
  Ot,
763
763
  /*create*/
764
764
  !0
765
765
  );
766
- return Pt[this._key] = Dt, this;
766
+ return Dt[this._key] = Pt, this;
767
767
  }, Tt.prototype.delete = function(Ot) {
768
- var Dt = It(
768
+ var Pt = It(
769
769
  Ot,
770
770
  /*create*/
771
771
  !1
772
772
  );
773
- return Dt !== void 0 ? delete Dt[this._key] : !1;
773
+ return Pt !== void 0 ? delete Pt[this._key] : !1;
774
774
  }, Tt.prototype.clear = function() {
775
775
  this._key = St();
776
776
  }, Tt;
@@ -792,8 +792,8 @@ var Reflect$1;
792
792
  return Tt[yt];
793
793
  }
794
794
  function ui(Tt, Ot) {
795
- for (var Dt = 0; Dt < Ot; ++Dt)
796
- Tt[Dt] = Math.random() * 255 | 0;
795
+ for (var Pt = 0; Pt < Ot; ++Pt)
796
+ Tt[Pt] = Math.random() * 255 | 0;
797
797
  return Tt;
798
798
  }
799
799
  function ci(Tt) {
@@ -806,9 +806,9 @@ var Reflect$1;
806
806
  function jt() {
807
807
  var Tt = ci(rt);
808
808
  Tt[6] = Tt[6] & 79 | 64, Tt[8] = Tt[8] & 191 | 128;
809
- for (var Ot = "", Dt = 0; Dt < rt; ++Dt) {
810
- var Pt = Tt[Dt];
811
- (Dt === 4 || Dt === 6 || Dt === 8) && (Ot += "-"), Pt < 16 && (Ot += "0"), Ot += Pt.toString(16).toLowerCase();
809
+ for (var Ot = "", Pt = 0; Pt < rt; ++Pt) {
810
+ var Dt = Tt[Pt];
811
+ (Pt === 4 || Pt === 6 || Pt === 8) && (Ot += "-"), Dt < 16 && (Ot += "0"), Ot += Dt.toString(16).toLowerCase();
812
812
  }
813
813
  return Ot;
814
814
  }
@@ -1921,13 +1921,13 @@ const V$4 = (te, J) => {
1921
1921
  }
1922
1922
  return [P$2(te, oe + (te[X] || "<?>") + (J === 2 ? "</svg>" : "")), re];
1923
1923
  };
1924
- let N$3 = class Sr {
1924
+ let N$3 = class Cr {
1925
1925
  constructor({ strings: J, _$litType$: X }, re) {
1926
1926
  let ne;
1927
1927
  this.parts = [];
1928
1928
  let oe = 0, de = 0;
1929
1929
  const ce = J.length - 1, he = this.parts, [ue, pe] = V$4(J, X);
1930
- if (this.el = Sr.createElement(ue, re), C$9.currentNode = this.el.content, X === 2) {
1930
+ if (this.el = Cr.createElement(ue, re), C$9.currentNode = this.el.content, X === 2) {
1931
1931
  const fe = this.el.content, ge = fe.firstChild;
1932
1932
  ge.remove(), fe.append(...ge.childNodes);
1933
1933
  }
@@ -2000,7 +2000,7 @@ let M$5 = class {
2000
2000
  let X = 0;
2001
2001
  for (const re of this._$AV) re !== void 0 && (re.strings !== void 0 ? (re._$AI(J, re, X), X += re.strings.length - 2) : re._$AI(J[X])), X++;
2002
2002
  }
2003
- }, R$5 = class Cr {
2003
+ }, R$5 = class Er {
2004
2004
  constructor(J, X, re, ne) {
2005
2005
  var oe;
2006
2006
  this.type = 2, this._$AH = A$1, this._$AN = void 0, this._$AA = J, this._$AB = X, this._$AM = re, this.options = ne, this._$Cp = (oe = ne == null ? void 0 : ne.isConnected) === null || oe === void 0 || oe;
@@ -2049,7 +2049,7 @@ let M$5 = class {
2049
2049
  c$p(this._$AH) || (this._$AH = [], this._$AR());
2050
2050
  const X = this._$AH;
2051
2051
  let re, ne = 0;
2052
- for (const oe of J) ne === X.length ? X.push(re = new Cr(this.k(u$w()), this.k(u$w()), this, this.options)) : re = X[ne], re._$AI(oe), ne++;
2052
+ for (const oe of J) ne === X.length ? X.push(re = new Er(this.k(u$w()), this.k(u$w()), this, this.options)) : re = X[ne], re._$AI(oe), ne++;
2053
2053
  ne < X.length && (this._$AR(re && re._$AB.nextSibling, ne), X.length = ne);
2054
2054
  }
2055
2055
  _$AR(J = this._$AA.nextSibling, X) {
@@ -2623,13 +2623,13 @@ const U = (te, J) => {
2623
2623
  }
2624
2624
  return [N$2(te, oe + (te[X] || "<?>") + (J === 2 ? "</svg>" : J === 3 ? "</math>" : "")), re];
2625
2625
  };
2626
- let B$4 = class Er {
2626
+ let B$4 = class Ar {
2627
2627
  constructor({ strings: J, _$litType$: X }, re) {
2628
2628
  let ne;
2629
2629
  this.parts = [];
2630
2630
  let oe = 0, de = 0;
2631
2631
  const ce = J.length - 1, he = this.parts, [ue, pe] = U(J, X);
2632
- if (this.el = Er.createElement(ue, re), I$1.currentNode = this.el.content, X === 2 || X === 3) {
2632
+ if (this.el = Ar.createElement(ue, re), I$1.currentNode = this.el.content, X === 2 || X === 3) {
2633
2633
  const fe = this.el.content.firstChild;
2634
2634
  fe.replaceWith(...fe.childNodes);
2635
2635
  }
@@ -2694,7 +2694,7 @@ let F$1 = class {
2694
2694
  let X = 0;
2695
2695
  for (const re of this._$AV) re !== void 0 && (re.strings !== void 0 ? (re._$AI(J, re, X), X += re.strings.length - 2) : re._$AI(J[X])), X++;
2696
2696
  }
2697
- }, et$1 = class Ar {
2697
+ }, et$1 = class Tr {
2698
2698
  get _$AU() {
2699
2699
  var J;
2700
2700
  return ((J = this._$AM) == null ? void 0 : J._$AU) ?? this.v;
@@ -2742,7 +2742,7 @@ let F$1 = class {
2742
2742
  g$k(this._$AH) || (this._$AH = [], this._$AR());
2743
2743
  const X = this._$AH;
2744
2744
  let re, ne = 0;
2745
- for (const oe of J) ne === X.length ? X.push(re = new Ar(this.O(lt$1()), this.O(lt$1()), this, this.options)) : re = X[ne], re._$AI(oe), ne++;
2745
+ for (const oe of J) ne === X.length ? X.push(re = new Tr(this.O(lt$1()), this.O(lt$1()), this, this.options)) : re = X[ne], re._$AI(oe), ne++;
2746
2746
  ne < X.length && (this._$AR(re && re._$AB.nextSibling, ne), X.length = ne);
2747
2747
  }
2748
2748
  _$AR(J = this._$AA.nextSibling, X) {
@@ -2862,8 +2862,8 @@ let h$m = class extends b$q {
2862
2862
  return R$4;
2863
2863
  }
2864
2864
  };
2865
- var kr;
2866
- h$m._$litElement$ = !0, h$m.finalized = !0, (kr = globalThis.litElementHydrateSupport) == null || kr.call(globalThis, { LitElement: h$m });
2865
+ var Sr;
2866
+ h$m._$litElement$ = !0, h$m.finalized = !0, (Sr = globalThis.litElementHydrateSupport) == null || Sr.call(globalThis, { LitElement: h$m });
2867
2867
  const f$n = globalThis.litElementPolyfillSupport;
2868
2868
  f$n == null || f$n({ LitElement: h$m });
2869
2869
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.0");
@@ -2968,7 +2968,7 @@ let a$p = class {
2968
2968
  clear() {
2969
2969
  this.viewsByRegion = {};
2970
2970
  }
2971
- }, n$y = class Tr {
2971
+ }, n$y = class Or {
2972
2972
  constructor(J) {
2973
2973
  this._viewRegistry = J, this._regions = {};
2974
2974
  }
@@ -3009,7 +3009,7 @@ let a$p = class {
3009
3009
  ), this._regions = {}, this;
3010
3010
  }
3011
3011
  createRegionManager() {
3012
- return new Tr(this._viewRegistry);
3012
+ return new Or(this._viewRegistry);
3013
3013
  }
3014
3014
  }, h$l = class extends n$y {
3015
3015
  constructor(J) {
@@ -4559,10 +4559,10 @@ const resolveConfig = (te) => {
4559
4559
  config: te,
4560
4560
  request: _e
4561
4561
  };
4562
- settle(function(De) {
4563
- X(De), be();
4564
- }, function(De) {
4565
- re(De), be();
4562
+ settle(function(Pe) {
4563
+ X(Pe), be();
4564
+ }, function(Pe) {
4565
+ re(Pe), be();
4566
4566
  }, Ae), _e = null;
4567
4567
  }
4568
4568
  "onloadend" in _e ? _e.onloadend = we : _e.onreadystatechange = function() {
@@ -4744,11 +4744,11 @@ const getBodyLength = async (te) => {
4744
4744
  duplex: "half"
4745
4745
  }), Fe;
4746
4746
  if (utils$1.isFormData(re) && (Fe = Ae.headers.get("content-type")) && pe.setContentType(Fe), Ae.body) {
4747
- const [De, Le] = progressEventDecorator(
4747
+ const [Pe, Le] = progressEventDecorator(
4748
4748
  _e,
4749
4749
  progressEventReducer(asyncDecorator(he))
4750
4750
  );
4751
- re = trackStream(Ae.body, DEFAULT_CHUNK_SIZE, De, Le);
4751
+ re = trackStream(Ae.body, DEFAULT_CHUNK_SIZE, Pe, Le);
4752
4752
  }
4753
4753
  }
4754
4754
  utils$1.isString(fe) || (fe = fe ? "include" : "omit");
@@ -4769,12 +4769,12 @@ const getBodyLength = async (te) => {
4769
4769
  ["status", "statusText", "headers"].forEach((Ue) => {
4770
4770
  Ae[Ue] = Se[Ue];
4771
4771
  });
4772
- const Fe = utils$1.toFiniteNumber(Se.headers.get("content-length")), [De, Le] = ce && progressEventDecorator(
4772
+ const Fe = utils$1.toFiniteNumber(Se.headers.get("content-length")), [Pe, Le] = ce && progressEventDecorator(
4773
4773
  Fe,
4774
4774
  progressEventReducer(asyncDecorator(ce), !0)
4775
4775
  ) || [];
4776
4776
  Se = new Response(
4777
- trackStream(Se.body, DEFAULT_CHUNK_SIZE, De, () => {
4777
+ trackStream(Se.body, DEFAULT_CHUNK_SIZE, Pe, () => {
4778
4778
  Le && Le(), be && be();
4779
4779
  }),
4780
4780
  Ae
@@ -5445,19 +5445,19 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5445
5445
  window.addEventListener("keydown", Ae);
5446
5446
  }, []);
5447
5447
  const Ae = (Ie) => {
5448
- Ie.key === "Escape" && De(!1);
5448
+ Ie.key === "Escape" && Pe(!1);
5449
5449
  }, Fe = (Ie) => {
5450
- Se.current && Ie.target === Ce.current && ne.closeOnOutsideClick && De(!1);
5450
+ Se.current && Ie.target === Ce.current && ne.closeOnOutsideClick && Pe(!1);
5451
5451
  };
5452
5452
  useEffect(() => {
5453
5453
  if (ye && we.current) {
5454
5454
  const Ie = we.current, He = new he();
5455
- return He.data = J, He.setResult = ve, He.setIsValid = _e, He.confirm = () => be && De(!0), He.confirmResult = (We) => be && Le(We), He.cancel = () => De(!1), Ie.appendChild(He), () => {
5455
+ return He.data = J, He.setResult = ve, He.setIsValid = _e, He.confirm = () => be && Pe(!0), He.confirmResult = (We) => be && Le(We), He.cancel = () => Pe(!1), Ie.appendChild(He), () => {
5456
5456
  Ie.removeChild(He);
5457
5457
  };
5458
5458
  }
5459
5459
  }, [he, J]);
5460
- const De = (Ie) => {
5460
+ const Pe = (Ie) => {
5461
5461
  Ue(me, Ie);
5462
5462
  }, Le = (Ie) => {
5463
5463
  Ue(Ie, !0);
@@ -5468,14 +5468,14 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5468
5468
  confirmed: He
5469
5469
  }), document.body.removeChild(de), document.head.removeChild(ce), ue && document.head.removeChild(pe), window.removeEventListener("keydown", Ae);
5470
5470
  }, 300);
5471
- }, Pe = () => ne.state === "error" ? "error" : ne.state === "success" ? "success" : ne.state === "info" ? "primary" : ne.state === "alert" ? "warning" : "primary", Oe = () => ne.state ? "alternative-dark" : "secondary", ze = () => ye ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: we }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
5471
+ }, De = () => ne.state === "error" ? "error" : ne.state === "success" ? "success" : ne.state === "info" ? "primary" : ne.state === "alert" ? "warning" : "primary", Oe = () => ne.state ? "alternative-dark" : "secondary", ze = () => ye ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: we }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
5472
5472
  he,
5473
5473
  {
5474
5474
  data: J,
5475
5475
  setResult: ve,
5476
5476
  setIsValid: _e,
5477
- confirm: () => be && De(!0),
5478
- cancel: () => De(!1)
5477
+ confirm: () => be && Pe(!0),
5478
+ cancel: () => Pe(!1)
5479
5479
  }
5480
5480
  );
5481
5481
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal", ref: Ce, onClick: Fe, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dialog", ref: Se, children: [
@@ -5488,7 +5488,7 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5488
5488
  size: "md",
5489
5489
  variant: "neutral",
5490
5490
  icon: "close",
5491
- onClick: () => De(!1)
5491
+ onClick: () => Pe(!1)
5492
5492
  }
5493
5493
  )
5494
5494
  ] }),
@@ -5503,7 +5503,7 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5503
5503
  "dss-button",
5504
5504
  {
5505
5505
  label: ne.cancelButtonText,
5506
- onClick: () => De(!1),
5506
+ onClick: () => Pe(!1),
5507
5507
  size: "md",
5508
5508
  variant: Oe()
5509
5509
  }
@@ -5511,11 +5511,11 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5511
5511
  ne.showConfirmButton && /* @__PURE__ */ jsxRuntimeExports.jsx(
5512
5512
  "dss-button",
5513
5513
  {
5514
- onClick: () => be && De(!0),
5514
+ onClick: () => be && Pe(!0),
5515
5515
  label: ne.confirmButtonText,
5516
5516
  disabled: !be,
5517
5517
  size: "md",
5518
- variant: Pe()
5518
+ variant: De()
5519
5519
  }
5520
5520
  )
5521
5521
  ]
@@ -5793,7 +5793,7 @@ var __extends$1 = /* @__PURE__ */ function() {
5793
5793
  );
5794
5794
  function peg$parse(te, J) {
5795
5795
  J = J !== void 0 ? J : {};
5796
- var X = {}, re = { start: dr }, ne = dr, oe = function(qe) {
5796
+ var X = {}, re = { start: cr }, ne = cr, oe = function(qe) {
5797
5797
  return qe.join("");
5798
5798
  }, de = function(qe) {
5799
5799
  return __assign$4({ type: TYPE.literal, value: qe }, yi());
@@ -5801,11 +5801,11 @@ function peg$parse(te, J) {
5801
5801
  return __assign$4({ type: TYPE.pound }, yi());
5802
5802
  }, pe = mi("argumentElement"), fe = "{", ge = hi("{", !1), me = "}", ve = hi("}", !1), be = function(qe) {
5803
5803
  return __assign$4({ type: TYPE.argument, value: qe }, yi());
5804
- }, _e = mi("numberSkeletonId"), we = /^['\/{}]/, Se = wi(["'", "/", "{", "}"], !1, !1), Ce = Nr(), ye = mi("numberSkeletonTokenOption"), Ae = "/", Fe = hi("/", !1), De = function(qe) {
5804
+ }, _e = mi("numberSkeletonId"), we = /^['\/{}]/, Se = wi(["'", "/", "{", "}"], !1, !1), Ce = Ur(), ye = mi("numberSkeletonTokenOption"), Ae = "/", Fe = hi("/", !1), Pe = function(qe) {
5805
5805
  return qe;
5806
5806
  }, Le = mi("numberSkeletonToken"), Ue = function(qe, je) {
5807
5807
  return { stem: qe, options: je };
5808
- }, Pe = function(qe) {
5808
+ }, De = function(qe) {
5809
5809
  return __assign$4({ type: 0, tokens: qe }, yi());
5810
5810
  }, Oe = "::", ze = hi("::", !1), Ie = function(qe) {
5811
5811
  return qe;
@@ -5822,7 +5822,7 @@ function peg$parse(te, J) {
5822
5822
  }, At = "date", zt = hi("date", !1), Ft = "time", Bt = hi("time", !1), Vt = "plural", di = hi("plural", !1), ti = "selectordinal", mt = hi("selectordinal", !1), vt = "offset:", kt = hi("offset:", !1), Ct = function(qe, je, it, gt) {
5823
5823
  return __assign$4({ type: TYPE.plural, pluralType: je === "plural" ? "cardinal" : "ordinal", value: qe, offset: it ? it[2] : 0, options: gt.reduce(function(xt, Lt) {
5824
5824
  var ri = Lt.id, Wt = Lt.value, gi = Lt.location;
5825
- return ri in xt && ar('Duplicate option "' + ri + '" in plural element: "' + or() + '"', zi()), xt[ri] = {
5825
+ return ri in xt && lr('Duplicate option "' + ri + '" in plural element: "' + ar() + '"', zi()), xt[ri] = {
5826
5826
  value: Wt,
5827
5827
  location: gi
5828
5828
  }, xt;
@@ -5830,7 +5830,7 @@ function peg$parse(te, J) {
5830
5830
  }, wt = "select", Nt = hi("select", !1), Mt = function(qe, je) {
5831
5831
  return __assign$4({ type: TYPE.select, value: qe, options: je.reduce(function(it, gt) {
5832
5832
  var xt = gt.id, Lt = gt.value, ri = gt.location;
5833
- return xt in it && ar('Duplicate option "' + xt + '" in select element: "' + or() + '"', zi()), it[xt] = {
5833
+ return xt in it && lr('Duplicate option "' + xt + '" in select element: "' + ar() + '"', zi()), it[xt] = {
5834
5834
  value: Lt,
5835
5835
  location: ri
5836
5836
  }, it;
@@ -5849,36 +5849,36 @@ function peg$parse(te, J) {
5849
5849
  id: qe,
5850
5850
  value: je
5851
5851
  }, yi());
5852
- }, rt = mi("whitespace"), ft = /^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, yt = wi([[" ", "\r"], " ", "…", " ", " ", [" ", " "], "\u2028", "\u2029", " ", " ", " "], !1, !1), St = mi("syntax pattern"), It = /^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/, ui = wi([["!", "/"], [":", "@"], ["[", "^"], "`", ["{", "~"], ["¡", "§"], "©", "«", "¬", "®", "°", "±", "¶", "»", "¿", "×", "÷", ["‐", "‧"], ["‰", "‾"], ["⁁", "⁓"], ["⁕", "⁞"], ["←", "⑟"], ["─", "❵"], ["➔", "⯿"], ["⸀", "⹿"], ["、", "〃"], ["〈", "〠"], "〰", "﴾", "﴿", "﹅", "﹆"], !1, !1), ci = mi("optional whitespace"), jt = mi("number"), Tt = "-", Ot = hi("-", !1), Dt = function(qe, je) {
5852
+ }, rt = mi("whitespace"), ft = /^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, yt = wi([[" ", "\r"], " ", "…", " ", " ", [" ", " "], "\u2028", "\u2029", " ", " ", " "], !1, !1), St = mi("syntax pattern"), It = /^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/, ui = wi([["!", "/"], [":", "@"], ["[", "^"], "`", ["{", "~"], ["¡", "§"], "©", "«", "¬", "®", "°", "±", "¶", "»", "¿", "×", "÷", ["‐", "‧"], ["‰", "‾"], ["⁁", "⁓"], ["⁕", "⁞"], ["←", "⑟"], ["─", "❵"], ["➔", "⯿"], ["⸀", "⹿"], ["、", "〃"], ["〈", "〠"], "〰", "﴾", "﴿", "﹅", "﹆"], !1, !1), ci = mi("optional whitespace"), jt = mi("number"), Tt = "-", Ot = hi("-", !1), Pt = function(qe, je) {
5853
5853
  return je ? qe ? -je : je : 0;
5854
- }, Pt = mi("double apostrophes"), Ht = "''", ei = hi("''", !1), ai = function() {
5854
+ }, Dt = mi("double apostrophes"), Ht = "''", ei = hi("''", !1), ai = function() {
5855
5855
  return "'";
5856
5856
  }, fi = function(qe, je) {
5857
5857
  return qe + je.replace("''", "'");
5858
5858
  }, Ai = function(qe) {
5859
- return qe !== "{" && !(xr() && qe === "#") && !(ns() && qe === "}");
5860
- }, Di = `
5861
- `, Pi = hi(`
5862
- `, !1), Or = function(qe) {
5863
- return qe === "{" || qe === "}" || xr() && qe === "#";
5864
- }, qr = mi("argNameOrNumber"), Dr = mi("argNumber"), Pr = "0", Rr = hi("0", !1), zr = function() {
5859
+ return qe !== "{" && !(kr() && qe === "#") && !(os() && qe === "}");
5860
+ }, Pi = `
5861
+ `, Di = hi(`
5862
+ `, !1), qr = function(qe) {
5863
+ return qe === "{" || qe === "}" || kr() && qe === "#";
5864
+ }, Pr = mi("argNameOrNumber"), Dr = mi("argNumber"), Rr = "0", zr = hi("0", !1), Ir = function() {
5865
5865
  return 0;
5866
- }, Ir = /^[1-9]/, Fr = wi([["1", "9"]], !1, !1), sr = /^[0-9]/, nr = wi([["0", "9"]], !1, !1), Lr = function(qe) {
5866
+ }, Fr = /^[1-9]/, Lr = wi([["1", "9"]], !1, !1), nr = /^[0-9]/, or = wi([["0", "9"]], !1, !1), Mr = function(qe) {
5867
5867
  return parseInt(qe.join(""), 10);
5868
- }, Mr = mi("argName"), Ne = 0, Kt = 0, Ti = [{ line: 1, column: 1 }], vi = 0, Ri = [], $t = 0, Oi;
5868
+ }, Nr = mi("argName"), Ne = 0, Kt = 0, Ti = [{ line: 1, column: 1 }], vi = 0, Ri = [], $t = 0, Oi;
5869
5869
  if (J.startRule !== void 0) {
5870
5870
  if (!(J.startRule in re))
5871
5871
  throw new Error(`Can't start parsing from rule "` + J.startRule + '".');
5872
5872
  ne = re[J.startRule];
5873
5873
  }
5874
- function or() {
5874
+ function ar() {
5875
5875
  return te.substring(Kt, Ne);
5876
5876
  }
5877
5877
  function zi() {
5878
5878
  return qi(Kt, Ne);
5879
5879
  }
5880
- function ar(qe, je) {
5881
- throw je = je !== void 0 ? je : qi(Kt, Ne), Hr(qe, je);
5880
+ function lr(qe, je) {
5881
+ throw je = je !== void 0 ? je : qi(Kt, Ne), Br(qe, je);
5882
5882
  }
5883
5883
  function hi(qe, je) {
5884
5884
  return { type: "literal", text: qe, ignoreCase: je };
@@ -5886,16 +5886,16 @@ function peg$parse(te, J) {
5886
5886
  function wi(qe, je, it) {
5887
5887
  return { type: "class", parts: qe, inverted: je, ignoreCase: it };
5888
5888
  }
5889
- function Nr() {
5889
+ function Ur() {
5890
5890
  return { type: "any" };
5891
5891
  }
5892
- function Ur() {
5892
+ function Hr() {
5893
5893
  return { type: "end" };
5894
5894
  }
5895
5895
  function mi(qe) {
5896
5896
  return { type: "other", description: qe };
5897
5897
  }
5898
- function lr(qe) {
5898
+ function dr(qe) {
5899
5899
  var je = Ti[qe], it;
5900
5900
  if (je)
5901
5901
  return je;
@@ -5909,7 +5909,7 @@ function peg$parse(te, J) {
5909
5909
  return Ti[qe] = je, je;
5910
5910
  }
5911
5911
  function qi(qe, je) {
5912
- var it = lr(qe), gt = lr(je);
5912
+ var it = dr(qe), gt = dr(je);
5913
5913
  return {
5914
5914
  start: {
5915
5915
  offset: qe,
@@ -5926,48 +5926,48 @@ function peg$parse(te, J) {
5926
5926
  function Et(qe) {
5927
5927
  Ne < vi || (Ne > vi && (vi = Ne, Ri = []), Ri.push(qe));
5928
5928
  }
5929
- function Hr(qe, je) {
5929
+ function Br(qe, je) {
5930
5930
  return new SyntaxError(qe, [], "", je);
5931
5931
  }
5932
- function Br(qe, je, it) {
5932
+ function jr(qe, je, it) {
5933
5933
  return new SyntaxError(SyntaxError.buildMessage(qe, je), qe, je, it);
5934
5934
  }
5935
- function dr() {
5935
+ function cr() {
5936
5936
  var qe;
5937
5937
  return qe = Ii(), qe;
5938
5938
  }
5939
5939
  function Ii() {
5940
5940
  var qe, je;
5941
- for (qe = [], je = cr(); je !== X; )
5942
- qe.push(je), je = cr();
5941
+ for (qe = [], je = ur(); je !== X; )
5942
+ qe.push(je), je = ur();
5943
5943
  return qe;
5944
5944
  }
5945
- function cr() {
5945
+ function ur() {
5946
5946
  var qe;
5947
- return qe = jr(), qe === X && (qe = Wr(), qe === X && (qe = Xr(), qe === X && (qe = es(), qe === X && (qe = ts(), qe === X && (qe = Vr()))))), qe;
5947
+ return qe = Vr(), qe === X && (qe = Gr(), qe === X && (qe = es(), qe === X && (qe = ts(), qe === X && (qe = rs(), qe === X && (qe = Wr()))))), qe;
5948
5948
  }
5949
5949
  function Fi() {
5950
5950
  var qe, je, it;
5951
- if (qe = Ne, je = [], it = ki(), it === X && (it = yr(), it === X && (it = $r())), it !== X)
5951
+ if (qe = Ne, je = [], it = ki(), it === X && (it = $r(), it === X && (it = wr())), it !== X)
5952
5952
  for (; it !== X; )
5953
- je.push(it), it = ki(), it === X && (it = yr(), it === X && (it = $r()));
5953
+ je.push(it), it = ki(), it === X && (it = $r(), it === X && (it = wr()));
5954
5954
  else
5955
5955
  je = X;
5956
5956
  return je !== X && (Kt = qe, je = oe(je)), qe = je, qe;
5957
5957
  }
5958
- function jr() {
5958
+ function Vr() {
5959
5959
  var qe, je;
5960
5960
  return qe = Ne, je = Fi(), je !== X && (Kt = qe, je = de(je)), qe = je, qe;
5961
5961
  }
5962
- function Vr() {
5962
+ function Wr() {
5963
5963
  var qe, je;
5964
5964
  return qe = Ne, te.charCodeAt(Ne) === 35 ? (je = ce, Ne++) : (je = X, $t === 0 && Et(he)), je !== X && (Kt = qe, je = ue()), qe = je, qe;
5965
5965
  }
5966
- function Wr() {
5966
+ function Gr() {
5967
5967
  var qe, je, it, gt, xt, Lt;
5968
5968
  return $t++, qe = Ne, te.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = X, $t === 0 && Et(ge)), je !== X ? (it = Gt(), it !== X ? (gt = Ci(), gt !== X ? (xt = Gt(), xt !== X ? (te.charCodeAt(Ne) === 125 ? (Lt = me, Ne++) : (Lt = X, $t === 0 && Et(ve)), Lt !== X ? (Kt = qe, je = be(gt), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), $t--, qe === X && (je = X, $t === 0 && Et(pe)), qe;
5969
5969
  }
5970
- function ur() {
5970
+ function hr() {
5971
5971
  var qe, je, it, gt, xt;
5972
5972
  if ($t++, qe = Ne, je = [], it = Ne, gt = Ne, $t++, xt = xi(), xt === X && (we.test(te.charAt(Ne)) ? (xt = te.charAt(Ne), Ne++) : (xt = X, $t === 0 && Et(Se))), $t--, xt === X ? gt = void 0 : (Ne = gt, gt = X), gt !== X ? (te.length > Ne ? (xt = te.charAt(Ne), Ne++) : (xt = X, $t === 0 && Et(Ce)), xt !== X ? (gt = [gt, xt], it = gt) : (Ne = it, it = X)) : (Ne = it, it = X), it !== X)
5973
5973
  for (; it !== X; )
@@ -5976,16 +5976,16 @@ function peg$parse(te, J) {
5976
5976
  je = X;
5977
5977
  return je !== X ? qe = te.substring(qe, Ne) : qe = je, $t--, qe === X && (je = X, $t === 0 && Et(_e)), qe;
5978
5978
  }
5979
- function hr() {
5979
+ function pr() {
5980
5980
  var qe, je, it;
5981
- return $t++, qe = Ne, te.charCodeAt(Ne) === 47 ? (je = Ae, Ne++) : (je = X, $t === 0 && Et(Fe)), je !== X ? (it = ur(), it !== X ? (Kt = qe, je = De(it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), $t--, qe === X && (je = X, $t === 0 && Et(ye)), qe;
5981
+ return $t++, qe = Ne, te.charCodeAt(Ne) === 47 ? (je = Ae, Ne++) : (je = X, $t === 0 && Et(Fe)), je !== X ? (it = hr(), it !== X ? (Kt = qe, je = Pe(it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), $t--, qe === X && (je = X, $t === 0 && Et(ye)), qe;
5982
5982
  }
5983
- function pr() {
5983
+ function fr() {
5984
5984
  var qe, je, it, gt, xt;
5985
5985
  if ($t++, qe = Ne, je = Gt(), je !== X)
5986
- if (it = ur(), it !== X) {
5987
- for (gt = [], xt = hr(); xt !== X; )
5988
- gt.push(xt), xt = hr();
5986
+ if (it = hr(), it !== X) {
5987
+ for (gt = [], xt = pr(); xt !== X; )
5988
+ gt.push(xt), xt = pr();
5989
5989
  gt !== X ? (Kt = qe, je = Ue(it, gt), qe = je) : (Ne = qe, qe = X);
5990
5990
  } else
5991
5991
  Ne = qe, qe = X;
@@ -5993,24 +5993,24 @@ function peg$parse(te, J) {
5993
5993
  Ne = qe, qe = X;
5994
5994
  return $t--, qe === X && (je = X, $t === 0 && Et(Le)), qe;
5995
5995
  }
5996
- function Gr() {
5996
+ function Jr() {
5997
5997
  var qe, je, it;
5998
- if (qe = Ne, je = [], it = pr(), it !== X)
5998
+ if (qe = Ne, je = [], it = fr(), it !== X)
5999
5999
  for (; it !== X; )
6000
- je.push(it), it = pr();
6000
+ je.push(it), it = fr();
6001
6001
  else
6002
6002
  je = X;
6003
- return je !== X && (Kt = qe, je = Pe(je)), qe = je, qe;
6003
+ return je !== X && (Kt = qe, je = De(je)), qe = je, qe;
6004
6004
  }
6005
- function Jr() {
6005
+ function Yr() {
6006
6006
  var qe, je, it;
6007
- return qe = Ne, te.substr(Ne, 2) === Oe ? (je = Oe, Ne += 2) : (je = X, $t === 0 && Et(ze)), je !== X ? (it = Gr(), it !== X ? (Kt = qe, je = Ie(it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe === X && (qe = Ne, Kt = Ne, je = He(), je ? je = void 0 : je = X, je !== X ? (it = Fi(), it !== X ? (Kt = qe, je = We(it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)), qe;
6007
+ return qe = Ne, te.substr(Ne, 2) === Oe ? (je = Oe, Ne += 2) : (je = X, $t === 0 && Et(ze)), je !== X ? (it = Jr(), it !== X ? (Kt = qe, je = Ie(it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe === X && (qe = Ne, Kt = Ne, je = He(), je ? je = void 0 : je = X, je !== X ? (it = Fi(), it !== X ? (Kt = qe, je = We(it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)), qe;
6008
6008
  }
6009
- function Yr() {
6009
+ function Kr() {
6010
6010
  var qe, je, it, gt, xt, Lt, ri, Wt, gi, Yt, li, Zt, ni;
6011
- return qe = Ne, te.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = X, $t === 0 && Et(ge)), je !== X ? (it = Gt(), it !== X ? (gt = Ci(), gt !== X ? (xt = Gt(), xt !== X ? (te.charCodeAt(Ne) === 44 ? (Lt = Ye, Ne++) : (Lt = X, $t === 0 && Et(Ke)), Lt !== X ? (ri = Gt(), ri !== X ? (te.substr(Ne, 6) === bt ? (Wt = bt, Ne += 6) : (Wt = X, $t === 0 && Et(Xe)), Wt !== X ? (gi = Gt(), gi !== X ? (Yt = Ne, te.charCodeAt(Ne) === 44 ? (li = Ye, Ne++) : (li = X, $t === 0 && Et(Ke)), li !== X ? (Zt = Gt(), Zt !== X ? (ni = Jr(), ni !== X ? (li = [li, Zt, ni], Yt = li) : (Ne = Yt, Yt = X)) : (Ne = Yt, Yt = X)) : (Ne = Yt, Yt = X), Yt === X && (Yt = null), Yt !== X ? (li = Gt(), li !== X ? (te.charCodeAt(Ne) === 125 ? (Zt = me, Ne++) : (Zt = X, $t === 0 && Et(ve)), Zt !== X ? (Kt = qe, je = Ge(gt, Wt, Yt), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe;
6011
+ return qe = Ne, te.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = X, $t === 0 && Et(ge)), je !== X ? (it = Gt(), it !== X ? (gt = Ci(), gt !== X ? (xt = Gt(), xt !== X ? (te.charCodeAt(Ne) === 44 ? (Lt = Ye, Ne++) : (Lt = X, $t === 0 && Et(Ke)), Lt !== X ? (ri = Gt(), ri !== X ? (te.substr(Ne, 6) === bt ? (Wt = bt, Ne += 6) : (Wt = X, $t === 0 && Et(Xe)), Wt !== X ? (gi = Gt(), gi !== X ? (Yt = Ne, te.charCodeAt(Ne) === 44 ? (li = Ye, Ne++) : (li = X, $t === 0 && Et(Ke)), li !== X ? (Zt = Gt(), Zt !== X ? (ni = Yr(), ni !== X ? (li = [li, Zt, ni], Yt = li) : (Ne = Yt, Yt = X)) : (Ne = Yt, Yt = X)) : (Ne = Yt, Yt = X), Yt === X && (Yt = null), Yt !== X ? (li = Gt(), li !== X ? (te.charCodeAt(Ne) === 125 ? (Zt = me, Ne++) : (Zt = X, $t === 0 && Et(ve)), Zt !== X ? (Kt = qe, je = Ge(gt, Wt, Yt), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe;
6012
6012
  }
6013
- function fr() {
6013
+ function gr() {
6014
6014
  var qe, je, it, gt;
6015
6015
  if (qe = Ne, te.charCodeAt(Ne) === 39 ? (je = Me, Ne++) : (je = X, $t === 0 && Et(Be)), je !== X) {
6016
6016
  if (it = [], gt = ki(), gt === X && (Je.test(te.charAt(Ne)) ? (gt = te.charAt(Ne), Ne++) : (gt = X, $t === 0 && Et(tt))), gt !== X)
@@ -6029,7 +6029,7 @@ function peg$parse(te, J) {
6029
6029
  qe = X;
6030
6030
  return qe;
6031
6031
  }
6032
- function gr() {
6032
+ function mr() {
6033
6033
  var qe, je;
6034
6034
  if (qe = [], Ze.test(te.charAt(Ne)) ? (je = te.charAt(Ne), Ne++) : (je = X, $t === 0 && Et(nt)), je !== X)
6035
6035
  for (; je !== X; )
@@ -6038,28 +6038,28 @@ function peg$parse(te, J) {
6038
6038
  qe = X;
6039
6039
  return qe;
6040
6040
  }
6041
- function Kr() {
6041
+ function Zr() {
6042
6042
  var qe, je, it, gt;
6043
- if (qe = Ne, je = Ne, it = [], gt = fr(), gt === X && (gt = gr()), gt !== X)
6043
+ if (qe = Ne, je = Ne, it = [], gt = gr(), gt === X && (gt = mr()), gt !== X)
6044
6044
  for (; gt !== X; )
6045
- it.push(gt), gt = fr(), gt === X && (gt = gr());
6045
+ it.push(gt), gt = gr(), gt === X && (gt = mr());
6046
6046
  else
6047
6047
  it = X;
6048
6048
  return it !== X ? je = te.substring(je, Ne) : je = it, je !== X && (Kt = qe, je = ot(je)), qe = je, qe;
6049
6049
  }
6050
- function Zr() {
6050
+ function Qr() {
6051
6051
  var qe, je, it;
6052
- return qe = Ne, te.substr(Ne, 2) === Oe ? (je = Oe, Ne += 2) : (je = X, $t === 0 && Et(ze)), je !== X ? (it = Kr(), it !== X ? (Kt = qe, je = Ie(it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe === X && (qe = Ne, Kt = Ne, je = _t(), je ? je = void 0 : je = X, je !== X ? (it = Fi(), it !== X ? (Kt = qe, je = We(it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)), qe;
6052
+ return qe = Ne, te.substr(Ne, 2) === Oe ? (je = Oe, Ne += 2) : (je = X, $t === 0 && Et(ze)), je !== X ? (it = Zr(), it !== X ? (Kt = qe, je = Ie(it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe === X && (qe = Ne, Kt = Ne, je = _t(), je ? je = void 0 : je = X, je !== X ? (it = Fi(), it !== X ? (Kt = qe, je = We(it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)), qe;
6053
6053
  }
6054
- function Qr() {
6054
+ function Xr() {
6055
6055
  var qe, je, it, gt, xt, Lt, ri, Wt, gi, Yt, li, Zt, ni;
6056
- return qe = Ne, te.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = X, $t === 0 && Et(ge)), je !== X ? (it = Gt(), it !== X ? (gt = Ci(), gt !== X ? (xt = Gt(), xt !== X ? (te.charCodeAt(Ne) === 44 ? (Lt = Ye, Ne++) : (Lt = X, $t === 0 && Et(Ke)), Lt !== X ? (ri = Gt(), ri !== X ? (te.substr(Ne, 4) === At ? (Wt = At, Ne += 4) : (Wt = X, $t === 0 && Et(zt)), Wt === X && (te.substr(Ne, 4) === Ft ? (Wt = Ft, Ne += 4) : (Wt = X, $t === 0 && Et(Bt))), Wt !== X ? (gi = Gt(), gi !== X ? (Yt = Ne, te.charCodeAt(Ne) === 44 ? (li = Ye, Ne++) : (li = X, $t === 0 && Et(Ke)), li !== X ? (Zt = Gt(), Zt !== X ? (ni = Zr(), ni !== X ? (li = [li, Zt, ni], Yt = li) : (Ne = Yt, Yt = X)) : (Ne = Yt, Yt = X)) : (Ne = Yt, Yt = X), Yt === X && (Yt = null), Yt !== X ? (li = Gt(), li !== X ? (te.charCodeAt(Ne) === 125 ? (Zt = me, Ne++) : (Zt = X, $t === 0 && Et(ve)), Zt !== X ? (Kt = qe, je = Ge(gt, Wt, Yt), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe;
6056
+ return qe = Ne, te.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = X, $t === 0 && Et(ge)), je !== X ? (it = Gt(), it !== X ? (gt = Ci(), gt !== X ? (xt = Gt(), xt !== X ? (te.charCodeAt(Ne) === 44 ? (Lt = Ye, Ne++) : (Lt = X, $t === 0 && Et(Ke)), Lt !== X ? (ri = Gt(), ri !== X ? (te.substr(Ne, 4) === At ? (Wt = At, Ne += 4) : (Wt = X, $t === 0 && Et(zt)), Wt === X && (te.substr(Ne, 4) === Ft ? (Wt = Ft, Ne += 4) : (Wt = X, $t === 0 && Et(Bt))), Wt !== X ? (gi = Gt(), gi !== X ? (Yt = Ne, te.charCodeAt(Ne) === 44 ? (li = Ye, Ne++) : (li = X, $t === 0 && Et(Ke)), li !== X ? (Zt = Gt(), Zt !== X ? (ni = Qr(), ni !== X ? (li = [li, Zt, ni], Yt = li) : (Ne = Yt, Yt = X)) : (Ne = Yt, Yt = X)) : (Ne = Yt, Yt = X), Yt === X && (Yt = null), Yt !== X ? (li = Gt(), li !== X ? (te.charCodeAt(Ne) === 125 ? (Zt = me, Ne++) : (Zt = X, $t === 0 && Et(ve)), Zt !== X ? (Kt = qe, je = Ge(gt, Wt, Yt), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe;
6057
6057
  }
6058
- function Xr() {
6058
+ function es() {
6059
6059
  var qe;
6060
- return qe = Yr(), qe === X && (qe = Qr()), qe;
6060
+ return qe = Kr(), qe === X && (qe = Xr()), qe;
6061
6061
  }
6062
- function es() {
6062
+ function ts() {
6063
6063
  var qe, je, it, gt, xt, Lt, ri, Wt, gi, Yt, li, Zt, ni, bi, $i, Mi;
6064
6064
  if (qe = Ne, te.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = X, $t === 0 && Et(ge)), je !== X)
6065
6065
  if (it = Gt(), it !== X)
@@ -6071,11 +6071,11 @@ function peg$parse(te, J) {
6071
6071
  if (gi = Gt(), gi !== X)
6072
6072
  if (te.charCodeAt(Ne) === 44 ? (Yt = Ye, Ne++) : (Yt = X, $t === 0 && Et(Ke)), Yt !== X)
6073
6073
  if (li = Gt(), li !== X)
6074
- if (Zt = Ne, te.substr(Ne, 7) === vt ? (ni = vt, Ne += 7) : (ni = X, $t === 0 && Et(kt)), ni !== X ? (bi = Gt(), bi !== X ? ($i = _r(), $i !== X ? (ni = [ni, bi, $i], Zt = ni) : (Ne = Zt, Zt = X)) : (Ne = Zt, Zt = X)) : (Ne = Zt, Zt = X), Zt === X && (Zt = null), Zt !== X)
6074
+ if (Zt = Ne, te.substr(Ne, 7) === vt ? (ni = vt, Ne += 7) : (ni = X, $t === 0 && Et(kt)), ni !== X ? (bi = Gt(), bi !== X ? ($i = yr(), $i !== X ? (ni = [ni, bi, $i], Zt = ni) : (Ne = Zt, Zt = X)) : (Ne = Zt, Zt = X)) : (Ne = Zt, Zt = X), Zt === X && (Zt = null), Zt !== X)
6075
6075
  if (ni = Gt(), ni !== X) {
6076
- if (bi = [], $i = br(), $i !== X)
6076
+ if (bi = [], $i = vr(), $i !== X)
6077
6077
  for (; $i !== X; )
6078
- bi.push($i), $i = br();
6078
+ bi.push($i), $i = vr();
6079
6079
  else
6080
6080
  bi = X;
6081
6081
  bi !== X ? ($i = Gt(), $i !== X ? (te.charCodeAt(Ne) === 125 ? (Mi = me, Ne++) : (Mi = X, $t === 0 && Et(ve)), Mi !== X ? (Kt = qe, je = Ct(gt, Wt, Zt, bi), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X);
@@ -6105,7 +6105,7 @@ function peg$parse(te, J) {
6105
6105
  Ne = qe, qe = X;
6106
6106
  return qe;
6107
6107
  }
6108
- function ts() {
6108
+ function rs() {
6109
6109
  var qe, je, it, gt, xt, Lt, ri, Wt, gi, Yt, li, Zt, ni, bi;
6110
6110
  if (qe = Ne, te.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = X, $t === 0 && Et(ge)), je !== X)
6111
6111
  if (it = Gt(), it !== X)
@@ -6117,9 +6117,9 @@ function peg$parse(te, J) {
6117
6117
  if (gi = Gt(), gi !== X)
6118
6118
  if (te.charCodeAt(Ne) === 44 ? (Yt = Ye, Ne++) : (Yt = X, $t === 0 && Et(Ke)), Yt !== X)
6119
6119
  if (li = Gt(), li !== X) {
6120
- if (Zt = [], ni = mr(), ni !== X)
6120
+ if (Zt = [], ni = br(), ni !== X)
6121
6121
  for (; ni !== X; )
6122
- Zt.push(ni), ni = mr();
6122
+ Zt.push(ni), ni = br();
6123
6123
  else
6124
6124
  Zt = X;
6125
6125
  Zt !== X ? (ni = Gt(), ni !== X ? (te.charCodeAt(Ne) === 125 ? (bi = me, Ne++) : (bi = X, $t === 0 && Et(ve)), bi !== X ? (Kt = qe, je = Mt(gt, Zt), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X);
@@ -6145,23 +6145,23 @@ function peg$parse(te, J) {
6145
6145
  Ne = qe, qe = X;
6146
6146
  return qe;
6147
6147
  }
6148
- function rs() {
6148
+ function ss() {
6149
6149
  var qe, je, it, gt;
6150
- return qe = Ne, je = Ne, te.charCodeAt(Ne) === 61 ? (it = Ut, Ne++) : (it = X, $t === 0 && Et(oi)), it !== X ? (gt = _r(), gt !== X ? (it = [it, gt], je = it) : (Ne = je, je = X)) : (Ne = je, je = X), je !== X ? qe = te.substring(qe, Ne) : qe = je, qe === X && (qe = Li()), qe;
6150
+ return qe = Ne, je = Ne, te.charCodeAt(Ne) === 61 ? (it = Ut, Ne++) : (it = X, $t === 0 && Et(oi)), it !== X ? (gt = yr(), gt !== X ? (it = [it, gt], je = it) : (Ne = je, je = X)) : (Ne = je, je = X), je !== X ? qe = te.substring(qe, Ne) : qe = je, qe === X && (qe = Li()), qe;
6151
6151
  }
6152
- function mr() {
6152
+ function br() {
6153
6153
  var qe, je, it, gt, xt, Lt, ri, Wt;
6154
6154
  return qe = Ne, je = Gt(), je !== X ? (it = Li(), it !== X ? (gt = Gt(), gt !== X ? (te.charCodeAt(Ne) === 123 ? (xt = fe, Ne++) : (xt = X, $t === 0 && Et(ge)), xt !== X ? (Kt = Ne, Lt = pi(), Lt ? Lt = void 0 : Lt = X, Lt !== X ? (ri = Ii(), ri !== X ? (te.charCodeAt(Ne) === 125 ? (Wt = me, Ne++) : (Wt = X, $t === 0 && Et(ve)), Wt !== X ? (Kt = qe, je = Xt(it, ri), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe;
6155
6155
  }
6156
- function br() {
6156
+ function vr() {
6157
6157
  var qe, je, it, gt, xt, Lt, ri, Wt;
6158
- return qe = Ne, je = Gt(), je !== X ? (it = rs(), it !== X ? (gt = Gt(), gt !== X ? (te.charCodeAt(Ne) === 123 ? (xt = fe, Ne++) : (xt = X, $t === 0 && Et(ge)), xt !== X ? (Kt = Ne, Lt = Si(), Lt ? Lt = void 0 : Lt = X, Lt !== X ? (ri = Ii(), ri !== X ? (te.charCodeAt(Ne) === 125 ? (Wt = me, Ne++) : (Wt = X, $t === 0 && Et(ve)), Wt !== X ? (Kt = qe, je = ii(it, ri), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe;
6158
+ return qe = Ne, je = Gt(), je !== X ? (it = ss(), it !== X ? (gt = Gt(), gt !== X ? (te.charCodeAt(Ne) === 123 ? (xt = fe, Ne++) : (xt = X, $t === 0 && Et(ge)), xt !== X ? (Kt = Ne, Lt = Si(), Lt ? Lt = void 0 : Lt = X, Lt !== X ? (ri = Ii(), ri !== X ? (te.charCodeAt(Ne) === 125 ? (Wt = me, Ne++) : (Wt = X, $t === 0 && Et(ve)), Wt !== X ? (Kt = qe, je = ii(it, ri), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), qe;
6159
6159
  }
6160
6160
  function xi() {
6161
6161
  var qe;
6162
6162
  return $t++, ft.test(te.charAt(Ne)) ? (qe = te.charAt(Ne), Ne++) : (qe = X, $t === 0 && Et(yt)), $t--, qe === X && $t === 0 && Et(rt), qe;
6163
6163
  }
6164
- function vr() {
6164
+ function _r() {
6165
6165
  var qe;
6166
6166
  return $t++, It.test(te.charAt(Ne)) ? (qe = te.charAt(Ne), Ne++) : (qe = X, $t === 0 && Et(ui)), $t--, qe === X && $t === 0 && Et(St), qe;
6167
6167
  }
@@ -6171,18 +6171,18 @@ function peg$parse(te, J) {
6171
6171
  je.push(it), it = xi();
6172
6172
  return je !== X ? qe = te.substring(qe, Ne) : qe = je, $t--, qe === X && (je = X, $t === 0 && Et(ci)), qe;
6173
6173
  }
6174
- function _r() {
6174
+ function yr() {
6175
6175
  var qe, je, it;
6176
- return $t++, qe = Ne, te.charCodeAt(Ne) === 45 ? (je = Tt, Ne++) : (je = X, $t === 0 && Et(Ot)), je === X && (je = null), je !== X ? (it = wr(), it !== X ? (Kt = qe, je = Dt(je, it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), $t--, qe === X && (je = X, $t === 0 && Et(jt)), qe;
6176
+ return $t++, qe = Ne, te.charCodeAt(Ne) === 45 ? (je = Tt, Ne++) : (je = X, $t === 0 && Et(Ot)), je === X && (je = null), je !== X ? (it = xr(), it !== X ? (Kt = qe, je = Pt(je, it), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X), $t--, qe === X && (je = X, $t === 0 && Et(jt)), qe;
6177
6177
  }
6178
6178
  function ki() {
6179
6179
  var qe, je;
6180
- return $t++, qe = Ne, te.substr(Ne, 2) === Ht ? (je = Ht, Ne += 2) : (je = X, $t === 0 && Et(ei)), je !== X && (Kt = qe, je = ai()), qe = je, $t--, qe === X && (je = X, $t === 0 && Et(Pt)), qe;
6180
+ return $t++, qe = Ne, te.substr(Ne, 2) === Ht ? (je = Ht, Ne += 2) : (je = X, $t === 0 && Et(ei)), je !== X && (Kt = qe, je = ai()), qe = je, $t--, qe === X && (je = X, $t === 0 && Et(Dt)), qe;
6181
6181
  }
6182
- function yr() {
6182
+ function $r() {
6183
6183
  var qe, je, it, gt, xt, Lt;
6184
6184
  if (qe = Ne, te.charCodeAt(Ne) === 39 ? (je = Me, Ne++) : (je = X, $t === 0 && Et(Be)), je !== X)
6185
- if (it = ss(), it !== X) {
6185
+ if (it = ns(), it !== X) {
6186
6186
  for (gt = Ne, xt = [], te.substr(Ne, 2) === Ht ? (Lt = Ht, Ne += 2) : (Lt = X, $t === 0 && Et(ei)), Lt === X && (Je.test(te.charAt(Ne)) ? (Lt = te.charAt(Ne), Ne++) : (Lt = X, $t === 0 && Et(tt))); Lt !== X; )
6187
6187
  xt.push(Lt), te.substr(Ne, 2) === Ht ? (Lt = Ht, Ne += 2) : (Lt = X, $t === 0 && Et(ei)), Lt === X && (Je.test(te.charAt(Ne)) ? (Lt = te.charAt(Ne), Ne++) : (Lt = X, $t === 0 && Et(tt)));
6188
6188
  xt !== X ? gt = te.substring(gt, Ne) : gt = xt, gt !== X ? (te.charCodeAt(Ne) === 39 ? (xt = Me, Ne++) : (xt = X, $t === 0 && Et(Be)), xt === X && (xt = null), xt !== X ? (Kt = qe, je = fi(it, gt), qe = je) : (Ne = qe, qe = X)) : (Ne = qe, qe = X);
@@ -6192,45 +6192,45 @@ function peg$parse(te, J) {
6192
6192
  Ne = qe, qe = X;
6193
6193
  return qe;
6194
6194
  }
6195
- function $r() {
6195
+ function wr() {
6196
6196
  var qe, je, it, gt;
6197
- return qe = Ne, je = Ne, te.length > Ne ? (it = te.charAt(Ne), Ne++) : (it = X, $t === 0 && Et(Ce)), it !== X ? (Kt = Ne, gt = Ai(it), gt ? gt = void 0 : gt = X, gt !== X ? (it = [it, gt], je = it) : (Ne = je, je = X)) : (Ne = je, je = X), je === X && (te.charCodeAt(Ne) === 10 ? (je = Di, Ne++) : (je = X, $t === 0 && Et(Pi))), je !== X ? qe = te.substring(qe, Ne) : qe = je, qe;
6197
+ return qe = Ne, je = Ne, te.length > Ne ? (it = te.charAt(Ne), Ne++) : (it = X, $t === 0 && Et(Ce)), it !== X ? (Kt = Ne, gt = Ai(it), gt ? gt = void 0 : gt = X, gt !== X ? (it = [it, gt], je = it) : (Ne = je, je = X)) : (Ne = je, je = X), je === X && (te.charCodeAt(Ne) === 10 ? (je = Pi, Ne++) : (je = X, $t === 0 && Et(Di))), je !== X ? qe = te.substring(qe, Ne) : qe = je, qe;
6198
6198
  }
6199
- function ss() {
6199
+ function ns() {
6200
6200
  var qe, je, it, gt;
6201
- return qe = Ne, je = Ne, te.length > Ne ? (it = te.charAt(Ne), Ne++) : (it = X, $t === 0 && Et(Ce)), it !== X ? (Kt = Ne, gt = Or(it), gt ? gt = void 0 : gt = X, gt !== X ? (it = [it, gt], je = it) : (Ne = je, je = X)) : (Ne = je, je = X), je !== X ? qe = te.substring(qe, Ne) : qe = je, qe;
6201
+ return qe = Ne, je = Ne, te.length > Ne ? (it = te.charAt(Ne), Ne++) : (it = X, $t === 0 && Et(Ce)), it !== X ? (Kt = Ne, gt = qr(it), gt ? gt = void 0 : gt = X, gt !== X ? (it = [it, gt], je = it) : (Ne = je, je = X)) : (Ne = je, je = X), je !== X ? qe = te.substring(qe, Ne) : qe = je, qe;
6202
6202
  }
6203
6203
  function Ci() {
6204
6204
  var qe, je;
6205
- return $t++, qe = Ne, je = wr(), je === X && (je = Li()), je !== X ? qe = te.substring(qe, Ne) : qe = je, $t--, qe === X && (je = X, $t === 0 && Et(qr)), qe;
6205
+ return $t++, qe = Ne, je = xr(), je === X && (je = Li()), je !== X ? qe = te.substring(qe, Ne) : qe = je, $t--, qe === X && (je = X, $t === 0 && Et(Pr)), qe;
6206
6206
  }
6207
- function wr() {
6207
+ function xr() {
6208
6208
  var qe, je, it, gt, xt;
6209
- if ($t++, qe = Ne, te.charCodeAt(Ne) === 48 ? (je = Pr, Ne++) : (je = X, $t === 0 && Et(Rr)), je !== X && (Kt = qe, je = zr()), qe = je, qe === X) {
6210
- if (qe = Ne, je = Ne, Ir.test(te.charAt(Ne)) ? (it = te.charAt(Ne), Ne++) : (it = X, $t === 0 && Et(Fr)), it !== X) {
6211
- for (gt = [], sr.test(te.charAt(Ne)) ? (xt = te.charAt(Ne), Ne++) : (xt = X, $t === 0 && Et(nr)); xt !== X; )
6212
- gt.push(xt), sr.test(te.charAt(Ne)) ? (xt = te.charAt(Ne), Ne++) : (xt = X, $t === 0 && Et(nr));
6209
+ if ($t++, qe = Ne, te.charCodeAt(Ne) === 48 ? (je = Rr, Ne++) : (je = X, $t === 0 && Et(zr)), je !== X && (Kt = qe, je = Ir()), qe = je, qe === X) {
6210
+ if (qe = Ne, je = Ne, Fr.test(te.charAt(Ne)) ? (it = te.charAt(Ne), Ne++) : (it = X, $t === 0 && Et(Lr)), it !== X) {
6211
+ for (gt = [], nr.test(te.charAt(Ne)) ? (xt = te.charAt(Ne), Ne++) : (xt = X, $t === 0 && Et(or)); xt !== X; )
6212
+ gt.push(xt), nr.test(te.charAt(Ne)) ? (xt = te.charAt(Ne), Ne++) : (xt = X, $t === 0 && Et(or));
6213
6213
  gt !== X ? (it = [it, gt], je = it) : (Ne = je, je = X);
6214
6214
  } else
6215
6215
  Ne = je, je = X;
6216
- je !== X && (Kt = qe, je = Lr(je)), qe = je;
6216
+ je !== X && (Kt = qe, je = Mr(je)), qe = je;
6217
6217
  }
6218
6218
  return $t--, qe === X && (je = X, $t === 0 && Et(Dr)), qe;
6219
6219
  }
6220
6220
  function Li() {
6221
6221
  var qe, je, it, gt, xt;
6222
- if ($t++, qe = Ne, je = [], it = Ne, gt = Ne, $t++, xt = xi(), xt === X && (xt = vr()), $t--, xt === X ? gt = void 0 : (Ne = gt, gt = X), gt !== X ? (te.length > Ne ? (xt = te.charAt(Ne), Ne++) : (xt = X, $t === 0 && Et(Ce)), xt !== X ? (gt = [gt, xt], it = gt) : (Ne = it, it = X)) : (Ne = it, it = X), it !== X)
6222
+ if ($t++, qe = Ne, je = [], it = Ne, gt = Ne, $t++, xt = xi(), xt === X && (xt = _r()), $t--, xt === X ? gt = void 0 : (Ne = gt, gt = X), gt !== X ? (te.length > Ne ? (xt = te.charAt(Ne), Ne++) : (xt = X, $t === 0 && Et(Ce)), xt !== X ? (gt = [gt, xt], it = gt) : (Ne = it, it = X)) : (Ne = it, it = X), it !== X)
6223
6223
  for (; it !== X; )
6224
- je.push(it), it = Ne, gt = Ne, $t++, xt = xi(), xt === X && (xt = vr()), $t--, xt === X ? gt = void 0 : (Ne = gt, gt = X), gt !== X ? (te.length > Ne ? (xt = te.charAt(Ne), Ne++) : (xt = X, $t === 0 && Et(Ce)), xt !== X ? (gt = [gt, xt], it = gt) : (Ne = it, it = X)) : (Ne = it, it = X);
6224
+ je.push(it), it = Ne, gt = Ne, $t++, xt = xi(), xt === X && (xt = _r()), $t--, xt === X ? gt = void 0 : (Ne = gt, gt = X), gt !== X ? (te.length > Ne ? (xt = te.charAt(Ne), Ne++) : (xt = X, $t === 0 && Et(Ce)), xt !== X ? (gt = [gt, xt], it = gt) : (Ne = it, it = X)) : (Ne = it, it = X);
6225
6225
  else
6226
6226
  je = X;
6227
- return je !== X ? qe = te.substring(qe, Ne) : qe = je, $t--, qe === X && (je = X, $t === 0 && Et(Mr)), qe;
6227
+ return je !== X ? qe = te.substring(qe, Ne) : qe = je, $t--, qe === X && (je = X, $t === 0 && Et(Nr)), qe;
6228
6228
  }
6229
6229
  var _i = ["root"];
6230
- function ns() {
6230
+ function os() {
6231
6231
  return _i.length > 1;
6232
6232
  }
6233
- function xr() {
6233
+ function kr() {
6234
6234
  return _i[_i.length - 1] === "plural";
6235
6235
  }
6236
6236
  function yi() {
@@ -6240,7 +6240,7 @@ function peg$parse(te, J) {
6240
6240
  }
6241
6241
  if (Oi = ne(), Oi !== X && Ne === te.length)
6242
6242
  return Oi;
6243
- throw Oi !== X && Ne < te.length && Et(Ur()), Br(Ri, vi < te.length ? te.charAt(vi) : null, vi < te.length ? qi(vi, vi + 1) : qi(vi, vi));
6243
+ throw Oi !== X && Ne < te.length && Et(Hr()), jr(Ri, vi < te.length ? te.charAt(vi) : null, vi < te.length ? qi(vi, vi + 1) : qi(vi, vi));
6244
6244
  }
6245
6245
  var pegParse = peg$parse, __spreadArrays$2 = function() {
6246
6246
  for (var te = 0, J = 0, X = arguments.length; J < X; J++) te += arguments[J].length;
@@ -8951,7 +8951,7 @@ const useLocalization = async (te) => {
8951
8951
  }
8952
8952
  }
8953
8953
  }
8954
- }, styles$o = ".item{display:flex;cursor:pointer;border-radius:8px;padding:8px;justify-content:center;transition:background-color .3s ease}.item[expanded]{justify-content:space-between}.item:hover{background-color:var(--color-primary-900);color:#fff}.item .icon-label{display:flex;gap:8px;transition:background-color .3s}.item.active{outline:2px solid white;outline-offset:-2px}";
8954
+ }, styles$p = ".item{display:flex;cursor:pointer;border-radius:8px;padding:8px;justify-content:center;transition:background-color .3s ease}.item[expanded]{justify-content:space-between}.item:hover{background-color:var(--color-primary-900);color:#fff}.item .icon-label{display:flex;gap:8px;transition:background-color .3s}.item.active{outline:2px solid white;outline-offset:-2px}";
8955
8955
  /**
8956
8956
  * @license
8957
8957
  * Copyright 2017 Google LLC
@@ -9002,7 +9002,7 @@ const Rt = e$L(class extends i$t {
9002
9002
  }
9003
9003
  return R$4;
9004
9004
  }
9005
- }), template$p = (te) => ke$1`
9005
+ }), template$q = (te) => ke$1`
9006
9006
  <div
9007
9007
  class=${Rt({ item: !0, active: te.isActive })}
9008
9008
  @click=${te.config.callbackFn}
@@ -9019,10 +9019,10 @@ const Rt = e$L(class extends i$t {
9019
9019
  </dss-tooltip>`}
9020
9020
  </div>
9021
9021
  `;
9022
- var __defProp$x = Object.defineProperty, __decorateClass$x = (te, J, X, re) => {
9022
+ var __defProp$y = Object.defineProperty, __decorateClass$y = (te, J, X, re) => {
9023
9023
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
9024
9024
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
9025
- return ne && __defProp$x(J, X, ne), ne;
9025
+ return ne && __defProp$y(J, X, ne), ne;
9026
9026
  };
9027
9027
  const Ni = class Ni extends k$7(h$m) {
9028
9028
  constructor(J) {
@@ -9057,23 +9057,23 @@ const Ni = class Ni extends k$7(h$m) {
9057
9057
  this.subscriptions.forEach((J) => J.dispose());
9058
9058
  }
9059
9059
  render() {
9060
- return ke$1`${template$p(this)}`;
9060
+ return ke$1`${template$q(this)}`;
9061
9061
  }
9062
9062
  };
9063
9063
  Ni.styles = i$w`
9064
- ${r$F(styles$o)}
9064
+ ${r$F(styles$p)}
9065
9065
  `;
9066
9066
  let PrimariaNavItem = Ni;
9067
- __decorateClass$x([
9067
+ __decorateClass$y([
9068
9068
  n$z({ type: Number })
9069
9069
  ], PrimariaNavItem.prototype, "containerWidth");
9070
- __decorateClass$x([
9070
+ __decorateClass$y([
9071
9071
  r$C()
9072
9072
  ], PrimariaNavItem.prototype, "showText");
9073
- __decorateClass$x([
9073
+ __decorateClass$y([
9074
9074
  r$C()
9075
9075
  ], PrimariaNavItem.prototype, "isActive");
9076
- __decorateClass$x([
9076
+ __decorateClass$y([
9077
9077
  n$z({ type: Object })
9078
9078
  ], PrimariaNavItem.prototype, "config");
9079
9079
  const pdfViwerEvents = {
@@ -9145,15 +9145,15 @@ function getDecorators(te, J) {
9145
9145
  lazyMultiInject: oe
9146
9146
  };
9147
9147
  }
9148
- const container$2 = new Container(), { lazyInject: lazyInject$2 } = getDecorators(container$2), registerDep = (te) => {
9149
- container$2.bind(te).toSelf();
9148
+ const container$3 = new Container(), { lazyInject: lazyInject$3 } = getDecorators(container$3), registerDep = (te) => {
9149
+ container$3.bind(te).toSelf();
9150
9150
  }, unregisterDep = (te) => {
9151
- container$2.isBound(te) && container$2.unbind(te);
9152
- }, TYPES$2 = {
9151
+ container$3.isBound(te) && container$3.unbind(te);
9152
+ }, TYPES$3 = {
9153
9153
  primaryApi: Symbol.for("primaryApi"),
9154
9154
  store: Symbol.for("store"),
9155
9155
  localeManager: Symbol.for("localeManager")
9156
- }, styles$n = ":host{min-height:1px;height:100%;width:100%;display:flex}iframe{border:none;flex:1;height:100%}.pdf-container{display:flex;justify-content:center;align-items:center;height:100%;flex:1;border:1px solid #ccc}.no-pdf{text-align:center;color:#666;font-size:1.2rem;font-weight:700}";
9156
+ }, styles$o = ":host{min-height:1px;height:100%;width:100%;display:flex}iframe{border:none;flex:1;height:100%}.pdf-container{display:flex;justify-content:center;align-items:center;height:100%;flex:1;border:1px solid #ccc}.no-pdf{text-align:center;color:#666;font-size:1.2rem;font-weight:700}";
9157
9157
  function base64ToBlob(te, J = "application/octet-stream") {
9158
9158
  const X = window.atob(te), re = X.length, ne = new Uint8Array(re);
9159
9159
  for (let oe = 0; oe < re; oe++)
@@ -9166,10 +9166,10 @@ const createUrlFromBase64 = (te, J) => {
9166
9166
  return URL.createObjectURL(X);
9167
9167
  }
9168
9168
  };
9169
- var __defProp$w = Object.defineProperty, __decorateClass$w = (te, J, X, re) => {
9169
+ var __defProp$x = Object.defineProperty, __decorateClass$x = (te, J, X, re) => {
9170
9170
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
9171
9171
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
9172
- return ne && __defProp$w(J, X, ne), ne;
9172
+ return ne && __defProp$x(J, X, ne), ne;
9173
9173
  };
9174
9174
  const Ui = class Ui extends h$m {
9175
9175
  constructor() {
@@ -9237,15 +9237,15 @@ const Ui = class Ui extends h$m {
9237
9237
  `;
9238
9238
  }
9239
9239
  };
9240
- Ui.styles = i$w`${r$F(styles$n)}`;
9240
+ Ui.styles = i$w`${r$F(styles$o)}`;
9241
9241
  let PdfVisor = Ui;
9242
- __decorateClass$w([
9243
- lazyInject$2(TYPES$2.primaryApi)
9242
+ __decorateClass$x([
9243
+ lazyInject$3(TYPES$3.primaryApi)
9244
9244
  ], PdfVisor.prototype, "api");
9245
- __decorateClass$w([
9245
+ __decorateClass$x([
9246
9246
  n$z({ type: Array })
9247
9247
  ], PdfVisor.prototype, "pdfList");
9248
- __decorateClass$w([
9248
+ __decorateClass$x([
9249
9249
  n$z({ type: Array })
9250
9250
  ], PdfVisor.prototype, "activePdfs");
9251
9251
  const registerPdfViewerNavItem = () => {
@@ -9270,7 +9270,7 @@ const registerPdfViewerNavItem = () => {
9270
9270
  return Promise.resolve(te);
9271
9271
  }
9272
9272
  });
9273
- }, styles$m = ":host{width:250px;gap:8px}.pdf-item{display:flex;align-items:flex-start;padding:8px;gap:8px;color:#000;border-bottom:1px solid var(--color-neutral-100)}.header-icons{display:flex;gap:8px}.container{gap:8px;display:flex;flex-direction:column}";
9273
+ }, styles$n = ":host{width:250px;gap:8px}.pdf-item{display:flex;align-items:flex-start;padding:8px;gap:8px;color:#000;border-bottom:1px solid var(--color-neutral-100)}.header-icons{display:flex;gap:8px}.container{gap:8px;display:flex;flex-direction:column}";
9274
9274
  /**
9275
9275
  * @license
9276
9276
  * Copyright 2020 Google LLC
@@ -9361,7 +9361,7 @@ const Jt = (te, J, X) => {
9361
9361
  }
9362
9362
  return this.ut = de, dt(te, he), R$4;
9363
9363
  }
9364
- }), template$o = (te) => {
9364
+ }), template$p = (te) => {
9365
9365
  const J = (X) => ke$1`
9366
9366
  <div class="pdf-item">
9367
9367
  <dss-checkbox @onChange=${() => te.setActivePdf(X.id)}>
@@ -9390,17 +9390,17 @@ const Jt = (te, J, X) => {
9390
9390
  </div>
9391
9391
  `;
9392
9392
  };
9393
- var __defProp$v = Object.defineProperty, __decorateClass$v = (te, J, X, re) => {
9393
+ var __defProp$w = Object.defineProperty, __decorateClass$w = (te, J, X, re) => {
9394
9394
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
9395
9395
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
9396
- return ne && __defProp$v(J, X, ne), ne;
9396
+ return ne && __defProp$w(J, X, ne), ne;
9397
9397
  };
9398
9398
  const Hi = class Hi extends h$m {
9399
9399
  constructor() {
9400
9400
  super(...arguments), this.activePdfs = [];
9401
9401
  }
9402
9402
  render() {
9403
- return template$o(this);
9403
+ return template$p(this);
9404
9404
  }
9405
9405
  removePdf(J) {
9406
9406
  this.dispatchEvent(
@@ -9418,13 +9418,13 @@ const Hi = class Hi extends h$m {
9418
9418
  }
9419
9419
  };
9420
9420
  Hi.styles = i$w`
9421
- ${r$F(styles$m)}
9421
+ ${r$F(styles$n)}
9422
9422
  `;
9423
9423
  let PdfSelector = Hi;
9424
- __decorateClass$v([
9424
+ __decorateClass$w([
9425
9425
  n$z({ type: Array })
9426
9426
  ], PdfSelector.prototype, "pdfList");
9427
- __decorateClass$v([
9427
+ __decorateClass$w([
9428
9428
  n$z({ type: Array })
9429
9429
  ], PdfSelector.prototype, "activePdfs");
9430
9430
  class PdfViewerManager {
@@ -9454,7 +9454,7 @@ class PdfViewerManager {
9454
9454
  registerPdfViewerNavItem();
9455
9455
  }
9456
9456
  }
9457
- const createPdfViewerManager = (te, J) => new PdfViewerManager(te, J), styles$l = ".container{display:flex;flex-direction:column;gap:4px;align-items:center}.title{font-size:15px;line-height:24px;font-weight:600;color:var(--color-red-600)}.list{display:flex;flex-direction:column;gap:8px}.plugin-busy-item{text-align:center;border:var(--dss-border-width-sm) solid var(--color-neutral-100);border-radius:var(--dss-radius-lg);padding:var(--dss-spacing-md)}", template$n = (te) => {
9457
+ const createPdfViewerManager = (te, J) => new PdfViewerManager(te, J), styles$m = ".container{display:flex;flex-direction:column;gap:4px;align-items:center}.title{font-size:15px;line-height:24px;font-weight:600;color:var(--color-red-600)}.list{display:flex;flex-direction:column;gap:8px}.plugin-busy-item{text-align:center;border:var(--dss-border-width-sm) solid var(--color-neutral-100);border-radius:var(--dss-radius-lg);padding:var(--dss-spacing-md)}", template$o = (te) => {
9458
9458
  var J, X;
9459
9459
  return ke$1`
9460
9460
  <div class="container">
@@ -9473,11 +9473,11 @@ const createPdfViewerManager = (te, J) => new PdfViewerManager(te, J), styles$l
9473
9473
  `;
9474
9474
  }, Bi = class Bi extends h$m {
9475
9475
  render() {
9476
- return ke$1`${template$n(this)}`;
9476
+ return ke$1`${template$o(this)}`;
9477
9477
  }
9478
9478
  };
9479
9479
  Bi.styles = i$w`
9480
- ${r$F(styles$l)}
9480
+ ${r$F(styles$m)}
9481
9481
  `;
9482
9482
  let PluginBusyList = Bi;
9483
9483
  class PluginBusyManagerImpl {
@@ -9673,7 +9673,7 @@ const createTokenManager = () => tokenManager$1 || (tokenManager$1 = new TokenMa
9673
9673
  J.isBound(re) && J.unbind(re), ne.dispose();
9674
9674
  }
9675
9675
  };
9676
- }, TYPES$1 = {
9676
+ }, TYPES$2 = {
9677
9677
  primaryApi: Symbol.for("primaryApi"),
9678
9678
  store: Symbol.for("store")
9679
9679
  };
@@ -10688,14 +10688,14 @@ function buildCreateSlice({
10688
10688
  ...Ce,
10689
10689
  ...ue.sliceCaseReducersByType
10690
10690
  };
10691
- return createReducer(ne.initialState, (De) => {
10691
+ return createReducer(ne.initialState, (Pe) => {
10692
10692
  for (let Le in Fe)
10693
- De.addCase(Le, Fe[Le]);
10693
+ Pe.addCase(Le, Fe[Le]);
10694
10694
  for (let Le of ue.sliceMatchers)
10695
- De.addMatcher(Le.matcher, Le.reducer);
10695
+ Pe.addMatcher(Le.matcher, Le.reducer);
10696
10696
  for (let Le of ye)
10697
- De.addMatcher(Le.matcher, Le.reducer);
10698
- Ae && De.addDefaultCase(Ae);
10697
+ Pe.addMatcher(Le.matcher, Le.reducer);
10698
+ Ae && Pe.addDefaultCase(Ae);
10699
10699
  });
10700
10700
  }
10701
10701
  const ge = (Ce) => Ce, me = /* @__PURE__ */ new Map();
@@ -10707,16 +10707,16 @@ function buildCreateSlice({
10707
10707
  return ve || (ve = fe()), ve.getInitialState();
10708
10708
  }
10709
10709
  function we(Ce, ye = !1) {
10710
- function Ae(De) {
10711
- let Le = De[Ce];
10710
+ function Ae(Pe) {
10711
+ let Le = Pe[Ce];
10712
10712
  return typeof Le > "u" && ye && (Le = _e()), Le;
10713
10713
  }
10714
- function Fe(De = ge) {
10714
+ function Fe(Pe = ge) {
10715
10715
  const Le = getOrInsertComputed(me, ye, () => /* @__PURE__ */ new WeakMap());
10716
- return getOrInsertComputed(Le, De, () => {
10716
+ return getOrInsertComputed(Le, Pe, () => {
10717
10717
  const Ue = {};
10718
- for (const [Pe, Oe] of Object.entries(ne.selectors ?? {}))
10719
- Ue[Pe] = wrapSelector(Oe, De, _e, ye);
10718
+ for (const [De, Oe] of Object.entries(ne.selectors ?? {}))
10719
+ Ue[De] = wrapSelector(Oe, Pe, _e, ye);
10720
10720
  return Ue;
10721
10721
  });
10722
10722
  }
@@ -11129,43 +11129,43 @@ const activityHistoryFiltersSlice = createSlice({
11129
11129
  });
11130
11130
  store.dispatch;
11131
11131
  store.getState;
11132
- const container$1 = new Container(), { lazyInject: lazyInject$1 } = getDecorators(container$1), bindDeps = (te) => {
11133
- container$1.bind(TYPES$1.primaryApi).toConstantValue(te), container$1.bind(TYPES$1.store).toConstantValue(store);
11132
+ const container$2 = new Container(), { lazyInject: lazyInject$2 } = getDecorators(container$2), bindDeps = (te) => {
11133
+ container$2.bind(TYPES$2.primaryApi).toConstantValue(te), container$2.bind(TYPES$2.store).toConstantValue(store);
11134
11134
  }, unbindDeps = () => {
11135
- container$1.unbind(TYPES$1.primaryApi), container$1.unbind(TYPES$1.store);
11135
+ container$2.unbind(TYPES$2.primaryApi), container$2.unbind(TYPES$2.store);
11136
11136
  };
11137
- var __defProp$u = Object.defineProperty, __getOwnPropDesc$j = Object.getOwnPropertyDescriptor, __decorateClass$u = (te, J, X, re) => {
11137
+ var __defProp$v = Object.defineProperty, __getOwnPropDesc$j = Object.getOwnPropertyDescriptor, __decorateClass$v = (te, J, X, re) => {
11138
11138
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$j(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
11139
11139
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
11140
- return re && ne && __defProp$u(J, X, ne), ne;
11140
+ return re && ne && __defProp$v(J, X, ne), ne;
11141
11141
  }, __decorateParam$5 = (te, J) => (X, re) => J(X, re, te);
11142
11142
  let StoreBaseHandler = class {
11143
11143
  constructor(te) {
11144
11144
  this.store = te;
11145
11145
  }
11146
11146
  };
11147
- StoreBaseHandler = __decorateClass$u([
11147
+ StoreBaseHandler = __decorateClass$v([
11148
11148
  injectable(),
11149
- __decorateParam$5(0, inject(TYPES$1.store))
11149
+ __decorateParam$5(0, inject(TYPES$2.store))
11150
11150
  ], StoreBaseHandler);
11151
11151
  let ApiBaseHandler = class {
11152
11152
  constructor(te) {
11153
11153
  this.api = te;
11154
11154
  }
11155
11155
  };
11156
- ApiBaseHandler = __decorateClass$u([
11156
+ ApiBaseHandler = __decorateClass$v([
11157
11157
  injectable(),
11158
- __decorateParam$5(0, inject(TYPES$1.primaryApi))
11158
+ __decorateParam$5(0, inject(TYPES$2.primaryApi))
11159
11159
  ], ApiBaseHandler);
11160
11160
  let BaseHandler = class {
11161
11161
  constructor(te, J) {
11162
11162
  this.store = te, this.api = J;
11163
11163
  }
11164
11164
  };
11165
- BaseHandler = __decorateClass$u([
11165
+ BaseHandler = __decorateClass$v([
11166
11166
  injectable(),
11167
- __decorateParam$5(0, inject(TYPES$1.store)),
11168
- __decorateParam$5(1, inject(TYPES$1.primaryApi))
11167
+ __decorateParam$5(0, inject(TYPES$2.store)),
11168
+ __decorateParam$5(1, inject(TYPES$2.primaryApi))
11169
11169
  ], BaseHandler);
11170
11170
  class AddCustomFiltersCommand {
11171
11171
  constructor(J) {
@@ -11362,7 +11362,7 @@ const initializeLocalization = async (te) => {
11362
11362
  }
11363
11363
  }
11364
11364
  }
11365
- }, styles$k = ".wrapper{display:flex;flex-direction:column;align-items:center;gap:24px;width:484px;height:auto}.wrapper .content-options{display:flex;flex-direction:column;align-items:center;gap:16px}.wrapper .selector-options{display:flex;flex-direction:row;gap:16px}.wrapper .content-date{display:flex;flex-direction:column;align-items:center;gap:16px;height:124px}.wrapper .datepicker-canvas{display:flex;flex-direction:row;justify-content:center;align-content:center;gap:16px}.wrapper .actions{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px}dss-datepicker{width:234px;height:48px;border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm);padding:var(--dss-spacing-sm);gap:var(--dss-spacing-xs);color:var(--color-neutral-100)}", template$m = (te) => {
11365
+ }, styles$l = ".wrapper{display:flex;flex-direction:column;align-items:center;gap:24px;width:484px;height:auto}.wrapper .content-options{display:flex;flex-direction:column;align-items:center;gap:16px}.wrapper .selector-options{display:flex;flex-direction:row;gap:16px}.wrapper .content-date{display:flex;flex-direction:column;align-items:center;gap:16px;height:124px}.wrapper .datepicker-canvas{display:flex;flex-direction:row;justify-content:center;align-content:center;gap:16px}.wrapper .actions{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px}dss-datepicker{width:234px;height:48px;border-radius:var(--dss-radius-sm);border:var(--dss-border-width-sm);padding:var(--dss-spacing-sm);gap:var(--dss-spacing-xs);color:var(--color-neutral-100)}", template$n = (te) => {
11366
11366
  const { arrayElements: J, text: X } = te;
11367
11367
  return ke$1`
11368
11368
  <div class="wrapper">
@@ -11404,10 +11404,10 @@ const initializeLocalization = async (te) => {
11404
11404
  </div>` : D$2}
11405
11405
  </div>`;
11406
11406
  };
11407
- var __defProp$t = Object.defineProperty, __getOwnPropDesc$i = Object.getOwnPropertyDescriptor, __decorateClass$t = (te, J, X, re) => {
11407
+ var __defProp$u = Object.defineProperty, __getOwnPropDesc$i = Object.getOwnPropertyDescriptor, __decorateClass$u = (te, J, X, re) => {
11408
11408
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$i(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
11409
11409
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
11410
- return re && ne && __defProp$t(J, X, ne), ne;
11410
+ return re && ne && __defProp$u(J, X, ne), ne;
11411
11411
  };
11412
11412
  let ExportPdfModal = class extends h$m {
11413
11413
  constructor() {
@@ -11420,12 +11420,12 @@ let ExportPdfModal = class extends h$m {
11420
11420
  }
11421
11421
  render() {
11422
11422
  return ke$1`
11423
- ${template$m(this)}
11423
+ ${template$n(this)}
11424
11424
  `;
11425
11425
  }
11426
11426
  static get styles() {
11427
11427
  return i$w`
11428
- ${r$F(styles$k)}
11428
+ ${r$F(styles$l)}
11429
11429
  `;
11430
11430
  }
11431
11431
  handleTest() {
@@ -11435,22 +11435,22 @@ let ExportPdfModal = class extends h$m {
11435
11435
  );
11436
11436
  }
11437
11437
  };
11438
- __decorateClass$t([
11438
+ __decorateClass$u([
11439
11439
  n$z()
11440
11440
  ], ExportPdfModal.prototype, "selectedRadioOption", 2);
11441
- __decorateClass$t([
11441
+ __decorateClass$u([
11442
11442
  n$z()
11443
11443
  ], ExportPdfModal.prototype, "text", 2);
11444
- __decorateClass$t([
11444
+ __decorateClass$u([
11445
11445
  n$z()
11446
11446
  ], ExportPdfModal.prototype, "selectedVisibilityLevelElement", 2);
11447
- __decorateClass$t([
11447
+ __decorateClass$u([
11448
11448
  n$z()
11449
11449
  ], ExportPdfModal.prototype, "selectedPeriodDate", 2);
11450
- __decorateClass$t([
11450
+ __decorateClass$u([
11451
11451
  n$z({ type: Array })
11452
11452
  ], ExportPdfModal.prototype, "arrayElements", 2);
11453
- ExportPdfModal = __decorateClass$t([
11453
+ ExportPdfModal = __decorateClass$u([
11454
11454
  t$k("export-pdf-modal")
11455
11455
  ], ExportPdfModal);
11456
11456
  class ExportToPdfHandler extends ApiBaseHandler {
@@ -11813,7 +11813,7 @@ const activityHistoryCollectionsSelector = (te) => te.activityHistoryCollections
11813
11813
  ), ce = groupActivityHistoryItems(de);
11814
11814
  return sortGroupsByMostRecentDate(ce);
11815
11815
  }
11816
- ), styles$j = ":host{min-height:1px;display:flex;flex-direction:column;flex:1 1 0%}.virtual-container{height:100%;position:relative}.virtual-viewport{height:100%;overflow:auto;padding-inline:16px}.virtual-content{position:relative;width:100%}.virtual-items{position:relative}.container{min-height:1px;height:100%}.visit:first-child{margin-top:var(--dss-spacing-md)}.visit{width:calc(100% - var(--dss-spacing-md) - var(--dss-spacing-md));display:flex;flex-direction:column;gap:var(--dss-spacing-sm);background-color:#fff;border-radius:var(--dss-radius-sm);padding:var(--dss-spacing-sm);margin-bottom:var(--dss-spacing-md)}.visit .visit__header{display:flex;flex-direction:row;align-items:center;gap:16px}.visit .visit__header .title{flex:1;font-size:14px;line-height:24px;display:flex;flex-direction:row;gap:12px;color:var(--color-neutral-800)}.visit .visit__header .title-date{font-weight:700}.visit .visit__header .title-description{font-weight:600;display:flex;flex-direction:row;gap:4px}.visit .visit__header .highlight{background-color:#ff0;font-weight:700}.visit .visit__items{display:flex;flex-direction:column;gap:var(--dss-spacing-sm)}.visit .visit__items .item[has-divider]{border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.visit .visit__items .item[has-divider]:last-of-type{border:none}.visit .diagnostics{display:flex;flex-direction:column;gap:var(--dss-spacing-sm);border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.visit .diagnostics:last-of-type{border:none}.visit .diagnostics .diagnostics__header{display:flex;flex-direction:row;align-items:center;gap:16px;flex-wrap:wrap}.visit .diagnostics .diagnostics__items{display:flex;flex-direction:column}.visit .diagnostics .diagnostics__items .item[has-divider]{border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.visit .diagnostics .diagnostics__items .item[has-divider]:last-of-type{border:none}.feedback{width:100%;height:100%;display:flex;align-items:center;justify-content:center}";
11816
+ ), styles$k = ":host{min-height:1px;display:flex;flex-direction:column;flex:1 1 0%}.virtual-container{height:100%;position:relative}.virtual-viewport{height:100%;overflow:auto;padding-inline:16px}.virtual-content{position:relative;width:100%}.virtual-items{position:relative}.container{min-height:1px;height:100%}.visit:first-child{margin-top:var(--dss-spacing-md)}.visit{width:calc(100% - var(--dss-spacing-md) - var(--dss-spacing-md));display:flex;flex-direction:column;gap:var(--dss-spacing-sm);background-color:#fff;border-radius:var(--dss-radius-sm);padding:var(--dss-spacing-sm);margin-bottom:var(--dss-spacing-md)}.visit .visit__header{display:flex;flex-direction:row;align-items:center;gap:16px}.visit .visit__header .title{flex:1;font-size:14px;line-height:24px;display:flex;flex-direction:row;gap:12px;color:var(--color-neutral-800)}.visit .visit__header .title-date{font-weight:700}.visit .visit__header .title-description{font-weight:600;display:flex;flex-direction:row;gap:4px}.visit .visit__header .highlight{background-color:#ff0;font-weight:700}.visit .visit__items{display:flex;flex-direction:column;gap:var(--dss-spacing-sm)}.visit .visit__items .item[has-divider]{border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.visit .visit__items .item[has-divider]:last-of-type{border:none}.visit .diagnostics{display:flex;flex-direction:column;gap:var(--dss-spacing-sm);border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.visit .diagnostics:last-of-type{border:none}.visit .diagnostics .diagnostics__header{display:flex;flex-direction:row;align-items:center;gap:16px;flex-wrap:wrap}.visit .diagnostics .diagnostics__items{display:flex;flex-direction:column}.visit .diagnostics .diagnostics__items .item[has-divider]{border-bottom:var(--dss-border-width-sm) solid var(--color-neutral-200)}.visit .diagnostics .diagnostics__items .item[has-divider]:last-of-type{border:none}.feedback{width:100%;height:100%;display:flex;align-items:center;justify-content:center}";
11817
11817
  function toDate(te) {
11818
11818
  const J = Object.prototype.toString.call(te);
11819
11819
  return te instanceof Date || typeof te == "object" && J === "[object Date]" ? new te.constructor(+te) : typeof te == "number" || J === "[object Number]" || typeof te == "string" || J === "[object String]" ? new Date(te) : /* @__PURE__ */ new Date(NaN);
@@ -14540,15 +14540,15 @@ function parse(te, J, X, re) {
14540
14540
  `The format string mustn't contain \`${Ce}\` and any other token at the same time`
14541
14541
  );
14542
14542
  fe.push({ token: ye, fullToken: Ce });
14543
- const De = Ae.run(
14543
+ const Pe = Ae.run(
14544
14544
  te,
14545
14545
  Ce,
14546
14546
  oe.match,
14547
14547
  he
14548
14548
  );
14549
- if (!De)
14549
+ if (!Pe)
14550
14550
  return constructFrom(X, NaN);
14551
- ue.push(De.setter), te = De.rest;
14551
+ ue.push(Pe.setter), te = Pe.rest;
14552
14552
  } else {
14553
14553
  if (ye.match(unescapedLatinCharacterRegExp))
14554
14554
  throw new RangeError(
@@ -14606,29 +14606,29 @@ const hasItemDivider = (te, J) => {
14606
14606
  subGroup: re
14607
14607
  }));
14608
14608
  return [...J, ...X].sort((re, ne) => ne.date.getTime() - re.date.getTime());
14609
- }, styles$i = ".grouping-busy-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}", template$l = (te) => ke$1`
14609
+ }, styles$j = ".grouping-busy-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}", template$m = (te) => ke$1`
14610
14610
  <div class="grouping-busy-container">
14611
14611
  <dss-spinner size="sm"></dss-spinner>
14612
14612
  <div>${translate("isGrouping")}</div>
14613
14613
  </div>
14614
14614
  `;
14615
- var __defProp$s = Object.defineProperty, __getOwnPropDesc$h = Object.getOwnPropertyDescriptor, __decorateClass$s = (te, J, X, re) => {
14615
+ var __defProp$t = Object.defineProperty, __getOwnPropDesc$h = Object.getOwnPropertyDescriptor, __decorateClass$t = (te, J, X, re) => {
14616
14616
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$h(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
14617
14617
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
14618
- return re && ne && __defProp$s(J, X, ne), ne;
14618
+ return re && ne && __defProp$t(J, X, ne), ne;
14619
14619
  };
14620
14620
  let ActivityHistoryIsGroupingBusy = class extends h$m {
14621
14621
  render() {
14622
- return template$l();
14622
+ return template$m();
14623
14623
  }
14624
14624
  };
14625
14625
  ActivityHistoryIsGroupingBusy.styles = i$w`
14626
- ${r$F(styles$i)}
14626
+ ${r$F(styles$j)}
14627
14627
  `;
14628
- ActivityHistoryIsGroupingBusy = __decorateClass$s([
14628
+ ActivityHistoryIsGroupingBusy = __decorateClass$t([
14629
14629
  t$k("activity-history-is-grouping-busy")
14630
14630
  ], ActivityHistoryIsGroupingBusy);
14631
- const template$k = (te) => {
14631
+ const template$l = (te) => {
14632
14632
  var J;
14633
14633
  return ke$1`
14634
14634
  <div class="container">
@@ -14870,10 +14870,10 @@ class VirtualScroller {
14870
14870
  }), ne;
14871
14871
  }
14872
14872
  }
14873
- var __defProp$r = Object.defineProperty, __getOwnPropDesc$g = Object.getOwnPropertyDescriptor, __decorateClass$r = (te, J, X, re) => {
14873
+ var __defProp$s = Object.defineProperty, __getOwnPropDesc$g = Object.getOwnPropertyDescriptor, __decorateClass$s = (te, J, X, re) => {
14874
14874
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$g(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
14875
14875
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
14876
- return re && ne && __defProp$r(J, X, ne), ne;
14876
+ return re && ne && __defProp$s(J, X, ne), ne;
14877
14877
  };
14878
14878
  const createZIndexStyles = (te) => {
14879
14879
  let J = "";
@@ -14901,7 +14901,7 @@ let ActivityHistoryTimeline = class extends h$m {
14901
14901
  <style>
14902
14902
  ${r$F(J)}
14903
14903
  </style>
14904
- ${template$k(this)}
14904
+ ${template$l(this)}
14905
14905
  `;
14906
14906
  }
14907
14907
  connectedCallback() {
@@ -14987,36 +14987,36 @@ let ActivityHistoryTimeline = class extends h$m {
14987
14987
  }
14988
14988
  };
14989
14989
  ActivityHistoryTimeline.styles = i$w`
14990
- ${r$F(styles$j)}
14990
+ ${r$F(styles$k)}
14991
14991
  `;
14992
- __decorateClass$r([
14992
+ __decorateClass$s([
14993
14993
  connectedProperty(activityHistoryGroupedItems)
14994
14994
  ], ActivityHistoryTimeline.prototype, "historyGroups", 2);
14995
- __decorateClass$r([
14995
+ __decorateClass$s([
14996
14996
  connectedProperty(isCollectionInitialState)
14997
14997
  ], ActivityHistoryTimeline.prototype, "isCollectionInitialState", 2);
14998
- __decorateClass$r([
14998
+ __decorateClass$s([
14999
14999
  connectedProperty(isSomeCollectionLoadedAndOtherLoading)
15000
15000
  ], ActivityHistoryTimeline.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
15001
- __decorateClass$r([
15001
+ __decorateClass$s([
15002
15002
  connectedProperty(activityHistorySearchStringSelector)
15003
15003
  ], ActivityHistoryTimeline.prototype, "searchString", 2);
15004
- __decorateClass$r([
15004
+ __decorateClass$s([
15005
15005
  e$O(".virtual-container")
15006
15006
  ], ActivityHistoryTimeline.prototype, "_virtualContainer", 2);
15007
- __decorateClass$r([
15007
+ __decorateClass$s([
15008
15008
  e$O(".virtual-viewport")
15009
15009
  ], ActivityHistoryTimeline.prototype, "_viewport", 2);
15010
- __decorateClass$r([
15010
+ __decorateClass$s([
15011
15011
  e$O(".virtual-content")
15012
15012
  ], ActivityHistoryTimeline.prototype, "_content", 2);
15013
- __decorateClass$r([
15013
+ __decorateClass$s([
15014
15014
  r$C()
15015
15015
  ], ActivityHistoryTimeline.prototype, "renderGroupsControlTimeExpired", 2);
15016
- __decorateClass$r([
15016
+ __decorateClass$s([
15017
15017
  r$C()
15018
15018
  ], ActivityHistoryTimeline.prototype, "_virtualScrollerState", 2);
15019
- ActivityHistoryTimeline = __decorateClass$r([
15019
+ ActivityHistoryTimeline = __decorateClass$s([
15020
15020
  t$k("activity-history-timeline")
15021
15021
  ], ActivityHistoryTimeline);
15022
15022
  /**
@@ -15027,7 +15027,7 @@ ActivityHistoryTimeline = __decorateClass$r([
15027
15027
  function nn(te, J, X) {
15028
15028
  return te ? J(te) : X == null ? void 0 : X(te);
15029
15029
  }
15030
- const template$j = (te) => {
15030
+ const template$k = (te) => {
15031
15031
  const J = te.areCustomFiltersActive || te.areCommonFiltersActive || te.areDiagnosticFiltersActive || te.areUpFiltersActive;
15032
15032
  return !J && te.searchString.length < 1 ? D$2 : ke$1`
15033
15033
  <div class="active-filters-header">
@@ -15035,39 +15035,39 @@ const template$j = (te) => {
15035
15035
  ${nn(te.searchString.length > 1, () => ke$1`<activity-history-search-results searchQuery=${te.searchString}></activity-history-search-results>`)}
15036
15036
  </div>
15037
15037
  `;
15038
- }, styles$h = ".active-filters-header{display:flex;flex-direction:column;border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;padding:var(--dss-spacing-sm) var(--dss-spacing-md);gap:var(--dss-spacing-xs);font-size:14px;line-height:24px}";
15039
- var __defProp$q = Object.defineProperty, __getOwnPropDesc$f = Object.getOwnPropertyDescriptor, __decorateClass$q = (te, J, X, re) => {
15038
+ }, styles$i = ".active-filters-header{display:flex;flex-direction:column;border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;padding:var(--dss-spacing-sm) var(--dss-spacing-md);gap:var(--dss-spacing-xs);font-size:14px;line-height:24px}";
15039
+ var __defProp$r = Object.defineProperty, __getOwnPropDesc$f = Object.getOwnPropertyDescriptor, __decorateClass$r = (te, J, X, re) => {
15040
15040
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$f(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15041
15041
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15042
- return re && ne && __defProp$q(J, X, ne), ne;
15042
+ return re && ne && __defProp$r(J, X, ne), ne;
15043
15043
  };
15044
15044
  let ActiveFiltersHeader = class extends h$m {
15045
15045
  render() {
15046
- return ke$1`${template$j(this)}`;
15046
+ return ke$1`${template$k(this)}`;
15047
15047
  }
15048
15048
  };
15049
15049
  ActiveFiltersHeader.styles = i$w`
15050
- ${r$F(styles$h)}
15050
+ ${r$F(styles$i)}
15051
15051
  `;
15052
- __decorateClass$q([
15052
+ __decorateClass$r([
15053
15053
  connectedProperty(activityHistorySearchStringSelector)
15054
15054
  ], ActiveFiltersHeader.prototype, "searchString", 2);
15055
- __decorateClass$q([
15055
+ __decorateClass$r([
15056
15056
  connectedProperty(areCustomFiltersActive)
15057
15057
  ], ActiveFiltersHeader.prototype, "areCustomFiltersActive", 2);
15058
- __decorateClass$q([
15058
+ __decorateClass$r([
15059
15059
  connectedProperty(areCommonFiltersActive)
15060
15060
  ], ActiveFiltersHeader.prototype, "areCommonFiltersActive", 2);
15061
- __decorateClass$q([
15061
+ __decorateClass$r([
15062
15062
  connectedProperty(areDiagnosticFiltersActive)
15063
15063
  ], ActiveFiltersHeader.prototype, "areDiagnosticFiltersActive", 2);
15064
- __decorateClass$q([
15064
+ __decorateClass$r([
15065
15065
  connectedProperty(areUpFiltersActive)
15066
15066
  ], ActiveFiltersHeader.prototype, "areUpFiltersActive", 2);
15067
- ActiveFiltersHeader = __decorateClass$q([
15067
+ ActiveFiltersHeader = __decorateClass$r([
15068
15068
  t$k("active-filters-header")
15069
15069
  ], ActiveFiltersHeader);
15070
- const styles$g = ":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;height:100%;justify-content:center}", showError = "data:image/svg+xml,%3csvg%20width='215'%20height='150'%20viewBox='0%200%20215%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.567%20147.925C107.663%20137.604%2098.7018%20141.859%2073.5817%20144.094C53.0605%20145.899%2028.8192%20138.451%2013.3757%20118.871C-27.3088%2067.293%2034.5441%2014.0839%2069.5091%202.68275C94.145%20-5.32822%20109.688%205.00477%20126.605%2028.3004C133.183%2037.3621%20138.613%2048.3337%20146.353%2055.9441C154.667%2064.106%20164.606%2063.9667%20172.441%2070.7586C210.442%20103.691%20165.801%20161.689%20132.567%20147.925Z'%20fill='%23EFF7FF'/%3e%3cpath%20d='M100.714%20124.222C100.714%20124.335%20100.714%20124.448%20100.714%20124.561C100.703%20125.212%20100.443%20125.832%2099.9909%20126.288C99.5388%20126.745%2098.9306%20127%2098.297%20127L37.3382%20126.232C36.7472%20126.217%2036.1824%20125.979%2035.7523%20125.562C35.3223%20125.145%2035.0575%20124.579%2035.0089%20123.974C34.997%20123.869%2034.997%20123.763%2035.0089%20123.658C35.0218%20123.158%2035.1821%20122.675%2035.4687%20122.272C35.7552%20121.868%2036.1543%20121.564%2036.6131%20121.399C36.8615%20121.318%2037.1214%20121.28%2037.3822%20121.286L98.341%20122.032C98.7724%20122.017%2099.1984%20122.134%2099.5657%20122.367C99.9331%20122.6%20100.226%20122.939%20100.407%20123.341C100.568%20123.61%20100.673%20123.91%20100.714%20124.222Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.5'%20d='M95.9608%20127L204.061%20126.226C204.373%20126.226%20204.683%20126.162%20204.972%20126.037C205.261%20125.912%20205.523%20125.728%20205.743%20125.498C205.963%20125.267%20206.137%20124.993%20206.254%20124.692C206.372%20124.391%20206.431%20124.069%20206.428%20123.744C206.417%20123.092%20206.161%20122.47%20205.715%20122.011C205.268%20121.552%20204.667%20121.291%20204.039%20121.286L95.9389%20122.06C95.3108%20122.072%2094.7119%20122.338%2094.2697%20122.801C93.8275%20123.264%2093.5769%20123.889%2093.5713%20124.541C93.5827%20125.194%2093.8388%20125.815%2094.2851%20126.275C94.7314%20126.734%2095.3326%20126.994%2095.9608%20127Z'%20fill='%2300356A'/%3e%3cpath%20d='M212.109%2054.5398L207.23%20114.387C207.064%20116.104%20206.378%20117.729%20205.262%20119.044C204.147%20120.36%20202.656%20121.303%20200.989%20121.747C200.446%20121.91%20199.885%20122.006%20199.318%20122.033H199.033L99.2345%20122.714H99.0147C98.0548%20122.719%2097.1045%20122.522%2096.2259%20122.136C95.3472%20121.749%2094.5598%20121.182%2093.915%20120.471C93.2702%20119.76%2092.7825%20118.921%2092.4835%20118.009C92.1845%20117.098%2092.0811%20116.133%2092.1798%20115.178L97.0588%2055.3307C97.2569%2053.278%2098.2004%2051.3689%2099.7108%2049.9642C101.221%2048.5595%20103.194%2047.7565%20105.256%2047.707H106.773L205.055%2047.0039C206.032%2046.9708%20207.005%2047.1471%20207.908%2047.5208C208.812%2047.8946%20209.625%2048.4572%20210.293%2049.1709C210.961%2049.8846%20211.469%2050.7329%20211.782%2051.6589C212.095%2052.5849%20212.207%2053.5672%20212.109%2054.5398Z'%20fill='%237BACFC'/%3e%3cpath%20opacity='0.2'%20d='M208.156%2047.0002L109.387%2047.6899C108.732%2047.6984%20108.081%2047.7926%20107.451%2047.97C105.803%2048.4018%20104.328%2049.3229%20103.224%2050.6096C102.12%2051.8962%20101.439%2053.4868%20101.274%2055.1677L96.4673%20113.891C96.3645%20114.839%2096.4677%20115.798%2096.7699%20116.703C97.0721%20117.609%2097.5665%20118.439%2098.2196%20119.139C98.8728%20119.84%2099.6696%20120.393%20100.557%20120.763C101.444%20121.133%20102.4%20121.31%20103.362%20121.283L200.609%20120.593H202.11C204.152%20120.549%20206.107%20119.763%20207.603%20118.385C209.099%20117.006%20210.031%20115.131%20210.223%20113.116L214.964%2054.4134C215.062%2053.4725%20214.959%2052.5216%20214.66%2051.6231C214.362%2050.7245%20213.876%2049.8983%20213.233%2049.1986C212.591%2048.499%20211.806%2047.9415%20210.932%2047.5627C210.057%2047.1839%20209.111%2046.9922%20208.156%2047.0002Z'%20fill='white'/%3e%3ccircle%20cx='33'%20cy='31'%20r='20'%20fill='%23B60000'/%3e%3cpath%20d='M41.4%2022.6133C40.88%2022.0933%2040.04%2022.0933%2039.52%2022.6133L33%2029.12L26.48%2022.6C25.96%2022.08%2025.12%2022.08%2024.6%2022.6C24.08%2023.12%2024.08%2023.96%2024.6%2024.48L31.12%2031L24.6%2037.52C24.08%2038.04%2024.08%2038.88%2024.6%2039.4C25.12%2039.92%2025.96%2039.92%2026.48%2039.4L33%2032.88L39.52%2039.4C40.04%2039.92%2040.88%2039.92%2041.4%2039.4C41.92%2038.88%2041.92%2038.04%2041.4%2037.52L34.88%2031L41.4%2024.48C41.9066%2023.9733%2041.9066%2023.12%2041.4%2022.6133Z'%20fill='white'/%3e%3c/svg%3e", template$i = (te) => ke$1`
15070
+ const styles$h = ":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;height:100%;justify-content:center}", showError = "data:image/svg+xml,%3csvg%20width='215'%20height='150'%20viewBox='0%200%20215%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.567%20147.925C107.663%20137.604%2098.7018%20141.859%2073.5817%20144.094C53.0605%20145.899%2028.8192%20138.451%2013.3757%20118.871C-27.3088%2067.293%2034.5441%2014.0839%2069.5091%202.68275C94.145%20-5.32822%20109.688%205.00477%20126.605%2028.3004C133.183%2037.3621%20138.613%2048.3337%20146.353%2055.9441C154.667%2064.106%20164.606%2063.9667%20172.441%2070.7586C210.442%20103.691%20165.801%20161.689%20132.567%20147.925Z'%20fill='%23EFF7FF'/%3e%3cpath%20d='M100.714%20124.222C100.714%20124.335%20100.714%20124.448%20100.714%20124.561C100.703%20125.212%20100.443%20125.832%2099.9909%20126.288C99.5388%20126.745%2098.9306%20127%2098.297%20127L37.3382%20126.232C36.7472%20126.217%2036.1824%20125.979%2035.7523%20125.562C35.3223%20125.145%2035.0575%20124.579%2035.0089%20123.974C34.997%20123.869%2034.997%20123.763%2035.0089%20123.658C35.0218%20123.158%2035.1821%20122.675%2035.4687%20122.272C35.7552%20121.868%2036.1543%20121.564%2036.6131%20121.399C36.8615%20121.318%2037.1214%20121.28%2037.3822%20121.286L98.341%20122.032C98.7724%20122.017%2099.1984%20122.134%2099.5657%20122.367C99.9331%20122.6%20100.226%20122.939%20100.407%20123.341C100.568%20123.61%20100.673%20123.91%20100.714%20124.222Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.5'%20d='M95.9608%20127L204.061%20126.226C204.373%20126.226%20204.683%20126.162%20204.972%20126.037C205.261%20125.912%20205.523%20125.728%20205.743%20125.498C205.963%20125.267%20206.137%20124.993%20206.254%20124.692C206.372%20124.391%20206.431%20124.069%20206.428%20123.744C206.417%20123.092%20206.161%20122.47%20205.715%20122.011C205.268%20121.552%20204.667%20121.291%20204.039%20121.286L95.9389%20122.06C95.3108%20122.072%2094.7119%20122.338%2094.2697%20122.801C93.8275%20123.264%2093.5769%20123.889%2093.5713%20124.541C93.5827%20125.194%2093.8388%20125.815%2094.2851%20126.275C94.7314%20126.734%2095.3326%20126.994%2095.9608%20127Z'%20fill='%2300356A'/%3e%3cpath%20d='M212.109%2054.5398L207.23%20114.387C207.064%20116.104%20206.378%20117.729%20205.262%20119.044C204.147%20120.36%20202.656%20121.303%20200.989%20121.747C200.446%20121.91%20199.885%20122.006%20199.318%20122.033H199.033L99.2345%20122.714H99.0147C98.0548%20122.719%2097.1045%20122.522%2096.2259%20122.136C95.3472%20121.749%2094.5598%20121.182%2093.915%20120.471C93.2702%20119.76%2092.7825%20118.921%2092.4835%20118.009C92.1845%20117.098%2092.0811%20116.133%2092.1798%20115.178L97.0588%2055.3307C97.2569%2053.278%2098.2004%2051.3689%2099.7108%2049.9642C101.221%2048.5595%20103.194%2047.7565%20105.256%2047.707H106.773L205.055%2047.0039C206.032%2046.9708%20207.005%2047.1471%20207.908%2047.5208C208.812%2047.8946%20209.625%2048.4572%20210.293%2049.1709C210.961%2049.8846%20211.469%2050.7329%20211.782%2051.6589C212.095%2052.5849%20212.207%2053.5672%20212.109%2054.5398Z'%20fill='%237BACFC'/%3e%3cpath%20opacity='0.2'%20d='M208.156%2047.0002L109.387%2047.6899C108.732%2047.6984%20108.081%2047.7926%20107.451%2047.97C105.803%2048.4018%20104.328%2049.3229%20103.224%2050.6096C102.12%2051.8962%20101.439%2053.4868%20101.274%2055.1677L96.4673%20113.891C96.3645%20114.839%2096.4677%20115.798%2096.7699%20116.703C97.0721%20117.609%2097.5665%20118.439%2098.2196%20119.139C98.8728%20119.84%2099.6696%20120.393%20100.557%20120.763C101.444%20121.133%20102.4%20121.31%20103.362%20121.283L200.609%20120.593H202.11C204.152%20120.549%20206.107%20119.763%20207.603%20118.385C209.099%20117.006%20210.031%20115.131%20210.223%20113.116L214.964%2054.4134C215.062%2053.4725%20214.959%2052.5216%20214.66%2051.6231C214.362%2050.7245%20213.876%2049.8983%20213.233%2049.1986C212.591%2048.499%20211.806%2047.9415%20210.932%2047.5627C210.057%2047.1839%20209.111%2046.9922%20208.156%2047.0002Z'%20fill='white'/%3e%3ccircle%20cx='33'%20cy='31'%20r='20'%20fill='%23B60000'/%3e%3cpath%20d='M41.4%2022.6133C40.88%2022.0933%2040.04%2022.0933%2039.52%2022.6133L33%2029.12L26.48%2022.6C25.96%2022.08%2025.12%2022.08%2024.6%2022.6C24.08%2023.12%2024.08%2023.96%2024.6%2024.48L31.12%2031L24.6%2037.52C24.08%2038.04%2024.08%2038.88%2024.6%2039.4C25.12%2039.92%2025.96%2039.92%2026.48%2039.4L33%2032.88L39.52%2039.4C40.04%2039.92%2040.88%2039.92%2041.4%2039.4C41.92%2038.88%2041.92%2038.04%2041.4%2037.52L34.88%2031L41.4%2024.48C41.9066%2023.9733%2041.9066%2023.12%2041.4%2022.6133Z'%20fill='white'/%3e%3c/svg%3e", template$j = (te) => ke$1`
15071
15071
  ${te.isAllDataFailedToLoad ? renderErrorFeedback(te) : D$2}
15072
15072
  `, renderErrorFeedback = (te) => ke$1`
15073
15073
  <div class="container">
@@ -15087,38 +15087,38 @@ class HandleHistoryItemsAddError {
15087
15087
  this.entities = J;
15088
15088
  }
15089
15089
  }
15090
- var __defProp$p = Object.defineProperty, __getOwnPropDesc$e = Object.getOwnPropertyDescriptor, __decorateClass$p = (te, J, X, re) => {
15090
+ var __defProp$q = Object.defineProperty, __getOwnPropDesc$e = Object.getOwnPropertyDescriptor, __decorateClass$q = (te, J, X, re) => {
15091
15091
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$e(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15092
15092
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15093
- return re && ne && __defProp$p(J, X, ne), ne;
15093
+ return re && ne && __defProp$q(J, X, ne), ne;
15094
15094
  };
15095
15095
  let ActivityHistoryFullDataError = class extends h$m {
15096
15096
  constructor() {
15097
15097
  super(...arguments), this.errorMessages = [];
15098
15098
  }
15099
15099
  render() {
15100
- return ke$1`${template$i(this)}`;
15100
+ return ke$1`${template$j(this)}`;
15101
15101
  }
15102
15102
  handleClickFeedback() {
15103
15103
  this.api.broker.send(new HandleHistoryItemsAddError(this.errorMessages));
15104
15104
  }
15105
15105
  };
15106
15106
  ActivityHistoryFullDataError.styles = i$w`
15107
- ${r$F(styles$g)}
15107
+ ${r$F(styles$h)}
15108
15108
  `;
15109
- __decorateClass$p([
15109
+ __decorateClass$q([
15110
15110
  connectedProperty(isAllDataFailedToLoad)
15111
15111
  ], ActivityHistoryFullDataError.prototype, "isAllDataFailedToLoad", 2);
15112
- __decorateClass$p([
15112
+ __decorateClass$q([
15113
15113
  connectedProperty(selectErrorMessages)
15114
15114
  ], ActivityHistoryFullDataError.prototype, "errorMessages", 2);
15115
- __decorateClass$p([
15116
- lazyInject$1(TYPES$1.primaryApi)
15115
+ __decorateClass$q([
15116
+ lazyInject$2(TYPES$2.primaryApi)
15117
15117
  ], ActivityHistoryFullDataError.prototype, "api", 2);
15118
- ActivityHistoryFullDataError = __decorateClass$p([
15118
+ ActivityHistoryFullDataError = __decorateClass$q([
15119
15119
  t$k("activity-history-full-data-error")
15120
15120
  ], ActivityHistoryFullDataError);
15121
- const styles$f = ":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;padding-top:16px;padding-inline:16px}", template$h = (te) => {
15121
+ const styles$g = ":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;padding-top:16px;padding-inline:16px}", template$i = (te) => {
15122
15122
  const J = te.getCombinedMessage();
15123
15123
  return ke$1`
15124
15124
  ${te.isErrorOccurred ? renderPartialErrorAlert(te, J) : D$2}
@@ -15128,17 +15128,17 @@ const styles$f = ":host{width:100%}.container{display:flex;align-items:center;fl
15128
15128
  <dss-alert @onButtonClick=${te.handleClickAlert} state="warning" size="lg" message="${J}" buttonLabel=${translate("error.partial.refresh")} hasbutton></dss-alert>
15129
15129
  </div>
15130
15130
  `;
15131
- var __defProp$o = Object.defineProperty, __getOwnPropDesc$d = Object.getOwnPropertyDescriptor, __decorateClass$o = (te, J, X, re) => {
15131
+ var __defProp$p = Object.defineProperty, __getOwnPropDesc$d = Object.getOwnPropertyDescriptor, __decorateClass$p = (te, J, X, re) => {
15132
15132
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$d(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15133
15133
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15134
- return re && ne && __defProp$o(J, X, ne), ne;
15134
+ return re && ne && __defProp$p(J, X, ne), ne;
15135
15135
  };
15136
15136
  let ActivityHistoryPartialDataError = class extends h$m {
15137
15137
  constructor() {
15138
15138
  super(...arguments), this.errorMessages = [];
15139
15139
  }
15140
15140
  render() {
15141
- return ke$1`${template$h(this)}`;
15141
+ return ke$1`${template$i(this)}`;
15142
15142
  }
15143
15143
  handleClickAlert() {
15144
15144
  this.api.broker.send(new HandleHistoryItemsAddError(this.errorMessages));
@@ -15149,21 +15149,21 @@ let ActivityHistoryPartialDataError = class extends h$m {
15149
15149
  }
15150
15150
  };
15151
15151
  ActivityHistoryPartialDataError.styles = i$w`
15152
- ${r$F(styles$f)}
15152
+ ${r$F(styles$g)}
15153
15153
  `;
15154
- __decorateClass$o([
15154
+ __decorateClass$p([
15155
15155
  connectedProperty(isErrorOccurred)
15156
15156
  ], ActivityHistoryPartialDataError.prototype, "isErrorOccurred", 2);
15157
- __decorateClass$o([
15157
+ __decorateClass$p([
15158
15158
  connectedProperty(selectErrorMessages)
15159
15159
  ], ActivityHistoryPartialDataError.prototype, "errorMessages", 2);
15160
- __decorateClass$o([
15161
- lazyInject$1(TYPES$1.primaryApi)
15160
+ __decorateClass$p([
15161
+ lazyInject$2(TYPES$2.primaryApi)
15162
15162
  ], ActivityHistoryPartialDataError.prototype, "api", 2);
15163
- ActivityHistoryPartialDataError = __decorateClass$o([
15163
+ ActivityHistoryPartialDataError = __decorateClass$p([
15164
15164
  t$k("activity-history-partial-data-error")
15165
15165
  ], ActivityHistoryPartialDataError);
15166
- const styles$e = ".filters-sidebar{padding:8px 4px;border-right:1px solid rgb(189,189,189);width:56px;height:100%;box-sizing:border-box;display:flex;flex-direction:column}.filters-sidebar dss-icon-button{align-self:center}.filters-sidebar[expanded]{width:296px}.filters-sidebar[expanded] .filters-sidebar-opened{display:flex;align-items:center;justify-content:space-between;padding-inline:8px;color:var(--color-neutral-900);font-weight:700;font-size:16px;line-height:24px}.filter-container{display:flex;flex-direction:column;padding:16px 8px 8px;overflow:auto}.filter-container .filter{padding:8px 0;border-bottom:1px solid var(--color-neutral-200)}.filter-group{display:flex;flex-direction:column;padding-top:12px;gap:var(--dss-spacing-xs)}.filter-group .custom-filter{display:flex;flex-direction:column;padding:6px 8px 6px var(--dss-spacing-xl)}.filter-group .custom-filter .custom-filter-content{display:flex;flex-direction:column;gap:8px}", filterTemplates = {
15166
+ const styles$f = ".filters-sidebar{padding:8px 4px;border-right:1px solid rgb(189,189,189);width:56px;height:100%;box-sizing:border-box;display:flex;flex-direction:column}.filters-sidebar dss-icon-button{align-self:center}.filters-sidebar[expanded]{width:296px}.filters-sidebar[expanded] .filters-sidebar-opened{display:flex;align-items:center;justify-content:space-between;padding-inline:8px;color:var(--color-neutral-900);font-weight:700;font-size:16px;line-height:24px}.filter-container{display:flex;flex-direction:column;padding:16px 8px 8px;overflow:auto}.filter-container .filter{padding:8px 0;border-bottom:1px solid var(--color-neutral-200)}.filter-group{display:flex;flex-direction:column;padding-top:12px;gap:var(--dss-spacing-xs)}.filter-group .custom-filter{display:flex;flex-direction:column;padding:6px 8px 6px var(--dss-spacing-xl)}.filter-group .custom-filter .custom-filter-content{display:flex;flex-direction:column;gap:8px}", filterTemplates = {
15167
15167
  [ActivityHistoryFilterType.Switch]: (te, J, X, re, ne) => ke$1`
15168
15168
  <dss-input-switch size="sm" @onChangeValue=${X} .checked=${re}>
15169
15169
  <input slot="input" id="switch-${te}" aria-label=${J} type="checkbox" ?disabled=${!ne}>
@@ -15185,7 +15185,7 @@ const styles$e = ".filters-sidebar{padding:8px 4px;border-right:1px solid rgb(18
15185
15185
  te.singleOption ? J(X == null ? void 0 : X.id, te.id, null, ge.detail) : ne && re ? J(X == null ? void 0 : X.id, te.id, re.id, ge.detail) : J(te.id, ge.detail);
15186
15186
  }, he = ne && re ? (pe = te.enabledValues) == null ? void 0 : pe.includes(re.id) : te.enabled, ue = ne && re || te.singleOption ? X.enabled : !0;
15187
15187
  return ((fe = filterTemplates[te.type]) == null ? void 0 : fe.call(filterTemplates, oe, de, ce, he, ue)) || ke$1``;
15188
- }, template$g = (te) => {
15188
+ }, template$h = (te) => {
15189
15189
  var J, X;
15190
15190
  return ke$1`
15191
15191
  <div class="filters-sidebar" ?expanded=${te.filtersExpanded} >
@@ -15286,17 +15286,17 @@ class SetCustomFilterAllValues {
15286
15286
  this.payload = J;
15287
15287
  }
15288
15288
  }
15289
- var __defProp$n = Object.defineProperty, __getOwnPropDesc$c = Object.getOwnPropertyDescriptor, __decorateClass$n = (te, J, X, re) => {
15289
+ var __defProp$o = Object.defineProperty, __getOwnPropDesc$c = Object.getOwnPropertyDescriptor, __decorateClass$o = (te, J, X, re) => {
15290
15290
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$c(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15291
15291
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15292
- return re && ne && __defProp$n(J, X, ne), ne;
15292
+ return re && ne && __defProp$o(J, X, ne), ne;
15293
15293
  };
15294
15294
  let ActivityHistoryFilters = class extends h$m {
15295
15295
  constructor() {
15296
15296
  super(...arguments), this.filtersExpanded = !1;
15297
15297
  }
15298
15298
  render() {
15299
- return ke$1`${template$g(this)}`;
15299
+ return ke$1`${template$h(this)}`;
15300
15300
  }
15301
15301
  updated(te) {
15302
15302
  te.has("wrapperMaximized") && (this.filtersExpanded = this.wrapperMaximized);
@@ -15339,36 +15339,36 @@ let ActivityHistoryFilters = class extends h$m {
15339
15339
  }
15340
15340
  };
15341
15341
  ActivityHistoryFilters.styles = i$w`
15342
- ${r$F(styles$e)}
15342
+ ${r$F(styles$f)}
15343
15343
  `;
15344
- __decorateClass$n([
15344
+ __decorateClass$o([
15345
15345
  connectedProperty(activityHistoryCommonFiltersSelector)
15346
15346
  ], ActivityHistoryFilters.prototype, "commonFilters", 2);
15347
- __decorateClass$n([
15347
+ __decorateClass$o([
15348
15348
  connectedProperty(customFilterGroupsWithOptionsSelector)
15349
15349
  ], ActivityHistoryFilters.prototype, "customFilterGroups", 2);
15350
- __decorateClass$n([
15350
+ __decorateClass$o([
15351
15351
  connectedProperty(diagnosticFilterSelector)
15352
15352
  ], ActivityHistoryFilters.prototype, "diagnosticFilter", 2);
15353
- __decorateClass$n([
15353
+ __decorateClass$o([
15354
15354
  connectedProperty(diagnosticFilterEnabledValuesSelector)
15355
15355
  ], ActivityHistoryFilters.prototype, "diagnosticFilterEnabledValues", 2);
15356
- __decorateClass$n([
15356
+ __decorateClass$o([
15357
15357
  connectedProperty(upFilterSelector)
15358
15358
  ], ActivityHistoryFilters.prototype, "upFilter", 2);
15359
- __decorateClass$n([
15359
+ __decorateClass$o([
15360
15360
  connectedProperty(upFilterEnabledValuesSelector)
15361
15361
  ], ActivityHistoryFilters.prototype, "upFilterEnabledValues", 2);
15362
- __decorateClass$n([
15363
- lazyInject$1(TYPES$1.primaryApi)
15362
+ __decorateClass$o([
15363
+ lazyInject$2(TYPES$2.primaryApi)
15364
15364
  ], ActivityHistoryFilters.prototype, "api", 2);
15365
- __decorateClass$n([
15365
+ __decorateClass$o([
15366
15366
  r$C()
15367
15367
  ], ActivityHistoryFilters.prototype, "filtersExpanded", 2);
15368
- __decorateClass$n([
15368
+ __decorateClass$o([
15369
15369
  n$z({ type: Boolean })
15370
15370
  ], ActivityHistoryFilters.prototype, "wrapperMaximized", 2);
15371
- ActivityHistoryFilters = __decorateClass$n([
15371
+ ActivityHistoryFilters = __decorateClass$o([
15372
15372
  t$k("activity-history-filters")
15373
15373
  ], ActivityHistoryFilters);
15374
15374
  const { setCommonFilterValue } = activityHistoryFiltersSlice.actions;
@@ -15559,46 +15559,46 @@ class SearchActivityHistoryItems {
15559
15559
  this.searchString = J, this.searchString = J;
15560
15560
  }
15561
15561
  }
15562
- const styles$d = ".search-header{color:var(--color-neutral-900);font-weight:600}", template$f = (te) => ke$1`<div class="search-header">
15562
+ const styles$e = ".search-header{color:var(--color-neutral-900);font-weight:600}", template$g = (te) => ke$1`<div class="search-header">
15563
15563
  ${translate("searchBarResults")} “${te.searchQuery}”
15564
15564
  </div>`;
15565
- var __defProp$m = Object.defineProperty, __getOwnPropDesc$b = Object.getOwnPropertyDescriptor, __decorateClass$m = (te, J, X, re) => {
15565
+ var __defProp$n = Object.defineProperty, __getOwnPropDesc$b = Object.getOwnPropertyDescriptor, __decorateClass$n = (te, J, X, re) => {
15566
15566
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$b(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15567
15567
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15568
- return re && ne && __defProp$m(J, X, ne), ne;
15568
+ return re && ne && __defProp$n(J, X, ne), ne;
15569
15569
  };
15570
15570
  let ActivityHistorySearchResults = class extends h$m {
15571
15571
  constructor() {
15572
15572
  super(...arguments), this.searchQuery = "";
15573
15573
  }
15574
15574
  render() {
15575
- return ke$1`${template$f(this)}`;
15575
+ return ke$1`${template$g(this)}`;
15576
15576
  }
15577
15577
  };
15578
15578
  ActivityHistorySearchResults.styles = i$w`
15579
- ${r$F(styles$d)}
15579
+ ${r$F(styles$e)}
15580
15580
  `;
15581
- __decorateClass$m([
15581
+ __decorateClass$n([
15582
15582
  n$z()
15583
15583
  ], ActivityHistorySearchResults.prototype, "searchQuery", 2);
15584
- ActivityHistorySearchResults = __decorateClass$m([
15584
+ ActivityHistorySearchResults = __decorateClass$n([
15585
15585
  t$k("activity-history-search-results")
15586
15586
  ], ActivityHistorySearchResults);
15587
- const styles$c = ".search-header{padding-inline:16px;padding-top:12px;padding-bottom:12px;gap:var(--dss-spacing-xs);border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;color:var(--color-neutral-900);font-weight:600;font-size:14px;line-height:24px}", template$e = (te) => ke$1`<dss-search-bar dropdownStyle=${"display: none"} @onSearchChange=${te._handleSearchChange} icon="search" inputsize="md" threshold="2" recentsearchestext="" emptydropdowntext="">
15587
+ const styles$d = ".search-header{padding-inline:16px;padding-top:12px;padding-bottom:12px;gap:var(--dss-spacing-xs);border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;color:var(--color-neutral-900);font-weight:600;font-size:14px;line-height:24px}", template$f = (te) => ke$1`<dss-search-bar dropdownStyle=${"display: none"} @onSearchChange=${te._handleSearchChange} icon="search" inputsize="md" threshold="2" recentsearchestext="" emptydropdowntext="">
15588
15588
  <label slot="label" for="searchbar1" aria-hidden="false"></label>
15589
15589
  <input slot="input" id="searchbar1" type="text" value=${te.searchQuery} @input=${(J) => te._handleSearchChange({ detail: [J.target.value] })}>
15590
15590
  </dss-search-bar>`;
15591
- var __defProp$l = Object.defineProperty, __getOwnPropDesc$a = Object.getOwnPropertyDescriptor, __decorateClass$l = (te, J, X, re) => {
15591
+ var __defProp$m = Object.defineProperty, __getOwnPropDesc$a = Object.getOwnPropertyDescriptor, __decorateClass$m = (te, J, X, re) => {
15592
15592
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$a(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15593
15593
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15594
- return re && ne && __defProp$l(J, X, ne), ne;
15594
+ return re && ne && __defProp$m(J, X, ne), ne;
15595
15595
  };
15596
15596
  let ActivityHistorySearchBar = class extends h$m {
15597
15597
  constructor() {
15598
15598
  super(...arguments), this.searchQuery = "";
15599
15599
  }
15600
15600
  render() {
15601
- return ke$1`${template$e(this)}`;
15601
+ return ke$1`${template$f(this)}`;
15602
15602
  }
15603
15603
  _handleSearchChange(te) {
15604
15604
  const J = te.detail || [], X = J.length > 0 ? J.join(" ") : "", re = X.length > 1 ? X : "";
@@ -15606,15 +15606,15 @@ let ActivityHistorySearchBar = class extends h$m {
15606
15606
  }
15607
15607
  };
15608
15608
  ActivityHistorySearchBar.styles = i$w`
15609
- ${r$F(styles$c)}
15609
+ ${r$F(styles$d)}
15610
15610
  `;
15611
- __decorateClass$l([
15611
+ __decorateClass$m([
15612
15612
  n$z()
15613
15613
  ], ActivityHistorySearchBar.prototype, "searchQuery", 2);
15614
- ActivityHistorySearchBar = __decorateClass$l([
15614
+ ActivityHistorySearchBar = __decorateClass$m([
15615
15615
  t$k("activity-history-search-bar")
15616
15616
  ], ActivityHistorySearchBar);
15617
- const styles$b = ":host{display:flex;justify-content:space-between}.filters-container{display:flex;gap:var(--dss-spacing-md)}.filters-header{font-weight:700}.filter-groups{display:flex;flex-wrap:wrap;gap:var(--dss-spacing-xs)}.filter-group{display:flex;gap:var(--dss-spacing-xs);color:var(--color-neutral-600);font-weight:600}.clean-filters{display:flex}.clean-filters .separator{padding:0 8px}.popover-content{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:var(--dss-spacing-xs);padding:10px;max-width:368px;max-height:336px;overflow:auto}", formatShowFilterTitle = (te) => {
15617
+ const styles$c = ":host{display:flex;justify-content:space-between}.filters-container{display:flex;gap:var(--dss-spacing-md)}.filters-header{font-weight:700}.filter-groups{display:flex;flex-wrap:wrap;gap:var(--dss-spacing-xs)}.filter-group{display:flex;gap:var(--dss-spacing-xs);color:var(--color-neutral-600);font-weight:600}.clean-filters{display:flex}.clean-filters .separator{padding:0 8px}.popover-content{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:var(--dss-spacing-xs);padding:10px;max-width:368px;max-height:336px;overflow:auto}", formatShowFilterTitle = (te) => {
15618
15618
  var X;
15619
15619
  const J = (X = te.replace(/veure/gi, "")) == null ? void 0 : X.trim();
15620
15620
  return J.charAt(0).toUpperCase() + J.slice(1);
@@ -15654,7 +15654,7 @@ const styles$b = ":host{display:flex;justify-content:space-between}.filters-cont
15654
15654
  @click=${() => X._onDeleteUpFilterValue(te)}
15655
15655
  @onDelete=${() => X._onDeleteUpFilterValue(te)}
15656
15656
  ></dss-chip>
15657
- `, renderFilterTitle = (te) => ke$1`<div class="filter-title">${`${te}:`}</div>`, template$d = (te) => {
15657
+ `, renderFilterTitle = (te) => ke$1`<div class="filter-title">${`${te}:`}</div>`, template$e = (te) => {
15658
15658
  var ce;
15659
15659
  if (te.enabledFilters.length === 0 && te.enabledCommonFilters.length === 0 && te.diagnosticFilterEnabled.enabledValues.length === 0 && te.upFilterEnabled.enabledValues.length === 0)
15660
15660
  return D$2;
@@ -15725,14 +15725,14 @@ const styles$b = ":host{display:flex;justify-content:space-between}.filters-cont
15725
15725
  </div>
15726
15726
  `;
15727
15727
  };
15728
- var __defProp$k = Object.defineProperty, __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor, __decorateClass$k = (te, J, X, re) => {
15728
+ var __defProp$l = Object.defineProperty, __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor, __decorateClass$l = (te, J, X, re) => {
15729
15729
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$9(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15730
15730
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15731
- return re && ne && __defProp$k(J, X, ne), ne;
15731
+ return re && ne && __defProp$l(J, X, ne), ne;
15732
15732
  };
15733
15733
  let ActiveFiltersBadges = class extends h$m {
15734
15734
  render() {
15735
- return ke$1`${template$d(this)}`;
15735
+ return ke$1`${template$e(this)}`;
15736
15736
  }
15737
15737
  _onDeleteFilterValue(te, J, X, re) {
15738
15738
  this.api.broker.send(
@@ -15760,24 +15760,24 @@ let ActiveFiltersBadges = class extends h$m {
15760
15760
  }
15761
15761
  };
15762
15762
  ActiveFiltersBadges.styles = i$w`
15763
- ${r$F(styles$b)}
15763
+ ${r$F(styles$c)}
15764
15764
  `;
15765
- __decorateClass$k([
15766
- lazyInject$1(TYPES$1.primaryApi)
15765
+ __decorateClass$l([
15766
+ lazyInject$2(TYPES$2.primaryApi)
15767
15767
  ], ActiveFiltersBadges.prototype, "api", 2);
15768
- __decorateClass$k([
15768
+ __decorateClass$l([
15769
15769
  connectedProperty(activityHistoryEnabledCommonFiltersSelector)
15770
15770
  ], ActiveFiltersBadges.prototype, "enabledCommonFilters", 2);
15771
- __decorateClass$k([
15771
+ __decorateClass$l([
15772
15772
  connectedProperty(customFilterGroupsWithOptionsSelector)
15773
15773
  ], ActiveFiltersBadges.prototype, "enabledFilters", 2);
15774
- __decorateClass$k([
15774
+ __decorateClass$l([
15775
15775
  connectedProperty(diagnosticFilterSelector)
15776
15776
  ], ActiveFiltersBadges.prototype, "diagnosticFilterEnabled", 2);
15777
- __decorateClass$k([
15777
+ __decorateClass$l([
15778
15778
  connectedProperty(upFilterSelector)
15779
15779
  ], ActiveFiltersBadges.prototype, "upFilterEnabled", 2);
15780
- ActiveFiltersBadges = __decorateClass$k([
15780
+ ActiveFiltersBadges = __decorateClass$l([
15781
15781
  t$k("active-filters-badges")
15782
15782
  ], ActiveFiltersBadges);
15783
15783
  let request$5;
@@ -15805,38 +15805,38 @@ const bootstrapHandleHistoryItemsAddError = (te) => {
15805
15805
  teardownHandleHistoryItemsAddError(), request$4 = te.registerRequest(HandleHistoryItemsAddError, HandleHistoryItemsAddErrorHandler);
15806
15806
  }, teardownHandleHistoryItemsAddError = () => {
15807
15807
  request$4 == null || request$4.dispose();
15808
- }, styles$a = ".spinner-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}.skeleton-container{padding:20px;height:100%}", template$c = (te) => te.isCollectionInitialState ? ke$1`<div class="skeleton-container">${te.skeletons}</div>` : te.isSomeCollectionLoadedAndOtherLoading ? ke$1`<div class="spinner-container"><dss-spinner size="sm"></dss-spinner><div class="busy-description">${translate("busyEntriesLoading")}</div></div>` : D$2;
15809
- var __defProp$j = Object.defineProperty, __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor, __decorateClass$j = (te, J, X, re) => {
15808
+ }, styles$b = ".spinner-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}.skeleton-container{padding:20px;height:100%}", template$d = (te) => te.isCollectionInitialState ? ke$1`<div class="skeleton-container">${te.skeletons}</div>` : te.isSomeCollectionLoadedAndOtherLoading ? ke$1`<div class="spinner-container"><dss-spinner size="sm"></dss-spinner><div class="busy-description">${translate("busyEntriesLoading")}</div></div>` : D$2;
15809
+ var __defProp$k = Object.defineProperty, __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor, __decorateClass$k = (te, J, X, re) => {
15810
15810
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$8(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15811
15811
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15812
- return re && ne && __defProp$j(J, X, ne), ne;
15812
+ return re && ne && __defProp$k(J, X, ne), ne;
15813
15813
  };
15814
15814
  let ActivityHistoryBusy = class extends h$m {
15815
15815
  render() {
15816
- return ke$1`${template$c(this)}`;
15816
+ return ke$1`${template$d(this)}`;
15817
15817
  }
15818
15818
  get skeletons() {
15819
15819
  return Array.from({ length: 12 }, () => ke$1`<dss-skeleton width="100" height="10"></dss-skeleton>`);
15820
15820
  }
15821
15821
  };
15822
15822
  ActivityHistoryBusy.styles = i$w`
15823
- ${r$F(styles$a)}
15823
+ ${r$F(styles$b)}
15824
15824
  `;
15825
- __decorateClass$j([
15825
+ __decorateClass$k([
15826
15826
  connectedProperty(isCollectionInitialState)
15827
15827
  ], ActivityHistoryBusy.prototype, "isCollectionInitialState", 2);
15828
- __decorateClass$j([
15828
+ __decorateClass$k([
15829
15829
  connectedProperty(isSomeCollectionLoadedAndOtherLoading)
15830
15830
  ], ActivityHistoryBusy.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
15831
- ActivityHistoryBusy = __decorateClass$j([
15831
+ ActivityHistoryBusy = __decorateClass$k([
15832
15832
  t$k("activity-history-busy")
15833
15833
  ], ActivityHistoryBusy);
15834
15834
  let broker;
15835
15835
  const bootstrapActivityHistoryItem = (te) => {
15836
- broker = brokerExtensions(te, container$1), bootstrapInjectAsyncHistoryItems(broker), bootstrapAddHistoryItem(broker), bootstrapAddHistoryItems(broker), bootstrapHandleHistoryItemsAddError(broker), bootstrapUpdateHistoryItem(broker), bootstrapExportPdf(broker), bootstrapFilters(broker), bootstrapSearchItems(broker);
15836
+ broker = brokerExtensions(te, container$2), bootstrapInjectAsyncHistoryItems(broker), bootstrapAddHistoryItem(broker), bootstrapAddHistoryItems(broker), bootstrapHandleHistoryItemsAddError(broker), bootstrapUpdateHistoryItem(broker), bootstrapExportPdf(broker), bootstrapFilters(broker), bootstrapSearchItems(broker);
15837
15837
  }, teardownActivityHistoryItem = () => {
15838
15838
  teardownInjectAsyncHistoryItems(), teardownAddHistoryItem(), teardownAddHistoryItems(), teardownHandleHistoryItemsAddError(), teardownUpdateHistoryItem(), teardownExportPdf(), teardownFilters(), teardownSearchItems();
15839
- }, styles$9 = ":host{display:flex;min-height:1px;height:100%;width:100%}.container{display:flex;flex-direction:column;width:100%;border:1px solid rgb(189,189,189);border-radius:var(--dss-radius-sm)}.container[maximized]{position:absolute;background:#fff;top:0;left:0;bottom:0;border:none}.container[maximized] .header-maximized-container{display:flex;flex-direction:column}.container[maximized] .header-maximized-container .header__maximized{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding-top:24px;padding-bottom:24px;padding-inline:40px}.container[maximized] .header-maximized-container .header__maximized .header__maximized__search{flex:1;border-radius:8px;border:1px solid rgb(189,189,189);padding:8px;width:300px}.container[maximized] .header-maximized-container .header__maximized .title{color:var(--color-neutral-900);font-weight:700;font-size:20px;line-height:30px;white-space:nowrap}.container[maximized] .header-maximized-container .header__maximized .options{display:flex;align-items:center;color:var(--color-primary-400);font-weight:600;font-size:14px;line-height:24px;cursor:pointer}.container[maximized] .header-maximized-container .header__maximized .header__maximized__left{display:flex;flex-direction:row;gap:24px;align-items:center;width:100%}.container[maximized] .header-maximized-container .header__maximized .header__maximized__right{display:flex;flex-direction:row;gap:16px;align-items:center}.container[maximized] .wrapper{height:calc(100vh - 175px);border:1px solid rgb(189,189,189);border-radius:var(--dss-radius-sm);margin-bottom:24px;margin-inline:40px;width:calc(100% - 80px)}.container .header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid rgb(189,189,189);gap:16px}.container .header .header__left{display:flex;flex-direction:row;align-items:center;flex:1;gap:16px}.container .header .header__left .title{color:var(--color-neutral-800);font-weight:700;font-size:16px;line-height:24px;white-space:nowrap}.container .header .header__right{display:flex;flex-direction:row;align-items:center;gap:8px}.container .header .header__right .action-icons{display:flex;align-items:center}.container .wrapper{display:flex;flex-direction:row;min-height:1px;width:100%;height:100%}.container .wrapper[maximized] .content{width:100%;background:var(--color-neutral-50);border-top-right-radius:var(--dss-radius-sm);display:flex;flex-direction:column}.container .wrapper .content{width:100%;background:var(--color-neutral-50);border-bottom-right-radius:var(--dss-radius-sm);overflow:hidden;display:flex;flex-direction:column}", template$b = (te) => ke$1`<div class="container" ?maximized=${te.maximized}>
15839
+ }, styles$a = ":host{display:flex;min-height:1px;height:100%;width:100%}.container{display:flex;flex-direction:column;width:100%;border:1px solid rgb(189,189,189);border-radius:var(--dss-radius-sm)}.container[maximized]{position:absolute;background:#fff;top:0;left:0;bottom:0;border:none}.container[maximized] .header-maximized-container{display:flex;flex-direction:column}.container[maximized] .header-maximized-container .header__maximized{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding-top:24px;padding-bottom:24px;padding-inline:40px}.container[maximized] .header-maximized-container .header__maximized .header__maximized__search{flex:1;border-radius:8px;border:1px solid rgb(189,189,189);padding:8px;width:300px}.container[maximized] .header-maximized-container .header__maximized .title{color:var(--color-neutral-900);font-weight:700;font-size:20px;line-height:30px;white-space:nowrap}.container[maximized] .header-maximized-container .header__maximized .options{display:flex;align-items:center;color:var(--color-primary-400);font-weight:600;font-size:14px;line-height:24px;cursor:pointer}.container[maximized] .header-maximized-container .header__maximized .header__maximized__left{display:flex;flex-direction:row;gap:24px;align-items:center;width:100%}.container[maximized] .header-maximized-container .header__maximized .header__maximized__right{display:flex;flex-direction:row;gap:16px;align-items:center}.container[maximized] .wrapper{height:calc(100vh - 175px);border:1px solid rgb(189,189,189);border-radius:var(--dss-radius-sm);margin-bottom:24px;margin-inline:40px;width:calc(100% - 80px)}.container .header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid rgb(189,189,189);gap:16px}.container .header .header__left{display:flex;flex-direction:row;align-items:center;flex:1;gap:16px}.container .header .header__left .title{color:var(--color-neutral-800);font-weight:700;font-size:16px;line-height:24px;white-space:nowrap}.container .header .header__right{display:flex;flex-direction:row;align-items:center;gap:8px}.container .header .header__right .action-icons{display:flex;align-items:center}.container .wrapper{display:flex;flex-direction:row;min-height:1px;width:100%;height:100%}.container .wrapper[maximized] .content{width:100%;background:var(--color-neutral-50);border-top-right-radius:var(--dss-radius-sm);display:flex;flex-direction:column}.container .wrapper .content{width:100%;background:var(--color-neutral-50);border-bottom-right-radius:var(--dss-radius-sm);overflow:hidden;display:flex;flex-direction:column}", template$c = (te) => ke$1`<div class="container" ?maximized=${te.maximized}>
15840
15840
  ${te.maximized ? ke$1`${headerMaximizedTemplate(te)}` : ke$1`<div class="header">
15841
15841
  <div class="header__left">
15842
15842
  <div class="title">${translate("activityHistory")}</div>
@@ -15890,17 +15890,17 @@ const bootstrapActivityHistoryItem = (te) => {
15890
15890
  </div>
15891
15891
  </div>
15892
15892
  `;
15893
- var __defProp$i = Object.defineProperty, __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor, __decorateClass$i = (te, J, X, re) => {
15893
+ var __defProp$j = Object.defineProperty, __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor, __decorateClass$j = (te, J, X, re) => {
15894
15894
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$7(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15895
15895
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15896
- return re && ne && __defProp$i(J, X, ne), ne;
15896
+ return re && ne && __defProp$j(J, X, ne), ne;
15897
15897
  };
15898
15898
  let ActivityHistoryMain = class extends PrimariaRegionHost(h$m) {
15899
15899
  constructor() {
15900
15900
  super(...arguments), this.subscriptions = [], this._searchTimeout = null, this.maximized = !1, this.searchQuery = "";
15901
15901
  }
15902
15902
  render() {
15903
- return ke$1`${template$b(this)}`;
15903
+ return ke$1`${template$c(this)}`;
15904
15904
  }
15905
15905
  connectedCallback() {
15906
15906
  super.connectedCallback();
@@ -15919,7 +15919,7 @@ let ActivityHistoryMain = class extends PrimariaRegionHost(h$m) {
15919
15919
  }
15920
15920
  _subscribeEvents() {
15921
15921
  const te = this.api.broker.subscribe("mainViewChanged", ({ viewId: J }) => {
15922
- J === "clinical-monitoring" && (this.maximized = !1);
15922
+ (J === "clinical-monitoring" || J === "admin-clinical-monitoring") && (this.maximized = !1);
15923
15923
  });
15924
15924
  this.subscriptions.push(te);
15925
15925
  }
@@ -15945,42 +15945,130 @@ let ActivityHistoryMain = class extends PrimariaRegionHost(h$m) {
15945
15945
  }
15946
15946
  };
15947
15947
  ActivityHistoryMain.styles = i$w`
15948
- ${r$F(styles$9)}
15948
+ ${r$F(styles$a)}
15949
15949
  `;
15950
- __decorateClass$i([
15950
+ __decorateClass$j([
15951
15951
  n$z({ type: Boolean, reflect: !0 })
15952
15952
  ], ActivityHistoryMain.prototype, "maximized", 2);
15953
- __decorateClass$i([
15954
- lazyInject$1(TYPES$1.primaryApi)
15953
+ __decorateClass$j([
15954
+ lazyInject$2(TYPES$2.primaryApi)
15955
15955
  ], ActivityHistoryMain.prototype, "api", 2);
15956
- __decorateClass$i([
15956
+ __decorateClass$j([
15957
15957
  connectedProperty(activityHistoryCollectionsSelector)
15958
15958
  ], ActivityHistoryMain.prototype, "historyItems", 2);
15959
- __decorateClass$i([
15959
+ __decorateClass$j([
15960
15960
  connectedProperty(isCollectionInitialState)
15961
15961
  ], ActivityHistoryMain.prototype, "isCollectionInitialState", 2);
15962
- __decorateClass$i([
15962
+ __decorateClass$j([
15963
15963
  connectedProperty(isSomeCollectionLoadedAndOtherLoading)
15964
15964
  ], ActivityHistoryMain.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
15965
- __decorateClass$i([
15965
+ __decorateClass$j([
15966
15966
  n$z()
15967
15967
  ], ActivityHistoryMain.prototype, "searchQuery", 2);
15968
- ActivityHistoryMain = __decorateClass$i([
15968
+ ActivityHistoryMain = __decorateClass$j([
15969
15969
  t$k("activity-history-main")
15970
15970
  ], ActivityHistoryMain);
15971
- const registerViews$1 = (te) => {
15971
+ const registerViews$2 = (te) => {
15972
15972
  te.regionManager.registerView(te.regionManager.regions.clinicalMonitoring.content, {
15973
15973
  id: te.pluginInfo.pluginId,
15974
15974
  factory: () => Promise.resolve(new ActivityHistoryMain())
15975
15975
  });
15976
- }, unregisterViews$1 = () => {
15977
- const te = container$1.get(TYPES$1.primaryApi);
15976
+ }, unregisterViews$2 = () => {
15977
+ const te = container$2.get(TYPES$2.primaryApi);
15978
15978
  te.regionManager.removeView(te.regionManager.regions.clinicalMonitoring.content, te.pluginInfo.pluginId);
15979
15979
  }, bootstrapFeatures = (te) => {
15980
15980
  bootstrapActivityHistoryItem(te);
15981
15981
  }, teardownFeatures = () => {
15982
15982
  teardownActivityHistoryItem();
15983
- }, initialize$1 = async (te) => (setShellApiForOwnSpec(te), registerViews$1(te), await initializeLocalization(te), bindDeps(te), bootstrapFeatures(te), Promise.resolve()), dispose$1 = () => (setShellApiForOwnSpec(null), teardownFeatures(), unregisterViews$1(), unbindDeps(), Promise.resolve()), styles$8 = ":host{min-height:1px;height:100%;width:100%}.wrapper{position:relative;min-height:1px;height:100%;display:flex;flex-direction:row}.wrapper #widgets-sidebar-region{width:25%;border-left:1px solid rgb(189,189,189);overflow:auto}.wrapper .content{flex:1;display:flex;flex-direction:column}.wrapper .content #header-widgets-region{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:24px 24px 0}.wrapper .content #content-widgets-region{flex:1;min-height:1px;height:100%;padding:24px}@media (max-width: 1024px){:host{min-height:100vh}.wrapper{flex-direction:column}.wrapper #widgets-sidebar-region{max-width:100%;width:auto;border-left:none;padding-inline:40px;padding-bottom:24px;overflow:auto}.wrapper .content #header-widgets-region{grid-template-columns:1fr;gap:16px}.wrapper .content #content-widgets-region{height:70vh;flex:none}}", template$a = (te) => ke$1`
15983
+ }, initialize$2 = async (te) => (setShellApiForOwnSpec(te), registerViews$2(te), await initializeLocalization(te), bindDeps(te), bootstrapFeatures(te), Promise.resolve()), dispose$2 = () => (setShellApiForOwnSpec(null), teardownFeatures(), unregisterViews$2(), unbindDeps(), Promise.resolve()), styles$9 = ":host{min-height:1px;height:100%;width:100%}.wrapper{position:relative;min-height:1px;height:100%;display:flex;flex-direction:row}.wrapper #widgets-sidebar-region{width:25%;border-left:1px solid rgb(189,189,189);overflow:auto}.wrapper .content{flex:1;display:flex;flex-direction:column}.wrapper .content #header-widgets-region{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:24px 24px 0}.wrapper .content #content-widgets-region{flex:1;min-height:1px;height:100%;padding:24px}@media (max-width: 1024px){:host{min-height:100vh}.wrapper{flex-direction:column}.wrapper #widgets-sidebar-region{max-width:100%;width:auto;border-left:none;padding-inline:40px;padding-bottom:24px;overflow:auto}.wrapper .content #header-widgets-region{grid-template-columns:1fr;gap:16px}.wrapper .content #content-widgets-region{height:70vh;flex:none}}", template$b = (te) => ke$1`
15984
+ <div class="wrapper">
15985
+ <div class="content">
15986
+ <div id="header-widgets-region"></div>
15987
+ <div id="content-widgets-region"></div>
15988
+ </div>
15989
+ <div id="widgets-sidebar-region"></div>
15990
+ </div>
15991
+ `, TYPES$1 = {
15992
+ primaryApi: Symbol.for("primaryApi"),
15993
+ store: Symbol.for("store")
15994
+ }, container$1 = new Container(), { lazyInject: lazyInject$1 } = getDecorators(container$1);
15995
+ var __defProp$i = Object.defineProperty, __decorateClass$i = (te, J, X, re) => {
15996
+ for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
15997
+ (de = te[oe]) && (ne = de(J, X, ne) || ne);
15998
+ return ne && __defProp$i(J, X, ne), ne;
15999
+ };
16000
+ const ji = class ji extends PrimariaRegionHost(h$m) {
16001
+ render() {
16002
+ return ke$1`${template$b()}`;
16003
+ }
16004
+ firstUpdated() {
16005
+ this._observeMaximizedState();
16006
+ }
16007
+ _observeMaximizedState() {
16008
+ const J = this.renderRoot.querySelector("#content-widgets-region");
16009
+ if (!J) return;
16010
+ new MutationObserver(() => {
16011
+ const re = J.querySelector("activity-history-main");
16012
+ if (!re) return;
16013
+ const ne = re.hasAttribute("maximized") || re.maximized;
16014
+ this._toggleWidgetsVisibility(!ne);
16015
+ }).observe(J, {
16016
+ childList: !0,
16017
+ subtree: !0,
16018
+ attributes: !0,
16019
+ attributeFilter: ["maximized"]
16020
+ });
16021
+ }
16022
+ _toggleWidgetsVisibility(J) {
16023
+ const X = this.renderRoot.querySelector("#widgets-sidebar-region"), re = this.renderRoot.querySelector("#header-widgets-region");
16024
+ X && (X.style.display = J ? "" : "none"), re && (re.style.display = J ? "" : "none");
16025
+ }
16026
+ };
16027
+ ji.styles = i$w`
16028
+ ${r$F(styles$9)}
16029
+ `;
16030
+ let ClinicalMonitoring = ji;
16031
+ __decorateClass$i([
16032
+ lazyInject$1(TYPES$1.primaryApi)
16033
+ ], ClinicalMonitoring.prototype, "api");
16034
+ __decorateClass$i([
16035
+ s$z({ targetId: "widgets-sidebar-region", name: "clinical-monitoring-widgets-sidebar-region" })
16036
+ ], ClinicalMonitoring.prototype, "sidebarRegion");
16037
+ __decorateClass$i([
16038
+ s$z({ targetId: "header-widgets-region", name: "clinical-monitoring-header-widgets-region" })
16039
+ ], ClinicalMonitoring.prototype, "headerRegion");
16040
+ __decorateClass$i([
16041
+ s$z({ targetId: "content-widgets-region", name: "clinical-monitoring-content-widgets-region" })
16042
+ ], ClinicalMonitoring.prototype, "contentRegion");
16043
+ const registerViews$1 = async (te) => {
16044
+ t$k("clinical-monitoring")(ClinicalMonitoring), te.regionManager.registerMainView({
16045
+ id: te.pluginInfo.pluginId,
16046
+ factory: () => {
16047
+ const J = new ClinicalMonitoring();
16048
+ return Promise.resolve(J);
16049
+ },
16050
+ isDefault: !0
16051
+ }), te.regionManager.registerView(te.regionManager.regions.shell.navigationMenu, {
16052
+ id: te.pluginInfo.pluginId,
16053
+ factory: () => {
16054
+ const J = new PrimariaNavItem({
16055
+ icon: "account_box",
16056
+ label: "Seguiment clínic",
16057
+ callbackFn: () => {
16058
+ te.regionManager.activateMainView(te.pluginInfo.pluginId);
16059
+ }
16060
+ });
16061
+ return Promise.resolve(J);
16062
+ },
16063
+ sortHint: "0020"
16064
+ }), setTimeout(() => {
16065
+ activateClinicalMonitoringView$1(te);
16066
+ }, 300);
16067
+ }, unregisterViews$1 = (te) => {
16068
+ te.regionManager.removeView(te.regionManager.regions.shell.main, te.pluginInfo.pluginId), te.regionManager.removeView(te.regionManager.regions.shell.navigationMenu, te.pluginInfo.pluginId);
16069
+ }, activateClinicalMonitoringView$1 = (te) => {
16070
+ te.regionManager.activateMainView(te.pluginInfo.pluginId);
16071
+ }, initialize$1 = async (te) => (registerViews$1(te), Promise.resolve()), dispose$1 = (te) => (unregisterViews$1(te), Promise.resolve()), styles$8 = ":host{min-height:1px;height:100%;width:100%}.wrapper{position:relative;min-height:1px;height:100%;display:flex;flex-direction:row}.wrapper #widgets-sidebar-region{width:50%;border-left:1px solid rgb(189,189,189);overflow:auto}.wrapper .content{flex:1;display:flex;flex-direction:column}.wrapper .content #header-widgets-region{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;padding:24px 24px 0}.wrapper .content #content-widgets-region{flex:1;min-height:1px;height:100%;padding:24px}@media (max-width: 1024px){:host{min-height:100vh}.wrapper{flex-direction:column-reverse}.wrapper #widgets-sidebar-region{max-width:100%;width:auto;border-left:none;padding-inline:40px;padding-bottom:24px;overflow:auto}.wrapper .content #header-widgets-region{grid-template-columns:1fr;gap:16px}.wrapper .content #content-widgets-region{height:70vh;flex:none}}", template$a = (te) => ke$1`
15984
16072
  <div class="wrapper">
15985
16073
  <div class="content">
15986
16074
  <div id="header-widgets-region"></div>
@@ -15997,7 +16085,7 @@ var __defProp$h = Object.defineProperty, __decorateClass$h = (te, J, X, re) => {
15997
16085
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
15998
16086
  return ne && __defProp$h(J, X, ne), ne;
15999
16087
  };
16000
- const ji = class ji extends PrimariaRegionHost(h$m) {
16088
+ const Vi = class Vi extends PrimariaRegionHost(h$m) {
16001
16089
  render() {
16002
16090
  return ke$1`${template$a()}`;
16003
16091
  }
@@ -16024,27 +16112,27 @@ const ji = class ji extends PrimariaRegionHost(h$m) {
16024
16112
  X && (X.style.display = J ? "" : "none"), re && (re.style.display = J ? "" : "none");
16025
16113
  }
16026
16114
  };
16027
- ji.styles = i$w`
16115
+ Vi.styles = i$w`
16028
16116
  ${r$F(styles$8)}
16029
16117
  `;
16030
- let ClinicalMonitoring = ji;
16118
+ let AdminClinicalMonitoring = Vi;
16031
16119
  __decorateClass$h([
16032
16120
  lazyInject(TYPES.primaryApi)
16033
- ], ClinicalMonitoring.prototype, "api");
16121
+ ], AdminClinicalMonitoring.prototype, "api");
16034
16122
  __decorateClass$h([
16035
16123
  s$z({ targetId: "widgets-sidebar-region", name: "clinical-monitoring-widgets-sidebar-region" })
16036
- ], ClinicalMonitoring.prototype, "sidebarRegion");
16124
+ ], AdminClinicalMonitoring.prototype, "sidebarRegion");
16037
16125
  __decorateClass$h([
16038
16126
  s$z({ targetId: "header-widgets-region", name: "clinical-monitoring-header-widgets-region" })
16039
- ], ClinicalMonitoring.prototype, "headerRegion");
16127
+ ], AdminClinicalMonitoring.prototype, "headerRegion");
16040
16128
  __decorateClass$h([
16041
16129
  s$z({ targetId: "content-widgets-region", name: "clinical-monitoring-content-widgets-region" })
16042
- ], ClinicalMonitoring.prototype, "contentRegion");
16130
+ ], AdminClinicalMonitoring.prototype, "contentRegion");
16043
16131
  const registerViews = async (te) => {
16044
- t$k("clinical-monitoring")(ClinicalMonitoring), te.regionManager.registerMainView({
16132
+ t$k("clinical-monitoring")(AdminClinicalMonitoring), te.regionManager.registerMainView({
16045
16133
  id: te.pluginInfo.pluginId,
16046
16134
  factory: () => {
16047
- const J = new ClinicalMonitoring();
16135
+ const J = new AdminClinicalMonitoring();
16048
16136
  return Promise.resolve(J);
16049
16137
  },
16050
16138
  isDefault: !0
@@ -16074,19 +16162,27 @@ const commonPlugins = [
16074
16162
  {
16075
16163
  pluginId: "activity-history",
16076
16164
  importer: () => Promise.resolve({
16077
- initialize: initialize$1,
16078
- dispose: dispose$1
16165
+ initialize: initialize$2,
16166
+ dispose: dispose$2
16079
16167
  })
16080
16168
  }
16081
16169
  ], doctorInternalPlugins = [
16082
16170
  {
16083
16171
  pluginId: "clinical-monitoring",
16172
+ importer: () => Promise.resolve({
16173
+ initialize: initialize$1,
16174
+ dispose: dispose$1
16175
+ })
16176
+ }
16177
+ ], administrativeInternalPlugins = [
16178
+ {
16179
+ pluginId: "admin-clinical-monitoring",
16084
16180
  importer: () => Promise.resolve({
16085
16181
  initialize,
16086
16182
  dispose
16087
16183
  })
16088
16184
  }
16089
- ], administrativeInternalPlugins = [], getPluginsByUserRole = (te) => te === "ADM" ? commonPlugins.concat(administrativeInternalPlugins) : commonPlugins.concat(doctorInternalPlugins), bootstrapPlugins = async (te, J) => {
16185
+ ], getPluginsByUserRole = (te) => te === "MD" ? commonPlugins.concat(administrativeInternalPlugins) : commonPlugins.concat(doctorInternalPlugins), bootstrapPlugins = async (te, J) => {
16090
16186
  const re = getPluginsByUserRole(J).concat(te || []);
16091
16187
  bootstrappedPlugins = await v$f(re, primariaApiFactory);
16092
16188
  }, disposePlugins = async () => Promise.all(bootstrappedPlugins.map((te) => te == null ? void 0 : te.dispose()));
@@ -16133,7 +16229,7 @@ let ExitShellHandler = class {
16133
16229
  }
16134
16230
  };
16135
16231
  ExitShellHandler = __decorateClass$g([
16136
- __decorateParam$4(0, inject(TYPES$2.primaryApi))
16232
+ __decorateParam$4(0, inject(TYPES$3.primaryApi))
16137
16233
  ], ExitShellHandler);
16138
16234
  class ExitShell {
16139
16235
  constructor(J, X) {
@@ -16142,7 +16238,7 @@ class ExitShell {
16142
16238
  }
16143
16239
  let request$3;
16144
16240
  const useExitShell = (te) => {
16145
- disposeExitShell(), request$3 = registerRequest(te, container$2)(ExitShell, ExitShellHandler);
16241
+ disposeExitShell(), request$3 = registerRequest(te, container$3)(ExitShell, ExitShellHandler);
16146
16242
  }, disposeExitShell = () => {
16147
16243
  request$3 == null || request$3.dispose();
16148
16244
  };
@@ -16182,7 +16278,7 @@ let GetUserInfoBackendAdapter = class {
16182
16278
  };
16183
16279
  GetUserInfoBackendAdapter = __decorateClass$f([
16184
16280
  injectable(),
16185
- __decorateParam$3(0, inject(TYPES$2.primaryApi))
16281
+ __decorateParam$3(0, inject(TYPES$3.primaryApi))
16186
16282
  ], GetUserInfoBackendAdapter);
16187
16283
  var __defProp$e = Object.defineProperty, __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor, __decorateClass$e = (te, J, X, re) => {
16188
16284
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$4(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
@@ -16203,14 +16299,14 @@ let GetUserInfoHandler = class {
16203
16299
  }
16204
16300
  };
16205
16301
  GetUserInfoHandler = __decorateClass$e([
16206
- __decorateParam$2(0, inject(TYPES$2.primaryApi)),
16302
+ __decorateParam$2(0, inject(TYPES$3.primaryApi)),
16207
16303
  __decorateParam$2(1, inject(GetUserInfoBackendAdapter))
16208
16304
  ], GetUserInfoHandler);
16209
16305
  class GetUserInfo {
16210
16306
  }
16211
16307
  let request$2;
16212
16308
  const useGetUserInfo = (te) => {
16213
- disposeGetUserInfo(), request$2 = registerRequest(te, container$2)(GetUserInfo, GetUserInfoHandler), registerDep(GetUserInfoBackendAdapter);
16309
+ disposeGetUserInfo(), request$2 = registerRequest(te, container$3)(GetUserInfo, GetUserInfoHandler), registerDep(GetUserInfoBackendAdapter);
16214
16310
  }, disposeGetUserInfo = () => {
16215
16311
  request$2 == null || request$2.dispose(), unregisterDep(GetUserInfoBackendAdapter);
16216
16312
  };
@@ -16237,13 +16333,13 @@ let GetVisitIdHandler = class {
16237
16333
  }
16238
16334
  };
16239
16335
  GetVisitIdHandler = __decorateClass$d([
16240
- __decorateParam$1(0, inject(TYPES$2.primaryApi))
16336
+ __decorateParam$1(0, inject(TYPES$3.primaryApi))
16241
16337
  ], GetVisitIdHandler);
16242
16338
  class GetVisitId {
16243
16339
  }
16244
16340
  let request$1;
16245
16341
  const useGetVisitId = (te) => {
16246
- disposeGetVisitId(), request$1 = registerRequest(te, container$2)(GetVisitId, GetVisitIdHandler);
16342
+ disposeGetVisitId(), request$1 = registerRequest(te, container$3)(GetVisitId, GetVisitIdHandler);
16247
16343
  }, disposeGetVisitId = () => {
16248
16344
  request$1 == null || request$1.dispose();
16249
16345
  };
@@ -16266,7 +16362,7 @@ let FinalizeVisitHandler = class {
16266
16362
  }
16267
16363
  };
16268
16364
  FinalizeVisitHandler = __decorateClass$c([
16269
- __decorateParam(0, inject(TYPES$2.primaryApi))
16365
+ __decorateParam(0, inject(TYPES$3.primaryApi))
16270
16366
  ], FinalizeVisitHandler);
16271
16367
  class FinalizeVisit {
16272
16368
  constructor(J) {
@@ -16275,13 +16371,13 @@ class FinalizeVisit {
16275
16371
  }
16276
16372
  let request;
16277
16373
  const useFinalizeVisit = (te) => {
16278
- disposeFinalizeVisit(), request = registerRequest(te, container$2)(FinalizeVisit, FinalizeVisitHandler);
16374
+ disposeFinalizeVisit(), request = registerRequest(te, container$3)(FinalizeVisit, FinalizeVisitHandler);
16279
16375
  }, disposeFinalizeVisit = () => {
16280
16376
  request == null || request.dispose();
16281
16377
  }, useFeatures = (te) => {
16282
- container$2.bind(TYPES$2.primaryApi).toConstantValue(te), useGetUserInfo(te), useExitShell(te), useGetVisitId(te), useFinalizeVisit(te), te.broker.send(new GetUserInfo());
16378
+ container$3.bind(TYPES$3.primaryApi).toConstantValue(te), useGetUserInfo(te), useExitShell(te), useGetVisitId(te), useFinalizeVisit(te), te.broker.send(new GetUserInfo());
16283
16379
  }, disposeFeatures = (te) => {
16284
- disposeGetUserInfo(), disposeExitShell(), disposeGetVisitId(), disposeFinalizeVisit(), container$2.unbindAll(), te.regionManager._destroy(), mediatorSettings.resolver.clear();
16380
+ disposeGetUserInfo(), disposeExitShell(), disposeGetVisitId(), disposeFinalizeVisit(), container$3.unbindAll(), te.regionManager._destroy(), mediatorSettings.resolver.clear();
16285
16381
  }, disposeShell = () => {
16286
16382
  disposeFeatures(shellApi);
16287
16383
  }, raiseCloseEvent = () => {
@@ -17319,8 +17415,8 @@ var toPaddingObject = function(J, X) {
17319
17415
  function arrow(te) {
17320
17416
  var J, X = te.state, re = te.name, ne = te.options, oe = X.elements.arrow, de = X.modifiersData.popperOffsets, ce = getBasePlacement(X.placement), he = getMainAxisFromPlacement(ce), ue = [left, right].indexOf(ce) >= 0, pe = ue ? "height" : "width";
17321
17417
  if (!(!oe || !de)) {
17322
- var fe = toPaddingObject(ne.padding, X), ge = getLayoutRect(oe), me = he === "y" ? top : left, ve = he === "y" ? bottom : right, be = X.rects.reference[pe] + X.rects.reference[he] - de[he] - X.rects.popper[pe], _e = de[he] - X.rects.reference[he], we = getOffsetParent(oe), Se = we ? he === "y" ? we.clientHeight || 0 : we.clientWidth || 0 : 0, Ce = be / 2 - _e / 2, ye = fe[me], Ae = Se - ge[pe] - fe[ve], Fe = Se / 2 - ge[pe] / 2 + Ce, De = within(ye, Fe, Ae), Le = he;
17323
- X.modifiersData[re] = (J = {}, J[Le] = De, J.centerOffset = De - Fe, J);
17418
+ var fe = toPaddingObject(ne.padding, X), ge = getLayoutRect(oe), me = he === "y" ? top : left, ve = he === "y" ? bottom : right, be = X.rects.reference[pe] + X.rects.reference[he] - de[he] - X.rects.popper[pe], _e = de[he] - X.rects.reference[he], we = getOffsetParent(oe), Se = we ? he === "y" ? we.clientHeight || 0 : we.clientWidth || 0 : 0, Ce = be / 2 - _e / 2, ye = fe[me], Ae = Se - ge[pe] - fe[ve], Fe = Se / 2 - ge[pe] / 2 + Ce, Pe = within(ye, Fe, Ae), Le = he;
17419
+ X.modifiersData[re] = (J = {}, J[Le] = Pe, J.centerOffset = Pe - Fe, J);
17324
17420
  }
17325
17421
  }
17326
17422
  function effect$1(te) {
@@ -17363,22 +17459,22 @@ function mapToStyles(te) {
17363
17459
  me = _e.x, be = _e.y;
17364
17460
  var we = de.hasOwnProperty("x"), Se = de.hasOwnProperty("y"), Ce = left, ye = top, Ae = window;
17365
17461
  if (ue) {
17366
- var Fe = getOffsetParent(X), De = "clientHeight", Le = "clientWidth";
17367
- if (Fe === getWindow(X) && (Fe = getDocumentElement(X), getComputedStyle(Fe).position !== "static" && ce === "absolute" && (De = "scrollHeight", Le = "scrollWidth")), Fe = Fe, ne === top || (ne === left || ne === right) && oe === end) {
17462
+ var Fe = getOffsetParent(X), Pe = "clientHeight", Le = "clientWidth";
17463
+ if (Fe === getWindow(X) && (Fe = getDocumentElement(X), getComputedStyle(Fe).position !== "static" && ce === "absolute" && (Pe = "scrollHeight", Le = "scrollWidth")), Fe = Fe, ne === top || (ne === left || ne === right) && oe === end) {
17368
17464
  ye = bottom;
17369
17465
  var Ue = fe && Fe === Ae && Ae.visualViewport ? Ae.visualViewport.height : (
17370
17466
  // $FlowFixMe[prop-missing]
17371
- Fe[De]
17467
+ Fe[Pe]
17372
17468
  );
17373
17469
  be -= Ue - re.height, be *= he ? 1 : -1;
17374
17470
  }
17375
17471
  if (ne === left || (ne === top || ne === bottom) && oe === end) {
17376
17472
  Ce = right;
17377
- var Pe = fe && Fe === Ae && Ae.visualViewport ? Ae.visualViewport.width : (
17473
+ var De = fe && Fe === Ae && Ae.visualViewport ? Ae.visualViewport.width : (
17378
17474
  // $FlowFixMe[prop-missing]
17379
17475
  Fe[Le]
17380
17476
  );
17381
- me -= Pe - re.width, me *= he ? 1 : -1;
17477
+ me -= De - re.width, me *= he ? 1 : -1;
17382
17478
  }
17383
17479
  }
17384
17480
  var Oe = Object.assign({
@@ -17594,12 +17690,12 @@ function computeOffsets(te) {
17594
17690
  }
17595
17691
  function detectOverflow(te, J) {
17596
17692
  J === void 0 && (J = {});
17597
- var X = J, re = X.placement, ne = re === void 0 ? te.placement : re, oe = X.strategy, de = oe === void 0 ? te.strategy : oe, ce = X.boundary, he = ce === void 0 ? clippingParents : ce, ue = X.rootBoundary, pe = ue === void 0 ? viewport : ue, fe = X.elementContext, ge = fe === void 0 ? popper : fe, me = X.altBoundary, ve = me === void 0 ? !1 : me, be = X.padding, _e = be === void 0 ? 0 : be, we = mergePaddingObject(typeof _e != "number" ? _e : expandToHashMap(_e, basePlacements)), Se = ge === popper ? reference : popper, Ce = te.rects.popper, ye = te.elements[ve ? Se : ge], Ae = getClippingRect(isElement(ye) ? ye : ye.contextElement || getDocumentElement(te.elements.popper), he, pe, de), Fe = getBoundingClientRect(te.elements.reference), De = computeOffsets({
17693
+ var X = J, re = X.placement, ne = re === void 0 ? te.placement : re, oe = X.strategy, de = oe === void 0 ? te.strategy : oe, ce = X.boundary, he = ce === void 0 ? clippingParents : ce, ue = X.rootBoundary, pe = ue === void 0 ? viewport : ue, fe = X.elementContext, ge = fe === void 0 ? popper : fe, me = X.altBoundary, ve = me === void 0 ? !1 : me, be = X.padding, _e = be === void 0 ? 0 : be, we = mergePaddingObject(typeof _e != "number" ? _e : expandToHashMap(_e, basePlacements)), Se = ge === popper ? reference : popper, Ce = te.rects.popper, ye = te.elements[ve ? Se : ge], Ae = getClippingRect(isElement(ye) ? ye : ye.contextElement || getDocumentElement(te.elements.popper), he, pe, de), Fe = getBoundingClientRect(te.elements.reference), Pe = computeOffsets({
17598
17694
  reference: Fe,
17599
17695
  element: Ce,
17600
17696
  strategy: "absolute",
17601
17697
  placement: ne
17602
- }), Le = rectToClientRect(Object.assign({}, Ce, De)), Ue = ge === popper ? Le : Fe, Pe = {
17698
+ }), Le = rectToClientRect(Object.assign({}, Ce, Pe)), Ue = ge === popper ? Le : Fe, De = {
17603
17699
  top: Ae.top - Ue.top + we.top,
17604
17700
  bottom: Ue.bottom - Ae.bottom + we.bottom,
17605
17701
  left: Ae.left - Ue.left + we.left,
@@ -17607,12 +17703,12 @@ function detectOverflow(te, J) {
17607
17703
  }, Oe = te.modifiersData.offset;
17608
17704
  if (ge === popper && Oe) {
17609
17705
  var ze = Oe[ne];
17610
- Object.keys(Pe).forEach(function(Ie) {
17706
+ Object.keys(De).forEach(function(Ie) {
17611
17707
  var He = [right, bottom].indexOf(Ie) >= 0 ? 1 : -1, We = [top, bottom].indexOf(Ie) >= 0 ? "y" : "x";
17612
- Pe[Ie] += ze[We] * He;
17708
+ De[Ie] += ze[We] * He;
17613
17709
  });
17614
17710
  }
17615
- return Pe;
17711
+ return De;
17616
17712
  }
17617
17713
  function computeAutoPlacement(te, J) {
17618
17714
  J === void 0 && (J = {});
@@ -17652,8 +17748,8 @@ function flip(te) {
17652
17748
  flipVariations: ve,
17653
17749
  allowedAutoPlacements: be
17654
17750
  }) : Qe);
17655
- }, []), Ae = J.rects.reference, Fe = J.rects.popper, De = /* @__PURE__ */ new Map(), Le = !0, Ue = ye[0], Pe = 0; Pe < ye.length; Pe++) {
17656
- var Oe = ye[Pe], ze = getBasePlacement(Oe), Ie = getVariation(Oe) === start, He = [top, bottom].indexOf(ze) >= 0, We = He ? "width" : "height", Ye = detectOverflow(J, {
17751
+ }, []), Ae = J.rects.reference, Fe = J.rects.popper, Pe = /* @__PURE__ */ new Map(), Le = !0, Ue = ye[0], De = 0; De < ye.length; De++) {
17752
+ var Oe = ye[De], ze = getBasePlacement(Oe), Ie = getVariation(Oe) === start, He = [top, bottom].indexOf(ze) >= 0, We = He ? "width" : "height", Ye = detectOverflow(J, {
17657
17753
  placement: Oe,
17658
17754
  boundary: pe,
17659
17755
  rootBoundary: fe,
@@ -17668,12 +17764,12 @@ function flip(te) {
17668
17764
  Ue = Oe, Le = !1;
17669
17765
  break;
17670
17766
  }
17671
- De.set(Oe, Xe);
17767
+ Pe.set(Oe, Xe);
17672
17768
  }
17673
17769
  if (Le)
17674
17770
  for (var Ge = ve ? 3 : 1, Me = function(Qe) {
17675
17771
  var Ve = ye.find(function(Ze) {
17676
- var nt = De.get(Ze);
17772
+ var nt = Pe.get(Ze);
17677
17773
  if (nt)
17678
17774
  return nt.slice(0, Qe).every(function(ot) {
17679
17775
  return ot;
@@ -17787,9 +17883,9 @@ function preventOverflow(te) {
17787
17883
  rootBoundary: ue,
17788
17884
  padding: fe,
17789
17885
  altBoundary: pe
17790
- }), we = getBasePlacement(J.placement), Se = getVariation(J.placement), Ce = !Se, ye = getMainAxisFromPlacement(we), Ae = getAltAxis(ye), Fe = J.modifiersData.popperOffsets, De = J.rects.reference, Le = J.rects.popper, Ue = typeof be == "function" ? be(Object.assign({}, J.rects, {
17886
+ }), we = getBasePlacement(J.placement), Se = getVariation(J.placement), Ce = !Se, ye = getMainAxisFromPlacement(we), Ae = getAltAxis(ye), Fe = J.modifiersData.popperOffsets, Pe = J.rects.reference, Le = J.rects.popper, Ue = typeof be == "function" ? be(Object.assign({}, J.rects, {
17791
17887
  placement: J.placement
17792
- })) : be, Pe = typeof Ue == "number" ? {
17888
+ })) : be, De = typeof Ue == "number" ? {
17793
17889
  mainAxis: Ue,
17794
17890
  altAxis: Ue
17795
17891
  } : Object.assign({
@@ -17801,14 +17897,14 @@ function preventOverflow(te) {
17801
17897
  };
17802
17898
  if (Fe) {
17803
17899
  if (oe) {
17804
- var Ie, He = ye === "y" ? top : left, We = ye === "y" ? bottom : right, Ye = ye === "y" ? "height" : "width", Ke = Fe[ye], bt = Ke + _e[He], Xe = Ke - _e[We], Ge = me ? -Le[Ye] / 2 : 0, Me = Se === start ? De[Ye] : Le[Ye], Be = Se === start ? -Le[Ye] : -De[Ye], Je = J.elements.arrow, tt = me && Je ? getLayoutRect(Je) : {
17900
+ var Ie, He = ye === "y" ? top : left, We = ye === "y" ? bottom : right, Ye = ye === "y" ? "height" : "width", Ke = Fe[ye], bt = Ke + _e[He], Xe = Ke - _e[We], Ge = me ? -Le[Ye] / 2 : 0, Me = Se === start ? Pe[Ye] : Le[Ye], Be = Se === start ? -Le[Ye] : -Pe[Ye], Je = J.elements.arrow, tt = me && Je ? getLayoutRect(Je) : {
17805
17901
  width: 0,
17806
17902
  height: 0
17807
- }, Qe = J.modifiersData["arrow#persistent"] ? J.modifiersData["arrow#persistent"].padding : getFreshSideObject(), Ve = Qe[He], Ze = Qe[We], nt = within(0, De[Ye], tt[Ye]), ot = Ce ? De[Ye] / 2 - Ge - nt - Ve - Pe.mainAxis : Me - nt - Ve - Pe.mainAxis, _t = Ce ? -De[Ye] / 2 + Ge + nt + Ze + Pe.mainAxis : Be + nt + Ze + Pe.mainAxis, At = J.elements.arrow && getOffsetParent(J.elements.arrow), zt = At ? ye === "y" ? At.clientTop || 0 : At.clientLeft || 0 : 0, Ft = (Ie = Oe == null ? void 0 : Oe[ye]) != null ? Ie : 0, Bt = Ke + ot - Ft - zt, Vt = Ke + _t - Ft, di = within(me ? min(bt, Bt) : bt, Ke, me ? max(Xe, Vt) : Xe);
17903
+ }, Qe = J.modifiersData["arrow#persistent"] ? J.modifiersData["arrow#persistent"].padding : getFreshSideObject(), Ve = Qe[He], Ze = Qe[We], nt = within(0, Pe[Ye], tt[Ye]), ot = Ce ? Pe[Ye] / 2 - Ge - nt - Ve - De.mainAxis : Me - nt - Ve - De.mainAxis, _t = Ce ? -Pe[Ye] / 2 + Ge + nt + Ze + De.mainAxis : Be + nt + Ze + De.mainAxis, At = J.elements.arrow && getOffsetParent(J.elements.arrow), zt = At ? ye === "y" ? At.clientTop || 0 : At.clientLeft || 0 : 0, Ft = (Ie = Oe == null ? void 0 : Oe[ye]) != null ? Ie : 0, Bt = Ke + ot - Ft - zt, Vt = Ke + _t - Ft, di = within(me ? min(bt, Bt) : bt, Ke, me ? max(Xe, Vt) : Xe);
17808
17904
  Fe[ye] = di, ze[ye] = di - Ke;
17809
17905
  }
17810
17906
  if (ce) {
17811
- var ti, mt = ye === "x" ? top : left, vt = ye === "x" ? bottom : right, kt = Fe[Ae], Ct = Ae === "y" ? "height" : "width", wt = kt + _e[mt], Nt = kt - _e[vt], Mt = [top, left].indexOf(we) !== -1, Ut = (ti = Oe == null ? void 0 : Oe[Ae]) != null ? ti : 0, oi = Mt ? wt : kt - De[Ct] - Le[Ct] - Ut + Pe.altAxis, pi = Mt ? kt + De[Ct] + Le[Ct] - Ut - Pe.altAxis : Nt, Xt = me && Mt ? withinMaxClamp(oi, kt, pi) : within(me ? oi : wt, kt, me ? pi : Nt);
17907
+ var ti, mt = ye === "x" ? top : left, vt = ye === "x" ? bottom : right, kt = Fe[Ae], Ct = Ae === "y" ? "height" : "width", wt = kt + _e[mt], Nt = kt - _e[vt], Mt = [top, left].indexOf(we) !== -1, Ut = (ti = Oe == null ? void 0 : Oe[Ae]) != null ? ti : 0, oi = Mt ? wt : kt - Pe[Ct] - Le[Ct] - Ut + De.altAxis, pi = Mt ? kt + Pe[Ct] + Le[Ct] - Ut - De.altAxis : Nt, Xt = me && Mt ? withinMaxClamp(oi, kt, pi) : within(me ? oi : wt, kt, me ? pi : Nt);
17812
17908
  Fe[Ae] = Xt, ze[Ae] = Xt - kt;
17813
17909
  }
17814
17910
  J.modifiersData[re] = ze;
@@ -17953,15 +18049,15 @@ function popperGenerator(te) {
17953
18049
  pe.rects = {
17954
18050
  reference: getCompositeRect(Se, getOffsetParent(Ce), pe.options.strategy === "fixed"),
17955
18051
  popper: getLayoutRect(Ce)
17956
- }, pe.reset = !1, pe.placement = pe.options.placement, pe.orderedModifiers.forEach(function(Pe) {
17957
- return pe.modifiersData[Pe.name] = Object.assign({}, Pe.data);
18052
+ }, pe.reset = !1, pe.placement = pe.options.placement, pe.orderedModifiers.forEach(function(De) {
18053
+ return pe.modifiersData[De.name] = Object.assign({}, De.data);
17958
18054
  });
17959
18055
  for (var ye = 0; ye < pe.orderedModifiers.length; ye++) {
17960
18056
  if (pe.reset === !0) {
17961
18057
  pe.reset = !1, ye = -1;
17962
18058
  continue;
17963
18059
  }
17964
- var Ae = pe.orderedModifiers[ye], Fe = Ae.fn, De = Ae.options, Le = De === void 0 ? {} : De, Ue = Ae.name;
18060
+ var Ae = pe.orderedModifiers[ye], Fe = Ae.fn, Pe = Ae.options, Le = Pe === void 0 ? {} : Pe, Ue = Ae.name;
17965
18061
  typeof Fe == "function" && (pe = Fe({
17966
18062
  state: pe,
17967
18063
  options: Le,
@@ -21282,7 +21378,7 @@ l$j([
21282
21378
  n$z(o$J)
21283
21379
  ], o$w.prototype, "jcef", 2);
21284
21380
  const O$1 = er`dss-calendar${tr(f$m())}`, e$x = er`dss-icon${tr(f$m())}`, Z = (te) => {
21285
- var J, X, re, ne, oe, de, ce, he, ue, pe, fe, ge, me, ve, be, _e, we, Se, Ce, ye, Ae, Fe, De, Le, Ue, Pe, Oe, ze, Ie;
21381
+ var J, X, re, ne, oe, de, ce, he, ue, pe, fe, ge, me, ve, be, _e, we, Se, Ce, ye, Ae, Fe, Pe, Le, Ue, De, Oe, ze, Ie;
21286
21382
  const He = {
21287
21383
  "dss-datepicker-range--sm": te.inputSize !== "lg"
21288
21384
  }, We = {
@@ -21318,8 +21414,8 @@ const O$1 = er`dss-calendar${tr(f$m())}`, e$x = er`dss-icon${tr(f$m())}`, Z = (t
21318
21414
  // 'dss-input-group--no-label': Boolean(!component._label),
21319
21415
  }, Ge = {
21320
21416
  "dss-calendar": !0,
21321
- "dss-calendar--visible": te._showCalendar && !((De = te._inputRangeStart) != null && De.readOnly) && !((Le = te._inputRangeEnd) != null && Le.readOnly),
21322
- "dss-calendar--disabled": ((Ue = te._inputRangeStart) == null ? void 0 : Ue.disabled) && ((Pe = te._inputRangeEnd) == null ? void 0 : Pe.disabled),
21417
+ "dss-calendar--visible": te._showCalendar && !((Pe = te._inputRangeStart) != null && Pe.readOnly) && !((Le = te._inputRangeEnd) != null && Le.readOnly),
21418
+ "dss-calendar--disabled": ((Ue = te._inputRangeStart) == null ? void 0 : Ue.disabled) && ((De = te._inputRangeEnd) == null ? void 0 : De.disabled),
21323
21419
  "dss-calendar--sm": te.inputSize !== "lg"
21324
21420
  };
21325
21421
  return ke`
@@ -26588,15 +26684,15 @@ let d$8 = class extends h$m {
26588
26684
  ></span>`, be = (ye) => {
26589
26685
  this._manuallySelect(ye, X.value);
26590
26686
  }, _e = (ye) => {
26591
- var Ae, Fe, De, Le;
26687
+ var Ae, Fe, Pe, Le;
26592
26688
  if (ye.key === "Enter" || ye.key === " ")
26593
26689
  this._manuallySelect(ye, X.value);
26594
26690
  else if (ye.key === "ArrowUp") {
26595
- const Ue = ye.target, Pe = (Fe = (Ae = Ue == null ? void 0 : Ue.closest(".dss-form-field")) == null ? void 0 : Ae.previousElementSibling) == null ? void 0 : Fe.querySelector("input");
26596
- Pe == null || Pe.focus();
26691
+ const Ue = ye.target, De = (Fe = (Ae = Ue == null ? void 0 : Ue.closest(".dss-form-field")) == null ? void 0 : Ae.previousElementSibling) == null ? void 0 : Fe.querySelector("input");
26692
+ De == null || De.focus();
26597
26693
  } else if (ye.key === "ArrowDown") {
26598
- const Ue = ye.target, Pe = (Le = (De = Ue == null ? void 0 : Ue.closest(".dss-form-field")) == null ? void 0 : De.nextElementSibling) == null ? void 0 : Le.querySelector("input");
26599
- Pe == null || Pe.focus();
26694
+ const Ue = ye.target, De = (Le = (Pe = Ue == null ? void 0 : Ue.closest(".dss-form-field")) == null ? void 0 : Pe.nextElementSibling) == null ? void 0 : Le.querySelector("input");
26695
+ De == null || De.focus();
26600
26696
  }
26601
26697
  }, [we, Se] = this._getIndexSubtext(X.label);
26602
26698
  let Ce = ke`${X.label}`;
@@ -36195,7 +36291,7 @@ var __defProp$a = Object.defineProperty, __decorateClass$a = (te, J, X, re) => {
36195
36291
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
36196
36292
  return ne && __defProp$a(J, X, ne), ne;
36197
36293
  };
36198
- const Vi = class Vi extends PrimariaRegionHost(h$m) {
36294
+ const Wi = class Wi extends PrimariaRegionHost(h$m) {
36199
36295
  constructor() {
36200
36296
  super(...arguments), this.sidebarExpanded = !1, this.viewSelected = shellViews.shell, this.quickActionBusy = !1, this.subscriptions = [];
36201
36297
  }
@@ -36237,10 +36333,10 @@ const Vi = class Vi extends PrimariaRegionHost(h$m) {
36237
36333
  this.subscriptions.forEach((J) => J.dispose());
36238
36334
  }
36239
36335
  };
36240
- Vi.styles = i$w`
36336
+ Wi.styles = i$w`
36241
36337
  ${r$F(styles$7)}
36242
36338
  `;
36243
- let PrimariaShell = Vi;
36339
+ let PrimariaShell = Wi;
36244
36340
  __decorateClass$a([
36245
36341
  s$z({ targetId: "menu-region-container", name: shellApi.regionManager.regions.shell.navigationMenu })
36246
36342
  ], PrimariaShell.prototype, "navigationMenuRegion");
@@ -36285,15 +36381,15 @@ var __defProp$9 = Object.defineProperty, __decorateClass$9 = (te, J, X, re) => {
36285
36381
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
36286
36382
  return ne && __defProp$9(J, X, ne), ne;
36287
36383
  };
36288
- const Wi = class Wi extends h$m {
36384
+ const Gi = class Gi extends h$m {
36289
36385
  render() {
36290
36386
  return ke$1`${template$8(this)}`;
36291
36387
  }
36292
36388
  };
36293
- Wi.styles = i$w`
36389
+ Gi.styles = i$w`
36294
36390
  ${r$F(styles$6)}
36295
36391
  `;
36296
- let PrimariaErrorView = Wi;
36392
+ let PrimariaErrorView = Gi;
36297
36393
  __decorateClass$9([
36298
36394
  n$z()
36299
36395
  ], PrimariaErrorView.prototype, "error");
@@ -36380,7 +36476,7 @@ var __defProp$8 = Object.defineProperty, __decorateClass$8 = (te, J, X, re) => {
36380
36476
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
36381
36477
  return ne && __defProp$8(J, X, ne), ne;
36382
36478
  };
36383
- const Gi = class Gi extends PrimariaRegionHost(h$m) {
36479
+ const Ji = class Ji extends PrimariaRegionHost(h$m) {
36384
36480
  constructor() {
36385
36481
  super(...arguments), this.menuOpened = !1;
36386
36482
  }
@@ -36415,10 +36511,10 @@ const Gi = class Gi extends PrimariaRegionHost(h$m) {
36415
36511
  X = new MutationObserver(re), X.observe(J, { childList: !0 });
36416
36512
  }
36417
36513
  };
36418
- Gi.styles = i$w`
36514
+ Ji.styles = i$w`
36419
36515
  ${r$F(styles$5)}
36420
36516
  `;
36421
- let PrimariaShellHeader = Gi;
36517
+ let PrimariaShellHeader = Ji;
36422
36518
  __decorateClass$8([
36423
36519
  s$z({ targetId: "header-region-container", name: shellApi.regionManager.regions.shell.header })
36424
36520
  ], PrimariaShellHeader.prototype, "headerRegion");
@@ -36431,7 +36527,7 @@ __decorateClass$8([
36431
36527
  __decorateClass$8([
36432
36528
  r$C()
36433
36529
  ], PrimariaShellHeader.prototype, "menuOpened");
36434
- const Ji = class Ji extends h$m {
36530
+ const Yi = class Yi extends h$m {
36435
36531
  render() {
36436
36532
  return ke$1`<div>
36437
36533
  <h1>POC ECAP Test </h1>
@@ -36482,9 +36578,9 @@ const Ji = class Ji extends h$m {
36482
36578
  });
36483
36579
  }
36484
36580
  };
36485
- Ji.styles = i$w`
36581
+ Yi.styles = i$w`
36486
36582
  `;
36487
- let PocEventsEcap = Ji;
36583
+ let PocEventsEcap = Yi;
36488
36584
  const template$5 = (te) => ke$1`
36489
36585
  ${te.visitId ? ke$1`<dss-button @click=${te.finalizeVisitHandler} variant="subtle" size="md" icon="door_front" label=${translate$1("actions.finalizeVisit")}></dss-button>` : D$2}
36490
36586
  `;
@@ -36521,7 +36617,7 @@ var __defProp$6 = Object.defineProperty, __decorateClass$6 = (te, J, X, re) => {
36521
36617
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
36522
36618
  return ne && __defProp$6(J, X, ne), ne;
36523
36619
  };
36524
- const Yi = class Yi extends h$m {
36620
+ const Ki = class Ki extends h$m {
36525
36621
  toggle() {
36526
36622
  this.isOpen = !this.isOpen;
36527
36623
  }
@@ -36537,7 +36633,7 @@ const Yi = class Yi extends h$m {
36537
36633
  `;
36538
36634
  }
36539
36635
  };
36540
- Yi.styles = i$w`
36636
+ Ki.styles = i$w`
36541
36637
  :host {
36542
36638
  display: block;
36543
36639
  }
@@ -36559,7 +36655,7 @@ Yi.styles = i$w`
36559
36655
  align-items: center;
36560
36656
  }
36561
36657
  `;
36562
- let PrimariaAccordion = Yi;
36658
+ let PrimariaAccordion = Ki;
36563
36659
  __decorateClass$6([
36564
36660
  n$z({ type: Boolean })
36565
36661
  ], PrimariaAccordion.prototype, "isOpen");
@@ -36583,7 +36679,7 @@ var __defProp$5 = Object.defineProperty, __decorateClass$5 = (te, J, X, re) => {
36583
36679
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
36584
36680
  return ne && __defProp$5(J, X, ne), ne;
36585
36681
  };
36586
- const Ki = class Ki extends PrimariaRegionHost(h$m) {
36682
+ const Zi = class Zi extends PrimariaRegionHost(h$m) {
36587
36683
  constructor(J, X) {
36588
36684
  super(), this.showText = !1, this.icon = "", this.label = "", this.icon = J, this.label = X;
36589
36685
  }
@@ -36603,10 +36699,10 @@ const Ki = class Ki extends PrimariaRegionHost(h$m) {
36603
36699
  return ke$1`${template$4(this)}`;
36604
36700
  }
36605
36701
  };
36606
- Ki.styles = i$w`
36702
+ Zi.styles = i$w`
36607
36703
  ${r$F(styles$4)}
36608
36704
  `;
36609
- let CommunicationActionMenu = Ki;
36705
+ let CommunicationActionMenu = Zi;
36610
36706
  __decorateClass$5([
36611
36707
  r$C()
36612
36708
  ], CommunicationActionMenu.prototype, "showText");
@@ -36621,15 +36717,15 @@ __decorateClass$5([
36621
36717
  ], CommunicationActionMenu.prototype, "label");
36622
36718
  const styles$3 = ".header-container{width:1px;height:40px;background-color:var(--color-neutral-100)}", template$3 = (te) => ke$1`
36623
36719
  <div class="header-container"></div>
36624
- `, Zi = class Zi extends h$m {
36720
+ `, Qi = class Qi extends h$m {
36625
36721
  render() {
36626
36722
  return ke$1`${template$3()}`;
36627
36723
  }
36628
36724
  };
36629
- Zi.styles = i$w`
36725
+ Qi.styles = i$w`
36630
36726
  ${r$F(styles$3)}
36631
36727
  `;
36632
- let HeaderDivider = Zi;
36728
+ let HeaderDivider = Qi;
36633
36729
  const useComponents = () => {
36634
36730
  t$k("primaria-shell")(PrimariaShell), t$k("primaria-shell-header")(PrimariaShellHeader), t$k("primaria-error-view")(PrimariaErrorView), t$k("quick-actions-menu")(QuickActionsMenu), t$k("finalize-visit-button")(FinalizeVisitButton), t$k("header-divider")(HeaderDivider), t$k("communication-action-menu")(CommunicationActionMenu), t$k("poc-events-ecap")(PocEventsEcap), t$k("primaria-accordion")(PrimariaAccordion);
36635
36731
  };
@@ -36640,7 +36736,7 @@ var __defProp$4 = Object.defineProperty, __decorateClass$4 = (te, J, X, re) => {
36640
36736
  };
36641
36737
  const isSelected = (te, J, X) => te[J] === X || Array.from(te.attributes).some(
36642
36738
  (re) => re.name === J && re.value === X
36643
- ), Qi = class Qi extends h$m {
36739
+ ), Xi = class Xi extends h$m {
36644
36740
  constructor() {
36645
36741
  super(...arguments), this.animation = "fade";
36646
36742
  }
@@ -36685,7 +36781,7 @@ const isSelected = (te, J, X) => te[J] === X || Array.from(te.attributes).some(
36685
36781
  }
36686
36782
  }
36687
36783
  };
36688
- Qi.styles = i$w`
36784
+ Xi.styles = i$w`
36689
36785
  :host {
36690
36786
  display: flex;
36691
36787
  flex: 1;
@@ -36694,7 +36790,7 @@ Qi.styles = i$w`
36694
36790
  display: none !important;
36695
36791
  }
36696
36792
  `;
36697
- let PrimariaContentSwitcher = Qi;
36793
+ let PrimariaContentSwitcher = Xi;
36698
36794
  __decorateClass$4([
36699
36795
  n$z()
36700
36796
  ], PrimariaContentSwitcher.prototype, "selected");
@@ -36734,7 +36830,7 @@ var __defProp$3 = Object.defineProperty, __decorateClass$3 = (te, J, X, re) => {
36734
36830
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
36735
36831
  return ne && __defProp$3(J, X, ne), ne;
36736
36832
  };
36737
- const Xi = class Xi extends h$m {
36833
+ const ir = class ir extends h$m {
36738
36834
  constructor(J) {
36739
36835
  super(), this.showActionMenu = !1, this.handleItemClick = () => {
36740
36836
  this.showActionMenu = !0, this.requestUpdate();
@@ -36751,10 +36847,10 @@ const Xi = class Xi extends h$m {
36751
36847
  return ke$1`${template$2(this)}`;
36752
36848
  }
36753
36849
  };
36754
- Xi.styles = i$w`
36850
+ ir.styles = i$w`
36755
36851
  ${r$F(styles$2)}
36756
36852
  `;
36757
- let PrimariaNavTreeMenu = Xi;
36853
+ let PrimariaNavTreeMenu = ir;
36758
36854
  __decorateClass$3([
36759
36855
  n$z({ type: Object })
36760
36856
  ], PrimariaNavTreeMenu.prototype, "config");
@@ -37025,8 +37121,8 @@ var quill = { exports: {} };
37025
37121
  typeof Ce.retain == "number" ? Ae.retain = Se : Ae.insert = Ce.insert;
37026
37122
  var Fe = he.attributes.compose(Ce.attributes, ye.attributes, typeof Ce.retain == "number");
37027
37123
  if (Fe && (Ae.attributes = Fe), we.push(Ae), !me.hasNext() && de(we.ops[we.ops.length - 1], Ae)) {
37028
- var De = new pe(ge.rest());
37029
- return we.concat(De).chop();
37124
+ var Pe = new pe(ge.rest());
37125
+ return we.concat(Pe).chop();
37030
37126
  }
37031
37127
  } else typeof ye.delete == "number" && typeof Ce.retain == "number" && we.push(ye);
37032
37128
  }
@@ -37194,7 +37290,7 @@ var quill = { exports: {} };
37194
37290
  throw new TypeError("Super expression must either be null or a function, not " + typeof ze);
37195
37291
  Oe.prototype = Object.create(ze && ze.prototype, { constructor: { value: Oe, enumerable: !1, writable: !0, configurable: !0 } }), ze && (Object.setPrototypeOf ? Object.setPrototypeOf(Oe, ze) : Oe.__proto__ = ze);
37196
37292
  }
37197
- var De = 1, Le = function(Oe) {
37293
+ var Pe = 1, Le = function(Oe) {
37198
37294
  Fe(ze, Oe);
37199
37295
  function ze() {
37200
37296
  return ye(this, ze), Ae(this, (ze.__proto__ || Object.getPrototypeOf(ze)).apply(this, arguments));
@@ -37244,9 +37340,9 @@ var quill = { exports: {} };
37244
37340
  key: "delta",
37245
37341
  value: function() {
37246
37342
  return this.cache.delta == null && (this.cache.delta = this.descendants(ge.default.Leaf).reduce(function(He, We) {
37247
- return We.length() === 0 ? He : He.insert(We.value(), Pe(We));
37343
+ return We.length() === 0 ? He : He.insert(We.value(), De(We));
37248
37344
  }, new pe.default()).insert(`
37249
- `, Pe(this))), this.cache.delta;
37345
+ `, De(this))), this.cache.delta;
37250
37346
  }
37251
37347
  }, {
37252
37348
  key: "deleteAt",
@@ -37281,7 +37377,7 @@ var quill = { exports: {} };
37281
37377
  }, {
37282
37378
  key: "length",
37283
37379
  value: function() {
37284
- return this.cache.length == null && (this.cache.length = de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "length", this).call(this) + De), this.cache.length;
37380
+ return this.cache.length == null && (this.cache.length = de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "length", this).call(this) + Pe), this.cache.length;
37285
37381
  }
37286
37382
  }, {
37287
37383
  key: "moveChildren",
@@ -37307,7 +37403,7 @@ var quill = { exports: {} };
37307
37403
  key: "split",
37308
37404
  value: function(He) {
37309
37405
  var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
37310
- if (We && (He === 0 || He >= this.length() - De)) {
37406
+ if (We && (He === 0 || He >= this.length() - Pe)) {
37311
37407
  var Ye = this.clone();
37312
37408
  return He === 0 ? (this.parent.insertBefore(Ye, this), this) : (this.parent.insertBefore(Ye, this.next), Ye);
37313
37409
  } else {
@@ -37318,11 +37414,11 @@ var quill = { exports: {} };
37318
37414
  }]), ze;
37319
37415
  }(ge.default.Block);
37320
37416
  Ue.blotName = "block", Ue.tagName = "P", Ue.defaultChild = "break", Ue.allowedChildren = [_e.default, ge.default.Embed, Se.default];
37321
- function Pe(Oe) {
37417
+ function De(Oe) {
37322
37418
  var ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
37323
- return Oe == null || (typeof Oe.formats == "function" && (ze = (0, he.default)(ze, Oe.formats())), Oe.parent == null || Oe.parent.blotName == "scroll" || Oe.parent.statics.scope !== Oe.statics.scope) ? ze : Pe(Oe.parent, ze);
37419
+ return Oe == null || (typeof Oe.formats == "function" && (ze = (0, he.default)(ze, Oe.formats())), Oe.parent == null || Oe.parent.blotName == "scroll" || Oe.parent.statics.scope !== Oe.statics.scope) ? ze : De(Oe.parent, ze);
37324
37420
  }
37325
- re.bubbleFormats = Pe, re.BlockEmbed = Le, re.default = Ue;
37421
+ re.bubbleFormats = De, re.BlockEmbed = Le, re.default = Ue;
37326
37422
  },
37327
37423
  /* 5 */
37328
37424
  /***/
@@ -37370,8 +37466,8 @@ var quill = { exports: {} };
37370
37466
  };
37371
37467
  }();
37372
37468
  ne(51);
37373
- var he = ne(2), ue = Pe(he), pe = ne(14), fe = Pe(pe), ge = ne(8), me = Pe(ge), ve = ne(9), be = Pe(ve), _e = ne(0), we = Pe(_e), Se = ne(15), Ce = Pe(Se), ye = ne(3), Ae = Pe(ye), Fe = ne(10), De = Pe(Fe), Le = ne(35), Ue = Pe(Le);
37374
- function Pe(Xe) {
37469
+ var he = ne(2), ue = De(he), pe = ne(14), fe = De(pe), ge = ne(8), me = De(ge), ve = ne(9), be = De(ve), _e = ne(0), we = De(_e), Se = ne(15), Ce = De(Se), ye = ne(3), Ae = De(ye), Fe = ne(10), Pe = De(Fe), Le = ne(35), Ue = De(Le);
37470
+ function De(Xe) {
37375
37471
  return Xe && Xe.__esModule ? Xe : { default: Xe };
37376
37472
  }
37377
37473
  function Oe(Xe, Ge, Me) {
@@ -37381,11 +37477,11 @@ var quill = { exports: {} };
37381
37477
  if (!(Xe instanceof Ge))
37382
37478
  throw new TypeError("Cannot call a class as a function");
37383
37479
  }
37384
- var Ie = (0, De.default)("quill"), He = function() {
37480
+ var Ie = (0, Pe.default)("quill"), He = function() {
37385
37481
  ce(Xe, null, [{
37386
37482
  key: "debug",
37387
37483
  value: function(Me) {
37388
- Me === !0 && (Me = "log"), De.default.level(Me);
37484
+ Me === !0 && (Me = "log"), Pe.default.level(Me);
37389
37485
  }
37390
37486
  }, {
37391
37487
  key: "find",
@@ -37813,8 +37909,8 @@ var quill = { exports: {} };
37813
37909
  key: "formatAt",
37814
37910
  value: function(Ce, ye, Ae, Fe) {
37815
37911
  if (we.compare(this.statics.blotName, Ae) < 0 && pe.default.query(Ae, pe.default.Scope.BLOT)) {
37816
- var De = this.isolate(Ce, ye);
37817
- Fe && De.wrap(Ae, Fe);
37912
+ var Pe = this.isolate(Ce, ye);
37913
+ Fe && Pe.wrap(Ae, Fe);
37818
37914
  } else
37819
37915
  de(we.prototype.__proto__ || Object.getPrototypeOf(we.prototype), "formatAt", this).call(this, Ce, ye, Ae, Fe);
37820
37916
  }
@@ -37888,21 +37984,21 @@ var quill = { exports: {} };
37888
37984
  value: !0
37889
37985
  });
37890
37986
  var oe = /* @__PURE__ */ function() {
37891
- function Ae(Fe, De) {
37892
- for (var Le = 0; Le < De.length; Le++) {
37893
- var Ue = De[Le];
37987
+ function Ae(Fe, Pe) {
37988
+ for (var Le = 0; Le < Pe.length; Le++) {
37989
+ var Ue = Pe[Le];
37894
37990
  Ue.enumerable = Ue.enumerable || !1, Ue.configurable = !0, "value" in Ue && (Ue.writable = !0), Object.defineProperty(Fe, Ue.key, Ue);
37895
37991
  }
37896
37992
  }
37897
- return function(Fe, De, Le) {
37898
- return De && Ae(Fe.prototype, De), Le && Ae(Fe, Le), Fe;
37993
+ return function(Fe, Pe, Le) {
37994
+ return Pe && Ae(Fe.prototype, Pe), Le && Ae(Fe, Le), Fe;
37899
37995
  };
37900
- }(), de = function Ae(Fe, De, Le) {
37996
+ }(), de = function Ae(Fe, Pe, Le) {
37901
37997
  Fe === null && (Fe = Function.prototype);
37902
- var Ue = Object.getOwnPropertyDescriptor(Fe, De);
37998
+ var Ue = Object.getOwnPropertyDescriptor(Fe, Pe);
37903
37999
  if (Ue === void 0) {
37904
- var Pe = Object.getPrototypeOf(Fe);
37905
- return Pe === null ? void 0 : Ae(Pe, De, Le);
38000
+ var De = Object.getPrototypeOf(Fe);
38001
+ return De === null ? void 0 : Ae(De, Pe, Le);
37906
38002
  } else {
37907
38003
  if ("value" in Ue)
37908
38004
  return Ue.value;
@@ -37930,10 +38026,10 @@ var quill = { exports: {} };
37930
38026
  var _e = (0, pe.default)("quill:events"), we = [fe.SHADOW_SELECTIONCHANGE, "mousedown", "mouseup", "click"], Se = [], Ce = "getRootNode" in document;
37931
38027
  we.forEach(function(Ae) {
37932
38028
  document.addEventListener(Ae, function() {
37933
- for (var Fe = arguments.length, De = Array(Fe), Le = 0; Le < Fe; Le++)
37934
- De[Le] = arguments[Le];
38029
+ for (var Fe = arguments.length, Pe = Array(Fe), Le = 0; Le < Fe; Le++)
38030
+ Pe[Le] = arguments[Le];
37935
38031
  Se.forEach(function(Ue) {
37936
- Ue.handleDOM.apply(Ue, De);
38032
+ Ue.handleDOM.apply(Ue, Pe);
37937
38033
  });
37938
38034
  });
37939
38035
  });
@@ -37941,8 +38037,8 @@ var quill = { exports: {} };
37941
38037
  be(Fe, Ae);
37942
38038
  function Fe() {
37943
38039
  me(this, Fe);
37944
- var De = ve(this, (Fe.__proto__ || Object.getPrototypeOf(Fe)).call(this));
37945
- return De.listeners = {}, Se.push(De), De.on("error", _e.error), De;
38040
+ var Pe = ve(this, (Fe.__proto__ || Object.getPrototypeOf(Fe)).call(this));
38041
+ return Pe.listeners = {}, Se.push(Pe), Pe.on("error", _e.error), Pe;
37946
38042
  }
37947
38043
  return oe(Fe, [{
37948
38044
  key: "emit",
@@ -37952,8 +38048,8 @@ var quill = { exports: {} };
37952
38048
  }, {
37953
38049
  key: "handleDOM",
37954
38050
  value: function(Le) {
37955
- for (var Ue = arguments.length, Pe = Array(Ue > 1 ? Ue - 1 : 0), Oe = 1; Oe < Ue; Oe++)
37956
- Pe[Oe - 1] = arguments[Oe];
38051
+ for (var Ue = arguments.length, De = Array(Ue > 1 ? Ue - 1 : 0), Oe = 1; Oe < Ue; Oe++)
38052
+ De[Oe - 1] = arguments[Oe];
37957
38053
  var ze = Le.composedPath ? Le.composedPath()[0] : Le.target, Ie = function(We, Ye) {
37958
38054
  if (!Ce || Ye.getRootNode() === document)
37959
38055
  return We.contains(Ye);
@@ -37967,13 +38063,13 @@ var quill = { exports: {} };
37967
38063
  };
37968
38064
  (this.listeners[Le.type] || []).forEach(function(He) {
37969
38065
  var We = He.node, Ye = He.handler;
37970
- (ze === We || Ie(We, ze)) && Ye.apply(void 0, [Le].concat(Pe));
38066
+ (ze === We || Ie(We, ze)) && Ye.apply(void 0, [Le].concat(De));
37971
38067
  });
37972
38068
  }
37973
38069
  }, {
37974
38070
  key: "listenDOM",
37975
- value: function(Le, Ue, Pe) {
37976
- this.listeners[Le] || (this.listeners[Le] = []), this.listeners[Le].push({ node: Ue, handler: Pe });
38071
+ value: function(Le, Ue, De) {
38072
+ this.listeners[Le] || (this.listeners[Le] = []), this.listeners[Le].push({ node: Ue, handler: De });
37977
38073
  }
37978
38074
  }]), Fe;
37979
38075
  }(he.default);
@@ -38105,10 +38201,10 @@ var quill = { exports: {} };
38105
38201
  value: !0
38106
38202
  }), re.default = re.Code = void 0;
38107
38203
  var oe = /* @__PURE__ */ function() {
38108
- function Le(Ue, Pe) {
38204
+ function Le(Ue, De) {
38109
38205
  var Oe = [], ze = !0, Ie = !1, He = void 0;
38110
38206
  try {
38111
- for (var We = Ue[Symbol.iterator](), Ye; !(ze = (Ye = We.next()).done) && (Oe.push(Ye.value), !(Pe && Oe.length === Pe)); ze = !0)
38207
+ for (var We = Ue[Symbol.iterator](), Ye; !(ze = (Ye = We.next()).done) && (Oe.push(Ye.value), !(De && Oe.length === De)); ze = !0)
38112
38208
  ;
38113
38209
  } catch (Ke) {
38114
38210
  Ie = !0, He = Ke;
@@ -38121,29 +38217,29 @@ var quill = { exports: {} };
38121
38217
  }
38122
38218
  return Oe;
38123
38219
  }
38124
- return function(Ue, Pe) {
38220
+ return function(Ue, De) {
38125
38221
  if (Array.isArray(Ue))
38126
38222
  return Ue;
38127
38223
  if (Symbol.iterator in Object(Ue))
38128
- return Le(Ue, Pe);
38224
+ return Le(Ue, De);
38129
38225
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
38130
38226
  };
38131
38227
  }(), de = /* @__PURE__ */ function() {
38132
- function Le(Ue, Pe) {
38133
- for (var Oe = 0; Oe < Pe.length; Oe++) {
38134
- var ze = Pe[Oe];
38228
+ function Le(Ue, De) {
38229
+ for (var Oe = 0; Oe < De.length; Oe++) {
38230
+ var ze = De[Oe];
38135
38231
  ze.enumerable = ze.enumerable || !1, ze.configurable = !0, "value" in ze && (ze.writable = !0), Object.defineProperty(Ue, ze.key, ze);
38136
38232
  }
38137
38233
  }
38138
- return function(Ue, Pe, Oe) {
38139
- return Pe && Le(Ue.prototype, Pe), Oe && Le(Ue, Oe), Ue;
38234
+ return function(Ue, De, Oe) {
38235
+ return De && Le(Ue.prototype, De), Oe && Le(Ue, Oe), Ue;
38140
38236
  };
38141
- }(), ce = function Le(Ue, Pe, Oe) {
38237
+ }(), ce = function Le(Ue, De, Oe) {
38142
38238
  Ue === null && (Ue = Function.prototype);
38143
- var ze = Object.getOwnPropertyDescriptor(Ue, Pe);
38239
+ var ze = Object.getOwnPropertyDescriptor(Ue, De);
38144
38240
  if (ze === void 0) {
38145
38241
  var Ie = Object.getPrototypeOf(Ue);
38146
- return Ie === null ? void 0 : Le(Ie, Pe, Oe);
38242
+ return Ie === null ? void 0 : Le(Ie, De, Oe);
38147
38243
  } else {
38148
38244
  if ("value" in ze)
38149
38245
  return ze.value;
@@ -38176,7 +38272,7 @@ var quill = { exports: {} };
38176
38272
  return Ue;
38177
38273
  }(be.default);
38178
38274
  Fe.blotName = "code", Fe.tagName = "CODE";
38179
- var De = function(Le) {
38275
+ var Pe = function(Le) {
38180
38276
  Ae(Ue, Le);
38181
38277
  function Ue() {
38182
38278
  return Ce(this, Ue), ye(this, (Ue.__proto__ || Object.getPrototypeOf(Ue)).apply(this, arguments));
@@ -38267,7 +38363,7 @@ var quill = { exports: {} };
38267
38363
  }
38268
38364
  }]), Ue;
38269
38365
  }(me.default);
38270
- De.blotName = "code-block", De.tagName = "PRE", De.TAB = " ", re.Code = Fe, re.default = De;
38366
+ Pe.blotName = "code-block", Pe.tagName = "PRE", Pe.TAB = " ", re.Code = Fe, re.default = Pe;
38271
38367
  },
38272
38368
  /* 14 */
38273
38369
  /***/
@@ -38313,7 +38409,7 @@ var quill = { exports: {} };
38313
38409
  return function(Ge, Me, Be) {
38314
38410
  return Me && Xe(Ge.prototype, Me), Be && Xe(Ge, Be), Ge;
38315
38411
  };
38316
- }(), he = ne(2), ue = ze(he), pe = ne(20), fe = ze(pe), ge = ne(0), me = ze(ge), ve = ne(13), be = ze(ve), _e = ne(24), we = ze(_e), Se = ne(4), Ce = ze(Se), ye = ne(16), Ae = ze(ye), Fe = ne(21), De = ze(Fe), Le = ne(11), Ue = ze(Le), Pe = ne(3), Oe = ze(Pe);
38412
+ }(), he = ne(2), ue = ze(he), pe = ne(20), fe = ze(pe), ge = ne(0), me = ze(ge), ve = ne(13), be = ze(ve), _e = ne(24), we = ze(_e), Se = ne(4), Ce = ze(Se), ye = ne(16), Ae = ze(ye), Fe = ne(21), Pe = ze(Fe), Le = ne(11), Ue = ze(Le), De = ne(3), Oe = ze(De);
38317
38413
  function ze(Xe) {
38318
38414
  return Xe && Xe.__esModule ? Xe : { default: Xe };
38319
38415
  }
@@ -38385,7 +38481,7 @@ var quill = { exports: {} };
38385
38481
  Ze -= ot;
38386
38482
  });
38387
38483
  }
38388
- }), this.scroll.optimize(), this.update(new ue.default().retain(Me).retain(Be, (0, De.default)(tt)));
38484
+ }), this.scroll.optimize(), this.update(new ue.default().retain(Me).retain(Be, (0, Pe.default)(tt)));
38389
38485
  }
38390
38486
  }, {
38391
38487
  key: "formatText",
@@ -38393,7 +38489,7 @@ var quill = { exports: {} };
38393
38489
  var Je = this, tt = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
38394
38490
  return Object.keys(tt).forEach(function(Qe) {
38395
38491
  Je.scroll.formatAt(Me, Be, Qe, tt[Qe]);
38396
- }), this.update(new ue.default().retain(Me).retain(Be, (0, De.default)(tt)));
38492
+ }), this.update(new ue.default().retain(Me).retain(Be, (0, Pe.default)(tt)));
38397
38493
  }
38398
38494
  }, {
38399
38495
  key: "getContents",
@@ -38448,7 +38544,7 @@ var quill = { exports: {} };
38448
38544
  `).replace(/\r/g, `
38449
38545
  `), this.scroll.insertAt(Me, Be), Object.keys(tt).forEach(function(Qe) {
38450
38546
  Je.scroll.formatAt(Me, Be.length, Qe, tt[Qe]);
38451
- }), this.update(new ue.default().retain(Me).insert(Be, (0, De.default)(tt)));
38547
+ }), this.update(new ue.default().retain(Me).insert(Be, (0, Pe.default)(tt)));
38452
38548
  }
38453
38549
  }, {
38454
38550
  key: "isBlank",
@@ -38490,10 +38586,10 @@ var quill = { exports: {} };
38490
38586
  function bt(Xe) {
38491
38587
  return Xe.reduce(function(Ge, Me) {
38492
38588
  if (Me.insert === 1) {
38493
- var Be = (0, De.default)(Me.attributes);
38589
+ var Be = (0, Pe.default)(Me.attributes);
38494
38590
  return delete Be.image, Ge.insert({ image: Me.attributes.image }, Be);
38495
38591
  }
38496
- if (Me.attributes != null && (Me.attributes.list === !0 || Me.attributes.bullet === !0) && (Me = (0, De.default)(Me), Me.attributes.list ? Me.attributes.list = "ordered" : (Me.attributes.list = "bullet", delete Me.attributes.bullet)), typeof Me.insert == "string") {
38592
+ if (Me.attributes != null && (Me.attributes.list === !0 || Me.attributes.bullet === !0) && (Me = (0, Pe.default)(Me), Me.attributes.list ? Me.attributes.list = "ordered" : (Me.attributes.list = "bullet", delete Me.attributes.bullet)), typeof Me.insert == "string") {
38497
38593
  var Je = Me.insert.replace(/\r\n/g, `
38498
38594
  `).replace(/\r/g, `
38499
38595
  `);
@@ -38511,10 +38607,10 @@ var quill = { exports: {} };
38511
38607
  value: !0
38512
38608
  }), re.default = re.Range = void 0;
38513
38609
  var oe = /* @__PURE__ */ function() {
38514
- function Ue(Pe, Oe) {
38610
+ function Ue(De, Oe) {
38515
38611
  var ze = [], Ie = !0, He = !1, We = void 0;
38516
38612
  try {
38517
- for (var Ye = Pe[Symbol.iterator](), Ke; !(Ie = (Ke = Ye.next()).done) && (ze.push(Ke.value), !(Oe && ze.length === Oe)); Ie = !0)
38613
+ for (var Ye = De[Symbol.iterator](), Ke; !(Ie = (Ke = Ye.next()).done) && (ze.push(Ke.value), !(Oe && ze.length === Oe)); Ie = !0)
38518
38614
  ;
38519
38615
  } catch (bt) {
38520
38616
  He = !0, We = bt;
@@ -38527,22 +38623,22 @@ var quill = { exports: {} };
38527
38623
  }
38528
38624
  return ze;
38529
38625
  }
38530
- return function(Pe, Oe) {
38531
- if (Array.isArray(Pe))
38532
- return Pe;
38533
- if (Symbol.iterator in Object(Pe))
38534
- return Ue(Pe, Oe);
38626
+ return function(De, Oe) {
38627
+ if (Array.isArray(De))
38628
+ return De;
38629
+ if (Symbol.iterator in Object(De))
38630
+ return Ue(De, Oe);
38535
38631
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
38536
38632
  };
38537
38633
  }(), de = /* @__PURE__ */ function() {
38538
- function Ue(Pe, Oe) {
38634
+ function Ue(De, Oe) {
38539
38635
  for (var ze = 0; ze < Oe.length; ze++) {
38540
38636
  var Ie = Oe[ze];
38541
- Ie.enumerable = Ie.enumerable || !1, Ie.configurable = !0, "value" in Ie && (Ie.writable = !0), Object.defineProperty(Pe, Ie.key, Ie);
38637
+ Ie.enumerable = Ie.enumerable || !1, Ie.configurable = !0, "value" in Ie && (Ie.writable = !0), Object.defineProperty(De, Ie.key, Ie);
38542
38638
  }
38543
38639
  }
38544
- return function(Pe, Oe, ze) {
38545
- return Oe && Ue(Pe.prototype, Oe), ze && Ue(Pe, ze), Pe;
38640
+ return function(De, Oe, ze) {
38641
+ return Oe && Ue(De.prototype, Oe), ze && Ue(De, ze), De;
38546
38642
  };
38547
38643
  }(), ce = ne(0), he = Se(ce), ue = ne(21), pe = Se(ue), fe = ne(11), ge = Se(fe), me = ne(8), ve = Se(me), be = ne(10), _e = Se(be), we = ne(34);
38548
38644
  function Se(Ue) {
@@ -38550,23 +38646,23 @@ var quill = { exports: {} };
38550
38646
  }
38551
38647
  function Ce(Ue) {
38552
38648
  if (Array.isArray(Ue)) {
38553
- for (var Pe = 0, Oe = Array(Ue.length); Pe < Ue.length; Pe++)
38554
- Oe[Pe] = Ue[Pe];
38649
+ for (var De = 0, Oe = Array(Ue.length); De < Ue.length; De++)
38650
+ Oe[De] = Ue[De];
38555
38651
  return Oe;
38556
38652
  } else
38557
38653
  return Array.from(Ue);
38558
38654
  }
38559
- function ye(Ue, Pe) {
38560
- if (!(Ue instanceof Pe))
38655
+ function ye(Ue, De) {
38656
+ if (!(Ue instanceof De))
38561
38657
  throw new TypeError("Cannot call a class as a function");
38562
38658
  }
38563
- var Ae = (0, _e.default)("quill:selection"), Fe = function Ue(Pe) {
38659
+ var Ae = (0, _e.default)("quill:selection"), Fe = function Ue(De) {
38564
38660
  var Oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
38565
- ye(this, Ue), this.index = Pe, this.length = Oe;
38566
- }, De = function() {
38567
- function Ue(Pe, Oe) {
38661
+ ye(this, Ue), this.index = De, this.length = Oe;
38662
+ }, Pe = function() {
38663
+ function Ue(De, Oe) {
38568
38664
  var ze = this;
38569
- ye(this, Ue), this.emitter = Oe, this.scroll = Pe, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.rootDocument = this.root.getRootNode ? this.root.getRootNode() : document, this.cursor = he.default.create("cursor", this), this.lastRange = this.savedRange = new Fe(0, 0), this.handleComposition(), this.handleDragging(), this.emitter.listenDOM(we.SHADOW_SELECTIONCHANGE, document, function() {
38665
+ ye(this, Ue), this.emitter = Oe, this.scroll = De, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.rootDocument = this.root.getRootNode ? this.root.getRootNode() : document, this.cursor = he.default.create("cursor", this), this.lastRange = this.savedRange = new Fe(0, 0), this.handleComposition(), this.handleDragging(), this.emitter.listenDOM(we.SHADOW_SELECTIONCHANGE, document, function() {
38570
38666
  ze.mouseDown || setTimeout(ze.update.bind(ze, ve.default.sources.USER), 1);
38571
38667
  }), this.emitter.on(ve.default.events.EDITOR_CHANGE, function(Ie, He) {
38572
38668
  Ie === ve.default.events.TEXT_CHANGE && He.length() > 0 && ze.update(ve.default.sources.SILENT);
@@ -38795,15 +38891,15 @@ var quill = { exports: {} };
38795
38891
  }
38796
38892
  }]), Ue;
38797
38893
  }();
38798
- function Le(Ue, Pe) {
38894
+ function Le(Ue, De) {
38799
38895
  try {
38800
- Pe.parentNode;
38896
+ De.parentNode;
38801
38897
  } catch {
38802
38898
  return !1;
38803
38899
  }
38804
- return Pe instanceof Text && (Pe = Pe.parentNode), Ue.contains(Pe);
38900
+ return De instanceof Text && (De = De.parentNode), Ue.contains(De);
38805
38901
  }
38806
- re.Range = Fe, re.default = De;
38902
+ re.Range = Fe, re.default = Pe;
38807
38903
  },
38808
38904
  /* 16 */
38809
38905
  /***/
@@ -39229,71 +39325,71 @@ var quill = { exports: {} };
39229
39325
  typeof _e == "object" && (we = _e.depth, Se = _e.prototype, Ce = _e.includeNonEnumerable, _e = _e.circular);
39230
39326
  var ye = [], Ae = [], Fe = typeof Buffer < "u";
39231
39327
  typeof _e > "u" && (_e = !0), typeof we > "u" && (we = 1 / 0);
39232
- function De(Le, Ue) {
39328
+ function Pe(Le, Ue) {
39233
39329
  if (Le === null)
39234
39330
  return null;
39235
39331
  if (Ue === 0)
39236
39332
  return Le;
39237
- var Pe, Oe;
39333
+ var De, Oe;
39238
39334
  if (typeof Le != "object")
39239
39335
  return Le;
39240
39336
  if (oe(Le, de))
39241
- Pe = new de();
39337
+ De = new de();
39242
39338
  else if (oe(Le, ce))
39243
- Pe = new ce();
39339
+ De = new ce();
39244
39340
  else if (oe(Le, he))
39245
- Pe = new he(function(Ge, Me) {
39341
+ De = new he(function(Ge, Me) {
39246
39342
  Le.then(function(Be) {
39247
- Ge(De(Be, Ue - 1));
39343
+ Ge(Pe(Be, Ue - 1));
39248
39344
  }, function(Be) {
39249
- Me(De(Be, Ue - 1));
39345
+ Me(Pe(Be, Ue - 1));
39250
39346
  });
39251
39347
  });
39252
39348
  else if (ue.__isArray(Le))
39253
- Pe = [];
39349
+ De = [];
39254
39350
  else if (ue.__isRegExp(Le))
39255
- Pe = new RegExp(Le.source, ve(Le)), Le.lastIndex && (Pe.lastIndex = Le.lastIndex);
39351
+ De = new RegExp(Le.source, ve(Le)), Le.lastIndex && (De.lastIndex = Le.lastIndex);
39256
39352
  else if (ue.__isDate(Le))
39257
- Pe = new Date(Le.getTime());
39353
+ De = new Date(Le.getTime());
39258
39354
  else {
39259
39355
  if (Fe && Buffer.isBuffer(Le))
39260
- return Buffer.allocUnsafe ? Pe = Buffer.allocUnsafe(Le.length) : Pe = new Buffer(Le.length), Le.copy(Pe), Pe;
39261
- oe(Le, Error) ? Pe = Object.create(Le) : typeof Se > "u" ? (Oe = Object.getPrototypeOf(Le), Pe = Object.create(Oe)) : (Pe = Object.create(Se), Oe = Se);
39356
+ return Buffer.allocUnsafe ? De = Buffer.allocUnsafe(Le.length) : De = new Buffer(Le.length), Le.copy(De), De;
39357
+ oe(Le, Error) ? De = Object.create(Le) : typeof Se > "u" ? (Oe = Object.getPrototypeOf(Le), De = Object.create(Oe)) : (De = Object.create(Se), Oe = Se);
39262
39358
  }
39263
39359
  if (_e) {
39264
39360
  var ze = ye.indexOf(Le);
39265
39361
  if (ze != -1)
39266
39362
  return Ae[ze];
39267
- ye.push(Le), Ae.push(Pe);
39363
+ ye.push(Le), Ae.push(De);
39268
39364
  }
39269
39365
  oe(Le, de) && Le.forEach(function(Ge, Me) {
39270
- var Be = De(Me, Ue - 1), Je = De(Ge, Ue - 1);
39271
- Pe.set(Be, Je);
39366
+ var Be = Pe(Me, Ue - 1), Je = Pe(Ge, Ue - 1);
39367
+ De.set(Be, Je);
39272
39368
  }), oe(Le, ce) && Le.forEach(function(Ge) {
39273
- var Me = De(Ge, Ue - 1);
39274
- Pe.add(Me);
39369
+ var Me = Pe(Ge, Ue - 1);
39370
+ De.add(Me);
39275
39371
  });
39276
39372
  for (var Ie in Le) {
39277
39373
  var He;
39278
- Oe && (He = Object.getOwnPropertyDescriptor(Oe, Ie)), !(He && He.set == null) && (Pe[Ie] = De(Le[Ie], Ue - 1));
39374
+ Oe && (He = Object.getOwnPropertyDescriptor(Oe, Ie)), !(He && He.set == null) && (De[Ie] = Pe(Le[Ie], Ue - 1));
39279
39375
  }
39280
39376
  if (Object.getOwnPropertySymbols)
39281
39377
  for (var We = Object.getOwnPropertySymbols(Le), Ie = 0; Ie < We.length; Ie++) {
39282
39378
  var Ye = We[Ie], Ke = Object.getOwnPropertyDescriptor(Le, Ye);
39283
- Ke && !Ke.enumerable && !Ce || (Pe[Ye] = De(Le[Ye], Ue - 1), Ke.enumerable || Object.defineProperty(Pe, Ye, {
39379
+ Ke && !Ke.enumerable && !Ce || (De[Ye] = Pe(Le[Ye], Ue - 1), Ke.enumerable || Object.defineProperty(De, Ye, {
39284
39380
  enumerable: !1
39285
39381
  }));
39286
39382
  }
39287
39383
  if (Ce)
39288
39384
  for (var bt = Object.getOwnPropertyNames(Le), Ie = 0; Ie < bt.length; Ie++) {
39289
39385
  var Xe = bt[Ie], Ke = Object.getOwnPropertyDescriptor(Le, Xe);
39290
- Ke && Ke.enumerable || (Pe[Xe] = De(Le[Xe], Ue - 1), Object.defineProperty(Pe, Xe, {
39386
+ Ke && Ke.enumerable || (De[Xe] = Pe(Le[Xe], Ue - 1), Object.defineProperty(De, Xe, {
39291
39387
  enumerable: !1
39292
39388
  }));
39293
39389
  }
39294
- return Pe;
39390
+ return De;
39295
39391
  }
39296
- return De(be, we);
39392
+ return Pe(be, we);
39297
39393
  }
39298
39394
  ue.clonePrototype = function(_e) {
39299
39395
  if (_e === null)
@@ -39333,7 +39429,7 @@ var quill = { exports: {} };
39333
39429
  value: !0
39334
39430
  });
39335
39431
  var oe = /* @__PURE__ */ function() {
39336
- function Pe(Oe, ze) {
39432
+ function De(Oe, ze) {
39337
39433
  var Ie = [], He = !0, We = !1, Ye = void 0;
39338
39434
  try {
39339
39435
  for (var Ke = Oe[Symbol.iterator](), bt; !(He = (bt = Ke.next()).done) && (Ie.push(bt.value), !(ze && Ie.length === ze)); He = !0)
@@ -39353,25 +39449,25 @@ var quill = { exports: {} };
39353
39449
  if (Array.isArray(Oe))
39354
39450
  return Oe;
39355
39451
  if (Symbol.iterator in Object(Oe))
39356
- return Pe(Oe, ze);
39452
+ return De(Oe, ze);
39357
39453
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
39358
39454
  };
39359
39455
  }(), de = /* @__PURE__ */ function() {
39360
- function Pe(Oe, ze) {
39456
+ function De(Oe, ze) {
39361
39457
  for (var Ie = 0; Ie < ze.length; Ie++) {
39362
39458
  var He = ze[Ie];
39363
39459
  He.enumerable = He.enumerable || !1, He.configurable = !0, "value" in He && (He.writable = !0), Object.defineProperty(Oe, He.key, He);
39364
39460
  }
39365
39461
  }
39366
39462
  return function(Oe, ze, Ie) {
39367
- return ze && Pe(Oe.prototype, ze), Ie && Pe(Oe, Ie), Oe;
39463
+ return ze && De(Oe.prototype, ze), Ie && De(Oe, Ie), Oe;
39368
39464
  };
39369
- }(), ce = function Pe(Oe, ze, Ie) {
39465
+ }(), ce = function De(Oe, ze, Ie) {
39370
39466
  Oe === null && (Oe = Function.prototype);
39371
39467
  var He = Object.getOwnPropertyDescriptor(Oe, ze);
39372
39468
  if (He === void 0) {
39373
39469
  var We = Object.getPrototypeOf(Oe);
39374
- return We === null ? void 0 : Pe(We, ze, Ie);
39470
+ return We === null ? void 0 : De(We, ze, Ie);
39375
39471
  } else {
39376
39472
  if ("value" in He)
39377
39473
  return He.value;
@@ -39379,28 +39475,28 @@ var quill = { exports: {} };
39379
39475
  return Ye === void 0 ? void 0 : Ye.call(Ie);
39380
39476
  }
39381
39477
  }, he = ne(0), ue = ye(he), pe = ne(8), fe = ye(pe), ge = ne(4), me = ye(ge), ve = ne(16), be = ye(ve), _e = ne(13), we = ye(_e), Se = ne(25), Ce = ye(Se);
39382
- function ye(Pe) {
39383
- return Pe && Pe.__esModule ? Pe : { default: Pe };
39478
+ function ye(De) {
39479
+ return De && De.__esModule ? De : { default: De };
39384
39480
  }
39385
- function Ae(Pe, Oe) {
39386
- if (!(Pe instanceof Oe))
39481
+ function Ae(De, Oe) {
39482
+ if (!(De instanceof Oe))
39387
39483
  throw new TypeError("Cannot call a class as a function");
39388
39484
  }
39389
- function Fe(Pe, Oe) {
39390
- if (!Pe)
39485
+ function Fe(De, Oe) {
39486
+ if (!De)
39391
39487
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
39392
- return Oe && (typeof Oe == "object" || typeof Oe == "function") ? Oe : Pe;
39488
+ return Oe && (typeof Oe == "object" || typeof Oe == "function") ? Oe : De;
39393
39489
  }
39394
- function De(Pe, Oe) {
39490
+ function Pe(De, Oe) {
39395
39491
  if (typeof Oe != "function" && Oe !== null)
39396
39492
  throw new TypeError("Super expression must either be null or a function, not " + typeof Oe);
39397
- Pe.prototype = Object.create(Oe && Oe.prototype, { constructor: { value: Pe, enumerable: !1, writable: !0, configurable: !0 } }), Oe && (Object.setPrototypeOf ? Object.setPrototypeOf(Pe, Oe) : Pe.__proto__ = Oe);
39493
+ De.prototype = Object.create(Oe && Oe.prototype, { constructor: { value: De, enumerable: !1, writable: !0, configurable: !0 } }), Oe && (Object.setPrototypeOf ? Object.setPrototypeOf(De, Oe) : De.__proto__ = Oe);
39398
39494
  }
39399
- function Le(Pe) {
39400
- return Pe instanceof me.default || Pe instanceof ge.BlockEmbed;
39495
+ function Le(De) {
39496
+ return De instanceof me.default || De instanceof ge.BlockEmbed;
39401
39497
  }
39402
- var Ue = function(Pe) {
39403
- De(Oe, Pe);
39498
+ var Ue = function(De) {
39499
+ Pe(Oe, De);
39404
39500
  function Oe(ze, Ie) {
39405
39501
  Ae(this, Oe);
39406
39502
  var He = Fe(this, (Oe.__proto__ || Object.getPrototypeOf(Oe)).call(this, ze));
@@ -39569,8 +39665,8 @@ var quill = { exports: {} };
39569
39665
  return function(Ze, nt, ot) {
39570
39666
  return nt && Ve(Ze.prototype, nt), ot && Ve(Ze, ot), Ze;
39571
39667
  };
39572
- }(), he = ne(21), ue = Pe(he), pe = ne(11), fe = Pe(pe), ge = ne(3), me = Pe(ge), ve = ne(2), be = Pe(ve), _e = ne(20), we = Pe(_e), Se = ne(0), Ce = Pe(Se), ye = ne(5), Ae = Pe(ye), Fe = ne(10), De = Pe(Fe), Le = ne(9), Ue = Pe(Le);
39573
- function Pe(Ve) {
39668
+ }(), he = ne(21), ue = De(he), pe = ne(11), fe = De(pe), ge = ne(3), me = De(ge), ve = ne(2), be = De(ve), _e = ne(20), we = De(_e), Se = ne(0), Ce = De(Se), ye = ne(5), Ae = De(ye), Fe = ne(10), Pe = De(Fe), Le = ne(9), Ue = De(Le);
39669
+ function De(Ve) {
39574
39670
  return Ve && Ve.__esModule ? Ve : { default: Ve };
39575
39671
  }
39576
39672
  function Oe(Ve, Ze, nt) {
@@ -39590,7 +39686,7 @@ var quill = { exports: {} };
39590
39686
  throw new TypeError("Super expression must either be null or a function, not " + typeof Ze);
39591
39687
  Ve.prototype = Object.create(Ze && Ze.prototype, { constructor: { value: Ve, enumerable: !1, writable: !0, configurable: !0 } }), Ze && (Object.setPrototypeOf ? Object.setPrototypeOf(Ve, Ze) : Ve.__proto__ = Ze);
39592
39688
  }
39593
- var We = (0, De.default)("quill:keyboard"), Ye = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", Ke = function(Ve) {
39689
+ var We = (0, Pe.default)("quill:keyboard"), Ye = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", Ke = function(Ve) {
39594
39690
  He(Ze, Ve), ce(Ze, null, [{
39595
39691
  key: "match",
39596
39692
  value: function(ot, _t) {
@@ -39905,17 +40001,17 @@ var quill = { exports: {} };
39905
40001
  });
39906
40002
  var oe = /* @__PURE__ */ function() {
39907
40003
  function we(Se, Ce) {
39908
- var ye = [], Ae = !0, Fe = !1, De = void 0;
40004
+ var ye = [], Ae = !0, Fe = !1, Pe = void 0;
39909
40005
  try {
39910
40006
  for (var Le = Se[Symbol.iterator](), Ue; !(Ae = (Ue = Le.next()).done) && (ye.push(Ue.value), !(Ce && ye.length === Ce)); Ae = !0)
39911
40007
  ;
39912
- } catch (Pe) {
39913
- Fe = !0, De = Pe;
40008
+ } catch (De) {
40009
+ Fe = !0, Pe = De;
39914
40010
  } finally {
39915
40011
  try {
39916
40012
  !Ae && Le.return && Le.return();
39917
40013
  } finally {
39918
- if (Fe) throw De;
40014
+ if (Fe) throw Pe;
39919
40015
  }
39920
40016
  }
39921
40017
  return ye;
@@ -39936,8 +40032,8 @@ var quill = { exports: {} };
39936
40032
  } else {
39937
40033
  if ("value" in Ae)
39938
40034
  return Ae.value;
39939
- var De = Ae.get;
39940
- return De === void 0 ? void 0 : De.call(ye);
40035
+ var Pe = Ae.get;
40036
+ return Pe === void 0 ? void 0 : Pe.call(ye);
39941
40037
  }
39942
40038
  }, ce = /* @__PURE__ */ function() {
39943
40039
  function we(Se, Ce) {
@@ -39988,9 +40084,9 @@ var quill = { exports: {} };
39988
40084
  value: function(ye, Ae) {
39989
40085
  if (this._length !== 0)
39990
40086
  return de(Se.prototype.__proto__ || Object.getPrototypeOf(Se.prototype), "format", this).call(this, ye, Ae);
39991
- for (var Fe = this, De = 0; Fe != null && Fe.statics.scope !== ue.default.Scope.BLOCK_BLOT; )
39992
- De += Fe.offset(Fe.parent), Fe = Fe.parent;
39993
- Fe != null && (this._length = Se.CONTENTS.length, Fe.optimize(), Fe.formatAt(De, Se.CONTENTS.length, ye, Ae), this._length = 0);
40087
+ for (var Fe = this, Pe = 0; Fe != null && Fe.statics.scope !== ue.default.Scope.BLOCK_BLOT; )
40088
+ Pe += Fe.offset(Fe.parent), Fe = Fe.parent;
40089
+ Fe != null && (this._length = Se.CONTENTS.length, Fe.optimize(), Fe.formatAt(Pe, Se.CONTENTS.length, ye, Ae), this._length = 0);
39994
40090
  }
39995
40091
  }, {
39996
40092
  key: "index",
@@ -40016,24 +40112,24 @@ var quill = { exports: {} };
40016
40112
  key: "restore",
40017
40113
  value: function() {
40018
40114
  if (!(this.selection.composing || this.parent == null)) {
40019
- var ye = this.textNode, Ae = this.selection.getNativeRange(), Fe = void 0, De = void 0, Le = void 0;
40115
+ var ye = this.textNode, Ae = this.selection.getNativeRange(), Fe = void 0, Pe = void 0, Le = void 0;
40020
40116
  if (Ae != null && Ae.start.node === ye && Ae.end.node === ye) {
40021
40117
  var Ue = [ye, Ae.start.offset, Ae.end.offset];
40022
- Fe = Ue[0], De = Ue[1], Le = Ue[2];
40118
+ Fe = Ue[0], Pe = Ue[1], Le = Ue[2];
40023
40119
  }
40024
40120
  for (; this.domNode.lastChild != null && this.domNode.lastChild !== this.textNode; )
40025
40121
  this.domNode.parentNode.insertBefore(this.domNode.lastChild, this.domNode);
40026
40122
  if (this.textNode.data !== Se.CONTENTS) {
40027
- var Pe = this.textNode.data.split(Se.CONTENTS).join("");
40028
- this.next instanceof fe.default ? (Fe = this.next.domNode, this.next.insertAt(0, Pe), this.textNode.data = Se.CONTENTS) : (this.textNode.data = Pe, this.parent.insertBefore(ue.default.create(this.textNode), this), this.textNode = document.createTextNode(Se.CONTENTS), this.domNode.appendChild(this.textNode));
40123
+ var De = this.textNode.data.split(Se.CONTENTS).join("");
40124
+ this.next instanceof fe.default ? (Fe = this.next.domNode, this.next.insertAt(0, De), this.textNode.data = Se.CONTENTS) : (this.textNode.data = De, this.parent.insertBefore(ue.default.create(this.textNode), this), this.textNode = document.createTextNode(Se.CONTENTS), this.domNode.appendChild(this.textNode));
40029
40125
  }
40030
- if (this.remove(), De != null) {
40031
- var Oe = [De, Le].map(function(Ie) {
40126
+ if (this.remove(), Pe != null) {
40127
+ var Oe = [Pe, Le].map(function(Ie) {
40032
40128
  return Math.max(0, Math.min(Fe.data.length, Ie - 1));
40033
40129
  }), ze = oe(Oe, 2);
40034
- return De = ze[0], Le = ze[1], {
40130
+ return Pe = ze[0], Le = ze[1], {
40035
40131
  startNode: Fe,
40036
- startOffset: De,
40132
+ startOffset: Pe,
40037
40133
  endNode: Fe,
40038
40134
  endOffset: Le
40039
40135
  };
@@ -40047,8 +40143,8 @@ var quill = { exports: {} };
40047
40143
  if (ye.some(function(Le) {
40048
40144
  return Le.type === "characterData" && Le.target === Fe.textNode;
40049
40145
  })) {
40050
- var De = this.restore();
40051
- De && (Ae.range = De);
40146
+ var Pe = this.restore();
40147
+ Pe && (Ae.range = Pe);
40052
40148
  }
40053
40149
  }
40054
40150
  }, {
@@ -40386,7 +40482,7 @@ var quill = { exports: {} };
40386
40482
  Object.defineProperty(re, "__esModule", {
40387
40483
  value: !0
40388
40484
  });
40389
- var oe = ne(0), de = We(oe), ce = ne(5), he = We(ce), ue = ne(4), pe = We(ue), fe = ne(16), ge = We(fe), me = ne(25), ve = We(me), be = ne(24), _e = We(be), we = ne(36), Se = We(we), Ce = ne(6), ye = We(Ce), Ae = ne(22), Fe = We(Ae), De = ne(7), Le = We(De), Ue = ne(56), Pe = We(Ue), Oe = ne(43), ze = We(Oe), Ie = ne(23), He = We(Ie);
40485
+ var oe = ne(0), de = We(oe), ce = ne(5), he = We(ce), ue = ne(4), pe = We(ue), fe = ne(16), ge = We(fe), me = ne(25), ve = We(me), be = ne(24), _e = We(be), we = ne(36), Se = We(we), Ce = ne(6), ye = We(Ce), Ae = ne(22), Fe = We(Ae), Pe = ne(7), Le = We(Pe), Ue = ne(56), De = We(Ue), Oe = ne(43), ze = We(Oe), Ie = ne(23), He = We(Ie);
40390
40486
  function We(Ye) {
40391
40487
  return Ye && Ye.__esModule ? Ye : { default: Ye };
40392
40488
  }
@@ -40400,7 +40496,7 @@ var quill = { exports: {} };
40400
40496
  "blots/inline": ye.default,
40401
40497
  "blots/scroll": Fe.default,
40402
40498
  "blots/text": Le.default,
40403
- "modules/clipboard": Pe.default,
40499
+ "modules/clipboard": De.default,
40404
40500
  "modules/history": ze.default,
40405
40501
  "modules/keyboard": He.default
40406
40502
  }), de.default.register(pe.default, ge.default, _e.default, ye.default, Fe.default, Le.default), re.default = he.default;
@@ -40625,19 +40721,19 @@ var quill = { exports: {} };
40625
40721
  function(X, re, ne) {
40626
40722
  Object.defineProperty(re, "__esModule", {
40627
40723
  value: !0
40628
- }), re.getRange = De, re.internalGetShadowSelection = Ue;
40724
+ }), re.getRange = Pe, re.internalGetShadowSelection = Ue;
40629
40725
  var oe = re.SHADOW_SELECTIONCHANGE = "-shadow-selectionchange", de = "attachShadow" in Element.prototype && "getRootNode" in Element.prototype, ce = !!(de && document.createElement("div").attachShadow({ mode: "open" }).getSelection), he = window.ShadyDOM && window.ShadyDOM.inUse, ue = /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, pe = !de || he || !ce && !ue, fe = [Node.ELEMENT_NODE, Node.TEXT_NODE, Node.DOCUMENT_FRAGMENT_NODE];
40630
- function ge(Pe) {
40631
- return fe.includes(Pe.nodeType);
40726
+ function ge(De) {
40727
+ return fe.includes(De.nodeType);
40632
40728
  }
40633
- function me(Pe, Oe, ze) {
40729
+ function me(De, Oe, ze) {
40634
40730
  var Ie = Oe.childNodes || Oe.children;
40635
40731
  if (!Ie)
40636
40732
  return Oe;
40637
40733
  for (var He = 0; He < Ie.length; ++He) {
40638
40734
  var We = ze ? He : Ie.length - 1 - He, Ye = Ie[We];
40639
- if (ge(Ye) && Pe.containsNode(Ye, !0))
40640
- return Pe.containsNode(Ye, !1) ? Ye : me(Pe, Ye, ze);
40735
+ if (ge(Ye) && De.containsNode(Ye, !0))
40736
+ return De.containsNode(Ye, !1) ? Ye : me(De, Ye, ze);
40641
40737
  }
40642
40738
  return Oe;
40643
40739
  }
@@ -40647,10 +40743,10 @@ var quill = { exports: {} };
40647
40743
  document.dispatchEvent(new CustomEvent(oe));
40648
40744
  }), function() {
40649
40745
  };
40650
- var Pe = !1, Oe = [];
40746
+ var De = !1, Oe = [];
40651
40747
  return document.addEventListener("selectionchange", function(ze) {
40652
- Pe || (document.dispatchEvent(new CustomEvent(oe)), Pe = !0, window.setTimeout(function() {
40653
- Pe = !1;
40748
+ De || (document.dispatchEvent(new CustomEvent(oe)), De = !0, window.setTimeout(function() {
40749
+ De = !1;
40654
40750
  }, 2), Oe.forEach(function(Ie) {
40655
40751
  return Ie(ze);
40656
40752
  }));
@@ -40659,79 +40755,79 @@ var quill = { exports: {} };
40659
40755
  };
40660
40756
  }(), be = !1, _e = null;
40661
40757
  ve(function() {
40662
- var Pe = window.getSelection();
40663
- Pe.type === "Caret" ? be = !0 : be && !_e && (_e = Promise.resolve(!0).then(function() {
40758
+ var De = window.getSelection();
40759
+ De.type === "Caret" ? be = !0 : be && !_e && (_e = Promise.resolve(!0).then(function() {
40664
40760
  be = !1, _e = null;
40665
40761
  }));
40666
40762
  });
40667
- function we(Pe, Oe, ze) {
40763
+ function we(De, Oe, ze) {
40668
40764
  for (var Ie = Oe; (Oe = Ce(Oe, ze)) && Oe.contains(Ie); )
40669
40765
  ;
40670
- return Oe ? Oe instanceof Element && Pe.containsNode(Oe, !0) : !1;
40766
+ return Oe ? Oe instanceof Element && De.containsNode(Oe, !0) : !1;
40671
40767
  }
40672
- function Se(Pe, Oe, ze) {
40673
- if (Pe.type === "Range") {
40768
+ function Se(De, Oe, ze) {
40769
+ if (De.type === "Range") {
40674
40770
  var Ie = function() {
40675
- return Pe.toString().length;
40771
+ return De.toString().length;
40676
40772
  }, He = Ie();
40677
40773
  if (He === 1 && be && Oe === ze) {
40678
- Pe.extend(Oe, 0), Pe.collapseToEnd();
40774
+ De.extend(Oe, 0), De.collapseToEnd();
40679
40775
  return;
40680
40776
  }
40681
40777
  var We = void 0;
40682
- if (Pe.modify("extend", "forward", "character"), We = Ie(), We > He || we(Pe, ze, !0))
40683
- return Pe.modify("extend", "backward", "character"), !0;
40684
- if (We < He || !Pe.containsNode(Oe))
40685
- return Pe.modify("extend", "backward", "character"), !1;
40686
- if (Pe.modify("extend", "backward", "character"), We = Ie(), We > He || we(Pe, Oe, !1))
40687
- return Pe.modify("extend", "forward", "character"), !1;
40688
- if (We < He || !Pe.containsNode(ze))
40689
- return Pe.modify("extend", "forward", "character"), !0;
40778
+ if (De.modify("extend", "forward", "character"), We = Ie(), We > He || we(De, ze, !0))
40779
+ return De.modify("extend", "backward", "character"), !0;
40780
+ if (We < He || !De.containsNode(Oe))
40781
+ return De.modify("extend", "backward", "character"), !1;
40782
+ if (De.modify("extend", "backward", "character"), We = Ie(), We > He || we(De, Oe, !1))
40783
+ return De.modify("extend", "forward", "character"), !1;
40784
+ if (We < He || !De.containsNode(ze))
40785
+ return De.modify("extend", "forward", "character"), !0;
40690
40786
  }
40691
40787
  }
40692
- function Ce(Pe, Oe) {
40788
+ function Ce(De, Oe) {
40693
40789
  if (!Oe)
40694
- return Pe.previousSibling || Pe.parentNode || null;
40695
- for (; Pe; ) {
40696
- if (Pe.nextSibling)
40697
- return Pe.nextSibling;
40698
- Pe = Pe.parentNode;
40790
+ return De.previousSibling || De.parentNode || null;
40791
+ for (; De; ) {
40792
+ if (De.nextSibling)
40793
+ return De.nextSibling;
40794
+ De = De.parentNode;
40699
40795
  }
40700
40796
  return null;
40701
40797
  }
40702
- function ye(Pe) {
40703
- return Pe.nodeType !== Node.TEXT_NODE ? 0 : /^\s*/.exec(Pe.textContent)[0].length;
40798
+ function ye(De) {
40799
+ return De.nodeType !== Node.TEXT_NODE ? 0 : /^\s*/.exec(De.textContent)[0].length;
40704
40800
  }
40705
- function Ae(Pe) {
40706
- if (Pe.nodeType !== Node.TEXT_NODE)
40801
+ function Ae(De) {
40802
+ if (De.nodeType !== Node.TEXT_NODE)
40707
40803
  return 0;
40708
- var Oe = /\s*$/.exec(Pe.textContent)[0].length;
40804
+ var Oe = /\s*$/.exec(De.textContent)[0].length;
40709
40805
  return Oe ? Oe - 1 : 0;
40710
40806
  }
40711
40807
  var Fe = /* @__PURE__ */ new Map();
40712
- function De(Pe) {
40808
+ function Pe(De) {
40713
40809
  if (ce || pe) {
40714
- var Oe = (pe ? document : Pe).getSelection();
40810
+ var Oe = (pe ? document : De).getSelection();
40715
40811
  return Oe.rangeCount ? Oe.getRangeAt(0) : null;
40716
40812
  }
40717
- var ze = Fe.get(Pe);
40813
+ var ze = Fe.get(De);
40718
40814
  if (ze)
40719
40815
  return ze;
40720
- var Ie = Ue(Pe);
40721
- return Fe.set(Pe, Ie.range), window.setTimeout(function() {
40722
- Fe.delete(Pe);
40816
+ var Ie = Ue(De);
40817
+ return Fe.set(De, Ie.range), window.setTimeout(function() {
40818
+ Fe.delete(De);
40723
40819
  }, 0), Ie.range;
40724
40820
  }
40725
40821
  var Le = document.createTextNode("");
40726
- function Ue(Pe) {
40822
+ function Ue(De) {
40727
40823
  var Oe = document.createRange(), ze = window.getSelection();
40728
- if (!ze.containsNode(Pe.host, !0))
40824
+ if (!ze.containsNode(De.host, !0))
40729
40825
  return { range: null, mode: "none" };
40730
- Pe.insertBefore(Le, Pe.childNodes[0]);
40826
+ De.insertBefore(Le, De.childNodes[0]);
40731
40827
  var Ie = ze.containsNode(Le);
40732
40828
  if (Le.remove(), Ie)
40733
40829
  return { range: null, mode: "outside-before" };
40734
- Pe.appendChild(Le);
40830
+ De.appendChild(Le);
40735
40831
  var He = ze.containsNode(Le);
40736
40832
  if (Le.remove(), He)
40737
40833
  return { range: null, mode: "outside-after" };
@@ -40740,8 +40836,8 @@ var quill = { exports: {} };
40740
40836
  };
40741
40837
  if (!(ze.type === "Caret" || ze.type === "Range"))
40742
40838
  throw new TypeError("unexpected type: " + ze.type);
40743
- var Ye = me(ze, Pe, !0), Ke = void 0, bt = void 0;
40744
- if (ze.type === "Range" && (Ke = me(ze, Pe, !1), bt = Se(ze, Ye, Ke)), ze.type === "Caret") {
40839
+ var Ye = me(ze, De, !0), Ke = void 0, bt = void 0;
40840
+ if (ze.type === "Range" && (Ke = me(ze, De, !1), bt = Se(ze, Ye, Ke)), ze.type === "Caret") {
40745
40841
  ze.extend(Ye, 0);
40746
40842
  var Xe = We();
40747
40843
  return ze.collapseToEnd(), Oe.setStart(Ye, Xe), Oe.setEnd(Ye, Xe), { range: Oe, mode: "caret" };
@@ -40829,8 +40925,8 @@ var quill = { exports: {} };
40829
40925
  } else {
40830
40926
  if ("value" in Ae)
40831
40927
  return Ae.value;
40832
- var De = Ae.get;
40833
- return De === void 0 ? void 0 : De.call(ye);
40928
+ var Pe = Ae.get;
40929
+ return Pe === void 0 ? void 0 : Pe.call(ye);
40834
40930
  }
40835
40931
  }, ce = ne(0), he = fe(ce), ue = ne(7), pe = fe(ue);
40836
40932
  function fe(we) {
@@ -40867,25 +40963,25 @@ var quill = { exports: {} };
40867
40963
  }, {
40868
40964
  key: "restore",
40869
40965
  value: function(ye) {
40870
- var Ae = void 0, Fe = void 0, De = ye.data.split(be).join("");
40966
+ var Ae = void 0, Fe = void 0, Pe = ye.data.split(be).join("");
40871
40967
  if (ye === this.leftGuard)
40872
40968
  if (this.prev instanceof pe.default) {
40873
40969
  var Le = this.prev.length();
40874
- this.prev.insertAt(Le, De), Ae = {
40970
+ this.prev.insertAt(Le, Pe), Ae = {
40875
40971
  startNode: this.prev.domNode,
40876
- startOffset: Le + De.length
40972
+ startOffset: Le + Pe.length
40877
40973
  };
40878
40974
  } else
40879
- Fe = document.createTextNode(De), this.parent.insertBefore(he.default.create(Fe), this), Ae = {
40975
+ Fe = document.createTextNode(Pe), this.parent.insertBefore(he.default.create(Fe), this), Ae = {
40880
40976
  startNode: Fe,
40881
- startOffset: De.length
40977
+ startOffset: Pe.length
40882
40978
  };
40883
- else ye === this.rightGuard && (this.next instanceof pe.default ? (this.next.insertAt(0, De), Ae = {
40979
+ else ye === this.rightGuard && (this.next instanceof pe.default ? (this.next.insertAt(0, Pe), Ae = {
40884
40980
  startNode: this.next.domNode,
40885
- startOffset: De.length
40886
- }) : (Fe = document.createTextNode(De), this.parent.insertBefore(he.default.create(Fe), this.next), Ae = {
40981
+ startOffset: Pe.length
40982
+ }) : (Fe = document.createTextNode(Pe), this.parent.insertBefore(he.default.create(Fe), this.next), Ae = {
40887
40983
  startNode: Fe,
40888
- startOffset: De.length
40984
+ startOffset: Pe.length
40889
40985
  }));
40890
40986
  return ye.data = be, Ae;
40891
40987
  }
@@ -40893,9 +40989,9 @@ var quill = { exports: {} };
40893
40989
  key: "update",
40894
40990
  value: function(ye, Ae) {
40895
40991
  var Fe = this;
40896
- ye.forEach(function(De) {
40897
- if (De.type === "characterData" && (De.target === Fe.leftGuard || De.target === Fe.rightGuard)) {
40898
- var Le = Fe.restore(De.target);
40992
+ ye.forEach(function(Pe) {
40993
+ if (Pe.type === "characterData" && (Pe.target === Fe.leftGuard || Pe.target === Fe.rightGuard)) {
40994
+ var Le = Fe.restore(Pe.target);
40899
40995
  Le && (Ae.range = Le);
40900
40996
  }
40901
40997
  });
@@ -40978,8 +41074,8 @@ var quill = { exports: {} };
40978
41074
  } else {
40979
41075
  if ("value" in Ae)
40980
41076
  return Ae.value;
40981
- var De = Ae.get;
40982
- return De === void 0 ? void 0 : De.call(ye);
41077
+ var Pe = Ae.get;
41078
+ return Pe === void 0 ? void 0 : Pe.call(ye);
40983
41079
  }
40984
41080
  }, ce = ne(0), he = ue(ce);
40985
41081
  function ue(we) {
@@ -41097,8 +41193,8 @@ var quill = { exports: {} };
41097
41193
  var oe = /* @__PURE__ */ function() {
41098
41194
  function Ce(ye, Ae) {
41099
41195
  for (var Fe = 0; Fe < Ae.length; Fe++) {
41100
- var De = Ae[Fe];
41101
- De.enumerable = De.enumerable || !1, De.configurable = !0, "value" in De && (De.writable = !0), Object.defineProperty(ye, De.key, De);
41196
+ var Pe = Ae[Fe];
41197
+ Pe.enumerable = Pe.enumerable || !1, Pe.configurable = !0, "value" in Pe && (Pe.writable = !0), Object.defineProperty(ye, Pe.key, Pe);
41102
41198
  }
41103
41199
  }
41104
41200
  return function(ye, Ae, Fe) {
@@ -41126,17 +41222,17 @@ var quill = { exports: {} };
41126
41222
  be(ye, Ce);
41127
41223
  function ye(Ae, Fe) {
41128
41224
  me(this, ye);
41129
- var De = ve(this, (ye.__proto__ || Object.getPrototypeOf(ye)).call(this, Ae, Fe));
41130
- return De.lastRecorded = 0, De.ignoreChange = !1, De.clear(), De.quill.on(ue.default.events.EDITOR_CHANGE, function(Le, Ue, Pe, Oe) {
41131
- Le !== ue.default.events.TEXT_CHANGE || De.ignoreChange || (!De.options.userOnly || Oe === ue.default.sources.USER ? De.record(Ue, Pe) : De.transform(Ue));
41132
- }), De.quill.keyboard.addBinding({ key: "Z", shortKey: !0 }, De.undo.bind(De)), De.quill.keyboard.addBinding({ key: "Z", shortKey: !0, shiftKey: !0 }, De.redo.bind(De)), /Win/i.test(navigator.platform) && De.quill.keyboard.addBinding({ key: "Y", shortKey: !0 }, De.redo.bind(De)), De;
41225
+ var Pe = ve(this, (ye.__proto__ || Object.getPrototypeOf(ye)).call(this, Ae, Fe));
41226
+ return Pe.lastRecorded = 0, Pe.ignoreChange = !1, Pe.clear(), Pe.quill.on(ue.default.events.EDITOR_CHANGE, function(Le, Ue, De, Oe) {
41227
+ Le !== ue.default.events.TEXT_CHANGE || Pe.ignoreChange || (!Pe.options.userOnly || Oe === ue.default.sources.USER ? Pe.record(Ue, De) : Pe.transform(Ue));
41228
+ }), Pe.quill.keyboard.addBinding({ key: "Z", shortKey: !0 }, Pe.undo.bind(Pe)), Pe.quill.keyboard.addBinding({ key: "Z", shortKey: !0, shiftKey: !0 }, Pe.redo.bind(Pe)), /Win/i.test(navigator.platform) && Pe.quill.keyboard.addBinding({ key: "Y", shortKey: !0 }, Pe.redo.bind(Pe)), Pe;
41133
41229
  }
41134
41230
  return oe(ye, [{
41135
41231
  key: "change",
41136
- value: function(Fe, De) {
41232
+ value: function(Fe, Pe) {
41137
41233
  if (this.stack[Fe].length !== 0) {
41138
41234
  var Le = this.stack[Fe].pop();
41139
- this.stack[De].push(Le), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(Le[Fe], ue.default.sources.USER), this.ignoreChange = !1;
41235
+ this.stack[Pe].push(Le), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(Le[Fe], ue.default.sources.USER), this.ignoreChange = !1;
41140
41236
  var Ue = Se(Le[Fe]);
41141
41237
  this.quill.setSelection(Ue);
41142
41238
  }
@@ -41153,13 +41249,13 @@ var quill = { exports: {} };
41153
41249
  }
41154
41250
  }, {
41155
41251
  key: "record",
41156
- value: function(Fe, De) {
41252
+ value: function(Fe, Pe) {
41157
41253
  if (Fe.ops.length !== 0) {
41158
41254
  this.stack.redo = [];
41159
- var Le = this.quill.getContents().diff(De), Ue = Date.now();
41255
+ var Le = this.quill.getContents().diff(Pe), Ue = Date.now();
41160
41256
  if (this.lastRecorded + this.options.delay > Ue && this.stack.undo.length > 0) {
41161
- var Pe = this.stack.undo.pop();
41162
- Le = Le.compose(Pe.undo), Fe = Pe.redo.compose(Fe);
41257
+ var De = this.stack.undo.pop();
41258
+ Le = Le.compose(De.undo), Fe = De.redo.compose(Fe);
41163
41259
  } else
41164
41260
  this.lastRecorded = Ue;
41165
41261
  this.stack.undo.push({
@@ -41176,10 +41272,10 @@ var quill = { exports: {} };
41176
41272
  }, {
41177
41273
  key: "transform",
41178
41274
  value: function(Fe) {
41179
- this.stack.undo.forEach(function(De) {
41180
- De.undo = Fe.transform(De.undo, !0), De.redo = Fe.transform(De.redo, !0);
41181
- }), this.stack.redo.forEach(function(De) {
41182
- De.undo = Fe.transform(De.undo, !0), De.redo = Fe.transform(De.redo, !0);
41275
+ this.stack.undo.forEach(function(Pe) {
41276
+ Pe.undo = Fe.transform(Pe.undo, !0), Pe.redo = Fe.transform(Pe.redo, !0);
41277
+ }), this.stack.redo.forEach(function(Pe) {
41278
+ Pe.undo = Fe.transform(Pe.undo, !0), Pe.redo = Fe.transform(Pe.redo, !0);
41183
41279
  });
41184
41280
  }
41185
41281
  }, {
@@ -41202,8 +41298,8 @@ var quill = { exports: {} };
41202
41298
  }) : !1;
41203
41299
  }
41204
41300
  function Se(Ce) {
41205
- var ye = Ce.reduce(function(Fe, De) {
41206
- return Fe += De.delete || 0, Fe;
41301
+ var ye = Ce.reduce(function(Fe, Pe) {
41302
+ return Fe += Pe.delete || 0, Fe;
41207
41303
  }, 0), Ae = Ce.length() - ye;
41208
41304
  return we(Ce) && (Ae -= 1), Ae;
41209
41305
  }
@@ -41237,11 +41333,11 @@ var quill = { exports: {} };
41237
41333
  var nt = Ve.get;
41238
41334
  return nt === void 0 ? void 0 : nt.call(Qe);
41239
41335
  }
41240
- }, ce = ne(3), he = Ue(ce), ue = ne(2), pe = Ue(ue), fe = ne(8), ge = Ue(fe), me = ne(23), ve = Ue(me), be = ne(35), _e = Ue(be), we = ne(60), Se = Ue(we), Ce = ne(61), ye = Ue(Ce), Ae = ne(28), Fe = Ue(Ae), De = ne(62), Le = Ue(De);
41336
+ }, ce = ne(3), he = Ue(ce), ue = ne(2), pe = Ue(ue), fe = ne(8), ge = Ue(fe), me = ne(23), ve = Ue(me), be = ne(35), _e = Ue(be), we = ne(60), Se = Ue(we), Ce = ne(61), ye = Ue(Ce), Ae = ne(28), Fe = Ue(Ae), Pe = ne(62), Le = Ue(Pe);
41241
41337
  function Ue(Be) {
41242
41338
  return Be && Be.__esModule ? Be : { default: Be };
41243
41339
  }
41244
- function Pe(Be, Je) {
41340
+ function De(Be, Je) {
41245
41341
  if (!(Be instanceof Je))
41246
41342
  throw new TypeError("Cannot call a class as a function");
41247
41343
  }
@@ -41258,7 +41354,7 @@ var quill = { exports: {} };
41258
41354
  var Ie = [!1, "center", "right", "justify"], He = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], We = [!1, "serif", "monospace"], Ye = ["1", "2", "3", !1], Ke = ["petita", !1, "gran", "enorme"], bt = function(Be) {
41259
41355
  ze(Je, Be);
41260
41356
  function Je(tt, Qe) {
41261
- Pe(this, Je);
41357
+ De(this, Je);
41262
41358
  var Ve = Oe(this, (Je.__proto__ || Object.getPrototypeOf(Je)).call(this, tt, Qe)), Ze = function nt(ot) {
41263
41359
  if (!document.body.contains(tt.root))
41264
41360
  return document.body.removeEventListener("click", nt);
@@ -41343,7 +41439,7 @@ var quill = { exports: {} };
41343
41439
  var Xe = function(Be) {
41344
41440
  ze(Je, Be);
41345
41441
  function Je(tt, Qe) {
41346
- Pe(this, Je);
41442
+ De(this, Je);
41347
41443
  var Ve = Oe(this, (Je.__proto__ || Object.getPrototypeOf(Je)).call(this, tt, Qe));
41348
41444
  return Ve.textbox = Ve.root.querySelector('input[type="text"]'), Ve.listen(), Ve;
41349
41445
  }
@@ -41537,8 +41633,8 @@ var quill = { exports: {} };
41537
41633
  throw new Error("[Parchment] Maximum optimize iterations reached");
41538
41634
  for (Ce.forEach(function(Ae) {
41539
41635
  var Fe = ce.find(Ae.target, !0);
41540
- Fe != null && (Fe.domNode === Ae.target && (Ae.type === "childList" ? (we(ce.find(Ae.previousSibling, !1)), [].forEach.call(Ae.addedNodes, function(De) {
41541
- var Le = ce.find(De, !1);
41636
+ Fe != null && (Fe.domNode === Ae.target && (Ae.type === "childList" ? (we(ce.find(Ae.previousSibling, !1)), [].forEach.call(Ae.addedNodes, function(Pe) {
41637
+ var Le = ce.find(Pe, !1);
41542
41638
  we(Le, !1), Le instanceof de.default && Le.children.forEach(function(Ue) {
41543
41639
  we(Ue, !1);
41544
41640
  });
@@ -41807,12 +41903,12 @@ var quill = { exports: {} };
41807
41903
  if (ye == Ae)
41808
41904
  return ye ? [[de, ye]] : [];
41809
41905
  (Fe < 0 || ye.length < Fe) && (Fe = null);
41810
- var De = fe(ye, Ae), Le = ye.substring(0, De);
41811
- ye = ye.substring(De), Ae = Ae.substring(De), De = ge(ye, Ae);
41812
- var Ue = ye.substring(ye.length - De);
41813
- ye = ye.substring(0, ye.length - De), Ae = Ae.substring(0, Ae.length - De);
41814
- var Pe = he(ye, Ae);
41815
- return Le && Pe.unshift([de, Le]), Ue && Pe.push([de, Ue]), ve(Pe), Fe != null && (Pe = we(Pe, Fe)), Pe = Se(Pe), Pe;
41906
+ var Pe = fe(ye, Ae), Le = ye.substring(0, Pe);
41907
+ ye = ye.substring(Pe), Ae = Ae.substring(Pe), Pe = ge(ye, Ae);
41908
+ var Ue = ye.substring(ye.length - Pe);
41909
+ ye = ye.substring(0, ye.length - Pe), Ae = Ae.substring(0, Ae.length - Pe);
41910
+ var De = he(ye, Ae);
41911
+ return Le && De.unshift([de, Le]), Ue && De.push([de, Ue]), ve(De), Fe != null && (De = we(De, Fe)), De = Se(De), De;
41816
41912
  }
41817
41913
  function he(ye, Ae) {
41818
41914
  var Fe;
@@ -41820,39 +41916,39 @@ var quill = { exports: {} };
41820
41916
  return [[oe, Ae]];
41821
41917
  if (!Ae)
41822
41918
  return [[ne, ye]];
41823
- var De = ye.length > Ae.length ? ye : Ae, Le = ye.length > Ae.length ? Ae : ye, Ue = De.indexOf(Le);
41919
+ var Pe = ye.length > Ae.length ? ye : Ae, Le = ye.length > Ae.length ? Ae : ye, Ue = Pe.indexOf(Le);
41824
41920
  if (Ue != -1)
41825
41921
  return Fe = [
41826
- [oe, De.substring(0, Ue)],
41922
+ [oe, Pe.substring(0, Ue)],
41827
41923
  [de, Le],
41828
- [oe, De.substring(Ue + Le.length)]
41924
+ [oe, Pe.substring(Ue + Le.length)]
41829
41925
  ], ye.length > Ae.length && (Fe[0][0] = Fe[2][0] = ne), Fe;
41830
41926
  if (Le.length == 1)
41831
41927
  return [[ne, ye], [oe, Ae]];
41832
- var Pe = me(ye, Ae);
41833
- if (Pe) {
41834
- var Oe = Pe[0], ze = Pe[1], Ie = Pe[2], He = Pe[3], We = Pe[4], Ye = ce(Oe, Ie), Ke = ce(ze, He);
41928
+ var De = me(ye, Ae);
41929
+ if (De) {
41930
+ var Oe = De[0], ze = De[1], Ie = De[2], He = De[3], We = De[4], Ye = ce(Oe, Ie), Ke = ce(ze, He);
41835
41931
  return Ye.concat([[de, We]], Ke);
41836
41932
  }
41837
41933
  return ue(ye, Ae);
41838
41934
  }
41839
41935
  function ue(ye, Ae) {
41840
- for (var Fe = ye.length, De = Ae.length, Le = Math.ceil((Fe + De) / 2), Ue = Le, Pe = 2 * Le, Oe = new Array(Pe), ze = new Array(Pe), Ie = 0; Ie < Pe; Ie++)
41936
+ for (var Fe = ye.length, Pe = Ae.length, Le = Math.ceil((Fe + Pe) / 2), Ue = Le, De = 2 * Le, Oe = new Array(De), ze = new Array(De), Ie = 0; Ie < De; Ie++)
41841
41937
  Oe[Ie] = -1, ze[Ie] = -1;
41842
41938
  Oe[Ue + 1] = 0, ze[Ue + 1] = 0;
41843
- for (var He = Fe - De, We = He % 2 != 0, Ye = 0, Ke = 0, bt = 0, Xe = 0, Ge = 0; Ge < Le; Ge++) {
41939
+ for (var He = Fe - Pe, We = He % 2 != 0, Ye = 0, Ke = 0, bt = 0, Xe = 0, Ge = 0; Ge < Le; Ge++) {
41844
41940
  for (var Me = -Ge + Ye; Me <= Ge - Ke; Me += 2) {
41845
41941
  var Be = Ue + Me, Je;
41846
41942
  Me == -Ge || Me != Ge && Oe[Be - 1] < Oe[Be + 1] ? Je = Oe[Be + 1] : Je = Oe[Be - 1] + 1;
41847
- for (var tt = Je - Me; Je < Fe && tt < De && ye.charAt(Je) == Ae.charAt(tt); )
41943
+ for (var tt = Je - Me; Je < Fe && tt < Pe && ye.charAt(Je) == Ae.charAt(tt); )
41848
41944
  Je++, tt++;
41849
41945
  if (Oe[Be] = Je, Je > Fe)
41850
41946
  Ke += 2;
41851
- else if (tt > De)
41947
+ else if (tt > Pe)
41852
41948
  Ye += 2;
41853
41949
  else if (We) {
41854
41950
  var Qe = Ue + He - Me;
41855
- if (Qe >= 0 && Qe < Pe && ze[Qe] != -1) {
41951
+ if (Qe >= 0 && Qe < De && ze[Qe] != -1) {
41856
41952
  var Ve = Fe - ze[Qe];
41857
41953
  if (Je >= Ve)
41858
41954
  return pe(ye, Ae, Je, tt);
@@ -41862,15 +41958,15 @@ var quill = { exports: {} };
41862
41958
  for (var Ze = -Ge + bt; Ze <= Ge - Xe; Ze += 2) {
41863
41959
  var Qe = Ue + Ze, Ve;
41864
41960
  Ze == -Ge || Ze != Ge && ze[Qe - 1] < ze[Qe + 1] ? Ve = ze[Qe + 1] : Ve = ze[Qe - 1] + 1;
41865
- for (var nt = Ve - Ze; Ve < Fe && nt < De && ye.charAt(Fe - Ve - 1) == Ae.charAt(De - nt - 1); )
41961
+ for (var nt = Ve - Ze; Ve < Fe && nt < Pe && ye.charAt(Fe - Ve - 1) == Ae.charAt(Pe - nt - 1); )
41866
41962
  Ve++, nt++;
41867
41963
  if (ze[Qe] = Ve, Ve > Fe)
41868
41964
  Xe += 2;
41869
- else if (nt > De)
41965
+ else if (nt > Pe)
41870
41966
  bt += 2;
41871
41967
  else if (!We) {
41872
41968
  var Be = Ue + He - Ze;
41873
- if (Be >= 0 && Be < Pe && Oe[Be] != -1) {
41969
+ if (Be >= 0 && Be < De && Oe[Be] != -1) {
41874
41970
  var Je = Oe[Be], tt = Ue + Je - Be;
41875
41971
  if (Ve = Fe - Ve, Je >= Ve)
41876
41972
  return pe(ye, Ae, Je, tt);
@@ -41880,27 +41976,27 @@ var quill = { exports: {} };
41880
41976
  }
41881
41977
  return [[ne, ye], [oe, Ae]];
41882
41978
  }
41883
- function pe(ye, Ae, Fe, De) {
41884
- var Le = ye.substring(0, Fe), Ue = Ae.substring(0, De), Pe = ye.substring(Fe), Oe = Ae.substring(De), ze = ce(Le, Ue), Ie = ce(Pe, Oe);
41979
+ function pe(ye, Ae, Fe, Pe) {
41980
+ var Le = ye.substring(0, Fe), Ue = Ae.substring(0, Pe), De = ye.substring(Fe), Oe = Ae.substring(Pe), ze = ce(Le, Ue), Ie = ce(De, Oe);
41885
41981
  return ze.concat(Ie);
41886
41982
  }
41887
41983
  function fe(ye, Ae) {
41888
41984
  if (!ye || !Ae || ye.charAt(0) != Ae.charAt(0))
41889
41985
  return 0;
41890
- for (var Fe = 0, De = Math.min(ye.length, Ae.length), Le = De, Ue = 0; Fe < Le; )
41891
- ye.substring(Ue, Le) == Ae.substring(Ue, Le) ? (Fe = Le, Ue = Fe) : De = Le, Le = Math.floor((De - Fe) / 2 + Fe);
41986
+ for (var Fe = 0, Pe = Math.min(ye.length, Ae.length), Le = Pe, Ue = 0; Fe < Le; )
41987
+ ye.substring(Ue, Le) == Ae.substring(Ue, Le) ? (Fe = Le, Ue = Fe) : Pe = Le, Le = Math.floor((Pe - Fe) / 2 + Fe);
41892
41988
  return Le;
41893
41989
  }
41894
41990
  function ge(ye, Ae) {
41895
41991
  if (!ye || !Ae || ye.charAt(ye.length - 1) != Ae.charAt(Ae.length - 1))
41896
41992
  return 0;
41897
- for (var Fe = 0, De = Math.min(ye.length, Ae.length), Le = De, Ue = 0; Fe < Le; )
41898
- ye.substring(ye.length - Le, ye.length - Ue) == Ae.substring(Ae.length - Le, Ae.length - Ue) ? (Fe = Le, Ue = Fe) : De = Le, Le = Math.floor((De - Fe) / 2 + Fe);
41993
+ for (var Fe = 0, Pe = Math.min(ye.length, Ae.length), Le = Pe, Ue = 0; Fe < Le; )
41994
+ ye.substring(ye.length - Le, ye.length - Ue) == Ae.substring(Ae.length - Le, Ae.length - Ue) ? (Fe = Le, Ue = Fe) : Pe = Le, Le = Math.floor((Pe - Fe) / 2 + Fe);
41899
41995
  return Le;
41900
41996
  }
41901
41997
  function me(ye, Ae) {
41902
- var Fe = ye.length > Ae.length ? ye : Ae, De = ye.length > Ae.length ? Ae : ye;
41903
- if (Fe.length < 4 || De.length * 2 < Fe.length)
41998
+ var Fe = ye.length > Ae.length ? ye : Ae, Pe = ye.length > Ae.length ? Ae : ye;
41999
+ if (Fe.length < 4 || Pe.length * 2 < Fe.length)
41904
42000
  return null;
41905
42001
  function Le(Ke, bt, Xe) {
41906
42002
  for (var Ge = Ke.substring(Xe, Xe + Math.floor(Ke.length / 4)), Me = -1, Be = "", Je, tt, Qe, Ve; (Me = bt.indexOf(Ge, Me + 1)) != -1; ) {
@@ -41923,16 +42019,16 @@ var quill = { exports: {} };
41923
42019
  }
41924
42020
  var Ue = Le(
41925
42021
  Fe,
41926
- De,
42022
+ Pe,
41927
42023
  Math.ceil(Fe.length / 4)
41928
- ), Pe = Le(
42024
+ ), De = Le(
41929
42025
  Fe,
41930
- De,
42026
+ Pe,
41931
42027
  Math.ceil(Fe.length / 2)
41932
42028
  ), Oe;
41933
- if (!Ue && !Pe)
42029
+ if (!Ue && !De)
41934
42030
  return null;
41935
- Pe ? Ue ? Oe = Ue[4].length > Pe[4].length ? Ue : Pe : Oe = Pe : Oe = Ue;
42031
+ De ? Ue ? Oe = Ue[4].length > De[4].length ? Ue : De : Oe = De : Oe = Ue;
41936
42032
  var ze, Ie, He, We;
41937
42033
  ye.length > Ae.length ? (ze = Oe[0], Ie = Oe[1], He = Oe[2], We = Oe[3]) : (He = Oe[0], We = Oe[1], ze = Oe[2], Ie = Oe[3]);
41938
42034
  var Ye = Oe[4];
@@ -41940,32 +42036,32 @@ var quill = { exports: {} };
41940
42036
  }
41941
42037
  function ve(ye) {
41942
42038
  ye.push([de, ""]);
41943
- for (var Ae = 0, Fe = 0, De = 0, Le = "", Ue = "", Pe; Ae < ye.length; )
42039
+ for (var Ae = 0, Fe = 0, Pe = 0, Le = "", Ue = "", De; Ae < ye.length; )
41944
42040
  switch (ye[Ae][0]) {
41945
42041
  case oe:
41946
- De++, Ue += ye[Ae][1], Ae++;
42042
+ Pe++, Ue += ye[Ae][1], Ae++;
41947
42043
  break;
41948
42044
  case ne:
41949
42045
  Fe++, Le += ye[Ae][1], Ae++;
41950
42046
  break;
41951
42047
  case de:
41952
- Fe + De > 1 ? (Fe !== 0 && De !== 0 && (Pe = fe(Ue, Le), Pe !== 0 && (Ae - Fe - De > 0 && ye[Ae - Fe - De - 1][0] == de ? ye[Ae - Fe - De - 1][1] += Ue.substring(0, Pe) : (ye.splice(0, 0, [
42048
+ Fe + Pe > 1 ? (Fe !== 0 && Pe !== 0 && (De = fe(Ue, Le), De !== 0 && (Ae - Fe - Pe > 0 && ye[Ae - Fe - Pe - 1][0] == de ? ye[Ae - Fe - Pe - 1][1] += Ue.substring(0, De) : (ye.splice(0, 0, [
41953
42049
  de,
41954
- Ue.substring(0, Pe)
41955
- ]), Ae++), Ue = Ue.substring(Pe), Le = Le.substring(Pe)), Pe = ge(Ue, Le), Pe !== 0 && (ye[Ae][1] = Ue.substring(Ue.length - Pe) + ye[Ae][1], Ue = Ue.substring(0, Ue.length - Pe), Le = Le.substring(0, Le.length - Pe))), Fe === 0 ? ye.splice(
41956
- Ae - De,
41957
- Fe + De,
42050
+ Ue.substring(0, De)
42051
+ ]), Ae++), Ue = Ue.substring(De), Le = Le.substring(De)), De = ge(Ue, Le), De !== 0 && (ye[Ae][1] = Ue.substring(Ue.length - De) + ye[Ae][1], Ue = Ue.substring(0, Ue.length - De), Le = Le.substring(0, Le.length - De))), Fe === 0 ? ye.splice(
42052
+ Ae - Pe,
42053
+ Fe + Pe,
41958
42054
  [oe, Ue]
41959
- ) : De === 0 ? ye.splice(
42055
+ ) : Pe === 0 ? ye.splice(
41960
42056
  Ae - Fe,
41961
- Fe + De,
42057
+ Fe + Pe,
41962
42058
  [ne, Le]
41963
42059
  ) : ye.splice(
41964
- Ae - Fe - De,
41965
- Fe + De,
42060
+ Ae - Fe - Pe,
42061
+ Fe + Pe,
41966
42062
  [ne, Le],
41967
42063
  [oe, Ue]
41968
- ), Ae = Ae - Fe - De + (Fe ? 1 : 0) + (De ? 1 : 0) + 1) : Ae !== 0 && ye[Ae - 1][0] == de ? (ye[Ae - 1][1] += ye[Ae][1], ye.splice(Ae, 1)) : Ae++, De = 0, Fe = 0, Le = "", Ue = "";
42064
+ ), Ae = Ae - Fe - Pe + (Fe ? 1 : 0) + (Pe ? 1 : 0) + 1) : Ae !== 0 && ye[Ae - 1][0] == de ? (ye[Ae - 1][1] += ye[Ae][1], ye.splice(Ae, 1)) : Ae++, Pe = 0, Fe = 0, Le = "", Ue = "";
41969
42065
  break;
41970
42066
  }
41971
42067
  ye[ye.length - 1][1] === "" && ye.pop();
@@ -41979,16 +42075,16 @@ var quill = { exports: {} };
41979
42075
  function _e(ye, Ae) {
41980
42076
  if (Ae === 0)
41981
42077
  return [de, ye];
41982
- for (var Fe = 0, De = 0; De < ye.length; De++) {
41983
- var Le = ye[De];
42078
+ for (var Fe = 0, Pe = 0; Pe < ye.length; Pe++) {
42079
+ var Le = ye[Pe];
41984
42080
  if (Le[0] === ne || Le[0] === de) {
41985
42081
  var Ue = Fe + Le[1].length;
41986
42082
  if (Ae === Ue)
41987
- return [De + 1, ye];
42083
+ return [Pe + 1, ye];
41988
42084
  if (Ae < Ue) {
41989
42085
  ye = ye.slice();
41990
- var Pe = Ae - Fe, Oe = [Le[0], Le[1].slice(0, Pe)], ze = [Le[0], Le[1].slice(Pe)];
41991
- return ye.splice(De, 1, Oe, ze), [De + 1, ye];
42086
+ var De = Ae - Fe, Oe = [Le[0], Le[1].slice(0, De)], ze = [Le[0], Le[1].slice(De)];
42087
+ return ye.splice(Pe, 1, Oe, ze), [Pe + 1, ye];
41992
42088
  } else
41993
42089
  Fe = Ue;
41994
42090
  }
@@ -41996,27 +42092,27 @@ var quill = { exports: {} };
41996
42092
  throw new Error("cursor_pos is out of bounds!");
41997
42093
  }
41998
42094
  function we(ye, Ae) {
41999
- var Fe = _e(ye, Ae), De = Fe[1], Le = Fe[0], Ue = De[Le], Pe = De[Le + 1];
42095
+ var Fe = _e(ye, Ae), Pe = Fe[1], Le = Fe[0], Ue = Pe[Le], De = Pe[Le + 1];
42000
42096
  if (Ue == null)
42001
42097
  return ye;
42002
42098
  if (Ue[0] !== de)
42003
42099
  return ye;
42004
- if (Pe != null && Ue[1] + Pe[1] === Pe[1] + Ue[1])
42005
- return De.splice(Le, 2, Pe, Ue), Ce(De, Le, 2);
42006
- if (Pe != null && Pe[1].indexOf(Ue[1]) === 0) {
42007
- De.splice(Le, 2, [Pe[0], Ue[1]], [0, Ue[1]]);
42008
- var Oe = Pe[1].slice(Ue[1].length);
42009
- return Oe.length > 0 && De.splice(Le + 2, 0, [Pe[0], Oe]), Ce(De, Le, 3);
42100
+ if (De != null && Ue[1] + De[1] === De[1] + Ue[1])
42101
+ return Pe.splice(Le, 2, De, Ue), Ce(Pe, Le, 2);
42102
+ if (De != null && De[1].indexOf(Ue[1]) === 0) {
42103
+ Pe.splice(Le, 2, [De[0], Ue[1]], [0, Ue[1]]);
42104
+ var Oe = De[1].slice(Ue[1].length);
42105
+ return Oe.length > 0 && Pe.splice(Le + 2, 0, [De[0], Oe]), Ce(Pe, Le, 3);
42010
42106
  } else
42011
42107
  return ye;
42012
42108
  }
42013
42109
  function Se(ye) {
42014
- for (var Ae = !1, Fe = function(Pe) {
42015
- return Pe.charCodeAt(0) >= 56320 && Pe.charCodeAt(0) <= 57343;
42016
- }, De = function(Pe) {
42017
- return Pe.charCodeAt(Pe.length - 1) >= 55296 && Pe.charCodeAt(Pe.length - 1) <= 56319;
42110
+ for (var Ae = !1, Fe = function(De) {
42111
+ return De.charCodeAt(0) >= 56320 && De.charCodeAt(0) <= 57343;
42112
+ }, Pe = function(De) {
42113
+ return De.charCodeAt(De.length - 1) >= 55296 && De.charCodeAt(De.length - 1) <= 56319;
42018
42114
  }, Le = 2; Le < ye.length; Le += 1)
42019
- ye[Le - 2][0] === de && De(ye[Le - 2][1]) && ye[Le - 1][0] === ne && Fe(ye[Le - 1][1]) && ye[Le][0] === oe && Fe(ye[Le][1]) && (Ae = !0, ye[Le - 1][1] = ye[Le - 2][1].slice(-1) + ye[Le - 1][1], ye[Le][1] = ye[Le - 2][1].slice(-1) + ye[Le][1], ye[Le - 2][1] = ye[Le - 2][1].slice(0, -1));
42115
+ ye[Le - 2][0] === de && Pe(ye[Le - 2][1]) && ye[Le - 1][0] === ne && Fe(ye[Le - 1][1]) && ye[Le][0] === oe && Fe(ye[Le][1]) && (Ae = !0, ye[Le - 1][1] = ye[Le - 2][1].slice(-1) + ye[Le - 1][1], ye[Le][1] = ye[Le - 2][1].slice(-1) + ye[Le][1], ye[Le - 2][1] = ye[Le - 2][1].slice(0, -1));
42020
42116
  if (!Ae)
42021
42117
  return ye;
42022
42118
  for (var Ue = [], Le = 0; Le < ye.length; Le += 1)
@@ -42024,10 +42120,10 @@ var quill = { exports: {} };
42024
42120
  return Ue;
42025
42121
  }
42026
42122
  function Ce(ye, Ae, Fe) {
42027
- for (var De = Ae + Fe - 1; De >= 0 && De >= Ae - 1; De--)
42028
- if (De + 1 < ye.length) {
42029
- var Le = ye[De], Ue = ye[De + 1];
42030
- Le[0] === Ue[1] && ye.splice(De, 2, [Le[0], Le[1] + Ue[1]]);
42123
+ for (var Pe = Ae + Fe - 1; Pe >= 0 && Pe >= Ae - 1; Pe--)
42124
+ if (Pe + 1 < ye.length) {
42125
+ var Le = ye[Pe], Ue = ye[Pe + 1];
42126
+ Le[0] === Ue[1] && ye.splice(Pe, 2, [Le[0], Le[1] + Ue[1]]);
42031
42127
  }
42032
42128
  return ye;
42033
42129
  }
@@ -42200,7 +42296,7 @@ var quill = { exports: {} };
42200
42296
  return function(vt, kt, Ct) {
42201
42297
  return kt && mt(vt.prototype, kt), Ct && mt(vt, Ct), vt;
42202
42298
  };
42203
- }(), he = ne(3), ue = ze(he), pe = ne(2), fe = ze(pe), ge = ne(0), me = ze(ge), ve = ne(5), be = ze(ve), _e = ne(10), we = ze(_e), Se = ne(9), Ce = ze(Se), ye = ne(37), Ae = ne(38), Fe = ne(13), De = ze(Fe), Le = ne(26), Ue = ne(39), Pe = ne(40), Oe = ne(41);
42299
+ }(), he = ne(3), ue = ze(he), pe = ne(2), fe = ze(pe), ge = ne(0), me = ze(ge), ve = ne(5), be = ze(ve), _e = ne(10), we = ze(_e), Se = ne(9), Ce = ze(Se), ye = ne(37), Ae = ne(38), Fe = ne(13), Pe = ze(Fe), Le = ne(26), Ue = ne(39), De = ne(40), Oe = ne(41);
42204
42300
  function ze(mt) {
42205
42301
  return mt && mt.__esModule ? mt : { default: mt };
42206
42302
  }
@@ -42223,7 +42319,7 @@ var quill = { exports: {} };
42223
42319
  }
42224
42320
  var Ke = (0, we.default)("quill:clipboard"), bt = "__ql-matcher", Xe = [[Node.TEXT_NODE, ti], [Node.TEXT_NODE, Bt], ["br", At], [Node.ELEMENT_NODE, Bt], [Node.ELEMENT_NODE, _t], [Node.ELEMENT_NODE, Vt], [Node.ELEMENT_NODE, ot], [Node.ELEMENT_NODE, di], ["li", Ft], ["b", nt.bind(nt, "bold")], ["i", nt.bind(nt, "italic")], ["style", zt]], Ge = [ye.AlignAttribute, Ue.DirectionAttribute].reduce(function(mt, vt) {
42225
42321
  return mt[vt.keyName] = vt, mt;
42226
- }, {}), Me = [ye.AlignStyle, Ae.BackgroundStyle, Le.ColorStyle, Ue.DirectionStyle, Pe.FontStyle, Oe.SizeStyle].reduce(function(mt, vt) {
42322
+ }, {}), Me = [ye.AlignStyle, Ae.BackgroundStyle, Le.ColorStyle, Ue.DirectionStyle, De.FontStyle, Oe.SizeStyle].reduce(function(mt, vt) {
42227
42323
  return mt[vt.keyName] = vt, mt;
42228
42324
  }, {}), Be = function(mt) {
42229
42325
  Ye(vt, mt);
@@ -42246,9 +42342,9 @@ var quill = { exports: {} };
42246
42342
  if (typeof Ct == "string")
42247
42343
  return this.container.innerHTML = Ct.replace(/\>\r?\n +\</g, "><"), this.convert();
42248
42344
  var wt = this.quill.getFormat(this.quill.selection.savedRange.index);
42249
- if (wt[De.default.blotName]) {
42345
+ if (wt[Pe.default.blotName]) {
42250
42346
  var Nt = this.container.innerText;
42251
- return this.container.innerHTML = "", new fe.default().insert(Nt, Ie({}, De.default.blotName, wt[De.default.blotName]));
42347
+ return this.container.innerHTML = "", new fe.default().insert(Nt, Ie({}, Pe.default.blotName, wt[Pe.default.blotName]));
42252
42348
  }
42253
42349
  var Mt = this.prepareMatching(), Ut = de(Mt, 2), oi = Ut[0], pi = Ut[1], Xt = Ze(this.container, oi, pi);
42254
42350
  return Qe(Xt, `
@@ -42542,14 +42638,14 @@ var quill = { exports: {} };
42542
42638
  throw new TypeError("Super expression must either be null or a function, not " + typeof Ie);
42543
42639
  ze.prototype = Object.create(Ie && Ie.prototype, { constructor: { value: ze, enumerable: !1, writable: !0, configurable: !0 } }), Ie && (Object.setPrototypeOf ? Object.setPrototypeOf(ze, Ie) : ze.__proto__ = Ie);
42544
42640
  }
42545
- var Fe = "getRootNode" in document, De = (0, ve.default)("quill:toolbar"), Le = function(ze) {
42641
+ var Fe = "getRootNode" in document, Pe = (0, ve.default)("quill:toolbar"), Le = function(ze) {
42546
42642
  Ae(Ie, ze);
42547
42643
  function Ie(He, We) {
42548
42644
  Ce(this, Ie);
42549
42645
  var Ye = ye(this, (Ie.__proto__ || Object.getPrototypeOf(Ie)).call(this, He, We));
42550
42646
  if (Array.isArray(Ye.options.container)) {
42551
42647
  var Ke = document.createElement("div");
42552
- Pe(Ke, Ye.options.container), He.container.parentNode.insertBefore(Ke, He.container), Ye.container = Ke;
42648
+ De(Ke, Ye.options.container), He.container.parentNode.insertBefore(Ke, He.container), Ye.container = Ke;
42553
42649
  } else if (typeof Ye.options.container == "string") {
42554
42650
  var bt = Fe ? He.container.getRootNode() : document;
42555
42651
  Ye.container = bt.querySelector(Ye.options.container);
@@ -42557,7 +42653,7 @@ var quill = { exports: {} };
42557
42653
  Ye.container = Ye.options.container;
42558
42654
  if (!(Ye.container instanceof HTMLElement)) {
42559
42655
  var Xe;
42560
- return Xe = De.error("Container required for toolbar", Ye.options), ye(Ye, Xe);
42656
+ return Xe = Pe.error("Container required for toolbar", Ye.options), ye(Ye, Xe);
42561
42657
  }
42562
42658
  return Ye.container.classList.add("ql-toolbar"), Ye.controls = [], Ye.handlers = {}, Object.keys(Ye.options.handlers).forEach(function(Ge) {
42563
42659
  Ye.addHandler(Ge, Ye.options.handlers[Ge]);
@@ -42584,11 +42680,11 @@ var quill = { exports: {} };
42584
42680
  if (Ke) {
42585
42681
  if (Ke = Ke.slice(3), We.tagName === "BUTTON" && We.setAttribute("type", "button"), this.handlers[Ke] == null) {
42586
42682
  if (this.quill.scroll.whitelist != null && this.quill.scroll.whitelist[Ke] == null) {
42587
- De.warn("ignoring attaching to disabled format", Ke, We);
42683
+ Pe.warn("ignoring attaching to disabled format", Ke, We);
42588
42684
  return;
42589
42685
  }
42590
42686
  if (pe.default.query(Ke) == null) {
42591
- De.warn("ignoring attaching to nonexistent format", Ke, We);
42687
+ Pe.warn("ignoring attaching to nonexistent format", Ke, We);
42592
42688
  return;
42593
42689
  }
42594
42690
  }
@@ -42647,7 +42743,7 @@ var quill = { exports: {} };
42647
42743
  var We = document.createElement("button");
42648
42744
  We.setAttribute("type", "button"), We.classList.add("ql-" + Ie), He != null && (We.value = He), ze.appendChild(We);
42649
42745
  }
42650
- function Pe(ze, Ie) {
42746
+ function De(ze, Ie) {
42651
42747
  Array.isArray(Ie[0]) || (Ie = [Ie]), Ie.forEach(function(He) {
42652
42748
  var We = document.createElement("span");
42653
42749
  We.classList.add("ql-formats"), He.forEach(function(Ye) {
@@ -42700,7 +42796,7 @@ var quill = { exports: {} };
42700
42796
  Ie === "check" ? We.list === "checked" || We.list === "unchecked" ? this.quill.format("list", !1, ge.default.sources.USER) : this.quill.format("list", "unchecked", ge.default.sources.USER) : this.quill.format("list", Ie, ge.default.sources.USER);
42701
42797
  }
42702
42798
  }
42703
- }, re.default = Le, re.addControls = Pe;
42799
+ }, re.default = Le, re.addControls = De;
42704
42800
  },
42705
42801
  /* 59 */
42706
42802
  /***/
@@ -42904,7 +43000,7 @@ var quill = { exports: {} };
42904
43000
  value: !0
42905
43001
  });
42906
43002
  var oe = /* @__PURE__ */ function() {
42907
- function Pe(Oe, ze) {
43003
+ function De(Oe, ze) {
42908
43004
  var Ie = [], He = !0, We = !1, Ye = void 0;
42909
43005
  try {
42910
43006
  for (var Ke = Oe[Symbol.iterator](), bt; !(He = (bt = Ke.next()).done) && (Ie.push(bt.value), !(ze && Ie.length === ze)); He = !0)
@@ -42924,15 +43020,15 @@ var quill = { exports: {} };
42924
43020
  if (Array.isArray(Oe))
42925
43021
  return Oe;
42926
43022
  if (Symbol.iterator in Object(Oe))
42927
- return Pe(Oe, ze);
43023
+ return De(Oe, ze);
42928
43024
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
42929
43025
  };
42930
- }(), de = function Pe(Oe, ze, Ie) {
43026
+ }(), de = function De(Oe, ze, Ie) {
42931
43027
  Oe === null && (Oe = Function.prototype);
42932
43028
  var He = Object.getOwnPropertyDescriptor(Oe, ze);
42933
43029
  if (He === void 0) {
42934
43030
  var We = Object.getPrototypeOf(Oe);
42935
- return We === null ? void 0 : Pe(We, ze, Ie);
43031
+ return We === null ? void 0 : De(We, ze, Ie);
42936
43032
  } else {
42937
43033
  if ("value" in He)
42938
43034
  return He.value;
@@ -42940,37 +43036,37 @@ var quill = { exports: {} };
42940
43036
  return Ye === void 0 ? void 0 : Ye.call(Ie);
42941
43037
  }
42942
43038
  }, ce = /* @__PURE__ */ function() {
42943
- function Pe(Oe, ze) {
43039
+ function De(Oe, ze) {
42944
43040
  for (var Ie = 0; Ie < ze.length; Ie++) {
42945
43041
  var He = ze[Ie];
42946
43042
  He.enumerable = He.enumerable || !1, He.configurable = !0, "value" in He && (He.writable = !0), Object.defineProperty(Oe, He.key, He);
42947
43043
  }
42948
43044
  }
42949
43045
  return function(Oe, ze, Ie) {
42950
- return ze && Pe(Oe.prototype, ze), Ie && Pe(Oe, Ie), Oe;
43046
+ return ze && De(Oe.prototype, ze), Ie && De(Oe, Ie), Oe;
42951
43047
  };
42952
43048
  }(), he = ne(3), ue = Ce(he), pe = ne(8), fe = Ce(pe), ge = ne(44), me = Ce(ge), ve = ne(27), be = Ce(ve), _e = ne(15), we = ne(42), Se = Ce(we);
42953
- function Ce(Pe) {
42954
- return Pe && Pe.__esModule ? Pe : { default: Pe };
43049
+ function Ce(De) {
43050
+ return De && De.__esModule ? De : { default: De };
42955
43051
  }
42956
- function ye(Pe, Oe) {
42957
- if (!(Pe instanceof Oe))
43052
+ function ye(De, Oe) {
43053
+ if (!(De instanceof Oe))
42958
43054
  throw new TypeError("Cannot call a class as a function");
42959
43055
  }
42960
- function Ae(Pe, Oe) {
42961
- if (!Pe)
43056
+ function Ae(De, Oe) {
43057
+ if (!De)
42962
43058
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
42963
- return Oe && (typeof Oe == "object" || typeof Oe == "function") ? Oe : Pe;
43059
+ return Oe && (typeof Oe == "object" || typeof Oe == "function") ? Oe : De;
42964
43060
  }
42965
- function Fe(Pe, Oe) {
43061
+ function Fe(De, Oe) {
42966
43062
  if (typeof Oe != "function" && Oe !== null)
42967
43063
  throw new TypeError("Super expression must either be null or a function, not " + typeof Oe);
42968
- Pe.prototype = Object.create(Oe && Oe.prototype, { constructor: { value: Pe, enumerable: !1, writable: !0, configurable: !0 } }), Oe && (Object.setPrototypeOf ? Object.setPrototypeOf(Pe, Oe) : Pe.__proto__ = Oe);
43064
+ De.prototype = Object.create(Oe && Oe.prototype, { constructor: { value: De, enumerable: !1, writable: !0, configurable: !0 } }), Oe && (Object.setPrototypeOf ? Object.setPrototypeOf(De, Oe) : De.__proto__ = Oe);
42969
43065
  }
42970
- var De = [[{ header: ["1", "2", "3", !1] }], ["bold", "italic", "underline", "link"], [{ list: "ordered" }, { list: "bullet" }], ["clean"]], Le = function(Pe) {
42971
- Fe(Oe, Pe);
43066
+ var Pe = [[{ header: ["1", "2", "3", !1] }], ["bold", "italic", "underline", "link"], [{ list: "ordered" }, { list: "bullet" }], ["clean"]], Le = function(De) {
43067
+ Fe(Oe, De);
42972
43068
  function Oe(ze, Ie) {
42973
- ye(this, Oe), Ie.modules.toolbar != null && Ie.modules.toolbar.container == null && (Ie.modules.toolbar.container = De);
43069
+ ye(this, Oe), Ie.modules.toolbar != null && Ie.modules.toolbar.container == null && (Ie.modules.toolbar.container = Pe);
42974
43070
  var He = Ae(this, (Oe.__proto__ || Object.getPrototypeOf(Oe)).call(this, ze, Ie));
42975
43071
  return He.quill.container.classList.add("ql-snow"), He;
42976
43072
  }
@@ -43002,8 +43098,8 @@ var quill = { exports: {} };
43002
43098
  }
43003
43099
  }
43004
43100
  });
43005
- var Ue = function(Pe) {
43006
- Fe(Oe, Pe);
43101
+ var Ue = function(De) {
43102
+ Fe(Oe, De);
43007
43103
  function Oe(ze, Ie) {
43008
43104
  ye(this, Oe);
43009
43105
  var He = Ae(this, (Oe.__proto__ || Object.getPrototypeOf(Oe)).call(this, ze, Ie));
@@ -43052,7 +43148,7 @@ var quill = { exports: {} };
43052
43148
  Object.defineProperty(re, "__esModule", {
43053
43149
  value: !0
43054
43150
  });
43055
- var oe = ne(29), de = wt(oe), ce = ne(37), he = ne(39), ue = ne(65), pe = ne(66), fe = wt(pe), ge = ne(67), me = wt(ge), ve = ne(68), be = wt(ve), _e = ne(38), we = ne(26), Se = ne(40), Ce = ne(41), ye = ne(57), Ae = wt(ye), Fe = ne(69), De = wt(Fe), Le = ne(27), Ue = wt(Le), Pe = ne(70), Oe = wt(Pe), ze = ne(71), Ie = wt(ze), He = ne(72), We = wt(He), Ye = ne(73), Ke = wt(Ye), bt = ne(74), Xe = wt(bt), Ge = ne(13), Me = wt(Ge), Be = ne(75), Je = wt(Be), tt = ne(76), Qe = wt(tt), Ve = ne(58), Ze = wt(Ve), nt = ne(42), ot = wt(nt), _t = ne(28), At = wt(_t), zt = ne(60), Ft = wt(zt), Bt = ne(61), Vt = wt(Bt), di = ne(62), ti = wt(di), mt = ne(109), vt = wt(mt), kt = ne(63), Ct = wt(kt);
43151
+ var oe = ne(29), de = wt(oe), ce = ne(37), he = ne(39), ue = ne(65), pe = ne(66), fe = wt(pe), ge = ne(67), me = wt(ge), ve = ne(68), be = wt(ve), _e = ne(38), we = ne(26), Se = ne(40), Ce = ne(41), ye = ne(57), Ae = wt(ye), Fe = ne(69), Pe = wt(Fe), Le = ne(27), Ue = wt(Le), De = ne(70), Oe = wt(De), ze = ne(71), Ie = wt(ze), He = ne(72), We = wt(He), Ye = ne(73), Ke = wt(Ye), bt = ne(74), Xe = wt(bt), Ge = ne(13), Me = wt(Ge), Be = ne(75), Je = wt(Be), tt = ne(76), Qe = wt(tt), Ve = ne(58), Ze = wt(Ve), nt = ne(42), ot = wt(nt), _t = ne(28), At = wt(_t), zt = ne(60), Ft = wt(zt), Bt = ne(61), Vt = wt(Bt), di = ne(62), ti = wt(di), mt = ne(109), vt = wt(mt), kt = ne(63), Ct = wt(kt);
43056
43152
  function wt(Nt) {
43057
43153
  return Nt && Nt.__esModule ? Nt : { default: Nt };
43058
43154
  }
@@ -43084,7 +43180,7 @@ var quill = { exports: {} };
43084
43180
  "formats/list": be.default,
43085
43181
  "formats/bold": Ae.default,
43086
43182
  "formats/code": Ge.Code,
43087
- "formats/italic": De.default,
43183
+ "formats/italic": Pe.default,
43088
43184
  "formats/link": Ue.default,
43089
43185
  "formats/script": Oe.default,
43090
43186
  "formats/strike": Ie.default,
@@ -43270,25 +43366,25 @@ var quill = { exports: {} };
43270
43366
  }), re.default = re.ListItem = void 0;
43271
43367
  var oe = /* @__PURE__ */ function() {
43272
43368
  function ye(Ae, Fe) {
43273
- for (var De = 0; De < Fe.length; De++) {
43274
- var Le = Fe[De];
43369
+ for (var Pe = 0; Pe < Fe.length; Pe++) {
43370
+ var Le = Fe[Pe];
43275
43371
  Le.enumerable = Le.enumerable || !1, Le.configurable = !0, "value" in Le && (Le.writable = !0), Object.defineProperty(Ae, Le.key, Le);
43276
43372
  }
43277
43373
  }
43278
- return function(Ae, Fe, De) {
43279
- return Fe && ye(Ae.prototype, Fe), De && ye(Ae, De), Ae;
43374
+ return function(Ae, Fe, Pe) {
43375
+ return Fe && ye(Ae.prototype, Fe), Pe && ye(Ae, Pe), Ae;
43280
43376
  };
43281
- }(), de = function ye(Ae, Fe, De) {
43377
+ }(), de = function ye(Ae, Fe, Pe) {
43282
43378
  Ae === null && (Ae = Function.prototype);
43283
43379
  var Le = Object.getOwnPropertyDescriptor(Ae, Fe);
43284
43380
  if (Le === void 0) {
43285
43381
  var Ue = Object.getPrototypeOf(Ae);
43286
- return Ue === null ? void 0 : ye(Ue, Fe, De);
43382
+ return Ue === null ? void 0 : ye(Ue, Fe, Pe);
43287
43383
  } else {
43288
43384
  if ("value" in Le)
43289
43385
  return Le.value;
43290
- var Pe = Le.get;
43291
- return Pe === void 0 ? void 0 : Pe.call(De);
43386
+ var De = Le.get;
43387
+ return De === void 0 ? void 0 : De.call(Pe);
43292
43388
  }
43293
43389
  }, ce = ne(0), he = me(ce), ue = ne(4), pe = me(ue), fe = ne(25), ge = me(fe);
43294
43390
  function me(ye) {
@@ -43318,8 +43414,8 @@ var quill = { exports: {} };
43318
43414
  }
43319
43415
  return oe(Ae, [{
43320
43416
  key: "format",
43321
- value: function(De, Le) {
43322
- De === Ce.blotName && !Le ? this.replaceWith(he.default.create(this.statics.scope)) : de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "format", this).call(this, De, Le);
43417
+ value: function(Pe, Le) {
43418
+ Pe === Ce.blotName && !Le ? this.replaceWith(he.default.create(this.statics.scope)) : de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "format", this).call(this, Pe, Le);
43323
43419
  }
43324
43420
  }, {
43325
43421
  key: "remove",
@@ -43328,13 +43424,13 @@ var quill = { exports: {} };
43328
43424
  }
43329
43425
  }, {
43330
43426
  key: "replaceWith",
43331
- value: function(De, Le) {
43332
- return this.parent.isolate(this.offset(this.parent), this.length()), De === this.parent.statics.blotName ? (this.parent.replaceWith(De, Le), this) : (this.parent.unwrap(), de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "replaceWith", this).call(this, De, Le));
43427
+ value: function(Pe, Le) {
43428
+ return this.parent.isolate(this.offset(this.parent), this.length()), Pe === this.parent.statics.blotName ? (this.parent.replaceWith(Pe, Le), this) : (this.parent.unwrap(), de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "replaceWith", this).call(this, Pe, Le));
43333
43429
  }
43334
43430
  }], [{
43335
43431
  key: "formats",
43336
- value: function(De) {
43337
- return De.tagName === this.tagName ? void 0 : de(Ae.__proto__ || Object.getPrototypeOf(Ae), "formats", this).call(this, De);
43432
+ value: function(Pe) {
43433
+ return Pe.tagName === this.tagName ? void 0 : de(Ae.__proto__ || Object.getPrototypeOf(Ae), "formats", this).call(this, Pe);
43338
43434
  }
43339
43435
  }]), Ae;
43340
43436
  }(pe.default);
@@ -43342,32 +43438,32 @@ var quill = { exports: {} };
43342
43438
  var Ce = function(ye) {
43343
43439
  we(Ae, ye), oe(Ae, null, [{
43344
43440
  key: "create",
43345
- value: function(De) {
43346
- var Le = De === "ordered" ? "OL" : "UL", Ue = de(Ae.__proto__ || Object.getPrototypeOf(Ae), "create", this).call(this, Le);
43347
- return (De === "checked" || De === "unchecked") && Ue.setAttribute("data-checked", De === "checked"), Ue;
43441
+ value: function(Pe) {
43442
+ var Le = Pe === "ordered" ? "OL" : "UL", Ue = de(Ae.__proto__ || Object.getPrototypeOf(Ae), "create", this).call(this, Le);
43443
+ return (Pe === "checked" || Pe === "unchecked") && Ue.setAttribute("data-checked", Pe === "checked"), Ue;
43348
43444
  }
43349
43445
  }, {
43350
43446
  key: "formats",
43351
- value: function(De) {
43352
- if (De.tagName === "OL") return "ordered";
43353
- if (De.tagName === "UL")
43354
- return De.hasAttribute("data-checked") ? De.getAttribute("data-checked") === "true" ? "checked" : "unchecked" : "bullet";
43447
+ value: function(Pe) {
43448
+ if (Pe.tagName === "OL") return "ordered";
43449
+ if (Pe.tagName === "UL")
43450
+ return Pe.hasAttribute("data-checked") ? Pe.getAttribute("data-checked") === "true" ? "checked" : "unchecked" : "bullet";
43355
43451
  }
43356
43452
  }]);
43357
43453
  function Ae(Fe) {
43358
43454
  be(this, Ae);
43359
- var De = _e(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, Fe)), Le = function(Pe) {
43360
- if (Pe.target.parentNode === Fe) {
43361
- var Oe = De.statics.formats(Fe), ze = he.default.find(Pe.target);
43455
+ var Pe = _e(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, Fe)), Le = function(De) {
43456
+ if (De.target.parentNode === Fe) {
43457
+ var Oe = Pe.statics.formats(Fe), ze = he.default.find(De.target);
43362
43458
  Oe === "checked" ? ze.format("list", "unchecked") : Oe === "unchecked" && ze.format("list", "checked");
43363
43459
  }
43364
43460
  };
43365
- return Fe.addEventListener("touchstart", Le), Fe.addEventListener("mousedown", Le), De;
43461
+ return Fe.addEventListener("touchstart", Le), Fe.addEventListener("mousedown", Le), Pe;
43366
43462
  }
43367
43463
  return oe(Ae, [{
43368
43464
  key: "format",
43369
- value: function(De, Le) {
43370
- this.children.length > 0 && this.children.tail.format(De, Le);
43465
+ value: function(Pe, Le) {
43466
+ this.children.length > 0 && this.children.tail.format(Pe, Le);
43371
43467
  }
43372
43468
  }, {
43373
43469
  key: "formats",
@@ -43376,29 +43472,29 @@ var quill = { exports: {} };
43376
43472
  }
43377
43473
  }, {
43378
43474
  key: "insertBefore",
43379
- value: function(De, Le) {
43380
- if (De instanceof Se)
43381
- de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "insertBefore", this).call(this, De, Le);
43475
+ value: function(Pe, Le) {
43476
+ if (Pe instanceof Se)
43477
+ de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "insertBefore", this).call(this, Pe, Le);
43382
43478
  else {
43383
- var Ue = Le == null ? this.length() : Le.offset(this), Pe = this.split(Ue);
43384
- Pe.parent.insertBefore(De, Pe);
43479
+ var Ue = Le == null ? this.length() : Le.offset(this), De = this.split(Ue);
43480
+ De.parent.insertBefore(Pe, De);
43385
43481
  }
43386
43482
  }
43387
43483
  }, {
43388
43484
  key: "optimize",
43389
- value: function(De) {
43390
- de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "optimize", this).call(this, De);
43485
+ value: function(Pe) {
43486
+ de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "optimize", this).call(this, Pe);
43391
43487
  var Le = this.next;
43392
43488
  Le != null && Le.prev === this && Le.statics.blotName === this.statics.blotName && Le.domNode.tagName === this.domNode.tagName && Le.domNode.getAttribute("data-checked") === this.domNode.getAttribute("data-checked") && (Le.moveChildren(this), Le.remove());
43393
43489
  }
43394
43490
  }, {
43395
43491
  key: "replace",
43396
- value: function(De) {
43397
- if (De.statics.blotName !== this.statics.blotName) {
43492
+ value: function(Pe) {
43493
+ if (Pe.statics.blotName !== this.statics.blotName) {
43398
43494
  var Le = he.default.create(this.statics.defaultChild);
43399
- De.moveChildren(Le), this.appendChild(Le);
43495
+ Pe.moveChildren(Le), this.appendChild(Le);
43400
43496
  }
43401
- de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "replace", this).call(this, De);
43497
+ de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "replace", this).call(this, Pe);
43402
43498
  }
43403
43499
  }]), Ae;
43404
43500
  }(ge.default);
@@ -43749,8 +43845,8 @@ var quill = { exports: {} };
43749
43845
  var oe = /* @__PURE__ */ function() {
43750
43846
  function Ce(ye, Ae) {
43751
43847
  for (var Fe = 0; Fe < Ae.length; Fe++) {
43752
- var De = Ae[Fe];
43753
- De.enumerable = De.enumerable || !1, De.configurable = !0, "value" in De && (De.writable = !0), Object.defineProperty(ye, De.key, De);
43848
+ var Pe = Ae[Fe];
43849
+ Pe.enumerable = Pe.enumerable || !1, Pe.configurable = !0, "value" in Pe && (Pe.writable = !0), Object.defineProperty(ye, Pe.key, Pe);
43754
43850
  }
43755
43851
  }
43756
43852
  return function(ye, Ae, Fe) {
@@ -43758,14 +43854,14 @@ var quill = { exports: {} };
43758
43854
  };
43759
43855
  }(), de = function Ce(ye, Ae, Fe) {
43760
43856
  ye === null && (ye = Function.prototype);
43761
- var De = Object.getOwnPropertyDescriptor(ye, Ae);
43762
- if (De === void 0) {
43857
+ var Pe = Object.getOwnPropertyDescriptor(ye, Ae);
43858
+ if (Pe === void 0) {
43763
43859
  var Le = Object.getPrototypeOf(ye);
43764
43860
  return Le === null ? void 0 : Ce(Le, Ae, Fe);
43765
43861
  } else {
43766
- if ("value" in De)
43767
- return De.value;
43768
- var Ue = De.get;
43862
+ if ("value" in Pe)
43863
+ return Pe.value;
43864
+ var Ue = Pe.get;
43769
43865
  return Ue === void 0 ? void 0 : Ue.call(Fe);
43770
43866
  }
43771
43867
  }, ce = ne(36), he = me(ce), ue = ne(5), pe = me(ue), fe = ne(9), ge = me(fe);
@@ -43794,11 +43890,11 @@ var quill = { exports: {} };
43794
43890
  return oe(ye, null, [{
43795
43891
  key: "create",
43796
43892
  value: function(Fe) {
43797
- var De = de(ye.__proto__ || Object.getPrototypeOf(ye), "create", this).call(this, Fe);
43798
- return typeof Fe == "string" && (window.katex.render(Fe, De, {
43893
+ var Pe = de(ye.__proto__ || Object.getPrototypeOf(ye), "create", this).call(this, Fe);
43894
+ return typeof Fe == "string" && (window.katex.render(Fe, Pe, {
43799
43895
  throwOnError: !1,
43800
43896
  errorColor: "#f00"
43801
- }), De.setAttribute("data-value", Fe)), De;
43897
+ }), Pe.setAttribute("data-value", Fe)), Pe;
43802
43898
  }
43803
43899
  }, {
43804
43900
  key: "value",
@@ -43833,104 +43929,104 @@ var quill = { exports: {} };
43833
43929
  value: !0
43834
43930
  }), re.default = re.CodeToken = re.CodeBlock = void 0;
43835
43931
  var oe = /* @__PURE__ */ function() {
43836
- function Fe(De, Le) {
43932
+ function Fe(Pe, Le) {
43837
43933
  for (var Ue = 0; Ue < Le.length; Ue++) {
43838
- var Pe = Le[Ue];
43839
- Pe.enumerable = Pe.enumerable || !1, Pe.configurable = !0, "value" in Pe && (Pe.writable = !0), Object.defineProperty(De, Pe.key, Pe);
43934
+ var De = Le[Ue];
43935
+ De.enumerable = De.enumerable || !1, De.configurable = !0, "value" in De && (De.writable = !0), Object.defineProperty(Pe, De.key, De);
43840
43936
  }
43841
43937
  }
43842
- return function(De, Le, Ue) {
43843
- return Le && Fe(De.prototype, Le), Ue && Fe(De, Ue), De;
43938
+ return function(Pe, Le, Ue) {
43939
+ return Le && Fe(Pe.prototype, Le), Ue && Fe(Pe, Ue), Pe;
43844
43940
  };
43845
- }(), de = function Fe(De, Le, Ue) {
43846
- De === null && (De = Function.prototype);
43847
- var Pe = Object.getOwnPropertyDescriptor(De, Le);
43848
- if (Pe === void 0) {
43849
- var Oe = Object.getPrototypeOf(De);
43941
+ }(), de = function Fe(Pe, Le, Ue) {
43942
+ Pe === null && (Pe = Function.prototype);
43943
+ var De = Object.getOwnPropertyDescriptor(Pe, Le);
43944
+ if (De === void 0) {
43945
+ var Oe = Object.getPrototypeOf(Pe);
43850
43946
  return Oe === null ? void 0 : Fe(Oe, Le, Ue);
43851
43947
  } else {
43852
- if ("value" in Pe)
43853
- return Pe.value;
43854
- var ze = Pe.get;
43948
+ if ("value" in De)
43949
+ return De.value;
43950
+ var ze = De.get;
43855
43951
  return ze === void 0 ? void 0 : ze.call(Ue);
43856
43952
  }
43857
43953
  }, ce = ne(0), he = be(ce), ue = ne(5), pe = be(ue), fe = ne(9), ge = be(fe), me = ne(13), ve = be(me);
43858
43954
  function be(Fe) {
43859
43955
  return Fe && Fe.__esModule ? Fe : { default: Fe };
43860
43956
  }
43861
- function _e(Fe, De) {
43862
- if (!(Fe instanceof De))
43957
+ function _e(Fe, Pe) {
43958
+ if (!(Fe instanceof Pe))
43863
43959
  throw new TypeError("Cannot call a class as a function");
43864
43960
  }
43865
- function we(Fe, De) {
43961
+ function we(Fe, Pe) {
43866
43962
  if (!Fe)
43867
43963
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
43868
- return De && (typeof De == "object" || typeof De == "function") ? De : Fe;
43964
+ return Pe && (typeof Pe == "object" || typeof Pe == "function") ? Pe : Fe;
43869
43965
  }
43870
- function Se(Fe, De) {
43871
- if (typeof De != "function" && De !== null)
43872
- throw new TypeError("Super expression must either be null or a function, not " + typeof De);
43873
- Fe.prototype = Object.create(De && De.prototype, { constructor: { value: Fe, enumerable: !1, writable: !0, configurable: !0 } }), De && (Object.setPrototypeOf ? Object.setPrototypeOf(Fe, De) : Fe.__proto__ = De);
43966
+ function Se(Fe, Pe) {
43967
+ if (typeof Pe != "function" && Pe !== null)
43968
+ throw new TypeError("Super expression must either be null or a function, not " + typeof Pe);
43969
+ Fe.prototype = Object.create(Pe && Pe.prototype, { constructor: { value: Fe, enumerable: !1, writable: !0, configurable: !0 } }), Pe && (Object.setPrototypeOf ? Object.setPrototypeOf(Fe, Pe) : Fe.__proto__ = Pe);
43874
43970
  }
43875
43971
  var Ce = function(Fe) {
43876
- Se(De, Fe);
43877
- function De() {
43878
- return _e(this, De), we(this, (De.__proto__ || Object.getPrototypeOf(De)).apply(this, arguments));
43972
+ Se(Pe, Fe);
43973
+ function Pe() {
43974
+ return _e(this, Pe), we(this, (Pe.__proto__ || Object.getPrototypeOf(Pe)).apply(this, arguments));
43879
43975
  }
43880
- return oe(De, [{
43976
+ return oe(Pe, [{
43881
43977
  key: "replaceWith",
43882
43978
  value: function(Ue) {
43883
- this.domNode.textContent = this.domNode.textContent, this.attach(), de(De.prototype.__proto__ || Object.getPrototypeOf(De.prototype), "replaceWith", this).call(this, Ue);
43979
+ this.domNode.textContent = this.domNode.textContent, this.attach(), de(Pe.prototype.__proto__ || Object.getPrototypeOf(Pe.prototype), "replaceWith", this).call(this, Ue);
43884
43980
  }
43885
43981
  }, {
43886
43982
  key: "highlight",
43887
43983
  value: function(Ue) {
43888
- var Pe = this.domNode.textContent;
43889
- this.cachedText !== Pe && ((Pe.trim().length > 0 || this.cachedText == null) && (this.domNode.innerHTML = Ue(Pe), this.domNode.normalize(), this.attach()), this.cachedText = Pe);
43984
+ var De = this.domNode.textContent;
43985
+ this.cachedText !== De && ((De.trim().length > 0 || this.cachedText == null) && (this.domNode.innerHTML = Ue(De), this.domNode.normalize(), this.attach()), this.cachedText = De);
43890
43986
  }
43891
- }]), De;
43987
+ }]), Pe;
43892
43988
  }(ve.default);
43893
43989
  Ce.className = "ql-syntax";
43894
43990
  var ye = new he.default.Attributor.Class("token", "hljs", {
43895
43991
  scope: he.default.Scope.INLINE
43896
43992
  }), Ae = function(Fe) {
43897
- Se(De, Fe), oe(De, null, [{
43993
+ Se(Pe, Fe), oe(Pe, null, [{
43898
43994
  key: "register",
43899
43995
  value: function() {
43900
43996
  pe.default.register(ye, !0), pe.default.register(Ce, !0);
43901
43997
  }
43902
43998
  }]);
43903
- function De(Le, Ue) {
43904
- _e(this, De);
43905
- var Pe = we(this, (De.__proto__ || Object.getPrototypeOf(De)).call(this, Le, Ue));
43906
- if (typeof Pe.options.highlight != "function")
43999
+ function Pe(Le, Ue) {
44000
+ _e(this, Pe);
44001
+ var De = we(this, (Pe.__proto__ || Object.getPrototypeOf(Pe)).call(this, Le, Ue));
44002
+ if (typeof De.options.highlight != "function")
43907
44003
  throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");
43908
44004
  var Oe = null;
43909
- return Pe.quill.on(pe.default.events.SCROLL_OPTIMIZE, function() {
44005
+ return De.quill.on(pe.default.events.SCROLL_OPTIMIZE, function() {
43910
44006
  clearTimeout(Oe), Oe = setTimeout(function() {
43911
- Pe.highlight(), Oe = null;
43912
- }, Pe.options.interval);
43913
- }), Pe.highlight(), Pe;
44007
+ De.highlight(), Oe = null;
44008
+ }, De.options.interval);
44009
+ }), De.highlight(), De;
43914
44010
  }
43915
- return oe(De, [{
44011
+ return oe(Pe, [{
43916
44012
  key: "highlight",
43917
44013
  value: function() {
43918
44014
  var Ue = this;
43919
44015
  if (!this.quill.selection.composing) {
43920
44016
  this.quill.update(pe.default.sources.USER);
43921
- var Pe = this.quill.getSelection();
44017
+ var De = this.quill.getSelection();
43922
44018
  this.quill.scroll.descendants(Ce).forEach(function(Oe) {
43923
44019
  Oe.highlight(Ue.options.highlight);
43924
- }), this.quill.update(pe.default.sources.SILENT), Pe != null && this.quill.setSelection(Pe, pe.default.sources.SILENT);
44020
+ }), this.quill.update(pe.default.sources.SILENT), De != null && this.quill.setSelection(De, pe.default.sources.SILENT);
43925
44021
  }
43926
44022
  }
43927
- }]), De;
44023
+ }]), Pe;
43928
44024
  }(ge.default);
43929
44025
  Ae.DEFAULTS = {
43930
44026
  highlight: function() {
43931
44027
  return window.hljs == null ? null : function(Fe) {
43932
- var De = window.hljs.highlightAuto(Fe);
43933
- return De.value;
44028
+ var Pe = window.hljs.highlightAuto(Fe);
44029
+ return Pe.value;
43934
44030
  };
43935
44031
  }(),
43936
44032
  interval: 1e3
@@ -44102,57 +44198,57 @@ var quill = { exports: {} };
44102
44198
  Object.defineProperty(re, "__esModule", {
44103
44199
  value: !0
44104
44200
  }), re.default = re.BubbleTooltip = void 0;
44105
- var oe = function De(Le, Ue, Pe) {
44201
+ var oe = function Pe(Le, Ue, De) {
44106
44202
  Le === null && (Le = Function.prototype);
44107
44203
  var Oe = Object.getOwnPropertyDescriptor(Le, Ue);
44108
44204
  if (Oe === void 0) {
44109
44205
  var ze = Object.getPrototypeOf(Le);
44110
- return ze === null ? void 0 : De(ze, Ue, Pe);
44206
+ return ze === null ? void 0 : Pe(ze, Ue, De);
44111
44207
  } else {
44112
44208
  if ("value" in Oe)
44113
44209
  return Oe.value;
44114
44210
  var Ie = Oe.get;
44115
- return Ie === void 0 ? void 0 : Ie.call(Pe);
44211
+ return Ie === void 0 ? void 0 : Ie.call(De);
44116
44212
  }
44117
44213
  }, de = /* @__PURE__ */ function() {
44118
- function De(Le, Ue) {
44119
- for (var Pe = 0; Pe < Ue.length; Pe++) {
44120
- var Oe = Ue[Pe];
44214
+ function Pe(Le, Ue) {
44215
+ for (var De = 0; De < Ue.length; De++) {
44216
+ var Oe = Ue[De];
44121
44217
  Oe.enumerable = Oe.enumerable || !1, Oe.configurable = !0, "value" in Oe && (Oe.writable = !0), Object.defineProperty(Le, Oe.key, Oe);
44122
44218
  }
44123
44219
  }
44124
- return function(Le, Ue, Pe) {
44125
- return Ue && De(Le.prototype, Ue), Pe && De(Le, Pe), Le;
44220
+ return function(Le, Ue, De) {
44221
+ return Ue && Pe(Le.prototype, Ue), De && Pe(Le, De), Le;
44126
44222
  };
44127
44223
  }(), ce = ne(3), he = _e(ce), ue = ne(8), pe = _e(ue), fe = ne(44), ge = _e(fe), me = ne(15), ve = ne(42), be = _e(ve);
44128
- function _e(De) {
44129
- return De && De.__esModule ? De : { default: De };
44224
+ function _e(Pe) {
44225
+ return Pe && Pe.__esModule ? Pe : { default: Pe };
44130
44226
  }
44131
- function we(De, Le) {
44132
- if (!(De instanceof Le))
44227
+ function we(Pe, Le) {
44228
+ if (!(Pe instanceof Le))
44133
44229
  throw new TypeError("Cannot call a class as a function");
44134
44230
  }
44135
- function Se(De, Le) {
44136
- if (!De)
44231
+ function Se(Pe, Le) {
44232
+ if (!Pe)
44137
44233
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
44138
- return Le && (typeof Le == "object" || typeof Le == "function") ? Le : De;
44234
+ return Le && (typeof Le == "object" || typeof Le == "function") ? Le : Pe;
44139
44235
  }
44140
- function Ce(De, Le) {
44236
+ function Ce(Pe, Le) {
44141
44237
  if (typeof Le != "function" && Le !== null)
44142
44238
  throw new TypeError("Super expression must either be null or a function, not " + typeof Le);
44143
- De.prototype = Object.create(Le && Le.prototype, { constructor: { value: De, enumerable: !1, writable: !0, configurable: !0 } }), Le && (Object.setPrototypeOf ? Object.setPrototypeOf(De, Le) : De.__proto__ = Le);
44239
+ Pe.prototype = Object.create(Le && Le.prototype, { constructor: { value: Pe, enumerable: !1, writable: !0, configurable: !0 } }), Le && (Object.setPrototypeOf ? Object.setPrototypeOf(Pe, Le) : Pe.__proto__ = Le);
44144
44240
  }
44145
- var ye = [["bold", "italic", "link"], [{ header: 1 }, { header: 2 }, "blockquote"]], Ae = function(De) {
44146
- Ce(Le, De);
44147
- function Le(Ue, Pe) {
44148
- we(this, Le), Pe.modules.toolbar != null && Pe.modules.toolbar.container == null && (Pe.modules.toolbar.container = ye);
44149
- var Oe = Se(this, (Le.__proto__ || Object.getPrototypeOf(Le)).call(this, Ue, Pe));
44241
+ var ye = [["bold", "italic", "link"], [{ header: 1 }, { header: 2 }, "blockquote"]], Ae = function(Pe) {
44242
+ Ce(Le, Pe);
44243
+ function Le(Ue, De) {
44244
+ we(this, Le), De.modules.toolbar != null && De.modules.toolbar.container == null && (De.modules.toolbar.container = ye);
44245
+ var Oe = Se(this, (Le.__proto__ || Object.getPrototypeOf(Le)).call(this, Ue, De));
44150
44246
  return Oe.quill.container.classList.add("ql-bubble"), Oe;
44151
44247
  }
44152
44248
  return de(Le, [{
44153
44249
  key: "extendToolbar",
44154
- value: function(Pe) {
44155
- this.tooltip = new Fe(this.quill, this.options.bounds), this.tooltip.root.appendChild(Pe.container), this.buildButtons([].slice.call(Pe.container.querySelectorAll("button")), be.default), this.buildPickers([].slice.call(Pe.container.querySelectorAll("select")), be.default);
44250
+ value: function(De) {
44251
+ this.tooltip = new Fe(this.quill, this.options.bounds), this.tooltip.root.appendChild(De.container), this.buildButtons([].slice.call(De.container.querySelectorAll("button")), be.default), this.buildPickers([].slice.call(De.container.querySelectorAll("select")), be.default);
44156
44252
  }
44157
44253
  }]), Le;
44158
44254
  }(ge.default);
@@ -44167,11 +44263,11 @@ var quill = { exports: {} };
44167
44263
  }
44168
44264
  }
44169
44265
  });
44170
- var Fe = function(De) {
44171
- Ce(Le, De);
44172
- function Le(Ue, Pe) {
44266
+ var Fe = function(Pe) {
44267
+ Ce(Le, Pe);
44268
+ function Le(Ue, De) {
44173
44269
  we(this, Le);
44174
- var Oe = Se(this, (Le.__proto__ || Object.getPrototypeOf(Le)).call(this, Ue, Pe));
44270
+ var Oe = Se(this, (Le.__proto__ || Object.getPrototypeOf(Le)).call(this, Ue, De));
44175
44271
  return Oe.quill.on(pe.default.events.EDITOR_CHANGE, function(ze, Ie, He, We) {
44176
44272
  if (ze === pe.default.events.SELECTION_CHANGE)
44177
44273
  if (Ie != null && Ie.length > 0 && We === pe.default.sources.USER) {
@@ -44189,14 +44285,14 @@ var quill = { exports: {} };
44189
44285
  return de(Le, [{
44190
44286
  key: "listen",
44191
44287
  value: function() {
44192
- var Pe = this;
44288
+ var De = this;
44193
44289
  oe(Le.prototype.__proto__ || Object.getPrototypeOf(Le.prototype), "listen", this).call(this), this.root.querySelector(".ql-close").addEventListener("click", function() {
44194
- Pe.root.classList.remove("ql-editing");
44290
+ De.root.classList.remove("ql-editing");
44195
44291
  }), this.quill.on(pe.default.events.SCROLL_OPTIMIZE, function() {
44196
44292
  setTimeout(function() {
44197
- if (!Pe.root.classList.contains("ql-hidden")) {
44198
- var Oe = Pe.quill.getSelection();
44199
- Oe != null && Pe.position(Pe.quill.getBounds(Oe));
44293
+ if (!De.root.classList.contains("ql-hidden")) {
44294
+ var Oe = De.quill.getSelection();
44295
+ Oe != null && De.position(De.quill.getBounds(Oe));
44200
44296
  }
44201
44297
  }, 1);
44202
44298
  });
@@ -44208,8 +44304,8 @@ var quill = { exports: {} };
44208
44304
  }
44209
44305
  }, {
44210
44306
  key: "position",
44211
- value: function(Pe) {
44212
- var Oe = oe(Le.prototype.__proto__ || Object.getPrototypeOf(Le.prototype), "position", this).call(this, Pe), ze = this.root.querySelector(".ql-tooltip-arrow");
44307
+ value: function(De) {
44308
+ var Oe = oe(Le.prototype.__proto__ || Object.getPrototypeOf(Le.prototype), "position", this).call(this, De), ze = this.root.querySelector(".ql-tooltip-arrow");
44213
44309
  if (ze.style.marginLeft = "", Oe === 0) return Oe;
44214
44310
  ze.style.marginLeft = -1 * Oe - ze.offsetWidth / 2 + "px";
44215
44311
  }
@@ -44258,7 +44354,7 @@ var __defProp$2 = Object.defineProperty, __decorateClass$2 = (te, J, X, re) => {
44258
44354
  return ne && __defProp$2(J, X, ne), ne;
44259
44355
  };
44260
44356
  fixSpellCheckerIssue(Quill);
44261
- const ir = class ir extends h$m {
44357
+ const rr = class rr extends h$m {
44262
44358
  constructor() {
44263
44359
  super(...arguments), this.textChangeTimeout = null, this.availableOptions = [
44264
44360
  "bold",
@@ -44417,10 +44513,10 @@ const ir = class ir extends h$m {
44417
44513
  return this.quill.getSelection();
44418
44514
  }
44419
44515
  };
44420
- ir.styles = i$w`
44516
+ rr.styles = i$w`
44421
44517
  ${r$F(styles$1)}
44422
44518
  `;
44423
- let PrimariaRichTextEditor = ir;
44519
+ let PrimariaRichTextEditor = rr;
44424
44520
  __decorateClass$2([
44425
44521
  n$z()
44426
44522
  ], PrimariaRichTextEditor.prototype, "quill");
@@ -44445,7 +44541,7 @@ var __defProp$1 = Object.defineProperty, __decorateClass$1 = (te, J, X, re) => {
44445
44541
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
44446
44542
  return ne && __defProp$1(J, X, ne), ne;
44447
44543
  };
44448
- const rr = class rr extends h$m {
44544
+ const sr = class sr extends h$m {
44449
44545
  constructor() {
44450
44546
  super(...arguments), this.characterCount = 0, this.characterLimit = 0, this.label = "";
44451
44547
  }
@@ -44460,10 +44556,10 @@ const rr = class rr extends h$m {
44460
44556
  ` : D$2;
44461
44557
  }
44462
44558
  };
44463
- rr.styles = i$w`
44559
+ sr.styles = i$w`
44464
44560
  ${r$F(styles)}
44465
44561
  `;
44466
- let PrimariaCharacterLimitBadge = rr;
44562
+ let PrimariaCharacterLimitBadge = sr;
44467
44563
  __decorateClass$1([
44468
44564
  n$z({ type: Number })
44469
44565
  ], PrimariaCharacterLimitBadge.prototype, "characterCount");