UNPKG

@rero/rero-ils-ui

Version:

User interface for RERO integrated library system (RERO ILS).

1 lines 2.65 MB
(self.webpackChunkpublic_search=self.webpackChunkpublic_search||[]).push([[792],{93:(St,st,Ie)=>{"use strict";function J(e,n,o,t,i,r,a){try{var s=e[r](a),d=s.value}catch(u){return void o(u)}s.done?n(d):Promise.resolve(d).then(t,i)}function F(e){return function(){var n=this,o=arguments;return new Promise(function(t,i){var r=e.apply(n,o);function a(d){J(r,t,i,a,s,"next",d)}function s(d){J(r,t,i,a,s,"throw",d)}a(void 0)})}}function re(e,n){return Object.is(e,n)}let ae=null,ee=!1,W=1;const ce=Symbol("SIGNAL");function $(e){const n=ae;return ae=e,n}const fe={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Q(e){if(ee)throw new Error("");if(null===ae)return;ae.consumerOnSignalRead(e);const n=ae.nextProducerIndex++;Ue(ae),n<ae.producerNode.length&&ae.producerNode[n]!==e&&qe(ae)&&et(ae.producerNode[n],ae.producerIndexOfThis[n]),ae.producerNode[n]!==e&&(ae.producerNode[n]=e,ae.producerIndexOfThis[n]=qe(ae)?Se(e,ae,n):0),ae.producerLastReadVersion[n]=e.version}function Ce(e){if((!qe(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==W)){if(!e.producerMustRecompute(e)&&!me(e))return e.dirty=!1,void(e.lastCleanEpoch=W);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=W}}function Pe(e){if(void 0===e.liveConsumerNode)return;const n=ee;ee=!0;try{for(const o of e.liveConsumerNode)o.dirty||U(o)}finally{ee=n}}function ue(){var e;return!1!==(null===(e=ae)||void 0===e?void 0:e.consumerAllowSignalWrites)}function U(e){var n;e.dirty=!0,Pe(e),null===(n=e.consumerMarkedDirty)||void 0===n||n.call(e,e)}function q(e){return e&&(e.nextProducerIndex=0),$(e)}function Te(e,n){if($(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(qe(e))for(let o=e.nextProducerIndex;o<e.producerNode.length;o++)et(e.producerNode[o],e.producerIndexOfThis[o]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function me(e){Ue(e);for(let n=0;n<e.producerNode.length;n++){const o=e.producerNode[n],t=e.producerLastReadVersion[n];if(t!==o.version||(Ce(o),t!==o.version))return!0}return!1}function xe(e){if(Ue(e),qe(e))for(let n=0;n<e.producerNode.length;n++)et(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Se(e,n,o){if(pt(e),Ue(e),0===e.liveConsumerNode.length)for(let t=0;t<e.producerNode.length;t++)e.producerIndexOfThis[t]=Se(e.producerNode[t],e,t);return e.liveConsumerIndexOfThis.push(o),e.liveConsumerNode.push(n)-1}function et(e,n){if(pt(e),Ue(e),1===e.liveConsumerNode.length)for(let t=0;t<e.producerNode.length;t++)et(e.producerNode[t],e.producerIndexOfThis[t]);const o=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[o],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[o],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const t=e.liveConsumerIndexOfThis[n],i=e.liveConsumerNode[n];Ue(i),i.producerIndexOfThis[t]=n}}function qe(e){var n,o;return e.consumerIsAlwaysLive||(null!==(n=null==e||null===(o=e.liveConsumerNode)||void 0===o?void 0:o.length)&&void 0!==n?n:0)>0}function Ue(e){var n,o,t;null!==(n=e.producerNode)&&void 0!==n||(e.producerNode=[]),null!==(o=e.producerIndexOfThis)&&void 0!==o||(e.producerIndexOfThis=[]),null!==(t=e.producerLastReadVersion)&&void 0!==t||(e.producerLastReadVersion=[])}function pt(e){var n,o;null!==(n=e.liveConsumerNode)&&void 0!==n||(e.liveConsumerNode=[]),null!==(o=e.liveConsumerIndexOfThis)&&void 0!==o||(e.liveConsumerIndexOfThis=[])}const bt=Symbol("UNSET"),Le=Symbol("COMPUTING"),je=Symbol("ERRORED"),Ke={...fe,value:bt,dirty:!0,error:null,equal:re,producerMustRecompute:e=>e.value===bt||e.value===Le,producerRecomputeValue(e){if(e.value===Le)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Le;const o=q(e);let t;try{t=e.computation()}catch(i){t=je,e.error=i}finally{Te(e,o)}n!==bt&&n!==je&&t!==je&&e.equal(n,t)?e.value=n:(e.value=t,e.version++)}};let on=function wt(){throw new Error};function It(){on()}let de=null;function Zt(e,n){ue()||It(),e.equal(e.value,n)||(e.value=n,function po(e){var n;e.version++,function ye(){W++}(),Pe(e),null===(n=de)||void 0===n||n()}(e))}const Ut={...fe,equal:re,value:void 0};const $o=()=>{},Sn={...fe,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:$o};function bn(e){return"function"==typeof e}function Hi(e){const o=e(t=>{Error.call(t),t.stack=(new Error).stack});return o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o}const un=Hi(e=>function(o){e(this),this.message=o?"".concat(o.length," errors occurred during unsubscription:\n").concat(o.map((t,i)=>"".concat(i+1,") ").concat(t.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=o});function ii(e,n){if(e){const o=e.indexOf(n);0<=o&&e.splice(o,1)}}class zt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:o}=this;if(o)if(this._parentage=null,Array.isArray(o))for(const r of o)r.remove(this);else o.remove(this);const{initialTeardown:t}=this;if(bn(t))try{t()}catch(r){n=r instanceof un?r.errors:[r]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const r of i)try{ai(r)}catch(a){n=null!=n?n:[],a instanceof un?n=[...n,...a.errors]:n.push(a)}}if(n)throw new un(n)}}add(n){var o;if(n&&n!==this)if(this.closed)ai(n);else{if(n instanceof zt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(o=this._finalizers)&&void 0!==o?o:[]).push(n)}}_hasParent(n){const{_parentage:o}=this;return o===n||Array.isArray(o)&&o.includes(n)}_addParent(n){const{_parentage:o}=this;this._parentage=Array.isArray(o)?(o.push(n),o):o?[o,n]:n}_removeParent(n){const{_parentage:o}=this;o===n?this._parentage=null:Array.isArray(o)&&ii(o,n)}remove(n){const{_finalizers:o}=this;o&&ii(o,n),n instanceof zt&&n._removeParent(this)}}zt.EMPTY=(()=>{const e=new zt;return e.closed=!0,e})();const Dt=zt.EMPTY;function jt(e){return e instanceof zt||e&&"closed"in e&&bn(e.remove)&&bn(e.add)&&bn(e.unsubscribe)}function ai(e){bn(e)?e():e.unsubscribe()}const yn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Do={setTimeout(e,n,...o){const{delegate:t}=Do;return null!=t&&t.setTimeout?t.setTimeout(e,n,...o):setTimeout(e,n,...o)},clearTimeout(e){const{delegate:n}=Do;return((null==n?void 0:n.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Zn(e){Do.setTimeout(()=>{const{onUnhandledError:n}=yn;if(!n)throw e;n(e)})}function We(){}const Ge=ie("C",void 0,void 0);function ie(e,n,o){return{kind:e,value:n,error:o}}let pe=null;function ke(e){if(yn.useDeprecatedSynchronousErrorHandling){const n=!pe;if(n&&(pe={errorThrown:!1,error:null}),e(),n){const{errorThrown:o,error:t}=pe;if(pe=null,o)throw t}}else e()}class I extends zt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jt(n)&&n.add(this)):this.destination=Je}static create(n,o,t){return new X(n,o,t)}next(n){this.isStopped?he(function Y(e){return ie("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?he(function Re(e){return ie("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?he(Ge,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const L=Function.prototype.bind;function Z(e,n){return L.call(e,n)}class G{constructor(n){this.partialObserver=n}next(n){const{partialObserver:o}=this;if(o.next)try{o.next(n)}catch(t){ge(t)}}error(n){const{partialObserver:o}=this;if(o.error)try{o.error(n)}catch(t){ge(t)}else ge(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(o){ge(o)}}}class X extends I{constructor(n,o,t){let i;if(super(),bn(n)||!n)i={next:null!=n?n:void 0,error:null!=o?o:void 0,complete:null!=t?t:void 0};else{let r;this&&yn.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Z(n.next,r),error:n.error&&Z(n.error,r),complete:n.complete&&Z(n.complete,r)}):i=n}this.destination=new G(i)}}function ge(e){yn.useDeprecatedSynchronousErrorHandling?function w(e){yn.useDeprecatedSynchronousErrorHandling&&pe&&(pe.errorThrown=!0,pe.error=e)}(e):Zn(e)}function he(e,n){const{onStoppedNotification:o}=yn;o&&Do.setTimeout(()=>o(e,n))}const Je={closed:!0,next:We,error:function ve(e){throw e},complete:We},vt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Mt(e){return e}function ht(e){return 0===e.length?Mt:1===e.length?e[0]:function(o){return e.reduce((t,i)=>i(t),o)}}let Rt=(()=>{class e{constructor(o){o&&(this._subscribe=o)}lift(o){const t=new e;return t.source=this,t.operator=o,t}subscribe(o,t,i){const r=function Hn(e){return e&&e instanceof I||function an(e){return e&&bn(e.next)&&bn(e.error)&&bn(e.complete)}(e)&&jt(e)}(o)?o:new X(o,t,i);return ke(()=>{const{operator:a,source:s}=this;r.add(a?a.call(r,s):s?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(o){try{return this._subscribe(o)}catch(t){o.error(t)}}forEach(o,t){return new(t=wn(t))((i,r)=>{const a=new X({next:s=>{try{o(s)}catch(d){r(d),a.unsubscribe()}},error:r,complete:i});this.subscribe(a)})}_subscribe(o){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(o)}[vt](){return this}pipe(...o){return ht(o)(this)}toPromise(o){return new(o=wn(o))((t,i)=>{let r;this.subscribe(a=>r=a,a=>i(a),()=>t(r))})}}return e.create=n=>new e(n),e})();function wn(e){var n;return null!==(n=null!=e?e:yn.Promise)&&void 0!==n?n:Promise}const so=Hi(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Tt=(()=>{class e extends Rt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(o){const t=new $t(this,this);return t.operator=o,t}_throwIfClosed(){if(this.closed)throw new so}next(o){ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(o)}})}error(o){ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=o;const{observers:t}=this;for(;t.length;)t.shift().error(o)}})}complete(){ke(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:o}=this;for(;o.length;)o.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var o;return(null===(o=this.observers)||void 0===o?void 0:o.length)>0}_trySubscribe(o){return this._throwIfClosed(),super._trySubscribe(o)}_subscribe(o){return this._throwIfClosed(),this._checkFinalizedStatuses(o),this._innerSubscribe(o)}_innerSubscribe(o){const{hasError:t,isStopped:i,observers:r}=this;return t||i?Dt:(this.currentObservers=null,r.push(o),new zt(()=>{this.currentObservers=null,ii(r,o)}))}_checkFinalizedStatuses(o){const{hasError:t,thrownError:i,isStopped:r}=this;t?o.error(i):r&&o.complete()}asObservable(){const o=new Rt;return o.source=this,o}}return e.create=(n,o)=>new $t(n,o),e})();class $t extends Tt{constructor(n,o){super(),this.destination=n,this.source=o}next(n){var o,t;null===(t=null===(o=this.destination)||void 0===o?void 0:o.next)||void 0===t||t.call(o,n)}error(n){var o,t;null===(t=null===(o=this.destination)||void 0===o?void 0:o.error)||void 0===t||t.call(o,n)}complete(){var n,o;null===(o=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===o||o.call(n)}_subscribe(n){var o,t;return null!==(t=null===(o=this.source)||void 0===o?void 0:o.subscribe(n))&&void 0!==t?t:Dt}}class pn extends Tt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const o=super._subscribe(n);return!o.closed&&n.next(this._value),o}getValue(){const{hasError:n,thrownError:o,_value:t}=this;if(n)throw o;return this._throwIfClosed(),t}next(n){super.next(this._value=n)}}function vo(e){return bn(null==e?void 0:e.lift)}function Qn(e){return n=>{if(vo(n))return n.lift(function(o){try{return e(o,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}function Jn(e,n,o,t,i){return new kn(e,n,o,t,i)}class kn extends I{constructor(n,o,t,i,r,a){super(n),this.onFinalize=r,this.shouldUnsubscribe=a,this._next=o?function(s){try{o(s)}catch(d){n.error(d)}}:super._next,this._error=i?function(s){try{i(s)}catch(d){n.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=t?function(){try{t()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:o}=this;super.unsubscribe(),!o&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Ot(e,n){return Qn((o,t)=>{let i=0;o.subscribe(Jn(t,r=>{t.next(e.call(n,r,i++))}))})}const jn="https://g.co/ng/security#xss";class Ve extends Error{constructor(n,o){super(function fn(e,n){const o="NG0".concat(Math.abs(e));return"".concat(o).concat(n?": "+n:"")}(n,o)),this.code=n}}function $e(e){return{toString:e}.toString()}const In="__parameters__";function cr(e,n,o){return $e(()=>{const t=function hn(e){return function(...o){if(e){const t=e(...o);for(const i in t)this[i]=t[i]}}}(n);function i(...r){if(this instanceof i)return t.apply(this,r),this;const a=new i(...r);return s.annotation=a,s;function s(d,u,f){const v=d.hasOwnProperty(In)?d[In]:Object.defineProperty(d,In,{value:[]})[In];for(;v.length<=f;)v.push(null);return(v[f]=v[f]||[]).push(a),d}}return o&&(i.prototype=Object.create(o.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const go=globalThis;function dt(e){for(let n in e)if(e[n]===dt)return n;throw Error("Could not find renamed property on target object.")}function sn(e,n){for(const o in n)n.hasOwnProperty(o)&&!e.hasOwnProperty(o)&&(e[o]=n[o])}function Ze(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ze).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);const n=e.toString();if(null==n)return""+n;const o=n.indexOf("\n");return-1===o?n:n.substring(0,o)}function Bt(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const Un=dt({__forward_ref__:dt});function qt(e){return e.__forward_ref__=qt,e.toString=function(){return Ze(this())},e}function Qt(e){return si(e)?e():e}function si(e){return"function"==typeof e&&e.hasOwnProperty(Un)&&e.__forward_ref__===qt}function Dn(e,n,o,t){throw new Error("ASSERTION ERROR: ".concat(e)+(null==t?"":" [Expected=> ".concat(o," ").concat(t," ").concat(n," <=Actual]")))}function lt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Cn(e){return{providers:e.providers||[],imports:e.imports||[]}}function sa(e){return Wp(e,jc)||Wp(e,Uc)}function Wp(e,n){return e.hasOwnProperty(n)?e[n]:null}function ic(e){return e&&(e.hasOwnProperty(Gp)||e.hasOwnProperty(qp))?e[Gp]:null}const jc=dt({\u0275prov:dt}),Gp=dt({\u0275inj:dt}),Uc=dt({ngInjectableDef:dt}),qp=dt({ngInjectorDef:dt});class Gt{constructor(n,o){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof o?this.__NG_ELEMENT_ID__=o:void 0!==o&&(this.\u0275prov=lt({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return"InjectionToken ".concat(this._desc)}}function zd(e){return e&&!!e.\u0275providers}const sc=dt({\u0275cmp:dt}),Ma=dt({\u0275dir:dt}),Gc=dt({\u0275pipe:dt}),Ea=dt({\u0275mod:dt}),or=dt({\u0275fac:dt}),yl=dt({__NG_ELEMENT_ID__:dt}),Ml=dt({__NG_ENV_ID__:dt});function ho(e){return"string"==typeof e?e:null==e?"":String(e)}function qc(e,n){throw new Ve(-201,!1)}var mn=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(mn||{});let Kp;function Zp(){return Kp}function Gi(e){const n=Kp;return Kp=e,n}function wl(e,n,o){const t=sa(e);return t&&"root"==t.providedIn?void 0===t.value?t.value=t.factory():t.value:o&mn.Optional?null:void 0!==n?n:void qc()}const Cs={},Kc="__NG_DI_FLAG__",Ro="ngTempTokenPath",M=/\n/gm,V="__source";let Me;function ct(e){const n=Me;return Me=e,n}function Nt(e,n=mn.Default){if(void 0===Me)throw new Ve(-203,!1);return null===Me?wl(e,void 0,n):Me.get(e,n&mn.Optional?null:void 0,n)}function we(e,n=mn.Default){return(Zp()||Nt)(Qt(e),n)}function Qe(e,n=mn.Default){return we(e,eo(n))}function eo(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ri(e){const n=[];for(let o=0;o<e.length;o++){const t=Qt(e[o]);if(Array.isArray(t)){if(0===t.length)throw new Ve(900,!1);let i,r=mn.Default;for(let a=0;a<t.length;a++){const s=t[a],d=Ja(s);"number"==typeof d?-1===d?i=s.token:r|=d:i=s}n.push(we(i,r))}else n.push(we(t))}return n}function Di(e,n){return e[Kc]=n,e.prototype[Kc]=n,e}function Ja(e){return e[Kc]}const Au=Di(cr("Optional"),8),Xa=Di(cr("SkipSelf"),4);function uc(e,n){return e.hasOwnProperty(or)?e[or]:null}function Fu(e,n){e.forEach(o=>Array.isArray(o)?Fu(o,n):n(o))}function Um(e,n,o){n>=e.length?e.push(o):e.splice(n,0,o)}function Lu(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function es(e,n,o){let t=Ud(e,n);return t>=0?e[1|t]=o:(t=~t,function Ym(e,n,o,t){let i=e.length;if(i==n)e.push(o,t);else if(1===i)e.push(t,e[0]),e[0]=o;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=o,e[n+1]=t}}(e,t,n,o)),t}function Wm(e,n){const o=Ud(e,n);if(o>=0)return e[1|o]}function Ud(e,n){return function Ru(e,n,o){let t=0,i=e.length>>o;for(;i!==t;){const r=t+(i-t>>1),a=e[r<<o];if(n===a)return r<<o;a>n?i=r:t=r+1}return~(i<<o)}(e,n,1)}const zs={},Jo=[],gc=new Gt(""),Jp=new Gt("",-1),Eh=new Gt("");class Yd{get(n,o=Cs){if(o===Cs){const t=new Error("NullInjectorError: No provider for ".concat(Ze(n),"!"));throw t.name="NullInjectorError",t}return o}}var Aa=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Aa||{}),ts=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ts||{}),rt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(rt||{});function Gm(e,n,o){let t=e.length;for(;;){const i=e.indexOf(n,o);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const r=n.length;if(i+r===t||e.charCodeAt(i+r)<=32)return i}o=i+1}}function Ih(e,n,o){let t=0;for(;t<o.length;){const i=o[t];if("number"==typeof i){if(0!==i)break;t++;const r=o[t++],a=o[t++],s=o[t++];e.setAttribute(n,a,s,r)}else{const r=i,a=o[++t];Ah(r)?e.setProperty(n,r,a):e.setAttribute(n,r,a),t++}}return t}function qm(e){return 3===e||4===e||6===e}function Ah(e){return 64===e.charCodeAt(0)}function Xp(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let o=-1;for(let t=0;t<n.length;t++){const i=n[t];"number"==typeof i?o=i:0===o||Kv(e,o,i,null,-1===o||2===o?n[++t]:null)}}return e}function Kv(e,n,o,t,i){let r=0,a=e.length;if(-1===n)a=-1;else for(;r<e.length;){const s=e[r++];if("number"==typeof s){if(s===n){a=-1;break}if(s>n){a=r-1;break}}}for(;r<e.length;){const s=e[r];if("number"==typeof s)break;if(s===o){if(null===t)return void(null!==i&&(e[r+1]=i));if(t===e[r+1])return void(e[r+2]=i)}r++,null!==t&&r++,null!==i&&r++}-1!==a&&(e.splice(a,0,n),r=a+1),e.splice(r++,0,o),null!==t&&e.splice(r++,0,t),null!==i&&e.splice(r++,0,i)}const Zv="ng-template";function Wd(e,n,o,t){let i=0;if(t){for(;i<n.length&&"string"==typeof n[i];i+=2)if("class"===n[i]&&-1!==Gm(n[i+1].toLowerCase(),o,0))return!0}else if(Zc(e))return!1;if(i=n.indexOf(1,i),i>-1){let r;for(;++i<n.length&&"string"==typeof(r=n[i]);)if(r.toLowerCase()===o)return!0}return!1}function Zc(e){return 4===e.type&&e.value!==Zv}function Nu(e,n,o){return n===(4!==e.type||o?e.value:Zv)}function Km(e,n,o){let t=4;const i=e.attrs,r=null!==i?function qd(e){for(let n=0;n<e.length;n++)if(qm(e[n]))return n;return e.length}(i):0;let a=!1;for(let s=0;s<n.length;s++){const d=n[s];if("number"!=typeof d){if(!a)if(4&t){if(t=2|1&t,""!==d&&!Nu(e,d,o)||""===d&&1===n.length){if(ns(t))return!1;a=!0}}else if(8&t){if(null===i||!Wd(e,i,d,o)){if(ns(t))return!1;a=!0}}else{const u=n[++s],f=Qv(d,i,Zc(e),o);if(-1===f){if(ns(t))return!1;a=!0;continue}if(""!==u){let v;if(v=f>r?"":i[f+1].toLowerCase(),2&t&&u!==v){if(ns(t))return!1;a=!0}}}}else{if(!a&&!ns(t)&&!ns(d))return!1;if(a&&ns(d))continue;a=!1,t=d|1&t}}return ns(t)||a}function ns(e){return!(1&e)}function Qv(e,n,o,t){if(null===n)return-1;let i=0;if(t||!o){let r=!1;for(;i<n.length;){const a=n[i];if(a===e)return i;if(3===a||6===a)r=!0;else{if(1===a||2===a){let s=n[++i];for(;"string"==typeof s;)s=n[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=r?1:2}return-1}return function Pa(e,n){let o=e.indexOf(4);if(o>-1)for(o++;o<e.length;){const t=e[o];if("number"==typeof t)return-1;if(t===n)return o;o++}return-1}(n,e)}function Fh(e,n,o=!1){for(let t=0;t<n.length;t++)if(Km(e,n[t],o))return!0;return!1}function Qc(e,n){e:for(let o=0;o<n.length;o++){const t=n[o];if(e.length===t.length){for(let i=0;i<e.length;i++)if(e[i]!==t[i])continue e;return!0}}return!1}function hc(e,n){return e?":not("+n.trim()+")":n}function Lh(e){let n=e[0],o=1,t=2,i="",r=!1;for(;o<e.length;){let a=e[o];if("string"==typeof a)if(2&t){const s=e[++o];i+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&t?i+="."+a:4&t&&(i+=" "+a);else""!==i&&!ns(a)&&(n+=hc(r,i),i=""),t=a,r=r||!ns(t);o++}return""!==i&&(n+=hc(r,i)),n}function mt(e){return $e(()=>{var n;const o=eg(e),t={...o,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Aa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:o.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:null!==(n=e.signals)&&void 0!==n&&n,data:e.data||{},encapsulation:e.encapsulation||ts.Emulated,styles:e.styles||Jo,_:null,schemas:e.schemas||null,tView:null,id:""};tC(t);const i=e.dependencies;return t.directiveDefs=Rh(i,!1),t.pipeDefs=Rh(i,!0),t.id=function Qm(e){let n=0;const o=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,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].join("|");for(const i of o)n=Math.imul(31,n)+i.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function Xv(e){return To(e)||dr(e)}function Zm(e){return null!==e}function On(e){return $e(()=>({type:e.type,bootstrap:e.bootstrap||Jo,declarations:e.declarations||Jo,imports:e.imports||Jo,exports:e.exports||Jo,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function eC(e,n){if(null==e)return zs;const o={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let a,s,d=rt.None;var t;Array.isArray(r)?(d=r[0],a=r[1],s=null!==(t=r[2])&&void 0!==t?t:a):(a=r,s=r),n?(o[a]=d!==rt.None?[i,d]:i,n[a]=s):o[a]=i}return o}function ln(e){return $e(()=>{const n=eg(e);return tC(n),n})}function So(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function To(e){return e[sc]||null}function dr(e){return e[Ma]||null}function ir(e){return e[Gc]||null}function Zr(e,n){const o=e[Ea]||null;if(!o&&!0===n)throw new Error("Type ".concat(Ze(e)," does not have '\u0275mod' property."));return o}function eg(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||zs,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Jo,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:eC(e.inputs,n),outputs:eC(e.outputs),debugInfo:null}}function tC(e){var n;null===(n=e.features)||void 0===n||n.forEach(o=>o(e))}function Rh(e,n){if(!e)return null;const o=n?ir:Xv;return()=>("function"==typeof e?e():e).map(t=>o(t)).filter(Zm)}function Jc(e){return{\u0275providers:e}}function Bu(...e){return{\u0275providers:Kd(0,e),\u0275fromNgModule:!0}}function Kd(e,...n){const o=[],t=new Set;let i;const r=a=>{o.push(a)};return Fu(n,a=>{const s=a;Zd(s,r,[],t)&&(i||(i=[]),i.push(s))}),void 0!==i&&nC(i,r),o}function nC(e,n){for(let o=0;o<e.length;o++){const{ngModule:t,providers:i}=e[o];Qd(i,r=>{n(r,t)})}}function Zd(e,n,o,t){if(!(e=Qt(e)))return!1;let i=null,r=ic(e);const a=!r&&To(e);if(r||a){if(a&&!a.standalone)return!1;i=e}else{const d=e.ngModule;if(r=ic(d),!r)return!1;i=d}const s=t.has(i);if(a){if(s)return!1;if(t.add(i),a.dependencies){const d="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const u of d)Zd(u,n,o,t)}}else{if(!r)return!1;{if(null!=r.imports&&!s){let u;t.add(i);try{Fu(r.imports,f=>{Zd(f,n,o,t)&&(u||(u=[]),u.push(f))})}finally{}void 0!==u&&nC(u,n)}if(!s){const u=uc(i)||(()=>new i);n({provide:i,useFactory:u,deps:Jo},i),n({provide:Eh,useValue:i,multi:!0},i),n({provide:gc,useValue:()=>we(i),multi:!0},i)}const d=r.providers;if(null!=d&&!s){const u=e;Qd(d,f=>{n(f,u)})}}}return i!==e&&void 0!==e.providers}function Qd(e,n){for(let o of e)zd(o)&&(o=o.\u0275providers),Array.isArray(o)?Qd(o,n):n(o)}const oC=dt({provide:String,useValue:dt});function fc(e){return null!==e&&"object"==typeof e&&oC in e}function Us(e){return"function"==typeof e}const Nh=new Gt(""),tg={},iC={};let Jm;function kl(){return void 0===Jm&&(Jm=new Yd),Jm}class ur{}class Vu extends ur{get destroyed(){return this._destroyed}constructor(n,o,t,i){super(),this.parent=o,this.source=t,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,pr(n,a=>this.processProvider(a)),this.records.set(Jp,zu(void 0,this)),i.has("environment")&&this.records.set(ur,zu(void 0,this));const r=this.records.get(Nh);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Eh,Jo,mn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=$(null);try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of o)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),$(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const o=ct(this),t=Gi(void 0);try{return n()}finally{ct(o),Gi(t)}}get(n,o=Cs,t=mn.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Ml))return n[Ml](this);t=eo(t);const r=ct(this),a=Gi(void 0);try{if(!(t&mn.SkipSelf)){let d=this.records.get(n);if(void 0===d){const u=function la(e){return"function"==typeof e||"object"==typeof e&&e instanceof Gt}(n)&&sa(n);d=u&&this.injectableDefInScope(u)?zu(Xm(n),tg):null,this.records.set(n,d)}if(null!=d)return this.hydrate(n,d)}return(t&mn.Self?kl():this.parent).get(n,o=t&mn.Optional&&o===Cs?null:o)}catch(s){if("NullInjectorError"===s.name){if((s[Ro]=s[Ro]||[]).unshift(Ze(n)),r)throw s;return function Ia(e,n,o,t){const i=e[Ro];throw n[V]&&i.unshift(n[V]),e.message=function dc(e,n,o,t=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Ze(n);if(Array.isArray(n))i=n.map(Ze).join(" -> ");else if("object"==typeof n){let r=[];for(let a in n)if(n.hasOwnProperty(a)){let s=n[a];r.push(a+":"+("string"==typeof s?JSON.stringify(s):Ze(s)))}i="{".concat(r.join(", "),"}")}return"".concat(o).concat(t?"("+t+")":"","[").concat(i,"]: ").concat(e.replace(M,"\n "))}("\n"+e.message,i,o,t),e.ngTokenPath=i,e[Ro]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{Gi(a),ct(r)}}resolveInjectorInitializers(){const n=$(null),o=ct(this),t=Gi(void 0);try{const r=this.get(gc,Jo,mn.Self);for(const a of r)a()}finally{ct(o),Gi(t),$(n)}}toString(){const n=[],o=this.records;for(const t of o.keys())n.push(Ze(t));return"R3Injector[".concat(n.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new Ve(205,!1)}processProvider(n){let o=Us(n=Qt(n))?n:Qt(n&&n.provide);const t=function D1(e){return fc(e)?zu(void 0,e.useValue):zu(rC(e),tg)}(n);if(!Us(n)&&!0===n.multi){let i=this.records.get(o);i||(i=zu(void 0,tg,!0),i.factory=()=>ri(i.multi),this.records.set(o,i)),o=n,i.multi.push(n)}this.records.set(o,t)}hydrate(n,o){const t=$(null);try{return o.value===tg&&(o.value=iC,o.value=o.factory()),"object"==typeof o.value&&o.value&&function Dr(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{$(t)}}injectableDefInScope(n){if(!n.providedIn)return!1;const o=Qt(n.providedIn);return"string"==typeof o?"any"===o||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(n){const o=this._onDestroyHooks.indexOf(n);-1!==o&&this._onDestroyHooks.splice(o,1)}}function Xm(e){const n=sa(e),o=null!==n?n.factory:uc(e);if(null!==o)return o;if(e instanceof Gt)throw new Ve(204,!1);if(e instanceof Function)return function k1(e){if(e.length>0)throw new Ve(204,!1);const o=function Th(e){return e&&(e[jc]||e[Uc])||null}(e);return null!==o?()=>o.factory(e):()=>new e}(e);throw new Ve(204,!1)}function rC(e,n,o){let t;if(Us(e)){const i=Qt(e);return uc(i)||Xm(i)}if(fc(e))t=()=>Qt(e.useValue);else if(function Xc(e){return!(!e||!e.useFactory)}(e))t=()=>e.useFactory(...ri(e.deps||[]));else if(function $u(e){return!(!e||!e.useExisting)}(e))t=()=>we(Qt(e.useExisting));else{const i=Qt(e&&(e.useClass||e.provide));if(!function Fa(e){return!!e.deps}(e))return uc(i)||Xm(i);t=()=>new i(...ri(e.deps))}return t}function zu(e,n,o=!1){return{factory:e,value:n,multi:o?[]:void 0}}function pr(e,n){for(const o of e)Array.isArray(o)?pr(o,n):o&&zd(o)?pr(o.\u0275providers,n):n(o)}function La(e,n){e instanceof Vu&&e.assertNotDestroyed();const t=ct(e),i=Gi(void 0);try{return n()}finally{ct(t),Gi(i)}}function aC(){return void 0!==Zp()||null!=function tt(){return Me}()}function Jd(e){if(!aC())throw new Ve(-203,!1)}const Uu=Function;const Ti=0,Vt=1,Vn=2,hr=3,ys=4,yi=5,yo=6,ca=7,ei=8,Si=9,Ms=10,co=11,Yu=12,dC=13,ed=14,Ei=15,Wu=16,td=17,Qr=18,Gu=19,i_=20,nd=21,od=22,mc=23,mo=25,r_=1,Dl=7,_c=9,rr=10;var a_=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(a_||{});function da(e){return Array.isArray(e)&&"object"==typeof e[r_]}function Jr(e){return Array.isArray(e)&&!0===e[r_]}function id(e){return!!(4&e.flags)}function vc(e){return e.componentOffset>-1}function eu(e){return!(1&~e.flags)}function Os(e){return!!e.template}function og(e){return!!(512&e[Vn])}class Ku{constructor(n,o,t){this.previousValue=n,this.currentValue=o,this.firstChange=t}isFirstChange(){return this.firstChange}}function Zu(e,n,o,t){null!==n?n.applyValueToInputSignal(n,t):e[o]=t}function Uo(){return c_}function c_(e){return e.type.prototype.ngOnChanges&&(e.setInput=gC),z1}function z1(){const e=nu(this),n=null==e?void 0:e.current;if(n){const o=e.previous;if(o===zs)e.previous=n;else for(let t in n)o[t]=n[t];e.current=null,this.ngOnChanges(n)}}function gC(e,n,o,t,i){const r=this.declaredInputs[t],a=nu(e)||function ag(e,n){return e[Cc]=n}(e,{previous:zs,current:null}),s=a.current||(a.current={}),d=a.previous,u=d[r];s[r]=new Ku(u&&u.currentValue,o,d===zs),Zu(e,n,i,o)}Uo.ngInherit=!0;const Cc="__ngSimpleChanges__";function nu(e){return e[Cc]||null}const Tl=function(e,n,o){};let ua=!1;function Mi(e){for(;Array.isArray(e);)e=e[Ti];return e}function Qu(e,n){return Mi(n[e])}function pa(e,n){return Mi(n[e.index])}function sg(e,n){return e.data[n]}function Ju(e,n){return e[n]}function os(e,n){const o=n[e];return da(o)?o:o[Ti]}function ou(e){return!(128&~e[Vn])}function Ra(e,n){return null==n?null:e[n]}function Sl(e){e[td]=0}function j1(e){1024&e[Vn]||(e[Vn]|=1024,ou(e)&&Xu(e))}function ad(e){var n;return!!(9216&e[Vn]||null!==(n=e[mc])&&void 0!==n&&n.dirty)}function Wh(e){var n;if(null===(n=e[Ms].changeDetectionScheduler)||void 0===n||n.notify(1),ad(e))Xu(e);else if(64&e[Vn])if(function _C(){return ua}())e[Vn]|=1024,Xu(e);else{var o;null===(o=e[Ms].changeDetectionScheduler)||void 0===o||o.notify()}}function Xu(e){var n;null===(n=e[Ms].changeDetectionScheduler)||void 0===n||n.notify();let o=Ps(e);for(;null!==o&&!(8192&o[Vn])&&(o[Vn]|=8192,ou(o));)o=Ps(o)}function lg(e,n){if(!(256&~e[Vn]))throw new Ve(911,!1);null===e[nd]&&(e[nd]=[]),e[nd].push(n)}function ep(e,n){if(null===e[nd])return;const o=e[nd].indexOf(n);-1!==o&&e[nd].splice(o,1)}function Ps(e){const n=e[hr];return Jr(n)?n[hr]:n}const uo={lFrame:TC(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function MC(){return uo.bindingsEnabled}function iu(){return null!==uo.skipHydrationRootTNode}function Pt(){return uo.lFrame.lView}function Vo(){return uo.lFrame.tView}function te(e){return uo.lFrame.contextLView=e,e[ei]}function ne(e){return uo.lFrame.contextLView=null,e}function fi(){let e=p_();for(;null!==e&&64===e.type;)e=e.parent;return e}function p_(){return uo.lFrame.currentTNode}function El(e,n){const o=uo.lFrame;o.currentTNode=e,o.isParent=n}function ug(){return uo.lFrame.isParent}function ru(){uo.lFrame.isParent=!1}function xa(){const e=uo.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ys(){return uo.lFrame.bindingIndex++}function Il(e){const n=uo.lFrame,o=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,o}function wC(e,n){const o=uo.lFrame;o.bindingIndex=o.bindingRootIndex=e,Kh(n)}function Kh(e){uo.lFrame.currentDirectiveIndex=e}function f_(e){const n=uo.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Zh(){return uo.lFrame.currentQueryIndex}function yc(e){uo.lFrame.currentQueryIndex=e}function kC(e){const n=e[Vt];return 2===n.type?n.declTNode:1===n.type?e[yi]:null}function gg(e,n,o){if(o&mn.SkipSelf){let i=n,r=e;for(;!(i=i.parent,null!==i||o&mn.Host||(i=kC(r),null===i||(r=r[ed],10&i.type))););if(null===i)return!1;n=i,e=r}const t=uo.lFrame=DC();return t.currentTNode=n,t.lView=e,!0}function m_(e){const n=DC(),o=e[Vt];uo.lFrame=n,n.currentTNode=o.firstChild,n.lView=e,n.tView=o,n.contextLView=e,n.bindingIndex=o.bindingStartIndex,n.inI18n=!1}function DC(){const e=uo.lFrame,n=null===e?null:e.child;return null===n?TC(e):n}function TC(e){const n={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 null!==e&&(e.child=n),n}function Li(){const e=uo.lFrame;return uo.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const SC=Li;function hg(){const e=Li();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 Ri(){return uo.lFrame.selectedIndex}function Al(e){uo.lFrame.selectedIndex=e}function Oi(){const e=uo.lFrame;return sg(e.tView,e.selectedIndex)}function zr(){uo.lFrame.currentNamespace="svg"}let AC=!0;function au(){return AC}function Ws(e){AC=e}function mg(e,n){for(let u=n.directiveStart,f=n.directiveEnd;u<f;u++){const O=e.data[u].type.prototype,{ngAfterContentInit:S,ngAfterContentChecked:N,ngAfterViewInit:K,ngAfterViewChecked:oe,ngOnDestroy:le}=O;var o,t,i,r,a,s,d;S&&(null!==(o=e.contentHooks)&&void 0!==o?o:e.contentHooks=[]).push(-u,S),N&&((null!==(t=e.contentHooks)&&void 0!==t?t:e.contentHooks=[]).push(u,N),(null!==(i=e.contentCheckHooks)&&void 0!==i?i:e.contentCheckHooks=[]).push(u,N)),K&&(null!==(r=e.viewHooks)&&void 0!==r?r:e.viewHooks=[]).push(-u,K),oe&&((null!==(a=e.viewHooks)&&void 0!==a?a:e.viewHooks=[]).push(u,oe),(null!==(s=e.viewCheckHooks)&&void 0!==s?s:e.viewCheckHooks=[]).push(u,oe)),null!=le&&(null!==(d=e.destroyHooks)&&void 0!==d?d:e.destroyHooks=[]).push(u,le)}}function Qh(e,n,o){_g(e,n,3,o)}function Mc(e,n,o,t){(3&e[Vn])===o&&_g(e,n,o,t)}function C_(e,n){let o=e[Vn];(3&o)===n&&(o&=16383,o+=1,e[Vn]=o)}function _g(e,n,o,t){const r=null!=t?t:-1,a=n.length-1;let s=0;for(let d=void 0!==t?65535&e[td]:0;d<a;d++)if("number"==typeof n[d+1]){if(s=n[d],null!=t&&s>=t)break}else n[d]<0&&(e[td]+=65536),(s<r||-1==r)&&(ar(e,o,n,d),e[td]=(4294901760&e[td])+d+2),d++}function FC(e,n){Tl(4,e,n);const o=$(null);try{n.call(e)}finally{$(o),Tl(5,e,n)}}function ar(e,n,o,t){const i=o[t]<0,r=o[t+1],s=e[i?-o[t]:o[t]];i?e[Vn]>>14<e[td]>>16&&(3&e[Vn])===n&&(e[Vn]+=16384,FC(s,r)):FC(s,r)}const np=-1;class vg{constructor(n,o,t){this.factory=n,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=t}}function C(e){return e!==np}function P(e){return 32767&e}function A(e,n){let o=function T(e){return e>>16}(e),t=n;for(;o>0;)t=t[ed],o--;return t}let R=!0;function _e(e){const n=R;return R=e,n}const Ye=255,ze=5;let ut=0;const xt={};function Xt(e,n){const o=tn(e,n);if(-1!==o)return o;const t=n[Vt];t.firstCreatePass&&(e.injectorIndex=n.length,cn(t.data,e),cn(n,null),cn(t.blueprint,null));const i=_n(e,n),r=e.injectorIndex;if(C(i)){const a=P(i),s=A(i,n),d=s[Vt].data;for(let u=0;u<8;u++)n[r+u]=s[a+u]|d[a+u]}return n[r+8]=i,r}function cn(e,n){e.push(0,0,0,0,0,0,0,0,n)}function tn(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function _n(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let o=0,t=null,i=n;for(;null!==i;){if(t=yr(i),null===t)return np;if(o++,i=i[ed],-1!==t.injectorIndex)return t.injectorIndex|o<<16}return np}function Ln(e,n,o){!function Ht(e,n,o){let t;"string"==typeof o?t=o.charCodeAt(0)||0:o.hasOwnProperty(yl)&&(t=o[yl]),null==t&&(t=o[yl]=ut++);const i=t&Ye;n.data[e+(i>>ze)]|=1<<i}(e,n,o)}function xo(e,n,o){if(o&mn.Optional||void 0!==e)return e;qc()}function mi(e,n,o,t){if(o&mn.Optional&&void 0===t&&(t=null),!(o&(mn.Self|mn.Host))){const i=e[Si],r=Gi(void 0);try{return i?i.get(n,t,o&mn.Optional):wl(n,t,o&mn.Optional)}finally{Gi(r)}}return xo(t,0,o)}function br(e,n,o,t=mn.Default,i){if(null!==e){if(2048&n[Vn]&&!(t&mn.Self)){const a=function Fl(e,n,o,t,i){let r=e,a=n;for(;null!==r&&null!==a&&2048&a[Vn]&&!(512&a[Vn]);){const s=zi(r,a,o,t|mn.Self,xt);if(s!==xt)return s;let d=r.parent;if(!d){const u=a[i_];if(u){const f=u.get(o,xt,t);if(f!==xt)return f}d=yr(a),a=a[ed]}r=d}return i}(e,n,o,t,xt);if(a!==xt)return a}const r=zi(e,n,o,t,xt);if(r!==xt)return r}return mi(n,o,t,i)}function zi(e,n,o,t,i){const r=function wa(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(yl)?e[yl]:void 0;return"number"==typeof n?n>=0?n&Ye:ip:n}(o);if("function"==typeof r){if(!gg(n,e,t))return t&mn.Host?xo(i,0,t):mi(n,o,t,i);try{let a;if(a=r(t),null!=a||t&mn.Optional)return a;qc()}finally{SC()}}else if("number"==typeof r){let a=null,s=tn(e,n),d=np,u=t&mn.Host?n[Ei][yi]:null;for((-1===s||t&mn.SkipSelf)&&(d=-1===s?_n(e,n):n[s+8],d!==np&&fr(t,!1)?(a=n[Vt],s=P(d),n=A(d,n)):s=-1);-1!==s;){const f=n[Vt];if(Tr(r,s,f.data)){const v=Na(s,n,o,a,t,u);if(v!==xt)return v}d=n[s+8],d!==np&&fr(t,n[Vt].data[s+8]===u)&&Tr(r,s,n)?(a=f,s=P(d),n=A(d,n)):s=-1}}return i}function Na(e,n,o,t,i,r){const a=n[Vt],s=a.data[e+8],f=jr(s,a,o,null==t?vc(s)&&R:t!=a&&!!(3&s.type),i&mn.Host&&r===s);return null!==f?Ii(n,a,f,s):xt}function jr(e,n,o,t,i){const r=e.providerIndexes,a=n.data,s=1048575&r,d=e.directiveStart,f=r>>20,O=i?s+f:e.directiveEnd;for(let S=t?s:s+f;S<O;S++){const N=a[S];if(S<d&&o===N||S>=d&&N.type===o)return S}if(i){const S=a[d];if(S&&Os(S)&&S.type===o)return d}return null}function Ii(e,n,o,t){let i=e[o];const r=n.data;if(function q1(e){return e instanceof vg}(i)){const a=i;a.resolving&&function Vs(e,n){throw n&&". Dependency path: ".concat(n.join(" > ")," > ").concat(e),new Ve(-200,e)}(function jo(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ho(e)}(r[o]));const s=_e(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?Gi(a.injectImpl):null;gg(e,t,mn.Default);try{i=e[o]=a.factory(void 0,r,e,t),n.firstCreatePass&&o>=t.directiveStart&&function ui(e,n,o){const{ngOnChanges:t,ngOnInit:i,ngDoCheck:r}=n.type.prototype;if(t){var a,s;const v=c_(n);(null!==(a=o.preOrderHooks)&&void 0!==a?a:o.preOrderHooks=[]).push(e,v),(null!==(s=o.preOrderCheckHooks)&&void 0!==s?s:o.preOrderCheckHooks=[]).push(e,v)}var d,u,f;i&&(null!==(d=o.preOrderHooks)&&void 0!==d?d:o.preOrderHooks=[]).push(0-e,i),r&&((null!==(u=o.preOrderHooks)&&void 0!==u?u:o.preOrderHooks=[]).push(e,r),(null!==(f=o.preOrderCheckHooks)&&void 0!==f?f:o.preOrderCheckHooks=[]).push(e,r))}(o,r[o],n)}finally{null!==u&&Gi(u),_e(s),a.resolving=!1,SC()}}return i}function Tr(e,n,o){return!!(o[n+(e>>ze)]&1<<e)}function fr(e,n){return!(e&mn.Self||e&mn.Host&&n)}class ti{constructor(n,o){this._tNode=n,this._lView=o}get(n,o,t){return br(this._tNode,this._lView,n,eo(t),o)}}function ip(){return new ti(fi(),Pt())}function Pn(e){return $e(()=>{const n=e.prototype.constructor,o=n[or]||Sr(n),t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;){const r=i[or]||Sr(i);if(r&&r!==o)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function Sr(e){return si(e)?()=>{const n=Sr(Qt(e));return n&&n()}:uc(e)}function yr(e){const n=e[Vt],o=n.type;return 2===o?n.declTNode:1===o?e[yi]:null}function QD(e,n=null,o=null,t){const i=JD(e,n,o,t);return i.resolveInjectorInitializers(),i}function JD(e,n=null,o=null,t,i=new Set){const r=[o||Jo,Bu(e)];return t=t||("object"==typeof e?void 0:Ze(e)),new Vu(r,n||kl(),t||null,i)}let ji=(()=>{var e;class n{static create(t,i){if(Array.isArray(t))return QD({name:""},i,t,"");{var r;const a=null!==(r=t.name)&&void 0!==r?r:"";return QD({name:a},t.parent,t.providers,a)}}}return(e=n).THROW_IF_NOT_FOUND=Cs,e.NULL=new Yd,e.\u0275prov=lt({token:e,providedIn:"any",factory:()=>we(Jp)}),e.__NG_ELEMENT_ID__=-1,n})();function K1(e){return e.ngOriginalError}class ld{constructor(){this._console=console}handleError(n){const o=this._findOriginalError(n);this._console.error("ERROR",n),o&&this._console.error("ORIGINAL ERROR",o)}_findOriginalError(n){let o=n&&K1(n);for(;o&&K1(o);)o=K1(o);return o||null}}const eT=new Gt("",{providedIn:"root",factory:()=>Qe(ld).handleError.bind(void 0)});let Jh=(()=>{var e;class n{}return(e=n).__NG_ELEMENT_ID__=RB,e.__NG_ENV_ID__=o=>o,n})();class LB extends Jh{constructor(n){super(),this._lView=n}onDestroy(n){return lg(this._lView,n),()=>ep(this._lView,n)}}function RB(){return new LB(Pt())}function NB(){return Xh(fi(),Pt())}function Xh(e,n){return new ao(pa(e,n))}let ao=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=NB,n})();function nT(e){return e instanceof ao?e.nativeElement:e}function Z1(e){return n=>{setTimeout(e,void 0,n)}}const ft=class BB extends Tt{constructor(n=!1){var o;super(),this.destroyRef=void 0,this.__isAsync=n,aC()&&(this.destroyRef=null!==(o=Qe(Jh,{optional:!0}))&&void 0!==o?o:void 0)}emit(n){const o=$(null);try{super.next(n)}finally{$(o)}}subscribe(n,o,t){let i=n,r=o||(()=>null),a=t;if(n&&"object"==typeof n){var s,d,u;const v=n;i=null===(s=v.next)||void 0===s?void 0:s.bind(v),r=null===(d=v.error)||void 0===d?void 0:d.bind(v),a=null===(u=v.complete)||void 0===u?void 0:u.bind(v)}this.__isAsync&&(r=Z1(r),i&&(i=Z1(i)),a&&(a=Z1(a)));const f=super.subscribe({next:i,error:r,complete:a});return n instanceof zt&&n.add(f),f}};function $B(){return this._results[Symbol.iterator]()}class Q1{get changes(){var n;return null!==(n=this._changes)&&void 0!==n?n:this._changes=new ft}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const o=Q1.prototype;o[Symbol.iterator]||(o[Symbol.iterator]=$B)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,o){return this._results.reduce(n,o)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,o){this.dirty=!1;const t=function Oa(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function y1(e,n,o){if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++){let i=e[t],r=n[t];if(o&&(i=o(i),r=o(r)),r!==i)return!1}return!0}(this._results,t,o))&&(this._results=t,this.length=t.length,this.last=t[this.length-1],this.first=t[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){var n;this.dirty=!0,null===(n=this._onDirty)||void 0===n||n.call(this)}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function LC(e){return!(128&~e.flags)}const J1=new Map;let VB=0;const eO="__ngContext__";function Ba(e,n){da(n)?(e[eO]=n[Gu],function jB(e){J1.set(e[Gu],e)}(n)):e[eO]=n}function pT(e){return hT(e[Yu])}function gT(e){return hT(e[ys])}function hT(e){for(;null!==e&&!Jr(e);)e=e[ys];return e}let tO;function rp(){if(void 0!==tO)return tO;if(typeof document<"u")return document;throw new Ve(210,!1)}const BC=new Gt("",{providedIn:"root",factory:()=>s$}),s$="ng",MT=new Gt(""),ka=new Gt("",{providedIn:"platform",factory:()=>"unknown"}),nO=new Gt(""),oO=new Gt("",{providedIn:"root",factory:()=>{var e;return(null===(e=rp().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let OT=()=>null;function lO(e,n,o=!1){return OT(e,n,o)}const DT=new Gt("",{providedIn:"root",factory:()=>!1});let WC,GC;function rf(e){var n;return(null===(n=function pO(){if(void 0===WC&&(WC=null,go.trustedTypes))try{WC=go.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return WC}())||void 0===n?void 0:n.createHTML(e))||e}function gO(){if(void 0===GC&&(GC=null,go.trustedTypes))try{GC=go.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return GC}function ST(e){var n;return(null===(n=gO())||void 0===n?void 0:n.createHTML(e))||e}function IT(e){var n;return(null===(n=gO())||void 0===n?void 0:n.createScriptURL(e))||e}class Cg{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(jn,")")}}class y$ extends Cg{getTypeName(){return"HTML"}}class M$ extends Cg{getTypeName(){return"Style"}}class O$ extends Cg{getTypeName(){return"Script"}}class P$ extends Cg{getTypeName(){return"URL"}}class x$ extends Cg{getTypeName(){return"ResourceURL"}}function Gs(e){return e instanceof Cg?e.changingThisBreaksApplicationSecurity:e}function cd(e,n){const o=function w$(e){return e instanceof Cg&&e.getTypeName()||null}(e);if(null!=o&&o!==n){if("ResourceURL"===o&&"URL"===n)return!0;throw new Error("Required a safe ".concat(n,", got a ").concat(o," (see ").concat(jn,")"))}return o===n}class I${constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const o=(new window.DOMParser).parseFromString(rf(n),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(n):(o.removeChild(o.firstChild),o)}catch{return null}}}class A${constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const o=this.inertDocument.createElement("template");return o.innerHTML=rf(n),o}}const L$=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qC(e){return(e=String(e)).match(L$)?e:"unsafe:"+e}function cu(e){const n={};for(const o of e.split(","))n[o]=!0;return n}function D_(...e){const n={};for(const o of e)for(const t in o)o.hasOwnProperty(t)&&(n[t]=!0);return n}const FT=cu("area,br,col,hr,img,wbr"),LT=cu("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),RT=cu("rp,rt"),hO=D_(FT,D_(LT,cu("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")),D_(RT,cu("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")),D_(RT,LT)),fO=cu("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),NT=D_(fO,cu("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"),cu("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,ar