PageSourceSearch

https://liveplaylist.pages.dev/main-6XEVWLDY.js

js liveplaylist.pages.dev collected 2026-10-03 05:52:29 UTC 268,644 bytes, 4 lines download raw bytes

vendor: 3,377 bytes, line 1
1var Bv=Object.defineProperty,Hv=Object.defineProperties;var Uv=Object.getOwnPropertyDescriptors;var of=Object.getOwnPropertySymbols;var $v=Object.prototype.hasOwnProperty,Gv=Object.prototype.propertyIsEnumerable;var sf=(e,t,n)=>t in e?Bv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||={})$v.call(t,n)&&sf(e,n,t[n]);if(of)for(var n of of(t))Gv.call(t,n)&&sf(e,n,t[n]);return e},A=(e,t)=>Hv(e,Uv(t));var Mt=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var sc;function gi(){return sc}function Xe(e){let t=sc;return sc=e,t}var af=Symbol("NotFound");function Hn(e){return e===af||e?.name==="\u0275NotFound"}var de=null,mi=!1,ac=1,zv=null,fe=Symbol("SIGNAL");function b(e){let t=de;return de=e,t}function Ei(){return de}var Un={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function $n(e){if(mi)throw new Error("");if(de===null)return;de.consumerOnSignalRead(e);let t=de.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=de.recomputing;if(r&&(n=t!==void 0?t.nextProducer:de.producers,n!==void 0&&n.producer===e)){de.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===de&&(!r||qv(o,de)))return;let i=zn(de),s={producer:e,consumer:de,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};de.producersTail=s,t!==void 0?t.nextProducer=s:de.producers=s,i&&df(e,s)}function cf(){ac++}function Ci(e){if(!(zn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ac)){if(!e.producerMustRecompute(e)&&!Ur(e)){Di(e);return}e.producerRecomputeValue(e),Di(e)}}function cc(e){if(e.consumers===void 0)return;let t=mi;mi=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Wv(r)}}finally{mi=t}}function uc(){return de?.consumerAllowSignalWrites!==!1}function Wv(e){e.dirty=!0,cc(e),e.consumerMarkedDirty?.(e)}function Di(e){e.dirty=!1,e.lastCleanEpoch=ac}function Gn(e){return e&&uf(e),b(e)}function uf(e){e.producersTail=void 0,e.recomputing=!0}function Hr(e,t){b(t),e&&lf(e)}function lf(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(zn(e))do n=lc(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Ur(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Ci(n),r!==n.version))return!0}return!1}function $r(e){if(zn(e)){let t=e.producers;for(;t!==void 0;)t=lc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function df(e,t){let n=e.consumersTail,r=zn(e);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 o=e.producers;o!==void 0;o=o.nextProducer)df(o.producer,o)}function lc(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)
vendor: 5,264 bytes, lines 1-3
1o.nextConsumer=r;else if(t.consumers=r,!zn(t)){let i=t.producers;for(;i!==void 0;)i=lc(i)}return n}function zn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Ii(e){zv?.(e)}function qv(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function _i(e,t){return Object.is(e,t)}function wi(e,t){let n=Object.create(Zv);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Ci(n),$n(n),n.value===Br)throw n.error;return n.value};return r[fe]=n,Ii(n),r}var vi=Symbol("UNSET"),yi=Symbol("COMPUTING"),Br=Symbol("ERRORED"),Zv=A(g({},Un),{value:vi,dirty:!0,error:null,equal:_i,kind:"computed",producerMustRecompute(e){return e.value===vi||e.value===yi},producerRecomputeValue(e){if(e.value===yi)throw new Error("");let t=e.value;e.value=yi;let n=Gn(e),r,o=!1;try{r=e.computation(),b(null),o=t!==vi&&t!==Br&&r!==Br&&e.equal(t,r)}catch(i){r=Br,e.error=i}finally{Hr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Yv(){throw new Error}var ff=Yv;function hf(e){ff(e)}function dc(e){ff=e}var Qv=null;function fc(e,t){let n=Object.create(bi);n.value=e,t!==void 0&&(n.equal=t);let r=()=>pf(n);return r[fe]=n,Ii(n),[r,s=>Wn(n,s),s=>hc(n,s)]}function pf(e){return $n(e),e.value}function Wn(e,t){uc()||hf(e),e.equal(e.value,t)||(e.value=t,Kv(e))}function hc(e,t){uc()||hf(e),Wn(e,t(e.value))}var bi=A(g({},Un),{equal:_i,value:void 0,kind:"signal"});function Kv(e){e.version++,cf(),cc(e),Qv?.(e)}function S(e){return typeof e=="function"}function qn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Si=qn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3  `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Gr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var K=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){t=i instanceof Si?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{gf(i)}catch(s){t=t??[],s instanceof Si?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Si(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gf(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Gr(n,t)}remove(t){let{_finalizers:n}=this;n&&Gr(n,t),t instanceof e&&t._removeParent(this)}};K.EMPTY=(()=>{let e=new K;return e.closed=!0,e})();var pc=K.EMPTY;function Mi(e){return e instanceof K||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function gf(e){S(e)?e():e.unsubscribe()}var Ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Zn={setTimeout(e,t,...n){let{delegate:r}=Zn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Zn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ti(e){Zn.setTimeout(()=>{let{onUnhandledError:t}=Ue;if(t)t(e);else throw e})}function zr(){}var mf=gc("C",void 0,void 0);function vf(e){return gc("E",void 0,e)}function yf(e){return gc("N",e,void 0)}function gc(e,t,n){return{kind:e,value:t,error:n}}var on=null;function Yn(e){if(Ue.useDeprecatedSynchronousErrorHandling){let t=!on;if(t&&(on={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=on;if(on=null,n)throw r}}else e()}function Df(e){Ue.useDeprecatedSynchronousErrorHandling&&on&&(on.errorThrown=!0,on.error=e)}var sn=class extends K{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Mi(t)&&t.add(this)):this.destination=ey}static create(t,n,r){return new Qn(t,n,r)}next(t){this.isStopped?vc(yf(t),this):this._next(t)}error(t){this.isStopped?vc(vf(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?vc(mf,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Jv=Function.prototype.bind;function mc(e,t){return Jv.call(e,t)}var yc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ni(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ni(r)}else Ni(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ni(n)}}},Qn=class extends sn{constructor(t,n,r){super();let o;if(S(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;
vendor: 4,140 bytes, line 3
3this&&Ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&mc(t.next,i),error:t.error&&mc(t.error,i),complete:t.complete&&mc(t.complete,i)}):o=t}this.destination=new yc(o)}};function Ni(e){Ue.useDeprecatedSynchronousErrorHandling?Df(e):Ti(e)}function Xv(e){throw e}function vc(e,t){let{onStoppedNotification:n}=Ue;n&&Zn.setTimeout(()=>n(e,t))}var ey={closed:!0,next:zr,error:Xv,complete:zr};var Kn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ie(e){return e}function Dc(...e){return Ec(e)}function Ec(e){return e.length===0?Ie:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var k=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=ny(n)?n:new Qn(n,r,o);return Yn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Ef(r),new r((o,i)=>{let s=new Qn({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Kn](){return this}pipe(...n){return Ec(n)(this)}toPromise(n){return n=Ef(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ef(e){var t;return(t=e??Ue.Promise)!==null&&t!==void 0?t:Promise}function ty(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function ny(e){return e&&e instanceof sn||ty(e)&&Mi(e)}function Cc(e){return S(e?.lift)}function L(e){return t=>{if(Cc(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function P(e,t,n,r,o){return new Ic(e,t,n,r,o)}var Ic=class extends sn{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Jn(){return L((e,t)=>{let n=null;e._refCount++;let r=P(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Xn=class extends k{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Cc(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new K;let n=this.getSubject();t.add(this.source.subscribe(P(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=K.EMPTY)}return t}refCount(){return Jn()(this)}};var Cf=qn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var W=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Ai(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Cf}next(n){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Yn(()=>
vendor: 4,993 bytes, line 3
3{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?pc:(this.currentObservers=null,i.push(n),new K(()=>{this.currentObservers=null,Gr(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new k;return n.source=this,n}}return e.create=(t,n)=>new Ai(t,n),e})(),Ai=class extends W{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:pc}};var q=class extends W{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ye=new k(e=>e.complete());function If(e){return e&&S(e.schedule)}function _f(e){return e[e.length-1]}function Ri(e){return S(_f(e))?e.pop():void 0}function Tt(e){return If(_f(e))?e.pop():void 0}function bf(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function wf(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function an(e){return this instanceof an?(this.v=e,this):new an(e)}function Sf(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(_){return new Promise(function(O,T){i.push([f,_,O,T])>1||c(f,_)})},m&&(o[f]=m(o[f])))}function c(f,m){try{u(r[f](m))}catch(_){h(i[0][3],_)}}function u(f){f.value instanceof an?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Mf(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof wf=="function"?wf(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var xi=e=>e&&typeof e.length=="number"&&typeof e!="function";function Oi(e){return S(e?.then)}function Fi(e){return S(e[Kn])}function Pi(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function ki(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ry(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Li=ry();function Vi(e){return S(e?.[Li])}function ji(e){return Sf(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield an(n.read());if(o)return yield an(void 0);yield yield an(r)}}finally{n.releaseLock()}})}function Bi(e){return S(e?.getReader)}function J(e){if(e instanceof k)return e;if(e!=null){if(Fi(e))return oy(e);if(xi(e))return iy(e);if(Oi(e))return sy(e);if(Pi(e))return Tf(e);if(Vi(e))return ay(e);if(Bi(e))return cy(e)}throw ki(e)}function oy(e){return new k(t=>{let n=e[Kn]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function iy(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;
vendor: 4,293 bytes, line 3
3n++)t.next(e[n]);t.complete()})}function sy(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ti)})}function ay(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Tf(e){return new k(t=>{uy(e,t).catch(n=>t.error(n))})}function cy(e){return Tf(ji(e))}function uy(e,t){var n,r,o,i;return bf(this,void 0,void 0,function*(){try{for(n=Mf(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function De(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Hi(e,t=0){return L((n,r)=>{n.subscribe(P(r,o=>De(r,e,()=>r.next(o),t),()=>De(r,e,()=>r.complete(),t),o=>De(r,e,()=>r.error(o),t)))})}function Ui(e,t=0){return L((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Nf(e,t){return J(e).pipe(Ui(t),Hi(t))}function Af(e,t){return J(e).pipe(Ui(t),Hi(t))}function Rf(e,t){return new k(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function xf(e,t){return new k(n=>{let r;return De(n,t,()=>{r=e[Li](),De(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function $i(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(n=>{De(n,t,()=>{let r=e[Symbol.asyncIterator]();De(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Of(e,t){return $i(ji(e),t)}function Ff(e,t){if(e!=null){if(Fi(e))return Nf(e,t);if(xi(e))return Rf(e,t);if(Oi(e))return Af(e,t);if(Pi(e))return $i(e,t);if(Vi(e))return xf(e,t);if(Bi(e))return Of(e,t)}throw ki(e)}function V(e,t){return t?Ff(e,t):J(e)}function C(...e){let t=Tt(e);return V(e,t)}function Nt(e,t){let n=S(e)?e:()=>e,r=o=>o.error(n());return new k(t?o=>t.schedule(r,0,o):r)}function _c(e){return!!e&&(e instanceof k||S(e.lift)&&S(e.subscribe))}var ft=qn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function N(e,t){return L((n,r)=>{let o=0;n.subscribe(P(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:ly}=Array;function dy(e,t){return ly(t)?e(...t):e(t)}function Gi(e){return N(t=>dy(e,t))}var{isArray:fy}=Array,{getPrototypeOf:hy,prototype:py,keys:gy}=Object;function zi(e){if(e.length===1){let t=e[0];if(fy(t))return{args:t,keys:null};if(my(t)){let n=gy(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function my(e){return e&&typeof e=="object"&&hy(e)===py}function Wi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function cn(...e){let t=Tt(e),n=Ri(e),{args:r,keys:o}=zi(e);if(r.length===0)return V([],t);let i=new k(vy(r,t,o?s=>Wi(o,s):Ie));return n?i.pipe(Gi(n)):i}function vy(e,t,n=Ie){return r=>{Pf(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Pf(t,()=>{let u=V(e[c],t),l=!1;u.subscribe(P(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Pf(e,t,n){e?De(n,e,t):t()}function kf(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=_=>u<r?m(_):c.push(_),m=_=>{i&&t.next(_),u++;let O=!1;J(n(_,l++)).subscribe(P(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{O=!0},void 0,()=>{if(O)try{for(u--;c.length&&u<r;){let T=c.shift();s?De(t,s,()=>m(T)):m(T)}h()}catch(T){t.error(T)}}))};return e.subscribe(P(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Z(e,t,n=1/0){return S(t)?Z((r,o)=>N((i,s)=>t(r,i,o,s))(J(e(r,o))),n):(typeof t=="number"&&(n=t),L((r,o)=>kf(r,o,e,n)))}function At(e=1/0){return Z(Ie,e)}function Lf(){return At(1)}function er(...e){return Lf()(V(e,Tt(e)))}function Wr(e){return new k(t=>{J(e()).subscribe(t)})}function wc(...e){let t=Ri(e),{args:n,keys:r}=zi(e),o=new k(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;J(n[l]).subscribe(P(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Wi(r,a):a),i.complete())}))}});return t?o.pipe(Gi(t)):o}function Ee(e,t){return L((n,r)=>{let o=0;n.subscribe(P(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Fe(e){return L((t,n)=>{let r=null,o=!1,i;r=t.subscribe(P(n,void 0,void 0,s=>
vendor: 4,691 bytes, lines 3-4
3{i=J(e(s,Fe(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Vf(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(P(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Rt(e,t){return S(t)?Z(e,t,1):Z(e,1)}function xt(e){return L((t,n)=>{let r=!1;t.subscribe(P(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ht(e){return e<=0?()=>ye:L((t,n)=>{let r=0;t.subscribe(P(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function qi(e=yy){return L((t,n)=>{let r=!1;t.subscribe(P(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function yy(){return new ft}function qr(e){return L((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function pt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ee((o,i)=>e(o,i,r)):Ie,ht(1),n?xt(t):qi(()=>new ft))}function tr(e){return e<=0?()=>ye:L((t,n)=>{let r=[];t.subscribe(P(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function bc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ee((o,i)=>e(o,i,r)):Ie,tr(1),n?xt(t):qi(()=>new ft))}function Sc(e,t){return L(Vf(e,t,arguments.length>=2,!0))}function Mc(...e){let t=Tt(e);return L((n,r)=>{(t?er(e,n,t):er(e,n)).subscribe(r)})}function ge(e,t){return L((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(P(r,c=>{o?.unsubscribe();let u=0,l=i++;J(e(c,l)).subscribe(o=P(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Zi(e){return L((t,n)=>{J(e).subscribe(P(n,()=>n.complete(),zr)),!n.closed&&t.subscribe(n)})}function se(e,t,n){let r=S(e)||t||n?{next:e,error:t,complete:n}:e;return r?L((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Ie}function jf(e){let t=b(null);try{return e()}finally{b(t)}}var Ji="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(t,n){super(Kr(t,n)),this.code=t}};function Dy(e){return`NG0${Math.abs(e)}`}function Kr(e,t){return`${Dy(e)}${t?": "+t:""}`}var Jr=globalThis;function B(e){for(let t in e)if(e[t]===B)return t;throw Error("")}function Uf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function mt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(mt).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4`);return r>=0?n.slice(0,r):n}function jc(e,t){return e?t?`${e} ${t}`:e:t||""}var Ey=B({__forward_ref__:B});function pn(e){return e.__forward_ref__=pn,e.toString=function(){return mt(this())},e}function ce(e){return Bc(e)?e():e}function Bc(e){return typeof e=="function"&&e.hasOwnProperty(Ey)&&e.__forward_ref__===pn}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ge(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xr(e){return Cy(e,Xi)}function Hc(e){return Xr(e)!==null}function Cy(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Iy(e){let t=e?.[Xi]??null;return t||null}function Nc(e){return e&&e.hasOwnProperty(Qi)?e[Qi]:null}var Xi=B({\u0275prov:B}),Qi=B({\u0275inj:B}),y=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=v({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Uc(e){return e&&!!e.\u0275providers}var $c=B({\u0275cmp:B}),Gc=B({\u0275dir:B}),zc=B({\u0275pipe:B}),Wc=B({\u0275mod:B}),Yr=B({\u0275fac:B}),gn=B({__NG_ELEMENT_ID__:B}),Bf=B({__NG_ENV_ID__:B});function eo(e){return typeof e=="string"?e:e==null?"":String(e)}function $f(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():eo(e)}var Gf=B({ngErrorCode:B}),_y=B({ngErrorMessage:B}),wy=B({ngTokenPath:B});function qc(e,t){return zf("",-200,t)}function es(e,t){throw new D(-201,!1)}function zf(e,t,n){let r=new D(t,e);return r[Gf]=t,r[_y]=e,n&&(r[wy]=n),r}function by(e){return e[Gf]}var Ac;function Wf(){return Ac}function _e(e){let t=Ac;return Ac=e,t}function Zc(e,t,n){let r=Xr(e);
vendor: 1,591 bytes, line 4
4if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;es(e,"Injector")}var Sy={},un=Sy,My="__NG_DI_FLAG__",Rc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ln(n)||0;try{return this.injector.get(t,r&8?null:un,r)}catch(o){if(Hn(o))return o;throw o}}};function Ty(e,t=0){let n=gi();if(n===void 0)throw new D(-203,!1);if(n===null)return Zc(e,void 0,t);{let r=Ny(t),o=n.retrieve(e,r);if(Hn(o)){if(r.optional)return null;throw o}return o}}function E(e,t=0){return(Wf()||Ty)(ce(e),t)}function p(e,t){return E(e,ln(t))}function ln(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ny(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function xc(e){let t=[];for(let n=0;n<e.length;n++){let r=ce(e[n]);if(Array.isArray(r)){if(r.length===0)throw new D(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Ay(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(E(o,i))}else t.push(E(r))}return t}function Ay(e){return e[My]}function dn(e,t){let n=e.hasOwnProperty(Yr);return n?e[Yr]:null}function qf(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Zf(e){return e.flat(Number.POSITIVE_INFINITY)}function ts(e,t){e.forEach(n=>Array.isArray(n)?ts(n,t):t(n))}function Yc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function to(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Yf(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);
vendor: 6,397 bytes, line 4
4else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Qf(e,t,n){let r=rr(e,t);return r>=0?e[r|1]=n:(r=~r,Yf(e,r,t,n)),r}function ns(e,t){let n=rr(e,t);if(n>=0)return e[n|1]}function rr(e,t){return Ry(e,t,1)}function Ry(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Pt={},we=[],vt=new y(""),Qc=new y("",-1),Kc=new y(""),Qr=class{get(t,n=un){if(n===un){let o=zf("",-201);throw o.name="\u0275NotFound",o}return n}};function Jc(e){return e[Wc]||null}function yt(e){return e[$c]||null}function Xc(e){return e[Gc]||null}function Kf(e){return e[zc]||null}function kt(e){return{\u0275providers:e}}function Jf(e){return kt([{provide:vt,multi:!0,useValue:e}])}function Xf(...e){return{\u0275providers:eu(!0,e),\u0275fromNgModule:!0}}function eu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ts(t,s=>{let a=s;Ki(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&eh(o,i),n}function eh(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];tu(o,i=>{t(i,r)})}}function Ki(e,t,n,r){if(e=ce(e),!e)return!1;let o=null,i=Nc(e),s=!i&&yt(e);if(!i&&!s){let c=e.ngModule;if(i=Nc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ki(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{ts(i.imports,l=>{Ki(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&eh(u,t)}if(!a){let u=dn(o)||(()=>new o);t({provide:o,useFactory:u,deps:we},o),t({provide:Kc,useValue:o,multi:!0},o),t({provide:vt,useValue:()=>E(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;tu(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function tu(e,t){for(let n of e)Uc(n)&&(n=n.\u0275providers),Array.isArray(n)?tu(n,t):t(n)}var xy=B({provide:String,useValue:B});function th(e){return e!==null&&typeof e=="object"&&xy in e}function Oy(e){return!!(e&&e.useExisting)}function Fy(e){return!!(e&&e.useFactory)}function fn(e){return typeof e=="function"}function nh(e){return!!e.useClass}var no=new y(""),Yi={},Hf={},Tc;function ro(){return Tc===void 0&&(Tc=new Qr),Tc}var ne=class{},hn=class extends ne{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Fc(t,s=>this.processProvider(s)),this.records.set(Qc,nr(void 0,this)),o.has("environment")&&this.records.set(ne,nr(void 0,this));let i=this.records.get(no);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Kc,we,{self:!0}))}retrieve(t,n){let r=ln(n)||0;try{return this.get(t,un,r)}catch(o){if(Hn(o))return o;throw o}}destroy(){Zr(this),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return Zr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Zr(this);let n=Xe(this),r=_e(void 0),o;try{return t()}finally{Xe(n),_e(r)}}get(t,n=un,r){if(Zr(this),t.hasOwnProperty(Bf))return t[Bf](this);let o=ln(r),i,s=Xe(this),a=_e(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=jy(t)&&Xr(t);l&&this.injectableDefInScope(l)?u=nr(Oc(t),Yi):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?ro():this.parent;return n=o&8&&n===un?null:n,c.get(t,n)}catch(c){let u=by(c);throw u===-200||u===-201?new D(u,null):c}finally{_e(a),Xe(s)}}resolveInjectorInitializers(){let t=b(null),n=Xe(this),r=_e(void 0),o;try{let i=this.get(vt,we,{self:!0});for(let s of i)s()}finally{Xe(n),_e(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(mt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ce(t);let n=fn(t)?t:ce(t&&t.provide),r=ky(t);if(!fn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=nr(void 0,Yi,!0),o.factory=()=>xc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=b(null);try{if(n.value===Hf)throw qc(mt(t));return n.value===Yi&&(n.value=Hf,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Vy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ce(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Oc(e){let t=Xr(e),n=t!==null?t.factory:dn(e);if(n!==null)return n;if(e instanceof y)throw new D(204,!1);if(e instanceof Function)return Py(e);throw new D(204,!1)}function Py(e){if(e.length>0)throw new D(204,!1);let n=Iy(e);return n!==null?()=>n.factory(e):()=>new e}function ky(e){if(th(e))return nr(void 0,e.useValue);{let t=nu(e);return nr(t,Yi)}}function nu(e,t,n){let r;if(fn(e)){let o=ce(e);return dn(o)||Oc(o)}else if(th(e))r=()=>ce(e.useValue);else if(Fy(e))r=()=>e.useFactory(...xc(e.deps||[]));else if(Oy(e))r=(o,i)=>E(ce(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ce(e&&(e.useClass||e.provide));if(Ly(e))r=()=>new o(...xc(e.deps));else return dn(o)||Oc(o)}return r}function Zr(e){if(e.destroyed)throw new D(205,!1)}function nr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ly(e){return!!e.deps}function Vy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function jy(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Fc(e,t){for(let n of e)Array.isArray(n)?Fc(n,t):n&&Uc(n)?Fc(n.\u0275providers,t):t(n)}function he(e,t){let n;e instanceof hn?(Zr(e),n=e):n=new Rc(e);let r,o=Xe(n),i=_e(void 0);try{return t()}finally{Xe(o),_e(i)}}function rh(){return Wf()!==void 0||gi()!=null}var ze=0,I=1,w=2,re=3,Pe=4,ke=5,or=6,ir=7,X=8,sr=9,et=10,$=11,ar=12,ru=13,mn=14,be=15,Lt=16,vn=17,tt=18,oo=19,ou=20,gt=21,rs=22,io=23,Se=24,yn=25,ue=26,me=27,oh=1,iu=6,Vt=7,so=8,Dn=9,ee=10;function nt(e){return Array.isArray(e)&&typeof e[oh]=="object"}function We(e){return Array.isArray(e)&&e[oh]===!0}function su(e){return(e.flags&4)!==0}
vendor: 9,787 bytes, line 4
4function jt(e){return e.componentOffset>-1}function os(e){return(e.flags&1)===1}function rt(e){return!!e.template}function cr(e){return(e[w]&512)!==0}function En(e){return(e[w]&256)===256}var ih="svg",sh="math";function Le(e){for(;Array.isArray(e);)e=e[ze];return e}function au(e,t){return Le(t[e])}function qe(e,t){return Le(t[e.index])}function ao(e,t){return e.data[t]}function Ve(e,t){let n=t[e];return nt(n)?n:n[ze]}function ah(e){return(e[w]&4)===4}function is(e){return(e[w]&128)===128}function ch(e){return We(e[re])}function Bt(e,t){return t==null?null:e[t]}function cu(e){e[vn]=0}function uu(e){e[w]&1024||(e[w]|=1024,is(e)&&ur(e))}function uh(e,t){for(;e>0;)t=t[mn],e--;return t}function co(e){return!!(e[w]&9216||e[Se]?.dirty)}function ss(e){e[et].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),co(e)&&ur(e)}function ur(e){e[et].changeDetectionScheduler?.notify(0);let t=Ot(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!is(t)));)t=Ot(t)}function lu(e,t){if(En(e))throw new D(911,!1);e[gt]===null&&(e[gt]=[]),e[gt].push(t)}function lh(e,t){if(e[gt]===null)return;let n=e[gt].indexOf(t);n!==-1&&e[gt].splice(n,1)}function Ot(e){let t=e[re];return We(t)?t[re]:t}function du(e){return e[ir]??=[]}function fu(e){return e.cleanup??=[]}function dh(e,t,n,r){let o=du(t);o.push(n),e.firstCreatePass&&fu(e).push(r,o.length-1)}var R={lFrame:Sh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Pc=!1;function fh(){return R.lFrame.elementDepthCount}function hh(){R.lFrame.elementDepthCount++}function hu(){R.lFrame.elementDepthCount--}function ph(){return R.bindingsEnabled}function gh(){return R.skipHydrationRootTNode!==null}function pu(e){return R.skipHydrationRootTNode===e}function gu(){R.skipHydrationRootTNode=null}function F(){return R.lFrame.lView}function ae(){return R.lFrame.tView}function uo(e){return R.lFrame.contextLView=e,e[X]}function lo(e){return R.lFrame.contextLView=null,e}function oe(){let e=mu();for(;e!==null&&e.type===64;)e=e.parent;return e}function mu(){return R.lFrame.currentTNode}function mh(){let e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function lr(e,t){let n=R.lFrame;n.currentTNode=e,n.isParent=t}function vu(){return R.lFrame.isParent}function vh(){R.lFrame.isParent=!1}function yu(){return Pc}function Du(e){let t=Pc;return Pc=e,t}function yh(){let e=R.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Dh(e){return R.lFrame.bindingIndex=e}function Cn(){return R.lFrame.bindingIndex++}function Eh(e){let t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ch(){return R.lFrame.inI18n}function Ih(e,t){let n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,as(t)}function _h(){return R.lFrame.currentDirectiveIndex}function as(e){R.lFrame.currentDirectiveIndex=e}function wh(e){let t=R.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Eu(){return R.lFrame.currentQueryIndex}function cs(e){R.lFrame.currentQueryIndex=e}function By(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[ke]:null}function Cu(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=By(i),o===null||(i=i[mn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=R.lFrame=bh();return r.currentTNode=t,r.lView=e,!0}function us(e){let t=bh(),n=e[I];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function bh(){let e=R.lFrame,t=e===null?null:e.child;return t===null?Sh(e):t}function Sh(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Mh(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Iu=Mh;function ls(){let e=Mh();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}function Th(e){return(R.lFrame.contextLView=uh(e,R.lFrame.contextLView))[X]}function Ht(){return R.lFrame.selectedIndex}function Ut(e){R.lFrame.selectedIndex=e}function fo(){let e=R.lFrame;return ao(e.tView,e.selectedIndex)}function Nh(){return R.lFrame.currentNamespace}var Ah=!0;function ds(){return Ah}function fs(e){Ah=e}function kc(e,t=null,n=null,r){let o=_u(e,t,n,r);return o.resolveInjectorInitializers(),o}function _u(e,t=null,n=null,r,o=new Set){let i=[n||we,Xf(e)];return r=r||(typeof e=="object"?void 0:mt(e)),new hn(i,t||ro(),r||null,o)}var Ce=class e{static THROW_IF_NOT_FOUND=un;static NULL=new Qr;static create(t,n){if(Array.isArray(t))return kc({name:""},n,t,"");{let r=t.name??"";return kc({name:r},t.parent,t.providers,r)}}static \u0275prov=v({token:e,providedIn:"any",factory:()=>E(Qc)});static __NG_ELEMENT_ID__=-1},Y=new y(""),Dt=(()=>{class e{static __NG_ELEMENT_ID__=Hy;static __NG_ENV_ID__=n=>n}return e})(),Lc=class extends Dt{_lView;constructor(t){super(),this._lView=t}get destroyed(){return En(this._lView)}onDestroy(t){let n=this._lView;return lu(n,t),()=>lh(n,t)}};function Hy(){return new Lc(F())}var $e=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Me=new y("",{providedIn:"root",factory:()=>{let e=p(ne),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get($e),t.handleError(n))}}}),Rh={provide:vt,useValue:()=>void p($e),multi:!0},Uy=new y("",{providedIn:"root",factory:()=>{let e=p(Y).defaultView;if(!e)return;let t=p(Me),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(Dt).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function wu(){return kt([Jf(()=>void p(Uy))])}function bu(e){return typeof e=="function"&&e[fe]!==void 0}function je(e,t){let[n,r,o]=fc(e,t?.equal),i=n,s=i[fe];return i.set=r,i.update=o,i.asReadonly=xh.bind(i),i}function xh(){let e=this[fe];if(e.readonlyFn===void 0){let t=()=>this();t[fe]=e,e.readonlyFn=t}return e.readonlyFn}function Su(e){return bu(e)&&typeof e.set=="function"}var Ft=class{},ho=new y("",{providedIn:"root",factory:()=>!1});var Mu=new y(""),Tu=new y("");var hs=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=$y}return e})();function $y(){return new hs(F(),oe())}var Et=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new q(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})();function po(...e){}var Nu=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new Vc})}return e})(),Vc=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Io(e){return{toString:e}.toString()}function Xy(e){return typeof e=="function"}var Cs=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function fp(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var _t=(()=>{let e=()=>hp;return e.ngInherit=!0,e})();function hp(e){return e.type.prototype.ngOnChanges&&(e.setInput=tD),eD}function eD(){let e=gp(this),t=e?.current;if(t){let n=e.previous;if(n===Pt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function tD(e,t,n,r,o){let i=this.declaredInputs[r],s=gp(e)||nD(e,{previous:Pt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Cs(u&&u.currentValue,n,c===Pt),fp(e,t,o,n)}var pp="__ngSimpleChanges__";function gp(e){return e[pp]||null}function nD(e,t){return e[pp]=t}var Oh=[];var H=function(e,t=null,n){for(let r=0;r<Oh.length;r++){let o=Oh[r];o(e,t,n)}};function rD(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=hp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function oD(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}
vendor: 5,062 bytes, line 4
4function ms(e,t,n){mp(e,t,3,n)}function vs(e,t,n,r){(e[w]&3)===n&&mp(e,t,n,r)}function Au(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n)}function mp(e,t,n,r){let o=r!==void 0?e[vn]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[vn]+=65536),(a<i||i==-1)&&(iD(e,n,t,c),e[vn]=(e[vn]&4294901760)+c+2),c++}function Fh(e,t){H(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),H(5,e,t)}}function iD(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[vn]>>16&&(e[w]&3)===t&&(e[w]+=16384,Fh(a,i)):Fh(a,i)}var fr=-1,_n=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function sD(e){return(e.flags&8)!==0}function aD(e){return(e.flags&16)!==0}function cD(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];uD(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function vp(e){return e===3||e===4||e===6}function uD(e){return e.charCodeAt(0)===64}function hr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Ph(e,n,o,null,t[++r]):Ph(e,n,o,null,null))}}return e}function Ph(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function yp(e){return e!==fr}function Is(e){return e&32767}function lD(e){return e>>16}function _s(e,t){let n=lD(e),r=t;for(;n>0;)r=r[mn],n--;return r}var Bu=!0;function kh(e){let t=Bu;return Bu=e,t}var dD=256,Dp=dD-1,Ep=5,fD=0,ot={};function hD(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(gn)&&(r=n[gn]),r==null&&(r=n[gn]=fD++);let o=r&Dp,i=1<<o;t.data[e+(o>>Ep)]|=i}function ws(e,t){let n=Cp(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Ru(r.data,e),Ru(t,null),Ru(r.blueprint,null));let o=gl(e,t),i=e.injectorIndex;if(yp(o)){let s=Is(o),a=_s(o,t),c=a[I].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ru(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Cp(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function gl(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Sp(o),r===null)return fr;if(n++,o=o[mn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return fr}function Hu(e,t,n){hD(e,t,n)}function pD(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(vp(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Ip(e,t,n){if(n&8||e!==void 0)return e;es(t,"NodeInjector")}function _p(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[sr],i=_e(void 0);try{return o?o.get(t,r,n&8):Zc(t,r,n&8)}finally{_e(i)}}return Ip(r,t,n)}function wp(e,t,n,r=0,o){if(e!==null){if(t[w]&2048&&!(r&2)){let s=yD(e,t,n,r,ot);if(s!==ot)return s}let i=bp(e,t,n,r,ot);if(i!==ot)return i}return _p(t,n,r,o)}function bp(e,t,n,r,o){let i=mD(n);if(typeof i=="function"){if(!Cu(t,e,r))return r&1?Ip(o,n,r):_p(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))es(n);else return s}finally{Iu()}}else if(typeof i=="number"){let s=null,a=Cp(e,t),c=fr,u=r&1?t[be][ke]:null;for((a===-1||r&4)&&(c=a===-1?gl(e,t):t[a+8],c===fr||!Vh(r,!1)?a=-1:(s=t[I],a=Is(c),t=_s(c,t)));a!==-1;){let l=t[I];if(Lh(i,a,l.data)){let d=gD(a,t,n,s,r,u);if(d!==ot)return d}c=t[a+8],c!==fr&&Vh(r,t[I].data[a+8]===u)&&Lh(i,a,t)?(s=l,a=Is(c),t=_s(c,t)):a=-1}}return o}function gD(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?jt(a)&&Bu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ys(a,s,n,c,u);return l!==null?vo(t,s,l,a,o):ot}function ys(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let m=s[f];if(f<c&&n===m||f>=c&&m.type===n)return f}if(o){let f=s[c];if(f&&rt(f)&&f.type===n)return c}return null}function vo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof _n){let a=i;if(a.resolving){let f=$f(s[n]);throw qc(f)}let c=kh(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?_e(a.injectImpl):null,h=Cu(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&rD(n,s[n],t)}finally{d!==null&&_e(d),kh(c),a.resolving=!1,Iu()}}return i}function mD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(gn)?e[gn]:void 0;return typeof t=="number"?t>=0?t&Dp:vD:t}
vendor: 3,600 bytes, line 4
4function Lh(e,t,n){let r=1<<e;return!!(n[t+(e>>Ep)]&r)}function Vh(e,t){return!(e&2)&&!(e&1&&t)}var In=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return wp(this._tNode,this._lView,t,ln(r),n)}};function vD(){return new In(oe(),F())}function yr(e){return Io(()=>{let t=e.prototype.constructor,n=t[Yr]||Uu(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Yr]||Uu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Uu(e){return Bc(e)?()=>{let t=Uu(ce(e));return t&&t()}:dn(e)}function yD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!cr(s);){let a=bp(i,s,n,r|2,ot);if(a!==ot)return a;let c=i.parent;if(!c){let u=s[ou];if(u){let l=u.get(n,ot,r);if(l!==ot)return l}c=Sp(s),s=s[mn]}i=c}return o}function Sp(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[ke]:null}function _o(e){return pD(oe(),e)}function DD(){return Dr(oe(),F())}function Dr(e,t){return new Te(qe(e,t))}var Te=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=DD}return e})();function ED(e){return e instanceof Te?e.nativeElement:e}function CD(){return this._results[Symbol.iterator]()}var bs=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new W}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Zf(t);(this._changesDetected=!qf(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=CD};function Mp(e){return(e.flags&128)===128}var ml=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(ml||{}),Tp=new Map,ID=0;function _D(){return ID++}function wD(e){Tp.set(e[oo],e)}function $u(e){Tp.delete(e[oo])}var jh="__ngContext__";function pr(e,t){nt(t)?(e[jh]=t[oo],wD(t)):e[jh]=t}function Np(e){return Rp(e[ar])}function Ap(e){return Rp(e[Pe])}function Rp(e){for(;e!==null&&!We(e);)e=e[Pe];return e}var Gu;function vl(e){Gu=e}function xp(){if(Gu!==void 0)return Gu;if(typeof document<"u")return document;throw new D(210,!1)}var Hs=new y("",{providedIn:"root",factory:()=>bD}),bD="ng",Us=new y(""),Er=new y("",{providedIn:"platform",factory:()=>"unknown"});var $s=new y("",{providedIn:"root",factory:()=>xp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var SD="h",MD="b";var Op="r";var Fp="di";var Pp=!1,kp=new y("",{providedIn:"root",factory:()=>Pp});var yl=new y("");var TD=(e,t,n,r)=>{};function ND(e,t,n,r){TD(e,t,n,r)}function Dl(e){return(e.flags&32)===32}var AD=()=>null;function Lp(e,t,n=!1){return AD(e,t,n)}function Vp(e,t){let n=e.contentQueries;if(n!==null){let r=b(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];cs(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function zu(e,t,n){cs(0);let r=b(null);try{t(e,n)}finally{b(r)}}
vendor: 4,291 bytes, line 4
4function jp(e,t,n){if(su(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{b(r)}}}var Ct=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Ct||{});var ps;function RD(){if(ps===void 0&&(ps=null,Jr.trustedTypes))try{ps=Jr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ps}function Bh(e){return RD()?.createScriptURL(e)||e}var Ss=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ji})`}};function wo(e){return e instanceof Ss?e.changingThisBreaksApplicationSecurity:e}function El(e,t){let n=Bp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ji})`)}return n===t}function Bp(e){return e instanceof Ss&&e.getTypeName()||null}var xD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hp(e){return e=String(e),e.match(xD)?e:"unsafe:"+e}var Gs=(function(e){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})(Gs||{});function zs(e){let t=$p();return t?t.sanitize(Gs.URL,e)||"":El(e,"URL")?wo(e):Hp(eo(e))}function Up(e){let t=$p();if(t)return Bh(t.sanitize(Gs.RESOURCE_URL,e)||"");if(El(e,"ResourceURL"))return Bh(wo(e));throw new D(904,!1)}function OD(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Up:zs}function Cl(e,t,n){return OD(t,n)(e)}function $p(){let e=F();return e&&e[et].sanitizer}function Gp(e){return e instanceof Function?e():e}function FD(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var zp="ng-template";function PD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&FD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Il(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Il(e){return e.type===4&&e.value!==zp}function kD(e,t,n){let r=e.type===4&&!n?zp:e.value;return t===r}function LD(e,t,n){let r=4,o=e.attrs,i=o!==null?BD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ze(r)&&!Ze(c))return!1;if(s&&Ze(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!kD(e,c,n)||c===""&&t.length===1){if(Ze(r))return!1;s=!0}}else if(r&8){if(o===null||!PD(e,o,c,n)){if(Ze(r))return!1;s=!0}}else{let u=t[++a],l=VD(c,o,Il(e),n);if(l===-1){if(Ze(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ze(r))return!1;s=!0}}}}return Ze(r)||s}function Ze(e){return(e&1)===0}function VD(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return HD(t,e)}function jD(e,t,n=!1){for(let r=0;r<t.length;r++)if(LD(e,t[r],n))return!0;return!1}function BD(e){for(let t=0;t<e.length;t++){let n=e[t];if(vp(n))return t}return e.length}function HD(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Hh(e,t){return e?":not("+t.trim()+")":t}function UD(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ze(s)&&(t+=Hh(i,o),o=""),r=s,i=i||!Ze(r);n++}return o!==""&&(t+=Hh(i,o)),t}function $D(e){return e.map(UD).join(",")}function GD(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ze(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var wt={};function zD(e,t){return e.createText(t)}
vendor: 34,883 bytes, line 4
4function WD(e,t,n){e.setValue(t,n)}function Wp(e,t,n){return e.createElement(t,n)}function Ms(e,t,n,r,o){e.insertBefore(t,n,r,o)}function qp(e,t,n){e.appendChild(t,n)}function Uh(e,t,n,r,o){r!==null?Ms(e,t,n,r,o):qp(e,t,n)}function Zp(e,t,n,r){e.removeChild(null,t,n,r)}function qD(e,t,n){e.setAttribute(t,"style",n)}function ZD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Yp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&cD(e,t,r),o!==null&&ZD(e,t,o),i!==null&&qD(e,t,i)}function _l(e,t,n,r,o,i,s,a,c,u,l){let d=me+r,h=d+o,f=YD(d,h),m=typeof u=="function"?u():u;return f[I]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:l}}function YD(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:wt);return n}function QD(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=_l(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function wl(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[ze]=o,d[w]=r|4|128|8|64|1024,(u!==null||e&&e[w]&2048)&&(d[w]|=2048),cu(d),d[re]=d[mn]=e,d[X]=n,d[et]=s||e&&e[et],d[$]=a||e&&e[$],d[sr]=c||e&&e[sr]||null,d[ke]=i,d[oo]=_D(),d[or]=l,d[ou]=u,d[be]=t.type==2?e[be]:d,d}function KD(e,t,n){let r=qe(t,e),o=QD(n),i=e[et].rendererFactory,s=bl(e,wl(e,o,null,Qp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Qp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Kp(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function bl(e,t){return e[ar]?e[ru][Pe]=t:e[ar]=t,e[ru]=t,t}function it(e=1){Jp(ae(),F(),Ht()+e,!1)}function Jp(e,t,n,r){if(!r)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ms(t,i,n)}else{let i=e.preOrderHooks;i!==null&&vs(t,i,0,n)}Ut(n)}var Ws=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ws||{});function Wu(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ws.SignalBased)!==0&&(c=t[i][fe]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):fp(t,c,i,r)}finally{b(o)}}var It=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(It||{}),JD;function Sl(e,t){return JD(e,t)}var qs=new Set;function dr(e,t,n,r,o,i){if(r!=null){let s,a=!1;We(r)?s=r:nt(r)&&(a=!0,r=r[ze]);let c=Le(r);e===0&&n!==null?o==null?qp(t,n,c):Ms(t,n,c,o||null,!0):e===1&&n!==null?Ms(t,n,c,o||null,!0):e===2?$h(i,u=>{Zp(t,c,a,u)}):e===3&&$h(i,()=>{t.destroyNode(c)}),s!=null&&dE(t,e,s,n,o)}}function XD(e,t){Xp(e,t),t[ze]=null,t[ke]=null}function eE(e,t,n,r,o,i){r[ze]=o,r[ke]=t,Ys(e,r,n,1,o,i)}function Xp(e,t){t[et].changeDetectionScheduler?.notify(9),Ys(e,t,t[$],2,null,null)}function tE(e){let t=e[ar];if(!t)return xu(e[I],e);for(;t;){let n=null;if(nt(t))n=t[ar];else{let r=t[ee];r&&(n=r)}if(!n){for(;t&&!t[Pe]&&t!==e;)nt(t)&&xu(t[I],t),t=t[re];t===null&&(t=e),nt(t)&&xu(t[I],t),n=t&&t[Pe]}t=n}}function Ml(e,t){let n=e[Dn],r=n.indexOf(t);n.splice(r,1)}function Zs(e,t){if(En(t))return;let n=t[$];n.destroyNode&&Ys(e,t,n,3,null,null),tE(t)}function xu(e,t){if(En(t))return;let n=b(null);try{t[w]&=-129,t[w]|=256,t[Se]&&$r(t[Se]),oE(e,t),rE(e,t),t[I].type===1&&t[$].destroy();let r=t[Lt];if(r!==null&&We(t[re])){r!==t[re]&&Ml(r,t);let o=t[tt];o!==null&&o.detachView(e)}$u(t)}finally{b(n)}}function $h(e,t){if(e&&e[ue]&&e[ue].leave)if(e[ue].skipLeaveAnimations)e[ue].skipLeaveAnimations=!1;else{let n=e[ue].leave,r=[];for(let o=0;o<n.length;o++){let i=n[o];r.push(i())}e[ue].running=Promise.allSettled(r),e[ue].leave=void 0}nE(e,t)}function nE(e,t){if(e&&e[ue]&&e[ue].running){e[ue].running.then(()=>{e[ue]&&e[ue].running&&(e[ue].running=void 0),qs.delete(e),t(!0)});return}t(!1)}function rE(e,t){let n=e.cleanup,r=t[ir];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[ir]=null);let o=t[gt];if(o!==null){t[gt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[io];if(i!==null){t[io]=null;for(let s of i)s.destroy()}}function oE(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof _n)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];H(4,a,c);try{c.call(a)}finally{H(5,a,c)}}else{H(4,o,i);try{i.call(o)}finally{H(5,o,i)}}}}}function iE(e,t,n){return sE(e,t.parent,n)}function sE(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ze];if(jt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ct.None||o===Ct.Emulated)return null}return qe(r,n)}function aE(e,t,n){return uE(e,t,n)}function cE(e,t,n){return e.type&40?qe(e,n):null}var uE=cE,Gh;function Tl(e,t,n,r){let o=iE(e,r,t),i=t[$],s=r.parent||t[ke],a=aE(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Uh(i,o,n[c],a,!1);else Uh(i,o,n,a,!1);Gh!==void 0&&Gh(i,r,t,n,o)}function go(e,t){if(t!==null){let n=t.type;if(n&3)return qe(t,e);if(n&4)return qu(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return go(e,r);{let o=e[t.index];return We(o)?qu(-1,o):Le(o)}}else{if(n&128)return go(e,t.next);if(n&32)return Sl(t,e)()||Le(e[t.index]);{let r=eg(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ot(e[be]);return go(o,r)}else return go(e,t.next)}}}return null}function eg(e,t){if(t!==null){let r=e[be][ke],o=t.projection;return r.projection[o]}return null}function qu(e,t){let n=ee+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return go(r,o)}return t[Vt]}function Nl(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&pr(Le(a),r),n.flags|=2),!Dl(n))if(c&8)Nl(e,t,n.child,r,o,i,!1),dr(t,e,o,a,i,r);else if(c&32){let u=Sl(n,r),l;for(;l=u();)dr(t,e,o,l,i,r);dr(t,e,o,a,i,r)}else c&16?lE(e,t,r,n,o,i):dr(t,e,o,a,i,r);n=s?n.projectionNext:n.next}}function Ys(e,t,n,r,o,i){Nl(n,r,e.firstChild,t,o,i,!1)}function lE(e,t,n,r,o,i){let s=n[be],c=s[ke].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];dr(t,e,o,l,i,n)}else{let u=c,l=s[re];Mp(r)&&(u.flags|=128),Nl(e,t,u,l,o,i,!0)}}function dE(e,t,n,r,o){let i=n[Vt],s=Le(n);i!==s&&dr(t,e,r,i,o);for(let a=ee;a<n.length;a++){let c=n[a];Ys(c[I],c,e,t,r,i)}}function fE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:It.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=It.Important),e.setStyle(n,r,o,i))}}function tg(e,t,n,r,o){let i=Ht(),s=r&2;try{Ut(-1),s&&t.length>me&&Jp(e,t,me,!1),H(s?2:0,o,n),n(r,o)}finally{Ut(i),H(s?3:1,o,n)}}function ng(e,t,n){yE(e,t,n),(n.flags&64)===64&&DE(e,t,n)}function Al(e,t,n=qe){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function hE(e,t,n,r){let i=r.get(kp,Pp)||n===Ct.ShadowDom,s=e.selectRootElement(t,i);return pE(s),s}function pE(e){gE(e)}var gE=()=>null;function mE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function rg(e,t,n,r,o,i){let s=t[I];if(Rl(e,s,t,n,r)){jt(e)&&vE(t,e.index);return}e.type&3&&(n=mE(n)),og(e,t,n,r,o,i)}function og(e,t,n,r,o,i){if(e.type&3){let s=qe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function vE(e,t){let n=Ve(t,e);n[w]&16||(n[w]|=64)}function yE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;jt(n)&&KD(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ws(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=vo(t,e,s,n);if(pr(c,t),i!==null&&wE(t,s-r,c,a,n,i),rt(a)){let u=Ve(n.index,t);u[X]=vo(t,e,s,n)}}}function DE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=_h();try{Ut(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];as(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&EE(c,u)}}finally{Ut(-1),as(s)}}function EE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function CE(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];jD(t,i.selectors,!1)&&(r??=[],rt(i)?r.unshift(i):r.push(i))}return r}function IE(e,t,n,r,o,i){let s=qe(e,t);_E(t[$],s,i,e.value,n,r,o)}function _E(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?eo(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function wE(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Wu(r,n,c,u)}}function ig(e,t,n,r,o){let i=me+n,s=t[I],a=o(s,t,e,r,n);t[i]=a,lr(e,!0);let c=e.type===2;return c?(Yp(t[$],a,e),(fh()===0||os(e))&&pr(a,t),hh()):pr(a,t),ds()&&(!c||!Dl(e))&&Tl(s,t,a,e),e}function sg(e){let t=e;return vu()?vh():(t=t.parent,lr(t,!1)),t}function bE(e,t){let n=e[sr];if(!n)return;let r;try{r=n.get(Me,null)}catch{r=null}r?.(t)}function Rl(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];Wu(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Wu(l,u,r,o),a=!0}return a}function SE(e,t){let n=Ve(t,e),r=n[I];ME(r,n);let o=n[ze];o!==null&&n[or]===null&&(n[or]=Lp(o,n[sr])),H(18),xl(r,n,n[X]),H(19,n[X])}function ME(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function xl(e,t,n){us(t);try{let r=e.viewQuery;r!==null&&zu(1,r,n);let o=e.template;o!==null&&tg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[tt]?.finishViewCreation(e),e.staticContentQueries&&Vp(e,t),e.staticViewQueries&&zu(2,e.viewQuery,n);let i=e.components;i!==null&&TE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w]&=-5,ls()}}function TE(e,t){for(let n=0;n<t.length;n++)SE(e,t[n])}function Ol(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[w]&4096?4096:16,c=wl(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Lt]=u;let l=e[tt];return l!==null&&(c[tt]=l.createEmbeddedView(i)),xl(i,c,n),c}finally{b(o)}}function Ts(e,t){return!t||t.firstChild===null||Mp(e)}function yo(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Le(i)),We(i)&&ag(i,r);let s=n.type;if(s&8)yo(e,t,n.child,r);else if(s&32){let a=Sl(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=eg(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ot(t[be]);yo(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function ag(e,t){for(let n=ee;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&yo(r[I],r,o,t)}e[Vt]!==e[ze]&&t.push(e[Vt])}function cg(e){if(e[yn]!==null){for(let t of e[yn])t.impl.addSequence(t);e[yn].length=0}}var ug=[];function NE(e){return e[Se]??AE(e)}function AE(e){let t=ug.pop()??Object.create(xE);return t.lView=e,t}function RE(e){e.lView[Se]!==e&&(e.lView=null,ug.push(e))}var xE=A(g({},Un),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ur(e.lView)},consumerOnSignalRead(){this.lView[Se]=this}});function OE(e){let t=e[Se]??Object.create(FE);return t.lView=e,t}var FE=A(g({},Un),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ot(e.lView);for(;t&&!lg(t[I]);)t=Ot(t);t&&uu(t)},consumerOnSignalRead(){this.lView[Se]=this}});function lg(e){return e.type!==2}function dg(e){if(e[io]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[io])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w]&8192)}}var PE=100;function fg(e,t=0){let r=e[et].rendererFactory,o=!1;o||r.begin?.();try{kE(e,t)}finally{o||r.end?.()}}function kE(e,t){let n=yu();try{Du(!0),Zu(e,t);let r=0;for(;co(e);){if(r===PE)throw new D(103,!1);r++,Zu(e,1)}}finally{Du(n)}}function LE(e,t,n,r){if(En(t))return;let o=t[w],i=!1,s=!1;us(t);let a=!0,c=null,u=null;i||(lg(e)?(u=NE(t),c=Gn(u)):Ei()===null?(a=!1,u=OE(t),c=Gn(u)):t[Se]&&($r(t[Se]),t[Se]=null));try{cu(t),Dh(e.bindingStartIndex),n!==null&&tg(e,t,n,2,r),VE(t);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ms(t,f,null)}else{let f=e.preOrderHooks;f!==null&&vs(t,f,0,null),Au(t,0)}if(s||jE(t),dg(t),hg(t,0),e.contentQueries!==null&&Vp(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&ms(t,f)}else{let f=e.contentHooks;f!==null&&vs(t,f,1),Au(t,1)}HE(e,t);let d=e.components;d!==null&&gg(t,d,0);let h=e.viewQuery;if(h!==null&&zu(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ms(t,f)}else{let f=e.viewHooks;f!==null&&vs(t,f,2),Au(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[rs]){for(let f of t[rs])f();t[rs]=null}i||(cg(t),t[w]&=-73)}catch(l){throw i||ur(t),l}finally{u!==null&&(Hr(u,c),a&&RE(u)),ls()}}function VE(e){let t=e[ue];if(t?.enter){for(let n of t.enter)n();t.enter=void 0}}function hg(e,t){for(let n=Np(e);n!==null;n=Ap(n))for(let r=ee;r<n.length;r++){let o=n[r];pg(o,t)}}function jE(e){for(let t=Np(e);t!==null;t=Ap(t)){if(!(t[w]&2))continue;let n=t[Dn];for(let r=0;r<n.length;r++){let o=n[r];uu(o)}}}function BE(e,t,n){H(18);let r=Ve(t,e);pg(r,n),H(19,r[X])}function pg(e,t){is(e)&&Zu(e,t)}function Zu(e,t){let r=e[I],o=e[w],i=e[Se],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ur(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)LE(r,e,r.template,e[X]);else if(o&8192){let a=b(null);try{dg(e),hg(e,1);let c=r.components;c!==null&&gg(e,c,1),cg(e)}finally{b(a)}}}function gg(e,t,n){for(let r=0;r<t.length;r++)BE(e,t[r],n)}function HE(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Ut(~o);else{let i=o,s=n[++r],a=n[++r];Ih(s,i);let c=t[i];H(24,c),a(2,c),H(25,c)}}}finally{Ut(-1)}}function Fl(e,t){let n=yu()?64:1088;for(e[et].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=Ot(e);if(cr(e)&&!r)return e;e=r}return null}function mg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function UE(e,t){let n=ee+t;if(n<e.length)return e[n]}function Pl(e,t,n,r=!0){let o=t[I];if(GE(o,t,e,n),r){let s=qu(n,e),a=t[$],c=a.parentNode(e[Vt]);c!==null&&eE(o,e[ke],a,t,c,s)}let i=t[or];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function $E(e,t){let n=Do(e,t);return n!==void 0&&Zs(n[I],n),n}function Do(e,t){if(e.length<=ee)return;let n=ee+t,r=e[n];if(r){let o=r[Lt];o!==null&&o!==e&&Ml(o,r),t>0&&(e[n-1][Pe]=r[Pe]);let i=to(e,ee+t);XD(r[I],r);let s=i[tt];s!==null&&s.detachView(i[I]),r[re]=null,r[Pe]=null,r[w]&=-129}return r}function GE(e,t,n,r){let o=ee+r,i=n.length;r>0&&(n[o-1][Pe]=t),r<i-ee?(t[Pe]=n[o],Yc(n,ee+r,t)):(n.push(t),t[Pe]=null),t[re]=n;let s=t[Lt];s!==null&&n!==s&&vg(s,t);let a=t[tt];a!==null&&a.insertView(e),ss(t),t[w]|=128}function vg(e,t){let n=e[Dn],r=t[re];if(nt(r))e[w]|=2;else{let o=r[re][be];t[be]!==o&&(e[w]|=2)}n===null?e[Dn]=[t]:n.push(t)}var $t=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[I];return yo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[X]}set context(t){this._lView[X]=t}get destroyed(){return En(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[re];if(We(t)){let n=t[so],r=n?n.indexOf(this):-1;r>-1&&(Do(t,r),to(n,r))}this._attachedToViewContainer=!1}Zs(this._lView[I],this._lView)}onDestroy(t){lu(this._lView,t)}markForCheck(){Fl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){ss(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,fg(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=cr(this._lView),n=this._lView[Lt];n!==null&&!t&&Ml(n,this._lView),Xp(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=cr(this._lView),r=this._lView[Lt];r!==null&&!n&&vg(r,this._lView),ss(this._lView)}};var gr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=zE;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Ol(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new $t(i)}}return e})();function zE(){return kl(oe(),F())}function kl(e,t){return e.type&4?new gr(t,e,Dr(e,t)):null}function Qs(e,t,n,r,o){let i=e.data[t];if(i===null)i=WE(e,t,n,r,o),Ch()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=mh();i.injectorIndex=s===null?-1:s.injectorIndex}return lr(i,!0),i}function WE(e,t,n,r,o){let i=mu(),s=vu(),a=s?i:i&&i.parent,c=e.data[t]=ZE(e,a,n,t,r,o);return qE(e,c,i,s),c}function qE(e,t,n,r){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))}function ZE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return gh()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var mx=new RegExp(`^(\\d+)*(${MD}|${SD})*(.*)`);function YE(e){let t=e[iu]??[],r=e[re][$],o=[];for(let i of t)i.data[Fp]!==void 0?o.push(i):QE(i,r);e[iu]=o}function QE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Op];for(;n<o;){let i=r.nextSibling;Zp(t,r,!1),r=i,n++}}}var KE=()=>null,JE=()=>null;function Yu(e,t){return KE(e,t)}function XE(e,t,n){return JE(e,t,n)}var yg=class{},Ks=class{},Qu=class{resolveComponentFactory(t){throw new D(917,!1)}},bo=class{static NULL=new Qu},wn=class{},bt=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>eC()}return e})();function eC(){let e=F(),t=oe(),n=Ve(t.index,e);return(nt(n)?n:e)[$]}var Dg=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>null})}return e})();var Ds={},Ku=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Ds,r);return o!==Ds||n===Ds?o:this.parentInjector.get(t,n,r)}};function Ns(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=jc(o,a);else if(i==2){let c=a,u=t[++s];r=jc(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function x(e,t=0){let n=F();if(n===null)return E(e,t);let r=oe();return wp(r,n,ce(e),t)}function Ll(){let e="invalid";throw new Error(e)}function tC(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}oC(e,t,n,a,i,c,u)}i!==null&&r!==null&&nC(n,r,i)}function nC(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new D(-301,!1);r.push(t[o],i)}}function rC(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function oC(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&rt(f)&&(c=!0,rC(e,n,h)),Hu(ws(n,t),e,f.type)}lC(n,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Kp(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=hr(n.mergedAttrs,f.hostAttrs),sC(e,n,t,d,f),uC(d,f,o),s!==null&&s.has(f)){let[_,O]=s.get(f);n.directiveToIndex.set(f.type,[d,_+n.directiveStart,O+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let m=f.type.prototype;!u&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}iC(e,n,i)}function iC(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))zh(0,t,o,r),zh(1,t,o,r),qh(t,r,!1);else{let i=n.get(o);Wh(0,t,i,r),Wh(1,t,i,r),qh(t,r,!0)}}}function zh(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Eg(t,i)}}function Wh(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Eg(t,s)}}function Eg(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function qh(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Il(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function sC(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=dn(o.type,!0)),s=new _n(i,rt(o),x,null);e.blueprint[r]=s,n[r]=s,aC(e,t,r,Kp(e,n,o.hostVars,wt),o)}function aC(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;cC(s)!=a&&s.push(a),s.push(n,r,i)}}function cC(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function uC(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;rt(t)&&(n[""]=e)}}function lC(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Cg(e,t,n,r,o,i,s,a){let c=t[I],u=c.consts,l=Bt(u,s),d=Qs(c,e,n,r,l);return i&&tC(c,t,d,Bt(u,a),o),d.mergedAttrs=hr(d.mergedAttrs,d.attrs),d.attrs!==null&&Ns(d,d.attrs,!1),d.mergedAttrs!==null&&Ns(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Ig(e,t){oD(e,t),su(t)&&e.queries.elementEnd(t)}function dC(e,t,n,r,o,i){let s=t.consts,a=Bt(s,o),c=Qs(t,e,n,r,a);if(c.mergedAttrs=hr(c.mergedAttrs,c.attrs),i!=null){let u=Bt(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Ns(c,c.attrs,!1),c.mergedAttrs!==null&&Ns(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function fC(e,t,n){return e[t]=n}function Gt(e,t,n){if(n===wt)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Es(e,t,n){return function r(o){let i=jt(e)?Ve(e.index,t):t;Fl(i,5);let s=t[X],a=Zh(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Zh(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Zh(e,t,n,r){let o=b(null);try{return H(6,t,n),n(r)!==!1}catch(i){return bE(e,i),!1}finally{H(7,t,n),b(o)}}function _g(e,t,n,r,o,i,s,a){let c=os(e),u=!1,l=null;if(!r&&c&&(l=pC(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=qe(e,n),h=r?r(d):d;ND(n,h,i,a);let f=o.listen(h,i,a);if(!hC(i)){let m=r?_=>r(Le(_[e.index])):e.index;wg(m,t,n,i,a,f,!1)}}return u}function hC(e){return e.startsWith("animation")||e.startsWith("transition")}function pC(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[ir],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function wg(e,t,n,r,o,i,s){let a=t.firstCreatePass?fu(t):null,c=du(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Yh(e,t,n,r,o,i){let s=t[n],a=t[I],u=a.data[n].outputs[r],d=s[u].subscribe(i);wg(e.index,a,t,o,i,d,!0)}var Ju=Symbol("BINDING");var As=class extends bo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=yt(t);return new bn(n,this.ngModule)}};function gC(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ws.SignalBased)!==0};return o&&(i.transform=o),i})}function mC(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function vC(e,t,n){let r=t instanceof ne?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ku(n,r):n}function yC(e){let t=e.get(wn,null);if(t===null)throw new D(407,!1);let n=e.get(Dg,null),r=e.get(Ft,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function DC(e,t){let n=bg(e);return Wp(t,n,n==="svg"?ih:n==="math"?sh:null)}function bg(e){return(e.selectors[0][0]||"div").toLowerCase()}var bn=class extends Ks{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=gC(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=mC(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=$D(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){H(22);let a=b(null);try{let c=this.componentDef,u=EC(r,c,s,i),l=vC(c,o||this.ngModule,t),d=yC(l),h=d.rendererFactory.createRenderer(null,c),f=r?hE(h,r,c.encapsulation,l):DC(c,h),m=s?.some(Qh)||i?.some(T=>typeof T!="function"&&T.bindings.some(Qh)),_=wl(null,u,null,512|Qp(c),null,null,d,h,l,null,Lp(f,l,!0));_[me]=f,us(_);let O=null;try{let T=Cg(me,_,2,"#host",()=>u.directiveRegistry,!0,0);Yp(h,f,T),pr(f,_),ng(u,_,T),jp(u,T,_),Ig(u,T),n!==void 0&&IC(T,this.ngContentSelectors,n),O=Ve(T.index,_),_[X]=O[X],xl(u,_,null)}catch(T){throw O!==null&&$u(O),$u(_),T}finally{H(23),ls()}return new Rs(this.componentType,_,!!m)}finally{b(a)}}};function EC(e,t,n,r){let o=e?["ng-version","20.3.3"]:GD(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ju].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let h of d.bindings){a+=h[Ju].requiredVars;let f=l+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=Xc(d);c.push(h)}return _l(0,null,CC(i,s),1,a,c,null,null,null,[o],null)}function CC(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Qh(e){let t=e[Ju].kind;return t==="input"||t==="twoWay"}var Rs=class extends yg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ao(n[I],me),this.location=Dr(this._tNode,n),this.instance=Ve(this._tNode.index,n)[X],this.hostView=this.changeDetectorRef=new $t(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Rl(r,o[I],o,t,n);this.previousInputValues.set(t,n);let s=Ve(r.index,o);Fl(s,1)}get injector(){return new In(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function IC(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Mn=(()=>{class e{static __NG_ELEMENT_ID__=_C}return e})();function _C(){let e=oe();return Mg(e,F())}var wC=Mn,Sg=class extends wC{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Dr(this._hostTNode,this._hostLView)}get injector(){return new In(this._hostTNode,this._hostLView)}get parentInjector(){let t=gl(this._hostTNode,this._hostLView);if(yp(t)){let n=_s(t,this._hostLView),r=Is(t),o=n[I].data[r+8];return new In(o,n)}else return new In(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Kh(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ee}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Yu(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ts(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Xy(t),u;if(c)u=n;else{let O=n||{};u=O.index,r=O.injector,o=O.projectableNodes,i=O.environmentInjector||O.ngModuleRef,s=O.directives,a=O.bindings}let l=c?t:new bn(yt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let T=(c?d:this.parentInjector).get(ne,null);T&&(i=T)}let h=yt(l.componentType??{}),f=Yu(this._lContainer,h?.id??null),m=f?.firstChild??null,_=l.create(d,o,m,i,s,a);return this.insertImpl(_.hostView,u,Ts(this._hostTNode,f)),_}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(ch(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[re],u=new Sg(c,c[ke],c[re]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Pl(s,o,i,r),t.attachToViewContainerRef(),Yc(Ou(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Kh(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Do(this._lContainer,n);r&&(to(Ou(this._lContainer),n),Zs(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Do(this._lContainer,n);return r&&to(Ou(this._lContainer),n)!=null?new $t(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Kh(e){return e[so]}function Ou(e){return e[so]||(e[so]=[])}function Mg(e,t){let n,r=t[e.index];return We(r)?n=r:(n=mg(r,t,null,e),t[e.index]=n,bl(t,n)),SC(n,t,e,r),new Sg(n,e,t)}function bC(e,t){let n=e[$],r=n.createComment(""),o=qe(t,e),i=n.parentNode(o);return Ms(n,i,r,n.nextSibling(o),!1),r}var SC=NC,MC=()=>!1;function TC(e,t,n){return MC(e,t,n)}function NC(e,t,n,r){if(e[Vt])return;let o;n.type&8?o=Le(r):o=bC(t,n),e[Vt]=o}var Xu=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},el=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Vl(t,n).matches!==null&&this.queries[n].setDirty()}},xs=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=LC(t):this.predicate=t}},tl=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},nl=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,AC(n,i)),this.matchTNodeWithReadOption(t,n,ys(n,t,i,!1,!1))}else r===gr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ys(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Te||o===Mn||o===gr&&n.type&4)this.addMatch(n.index,-2);else{let i=ys(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function AC(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function RC(e,t){return e.type&11?Dr(e,t):e.type&4?kl(e,t):null}function xC(e,t,n,r){return n===-1?RC(t,e):n===-2?OC(e,t,r):vo(e,e[I],n,t)}function OC(e,t,n){if(n===Te)return Dr(t,e);if(n===gr)return kl(t,e);if(n===Mn)return Mg(t,e)}function Tg(e,t,n,r){let o=t[tt].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(xC(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function rl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Tg(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=ee;d<l.length;d++){let h=l[d];h[Lt]===h[re]&&rl(h[I],h,u,r)}if(l[Dn]!==null){let d=l[Dn];for(let h=0;h<d.length;h++){let f=d[h];rl(f[I],f,u,r)}}}}}return r}function FC(e,t){return e[tt].queries[t].queryList}function Ng(e,t,n){let r=new bs((n&4)===4);return dh(e,t,r,r.destroy),(t[tt]??=new el).queries.push(new Xu(r))-1}
vendor: 4,339 bytes, line 4
4function PC(e,t,n){let r=ae();return r.firstCreatePass&&(Ag(r,new xs(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ng(r,F(),t)}function kC(e,t,n,r){let o=ae();if(o.firstCreatePass){let i=oe();Ag(o,new xs(t,n,r),i.index),VC(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ng(o,F(),n)}function LC(e){return e.split(",").map(t=>t.trim())}function Ag(e,t,n){e.queries===null&&(e.queries=new tl),e.queries.track(new nl(t,n))}function VC(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Vl(e,t){return e.queries.getByIndex(t)}function jC(e,t){let n=e[I],r=Vl(n,t);return r.crossesNgTemplate?rl(n,e,t,[]):Tg(n,e,r,t)}var Jh=new Set;function zt(e){Jh.has(e)||(Jh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var mr=class{},Js=class{};var Os=class extends mr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new As(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Jc(t);this._bootstrapComponents=Gp(i.bootstrap),this._r3Injector=_u(t,n,[{provide:mr,useValue:this},{provide:bo,useValue:this.componentFactoryResolver},...r],mt(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Fs=class extends Js{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Os(this.moduleType,t,[])}};var Eo=class extends mr{injector;componentFactoryResolver=new As(this);instance=null;constructor(t){super();let n=new hn([...t.providers,{provide:mr,useValue:this},{provide:bo,useValue:this.componentFactoryResolver}],t.parent||ro(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Cr(e,t,n=null){return new Eo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var BC=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=eu(!1,n.type),o=r.length>0?Cr([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(E(ne))})}return e})();function Ne(e){return Io(()=>{let t=Rg(e),n=A(g({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ml.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(BC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ct.Emulated,styles:e.styles||we,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&zt("NgStandalone"),xg(n);let r=e.dependencies;return n.directiveDefs=Xh(r,HC),n.pipeDefs=Xh(r,Kf),n.id=GC(n),n})}function HC(e){return yt(e)||Xc(e)}function st(e){return Io(()=>({type:e.type,bootstrap:e.bootstrap||we,declarations:e.declarations||we,imports:e.imports||we,exports:e.exports||we,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function UC(e,t){if(e==null)return Pt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Ws.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function $C(e){if(e==null)return Pt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ae(e){return Io(()=>{let t=Rg(e);return xg(t),t})}function Rg(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.input
vendor: 34,782 bytes, line 4
4s||Pt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||we,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:UC(e.inputs,t),outputs:$C(e.outputs),debugInfo:null}}function xg(e){e.features?.forEach(t=>t(e))}function Xh(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function GC(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function zC(e){return Object.getPrototypeOf(e.prototype).constructor}function Tn(e){let t=zC(e.type),n=!0,r=[e];for(;t;){let o;if(rt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Fu(e.inputs),s.declaredInputs=Fu(e.declaredInputs),s.outputs=Fu(e.outputs);let a=o.hostBindings;a&&QC(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&ZC(e,c),u&&YC(e,u),WC(e,o),Uf(e.outputs,o.outputs),rt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Tn&&(n=!1)}}t=Object.getPrototypeOf(t)}qC(r)}function WC(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function qC(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=hr(o.hostAttrs,n=hr(n,o.hostAttrs))}}function Fu(e){return e===Pt?{}:e===we?[]:e}function ZC(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function YC(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function QC(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function KC(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=hr(e.mergedAttrs,e.attrs);let l=e.tView=_l(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),lr(e,!1);let c=JC(n,t,e,r);ds()&&Tl(n,t,c,e),pr(c,t);let u=mg(c,t,c,e);t[r+me]=u,bl(t,u),TC(u,e,t)}function ep(e,t,n,r,o,i,s,a,c,u,l){let d=n+me,h;if(t.firstCreatePass){if(h=Qs(t,d,4,s||null,a||null),u!=null){let f=Bt(t.consts,u);h.localNames=[];for(let m=0;m<f.length;m+=2)h.localNames.push(f[m],-1)}}else h=t.data[d];return KC(h,e,t,n,r,o,i,c),u!=null&&Al(e,h,l),h}var JC=XC;function XC(e,t,n,r){return fs(!0),t[$].createComment("")}var Xs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Xs||{}),Nn=new y(""),Og=!1,ol=class extends W{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,rh()&&(this.destroyRef=p(Dt,{optional:!0})??void 0,this.pendingTasks=p(Et,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof K&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},te=ol;function Fg(e){let t,n;function r(){e=po;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function tp(e){return queueMicrotask(()=>e()),()=>{e=po}}var jl="isAngularZone",Ps=jl+"_ID",eI=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new te(!1);onMicrotaskEmpty=new te(!1);onStable=new te(!1);onError=new te(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Og}=t;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,rI(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(jl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,tI,po,po);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},tI={};function Bl(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function nI(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Fg(()=>{e.callbackScheduled=!1,il(e),e.isCheckStableRunning=!0,Bl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),il(e)}function rI(e){let t=()=>{nI(e)},n=eI++;e._inner=e._inner.fork({name:"angular",properties:{[jl]:!0,[Ps]:n,[Ps+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(oI(c))return r.invokeTask(i,s,a,c);try{return np(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),rp(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return np(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!iI(c)&&t(),rp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,il(e),Bl(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function il(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function np(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function rp(e){e._nesting--,Bl(e)}var ks=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new te;onMicrotaskEmpty=new te;onStable=new te;onError=new te;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function oI(e){return Pg(e,"__ignore_ng_zone__")}function iI(e){return Pg(e,"__scheduler_tick__")}function Pg(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Hl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),kg=[0,1,2,3],Lg=(()=>{class e{ngZone=p(Q);scheduler=p(Ft);errorHandler=p($e,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(Nn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&H(16),this.executing=!0;for(let r of kg)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&H(17)}register(n){let{view:r}=n;r!==void 0?((r[yn]??=[]).push(n),ur(r),r[w]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Xs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ls=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[yn];t&&(this.view[yn]=t.filter(n=>n!==this))}};function ea(e,t){let n=t?.injector??p(Ce);return zt("NgAfterNextRender"),aI(e,n,t,!0)}function sI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function aI(e,t,n,r){let o=t.get(Hl);o.impl??=t.get(Lg);let i=t.get(Nn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Dt):null,a=t.get(hs,null,{optional:!0}),c=new Ls(o.impl,sI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ul=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var $l=new y("");function An(e){return!!e&&typeof e.then=="function"}function Vg(e){return!!e&&typeof e.subscribe=="function"}var Gl=new y("");function ta(e){return kt([{provide:Gl,multi:!0,useValue:e}])}var zl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(Gl,{optional:!0})??[];injector=p(Ce);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=he(this.injector,o);if(An(i))n.push(i);else if(Vg(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),So=new y("");function jg(){dc(()=>{let e="";throw new D(600,e)})}function Bg(e){return e.isBoundToModule}var cI=10;var Wt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Me);afterRenderManager=p(Hl);zonelessEnabled=p(ho);rootEffectScheduler=p(Nu);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new W;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(Et);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(N(n=>!n))}constructor(){p(Nn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(ne);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ce.NULL){return this._injector.get(Q).run(()=>{H(10);let s=n instanceof Ks;if(!this._injector.get(zl).done){let m="";throw new D(405,m)}let c;s?c=n:c=this._injector.get(bo).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Bg(c)?void 0:this._injector.get(mr),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get($l,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),mo(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),H(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){H(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Xs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new D(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),H(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(wn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<cI;)H(14),this.synchronizeOnce(),H(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!co(o))continue;let i=r&&!this.zonelessEnabled?0:1;fg(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>co(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;mo(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(So,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>mo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function mo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Mo(e,t,n,r){let o=F(),i=Cn();if(Gt(o,i,t)){let s=ae(),a=fo();IE(a,o,e,t,n,r)}return Mo}var _x=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var sl=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t,!0))}};function Pu(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function uI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Pu(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],m=Pu(s,h,c,f,n);if(m!==0){m<0&&e.updateValue(s,f),s--,c--;continue}let _=n(i,u),O=n(s,h),T=n(i,l);if(Object.is(T,O)){let rn=n(c,f);Object.is(rn,_)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Vs,o??=ip(e,i,s,n),al(e,r,i,T))e.updateValue(i,l),i++,s++;else if(o.has(T))r.set(_,e.detach(i)),s--;else{let rn=e.create(i,t[i]);e.attach(i,rn),i++,s++}}for(;i<=c;)op(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=Pu(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new Vs,o??=ip(e,i,s,n);let f=n(i,d);if(al(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let m=n(i,l);r.set(m,e.detach(i)),s--}}}for(;!u.done;)op(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function al(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function op(e,t,n,r,o){if(al(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ip(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Vs=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};var cl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ee}};function Wl(e){return e}var ul=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ql(e,t,n,r,o,i,s,a,c,u,l,d,h){zt("NgControlFlow");let f=F(),m=ae(),_=c!==void 0,O=F(),T=a?s.bind(O[be][X]):s,rn=new ul(_,T);O[me+e]=rn,ep(f,m,e+1,t,n,r,o,Bt(m.consts,i),256),_&&ep(f,m,e+2,c,u,l,d,Bt(m.consts,h),512)}var ll=class extends sl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-ee}at(t){return this.getLView(t)[X].$implicit}attach(t,n){let r=n[or];this.needsIndexUpdate||=t!==this.length,Pl(this.lContainer,n,t,Ts(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&lI(this.lContainer,t),dI(this.lContainer,t)}create(t,n){let r=Yu(this.lContainer,this.templateTNode.tView.ssrId),o=Ol(this.hostLView,this.templateTNode,new cl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Zs(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[X].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[X].$index=t}getLView(t){return fI(this.lContainer,t)}};function Zl(e){let t=b(null),n=Ht();try{let r=F(),o=r[I],i=r[n],s=n+1,a=sp(r,s);if(i.liveCollection===void 0){let u=ap(o,s);i.liveCollection=new ll(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(uI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=Cn(),l=c.length===0;if(Gt(r,u,l)){let d=n+2,h=sp(r,d);if(l){let f=ap(o,d),m=XE(h,f,r),_=Ol(r,f,void 0,{dehydratedView:m});Pl(h,_,0,Ts(f,m))}else o.firstUpdatePass&&YE(h),$E(h,0)}}}finally{b(t)}}function sp(e,t){return e[t]}function lI(e,t){if(e.length<=ee)return;let n=ee+t,r=e[n];r&&r[ue]&&(r[ue].skipLeaveAnimations=!0)}function dI(e,t){return Do(e,t)}function fI(e,t){return UE(e,t)}function ap(e,t){return ao(e,t)}function na(e,t,n){let r=F(),o=Cn();if(Gt(r,o,t)){let i=ae(),s=fo();rg(s,r,e,t,r[$],n)}return na}function cp(e,t,n,r,o){Rl(t,e,n,o?"class":"style",r)}function U(e,t,n,r){let o=F(),i=o[I],s=e+me,a=i.firstCreatePass?Cg(s,o,2,t,CE,ph(),n,r):i.data[s];if(ig(a,o,e,t,Hg),os(a)){let c=o[I];ng(c,o,a),jp(c,a,o)}return r!=null&&Al(o,a),U}function G(){let e=ae(),t=oe(),n=sg(t);return e.firstCreatePass&&Ig(e,n),pu(n)&&gu(),hu(),n.classesWithoutHost!=null&&sD(n)&&cp(e,n,F(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&aD(n)&&cp(e,n,F(),n.stylesWithoutHost,!1),G}function Rn(e,t,n,r){return U(e,t,n,r),G(),Rn}function Ir(e,t,n,r){let o=F(),i=o[I],s=e+me,a=i.firstCreatePass?dC(s,i,2,t,n,r):i.data[s];return ig(a,o,e,t,Hg),r!=null&&Al(o,a),Ir}function _r(){let e=oe(),t=sg(e);return pu(t)&&gu(),hu(),_r}function ra(e,t,n,r){return Ir(e,t,n,r),_r(),ra}var Hg=(e,t,n,r,o)=>(fs(!0),Wp(t[$],r,Nh()));function Yl(){return F()}function oa(e,t,n){let r=F(),o=Cn();if(Gt(r,o,t)){let i=ae(),s=fo();og(s,r,e,t,r[$],n)}return oa}var To="en-US";var hI=To;function Ug(e){typeof e=="string"&&(hI=e.toLowerCase().replace(/_/g,"-"))}function qt(e,t,n){let r=F(),o=ae(),i=oe();return $g(o,r,r[$],i,e,t,n),qt}function No(e,t,n){let r=F(),o=ae(),i=oe();return(i.type&3||n)&&_g(i,o,r,n,r[$],e,t,Es(i,r,t)),No}function $g(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Es(r,t,i),_g(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let h=l[d],f=l[d+1];c??=Es(r,t,i),Yh(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=Es(r,t,i),Yh(r,t,d,o,o,c)}}function Ql(e=1){return Th(e)}function Kl(e,t,n,r){kC(e,t,n,r)}function Jl(e,t,n){PC(e,t,n)}function Ao(e){let t=F(),n=ae(),r=Eu();cs(r+1);let o=Vl(n,r);if(e.dirty&&ah(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=jC(t,r);e.reset(i,ED),e.notifyOnChanges()}return!0}return!1}function Ro(){return FC(F(),Eu())}function gs(e,t){return e<<17|t<<2}function Sn(e){return e>>17&32767}function pI(e){return(e&2)==2}function gI(e,t){return e&131071|t<<17}function dl(e){return e|2}function vr(e){return(e&131068)>>2}function ku(e,t){return e&-131069|t<<2}function mI(e){return(e&1)===1}function fl(e){return e|1}function vI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Sn(s),c=vr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||rr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=Sn(e[a+1]);e[r+1]=gs(h,a),h!==0&&(e[h+1]=ku(e[h+1],r)),e[a+1]=gI(e[a+1],r)}else e[r+1]=gs(a,0),a!==0&&(e[a+1]=ku(e[a+1],r)),a=r;else e[r+1]=gs(c,0),a===0?a=r:e[c+1]=ku(e[c+1],r),c=r;u&&(e[r+1]=dl(e[r+1])),up(e,l,r,!0),up(e,l,r,!1),yI(t,l,e,r,i),s=gs(a,c),i?t.classBindings=s:t.styleBindings=s}function yI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&rr(i,t)>=0&&(n[r+1]=fl(n[r+1]))}function up(e,t,n,r){let o=e[n+1],i=t===null,s=r?Sn(o):vr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];DI(c,t)&&(a=!0,e[s+1]=r?fl(u):dl(u)),s=r?Sn(u):vr(u)}a&&(e[n+1]=r?dl(o):fl(o))}function DI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?rr(e,t)>=0:!1}function ia(e,t){return EI(e,t,null,!0),ia}function EI(e,t,n,r){let o=F(),i=ae(),s=Eh(2);if(i.firstUpdatePass&&II(i,e,s,r),t!==wt&&Gt(o,s,t)){let a=i.data[Ht()];MI(i,a,o,o[$],e,o[s+1]=TI(t,n),r,s)}}function CI(e,t){return t>=e.expandoStartIndex}function II(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ht()],s=CI(e,n);NI(i,r)&&t===null&&!s&&(t=!1),t=_I(o,i,t,r),vI(o,i,t,n,s,r)}}function _I(e,t,n,r){let o=wh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Lu(null,e,t,n,r),n=Co(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Lu(o,e,t,n,r),i===null){let c=wI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Lu(null,e,t,c[1],r),c=Co(c,t.attrs,r),bI(e,t,r,c))}else i=SI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function wI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(vr(r)!==0)return e[Sn(r)]}function bI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Sn(o)]=r}function SI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Co(r,s,n)}return Co(r,t.attrs,n)}function Lu(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Co(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Co(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Qf(e,s,n?!0:t[++i]))}return e===void 0?null:e}function MI(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=mI(u)?lp(c,t,n,o,vr(u),s):void 0;if(!js(l)){js(i)||pI(u)&&(i=lp(c,null,n,o,a,s));let d=au(Ht(),n);fE(r,s,d,o,i)}}function lp(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===wt&&(h=d?we:void 0);let f=d?ns(h,r):l===r?h:void 0;if(u&&!js(f)&&(f=ns(c,r)),js(f)&&(a=f,s))return a;let m=e[o+1];o=s?Sn(m):vr(m)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ns(c,r))}return a}function js(e){return e!==void 0}function TI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=mt(wo(e)))),e}function NI(e,t){return(e.flags&(t?8:16))!==0}function z(e,t=""){let n=F(),r=ae(),o=e+me,i=r.firstCreatePass?Qs(r,o,1,t,null):r.data[o],s=AI(r,n,i,t,e);n[o]=s,ds()&&Tl(r,n,s,i),lr(i,!1)}var AI=(e,t,n,r,o)=>(fs(!0),zD(t[$],r));function RI(e,t,n,r=""){return Gt(e,Cn(),n)?t+eo(n)+r:wt}function sa(e){return Xl("",e),sa}function Xl(e,t,n){let r=F(),o=RI(r,e,t,n);return o!==wt&&xI(r,Ht(),o),Xl}function xI(e,t,n){let r=au(t,e);WD(e[$],r,n)}function xo(e,t,n){Su(t)&&(t=t());let r=F(),o=Cn();if(Gt(r,o,t)){let i=ae(),s=fo();rg(s,r,e,t,r[$],n)}return xo}function aa(e,t){let n=Su(e);return n&&e.set(t),n}function Oo(e,t){let n=F(),r=ae(),o=oe();return $g(r,n,n[$],o,e,t),Oo}function OI(e,t,n){let r=ae();if(r.firstCreatePass){let o=rt(e);hl(n,r.data,r.blueprint,o,!0),hl(t,r.data,r.blueprint,o,!1)}}function hl(e,t,n,r,o){if(e=ce(e),Array.isArray(e))for(let i=0;i<e.length;i++)hl(e[i],t,n,r,o);else{let i=ae(),s=F(),a=oe(),c=fn(e)?e:ce(e.provide),u=nu(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(fn(e)||!e.multi){let f=new _n(u,o,x,null),m=ju(c,t,o?l:l+h,d);m===-1?(Hu(ws(a,s),i,c),Vu(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[m]=f,s[m]=f)}else{let f=ju(c,t,l+h,d),m=ju(c,t,l,l+h),_=f>=0&&n[f],O=m>=0&&n[m];if(o&&!O||!o&&!_){Hu(ws(a,s),i,c);let T=kI(o?PI:FI,n.length,o,r,u,e);!o&&O&&(n[m].providerFactory=T),Vu(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=Gg(n[o?m:f],u,!o&&r);Vu(i,e,f>-1?f:m,T)}!o&&r&&O&&n[m].componentProviders++}}}function Vu(e,t,n,r){let o=fn(t),i=nh(t);if(o||i){let c=(i?ce(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Gg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ju(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function FI(e,t,n,r,o){return pl(this.multi,[])}function PI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=vo(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),pl(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],pl(i,s);return s}function pl(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function kI(e,t,n,r,o,i){let s=new _n(e,n,x,null);return s.multi=[],s.index=t,s.componentProviders=0,Gg(s,o,r&&!n),s}function ca(e,t=[]){return n=>{n.providersResolver=(r,o)=>OI(r,o?o(e):e,t)}}function ed(e,t,n,r){return VI(F(),yh(),e,t,n,r)}function LI(e,t){let n=e[t];return n===wt?void 0:n}function VI(e,t,n,r,o,i){let s=t+n;return Gt(e,s,o)?fC(e,s+1,i?r.call(i,o):r(o)):LI(e,s+1)}var Bs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},td=(()=>{class e{compileModuleSync(n){return new Fs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Jc(n),i=Gp(o.declarations).reduce((s,a)=>{let c=yt(a);return c&&s.push(new bn(c)),s},[]);return new Bs(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var jI=(()=>{class e{zone=p(Q);changeDetectionScheduler=p(Ft);applicationRef=p(Wt);applicationErrorHandler=p(Me);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zg=new y("",{factory:()=>!1});function nd({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Q(A(g({},od()),{scheduleInRootZone:n})),[{provide:Q,useFactory:e},{provide:vt,multi:!0,useFactory:()=>{let r=p(jI,{optional:!0});return()=>r.initialize()}},{provide:vt,multi:!0,useFactory:()=>{let r=p(BI);return()=>{r.initialize()}}},t===!0?{provide:Mu,useValue:!0}:[],{provide:Tu,useValue:n??Og},{provide:Me,useFactory:()=>{let r=p(Q),o=p(ne),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get($e),i.handleError(s))})}}}]}function rd(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=nd({ngZoneFactory:()=>{let o=od(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&zt("NgZone_CoalesceEvent"),new Q(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return kt([{provide:zg,useValue:!0},{provide:ho,useValue:!1},r])}function od(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var BI=(()=>{class e{subscription=new K;initialized=!1;zone=p(Q);pendingTasks=p(Et);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Wg=(()=>{class e{applicationErrorHandler=p(Me);appRef=p(Wt);taskService=p(Et);ngZone=p(Q);zonelessEnabled=p(ho);tracing=p(Nn,{optional:!0});disableScheduling=p(Mu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new K;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ps):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(Tu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ks||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?tp:Fg;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ps+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,tp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function HI(){return typeof $localize<"u"&&$localize.locale||To}var id=new y("",{providedIn:"root",factory:()=>p(id,{optional:!0,skipSelf:!0})||HI()});function pe(e){return jf(e)}function Fo(e,t){return wi(e,t?.equal)}var qg=class{[fe];constructor(t){this[fe]=t}destroy(){this[fe].destroy()}};var Kg=Symbol("InputSignalNode#UNSET"),QI=A(g({},bi),{transformFn:void 0,applyValueToInputSignal(e,t){Wn(e,t)}});function Jg(e,t){let n=Object.create(QI);n.value=e,n.transformFn=t?.transform;function r(){if($n(n),n.value===Kg){let o=null;throw new D(-950,o)}return n.value}return r[fe]=n,r}var la=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>_o(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},KI=new y("");KI.__NG_ELEMENT_ID__=e=>{let t=oe();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new D(204,!1)};function Zg(e,t){return Jg(e,t)}function JI(e){return Jg(Kg,e)}var Xg=(Zg.required=JI,Zg);var sd=new y(""),XI=new y("");function Po(e){return!e.moduleRef}function e_(e){let t=Po(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>
4{Po(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Me),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Po(e)){let i=()=>t.destroy(),s=e.platformInjector.get(sd);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(sd);s.add(i),e.moduleRef.onDestroy(()=>{mo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return n_(r,n,()=>{let i=t.get(Et),s=i.add(),a=t.get(zl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(id,To);if(Ug(c||To),!t.get(XI,!0))return Po(e)?t.get(Wt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Po(e)){let l=t.get(Wt);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return t_?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var t_;function n_(e,t,n){try{let r=n();return An(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ua=null;function r_(e=[],t){return Ce.create({name:t,providers:[{provide:no,useValue:"platform"},{provide:sd,useValue:new Set([()=>ua=null])},...e]})}function o_(e=[]){if(ua)return ua;let t=r_(e);return ua=t,jg(),i_(t),t}function i_(e){let t=e.get(Us,null);he(e,()=>{t?.forEach(n=>n())})}var Zt=(()=>{class e{static __NG_ELEMENT_ID__=s_}return e})();function s_(e){return a_(oe(),F(),(e&16)===16)}function a_(e,t,n){if(jt(e)&&!n){let r=Ve(e.index,t);return new $t(r,r)}else if(e.type&175){let r=t[be];return new $t(r,t)}return null}function em(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;H(8);try{let i=o?.injector??o_(r),s=[nd({}),{provide:Ft,useExisting:Wg},Rh,...n||[]],a=new Eo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return e_({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{H(9)}}function xn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function tm(e){let t=yt(e);if(!t)return null;let n=new bn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var om=null;function Be(){return om}function ad(e){om??=e}var Lo=class{},Vo=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(im),providedIn:"platform"})}return e})(),cd=new y(""),im=(()=>{class e extends Vo{_location;_history;_doc=p(Y);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Be().getBaseHref(this._doc)}onPopState(n){let r=Be().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Be().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function da(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function nm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ye(e){return e&&e[0]!=="?"?`?${e}`:e}var Qe=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(ha),providedIn:"root"})}return e})(),fa=new y(""),ha=(()=>{class e extends Qe{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Y).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.on
vendor: 9,127 bytes, line 4
4HashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return da(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ye(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ye(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ye(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(E(Vo),E(fa,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yt=(()=>{class e{_subject=new W;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=l_(nm(rm(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ye(r))}normalize(n){return e.stripTrailingSlash(u_(this._basePath,rm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ye(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ye(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Ye;static joinWithSlash=da;static stripTrailingSlash=nm;static \u0275fac=function(r){return new(r||e)(E(Qe))};static \u0275prov=v({token:e,factory:()=>c_(),providedIn:"root"})}return e})();function c_(){return new Yt(E(Qe))}function u_(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function rm(e){return e.replace(/\/index.html$/,"")}function l_(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ud=(()=>{class e extends Qe{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=da(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ye(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ye(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(E(Vo),E(fa,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var Qt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=st({type:e});static \u0275inj=Ge({})}return e})();function ld(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var jo=class{};var sm="browser";var am=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new dd(p(Y),window)})}return e})(),dd=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(A(g({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=f_(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(Kr(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(A(g({},n),{left:o-s[0],top:i-s[1]}))}};function f_(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var ga=new y(""),md=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(E(ga),E(Q))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Bo=class{_doc;constructor(t){this._doc=t}manager},fd="ng-app-id";function cm(e){for(let t of e)t.remove()}function um(e,t){let n=t.createElement("style");return n.textContent=e,n}function p_(e,t,n,r){let o=e.head?.querySelectorAll(`style[${fd}="${t}"],link[${fd}="${t}"]`);if(o)for(let i of o)i.removeAttribute(fd),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function pd(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var vd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,p_(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,um);r?.forEach(o=>this.addUsage(o,this.external,pd))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(cm(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])cm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,um(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,pd(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(E(Y),E(Hs),E($s,8),E(Er))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),hd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},yd=/%COMP%/g;var dm="%COMP%",g_=`_nghost-${dm}`,m_=`_ngcontent-${dm}`,v_=!0,y_=new y("",{providedIn:"root",factory:()=>v_});function D_(e){return m_.replace(yd,e)}function E_(e){return g_.replace(yd,e)}function fm(e,t){return t.map(n=>n.replace(yd,e))}var Dd=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new Ho(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);
vendor: 4,125 bytes, line 4
4return o instanceof pa?o.applyToHost(n):o instanceof Uo&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case Ct.Emulated:i=new pa(c,u,r,this.appId,l,s,a,d,h);break;case Ct.ShadowDom:return new gd(c,u,n,r,s,a,this.nonce,d,h);default:i=new Uo(c,u,r,l,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(E(md),E(vd),E(Hs),E(y_),E(Y),E(Er),E(Q),E($s),E(Nn,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Ho=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(hd[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(lm(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(lm(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new D(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=hd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=hd[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(It.DashCase|It.Important)?t.style.setProperty(n,r,o&It.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&It.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Be().getGlobalEventTarget(this.doc,t),!t))throw new D(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function lm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var gd=class extends Ho{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=fm(o.id,l);for(let h of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=pd(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Uo=class extends Ho{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?fm(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&qs.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},pa=class extends Uo{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=D_(l),this.hostAttr=E_(l)}
vendor: 39,216 bytes, line 4
4applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var ma=class e extends Lo{supportsDOMEvents=!0;static makeCurrent(){ad(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=C_();return n==null?null:I_(n)}resetBaseElement(){$o=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ld(document.cookie,t)}},$o=null;function C_(){return $o=$o||document.head.querySelector("base"),$o?$o.getAttribute("href"):null}function I_(e){return new URL(e,document.baseURI).pathname}var __=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),pm=(()=>{class e extends Bo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(E(Y))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),hm=["alt","control","meta","shift"],w_={"\b":"Backspace","	":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},b_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},gm=(()=>{class e extends Bo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Be().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),hm.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=w_[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),hm.forEach(s=>{if(s!==o){let a=b_[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(E(Y))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();function Ed(e,t,n){let r=g({rootComponent:e,platformRef:n?.platformRef},S_(t));return em(r)}function S_(e){return{appProviders:[...R_,...e?.providers??[]],platformProviders:A_}}function M_(){ma.makeCurrent()}function T_(){return new $e}function N_(){return vl(document),document}var A_=[{provide:Er,useValue:sm},{provide:Us,useValue:M_,multi:!0},{provide:Y,useFactory:N_}];var R_=[{provide:no,useValue:"root"},{provide:$e,useFactory:T_},{provide:ga,useClass:pm,multi:!0,deps:[Y]},{provide:ga,useClass:gm,multi:!0,deps:[Y]},Dd,vd,md,{provide:wn,useExisting:Dd},{provide:jo,useClass:__},[]];var mm=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(E(Y))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var M="primary",ni=Symbol("RouteTitle"),bd=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Pn(e){return new bd(e)}function wm(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function O_(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!at(e[n],t[n]))return!1;return!0}function at(e,t){let n=e?Sd(e):void 0,r=t?Sd(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!bm(e[o],t[o]))return!1;return!0}function Sd(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function bm(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function Sm(e){return e.length>0?e[e.length-1]:null}function St(e){return _c(e)?e:An(e)?V(Promise.resolve(e)):C(e)}var F_={exact:Tm,subset:Nm},Mm={exact:P_,subset:k_,ignored:()=>!0};function vm(e,t,n){return F_[n.paths](e.root,t.root,n.matrixParams)&&Mm[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function P_(e,t){return at(e,t)}function Tm(e,t,n){if(!On(e.segments,t.segments)||!Da(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Tm(e.children[r],t.children[r],n))return!1;return!0}function k_(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>bm(e[n],t[n]))}function Nm(e,t,n){return Am(e,t,t.segments,n)}function Am(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!On(o,n)||t.hasChildren()||!Da(o,n,r))}else if(e.segments.length===n.length){if(!On(e.segments,n)||!Da(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Nm(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!On(e.segments,o)||!Da(e.segments,o,r)||!e.children[M]?!1:Am(e.children[M],t,i,r)}}function Da(e,t,n){return t.every((r,o)=>Mm[n](e[o].parameters,r.parameters))}var ut=class{root;queryParams;fragment;_queryParamMap;constructor(t=new j([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Pn(this.queryParams),this._queryParamMap}toString(){return j_.serialize(this)}},j=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ea(this)}},Kt=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Pn(this.parameters),this._parameterMap}toString(){return xm(this)}};function L_(e,t){return On(e,t)&&e.every((n,r)=>at(n.parameters,t[r].parameters))}function On(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function V_(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===M&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==M&&(n=n.concat(t(o,r)))}),n}var kn=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new Jt,providedIn:"root"})}return e})(),Jt=class{parse(t){let n=new Td(t);return new ut(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Go(t.root,!0)}`,r=U_(t.queryParams),o=typeof t.fragment=="string"?`#${B_(t.fragment)}`:"";return`${n}${r}${o}`}},j_=new Jt;function Ea(e){return e.segments.map(t=>xm(t)).join("/")}function Go(e,t){if(!e.hasChildren())return Ea(e);if(t){let n=e.children[M]?Go(e.children[M],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==M&&r.push(`${o}:${Go(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=V_(e,(r,o)=>o===M?[Go(e.children[M],!1)]:[`${o}:${Go(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[M]!=null?`${Ea(e)}/${n[0]}`:`${Ea(e)}/(${n.join("//")})`}}function Rm(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function va(e){return Rm(e).replace(/%3B/gi,";")}function B_(e){return encodeURI(e)}function Md(e){return Rm(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ca(e){return decodeURIComponent(e)}function ym(e){return Ca(e.replace(/\+/g,"%20"))}function xm(e){return`${Md(e.path)}${H_(e.parameters)}`}function H_(e){return Object.entries(e).map(([t,n])=>`;${Md(t)}=${Md(n)}`).join("")}function U_(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${va(n)}=${va(o)}`).join("&"):`${va(n)}=${va(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var $_=/^[^\/()?;#]+/;function Cd(e){let t=e.match($_);return t?t[0]:""}var G_=/^[^\/()?;=#]+/;function z_(e){let t=e.match(G_);return t?t[0]:""}var W_=/^[^=?&#]+/;function q_(e){let t=e.match(W_);return t?t[0]:""}var Z_=/^[^&#]+/;function Y_(e){let t=e.match(Z_);return t?t[0]:""}var Td=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[M]=new j(t,n)),r}parseSegment(){let t=Cd(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new Kt(Ca(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=z_(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Cd(this.remaining);o&&(r=o,this.capture(r))}t[Ca(n)]=Ca(r)}parseQueryParam(t){let n=q_(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=Y_(this.remaining);s&&(r=s,this.capture(r))}let o=ym(n),i=ym(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Cd(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new D(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=M);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[M]:new j([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}};function Om(e){return e.segments.length>0?new j([],{[M]:e}):e}function Fm(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Fm(o);if(r===M&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new j(e.segments,t);return Q_(n)}function Q_(e){if(e.numberOfChildren===1&&e.children[M]){let t=e.children[M];return new j(e.segments.concat(t.segments),t.children)}return e}function Xt(e){return e instanceof ut}function Pm(e,t,n=null,r=null){let o=km(e);return Lm(o,t,n,r)}function km(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new j(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Om(r);return t??o}function Lm(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Id(o,o,o,n,r);let i=K_(t);if(i.toRoot())return Id(o,o,new j([],{}),n,r);let s=J_(i,o,e),a=s.processChildren?Wo(s.segmentGroup,s.index,i.commands):jm(s.segmentGroup,s.index,i.commands);return Id(o,s.segmentGroup,a,n,r)}function Ia(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Zo(e){return typeof e=="object"&&e!=null&&e.outlets}function Id(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=Vm(e,t,n);let a=Om(Fm(s));return new ut(a,i,o)}function Vm(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=Vm(i,t,n)}),new j(e.segments,r)}var _a=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Ia(r[0]))throw new D(4003,!1);let o=r.find(Zo);if(o&&o!==Sm(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function K_(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new _a(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new _a(n,t,r)}var Sr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function J_(e,t,n){if(e.isAbsolute)return new Sr(t,!0,0);if(!n)return new Sr(t,!1,NaN);if(n.parent===null)return new Sr(n,!0,0);let r=Ia(e.commands[0])?0:1,o=n.segments.length-1+r;return X_(n,o,e.numberOfDoubleDots)}function X_(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new Sr(r,!1,o-i)}function ew(e){return Zo(e[0])?e[0].outlets:{[M]:e}}function jm(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return Wo(e,t,n);let r=tw(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new j(e.segments.slice(0,r.pathIndex),{});return i.children[M]=new j(e.segments.slice(r.pathIndex),e.children),Wo(i,0,o)}else return r.match&&o.length===0?new j(e.segments,{}):r.match&&!e.hasChildren()?Nd(e,t,n):r.match?Wo(e,0,o):Nd(e,t,n)}function Wo(e,t,n){if(n.length===0)return new j(e.segments,{});{let r=ew(n),o={};if(Object.keys(r).some(i=>i!==M)&&e.children[M]&&e.numberOfChildren===1&&e.children[M].segments.length===0){let i=Wo(e.children[M],t,n);return new j(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=jm(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new j(e.segments,o)}}function tw(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(Zo(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Em(c,u,s))return i;r+=2}else{if(!Em(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Nd(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(Zo(i)){let c=nw(i.outlets);return new j(r,c)}if(o===0&&Ia(n[0])){let c=e.segments[t];r.push(new Kt(c.path,Dm(n[0]))),o++;continue}let s=Zo(i)?i.outlets[M]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Ia(a)?(r.push(new Kt(s,Dm(a))),o+=2):(r.push(new Kt(s,{})),o++)}return new j(r,{})}function nw(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Nd(new j([],{}),0,r))}),t}function Dm(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Em(e,t,n){return e==n.path&&at(t,n.parameters)}var Mr="imperative",ie=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(ie||{}),xe=class{id;url;constructor(t,n){this.id=t,this.url=n}},en=class extends xe{type=ie.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Oe=class extends xe{urlAfterRedirects;type=ie.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ve=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(ve||{}),Nr=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Nr||{}),ct=class extends xe{reason;code;type=ie.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},lt=class extends xe{reason;code;type=ie.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},Ar=class extends xe{error;target;type=ie.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Yo=class extends xe{urlAfterRedirects;state;type=ie.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wa=class extends xe{urlAfterRedirects;state;type=ie.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ba=class extends xe{urlAfterRedirects;state;shouldActivate;type=ie.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Sa=class extends xe{urlAfterRedirects;state;type=ie.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ma=class extends xe{urlAfterRedirects;state;type=ie.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ta=class{route;type=ie.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Na=class{route;type=ie.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Aa=class{snapshot;type=ie.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ra=class{snapshot;type=ie.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xa=class{snapshot;type=ie.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Oa=class{snapshot;type=ie.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rr=class{routerEvent;position;anchor;type=ie.Scroll;constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Qo=class{},xr=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function rw(e){return!(e instanceof Qo)&&!(e instanceof xr)}function ow(e,t){return e.providers&&!e._injector&&(e._injector=Cr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Ke(e){return e.outlet||M}function iw(e,t){let n=e.filter(r=>Ke(r)===t);return n.push(...e.filter(r=>Ke(r)!==t)),n}function Pr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Fa=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Pr(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new Ln(this.rootInjector)}},Ln=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Fa(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(E(ne))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pa=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Ad(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Ad(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Rd(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Rd(t,this._root).map(n=>n.value)}};function Ad(e,t){if(e===t.value)return t;for(let n of t.children){let r=Ad(e,n);if(r)return r}return null}function Rd(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Rd(e,n);if(r.length)return r.unshift(t),r}return[]}var Re=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function br(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ko=class extends Pa{snapshot;constructor(t,n){super(t),this.snapshot=n,jd(this,t)}toString(){return this.snapshot.toString()}};function Bm(e){let t=sw(e),n=new q([new Kt("",{})]),r=new q({}),o=new q({}),i=new q({}),s=new q(""),a=new He(n,r,i,s,o,M,e,t.root);return a.snapshot=t.root,new Ko(new Re(a,[]),t)}function sw(e){let t={},n={},r={},i=new Fn([],t,r,"",n,M,e,null,{});return new Jo("",new Re(i,[]))}var He=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(N(u=>u[ni]))??C(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(N(t=>Pn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(N(t=>Pn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ka(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:g(g({},t.params),e.params),data:g(g({},t.data),e.data),resolve:g(g(g(g({},e.data),t.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&Um(o)&&(r.resolve[ni]=o.title),r}var Fn=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ni]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Pn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Pn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Jo=class extends Pa{url;constructor(t,n){super(n),this.url=t,jd(this,n)}toString(){return Hm(this._root)}};function jd(e,t){t.value._routerState=e,t.children.forEach(n=>jd(e,n))}function Hm(e){let t=e.children.length>0?` { ${e.children.map(Hm).join(", ")} } `:"";return`${e.value}${t}`}function _d(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,at(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),at(t.params,n.params)||e.paramsSubject.next(n.params),O_(t.url,n.url)||e.urlSubject.next(n.url),at(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function xd(e,t){let n=at(e.params,t.params)&&L_(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||xd(e.parent,t.parent))}function Um(e){return typeof e.title=="string"||e.title===null}var $m=new y(""),ri=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=M;activateEvents=new te;deactivateEvents=new te;attachEvents=new te;detachEvents=new te;routerOutletData=Xg(void 0);parentContexts=p(Ln);location=p(Mn);changeDetector=p(Zt);inputBinder=p(oi,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Od(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ae({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[_t]})}return e})(),Od=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===He?this.route:t===Ln?this.childContexts:t===$m?this.outletData:this.parent.get(t,n)}},oi=new y(""),Bd=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=cn([r.queryParams,r.params,r.data]).pipe(ge(([i,s,a],c)=>(a=g(g(g({},i),s),a),c===0?C(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=tm(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Hd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ne({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Rn(0,"router-outlet")},dependencies:[ri],encapsulation:2})}return e})();function Ud(e){let t=e.children&&e.children.map(Ud),n=t?A(g({},e),{children:t}):g({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==M&&(n.component=Hd),n}function aw(e,t,n){let r=Xo(e,t._root,n?n._root:void 0);return new Ko(r,t)}function Xo(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=cw(e,t,n);return new Re(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Xo(e,a)),s}}let r=uw(t.value),o=t.children.map(i=>Xo(e,i));return new Re(r,o)}}function cw(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Xo(e,r,o);return Xo(e,r)})}function uw(e){return new He(new q(e.url),new q(e.params),new q(e.queryParams),new q(e.fragment),new q(e.data),e.outlet,e.component,e)}var Or=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Gm="ngNavigationCancelingError";function La(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Xt(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=zm(!1,ve.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function zm(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Gm]=!0,n.cancellationCode=t,n}function lw(e){return Wm(e)&&Xt(e.url)}function Wm(e){return!!e&&e[Gm]}var dw=(e,t,n,r)=>N(o=>(new Fd(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Fd=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),_d(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=br(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=br(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=br(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=br(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Oa(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Ra(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(_d(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),_d(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Va=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Tr=class{component;route;constructor(t,n){this.component=t,this.route=n}};function fw(e,t,n){let r=e._root,o=t?t._root:null;return zo(r,o,n,[r.value])}function hw(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function kr(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Hc(e)?e:t.get(e):r}function zo(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=br(t);return e.children.forEach(s=>{pw(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>qo(a,n.getContext(s),o)),o}function pw(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=gw(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Va(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?zo(e,t,a?a.children:null,r,o):zo(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Tr(a.outlet.component,s))}else s&&qo(t,a,o),o.canActivateChecks.push(new Va(r)),i.component?zo(e,null,a?a.children:null,r,o):zo(e,null,n,r,o);return o}function gw(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!On(e.url,t.url);case"pathParamsOrQueryParamsChange":return!On(e.url,t.url)||!at(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xd(e,t)||!at(e.queryParams,t.queryParams);case"paramsChange":default:return!xd(e,t)}}function qo(e,t,n){let r=br(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?qo(s,t.children.getContext(i),n):qo(s,null,n):qo(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Tr(t.outlet.component,o)):n.canDeactivateChecks.push(new Tr(null,o)):n.canDeactivateChecks.push(new Tr(null,o))}function ii(e){return typeof e=="function"}function mw(e){return typeof e=="boolean"}function vw(e){return e&&ii(e.canLoad)}function yw(e){return e&&ii(e.canActivate)}function Dw(e){return e&&ii(e.canActivateChild)}function Ew(e){return e&&ii(e.canDeactivate)}function Cw(e){return e&&ii(e.canMatch)}function qm(e){return e instanceof ft||e?.name==="EmptyError"}var ya=Symbol("INITIAL_VALUE");function Fr(){return ge(e=>cn(e.map(t=>t.pipe(ht(1),Mc(ya)))).pipe(N(t=>{for(let n of t)if(n!==!0){if(n===ya)return ya;if(n===!1||Iw(n))return n}return!0}),Ee(t=>t!==ya),ht(1)))}function Iw(e){return Xt(e)||e instanceof Or}function _w(e,t){return Z(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?C(A(g({},n),{guardsResult:!0})):ww(s,r,o,e).pipe(Z(a=>a&&mw(a)?bw(r,i,e,t):C(a)),N(a=>A(g({},n),{guardsResult:a})))})}function ww(e,t,n,r){return V(e).pipe(Z(o=>Aw(o.component,o.route,n,t,r)),pt(o=>o!==!0,!0))}function bw(e,t,n,r){return V(t).pipe(Rt(o=>er(Mw(o.route.parent,r),Sw(o.route,r),Nw(e,o.path,n),Tw(e,o.route,n))),pt(o=>o!==!0,!0))}function Sw(e,t){return e!==null&&t&&t(new xa(e)),C(!0)}function Mw(e,t){return e!==null&&t&&t(new Aa(e)),C(!0)}
4function Tw(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return C(!0);let o=r.map(i=>Wr(()=>{let s=Pr(t)??n,a=kr(i,s),c=yw(a)?a.canActivate(t,e):he(s,()=>a(t,e));return St(c).pipe(pt())}));return C(o).pipe(Fr())}function Nw(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>hw(s)).filter(s=>s!==null).map(s=>Wr(()=>{let a=s.guards.map(c=>{let u=Pr(s.node)??n,l=kr(c,u),d=Dw(l)?l.canActivateChild(r,e):he(u,()=>l(r,e));return St(d).pipe(pt())});return C(a).pipe(Fr())}));return C(i).pipe(Fr())}function Aw(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return C(!0);let s=i.map(a=>{let c=Pr(t)??o,u=kr(a,c),l=Ew(u)?u.canDeactivate(e,t,n,r):he(c,()=>u(e,t,n,r));return St(l).pipe(pt())});return C(s).pipe(Fr())}function Rw(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return C(!0);let i=o.map(s=>{let a=kr(s,e),c=vw(a)?a.canLoad(t,n):he(e,()=>a(t,n));return St(c)});return C(i).pipe(Fr(),Zm(r))}function Zm(e){return Dc(se(t=>{if(typeof t!="boolean")throw La(e,t)}),N(t=>t===!0))}function xw(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return C(!0);let i=o.map(s=>{let a=kr(s,e),c=Cw(a)?a.canMatch(t,n):he(e,()=>a(t,n));return St(c)});return C(i).pipe(Fr(),Zm(r))}var ei=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},ti=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function wr(e){return Nt(new ei(e))}function Ow(e){return Nt(new D(4e3,!1))}function Fw(e){return Nt(zm(!1,ve.GuardRejected))}var Pd=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return C(r);if(o.numberOfChildren>1||!o.children[M])return Ow(`${t.redirectTo}`);o=o.children[M]}}applyRedirectCommands(t,n,r,o,i){return Pw(n,o,i).pipe(N(s=>{if(s instanceof ut)throw new ti(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new ti(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new ut(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new j(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function Pw(e,t,n){if(typeof e=="string")return C(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d}=t;return St(he(n,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var kd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function kw(e,t,n,r,o){let i=Ym(e,t,n);return i.matched?(r=ow(t,r),xw(r,t,n,o).pipe(N(s=>s===!0?i:g({},kd)))):C(i)}function Ym(e,t,n){if(t.path==="**")return Lw(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?g({},kd):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||wm)(n,e,t);if(!o)return g({},kd);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Lw(e){return{matched:!0,parameters:e.length>0?Sm(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Cm(e,t,n,r){return n.length>0&&Bw(e,n,r)?{segmentGroup:new j(t,jw(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&Hw(e,n,r)?{segmentGroup:new j(e.segments,Vw(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function Vw(e,t,n,r){let o={};for(let i of n)if(Ba(e,t,i)&&!r[Ke(i)]){let s=new j([],{});o[Ke(i)]=s}return g(g({},r),o)}function jw(e,t){let n={};n[M]=t;
4for(let r of e)if(r.path===""&&Ke(r)!==M){let o=new j([],{});n[Ke(r)]=o}return n}function Bw(e,t,n){return n.some(r=>Ba(e,t,r)&&Ke(r)!==M)}function Hw(e,t,n){return n.some(r=>Ba(e,t,r))}function Ba(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Uw(e,t,n){return t.length===0&&!e.children[n]}var Ld=class{};function $w(e,t,n,r,o,i,s="emptyOnly"){return new Vd(e,t,n,r,o,s,i).recognize()}var Gw=31,Vd=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Pd(this.urlSerializer,this.urlTree)}noMatchError(t){return new D(4002,`'${t.segmentGroup}'`)}recognize(){let t=Cm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(N(({children:n,rootSnapshot:r})=>{let o=new Re(r,n),i=new Jo("",o),s=Pm(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new Fn([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),M,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,M,n).pipe(N(r=>({children:r,rootSnapshot:n})),Fe(r=>{if(r instanceof ti)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ei?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(N(s=>s instanceof Re?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return V(i).pipe(Rt(s=>{let a=r.children[s],c=iw(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Sc((s,a)=>(s.push(...a),s)),xt(null),bc(),Z(s=>{if(s===null)return wr(r);let a=Qm(s);return zw(a),C(a)}))}processSegment(t,n,r,o,i,s,a){return V(n).pipe(Rt(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(Fe(u=>{if(u instanceof ei)return C(null);throw u}))),pt(c=>!!c),Fe(c=>{if(qm(c))return Uw(r,o,i)?C(new Ld):wr(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return Ke(r)!==s&&(s===M||!Ba(o,i,r))?wr(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):wr(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Ym(n,o,i);if(!c)return wr(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Gw&&(this.allowRedirects=!1));let f=new Fn(i,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Im(o),Ke(o),o.component??o._loadedComponent??null,o,_m(o)),m=ka(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(m.params),f.data=Object.freeze(m.data),this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t).pipe(ge(O=>this.applyRedirects.lineralizeSegments(o,O)),Z(O=>this.processSegment(t,r,n,O.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=kw(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(ge(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(ge(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,m=new Fn(h,d,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Im(r),Ke(r),r.component??r._loadedComponent??null,r,_m(r)),_=ka(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(_.params),m.data=Object.freeze(_.data);let{segmentGroup:O,slicedSegments:T}=Cm(n,h,f,u);if(T.length===0&&O.hasChildren())return this.processChildren(l,u,O,m).pipe(N(pi=>new Re(m,pi)));if(u.length===0&&T.length===0)return C(new Re(m,[]));let rn=Ke(r)===i;return this.processSegment(l,u,O,T,rn?M:i,!0,m).pipe(N(pi=>new Re(m,pi instanceof Re?[pi]:[])))}))):wr(n)))}getChildConfig(t,n,r){return n.children?C({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?C({routes:n._loadedRoutes,injector:n._loadedInjector}):Rw(t,n,r,this.urlSerializer).pipe(Z(o=>o?this.configLoader.loadChildren(t,n).pipe(se(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):Fw(n))):C({routes:[],injector:t})}};function zw(e){e.sort((t,n)=>t.value.outlet===M?-1:n.value.outlet===M?1:t.value.outlet.localeCompare(n.value.outlet))}function Ww(e){let t=e.value.routeConfig;return t&&t.path===""}function Qm(e){let t=[],n=new Set;for(let r of e){if(!Ww(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Qm(r.children);t.push(new Re(r.value,o))}return t.filter(r=>!n.has(r))}function Im(e){return e.data||{}}function _m(e){return e.resolve||{}}function qw(e,t,n,r,o,i){return Z(s=>$w(e,t,n,r,s.extractedUrl,o,i).pipe(N(({state:a,tree:c})=>A(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Zw(e,t){return Z(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return C(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Km(c))s.add(u);let a=0;return V(s).pipe(Rt(c=>i.has(c)?Yw(c,r,e,t):(c.data=ka(c,c.parent,e).resolve,C(void 0))),se(()=>a++),tr(1),Z(c=>a===s.size?C(n):ye))})}function Km(e){let t=e.children.map(n=>Km(n)).flat();return[e,...t]}function Yw(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Um(o)&&(i[ni]=o.title),Wr(()=>(e.data=ka(e,e.parent,n).resolve,Qw(i,e,t,r).pipe(N(s=>(e._resolvedData=s,e.data=g(g({},e.data),s),null)))))}function Qw(e,t,n,r){let o=Sd(e);if(o.length===0)return C({});let i={};return V(o).pipe(Z(s=>Kw(e[s],t,n,r).pipe(pt(),se(a=>{if(a instanceof Or)throw La(new Jt,a);i[s]=a}))),tr(1),N(()=>i),Fe(s=>qm(s)?ye:Nt(s)))}function Kw(e,t,n,r){let o=Pr(t)??r,i=kr(e,o),s=i.resolve?i.resolve(t,n):he(o,()=>i(t,n));return St(s)}function wd(e){return ge(t=>{let n=e(t);return n?V(n).pipe(N(()=>t)):C(t)})}var $d=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===M);return r}getResolvedTitleForRoute(n){return n.data[ni]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(Jm),providedIn:"root"})}return e})(),Jm=(()=>{class e extends $d{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(E(mm))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tn=new y("",{providedIn:"root",factory:()=>({})}),Vn=new y(""),Ha=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(td);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return C(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=St(he(n,()=>r.loadComponent())).pipe(N(ev),ge(tv),se(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),qr(()=>{this.componentLoaders.delete(r)})),i=new Xn(o,()=>new W).pipe(Jn());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return C({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=Xm(r,this.compiler,n,this.onLoadEndListener).pipe(qr(()=>{this.childrenLoaders.delete(r)})),s=new Xn(i,()=>new W).pipe(Jn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Xm(e,t,n,r){return St(he(n,()=>e.loadChildren())).pipe(N(ev),ge(tv),Z(o=>o instanceof Js||Array.isArray(o)?C(o):V(t.compileModuleAsync(o))),N(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(Vn,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ud),injector:i}}))}function Jw(e){return e&&typeof e=="object"&&"default"in e}function ev(e){return Jw(e)?e.default:e}function tv(e){return C(e)}var Ua=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(Xw),providedIn:"root"})}return e})(),Xw=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gd=new y(""),zd=new y("");function nv(e,t,n){let r=e.get(zd),o=e.get(Y);
vendor: 27,893 bytes, line 4
4if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),eb(e)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&he(e,()=>c({transition:a,from:t,to:n})),s}function eb(e){return new Promise(t=>{ea({read:()=>setTimeout(t)},{injector:e})})}var Wd=new y(""),$a=(()=>{class e{currentNavigation=je(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new W;transitionAbortWithErrorSubject=new W;configLoader=p(Ha);environmentInjector=p(ne);destroyRef=p(Dt);urlSerializer=p(kn);rootContexts=p(Ln);location=p(Yt);inputBindingEnabled=p(oi,{optional:!0})!==null;titleStrategy=p($d);options=p(tn,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Ua);createViewTransition=p(Gd,{optional:!0});navigationErrorHandler=p(Wd,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>C(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Ta(o)),r=o=>this.events.next(new Na(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;pe(()=>{this.transitions?.next(A(g({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new q(null),this.transitions.pipe(Ee(r=>r!==null),ge(r=>{let o=!1;return C(r).pipe(ge(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",ve.SupersededByNewNavigation),ye;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?A(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new lt(i.id,this.urlSerializer.serialize(i.rawUrl),"",Nr.IgnoredSameUrlNavigation)),i.resolve(!1),ye;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return C(i).pipe(ge(c=>(this.events.next(new en(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?ye:Promise.resolve(c))),qw(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),se(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=c.urlAfterRedirects,l));let u=new Yo(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:u,source:l,restoredState:d,extras:h}=i,f=new en(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let m=Bm(this.rootComponentType).snapshot;return this.currentTransition=r=A(g({},i),{targetSnapshot:m,urlAfterRedirects:u,extras:A(g({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(_=>(_.finalUrl=u,_)),C(r)}else return this.events.next(new lt(i.id,this.urlSerializer.serialize(i.extractedUrl),"",Nr.IgnoredByUrlHandlingStrategy)),i.resolve(!1),ye}),se(i=>{let s=new wa(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),N(i=>(this.currentTransition=r=A(g({},i),{guards:fw(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),_w(this.environmentInjector,i=>this.events.next(i)),se(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw La(this.urlSerializer,i.guardsResult);let s=new ba(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),Ee(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",ve.GuardRejected),!1)),wd(i=>{if(i.guards.canActivateChecks.length!==0)return C(i).pipe(se(s=>{let a=new Sa(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),ge(s=>{let a=!1;return C(s).pipe(Zw(this.paramsInheritanceStrategy,this.environmentInjector),se({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",ve.NoDataFromResolver)}}))}),se(s=>{let a=new Ma(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),wd(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=Pr(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(se(l=>{a.component=l}),N(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return cn(s(i.targetSnapshot.root)).pipe(xt(null),ht(1))}),wd(()=>this.afterPreactivation()),ge(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?V(a).pipe(N(()=>r)):C(r)}),N(i=>{let s=aw(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=A(g({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),se(()=>{this.events.next(new Qo)}),dw(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),ht(1),Zi(new k(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(Ee(()=>!o&&!r.targetRouterState),se(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",ve.Aborted)}))),se({next:i=>{o=!0,this.lastSuccessfulNavigation=pe(this.currentNavigation),this.events.next(new Oe(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),Zi(this.transitionAbortWithErrorSubject.pipe(se(i=>{throw i}))),qr(()=>{o||this.cancelNavigationTransition(r,"",ve.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Fe(i=>{if(this.destroyed)return r.resolve(!1),ye;if(o=!0,Wm(i))this.events.next(new ct(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),lw(i)?this.events.next(new xr(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new Ar(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=he(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof Or){let{message:c,cancellationCode:u}=La(this.urlSerializer,a);this.events.next(new ct(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new xr(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return ye}))}))}cancelNavigationTransition(n,r,o){let i=new ct(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=pe(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tb(e){return e!==Mr}var rv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(nb),providedIn:"root"})}return e})(),ja=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},nb=(()=>{class e extends ja{static \u0275fac=(()=>{let n;return function(o){return(n||(n=yr(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ov=(()=>{class e{urlSerializer=p(kn);options=p(tn,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(Yt);urlHandlingStrategy=p(Ua);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ut;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof ut?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=Bm(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(rb),providedIn:"root"})}return e})(),rb=(()=>{class e extends ov{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof en?this.updateStateMemento():n instanceof lt?this.commitTransition(r):n instanceof Yo?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Qo?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof ct&&n.code!==ve.SupersededByNewNavigation&&n.code!==ve.Redirect?this.restoreHistory(r):n instanceof Ar?this.restoreHistory(r,!0):n instanceof Oe&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=g(g({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=g(g({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=yr(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ga(e,t){e.events.pipe(Ee(n=>n instanceof Oe||n instanceof ct||n instanceof Ar||n instanceof lt),N(n=>n instanceof Oe||n instanceof lt?0:(n instanceof ct?n.code===ve.Redirect||n.code===ve.SupersededByNewNavigation:!1)?2:1),Ee(n=>n!==2),ht(1)).subscribe(()=>{t()})}var ob={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ib={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Je=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Ul);stateManager=p(ov);options=p(tn,{optional:!0})||{};pendingTasks=p(Et);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p($a);urlSerializer=p(kn);location=p(Yt);urlHandlingStrategy=p(Ua);injector=p(ne);_events=new W;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(rv);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(Vn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(oi,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new K;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=pe(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof ct&&r.code!==ve.Redirect&&r.code!==ve.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Oe)this.navigated=!0;else if(r instanceof xr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=g({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||tb(o.source)},s);this.scheduleNavigation(a,Mr,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}rw(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Mr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Me)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return pe(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Ud),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=g(g({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=km(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return Lm(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=Xt(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Mr,null,r)}navigate(n,r={skipLocationChange:!1}){return sb(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=g({},ob):r===!1?o=g({},ib):o=r,Xt(n))return vm(this.currentUrlTree,n,o);let i=this.parseUrl(n);return vm(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return Ga(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sb(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new D(4008,!1)}var nn=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=je(null);get href(){return pe(this.reactiveHref)}set href(n){this.reactiveHref.set(n)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new W;applicationErrorHandler=p(Me);options=p(tn,{optional:!0});constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.reactiveHref.set(p(new la("href"),{optional:!0}));let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let n=this.preserveFragment,r=o=>o==="merge"||o==="preserve";n||=r(this.queryParamsHandling),n||=!this.queryParamsHandling&&!r(this.options?.defaultQueryParamsHandling),n&&(this.subscription=this.router.events.subscribe(o=>{o instanceof Oe&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Xt(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(n!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.reactiveHref.set(n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n))??"":null)}applyAttributeValue(n,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return this.routerLinkInput===null?null:Xt(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(x(Je),x(He),_o("tabindex"),x(bt),x(Te),x(Qe))};static \u0275dir=Ae({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&qt("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Mo("href",o.reactiveHref(),Cl)("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",xn],skipLocationChange:[2,"skipLocationChange","skipLocationChange",xn],replaceUrl:[2,"replaceUrl","replaceUrl",xn],routerLink:"routerLink"},features:[_t]})}return e})(),Zd=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new te;constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Oe&&this.update()})}ngAfterContentInit(){C(this.links.changes,C(null)).pipe(At()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=V(n).pipe(At()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let r=ab(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?n.isActive(i,r):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}static \u0275fac=function(r){return new(r||e)(x(Je),x(Te),x(bt),x(Zt),x(nn,8))};static \u0275dir=Ae({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&Kl(i,nn,5),r&2){let s;Ao(s=Ro())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[_t]})}return e})();function ab(e){return!!e.paths}var si=class{};var iv=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i){this.router=n,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(Ee(n=>n instanceof Oe),Rt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=Cr(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return V(o).pipe(At())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=C(null);let i=o.pipe(Z(s=>s===null?C(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(n,r);return V([i,s]).pipe(At())}else return i})}static \u0275fac=function(r){return new(r||e)(E(Je),E(ne),E(si),E(Ha))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sv=new y(""),cb=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Mr;restoredId=0;store={};constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof en?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Oe?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof lt&&n.code===Nr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Rr&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>Mt(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new Rr(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Ll()};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();function Yd(e,...t){return kt([{provide:Vn,multi:!0,useValue:e},[],{provide:He,useFactory:av,deps:[Je]},{provide:So,multi:!0,useFactory:cv},t.map(n=>n.\u0275providers)])}function av(e){return e.routerState.root}function ai(e,t){return{\u0275kind:e,\u0275providers:t}}function cv(){let e=p(Ce);return t=>{let n=e.get(Wt);if(t!==n.components[0])return;let r=e.get(Je),o=e.get(uv);
4e.get(Qd)===1&&r.initialNavigation(),e.get(fv,null,{optional:!0})?.setUpPreloading(),e.get(sv,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var uv=new y("",{factory:()=>new W}),Qd=new y("",{providedIn:"root",factory:()=>1});function lv(){let e=[{provide:yl,useValue:!0},{provide:Qd,useValue:0},ta(()=>{let t=p(Ce);return t.get(cd,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(Je),i=t.get(uv);Ga(o,()=>{r(!0)}),t.get($a).afterPreactivation=()=>(r(!0),i.closed?C(void 0):i),o.initialNavigation()}))})];return ai(2,e)}function dv(){let e=[ta(()=>{p(Je).setUpLocationChangeListener()}),{provide:Qd,useValue:2}];return ai(3,e)}var fv=new y("");function hv(e){return ai(0,[{provide:fv,useExisting:iv},{provide:si,useExisting:e}])}function pv(){return ai(8,[Bd,{provide:oi,useExisting:Bd}])}function gv(e){zt("NgRouterViewTransitions");let t=[{provide:Gd,useValue:nv},{provide:zd,useValue:g({skipNextTransition:!!e?.skipInitialTransition},e)}];return ai(9,t)}var mv=[Yt,{provide:kn,useClass:Jt},Je,Ln,{provide:He,useFactory:av,deps:[Je]},Ha,[]],jn=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[mv,[],{provide:Vn,multi:!0,useValue:n},[],r?.errorHandler?{provide:Wd,useValue:r.errorHandler}:[],{provide:tn,useValue:r||{}},r?.useHash?lb():db(),ub(),r?.preloadingStrategy?hv(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?fb(r):[],r?.bindToComponentInputs?pv().\u0275providers:[],r?.enableViewTransitions?gv().\u0275providers:[],hb()]}}static forChild(n){return{ngModule:e,providers:[{provide:Vn,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=st({type:e});static \u0275inj=Ge({})}return e})();function ub(){return{provide:sv,useFactory:()=>{let e=p(am),t=p(Q),n=p(tn),r=p($a),o=p(kn);return n.scrollOffset&&e.setOffset(n.scrollOffset),new cb(o,r,e,t,n)}}}function lb(){return{provide:Qe,useClass:ud}}function db(){return{provide:Qe,useClass:ha}}function fb(e){return[e.initialNavigation==="disabled"?dv().\u0275providers:[],e.initialNavigation==="enabledBlocking"?lv().\u0275providers:[]]}var qd=new y("");function hb(){return[{provide:qd,useFactory:cv},{provide:So,multi:!0,useExisting:qd}]}var Lr=class e{playlist=new q([]);currentVideoIndex=new q(-1);initVideoPositionMinutes=new q(0);constructor(){}addVideo(t){let n=this.playlist.value;this.playlist.next([...n,t]),n.length==0&&this.currentVideoIndex.next(0)}playVideo(t){let n=this.playlist.value;t>=0&&t<n.length&&this.currentVideoIndex.next(t)}playNext(){let t=this.currentVideoIndex.value,n=this.playlist.value.length;if(n>0){let r=(t+1)%n;this.currentVideoIndex.next(r),this.initVideoPositionMinutes.next(0)}}clearPlaylist(){this.playlist.next([]),this.currentVideoIndex.next(-1)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var ci={production:!0,githubApiUrl:"https://api.github.com",githubOwner:"TheLandStander",githubRepo:"Playlists",githubBranch:"main",githubToken:"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"};var dt=class e{API_URL="https://api.github.com";OWNER=ci.githubOwner;REPO=ci.githubRepo;BRANCH=ci.githubBranch;TOKEN=ci.githubToken;constructor(){}createPlaylist(t,n,r="Create playlist"){let o=`${t}.txt`,i=`${this.API_URL}/repos/${this.OWNER}/${this.REPO}/contents/${o}`;return V(fetch(`${i}?ref=${this.BRANCH}`,{method:"GET",headers:{Authorization:`token ${this.TOKEN}`}}).then(s=>{if(s.status===404){let a={message:r,content:btoa(n),branch:this.BRANCH};return fetch(i,{method:"PUT",headers:{Authorization:`token ${this.TOKEN}`,"Content-Type":"application/json"},body:JSON.stringify(a)})}throw new Error(`GitHub API error: Status code ${s.status}`)}))}getPlaylist(t){let n=`${t}.txt`,r=`${this.API_URL}/repos/${this.OWNER}/${this.REPO}/contents/${n}?ref=${this.BRANCH}`;return V(fetch(r,{method:"GET"}).then(o=>{if(!o.ok)throw new Error(`GitHub API error: Status code ${o.status}`);return o.json()}).then(o=>atob(o.content)))}getChannels(){let t=`${this.API_URL}
4/repos/${this.OWNER}/${this.REPO}/contents/`;return V(fetch(t,{method:"GET"}).then(n=>{if(!n.ok)throw new Error(`GitHub API error: Status code ${n.status}`);return n.json()}).then(n=>n.map(r=>r.name.replace(".txt",""))))}updatePlaylist(t,n,r="Update playlist"){let o=`${t}.txt`,i=`${this.API_URL}/repos/${this.OWNER}/${this.REPO}/contents/${o}`;return V(fetch(`${i}?ref=${this.BRANCH}`,{method:"GET",headers:{Authorization:`token ${this.TOKEN}`}}).then(s=>{if(!s.ok)throw new Error(`GitHub API error: Status code ${s.status}`);return s.json()}).then(s=>{let a={message:r,content:btoa(n),sha:s.sha,branch:this.BRANCH};return fetch(i,{method:"PUT",headers:{Authorization:`token ${this.TOKEN}`,"Content-Type":"application/json"},body:JSON.stringify(a)})}).then(s=>{if(!s.ok)throw new Error(`GitHub API error: Status code ${s.status}`);return s.json()}))}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var qa=class e{constructor(t,n){this.githubService=t;this.playlistService=n}calcPlaylistPosition(t,n){let r=(Date.parse(new Date().toISOString())-Date.parse(t))/6e4;return Math.round(r%n)}calcCurrentVideo(t,n){let r=0;for(let o=0;o<t.length;o++)if(r+=t[o].durationMinutes,r>=n)return[t[o].location,n-(r-t[o].durationMinutes)];return[0,0]}loadPlaylist(t){return this.githubService.getPlaylist(t).pipe(N(n=>{let r=JSON.parse(n);this.playlistService.clearPlaylist(),r.videos.forEach(s=>{this.playlistService.addVideo({location:s.location,url:s.url,duration:s.durationMinutes})});let o=this.calcPlaylistPosition(r.dateTimeCreated,r.totalDurationMinutes),i=this.calcCurrentVideo(r.videos,o);return this.playlistService.playVideo(i[0]),this.playlistService.initVideoPositionMinutes.next(i[1]),r}),Fe(n=>(console.error("Error loading playlist:",n),Nt(()=>new Error(`Failed to load playlist: ${n.message}`)))))}static \u0275fac=function(n){return new(n||e)(E(dt),E(Lr))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var gb=["videoElement"],Za=class e{constructor(t,n,r){this.playlistService=t;this.loadPlaylistService=n;this.route=r}videoElement;currentVideo=null;initVideoPositionMinutes=0;playlist;subscriptions=[];setVideo(){if(this.videoElement&&this.videoElement.nativeElement&&this.currentVideo){let t=this.videoElement.nativeElement;t.src=this.currentVideo.url,t.load(),t.currentTime=this.initVideoPositionMinutes*60,t.play().catch(n=>console.error("Error playing video:",n))}}clearVideo(){this.playlistService.clearPlaylist(),this.videoElement.nativeElement.src="",this.videoElement.nativeElement.load(),this.subscriptions.forEach(t=>t.unsubscribe())}ngOnInit(){this.route.paramMap.subscribe(t=>{this.loadPlaylistService.loadPlaylist(t.get("ID")||"").subscribe(()=>{this.subscriptions.push(cn([this.playlistService.initVideoPositionMinutes,this.playlistService.currentVideoIndex,this.playlistService.playlist]).subscribe(([n,r,o
4])=>{this.playlist=o,this.initVideoPositionMinutes=n,this.currentVideo=this.playlist[r],this.setVideo()}))})})}ngOnDestroy(){this.clearVideo()}onVideoEnded(){this.playlistService.playNext()}static \u0275fac=function(n){return new(n||e)(x(Lr),x(qa),x(He))};static \u0275cmp=Ne({type:e,selectors:[["app-video-player"]],viewQuery:function(n,r){if(n&1&&Jl(gb,5),n&2){let o;Ao(o=Ro())&&(r.videoElement=o.first)}},decls:7,vars:1,consts:[["videoElement",""],[1,"video-player-container"],["autoplay","autoplay","disablePictureInPicture","true","oncontextmenu","return false;","oncanplay","this.play()","onpause","this.play()",1,"video-element",3,"ended"],["type","video/mp4",3,"src"],[3,"click"]],template:function(n,r){if(n&1){let o=Yl();Ir(0,"div",1)(1,"video",2,0),No("ended",function(){return uo(o),lo(r.onVideoEnded())}),ra(3,"source",3),z(4," Your browser does not support the video tag. "),_r(),Ir(5,"button",4),No("click",function(){return uo(o),lo(r.setVideo())}),z(6,"play"),_r()()}n&2&&(it(3),oa("src",r.currentVideo==null?null:r.currentVideo.url,zs))},dependencies:[Qt],styles:[".video-player-container[_ngcontent-%COMP%]{display:flex;width:1280px;height:720px;margin:0 auto;position:relative}.video-player-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{position:absolute;bottom:10px;left:10px;width:50px;height:25px}.video-element[_ngcontent-%COMP%]{width:1280px;height:720px;background-color:#000}{%BLOCK%}"]})};var bv=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(x(bt),x(Te))};static \u0275dir=Ae({type:e})}return e})(),mb=(()=>{class e extends bv{static \u0275fac=(()=>{let n;return function(o){return(n||(n=yr(e)))(o||e)}})();static \u0275dir=Ae({type:e,features:[Tn]})}return e})(),Sv=new y("");var vb={provide:Sv,useExisting:pn(()=>Xa),multi:!0};function yb(){let e=Be()?Be().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var Db=new y(""),Xa=(()=>{class e extends bv{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!yb())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(x(bt),x(Te),x(Db,8))};static \u0275dir=Ae({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&qt("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[ca([vb]),Tn]})}return e})();var Eb=new y(""),Cb=new y("");function Mv(e){return e!=null}function Tv(e){return An(e)?V(e):e}function Nv(e){let t={};return e.forEach(n=>{t=n!=null?g(g({},t),n):t}),Object.keys(t).length===0?null:t}function Av(e,t){return t.map(n=>n(e))}function Ib(e){return!e.validate}function Rv(e){return e.map(t=>Ib(t)?t:n=>t.validate(n))}function _b(e){if(!e)return null;let t=e.filter(Mv);return t.length==0?null:function(n){return Nv(Av(n,t))}}function xv(e){return e!=null?_b(Rv(e)):null}function wb(e){if(!e)return null;let t=e.filter(Mv);return t.length==0?null:function(n){let r=Av(n,t).map(Tv);return wc(r).pipe(N(Nv))}}function Ov(e){return e!=null?wb(Rv(e)):null}function yv(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function bb(e){return e._rawValidators}function Sb(e){return e._rawAsyncValidators}function Kd(e){return e?Array.isArray(e)?e:[e]:[]}function Qa(e,t){return Array.isArray(e)?e.includes(t):e===t}function Dv(e,t){let n=Kd(t);return Kd(e).forEach(o=>{Qa(n,o)||n.push(o)}),n}function Ev(e,t){return Kd(t).filter(n=>!Qa(e,n))}var Ka=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=xv(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Ov(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return this.control?this.control.hasError(t,n):!1}getError(t,n){return this.control?this.control.getError(t,n):null}}
vendor: 14,755 bytes, line 4
4,Jd=class extends Ka{name;get formDirective(){return null}get path(){return null}},hi=class extends Ka{_parent=null;name=null;valueAccessor=null},Xd=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Mb={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},vH=A(g({},Mb),{"[class.ng-submitted]":"isSubmitted"}),Fv=(()=>{class e extends Xd{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(x(hi,2))};static \u0275dir=Ae({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&ia("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[Tn]})}return e})();var ui="VALID",Ya="INVALID",Vr="PENDING",li="DISABLED",Bn=class{},Ja=class extends Bn{value;source;constructor(t,n){super(),this.value=t,this.source=n}},di=class extends Bn{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},fi=class extends Bn{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},jr=class extends Bn{status;source;constructor(t,n){super(),this.status=t,this.source=n}};var ef=class extends Bn{source;constructor(t){super(),this.source=t}};function Tb(e){return(ec(e)?e.validators:e)||null}function Nb(e){return Array.isArray(e)?xv(e):e||null}function Ab(e,t){return(ec(t)?t.asyncValidators:e)||null}function Rb(e){return Array.isArray(e)?Ov(e):e||null}function ec(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}var tf=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return pe(this.statusReactive)}set status(t){pe(()=>this.statusReactive.set(t))}_status=Fo(()=>this.statusReactive());statusReactive=je(void 0);get valid(){return this.status===ui}get invalid(){return this.status===Ya}get pending(){return this.status==Vr}get disabled(){return this.status===li}get enabled(){return this.status!==li}errors;get pristine(){return pe(this.pristineReactive)}set pristine(t){pe(()=>this.pristineReactive.set(t))}_pristine=Fo(()=>this.pristineReactive());pristineReactive=je(!0);get dirty(){return!this.pristine}get touched(){return pe(this.touchedReactive)}set touched(t){pe(()=>this.touchedReactive.set(t))}_touched=Fo(()=>this.touchedReactive());touchedReactive=je(!1);get untouched(){return!this.touched}_events=new W;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Dv(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Dv(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Ev(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Ev(t,this._rawAsyncValidators))}hasValidator(t){return Qa(this._rawValidators,t)}hasAsyncValidator(t){return Qa(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(A(g({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new fi(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new fi(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(A(g({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new di(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new di(!0,r))}markAsPending(t={}){this.status=Vr;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new jr(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(A(g({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=li,this.errors=null,this._forEachChild(o=>{o.disable(A(g({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Ja(this.value,r)),this._events.next(new jr(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(A(g({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=ui,this._forEachChild(r=>{r.enable(A(g({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(A(g({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ui||this.status===Vr)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Ja(this.value,n)),this._events.next(new jr(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(A(g({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?li:ui}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=Vr,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1,shouldHaveEmitted:t!==!1};let r=Tv(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new jr(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new te,this.statusChanges=new te}_calculateStatus(){return this._allControlsDisabled()?li:this.errors?Ya:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Vr)?Vr:this._anyControlsHaveStatus(Ya)?Ya:ui}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),o&&this._events.next(new di(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new fi(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ec(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Nb(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Rb(this._rawAsyncValidators)}};var Pv=new y("",{providedIn:"root",factory:()=>nf}),nf="always";function xb(e,t){return[...t.path,e]}function Ob(e,t,n=nf){Pb(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),kb(e,t),Vb(e,t),Lb(e,t),Fb(e,t)}function Cv(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Fb(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function Pb(e,t){let n=bb(e);t.validator!==null?e.setValidators(yv(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=Sb(e);t.asyncValidator!==null?e.setAsyncValidators(yv(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();Cv(t._rawValidators,o),Cv(t._rawAsyncValidators,o)}function kb(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&kv(e,t)})}function Lb(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&kv(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function kv(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Vb(e,t){let n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function jb(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function Bb(e){return Object.getPrototypeOf(e.constructor)===mb}function Hb(e,t){if(!t)return null;Array.isArray(t);let n,r,o;return t.forEach(i=>{i.constructor===Xa?n=i:Bb(i)?r=i:o=i}),o||r||n||null}function Iv(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function _v(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Ub=class extends tf{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(Tb(n),Ab(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ec(n)&&(n.nonNullable||n.initialValueIsDefault)&&(_v(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1,n?.emitEvent!==!1&&this._events.next(new ef(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Iv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Iv(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){_v(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var $b={provide:hi,useExisting:pn(()=>rf)},wv=Promise.resolve(),rf=(()=>{class e extends hi{_changeDetectorRef;callSetDisabledState;control=new Ub;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new te;constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=Hb(this,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),jb(n,this.viewModel)&&(this._updateV
4alue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ob(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){wv.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&xn(r);wv.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?xb(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(x(Jd,9),x(Eb,10),x(Cb,10),x(Sv,10),x(Zt,8),x(Pv,8))};static \u0275dir=Ae({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ca([$b]),Tn,_t]})}return e})();var Gb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=st({type:e});static \u0275inj=Ge({})}return e})();var Lv=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Pv,useValue:n.callSetDisabledState??nf}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=st({type:e});static \u0275inj=Ge({imports:[Gb]})}return e})();var tc=class e{constructor(t){this.githubService=t}createPlaylist(t,n){let r=n.split(",").map(o=>o.trim()).filter(o=>o.length>0);return V(this.getVideos(r).then(o=>{if(o.length==0)return Promise.reject(new Error("No valid URLs provided"));let i=o.reduce((a,c)=>a+c.durationMinutes,0),s={videos:o,totalDurationMinutes:i,dateTimeCreated:new Date().toISOString()};return this.githubService.createPlaylist(t,JSON.stringify(s))}))}getVideos(t){return Mt(this,null,function*(){let n=[];for(let r=0;r<t.length;r++){let o=t[r];try{let i=yield this.getVideoDuration(o);n.push({location:n.length,url:o,durationMinutes:i})}catch{console.warn("Could not load video")}}return n})}getVideoDuration(t,n=0){return Mt(this,null,function*(){let r=document.createElement("video");r.preload="metadata";let o=10,i=6e4;try{return yield new Promise((a,c)=>{r.onloadedmetadata=()=>{let u=r.duration/60;r.remove(),a(u)},r.onerror=()=>{r.remove(),c()},r.src=t})}catch{if(n<o)return n++,yield new Promise(s=>setTimeout(s,i)),this.getVideoDuration(t,n);throw new Error("Invalid video url")}})}static \u0275fac=function(n){return new(n||e)(E(dt))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var nc=class e{constructor(t,n){this.createPlaylistService=t;this.gitservice=n}playlistName="";urls="";cleanChannelName(t){return t.replaceAll(/[\/\\#\?\+\"\'\.,\s]/g,"").slice(0,50)}Create(){let t=this.cleanChannelName(this.playlistName);alert("Creating Channel: Do not close the page until the completion message appears !"),t!=""&&this.urls!=""&&this.gitservice.getPlaylist(t).subscribe({next:()=>{alert("Channel name is taken!")},error:()=>{this.createPlaylistService.createPlaylist(t,this.urls).subscribe({next:()=>{alert("Channel created successfully!"),this.urls="",this.playlistName=""},error:()=>{alert("Channel creation failed!")}})}})}static \u0275fac=function(n){return new(n||e)(x(tc),x(dt))};static \u0275cmp=Ne({type:e,selectors:[["app-create-playlist"]],decls:28,vars:2,consts:[[1,"Links"],["for","lists"],["href","https://fileditch.com/"],["href","https://pomf.lain.la/"],["href","https://catbox.moe/"],["href","https://archive.org/"],["href","https://www.bitchute.com/"],["for","nameField"],["id","nameField","type","text",3,"ngModelChange","ngModel"],["for","urlField"],["id","urlField","rows","24","cols","24",3,"ngModelChange","ngModel"],[3,"click"]],template:function(n,r){n&1&&(U(0,"div",0)(1,"label",1),z(2,"Resources for video hosting"),G(),U(3,"li")(4,"a",2),z(5,"fileditch:"),G()(),U(6,"li")(7,"a",3),z(8,"pomf:"),G()(),U(9,"li")(10,"a",4),z(11,"catbox:"),G()(),U(12,"li")(13,"a",5),z(14,"archive.org:"),G()(),U(15,"li")(16,"a",6),z(17,"bitchute:"),G()()(),U(18,"div")(19,"label",7),z(20,"Enter Channel Name"),G(),U(21,"input",8),Oo("ngModelChange",function(i){return aa(r.playlistName,i)||(r.playlistName=i),i}),G(),U(22,"label",9),z(23,"Enter video urls separated by commas"),G(),U(24,"textarea",10),Oo("ngModelChange",function(i){return aa(r.urls,i)||(r.urls=i),i}),z(25,"        "),G(),U(26,"button",11),qt("click",function(){return r.Create()}),z(27,"Create Channel"),G()()),n&2&&(it(21),xo("ngModel",r.playlistName),it(3),xo("ngModel",r.urls))},dependencies:[Qt,Lv,Xa,Fv,rf],styles:["div[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-width:1000px;margin:50px auto 20px;padding:20px;border-radius:8px;box-shadow:0 2px 10px #0000001a;background-color:#fff}textarea[_ngcontent-%COMP%]{margin-bottom:15px;padding:10px;border:1px solid #000000ff;border-radius:4px;font-size:12px}input[_ngcontent-%COMP%]{margin-bottom:25px;padding:10px;border:1px solid #000000ff;border-radius:4px;font-size:28px;max-width:500px}label[_ngcontent-%COMP%]{margin-bottom:5px;font-weight:700;font-size:28px}button[_ngcontent-%COMP%]{padding:10px 15px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:16px;transition:background-color .3s}button[_ngcontent-%COMP%]:hover{background-color:#0069d9}.Links[_ngcontent-%COMP%]{width:30%}"]})};var qb=e=>["/",e];function Zb(e,t){if(e&1&&(U(0,"tr")(1,"td")(2,"a",3),z(3),G()()()),e&2){let n=t.$index,r=Ql();it(2),na("routerLink",ed(2,qb,r.channels[n])),it(),sa(r.channels[n])}}var rc=class e{constructor(t){this.gitservice=t}channels=[];ngOnInit(){this.gitservice.getChannels().subscribe(t=>this.channels=t)}static \u0275fac=function(n){return new(n||e)(x(dt))};static \u0275cmp=Ne({type:e,selectors:[["app-channels"]],decls:8,vars:0,consts:[[1,"channel-table"],[1,"channel-table","th"],[1,"channel-table","td"],[1,"channel-link",3,"routerLink"]],template:function(n,r){n&1&&(U(0,"table",0)(1,"thead",1)(2,"tr")(3,"th"),z(4,"Channels"),G()()(),U(5,"tbody",2),ql(6,Zb,4,4,"tr",null,Wl),G()()),n&2&&(it(6),Zl(r.channels))},dependencies:[jn,nn],styles:[".channel-table[_ngcontent-%COMP%]{width:60%;border-collapse:collapse;font-family:Segoe UI,Arial,sans-serif;background-color:#1e1e1e;color:#f1f1f1;border-radius:12px;overflow:hidden;box-shadow:0 4px 8px #0000004d;margin-left:auto;margin-right:auto}.channel-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{text-align:left;padding:12px 16px;background-color:#2d2d2d;border-bottom:2px solid #3a3a3a;font-size:32px}.channel-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:12px 16px;border-bottom:1px solid #333}.channel-link[_ngcontent-%COMP%]{color:#4ea1ff;text-decoration:none;font-weight:500;transition:color .2s,transform .2s;
4display:inline-block;font-size:22px}.channel-link[_ngcontent-%COMP%]:hover{color:#81caff;transform:translate(2px)}.channel-table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background-color:#292929}"]})};var Vv=[{path:"",component:rc},{path:"create-playlist",component:nc},{path:":ID",component:Za}];var jv={providers:[wu(),rd({eventCoalescing:!0}),Yd(Vv)]};var oc=class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Ne({type:e,selectors:[["app-navigation"]],decls:11,vars:0,consts:[["routerLink","/","routerLinkActive","active"],["routerLink","/create-playlist","routerLinkActive","active"],["href","https://discord.gg/wTMPrV8KTb"]],template:function(n,r){n&1&&(U(0,"nav")(1,"ul")(2,"li")(3,"a",0),z(4,"Channels"),G()(),U(5,"li")(6,"a",1),z(7,"Create Channel"),G()(),U(8,"li")(9,"a",2),z(10,"Support"),G()()()())},dependencies:[Qt,jn,nn,Zd],styles:["nav[_ngcontent-%COMP%]{background-color:#333;padding:10px 0;margin-bottom:20px}ul[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0;display:flex;justify-content:center}li[_ngcontent-%COMP%]{margin:0 15px}a[_ngcontent-%COMP%]{color:#fff;text-decoration:none;font-size:32px;padding:5px 10px;border-radius:4px;transition:background-color .3s}a[_ngcontent-%COMP%]:hover{background-color:#555}.active[_ngcontent-%COMP%]{background-color:#007bff}"]})};var ic=class e{title=je("Playlist");static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Ne({type:e,selectors:[["app-root"]],decls:4,vars:0,consts:[[1,"app-container"],[1,"content"]],template:function(n,r){n&1&&(U(0,"div",0),Rn(1,"app-navigation"),U(2,"div",1),Rn(3,"router-outlet"),G()())},dependencies:[jn,ri,oc],styles:["\\fffd\\fffd.\\fffd a\\fffdp\\fffdp\\fffd-\\fffd c\\fffdo\\fffdn\\fffdt\\fffd a\\fffdi\\fffdn\\fffd e\\fffdr\\fffd[_ngcontent-%COMP%]   \\fffd[_ngcontent-%COMP%] {\\fffd  \\fffd  \\fffd  \\fffd f\\fffdo\\fffdn\\fffdt\\fffd-\\fffd f\\fffd a\\fffdm\\fffdi\\fffdl\\fffdy\\fffd:\\fffd  \\fffd A\\fffdr\\fffdi\\fffd a\\fffdl\\fffd,\\fffd  \\fffds\\fffd a\\fffdn\\fffds\\fffd-\\fffds\\fffd e\\fffdr\\fffdi\\fffd f\\fffd;\\fffd  \\fffd  \\fffd  \\fffdm\\fffd a\\fffdx\\fffd-\\fffdw\\fffdi\\fffd d\\fffdt\\fffdh\\fffd:\\fffd  \\fffd 1\\fffd 2\\fffd 0\\fffd 0\\fffdp\\fffdx\\fffd;\\fffd  \\fffd  \\fffd  \\fffdm\\fffd a\\fffdr\\fffdg\\fffdi\\fffdn\\fffd:\\fffd  \\fffd 0\\fffd  \\fffd a\\fffdu\\fffdt\\fffdo\\fffd;\\fffd  \\fffd  \\fffd  \\fffdp\\fffd a\\fffd d\\fffd d\\fffdi\\fffdn\\fffdg\\fffd:\\fffd  \\fffd 2\\fffd 0\\fffdp\\fffdx\\fffd;\\fffd  \\fffd}\\fffd[_ngcontent-%COMP%]   \\fffd[_ngcontent-%COMP%]   \\fffd.\\fffd c\\fffdo\\fffdn\\fffdt\\fffd e\\fffdn\\fffdt\\fffd[_ngcontent-%COMP%]   \\fffd[_ngcontent-%COMP%] {\\fffd  \\fffd  \\fffd  \\fffdp\\fffd a\\fffd d\\fffd d\\fffdi\\fffdn\\fffdg\\fffd:\\fffd  \\fffd 2\\fffd 0\\fffdp\\fffdx\\fffd;\\fffd  \\fffd  \\fffd  \\fffd b\\fffd a\\fffd c\\fffdk\\fffdg\\fffdr\\fffdo\\fffdu\\fffdn\\fffd d\\fffd-\\fffd c\\fffdo\\fffdl\\fffdo\\fffdr\\fffd:\\fffd  \\fffd#\\fffd f\\fffd 9\\fffd f\\fffd 9\\fffd f\\fffd 9\\fffd;\\fffd  \\fffd  \\fffd  \\fffd b\\fffdo\\fffdr\\fffd d\\fffd e\\fffdr\\fffd-\\fffdr\\fffd a\\fffd d\\fffdi\\fffdu\\fffds\\fffd:\\fffd  \\fffd 8\\fffdp\\fffdx\\fffd;\\fffd  \\fffd  \\fffd  \\fffdm\\fffdi\\fffdn\\fffd-\\fffdh\\fffd e\\fffdi\\fffdg\\fffdh\\fffdt\\fffd:\\fffd  \\fffd 4\\fffd 0\\fffd 0\\fffdp\\fffdx\\fffd;\\fffd  \\fffd}\\fffd[_ngcontent-%COMP%]   \\fffd[_ngcontent-%COMP%]   \\fffd[_ngcontent-%COMP%]{}"]})};Ed(ic,jv).catch(e=>console.error(e));

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.