@rainte/ant 0.0.38 → 0.0.40
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.
|
@@ -4,7 +4,7 @@ var Oe = (r, e, t) => Kh(r, typeof e != "symbol" ? e + "" : e, t);
|
|
|
4
4
|
import Tr, { useRef as Hh, useEffect as zh } from "react";
|
|
5
5
|
import { ProConfigProvider as Vh, BetaSchemaForm as Wh, ProTable as Yh } from "@ant-design/pro-components";
|
|
6
6
|
import { Upload as Gh, Button as Jh, Form as jc, Space as Ic, Layout as Xi, Typography as Zh, Menu as Xh } from "antd";
|
|
7
|
-
import { useNavigate as Qh,
|
|
7
|
+
import { useNavigate as Qh, useLocation as ed, Outlet as td } from "react-router-dom";
|
|
8
8
|
var Kr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
9
9
|
function $c(r) {
|
|
10
10
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
@@ -20,7 +20,7 @@ var Ds = { exports: {} }, Qi = {};
|
|
|
20
20
|
* LICENSE file in the root directory of this source tree.
|
|
21
21
|
*/
|
|
22
22
|
var Pl;
|
|
23
|
-
function
|
|
23
|
+
function nd() {
|
|
24
24
|
if (Pl) return Qi;
|
|
25
25
|
Pl = 1;
|
|
26
26
|
var r = Tr, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -34,7 +34,7 @@ function td() {
|
|
|
34
34
|
return Qi.Fragment = t, Qi.jsx = a, Qi.jsxs = a, Qi;
|
|
35
35
|
}
|
|
36
36
|
var es = {}, ql;
|
|
37
|
-
function
|
|
37
|
+
function rd() {
|
|
38
38
|
if (ql) return es;
|
|
39
39
|
ql = 1;
|
|
40
40
|
var r = {};
|
|
@@ -636,30 +636,30 @@ React keys must be passed directly to JSX without using spread:
|
|
|
636
636
|
}(), es;
|
|
637
637
|
}
|
|
638
638
|
var jl;
|
|
639
|
-
function
|
|
639
|
+
function id() {
|
|
640
640
|
if (jl) return Ds.exports;
|
|
641
641
|
jl = 1;
|
|
642
642
|
var r = {};
|
|
643
|
-
return r.NODE_ENV === "production" ? Ds.exports =
|
|
643
|
+
return r.NODE_ENV === "production" ? Ds.exports = nd() : Ds.exports = rd(), Ds.exports;
|
|
644
644
|
}
|
|
645
|
-
var mt =
|
|
646
|
-
function
|
|
647
|
-
var e =
|
|
645
|
+
var mt = id(), Dc = typeof global == "object" && global && global.Object === Object && global, sd = typeof self == "object" && self && self.Object === Object && self, br = Dc || sd || Function("return this")(), Wr = br.Symbol, Mc = Object.prototype, od = Mc.hasOwnProperty, ad = Mc.toString, ts = Wr ? Wr.toStringTag : void 0;
|
|
646
|
+
function ld(r) {
|
|
647
|
+
var e = od.call(r, ts), t = r[ts];
|
|
648
648
|
try {
|
|
649
649
|
r[ts] = void 0;
|
|
650
650
|
var n = !0;
|
|
651
651
|
} catch {
|
|
652
652
|
}
|
|
653
|
-
var i =
|
|
653
|
+
var i = ad.call(r);
|
|
654
654
|
return n && (e ? r[ts] = t : delete r[ts]), i;
|
|
655
655
|
}
|
|
656
|
-
var
|
|
657
|
-
function
|
|
658
|
-
return
|
|
656
|
+
var ud = Object.prototype, cd = ud.toString;
|
|
657
|
+
function fd(r) {
|
|
658
|
+
return cd.call(r);
|
|
659
659
|
}
|
|
660
|
-
var
|
|
660
|
+
var hd = "[object Null]", dd = "[object Undefined]", Il = Wr ? Wr.toStringTag : void 0;
|
|
661
661
|
function zi(r) {
|
|
662
|
-
return r == null ? r === void 0 ?
|
|
662
|
+
return r == null ? r === void 0 ? dd : hd : Il && Il in Object(r) ? ld(r) : fd(r);
|
|
663
663
|
}
|
|
664
664
|
function _r(r) {
|
|
665
665
|
return r != null && typeof r == "object";
|
|
@@ -672,25 +672,25 @@ function Gr(r) {
|
|
|
672
672
|
function Bc(r) {
|
|
673
673
|
return r;
|
|
674
674
|
}
|
|
675
|
-
var
|
|
675
|
+
var pd = "[object AsyncFunction]", gd = "[object Function]", md = "[object GeneratorFunction]", yd = "[object Proxy]";
|
|
676
676
|
function Xa(r) {
|
|
677
677
|
if (!Gr(r))
|
|
678
678
|
return !1;
|
|
679
679
|
var e = zi(r);
|
|
680
|
-
return e ==
|
|
680
|
+
return e == gd || e == md || e == pd || e == yd;
|
|
681
681
|
}
|
|
682
682
|
var Wo = br["__core-js_shared__"], $l = function() {
|
|
683
683
|
var r = /[^.]+$/.exec(Wo && Wo.keys && Wo.keys.IE_PROTO || "");
|
|
684
684
|
return r ? "Symbol(src)_1." + r : "";
|
|
685
685
|
}();
|
|
686
|
-
function
|
|
686
|
+
function bd(r) {
|
|
687
687
|
return !!$l && $l in r;
|
|
688
688
|
}
|
|
689
|
-
var
|
|
689
|
+
var vd = Function.prototype, wd = vd.toString;
|
|
690
690
|
function hi(r) {
|
|
691
691
|
if (r != null) {
|
|
692
692
|
try {
|
|
693
|
-
return
|
|
693
|
+
return wd.call(r);
|
|
694
694
|
} catch {
|
|
695
695
|
}
|
|
696
696
|
try {
|
|
@@ -700,23 +700,23 @@ function hi(r) {
|
|
|
700
700
|
}
|
|
701
701
|
return "";
|
|
702
702
|
}
|
|
703
|
-
var
|
|
704
|
-
"^" +
|
|
703
|
+
var xd = /[\\^$.*+?()[\]{}|]/g, Ed = /^\[object .+?Constructor\]$/, Sd = Function.prototype, Od = Object.prototype, Ad = Sd.toString, Td = Od.hasOwnProperty, _d = RegExp(
|
|
704
|
+
"^" + Ad.call(Td).replace(xd, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
705
705
|
);
|
|
706
|
-
function
|
|
707
|
-
if (!Gr(r) ||
|
|
706
|
+
function Nd(r) {
|
|
707
|
+
if (!Gr(r) || bd(r))
|
|
708
708
|
return !1;
|
|
709
|
-
var e = Xa(r) ?
|
|
709
|
+
var e = Xa(r) ? _d : Ed;
|
|
710
710
|
return e.test(hi(r));
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function Cd(r, e) {
|
|
713
713
|
return r == null ? void 0 : r[e];
|
|
714
714
|
}
|
|
715
715
|
function di(r, e) {
|
|
716
|
-
var t =
|
|
717
|
-
return
|
|
716
|
+
var t = Cd(r, e);
|
|
717
|
+
return Nd(t) ? t : void 0;
|
|
718
718
|
}
|
|
719
|
-
var da = di(br, "WeakMap"), Dl = Object.create,
|
|
719
|
+
var da = di(br, "WeakMap"), Dl = Object.create, Ld = /* @__PURE__ */ function() {
|
|
720
720
|
function r() {
|
|
721
721
|
}
|
|
722
722
|
return function(e) {
|
|
@@ -729,7 +729,7 @@ var da = di(br, "WeakMap"), Dl = Object.create, Cd = /* @__PURE__ */ function()
|
|
|
729
729
|
return r.prototype = void 0, t;
|
|
730
730
|
};
|
|
731
731
|
}();
|
|
732
|
-
function
|
|
732
|
+
function Rd(r, e, t) {
|
|
733
733
|
switch (t.length) {
|
|
734
734
|
case 0:
|
|
735
735
|
return r.call(e);
|
|
@@ -742,26 +742,26 @@ function Ld(r, e, t) {
|
|
|
742
742
|
}
|
|
743
743
|
return r.apply(e, t);
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function kd(r, e) {
|
|
746
746
|
var t = -1, n = r.length;
|
|
747
747
|
for (e || (e = Array(n)); ++t < n; )
|
|
748
748
|
e[t] = r[t];
|
|
749
749
|
return e;
|
|
750
750
|
}
|
|
751
|
-
var
|
|
752
|
-
function
|
|
751
|
+
var Pd = 800, qd = 16, jd = Date.now;
|
|
752
|
+
function Id(r) {
|
|
753
753
|
var e = 0, t = 0;
|
|
754
754
|
return function() {
|
|
755
|
-
var n =
|
|
755
|
+
var n = jd(), i = qd - (n - t);
|
|
756
756
|
if (t = n, i > 0) {
|
|
757
|
-
if (++e >=
|
|
757
|
+
if (++e >= Pd)
|
|
758
758
|
return arguments[0];
|
|
759
759
|
} else
|
|
760
760
|
e = 0;
|
|
761
761
|
return r.apply(void 0, arguments);
|
|
762
762
|
};
|
|
763
763
|
}
|
|
764
|
-
function
|
|
764
|
+
function $d(r) {
|
|
765
765
|
return function() {
|
|
766
766
|
return r;
|
|
767
767
|
};
|
|
@@ -772,23 +772,23 @@ var io = function() {
|
|
|
772
772
|
return r({}, "", {}), r;
|
|
773
773
|
} catch {
|
|
774
774
|
}
|
|
775
|
-
}(),
|
|
775
|
+
}(), Dd = io ? function(r, e) {
|
|
776
776
|
return io(r, "toString", {
|
|
777
777
|
configurable: !0,
|
|
778
778
|
enumerable: !1,
|
|
779
|
-
value:
|
|
779
|
+
value: $d(e),
|
|
780
780
|
writable: !0
|
|
781
781
|
});
|
|
782
|
-
} : Bc,
|
|
783
|
-
function
|
|
782
|
+
} : Bc, Md = Id(Dd);
|
|
783
|
+
function Bd(r, e) {
|
|
784
784
|
for (var t = -1, n = r == null ? 0 : r.length; ++t < n && e(r[t], t, r) !== !1; )
|
|
785
785
|
;
|
|
786
786
|
return r;
|
|
787
787
|
}
|
|
788
|
-
var
|
|
788
|
+
var Fd = 9007199254740991, Ud = /^(?:0|[1-9]\d*)$/;
|
|
789
789
|
function Fc(r, e) {
|
|
790
790
|
var t = typeof r;
|
|
791
|
-
return e = e ??
|
|
791
|
+
return e = e ?? Fd, !!e && (t == "number" || t != "symbol" && Ud.test(r)) && r > -1 && r % 1 == 0 && r < e;
|
|
792
792
|
}
|
|
793
793
|
function Qa(r, e, t) {
|
|
794
794
|
e == "__proto__" && io ? io(r, e, {
|
|
@@ -801,12 +801,12 @@ function Qa(r, e, t) {
|
|
|
801
801
|
function Os(r, e) {
|
|
802
802
|
return r === e || r !== r && e !== e;
|
|
803
803
|
}
|
|
804
|
-
var
|
|
804
|
+
var Kd = Object.prototype, Hd = Kd.hasOwnProperty;
|
|
805
805
|
function Uc(r, e, t) {
|
|
806
806
|
var n = r[e];
|
|
807
|
-
(!(
|
|
807
|
+
(!(Hd.call(r, e) && Os(n, t)) || t === void 0 && !(e in r)) && Qa(r, e, t);
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function zd(r, e, t, n) {
|
|
810
810
|
var i = !t;
|
|
811
811
|
t || (t = {});
|
|
812
812
|
for (var s = -1, a = e.length; ++s < a; ) {
|
|
@@ -816,68 +816,68 @@ function Hd(r, e, t, n) {
|
|
|
816
816
|
return t;
|
|
817
817
|
}
|
|
818
818
|
var Ml = Math.max;
|
|
819
|
-
function
|
|
819
|
+
function Vd(r, e, t) {
|
|
820
820
|
return e = Ml(e === void 0 ? r.length - 1 : e, 0), function() {
|
|
821
821
|
for (var n = arguments, i = -1, s = Ml(n.length - e, 0), a = Array(s); ++i < s; )
|
|
822
822
|
a[i] = n[e + i];
|
|
823
823
|
i = -1;
|
|
824
824
|
for (var u = Array(e + 1); ++i < e; )
|
|
825
825
|
u[i] = n[i];
|
|
826
|
-
return u[e] = t(a),
|
|
826
|
+
return u[e] = t(a), Rd(r, this, u);
|
|
827
827
|
};
|
|
828
828
|
}
|
|
829
|
-
function
|
|
830
|
-
return
|
|
829
|
+
function Wd(r, e) {
|
|
830
|
+
return Md(Vd(r, e, Bc), r + "");
|
|
831
831
|
}
|
|
832
|
-
var
|
|
832
|
+
var Yd = 9007199254740991;
|
|
833
833
|
function Kc(r) {
|
|
834
|
-
return typeof r == "number" && r > -1 && r % 1 == 0 && r <=
|
|
834
|
+
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= Yd;
|
|
835
835
|
}
|
|
836
836
|
function vo(r) {
|
|
837
837
|
return r != null && Kc(r.length) && !Xa(r);
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Gd(r, e, t) {
|
|
840
840
|
if (!Gr(t))
|
|
841
841
|
return !1;
|
|
842
842
|
var n = typeof e;
|
|
843
843
|
return (n == "number" ? vo(t) && Fc(e, t.length) : n == "string" && e in t) ? Os(t[e], r) : !1;
|
|
844
844
|
}
|
|
845
|
-
function
|
|
846
|
-
return
|
|
845
|
+
function Jd(r) {
|
|
846
|
+
return Wd(function(e, t) {
|
|
847
847
|
var n = -1, i = t.length, s = i > 1 ? t[i - 1] : void 0, a = i > 2 ? t[2] : void 0;
|
|
848
|
-
for (s = r.length > 3 && typeof s == "function" ? (i--, s) : void 0, a &&
|
|
848
|
+
for (s = r.length > 3 && typeof s == "function" ? (i--, s) : void 0, a && Gd(t[0], t[1], a) && (s = i < 3 ? void 0 : s, i = 1), e = Object(e); ++n < i; ) {
|
|
849
849
|
var u = t[n];
|
|
850
850
|
u && r(e, u, n, s);
|
|
851
851
|
}
|
|
852
852
|
return e;
|
|
853
853
|
});
|
|
854
854
|
}
|
|
855
|
-
var
|
|
855
|
+
var Zd = Object.prototype;
|
|
856
856
|
function el(r) {
|
|
857
|
-
var e = r && r.constructor, t = typeof e == "function" && e.prototype ||
|
|
857
|
+
var e = r && r.constructor, t = typeof e == "function" && e.prototype || Zd;
|
|
858
858
|
return r === t;
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function Xd(r, e) {
|
|
861
861
|
for (var t = -1, n = Array(r); ++t < r; )
|
|
862
862
|
n[t] = e(t);
|
|
863
863
|
return n;
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var Qd = "[object Arguments]";
|
|
866
866
|
function Bl(r) {
|
|
867
|
-
return _r(r) && zi(r) ==
|
|
867
|
+
return _r(r) && zi(r) == Qd;
|
|
868
868
|
}
|
|
869
|
-
var Hc = Object.prototype,
|
|
869
|
+
var Hc = Object.prototype, ep = Hc.hasOwnProperty, tp = Hc.propertyIsEnumerable, pa = Bl(/* @__PURE__ */ function() {
|
|
870
870
|
return arguments;
|
|
871
871
|
}()) ? Bl : function(r) {
|
|
872
|
-
return _r(r) &&
|
|
872
|
+
return _r(r) && ep.call(r, "callee") && !tp.call(r, "callee");
|
|
873
873
|
};
|
|
874
|
-
function
|
|
874
|
+
function np() {
|
|
875
875
|
return !1;
|
|
876
876
|
}
|
|
877
|
-
var zc = typeof exports == "object" && exports && !exports.nodeType && exports, Fl = zc && typeof module == "object" && module && !module.nodeType && module,
|
|
878
|
-
dt[
|
|
879
|
-
dt[
|
|
880
|
-
function
|
|
877
|
+
var zc = typeof exports == "object" && exports && !exports.nodeType && exports, Fl = zc && typeof module == "object" && module && !module.nodeType && module, rp = Fl && Fl.exports === zc, Ul = rp ? br.Buffer : void 0, ip = Ul ? Ul.isBuffer : void 0, ps = ip || np, sp = "[object Arguments]", op = "[object Array]", ap = "[object Boolean]", lp = "[object Date]", up = "[object Error]", cp = "[object Function]", fp = "[object Map]", hp = "[object Number]", dp = "[object Object]", pp = "[object RegExp]", gp = "[object Set]", mp = "[object String]", yp = "[object WeakMap]", bp = "[object ArrayBuffer]", vp = "[object DataView]", wp = "[object Float32Array]", xp = "[object Float64Array]", Ep = "[object Int8Array]", Sp = "[object Int16Array]", Op = "[object Int32Array]", Ap = "[object Uint8Array]", Tp = "[object Uint8ClampedArray]", _p = "[object Uint16Array]", Np = "[object Uint32Array]", dt = {};
|
|
878
|
+
dt[wp] = dt[xp] = dt[Ep] = dt[Sp] = dt[Op] = dt[Ap] = dt[Tp] = dt[_p] = dt[Np] = !0;
|
|
879
|
+
dt[sp] = dt[op] = dt[bp] = dt[ap] = dt[vp] = dt[lp] = dt[up] = dt[cp] = dt[fp] = dt[hp] = dt[dp] = dt[pp] = dt[gp] = dt[mp] = dt[yp] = !1;
|
|
880
|
+
function Cp(r) {
|
|
881
881
|
return _r(r) && Kc(r.length) && !!dt[zi(r)];
|
|
882
882
|
}
|
|
883
883
|
function tl(r) {
|
|
@@ -885,17 +885,17 @@ function tl(r) {
|
|
|
885
885
|
return r(e);
|
|
886
886
|
};
|
|
887
887
|
}
|
|
888
|
-
var Vc = typeof exports == "object" && exports && !exports.nodeType && exports, us = Vc && typeof module == "object" && module && !module.nodeType && module,
|
|
888
|
+
var Vc = typeof exports == "object" && exports && !exports.nodeType && exports, us = Vc && typeof module == "object" && module && !module.nodeType && module, Lp = us && us.exports === Vc, Yo = Lp && Dc.process, Mi = function() {
|
|
889
889
|
try {
|
|
890
890
|
var r = us && us.require && us.require("util").types;
|
|
891
891
|
return r || Yo && Yo.binding && Yo.binding("util");
|
|
892
892
|
} catch {
|
|
893
893
|
}
|
|
894
|
-
}(), Kl = Mi && Mi.isTypedArray, nl = Kl ? tl(Kl) :
|
|
894
|
+
}(), Kl = Mi && Mi.isTypedArray, nl = Kl ? tl(Kl) : Cp, Rp = Object.prototype, kp = Rp.hasOwnProperty;
|
|
895
895
|
function Wc(r, e) {
|
|
896
|
-
var t = ai(r), n = !t && pa(r), i = !t && !n && ps(r), s = !t && !n && !i && nl(r), a = t || n || i || s, u = a ?
|
|
896
|
+
var t = ai(r), n = !t && pa(r), i = !t && !n && ps(r), s = !t && !n && !i && nl(r), a = t || n || i || s, u = a ? Xd(r.length, String) : [], f = u.length;
|
|
897
897
|
for (var d in r)
|
|
898
|
-
(e ||
|
|
898
|
+
(e || kp.call(r, d)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
899
899
|
(d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
900
900
|
i && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
901
901
|
s && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
|
|
@@ -907,63 +907,63 @@ function Yc(r, e) {
|
|
|
907
907
|
return r(e(t));
|
|
908
908
|
};
|
|
909
909
|
}
|
|
910
|
-
var
|
|
911
|
-
function
|
|
910
|
+
var Pp = Yc(Object.keys, Object), qp = Object.prototype, jp = qp.hasOwnProperty;
|
|
911
|
+
function Ip(r) {
|
|
912
912
|
if (!el(r))
|
|
913
|
-
return
|
|
913
|
+
return Pp(r);
|
|
914
914
|
var e = [];
|
|
915
915
|
for (var t in Object(r))
|
|
916
|
-
|
|
916
|
+
jp.call(r, t) && t != "constructor" && e.push(t);
|
|
917
917
|
return e;
|
|
918
918
|
}
|
|
919
|
-
function Ip(r) {
|
|
920
|
-
return vo(r) ? Wc(r) : jp(r);
|
|
921
|
-
}
|
|
922
919
|
function $p(r) {
|
|
920
|
+
return vo(r) ? Wc(r) : Ip(r);
|
|
921
|
+
}
|
|
922
|
+
function Dp(r) {
|
|
923
923
|
var e = [];
|
|
924
924
|
if (r != null)
|
|
925
925
|
for (var t in Object(r))
|
|
926
926
|
e.push(t);
|
|
927
927
|
return e;
|
|
928
928
|
}
|
|
929
|
-
var
|
|
930
|
-
function
|
|
929
|
+
var Mp = Object.prototype, Bp = Mp.hasOwnProperty;
|
|
930
|
+
function Fp(r) {
|
|
931
931
|
if (!Gr(r))
|
|
932
|
-
return
|
|
932
|
+
return Dp(r);
|
|
933
933
|
var e = el(r), t = [];
|
|
934
934
|
for (var n in r)
|
|
935
|
-
n == "constructor" && (e || !
|
|
935
|
+
n == "constructor" && (e || !Bp.call(r, n)) || t.push(n);
|
|
936
936
|
return t;
|
|
937
937
|
}
|
|
938
938
|
function Gc(r) {
|
|
939
|
-
return vo(r) ? Wc(r, !0) :
|
|
939
|
+
return vo(r) ? Wc(r, !0) : Fp(r);
|
|
940
940
|
}
|
|
941
941
|
var gs = di(Object, "create");
|
|
942
|
-
function
|
|
942
|
+
function Up() {
|
|
943
943
|
this.__data__ = gs ? gs(null) : {}, this.size = 0;
|
|
944
944
|
}
|
|
945
|
-
function
|
|
945
|
+
function Kp(r) {
|
|
946
946
|
var e = this.has(r) && delete this.__data__[r];
|
|
947
947
|
return this.size -= e ? 1 : 0, e;
|
|
948
948
|
}
|
|
949
|
-
var
|
|
950
|
-
function
|
|
949
|
+
var Hp = "__lodash_hash_undefined__", zp = Object.prototype, Vp = zp.hasOwnProperty;
|
|
950
|
+
function Wp(r) {
|
|
951
951
|
var e = this.__data__;
|
|
952
952
|
if (gs) {
|
|
953
953
|
var t = e[r];
|
|
954
|
-
return t ===
|
|
954
|
+
return t === Hp ? void 0 : t;
|
|
955
955
|
}
|
|
956
|
-
return
|
|
956
|
+
return Vp.call(e, r) ? e[r] : void 0;
|
|
957
957
|
}
|
|
958
|
-
var
|
|
959
|
-
function
|
|
958
|
+
var Yp = Object.prototype, Gp = Yp.hasOwnProperty;
|
|
959
|
+
function Jp(r) {
|
|
960
960
|
var e = this.__data__;
|
|
961
|
-
return gs ? e[r] !== void 0 :
|
|
961
|
+
return gs ? e[r] !== void 0 : Gp.call(e, r);
|
|
962
962
|
}
|
|
963
|
-
var
|
|
964
|
-
function
|
|
963
|
+
var Zp = "__lodash_hash_undefined__";
|
|
964
|
+
function Xp(r, e) {
|
|
965
965
|
var t = this.__data__;
|
|
966
|
-
return this.size += this.has(r) ? 0 : 1, t[r] = gs && e === void 0 ?
|
|
966
|
+
return this.size += this.has(r) ? 0 : 1, t[r] = gs && e === void 0 ? Zp : e, this;
|
|
967
967
|
}
|
|
968
968
|
function li(r) {
|
|
969
969
|
var e = -1, t = r == null ? 0 : r.length;
|
|
@@ -972,12 +972,12 @@ function li(r) {
|
|
|
972
972
|
this.set(n[0], n[1]);
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
|
-
li.prototype.clear =
|
|
976
|
-
li.prototype.delete =
|
|
977
|
-
li.prototype.get =
|
|
978
|
-
li.prototype.has =
|
|
979
|
-
li.prototype.set =
|
|
980
|
-
function
|
|
975
|
+
li.prototype.clear = Up;
|
|
976
|
+
li.prototype.delete = Kp;
|
|
977
|
+
li.prototype.get = Wp;
|
|
978
|
+
li.prototype.has = Jp;
|
|
979
|
+
li.prototype.set = Xp;
|
|
980
|
+
function Qp() {
|
|
981
981
|
this.__data__ = [], this.size = 0;
|
|
982
982
|
}
|
|
983
983
|
function wo(r, e) {
|
|
@@ -986,22 +986,22 @@ function wo(r, e) {
|
|
|
986
986
|
return t;
|
|
987
987
|
return -1;
|
|
988
988
|
}
|
|
989
|
-
var
|
|
990
|
-
function
|
|
989
|
+
var eg = Array.prototype, tg = eg.splice;
|
|
990
|
+
function ng(r) {
|
|
991
991
|
var e = this.__data__, t = wo(e, r);
|
|
992
992
|
if (t < 0)
|
|
993
993
|
return !1;
|
|
994
994
|
var n = e.length - 1;
|
|
995
|
-
return t == n ? e.pop() :
|
|
995
|
+
return t == n ? e.pop() : tg.call(e, t, 1), --this.size, !0;
|
|
996
996
|
}
|
|
997
|
-
function
|
|
997
|
+
function rg(r) {
|
|
998
998
|
var e = this.__data__, t = wo(e, r);
|
|
999
999
|
return t < 0 ? void 0 : e[t][1];
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1001
|
+
function ig(r) {
|
|
1002
1002
|
return wo(this.__data__, r) > -1;
|
|
1003
1003
|
}
|
|
1004
|
-
function
|
|
1004
|
+
function sg(r, e) {
|
|
1005
1005
|
var t = this.__data__, n = wo(t, r);
|
|
1006
1006
|
return n < 0 ? (++this.size, t.push([r, e])) : t[n][1] = e, this;
|
|
1007
1007
|
}
|
|
@@ -1012,38 +1012,38 @@ function Lr(r) {
|
|
|
1012
1012
|
this.set(n[0], n[1]);
|
|
1013
1013
|
}
|
|
1014
1014
|
}
|
|
1015
|
-
Lr.prototype.clear =
|
|
1016
|
-
Lr.prototype.delete =
|
|
1017
|
-
Lr.prototype.get =
|
|
1018
|
-
Lr.prototype.has =
|
|
1019
|
-
Lr.prototype.set =
|
|
1015
|
+
Lr.prototype.clear = Qp;
|
|
1016
|
+
Lr.prototype.delete = ng;
|
|
1017
|
+
Lr.prototype.get = rg;
|
|
1018
|
+
Lr.prototype.has = ig;
|
|
1019
|
+
Lr.prototype.set = sg;
|
|
1020
1020
|
var ms = di(br, "Map");
|
|
1021
|
-
function
|
|
1021
|
+
function og() {
|
|
1022
1022
|
this.size = 0, this.__data__ = {
|
|
1023
1023
|
hash: new li(),
|
|
1024
1024
|
map: new (ms || Lr)(),
|
|
1025
1025
|
string: new li()
|
|
1026
1026
|
};
|
|
1027
1027
|
}
|
|
1028
|
-
function
|
|
1028
|
+
function ag(r) {
|
|
1029
1029
|
var e = typeof r;
|
|
1030
1030
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? r !== "__proto__" : r === null;
|
|
1031
1031
|
}
|
|
1032
1032
|
function xo(r, e) {
|
|
1033
1033
|
var t = r.__data__;
|
|
1034
|
-
return
|
|
1034
|
+
return ag(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function lg(r) {
|
|
1037
1037
|
var e = xo(this, r).delete(r);
|
|
1038
1038
|
return this.size -= e ? 1 : 0, e;
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function ug(r) {
|
|
1041
1041
|
return xo(this, r).get(r);
|
|
1042
1042
|
}
|
|
1043
|
-
function
|
|
1043
|
+
function cg(r) {
|
|
1044
1044
|
return xo(this, r).has(r);
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1046
|
+
function fg(r, e) {
|
|
1047
1047
|
var t = xo(this, r), n = t.size;
|
|
1048
1048
|
return t.set(r, e), this.size += t.size == n ? 0 : 1, this;
|
|
1049
1049
|
}
|
|
@@ -1054,45 +1054,45 @@ function pi(r) {
|
|
|
1054
1054
|
this.set(n[0], n[1]);
|
|
1055
1055
|
}
|
|
1056
1056
|
}
|
|
1057
|
-
pi.prototype.clear =
|
|
1058
|
-
pi.prototype.delete =
|
|
1059
|
-
pi.prototype.get =
|
|
1060
|
-
pi.prototype.has =
|
|
1061
|
-
pi.prototype.set =
|
|
1062
|
-
function
|
|
1057
|
+
pi.prototype.clear = og;
|
|
1058
|
+
pi.prototype.delete = lg;
|
|
1059
|
+
pi.prototype.get = ug;
|
|
1060
|
+
pi.prototype.has = cg;
|
|
1061
|
+
pi.prototype.set = fg;
|
|
1062
|
+
function hg(r, e) {
|
|
1063
1063
|
for (var t = -1, n = e.length, i = r.length; ++t < n; )
|
|
1064
1064
|
r[i + t] = e[t];
|
|
1065
1065
|
return r;
|
|
1066
1066
|
}
|
|
1067
|
-
var Jc = Yc(Object.getPrototypeOf, Object),
|
|
1068
|
-
function
|
|
1069
|
-
if (!_r(r) || zi(r) !=
|
|
1067
|
+
var Jc = Yc(Object.getPrototypeOf, Object), dg = "[object Object]", pg = Function.prototype, gg = Object.prototype, Zc = pg.toString, mg = gg.hasOwnProperty, yg = Zc.call(Object);
|
|
1068
|
+
function bg(r) {
|
|
1069
|
+
if (!_r(r) || zi(r) != dg)
|
|
1070
1070
|
return !1;
|
|
1071
1071
|
var e = Jc(r);
|
|
1072
1072
|
if (e === null)
|
|
1073
1073
|
return !0;
|
|
1074
|
-
var t =
|
|
1075
|
-
return typeof t == "function" && t instanceof t && Zc.call(t) ==
|
|
1074
|
+
var t = mg.call(e, "constructor") && e.constructor;
|
|
1075
|
+
return typeof t == "function" && t instanceof t && Zc.call(t) == yg;
|
|
1076
1076
|
}
|
|
1077
|
-
function
|
|
1077
|
+
function vg() {
|
|
1078
1078
|
this.__data__ = new Lr(), this.size = 0;
|
|
1079
1079
|
}
|
|
1080
|
-
function
|
|
1080
|
+
function wg(r) {
|
|
1081
1081
|
var e = this.__data__, t = e.delete(r);
|
|
1082
1082
|
return this.size = e.size, t;
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function xg(r) {
|
|
1085
1085
|
return this.__data__.get(r);
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1087
|
+
function Eg(r) {
|
|
1088
1088
|
return this.__data__.has(r);
|
|
1089
1089
|
}
|
|
1090
|
-
var
|
|
1091
|
-
function
|
|
1090
|
+
var Sg = 200;
|
|
1091
|
+
function Og(r, e) {
|
|
1092
1092
|
var t = this.__data__;
|
|
1093
1093
|
if (t instanceof Lr) {
|
|
1094
1094
|
var n = t.__data__;
|
|
1095
|
-
if (!ms || n.length <
|
|
1095
|
+
if (!ms || n.length < Sg - 1)
|
|
1096
1096
|
return n.push([r, e]), this.size = ++t.size, this;
|
|
1097
1097
|
t = this.__data__ = new pi(n);
|
|
1098
1098
|
}
|
|
@@ -1102,97 +1102,96 @@ function pr(r) {
|
|
|
1102
1102
|
var e = this.__data__ = new Lr(r);
|
|
1103
1103
|
this.size = e.size;
|
|
1104
1104
|
}
|
|
1105
|
-
pr.prototype.clear =
|
|
1106
|
-
pr.prototype.delete =
|
|
1107
|
-
pr.prototype.get =
|
|
1108
|
-
pr.prototype.has =
|
|
1109
|
-
pr.prototype.set =
|
|
1110
|
-
var Xc = typeof exports == "object" && exports && !exports.nodeType && exports, Hl = Xc && typeof module == "object" && module && !module.nodeType && module,
|
|
1105
|
+
pr.prototype.clear = vg;
|
|
1106
|
+
pr.prototype.delete = wg;
|
|
1107
|
+
pr.prototype.get = xg;
|
|
1108
|
+
pr.prototype.has = Eg;
|
|
1109
|
+
pr.prototype.set = Og;
|
|
1110
|
+
var Xc = typeof exports == "object" && exports && !exports.nodeType && exports, Hl = Xc && typeof module == "object" && module && !module.nodeType && module, Ag = Hl && Hl.exports === Xc, zl = Ag ? br.Buffer : void 0, Vl = zl ? zl.allocUnsafe : void 0;
|
|
1111
1111
|
function Qc(r, e) {
|
|
1112
1112
|
if (e)
|
|
1113
1113
|
return r.slice();
|
|
1114
1114
|
var t = r.length, n = Vl ? Vl(t) : new r.constructor(t);
|
|
1115
1115
|
return r.copy(n), n;
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1117
|
+
function Tg(r, e) {
|
|
1118
1118
|
for (var t = -1, n = r == null ? 0 : r.length, i = 0, s = []; ++t < n; ) {
|
|
1119
1119
|
var a = r[t];
|
|
1120
1120
|
e(a, t, r) && (s[i++] = a);
|
|
1121
1121
|
}
|
|
1122
1122
|
return s;
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function _g() {
|
|
1125
1125
|
return [];
|
|
1126
1126
|
}
|
|
1127
|
-
var
|
|
1128
|
-
return r == null ? [] : (r = Object(r),
|
|
1129
|
-
return
|
|
1127
|
+
var Ng = Object.prototype, Cg = Ng.propertyIsEnumerable, Wl = Object.getOwnPropertySymbols, Lg = Wl ? function(r) {
|
|
1128
|
+
return r == null ? [] : (r = Object(r), Tg(Wl(r), function(e) {
|
|
1129
|
+
return Cg.call(r, e);
|
|
1130
1130
|
}));
|
|
1131
|
-
} :
|
|
1132
|
-
function
|
|
1131
|
+
} : _g;
|
|
1132
|
+
function Rg(r, e, t) {
|
|
1133
1133
|
var n = e(r);
|
|
1134
|
-
return ai(r) ? n :
|
|
1134
|
+
return ai(r) ? n : hg(n, t(r));
|
|
1135
1135
|
}
|
|
1136
1136
|
function ga(r) {
|
|
1137
|
-
return
|
|
1137
|
+
return Rg(r, $p, Lg);
|
|
1138
1138
|
}
|
|
1139
|
-
var ma = di(br, "DataView"), ya = di(br, "Promise"), ba = di(br, "Set"), Yl = "[object Map]",
|
|
1139
|
+
var ma = di(br, "DataView"), ya = di(br, "Promise"), ba = di(br, "Set"), Yl = "[object Map]", kg = "[object Object]", Gl = "[object Promise]", Jl = "[object Set]", Zl = "[object WeakMap]", Xl = "[object DataView]", Pg = hi(ma), qg = hi(ms), jg = hi(ya), Ig = hi(ba), $g = hi(da), Vn = zi;
|
|
1140
1140
|
(ma && Vn(new ma(new ArrayBuffer(1))) != Xl || ms && Vn(new ms()) != Yl || ya && Vn(ya.resolve()) != Gl || ba && Vn(new ba()) != Jl || da && Vn(new da()) != Zl) && (Vn = function(r) {
|
|
1141
|
-
var e = zi(r), t = e ==
|
|
1141
|
+
var e = zi(r), t = e == kg ? r.constructor : void 0, n = t ? hi(t) : "";
|
|
1142
1142
|
if (n)
|
|
1143
1143
|
switch (n) {
|
|
1144
|
-
case kg:
|
|
1145
|
-
return Xl;
|
|
1146
1144
|
case Pg:
|
|
1147
|
-
return
|
|
1145
|
+
return Xl;
|
|
1148
1146
|
case qg:
|
|
1149
|
-
return
|
|
1147
|
+
return Yl;
|
|
1150
1148
|
case jg:
|
|
1151
|
-
return
|
|
1149
|
+
return Gl;
|
|
1152
1150
|
case Ig:
|
|
1151
|
+
return Jl;
|
|
1152
|
+
case $g:
|
|
1153
1153
|
return Zl;
|
|
1154
1154
|
}
|
|
1155
1155
|
return e;
|
|
1156
1156
|
});
|
|
1157
|
-
var
|
|
1158
|
-
function
|
|
1157
|
+
var Dg = Object.prototype, Mg = Dg.hasOwnProperty;
|
|
1158
|
+
function Bg(r) {
|
|
1159
1159
|
var e = r.length, t = new r.constructor(e);
|
|
1160
|
-
return e && typeof r[0] == "string" &&
|
|
1160
|
+
return e && typeof r[0] == "string" && Mg.call(r, "index") && (t.index = r.index, t.input = r.input), t;
|
|
1161
1161
|
}
|
|
1162
1162
|
var so = br.Uint8Array;
|
|
1163
1163
|
function rl(r) {
|
|
1164
1164
|
var e = new r.constructor(r.byteLength);
|
|
1165
1165
|
return new so(e).set(new so(r)), e;
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function Fg(r, e) {
|
|
1168
1168
|
var t = rl(r.buffer);
|
|
1169
1169
|
return new r.constructor(t, r.byteOffset, r.byteLength);
|
|
1170
1170
|
}
|
|
1171
|
-
var
|
|
1172
|
-
function
|
|
1173
|
-
var e = new r.constructor(r.source,
|
|
1171
|
+
var Ug = /\w*$/;
|
|
1172
|
+
function Kg(r) {
|
|
1173
|
+
var e = new r.constructor(r.source, Ug.exec(r));
|
|
1174
1174
|
return e.lastIndex = r.lastIndex, e;
|
|
1175
1175
|
}
|
|
1176
1176
|
var Ql = Wr ? Wr.prototype : void 0, eu = Ql ? Ql.valueOf : void 0;
|
|
1177
|
-
function
|
|
1177
|
+
function Hg(r) {
|
|
1178
1178
|
return eu ? Object(eu.call(r)) : {};
|
|
1179
1179
|
}
|
|
1180
1180
|
function ef(r, e) {
|
|
1181
1181
|
var t = e ? rl(r.buffer) : r.buffer;
|
|
1182
1182
|
return new r.constructor(t, r.byteOffset, r.length);
|
|
1183
1183
|
}
|
|
1184
|
-
var
|
|
1185
|
-
function
|
|
1184
|
+
var zg = "[object Boolean]", Vg = "[object Date]", Wg = "[object Map]", Yg = "[object Number]", Gg = "[object RegExp]", Jg = "[object Set]", Zg = "[object String]", Xg = "[object Symbol]", Qg = "[object ArrayBuffer]", em = "[object DataView]", tm = "[object Float32Array]", nm = "[object Float64Array]", rm = "[object Int8Array]", im = "[object Int16Array]", sm = "[object Int32Array]", om = "[object Uint8Array]", am = "[object Uint8ClampedArray]", lm = "[object Uint16Array]", um = "[object Uint32Array]";
|
|
1185
|
+
function cm(r, e, t) {
|
|
1186
1186
|
var n = r.constructor;
|
|
1187
1187
|
switch (e) {
|
|
1188
|
-
case
|
|
1188
|
+
case Qg:
|
|
1189
1189
|
return rl(r);
|
|
1190
|
-
case Hg:
|
|
1191
1190
|
case zg:
|
|
1191
|
+
case Vg:
|
|
1192
1192
|
return new n(+r);
|
|
1193
|
-
case Qg:
|
|
1194
|
-
return Bg(r);
|
|
1195
1193
|
case em:
|
|
1194
|
+
return Fg(r);
|
|
1196
1195
|
case tm:
|
|
1197
1196
|
case nm:
|
|
1198
1197
|
case rm:
|
|
@@ -1201,45 +1200,46 @@ function um(r, e, t) {
|
|
|
1201
1200
|
case om:
|
|
1202
1201
|
case am:
|
|
1203
1202
|
case lm:
|
|
1203
|
+
case um:
|
|
1204
1204
|
return ef(r, t);
|
|
1205
|
-
case Vg:
|
|
1206
|
-
return new n();
|
|
1207
1205
|
case Wg:
|
|
1208
|
-
case Jg:
|
|
1209
|
-
return new n(r);
|
|
1210
|
-
case Yg:
|
|
1211
|
-
return Ug(r);
|
|
1212
|
-
case Gg:
|
|
1213
1206
|
return new n();
|
|
1207
|
+
case Yg:
|
|
1214
1208
|
case Zg:
|
|
1209
|
+
return new n(r);
|
|
1210
|
+
case Gg:
|
|
1215
1211
|
return Kg(r);
|
|
1212
|
+
case Jg:
|
|
1213
|
+
return new n();
|
|
1214
|
+
case Xg:
|
|
1215
|
+
return Hg(r);
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
1218
1218
|
function tf(r) {
|
|
1219
|
-
return typeof r.constructor == "function" && !el(r) ?
|
|
1219
|
+
return typeof r.constructor == "function" && !el(r) ? Ld(Jc(r)) : {};
|
|
1220
1220
|
}
|
|
1221
|
-
var
|
|
1222
|
-
function
|
|
1223
|
-
return _r(r) && Vn(r) ==
|
|
1221
|
+
var fm = "[object Map]";
|
|
1222
|
+
function hm(r) {
|
|
1223
|
+
return _r(r) && Vn(r) == fm;
|
|
1224
1224
|
}
|
|
1225
|
-
var tu = Mi && Mi.isMap,
|
|
1226
|
-
function
|
|
1227
|
-
return _r(r) && Vn(r) ==
|
|
1225
|
+
var tu = Mi && Mi.isMap, dm = tu ? tl(tu) : hm, pm = "[object Set]";
|
|
1226
|
+
function gm(r) {
|
|
1227
|
+
return _r(r) && Vn(r) == pm;
|
|
1228
1228
|
}
|
|
1229
|
-
var nu = Mi && Mi.isSet,
|
|
1230
|
-
ft[nf] = ft[
|
|
1231
|
-
ft[
|
|
1229
|
+
var nu = Mi && Mi.isSet, mm = nu ? tl(nu) : gm, ym = 1, nf = "[object Arguments]", bm = "[object Array]", vm = "[object Boolean]", wm = "[object Date]", xm = "[object Error]", rf = "[object Function]", Em = "[object GeneratorFunction]", Sm = "[object Map]", Om = "[object Number]", sf = "[object Object]", Am = "[object RegExp]", Tm = "[object Set]", _m = "[object String]", Nm = "[object Symbol]", Cm = "[object WeakMap]", Lm = "[object ArrayBuffer]", Rm = "[object DataView]", km = "[object Float32Array]", Pm = "[object Float64Array]", qm = "[object Int8Array]", jm = "[object Int16Array]", Im = "[object Int32Array]", $m = "[object Uint8Array]", Dm = "[object Uint8ClampedArray]", Mm = "[object Uint16Array]", Bm = "[object Uint32Array]", ft = {};
|
|
1230
|
+
ft[nf] = ft[bm] = ft[Lm] = ft[Rm] = ft[vm] = ft[wm] = ft[km] = ft[Pm] = ft[qm] = ft[jm] = ft[Im] = ft[Sm] = ft[Om] = ft[sf] = ft[Am] = ft[Tm] = ft[_m] = ft[Nm] = ft[$m] = ft[Dm] = ft[Mm] = ft[Bm] = !0;
|
|
1231
|
+
ft[xm] = ft[rf] = ft[Cm] = !1;
|
|
1232
1232
|
function Xs(r, e, t, n, i, s) {
|
|
1233
|
-
var a, u = e &
|
|
1233
|
+
var a, u = e & ym;
|
|
1234
1234
|
if (a !== void 0)
|
|
1235
1235
|
return a;
|
|
1236
1236
|
if (!Gr(r))
|
|
1237
1237
|
return r;
|
|
1238
1238
|
var f = ai(r);
|
|
1239
1239
|
if (f)
|
|
1240
|
-
a =
|
|
1240
|
+
a = Bg(r);
|
|
1241
1241
|
else {
|
|
1242
|
-
var d = Vn(r), m = d == rf || d ==
|
|
1242
|
+
var d = Vn(r), m = d == rf || d == Em;
|
|
1243
1243
|
if (ps(r))
|
|
1244
1244
|
return Qc(r, u);
|
|
1245
1245
|
if (d == sf || d == nf || m && !i)
|
|
@@ -1247,32 +1247,32 @@ function Xs(r, e, t, n, i, s) {
|
|
|
1247
1247
|
else {
|
|
1248
1248
|
if (!ft[d])
|
|
1249
1249
|
return i ? r : {};
|
|
1250
|
-
a =
|
|
1250
|
+
a = cm(r, d, u);
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
1253
1253
|
s || (s = new pr());
|
|
1254
1254
|
var v = s.get(r);
|
|
1255
1255
|
if (v)
|
|
1256
1256
|
return v;
|
|
1257
|
-
s.set(r, a),
|
|
1257
|
+
s.set(r, a), mm(r) ? r.forEach(function(A) {
|
|
1258
1258
|
a.add(Xs(A, e, t, A, r, s));
|
|
1259
|
-
}) :
|
|
1259
|
+
}) : dm(r) && r.forEach(function(A, E) {
|
|
1260
1260
|
a.set(E, Xs(A, e, t, E, r, s));
|
|
1261
1261
|
});
|
|
1262
1262
|
var y = ga, x = f ? void 0 : y(r);
|
|
1263
|
-
return
|
|
1263
|
+
return Bd(x || r, function(A, E) {
|
|
1264
1264
|
x && (E = A, A = r[E]), Uc(a, E, Xs(A, e, t, E, r, s));
|
|
1265
1265
|
}), a;
|
|
1266
1266
|
}
|
|
1267
|
-
var
|
|
1267
|
+
var Fm = 1, Um = 4;
|
|
1268
1268
|
function Ii(r) {
|
|
1269
|
-
return Xs(r,
|
|
1270
|
-
}
|
|
1271
|
-
var Um = "__lodash_hash_undefined__";
|
|
1272
|
-
function Km(r) {
|
|
1273
|
-
return this.__data__.set(r, Um), this;
|
|
1269
|
+
return Xs(r, Fm | Um);
|
|
1274
1270
|
}
|
|
1271
|
+
var Km = "__lodash_hash_undefined__";
|
|
1275
1272
|
function Hm(r) {
|
|
1273
|
+
return this.__data__.set(r, Km), this;
|
|
1274
|
+
}
|
|
1275
|
+
function zm(r) {
|
|
1276
1276
|
return this.__data__.has(r);
|
|
1277
1277
|
}
|
|
1278
1278
|
function oo(r) {
|
|
@@ -1280,26 +1280,26 @@ function oo(r) {
|
|
|
1280
1280
|
for (this.__data__ = new pi(); ++e < t; )
|
|
1281
1281
|
this.add(r[e]);
|
|
1282
1282
|
}
|
|
1283
|
-
oo.prototype.add = oo.prototype.push =
|
|
1284
|
-
oo.prototype.has =
|
|
1285
|
-
function
|
|
1283
|
+
oo.prototype.add = oo.prototype.push = Hm;
|
|
1284
|
+
oo.prototype.has = zm;
|
|
1285
|
+
function Vm(r, e) {
|
|
1286
1286
|
for (var t = -1, n = r == null ? 0 : r.length; ++t < n; )
|
|
1287
1287
|
if (e(r[t], t, r))
|
|
1288
1288
|
return !0;
|
|
1289
1289
|
return !1;
|
|
1290
1290
|
}
|
|
1291
|
-
function
|
|
1291
|
+
function Wm(r, e) {
|
|
1292
1292
|
return r.has(e);
|
|
1293
1293
|
}
|
|
1294
|
-
var
|
|
1294
|
+
var Ym = 1, Gm = 2;
|
|
1295
1295
|
function of(r, e, t, n, i, s) {
|
|
1296
|
-
var a = t &
|
|
1296
|
+
var a = t & Ym, u = r.length, f = e.length;
|
|
1297
1297
|
if (u != f && !(a && f > u))
|
|
1298
1298
|
return !1;
|
|
1299
1299
|
var d = s.get(r), m = s.get(e);
|
|
1300
1300
|
if (d && m)
|
|
1301
1301
|
return d == e && m == r;
|
|
1302
|
-
var v = -1, y = !0, x = t &
|
|
1302
|
+
var v = -1, y = !0, x = t & Gm ? new oo() : void 0;
|
|
1303
1303
|
for (s.set(r, e), s.set(e, r); ++v < u; ) {
|
|
1304
1304
|
var A = r[v], E = e[v];
|
|
1305
1305
|
if (n)
|
|
@@ -1311,8 +1311,8 @@ function of(r, e, t, n, i, s) {
|
|
|
1311
1311
|
break;
|
|
1312
1312
|
}
|
|
1313
1313
|
if (x) {
|
|
1314
|
-
if (!
|
|
1315
|
-
if (!
|
|
1314
|
+
if (!Vm(e, function(M, H) {
|
|
1315
|
+
if (!Wm(x, H) && (A === M || i(A, M, t, n, s)))
|
|
1316
1316
|
return x.push(H);
|
|
1317
1317
|
})) {
|
|
1318
1318
|
y = !1;
|
|
@@ -1325,62 +1325,62 @@ function of(r, e, t, n, i, s) {
|
|
|
1325
1325
|
}
|
|
1326
1326
|
return s.delete(r), s.delete(e), y;
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1328
|
+
function Jm(r) {
|
|
1329
1329
|
var e = -1, t = Array(r.size);
|
|
1330
1330
|
return r.forEach(function(n, i) {
|
|
1331
1331
|
t[++e] = [i, n];
|
|
1332
1332
|
}), t;
|
|
1333
1333
|
}
|
|
1334
|
-
function
|
|
1334
|
+
function Zm(r) {
|
|
1335
1335
|
var e = -1, t = Array(r.size);
|
|
1336
1336
|
return r.forEach(function(n) {
|
|
1337
1337
|
t[++e] = n;
|
|
1338
1338
|
}), t;
|
|
1339
1339
|
}
|
|
1340
|
-
var
|
|
1341
|
-
function
|
|
1340
|
+
var Xm = 1, Qm = 2, ey = "[object Boolean]", ty = "[object Date]", ny = "[object Error]", ry = "[object Map]", iy = "[object Number]", sy = "[object RegExp]", oy = "[object Set]", ay = "[object String]", ly = "[object Symbol]", uy = "[object ArrayBuffer]", cy = "[object DataView]", ru = Wr ? Wr.prototype : void 0, Go = ru ? ru.valueOf : void 0;
|
|
1341
|
+
function fy(r, e, t, n, i, s, a) {
|
|
1342
1342
|
switch (t) {
|
|
1343
|
-
case
|
|
1343
|
+
case cy:
|
|
1344
1344
|
if (r.byteLength != e.byteLength || r.byteOffset != e.byteOffset)
|
|
1345
1345
|
return !1;
|
|
1346
1346
|
r = r.buffer, e = e.buffer;
|
|
1347
|
-
case
|
|
1347
|
+
case uy:
|
|
1348
1348
|
return !(r.byteLength != e.byteLength || !s(new so(r), new so(e)));
|
|
1349
|
-
case Qm:
|
|
1350
1349
|
case ey:
|
|
1351
|
-
case ry:
|
|
1352
|
-
return Os(+r, +e);
|
|
1353
1350
|
case ty:
|
|
1354
|
-
return r.name == e.name && r.message == e.message;
|
|
1355
1351
|
case iy:
|
|
1356
|
-
|
|
1357
|
-
return r == e + "";
|
|
1352
|
+
return Os(+r, +e);
|
|
1358
1353
|
case ny:
|
|
1359
|
-
|
|
1354
|
+
return r.name == e.name && r.message == e.message;
|
|
1360
1355
|
case sy:
|
|
1361
|
-
|
|
1362
|
-
|
|
1356
|
+
case ay:
|
|
1357
|
+
return r == e + "";
|
|
1358
|
+
case ry:
|
|
1359
|
+
var u = Jm;
|
|
1360
|
+
case oy:
|
|
1361
|
+
var f = n & Xm;
|
|
1362
|
+
if (u || (u = Zm), r.size != e.size && !f)
|
|
1363
1363
|
return !1;
|
|
1364
1364
|
var d = a.get(r);
|
|
1365
1365
|
if (d)
|
|
1366
1366
|
return d == e;
|
|
1367
|
-
n |=
|
|
1367
|
+
n |= Qm, a.set(r, e);
|
|
1368
1368
|
var m = of(u(r), u(e), n, i, s, a);
|
|
1369
1369
|
return a.delete(r), m;
|
|
1370
|
-
case
|
|
1370
|
+
case ly:
|
|
1371
1371
|
if (Go)
|
|
1372
1372
|
return Go.call(r) == Go.call(e);
|
|
1373
1373
|
}
|
|
1374
1374
|
return !1;
|
|
1375
1375
|
}
|
|
1376
|
-
var
|
|
1377
|
-
function
|
|
1378
|
-
var a = t &
|
|
1376
|
+
var hy = 1, dy = Object.prototype, py = dy.hasOwnProperty;
|
|
1377
|
+
function gy(r, e, t, n, i, s) {
|
|
1378
|
+
var a = t & hy, u = ga(r), f = u.length, d = ga(e), m = d.length;
|
|
1379
1379
|
if (f != m && !a)
|
|
1380
1380
|
return !1;
|
|
1381
1381
|
for (var v = f; v--; ) {
|
|
1382
1382
|
var y = u[v];
|
|
1383
|
-
if (!(a ? y in e :
|
|
1383
|
+
if (!(a ? y in e : py.call(e, y)))
|
|
1384
1384
|
return !1;
|
|
1385
1385
|
}
|
|
1386
1386
|
var x = s.get(r), A = s.get(e);
|
|
@@ -1405,8 +1405,8 @@ function py(r, e, t, n, i, s) {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
return s.delete(r), s.delete(e), E;
|
|
1407
1407
|
}
|
|
1408
|
-
var
|
|
1409
|
-
function
|
|
1408
|
+
var my = 1, iu = "[object Arguments]", su = "[object Array]", Ms = "[object Object]", yy = Object.prototype, ou = yy.hasOwnProperty;
|
|
1409
|
+
function by(r, e, t, n, i, s) {
|
|
1410
1410
|
var a = ai(r), u = ai(e), f = a ? su : Vn(r), d = u ? su : Vn(e);
|
|
1411
1411
|
f = f == iu ? Ms : f, d = d == iu ? Ms : d;
|
|
1412
1412
|
var m = f == Ms, v = d == Ms, y = f == d;
|
|
@@ -1416,20 +1416,20 @@ function yy(r, e, t, n, i, s) {
|
|
|
1416
1416
|
a = !0, m = !1;
|
|
1417
1417
|
}
|
|
1418
1418
|
if (y && !m)
|
|
1419
|
-
return s || (s = new pr()), a || nl(r) ? of(r, e, t, n, i, s) :
|
|
1420
|
-
if (!(t &
|
|
1419
|
+
return s || (s = new pr()), a || nl(r) ? of(r, e, t, n, i, s) : fy(r, e, f, t, n, i, s);
|
|
1420
|
+
if (!(t & my)) {
|
|
1421
1421
|
var x = m && ou.call(r, "__wrapped__"), A = v && ou.call(e, "__wrapped__");
|
|
1422
1422
|
if (x || A) {
|
|
1423
1423
|
var E = x ? r.value() : r, T = A ? e.value() : e;
|
|
1424
1424
|
return s || (s = new pr()), i(E, T, t, n, s);
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
|
-
return y ? (s || (s = new pr()),
|
|
1427
|
+
return y ? (s || (s = new pr()), gy(r, e, t, n, i, s)) : !1;
|
|
1428
1428
|
}
|
|
1429
1429
|
function af(r, e, t, n, i) {
|
|
1430
|
-
return r === e ? !0 : r == null || e == null || !_r(r) && !_r(e) ? r !== r && e !== e :
|
|
1430
|
+
return r === e ? !0 : r == null || e == null || !_r(r) && !_r(e) ? r !== r && e !== e : by(r, e, t, n, af, i);
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1432
|
+
function vy(r) {
|
|
1433
1433
|
return function(e, t, n) {
|
|
1434
1434
|
for (var i = -1, s = Object(e), a = n(e), u = a.length; u--; ) {
|
|
1435
1435
|
var f = a[++i];
|
|
@@ -1439,21 +1439,21 @@ function by(r) {
|
|
|
1439
1439
|
return e;
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
1442
|
-
var
|
|
1442
|
+
var wy = vy();
|
|
1443
1443
|
function va(r, e, t) {
|
|
1444
1444
|
(t !== void 0 && !Os(r[e], t) || t === void 0 && !(e in r)) && Qa(r, e, t);
|
|
1445
1445
|
}
|
|
1446
|
-
function
|
|
1446
|
+
function xy(r) {
|
|
1447
1447
|
return _r(r) && vo(r);
|
|
1448
1448
|
}
|
|
1449
1449
|
function wa(r, e) {
|
|
1450
1450
|
if (!(e === "constructor" && typeof r[e] == "function") && e != "__proto__")
|
|
1451
1451
|
return r[e];
|
|
1452
1452
|
}
|
|
1453
|
-
function
|
|
1454
|
-
return
|
|
1453
|
+
function Ey(r) {
|
|
1454
|
+
return zd(r, Gc(r));
|
|
1455
1455
|
}
|
|
1456
|
-
function
|
|
1456
|
+
function Sy(r, e, t, n, i, s, a) {
|
|
1457
1457
|
var u = wa(r, t), f = wa(e, t), d = a.get(f);
|
|
1458
1458
|
if (d) {
|
|
1459
1459
|
va(r, t, d);
|
|
@@ -1462,14 +1462,14 @@ function Ey(r, e, t, n, i, s, a) {
|
|
|
1462
1462
|
var m = s ? s(u, f, t + "", r, e, a) : void 0, v = m === void 0;
|
|
1463
1463
|
if (v) {
|
|
1464
1464
|
var y = ai(f), x = !y && ps(f), A = !y && !x && nl(f);
|
|
1465
|
-
m = f, y || x || A ? ai(u) ? m = u :
|
|
1465
|
+
m = f, y || x || A ? ai(u) ? m = u : xy(u) ? m = kd(u) : x ? (v = !1, m = Qc(f, !0)) : A ? (v = !1, m = ef(f, !0)) : m = [] : bg(f) || pa(f) ? (m = u, pa(u) ? m = Ey(u) : (!Gr(u) || Xa(u)) && (m = tf(f))) : v = !1;
|
|
1466
1466
|
}
|
|
1467
1467
|
v && (a.set(f, m), i(m, f, n, s, a), a.delete(f)), va(r, t, m);
|
|
1468
1468
|
}
|
|
1469
1469
|
function lf(r, e, t, n, i) {
|
|
1470
|
-
r !== e &&
|
|
1470
|
+
r !== e && wy(e, function(s, a) {
|
|
1471
1471
|
if (i || (i = new pr()), Gr(s))
|
|
1472
|
-
|
|
1472
|
+
Sy(r, e, a, t, lf, n, i);
|
|
1473
1473
|
else {
|
|
1474
1474
|
var u = n ? n(wa(r, a), s, a + "", r, e, i) : void 0;
|
|
1475
1475
|
u === void 0 && (u = s), va(r, a, u);
|
|
@@ -1479,7 +1479,7 @@ function lf(r, e, t, n, i) {
|
|
|
1479
1479
|
function il(r, e) {
|
|
1480
1480
|
return af(r, e);
|
|
1481
1481
|
}
|
|
1482
|
-
var Vr =
|
|
1482
|
+
var Vr = Jd(function(r, e, t) {
|
|
1483
1483
|
lf(r, e, t);
|
|
1484
1484
|
}), Pe = /* @__PURE__ */ ((r) => (r[r.TYPE = 3] = "TYPE", r[r.LEVEL = 12] = "LEVEL", r[r.ATTRIBUTE = 13] = "ATTRIBUTE", r[r.BLOT = 14] = "BLOT", r[r.INLINE = 7] = "INLINE", r[r.BLOCK = 11] = "BLOCK", r[r.BLOCK_BLOT = 10] = "BLOCK_BLOT", r[r.INLINE_BLOT = 6] = "INLINE_BLOT", r[r.BLOCK_ATTRIBUTE = 9] = "BLOCK_ATTRIBUTE", r[r.INLINE_ATTRIBUTE = 5] = "INLINE_ATTRIBUTE", r[r.ANY = 15] = "ANY", r))(Pe || {});
|
|
1485
1485
|
class mr {
|
|
@@ -1569,7 +1569,7 @@ let Bi = uf;
|
|
|
1569
1569
|
function au(r, e) {
|
|
1570
1570
|
return (r.getAttribute("class") || "").split(/\s+/).filter((t) => t.indexOf(`${e}-`) === 0);
|
|
1571
1571
|
}
|
|
1572
|
-
class
|
|
1572
|
+
class Oy extends mr {
|
|
1573
1573
|
static keys(e) {
|
|
1574
1574
|
return (e.getAttribute("class") || "").split(/\s+/).map((t) => t.split("-").slice(0, -1).join("-"));
|
|
1575
1575
|
}
|
|
@@ -1586,12 +1586,12 @@ class Sy extends mr {
|
|
|
1586
1586
|
return this.canAdd(e, t) ? t : "";
|
|
1587
1587
|
}
|
|
1588
1588
|
}
|
|
1589
|
-
const Jn =
|
|
1589
|
+
const Jn = Oy;
|
|
1590
1590
|
function Jo(r) {
|
|
1591
1591
|
const e = r.split("-"), t = e.slice(1).map((n) => n[0].toUpperCase() + n.slice(1)).join("");
|
|
1592
1592
|
return e[0] + t;
|
|
1593
1593
|
}
|
|
1594
|
-
class
|
|
1594
|
+
class Ay extends mr {
|
|
1595
1595
|
static keys(e) {
|
|
1596
1596
|
return (e.getAttribute("style") || "").split(";").map((t) => t.split(":")[0].trim());
|
|
1597
1597
|
}
|
|
@@ -1606,8 +1606,8 @@ class Oy extends mr {
|
|
|
1606
1606
|
return this.canAdd(e, t) ? t : "";
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
|
-
const Jr =
|
|
1610
|
-
class
|
|
1609
|
+
const Jr = Ay;
|
|
1610
|
+
class Ty {
|
|
1611
1611
|
constructor(e) {
|
|
1612
1612
|
this.attributes = {}, this.domNode = e, this.build();
|
|
1613
1613
|
}
|
|
@@ -1643,7 +1643,7 @@ class Ay {
|
|
|
1643
1643
|
);
|
|
1644
1644
|
}
|
|
1645
1645
|
}
|
|
1646
|
-
const Eo =
|
|
1646
|
+
const Eo = Ty, cf = class {
|
|
1647
1647
|
constructor(e, t) {
|
|
1648
1648
|
this.scroll = e, this.domNode = t, Bi.blots.set(t, this), this.prev = null, this.next = null;
|
|
1649
1649
|
}
|
|
@@ -1754,9 +1754,9 @@ const hf = class extends ff {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
};
|
|
1756
1756
|
hf.scope = Pe.INLINE_BLOT;
|
|
1757
|
-
let
|
|
1758
|
-
const Vt =
|
|
1759
|
-
class
|
|
1757
|
+
let _y = hf;
|
|
1758
|
+
const Vt = _y;
|
|
1759
|
+
class Ny {
|
|
1760
1760
|
constructor() {
|
|
1761
1761
|
this.head = null, this.tail = null, this.length = 0;
|
|
1762
1762
|
}
|
|
@@ -1890,7 +1890,7 @@ const df = class Ur extends ff {
|
|
|
1890
1890
|
* Called during construction, should fill its own children LinkedList.
|
|
1891
1891
|
*/
|
|
1892
1892
|
build() {
|
|
1893
|
-
this.children = new
|
|
1893
|
+
this.children = new Ny(), Array.from(this.domNode.childNodes).filter((e) => e !== this.uiNode).reverse().forEach((e) => {
|
|
1894
1894
|
try {
|
|
1895
1895
|
const t = lu(e, this.scroll);
|
|
1896
1896
|
this.insertBefore(t, this.children.head || void 0);
|
|
@@ -2024,9 +2024,9 @@ const df = class Ur extends ff {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
};
|
|
2026
2026
|
df.uiClass = "";
|
|
2027
|
-
let
|
|
2028
|
-
const Yn =
|
|
2029
|
-
function
|
|
2027
|
+
let Cy = df;
|
|
2028
|
+
const Yn = Cy;
|
|
2029
|
+
function Ly(r, e) {
|
|
2030
2030
|
if (Object.keys(r).length !== Object.keys(e).length)
|
|
2031
2031
|
return !1;
|
|
2032
2032
|
for (const t in r)
|
|
@@ -2075,7 +2075,7 @@ const Li = class Ri extends Yn {
|
|
|
2075
2075
|
if (Object.keys(t).length === 0)
|
|
2076
2076
|
return this.unwrap();
|
|
2077
2077
|
const n = this.next;
|
|
2078
|
-
n instanceof Ri && n.prev === this &&
|
|
2078
|
+
n instanceof Ri && n.prev === this && Ly(t, n.formats()) && (n.moveChildren(this), n.remove());
|
|
2079
2079
|
}
|
|
2080
2080
|
replaceWith(e, t) {
|
|
2081
2081
|
const n = super.replaceWith(e, t);
|
|
@@ -2092,8 +2092,8 @@ const Li = class Ri extends Yn {
|
|
|
2092
2092
|
}
|
|
2093
2093
|
};
|
|
2094
2094
|
Li.allowedChildren = [Li, Vt], Li.blotName = "inline", Li.scope = Pe.INLINE_BLOT, Li.tagName = "SPAN";
|
|
2095
|
-
let
|
|
2096
|
-
const sl =
|
|
2095
|
+
let Ry = Li;
|
|
2096
|
+
const sl = Ry, ki = class Ea extends Yn {
|
|
2097
2097
|
static create(e) {
|
|
2098
2098
|
return super.create(e);
|
|
2099
2099
|
}
|
|
@@ -2147,8 +2147,8 @@ ki.blotName = "block", ki.scope = Pe.BLOCK_BLOT, ki.tagName = "P", ki.allowedChi
|
|
|
2147
2147
|
ki,
|
|
2148
2148
|
Vt
|
|
2149
2149
|
];
|
|
2150
|
-
let
|
|
2151
|
-
const ys =
|
|
2150
|
+
let ky = ki;
|
|
2151
|
+
const ys = ky, Sa = class extends Yn {
|
|
2152
2152
|
checkMerge() {
|
|
2153
2153
|
return this.next !== null && this.next.statics.blotName === this.statics.blotName;
|
|
2154
2154
|
}
|
|
@@ -2166,9 +2166,9 @@ const ys = Ry, Sa = class extends Yn {
|
|
|
2166
2166
|
}
|
|
2167
2167
|
};
|
|
2168
2168
|
Sa.blotName = "container", Sa.scope = Pe.BLOCK_BLOT;
|
|
2169
|
-
let
|
|
2170
|
-
const So =
|
|
2171
|
-
class
|
|
2169
|
+
let Py = Sa;
|
|
2170
|
+
const So = Py;
|
|
2171
|
+
class qy extends Vt {
|
|
2172
2172
|
static formats(e, t) {
|
|
2173
2173
|
}
|
|
2174
2174
|
format(e, t) {
|
|
@@ -2181,17 +2181,17 @@ class Py extends Vt {
|
|
|
2181
2181
|
return this.statics.formats(this.domNode, this.scroll);
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
2184
|
-
const Sn =
|
|
2184
|
+
const Sn = qy, jy = {
|
|
2185
2185
|
attributes: !0,
|
|
2186
2186
|
characterData: !0,
|
|
2187
2187
|
characterDataOldValue: !0,
|
|
2188
2188
|
childList: !0,
|
|
2189
2189
|
subtree: !0
|
|
2190
|
-
},
|
|
2190
|
+
}, Iy = 100, Pi = class extends Yn {
|
|
2191
2191
|
constructor(e, t) {
|
|
2192
2192
|
super(null, t), this.registry = e, this.scroll = this, this.build(), this.observer = new MutationObserver((n) => {
|
|
2193
2193
|
this.update(n);
|
|
2194
|
-
}), this.observer.observe(this.domNode,
|
|
2194
|
+
}), this.observer.observe(this.domNode, jy), this.attach();
|
|
2195
2195
|
}
|
|
2196
2196
|
create(e, t) {
|
|
2197
2197
|
return this.registry.create(this, e, t);
|
|
@@ -2236,7 +2236,7 @@ const Sn = Py, qy = {
|
|
|
2236
2236
|
};
|
|
2237
2237
|
let u = e;
|
|
2238
2238
|
for (let f = 0; u.length > 0; f += 1) {
|
|
2239
|
-
if (f >=
|
|
2239
|
+
if (f >= Iy)
|
|
2240
2240
|
throw new Error("[Parchment] Maximum optimize iterations reached");
|
|
2241
2241
|
for (u.forEach((d) => {
|
|
2242
2242
|
const m = this.find(d.target, !0);
|
|
@@ -2262,8 +2262,8 @@ const Sn = Py, qy = {
|
|
|
2262
2262
|
}
|
|
2263
2263
|
};
|
|
2264
2264
|
Pi.blotName = "scroll", Pi.defaultChild = ys, Pi.allowedChildren = [ys, So], Pi.scope = Pe.BLOCK_BLOT, Pi.tagName = "DIV";
|
|
2265
|
-
let
|
|
2266
|
-
const ol =
|
|
2265
|
+
let $y = Pi;
|
|
2266
|
+
const ol = $y, Oa = class pf extends Vt {
|
|
2267
2267
|
static create(e) {
|
|
2268
2268
|
return document.createTextNode(e);
|
|
2269
2269
|
}
|
|
@@ -2309,8 +2309,8 @@ const ol = Iy, Oa = class pf extends Vt {
|
|
|
2309
2309
|
}
|
|
2310
2310
|
};
|
|
2311
2311
|
Oa.blotName = "text", Oa.scope = Pe.INLINE_BLOT;
|
|
2312
|
-
let
|
|
2313
|
-
const ao =
|
|
2312
|
+
let Dy = Oa;
|
|
2313
|
+
const ao = Dy, My = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2314
2314
|
__proto__: null,
|
|
2315
2315
|
Attributor: mr,
|
|
2316
2316
|
AttributorStore: Eo,
|
|
@@ -2328,7 +2328,7 @@ const ao = $y, Dy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2328
2328
|
TextBlot: ao
|
|
2329
2329
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2330
2330
|
var Bs = { exports: {} }, Zo, uu;
|
|
2331
|
-
function
|
|
2331
|
+
function By() {
|
|
2332
2332
|
if (uu) return Zo;
|
|
2333
2333
|
uu = 1;
|
|
2334
2334
|
var r = -1, e = 1, t = 0;
|
|
@@ -3620,7 +3620,7 @@ function mf() {
|
|
|
3620
3620
|
}(as, as.exports)), as.exports;
|
|
3621
3621
|
}
|
|
3622
3622
|
var Fs = {}, hu;
|
|
3623
|
-
function
|
|
3623
|
+
function Fy() {
|
|
3624
3624
|
if (hu) return Fs;
|
|
3625
3625
|
hu = 1, Object.defineProperty(Fs, "__esModule", { value: !0 });
|
|
3626
3626
|
const r = gf(), e = mf();
|
|
@@ -3673,7 +3673,7 @@ function yf() {
|
|
|
3673
3673
|
}(r || (r = {})), Us.default = r, Us;
|
|
3674
3674
|
}
|
|
3675
3675
|
var Ks = {}, pu;
|
|
3676
|
-
function
|
|
3676
|
+
function Uy() {
|
|
3677
3677
|
if (pu) return Ks;
|
|
3678
3678
|
pu = 1, Object.defineProperty(Ks, "__esModule", { value: !0 });
|
|
3679
3679
|
const r = yf();
|
|
@@ -3722,14 +3722,14 @@ function Fy() {
|
|
|
3722
3722
|
return Ks.default = e, Ks;
|
|
3723
3723
|
}
|
|
3724
3724
|
var gu;
|
|
3725
|
-
function
|
|
3725
|
+
function Ky() {
|
|
3726
3726
|
return gu || (gu = 1, function(r, e) {
|
|
3727
3727
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.AttributeMap = e.OpIterator = e.Op = void 0;
|
|
3728
|
-
const t =
|
|
3728
|
+
const t = By(), n = gf(), i = mf(), s = Fy();
|
|
3729
3729
|
e.AttributeMap = s.default;
|
|
3730
3730
|
const a = yf();
|
|
3731
3731
|
e.Op = a.default;
|
|
3732
|
-
const u =
|
|
3732
|
+
const u = Uy();
|
|
3733
3733
|
e.OpIterator = u.default;
|
|
3734
3734
|
const f = "\0", d = (v, y) => {
|
|
3735
3735
|
if (typeof v != "object" || v === null)
|
|
@@ -3985,7 +3985,7 @@ function Uy() {
|
|
|
3985
3985
|
m.Op = a.default, m.OpIterator = u.default, m.AttributeMap = s.default, m.handlers = {}, e.default = m, r.exports = m, r.exports.default = m;
|
|
3986
3986
|
}(Bs, Bs.exports)), Bs.exports;
|
|
3987
3987
|
}
|
|
3988
|
-
var Dn =
|
|
3988
|
+
var Dn = Ky();
|
|
3989
3989
|
const ke = /* @__PURE__ */ $c(Dn);
|
|
3990
3990
|
class Zn extends Sn {
|
|
3991
3991
|
static value() {
|
|
@@ -4004,7 +4004,7 @@ Zn.blotName = "break";
|
|
|
4004
4004
|
Zn.tagName = "BR";
|
|
4005
4005
|
let Gn = class extends ao {
|
|
4006
4006
|
};
|
|
4007
|
-
const
|
|
4007
|
+
const Hy = {
|
|
4008
4008
|
"&": "&",
|
|
4009
4009
|
"<": "<",
|
|
4010
4010
|
">": ">",
|
|
@@ -4012,7 +4012,7 @@ const Ky = {
|
|
|
4012
4012
|
"'": "'"
|
|
4013
4013
|
};
|
|
4014
4014
|
function Oo(r) {
|
|
4015
|
-
return r.replace(/[&<>"']/g, (e) =>
|
|
4015
|
+
return r.replace(/[&<>"']/g, (e) => Hy[e]);
|
|
4016
4016
|
}
|
|
4017
4017
|
const hr = class hr extends sl {
|
|
4018
4018
|
static compare(e, t) {
|
|
@@ -4254,7 +4254,7 @@ const qn = class qn extends Sn {
|
|
|
4254
4254
|
Oe(qn, "blotName", "cursor"), Oe(qn, "className", "ql-cursor"), Oe(qn, "tagName", "span"), Oe(qn, "CONTENTS", "\uFEFF");
|
|
4255
4255
|
let Fi = qn;
|
|
4256
4256
|
var Xo = { exports: {} }, yu;
|
|
4257
|
-
function
|
|
4257
|
+
function zy() {
|
|
4258
4258
|
return yu || (yu = 1, function(r) {
|
|
4259
4259
|
var e = Object.prototype.hasOwnProperty, t = "~";
|
|
4260
4260
|
function n() {
|
|
@@ -4360,8 +4360,8 @@ function Hy() {
|
|
|
4360
4360
|
}, u.prototype.off = u.prototype.removeListener, u.prototype.addListener = u.prototype.on, u.prefixed = t, u.EventEmitter = u, r.exports = u;
|
|
4361
4361
|
}(Xo)), Xo.exports;
|
|
4362
4362
|
}
|
|
4363
|
-
var
|
|
4364
|
-
const
|
|
4363
|
+
var Vy = zy();
|
|
4364
|
+
const Wy = /* @__PURE__ */ $c(Vy), Aa = /* @__PURE__ */ new WeakMap(), Ta = ["error", "warn", "log", "info"];
|
|
4365
4365
|
let _a = "warn";
|
|
4366
4366
|
function vf(r) {
|
|
4367
4367
|
if (_a && Ta.indexOf(r) <= Ta.indexOf(_a)) {
|
|
@@ -4377,8 +4377,8 @@ Rr.level = (r) => {
|
|
|
4377
4377
|
_a = r;
|
|
4378
4378
|
};
|
|
4379
4379
|
vf.level = Rr.level;
|
|
4380
|
-
const Qo = Rr("quill:events"),
|
|
4381
|
-
|
|
4380
|
+
const Qo = Rr("quill:events"), Yy = ["selectionchange", "mousedown", "mouseup", "click"];
|
|
4381
|
+
Yy.forEach((r) => {
|
|
4382
4382
|
document.addEventListener(r, function() {
|
|
4383
4383
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
4384
4384
|
t[n] = arguments[n];
|
|
@@ -4388,7 +4388,7 @@ Wy.forEach((r) => {
|
|
|
4388
4388
|
});
|
|
4389
4389
|
});
|
|
4390
4390
|
});
|
|
4391
|
-
class Ce extends
|
|
4391
|
+
class Ce extends Wy {
|
|
4392
4392
|
constructor() {
|
|
4393
4393
|
super(), this.domListeners = {}, this.on("error", Qo.error);
|
|
4394
4394
|
}
|
|
@@ -4441,7 +4441,7 @@ class ui {
|
|
|
4441
4441
|
this.index = e, this.length = t;
|
|
4442
4442
|
}
|
|
4443
4443
|
}
|
|
4444
|
-
class
|
|
4444
|
+
class Gy {
|
|
4445
4445
|
constructor(e, t) {
|
|
4446
4446
|
this.emitter = t, this.scroll = e, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.cursor = this.scroll.create("cursor", this), this.savedRange = new ui(0, 0), this.lastRange = this.savedRange, this.lastNative = null, this.handleComposition(), this.handleDragging(), this.emitter.listenDOM("selectionchange", document, () => {
|
|
4447
4447
|
!this.mouseDown && !this.composing && setTimeout(this.update.bind(this, Ce.sources.USER), 1);
|
|
@@ -4661,8 +4661,8 @@ function ta(r, e) {
|
|
|
4661
4661
|
}
|
|
4662
4662
|
return r.contains(e);
|
|
4663
4663
|
}
|
|
4664
|
-
const
|
|
4665
|
-
let
|
|
4664
|
+
const Jy = /^[ -~]*$/;
|
|
4665
|
+
let Zy = class {
|
|
4666
4666
|
constructor(e) {
|
|
4667
4667
|
this.scroll = e, this.delta = this.getDelta();
|
|
4668
4668
|
}
|
|
@@ -4671,7 +4671,7 @@ let Jy = class {
|
|
|
4671
4671
|
let t = this.scroll.length();
|
|
4672
4672
|
this.scroll.batchStart();
|
|
4673
4673
|
const n = bu(e), i = new ke();
|
|
4674
|
-
return
|
|
4674
|
+
return Qy(n.ops.slice()).reduce((a, u) => {
|
|
4675
4675
|
const f = Dn.Op.length(u);
|
|
4676
4676
|
let d = u.attributes || {}, m = !1, v = !1;
|
|
4677
4677
|
if (u.insert != null) {
|
|
@@ -4758,7 +4758,7 @@ let Jy = class {
|
|
|
4758
4758
|
for (; Object.keys(d).length > 0; ) {
|
|
4759
4759
|
const m = u.shift();
|
|
4760
4760
|
if (m == null) return d;
|
|
4761
|
-
d =
|
|
4761
|
+
d = Xy(jn(m), d);
|
|
4762
4762
|
}
|
|
4763
4763
|
return d;
|
|
4764
4764
|
});
|
|
@@ -4815,7 +4815,7 @@ let Jy = class {
|
|
|
4815
4815
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
|
|
4816
4816
|
const i = this.delta;
|
|
4817
4817
|
if (t.length === 1 && t[0].type === "characterData" && // @ts-expect-error Fix me later
|
|
4818
|
-
t[0].target.data.match(
|
|
4818
|
+
t[0].target.data.match(Jy) && this.scroll.find(t[0].target)) {
|
|
4819
4819
|
const s = this.scroll.find(t[0].target), a = jn(s), u = s.offset(this.scroll), f = t[0].oldValue.replace(Fi.CONTENTS, ""), d = new ke().insert(f), m = new ke().insert(s.value()), v = n && {
|
|
4820
4820
|
oldRange: vu(n.oldRange, -u),
|
|
4821
4821
|
newRange: vu(n.newRange, -u)
|
|
@@ -4879,7 +4879,7 @@ function bs(r, e, t) {
|
|
|
4879
4879
|
}
|
|
4880
4880
|
return r.domNode instanceof Element ? r.domNode.outerHTML : "";
|
|
4881
4881
|
}
|
|
4882
|
-
function
|
|
4882
|
+
function Xy(r, e) {
|
|
4883
4883
|
return Object.keys(e).reduce((t, n) => {
|
|
4884
4884
|
if (r[n] == null) return t;
|
|
4885
4885
|
const i = e[n];
|
|
@@ -4915,7 +4915,7 @@ function vu(r, e) {
|
|
|
4915
4915
|
} = r;
|
|
4916
4916
|
return new ui(t + e, n);
|
|
4917
4917
|
}
|
|
4918
|
-
function
|
|
4918
|
+
function Qy(r) {
|
|
4919
4919
|
const e = [];
|
|
4920
4920
|
return r.forEach((t) => {
|
|
4921
4921
|
typeof t.insert == "string" ? t.insert.split(`
|
|
@@ -4981,7 +4981,7 @@ class al extends Sn {
|
|
|
4981
4981
|
});
|
|
4982
4982
|
}
|
|
4983
4983
|
}
|
|
4984
|
-
class
|
|
4984
|
+
class eb {
|
|
4985
4985
|
constructor(e, t) {
|
|
4986
4986
|
Oe(this, "isComposing", !1);
|
|
4987
4987
|
this.scroll = e, this.emitter = t, this.setupListeners();
|
|
@@ -5024,7 +5024,7 @@ Oe(hs, "DEFAULTS", {
|
|
|
5024
5024
|
default: hs
|
|
5025
5025
|
});
|
|
5026
5026
|
let Ui = hs;
|
|
5027
|
-
const
|
|
5027
|
+
const tb = (r) => r.parentElement || r.getRootNode().host || null, nb = (r) => {
|
|
5028
5028
|
const e = r.getBoundingClientRect(), t = "offsetWidth" in r && Math.abs(e.width) / r.offsetWidth || 1, n = "offsetHeight" in r && Math.abs(e.height) / r.offsetHeight || 1;
|
|
5029
5029
|
return {
|
|
5030
5030
|
top: e.top,
|
|
@@ -5035,7 +5035,7 @@ const eb = (r) => r.parentElement || r.getRootNode().host || null, tb = (r) => {
|
|
|
5035
5035
|
}, zs = (r) => {
|
|
5036
5036
|
const e = parseInt(r, 10);
|
|
5037
5037
|
return Number.isNaN(e) ? 0 : e;
|
|
5038
|
-
}, wu = (r, e, t, n, i, s) => r < t && e > n ? 0 : r < t ? -(t - r + i) : e > n ? e - r > n - t ? r + i - t : e - n + s : 0,
|
|
5038
|
+
}, wu = (r, e, t, n, i, s) => r < t && e > n ? 0 : r < t ? -(t - r + i) : e > n ? e - r > n - t ? r + i - t : e - n + s : 0, rb = (r, e) => {
|
|
5039
5039
|
var s, a, u;
|
|
5040
5040
|
const t = r.ownerDocument;
|
|
5041
5041
|
let n = e, i = r;
|
|
@@ -5045,7 +5045,7 @@ const eb = (r) => r.parentElement || r.getRootNode().host || null, tb = (r) => {
|
|
|
5045
5045
|
right: ((s = window.visualViewport) == null ? void 0 : s.width) ?? t.documentElement.clientWidth,
|
|
5046
5046
|
bottom: ((a = window.visualViewport) == null ? void 0 : a.height) ?? t.documentElement.clientHeight,
|
|
5047
5047
|
left: 0
|
|
5048
|
-
} :
|
|
5048
|
+
} : nb(i), m = getComputedStyle(i), v = wu(n.left, n.right, d.left, d.right, zs(m.scrollPaddingLeft), zs(m.scrollPaddingRight)), y = wu(n.top, n.bottom, d.top, d.bottom, zs(m.scrollPaddingTop), zs(m.scrollPaddingBottom));
|
|
5049
5049
|
if (v || y)
|
|
5050
5050
|
if (f)
|
|
5051
5051
|
(u = t.defaultView) == null || u.scrollBy(v, y);
|
|
@@ -5063,11 +5063,11 @@ const eb = (r) => r.parentElement || r.getRootNode().host || null, tb = (r) => {
|
|
|
5063
5063
|
bottom: n.bottom - T
|
|
5064
5064
|
};
|
|
5065
5065
|
}
|
|
5066
|
-
i = f || m.position === "fixed" ? null :
|
|
5066
|
+
i = f || m.position === "fixed" ? null : tb(i);
|
|
5067
5067
|
}
|
|
5068
|
-
},
|
|
5068
|
+
}, ib = 100, sb = ["block", "break", "cursor", "inline", "scroll", "text"], ob = (r, e, t) => {
|
|
5069
5069
|
const n = new Bi();
|
|
5070
|
-
return
|
|
5070
|
+
return sb.forEach((i) => {
|
|
5071
5071
|
const s = e.query(i);
|
|
5072
5072
|
s && n.register(s);
|
|
5073
5073
|
}), r.forEach((i) => {
|
|
@@ -5075,7 +5075,7 @@ const eb = (r) => r.parentElement || r.getRootNode().host || null, tb = (r) => {
|
|
|
5075
5075
|
s || t.error(`Cannot register "${i}" specified in "formats" config. Are you sure it was registered?`);
|
|
5076
5076
|
let a = 0;
|
|
5077
5077
|
for (; s; )
|
|
5078
|
-
if (n.register(s), s = "blotName" in s ? s.requiredContainer ?? null : null, a += 1, a >
|
|
5078
|
+
if (n.register(s), s = "blotName" in s ? s.requiredContainer ?? null : null, a += 1, a > ib) {
|
|
5079
5079
|
t.error(`Cycle detected in registering blot requiredContainer: "${i}"`);
|
|
5080
5080
|
break;
|
|
5081
5081
|
}
|
|
@@ -5106,7 +5106,7 @@ const zn = class zn {
|
|
|
5106
5106
|
}
|
|
5107
5107
|
constructor(e) {
|
|
5108
5108
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5109
|
-
if (this.options =
|
|
5109
|
+
if (this.options = ab(e, t), this.container = this.options.container, this.container == null) {
|
|
5110
5110
|
Di.error("Invalid Quill container", e);
|
|
5111
5111
|
return;
|
|
5112
5112
|
}
|
|
@@ -5118,7 +5118,7 @@ const zn = class zn {
|
|
|
5118
5118
|
throw new Error(`Cannot initialize Quill without "${i}" blot`);
|
|
5119
5119
|
if (this.scroll = new s(this.options.registry, this.root, {
|
|
5120
5120
|
emitter: this.emitter
|
|
5121
|
-
}), this.editor = new
|
|
5121
|
+
}), this.editor = new Zy(this.scroll), this.selection = new Gy(this.scroll, this.emitter), this.composition = new eb(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.uploader = this.theme.addModule("uploader"), this.theme.addModule("input"), this.theme.addModule("uiNode"), this.theme.init(), this.emitter.on(Ce.events.EDITOR_CHANGE, (a) => {
|
|
5122
5122
|
a === Ce.events.TEXT_CHANGE && this.root.classList.toggle("ql-blank", this.editor.isBlank());
|
|
5123
5123
|
}), this.emitter.on(Ce.events.SCROLL_UPDATE, (a, u) => {
|
|
5124
5124
|
const f = this.selection.lastRange, [d] = this.selection.getRange(), m = f && d ? {
|
|
@@ -5297,7 +5297,7 @@ const zn = class zn {
|
|
|
5297
5297
|
return [e, t, , n] = Ar(e, t, n), Hn.call(this, () => this.editor.removeFormat(e, t), n, e);
|
|
5298
5298
|
}
|
|
5299
5299
|
scrollRectIntoView(e) {
|
|
5300
|
-
|
|
5300
|
+
rb(this.root, e);
|
|
5301
5301
|
}
|
|
5302
5302
|
/**
|
|
5303
5303
|
* @deprecated Use Quill#scrollSelectionIntoView() instead.
|
|
@@ -5353,7 +5353,7 @@ Oe(zn, "DEFAULTS", {
|
|
|
5353
5353
|
theme: "default"
|
|
5354
5354
|
}), Oe(zn, "events", Ce.events), Oe(zn, "sources", Ce.sources), Oe(zn, "version", "2.0.3"), Oe(zn, "imports", {
|
|
5355
5355
|
delta: ke,
|
|
5356
|
-
parchment:
|
|
5356
|
+
parchment: My,
|
|
5357
5357
|
"core/module": Xn,
|
|
5358
5358
|
"core/theme": Ui
|
|
5359
5359
|
});
|
|
@@ -5373,7 +5373,7 @@ function ra(r) {
|
|
|
5373
5373
|
function Eu(r) {
|
|
5374
5374
|
return Object.fromEntries(Object.entries(r).filter((e) => e[1] !== void 0));
|
|
5375
5375
|
}
|
|
5376
|
-
function
|
|
5376
|
+
function ab(r, e) {
|
|
5377
5377
|
const t = xu(r);
|
|
5378
5378
|
if (!t)
|
|
5379
5379
|
throw new Error("Invalid Quill container");
|
|
@@ -5400,7 +5400,7 @@ function ob(r, e) {
|
|
|
5400
5400
|
...Eu(e)
|
|
5401
5401
|
};
|
|
5402
5402
|
let y = e.registry;
|
|
5403
|
-
return y ? e.formats && Di.warn('Ignoring "formats" option because "registry" is specified') : y = e.formats ?
|
|
5403
|
+
return y ? e.formats && Di.warn('Ignoring "formats" option because "registry" is specified') : y = e.formats ? ob(e.formats, v.registry, Di) : v.registry, {
|
|
5404
5404
|
...v,
|
|
5405
5405
|
registry: y,
|
|
5406
5406
|
container: t,
|
|
@@ -5685,18 +5685,18 @@ function ia(r, e, t) {
|
|
|
5685
5685
|
const ll = {
|
|
5686
5686
|
scope: Pe.BLOCK,
|
|
5687
5687
|
whitelist: ["right", "center", "justify"]
|
|
5688
|
-
},
|
|
5688
|
+
}, lb = new mr("align", "align", ll), wf = new Jn("align", "ql-align", ll), xf = new Jr("align", "text-align", ll);
|
|
5689
5689
|
class Ef extends Jr {
|
|
5690
5690
|
value(e) {
|
|
5691
5691
|
let t = super.value(e);
|
|
5692
5692
|
return t.startsWith("rgb(") ? (t = t.replace(/^[^\d]+/, "").replace(/[^\d]+$/, ""), `#${t.split(",").map((i) => `00${parseInt(i, 10).toString(16)}`.slice(-2)).join("")}`) : t;
|
|
5693
5693
|
}
|
|
5694
5694
|
}
|
|
5695
|
-
const
|
|
5695
|
+
const ub = new Jn("color", "ql-color", {
|
|
5696
5696
|
scope: Pe.INLINE
|
|
5697
5697
|
}), ul = new Ef("color", "color", {
|
|
5698
5698
|
scope: Pe.INLINE
|
|
5699
|
-
}),
|
|
5699
|
+
}), cb = new Jn("background", "ql-bg", {
|
|
5700
5700
|
scope: Pe.INLINE
|
|
5701
5701
|
}), cl = new Ef("background", "background-color", {
|
|
5702
5702
|
scope: Pe.INLINE
|
|
@@ -5742,18 +5742,18 @@ const hl = {
|
|
|
5742
5742
|
scope: Pe.INLINE,
|
|
5743
5743
|
whitelist: ["serif", "monospace"]
|
|
5744
5744
|
}, _f = new Jn("font", "ql-font", Tf);
|
|
5745
|
-
class
|
|
5745
|
+
class fb extends Jr {
|
|
5746
5746
|
value(e) {
|
|
5747
5747
|
return super.value(e).replace(/["']/g, "");
|
|
5748
5748
|
}
|
|
5749
5749
|
}
|
|
5750
|
-
const Nf = new
|
|
5750
|
+
const Nf = new fb("font", "font-family", Tf), Cf = new Jn("size", "ql-size", {
|
|
5751
5751
|
scope: Pe.INLINE,
|
|
5752
5752
|
whitelist: ["small", "large", "huge"]
|
|
5753
5753
|
}), Lf = new Jr("size", "font-size", {
|
|
5754
5754
|
scope: Pe.INLINE,
|
|
5755
5755
|
whitelist: ["10px", "18px", "32px"]
|
|
5756
|
-
}),
|
|
5756
|
+
}), hb = Rr("quill:keyboard"), db = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
|
|
5757
5757
|
class Ao extends Xn {
|
|
5758
5758
|
static match(e, t) {
|
|
5759
5759
|
return ["altKey", "ctrlKey", "metaKey", "shiftKey"].some((n) => !!t[n] !== e[n] && t[n] !== null) ? !1 : t.key === e.key || t.key === e.which;
|
|
@@ -5809,9 +5809,9 @@ class Ao extends Xn {
|
|
|
5809
5809
|
}
|
|
5810
5810
|
addBinding(e) {
|
|
5811
5811
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
5812
|
-
const i =
|
|
5812
|
+
const i = gb(e);
|
|
5813
5813
|
if (i == null) {
|
|
5814
|
-
|
|
5814
|
+
hb.warn("Attempted to add invalid keyboard binding", i);
|
|
5815
5815
|
return;
|
|
5816
5816
|
}
|
|
5817
5817
|
typeof t == "function" && (t = {
|
|
@@ -5905,7 +5905,7 @@ class Ao extends Xn {
|
|
|
5905
5905
|
this.quill.updateContents(i, se.sources.USER), this.quill.setSelection(e.index + 1, se.sources.SILENT), this.quill.focus();
|
|
5906
5906
|
}
|
|
5907
5907
|
}
|
|
5908
|
-
const
|
|
5908
|
+
const pb = {
|
|
5909
5909
|
bindings: {
|
|
5910
5910
|
bold: sa("bold"),
|
|
5911
5911
|
italic: sa("italic"),
|
|
@@ -6035,7 +6035,7 @@ const db = {
|
|
|
6035
6035
|
handler(r) {
|
|
6036
6036
|
const e = this.quill.getModule("table");
|
|
6037
6037
|
if (e) {
|
|
6038
|
-
const [t, n, i, s] = e.getTable(r), a =
|
|
6038
|
+
const [t, n, i, s] = e.getTable(r), a = mb(t, n, i, s);
|
|
6039
6039
|
if (a == null) return;
|
|
6040
6040
|
let u = t.offset();
|
|
6041
6041
|
if (a < 0) {
|
|
@@ -6129,7 +6129,7 @@ const db = {
|
|
|
6129
6129
|
"table up": _u(!0)
|
|
6130
6130
|
}
|
|
6131
6131
|
};
|
|
6132
|
-
Ao.DEFAULTS =
|
|
6132
|
+
Ao.DEFAULTS = pb;
|
|
6133
6133
|
function Tu(r) {
|
|
6134
6134
|
return {
|
|
6135
6135
|
key: "Tab",
|
|
@@ -6207,7 +6207,7 @@ function _u(r) {
|
|
|
6207
6207
|
}
|
|
6208
6208
|
};
|
|
6209
6209
|
}
|
|
6210
|
-
function
|
|
6210
|
+
function gb(r) {
|
|
6211
6211
|
if (typeof r == "string" || typeof r == "number")
|
|
6212
6212
|
r = {
|
|
6213
6213
|
key: r
|
|
@@ -6216,7 +6216,7 @@ function pb(r) {
|
|
|
6216
6216
|
r = Ii(r);
|
|
6217
6217
|
else
|
|
6218
6218
|
return null;
|
|
6219
|
-
return r.shortKey && (r[
|
|
6219
|
+
return r.shortKey && (r[db] = r.shortKey, delete r.shortKey), r;
|
|
6220
6220
|
}
|
|
6221
6221
|
function dl(r) {
|
|
6222
6222
|
let {
|
|
@@ -6231,48 +6231,48 @@ function dl(r) {
|
|
|
6231
6231
|
}
|
|
6232
6232
|
e.deleteText(t, se.sources.USER), Object.keys(i).length > 0 && e.formatLine(t.index, 1, i, se.sources.USER), e.setSelection(t.index, se.sources.SILENT);
|
|
6233
6233
|
}
|
|
6234
|
-
function
|
|
6234
|
+
function mb(r, e, t, n) {
|
|
6235
6235
|
return e.prev == null && e.next == null ? t.prev == null && t.next == null ? n === 0 ? -1 : 1 : t.prev == null ? -1 : 1 : e.prev == null ? -1 : e.next == null ? 1 : null;
|
|
6236
6236
|
}
|
|
6237
|
-
const
|
|
6237
|
+
const yb = /font-weight:\s*normal/, bb = ["P", "OL", "UL"], Nu = (r) => r && bb.includes(r.tagName), vb = (r) => {
|
|
6238
6238
|
Array.from(r.querySelectorAll("br")).filter((e) => Nu(e.previousElementSibling) && Nu(e.nextElementSibling)).forEach((e) => {
|
|
6239
6239
|
var t;
|
|
6240
6240
|
(t = e.parentNode) == null || t.removeChild(e);
|
|
6241
6241
|
});
|
|
6242
|
-
},
|
|
6242
|
+
}, wb = (r) => {
|
|
6243
6243
|
Array.from(r.querySelectorAll('b[style*="font-weight"]')).filter((e) => {
|
|
6244
6244
|
var t;
|
|
6245
|
-
return (t = e.getAttribute("style")) == null ? void 0 : t.match(
|
|
6245
|
+
return (t = e.getAttribute("style")) == null ? void 0 : t.match(yb);
|
|
6246
6246
|
}).forEach((e) => {
|
|
6247
6247
|
var n;
|
|
6248
6248
|
const t = r.createDocumentFragment();
|
|
6249
6249
|
t.append(...e.childNodes), (n = e.parentNode) == null || n.replaceChild(t, e);
|
|
6250
6250
|
});
|
|
6251
6251
|
};
|
|
6252
|
-
function
|
|
6253
|
-
r.querySelector('[id^="docs-internal-guid-"]') && (
|
|
6252
|
+
function xb(r) {
|
|
6253
|
+
r.querySelector('[id^="docs-internal-guid-"]') && (wb(r), vb(r));
|
|
6254
6254
|
}
|
|
6255
|
-
const
|
|
6256
|
-
const t = r.getAttribute("style"), n = t == null ? void 0 : t.match(
|
|
6255
|
+
const Eb = /\bmso-list:[^;]*ignore/i, Sb = /\bmso-list:[^;]*\bl(\d+)/i, Ob = /\bmso-list:[^;]*\blevel(\d+)/i, Ab = (r, e) => {
|
|
6256
|
+
const t = r.getAttribute("style"), n = t == null ? void 0 : t.match(Sb);
|
|
6257
6257
|
if (!n)
|
|
6258
6258
|
return null;
|
|
6259
|
-
const i = Number(n[1]), s = t == null ? void 0 : t.match(
|
|
6259
|
+
const i = Number(n[1]), s = t == null ? void 0 : t.match(Ob), a = s ? Number(s[1]) : 1, u = new RegExp(`@list l${i}:level${a}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`, "i"), f = e.match(u), d = f && f[1] === "bullet" ? "bullet" : "ordered";
|
|
6260
6260
|
return {
|
|
6261
6261
|
id: i,
|
|
6262
6262
|
indent: a,
|
|
6263
6263
|
type: d,
|
|
6264
6264
|
element: r
|
|
6265
6265
|
};
|
|
6266
|
-
},
|
|
6266
|
+
}, Tb = (r) => {
|
|
6267
6267
|
var a, u;
|
|
6268
6268
|
const e = Array.from(r.querySelectorAll("[style*=mso-list]")), t = [], n = [];
|
|
6269
6269
|
e.forEach((f) => {
|
|
6270
|
-
(f.getAttribute("style") || "").match(
|
|
6270
|
+
(f.getAttribute("style") || "").match(Eb) ? t.push(f) : n.push(f);
|
|
6271
6271
|
}), t.forEach((f) => {
|
|
6272
6272
|
var d;
|
|
6273
6273
|
return (d = f.parentNode) == null ? void 0 : d.removeChild(f);
|
|
6274
6274
|
});
|
|
6275
|
-
const i = r.documentElement.innerHTML, s = n.map((f) =>
|
|
6275
|
+
const i = r.documentElement.innerHTML, s = n.map((f) => Ab(f, i)).filter((f) => f);
|
|
6276
6276
|
for (; s.length; ) {
|
|
6277
6277
|
const f = [];
|
|
6278
6278
|
let d = s.shift();
|
|
@@ -6295,17 +6295,17 @@ const xb = /\bmso-list:[^;]*ignore/i, Eb = /\bmso-list:[^;]*\bl(\d+)/i, Sb = /\b
|
|
|
6295
6295
|
});
|
|
6296
6296
|
}
|
|
6297
6297
|
};
|
|
6298
|
-
function
|
|
6299
|
-
r.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" &&
|
|
6298
|
+
function _b(r) {
|
|
6299
|
+
r.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" && Tb(r);
|
|
6300
6300
|
}
|
|
6301
|
-
const
|
|
6302
|
-
r.documentElement &&
|
|
6301
|
+
const Nb = [_b, xb], Cb = (r) => {
|
|
6302
|
+
r.documentElement && Nb.forEach((e) => {
|
|
6303
6303
|
e(r);
|
|
6304
6304
|
});
|
|
6305
|
-
},
|
|
6305
|
+
}, Lb = Rr("quill:clipboard"), Rb = [[Node.TEXT_NODE, Kb], [Node.TEXT_NODE, Lu], ["br", Ib], [Node.ELEMENT_NODE, Lu], [Node.ELEMENT_NODE, jb], [Node.ELEMENT_NODE, qb], [Node.ELEMENT_NODE, Fb], ["li", Mb], ["ol, ul", Bb], ["pre", $b], ["tr", Ub], ["b", oa("bold")], ["i", oa("italic")], ["strike", oa("strike")], ["style", Db]], kb = [lb, Sf].reduce((r, e) => (r[e.keyName] = e, r), {}), Cu = [xf, cl, ul, Af, Nf, Lf].reduce((r, e) => (r[e.keyName] = e, r), {});
|
|
6306
6306
|
class Rf extends Xn {
|
|
6307
6307
|
constructor(e, t) {
|
|
6308
|
-
super(e, t), this.quill.root.addEventListener("copy", (n) => this.onCaptureCopy(n, !1)), this.quill.root.addEventListener("cut", (n) => this.onCaptureCopy(n, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [],
|
|
6308
|
+
super(e, t), this.quill.root.addEventListener("copy", (n) => this.onCaptureCopy(n, !1)), this.quill.root.addEventListener("cut", (n) => this.onCaptureCopy(n, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], Rb.concat(this.options.matchers ?? []).forEach((n) => {
|
|
6309
6309
|
let [i, s] = n;
|
|
6310
6310
|
this.addMatcher(i, s);
|
|
6311
6311
|
});
|
|
@@ -6329,7 +6329,7 @@ class Rf extends Xn {
|
|
|
6329
6329
|
`) && (s.ops[s.ops.length - 1].attributes == null || i.table) ? s.compose(new ke().retain(s.length() - 1).delete(1)) : s;
|
|
6330
6330
|
}
|
|
6331
6331
|
normalizeHTML(e) {
|
|
6332
|
-
|
|
6332
|
+
Cb(e);
|
|
6333
6333
|
}
|
|
6334
6334
|
convertHTML(e) {
|
|
6335
6335
|
const t = new DOMParser().parseFromString(e, "text/html");
|
|
@@ -6421,7 +6421,7 @@ class Rf extends Xn {
|
|
|
6421
6421
|
text: n,
|
|
6422
6422
|
html: i
|
|
6423
6423
|
}, s);
|
|
6424
|
-
|
|
6424
|
+
Lb.log("onPaste", a, {
|
|
6425
6425
|
text: n,
|
|
6426
6426
|
html: i
|
|
6427
6427
|
});
|
|
@@ -6483,7 +6483,7 @@ function Hr(r, e) {
|
|
|
6483
6483
|
const t = e.query(r);
|
|
6484
6484
|
return t && t.prototype instanceof Sn ? !1 : ["address", "article", "blockquote", "canvas", "dd", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "iframe", "li", "main", "nav", "ol", "output", "p", "pre", "section", "table", "td", "tr", "ul", "video"].includes(r.tagName.toLowerCase());
|
|
6485
6485
|
}
|
|
6486
|
-
function
|
|
6486
|
+
function Pb(r, e) {
|
|
6487
6487
|
return r.previousElementSibling && r.nextElementSibling && !Hr(r.previousElementSibling, e) && !Hr(r.nextElementSibling, e);
|
|
6488
6488
|
}
|
|
6489
6489
|
const Ys = /* @__PURE__ */ new WeakMap();
|
|
@@ -6499,17 +6499,17 @@ function pl(r, e, t, n, i) {
|
|
|
6499
6499
|
function oa(r) {
|
|
6500
6500
|
return (e, t, n) => yi(t, r, !0, n);
|
|
6501
6501
|
}
|
|
6502
|
-
function
|
|
6502
|
+
function qb(r, e, t) {
|
|
6503
6503
|
const n = mr.keys(r), i = Jn.keys(r), s = Jr.keys(r), a = {};
|
|
6504
6504
|
return n.concat(i).concat(s).forEach((u) => {
|
|
6505
6505
|
let f = t.query(u, Pe.ATTRIBUTE);
|
|
6506
|
-
f != null && (a[f.attrName] = f.value(r), a[f.attrName]) || (f =
|
|
6506
|
+
f != null && (a[f.attrName] = f.value(r), a[f.attrName]) || (f = kb[u], f != null && (f.attrName === u || f.keyName === u) && (a[f.attrName] = f.value(r) || void 0), f = Cu[u], f != null && (f.attrName === u || f.keyName === u) && (f = Cu[u], a[f.attrName] = f.value(r) || void 0));
|
|
6507
6507
|
}), Object.entries(a).reduce((u, f) => {
|
|
6508
6508
|
let [d, m] = f;
|
|
6509
6509
|
return yi(u, d, m, t);
|
|
6510
6510
|
}, e);
|
|
6511
6511
|
}
|
|
6512
|
-
function
|
|
6512
|
+
function jb(r, e, t) {
|
|
6513
6513
|
const n = t.query(r);
|
|
6514
6514
|
if (n == null) return e;
|
|
6515
6515
|
if (n.prototype instanceof Sn) {
|
|
@@ -6522,19 +6522,19 @@ function qb(r, e, t) {
|
|
|
6522
6522
|
return yi(e, n.blotName, n.formats(r, t), t);
|
|
6523
6523
|
return e;
|
|
6524
6524
|
}
|
|
6525
|
-
function
|
|
6525
|
+
function Ib(r, e) {
|
|
6526
6526
|
return As(e, `
|
|
6527
6527
|
`) || e.insert(`
|
|
6528
6528
|
`), e;
|
|
6529
6529
|
}
|
|
6530
|
-
function
|
|
6530
|
+
function $b(r, e, t) {
|
|
6531
6531
|
const n = t.query("code-block"), i = n && "formats" in n && typeof n.formats == "function" ? n.formats(r, t) : !0;
|
|
6532
6532
|
return yi(e, "code-block", i, t);
|
|
6533
6533
|
}
|
|
6534
|
-
function
|
|
6534
|
+
function Db() {
|
|
6535
6535
|
return new ke();
|
|
6536
6536
|
}
|
|
6537
|
-
function
|
|
6537
|
+
function Mb(r, e, t) {
|
|
6538
6538
|
const n = t.query(r);
|
|
6539
6539
|
if (n == null || // @ts-expect-error
|
|
6540
6540
|
n.blotName !== "list" || !As(e, `
|
|
@@ -6548,7 +6548,7 @@ function Db(r, e, t) {
|
|
|
6548
6548
|
...u.attributes || {}
|
|
6549
6549
|
}) : a, new ke());
|
|
6550
6550
|
}
|
|
6551
|
-
function
|
|
6551
|
+
function Bb(r, e, t) {
|
|
6552
6552
|
const n = r;
|
|
6553
6553
|
let i = n.tagName === "OL" ? "ordered" : "bullet";
|
|
6554
6554
|
const s = n.getAttribute("data-checked");
|
|
@@ -6576,7 +6576,7 @@ function Lu(r, e, t) {
|
|
|
6576
6576
|
}
|
|
6577
6577
|
return e;
|
|
6578
6578
|
}
|
|
6579
|
-
function
|
|
6579
|
+
function Fb(r, e, t) {
|
|
6580
6580
|
var s;
|
|
6581
6581
|
const n = {}, i = r.style || {};
|
|
6582
6582
|
return i.fontStyle === "italic" && (n.italic = !0), i.textDecoration === "underline" && (n.underline = !0), i.textDecoration === "line-through" && (n.strike = !0), ((s = i.fontWeight) != null && s.startsWith("bold") || // @ts-expect-error Fix me later
|
|
@@ -6585,7 +6585,7 @@ function Bb(r, e, t) {
|
|
|
6585
6585
|
return yi(a, f, d, t);
|
|
6586
6586
|
}, e), parseFloat(i.textIndent || 0) > 0 ? new ke().insert(" ").concat(e) : e;
|
|
6587
6587
|
}
|
|
6588
|
-
function
|
|
6588
|
+
function Ub(r, e, t) {
|
|
6589
6589
|
var i, s;
|
|
6590
6590
|
const n = ((i = r.parentElement) == null ? void 0 : i.tagName) === "TABLE" ? r.parentElement : (s = r.parentElement) == null ? void 0 : s.parentElement;
|
|
6591
6591
|
if (n != null) {
|
|
@@ -6594,14 +6594,14 @@ function Fb(r, e, t) {
|
|
|
6594
6594
|
}
|
|
6595
6595
|
return e;
|
|
6596
6596
|
}
|
|
6597
|
-
function
|
|
6597
|
+
function Kb(r, e, t) {
|
|
6598
6598
|
var i;
|
|
6599
6599
|
let n = r.data;
|
|
6600
6600
|
if (((i = r.parentElement) == null ? void 0 : i.tagName) === "O:P")
|
|
6601
6601
|
return e.insert(n.trim());
|
|
6602
6602
|
if (!kf(r)) {
|
|
6603
6603
|
if (n.trim().length === 0 && n.includes(`
|
|
6604
|
-
`) && !
|
|
6604
|
+
`) && !Pb(r, t))
|
|
6605
6605
|
return e;
|
|
6606
6606
|
n = n.replace(/[^\S\u00a0]/g, " "), n = n.replace(/ {2,}/g, " "), (r.previousSibling == null && r.parentElement != null && Hr(r.parentElement, t) || r.previousSibling instanceof Element && Hr(r.previousSibling, t)) && (n = n.replace(/^ /, "")), (r.nextSibling == null && r.parentElement != null && Hr(r.parentElement, t) || r.nextSibling instanceof Element && Hr(r.nextSibling, t)) && (n = n.replace(/ $/, "")), n = n.replaceAll(" ", " ");
|
|
6607
6607
|
}
|
|
@@ -6683,7 +6683,7 @@ class Pf extends Xn {
|
|
|
6683
6683
|
if (t.range)
|
|
6684
6684
|
this.quill.setSelection(t.range, se.sources.USER);
|
|
6685
6685
|
else {
|
|
6686
|
-
const n =
|
|
6686
|
+
const n = zb(this.quill.scroll, t.delta);
|
|
6687
6687
|
this.quill.setSelection(n, se.sources.USER);
|
|
6688
6688
|
}
|
|
6689
6689
|
}
|
|
@@ -6703,15 +6703,15 @@ function Ru(r, e) {
|
|
|
6703
6703
|
}, t = i.delta.transform(t), r[n].delta.length() === 0 && r.splice(n, 1);
|
|
6704
6704
|
}
|
|
6705
6705
|
}
|
|
6706
|
-
function
|
|
6706
|
+
function Hb(r, e) {
|
|
6707
6707
|
const t = e.ops[e.ops.length - 1];
|
|
6708
6708
|
return t == null ? !1 : t.insert != null ? typeof t.insert == "string" && t.insert.endsWith(`
|
|
6709
6709
|
`) : t.attributes != null ? Object.keys(t.attributes).some((n) => r.query(n, Pe.BLOCK) != null) : !1;
|
|
6710
6710
|
}
|
|
6711
|
-
function
|
|
6711
|
+
function zb(r, e) {
|
|
6712
6712
|
const t = e.reduce((i, s) => i + (s.delete || 0), 0);
|
|
6713
6713
|
let n = e.length() - t;
|
|
6714
|
-
return
|
|
6714
|
+
return Hb(r, e) && (n -= 1), n;
|
|
6715
6715
|
}
|
|
6716
6716
|
function Na(r, e) {
|
|
6717
6717
|
if (!r) return r;
|
|
@@ -6767,8 +6767,8 @@ qf.DEFAULTS = {
|
|
|
6767
6767
|
});
|
|
6768
6768
|
}
|
|
6769
6769
|
};
|
|
6770
|
-
const
|
|
6771
|
-
class
|
|
6770
|
+
const Vb = ["insertText", "insertReplacementText"];
|
|
6771
|
+
class Wb extends Xn {
|
|
6772
6772
|
constructor(e, t) {
|
|
6773
6773
|
super(e, t), e.root.addEventListener("beforeinput", (n) => {
|
|
6774
6774
|
this.handleBeforeInput(n);
|
|
@@ -6793,12 +6793,12 @@ class Vb extends Xn {
|
|
|
6793
6793
|
return this.quill.setSelection(e.index + t.length, 0, se.sources.SILENT), !0;
|
|
6794
6794
|
}
|
|
6795
6795
|
handleBeforeInput(e) {
|
|
6796
|
-
if (this.quill.composition.isComposing || e.defaultPrevented || !
|
|
6796
|
+
if (this.quill.composition.isComposing || e.defaultPrevented || !Vb.includes(e.inputType))
|
|
6797
6797
|
return;
|
|
6798
6798
|
const t = e.getTargetRanges ? e.getTargetRanges()[0] : null;
|
|
6799
6799
|
if (!t || t.collapsed === !0)
|
|
6800
6800
|
return;
|
|
6801
|
-
const n =
|
|
6801
|
+
const n = Yb(e);
|
|
6802
6802
|
if (n == null)
|
|
6803
6803
|
return;
|
|
6804
6804
|
const i = this.quill.selection.normalizeNative(t), s = i ? this.quill.selection.normalizedToRange(i) : null;
|
|
@@ -6809,13 +6809,13 @@ class Vb extends Xn {
|
|
|
6809
6809
|
e && this.replaceText(e);
|
|
6810
6810
|
}
|
|
6811
6811
|
}
|
|
6812
|
-
function
|
|
6812
|
+
function Yb(r) {
|
|
6813
6813
|
var e;
|
|
6814
6814
|
return typeof r.data == "string" ? r.data : (e = r.dataTransfer) != null && e.types.includes("text/plain") ? r.dataTransfer.getData("text/plain") : null;
|
|
6815
6815
|
}
|
|
6816
|
-
const
|
|
6817
|
-
r.key === "ArrowUp" || r.key === "ArrowDown" || r.key === "Home" ||
|
|
6818
|
-
class
|
|
6816
|
+
const Gb = /Mac/i.test(navigator.platform), Jb = 100, Zb = (r) => !!(r.key === "ArrowLeft" || r.key === "ArrowRight" || // RTL scripts or moving from the end of the previous line
|
|
6817
|
+
r.key === "ArrowUp" || r.key === "ArrowDown" || r.key === "Home" || Gb && r.key === "a" && r.ctrlKey === !0);
|
|
6818
|
+
class Xb extends Xn {
|
|
6819
6819
|
constructor(t, n) {
|
|
6820
6820
|
super(t, n);
|
|
6821
6821
|
Oe(this, "isListening", !1);
|
|
@@ -6841,7 +6841,7 @@ class Zb extends Xn {
|
|
|
6841
6841
|
}
|
|
6842
6842
|
handleNavigationShortcuts() {
|
|
6843
6843
|
this.quill.root.addEventListener("keydown", (t) => {
|
|
6844
|
-
!t.defaultPrevented &&
|
|
6844
|
+
!t.defaultPrevented && Zb(t) && this.ensureListeningToSelectionChange();
|
|
6845
6845
|
});
|
|
6846
6846
|
}
|
|
6847
6847
|
/**
|
|
@@ -6851,7 +6851,7 @@ class Zb extends Xn {
|
|
|
6851
6851
|
* the selection within the handler of a `selectionchange` event.
|
|
6852
6852
|
*/
|
|
6853
6853
|
ensureListeningToSelectionChange() {
|
|
6854
|
-
if (this.selectionChangeDeadline = Date.now() +
|
|
6854
|
+
if (this.selectionChangeDeadline = Date.now() + Jb, this.isListening) return;
|
|
6855
6855
|
this.isListening = !0;
|
|
6856
6856
|
const t = () => {
|
|
6857
6857
|
this.isListening = !1, Date.now() <= this.selectionChangeDeadline && this.handleSelectionChange();
|
|
@@ -6885,10 +6885,10 @@ se.register({
|
|
|
6885
6885
|
"modules/history": Pf,
|
|
6886
6886
|
"modules/keyboard": Ao,
|
|
6887
6887
|
"modules/uploader": qf,
|
|
6888
|
-
"modules/input":
|
|
6889
|
-
"modules/uiNode":
|
|
6888
|
+
"modules/input": Wb,
|
|
6889
|
+
"modules/uiNode": Xb
|
|
6890
6890
|
});
|
|
6891
|
-
class
|
|
6891
|
+
class Qb extends Jn {
|
|
6892
6892
|
add(e, t) {
|
|
6893
6893
|
let n = 0;
|
|
6894
6894
|
if (t === "+1" || t === "-1") {
|
|
@@ -6904,7 +6904,7 @@ class Xb extends Jn {
|
|
|
6904
6904
|
return parseInt(super.value(e), 10) || void 0;
|
|
6905
6905
|
}
|
|
6906
6906
|
}
|
|
6907
|
-
const
|
|
6907
|
+
const ev = new Qb("indent", "ql-indent", {
|
|
6908
6908
|
scope: Pe.BLOCK,
|
|
6909
6909
|
// @ts-expect-error
|
|
6910
6910
|
whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
@@ -7164,7 +7164,7 @@ ${Oo(this.code(e, t))}
|
|
|
7164
7164
|
cs.allowedChildren = [In];
|
|
7165
7165
|
In.requiredContainer = cs;
|
|
7166
7166
|
In.allowedChildren = [Nr, Fi, Gn, Zn];
|
|
7167
|
-
const
|
|
7167
|
+
const tv = (r, e, t) => {
|
|
7168
7168
|
if (typeof r.versionString == "string") {
|
|
7169
7169
|
const n = r.versionString.split(".")[0];
|
|
7170
7170
|
if (parseInt(n, 10) >= 11)
|
|
@@ -7230,7 +7230,7 @@ class If extends Xn {
|
|
|
7230
7230
|
[Yt.blotName]: t
|
|
7231
7231
|
}), i.insert(s)), new ke());
|
|
7232
7232
|
const n = this.quill.root.ownerDocument.createElement("div");
|
|
7233
|
-
return n.classList.add(Yt.className), n.innerHTML =
|
|
7233
|
+
return n.classList.add(Yt.className), n.innerHTML = tv(this.options.hljs, t, e), pl(this.quill.scroll, n, [(i, s) => {
|
|
7234
7234
|
const a = ls.value(i);
|
|
7235
7235
|
return a ? s.compose(new ke().retain(s.length(), {
|
|
7236
7236
|
[Nr.blotName]: a
|
|
@@ -7400,7 +7400,7 @@ Wn.requiredContainer = Cr;
|
|
|
7400
7400
|
function gl() {
|
|
7401
7401
|
return `row-${Math.random().toString(36).slice(2, 6)}`;
|
|
7402
7402
|
}
|
|
7403
|
-
let
|
|
7403
|
+
let nv = class extends Xn {
|
|
7404
7404
|
static register() {
|
|
7405
7405
|
se.register(Wn), se.register(Cr), se.register(gr), se.register(Ki);
|
|
7406
7406
|
}
|
|
@@ -7491,7 +7491,7 @@ class ml extends Xn {
|
|
|
7491
7491
|
var n, i;
|
|
7492
7492
|
if (super(e, t), Array.isArray(this.options.container)) {
|
|
7493
7493
|
const s = document.createElement("div");
|
|
7494
|
-
s.setAttribute("role", "toolbar"),
|
|
7494
|
+
s.setAttribute("role", "toolbar"), rv(s, this.options.container), (i = (n = e.container) == null ? void 0 : n.parentNode) == null || i.insertBefore(s, e.container), this.container = s;
|
|
7495
7495
|
} else typeof this.options.container == "string" ? this.container = document.querySelector(this.options.container) : this.container = this.options.container;
|
|
7496
7496
|
if (!(this.container instanceof HTMLElement)) {
|
|
7497
7497
|
qu.error("Container required for toolbar", this.options);
|
|
@@ -7576,7 +7576,7 @@ function ju(r, e, t) {
|
|
|
7576
7576
|
const n = document.createElement("button");
|
|
7577
7577
|
n.setAttribute("type", "button"), n.classList.add(`ql-${e}`), n.setAttribute("aria-pressed", "false"), t != null ? (n.value = t, n.setAttribute("aria-label", `${e}: ${t}`)) : n.setAttribute("aria-label", e), r.appendChild(n);
|
|
7578
7578
|
}
|
|
7579
|
-
function
|
|
7579
|
+
function rv(r, e) {
|
|
7580
7580
|
Array.isArray(e[0]) || (e = [e]), e.forEach((t) => {
|
|
7581
7581
|
const n = document.createElement("span");
|
|
7582
7582
|
n.classList.add("ql-formats"), t.forEach((i) => {
|
|
@@ -7584,12 +7584,12 @@ function nv(r, e) {
|
|
|
7584
7584
|
ju(n, i);
|
|
7585
7585
|
else {
|
|
7586
7586
|
const s = Object.keys(i)[0], a = i[s];
|
|
7587
|
-
Array.isArray(a) ?
|
|
7587
|
+
Array.isArray(a) ? iv(n, s, a) : ju(n, s, a);
|
|
7588
7588
|
}
|
|
7589
7589
|
}), r.appendChild(n);
|
|
7590
7590
|
});
|
|
7591
7591
|
}
|
|
7592
|
-
function
|
|
7592
|
+
function iv(r, e, t) {
|
|
7593
7593
|
const n = document.createElement("select");
|
|
7594
7594
|
n.classList.add(`ql-${e}`), t.forEach((i) => {
|
|
7595
7595
|
const s = document.createElement("option");
|
|
@@ -7632,54 +7632,54 @@ ml.DEFAULTS = {
|
|
|
7632
7632
|
}
|
|
7633
7633
|
}
|
|
7634
7634
|
};
|
|
7635
|
-
const iv = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', sv = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', ov = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', av = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', lv = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', uv = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', cv = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', fv = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', Iu = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', hv = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', dv = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', pv = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', gv = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', mv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', yv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', bv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', vv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', wv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', xv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', Ev = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', Sv = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', Ov = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', Av = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', Tv = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', _v = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', Nv = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', Cv = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', Lv = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', Rv = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', kv = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', Pv = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', qv = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', jv = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', ws = {
|
|
7635
|
+
const sv = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', ov = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', av = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', lv = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', uv = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', cv = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', fv = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', hv = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', Iu = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', dv = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', pv = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', gv = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', mv = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', yv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', bv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', vv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', wv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', xv = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', Ev = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', Sv = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', Ov = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', Av = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', Tv = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', _v = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', Nv = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', Cv = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', Lv = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', Rv = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', kv = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', Pv = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', qv = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', jv = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', Iv = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', ws = {
|
|
7636
7636
|
align: {
|
|
7637
|
-
"":
|
|
7638
|
-
center:
|
|
7639
|
-
right:
|
|
7640
|
-
justify:
|
|
7637
|
+
"": sv,
|
|
7638
|
+
center: ov,
|
|
7639
|
+
right: av,
|
|
7640
|
+
justify: lv
|
|
7641
7641
|
},
|
|
7642
|
-
background:
|
|
7643
|
-
blockquote:
|
|
7644
|
-
bold:
|
|
7645
|
-
clean:
|
|
7642
|
+
background: uv,
|
|
7643
|
+
blockquote: cv,
|
|
7644
|
+
bold: fv,
|
|
7645
|
+
clean: hv,
|
|
7646
7646
|
code: Iu,
|
|
7647
7647
|
"code-block": Iu,
|
|
7648
|
-
color:
|
|
7648
|
+
color: dv,
|
|
7649
7649
|
direction: {
|
|
7650
|
-
"":
|
|
7651
|
-
rtl:
|
|
7650
|
+
"": pv,
|
|
7651
|
+
rtl: gv
|
|
7652
7652
|
},
|
|
7653
|
-
formula:
|
|
7653
|
+
formula: mv,
|
|
7654
7654
|
header: {
|
|
7655
|
-
1:
|
|
7656
|
-
2:
|
|
7657
|
-
3:
|
|
7658
|
-
4:
|
|
7659
|
-
5:
|
|
7660
|
-
6:
|
|
7655
|
+
1: yv,
|
|
7656
|
+
2: bv,
|
|
7657
|
+
3: vv,
|
|
7658
|
+
4: wv,
|
|
7659
|
+
5: xv,
|
|
7660
|
+
6: Ev
|
|
7661
7661
|
},
|
|
7662
|
-
italic:
|
|
7663
|
-
image:
|
|
7662
|
+
italic: Sv,
|
|
7663
|
+
image: Ov,
|
|
7664
7664
|
indent: {
|
|
7665
|
-
"+1":
|
|
7666
|
-
"-1":
|
|
7665
|
+
"+1": Av,
|
|
7666
|
+
"-1": Tv
|
|
7667
7667
|
},
|
|
7668
|
-
link:
|
|
7668
|
+
link: _v,
|
|
7669
7669
|
list: {
|
|
7670
|
-
bullet:
|
|
7671
|
-
check:
|
|
7672
|
-
ordered:
|
|
7670
|
+
bullet: Nv,
|
|
7671
|
+
check: Cv,
|
|
7672
|
+
ordered: Lv
|
|
7673
7673
|
},
|
|
7674
7674
|
script: {
|
|
7675
|
-
sub:
|
|
7676
|
-
super:
|
|
7675
|
+
sub: Rv,
|
|
7676
|
+
super: kv
|
|
7677
7677
|
},
|
|
7678
|
-
strike:
|
|
7679
|
-
table:
|
|
7680
|
-
underline:
|
|
7681
|
-
video:
|
|
7682
|
-
},
|
|
7678
|
+
strike: Pv,
|
|
7679
|
+
table: qv,
|
|
7680
|
+
underline: jv,
|
|
7681
|
+
video: Iv
|
|
7682
|
+
}, $v = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';
|
|
7683
7683
|
let $u = 0;
|
|
7684
7684
|
function Du(r, e) {
|
|
7685
7685
|
r.setAttribute(e, `${r.getAttribute(e) !== "true"}`);
|
|
@@ -7721,7 +7721,7 @@ class To {
|
|
|
7721
7721
|
}
|
|
7722
7722
|
buildLabel() {
|
|
7723
7723
|
const e = document.createElement("span");
|
|
7724
|
-
return e.classList.add("ql-picker-label"), e.innerHTML =
|
|
7724
|
+
return e.classList.add("ql-picker-label"), e.innerHTML = $v, e.tabIndex = "0", e.setAttribute("role", "button"), e.setAttribute("aria-expanded", "false"), this.container.appendChild(e), e;
|
|
7725
7725
|
}
|
|
7726
7726
|
buildOptions() {
|
|
7727
7727
|
const e = document.createElement("span");
|
|
@@ -7791,7 +7791,7 @@ class Df extends To {
|
|
|
7791
7791
|
}
|
|
7792
7792
|
}
|
|
7793
7793
|
}
|
|
7794
|
-
const
|
|
7794
|
+
const Dv = (r) => {
|
|
7795
7795
|
const {
|
|
7796
7796
|
overflowY: e
|
|
7797
7797
|
} = getComputedStyle(r, null);
|
|
@@ -7799,7 +7799,7 @@ const $v = (r) => {
|
|
|
7799
7799
|
};
|
|
7800
7800
|
class Mf {
|
|
7801
7801
|
constructor(e, t) {
|
|
7802
|
-
this.quill = e, this.boundsContainer = t || document.body, this.root = e.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE,
|
|
7802
|
+
this.quill = e, this.boundsContainer = t || document.body, this.root = e.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE, Dv(this.quill.root) && this.quill.root.addEventListener("scroll", () => {
|
|
7803
7803
|
this.root.style.marginTop = `${-1 * this.quill.root.scrollTop}px`;
|
|
7804
7804
|
}), this.hide();
|
|
7805
7805
|
}
|
|
@@ -7821,7 +7821,7 @@ class Mf {
|
|
|
7821
7821
|
this.root.classList.remove("ql-editing"), this.root.classList.remove("ql-hidden");
|
|
7822
7822
|
}
|
|
7823
7823
|
}
|
|
7824
|
-
const
|
|
7824
|
+
const Mv = [!1, "center", "right", "justify"], Bv = ["#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"], Fv = [!1, "serif", "monospace"], Uv = ["1", "2", "3", !1], Kv = ["small", !1, "large", "huge"];
|
|
7825
7825
|
class Ns extends Ui {
|
|
7826
7826
|
constructor(e, t) {
|
|
7827
7827
|
super(e, t);
|
|
@@ -7859,13 +7859,13 @@ class Ns extends Ui {
|
|
|
7859
7859
|
}
|
|
7860
7860
|
buildPickers(e, t) {
|
|
7861
7861
|
this.pickers = Array.from(e).map((i) => {
|
|
7862
|
-
if (i.classList.contains("ql-align") && (i.querySelector("option") == null && ns(i,
|
|
7862
|
+
if (i.classList.contains("ql-align") && (i.querySelector("option") == null && ns(i, Mv), typeof t.align == "object"))
|
|
7863
7863
|
return new Df(i, t.align);
|
|
7864
7864
|
if (i.classList.contains("ql-background") || i.classList.contains("ql-color")) {
|
|
7865
7865
|
const s = i.classList.contains("ql-background") ? "background" : "color";
|
|
7866
|
-
return i.querySelector("option") == null && ns(i,
|
|
7866
|
+
return i.querySelector("option") == null && ns(i, Bv, s === "background" ? "#ffffff" : "#000000"), new $f(i, t[s]);
|
|
7867
7867
|
}
|
|
7868
|
-
return i.querySelector("option") == null && (i.classList.contains("ql-font") ? ns(i,
|
|
7868
|
+
return i.querySelector("option") == null && (i.classList.contains("ql-font") ? ns(i, Fv) : i.classList.contains("ql-header") ? ns(i, Uv) : i.classList.contains("ql-size") && ns(i, Kv)), new To(i);
|
|
7869
7869
|
});
|
|
7870
7870
|
const n = () => {
|
|
7871
7871
|
this.pickers.forEach((i) => {
|
|
@@ -7933,7 +7933,7 @@ class Bf extends Mf {
|
|
|
7933
7933
|
break;
|
|
7934
7934
|
}
|
|
7935
7935
|
case "video":
|
|
7936
|
-
e =
|
|
7936
|
+
e = Hv(e);
|
|
7937
7937
|
// eslint-disable-next-line no-fallthrough
|
|
7938
7938
|
case "formula": {
|
|
7939
7939
|
if (!e) break;
|
|
@@ -7954,7 +7954,7 @@ class Bf extends Mf {
|
|
|
7954
7954
|
this.textbox.value = "", this.hide();
|
|
7955
7955
|
}
|
|
7956
7956
|
}
|
|
7957
|
-
function
|
|
7957
|
+
function Hv(r) {
|
|
7958
7958
|
let e = r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/) || r.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);
|
|
7959
7959
|
return e ? `${e[1] || "https"}://www.youtube.com/embed/${e[2]}?showinfo=0` : (e = r.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? `${e[1] || "https"}://player.vimeo.com/video/${e[2]}/` : r;
|
|
7960
7960
|
}
|
|
@@ -7965,7 +7965,7 @@ function ns(r, e) {
|
|
|
7965
7965
|
n === t ? i.setAttribute("selected", "selected") : i.setAttribute("value", String(n)), r.appendChild(i);
|
|
7966
7966
|
});
|
|
7967
7967
|
}
|
|
7968
|
-
const
|
|
7968
|
+
const zv = [["bold", "italic", "link"], [{
|
|
7969
7969
|
header: 1
|
|
7970
7970
|
}, {
|
|
7971
7971
|
header: 2
|
|
@@ -8012,7 +8012,7 @@ class Ff extends Bf {
|
|
|
8012
8012
|
Oe(Ff, "TEMPLATE", ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""));
|
|
8013
8013
|
class Uf extends Ns {
|
|
8014
8014
|
constructor(e, t) {
|
|
8015
|
-
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container =
|
|
8015
|
+
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = zv), super(e, t), this.quill.container.classList.add("ql-bubble");
|
|
8016
8016
|
}
|
|
8017
8017
|
extendToolbar(e) {
|
|
8018
8018
|
this.tooltip = new Ff(this.quill, this.options.bounds), e.container != null && (this.tooltip.root.appendChild(e.container), this.buildButtons(e.container.querySelectorAll("button"), ws), this.buildPickers(e.container.querySelectorAll("select"), ws));
|
|
@@ -8029,7 +8029,7 @@ Uf.DEFAULTS = Vr({}, Ns.DEFAULTS, {
|
|
|
8029
8029
|
}
|
|
8030
8030
|
}
|
|
8031
8031
|
});
|
|
8032
|
-
const
|
|
8032
|
+
const Vv = [[{
|
|
8033
8033
|
header: ["1", "2", "3", !1]
|
|
8034
8034
|
}], ["bold", "italic", "underline", "link"], [{
|
|
8035
8035
|
list: "ordered"
|
|
@@ -8075,7 +8075,7 @@ class Kf extends Bf {
|
|
|
8075
8075
|
Oe(Kf, "TEMPLATE", ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""));
|
|
8076
8076
|
class Hf extends Ns {
|
|
8077
8077
|
constructor(e, t) {
|
|
8078
|
-
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container =
|
|
8078
|
+
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = Vv), super(e, t), this.quill.container.classList.add("ql-snow");
|
|
8079
8079
|
}
|
|
8080
8080
|
extendToolbar(e) {
|
|
8081
8081
|
e.container != null && (e.container.classList.add("ql-snow"), this.buildButtons(e.container.querySelectorAll("button"), ws), this.buildPickers(e.container.querySelectorAll("select"), ws), this.tooltip = new Kf(this.quill, this.options.bounds), e.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({
|
|
@@ -8110,8 +8110,8 @@ Hf.DEFAULTS = Vr({}, Ns.DEFAULTS, {
|
|
|
8110
8110
|
se.register({
|
|
8111
8111
|
"attributors/attribute/direction": Sf,
|
|
8112
8112
|
"attributors/class/align": wf,
|
|
8113
|
-
"attributors/class/background":
|
|
8114
|
-
"attributors/class/color":
|
|
8113
|
+
"attributors/class/background": cb,
|
|
8114
|
+
"attributors/class/color": ub,
|
|
8115
8115
|
"attributors/class/direction": Of,
|
|
8116
8116
|
"attributors/class/font": _f,
|
|
8117
8117
|
"attributors/class/size": Cf,
|
|
@@ -8125,7 +8125,7 @@ se.register({
|
|
|
8125
8125
|
se.register({
|
|
8126
8126
|
"formats/align": wf,
|
|
8127
8127
|
"formats/direction": Of,
|
|
8128
|
-
"formats/indent":
|
|
8128
|
+
"formats/indent": ev,
|
|
8129
8129
|
"formats/background": cl,
|
|
8130
8130
|
"formats/color": ul,
|
|
8131
8131
|
"formats/font": _f,
|
|
@@ -8145,7 +8145,7 @@ se.register({
|
|
|
8145
8145
|
"formats/image": ja,
|
|
8146
8146
|
"formats/video": eo,
|
|
8147
8147
|
"modules/syntax": If,
|
|
8148
|
-
"modules/table":
|
|
8148
|
+
"modules/table": nv,
|
|
8149
8149
|
"modules/toolbar": ml,
|
|
8150
8150
|
"themes/bubble": Uf,
|
|
8151
8151
|
"themes/snow": Hf,
|
|
@@ -8155,7 +8155,7 @@ se.register({
|
|
|
8155
8155
|
"ui/color-picker": $f,
|
|
8156
8156
|
"ui/tooltip": Mf
|
|
8157
8157
|
}, !0);
|
|
8158
|
-
function
|
|
8158
|
+
function Wv(r) {
|
|
8159
8159
|
const { value: e, style: t, ...n } = r, i = Hh(null);
|
|
8160
8160
|
return zh(() => {
|
|
8161
8161
|
const s = i.current, a = s.ownerDocument.createElement("div");
|
|
@@ -8177,10 +8177,10 @@ var zf = {
|
|
|
8177
8177
|
className: void 0,
|
|
8178
8178
|
style: void 0,
|
|
8179
8179
|
attr: void 0
|
|
8180
|
-
}, Mu = Tr.createContext && /* @__PURE__ */ Tr.createContext(zf),
|
|
8181
|
-
function
|
|
8180
|
+
}, Mu = Tr.createContext && /* @__PURE__ */ Tr.createContext(zf), Yv = ["attr", "size", "title"];
|
|
8181
|
+
function Gv(r, e) {
|
|
8182
8182
|
if (r == null) return {};
|
|
8183
|
-
var t =
|
|
8183
|
+
var t = Jv(r, e), n, i;
|
|
8184
8184
|
if (Object.getOwnPropertySymbols) {
|
|
8185
8185
|
var s = Object.getOwnPropertySymbols(r);
|
|
8186
8186
|
for (i = 0; i < s.length; i++)
|
|
@@ -8188,7 +8188,7 @@ function Yv(r, e) {
|
|
|
8188
8188
|
}
|
|
8189
8189
|
return t;
|
|
8190
8190
|
}
|
|
8191
|
-
function
|
|
8191
|
+
function Jv(r, e) {
|
|
8192
8192
|
if (r == null) return {};
|
|
8193
8193
|
var t = {};
|
|
8194
8194
|
for (var n in r)
|
|
@@ -8222,21 +8222,21 @@ function uo(r) {
|
|
|
8222
8222
|
for (var e = 1; e < arguments.length; e++) {
|
|
8223
8223
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
8224
8224
|
e % 2 ? Bu(Object(t), !0).forEach(function(n) {
|
|
8225
|
-
|
|
8225
|
+
Zv(r, n, t[n]);
|
|
8226
8226
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : Bu(Object(t)).forEach(function(n) {
|
|
8227
8227
|
Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(t, n));
|
|
8228
8228
|
});
|
|
8229
8229
|
}
|
|
8230
8230
|
return r;
|
|
8231
8231
|
}
|
|
8232
|
-
function
|
|
8233
|
-
return e =
|
|
8232
|
+
function Zv(r, e, t) {
|
|
8233
|
+
return e = Xv(e), e in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
|
|
8234
8234
|
}
|
|
8235
|
-
function
|
|
8236
|
-
var e =
|
|
8235
|
+
function Xv(r) {
|
|
8236
|
+
var e = Qv(r, "string");
|
|
8237
8237
|
return typeof e == "symbol" ? e : e + "";
|
|
8238
8238
|
}
|
|
8239
|
-
function
|
|
8239
|
+
function Qv(r, e) {
|
|
8240
8240
|
if (typeof r != "object" || !r) return r;
|
|
8241
8241
|
var t = r[Symbol.toPrimitive];
|
|
8242
8242
|
if (t !== void 0) {
|
|
@@ -8251,18 +8251,18 @@ function Vf(r) {
|
|
|
8251
8251
|
key: t
|
|
8252
8252
|
}, e.attr), Vf(e.child)));
|
|
8253
8253
|
}
|
|
8254
|
-
function
|
|
8255
|
-
return (e) => /* @__PURE__ */ Tr.createElement(
|
|
8254
|
+
function e1(r) {
|
|
8255
|
+
return (e) => /* @__PURE__ */ Tr.createElement(t1, lo({
|
|
8256
8256
|
attr: uo({}, r.attr)
|
|
8257
8257
|
}, e), Vf(r.child));
|
|
8258
8258
|
}
|
|
8259
|
-
function
|
|
8259
|
+
function t1(r) {
|
|
8260
8260
|
var e = (t) => {
|
|
8261
8261
|
var {
|
|
8262
8262
|
attr: n,
|
|
8263
8263
|
size: i,
|
|
8264
8264
|
title: s
|
|
8265
|
-
} = r, a =
|
|
8265
|
+
} = r, a = Gv(r, Yv), u = i || t.size || "1em", f;
|
|
8266
8266
|
return t.className && (f = t.className), r.className && (f = (f ? f + " " : "") + r.className), /* @__PURE__ */ Tr.createElement("svg", lo({
|
|
8267
8267
|
stroke: "currentColor",
|
|
8268
8268
|
fill: "currentColor",
|
|
@@ -8280,12 +8280,12 @@ function e1(r) {
|
|
|
8280
8280
|
return Mu !== void 0 ? /* @__PURE__ */ Tr.createElement(Mu.Consumer, null, (t) => e(t)) : e(zf);
|
|
8281
8281
|
}
|
|
8282
8282
|
function Fu(r) {
|
|
8283
|
-
return
|
|
8283
|
+
return e1({ attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 0 0-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" }, child: [] }] })(r);
|
|
8284
8284
|
}
|
|
8285
|
-
const
|
|
8286
|
-
function
|
|
8285
|
+
const n1 = (r) => Array.isArray(r) ? r : r && r.fileList;
|
|
8286
|
+
function r1(r) {
|
|
8287
8287
|
var u;
|
|
8288
|
-
const { value: e, ...t } = r, n =
|
|
8288
|
+
const { value: e, ...t } = r, n = n1(e), i = Array.isArray(n) ? n.length : 0, s = t.maxCount ?? 1;
|
|
8289
8289
|
let a;
|
|
8290
8290
|
return i < s && ((u = t.listType) != null && u.startsWith("picture-") ? a = /* @__PURE__ */ mt.jsx(Fu, {}) : a = /* @__PURE__ */ mt.jsx(Jh, { icon: /* @__PURE__ */ mt.jsx(Fu, {}), children: " 上传" })), /* @__PURE__ */ mt.jsx(
|
|
8291
8291
|
Gh,
|
|
@@ -8303,18 +8303,18 @@ function n1(r) {
|
|
|
8303
8303
|
}
|
|
8304
8304
|
);
|
|
8305
8305
|
}
|
|
8306
|
-
const
|
|
8307
|
-
renderFormItem: (r, e) => /* @__PURE__ */ mt.jsx(
|
|
8308
|
-
}, i1 = {
|
|
8309
|
-
renderFormItem: (r, e) => /* @__PURE__ */ mt.jsx(Vv, { ...e.fieldProps })
|
|
8306
|
+
const i1 = {
|
|
8307
|
+
renderFormItem: (r, e) => /* @__PURE__ */ mt.jsx(r1, { ...e.fieldProps })
|
|
8310
8308
|
}, s1 = {
|
|
8311
|
-
|
|
8312
|
-
|
|
8309
|
+
renderFormItem: (r, e) => /* @__PURE__ */ mt.jsx(Wv, { ...e.fieldProps })
|
|
8310
|
+
}, o1 = {
|
|
8311
|
+
upload: i1,
|
|
8312
|
+
editor: s1
|
|
8313
8313
|
};
|
|
8314
8314
|
function Wf({ children: r }) {
|
|
8315
|
-
return /* @__PURE__ */ mt.jsx(Vh, { valueTypeMap:
|
|
8315
|
+
return /* @__PURE__ */ mt.jsx(Vh, { valueTypeMap: o1, children: r });
|
|
8316
8316
|
}
|
|
8317
|
-
const
|
|
8317
|
+
const a1 = () => jc.useForm().pop(), l1 = (r) => /* @__PURE__ */ mt.jsx(Wf, { children: /* @__PURE__ */ mt.jsx(
|
|
8318
8318
|
Wh,
|
|
8319
8319
|
{
|
|
8320
8320
|
layout: "horizontal",
|
|
@@ -8328,13 +8328,9 @@ const o1 = () => jc.useForm().pop(), a1 = (r) => /* @__PURE__ */ mt.jsx(Wf, { ch
|
|
|
8328
8328
|
...r
|
|
8329
8329
|
}
|
|
8330
8330
|
) });
|
|
8331
|
-
|
|
8332
|
-
function
|
|
8333
|
-
const e = Qh(),
|
|
8334
|
-
var s;
|
|
8335
|
-
const n = location.href.split("/").filter(Boolean).pop(), i = (s = r == null ? void 0 : r.items) == null ? void 0 : s.find((a) => (a == null ? void 0 : a.key) == n);
|
|
8336
|
-
return [(i == null ? void 0 : i.key) ?? ""];
|
|
8337
|
-
};
|
|
8331
|
+
l1.useForm = a1;
|
|
8332
|
+
function qx(r) {
|
|
8333
|
+
const { items: e, ...t } = { ...r }, n = Qh(), s = ed().pathname.split("/").filter(Boolean).pop(), a = e == null ? void 0 : e.find((f) => (f == null ? void 0 : f.key) == s), u = [(a == null ? void 0 : a.key) ?? ""];
|
|
8338
8334
|
return /* @__PURE__ */ mt.jsxs(Xi, { style: { height: "100vh" }, children: [
|
|
8339
8335
|
/* @__PURE__ */ mt.jsxs(Xi.Sider, { children: [
|
|
8340
8336
|
/* @__PURE__ */ mt.jsx(Zh.Title, { style: { color: "white", textAlign: "center" }, children: "Rainte" }),
|
|
@@ -8343,9 +8339,10 @@ function Px(r) {
|
|
|
8343
8339
|
{
|
|
8344
8340
|
mode: "inline",
|
|
8345
8341
|
theme: "dark",
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8342
|
+
items: e,
|
|
8343
|
+
defaultSelectedKeys: u,
|
|
8344
|
+
onClick: (f) => n(f.key),
|
|
8345
|
+
...t
|
|
8349
8346
|
}
|
|
8350
8347
|
)
|
|
8351
8348
|
] }),
|
|
@@ -8357,12 +8354,12 @@ function Px(r) {
|
|
|
8357
8354
|
padding: "1rem",
|
|
8358
8355
|
backgroundColor: "white"
|
|
8359
8356
|
},
|
|
8360
|
-
children: /* @__PURE__ */ mt.jsx(
|
|
8357
|
+
children: /* @__PURE__ */ mt.jsx(td, {})
|
|
8361
8358
|
}
|
|
8362
8359
|
) }) })
|
|
8363
8360
|
] });
|
|
8364
8361
|
}
|
|
8365
|
-
function
|
|
8362
|
+
function jx(r) {
|
|
8366
8363
|
return /* @__PURE__ */ mt.jsx(Wf, { children: /* @__PURE__ */ mt.jsx(
|
|
8367
8364
|
Yh,
|
|
8368
8365
|
{
|
|
@@ -8383,11 +8380,11 @@ const Ue = (r) => typeof r == "string", rs = () => {
|
|
|
8383
8380
|
r = n, e = i;
|
|
8384
8381
|
});
|
|
8385
8382
|
return t.resolve = r, t.reject = e, t;
|
|
8386
|
-
}, Uu = (r) => r == null ? "" : "" + r,
|
|
8383
|
+
}, Uu = (r) => r == null ? "" : "" + r, u1 = (r, e, t) => {
|
|
8387
8384
|
r.forEach((n) => {
|
|
8388
8385
|
e[n] && (t[n] = e[n]);
|
|
8389
8386
|
});
|
|
8390
|
-
},
|
|
8387
|
+
}, c1 = /###/g, Ku = (r) => r && r.indexOf("###") > -1 ? r.replace(c1, ".") : r, Hu = (r) => !r || Ue(r), fs = (r, e, t) => {
|
|
8391
8388
|
const n = Ue(e) ? e.split(".") : e;
|
|
8392
8389
|
let i = 0;
|
|
8393
8390
|
for (; i < n.length - 1; ) {
|
|
@@ -8412,7 +8409,7 @@ const Ue = (r) => typeof r == "string", rs = () => {
|
|
|
8412
8409
|
for (; u.obj === void 0 && a.length; )
|
|
8413
8410
|
s = `${a[a.length - 1]}.${s}`, a = a.slice(0, a.length - 1), u = fs(r, a, Object), u != null && u.obj && typeof u.obj[`${u.k}.${s}`] < "u" && (u.obj = void 0);
|
|
8414
8411
|
u.obj[`${u.k}.${s}`] = t;
|
|
8415
|
-
},
|
|
8412
|
+
}, f1 = (r, e, t, n) => {
|
|
8416
8413
|
const {
|
|
8417
8414
|
obj: i,
|
|
8418
8415
|
k: s
|
|
@@ -8425,7 +8422,7 @@ const Ue = (r) => typeof r == "string", rs = () => {
|
|
|
8425
8422
|
} = fs(r, e);
|
|
8426
8423
|
if (t && Object.prototype.hasOwnProperty.call(t, n))
|
|
8427
8424
|
return t[n];
|
|
8428
|
-
},
|
|
8425
|
+
}, h1 = (r, e, t) => {
|
|
8429
8426
|
const n = co(r, t);
|
|
8430
8427
|
return n !== void 0 ? n : co(e, t);
|
|
8431
8428
|
}, Yf = (r, e, t) => {
|
|
@@ -8433,7 +8430,7 @@ const Ue = (r) => typeof r == "string", rs = () => {
|
|
|
8433
8430
|
n !== "__proto__" && n !== "constructor" && (n in r ? Ue(r[n]) || r[n] instanceof String || Ue(e[n]) || e[n] instanceof String ? t && (r[n] = e[n]) : Yf(r[n], e[n], t) : r[n] = e[n]);
|
|
8434
8431
|
return r;
|
|
8435
8432
|
}, Ti = (r) => r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
8436
|
-
var
|
|
8433
|
+
var d1 = {
|
|
8437
8434
|
"&": "&",
|
|
8438
8435
|
"<": "<",
|
|
8439
8436
|
">": ">",
|
|
@@ -8441,8 +8438,8 @@ var h1 = {
|
|
|
8441
8438
|
"'": "'",
|
|
8442
8439
|
"/": "/"
|
|
8443
8440
|
};
|
|
8444
|
-
const
|
|
8445
|
-
class
|
|
8441
|
+
const p1 = (r) => Ue(r) ? r.replace(/[&<>"'\/]/g, (e) => d1[e]) : r;
|
|
8442
|
+
class g1 {
|
|
8446
8443
|
constructor(e) {
|
|
8447
8444
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
8448
8445
|
}
|
|
@@ -8454,11 +8451,11 @@ class p1 {
|
|
|
8454
8451
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
|
|
8455
8452
|
}
|
|
8456
8453
|
}
|
|
8457
|
-
const
|
|
8454
|
+
const m1 = [" ", ",", "?", "!", ";"], y1 = new g1(20), b1 = (r, e, t) => {
|
|
8458
8455
|
e = e || "", t = t || "";
|
|
8459
|
-
const n =
|
|
8456
|
+
const n = m1.filter((a) => e.indexOf(a) < 0 && t.indexOf(a) < 0);
|
|
8460
8457
|
if (n.length === 0) return !0;
|
|
8461
|
-
const i =
|
|
8458
|
+
const i = y1.getRegExp(`(${n.map((a) => a === "?" ? "\\?" : a).join("|")})`);
|
|
8462
8459
|
let s = !i.test(r);
|
|
8463
8460
|
if (!s) {
|
|
8464
8461
|
const a = r.indexOf(t);
|
|
@@ -8486,7 +8483,7 @@ const g1 = [" ", ",", "?", "!", ";"], m1 = new p1(20), y1 = (r, e, t) => {
|
|
|
8486
8483
|
i = a;
|
|
8487
8484
|
}
|
|
8488
8485
|
return i;
|
|
8489
|
-
}, fo = (r) => r == null ? void 0 : r.replace("_", "-"),
|
|
8486
|
+
}, fo = (r) => r == null ? void 0 : r.replace("_", "-"), v1 = {
|
|
8490
8487
|
type: "logger",
|
|
8491
8488
|
log(r) {
|
|
8492
8489
|
this.output("log", r);
|
|
@@ -8509,7 +8506,7 @@ class ho {
|
|
|
8509
8506
|
}
|
|
8510
8507
|
init(e) {
|
|
8511
8508
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8512
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
8509
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || v1, this.options = t, this.debug = t.debug;
|
|
8513
8510
|
}
|
|
8514
8511
|
log() {
|
|
8515
8512
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
@@ -8669,7 +8666,7 @@ const Wu = {}, Yu = (r) => !Ue(r) && typeof r != "boolean" && typeof r != "numbe
|
|
|
8669
8666
|
class po extends _o {
|
|
8670
8667
|
constructor(e) {
|
|
8671
8668
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8672
|
-
super(),
|
|
8669
|
+
super(), u1(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = dr.create("translator");
|
|
8673
8670
|
}
|
|
8674
8671
|
changeLanguage(e) {
|
|
8675
8672
|
e && (this.language = e);
|
|
@@ -8688,7 +8685,7 @@ class po extends _o {
|
|
|
8688
8685
|
n === void 0 && (n = ":");
|
|
8689
8686
|
const i = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
8690
8687
|
let s = t.ns || this.options.defaultNS || [];
|
|
8691
|
-
const a = n && e.indexOf(n) > -1, u = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
8688
|
+
const a = n && e.indexOf(n) > -1, u = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !b1(e, n, i);
|
|
8692
8689
|
if (a && !u) {
|
|
8693
8690
|
const f = e.match(this.interpolator.nestingRegexp);
|
|
8694
8691
|
if (f && f.length > 0)
|
|
@@ -8999,7 +8996,7 @@ const Ju = {
|
|
|
8999
8996
|
pluralCategories: ["one", "other"]
|
|
9000
8997
|
})
|
|
9001
8998
|
};
|
|
9002
|
-
class
|
|
8999
|
+
class w1 {
|
|
9003
9000
|
constructor(e) {
|
|
9004
9001
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
9005
9002
|
this.languageUtils = e, this.options = t, this.logger = dr.create("pluralResolver"), this.pluralRulesCache = {};
|
|
@@ -9051,10 +9048,10 @@ class v1 {
|
|
|
9051
9048
|
}
|
|
9052
9049
|
}
|
|
9053
9050
|
const Xu = function(r, e, t) {
|
|
9054
|
-
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s =
|
|
9051
|
+
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = h1(r, e, t);
|
|
9055
9052
|
return !s && i && Ue(t) && (s = Ia(r, t, n), s === void 0 && (s = Ia(e, t, n))), s;
|
|
9056
9053
|
}, aa = (r) => r.replace(/\$/g, "$$$$");
|
|
9057
|
-
class
|
|
9054
|
+
class x1 {
|
|
9058
9055
|
constructor() {
|
|
9059
9056
|
var t;
|
|
9060
9057
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -9084,7 +9081,7 @@ class w1 {
|
|
|
9084
9081
|
maxReplaces: M,
|
|
9085
9082
|
alwaysFormat: H
|
|
9086
9083
|
} = e.interpolation;
|
|
9087
|
-
this.escape = t !== void 0 ? t :
|
|
9084
|
+
this.escape = t !== void 0 ? t : p1, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = s ? Ti(s) : a || "{{", this.suffix = u ? Ti(u) : f || "}}", this.formatSeparator = d || ",", this.unescapePrefix = m ? "" : v || "-", this.unescapeSuffix = this.unescapePrefix ? "" : m || "", this.nestingPrefix = y ? Ti(y) : x || Ti("$t("), this.nestingSuffix = A ? Ti(A) : E || Ti(")"), this.nestingOptionsSeparator = T || ",", this.maxReplaces = M || 1e3, this.alwaysFormat = H !== void 0 ? H : !1, this.resetRegExp();
|
|
9088
9085
|
}
|
|
9089
9086
|
reset() {
|
|
9090
9087
|
this.options && this.init(this.options);
|
|
@@ -9180,7 +9177,7 @@ class w1 {
|
|
|
9180
9177
|
return e;
|
|
9181
9178
|
}
|
|
9182
9179
|
}
|
|
9183
|
-
const
|
|
9180
|
+
const E1 = (r) => {
|
|
9184
9181
|
let e = r.toLowerCase().trim();
|
|
9185
9182
|
const t = {};
|
|
9186
9183
|
if (r.indexOf("(") > -1) {
|
|
@@ -9211,7 +9208,7 @@ const x1 = (r) => {
|
|
|
9211
9208
|
return u || (u = r(fo(n), i), e[a] = u), u(t);
|
|
9212
9209
|
};
|
|
9213
9210
|
};
|
|
9214
|
-
class
|
|
9211
|
+
class S1 {
|
|
9215
9212
|
constructor() {
|
|
9216
9213
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
9217
9214
|
this.logger = dr.create("formatter"), this.options = e, this.formats = {
|
|
@@ -9272,7 +9269,7 @@ class E1 {
|
|
|
9272
9269
|
const {
|
|
9273
9270
|
formatName: d,
|
|
9274
9271
|
formatOptions: m
|
|
9275
|
-
} =
|
|
9272
|
+
} = E1(f);
|
|
9276
9273
|
if (this.formats[d]) {
|
|
9277
9274
|
let y = u;
|
|
9278
9275
|
try {
|
|
@@ -9292,10 +9289,10 @@ class E1 {
|
|
|
9292
9289
|
}, e);
|
|
9293
9290
|
}
|
|
9294
9291
|
}
|
|
9295
|
-
const
|
|
9292
|
+
const O1 = (r, e) => {
|
|
9296
9293
|
r.pending[e] !== void 0 && (delete r.pending[e], r.pendingCount--);
|
|
9297
9294
|
};
|
|
9298
|
-
class
|
|
9295
|
+
class A1 extends _o {
|
|
9299
9296
|
constructor(e, t, n) {
|
|
9300
9297
|
var s, a;
|
|
9301
9298
|
let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
@@ -9329,7 +9326,7 @@ class O1 extends _o {
|
|
|
9329
9326
|
}), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
|
|
9330
9327
|
const u = {};
|
|
9331
9328
|
this.queue.forEach((f) => {
|
|
9332
|
-
|
|
9329
|
+
f1(f.loaded, [s], a), O1(f, e), t && f.errors.push(t), f.pendingCount === 0 && !f.done && (Object.keys(f.loaded).forEach((d) => {
|
|
9333
9330
|
u[d] || (u[d] = {});
|
|
9334
9331
|
const m = f.loaded[d];
|
|
9335
9332
|
m.length && m.forEach((v) => {
|
|
@@ -9492,7 +9489,7 @@ const Qu = () => ({
|
|
|
9492
9489
|
var e, t;
|
|
9493
9490
|
return Ue(r.ns) && (r.ns = [r.ns]), Ue(r.fallbackLng) && (r.fallbackLng = [r.fallbackLng]), Ue(r.fallbackNS) && (r.fallbackNS = [r.fallbackNS]), ((t = (e = r.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (r.supportedLngs = r.supportedLngs.concat(["cimode"])), typeof r.initImmediate == "boolean" && (r.initAsync = r.initImmediate), r;
|
|
9494
9491
|
}, Gs = () => {
|
|
9495
|
-
},
|
|
9492
|
+
}, T1 = (r) => {
|
|
9496
9493
|
Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((t) => {
|
|
9497
9494
|
typeof r[t] == "function" && (r[t] = r[t].bind(r));
|
|
9498
9495
|
});
|
|
@@ -9502,7 +9499,7 @@ class xs extends _o {
|
|
|
9502
9499
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
9503
9500
|
if (super(), this.options = ec(e), this.services = {}, this.logger = dr, this.modules = {
|
|
9504
9501
|
external: []
|
|
9505
|
-
},
|
|
9502
|
+
}, T1(this), t && !this.isInitialized && !e.isClone) {
|
|
9506
9503
|
if (!this.options.initAsync)
|
|
9507
9504
|
return this.init(e, t), this;
|
|
9508
9505
|
setTimeout(() => {
|
|
@@ -9527,16 +9524,16 @@ class xs extends _o {
|
|
|
9527
9524
|
if (!this.options.isClone) {
|
|
9528
9525
|
this.modules.logger ? dr.init(s(this.modules.logger), this.options) : dr.init(null, this.options);
|
|
9529
9526
|
let m;
|
|
9530
|
-
this.modules.formatter ? m = this.modules.formatter : m =
|
|
9527
|
+
this.modules.formatter ? m = this.modules.formatter : m = S1;
|
|
9531
9528
|
const v = new Gu(this.options);
|
|
9532
9529
|
this.store = new Vu(this.options.resources, this.options);
|
|
9533
9530
|
const y = this.services;
|
|
9534
|
-
y.logger = dr, y.resourceStore = this.store, y.languageUtils = v, y.pluralResolver = new
|
|
9531
|
+
y.logger = dr, y.resourceStore = this.store, y.languageUtils = v, y.pluralResolver = new w1(v, {
|
|
9535
9532
|
prepend: this.options.pluralSeparator,
|
|
9536
9533
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
9537
|
-
}), m && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (y.formatter = s(m), y.formatter.init(y, this.options), this.options.interpolation.format = y.formatter.format.bind(y.formatter)), y.interpolator = new
|
|
9534
|
+
}), m && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (y.formatter = s(m), y.formatter.init(y, this.options), this.options.interpolation.format = y.formatter.format.bind(y.formatter)), y.interpolator = new x1(this.options), y.utils = {
|
|
9538
9535
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
9539
|
-
}, y.backendConnector = new
|
|
9536
|
+
}, y.backendConnector = new A1(s(this.modules.backend), y.resourceStore, y, this.options), y.backendConnector.on("*", function(x) {
|
|
9540
9537
|
for (var A = arguments.length, E = new Array(A > 1 ? A - 1 : 0), T = 1; T < A; T++)
|
|
9541
9538
|
E[T - 1] = arguments[T];
|
|
9542
9539
|
e.emit(x, ...E);
|
|
@@ -9753,7 +9750,7 @@ class xs extends _o {
|
|
|
9753
9750
|
}
|
|
9754
9751
|
const Gt = xs.createInstance();
|
|
9755
9752
|
Gt.createInstance = xs.createInstance;
|
|
9756
|
-
const
|
|
9753
|
+
const _1 = Gt.createInstance, N1 = Gt.dir, C1 = Gt.init, L1 = Gt.loadResources, R1 = Gt.reloadResources, k1 = Gt.use, P1 = Gt.changeLanguage, q1 = Gt.getFixedT, j1 = Gt.t, I1 = Gt.exists, $1 = Gt.setDefaultNamespace, D1 = Gt.hasLoadedNamespace, M1 = Gt.loadNamespaces, B1 = Gt.loadLanguages;
|
|
9757
9754
|
function $a(r) {
|
|
9758
9755
|
"@babel/helpers - typeof";
|
|
9759
9756
|
return $a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -9765,11 +9762,11 @@ function $a(r) {
|
|
|
9765
9762
|
function Jf() {
|
|
9766
9763
|
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : $a(XMLHttpRequest)) === "object";
|
|
9767
9764
|
}
|
|
9768
|
-
function
|
|
9765
|
+
function F1(r) {
|
|
9769
9766
|
return !!r && typeof r.then == "function";
|
|
9770
9767
|
}
|
|
9771
|
-
function
|
|
9772
|
-
return
|
|
9768
|
+
function U1(r) {
|
|
9769
|
+
return F1(r) ? r : Promise.resolve(r);
|
|
9773
9770
|
}
|
|
9774
9771
|
function tc(r, e) {
|
|
9775
9772
|
var t = Object.keys(r);
|
|
@@ -9785,21 +9782,21 @@ function nc(r) {
|
|
|
9785
9782
|
for (var e = 1; e < arguments.length; e++) {
|
|
9786
9783
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
9787
9784
|
e % 2 ? tc(Object(t), !0).forEach(function(n) {
|
|
9788
|
-
|
|
9785
|
+
K1(r, n, t[n]);
|
|
9789
9786
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : tc(Object(t)).forEach(function(n) {
|
|
9790
9787
|
Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(t, n));
|
|
9791
9788
|
});
|
|
9792
9789
|
}
|
|
9793
9790
|
return r;
|
|
9794
9791
|
}
|
|
9795
|
-
function
|
|
9796
|
-
return (e =
|
|
9792
|
+
function K1(r, e, t) {
|
|
9793
|
+
return (e = H1(e)) in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
|
|
9797
9794
|
}
|
|
9798
|
-
function
|
|
9799
|
-
var e =
|
|
9795
|
+
function H1(r) {
|
|
9796
|
+
var e = z1(r, "string");
|
|
9800
9797
|
return ci(e) == "symbol" ? e : e + "";
|
|
9801
9798
|
}
|
|
9802
|
-
function
|
|
9799
|
+
function z1(r, e) {
|
|
9803
9800
|
if (ci(r) != "object" || !r) return r;
|
|
9804
9801
|
var t = r[Symbol.toPrimitive];
|
|
9805
9802
|
if (t !== void 0) {
|
|
@@ -9826,7 +9823,7 @@ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObje
|
|
|
9826
9823
|
typeof Yr != "function" && (Yr = void 0);
|
|
9827
9824
|
if (!Yr && !Es && !go)
|
|
9828
9825
|
try {
|
|
9829
|
-
import("./browser-ponyfill-
|
|
9826
|
+
import("./browser-ponyfill-DBE0uybM.js").then((r) => r.b).then(function(r) {
|
|
9830
9827
|
Yr = r.default;
|
|
9831
9828
|
}).catch(function() {
|
|
9832
9829
|
});
|
|
@@ -9861,7 +9858,7 @@ var Da = function(e, t) {
|
|
|
9861
9858
|
}
|
|
9862
9859
|
}
|
|
9863
9860
|
typeof fetch == "function" ? fetch(e, t).then(s).catch(n) : Yr(e, t).then(s).catch(n);
|
|
9864
|
-
}, ic = !1,
|
|
9861
|
+
}, ic = !1, V1 = function(e, t, n, i) {
|
|
9865
9862
|
e.queryStringParams && (t = Da(t, e.queryStringParams));
|
|
9866
9863
|
var s = nc({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
|
|
9867
9864
|
typeof window > "u" && typeof global < "u" && typeof global.process < "u" && global.process.versions && global.process.versions.node && (s["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")")), n && (s["Content-Type"] = "application/json");
|
|
@@ -9883,7 +9880,7 @@ var Da = function(e, t) {
|
|
|
9883
9880
|
i(m);
|
|
9884
9881
|
}
|
|
9885
9882
|
}
|
|
9886
|
-
},
|
|
9883
|
+
}, W1 = function(e, t, n, i) {
|
|
9887
9884
|
n && ci(n) === "object" && (n = Da("", n).slice(1)), e.queryStringParams && (t = Da(t, e.queryStringParams));
|
|
9888
9885
|
try {
|
|
9889
9886
|
var s = Es ? new Es() : new go("MSXML2.XMLHTTP.3.0");
|
|
@@ -9901,12 +9898,12 @@ var Da = function(e, t) {
|
|
|
9901
9898
|
} catch (f) {
|
|
9902
9899
|
console && console.log(f);
|
|
9903
9900
|
}
|
|
9904
|
-
},
|
|
9901
|
+
}, Y1 = function(e, t, n, i) {
|
|
9905
9902
|
if (typeof n == "function" && (i = n, n = void 0), i = i || function() {
|
|
9906
9903
|
}, Yr && t.indexOf("file:") !== 0)
|
|
9907
|
-
return z1(e, t, n, i);
|
|
9908
|
-
if (Jf() || typeof ActiveXObject == "function")
|
|
9909
9904
|
return V1(e, t, n, i);
|
|
9905
|
+
if (Jf() || typeof ActiveXObject == "function")
|
|
9906
|
+
return W1(e, t, n, i);
|
|
9910
9907
|
i(new Error("No fetch and no xhr implementation found!"));
|
|
9911
9908
|
};
|
|
9912
9909
|
function Hi(r) {
|
|
@@ -9938,26 +9935,26 @@ function la(r) {
|
|
|
9938
9935
|
}
|
|
9939
9936
|
return r;
|
|
9940
9937
|
}
|
|
9941
|
-
function
|
|
9938
|
+
function G1(r, e) {
|
|
9942
9939
|
if (!(r instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
9943
9940
|
}
|
|
9944
|
-
function
|
|
9941
|
+
function J1(r, e) {
|
|
9945
9942
|
for (var t = 0; t < e.length; t++) {
|
|
9946
9943
|
var n = e[t];
|
|
9947
9944
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, Xf(n.key), n);
|
|
9948
9945
|
}
|
|
9949
9946
|
}
|
|
9950
|
-
function
|
|
9951
|
-
return e &&
|
|
9947
|
+
function Z1(r, e, t) {
|
|
9948
|
+
return e && J1(r.prototype, e), Object.defineProperty(r, "prototype", { writable: !1 }), r;
|
|
9952
9949
|
}
|
|
9953
9950
|
function Zf(r, e, t) {
|
|
9954
9951
|
return (e = Xf(e)) in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
|
|
9955
9952
|
}
|
|
9956
9953
|
function Xf(r) {
|
|
9957
|
-
var e =
|
|
9954
|
+
var e = X1(r, "string");
|
|
9958
9955
|
return Hi(e) == "symbol" ? e : e + "";
|
|
9959
9956
|
}
|
|
9960
|
-
function
|
|
9957
|
+
function X1(r, e) {
|
|
9961
9958
|
if (Hi(r) != "object" || !r) return r;
|
|
9962
9959
|
var t = r[Symbol.toPrimitive];
|
|
9963
9960
|
if (t !== void 0) {
|
|
@@ -9967,7 +9964,7 @@ function Z1(r, e) {
|
|
|
9967
9964
|
}
|
|
9968
9965
|
return String(r);
|
|
9969
9966
|
}
|
|
9970
|
-
var
|
|
9967
|
+
var Q1 = function() {
|
|
9971
9968
|
return {
|
|
9972
9969
|
loadPath: "/locales/{{lng}}/{{ns}}.json",
|
|
9973
9970
|
addPath: "/locales/add/{{lng}}/{{ns}}",
|
|
@@ -9980,7 +9977,7 @@ var X1 = function() {
|
|
|
9980
9977
|
},
|
|
9981
9978
|
parseLoadPayload: function(t, n) {
|
|
9982
9979
|
},
|
|
9983
|
-
request:
|
|
9980
|
+
request: Y1,
|
|
9984
9981
|
reloadInterval: typeof window < "u" ? !1 : 60 * 60 * 1e3,
|
|
9985
9982
|
customHeaders: {},
|
|
9986
9983
|
queryStringParams: {},
|
|
@@ -9996,13 +9993,13 @@ var X1 = function() {
|
|
|
9996
9993
|
}, Qf = function() {
|
|
9997
9994
|
function r(e) {
|
|
9998
9995
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
9999
|
-
|
|
9996
|
+
G1(this, r), this.services = e, this.options = t, this.allOptions = n, this.type = "backend", this.init(e, t, n);
|
|
10000
9997
|
}
|
|
10001
|
-
return
|
|
9998
|
+
return Z1(r, [{
|
|
10002
9999
|
key: "init",
|
|
10003
10000
|
value: function(t) {
|
|
10004
10001
|
var n = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
10005
|
-
if (this.services = t, this.options = la(la(la({},
|
|
10002
|
+
if (this.services = t, this.options = la(la(la({}, Q1()), this.options || {}), i), this.allOptions = s, this.services && this.options.reloadInterval) {
|
|
10006
10003
|
var a = setInterval(function() {
|
|
10007
10004
|
return n.reload();
|
|
10008
10005
|
}, this.options.reloadInterval);
|
|
@@ -10023,7 +10020,7 @@ var X1 = function() {
|
|
|
10023
10020
|
key: "_readAny",
|
|
10024
10021
|
value: function(t, n, i, s, a) {
|
|
10025
10022
|
var u = this, f = this.options.loadPath;
|
|
10026
|
-
typeof this.options.loadPath == "function" && (f = this.options.loadPath(t, i)), f =
|
|
10023
|
+
typeof this.options.loadPath == "function" && (f = this.options.loadPath(t, i)), f = U1(f), f.then(function(d) {
|
|
10027
10024
|
if (!d) return a(null, {});
|
|
10028
10025
|
var m = u.services.interpolator.interpolate(d, {
|
|
10029
10026
|
lng: t.join("+"),
|
|
@@ -10103,17 +10100,17 @@ var X1 = function() {
|
|
|
10103
10100
|
}();
|
|
10104
10101
|
Qf.type = "backend";
|
|
10105
10102
|
const {
|
|
10106
|
-
slice:
|
|
10107
|
-
forEach:
|
|
10103
|
+
slice: e0,
|
|
10104
|
+
forEach: t0
|
|
10108
10105
|
} = [];
|
|
10109
|
-
function
|
|
10110
|
-
return
|
|
10106
|
+
function n0(r) {
|
|
10107
|
+
return t0.call(e0.call(arguments, 1), (e) => {
|
|
10111
10108
|
if (e)
|
|
10112
10109
|
for (const t in e)
|
|
10113
10110
|
r[t] === void 0 && (r[t] = e[t]);
|
|
10114
10111
|
}), r;
|
|
10115
10112
|
}
|
|
10116
|
-
const oc = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,
|
|
10113
|
+
const oc = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, r0 = function(r, e) {
|
|
10117
10114
|
const n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
10118
10115
|
path: "/"
|
|
10119
10116
|
}, i = encodeURIComponent(e);
|
|
@@ -10162,7 +10159,7 @@ const oc = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, n0 = function(r, e) {
|
|
|
10162
10159
|
path: "/",
|
|
10163
10160
|
sameSite: "strict"
|
|
10164
10161
|
};
|
|
10165
|
-
t && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + t * 60 * 1e3)), n && (i.domain = n), document.cookie =
|
|
10162
|
+
t && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + t * 60 * 1e3)), n && (i.domain = n), document.cookie = r0(r, encodeURIComponent(e), i);
|
|
10166
10163
|
},
|
|
10167
10164
|
read(r) {
|
|
10168
10165
|
const e = `${r}=`, t = document.cookie.split(";");
|
|
@@ -10177,7 +10174,7 @@ const oc = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, n0 = function(r, e) {
|
|
|
10177
10174
|
this.create(r, "", -1);
|
|
10178
10175
|
}
|
|
10179
10176
|
};
|
|
10180
|
-
var
|
|
10177
|
+
var i0 = {
|
|
10181
10178
|
name: "cookie",
|
|
10182
10179
|
// Deconstruct the options object and extract the lookupCookie property
|
|
10183
10180
|
lookup(r) {
|
|
@@ -10197,7 +10194,7 @@ var r0 = {
|
|
|
10197
10194
|
} = e;
|
|
10198
10195
|
t && typeof document < "u" && ac.create(t, r, n, i, s);
|
|
10199
10196
|
}
|
|
10200
|
-
},
|
|
10197
|
+
}, s0 = {
|
|
10201
10198
|
name: "querystring",
|
|
10202
10199
|
// Deconstruct the options object and extract the lookupQuerystring property
|
|
10203
10200
|
lookup(r) {
|
|
@@ -10232,7 +10229,7 @@ const lc = () => {
|
|
|
10232
10229
|
}
|
|
10233
10230
|
return Ni;
|
|
10234
10231
|
};
|
|
10235
|
-
var
|
|
10232
|
+
var o0 = {
|
|
10236
10233
|
name: "localStorage",
|
|
10237
10234
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
10238
10235
|
lookup(r) {
|
|
@@ -10263,7 +10260,7 @@ const uc = () => {
|
|
|
10263
10260
|
}
|
|
10264
10261
|
return Ci;
|
|
10265
10262
|
};
|
|
10266
|
-
var
|
|
10263
|
+
var a0 = {
|
|
10267
10264
|
name: "sessionStorage",
|
|
10268
10265
|
lookup(r) {
|
|
10269
10266
|
let {
|
|
@@ -10278,7 +10275,7 @@ var o0 = {
|
|
|
10278
10275
|
} = e;
|
|
10279
10276
|
t && uc() && window.sessionStorage.setItem(t, r);
|
|
10280
10277
|
}
|
|
10281
|
-
},
|
|
10278
|
+
}, l0 = {
|
|
10282
10279
|
name: "navigator",
|
|
10283
10280
|
lookup(r) {
|
|
10284
10281
|
const e = [];
|
|
@@ -10295,7 +10292,7 @@ var o0 = {
|
|
|
10295
10292
|
}
|
|
10296
10293
|
return e.length > 0 ? e : void 0;
|
|
10297
10294
|
}
|
|
10298
|
-
},
|
|
10295
|
+
}, u0 = {
|
|
10299
10296
|
name: "htmlTag",
|
|
10300
10297
|
// Deconstruct the options object and extract the htmlTag property
|
|
10301
10298
|
lookup(r) {
|
|
@@ -10305,7 +10302,7 @@ var o0 = {
|
|
|
10305
10302
|
const n = e || (typeof document < "u" ? document.documentElement : null);
|
|
10306
10303
|
return n && typeof n.getAttribute == "function" && (t = n.getAttribute("lang")), t;
|
|
10307
10304
|
}
|
|
10308
|
-
},
|
|
10305
|
+
}, c0 = {
|
|
10309
10306
|
name: "path",
|
|
10310
10307
|
// Deconstruct the options object and extract the lookupFromPathIndex property
|
|
10311
10308
|
lookup(r) {
|
|
@@ -10317,7 +10314,7 @@ var o0 = {
|
|
|
10317
10314
|
const t = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
10318
10315
|
return Array.isArray(t) ? (i = t[typeof e == "number" ? e : 0]) == null ? void 0 : i.replace("/", "") : void 0;
|
|
10319
10316
|
}
|
|
10320
|
-
},
|
|
10317
|
+
}, f0 = {
|
|
10321
10318
|
name: "subdomain",
|
|
10322
10319
|
lookup(r) {
|
|
10323
10320
|
var i, s;
|
|
@@ -10336,7 +10333,7 @@ try {
|
|
|
10336
10333
|
}
|
|
10337
10334
|
const th = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
10338
10335
|
eh || th.splice(1, 1);
|
|
10339
|
-
const
|
|
10336
|
+
const h0 = () => ({
|
|
10340
10337
|
order: th,
|
|
10341
10338
|
lookupQuerystring: "lng",
|
|
10342
10339
|
lookupCookie: "i18next",
|
|
@@ -10358,7 +10355,7 @@ class nh {
|
|
|
10358
10355
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
10359
10356
|
languageUtils: {}
|
|
10360
10357
|
}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
10361
|
-
this.services = e, this.options =
|
|
10358
|
+
this.services = e, this.options = n0(t, this.options || {}, h0()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (i) => i.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(i0), this.addDetector(s0), this.addDetector(o0), this.addDetector(a0), this.addDetector(l0), this.addDetector(u0), this.addDetector(c0), this.addDetector(f0);
|
|
10362
10359
|
}
|
|
10363
10360
|
addDetector(e) {
|
|
10364
10361
|
return this.detectors[e.name] = e, this;
|
|
@@ -10380,16 +10377,16 @@ class nh {
|
|
|
10380
10377
|
}
|
|
10381
10378
|
}
|
|
10382
10379
|
nh.type = "languageDetector";
|
|
10383
|
-
var
|
|
10380
|
+
var d0 = Object.defineProperty, p0 = (r, e, t) => e in r ? d0(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, rh = (r, e, t) => p0(r, typeof e != "symbol" ? e + "" : e, t), g0 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10384
10381
|
function Vi(r) {
|
|
10385
10382
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
10386
10383
|
}
|
|
10387
|
-
var Ma = { exports: {} },
|
|
10388
|
-
function
|
|
10384
|
+
var Ma = { exports: {} }, m0 = Ma.exports, cc;
|
|
10385
|
+
function y0() {
|
|
10389
10386
|
return cc || (cc = 1, function(r, e) {
|
|
10390
10387
|
(function(t, n) {
|
|
10391
10388
|
r.exports = n();
|
|
10392
|
-
})(
|
|
10389
|
+
})(m0, function() {
|
|
10393
10390
|
var t = function(o, l) {
|
|
10394
10391
|
return (t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, p) {
|
|
10395
10392
|
c.__proto__ = p;
|
|
@@ -10406,7 +10403,7 @@ function m0() {
|
|
|
10406
10403
|
for (var p, g = 0, b = l.length; g < b; g++) !p && g in l || ((p = p || Array.prototype.slice.call(l, 0, g))[g] = l[g]);
|
|
10407
10404
|
return o.concat(p || Array.prototype.slice.call(l));
|
|
10408
10405
|
}
|
|
10409
|
-
var s = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window :
|
|
10406
|
+
var s = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : g0, a = Object.keys, u = Array.isArray;
|
|
10410
10407
|
function f(o, l) {
|
|
10411
10408
|
return typeof l != "object" || a(l).forEach(function(c) {
|
|
10412
10409
|
o[c] = l[c];
|
|
@@ -13395,36 +13392,36 @@ function m0() {
|
|
|
13395
13392
|
});
|
|
13396
13393
|
}(Ma)), Ma.exports;
|
|
13397
13394
|
}
|
|
13398
|
-
var
|
|
13399
|
-
const Ba = /* @__PURE__ */ Vi(
|
|
13395
|
+
var b0 = y0();
|
|
13396
|
+
const Ba = /* @__PURE__ */ Vi(b0), fc = Symbol.for("Dexie"), mo = globalThis[fc] || (globalThis[fc] = Ba);
|
|
13400
13397
|
if (Ba.semVer !== mo.semVer)
|
|
13401
13398
|
throw new Error(`Two different versions of Dexie loaded in the same app: ${Ba.semVer} and ${mo.semVer}`);
|
|
13402
13399
|
const {
|
|
13403
|
-
liveQuery:
|
|
13404
|
-
mergeRanges:
|
|
13405
|
-
rangesOverlap:
|
|
13406
|
-
RangeSet:
|
|
13407
|
-
cmp:
|
|
13408
|
-
Entity:
|
|
13409
|
-
PropModification:
|
|
13410
|
-
replacePrefix:
|
|
13411
|
-
add:
|
|
13412
|
-
remove:
|
|
13400
|
+
liveQuery: Ix,
|
|
13401
|
+
mergeRanges: $x,
|
|
13402
|
+
rangesOverlap: Dx,
|
|
13403
|
+
RangeSet: Mx,
|
|
13404
|
+
cmp: Bx,
|
|
13405
|
+
Entity: Fx,
|
|
13406
|
+
PropModification: Ux,
|
|
13407
|
+
replacePrefix: Kx,
|
|
13408
|
+
add: Hx,
|
|
13409
|
+
remove: zx
|
|
13413
13410
|
} = mo;
|
|
13414
|
-
class
|
|
13411
|
+
class v0 extends mo {
|
|
13415
13412
|
constructor() {
|
|
13416
13413
|
super("db"), rh(this, "rows"), this.version(1).stores({
|
|
13417
13414
|
rows: "++id, key"
|
|
13418
13415
|
});
|
|
13419
13416
|
}
|
|
13420
13417
|
}
|
|
13421
|
-
new
|
|
13422
|
-
var Fa = { exports: {} },
|
|
13423
|
-
function
|
|
13418
|
+
new v0();
|
|
13419
|
+
var Fa = { exports: {} }, w0 = Fa.exports, hc;
|
|
13420
|
+
function x0() {
|
|
13424
13421
|
return hc || (hc = 1, function(r, e) {
|
|
13425
13422
|
(function(t, n) {
|
|
13426
13423
|
r.exports = n();
|
|
13427
|
-
})(
|
|
13424
|
+
})(w0, function() {
|
|
13428
13425
|
var t = 1e3, n = 6e4, i = 36e5, s = "millisecond", a = "second", u = "minute", f = "hour", d = "day", m = "week", v = "month", y = "quarter", x = "year", A = "date", E = "Invalid Date", T = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, M = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, H = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(K) {
|
|
13429
13426
|
var $ = ["th", "st", "nd", "rd"], R = K % 100;
|
|
13430
13427
|
return "[" + K + ($[(R - 20) % 10] || $[R] || $[0]) + "]";
|
|
@@ -13697,14 +13694,14 @@ function w0() {
|
|
|
13697
13694
|
});
|
|
13698
13695
|
}(Fa)), Fa.exports;
|
|
13699
13696
|
}
|
|
13700
|
-
var
|
|
13701
|
-
const yl = /* @__PURE__ */ Vi(
|
|
13702
|
-
var Ua = { exports: {} },
|
|
13703
|
-
function
|
|
13697
|
+
var E0 = x0();
|
|
13698
|
+
const yl = /* @__PURE__ */ Vi(E0);
|
|
13699
|
+
var Ua = { exports: {} }, S0 = Ua.exports, dc;
|
|
13700
|
+
function O0() {
|
|
13704
13701
|
return dc || (dc = 1, function(r, e) {
|
|
13705
13702
|
(function(t, n) {
|
|
13706
13703
|
r.exports = n();
|
|
13707
|
-
})(
|
|
13704
|
+
})(S0, function() {
|
|
13708
13705
|
var t = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, n = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, i = /\d/, s = /\d\d/, a = /\d\d?/, u = /\d*[^-_:/,()\s\d]+/, f = {}, d = function(T) {
|
|
13709
13706
|
return (T = +T) + (T > 68 ? 1900 : 2e3);
|
|
13710
13707
|
}, m = function(T) {
|
|
@@ -13822,14 +13819,14 @@ function S0() {
|
|
|
13822
13819
|
});
|
|
13823
13820
|
}(Ua)), Ua.exports;
|
|
13824
13821
|
}
|
|
13825
|
-
var
|
|
13826
|
-
const
|
|
13827
|
-
var Ka = { exports: {} },
|
|
13828
|
-
function
|
|
13822
|
+
var A0 = O0();
|
|
13823
|
+
const T0 = /* @__PURE__ */ Vi(A0);
|
|
13824
|
+
var Ka = { exports: {} }, _0 = Ka.exports, pc;
|
|
13825
|
+
function N0() {
|
|
13829
13826
|
return pc || (pc = 1, function(r, e) {
|
|
13830
13827
|
(function(t, n) {
|
|
13831
13828
|
r.exports = n();
|
|
13832
|
-
})(
|
|
13829
|
+
})(_0, function() {
|
|
13833
13830
|
var t, n, i = 1e3, s = 6e4, a = 36e5, u = 864e5, f = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, d = 31536e6, m = 2628e6, v = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, y = { years: d, months: m, days: u, hours: a, minutes: s, seconds: i, milliseconds: 1, weeks: 6048e5 }, x = function(ce) {
|
|
13834
13831
|
return ce instanceof de;
|
|
13835
13832
|
}, A = function(ce, ne, ie) {
|
|
@@ -13956,14 +13953,14 @@ function _0() {
|
|
|
13956
13953
|
});
|
|
13957
13954
|
}(Ka)), Ka.exports;
|
|
13958
13955
|
}
|
|
13959
|
-
var
|
|
13960
|
-
const
|
|
13961
|
-
var Ha = { exports: {} },
|
|
13962
|
-
function
|
|
13956
|
+
var C0 = N0();
|
|
13957
|
+
const L0 = /* @__PURE__ */ Vi(C0);
|
|
13958
|
+
var Ha = { exports: {} }, R0 = Ha.exports, gc;
|
|
13959
|
+
function k0() {
|
|
13963
13960
|
return gc || (gc = 1, function(r, e) {
|
|
13964
13961
|
(function(t, n) {
|
|
13965
13962
|
r.exports = n();
|
|
13966
|
-
})(
|
|
13963
|
+
})(R0, function() {
|
|
13967
13964
|
var t = "minute", n = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
|
|
13968
13965
|
return function(s, a, u) {
|
|
13969
13966
|
var f = a.prototype;
|
|
@@ -14034,11 +14031,11 @@ function R0() {
|
|
|
14034
14031
|
});
|
|
14035
14032
|
}(Ha)), Ha.exports;
|
|
14036
14033
|
}
|
|
14037
|
-
var
|
|
14038
|
-
const
|
|
14039
|
-
yl.extend(
|
|
14040
|
-
yl.extend(
|
|
14041
|
-
yl.extend(
|
|
14034
|
+
var P0 = k0();
|
|
14035
|
+
const q0 = /* @__PURE__ */ Vi(P0);
|
|
14036
|
+
yl.extend(T0);
|
|
14037
|
+
yl.extend(L0);
|
|
14038
|
+
yl.extend(q0);
|
|
14042
14039
|
var Js = {}, Zs = {}, ua, mc;
|
|
14043
14040
|
function ih() {
|
|
14044
14041
|
if (mc) return ua;
|
|
@@ -14057,7 +14054,7 @@ function ih() {
|
|
|
14057
14054
|
return ua;
|
|
14058
14055
|
}
|
|
14059
14056
|
var is = {}, yc;
|
|
14060
|
-
function
|
|
14057
|
+
function j0() {
|
|
14061
14058
|
if (yc) return is;
|
|
14062
14059
|
yc = 1;
|
|
14063
14060
|
var r = ih(), e = sh();
|
|
@@ -14111,10 +14108,10 @@ function q0() {
|
|
|
14111
14108
|
}, is;
|
|
14112
14109
|
}
|
|
14113
14110
|
var bc;
|
|
14114
|
-
function
|
|
14111
|
+
function I0() {
|
|
14115
14112
|
if (bc) return Zs;
|
|
14116
14113
|
bc = 1, ih();
|
|
14117
|
-
var r =
|
|
14114
|
+
var r = j0(), e = typeof WeakMap < "u" ? WeakMap : function() {
|
|
14118
14115
|
var t = [], n = [];
|
|
14119
14116
|
return {
|
|
14120
14117
|
set: function(i, s) {
|
|
@@ -14212,7 +14209,7 @@ var vc;
|
|
|
14212
14209
|
function sh() {
|
|
14213
14210
|
if (vc) return Js;
|
|
14214
14211
|
vc = 1;
|
|
14215
|
-
var r =
|
|
14212
|
+
var r = I0();
|
|
14216
14213
|
return Js.stringify = function(e, t, n, i) {
|
|
14217
14214
|
if (arguments.length < 4)
|
|
14218
14215
|
try {
|
|
@@ -14240,38 +14237,38 @@ function sh() {
|
|
|
14240
14237
|
}, Js;
|
|
14241
14238
|
}
|
|
14242
14239
|
var wc, xc;
|
|
14243
|
-
function
|
|
14240
|
+
function $0() {
|
|
14244
14241
|
return xc || (xc = 1, wc = sh()), wc;
|
|
14245
14242
|
}
|
|
14246
|
-
var
|
|
14247
|
-
const oh = /* @__PURE__ */ Vi(
|
|
14243
|
+
var D0 = $0();
|
|
14244
|
+
const oh = /* @__PURE__ */ Vi(D0), M0 = (r = null, e, t, n = !0) => oh.stringify(r, e, t, n), B0 = (r, e) => oh.parse(r, e);
|
|
14248
14245
|
function ah(r, e) {
|
|
14249
14246
|
return function() {
|
|
14250
14247
|
return r.apply(e, arguments);
|
|
14251
14248
|
};
|
|
14252
14249
|
}
|
|
14253
|
-
const { toString:
|
|
14254
|
-
const t =
|
|
14250
|
+
const { toString: F0 } = Object.prototype, { getPrototypeOf: bl } = Object, No = /* @__PURE__ */ ((r) => (e) => {
|
|
14251
|
+
const t = F0.call(e);
|
|
14255
14252
|
return r[t] || (r[t] = t.slice(8, -1).toLowerCase());
|
|
14256
14253
|
})(/* @__PURE__ */ Object.create(null)), Qn = (r) => (r = r.toLowerCase(), (e) => No(e) === r), Co = (r) => (e) => typeof e === r, { isArray: Wi } = Array, Ss = Co("undefined");
|
|
14257
|
-
function
|
|
14254
|
+
function U0(r) {
|
|
14258
14255
|
return r !== null && !Ss(r) && r.constructor !== null && !Ss(r.constructor) && En(r.constructor.isBuffer) && r.constructor.isBuffer(r);
|
|
14259
14256
|
}
|
|
14260
14257
|
const lh = Qn("ArrayBuffer");
|
|
14261
|
-
function
|
|
14258
|
+
function K0(r) {
|
|
14262
14259
|
let e;
|
|
14263
14260
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(r) : e = r && r.buffer && lh(r.buffer), e;
|
|
14264
14261
|
}
|
|
14265
|
-
const
|
|
14262
|
+
const H0 = Co("string"), En = Co("function"), uh = Co("number"), Lo = (r) => r !== null && typeof r == "object", z0 = (r) => r === !0 || r === !1, to = (r) => {
|
|
14266
14263
|
if (No(r) !== "object")
|
|
14267
14264
|
return !1;
|
|
14268
14265
|
const e = bl(r);
|
|
14269
14266
|
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in r) && !(Symbol.iterator in r);
|
|
14270
|
-
},
|
|
14267
|
+
}, V0 = Qn("Date"), W0 = Qn("File"), Y0 = Qn("Blob"), G0 = Qn("FileList"), J0 = (r) => Lo(r) && En(r.pipe), Z0 = (r) => {
|
|
14271
14268
|
let e;
|
|
14272
14269
|
return r && (typeof FormData == "function" && r instanceof FormData || En(r.append) && ((e = No(r)) === "formdata" || // detect form-data instance
|
|
14273
14270
|
e === "object" && En(r.toString) && r.toString() === "[object FormData]"));
|
|
14274
|
-
},
|
|
14271
|
+
}, X0 = Qn("URLSearchParams"), [Q0, ew, tw, nw] = ["ReadableStream", "Request", "Response", "Headers"].map(Qn), rw = (r) => r.trim ? r.trim() : r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
14275
14272
|
function Cs(r, e, { allOwnKeys: t = !1 } = {}) {
|
|
14276
14273
|
if (r === null || typeof r > "u")
|
|
14277
14274
|
return;
|
|
@@ -14305,13 +14302,13 @@ function za() {
|
|
|
14305
14302
|
arguments[n] && Cs(arguments[n], t);
|
|
14306
14303
|
return e;
|
|
14307
14304
|
}
|
|
14308
|
-
const
|
|
14305
|
+
const iw = (r, e, t, { allOwnKeys: n } = {}) => (Cs(e, (i, s) => {
|
|
14309
14306
|
t && En(i) ? r[s] = ah(i, t) : r[s] = i;
|
|
14310
|
-
}, { allOwnKeys: n }), r),
|
|
14307
|
+
}, { allOwnKeys: n }), r), sw = (r) => (r.charCodeAt(0) === 65279 && (r = r.slice(1)), r), ow = (r, e, t, n) => {
|
|
14311
14308
|
r.prototype = Object.create(e.prototype, n), r.prototype.constructor = r, Object.defineProperty(r, "super", {
|
|
14312
14309
|
value: e.prototype
|
|
14313
14310
|
}), t && Object.assign(r.prototype, t);
|
|
14314
|
-
},
|
|
14311
|
+
}, aw = (r, e, t, n) => {
|
|
14315
14312
|
let i, s, a;
|
|
14316
14313
|
const u = {};
|
|
14317
14314
|
if (e = e || {}, r == null) return e;
|
|
@@ -14321,11 +14318,11 @@ const rw = (r, e, t, { allOwnKeys: n } = {}) => (Cs(e, (i, s) => {
|
|
|
14321
14318
|
r = t !== !1 && bl(r);
|
|
14322
14319
|
} while (r && (!t || t(r, e)) && r !== Object.prototype);
|
|
14323
14320
|
return e;
|
|
14324
|
-
},
|
|
14321
|
+
}, lw = (r, e, t) => {
|
|
14325
14322
|
r = String(r), (t === void 0 || t > r.length) && (t = r.length), t -= e.length;
|
|
14326
14323
|
const n = r.indexOf(e, t);
|
|
14327
14324
|
return n !== -1 && n === t;
|
|
14328
|
-
},
|
|
14325
|
+
}, uw = (r) => {
|
|
14329
14326
|
if (!r) return null;
|
|
14330
14327
|
if (Wi(r)) return r;
|
|
14331
14328
|
let e = r.length;
|
|
@@ -14334,31 +14331,31 @@ const rw = (r, e, t, { allOwnKeys: n } = {}) => (Cs(e, (i, s) => {
|
|
|
14334
14331
|
for (; e-- > 0; )
|
|
14335
14332
|
t[e] = r[e];
|
|
14336
14333
|
return t;
|
|
14337
|
-
},
|
|
14334
|
+
}, cw = /* @__PURE__ */ ((r) => (e) => r && e instanceof r)(typeof Uint8Array < "u" && bl(Uint8Array)), fw = (r, e) => {
|
|
14338
14335
|
const t = (r && r[Symbol.iterator]).call(r);
|
|
14339
14336
|
let n;
|
|
14340
14337
|
for (; (n = t.next()) && !n.done; ) {
|
|
14341
14338
|
const i = n.value;
|
|
14342
14339
|
e.call(r, i[0], i[1]);
|
|
14343
14340
|
}
|
|
14344
|
-
},
|
|
14341
|
+
}, hw = (r, e) => {
|
|
14345
14342
|
let t;
|
|
14346
14343
|
const n = [];
|
|
14347
14344
|
for (; (t = r.exec(e)) !== null; )
|
|
14348
14345
|
n.push(t);
|
|
14349
14346
|
return n;
|
|
14350
|
-
},
|
|
14347
|
+
}, dw = Qn("HTMLFormElement"), pw = (r) => r.toLowerCase().replace(
|
|
14351
14348
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
14352
14349
|
function(e, t, n) {
|
|
14353
14350
|
return t.toUpperCase() + n;
|
|
14354
14351
|
}
|
|
14355
|
-
), Ec = (({ hasOwnProperty: r }) => (e, t) => r.call(e, t))(Object.prototype),
|
|
14352
|
+
), Ec = (({ hasOwnProperty: r }) => (e, t) => r.call(e, t))(Object.prototype), gw = Qn("RegExp"), hh = (r, e) => {
|
|
14356
14353
|
const t = Object.getOwnPropertyDescriptors(r), n = {};
|
|
14357
14354
|
Cs(t, (i, s) => {
|
|
14358
14355
|
let a;
|
|
14359
14356
|
(a = e(i, s, r)) !== !1 && (n[s] = a || i);
|
|
14360
14357
|
}), Object.defineProperties(r, n);
|
|
14361
|
-
},
|
|
14358
|
+
}, mw = (r) => {
|
|
14362
14359
|
hh(r, (e, t) => {
|
|
14363
14360
|
if (En(r) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
|
|
14364
14361
|
return !1;
|
|
@@ -14373,19 +14370,19 @@ const rw = (r, e, t, { allOwnKeys: n } = {}) => (Cs(e, (i, s) => {
|
|
|
14373
14370
|
});
|
|
14374
14371
|
}
|
|
14375
14372
|
});
|
|
14376
|
-
},
|
|
14373
|
+
}, yw = (r, e) => {
|
|
14377
14374
|
const t = {}, n = (i) => {
|
|
14378
14375
|
i.forEach((s) => {
|
|
14379
14376
|
t[s] = !0;
|
|
14380
14377
|
});
|
|
14381
14378
|
};
|
|
14382
14379
|
return Wi(r) ? n(r) : n(String(r).split(e)), t;
|
|
14383
|
-
},
|
|
14384
|
-
},
|
|
14385
|
-
function
|
|
14380
|
+
}, bw = () => {
|
|
14381
|
+
}, vw = (r, e) => r != null && Number.isFinite(r = +r) ? r : e;
|
|
14382
|
+
function ww(r) {
|
|
14386
14383
|
return !!(r && En(r.append) && r[Symbol.toStringTag] === "FormData" && r[Symbol.iterator]);
|
|
14387
14384
|
}
|
|
14388
|
-
const
|
|
14385
|
+
const xw = (r) => {
|
|
14389
14386
|
const e = new Array(10), t = (n, i) => {
|
|
14390
14387
|
if (Lo(n)) {
|
|
14391
14388
|
if (e.indexOf(n) >= 0)
|
|
@@ -14402,70 +14399,70 @@ const ww = (r) => {
|
|
|
14402
14399
|
return n;
|
|
14403
14400
|
};
|
|
14404
14401
|
return t(r, 0);
|
|
14405
|
-
},
|
|
14402
|
+
}, Ew = Qn("AsyncFunction"), Sw = (r) => r && (Lo(r) || En(r)) && En(r.then) && En(r.catch), dh = ((r, e) => r ? setImmediate : e ? ((t, n) => (si.addEventListener("message", ({ source: i, data: s }) => {
|
|
14406
14403
|
i === si && s === t && n.length && n.shift()();
|
|
14407
14404
|
}, !1), (i) => {
|
|
14408
14405
|
n.push(i), si.postMessage(t, "*");
|
|
14409
14406
|
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
|
|
14410
14407
|
typeof setImmediate == "function",
|
|
14411
14408
|
En(si.postMessage)
|
|
14412
|
-
),
|
|
14409
|
+
), Ow = typeof queueMicrotask < "u" ? queueMicrotask.bind(si) : typeof process < "u" && process.nextTick || dh, Q = {
|
|
14413
14410
|
isArray: Wi,
|
|
14414
14411
|
isArrayBuffer: lh,
|
|
14415
|
-
isBuffer:
|
|
14416
|
-
isFormData:
|
|
14417
|
-
isArrayBufferView:
|
|
14418
|
-
isString:
|
|
14412
|
+
isBuffer: U0,
|
|
14413
|
+
isFormData: Z0,
|
|
14414
|
+
isArrayBufferView: K0,
|
|
14415
|
+
isString: H0,
|
|
14419
14416
|
isNumber: uh,
|
|
14420
|
-
isBoolean:
|
|
14417
|
+
isBoolean: z0,
|
|
14421
14418
|
isObject: Lo,
|
|
14422
14419
|
isPlainObject: to,
|
|
14423
|
-
isReadableStream:
|
|
14424
|
-
isRequest:
|
|
14425
|
-
isResponse:
|
|
14426
|
-
isHeaders:
|
|
14420
|
+
isReadableStream: Q0,
|
|
14421
|
+
isRequest: ew,
|
|
14422
|
+
isResponse: tw,
|
|
14423
|
+
isHeaders: nw,
|
|
14427
14424
|
isUndefined: Ss,
|
|
14428
|
-
isDate:
|
|
14429
|
-
isFile:
|
|
14430
|
-
isBlob:
|
|
14431
|
-
isRegExp:
|
|
14425
|
+
isDate: V0,
|
|
14426
|
+
isFile: W0,
|
|
14427
|
+
isBlob: Y0,
|
|
14428
|
+
isRegExp: gw,
|
|
14432
14429
|
isFunction: En,
|
|
14433
|
-
isStream:
|
|
14434
|
-
isURLSearchParams:
|
|
14435
|
-
isTypedArray:
|
|
14436
|
-
isFileList:
|
|
14430
|
+
isStream: J0,
|
|
14431
|
+
isURLSearchParams: X0,
|
|
14432
|
+
isTypedArray: cw,
|
|
14433
|
+
isFileList: G0,
|
|
14437
14434
|
forEach: Cs,
|
|
14438
14435
|
merge: za,
|
|
14439
|
-
extend:
|
|
14440
|
-
trim:
|
|
14441
|
-
stripBOM:
|
|
14442
|
-
inherits:
|
|
14443
|
-
toFlatObject:
|
|
14436
|
+
extend: iw,
|
|
14437
|
+
trim: rw,
|
|
14438
|
+
stripBOM: sw,
|
|
14439
|
+
inherits: ow,
|
|
14440
|
+
toFlatObject: aw,
|
|
14444
14441
|
kindOf: No,
|
|
14445
14442
|
kindOfTest: Qn,
|
|
14446
|
-
endsWith:
|
|
14447
|
-
toArray:
|
|
14448
|
-
forEachEntry:
|
|
14449
|
-
matchAll:
|
|
14450
|
-
isHTMLForm:
|
|
14443
|
+
endsWith: lw,
|
|
14444
|
+
toArray: uw,
|
|
14445
|
+
forEachEntry: fw,
|
|
14446
|
+
matchAll: hw,
|
|
14447
|
+
isHTMLForm: dw,
|
|
14451
14448
|
hasOwnProperty: Ec,
|
|
14452
14449
|
hasOwnProp: Ec,
|
|
14453
14450
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
14454
14451
|
reduceDescriptors: hh,
|
|
14455
|
-
freezeMethods:
|
|
14456
|
-
toObjectSet:
|
|
14457
|
-
toCamelCase:
|
|
14458
|
-
noop:
|
|
14459
|
-
toFiniteNumber:
|
|
14452
|
+
freezeMethods: mw,
|
|
14453
|
+
toObjectSet: yw,
|
|
14454
|
+
toCamelCase: pw,
|
|
14455
|
+
noop: bw,
|
|
14456
|
+
toFiniteNumber: vw,
|
|
14460
14457
|
findKey: ch,
|
|
14461
14458
|
global: si,
|
|
14462
14459
|
isContextDefined: fh,
|
|
14463
|
-
isSpecCompliantForm:
|
|
14464
|
-
toJSONObject:
|
|
14465
|
-
isAsyncFn:
|
|
14466
|
-
isThenable:
|
|
14460
|
+
isSpecCompliantForm: ww,
|
|
14461
|
+
toJSONObject: xw,
|
|
14462
|
+
isAsyncFn: Ew,
|
|
14463
|
+
isThenable: Sw,
|
|
14467
14464
|
setImmediate: dh,
|
|
14468
|
-
asap:
|
|
14465
|
+
asap: Ow
|
|
14469
14466
|
};
|
|
14470
14467
|
function Ge(r, e, t, n, i) {
|
|
14471
14468
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = r, this.name = "AxiosError", e && (this.code = e), t && (this.config = t), n && (this.request = n), i && (this.response = i, this.status = i.status ? i.status : null);
|
|
@@ -14517,7 +14514,7 @@ Ge.from = (r, e, t, n, i, s) => {
|
|
|
14517
14514
|
return u !== Error.prototype;
|
|
14518
14515
|
}, (u) => u !== "isAxiosError"), Ge.call(a, r.message, e, t, n, i), a.cause = r, a.name = r.name, s && Object.assign(a, s), a;
|
|
14519
14516
|
};
|
|
14520
|
-
const
|
|
14517
|
+
const Aw = null;
|
|
14521
14518
|
function Va(r) {
|
|
14522
14519
|
return Q.isPlainObject(r) || Q.isArray(r);
|
|
14523
14520
|
}
|
|
@@ -14529,10 +14526,10 @@ function Sc(r, e, t) {
|
|
|
14529
14526
|
return n = mh(n), !t && i ? "[" + n + "]" : n;
|
|
14530
14527
|
}).join(t ? "." : "") : e;
|
|
14531
14528
|
}
|
|
14532
|
-
function
|
|
14529
|
+
function Tw(r) {
|
|
14533
14530
|
return Q.isArray(r) && !r.some(Va);
|
|
14534
14531
|
}
|
|
14535
|
-
const
|
|
14532
|
+
const _w = Q.toFlatObject(Q, {}, null, function(r) {
|
|
14536
14533
|
return /^is[A-Z]/.test(r);
|
|
14537
14534
|
});
|
|
14538
14535
|
function Ro(r, e, t) {
|
|
@@ -14561,7 +14558,7 @@ function Ro(r, e, t) {
|
|
|
14561
14558
|
if (x && !E && typeof x == "object") {
|
|
14562
14559
|
if (Q.endsWith(A, "{}"))
|
|
14563
14560
|
A = n ? A : A.slice(0, -2), x = JSON.stringify(x);
|
|
14564
|
-
else if (Q.isArray(x) &&
|
|
14561
|
+
else if (Q.isArray(x) && Tw(x) || (Q.isFileList(x) || Q.endsWith(A, "[]")) && (T = Q.toArray(x)))
|
|
14565
14562
|
return A = mh(A), T.forEach(function(M, H) {
|
|
14566
14563
|
!(Q.isUndefined(M) || M === null) && e.append(
|
|
14567
14564
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -14572,7 +14569,7 @@ function Ro(r, e, t) {
|
|
|
14572
14569
|
}
|
|
14573
14570
|
return Va(x) ? !0 : (e.append(Sc(E, A, s), f(x)), !1);
|
|
14574
14571
|
}
|
|
14575
|
-
const m = [], v = Object.assign(
|
|
14572
|
+
const m = [], v = Object.assign(_w, {
|
|
14576
14573
|
defaultVisitor: d,
|
|
14577
14574
|
convertValue: f,
|
|
14578
14575
|
isVisitable: Va
|
|
@@ -14625,13 +14622,13 @@ yh.toString = function(r) {
|
|
|
14625
14622
|
return e(t[0]) + "=" + e(t[1]);
|
|
14626
14623
|
}, "").join("&");
|
|
14627
14624
|
};
|
|
14628
|
-
function
|
|
14625
|
+
function Nw(r) {
|
|
14629
14626
|
return encodeURIComponent(r).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
14630
14627
|
}
|
|
14631
14628
|
function bh(r, e, t) {
|
|
14632
14629
|
if (!e)
|
|
14633
14630
|
return r;
|
|
14634
|
-
const n = t && t.encode ||
|
|
14631
|
+
const n = t && t.encode || Nw;
|
|
14635
14632
|
Q.isFunction(t) && (t = {
|
|
14636
14633
|
serialize: t
|
|
14637
14634
|
});
|
|
@@ -14701,37 +14698,37 @@ const vh = {
|
|
|
14701
14698
|
silentJSONParsing: !0,
|
|
14702
14699
|
forcedJSONParsing: !0,
|
|
14703
14700
|
clarifyTimeoutError: !1
|
|
14704
|
-
},
|
|
14701
|
+
}, Cw = typeof URLSearchParams < "u" ? URLSearchParams : vl, Lw = typeof FormData < "u" ? FormData : null, Rw = typeof Blob < "u" ? Blob : null, kw = {
|
|
14705
14702
|
isBrowser: !0,
|
|
14706
14703
|
classes: {
|
|
14707
|
-
URLSearchParams:
|
|
14708
|
-
FormData:
|
|
14709
|
-
Blob:
|
|
14704
|
+
URLSearchParams: Cw,
|
|
14705
|
+
FormData: Lw,
|
|
14706
|
+
Blob: Rw
|
|
14710
14707
|
},
|
|
14711
14708
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
14712
|
-
}, wl = typeof window < "u" && typeof document < "u", Wa = typeof navigator == "object" && navigator || void 0,
|
|
14713
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
14709
|
+
}, wl = typeof window < "u" && typeof document < "u", Wa = typeof navigator == "object" && navigator || void 0, Pw = wl && (!Wa || ["ReactNative", "NativeScript", "NS"].indexOf(Wa.product) < 0), qw = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
14710
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", jw = wl && window.location.href || "http://localhost", Iw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14714
14711
|
__proto__: null,
|
|
14715
14712
|
hasBrowserEnv: wl,
|
|
14716
|
-
hasStandardBrowserEnv:
|
|
14717
|
-
hasStandardBrowserWebWorkerEnv:
|
|
14713
|
+
hasStandardBrowserEnv: Pw,
|
|
14714
|
+
hasStandardBrowserWebWorkerEnv: qw,
|
|
14718
14715
|
navigator: Wa,
|
|
14719
|
-
origin:
|
|
14716
|
+
origin: jw
|
|
14720
14717
|
}, Symbol.toStringTag, { value: "Module" })), Wt = {
|
|
14721
|
-
...
|
|
14722
|
-
...
|
|
14718
|
+
...Iw,
|
|
14719
|
+
...kw
|
|
14723
14720
|
};
|
|
14724
|
-
function
|
|
14721
|
+
function $w(r, e) {
|
|
14725
14722
|
return Ro(r, new Wt.classes.URLSearchParams(), Object.assign({
|
|
14726
14723
|
visitor: function(t, n, i, s) {
|
|
14727
14724
|
return Wt.isNode && Q.isBuffer(t) ? (this.append(n, t.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
14728
14725
|
}
|
|
14729
14726
|
}, e));
|
|
14730
14727
|
}
|
|
14731
|
-
function
|
|
14728
|
+
function Dw(r) {
|
|
14732
14729
|
return Q.matchAll(/\w+|\[(\w*)]/g, r).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
|
|
14733
14730
|
}
|
|
14734
|
-
function
|
|
14731
|
+
function Mw(r) {
|
|
14735
14732
|
const e = {}, t = Object.keys(r);
|
|
14736
14733
|
let n;
|
|
14737
14734
|
const i = t.length;
|
|
@@ -14745,17 +14742,17 @@ function wh(r) {
|
|
|
14745
14742
|
let a = t[s++];
|
|
14746
14743
|
if (a === "__proto__") return !0;
|
|
14747
14744
|
const u = Number.isFinite(+a), f = s >= t.length;
|
|
14748
|
-
return a = !a && Q.isArray(i) ? i.length : a, f ? (Q.hasOwnProp(i, a) ? i[a] = [i[a], n] : i[a] = n, !u) : ((!i[a] || !Q.isObject(i[a])) && (i[a] = []), e(t, n, i[a], s) && Q.isArray(i[a]) && (i[a] =
|
|
14745
|
+
return a = !a && Q.isArray(i) ? i.length : a, f ? (Q.hasOwnProp(i, a) ? i[a] = [i[a], n] : i[a] = n, !u) : ((!i[a] || !Q.isObject(i[a])) && (i[a] = []), e(t, n, i[a], s) && Q.isArray(i[a]) && (i[a] = Mw(i[a])), !u);
|
|
14749
14746
|
}
|
|
14750
14747
|
if (Q.isFormData(r) && Q.isFunction(r.entries)) {
|
|
14751
14748
|
const t = {};
|
|
14752
14749
|
return Q.forEachEntry(r, (n, i) => {
|
|
14753
|
-
e(
|
|
14750
|
+
e(Dw(n), i, t, 0);
|
|
14754
14751
|
}), t;
|
|
14755
14752
|
}
|
|
14756
14753
|
return null;
|
|
14757
14754
|
}
|
|
14758
|
-
function
|
|
14755
|
+
function Bw(r, e, t) {
|
|
14759
14756
|
if (Q.isString(r))
|
|
14760
14757
|
try {
|
|
14761
14758
|
return (e || JSON.parse)(r), Q.trim(r);
|
|
@@ -14781,7 +14778,7 @@ const Ls = {
|
|
|
14781
14778
|
let s;
|
|
14782
14779
|
if (i) {
|
|
14783
14780
|
if (t.indexOf("application/x-www-form-urlencoded") > -1)
|
|
14784
|
-
return
|
|
14781
|
+
return $w(r, this.formSerializer).toString();
|
|
14785
14782
|
if ((s = Q.isFileList(r)) || t.indexOf("multipart/form-data") > -1) {
|
|
14786
14783
|
const a = this.env && this.env.FormData;
|
|
14787
14784
|
return Ro(
|
|
@@ -14791,7 +14788,7 @@ const Ls = {
|
|
|
14791
14788
|
);
|
|
14792
14789
|
}
|
|
14793
14790
|
}
|
|
14794
|
-
return i || n ? (e.setContentType("application/json", !1),
|
|
14791
|
+
return i || n ? (e.setContentType("application/json", !1), Bw(r)) : r;
|
|
14795
14792
|
}],
|
|
14796
14793
|
transformResponse: [function(r) {
|
|
14797
14794
|
const e = this.transitional || Ls.transitional, t = e && e.forcedJSONParsing, n = this.responseType === "json";
|
|
@@ -14834,7 +14831,7 @@ const Ls = {
|
|
|
14834
14831
|
Q.forEach(["delete", "get", "head", "post", "put", "patch"], (r) => {
|
|
14835
14832
|
Ls.headers[r] = {};
|
|
14836
14833
|
});
|
|
14837
|
-
const
|
|
14834
|
+
const Fw = Q.toObjectSet([
|
|
14838
14835
|
"age",
|
|
14839
14836
|
"authorization",
|
|
14840
14837
|
"content-length",
|
|
@@ -14852,12 +14849,12 @@ const Bw = Q.toObjectSet([
|
|
|
14852
14849
|
"referer",
|
|
14853
14850
|
"retry-after",
|
|
14854
14851
|
"user-agent"
|
|
14855
|
-
]),
|
|
14852
|
+
]), Uw = (r) => {
|
|
14856
14853
|
const e = {};
|
|
14857
14854
|
let t, n, i;
|
|
14858
14855
|
return r && r.split(`
|
|
14859
14856
|
`).forEach(function(s) {
|
|
14860
|
-
i = s.indexOf(":"), t = s.substring(0, i).trim().toLowerCase(), n = s.substring(i + 1).trim(), !(!t || e[t] &&
|
|
14857
|
+
i = s.indexOf(":"), t = s.substring(0, i).trim().toLowerCase(), n = s.substring(i + 1).trim(), !(!t || e[t] && Fw[t]) && (t === "set-cookie" ? e[t] ? e[t].push(n) : e[t] = [n] : e[t] = e[t] ? e[t] + ", " + n : n);
|
|
14861
14858
|
}), e;
|
|
14862
14859
|
}, Tc = Symbol("internals");
|
|
14863
14860
|
function ss(r) {
|
|
@@ -14866,14 +14863,14 @@ function ss(r) {
|
|
|
14866
14863
|
function no(r) {
|
|
14867
14864
|
return r === !1 || r == null ? r : Q.isArray(r) ? r.map(no) : String(r);
|
|
14868
14865
|
}
|
|
14869
|
-
function
|
|
14866
|
+
function Kw(r) {
|
|
14870
14867
|
const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
14871
14868
|
let n;
|
|
14872
14869
|
for (; n = t.exec(r); )
|
|
14873
14870
|
e[n[1]] = n[2];
|
|
14874
14871
|
return e;
|
|
14875
14872
|
}
|
|
14876
|
-
const
|
|
14873
|
+
const Hw = (r) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());
|
|
14877
14874
|
function ca(r, e, t, n, i) {
|
|
14878
14875
|
if (Q.isFunction(n))
|
|
14879
14876
|
return n.call(this, e, t);
|
|
@@ -14884,10 +14881,10 @@ function ca(r, e, t, n, i) {
|
|
|
14884
14881
|
return n.test(e);
|
|
14885
14882
|
}
|
|
14886
14883
|
}
|
|
14887
|
-
function
|
|
14884
|
+
function zw(r) {
|
|
14888
14885
|
return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, n) => t.toUpperCase() + n);
|
|
14889
14886
|
}
|
|
14890
|
-
function
|
|
14887
|
+
function Vw(r, e) {
|
|
14891
14888
|
const t = Q.toCamelCase(" " + e);
|
|
14892
14889
|
["get", "set", "has"].forEach((n) => {
|
|
14893
14890
|
Object.defineProperty(r, n + t, {
|
|
@@ -14914,8 +14911,8 @@ let cn = class {
|
|
|
14914
14911
|
const s = (a, u) => Q.forEach(a, (f, d) => i(f, d, u));
|
|
14915
14912
|
if (Q.isPlainObject(r) || r instanceof this.constructor)
|
|
14916
14913
|
s(r, e);
|
|
14917
|
-
else if (Q.isString(r) && (r = r.trim()) && !
|
|
14918
|
-
s(
|
|
14914
|
+
else if (Q.isString(r) && (r = r.trim()) && !Hw(r))
|
|
14915
|
+
s(Uw(r), e);
|
|
14919
14916
|
else if (Q.isHeaders(r))
|
|
14920
14917
|
for (const [a, u] of r.entries())
|
|
14921
14918
|
i(u, a, t);
|
|
@@ -14931,7 +14928,7 @@ let cn = class {
|
|
|
14931
14928
|
if (!e)
|
|
14932
14929
|
return n;
|
|
14933
14930
|
if (e === !0)
|
|
14934
|
-
return
|
|
14931
|
+
return Kw(n);
|
|
14935
14932
|
if (Q.isFunction(e))
|
|
14936
14933
|
return e.call(this, n, t);
|
|
14937
14934
|
if (Q.isRegExp(e))
|
|
@@ -14975,7 +14972,7 @@ let cn = class {
|
|
|
14975
14972
|
e[s] = no(n), delete e[i];
|
|
14976
14973
|
return;
|
|
14977
14974
|
}
|
|
14978
|
-
const a = r ?
|
|
14975
|
+
const a = r ? zw(i) : String(i).trim();
|
|
14979
14976
|
a !== i && delete e[i], e[a] = no(n), t[a] = !0;
|
|
14980
14977
|
}), this;
|
|
14981
14978
|
}
|
|
@@ -15011,7 +15008,7 @@ let cn = class {
|
|
|
15011
15008
|
}).accessors, t = this.prototype;
|
|
15012
15009
|
function n(i) {
|
|
15013
15010
|
const s = ss(i);
|
|
15014
|
-
e[s] || (
|
|
15011
|
+
e[s] || (Vw(t, i), e[s] = !0);
|
|
15015
15012
|
}
|
|
15016
15013
|
return Q.isArray(r) ? r.forEach(n) : n(r), this;
|
|
15017
15014
|
}
|
|
@@ -15053,11 +15050,11 @@ function Eh(r, e, t) {
|
|
|
15053
15050
|
t
|
|
15054
15051
|
));
|
|
15055
15052
|
}
|
|
15056
|
-
function
|
|
15053
|
+
function Ww(r) {
|
|
15057
15054
|
const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(r);
|
|
15058
15055
|
return e && e[1] || "";
|
|
15059
15056
|
}
|
|
15060
|
-
function
|
|
15057
|
+
function Yw(r, e) {
|
|
15061
15058
|
r = r || 10;
|
|
15062
15059
|
const t = new Array(r), n = new Array(r);
|
|
15063
15060
|
let i = 0, s = 0, a;
|
|
@@ -15073,7 +15070,7 @@ function Ww(r, e) {
|
|
|
15073
15070
|
return y ? Math.round(v * 1e3 / y) : void 0;
|
|
15074
15071
|
};
|
|
15075
15072
|
}
|
|
15076
|
-
function
|
|
15073
|
+
function Gw(r, e) {
|
|
15077
15074
|
let t = 0, n = 1e3 / e, i, s;
|
|
15078
15075
|
const a = (u, f = Date.now()) => {
|
|
15079
15076
|
t = f, i = null, s && (clearTimeout(s), s = null), r.apply(null, u);
|
|
@@ -15087,8 +15084,8 @@ function Yw(r, e) {
|
|
|
15087
15084
|
}
|
|
15088
15085
|
const yo = (r, e, t = 3) => {
|
|
15089
15086
|
let n = 0;
|
|
15090
|
-
const i =
|
|
15091
|
-
return
|
|
15087
|
+
const i = Yw(50, 250);
|
|
15088
|
+
return Gw((s) => {
|
|
15092
15089
|
const a = s.loaded, u = s.lengthComputable ? s.total : void 0, f = a - n, d = i(f), m = a <= u;
|
|
15093
15090
|
n = a;
|
|
15094
15091
|
const v = {
|
|
@@ -15111,10 +15108,10 @@ const yo = (r, e, t = 3) => {
|
|
|
15111
15108
|
total: r,
|
|
15112
15109
|
loaded: n
|
|
15113
15110
|
}), e[1]];
|
|
15114
|
-
}, Nc = (r) => (...e) => Q.asap(() => r(...e)),
|
|
15111
|
+
}, Nc = (r) => (...e) => Q.asap(() => r(...e)), Jw = Wt.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, e) => (t) => (t = new URL(t, Wt.origin), r.protocol === t.protocol && r.host === t.host && (e || r.port === t.port)))(
|
|
15115
15112
|
new URL(Wt.origin),
|
|
15116
15113
|
Wt.navigator && /(msie|trident)/i.test(Wt.navigator.userAgent)
|
|
15117
|
-
) : () => !0,
|
|
15114
|
+
) : () => !0, Zw = Wt.hasStandardBrowserEnv ? (
|
|
15118
15115
|
// Standard browser envs support document.cookie
|
|
15119
15116
|
{
|
|
15120
15117
|
write(r, e, t, n, i, s) {
|
|
@@ -15141,15 +15138,15 @@ const yo = (r, e, t = 3) => {
|
|
|
15141
15138
|
}
|
|
15142
15139
|
}
|
|
15143
15140
|
);
|
|
15144
|
-
function
|
|
15141
|
+
function Xw(r) {
|
|
15145
15142
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(r);
|
|
15146
15143
|
}
|
|
15147
|
-
function
|
|
15144
|
+
function Qw(r, e) {
|
|
15148
15145
|
return e ? r.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : r;
|
|
15149
15146
|
}
|
|
15150
15147
|
function Sh(r, e, t) {
|
|
15151
|
-
let n = !
|
|
15152
|
-
return r && (n || t == !1) ?
|
|
15148
|
+
let n = !Xw(e);
|
|
15149
|
+
return r && (n || t == !1) ? Qw(r, e) : e;
|
|
15153
15150
|
}
|
|
15154
15151
|
const Cc = (r) => r instanceof cn ? { ...r } : r;
|
|
15155
15152
|
function fi(r, e) {
|
|
@@ -15232,12 +15229,12 @@ const Oh = (r) => {
|
|
|
15232
15229
|
a.setContentType([d || "multipart/form-data", ...m].join("; "));
|
|
15233
15230
|
}
|
|
15234
15231
|
}
|
|
15235
|
-
if (Wt.hasStandardBrowserEnv && (n && Q.isFunction(n) && (n = n(e)), n || n !== !1 &&
|
|
15236
|
-
const d = i && s &&
|
|
15232
|
+
if (Wt.hasStandardBrowserEnv && (n && Q.isFunction(n) && (n = n(e)), n || n !== !1 && Jw(e.url))) {
|
|
15233
|
+
const d = i && s && Zw.read(s);
|
|
15237
15234
|
d && a.set(i, d);
|
|
15238
15235
|
}
|
|
15239
15236
|
return e;
|
|
15240
|
-
},
|
|
15237
|
+
}, ex = typeof XMLHttpRequest < "u", tx = ex && function(r) {
|
|
15241
15238
|
return new Promise(function(e, t) {
|
|
15242
15239
|
const n = Oh(r);
|
|
15243
15240
|
let i = n.data;
|
|
@@ -15287,14 +15284,14 @@ const Oh = (r) => {
|
|
|
15287
15284
|
}), Q.isUndefined(n.withCredentials) || (E.withCredentials = !!n.withCredentials), a && a !== "json" && (E.responseType = n.responseType), f && ([v, x] = yo(f, !0), E.addEventListener("progress", v)), u && E.upload && ([m, y] = yo(u), E.upload.addEventListener("progress", m), E.upload.addEventListener("loadend", y)), (n.cancelToken || n.signal) && (d = (H) => {
|
|
15288
15285
|
E && (t(!H || H.type ? new Yi(null, r, E) : H), E.abort(), E = null);
|
|
15289
15286
|
}, n.cancelToken && n.cancelToken.subscribe(d), n.signal && (n.signal.aborted ? d() : n.signal.addEventListener("abort", d)));
|
|
15290
|
-
const M =
|
|
15287
|
+
const M = Ww(n.url);
|
|
15291
15288
|
if (M && Wt.protocols.indexOf(M) === -1) {
|
|
15292
15289
|
t(new Ge("Unsupported protocol " + M + ":", Ge.ERR_BAD_REQUEST, r));
|
|
15293
15290
|
return;
|
|
15294
15291
|
}
|
|
15295
15292
|
E.send(i || null);
|
|
15296
15293
|
});
|
|
15297
|
-
},
|
|
15294
|
+
}, nx = (r, e) => {
|
|
15298
15295
|
const { length: t } = r = r ? r.filter(Boolean) : [];
|
|
15299
15296
|
if (e || t) {
|
|
15300
15297
|
let n = new AbortController(), i;
|
|
@@ -15317,7 +15314,7 @@ const Oh = (r) => {
|
|
|
15317
15314
|
const { signal: f } = n;
|
|
15318
15315
|
return f.unsubscribe = () => Q.asap(u), f;
|
|
15319
15316
|
}
|
|
15320
|
-
},
|
|
15317
|
+
}, rx = function* (r, e) {
|
|
15321
15318
|
let t = r.byteLength;
|
|
15322
15319
|
if (t < e) {
|
|
15323
15320
|
yield r;
|
|
@@ -15326,10 +15323,10 @@ const Oh = (r) => {
|
|
|
15326
15323
|
let n = 0, i;
|
|
15327
15324
|
for (; n < t; )
|
|
15328
15325
|
i = n + e, yield r.slice(n, i), n = i;
|
|
15329
|
-
},
|
|
15330
|
-
for await (const t of
|
|
15331
|
-
yield*
|
|
15332
|
-
},
|
|
15326
|
+
}, ix = async function* (r, e) {
|
|
15327
|
+
for await (const t of sx(r))
|
|
15328
|
+
yield* rx(t, e);
|
|
15329
|
+
}, sx = async function* (r) {
|
|
15333
15330
|
if (r[Symbol.asyncIterator]) {
|
|
15334
15331
|
yield* r;
|
|
15335
15332
|
return;
|
|
@@ -15346,7 +15343,7 @@ const Oh = (r) => {
|
|
|
15346
15343
|
await e.cancel();
|
|
15347
15344
|
}
|
|
15348
15345
|
}, Lc = (r, e, t, n) => {
|
|
15349
|
-
const i =
|
|
15346
|
+
const i = ix(r, e);
|
|
15350
15347
|
let s = 0, a, u = (f) => {
|
|
15351
15348
|
a || (a = !0, n && n(f));
|
|
15352
15349
|
};
|
|
@@ -15374,13 +15371,13 @@ const Oh = (r) => {
|
|
|
15374
15371
|
}, {
|
|
15375
15372
|
highWaterMark: 2
|
|
15376
15373
|
});
|
|
15377
|
-
}, ko = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Ah = ko && typeof ReadableStream == "function",
|
|
15374
|
+
}, ko = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Ah = ko && typeof ReadableStream == "function", ox = ko && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((r) => (e) => r.encode(e))(new TextEncoder()) : async (r) => new Uint8Array(await new Response(r).arrayBuffer())), Th = (r, ...e) => {
|
|
15378
15375
|
try {
|
|
15379
15376
|
return !!r(...e);
|
|
15380
15377
|
} catch {
|
|
15381
15378
|
return !1;
|
|
15382
15379
|
}
|
|
15383
|
-
},
|
|
15380
|
+
}, ax = Ah && Th(() => {
|
|
15384
15381
|
let r = !1;
|
|
15385
15382
|
const e = new Request(Wt.origin, {
|
|
15386
15383
|
body: new ReadableStream(),
|
|
@@ -15400,7 +15397,7 @@ ko && ((r) => {
|
|
|
15400
15397
|
});
|
|
15401
15398
|
});
|
|
15402
15399
|
})(new Response());
|
|
15403
|
-
const
|
|
15400
|
+
const lx = async (r) => {
|
|
15404
15401
|
if (r == null)
|
|
15405
15402
|
return 0;
|
|
15406
15403
|
if (Q.isBlob(r))
|
|
@@ -15413,8 +15410,8 @@ const ax = async (r) => {
|
|
|
15413
15410
|
if (Q.isArrayBufferView(r) || Q.isArrayBuffer(r))
|
|
15414
15411
|
return r.byteLength;
|
|
15415
15412
|
if (Q.isURLSearchParams(r) && (r = r + ""), Q.isString(r))
|
|
15416
|
-
return (await
|
|
15417
|
-
},
|
|
15413
|
+
return (await ox(r)).byteLength;
|
|
15414
|
+
}, ux = async (r, e) => Q.toFiniteNumber(r.getContentLength()) ?? lx(e), cx = ko && (async (r) => {
|
|
15418
15415
|
let {
|
|
15419
15416
|
url: e,
|
|
15420
15417
|
method: t,
|
|
@@ -15430,13 +15427,13 @@ const ax = async (r) => {
|
|
|
15430
15427
|
fetchOptions: y
|
|
15431
15428
|
} = Oh(r);
|
|
15432
15429
|
d = d ? (d + "").toLowerCase() : "text";
|
|
15433
|
-
let x =
|
|
15430
|
+
let x = nx([i, s && s.toAbortSignal()], a), A;
|
|
15434
15431
|
const E = x && x.unsubscribe && (() => {
|
|
15435
15432
|
x.unsubscribe();
|
|
15436
15433
|
});
|
|
15437
15434
|
let T;
|
|
15438
15435
|
try {
|
|
15439
|
-
if (f &&
|
|
15436
|
+
if (f && ax && t !== "get" && t !== "head" && (T = await ux(m, n)) !== 0) {
|
|
15440
15437
|
let le = new Request(e, {
|
|
15441
15438
|
method: "POST",
|
|
15442
15439
|
body: n,
|
|
@@ -15500,9 +15497,9 @@ const ax = async (r) => {
|
|
|
15500
15497
|
) : Ge.from(M, M && M.code, r, A);
|
|
15501
15498
|
}
|
|
15502
15499
|
}), Ga = {
|
|
15503
|
-
http:
|
|
15504
|
-
xhr:
|
|
15505
|
-
fetch:
|
|
15500
|
+
http: Aw,
|
|
15501
|
+
xhr: tx,
|
|
15502
|
+
fetch: cx
|
|
15506
15503
|
};
|
|
15507
15504
|
Q.forEach(Ga, (r, e) => {
|
|
15508
15505
|
if (r) {
|
|
@@ -15513,7 +15510,7 @@ Q.forEach(Ga, (r, e) => {
|
|
|
15513
15510
|
Object.defineProperty(r, "adapterName", { value: e });
|
|
15514
15511
|
}
|
|
15515
15512
|
});
|
|
15516
|
-
const kc = (r) => `- ${r}`,
|
|
15513
|
+
const kc = (r) => `- ${r}`, fx = (r) => Q.isFunction(r) || r === null || r === !1, _h = {
|
|
15517
15514
|
getAdapter: (r) => {
|
|
15518
15515
|
r = Q.isArray(r) ? r : [r];
|
|
15519
15516
|
const { length: e } = r;
|
|
@@ -15522,7 +15519,7 @@ const kc = (r) => `- ${r}`, cx = (r) => Q.isFunction(r) || r === null || r === !
|
|
|
15522
15519
|
for (let s = 0; s < e; s++) {
|
|
15523
15520
|
t = r[s];
|
|
15524
15521
|
let a;
|
|
15525
|
-
if (n = t, !
|
|
15522
|
+
if (n = t, !fx(t) && (n = Ga[(a = String(t)).toLowerCase()], n === void 0))
|
|
15526
15523
|
throw new Ge(`Unknown adapter '${a}'`);
|
|
15527
15524
|
if (n)
|
|
15528
15525
|
break;
|
|
@@ -15594,7 +15591,7 @@ Po.transitional = function(r, e, t) {
|
|
|
15594
15591
|
Po.spelling = function(r) {
|
|
15595
15592
|
return (e, t) => (console.warn(`${t} is likely a misspelling of ${r}`), !0);
|
|
15596
15593
|
};
|
|
15597
|
-
function
|
|
15594
|
+
function hx(r, e, t) {
|
|
15598
15595
|
if (typeof r != "object")
|
|
15599
15596
|
throw new Ge("options must be an object", Ge.ERR_BAD_OPTION_VALUE);
|
|
15600
15597
|
const n = Object.keys(r);
|
|
@@ -15612,7 +15609,7 @@ function fx(r, e, t) {
|
|
|
15612
15609
|
}
|
|
15613
15610
|
}
|
|
15614
15611
|
const ro = {
|
|
15615
|
-
assertOptions:
|
|
15612
|
+
assertOptions: hx,
|
|
15616
15613
|
validators: Po
|
|
15617
15614
|
}, fr = ro.validators;
|
|
15618
15615
|
let oi = class {
|
|
@@ -15739,7 +15736,7 @@ Q.forEach(["post", "put", "patch"], function(r) {
|
|
|
15739
15736
|
}
|
|
15740
15737
|
oi.prototype[r] = e(), oi.prototype[r + "Form"] = e(!0);
|
|
15741
15738
|
});
|
|
15742
|
-
let
|
|
15739
|
+
let dx = class Ch {
|
|
15743
15740
|
constructor(e) {
|
|
15744
15741
|
if (typeof e != "function")
|
|
15745
15742
|
throw new TypeError("executor must be a function.");
|
|
@@ -15812,12 +15809,12 @@ let hx = class Ch {
|
|
|
15812
15809
|
};
|
|
15813
15810
|
}
|
|
15814
15811
|
};
|
|
15815
|
-
function
|
|
15812
|
+
function px(r) {
|
|
15816
15813
|
return function(e) {
|
|
15817
15814
|
return r.apply(null, e);
|
|
15818
15815
|
};
|
|
15819
15816
|
}
|
|
15820
|
-
function
|
|
15817
|
+
function gx(r) {
|
|
15821
15818
|
return Q.isObject(r) && r.isAxiosError === !0;
|
|
15822
15819
|
}
|
|
15823
15820
|
const Ja = {
|
|
@@ -15897,7 +15894,7 @@ function Lh(r) {
|
|
|
15897
15894
|
const Ot = Lh(Ls);
|
|
15898
15895
|
Ot.Axios = oi;
|
|
15899
15896
|
Ot.CanceledError = Yi;
|
|
15900
|
-
Ot.CancelToken =
|
|
15897
|
+
Ot.CancelToken = dx;
|
|
15901
15898
|
Ot.isCancel = xh;
|
|
15902
15899
|
Ot.VERSION = Nh;
|
|
15903
15900
|
Ot.toFormData = Ro;
|
|
@@ -15906,8 +15903,8 @@ Ot.Cancel = Ot.CanceledError;
|
|
|
15906
15903
|
Ot.all = function(r) {
|
|
15907
15904
|
return Promise.all(r);
|
|
15908
15905
|
};
|
|
15909
|
-
Ot.spread =
|
|
15910
|
-
Ot.isAxiosError =
|
|
15906
|
+
Ot.spread = px;
|
|
15907
|
+
Ot.isAxiosError = gx;
|
|
15911
15908
|
Ot.mergeConfig = fi;
|
|
15912
15909
|
Ot.AxiosHeaders = cn;
|
|
15913
15910
|
Ot.formToJSON = (r) => wh(Q.isHTMLForm(r) ? new FormData(r) : r);
|
|
@@ -15915,22 +15912,22 @@ Ot.getAdapter = _h.getAdapter;
|
|
|
15915
15912
|
Ot.HttpStatusCode = Ja;
|
|
15916
15913
|
Ot.default = Ot;
|
|
15917
15914
|
const {
|
|
15918
|
-
Axios:
|
|
15919
|
-
AxiosError:
|
|
15920
|
-
CanceledError:
|
|
15921
|
-
isCancel:
|
|
15922
|
-
CancelToken:
|
|
15923
|
-
VERSION:
|
|
15924
|
-
all:
|
|
15925
|
-
Cancel:
|
|
15926
|
-
isAxiosError:
|
|
15927
|
-
spread:
|
|
15928
|
-
toFormData:
|
|
15929
|
-
AxiosHeaders:
|
|
15930
|
-
HttpStatusCode:
|
|
15931
|
-
formToJSON:
|
|
15932
|
-
getAdapter:
|
|
15933
|
-
mergeConfig:
|
|
15915
|
+
Axios: Vx,
|
|
15916
|
+
AxiosError: Wx,
|
|
15917
|
+
CanceledError: Yx,
|
|
15918
|
+
isCancel: Gx,
|
|
15919
|
+
CancelToken: Jx,
|
|
15920
|
+
VERSION: Zx,
|
|
15921
|
+
all: Xx,
|
|
15922
|
+
Cancel: Qx,
|
|
15923
|
+
isAxiosError: eE,
|
|
15924
|
+
spread: tE,
|
|
15925
|
+
toFormData: nE,
|
|
15926
|
+
AxiosHeaders: rE,
|
|
15927
|
+
HttpStatusCode: iE,
|
|
15928
|
+
formToJSON: sE,
|
|
15929
|
+
getAdapter: oE,
|
|
15930
|
+
mergeConfig: aE
|
|
15934
15931
|
} = Ot;
|
|
15935
15932
|
class Rh {
|
|
15936
15933
|
constructor(e) {
|
|
@@ -15946,10 +15943,10 @@ class Rh {
|
|
|
15946
15943
|
}
|
|
15947
15944
|
get(e, t = null) {
|
|
15948
15945
|
const n = this.getRaw(e);
|
|
15949
|
-
return n ?
|
|
15946
|
+
return n ? B0(n) : t;
|
|
15950
15947
|
}
|
|
15951
15948
|
set(e, t) {
|
|
15952
|
-
this.setRaw(e,
|
|
15949
|
+
this.setRaw(e, M0(t));
|
|
15953
15950
|
}
|
|
15954
15951
|
del(e) {
|
|
15955
15952
|
var t;
|
|
@@ -15960,10 +15957,10 @@ class Rh {
|
|
|
15960
15957
|
(e = this.storage) == null || e.clear();
|
|
15961
15958
|
}
|
|
15962
15959
|
}
|
|
15963
|
-
const
|
|
15960
|
+
const mx = typeof localStorage > "u" ? void 0 : localStorage, yx = typeof sessionStorage > "u" ? void 0 : sessionStorage, bx = new Rh(mx), vx = new Rh(yx), wx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15964
15961
|
__proto__: null,
|
|
15965
|
-
local:
|
|
15966
|
-
session:
|
|
15962
|
+
local: bx,
|
|
15963
|
+
session: vx
|
|
15967
15964
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15968
15965
|
Ot.create({
|
|
15969
15966
|
baseURL: "",
|
|
@@ -15971,49 +15968,49 @@ Ot.create({
|
|
|
15971
15968
|
});
|
|
15972
15969
|
const kh = "i18nextLng", Za = "zh";
|
|
15973
15970
|
Gt.use(Qf).use(nh).init({
|
|
15974
|
-
lng:
|
|
15971
|
+
lng: wx.local.getRaw(kh, Za),
|
|
15975
15972
|
fallbackLng: Za,
|
|
15976
15973
|
backend: { loadPath: "/locales/{{lng}}/{{ns}}.json" },
|
|
15977
15974
|
interpolation: { escapeValue: !1 }
|
|
15978
15975
|
});
|
|
15979
|
-
const
|
|
15976
|
+
const lE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15980
15977
|
__proto__: null,
|
|
15981
15978
|
KEY: kh,
|
|
15982
15979
|
LNG_ZH: Za,
|
|
15983
|
-
changeLanguage:
|
|
15984
|
-
createInstance:
|
|
15985
|
-
dir:
|
|
15986
|
-
exists:
|
|
15987
|
-
getFixedT:
|
|
15988
|
-
hasLoadedNamespace:
|
|
15989
|
-
init:
|
|
15990
|
-
loadLanguages:
|
|
15991
|
-
loadNamespaces:
|
|
15992
|
-
loadResources:
|
|
15993
|
-
reloadResources:
|
|
15994
|
-
setDefaultNamespace:
|
|
15995
|
-
t:
|
|
15996
|
-
use:
|
|
15997
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
15980
|
+
changeLanguage: P1,
|
|
15981
|
+
createInstance: _1,
|
|
15982
|
+
dir: N1,
|
|
15983
|
+
exists: I1,
|
|
15984
|
+
getFixedT: q1,
|
|
15985
|
+
hasLoadedNamespace: D1,
|
|
15986
|
+
init: C1,
|
|
15987
|
+
loadLanguages: B1,
|
|
15988
|
+
loadNamespaces: M1,
|
|
15989
|
+
loadResources: L1,
|
|
15990
|
+
reloadResources: R1,
|
|
15991
|
+
setDefaultNamespace: $1,
|
|
15992
|
+
t: j1,
|
|
15993
|
+
use: k1
|
|
15994
|
+
}, Symbol.toStringTag, { value: "Module" })), xx = async (r) => {
|
|
15998
15995
|
const { file: e, onProgress: t, onSuccess: n } = r;
|
|
15999
15996
|
let i = 0;
|
|
16000
15997
|
const s = setInterval(() => {
|
|
16001
15998
|
i += Math.floor(Math.random() * 10), i >= 100 && (i = 99), t({ percent: i });
|
|
16002
15999
|
}, 100);
|
|
16003
16000
|
e.url = URL.createObjectURL(e), n == null || n({ url: e.url }), clearInterval(s);
|
|
16004
|
-
},
|
|
16001
|
+
}, uE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16005
16002
|
__proto__: null,
|
|
16006
|
-
onUpload:
|
|
16003
|
+
onUpload: xx
|
|
16007
16004
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16008
16005
|
export {
|
|
16009
|
-
|
|
16010
|
-
|
|
16011
|
-
|
|
16006
|
+
Wv as E,
|
|
16007
|
+
l1 as F,
|
|
16008
|
+
qx as M,
|
|
16012
16009
|
Wf as P,
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
|
|
16010
|
+
jx as T,
|
|
16011
|
+
r1 as U,
|
|
16012
|
+
uE as a,
|
|
16016
16013
|
Kr as c,
|
|
16017
16014
|
$c as g,
|
|
16018
|
-
|
|
16015
|
+
lE as i
|
|
16019
16016
|
};
|