spec-box-tms-sync 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ import{a as $,b as X,c as Aa}from"./chunk-IFGU66OU.js";var ge=null,ui=!1,gn=1,Gy=null,Y=Symbol("SIGNAL");function C(e){let t=ge;return ge=e,t}function li(){return ge}var xt={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 Rt(e){if(ui)throw new Error("");if(ge===null)return;ge.consumerOnSignalRead(e);let t=ge.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ge.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ge.producers,n!==void 0&&n.producer===e)){ge.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=gn;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ge&&(!r||o.knownValidAtEpoch===gn))return;let i=ir(ge),s={producer:e,consumer:ge,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:gn,lastReadVersion:e.version,nextConsumer:void 0};ge.producersTail=s,t!==void 0?t.nextProducer=s:ge.producers=s,i&&xd(e,s)}function Sd(){gn++}function vn(e){if(!(ir(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===gn)){if(!e.producerMustRecompute(e)&&!Dn(e)){or(e);return}e.producerRecomputeValue(e),or(e)}}function xa(e){if(e.consumers===void 0)return;let t=ui;ui=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Md(r)}}finally{ui=t}}function Ra(){return ge?.consumerAllowSignalWrites!==!1}function Md(e){e.dirty=!0,xa(e),e.consumerMarkedDirty?.(e)}function or(e){e.dirty=!1,e.lastCleanEpoch=gn}function ht(e){return e&&Nd(e),C(e)}function Nd(e){if(e.producersTail?.knownValidAtEpoch===gn){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function Ot(e,t){C(t),e&&Ad(e)}function Ad(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(ir(e))do n=Oa(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Dn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(vn(n),r!==n.version))return!0}return!1}function kt(e){if(ir(e)){let t=e.producers;for(;t!==void 0;)t=Oa(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function xd(e,t){let n=e.consumersTail,r=ir(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)xd(o.producer,o)}function Oa(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)o.nextConsumer=r;else if(t.consumers=r,!ir(t)){let i=t.producers;for(;i!==void 0;)i=Oa(i)}return n}function ir(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function eo(e){Gy?.(e)}function to(e,t){return Object.is(e,t)}function no(e,t){let n=Object.create(zy);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(vn(n),Rt(n),n.value===pt)throw n.error;return n.value};return r[Y]=n,eo(n),r}var mn=Symbol("UNSET"),yn=Symbol("COMPUTING"),pt=Symbol("ERRORED"),zy=X($({},xt),{value:mn,dirty:!0,error:null,equal:to,kind:"computed",producerMustRecompute(e){return e.value===mn||e.value===yn},producerRecomputeValue(e){if(e.value===yn)throw new Error("");let t=e.value;e.value=yn;let n=ht(e),r,o=!1;try{r=e.computation(),C(null),o=t!==mn&&t!==pt&&r!==pt&&e.equal(t,r)}catch(i){r=pt,e.error=i}finally{Ot(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Wy(){throw new Error}var Rd=Wy;function Od(e){Rd(e)}function ka(e){Rd=e}var qy=null;function La(e,t){let n=Object.create(ro);n.value=e,t!==void 0&&(n.equal=t);let r=()=>kd(n);return r[Y]=n,eo(n),[r,s=>Qt(n,s),s=>di(n,s)]}function kd(e){return Rt(e),e.value}function Qt(e,t){Ra()||Od(e),e.equal(e.value,t)||(e.value=t,Zy(e))}function di(e,t){Ra()||Od(e),Qt(e,t(e.value))}var ro=X($({},xt),{equal:to,value:void 0,kind:"signal"});function Zy(e){e.version++,Sd(),xa(e),qy?.(e)}var Fa=X($({},xt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Pa(e){if(e.dirty=!1,e.version>0&&!Dn(e))return;e.version++;let t=ht(e);try{e.cleanup(),e.fn()}finally{Ot(e,t)}}var ja;function fi(){return ja}function gt(e){let t=ja;return ja=e,t}var Ld=Symbol("NotFound");function sr(e){return e===Ld||e?.name==="\u0275NotFound"}function Ba(e,t,n){let r=Object.create(Yy);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(vn(r),Rt(r),r.value===pt)throw r.error;return r.value};return i[Y]=r,eo(r),i}function Fd(e,t){vn(e),Qt(e,t),or(e)}function Pd(e,t){if(vn(e),e.value===pt)throw e.error;di(e,t),or(e)}var Yy=X($({},xt),{value:mn,dirty:!0,error:null,equal:to,kind:"linkedSignal",producerMustRecompute(e){return e.value===mn||e.value===yn},producerRecomputeValue(e){if(e.value===yn)throw new Error("");let t=e.value;e.value=yn;let n=ht(e),r,o=!1;try{let i=e.source(),s=t!==mn&&t!==pt,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,C(null),o=s&&r!==pt&&e.equal(t,r)}catch(i){r=pt,e.error=i}finally{Ot(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function jd(e){let t=C(null);try{return e()}finally{C(t)}}function T(e){return typeof e=="function"}function ar(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 pi=ar(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 En(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ue=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(T(r))try{r()}catch(i){t=i instanceof pi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Bd(i)}catch(s){t=t??[],s instanceof pi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Bd(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)&&En(n,t)}remove(t){let{_finalizers:n}=this;n&&En(n,t),t instanceof e&&t._removeParent(this)}};ue.EMPTY=(()=>{let e=new ue;return e.closed=!0,e})();var Va=ue.EMPTY;function hi(e){return e instanceof ue||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function Bd(e){T(e)?e():e.unsubscribe()}var Ke={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var cr={setTimeout(e,t,...n){let{delegate:r}=cr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=cr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gi(e){cr.setTimeout(()=>{let{onUnhandledError:t}=Ke;if(t)t(e);else throw e})}function Je(){}var Vd=Ha("C",void 0,void 0);function Hd(e){return Ha("E",void 0,e)}function Ud(e){return Ha("N",e,void 0)}function Ha(e,t,n){return{kind:e,value:t,error:n}}var In=null;function ur(e){if(Ke.useDeprecatedSynchronousErrorHandling){let t=!In;if(t&&(In={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=In;if(In=null,n)throw r}}else e()}function $d(e){Ke.useDeprecatedSynchronousErrorHandling&&In&&(In.errorThrown=!0,In.error=e)}var wn=class extends ue{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hi(t)&&t.add(this)):this.destination=Jy}static create(t,n,r){return new Xe(t,n,r)}next(t){this.isStopped?$a(Ud(t),this):this._next(t)}error(t){this.isStopped?$a(Hd(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$a(Vd,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()}}},Qy=Function.prototype.bind;function Ua(e,t){return Qy.call(e,t)}var Ga=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){mi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mi(r)}else mi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mi(n)}}},Xe=class extends wn{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ke.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ua(t.next,i),error:t.error&&Ua(t.error,i),complete:t.complete&&Ua(t.complete,i)}):o=t}this.destination=new Ga(o)}};function mi(e){Ke.useDeprecatedSynchronousErrorHandling?$d(e):gi(e)}function Ky(e){throw e}function $a(e,t){let{onStoppedNotification:n}=Ke;n&&cr.setTimeout(()=>n(e,t))}var Jy={closed:!0,next:Je,error:Ky,complete:Je};var lr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function le(e){return e}function Xy(...e){return za(e)}function za(e){return e.length===0?le:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var O=(()=>{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=tv(n)?n:new Xe(n,r,o);return ur(()=>{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=Gd(r),new r((o,i)=>{let s=new Xe({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)}[lr](){return this}pipe(...n){return za(n)(this)}toPromise(n){return n=Gd(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 Gd(e){var t;return(t=e??Ke.Promise)!==null&&t!==void 0?t:Promise}function ev(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function tv(e){return e&&e instanceof wn||ev(e)&&hi(e)}function nv(e){return T(e?.lift)}function N(e){return t=>{if(nv(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 S(e,t,n,r,o){return new Wa(e,t,n,r,o)}var Wa=class extends wn{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))}}};var zd=ar(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var me=(()=>{class e extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new yi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new zd}next(n){ur(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ur(()=>{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(){ur(()=>{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?Va:(this.currentObservers=null,i.push(n),new ue(()=>{this.currentObservers=null,En(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new O;return n.source=this,n}}return e.create=(t,n)=>new yi(t,n),e})(),yi=class extends me{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:Va}};var Cn=class extends me{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 oo={now(){return(oo.delegate||Date).now()},delegate:void 0};var io=class extends me{constructor(t=1/0,n=1/0,r=oo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var vi=class extends ue{constructor(t,n){super()}schedule(t,n=0){return this}};var so={setInterval(e,t,...n){let{delegate:r}=so;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=so;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var dr=class extends vi{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return so.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&so.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,En(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var fr=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};fr.now=oo.now;var pr=class extends fr{constructor(t,n=fr.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Kt=new pr(dr),qa=Kt;var Di=class extends dr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var Ei=class extends pr{};var rv=new Ei(Di);var Fe=new O(e=>e.complete());function Ii(e){return e&&T(e.schedule)}function Za(e){return e[e.length-1]}function hr(e){return T(Za(e))?e.pop():void 0}function mt(e){return Ii(Za(e))?e.pop():void 0}function Wd(e,t){return typeof Za(e)=="number"?e.pop():t}function Zd(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 qd(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 bn(e){return this instanceof bn?(this.v=e,this):new bn(e)}function Yd(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(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(y,D){i.push([f,m,y,D])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(m){p(i[0][3],m)}}function u(f){f.value instanceof bn?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Qd(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 qd=="function"?qd(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 gr=e=>e&&typeof e.length=="number"&&typeof e!="function";function wi(e){return T(e?.then)}function Ci(e){return T(e[lr])}function bi(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function Ti(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 ov(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var _i=ov();function Si(e){return T(e?.[_i])}function Mi(e){return Yd(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield bn(n.read());if(o)return yield bn(void 0);yield yield bn(r)}}finally{n.releaseLock()}})}function Ni(e){return T(e?.getReader)}function L(e){if(e instanceof O)return e;if(e!=null){if(Ci(e))return iv(e);if(gr(e))return sv(e);if(wi(e))return av(e);if(bi(e))return Kd(e);if(Si(e))return cv(e);if(Ni(e))return uv(e)}throw Ti(e)}function iv(e){return new O(t=>{let n=e[lr]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function sv(e){return new O(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function av(e){return new O(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gi)})}function cv(e){return new O(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Kd(e){return new O(t=>{lv(e,t).catch(n=>t.error(n))})}function uv(e){return Kd(Mi(e))}function lv(e,t){var n,r,o,i;return Zd(this,void 0,void 0,function*(){try{for(n=Qd(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 be(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 ao(e,t=0){return N((n,r)=>{n.subscribe(S(r,o=>be(r,e,()=>r.next(o),t),()=>be(r,e,()=>r.complete(),t),o=>be(r,e,()=>r.error(o),t)))})}function Ai(e,t=0){return N((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Jd(e,t){return L(e).pipe(Ai(t),ao(t))}function Xd(e,t){return L(e).pipe(Ai(t),ao(t))}function ef(e,t){return new O(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function tf(e,t){return new O(n=>{let r;return be(n,t,()=>{r=e[_i](),be(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)}),()=>T(r?.return)&&r.return()})}function xi(e,t){if(!e)throw new Error("Iterable cannot be null");return new O(n=>{be(n,t,()=>{let r=e[Symbol.asyncIterator]();be(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function nf(e,t){return xi(Mi(e),t)}function rf(e,t){if(e!=null){if(Ci(e))return Jd(e,t);if(gr(e))return ef(e,t);if(wi(e))return Xd(e,t);if(bi(e))return xi(e,t);if(Si(e))return tf(e,t);if(Ni(e))return nf(e,t)}throw Ti(e)}function Ae(e,t){return t?rf(e,t):L(e)}function Ya(...e){let t=mt(e);return Ae(e,t)}function Tn(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new O(t?o=>t.schedule(r,0,o):r)}function dv(e){return!!e&&(e instanceof O||T(e.lift)&&T(e.subscribe))}var _n=ar(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Qa(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Xe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new _n)}});e.subscribe(i)})}function of(e){return e instanceof Date&&!isNaN(e)}function ae(e,t){return N((n,r)=>{let o=0;n.subscribe(S(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:fv}=Array;function pv(e,t){return fv(t)?e(...t):e(t)}function mr(e){return ae(t=>pv(e,t))}var{isArray:hv}=Array,{getPrototypeOf:gv,prototype:mv,keys:yv}=Object;function Ri(e){if(e.length===1){let t=e[0];if(hv(t))return{args:t,keys:null};if(vv(t)){let n=yv(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function vv(e){return e&&typeof e=="object"&&gv(e)===mv}function Oi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Dv(...e){let t=mt(e),n=hr(e),{args:r,keys:o}=Ri(e);if(r.length===0)return Ae([],t);let i=new O(Ev(r,t,o?s=>Oi(o,s):le));return n?i.pipe(mr(n)):i}function Ev(e,t,n=le){return r=>{sf(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)sf(t,()=>{let u=Ae(e[c],t),l=!1;u.subscribe(S(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function sf(e,t,n){e?be(n,e,t):t()}function af(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=m=>u<r?h(m):c.push(m),h=m=>{i&&t.next(m),u++;let y=!1;L(n(m,l++)).subscribe(S(t,D=>{o?.(D),i?f(D):t.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let D=c.shift();s?be(t,s,()=>h(D)):h(D)}p()}catch(D){t.error(D)}}))};return e.subscribe(S(t,f,()=>{d=!0,p()})),()=>{a?.()}}function et(e,t,n=1/0){return T(t)?et((r,o)=>ae((i,s)=>t(r,i,o,s))(L(e(r,o))),n):(typeof t=="number"&&(n=t),N((r,o)=>af(r,o,e,n)))}function ki(e=1/0){return et(le,e)}function cf(){return ki(1)}function yr(...e){return cf()(Ae(e,mt(e)))}function Iv(e){return new O(t=>{L(e()).subscribe(t)})}function Ka(...e){let t=hr(e),{args:n,keys:r}=Ri(e),o=new O(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;L(n[l]).subscribe(S(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Oi(r,a):a),i.complete())}))}});return t?o.pipe(mr(t)):o}var wv=["addListener","removeListener"],Cv=["addEventListener","removeEventListener"],bv=["on","off"];function Ja(e,t,n,r){if(T(n)&&(r=n,n=void 0),r)return Ja(e,t,n).pipe(mr(r));let[o,i]=Sv(e)?Cv.map(s=>a=>e[s](t,a,n)):Tv(e)?wv.map(uf(e,t)):_v(e)?bv.map(uf(e,t)):[];if(!o&&gr(e))return et(s=>Ja(s,t,n))(L(e));if(!o)throw new TypeError("Invalid event target");return new O(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function uf(e,t){return n=>r=>e[n](t,r)}function Tv(e){return T(e.addListener)&&T(e.removeListener)}function _v(e){return T(e.on)&&T(e.off)}function Sv(e){return T(e.addEventListener)&&T(e.removeEventListener)}function Lt(e=0,t,n=qa){let r=-1;return t!=null&&(Ii(t)?n=t:r=t),new O(o=>{let i=of(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Mv(...e){let t=mt(e),n=Wd(e,1/0),r=e;return r.length?r.length===1?L(r[0]):ki(n)(Ae(r,t)):Fe}var Nv=new O(Je);function tt(e,t){return N((n,r)=>{let o=0;n.subscribe(S(r,i=>e.call(t,i,o++)&&r.next(i)))})}function lf(e){return N((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(S(n,u=>{r=!0,o=u,i||L(e(u)).subscribe(i=S(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Av(e,t=Kt){return lf(()=>Lt(e,t))}function co(e){return N((t,n)=>{let r=null,o=!1,i;r=t.subscribe(S(n,void 0,void 0,s=>{i=L(e(s,co(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Xa(e,t){return T(t)?et(e,t,1):et(e,1)}function ec(e){return N((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Sn(e){return e<=0?()=>Fe:N((t,n)=>{let r=0;t.subscribe(S(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function df(){return N((e,t)=>{e.subscribe(S(t,Je))})}function ff(e){return ae(()=>e)}function tc(e,t){return t?n=>yr(t.pipe(Sn(1),df()),n.pipe(tc(e))):et((n,r)=>L(e(n,r)).pipe(Sn(1),ff(n)))}function xv(e,t=Kt){let n=Lt(e,t);return tc(()=>n)}function Rv(e,t=le){return e=e??Ov,N((n,r)=>{let o,i=!0;n.subscribe(S(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Ov(e,t){return e===t}function pf(e=kv){return N((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function kv(){return new _n}function Li(e){return N((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Lv(e,t){let n=arguments.length>=2;return r=>r.pipe(e?tt((o,i)=>e(o,i,r)):le,Sn(1),n?ec(t):pf(()=>new _n))}function Fv(e){return e<=0?()=>Fe:N((t,n)=>{let r=[];t.subscribe(S(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 Pv(e){let t=1/0,n;return e!=null&&(typeof e=="object"?{count:t=1/0,delay:n}=e:t=e),t<=0?()=>Fe:N((r,o)=>{let i=0,s,a=()=>{if(s?.unsubscribe(),s=null,n!=null){let u=typeof n=="number"?Lt(n):L(n(i)),l=S(o,()=>{l.unsubscribe(),c()});u.subscribe(l)}else c()},c=()=>{let u=!1;s=r.subscribe(S(o,void 0,()=>{++i<t?s?a():u=!0:o.complete()})),u&&a()};c()})}function rc(e={}){let{connector:t=()=>new me,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return N((m,y)=>{u++,!d&&!l&&p();let D=c=c??t();y.add(()=>{u--,u===0&&!d&&!l&&(a=nc(h,o))}),D.subscribe(y),!s&&u>0&&(s=new Xe({next:F=>D.next(F),error:F=>{d=!0,p(),a=nc(f,n,F),D.error(F)},complete:()=>{l=!0,p(),a=nc(f,r),D.complete()}}),L(m).subscribe(s))})(i)}}function nc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Xe({next:()=>{r.unsubscribe(),e()}});return L(t(...n)).subscribe(r)}function jv(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,rc({connector:()=>new io(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Bv(e){return tt((t,n)=>e<=n)}function hf(...e){let t=mt(e);return N((n,r)=>{(t?yr(e,n,t):yr(e,n)).subscribe(r)})}function vr(e,t){return N((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(S(r,c=>{o?.unsubscribe();let u=0,l=i++;L(e(c,l)).subscribe(o=S(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function gf(e){return N((t,n)=>{L(e).subscribe(S(n,()=>n.complete(),Je)),!n.closed&&t.subscribe(n)})}function Vv(e,t=!1){return N((n,r)=>{let o=0;n.subscribe(S(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function uo(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?N((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(S(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)}))}):le}function mf(e,t){return N((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,c=null,u=!1,l=()=>{c?.unsubscribe(),c=null,i&&(f(),u&&r.complete())},d=()=>{c=null,u&&r.complete()},p=h=>c=L(e(h)).subscribe(S(r,l,d)),f=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!u&&p(h)}};n.subscribe(S(r,h=>{s=!0,a=h,!(c&&!c.closed)&&(o?f():p(h))},()=>{u=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function Hv(e,t=Kt,n){let r=Lt(e,t);return mf(()=>r,n)}function Uv(...e){let t=hr(e);return N((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)L(e[c]).subscribe(S(r,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(le))&&(s=null))},Je));n.subscribe(S(r,c=>{if(a){let u=[c,...i];r.next(t?t(...u):u)}}))})}var Ui="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",v=class extends Error{code;constructor(t,n){super(Bt(t,n)),this.code=t}};function $v(e){return`NG0${Math.abs(e)}`}function Bt(e,t){return`${$v(e)}${t?": "+t:""}`}function j(e){for(let t in e)if(e[t]===j)return t;throw Error("")}function If(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function mo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(mo).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 $i(e,t){return e?t?`${e} ${t}`:e:t||""}var Gv=j({__forward_ref__:j});function Gi(e){return e.__forward_ref__=Gi,e}function oe(e){return yc(e)?e():e}function yc(e){return typeof e=="function"&&e.hasOwnProperty(Gv)&&e.__forward_ref__===Gi}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Rn(e){return{providers:e.providers||[],imports:e.imports||[]}}function yo(e){return Wv(e,zi)}function zv(e){return yo(e)!==null}function Wv(e,t){return e.hasOwnProperty(t)&&e[t]||null}function qv(e){let t=e?.[zi]??null;return t||null}function ic(e){return e&&e.hasOwnProperty(Pi)?e[Pi]:null}var zi=j({\u0275prov:j}),Pi=j({\u0275inj:j}),_=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=k({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function vc(e){return e&&!!e.\u0275providers}var Dc=j({\u0275cmp:j}),Ec=j({\u0275dir:j}),Ic=j({\u0275pipe:j}),wc=j({\u0275mod:j}),fo=j({\u0275fac:j}),On=j({__NG_ELEMENT_ID__:j}),yf=j({__NG_ENV_ID__:j});function wf(e){return qi(e,"@NgModule"),e[wc]||null}function Vt(e){return qi(e,"@Component"),e[Dc]||null}function Wi(e){return qi(e,"@Directive"),e[Ec]||null}function Cf(e){return qi(e,"@Pipe"),e[Ic]||null}function qi(e,t){if(e==null)throw new v(-919,!1)}function kn(e){return typeof e=="string"?e:e==null?"":String(e)}var bf=j({ngErrorCode:j}),Zv=j({ngErrorMessage:j}),Yv=j({ngTokenPath:j});function Cc(e,t){return Tf("",-200,t)}function Zi(e,t){throw new v(-201,!1)}function Tf(e,t,n){let r=new v(t,e);return r[bf]=t,r[Zv]=e,n&&(r[Yv]=n),r}function Qv(e){return e[bf]}var sc;function _f(){return sc}function ye(e){let t=sc;return sc=e,t}function bc(e,t,n){let r=yo(e);if(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;Zi(e,"")}var je=globalThis;var Kv={},Mn=Kv,ac="__NG_DI_FLAG__",cc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Nn(n)||0;try{return this.injector.get(t,r&8?null:Mn,r)}catch(o){if(sr(o))return o;throw o}}};function Jv(e,t=0){let n=fi();if(n===void 0)throw new v(-203,!1);if(n===null)return bc(e,void 0,t);{let r=Xv(t),o=n.retrieve(e,r);if(sr(o)){if(r.optional)return null;throw o}return o}}function A(e,t=0){return(_f()||Jv)(oe(e),t)}function g(e,t){return A(e,Nn(t))}function Nn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Xv(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function uc(e){let t=[];for(let n=0;n<e.length;n++){let r=oe(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=eD(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(A(o,i))}else t.push(A(r))}return t}function Yi(e,t){return e[ac]=t,e.prototype[ac]=t,e}function eD(e){return e[ac]}function Jt(e,t){let n=e.hasOwnProperty(fo);return n?e[fo]:null}function Sf(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 Mf(e){return e.flat(Number.POSITIVE_INFINITY)}function Qi(e,t){e.forEach(n=>Array.isArray(n)?Qi(n,t):t(n))}function Tc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nf(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Af(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else 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 Ki(e,t,n){let r=Ir(e,t);return r>=0?e[r|1]=n:(r=~r,Af(e,r,t,n)),r}function Ji(e,t){let n=Ir(e,t);if(n>=0)return e[n|1]}function Ir(e,t){return tD(e,t,1)}function tD(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 en={},de=[],Ln=new _(""),Do=new _("",-1),_c=new _(""),Er=class{get(t,n=Mn){if(n===Mn){let o=Tf("",-201);throw o.name="\u0275NotFound",o}return n}};function Ht(e){return{\u0275providers:e}}function xf(e){return Ht([{provide:Ln,multi:!0,useValue:e}])}function Rf(...e){return{\u0275providers:Sc(!0,e),\u0275fromNgModule:!0}}function Sc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Qi(t,s=>{let a=s;ji(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Of(o,i),n}function Of(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Mc(o,i=>{t(i,r)})}}function ji(e,t,n,r){if(e=oe(e),!e)return!1;let o=null,i=ic(e),s=!i&&Vt(e);if(!i&&!s){let c=e.ngModule;if(i=ic(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)ji(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Qi(i.imports,l=>{ji(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Of(u,t)}if(!a){let u=Jt(o)||(()=>new o);t({provide:o,useFactory:u,deps:de},o),t({provide:_c,useValue:o,multi:!0},o),t({provide:Ln,useValue:()=>A(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Mc(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Mc(e,t){for(let n of e)vc(n)&&(n=n.\u0275providers),Array.isArray(n)?Mc(n,t):t(n)}var nD=j({provide:String,useValue:j});function kf(e){return e!==null&&typeof e=="object"&&nD in e}function rD(e){return!!(e&&e.useExisting)}function oD(e){return!!(e&&e.useFactory)}function An(e){return typeof e=="function"}function Lf(e){return!!e.useClass}var Eo=new _(""),Fi={},vf={},oc;function wr(){return oc===void 0&&(oc=new Er),oc}var ve=class{},xn=class extends ve{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,dc(t,s=>this.processProvider(s)),this.records.set(Do,Dr(void 0,this)),o.has("environment")&&this.records.set(ve,Dr(void 0,this));let i=this.records.get(Eo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(_c,de,{self:!0}))}retrieve(t,n){let r=Nn(n)||0;try{return this.get(t,Mn,r)}catch(o){if(sr(o))return o;throw o}}destroy(){lo(this),this._destroyed=!0;let t=C(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(),C(t)}}onDestroy(t){return lo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){lo(this);let n=gt(this),r=ye(void 0),o;try{return t()}finally{gt(n),ye(r)}}get(t,n=Mn,r){if(lo(this),t.hasOwnProperty(yf))return t[yf](this);let o=Nn(r),i,s=gt(this),a=ye(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=uD(t)&&yo(t);l&&this.injectableDefInScope(l)?u=Dr(lc(t),Fi):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?wr():this.parent;return n=o&8&&n===Mn?null:n,c.get(t,n)}catch(c){let u=Qv(c);throw u===-200||u===-201?new v(u,null):c}finally{ye(a),gt(s)}}resolveInjectorInitializers(){let t=C(null),n=gt(this),r=ye(void 0),o;try{let i=this.get(Ln,de,{self:!0});for(let s of i)s()}finally{gt(n),ye(r),C(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=oe(t);let n=An(t)?t:oe(t&&t.provide),r=sD(t);if(!An(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Dr(void 0,Fi,!0),o.factory=()=>uc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=C(null);try{if(n.value===vf)throw Cc("");return n.value===Fi&&(n.value=vf,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&cD(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=oe(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 lc(e){let t=yo(e),n=t!==null?t.factory:Jt(e);if(n!==null)return n;if(e instanceof _)throw new v(-204,!1);if(e instanceof Function)return iD(e);throw new v(-204,!1)}function iD(e){if(e.length>0)throw new v(-204,!1);let n=qv(e);return n!==null?()=>n.factory(e):()=>new e}function sD(e){if(kf(e))return Dr(void 0,e.useValue);{let t=Nc(e);return Dr(t,Fi)}}function Nc(e,t,n){let r;if(An(e)){let o=oe(e);return Jt(o)||lc(o)}else if(kf(e))r=()=>oe(e.useValue);else if(oD(e))r=()=>e.useFactory(...uc(e.deps||[]));else if(rD(e))r=(o,i)=>A(oe(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=oe(e&&(e.useClass||e.provide));if(aD(e))r=()=>new o(...uc(e.deps));else return Jt(o)||lc(o)}return r}function lo(e){if(e.destroyed)throw new v(-205,!1)}function Dr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function aD(e){return!!e.deps}function cD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function uD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function dc(e,t){for(let n of e)Array.isArray(n)?dc(n,t):n&&vc(n)?dc(n.\u0275providers,t):t(n)}function Cr(e,t){let n;e instanceof xn?(lo(e),n=e):n=new cc(e);let r,o=gt(n),i=ye(void 0);try{return t()}finally{gt(o),ye(i)}}function Ff(){return _f()!==void 0||fi()!=null}var nt=0,w=1,M=2,ie=3,Be=4,pe=5,Fn=6,br=7,J=8,vt=9,rt=10,V=11,Tr=12,Ac=13,tn=14,Ee=15,nn=16,Pn=17,Dt=18,Et=19,xc=20,Pt=21,Xi=22,Xt=23,xe=24,jn=25,It=26,W=27,Pf=1,Rc=6,rn=7,Io=8,Bn=9,Q=10;function Ut(e){return Array.isArray(e)&&typeof e[Pf]=="object"}function Ve(e){return Array.isArray(e)&&e[Pf]===!0}function Oc(e){return(e.flags&4)!==0}function $t(e){return e.componentOffset>-1}function _r(e){return(e.flags&1)===1}function ot(e){return!!e.template}function Sr(e){return(e[M]&512)!==0}function Vn(e){return(e[M]&256)===256}var kc="svg",jf="math";function He(e){for(;Array.isArray(e);)e=e[nt];return e}function Lc(e,t){return He(t[e])}function Ue(e,t){return He(t[e.index])}function es(e,t){return e.data[t]}function ts(e,t){return e[t]}function Fc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function $e(e,t){let n=t[e];return Ut(n)?n:n[nt]}function Bf(e){return(e[M]&4)===4}function ns(e){return(e[M]&128)===128}function Vf(e){return Ve(e[ie])}function Ge(e,t){return t==null?null:e[t]}function Pc(e){e[Pn]=0}function jc(e){e[M]&1024||(e[M]|=1024,ns(e)&&Hn(e))}function Hf(e,t){for(;e>0;)t=t[tn],e--;return t}function wo(e){return!!(e[M]&9216||e[xe]?.dirty)}function rs(e){e[rt].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),wo(e)&&Hn(e)}function Hn(e){e[rt].changeDetectionScheduler?.notify(0);let t=jt(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!ns(t)));)t=jt(t)}function os(e,t){if(Vn(e))throw new v(911,!1);e[Pt]===null&&(e[Pt]=[]),e[Pt].push(t)}function Uf(e,t){if(e[Pt]===null)return;let n=e[Pt].indexOf(t);n!==-1&&e[Pt].splice(n,1)}function jt(e){let t=e[ie];return Ve(t)?t[ie]:t}function Bc(e){return e[br]??=[]}function Vc(e){return e.cleanup??=[]}function $f(e,t,n,r){let o=Bc(t);o.push(n),e.firstCreatePass&&Vc(e).push(r,o.length-1)}var x={lFrame:rp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var fc=!1;function Gf(){return x.lFrame.elementDepthCount}function zf(){x.lFrame.elementDepthCount++}function Hc(){x.lFrame.elementDepthCount--}function is(){return x.bindingsEnabled}function Uc(){return x.skipHydrationRootTNode!==null}function $c(e){return x.skipHydrationRootTNode===e}function Gc(){x.skipHydrationRootTNode=null}function b(){return x.lFrame.lView}function U(){return x.lFrame.tView}function Wf(e){return x.lFrame.contextLView=e,e[J]}function qf(e){return x.lFrame.contextLView=null,e}function ee(){let e=zc();for(;e!==null&&e.type===64;)e=e.parent;return e}function zc(){return x.lFrame.currentTNode}function Zf(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Mr(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function Wc(){return x.lFrame.isParent}function qc(){x.lFrame.isParent=!1}function Yf(){return x.lFrame.contextLView}function Zc(){return fc}function po(e){let t=fc;return fc=e,t}function Nr(){let e=x.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qf(){return x.lFrame.bindingIndex}function Kf(e){return x.lFrame.bindingIndex=e}function on(){return x.lFrame.bindingIndex++}function ss(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Jf(){return x.lFrame.inI18n}function Xf(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,as(t)}function ep(){return x.lFrame.currentDirectiveIndex}function as(e){x.lFrame.currentDirectiveIndex=e}function tp(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function cs(){return x.lFrame.currentQueryIndex}function Co(e){x.lFrame.currentQueryIndex=e}function lD(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[pe]:null}function Yc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=lD(i),o===null||(i=i[tn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=np();return r.currentTNode=t,r.lView=e,!0}function us(e){let t=np(),n=e[w];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function np(){let e=x.lFrame,t=e===null?null:e.child;return t===null?rp(e):t}function rp(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 op(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qc=op;function ls(){let e=op();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 ip(e){return(x.lFrame.contextLView=Hf(e,x.lFrame.contextLView))[J]}function wt(){return x.lFrame.selectedIndex}function sn(e){x.lFrame.selectedIndex=e}function Ar(){let e=x.lFrame;return es(e.tView,e.selectedIndex)}function sp(){x.lFrame.currentNamespace=kc}function Kc(){return x.lFrame.currentNamespace}var ap=!0;function ds(){return ap}function bo(e){ap=e}function pc(e,t=null,n=null,r){let o=Jc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Jc(e,t=null,n=null,r,o=new Set){let i=[n||de,Rf(e)],s;return new xn(i,t||wr(),s||null,o)}var De=class e{static THROW_IF_NOT_FOUND=Mn;static NULL=new Er;static create(t,n){if(Array.isArray(t))return pc({name:""},n,t,"");{let r=t.name??"";return pc({name:r},t.parent,t.providers,r)}}static \u0275prov=k({token:e,providedIn:"any",factory:()=>A(Do)});static __NG_ELEMENT_ID__=-1},q=new _(""),Re=(()=>{class e{static __NG_ELEMENT_ID__=dD;static __NG_ENV_ID__=n=>n}return e})(),Bi=class extends Re{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Vn(this._lView)}onDestroy(t){let n=this._lView;return os(n,t),()=>Uf(n,t)}};function dD(){return new Bi(b())}var cp=!1,up=new _(""),Un=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Cn(!1);debugTaskTracker=g(up,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new O(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),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(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=k({token:e,providedIn:"root",factory:()=>new e})}return e})(),hc=class extends me{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ff()&&(this.destroyRef=g(Re,{optional:!0})??void 0,this.pendingTasks=g(Un,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(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 ue&&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)}})}}},Ft=hc;function Vi(...e){}function Xc(e){let t,n;function r(){e=Vi;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 lp(e){return queueMicrotask(()=>e()),()=>{e=Vi}}var eu="isAngularZone",ho=eu+"_ID",fD=0,fe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ft(!1);onMicrotaskEmpty=new Ft(!1);onStable=new Ft(!1);onError=new Ft(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=cp}=t;if(typeof Zone>"u")throw new v(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,gD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(eu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(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,pD,Vi,Vi);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)}},pD={};function tu(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 hD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Xc(()=>{e.callbackScheduled=!1,gc(e),e.isCheckStableRunning=!0,tu(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),gc(e)}function gD(e){let t=()=>{hD(e)},n=fD++;e._inner=e._inner.fork({name:"angular",properties:{[eu]:!0,[ho]:n,[ho+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(mD(c))return r.invokeTask(i,s,a,c);try{return Df(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ef(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Df(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!yD(c)&&t(),Ef(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,gc(e),tu(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 gc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Df(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ef(e){e._nesting--,tu(e)}var go=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ft;onMicrotaskEmpty=new Ft;onStable=new Ft;onError=new Ft;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 mD(e){return dp(e,"__ignore_ng_zone__")}function yD(e){return dp(e,"__scheduler_tick__")}function dp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Pe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ct=new _("",{factory:()=>{let e=g(fe),t=g(ve),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Pe),n.handleError(r))})}}}),fp={provide:Ln,useValue:()=>{let e=g(Pe,{optional:!0})},multi:!0},vD=new _("",{factory:()=>{let e=g(q).defaultView;if(!e)return;let t=g(Ct),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(),g(Re).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function DD(){return Ht([xf(()=>{g(vD)})])}function Te(e,t){let[n,r,o]=La(e,t?.equal),i=n,s=i[Y];return i.set=r,i.update=o,i.asReadonly=xr.bind(i),i}function xr(){let e=this[Y];if(e.readonlyFn===void 0){let t=()=>this();t[Y]=e,e.readonlyFn=t}return e.readonlyFn}var Rr=new _("",{factory:()=>ED}),ED="ng";var fs=new _(""),$n=new _("",{providedIn:"platform",factory:()=>"unknown"});var To=new _("",{factory:()=>g(q).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Or=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>{let n=new e;return n.store=pp(g(q),g(Rr)),n}});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return e})();function pp(e,t){let n=e.getElementById(t+"-state");if(n?.tagName==="SCRIPT"&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var kr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=ID}return e})();function ID(){return new kr(b(),ee())}var yt=class{},_o=new _("",{factory:()=>!0});var nu=new _(""),ps=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>new mc})}return e})(),mc=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}},Hi=class{[Y];constructor(t){this[Y]=t}destroy(){this[Y].destroy()}};function ru(e,t){let n=t?.injector??g(De),r=t?.manualCleanup!==!0?n.get(Re):null,o,i=n.get(kr,null,{optional:!0}),s=n.get(yt);return i!==null?(o=bD(i.view,s,e),r instanceof Bi&&r._lView===i.view&&(r=null)):o=TD(e,n.get(ps),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Hi(o)}var hp=X($({},Fa),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=po(!1);try{Pa(this)}finally{po(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=C(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],C(e)}}}),wD=X($({},hp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(kt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),CD=X($({},hp),{consumerMarkedDirty(){this.view[M]|=8192,Hn(this.view),this.notifier.notify(13)},destroy(){if(kt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Xt]?.delete(this)}});function bD(e,t,n){let r=Object.create(CD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=gp(r,n),e[Xt]??=new Set,e[Xt].add(r),r.consumerMarkedDirty(r),r}function TD(e,t,n){let r=Object.create(wD);return r.fn=gp(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function gp(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Lr(e){return typeof e=="function"&&e[Y]!==void 0}function hs(e){return Lr(e)&&typeof e.set=="function"}var Fr=(()=>{class e{internalPendingTasks=g(Un);scheduler=g(yt);errorHandler=g(Ct);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})();function Gr(e){return{toString:e}.toString()}var P=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(P||{}),bs=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function rh(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var oh=null,Ku=(()=>{oh=mp;let e=()=>mp;return e.ngInherit=!0,e})();function FD(){return oh}function mp(e){return e.type.prototype.ngOnChanges&&(e.setInput=jD),PD}function PD(){let e=ih(this),t=e?.current;if(t){let n=e.previous;if(n===en)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function jD(e,t,n,r,o){let i=this.declaredInputs[r],s=ih(e)||BD(e,{previous:en,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new bs(u&&u.currentValue,n,c===en),rh(e,t,o,n)}var gu="__ngSimpleChanges__";function ih(e){return Object.hasOwn(e,gu)&&e[gu]||null}function BD(e,t){return e[gu]=t}var yp=[];var B=function(e,t=null,n){for(let r=0;r<yp.length;r++){let o=yp[r];o(e,t,n)}};function VD(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=FD()(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 sh(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)}}function Es(e,t,n){ah(e,t,3,n)}function Is(e,t,n,r){(e[M]&3)===n&&ah(e,t,n,r)}function ou(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function ah(e,t,n,r){let o=r!==void 0?e[Pn]&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[Pn]+=65536),(a<i||i==-1)&&(HD(e,n,t,c),e[Pn]=(e[Pn]&4294901760)+c+2),c++}function vp(e,t){B(P.LifecycleHookStart,e,t);let n=C(null);try{t.call(e)}finally{C(n),B(P.LifecycleHookEnd,e,t)}}function HD(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[M]>>14<e[Pn]>>16&&(e[M]&3)===t&&(e[M]+=16384,vp(a,i)):vp(a,i)}var jr=-1,zn=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 UD(e){return(e.flags&8)!==0}function $D(e){return(e.flags&16)!==0}function GD(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];zD(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function ch(e){return e===3||e===4||e===6}function zD(e){return e.charCodeAt(0)===64}function Br(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?Dp(e,n,o,null,t[++r]):Dp(e,n,o,null,null))}}return e}function Dp(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 uh(e){return e!==jr}function Ts(e){return e&32767}function WD(e){return e>>16}function _s(e,t){let n=WD(e),r=t;for(;n>0;)r=r[tn],n--;return r}var mu=!0;function Ss(e){let t=mu;return mu=e,t}var qD=256,lh=qD-1,dh=5,ZD=0,bt={};function YD(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(On)&&(r=n[On]),r==null&&(r=n[On]=ZD++);let o=r&lh,i=1<<o;t.data[e+(o>>dh)]|=i}function Ms(e,t){let n=fh(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,iu(r.data,e),iu(t,null),iu(r.blueprint,null));let o=Ju(e,t),i=e.injectorIndex;if(uh(o)){let s=Ts(o),a=_s(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function iu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function fh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ju(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=yh(o),r===null)return jr;if(n++,o=o[tn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return jr}function yu(e,t,n){YD(e,t,n)}function QD(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(ch(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 ph(e,t,n){if(n&8||e!==void 0)return e;Zi(t,"NodeInjector")}function hh(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[vt],i=ye(void 0);try{return o?o.get(t,r,n&8):bc(t,r,n&8)}finally{ye(i)}}return ph(r,t,n)}function gh(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=eE(e,t,n,r,bt);if(s!==bt)return s}let i=mh(e,t,n,r,bt);if(i!==bt)return i}return hh(t,n,r,o)}function mh(e,t,n,r,o){let i=JD(n);if(typeof i=="function"){if(!Yc(t,e,r))return r&1?ph(o,n,r):hh(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Zi(n);else return s}finally{Qc()}}else if(typeof i=="number"){let s=null,a=fh(e,t),c=jr,u=r&1?t[Ee][pe]:null;for((a===-1||r&4)&&(c=a===-1?Ju(e,t):t[a+8],c===jr||!Ip(r,!1)?a=-1:(s=t[w],a=Ts(c),t=_s(c,t)));a!==-1;){let l=t[w];if(Ep(i,a,l.data)){let d=KD(a,t,n,s,r,u);if(d!==bt)return d}c=t[a+8],c!==jr&&Ip(r,t[w].data[a+8]===u)&&Ep(i,a,t)?(s=l,a=Ts(c),t=_s(c,t)):a=-1}}return o}function KD(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?$t(a)&&mu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ws(a,s,n,c,u);return l!==null?xo(t,s,l,a,o):bt}function ws(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,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&ot(f)&&f.type===n)return c}return null}function xo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof zn){let a=i;if(a.resolving)throw Cc("");let c=Ss(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?ye(a.injectImpl):null,p=Yc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&VD(n,s[n],t)}finally{d!==null&&ye(d),Ss(c),a.resolving=!1,Qc()}}return i}function JD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(On)?e[On]:void 0;return typeof t=="number"?t>=0?t&lh:XD:t}function Ep(e,t,n){let r=1<<e;return!!(n[t+(e>>dh)]&r)}function Ip(e,t){return!(e&2)&&!(e&1&&t)}var an=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return gh(this._tNode,this._lView,t,Nn(r),n)}};function XD(){return new an(ee(),b())}function Gs(e){return Gr(()=>{let t=e.prototype.constructor,n=t[fo]||vu(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[fo]||vu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function vu(e){return yc(e)?()=>{let t=vu(oe(e));return t&&t()}:Jt(e)}function eE(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!Sr(s);){let a=mh(i,s,n,r|2,bt);if(a!==bt)return a;let c=i.parent;if(!c){let u=s[xc];if(u){let l=u.get(n,bt,r&-5);if(l!==bt)return l}c=yh(s),s=s[tn]}i=c}return o}function yh(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[pe]:null}function Xu(e){return QD(ee(),e)}var gs="__parameters__";function tE(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function el(e,t,n){return Gr(()=>{let r=tE(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(gs)?c[gs]:Object.defineProperty(c,gs,{value:[]})[gs];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ct(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}var nE=Yi(el("Optional"),8),rE=Yi(el("Self"),2),oE=Yi(el("SkipSelf"),4);function iE(){return zr(ee(),b())}function zr(e,t){return new _t(Ue(e,t))}var _t=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=iE}return e})();function vh(e){return e instanceof _t?e.nativeElement:e}function sE(){return this._results[Symbol.iterator]()}var Ns=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 me}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=Mf(t);(this._changesDetected=!Sf(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]=sE};function Dh(e){return(e.flags&128)===128}var tl=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(tl||{}),Eh=new Map,aE=0;function cE(){return aE++}function uE(e){Eh.set(e[Et],e)}function Du(e){Eh.delete(e[Et])}var wp="__ngContext__";function Vr(e,t){Ut(t)?(e[wp]=t[Et],uE(t)):e[wp]=t}function Ih(e){return Ch(e[Tr])}function wh(e){return Ch(e[Be])}function Ch(e){for(;e!==null&&!Ve(e);)e=e[Be];return e}var Eu;function nl(e){Eu=e}function rl(){if(Eu!==void 0)return Eu;if(typeof document<"u")return document;throw new v(210,!1)}var bh="r";var Th="di";var _h=!1,Sh=new _("",{factory:()=>_h});var Cp=new WeakMap;function lE(e,t){if(e==null||typeof e!="object")return;let n=Cp.get(e);n||(n=new WeakSet,Cp.set(e,n)),n.add(t)}var dE=(e,t,n,r)=>{};function fE(e,t,n,r){dE(e,t,n,r)}function zs(e){return(e.flags&32)===32}var pE=()=>null;function Mh(e,t,n=!1){return pE(e,t,n)}function Nh(e,t){let n=e.contentQueries;if(n!==null){let r=C(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];Co(i),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function Iu(e,t,n){Co(0);let r=C(null);try{t(e,n)}finally{C(r)}}function ol(e,t,n){if(Oc(t)){let r=C(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{C(r)}}}var at=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(at||{});var ms;function hE(){if(ms===void 0&&(ms=null,je.trustedTypes))try{ms=je.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ms}function Ws(e){return hE()?.createHTML(e)||e}var ys;function Ah(){if(ys===void 0&&(ys=null,je.trustedTypes))try{ys=je.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ys}function bp(e){return Ah()?.createHTML(e)||e}function Tp(e){return Ah()?.createScriptURL(e)||e}var Gt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ui})`}},wu=class extends Gt{getTypeName(){return"HTML"}},Cu=class extends Gt{getTypeName(){return"Style"}},bu=class extends Gt{getTypeName(){return"Script"}},Tu=class extends Gt{getTypeName(){return"URL"}},_u=class extends Gt{getTypeName(){return"ResourceURL"}};function We(e){return e instanceof Gt?e.changingThisBreaksApplicationSecurity:e}function St(e,t){let n=xh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ui})`)}return n===t}function xh(e){return e instanceof Gt&&e.getTypeName()||null}function il(e){return new wu(e)}function sl(e){return new Cu(e)}function al(e){return new bu(e)}function cl(e){return new Tu(e)}function ul(e){return new _u(e)}function gE(e){let t=new Mu(e);return mE()?new Su(t):t}var Su=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ws(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Mu=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ws(t),n}};function mE(){try{return!!new window.DOMParser().parseFromString(Ws(""),"text/html")}catch{return!1}}var yE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jo(e){return e=String(e),e.match(yE)?e:"unsafe:"+e}function zt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Bo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Rh=zt("area,br,col,hr,img,wbr"),Oh=zt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kh=zt("rp,rt"),vE=Bo(kh,Oh),DE=Bo(Oh,zt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),EE=Bo(kh,zt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),_p=Bo(Rh,DE,EE,vE),Lh=zt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),IE=zt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),wE=zt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),CE=Bo(Lh,IE,wE),bE=zt("script,style,template"),Nu=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=SE(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=_E(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Sp(t).toLowerCase();if(!_p.hasOwnProperty(n))return this.sanitizedSomething=!0,!bE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!CE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Lh[a]&&(c=jo(c)),this.buf.push(" ",s,'="',Mp(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Sp(t).toLowerCase();_p.hasOwnProperty(n)&&!Rh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Mp(t))}};function TE(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function _E(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Fh(t);return t}function SE(e){let t=e.firstChild;if(t&&TE(e,t))throw Fh(t);return t}function Sp(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Fh(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ME=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,NE=/([^\#-~ |!])/g;function Mp(e){return e.replace(/&/g,"&amp;").replace(ME,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(NE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var vs;function qs(e,t){let n=null;try{vs=vs||gE(e);let r=t?String(t):"";n=vs.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=vs.getInertBodyElement(r)}while(r!==i);let a=new Nu().sanitizeChildren(Np(n)||n);return Ws(a)}finally{if(n){let r=Np(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Np(e){return"content"in e&&AE(e)?e.content:null}function AE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var xE=/^>|^->|<!--|-->|--!>|<!-$/g,RE=/(<|>)/g,OE="\u200B$1\u200B";function kE(e){return e.replace(xE,t=>t.replace(RE,OE))}function LE(e,t){return e.createText(t)}function FE(e,t,n){e.setValue(t,n)}function PE(e,t){return e.createComment(kE(t))}function Ph(e,t,n){return e.createElement(t,n)}function As(e,t,n,r,o){e.insertBefore(t,n,r,o)}function jh(e,t,n){e.appendChild(t,n)}function Ap(e,t,n,r,o){r!==null?As(e,t,n,r,o):jh(e,t,n)}function Bh(e,t,n,r){e.removeChild(null,t,n,r)}function jE(e,t,n){e.setAttribute(t,"style",n)}function BE(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Vh(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&GD(e,t,r),o!==null&&BE(e,t,o),i!==null&&jE(e,t,i)}var _e=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(_e||{});function VE(e){let t=ll();return t?bp(t.sanitize(_e.HTML,e)||""):St(e,"HTML")?bp(We(e)):qs(rl(),kn(e))}function Hh(e){let t=ll();return t?t.sanitize(_e.URL,e)||"":St(e,"URL")?We(e):jo(kn(e))}function Uh(e){let t=ll();if(t)return Tp(t.sanitize(_e.RESOURCE_URL,e)||"");if(St(e,"ResourceURL"))return Tp(We(e));throw new v(904,!1)}var HE={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function UE(e,t){return HE[e.toLowerCase()]?.[t.toLowerCase()]===!0?Uh:Hh}function $E(e,t,n){return UE(t,n)(e)}function ll(){let e=b();return e&&e[rt].sanitizer}function GE(e){return e.ownerDocument}function zE(e){return e instanceof Function?e():e}function WE(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 $h="ng-template";function qE(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&WE(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(dl(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 dl(e){return e.type===4&&e.value!==$h}function ZE(e,t,n){let r=e.type===4&&!n?$h:e.value;return t===r}function YE(e,t,n){let r=4,o=e.attrs,i=o!==null?JE(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!it(r)&&!it(c))return!1;if(s&&it(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!ZE(e,c,n)||c===""&&t.length===1){if(it(r))return!1;s=!0}}else if(r&8){if(o===null||!qE(e,o,c,n)){if(it(r))return!1;s=!0}}else{let u=t[++a],l=QE(c,o,dl(e),n);if(l===-1){if(it(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(it(r))return!1;s=!0}}}}return it(r)||s}function it(e){return(e&1)===0}function QE(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 XE(t,e)}function Gh(e,t,n=!1){for(let r=0;r<t.length;r++)if(YE(e,t[r],n))return!0;return!1}function KE(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function JE(e){for(let t=0;t<e.length;t++){let n=e[t];if(ch(n))return t}return e.length}function XE(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 eI(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function xp(e,t){return e?":not("+t.trim()+")":t}function tI(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!==""&&!it(s)&&(t+=xp(i,o),o=""),r=s,i=i||!it(r);n++}return o!==""&&(t+=xp(i,o)),t}function nI(e){return e.map(tI).join(",")}function rI(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(!it(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Ie={},Tt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Tt||{}),oI;function fl(e,t){return oI(e,t)}var NL=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Au=new WeakMap;function zh(e){return e?e[tn]??e:null}var Mo=new WeakSet;function iI(e,t,n){let r=Au.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=zh(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:u}=r[a],l=c.parentNode;c===t?(r.splice(a,1),Mo.add(c),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):l&&o&&l!==o&&(s===null||u===null||s===u)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}function sI(e,t,n){let r=zh(n),o=Au.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Au.set(e,[{el:t,declarationView:r}])}var cn=new Set,Zs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Zs||{}),Mt=new _(""),Rp=new Set;function Wt(e){Rp.has(e)||(Rp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ys=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})(),pl=[0,1,2,3],hl=(()=>{class e{ngZone=g(fe);scheduler=g(yt);errorHandler=g(Pe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Mt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&B(P.AfterRenderHooksStart),this.executing=!0;for(let r of pl)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&&B(P.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[jn]??=[]).push(n),Hn(r),r[M]|=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(Zs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ro=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?.[jn];t&&(this.view[jn]=t.filter(n=>n!==this))}};function aI(e,t){let n=t?.injector??g(De);return Wt("NgAfterNextRender"),uI(e,n,t,!0)}function cI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function uI(e,t,n,r){let o=t.get(Ys);o.impl??=t.get(hl);let i=t.get(Mt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Re):null,a=t.get(kr,null,{optional:!0}),c=new Ro(o.impl,cI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var gl=new _("",{factory:()=>{let e=g(ve),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function Wh(e,t,n){let r=e.get(gl);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function lI(e,t){let n=e.get(gl);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function dI(e,t){let n=e.get(gl);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function fI(e,t){for(let[n,r]of t)Wh(e,r.animateFns)}function Op(e,t,n,r){let o=e?.[It]?.enter;t!==null&&o&&o.has(n.index)&&fI(r,o)}function kp(e,t,n,r){try{n.get(Do)}catch{return r(!1)}let o=e?.[It];o?.enter?.has(t.index)&&lI(n,o.enter.get(t.index).animateFns);let i=pI(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];Qs(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&cn.add(e[Et]),Wh(n,()=>hI(e,t,o||void 0,i,r),o||void 0)}function pI(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[w].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function hI(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:u}=c();i.push(u)}n.detachedLeaveAnimationFns=void 0}if(e&&Qs(e,t,i),i.length>0){let s=n||e?.[It];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),mI(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&cn.delete(e[Et]),o(!0)})}else e&&cn.delete(e[Et]),o(!1)}function Qs(e,t,n){if(t.type&12){let o=e[t.index];if(Ve(o))for(let i=Q;i<o.length;i++){let s=o[i];s[w].type===2&&gI(s,n)}}let r=t.child;for(;r;)Qs(e,r,n),r=r.next}function gI(e,t){let n=e[It];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[w].firstChild;for(;r;)Qs(e,r,t),r=r.next}function mI(e,t,n){t.then(()=>{e[It]?.running===t&&(e[It].running=void 0,cn.delete(e[Et])),n(!0)})}function Pr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ve(o)?c=o:Ut(o)&&(u=!0,o=o[nt]);let l=He(o);e===0&&r!==null?(Op(a,r,i,n),s==null?jh(t,r,l):As(t,r,l,s||null,!0)):e===1&&r!==null?(Op(a,r,i,n),As(t,r,l,s||null,!0),iI(i,l,a)):e===2?(a?.[It]?.leave?.has(i.index)&&sI(i,l,a),Mo.delete(l),kp(a,i,n,d=>{if(Mo.has(l)){Mo.delete(l);return}Bh(t,l,u,d)})):e===3&&(Mo.delete(l),kp(a,i,n,()=>{t.destroyNode(l)})),c!=null&&_I(t,e,n,c,i,r,s)}}function yI(e,t){qh(e,t),t[nt]=null,t[pe]=null}function vI(e,t,n,r,o,i){r[nt]=o,r[pe]=t,Js(e,r,n,1,o,i)}function qh(e,t){t[rt].changeDetectionScheduler?.notify(9),Js(e,t,t[V],2,null,null)}function DI(e){let t=e[Tr];if(!t)return su(e[w],e);for(;t;){let n=null;if(Ut(t))n=t[Tr];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[Be]&&t!==e;)Ut(t)&&su(t[w],t),t=t[ie];t===null&&(t=e),Ut(t)&&su(t[w],t),n=t&&t[Be]}t=n}}function ml(e,t){let n=e[Bn],r=n.indexOf(t);n.splice(r,1)}function Ks(e,t){if(Vn(t))return;let n=t[V];n.destroyNode&&Js(e,t,n,3,null,null),DI(t)}function su(e,t){if(Vn(t))return;let n=C(null);try{t[M]&=-129,t[M]|=256,t[xe]&&kt(t[xe]),II(e,t),EI(e,t),t[w].type===1&&t[V].destroy();let r=t[nn];if(r!==null&&Ve(t[ie])){r!==t[ie]&&ml(r,t);let o=t[Dt];o!==null&&o.detachView(e)}Du(t)}finally{C(n)}}function EI(e,t){let n=e.cleanup,r=t[br];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[br]=null);let o=t[Pt];if(o!==null){t[Pt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Xt];if(i!==null){t[Xt]=null;for(let s of i)s.destroy()}}function II(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 zn)){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];B(P.LifecycleHookStart,a,c);try{c.call(a)}finally{B(P.LifecycleHookEnd,a,c)}}else{B(P.LifecycleHookStart,o,i);try{i.call(o)}finally{B(P.LifecycleHookEnd,o,i)}}}}}function Zh(e,t,n){return wI(e,t.parent,n)}function wI(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[nt];if($t(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===at.None||o===at.Emulated)return null}return Ue(r,n)}function Yh(e,t,n){return bI(e,t,n)}function CI(e,t,n){return e.type&40?Ue(e,n):null}var bI=CI,Lp;function yl(e,t,n,r){let o=Zh(e,r,t),i=t[V],s=r.parent||t[pe],a=Yh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ap(i,o,n[c],a,!1);else Ap(i,o,n,a,!1);Lp!==void 0&&Lp(i,r,t,n,o)}function No(e,t){if(t!==null){let n=t.type;if(n&3)return Ue(t,e);if(n&4)return xu(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return No(e,r);{let o=e[t.index];return Ve(o)?xu(-1,o):He(o)}}else{if(n&128)return No(e,t.next);if(n&32)return fl(t,e)()||He(e[t.index]);{let r=Qh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=jt(e[Ee]);return No(o,r)}else return No(e,t.next)}}}return null}function Qh(e,t){if(t!==null){let r=e[Ee][pe],o=t.projection;return r.projection[o]}return null}function xu(e,t){let n=Q+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return No(r,o)}return t[rn]}function vl(e,t,n,r,o,i,s){for(;n!=null;){let a=r[vt];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Vr(He(c),r),n.flags|=2),!zs(n))if(u&8)vl(e,t,n.child,r,o,i,!1),Pr(t,e,a,o,c,n,i,r);else if(u&32){let l=fl(n,r),d;for(;d=l();)Pr(t,e,a,o,d,n,i,r);Pr(t,e,a,o,c,n,i,r)}else u&16?Kh(e,t,r,n,o,i):Pr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Js(e,t,n,r,o,i){vl(n,r,e.firstChild,t,o,i,!1)}function TI(e,t,n){let r=t[V],o=Zh(e,n,t),i=n.parent||t[pe],s=Yh(i,n,t);Kh(r,0,t,n,o,s)}function Kh(e,t,n,r,o,i){let s=n[Ee],c=s[pe].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Pr(t,e,n[vt],o,l,r,i,n)}else{let u=c,l=s[ie];Dh(r)&&(u.flags|=128),vl(e,t,u,l,o,i,!0)}}function _I(e,t,n,r,o,i,s){let a=r[rn],c=He(r);a!==c&&Pr(t,e,n,i,a,o,s);for(let u=Q;u<r.length;u++){let l=r[u];Js(l[w],l,e,t,i,a)}}function SI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Tt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Tt.Important),e.setStyle(n,r,o,i))}}function Dl(e,t,n,r,o,i,s,a,c,u,l){let d=W+r,p=d+o,f=MI(d,p),h=typeof u=="function"?u():u;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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:h,incompleteFirstPass:!1,ssrId:l}}function MI(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ie);return n}function NI(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Dl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function El(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[nt]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),Pc(d),d[ie]=d[tn]=e,d[J]=n,d[rt]=s||e&&e[rt],d[V]=a||e&&e[V],d[vt]=c||e&&e[vt]||null,d[pe]=i,d[Et]=cE(),d[Fn]=l,d[xc]=u,d[Ee]=t.type==2?e[Ee]:d,d}function AI(e,t,n){let r=Ue(t,e),o=NI(n),i=e[rt].rendererFactory,s=Il(e,El(e,o,null,Jh(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Jh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Xh(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 Il(e,t){return e[Tr]?e[Ac][Be]=t:e[Tr]=t,e[Ac]=t,t}function xI(e=1){eg(U(),b(),wt()+e,!1)}function eg(e,t,n,r){if(!r)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Es(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Is(t,i,0,n)}sn(n)}var Xs=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Xs||{});function Wn(e,t,n,r){let o=C(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Xs.SignalBased)!==0&&(c=t[i][Y]),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):rh(t,c,i,r)}finally{C(o)}}function tg(e,t,n,r,o){let i=wt(),s=r&2;try{sn(-1),s&&t.length>W&&eg(e,t,W,!1);let a=s?P.TemplateUpdateStart:P.TemplateCreateStart;B(a,o,n),n(r,o)}finally{sn(i);let a=s?P.TemplateUpdateEnd:P.TemplateCreateEnd;B(a,o,n)}}function ea(e,t,n){PI(e,t,n),(n.flags&64)===64&&jI(e,t,n)}function Vo(e,t,n=Ue){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 RI(e,t,n,r){let i=r.get(Sh,_h)||n===at.ShadowDom||n===at.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return OI(s),s}function OI(e){kI(e)}var kI=()=>null;function LI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function ng(e,t,n,r,o,i){let s=t[w];if(Tl(e,s,t,n,r)){$t(e)&&FI(t,e.index);return}e.type&3&&(n=LI(n)),rg(e,t,n,r,o,i)}function rg(e,t,n,r,o,i){if(e.type&3){let s=Ue(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function FI(e,t){let n=$e(t,e);n[M]&16||(n[M]|=64)}function PI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;$t(n)&&AI(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ms(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=xo(t,e,s,n);if(Vr(c,t),i!==null&&UI(t,s-r,c,a,n,i),ot(a)){let u=$e(n.index,t);u[J]=xo(t,e,s,n)}}}function jI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=ep();try{sn(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)&&BI(c,u)}}finally{sn(-1),as(s)}}function BI(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function wl(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Gh(t,i.selectors,!1)&&(r??=[],ot(i)?r.unshift(i):r.push(i))}return r}function VI(e,t,n,r,o,i){let s=Ue(e,t);HI(t[V],s,i,e.value,n,r,o)}function HI(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else{let a=s==null?kn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function UI(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];Wn(r,n,c,u)}}function Cl(e,t,n,r,o){let i=W+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,Mr(e,!0);let c=e.type===2;return c?(Vh(t[V],a,e),(Gf()===0||_r(e))&&Vr(a,t),zf()):Vr(a,t),ds()&&(!c||!zs(e))&&yl(s,t,a,e),e}function bl(e){let t=e;return Wc()?qc():(t=t.parent,Mr(t,!1)),t}function $I(e,t){let n=e[vt];if(!n)return;let r;try{r=n.get(Ct,null)}catch{r=null}r?.(t)}function Tl(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];Wn(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Wn(l,u,r,o),a=!0}return a}function GI(e,t,n,r,o,i){let s=null,a=null,c=null,u=!1,l=e.directiveToIndex.get(r.type);if(typeof l=="number"?s=l:[s,a,c]=l,a!==null&&c!==null&&e.hostDirectiveInputs?.hasOwnProperty(o)){let d=e.hostDirectiveInputs[o];for(let p=0;p<d.length;p+=2){let f=d[p];if(f>=a&&f<=c){let h=t.data[f],m=d[p+1];Wn(h,n[f],m,i),u=!0}else if(f>c)break}}return s!==null&&r.inputs.hasOwnProperty(o)&&(Wn(r,n[s],o,i),u=!0),u}function zI(e,t){let n=$e(t,e),r=n[w];WI(r,n);let o=n[nt];o!==null&&n[Fn]===null&&(n[Fn]=Mh(o,n[vt])),B(P.ComponentStart);try{_l(r,n,n[J])}finally{B(P.ComponentEnd,n[J])}}function WI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function _l(e,t,n){us(t);try{let r=e.viewQuery;r!==null&&Iu(1,r,n);let o=e.template;o!==null&&tg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Dt]?.finishViewCreation(e),e.staticContentQueries&&Nh(e,t),e.staticViewQueries&&Iu(2,e.viewQuery,n);let i=e.components;i!==null&&qI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,ls()}}function qI(e,t){for(let n=0;n<t.length;n++)zI(e,t[n])}function Ho(e,t,n,r){let o=C(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=El(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[nn]=u;let l=e[Dt];return l!==null&&(c[Dt]=l.createEmbeddedView(i)),_l(i,c,n),c}finally{C(o)}}function Hr(e,t){return!t||t.firstChild===null||Dh(e)}function Oo(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(He(i)),Ve(i)&&og(i,r);let s=n.type;if(s&8)Oo(e,t,n.child,r);else if(s&32){let a=fl(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Qh(t,n);if(Array.isArray(a))r.push(...a);else{let c=jt(t[Ee]);Oo(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function og(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&Oo(r[w],r,o,t)}e[rn]!==e[nt]&&t.push(e[rn])}function ig(e){if(e[jn]!==null){for(let t of e[jn])t.impl.addSequence(t);e[jn].length=0}}var sg=[];function ZI(e){return e[xe]??YI(e)}function YI(e){let t=sg.pop()??Object.create(KI);return t.lView=e,t}function QI(e){e.lView[xe]!==e&&(e.lView=null,sg.push(e))}var KI=X($({},xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Hn(e.lView)},consumerOnSignalRead(){this.lView[xe]=this}});function JI(e){let t=e[xe]??Object.create(XI);return t.lView=e,t}var XI=X($({},xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=jt(e.lView);for(;t&&!ag(t[w]);)t=jt(t);t&&jc(t)},consumerOnSignalRead(){this.lView[xe]=this}});function ag(e){return e.type!==2}function cg(e){if(e[Xt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Xt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var ew=100;function ug(e,t=0){let r=e[rt].rendererFactory,o=!1;o||r.begin?.();try{tw(e,t)}finally{o||r.end?.()}}function tw(e,t){let n=Zc();try{po(!0),Ru(e,t);let r=0;for(;wo(e);){if(r===ew)throw new v(103,!1);r++,Ru(e,1)}}finally{po(n)}}function nw(e,t,n,r){if(Vn(t))return;let o=t[M],i=!1,s=!1;us(t);let a=!0,c=null,u=null;i||(ag(e)?(u=ZI(t),c=ht(u)):li()===null?(a=!1,u=JI(t),c=ht(u)):t[xe]&&(kt(t[xe]),t[xe]=null));try{Pc(t),Kf(e.bindingStartIndex),n!==null&&tg(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Es(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Is(t,f,0,null),ou(t,0)}if(s||rw(t),cg(t),lg(t,0),e.contentQueries!==null&&Nh(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Es(t,f)}else{let f=e.contentHooks;f!==null&&Is(t,f,1),ou(t,1)}iw(e,t);let d=e.components;d!==null&&fg(t,d,0);let p=e.viewQuery;if(p!==null&&Iu(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Es(t,f)}else{let f=e.viewHooks;f!==null&&Is(t,f,2),ou(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Xi]){for(let f of t[Xi])f();t[Xi]=null}i||(ig(t),t[M]&=-73)}catch(l){throw i||Hn(t),l}finally{u!==null&&(Ot(u,c),a&&QI(u)),ls()}}function lg(e,t){for(let n=Ih(e);n!==null;n=wh(n))for(let r=Q;r<n.length;r++){let o=n[r];dg(o,t)}}function rw(e){for(let t=Ih(e);t!==null;t=wh(t)){if(!(t[M]&2))continue;let n=t[Bn];for(let r=0;r<n.length;r++){let o=n[r];jc(o)}}}function ow(e,t,n){B(P.ComponentStart);let r=$e(t,e);try{dg(r,n)}finally{B(P.ComponentEnd,r[J])}}function dg(e,t){ns(e)&&Ru(e,t)}function Ru(e,t){let r=e[w],o=e[M],i=e[xe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Dn(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)nw(r,e,r.template,e[J]);else if(o&8192){let a=C(null);try{cg(e),lg(e,1);let c=r.components;c!==null&&fg(e,c,1),ig(e)}finally{C(a)}}}function fg(e,t,n){for(let r=0;r<t.length;r++)ow(e,t[r],n)}function iw(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)sn(~o);else{let i=o,s=n[++r],a=n[++r];Xf(s,i);let c=t[i];B(P.HostBindingsUpdateStart,c);try{a(2,c)}finally{B(P.HostBindingsUpdateEnd,c)}}}}finally{sn(-1)}}function Sl(e,t){let n=Zc()?64:1088;for(e[rt].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=jt(e);if(Sr(e)&&!r)return e;e=r}return null}function pg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function hg(e,t){let n=Q+t;if(n<e.length)return e[n]}function Uo(e,t,n,r=!0){let o=t[w];if(sw(o,t,e,n),r){let s=xu(n,e),a=t[V],c=a.parentNode(e[rn]);c!==null&&vI(o,e[pe],a,t,c,s)}let i=t[Fn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function gg(e,t){let n=ko(e,t);return n!==void 0&&Ks(n[w],n),n}function ko(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n];if(r){let o=r[nn];o!==null&&o!==e&&ml(o,r),t>0&&(e[n-1][Be]=r[Be]);let i=vo(e,Q+t);yI(r[w],r);let s=i[Dt];s!==null&&s.detachView(i[w]),r[ie]=null,r[Be]=null,r[M]&=-129}return r}function sw(e,t,n,r){let o=Q+r,i=n.length;r>0&&(n[o-1][Be]=t),r<i-Q?(t[Be]=n[o],Tc(n,Q+r,t)):(n.push(t),t[Be]=null),t[ie]=n;let s=t[nn];s!==null&&n!==s&&mg(s,t);let a=t[Dt];a!==null&&a.insertView(e),rs(t),t[M]|=128}function mg(e,t){let n=e[Bn],r=t[ie];if(Ut(r))e[M]|=2;else{let o=r[ie][Ee];t[Ee]!==o&&(e[M]|=2)}n===null?e[Bn]=[t]:n.push(t)}var un=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return Oo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[J]}set context(t){this._lView[J]=t}get destroyed(){return Vn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ie];if(Ve(t)){let n=t[Io],r=n?n.indexOf(this):-1;r>-1&&(ko(t,r),vo(n,r))}this._attachedToViewContainer=!1}Ks(this._lView[w],this._lView)}onDestroy(t){os(this._lView,t)}markForCheck(){Sl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){rs(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,ug(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Sr(this._lView),n=this._lView[nn];n!==null&&!t&&ml(n,this._lView),qh(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=Sr(this._lView),r=this._lView[nn];r!==null&&!n&&mg(r,this._lView),rs(this._lView)}};var Ur=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=aw;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=Ho(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new un(i)}}return e})();function aw(){return ta(ee(),b())}function ta(e,t){return e.type&4?new Ur(t,e,zr(e,t)):null}function Wr(e,t,n,r,o){let i=e.data[t];if(i===null)i=cw(e,t,n,r,o),Jf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Zf();i.injectorIndex=s===null?-1:s.injectorIndex}return Mr(i,!0),i}function cw(e,t,n,r,o){let i=zc(),s=Wc(),a=s?i:i&&i.parent,c=e.data[t]=lw(e,a,n,t,r,o);return uw(e,c,i,s),c}function uw(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 lw(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Uc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Kc(),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}}function dw(e){let t=e[Rc]??[],r=e[ie][V],o=[];for(let i of t)i.data[Th]!==void 0?o.push(i):fw(i,r);e[Rc]=o}function fw(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[bh];for(;n<o;){let i=r.nextSibling;Bh(t,r,!1),r=i,n++}}}var pw=()=>null,hw=()=>null;function xs(e,t){return pw(e,t)}function yg(e,t,n){return hw(e,t,n)}var vg=class{},qn=class{},Dg=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>gw()}return e})();function gw(){let e=b(),t=ee(),n=$e(t.index,e);return(Ut(n)?n:e)[V]}var Eg=(()=>{class e{static \u0275prov=k({token:e,providedIn:"root",factory:()=>null})}return e})();function Ig(e){return e.debugInfo?.className||e.type.name||null}var Cs={},Rs=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Cs,r);return o!==Cs||n===Cs?o:this.parentInjector.get(t,n,r)}};function Ml(e,t,n){return e[t]=n}function mw(e,t){return e[t]}function ze(e,t,n){if(n===Ie)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function wg(e,t,n,r){let o=ze(e,t,n);return ze(e,t+1,r)||o}function Gn(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&lE(o,i);let s=$t(e)?$e(e.index,t):t;Sl(s,5);let a=t[J],c=Fp(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=Fp(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function Fp(e,t,n,r){let o=C(null);try{return B(P.OutputStart,t,n),n(r)!==!1}catch(i){return $I(e,i),!1}finally{B(P.OutputEnd,t,n),C(o)}}function Nl(e,t,n,r,o,i,s,a){let c=_r(e),u=!1,l=null;if(!r&&c&&(l=vw(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ue(e,n),p=r?r(d):d;fE(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!yw(i)){let h=r?m=>r(He(m[e.index])):e.index;Cg(h,t,n,i,a,f,!1)}}return u}function yw(e){return e.startsWith("animation")||e.startsWith("transition")}function vw(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[br],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Cg(e,t,n,r,o,i,s){let a=t.firstCreatePass?Vc(t):null,c=Bc(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Pp(e,t,n,r,o){let i=null,s=null,a=null,c=!1,u=e.directiveToIndex.get(n.type);if(typeof u=="number"?i=u:[i,s,a]=u,s!==null&&a!==null&&e.hostDirectiveOutputs?.hasOwnProperty(r)){let l=e.hostDirectiveOutputs[r];for(let d=0;d<l.length;d+=2){let p=l[d];if(p>=s&&p<=a)c=!0,Os(e,t,p,l[d+1],r,o);else if(p>a)break}}return n.outputs.hasOwnProperty(r)&&(c=!0,Os(e,t,i,r,r,o)),c}function Os(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],d=s[u].subscribe(i);Cg(e.index,a,t,o,i,d,!0)}function Dw(){Ew()}function Ew(){let e=b(),t=U(),n=ee();if(t.firstCreatePass&&Cw(t,n),n.controlDirectiveIndex===-1)return;Wt("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new ks(e,t,n))}function Iw(){ww()}function ww(){let e=b(),t=U(),n=Ar();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new ks(e,t,n))}var ks=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return Ue(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];Pp(this.tNode,this.lView,r,t,Gn(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];Pp(this.tNode,this.lView,r,n,Gn(this.tNode,this.lView,t))}listenToDom(t,n){Nl(this.tNode,this.tView,this.lView,void 0,this.lView[V],t,n,Gn(this.tNode,this.lView,n))}setInputOnDirectives(t,n){let r=this.tNode.inputs?.[t],o=this.tNode.hostDirectiveInputs?.[t];if(!r&&!o)return!1;let i=!1;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let a=this.tView.data[s],c=this.lView[s];Wn(a,c,t,n),i=!0}if(o)for(let s=0;s<o.length;s+=2){let a=o[s];if(a===this.tNode.controlDirectiveIndex)continue;let c=o[s+1],u=this.tView.data[a],l=this.lView[a];Wn(u,l,c,n),i=!0}return i}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?"value":"checked";GI(this.tNode,this.tView,this.lView,n,r,t)}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return!1;let n=this.tView.data[this.tNode.customControlIndex];return(n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===!0}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=!0;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let o=r.shift();if(typeof o!="function"){for(let s in o.inputs)n[o.inputs[s]]=!0;let i=jp(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i=="function")continue;if(i.inputs)for(let a=0;a<i.inputs.length;a+=2){let c=i.inputs[a+1]||i.inputs[a];n[c]=!0}let s=jp(i.directive);s!==null&&r.push(...s)}}}return n}};function jp(e){return typeof e=="function"&&"\u0275dir"in e?e.\u0275dir.hostDirectives??null:null}function Cw(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}bw(e,t)}function bw(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(Bp(r,"value")){t.flags|=1024,t.customControlIndex=n;return}if(Bp(r,"checked")){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,o)=>{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+"Change"];if(!i||!s)return!1;for(let a=0;a<i.length;a+=2){let c=i[a];for(let u=0;u<s.length;u+=2){let l=s[u];if(c===l)for(let d of t.directiveToIndex.values()){if(!Array.isArray(d))continue;let[p,f,h]=d;if(c>=f&&c<=h)return t.flags|=o,t.customControlIndex=p,!0}}}return!1};if(n("value",1024)||n("checked",2048))return}}function Bp(e,t){return Tw(e,t)&&_w(e,t+"Change")}function Tw(e,t){return t in e.inputs}function _w(e,t){return t in e.outputs}var Ou=Symbol("BINDING");var Kn=new _("");function Ls(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=$i(o,a);else if(i==2){let c=a,u=t[++s];r=$i(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ut(e,t=0){let n=b();if(n===null)return A(e,t);let r=ee();return gh(r,n,oe(e),t)}function Sw(){let e="invalid";throw new Error(e)}function bg(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}Aw(e,t,n,a,i,c,u)}i!==null&&r!==null&&Mw(n,r,i)}function Mw(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 v(-301,!1);r.push(t[o],i)}}function Nw(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Aw(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&ot(f)&&(c=f,Nw(e,n,p)),yu(Ms(n,t),e,f.type)}Fw(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Xh(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Br(n.mergedAttrs,f.hostAttrs),Rw(e,n,t,d,f),Lw(d,f,o),s!==null&&s.has(f)){let[m,y]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,y+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 h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}xw(e,n,i)}function xw(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Vp(0,t,o,r),Vp(1,t,o,r),Up(t,r,!1);else{let i=n.get(o);Hp(0,t,i,r),Hp(1,t,i,r),Up(t,r,!0)}}}function Vp(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),Tg(t,i)}}function Hp(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),Tg(t,s)}}function Tg(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Up(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||dl(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 Rw(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Jt(o.type,!0)),s=new zn(i,ot(o),ut,null);e.blueprint[r]=s,n[r]=s,Ow(e,t,r,Xh(e,n,o.hostVars,Ie),o)}function Ow(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;kw(s)!=a&&s.push(a),s.push(n,r,i)}}function kw(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Lw(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ot(t)&&(n[""]=e)}}function Fw(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Al(e,t,n,r,o,i,s,a){let c=t[w],u=c.consts,l=Ge(u,s),d=Wr(c,e,n,r,l);return i&&bg(c,t,d,Ge(u,a),o),d.mergedAttrs=Br(d.mergedAttrs,d.attrs),d.attrs!==null&&Ls(d,d.attrs,!1),d.mergedAttrs!==null&&Ls(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function xl(e,t){sh(e,t),Oc(t)&&e.queries.elementEnd(t)}function Pw(e,t,n,r,o,i){let s=t.consts,a=Ge(s,o),c=Wr(t,e,n,r,a);if(c.mergedAttrs=Br(c.mergedAttrs,c.attrs),i!=null){let u=Ge(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Ls(c,c.attrs,!1),c.mergedAttrs!==null&&Ls(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var _g=typeof ShadowRoot<"u",jw=typeof Document<"u";function Bw(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Xs.SignalBased)!==0};return o&&(i.transform=o),i})}function Vw(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Hw(e,t,n){let r=t instanceof ve?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Rs(n,r):n}function Uw(e){let t=e.get(qn,null);if(t===null)throw new v(407,!1);let n=e.get(Eg,null),r=e.get(yt,null),o=e.get(Mt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function $w(e,t){let n=Sg(e);return Ph(t,n,n==="svg"?kc:n==="math"?jf:null)}function Gw(e){if(e?.toLowerCase()==="script")throw new v(905,!1)}function Sg(e){return(e.selectors[0][0]||"div").toLowerCase()}var Zn=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Bw(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Vw(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=nI(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){B(P.DynamicComponentStart);let a=C(null);try{let c=this.componentDef,u=Hw(c,o||this.ngModule,t),l=Uw(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Ig(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{C(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=zw(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?RI(u,o,a.encapsulation,n):$w(a,u);Gw(l?.tagName);let d=n.get(Kn,null),p=Ww(l,()=>n.get(q,null)??rl());d&&d.addHost(p);let f=s?.some($p)||i?.some(y=>typeof y!="function"&&y.bindings.some($p)),h=El(null,c,null,512|Jh(a),null,null,t,u,n,null,Mh(l,n,!0));d&&_g&&p instanceof ShadowRoot&&os(h,()=>{d.removeHost(p)}),h[W]=l,us(h);let m=null;try{let y=Al(W,h,2,"#host",()=>c.directiveRegistry,!0,0);Vh(u,l,y),Vr(l,h),ea(c,h,y),ol(c,y,h),xl(c,y),r!==void 0&&Zw(y,this.ngContentSelectors,r),m=$e(y.index,h),h[J]=m[J],_l(c,h,null)}catch(y){throw m!==null&&Du(m),Du(h),y}finally{B(P.DynamicComponentEnd),ls()}return new Fs(this.componentType,h,!!f)}};function zw(e,t,n,r){let o=e?["ng-version","22.0.7"]:rI(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ou].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 p of d.bindings){a+=p[Ou].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=Wi(d);c.push(p)}return Dl(0,null,qw(i,s),1,a,c,null,null,null,[o],null)}function Ww(e,t){let n=e.getRootNode?.();return jw&&n instanceof Document?n.head:n&&_g&&n instanceof ShadowRoot?n:t().head}function qw(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 $p(e){let t=e[Ou].kind;return t==="input"||t==="twoWay"}var Fs=class extends vg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=es(n[w],W),this.location=zr(this._tNode,n),this.instance=$e(this._tNode.index,n)[J],this.hostView=this.changeDetectorRef=new un(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=Tl(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=$e(r.index,o);Sl(s,1)}get injector(){return new an(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Zw(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 qr=(()=>{class e{static __NG_ELEMENT_ID__=Yw}return e})();function Yw(){let e=ee();return Mg(e,b())}var ku=class e extends qr{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zr(this._hostTNode,this._hostLView)}get injector(){return new an(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ju(this._hostTNode,this._hostLView);if(uh(t)){let n=_s(t,this._hostLView),r=Ts(t),o=n[w].data[r+8];return new an(o,n)}else return new an(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Gp(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=xs(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Hr(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,u=n||{};c=u.index,r=u.injector,o=u.projectableNodes,i=u.environmentInjector||u.ngModuleRef,s=u.directives,a=u.bindings;let l=new Zn(Vt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let D=this.parentInjector.get(ve,null);D&&(i=D)}let p=Vt(l.componentType??{}),f=xs(this._lContainer,p?.id??null),h=f?.firstChild??null,m=l.create(d,o,h,i,s,a);return this.insertImpl(m.hostView,c,Hr(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Vf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ie],u=new e(c,c[pe],c[ie]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Uo(s,o,i,r),t.attachToViewContainerRef(),Tc(au(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Gp(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ko(this._lContainer,n);r&&(vo(au(this._lContainer),n),Ks(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=ko(this._lContainer,n);return r&&vo(au(this._lContainer),n)!=null?new un(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Gp(e){return e[Io]}function au(e){return e[Io]||(e[Io]=[])}function Mg(e,t){let n,r=t[e.index];return Ve(r)?n=r:(n=pg(r,t,null,e),t[e.index]=n,Il(t,n)),Kw(n,t,e,r),new ku(n,e,t)}function Qw(e,t){let n=e[V],r=n.createComment(""),o=Ue(t,e),i=n.parentNode(o);return As(n,i,r,n.nextSibling(o),!1),r}var Kw=eC,Jw=()=>!1;function Xw(e,t,n){return Jw(e,t,n)}function eC(e,t,n,r){if(e[rn])return;let o;n.type&8?o=He(r):o=Qw(t,n),e[rn]=o}var Lu=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Fu=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++)Ol(t,n).matches!==null&&this.queries[n].setDirty()}},Ps=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=sC(t):this.predicate=t}},Pu=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)}},ju=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,tC(n,i)),this.matchTNodeWithReadOption(t,n,ws(n,t,i,!1,!1))}else r===Ur?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ws(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===_t||o===qr||o===Ur&&n.type&4)this.addMatch(n.index,-2);else{let i=ws(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 tC(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 nC(e,t){return e.type&11?zr(e,t):e.type&4?ta(e,t):null}function rC(e,t,n,r){return n===-1?nC(t,e):n===-2?oC(e,t,r):xo(e,e[w],n,t)}function oC(e,t,n){if(n===_t)return zr(t,e);if(n===Ur)return ta(t,e);if(n===qr)return Mg(t,e)}function Ng(e,t,n,r){let o=t[Dt].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(rC(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Bu(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Ng(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=Q;d<l.length;d++){let p=l[d];p[nn]===p[ie]&&Bu(p[w],p,u,r)}if(l[Bn]!==null){let d=l[Bn];for(let p=0;p<d.length;p++){let f=d[p];Bu(f[w],f,u,r)}}}}}return r}function Rl(e,t){return e[Dt].queries[t].queryList}function Ag(e,t,n){let r=new Ns((n&4)===4);return $f(e,t,r,r.destroy),(t[Dt]??=new Fu).queries.push(new Lu(r))-1}function iC(e,t,n){let r=U();return r.firstCreatePass&&(Rg(r,new Ps(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ag(r,b(),t)}function xg(e,t,n,r){let o=U();if(o.firstCreatePass){let i=ee();Rg(o,new Ps(t,n,r),i.index),aC(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ag(o,b(),n)}function sC(e){return e.split(",").map(t=>t.trim())}function Rg(e,t,n){e.queries===null&&(e.queries=new Pu),e.queries.track(new ju(t,n))}function aC(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 Ol(e,t){return e.queries.getByIndex(t)}function Og(e,t){let n=e[w],r=Ol(n,t);return r.crossesNgTemplate?Bu(n,e,t,[]):Ng(n,e,r,t)}function kl(e,t,n){let r,o=no(()=>{r._dirtyCounter();let i=cC(r,e);if(t&&i===void 0)throw new v(-951,!1);return i});return r=o[Y],r._dirtyCounter=Te(0),r._flatValue=void 0,o}function Ll(e){return kl(!0,!1,e)}function Fl(e){return kl(!0,!0,e)}function kg(e){return kl(!1,!1,e)}function Lg(e,t){let n=e[Y];n._lView=b(),n._queryIndex=t,n._queryList=Rl(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function cC(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[M]&4)return t?void 0:de;let o=Rl(n,r),i=Og(n,r);return o.reset(i,vh),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function $o(e){return!!e&&typeof e.then=="function"}function na(e){return!!e&&typeof e.subscribe=="function"}var Yn=class{},Fg=class{};var js=class extends Yn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=wf(t);this._bootstrapComponents=zE(i.bootstrap),this._r3Injector=Jc(t,n,[{provide:Yn,useValue:this},...r],mo(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)}},Bs=class extends Fg{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new js(this.moduleType,t,[])}};var Lo=class extends Yn{injector;instance=null;constructor(t){super();let n=new xn([...t.providers,{provide:Yn,useValue:this}],t.parent||wr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Pg(e,t,n=null){return new Lo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var uC=(()=>{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=Sc(!1,n.type),o=r.length>0?Pg([r],this._injector,""):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=k({token:e,providedIn:"environment",factory:()=>new e(A(ve))})}return e})();function lC(e){return Gr(()=>{let t=jg(e),n=X($({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==tl.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(uC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||at.Emulated,styles:e.styles||de,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Wt("NgStandalone"),Bg(n);let r=e.dependencies;return n.directiveDefs=zp(r,dC),n.pipeDefs=zp(r,Cf),n.id=hC(n),n})}function dC(e){return Vt(e)||Wi(e)}function Zr(e){return Gr(()=>({type:e.type,bootstrap:e.bootstrap||de,declarations:e.declarations||de,imports:e.imports||de,exports:e.exports||de,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fC(e,t){if(e==null)return en;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=Xs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function pC(e){if(e==null)return en;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ln(e){return Gr(()=>{let t=jg(e);return Bg(t),t})}function ra(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function jg(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||en,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||de,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:fC(e.inputs,t),outputs:pC(e.outputs),debugInfo:null}}function Bg(e){e.features?.forEach(t=>t(e))}function zp(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 hC(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}var Pl=new _("");function gC(e){return Ht([{provide:Pl,multi:!0,useValue:e}])}var jl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Pl,{optional:!0})??[];injector=g(De);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Cr(this.injector,o);if($o(i))n.push(i);else if(na(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=ct({token:e,factory:e.\u0275fac})}return e})();function mC(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r)},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r)},passThroughInput:e}}}function yC(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=vC,n.hostDirectives=r?e.map(Vu):[e]):r?n.hostDirectives.unshift(...e.map(Vu)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function vC(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Vg(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&ot(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{DC(s.declaredInputs,i.inputs)}),[t,r,o]}function Vg(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let i=o();for(let s of i)Wp(Vu(s),t,n,r)}else Wp(o,t,n,r)}function Wp(e,t,n,r){let o=Wi(e.directive);if(Vg(o,t,n,r),n.has(o)){let i=n.get(o);qp(i,e.inputs,"input"),qp(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function qp(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!r.hasOwnProperty(o)||r[o]===i)&&(r[o]=i)})}function Vu(e){return typeof e=="function"?{directive:oe(e),inputs:{},outputs:{}}:{directive:oe(e.directive),inputs:Zp(e.inputs),outputs:Zp(e.outputs)}}function Zp(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function DC(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function EC(e){return Object.getPrototypeOf(e.prototype).constructor}function oa(e){let t=EC(e.type),n=!0,r=[e];for(;t;){let o;if(ot(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new v(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=cu(e.inputs),s.declaredInputs=cu(e.declaredInputs),s.outputs=cu(e.outputs);let a=o.hostBindings;a&&TC(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&CC(e,c),u&&bC(e,u),IC(e,o),If(e.outputs,o.outputs),ot(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===oa&&(n=!1)}}t=Object.getPrototypeOf(t)}wC(r)}function IC(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 wC(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=Br(o.hostAttrs,n=Br(n,o.hostAttrs))}}function cu(e){return e===en?{}:e===de?[]:e}function CC(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function bC(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function TC(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Hg(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Br(e.mergedAttrs,e.attrs);let l=e.tView=Dl(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),Mr(e,!1);let c=SC(n,t,e,r);ds()&&yl(n,t,c,e),Vr(c,t);let u=pg(c,t,c,e);t[r+W]=u,Il(t,u),Xw(u,e,t)}function _C(e,t,n,r,o,i,s,a,c,u,l){let d=n+W,p;return t.firstCreatePass?(p=Wr(t,d,4,s||null,a||null),is()&&bg(t,e,p,Ge(t.consts,u),wl),sh(t,p)):p=t.data[d],Hg(p,e,t,n,r,o,i,c),_r(p)&&ea(t,e,p),u!=null&&Vo(e,p,l),p}function Fo(e,t,n,r,o,i,s,a,c,u,l){let d=n+W,p;if(t.firstCreatePass){if(p=Wr(t,d,4,s||null,a||null),u!=null){let f=Ge(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Hg(p,e,t,n,r,o,i,c),u!=null&&Vo(e,p,l),p}function Ug(e,t,n,r,o,i,s,a){let c=b(),u=U(),l=Ge(u.consts,i);return _C(c,u,e,t,n,r,o,l,void 0,s,a),Ug}var SC=MC;function MC(e,t,n,r){return bo(!0),t[V].createComment("")}var $g=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Bl=new _("");var ia=new _("");function Gg(){ka(()=>{let e="";throw new v(600,e)})}var NC=10;var Yr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Ct);afterRenderManager=g(Ys);zonelessEnabled=g(_o);rootEffectScheduler=g(ps);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new me;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Un);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ae(n=>!n))}constructor(){g(Mt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(ve);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=De.NULL){return this._injector.get(fe).run(()=>{if(B(P.BootstrapComponentStart),!this._injector.get(jl).done){let D="";throw new v(405,D)}let a=Vt(n),c=this._injector.get(Yn),u=new Zn(a,c);this.componentTypes.push(n);let{hostElement:l,directives:d,bindings:p}=AC(r),f=l||u.selector,h=u.create(o,[],f,c.injector,d,p),m=h.location.nativeElement,y=h.injector.get(Bl,null);return y?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),Ao(this.components,h),y?.unregisterApplication(m)}),this._loadComponent(h),B(P.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){B(P.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Zs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw B(P.ChangeDetectionEnd),new v(101,!1);let n=C(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,C(n),this.afterTick.next(),B(P.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(qn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<NC;){B(P.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{B(P.ChangeDetectionSyncEnd)}}}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&&!wo(o))continue;let i=r&&!this.zonelessEnabled?0:1;ug(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})=>wo(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;Ao(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(ia,[]).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),()=>Ao(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(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=ct({token:e,factory:e.\u0275fac})}return e})();function AC(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Ao(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zg(e,t,n,r){let o=b(),i=on();if(ze(o,i,t)){let s=U(),a=Ar();VI(a,o,e,t,n,r)}return zg}var Hu=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))}};function uu(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function xC(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){C(r);let u=t.length-1;for(C(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=uu(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],m=uu(a,f,u,h,n);if(m!==0){m<0&&e.updateValue(a,h),a--,u--;continue}let y=n(s,l),D=n(a,f),F=n(s,d);if(Object.is(F,D)){let ce=n(u,h);Object.is(ce,y)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Vs,i??=Qp(e,s,a,n),Uu(e,o,s,F))e.updateValue(s,d),s++,a++;else if(i.has(F))o.set(y,e.detach(s)),a--;else{let ce=e.create(s,t[s]);e.attach(s,ce),s++,a++}}for(;s<=u;)Yp(e,o,n,s,t[s]),s++}else if(t!=null){C(r);let u=t[Symbol.iterator]();C(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=uu(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new Vs,i??=Qp(e,s,a,n);let h=n(s,p);if(Uu(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let m=n(s,d);o.set(m,e.detach(s)),a--}}}for(;!l.done;)Yp(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function Uu(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Yp(e,t,n,r,o){if(Uu(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Qp(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)}}};function RC(e,t,n,r,o,i,s,a){Wt("NgControlFlow");let c=b(),u=U(),l=Ge(u.consts,i);return Fo(c,u,e,t,n,r,o,l,256,s,a),Vl}function Vl(e,t,n,r,o,i,s,a){Wt("NgControlFlow");let c=b(),u=U(),l=Ge(u.consts,i);return Fo(c,u,e,t,n,r,o,l,512,s,a),Vl}function OC(e,t){Wt("NgControlFlow");let n=b(),r=on(),o=n[r]!==Ie?n[r]:-1,i=o!==-1?Hs(n,W+o):void 0,s=0;if(ze(n,r,e)){let a=C(null);try{if(i!==void 0&&gg(i,s),e!==-1){let c=W+e,u=Hs(n,c),l=Wu(n[w],c),d=yg(u,l,n),p=Ho(n,l,t,{dehydratedView:d});Uo(u,p,s,Hr(l,d))}}finally{C(a)}}else if(i!==void 0){let a=hg(i,s);a!==void 0&&(a[J]=t)}}var $u=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Q}};function kC(e){return e}function LC(e,t){return t}var Gu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function FC(e,t,n,r,o,i,s,a,c,u,l,d,p){Wt("NgControlFlow");let f=b(),h=U(),m=c!==void 0,y=b(),D=a?s.bind(y[Ee][J]):s,F=new Gu(m,D);y[W+e]=F,Fo(f,h,e+1,t,n,r,o,Ge(h.consts,i),256),m&&Fo(f,h,e+2,c,u,l,d,Ge(h.consts,p),512)}var zu=class extends Hu{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-Q}at(t){return this.getLView(t)[J].$implicit}attach(t,n){let r=n[Fn];this.needsIndexUpdate||=t!==this.length,Uo(this.lContainer,n,t,Hr(this.templateTNode,r)),jC(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,BC(this.lContainer,t),VC(this.lContainer,t)}create(t,n){let r=xs(this.lContainer,this.templateTNode.tView.ssrId);return Ho(this.hostLView,this.templateTNode,new $u(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Ks(t[w],t)}updateValue(t,n){this.getLView(t)[J].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[J].$index=t}getLView(t){return HC(this.lContainer,t)}};function PC(e){let t=C(null),n=wt();try{let r=b(),o=r[w],i=r[n],s=n+1,a=Hs(r,s);if(i.liveCollection===void 0){let u=Wu(o,s);i.liveCollection=new zu(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(xC(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=on(),l=c.length===0;if(ze(r,u,l)){let d=n+2,p=Hs(r,d);if(l){let f=Wu(o,d),h=yg(p,f,r),m=Ho(r,f,void 0,{dehydratedView:h});Uo(p,m,0,Hr(f,h))}else o.firstUpdatePass&&dw(p),gg(p,0)}}}finally{C(t)}}function Hs(e,t){return e[t]}function jC(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n],o=r?r[It]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[vt];dI(i,o),cn.delete(r[Et]),o.detachedLeaveAnimationFns=void 0}}function BC(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n],o=r?r[It]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function VC(e,t){return ko(e,t)}function HC(e,t){return hg(e,t)}function Wu(e,t){return es(e,t)}function Wg(e,t,n){let r=b(),o=on();if(ze(r,o,t)){let i=U(),s=Ar();ng(s,r,e,t,r[V],n)}return Wg}function qu(e,t,n,r,o){Tl(t,e,n,o?"class":"style",r)}function Us(e,t,n,r){let o=b(),i=o[w],s=e+W,a=i.firstCreatePass?Al(s,o,2,t,wl,is(),n,r):i.data[s];if($t(a)){let c=o[rt].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Ig(u),()=>(Kp(e,t,o,a,r),Us))}}return Kp(e,t,o,a,r),Us}function Kp(e,t,n,r,o){if(Cl(r,n,e,t,Yg),_r(r)){let i=n[w];ea(i,n,r),ol(i,r,n)}o!=null&&Vo(n,r)}function Hl(){let e=U(),t=ee(),n=bl(t);return e.firstCreatePass&&xl(e,n),$c(n)&&Gc(),Hc(),n.classesWithoutHost!=null&&UD(n)&&qu(e,n,b(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&$D(n)&&qu(e,n,b(),n.stylesWithoutHost,!1),Hl}function qg(e,t,n,r){return Us(e,t,n,r),Hl(),qg}function Ul(e,t,n,r){let o=b(),i=o[w],s=e+W,a=i.firstCreatePass?Pw(s,i,2,t,n,r):i.data[s];return Cl(a,o,e,t,Yg),r!=null&&Vo(o,a),Ul}function $l(){let e=ee(),t=bl(e);return $c(t)&&Gc(),Hc(),$l}function Zg(e,t,n,r){return Ul(e,t,n,r),$l(),Zg}var Yg=(e,t,n,r,o)=>(bo(!0),Ph(t[V],r,Kc()));function Gl(e,t,n){let r=b(),o=r[w],i=e+W,s=o.firstCreatePass?Al(i,r,8,"ng-container",wl,is(),t,n):o.data[i];if(Cl(s,r,e,"ng-container",UC),_r(s)){let a=r[w];ea(a,r,s),ol(a,s,r)}return n!=null&&Vo(r,s),Gl}function zl(){let e=U(),t=ee(),n=bl(t);return e.firstCreatePass&&xl(e,n),zl}function Qg(e,t,n){return Gl(e,t,n),zl(),Qg}var UC=(e,t,n,r,o)=>(bo(!0),PE(t[V],""));function $C(){return b()}function Kg(e,t,n){let r=b(),o=on();if(ze(r,o,t)){let i=U(),s=Ar();rg(s,r,e,t,r[V],n)}return Kg}var So=void 0;function GC(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var zC=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],So,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],So,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",So,So,So],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",GC],lu=Object.create(null);function Oe(e){let t=WC(e),n=Jp(t);if(n)return n;let r=t.split("-")[0];if(n=Jp(r),n)return n;if(r==="en")return zC;throw new v(701,!1)}function Jp(e){if(!(e in lu)){let t=je.ng&&je.ng.common&&je.ng.common.locales&&je.ng.common.locales[e];return t!==void 0&&(lu[e]=t),t}return lu[e]}var te={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};function WC(e){return e.toLowerCase().replace(/_/g,"-")}var Go="en-US";var qC=Go;function Jg(e){typeof e=="string"&&(qC=e.toLowerCase().replace(/_/g,"-"))}function Xg(e,t,n){let r=b(),o=U(),i=ee();return tm(o,r,r[V],i,e,t,n),Xg}function em(e,t,n){let r=b(),o=U(),i=ee();return(i.type&3||n)&&Nl(i,o,r,n,r[V],e,t,Gn(i,r,t)),em}function tm(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Gn(r,t,i),Nl(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 p=l[d],f=l[d+1];c??=Gn(r,t,i),Os(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Gn(r,t,i),Os(r,t,d,o,o,c)}}function ZC(e=1){return ip(e)}function YC(e,t){let n=null,r=KE(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Gh(e,i,!0):eI(r,i))return o}return n}function QC(e){let t=b()[Ee][pe];if(!t.projection){let n=e?e.length:1,r=t.projection=Nf(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?YC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function KC(e,t=0,n,r,o,i){let s=b(),a=U(),c=r?e+1:null;c!==null&&Fo(s,a,c,r,o,i,null,n);let u=Wr(a,W+e,16,null,n||null);u.projection===null&&(u.projection=t),qc();let d=!s[Fn]||Uc();s[Ee][pe].projection[u.projection]===null&&c!==null?JC(s,a,c):d&&!zs(u)&&TI(a,s,u)}function JC(e,t,n){let r=W+n,o=t.data[r],i=e[r],s=xs(i,o.tView.ssrId),a=Ho(e,o,void 0,{dehydratedView:s});Uo(i,a,0,Hr(o,s))}function nm(e,t,n,r){return xg(e,t,n,r),nm}function XC(e){let t=b(),n=U(),r=cs();Co(r+1);let o=Ol(n,r);if(e.dirty&&Bf(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Og(t,r);e.reset(i,vh),e.notifyOnChanges()}return!0}return!1}function eb(){return Rl(b(),cs())}function rm(e,t,n,r,o){return Lg(t,xg(e,n,r,o)),rm}function om(e,t,n,r){return Lg(e,iC(t,n,r)),om}function tb(e=1){Co(cs()+e)}function nb(e){let t=Yf();return ts(t,W+e)}function Ds(e,t){return e<<17|t<<2}function Qn(e){return e>>17&32767}function rb(e){return(e&2)==2}function ob(e,t){return e&131071|t<<17}function Zu(e){return e|2}function $r(e){return(e&131068)>>2}function du(e,t){return e&-131069|t<<2}function ib(e){return(e&1)===1}function Yu(e){return e|1}function sb(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Qn(s),c=$r(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Ir(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Qn(e[a+1]);e[r+1]=Ds(p,a),p!==0&&(e[p+1]=du(e[p+1],r)),e[a+1]=ob(e[a+1],r)}else e[r+1]=Ds(a,0),a!==0&&(e[a+1]=du(e[a+1],r)),a=r;else e[r+1]=Ds(c,0),a===0?a=r:e[c+1]=du(e[c+1],r),c=r;u&&(e[r+1]=Zu(e[r+1])),Xp(e,l,r,!0),Xp(e,l,r,!1),ab(t,l,e,r,i),s=Ds(a,c),i?t.classBindings=s:t.styleBindings=s}function ab(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Ir(i,t)>=0&&(n[r+1]=Yu(n[r+1]))}function Xp(e,t,n,r){let o=e[n+1],i=t===null,s=r?Qn(o):$r(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];cb(c,t)&&(a=!0,e[s+1]=r?Yu(u):Zu(u)),s=r?Qn(u):$r(u)}a&&(e[n+1]=r?Zu(o):Yu(o))}function cb(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ir(e,t)>=0:!1}var st={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ub(e){return e.substring(st.key,st.keyEnd)}function lb(e){return db(e),im(e,sm(e,0,st.textEnd))}function im(e,t){let n=st.textEnd;return n===t?-1:(t=st.keyEnd=fb(e,st.key=t,n),sm(e,t,n))}function db(e){st.key=0,st.keyEnd=0,st.value=0,st.valueEnd=0,st.textEnd=e.length}function sm(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function fb(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function am(e,t,n){return cm(e,t,n,!1),am}function sa(e,t){return cm(e,t,null,!0),sa}function pb(e){gb(Ib,hb,e,!0)}function hb(e,t){for(let n=lb(t);n>=0;n=im(t,n))Ki(e,ub(t),!0)}function cm(e,t,n,r){let o=b(),i=U(),s=ss(2);if(i.firstUpdatePass&&lm(i,e,s,r),t!==Ie&&ze(o,s,t)){let a=i.data[wt()];dm(i,a,o,o[V],e,o[s+1]=Cb(t,n),r,s)}}function gb(e,t,n,r){let o=U(),i=ss(2);o.firstUpdatePass&&lm(o,null,i,r);let s=b();if(n!==Ie&&ze(s,i,n)){let a=o.data[wt()];if(fm(a,r)&&!um(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=$i(c,n||"")),qu(o,a,s,n,r)}else wb(o,a,s,s[V],s[i+1],s[i+1]=Eb(e,t,n),r,i)}}function um(e,t){return t>=e.expandoStartIndex}function lm(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[wt()],s=um(e,n);fm(i,r)&&t===null&&!s&&(t=!1),t=mb(o,i,t,r),sb(o,i,t,n,s,r)}}function mb(e,t,n,r){let o=tp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=fu(null,e,t,n,r),n=Po(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=fu(o,e,t,n,r),i===null){let c=yb(e,t,r);c!==void 0&&Array.isArray(c)&&(c=fu(null,e,t,c[1],r),c=Po(c,t.attrs,r),vb(e,t,r,c))}else i=Db(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function yb(e,t,n){let r=n?t.classBindings:t.styleBindings;if($r(r)!==0)return e[Qn(r)]}function vb(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Qn(o)]=r}function Db(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Po(r,s,n)}return Po(r,t.attrs,n)}function fu(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=Po(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Po(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]),Ki(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Eb(e,t,n){if(n==null||n==="")return de;let r=[],o=We(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Ib(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ki(e,r,n)}function wb(e,t,n,r,o,i,s,a){o===Ie&&(o=de);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,m;l===d?(c+=2,u+=2,p!==f&&(h=d,m=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,m=f),h!==null&&dm(e,t,n,r,h,m,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function dm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=ib(u)?eh(c,t,n,o,$r(u),s):void 0;if(!$s(l)){$s(i)||rb(u)&&(i=eh(c,null,n,o,a,s));let d=Lc(wt(),n);SI(r,s,d,o,i)}}function eh(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,p=n[o+1];p===Ie&&(p=d?de:void 0);let f=d?Ji(p,r):l===r?p:void 0;if(u&&!$s(f)&&(f=Ji(c,r)),$s(f)&&(a=f,s))return a;let h=e[o+1];o=s?Qn(h):$r(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ji(c,r))}return a}function $s(e){return e!==void 0}function Cb(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=mo(We(e)))),e}function fm(e,t){return(e.flags&(t?8:16))!==0}function bb(e,t=""){let n=b(),r=U(),o=e+W,i=r.firstCreatePass?Wr(r,o,1,t,null):r.data[o],s=Tb(r,n,i,t);n[o]=s,ds()&&yl(r,n,s,i),Mr(i,!1)}var Tb=(e,t,n,r)=>(bo(!0),LE(t[V],r));function _b(e,t,n,r=""){return ze(e,on(),n)?t+kn(n)+r:Ie}function Sb(e,t,n,r,o,i=""){let s=Qf(),a=wg(e,s,n,o);return ss(2),a?t+kn(n)+r+kn(o)+i:Ie}function pm(e){return Wl("",e),pm}function Wl(e,t,n){let r=b(),o=_b(r,e,t,n);return o!==Ie&&gm(r,wt(),o),Wl}function hm(e,t,n,r,o){let i=b(),s=Sb(i,e,t,n,r,o);return s!==Ie&&gm(i,wt(),s),hm}function gm(e,t,n){let r=Lc(t,e);FE(e[V],r,n)}function mm(e,t,n){hs(t)&&(t=t());let r=b(),o=on();if(ze(r,o,t)){let i=U(),s=Ar();ng(s,r,e,t,r[V],n)}return mm}function Mb(e,t){let n=hs(e);return n&&e.set(t),n}function ym(e,t){let n=b(),r=U(),o=ee();return tm(r,n,n[V],o,e,t),ym}function th(e,t,n){let r=U();r.firstCreatePass&&vm(t,r.data,r.blueprint,ot(e),n)}function vm(e,t,n,r,o){if(e=oe(e),Array.isArray(e))for(let i=0;i<e.length;i++)vm(e[i],t,n,r,o);else{let i=U(),s=b(),a=ee(),c=An(e)?e:oe(e.provide),u=Nc(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(An(e)||!e.multi){let f=new zn(u,o,ut,null),h=hu(c,t,o?l:l+p,d);h===-1?(yu(Ms(a,s),i,c),pu(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=hu(c,t,l+p,d),h=hu(c,t,l,l+p),m=f>=0&&n[f],y=h>=0&&n[h];if(o&&!y||!o&&!m){yu(Ms(a,s),i,c);let D=xb(o?Ab:Nb,n.length,o,r,u,e);!o&&y&&(n[h].providerFactory=D),pu(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(D),s.push(D)}else{let D=Dm(n[o?h:f],u,!o&&r);pu(i,e,f>-1?f:h,D)}!o&&r&&y&&n[h].componentProviders++}}}function pu(e,t,n,r){let o=An(t),i=Lf(t);if(o||i){let c=(i?oe(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 Dm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function hu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Nb(e,t,n,r,o){return Qu(this.multi,[])}function Ab(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=xo(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),Qu(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Qu(i,s);return s}function Qu(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function xb(e,t,n,r,o,i){let s=new zn(e,n,ut,null);return s.multi=[],s.index=t,s.componentProviders=0,Dm(s,o,r&&!n),s}function ql(e,t){return n=>{n.providersResolver=(r,o)=>th(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>th(r,o?o(t):t,!0))}}function Rb(e,t){let n=Nr()+e,r=b();return r[n]===Ie?Ml(r,n,t()):mw(r,n)}function Ob(e,t,n){return Im(b(),Nr(),e,t,n)}function kb(e,t,n,r){return wm(b(),Nr(),e,t,n,r)}function Em(e,t){let n=e[t];return n===Ie?void 0:n}function Im(e,t,n,r,o,i){let s=t+n;return ze(e,s,o)?Ml(e,s+1,i?r.call(i,o):r(o)):Em(e,s+1)}function wm(e,t,n,r,o,i,s){let a=t+n;return wg(e,a,o,i)?Ml(e,a+2,s?r.call(s,o,i):r(o,i)):Em(e,a+2)}function Lb(e,t){let n=U(),r,o=e+W;n.firstCreatePass?(r=Fb(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Jt(r.type,!0)),s,a=ye(ut);try{let c=Ss(!1),u=i();return Ss(c),Fc(n,b(),o,u),u}finally{ye(a)}}function Fb(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Pb(e,t,n){let r=e+W,o=b(),i=ts(o,r);return Cm(o,r)?Im(o,Nr(),t,i.transform,n,i):i.transform(n)}function jb(e,t,n,r){let o=e+W,i=b(),s=ts(i,o);return Cm(i,o)?wm(i,Nr(),t,s.transform,n,r,s):s.transform(n,r)}function Cm(e,t){return e[w].data[t].pure}function Bb(e,t){return ta(e,t)}var bm=(()=>{class e{applicationErrorHandler=g(Ct);appRef=g(Yr);taskService=g(Un);ngZone=g(fe);zonelessEnabled=g(_o);tracing=g(Mt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ue;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ho):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(nu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?lp:Xc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ho+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.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}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=ct({token:e,factory:e.\u0275fac})}return e})();function Tm(){return[{provide:yt,useExisting:bm},{provide:fe,useClass:go},{provide:_o,useValue:!0}]}var Vb=(()=>{class e{compileModuleSync(n){return new Bs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ct({token:e,factory:e.\u0275fac})}return e})();function Hb(){return typeof $localize<"u"&&$localize.locale||Go}var zo=new _("",{factory:()=>g(zo,{optional:!0,skipSelf:!0})||Hb()});var Wo=class{destroyed=!1;listeners=null;errorHandler=g(Pe,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=g(Re);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new v(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[n]=null):this.listeners.splice(n,1))}}}emit(t){if(this.destroyed){console.warn(Bt(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let n=C(null);try{for(let r of this.listeners)try{r!==null&&r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&Ub(this.listeners)),C(n),this.isEmitting=!1}}};function Ub(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}var Xl=new _("");function qe(e,t){return no(e,t?.equal)}function se(e){return jd(e)}var aa=class extends Error{dependency;constructor(t){super("Dependency error",{cause:t.error()}),this.name="ResourceDependencyError",this.dependency=t}},Jn=class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e("IDLE");static LOADING=new e("LOADING")},$b=e=>e;function Xn(e,t){if(typeof e=="function"){let n=Ba(e,$b,t?.equal);return _m(n,t?.debugName)}else{let n=Ba(e.source,e.computation,e.equal);return _m(n,e.debugName)}}function _m(e,t){let n=e[Y],r=e;return r.set=o=>Fd(n,o),r.update=o=>Pd(n,o),r.asReadonly=xr.bind(e),r}var Zl=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=xr,this.isLoading=qe(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=qe(()=>this.status()==="error");update(t){this.set(t(se(this.value)))}isValueDefined=qe(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=qe(()=>{let t=this.status();return t==="error"?{status:"error",error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},qo=class extends Zl{loaderFn;equal;debugName;transferCacheKey;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;transferState;constructor(t,n,r,o,i,s,a,c){if(Am())throw xm();super(qe(()=>{let l=this.state().stream?.();if(!l||this.state().status==="loading"&&this.error())return r;if(!Yl(l))throw new ca(this.error());return l.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.transferCacheKey=a;let u=s.get(Xl,void 0,{optional:!0})??{isActive:!1};this.transferState=s.get(Or,void 0,{optional:!0})??void 0,this.extRequest=Xn(()=>{try{return Kl(!0),{request:t(zb),reload:0}}catch(l){return Jl(l),l===Jn.IDLE?{status:"idle",reload:0}:l===Jn.LOADING?{status:"loading",reload:0}:{error:l,reload:0}}finally{Kl(!1)}},void 0),this.state=Xn({source:this.extRequest,computation:(l,d)=>{let{request:p,status:f,error:h}=l,m;if(h)f="resolved",m=Te({error:Zo(h)},void 0);else if(!f)if(d)f=p===void 0?"idle":"loading",d.value.extRequest.request===p&&(m=d.value.stream);else{let y=this.transferState,D=this.transferCacheKey;u.isActive&&D&&y&&p!==void 0&&y.hasKey(D)&&(m=Te({value:y.get(D,r)},void 0)),m||(m=c?.(l.request)),c=void 0,f=p===void 0?"idle":m?"resolved":"loading"}return{extRequest:l,status:f,previousStatus:d?Sm(d.value):"idle",stream:m}}}),this.effectRef=ru(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(Fr),this.unregisterOnDestroy=s.get(Re).onDestroy(()=>this.destroy()),this.status=qe(()=>Sm(this.state()),void 0),this.error=qe(()=>{let l=this.state().stream?.();return l&&!Yl(l)?l.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=se(this.error),r=se(this.state);if(!n){let o=se(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:Te({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=se(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}async loadEffect(){let t=this.extRequest(),{status:n,previousStatus:r}=se(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=se(()=>this.loaderFn({params:t.request,abortSignal:i,previous:{status:r}})),a=()=>i.aborted||se(this.extRequest)!==t;if(Lr(s)){if(a())return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s});let c=se(s)}else{let c=await s;if(a())return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:c});let u=c?se(c):void 0}}catch(s){if(Jl(s),i.aborted||se(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:Te({error:Zo(s)},void 0)})}finally{o?.(),o=void 0}}abortInProgressLoad(){se(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function Sm(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return Yl(e.stream())?"resolved":"error";default:return e.status}}function Yl(e){return e.error===void 0}function Zo(e){return Gb(e)?e:new Ql(e)}function Gb(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var ca=class extends Error{constructor(t){super(t.message,{cause:t})}},Ql=class extends Error{constructor(t){super(String(t),{cause:t})}};function Mm(e){switch(e.status()){case"idle":throw Jn.IDLE;case"error":throw new aa(e);case"loading":case"reloading":throw Jn.LOADING}return e.value()}var zb={chain:Mm},Nm=!1;function Am(){return Nm}function Kl(e){Nm=e}function xm(){return new v(992,!1)}function Jl(e){if(e instanceof v&&e.code===992)throw e}var la=Symbol("InputSignalNode#UNSET"),jm=X($({},ro),{transformFn:void 0,applyValueToInputSignal(e,t){Qt(e,t)}});function Bm(e,t){let n=Object.create(jm);n.value=e,n.transformFn=t?.transform;function r(){if(Rt(n),n.value===la){let o=null;throw new v(-950,o)}return n.value}return r[Y]=n,r}var Rm=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Xu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function pV(e){return iT(e)?e.default:e}function iT(e){return e&&typeof e=="object"&&"default"in e}function Vm(e){return new Wo}function Om(e,t){return Bm(e,t)}function sT(e){return Bm(la,e)}var er=(Om.required=sT,Om);function Hm(e,t){let n=Object.create(jm),r=new Wo;n.value=e;function o(){return Rt(n),km(n.value),n.value}return o[Y]=n,o.asReadonly=xr.bind(o),o.set=i=>{n.equal(n.value,i)||(Qt(n,i),r.emit(i))},o.update=i=>{km(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function km(e){if(e===la)throw new v(952,!1)}function Lm(e,t){return Hm(e,t)}function aT(e){return Hm(la,e)}var hV=(Lm.required=aT,Lm);function Fm(e,t){return Ll(t)}function cT(e,t){return Fl(t)}var gV=(Fm.required=cT,Fm);function Pm(e,t){return Ll(t)}function uT(e,t){return Fl(t)}var mV=(Pm.required=uT,Pm);function yV(e,t){return kg(t)}var lT=1e4;var vV=lT-1e3;var Um=(()=>{class e{static __NG_ELEMENT_ID__=dT}return e})();function dT(e){return fT(ee(),b(),(e&16)===16)}function fT(e,t,n){if($t(e)&&!n){let r=$e(e.index,t);return new un(r,r)}else if(e.type&175){let r=t[Ee];return new un(r,t)}return null}var td=new _(""),pT=new _("");function Yo(e){return!e.moduleRef}function hT(e){let t=Yo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(fe);return n.run(()=>{Yo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ct),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Yo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(td);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(td);s.add(i),e.moduleRef.onDestroy(()=>{Ao(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return mT(r,n,()=>{let i=t.get(Un),s=i.add(),a=t.get(jl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(zo,Go);if(Jg(c||Go),!t.get(pT,!0))return Yo(e)?t.get(Yr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Yo(e)){let l=t.get(Yr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return gT?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var gT;function mT(e,t,n){try{let r=n();return $o(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ua=null;function yT(e=[],t){return De.create({name:t,providers:[{provide:Eo,useValue:"platform"},{provide:td,useValue:new Set([()=>ua=null])},...e]})}function vT(e=[]){if(ua)return ua;let t=yT(e);return ua=t,Gg(),DT(t),t}function DT(e){let t=e.get(fs,null);Cr(e,()=>{t?.forEach(n=>n())})}function $m(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;B(P.BootstrapApplicationStart);try{let i=o?.injector??vT(r),s=[Tm(),fp,...n||[]],a=new Lo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return hT({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{B(P.BootstrapApplicationEnd)}}function da(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Gm(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var ed=Symbol("NOT_SET"),zm=new Set,ET=X($({},ro),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ed,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==ed&&!Dn(this))return this.signal;try{for(let o of this.cleanup??zm)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=ht(this),r;try{r=this.userFn.apply(null,t)}finally{Ot(this,n)}return(this.value===ed||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),nd=class extends Ro{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(Re),s),this.scheduler=o;for(let a of pl){let c=n[a];if(c===void 0)continue;let u=Object.create(ET);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(Rt(u),u.value),u.signal[Y]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??zm)n()}finally{kt(t)}}};function Qo(e,t){let n=t?.injector??g(De),r=n.get(yt),o=n.get(Ys),i=n.get(Mt,null,{optional:!0});o.impl??=n.get(hl);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(kr,null,{optional:!0}),c=new nd(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function DV(e,t){let n=Vt(e),r=t.elementInjector||wr();return new Zn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function EV(e){let t=Vt(e);if(!t)return null;let n=new Zn(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 Wm=null;function Nt(){return Wm}function rd(e){Wm??=e}var Ko=class{},fa=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:()=>g(qm),providedIn:"platform"})}return e})();var qm=(()=>{class e extends fa{_location;_history;_doc=g(q);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Nt().getBaseHref(this._doc)}onPopState(n){let r=Nt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Nt().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=k({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Qm(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Zm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function dn(e){return e&&e[0]!=="?"?`?${e}`:e}var pa=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:()=>g(wT),providedIn:"root"})}return e})(),IT=new _(""),wT=(()=>{class e extends pa{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(q).location?.origin??""}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}prepareExternalUrl(n){return Qm(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+dn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+dn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+dn(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)(A(fa),A(IT,8))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Km=(()=>{class e{_subject=new me;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=TT(Zm(Ym(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+dn(r))}normalize(n){return e.stripTrailingSlash(bT(this._basePath,Ym(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+dn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dn(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=dn;static joinWithSlash=Qm;static stripTrailingSlash=Zm;static \u0275fac=function(r){return new(r||e)(A(pa))};static \u0275prov=k({token:e,factory:()=>CT(),providedIn:"root"})}return e})();function CT(){return new Km(A(pa))}function bT(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Ym(e){return e.replace(/\/index\.html$/,"")}function TT(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var he=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(he||{}),H=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(H||{}),Se=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Se||{}),Yt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Xm(e){return Oe(e)[te.LocaleId]}function ey(e,t,n){let r=Oe(e),o=[r[te.DayPeriodsFormat],r[te.DayPeriodsStandalone]],i=Ze(o,t);return Ze(i,n)}function ty(e,t,n){let r=Oe(e),o=[r[te.DaysFormat],r[te.DaysStandalone]],i=Ze(o,t);return Ze(i,n)}function ny(e,t,n){let r=Oe(e),o=[r[te.MonthsFormat],r[te.MonthsStandalone]],i=Ze(o,t);return Ze(i,n)}function ry(e,t){let r=Oe(e)[te.Eras];return Ze(r,t)}function Jo(e,t){let n=Oe(e);return Ze(n[te.DateFormat],t)}function Xo(e,t){let n=Oe(e);return Ze(n[te.TimeFormat],t)}function ei(e,t){let r=Oe(e)[te.DateTimeFormat];return Ze(r,t)}function ti(e,t){let n=Oe(e),r=n[te.NumberSymbols][t];if(typeof r>"u"){if(t===Yt.CurrencyDecimal)return n[te.NumberSymbols][Yt.Decimal];if(t===Yt.CurrencyGroup)return n[te.NumberSymbols][Yt.Group]}return r}function oy(e){if(!e[te.ExtraData])throw new v(2303,!1)}function iy(e){let t=Oe(e);return oy(t),(t[te.ExtraData][2]||[]).map(r=>typeof r=="string"?od(r):[od(r[0]),od(r[1])])}function sy(e,t,n){let r=Oe(e);oy(r);let o=[r[te.ExtraData][0],r[te.ExtraData][1]],i=Ze(o,t)||[];return Ze(i,n)||[]}function Ze(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new v(2304,!1)}function od(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var _T=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ha=Object.create(null),ST=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,MT=256;function ay(e,t,n,r){let o=jT(e);NT(t),t=Zt(n,t)||t;let s=[],a;for(;t;)if(a=ST.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=uy(r,c),o=PT(o,r));let u="";return s.forEach(l=>{let d=LT(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function NT(e){if(e.length>MT)throw new v(2300,!1)}function Da(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Zt(e,t){let n=Xm(e);if(ha[n]??=Object.create(null),ha[n][t])return ha[n][t];let r="";switch(t){case"shortDate":r=Jo(e,Se.Short);break;case"mediumDate":r=Jo(e,Se.Medium);break;case"longDate":r=Jo(e,Se.Long);break;case"fullDate":r=Jo(e,Se.Full);break;case"shortTime":r=Xo(e,Se.Short);break;case"mediumTime":r=Xo(e,Se.Medium);break;case"longTime":r=Xo(e,Se.Long);break;case"fullTime":r=Xo(e,Se.Full);break;case"short":let o=Zt(e,"shortTime"),i=Zt(e,"shortDate");r=ga(ei(e,Se.Short),[o,i]);break;case"medium":let s=Zt(e,"mediumTime"),a=Zt(e,"mediumDate");r=ga(ei(e,Se.Medium),[s,a]);break;case"long":let c=Zt(e,"longTime"),u=Zt(e,"longDate");r=ga(ei(e,Se.Long),[c,u]);break;case"full":let l=Zt(e,"fullTime"),d=Zt(e,"fullDate");r=ga(ei(e,Se.Full),[l,d]);break}return r&&(ha[n][t]=r),r}function ga(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return Object.hasOwn(t,r)?t[r]:n})),e}function lt(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function AT(e,t){return lt(e,3).substring(0,t)}function ne(e,t,n=0,r=!1,o=!1){return function(i,s){let a=xT(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return AT(a,t);let c=ti(s,Yt.MinusSign);return lt(a,t,c,r,o)}}function xT(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new v(2301,!1)}}function G(e,t,n=he.Format,r=!1){return function(o,i){return RT(o,i,e,t,n,r)}}function RT(e,t,n,r,o,i){switch(n){case 2:return ny(t,o,r)[e.getMonth()];case 1:return ty(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=iy(t),l=sy(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,m=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(m&&y)return!0}else if(m||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return ey(t,o,r)[s<12?0:1];case 3:return ry(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new v(2302,!1)}}function ma(e){return function(t,n,r){let o=-1*r,i=ti(n,Yt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+lt(s,2,i)+lt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+lt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+lt(s,2,i)+":"+lt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+lt(s,2,i)+":"+lt(Math.abs(o%60),2,i);default:throw new v(2310,!1)}}}var OT=0,va=4;function kT(e){let t=Da(e,OT,1).getDay();return Da(e,0,1+(t<=va?va:va+7)-t)}function cy(e){let t=e.getDay(),n=t===0?-3:va-t;return Da(e.getFullYear(),e.getMonth(),e.getDate()+n)}function id(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=cy(n),s=kT(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return lt(o,e,ti(r,Yt.MinusSign))}}function ya(e,t=!1){return function(n,r){let i=cy(n).getFullYear();return lt(i,e,ti(r,Yt.MinusSign),t)}}var sd=Object.create(null);function LT(e){if(sd[e])return sd[e];let t;switch(e){case"G":case"GG":case"GGG":t=G(3,H.Abbreviated);break;case"GGGG":t=G(3,H.Wide);break;case"GGGGG":t=G(3,H.Narrow);break;case"y":t=ne(0,1,0,!1,!0);break;case"yy":t=ne(0,2,0,!0,!0);break;case"yyy":t=ne(0,3,0,!1,!0);break;case"yyyy":t=ne(0,4,0,!1,!0);break;case"Y":t=ya(1);break;case"YY":t=ya(2,!0);break;case"YYY":t=ya(3);break;case"YYYY":t=ya(4);break;case"M":case"L":t=ne(1,1,1);break;case"MM":case"LL":t=ne(1,2,1);break;case"MMM":t=G(2,H.Abbreviated);break;case"MMMM":t=G(2,H.Wide);break;case"MMMMM":t=G(2,H.Narrow);break;case"LLL":t=G(2,H.Abbreviated,he.Standalone);break;case"LLLL":t=G(2,H.Wide,he.Standalone);break;case"LLLLL":t=G(2,H.Narrow,he.Standalone);break;case"w":t=id(1);break;case"ww":t=id(2);break;case"W":t=id(1,!0);break;case"d":t=ne(2,1);break;case"dd":t=ne(2,2);break;case"c":case"cc":t=ne(7,1);break;case"ccc":t=G(1,H.Abbreviated,he.Standalone);break;case"cccc":t=G(1,H.Wide,he.Standalone);break;case"ccccc":t=G(1,H.Narrow,he.Standalone);break;case"cccccc":t=G(1,H.Short,he.Standalone);break;case"E":case"EE":case"EEE":t=G(1,H.Abbreviated);break;case"EEEE":t=G(1,H.Wide);break;case"EEEEE":t=G(1,H.Narrow);break;case"EEEEEE":t=G(1,H.Short);break;case"a":case"aa":case"aaa":t=G(0,H.Abbreviated);break;case"aaaa":t=G(0,H.Wide);break;case"aaaaa":t=G(0,H.Narrow);break;case"b":case"bb":case"bbb":t=G(0,H.Abbreviated,he.Standalone,!0);break;case"bbbb":t=G(0,H.Wide,he.Standalone,!0);break;case"bbbbb":t=G(0,H.Narrow,he.Standalone,!0);break;case"B":case"BB":case"BBB":t=G(0,H.Abbreviated,he.Format,!0);break;case"BBBB":t=G(0,H.Wide,he.Format,!0);break;case"BBBBB":t=G(0,H.Narrow,he.Format,!0);break;case"h":t=ne(3,1,-12);break;case"hh":t=ne(3,2,-12);break;case"H":t=ne(3,1);break;case"HH":t=ne(3,2);break;case"m":t=ne(4,1);break;case"mm":t=ne(4,2);break;case"s":t=ne(5,1);break;case"ss":t=ne(5,2);break;case"S":t=ne(6,1);break;case"SS":t=ne(6,2);break;case"SSS":t=ne(6,3);break;case"Z":case"ZZ":case"ZZZ":t=ma(0);break;case"ZZZZZ":t=ma(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ma(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=ma(2);break;default:return null}return sd[e]=t,t}function uy(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function FT(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function PT(e,t,n){let o=e.getTimezoneOffset(),i=uy(t,o);return FT(e,-1*(i-o))}function jT(e){if(Jm(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Da(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(_T))return BT(r)}let t=new Date(e);if(!Jm(t))throw new v(2311,!1);return t}function BT(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Jm(e){return e instanceof Date&&!isNaN(e.valueOf())}var VT=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(De);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ut(qr))};static \u0275dir=ln({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ku]})}return e})();function ly(e,t){return new v(2100,!1)}var ad=class{createSubscription(t,n,r){return se(()=>t.subscribe({next:n,error:r}))}dispose(t){se(()=>t.unsubscribe())}},cd=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},HT=new cd,UT=new ad,$T=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=g(Ct);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if($o(n))return HT;if(na(n))return UT;throw ly(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(ut(Um,16))};static \u0275pipe=ra({name:"async",type:e,pure:!1})}return e})();var GT="mediumDate",dy=new _(""),fy=new _(""),zT=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??GT,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return ay(n,s,i||this.locale,a)}catch(s){throw ly(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ut(zo,16),ut(dy,24),ut(fy,24))};static \u0275pipe=ra({name:"date",type:e,pure:!0})}return e})();var py=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Zr({type:e});static \u0275inj=Rn({})}return e})();function ud(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 ld="browser";function hy(e){return e===ld}var Qr=class{_doc;constructor(t){this._doc=t}manager},ni=(()=>{class e extends Qr{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)(A(q))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),ii=new _(""),wa=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof ni));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof ni);i&&this._plugins.push(i)}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 v(-5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(A(ii),A(fe))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),dd="ng-app-id";function gy(e){for(let t of e)t.remove()}function my(e,t){let n=t.createElement("style");return n.textContent=e,n}function qT(e,t,n,r){let o=e.head?.querySelectorAll(`style[${dd}="${t}"],link[${dd}="${t}"]`);if(!o||o.length===0)return!1;for(let i of o)i.removeAttribute(dd),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]});return!0}function pd(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Ca=(()=>{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,qT(n,r,this.inline,this.external)&&this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,my);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&&(gy(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])gy(n);this.hosts.clear()}addHost(n){if(!this.hosts.has(n)){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,my(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);for(let r of[...this.inline.values(),...this.external.values()]){let o=[];for(let i of r.elements)i.parentNode===n?i.remove():o.push(i);r.elements=o}}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(A(q),A(Rr),A(To,8),A($n))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),fd={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"},hd=/%COMP%/g;var vy="%COMP%",ZT=`_nghost-${vy}`,YT=`_ngcontent-${vy}`,QT=!0,Dy=new _("",{factory:()=>QT});function KT(e){return YT.replace(hd,e)}function JT(e){return ZT.replace(hd,e)}function Ey(e,t){return t.map(n=>n.replace(hd,e))}var ba=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new ri(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Ia?o.applyToHost(n):o instanceof oi&&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.tracingService;switch(r.encapsulation){case at.Emulated:i=new Ia(c,u,r,this.appId,l,s,a,d);break;case at.ShadowDom:return new Ea(c,n,r,s,a,this.nonce,d,u);case at.ExperimentalIsolatedShadowDom:return new Ea(c,n,r,s,a,this.nonce,d);default:i=new oi(c,u,r,l,s,a,d);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)(A(wa),A(Kn),A(Rr),A(Dy),A(q),A(fe),A(To),A(Mt,8))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),ri=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(fd[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(yy(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(yy(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 v(-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=fd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=fd[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&(Tt.DashCase|Tt.Important)?t.style.setProperty(n,r,o&Tt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Tt.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=Nt().getGlobalEventTarget(this.doc,t),!t))throw new v(-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 yy(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ea=class extends ri{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Ey(r.id,u);for(let d of u){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let l=r.getExternalStyles?.();if(l)for(let d of l){let p=pd(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}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&&this.sharedStylesHost.removeHost(this.shadowRoot)}},oi=class extends ri{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?Ey(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&cn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ia=class extends oi{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=KT(u),this.hostAttr=JT(u)}applyToHost(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 Ta=class e extends Ko{supportsDOMEvents=!0;static makeCurrent(){rd(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=XT();return n==null?null:e_(n)}resetBaseElement(){si=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ud(document.cookie,t)}},si=null;function XT(){return si=si||document.head.querySelector("base"),si?si.getAttribute("href"):null}function e_(e){return new URL(e,document.baseURI).pathname}var Iy=["alt","control","meta","shift"],t_={"\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"},n_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},wy=(()=>{class e extends Qr{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(()=>Nt().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."),Iy.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=t_[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"),Iy.forEach(s=>{if(s!==o){let a=n_[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)(A(q))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})();async function r_(e,t,n){let r=$({rootComponent:e},o_(t,n));return $m(r)}function o_(e,t){return{platformRef:t?.platformRef,appProviders:[...u_,...e?.providers??[]],platformProviders:c_}}function i_(){Ta.makeCurrent()}function s_(){return new Pe}function a_(){return nl(document),document}var c_=[{provide:$n,useValue:ld},{provide:fs,useValue:i_,multi:!0},{provide:q,useFactory:a_}];var u_=[{provide:Eo,useValue:"root"},{provide:Pe,useFactory:s_},{provide:ii,useClass:ni,multi:!0},{provide:ii,useClass:wy,multi:!0},ba,{provide:Kn,useClass:Ca},{provide:Ca,useExisting:Kn},wa,{provide:qn,useExisting:ba},[]];var Ye=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
5
+ `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var yd=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},vd=class{encodeKey(t){return Cy(t)}encodeValue(t){return Cy(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function l_(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var d_=/%(\d[a-f0-9])/gi,f_={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Cy(e){return encodeURIComponent(e).replace(d_,(t,n)=>f_[n]??t)}function _a(e){return`${e}`}var dt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new vd,t.fromString){if(t.fromObject)throw new v(2805,!1);this.map=l_(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(_a):[_a(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(_a(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(_a(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function p_(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function by(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Ty(e){return typeof Blob<"u"&&e instanceof Blob}function _y(e){return typeof FormData<"u"&&e instanceof FormData}function h_(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var gd="Content-Type",Sy="Accept",Ny="text/plain",Ay="application/json",g_=`${Ay}, ${Ny}, */*`,tr=class e{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(p_(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.reportUploadProgress=!!i.reportUploadProgress,this.reportDownloadProgress=!!i.reportDownloadProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new v(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Ye,this.context??=new yd,!this.params)this.params=new dt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n,c="",u=n.indexOf("#");u!==-1&&(c=n.substring(u),a=n.substring(0,u));let l=a.indexOf("?"),d=l===-1?"?":l<a.length-1?"&":"";this.urlWithParams=a+d+s+c}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||by(this.body)||Ty(this.body)||_y(this.body)||h_(this.body)?this.body:this.body instanceof dt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||_y(this.body)?null:Ty(this.body)?this.body.type||null:by(this.body)?null:typeof this.body=="string"?Ny:this.body instanceof dt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ay:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer??this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,m=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,F=t.reportProgress??this.reportProgress,ce=t.reportUploadProgress??this.reportUploadProgress,we=t.reportDownloadProgress??this.reportDownloadProgress,Qe=t.headers||this.headers,K=t.params||this.params,ke=t.context??this.context;return t.setHeaders!==void 0&&(Qe=Object.keys(t.setHeaders).reduce((Me,Ce)=>Me.set(Ce,t.setHeaders[Ce]),Qe)),t.setParams&&(K=Object.keys(t.setParams).reduce((Me,Ce)=>Me.set(Ce,t.setParams[Ce]),K)),new e(n,r,y,{params:K,headers:Qe,context:ke,reportProgress:F,reportUploadProgress:ce,reportDownloadProgress:we,responseType:o,withCredentials:D,transferCache:h,keepalive:i,cache:a,priority:s,timeout:m,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},pn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(pn||{}),ai=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Ye,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},Dd=class e extends ai{constructor(t={}){super(t)}type=pn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Kr=class e extends ai{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=pn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},fn=class extends ai{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},m_=200;var y_=/^\)\]\}',?\n/,I2=1024*1024,v_=new _("",{factory:()=>null}),D_=(()=>{class e{fetchImpl=g(Ed,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(fe);destroyRef=g(Re);maxResponseSize=g(v_);handle(n){return new O(r=>{let o=new AbortController;this.doRequest(n,o.signal,r).then(Id,s=>r.error(new fn({error:s})));let i;return n.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},n.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}async doRequest(n,r,o){let i=this.createRequestInit(n),s;try{let y=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,$({signal:r},i)));E_(y),o.next({type:pn.Sent}),s=await y}catch(y){o.error(new fn({error:y,status:y.status??0,statusText:y.statusText,url:n.urlWithParams,headers:y.headers}));return}let a=new Ye(s.headers),c=s.statusText,u=s.url||n.urlWithParams,l=s.status,d=null,p=n.reportProgress||n.reportDownloadProgress;if(p&&o.next(new Dd({headers:a,status:l,statusText:c,url:u})),s.body){let y=s.headers.get("content-length"),D=y!==null?Number(y):NaN;this.maxResponseSize!==null&&Number.isFinite(D)&&D>this.maxResponseSize&&My(this.maxResponseSize);let F=[],ce=s.body.getReader(),we=0,Qe,K,ke=typeof Zone<"u"&&Zone.current,Me=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await ce.cancel(),Me=!0;break}let{done:z,value:Ne}=await ce.read();if(z)break;if(F.push(Ne),we+=Ne.length,this.maxResponseSize!==null&&we>this.maxResponseSize&&(await ce.cancel(),My(this.maxResponseSize)),p){K=n.responseType==="text"?(K??"")+(Qe??=new TextDecoder).decode(Ne,{stream:!0}):void 0;let Le=()=>o.next({type:pn.DownloadProgress,total:Number.isFinite(D)?D:void 0,loaded:we,partialText:K});ke?ke.run(Le):Le()}}}),Me){o.complete();return}let Ce=this.concatChunks(F,we);try{let z=s.headers.get(gd)??"";d=this.parseBody(n,Ce,z,l)}catch(z){o.error(new fn({error:z,headers:new Ye(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}l===0&&(l=d?m_:0);let f=l>=200&&l<300,h=s.redirected,m=s.type;f?(o.next(new Kr({body:d,headers:a,status:l,statusText:c,url:u,redirected:h,responseType:m})),o.complete()):o.error(new fn({error:d,headers:a,status:l,statusText:c,url:u,redirected:h,responseType:m}))}parseBody(n,r,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(r).replace(y_,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){if(n.reportUploadProgress)throw new v(2824,!1);let r={},o;if(o=n.credentials,n.withCredentials&&(o="include"),n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has(Sy)||(r[Sy]=g_),!n.headers.has(gd)){let i=n.detectContentTypeHeader();i!==null&&(r[gd]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ct({token:e,factory:e.\u0275fac})}return e})(),Ed=class{};function Id(){}function E_(e){e.then(Id,Id)}function My(e){throw new v(-2825,!1)}function I_(e,t){return t(e)}function w_(e,t,n){return(r,o)=>Cr(n,()=>t(r,i=>e(i,o)))}var C_=new _("",{factory:()=>[]}),xy=new _(""),b_=new _("",{factory:()=>!0});var T_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=A(D_),o},providedIn:"root"})}return e})();var __=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Fr);contributeToStability=g(b_);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(C_),...this.injector.get(xy,[])]));this.chain=o.reduceRight((i,s)=>w_(i,s,this.injector),I_)}let r=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return se(()=>r(n,i=>this.backend.handle(i))).pipe(Li(o))}else return se(()=>r(n,o=>this.backend.handle(o)))}static \u0275fac=function(r){return new(r||e)(A(T_),A(ve))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),S_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=A(__),o},providedIn:"root"})}return e})();function md(e,t){return $({body:t},e)}var Ry=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof tr)i=n;else{let c;o.headers instanceof Ye?c=o.headers:c=new Ye(o.headers);let u;o.params&&(o.params instanceof dt?u=o.params:u=new dt({fromObject:o.params})),i=new tr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=Ya(i).pipe(Xa(c=>this.handler.handle(c)));if(n instanceof tr||o.observe==="events")return s;let a=s.pipe(tt(c=>c instanceof Kr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ae(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new v(2806,!1);return c.body}));case"blob":return a.pipe(ae(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new v(2807,!1);return c.body}));case"text":return a.pipe(ae(c=>{if(c.body!==null&&typeof c.body!="string")throw new v(2808,!1);return c.body}));default:return a.pipe(ae(c=>c.body))}case"response":return a;default:throw new v(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new dt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,md(o,r))}post(n,r,o={}){return this.request("POST",n,md(o,r))}put(n,r,o={}){return this.request("PUT",n,md(o,r))}static \u0275fac=function(r){return new(r||e)(A(S_))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var M_=new _(""),N_="b",A_="h",x_="s",R_="st",O_="u",k_="rt",L_=new _(""),F_=["GET","HEAD"];function P_(e,t){let s=t,{isCacheActive:n}=s,r=Aa(s,["isCacheActive"]),{transferCache:o,method:i}=e;return!(!n||o===!1||$_(e)||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!F_.includes(i)||!r.includeRequestsWithAuthHeaders&&B_(e)||H_(e.headers)||U_(e.cache)||r.filter?.(e)===!1)}function j_(e,t,n,r,o,i=!1){if(!i&&!P_(e,t))return null;if(r)throw new v(2803,!1);if(!o){let m=e.url;o=G_(e,m)}let s=n.get(o,null);if(!s)return null;let{[N_]:a,[k_]:c,[A_]:u,[x_]:l,[R_]:d,[O_]:p}=s,f=a;switch(c){case"arraybuffer":f=ky(a);break;case"blob":f=new Blob([ky(a)]);break}let h=new Ye(u);return new Kr({body:f,headers:h,status:l,statusText:d,url:p})}function B_(e){let t=e.headers;return t.has("authorization")||t.has("proxy-authorization")||t.has("cookie")}var V_=new Set(["no-store","private","no-cache"]);function H_(e){let t=e.get("cache-control");return t?t.split(",").some(n=>{let r=n.split("=",1)[0].trim().toLowerCase();return V_.has(r)}):!1}function U_(e){return e==="no-cache"||e==="no-store"}function $_(e){let{withCredentials:t,credentials:n}=e;return t||n==="include"||n==="same-origin"}function Oy(e){let t=new URLSearchParams(e instanceof URLSearchParams?e:e.toString());return t.sort(),t.toString()}function G_(e,t){let{params:n,method:r,responseType:o}=e,i=Oy(n),s=e.serializeBody();s instanceof URLSearchParams?s=Oy(s):typeof s!="string"&&(s="");let a=[r,o,t,s,i].join("|"),c=W_(a);return c}function ky(e){let t=atob(e);return Uint8Array.from(t,r=>r.charCodeAt(0)).buffer}var z_=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Ly;function W_(e){Ly??=new TextEncoder;let t=Ly.encode(e),n=1779033703,r=3144134277,o=1013904242,i=2773480762,s=1359893119,a=2600822924,c=528734635,u=1541459225,l=t.length*8,d=(t.length+8>>6)+1<<6,p=new Uint8Array(d);p.set(t),p[t.length]=128;let f=new DataView(p.buffer),h=l>>>0,m=l/4294967296>>>0;f.setUint32(d-8,m,!1),f.setUint32(d-4,h,!1);let y=new Uint32Array(64);for(let D=0;D<d;D+=64){for(let z=0;z<16;z++)y[z]=f.getUint32(D+z*4,!1);for(let z=16;z<64;z++){let Ne=y[z-15],Le=((Ne>>>7|Ne<<25)^(Ne>>>18|Ne<<14)^Ne>>>3)>>>0,ft=y[z-2],Xr=((ft>>>17|ft<<15)^(ft>>>19|ft<<13)^ft>>>10)>>>0;y[z]=y[z-16]+Le+y[z-7]+Xr>>>0}let F=n,ce=r,we=o,Qe=i,K=s,ke=a,Me=c,Ce=u;for(let z=0;z<64;z++){let Ne=((K>>>6|K<<26)^(K>>>11|K<<21)^(K>>>25|K<<7))>>>0,Le=(K&ke^~K&Me)>>>0,ft=Ce+Ne+Le+z_[z]+y[z]>>>0,Xr=((F>>>2|F<<30)^(F>>>13|F<<19)^(F>>>22|F<<10))>>>0,E=(F&ce^F&we^ce&we)>>>0,I=Xr+E>>>0;Ce=Me,Me=ke,ke=K,K=Qe+ft>>>0,Qe=we,we=ce,ce=F,F=ft+I>>>0}n=n+F>>>0,r=r+ce>>>0,o=o+we>>>0,i=i+Qe>>>0,s=s+K>>>0,a=a+ke>>>0,c=c+Me>>>0,u=u+Ce>>>0}return[n,r,o,i,s,a,c,u].map(D=>D.toString(16).padStart(8,"0")).join("")}var S2=(()=>{let e=Sa("json");return e.arrayBuffer=Sa("arraybuffer"),e.blob=Sa("blob"),e.text=Sa("text"),e})();function Sa(e){return function(n,r){let o=r?.injector??g(De),i=o.get(L_,null,{optional:!0}),s=o.get(Or,null,{optional:!0}),a=o.get(M_,null,{optional:!0}),c=u=>{if(i&&s&&u){let l=j_(u,i,s,a);if(l)try{let d=l.body,p=r?.parse?r.parse(d):d;return Te({value:p})}catch{}}};return new wd(o,u=>q_(u,n,e),r?.defaultValue,r?.debugName,r?.parse,r?.equal,c)}}function q_(e,t,n){let r=typeof t=="function"?t(e):t;if(r===void 0)return;typeof r=="string"&&(r={url:r});let o=r.headers instanceof Ye?r.headers:new Ye(r.headers),i=r.params instanceof dt?r.params:new dt({fromObject:r.params});return new tr(r.method??"GET",r.url,r.body??null,{headers:o,params:i,reportProgress:r.reportProgress,withCredentials:r.withCredentials,keepalive:r.keepalive,cache:r.cache,priority:r.priority,mode:r.mode,redirect:r.redirect,responseType:n,context:r.context,transferCache:r.transferCache,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}var wd=class extends qo{client;_headers=Xn({source:this.extRequest,computation:()=>{}});_progress=Xn({source:this.extRequest,computation:()=>{}});_statusCode=Xn({source:this.extRequest,computation:()=>{}});headers=qe(()=>this.status()==="resolved"||this.status()==="error"?this._headers():void 0);progress=this._progress.asReadonly();statusCode=this._statusCode.asReadonly();constructor(t,n,r,o,i,s,a){super(n,({params:c,abortSignal:u})=>{let l,d=!1,p=()=>{d=!0,l?.unsubscribe()};u.addEventListener("abort",p);let f=Te({value:void 0}),h,m=new Promise(D=>h=D),y=D=>{f.set(D),h?.(f),h=void 0};return l=this.client.request(c).subscribe({next:D=>{switch(D.type){case pn.Response:this._headers.set(D.headers),this._statusCode.set(D.status);try{y({value:i?i(D.body):D.body})}catch(F){y({error:Zo(F)})}break;case pn.DownloadProgress:this._progress.set(D);break}},error:D=>{D instanceof fn&&(this._headers.set(D.headers),this._statusCode.set(D.status)),y({error:D}),u.removeEventListener("abort",p)},complete:()=>{h&&y({error:new v(991,!1)}),u.removeEventListener("abort",p)}}),d&&l.unsubscribe(),m},r,s,o,t,void 0,a),this.client=t.get(Ry)}set(t){super.set(t),this._headers.set(void 0),this._progress.set(void 0),this._statusCode.set(void 0)}};var q2=(()=>{class e{_doc=g(q);_dom=Nt();_cachedHead;addTag(n,r=!1){return n?this._getOrCreateElement(n,r):null}addTags(n,r=!1){return n.filter(o=>!!o).map(o=>this._getOrCreateElement(o,r))}getTag(n){if(!n)return null;let r=this._doc.querySelector(Fy(n));return By(r)?r:null}getTags(n){if(!n)return[];let r=this._doc.querySelectorAll(Fy(n));return r?Array.from(r).filter(o=>By(o)):[]}updateTag(n,r){r??=jy(n);let o=this.getTag(r);return o?(Py(n,o),o):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,r=!1){if(!r){let s=jy(n),a=this.getTags(s).filter(c=>Y_(n,c))[0];if(a!==void 0)return a}let o=this._dom.createElement("meta");return Py(n,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ct({token:e,factory:e.\u0275fac})}return e})();function Fy(e){return`meta[${e}]`}function Py(e,t){Object.keys(e).forEach(n=>t.setAttribute(Vy(n),e[n]))}function jy(e){let t=e.name?"name":"property";return`${t}=${Z_(String(e[t]))}`}function Z_(e){return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Y_(e,t){return Object.keys(e).every(n=>t.getAttribute(Vy(n))===e[n])}function Vy(e){return Q_[e]||e}function By(e){return e?.nodeName.toLowerCase()==="meta"}var Q_={httpEquiv:"http-equiv"},Z2=(()=>{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)(A(q))};static \u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Cd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=k({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=A(K_),o},providedIn:"root"})}return e})(),K_=(()=>{class e extends Cd{_doc=g(q);sanitize(n,r){if(r==null)return null;switch(n){case _e.NONE:return r;case _e.HTML:return St(r,"HTML")?We(r):qs(this._doc,String(r)).toString();case _e.STYLE:return St(r,"Style")?We(r):r;case _e.SCRIPT:if(St(r,"Script"))return We(r);throw new v(5200,!1);case _e.URL:return St(r,"URL")?We(r):jo(String(r));case _e.RESOURCE_URL:if(St(r,"ResourceURL"))return We(r);throw new v(-5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return il(n)}bypassSecurityTrustStyle(n){return sl(n)}bypassSecurityTrustScript(n){return al(n)}bypassSecurityTrustUrl(n){return cl(n)}bypassSecurityTrustResourceUrl(n){return ul(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ct({token:e,factory:e.\u0275fac})}return e})();var ci=new _("HIGHLIGHT_OPTIONS");function iU(e){return Ht([{provide:ci,useValue:e}])}var Jr=(function(e){return e.FULL_WITH_CORE_LIBRARY_IMPORTS="The full library and the core library were imported, only one of them should be imported!",e.FULL_WITH_LANGUAGE_IMPORTS="The highlighting languages were imported they are not needed!",e.CORE_WITHOUT_LANGUAGE_IMPORTS="The highlighting languages were not imported!",e.LANGUAGE_WITHOUT_CORE_IMPORTS="The core library was not imported!",e.NO_FULL_AND_NO_CORE_IMPORTS="Highlight.js library was not imported!",e})(Jr||{}),J_=(()=>{class e{constructor(){this.document=g(q),this.isPlatformBrowser=hy(g($n)),this.options=g(ci,{optional:!0}),this._ready=new Cn(null),this.ready=Qa(this._ready.asObservable().pipe(tt(n=>!!n))),this.isPlatformBrowser&&(this.document.defaultView.hljs?this._ready.next(this.document.defaultView.hljs):this._loadLibrary().pipe(vr(n=>this.options?.lineNumbersLoader?(this.document.defaultView.hljs=n,this.loadLineNumbers().pipe(uo(r=>{r.activateLineNumbers(),this._ready.next(n)}))):(this._ready.next(n),Fe)),co(n=>(console.error("[HLJS] ",n),this._ready.error(n),Fe))).subscribe(),this.options?.themePath&&this.loadTheme(this.options.themePath))}_loadLibrary(){if(this.options){if(this.options.fullLibraryLoader&&this.options.coreLibraryLoader)return Tn(()=>Jr.FULL_WITH_CORE_LIBRARY_IMPORTS);if(this.options.fullLibraryLoader&&this.options.languages)return Tn(()=>Jr.FULL_WITH_LANGUAGE_IMPORTS);if(this.options.coreLibraryLoader&&!this.options.languages)return Tn(()=>Jr.CORE_WITHOUT_LANGUAGE_IMPORTS);if(!this.options.coreLibraryLoader&&this.options.languages)return Tn(()=>Jr.LANGUAGE_WITHOUT_CORE_IMPORTS);if(this.options.fullLibraryLoader)return this.loadFullLibrary();if(this.options.coreLibraryLoader&&this.options.languages&&Object.keys(this.options.languages).length)return this.loadCoreLibrary().pipe(vr(n=>this._loadLanguages(n)))}return Tn(()=>Jr.NO_FULL_AND_NO_CORE_IMPORTS)}_loadLanguages(n){let r=Object.entries(this.options.languages).map(([o,i])=>bd(i()).pipe(uo(s=>n.registerLanguage(o,s))));return Ka(r).pipe(ae(()=>n))}loadCoreLibrary(){return bd(this.options.coreLibraryLoader())}loadFullLibrary(){return bd(this.options.fullLibraryLoader())}loadLineNumbers(){return Ae(this.options.lineNumbersLoader())}setTheme(n){this.isPlatformBrowser&&(this._themeLinkElement?this._themeLinkElement.href=n:this.loadTheme(n))}loadTheme(n){this._themeLinkElement=this.document.createElement("link"),this._themeLinkElement.href=n,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.document.head.appendChild(this._themeLinkElement)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),bd=e=>Ae(e).pipe(tt(t=>!!t?.default),ae(t=>t.default)),_d=(()=>{class e{constructor(){this.loader=g(J_),this.options=g(ci,{optional:!0}),this.hljsSignal=Te(null),this.hljs=qe(()=>this.hljsSignal()),this.loader.ready.then(n=>{this.hljsSignal.set(n),this.options?.highlightOptions&&n.configure(this.options.highlightOptions)})}async highlight(n,r){return(await this.loader.ready).highlight(n,r)}async highlightAuto(n,r){return(await this.loader.ready).highlightAuto(n,r)}async highlightElement(n){(await this.loader.ready).highlightElement(n)}async highlightAll(){(await this.loader.ready).highlightAll()}async configure(n){(await this.loader.ready).configure(n)}async registerLanguage(n,r){(await this.loader.ready).registerLanguage(n,r)}async unregisterLanguage(n){(await this.loader.ready).unregisterLanguage(n)}async registerAliases(n,{languageName:r}){(await this.loader.ready).registerAliases(n,{languageName:r})}async listLanguages(){return(await this.loader.ready).listLanguages()}async getLanguage(n){return(await this.loader.ready).getLanguage(n)}async safeMode(){(await this.loader.ready).safeMode()}async debugMode(){(await this.loader.ready).debugMode()}async lineNumbersBlock(n,r){let o=await this.loader.ready;o.lineNumbersBlock&&o.lineNumbersBlock(n,r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Td;function X_(){if(!Td)try{Td=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:e=>e})}catch{}return Td}function eS(e){return X_()?.createHTML(e)||e}var Ma=(()=>{class e{constructor(){this._hljs=g(_d),this._nativeElement=g(_t).nativeElement,this._sanitizer=g(Cd),Qo({write:()=>{let n=this.code();this.setTextContent(n||""),n&&this.highlightElement(n)}}),Qo({write:()=>{let n=this.highlightResult();this.setInnerHTML(n?.value),this.highlighted.emit(n)}})}setTextContent(n){requestAnimationFrame(()=>this._nativeElement.textContent=n)}setInnerHTML(n){requestAnimationFrame(()=>this._nativeElement.innerHTML=eS(this._sanitizer.sanitize(_e.HTML,n)||""))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=ln({type:e})}}return e})(),sU=(()=>{class e extends Ma{constructor(){super(...arguments),this.code=er(null,{alias:"highlight"}),this.highlightResult=Te(null),this.language=er.required(),this.ignoreIllegals=er(void 0,{transform:da}),this.highlighted=Vm()}async highlightElement(n){let r=await this._hljs.highlight(n,{language:this.language(),ignoreIllegals:this.ignoreIllegals()});this.highlightResult.set(r)}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Gs(e)))(o||e)}})()}static{this.\u0275dir=ln({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(r,o){r&2&&sa("hljs",!0)},inputs:{code:[1,"highlight","code"],language:[1,"language"],ignoreIllegals:[1,"ignoreIllegals"]},outputs:{highlighted:"highlighted"},features:[ql([{provide:Ma,useExisting:e}]),oa]})}}return e})();function dU(){let e=window,t=document,n="hljs-ln",r="hljs-ln-line",o="hljs-ln-code",i="hljs-ln-numbers",s="hljs-ln-n",a="data-line-number",c=/\r\n|\r|\n/g;e.hljs?(e.hljs.initLineNumbersOnLoad=f,e.hljs.lineNumbersBlock=y,e.hljs.lineNumbersValue=D,p()):e.console.error("highlight.js not detected!");function u(E){let I=E;for(;I;){if(I.className&&I.className.indexOf("hljs-ln-code")!==-1)return!0;I=I.parentNode}return!1}function l(E){let I=E;for(;I.nodeName!=="TABLE";)I=I.parentNode;return I}function d(E){let I=E.toString(),R=E.anchorNode;for(;R.nodeName!=="TD";)R=R.parentNode;let Z=E.focusNode;for(;Z.nodeName!=="TD";)Z=Z.parentNode;let re=parseInt(R.dataset.lineNumber),At=parseInt(Z.dataset.lineNumber);if(re!=At){let nr=R.textContent,rr=Z.textContent;if(re>At){let hn=re;re=At,At=hn,hn=nr,nr=rr,rr=hn}for(;I.indexOf(nr)!==0;)nr=nr.slice(1);for(;I.lastIndexOf(rr)===-1;)rr=rr.slice(0,-1);let Na=nr,Hy=l(R);for(let hn=re+1;hn<At;++hn){let Uy=Le('.{0}[{1}="{2}"]',[o,a,hn]),$y=Hy.querySelector(Uy);Na+=`
6
+ `+$y.textContent}return Na+=`
7
+ `+rr,Na}else return I}document.addEventListener("copy",function(E){let I=window.getSelection();if(u(I.anchorNode)){let R;window.navigator.userAgent.indexOf("Edge")!==-1?R=d(I):R=I.toString(),E.clipboardData.setData("text/plain",R),E.preventDefault()}});function p(){let E=t.createElement("style");E.type="text/css",E.innerHTML=Le(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[n,s,a]),t.getElementsByTagName("head")[0].appendChild(E)}function f(E){t.readyState==="interactive"||t.readyState==="complete"?h(E):e.addEventListener("DOMContentLoaded",function(){h(E)})}function h(E){try{let I=t.querySelectorAll("code.hljs,code.nohighlight");for(let R in I)I.hasOwnProperty(R)&&(m(I[R])||y(I[R],E))}catch(I){e.console.error("LineNumbers error: ",I)}}function m(E){return E.classList.contains("nohljsln")}function y(E,I){typeof E=="object"&&Ne(function(){E.innerHTML=F(E,I)})}function D(E,I){if(typeof E!="string")return;let R=document.createElement("code");return R.innerHTML=E,F(R,I)}function F(E,I){let R=we(E,I);return ke(E),ce(E.innerHTML,R)}function ce(E,I){let R=Ce(E);if(R[R.length-1].trim()===""&&R.pop(),R.length>1||I.singleLine){let Z="";for(let re=0,At=R.length;re<At;re++)Z+=Le('<tr><td class="{0} {1}" {3}="{5}"><div class="{2}" {3}="{5}"></div></td><td class="{0} {4}" {3}="{5}">{6}</td></tr>',[r,i,s,a,o,re+I.startFrom,R[re].length>0?R[re]:" "]);return Le('<table class="{0}">{1}</table>',[n,Z])}return E}function we(E,I){return I=I||{},{singleLine:Qe(I),startFrom:K(E,I)}}function Qe(E){return E.singleLine?E.singleLine:!1}function K(E,I){let Z=1;isFinite(I.startFrom)&&(Z=I.startFrom);let re=ft(E,"data-ln-start-from");return re!==null&&(Z=Xr(re,1)),Z}function ke(E){let I=E.childNodes;for(let R in I)if(I.hasOwnProperty(R)){let Z=I[R];z(Z.textContent)>0&&(Z.childNodes.length>0?ke(Z):Me(Z.parentNode))}}function Me(E){let I=E.className;if(!/hljs-/.test(I))return;let R=Ce(E.innerHTML),Z="";for(let re=0;re<R.length;re++){let At=R[re].length>0?R[re]:" ";Z+=Le(`<span class="{0}">{1}</span>
8
+ `,[I,At])}E.innerHTML=Z.trim()}function Ce(E){return E.length===0?[]:E.split(c)}function z(E){return(E.trim().match(c)||[]).length}function Ne(E){e.setTimeout(E,0)}function Le(E,I){return E.replace(/\{(\d+)\}/g,function(R,Z){return I[Z]!==void 0?I[Z]:R})}function ft(E,I){return E.hasAttribute(I)?E.getAttribute(I):null}function Xr(E,I){if(!E)return I;let R=Number(E);return isFinite(R)?R:I}}var fU=(()=>{class e{constructor(){this.options=g(ci)?.lineNumbersOptions,this._hljs=g(_d),this._highlight=g(Ma),this._nativeElement=g(_t).nativeElement,this.startFrom=er(this.options?.startFrom,{transform:Gm}),this.singleLine=er(this.options?.singleLine,{transform:da}),Qo({write:()=>{this._highlight.highlightResult()&&this.addLineNumbers()}})}addLineNumbers(){this.destroyLineNumbersObserver(),requestAnimationFrame(async()=>{await this._hljs.lineNumbersBlock(this._nativeElement,{startFrom:this.startFrom(),singleLine:this.singleLine()}),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild?.tagName.toUpperCase()==="TABLE"&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=ln({type:e,selectors:[["","highlight","","lineNumbers",""],["","highlightAuto","","lineNumbers",""]],inputs:{startFrom:[1,"startFrom"],singleLine:[1,"singleLine"]}})}}return e})();export{Y as a,ue as b,le as c,Xy as d,O as e,me as f,Cn as g,io as h,Kt as i,rv as j,Fe as k,ao as l,Ae as m,Ya as n,Tn as o,dv as p,_n as q,ae as r,Dv as s,et as t,yr as u,Iv as v,Ka as w,Ja as x,Lt as y,Mv as z,Nv as A,tt as B,Av as C,co as D,Xa as E,ec as F,Sn as G,xv as H,Rv as I,Li as J,Lv as K,Fv as L,Pv as M,rc as N,jv as O,Bv as P,hf as Q,vr as R,gf as S,Vv as T,uo as U,Hv as V,Uv as W,v as X,Bt as Y,Gi as Z,k as _,Rn as $,zv as aa,_ as ba,A as ca,g as da,Do as ea,Ht as fa,ve as ga,Cr as ha,Wf as ia,qf as ja,sp as ka,De as la,q as ma,Re as na,Un as oa,Ft as pa,fe as qa,Ct as ra,DD as sa,Te as ta,$n as ua,ru as va,Lr as wa,Ku as xa,Gs as ya,Xu as za,ct as Aa,nE as Ba,rE as Ca,oE as Da,_t as Ea,VE as Fa,Hh as Ga,$E as Ha,GE as Ia,aI as Ja,xI as Ka,Ur as La,qn as Ma,Dg as Na,Dw as Oa,Iw as Pa,ut as Qa,Sw as Ra,qr as Sa,$o as Ta,Fg as Ua,Pg as Va,lC as Wa,Zr as Xa,ln as Ya,gC as Za,mC as _a,yC as $a,oa as ab,Ug as bb,$g as cb,ia as db,Yr as eb,zg as fb,RC as gb,OC as hb,kC as ib,LC as jb,FC as kb,PC as lb,Wg as mb,Us as nb,Hl as ob,qg as pb,Ul as qb,$l as rb,Zg as sb,Gl as tb,zl as ub,Qg as vb,$C as wb,Kg as xb,Xg as yb,em as zb,ZC as Ab,QC as Bb,KC as Cb,nm as Db,XC as Eb,eb as Fb,rm as Gb,om as Hb,tb as Ib,nb as Jb,am as Kb,sa as Lb,pb as Mb,bb as Nb,pm as Ob,Wl as Pb,hm as Qb,mm as Rb,Mb as Sb,ym as Tb,ql as Ub,Rb as Vb,Ob as Wb,kb as Xb,Lb as Yb,Pb as Zb,jb as _b,Bb as $b,Vb as ac,qe as bc,se as cc,Xn as dc,Rm as ec,pV as fc,Vm as gc,er as hc,hV as ic,gV as jc,mV as kc,yV as lc,Um as mc,da as nc,DV as oc,EV as pc,Nt as qc,pa as rc,Km as sc,VT as tc,$T as uc,zT as vc,py as wc,hy as xc,Qr as yc,ii as zc,Dy as Ac,r_ as Bc,S2 as Cc,q2 as Dc,Z2 as Ec,Cd as Fc,iU as Gc,sU as Hc,dU as Ic,fU as Jc};