@api-helper/template
Version:
根据 Swagger 的接口定义生成 TypeScript/JavaScript 的接口类型及其请求函数代码。
642 lines • 226 kB
JavaScript
"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __values = (this && this.__values) || function(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) return m.call(o);
if (o && typeof o.length === "number") return {
next: function () {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
}
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = void 0;
var y = function (e, r) { return function () { return (r || e((r = { exports: {} }).exports, r), r.exports); }; };
var ue = y(function (Gl, Wr) { var qe = function (e) { return e && e.Math == Math && e; }; Wr.exports = qe(typeof globalThis == "object" && globalThis) || qe(typeof window == "object" && window) || qe(typeof self == "object" && self) || qe(typeof global == "object" && global) || function () { return this; }() || Function("return this")(); });
var ae = y(function (Vl, Yr) { Yr.exports = function (e) { try {
return !!e();
}
catch (_b) {
return !0;
} }; });
var De = y(function (Xl, Qr) { var vs = ae(); Qr.exports = !vs(function () { return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; }); });
var Ie = y(function (Hl, Kr) { var _s = ae(); Kr.exports = !_s(function () { var e = function () { }.bind(); return typeof e != "function" || e.hasOwnProperty("prototype"); }); });
var ce = y(function (zl, Jr) { var Ss = Ie(), Re = Function.prototype.call; Jr.exports = Ss ? Re.bind(Re) : function () { return Re.apply(Re, arguments); }; });
var uu = y(function (ru) {
"use strict";
var Zr = {}.propertyIsEnumerable, eu = Object.getOwnPropertyDescriptor, ys = eu && !Zr.call({ 1: 2 }, 1);
ru.f = ys ? function (r) { var u = eu(this, r); return !!u && u.enumerable; } : Zr;
});
var xe = y(function (Yl, tu) { tu.exports = function (e, r) { return { enumerable: !(e & 1), configurable: !(e & 2), writable: !(e & 4), value: r }; }; });
var te = y(function (Ql, iu) { var nu = Ie(), su = Function.prototype, rr = su.call, Ts = nu && su.bind.bind(rr, rr); iu.exports = nu ? Ts : function (e) { return function () { return rr.apply(e, arguments); }; }; });
var Ae = y(function (Kl, ou) { var au = te(), Bs = au({}.toString), bs = au("".slice); ou.exports = function (e) { return bs(Bs(e), 8, -1); }; });
var lu = y(function (Jl, Du) { var ws = te(), Ns = ae(), Os = Ae(), ur = Object, qs = ws("".split); Du.exports = Ns(function () { return !ur("z").propertyIsEnumerable(0); }) ? function (e) { return Os(e) == "String" ? qs(e, "") : ur(e); } : ur; });
var Pe = y(function (Zl, cu) { cu.exports = function (e) { return e == null; }; });
var tr = y(function (ec, hu) { var Is = Pe(), Rs = TypeError; hu.exports = function (e) { if (Is(e))
throw Rs("Can't call method on " + e); return e; }; });
var ke = y(function (rc, pu) { var xs = lu(), Ps = tr(); pu.exports = function (e) { return xs(Ps(e)); }; });
var sr = y(function (uc, fu) { var nr = typeof document == "object" && document.all, ks = typeof nr > "u" && nr !== void 0; fu.exports = { all: nr, IS_HTMLDDA: ks }; });
var ee = y(function (tc, Eu) { var du = sr(), Ls = du.all; Eu.exports = du.IS_HTMLDDA ? function (e) { return typeof e == "function" || e === Ls; } : function (e) { return typeof e == "function"; }; });
var he = y(function (nc, gu) { var Cu = ee(), mu = sr(), $s = mu.all; gu.exports = mu.IS_HTMLDDA ? function (e) { return typeof e == "object" ? e !== null : Cu(e) || e === $s; } : function (e) { return typeof e == "object" ? e !== null : Cu(e); }; });
var ve = y(function (sc, Fu) { var ir = ue(), Ms = ee(), js = function (e) { return Ms(e) ? e : void 0; }; Fu.exports = function (e, r) { return arguments.length < 2 ? js(ir[e]) : ir[e] && ir[e][r]; }; });
var ar = y(function (ic, Au) { var Us = te(); Au.exports = Us({}.isPrototypeOf); });
var _u = y(function (ac, vu) { var Gs = ve(); vu.exports = Gs("navigator", "userAgent") || ""; });
var Nu = y(function (oc, wu) { var bu = ue(), or = _u(), Su = bu.process, yu = bu.Deno, Tu = Su && Su.versions || yu && yu.version, Bu = Tu && Tu.v8, ne, Le; Bu && (ne = Bu.split("."), Le = ne[0] > 0 && ne[0] < 4 ? 1 : +(ne[0] + ne[1])); !Le && or && (ne = or.match(/Edge\/(\d+)/), (!ne || ne[1] >= 74) && (ne = or.match(/Chrome\/(\d+)/), ne && (Le = +ne[1]))); wu.exports = Le; });
var Dr = y(function (Dc, qu) { var Ou = Nu(), Vs = ae(); qu.exports = !!Object.getOwnPropertySymbols && !Vs(function () { var e = Symbol(); return !String(e) || !(Object(e) instanceof Symbol) || !Symbol.sham && Ou && Ou < 41; }); });
var lr = y(function (lc, Iu) { var Xs = Dr(); Iu.exports = Xs && !Symbol.sham && typeof Symbol.iterator == "symbol"; });
var cr = y(function (cc, Ru) { var Hs = ve(), zs = ee(), Ws = ar(), Ys = lr(), Qs = Object; Ru.exports = Ys ? function (e) { return typeof e == "symbol"; } : function (e) { var r = Hs("Symbol"); return zs(r) && Ws(r.prototype, Qs(e)); }; });
var $e = y(function (hc, xu) { var Ks = String; xu.exports = function (e) { try {
return Ks(e);
}
catch (_b) {
return "Object";
} }; });
var _e = y(function (pc, Pu) { var Js = ee(), Zs = $e(), ei = TypeError; Pu.exports = function (e) { if (Js(e))
return e; throw ei(Zs(e) + " is not a function"); }; });
var Me = y(function (fc, ku) { var ri = _e(), ui = Pe(); ku.exports = function (e, r) { var u = e[r]; return ui(u) ? void 0 : ri(u); }; });
var $u = y(function (dc, Lu) { var hr = ce(), pr = ee(), fr = he(), ti = TypeError; Lu.exports = function (e, r) { var u, n; if (r === "string" && pr(u = e.toString) && !fr(n = hr(u, e)) || pr(u = e.valueOf) && !fr(n = hr(u, e)) || r !== "string" && pr(u = e.toString) && !fr(n = hr(u, e)))
return n; throw ti("Can't convert object to primitive value"); }; });
var ju = y(function (Ec, Mu) { Mu.exports = !1; });
var je = y(function (Cc, Gu) { var Uu = ue(), ni = Object.defineProperty; Gu.exports = function (e, r) { try {
ni(Uu, e, { value: r, configurable: !0, writable: !0 });
}
catch (_b) {
Uu[e] = r;
} return r; }; });
var Ue = y(function (mc, Xu) { var si = ue(), ii = je(), Vu = "__core-js_shared__", ai = si[Vu] || ii(Vu, {}); Xu.exports = ai; });
var dr = y(function (gc, zu) { var oi = ju(), Hu = Ue(); (zu.exports = function (e, r) { return Hu[e] || (Hu[e] = r !== void 0 ? r : {}); })("versions", []).push({ version: "3.26.1", mode: oi ? "pure" : "global", copyright: "\xA9 2014-2022 Denis Pushkarev (zloirock.ru)", license: "https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE", source: "https://github.com/zloirock/core-js" }); });
var Er = y(function (Fc, Wu) { var Di = tr(), li = Object; Wu.exports = function (e) { return li(Di(e)); }; });
var le = y(function (Ac, Yu) { var ci = te(), hi = Er(), pi = ci({}.hasOwnProperty); Yu.exports = Object.hasOwn || function (r, u) { return pi(hi(r), u); }; });
var Cr = y(function (vc, Qu) { var fi = te(), di = 0, Ei = Math.random(), Ci = fi(1..toString); Qu.exports = function (e) { return "Symbol(" + (e === void 0 ? "" : e) + ")_" + Ci(++di + Ei, 36); }; });
var fe = y(function (_c, rt) { var mi = ue(), gi = dr(), Ku = le(), Fi = Cr(), Ju = Dr(), et = lr(), Ce = gi("wks"), pe = mi.Symbol, Zu = pe && pe.for, Ai = et ? pe : pe && pe.withoutSetter || Fi; rt.exports = function (e) { if (!Ku(Ce, e) || !(Ju || typeof Ce[e] == "string")) {
var r = "Symbol." + e;
Ju && Ku(pe, e) ? Ce[e] = pe[e] : et && Zu ? Ce[e] = Zu(r) : Ce[e] = Ai(r);
} return Ce[e]; }; });
var st = y(function (Sc, nt) { var vi = ce(), ut = he(), tt = cr(), _i = Me(), Si = $u(), yi = fe(), Ti = TypeError, Bi = yi("toPrimitive"); nt.exports = function (e, r) { if (!ut(e) || tt(e))
return e; var u = _i(e, Bi), n; if (u) {
if (r === void 0 && (r = "default"), n = vi(u, e, r), !ut(n) || tt(n))
return n;
throw Ti("Can't convert object to primitive value");
} return r === void 0 && (r = "number"), Si(e, r); }; });
var Ge = y(function (yc, it) { var bi = st(), wi = cr(); it.exports = function (e) { var r = bi(e, "string"); return wi(r) ? r : r + ""; }; });
var Dt = y(function (Tc, ot) { var Ni = ue(), at = he(), mr = Ni.document, Oi = at(mr) && at(mr.createElement); ot.exports = function (e) { return Oi ? mr.createElement(e) : {}; }; });
var gr = y(function (Bc, lt) { var qi = De(), Ii = ae(), Ri = Dt(); lt.exports = !qi && !Ii(function () { return Object.defineProperty(Ri("div"), "a", { get: function () { return 7; } }).a != 7; }); });
var Fr = y(function (ht) { var xi = De(), Pi = ce(), ki = uu(), Li = xe(), $i = ke(), Mi = Ge(), ji = le(), Ui = gr(), ct = Object.getOwnPropertyDescriptor; ht.f = xi ? ct : function (r, u) { if (r = $i(r), u = Mi(u), Ui)
try {
return ct(r, u);
}
catch (_b) { } if (ji(r, u))
return Li(!Pi(ki.f, r, u), r[u]); }; });
var ft = y(function (wc, pt) { var Gi = De(), Vi = ae(); pt.exports = Gi && Vi(function () { return Object.defineProperty(function () { }, "prototype", { value: 42, writable: !1 }).prototype != 42; }); });
var me = y(function (Nc, dt) { var Xi = he(), Hi = String, zi = TypeError; dt.exports = function (e) { if (Xi(e))
return e; throw zi(Hi(e) + " is not an object"); }; });
var Se = y(function (Ct) { var Wi = De(), Yi = gr(), Qi = ft(), Ve = me(), Et = Ge(), Ki = TypeError, Ar = Object.defineProperty, Ji = Object.getOwnPropertyDescriptor, vr = "enumerable", _r = "configurable", Sr = "writable"; Ct.f = Wi ? Qi ? function (r, u, n) { if (Ve(r), u = Et(u), Ve(n), typeof r == "function" && u === "prototype" && "value" in n && Sr in n && !n[Sr]) {
var D = Ji(r, u);
D && D[Sr] && (r[u] = n.value, n = { configurable: _r in n ? n[_r] : D[_r], enumerable: vr in n ? n[vr] : D[vr], writable: !1 });
} return Ar(r, u, n); } : Ar : function (r, u, n) { if (Ve(r), u = Et(u), Ve(n), Yi)
try {
return Ar(r, u, n);
}
catch (_b) { } if ("get" in n || "set" in n)
throw Ki("Accessors not supported"); return "value" in n && (r[u] = n.value), r; }; });
var yr = y(function (qc, mt) { var Zi = De(), ea = Se(), ra = xe(); mt.exports = Zi ? function (e, r, u) { return ea.f(e, r, ra(1, u)); } : function (e, r, u) { return e[r] = u, e; }; });
var At = y(function (Ic, Ft) { var Tr = De(), ua = le(), gt = Function.prototype, ta = Tr && Object.getOwnPropertyDescriptor, Br = ua(gt, "name"), na = Br && function () { }.name === "something", sa = Br && (!Tr || Tr && ta(gt, "name").configurable); Ft.exports = { EXISTS: Br, PROPER: na, CONFIGURABLE: sa }; });
var wr = y(function (Rc, vt) { var ia = te(), aa = ee(), br = Ue(), oa = ia(Function.toString); aa(br.inspectSource) || (br.inspectSource = function (e) { return oa(e); }); vt.exports = br.inspectSource; });
var yt = y(function (xc, St) { var Da = ue(), la = ee(), _t = Da.WeakMap; St.exports = la(_t) && /native code/.test(String(_t)); });
var bt = y(function (Pc, Bt) { var ca = dr(), ha = Cr(), Tt = ca("keys"); Bt.exports = function (e) { return Tt[e] || (Tt[e] = ha(e)); }; });
var Nr = y(function (kc, wt) { wt.exports = {}; });
var It = y(function (Lc, qt) { var pa = yt(), Ot = ue(), fa = he(), da = yr(), Or = le(), qr = Ue(), Ea = bt(), Ca = Nr(), Nt = "Object already initialized", Ir = Ot.TypeError, ma = Ot.WeakMap, Xe, ye, He, ga = function (e) { return He(e) ? ye(e) : Xe(e, {}); }, Fa = function (e) { return function (r) { var u; if (!fa(r) || (u = ye(r)).type !== e)
throw Ir("Incompatible receiver, " + e + " required"); return u; }; }; pa || qr.state ? (se = qr.state || (qr.state = new ma), se.get = se.get, se.has = se.has, se.set = se.set, Xe = function (e, r) { if (se.has(e))
throw Ir(Nt); return r.facade = e, se.set(e, r), r; }, ye = function (e) { return se.get(e) || {}; }, He = function (e) { return se.has(e); }) : (de = Ea("state"), Ca[de] = !0, Xe = function (e, r) { if (Or(e, de))
throw Ir(Nt); return r.facade = e, da(e, de, r), r; }, ye = function (e) { return Or(e, de) ? e[de] : {}; }, He = function (e) { return Or(e, de); }); var se, de; qt.exports = { set: Xe, get: ye, has: He, enforce: ga, getterFor: Fa }; });
var Pt = y(function ($c, xt) { var Aa = ae(), va = ee(), ze = le(), Rr = De(), _a = At().CONFIGURABLE, Sa = wr(), Rt = It(), ya = Rt.enforce, Ta = Rt.get, We = Object.defineProperty, Ba = Rr && !Aa(function () { return We(function () { }, "length", { value: 8 }).length !== 8; }), ba = String(String).split("String"), wa = xt.exports = function (e, r, u) { String(r).slice(0, 7) === "Symbol(" && (r = "[" + String(r).replace(/^Symbol\(([^)]*)\)/, "$1") + "]"), u && u.getter && (r = "get " + r), u && u.setter && (r = "set " + r), (!ze(e, "name") || _a && e.name !== r) && (Rr ? We(e, "name", { value: r, configurable: !0 }) : e.name = r), Ba && u && ze(u, "arity") && e.length !== u.arity && We(e, "length", { value: u.arity }); try {
u && ze(u, "constructor") && u.constructor ? Rr && We(e, "prototype", { writable: !1 }) : e.prototype && (e.prototype = void 0);
}
catch (_b) { } var n = ya(e); return ze(n, "source") || (n.source = ba.join(typeof r == "string" ? r : "")), e; }; Function.prototype.toString = wa(function () { return va(this) && Ta(this).source || Sa(this); }, "toString"); });
var Lt = y(function (Mc, kt) { var Na = ee(), Oa = Se(), qa = Pt(), Ia = je(); kt.exports = function (e, r, u, n) { n || (n = {}); var D = n.enumerable, s = n.name !== void 0 ? n.name : r; if (Na(u) && qa(u, s, n), n.global)
D ? e[r] = u : Ia(r, u);
else {
try {
n.unsafe ? e[r] && (D = !0) : delete e[r];
}
catch (_b) { }
D ? e[r] = u : Oa.f(e, r, { value: u, enumerable: !1, configurable: !n.nonConfigurable, writable: !n.nonWritable });
} return e; }; });
var Mt = y(function (jc, $t) { var Ra = Math.ceil, xa = Math.floor; $t.exports = Math.trunc || function (r) { var u = +r; return (u > 0 ? xa : Ra)(u); }; });
var xr = y(function (Uc, jt) { var Pa = Mt(); jt.exports = function (e) { var r = +e; return r !== r || r === 0 ? 0 : Pa(r); }; });
var Gt = y(function (Gc, Ut) { var ka = xr(), La = Math.max, $a = Math.min; Ut.exports = function (e, r) { var u = ka(e); return u < 0 ? La(u + r, 0) : $a(u, r); }; });
var Xt = y(function (Vc, Vt) { var Ma = xr(), ja = Math.min; Vt.exports = function (e) { return e > 0 ? ja(Ma(e), 9007199254740991) : 0; }; });
var Te = y(function (Xc, Ht) { var Ua = Xt(); Ht.exports = function (e) { return Ua(e.length); }; });
var Yt = y(function (Hc, Wt) { var Ga = ke(), Va = Gt(), Xa = Te(), zt = function (e) { return function (r, u, n) { var D = Ga(r), s = Xa(D), a = Va(n, s), f; if (e && u != u) {
for (; s > a;)
if (f = D[a++], f != f)
return !0;
}
else
for (; s > a; a++)
if ((e || a in D) && D[a] === u)
return e || a || 0; return !e && -1; }; }; Wt.exports = { includes: zt(!0), indexOf: zt(!1) }; });
var Jt = y(function (zc, Kt) { var Ha = te(), Pr = le(), za = ke(), Wa = Yt().indexOf, Ya = Nr(), Qt = Ha([].push); Kt.exports = function (e, r) { var u = za(e), n = 0, D = [], s; for (s in u)
!Pr(Ya, s) && Pr(u, s) && Qt(D, s); for (; r.length > n;)
Pr(u, s = r[n++]) && (~Wa(D, s) || Qt(D, s)); return D; }; });
var en = y(function (Wc, Zt) { Zt.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"]; });
var un = y(function (rn) { var Qa = Jt(), Ka = en(), Ja = Ka.concat("length", "prototype"); rn.f = Object.getOwnPropertyNames || function (r) { return Qa(r, Ja); }; });
var nn = y(function (tn) { tn.f = Object.getOwnPropertySymbols; });
var an = y(function (Kc, sn) { var Za = ve(), eo = te(), ro = un(), uo = nn(), to = me(), no = eo([].concat); sn.exports = Za("Reflect", "ownKeys") || function (r) { var u = ro.f(to(r)), n = uo.f; return n ? no(u, n(r)) : u; }; });
var ln = y(function (Jc, Dn) { var on = le(), so = an(), io = Fr(), ao = Se(); Dn.exports = function (e, r, u) { for (var n = so(r), D = ao.f, s = io.f, a = 0; a < n.length; a++) {
var f = n[a];
!on(e, f) && !(u && on(u, f)) && D(e, f, s(r, f));
} }; });
var hn = y(function (Zc, cn) { var oo = ae(), Do = ee(), lo = /#|\.prototype\./, Be = function (e, r) { var u = ho[co(e)]; return u == fo ? !0 : u == po ? !1 : Do(r) ? oo(r) : !!r; }, co = Be.normalize = function (e) { return String(e).replace(lo, ".").toLowerCase(); }, ho = Be.data = {}, po = Be.NATIVE = "N", fo = Be.POLYFILL = "P"; cn.exports = Be; });
var Ye = y(function (e2, pn) { var kr = ue(), Eo = Fr().f, Co = yr(), mo = Lt(), go = je(), Fo = ln(), Ao = hn(); pn.exports = function (e, r) { var u = e.target, n = e.global, D = e.stat, s, a, f, c, v, i; if (n ? a = kr : D ? a = kr[u] || go(u, {}) : a = (kr[u] || {}).prototype, a)
for (f in r) {
if (v = r[f], e.dontCallGetSet ? (i = Eo(a, f), c = i && i.value) : c = a[f], s = Ao(n ? f : u + (D ? "." : "#") + f, e.forced), !s && c !== void 0) {
if (typeof v == typeof c)
continue;
Fo(v, c);
}
(e.sham || c && c.sham) && Co(v, "sham", !0), mo(a, f, v, e);
} }; });
var fn = y(function () { var vo = Ye(), Lr = ue(); vo({ global: !0, forced: Lr.globalThis !== Lr }, { globalThis: Lr }); });
var $r = y(function (t2, dn) { var _o = Ae(); dn.exports = Array.isArray || function (r) { return _o(r) == "Array"; }; });
var Cn = y(function (n2, En) { var So = TypeError, yo = 9007199254740991; En.exports = function (e) { if (e > yo)
throw So("Maximum allowed index exceeded"); return e; }; });
var gn = y(function (s2, mn) { var To = Ae(), Bo = te(); mn.exports = function (e) { if (To(e) === "Function")
return Bo(e); }; });
var Mr = y(function (i2, An) { var Fn = gn(), bo = _e(), wo = Ie(), No = Fn(Fn.bind); An.exports = function (e, r) { return bo(e), r === void 0 ? e : wo ? No(e, r) : function () { return e.apply(r, arguments); }; }; });
var Sn = y(function (a2, _n) {
"use strict";
var Oo = $r(), qo = Te(), Io = Cn(), Ro = Mr(), vn = function (e, r, u, n, D, s, a, f) { for (var c = D, v = 0, i = a ? Ro(a, f) : !1, l, p; v < n;)
v in u && (l = i ? i(u[v], v, r) : u[v], s > 0 && Oo(l) ? (p = qo(l), c = vn(e, r, l, p, c, s - 1) - 1) : (Io(c + 1), e[c] = l), c++), v++; return c; };
_n.exports = vn;
});
var Bn = y(function (o2, Tn) { var xo = fe(), Po = xo("toStringTag"), yn = {}; yn[Po] = "z"; Tn.exports = String(yn) === "[object z]"; });
var jr = y(function (D2, bn) { var ko = Bn(), Lo = ee(), Qe = Ae(), $o = fe(), Mo = $o("toStringTag"), jo = Object, Uo = Qe(function () { return arguments; }()) == "Arguments", Go = function (e, r) { try {
return e[r];
}
catch (_b) { } }; bn.exports = ko ? Qe : function (e) { var r, u, n; return e === void 0 ? "Undefined" : e === null ? "Null" : typeof (u = Go(r = jo(e), Mo)) == "string" ? u : Uo ? Qe(r) : (n = Qe(r)) == "Object" && Lo(r.callee) ? "Arguments" : n; }; });
var Rn = y(function (l2, In) { var Vo = te(), Xo = ae(), wn = ee(), Ho = jr(), zo = ve(), Wo = wr(), Nn = function () { }, Yo = [], On = zo("Reflect", "construct"), Ur = /^\s*(?:class|function)\b/, Qo = Vo(Ur.exec), Ko = !Ur.exec(Nn), be = function (r) { if (!wn(r))
return !1; try {
return On(Nn, Yo, r), !0;
}
catch (_b) {
return !1;
} }, qn = function (r) { if (!wn(r))
return !1; switch (Ho(r)) {
case "AsyncFunction":
case "GeneratorFunction":
case "AsyncGeneratorFunction": return !1;
} try {
return Ko || !!Qo(Ur, Wo(r));
}
catch (_b) {
return !0;
} }; qn.sham = !0; In.exports = !On || Xo(function () { var e; return be(be.call) || !be(Object) || !be(function () { e = !0; }) || e; }) ? qn : be; });
var Ln = y(function (c2, kn) { var xn = $r(), Jo = Rn(), Zo = he(), eD = fe(), rD = eD("species"), Pn = Array; kn.exports = function (e) { var r; return xn(e) && (r = e.constructor, Jo(r) && (r === Pn || xn(r.prototype)) ? r = void 0 : Zo(r) && (r = r[rD], r === null && (r = void 0))), r === void 0 ? Pn : r; }; });
var Mn = y(function (h2, $n) { var uD = Ln(); $n.exports = function (e, r) { return new (uD(e))(r === 0 ? 0 : r); }; });
var Gr = y(function (p2, jn) { jn.exports = {}; });
var Gn = y(function (f2, Un) { var DD = fe(), lD = Gr(), cD = DD("iterator"), hD = Array.prototype; Un.exports = function (e) { return e !== void 0 && (lD.Array === e || hD[cD] === e); }; });
var Vr = y(function (d2, Xn) { var pD = jr(), Vn = Me(), fD = Pe(), dD = Gr(), ED = fe(), CD = ED("iterator"); Xn.exports = function (e) { if (!fD(e))
return Vn(e, CD) || Vn(e, "@@iterator") || dD[pD(e)]; }; });
var zn = y(function (E2, Hn) { var mD = ce(), gD = _e(), FD = me(), AD = $e(), vD = Vr(), _D = TypeError; Hn.exports = function (e, r) { var u = arguments.length < 2 ? vD(e) : r; if (gD(u))
return FD(mD(u, e)); throw _D(AD(e) + " is not iterable"); }; });
var Qn = y(function (C2, Yn) { var SD = ce(), Wn = me(), yD = Me(); Yn.exports = function (e, r, u) { var n, D; Wn(e); try {
if (n = yD(e, "return"), !n) {
if (r === "throw")
throw u;
return u;
}
n = SD(n, e);
}
catch (s) {
D = !0, n = s;
} if (r === "throw")
throw u; if (D)
throw n; return Wn(n), u; }; });
var rs = y(function (m2, es) { var TD = Mr(), BD = ce(), bD = me(), wD = $e(), ND = Gn(), OD = Te(), Kn = ar(), qD = zn(), ID = Vr(), Jn = Qn(), RD = TypeError, Ke = function (e, r) { this.stopped = e, this.result = r; }, Zn = Ke.prototype; es.exports = function (e, r, u) { var n = u && u.that, D = !!(u && u.AS_ENTRIES), s = !!(u && u.IS_RECORD), a = !!(u && u.IS_ITERATOR), f = !!(u && u.INTERRUPTED), c = TD(r, n), v, i, l, p, m, C, g, B = function (F) { return v && Jn(v, "normal", F), new Ke(!0, F); }, O = function (F) { return D ? (bD(F), f ? c(F[0], F[1], B) : c(F[0], F[1])) : f ? c(F, B) : c(F); }; if (s)
v = e.iterator;
else if (a)
v = e;
else {
if (i = ID(e), !i)
throw RD(wD(e) + " is not iterable");
if (ND(i)) {
for (l = 0, p = OD(e); p > l; l++)
if (m = O(e[l]), m && Kn(Zn, m))
return m;
return new Ke(!1);
}
v = qD(e, i);
} for (C = s ? e.next : v.next; !(g = BD(C, v)).done;) {
try {
m = O(g.value);
}
catch (F) {
Jn(v, "throw", F);
}
if (typeof m == "object" && m && Kn(Zn, m))
return m;
} return new Ke(!1); }; });
var ts = y(function (g2, us) {
"use strict";
var xD = Ge(), PD = Se(), kD = xe();
us.exports = function (e, r, u) { var n = xD(r); n in e ? PD.f(e, n, kD(0, u)) : e[n] = u; };
});
fn();
var tD = Ye(), nD = Sn(), sD = _e(), iD = Er(), aD = Te(), oD = Mn();
tD({ target: "Array", proto: !0 }, { flatMap: function (r) { var u = iD(this), n = aD(u), D; return sD(r), D = oD(u, 0), D.length = nD(D, u, u, n, 0, 1, r, arguments.length > 1 ? arguments[1] : void 0), D; } });
var LD = Ye(), $D = rs(), MD = ts();
LD({ target: "Object", stat: !0 }, { fromEntries: function (r) { var u = {}; return $D(r, function (n, D) { MD(u, n, D); }, { AS_ENTRIES: !0 }), u; } });
var jD = ["cliName", "cliCategory", "cliDescription"];
function UD(e, r) { if (e == null)
return {}; var u = GD(e, r), n, D; if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
for (D = 0; D < s.length; D++)
n = s[D], !(r.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (u[n] = e[n]);
} return u; }
function GD(e, r) { if (e == null)
return {}; var u = {}, n = Object.keys(e), D, s; for (s = 0; s < n.length; s++)
D = n[s], !(r.indexOf(D) >= 0) && (u[D] = e[D]); return u; }
var VD = Object.create, Je = Object.defineProperty, XD = Object.getOwnPropertyDescriptor, Xr = Object.getOwnPropertyNames, HD = Object.getPrototypeOf, zD = Object.prototype.hasOwnProperty, ge = function (e, r) { return function () { return e && (r = (0, e[Xr(e)[0]])(e = 0)), r; }; }, I = function (e, r) { return function () { return r || (0, e[Xr(e)[0]])((r = { exports: {} }).exports, r), r.exports; }; }, is = function (e, r) { for (var u in r)
Je(e, u, { get: r[u], enumerable: !0 }); }, as = function (e, r, u, n) {
var e_1, _b;
if (r && typeof r == "object" || typeof r == "function") {
var _loop_1 = function (D) {
!zD.call(e, D) && D !== u && Je(e, D, { get: function () { return r[D]; }, enumerable: !(n = XD(r, D)) || n.enumerable });
};
try {
for (var _d = __values(Xr(r)), _f = _d.next(); !_f.done; _f = _d.next()) {
var D = _f.value;
_loop_1(D);
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_f && !_f.done && (_b = _d.return)) _b.call(_d);
}
finally { if (e_1) throw e_1.error; }
}
}
return e;
}, WD = function (e, r, u) { return (u = e != null ? VD(HD(e)) : {}, as(r || !e || !e.__esModule ? Je(u, "default", { value: e, enumerable: !0 }) : u, e)); }, os = function (e) { return as(Je({}, "__esModule", { value: !0 }), e); }, we, N = ge({ "<define:process>": function () { we = { env: {}, argv: [] }; } }), Ds = I({ "node_modules/angular-html-parser/lib/compiler/src/chars.js": function (e) {
"use strict";
N(), Object.defineProperty(e, "__esModule", { value: !0 }), e.$EOF = 0, e.$BSPACE = 8, e.$TAB = 9, e.$LF = 10, e.$VTAB = 11, e.$FF = 12, e.$CR = 13, e.$SPACE = 32, e.$BANG = 33, e.$DQ = 34, e.$HASH = 35, e.$$ = 36, e.$PERCENT = 37, e.$AMPERSAND = 38, e.$SQ = 39, e.$LPAREN = 40, e.$RPAREN = 41, e.$STAR = 42, e.$PLUS = 43, e.$COMMA = 44, e.$MINUS = 45, e.$PERIOD = 46, e.$SLASH = 47, e.$COLON = 58, e.$SEMICOLON = 59, e.$LT = 60, e.$EQ = 61, e.$GT = 62, e.$QUESTION = 63, e.$0 = 48, e.$7 = 55, e.$9 = 57, e.$A = 65, e.$E = 69, e.$F = 70, e.$X = 88, e.$Z = 90, e.$LBRACKET = 91, e.$BACKSLASH = 92, e.$RBRACKET = 93, e.$CARET = 94, e.$_ = 95, e.$a = 97, e.$b = 98, e.$e = 101, e.$f = 102, e.$n = 110, e.$r = 114, e.$t = 116, e.$u = 117, e.$v = 118, e.$x = 120, e.$z = 122, e.$LBRACE = 123, e.$BAR = 124, e.$RBRACE = 125, e.$NBSP = 160, e.$PIPE = 124, e.$TILDA = 126, e.$AT = 64, e.$BT = 96;
function r(f) { return f >= e.$TAB && f <= e.$SPACE || f == e.$NBSP; }
e.isWhitespace = r;
function u(f) { return e.$0 <= f && f <= e.$9; }
e.isDigit = u;
function n(f) { return f >= e.$a && f <= e.$z || f >= e.$A && f <= e.$Z; }
e.isAsciiLetter = n;
function D(f) { return f >= e.$a && f <= e.$f || f >= e.$A && f <= e.$F || u(f); }
e.isAsciiHexDigit = D;
function s(f) { return f === e.$LF || f === e.$CR; }
e.isNewLine = s;
function a(f) { return e.$0 <= f && f <= e.$7; }
e.isOctalDigit = a;
} }), YD = I({ "node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js": function (e) {
"use strict";
N(), Object.defineProperty(e, "__esModule", { value: !0 });
var r = /** @class */ (function () {
function r(n, D, s) {
this.filePath = n, this.name = D, this.members = s;
}
r.prototype.assertNoMembers = function () { if (this.members.length)
throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this), ".")); };
return r;
}());
e.StaticSymbol = r;
var u = /** @class */ (function () {
function u() {
this.cache = new Map;
}
u.prototype.get = function (n, D, s) { s = s || []; var a = s.length ? ".".concat(s.join(".")) : "", f = "\"".concat(n, "\".").concat(D).concat(a), c = this.cache.get(f); return c || (c = new r(n, D, s), this.cache.set(f, c)), c; };
return u;
}());
e.StaticSymbolCache = u;
} }), QD = I({ "node_modules/angular-html-parser/lib/compiler/src/util.js": function (e) {
"use strict";
N(), Object.defineProperty(e, "__esModule", { value: !0 });
var r = /-+([a-z0-9])/g;
function u(o) { return o.replace(r, function () { for (var d = arguments.length, h = new Array(d), A = 0; A < d; A++)
h[A] = arguments[A]; return h[1].toUpperCase(); }); }
e.dashCaseToCamelCase = u;
function n(o, d) { return s(o, ":", d); }
e.splitAtColon = n;
function D(o, d) { return s(o, ".", d); }
e.splitAtPeriod = D;
function s(o, d, h) { var A = o.indexOf(d); return A == -1 ? h : [o.slice(0, A).trim(), o.slice(A + 1).trim()]; }
function a(o, d, h) { return Array.isArray(o) ? d.visitArray(o, h) : F(o) ? d.visitStringMap(o, h) : o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean" ? d.visitPrimitive(o, h) : d.visitOther(o, h); }
e.visitValue = a;
function f(o) { return o != null; }
e.isDefined = f;
function c(o) { return o === void 0 ? null : o; }
e.noUndefined = c;
var v = /** @class */ (function () {
function v() {
}
v.prototype.visitArray = function (o, d) {
var _this = this;
return o.map(function (h) { return a(h, _this, d); });
};
v.prototype.visitStringMap = function (o, d) {
var _this = this;
var h = {};
return Object.keys(o).forEach(function (A) { h[A] = a(o[A], _this, d); }), h;
};
v.prototype.visitPrimitive = function (o, d) { return o; };
v.prototype.visitOther = function (o, d) { return o; };
return v;
}());
e.ValueTransformer = v, e.SyncAsync = { assertSync: function (o) { if (R(o))
throw new Error("Illegal state: value cannot be a promise"); return o; }, then: function (o, d) { return R(o) ? o.then(d) : d(o); }, all: function (o) { return o.some(R) ? Promise.all(o) : o; } };
function i(o) { throw new Error("Internal Error: ".concat(o)); }
e.error = i;
function l(o, d) { var h = Error(o); return h[p] = !0, d && (h[m] = d), h; }
e.syntaxError = l;
var p = "ngSyntaxError", m = "ngParseErrors";
function C(o) { return o[p]; }
e.isSyntaxError = C;
function g(o) { return o[m] || []; }
e.getParseErrors = g;
function B(o) { return o.replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1"); }
e.escapeRegExp = B;
var O = Object.getPrototypeOf({});
function F(o) { return typeof o == "object" && o !== null && Object.getPrototypeOf(o) === O; }
function w(o) { var d = ""; for (var h = 0; h < o.length; h++) {
var A = o.charCodeAt(h);
if (A >= 55296 && A <= 56319 && o.length > h + 1) {
var q = o.charCodeAt(h + 1);
q >= 56320 && q <= 57343 && (h++, A = (A - 55296 << 10) + q - 56320 + 65536);
}
A <= 127 ? d += String.fromCharCode(A) : A <= 2047 ? d += String.fromCharCode(A >> 6 & 31 | 192, A & 63 | 128) : A <= 65535 ? d += String.fromCharCode(A >> 12 | 224, A >> 6 & 63 | 128, A & 63 | 128) : A <= 2097151 && (d += String.fromCharCode(A >> 18 & 7 | 240, A >> 12 & 63 | 128, A >> 6 & 63 | 128, A & 63 | 128));
} return d; }
e.utf8Encode = w;
function b(o) {
if (typeof o == "string")
return o;
if (o instanceof Array)
return "[" + o.map(b).join(", ") + "]";
if (o == null)
return "" + o;
if (o.overriddenName)
return "".concat(o.overriddenName);
if (o.name)
return "".concat(o.name);
if (!o.toString)
return "object";
var d = o.toString();
if (d == null)
return "" + d;
var h = d.indexOf("\n");
return h === -1 ? d : d.substring(0, h);
}
e.stringify = b;
function M(o) { return typeof o == "function" && o.hasOwnProperty("__forward_ref__") ? o() : o; }
e.resolveForwardRef = M;
function R(o) { return !!o && typeof o.then == "function"; }
e.isPromise = R;
var U = /** @class */ (function () {
function U(o) {
this.full = o;
var d = o.split(".");
this.major = d[0], this.minor = d[1], this.patch = d.slice(2).join(".");
}
return U;
}());
e.Version = U;
var k = typeof window < "u" && window, j = typeof self < "u" && typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && self, L = typeof globalThis < "u" && globalThis, t = L || k || j;
e.global = t;
} }), KD = I({ "node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js": function (e) {
"use strict";
N(), Object.defineProperty(e, "__esModule", { value: !0 });
var r = YD(), u = QD(), n = /^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;
function D(h) { return h.replace(/\W/g, "_"); }
e.sanitizeIdentifier = D;
var s = 0;
function a(h) { if (!h || !h.reference)
return null; var A = h.reference; if (A instanceof r.StaticSymbol)
return A.name; if (A.__anonymousType)
return A.__anonymousType; var q = u.stringify(A); return q.indexOf("(") >= 0 ? (q = "anonymous_".concat(s++), A.__anonymousType = q) : q = D(q), q; }
e.identifierName = a;
function f(h) { var A = h.reference; return A instanceof r.StaticSymbol ? A.filePath : "./".concat(u.stringify(A)); }
e.identifierModuleUrl = f;
function c(h, A) { return "View_".concat(a({ reference: h }), "_").concat(A); }
e.viewClassName = c;
function v(h) { return "RenderType_".concat(a({ reference: h })); }
e.rendererTypeName = v;
function i(h) { return "HostView_".concat(a({ reference: h })); }
e.hostViewClassName = i;
function l(h) { return "".concat(a({ reference: h }), "NgFactory"); }
e.componentFactoryName = l;
var p;
(function (h) { h[h.Pipe = 0] = "Pipe", h[h.Directive = 1] = "Directive", h[h.NgModule = 2] = "NgModule", h[h.Injectable = 3] = "Injectable"; })(p = e.CompileSummaryKind || (e.CompileSummaryKind = {}));
function m(h) { return h.value != null ? D(h.value) : a(h.identifier); }
e.tokenName = m;
function C(h) { return h.identifier != null ? h.identifier.reference : h.value; }
e.tokenReference = C;
var g = /** @class */ (function () {
function g() {
var _b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, h = _b.moduleUrl, A = _b.styles, q = _b.styleUrls;
this.moduleUrl = h || null, this.styles = R(A), this.styleUrls = R(q);
}
return g;
}());
e.CompileStylesheetMetadata = g;
var B = /** @class */ (function () {
function B(h) {
var A = h.encapsulation, q = h.template, P = h.templateUrl, G = h.htmlAst, X = h.styles, Q = h.styleUrls, H = h.externalStylesheets, W = h.animations, K = h.ngContentSelectors, J = h.interpolation, S = h.isInline, E = h.preserveWhitespaces;
if (this.encapsulation = A, this.template = q, this.templateUrl = P, this.htmlAst = G, this.styles = R(X), this.styleUrls = R(Q), this.externalStylesheets = R(H), this.animations = W ? k(W) : [], this.ngContentSelectors = K || [], J && J.length != 2)
throw new Error("'interpolation' should have a start and an end symbol.");
this.interpolation = J, this.isInline = S, this.preserveWhitespaces = E;
}
B.prototype.toSummary = function () { return { ngContentSelectors: this.ngContentSelectors, encapsulation: this.encapsulation, styles: this.styles, animations: this.animations }; };
return B;
}());
e.CompileTemplateMetadata = B;
var O = /** @class */ (function () {
function O(h) {
var A = h.isHost, q = h.type, P = h.isComponent, G = h.selector, X = h.exportAs, Q = h.changeDetection, H = h.inputs, W = h.outputs, K = h.hostListeners, J = h.hostProperties, S = h.hostAttributes, E = h.providers, _ = h.viewProviders, T = h.queries, x = h.guards, $ = h.viewQueries, V = h.entryComponents, z = h.template, Y = h.componentViewType, ie = h.rendererType, Ee = h.componentFactory;
this.isHost = !!A, this.type = q, this.isComponent = P, this.selector = G, this.exportAs = X, this.changeDetection = Q, this.inputs = H, this.outputs = W, this.hostListeners = K, this.hostProperties = J, this.hostAttributes = S, this.providers = R(E), this.viewProviders = R(_), this.queries = R(T), this.guards = x, this.viewQueries = R($), this.entryComponents = R(V), this.template = z, this.componentViewType = Y, this.rendererType = ie, this.componentFactory = Ee;
}
O.create = function (h) { var A = h.isHost, q = h.type, P = h.isComponent, G = h.selector, X = h.exportAs, Q = h.changeDetection, H = h.inputs, W = h.outputs, K = h.host, J = h.providers, S = h.viewProviders, E = h.queries, _ = h.guards, T = h.viewQueries, x = h.entryComponents, $ = h.template, V = h.componentViewType, z = h.rendererType, Y = h.componentFactory, ie = {}, Ee = {}, er = {}; K != null && Object.keys(K).forEach(function (Z) { var re = K[Z], oe = Z.match(n); oe === null ? er[Z] = re : oe[1] != null ? Ee[oe[1]] = re : oe[2] != null && (ie[oe[2]] = re); }); var Fe = {}; H != null && H.forEach(function (Z) { var re = u.splitAtColon(Z, [Z, Z]); Fe[re[0]] = re[1]; }); var Oe = {}; return W != null && W.forEach(function (Z) { var re = u.splitAtColon(Z, [Z, Z]); Oe[re[0]] = re[1]; }), new O({ isHost: A, type: q, isComponent: !!P, selector: G, exportAs: X, changeDetection: Q, inputs: Fe, outputs: Oe, hostListeners: ie, hostProperties: Ee, hostAttributes: er, providers: J, viewProviders: S, queries: E, guards: _, viewQueries: T, entryComponents: x, template: $, componentViewType: V, rendererType: z, componentFactory: Y }); };
O.prototype.toSummary = function () { return { summaryKind: p.Directive, type: this.type, isComponent: this.isComponent, selector: this.selector, exportAs: this.exportAs, inputs: this.inputs, outputs: this.outputs, hostListeners: this.hostListeners, hostProperties: this.hostProperties, hostAttributes: this.hostAttributes, providers: this.providers, viewProviders: this.viewProviders, queries: this.queries, guards: this.guards, viewQueries: this.viewQueries, entryComponents: this.entryComponents, changeDetection: this.changeDetection, template: this.template && this.template.toSummary(), componentViewType: this.componentViewType, rendererType: this.rendererType, componentFactory: this.componentFactory }; };
return O;
}());
e.CompileDirectiveMetadata = O;
var F = /** @class */ (function () {
function F(h) {
var A = h.type, q = h.name, P = h.pure;
this.type = A, this.name = q, this.pure = !!P;
}
F.prototype.toSummary = function () { return { summaryKind: p.Pipe, type: this.type, name: this.name, pure: this.pure }; };
return F;
}());
e.CompilePipeMetadata = F;
var w = /** @class */ (function () {
function w() {
}
return w;
}());
e.CompileShallowModuleMetadata = w;
var b = /** @class */ (function () {
function b(h) {
var A = h.type, q = h.providers, P = h.declaredDirectives, G = h.exportedDirectives, X = h.declaredPipes, Q = h.exportedPipes, H = h.entryComponents, W = h.bootstrapComponents, K = h.importedModules, J = h.exportedModules, S = h.schemas, E = h.transitiveModule, _ = h.id;
this.type = A || null, this.declaredDirectives = R(P), this.exportedDirectives = R(G), this.declaredPipes = R(X), this.exportedPipes = R(Q), this.providers = R(q), this.entryComponents = R(H), this.bootstrapComponents = R(W), this.importedModules = R(K), this.exportedModules = R(J), this.schemas = R(S), this.id = _ || null, this.transitiveModule = E || null;
}
b.prototype.toSummary = function () { var h = this.transitiveModule; return { summaryKind: p.NgModule, type: this.type, entryComponents: h.entryComponents, providers: h.providers, modules: h.modules, exportedDirectives: h.exportedDirectives, exportedPipes: h.exportedPipes }; };
return b;
}());
e.CompileNgModuleMetadata = b;
var M = /** @class */ (function () {
function M() {
this.directivesSet = new Set, this.directives = [], this.exportedDirectivesSet = new Set, this.exportedDirectives = [], this.pipesSet = new Set, this.pipes = [], this.exportedPipesSet = new Set, this.exportedPipes = [], this.modulesSet = new Set, this.modules = [], this.entryComponentsSet = new Set, this.entryComponents = [], this.providers = [];
}
M.prototype.addProvider = function (h, A) { this.providers.push({ provider: h, module: A }); };
M.prototype.addDirective = function (h) { this.directivesSet.has(h.reference) || (this.directivesSet.add(h.reference), this.directives.push(h)); };
M.prototype.addExportedDirective = function (h) { this.exportedDirectivesSet.has(h.reference) || (this.exportedDirectivesSet.add(h.reference), this.exportedDirectives.push(h)); };
M.prototype.addPipe = function (h) { this.pipesSet.has(h.reference) || (this.pipesSet.add(h.reference), this.pipes.push(h)); };
M.prototype.addExportedPipe = function (h) { this.exportedPipesSet.has(h.reference) || (this.exportedPipesSet.add(h.reference), this.exportedPipes.push(h)); };
M.prototype.addModule = function (h) { this.modulesSet.has(h.reference) || (this.modulesSet.add(h.reference), this.modules.push(h)); };
M.prototype.addEntryComponent = function (h) { this.entryComponentsSet.has(h.componentType) || (this.entryComponentsSet.add(h.componentType), this.entryComponents.push(h)); };
return M;
}());
e.TransitiveCompileNgModuleMetadata = M;
function R(h) { return h || []; }
var U = /** @class */ (function () {
function U(h, A) {
var q = A.useClass, P = A.useValue, G = A.useExisting, X = A.useFactory, Q = A.deps, H = A.multi;
this.token = h, this.useClass = q || null, this.useValue = P, this.useExisting = G, this.useFactory = X || null, this.dependencies = Q || null, this.multi = !!H;
}
return U;
}());
e.ProviderMeta = U;
function k(h) { return h.reduce(function (A, q) { var P = Array.isArray(q) ? k(q) : q; return A.concat(P); }, []); }
e.flatten = k;
function j(h) { return h.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/, "ng:///"); }
function L(h, A, q) { var P; return q.isInline ? A.type.reference instanceof r.StaticSymbol ? P = "".concat(A.type.reference.filePath, ".").concat(A.type.reference.name, ".html") : P = "".concat(a(h), "/").concat(a(A.type), ".html") : P = q.templateUrl, A.type.reference instanceof r.StaticSymbol ? P : j(P); }
e.templateSourceUrl = L;
function t(h, A) { var q = h.moduleUrl.split(/\/\\/g), P = q[q.length - 1]; return j("css/".concat(A).concat(P, ".ngstyle.js")); }
e.sharedStylesheetJitUrl = t;
function o(h) { return j("".concat(a(h.type), "/module.ngfactory.js")); }
e.ngModuleJitUrl = o;
function d(h, A) { return j("".concat(a(h), "/").concat(a(A.type), ".ngfactory.js")); }
e.templateJitUrl = d;
} }), Ne = I({ "node_modules/angular-html-parser/lib/compiler/src/parse_util.js": function (e) {
"use strict";
N(), Object.defineProperty(e, "__esModule", { value: !0 });
var r = Ds(), u = KD(), n = /** @class */ (function () {
function n(i, l, p, m) {
this.file = i, this.offset = l, this.line = p, this.col = m;
}
n.prototype.toString = function () { return this.offset != null ? "".concat(this.file.url, "@").concat(this.line, ":").concat(this.col) : this.file.url; };
n.prototype.moveBy = function (i) { var l = this.file.content, p = l.length, m = this.offset, C = this.line, g = this.col; for (; m > 0 && i < 0;)
if (m--, i++, l.charCodeAt(m) == r.$LF) {
C--;
var O = l.substr(0, m - 1).lastIndexOf(String.fromCharCode(r.$LF));
g = O > 0 ? m - O : m;
}
else
g--; for (; m < p && i > 0;) {
var B = l.charCodeAt(m);
m++, i--, B == r.$LF ? (C++, g = 0) : g++;
} return new n(this.file, m, C, g); };
n.prototype.getContext = function (i, l) {
var p = this.file.content, m = this.offset;
if (m != null) {
m > p.length - 1 && (m = p.length - 1);
var C = m, g = 0, B = 0;
for (; g < i && m > 0 && (m--, g++, !(p[m] == "\n" && ++B == l));)
;
for (g = 0, B = 0; g < i && C < p.length - 1 && (C++, g++, !(p[C] == "\n" && ++B == l));)
;
return { before: p.substring(m, this.offset), after: p.substring(this.offset, C + 1) };
}
return null;
};
return n;
}());
e.ParseLocation = n;
var D = /** @class */ (function () {
function D(i, l) {
this.content = i, this.url = l;
}
return D;
}());
e.ParseSourceFile = D;
var s = /** @class */ (function () {
function s(i, l) {
var p = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
this.start = i, this.end = l, this.details = p;
}
s.prototype.toString = function () { return this.start.file.content.substring(this.start.offset, this.end.offset); };
return s;
}());
e.ParseSourceSpan = s, e.EMPTY_PARSE_LOCATION = new n(new D("", ""), 0, 0, 0), e.EMPTY_SOURCE_SPAN = new s(e.EMPTY_PARSE_LOCATION, e.EMPTY_PARSE_LOCATION);
var a;
(function (i) { i[i.WARNING = 0] = "WARNING", i[i.ERROR = 1] = "ERROR"; })(a = e.ParseErrorLevel || (e.ParseErrorLevel = {}));
var f = /** @class */ (function () {
function f(i, l) {
var p = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : a.ERROR;
this.span = i, this.msg = l, this.level = p;
}
f.prototype.contextualMessage = function () { var i = this.span.start.getContext(100, 3); return i ? "".concat(this.msg, " (\"").concat(i.before, "[").concat(a[this.level], " ->]").concat(i.after, "\")") : this.msg; };
f.prototype.toString = function () { var i = this.span.details ? ", ".concat(this.span.details) : ""; return "".concat(this.contextualMessage(), ": ").concat(this.span.start).concat(i); };
return f;
}());
e.ParseError = f;
function c(i, l) { var p = u.identifierModuleUrl(l), m = p != null ? "in ".concat(i, " ").concat(u.identifierName(l), " in ").concat(p) : "in ".concat(i, " ").concat(u.identifierName(l)), C = new D("", m); return new s(new n(C, -1, -1, -1), new n(C, -1, -1, -1)); }
e.typeSourceSpan = c;
function v(i, l, p) { var m = "in ".concat(i, " ").concat(l, " in ").concat(p), C = new D("", m); return new s(new n(C, -1, -1, -1), new n(C, -1, -1, -1)); }
e.r3JitTypeSourceSpan = v;
} }), JD = I({ "src/utils/front-matter/parse.js": function (e, r) {
"use strict";
N();
var u = new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)", "s");
function n(D) { var s = D.match(u); if (!s)
return { content: D }; var _b = s.groups, a = _b.startDel