1import { c as G_, g as pn, n as ye, o as K_, t as me, y as J_ } from "./chunk-xgti9j2t.js"; 2import { t as Y_ } from "./chunk-o4f8w5yc.js"; 3function pf(e, t) { 4 if (typeof t != "function" && t !== null) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null"); 5 Ts(e, t); 6 function n() { 7 this.constructor = e; 8 } 9 e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n()); 10} 11function gf(e, t) { 12 var n = {}; 13 for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); 14 if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]); 15 return n; 16} 17function Io(e, t, n, r) { 18 var i = arguments.length, s = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o; 19 if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(e, t, n, r); 20 else for (var l = e.length - 1; l >= 0; l--) (o = e[l]) && (s = (i < 3 ? o(s) : i > 3 ? o(t, n, s) : o(t, n)) || s); 21 return i > 3 && s && Object.defineProperty(t, n, s), s; 22} 23function yf(e, t) { 24 return function(n, r) { 25 t(n, r, e); 26 }; 27} 28function mf(e, t, n, r, i, s) { 29 function o(C) { 30 if (C !== void 0 && typeof C != "function") throw new TypeError("Function expected"); 31 return C; 32 } 33 for (var l = r.kind, u = l === "getter" ? "get" : l === "setter" ? "set" : "value", a = !t && e ? r.static ? e : e.prototype : null, c = t || (a ? Object.getOwnPropertyDescriptor(a, r.name) : {}), f, h = !1, d = n.length - 1; d >= 0; d--) { 34 var p = {}; 35 for (var y in r) p[y] = y === "access" ? {} : r[y]; 36 for (var y in r.access) p.access[y] = r.access[y]; 37 p.addInitializer = function(C) { 38 if (h) throw new TypeError("Cannot add initializers after decoration has completed"); 39 s.push(o(C || null)); 40 }; 41 var _ = (0, n[d])(l === "accessor" ? { 42 get: c.get, 43 set: c.set 44 } : c[u], p); 45 if (l === "accessor") { 46 if (_ === void 0) continue; 47 if (_ === null || typeof _ != "object") throw new TypeError("Object expected"); 48 (f = o(_.get)) && (c.get = f), (f = o(_.set)) && (c.set = f), (f = o(_.init)) && i.unshift(f); 49 } else (f = o(_)) && (l === "field" ? i.unshift(f) : c[u] = f); 50 } 51 a && Object.defineProperty(a, r.name, c), h = !0; 52} 53function vf(e, t, n) { 54 for (var r = arguments.length > 2, i = 0; i < t.length; i++) n = r ? t[i].call(e, n) : t[i].call(e); 55 return r ? n : void 0; 56} 57function bf(e) { 58 return typeof e == "symbol" ? e : "".concat(e); 59} 60function _f(e, t, n) { 61 return typeof t == "symbol" && (t = t.description ? "[".concat(t.description, "]") : ""), Object.defineProperty(e, "name", { 62 configurable: !0, 63 value: n ? "".concat(n, " ", t) : t 64 }); 65} 66function To(e, t) { 67 if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t); 68} 69function xo(e, t, n, r) { 70 function i(s) { 71 return s instanceof n ? s : new n(function(o) { 72 o(s); 73 }); 74 } 75 return new (n || (n = Promise))(function(s, o) { 76 function l(c) { 77 try { 78 a(r.next(c)); 79 } catch (f) { 80 o(f); 81 } 82 } 83 function u(c) { 84 try { 85 a(r.throw(c)); 86 } catch (f) { 87 o(f); 88 } 89 } 90 function a(c) { 91 c.done ? s(c.value) : i(c.value).then(l, u); 92 } 93 a((r = r.apply(e, t || [])).next()); 94 }); 95} 96function wf(e, t) { 97 var n = { 98 label: 0, 99 sent: function() { 100 if (s[0] & 1) throw s[1]; 101 return s[1]; 102 }, 103 trys: [], 104 ops: [] 105 }, r, i, s, o = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype); 106 return o.next = l(0), o.throw = l(1), o.return = l(2), typeof Symbol == "function" && (o[Symbol.iterator] = function() { 107 return this; 108 }), o; 109 function l(a) { 110 return function(c) { 111 return u([a, c]); 112 }; 113 } 114 function u(a) { 115 if (r) throw new TypeError("Generator is already executing."); 116 for (; o && (o = 0, a[0] && (n = 0)), n;) try { 117 if (r = 1, i && (s = a[0] & 2 ? i.return : a[0] ? i.throw || ((s = i.return) && s.call(i), 0) : i.next) && !(s = s.call(i, a[1])).done) return s; 118 switch (i = 0, s && (a = [a[0] & 2, s.value]), a[0]) { 119 case 0: 120 case 1: 121 s = a; 122 break; 123 case 4: return n.label++, { 124 value: a[1], 125 done: !1 126 }; 127 case 5: 128 n.label++, i = a[1], a = [0]; 129 continue; 130 case 7: 131 a = n.ops.pop(), n.trys.pop(); 132 continue; 133 default: 134 if (s = n.trys, !(s = s.length > 0 && s[s.length - 1]) && (a[0] === 6 || a[0] === 2)) { 135 n = 0; 136 continue; 137 } 138 if (a[0] === 3 && (!s || a[1] > s[0] && a[1] < s[3])) { 139 n.label = a[1]; 140 break; 141 }
142 if (a[0] === 6 && n.label < s[1]) { 143 n.label = s[1], s = a; 144 break; 145 } 146 if (s && n.label < s[2]) { 147 n.label = s[2], n.ops.push(a); 148 break; 149 } 150 s[2] && n.ops.pop(), n.trys.pop(); 151 continue; 152 } 153 a = t.call(e, n); 154 } catch (c) { 155 a = [6, c], i = 0; 156 } finally { 157 r = s = 0; 158 } 159 if (a[0] & 5) throw a[1]; 160 return { 161 value: a[0] ? a[1] : void 0, 162 done: !0 163 }; 164 } 165} 166function Ef(e, t) { 167 for (var n in e) n !== "default" && !Object.prototype.hasOwnProperty.call(t, n) && Rr(t, e, n); 168} 169function ai(e) { 170 var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0; 171 if (n) return n.call(e); 172 if (e && typeof e.length == "number") return { next: function() { 173 return e && r >= e.length && (e = void 0), { 174 value: e && e[r++], 175 done: !e 176 }; 177 } }; 178 throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined."); 179} 180function Co(e, t) { 181 var n = typeof Symbol == "function" && e[Symbol.iterator]; 182 if (!n) return e; 183 var r = n.call(e), i, s = [], o; 184 try { 185 for (; (t === void 0 || t-- > 0) && !(i = r.next()).done;) s.push(i.value); 186 } catch (l) { 187 o = { error: l }; 188 } finally { 189 try { 190 i && !i.done && (n = r.return) && n.call(r); 191 } finally { 192 if (o) throw o.error; 193 } 194 } 195 return s; 196} 197function If() { 198 for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Co(arguments[t])); 199 return e; 200} 201function Tf() { 202 for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length; 203 for (var r = Array(e), i = 0, t = 0; t < n; t++) for (var s = arguments[t], o = 0, l = s.length; o < l; o++, i++) r[i] = s[o]; 204 return r; 205} 206function xf(e, t, n) { 207 if (n || arguments.length === 2) for (var r = 0, i = t.length, s; r < i; r++) (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]); 208 return e.concat(s || Array.prototype.slice.call(t)); 209} 210function Je(e) { 211 return this instanceof Je ? (this.v = e, this) : new Je(e); 212} 213function ko(e, t, n) { 214 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 215 var r = n.apply(e, t || []), i, s = []; 216 return i = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), l("next"), l("throw"), l("return", o), i[Symbol.asyncIterator] = function() { 217 return this; 218 }, i; 219 function o(d) { 220 return function(p) { 221 return Promise.resolve(p).then(d, f); 222 }; 223 } 224 function l(d, p) { 225 r[d] && (i[d] = function(y) { 226 return new Promise(function(_, C) { 227 s.push([ 228 d, 229 y, 230 _, 231 C 232 ]) > 1 || u(d, y); 233 }); 234 }, p && (i[d] = p(i[d]))); 235 } 236 function u(d, p) { 237 try { 238 a(r[d](p)); 239 } catch (y) { 240 h(s[0][3], y); 241 } 242 } 243 function a(d) { 244 d.value instanceof Je ? Promise.resolve(d.value.v).then(c, f) : h(s[0][2], d); 245 } 246 function c(d) { 247 u("next", d); 248 } 249 function f(d) { 250 u("throw", d); 251 } 252 function h(d, p) { 253 d(p), s.shift(), s.length && u(s[0][0], s[0][1]); 254 } 255} 256function Cf(e) { 257 var t = {}, n; 258 return r("next"), r("throw", function(i) { 259 throw i; 260 }), r("return"), t[Symbol.iterator] = function() { 261 return this; 262 }, t; 263 function r(i, s) { 264 t[i] = e[i] ? function(o) { 265 return (n = !n) ? { 266 value: Je(e[i](o)), 267 done: !1 268 } : s ? s(o) : o; 269 } : s; 270 } 271} 272function So(e) { 273 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 274 var t = e[Symbol.asyncIterator], n; 275 return t ? t.call(e) : (e = typeof ai == "function" ? ai(e) : e[Symbol.iterator](), n = {}, r("next"), r("throw"), r("return"), n[Symbol.asyncIterator] = function() { 276 return this; 277 }, n); 278 function r(s) { 279 n[s] = e[s] && function(o) { 280 return new Promise(function(l, u) { 281 o = e[s](o), i(l, u, o.done, o.value); 282 }); 283 }; 284 } 285 function i(s, o, l, u) { 286 Promise.resolve(u).then(function(a) { 287 s({ 288 value: a, 289 done: l 290 }); 291 }, o); 292 } 293} 294function kf(e, t) { 295 return Object.defineProperty ? Object.defineProperty(e, "raw", { value: t }) : e.raw = t, e; 296} 297function Sf(e) { 298 if (e && e.__esModule) return e; 299 var t = {}; 300 if (e != null) for (var n = xs(e), r = 0; r < n.length; r++) n[r] !== "default" && Rr(t, e, n[r]); 301 return tv(t, e), t; 302} 303function Of(e) {
304 return e && e.__esModule ? e : { default: e }; 305} 306function Af(e, t, n, r) { 307 if (n === "a" && !r) throw new TypeError("Private accessor was defined without a getter"); 308 if (typeof t == "function" ? e !== t || !r : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); 309 return n === "m" ? r : n === "a" ? r.call(e) : r ? r.value : t.get(e); 310} 311function Nf(e, t, n, r, i) { 312 if (r === "m") throw new TypeError("Private method is not writable"); 313 if (r === "a" && !i) throw new TypeError("Private accessor was defined without a setter"); 314 if (typeof t == "function" ? e !== t || !i : !t.has(e)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); 315 return r === "a" ? i.call(e, n) : i ? i.value = n : t.set(e, n), n; 316} 317function Df(e, t) { 318 if (t === null || typeof t != "object" && typeof t != "function") throw new TypeError("Cannot use 'in' operator on non-object"); 319 return typeof e == "function" ? t === e : e.has(t); 320} 321function Rf(e, t, n) { 322 if (t != null) { 323 if (typeof t != "object" && typeof t != "function") throw new TypeError("Object expected."); 324 var r, i; 325 if (n) { 326 if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); 327 r = t[Symbol.asyncDispose]; 328 } 329 if (r === void 0) { 330 if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); 331 r = t[Symbol.dispose], n && (i = r); 332 } 333 if (typeof r != "function") throw new TypeError("Object not disposable."); 334 i && (r = function() { 335 try { 336 i.call(this); 337 } catch (s) { 338 return Promise.reject(s); 339 } 340 }), e.stack.push({ 341 value: t, 342 dispose: r, 343 async: n 344 }); 345 } else n && e.stack.push({ async: !0 }); 346 return t; 347} 348function Mf(e) { 349 function t(s) { 350 e.error = e.hasError ? new nv(s, e.error, "An error was suppressed during disposal.") : s, e.hasError = !0; 351 } 352 var n, r = 0; 353 function i() { 354 for (; n = e.stack.pop();) try { 355 if (!n.async && r === 1) return r = 0, e.stack.push(n), Promise.resolve().then(i); 356 if (n.dispose) { 357 var s = n.dispose.call(n.value); 358 if (n.async) return r |= 2, Promise.resolve(s).then(i, function(o) { 359 return t(o), i(); 360 }); 361 } else r |= 1; 362 } catch (o) { 363 t(o); 364 } 365 if (r === 1) return e.hasError ? Promise.reject(e.error) : Promise.resolve(); 366 if (e.hasError) throw e.error; 367 } 368 return i(); 369} 370function jf(e, t) { 371 return typeof e == "string" && /^\.\.?\//.test(e) ? e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(n, r, i, s, o) { 372 return r ? t ? ".jsx" : ".js" : i && (!s || !o) ? n : i + s + "." + o.toLowerCase() + "js"; 373 }) : e; 374} 375function O(e) { 376 return typeof e == "function"; 377} 378function ci(e) { 379 let t = e((n) => { 380 Error.call(n), n.stack = (/* @__PURE__ */ new Error()).stack; 381 }); 382 return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t; 383} 384function ir(e, t) { 385 if (e) { 386 let n = e.indexOf(t); 387 0 <= n && e.splice(n, 1); 388 } 389} 390function Vf(e) { 391 return e instanceof se || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe); 392} 393function Pf(e) { 394 O(e) ? e() : e.unsubscribe(); 395} 396function Ff(e) { 397 Mr.setTimeout(() => { 398 let { onUnhandledError: t } = mt; 399 if (t) t(e); 400 else throw e; 401 }); 402} 403function Ie() {} 404function X_(e) { 405 return Oo("E", void 0, e); 406} 407function ew(e) { 408 return Oo("N", e, void 0); 409} 410function Oo(e, t, n) { 411 return { 412 kind: e, 413 value: t, 414 error: n 415 }; 416} 417function fi(e) { 418 if (mt.useDeprecatedSynchronousErrorHandling) { 419 let t = !vt; 420 if (t && (vt = { 421 errorThrown: !1, 422 error: null 423 }), e(), t) { 424 let { errorThrown: n, error: r } = vt; 425 if (vt = null, n) throw r; 426 } 427 } else e(); 428} 429function tw(e) { 430 mt.useDeprecatedSynchronousErrorHandling && vt && (vt.errorThrown = !0, vt.error = e); 431} 432function Ao(e, t) { 433 return sv.call(e, t); 434} 435function di(e) { 436 mt.useDeprecatedSynchronousErrorHandling ? tw(e) : Ff(e); 437} 438function nw(e) { 439 throw e; 440} 441function No(e, t) { 442 let { onStoppedNotification: n } = mt; 443 n && Mr.setTimeout(() => n(e, t)); 444} 445function ve(e) { 446 return e; 447} 448function Do(...e) { 449 return Lf(e); 450} 451function Lf(e) { 452 return e.length === 0 ? ve : e.length === 1 ? e[0] : function(t) { 453 return e.reduce((n, r) => r(n), t); 454 }; 455} 456function Hf(e) { 457 var t; 458 return (t = e ?? mt.Promise) !== null && t !== void 0 ? t : Promise; 459} 460function rw(e) { 461 return e && O(e.next) && O(e.error) && O(e.complete); 462} 463function iw(e) { 464 return e && e instanceof jr || rw(e) && Vf(e); 465} 466function sw(e) { 467 return e ? ow(e) : nt; 468} 469function ow(e) { 470 return new j((t) => e.schedule(() => t.complete())); 471} 472function qf(e) { 473 return e && O(e.schedule); 474} 475function Ro(e) { 476 return e[e.length - 1]; 477} 478function sr(e) { 479 return O(Ro(e)) ? e.pop() : void 0; 480} 481function gn(e) { 482 return qf(Ro(e)) ? e.pop() : void 0; 483} 484function lw(e, t) { 485 return typeof Ro(e) == "number" ? e.pop() : t; 486} 487function Bf(e) { 488 return O(e?.then); 489} 490function Uf(e) { 491 return O(e[Ss]); 492} 493function zf(e) { 494 return Symbol.asyncIterator && O(e?.[Symbol.asyncIterator]); 495} 496function Zf(e) { 497 return /* @__PURE__ */ new TypeError(`You provided ${e !== null && typeof e == "object" ? "an invali
497d object" : `'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`); 498} 499function uw() { 500 return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator; 501} 502function Wf(e) { 503 return O(e?.[ta]); 504} 505function Qf(e) { 506 return ko(this, arguments, function* () { 507 let t = e.getReader(); 508 try { 509 for (;;) { 510 let { value: n, done: r } = yield Je(t.read()); 511 if (r) return yield Je(void 0); 512 yield yield Je(n); 513 } 514 } finally { 515 t.releaseLock(); 516 } 517 }); 518} 519function $f(e) { 520 return O(e?.getReader); 521} 522function N(e) { 523 if (e instanceof j) return e; 524 if (e != null) { 525 if (Uf(e)) return aw(e); 526 if (As(e)) return cw(e); 527 if (Bf(e)) return fw(e); 528 if (zf(e)) return Gf(e); 529 if (Wf(e)) return dw(e); 530 if ($f(e)) return hw(e); 531 } 532 throw Zf(e); 533} 534function aw(e) { 535 return new j((t) => { 536 let n = e[Ss](); 537 if (O(n.subscribe)) return n.subscribe(t); 538 throw new TypeError("Provided object does not correctly implement Symbol.observable"); 539 }); 540} 541function cw(e) { 542 return new j((t) => { 543 for (let n = 0; n < e.length && !t.closed; n++) t.next(e[n]); 544 t.complete(); 545 }); 546} 547function fw(e) { 548 return new j((t) => { 549 e.then((n) => { 550 t.closed || (t.next(n), t.complete()); 551 }, (n) => t.error(n)).then(null, Ff); 552 }); 553} 554function dw(e) { 555 return new j((t) => { 556 for (let n of e) if (t.next(n), t.closed) return; 557 t.complete(); 558 }); 559} 560function Gf(e) { 561 return new j((t) => { 562 pw(e, t).catch((n) => t.error(n)); 563 }); 564} 565function hw(e) { 566 return Gf(Qf(e)); 567} 568function pw(e, t) { 569 var n, r, i, s; 570 return xo(this, void 0, void 0, function* () { 571 try { 572 for (n = So(e); r = yield n.next(), !r.done;) { 573 let o = r.value; 574 if (t.next(o), t.closed) return; 575 } 576 } catch (o) { 577 i = { error: o }; 578 } finally { 579 try { 580 r && !r.done && (s = n.return) && (yield s.call(n)); 581 } finally { 582 if (i) throw i.error; 583 } 584 } 585 t.complete(); 586 }); 587} 588function Te(e, t, n, r = 0, i = !1) { 589 let s = t.schedule(function() { 590 n(), i ? e.add(this.schedule(null, r)) : this.unsubscribe(); 591 }, r); 592 if (e.add(s), !i) return s; 593} 594function Kf(e) { 595 return O(e?.lift); 596} 597function I(e) { 598 return (t) => { 599 if (Kf(t)) return t.lift(function(n) { 600 try { 601 return e(n, this); 602 } catch (r) { 603 this.error(r); 604 } 605 }); 606 throw new TypeError("Unable to lift unknown Observable type"); 607 }; 608} 609function b(e, t, n, r, i) { 610 return new na(e, t, n, r, i); 611} 612function Mo(e, t = 0) { 613 return I((n, r) => { 614 n.subscribe(b(r, (i) => Te(r, e, () => r.next(i), t), () => Te(r, e, () => r.complete(), t), (i) => Te(r, e, () => r.error(i), t))); 615 }); 616} 617function Jf(e, t = 0) { 618 return I((n, r) => { 619 r.add(e.schedule(() => n.subscribe(r), t)); 620 }); 621} 622function gw(e, t) { 623 return N(e).pipe(Jf(t), Mo(t)); 624} 625function yw(e, t) { 626 return N(e).pipe(Jf(t), Mo(t)); 627} 628function mw(e, t) { 629 return new j((n) => { 630 let r = 0; 631 return t.schedule(function() { 632 r === e.length ? n.complete() : (n.next(e[r++]), n.closed || this.schedule()); 633 }); 634 }); 635} 636function vw(e, t) { 637 return new j((n) => { 638 let r; 639 return Te(n, t, () => { 640 r = e[ta](), Te(n, t, () => { 641 let i, s; 642 try { 643 ({value: i, done: s} = r.next()); 644 } catch (o) { 645 n.error(o); 646 return; 647 } 648 s ? n.complete() : n.next(i); 649 }, 0, !0); 650 }), () => O(r?.return) && r.return(); 651 }); 652} 653function Yf(e, t) { 654 if (!e) throw new Error("Iterable cannot be null"); 655 return new j((n) => { 656 Te(n, t, () => { 657 let r = e[Symbol.asyncIterator](); 658 Te(n, t, () => { 659 r.next().then((i) => { 660 i.done ? n.complete() : n.next(i.value); 661 }); 662 }, 0, !0); 663 }); 664 }); 665} 666function bw(e, t) { 667 return Yf(Qf(e), t); 668} 669function _w(e, t) { 670 if (e != null) { 671 if (Uf(e)) return gw(e, t); 672 if (As(e)) return mw(e, t); 673 if (Bf(e)) return yw(e, t); 674 if (zf(e)) return Yf(e, t); 675 if (Wf(e)) return vw(e, t); 676 if ($f(e)) return bw(e, t); 677 } 678 throw Zf(e); 679} 680function yn(e, t) { 681 return t ? _w(e, t) : N(e); 682} 683function Xf(...e) { 684 return yn(e, gn(e)); 685} 686function ww(e, t) { 687 let n = typeof t == "object"; 688 return new Promise((r, i) => { 689 let s = new Yt({ 690 next: (o) => { 691 r(o), s.unsubscribe(); 692 }, 693 error: i, 694 complete: () => { 695 n ? r(t.defaultValue) : i(new Xt()); 696 } 697 }); 698 e.subscribe(s); 699 }); 700} 701function ed(e) { 702 return e instanceof Date && !isNaN(e); 703} 704function Ew(e, t) { 705 let { first: n, each: r, with: i = Iw, scheduler: s = t ?? je, meta: o = null } = ed(e) ? { first: e } : typeof e == "number" ? { each: e } : e; 706 if (n == null && r == null) throw new TypeError("No timeout provided."); 707 return I((l, u) => { 708 let a, c, f = null, h = 0, d = (p) => { 709 c = Te(u, s, () => { 710 try { 711 a.unsubscribe(), N(i({ 712 meta: o,
713 lastValue: f, 714 seen: h 715 })).subscribe(u); 716 } catch (y) { 717 u.error(y); 718 } 719 }, p); 720 }; 721 a = l.subscribe(b(u, (p) => { 722 c?.unsubscribe(), h++, u.next(f = p), r > 0 && d(r); 723 }, void 0, void 0, () => { 724 c?.closed || c?.unsubscribe(), f = null; 725 })), !h && d(n != null ? typeof n == "number" ? n : +n - s.now() : r); 726 }); 727} 728function Iw(e) { 729 throw new ia(e); 730} 731function Nt(e, t) { 732 return I((n, r) => { 733 let i = 0; 734 n.subscribe(b(r, (s) => { 735 r.next(e.call(t, s, i++)); 736 })); 737 }); 738} 739function td(e) { 740 if (e.length === 1) { 741 let t = e[0]; 742 if (fv(t)) return { 743 args: t, 744 keys: null 745 }; 746 if (Tw(t)) { 747 let n = pv(t); 748 return { 749 args: n.map((r) => t[r]), 750 keys: n 751 }; 752 } 753 } 754 return { 755 args: e, 756 keys: null 757 }; 758} 759function Tw(e) { 760 return e && typeof e == "object" && dv(e) === hv; 761} 762function xw(e, t) { 763 return gv(t) ? e(...t) : e(t); 764} 765function mn(e) { 766 return Nt((t) => xw(e, t)); 767} 768function nd(e, t) { 769 return e.reduce((n, r, i) => (n[r] = t[i], n), {}); 770} 771function rd(...e) { 772 let t = gn(e), n = sr(e), { args: r, keys: i } = td(e); 773 if (r.length === 0) return yn([], t); 774 let s = new j(id(r, t, i ? (o) => nd(i, o) : ve)); 775 return n ? s.pipe(mn(n)) : s; 776} 777function id(e, t, n = ve) { 778 return (r) => { 779 sd(t, () => { 780 let { length: i } = e, s = new Array(i), o = i, l = i; 781 for (let u = 0; u < i; u++) sd(t, () => { 782 let a = yn(e[u], t), c = !1; 783 a.subscribe(b(r, (f) => { 784 s[u] = f, c || (c = !0, l--), l || r.next(n(s.slice())); 785 }, () => { 786 --o || r.complete(); 787 })); 788 }, r); 789 }, r); 790 }; 791} 792function sd(e, t, n) { 793 e ? Te(n, e, t) : t(); 794} 795function od(e) { 796 return new j((t) => { 797 N(e()).subscribe(t); 798 }); 799} 800function ld(e, t, n, r, i, s, o, l) { 801 let u = [], a = 0, c = 0, f = !1, h = () => { 802 f && !u.length && !a && t.complete(); 803 }, d = (y) => a < r ? p(y) : u.push(y), p = (y) => { 804 s && t.next(y), a++; 805 let _ = !1; 806 N(n(y, c++)).subscribe(b(t, (C) => { 807 i?.(C), s ? d(C) : t.next(C); 808 }, () => { 809 _ = !0; 810 }, void 0, () => { 811 if (_) try { 812 for (a--; u.length && a < r;) { 813 let C = u.shift(); 814 o ? Te(t, o, () => p(C)) : p(C); 815 } 816 h(); 817 } catch (C) { 818 t.error(C); 819 } 820 })); 821 }; 822 return e.subscribe(b(t, d, () => { 823 f = !0, h(); 824 })), () => { 825 l?.(); 826 }; 827} 828function Ye(e, t, n = 1 / 0) { 829 return O(t) ? Ye((r, i) => Nt((s, o) => t(r, s, i, o))(N(e(r, i))), n) : (typeof t == "number" && (n = t), I((r, i) => ld(r, i, e, n))); 830} 831function jo(e, t, n, r) { 832 if (O(n) && (r = n, n = void 0), r) return jo(e, t, n).pipe(mn(r)); 833 let [i, s] = Sw(e) ? mv.map((o) => (l) => e[o](t, l, n)) : Cw(e) ? yv.map(ud(e, t)) : kw(e) ? vv.map(ud(e, t)) : []; 834 if (!i && As(e)) return Ye((o) => jo(o, t, n))(N(e)); 835 if (!i) throw new TypeError("Invalid event target"); 836 return new j((o) => { 837 let l = (...u) => o.next(1 < u.length ? u : u[0]); 838 return i(l), () => s(l); 839 }); 840} 841function ud(e, t) { 842 return (n) => (r) => e[n](t, r); 843} 844function Cw(e) { 845 return O(e.addListener) && O(e.removeListener); 846} 847function kw(e) { 848 return O(e.on) && O(e.off); 849} 850function Sw(e) { 851 return O(e.addEventListener) && O(e.removeEventListener); 852} 853function Dt(e = 0, t, n = cv) { 854 let r = -1; 855 return t != null && (qf(t) ? n = t : r = t), new j((i) => { 856 let s = ed(e) ? +e - n.now() : e; 857 s < 0 && (s = 0); 858 let o = 0; 859 return n.schedule(function() { 860 i.closed || (i.next(o++), 0 <= r ? this.schedule(void 0, r) : i.complete()); 861 }, s); 862 }); 863} 864function ad(e = 0, t = je) { 865 return e < 0 && (e = 0), Dt(e, e, t); 866} 867function Vo(e = 1 / 0) { 868 return Ye(ve, e); 869} 870function Ow(...e) { 871 let t = gn(e), n = lw(e, 1 / 0), r = e; 872 return r.length ? r.length === 1 ? N(r[0]) : Vo(n)(yn(r, t)) : nt; 873} 874function vn(e, t) { 875 return I((n, r) => { 876 let i = 0; 877 n.subscribe(b(r, (s) => e.call(t, s, i++) && r.next(s))); 878 }); 879} 880function cd(e) { 881 return I((t, n) => { 882 let r = null, i = !1, s; 883 r = t.subscribe(b(n, void 0, void 0, (o) => { 884 s = N(e(o, cd(e)(t))), r ? (r.unsubscribe(), r = null, s.subscribe(n)) : i = !0; 885 })), i && (r.unsubscribe(), r = null, s.subscribe(n)); 886 }); 887} 888function Po(e, t) { 889 return O(t) ? Ye(e, t, 1) : Ye(e, 1); 890} 891function Aw(e, t = je) {
892 return I((n, r) => { 893 let i = null, s = null, o = null, l = () => { 894 if (i) { 895 i.unsubscribe(), i = null; 896 let a = s; 897 s = null, r.next(a); 898 } 899 }; 900 function u() { 901 let a = o + e, c = t.now(); 902 if (c < a) { 903 i = this.schedule(void 0, a - c), r.add(i); 904 return; 905 } 906 l(); 907 } 908 n.subscribe(b(r, (a) => { 909 s = a, o = t.now(), i || (i = t.schedule(u, e), r.add(i)); 910 }, () => { 911 l(), r.complete(); 912 }, void 0, () => { 913 s = i = null; 914 })); 915 }); 916} 917function hi(e) { 918 return e <= 0 ? () => nt : I((t, n) => { 919 let r = 0; 920 t.subscribe(b(n, (i) => { 921 ++r <= e && (n.next(i), e <= r && n.complete()); 922 })); 923 }); 924} 925function fd(e, t = ve) { 926 return e = e ?? Nw, I((n, r) => { 927 let i, s = !0; 928 n.subscribe(b(r, (o) => { 929 let l = t(o); 930 (s || !e(i, l)) && (s = !1, i = l, r.next(o)); 931 })); 932 }); 933} 934function Nw(e, t) { 935 return e === t; 936} 937function Dw(e, t) { 938 return fd((n, r) => t ? t(n[e], r[e]) : n[e] === r[e]); 939} 940function Rw(e) { 941 return I((t, n) => { 942 try { 943 t.subscribe(n); 944 } finally { 945 n.add(e); 946 } 947 }); 948} 949function Fo(e) { 950 return I((t, n) => { 951 let r = !1; 952 t.subscribe(b(n, (i) => { 953 r = !0, n.next(i); 954 }, () => { 955 r || n.next(e), n.complete(); 956 })); 957 }); 958} 959function dd(e = Mw) { 960 return I((t, n) => { 961 let r = !1; 962 t.subscribe(b(n, (i) => { 963 r = !0, n.next(i); 964 }, () => r ? n.complete() : n.error(e()))); 965 }); 966} 967function Mw() { 968 return new Xt(); 969} 970function jw(e, t) { 971 let n = arguments.length >= 2; 972 return (r) => r.pipe(e ? vn((i, s) => e(i, s, r)) : ve, hi(1), n ? Fo(t) : dd(() => new Xt())); 973} 974function Vw() { 975 return I((e, t) => { 976 let n, r = !1; 977 e.subscribe(b(t, (i) => { 978 let s = n; 979 n = i, r && t.next([s, i]), r = !0; 980 })); 981 }); 982} 983function Pw(e) { 984 return vn((t, n) => e <= n); 985} 986function Fw() { 987 return Vo(1); 988} 989function pi(...e) { 990 return Fw()(yn(e, gn(e))); 991} 992function Lw(...e) { 993 let t = gn(e); 994 return I((n, r) => { 995 (t ? pi(e, n, t) : pi(e, n)).subscribe(r); 996 }); 997} 998function gi(e, t) { 999 return I((n, r) => { 1000 let i = null, s = 0, o = !1, l = () => o && !i && r.complete(); 1001 n.subscribe(b(r, (u) => { 1002 i?.unsubscribe(); 1003 let a = 0, c = s++; 1004 N(e(u, c)).subscribe(i = b(r, (f) => r.next(t ? t(u, f, c, a++) : f), () => { 1005 i = null, l(); 1006 })); 1007 }, () => { 1008 o = !0, l(); 1009 })); 1010 }); 1011} 1012function Hw(e) { 1013 return I((t, n) => { 1014 N(e).subscribe(b(n, () => n.complete(), Ie)), !n.closed && t.subscribe(n); 1015 }); 1016} 1017function qw(e, t, n) { 1018 let r = O(e) || t || n ? { 1019 next: e, 1020 error: t, 1021 complete: n 1022 } : e; 1023 return r ? I((i, s) => { 1024 var o; 1025 (o = r.subscribe) === null || o === void 0 || o.call(r); 1026 let l = !0; 1027 i.subscribe(b(s, (u) => { 1028 var a; 1029 (a = r.next) === null || a === void 0 || a.call(r, u), s.next(u); 1030 }, () => { 1031 var u; 1032 l = !1, (u = r.complete) === null || u === void 0 || u.call(r), s.complete(); 1033 }, (u) => { 1034 var a; 1035 l = !1, (a = r.error) === null || a === void 0 || a.call(r, u), s.error(u); 1036 }, () => { 1037 var u, a; 1038 l && ((u = r.unsubscribe) === null || u === void 0 || u.call(r)), (a = r.finalize) === null || a === void 0 || a.call(r); 1039 })); 1040 }) : ve; 1041} 1042function Bw(e, t) { 1043 return I((n, r) => { 1044 let { leading: i = !0, trailing: s = !1 } = t ?? {}, o = !1, l = null, u = null, a = !1, c = () => { 1045 u?.unsubscribe(), u = null, s && (d(), a && r.complete()); 1046 }, f = () => { 1047 u = null, a && r.complete(); 1048 }, h = (p) => u = N(e(p)).subscribe(b(r, c, f)), d = () => { 1049 if (o) { 1050 o = !1; 1051 let p = l; 1052 l = null, r.next(p), !a && h(p); 1053 } 1054 }; 1055 n.subscribe(b(r, (p) => { 1056 o = !0, l = p, (!u || u.closed) && (i ? d() : h(p)); 1057 }, () => { 1058 a = !0, !(s && o && u && !u.closed) && r.complete(); 1059 })); 1060 }); 1061} 1062function Uw(e, t = je, n) { 1063 let r = Dt(e, t); 1064 return Bw(() => r, n); 1065} 1066function zw(...e) { 1067 let t = sr(e); 1068 return I((n, r) => { 1069 let i = e.length, s = new Array(i), o = e.map(() => !1), l = !1; 1070 for (let u = 0; u < i; u++) N(e[u]).subscribe(b(r, (a) => { 1071 s[u] = a, !l && !o[u] && (o[u] = !0, (l = o.every(ve)) && (o = null)); 1072 }, Ie)); 1073 n.subscribe(b(r, (u) => { 1074 if (l) { 1075 let a = [u, ...s]; 1076 r.next(t ? t(...a) : a); 1077 } 1078 })); 1079 }); 1080} 1081function hd() { 1082 return I((e, t) => { 1083 let n = null; 1084 e._refCount++; 1085 let r = b(t, void 0, void 0, void 0, () => { 1086 if (!e || e._refCount <= 0 || 0 < --e._refCount) { 1087 n = null; 1088 return; 1089 } 1090 let i = e._connection, s = n; 1091 n = null, i && (!s || i === s) && i.unsubscribe(), t.unsubscribe(); 1092 }); 1093 e.subscribe(r), r.closed || (n = e.connect()); 1094 }); 1095} 1096function pd(e) { 1097 return e in Rs ? (delete Rs[e], !0) : !1; 1098} 1099function gd(e, t) { 1100 let n = O(e) ? e : () => e, r = (i) => i.error(n()); 1101 return new j(t ? (i) => t.schedule(r, 0, i) : r); 1102} 1103function yd(e, t) { 1104 var n, r, i; 1105 let { kind: s, value: o, error: l } = e; 1106 if (typeof s != "string") throw new TypeError("Invalid notification, missing \"kind\""); 1107 s === "N" ? (n = t.next) === null || n === void 0 || n.call(t, o) : s === "E" ? (r = t.error) === null || r === void 0 || r.call(t, l) : (i = t.complete) === null || i === void 0 || i.call(t); 1108} 1109function Zw(e) { 1110 return !!e && (e instanceof j || O(e.lift) && O(e.subscribe)); 1111} 1112function Ww(e, t) { 1113 let n = typeof t == "object"; 1114 return new Promise((r, i) => { 1115 let s = !1, o; 1116 e.subscribe({ 1117 next: (l) => { 1118 o = l, s = !0; 1119 }, 1120 error: i, 1121 complete: () => { 1122 s ? r(o) : n ? r(t.defaultValue) : i(new Xt()); 1123 } 1124 }); 1125 }); 1126} 1127function Qw(...e) {
1128 let t = sr(e), { args: n, keys: r } = td(e), i = new j((s) => { 1129 let { length: o } = n; 1130 if (!o) { 1131 s.complete(); 1132 return; 1133 } 1134 let l = new Array(o), u = o, a = o; 1135 for (let c = 0; c < o; c++) { 1136 let f = !1; 1137 N(n[c]).subscribe(b(s, (h) => { 1138 f || (f = !0, a--), l[c] = h; 1139 }, () => u--, void 0, () => { 1140 (!u || !f) && (a || s.next(r ? nd(r, l) : l), s.complete()); 1141 })); 1142 } 1143 }); 1144 return t ? i.pipe(mn(t)) : i; 1145} 1146function md(e, t, n) { 1147 return n ? md(e, t).pipe(mn(n)) : new j((r) => { 1148 let i = (...o) => r.next(o.length === 1 ? o[0] : o), s = e(i); 1149 return O(t) ? () => t(i, s) : void 0; 1150 }); 1151} 1152function $w(e, t, n) { 1153 return od(() => e() ? t : n); 1154} 1155function Gw() { 1156 return la; 1157} 1158function Lo(e) { 1159 return e.length === 1 && Dv(e[0]) ? e[0] : e; 1160} 1161function Kw(e, t) { 1162 return (n, r) => !e.call(t, n, r); 1163} 1164function Jw(e, t, n) { 1165 return [vn(t, n)(N(e)), vn(Kw(t, n))(N(e))]; 1166} 1167function Yw(...e) { 1168 return e = Lo(e), e.length === 1 ? N(e[0]) : new j(vd(e)); 1169} 1170function vd(e) { 1171 return (t) => { 1172 let n = []; 1173 for (let r = 0; n && !t.closed && r < e.length; r++) n.push(N(e[r]).subscribe(b(t, (i) => { 1174 if (n) { 1175 for (let s = 0; s < n.length; s++) s !== r && n[s].unsubscribe(); 1176 n = null; 1177 } 1178 t.next(i); 1179 }))); 1180 }; 1181} 1182function Xw(...e) { 1183 let t = sr(e), n = Lo(e); 1184 return n.length ? new j((r) => { 1185 let i = n.map(() => []), s = n.map(() => !1); 1186 r.add(() => { 1187 i = s = null; 1188 }); 1189 for (let o = 0; !r.closed && o < n.length; o++) N(n[o]).subscribe(b(r, (l) => { 1190 if (i[o].push(l), i.every((u) => u.length)) { 1191 let u = i.map((a) => a.shift()); 1192 r.next(t ? t(...u) : u), i.some((a, c) => !a.length && s[c]) && r.complete(); 1193 } 1194 }, () => { 1195 s[o] = !0, !i[o].length && r.complete(); 1196 })); 1197 return () => { 1198 i = s = null; 1199 }; 1200 }) : nt; 1201} 1202function e1(e) { 1203 return I((t, n) => { 1204 let r = !1, i = null, s = null, o = !1, l = () => { 1205 if (s?.unsubscribe(), s = null, r) { 1206 r = !1; 1207 let a = i; 1208 i = null, n.next(a); 1209 } 1210 o && n.complete(); 1211 }, u = () => { 1212 s = null, o && n.complete(); 1213 }; 1214 t.subscribe(b(n, (a) => { 1215 r = !0, i = a, s || N(e(a)).subscribe(s = b(n, l, u)); 1216 }, () => { 1217 o = !0, (!r || !s || s.closed) && n.complete(); 1218 })); 1219 }); 1220} 1221function t1(e, t = je) { 1222 return e1(() => Dt(e, t)); 1223} 1224function n1(e) { 1225 return I((t, n) => { 1226 let r = []; 1227 return t.subscribe(b(n, (i) => r.push(i), () => { 1228 n.next(r), n.complete(); 1229 })), N(e).subscribe(b(n, () => { 1230 let i = r; 1231 r = [], n.next(i); 1232 }, Ie)), () => { 1233 r = null; 1234 }; 1235 }); 1236} 1237function r1(e, ...t) { 1238 var n, r; 1239 let i = (n = gn(t)) !== null && n !== void 0 ? n : je, s = (r = t[0]) !== null && r !== void 0 ? r : null, o = t[1] || 1 / 0; 1240 return I((l, u) => { 1241 let a = [], c = !1, f = (p) => { 1242 let { buffer: y, subs: _ } = p; 1243 _.unsubscribe(), ir(a, p), u.next(y), c && h(); 1244 }, h = () => { 1245 if (a) { 1246 let p = new se(); 1247 u.add(p); 1248 let y = { 1249 buffer: [], 1250 subs: p 1251 }; 1252 a.push(y), Te(p, i, () => f(y), e); 1253 } 1254 }; 1255 s !== null && s >= 0 ? Te(u, i, h, s, !0) : c = !0, h(); 1256 let d = b(u, (p) => { 1257 let y = a.slice(); 1258 for (let _ of y) { 1259 let { buffer: C } = _; 1260 C.push(p), o <= C.length && f(_); 1261 } 1262 }, () => { 1263 for (; a?.length;) u.next(a.shift().buffer); 1264 d?.unsubscribe(), u.complete(), u.unsubscribe(); 1265 }, void 0, () => a = null); 1266 l.subscribe(d); 1267 }); 1268} 1269function bd(e, t, n, r, i) { 1270 return (s, o) => { 1271 let l = n, u = t, a = 0; 1272 s.subscribe(b(o, (c) => { 1273 let f = a++; 1274 u = l ? e(u, c, f) : (l = !0, c), r && o.next(u); 1275 }, i && (() => { 1276 l && o.next(u), o.complete(); 1277 }))); 1278 }; 1279} 1280function Ho(e, t) { 1281 return I(bd(e, t, arguments.length >= 2, !1, !0)); 1282} 1283function _d() { 1284 return I((e, t) => { 1285 Ho(Rv, [])(e).subscribe(t); 1286 }); 1287} 1288function i1(e, t) { 1289 return Do(_d(), Ye((n) => e(n)), t ? mn(t) : ve); 1290} 1291function s1(e) { 1292 return i1(rd, e); 1293} 1294function wd(...e) { 1295 let t = sr(e); 1296 return t ? Do(wd(...e), mn(t)) : I((n, r) => { 1297 id([n, ...Lo(e)])(r); 1298 }); 1299} 1300function o1(...e) { 1301 return wd(...e); 1302} 1303function l1(e, t) { 1304 return O(t) ? Po(() => e, t) : Po(() => e); 1305} 1306function u1(e) { 1307 return new j((t) => e.subscribe(t)); 1308} 1309function Ed(e, t = Mv) { 1310 let { connector: n } = t; 1311 return I((r, i) => { 1312 let s = n(); 1313 N(e(u1(s))).subscribe(i), i.add(r.subscribe(s)); 1314 }); 1315} 1316function a1(e) { 1317 return Ho((t, n, r) => !e || e(n, r) ? t + 1 : t, 0); 1318} 1319function c1(e) { 1320 return I((t, n) => { 1321 let r = !1, i = null, s = null, o = () => { 1322 if (s?.unsubscribe(), s = null, r) { 1323 r = !1; 1324 let l = i; 1325 i = null, n.next(l); 1326 } 1327 }; 1328 t.subscribe(b(n, (l) => { 1329 s?.unsubscribe(), r = !0, i = l, s = b(n, o, Ie), N(e(l)).subscribe(s); 1330 }, () => { 1331 o(), n.complete(); 1332 }, void 0, () => { 1333 i = s = null; 1334 })); 1335 }); 1336} 1337function Id() { 1338 return I((e, t) => { 1339 e.subscribe(b(t, Ie)); 1340 }); 1341} 1342function Td(e) { 1343 return Nt(() => e); 1344} 1345function qo(e, t) { 1346 return t ? (n) => pi(t.pipe(hi(1), Id()), n.pipe(qo(e))) : Ye((n, r) => N(e(n, r)).pipe(hi(1), Td(n))); 1347} 1348function f1(e, t = je) { 1349 let n = Dt(e, t); 1350 return qo(() => n); 1351} 1352function d1() { 1353 return I((e, t) => { 1354 e.subscribe(b(t, (n) => yd(n, t))); 1355 }); 1356} 1357function h1(e, t) {
1358 return I((n, r) => { 1359 let i = /* @__PURE__ */ new Set(); 1360 n.subscribe(b(r, (s) => { 1361 let o = e ? e(s) : s; 1362 i.has(o) || (i.add(o), r.next(s)); 1363 })), t && N(t).subscribe(b(r, () => i.clear(), Ie)); 1364 }); 1365} 1366function xd(e, t) { 1367 return t ? (n) => n.pipe(xd((r, i) => N(e(r, i)).pipe(Nt((s, o) => t(r, s, i, o))))) : I((n, r) => { 1368 let i = 0, s = null, o = !1; 1369 n.subscribe(b(r, (l) => { 1370 s || (s = b(r, void 0, () => { 1371 s = null, o && r.complete(); 1372 }), N(e(l, i++)).subscribe(s)); 1373 }, () => { 1374 o = !0, !s && r.complete(); 1375 })); 1376 }); 1377} 1378function p1(e, t = 1 / 0, n) { 1379 return t = (t || 0) < 1 ? 1 / 0 : t, I((r, i) => ld(r, i, e, t, void 0, !0, n)); 1380} 1381function g1(e, t, n, r) { 1382 return I((i, s) => { 1383 let o; 1384 !t || typeof t == "function" ? o = t : {duration: n, element: o, connector: r} = t; 1385 let l = /* @__PURE__ */ new Map(), u = (p) => { 1386 l.forEach(p), p(s); 1387 }, a = (p) => u((y) => y.error(p)), c = 0, f = !1, h = new na(s, (p) => { 1388 try { 1389 let y = e(p), _ = l.get(y); 1390 if (!_) { 1391 l.set(y, _ = r ? r() : new X()); 1392 let C = d(y, _); 1393 if (s.next(C), n) { 1394 let Q = b(_, () => { 1395 _.complete(), Q?.unsubscribe(); 1396 }, void 0, void 0, () => l.delete(y)); 1397 h.add(N(n(C)).subscribe(Q)); 1398 } 1399 } 1400 _.next(o ? o(p) : p); 1401 } catch (y) { 1402 a(y); 1403 } 1404 }, () => u((p) => p.complete()), a, () => l.clear(), () => (f = !0, c === 0)); 1405 i.subscribe(h); 1406 function d(p, y) { 1407 let _ = new j((C) => { 1408 c++; 1409 let Q = y.subscribe(C); 1410 return () => { 1411 Q.unsubscribe(), --c === 0 && f && h.unsubscribe(); 1412 }; 1413 }); 1414 return _.key = p, _; 1415 } 1416 }); 1417} 1418function Cd(e) { 1419 return e <= 0 ? () => nt : I((t, n) => { 1420 let r = []; 1421 t.subscribe(b(n, (i) => { 1422 r.push(i), e < r.length && r.shift(); 1423 }, () => { 1424 for (let i of r) n.next(i); 1425 n.complete(); 1426 }, void 0, () => { 1427 r = null; 1428 })); 1429 }); 1430} 1431function y1(e, t) { 1432 let n = arguments.length >= 2; 1433 return (r) => r.pipe(e ? vn((i, s) => e(i, s, r)) : ve, Cd(1), n ? Fo(t) : dd(() => new Xt())); 1434} 1435function m1() { 1436 return I((e, t) => { 1437 e.subscribe(b(t, (n) => { 1438 t.next(Pn.createNext(n)); 1439 }, () => { 1440 t.next(Pn.createComplete()), t.complete(); 1441 }, (n) => { 1442 t.next(Pn.createError(n)), t.complete(); 1443 })); 1444 }); 1445} 1446function Bo(e, t) { 1447 let n = O(e) ? e : () => e; 1448 return O(t) ? Ed(t, { connector: n }) : (r) => new sa(r, n); 1449} 1450function v1(...e) { 1451 let t = e.length; 1452 if (t === 0) throw new Error("list of properties cannot be empty."); 1453 return Nt((n) => { 1454 let r = n; 1455 for (let i = 0; i < t; i++) { 1456 let s = r?.[e[i]]; 1457 if (typeof s < "u") r = s; 1458 else return; 1459 } 1460 return r; 1461 }); 1462} 1463function b1(e) { 1464 return e ? (t) => Ed(e)(t) : (t) => Bo(new X())(t); 1465} 1466function _1(e, t, n, r) { 1467 n && !O(n) && (r = n); 1468 let i = O(n) ? n : void 0; 1469 return (s) => Bo(new Ds(e, t, r), i)(s); 1470} 1471function w1(...e) { 1472 return e.length ? I((t, n) => { 1473 vd([t, ...e])(n); 1474 }) : ve; 1475} 1476function E1(e) { 1477 let t = 1 / 0, n; 1478 return e != null && (typeof e == "object" ? {count: t = 1 / 0, delay: n} = e : t = e), t <= 0 ? () => nt : I((r, i) => { 1479 let s = 0, o, l = () => { 1480 if (o?.unsubscribe(), o = null, n != null) { 1481 let a = typeof n == "number" ? Dt(n) : N(n(s)), c = b(i, () => { 1482 c.unsubscribe(), u(); 1483 }); 1484 a.subscribe(c); 1485 } else u(); 1486 }, u = () => { 1487 let a = !1; 1488 o = r.subscribe(b(i, void 0, () => { 1489 ++s < t ? o ? l() : a = !0 : i.complete(); 1490 })), a && l(); 1491 }; 1492 u(); 1493 }); 1494} 1495function I1(e = 1 / 0) { 1496 let t; 1497 e && typeof e == "object" ? t = e : t = { count: e }; 1498 let { count: n = 1 / 0, delay: r, resetOnSuccess: i = !1 } = t; 1499 return n <= 0 ? ve : I((s, o) => { 1500 let l = 0, u, a = () => { 1501 let c = !1; 1502 u = s.subscribe(b(o, (f) => { 1503 i && (l = 0), o.next(f); 1504 }, void 0, (f) => { 1505 if (l++ < n) { 1506 let h = () => { 1507 u ? (u.unsubscribe(), u = null, a()) : c = !0; 1508 }; 1509 if (r != null) { 1510 let d = typeof r == "number" ? Dt(r) : N(r(f, l)), p = b(o, () => { 1511 p.unsubscribe(), h(); 1512 }, () => { 1513 o.complete(); 1514 }); 1515 d.subscribe(p); 1516 } else h(); 1517 } else o.error(f); 1518 })), c && (u.unsubscribe(), u = null, a()); 1519 }; 1520 a(); 1521 }); 1522} 1523function T1(e) { 1524 return I((t, n) => { 1525 let r, i = !1, s, o = () => { 1526 r = t.subscribe(b(n, void 0, void 0, (l) => { 1527 s || (s = new X(), N(e(s)).subscribe(b(n, () =>
1527 r ? o() : i = !0))), s && s.next(l); 1528 })), i && (r.unsubscribe(), r = null, i = !1, o()); 1529 }; 1530 o(); 1531 }); 1532} 1533function x1(e) { 1534 return I((t, n) => { 1535 let r = !1, i = null; 1536 t.subscribe(b(n, (s) => { 1537 r = !0, i = s; 1538 })), N(e).subscribe(b(n, () => { 1539 if (r) { 1540 r = !1; 1541 let s = i; 1542 i = null, n.next(s); 1543 } 1544 }, Ie)); 1545 }); 1546} 1547function C1(e, t = je) { 1548 return x1(ad(e, t)); 1549} 1550function k1(e, t) { 1551 return I(bd(e, t, arguments.length >= 2, !0)); 1552} 1553function kd(e = {}) { 1554 let { connector: t = () => new X(), resetOnError: n = !0, resetOnComplete: r = !0, resetOnRefCountZero: i = !0 } = e; 1555 return (s) => { 1556 let o, l, u, a = 0, c = !1, f = !1, h = () => { 1557 l?.unsubscribe(), l = void 0; 1558 }, d = () => { 1559 h(), o = u = void 0, c = f = !1; 1560 }, p = () => { 1561 let y = o; 1562 d(), y?.unsubscribe(); 1563 }; 1564 return I((y, _) => { 1565 a++, !f && !c && h(); 1566 let C = u = u ?? t(); 1567 _.add(() => { 1568 a--, a === 0 && !f && !c && (l = Uo(p, i)); 1569 }), C.subscribe(_), !o && a > 0 && (o = new Yt({ 1570 next: (Q) => C.next(Q), 1571 error: (Q) => { 1572 f = !0, h(), l = Uo(d, n, Q), C.error(Q); 1573 }, 1574 complete: () => { 1575 c = !0, h(), l = Uo(d, r), C.complete(); 1576 } 1577 }), N(y).subscribe(o)); 1578 })(s); 1579 }; 1580} 1581function Uo(e, t, ...n) { 1582 if (t === !0) { 1583 e(); 1584 return; 1585 } 1586 if (t === !1) return; 1587 let r = new Yt({ next: () => { 1588 r.unsubscribe(), e(); 1589 } }); 1590 return N(t(...n)).subscribe(r); 1591} 1592function S1(e, t, n) { 1593 let r, i = !1; 1594 return e && typeof e == "object" ? {bufferSize: r = 1 / 0, windowTime: t = 1 / 0, refCount: i = !1, scheduler: n} = e : r = e ?? 1 / 0, kd({ 1595 connector: () => new Ds(r, t, n), 1596 resetOnError: !0, 1597 resetOnComplete: !1, 1598 resetOnRefCountZero: i 1599 }); 1600} 1601function O1(e) { 1602 return I((t, n) => { 1603 let r = !1, i = b(n, () => { 1604 i?.unsubscribe(), r = !0; 1605 }, Ie); 1606 N(e).subscribe(i), t.subscribe(b(n, (s) => r && n.next(s))); 1607 }); 1608} 1609function A1(e) { 1610 return I((t, n) => { 1611 let r = !1, i = 0; 1612 t.subscribe(b(n, (s) => (r || (r = !e(s, i++))) && n.next(s))); 1613 }); 1614} 1615function N1() { 1616 return gi(ve); 1617} 1618function D1(e, t) { 1619 return O(t) ? gi(() => e, t) : gi(() => e); 1620} 1621function R1(e, t = !1) { 1622 return I((n, r) => { 1623 let i = 0; 1624 n.subscribe(b(r, (s) => { 1625 let o = e(s, i++); 1626 (o || t) && r.next(s), !o && r.complete(); 1627 })); 1628 }); 1629} 1630function M1(e, t = 0) { 1631 let n = t > 0 ? t : e; 1632 return I((r, i) => { 1633 let s = [new X()], o = 0; 1634 i.next(s[0].asObservable()), r.subscribe(b(i, (l) => { 1635 for (let a of s) a.next(l); 1636 let u = o - e + 1; 1637 if (u >= 0 && u % n === 0 && s.shift().complete(), ++o % n === 0) { 1638 let a = new X(); 1639 s.push(a), i.next(a.asObservable()); 1640 } 1641 }, () => { 1642 for (; s.length > 0;) s.shift().complete(); 1643 i.complete(); 1644 }, (l) => { 1645 for (; s.length > 0;) s.shift().error(l); 1646 i.error(l); 1647 }, () => { 1648 s = null; 1649 })); 1650 }); 1651} 1652function j1(e) { 1653 return I((t, n) => { 1654 let r, i, s = (l) => { 1655 r.error(l), n.error(l); 1656 }, o = () => { 1657 i?.unsubscribe(), r?.complete(), r = new X(), n.next(r.asObservable()); 1658 let l; 1659 try { 1660 l = N(e()); 1661 } catch (u) { 1662 s(u); 1663 return; 1664 } 1665 l.subscribe(i = b(n, o, o, s)); 1666 }; 1667 o(), t.subscribe(b(n, (l) => r.next(l), () => { 1668 r.complete(), n.complete(); 1669 }, s, () => { 1670 i?.unsubscribe(), r = null; 1671 })); 1672 }); 1673} 1674function E(e) { 1675 let t = oe; 1676 return oe = e, t; 1677} 1678function V1() { 1679 return oe; 1680} 1681function bn(e) { 1682 if (Hr) throw new Error(""); 1683 if (oe === null) return; 1684 oe.consumerOnSignalRead(e); 1685 let t = oe.producersTail; 1686 if (t !== void 0 && t.producer === e) return; 1687 let n, r = oe.recomputing; 1688 if (r && (n = t !== void 0 ? t.nextProducer : oe.producers, n !== void 0 && n.producer === e)) { 1689 oe.producersTail = n, n.lastReadVersion = e.version, n.knownValidAtEpoch = bt; 1690 return; 1691 } 1692 let i = e.consumersTail; 1693 if (i !== void 0 && i.consumer === oe && (!r || i.knownValidAtEpoch === bt)) return; 1694 let s = wn(oe), o = { 1695 producer: e, 1696 consumer: oe, 1697 nextProducer: n, 1698 prevConsumer: void 0, 1699 knownValidAtEpoch: bt, 1700 lastReadVersion: e.version, 1701 nextConsumer: void 0 1702 }; 1703 oe.producersTail = o, t !== void 0 ? t.nextProducer = o : oe.producers = o, s && Ad(e, o); 1704} 1705function P1() { 1706 bt++; 1707} 1708function or(e) { 1709 if (!(wn(e) && !e.dirty) && !(!e.dirty && e.lastCleanEpoch === bt)) { 1710 if (!e.producerMustRecompute(e) && !mi(e)) { 1711 yi(e); 1712 return; 1713 } 1714 e.producerRecomputeValue(e), yi(e); 1715 } 1716} 1717function Sd(e) { 1718 if (e.consumers === void 0) return; 1719 let t = Hr; 1720 Hr = !0; 1721 try { 1722 for (let n = e.consumers; n !== void 0; n = n.nextConsumer) { 1723 let r = n.consumer; 1724 r.dirty || F1(r); 1725 } 1726 } finally { 1727 Hr = t; 1728 } 1729} 1730function Od() { 1731 return oe?.consumerAllowSignalWrites !== !1; 1732} 1733function F1(e) { 1734 e.dirty = !0, Sd(e), e.consumerMarkedDirty?.(e); 1735} 1736function yi(e) { 1737 e.dirty = !1, e.lastCleanEpoch = bt; 1738} 1739function _n(e) { 1740 return e && L1(e), E(e); 1741} 1742function L1(e) { 1743 if (e.producersTail?.knownValidAtEpoch === bt) { 1744 let t = e.producers; 1745 for (; t !== void 0;) t.knownValidAtEpoch = null, t = t.nextProducer; 1746 } 1747 e.producersTail = void 0, e.recomputing = !0; 1748} 1749function lr(e, t) { 1750 E(t), e && H1(e); 1751} 1752function H1(e) { 1753 e.recomputing = !1; 1754 let t = e.producersTail, n = t !== void 0 ? t.nextProducer : e.producers; 1755 if (n !== void 0) { 1756 if (wn(e)) do 1757 n = zo(n); 1758 while (n !== void 0); 1759 t !== void 0 ? t.nextProducer = void 0 : e.producers = void 0; 1760 } 1761} 1762function mi(e) { 1763 for (let t = e.producers; t !== void 0; t = t.nextProducer) { 1764 let n = t.producer, r = t.lastReadVersion; 1765 if (r !== n.version || (or(n), r !== n.version)) return !0; 1766 } 1767 return !1; 1768} 1769function ur(e) { 1770 if (wn(e)) { 1771 let t = e.producers; 1772 for (; t !== void 0;) t = zo(t); 1773 } 1774 e.producers = void 0, e.producersTail = void 0, e.consumers = void 0, e.consumersTail = void 0; 1775} 1776function Ad(e, t) { 1777 let n = e.consumersTail, r = wn(e); 1778 if (n !== void 0 ? (t.nextConsumer = n.nextConsumer, n.nextConsumer = t) : (t.nextConsumer = void 0, e.consumers = t), t.prevConsumer = n, e.consumersTail = t, !r) for (let i = e.producers; i !== void 0; i = i.nextProducer) Ad(i.producer, i); 1779} 1780function zo(e) { 1781 let t = e.producer, n = e.nextProducer, r = e.nextConsumer, i = e.prevConsumer; 1782 if (e.nextConsumer = void 0, e.prevConsumer = void 0, r !== void 0 ? r.prevConsumer = i : t.consumersTail = i, i !== void 0) i.nextConsumer = r; 1783 else if (t.consumers = r, !wn(t)) { 1784 let s = t.producers; 1785 for (; s !== void 0;) s = zo(s); 1786 } 1787 return n; 1788} 1789function wn(e) { 1790 return e.consumerIsAlwaysLive || e.consumers !== void 0; 1791} 1792function Zo(e) { 1793 Vv?.(e); 1794} 1795function Wo(e, t) { 1796 return Object.is(e, t); 1797} 1798function Qo(e, t) { 1799 let n = Object.create(Pv); 1800 n.computation = e, t !== void 0 && (n.equal = t); 1801 let r = () => { 1802 if (or(n), bn(n), n.value === Be) throw n.error; 1803 return n.value; 1804 }; 1805 return r[J] = n, Zo(n), r; 1806} 1807function q1() { 1808 throw new Error(); 1809} 1810function Nd(e) { 1811 ua(e); 1812} 1813function B1(e) { 1814 ua = e; 1815} 1816function Dd(e, t) { 1817 let n = Object.create(Ms); 1818 n.value = e, t !== void 0 && (n.equal = t); 1819 let r = () => U1(n); 1820 return r[J] = n, Zo(n), [ 1821 r, 1822 (i) => ar(n, i), 1823 (i) => Rd(n, i) 1824 ]; 1825} 1826function U1(e) { 1827 return bn(e), e.value; 1828} 1829function ar(e, t) { 1830 Od() || Nd(e), e.equal(e.value, t) || (e.value = t, z1(e)); 1831} 1832function Rd(e, t) { 1833 Od() || Nd(e), ar(e, t(e.value)); 1834} 1835function z1(e) { 1836 e.version++, P1(), Sd(e), Fv?.(e); 1837} 1838function Z1(e) { 1839 if (e.dirty = !1, e.version > 0 && !mi(e)) return; 1840 e.version++; 1841 let t = _n(e); 1842 try { 1843 e.cleanup(), e.fn(); 1844 } finally { 1845 lr(e, t); 1846 } 1847} 1848function Md() { 1849 return aa; 1850} 1851function ut(e) { 1852 let t = aa; 1853 return aa = e, t; 1854} 1855function $o(e) { 1856 return e === Hv || e?.name === "ɵNotFound"; 1857} 1858function Go(e, t, n) { 1859 let r = Object.create(qv); 1860 r.source = e, r.computation = t, n != null && (r.equal = n); 1861 let i = () => { 1862 if (or(r), bn(r), r.value === Be) throw r.error; 1863 return r.value; 1864 }; 1865 return i[J] = r, Zo(r), i; 1866} 1867function Ko(e, t) { 1868 or(e), ar(e, t), yi(e); 1869}
1870function jd(e, t) { 1871 if (or(e), e.value === Be) throw e.error; 1872 Rd(e, t), yi(e); 1873} 1874function W1(e) { 1875 let t = E(null); 1876 try { 1877 return e(); 1878 } finally { 1879 E(t); 1880 } 1881} 1882function Q1(e) { 1883 return `NG0${Math.abs(e)}`; 1884} 1885function Jo(e, t) { 1886 return `${Q1(e)}${t ? ": " + t : ""}`; 1887} 1888function P(e) { 1889 for (let t in e) if (e[t] === P) return t; 1890 throw Error(""); 1891} 1892function $1(e, t) { 1893 for (let n in t) Object.hasOwn(t, n) && !Object.hasOwn(e, n) && (e[n] = t[n]); 1894} 1895function Yo(e) { 1896 if (typeof e == "string") return e; 1897 if (Array.isArray(e)) return `[${e.map(Yo).join(", ")}]`; 1898 if (e == null) return "" + e; 1899 let t = e.overriddenName || e.name; 1900 if (t) return `${t}`; 1901 let n = e.toString(); 1902 if (n == null) return "" + n; 1903 let r = n.indexOf(` 1904`); 1905 return r >= 0 ? n.slice(0, r) : n; 1906} 1907function Xo(e, t) { 1908 return e ? t ? `${e} ${t}` : e : t || ""; 1909} 1910function el(e) { 1911 return e.__forward_ref__ = el, e; 1912} 1913function ee(e) { 1914 return Vd(e) ? e() : e; 1915} 1916function Vd(e) { 1917 return typeof e == "function" && Object.hasOwn(e, Uv) && e.__forward_ref__ === el; 1918} 1919function $(e) { 1920 return { 1921 token: e.token, 1922 providedIn: e.providedIn || null, 1923 factory: e.factory, 1924 value: void 0 1925 }; 1926} 1927function Pd(e) { 1928 return { 1929 providers: e.providers || [], 1930 imports: e.imports || [] 1931 }; 1932} 1933function vi(e) { 1934 return K1(e, da); 1935} 1936function G1(e) { 1937 return vi(e) !== null; 1938} 1939function K1(e, t) { 1940 return Object.hasOwn(e, t) && e[t] || null; 1941} 1942function J1(e) { 1943 return (e?.[da] ?? null) || null; 1944} 1945function Fd(e) { 1946 return e && Object.hasOwn(e, ha) ? e[ha] : null; 1947} 1948function Ld(e) { 1949 return e && !!e.ɵproviders; 1950} 1951function Y1(e) { 1952 return _i(e, "@NgModule"), e[Zv] || null; 1953} 1954function at(e) { 1955 return _i(e, "@Component"), e[qr] || null; 1956} 1957function bi(e) { 1958 return _i(e, "@Directive"), e[js] || null; 1959} 1960function tl(e) { 1961 return _i(e, "@Pipe"), e[zv] || null; 1962} 1963function _i(e, t) { 1964 if (e == null) throw new x(-919, !1); 1965} 1966function L(e) { 1967 return typeof e == "string" ? e : e == null ? "" : String(e); 1968} 1969function Hd(e, t) { 1970 return qd("", -200, t); 1971} 1972function nl(e, t) { 1973 throw new x(-201, !1); 1974} 1975function qd(e, t, n) { 1976 let r = new x(t, e); 1977 return r[ga] = t, r[Wv] = e, n && (r[Qv] = n), r; 1978} 1979function X1(e) { 1980 return e[ga]; 1981} 1982function Bd() { 1983 return ya; 1984} 1985function pe(e) { 1986 let t = ya; 1987 return ya = e, t; 1988} 1989function Ud(e, t, n) { 1990 let r = vi(e); 1991 if (r && r.providedIn == "root") return r.value === void 0 ? r.value = r.factory() : r.value; 1992 if (n & 8) return null; 1993 if (t !== void 0) return t; 1994 nl(e, ""); 1995} 1996function eE(e, t = 0) { 1997 let n = Md(); 1998 if (n === void 0) throw new x(-203, !1); 1999 if (n === null) return Ud(e, void 0, t); 2000 { 2001 let r = tE(t), i = n.retrieve(e, r); 2002 if ($o(i)) { 2003 if (r.optional) return null; 2004 throw i; 2005 } 2006 return i; 2007 } 2008} 2009function be(e, t = 0) { 2010 return (Bd() || eE)(ee(e), t); 2011} 2012function m(e, t) { 2013 return be(e, cr(t)); 2014} 2015function cr(e) { 2016 return typeof e > "u" || typeof e == "number" ? e : 0 | (e.optional && 8) | (e.host && 1) | (e.self && 2) | (e.skipSelf && 4); 2017} 2018function tE(e) { 2019 return { 2020 optional: !!(e & 8), 2021 host: !!(e & 1), 2022 self: !!(e & 2), 2023 skipSelf: !!(e & 4) 2024 }; 2025} 2026function rl(e) { 2027 let t = []; 2028 for (let n = 0; n < e.length; n++) { 2029 let r = ee(e[n]); 2030 if (Array.isArray(r)) { 2031 if (r.length === 0) throw new x(900, !1); 2032 let i, s = 0; 2033 for (let o = 0; o < r.length; o++) { 2034 let l = r[o], u = rE(l); 2035 typeof u == "number" ? u === -1 ? i = l.token : s |= u : i = l; 2036 } 2037 t.push(be(i, s)); 2038 } else t.push(be(r)); 2039 } 2040 return t; 2041} 2042function nE(e, t) { 2043 return e[Vs] = t, e.prototype[Vs] = t, e; 2044} 2045function rE(e) { 2046 return e[Vs]; 2047} 2048function Rt(e, t) { 2049 return Object.hasOwn(e, Br) ? e[Br] : null; 2050} 2051function iE(e, t, n) { 2052 if (e.length !== t.length) return !1; 2053 for (let r = 0; r < e.length; r++) { 2054 let i = e[r], s = t[r]; 2055 if (n && (i = n(i), s = n(s)), s !== i) return !1; 2056 } 2057 return !0; 2058} 2059function sE(e) { 2060 return e.flat(Number.POSITIVE_INFINITY); 2061} 2062function il(e, t) { 2063 e.forEach((n) => Array.isArray(n) ? il(n, t) : t(n)); 2064} 2065function zd(e, t, n) { 2066 t >= e.length ? e.push(n) : e.splice(t, 0, n); 2067} 2068function wi(e, t) { 2069 return t >= e.length - 1 ? e.pop() : e.splice(t, 1)[0]; 2070} 2071function oE(e, t) { 2072 let n = []; 2073 for (let r = 0; r < e; r++) n.push(t); 2074 return n; 2075} 2076function Zd(e, t, n) { 2077 let r = e.length - n; 2078 for (; t < r;) e[t] = e[t + n], t++; 2079 for (; n--;) e.pop(); 2080} 2081function Wd(e, t, n, r) { 2082 let i = e.length; 2083 if (i == t) e.push(n, r); 2084 else if (i === 1) e.push(r, e[0]), e[0] = n; 2085 else { 2086 for (i--, e.push(e[i - 1], e[i]); i > t;) e[i] = e[i - 2], i--; 2087 e[t] = n, e[t + 1] = r; 2088 } 2089} 2090function Ei(e, t, n) { 2091 let r = fr(e, t); 2092 return r >= 0 ? e[r | 1] = n : (r = ~r, Wd(e, r, t, n)), r; 2093} 2094function sl(e, t) { 2095 let n = fr(e, t); 2096 if (n >= 0) return e[n | 1]; 2097} 2098function fr(e, t) { 2099 return lE(e, t, 1); 2100} 2101function lE(e, t, n) { 2102 let r = 0, i = e.length >> n; 2103 for (; i !== r;) { 2104 let s = r + (i - r >> 1), o = e[s << n]; 2105 if (t === o) return s << n; 2106 o > t ? i = s : r = s + 1; 2107 } 2108 return ~(i << n); 2109} 2110function dr(e) { 2111 return { ɵproviders: e }; 2112} 2113function uE(e) { 2114 return dr([{ 2115 provide: ze, 2116 multi: !0, 2117 useValue: e 2118 }]); 2119} 2120function Qd(...e) { 2121 return { 2122 ɵproviders: ol(!0, e), 2123 ɵfromNgModule: !0 2124 }; 2125} 2126function ol(e, ...t) { 2127 let n = [], r = /* @__PURE__ */ new Set(), i, s = (o) => { 2128 n.push(o); 2129 }; 2130 return il(t, (o) => { 2131 let l = o; 2132 ll(l, s, [], r) && (i ||= [], i.push(l)); 2133 }), i !== void 0 && $d(i, s), n; 2134} 2135function $d(e, t) { 2136 for (let n = 0; n < e.length; n++) { 2137 let { ngModule: r, providers: i } = e[n]; 2138 ul(i, (s) => { 2139 t(s, r); 2140 }); 2141 } 2142} 2143function ll(e, t, n, r) { 2144 if (e = ee(e), !e) return !1; 2145 let i = null, s = Fd(e), o = !s && at(e); 2146 if (!s && !o) { 2147 let u = e.ngModule; 2148 if (s = Fd(u), s) i = u; 2149 else return !1; 2150 } else { 2151 if (o && !o.standalone) return !1; 2152 i = e; 2153 } 2154 let l = r.has(i); 2155 if (o) { 2156 if (l) return !1; 2157 if (r.add(i), o.dependencies) { 2158 let u = typeof o.dependencies == "function" ? o.dependencies() : o.dependencies; 2159 for (let a of u) ll(a, t, n, r); 2160 } 2161 } else if (s) { 2162 if (s.imports != null && !l) { 2163 r.add(i); 2164 let a; 2165 il(s.imports, (c) => { 2166 ll(c, t, n, r) && (a ||= [], a.push(c)); 2167 }), a !== void 0 && $d(a, t); 2168 } 2169 if (!l) { 2170 let a = Rt(i) || (() => new i()); 2171 t({ 2172 provide: i, 2173 useFactory: a, 2174 deps: le 2175 }, i), t({ 2176 provide: ma, 2177 useValue: i, 2178 multi: !0 2179 }, i), t({ 2180 provide: ze, 2181 useValue: () => be(i), 2182 multi: !0 2183 }, i); 2184 } 2185 let u = s.providers; 2186 if (u != null && !l) { 2187 let a = e; 2188 ul(u, (c) => { 2189 t(c, a); 2190 }); 2191 } 2192 } else return !1; 2193 return i !== e && e.providers !== void 0; 2194} 2195function ul(e, t) { 2196 for (let n of e) Ld(n) && (n = n.ɵproviders), Array.isArray(n) ? ul(n, t) : t(n); 2197} 2198function Gd(e) { 2199 return e !== null && typeof e == "object" && Gv in e; 2200} 2201function aE(e) { 2202 return !!(e && e.useExisting); 2203} 2204function cE(e) { 2205 return !!(e && e.useFactory); 2206} 2207function En(e) { 2208 return typeof e == "function"; 2209} 2210function fE(e) { 2211 return !!e.useClass; 2212} 2213function Ii() { 2214 return _a === void 0 && (_a = new va()), _a; 2215} 2216function al(e) { 2217 let t = vi(e), n = t !== null ? t.factory : Rt(e); 2218 if (n !== null) return n; 2219 if (e instanceof k) throw new x(-204, !1); 2220 if (e instanceof Function) return dE(e); 2221 throw new x(-204, !1); 2222} 2223function dE(e) { 2224 if (e.length > 0) throw new x(-204, !1); 2225 let t = J1(e); 2226 return t !== null ? () => t.factory(e) : () => new e(); 2227} 2228function hE(e) { 2229 return Gd(e) ? In(void 0, e.useValue) : In(Kd(e), zr); 2230} 2231function Kd(e, t, n) { 2232 let r; 2233 if (En(e)) { 2234 let i = ee(e); 2235 return Rt(i) || al(i); 2236 } else if (Gd(e)) r = () => ee(e.useValue); 2237 else if (cE(e)) r = () => e.useFactory(...rl(e.deps || [])); 2238 else if (aE(e)) r = (i, s) => be(ee(e.useExisting), s !== void 0 && s & 8 ? 8 : void 0); 2239 else { 2240 let i = ee(e && (e.useClass || e.provide)); 2241 if (pE(e)) r = () => new i(...rl(e.deps)); 2242 else return Rt(i) || al(i); 2243 } 2244 return r; 2245} 2246function hr(e) { 2247 if (e.destroyed) throw new x(-205, !1); 2248} 2249function In(e, t, n = !1) { 2250 return { 2251 factory: e, 2252 value: t, 2253 multi: n ? [] : void 0 2254 }; 2255} 2256function pE(e) { 2257 return !!e.deps; 2258} 2259function gE(e) { 2260 return e !== null && typeof e == "object" && typeof e.ngOnDestroy == "function"; 2261} 2262function yE(e) { 2263 return typeof e == "function" || typeof e == "object" && e.ngMetadataName === "InjectionToken"; 2264} 2265function cl(e, t) { 2266 for (let n of e) Array.isArray(n) ? cl(n, t) : n && Ld(n) ? cl(n.ɵproviders, t) : t(n); 2267} 2268function fl(e, t) { 2269 let n; 2270 e instanceof Fs ? (hr(e), n = e) : n = new $v(e); 2271 let r = ut(n), i = pe(void 0); 2272 try { 2273 return t(); 2274 } finally { 2275 ut(r), pe(i); 2276 } 2277} 2278function dl() { 2279 return Bd() !== void 0 || Md() != null; 2280} 2281function mE(e) { 2282 if (!dl()) throw new x(-203, !1); 2283} 2284function Ae(e) { 2285 return Array.isArray(e) && typeof e[Hs] == "object"; 2286} 2287function xe(e) { 2288 return Array.isArray(e) && e[Hs] === !0; 2289} 2290function Jd(e) { 2291 return (e.flags & 4) !== 0; 2292} 2293function Xe(e) {
2294 return e.componentOffset > -1; 2295} 2296function pr(e) { 2297 return (e.flags & 1) === 1; 2298} 2299function Ne(e) { 2300 return !!e.template; 2301} 2302function gr(e) { 2303 return (e[T] & 512) !== 0; 2304} 2305function Mt(e) { 2306 return (e[T] & 256) === 256; 2307} 2308function vE() { 2309 return qs || (qs = Us(), ct(Y.HTML, void 0, [["iframe", ["srcdoc"]], ["*", ["innerHTML", "outerHTML"]]]), ct(Y.STYLE, void 0, [["*", ["style"]]]), ct(Y.URL, void 0, [ 2310 ["*", ["formAction"]], 2311 ["area", ["href"]], 2312 ["a", ["href", "xlink:href"]], 2313 ["form", ["action"]], 2314 ["img", ["src"]], 2315 ["video", ["src"]] 2316 ]), ct(Y.URL, Bs, [["*", ["href", "xlink:href"]]]), ct(Y.RESOURCE_URL, void 0, [ 2317 ["base", ["href"]], 2318 ["embed", ["src"]], 2319 ["frame", ["src"]], 2320 ["iframe", ["src"]], 2321 ["link", ["href"]], 2322 ["object", ["codebase", "data"]] 2323 ]), ct(Y.URL, Hn, [["a", ["href", "xlink:href"]]]), ct(Y.ATTRIBUTE_NO_BINDING, Hn, [ 2324 ["animate", [ 2325 "attributeName", 2326 "values", 2327 "to", 2328 "from" 2329 ]], 2330 ["set", ["to", "attributeName"]], 2331 ["animateMotion", ["attributeName"]], 2332 ["animateTransform", ["attributeName"]] 2333 ]), ct(Y.ATTRIBUTE_NO_BINDING, void 0, [["unknown", [ 2334 "attributeName", 2335 "values", 2336 "to", 2337 "from", 2338 "sandbox", 2339 "allow", 2340 "allowFullscreen", 2341 "referrerPolicy", 2342 "csp", 2343 "fetchPriority", 2344 "credentialless" 2345 ]], ["iframe", [ 2346 "sandbox", 2347 "allow", 2348 "allowFullscreen", 2349 "referrerPolicy", 2350 "csp", 2351 "fetchPriority", 2352 "credentialless" 2353 ]]]), qs); 2354} 2355function ct(e, t, n) { 2356 let r = t ?? Ia; 2357 for (let [i, s] of n) { 2358 let o = i.toLowerCase(); 2359 for (let l of s) { 2360 let u = l.toLowerCase(), a = qs[u] ??= Us(), c = a[r] ??= Us(); 2361 c[o] = e; 2362 } 2363 } 2364} 2365function bE(e, t, n) { 2366 let r = vE()[t.toLowerCase()]; 2367 if (!r) return Y.NONE; 2368 let i = e.toLowerCase(), s; 2369 if (n) { 2370 let o = r[n]; 2371 o && (s = o[i] ?? o[Ta]); 2372 } 2373 if (s === void 0) { 2374 let o = r[Ia]; 2375 o && (s = o[i] ?? o[Ta]); 2376 } 2377 return s ?? Y.NONE; 2378} 2379function ne(e) { 2380 for (; Array.isArray(e);) e = e[ce]; 2381 return e; 2382} 2383function _E(e) { 2384 for (; Array.isArray(e);) { 2385 if (typeof e[Hs] == "object") return e; 2386 e = e[ce]; 2387 } 2388 return null; 2389} 2390function Yd(e, t) { 2391 return ne(t[e]); 2392} 2393function re(e, t) { 2394 return ne(t[e.index]); 2395} 2396function yr(e, t) { 2397 return e.data[t]; 2398} 2399function jt(e, t) { 2400 return e[t]; 2401} 2402function hl(e, t, n, r) { 2403 n >= e.data.length && (e.data[n] = null, e.blueprint[n] = null), t[n] = r; 2404} 2405function De(e, t) { 2406 let n = t[e]; 2407 return Ae(n) ? n : n[ce]; 2408} 2409function wE(e) { 2410 return (e[T] & 4) === 4; 2411} 2412function pl(e) { 2413 return (e[T] & 128) === 128; 2414} 2415function EE(e) { 2416 return xe(e[G]); 2417} 2418function Ce(e, t) { 2419 return t == null ? null : e[t]; 2420} 2421function Xd(e) { 2422 e[rn] = 0; 2423} 2424function gl(e) { 2425 e[T] & 1024 || (e[T] |= 1024, pl(e) && Tn(e)); 2426} 2427function IE(e, t) { 2428 for (; e > 0;) t = t[Et], e--; 2429 return t; 2430} 2431function Ti(e) { 2432 return !!(e[T] & 9216 || e[we]?.dirty); 2433} 2434function yl(e) { 2435 e[Pe].changeDetectionScheduler?.notify(8), e[T] & 64 && (e[T] |= 1024), Ti(e) && Tn(e); 2436} 2437function Tn(e) { 2438 e[Pe].changeDetectionScheduler?.notify(0); 2439 let t = Vt(e); 2440 for (; t !== null && !(t[T] & 8192 || (t[T] |= 8192, !pl(t)));) t = Vt(t); 2441} 2442function xi(e, t) { 2443 if (Mt(e)) throw new x(911, !1); 2444 e[rt] === null && (e[rt] = []), e[rt].push(t); 2445} 2446function eh(e, t) { 2447 if (e[rt] === null) return; 2448 let n = e[rt].indexOf(t); 2449 n !== -1 && e[rt].splice(n, 1); 2450} 2451function Vt(e) { 2452 let t = e[G]; 2453 return xe(t) ? t[G] : t; 2454} 2455function th(e) { 2456 return e[Zr] ??= []; 2457} 2458function nh(e) { 2459 return e.cleanup ??= []; 2460} 2461function TE(e, t, n, r) { 2462 let i = th(t); 2463 i.push(n), e.firstCreatePass && nh(e).push(r, i.length - 1); 2464} 2465function xE() { 2466 return S.lFrame.elementDepthCount; 2467} 2468function CE() { 2469 S.lFrame.elementDepthCount++; 2470} 2471function rh() { 2472 S.lFrame.elementDepthCount--; 2473} 2474function ml() { 2475 return S.bindingsEnabled; 2476} 2477function vl() { 2478 return S.skipHydrationRootTNode !== null; 2479} 2480function ih(e) { 2481 return S.skipHydrationRootTNode === e; 2482} 2483function kE(e) { 2484 S.skipHydrationRootTNode = e; 2485} 2486function sh() { 2487 S.skipHydrationRootTNode = null; 2488} 2489function g() { 2490 return S.lFrame.lView; 2491} 2492function M() { 2493 return S.lFrame.tView; 2494} 2495function SE(e) { 2496 return S.lFrame.contextLView = e, e[W]; 2497} 2498function OE(e) { 2499 return S.lFrame.contextLView = null, e; 2500} 2501function F() { 2502 let e = oh(); 2503 for (; e !== null && e.type === 64;) e = e.parent; 2504 return e; 2505} 2506function oh() { 2507 return S.lFrame.currentTNode; 2508} 2509function AE() { 2510 let e = S.lFrame, t = e.currentTNode; 2511 return e.isParent ? t : t.parent; 2512} 2513function xn(e, t) { 2514 let n = S.lFrame; 2515 n.currentTNode = e, n.isParent = t; 2516} 2517function lh() { 2518 return S.lFrame.isParent; 2519} 2520function uh() { 2521 S.lFrame.isParent = !1; 2522} 2523function ah() { 2524 return S.lFrame.contextLView; 2525} 2526function ch() { 2527 return zs; 2528} 2529function Ci(e) { 2530 let t = zs; 2531 return zs = e, t; 2532} 2533function ue() { 2534 let e = S.lFrame, t = e.bindingRootIndex; 2535 return t === -1 && (t = e.bindingRootIndex = e.tView.bindingStartIndex), t;
2536} 2537function mr() { 2538 return S.lFrame.bindingIndex; 2539} 2540function NE(e) { 2541 return S.lFrame.bindingIndex = e; 2542} 2543function _e() { 2544 return S.lFrame.bindingIndex++; 2545} 2546function Pt(e) { 2547 let t = S.lFrame, n = t.bindingIndex; 2548 return t.bindingIndex = t.bindingIndex + e, n; 2549} 2550function DE() { 2551 return S.lFrame.inI18n; 2552} 2553function RE(e, t) { 2554 let n = S.lFrame; 2555 n.bindingIndex = n.bindingRootIndex = e, bl(t); 2556} 2557function ME() { 2558 return S.lFrame.currentDirectiveIndex; 2559} 2560function bl(e) { 2561 S.lFrame.currentDirectiveIndex = e; 2562} 2563function fh(e) { 2564 let t = S.lFrame.currentDirectiveIndex; 2565 return t === -1 ? null : e[t]; 2566} 2567function _l() { 2568 return S.lFrame.currentQueryIndex; 2569} 2570function ki(e) { 2571 S.lFrame.currentQueryIndex = e; 2572} 2573function jE(e) { 2574 let t = e[v]; 2575 return t.type === 2 ? t.declTNode : t.type === 1 ? e[fe] : null; 2576} 2577function dh(e, t, n) { 2578 if (n & 4) { 2579 let i = t, s = e; 2580 for (; (i = i.parent, i === null && !(n & 1)) && (i = jE(s), !(i === null || (s = s[Et], i.type & 10)));); 2581 if (i === null) return !1; 2582 t = i, e = s; 2583 } 2584 let r = S.lFrame = hh(); 2585 return r.currentTNode = t, r.lView = e, !0; 2586} 2587function wl(e) { 2588 let t = hh(), n = e[v]; 2589 S.lFrame = t, t.currentTNode = n.firstChild, t.lView = e, t.tView = n, t.contextLView = e, t.bindingIndex = n.bindingStartIndex, t.inI18n = !1; 2590} 2591function hh() { 2592 let e = S.lFrame, t = e === null ? null : e.child; 2593 return t === null ? ph(e) : t; 2594} 2595function ph(e) { 2596 let t = { 2597 currentTNode: null, 2598 isParent: !0, 2599 lView: null, 2600 tView: null, 2601 selectedIndex: -1, 2602 contextLView: null, 2603 elementDepthCount: 0, 2604 currentNamespace: null, 2605 currentDirectiveIndex: -1, 2606 bindingRootIndex: -1, 2607 bindingIndex: -1, 2608 currentQueryIndex: 0, 2609 parent: e, 2610 child: null, 2611 inI18n: !1 2612 }; 2613 return e !== null && (e.child = t), t; 2614} 2615function gh() { 2616 let e = S.lFrame; 2617 return S.lFrame = e.parent, e.currentTNode = null, e.lView = null, e; 2618} 2619function El() { 2620 let e = gh(); 2621 e.isParent = !0, e.tView = null, e.selectedIndex = -1, e.contextLView = null, e.elementDepthCount = 0, e.currentDirectiveIndex = -1, e.currentNamespace = null, e.bindingRootIndex = -1, e.bindingIndex = -1, e.currentQueryIndex = 0; 2622} 2623function VE(e) { 2624 return (S.lFrame.contextLView = IE(e, S.lFrame.contextLView))[W]; 2625} 2626function ae() { 2627 return S.lFrame.selectedIndex; 2628} 2629function Ft(e) { 2630 S.lFrame.selectedIndex = e; 2631} 2632function Re() { 2633 let e = S.lFrame; 2634 return yr(e.tView, e.selectedIndex); 2635} 2636function PE() { 2637 S.lFrame.currentNamespace = Hn; 2638} 2639function FE() { 2640 LE(); 2641} 2642function LE() { 2643 S.lFrame.currentNamespace = null; 2644} 2645function Il() { 2646 return S.lFrame.currentNamespace; 2647} 2648function Tl() { 2649 return Ca; 2650} 2651function ft(e) { 2652 Ca = e; 2653} 2654function xl() { 2655 let e, t; 2656 return { 2657 promise: new Promise((n, r) => { 2658 e = n, t = r; 2659 }), 2660 resolve: e, 2661 reject: t 2662 }; 2663} 2664function yh(e, t = null, n = null, r) { 2665 let i = mh(e, t, n, r); 2666 return i.resolveInjectorInitializers(), i; 2667} 2668function mh(e, t = null, n = null, r, i = /* @__PURE__ */ new Set()) { 2669 return new Fs([n || le, Qd(e)], t || Ii(), null, i); 2670} 2671function HE() { 2672 return new ka(g()); 2673} 2674function Si(...e) {} 2675function vh(e) { 2676 let t, n; 2677 function r() { 2678 e = Si; 2679 try { 2680 n !== void 0 && typeof cancelAnimationFrame == "function" && cancelAnimationFrame(n), t !== void 0 && clearTimeout(t); 2681 } catch {} 2682 } 2683 return t = setTimeout(() => { 2684 e(), r(); 2685 }), typeof requestAnimationFrame == "function" && (n = requestAnimationFrame(() => { 2686 e(), r(); 2687 })), () => r(); 2688} 2689function qE(e) { 2690 return queueMicrotask(() => e()), () => { 2691 e = Si; 2692 }; 2693} 2694function Cl(e) { 2695 if (e._nesting == 0 && !e.hasPendingMicrotasks && !e.isStable) try { 2696 e._nesting++, e.onMicrotaskEmpty.emit(null); 2697 } finally { 2698 if (e._nesting--, !e.hasPendingMicrotasks) try { 2699 e.runOutsideAngular(() => e.onStable.emit(null)); 2700 } finally { 2701 e.isStable = !0; 2702 } 2703 } 2704} 2705function BE(e) { 2706 if (e.isCheckStableRunning || e.callbackScheduled) return; 2707 e.callbackScheduled = !0; 2708 function t() { 2709 vh(() => { 2710 e.callbackScheduled = !1, kl(e), e.isCheckStableRunning = !0, Cl(e), e.isCheckStableRunning = !1; 2711 }); 2712 } 2713 e.scheduleInRootZone ? Zone.root.run(() => { 2714 t(); 2715 }) : e._outer.run(() => { 2716 t(); 2717 }), kl(e); 2718} 2719function UE(e) { 2720 let t = () => { 2721 BE(e); 2722 }, n = Yv++; 2723 e._inner = e._inner.fork({ 2724 name: "angular", 2725 properties: { 2726 [Zs]: !0, 2727 [Qr]: n, 2728 [Qr + n]: !0 2729 }, 2730 onInvokeTask: (r, i, s, o, l, u) => { 2731 if (zE(u)) return r.invokeTask(s, o, l, u); 2732 try { 2733 return bh(e), r.invokeTask(s, o, l, u); 2734 } finally { 2735 (e.shouldCoalesceEventChangeDetection && o.type === "eventTask" || e.shouldCoalesceRunChangeDetection) && t(), _h(e); 2736 } 2737 }, 2738 onInvoke: (r, i, s, o, l, u, a) => { 2739 try { 2740 return bh(e), r.invoke(s, o, l, u, a); 2741 } finally { 2742 e.shouldCoalesceRunChangeDetection && !e.callbackScheduled && !ZE(u) && t(), _h(e); 2743 } 2744 }, 2745 onHasTask: (r, i, s, o) => { 2746 r.hasTask(s, o), i === s && (o.change == "microTask" ? (e._hasPendingMicrotasks = o.microTask, kl(e), Cl(e)) : o.change == "macroTask" && (e.hasPendingMacrotasks = o.macroTask)); 2747 }, 2748 onHandleError: (r, i, s, o) => (r.handleError(s, o), e.runOutsideAngular(() => e.onError.emit(o)), !1) 2749 }); 2750} 2751function kl(e) { 2752 e._hasPendingMicrotasks || (e.shouldCoalesceEventChangeDetection || e.shouldCoalesceRunChangeDetection) && e.callbackScheduled === !0 ? e.hasPendingMicrotasks = !0 : e.hasPendingMicrotasks = !1; 2753} 2754function bh(e) { 2755 e._nesting++, e.isStable && (e.isStable = !1, e.onUnstable.emit(null)); 2756} 2757function _h(e) { 2758 e._nesting--, Cl(e); 2759} 2760function zE(e) { 2761 return wh(e, "__ignore_ng_zone__"); 2762} 2763function ZE(e) { 2764 return wh(e, "__scheduler_tick__"); 2765} 2766function wh(e, t) { 2767 return !Array.isArray(e) || e.length !== 1 ? !1 : e[0]?.data?.[t] === !0; 2768} 2769function dt(e, t) { 2770 let [n, r, i] = Dd(e, t?.equal), s = n; 2771 return s[J], s.set = r, s.update = i, s.asReadonly = Oi.bind(s), s; 2772} 2773function Oi() { 2774 let e = this[J]; 2775 if (e.readonlyFn === void 0) { 2776 let t = () => this(); 2777 t[J] = e, e.readonlyFn = t; 2778 } 2779 return e.readonlyFn; 2780} 2781function WE(e, t) { 2782 let n = e.getElementById(t + "-state"); 2783 if (n?.tagName === "SCRIPT" && n.textContent) try { 2784 return JSON.parse(n.textContent); 2785 } catch (r) { 2786 console.warn("Exception while restoring TransferState for app " + t, r); 2787 } 2788 return {}; 2789} 2790function QE() { 2791 return new $r(g(), F()); 2792} 2793function Eh(e, t) { 2794 let n = t?.injector ?? m(We), r = t?.manualCleanup !== !0 ? n.get(Qe) : null, i, s = n.get($r, null, { optional: !0 }), o = n.get(Ke); 2795 return s !== null ? (i = $E(s.view, o, e), r instanceof ka && r._lView === s.view && (r = null)) : i = GE(e, n.get(Da), o), i.injector = n, r !== null && (i.onDestroyFns = [r.onDestroy(() => i.destroy())]), new u0(i); 2796} 2797function $E(e, t, n) { 2798 let r = Object.create(c0); 2799 return r.view = e, r.zone = typeof Zone < "u" ? Zone.current : null, r.notifier = t, r.fn = Ih(r, n), e[it] ??= /* @__PURE__ */ new Set(), e[it].add(r), r.consumerMarkedDirty(r), r; 2800} 2801function GE(e, t, n) { 2802 let r = Object.create(a0); 2803 return r.fn = Ih(r, e), r.scheduler = t, r.notifier = n, r.zone = typeof Zone < "u" ? Zone.current : null, r.scheduler.add(r), r.notifier.notify(12), r; 2804} 2805function Ih(e, t) { 2806 return () => { 2807 t((n) => (e.cleanupFns ??= []).push(n)); 2808 }; 2809} 2810function Sl(e) { 2811 return typeof e == "function" && e[J] !== void 0; 2812} 2813function Th(e) { 2814 return Sl(e) && typeof e.set == "function"; 2815} 2816function vr(e) { 2817 return { toString: e }.toString(); 2818} 2819function xh(e, t, n, r) { 2820 t !== null ? t.applyValueToInputSignal(t, r) : e[n] = r; 2821} 2822function KE() { 2823 return ja; 2824} 2825function Ch(e) { 2826 return e.type.prototype.ngOnChanges && (e.setInput = YE), JE; 2827} 2828function JE() { 2829 let e = kh(this), t = e?.current; 2830 if (t) { 2831 let n = e.previous; 2832 if (n === wt) e.previous = t;
2833 else for (let r in t) n[r] = t[r]; 2834 e.current = null, this.ngOnChanges(t); 2835 } 2836} 2837function YE(e, t, n, r, i) { 2838 let s = this.declaredInputs[r], o = kh(e) || XE(e, { 2839 previous: wt, 2840 current: null 2841 }), l = o.current || (o.current = {}), u = o.previous, a = u[s]; 2842 l[s] = new f0(a && a.currentValue, n, u === wt), xh(e, t, i, n); 2843} 2844function kh(e) { 2845 return Object.hasOwn(e, Qs) && e[Qs] || null; 2846} 2847function XE(e, t) { 2848 return e[Qs] = t; 2849} 2850function eI(e, t, n) { 2851 let { ngOnChanges: r, ngOnInit: i, ngDoCheck: s } = t.type.prototype; 2852 if (r) { 2853 let o = KE()(t); 2854 (n.preOrderHooks ??= []).push(e, o), (n.preOrderCheckHooks ??= []).push(e, o); 2855 } 2856 i && (n.preOrderHooks ??= []).push(0 - e, i), s && ((n.preOrderHooks ??= []).push(e, s), (n.preOrderCheckHooks ??= []).push(e, s)); 2857} 2858function Sh(e, t) { 2859 for (let n = t.directiveStart, r = t.directiveEnd; n < r; n++) { 2860 let { ngAfterContentInit: i, ngAfterContentChecked: s, ngAfterViewInit: o, ngAfterViewChecked: l, ngOnDestroy: u } = e.data[n].type.prototype; 2861 i && (e.contentHooks ??= []).push(-n, i), s && ((e.contentHooks ??= []).push(n, s), (e.contentCheckHooks ??= []).push(n, s)), o && (e.viewHooks ??= []).push(-n, o), l && ((e.viewHooks ??= []).push(n, l), (e.viewCheckHooks ??= []).push(n, l)), u != null && (e.destroyHooks ??= []).push(n, u); 2862 } 2863} 2864function Ai(e, t, n) { 2865 Oh(e, t, 3, n); 2866} 2867function Ni(e, t, n, r) { 2868 (e[T] & 3) === n && Oh(e, t, n, r); 2869} 2870function Ol(e, t) { 2871 let n = e[T]; 2872 (n & 3) === t && (n &= 16383, n += 1, e[T] = n); 2873} 2874function Oh(e, t, n, r) { 2875 let i = r !== void 0 ? e[rn] & 65535 : 0, s = r ?? -1, o = t.length - 1, l = 0; 2876 for (let u = i; u < o; u++) if (typeof t[u + 1] == "number") { 2877 if (l = t[u], r != null && l >= r) break; 2878 } else t[u] < 0 && (e[rn] += 65536), (l < s || s == -1) && (tI(e, n, t, u), e[rn] = (e[rn] & 4294901760) + u + 2), u++; 2879} 2880function Ah(e, t) { 2881 V(R.LifecycleHookStart, e, t); 2882 let n = E(null); 2883 try { 2884 t.call(e); 2885 } finally { 2886 E(n), V(R.LifecycleHookEnd, e, t); 2887 } 2888} 2889function tI(e, t, n, r) { 2890 let i = n[r] < 0, s = n[r + 1], o = e[i ? -n[r] : n[r]]; 2891 i ? e[T] >> 14 < e[rn] >> 16 && (e[T] & 3) === t && (e[T] += 16384, Ah(o, s)) : Ah(o, s); 2892} 2893function nI(e) { 2894 return (e.flags & 8) !== 0; 2895} 2896function rI(e) { 2897 return (e.flags & 16) !== 0; 2898} 2899function iI(e, t, n) { 2900 let r = 0; 2901 for (; r < n.length;) { 2902 let i = n[r]; 2903 if (typeof i == "number") { 2904 if (i !== 0) break; 2905 r++; 2906 let s = n[r++], o = n[r++], l = n[r++]; 2907 e.setAttribute(t, o, l, s); 2908 } else { 2909 let s = i, o = n[++r]; 2910 sI(s) ? e.setProperty(t, s, o) : e.setAttribute(t, s, o), r++; 2911 } 2912 } 2913 return r; 2914} 2915function Nh(e) { 2916 return e === 3 || e === 4 || e === 6; 2917} 2918function sI(e) { 2919 return e.charCodeAt(0) === 64; 2920} 2921function Cn(e, t) { 2922 if (!(t === null || t.length === 0)) if (e === null || e.length === 0) e = t.slice(); 2923 else { 2924 let n = -1; 2925 for (let r = 0; r < t.length; r++) { 2926 let i = t[r]; 2927 typeof i == "number" ? n = i : n === 0 || (n === -1 || n === 2 ? Dh(e, n, i, null, t[++r]) : Dh(e, n, i, null, null)); 2928 } 2929 } 2930 return e; 2931} 2932function Dh(e, t, n, r, i) { 2933 let s = 0, o = e.length; 2934 if (t === -1) o = -1; 2935 else for (; s < e.length;) { 2936 let l = e[s++]; 2937 if (typeof l == "number") { 2938 if (l === t) { 2939 o = -1; 2940 break; 2941 } else if (l > t) { 2942 o = s - 1; 2943 break; 2944 } 2945 } 2946 } 2947 for (; s < e.length;) { 2948 let l = e[s]; 2949 if (typeof l == "number") break; 2950 if (l === n) { 2951 i !== null && (e[s + 1] = i); 2952 return; 2953 } 2954 s++, i !== null && s++; 2955 } 2956 o !== -1 && (e.splice(o, 0, t), s = o + 1), e.splice(s++, 0, n), i !== null && e.splice(s++, 0, i); 2957} 2958function Rh(e) { 2959 return e !== an; 2960} 2961function Di(e) { 2962 return e & 32767; 2963} 2964function oI(e) { 2965 return e >> 16; 2966} 2967function Ri(e, t) { 2968 let n = oI(e), r = t; 2969 for (; n > 0;) r = r[Et], n--; 2970 return r; 2971} 2972function Mi(e) { 2973 let t = $s; 2974 return $s = e, t; 2975} 2976function lI(e, t, n) { 2977 let r; 2978 typeof n == "string" ? r = n.charCodeAt(0) || 0 : Object.hasOwn(n, Fn) && (r = n[Fn]), r ??= n[Fn] = h0++; 2979 let i = r & Pa, s = 1 << i; 2980 t.data[e + (i >> Fa)] |= s; 2981} 2982function ji(e, t) { 2983 let n = Mh(e, t); 2984 if (n !== -1) return n; 2985 let r = t[v]; 2986 r.firstCreatePass && (e.injectorIndex = t.length, Al(r.data, e), Al(t, null), Al(r.blueprint, null)); 2987 let i = Nl(e, t), s = e.injectorIndex; 2988 if (Rh(i)) { 2989 let o = Di(i), l = Ri(i, t), u = l[v].data; 2990 for (let a = 0; a < 8; a++) t[s + a] = l[o + a] | u[o + a]; 2991 } 2992 return t[s + 8] = i, s; 2993} 2994function Al(e, t) { 2995 e.push(0, 0, 0, 0, 0, 0, 0, 0, t); 2996} 2997function Mh(e, t) { 2998 return e.injectorIndex === -1 || e.parent && e.parent.injectorIndex === e.injectorIndex || t[e.injectorIndex + 8] === null ? -1 : e.injectorIndex; 2999} 3000function Nl(e, t) { 3001 if (e.parent && e.parent.injectorIndex !== -1) return e.parent.injectorIndex; 3002 let n = 0, r = null, i = t; 3003 for (; i !== null;) { 3004 if (r = qh(i), r === null) return an; 3005 if (n++, i = i[Et], r.injectorIndex !== -1) return r.injectorIndex | n << 16; 3006 } 3007 return an; 3008} 3009function Dl(e, t, n) { 3010 lI(e, t, n); 3011} 3012function uI(e, t) { 3013 if (t === "class") return e.classes; 3014 if (t === "style") return e.styles; 3015 let n = e.attrs; 3016 if (n) { 3017 let r = n.length, i = 0; 3018 for (; i < r;) { 3019 let s = n[i]; 3020 if (Nh(s)) break; 3021 if (s === 0) i = i + 2; 3022 else if (typeof s == "number") for (i++; i < r && typeof n[i] == "string";) i++; 3023 else { 3024 if (s === t) return n[i + 1]; 3025 i = i + 2; 3026 } 3027 } 3028 } 3029 return null; 3030} 3031function jh(e, t, n) { 3032 if (n & 8 || e !== void 0) return e; 3033 nl(t, "NodeInjector"); 3034} 3035function Vh(e, t, n, r) { 3036 if (n & 8 && r === void 0 && (r = null), (n & 3) === 0) { 3037 let i = e[H], s = pe(void 0); 3038 try { 3039 return i ? i.get(t, r, n & 8) : Ud(t, r, n & 8); 3040 } finally { 3041 pe(s); 3042 } 3043 } 3044 return jh(r, t, n); 3045} 3046function Ph(e, t, n, r = 0, i) { 3047 if (e !== null) { 3048 if (t[T] & 2048 && !(r & 2)) { 3049 let o = hI(e, t, n, r, Le); 3050 if (o !== Le) return o; 3051 } 3052 let s = Fh(e, t, n, r, Le); 3053 if (s !== Le) return s; 3054 } 3055 return Vh(t, n, r, i); 3056} 3057function Fh(e, t, n, r, i) { 3058 let s = cI(n); 3059 if (typeof s == "function") { 3060 if (!dh(t, e, r)) return r & 1 ? jh(i, n, r) : Vh(t, n, r, i); 3061 try { 3062 let o; 3063 if (o = s(r), o == null && !(r & 8)) nl(n); 3064 else return o; 3065 } finally { 3066 xa(); 3067 } 3068 } else if (typeof s == "number") { 3069 let o = null, l = Mh(e, t), u = an, a = r & 1 ? t[te][fe] : null; 3070 for ((l === -1 || r & 4) && (u = l === -1 ? Nl(e, t) : t[l + 8], u === an || !Hh(r, !1) ? l = -1 : (o = t[v], l = Di(u), t = Ri(u, t))); l !== -1;) { 3071 let c = t[v]; 3072 if (Lh(s, l, c.data)) { 3073 let f = aI(l, t, n, o, r, a); 3074 if (f !== Le) return f; 3075 } 3076 u = t[l + 8], u !== an && Hh(r, t[v].data[l + 8] === a) && Lh(s, l, t) ? (o = c, l = Di(u), t = Ri(u, t)) : l = -1; 3077 } 3078 } 3079 return i; 3080} 3081function aI(e, t, n, r, i, s) { 3082 let o = t[v], l = o.data[e + 8], u = Vi(l, o, n, r == null ? Xe(l) && $s : r != o && (l.type & 3) !== 0, i & 1 && s === l); 3083 return u !== null ? br(t, o, u, l, i) : Le; 3084} 3085function Vi(e, t, n, r, i) { 3086 let s = e.providerIndexes, o = t.data, l = s & 1048575, u = e.directiveStart, a = e.directiveEnd, c = s >> 20, f = r ? l : l + c, h = i ? l + c : a; 3087 for (let d = f; d < h; d++) { 3088 let p = o[d]; 3089 if (d < u && n === p || d >= u && p.type === n) return d; 3090 } 3091 if (i) { 3092 let d = o[u]; 3093 if (d && Ne(d) && d.type === n) return u; 3094 } 3095 return null; 3096} 3097function br(e, t, n, r, i) { 3098 let s = e[n], o = t.data; 3099 if (s instanceof Un) { 3100 let l = s; 3101 if (l.resolving) throw Hd(""); 3102 let u = Mi(l.canSeeViewProviders); 3103 l.resolving = !0, o[n].type || o[n]; 3104 let a = l.injectImpl ? pe(l.injectImpl) : null; 3105 dh(e, r, 0); 3106 try { 3107 s = e[n] = l.factory(void 0, i, o, e, r), t.firstCreatePass && n >= r.directiveStart && eI(n, o[n], t); 3108 } finally { 3109 a !== null && pe(a), Mi(u), l.resolving = !1, xa(); 3110 } 3111 } 3112 return s; 3113} 3114function cI(e) { 3115 if (typeof e == "string") return e.charCodeAt(0) || 0; 3116 let t = Object.hasOwn(e, Fn) ? e[Fn] : void 0; 3117 return typeof t == "number" ? t >= 0 ? t & Pa : fI : t; 3118} 3119function Lh(e, t, n) { 3120 let r = 1 << e; 3121 return !!(n[t + (e >> Fa)] & r); 3122} 3123function Hh(e, t) { 3124 return !(e & 2) && !(e & 1 && t); 3125} 3126function fI() { 3127 return new zn(F(), g()); 3128} 3129function dI(e) { 3130 return vr(() => { 3131 let t = e.prototype.constructor, n = t[Br] || Rl(t), r = Object.prototype, i = Object.getPrototypeOf(e.prototype).constructor; 3132 for (; i && i !== r;) { 3133 let s = i[Br] || Rl(i); 3134 if (s && s !== n) return s; 3135 i = Object.getPrototypeOf(i); 3136 } 3137 return (s) => new s(); 3138 }); 3139} 3140function Rl(e) { 3141 return Vd(e) ? () => { 3142 let t = Rl(ee(e)); 3143 return t && t(); 3144 } : Rt(e); 3145} 3146function hI(e, t, n, r, i) { 3147 let s = e, o = t; 3148 for (; s !== null && o !== null && o[T] & 2048 && !gr(o);) { 3149 let l = Fh(s, o, n, r | 2, Le); 3150 if (l !== Le) return l; 3151 let u = s.parent; 3152 if (!u) { 3153 let a = o[Ea]; 3154 if (a) { 3155 let c = a.get(n, Le, r & -5); 3156 if (c !== Le) return c; 3157 } 3158 u = qh(o), o = o[Et]; 3159 } 3160 s = u; 3161 } 3162 return i; 3163} 3164function qh(e) { 3165 let t = e[v], n = t.type; 3166 return n === 2 ? t.declTNode : n === 1 ? e[fe] : null; 3167} 3168function Bh(e) { 3169 return uI(F(), e); 3170} 3171function pI(e) { 3172 return function(...t) { 3173 if (e) { 3174 let n = e(...t); 3175 for (let r in n) this[r] = n[r]; 3176 } 3177 }; 3178} 3179function gI(e, t, n) { 3180 return vr(() => { 3181 let r = pI(t); 3182 function i(...s) { 3183 if (this instanceof i) return r.apply(this, s), this; 3184 let o = new i(...s); 3185 return l.annotation = o, l; 3186 function l(u, a, c) { 3187 let f = Object.hasOwn(u, Gr) ? u[Gr] : Object.defineProperty(u, Gr, { value: [] })[Gr]; 3188 for (; f.length <= c;) f.push(null); 3189 return (f[c] = f[c] || []).push(o), u; 3190 } 3191 } 3192 return i.prototype.ngMetadataName = e, i.annotationCls = i, i; 3193 }); 3194} 3195function Lt(e) { 3196 return { 3197 token: e.token, 3198 providedIn: e.autoProvided === !1 ? null : "root", 3199 factory: e.factory, 3200 value: void 0 3201 }; 3202} 3203function yI() { 3204 return kn(F(), g()); 3205} 3206function kn(e, t) { 3207 return new Zn(re(e, t)); 3208} 3209function Uh(e) { 3210 return e instanceof Zn ? e.nativeElement : e; 3211} 3212function mI() { 3213 return this._results[Symbol.iterator](); 3214} 3215function zh(e) { 3216 let t = e.mergedAttrs; 3217 if (t === null) return !1; 3218 for (let n = 0; n < t.length; n += 2) { 3219 let r = t[n]; 3220 if (typeof r == "number") return !1; 3221 if (typeof r == "string" && r.toLowerCase() === _0) return !0; 3222 } 3223 return !1; 3224} 3225function Zh(e) { 3226 return e.hasAttribute(b0); 3227} 3228function Pi(e) { 3229 return (e.flags & 128) === 128; 3230} 3231function vI(e) { 3232 if (Pi(e)) return !0; 3233 let t = e.parent; 3234 for (; t;) { 3235 if (Pi(e) || zh(t)) return !0; 3236 t = t.parent; 3237 } 3238 return !1; 3239} 3240function bI() { 3241 return w0++; 3242} 3243function _I(e) { 3244 qa.set(e[Fe], e); 3245} 3246function Ml(e) { 3247 qa.delete(e[Fe]); 3248} 3249function Sn(e, t) { 3250 Ae(t) ? (e[Ba] = t[Fe], _I(t)) : e[Ba] = t; 3251} 3252function Wh(e) { 3253 return $h(e[Ln]); 3254} 3255function Qh(e) { 3256 return $h(e[ke]); 3257} 3258function $h(e) { 3259 for (; e !== null && !xe(e);) e = e[ke]; 3260 return e; 3261} 3262function wI(e) { 3263 Ua = e; 3264} 3265function jl() { 3266 if (Ua !== void 0) return Ua; 3267 if (typeof document < "u") return document; 3268 throw new x(210, !1); 3269} 3270function EI(e) { 3271 let t = Gh(e); 3272 return new IntersectionObserver((n) => { 3273 for (let r of n) r.isIntersecting && ot.has(r.target) && ot.get(r.target)?.get(t)?.listener(); 3274 }, e); 3275} 3276function II(e, t, n, r) { 3277 let i = Gh(r), s = ot.get(e)?.get(i); 3278 Jr.has(i) || Jr.set(i, { 3279 observer: n(r), 3280 count: 0 3281 }); 3282 let o = Jr.get(i); 3283 if (!s) { 3284 s = new M0(), o.observer.observe(e); 3285 let l = ot.get(e); 3286 l ? l.set(i, s) : (l = /* @__PURE__ */ new Map(), ot.set(e, l)), l.set(i, s), o.count++; 3287 } 3288 return s.callbacks.add(t), () => { 3289 if (ot.get(e)?.has(i)) { 3290 if (s.callbacks.delete(t), s.callbacks.size === 0) { 3291 o.observer.unobserve(e), o.count--; 3292 let l = ot.get(e); 3293 l && (l.delete(i), l.size === 0 && ot.delete(e)); 3294 } 3295 o.count === 0 && (o.observer.disconnect(), Jr.delete(i)); 3296 } 3297 }; 3298} 3299function Gh(e) { 3300 return e ? `${e.rootMargin}/${typeof e.threshold == "number" ? e.threshold : e.threshold?.join(` 3301`)}` : ""; 3302} 3303function TI(e, t) { 3304 if (e.length > 0) { 3305 let n = []; 3306 for (let r of e) t.has(r) && (n = [...n, ...t.get(r)]);
3307 new Set(n).forEach(tc); 3308 } 3309} 3310function xI(e, t) { 3311 if (e == null || typeof e != "object") return; 3312 let n = Js.get(e); 3313 n || (n = /* @__PURE__ */ new WeakSet(), Js.set(e, n)), n.add(t); 3314} 3315function Kh(e, t) { 3316 let n = t?.__jsaction_fns?.get(e.type); 3317 if (!(!n || !t?.isConnected) && !(t && Js.get(e)?.has(t))) for (let r of n) r(e); 3318} 3319function CI(e, t) { 3320 return Ys.set(e, t), () => Ys.delete(e); 3321} 3322function kI(e, t, n, r) { 3323 ic(e, t, n, r); 3324} 3325function SI() { 3326 rc || (ic = (e, t, n, r) => { 3327 let i = e[H].get(xt); 3328 Ys.get(i)?.(t, n, r); 3329 }, rc = !0); 3330} 3331function Fi(e) { 3332 return (e.flags & 32) === 32; 3333} 3334function OI(e, t, n = !1) { 3335 let r = e.getAttribute(Xs); 3336 if (r == null) return null; 3337 let [i, s] = r.split("|"); 3338 if (r = n ? s : i, !r) return null; 3339 let o = s ? `|${s}` : "", l = n ? i : o, u = {}; 3340 if (r !== "") { 3341 let c = t.get(un, null, { optional: !0 }); 3342 c !== null && (u = c.get(sc, [])[Number(r)]); 3343 } 3344 let a = { 3345 data: u, 3346 firstChild: e.firstChild ?? null 3347 }; 3348 return n && (a.firstChild = e, Li(a, 0, e.nextSibling)), l ? e.setAttribute(Xs, l) : e.removeAttribute(Xs), a; 3349} 3350function AI() { 3351 lc = OI; 3352} 3353function Jh(e, t, n = !1) { 3354 return lc(e, t, n); 3355} 3356function NI(e) { 3357 let t = e._lView; 3358 return t[v].type === 2 ? null : (gr(t) && (t = t[A]), t); 3359} 3360function DI(e) { 3361 return e.textContent?.replace(/\s/gm, ""); 3362} 3363function RI(e) { 3364 let t = jl(), n = t.createNodeIterator(e, NodeFilter.SHOW_COMMENT, { acceptNode(s) { 3365 let o = DI(s); 3366 return o === "ngetn" || o === "ngtns" ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT; 3367 } }), r, i = []; 3368 for (; r = n.nextNode();) i.push(r); 3369 for (let s of i) s.textContent === "ngetn" ? s.replaceWith(t.createTextNode("")) : s.remove(); 3370} 3371function Li(e, t, n) { 3372 e.segmentHeads ??= {}, e.segmentHeads[t] = n; 3373} 3374function Vl(e, t) { 3375 return e.segmentHeads?.[t] ?? null; 3376} 3377function Pl(e) { 3378 return e.get(Xa, !1, { optional: !0 }); 3379} 3380function MI(e, t) { 3381 let n = e.data, r = n[T0]?.[t] ?? null; 3382 return r === null && n[Gs]?.[t] && (r = Fl(e, t)), r; 3383} 3384function Yh(e, t) { 3385 return e.data[Gs]?.[t] ?? null; 3386} 3387function Fl(e, t) { 3388 let n = Yh(e, t) ?? [], r = 0; 3389 for (let i of n) r += i[Wn] * (i[Wa] ?? 1); 3390 return r; 3391} 3392function jI(e) { 3393 if (typeof e.disconnectedNodes > "u") { 3394 let t = e.data[Qa]; 3395 e.disconnectedNodes = t ? new Set(t) : null; 3396 } 3397 return e.disconnectedNodes; 3398} 3399function Xh(e, t) { 3400 if (typeof e.disconnectedNodes > "u") { 3401 let n = e.data[Qa]; 3402 e.disconnectedNodes = n ? new Set(n) : null; 3403 } 3404 return !!jI(e)?.has(t); 3405} 3406function Hi(e, t) { 3407 let n = e[de]; 3408 return n !== null && !vl() && !Fi(t) && !Xh(n, t.index - A); 3409} 3410function VI(e, t) { 3411 let n = t.get(lt), r = t.get(un).get(oc, {}), i = !1, s = e, o = null, l = []; 3412 for (; !i && s;) { 3413 i = n.has(s); 3414 let u = n.hydrating.get(s); 3415 if (o === null && u != null) { 3416 o = u.promise; 3417 break; 3418 } 3419 l.unshift(s), s = r[s][S0]; 3420 } 3421 return { 3422 parentBlockPromise: o, 3423 hydrationQueue: l 3424 }; 3425} 3426function PI(e) { 3427 let t = e.body.querySelectorAll("[jsaction]"), n = /* @__PURE__ */ new Set(), r = [R0.join(":;"), D0.join(":;")].join("|"); 3428 for (let i of t) { 3429 let s = i.getAttribute("jsaction"), o = i.getAttribute("ngb"); 3430 s?.match(r) && o !== null && n.add(i); 3431 } 3432 return n; 3433} 3434function FI(e, t) { 3435 let n = PI(e), r = t.get(Kr); 3436 for (let i of n) ec(i, r); 3437} 3438function LI(e) { 3439 let t = e.get(un, null, { optional: !0 }); 3440 return t !== null ? t.get(oc, {}) : {}; 3441} 3442function HI() { 3443 uc = LI; 3444} 3445function qI(e) { 3446 return uc(e); 3447} 3448function BI(e) { 3449 return typeof e == "object" && e.trigger === 5; 3450} 3451function UI(e) { 3452 return e[Ks]?.find((t) => BI(t))?.delay ?? null; 3453} 3454function zI(e) { 3455 let t = e[Ks]; 3456 if (t) for (let n of t) { 3457 if (n === 2) return !0; 3458 if (typeof n == "object" && n.trigger === 2) return n.intersectionObserverOptions || !0; 3459 } 3460 return null; 3461} 3462function ep(e, t) { 3463 return e[Ks]?.includes(t) ?? !1; 3464} 3465function ZI(e) { 3466 return { 3467 data: e, 3468 hydrate: { 3469 idle: ep(e, 0), 3470 immediate: ep(e, 1), 3471 timer: UI(e), 3472 viewport: zI(e) 3473 } 3474 }; 3475} 3476function WI(e) { 3477 let t = qI(e), n = /* @__PURE__ */ new Map(); 3478 for (let r in t) n.set(r, ZI(t[r])); 3479 return n; 3480} 3481function Ll(e) { 3482 return !!e && e.nodeType === Node.COMMENT_NODE && e.textContent?.trim() === P0; 3483} 3484function tp(e) { 3485 for (; e && e.nodeType === Node.TEXT_NODE;) e = e.previousSibling; 3486 return e; 3487} 3488function QI(e) { 3489 for (let t of e.body.childNodes) if (Ll(t)) return; 3490 if (!Ll(tp(e.body.previousSibling)) && !Ll(tp(e.head.lastChild))) throw new x(-507, !1); 3491} 3492function np(e, t) { 3493 let n = e.contentQueries; 3494 if (n !== null) { 3495 let r = E(null); 3496 try { 3497 for (let i = 0; i < n.length; i += 2) { 3498 let s = n[i], o = n[i + 1]; 3499 if (o !== -1) { 3500 let l = e.data[o]; 3501 ki(s), l.contentQueries(2, t[o], o); 3502 } 3503 } 3504 } finally { 3505 E(r); 3506 } 3507 } 3508} 3509function Hl(e, t, n) { 3510 ki(0); 3511 let r = E(null); 3512 try { 3513 t(e, n); 3514 } finally { 3515 E(r); 3516 } 3517} 3518function ql(e, t, n) { 3519 if (Jd(t)) { 3520 let r = E(null); 3521 try { 3522 let i = t.directiveStart, s = t.directiveEnd; 3523 for (let o = i; o < s; o++) { 3524 let l = e.data[o]; 3525 if (l.contentQueries) { 3526 let u = n[o]; 3527 l.contentQueries(1, u, o); 3528 } 3529 } 3530 } finally { 3531 E(r); 3532 } 3533 } 3534} 3535function rp() { 3536 if (eo === void 0 && (eo = null, Ue.trustedTypes)) try { 3537 eo = Ue.trustedTypes.createPolicy("angular", { 3538 createHTML: (e) => e, 3539 createScript: (e) => e, 3540 createScriptURL: (e) => e 3541 }); 3542 } catch {} 3543 return eo; 3544} 3545function qi(e) { 3546 return rp()?.createHTML(e) || e; 3547} 3548function $I(e) { 3549 return rp()?.createScriptURL(e) || e; 3550} 3551function ip() { 3552 if (to === void 0 && (to = null, Ue.trustedTypes)) try { 3553 to = Ue.trustedTypes.createPolicy("angular#unsafe-bypass", { 3554 createHTML: (e) => e, 3555 createScript: (e) => e, 3556 createScriptURL: (e) => e 3557 }); 3558 } catch {} 3559 return to; 3560} 3561function sp(e) { 3562 return ip()?.createHTML(e) || e; 3563} 3564function op(e) { 3565 return ip()?.createScriptURL(e) || e; 3566} 3567function ht(e) { 3568 return e instanceof kt ? e.changingThisBreaksApplicationSecurity : e; 3569} 3570function Bi(e, t) { 3571 let n = GI(e); 3572 if (n != null && n !== t) { 3573 if (n === "ResourceURL" && t === "URL") return !0; 3574 throw new Error(`Required a safe ${t}, got a ${n} (see ${fa})`); 3575 } 3576 return n === t; 3577} 3578function GI(e) { 3579 return e instanceof kt && e.getTypeName() || null; 3580} 3581function KI(e) { 3582 return new L0(e); 3583} 3584function JI(e) { 3585 return new H0(e); 3586} 3587function YI(e) { 3588 return new q0(e); 3589} 3590function XI(e) { 3591 return new B0(e); 3592} 3593function eT(e) { 3594 return new U0(e); 3595} 3596function tT(e) { 3597 let t = new Z0(e); 3598 return nT() ? new z0(t) : t; 3599} 3600function nT() { 3601 try { 3602 return !!new window.DOMParser().parseFromString(qi(""), "text/html"); 3603 } catch { 3604 return !1; 3605 } 3606} 3607function Bl(e) { 3608 return e = String(e), e.match(W0) ? e : "unsafe:" + e; 3609} 3610function et(e) { 3611 let t = {}; 3612 for (let n of e.split(",")) t[n] = !0; 3613 return t; 3614} 3615function _r(...e) { 3616 let t = {}; 3617 for (let n of e) for (let r in n) Object.hasOwn(n, r) && (t[r] = !0); 3618 return t; 3619} 3620function rT(e, t) { 3621 return (e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_CONTAINED_BY) !== Node.DOCUMENT_POSITION_CONTAINED_BY; 3622} 3623function iT(e) { 3624 let t = e.nextSibling; 3625 if (t && e !== t.previousSibling) throw up(t); 3626 return t; 3627} 3628function sT(e) { 3629 let t = e.firstChild; 3630 if (t && rT(e, t)) throw up(t); 3631 return t; 3632} 3633function lp(e) { 3634 let t = e.nodeName; 3635 return typeof t == "string" ? t : "FORM"; 3636} 3637function up(e) { 3638 return /* @__PURE__ */ new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`); 3639} 3640function ap(e) { 3641 return e.replace(/&/g, "&").replace(J0, function(t) { 3642 let n = t.charCodeAt(0), r = t.charCodeAt(1); 3643 return "&#" + ((n - 55296) * 1024 + (r - 56320) + 65536) + ";"; 3644 }).replace(Y0, function(t) { 3645 return "&#" + t.charCodeAt(0) + ";"; 3646 }).replace(/</g, "<").replace(/>/g, ">"); 3647} 3648function cp(e, t) { 3649 let n = null; 3650 try { 3651 no = no || tT(e); 3652 let r = t ? String(t) : ""; 3653 n = no.getInertBodyElement(r); 3654 let i = 5, s = r; 3655 do { 3656 if (i === 0) throw new Error("Failed to sanitize html because the input is unstable"); 3657 i--, r = s, s = n.innerHTML, n = no.getInertBodyElement(r); 3658 } while (r !== s); 3659 return qi(new K0().sanitizeChildren(fp(n) || n)); 3660 } finally { 3661 if (n) { 3662 let r = fp(n) || n; 3663 for (; r.firstChild;) r.firstChild.remove(); 3664 } 3665 } 3666} 3667function fp(e) { 3668 return "content" in e && oT(e) ? e.content : null; 3669} 3670function oT(e) {
3671 return e.nodeType === Node.ELEMENT_NODE && e.nodeName === "TEMPLATE"; 3672} 3673function lT(e) { 3674 return e.replace(X0, (t) => t.replace(eb, tb)); 3675} 3676function dp(e, t) { 3677 return e.createText(t); 3678} 3679function uT(e, t, n) { 3680 e.setValue(t, n); 3681} 3682function hp(e, t) { 3683 return e.createComment(lT(t)); 3684} 3685function Ul(e, t, n) { 3686 return e.createElement(t, n); 3687} 3688function Ht(e, t, n, r, i) { 3689 e.insertBefore(t, n, r, i); 3690} 3691function pp(e, t, n) { 3692 e.appendChild(t, n); 3693} 3694function gp(e, t, n, r, i) { 3695 r !== null ? Ht(e, t, n, r, i) : pp(e, t, n); 3696} 3697function zl(e, t, n, r) { 3698 e.removeChild(null, t, n, r); 3699} 3700function yp(e) { 3701 e.textContent = ""; 3702} 3703function aT(e, t, n) { 3704 e.setAttribute(t, "style", n); 3705} 3706function cT(e, t, n) { 3707 n === "" ? e.removeAttribute(t, "class") : e.setAttribute(t, "class", n); 3708} 3709function mp(e, t, n) { 3710 let { mergedAttrs: r, classes: i, styles: s } = n; 3711 r !== null && iI(e, t, r), i !== null && cT(e, t, i), s !== null && aT(e, t, s); 3712} 3713function fT(e, t = !0) { 3714 if (e[0] != ":") return [null, e]; 3715 let n = e.indexOf(":", 1); 3716 if (n === -1) { 3717 if (t) throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`); 3718 return [null, e]; 3719 } 3720 return [e.slice(1, n), e.slice(n + 1)]; 3721} 3722function dT(e, t, n) { 3723 if (t !== void 0 && n !== void 0 && _p(t, n) !== Y.HTML) return e; 3724 let r = Zl(); 3725 return r ? sp(r.sanitize(Y.HTML, e) || "") : Bi(e, "HTML") ? sp(ht(e)) : cp(jl(), L(e)); 3726} 3727function vp(e) { 3728 let t = Zl(); 3729 return t ? t.sanitize(Y.URL, e) || "" : Bi(e, "URL") ? ht(e) : Bl(L(e)); 3730} 3731function bp(e) { 3732 let t = Zl(); 3733 if (t) return op(t.sanitize(Y.RESOURCE_URL, e) || ""); 3734 if (Bi(e, "ResourceURL")) return op(ht(e)); 3735 throw new x(904, !1); 3736} 3737function hT(e) { 3738 return $I(e[0]); 3739} 3740function pT(e, t) { 3741 switch (_p(e, t)) { 3742 case Y.RESOURCE_URL: return bp; 3743 case Y.URL: return vp; 3744 default: return null; 3745 } 3746} 3747function gT(e, t, n) { 3748 return pT(t, n)?.(e) ?? e; 3749} 3750function Zl() { 3751 let e = g(); 3752 return e && e[Pe].sanitizer; 3753} 3754function _p(e, t) { 3755 let [n, r] = yT(e); 3756 return bE(r, t, n); 3757} 3758function yT(e) { 3759 e = e.toLowerCase(); 3760 let t = fT(e, !1); 3761 if (t[0]) return t; 3762 let n = ae() === -1 ? null : Re(), r = n?.namespace; 3763 if (e === "#host" && n?.type === 2) { 3764 let i = re(n, g()); 3765 if (i.tagName && (e = i.tagName.toLowerCase()), r == null) { 3766 let s = i.namespaceURI; 3767 r = s && F0[s]; 3768 } 3769 } 3770 return [r, e]; 3771} 3772function mT(e) { 3773 return e.ownerDocument.defaultView; 3774} 3775function vT(e) { 3776 return e.ownerDocument; 3777} 3778function bT(e) { 3779 return e.ownerDocument.body; 3780} 3781function _T(e) { 3782 return e instanceof Function ? e() : e; 3783} 3784function wT(e, t, n) { 3785 let r = e.length; 3786 for (;;) { 3787 let i = e.indexOf(t, n); 3788 if (i === -1) return i; 3789 if (i === 0 || e.charCodeAt(i - 1) <= 32) { 3790 let s = t.length; 3791 if (i + s === r || e.charCodeAt(i + s) <= 32) return i; 3792 } 3793 n = i + 1; 3794 } 3795} 3796function ET(e, t, n, r) { 3797 let i = 0; 3798 if (r) { 3799 for (; i < t.length && typeof t[i] == "string"; i += 2) if (t[i] === "class" && wT(t[i + 1].toLowerCase(), n, 0) !== -1) return !0; 3800 } else if (Wl(e)) return !1; 3801 if (i = t.indexOf(1, i), i > -1) { 3802 let s; 3803 for (; ++i < t.length && typeof (s = t[i]) == "string";) if (s.toLowerCase() === n) return !0; 3804 } 3805 return !1; 3806} 3807function Wl(e) { 3808 return e.type === 4 && e.value !== pc; 3809} 3810function IT(e, t, n) { 3811 return t === (e.type === 4 && !n ? pc : e.value); 3812} 3813function TT(e, t, n) { 3814 let r = 4, i = e.attrs, s = i !== null ? kT(i) : 0, o = !1; 3815 for (let l = 0; l < t.length; l++) { 3816 let u = t[l]; 3817 if (typeof u == "number") { 3818 if (!o && !Me(r) && !Me(u)) return !1; 3819 if (o && Me(u)) continue; 3820 o = !1, r = u | r & 1; 3821 continue; 3822 } 3823 if (!o) if (r & 4) { 3824 if (r = 2 | r & 1, u !== "" && !IT(e, u, n) || u === "" && t.length === 1) { 3825 if (Me(r)) return !1; 3826 o = !0; 3827 } 3828 } else if (r & 8) { 3829 if (i === null || !ET(e, i, u, n)) { 3830 if (Me(r)) return !1; 3831 o = !0; 3832 } 3833 } else { 3834 let a = t[++l], c = xT(u, i, Wl(e), n); 3835 if (c === -1) { 3836 if (Me(r)) return !1; 3837 o = !0; 3838 continue; 3839 }
3840 if (a !== "") { 3841 let f; 3842 if (c > s ? f = "" : f = i[c + 1].toLowerCase(), r & 2 && a !== f) { 3843 if (Me(r)) return !1; 3844 o = !0; 3845 } 3846 } 3847 } 3848 } 3849 return Me(r) || o; 3850} 3851function Me(e) { 3852 return (e & 1) === 0; 3853} 3854function xT(e, t, n, r) { 3855 if (t === null) return -1; 3856 let i = 0; 3857 if (r || !n) { 3858 let s = !1; 3859 for (; i < t.length;) { 3860 let o = t[i]; 3861 if (o === e) return i; 3862 if (o === 3 || o === 6) s = !0; 3863 else if (o === 1 || o === 2) { 3864 let l = t[++i]; 3865 for (; typeof l == "string";) l = t[++i]; 3866 continue; 3867 } else { 3868 if (o === 4) break; 3869 if (o === 0) { 3870 i += 4; 3871 continue; 3872 } 3873 } 3874 i += s ? 1 : 2; 3875 } 3876 return -1; 3877 } else return ST(t, e); 3878} 3879function wp(e, t, n = !1) { 3880 for (let r = 0; r < t.length; r++) if (TT(e, t[r], n)) return !0; 3881 return !1; 3882} 3883function CT(e) { 3884 let t = e.attrs; 3885 if (t != null) { 3886 let n = t.indexOf(5); 3887 if ((n & 1) === 0) return t[n + 1]; 3888 } 3889 return null; 3890} 3891function kT(e) { 3892 for (let t = 0; t < e.length; t++) { 3893 let n = e[t]; 3894 if (Nh(n)) return t; 3895 } 3896 return e.length; 3897} 3898function ST(e, t) { 3899 let n = e.indexOf(4); 3900 if (n > -1) for (n++; n < e.length;) { 3901 let r = e[n]; 3902 if (typeof r == "number") return -1; 3903 if (r === t) return n; 3904 n++; 3905 } 3906 return -1; 3907} 3908function OT(e, t) { 3909 e: for (let n = 0; n < t.length; n++) { 3910 let r = t[n]; 3911 if (e.length === r.length) { 3912 for (let i = 0; i < e.length; i++) if (e[i] !== r[i]) continue e; 3913 return !0; 3914 } 3915 } 3916 return !1; 3917} 3918function Ep(e, t) { 3919 return e ? ":not(" + t.trim() + ")" : t; 3920} 3921function AT(e) { 3922 let t = e[0], n = 1, r = 2, i = "", s = !1; 3923 for (; n < e.length;) { 3924 let o = e[n]; 3925 if (typeof o == "string") if (r & 2) { 3926 let l = e[++n]; 3927 i += "[" + o + (l.length > 0 ? "=\"" + l + "\"" : "") + "]"; 3928 } else r & 8 ? i += "." + o : r & 4 && (i += " " + o); 3929 else i !== "" && !Me(o) && (t += Ep(s, i), i = ""), r = o, s = s || !Me(r); 3930 n++; 3931 } 3932 return i !== "" && (t += Ep(s, i)), t; 3933} 3934function NT(e) { 3935 return e.map(AT).join(","); 3936} 3937function DT(e) { 3938 let t = [], n = [], r = 1, i = 2; 3939 for (; r < e.length;) { 3940 let s = e[r]; 3941 if (typeof s == "string") i === 2 ? s !== "" && t.push(s, e[++r]) : i === 8 && n.push(s); 3942 else { 3943 if (!Me(i)) break; 3944 i = s; 3945 } 3946 r++; 3947 } 3948 return n.length && t.push(1, ...n), t; 3949} 3950function Ql(e, t) { 3951 return YA(e, t); 3952} 3953function Ui(e) { 3954 if (!e) return 0; 3955 let t = e.toLowerCase().indexOf("ms") > -1 ? 1 : 1e3; 3956 return parseFloat(e) * t; 3957} 3958function qt(e, t) { 3959 return e.getPropertyValue(t).split(",").map((n) => n.trim()); 3960} 3961function RT(e) { 3962 let t = qt(e, "transition-property"), n = qt(e, "transition-duration"), r = qt(e, "transition-delay"), i = { 3963 propertyName: "", 3964 duration: 0, 3965 animationName: void 0 3966 }; 3967 for (let s = 0; s < t.length; s++) { 3968 let o = Ui(r[s]) + Ui(n[s]); 3969 o > i.duration && (i.propertyName = t[s], i.duration = o); 3970 } 3971 return i; 3972} 3973function MT(e) { 3974 let t = qt(e, "animation-name"), n = qt(e, "animation-delay"), r = qt(e, "animation-duration"), i = qt(e, "animation-iteration-count"), s = { 3975 animationName: "", 3976 propertyName: void 0, 3977 duration: 0 3978 }; 3979 for (let o = 0; o < t.length; o++) { 3980 let l = Ui(n[o]) + Ui(r[o]), u = i[o]; 3981 l > s.duration && u !== "infinite" && (s.animationName = t[o], s.duration = l); 3982 } 3983 return s; 3984} 3985function Ip(e, t) { 3986 return e !== void 0 && e.duration > t.duration; 3987} 3988function Tp(e) { 3989 return (e.animationName != null || e.propertyName != null) && e.duration > 0; 3990} 3991function xp(e) { 3992 let t = e.effect?.getTiming(); 3993 if (t === void 0) return; 3994 let n = typeof t.duration == "number" ? t.duration : 0, r = (t.delay ?? 0) + n, i = e.playbackRate; 3995 return i !== void 0 && i !== 0 && i !== 1 && (r /= Math.abs(i)), r; 3996} 3997function jT(e, t) { 3998 let n = getComputedStyle(e), r = MT(n), i = RT(n), s = r.duration > i.duration ? r : i; 3999 Ip(t.get(e), s) || Tp(s) && t.set(e, s); 4000} 4001function Cp(e, t, n) { 4002 if (!n) return; 4003 let r = e.getAnimations(); 4004 return r.length === 0 ? jT(e, t) : VT(e, t, r); 4005} 4006function VT(e, t, n) { 4007 let r = { 4008 animationName: void 0, 4009 propertyName: void 0, 4010 duration: 0 4011 }; 4012 for (let i of n) { 4013 if (i.effect?.getTiming()?.iterations === 1 / 0) continue; 4014 let s = xp(i) ?? 0, o, l; 4015 i.animationName ? l = i.animationName : o = i.transitionProperty, s >= r.duration && (r = { 4016 animationName: l, 4017 propertyName: o, 4018 duration: s 4019 }); 4020 } 4021 Ip(t.get(e), r) || Tp(r) && t.set(e, r); 4022} 4023function kp(e) { 4024 return e[H].get(nb, rb); 4025} 4026function PT(e, t, n) { 4027 let r = cn.get(e); 4028 if (r) { 4029 for (let i of t) r.classList.push(i); 4030 for (let i of n) r.cleanupFns.push(i); 4031 } else cn.set(e, { 4032 classList: t, 4033 cleanupFns: n 4034 }); 4035} 4036function $l(e) { 4037 let t = cn.get(e); 4038 if (t) { 4039 for (let n of t.cleanupFns) n(); 4040 cn.delete(e); 4041 } 4042 Ot.delete(e); 4043} 4044function Sp(e) { 4045 return e ? e[Et] ?? e : null; 4046} 4047function Op(e, t) { 4048 let n = Gn.get(e); 4049 if (n && n.length > 0) { 4050 let r = n.findIndex((i) => i.el === t); 4051 r > -1 && n.splice(r, 1); 4052 } 4053 n?.length === 0 && Gn.delete(e); 4054} 4055function FT(e, t, n) { 4056 let r = Gn.get(e); 4057 if (!r || r.length === 0) return; 4058 let i = t.parentNode, s = t.previousSibling, o = Sp(n); 4059 for (let l = r.length - 1; l >= 0; l--) { 4060 let { el: u, declarationView: a } = r[l], c = u.parentNode; 4061 u === t ? (r.splice(l, 1), Kn.add(u), u.dispatchEvent(new CustomEvent("animationend", { detail: { cancel: !0 } }))) : s && u === s ? (r.splice(l, 1), u.dispatchEvent(new CustomEvent("animationend", { detail: { cancel: !0 } })), u.parentNode?.removeChild(u)) : c && i && c !== i && (o === null || a === null || o === a) && (r.splice(l, 1), u.dispatchEvent(new CustomEvent("animationend", { detail: { cancel: !0 } })), u.parentNode?.removeChild(u)); 4062 } 4063} 4064function Ap(e, t, n) { 4065 let r = Sp(n), i = Gn.get(e); 4066 i ? i.some((s) => s.el === t) || i.push({ 4067 el: t, 4068 declarationView: r 4069 }) : Gn.set(e, [{ 4070 el: t, 4071 declarationView: r 4072 }]); 4073} 4074function Np(e) { 4075 let t = e[Se] ??= {}; 4076 return t.enter ??= /* @__PURE__ */ new Map(); 4077} 4078function zi(e) { 4079 let t = e[Se] ??= {}; 4080 return t.leave ??= /* @__PURE__ */ new Map(); 4081} 4082function Dp(e) { 4083 let t = typeof e == "function" ? e() : e, n = Array.isArray(t) ? t : null; 4084 return typeof t == "string" && (n = t.trim().split(/\s+/).filter((r) => r)), n; 4085} 4086function LT(e, t) { 4087 if (!$n) return; 4088 let n = cn.get(e); 4089 if (n && n.classList.length > 0 && HT(e, n.classList)) for (let r of n.classList) t.removeClass(e, r); 4090 $l(e); 4091} 4092function HT(e, t) { 4093 for (let n of t) if (e.classList.contains(n)) return !0; 4094 return !1; 4095} 4096function wr(e) { 4097 return e.composedPath ? e.composedPath()[0] : e.target; 4098} 4099function Gl(e, t) { 4100 let n = Ot.get(t); 4101 if (n === void 0) return !0; 4102 if (t !== wr(e)) return !1; 4103 let r = e.animation; 4104 if (r) { 4105 let i = xp(r); 4106 if (i !== void 0 && i + ib < n.duration) return !1; 4107 } 4108 return n.animationName !== void 0 ? e.animationName === n.animationName : n.propertyName !== void 0 ? n.propertyName === "all" || e.propertyName === n.propertyName : !1; 4109} 4110function Rp(e, t, n) { 4111 let r = e.get(t.index) ?? { animateFns: [] }; 4112 r.animateFns.push(n), e.set(t.index, r); 4113} 4114function Mp(e, t) { 4115 if (e) for (let n of e) n(); 4116 for (let n of t) n(); 4117} 4118function jp(e, t) { 4119 let n = zi(e).get(t.index); 4120 n && (n.resolvers = void 0); 4121} 4122function ie(e) { 4123 gc.has(e) || (gc.add(e), performance?.mark?.("mark_feature_usage", { detail: { feature: e } })); 4124} 4125function Kl(e, t) { 4126 let n = t?.injector ?? m(We); 4127 return ie("NgAfterNextRender"), BT(e, n, t, !0); 4128} 4129function qT(e) { 4130 return e instanceof Function ? [ 4131 void 0, 4132 void 0, 4133 e, 4134 void 0 4135 ] : [ 4136 e.earlyRead, 4137 e.write, 4138 e.mixedReadWrite, 4139 e.read 4140 ]; 4141} 4142function BT(e, t, n, r) { 4143 let i = t.get(io); 4144 i.impl ??= t.get(mc); 4145 let s = t.get(At, null, { optional: !0 }), o = n?.manualCleanup !== !0 ? t.get(Qe) : null, l = t.get($r, null, { optional: !0 }), u = new vc(i.impl, qT(e), l?.view, r, o, s?.snapshot(null)); 4146 return i.impl.register(u), u; 4147} 4148function Vp(e, t, n) { 4149 let r = e.get(Jn); 4150 if (Array.isArray(t)) for (let i of t) r.queue.add(i), n?.detachedLeaveAnimationFns?.push(i); 4151 else r.queue.add(t), n?.detachedLeaveAnimationFns?.push(t); 4152 r.scheduler && r.scheduler(e); 4153} 4154function UT(e, t) { 4155 let n = e.get(Jn); 4156 if (Array.isArray(t)) for (let r of t) n.queue.delete(r); 4157 else n.queue.delete(t); 4158} 4159function zT(e, t) { 4160 let n = e.get(Jn); 4161 if (t.detachedLeaveAnimationFns) { 4162 for (let r of t.detachedLeaveAnimationFns) n.queue.delete(r); 4163 t.detachedLeaveAnimationFns = void 0; 4164 } 4165} 4166function ZT(e) { 4167 let t = e.get(Jn); 4168 t.isScheduled || (Kl(() => { 4169 t.isScheduled = !1; 4170 for (let n of t.queue) n(); 4171 t.queue.clear(); 4172 }, { injector: t.injector }), t.isScheduled = !0); 4173} 4174function Pp(e) { 4175 let t = e.get(Jn); 4176 t.scheduler = ZT, t.scheduler(e); 4177} 4178function Fp(e, t) { 4179 for (let [n, r] of t) Vp(e, r.animateFns); 4180} 4181function Lp(e, t, n, r) { 4182 let i = e?.[Se]?.enter; 4183 t !== null && i && i.has(n.index) && Fp(r, i); 4184} 4185function Hp(e, t, n, r) { 4186 try { 4187 n.get(Ur); 4188 } catch { 4189 return r(!1); 4190 } 4191 let i = e?.[Se]; 4192 i?.enter?.has(t.index) && UT(n, i.enter.get(t.index).animateFns); 4193 let s = WT(e, t, i); 4194 if (s.size === 0) { 4195 let o = !1; 4196 if (e) { 4197 let l = []; 4198 Zi(e, t, l), o = l.length > 0; 4199 } 4200 if (!o) return r(!1); 4201 } 4202 e && St.add(e[Fe]), Vp(n, () => QT(e, t, i || void 0, s, r), i || void 0); 4203} 4204function WT(e, t, n) { 4205 let r = /* @__PURE__ */ new Map(), i = n?.leave; 4206 if (i && i.has(t.index) && r.set(t.index, i.get(t.index)), e && i) for (let [s, o] of i) { 4207 if (r.has(s)) continue; 4208 let l = e[v].data[s].parent; 4209 for (; l;) { 4210 if (l === t) { 4211 r.set(s, o); 4212 break; 4213 } 4214 l = l.parent; 4215 } 4216 } 4217 return r; 4218} 4219function QT(e, t, n, r, i) { 4220 let s = []; 4221 if (n && n.leave) for (let [o] of r) { 4222 if (!n.leave.has(o)) continue; 4223 let l = n.leave.get(o); 4224 for (let u of l.animateFns) { 4225 let { promise: a } = u(); 4226 s.push(a); 4227 } 4228 n.detachedLeaveAnimationFns = void 0; 4229 } 4230 if (e && Zi(e, t, s), s.length > 0) { 4231 let o = n || e?.[Se]; 4232 if (o) { 4233 let l = o.running; 4234 l && s.push(l), o.running = Promise.allSettled(s), GT(e, o.running, i); 4235 } else Promise.allSettled(s).then(() => { 4236 e && St.delete(e[Fe]), i(!0); 4237 }); 4238 } else e && St.delete(e[Fe]), i(!1); 4239} 4240function Zi(e, t, n) { 4241 if (t.type & 12) { 4242 let i = e[t.index]; 4243 if (xe(i)) for (let s = B; s < i.length; s++) { 4244 let o = i[s]; 4245 o[v].type === 2 && $T(o, n); 4246 } 4247 } 4248 let r = t.child; 4249 for (; r;) Zi(e, r, n), r = r.next; 4250} 4251function $T(e, t) { 4252 let n = e[Se]; 4253 if (n && n.leave) for (let i of n.leave.values()) for (let s of i.animateFns) { 4254 let { promise: o } = s(); 4255 t.push(o); 4256 } 4257 let r = e[v].firstChild; 4258 for (; r;) Zi(e, r, t), r = r.next; 4259} 4260function GT(e, t, n) { 4261 t.then(() => { 4262 e[Se]?.running === t && (e[Se].running = void 0, St.delete(e[Fe])), n(!0); 4263 }); 4264} 4265function On(e, t, n, r, i, s, o, l) { 4266 if (i != null) { 4267 let u, a = !1; 4268 xe(i) ? u = i : Ae(i) && (a = !0, i = i[ce]); 4269 let c = ne(i); 4270 e === 0 && r !== null ? (Lp(l, r, s, n), o == null ? pp(t, r, c) : Ht(t, r, c, o || null, !0)) : e === 1 && r !== null ? (Lp(l, r, s, n), Ht(t, r, c, o || null, !0), FT(s, c, l)) : e === 2 ? (l?.[Se]?.leave?.has(s.index) && Ap(s, c, l), Kn.delete(c), Hp(l, s, n, (f) => { 4271 if (Kn.has(c)) { 4272 Kn.delete(c); 4273 return; 4274 } 4275 zl(t, c, a, f); 4276 })) : e === 3 && (Kn.delete(c), Hp(l, s, n, () => { 4277 t.destroyNode(c); 4278 })), u != null && sx(t, e, n, u, s, r, o); 4279 } 4280} 4281function KT(e, t) { 4282 qp(e, t), t[ce] = null, t[fe] = null; 4283} 4284function JT(e, t, n, r, i, s) { 4285 r[ce] = i, r[fe] = t, Qi(e, r, n, 1, i, s); 4286} 4287function qp(e, t) {
4288 t[Pe].changeDetectionScheduler?.notify(9), Qi(e, t, t[D], 2, null, null); 4289} 4290function YT(e) { 4291 let t = e[Ln]; 4292 if (!t) return Yl(e[v], e); 4293 for (; t;) { 4294 let n = null; 4295 if (Ae(t)) n = t[Ln]; 4296 else { 4297 let r = t[B]; 4298 r && (n = r); 4299 } 4300 if (!n) { 4301 for (; t && !t[ke] && t !== e;) Ae(t) && Yl(t[v], t), t = t[G]; 4302 t === null && (t = e), Ae(t) && Yl(t[v], t), n = t && t[ke]; 4303 } 4304 t = n; 4305 } 4306} 4307function Jl(e, t) { 4308 let n = e[on], r = n.indexOf(t); 4309 n.splice(r, 1); 4310} 4311function Wi(e, t) { 4312 if (Mt(t)) return; 4313 let n = t[D]; 4314 n.destroyNode && Qi(e, t, n, 3, null, null), YT(t); 4315} 4316function Yl(e, t) { 4317 if (Mt(t)) return; 4318 let n = E(null); 4319 try { 4320 t[T] &= -129, t[T] |= 256, t[we] && ur(t[we]), ex(e, t), XT(e, t), t[v].type === 1 && t[D].destroy(); 4321 let r = t[It]; 4322 if (r !== null && xe(t[G])) { 4323 r !== t[G] && Jl(r, t); 4324 let i = t[Ze]; 4325 i !== null && i.detachView(e); 4326 } 4327 Ml(t); 4328 } finally { 4329 E(n); 4330 } 4331} 4332function XT(e, t) { 4333 let n = e.cleanup, r = t[Zr]; 4334 if (n !== null) for (let o = 0; o < n.length - 1; o += 2) if (typeof n[o] == "string") { 4335 let l = n[o + 3]; 4336 l >= 0 ? r[l]() : r[-l].unsubscribe(), o += 2; 4337 } else { 4338 let l = r[n[o + 1]]; 4339 n[o].call(l); 4340 } 4341 r !== null && (t[Zr] = null); 4342 let i = t[rt]; 4343 if (i !== null) { 4344 t[rt] = null; 4345 for (let o = 0; o < i.length; o++) { 4346 let l = i[o]; 4347 l(); 4348 } 4349 } 4350 let s = t[it]; 4351 if (s !== null) { 4352 t[it] = null; 4353 for (let o of s) o.destroy(); 4354 } 4355} 4356function ex(e, t) { 4357 let n; 4358 if (e != null && (n = e.destroyHooks) != null) for (let r = 0; r < n.length; r += 2) { 4359 let i = t[n[r]]; 4360 if (!(i instanceof Un)) { 4361 let s = n[r + 1]; 4362 if (Array.isArray(s)) for (let o = 0; o < s.length; o += 2) { 4363 let l = i[s[o]], u = s[o + 1]; 4364 V(R.LifecycleHookStart, l, u); 4365 try { 4366 u.call(l); 4367 } finally { 4368 V(R.LifecycleHookEnd, l, u); 4369 } 4370 } 4371 else { 4372 V(R.LifecycleHookStart, i, s); 4373 try { 4374 s.call(i); 4375 } finally { 4376 V(R.LifecycleHookEnd, i, s); 4377 } 4378 } 4379 } 4380 } 4381} 4382function Bp(e, t, n) { 4383 return tx(e, t.parent, n); 4384} 4385function tx(e, t, n) { 4386 let r = t; 4387 for (; r !== null && r.type & 168;) t = r, r = t.parent; 4388 if (r === null) return n[ce]; 4389 if (Xe(r)) { 4390 let { encapsulation: i } = e.data[r.directiveStart + r.componentOffset]; 4391 if (i === Ct.None || i === Ct.Emulated) return null; 4392 } 4393 return re(r, n); 4394} 4395function Up(e, t, n) { 4396 return sb(e, t, n); 4397} 4398function nx(e, t, n) { 4399 return e.type & 40 ? re(e, n) : null; 4400} 4401function Xl(e, t, n, r) { 4402 let i = Bp(e, r, t), s = t[D], o = Up(r.parent || t[fe], r, t); 4403 if (i != null) if (Array.isArray(n)) for (let l = 0; l < n.length; l++) gp(s, i, n[l], o, !1); 4404 else gp(s, i, n, o, !1); 4405} 4406function Er(e, t) { 4407 if (t !== null) { 4408 let n = t.type; 4409 if (n & 3) return re(t, e); 4410 if (n & 4) return eu(-1, e[t.index]); 4411 if (n & 8) { 4412 let r = t.child; 4413 if (r !== null) return Er(e, r); 4414 { 4415 let i = e[t.index]; 4416 return xe(i) ? eu(-1, i) : ne(i); 4417 } 4418 } else { 4419 if (n & 128) return Er(e, t.next); 4420 if (n & 32) return Ql(t, e)() || ne(e[t.index]); 4421 { 4422 let r = zp(e, t); 4423 return r !== null ? Array.isArray(r) ? r[0] : Er(Vt(e[te]), r) : Er(e, t.next); 4424 } 4425 } 4426 } 4427 return null; 4428} 4429function zp(e, t) { 4430 if (t !== null) { 4431 let n = e[te][fe], r = t.projection; 4432 return n.projection[r]; 4433 } 4434 return null; 4435} 4436function eu(e, t) { 4437 let n = B + e + 1; 4438 if (n < t.length) { 4439 let r = t[n], i = r[v].firstChild; 4440 if (i !== null) return Er(r, i); 4441 } 4442 return t[st]; 4443} 4444function tu(e, t, n, r, i, s, o) { 4445 for (; n != null;) { 4446 let l = r[H]; 4447 if (n.type === 128) { 4448 n = n.next; 4449 continue; 4450 } 4451 let u = r[n.index], a = n.type; 4452 if (o && t === 0 && (u && Sn(ne(u), r), n.flags |= 2), !Fi(n)) if (a & 8) tu(e, t, n.child, r, i, s, !1), On(t, e, l, i, u, n, s, r); 4453 else if (a & 32) { 4454 let c = Ql(n, r), f; 4455 for (; f = c();) On(t, e, l, i, f, n, s, r); 4456 On(t, e, l, i, u, n, s, r); 4457 } else a & 16 ? Zp(e, t, r, n, i, s) : On(t, e, l, i, u, n, s, r); 4458 n = o ? n.projectionNext : n.next; 4459 } 4460} 4461function Qi(e, t, n, r, i, s) { 4462 e.type === 3 ? rx(n, r, t, i, s) : tu(n, r, e.firstChild, t, i, s, !1); 4463} 4464function rx(e, t, n, r, i) { 4465 let s = n[v].firstChild, o = s.next, l = ne(n[s.index]), u = ne(n[o.index]), a = o.index + 1, c = n[a]; 4466 if (t === 1 || t === 0) r !== null && (c && c.hasChildNodes() ? Ht(e, r, c, i, !0) : (Ht(e, r, l, i, !0), Ht(e, r, u, i, !0))); 4467 else if (t === 2) { 4468 if (c || (c = document.createDocumentFragment(), n[a] = c), l && l.parentNode === c) return; 4469 let f = l; 4470 for (; f !== null;) { 4471 let h = f.nextSibling; 4472 if (c.appendChild(f), f === u) break; 4473 f = h; 4474 } 4475 } 4476} 4477function ix(e, t, n) { 4478 let r = t[D]; 4479 Zp(r, 0, t, n, Bp(e, n, t), Up(n.parent || t[fe], n, t)); 4480} 4481function Zp(e, t, n, r, i, s) { 4482 let o = n[te], l = o[fe].projection[r.projection]; 4483 if (Array.isArray(l)) for (let u = 0; u < l.length; u++) { 4484 let a = l[u]; 4485 On(t, e, n[H], i, a, r, s, n); 4486 } 4487 else { 4488 let u = l, a = o[G]; 4489 Pi(r) && (u.flags |= 128), tu(e, t, u, a, i, s, !0); 4490 } 4491} 4492function sx(e, t, n, r, i, s, o) { 4493 let l = r[st]; 4494 if (l !== ne(r) && On(t, e, n, s, l, i, o), (r[T] & 4) === 0) for (let u = B; u < r.length; u++) { 4495 let a = r[u]; 4496 Qi(a[v], a, e, t, s, l); 4497 } 4498} 4499function ox(e, t, n, r, i) { 4500 if (t) i ? e.addClass(n, r) : e.removeClass(n, r); 4501 else { 4502 let s = r.indexOf("-") === -1 ? void 0 : Xr.DashCase; 4503 i == null ? e.removeStyle(n, r, s) : (typeof i == "string" && i.endsWith("!important") && (i = i.slice(0, -10), s |= Xr.Important), e.setStyle(n, r, i, s)); 4504 } 4505} 4506function nu(e, t, n, r, i, s, o, l, u, a, c) { 4507 let f = A + r, h = f + i, d = lx(f, h), p = typeof a == "function" ? a() : a; 4508 return d[v] = { 4509 type: e, 4510 blueprint: d, 4511 template: n, 4512 queries: null, 4513 viewQuery: l, 4514 declTNode: t, 4515 data: d.slice().fill(null, f), 4516 bindingStartIndex: f, 4517 expandoStartIndex: h, 4518 hostBindingOpCodes: null, 4519 firstCreatePass: !0, 4520 firstUpdatePass: !0, 4521 staticViewQueries: !1, 4522 staticContentQueries: !1, 4523 preOrderHooks: null, 4524 preOrderCheckHooks: null, 4525 contentHooks: null, 4526 contentCheckHooks: null,
4527 viewHooks: null, 4528 viewCheckHooks: null, 4529 destroyHooks: null, 4530 cleanup: null, 4531 contentQueries: null, 4532 components: null, 4533 directiveRegistry: typeof s == "function" ? s() : s, 4534 pipeRegistry: typeof o == "function" ? o() : o, 4535 firstChild: null, 4536 schemas: u, 4537 consts: p, 4538 incompleteFirstPass: !1, 4539 ssrId: c 4540 }; 4541} 4542function lx(e, t) { 4543 let n = []; 4544 for (let r = 0; r < t; r++) n.push(r < e ? null : q); 4545 return n; 4546} 4547function ux(e) { 4548 let t = e.tView; 4549 return t === null || t.incompleteFirstPass ? e.tView = nu(1, null, e.template, e.decls, e.vars, e.directiveDefs, e.pipeDefs, e.viewQuery, e.schemas, e.consts, e.id) : t; 4550} 4551function ru(e, t, n, r, i, s, o, l, u, a, c) { 4552 let f = t.blueprint.slice(); 4553 return f[ce] = i, f[T] = r | 1228, (a !== null || e && e[T] & 2048) && (f[T] |= 2048), Xd(f), f[G] = f[Et] = e, f[W] = n, f[Pe] = o || e && e[Pe], f[D] = l || e && e[D], f[H] = u || e && e[H] || null, f[fe] = s, f[Fe] = bI(), f[de] = c, f[Ea] = a, f[te] = t.type == 2 ? e[te] : f, f; 4554} 4555function ax(e, t, n) { 4556 let r = re(t, e), i = ux(n), s = e[Pe].rendererFactory, o = iu(e, ru(e, i, null, Wp(n), r, t, null, s.createRenderer(r, n), null, null, null)); 4557 return e[t.index] = o; 4558} 4559function Wp(e) { 4560 let t = 16; 4561 return e.signals ? t = 4096 : e.onPush && (t = 64), t; 4562} 4563function Qp(e, t, n, r) { 4564 if (n === 0) return -1; 4565 let i = t.length; 4566 for (let s = 0; s < n; s++) t.push(r), e.blueprint.push(r), e.data.push(null); 4567 return i; 4568} 4569function iu(e, t) { 4570 return e[Ln] ? e[wa][ke] = t : e[Ln] = t, e[wa] = t, t; 4571} 4572function cx(e = 1) { 4573 $p(M(), g(), ae() + e, !1); 4574} 4575function $p(e, t, n, r) { 4576 if (!r) if ((t[T] & 3) === 3) { 4577 let i = e.preOrderCheckHooks; 4578 i !== null && Ai(t, i, n); 4579 } else { 4580 let i = e.preOrderHooks; 4581 i !== null && Ni(t, i, 0, n); 4582 } 4583 Ft(n); 4584} 4585function Bt(e, t, n, r) { 4586 let i = E(null); 4587 try { 4588 let [s, o, l] = e.inputs[n], u = null; 4589 (o & ei.SignalBased) !== 0 && (u = t[s][J]), u !== null && u.transformFn !== void 0 ? r = u.transformFn(r) : l !== null && (r = l.call(t, r)), e.setInput !== null ? e.setInput(t, u, r, n, s) : xh(t, u, s, r); 4590 } finally { 4591 E(i); 4592 } 4593} 4594function Gp(e, t, n, r, i) { 4595 let s = ae(), o = r & 2; 4596 try { 4597 Ft(-1), o && t.length > A && $p(e, t, A, !1), V(o ? R.TemplateUpdateStart : R.TemplateCreateStart, i, n), n(r, i); 4598 } finally { 4599 Ft(s), V(o ? R.TemplateUpdateEnd : R.TemplateCreateEnd, i, n); 4600 } 4601} 4602function $i(e, t, n) { 4603 yx(e, t, n), (n.flags & 64) === 64 && mx(e, t, n); 4604} 4605function An(e, t, n = re) { 4606 let r = t.localNames; 4607 if (r !== null) { 4608 let i = t.index + 1; 4609 for (let s = 0; s < r.length; s += 2) { 4610 let o = r[s + 1], l = o === -1 ? n(t, e) : e[o]; 4611 e[i++] = l; 4612 } 4613 } 4614} 4615function fx(e, t, n, r) { 4616 let i = r.get(Ja, Ka) || n === Ct.ShadowDom || n === Ct.ExperimentalIsolatedShadowDom, s = e.selectRootElement(t, i); 4617 return dx(s), s; 4618} 4619function dx(e) { 4620 bc(e); 4621} 4622function hx(e) { 4623 Zh(e) ? yp(e) : RI(e); 4624} 4625function px() { 4626 bc = hx; 4627} 4628function gx(e) { 4629 return e === "class" ? "className" : e === "for" ? "htmlFor" : e === "formaction" ? "formAction" : e === "innerHtml" ? "innerHTML" : e === "readonly" ? "readOnly" : e === "tabindex" ? "tabIndex" : e; 4630} 4631function Kp(e, t, n, r, i, s) { 4632 let o = t[v]; 4633 if (Ji(e, o, t, n, r)) { 4634 Xe(e) && Jp(t, e.index); 4635 return; 4636 } 4637 e.type & 3 && (n = gx(n)), su(e, t, n, r, i, s); 4638} 4639function su(e, t, n, r, i, s) { 4640 if (e.type & 3) { 4641 let o = re(e, t); 4642 r = s != null ? s(r, e.value || "", n) : r, i.setProperty(o, n, r); 4643 } else e.type & 12; 4644} 4645function Jp(e, t) { 4646 let n = De(t, e); 4647 n[T] & 16 || (n[T] |= 64); 4648} 4649function yx(e, t, n) { 4650 let r = n.directiveStart, i = n.directiveEnd; 4651 Xe(n) && ax(t, n, e.data[r + n.componentOffset]), e.firstCreatePass || ji(n, t); 4652 let s = n.initialInputs; 4653 for (let o = r; o < i; o++) { 4654 let l = e.data[o], u = br(t, e, o, n); 4655 if (Sn(u, t), s !== null && _x(t, o - r, u, l, n, s), Ne(l)) { 4656 let a = De(n.index, t); 4657 a[W] = br(t, e, o, n); 4658 } 4659 } 4660} 4661function mx(e, t, n) { 4662 let r = n.directiveStart, i = n.directiveEnd, s = n.index, o = ME(); 4663 try { 4664 Ft(s); 4665 for (let l = r; l < i; l++) { 4666 let u = e.data[l], a = t[l]; 4667 bl(l), (u.hostBindings !== null || u.hostVars !== 0 || u.hostAttrs !== null) && vx(u, a); 4668 } 4669 } finally { 4670 Ft(-1), bl(o); 4671 } 4672} 4673function vx(e, t) { 4674 e.hostBindings !== null && e.hostBindings(1, t); 4675} 4676function ou(e, t) { 4677 let n = e.directiveRegistry, r = null; 4678 if (n) for (let i = 0; i < n.length; i++) { 4679 let s = n[i]; 4680 wp(t, s.selectors, !1) && (r ??= [], Ne(s) ? r.unshift(s) : r.push(s)); 4681 } 4682 return r; 4683} 4684function bx(e, t, n, r, i, s) { 4685 let o = re(e, t); 4686 Yp(t[D], o, s, e.value, n, r, i); 4687} 4688function Yp(e, t, n, r, i, s, o) { 4689 if (s == null) o?.(s, r || "", i), e.removeAttribute(t, i, n); 4690 else { 4691 let l = o == null ? L(s) : o(s, r || "", i); 4692 e.setAttribute(t, i, l, n); 4693 } 4694} 4695function _x(e, t, n, r, i, s) { 4696 let o = s[t]; 4697 if (o !== null) for (let l = 0; l < o.length; l += 2) { 4698 let u = o[l], a = o[l + 1]; 4699 Bt(r, n, u, a); 4700 } 4701} 4702function Gi(e, t, n, r, i) { 4703 let s = A + n, o = t[v], l = i(o, t, e, r, n); 4704 t[s] = l, xn(e, !0); 4705 let u = e.type === 2; 4706 return u ? (mp(t[D], l, e), (xE() === 0 || pr(e)) && Sn(l, t), CE()) : Sn(l, t), Tl() && (!u || !Fi(e)) && Xl(o, t, l, e), e; 4707} 4708function Ki(e) { 4709 let t = e; 4710 return lh() ? uh() : (t = t.parent, xn(t, !1)), t; 4711} 4712function wx(e, t, n) { 4713 return (e === null || Ne(e)) && (n = _E(n[t.index])), n[D]; 4714} 4715function lu(e, t) { 4716 let n = e[H]; 4717 if (!n) return; 4718 let r; 4719 try { 4720 r = n.get(Tt, null); 4721 } catch { 4722 r = null; 4723 } 4724 r?.(t); 4725} 4726function Ji(e, t, n, r, i) { 4727 let s = e.inputs?.[r], o = e.hostDirectiveInputs?.[r], l = !1; 4728 if (o) for (let u = 0; u < o.length; u += 2) { 4729 let a = o[u], c = o[u + 1], f = t.data[a]; 4730 Bt(f, n[a], c, i), l = !0; 4731 } 4732 if (s) for (let u of s) { 4733 let a = n[u], c = t.data[u]; 4734 Bt(c, a, r, i), l = !0; 4735 } 4736 return l; 4737} 4738function Xp(e, t, n, r, i, s) { 4739 let o = null, l = null, u = null, a = !1, c = e.directiveToIndex.get(r.type); 4740 if (typeof c == "number" ? o = c : [o, l, u] = c, l !== null && u !== null && e.hostDirectiveInputs && Object.hasOwn(e.hostDirectiveInputs, i)) { 4741 let f = e.hostDirectiveInputs[i]; 4742 for (let h = 0; h < f.length; h += 2) { 4743 let d = f[h]; 4744 if (d >= l && d <= u) { 4745 let p = t.data[d], y = f[h + 1]; 4746 Bt(p, n[d], y, s), a = !0; 4747 } else if (d > u) break; 4748 } 4749 } 4750 return o !== null && Object.hasOwn(r.inputs, i) && (Bt(r, n[o], i, s), a = !0), a; 4751} 4752function Ex(e, t) { 4753 let n = De(t, e), r = n[v]; 4754 Ix(r, n); 4755 let i = n[ce]; 4756 i !== null && n[de] === null && (n[de] = Jh(i, n[H])), V(R.ComponentStart); 4757 try { 4758 uu(r, n, n[W]); 4759 } finally { 4760 V(R.ComponentEnd, n[W]); 4761 } 4762} 4763function Ix(e, t) { 4764 for (let n = t.length; n < e.blueprint.length; n++) t.push(e.blueprint[n]); 4765} 4766function uu(e, t, n) { 4767 wl(t); 4768 try { 4769 let r = e.viewQuery; 4770 r !== null && Hl(1, r, n); 4771 let i = e.template; 4772 i !== null && Gp(e, t, i, 1, n), e.firstCreatePass && (e.firstCreatePass = !1), t[Ze]?.finishViewCreation(e), e.staticContentQueries && np(e, t), e.staticViewQueries && Hl(2, e.viewQuery, n); 4773 let s = e.components; 4774 s !== null && Tx(t, s); 4775 } catch (r) { 4776 throw e.firstCreatePass && (e.incompleteFirstPass = !0, e.firstCreatePass = !1), r; 4777 } finally { 4778 t[T] &= -5, El(); 4779 } 4780} 4781function Tx(e, t) { 4782 for (let n = 0; n < t.length; n++) Ex(e, t[n]); 4783} 4784function Nn(e, t, n, r) { 4785 let i = E(null); 4786 try {
4787 let s = t.tView, o = ru(e, s, n, e[T] & 4096 ? 4096 : 16, null, t, null, null, r?.injector ?? null, r?.embeddedViewInjector ?? null, r?.dehydratedView ?? null); 4788 o[It] = e[t.index]; 4789 let l = e[Ze]; 4790 return l !== null && (o[Ze] = l.createEmbeddedView(s)), uu(s, o, n), o; 4791 } finally { 4792 E(i); 4793 } 4794} 4795function Ut(e, t) { 4796 return !t || t.firstChild === null || Pi(e); 4797} 4798function Yi(e, t, n, r, i = !1) { 4799 if (e.type === 3) { 4800 let s = e.firstChild, o = s.next, l = ne(t[s.index]), u = ne(t[o.index]), a = l; 4801 for (; a !== null && (r.push(a), a !== u);) a = a.nextSibling; 4802 return r; 4803 } 4804 for (; n !== null;) { 4805 if (n.type === 128) { 4806 n = i ? n.projectionNext : n.next; 4807 continue; 4808 } 4809 let s = t[n.index]; 4810 if (s !== null) if (xe(s)) { 4811 let l = s[st]; 4812 l !== s[ce] && r.push(ne(s)), s[T] & 4 || xx(s, r), r.push(l); 4813 } else r.push(ne(s)); 4814 let o = n.type; 4815 if (o & 8) Yi(e, t, n.child, r); 4816 else if (o & 32) { 4817 let l = Ql(n, t), u; 4818 for (; u = l();) r.push(u); 4819 } else if (o & 16) { 4820 let l = zp(t, n); 4821 if (Array.isArray(l)) r.push(...l); 4822 else { 4823 let u = Vt(t[te]); 4824 Yi(u[v], u, l, r, !0); 4825 } 4826 } 4827 n = i ? n.projectionNext : n.next; 4828 } 4829 return r; 4830} 4831function xx(e, t) { 4832 for (let n = B; n < e.length; n++) { 4833 let r = e[n], i = r[v].firstChild; 4834 i !== null && Yi(r[v], r, i, t); 4835 } 4836} 4837function eg(e) { 4838 if (e[sn] !== null) { 4839 for (let t of e[sn]) t.impl.addSequence(t); 4840 e[sn].length = 0; 4841 } 4842} 4843function Cx(e) { 4844 return e[we] ?? kx(e); 4845} 4846function kx(e) { 4847 let t = _c.pop() ?? Object.create(ob); 4848 return t.lView = e, t; 4849} 4850function Sx(e) { 4851 e.lView[we] !== e && (e.lView = null, _c.push(e)); 4852} 4853function Ox(e) { 4854 let t = e[we] ?? Object.create(lb); 4855 return t.lView = e, t; 4856} 4857function tg(e) { 4858 return e.type !== 2; 4859} 4860function ng(e) { 4861 if (e[it] === null) return; 4862 let t = !0; 4863 for (; t;) { 4864 let n = !1; 4865 for (let r of e[it]) if (r.dirty && (n = !0, r.zone === null || Zone.current === r.zone ? r.run() : r.zone.run(() => r.run()), e[it] === null)) return; 4866 t = n && !!(e[T] & 8192); 4867 } 4868} 4869function rg(e, t = 0) { 4870 let n = e[Pe].rendererFactory; 4871 n.begin?.(); 4872 try { 4873 Ax(e, t); 4874 } finally { 4875 n.end?.(); 4876 } 4877} 4878function Ax(e, t) { 4879 let n = ch(); 4880 try { 4881 Ci(!0), au(e, t); 4882 let r = 0; 4883 for (; Ti(e);) { 4884 if (r === ub) throw new x(103, !1); 4885 r++, au(e, 1); 4886 } 4887 } finally { 4888 Ci(n); 4889 } 4890} 4891function Nx(e, t, n, r) { 4892 if (Mt(t)) return; 4893 let i = t[T]; 4894 wl(t); 4895 let s = !0, o = null, l = null; 4896 tg(e) ? (l = Cx(t), o = _n(l)) : V1() === null ? (s = !1, l = Ox(t), o = _n(l)) : t[we] && (ur(t[we]), t[we] = null); 4897 try { 4898 Xd(t), NE(e.bindingStartIndex), n !== null && Gp(e, t, n, 2, r); 4899 let u = (i & 3) === 3; 4900 if (u) { 4901 let f = e.preOrderCheckHooks; 4902 f !== null && Ai(t, f, null); 4903 } else { 4904 let f = e.preOrderHooks; 4905 f !== null && Ni(t, f, 0, null), Ol(t, 0); 4906 } 4907 if (Dx(t), ng(t), ig(t, 0), e.contentQueries !== null && np(e, t), u) { 4908 let f = e.contentCheckHooks; 4909 f !== null && Ai(t, f); 4910 } else { 4911 let f = e.contentHooks; 4912 f !== null && Ni(t, f, 1), Ol(t, 1); 4913 } 4914 Mx(e, t); 4915 let a = e.components; 4916 a !== null && og(t, a, 0); 4917 let c = e.viewQuery; 4918 if (c !== null && Hl(2, c, r), u) { 4919 let f = e.viewCheckHooks; 4920 f !== null && Ai(t, f); 4921 } else { 4922 let f = e.viewHooks; 4923 f !== null && Ni(t, f, 2), Ol(t, 2); 4924 } 4925 if (e.firstUpdatePass === !0 && (e.firstUpdatePass = !1), t[Ls]) { 4926 for (let f of t[Ls]) f(); 4927 t[Ls] = null; 4928 } 4929 eg(t), t[T] &= -73; 4930 } catch (u) { 4931 throw Tn(t), u; 4932 } finally { 4933 l !== null && (lr(l, o), s && Sx(l)), El(); 4934 } 4935} 4936function ig(e, t) { 4937 for (let n = Wh(e); n !== null; n = Qh(n)) for (let r = B; r < n.length; r++) { 4938 let i = n[r]; 4939 sg(i, t); 4940 } 4941} 4942function Dx(e) { 4943 for (let t = Wh(e); t !== null; t = Qh(t)) { 4944 if (!(t[T] & 2)) continue; 4945 let n = t[on]; 4946 for (let r = 0; r < n.length; r++) { 4947 let i = n[r]; 4948 gl(i); 4949 } 4950 } 4951} 4952function Rx(e, t, n) { 4953 V(R.ComponentStart); 4954 let r = De(t, e); 4955 try { 4956 sg(r, n); 4957 } finally { 4958 V(R.ComponentEnd, r[W]); 4959 } 4960} 4961function sg(e, t) { 4962 pl(e) && au(e, t); 4963} 4964function au(e, t) { 4965 let n = e[v], r = e[T], i = e[we], s = !!(t === 0 && r & 16); 4966 if (s ||= !!(r & 64 && t === 0), s ||= !!(r & 1024), s ||= !!(i?.dirty && mi(i)), s ||= !1, i && (i.dirty = !1), e[T] &= -9217, s) Nx(n, e, n.template, e[W]); 4967 else if (r & 8192) { 4968 let o = E(null); 4969 try { 4970 ng(e), ig(e, 1); 4971 let l = n.components; 4972 l !== null && og(e, l, 1), eg(e); 4973 } finally { 4974 E(o); 4975 } 4976 } 4977} 4978function og(e, t, n) { 4979 for (let r = 0; r < t.length; r++) Rx(e, t[r], n); 4980} 4981function Mx(e, t) { 4982 let n = e.hostBindingOpCodes; 4983 if (n !== null) try { 4984 for (let r = 0; r < n.length; r++) { 4985 let i = n[r]; 4986 if (i < 0) Ft(~i); 4987 else { 4988 let s = i, o = n[++r], l = n[++r]; 4989 RE(o, s); 4990 let u = t[s]; 4991 V(R.HostBindingsUpdateStart, u);
4992 try { 4993 l(2, u); 4994 } finally { 4995 V(R.HostBindingsUpdateEnd, u); 4996 } 4997 } 4998 } 4999 } finally { 5000 Ft(-1); 5001 } 5002} 5003function Xi(e, t) { 5004 let n = ch() ? 64 : 1088; 5005 for (e[Pe].changeDetectionScheduler?.notify(t); e;) { 5006 e[T] |= n; 5007 let r = Vt(e); 5008 if (gr(e) && !r) return e; 5009 e = r; 5010 } 5011 return null; 5012} 5013function lg(e, t, n, r) { 5014 return [ 5015 e, 5016 !0, 5017 0, 5018 t, 5019 null, 5020 r, 5021 null, 5022 n, 5023 null, 5024 null 5025 ]; 5026} 5027function ug(e, t) { 5028 let n = B + t; 5029 if (n < e.length) return e[n]; 5030} 5031function Dn(e, t, n, r = !0) { 5032 let i = t[v]; 5033 if (jx(i, t, e, n), r) { 5034 let o = eu(n, e), l = t[D], u = l.parentNode(e[st]); 5035 u !== null && JT(i, e[fe], l, t, u, o); 5036 } 5037 let s = t[de]; 5038 s !== null && s.firstChild !== null && (s.firstChild = null); 5039} 5040function cu(e, t) { 5041 let n = Ir(e, t); 5042 return n !== void 0 && Wi(n[v], n), n; 5043} 5044function Ir(e, t) { 5045 if (e.length <= B) return; 5046 let n = B + t, r = e[n]; 5047 if (r) { 5048 let i = r[It]; 5049 i !== null && i !== e && Jl(i, r), t > 0 && (e[n - 1][ke] = r[ke]); 5050 let s = wi(e, B + t); 5051 KT(r[v], r); 5052 let o = s[Ze]; 5053 o !== null && o.detachView(s[v]), r[G] = null, r[ke] = null, r[T] &= -129; 5054 } 5055 return r; 5056} 5057function jx(e, t, n, r) { 5058 let i = B + r, s = n.length; 5059 r > 0 && (n[i - 1][ke] = t), r < s - B ? (t[ke] = n[i], zd(n, B + r, t)) : (n.push(t), t[ke] = null), t[G] = n; 5060 let o = t[It]; 5061 o !== null && n !== o && ag(o, t); 5062 let l = t[Ze]; 5063 l !== null && l.insertView(e), yl(t), t[T] |= 128; 5064} 5065function ag(e, t) { 5066 let n = e[on], r = t[G]; 5067 if (Ae(r)) e[T] |= 2; 5068 else { 5069 let i = r[G][te]; 5070 t[te] !== i && (e[T] |= 2); 5071 } 5072 n === null ? e[on] = [t] : n.push(t); 5073} 5074function Vx() { 5075 return es(F(), g()); 5076} 5077function es(e, t) { 5078 return e.type & 4 ? new Xn(t, e, kn(e, t)) : null; 5079} 5080function zt(e, t, n, r, i) { 5081 let s = e.data[t]; 5082 if (s === null) s = Px(e, t, n, r, i), DE() && (s.flags |= 32); 5083 else if (s.type & 64) { 5084 s.type = n, s.value = r, s.attrs = i; 5085 let o = AE(); 5086 s.injectorIndex = o === null ? -1 : o.injectorIndex; 5087 } 5088 return xn(s, !0), s; 5089} 5090function Px(e, t, n, r, i) { 5091 let s = oh(), o = lh(), l = o ? s : s && s.parent, u = e.data[t] = Lx(e, l, n, t, r, i); 5092 return Fx(e, u, s, o), u; 5093} 5094function Fx(e, t, n, r) { 5095 e.firstChild === null && (e.firstChild = t), n !== null && (r ? n.child == null && t.parent !== null && (n.child = t) : n.next === null && (n.next = t, t.prev = n)); 5096} 5097function Lx(e, t, n, r, i, s) { 5098 let o = t ? t.injectorIndex : -1, l = 0; 5099 return vl() && (l |= 128), { 5100 type: n, 5101 index: r, 5102 insertBeforeIndex: null, 5103 injectorIndex: o, 5104 directiveStart: -1, 5105 directiveEnd: -1, 5106 directiveStylingLast: -1, 5107 componentOffset: -1, 5108 controlDirectiveIndex: -1, 5109 customControlIndex: -1, 5110 propertyBindings: null, 5111 flags: l, 5112 providerIndexes: 0, 5113 value: i, 5114 namespace: Il(), 5115 attrs: s, 5116 mergedAttrs: null, 5117 localNames: null, 5118 initialInputs: null, 5119 inputs: null, 5120 hostDirectiveInputs: null, 5121 outputs: null, 5122 hostDirectiveOutputs: null, 5123 directiveToIndex: null, 5124 tView: null, 5125 next: null, 5126 prev: null, 5127 projectionNext: null, 5128 child: null, 5129 parent: t, 5130 projection: null, 5131 styles: null, 5132 stylesWithoutHost: null, 5133 residualStyles: void 0, 5134 classes: null, 5135 classesWithoutHost: null, 5136 residualClasses: void 0, 5137 classBindings: 0, 5138 styleBindings: 0 5139 }; 5140} 5141function Hx(e) { 5142 let [t, n, r, i] = e.match(ab), s = n ? parseInt(n, 10) : r, o = []; 5143 for (let [l, u, a] of i.matchAll(/(f|n)(\d*)/g)) { 5144 let c = parseInt(a, 10) || 1; 5145 o.push(u, c); 5146 } 5147 return [s, ...o]; 5148} 5149function qx(e) { 5150 return !e.prev && e.parent?.type === 8; 5151} 5152function fu(e) { 5153 return e.index - A; 5154} 5155function Bx(e, t) { 5156 let n = e.i18nNodes; 5157 if (n) return n.get(t); 5158} 5159function ts(e, t, n, r) { 5160 let i = fu(r), s = Bx(e, i); 5161 if (s === void 0) { 5162 let o = e.data[k0]; 5163 if (o?.[i]) s = zx(o[i], n); 5164 else if (t.firstChild === r) s = e.firstChild; 5165 else { 5166 let l = r.prev === null, u = r.prev ?? r.parent; 5167 if (qx(r)) s = Vl(e, fu(r.parent)); 5168 else { 5169 let a = re(u, n); 5170 if (l) s = a.firstChild; 5171 else { 5172 let c = fu(u), f = Vl(e, c); 5173 u.type === 2 && f ? s = ns(Fl(e, c) + 1, f) : s = a.nextSibling; 5174 } 5175 } 5176 } 5177 } 5178 return s; 5179} 5180function ns(e, t) { 5181 let n = t; 5182 for (let r = 0; r < e; r++) n = n.nextSibling; 5183 return n; 5184} 5185function Ux(e, t) { 5186 let n = e; 5187 for (let r = 0; r < t.length; r += 2) { 5188 let i = t[r], s = t[r + 1]; 5189 for (let o = 0; o < s; o++) switch (i) { 5190 case E0: 5191 n = n.firstChild; 5192 break; 5193 case I0: n = n.nextSibling; 5194 } 5195 } 5196 return n; 5197} 5198function zx(e, t) { 5199 let [n, ...r] = Hx(e), i; 5200 return n === za ? i = t[te][ce] : n === Za ? i = bT(t[te][ce]) : i = ne(t[Number(n) + A]), Ux(i, r); 5201} 5202function Zx(e, t) { 5203 let n = e.createNodeIterator(t, NodeFilter.SHOW_COMMENT, { acceptNode: Wx }), r, i = /* @__PURE__ */ new Map(); 5204 for (; r = n.nextNode();) { 5205 let s = "ngh=", o = r?.textContent, l = o?.indexOf(s) ?? -1; 5206 if (l > -1) { 5207 let u = o.substring(l + 4).trim(); 5208 i.set(u, r); 5209 } 5210 } 5211 return i; 5212} 5213function Wx(e) { 5214 return e.textContent?.trimStart().startsWith("ngh=") ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT; 5215} 5216function Qx(e) { 5217 let t = e[de]; 5218 if (t) { 5219 let { i18nNodes: n, dehydratedIcuData: r } = t; 5220 if (n && r) { 5221 let i = e[D]; 5222 for (let s of r.values()) $x(i, n, s); 5223 } 5224 t.i18nNodes = void 0, t.dehydratedIcuData = void 0; 5225 } 5226} 5227function $x(e, t, n) { 5228 for (let r of n.node.cases[n.case]) { 5229 let i = t.get(r.index - A); 5230 i && zl(e, i, !1); 5231 } 5232} 5233function rs(e) { 5234 let t = e[Ee] ?? [], n = e[G][D], r = []; 5235 for (let i of t) i.data[$a] !== void 0 ? r.push(i) : cg(i, n); 5236 e[Ee] = r; 5237} 5238function Gx(e) { 5239 let { lContainer: t } = e, n = t[Ee]; 5240 if (n === null) return; 5241 let r = t[G][D]; 5242 for (let i of n) cg(i, r); 5243} 5244function cg(e, t) { 5245 let n = 0, r = e.firstChild; 5246 if (r) { 5247 let i = e.data[Wn]; 5248 for (; n < i;) { 5249 let s = r.nextSibling; 5250 zl(t, r, !1), r = s, n++; 5251 } 5252 } 5253} 5254function is(e) { 5255 rs(e); 5256 let t = e[ce]; 5257 Ae(t) && ss(t); 5258 for (let n = B; n < e.length; n++) ss(e[n]); 5259} 5260function ss(e) { 5261 Qx(e); 5262 let t = e[v]; 5263 for (let n = A; n < t.bindingStartIndex; n++) if (xe(e[n])) { 5264 let r = e[n]; 5265 is(r); 5266 } else Ae(e[n]) && ss(e[n]); 5267} 5268function fg(e) { 5269 let t = e._views; 5270 for (let n of t) { 5271 let r = NI(n); 5272 r !== null && r[ce] !== null && (Ae(r) ? ss(r) : is(r)); 5273 } 5274} 5275function Kx(e, t, n, r) { 5276 e !== null && (n.cleanup(t), is(e.lContainer), fg(r)); 5277} 5278function Jx(e, t) { 5279 let n = []; 5280 for (let r of t) for (let i = 0; i < (r[Wa] ?? 1); i++) { 5281 let s = { 5282 data: r, 5283 firstChild: null 5284 }; 5285 r[Wn] > 0 && (s.firstChild = e, e = ns(r[Wn], e)), n.push(s); 5286 } 5287 return [e, n]; 5288} 5289function Yx() { 5290 wc = Xx, Ec = eC; 5291} 5292function Xx(e, t) { 5293 return hg(e, t) ? e[Ee].shift() : (rs(e), null); 5294} 5295function Tr(e, t) { 5296 return wc(e, t); 5297} 5298function eC(e, t, n) { 5299 if (t.tView.ssrId === null) return null; 5300 let r = Tr(e, t.tView.ssrId); 5301 return n[v].firstUpdatePass && r === null && tC(n, t), r; 5302} 5303function dg(e, t, n) { 5304 return Ec(e, t, n); 5305} 5306function tC(e, t) { 5307 let n = t; 5308 for (; n;) { 5309 if (pg(e, n)) return; 5310 if ((n.flags & 256) === 256) break; 5311 n = n.prev; 5312 } 5313 for (n = t.next; n && (n.flags & 512) === 512;) { 5314 if (pg(e, n)) return; 5315 n = n.next; 5316 } 5317} 5318function hg(e, t) { 5319 let n = e[Ee]; 5320 return !t || n === null || n.length === 0 ? !1 : n[0].data[C0] === t; 5321} 5322function pg(e, t) {
5323 let n = t.tView?.ssrId; 5324 if (n == null) return !1; 5325 let r = e[t.index]; 5326 return xe(r) && hg(r, n) ? (rs(r), !0) : !1; 5327} 5328function nC() { 5329 let e = g(), t = De(F().index, e); 5330 return (Ae(t) ? t : e)[D]; 5331} 5332function gg(e) { 5333 return e.debugInfo?.className || e.type.name || null; 5334} 5335function yg(e) { 5336 return du(e) ? Array.isArray(e) || !(e instanceof Map) && Symbol.iterator in e : !1; 5337} 5338function rC(e, t) { 5339 if (Array.isArray(e)) for (let n = 0; n < e.length; n++) t(e[n]); 5340 else { 5341 let n = e[Symbol.iterator](), r; 5342 for (; !(r = n.next()).done;) t(r.value); 5343 } 5344} 5345function du(e) { 5346 return e !== null && (typeof e == "function" || typeof e == "object"); 5347} 5348function He(e, t, n) { 5349 return e[t] = n; 5350} 5351function xr(e, t) { 5352 return e[t]; 5353} 5354function U(e, t, n) { 5355 if (n === q) return !1; 5356 let r = e[t]; 5357 return Object.is(r, n) ? !1 : (e[t] = n, !0); 5358} 5359function Zt(e, t, n, r) { 5360 let i = U(e, t, n); 5361 return U(e, t + 1, r) || i; 5362} 5363function hu(e, t, n, r, i) { 5364 let s = Zt(e, t, n, r); 5365 return U(e, t + 2, i) || s; 5366} 5367function tt(e, t, n, r, i, s) { 5368 let o = Zt(e, t, n, r); 5369 return Zt(e, t + 2, i, s) || o; 5370} 5371function pt(e, t, n) { 5372 return function r(i) { 5373 let s = r.__ngNativeEl__; 5374 s !== void 0 && xI(i, s), Xi(Xe(e) ? De(e.index, t) : t, 5); 5375 let o = t[W], l = mg(t, o, n, i), u = r.__ngNextListenerFn__; 5376 for (; u;) l = mg(t, o, u, i) && l, u = u.__ngNextListenerFn__; 5377 return l; 5378 }; 5379} 5380function mg(e, t, n, r) { 5381 let i = E(null); 5382 try { 5383 return V(R.OutputStart, t, n), n(r) !== !1; 5384 } catch (s) { 5385 return lu(e, s), !1; 5386 } finally { 5387 V(R.OutputEnd, t, n), E(i); 5388 } 5389} 5390function pu(e, t, n, r, i, s, o, l) { 5391 let u = pr(e), a = !1, c = null; 5392 if (!r && u && (c = sC(t, n, s, e.index)), c !== null) { 5393 let f = c.__ngLastListenerFn__ || c; 5394 f.__ngNextListenerFn__ = o, c.__ngLastListenerFn__ = o, a = !0; 5395 } else { 5396 let f = re(e, n), h = r ? r(f) : f; 5397 kI(n, h, s, l), r || (l.__ngNativeEl__ = f); 5398 let d = i.listen(h, s, l); 5399 iC(s) || vg(r ? (p) => r(ne(p[e.index])) : e.index, t, n, s, l, d, !1); 5400 } 5401 return a; 5402} 5403function iC(e) { 5404 return e.startsWith("animation") || e.startsWith("transition"); 5405} 5406function sC(e, t, n, r) { 5407 let i = e.cleanup; 5408 if (i != null) for (let s = 0; s < i.length - 1; s += 2) { 5409 let o = i[s]; 5410 if (o === n && i[s + 1] === r) { 5411 let l = t[Zr], u = i[s + 2]; 5412 return l && l.length > u ? l[u] : null; 5413 } 5414 typeof o == "string" && (s += 2); 5415 } 5416 return null; 5417} 5418function vg(e, t, n, r, i, s, o) { 5419 let l = t.firstCreatePass ? nh(t) : null, u = th(n), a = u.length; 5420 u.push(i, s), l && l.push(r, e, a, (a + 1) * (o ? -1 : 1)); 5421} 5422function oC(e, t, n, r, i) { 5423 gu(e, t, r, i, pt(e, t, n)); 5424} 5425function gu(e, t, n, r, i) { 5426 let s = null, o = null, l = null, u = !1, a = e.directiveToIndex.get(n.type); 5427 if (typeof a == "number" ? s = a : [s, o, l] = a, o !== null && l !== null && e.hostDirectiveOutputs && Object.hasOwn(e.hostDirectiveOutputs, r)) { 5428 let c = e.hostDirectiveOutputs[r]; 5429 for (let f = 0; f < c.length; f += 2) { 5430 let h = c[f]; 5431 if (h >= o && h <= l) u = !0, os(e, t, h, c[f + 1], r, i); 5432 else if (h > l) break; 5433 } 5434 } 5435 return Object.hasOwn(n.outputs, r) && (u = !0, os(e, t, s, r, r, i)), u; 5436} 5437function os(e, t, n, r, i, s) { 5438 let o = t[n], l = t[v], u = o[l.data[n].outputs[r]].subscribe(s); 5439 vg(e.index, l, t, i, s, u, !0); 5440} 5441function lC() { 5442 bg(); 5443} 5444function bg() { 5445 let e = g(), t = M(), n = F(); 5446 if (t.firstCreatePass && aC(t, n), n.controlDirectiveIndex === -1) return; 5447 ie("NgSignalForms"); 5448 let r = e[n.controlDirectiveIndex]; 5449 t.data[n.controlDirectiveIndex].controlDef.create(r, new Ic(e, t, n)); 5450} 5451function uC() { 5452 _g(); 5453} 5454function _g() { 5455 let e = g(), t = M(), n = Re(); 5456 if (n.controlDirectiveIndex === -1) return; 5457 let r = t.data[n.controlDirectiveIndex].controlDef, i = e[n.controlDirectiveIndex]; 5458 r.update(i, new Ic(e, t, n)); 5459} 5460function wg(e) { 5461 return typeof e == "function" && "ɵdir" in e ? e.ɵdir.hostDirectives ?? null : null; 5462} 5463function aC(e, t, n) { 5464 for (let i = t.directiveStart; i < t.directiveEnd; i++) if (e.data[i].controlDef) { 5465 t.controlDirectiveIndex = i; 5466 break; 5467 } 5468 if (t.controlDirectiveIndex === -1) return; 5469 let r = e.data[t.controlDirectiveIndex].controlDef; 5470 if (r.passThroughInput && (t.inputs?.[r.passThroughInput]?.length ?? 0) > 1) { 5471 t.flags |= 4096; 5472 return; 5473 } 5474 cC(e, t); 5475} 5476function cC(e, t) { 5477 for (let n = t.directiveStart; n < t.directiveEnd; n++) { 5478 let r = e.data[n]; 5479 if (!(t.directiveToIndex && !t.directiveToIndex.has(r.type))) { 5480 if (Eg(r, "value")) { 5481 t.flags |= 1024, t.customControlIndex = n; 5482 return; 5483 } 5484 if (Eg(r, "checked")) { 5485 t.flags |= 2048, t.customControlIndex = n; 5486 return; 5487 } 5488 } 5489 } 5490 if (t.hostDirectiveInputs !== null && t.hostDirectiveOutputs !== null && t.directiveToIndex !== null) { 5491 let n = (r, i) => { 5492 let s = t.hostDirectiveInputs[r], o = t.hostDirectiveOutputs[r + "Change"]; 5493 if (!s || !o) return !1; 5494 for (let l = 0; l < s.length; l += 2) { 5495 let u = s[l]; 5496 for (let a = 0; a < o.length; a += 2) if (u === o[a]) for (let c of t.directiveToIndex.values()) { 5497 if (!Array.isArray(c)) continue; 5498 let [f, h, d] = c; 5499 if (u >= h && u <= d) return t.flags |= i, t.customControlIndex = f, !0; 5500 } 5501 } 5502 return !1; 5503 }; 5504 if (n("value", 1024) || n("checked", 2048)) return; 5505 } 5506} 5507function Eg(e, t) { 5508 return fC(e, t) && dC(e, t + "Change"); 5509} 5510function fC(e, t) { 5511 return t in e.inputs; 5512} 5513function dC(e, t) { 5514 return t in e.outputs; 5515} 5516function Ig(e, t, n) { 5517 let r = g(); 5518 if (U(r, _e(), n)) { 5519 let i = r[v], s = Re(); 5520 Xi(De(s.index, r), 1); 5521 let o = i.directiveRegistry[e]; 5522 Xp(s, i, r, o, t, n); 5523 } 5524} 5525function hC(e, t) { 5526 if (e === "formField") { 5527 let r = { 5528 [fn]: Tc, 5529 create: () => { 5530 bg(); 5531 }, 5532 update: () => { 5533 Ig(r.targetIdx, e, t()), _g(); 5534 } 5535 }; 5536 return r; 5537 } 5538 let n = { 5539 [fn]: Tc, 5540 update: () => Ig(n.targetIdx, e, t()) 5541 }; 5542 return n; 5543} 5544function pC(e, t) { 5545 let n = { 5546 [fn]: hb, 5547 create: () => { 5548 let r = g(), i = F(), s = r[v].directiveRegistry[n.targetIdx]; 5549 oC(i, r, t, s, e); 5550 } 5551 }; 5552 return n; 5553} 5554function ls(e, t, n) { 5555 let r = n ? e.styles : null, i = n ? e.classes : null, s = 0; 5556 if (t !== null) for (let o = 0; o < t.length; o++) { 5557 let l = t[o]; 5558 if (typeof l == "number") s = l; 5559 else if (s == 1) i = Xo(i, l); 5560 else if (s == 2) { 5561 let u = l, a = t[++o]; 5562 r = Xo(r, u + ": " + a + ";"); 5563 } 5564 } 5565 n ? e.styles = r : e.stylesWithoutHost = r, n ? e.classes = i : e.classesWithoutHost = i; 5566} 5567function Cr(e, t = 0) { 5568 let n = g(); 5569 return n === null ? be(e, t) : Ph(F(), n, ee(e), t); 5570} 5571function gC() { 5572 throw new Error("invalid"); 5573} 5574function Tg(e, t, n, r, i) { 5575 let s = r === null ? null : { "": -1 }, o = i(e, n); 5576 if (o !== null) { 5577 let l = o, u = null, a = null; 5578 for (let c of o) if (c.resolveHostDirectives !== null) { 5579 [l, u, a] = c.resolveHostDirectives(o); 5580 break; 5581 } 5582 vC(e, t, n, l, s, u, a); 5583 } 5584 s !== null && r !== null && yC(n, r, s); 5585} 5586function yC(e, t, n) { 5587 let r = e.localNames = []; 5588 for (let i = 0; i < t.length; i += 2) { 5589 let s = n[t[i + 1]]; 5590 if (s == null) throw new x(-301, !1); 5591 r.push(t[i], s); 5592 } 5593} 5594function mC(e, t, n) {
5595 t.componentOffset = n, (e.components ??= []).push(t.index); 5596} 5597function vC(e, t, n, r, i, s, o) { 5598 let l = r.length, u = null; 5599 for (let h = 0; h < l; h++) { 5600 let d = r[h]; 5601 u === null && Ne(d) && (u = d, mC(e, n, h)), Dl(ji(n, t), e, d.type); 5602 } 5603 TC(n, e.data.length, l), u?.viewProvidersResolver && u.viewProvidersResolver(u); 5604 for (let h = 0; h < l; h++) { 5605 let d = r[h]; 5606 d.providersResolver && d.providersResolver(d); 5607 } 5608 let a = !1, c = !1, f = Qp(e, t, l, null); 5609 l > 0 && (n.directiveToIndex = /* @__PURE__ */ new Map()); 5610 for (let h = 0; h < l; h++) { 5611 let d = r[h]; 5612 if (n.mergedAttrs = Cn(n.mergedAttrs, d.hostAttrs), _C(e, n, t, f, d), IC(f, d, i), o !== null && o.has(d)) { 5613 let [y, _] = o.get(d); 5614 n.directiveToIndex.set(d.type, [ 5615 f, 5616 y + n.directiveStart, 5617 _ + n.directiveStart 5618 ]); 5619 } else (s === null || !s.has(d)) && n.directiveToIndex.set(d.type, f); 5620 d.contentQueries !== null && (n.flags |= 4), (d.hostBindings !== null || d.hostAttrs !== null || d.hostVars !== 0) && (n.flags |= 64); 5621 let p = d.type.prototype; 5622 !a && (p.ngOnChanges || p.ngOnInit || p.ngDoCheck) && ((e.preOrderHooks ??= []).push(n.index), a = !0), !c && (p.ngOnChanges || p.ngDoCheck) && ((e.preOrderCheckHooks ??= []).push(n.index), c = !0), f++; 5623 } 5624 bC(e, n, s); 5625} 5626function bC(e, t, n) { 5627 for (let r = t.directiveStart; r < t.directiveEnd; r++) { 5628 let i = e.data[r]; 5629 if (n === null || !n.has(i)) xg(0, t, i, r), xg(1, t, i, r), Sg(t, r, !1); 5630 else { 5631 let s = n.get(i); 5632 Cg(0, t, s, r), Cg(1, t, s, r), Sg(t, r, !0); 5633 } 5634 } 5635} 5636function xg(e, t, n, r) { 5637 let i = e === 0 ? n.inputs : n.outputs; 5638 for (let s in i) if (Object.hasOwn(i, s)) { 5639 let o; 5640 e === 0 ? o = t.inputs ??= {} : o = t.outputs ??= {}, o[s] ??= [], o[s].push(r), kg(t, s); 5641 } 5642} 5643function Cg(e, t, n, r) { 5644 let i = e === 0 ? n.inputs : n.outputs; 5645 for (let s in i) if (Object.hasOwn(i, s)) { 5646 let o = i[s], l; 5647 e === 0 ? l = t.hostDirectiveInputs ??= {} : l = t.hostDirectiveOutputs ??= {}, l[o] ??= [], l[o].push(r, s), kg(t, o); 5648 } 5649} 5650function kg(e, t) { 5651 t === "class" ? e.flags |= 8 : t === "style" && (e.flags |= 16); 5652} 5653function Sg(e, t, n) { 5654 let { attrs: r, inputs: i, hostDirectiveInputs: s } = e; 5655 if (r === null || !n && i === null || n && s === null || Wl(e)) { 5656 e.initialInputs ??= [], e.initialInputs.push(null); 5657 return; 5658 } 5659 let o = null, l = 0; 5660 for (; l < r.length;) { 5661 let u = r[l]; 5662 if (u === 0) { 5663 l += 4; 5664 continue; 5665 } else if (u === 5) { 5666 l += 2; 5667 continue; 5668 } else if (typeof u == "number") break; 5669 if (!n && Object.hasOwn(i, u)) { 5670 let a = i[u]; 5671 for (let c of a) if (c === t) { 5672 o ??= [], o.push(u, r[l + 1]); 5673 break; 5674 } 5675 } else if (n && Object.hasOwn(s, u)) { 5676 let a = s[u]; 5677 for (let c = 0; c < a.length; c += 2) if (a[c] === t) { 5678 o ??= [], o.push(a[c + 1], r[l + 1]); 5679 break; 5680 } 5681 } 5682 l += 2; 5683 } 5684 e.initialInputs ??= [], e.initialInputs.push(o); 5685} 5686function _C(e, t, n, r, i) { 5687 e.data[r] = i; 5688 let s = new Un(i.factory || (i.factory = Rt(i.type, !0)), Ne(i), Cr, null); 5689 e.blueprint[r] = s, n[r] = s, wC(e, t, r, Qp(e, n, i.hostVars, q), i); 5690} 5691function wC(e, t, n, r, i) { 5692 let s = i.hostBindings; 5693 if (s) { 5694 let o = e.hostBindingOpCodes; 5695 o === null && (o = e.hostBindingOpCodes = []); 5696 let l = ~t.index; 5697 EC(o) != l && o.push(l), o.push(n, r, s); 5698 } 5699} 5700function EC(e) { 5701 let t = e.length; 5702 for (; t > 0;) { 5703 let n = e[--t]; 5704 if (typeof n == "number" && n < 0) return n; 5705 } 5706 return 0; 5707} 5708function IC(e, t, n) { 5709 if (n) { 5710 if (t.exportAs) for (let r = 0; r < t.exportAs.length; r++) n[t.exportAs[r]] = e; 5711 Ne(t) && (n[""] = e); 5712 } 5713} 5714function TC(e, t, n) { 5715 e.flags |= 1, e.directiveStart = t, e.directiveEnd = t + n, e.providerIndexes = t; 5716} 5717function yu(e, t, n, r, i, s, o, l) { 5718 let u = t[v], a = u.consts, c = zt(u, e, n, r, Ce(a, o)); 5719 return s && Tg(u, t, c, Ce(a, l), i), c.mergedAttrs = Cn(c.mergedAttrs, c.attrs), c.attrs !== null && ls(c, c.attrs, !1), c.mergedAttrs !== null && ls(c, c.mergedAttrs, !0), u.queries !== null && u.queries.elementStart(u, c), c; 5720} 5721function mu(e, t) { 5722 Sh(e, t), Jd(t) && e.queries.elementEnd(t); 5723} 5724function Og(e, t, n, r, i, s) { 5725 let o = t.consts, l = zt(t, e, n, r, Ce(o, i)); 5726 if (l.mergedAttrs = Cn(l.mergedAttrs, l.attrs), s != null) { 5727 let u = Ce(o, s); 5728 l.localNames = []; 5729 for (let a = 0; a < u.length; a += 2) l.localNames.push(u[a], -1); 5730 } 5731 return l.attrs !== null && ls(l, l.attrs, !1), l.mergedAttrs !== null && ls(l, l.mergedAttrs, !0), t.queries !== null && t.queries.elementStart(t, l), l; 5732} 5733function xC(e) { 5734 return Object.keys(e).map((t) => { 5735 let [n, r, i] = e[t], s = { 5736 propName: n, 5737 templateName: t, 5738 isSignal: (r & ei.SignalBased) !== 0 5739 }; 5740 return i && (s.transform = i), s; 5741 }); 5742} 5743function CC(e) { 5744 return Object.keys(e).map((t) => ({ 5745 propName: e[t], 5746 templateName: t 5747 })); 5748} 5749function kC(e, t, n) { 5750 let r = t instanceof Ve ? t : t?.injector; 5751 return r && e.getStandaloneInjector !== null && (r = e.getStandaloneInjector(r) || r), r ? new ti(n, r) : n; 5752} 5753function SC(e) { 5754 let t = e.get(so, null); 5755 if (t === null) throw new x(407, !1); 5756 return { 5757 rendererFactory: t, 5758 sanitizer: e.get(db, null), 5759 changeDetectionScheduler: e.get(Ke, null), 5760 ngReflect: !1, 5761 tracingService: e.get(At, null, { optional: !0 }) 5762 }; 5763} 5764function OC(e, t) { 5765 let n = NC(e); 5766 return Ul(t, n, n === "svg" ? Hn : n === "math" ? Bs : null); 5767} 5768function AC(e) { 5769 if ((e && "localName" in e && typeof e.localName == "string" ? e.localName : e?.tagName)?.toLowerCase() === "script") throw new x(905, !1); 5770} 5771function NC(e) { 5772 return (e.selectors[0][0] || "div").toLowerCase(); 5773} 5774function DC(e, t, n, r) { 5775 let i = e ? ["ng-version", "22.1.3"] : DT(t.selectors[0]), s = null, o = null, l = 0; 5776 if (n) for (let a of n) l += a[fn].requiredVars, a.create && (a.targetIdx = 0, (s ??= []).push(a)), a.update && (a.targetIdx = 0, (o ??= []).push(a)); 5777 if (r) for (let a = 0; a < r.length; a++) { 5778 let c = r[a]; 5779 if (typeof c != "function") for (let f of c.bindings) { 5780 l += f[fn].requiredVars; 5781 let h = a + 1; 5782 f.create && (f.targetIdx = h, (s ??= []).push(f)), f.update && (f.targetIdx = h, (o ??= []).push(f)); 5783 } 5784 } 5785 let u = [t]; 5786 if (r) for (let a of r) { 5787 let c = bi(typeof a == "function" ? a : a.type); 5788 u.push(c); 5789 } 5790 return nu(0, null, MC(s, o), 1, l, u, null, null, null, [i], null); 5791} 5792function RC(e, t) { 5793 let n = e.getRootNode?.(); 5794 return pb && n instanceof Document ? n.head : n && Cc && n instanceof ShadowRoot ? n : t().head; 5795} 5796function MC(e, t) { 5797 return !e && !t ? null : (n) => { 5798 if (n & 1 && e) for (let r of e) r.create();
5799 if (n & 2 && t) for (let r of t) r.update(); 5800 }; 5801} 5802function Ag(e) { 5803 let t = e[fn].kind; 5804 return t === "input" || t === "twoWay"; 5805} 5806function jC(e, t, n) { 5807 let r = e.projection = []; 5808 for (let i = 0; i < t.length; i++) { 5809 let s = n[i]; 5810 r.push(s != null && s.length ? Array.from(s) : null); 5811 } 5812} 5813function VC() { 5814 return Dg(F(), g()); 5815} 5816function Ng(e) { 5817 return e[Wr]; 5818} 5819function vu(e) { 5820 return e[Wr] || (e[Wr] = []); 5821} 5822function Dg(e, t) { 5823 let n, r = t[e.index]; 5824 return xe(r) ? n = r : (n = lg(r, t, null, e), t[e.index] = n, iu(t, n)), kc(n, t, e, r), new yb(n, e, t); 5825} 5826function PC(e, t) { 5827 let n = e[D], r = n.createComment(""), i = re(t, e); 5828 return Ht(n, n.parentNode(i), r, n.nextSibling(i), !1), r; 5829} 5830function Rg(e, t, n) { 5831 return lo(e, t, n); 5832} 5833function Mg(e, t, n, r) { 5834 if (e[st]) return; 5835 let i; 5836 n.type & 8 ? i = ne(r) : i = PC(t, n), e[st] = i; 5837} 5838function FC(e, t, n) { 5839 if (e[st] && e[Ee]) return !0; 5840 let r = n[de], i = t.index - A; 5841 if (!r || vI(t) || Xh(r, i)) return !1; 5842 let s = Vl(r, i), o = r.data[Gs]?.[i]; 5843 if (o === void 0) return !1; 5844 let [l, u] = Jx(s, o); 5845 return e[st] = l, e[Ee] = u, !0; 5846} 5847function LC(e, t, n, r) { 5848 lo(e, n, t) || Mg(e, t, n, r); 5849} 5850function HC() { 5851 kc = LC, lo = FC; 5852} 5853function qC(e, t) { 5854 let n = e.localNames; 5855 if (n !== null) { 5856 for (let r = 0; r < n.length; r += 2) if (n[r] === t) return n[r + 1]; 5857 } 5858 return null; 5859} 5860function BC(e, t) { 5861 return e.type & 11 ? kn(e, t) : e.type & 4 ? es(e, t) : null; 5862} 5863function UC(e, t, n, r) { 5864 return n === -1 ? BC(t, e) : n === -2 ? zC(e, t, r) : br(e, e[v], n, t); 5865} 5866function zC(e, t, n) { 5867 if (n === Zn) return kn(t, e); 5868 if (n === Xn) return es(t, e); 5869 if (n === ri) return Dg(t, e); 5870} 5871function jg(e, t, n, r) { 5872 let i = t[Ze].queries[r]; 5873 if (i.matches === null) { 5874 let s = e.data, o = n.matches, l = []; 5875 for (let u = 0; o !== null && u < o.length; u += 2) { 5876 let a = o[u]; 5877 if (a < 0) l.push(null); 5878 else { 5879 let c = s[a]; 5880 l.push(UC(t, c, o[u + 1], n.metadata.read)); 5881 } 5882 } 5883 i.matches = l; 5884 } 5885 return i.matches; 5886} 5887function bu(e, t, n, r) { 5888 let i = e.queries.getByIndex(n), s = i.matches; 5889 if (s !== null) { 5890 let o = jg(e, t, i, n); 5891 for (let l = 0; l < s.length; l += 2) { 5892 let u = s[l]; 5893 if (u > 0) r.push(o[l / 2]); 5894 else { 5895 let a = s[l + 1], c = t[-u]; 5896 for (let f = B; f < c.length; f++) { 5897 let h = c[f]; 5898 h[It] === h[G] && bu(h[v], h, a, r); 5899 } 5900 if (c[on] !== null) { 5901 let f = c[on]; 5902 for (let h = 0; h < f.length; h++) { 5903 let d = f[h]; 5904 bu(d[v], d, a, r); 5905 } 5906 } 5907 } 5908 } 5909 } 5910 return r; 5911} 5912function _u(e, t) { 5913 return e[Ze].queries[t].queryList; 5914} 5915function Vg(e, t, n) { 5916 let r = new La((n & 4) === 4); 5917 return TE(e, t, r, r.destroy), (t[Ze] ??= new vb()).queries.push(new mb(r)) - 1; 5918} 5919function Pg(e, t, n) { 5920 let r = M(); 5921 return r.firstCreatePass && (Lg(r, new Sc(e, t, n), -1), (t & 2) === 2 && (r.staticViewQueries = !0)), Vg(r, g(), t); 5922} 5923function Fg(e, t, n, r) { 5924 let i = M(); 5925 if (i.firstCreatePass) { 5926 let s = F(); 5927 Lg(i, new Sc(t, n, r), s.index), WC(i, e), (n & 2) === 2 && (i.staticContentQueries = !0); 5928 } 5929 return Vg(i, g(), n); 5930} 5931function ZC(e) { 5932 return e.split(",").map((t) => t.trim()); 5933} 5934function Lg(e, t, n) { 5935 e.queries === null && (e.queries = new bb()), e.queries.track(new _b(t, n)); 5936} 5937function WC(e, t) { 5938 let n = e.contentQueries || (e.contentQueries = []);
5939 t !== (n.length ? n[n.length - 1] : -1) && n.push(e.queries.length - 1, t); 5940} 5941function wu(e, t) { 5942 return e.queries.getByIndex(t); 5943} 5944function Hg(e, t) { 5945 let n = e[v], r = wu(n, t); 5946 return r.crossesNgTemplate ? bu(n, e, t, []) : jg(n, e, r, t); 5947} 5948function Eu(e, t, n) { 5949 let r, i = Qo(() => { 5950 r._dirtyCounter(); 5951 let s = QC(r, e); 5952 if (t && s === void 0) throw new x(-951, !1); 5953 return s; 5954 }); 5955 return r = i[J], r._dirtyCounter = dt(0), r._flatValue = void 0, i; 5956} 5957function qg(e) { 5958 return Eu(!0, !1, e); 5959} 5960function Bg(e) { 5961 return Eu(!0, !0, e); 5962} 5963function Ug(e) { 5964 return Eu(!1, !1, e); 5965} 5966function zg(e, t) { 5967 let n = e[J]; 5968 n._lView = g(), n._queryIndex = t, n._queryList = _u(n._lView, t), n._queryList.onDirty(() => n._dirtyCounter.update((r) => r + 1)); 5969} 5970function QC(e, t) { 5971 let n = e._lView, r = e._queryIndex; 5972 if (n === void 0 || r === void 0 || n[T] & 4) return t ? void 0 : le; 5973 let i = _u(n, r), s = Hg(n, r); 5974 return i.reset(s, Uh), t ? i.first : i._changesDetected || e._flatValue === void 0 ? e._flatValue = i.toArray() : e._flatValue; 5975} 5976function Iu(e) { 5977 return !!e && typeof e.then == "function"; 5978} 5979function Zg(e) { 5980 return !!e && typeof e.subscribe == "function"; 5981} 5982function $C(e, t) { 5983 return new Ac(e, t ?? null, []); 5984} 5985function Tu(e, t, n = null) { 5986 return new Nc({ 5987 providers: e, 5988 parent: t, 5989 debugName: n, 5990 runEnvironmentInitializers: !0 5991 }).injector; 5992} 5993function GC(e) { 5994 return vr(() => { 5995 let t = $g(e), n = ye(me({}, t), { 5996 decls: e.decls, 5997 vars: e.vars, 5998 template: e.template, 5999 consts: e.consts || null, 6000 ngContentSelectors: e.ngContentSelectors, 6001 onPush: e.changeDetection !== Ha.Eager, 6002 directiveDefs: null, 6003 pipeDefs: null, 6004 dependencies: t.standalone && e.dependencies || null, 6005 getStandaloneInjector: t.standalone ? (i) => i.get(Eb).getOrCreateStandaloneInjector(n) : null, 6006 getExternalStyles: null, 6007 signals: e.signals ?? !1, 6008 data: e.data || {}, 6009 encapsulation: e.encapsulation || Ct.Emulated, 6010 styles: e.styles || le, 6011 _: null, 6012 schemas: e.schemas || null, 6013 tView: null, 6014 id: "" 6015 }); 6016 t.standalone && ie("NgStandalone"), Gg(n); 6017 let r = e.dependencies; 6018 return n.directiveDefs = us(r, Wg), n.pipeDefs = us(r, tl), n.id = ek(n), n; 6019 }); 6020} 6021function Wg(e) { 6022 return at(e) || bi(e); 6023} 6024function Qg(e) { 6025 return vr(() => ({ 6026 type: e.type, 6027 bootstrap: e.bootstrap || le, 6028 declarations: e.declarations || le, 6029 imports: e.imports || le, 6030 exports: e.exports || le, 6031 transitiveCompileScopes: null, 6032 schemas: e.schemas || null, 6033 id: e.id || null 6034 })); 6035} 6036function KC(e, t) { 6037 if (e == null) return wt; 6038 let n = {}; 6039 for (let r in e) if (Object.hasOwn(e, r)) { 6040 let i = e[r], s, o, l, u; 6041 Array.isArray(i) ? (l = i[0], s = i[1], o = i[2] ?? s, u = i[3] || null) : (s = i, o = i, l = ei.None, u = null), n[s] = [ 6042 r, 6043 l, 6044 u 6045 ], t[s] = o; 6046 } 6047 return n; 6048} 6049function JC(e) { 6050 if (e == null) return wt; 6051 let t = {}; 6052 for (let n in e) Object.hasOwn(e, n) && (t[e[n]] = n); 6053 return t; 6054} 6055function YC(e) { 6056 return vr(() => { 6057 let t = $g(e); 6058 return Gg(t), t; 6059 }); 6060} 6061function XC(e) { 6062 return { 6063 type: e.type, 6064 name: e.name, 6065 factory: null, 6066 pure: e.pure !== !1, 6067 standalone: e.standalone ?? !0, 6068 onDestroy: e.type.prototype.ngOnDestroy || null 6069 }; 6070} 6071function $g(e) { 6072 let t = {}; 6073 return { 6074 type: e.type, 6075 providersResolver: null, 6076 viewProvidersResolver: null, 6077 factory: null, 6078 hostBindings: e.hostBindings || null, 6079 hostVars: e.hostVars || 0, 6080 hostAttrs: e.hostAttrs || null, 6081 contentQueries: e.contentQueries || null, 6082 declaredInputs: t, 6083 inputConfig: e.inputs || wt, 6084 exportAs: e.exportAs || null, 6085 standalone: e.standalone ?? !0, 6086 signals: e.signals === !0, 6087 selectors: e.selectors || le, 6088 viewQuery: e.viewQuery || null, 6089 features: e.features || null, 6090 setInput: null, 6091 resolveHostDirectives: null, 6092 hostDirectives: null, 6093 controlDef: null, 6094 signalFormsInputPresence: null, 6095 inputs: KC(e.inputs, t), 6096 outputs: JC(e.outputs), 6097 debugInfo: null 6098 }; 6099} 6100function Gg(e) { 6101 e.features?.forEach((t) => t(e)); 6102} 6103function us(e, t) { 6104 return e ? () => { 6105 let n = typeof e == "function" ? e() : e, r = []; 6106 for (let i of n) { 6107 let s = t(i); 6108 s !== null && r.push(s); 6109 } 6110 return r; 6111 } : null; 6112} 6113function ek(e) { 6114 let t = 0, n = typeof e.consts == "function" ? "" : e.consts, r = [ 6115 e.selectors, 6116 e.ngContentSelectors, 6117 e.hostVars, 6118 e.hostAttrs, 6119 n, 6120 e.vars, 6121 e.decls, 6122 e.encapsulation, 6123 e.standalone, 6124 e.signals, 6125 e.exportAs, 6126 JSON.stringify(e.inputs), 6127 JSON.stringify(e.outputs), 6128 Object.getOwnPropertyNames(e.type.prototype), 6129 !!e.contentQueries, 6130 !!e.viewQuery 6131 ];
6132 for (let i of r.join("|")) t = Math.imul(31, t) + i.charCodeAt(0) << 0; 6133 return t += 2147483648, "c" + t; 6134} 6135function tk(e) { 6136 return dr([{ 6137 provide: Dc, 6138 multi: !0, 6139 useValue: e 6140 }]); 6141} 6142function nk(e) { 6143 return (t) => { 6144 t.controlDef = { 6145 create: (n, r) => { 6146 n?.ɵngControlCreate(r); 6147 }, 6148 update: (n, r) => { 6149 n?.ɵngControlUpdate?.(r); 6150 }, 6151 passThroughInput: e 6152 }; 6153 }; 6154} 6155function rk(e) { 6156 let t = (n) => { 6157 let r = Array.isArray(e); 6158 n.hostDirectives === null ? (n.resolveHostDirectives = ik, n.hostDirectives = r ? e.map(xu) : [e]) : r ? n.hostDirectives.unshift(...e.map(xu)) : n.hostDirectives.unshift(e); 6159 }; 6160 return t.ngInherit = !0, t; 6161} 6162function ik(e) { 6163 let t = [], n = !1, r = null, i = null; 6164 for (let s = 0; s < e.length; s++) { 6165 let o = e[s]; 6166 if (o.hostDirectives !== null) { 6167 let l = t.length; 6168 r ??= /* @__PURE__ */ new Map(), i ??= /* @__PURE__ */ new Map(), Kg(o, t, r, e), i.set(o, [l, t.length - 1]); 6169 } 6170 s === 0 && Ne(o) && (n = !0, t.push(o)); 6171 } 6172 for (let s = n ? 1 : 0; s < e.length; s++) t.push(e[s]); 6173 return r !== null && r.forEach((s, o) => { 6174 sk(o.declaredInputs, s.inputs); 6175 }), [ 6176 t, 6177 r, 6178 i 6179 ]; 6180} 6181function Kg(e, t, n, r) { 6182 if (e.hostDirectives !== null) for (let i of e.hostDirectives) if (typeof i == "function") { 6183 let s = i(); 6184 for (let o of s) Jg(xu(o), t, n, r); 6185 } else Jg(i, t, n, r); 6186} 6187function Jg(e, t, n, r) { 6188 let i = bi(e.directive); 6189 if (Kg(i, t, n, r), n.has(i)) { 6190 let s = n.get(i); 6191 Yg(s, e.inputs, "input"), Yg(s, e.outputs, "output"); 6192 } else r.includes(i) || (n.set(i, e), t.push(i)); 6193} 6194function Yg(e, t, n) { 6195 let r = n === "input" ? e.inputs : e.outputs; 6196 Object.keys(t).forEach((i) => { 6197 let s = t[i]; 6198 (!Object.hasOwn(r, i) || r[i] === s) && (r[i] = s); 6199 }); 6200} 6201function xu(e) { 6202 return typeof e == "function" ? { 6203 directive: ee(e), 6204 inputs: {}, 6205 outputs: {} 6206 } : { 6207 directive: ee(e.directive), 6208 inputs: Xg(e.inputs), 6209 outputs: Xg(e.outputs) 6210 }; 6211} 6212function Xg(e) { 6213 let t = {}; 6214 if (e !== void 0 && e.length > 0) for (let n = 0; n < e.length; n += 2) t[e[n]] = e[n + 1]; 6215 return t; 6216} 6217function sk(e, t) { 6218 for (let n in t) if (Object.hasOwn(t, n)) { 6219 let r = t[n]; 6220 e[r] = e[n]; 6221 } 6222} 6223function ok(e) { 6224 return Object.getPrototypeOf(e.prototype).constructor; 6225} 6226function ey(e) { 6227 let t = ok(e.type), n = !0, r = [e]; 6228 for (; t && t !== Function.prototype && t !== Object.prototype;) { 6229 let i, s = Object.hasOwn(t, qr) ? t[qr] : void 0, o = Object.hasOwn(t, js) ? t[js] : void 0; 6230 if (Ne(e)) i = s ?? o; 6231 else { 6232 if (s) throw new x(903, !1); 6233 i = o; 6234 } 6235 if (i) { 6236 if (n) { 6237 r.push(i); 6238 let u = e; 6239 u.inputs = Cu(e.inputs), u.declaredInputs = Cu(e.declaredInputs), u.outputs = Cu(e.outputs); 6240 let a = i.hostBindings; 6241 a && fk(e, a); 6242 let c = i.viewQuery, f = i.contentQueries; 6243 if (c && ak(e, c), f && ck(e, f), lk(e, i), $1(e.outputs, i.outputs), Ne(i) && i.data.animation) { 6244 let h = e.data; 6245 h.animation = (h.animation || []).concat(i.data.animation); 6246 } 6247 } 6248 let l = i.features; 6249 if (l) for (let u = 0; u < l.length; u++) { 6250 let a = l[u]; 6251 a && a.ngInherit && a(e), a === ey && (n = !1); 6252 } 6253 } 6254 t = Object.getPrototypeOf(t); 6255 } 6256 uk(r); 6257} 6258function lk(e, t) { 6259 for (let n in t.inputs) { 6260 if (!Object.hasOwn(t.inputs, n) || Object.hasOwn(e.inputs, n)) continue; 6261 let r = t.inputs[n]; 6262 r !== void 0 && (e.inputs[n] = r, e.declaredInputs[n] = t.declaredInputs[n]); 6263 } 6264} 6265function uk(e) { 6266 let t = 0, n = null; 6267 for (let r = e.length - 1; r >= 0; r--) { 6268 let i = e[r]; 6269 i.hostVars = t += i.hostVars, i.hostAttrs = Cn(i.hostAttrs, n = Cn(n, i.hostAttrs)); 6270 } 6271} 6272function Cu(e) { 6273 return e === wt ? {} : e === le ? [] : e; 6274} 6275function ak(e, t) { 6276 let n = e.viewQuery; 6277 n ? e.viewQuery = (r, i) => { 6278 t(r, i), n(r, i); 6279 } : e.viewQuery = t; 6280} 6281function ck(e, t) { 6282 let n = e.contentQueries; 6283 n ? e.contentQueries = (r, i, s) => { 6284 t(r, i, s), n(r, i, s); 6285 } : e.contentQueries = t; 6286} 6287function fk(e, t) { 6288 let n = e.hostBindings; 6289 n ? e.hostBindings = (r, i) => { 6290 t(r, i), n(r, i); 6291 } : e.hostBindings = t; 6292} 6293function ty(e, t, n, r, i, s, o, l) { 6294 if (n.firstCreatePass) { 6295 e.mergedAttrs = Cn(e.mergedAttrs, e.attrs); 6296 let c = e.tView = nu(2, e, i, s, o, n.directiveRegistry, n.pipeRegistry, null, n.schemas, n.consts, null); 6297 n.queries !== null && (n.queries.template(n, e), c.queries = n.queries.embeddedTView(e)); 6298 } 6299 l && (e.flags |= l), xn(e, !1); 6300 let u = Mc(n, t, e, r); 6301 Tl() && Xl(n, t, u, e), Sn(u, t); 6302 let a = lg(u, t, u, e); 6303 t[r + A] = a, iu(t, a), Rg(a, e, t); 6304} 6305function dk(e, t, n, r, i, s, o, l, u, a, c) { 6306 let f = n + A, h; 6307 return t.firstCreatePass ? (h = zt(t, f, 4, o || null, l || null), ml() && Tg(t, e, h, Ce(t.consts, a), ou), Sh(t, h)) : h = t.data[f], ty(h, e, t, n, r, i, s, u), pr(h) && $i(t, e, h), a != null && An(e, h, c), h; 6308} 6309function Wt(e, t, n, r, i, s, o, l, u, a, c) { 6310 let f = n + A, h; 6311 if (t.firstCreatePass) { 6312 if (h = zt(t, f, 4, o || null, l || null), a != null) { 6313 let d = Ce(t.consts, a); 6314 h.localNames = []; 6315 for (let p = 0; p < d.length; p += 2) h.localNames.push(d[p], -1); 6316 } 6317 } else h = t.data[f]; 6318 return ty(h, e, t, n, r, i, s, u), a != null && An(e, h, c), h; 6319} 6320function ny(e, t, n, r, i, s, o, l) { 6321 let u = g(), a = M(); 6322 return dk(u, a, e, t, n, r, i, Ce(a.consts, s), void 0, o, l), ny; 6323} 6324function ry(e, t, n, r, i, s, o, l) { 6325 let u = g(), a = M(); 6326 return Wt(u, a, e, t, n, r, i, Ce(a.consts, s), void 0, o, l), ry; 6327} 6328function iy(e, t, n, r) { 6329 return ft(!0), t[D].createComment(""); 6330} 6331function hk(e, t, n, r) { 6332 let i = !Hi(t, n); 6333 ft(i); 6334 let s = t[de]?.data[x0]?.[r] ?? null; 6335 if (s !== null && n.tView !== null && n.tView.ssrId === null && (n.tView.ssrId = s), i) return iy(e, t); 6336 let o = t[de], l = ts(o, e, t, n); 6337 return Li(o, r, l), ns(Fl(o, r), l); 6338} 6339function pk() { 6340 Mc = hk; 6341} 6342function sy(e, t, n) { 6343 let r = ly(e); 6344 t[r] === null && (t[r] = []), t[r].push(n); 6345} 6346function as(e, t) { 6347 let n = ly(e), r = t[n]; 6348 if (r !== null) { 6349 for (let i of r) i(); 6350 t[n] = null; 6351 } 6352} 6353function oy(e) { 6354 as(1, e), as(0, e), as(2, e); 6355} 6356function ly(e) { 6357 let t = xb; 6358 return e === 1 ? t = Cb : e === 2 && (t = Sb), t; 6359} 6360function cs(e) { 6361 return e + 1; 6362} 6363function qe(e, t) { 6364 return e[v], e[cs(t.index)]; 6365} 6366function gk(e, t, n) { 6367 e[v]; 6368 let r = cs(t); 6369 e[r] = n; 6370} 6371function Qt(e, t) { 6372 let n = cs(t.index); 6373 return e.data[n]; 6374} 6375function yk(e, t, n) { 6376 let r = cs(t); 6377 e.data[r] = n; 6378} 6379function mk(e, t, n) { 6380 let r = t[v], i = Qt(r, n); 6381 switch (e) { 6382 case Z.Complete: return i.primaryTmplIndex; 6383 case Z.Loading: return i.loadingTmplIndex; 6384 case Z.Error: return i.errorTmplIndex; 6385 case Z.Placeholder: return i.placeholderTmplIndex; 6386 default: return null; 6387 } 6388} 6389function uy(e, t) { 6390 return t === Z.Placeholder ? e.placeholderBlockConfig?.[jc] ?? null : t === Z.Loading ? e.loadingBlockConfig?.[jc] ?? null : null; 6391} 6392function vk(e) { 6393 return e.loadingBlockConfig?.[Ib] ?? null; 6394} 6395function ay(e, t) { 6396 if (!e || e.length === 0) return t; 6397 let n = new Set(e); 6398 for (let r of t) n.add(r); 6399 return e.length === n.size ? e : Array.from(n); 6400} 6401function bk(e, t) { 6402 return yr(e, t.primaryTmplIndex + A); 6403} 6404function _k(e) { 6405 return (t, n) => wk(e, t, n); 6406} 6407function wk(e, t, n) { 6408 let r = n.get(Ab), i = n.get(z), s = () => r.remove(t); 6409 return r.add(e, t, i), s; 6410} 6411function ku(e, t, n) { 6412 return e.get(Ob).getOrCreateInjector(t, e, n, ""); 6413} 6414function Ek(e, t, n) { 6415 if (e instanceof ti) { 6416 let i = e.injector, s = e.parentInjector; 6417 return new ti(i, ku(s, t, n)); 6418 } 6419 let r = e.get(Ve); 6420 return r !== e ? new ti(e, ku(r, t, n)) : ku(e, t, n); 6421} 6422function $t(e, t, n, r = !1) { 6423 let i = n[G], s = i[v]; 6424 if (Mt(i)) return; 6425 let o = qe(i, t), l = o[er], u = o[kb]; 6426 if (!(u !== null && e < u) && cy(l, e) && cy(o[Tb] ?? -1, e)) { 6427 let a = Qt(s, t), c = !r && (vk(a) !== null || uy(a, Z.Loading) !== null || uy(a, Z.Placeholder)) ? Db : Tk; 6428 try { 6429 c(e, o, n, t, i); 6430 } catch (f) { 6431 lu(i, f); 6432 } 6433 } 6434} 6435function Ik(e, t) { 6436 let n = e[Ee]?.findIndex((r) => r.data[Ga] === t[er]) ?? -1; 6437 return { 6438 dehydratedView: n > -1 ? e[Ee][n] : null, 6439 dehydratedViewIx: n 6440 }; 6441} 6442function Tk(e, t, n, r, i) { 6443 V(R.DeferBlockStateStart); 6444 let s = mk(e, i, r); 6445 if (s !== null) { 6446 t[er] = e; 6447 let o = i[v], l = yr(o, s + A), u = 0; 6448 cu(n, u); 6449 let a; 6450 if (e === Z.Complete) { 6451 let d = Qt(o, r), p = d.providers; 6452 p && p.length > 0 && (a = Ek(i[H], d, p)); 6453 } 6454 let { dehydratedView: c, dehydratedViewIx: f } = Ik(n, t), h = Nn(i, l, null, { 6455 injector: a, 6456 dehydratedView: c 6457 }); 6458 if (Dn(n, h, u, Ut(l, c)), gl(h), f > -1 && n[Ee]?.splice(f, 1), (e === Z.Complete || e === Z.Error) && Array.isArray(t[hn])) { 6459 for (let d of t[hn]) d(); 6460 t[hn] = null; 6461 } 6462 } 6463 V(R.DeferBlockStateEnd); 6464} 6465function cy(e, t) { 6466 return e < t; 6467} 6468function Su(e, t) { 6469 let n = e[t.index]; 6470 $t(Z.Placeholder, t, n); 6471} 6472function fy(e, t, n) { 6473 e.loadingPromise.then(() => { 6474 e.loadingState === he.COMPLETE ? $t(Z.Complete, t, n) : e.loadingState === he.FAILED && $t(Z.Error, t, n); 6475 }); 6476} 6477function dy(e, t) { 6478 return t[H].get(Nb, null, { optional: !0 })?.behavior !== Vc.Manual; 6479} 6480function xk(e, t, n, r) { 6481 let i = n.get(z); 6482 return II(e, () => i.run(t), (s) => i.runOutsideAngular(() => EI(s)), r); 6483} 6484function Ck(e) { 6485 Hc = e; 6486} 6487function kk() { 6488 B1(() => { 6489 throw new x(600, ""); 6490 }); 6491} 6492function Sk(e) { 6493 return e === void 0 || typeof e == "string" || e instanceof Element ? { hostElement: e } : e; 6494} 6495function fs(e, t) { 6496 let n = e.indexOf(t); 6497 n > -1 && e.splice(n, 1); 6498} 6499function hy(e, t, n) { 6500 let r = t.get(Pb), i = () => r.remove(e); 6501 return r.add(e, n), i; 6502} 6503function Ok(e) { 6504 return (t, n) => hy(t, n, e); 6505} 6506function py(e) { 6507 return !e || e.timeout == null ? "" : `${e.timeout}`; 6508} 6509function Ak(e) { 6510 let t = g(), n = F(); 6511 if (Su(t, n), !dy(0, t)) return; 6512 let r = t[H]; 6513 sy(0, qe(t, n), e(() => ds(0, t, n), r)); 6514} 6515function Nk(e, t, n) { 6516 let r = t[H], i = t[v]; 6517 if (e.loadingState !== he.NOT_STARTED) return e.loadingPromise ?? Promise.resolve(); 6518 let s = qe(t, n), o = bk(i, e); 6519 e.loadingState = he.IN_PROGRESS, as(1, s); 6520 let l = e.dependencyResolverFn, u = r.get(Ws).add(); 6521 return l ? (e.loadingPromise = Promise.allSettled(l()).then((a) => { 6522 let c = !1, f = [], h = []; 6523 for (let d = 0; d < a.length; d++) { 6524 let p = a[d]; 6525 if (p.status === "fulfilled") { 6526 let y = p.value, _ = at(y) || bi(y); 6527 if (_) f.push(_); 6528 else { 6529 let C = tl(y); 6530 C && h.push(C); 6531 } 6532 } else { 6533 c = !0, p.reason instanceof Error ? p.reason : new Error(String(p.reason)); 6534 break; 6535 } 6536 } 6537 if (c) e.loadingState = he.FAILED, e.errorTmplIndex === null && lu(t, new x(-750, "")); 6538 else { 6539 e.loadingState = he.COMPLETE; 6540 let d = o.tView; 6541 f.length > 0 && (d.directiveRegistry = ay(d.directiveRegistry, f), e.providers = ol(!1, ...f.map((p) => p.type))), h.length > 0 && (d.pipeRegistry = ay(d.pipeRegistry, h)); 6542 } 6543 }), e.loadingPromise.finally(() => { 6544 e.loadingPromise = null, u(); 6545 })) : (e.loadingPromise = Promise.resolve().then(() => { 6546 e.loadingPromise = null, e.loadingState = he.COMPLETE, u(); 6547 }), e.loadingPromise); 6548} 6549function ds(e, t, n) { 6550 let r = t[v], i = t[n.index]; 6551 if (!dy(e, t)) return; 6552 let s = qe(t, n), o = Qt(r, n); 6553 switch (oy(s), o.loadingState) { 6554 case he.NOT_STARTED: 6555 $t(Z.Loading, n, i), Nk(o, t, n), o.loadingState === he.IN_PROGRESS && fy(o, n, i); 6556 break; 6557 case he.IN_PROGRESS:
6558 $t(Z.Loading, n, i), fy(o, n, i); 6559 break; 6560 case he.COMPLETE: 6561 $t(Z.Complete, n, i); 6562 break; 6563 case he.FAILED: $t(Z.Error, n, i); 6564 } 6565} 6566function Gt(e, t, n) { 6567 return pn(this, null, function* () { 6568 let r = e.get(lt); 6569 if (r.hydrating.has(t)) return; 6570 let { parentBlockPromise: i, hydrationQueue: s } = VI(t, e); 6571 if (s.length === 0) return; 6572 i !== null && s.shift(), Mk(r, s), i !== null && (yield i); 6573 let o = s[0]; 6574 r.has(o) ? yield gy(e, s, n) : r.awaitParentBlock(o, () => pn(null, null, function* () { 6575 return yield gy(e, s, n); 6576 })); 6577 }); 6578} 6579function gy(e, t, n) { 6580 return pn(this, null, function* () { 6581 let r = e.get(lt), i = r.hydrating, s = e.get($e), o = s.add(); 6582 for (let u = 0; u < t.length; u++) { 6583 let a = t[u], c = r.get(a); 6584 if (c != null) { 6585 if (yield Vk(c), yield jk(e), Dk(c)) { 6586 Gx(c), yy(t.slice(u), r); 6587 break; 6588 } 6589 i.get(a).resolve(); 6590 } else { 6591 Rk(u, t, r), yy(t.slice(u), r); 6592 break; 6593 } 6594 } 6595 let l = t[t.length - 1]; 6596 yield i.get(l)?.promise, s.remove(o), n && n(t), Kx(r.get(l), t, r, e.get(Oe)); 6597 }); 6598} 6599function Dk(e) { 6600 return qe(e.lView, e.tNode)[er] === Z.Error; 6601} 6602function Rk(e, t, n) { 6603 let r = e - 1, i = r > -1 ? n.get(t[r]) : null; 6604 i && is(i.lContainer); 6605} 6606function yy(e, t) { 6607 let n = t.hydrating; 6608 for (let r of e) n.get(r)?.reject(); 6609 t.cleanup(e); 6610} 6611function Mk(e, t) { 6612 for (let n of t) e.hydrating.set(n, xl()); 6613} 6614function jk(e) { 6615 return new Promise((t) => Kl(t, { injector: e })); 6616} 6617function Vk(e) { 6618 return pn(this, null, function* () { 6619 let { tNode: t, lView: n } = e, r = qe(n, t); 6620 return new Promise((i) => { 6621 Pk(r, i), ds(2, n, t); 6622 }); 6623 }); 6624} 6625function Pk(e, t) { 6626 Array.isArray(e[hn]) || (e[hn] = []), e[hn].push(t); 6627} 6628function kr(e, t, n) { 6629 return e === 0 ? my(t, n) : e === 2 ? !my(t, n) : !0; 6630} 6631function Fk(e) { 6632 return e != null && (e & 1) === 1; 6633} 6634function my(e, t) { 6635 let n = e[H], r = Qt(e[v], t), i = Pl(n), s = Fk(r.flags), o = qe(e, t)[uo] !== null; 6636 return !(s && o && i); 6637} 6638function vy(e, t) { 6639 let n = Qt(e, t); 6640 return n.hydrateTriggers ??= /* @__PURE__ */ new Map(); 6641} 6642function Lk(e, t, n) { 6643 let r = [], i = [], s = [], o = []; 6644 for (let [l, u] of t) { 6645 let a = n.get(l); 6646 if (a !== void 0) { 6647 let c = u.data[Wn], f = a; 6648 for (let h = 0; h < c; h++) { 6649 if (f = f.previousSibling, f.nodeType !== Node.ELEMENT_NODE) continue; 6650 let d = { 6651 el: f, 6652 blockName: l 6653 }; 6654 u.hydrate.idle && r.push(d), u.hydrate.immediate && o.push(d), u.hydrate.timer !== null && (d.delay = u.hydrate.timer, i.push(d)), u.hydrate.viewport && (typeof u.hydrate.viewport != "boolean" && (d.intersectionObserverOptions = u.hydrate.viewport), s.push(d)); 6655 } 6656 } 6657 } 6658 Hk(e, r), Uk(e, o), qk(e, s), Bk(e, i); 6659} 6660function Hk(e, t) { 6661 for (let n of t) { 6662 let r = e.get(lt), i = hy(() => Gt(e, n.blockName), e); 6663 r.addCleanupFn(n.blockName, i); 6664 } 6665} 6666function qk(e, t) { 6667 if (t.length > 0) { 6668 let n = e.get(lt); 6669 for (let r of t) { 6670 let i = xk(r.el, () => Gt(e, r.blockName), e, r.intersectionObserverOptions); 6671 n.addCleanupFn(r.blockName, i); 6672 } 6673 } 6674} 6675function Bk(e, t) { 6676 for (let n of t) { 6677 let r = e.get(lt), i = () => Gt(e, n.blockName), s = _k(n.delay)(i, e); 6678 r.addCleanupFn(n.blockName, s); 6679 } 6680} 6681function Uk(e, t) { 6682 for (let n of t) Gt(e, n.blockName); 6683} 6684function zk(e, t, n, r, i, s, o, l, u, a) { 6685 let c = g(), f = M(), h = e + A, d = Wt(c, f, e, null, 0, 0), p = c[H], y = Pl(p); 6686 if (f.firstCreatePass) { 6687 ie("NgDefer"); 6688 let rr = { 6689 primaryTmplIndex: t, 6690 loadingTmplIndex: r ?? null, 6691 placeholderTmplIndex: i ?? null, 6692 errorTmplIndex: s ?? null, 6693 placeholderBlockConfig: null, 6694 loadingBlockConfig: null, 6695 dependencyResolverFn: n ?? null, 6696 loadingState: he.NOT_STARTED, 6697 loadingPromise: null, 6698 providers: null, 6699 hydrateTriggers: null, 6700 debug: null, 6701 flags: a ?? 0 6702 }; 6703 u?.(f, rr, l, o), yk(f, h, rr); 6704 } 6705 let _ = c[h]; 6706 Rg(_, d, c); 6707 let C = null, Q = null; 6708 if (_[Ee]?.length > 0) { 6709 let rr = _[Ee][0].data; 6710 Q = rr[$a] ?? null, C = rr[Ga]; 6711 } 6712 let wo = [ 6713 null, 6714 ii.Initial, 6715 null, 6716 null, 6717 null, 6718 null, 6719 Q, 6720 C, 6721 null, 6722 null 6723 ]; 6724 gk(c, h, wo); 6725 let Eo = null; 6726 Q !== null && y && (Eo = p.get(lt), Eo.add(Q, { 6727 lView: c, 6728 tNode: d, 6729 lContainer: _ 6730 })); 6731 let hf = () => { 6732 oy(wo), Q !== null && Eo?.cleanup([Q]); 6733 }; 6734 sy(0, wo, () => eh(c, hf)), xi(c, hf); 6735} 6736function Zk(e) { 6737 let t = g(), n = Re(); 6738 if (kr(0, t, n) && U(t, _e(), e)) { 6739 let r = E(null); 6740 try { 6741 let i = !!e, s = qe(t, n)[er]; 6742 i === !1 && s === ii.Initial ? Su(t, n) : i === !0 && (s === ii.Initial || s === Z.Placeholder) && ds(0, t, n); 6743 } finally { 6744 E(r); 6745 } 6746 } 6747} 6748function Wk(e) { 6749 let t = g(), n = Re(); 6750 if (!kr(2, t, n)) return;
6751 let r = _e(); 6752 if (vy(M(), n).set(6, null), U(t, r, e)) { 6753 let i = t[H], s = E(null); 6754 try { 6755 if (e) { 6756 let o = qe(t, n)[uo]; 6757 Gt(i, o); 6758 } 6759 } finally { 6760 E(s); 6761 } 6762 } 6763} 6764function Qk(e) { 6765 kr(0, g(), F()) && Ak(Ok({ timeout: e })); 6766} 6767function $k() { 6768 let e = g(), t = F(); 6769 kr(0, e, t) && (Qt(e[v], t).loadingTmplIndex === null && Su(e, t), ds(0, e, t)); 6770} 6771function Gk() { 6772 let e = g(), t = F(); 6773 if (kr(2, e, t)) { 6774 vy(M(), t).set(1, null); 6775 { 6776 let n = e[H], r = qe(e, t)[uo]; 6777 Gt(n, r); 6778 } 6779 } 6780} 6781function by(e, t) { 6782 let n = g(); 6783 if (U(n, _e(), t)) { 6784 let r = M(), i = Re(); 6785 if (Ji(i, r, n, e, t)) Xe(i) && Jp(n, i.index); 6786 else { 6787 let s = re(i, n); 6788 Yp(n[D], s, null, i.value, e, t, null); 6789 } 6790 } 6791 return by; 6792} 6793function _y(e, t, n, r) { 6794 let i = g(); 6795 return U(i, _e(), t) && (M(), bx(Re(), i, e, t, n, r)), _y; 6796} 6797function hs(e) { 6798 if (ie("NgAnimateEnter"), !$n) return hs; 6799 let t = g(); 6800 if (kp(t)) return hs; 6801 let n = F(), r = t[H].get(z); 6802 return Rp(Np(t), n, () => Kk(t, n, e, r)), Pp(t[H]), Fp(t[H], Np(t)), hs; 6803} 6804function Kk(e, t, n, r) { 6805 let i = re(t, e), s = e[D], o = Dp(n), l = [], u = !1, a = (f) => { 6806 if (wr(f) !== i) return; 6807 let h = f instanceof AnimationEvent ? "animationend" : "transitionend"; 6808 r.runOutsideAngular(() => { 6809 s.listen(i, h, c); 6810 }); 6811 }, c = (f) => { 6812 wr(f) === i && (Gl(f, i) && (u = !0), Jk(f, i, s)); 6813 }; 6814 if (o && o.length > 0) { 6815 r.runOutsideAngular(() => { 6816 l.push(s.listen(i, "animationstart", a)), l.push(s.listen(i, "transitionstart", a)); 6817 }), PT(i, o, l); 6818 for (let f of o) s.addClass(i, f); 6819 r.runOutsideAngular(() => { 6820 requestAnimationFrame(() => { 6821 if (!u && (Cp(i, Ot, $n), !Ot.has(i))) { 6822 for (let f of o) s.removeClass(i, f); 6823 $l(i); 6824 } 6825 }); 6826 }); 6827 } 6828} 6829function Jk(e, t, n) { 6830 let r = cn.get(t); 6831 if (!(wr(e) !== t || !r) && Gl(e, t)) { 6832 e.stopPropagation(); 6833 for (let i of r.classList) n.removeClass(t, i); 6834 $l(t); 6835 } 6836} 6837function ps(e) { 6838 if (ie("NgAnimateLeave"), !$n) return ps; 6839 let t = g(); 6840 if (kp(t)) return ps; 6841 let n = F(), r = t[H].get(z); 6842 return Rp(zi(t), n, () => Yk(t, n, e, r)), Pp(t[H]), ps; 6843} 6844function Yk(e, t, n, r) { 6845 let { promise: i, resolve: s } = xl(), o = re(t, e), l = e[D]; 6846 St.add(e[Fe]), (zi(e).get(t.index).resolvers ??= []).push(s); 6847 let u = Dp(n); 6848 return u && u.length > 0 ? Xk(o, t, e, u, l, r) : s(), { 6849 promise: i, 6850 resolve: s 6851 }; 6852} 6853function Xk(e, t, n, r, i, s) { 6854 LT(e, i); 6855 let o = [], l = zi(n).get(t.index)?.resolvers, u, a = !1, c = (f) => { 6856 if (!(wr(f) !== e && f.type !== "animation-fallback") && (f.type === "animation-fallback" || Gl(f, e))) { 6857 if (a = !0, u && clearTimeout(u), f.type !== "animation-fallback" && f.stopPropagation(), Ot.delete(e), Op(t, e), Array.isArray(t.projection)) for (let h of r) i.removeClass(e, h); 6858 Mp(l, o), jp(n, t); 6859 } 6860 }; 6861 s.runOutsideAngular(() => { 6862 o.push(i.listen(e, "animationend", c)), o.push(i.listen(e, "transitionend", c)); 6863 }), Ap(t, e); 6864 for (let f of r) i.addClass(e, f); 6865 s.runOutsideAngular(() => { 6866 requestAnimationFrame(() => { 6867 if (a) return; 6868 Cp(e, Ot, $n); 6869 let f = Ot.get(e); 6870 f ? (u = setTimeout(() => { 6871 c(new CustomEvent("animation-fallback")); 6872 }, f.duration + 50), o.push(() => clearTimeout(u))) : (Op(t, e), Mp(l, o), jp(n, t)); 6873 }); 6874 }); 6875} 6876function eS() { 6877 return g()[te][W]; 6878} 6879function Ou(e, t, n, r, i) { 6880 return e === n && Object.is(t, r) ? 1 : Object.is(i(e, t), i(n, r)) ? -1 : 0; 6881} 6882function tS(e, t, n, r) { 6883 let i, s, o = 0, l = e.length - 1; 6884 if (Array.isArray(t)) { 6885 E(r); 6886 let u = t.length - 1; 6887 for (E(null); o <= l && o <= u;) { 6888 let a = e.at(o), c = t[o], f = Ou(o, a, o, c, n); 6889 if (f !== 0) { 6890 f < 0 && e.updateValue(o, c), o++; 6891 continue; 6892 } 6893 let h = e.at(l), d = t[u], p = Ou(l, h, u, d, n); 6894 if (p !== 0) { 6895 p < 0 && e.updateValue(l, d), l--, u--; 6896 continue; 6897 } 6898 let y = n(o, a), _ = n(l, h), C = n(o, c); 6899 if (Object.is(C, _)) { 6900 let Q = n(u, d); 6901 Object.is(Q, y) ? (e.swap(o, l), e.updateValue(l, d), u--, l--) : e.move(l, o), e.updateValue(o, c), o++; 6902 continue; 6903 } 6904 if (i ??= new qc(), s ??= Ey(e, o, l, n), Au(e, i, o, C)) e.updateValue(o, c), o++, l++; 6905 else if (s.has(C)) i.set(y, e.detach(o)), l--; 6906 else { 6907 let Q = e.create(o, t[o]); 6908 e.attach(o, Q), o++, l++; 6909 } 6910 } 6911 for (; o <= u;) wy(e, i, n, o, t[o]), o++; 6912 } else if (t != null) { 6913 E(r); 6914 let u = t[Symbol.iterator](); 6915 E(null); 6916 let a = u.next(); 6917 for (; !a.done && o <= l;) {
6918 let c = e.at(o), f = a.value, h = Ou(o, c, o, f, n); 6919 if (h !== 0) h < 0 && e.updateValue(o, f), o++, a = u.next(); 6920 else { 6921 i ??= new qc(), s ??= Ey(e, o, l, n); 6922 let d = n(o, f); 6923 if (Au(e, i, o, d)) e.updateValue(o, f), o++, l++, a = u.next(); 6924 else if (!s.has(d)) e.attach(o, e.create(o, f)), o++, l++, a = u.next(); 6925 else { 6926 let p = n(o, c); 6927 i.set(p, e.detach(o)), l--; 6928 } 6929 } 6930 } 6931 for (; !a.done;) wy(e, i, n, e.length, a.value), a = u.next(); 6932 } 6933 for (; o <= l;) e.destroy(e.detach(l--)); 6934 i?.forEach((u) => { 6935 e.destroy(u); 6936 }); 6937} 6938function Au(e, t, n, r) { 6939 return t !== void 0 && t.has(r) ? (e.attach(n, t.get(r)), t.delete(r), !0) : !1; 6940} 6941function wy(e, t, n, r, i) { 6942 if (Au(e, t, r, n(r, i))) e.updateValue(r, i); 6943 else { 6944 let s = e.create(r, i); 6945 e.attach(r, s); 6946 } 6947} 6948function Ey(e, t, n, r) { 6949 let i = /* @__PURE__ */ new Set(); 6950 for (let s = t; s <= n; s++) i.add(r(s, e.at(s))); 6951 return i; 6952} 6953function nS(e, t, n, r, i, s, o, l) { 6954 ie("NgControlFlow"); 6955 let u = g(), a = M(); 6956 return Wt(u, a, e, t, n, r, i, Ce(a.consts, s), 256, o, l), Nu; 6957} 6958function Nu(e, t, n, r, i, s, o, l) { 6959 ie("NgControlFlow"); 6960 let u = g(), a = M(); 6961 return Wt(u, a, e, t, n, r, i, Ce(a.consts, s), 512, o, l), Nu; 6962} 6963function rS(e, t) { 6964 ie("NgControlFlow"); 6965 let n = g(), r = _e(), i = n[r] !== q ? n[r] : -1, s = i !== -1 ? gs(n, A + i) : void 0, o = 0; 6966 if (U(n, r, e)) { 6967 let l = E(null); 6968 try { 6969 if (s !== void 0 && cu(s, o), e !== -1) { 6970 let u = A + e, a = gs(n, u), c = Du(n[v], u), f = dg(a, c, n); 6971 Dn(a, Nn(n, c, t, { dehydratedView: f }), o, Ut(c, f)); 6972 } 6973 } finally { 6974 E(l); 6975 } 6976 } else if (s !== void 0) { 6977 let l = ug(s, o); 6978 l !== void 0 && (l[W] = t); 6979 } 6980} 6981function iS(e) { 6982 return e; 6983} 6984function sS(e, t) { 6985 return t; 6986} 6987function oS(e, t, n, r, i, s, o, l, u, a, c, f, h) { 6988 ie("NgControlFlow"); 6989 let d = g(), p = M(), y = u !== void 0, _ = g(), C = new Hb(y, l ? o.bind(_[te][W]) : o); 6990 _[A + e] = C, Wt(d, p, e + 1, t, n, r, i, Ce(p.consts, s), 256), y && Wt(d, p, e + 2, u, a, c, f, Ce(p.consts, h), 512); 6991} 6992function lS(e) { 6993 let t = E(null), n = ae(); 6994 try { 6995 let r = g(), i = r[v], s = r[n], o = n + 1, l = gs(r, o); 6996 s.liveCollection === void 0 ? s.liveCollection = new qb(l, r, Du(i, o)) : s.liveCollection.reset(); 6997 let u = s.liveCollection; 6998 if (tS(u, e, s.trackByFn, t), u.updateIndexes(), s.hasEmptyBlock) { 6999 let a = _e(), c = u.length === 0; 7000 if (U(r, a, c)) { 7001 let f = n + 2, h = gs(r, f); 7002 if (c) { 7003 let d = Du(i, f), p = dg(h, d, r); 7004 Dn(h, Nn(r, d, void 0, { dehydratedView: p }), 0, Ut(d, p)); 7005 } else i.firstUpdatePass && rs(h), cu(h, 0); 7006 } 7007 } 7008 } finally { 7009 E(t); 7010 } 7011} 7012function gs(e, t) { 7013 return e[t]; 7014} 7015function uS(e, t) { 7016 if (e.length <= B) return; 7017 let n = e[B + t], r = n ? n[Se] : void 0; 7018 if (n && r && r.detachedLeaveAnimationFns && r.detachedLeaveAnimationFns.length > 0) { 7019 let i = n[H]; 7020 zT(i, r), St.delete(n[Fe]), r.detachedLeaveAnimationFns = void 0; 7021 } 7022} 7023function aS(e, t) { 7024 if (e.length <= B) return; 7025 let n = e[B + t], r = n ? n[Se] : void 0; 7026 r && r.leave && r.leave.size > 0 && (r.detachedLeaveAnimationFns = []); 7027} 7028function cS(e, t) { 7029 return Ir(e, t); 7030} 7031function fS(e, t) { 7032 return ug(e, t); 7033} 7034function Du(e, t) { 7035 return yr(e, t); 7036} 7037function Iy(e, t, n) { 7038 let r = g(); 7039 return U(r, _e(), t) && (M(), Kp(Re(), r, e, t, r[D], n)), Iy; 7040} 7041function Ru(e, t, n, r, i) { 7042 Ji(t, e, n, i ? "class" : "style", r); 7043} 7044function ys(e, t, n, r) { 7045 let i = g(), s = i[v], o = e + A, l = s.firstCreatePass ? yu(o, i, 2, t, ou, ml(), n, r) : s.data[o]; 7046 if (Xe(l)) { 7047 let u = i[Pe].tracingService; 7048 if (u && u.componentCreate) { 7049 let a = s.data[l.directiveStart + l.componentOffset]; 7050 return u.componentCreate(gg(a), () => (Ty(e, t, i, l, r), ys)); 7051 } 7052 } 7053 return Ty(e, t, i, l, r), ys; 7054} 7055function Ty(e, t, n, r, i) { 7056 if (Gi(r, n, e, t, ao), pr(r)) { 7057 let s = n[v]; 7058 $i(s, n, r), ql(s, r, n); 7059 } 7060 i != null && An(n, r); 7061} 7062function Mu() { 7063 let e = M(), t = Ki(F()); 7064 return e.firstCreatePass && mu(e, t), ih(t) && sh(), rh(), t.classesWithoutHost != null && nI(t) && Ru(e, t, g(), t.classesWithoutHost, !0), t.stylesWithoutHost != null && rI(t) && Ru(e, t, g(), t.stylesWithoutHost, !1), Mu; 7065} 7066function xy(e, t, n, r) { 7067 return ys(e, t, n, r), Mu(), xy; 7068} 7069function ju(e, t, n, r) { 7070 let i = g(), s = i[v], o = e + A, l = s.firstCreatePass ? Og(o, s, 2, t, n, r) : s.data[o]; 7071 return Gi(l, i, e, t, ao), r != null && An(i, l), ju;
7072} 7073function Vu() { 7074 return ih(Ki(F())) && sh(), rh(), Vu; 7075} 7076function Cy(e, t, n, r) { 7077 return ju(e, t, n, r), Vu(), Cy; 7078} 7079function dS(e, t, n, r, i) { 7080 let s = !Hi(t, n); 7081 if (ft(s), s) return Ul(t[D], r, Il()); 7082 let o = t[de], l = ts(o, e, t, n); 7083 if (Yh(o, i) && Li(o, i, l.nextSibling), o) { 7084 if (l == null) throw new x(-502, `<${r}>`); 7085 if (l.nodeType !== Node.ELEMENT_NODE) { 7086 let u = l, a = u.textContent && u.textContent.slice(0, 50); 7087 throw new x(-500, a ? `${u.nodeName} ("${a}")` : u.nodeName); 7088 } 7089 (zh(n) || Zh(l)) && Xe(n) && (kE(n), yp(l)); 7090 } 7091 return l; 7092} 7093function hS() { 7094 ao = dS; 7095} 7096function Pu(e, t, n) { 7097 let r = g(), i = r[v], s = e + A, o = i.firstCreatePass ? yu(s, r, 8, "ng-container", ou, ml(), t, n) : i.data[s]; 7098 if (Gi(o, r, e, "ng-container", co), pr(o)) { 7099 let l = r[v]; 7100 $i(l, r, o), ql(l, o, r); 7101 } 7102 return n != null && An(r, o), Pu; 7103} 7104function ms() { 7105 let e = M(), t = Ki(F()); 7106 return e.firstCreatePass && mu(e, t), ms; 7107} 7108function ky(e, t, n) { 7109 return Pu(e, t, n), ms(), ky; 7110} 7111function Fu(e, t, n) { 7112 let r = g(), i = r[v], s = e + A, o = i.firstCreatePass ? Og(s, i, 8, "ng-container", t, n) : i.data[s]; 7113 return Gi(o, r, e, "ng-container", co), n != null && An(r, o), Fu; 7114} 7115function Sy() { 7116 return Ki(F()), ms; 7117} 7118function Oy(e, t, n) { 7119 return Fu(e, t, n), Sy(), Oy; 7120} 7121function pS(e, t, n, r, i) { 7122 let s, o = !Hi(t, n); 7123 if (ft(o), o) return hp(t[D], ""); 7124 let l = t[de], u = ts(l, e, t, n), a = MI(l, i); 7125 return Li(l, i, u), s = ns(a, u), s; 7126} 7127function gS() { 7128 co = pS; 7129} 7130function yS() { 7131 return g(); 7132} 7133function Ay(e, t, n) { 7134 let r = g(); 7135 return U(r, _e(), t) && (M(), su(Re(), r, e, t, r[D], n)), Ay; 7136} 7137function Ny(e, t, n) { 7138 let r = g(); 7139 if (U(r, _e(), t)) { 7140 let i = M(), s = Re(); 7141 su(s, r, e, t, wx(fh(i.data), s, r), n); 7142 } 7143 return Ny; 7144} 7145function mS(e) { 7146 let t = Math.floor(Math.abs(e)), n = e.toString().replace(/^[^.]*\.?/, "").length; 7147 return t === 1 && n === 0 ? 1 : 5; 7148} 7149function Dy(e) { 7150 let t = bS(e), n = Ry(t); 7151 if (n) return n; 7152 let r = t.split("-")[0]; 7153 if (n = Ry(r), n) return n; 7154 if (r === "en") return Bb; 7155 throw new x(701, !1); 7156} 7157function vS(e) { 7158 return Dy(e)[Bc.PluralCase]; 7159} 7160function Ry(e) { 7161 if (!(e in fo)) { 7162 let t = Ue.ng && Ue.ng.common && Ue.ng.common.locales && Ue.ng.common.locales[e]; 7163 return t !== void 0 && (fo[e] = t), t; 7164 } 7165 return fo[e]; 7166} 7167function bS(e) { 7168 return e.toLowerCase().replace(/_/g, "-"); 7169} 7170function _S(e) { 7171 typeof e == "string" && e.toLowerCase().replace(/_/g, "-"); 7172} 7173function My(e, t, n) { 7174 let r = g(), i = M(), s = F(); 7175 return Vy(i, r, r[D], s, e, t, n), My; 7176} 7177function jy(e, t, n) { 7178 let r = g(), i = M(), s = F(); 7179 return (s.type & 3 || n) && pu(s, i, r, n, r[D], e, t, pt(s, r, t)), jy; 7180} 7181function Vy(e, t, n, r, i, s, o) { 7182 let l = !0, u = null; 7183 if ((r.type & 3 || o) && (u ??= pt(r, t, s), pu(r, e, t, o, n, i, s, u) && (l = !1)), l) { 7184 let a = r.outputs?.[i], c = r.hostDirectiveOutputs?.[i]; 7185 if (c && c.length) for (let f = 0; f < c.length; f += 2) { 7186 let h = c[f], d = c[f + 1]; 7187 u ??= pt(r, t, s), os(r, t, h, d, i, u); 7188 } 7189 if (a && a.length) for (let f of a) u ??= pt(r, t, s), os(r, t, f, i, i, u); 7190 } 7191} 7192function wS(e = 1) { 7193 return VE(e); 7194} 7195function ES(e, t) { 7196 let n = null, r = CT(e); 7197 for (let i = 0; i < t.length; i++) { 7198 let s = t[i]; 7199 if (s === "*") { 7200 n = i; 7201 continue; 7202 } 7203 if (r === null ? wp(e, s, !0) : OT(r, s)) return i; 7204 } 7205 return n; 7206} 7207function IS(e) { 7208 let t = g()[te][fe]; 7209 if (!t.projection) { 7210 let n = t.projection = oE(e ? e.length : 1, null), r = n.slice(), i = t.child; 7211 for (; i !== null;) { 7212 if (i.type !== 128) { 7213 let s = e ? ES(i, e) : 0; 7214 s !== null && (r[s] ? r[s].projectionNext = i : n[s] = i, r[s] = i); 7215 } 7216 i = i.next; 7217 } 7218 } 7219} 7220function TS(e, t = 0, n, r, i, s) { 7221 let o = g(), l = M(), u = r ? e + 1 : null; 7222 u !== null && Wt(o, l, u, r, i, s, null, n); 7223 let a = zt(l, A + e, 16, null, n || null); 7224 a.projection === null && (a.projection = t), uh(); 7225 let c = !o[de] || vl(); 7226 o[te][fe].projection[a.projection] === null && u !== null ? xS(o, l, u) : c && !Fi(a) && ix(l, o, a); 7227} 7228function xS(e, t, n) { 7229 let r = A + n, i = t.data[r], s = e[r], o = Tr(s, i.tView.ssrId); 7230 Dn(s, Nn(e, i, void 0, { dehydratedView: o }), 0, Ut(i, o)); 7231} 7232function Py(e, t, n, r) { 7233 return Fg(e, t, n, r), Py; 7234} 7235function Fy(e, t, n) { 7236 return Pg(e, t, n), Fy; 7237} 7238function CS(e) { 7239 let t = g(), n = M(), r = _l(); 7240 ki(r + 1); 7241 let i = wu(n, r); 7242 if (e.dirty && wE(t) === ((i.metadata.flags & 2) === 2)) { 7243 if (i.matches === null) e.reset([]); 7244 else { 7245 let s = Hg(t, r); 7246 e.reset(s, Uh), e.notifyOnChanges(); 7247 } 7248 return !0; 7249 } 7250 return !1; 7251} 7252function kS() { 7253 return _u(g(), _l()); 7254} 7255function Ly(e, t, n, r, i) { 7256 return zg(t, Fg(e, n, r, i)), Ly; 7257} 7258function Hy(e, t, n, r) { 7259 return zg(e, Pg(t, n, r)), Hy; 7260} 7261function SS(e = 1) { 7262 ki(_l() + e); 7263} 7264function OS(e) { 7265 return jt(ah(), A + e); 7266} 7267function vs(e, t) { 7268 return e << 17 | t << 2; 7269} 7270function Kt(e) { 7271 return e >> 17 & 32767; 7272} 7273function AS(e) { 7274 return (e & 2) == 2; 7275} 7276function NS(e, t) { 7277 return e & 131071 | t << 17; 7278} 7279function Lu(e) { 7280 return e | 2; 7281} 7282function Rn(e) { 7283 return (e & 131068) >> 2; 7284} 7285function Hu(e, t) { 7286 return e & -131069 | t << 2; 7287} 7288function DS(e) { 7289 return (e & 1) === 1; 7290} 7291function qu(e) { 7292 return e | 1; 7293} 7294function RS(e, t, n, r, i, s) { 7295 let o = s ? t.classBindings : t.styleBindings, l = Kt(o), u = Rn(o); 7296 e[r] = n; 7297 let a = !1, c; 7298 if (Array.isArray(n)) { 7299 let f = n; 7300 c = f[1], (c === null || fr(f, c) > 0) && (a = !0); 7301 } else c = n; 7302 if (i) if (u !== 0) { 7303 let f = Kt(e[l + 1]); 7304 e[r + 1] = vs(f, l), f !== 0 && (e[f + 1] = Hu(e[f + 1], r)), e[l + 1] = NS(e[l + 1], r); 7305 } else e[r + 1] = vs(l, 0), l !== 0 && (e[l + 1] = Hu(e[l + 1], r)), l = r; 7306 else e[r + 1] = vs(u, 0), l === 0 ? l = r : e[u + 1] = Hu(e[u + 1], r), u = r; 7307 a && (e[r + 1] = Lu(e[r + 1])), qy(e, c, r, !0), qy(e, c, r, !1), MS(t, c, e, r, s), o = vs(l, u), s ? t.classBindings = o : t.styleBindings = o; 7308} 7309function MS(e, t, n, r, i) { 7310 let s = i ? e.residualClasses : e.residualStyles; 7311 s != null && typeof t == "string" && fr(s, t) >= 0 && (n[r + 1] = qu(n[r + 1])); 7312} 7313function qy(e, t, n, r) { 7314 let i = e[n + 1], s = t === null, o = r ? Kt(i) : Rn(i), l = !1; 7315 for (; o !== 0 && (l === !1 || s);) { 7316 let u = e[o], a = e[o + 1]; 7317 jS(u, t) && (l = !0, e[o + 1] = r ? qu(a) : Lu(a)), o = r ? Kt(a) : Rn(a); 7318 } 7319 l && (e[n + 1] = r ? Lu(i) : qu(i)); 7320} 7321function jS(e, t) { 7322 return e === null || t == null || (Array.isArray(e) ? e[1] : e) === t ? !0 : Array.isArray(e) && typeof t == "string" ? fr(e, t) >= 0 : !1; 7323} 7324function By(e) { 7325 return e.substring(K.key, K.keyEnd); 7326} 7327function VS(e) { 7328 return e.substring(K.value, K.valueEnd); 7329} 7330function PS(e) { 7331 return Zy(e), Uy(e, Mn(e, 0, K.textEnd)); 7332} 7333function Uy(e, t) { 7334 let n = K.textEnd; 7335 return n === t ? -1 : (t = K.keyEnd = LS(e, K.key = t, n), Mn(e, t, n)); 7336} 7337function FS(e) { 7338 return Zy(e), zy(e, Mn(e, 0, K.textEnd)); 7339} 7340function zy(e, t) { 7341 let n = K.textEnd, r = K.key = Mn(e, t, n); 7342 return n === r ? -1 : (r = K.keyEnd = HS(e, r, n), r = Wy(e, r, n, 58), r = K.value = Mn(e, r, n), r = K.valueEnd = qS(e, r, n), Wy(e, r, n, 59)); 7343} 7344function Zy(e) { 7345 K.key = 0, K.keyEnd = 0, K.value = 0, K.valueEnd = 0, K.textEnd = e.length; 7346} 7347function Mn(e, t, n) { 7348 for (; t < n && e.charCodeAt(t) <= 32;) t++; 7349 return t; 7350} 7351function LS(e, t, n) { 7352 for (; t < n && e.charCodeAt(t) > 32;) t++; 7353 return t; 7354} 7355function HS(e, t, n) { 7356 let r; 7357 for (; t < n && ((r = e.charCodeAt(t)) === 45 || r === 95 || (r & -33) >= 65 && (r & -33) <= 90 || r >= 48 && r <= 57);) t++; 7358 return t; 7359} 7360function Wy(e, t, n, r) {
7361 return t = Mn(e, t, n), t < n && t++, t; 7362} 7363function qS(e, t, n) { 7364 let r = -1, i = -1, s = -1, o = t, l = o; 7365 for (; o < n;) { 7366 let u = e.charCodeAt(o++); 7367 if (u === 59) return l; 7368 u === 34 || u === 39 ? l = o = Qy(e, u, o, n) : t === o - 4 && s === 85 && i === 82 && r === 76 && u === 40 ? l = o = Qy(e, 41, o, n) : u > 32 && (l = o), s = i, i = r, r = u & -33; 7369 } 7370 return l; 7371} 7372function Qy(e, t, n, r) { 7373 let i = -1, s = n; 7374 for (; s < r;) { 7375 let o = e.charCodeAt(s++); 7376 if (o == t && i !== 92) return s; 7377 o == 92 && i === 92 ? i = 0 : i = o; 7378 } 7379 throw new Error(); 7380} 7381function $y(e, t, n) { 7382 return Ky(e, t, n, !1), $y; 7383} 7384function Gy(e, t) { 7385 return Ky(e, t, null, !0), Gy; 7386} 7387function BS(e) { 7388 Jy(em, US, e, !1); 7389} 7390function US(e, t) { 7391 for (let n = FS(t); n >= 0; n = zy(t, n)) em(e, By(t), VS(t)); 7392} 7393function zS(e) { 7394 Jy(JS, ZS, e, !0); 7395} 7396function ZS(e, t) { 7397 for (let n = PS(t); n >= 0; n = Uy(t, n)) Ei(e, By(t), !0); 7398} 7399function Ky(e, t, n, r) { 7400 let i = g(), s = M(), o = Pt(2); 7401 if (s.firstUpdatePass && Xy(s, e, o, r), t !== q && U(i, o, t)) { 7402 let l = s.data[ae()]; 7403 tm(s, l, i, i[D], e, i[o + 1] = XS(t, n), r, o); 7404 } 7405} 7406function Jy(e, t, n, r) { 7407 let i = M(), s = Pt(2); 7408 i.firstUpdatePass && Xy(i, null, s, r); 7409 let o = g(); 7410 if (n !== q && U(o, s, n)) { 7411 let l = i.data[ae()]; 7412 if (rm(l, r) && !Yy(i, s)) { 7413 let u = r ? l.classesWithoutHost : l.stylesWithoutHost; 7414 u !== null && (n = Xo(u, n || "")), Ru(i, l, o, n, r); 7415 } else YS(i, l, o, o[D], o[s + 1], o[s + 1] = KS(e, t, n), r, s); 7416 } 7417} 7418function Yy(e, t) { 7419 return t >= e.expandoStartIndex; 7420} 7421function Xy(e, t, n, r) { 7422 let i = e.data; 7423 if (i[n + 1] === null) { 7424 let s = i[ae()], o = Yy(e, n); 7425 rm(s, r) && t === null && !o && (t = !1), t = WS(i, s, t, r), RS(i, s, t, n, o, r); 7426 } 7427} 7428function WS(e, t, n, r) { 7429 let i = fh(e), s = r ? t.residualClasses : t.residualStyles; 7430 if (i === null) (r ? t.classBindings : t.styleBindings) === 0 && (n = Bu(null, e, t, n, r), n = Sr(n, t.attrs, r), s = null); 7431 else { 7432 let o = t.directiveStylingLast; 7433 if (o === -1 || e[o] !== i) if (n = Bu(i, e, t, n, r), s === null) { 7434 let l = QS(e, t, r); 7435 l !== void 0 && Array.isArray(l) && (l = Bu(null, e, t, l[1], r), l = Sr(l, t.attrs, r), $S(e, t, r, l)); 7436 } else s = GS(e, t, r); 7437 } 7438 return s !== void 0 && (r ? t.residualClasses = s : t.residualStyles = s), n; 7439} 7440function QS(e, t, n) { 7441 let r = n ? t.classBindings : t.styleBindings; 7442 if (Rn(r) !== 0) return e[Kt(r)]; 7443} 7444function $S(e, t, n, r) { 7445 let i = n ? t.classBindings : t.styleBindings; 7446 e[Kt(i)] = r; 7447} 7448function GS(e, t, n) { 7449 let r, i = t.directiveEnd; 7450 for (let s = 1 + t.directiveStylingLast; s < i; s++) { 7451 let o = e[s].hostAttrs; 7452 r = Sr(r, o, n); 7453 } 7454 return Sr(r, t.attrs, n); 7455} 7456function Bu(e, t, n, r, i) { 7457 let s = null, o = n.directiveEnd, l = n.directiveStylingLast; 7458 for (l === -1 ? l = n.directiveStart : l++; l < o && (s = t[l], r = Sr(r, s.hostAttrs, i), s !== e);) l++; 7459 return e !== null && (n.directiveStylingLast = l), r; 7460} 7461function Sr(e, t, n) { 7462 let r = n ? 1 : 2, i = -1; 7463 if (t !== null) for (let s = 0; s < t.length; s++) { 7464 let o = t[s]; 7465 typeof o == "number" ? i = o : i === r && (Array.isArray(e) || (e = e === void 0 ? [] : ["", e]), Ei(e, o, n ? !0 : t[++s])); 7466 } 7467 return e === void 0 ? null : e; 7468} 7469function KS(e, t, n) { 7470 if (n == null || n === "") return le; 7471 let r = [], i = ht(n); 7472 if (Array.isArray(i)) for (let s = 0; s < i.length; s++) e(r, i[s], !0); 7473 else if (i instanceof Set) for (let s of i) e(r, s, !0); 7474 else if (typeof i == "object") for (let s in i) Object.hasOwn(i, s) && e(r, s, i[s]); 7475 else typeof i == "string" && t(r, i); 7476 return r; 7477} 7478function em(e, t, n) { 7479 Ei(e, t, ht(n)); 7480} 7481function JS(e, t, n) { 7482 let r = String(t); 7483 r !== "" && !r.includes(" ") && Ei(e, r, n); 7484} 7485function YS(e, t, n, r, i, s, o, l) { 7486 i === q && (i = le); 7487 let u = 0, a = 0, c = 0 < i.length ? i[0] : null, f = 0 < s.length ? s[0] : null; 7488 for (; c !== null || f !== null;) { 7489 let h = u < i.length ? i[u + 1] : void 0, d = a < s.length ? s[a + 1] : void 0, p = null, y; 7490 c === f ? (u += 2, a += 2, h !== d && (p = f, y = d)) : f === null || c !== null && c < f ? (u += 2, p = c) : (a += 2, p = f, y = d), p !== null && tm(e, t, n, r, p, y, o, l), c = u < i.length ? i[u] : null, f = a < s.length ? s[a] : null; 7491 } 7492} 7493function tm(e, t, n, r, i, s, o, l) { 7494 if (!(t.type & 3)) return; 7495 let u = e.data, a = u[l + 1]; 7496 bs(DS(a) ? nm(u, t, n, i, Rn(a), o) : void 0) || (bs(s) || AS(a) && (s = nm(u, null, n, i, l, o)), ox(r, o, Yd(ae(), n), i, s)); 7497} 7498function nm(e, t, n, r, i, s) { 7499 let o = t === null, l; 7500 for (; i > 0;) { 7501 let u = e[i], a = Array.isArray(u), c = a ? u[1] : u, f = c === null, h = n[i + 1]; 7502 h === q && (h = f ? le : void 0); 7503 let d = f ? sl(h, r) : c === r ? h : void 0; 7504 if (a && !bs(d) && (d = sl(u, r)), bs(d) && (l = d, o)) return l; 7505 let p = e[i + 1]; 7506 i = o ? Kt(p) : Rn(p); 7507 } 7508 if (t !== null) { 7509 let u = s ? t.residualClasses : t.residualStyles; 7510 u != null && (l = sl(u, r)); 7511 } 7512 return l; 7513} 7514function bs(e) { 7515 return e !== void 0; 7516} 7517function XS(e, t) { 7518 return e == null || e === "" || (typeof t == "string" ? e = ht(e) + t : typeof e == "object" && (e = Yo(ht(e)))), e; 7519} 7520function rm(e, t) { 7521 return (e.flags & (t ? 8 : 16)) !== 0; 7522} 7523function eO(e, t = "") { 7524 let n = g(), r = M(), i = e + A, s = r.firstCreatePass ? zt(r, i, 1, t, null) : r.data[i], o = Uc(r, n, s, t); 7525 n[i] = o, Tl() && Xl(r, n, o, s), xn(s, !1); 7526} 7527function tO(e, t, n, r) { 7528 let i = !Hi(t, n); 7529 if (ft(i), i) return dp(t[D], r); 7530 let s = t[de]; 7531 return ts(s, e, t, n); 7532} 7533function nO() {
7534 Uc = tO; 7535} 7536function im(e, t, n, r = "") { 7537 return U(e, _e(), n) ? t + L(n) + r : q; 7538} 7539function sm(e, t, n, r, i, s = "") { 7540 let o = Zt(e, mr(), n, i); 7541 return Pt(2), o ? t + L(n) + r + L(i) + s : q; 7542} 7543function om(e, t, n, r, i, s, o, l = "") { 7544 let u = hu(e, mr(), n, i, o); 7545 return Pt(3), u ? t + L(n) + r + L(i) + s + L(o) + l : q; 7546} 7547function lm(e, t, n, r, i, s, o, l, u, a = "") { 7548 let c = tt(e, mr(), n, i, o, u); 7549 return Pt(4), c ? t + L(n) + r + L(i) + s + L(o) + l + L(u) + a : q; 7550} 7551function rO(e, t, n, r, i, s, o, l, u, a, c, f = "") { 7552 let h = mr(), d = tt(e, h, n, i, o, u); 7553 return d = U(e, h + 4, c) || d, Pt(5), d ? t + L(n) + r + L(i) + s + L(o) + l + L(u) + a + L(c) + f : q; 7554} 7555function iO(e, t, n, r, i, s, o, l, u, a, c, f, h, d = "") { 7556 let p = mr(), y = tt(e, p, n, i, o, u); 7557 return y = Zt(e, p + 4, c, h) || y, Pt(6), y ? t + L(n) + r + L(i) + s + L(o) + l + L(u) + a + L(c) + f + L(h) + d : q; 7558} 7559function um(e) { 7560 return Uu("", e), um; 7561} 7562function Uu(e, t, n) { 7563 let r = g(), i = im(r, e, t, n); 7564 return i !== q && jn(r, ae(), i), Uu; 7565} 7566function am(e, t, n, r, i) { 7567 let s = g(), o = sm(s, e, t, n, r, i); 7568 return o !== q && jn(s, ae(), o), am; 7569} 7570function cm(e, t, n, r, i, s, o) { 7571 let l = g(), u = om(l, e, t, n, r, i, s, o); 7572 return u !== q && jn(l, ae(), u), cm; 7573} 7574function fm(e, t, n, r, i, s, o, l, u) { 7575 let a = g(), c = lm(a, e, t, n, r, i, s, o, l, u); 7576 return c !== q && jn(a, ae(), c), fm; 7577} 7578function dm(e, t, n, r, i, s, o, l, u, a, c) { 7579 let f = g(), h = rO(f, e, t, n, r, i, s, o, l, u, a, c); 7580 return h !== q && jn(f, ae(), h), dm; 7581} 7582function hm(e, t, n, r, i, s, o, l, u, a, c, f, h) { 7583 let d = g(), p = iO(d, e, t, n, r, i, s, o, l, u, a, c, f, h); 7584 return p !== q && jn(d, ae(), p), hm; 7585} 7586function jn(e, t, n) { 7587 let r = Yd(t, e); 7588 uT(e[D], r, n); 7589} 7590function pm(e, t, n) { 7591 Th(t) && (t = t()); 7592 let r = g(); 7593 return U(r, _e(), t) && (M(), Kp(Re(), r, e, t, r[D], n)), pm; 7594} 7595function sO(e, t) { 7596 let n = Th(e); 7597 return n && e.set(t), n; 7598} 7599function gm(e, t) { 7600 let n = g(), r = M(), i = F(); 7601 return Vy(r, n, n[D], i, e, t), gm; 7602} 7603function ym(e) { 7604 ie("NgLet"); 7605 let t = M(), n = g(), r = e + A; 7606 return xn(zt(t, r, 128, null, null), !1), hl(t, n, r, zc), ym; 7607} 7608function oO(e) { 7609 return hl(M(), g(), ae(), e), e; 7610} 7611function lO(e) { 7612 let t = jt(ah(), A + e); 7613 if (t === zc) throw new x(314, !1); 7614 return t; 7615} 7616function uO(e) { 7617 return U(g(), _e(), e) ? L(e) : q; 7618} 7619function aO(e, t, n = "") { 7620 return im(g(), e, t, n); 7621} 7622function cO(e, t, n, r, i = "") { 7623 return sm(g(), e, t, n, r, i); 7624} 7625function fO(e, t, n, r, i, s, o = "") { 7626 return om(g(), e, t, n, r, i, s, o); 7627} 7628function dO(e, t, n, r, i, s, o, l, u = "") { 7629 return lm(g(), e, t, n, r, i, s, o, l, u); 7630} 7631function mm(e, t, n) { 7632 let r = M(); 7633 r.firstCreatePass && vm(t, r.data, r.blueprint, Ne(e), n); 7634} 7635function vm(e, t, n, r, i) { 7636 if (e = ee(e), Array.isArray(e)) for (let s = 0; s < e.length; s++) vm(e[s], t, n, r, i); 7637 else { 7638 let s = M(), o = g(), l = F(), u = En(e) ? e : ee(e.provide), a = Kd(e), c = l.providerIndexes & 1048575, f = l.directiveStart, h = l.providerIndexes >> 20; 7639 if (En(e) || !e.multi) { 7640 let d = new Un(a, i, Cr, null), p = Zu(u, t, i ? c : c + h, f); 7641 p === -1 ? (Dl(ji(l, o), s, u), zu(s, e, t.length), t.push(u), l.directiveStart++, l.directiveEnd++, i && (l.providerIndexes += 1048576), n.push(d), o.push(d)) : (n[p] = d, o[p] = d); 7642 } else { 7643 let d = Zu(u, t, c + h, f), p = Zu(u, t, c, c + h), y = d >= 0 && n[d], _ = p >= 0 && n[p]; 7644 if (i && !_ || !i && !y) { 7645 Dl(ji(l, o), s, u); 7646 let C = gO(i ? pO : hO, n.length, i, r, a, e); 7647 !i && _ && (n[p].providerFactory = C), zu(s, e, t.length, 0), t.push(u), l.directiveStart++, l.directiveEnd++, i && (l.providerIndexes += 1048576), n.push(C), o.push(C); 7648 } else { 7649 let C = bm(n[i ? p : d], a, !i && r); 7650 zu(s, e, d > -1 ? d : p, C); 7651 } 7652 !i && r && _ && n[p].componentProviders++; 7653 } 7654 } 7655} 7656function zu(e, t, n, r) { 7657 let i = En(t), s = fE(t); 7658 if (i || s) { 7659 let o = (s ? ee(t.useClass) : t).prototype.ngOnDestroy; 7660 if (o) { 7661 let l = e.destroyHooks || (e.destroyHooks = []); 7662 if (!i && t.multi) { 7663 let u = l.indexOf(n); 7664 u === -1 ? l.push(n, [r, o]) : l[u + 1].push(r, o); 7665 } else l.push(n, o); 7666 } 7667 } 7668} 7669function bm(e, t, n) { 7670 return n && e.componentProviders++, e.multi.push(t) - 1; 7671} 7672function Zu(e, t, n, r) { 7673 for (let i = n; i < r; i++) if (t[i] === e) return i; 7674 return -1; 7675} 7676function hO(e, t, n, r, i) { 7677 return Wu(this.multi, []); 7678} 7679function pO(e, t, n, r, i) { 7680 let s = this.multi, o; 7681 if (this.providerFactory) { 7682 let l = this.providerFactory.componentProviders, u = br(r, r[v], this.providerFactory.index, i);
7683 o = u.slice(0, l), Wu(s, o); 7684 for (let a = l; a < u.length; a++) o.push(u[a]); 7685 } else o = [], Wu(s, o); 7686 return o; 7687} 7688function Wu(e, t) { 7689 for (let n = 0; n < e.length; n++) { 7690 let r = e[n]; 7691 t.push(r()); 7692 } 7693 return t; 7694} 7695function gO(e, t, n, r, i, s) { 7696 let o = new Un(e, n, Cr, null); 7697 return o.multi = [], o.index = t, o.componentProviders = 0, bm(o, i, r && !n), o; 7698} 7699function yO(e, t) { 7700 return (n) => { 7701 n.providersResolver = (r, i) => mm(r, i ? i(e) : e, !1), t && (n.viewProvidersResolver = (r, i) => mm(r, i ? i(t) : t, !0)); 7702 }; 7703} 7704function mO(e, t, n) { 7705 let r = e.ɵcmp; 7706 r.directiveDefs = us(t, Wg), r.pipeDefs = us(n, tl); 7707} 7708function vO() { 7709 return Zc(); 7710} 7711function _m(e) { 7712 e.requested && e.activated && Wc(e.injector, e.document); 7713} 7714function bO() { 7715 Qc || (Qc = !0, HI(), ie("NgIncrementalHydration"), Zc = () => new V0(), Wc = (e, t) => { 7716 Lk(e, WI(e), Zx(t, t.body)), FI(t, e); 7717 }); 7718 { 7719 let e = g()[H].get(po, null, { optional: !0 }); 7720 e !== null && !e.activated && (e.activated = !0, _m(e)); 7721 } 7722} 7723function _O(e, t) { 7724 let n = ue() + e, r = g(); 7725 return r[n] === q ? He(r, n, t()) : xr(r, n); 7726} 7727function wO(e, t, n) { 7728 return wm(g(), ue(), e, t, n); 7729} 7730function EO(e, t, n, r) { 7731 return Em(g(), ue(), e, t, n, r); 7732} 7733function IO(e, t, n, r, i) { 7734 return Im(g(), ue(), e, t, n, r, i); 7735} 7736function TO(e, t, n, r, i, s, o) { 7737 return Tm(g(), ue(), e, t, n, r, i, s); 7738} 7739function xO(e, t, n, r, i, s, o) { 7740 let l = ue() + e, u = g(), a = tt(u, l, n, r, i, s); 7741 return U(u, l + 4, o) || a ? He(u, l + 5, t(n, r, i, s, o)) : xr(u, l + 5); 7742} 7743function CO(e, t, n, r, i, s, o, l) { 7744 let u = ue() + e, a = g(), c = tt(a, u, n, r, i, s); 7745 return Zt(a, u + 4, o, l) || c ? He(a, u + 6, t(n, r, i, s, o, l)) : xr(a, u + 6); 7746} 7747function kO(e, t, n, r, i, s, o, l, u) { 7748 let a = ue() + e, c = g(), f = tt(c, a, n, r, i, s); 7749 return hu(c, a + 4, o, l, u) || f ? He(c, a + 7, t(n, r, i, s, o, l, u)) : xr(c, a + 7); 7750} 7751function SO(e, t, n, r, i, s, o, l, u, a) { 7752 let c = ue() + e, f = g(), h = tt(f, c, n, r, i, s); 7753 return tt(f, c + 4, o, l, u, a) || h ? He(f, c + 8, t(n, r, i, s, o, l, u, a)) : xr(f, c + 8); 7754} 7755function OO(e, t, n) { 7756 return xm(g(), ue(), e, t, n); 7757} 7758function Or(e, t) { 7759 let n = e[t]; 7760 return n === q ? void 0 : n; 7761} 7762function wm(e, t, n, r, i, s) { 7763 let o = t + n; 7764 return U(e, o, i) ? He(e, o + 1, s ? r.call(s, i) : r(i)) : Or(e, o + 1); 7765} 7766function Em(e, t, n, r, i, s, o) { 7767 let l = t + n; 7768 return Zt(e, l, i, s) ? He(e, l + 2, o ? r.call(o, i, s) : r(i, s)) : Or(e, l + 2); 7769} 7770function Im(e, t, n, r, i, s, o, l) { 7771 let u = t + n; 7772 return hu(e, u, i, s, o) ? He(e, u + 3, l ? r.call(l, i, s, o) : r(i, s, o)) : Or(e, u
7772+ 3); 7773} 7774function Tm(e, t, n, r, i, s, o, l, u) { 7775 let a = t + n; 7776 return tt(e, a, i, s, o, l) ? He(e, a + 4, u ? r.call(u, i, s, o, l) : r(i, s, o, l)) : Or(e, a + 4); 7777} 7778function xm(e, t, n, r, i, s) { 7779 let o = t + n, l = !1; 7780 for (let u = 0; u < i.length; u++) U(e, o++, i[u]) && (l = !0); 7781 return l ? He(e, o, r.apply(s, i)) : Or(e, o); 7782} 7783function AO(e, t) { 7784 let n = M(), r, i = e + A; 7785 n.firstCreatePass ? (r = NO(t, n.pipeRegistry), n.data[i] = r, r.onDestroy && (n.destroyHooks ??= []).push(i, r.onDestroy)) : r = n.data[i]; 7786 let s = r.factory || (r.factory = Rt(r.type, !0)), o = pe(Cr); 7787 try { 7788 let l = Mi(!1), u = s(); 7789 return Mi(l), hl(n, g(), i, u), u; 7790 } finally { 7791 pe(o); 7792 } 7793} 7794function NO(e, t) { 7795 if (t) for (let n = t.length - 1; n >= 0; n--) { 7796 let r = t[n]; 7797 if (e === r.name) return r; 7798 } 7799} 7800function DO(e, t, n) { 7801 let r = e + A, i = g(), s = jt(i, r); 7802 return Ar(i, r) ? wm(i, ue(), t, s.transform, n, s) : s.transform(n); 7803} 7804function RO(e, t, n, r) { 7805 let i = e + A, s = g(), o = jt(s, i); 7806 return Ar(s, i) ? Em(s, ue(), t, o.transform, n, r, o) : o.transform(n, r); 7807} 7808function MO(e, t, n, r, i) { 7809 let s = e + A, o = g(), l = jt(o, s); 7810 return Ar(o, s) ? Im(o, ue(), t, l.transform, n, r, i, l) : l.transform(n, r, i); 7811} 7812function jO(e, t, n, r, i, s) { 7813 let o = e + A, l = g(), u = jt(l, o); 7814 return Ar(l, o) ? Tm(l, ue(), t, u.transform, n, r, i, s, u) : u.transform(n, r, i, s); 7815} 7816function VO(e, t, n) { 7817 let r = e + A, i = g(), s = jt(i, r); 7818 return Ar(i, r) ? xm(i, ue(), t, s.transform, n, s) : s.transform.apply(s, n); 7819} 7820function Ar(e, t) { 7821 return e[v].data[t].pure; 7822} 7823function PO(e, t) { 7824 return es(e, t); 7825} 7826function FO() { 7827 return [ 7828 { 7829 provide: Ke, 7830 useExisting: zb 7831 }, 7832 { 7833 provide: z, 7834 useClass: e0 7835 }, 7836 { 7837 provide: Bn, 7838 useValue: !0 7839 } 7840 ]; 7841} 7842function LO() { 7843 return typeof $localize < "u" && $localize.locale || ho; 7844} 7845function HO(e) { 7846 let t = e.length - 1; 7847 for (; t > -1;) e[t] === null && e.splice(t, 1), t--; 7848} 7849function qO(e) { 7850 return e.destroyRef; 7851} 7852function gt(e, t) { 7853 return Qo(e, t?.equal); 7854} 7855function ge(e) { 7856 return W1(e); 7857} 7858function Qu(e, t) { 7859 return typeof e == "function" ? Cm(Go(e, $b, t?.equal), t?.debugName, t?.set) : Cm(Go(e.source, e.computation, e.equal), e.debugName, e.set); 7860} 7861function Cm(e, t, n) { 7862 let r = e[J], i = e; 7863 if (n !== void 0) { 7864 let s = (o) => Ko(r, o); 7865 i.set = (o) => n(o, s), i.update = (o) => n(o(ge(e)), s); 7866 } else i.set = (s) => Ko(r, s), i.update = (s) => jd(r, s); 7867 return i.asReadonly = Oi.bind(e), i; 7868} 7869function BO(e) { 7870 let t = e.request; 7871 return new Kb(e.params ?? t ?? (() => null), zO(e), e.defaultValue, e.equal ? UO(e.equal) : void 0, e.debugName, e.injector ?? m(We), e.id); 7872} 7873function UO(e) { 7874 return (t, n) => t === void 0 || n === void 0 ? t === n : e(t, n); 7875} 7876function zO(e) { 7877 return ZO(e) ? e.stream : (t) => pn(null, null, function* () { 7878 try { 7879 return dt({ value: yield e.loader(t) }, void 0); 7880 } catch (n) { 7881 return dt({ error: _s(n) }, void 0); 7882 } 7883 }); 7884} 7885function ZO(e) { 7886 return !!e.stream; 7887} 7888function km(e) { 7889 switch (e.status) { 7890 case "loading": return e.extRequest.reload === 0 ? "loading" : "reloading"; 7891 case "resolved": return $u(e.stream()) ? "resolved" : "error"; 7892 default: return e.status; 7893 } 7894} 7895function $u(e) { 7896 return e.error === void 0; 7897} 7898function _s(e) { 7899 return WO(e) ? e : new Yb(e); 7900} 7901function WO(e) { 7902 return e instanceof Error || typeof e == "object" && typeof e.name == "string" && typeof e.message == "string"; 7903} 7904function QO(e) { 7905 switch (e.status()) { 7906 case "idle": throw si.IDLE; 7907 case "error": throw new Qb(e); 7908 case "loading": 7909 case "reloading": throw si.LOADING; 7910 } 7911 return e.value(); 7912} 7913function Sm() { 7914 return Gc; 7915} 7916function Gu(e) { 7917 Gc = e; 7918} 7919function $O() { 7920 return new x(992, !1); 7921} 7922function Om(e) { 7923 if (e instanceof x && e.code === 992) throw e; 7924} 7925function GO(e) { 7926 return e[mo.JSACTION]; 7927} 7928function Am(e, t) { 7929 e[mo.JSACTION] = t; 7930} 7931function KO(e) { 7932 return Kc[e]; 7933} 7934function JO(e, t) { 7935 Kc[e] = t; 7936} 7937function YO(e) { 7938 return e === w.MOUSEENTER ? w.MOUSEOVER : e === w.MOUSELEAVE ? w.MOUSEOUT : e === w.POINTERENTER ? w.POINTEROVER : e === w.POINTERLEAVE ? w.POINTEROUT : e; 7939} 7940function XO(e, t, n, r) { 7941 let i = !1; 7942 Jc(t) && (i = !0); 7943 let s = typeof r == "boolean" ? { 7944 capture: i, 7945 passive: r 7946 } : i; 7947 return e.addEventListener(t, n, s), { 7948 eventType: t, 7949 handler: n, 7950 capture: i, 7951 passive: r 7952 }; 7953} 7954function eA(e, t) { 7955 if (e.removeEventListener) { 7956 let n = typeof t.passive == "boolean" ? { capture: t.capture } : t.capture; 7957 e.removeEventListener(t.eventType, t.handler, n); 7958 } else e.detachEvent && e.detachEvent(`on${t.eventType}`, t.handler); 7959} 7960function tA(e) { 7961 e.preventDefault ? e.preventDefault() : e.returnValue = !1; 7962} 7963function nA(e) { 7964 return e.which === 2 || e.which == null && e.button === 4; 7965} 7966function rA(e) { 7967 return Yc && e.metaKey || !Yc && e.ctrlKey || nA(e) || e.shiftKey; 7968} 7969function iA(e, t, n) { 7970 let r = e.relatedTarget; 7971 return (e.type === w.MOUSEOVER && t === w.MOUSEENTER || e.type === w.MOUSEOUT && t === w.MOUSELEAVE || e.type === w.POINTEROVER && t === w.POINTERENTER || e.type === w.POINTEROUT && t === w.POINTERLEAVE) && (!r || r !== n && !n.contains(r)); 7972} 7973function sA(e, t) { 7974 let n = {}; 7975 for (let r in e) { 7976 if (r === "srcElement" || r === "target") continue; 7977 let i = r, s = e[i]; 7978 typeof s != "function" && (n[i] = s); 7979 } 7980 return e.type === w.MOUSEOVER ? n.type = w.MOUSEENTER : e.type === w.MOUSEOUT ? n.type = w.MOUSELEAVE : e.type === w.POINTEROVER ? n.type = w.POINTERENTER : n.type = w.POINTERLEAVE, n.target = n.srcElement = t, n.bubbles = !1, n._originalEvent = e, n; 7981} 7982function yt(e) { 7983 return e.eventType; 7984} 7985function Ku(e, t) { 7986 e.eventType = t; 7987} 7988function ws(e) { 7989 return e.event; 7990} 7991function Nm(e, t) { 7992 e.event = t; 7993} 7994function Dm(e) { 7995 return e.targetElement; 7996} 7997function Rm(e, t) { 7998 e.targetElement = t; 7999} 8000function Mm(e) { 8001 return e.eic; 8002} 8003function oA(e, t) { 8004 e.eic = t; 8005} 8006function lA(e) { 8007 return e.timeStamp; 8008} 8009function uA(e, t) { 8010 e.timeStamp = t; 8011} 8012function Es(e) { 8013 return e.eia; 8014} 8015function jm(e, t, n) { 8016 e.eia = [t, n]; 8017} 8018function Ju(e) { 8019 e.eia = void 0; 8020} 8021function Is(e) { 8022 return e[1]; 8023} 8024function aA(e) { 8025 return e.eirp; 8026} 8027function Vm(e, t) { 8028 e.eirp = t; 8029} 8030function Pm(e) { 8031 return e.eir; 8032} 8033function Fm(e, t) { 8034 e.eir = t; 8035} 8036function Lm(e) { 8037 return { 8038 eventType: e.eventType, 8039 event: e.event, 8040 targetElement: e.targetElement, 8041 eic: e.eic, 8042 eia: e.eia, 8043 timeStamp: e.timeStamp, 8044 eirp: e.eirp, 8045 eiack: e.eiack, 8046 eir: e.eir 8047 }; 8048} 8049function cA(e, t, n, r, i, s, o, l) { 8050 return { 8051 eventType: e, 8052 event: t, 8053 targetElement: n, 8054 eic: r, 8055 timeStamp: i, 8056 eia: s, 8057 eirp: o, 8058 eiack: l 8059 }; 8060} 8061function fA(e, t) { 8062 return e.tagName === "A" && (t.getEventType() === w.CLICK || t.getEventType() === w.CLICKMOD); 8063} 8064function dA(e) { 8065 let t = e.getEvent(), n = e.getEvent().stopPropagation.bind(t), r = () => { 8066 t[ef] = !0, n(); 8067 }; 8068 Jt(t, "stopPropagation", r), Jt(t, "stopImmediatePropagation", r); 8069} 8070function hA(e) { 8071 return !!e.getEvent()[ef]; 8072} 8073function pA(e) { 8074 let t = e.getEvent(), n = e.getTargetElement(), r = t.preventDefault.bind(t); 8075 Jt(t, "target", n), Jt(t, "eventPhase", tf.REPLAY), Jt(t, "preventDefault", () => {
8076 throw r(), /* @__PURE__ */ new Error(c_ + ""); 8077 }), Jt(t, "composedPath", () => { 8078 throw new Error(f_ + ""); 8079 }); 8080} 8081function gA(e) { 8082 let t = e.getEvent(), n = e.getAction()?.element; 8083 n && Jt(t, "currentTarget", n, { configurable: !0 }); 8084} 8085function Jt(e, t, n, { configurable: r = !1 } = {}) { 8086 Object.defineProperty(e, t, { 8087 value: n, 8088 configurable: r 8089 }); 8090} 8091function yA(e, t) { 8092 e.ecrd((n) => { 8093 t.dispatch(n); 8094 }, Xc.I_AM_THE_JSACTION_FRAMEWORK); 8095} 8096function mA(e) { 8097 return e?.q ?? []; 8098} 8099function vA(e) { 8100 e && (Hm(e.c, e.et, e.h), Hm(e.c, e.etc, e.h, !0)); 8101} 8102function Hm(e, t, n, r) { 8103 for (let i = 0; i < t.length; i++) e.removeEventListener(t[i], n, r); 8104} 8105function bA(e, t = window) { 8106 return mA(t._ejsas?.[e]); 8107} 8108function qm(e, t = window) { 8109 t._ejsas && (t._ejsas[e] = void 0); 8110} 8111function Bm(e, t) { 8112 let n = Object.create(nf); 8113 n.value = e, n.transformFn = t?.transform; 8114 function r() { 8115 if (bn(n), n.value === oi) throw new x(-950, null); 8116 return n.value; 8117 } 8118 return r[J] = n, r; 8119} 8120function _A(e) { 8121 return wA(e) ? e.default : e; 8122} 8123function wA(e) { 8124 return e && typeof e == "object" && "default" in e; 8125} 8126function EA(e) { 8127 return new yo(); 8128} 8129function Um(e, t) { 8130 return Bm(e, t); 8131} 8132function IA(e) { 8133 return Bm(oi, e); 8134} 8135function zm(e, t) { 8136 let n = Object.create(nf), r = new yo(); 8137 n.value = e; 8138 function i() { 8139 return bn(n), Zm(n.value), n.value; 8140 } 8141 return i[J] = n, i.asReadonly = Oi.bind(i), i.set = (s) => { 8142 n.equal(n.value, s) || (ar(n, s), r.emit(s)); 8143 }, i.update = (s) => { 8144 Zm(n.value), i.set(s(n.value)); 8145 }, i.subscribe = r.subscribe.bind(r), i.destroyRef = r.destroyRef, i; 8146} 8147function Zm(e) { 8148 if (e === oi) throw new x(952, !1); 8149} 8150function Wm(e, t) { 8151 return zm(e, t); 8152} 8153function TA(e) { 8154 return zm(oi, e); 8155} 8156function Qm(e, t) { 8157 return qg(t); 8158} 8159function xA(e, t) { 8160 return Bg(t); 8161} 8162function CA(e, t) { 8163 return Ug(t); 8164} 8165function $m(e, t) { 8166 return qg(t); 8167} 8168function kA(e, t) { 8169 return Bg(t); 8170} 8171function SA(e, t) { 8172 return Ug(t); 8173} 8174function Gm(e) { 8175 return e.get(Ya, O0); 8176} 8177function Km() { 8178 let e = [{ 8179 provide: Ya, 8180 useFactory: () => { 8181 let t = !0; 8182 { 8183 let n = m(xt); 8184 t = !!window._ejsas?.[n]; 8185 } 8186 return t && ie("NgEventReplay"), t; 8187 } 8188 }]; 8189 return e.push({ 8190 provide: ze, 8191 useValue: () => { 8192 let t = m(Oe), { injector: n } = t; 8193 if (!li.has(t)) { 8194 let r = m(Kr); 8195 if (Gm(n)) { 8196 SI(); 8197 let i = CI(n.get(xt), (s, o, l) => { 8198 s.nodeType === Node.ELEMENT_NODE && (j0(s, o, l), ec(s, r)); 8199 }); 8200 t.onDestroy(i); 8201 } 8202 } 8203 }, 8204 multi: !0 8205 }, { 8206 provide: tr, 8207 useFactory: () => { 8208 let t = m(Oe), { injector: n } = t; 8209 return () => { 8210 if (!Gm(n) || li.has(t)) return; 8211 li.add(t); 8212 let r = n.get(xt); 8213 t.onDestroy(() => { 8214 li.delete(t), qm(r); 8215 }), t.whenStable().then(() => { 8216 if (t.destroyed) return; 8217 let i = n.get(nc); 8218 I_(i, n); 8219 let s = n.get(Kr); 8220 s.get(rf)?.forEach(tc), s.delete(rf); 8221 let o = i.instance; 8222 Pl(n) ? t.onDestroy(() => o.cleanUp()) : o.cleanUp(); 8223 }); 8224 }; 8225 }, 8226 multi: !0 8227 }), e; 8228} 8229function OA(e, t, n) { 8230 let r = (n && n.getAttribute(Yr)) ?? ""; 8231 /d\d+/.test(r) ? AA(r, e, t, n) : t.eventPhase === tf.REPLAY && Kh(t, n); 8232} 8233function AA(e, t, n, r) { 8234 let i = t.get(A0); 8235 i.push({ 8236 event: n, 8237 currentTarget: r 8238 }), Gt(t, e, NA(i)); 8239} 8240function NA(e) { 8241 return (t) => { 8242 let n = new Set(t), r = []; 8243 for (let { event: i, currentTarget: s } of e) { 8244 let o = s.getAttribute(Yr); 8245 n.has(o) ? Kh(i, s) : r.push({ 8246 event: i, 8247 currentTarget: s 8248 }); 8249 } 8250 e.length = 0, e.push(...r); 8251 }; 8252} 8253function DA() { 8254 sf || (sf = !0, AI(), hS(), nO(), gS(), pk(), HC(), Yx(), px()); 8255} 8256function RA(e) { 8257 return e.whenStable(); 8258} 8259function MA() { 8260 let e = [{ 8261 provide: Qn, 8262 useFactory: () => { 8263 let t = !0; 8264 return t = !!m(un, { optional: !0 })?.get(sc, null), t && ie("NgHydration"), t; 8265 } 8266 }, { 8267 provide: ze, 8268 useValue: () => { 8269 let t = m(ln); 8270 m(Qn) && (QI(t), DA()); 8271 }, 8272 multi: !0 8273 }]; 8274 return e.push({ 8275 provide: Ja, 8276 useFactory: () => m(Qn) 8277 }, { 8278 provide: tr, 8279 useFactory: () => { 8280 let t = m(Ke); 8281 if (m(Qn)) { 8282 let n = m(Oe); 8283 return () => { 8284 RA(n).then(() => { 8285 n.destroyed || (fg(n), t.notify(7)); 8286 }); 8287 }; 8288 } 8289 return () => {}; 8290 }, 8291 multi: !0 8292 }), dr(e); 8293} 8294function jA() { 8295 let e = [ 8296 Km(), 8297 { 8298 provide: Xa, 8299 useValue: !0 8300 }, 8301 { 8302 provide: lt, 8303 useFactory: vO 8304 } 8305 ]; 8306 return e.push({ 8307 provide: po, 8308 useFactory: () => ({ 8309 requested: !1, 8310 activated: !1, 8311 injector: m(We), 8312 document: m(ln) 8313 }) 8314 }, { 8315 provide: tr, 8316 useFactory: () => { 8317 let t = m(po); 8318 return () => { 8319 t.requested || (t.requested = !0, _m(t)); 8320 }; 8321 }, 8322 multi: !0 8323 }), e; 8324} 8325function Jm(e, t, n) { 8326 let r = e.previousIndex; 8327 if (r === null) return r; 8328 let i = 0; 8329 return n && r < n.length && (i = n[r]), r + t + i; 8330} 8331function Ym() { 8332 return new lf([new x_()]); 8333} 8334function Xm() { 8335 return new uf([new A_()]); 8336} 8337function VA(e) { 8338 return PA(F(), g(), (e & 16) === 16); 8339} 8340function PA(e, t, n) { 8341 if (Xe(e) && !n) { 8342 let r = De(e.index, t); 8343 return new Yn(r, r); 8344 } else if (e.type & 175) { 8345 let r = t[te]; 8346 return new Yn(r, t); 8347 } 8348 return null; 8349} 8350function FA({ ngZoneFactory: e, scheduleInRootZone: t }) { 8351 return e ??= () => new z(ye(me({}, ev()), { scheduleInRootZone: t })), [ 8352 { 8353 provide: Bn, 8354 useValue: !1 8355 }, 8356 { 8357 provide: z, 8358 useFactory: e 8359 }, 8360 { 8361 provide: ze, 8362 multi: !0, 8363 useFactory: () => { 8364 let n = m(M_, { optional: !0 }); 8365 return () => n.initialize(); 8366 } 8367 }, 8368 { 8369 provide: ze, 8370 multi: !0, 8371 useFactory: () => { 8372 let n = m(V_); 8373 return () => { 8374 n.initialize(); 8375 }; 8376 } 8377 }, 8378 { 8379 provide: Na, 8380 useValue: t ?? Sa 8381 } 8382 ]; 8383} 8384function LA(e) { 8385 let t = e?.scheduleInRootZone, n = FA({ 8386 ngZoneFactory: () => { 8387 let r = ev(e); 8388 return r.scheduleInRootZone = t, r.shouldCoalesceEventChangeDetection && ie("NgZone_CoalesceEvent"), new z(r); 8389 }, 8390 scheduleInRootZone: t 8391 }); 8392 return dr([{ 8393 provide: j_, 8394 useValue: !0 8395 }, n]); 8396} 8397function ev(e) { 8398 return { 8399 enableLongStackTrace: !1, 8400 shouldCoalesceEventChangeDetection: e?.eventCoalescing ?? !1, 8401 shouldCoalesceRunChangeDetection: e?.runCoalescing ?? !1 8402 }; 8403} 8404function Nr(e) { 8405 return !e.moduleRef; 8406} 8407function HA(e) { 8408 let t = Nr(e) ? e.r3Injector : e.moduleRef.injector, n = t.get(z); 8409 return n.run(() => {
8410 Nr(e) ? e.r3Injector.resolveInjectorInitializers() : e.moduleRef.resolveInjectorInitializers(); 8411 let r = t.get(Tt), i; 8412 if (n.runOutsideAngular(() => { 8413 i = n.onError.subscribe({ next: r }); 8414 }), Nr(e)) { 8415 let s = () => t.destroy(), o = e.platformInjector.get(vo); 8416 o.add(s), t.onDestroy(() => { 8417 i.unsubscribe(), o.delete(s); 8418 }); 8419 } else { 8420 let s = () => e.moduleRef.destroy(), o = e.platformInjector.get(vo); 8421 o.add(s), e.moduleRef.onDestroy(() => { 8422 fs(e.allPlatformModules, e.moduleRef), i.unsubscribe(), o.delete(s); 8423 }); 8424 } 8425 return qA(r, n, () => { 8426 let s = t.get($e), o = s.add(), l = t.get(Rc); 8427 return l.runInitializers(), l.donePromise.then(() => { 8428 if (_S(t.get(go, ho) || ho), !t.get(P_, !0)) return Nr(e) ? t.get(Oe) : (e.allPlatformModules.push(e.moduleRef), e.moduleRef); 8429 if (Nr(e)) { 8430 let u = t.get(Oe); 8431 return e.rootComponent !== void 0 && u.bootstrap(e.rootComponent), u; 8432 } else return XA?.(e.moduleRef, e.allPlatformModules), e.moduleRef; 8433 }).finally(() => { 8434 s.remove(o); 8435 }); 8436 }); 8437 }); 8438} 8439function qA(e, t, n) { 8440 try { 8441 let r = n(); 8442 return Iu(r) ? r.catch((i) => { 8443 throw t.runOutsideAngular(() => e(i)), i; 8444 }) : r; 8445 } catch (r) { 8446 throw t.runOutsideAngular(() => e(r)), r; 8447 } 8448} 8449function BA(e = [], t) { 8450 return We.create({ 8451 name: t, 8452 providers: [ 8453 { 8454 provide: Ps, 8455 useValue: "platform" 8456 }, 8457 { 8458 provide: vo, 8459 useValue: /* @__PURE__ */ new Set([() => ui = null]) 8460 }, 8461 ...e 8462 ] 8463 }); 8464} 8465function UA(e = []) { 8466 if (ui) return ui; 8467 let t = BA(e); 8468 return ui = t, kk(), zA(t), t; 8469} 8470function zA(e) { 8471 let t = e.get(Oa, null); 8472 fl(e, () => { 8473 t?.forEach((n) => n()); 8474 }); 8475} 8476function ZA(e) { 8477 let { rootComponent: t, appProviders: n, platformProviders: r, platformRef: i } = e; 8478 V(R.BootstrapApplicationStart); 8479 try { 8480 let s = i?.injector ?? UA(r); 8481 return HA({ 8482 r3Injector: new Nc({ 8483 providers: [ 8484 FO(), 8485 t0, 8486 ...n || [] 8487 ], 8488 parent: s, 8489 debugName: "", 8490 runEnvironmentInitializers: !1 8491 }).injector, 8492 platformInjector: s, 8493 rootComponent: t 8494 }); 8495 } catch (s) { 8496 return Promise.reject(s); 8497 } finally { 8498 V(R.BootstrapApplicationEnd); 8499 } 8500} 8501function WA(e) { 8502 return typeof e == "boolean" ? e : e != null && e !== "false"; 8503} 8504function QA(e, t = NaN) { 8505 return !isNaN(parseFloat(e)) && !isNaN(Number(e)) ? Number(e) : t; 8506} 8507function $A(e, t) { 8508 let n = t?.injector ?? m(We), r = n.get(Ke), i = n.get(io), s = n.get(At, null, { optional: !0 }); 8509 i.impl ??= n.get(mc); 8510 let o = e; 8511 typeof o == "function" && (o = { mixedReadWrite: e }); 8512 let l = n.get($r, null, { optional: !0 }), u = new L_(i.impl, [ 8513 o.earlyRead, 8514 o.write, 8515 o.mixedReadWrite, 8516 o.read 8517 ], l?.view, r, n, s?.snapshot(null)); 8518 return i.impl.register(u), u; 8519} 8520function GA(e, t) { 8521 let n = at(e), r = t.elementInjector || Ii(); 8522 return new ni(n).create(r, t.projectableNodes, t.hostElement, t.environmentInjector, t.directives, t.bindings); 8523} 8524function KA(e) { 8525 let t = at(e); 8526 if (!t) return null; 8527 let n = new ni(t); 8528 return { 8529 get selector() { 8530 return n.selector; 8531 }, 8532 get type() { 8533 return n.componentType; 8534 }, 8535 get inputs() { 8536 return n.inputs; 8537 }, 8538 get outputs() { 8539 return n.outputs; 8540 }, 8541 get ngContentSelectors() { 8542 return n.ngContentSelectors; 8543 }, 8544 get isStandalone() { 8545 return t.standalone; 8546 }, 8547 get isSignal() { 8548 return t.signals; 8549 } 8550 }; 8551} 8552function JA() { 8553 return !1; 8554} 8555var Yu, Ts, Dr, Rr, tv, xs, nv, rv, Cs, ks, se, Xu, mt, Mr, iv, vt, jr, sv, ov, Yt, lv, Ss, j, uv, X, Os, ea, nt, As, ta, na, Xt, av, Vr, Pr, Ns, ra, Fr, je, cv, ia, fv, dv, hv, pv, gv, yv, mv, vv, sa, Vn, Ds, bv, _v, oa, Rs, wv, Ev, Lr, Iv, Tv, xv, Cv, kv, Sv, Ov, Av, Nv, Pn, la, Dv, Rv, Mv, jv, oe, Hr, bt, Vv, J, en, tn, nn, Be, Pv, ua, Fv, Ms, Lv, aa, Hv, qv, ca, Bv, fa, x, Uv, da, ha, k, qr, js, zv, Zv, Br, Fn, pa, ga, Wv, Qv, ya, Ue, _t, Vs, $v, wt, le, ze, Ur, ma, va, Gv, Ps, zr, ba, _a, Ve, Fs, ce, v, T, G, ke, fe, de, Zr, W, H, Pe, D, Ln, wa, Et, te, It, rn, Ze, Fe, Ea, rt, Ls, it, we, sn, Se, A, Hs, Ee, st, Wr, on, B, Y, qs, Hn, Bs, Ia, Ta, Us, S, zs, xa, Ca, We, ln, Qe, ka, Sa, Kv, $e, Jv, Ge, Zs, Qr, Yv, z,
8555Xv, e0, qn, Tt, t0, xt, n0, Oa, r0, i0, s0, Aa, o0, un, $r, Ke, Bn, Na, Da, l0, u0, Ra, a0, c0, Ws, Ma, R, f0, ja, d0, Qs, Va, V, an, Un, $s, Pa, Fa, h0, Le, zn, p0, g0, y0, m0, Gr, v0, Zn, La, b0, _0, Ha, qa, w0, Ba, Ua, za, Za, E0, I0, T0, x0, Gs, Wa, Wn, C0, k0, Qa, $a, Ga, S0, Ks, Qn, Ka, Ja, Ya, O0, A0, Xa, Kr, N0, ot, D0, R0, Jr, M0, Yr, j0, ec, tc, nc, Js, Ys, rc, ic, lt, V0, sc, oc, Xs, P0, lc, uc, Ct, F0, eo, to, kt, L0, H0, q0, B0, U0, z0, Z0, W0, ac, cc, fc, Q0, dc, hc, $0, G0, K0, J0, Y0, no, X0, eb, tb, pc, q, Xr, YA, nb, St, rb, ib, $n, cn, Ot, Gn, Kn, ro, At, gc, io, yc, mc, vc, Jn, sb, ei, bc, _c, ob, lb, ub, Yn, Xn, ab, wc, Ec, cb, so, fb, db, oo, ti, Ic, fn, Tc, hb, xc, Cc, pb, ni, gb, ri, yb, kc, lo, mb, vb, Sc, bb, _b, dn, Oc, Ac, wb, Nc, Eb, Dc, Rc, Mc, he, jc, Ib, Z, ii, Tb, er, xb, Cb, uo, kb, hn, Sb, Vc, Ob, Ab, Nb, Db, Rb, Pc, Fc, Mb, jb, Lc, Hc, tr, Vb, Oe, Pb, Fb, qc, Lb, Hb, qb, ao, co, nr, Bb, fo, Bc, ho, Ub, K, Uc, zc, Zc, Wc, Qc, po, zb, Zb, go, Wb, yo, $c, Qb, si, $b, Gb, Kb, Jb, Yb, Xb, Gc, mo, Kc, w, e_, t_, Jc, Yc, n_, r_, i_, s_, o_, l_, u_, Xc, a_, ef, tf, c_, f_, d_, h_, p_, oi, nf, g_, y_, m_, v_, b_, __, w_, E_, li, rf, I_, sf, T_, x_, C_, k_, S_, O_, of, A_, N_, D_, lf, uf, R_, M_, j_, V_, vo, P_, XA, ui, bo, af, F_, L_; 8556function H_() { 8557 return (H_ = Y_((() => { 8558 J_(), Yu = {}, G_(Yu, { 8559 __addDisposableResource: () => Rf, 8560 __assign: () => Dr, 8561 __asyncDelegator: () => Cf, 8562 __asyncGenerator: () => ko, 8563 __asyncValues: () => So, 8564 __await: () => Je, 8565 __awaiter: () => xo, 8566 __classPrivateFieldGet: () => Af, 8567 __classPrivateFieldIn: () => Df, 8568 __classPrivateFieldSet: () => Nf, 8569 __createBinding: () => Rr, 8570 __decorate: () => Io, 8571 __disposeResources: () => Mf, 8572 __esDecorate: () => mf, 8573 __exportStar: () => Ef, 8574 __extends: () => pf, 8575 __generator: () => wf, 8576 __importDefault: () => Of, 8577 __importStar: () => Sf,
8578 __makeTemplateObject: () => kf, 8579 __metadata: () => To, 8580 __param: () => yf, 8581 __propKey: () => bf, 8582 __read: () => Co, 8583 __rest: () => gf, 8584 __rewriteRelativeImportExtension: () => jf, 8585 __runInitializers: () => vf, 8586 __setFunctionName: () => _f, 8587 __spread: () => If, 8588 __spreadArray: () => xf, 8589 __spreadArrays: () => Tf, 8590 __values: () => ai, 8591 default: () => rv 8592 }), Cs = K_(() => { 8593 Ts = function(e, t) { 8594 return Ts = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) { 8595 n.__proto__ = r; 8596 } || function(n, r) { 8597 for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]); 8598 }, Ts(e, t); 8599 }, Dr = function() { 8600 return Dr = Object.assign || function(e) { 8601 for (var t, n = 1, r = arguments.length; n < r; n++) { 8602 t = arguments[n]; 8603 for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); 8604 } 8605 return e; 8606 }, Dr.apply(this, arguments); 8607 }, Rr = Object.create ? (function(e, t, n, r) { 8608 r === void 0 && (r = n); 8609 var i = Object.getOwnPropertyDescriptor(t, n); 8610 (!i || ("get" in i ? !t.__esModule : i.writable || i.configurable)) && (i = { 8611 enumerable: !0, 8612 get: function() { 8613 return t[n]; 8614 } 8615 }), Object.defineProperty(e, r, i); 8616 }) : (function(e, t, n, r) { 8617 r === void 0 && (r = n), e[r] = t[n]; 8618 }), tv = Object.create ? (function(e, t) { 8619 Object.defineProperty(e, "default", { 8620 enumerable: !0, 8621 value: t 8622 }); 8623 }) : function(e, t) { 8624 e.default = t; 8625 }, xs = function(e) { 8626 return xs = Object.getOwnPropertyNames || function(t) { 8627 var n = []; 8628 for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (n[n.length] = r); 8629 return n; 8630 }, xs(e); 8631 }, nv = typeof SuppressedError == "function" ? SuppressedError : function(e, t, n) { 8632 var r = new Error(n); 8633 return r.name = "SuppressedError", r.error = e, r.suppressed = t, r; 8634 }, rv = { 8635 __extends: pf, 8636 __assign: Dr, 8637 __rest: gf, 8638 __decorate: Io, 8639 __param: yf, 8640 __esDecorate: mf, 8641 __runInitializers: vf, 8642 __propKey: bf, 8643 __setFunctionName: _f, 8644 __metadata: To, 8645 __awaiter: xo, 8646 __generator: wf, 8647 __createBinding: Rr, 8648 __exportStar: Ef, 8649 __values: ai, 8650 __read: Co, 8651 __spread: If, 8652 __spreadArrays: Tf, 8653 __spreadArray: xf, 8654 __await: Je, 8655 __asyncGenerator: ko, 8656 __asyncDelegator: Cf, 8657 __asyncValues: So,
8658 __makeTemplateObject: kf, 8659 __importStar: Sf, 8660 __importDefault: Of, 8661 __classPrivateFieldGet: Af, 8662 __classPrivateFieldSet: Nf, 8663 __classPrivateFieldIn: Df, 8664 __addDisposableResource: Rf, 8665 __disposeResources: Mf, 8666 __rewriteRelativeImportExtension: jf 8667 }; 8668 }), ks = ci((e) => function(t) { 8669 e(this), this.message = t ? `${t.length} errors occurred during unsubscription: 8670${t.map((n, r) => `${r + 1}) ${n.toString()}`).join(` 8671 `)}` : "", this.name = "UnsubscriptionError", this.errors = t; 8672 }), se = class cf { 8673 constructor(t) { 8674 this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null; 8675 } 8676 unsubscribe() { 8677 let t; 8678 if (!this.closed) { 8679 this.closed = !0; 8680 let { _parentage: n } = this; 8681 if (n) if (this._parentage = null, Array.isArray(n)) for (let s of n) s.remove(this); 8682 else n.remove(this); 8683 let { initialTeardown: r } = this; 8684 if (O(r)) try { 8685 r(); 8686 } catch (s) { 8687 t = s instanceof ks ? s.errors : [s]; 8688 } 8689 let { _finalizers: i } = this; 8690 if (i) { 8691 this._finalizers = null; 8692 for (let s of i) try { 8693 Pf(s); 8694 } catch (o) { 8695 t = t ?? [], o instanceof ks ? t = [...t, ...o.errors] : t.push(o); 8696 } 8697 } 8698 if (t) throw new ks(t); 8699 } 8700 } 8701 add(t) { 8702 var n; 8703 if (t && t !== this) if (this.closed) Pf(t); 8704 else { 8705 if (t instanceof cf) { 8706 if (t.closed || t._hasParent(this)) return; 8707 t._addParent(this); 8708 } 8709 (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t); 8710 } 8711 } 8712 _hasParent(t) { 8713 let { _parentage: n } = this; 8714 return n === t || Array.isArray(n) && n.includes(t); 8715 } 8716 _addParent(t) { 8717 let { _parentage: n } = this; 8718 this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t; 8719 } 8720 _removeParent(t) { 8721 let { _parentage: n } = this; 8722 n === t ? this._parentage = null : Array.isArray(n) && ir(n, t); 8723 } 8724 remove(t) { 8725 let { _finalizers: n } = this; 8726 n && ir(n, t), t instanceof cf && t._removeParent(this); 8727 } 8728 }, se.EMPTY = (() => { 8729 let e = new se(); 8730 return e.closed = !0, e; 8731 })(), Xu = se.EMPTY, mt = { 8732 onUnhandledError: null, 8733 onStoppedNotification: null, 8734 Promise: void 0, 8735 useDeprecatedSynchronousErrorHandling: !1, 8736 useDeprecatedNextContext: !1 8737 }, Mr = { 8738 setTimeout(e, t, ...n) { 8739 let { delegate: r } = Mr; 8740 return r?.setTimeout ? r.setTimeout(e, t, ...n) : setTimeout(e, t, ...n); 8741 }, 8742 clearTimeout(e) { 8743 let { delegate: t } = Mr; 8744 return (t?.clearTimeout || clearTimeout)(e); 8745 }, 8746 delegate: void 0 8747 }, iv = Oo("C", void 0, void 0), vt = null, jr = class extends se { 8748 constructor(e) { 8749 super(), this.isStopped = !1, e ? (this.destination = e, Vf(e) && e.add(this)) : this.destination = lv; 8750 } 8751 static create(e, t, n) { 8752 return new Yt(e, t, n); 8753 } 8754 next(e) { 8755 this.isStopped ? No(ew(e), this) : this._next(e); 8756 } 8757 error(e) { 8758 this.isStopped ? No(X_(e), this) : (this.isStopped = !0, this._error(e)); 8759 } 8760 complete() { 8761 this.isStopped ? No(iv, this) : (this.isStopped = !0, this._complete()); 8762 } 8763 unsubscribe() { 8764 this.closed || (this.isStopped = !0, super.unsubscribe(), this.destination = null); 8765 } 8766 _next(e) { 8767 this.destination.next(e); 8768 } 8769 _error(e) { 8770 try { 8771 this.destination.error(e); 8772 } finally { 8773 this.unsubscribe(); 8774 } 8775 } 8776 _complete() { 8777 try { 8778 this.destination.complete(); 8779 } finally { 8780 this.unsubscribe(); 8781 } 8782 } 8783 }, sv = Function.prototype.bind, ov = class { 8784 constructor(e) { 8785 this.partialObserver = e; 8786 } 8787 next(e) { 8788 let { partialObserver: t } = this; 8789 if (t.next) try { 8790 t.next(e); 8791 } catch (n) { 8792 di(n); 8793 } 8794 } 8795 error(e) { 8796 let { partialObserver: t } = this; 8797 if (t.error) try { 8798 t.error(e); 8799 } catch (n) { 8800 di(n); 8801 } 8802 else di(e); 8803 } 8804 complete() { 8805 let { partialObserver: e } = this; 8806 if (e.complete) try { 8807 e.complete(); 8808 } catch (t) { 8809 di(t); 8810 } 8811 } 8812 }, Yt = class extends jr { 8813 constructor(e, t, n) { 8814 super(); 8815 let r; 8816 if (O(e) || !e) r = { 8817 next: e ?? void 0, 8818 error: t ?? void 0, 8819 complete: n ?? void 0 8820 }; 8821 else { 8822 let i;
8823 this && mt.useDeprecatedNextContext ? (i = Object.create(e), i.unsubscribe = () => this.unsubscribe(), r = { 8824 next: e.next && Ao(e.next, i), 8825 error: e.error && Ao(e.error, i), 8826 complete: e.complete && Ao(e.complete, i) 8827 }) : r = e; 8828 } 8829 this.destination = new ov(r); 8830 } 8831 }, lv = { 8832 closed: !0, 8833 next: Ie, 8834 error: nw, 8835 complete: Ie 8836 }, Ss = typeof Symbol == "function" && Symbol.observable || "@@observable", j = class q_ { 8837 constructor(t) { 8838 t && (this._subscribe = t); 8839 } 8840 lift(t) { 8841 let n = new q_(); 8842 return n.source = this, n.operator = t, n; 8843 } 8844 subscribe(t, n, r) { 8845 let i = iw(t) ? t : new Yt(t, n, r); 8846 return fi(() => { 8847 let { operator: s, source: o } = this; 8848 i.add(s ? s.call(i, o) : o ? this._subscribe(i) : this._trySubscribe(i)); 8849 }), i; 8850 } 8851 _trySubscribe(t) { 8852 try { 8853 return this._subscribe(t); 8854 } catch (n) { 8855 t.error(n); 8856 } 8857 } 8858 forEach(t, n) { 8859 return n = Hf(n), new n((r, i) => { 8860 let s = new Yt({ 8861 next: (o) => { 8862 try { 8863 t(o); 8864 } catch (l) { 8865 i(l), s.unsubscribe(); 8866 } 8867 }, 8868 error: i, 8869 complete: r 8870 }); 8871 this.subscribe(s); 8872 }); 8873 } 8874 _subscribe(t) { 8875 var n; 8876 return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t); 8877 } 8878 [Ss]() { 8879 return this; 8880 } 8881 pipe(...t) { 8882 return Lf(t)(this); 8883 } 8884 toPromise(t) { 8885 return t = Hf(t), new t((n, r) => { 8886 let i; 8887 this.subscribe((s) => i = s, (s) => r(s), () => n(i)); 8888 }); 8889 } 8890 }, j.create = (e) => new j(e), uv = ci((e) => function() { 8891 e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed"; 8892 }), X = class extends j { 8893 constructor() { 8894 super(), this.closed = !1, this.currentObservers = null, this.observers = [], this.isStopped = !1, this.hasError = !1, this.thrownError = null; 8895 } 8896 lift(e) { 8897 let t = new Os(this, this); 8898 return t.operator = e, t; 8899 } 8900 _throwIfClosed() { 8901 if (this.closed) throw new uv(); 8902 } 8903 next(e) { 8904 fi(() => { 8905 if (this._throwIfClosed(), !this.isStopped) { 8906 this.currentObservers || (this.currentObservers = Array.from(this.observers)); 8907 for (let t of this.currentObservers) t.next(e); 8908 } 8909 }); 8910 } 8911 error(e) { 8912 fi(() => { 8913 if (this._throwIfClosed(), !this.isStopped) { 8914 this.hasError = this.isStopped = !0, this.thrownError = e; 8915 let { observers: t } = this; 8916 for (; t.length;) t.shift().error(e); 8917 } 8918 }); 8919 } 8920 complete() { 8921 fi(() => { 8922 if (this._throwIfClosed(), !this.isStopped) { 8923 this.isStopped = !0; 8924 let { observers: e } = this; 8925 for (; e.length;) e.shift().complete(); 8926 } 8927 }); 8928 } 8929 unsubscribe() { 8930 this.isStopped = this.closed = !0, this.observers = this.currentObservers = null; 8931 } 8932 get observed() { 8933 var e; 8934 return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0; 8935 } 8936 _trySubscribe(e) { 8937 return this._throwIfClosed(), super._trySubscribe(e); 8938 } 8939 _subscribe(e) { 8940 return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e); 8941 } 8942 _innerSubscribe(e) { 8943 let { hasError: t, isStopped: n, observers: r } = this; 8944 return t || n ? Xu : (this.currentObservers = null, r.push(e), new se(() => { 8945 this.currentObservers = null, ir(r, e); 8946 })); 8947 } 8948 _checkFinalizedStatuses(e) { 8949 let { hasError: t, thrownError: n, isStopped: r } = this; 8950 t ? e.error(n) : r && e.complete(); 8951 } 8952 asObservable() { 8953 let e = new j(); 8954 return e.source = this, e; 8955 } 8956 }, X.create = (e, t) => new Os(e, t), Os = class extends X { 8957 constructor(e, t) { 8958 super(), this.destination = e, this.source = t; 8959 } 8960 next(e) { 8961 var t, n; 8962 (n = (t = this.destination) === null || t === void 0 ? void 0 : t.next) === null || n === void 0 || n.call(t, e); 8963 } 8964 error(e) { 8965 var t, n; 8966 (n = (t = this.destination) === null || t === void 0 ? void 0 : t.error) === null || n === void 0 || n.call(t, e); 8967 } 8968 complete() { 8969 var e, t; 8970 (t = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || t === void 0 || t.call(e); 8971 } 8972 _subscribe(e) { 8973 var t, n; 8974 return (n = (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e)) !== null && n !== void 0 ? n : Xu; 8975 } 8976 }, ea = class extends X { 8977 constructor(e) { 8978 super(), this._value = e; 8979 } 8980 get value() { 8981 return this.getValue(); 8982 } 8983 _subscribe(e) { 8984 let t = super._subscribe(e); 8985 return !t.closed && e.next(this._value), t; 8986 } 8987 getValue() { 8988 let { hasError: e, thrownError: t, _value: n } = this; 8989 if (e) throw t; 8990 return this._throwIfClosed(), n; 8991 } 8992 next(e) { 8993 super.next(this._value = e); 8994 } 8995 }, nt = new j((e) => e.complete()), Cs(), As = ((e) => e && typeof e.length == "number" && typeof e != "function"), ta = uw(), Cs(), na = class extends jr { 8996 constructor(e, t, n, r, i, s) { 8997 super(e), this.onFinalize = i, this.shouldUnsubscribe = s, this._next = t ? function(o) { 8998 try { 8999 t(o); 9000 } catch (l) { 9001 e.error(l); 9002 } 9003 } : super._next, this._error = r ? function(o) { 9004 try { 9005 r(o); 9006 } catch (l) { 9007 e.error(l); 9008 } finally { 9009 this.unsubscribe(); 9010 } 9011 } : super._error, this._complete = n ? function() { 9012 try { 9013 n(); 9014 } catch (o) { 9015 e.error(o); 9016 } finally { 9017 this.unsubscribe(); 9018 } 9019 } : super._complete; 9020 } 9021 unsubscribe() { 9022 var e; 9023 if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) { 9024 let { closed: t } = this; 9025 super.unsubscribe(), !t && ((e = this.onFinalize) === null || e === void 0 || e.call(this)); 9026 } 9027 } 9028 }, Xt = ci((e) => function() { 9029 e(this), this.name = "EmptyError", this.message = "no elements in sequence"; 9030 }), av = class extends se {
9031 constructor(e, t) { 9032 super(); 9033 } 9034 schedule(e, t = 0) { 9035 return this; 9036 } 9037 }, Vr = { 9038 setInterval(e, t, ...n) { 9039 let { delegate: r } = Vr; 9040 return r?.setInterval ? r.setInterval(e, t, ...n) : setInterval(e, t, ...n); 9041 }, 9042 clearInterval(e) { 9043 let { delegate: t } = Vr; 9044 return (t?.clearInterval || clearInterval)(e); 9045 }, 9046 delegate: void 0 9047 }, Pr = class extends av { 9048 constructor(e, t) { 9049 super(e, t), this.scheduler = e, this.work = t, this.pending = !1; 9050 } 9051 schedule(e, t = 0) { 9052 var n; 9053 if (this.closed) return this; 9054 this.state = e; 9055 let r = this.id, i = this.scheduler; 9056 return r != null && (this.id = this.recycleAsyncId(i, r, t)), this.pending = !0, this.delay = t, this.id = (n = this.id) !== null && n !== void 0 ? n : this.requestAsyncId(i, this.id, t), this; 9057 } 9058 requestAsyncId(e, t, n = 0) { 9059 return Vr.setInterval(e.flush.bind(e, this), n); 9060 } 9061 recycleAsyncId(e, t, n = 0) { 9062 if (n != null && this.delay === n && this.pending === !1) return t; 9063 t != null && Vr.clearInterval(t); 9064 } 9065 execute(e, t) { 9066 if (this.closed) return /* @__PURE__ */ new Error("executing a cancelled action"); 9067 this.pending = !1; 9068 let n = this._execute(e, t); 9069 if (n) return n; 9070 this.pending === !1 && this.id != null && (this.id = this.recycleAsyncId(this.scheduler, this.id, null)); 9071 } 9072 _execute(e, t) { 9073 let n = !1, r; 9074 try { 9075 this.work(e); 9076 } catch (i) { 9077 n = !0, r = i || /* @__PURE__ */ new Error("Scheduled action threw falsy error"); 9078 } 9079 if (n) return this.unsubscribe(), r; 9080 } 9081 unsubscribe() { 9082 if (!this.closed) { 9083 let { id: e, scheduler: t } = this, { actions: n } = t; 9084 this.work = this.state = this.scheduler = null, this.pending = !1, ir(n, this), e != null && (this.id = this.recycleAsyncId(t, e, null)), this.delay = null, super.unsubscribe(); 9085 } 9086 } 9087 }, Ns = { 9088 now() { 9089 return (Ns.delegate || Date).now(); 9090 }, 9091 delegate: void 0 9092 }
9092, ra = (() => { 9093 class e { 9094 constructor(n, r = e.now) { 9095 this.schedulerActionCtor = n, this.now = r; 9096 } 9097 schedule(n, r = 0, i) { 9098 return new this.schedulerActionCtor(this, n).schedule(i, r); 9099 } 9100 } 9101 return e.now = Ns.now, e; 9102 })(), Fr = class extends ra { 9103 constructor(e, t = ra.now) { 9104 super(e, t), this.actions = [], this._active = !1; 9105 } 9106 flush(e) { 9107 let { actions: t } = this; 9108 if (this._active) { 9109 t.push(e); 9110 return; 9111 } 9112 let n; 9113 this._active = !0; 9114 do 9115 if (n = e.execute(e.state, e.delay)) break; 9116 while (e = t.shift()); 9117 if (this._active = !1, n) { 9118 for (; e = t.shift();) e.unsubscribe(); 9119 throw n; 9120 } 9121 } 9122 }, je = new Fr(Pr), cv = je, ia = ci((e) => function(t = null) { 9123 e(this), this.message = "Timeout has occurred", this.name = "TimeoutError", this.info = t; 9124 }), {isArray: fv} = Array, {getPrototypeOf: dv, prototype: hv, keys: pv} = Object, {isArray: gv} = Array, yv = ["addListener", "removeListener"], mv = ["addEventListener", "removeEventListener"], vv = ["on", "off"], sa = class extends j { 9125 constructor(e, t) { 9126 super(), this.source = e, this.subjectFactory = t, this._subject = null, this._refCount = 0, this._connection = null, Kf(e) && (this.lift = e.lift); 9127 } 9128 _subscribe(e) { 9129 return this.getSubject().subscribe(e); 9130 } 9131 getSubject() { 9132 let e = this._subject; 9133 return (!e || e.isStopped) && (this._subject = this.subjectFactory()), this._subject; 9134 } 9135 _teardown() { 9136 this._refCount = 0; 9137 let { _connection: e } = this; 9138 this._subject = this._connection = null, e?.unsubscribe(); 9139 } 9140 connect() { 9141 let e = this._connection; 9142 if (!e) { 9143 e = this._connection = new se(); 9144 let t = this.getSubject(); 9145 e.add(this.source.subscribe(b(t, void 0, () => { 9146 this._teardown(), t.complete(); 9147 }, (n) => { 9148 this._teardown(), t.error(n); 9149 }, () => this._teardown()))), e.closed && (this._connection = null, e = se.EMPTY); 9150 } 9151 return e; 9152 } 9153 refCount() { 9154 return hd()(this); 9155 } 9156 }, Vn = { 9157 schedule(e) { 9158 let t = requestAnimationFrame, n = cancelAnimationFrame, { delegate: r } = Vn; 9159 r && (t = r.requestAnimationFrame, n = r.cancelAnimationFrame); 9160 let i = t((s) => { 9161 n = void 0, e(s); 9162 }); 9163 return new se(() => n?.(i)); 9164 }, 9165 requestAnimationFrame(...e) { 9166 let { delegate: t } = Vn; 9167 return (t?.requestAnimationFrame || requestAnimationFrame)(...e); 9168 }, 9169 cancelAnimationFrame(...e) { 9170 let { delegate: t } = Vn; 9171 return (t?.cancelAnimationFrame || cancelAnimationFrame)(...e); 9172 }, 9173 delegate: void 0 9174 }, Ds = class extends X { 9175 constructor(e = 1 / 0, t = 1 / 0, n = Ns) { 9176 super(), this._bufferSize = e, this._windowTime = t, this._timestampProvider = n, this._buffer = [], this._infiniteTimeWindow = !0, this._infiniteTimeWindow = t === 1 / 0, this._bufferSize = Math.max(1, e), this._windowTime = Math.max(1, t); 9177 } 9178 next(e) { 9179 let { isStopped: t, _buffer: n, _infiniteTimeWindow: r, _timestampProvider: i, _windowTime: s } = this; 9180 t || (n.push(e), !r && n.push(i.now() + s)), this._trimBuffer(), super.next(e); 9181 } 9182 _subscribe(e) { 9183 this._throwIfClosed(), this._trimBuffer(); 9184 let t = this._innerSubscribe(e), { _infiniteTimeWindow: n, _buffer: r } = this, i = r.slice(); 9185 for (let s = 0; s < i.length && !e.closed; s += n ? 1 : 2) e.next(i[s]); 9186 return this._checkFinalizedStatuses(e), t; 9187 } 9188 _trimBuffer() { 9189 let { _bufferSize: e, _timestampProvider: t, _buffer: n, _infiniteTimeWindow: r } = this, i = (r ? 1 : 2) * e; 9190 if (e < 1 / 0 && i < n.length && n.splice(0, n.length - i), !r) { 9191 let s = t.now(), o = 0; 9192 for (let l = 1; l < n.length && n[l] <= s; l += 2) o = l; 9193 o && n.splice(0, o + 1); 9194 } 9195 } 9196 }, bv = class extends X { 9197 constructor() { 9198 super(...arguments), this._value = null, this._hasValue = !1, this._isComplete = !1; 9199 } 9200 _checkFinalizedStatuses(e) { 9201 let { hasError: t, _hasValue: n, _value: r, thrownError: i, isStopped: s, _isComplete: o } = this; 9202 t ? e.error(i) : (s || o) && (n && e.next(r), e.complete()); 9203 } 9204 next(e) { 9205 this.isStopped || (this._value = e, this._hasValue = !0); 9206 } 9207 complete() { 9208 let { _hasValue: e, _value: t, _isComplete: n } = this; 9209 n || (this._isComplete = !0, e && super.next(t), super.complete()); 9210 } 9211 }, _v = 1, Rs = {}, {setImmediate: wv, clearImmediate: Ev} = { 9212 setImmediate(e) { 9213 let t = _v++; 9214 return Rs[t] = !0, oa || (oa = Promise.resolve()), oa.then(() => pd(t) && e()), t; 9215 }, 9216 clearImmediate(e) { 9217 pd(e); 9218 } 9219 }, Lr = { 9220 setImmediate(...e) { 9221 let { delegate: t } = Lr; 9222 return (t?.setImmediate || wv)(...e); 9223 }, 9224 clearImmediate(e) { 9225 let { delegate: t } = Lr; 9226 return (t?.clearImmediate || Ev)(e); 9227 }, 9228 delegate: void 0 9229 }, Iv = class extends Pr {
9230 constructor(e, t) { 9231 super(e, t), this.scheduler = e, this.work = t; 9232 } 9233 requestAsyncId(e, t, n = 0) { 9234 return n !== null && n > 0 ? super.requestAsyncId(e, t, n) : (e.actions.push(this), e._scheduled || (e._scheduled = Lr.setImmediate(e.flush.bind(e, void 0)))); 9235 } 9236 recycleAsyncId(e, t, n = 0) { 9237 var r; 9238 if (n != null ? n > 0 : this.delay > 0) return super.recycleAsyncId(e, t, n); 9239 let { actions: i } = e; 9240 t != null && ((r = i[i.length - 1]) === null || r === void 0 ? void 0 : r.id) !== t && (Lr.clearImmediate(t), e._scheduled === t && (e._scheduled = void 0)); 9241 } 9242 }, Tv = class extends Fr { 9243 flush(e) { 9244 this._active = !0; 9245 let t = this._scheduled; 9246 this._scheduled = void 0; 9247 let { actions: n } = this, r; 9248 e = e || n.shift(); 9249 do 9250 if (r = e.execute(e.state, e.delay)) break; 9251 while ((e = n[0]) && e.id === t && n.shift()); 9252 if (this._active = !1, r) { 9253 for (; (e = n[0]) && e.id === t && n.shift();) e.unsubscribe(); 9254 throw r; 9255 } 9256 } 9257 }, xv = new Tv(Iv), Cv = class extends Pr { 9258 constructor(e, t) { 9259 super(e, t), this.scheduler = e, this.work = t; 9260 } 9261 schedule(e, t = 0) { 9262 return t > 0 ? super.schedule(e, t) : (this.delay = t, this.state = e, this.scheduler.flush(this), this); 9263 } 9264 execute(e, t) { 9265 return t > 0 || this.closed ? super.execute(e, t) : this._execute(e, t); 9266 } 9267 requestAsyncId(e, t, n = 0) { 9268 return n != null && n > 0 || n == null && this.delay > 0 ? super.requestAsyncId(e, t, n) : (e.flush(this), 0); 9269 } 9270 }, kv = class extends Fr {}, Sv = new kv(Cv), Ov = class extends Pr { 9271 constructor(e, t) { 9272 super(e, t), this.scheduler = e, this.work = t; 9273 } 9274 requestAsyncId(e, t, n = 0) { 9275 return n !== null && n > 0 ? super.requestAsyncId(e, t, n) : (e.actions.push(this), e._scheduled || (e._scheduled = Vn.requestAnimationFrame(() => e.flush(void 0)))); 9276 } 9277 recycleAsyncId(e, t, n = 0) { 9278 var r; 9279 if (n != null ? n > 0 : this.delay > 0) return super.recycleAsyncId(e, t, n); 9280 let { actions: i } = e; 9281 t != null && t === e._scheduled && ((r = i[i.length - 1]) === null || r === void 0 ? void 0 : r.id) !== t && (Vn.cancelAnimationFrame(t), e._scheduled = void 0); 9282 } 9283 }, Av = class extends Fr { 9284 flush(e) { 9285 this._active = !0; 9286 let t; 9287 e ? t = e.id : (t = this._scheduled, this._scheduled = void 0); 9288 let { actions: n } = this, r; 9289 e = e || n.shift(); 9290 do 9291 if (r = e.execute(e.state, e.delay)) break; 9292 while ((e = n[0]) && e.id === t && n.shift()); 9293 if (this._active = !1, r) { 9294 for (; (e = n[0]) && e.id === t && n.shift();) e.unsubscribe(); 9295 throw r; 9296 } 9297 } 9298 }, Nv = new Av(Ov), Pn = class _o { 9299 constructor(t, n, r) { 9300 this.kind = t, this.value = n, this.error = r, this.hasValue = t === "N"; 9301 } 9302 observe(t) { 9303 return yd(this, t); 9304 } 9305 do(t, n, r) { 9306 let { kind: i, value: s, error: o } = this; 9307 return i === "N" ? t?.(s) : i === "E" ? n?.(o) : r?.(); 9308 } 9309 accept(t, n, r) { 9310 var i; 9311 return O((i = t) === null || i === void 0 ? void 0 : i.next) ? this.observe(t) : this.do(t, n, r); 9312 } 9313 toObservable() { 9314 let { kind: t, value: n, error: r } = this, i = t === "N" ? Xf(n) : t === "E" ? gd(() => r) : t === "C" ? nt : 0; 9315 if (!i) throw new TypeError(`Unexpected notification kind ${t}`); 9316 return i; 9317 } 9318 static createNext(t) { 9319 return new _o("N", t); 9320 } 9321 static createError(t) { 9322 return new _o("E", void 0, t); 9323 } 9324 static createComplete() { 9325 return _o.completeNotification; 9326 } 9327 }, Pn.completeNotification = new Pn("C"), la = new j(Ie), {isArray: Dv} = Array, Rv = (e, t) => (e.push(t), e), Mv = { connector: () => new X() }, jv = Ye, oe = null, Hr = !1, bt = 1, Vv = null, J = Symbol("SIGNAL"), en = { 9328 version: 0, 9329 lastCleanEpoch: 0, 9330 dirty: !1, 9331 producers: void 0, 9332 producersTail: void 0, 9333 consumers: void 0, 9334 consumersTail: void 0, 9335 recomputing: !1, 9336 consumerAllowSignalWrites: !1, 9337 consumerIsAlwaysLive: !1, 9338 kind: "unknown", 9339 producerMustRecompute: () => !1, 9340 producerRecomputeValue: () => {},
9341 consumerMarkedDirty: () => {}, 9342 consumerOnSignalRead: () => {} 9343 }, tn = Symbol("UNSET"), nn = Symbol("COMPUTING"), Be = Symbol("ERRORED"), Pv = ye(me({}, en), { 9344 value: tn, 9345 dirty: !0, 9346 error: null, 9347 equal: Wo, 9348 kind: "computed", 9349 producerMustRecompute(e) { 9350 return e.value === tn || e.value === nn; 9351 }, 9352 producerRecomputeValue(e) { 9353 if (e.value === nn) throw new Error(""); 9354 let t = e.value; 9355 e.value = nn; 9356 let n = _n(e), r, i = !1; 9357 try { 9358 r = e.computation(), E(null), i = t !== tn && t !== Be && r !== Be && e.equal(t, r); 9359 } catch (s) { 9360 r = Be, e.error = s; 9361 } finally { 9362 lr(e, n); 9363 } 9364 if (i) { 9365 e.value = t; 9366 return; 9367 } 9368 e.value = r, e.version++; 9369 } 9370 }), ua = q1, Fv = null, Ms = ye(me({}, en), { 9371 equal: Wo, 9372 value: void 0, 9373 kind: "signal" 9374 }), Lv = ye(me({}, en), { 9375 consumerIsAlwaysLive: !0, 9376 consumerAllowSignalWrites: !0, 9377 dirty: !0, 9378 kind: "effect" 9379 }), Hv = Symbol("NotFound"), qv = ye(me({}, en), { 9380 value: tn, 9381 dirty: !0, 9382 error: null, 9383 equal: Wo, 9384 kind: "linkedSignal", 9385 producerMustRecompute(e) { 9386 return e.value === tn || e.value === nn; 9387 }, 9388 producerRecomputeValue(e) { 9389 if (e.value === nn) throw new Error(""); 9390 let t = e.value; 9391 e.value = nn; 9392 let n = _n(e), r, i = !1;
9393 try { 9394 let s = e.source(), o = t !== tn && t !== Be, l = o ? { 9395 source: e.sourceValue, 9396 value: t 9397 } : void 0; 9398 r = e.computation(s, l), e.sourceValue = s, E(null), i = o && r !== Be && e.equal(t, r); 9399 } catch (s) { 9400 r = Be, e.error = s; 9401 } finally { 9402 lr(e, n); 9403 } 9404 if (i) { 9405 e.value = t; 9406 return; 9407 } 9408 e.value = r, e.version++; 9409 } 9410 }), ca = class { 9411 full; 9412 major; 9413 minor; 9414 patch; 9415 constructor(e) { 9416 this.full = e; 9417 let t = e.split("."); 9418 this.major = t[0], this.minor = t[1], this.patch = t.slice(2).join("."); 9419 } 9420 }, Bv = new ca("22.1.3"), fa = "https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss", x = class extends Error { 9421 code; 9422 constructor(e, t) { 9423 super(Jo(e, t)), this.code = e; 9424 } 9425 }, Uv = P({ __forward_ref__: P }), da = P({ ɵprov: P }), ha = P({ ɵinj: P }), k = class { 9426 _desc; 9427 ngMetadataName = "InjectionToken"; 9428 ɵprov; 9429 constructor(e, t) { 9430 this._desc = e, this.ɵprov = void 0, typeof t == "number" ? this.__NG_ELEMENT_ID__ = t : t !== void 0 && (this.ɵprov = $({ 9431 token: this, 9432 providedIn: t.providedIn || "root", 9433 factory: t.factory 9434 })); 9435 } 9436 get multi() { 9437 return this; 9438 } 9439 toString() { 9440 return `InjectionToken ${this._desc}`; 9441 } 9442 }, qr = P({ ɵcmp: P }), js = P({ ɵdir: P }), zv = P({ ɵpipe: P }), Zv = P({ ɵmod: P }), Br = P({ ɵfac: P }), Fn = P({ __NG_ELEMENT_ID__: P }), pa = P({ __NG_ENV_ID__: P }), ga = P({ ngErrorCode: P }), Wv = P({ ngErrorMessage: P }), Qv = P({ ngTokenPath: P }), Ue = globalThis, _t = {}, Vs = "__NG_DI_FLAG__", $v = class { 9443 injector; 9444 constructor(e) { 9445 this.injector = e; 9446 } 9447 retrieve(e, t) { 9448 let n = cr(t) || 0; 9449 try { 9450 return this.injector.get(e, n & 8 ? null : _t, n); 9451 } catch (r) { 9452 if ($o(r)) return r; 9453 throw r; 9454 } 9455 } 9456 }, wt = {}, le = [], ze = new k(""), Ur = new k("", -1), ma = new k(""), va = class { 9457 get(e, t = _t) { 9458 if (t === _t) { 9459 let n = qd("", -201); 9460 throw n.name = "ɵNotFound", n; 9461 } 9462 return t; 9463 } 9464 }, Gv = P({ 9465 provide: String, 9466 useValue: P 9467 }), Ps = new k(""), zr = {}, ba = {}, Ve = class {}, Fs = class extends Ve { 9468 parent; 9469 source; 9470 scopes; 9471 records = /* @__PURE__ */ new Map(); 9472 _ngOnDestroyHooks = /* @__PURE__ */ new Set(); 9473 _onDestroyHooks = []; 9474 get destroyed() { 9475 return this._destroyed; 9476 } 9477 _destroyed = !1; 9478 injectorDefTypes; 9479 constructor(e, t, n, r) { 9480 super(), this.parent = t, this.source = n, this.scopes = r, cl(e, (s) => this.processProvider(s)), this.records.set(Ur, In(void 0, this)), r.has("environment") && this.records.set(Ve, In(void 0, this)); 9481 let i = this.records.get(Ps); 9482 i != null && typeof i.value == "string" && this.scopes.add(i.value), this.injectorDefTypes = new Set(this.get(ma, le, { self: !0 })); 9483 } 9484 retrieve(e, t) { 9485 let n = cr(t) || 0; 9486 try { 9487 return this.get(e, _t, n); 9488 } catch (r) { 9489 if ($o(r)) return r; 9490 throw r; 9491 } 9492 } 9493 destroy() { 9494 hr(this), this._destroyed = !0; 9495 let e = E(null); 9496 try { 9497 for (let n of this._ngOnDestroyHooks) n.ngOnDestroy(); 9498 let t = this._onDestroyHooks; 9499 this._onDestroyHooks = []; 9500 for (let n of t) n(); 9501 } finally { 9502 this.records.clear(), this._ngOnDestroyHooks.clear(), this.injectorDefTypes.clear(), E(e); 9503 } 9504 } 9505 onDestroy(e) { 9506 return hr(this), this._onDestroyHooks.push(e), () => this.removeOnDestroy(e); 9507 } 9508 runInContext(e) { 9509 hr(this); 9510 let t = ut(this), n = pe(void 0); 9511 try { 9512 return e(); 9513 } finally { 9514 ut(t), pe(n); 9515 } 9516 } 9517 get(e, t = _t, n) { 9518 if (hr(this), Object.hasOwn(e, pa)) return e[pa](this); 9519 let r = cr(n), i = ut(this), s = pe(void 0); 9520 try { 9521 if (!(r & 4)) { 9522 let l = this.records.get(e); 9523 if (l === void 0) { 9524 let u = yE(e) && vi(e); 9525 u && this.injectableDefInScope(u) ? l = In(al(e), zr) : l = null, this.records.set(e, l); 9526 } 9527 if (l != null) return this.hydrate(e, l, r); 9528 } 9529 let o = r & 2 ? Ii() : this.parent; 9530 return t = r & 8 && t === _t ? null : t, o.get(e, t); 9531 } catch (o) { 9532 let l = X1(o); 9533 throw l === -200 || l === -201 ? new x(l, null) : o; 9534 } finally { 9535 pe(s), ut(i); 9536 } 9537 }
9538 resolveInjectorInitializers() { 9539 let e = E(null), t = ut(this), n = pe(void 0); 9540 try { 9541 let r = this.get(ze, le, { self: !0 }); 9542 for (let i of r) i(); 9543 } finally { 9544 ut(t), pe(n), E(e); 9545 } 9546 } 9547 toString() { 9548 return "R3Injector[...]"; 9549 } 9550 processProvider(e) { 9551 e = ee(e); 9552 let t = En(e) ? e : ee(e && e.provide), n = hE(e); 9553 if (!En(e) && e.multi === !0) { 9554 let r = this.records.get(t); 9555 r || (r = In(void 0, zr, !0), r.factory = () => rl(r.multi), this.records.set(t, r)), t = e, r.multi.push(e); 9556 } 9557 this.records.set(t, n); 9558 } 9559 hydrate(e, t, n) { 9560 let r = E(null); 9561 try { 9562 if (t.value === ba) throw Hd(""); 9563 return t.value === zr && (t.value = ba, t.value = t.factory(void 0, n)), typeof t.value == "object" && t.value && gE(t.value) && this._ngOnDestroyHooks.add(t.value), t.value; 9564 } finally { 9565 E(r); 9566 } 9567 } 9568 injectableDefInScope(e) { 9569 if (!e.providedIn) return !1; 9570 let t = ee(e.providedIn); 9571 return typeof t == "string" ? t === "any" || this.scopes.has(t) : this.injectorDefTypes.has(t); 9572 } 9573 removeOnDestroy(e) { 9574 let t = this._onDestroyHooks.indexOf(e); 9575 t !== -1 && this._onDestroyHooks.splice(t, 1); 9576 } 9577 }, ce = 0, v = 1, T = 2, G = 3, ke = 4, fe = 5, de = 6, Zr = 7, W = 8, H = 9, Pe = 10, D = 11, Ln = 12, wa = 13, Et = 14, te = 15, It = 16, rn = 17, Ze = 18, Fe = 19, Ea = 20, rt = 21, Ls = 22, it = 23, we = 24, sn = 25, Se = 26, A = 27, Hs = 1, Ee = 6, st = 7, Wr = 8, on = 9, B = 10, Y = (function(e) { 9578 return e[e.NONE = 0] = "NONE", e[e.HTML = 1] = "HTML", e[e.STYLE = 2] = "STYLE", e[e.SCRIPT = 3] = "SCRIPT", e[e.URL = 4] = "URL", e[e.RESOURCE_URL = 5] = "RESOURCE_URL", e[e.ATTRIBUTE_NO_BINDING = 6] = "ATTRIBUTE_NO_BINDING", e; 9579 })(Y || {}), Hn = "svg", Bs = "math", Ia = "", Ta = "*", Us = () => Object.create(null), S = { 9580 lFrame: ph(null), 9581 bindingsEnabled: !0, 9582 skipHydrationRootTNode: null 9583 }, zs = !1, xa = gh, Ca = !0, We = class B_ { 9584 static THROW_IF_NOT_FOUND = _t; 9585 static NULL = new va(); 9586 static create(t, n) { 9587 if (Array.isArray(t)) return yh({ name: "" }, n, t, ""); 9588 { 9589 let r = t.name ?? ""; 9590 return yh({ name: r }, t.parent, t.providers, r); 9591 } 9592 } 9593 static ɵprov = $({ 9594 token: B_, 9595 providedIn: "any", 9596 factory: () => be(Ur) 9597 }); 9598 static __NG_ELEMENT_ID__ = -1; 9599 }, ln = new k(""), Qe = class { 9600 static __NG_ELEMENT_ID__ = HE; 9601 static __NG_ENV_ID__ = (e) => e; 9602 }, ka = class extends Qe { 9603 _lView; 9604 constructor(e) { 9605 super(), this._lView = e; 9606 } 9607 get destroyed() { 9608 return Mt(this._lView); 9609 } 9610 onDestroy(e) { 9611 let t = this._lView; 9612 return xi(t, e), () => eh(t, e); 9613 } 9614 }, Sa = !1, Kv = new k(""), $e = (() => { 9615 class e { 9616 taskId = 0; 9617 pendingTasks = /* @__PURE__ */ new Set(); 9618 destroyed = !1; 9619 pendingTask = new ea(!1); 9620 debugTaskTracker = m(Kv, { optional: !0 }); 9621 get hasPendingTasks() { 9622 return this.destroyed ? !1 : this.pendingTask.value; 9623 } 9624 get hasPendingTasksObservable() { 9625 return this.destroyed ? new j((n) => { 9626 n.next(!1), n.complete(); 9627 }) : this.pendingTask; 9628 } 9629 add() { 9630 !this.hasPendingTasks && !this.destroyed && this.pendingTask.next(!0); 9631 let n = this.taskId++; 9632 return this.pendingTasks.add(n), this.debugTaskTracker?.add(n), n; 9633 } 9634 has(n) { 9635 return this.pendingTasks.has(n); 9636 } 9637 remove(n) { 9638 this.pendingTasks.delete(n), this.debugTaskTracker?.remove(n), this.pendingTasks.size === 0 && this.hasPendingTasks && this.pendingTask.next(!1); 9639 } 9640 ngOnDestroy() { 9641 this.pendingTasks.clear(), this.hasPendingTasks && this.pendingTask.next(!1), this.destroyed = !0, this.pendingTask.unsubscribe(); 9642 } 9643 static ɵprov = $({ 9644 token: e, 9645 providedIn: "root", 9646 factory: () => new e() 9647 }); 9648 } 9649 return e; 9650 })(), Jv = class extends X { 9651 __isAsync; 9652 destroyRef = void 0; 9653 pendingTasks = void 0; 9654 constructor(e = !1) { 9655 super(), this.__isAsync = e, dl() && (this.destroyRef = m(Qe, { optional: !0 }) ?? void 0, this.pendingTasks = m($e, { optional: !0 }) ?? void 0); 9656 } 9657 emit(e) { 9658 let t = E(null);
9659 try { 9660 super.next(e); 9661 } finally { 9662 E(t); 9663 } 9664 } 9665 subscribe(e, t, n) { 9666 let r = e, i = t || (() => null), s = n; 9667 if (e && typeof e == "object") { 9668 let l = e; 9669 r = l.next?.bind(l), i = l.error?.bind(l), s = l.complete?.bind(l); 9670 } 9671 this.__isAsync && (i = this.wrapInTimeout(i), r && (r = this.wrapInTimeout(r)), s && (s = this.wrapInTimeout(s))); 9672 let o = super.subscribe({ 9673 next: r, 9674 error: i, 9675 complete: s 9676 }); 9677 return e instanceof se && e.add(o), o; 9678 } 9679 wrapInTimeout(e) { 9680 return (t) => { 9681 let n = this.pendingTasks?.add(); 9682 setTimeout(() => { 9683 try { 9684 e(t); 9685 } finally { 9686 n !== void 0 && this.pendingTasks?.remove(n); 9687 } 9688 }); 9689 }; 9690 } 9691 }, Ge = Jv, Zs = "isAngularZone", Qr = Zs + "_ID", Yv = 0, z = class ff { 9692 hasPendingMacrotasks = !1; 9693 hasPendingMicrotasks = !1; 9694 isStable = !0; 9695 onUnstable = new Ge(!1); 9696 onMicrotaskEmpty = new Ge(!1); 9697 onStable = new Ge(!1); 9698 onError = new Ge(!1); 9699 constructor(t) { 9700 let { enableLongStackTrace: n = !1, shouldCoalesceEventChangeDetection: r = !1, shouldCoalesceRunChangeDetection: i = !1, scheduleInRootZone: s = Sa } = t; 9701 if (typeof Zone > "u") throw new x(908, !1); 9702 Zone.assertZonePatched(); 9703 let o = this; 9704 o._nesting = 0, o._outer = o._inner = Zone.current, Zone.TaskTrackingZoneSpec && (o._inner = o._inner.fork(new Zone.TaskTrackingZoneSpec())), n && Zone.longStackTraceZoneSpec && (o._inner = o._inner.fork(Zone.longStackTraceZoneSpec)), o.shouldCoalesceEventChangeDetection = !i && r, o.shouldCoalesceRunChangeDetection = i, o.callbackScheduled = !1, o.scheduleInRootZone = s, UE(o); 9705 } 9706 static isInAngularZone() { 9707 return typeof Zone < "u" && Zone.current.get(Zs) === !0; 9708 } 9709 static assertInAngularZone() { 9710 if (!ff.isInAngularZone()) throw new x(909, !1); 9711 } 9712 static assertNotInAngularZone() { 9713 if (ff.isInAngularZone()) throw new x(909, !1); 9714 } 9715 run(t, n, r) { 9716 return this._inner.run(t, n, r); 9717 } 9718 runTask(t, n, r, i) { 9719 let s = this._inner, o = s.scheduleEventTask("NgZoneEvent: " + i, t, Xv, Si, Si); 9720 try { 9721 return s.runTask(o, n, r); 9722 } finally { 9723 s.cancelTask(o); 9724 } 9725 } 9726 runGuarded(t, n, r) { 9727 return this._inner.runGuarded(t, n, r); 9728 } 9729 runOutsideAngular(t) { 9730 return this._outer.run(t); 9731 } 9732 }, Xv = {}, e0 = class { 9733 hasPendingMicrotasks = !1; 9734 hasPendingMacrotasks = !1; 9735 isStable = !0; 9736 onUnstable = new Ge(); 9737 onMicrotaskEmpty = new Ge(); 9738 onStable = new Ge(); 9739 onError = new Ge(); 9740 run(e, t, n) { 9741 return e.apply(t, n); 9742 } 9743 runGuarded(e, t, n) { 9744 return e.apply(t, n); 9745 } 9746 runOutsideAngular(e) { 9747 return e(); 9748 } 9749 runTask(e, t, n, r) { 9750 return e.apply(t, n); 9751 } 9752 }, qn = class { 9753 _console = console; 9754 handleError(e) { 9755 this._console.error("ERROR", e); 9756 } 9757 }, Tt = new k("", { factory: () => { 9758 let e = m(z), t = m(Ve), n; 9759 return (r) => { 9760 e.runOutsideAngular(() => { 9761 t.destroyed && !n ? setTimeout(() => { 9762 throw r; 9763 }) : (n ??= t.get(qn), n.handleError(r)); 9764 }); 9765 }; 9766 } }), t0 = { 9767 provide: ze, 9768 useValue: () => { 9769 m(qn, { optional: !0 }); 9770 }, 9771 multi: !0 9772 }, xt = new k("", { factory: () => n0 }), n0 = "ng", Oa = new k(""), r0 = new k("", { 9773 providedIn: "platform", 9774 factory: () => "unknown" 9775 }), i0 = new k(""), s0 = new k("", { factory: () => m(ln).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce") || null }), Aa = { 9776 breakpoints: [ 9777 16, 9778 32, 9779 48, 9780 64, 9781 96, 9782 128, 9783 256, 9784 384, 9785 640, 9786 750, 9787 828, 9788 1080, 9789 1200, 9790 1920, 9791 2048, 9792 3840 9793 ], 9794 placeholderResolution: 30, 9795 disableImageSizeWarning: !1, 9796 disableImageLazyLoadWarning: !1 9797 }, o0 = new k("", { factory: () => Aa }), un = (() => { 9798 class e { 9799 static ɵprov = $({ 9800 token: e, 9801 providedIn: "root", 9802 factory: () => { 9803 let n = new e(); 9804 return n.store = WE(m(ln), m(xt)), n; 9805 } 9806 }); 9807 store = {}; 9808 onSerializeCallbacks = {}; 9809 get(n, r) { 9810 return this.store[n] !== void 0 ? this.store[n] : r; 9811 } 9812 set(n, r) { 9813 this.store[n] = r; 9814 } 9815 remove(n) { 9816 delete this.store[n]; 9817 } 9818 hasKey(n) { 9819 return Object.hasOwn(this.store, n); 9820 } 9821 get isEmpty() { 9822 return Object.keys(this.store).length === 0; 9823 } 9824 onSerialize(n, r) { 9825 this.onSerializeCallbacks[n] = r; 9826 } 9827 toJson() { 9828 for (let n in this.onSerializeCallbacks) if (Object.hasOwn(this.onSerializeCallbacks, n)) try { 9829 this.store[n] = this.onSerializeCallbacks[n](); 9830 } catch (r) { 9831 console.warn("Exception in onSerialize callback: ", r); 9832 } 9833 return JSON.stringify(this.store).replace(/</g, "\\u003C").replace(/\//g, "\\u002F"); 9834 } 9835 } 9836 return e; 9837 })(), $r = (() => { 9838 class e { 9839 view; 9840 node; 9841 constructor(n, r) { 9842 this.view = n, this.node = r; 9843 } 9844 static __NG_ELEMENT_ID__ = QE; 9845 } 9846 return e; 9847 })(), Ke = class {}, Bn = new k("", { factory: () => !0 }), Na = new k(""), Da = (() => { 9848 class e { 9849 static ɵprov = $({ 9850 token: e, 9851 providedIn: "root", 9852 factory: () => new l0() 9853 }); 9854 } 9855 return e; 9856 })(), l0 = class { 9857 dirtyEffectCount = 0; 9858 queues = /* @__PURE__ */ new Map(); 9859 add(e) { 9860 this.enqueue(e), this.schedule(e); 9861 } 9862 schedule(e) { 9863 e.dirty && this.dirtyEffectCount++; 9864 } 9865 remove(e) { 9866 let t = e.zone, n = this.queues.get(t); 9867 n.has(e) && (n.delete(e), e.dirty && this.dirtyEffectCount--); 9868 } 9869 enqueue(e) { 9870 let t = e.zone;
9871 this.queues.has(t) || this.queues.set(t, /* @__PURE__ */ new Set()); 9872 let n = this.queues.get(t); 9873 n.has(e) || n.add(e); 9874 } 9875 flush() { 9876 for (; this.dirtyEffectCount > 0;) { 9877 let e = !1; 9878 for (let [t, n] of this.queues) t === null ? e ||= this.flushQueue(n) : e ||= t.run(() => this.flushQueue(n)); 9879 e || (this.dirtyEffectCount = 0); 9880 } 9881 } 9882 flushQueue(e) { 9883 let t = !1; 9884 for (let n of e) n.dirty && (this.dirtyEffectCount--, t = !0, n.run()); 9885 return t; 9886 } 9887 }, u0 = class { 9888 [J]; 9889 constructor(e) { 9890 this[J] = e; 9891 } 9892 destroy() { 9893 this[J].destroy(); 9894 } 9895 }, Ra = ye(me({}, Lv), { 9896 cleanupFns: void 0, 9897 zone: null, 9898 onDestroyFns: null, 9899 run() { 9900 let e = Ci(!1); 9901 try { 9902 Z1(this); 9903 } finally { 9904 Ci(e); 9905 } 9906 }, 9907 cleanup() { 9908 if (!this.cleanupFns?.length) return; 9909 let e = E(null); 9910 try { 9911 for (; this.cleanupFns.length;) this.cleanupFns.pop()(); 9912 } finally { 9913 this.cleanupFns = [], E(e); 9914 } 9915 } 9916 }), a0 = ye(me({}, Ra), { 9917 consumerMarkedDirty() { 9918 this.scheduler.schedule(this), this.notifier.notify(12); 9919 }, 9920 destroy() { 9921 if (ur(this), this.onDestroyFns !== null) for (let e of this.onDestroyFns) e(); 9922 this.cleanup(), this.scheduler.remove(this); 9923 } 9924 }), c0 = ye(me({}, Ra), { 9925 consumerMarkedDirty() { 9926 this.view[T] |= 8192, Tn(this.view), this.notifier.notify(13); 9927 }, 9928 destroy() { 9929 if (ur(this), this.onDestroyFns !== null) for (let e of this.onDestroyFns) e(); 9930 this.cleanup(), this.view[it]?.delete(this); 9931 } 9932 }), Ws = (() => { 9933 class e { 9934 internalPendingTasks = m($e); 9935 scheduler = m(Ke); 9936 errorHandler = m(Tt); 9937 add() { 9938 let n = this.internalPendingTasks.add(); 9939 return () => { 9940 this.internalPendingTasks.has(n) && (this.scheduler.notify(11), this.internalPendingTasks.remove(n)); 9941 }; 9942 } 9943 run(n) { 9944 let r = this.add(); 9945 try { 9946 n().catch(this.errorHandler).finally(r); 9947 } catch (i) { 9948 this.errorHandler(i), r(); 9949 } 9950 } 9951 static ɵprov = $({ 9952 token: e, 9953 providedIn: "root", 9954 factory: () => new e() 9955 }); 9956 } 9957 return e; 9958 })(), Ma = { JSACTION: "jsaction" }, R = (function(e) { 9959 return e[e.TemplateCreateStart = 0] = "TemplateCreateStart", e[e.TemplateCreateEnd = 1] = "TemplateCreateEnd", e[e.TemplateUpdateStart = 2] = "TemplateUpdateStart", e[e.TemplateUpdateEnd = 3] = "TemplateUpdateEnd", e[e.LifecycleHookStart = 4] = "LifecycleHookStart", e[e.LifecycleHookEnd = 5] = "LifecycleHookEnd", e[e.OutputStart = 6] = "OutputStart", e[e.OutputEnd = 7] = "OutputEnd", e[e.BootstrapApplicationStart = 8] = "BootstrapApplicationStart", e[e.BootstrapApplicationEnd = 9] = "BootstrapApplicationEnd", e[e.BootstrapComponentStart = 10] = "BootstrapComponentStart", e[e.BootstrapComponentEnd = 11] = "BootstrapComponentEnd", e[e.ChangeDetectionStart = 12] = "ChangeDetectionStart", e[e.ChangeDetectionEnd = 13] = "ChangeDetectionEnd", e[e.ChangeDetectionSyncStart = 14] = "ChangeDetectionSyncStart", e[e.ChangeDetectionSyncEnd = 15] = "ChangeDetectionSyncEnd", e[e.AfterRenderHooksStart = 16] = "AfterRenderHooksStart", e[e.AfterRenderHooksEnd = 17] = "AfterRenderHooksEnd", e[e.ComponentStart = 18] = "ComponentStart", e[e.ComponentEnd = 19] = "ComponentEnd", e[e.DeferBlockStateStart = 20] = "DeferBlockStateStart", e[e.DeferBlockStateEnd = 21] = "DeferBlockStateEnd", e[e.DynamicComponentStart = 22] = "DynamicComponentStart", e[e.DynamicComponentEnd = 23] = "DynamicComponentEnd", e[e.HostBindingsUpdateStart = 24] = "HostBindingsUpdateStart", e[e.HostBindingsUpdateEnd = 25] = "HostBindingsUpdateEnd", e; 9960 })(R || {}), f0 = class { 9961 previousValue; 9962 currentValue; 9963 firstChange; 9964 constructor(e, t, n) { 9965 this.previousValue = e, this.currentValue = t, this.firstChange = n; 9966 } 9967 isFirstChange() { 9968 return this.firstChange; 9969 } 9970 }, ja = null, d0 = (() => { 9971 ja = Ch; 9972 let e = () => Ch; 9973 return e.ngInherit = !0, e; 9974 })(), Qs = "__ngSimpleChanges__", Va = [], V = function(e, t = null, n) { 9975 for (let r = 0; r < Va.length; r++) { 9976 let i = Va[r]; 9977 i(e, t, n); 9978 } 9979 }, an = -1, Un = class { 9980 factory; 9981 name; 9982 injectImpl; 9983 resolving = !1; 9984 canSeeViewProviders; 9985 multi; 9986 componentProviders; 9987 index; 9988 providerFactory; 9989 constructor(e, t, n, r) { 9990 this.factory = e, this.name = r, this.canSeeViewProviders = t, this.injectImpl = n; 9991 } 9992 }, $s = !0, Pa = 255, Fa = 5, h0 = 0, Le = {}, zn = class { 9993 _tNode; 9994 _lView; 9995 constructor(e, t) { 9996 this._tNode = e, this._lView = t; 9997 } 9998 get(e, t, n) { 9999 return Ph(this._tNode, this._lView, e, cr(n), t); 10000 } 10001 }, p0 = () => (typeof requestIdleCallback < "u" ? requestIdleCallback : (e) => setTimeout(e)).bind(globalThis), g0 = () => (typeof requestIdleCallback < "u" ? cancelIdleCallback : clearTimeout).bind(globalThis), y0 = new k("", { factory: () => new m0() }), m0 = class { 10002 requestIdleCallback = p0(); 10003 cancelIdleCallback = g0(); 10004 requestOnIdle(e, t) { 10005 return this.requestIdleCallback(e, t); 10006 } 10007 cancelOnIdle(e) { 10008 return this.cancelIdleCallback(e); 10009 } 10010 }, Gr = "__parameters__", v0 = nE(gI("Inject", (e) => ({ token: e })), -1), Zn = (() => { 10011 class e { 10012 nativeElement; 10013 constructor(n) { 10014 this.nativeElement = n; 10015 } 10016 static __NG_ELEMENT_ID__ = yI; 10017 } 10018 return e; 10019 })(), La = class { 10020 _emitDistinctChangesOnly; 10021 dirty = !0; 10022 _onDirty = void 0; 10023 _results = []; 10024 _changesDetected = !1; 10025 _changes = void 0; 10026 length = 0; 10027 first = void 0; 10028 last = void 0; 10029 get changes() { 10030 return this._changes ??= new X(); 10031 } 10032 constructor(e = !1) { 10033 this._emitDistinctChangesOnly = e; 10034 } 10035 get(e) { 10036 return this._results[e]; 10037 } 10038 map(e) { 10039 return this._results.map(e); 10040 } 10041 filter(e) { 10042 return this._results.filter(e); 10043 } 10044 find(e) { 10045 return this._results.find(e); 10046 } 10047 reduce(e, t) { 10048 return this._results.reduce(e, t); 10049 }
10050 forEach(e) { 10051 this._results.forEach(e); 10052 } 10053 some(e) { 10054 return this._results.some(e); 10055 } 10056 toArray() { 10057 return this._results.slice(); 10058 } 10059 toString() { 10060 return this._results.toString(); 10061 } 10062 reset(e, t) { 10063 this.dirty = !1; 10064 let n = sE(e); 10065 (this._changesDetected = !iE(this._results, n, t)) && (this._results = n, this.length = n.length, this.last = n[this.length - 1], this.first = n[0]); 10066 } 10067 notifyOnChanges() { 10068 this._changes !== void 0 && (this._changesDetected || !this._emitDistinctChangesOnly) && this._changes.next(this); 10069 } 10070 onDirty(e) { 10071 this._onDirty = e; 10072 } 10073 setDirty() { 10074 this.dirty = !0, this._onDirty?.(); 10075 } 10076 destroy() { 10077 this._changes !== void 0 && (this._changes.complete(), this._changes.unsubscribe()); 10078 } 10079 [Symbol.iterator] = mI; 10080 }, b0 = "ngSkipHydration", _0 = "ngskiphydration", Ha = (function(e) { 10081 return e[e.OnPush = 0] = "OnPush", e[e.Eager = 1] = "Eager", e[e.Default = 1] = "Default", e; 10082 })(Ha || {}), qa = /* @__PURE__ */ new Map(), w0 = 0, Ba = "__ngContext__", za = "h", Za = "b", E0 = "f", I0 = "n", T0 = "e", x0 = "t", Gs = "c", Wa = "x", Wn = "r", C0 = "i", k0 = "n", Qa = "d", $a = "di", Ga = "s", S0 = "p", Ks = "t", Qn = new k(""), Ka = !1, Ja = new k("", { factory: () => Ka }), Ya = new k(""), O0 = !1, A0 = new k("", { factory: () => [] }), Xa = new k(""), Kr = new k("", { factory: () => /* @__PURE__ */ new Map() }), N0 = new k(""), ot = /* @__PURE__ */ new WeakMap(), D0 = ["click", "keydown"], R0 = [ 10083 "mouseenter", 10084 "mouseover", 10085 "focusin" 10086 ], Jr = /* @__PURE__ */ new Map(), M0 = class { 10087 callbacks = /* @__PURE__ */ new Set(); 10088 listener = () => { 10089 for (let e of this.callbacks) e(); 10090 }; 10091 }, Yr = "ngb", j0 = (e, t, n) => { 10092 let r = e, i = r.__jsaction_fns ?? /* @__PURE__ */ new Map(), s = i.get(t) ?? []; 10093 s.push(n), i.set(t, s), r.__jsaction_fns = i; 10094 }, ec = (e, t) => { 10095 let n = e, r = n.getAttribute(Yr) ?? "", i = t.get(r) ?? /* @__PURE__ */ new Set(); 10096 i.has(n) || i.add(n), t.set(r, i); 10097 }, tc = (e) => { 10098 e.removeAttribute(Ma.JSACTION), e.removeAttribute(Yr), e.__jsaction_fns = void 0; 10099 }, nc = new k("", { factory: () => ({}) }), Js = /* @__PURE__ */ new WeakMap(), Ys = /* @__PURE__ */ new Map(), rc = !1, ic = (e, t, n, r) => {}, lt = new k(""), V0 = (() => { 10100 class e { 10101 registry = /* @__PURE__ */ new Map(); 10102 cleanupFns = /* @__PURE__ */ new Map(); 10103 jsActionMap = m(Kr); 10104 contract = m(nc); 10105 add(n, r) { 10106 if (this.registry.set(n, r), this.awaitingCallbacks.has(n)) { 10107 let i = this.awaitingCallbacks.get(n); 10108 for (let s of i) s(); 10109 } 10110 } 10111 get(n) { 10112 return this.registry.get(n) ?? null; 10113 } 10114 has(n) { 10115 return this.registry.has(n); 10116 } 10117 cleanup(n) { 10118 TI(n, this.jsActionMap); 10119 for (let r of n) this.registry.delete(r), this.jsActionMap.delete(r), this.invokeTriggerCleanupFns(r), this.hydrating.delete(r), this.awaitingCallbacks.delete(r); 10120 this.size === 0 && this.contract.instance?.cleanUp(); 10121 } 10122 get size() { 10123 return this.registry.size; 10124 } 10125 addCleanupFn(n, r) { 10126 let i = []; 10127 this.cleanupFns.has(n) && (i = this.cleanupFns.get(n)), i.push(r), this.cleanupFns.set(n, i); 10128 } 10129 invokeTriggerCleanupFns(n) { 10130 let r = this.cleanupFns.get(n) ?? []; 10131 for (let i of r) i(); 10132 this.cleanupFns.delete(n); 10133 } 10134 hydrating = /* @__PURE__ */ new Map(); 10135 awaitingCallbacks = /* @__PURE__ */ new Map(); 10136 awaitParentBlock(n, r) { 10137 let i = this.awaitingCallbacks.get(n) ?? []; 10138 i.push(r), this.awaitingCallbacks.set(n, i); 10139 } 10140 static ɵprov = $({ 10141 token: e, 10142 providedIn: null, 10143 factory: () => new e() 10144 }); 10145 } 10146 return e; 10147 })(), sc = "__nghData__", oc = "__nghDeferData__", Xs = "ngh", P0 = "nghm", lc = () => null, uc = () => ({}), Ct = (function(e) { 10148 return e[e.Emulated = 0] = "Emulated", e[e.None = 2] = "None", e[e.ShadowDom = 3] = "ShadowDom", e[e.ExperimentalIsolatedShadowDom = 4] = "ExperimentalIsolatedShadowDom", e; 10149 })(Ct || {}), F0 = { 10150 "http://www.w3.org/2000/svg": Hn, 10151 "http://www.w3.org/1998/Math/MathML": Bs 10152 }, kt = class { 10153 changingThisBreaksApplicationSecurity; 10154 constructor(e) { 10155 this.changingThisBreaksApplicationSecurity = e; 10156 } 10157 toString() { 10158 return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${fa})`; 10159 } 10160 }, L0 = class extends kt { 10161 getTypeName() { 10162 return "HTML"; 10163 } 10164 }, H0 = class extends kt { 10165 getTypeName() { 10166 return "Style"; 10167 } 10168 }, q0 = class extends kt { 10169 getTypeName() { 10170 return "Script"; 10171 } 10172 }, B0 = class extends kt { 10173 getTypeName() { 10174 return "URL"; 10175 } 10176 }, U0 = class extends kt { 10177 getTypeName() { 10178 return "ResourceURL"; 10179 } 10180 }, z0 = class { 10181 inertDocumentHelper; 10182 constructor(e) { 10183 this.inertDocumentHelper = e; 10184 } 10185 getInertBodyElement(e) { 10186 e = "<body><remove></remove>" + e; 10187 try { 10188 let t = new window.DOMParser().parseFromString(qi(e), "text/html").body; 10189 return t === null ? this.inertDocumentHelper.getInertBodyElement(e) : (t.firstChild?.remove(), t); 10190 } catch { 10191 return null; 10192 } 10193 } 10194 }, Z0 = class { 10195 defaultDoc; 10196 inertDocument; 10197 constructor(e) { 10198 this.defaultDoc = e, this.inertDocument = this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"); 10199 } 10200 getInertBodyElement(e) { 10201 let t = this.inertDocument.createElement("template"); 10202 return t.innerHTML = qi(e), t; 10203 } 10204 }, W0 = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i, ac = et("area,br,col,hr,img,wbr"), cc = et("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"), fc = et("rp,rt"), Q0 = _r(fc, cc), dc = _r(ac, _r(cc, et("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")), _r(fc, et("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")), Q0), hc = et("background,cite,href,itemtype,longdesc,poster,src,xlink:href"), $0 = _r(hc, et("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
10204olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"), et("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")), G0 = et("script,style,template"), K0 = class { 10205 sanitizedSomething = !1; 10206 buf = []; 10207 sanitizeChildren(e) { 10208 let t = e.firstChild, n = !0, r = []; 10209 for (; t;) { 10210 if (t.nodeType === Node.ELEMENT_NODE ? n = this.startElement(t) : t.nodeType === Node.TEXT_NODE ? this.chars(t.nodeValue) : this.sanitizedSomething = !0, n && t.firstChild) { 10211 r.push(t), t = sT(t); 10212 continue; 10213 } 10214 for (; t;) { 10215 t.nodeType === Node.ELEMENT_NODE && this.endElement(t); 10216 let i = iT(t); 10217 if (i) { 10218 t = i; 10219 break; 10220 } 10221 t = r.pop(); 10222 } 10223 } 10224 return this.buf.join(""); 10225 } 10226 startElement(e) { 10227 let t = lp(e).toLowerCase(); 10228 if (!Object.hasOwn(dc, t)) return this.sanitizedSomething = !0, !Object.hasOwn(G0, t); 10229 this.buf.push("<"), this.buf.push(t); 10230 let n = e.attributes; 10231 for (let r = 0; r < n.length; r++) { 10232 let i = n.item(r), s = i.name, o = s.toLowerCase(); 10233 if (!Object.hasOwn($0, o)) { 10234 this.sanitizedSomething = !0; 10235 continue; 10236 } 10237 let l = i.value; 10238 hc[o] && (l = Bl(l)), this.buf.push(" ", s, "=\"", ap(l), "\""); 10239 } 10240 return this.buf.push(">"), !0; 10241 } 10242 endElement(e) { 10243 let t = lp(e).toLowerCase(); 10244 Object.hasOwn(dc, t) && !Object.hasOwn(ac, t) && (this.buf.push("</"), this.buf.push(t), this.buf.push(">")); 10245 } 10246 chars(e) { 10247 this.buf.push(ap(e)); 10248 } 10249 }, J0 = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, Y0 = /([^\#-~ |!])/g, X0 = /^>|^->|<!--|-->|--!>|<!-$/g, eb = /(<|>)/g, tb = "â$1â", pc = "ng-template", q = {}, Xr = (function(e) { 10250 return e[e.Important = 1] = "Important", e[e.DashCase = 2] = "DashCase", e; 10251 })(Xr || {}), nb = new k("", { factory: () => !1 }), St = /* @__PURE__ */ new Set(), rb = !1, ib = 1, $n = typeof document < "u" && typeof document?.documentElement?.getAnimations == "function", cn = /* @__PURE__ */ new WeakMap(), Ot = /* @__PURE__ */ new WeakMap(), Gn = /* @__PURE__ */ new WeakMap(), Kn = /* @__PURE__ */ new WeakSet(), ro = (function(e) { 10252 return e[e.CHANGE_DETECTION = 0] = "CHANGE_DETECTION", e[e.AFTER_NEXT_RENDER = 1] = "AFTER_NEXT_RENDER", e; 10253 })(ro || {}), At = new k(""), gc = /* @__PURE__ */ new Set(), io = (() => { 10254 class e { 10255 impl = null; 10256 execute() { 10257 this.impl?.execute(); 10258 } 10259 static ɵprov = $({ 10260 token: e, 10261 providedIn: "root", 10262 factory: () => new e() 10263 }); 10264 } 10265 return e; 10266 })(), yc = [ 10267 0, 10268 1, 10269 2, 10270 3 10271 ], mc = (() => { 10272 class e { 10273 ngZone = m(z); 10274 scheduler = m(Ke); 10275 errorHandler = m(qn, { optional: !0 }); 10276 sequences = /* @__PURE__ */ new Set(); 10277 deferredRegistrations = /* @__PURE__ */ new Set(); 10278 executing = !1; 10279 constructor() { 10280 m(At, { optional: !0 }); 10281 } 10282 execute() { 10283 let n = this.sequences.size > 0; 10284 n && V(R.AfterRenderHooksStart), this.executing = !0; 10285 for (let r of yc) for (let i of this.sequences) if (!(i.erroredOrDestroyed || !i.hooks[r])) try { 10286 i.pipelinedValue = this.ngZone.runOutsideAngular(() => this.maybeTrace(() => { 10287 let s = i.hooks[r]; 10288 return s(i.pipelinedValue); 10289 }, i.snapshot)); 10290 } catch (s) { 10291 i.erroredOrDestroyed = !0, this.errorHandler?.handleError(s); 10292 } 10293 this.executing = !1; 10294 for (let r of this.sequences) r.afterRun(), r.once && (this.sequences.delete(r), r.destroy()); 10295 for (let r of this.deferredRegistrations) this.sequences.add(r); 10296 this.deferredRegistrations.size > 0 && this.scheduler.notify(7), this.deferredRegistrations.clear(), n && V(R.AfterRenderHooksEnd); 10297 } 10298 register(n) { 10299 let { view: r } = n; 10300 r !== void 0 ? ((r[sn] ??= []).push(n), Tn(r), r[T] |= 8192) : this.executing ? this.deferredRegistrations.add(n) : this.addSequence(n); 10301 } 10302 addSequence(n) { 10303 this.sequences.add(n), this.scheduler.notify(7); 10304 } 10305 unregister(n) { 10306 this.executing && this.sequences.has(n) ? (n.erroredOrDestroyed = !0, n.pipelinedValue = void 0, n.once = !0) : (this.sequences.delete(n), this.deferredRegistrations.delete(n)); 10307 } 10308 maybeTrace(n, r) { 10309 return r ? r.run(ro.AFTER_NEXT_RENDER, n) : n(); 10310 } 10311 static ɵprov = $({ 10312 token: e, 10313 providedIn: "root", 10314 factory: () => new e() 10315 }); 10316 } 10317 return e; 10318 })(), vc = class { 10319 impl; 10320 hooks; 10321 view; 10322 once; 10323 snapshot; 10324 erroredOrDestroyed = !1; 10325 pipelinedValue = void 0; 10326 unregisterOnDestroy; 10327 constructor(e, t, n, r, i, s = null) { 10328 this.impl = e, this.hooks = t, this.view = n, this.once = r, this.snapshot = s, this.unregisterOnDestroy = i?.onDestroy(() => this.destroy()); 10329 } 10330 afterRun() { 10331 this.erroredOrDestroyed = !1, this.pipelinedValue = void 0, this.snapshot?.dispose(), this.snapshot = null; 10332 } 10333 destroy() { 10334 this.impl.unregister(this), this.unregisterOnDestroy?.(); 10335 let e = this.view?.[sn]; 10336 e && (this.view[sn] = e.filter((t) => t !== this)); 10337 } 10338 }, Jn = new k("", { factory: () => { 10339 let e = m(Ve), t = /* @__PURE__ */ new Set(); 10340 return e.onDestroy(() => t.clear()), { 10341 queue: t, 10342 isScheduled: !1, 10343 scheduler: null, 10344 injector: e 10345 }; 10346 } }), sb = nx, ei = (function(e) { 10347 return e[e.None = 0] = "None", e[e.SignalBased = 1] = "SignalBased", e[e.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform", e; 10348 })(ei || {}), bc = () => null, _c = [], ob = ye(me({}, en), { 10349 consumerIsAlwaysLive: !0, 10350 kind: "template", 10351 consumerMarkedDirty: (e) => { 10352 Tn(e.lView); 10353 },
10354 consumerOnSignalRead() { 10355 this.lView[we] = this; 10356 } 10357 }), lb = ye(me({}, en), { 10358 consumerIsAlwaysLive: !0, 10359 kind: "template", 10360 consumerMarkedDirty: (e) => { 10361 let t = Vt(e.lView); 10362 for (; t && !tg(t[v]);) t = Vt(t); 10363 t && gl(t); 10364 }, 10365 consumerOnSignalRead() { 10366 this.lView[we] = this; 10367 } 10368 }), ub = 100, Yn = class { 10369 _lView; 10370 _cdRefInjectingView; 10371 _appRef = null; 10372 _attachedToViewContainer = !1; 10373 exhaustive; 10374 get rootNodes() { 10375 let e = this._lView, t = e[v]; 10376 return Yi(t, e, t.firstChild, []); 10377 } 10378 constructor(e, t) { 10379 this._lView = e, this._cdRefInjectingView = t; 10380 } 10381 get context() { 10382 return this._lView[W]; 10383 } 10384 set context(e) { 10385 this._lView[W] = e; 10386 } 10387 get destroyed() { 10388 return Mt(this._lView); 10389 } 10390 destroy() { 10391 if (this._appRef) this._appRef.detachView(this); 10392 else if (this._attachedToViewContainer) { 10393 let e = this._lView[G]; 10394 if (xe(e)) { 10395 let t = e[Wr], n = t ? t.indexOf(this) : -1; 10396 n > -1 && (Ir(e, n), wi(t, n)); 10397 } 10398 this._attachedToViewContainer = !1; 10399 } 10400 Wi(this._lView[v], this._lView); 10401 } 10402 onDestroy(e) { 10403 xi(this._lView, e); 10404 } 10405 markForCheck() { 10406 Xi(this._cdRefInjectingView || this._lView, 4); 10407 } 10408 detach() { 10409 this._lView[T] &= -129; 10410 } 10411 reattach() { 10412 yl(this._lView), this._lView[T] |= 128; 10413 } 10414 detectChanges() { 10415 this._lView[T] |= 1024, rg(this._lView); 10416 } 10417 checkNoChanges() {} 10418 attachToViewContainerRef() { 10419 if (this._appRef) throw new x(902, !1); 10420 this._attachedToViewContainer = !0; 10421 } 10422 detachFromAppRef() { 10423 this._appRef = null; 10424 let e = gr(this._lView), t = this._lView[It]; 10425 t !== null && !e && Jl(t, this._lView), qp(this._lView[v], this._lView); 10426 } 10427 attachToAppRef(e) { 10428 if (this._attachedToViewContainer) throw new x(902, !1); 10429 this._appRef = e; 10430 let t = gr(this._lView), n = this._lView[It]; 10431 n !== null && !t && ag(n, this._lView), yl(this._lView); 10432 } 10433 }, Xn = (() => { 10434 class e { 10435 _declarationLView; 10436 _declarationTContainer; 10437 elementRef; 10438 static __NG_ELEMENT_ID__ = Vx; 10439 constructor(n, r, i) { 10440 this._declarationLView = n, this._declarationTContainer = r, this.elementRef = i; 10441 } 10442 get ssrId() { 10443 return this._declarationTContainer.tView?.ssrId || null; 10444 } 10445 createEmbeddedView(n, r) { 10446 return this.createEmbeddedViewImpl(n, r); 10447 } 10448 createEmbeddedViewImpl(n, r, i) { 10449 return new Yn(Nn(this._declarationLView, this._declarationTContainer, n, { 10450 embeddedViewInjector: r, 10451 dehydratedView: i 10452 })); 10453 } 10454 } 10455 return e; 10456 })(), ab = new RegExp(`^(\\d+)*(${Za}|${za})*(.*)`), wc = () => null, Ec = () => null, cb = class {}, so = class {}, fb = class { 10457 destroyNode = null; 10458 static __NG_ELEMENT_ID__ = () => nC(); 10459 }, db = (() => { 10460 class e { 10461 static ɵprov = $({ 10462 token: e, 10463 providedIn: "root", 10464 factory: () => null 10465 }); 10466 } 10467 return e; 10468 })(), oo = {}, ti = class { 10469 injector; 10470 parentInjector; 10471 constructor(e, t) { 10472 this.injector = e, this.parentInjector = t; 10473 } 10474 get(e, t, n) { 10475 let r = this.injector.get(e, oo, n); 10476 return r !== oo || t === oo ? r : this.parentInjector.get(e, t, n); 10477 } 10478 }, Ic = class { 10479 lView; 10480 tView; 10481 tNode; 10482 hasPassThrough; 10483 constructor(e, t, n) { 10484 this.lView = e, this.tView = t, this.tNode = n, this.hasPassThrough = !!(n.flags & 4096); 10485 } 10486 get customControl() { 10487 return this.tNode.customControlIndex !== -1 ? this.lView[this.tNode.customControlIndex] : void 0; 10488 } 10489 get nativeElement() { 10490 return re(this.tNode, this.lView); 10491 } 10492 get descriptor() { 10493 return `<${this.tNode.value}>`; 10494 } 10495 listenToCustomControlOutput(e, t) { 10496 let n = this.tView.data[this.tNode.customControlIndex]; 10497 gu(this.tNode, this.lView, n, e, pt(this.tNode, this.lView, t)); 10498 } 10499 listenToCustomControlModel(e) { 10500 let t = this.tNode.flags & 1024 ? "valueChange" : "checkedChange", n = this.tView.data[this.tNode.customControlIndex]; 10501 gu(this.tNode, this.lView, n, t, pt(this.tNode, this.lView, e)); 10502 } 10503 listenToDom(e, t) { 10504 pu(this.tNode, this.tView, this.lView, void 0, this.lView[D], e, t, pt(this.tNode, this.lView, t)); 10505 } 10506 setInputOnDirectives(e, t) {
10507 let n = this.tNode.inputs?.[e], r = this.tNode.hostDirectiveInputs?.[e]; 10508 if (!n && !r) return !1; 10509 let i = !1; 10510 if (n) for (let s of n) { 10511 if (s === this.tNode.controlDirectiveIndex) continue; 10512 let o = this.tView.data[s], l = this.lView[s]; 10513 Bt(o, l, e, t), i = !0; 10514 } 10515 if (r) for (let s = 0; s < r.length; s += 2) { 10516 let o = r[s]; 10517 if (o === this.tNode.controlDirectiveIndex) continue; 10518 let l = r[s + 1], u = this.tView.data[o], a = this.lView[o]; 10519 Bt(u, a, l, t), i = !0; 10520 } 10521 return i; 10522 } 10523 setCustomControlModelInput(e) { 10524 let t = this.tView.data[this.tNode.customControlIndex], n = this.tNode.flags & 1024 ? "value" : "checked"; 10525 Xp(this.tNode, this.tView, this.lView, t, n, e); 10526 } 10527 customControlHasInput(e) { 10528 if (this.tNode.customControlIndex === -1) return !1; 10529 let t = this.tView.data[this.tNode.customControlIndex]; 10530 return (t.signalFormsInputPresence ??= this._buildCustomControlInputCache(t))[e] === !0; 10531 } 10532 _buildCustomControlInputCache(e) { 10533 let t = {}; 10534 for (let n in e.inputs) t[n] = !0; 10535 if (e.hostDirectives !== null) { 10536 let n = [...e.hostDirectives]; 10537 for (; n.length > 0;) { 10538 let r = n.shift(); 10539 if (typeof r != "function") { 10540 for (let s in r.inputs) t[r.inputs[s]] = !0; 10541 let i = wg(r.directive); 10542 i !== null && n.push(...i); 10543 continue; 10544 } 10545 for (let i of r()) { 10546 if (typeof i == "function") continue; 10547 if (i.inputs) for (let o = 0; o < i.inputs.length; o += 2) { 10548 let l = i.inputs[o + 1] || i.inputs[o]; 10549 t[l] = !0; 10550 } 10551 let s = wg(i.directive); 10552 s !== null && n.push(...s); 10553 } 10554 } 10555 } 10556 return t; 10557 } 10558 }, fn = Symbol("BINDING"), Tc = { 10559 kind: "input", 10560 requiredVars: 1 10561 }, hb = { 10562 kind: "output", 10563 requiredVars: 0 10564 }, xc = new k(""), Cc = typeof ShadowRoot < "u", pb = typeof Document < "u", ni = class { 10565 componentDef; 10566 ngModule; 10567 selector; 10568 componentType; 10569 ngContentSelectors; 10570 isBoundToModule; 10571 cachedInputs = null; 10572 cachedOutputs = null; 10573 get inputs() { 10574 return this.cachedInputs ??= xC(this.componentDef.inputs), this.cachedInputs; 10575 } 10576 get outputs() { 10577 return this.cachedOutputs ??= CC(this.componentDef.outputs), this.cachedOutputs; 10578 } 10579 constructor(e, t) { 10580 this.componentDef = e, this.ngModule = t, this.componentType = e.type, this.selector = NT(e.selectors), this.ngContentSelectors = e.ngContentSelectors ?? [], this.isBoundToModule = !!t; 10581 } 10582 create(e, t, n, r, i, s) { 10583 V(R.DynamicComponentStart); 10584 let o = E(null); 10585 try { 10586 let l = this.componentDef, u = kC(l, r || this.ngModule, e), a = SC(u), c = a.tracingService; 10587 return c && c.componentCreate ? c.componentCreate(gg(l), () => this.createComponentRef(a, u, t, n, i, s)) : this.createComponentRef(a, u, t, n, i, s); 10588 } finally { 10589 E(o); 10590 } 10591 } 10592 createComponentRef(e, t, n, r, i, s) { 10593 let o = this.componentDef, l = DC(r, o, s, i), u = e.rendererFactory.createRenderer(null, o), a = r ? fx(u, r, o.encapsulation, t) : OC(o, u); 10594 AC(a); 10595 let c = t.get(xc, null), f = RC(a, () => t.get(ln, null) ?? jl()); 10596 c && c.addHost(f); 10597 let h = s?.some(Ag) || i?.some((y) => typeof y != "function" && y.bindings.some(Ag)), d = ru(null, l, null, 512 | Wp(o), null, null, e, u, t, null, Jh(a, t, !0)); 10598 c && Cc && f instanceof ShadowRoot && xi(d, () => { 10599 c.removeHost(f); 10600 }), d[A] = a, wl(d); 10601 let p = null; 10602 try { 10603 let y = yu(A, d, 2, "#host", () => l.directiveRegistry, !0, 0); 10604 mp(u, a, y), Sn(a, d), $i(l, d, y), ql(l, y, d), mu(l, y), n !== void 0 && jC(y, this.ngContentSelectors, n), p = De(y.index, d), d[W] = p[W], uu(l, d, null); 10605 } catch (y) { 10606 throw p !== null && Ml(p), Ml(d), y; 10607 } finally { 10608 V(R.DynamicComponentEnd), El(); 10609 } 10610 return new gb(this.componentType, d, !!h); 10611 } 10612 }, gb = class extends cb { 10613 _rootLView; 10614 _hasInputBindings; 10615 instance; 10616 hostView; 10617 changeDetectorRef; 10618 componentType; 10619 location; 10620 previousInputValues = null; 10621 _tNode; 10622 constructor(e, t, n) { 10623 super(), this._rootLView = t, this._hasInputBindings = n, this._tNode = yr(t[v], A), this.location = kn(this._tNode, t), this.instance = De(this._tNode.index, t)[W], this.hostView = this.changeDetectorRef = new Yn(t, void 0), this.componentType = e; 10624 } 10625 setInput(e, t) { 10626 this._hasInputBindings; 10627 let n = this._tNode; 10628 if (this.previousInputValues ??= /* @__PURE__ */ new Map(), this.previousInputValues.has(e) && Object.is(this.previousInputValues.get(e), t)) return; 10629 let r = this._rootLView; 10630 Ji(n, r[v], r, e, t), this.previousInputValues.set(e, t), Xi(De(n.index, r), 1); 10631 } 10632 get injector() { 10633 return new zn(this._tNode, this._rootLView); 10634 } 10635 destroy() { 10636 this.hostView.destroy(); 10637 } 10638 onDestroy(e) { 10639 this.hostView.onDestroy(e); 10640 } 10641 }, ri = (() => { 10642 class e { 10643 static __NG_ELEMENT_ID__ = VC; 10644 } 10645 return e; 10646 })(), yb = class U_ extends ri { 10647 _lContainer; 10648 _hostTNode; 10649 _hostLView; 10650 constructor(t, n, r) { 10651 super(), this._lContainer = t, this._hostTNode = n, this._hostLView = r; 10652 }
10653 get element() { 10654 return kn(this._hostTNode, this._hostLView); 10655 } 10656 get injector() { 10657 return new zn(this._hostTNode, this._hostLView); 10658 } 10659 get parentInjector() { 10660 let t = Nl(this._hostTNode, this._hostLView); 10661 if (Rh(t)) { 10662 let n = Ri(t, this._hostLView), r = Di(t), i = n[v].data[r + 8]; 10663 return new zn(i, n); 10664 } else return new zn(null, this._hostLView); 10665 } 10666 clear() { 10667 for (; this.length > 0;) this.remove(this.length - 1); 10668 } 10669 get(t) { 10670 let n = Ng(this._lContainer); 10671 return n !== null && n[t] || null; 10672 } 10673 get length() { 10674 return this._lContainer.length - B; 10675 } 10676 createEmbeddedView(t, n, r) { 10677 let i, s; 10678 typeof r == "number" ? i = r : r != null && (i = r.index, s = r.injector); 10679 let o = Tr(this._lContainer, t.ssrId), l = t.createEmbeddedViewImpl(n || {}, s, o); 10680 return this.insertImpl(l, i, Ut(this._hostTNode, o)), l; 10681 } 10682 createComponent(t, n, r, i, s, o, l) { 10683 let u, a = n || {}; 10684 u = a.index, r = a.injector, i = a.projectableNodes, s = a.environmentInjector || a.ngModuleRef, o = a.directives, l = a.bindings; 10685 let c = new ni(at(t)), f = r || this.parentInjector; 10686 if (!s && c.ngModule == null) { 10687 let _ = this.parentInjector.get(Ve, null); 10688 _ && (s = _); 10689 } 10690 let h = at(c.componentType ?? {}), d = Tr(this._lContainer, h?.id ?? null), p = d?.firstChild ?? null, y = c.create(f, i, p, s, o, l); 10691 return this.insertImpl(y.hostView, u, Ut(this._hostTNode, d)), y; 10692 } 10693 insert(t, n) { 10694 return this.insertImpl(t, n, !0); 10695 } 10696 insertImpl(t, n, r) { 10697 let i = t._lView; 10698 if (EE(i)) { 10699 let l = this.indexOf(t); 10700 if (l !== -1) this.detach(l); 10701 else { 10702 let u = i[G], a = new U_(u, u[fe], u[G]); 10703 a.detach(a.indexOf(t)); 10704 } 10705 } 10706 let s = this._adjustIndex(n), o = this._lContainer; 10707 return Dn(o, i, s, r), t.attachToViewContainerRef(), zd(vu(o), s, t), t; 10708 } 10709 move(t, n) { 10710 return this.insert(t, n); 10711 } 10712 indexOf(t) { 10713 let n = Ng(this._lContainer); 10714 return n !== null ? n.indexOf(t) : -1; 10715 } 10716 remove(t) { 10717 let n = this._adjustIndex(t, -1), r = Ir(this._lContainer, n); 10718 r && (wi(vu(this._lContainer), n), Wi(r[v], r)); 10719 } 10720 detach(t) { 10721 let n = this._adjustIndex(t, -1), r = Ir(this._lContainer, n); 10722 return r && wi(vu(this._lContainer), n) != null ? new Yn(r) : null; 10723 } 10724 _adjustIndex(t, n = 0) { 10725 return t ?? this.length + n; 10726 } 10727 }, kc = Mg, lo = () => !1, mb = class z_ { 10728 queryList; 10729 matches = null; 10730 constructor(t) { 10731 this.queryList = t; 10732 } 10733 clone() { 10734 return new z_(this.queryList); 10735 } 10736 setDirty() { 10737 this.queryList.setDirty(); 10738 } 10739 }, vb = class Z_ { 10740 queries; 10741 constructor(t = []) { 10742 this.queries = t; 10743 } 10744 createEmbeddedView(t) { 10745 let n = t.queries; 10746 if (n !== null) { 10747 let r = t.contentQueries !== null ? t.contentQueries[0] : n.length, i = []; 10748 for (let s = 0; s < r; s++) { 10749 let o = n.getByIndex(s), l = this.queries[o.indexInDeclarationView]; 10750 i.push(l.clone()); 10751 } 10752 return new Z_(i); 10753 } 10754 return null; 10755 } 10756 insertView(t) { 10757 this.dirtyQueriesWithMatches(t); 10758 } 10759 detachView(t) { 10760 this.dirtyQueriesWithMatches(t); 10761 } 10762 finishViewCreation(t) { 10763 this.dirtyQueriesWithMatches(t); 10764 } 10765 dirtyQueriesWithMatches(t) { 10766 for (let n = 0; n < this.queries.length; n++) wu(t, n).matches !== null && this.queries[n].setDirty(); 10767 } 10768 }, Sc = class { 10769 flags; 10770 read; 10771 predicate; 10772 constructor(e, t, n = null) { 10773 this.flags = t, this.read = n, typeof e == "string" ? this.predicate = ZC(e) : this.predicate = e; 10774 } 10775 }, bb = class W_ { 10776 queries; 10777 constructor(t = []) { 10778 this.queries = t; 10779 } 10780 elementStart(t, n) { 10781 for (let r = 0; r < this.queries.length; r++) this.queries[r].elementStart(t, n); 10782 } 10783 elementEnd(t) { 10784 for (let n = 0; n < this.queries.length; n++) this.queries[n].elementEnd(t); 10785 } 10786 embeddedTView(t) { 10787 let n = null; 10788 for (let r = 0; r < this.length; r++) { 10789 let i = n !== null ? n.length : 0, s = this.getByIndex(r).embeddedTView(t, i); 10790 s && (s.indexInDeclarationView = r, n !== null ? n.push(s) : n = [s]); 10791 } 10792 return n !== null ? new W_(n) : null; 10793 } 10794 template(t, n) { 10795 for (let r = 0; r < this.queries.length; r++) this.queries[r].template(t, n); 10796 } 10797 getByIndex(t) { 10798 return this.queries[t]; 10799 } 10800 get length() { 10801 return this.queries.length; 10802 } 10803 track(t) { 10804 this.queries.push(t); 10805 } 10806 }, _b = class Q_ { 10807 metadata; 10808 matches = null; 10809 indexInDeclarationView = -1; 10810 crossesNgTemplate = !1; 10811 _declarationNodeIndex; 10812 _appliesToNextNode = !0; 10813 constructor(t, n = -1) { 10814 this.metadata = t, this._declarationNodeIndex = n; 10815 } 10816 elementStart(t, n) { 10817 this.isApplyingToNode(n) && this.matchTNode(t, n); 10818 } 10819 elementEnd(t) { 10820 this._declarationNodeIndex === t.index && (this._appliesToNextNode = !1); 10821 } 10822 template(t, n) { 10823 this.elementStart(t, n); 10824 } 10825 embeddedTView(t, n) { 10826 return this.isApplyingToNode(t) ? (this.crossesNgTemplate = !0, this.addMatch(-t.index, n), new Q_(this.metadata)) : null; 10827 } 10828 isApplyingToNode(t) { 10829 if (this._appliesToNextNode && (this.metadata.flags & 1) !== 1) { 10830 let n = this._declarationNodeIndex, r = t.parent; 10831 for (; r !== null && r.type & 8 && r.index !== n;) r = r.parent; 10832 return n === (r !== null ? r.index : -1); 10833 } 10834 return this._appliesToNextNode; 10835 } 10836 matchTNode(t, n) { 10837 let r = this.metadata.predicate; 10838 if (Array.isArray(r)) for (let i = 0; i < r.length; i++) { 10839 let s = r[i]; 10840 this.matchTNodeWithReadOption(t, n, qC(n, s)), this.matchTNodeWithReadOption(t, n, Vi(n, t, s, !1, !1)); 10841 } 10842 else r === Xn ? n.type & 4 && this.matchTNodeWithReadOption(t, n, -1) : this.matchTNodeWithReadOption(t, n, Vi(n, t, r, !1, !1)); 10843 } 10844 matchTNodeWithReadOption(t, n, r) { 10845 if (r !== null) { 10846 let i = this.metadata.read; 10847 if (i !== null) if (i === Zn || i === ri || i === Xn && n.type & 4) this.addMatch(n.index, -2); 10848 else { 10849 let s = Vi(n, t, i, !1, !1); 10850 s !== null && this.addMatch(n.index, s); 10851 } 10852 else this.addMatch(n.index, r); 10853 } 10854 } 10855 addMatch(t, n) { 10856 this.matches === null ? this.matches = [t, n] : this.matches.push(t, n); 10857 } 10858 }, dn = class {}, Oc = class {}, Ac = class extends dn { 10859 ngModuleType; 10860 _parent; 10861 _bootstrapComponents = []; 10862 _r3Injector; 10863 instance; 10864 destroyCbs = []; 10865 constructor(e, t, n, r = !0) { 10866 super(), this.ngModuleType = e, this._parent = t; 10867 let i = Y1(e); 10868 this._bootstrapComponents = _T(i.bootstrap), this._r3Injector = mh(e, t, [{ 10869 provide: dn, 10870 useValue: this 10871 }
10871, ...n], Yo(e), /* @__PURE__ */ new Set(["environment"])), r && this.resolveInjectorInitializers(); 10872 } 10873 resolveInjectorInitializers() { 10874 this._r3Injector.resolveInjectorInitializers(), this.instance = this._r3Injector.get(this.ngModuleType); 10875 } 10876 get injector() { 10877 return this._r3Injector; 10878 } 10879 destroy() { 10880 let e = this._r3Injector; 10881 !e.destroyed && e.destroy(), this.destroyCbs.forEach((t) => t()), this.destroyCbs = null; 10882 } 10883 onDestroy(e) { 10884 this.destroyCbs.push(e); 10885 } 10886 }, wb = class extends Oc { 10887 moduleType; 10888 constructor(e) { 10889 super(), this.moduleType = e; 10890 } 10891 create(e) { 10892 return new Ac(this.moduleType, e, []); 10893 } 10894 }, Nc = class extends dn { 10895 injector; 10896 instance = null; 10897 constructor(e) { 10898 super(); 10899 let t = new Fs([...e.providers, { 10900 provide: dn, 10901 useValue: this 10902 }], e.parent || Ii(), e.debugName, /* @__PURE__ */ new Set(["environment"])); 10903 this.injector = t, e.runEnvironmentInitializers && t.resolveInjectorInitializers(); 10904 } 10905 destroy() { 10906 this.injector.destroy(); 10907 } 10908 onDestroy(e) { 10909 this.injector.onDestroy(e); 10910 } 10911 }, Eb = (() => { 10912 class e { 10913 _injector; 10914 cachedInjectors = /* @__PURE__ */ new Map(); 10915 constructor(n) { 10916 this._injector = n; 10917 } 10918 getOrCreateStandaloneInjector(n) { 10919 if (!n.standalone) return null; 10920 if (!this.cachedInjectors.has(n)) { 10921 let r = ol(!1, n.type), i = r.length > 0 ? Tu([r], this._injector, "") : null; 10922 this.cachedInjectors.set(n, i); 10923 } 10924 return this.cachedInjectors.get(n); 10925 } 10926 ngOnDestroy() { 10927 try { 10928 for (let n of this.cachedInjectors.values()) n !== null && n.destroy(); 10929 } finally { 10930 this.cachedInjectors.clear(); 10931 } 10932 } 10933 static ɵprov = $({ 10934 token: e, 10935 providedIn: "environment", 10936 factory: () => new e(be(Ve)) 10937 }); 10938 } 10939 return e; 10940 })(), Dc = new k(""), Rc = (() => { 10941 class e { 10942 resolve; 10943 reject; 10944 initialized = !1; 10945 done = !1; 10946 donePromise = new Promise((n, r) => { 10947 this.resolve = n, this.reject = r; 10948 }); 10949 appInits = m(Dc, { optional: !0 }) ?? []; 10950 injector = m(We); 10951 constructor() {} 10952 runInitializers() { 10953 if (this.initialized) return; 10954 let n = []; 10955 for (let i of this.appInits) { 10956 let s = fl(this.injector, i); 10957 if (Iu(s)) n.push(s); 10958 else if (Zg(s)) { 10959 let o = new Promise((l, u) => { 10960 s.subscribe({ 10961 complete: l, 10962 error: u 10963 }); 10964 }); 10965 n.push(o); 10966 } 10967 } 10968 let r = () => { 10969 this.done = !0, this.resolve(); 10970 }; 10971 Promise.all(n).then(() => { 10972 r(); 10973 }).catch((i) => { 10974 this.reject(i); 10975 }), n.length === 0 && r(), this.initialized = !0; 10976 } 10977 static ɵfac = function(n) { 10978 return new (n || e)(); 10979 }; 10980 static ɵprov = Lt({ 10981 token: e, 10982 factory: e.ɵfac 10983 }); 10984 } 10985 return e; 10986 })(), Mc = iy, he = (function(e) { 10987 return e[e.NOT_STARTED = 0] = "NOT_STARTED", e[e.IN_PROGRESS = 1] = "IN_PROGRESS", e[e.COMPLETE = 2] = "COMPLETE", e[e.FAILED = 3] = "FAILED", e; 10988 })(he || {}), jc = 0, Ib = 1, Z = (function(e) { 10989 return e[e.Placeholder = 0] = "Placeholder", e[e.Loading = 1] = "Loading", e[e.Complete = 2] = "Complete", e[e.Error = 3] = "Error", e; 10990 })(Z || {}), ii = (function(e) { 10991 return e[e.Initial = -1] = "Initial", e; 10992 })(ii || {}), Tb = 0, er = 1, xb = 4, Cb = 5, uo = 6, kb = 7, hn = 8, Sb = 9, Vc = (function(e) { 10993 return e[e.Manual = 0] = "Manual", e[e.Playthrough = 1] = "Playthrough", e; 10994 })(Vc || {}), Ob = (() => { 10995 class e { 10996 cachedInjectors = /* @__PURE__ */ new Map(); 10997 getOrCreateInjector(n, r, i, s) { 10998 if (!this.cachedInjectors.has(n)) { 10999 let o = i.length > 0 ? Tu(i, r, s) : null; 11000 this.cachedInjectors.set(n, o); 11001 } 11002 return this.cachedInjectors.get(n); 11003 } 11004 ngOnDestroy() { 11005 try { 11006 for (let n of this.cachedInjectors.values()) n !== null && n.destroy(); 11007 } finally { 11008 this.cachedInjectors.clear(); 11009 } 11010 } 11011 static ɵprov = $({ 11012 token: e, 11013 providedIn: "environment", 11014 factory: () => new e() 11015 }); 11016 } 11017 return e; 11018 })(), Ab = (() => { 11019 class e { 11020 executingCallbacks = !1; 11021 timeoutId = null; 11022 invokeTimerAt = null; 11023 current = []; 11024 deferred = []; 11025 add(n, r, i) { 11026 let s = this.executingCallbacks ? this.deferred : this.current; 11027 this.addToQueue(s, Date.now() + n, r), this.scheduleTimer(i); 11028 } 11029 remove(n) { 11030 let { current: r, deferred: i } = this; 11031 this.removeFromQueue(r, n) === -1 && this.removeFromQueue(i, n), r.length === 0 && i.length === 0 && this.clearTimeout(); 11032 } 11033 addToQueue(n, r, i) { 11034 let s = n.length; 11035 for (let o = 0; o < n.length; o += 2) if (n[o] > r) { 11036 s = o; 11037 break; 11038 } 11039 Wd(n, s, r, i); 11040 } 11041 removeFromQueue(n, r) { 11042 let i = -1; 11043 for (let s = 0; s < n.length; s += 2) if (n[s + 1] === r) { 11044 i = s; 11045 break; 11046 } 11047 return i > -1 && Zd(n, i, 2), i; 11048 } 11049 scheduleTimer(n) { 11050 let r = () => { 11051 this.clearTimeout(), this.executingCallbacks = !0; 11052 let i = [...this.current], s = Date.now(); 11053 for (let l = 0; l < i.length; l += 2) { 11054 let u = i[l], a = i[l + 1]; 11055 if (u <= s) a(); 11056 else break; 11057 } 11058 let o = -1; 11059 for (let l = 0; l < this.current.length && this.current[l] <= s; l += 2) o = l + 1; 11060 if (o >= 0 && Zd(this.current, 0, o + 1), this.executingCallbacks = !1, this.deferred.length > 0) { 11061 for (let l = 0; l < this.deferred.length; l += 2) { 11062 let u = this.deferred[l], a = this.deferred[l + 1]; 11063 this.addToQueue(this.current, u, a); 11064 } 11065 this.deferred.length = 0; 11066 } 11067 this.scheduleTimer(n); 11068 }; 11069 if (this.current.length > 0) { 11070 let i = Date.now(), s = this.current[0]; 11071 if (this.timeoutId === null || this.invokeTimerAt && this.invokeTimerAt - s > 16) { 11072 this.clearTimeout(); 11073 let o = Math.max(s - i, 16); 11074 this.invokeTimerAt = s, this.timeoutId = n.runOutsideAngular(() => setTimeout(() => n.run(r), o)); 11075 } 11076 } 11077 } 11078 clearTimeout() { 11079 this.timeoutId !== null && (clearTimeout(this.timeoutId), this.timeoutId = null); 11080 } 11081 ngOnDestroy() { 11082 this.clearTimeout(), this.current.length = 0, this.deferred.length = 0; 11083 } 11084 static ɵprov = $({ 11085 token: e, 11086 providedIn: "root", 11087 factory: () => new e() 11088 }); 11089 } 11090 return e; 11091 })(), Nb = new k(""), Db = null, Rb = (() => { 11092 class e { 11093 log(n) { 11094 console.log(n); 11095 } 11096 warn(n) { 11097 console.warn(n); 11098 } 11099 static ɵfac = function(n) { 11100 return new (n || e)(); 11101 }; 11102 static ɵprov = $({ 11103 token: e, 11104 factory: e.ɵfac, 11105 providedIn: "platform" 11106 }); 11107 } 11108 return e; 11109 })(), Pc = new k(""), Fc = new k(""), Mb = new k("USE_PENDING_TASKS", { 11110 providedIn: "root", 11111 factory: () => typeof Zone > "u" 11112 }), jb = (() => { 11113 class e { 11114 _ngZone; 11115 registry; 11116 _isZoneStable = !0; 11117 _callbacks = []; 11118 _taskTrackingZone = null; 11119 _destroyRef; 11120 pendingTasksInternal = m($e); 11121 _usePendingTasks = m(Mb); 11122 constructor(n, r, i) { 11123 this._ngZone = n, this.registry = r, dl() && (this._destroyRef = m(Qe, { optional: !0 }) ?? void 0), Hc || (Ck(i), i.addToWindow(r)), this._watchAngularEvents(), n.run(() => { 11124 this._taskTrackingZone = typeof Zone > "u" ? null : Zone.current.get("TaskTrackingZone"); 11125 }); 11126 } 11127 _watchAngularEvents() { 11128 let n = this._ngZone.onUnstable.subscribe({ next: () => {
11129 this._isZoneStable = !1; 11130 } }), r, i; 11131 this._ngZone.runOutsideAngular(() => { 11132 this._usePendingTasks && (r = this.pendingTasksInternal.hasPendingTasksObservable.subscribe(() => { 11133 this.isStable() && this._ngZone.runOutsideAngular(() => { 11134 this._runCallbacksIfReady(); 11135 }); 11136 })), i = this._ngZone.onStable.subscribe({ next: () => { 11137 z.assertNotInAngularZone(), queueMicrotask(() => { 11138 this._isZoneStable = !0, this._runCallbacksIfReady(); 11139 }); 11140 } }); 11141 }), this._destroyRef?.onDestroy(() => { 11142 n.unsubscribe(), r?.unsubscribe(), i.unsubscribe(); 11143 }); 11144 } 11145 isStable() { 11146 return this._isZoneStable && !this._ngZone.hasPendingMacrotasks && (!this._usePendingTasks || !this.pendingTasksInternal.hasPendingTasks); 11147 } 11148 _runCallbacksIfReady() { 11149 if (this.isStable()) queueMicrotask(() => { 11150 for (; this._callbacks.length !== 0;) { 11151 let n = this._callbacks.pop(); 11152 clearTimeout(n.timeoutId), n.doneCb(); 11153 } 11154 }); 11155 else { 11156 let n = this.getPendingTasks(); 11157 this._callbacks = this._callbacks.filter((r) => r.updateCb && r.updateCb(n) ? (clearTimeout(r.timeoutId), !1) : !0); 11158 } 11159 } 11160 getPendingTasks() { 11161 return this._taskTrackingZone ? this._taskTrackingZone.macroTasks.map((n) => ({ 11162 source: n.source, 11163 creationLocation: n.creationLocation, 11164 data: n.data 11165 })) : []; 11166 } 11167 addCallback(n, r, i) { 11168 let s = -1; 11169 r && r > 0 && (s = setTimeout(() => { 11170 this._callbacks = this._callbacks.filter((o) => o.timeoutId !== s), n(); 11171 }, r)), this._callbacks.push({ 11172 doneCb: n, 11173 timeoutId: s, 11174 updateCb: i 11175 }); 11176 } 11177 whenStable(n, r, i) { 11178 if (i && !this._taskTrackingZone) throw new Error("Task tracking zone is required when passing an update callback to whenStable(). Is \"zone.js/plugins/task-tracking\" loaded?"); 11179 this.addCallback(n, r, i), this._runCallbacksIfReady(); 11180 } 11181 registerApplication(n) { 11182 this.registry.registerApplication(n, this); 11183 } 11184 unregisterApplication(n) { 11185 this.registry.unregisterApplication(n); 11186 } 11187 findProviders(n, r, i) { 11188 return []; 11189 } 11190 static ɵfac = function(n) { 11191 return new (n || e)(be(z), be(Lc), be(Fc)); 11192 }; 11193 static ɵprov = $({ 11194 token: e, 11195 factory: e.ɵfac 11196 }); 11197 } 11198 return e; 11199 })(), Lc = (() => { 11200 class e { 11201 _applications = /* @__PURE__ */ new Map(); 11202 registerApplication(n, r) { 11203 this._applications.set(n, r); 11204 } 11205 unregisterApplication(n) { 11206 this._applications.delete(n); 11207 } 11208 unregisterAllApplications() { 11209 this._applications.clear(); 11210 } 11211 getTestability(n) { 11212 return this._applications.get(n) || null; 11213 } 11214 getAllTestabilities() { 11215 return Array.from(this._applications.values()); 11216 } 11217 getAllRootElements() { 11218 return Array.from(this._applications.keys()); 11219 } 11220 findTestabilityInTree(n, r = !0) { 11221 return Hc?.findTestabilityInTree(this, n, r) ?? null; 11222 } 11223 static ɵfac = function(n) { 11224 return new (n || e)(); 11225 }; 11226 static ɵprov = $({ 11227 token: e, 11228 factory: e.ɵfac, 11229 providedIn: "platform" 11230 }); 11231 } 11232 return e; 11233 })(), tr = new k(""), Vb = 10, Oe = (() => { 11234 class e { 11235 _runningTick = !1; 11236 _destroyed = !1; 11237 _destroyListeners = []; 11238 _views = []; 11239 internalErrorHandler = m(Tt); 11240 afterRenderManager = m(io); 11241 zonelessEnabled = m(Bn); 11242 rootEffectScheduler = m(Da); 11243 dirtyFlags = 0; 11244 tracingSnapshot = null; 11245 allTestViews = /* @__PURE__ */ new Set(); 11246 autoDetectTestViews = /* @__PURE__ */ new Set(); 11247 includeAllTestViews = !1; 11248 afterTick = new X(); 11249 get allViews() { 11250 return [...(this.includeAllTestViews ? this.allTestViews : this.autoDetectTestViews).keys(), ...this._views]; 11251 } 11252 get destroyed() { 11253 return this._destroyed; 11254 } 11255 componentTypes = []; 11256 components = []; 11257 internalPendingTask = m($e); 11258 get isStable() { 11259 return this.internalPendingTask.hasPendingTasksObservable.pipe(Nt((n) => !n)); 11260 } 11261 constructor() { 11262 m(At, { optional: !0 }); 11263 } 11264 whenStable() { 11265 let n; 11266 return new Promise((r) => { 11267 n = this.isStable.subscribe({ next: (i) => { 11268 i && r(); 11269 } }); 11270 }).finally(() => { 11271 n.unsubscribe(); 11272 }); 11273 } 11274 _injector = m(Ve); 11275 _rendererFactory = null; 11276 get injector() { 11277 return this._injector; 11278 } 11279 bootstrap(n, r) { 11280 return this.bootstrapImpl(n, r); 11281 } 11282 bootstrapImpl(n, r, i = We.NULL) { 11283 return this._injector.get(z).run(() => { 11284 if (V(R.BootstrapComponentStart), !this._injector.get(Rc).done) throw new x(405, ""); 11285 let s = at(n), o = this._injector.get(dn), l = new ni(s, o); 11286 this.componentTypes.push(n); 11287 let { hostElement: u, directives: a, bindings: c } = Sk(r), f = u || l.selector, h = l.create(i, [], f, o.injector, a, c), d = h.location.nativeElement, p = h.injector.get(Pc, null); 11288 return p?.registerApplication(d), h.onDestroy(() => { 11289 this.detachView(h.hostView), fs(this.components, h), p?.unregisterApplication(d); 11290 }), this._loadComponent(h), V(R.BootstrapComponentEnd, h), h; 11291 }); 11292 } 11293 tick() { 11294 this.zonelessEnabled || (this.dirtyFlags |= 1), this._tick(); 11295 } 11296 _tick() { 11297 V(R.ChangeDetectionStart), this.tracingSnapshot !== null ? this.tracingSnapshot.run(ro.CHANGE_DETECTION, this.tickImpl) : this.tickImpl(); 11298 } 11299 tickImpl = () => { 11300 if (this._runningTick) throw V(R.ChangeDetectionEnd), new x(101, !1); 11301 let n = E(null); 11302 try { 11303 this._runningTick = !0, this.synchronize(); 11304 } finally { 11305 this._runningTick = !1, this.tracingSnapshot?.dispose(), this.tracingSnapshot = null, E(n), this.afterTick.next(), V(R.ChangeDetectionEnd); 11306 } 11307 }; 11308 synchronize() {
11309 this._rendererFactory === null && !this._injector.destroyed && (this._rendererFactory = this._injector.get(so, null, { optional: !0 })); 11310 let n = 0; 11311 for (; this.dirtyFlags !== 0 && n++ < Vb;) { 11312 V(R.ChangeDetectionSyncStart); 11313 try { 11314 this.synchronizeOnce(); 11315 } finally { 11316 V(R.ChangeDetectionSyncEnd); 11317 } 11318 } 11319 } 11320 synchronizeOnce() { 11321 this.dirtyFlags & 16 && (this.dirtyFlags &= -17, this.rootEffectScheduler.flush()); 11322 let n = !1; 11323 if (this.dirtyFlags & 7) { 11324 let r = !!(this.dirtyFlags & 1); 11325 this.dirtyFlags &= -8, this.dirtyFlags |= 8; 11326 for (let { _lView: i } of this.allViews) !r && !Ti(i) || (rg(i, r && !this.zonelessEnabled ? 0 : 1), n = !0); 11327 if (this.dirtyFlags &= -5, this.syncDirtyFlagsWithViews(), this.dirtyFlags & 23) return; 11328 } 11329 n || (this._rendererFactory?.begin?.(), this._rendererFactory?.end?.()), this.dirtyFlags & 8 && (this.dirtyFlags &= -9, this.afterRenderManager.execute()), this.syncDirtyFlagsWithViews(); 11330 } 11331 syncDirtyFlagsWithViews() { 11332 if (this.allViews.some(({ _lView: n }) => Ti(n))) { 11333 this.dirtyFlags |= 2; 11334 return; 11335 } else this.dirtyFlags &= -8; 11336 } 11337 attachView(n) { 11338 let r = n; 11339 this._views.push(r), r.attachToAppRef(this); 11340 } 11341 detachView(n) { 11342 let r = n; 11343 fs(this._views, r), r.detachFromAppRef(); 11344 } 11345 _loadComponent(n) { 11346 this.attachView(n.hostView); 11347 try { 11348 this.tick(); 11349 } catch (r) { 11350 this.internalErrorHandler(r); 11351 } 11352 this.components.push(n), this._injector.get(tr, []).forEach((r) => r(n)); 11353 } 11354 ngOnDestroy() { 11355 if (!this._destroyed) try { 11356 this._destroyListeners.forEach((n) => n()), this._views.slice().forEach((n) => n.destroy()); 11357 } finally { 11358 this._destroyed = !0, this._views = [], this._destroyListeners = []; 11359 } 11360 } 11361 onDestroy(n) { 11362 return this._destroyListeners.push(n), () => fs(this._destroyListeners, n); 11363 } 11364 destroy() { 11365 if (this._destroyed) throw new x(406, !1); 11366 let n = this._injector; 11367 n.destroy && !n.destroyed && n.destroy(); 11368 } 11369 get viewCount() { 11370 return this._views.length; 11371 } 11372 static ɵfac = function(n) { 11373 return new (n || e)(); 11374 }; 11375 static ɵprov = Lt({ 11376 token: e, 11377 factory: e.ɵfac 11378 }); 11379 } 11380 return e; 11381 })(), Pb = (() => { 11382 class e { 11383 buckets = /* @__PURE__ */ new Map(); 11384 callbackBucket = /* @__PURE__ */ new Map(); 11385 applicationRef = m(Oe); 11386 ngZone = m(z); 11387 idleService = m(y0); 11388 add(n, r) { 11389 let i = py(r); 11390 this.callbackBucket.set(n, i); 11391 let s = this.buckets.get(i); 11392 s ?? (s = { 11393 idleId: null, 11394 queue: /* @__PURE__ */ new Set() 11395 }, this.buckets.set(i, s)), s.queue.add(n), this.scheduleBucket(s, r); 11396 } 11397 remove(n) { 11398 let r = this.callbackBucket.get(n); 11399 if (r === void 0) return; 11400 this.callbackBucket.delete(n); 11401 let i = this.buckets.get(r); 11402 i && (i.queue.delete(n), i.queue.size === 0 && (this.cancelBucket(i), this.buckets.delete(r))); 11403 } 11404 scheduleBucket(n, r) { 11405 if (n.idleId !== null) return; 11406 let i = py(r), s = (o) => { 11407 for (let l of n.queue) if (l(), this.applicationRef._tick(), n.queue.delete(l), this.callbackBucket.delete(l), o && o.timeRemaining() === 0 && !o.didTimeout) break; 11408 n.idleId = null, n.queue.size > 0 ? this.scheduleBucket(n, r) : this.buckets.delete(i); 11409 }; 11410 n.idleId = this.idleService.requestOnIdle((o) => this.ngZone.run(() => s(o)), r); 11411 } 11412 cancelBucket(n) { 11413 n.idleId !== null && (this.idleService.cancelOnIdle(n.idleId), n.idleId = null); 11414 } 11415 ngOnDestroy() { 11416 for (let n of this.buckets.values()) this.cancelBucket(n); 11417 this.buckets.clear(), this.callbackBucket.clear(); 11418 } 11419 static ɵprov = $({ 11420 token: e, 11421 providedIn: "root", 11422 factory: () => new e() 11423 }); 11424 } 11425 return e; 11426 })(), Fb = class { 11427 destroy(e) {} 11428 updateValue(e, t) {} 11429 swap(e, t) { 11430 let n = Math.min(e, t), r = Math.max(e, t), i = this.detach(r); 11431 if (r - n > 1) { 11432 let s = this.detach(n); 11433 this.attach(n, i), this.attach(r, s); 11434 } else this.attach(n, i); 11435 } 11436 move(e, t) { 11437 this.attach(t, this.detach(e)); 11438 } 11439 }, qc = class { 11440 kvMap = /* @__PURE__ */ new Map(); 11441 _vMap = void 0; 11442 has(e) { 11443 return this.kvMap.has(e); 11444 } 11445 delete(e) { 11446 if (!this.has(e)) return !1; 11447 let t = this.kvMap.get(e); 11448 return this._vMap !== void 0 && this._vMap.has(t) ? (this.kvMap.set(e, this._vMap.get(t)), this._vMap.delete(t)) : this.kvMap.delete(e), !0; 11449 } 11450 get(e) { 11451 return this.kvMap.get(e); 11452 } 11453 set(e, t) { 11454 if (this.kvMap.has(e)) { 11455 let n = this.kvMap.get(e); 11456 this._vMap === void 0 && (this._vMap = /* @__PURE__ */ new Map()); 11457 let r = this._vMap; 11458 for (; r.has(n);) n = r.get(n); 11459 r.set(n, t); 11460 } else this.kvMap.set(e, t); 11461 }
11462 forEach(e) { 11463 for (let [t, n] of this.kvMap) if (e(n, t), this._vMap !== void 0) { 11464 let r = this._vMap; 11465 for (; r.has(n);) n = r.get(n), e(n, t); 11466 } 11467 } 11468 }, Lb = class { 11469 lContainer; 11470 $implicit; 11471 $index; 11472 constructor(e, t, n) { 11473 this.lContainer = e, this.$implicit = t, this.$index = n; 11474 } 11475 get $count() { 11476 return this.lContainer.length - B; 11477 } 11478 }, Hb = class { 11479 hasEmptyBlock; 11480 trackByFn; 11481 liveCollection; 11482 constructor(e, t, n) { 11483 this.hasEmptyBlock = e, this.trackByFn = t, this.liveCollection = n; 11484 } 11485 }, qb = class extends Fb { 11486 lContainer; 11487 hostLView; 11488 templateTNode; 11489 operationsCounter = void 0; 11490 needsIndexUpdate = !1; 11491 constructor(e, t, n) { 11492 super(), this.lContainer = e, this.hostLView = t, this.templateTNode = n; 11493 } 11494 get length() { 11495 return this.lContainer.length - B; 11496 } 11497 at(e) { 11498 return this.getLView(e)[W].$implicit; 11499 } 11500 attach(e, t) { 11501 let n = t[de]; 11502 this.needsIndexUpdate ||= e !== this.length, Dn(this.lContainer, t, e, Ut(this.templateTNode, n)), uS(this.lContainer, e); 11503 } 11504 detach(e) { 11505 return this.needsIndexUpdate ||= e !== this.length - 1, aS(this.lContainer, e), cS(this.lContainer, e); 11506 } 11507 create(e, t) { 11508 let n = Tr(this.lContainer, this.templateTNode.tView.ssrId); 11509 return Nn(this.hostLView, this.templateTNode, new Lb(this.lContainer, t, e), { dehydratedView: n }); 11510 } 11511 destroy(e) { 11512 Wi(e[v], e); 11513 } 11514 updateValue(e, t) { 11515 this.getLView(e)[W].$implicit = t; 11516 } 11517 reset() { 11518 this.needsIndexUpdate = !1; 11519 } 11520 updateIndexes() { 11521 if (this.needsIndexUpdate) for (let e = 0; e < this.length; e++) this.getLView(e)[W].$index = e; 11522 } 11523 getLView(e) { 11524 return fS(this.lContainer, e); 11525 } 11526 }, ao = (e, t, n, r, i) => (ft(!0), Ul(t[D], r, Il())), co = (e, t, n, r, i) => (ft(!0), hp(t[D], "")), nr = void 0, Bb = [ 11527 "en", 11528 [["a", "p"], ["AM", "PM"]], 11529 [["AM", "PM"]], 11530 [ 11531 [ 11532 "S", 11533 "M", 11534 "T", 11535 "W", 11536 "T", 11537 "F", 11538 "S" 11539 ], 11540 [ 11541 "Sun", 11542 "Mon", 11543 "Tue", 11544 "Wed", 11545 "Thu", 11546 "Fri", 11547 "Sat" 11548 ], 11549 [ 11550 "Sunday", 11551 "Monday", 11552 "Tuesday", 11553 "Wednesday", 11554 "Thursday", 11555 "Friday", 11556 "Saturday" 11557 ], 11558 [ 11559 "Su", 11560 "Mo", 11561 "Tu", 11562 "We", 11563 "Th", 11564 "Fr", 11565 "Sa" 11566 ] 11567 ], 11568 nr, 11569 [ 11570 [ 11571 "J", 11572 "F", 11573 "M", 11574 "A", 11575 "M", 11576 "J", 11577 "J", 11578 "A", 11579 "S", 11580 "O", 11581 "N", 11582 "D" 11583 ], 11584 [ 11585 "Jan", 11586 "Feb", 11587 "Mar", 11588 "Apr", 11589 "May", 11590 "Jun", 11591 "Jul", 11592 "Aug", 11593 "Sep", 11594 "Oct", 11595 "Nov", 11596 "Dec" 11597 ], 11598 [ 11599 "January", 11600 "February", 11601 "March", 11602 "April", 11603 "May", 11604 "June", 11605 "July", 11606 "August", 11607 "September", 11608 "October", 11609 "November", 11610 "December" 11611 ] 11612 ], 11613 nr, 11614 [ 11615 ["B", "A"], 11616 ["BC", "AD"], 11617 ["Before Christ", "Anno Domini"] 11618 ], 11619 0, 11620 [6, 0], 11621 [ 11622 "M/d/yy", 11623 "MMM d, y", 11624 "MMMM d, y", 11625 "EEEE, MMMM d, y" 11626 ], 11627 [ 11628 "h:mmâ¯a", 11629 "h:mm:ssâ¯a", 11630 "h:mm:ssâ¯a z", 11631 "h:mm:ssâ¯a zzzz" 11632 ], 11633 [ 11634 "{1}, {0}", 11635 nr, 11636 nr, 11637 nr 11638 ], 11639 [ 11640 ".", 11641 ",", 11642 ";", 11643 "%", 11644 "+", 11645 "-", 11646 "E", 11647 "Ã", 11648 "â°", 11649 "â", 11650 "NaN", 11651 ":" 11652 ], 11653 [ 11654 "#,##0.###", 11655 "#,##0%", 11656 "¤#,##0.00", 11657 "#E0" 11658 ], 11659 "USD", 11660 "$", 11661 "US Dollar", 11662 {}, 11663 "ltr", 11664 mS 11665 ], fo = Object.create(null), Bc = { 11666 LocaleId: 0, 11667 DayPeriodsFormat: 1, 11668 DayPeriodsStandalone: 2, 11669 DaysFormat: 3, 11670 DaysStandalone: 4, 11671 MonthsFormat: 5, 11672 MonthsStandalone: 6, 11673 Eras: 7, 11674 FirstDayOfWeek: 8, 11675 WeekendRange: 9, 11676 DateFormat: 10, 11677 TimeFormat: 11, 11678 DateTimeFormat: 12, 11679 NumberSymbols: 13, 11680 NumberFormats: 14, 11681 CurrencyCode: 15, 11682 CurrencySymbol: 16, 11683 CurrencyName: 17, 11684 Currencies: 18, 11685 Directionality: 19, 11686 PluralCase: 20, 11687 ExtraData: 21 11688 }, ho = "en-US", Ub = "USD", K = { 11689 textEnd: 0, 11690 key: 0, 11691 keyEnd: 0, 11692 value: 0, 11693 valueEnd: 0 11694 }, Uc = (e, t, n, r) => (ft(!0), dp(t[D], r)), zc = {}, Zc = () => null, Wc = () => {}, Qc = !1, po = new k(""), zb = (() => { 11695 class e { 11696 applicationErrorHandler = m(Tt); 11697 appRef = m(Oe); 11698 taskService = m($e); 11699 ngZone = m(z); 11700 zonelessEnabled = m(Bn); 11701 tracing = m(At, { optional: !0 });
11702 zoneIsDefined = typeof Zone < "u" && !!Zone.root.run; 11703 schedulerTickApplyArgs = [{ data: { __scheduler_tick__: !0 } }]; 11704 subscriptions = new se(); 11705 angularZoneId = this.zoneIsDefined ? this.ngZone._inner?.get(Qr) : null; 11706 scheduleInRootZone = !this.zonelessEnabled && this.zoneIsDefined && (m(Na, { optional: !0 }) ?? !1); 11707 cancelScheduledCallback = null; 11708 useMicrotaskScheduler = !1; 11709 runningTick = !1; 11710 pendingRenderTaskId = null; 11711 constructor() { 11712 this.subscriptions.add(this.appRef.afterTick.subscribe(() => { 11713 let n = this.taskService.add(); 11714 if (!this.runningTick && (this.cleanup(), !this.zonelessEnabled || this.appRef.includeAllTestViews)) { 11715 this.taskService.remove(n); 11716 return; 11717 } 11718 this.switchToMicrotaskScheduler(), this.taskService.remove(n); 11719 })), this.subscriptions.add(this.ngZone.onUnstable.subscribe(() => { 11720 this.runningTick || this.cleanup(); 11721 })); 11722 } 11723 switchToMicrotaskScheduler() { 11724 this.ngZone.runOutsideAngular(() => { 11725 let n = this.taskService.add(); 11726 this.useMicrotaskScheduler = !0, queueMicrotask(() => { 11727 this.useMicrotaskScheduler = !1, this.taskService.remove(n); 11728 }); 11729 }); 11730 } 11731 notify(n) { 11732 if (!this.zonelessEnabled && n === 5) return; 11733 switch (n) { 11734 case 0: 11735 case 2: 11736 this.appRef.dirtyFlags |= 2; 11737 break; 11738 case 3: 11739 case 4: 11740 case 5: 11741 case 1: 11742 this.appRef.dirtyFlags |= 4; 11743 break; 11744 case 6: 11745 this.appRef.dirtyFlags |= 2; 11746 break; 11747 case 12: 11748 this.appRef.dirtyFlags |= 16; 11749 break; 11750 case 13: 11751 this.appRef.dirtyFlags |= 2; 11752 break; 11753 case 11: break; 11754 default: this.appRef.dirtyFlags |= 8; 11755 } 11756 if (this.appRef.tracingSnapshot = this.tracing?.snapshot(this.appRef.tracingSnapshot) ?? null, !this.shouldScheduleTick()) return; 11757 let r = this.useMicrotaskScheduler ? qE : vh; 11758 this.pendingRenderTaskId = this.taskService.add(), this.scheduleInRootZone ? this.cancelScheduledCallback = Zone.root.run(() => r(() => this.tick())) : this.cancelScheduledCallback = this.ngZone.runOutsideAngular(() => r(() => this.tick())); 11759 } 11760 shouldScheduleTick() { 11761 return !(this.appRef.destroyed || this.pendingRenderTaskId !== null || this.runningTick || this.appRef._runningTick || !this.zonelessEnabled && this.zoneIsDefined && Zone.current.get(Qr + this.angularZoneId)); 11762 } 11763 tick() { 11764 if (this.runningTick || this.appRef.destroyed) return; 11765 if (this.appRef.dirtyFlags === 0) { 11766 this.cleanup(); 11767 return; 11768 } 11769 !this.zonelessEnabled && this.appRef.dirtyFlags & 7 && (this.appRef.dirtyFlags |= 1); 11770 let n = this.taskService.add(); 11771 try { 11772 this.ngZone.run(() => { 11773 this.runningTick = !0, this.appRef._tick(); 11774 }, void 0, this.schedulerTickApplyArgs); 11775 } catch (r) { 11776 this.applicationErrorHandler(r); 11777 } finally { 11778 this.taskService.remove(n), this.cleanup(); 11779 } 11780 } 11781 ngOnDestroy() { 11782 this.subscriptions.unsubscribe(), this.cleanup(); 11783 } 11784 cleanup() { 11785 if (this.runningTick = !1, this.cancelScheduledCallback?.(), this.cancelScheduledCallback = null, this.pendingRenderTaskId !== null) { 11786 let n = this.pendingRenderTaskId; 11787 this.pendingRenderTaskId = null, this.taskService.remove(n); 11788 } 11789 } 11790 static ɵfac = function(n) { 11791 return new (n || e)(); 11792 }; 11793 static ɵprov = Lt({ 11794 token: e, 11795 factory: e.ɵfac 11796 }); 11797 } 11798 return e; 11799 })(), Zb = (() => { 11800 class e { 11801 compileModuleSync(n) { 11802 return new wb(n); 11803 } 11804 compileModuleAsync(n) { 11805 return Promise.resolve(this.compileModuleSync(n)); 11806 } 11807 clearCache() {} 11808 clearCacheFor(n) {} 11809 getModuleId(n) {} 11810 static ɵfac = function(n) { 11811 return new (n || e)(); 11812 }; 11813 static ɵprov = Lt({ 11814 token: e, 11815 factory: e.ɵfac 11816 }); 11817 } 11818 return e; 11819 })(), go = new k("", { factory: () => m(go, { 11820 optional: !0, 11821 skipSelf: !0 11822 }) || LO() }), Wb = new k("", { factory: () => Ub }), yo = class { 11823 destroyed = !1; 11824 listeners = null; 11825 errorHandler = m(qn, { optional: !0 }); 11826 isEmitting = !1; 11827 hasNullListeners = !1; 11828 destroyRef = m(Qe); 11829 constructor() { 11830 this.destroyRef.onDestroy(() => { 11831 this.destroyed = !0, this.listeners = null; 11832 }); 11833 } 11834 subscribe(e) { 11835 if (this.destroyed) throw new x(953, !1); 11836 return (this.listeners ??= []).push(e), { unsubscribe: () => { 11837 let t = this.listeners ? this.listeners.indexOf(e) : -1; 11838 t > -1 && (this.isEmitting ? (this.hasNullListeners = !0, this.listeners[t] = null) : this.listeners.splice(t, 1)); 11839 } }; 11840 } 11841 emit(e) { 11842 if (this.destroyed) { 11843 console.warn(Jo(953, !1)); 11844 return; 11845 } 11846 if (this.listeners === null) return; 11847 this.isEmitting = !0; 11848 let t = E(null);
11849 try { 11850 for (let n of this.listeners) try { 11851 n !== null && n(e); 11852 } catch (r) { 11853 this.errorHandler?.handleError(r); 11854 } 11855 } finally { 11856 this.hasNullListeners && (this.hasNullListeners = !1, this.listeners && HO(this.listeners)), E(t), this.isEmitting = !1; 11857 } 11858 } 11859 }, $c = new k(""), Qb = class extends Error { 11860 dependency; 11861 constructor(e) { 11862 super("Dependency error", { cause: e.error() }), this.name = "ResourceDependencyError", this.dependency = e; 11863 } 11864 }, si = class df extends Error { 11865 _brand; 11866 constructor(t) { 11867 super(t); 11868 } 11869 static IDLE = new df("IDLE"); 11870 static LOADING = new df("LOADING"); 11871 }, $b = (e) => e, Gb = class { 11872 value; 11873 isLoading; 11874 constructor(e, t) { 11875 this.value = e, this.value.set = this.set.bind(this), this.value.update = this.update.bind(this), this.value.asReadonly = Oi, this.isLoading = gt(() => this.status() === "loading" || this.status() === "reloading", void 0); 11876 } 11877 isError = gt(() => this.status() === "error"); 11878 update(e) { 11879 this.set(e(ge(this.value))); 11880 } 11881 isValueDefined = gt(() => this.isError() ? !1 : this.value() !== void 0); 11882 _snapshot; 11883 get snapshot() { 11884 return this._snapshot ??= gt(() => { 11885 let e = this.status(); 11886 return e === "error" ? { 11887 status: "error", 11888 error: this.error() 11889 } : { 11890 status: e, 11891 value: this.value() 11892 }; 11893 }); 11894 } 11895 hasValue() { 11896 return this.isValueDefined(); 11897 } 11898 asReadonly() { 11899 return this; 11900 } 11901 }, Kb = class extends Gb { 11902 loaderFn; 11903 equal; 11904 debugName; 11905 transferCacheKey; 11906 pendingTasks; 11907 state; 11908 extRequest; 11909 effectRef; 11910 pendingController; 11911 resolvePendingTask = void 0; 11912 destroyed = !1; 11913 unregisterOnDestroy; 11914 status; 11915 error; 11916 transferState; 11917 constructor(e, t, n, r, i, s, o, l) { 11918 if (Sm()) throw $O(); 11919 super(gt(() => { 11920 let a = this.state().stream?.(); 11921 if (!a || this.state().status === "loading" && this.error()) return n; 11922 if (!$u(a)) throw new Jb(this.error()); 11923 return a.value; 11924 }, { equal: r }), i), this.loaderFn = t, this.equal = r, this.debugName = i, this.transferCacheKey = o; 11925 let u = s.get($c, void 0, { optional: !0 }) ?? { isActive: !1 }; 11926 this.transferState = s.get(un, void 0, { optional: !0 }) ?? void 0, this.extRequest = Qu(() => { 11927 try { 11928 return Gu(!0), { 11929 request: e(Xb), 11930 reload: 0 11931 }; 11932 } catch (a) { 11933 return Om(a), a === si.IDLE ? { 11934 status: "idle", 11935 reload: 0 11936 } : a === si.LOADING ? { 11937 status: "loading", 11938 reload: 0 11939 } : { 11940 error: a, 11941 reload: 0 11942 }; 11943 } finally { 11944 Gu(!1); 11945 } 11946 }, void 0), this.state = Qu({ 11947 source: this.extRequest, 11948 computation: (a, c) => { 11949 let { request: f, status: h, error: d } = a, p; 11950 if (d) h = "resolved", p = dt({ error: _s(d) }, void 0); 11951 else if (!h) if (c) h = f === void 0 ? "idle" : "loading", c.value.extRequest.request === f && (p = c.value.stream); 11952 else { 11953 let y = this.transferState, _ = this.transferCacheKey; 11954 u.isActive && _ && y && f !== void 0 && y.hasKey(_) && (p = dt({ value: y.get(_, n) }, void 0)), p || (p = l?.(a.request)), l = void 0, h = f === void 0 ? "idle" : p ? "resolved" : "loading"; 11955 } 11956 return { 11957 extRequest: a, 11958 status: h, 11959 previousStatus: c ? km(c.value) : "idle", 11960 stream: p 11961 }; 11962 } 11963 }), this.effectRef = Eh(this.loadEffect.bind(this), { 11964 injector: s, 11965 manualCleanup: !0 11966 }), this.pendingTasks = s.get(Ws), this.unregisterOnDestroy = s.get(Qe).onDestroy(() => this.destroy()), this.status = gt(() => km(this.state()), void 0), this.error = gt(() => { 11967 let a = this.state().stream?.(); 11968 return a && !$u(a) ? a.error : void 0; 11969 }, void 0); 11970 } 11971 set(e) { 11972 if (this.destroyed) return; 11973 let t = ge(this.error), n = ge(this.state); 11974 if (!t) { 11975 let r = ge(this.value); 11976 if (n.status === "local" && (this.equal ? this.equal(r, e) : r === e)) return; 11977 } 11978 this.state.set({ 11979 extRequest: n.extRequest, 11980 status: "local", 11981 previousStatus: "local", 11982 stream: dt({ value: e }, void 0) 11983 }), this.abortInProgressLoad(); 11984 } 11985 reload() { 11986 let { status: e } = ge(this.state);
11987 return e === "idle" || e === "loading" ? !1 : (this.extRequest.update(({ request: t, reload: n }) => ({ 11988 request: t, 11989 reload: n + 1 11990 })), !0); 11991 } 11992 destroy() { 11993 this.destroyed = !0, this.unregisterOnDestroy(), this.effectRef.destroy(), this.abortInProgressLoad(), this.state.set({ 11994 extRequest: { 11995 request: void 0, 11996 reload: 0 11997 }, 11998 status: "idle", 11999 previousStatus: "idle", 12000 stream: void 0 12001 }); 12002 } 12003 loadEffect() { 12004 return pn(this, null, function* () { 12005 let e = this.extRequest(), { status: t, previousStatus: n } = ge(this.state); 12006 if (e.request === void 0 || t !== "loading") return; 12007 this.abortInProgressLoad(); 12008 let r = this.resolvePendingTask = this.pendingTasks.add(), { signal: i } = this.pendingController = new AbortController(); 12009 try { 12010 let s = ge(() => this.loaderFn({ 12011 params: e.request, 12012 abortSignal: i, 12013 previous: { status: n } 12014 })), o = () => i.aborted || ge(this.extRequest) !== e; 12015 if (Sl(s)) { 12016 if (o()) return; 12017 this.state.set({ 12018 extRequest: e, 12019 status: "resolved", 12020 previousStatus: "resolved", 12021 stream: s 12022 }), ge(s); 12023 } else { 12024 let l = yield s; 12025 if (o()) return; 12026 this.state.set({ 12027 extRequest: e, 12028 status: "resolved", 12029 previousStatus: "resolved", 12030 stream: l 12031 }), l && ge(l); 12032 } 12033 } catch (s) { 12034 if (Om(s), i.aborted || ge(this.extRequest) !== e) return; 12035 this.state.set({ 12036 extRequest: e, 12037 status: "resolved", 12038 previousStatus: "error", 12039 stream: dt({ error: _s(s) }, void 0) 12040 }); 12041 } finally { 12042 r?.(), r = void 0; 12043 } 12044 }); 12045 } 12046 abortInProgressLoad() { 12047 ge(() => this.pendingController?.abort()), this.pendingController = void 0, this.resolvePendingTask?.(), this.resolvePendingTask = void 0; 12048 } 12049 }, Jb = class extends Error { 12050 constructor(e) { 12051 super(e.message, { cause: e }); 12052 } 12053 }, Yb = class extends Error { 12054 constructor(e) { 12055 super(String(e), { cause: e }); 12056 } 12057 }, Xb = { chain: QO }, Gc = !1, mo = { 12058 JSACTION: "__jsaction", 12059 OWNER: "__owner" 12060 }, Kc = {}, w = { 12061 CLICK: "click", 12062 CLICKMOD: "clickmod", 12063 DBLCLICK: "dblclick", 12064 FOCUS: "focus", 12065 FOCUSIN: "focusin", 12066 BLUR: "blur", 12067 FOCUSOUT: "focusout", 12068 SUBMIT: "submit", 12069 KEYDOWN: "keydown", 12070 KEYPRESS: "keypress", 12071 KEYUP: "keyup", 12072 MOUSEOVER: "mouseover", 12073 MOUSEOUT: "mouseout", 12074 MOUSEENTER: "mouseenter", 12075 MOUSELEAVE: "mouseleave", 12076 POINTEROVER: "pointerover", 12077 POINTEROUT: "pointerout", 12078 POINTERENTER: "pointerenter", 12079 POINTERLEAVE: "pointerleave", 12080 ERROR: "error", 12081 LOAD: "load", 12082 TOUCHSTART: "touchstart", 12083 TOUCHEND: "touchend", 12084 TOUCHMOVE: "touchmove", 12085 TOGGLE: "toggle" 12086 }, e_ = [ 12087 w.MOUSEENTER, 12088 w.MOUSELEAVE, 12089 "pointerenter", 12090 "pointerleave" 12091 ], w.CLICK, w.DBLCLICK, w.FOCUSIN, w.FOCUSOUT, w.KEYDOWN, w.KEYUP, w.KEYPRESS, w.MOUSEOVER, w.MOUSEOUT, w.SUBMIT, w.TOUCHSTART, w.TOUCHEND, w.TOUCHMOVE, t_ = [ 12092 w.FOCUS, 12093 w.BLUR, 12094 w.ERROR, 12095 w.LOAD, 12096 w.TOGGLE 12097 ], Jc = (e) => t_.indexOf(e) >= 0, Yc = typeof navigator < "u" && /Macintosh/.test(navigator.userAgent), n_ = class { 12098 element; 12099 handlerInfos = []; 12100 constructor(e) { 12101 this.element = e; 12102 } 12103 addEventListener(e, t, n) { 12104 this.handlerInfos.push(XO(this.element, e, t(this.element), n)); 12105 } 12106 cleanUp() { 12107 for (let e = 0; e < this.handlerInfos.length; e++) eA(this.element, this.handlerInfos[e]); 12108 this.handlerInfos = []; 12109 } 12110 }, r_ = { EVENT_ACTION_SEPARATOR: ":" }, i_ = class $_ { 12111 eventInfo; 12112 constructor(t) { 12113 this.eventInfo = t; 12114 } 12115 getEventType() { 12116 return yt(this.eventInfo); 12117 } 12118 setEventType(t) { 12119 Ku(this.eventInfo, t); 12120 } 12121 getEvent() { 12122 return ws(this.eventInfo); 12123 } 12124 setEvent(t) { 12125 Nm(this.eventInfo, t); 12126 } 12127 getTargetElement() { 12128 return Dm(this.eventInfo); 12129 } 12130 setTargetElement(t) { 12131 Rm(this.eventInfo, t); 12132 } 12133 getContainer() { 12134 return Mm(this.eventInfo); 12135 } 12136 setContainer(t) { 12137 oA(this.eventInfo, t); 12138 } 12139 getTimestamp() { 12140 return lA(this.eventInfo); 12141 } 12142 setTimestamp(t) { 12143 uA(this.eventInfo, t); 12144 } 12145 getAction() { 12146 let t = Es(this.eventInfo); 12147 if (t) return { 12148 name: t[0], 12149 element: t[1] 12150 }; 12151 } 12152 setAction(t) { 12153 if (!t) { 12154 Ju(this.eventInfo); 12155 return; 12156 } 12157 jm(this.eventInfo, t.name, t.element); 12158 } 12159 getIsReplay() { 12160 return aA(this.eventInfo); 12161 } 12162 setIsReplay(t) { 12163 Vm(this.eventInfo, t); 12164 } 12165 getResolved() { 12166 return Pm(this.eventInfo); 12167 } 12168 setResolved(t) { 12169 Fm(this.eventInfo, t); 12170 } 12171 clone() { 12172 return new $_(Lm(this.eventInfo)); 12173 } 12174 }, s_ = {}, o_ = /\s*;\s*/, l_ = w.CLICK, u_ = class { 12175 a11yClickSupport = !1; 12176 clickModSupport = !0; 12177 syntheticMouseEventSupport; 12178 updateEventInfoForA11yClick = void 0; 12179 preventDefaultForA11yClick = void 0; 12180 populateClickOnlyAction = void 0; 12181 constructor({ syntheticMouseEventSupport: e = !1, clickModSupport: t = !0 } = {}) { 12182 this.syntheticMouseEventSupport = e, this.clickModSupport = t; 12183 } 12184 resolveEventType(e) { 12185 this.clickModSupport && yt(e) === w.CLICK && rA(ws(e)) ? Ku(e, w.CLICKMOD) : this.a11yClickSupport && this.updateEventInfoForA11yClick(e); 12186 } 12187 resolveAction(e) { 12188 Pm(e) || (this.populateAction(e, Dm(e)), Fm(e, !0)); 12189 } 12190 resolveParentAction(e) { 12191 let t = Es(e), n = t && Is(t); 12192 Ju(e); 12193 let r = n && this.getParentNode(n); 12194 r && this.populateAction(e, r); 12195 } 12196 populateAction(e, t) { 12197 let n = t; 12198 for (; n && n !== Mm(e) && (n.nodeType === Node.ELEMENT_NODE && this.populateActionOnElement(n, e), !Es(e));) n = this.getParentNode(n); 12199 let r = Es(e); 12200 r && (this.a11yClickSupport && this.preventDefaultForA11yClick(e), this.syntheticMouseEventSupport && (yt(e) === w.MOUSEENTER || yt(e) === w.MOUSELEAVE || yt(e) === w.POINTERENTER || yt(e) === w.POINTERLEAVE)) && (iA(ws(e), yt(e), Is(r)) ? (Nm(e, sA(ws(e), Is(r))), Rm(e, Is(r))) : Ju(e)); 12201 } 12202 getParentNode(e) { 12203 let t = e[mo.OWNER]; 12204 if (t) return t; 12205 let n = e.parentNode; 12206 return n?.nodeName === "#document-fragment" ? n?.host ?? null : n; 12207 } 12208 populateActionOnElement(e, t) { 12209 let n = this.parseActions(e), r = n[yt(t)]; 12210 r !== void 0 && jm(t, r, e), this.a11yClickSupport && this.populateClickOnlyAction(e, t, n); 12211 } 12212 parseActions(e) { 12213 let t = GO(e); 12214 if (!t) { 12215 let n = e.getAttribute(Ma.JSACTION); 12216 if (!n) t = s_, Am(e, t); 12217 else { 12218 if (t = KO(n), !t) { 12219 t = {}; 12220 let r = n.split(o_); 12221 for (let i = 0; i < r.length; i++) { 12222 let s = r[i]; 12223 if (!s) continue; 12224 let o = s.indexOf(r_.EVENT_ACTION_SEPARATOR), l = o !== -1, u = l ? s.substr(0, o).trim() : l_, a = l ? s.substr(o + 1).trim() : s; 12225 t[u] = a; 12226 } 12227 JO(n, t); 12228 } 12229 Am(e, t); 12230 } 12231 } 12232 return t; 12233 } 12234 addA11yClickSupport(e, t, n) { 12235 this.a11yClickSupport = !0, this.updateEventInfoForA11yClick = e, this.preventDefaultForA11yClick = t, this.populateClickOnlyAction = n; 12236 } 12237 }, Xc = (function(e) { 12238 return e[e.I_AM_THE_JSACTION_FRAMEWORK = 0] = "I_AM_THE_JSACTION_FRAMEWORK", e; 12239 })(Xc || {}), a_ = class { 12240 dispatchDelegate; 12241 actionResolver; 12242 eventReplayer; 12243 eventReplayScheduled = !1; 12244 replayEventInfoWrappers = []; 12245 constructor(e, { actionResolver: t, eventReplayer: n } = {}) { 12246 this.dispatchDelegate = e, this.actionResolver = t, this.eventReplayer = n; 12247 } 12248 dispatch(e) { 12249 let t = new i_(e); 12250 this.actionResolver?.resolveEventType(e), this.actionResolver?.resolveAction(e); 12251 let n = t.getAction(); 12252 if (n && fA(n.element, t) && tA(t.getEvent()), this.eventReplayer && t.getIsReplay()) { 12253 this.scheduleEventInfoWrapperReplay(t); 12254 return; 12255 } 12256 this.dispatchDelegate(t); 12257 } 12258 scheduleEventInfoWrapperReplay(e) { 12259 this.replayEventInfoWrappers.push(e), !this.eventReplayScheduled && (this.eventReplayScheduled = !0, Promise.resolve().then(() => { 12260 this.eventReplayScheduled = !1, this.eventReplayer(this.replayEventInfoWrappers); 12261 })); 12262 } 12263 }, ef = Symbol.for("propagationStopped"), tf = { REPLAY: 101 }, c_ = "`preventDefault` called during event replay.", f_ = "`composedPath` called during event replay.", d_ = class { 12264 dispatchDelegate; 12265 clickModSupport; 12266 actionResolver; 12267 dispatcher; 12268 constructor(e, t = !0) { 12269 this.dispatchDelegate = e, this.clickModSupport = t, this.actionResolver = new u_({ clickModSupport: t }), this.dispatcher = new a_((n) => { 12270 this.dispatchToDelegate(n); 12271 }, { actionResolver: this.actionResolver }); 12272 } 12273 dispatch(e) { 12274 this.dispatcher.dispatch(e); 12275 } 12276 dispatchToDelegate(e) { 12277 for (e.getIsReplay() && pA(e), dA(e); e.getAction();) { 12278 if (gA(e), Jc(e.getEventType()) && e.getAction().element !== e.getTargetElement() || (this.dispatchDelegate(e.getEvent(), e.getAction().name), hA(e))) return; 12279 this.actionResolver.resolveParentAction(e.eventInfo); 12280 } 12281 } 12282 }, h_ = !1, p_ = (() => { 12283 class e { 12284 static MOUSE_SPECIAL_SUPPORT = h_; 12285 containerManager; 12286 eventHandlers = {}; 12287 browserEventTypeToExtraEventTypes = {}; 12288 dispatcher = null; 12289 queuedEventInfos = []; 12290 constructor(n) { 12291 this.containerManager = n; 12292 } 12293 handleEvent(n, r, i) { 12294 let s = cA(n, r, r.target, i, Date.now()); 12295 this.handleEventInfo(s); 12296 } 12297 handleEventInfo(n) { 12298 if (!this.dispatcher) { 12299 Vm(n, !0), this.queuedEventInfos?.push(n); 12300 return; 12301 } 12302 this.dispatcher(n); 12303 } 12304 addEvent(n, r, i) { 12305 if (n in this.eventHandlers || !this.containerManager || !e.MOUSE_SPECIAL_SUPPORT && e_.indexOf(n) >= 0) return; 12306 let s = (l, u, a) => { 12307 this.handleEvent(l, u, a); 12308 }; 12309 this.eventHandlers[n] = s; 12310 let o = YO(r || n); 12311 if (o !== n) { 12312 let l = this.browserEventTypeToExtraEventTypes[o] || []; 12313 l.push(n), this.browserEventTypeToExtraEventTypes[o] = l; 12314 } 12315 this.containerManager.addEventListener(o, (l) => (u) => { 12316 s(n, u, l); 12317 }, i); 12318 } 12319 replayEarlyEvents(n = window._ejsa) { 12320 n && (this.replayEarlyEventInfos(n.q), vA(n), delete window._ejsa); 12321 } 12322 replayEarlyEventInfos(n) { 12323 for (let r = 0; r < n.length; r++) { 12324 let i = n[r], s = this.getEventTypesForBrowserEventType(i.eventType); 12325 for (let o = 0; o < s.length; o++) { 12326 let l = Lm(i); 12327 Ku(l, s[o]), this.handleEventInfo(l); 12328 } 12329 } 12330 } 12331 getEventTypesForBrowserEventType(n) { 12332 let r = []; 12333 return this.eventHandlers[n] && r.push(n), this.browserEventTypeToExtraEventTypes[n] && r.push(...this.browserEventTypeToExtraEventTypes[n]), r; 12334 } 12335 handler(n) { 12336 return this.eventHandlers[n]; 12337 } 12338 cleanUp() { 12339 this.containerManager?.cleanUp(), this.containerManager = null, this.eventHandlers = {}, this.browserEventTypeToExtraEventTypes = {}, this.dispatcher = null, this.queuedEventInfos = []; 12340 } 12341 registerDispatcher(n, r) { 12342 this.ecrd(n, r); 12343 } 12344 ecrd(n, r) { 12345 if (this.dispatcher = n, this.queuedEventInfos?.length) { 12346 for (let i = 0; i < this.queuedEventInfos.length; i++) this.handleEventInfo(this.queuedEventInfos[i]); 12347 this.queuedEventInfos = null; 12348 } 12349 } 12350 } 12351 return e; 12352 })(), oi = Symbol("InputSignalNode#UNSET"), nf = ye(me({}, Ms), { 12353 transformFn: void 0, 12354 applyValueToInputSignal(e, t) { 12355 ar(e, t); 12356 } 12357 }), g_ = class { 12358 attributeName; 12359 constructor(e) { 12360 this.attributeName = e; 12361 } 12362 __NG_ELEMENT_ID__ = () => Bh(this.attributeName); 12363 toString() { 12364 return `HostAttributeToken ${this.attributeName}`; 12365 } 12366 }, y_ = (() => { 12367 let e = new k(""); 12368 return e.__NG_ELEMENT_ID__ = (t) => { 12369 let n = F(); 12370 if (n === null) throw new x(-204, !1); 12371 if (n.type & 2) return n.value; 12372 if (t & 8) return null; 12373 throw new x(-204, !1); 12374 }, e; 12375 })(), m_ = (Um.required = IA, Um), v_ = (Wm.required = TA, Wm), b_ = (Qm.required = xA, Qm), __ = ($m.required = kA, $m), w_ = (() => { 12376 class e { 12377 constructor(n) {} 12378 static ɵfac = function(n) { 12379 return new (n || e)(be(Oe)); 12380 }; 12381 static ɵmod = Qg({ type: e }); 12382 static ɵinj = Pd({}); 12383 } 12384 return e; 12385 })(), E_ = new k("", { 12386 providedIn: "platform", 12387 factory: () => null 12388 }), li = /* @__PURE__ */ new WeakSet(), rf = "", I_ = (e, t) => { 12389 let n = t.get(xt), r = window._ejsas[n], i = e.instance = new p_(new n_(r.c)
12389); 12390 for (let o of r.et) i.addEvent(o); 12391 for (let o of r.etc) i.addEvent(o); 12392 let s = bA(n); 12393 i.replayEarlyEventInfos(s), qm(n), yA(i, new d_((o) => { 12394 OA(t, o, o.currentTarget); 12395 })); 12396 }, sf = !1, T_ = 1e4, T_ - 1e3, x_ = class { 12397 supports(e) { 12398 return yg(e); 12399 } 12400 create(e) { 12401 return new k_(e); 12402 } 12403 }, C_ = (e, t) => t, k_ = class { 12404 length = 0; 12405 collection; 12406 _linkedRecords = null; 12407 _unlinkedRecords = null; 12408 _previousItHead = null; 12409 _itHead = null; 12410 _itTail = null; 12411 _additionsHead = null; 12412 _additionsTail = null; 12413 _movesHead = null; 12414 _movesTail = null; 12415 _removalsHead = null; 12416 _removalsTail = null; 12417 _identityChangesHead = null; 12418 _identityChangesTail = null; 12419 _trackByFn; 12420 constructor(e) { 12421 this._trackByFn = e || C_; 12422 } 12423 forEachItem(e) { 12424 let t; 12425 for (t = this._itHead; t !== null; t = t._next) e(t); 12426 } 12427 forEachOperation(e) { 12428 let t = this._itHead, n = this._removalsHead, r = 0, i = null; 12429 for (; t || n;) { 12430 let s = !n || t && t.currentIndex < Jm(n, r, i) ? t : n, o = Jm(s, r, i), l = s.currentIndex; 12431 if (s === n) r--, n = n._nextRemoved; 12432 else if (t = t._next, s.previousIndex == null) r++; 12433 else { 12434 i || (i = []); 12435 let u = o - r, a = l - r; 12436 if (u != a) { 12437 for (let f = 0; f < u; f++) { 12438 let h = f < i.length ? i[f] : i[f] = 0, d = h + f; 12439 a <= d && d < u && (i[f] = h + 1); 12440 } 12441 let c = s.previousIndex; 12442 i[c] = a - u; 12443 } 12444 } 12445 o !== l && e(s, o, l); 12446 } 12447 } 12448 forEachPreviousItem(e) { 12449 let t; 12450 for (t = this._previousItHead; t !== null; t = t._nextPrevious) e(t); 12451 } 12452 forEachAddedItem(e) { 12453 let t; 12454 for (t = this._additionsHead; t !== null; t = t._nextAdded) e(t); 12455 } 12456 forEachMovedItem(e) { 12457 let t; 12458 for (t = this._movesHead; t !== null; t = t._nextMoved) e(t); 12459 } 12460 forEachRemovedItem(e) { 12461 let t; 12462 for (t = this._removalsHead; t !== null; t = t._nextRemoved) e(t); 12463 } 12464 forEachIdentityChange(e) { 12465 let t; 12466 for (t = this._identityChangesHead; t !== null; t = t._nextIdentityChange) e(t); 12467 } 12468 diff(e) { 12469 if (e ??= [], !yg(e)) throw new x(900, !1); 12470 return this.check(e) ? this : null; 12471 } 12472 onDestroy() {} 12473 check(e) { 12474 this._reset(); 12475 let t = this._itHead, n = !1, r, i, s; 12476 if (Array.isArray(e)) { 12477 this.length = e.length; 12478 for (let o = 0; o < this.length; o++) i = e[o], s = this._trackByFn(o, i), t === null || !Object.is(t.trackById, s) ? (t = this._mismatch(t, i, s, o), n = !0) : (n && (t = this._verifyReinsertion(t, i, s, o)), Object.is(t.item, i) || this._addIdentityChange(t, i)), t = t._next; 12479 } else r = 0, rC(e, (o) => { 12480 s = this._trackByFn(r, o), t === null || !Object.is(t.trackById, s) ? (t = this._mismatch(t, o, s, r), n = !0) : (n && (t = this._verifyReinsertion(t, o, s, r)), Object.is(t.item, o) || this._addIdentityChange(t, o)), t = t._next, r++; 12481 }), this.length = r; 12482 return this._truncate(t), this.collection = e, this.isDirty; 12483 } 12484 get isDirty() { 12485 return this._additionsHead !== null || this._movesHead !== null || this._removalsHead !== null || this._identityChangesHead !== null; 12486 } 12487 _reset() { 12488 if (this.isDirty) { 12489 let e; 12490 for (e = this._previousItHead = this._itHead; e !== null; e = e._next) e._nextPrevious = e._next; 12491 for (e = this._additionsHead; e !== null; e = e._nextAdded) e.previousIndex = e.currentIndex; 12492 for (this._additionsHead = this._additionsTail = null, e = this._movesHead; e !== null; e = e._nextMoved) e.previousIndex = e.currentIndex; 12493 this._movesHead = this._movesTail = null, this._removalsHead = this._removalsTail = null, this._identityChangesHead = this._identityChangesTail = null; 12494 } 12495 } 12496 _mismatch(e, t, n, r) { 12497 let i; 12498 return e === null ? i = this._itTail : (i = e._prev, this._remove(e)), e = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(n, null), e !== null ? (Object.is(e.item, t) || this._addIdentityChange(e, t), this._reinsertAfter(e, i, r)) : (e = this._linkedRecords === null ? null : this._linkedRecords.get(n, r), e !== null ? (Object.is(e.item, t) || this._addIdentityChange(e, t), this._moveAfter(e, i, r)) : e = this._addAfter(new S_(t, n), i, r)), e; 12499 } 12500 _verifyReinsertion(e, t, n, r) { 12501 let i = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(n, null); 12502 return i !== null ? e = this._reinsertAfter(i, e._prev, r) : e.currentIndex != r && (e.currentIndex = r, this._addToMoves(e, r)), e; 12503 } 12504 _truncate(e) { 12505 for (; e !== null;) { 12506 let t = e._next; 12507 this._addToRemovals(this._unlink(e)), e = t; 12508 } 12509 this._unlinkedRecords !== null && this._unlinkedRecords.clear(), this._additionsTail !== null && (this._additionsTail._nextAdded = null), this._movesTail !== null && (this._movesTail._nextMoved = null), this._itTail !== null && (this._itTail._next = null), this._removalsTail !== null && (this._removalsTail._nextRemoved = null), this._identityChangesTail !== null && (this._identityChangesTail._nextIdentityChange = null); 12510 } 12511 _reinsertAfter(e, t, n) { 12512 this._unlinkedRecords !== null && this._unlinkedRecords.remove(e); 12513 let r = e._prevRemoved, i = e._nextRemoved; 12514 return r === null ? this._removalsHead = i : r._nextRemoved = i, i === null ? this._removalsTail = r : i._prevRemoved = r, this._insertAfter(e, t, n), this._addToMoves(e, n), e; 12515 } 12516 _moveAfter(e, t, n) { 12517 return this._unlink(e), this._insertAfter(e, t, n), this._addToMoves(e, n), e; 12518 } 12519 _addAfter(e, t, n) { 12520 return this._insertAfter(e, t, n), this._additionsTail === null ? this._additionsTail = this._additionsHead = e : this._additionsTail = this._additionsTail._nextAdded = e, e; 12521 } 12522 _insertAfter(e, t, n) { 12523 let r = t === null ? this._itHead : t._next; 12524 return e._next = r, e._prev = t, r === null ? this._itTail = e : r._prev = e, t === null ? this._itHead = e : t._next = e, this._linkedRecords === null && (this._linkedRecords = new of()), this._linkedRecords.put(e), e.currentIndex = n, e; 12525 } 12526 _remove(e) { 12527 return this._addToRemovals(this._unlink(e)); 12528 } 12529 _unlink(e) { 12530 this._linkedRecords !== null && this._linkedRecords.remove(e); 12531 let t = e._prev, n = e._next; 12532 return t === null ? this._itHead = n : t._next = n, n === null ? this._itTail = t : n._prev = t, e; 12533 } 12534 _addToMoves(e, t) { 12535 return e.previousIndex === t || (this._movesTail === null ? this._movesTail = this._movesHead = e : this._movesTail = this._movesTail._nextMoved = e), e; 12536 } 12537 _addToRemovals(e) { 12538 return this._unlinkedRecords === null && (this._unlinkedRecords = new of()), this._unlinkedRecords.put(e), e.currentIndex = null, e._nextRemoved = null, this._removalsTail === null ? (this._removalsTail = this._removalsHead = e, e._prevRemoved = null) : (e._prevRemoved = this._removalsTail, this._removalsTail = this._removalsTail._nextRemoved = e), e; 12539 } 12540 _addIdentityChange(e, t) { 12541 return e.item = t, this._identityChangesTail === null ? this._identityChangesTail = this._identityChangesHead = e : this._identityChangesTail = this._identityChangesTail._nextIdentityChange = e, e; 12542 } 12543 }, S_ = class { 12544 item; 12545 trackById; 12546 currentIndex = null; 12547 previousIndex = null; 12548 _nextPrevious = null; 12549 _prev = null; 12550 _next = null; 12551 _prevDup = null; 12552 _nextDup = null; 12553 _prevRemoved = null; 12554 _nextRemoved = null; 12555 _nextAdded = null; 12556 _nextMoved = null; 12557 _nextIdentityChange = null; 12558 constructor(e, t) { 12559 this.item = e, this.trackById = t; 12560 } 12561 }, O_ = class { 12562 _head = null; 12563 _tail = null; 12564 add(e) { 12565 this._head === null ? (this._head = this._tail = e, e._nextDup = null, e._prevDup = null) : (this._tail._nextDup = e, e._prevDup = this._tail, e._nextDup = null, this._tail = e); 12566 } 12567 get(e, t) { 12568 let n; 12569 for (n = this._head; n !== null; n = n._nextDup) if ((t === null || t <= n.currentIndex) && Object.is(n.trackById, e)) return n; 12570 return null; 12571 } 12572 remove(e) { 12573 let t = e._prevDup, n = e._nextDup; 12574 return t === null ? this._head = n : t._nextDup = n, n === null ? this._tail = t : n._prevDup = t, this._head === null; 12575 } 12576 }, of = class { 12577 map = /* @__PURE__ */ new Map(); 12578 put(e) { 12579 let t = e.trackById, n = this.map.get(t); 12580 n || (n = new O_(), this.map.set(t, n)), n.add(e); 12581 } 12582 get(e, t) { 12583 let n = e, r = this.map.get(n); 12584 return r ? r.get(e, t) : null; 12585 } 12586 remove(e) { 12587 let t = e.trackById; 12588 return this.map.get(t).remove(e) && this.map.delete(t), e; 12589 } 12590 get isEmpty() { 12591 return this.map.size === 0; 12592 } 12593 clear() { 12594 this.map.clear(); 12595 } 12596 }, A_ = class { 12597 supports(e) { 12598 return e instanceof Map || du(e); 12599 } 12600 create() { 12601 return new N_(); 12602 } 12603 }, N_ = class { 12604 _records = /* @__PURE__ */ new Map(); 12605 _mapHead = null; 12606 _appendAfter = null; 12607 _previousMapHead = null; 12608 _changesHead = null; 12609 _changesTail = null; 12610 _additionsHead = null; 12611 _additionsTail = null; 12612 _removalsHead = null; 12613 get isDirty() { 12614 return this._additionsHead !== null || this._changesHead !== null || this._removalsHead !== null; 12615 }
12616 forEachItem(e) { 12617 let t; 12618 for (t = this._mapHead; t !== null; t = t._next) e(t); 12619 } 12620 forEachPreviousItem(e) { 12621 let t; 12622 for (t = this._previousMapHead; t !== null; t = t._nextPrevious) e(t); 12623 } 12624 forEachChangedItem(e) { 12625 let t; 12626 for (t = this._changesHead; t !== null; t = t._nextChanged) e(t); 12627 } 12628 forEachAddedItem(e) { 12629 let t; 12630 for (t = this._additionsHead; t !== null; t = t._nextAdded) e(t); 12631 } 12632 forEachRemovedItem(e) { 12633 let t; 12634 for (t = this._removalsHead; t !== null; t = t._nextRemoved) e(t); 12635 } 12636 diff(e) { 12637 if (!e) e = /* @__PURE__ */ new Map(); 12638 else if (!(e instanceof Map || du(e))) throw new x(900, !1); 12639 return this.check(e) ? this : null; 12640 } 12641 check(e) { 12642 this._reset(); 12643 let t = this._mapHead; 12644 if (this._appendAfter = null, this._forEach(e, (n, r) => { 12645 if (t && t.key === r) this._maybeAddToChanges(t, n), this._appendAfter = t, t = t._next; 12646 else { 12647 let i = this._getOrCreateRecordForKey(r, n); 12648 t = this._insertBeforeOrAppend(t, i); 12649 } 12650 }), t) { 12651 t._prev && (t._prev._next = null), this._removalsHead = t; 12652 for (let n = t; n !== null; n = n._nextRemoved) n === this._mapHead && (this._mapHead = null), this._records.delete(n.key), n._nextRemoved = n._next, n.previousValue = n.currentValue, n.currentValue = null, n._prev = null, n._next = null; 12653 } 12654 return this._changesTail && (this._changesTail._nextChanged = null), this._additionsTail && (this._additionsTail._nextAdded = null), this.isDirty; 12655 } 12656 _insertBeforeOrAppend(e, t) { 12657 if (e) { 12658 let n = e._prev; 12659 return t._next = e, t._prev = n, e._prev = t, n && (n._next = t), e === this._mapHead && (this._mapHead = t), this._appendAfter = e, e; 12660 } 12661 return this._appendAfter ? (this._appendAfter._next = t, t._prev = this._appendAfter) : this._mapHead = t, this._appendAfter = t, null; 12662 } 12663 _getOrCreateRecordForKey(e, t) { 12664 if (this._records.has(e)) { 12665 let r = this._records.get(e); 12666 this._maybeAddToChanges(r, t); 12667 let i = r._prev, s = r._next; 12668 return i && (i._next = s), s && (s._prev = i), r._next = null, r._prev = null, r; 12669 } 12670 let n = new D_(e); 12671 return this._records.set(e, n), n.currentValue = t, this._addToAdditions(n), n; 12672 } 12673 _reset() { 12674 if (this.isDirty) { 12675 let e; 12676 for (this._previousMapHead = this._mapHead, e = this._previousMapHead; e !== null; e = e._next) e._nextPrevious = e._next; 12677 for (e = this._changesHead; e !== null; e = e._nextChanged) e.previousValue = e.currentValue; 12678 for (e = this._additionsHead; e != null; e = e._nextAdded) e.previousValue = e.currentValue; 12679 this._changesHead = this._changesTail = null, this._additionsHead = this._additionsTail = null, this._removalsHead = null; 12680 } 12681 } 12682 _maybeAddToChanges(e, t) { 12683 Object.is(t, e.currentValue) || (e.previousValue = e.currentValue, e.currentValue = t, this._addToChanges(e)); 12684 } 12685 _addToAdditions(e) { 12686 this._additionsHead === null ? this._additionsHead = this._additionsTail = e : (this._additionsTail._nextAdded = e, this._additionsTail = e); 12687 } 12688 _addToChanges(e) { 12689 this._changesHead === null ? this._changesHead = this._changesTail = e : (this._changesTail._nextChanged = e, this._changesTail = e); 12690 } 12691 _forEach(e, t) { 12692 e instanceof Map ? e.forEach(t) : Object.keys(e).forEach((n) => t(e[n], n)); 12693 } 12694 }, D_ = class { 12695 key; 12696 previousValue = null; 12697 currentValue = null; 12698 _nextPrevious = null; 12699 _next = null; 12700 _prev = null; 12701 _nextAdded = null; 12702 _nextRemoved = null; 12703 _nextChanged = null; 12704 constructor(e) { 12705 this.key = e; 12706 } 12707 }, lf = (() => { 12708 class e { 12709 factories; 12710 static ɵprov = $({ 12711 token: e, 12712 providedIn: "root", 12713 factory: Ym 12714 }); 12715 constructor(n) { 12716 this.factories = n; 12717 } 12718 static create(n, r) { 12719 if (r != null) { 12720 let i = r.factories.slice(); 12721 n = n.concat(i); 12722 } 12723 return new e(n); 12724 } 12725 static extend(n) { 12726 return { 12727 provide: e, 12728 useFactory: () => { 12729 let r = m(e, { 12730 optional: !0, 12731 skipSelf: !0 12732 }); 12733 return e.create(n, r || Ym()); 12734 } 12735 }; 12736 } 12737 find(n) { 12738 let r = this.factories.find((i) => i.supports(n)); 12739 if (r != null) return r; 12740 throw new x(901, !1); 12741 } 12742 } 12743 return e; 12744 })(), uf = (() => { 12745 class e { 12746 static ɵprov = $({ 12747 token: e, 12748 providedIn: "root", 12749 factory: Xm 12750 }); 12751 factories; 12752 constructor(n) { 12753 this.factories = n; 12754 } 12755 static create(n, r) { 12756 if (r) { 12757 let i = r.factories.slice(); 12758 n = n.concat(i); 12759 } 12760 return new e(n); 12761 } 12762 static extend(n) { 12763 return { 12764 provide: e, 12765 useFactory: () => { 12766 let r = m(e, { 12767 optional: !0, 12768 skipSelf: !0 12769 }); 12770 return e.create(n, r || Xm()); 12771 } 12772 }; 12773 } 12774 find(n) { 12775 let r = this.factories.find((i) => i.supports(n)); 12776 if (r) return r; 12777 throw new x(901, !1); 12778 } 12779 } 12780 return e; 12781 })(), R_ = (() => { 12782 class e { 12783 static __NG_ELEMENT_ID__ = VA; 12784 } 12785 return e; 12786 })(), M_ = (() => { 12787 class e { 12788 zone = m(z); 12789 changeDetectionScheduler = m(Ke); 12790 applicationRef = m(Oe); 12791 applicationErrorHandler = m(Tt); 12792 _onMicrotaskEmptySubscription; 12793 initialize() { 12794 this._onMicrotaskEmptySubscription || (this._onMicrotaskEmptySubscription = this.zone.onMicrotaskEmpty.subscribe({ next: () => { 12795 this.changeDetectionScheduler.runningTick || this.zone.run(() => { 12796 try { 12797 this.applicationRef.dirtyFlags |= 1, this.applicationRef._tick(); 12798 } catch (n) { 12799 this.applicationErrorHandler(n); 12800 } 12801 }); 12802 } })); 12803 } 12804 ngOnDestroy() { 12805 this._onMicrotaskEmptySubscription?.unsubscribe(); 12806 } 12807 static ɵfac = function(n) { 12808 return new (n || e)(); 12809 }; 12810 static ɵprov = Lt({ 12811 token: e, 12812 factory: e.ɵfac 12813 }); 12814 } 12815 return e; 12816 })(), j_ = new k("", { factory: () => !1 }), V_ = (() => { 12817 class e { 12818 subscription = new se(); 12819 initialized = !1; 12820 zone = m(z); 12821 pendingTasks = m($e); 12822 initialize() { 12823 if (this.initialized) return; 12824 this.initialized = !0; 12825 let n = null; 12826 !this.zone.isStable && !this.zone.hasPendingMacrotasks && !this.zone.hasPendingMicrotasks && (n = this.pendingTasks.add()), this.zone.runOutsideAngular(() => { 12827 this.subscription.add(this.zone.onStable.subscribe(() => { 12828 z.assertNotInAngularZone(), queueMicrotask(() => { 12829 n !== null && !this.zone.hasPendingMacrotasks && !this.zone.hasPendingMicrotasks && (this.pendingTasks.remove(n), n = null); 12830 }); 12831 })); 12832 }), this.subscription.add(this.zone.onUnstable.subscribe(() => { 12833 z.assertInAngularZone(), n ??= this.pendingTasks.add(); 12834 })); 12835 } 12836 ngOnDestroy() { 12837 this.subscription.unsubscribe(); 12838 } 12839 static ɵfac = function(n) { 12840 return new (n || e)(); 12841 }; 12842 static ɵprov = Lt({ 12843 token: e, 12844 factory: e.ɵfac 12845 }); 12846 } 12847 return e; 12848 })(), vo = new k(""), P_ = new k(""), ui = null, bo = Symbol("NOT_SET"), af = /* @__PURE__ */ new Set(), F_ = ye(me({}, Ms), {
12849 kind: "afterRenderEffectPhase", 12850 consumerIsAlwaysLive: !0, 12851 consumerAllowSignalWrites: !0, 12852 value: bo, 12853 cleanup: null, 12854 consumerMarkedDirty() { 12855 if (this.sequence.impl.executing) { 12856 if (this.sequence.lastPhase === null || this.sequence.lastPhase < this.phase) return; 12857 this.sequence.erroredOrDestroyed = !0; 12858 } 12859 this.sequence.scheduler.notify(7); 12860 }, 12861 phaseFn(e) { 12862 if (this.sequence.lastPhase = this.phase, !this.dirty) return this.signal; 12863 if (this.dirty = !1, this.value !== bo && !mi(this)) return this.signal; 12864 try { 12865 for (let i of this.cleanup ?? af) i(); 12866 } finally { 12867 this.cleanup?.clear(); 12868 } 12869 let t = []; 12870 e !== void 0 && t.push(e), t.push(this.registerCleanupFn); 12871 let n = _n(this), r; 12872 try { 12873 r = this.userFn.apply(null, t); 12874 } finally { 12875 lr(this, n); 12876 } 12877 return (this.value === bo || !this.equal(this.value, r)) && (this.value = r, this.version++), this.signal; 12878 } 12879 }), L_ = class extends vc { 12880 scheduler; 12881 lastPhase = null; 12882 nodes = [ 12883 void 0, 12884 void 0, 12885 void 0, 12886 void 0 12887 ]; 12888 onDestroyFns = null; 12889 constructor(e, t, n, r, i, s = null) { 12890 super(e, [ 12891 void 0, 12892 void 0, 12893 void 0, 12894 void 0 12895 ], n, !1, i.get(Qe), s), this.scheduler = r; 12896 for (let o of yc) { 12897 let l = t[o]; 12898 if (l === void 0) continue; 12899 let u = Object.create(F_); 12900 u.sequence = this, u.phase = o, u.userFn = l, u.dirty = !0, u.signal = () => (bn(u), u.value), u.signal[J] = u, u.registerCleanupFn = (a) => (u.cleanup ??= /* @__PURE__ */ new Set()).add(a), this.nodes[o] = u, this.hooks[o] = (a) => u.phaseFn(a); 12901 } 12902 } 12903 afterRun() { 12904 super.afterRun(), this.lastPhase = null; 12905 } 12906 destroy() { 12907 if (this.onDestroyFns !== null) for (let e of this.onDestroyFns) e(); 12908 super.destroy(); 12909 for (let e of this.nodes) if (e) try { 12910 for (let t of e.cleanup ?? af) t(); 12911 } finally { 12912 ur(e); 12913 } 12914 } 12915 }; 12916 })))(); 12917} 12918export { eO as $, _1 as $a, eT as $i, Cd as $n, ey as $r, $A as $t, cp as A, dt as Aa, dI as Ai, R_ as An, PO as Ao, XC as Ar, JA as At, CA as B, gt as Ba, qw as Bi, Fc as Bn, Bo, N1 as Br, tk as Bt, jA as C, y_ as Ca, am as Ci, lC as Cn, Gk as Co, d0 as Cr, pi as Ct, r1 as D, go as Da, Km as Di, Qd as Dn, fb as Do, Mo as Dr, ca as Dt, zk as E, ys as Ea, RO as Ei, _d as En, Dw as Eo, tr as Er, yO as Et, pm as F, Po as Fa, el as Fi, ln as Fn, Bn as Fo, CO as Fr, s0 as Ft, X as G, O1 as Ga, uC as Gi, Kl as Gn, lf as Gr, k as Gt, dm as H, JI as Ha, KA as Hi, GC as Hn, fO as Ho, TS as Hr, o1 as Ht, Jw as I, uO as Ia, Oy as Ii, dn as In, Fy as Io, YI as Ir, Td as It, Sy as J, _O as Ja, St as Ji, Sm as Jn, be as Jr, $k as Jt, gT as K, Os as Ka, y1 as Ki, Nt as Kn, Xw as Kr, ZA as Kt, mE as L, EO as La, rS as Li, wI as Ln, Iu as Lo, jb as Lr, Bh as Lt, SA as M, D1 as Ma, KI as Mi, s1 as Mn, $w as Mo, cd as Mr, eS as Mt, Wb as N, ms as Na, S1 as Ni, bv as Nn, Xf as No, Ew as Nr, m1 as Nt, ad as O, Ur as Oa, Nv as Oi, Ct as On, N0 as Oo, Qo as Or, Fo as Ot, Pc as P, md as Pa, H_ as Pi, ge as Pn, Gu as Po, qn as Pr, cx as Pt, Hw as Q, Nu as Qa, SO as Qi, Dd as Qn, g_ as Qr, Aw as Qt, rd as R, ju as Ra, b1 as Ri, zS as Rn, vn as Ro, je as Rr, x as Rt, sO as S, wS as Sa, jO as Si, xy as Sn, rk as So, yS as Sr, v0 as St, YC as T, Sv as Ta, _A as Ti, r0 as Tn, We as To, Ko as Tr, La as Tt, Gw as U, Rb as Ua, dT as Ui, Yw as Un, E_ as Ur, Dt as Ut, Zb as V, xO as Va, Do as Vi, gm as Vn, xt as Vo, qr as Vr, Qk as Vt, Sl as W, Ow as Wa, Cy as Wi, Bi as Wn, qO as Wr, xl as Wt, v1 as X, Gy as Xa, Pw as Xi, gC as Xn, kO as Xr, Ve as Xt, nS as Y, Zg as Ya, so as Yi, lS as Yn, Bv as Yr, l1 as Yt, Bc as Z, G1 as Za, jr as Zi, C1 as Zn, XI as Zr, fd as Zt, T1 as _, Y as _a, uE as _i, Cr as _n, uf as _o, p1 as _r, __ as _t, lO as a, EA as aa, Ye as ai, bp as an, Oa as ao, w1 as ar, sa as at, Lt as b, FE as ba, OS as bi, dO as bn, WA as bo, Ie as br, Ps as bt, a1 as c, Zw as ca, SS as ci, o0 as cn, kS as co, Py as cr, vT as ct, Rw as d, Oc as da, Xr as di, J as dn, cm as do, Xt as dr, hC as dt, Pd as ea, Fu as ei, sw as en, To as eo, At as er, xc as et, vp as f, Mu as fa, $ as fi, Ly as fn, Qw as fo, SE as fr, E1 as ft, pC as g, Qg as ga, xv as gi, Eh as gn, ym as go, Oe as gr, m as gt, oS as h, IO as ha, vS as hi, Go as hn, Lc as ho, cO as hr, Uw as ht, Vo as i, CS as ia, ry as ii, jw as in, Dy as io, iS as ir, la as it, BS as j, jy as ja, TO as ji, Wk as jn, fm as jo, Zk as jr, hT as jt, ia as k, fl as ka, Qu as ki, Vw as kn, b_ as ko, j as kr, f1 as kt, Qe as l, Cs as la, bO as li, xd as ln, v_ as lo, j1 as lr, Ay as lt, Ny as m, yn as ma, yo as mi, Tu as mn, MA as mo, Tt as mr, Qn as mt, A1 as n, dr as na, hi as ni, c1 as nn, OO as no, mT as nr, ww as nt, QA as o, MO as oa, Uu as oi, ky as on, Ds as oo, Zn as or, hs as ot, se as p, I1 as pa, g1 as pi, _s as pn, ie as po, ps as pr, Id as pt, Yu as q, IS as qa, i0 as qi, Ge as qn, od as qr, nk as qt, kd as r, Ue as ra, AO as ri, Xn as rn, ny as ro, $c as rr, M1 as rt, _y as s, um as sa, Aa as si, jv as sn, ze as so, ea as sr, aO as st, My as t, gi as ta, R1 as ti, Iy as tn, Ho as to, oO as tr, z as tt, hd as u, wO as ua, $y as ui, Lw as un, VO as uo, jd as ur, sS as ut, ri as v, Vu as va, Bl as vi, t1 as vn, n1 as vo, ht as vr, hm as vt, BO as w, DO as wa, Ww as wi, d1 as wn, gd as wo, Io as wr, h1 as wt, zw as x, Jo as xa, m_ as xi, GA as xn, by as xo, Hy as xr, Ws as xt, qo as y, k1 as ya, $e as yi, un as yn, jo as yo, mO as yr, $C as yt, nt as z, PE as za, Ke as zi, w_ as zn, OE as zo, Pu as zr, LA as zt }; 12919 12920//# sourceMappingURL=chunk-c97c17u8.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.