@trustpayments/3ds-sdk-js 1.2.698 → 1.2.700

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
@@ -583,77 +583,22 @@ function me(e) {
583
583
  return e && e instanceof S || pe(e) && g(e);
584
584
  }
585
585
  //#endregion
586
- //#region node_modules/rxjs/dist/esm5/internal/util/lift.js
587
- function he(e) {
588
- return u(e?.lift);
589
- }
590
- function A(e) {
591
- return function(t) {
592
- if (he(t)) return t.lift(function(t) {
593
- try {
594
- return e(t, this);
595
- } catch (e) {
596
- this.error(e);
597
- }
598
- });
599
- throw TypeError("Unable to lift unknown Observable type");
600
- };
601
- }
602
- //#endregion
603
- //#region node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js
604
- function j(e, t, n, r, i) {
605
- return new ge(e, t, n, r, i);
606
- }
607
- var ge = function(e) {
608
- t(n, e);
609
- function n(t, n, r, i, a, o) {
610
- var s = e.call(this, t) || this;
611
- return s.onFinalize = a, s.shouldUnsubscribe = o, s._next = n ? function(e) {
612
- try {
613
- n(e);
614
- } catch (e) {
615
- t.error(e);
616
- }
617
- } : e.prototype._next, s._error = i ? function(e) {
618
- try {
619
- i(e);
620
- } catch (e) {
621
- t.error(e);
622
- } finally {
623
- this.unsubscribe();
624
- }
625
- } : e.prototype._error, s._complete = r ? function() {
626
- try {
627
- r();
628
- } catch (e) {
629
- t.error(e);
630
- } finally {
631
- this.unsubscribe();
632
- }
633
- } : e.prototype._complete, s;
634
- }
635
- return n.prototype.unsubscribe = function() {
636
- var t;
637
- if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
638
- var n = this.closed;
639
- e.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) == null || t.call(this));
640
- }
641
- }, n;
642
- }(S), _e = d(function(e) {
586
+ //#region node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
587
+ var he = d(function(e) {
643
588
  return function() {
644
589
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
645
590
  };
646
- }), M = function(e) {
591
+ }), A = function(e) {
647
592
  t(n, e);
648
593
  function n() {
649
594
  var t = e.call(this) || this;
650
595
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
651
596
  }
652
597
  return n.prototype.lift = function(e) {
653
- var t = new ve(this, this);
598
+ var t = new ge(this, this);
654
599
  return t.operator = e, t;
655
600
  }, n.prototype._throwIfClosed = function() {
656
- if (this.closed) throw new _e();
601
+ if (this.closed) throw new he();
657
602
  }, n.prototype.next = function(e) {
658
603
  var t = this;
659
604
  x(function() {
@@ -713,9 +658,9 @@ var ge = function(e) {
713
658
  var e = new k();
714
659
  return e.source = this, e;
715
660
  }, n.create = function(e, t) {
716
- return new ve(e, t);
661
+ return new ge(e, t);
717
662
  }, n;
718
- }(k), ve = function(e) {
663
+ }(k), ge = function(e) {
719
664
  t(n, e);
720
665
  function n(t, n) {
721
666
  var r = e.call(this) || this;
@@ -733,7 +678,7 @@ var ge = function(e) {
733
678
  }, n.prototype._subscribe = function(e) {
734
679
  return this.source?.subscribe(e) ?? h;
735
680
  }, n;
736
- }(M), ye = function(e) {
681
+ }(A), _e = function(e) {
737
682
  t(n, e);
738
683
  function n(t) {
739
684
  var n = e.call(this) || this;
@@ -755,152 +700,43 @@ var ge = function(e) {
755
700
  }, n.prototype.next = function(t) {
756
701
  e.prototype.next.call(this, this._value = t);
757
702
  }, n;
758
- }(M), be = {
759
- now: function() {
760
- return (be.delegate || Date).now();
761
- },
762
- delegate: void 0
763
- }, xe = function(e) {
764
- t(n, e);
765
- function n(t, n) {
766
- return e.call(this) || this;
767
- }
768
- return n.prototype.schedule = function(e, t) {
769
- return t === void 0 && (t = 0), this;
770
- }, n;
771
- }(m), N = {
772
- setInterval: function(e, t) {
773
- var n = [...arguments].slice(2), r = N.delegate;
774
- return r?.setInterval ? r.setInterval.apply(r, o([e, t], a(n))) : setInterval.apply(void 0, o([e, t], a(n)));
775
- },
776
- clearInterval: function(e) {
777
- return (N.delegate?.clearInterval || clearInterval)(e);
778
- },
779
- delegate: void 0
780
- }, Se = function(e) {
781
- t(n, e);
782
- function n(t, n) {
783
- var r = e.call(this, t, n) || this;
784
- return r.scheduler = t, r.work = n, r.pending = !1, r;
785
- }
786
- return n.prototype.schedule = function(e, t) {
787
- if (t === void 0 && (t = 0), this.closed) return this;
788
- this.state = e;
789
- var n = this.id, r = this.scheduler;
790
- return n != null && (this.id = this.recycleAsyncId(r, n, t)), this.pending = !0, this.delay = t, this.id = this.id ?? this.requestAsyncId(r, this.id, t), this;
791
- }, n.prototype.requestAsyncId = function(e, t, n) {
792
- return n === void 0 && (n = 0), N.setInterval(e.flush.bind(e, this), n);
793
- }, n.prototype.recycleAsyncId = function(e, t, n) {
794
- if (n === void 0 && (n = 0), n != null && this.delay === n && this.pending === !1) return t;
795
- t != null && N.clearInterval(t);
796
- }, n.prototype.execute = function(e, t) {
797
- if (this.closed) return /* @__PURE__ */ Error("executing a cancelled action");
798
- this.pending = !1;
799
- var n = this._execute(e, t);
800
- if (n) return n;
801
- this.pending === !1 && this.id != null && (this.id = this.recycleAsyncId(this.scheduler, this.id, null));
802
- }, n.prototype._execute = function(e, t) {
803
- var n = !1, r;
804
- try {
805
- this.work(e);
806
- } catch (e) {
807
- n = !0, r = e || /* @__PURE__ */ Error("Scheduled action threw falsy error");
808
- }
809
- if (n) return this.unsubscribe(), r;
810
- }, n.prototype.unsubscribe = function() {
811
- if (!this.closed) {
812
- var t = this, n = t.id, r = t.scheduler, i = r.actions;
813
- this.work = this.state = this.scheduler = null, this.pending = !1, p(i, this), n != null && (this.id = this.recycleAsyncId(r, n, null)), this.delay = null, e.prototype.unsubscribe.call(this);
814
- }
815
- }, n;
816
- }(xe), Ce = function() {
817
- function e(t, n) {
818
- n === void 0 && (n = e.now), this.schedulerActionCtor = t, this.now = n;
819
- }
820
- return e.prototype.schedule = function(e, t, n) {
821
- return t === void 0 && (t = 0), new this.schedulerActionCtor(this, e).schedule(n, t);
822
- }, e.now = be.now, e;
823
- }(), we = new (function(e) {
824
- t(n, e);
825
- function n(t, n) {
826
- n === void 0 && (n = Ce.now);
827
- var r = e.call(this, t, n) || this;
828
- return r.actions = [], r._active = !1, r;
829
- }
830
- return n.prototype.flush = function(e) {
831
- var t = this.actions;
832
- if (this._active) {
833
- t.push(e);
834
- return;
835
- }
836
- var n;
837
- this._active = !0;
838
- do
839
- if (n = e.execute(e.state, e.delay)) break;
840
- while (e = t.shift());
841
- if (this._active = !1, n) {
842
- for (; e = t.shift();) e.unsubscribe();
843
- throw n;
844
- }
845
- }, n;
846
- }(Ce))(Se), Te = we, Ee = new k(function(e) {
847
- return e.complete();
848
- });
849
- //#endregion
850
- //#region node_modules/rxjs/dist/esm5/internal/util/isScheduler.js
851
- function De(e) {
852
- return e && u(e.schedule);
853
- }
854
- //#endregion
855
- //#region node_modules/rxjs/dist/esm5/internal/util/args.js
856
- function Oe(e) {
857
- return e[e.length - 1];
858
- }
859
- function ke(e) {
860
- return De(Oe(e)) ? e.pop() : void 0;
861
- }
862
- function Ae(e, t) {
863
- return typeof Oe(e) == "number" ? e.pop() : t;
864
- }
865
- //#endregion
866
- //#region node_modules/rxjs/dist/esm5/internal/util/isArrayLike.js
867
- var P = (function(e) {
703
+ }(A), j = (function(e) {
868
704
  return e && typeof e.length == "number" && typeof e != "function";
869
705
  });
870
706
  //#endregion
871
707
  //#region node_modules/rxjs/dist/esm5/internal/util/isPromise.js
872
- function je(e) {
708
+ function ve(e) {
873
709
  return u(e?.then);
874
710
  }
875
711
  //#endregion
876
712
  //#region node_modules/rxjs/dist/esm5/internal/util/isInteropObservable.js
877
- function Me(e) {
713
+ function ye(e) {
878
714
  return u(e[D]);
879
715
  }
880
716
  //#endregion
881
717
  //#region node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js
882
- function Ne(e) {
718
+ function be(e) {
883
719
  return Symbol.asyncIterator && u(e?.[Symbol.asyncIterator]);
884
720
  }
885
721
  //#endregion
886
722
  //#region node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js
887
- function Pe(e) {
723
+ function xe(e) {
888
724
  return /* @__PURE__ */ TypeError("You provided " + (typeof e == "object" && e ? "an invalid object" : "'" + e + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
889
725
  }
890
726
  //#endregion
891
727
  //#region node_modules/rxjs/dist/esm5/internal/symbol/iterator.js
892
- function Fe() {
728
+ function Se() {
893
729
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
894
730
  }
895
- var Ie = Fe();
731
+ var Ce = Se();
896
732
  //#endregion
897
733
  //#region node_modules/rxjs/dist/esm5/internal/util/isIterable.js
898
- function Le(e) {
899
- return u(e?.[Ie]);
734
+ function we(e) {
735
+ return u(e?.[Ce]);
900
736
  }
901
737
  //#endregion
902
738
  //#region node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
903
- function Re(e) {
739
+ function Te(e) {
904
740
  return c(this, arguments, function() {
905
741
  var t, n, i, a;
906
742
  return r(this, function(r) {
@@ -925,37 +761,37 @@ function Re(e) {
925
761
  });
926
762
  });
927
763
  }
928
- function ze(e) {
764
+ function Ee(e) {
929
765
  return u(e?.getReader);
930
766
  }
931
767
  //#endregion
932
768
  //#region node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js
933
- function F(e) {
769
+ function M(e) {
934
770
  if (e instanceof k) return e;
935
771
  if (e != null) {
936
- if (Me(e)) return Be(e);
937
- if (P(e)) return Ve(e);
938
- if (je(e)) return He(e);
939
- if (Ne(e)) return We(e);
940
- if (Le(e)) return Ue(e);
941
- if (ze(e)) return Ge(e);
772
+ if (ye(e)) return De(e);
773
+ if (j(e)) return Oe(e);
774
+ if (ve(e)) return ke(e);
775
+ if (be(e)) return je(e);
776
+ if (we(e)) return Ae(e);
777
+ if (Ee(e)) return Me(e);
942
778
  }
943
- throw Pe(e);
779
+ throw xe(e);
944
780
  }
945
- function Be(e) {
781
+ function De(e) {
946
782
  return new k(function(t) {
947
783
  var n = e[D]();
948
784
  if (u(n.subscribe)) return n.subscribe(t);
949
785
  throw TypeError("Provided object does not correctly implement Symbol.observable");
950
786
  });
951
787
  }
952
- function Ve(e) {
788
+ function Oe(e) {
953
789
  return new k(function(t) {
954
790
  for (var n = 0; n < e.length && !t.closed; n++) t.next(e[n]);
955
791
  t.complete();
956
792
  });
957
793
  }
958
- function He(e) {
794
+ function ke(e) {
959
795
  return new k(function(t) {
960
796
  e.then(function(e) {
961
797
  t.closed || (t.next(e), t.complete());
@@ -964,7 +800,7 @@ function He(e) {
964
800
  }).then(null, te);
965
801
  });
966
802
  }
967
- function Ue(e) {
803
+ function Ae(e) {
968
804
  return new k(function(t) {
969
805
  var n, r;
970
806
  try {
@@ -984,17 +820,17 @@ function Ue(e) {
984
820
  t.complete();
985
821
  });
986
822
  }
987
- function We(e) {
823
+ function je(e) {
988
824
  return new k(function(t) {
989
- Ke(e, t).catch(function(e) {
825
+ Ne(e, t).catch(function(e) {
990
826
  return t.error(e);
991
827
  });
992
828
  });
993
829
  }
994
- function Ge(e) {
995
- return We(Re(e));
830
+ function Me(e) {
831
+ return je(Te(e));
996
832
  }
997
- function Ke(e, t) {
833
+ function Ne(e, t) {
998
834
  var i, a, o, s;
999
835
  return n(this, void 0, void 0, function() {
1000
836
  var n, c;
@@ -1032,6 +868,81 @@ function Ke(e, t) {
1032
868
  });
1033
869
  }
1034
870
  //#endregion
871
+ //#region node_modules/rxjs/dist/esm5/internal/observable/defer.js
872
+ function Pe(e) {
873
+ return new k(function(t) {
874
+ M(e()).subscribe(t);
875
+ });
876
+ }
877
+ //#endregion
878
+ //#region node_modules/rxjs/dist/esm5/internal/util/lift.js
879
+ function Fe(e) {
880
+ return u(e?.lift);
881
+ }
882
+ function N(e) {
883
+ return function(t) {
884
+ if (Fe(t)) return t.lift(function(t) {
885
+ try {
886
+ return e(t, this);
887
+ } catch (e) {
888
+ this.error(e);
889
+ }
890
+ });
891
+ throw TypeError("Unable to lift unknown Observable type");
892
+ };
893
+ }
894
+ //#endregion
895
+ //#region node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js
896
+ function P(e, t, n, r, i) {
897
+ return new Ie(e, t, n, r, i);
898
+ }
899
+ var Ie = function(e) {
900
+ t(n, e);
901
+ function n(t, n, r, i, a, o) {
902
+ var s = e.call(this, t) || this;
903
+ return s.onFinalize = a, s.shouldUnsubscribe = o, s._next = n ? function(e) {
904
+ try {
905
+ n(e);
906
+ } catch (e) {
907
+ t.error(e);
908
+ }
909
+ } : e.prototype._next, s._error = i ? function(e) {
910
+ try {
911
+ i(e);
912
+ } catch (e) {
913
+ t.error(e);
914
+ } finally {
915
+ this.unsubscribe();
916
+ }
917
+ } : e.prototype._error, s._complete = r ? function() {
918
+ try {
919
+ r();
920
+ } catch (e) {
921
+ t.error(e);
922
+ } finally {
923
+ this.unsubscribe();
924
+ }
925
+ } : e.prototype._complete, s;
926
+ }
927
+ return n.prototype.unsubscribe = function() {
928
+ var t;
929
+ if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
930
+ var n = this.closed;
931
+ e.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) == null || t.call(this));
932
+ }
933
+ }, n;
934
+ }(S);
935
+ //#endregion
936
+ //#region node_modules/rxjs/dist/esm5/internal/operators/map.js
937
+ function F(e, t) {
938
+ return N(function(n, r) {
939
+ var i = 0;
940
+ n.subscribe(P(r, function(n) {
941
+ r.next(e.call(t, n, i++));
942
+ }));
943
+ });
944
+ }
945
+ //#endregion
1035
946
  //#region node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js
1036
947
  function I(e, t, n, r, i) {
1037
948
  r === void 0 && (r = 0), i === void 0 && (i = !1);
@@ -1041,28 +952,151 @@ function I(e, t, n, r, i) {
1041
952
  if (e.add(a), !i) return a;
1042
953
  }
1043
954
  //#endregion
1044
- //#region node_modules/rxjs/dist/esm5/internal/operators/observeOn.js
1045
- function qe(e, t) {
1046
- return t === void 0 && (t = 0), A(function(n, r) {
1047
- n.subscribe(j(r, function(n) {
1048
- return I(r, e, function() {
1049
- return r.next(n);
1050
- }, t);
955
+ //#region node_modules/rxjs/dist/esm5/internal/operators/mergeInternals.js
956
+ function Le(e, t, n, r, i, a, o, s) {
957
+ var c = [], l = 0, u = 0, d = !1, f = function() {
958
+ d && !c.length && !l && t.complete();
959
+ }, p = function(e) {
960
+ return l < r ? m(e) : c.push(e);
961
+ }, m = function(e) {
962
+ a && t.next(e), l++;
963
+ var s = !1;
964
+ M(n(e, u++)).subscribe(P(t, function(e) {
965
+ i?.(e), a ? p(e) : t.next(e);
1051
966
  }, function() {
1052
- return I(r, e, function() {
1053
- return r.complete();
1054
- }, t);
1055
- }, function(n) {
1056
- return I(r, e, function() {
1057
- return r.error(n);
1058
- }, t);
967
+ s = !0;
968
+ }, void 0, function() {
969
+ if (s) try {
970
+ l--;
971
+ for (var e = function() {
972
+ var e = c.shift();
973
+ o ? I(t, o, function() {
974
+ return m(e);
975
+ }) : m(e);
976
+ }; c.length && l < r;) e();
977
+ f();
978
+ } catch (e) {
979
+ t.error(e);
980
+ }
1059
981
  }));
1060
- });
982
+ };
983
+ return e.subscribe(P(t, p, function() {
984
+ d = !0, f();
985
+ })), function() {
986
+ s?.();
987
+ };
988
+ }
989
+ //#endregion
990
+ //#region node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js
991
+ function L(e, t, n) {
992
+ return n === void 0 && (n = Infinity), u(t) ? L(function(n, r) {
993
+ return F(function(e, i) {
994
+ return t(n, e, r, i);
995
+ })(M(e(n, r)));
996
+ }, n) : (typeof t == "number" && (n = t), N(function(t, r) {
997
+ return Le(t, r, e, n);
998
+ }));
999
+ }
1000
+ //#endregion
1001
+ //#region node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js
1002
+ var Re = Array.isArray;
1003
+ function ze(e, t) {
1004
+ return Re(t) ? e.apply(void 0, o([], a(t))) : e(t);
1005
+ }
1006
+ function Be(e) {
1007
+ return F(function(t) {
1008
+ return ze(e, t);
1009
+ });
1010
+ }
1011
+ //#endregion
1012
+ //#region node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js
1013
+ var Ve = ["addListener", "removeListener"], He = ["addEventListener", "removeEventListener"], Ue = ["on", "off"];
1014
+ function R(e, t, n, r) {
1015
+ if (u(n) && (r = n, n = void 0), r) return R(e, t, n).pipe(Be(r));
1016
+ var i = a(qe(e) ? He.map(function(r) {
1017
+ return function(i) {
1018
+ return e[r](t, i, n);
1019
+ };
1020
+ }) : Ge(e) ? Ve.map(We(e, t)) : Ke(e) ? Ue.map(We(e, t)) : [], 2), o = i[0], s = i[1];
1021
+ if (!o && j(e)) return L(function(e) {
1022
+ return R(e, t, n);
1023
+ })(M(e));
1024
+ if (!o) throw TypeError("Invalid event target");
1025
+ return new k(function(e) {
1026
+ var t = function() {
1027
+ var t = [...arguments];
1028
+ return e.next(1 < t.length ? t : t[0]);
1029
+ };
1030
+ return o(t), function() {
1031
+ return s(t);
1032
+ };
1033
+ });
1034
+ }
1035
+ function We(e, t) {
1036
+ return function(n) {
1037
+ return function(r) {
1038
+ return e[n](t, r);
1039
+ };
1040
+ };
1041
+ }
1042
+ function Ge(e) {
1043
+ return u(e.addListener) && u(e.removeListener);
1044
+ }
1045
+ function Ke(e) {
1046
+ return u(e.on) && u(e.off);
1047
+ }
1048
+ function qe(e) {
1049
+ return u(e.addEventListener) && u(e.removeEventListener);
1050
+ }
1051
+ //#endregion
1052
+ //#region node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js
1053
+ function Je(e) {
1054
+ return e === void 0 && (e = Infinity), L(O, e);
1055
+ }
1056
+ //#endregion
1057
+ //#region node_modules/rxjs/dist/esm5/internal/observable/empty.js
1058
+ var Ye = new k(function(e) {
1059
+ return e.complete();
1060
+ });
1061
+ //#endregion
1062
+ //#region node_modules/rxjs/dist/esm5/internal/util/isScheduler.js
1063
+ function Xe(e) {
1064
+ return e && u(e.schedule);
1065
+ }
1066
+ //#endregion
1067
+ //#region node_modules/rxjs/dist/esm5/internal/util/args.js
1068
+ function Ze(e) {
1069
+ return e[e.length - 1];
1070
+ }
1071
+ function Qe(e) {
1072
+ return Xe(Ze(e)) ? e.pop() : void 0;
1073
+ }
1074
+ function $e(e, t) {
1075
+ return typeof Ze(e) == "number" ? e.pop() : t;
1076
+ }
1077
+ //#endregion
1078
+ //#region node_modules/rxjs/dist/esm5/internal/operators/observeOn.js
1079
+ function et(e, t) {
1080
+ return t === void 0 && (t = 0), N(function(n, r) {
1081
+ n.subscribe(P(r, function(n) {
1082
+ return I(r, e, function() {
1083
+ return r.next(n);
1084
+ }, t);
1085
+ }, function() {
1086
+ return I(r, e, function() {
1087
+ return r.complete();
1088
+ }, t);
1089
+ }, function(n) {
1090
+ return I(r, e, function() {
1091
+ return r.error(n);
1092
+ }, t);
1093
+ }));
1094
+ });
1061
1095
  }
1062
1096
  //#endregion
1063
1097
  //#region node_modules/rxjs/dist/esm5/internal/operators/subscribeOn.js
1064
- function Je(e, t) {
1065
- return t === void 0 && (t = 0), A(function(n, r) {
1098
+ function tt(e, t) {
1099
+ return t === void 0 && (t = 0), N(function(n, r) {
1066
1100
  r.add(e.schedule(function() {
1067
1101
  return n.subscribe(r);
1068
1102
  }, t));
@@ -1070,17 +1104,17 @@ function Je(e, t) {
1070
1104
  }
1071
1105
  //#endregion
1072
1106
  //#region node_modules/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js
1073
- function Ye(e, t) {
1074
- return F(e).pipe(Je(t), qe(t));
1107
+ function nt(e, t) {
1108
+ return M(e).pipe(tt(t), et(t));
1075
1109
  }
1076
1110
  //#endregion
1077
1111
  //#region node_modules/rxjs/dist/esm5/internal/scheduled/schedulePromise.js
1078
- function Xe(e, t) {
1079
- return F(e).pipe(Je(t), qe(t));
1112
+ function rt(e, t) {
1113
+ return M(e).pipe(tt(t), et(t));
1080
1114
  }
1081
1115
  //#endregion
1082
1116
  //#region node_modules/rxjs/dist/esm5/internal/scheduled/scheduleArray.js
1083
- function Ze(e, t) {
1117
+ function it(e, t) {
1084
1118
  return new k(function(n) {
1085
1119
  var r = 0;
1086
1120
  return t.schedule(function() {
@@ -1090,11 +1124,11 @@ function Ze(e, t) {
1090
1124
  }
1091
1125
  //#endregion
1092
1126
  //#region node_modules/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js
1093
- function Qe(e, t) {
1127
+ function at(e, t) {
1094
1128
  return new k(function(n) {
1095
1129
  var r;
1096
1130
  return I(n, t, function() {
1097
- r = e[Ie](), I(n, t, function() {
1131
+ r = e[Ce](), I(n, t, function() {
1098
1132
  var e, t, i;
1099
1133
  try {
1100
1134
  e = r.next(), t = e.value, i = e.done;
@@ -1111,7 +1145,7 @@ function Qe(e, t) {
1111
1145
  }
1112
1146
  //#endregion
1113
1147
  //#region node_modules/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js
1114
- function $e(e, t) {
1148
+ function ot(e, t) {
1115
1149
  if (!e) throw Error("Iterable cannot be null");
1116
1150
  return new k(function(n) {
1117
1151
  I(n, t, function() {
@@ -1126,36 +1160,42 @@ function $e(e, t) {
1126
1160
  }
1127
1161
  //#endregion
1128
1162
  //#region node_modules/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js
1129
- function et(e, t) {
1130
- return $e(Re(e), t);
1163
+ function st(e, t) {
1164
+ return ot(Te(e), t);
1131
1165
  }
1132
1166
  //#endregion
1133
1167
  //#region node_modules/rxjs/dist/esm5/internal/scheduled/scheduled.js
1134
- function tt(e, t) {
1168
+ function ct(e, t) {
1135
1169
  if (e != null) {
1136
- if (Me(e)) return Ye(e, t);
1137
- if (P(e)) return Ze(e, t);
1138
- if (je(e)) return Xe(e, t);
1139
- if (Ne(e)) return $e(e, t);
1140
- if (Le(e)) return Qe(e, t);
1141
- if (ze(e)) return et(e, t);
1170
+ if (ye(e)) return nt(e, t);
1171
+ if (j(e)) return it(e, t);
1172
+ if (ve(e)) return rt(e, t);
1173
+ if (be(e)) return ot(e, t);
1174
+ if (we(e)) return at(e, t);
1175
+ if (Ee(e)) return st(e, t);
1142
1176
  }
1143
- throw Pe(e);
1177
+ throw xe(e);
1144
1178
  }
1145
1179
  //#endregion
1146
1180
  //#region node_modules/rxjs/dist/esm5/internal/observable/from.js
1147
- function nt(e, t) {
1148
- return t ? tt(e, t) : F(e);
1181
+ function lt(e, t) {
1182
+ return t ? ct(e, t) : M(e);
1183
+ }
1184
+ //#endregion
1185
+ //#region node_modules/rxjs/dist/esm5/internal/observable/merge.js
1186
+ function ut() {
1187
+ var e = [...arguments], t = Qe(e), n = $e(e, Infinity), r = e;
1188
+ return r.length ? r.length === 1 ? M(r[0]) : Je(n)(lt(r, t)) : Ye;
1149
1189
  }
1150
1190
  //#endregion
1151
1191
  //#region node_modules/rxjs/dist/esm5/internal/observable/of.js
1152
- function L() {
1192
+ function z() {
1153
1193
  var e = [...arguments];
1154
- return nt(e, ke(e));
1194
+ return lt(e, Qe(e));
1155
1195
  }
1156
1196
  //#endregion
1157
1197
  //#region node_modules/rxjs/dist/esm5/internal/observable/throwError.js
1158
- function R(e, t) {
1198
+ function B(e, t) {
1159
1199
  var n = u(e) ? e : function() {
1160
1200
  return e;
1161
1201
  }, r = function(e) {
@@ -1166,177 +1206,129 @@ function R(e, t) {
1166
1206
  } : r);
1167
1207
  }
1168
1208
  //#endregion
1169
- //#region node_modules/rxjs/dist/esm5/internal/util/EmptyError.js
1170
- var rt = d(function(e) {
1171
- return function() {
1172
- e(this), this.name = "EmptyError", this.message = "no elements in sequence";
1173
- };
1174
- });
1175
- //#endregion
1176
- //#region node_modules/rxjs/dist/esm5/internal/util/isDate.js
1177
- function it(e) {
1178
- return e instanceof Date && !isNaN(e);
1179
- }
1180
- //#endregion
1181
- //#region node_modules/rxjs/dist/esm5/internal/operators/timeout.js
1182
- var at = d(function(e) {
1183
- return function(t) {
1184
- t === void 0 && (t = null), e(this), this.message = "Timeout has occurred", this.name = "TimeoutError", this.info = t;
1185
- };
1186
- });
1187
- function ot(e, t) {
1188
- var n = it(e) ? { first: e } : typeof e == "number" ? { each: e } : e, r = n.first, i = n.each, a = n.with, o = a === void 0 ? st : a, s = n.scheduler, c = s === void 0 ? t ?? we : s, l = n.meta, u = l === void 0 ? null : l;
1189
- if (r == null && i == null) throw TypeError("No timeout provided.");
1190
- return A(function(e, t) {
1191
- var n, a, s = null, l = 0, d = function(e) {
1192
- a = I(t, c, function() {
1193
- try {
1194
- n.unsubscribe(), F(o({
1195
- meta: u,
1196
- lastValue: s,
1197
- seen: l
1198
- })).subscribe(t);
1199
- } catch (e) {
1200
- t.error(e);
1201
- }
1202
- }, e);
1203
- };
1204
- n = e.subscribe(j(t, function(e) {
1205
- a?.unsubscribe(), l++, t.next(s = e), i > 0 && d(i);
1206
- }, void 0, void 0, function() {
1207
- a?.closed || a?.unsubscribe(), s = null;
1208
- })), !l && d(r == null ? i : typeof r == "number" ? r : +r - c.now());
1209
- });
1210
- }
1211
- function st(e) {
1212
- throw new at(e);
1213
- }
1214
- //#endregion
1215
- //#region node_modules/rxjs/dist/esm5/internal/operators/map.js
1216
- function z(e, t) {
1217
- return A(function(n, r) {
1218
- var i = 0;
1219
- n.subscribe(j(r, function(n) {
1220
- r.next(e.call(t, n, i++));
1221
- }));
1222
- });
1223
- }
1224
- //#endregion
1225
- //#region node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js
1226
- var ct = Array.isArray;
1227
- function lt(e, t) {
1228
- return ct(t) ? e.apply(void 0, o([], a(t))) : e(t);
1229
- }
1230
- function ut(e) {
1231
- return z(function(t) {
1232
- return lt(e, t);
1209
+ //#region node_modules/rxjs/dist/esm5/internal/operators/catchError.js
1210
+ function dt(e) {
1211
+ return N(function(t, n) {
1212
+ var r = null, i = !1, a;
1213
+ r = t.subscribe(P(n, void 0, void 0, function(o) {
1214
+ a = M(e(o, dt(e)(t))), r ? (r.unsubscribe(), r = null, a.subscribe(n)) : i = !0;
1215
+ })), i && (r.unsubscribe(), r = null, a.subscribe(n));
1233
1216
  });
1234
1217
  }
1235
1218
  //#endregion
1236
- //#region node_modules/rxjs/dist/esm5/internal/operators/mergeInternals.js
1237
- function dt(e, t, n, r, i, a, o, s) {
1238
- var c = [], l = 0, u = 0, d = !1, f = function() {
1239
- d && !c.length && !l && t.complete();
1240
- }, p = function(e) {
1241
- return l < r ? m(e) : c.push(e);
1242
- }, m = function(e) {
1243
- a && t.next(e), l++;
1244
- var s = !1;
1245
- F(n(e, u++)).subscribe(j(t, function(e) {
1246
- i?.(e), a ? p(e) : t.next(e);
1247
- }, function() {
1248
- s = !0;
1249
- }, void 0, function() {
1250
- if (s) try {
1251
- l--;
1252
- for (var e = function() {
1253
- var e = c.shift();
1254
- o ? I(t, o, function() {
1255
- return m(e);
1256
- }) : m(e);
1257
- }; c.length && l < r;) e();
1258
- f();
1259
- } catch (e) {
1260
- t.error(e);
1261
- }
1262
- }));
1263
- };
1264
- return e.subscribe(j(t, p, function() {
1265
- d = !0, f();
1266
- })), function() {
1267
- s?.();
1268
- };
1269
- }
1270
- //#endregion
1271
- //#region node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js
1272
- function B(e, t, n) {
1273
- return n === void 0 && (n = Infinity), u(t) ? B(function(n, r) {
1274
- return z(function(e, i) {
1275
- return t(n, e, r, i);
1276
- })(F(e(n, r)));
1277
- }, n) : (typeof t == "number" && (n = t), A(function(t, r) {
1278
- return dt(t, r, e, n);
1279
- }));
1280
- }
1281
- //#endregion
1282
- //#region node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js
1219
+ //#region node_modules/rxjs/dist/esm5/internal/operators/finalize.js
1283
1220
  function ft(e) {
1284
- return e === void 0 && (e = Infinity), B(O, e);
1285
- }
1286
- //#endregion
1287
- //#region node_modules/rxjs/dist/esm5/internal/observable/defer.js
1288
- function pt(e) {
1289
- return new k(function(t) {
1290
- F(e()).subscribe(t);
1221
+ return N(function(t, n) {
1222
+ try {
1223
+ t.subscribe(n);
1224
+ } finally {
1225
+ n.add(e);
1226
+ }
1291
1227
  });
1292
1228
  }
1293
1229
  //#endregion
1294
- //#region node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js
1295
- var mt = ["addListener", "removeListener"], ht = ["addEventListener", "removeEventListener"], gt = ["on", "off"];
1296
- function V(e, t, n, r) {
1297
- if (u(n) && (r = n, n = void 0), r) return V(e, t, n).pipe(ut(r));
1298
- var i = a(bt(e) ? ht.map(function(r) {
1299
- return function(i) {
1300
- return e[r](t, i, n);
1301
- };
1302
- }) : vt(e) ? mt.map(_t(e, t)) : yt(e) ? gt.map(_t(e, t)) : [], 2), o = i[0], s = i[1];
1303
- if (!o && P(e)) return B(function(e) {
1304
- return V(e, t, n);
1305
- })(F(e));
1306
- if (!o) throw TypeError("Invalid event target");
1307
- return new k(function(e) {
1308
- var t = function() {
1309
- var t = [...arguments];
1310
- return e.next(1 < t.length ? t : t[0]);
1311
- };
1312
- return o(t), function() {
1313
- return s(t);
1314
- };
1315
- });
1316
- }
1317
- function _t(e, t) {
1318
- return function(n) {
1319
- return function(r) {
1320
- return e[n](t, r);
1321
- };
1322
- };
1323
- }
1324
- function vt(e) {
1325
- return u(e.addListener) && u(e.removeListener);
1326
- }
1230
+ //#region node_modules/rxjs/dist/esm5/internal/scheduler/Action.js
1231
+ var pt = function(e) {
1232
+ t(n, e);
1233
+ function n(t, n) {
1234
+ return e.call(this) || this;
1235
+ }
1236
+ return n.prototype.schedule = function(e, t) {
1237
+ return t === void 0 && (t = 0), this;
1238
+ }, n;
1239
+ }(m), V = {
1240
+ setInterval: function(e, t) {
1241
+ var n = [...arguments].slice(2), r = V.delegate;
1242
+ return r?.setInterval ? r.setInterval.apply(r, o([e, t], a(n))) : setInterval.apply(void 0, o([e, t], a(n)));
1243
+ },
1244
+ clearInterval: function(e) {
1245
+ return (V.delegate?.clearInterval || clearInterval)(e);
1246
+ },
1247
+ delegate: void 0
1248
+ }, mt = function(e) {
1249
+ t(n, e);
1250
+ function n(t, n) {
1251
+ var r = e.call(this, t, n) || this;
1252
+ return r.scheduler = t, r.work = n, r.pending = !1, r;
1253
+ }
1254
+ return n.prototype.schedule = function(e, t) {
1255
+ if (t === void 0 && (t = 0), this.closed) return this;
1256
+ this.state = e;
1257
+ var n = this.id, r = this.scheduler;
1258
+ return n != null && (this.id = this.recycleAsyncId(r, n, t)), this.pending = !0, this.delay = t, this.id = this.id ?? this.requestAsyncId(r, this.id, t), this;
1259
+ }, n.prototype.requestAsyncId = function(e, t, n) {
1260
+ return n === void 0 && (n = 0), V.setInterval(e.flush.bind(e, this), n);
1261
+ }, n.prototype.recycleAsyncId = function(e, t, n) {
1262
+ if (n === void 0 && (n = 0), n != null && this.delay === n && this.pending === !1) return t;
1263
+ t != null && V.clearInterval(t);
1264
+ }, n.prototype.execute = function(e, t) {
1265
+ if (this.closed) return /* @__PURE__ */ Error("executing a cancelled action");
1266
+ this.pending = !1;
1267
+ var n = this._execute(e, t);
1268
+ if (n) return n;
1269
+ this.pending === !1 && this.id != null && (this.id = this.recycleAsyncId(this.scheduler, this.id, null));
1270
+ }, n.prototype._execute = function(e, t) {
1271
+ var n = !1, r;
1272
+ try {
1273
+ this.work(e);
1274
+ } catch (e) {
1275
+ n = !0, r = e || /* @__PURE__ */ Error("Scheduled action threw falsy error");
1276
+ }
1277
+ if (n) return this.unsubscribe(), r;
1278
+ }, n.prototype.unsubscribe = function() {
1279
+ if (!this.closed) {
1280
+ var t = this, n = t.id, r = t.scheduler, i = r.actions;
1281
+ this.work = this.state = this.scheduler = null, this.pending = !1, p(i, this), n != null && (this.id = this.recycleAsyncId(r, n, null)), this.delay = null, e.prototype.unsubscribe.call(this);
1282
+ }
1283
+ }, n;
1284
+ }(pt), ht = {
1285
+ now: function() {
1286
+ return (ht.delegate || Date).now();
1287
+ },
1288
+ delegate: void 0
1289
+ }, gt = function() {
1290
+ function e(t, n) {
1291
+ n === void 0 && (n = e.now), this.schedulerActionCtor = t, this.now = n;
1292
+ }
1293
+ return e.prototype.schedule = function(e, t, n) {
1294
+ return t === void 0 && (t = 0), new this.schedulerActionCtor(this, e).schedule(n, t);
1295
+ }, e.now = ht.now, e;
1296
+ }(), _t = new (function(e) {
1297
+ t(n, e);
1298
+ function n(t, n) {
1299
+ n === void 0 && (n = gt.now);
1300
+ var r = e.call(this, t, n) || this;
1301
+ return r.actions = [], r._active = !1, r;
1302
+ }
1303
+ return n.prototype.flush = function(e) {
1304
+ var t = this.actions;
1305
+ if (this._active) {
1306
+ t.push(e);
1307
+ return;
1308
+ }
1309
+ var n;
1310
+ this._active = !0;
1311
+ do
1312
+ if (n = e.execute(e.state, e.delay)) break;
1313
+ while (e = t.shift());
1314
+ if (this._active = !1, n) {
1315
+ for (; e = t.shift();) e.unsubscribe();
1316
+ throw n;
1317
+ }
1318
+ }, n;
1319
+ }(gt))(mt), vt = _t;
1320
+ //#endregion
1321
+ //#region node_modules/rxjs/dist/esm5/internal/util/isDate.js
1327
1322
  function yt(e) {
1328
- return u(e.on) && u(e.off);
1329
- }
1330
- function bt(e) {
1331
- return u(e.addEventListener) && u(e.removeEventListener);
1323
+ return e instanceof Date && !isNaN(e);
1332
1324
  }
1333
1325
  //#endregion
1334
1326
  //#region node_modules/rxjs/dist/esm5/internal/observable/timer.js
1335
- function xt(e, t, n) {
1336
- e === void 0 && (e = 0), n === void 0 && (n = Te);
1327
+ function bt(e, t, n) {
1328
+ e === void 0 && (e = 0), n === void 0 && (n = vt);
1337
1329
  var r = -1;
1338
- return t != null && (De(t) ? n = t : r = t), new k(function(t) {
1339
- var i = it(e) ? +e - n.now() : e;
1330
+ return t != null && (Xe(t) ? n = t : r = t), new k(function(t) {
1331
+ var i = yt(e) ? +e - n.now() : e;
1340
1332
  i < 0 && (i = 0);
1341
1333
  var a = 0;
1342
1334
  return n.schedule(function() {
@@ -1345,102 +1337,14 @@ function xt(e, t, n) {
1345
1337
  });
1346
1338
  }
1347
1339
  //#endregion
1348
- //#region node_modules/rxjs/dist/esm5/internal/observable/merge.js
1349
- function St() {
1350
- var e = [...arguments], t = ke(e), n = Ae(e, Infinity), r = e;
1351
- return r.length ? r.length === 1 ? F(r[0]) : ft(n)(nt(r, t)) : Ee;
1352
- }
1353
- //#endregion
1354
- //#region node_modules/rxjs/dist/esm5/internal/operators/filter.js
1355
- function Ct(e, t) {
1356
- return A(function(n, r) {
1357
- var i = 0;
1358
- n.subscribe(j(r, function(n) {
1359
- return e.call(t, n, i++) && r.next(n);
1360
- }));
1361
- });
1362
- }
1363
- //#endregion
1364
- //#region node_modules/rxjs/dist/esm5/internal/operators/catchError.js
1365
- function wt(e) {
1366
- return A(function(t, n) {
1367
- var r = null, i = !1, a;
1368
- r = t.subscribe(j(n, void 0, void 0, function(o) {
1369
- a = F(e(o, wt(e)(t))), r ? (r.unsubscribe(), r = null, a.subscribe(n)) : i = !0;
1370
- })), i && (r.unsubscribe(), r = null, a.subscribe(n));
1371
- });
1372
- }
1373
- //#endregion
1374
- //#region node_modules/rxjs/dist/esm5/internal/operators/defaultIfEmpty.js
1375
- function Tt(e) {
1376
- return A(function(t, n) {
1377
- var r = !1;
1378
- t.subscribe(j(n, function(e) {
1379
- r = !0, n.next(e);
1380
- }, function() {
1381
- r || n.next(e), n.complete();
1382
- }));
1383
- });
1384
- }
1385
- //#endregion
1386
- //#region node_modules/rxjs/dist/esm5/internal/operators/take.js
1387
- function Et(e) {
1388
- return e <= 0 ? function() {
1389
- return Ee;
1390
- } : A(function(t, n) {
1391
- var r = 0;
1392
- t.subscribe(j(n, function(t) {
1393
- ++r <= e && (n.next(t), e <= r && n.complete());
1394
- }));
1395
- });
1396
- }
1397
- //#endregion
1398
- //#region node_modules/rxjs/dist/esm5/internal/operators/throwIfEmpty.js
1399
- function Dt(e) {
1400
- return e === void 0 && (e = Ot), A(function(t, n) {
1401
- var r = !1;
1402
- t.subscribe(j(n, function(e) {
1403
- r = !0, n.next(e);
1404
- }, function() {
1405
- return r ? n.complete() : n.error(e());
1406
- }));
1407
- });
1408
- }
1409
- function Ot() {
1410
- return new rt();
1411
- }
1412
- //#endregion
1413
- //#region node_modules/rxjs/dist/esm5/internal/operators/finalize.js
1414
- function kt(e) {
1415
- return A(function(t, n) {
1416
- try {
1417
- t.subscribe(n);
1418
- } finally {
1419
- n.add(e);
1420
- }
1421
- });
1422
- }
1423
- //#endregion
1424
- //#region node_modules/rxjs/dist/esm5/internal/operators/first.js
1425
- function H(e, t) {
1426
- var n = arguments.length >= 2;
1427
- return function(r) {
1428
- return r.pipe(e ? Ct(function(t, n) {
1429
- return e(t, n, r);
1430
- }) : O, Et(1), n ? Tt(t) : Dt(function() {
1431
- return new rt();
1432
- }));
1433
- };
1434
- }
1435
- //#endregion
1436
1340
  //#region node_modules/rxjs/dist/esm5/internal/operators/retry.js
1437
- function At(e) {
1341
+ function xt(e) {
1438
1342
  e === void 0 && (e = Infinity);
1439
1343
  var t = e && typeof e == "object" ? e : { count: e }, n = t.count, r = n === void 0 ? Infinity : n, i = t.delay, a = t.resetOnSuccess, o = a === void 0 ? !1 : a;
1440
- return r <= 0 ? O : A(function(e, t) {
1344
+ return r <= 0 ? O : N(function(e, t) {
1441
1345
  var n = 0, a, s = function() {
1442
1346
  var c = !1;
1443
- a = e.subscribe(j(t, function(e) {
1347
+ a = e.subscribe(P(t, function(e) {
1444
1348
  o && (n = 0), t.next(e);
1445
1349
  }, void 0, function(e) {
1446
1350
  if (n++ < r) {
@@ -1448,7 +1352,7 @@ function At(e) {
1448
1352
  a ? (a.unsubscribe(), a = null, s()) : c = !0;
1449
1353
  };
1450
1354
  if (i != null) {
1451
- var l = typeof i == "number" ? xt(i) : F(i(e, n)), u = j(t, function() {
1355
+ var l = typeof i == "number" ? bt(i) : M(i(e, n)), u = P(t, function() {
1452
1356
  u.unsubscribe(), o();
1453
1357
  }, function() {
1454
1358
  t.complete();
@@ -1463,15 +1367,15 @@ function At(e) {
1463
1367
  }
1464
1368
  //#endregion
1465
1369
  //#region node_modules/rxjs/dist/esm5/internal/operators/switchMap.js
1466
- function U(e, t) {
1467
- return A(function(n, r) {
1370
+ function H(e, t) {
1371
+ return N(function(n, r) {
1468
1372
  var i = null, a = 0, o = !1, s = function() {
1469
1373
  return o && !i && r.complete();
1470
1374
  };
1471
- n.subscribe(j(r, function(n) {
1375
+ n.subscribe(P(r, function(n) {
1472
1376
  i?.unsubscribe();
1473
1377
  var o = 0, c = a++;
1474
- F(e(n, c)).subscribe(i = j(r, function(e) {
1378
+ M(e(n, c)).subscribe(i = P(r, function(e) {
1475
1379
  return r.next(t ? t(n, e, c, o++) : e);
1476
1380
  }, function() {
1477
1381
  i = null, s();
@@ -1482,6 +1386,74 @@ function U(e, t) {
1482
1386
  });
1483
1387
  }
1484
1388
  //#endregion
1389
+ //#region node_modules/rxjs/dist/esm5/internal/operators/take.js
1390
+ function St(e) {
1391
+ return e <= 0 ? function() {
1392
+ return Ye;
1393
+ } : N(function(t, n) {
1394
+ var r = 0;
1395
+ t.subscribe(P(n, function(t) {
1396
+ ++r <= e && (n.next(t), e <= r && n.complete());
1397
+ }));
1398
+ });
1399
+ }
1400
+ //#endregion
1401
+ //#region node_modules/rxjs/dist/esm5/internal/operators/filter.js
1402
+ function Ct(e, t) {
1403
+ return N(function(n, r) {
1404
+ var i = 0;
1405
+ n.subscribe(P(r, function(n) {
1406
+ return e.call(t, n, i++) && r.next(n);
1407
+ }));
1408
+ });
1409
+ }
1410
+ //#endregion
1411
+ //#region node_modules/rxjs/dist/esm5/internal/util/EmptyError.js
1412
+ var wt = d(function(e) {
1413
+ return function() {
1414
+ e(this), this.name = "EmptyError", this.message = "no elements in sequence";
1415
+ };
1416
+ });
1417
+ //#endregion
1418
+ //#region node_modules/rxjs/dist/esm5/internal/operators/defaultIfEmpty.js
1419
+ function Tt(e) {
1420
+ return N(function(t, n) {
1421
+ var r = !1;
1422
+ t.subscribe(P(n, function(e) {
1423
+ r = !0, n.next(e);
1424
+ }, function() {
1425
+ r || n.next(e), n.complete();
1426
+ }));
1427
+ });
1428
+ }
1429
+ //#endregion
1430
+ //#region node_modules/rxjs/dist/esm5/internal/operators/throwIfEmpty.js
1431
+ function Et(e) {
1432
+ return e === void 0 && (e = Dt), N(function(t, n) {
1433
+ var r = !1;
1434
+ t.subscribe(P(n, function(e) {
1435
+ r = !0, n.next(e);
1436
+ }, function() {
1437
+ return r ? n.complete() : n.error(e());
1438
+ }));
1439
+ });
1440
+ }
1441
+ function Dt() {
1442
+ return new wt();
1443
+ }
1444
+ //#endregion
1445
+ //#region node_modules/rxjs/dist/esm5/internal/operators/first.js
1446
+ function U(e, t) {
1447
+ var n = arguments.length >= 2;
1448
+ return function(r) {
1449
+ return r.pipe(e ? Ct(function(t, n) {
1450
+ return e(t, n, r);
1451
+ }) : O, St(1), n ? Tt(t) : Et(function() {
1452
+ return new wt();
1453
+ }));
1454
+ };
1455
+ }
1456
+ //#endregion
1485
1457
  //#region node_modules/rxjs/dist/esm5/internal/operators/tap.js
1486
1458
  function W(e, t, n) {
1487
1459
  var r = u(e) || t || n ? {
@@ -1489,11 +1461,11 @@ function W(e, t, n) {
1489
1461
  error: t,
1490
1462
  complete: n
1491
1463
  } : e;
1492
- return r ? A(function(e, t) {
1464
+ return r ? N(function(e, t) {
1493
1465
  var n;
1494
1466
  (n = r.subscribe) == null || n.call(r);
1495
1467
  var i = !0;
1496
- e.subscribe(j(t, function(e) {
1468
+ e.subscribe(P(t, function(e) {
1497
1469
  var n;
1498
1470
  (n = r.next) == null || n.call(r, e), t.next(e);
1499
1471
  }, function() {
@@ -1509,6 +1481,40 @@ function W(e, t, n) {
1509
1481
  }) : O;
1510
1482
  }
1511
1483
  //#endregion
1484
+ //#region node_modules/rxjs/dist/esm5/internal/operators/timeout.js
1485
+ var Ot = d(function(e) {
1486
+ return function(t) {
1487
+ t === void 0 && (t = null), e(this), this.message = "Timeout has occurred", this.name = "TimeoutError", this.info = t;
1488
+ };
1489
+ });
1490
+ function kt(e, t) {
1491
+ var n = yt(e) ? { first: e } : typeof e == "number" ? { each: e } : e, r = n.first, i = n.each, a = n.with, o = a === void 0 ? At : a, s = n.scheduler, c = s === void 0 ? t ?? _t : s, l = n.meta, u = l === void 0 ? null : l;
1492
+ if (r == null && i == null) throw TypeError("No timeout provided.");
1493
+ return N(function(e, t) {
1494
+ var n, a, s = null, l = 0, d = function(e) {
1495
+ a = I(t, c, function() {
1496
+ try {
1497
+ n.unsubscribe(), M(o({
1498
+ meta: u,
1499
+ lastValue: s,
1500
+ seen: l
1501
+ })).subscribe(t);
1502
+ } catch (e) {
1503
+ t.error(e);
1504
+ }
1505
+ }, e);
1506
+ };
1507
+ n = e.subscribe(P(t, function(e) {
1508
+ a?.unsubscribe(), l++, t.next(s = e), i > 0 && d(i);
1509
+ }, void 0, void 0, function() {
1510
+ a?.closed || a?.unsubscribe(), s = null;
1511
+ })), !l && d(r == null ? i : typeof r == "number" ? r : +r - c.now());
1512
+ });
1513
+ }
1514
+ function At(e) {
1515
+ throw new Ot(e);
1516
+ }
1517
+ //#endregion
1512
1518
  //#region src/shared/enums/LoggingLevel.enum.ts
1513
1519
  var G = /* @__PURE__ */ function(e) {
1514
1520
  return e.ERROR = "ERROR", e.ALL = "ALL", e;
@@ -1522,23 +1528,23 @@ var G = /* @__PURE__ */ function(e) {
1522
1528
  }
1523
1529
  init$(e) {
1524
1530
  try {
1525
- return this.loggerService.init(e.loggingLevel || G.ERROR), this.configService.setConfig(e), this.sessionIdService.createId(), this.configService.getConfig$().pipe(H());
1531
+ return this.loggerService.init(e.loggingLevel || G.ERROR), this.configService.setConfig(e), this.sessionIdService.createId(), this.configService.getConfig$().pipe(U());
1526
1532
  } catch (e) {
1527
- return this.loggerService.error(e), R(this.loggerService.getErrorMessage(`Initialization failed\n\n${JSON.stringify(e)}`));
1533
+ return this.loggerService.error(e), B(this.loggerService.getErrorMessage(`Initialization failed\n\n${JSON.stringify(e)}`));
1528
1534
  }
1529
1535
  }
1530
1536
  run3DSMethod$(e, t, n) {
1531
1537
  try {
1532
- return this.methodURLService.run$(e, t, n).pipe(H());
1538
+ return this.methodURLService.run$(e, t, n).pipe(U());
1533
1539
  } catch (e) {
1534
- return this.loggerService.error(e), R(this.loggerService.getErrorMessage(`3DS Method failed\n\n${JSON.stringify(e)}`));
1540
+ return this.loggerService.error(e), B(this.loggerService.getErrorMessage(`3DS Method failed\n\n${JSON.stringify(e)}`));
1535
1541
  }
1536
1542
  }
1537
1543
  doChallenge$(e, t, n, r, i, a) {
1538
1544
  try {
1539
- return this.challengeService.run$(e, t, n, r, i, a).pipe(H());
1545
+ return this.challengeService.run$(e, t, n, r, i, a).pipe(U());
1540
1546
  } catch (e) {
1541
- return this.loggerService.error(e), R(this.loggerService.getErrorMessage(`3DS Challenge failed\n\n${JSON.stringify(e)}`));
1547
+ return this.loggerService.error(e), B(this.loggerService.getErrorMessage(`3DS Challenge failed\n\n${JSON.stringify(e)}`));
1542
1548
  }
1543
1549
  }
1544
1550
  getBrowserData$(e, t) {
@@ -1573,7 +1579,7 @@ var G = /* @__PURE__ */ function(e) {
1573
1579
  return e.ERROR = "error", e.WARNING = "warning", e.DEBUG = "debug", e;
1574
1580
  }({}), Mt = class {
1575
1581
  constructor() {
1576
- this.logsSubject$ = new M(), this.loggingLevel = G.ERROR, this.logs$ = this.logsSubject$.asObservable();
1582
+ this.logsSubject$ = new A(), this.loggingLevel = G.ERROR, this.logs$ = this.logsSubject$.asObservable();
1577
1583
  }
1578
1584
  init(e) {
1579
1585
  this.loggingLevel = e, this.logsSubject$.subscribe((e) => this.logToConsole(e));
@@ -1621,7 +1627,7 @@ var G = /* @__PURE__ */ function(e) {
1621
1627
  return e.POPUP = "POPUP", e.INLINE = "INLINE", e;
1622
1628
  }({}), Nt = class {
1623
1629
  constructor(e) {
1624
- this.domMethodsService = e, this.translationsWhitelist = ["cancel"], this.config$ = new ye({
1630
+ this.domMethodsService = e, this.translationsWhitelist = ["cancel"], this.config$ = new _e({
1625
1631
  challengeDisplayMode: Y.POPUP,
1626
1632
  loggingLevel: G.ERROR,
1627
1633
  translations: { cancel: "X" },
@@ -1701,7 +1707,7 @@ var G = /* @__PURE__ */ function(e) {
1701
1707
  }
1702
1708
  getData$(e, t) {
1703
1709
  let n = this.getBrowserGeneralDataObject(t);
1704
- return t && !t.isRequiredBrowserIP && !t.isRequiredBrowserAcceptHeader ? L(n) : this.getAcceptHeaderAndIPAddress$(e).pipe(z((e) => {
1710
+ return t && !t.isRequiredBrowserIP && !t.isRequiredBrowserAcceptHeader ? z(n) : this.getAcceptHeaderAndIPAddress$(e).pipe(F((e) => {
1705
1711
  let r = { ...n };
1706
1712
  return t ? (t.isRequiredBrowserAcceptHeader && (r.browserAcceptHeader = e.browserAcceptHeader), t.isRequiredBrowserIP && (r.browserIP = e.browserIP)) : (r.browserAcceptHeader = e.browserAcceptHeader, r.browserIP = e.browserIP), r;
1707
1713
  }));
@@ -1743,10 +1749,10 @@ var G = /* @__PURE__ */ function(e) {
1743
1749
  }
1744
1750
  getAcceptHeaderAndIPAddress$(e) {
1745
1751
  let t = typeof e == "string" ? e : e[0];
1746
- return pt(() => L(this.createIframeForAcceptHeaderAndIPAddress(t))).pipe(U(() => this.interFrameCommunicatorService.receive$(X.BROWSER_DATA_RESPONSE).pipe(Et(1))), W((e) => this.loggerService.debug(`Received raw browser data from iframe: ${e}`)), z((e) => this.base64TranscoderService.decode(e)), z((e) => ({
1752
+ return Pe(() => z(this.createIframeForAcceptHeaderAndIPAddress(t))).pipe(H(() => this.interFrameCommunicatorService.receive$(X.BROWSER_DATA_RESPONSE).pipe(St(1))), W((e) => this.loggerService.debug(`Received raw browser data from iframe: ${e}`)), F((e) => this.base64TranscoderService.decode(e)), F((e) => ({
1747
1753
  browserAcceptHeader: e.acceptHeader,
1748
1754
  browserIP: e.userIP
1749
- })), W((e) => this.loggerService.debug(`Collected browser data: ${JSON.stringify(e)}`)), kt(() => this.destroyView()), ot(this.browserDataTimeout), At(2), wt((e) => (this.loggerService.error("Cannot retrieve user IP and accept header. Using fallback values instead."), this.loggerService.error(e), L({
1755
+ })), W((e) => this.loggerService.debug(`Collected browser data: ${JSON.stringify(e)}`)), ft(() => this.destroyView()), kt(this.browserDataTimeout), xt(2), dt((e) => (this.loggerService.error("Cannot retrieve user IP and accept header. Using fallback values instead."), this.loggerService.error(e), z({
1750
1756
  browserAcceptHeader: this.fallbackAcceptHeaderValue,
1751
1757
  browserIP: ""
1752
1758
  }))));
@@ -1798,10 +1804,10 @@ var G = /* @__PURE__ */ function(e) {
1798
1804
  this.configService = e, this.challengeV1Service = t, this.challengeV2Service = n, this.challengeCommonService = r;
1799
1805
  }
1800
1806
  run$(e, t, n, r, i, a) {
1801
- return this.configService.getConfig$().pipe(U((o) => e.isLowerThan(Z.V2) ? this.challengeV1Service.run$(o, t, n, i, a, r) : this.challengeV2Service.run$(o, t, n, r)));
1807
+ return this.configService.getConfig$().pipe(H((o) => e.isLowerThan(Z.V2) ? this.challengeV1Service.run$(o, t, n, i, a, r) : this.challengeV2Service.run$(o, t, n, r)));
1802
1808
  }
1803
1809
  cancelChallenge$() {
1804
- return this.configService.getConfig$().pipe(W((e) => this.challengeCommonService.cancelChallenge(e)), U((e) => this.challengeCommonService.handleCancelEvent$(e)));
1810
+ return this.configService.getConfig$().pipe(W((e) => this.challengeCommonService.cancelChallenge(e)), H((e) => this.challengeCommonService.handleCancelEvent$(e)));
1805
1811
  }
1806
1812
  }, Q = /* @__PURE__ */ function(e) {
1807
1813
  return e.SUCCESS = "SUCCESS", e.FAILURE = "FAILURE", e.ERROR = "ERROR", e.NOACTION = "NOACTION", e.CANCELLED = "CANCELLED", e.COMPLETED = "COMPLETED", e.UNCOMPLETED = "UNCOMPLETED", e;
@@ -1813,9 +1819,9 @@ var G = /* @__PURE__ */ function(e) {
1813
1819
  if (typeof e != "string" || e.length === 0) throw new q("run3DSMethod$() requires transactionId");
1814
1820
  if (typeof t != "string" || t.length === 0) throw new q("run3DSMethod$() requires notificationURL");
1815
1821
  if (typeof n != "string" || n.length === 0) throw new q("run3DSMethod$() requires methodURL");
1816
- return this.domMethodsService.addToElement(this.createIframeForMethodURL(n, e, t), this.domMethodsService.getElement("body")), this.configService.getConfig$().pipe(U((t) => this.interFrameCommunicatorService.receive$(X.METHOD_URL_RESPONSE).pipe(z((e) => this.mapStatus(this.base64TranscoderService.decode(e))), ot({
1822
+ return this.domMethodsService.addToElement(this.createIframeForMethodURL(n, e, t), this.domMethodsService.getElement("body")), this.configService.getConfig$().pipe(H((t) => this.interFrameCommunicatorService.receive$(X.METHOD_URL_RESPONSE).pipe(F((e) => this.mapStatus(this.base64TranscoderService.decode(e))), kt({
1817
1823
  first: t.threeDSMethodTimeout,
1818
- with: () => L(this.getUncompletedResult(e))
1824
+ with: () => z(this.getUncompletedResult(e))
1819
1825
  }), W(() => {
1820
1826
  this.destroyView();
1821
1827
  }))));
@@ -1867,7 +1873,7 @@ var G = /* @__PURE__ */ function(e) {
1867
1873
  }, this.processingScreenWrapperElement = this.domMethodsService.createElement("div"), this.domMethodsService.addClassesToElement(this.processingScreenWrapperElement, [this.classNames.overlay, this.classNames.screenWrapper]), this.loaderElement = this.domMethodsService.createElement("div"), this.domMethodsService.addClassesToElement(this.loaderElement, [this.classNames.loader]);
1868
1874
  }
1869
1875
  show(e) {
1870
- this.configService.getConfig$().pipe(H()).subscribe((t) => {
1876
+ this.configService.getConfig$().pipe(U()).subscribe((t) => {
1871
1877
  if (t.processingScreenMode === J.OVERLAY) this.connectTo(this.document.body, e, J.OVERLAY);
1872
1878
  else {
1873
1879
  let n = this.domMethodsService.getElement(`#${t.processingScreenWrapperElementId}`);
@@ -1876,7 +1882,7 @@ var G = /* @__PURE__ */ function(e) {
1876
1882
  });
1877
1883
  }
1878
1884
  hide() {
1879
- this.configService.getConfig$().pipe(H()).subscribe((e) => {
1885
+ this.configService.getConfig$().pipe(U()).subscribe((e) => {
1880
1886
  if (e.processingScreenMode === J.OVERLAY) this.disconnectFrom(this.document.body);
1881
1887
  else {
1882
1888
  let t = this.domMethodsService.getElement(`#${e.processingScreenWrapperElementId}`);
@@ -1989,7 +1995,7 @@ var G = /* @__PURE__ */ function(e) {
1989
1995
  this.window = e;
1990
1996
  }
1991
1997
  receive$(e) {
1992
- return V(this.window, "message").pipe(Ct((t) => t.data && t.data.type === e), z((e) => e.data.data));
1998
+ return R(this.window, "message").pipe(Ct((t) => t.data && t.data.type === e), F((e) => e.data.data));
1993
1999
  }
1994
2000
  }, Gt = "\n.tp-3ds-processing-screen {\n position: relative;\n height: 100%;\n}\n\n.tp-3ds-processing-screen-wrapper {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 50;\n}\n\n.tp-3ds-processing-screen-loader {\n box-sizing: border-box;\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 40px;\n height: 40px;\n margin-top: 30px;\n border: 4px solid #e61c5b;\n border-radius: 32px;\n animation: tp-3ds-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) 0.15s infinite;\n border-color: #e61c5b transparent;\n will-change: animation;\n transform: translate(-50%) rotate(0deg);\n}\n\n.tp-3ds-processing-screen-logo {\n position: absolute;\n top: 50%;\n left: 50%;\n user-select: none;\n}\n\n.tp-3ds-processing-screen-wrapper-visa .tp-3ds-processing-screen-logo {\n margin: -100px 0 0 -56px;\n}\n\n.tp-3ds-processing-screen-wrapper-mastercard .tp-3ds-processing-screen-logo {\n margin: -123px 0 0 -79px;\n}\n\n@keyframes tp-3ds-spin {\n from {\n transform: translate(-50%) rotate(0deg);\n }\n to {\n transform: translate(-50%) rotate(360deg);\n }\n}\n", Kt = class {
1995
2001
  constructor(e) {
@@ -2055,7 +2061,7 @@ var G = /* @__PURE__ */ function(e) {
2055
2061
  }
2056
2062
  }, qt = class {
2057
2063
  constructor(e, t) {
2058
- this.domMethodsService = e, this.document = t, this.cancelEmitter$ = new M(), this.classNames = {
2064
+ this.domMethodsService = e, this.document = t, this.cancelEmitter$ = new A(), this.classNames = {
2059
2065
  mainContainer: "tp-3ds-popup-view",
2060
2066
  wrapper: "tp-3ds-popup-view-wrapper",
2061
2067
  overlay: "tp-3ds-overlay",
@@ -2100,7 +2106,7 @@ var G = /* @__PURE__ */ function(e) {
2100
2106
  }
2101
2107
  }, Jt = class {
2102
2108
  constructor(e) {
2103
- this.domMethodsService = e, this.cancelState$ = new M(), this.classNames = {
2109
+ this.domMethodsService = e, this.cancelState$ = new A(), this.classNames = {
2104
2110
  mainContainer: "tp-3ds-inline-view",
2105
2111
  wrapper: "tp-3ds-inline-view-wrapper",
2106
2112
  header: "tp-3ds-inline-view-header",
@@ -2148,7 +2154,7 @@ var G = /* @__PURE__ */ function(e) {
2148
2154
  description: "Challenge cancelled",
2149
2155
  transactionId: t
2150
2156
  };
2151
- return e.challengeDisplayMode === Y.POPUP ? this.popupViewService.cancelled$().pipe(z(() => n)) : this.inlineViewService.cancelled$().pipe(z(() => n));
2157
+ return e.challengeDisplayMode === Y.POPUP ? this.popupViewService.cancelled$().pipe(F(() => n)) : this.inlineViewService.cancelled$().pipe(F(() => n));
2152
2158
  }
2153
2159
  getChallengeWindowSize() {
2154
2160
  let e = this.window.innerWidth;
@@ -2180,11 +2186,11 @@ var G = /* @__PURE__ */ function(e) {
2180
2186
  this.challengeCommonService = e, this.interFrameCommunicatorService = t, this.iframeCreatorService = n;
2181
2187
  }
2182
2188
  run$(e, t, n, r, i, a) {
2183
- return this.validate(t, n, r, i), St(this.open$(e, t, n, r, i, a), this.challengeCommonService.handleCancelEvent$(e)).pipe(H());
2189
+ return this.validate(t, n, r, i), ut(this.open$(e, t, n, r, i, a), this.challengeCommonService.handleCancelEvent$(e)).pipe(U());
2184
2190
  }
2185
2191
  open$(e, t, n, r, i, a) {
2186
2192
  let o = this.createIframe(t, n, r, i, a);
2187
- return this.challengeCommonService.initView(e, o), this.interFrameCommunicatorService.receive$(X.CHALLENGE_RESPONSE).pipe(z((e) => this.mapStatus(e)), W(() => {
2193
+ return this.challengeCommonService.initView(e, o), this.interFrameCommunicatorService.receive$(X.CHALLENGE_RESPONSE).pipe(F((e) => this.mapStatus(e)), W(() => {
2188
2194
  this.challengeCommonService.closeChallengeWindow(e);
2189
2195
  }));
2190
2196
  }
@@ -2246,11 +2252,11 @@ var G = /* @__PURE__ */ function(e) {
2246
2252
  }
2247
2253
  run$(e, t, n, r) {
2248
2254
  let i = this.base64TranscoderService.decode(t);
2249
- return this.challengeCommonService.validate(n), this.validateCReq(i), St(this.open$(e, t, n, r), this.challengeCommonService.handleCancelEvent$(e, i.threeDSServerTransID)).pipe(H());
2255
+ return this.challengeCommonService.validate(n), this.validateCReq(i), ut(this.open$(e, t, n, r), this.challengeCommonService.handleCancelEvent$(e, i.threeDSServerTransID)).pipe(U());
2250
2256
  }
2251
2257
  open$(e, t, n, r) {
2252
2258
  let i = this.createIframe(t, n, r);
2253
- return this.challengeCommonService.initView(e, i), this.interFrameCommunicatorService.receive$(X.CHALLENGE_RESPONSE).pipe(z((e) => this.mapStatus(this.base64TranscoderService.decode(e))), W(() => {
2259
+ return this.challengeCommonService.initView(e, i), this.interFrameCommunicatorService.receive$(X.CHALLENGE_RESPONSE).pipe(F((e) => this.mapStatus(this.base64TranscoderService.decode(e))), W(() => {
2254
2260
  this.challengeCommonService.closeChallengeWindow(e);
2255
2261
  }));
2256
2262
  }