@rero/rero-ils-ui
Version:
User interface for RERO integrated library system (RERO ILS).
1 lines • 1.88 MB
JavaScript
(self.webpackChunksearch_bar=self.webpackChunksearch_bar||[]).push([[792],{7910:(Ot,at,we)=>{"use strict";function K(e,n,o,t,i,r,a){try{var l=e[r](a),d=l.value}catch(u){return void o(u)}l.done?n(d):Promise.resolve(d).then(t,i)}function A(e){return function(){var n=this,o=arguments;return new Promise(function(t,i){var r=e.apply(n,o);function a(d){K(r,t,i,a,l,"next",d)}function l(d){K(r,t,i,a,l,"throw",d)}a(void 0)})}}function ne(e,n){return Object.is(e,n)}let oe=null,Z=!1,j=1;const re=Symbol("SIGNAL");function N(e){const n=oe;return oe=e,n}const ce={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(Z)throw new Error("");if(null===oe)return;oe.consumerOnSignalRead(e);const n=oe.nextProducerIndex++;ze(oe),n<oe.producerNode.length&&oe.producerNode[n]!==e&&We(oe)&&Qe(oe.producerNode[n],oe.producerIndexOfThis[n]),oe.producerNode[n]!==e&&(oe.producerNode[n]=e,oe.producerIndexOfThis[n]=We(oe)?Pe(e,oe,n):0),oe.producerLastReadVersion[n]=e.version}function ge(e){if((!We(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==j)){if(!e.producerMustRecompute(e)&&!de(e))return e.dirty=!1,void(e.lastCleanEpoch=j);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=j}}function Te(e){if(void 0===e.liveConsumerNode)return;const n=Z;Z=!0;try{for(const o of e.liveConsumerNode)o.dirty||U(o)}finally{Z=n}}function le(){var e;return!1!==(null===(e=oe)||void 0===e?void 0:e.consumerAllowSignalWrites)}function U(e){var n;e.dirty=!0,Te(e),null===(n=e.consumerMarkedDirty)||void 0===n||n.call(e,e)}function W(e){return e&&(e.nextProducerIndex=0),N(e)}function Oe(e,n){if(N(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(We(e))for(let o=e.nextProducerIndex;o<e.producerNode.length;o++)Qe(e.producerNode[o],e.producerIndexOfThis[o]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function de(e){ze(e);for(let n=0;n<e.producerNode.length;n++){const o=e.producerNode[n],t=e.producerLastReadVersion[n];if(t!==o.version||(ge(o),t!==o.version))return!0}return!1}function ve(e){if(ze(e),We(e))for(let n=0;n<e.producerNode.length;n++)Qe(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 Pe(e,n,o){if(lt(e),ze(e),0===e.liveConsumerNode.length)for(let t=0;t<e.producerNode.length;t++)e.producerIndexOfThis[t]=Pe(e.producerNode[t],e,t);return e.liveConsumerIndexOfThis.push(o),e.liveConsumerNode.push(n)-1}function Qe(e,n){if(lt(e),ze(e),1===e.liveConsumerNode.length)for(let t=0;t<e.producerNode.length;t++)Qe(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];ze(i),i.producerIndexOfThis[t]=n}}function We(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 ze(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 lt(e){var n,o;null!==(n=e.liveConsumerNode)&&void 0!==n||(e.liveConsumerNode=[]),null!==(o=e.liveConsumerIndexOfThis)&&void 0!==o||(e.liveConsumerIndexOfThis=[])}const ut=Symbol("UNSET"),Ee=Symbol("COMPUTING"),He=Symbol("ERRORED"),Ze={...ce,value:ut,dirty:!0,error:null,equal:ne,producerMustRecompute:e=>e.value===ut||e.value===Ee,producerRecomputeValue(e){if(e.value===Ee)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Ee;const o=W(e);let t;try{t=e.computation()}catch(i){t=He,e.error=i}finally{Oe(e,o)}n!==ut&&n!==He&&t!==He&&e.equal(n,t)?e.value=n:(e.value=t,e.version++)}};let Qt=function Ct(){throw new Error};function yt(){Qt()}let ae=null;function Vt(e,n){le()||yt(),e.equal(e.value,n)||(e.value=n,function jn(e){var n;e.version++,function fe(){j++}(),Te(e),null===(n=ae)||void 0===n||n()}(e))}const zt={...ce,equal:ne,value:void 0};const Do=()=>{},gn={...ce,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Do};function on(e){return"function"==typeof e}function Ii(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 Wt=Ii(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 si(e,n){if(e){const o=e.indexOf(n);0<=o&&e.splice(o,1)}}class Nt{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(on(t))try{t()}catch(r){n=r instanceof Wt?r.errors:[r]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const r of i)try{Wo(r)}catch(a){n=null!=n?n:[],a instanceof Wt?n=[...n,...a.errors]:n.push(a)}}if(n)throw new Wt(n)}}add(n){var o;if(n&&n!==this)if(this.closed)Wo(n);else{if(n instanceof Nt){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)&&si(o,n)}remove(n){const{_finalizers:o}=this;o&&si(o,n),n instanceof Nt&&n._removeParent(this)}}Nt.EMPTY=(()=>{const e=new Nt;return e.closed=!0,e})();const bt=Nt.EMPTY;function Tt(e){return e instanceof Nt||e&&"closed"in e&&on(e.remove)&&on(e.add)&&on(e.unsubscribe)}function Wo(e){on(e)?e():e.unsubscribe()}const an={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},go={setTimeout(e,n,...o){const{delegate:t}=go;return null!=t&&t.setTimeout?t.setTimeout(e,n,...o):setTimeout(e,n,...o)},clearTimeout(e){const{delegate:n}=go;return((null==n?void 0:n.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Bn(e){go.setTimeout(()=>{const{onUnhandledError:n}=an;if(!n)throw e;n(e)})}function Ue(){}const Ye=ee("C",void 0,void 0);function ee(e,n,o){return{kind:e,value:n,error:o}}let se=null;function be(e){if(an.useDeprecatedSynchronousErrorHandling){const n=!se;if(n&&(se={errorThrown:!1,error:null}),e(),n){const{errorThrown:o,error:t}=se;if(se=null,o)throw t}}else e()}class G extends Nt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Tt(n)&&n.add(this)):this.destination=Mt}static create(n,o,t){return new Re(n,o,t)}next(n){this.isStopped?Ce(function V(e){return ee("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ce(function Ie(e){return ee("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ce(Ye,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 pe=Function.prototype.bind;function _e(e,n){return pe.call(e,n)}class Ne{constructor(n){this.partialObserver=n}next(n){const{partialObserver:o}=this;if(o.next)try{o.next(n)}catch(t){ke(t)}}error(n){const{partialObserver:o}=this;if(o.error)try{o.error(n)}catch(t){ke(t)}else ke(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(o){ke(o)}}}class Re extends G{constructor(n,o,t){let i;if(super(),on(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&&an.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&_e(n.next,r),error:n.error&&_e(n.error,r),complete:n.complete&&_e(n.complete,r)}):i=n}this.destination=new Ne(i)}}function ke(e){an.useDeprecatedSynchronousErrorHandling?function w(e){an.useDeprecatedSynchronousErrorHandling&&se&&(se.errorThrown=!0,se.error=e)}(e):Bn(e)}function Ce(e,n){const{onStoppedNotification:o}=an;o&&go.setTimeout(()=>o(e,n))}const Mt={closed:!0,next:Ue,error:function Fe(e){throw e},complete:Ue},It="function"==typeof Symbol&&Symbol.observable||"@@observable";function Kt(e){return e}function Et(e){return 0===e.length?Kt:1===e.length?e[0]:function(o){return e.reduce((t,i)=>i(t),o)}}let Jt=(()=>{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 Gn(e){return e&&e instanceof G||function In(e){return e&&on(e.next)&&on(e.error)&&on(e.complete)}(e)&&Tt(e)}(o)?o:new Re(o,t,i);return be(()=>{const{operator:a,source:l}=this;r.add(a?a.call(r,l):l?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=Kn(t))((i,r)=>{const a=new Re({next:l=>{try{o(l)}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)}[It](){return this}pipe(...o){return Et(o)(this)}toPromise(o){return new(o=Kn(o))((t,i)=>{let r;this.subscribe(a=>r=a,a=>i(a),()=>t(r))})}}return e.create=n=>new e(n),e})();function Kn(e){var n;return null!==(n=null!=e?e:an.Promise)&&void 0!==n?n:Promise}const jo=Ii(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let sn=(()=>{class e extends Jt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(o){const t=new Io(this,this);return t.operator=o,t}_throwIfClosed(){if(this.closed)throw new jo}next(o){be(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(o)}})}error(o){be(()=>{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(){be(()=>{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?bt:(this.currentObservers=null,r.push(o),new Nt(()=>{this.currentObservers=null,si(r,o)}))}_checkFinalizedStatuses(o){const{hasError:t,thrownError:i,isStopped:r}=this;t?o.error(i):r&&o.complete()}asObservable(){const o=new Jt;return o.source=this,o}}return e.create=(n,o)=>new Io(n,o),e})();class Io extends sn{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:bt}}class An extends sn{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 Bi(e){return on(null==e?void 0:e.lift)}function So(e){return n=>{if(Bi(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 Go(e,n,o,t,i){return new Xs(e,n,o,t,i)}class Xs extends G{constructor(n,o,t,i,r,a){super(n),this.onFinalize=r,this.shouldUnsubscribe=a,this._next=o?function(l){try{o(l)}catch(d){n.error(d)}}:super._next,this._error=i?function(l){try{i(l)}catch(d){n.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=t?function(){try{t()}catch(l){n.error(l)}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 wt(e,n){return So((o,t)=>{let i=0;o.subscribe(Go(t,r=>{t.next(e.call(n,r,i++))}))})}const tl="https://g.co/ng/security#xss";class et extends Error{constructor(n,o){super(function Ao(e,n){const o="NG0".concat(Math.abs(e));return"".concat(o).concat(n?": "+n:"")}(n,o)),this.code=n}}function oa(e){return{toString:e}.toString()}const Er="__parameters__";function ia(e,n,o){return oa(()=>{const t=function en(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 l.annotation=a,l;function l(d,u,f){const v=d.hasOwnProperty(Er)?d[Er]:Object.defineProperty(d,Er,{value:[]})[Er];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 Zn=globalThis;function to(e){for(let n in e)if(e[n]===to)return n;throw Error("Could not find renamed property on target object.")}function Md(e,n){for(const o in n)n.hasOwnProperty(o)&&!e.hasOwnProperty(o)&&(e[o]=n[o])}function vt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(vt).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 Rn(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const xc=to({__forward_ref__:to});function Un(e){return e.__forward_ref__=Un,e.toString=function(){return vt(this())},e}function xn(e){return yd(e)?e():e}function yd(e){return"function"==typeof e&&e.hasOwnProperty(xc)&&e.__forward_ref__===Un}function rt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function tn(e){return{providers:e.providers||[],imports:e.imports||[]}}function jr(e){return Bp(e,kc)||Bp(e,Dc)}function Bp(e,n){return e.hasOwnProperty(n)?e[n]:null}function zl(e){return e&&(e.hasOwnProperty($p)||e.hasOwnProperty(Hp))?e[$p]:null}const kc=to({\u0275prov:to}),$p=to({\u0275inj:to}),Dc=to({ngInjectableDef:to}),Hp=to({ngInjectorDef:to});class At{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=rt({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return"InjectionToken ".concat(this._desc)}}function wd(e){return e&&!!e.\u0275providers}const Yl=to({\u0275cmp:to}),ra=to({\u0275dir:to}),Ec=to({\u0275pipe:to}),va=to({\u0275mod:to}),$i=to({\u0275fac:to}),il=to({__NG_ELEMENT_ID__:to}),rl=to({__NG_ENV_ID__:to});function Vn(e){return"string"==typeof e?e:null==e?"":String(e)}function Ic(e,n){throw new et(-201,!1)}var Gt=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}(Gt||{});let Vp;function zp(){return Vp}function wi(e){const n=Vp;return Vp=e,n}function cl(e,n,o){const t=jr(e);return t&&"root"==t.providedIn?void 0===t.value?t.value=t.factory():t.value:o&Gt.Optional?null:void 0!==n?n:void Ic()}const os={},Ac="__NG_DI_FLAG__",uo="ngTempTokenPath",y=/\n/gm,B="__source";let me;function ot(e){const n=me;return me=e,n}function xt(e,n=Gt.Default){if(void 0===me)throw new et(-203,!1);return null===me?cl(e,void 0,n):me.get(e,n&Gt.Optional?null:void 0,n)}function Se(e,n=Gt.Default){return(zp()||xt)(xn(e),n)}function Ge(e,n=Gt.Default){return Se(e,wn(n))}function wn(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bo(e){const n=[];for(let o=0;o<e.length;o++){const t=xn(e[o]);if(Array.isArray(t)){if(0===t.length)throw new et(900,!1);let i,r=Gt.Default;for(let a=0;a<t.length;a++){const l=t[a],d=$a(l);"number"==typeof d?-1===d?i=l.token:r|=d:i=l}n.push(Se(i,r))}else n.push(Se(t))}return n}function li(e,n){return e[Ac]=n,e.prototype[Ac]=n,e}function $a(e){return e[Ac]}const Pu=li(ia("Optional"),8),Ha=li(ia("SkipSelf"),4);function Kl(e,n){return e.hasOwnProperty($i)?e[$i]:null}function xu(e,n){e.forEach(o=>Array.isArray(o)?xu(o,n):n(o))}function Rm(e,n,o){n>=e.length?e.push(o):e.splice(n,0,o)}function wu(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Va(e,n,o){let t=Dd(e,n);return t>=0?e[1|t]=o:(t=~t,function Nm(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 Bm(e,n){const o=Dd(e,n);if(o>=0)return e[1|o]}function Dd(e,n){return function ku(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 Os={},To=[],Ql=new At(""),Up=new At("",-1),Mh=new At("");class Sd{get(n,o=os){if(o===os){const t=new Error("NullInjectorError: No provider for ".concat(vt(n),"!"));throw t.name="NullInjectorError",t}return o}}var ba=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ba||{}),za=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(za||{}),tt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(tt||{});function $m(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 yh(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++],l=o[t++];e.setAttribute(n,a,l,r)}else{const r=i,a=o[++t];Oh(r)?e.setProperty(n,r,a):e.setAttribute(n,r,a),t++}}return t}function Hm(e){return 3===e||4===e||6===e}function Oh(e){return 64===e.charCodeAt(0)}function Yp(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||Vv(e,o,i,null,-1===o||2===o?n[++t]:null)}}return e}function Vv(e,n,o,t,i){let r=0,a=e.length;if(-1===n)a=-1;else for(;r<e.length;){const l=e[r++];if("number"==typeof l){if(l===n){a=-1;break}if(l>n){a=r-1;break}}}for(;r<e.length;){const l=e[r];if("number"==typeof l)break;if(l===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 Td(e,n,o,t){let i=0;if(t){for(;i<n.length&&"string"==typeof n[i];i+=2)if("class"===n[i]&&-1!==$m(n[i+1].toLowerCase(),o,0))return!0}else if(Fc(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 Fc(e){return 4===e.type&&e.value!==zv}function Du(e,n,o){return n===(4!==e.type||o?e.value:zv)}function Vm(e,n,o){let t=4;const i=e.attrs,r=null!==i?function Id(e){for(let n=0;n<e.length;n++)if(Hm(e[n]))return n;return e.length}(i):0;let a=!1;for(let l=0;l<n.length;l++){const d=n[l];if("number"!=typeof d){if(!a)if(4&t){if(t=2|1&t,""!==d&&!Du(e,d,o)||""===d&&1===n.length){if(ja(t))return!1;a=!0}}else if(8&t){if(null===i||!Td(e,i,d,o)){if(ja(t))return!1;a=!0}}else{const u=n[++l],f=jv(d,i,Fc(e),o);if(-1===f){if(ja(t))return!1;a=!0;continue}if(""!==u){let v;if(v=f>r?"":i[f+1].toLowerCase(),2&t&&u!==v){if(ja(t))return!1;a=!0}}}}else{if(!a&&!ja(t)&&!ja(d))return!1;if(a&&ja(d))continue;a=!1,t=d|1&t}}return ja(t)||a}function ja(e){return!(1&e)}function jv(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 l=n[++i];for(;"string"==typeof l;)l=n[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=r?1:2}return-1}return function sa(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 Ph(e,n,o=!1){for(let t=0;t<n.length;t++)if(Vm(e,n[t],o))return!0;return!1}function Lc(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 Jl(e,n){return e?":not("+n.trim()+")":n}function xh(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 l=e[++o];i+="["+a+(l.length>0?'="'+l+'"':"")+"]"}else 8&t?i+="."+a:4&t&&(i+=" "+a);else""!==i&&!ja(a)&&(n+=Jl(r,i),i=""),t=a,r=r||!ja(t);o++}return""!==i&&(n+=Jl(r,i)),n}function gt(e){return oa(()=>{var n;const o=Wp(e),t={...o,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ba.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||za.Emulated,styles:e.styles||To,_:null,schemas:e.schemas||null,tView:null,id:""};Gv(t);const i=e.dependencies;return t.directiveDefs=wh(i,!1),t.pipeDefs=wh(i,!0),t.id=function jm(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 Yv(e){return ao(e)||Yi(e)}function zm(e){return null!==e}function ln(e){return oa(()=>({type:e.type,bootstrap:e.bootstrap||To,declarations:e.declarations||To,imports:e.imports||To,exports:e.exports||To,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Wv(e,n){if(null==e)return Os;const o={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let a,l,d=tt.None;var t;Array.isArray(r)?(d=r[0],a=r[1],l=null!==(t=r[2])&&void 0!==t?t:a):(a=r,l=r),n?(o[a]=d!==tt.None?[i,d]:i,n[a]=l):o[a]=i}return o}function jt(e){return oa(()=>{const n=Wp(e);return Gv(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 ao(e){return e[Yl]||null}function Yi(e){return e[ra]||null}function Hi(e){return e[Ec]||null}function Ir(e,n){const o=e[va]||null;if(!o&&!0===n)throw new Error("Type ".concat(vt(e)," does not have '\u0275mod' property."));return o}function Wp(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||Os,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||To,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Wv(e.inputs,n),outputs:Wv(e.outputs),debugInfo:null}}function Gv(e){var n;null===(n=e.features)||void 0===n||n.forEach(o=>o(e))}function wh(e,n){if(!e)return null;const o=n?Hi:Yv;return()=>("function"==typeof e?e():e).map(t=>o(t)).filter(zm)}function Rc(e){return{\u0275providers:e}}function Su(...e){return{\u0275providers:Ad(0,e),\u0275fromNgModule:!0}}function Ad(e,...n){const o=[],t=new Set;let i;const r=a=>{o.push(a)};return xu(n,a=>{const l=a;Fd(l,r,[],t)&&(i||(i=[]),i.push(l))}),void 0!==i&&qv(i,r),o}function qv(e,n){for(let o=0;o<e.length;o++){const{ngModule:t,providers:i}=e[o];Ld(i,r=>{n(r,t)})}}function Fd(e,n,o,t){if(!(e=xn(e)))return!1;let i=null,r=zl(e);const a=!r&&ao(e);if(r||a){if(a&&!a.standalone)return!1;i=e}else{const d=e.ngModule;if(r=zl(d),!r)return!1;i=d}const l=t.has(i);if(a){if(l)return!1;if(t.add(i),a.dependencies){const d="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const u of d)Fd(u,n,o,t)}}else{if(!r)return!1;{if(null!=r.imports&&!l){let u;t.add(i);try{xu(r.imports,f=>{Fd(f,n,o,t)&&(u||(u=[]),u.push(f))})}finally{}void 0!==u&&qv(u,n)}if(!l){const u=Kl(i)||(()=>new i);n({provide:i,useFactory:u,deps:To},i),n({provide:Mh,useValue:i,multi:!0},i),n({provide:Ql,useValue:()=>Se(i),multi:!0},i)}const d=r.providers;if(null!=d&&!l){const u=e;Ld(d,f=>{n(f,u)})}}}return i!==e&&void 0!==e.providers}function Ld(e,n){for(let o of e)wd(o)&&(o=o.\u0275providers),Array.isArray(o)?Ld(o,n):n(o)}const Kv=to({provide:String,useValue:to});function Xl(e){return null!==e&&"object"==typeof e&&Kv in e}function xs(e){return"function"==typeof e}const kh=new At(""),Gp={},Zv={};let Um;function dl(){return void 0===Um&&(Um=new Sd),Um}class Wi{}class Iu extends Wi{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,Gi(n,a=>this.processProvider(a)),this.records.set(Up,Au(void 0,this)),i.has("environment")&&this.records.set(Wi,Au(void 0,this));const r=this.records.get(kh);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Mh,To,Gt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=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(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const o=ot(this),t=wi(void 0);try{return n()}finally{ot(o),wi(t)}}get(n,o=os,t=Gt.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(rl))return n[rl](this);t=wn(t);const r=ot(this),a=wi(void 0);try{if(!(t&Gt.SkipSelf)){let d=this.records.get(n);if(void 0===d){const u=function Ur(e){return"function"==typeof e||"object"==typeof e&&e instanceof At}(n)&&jr(n);d=u&&this.injectableDefInScope(u)?Au(Ym(n),Gp):null,this.records.set(n,d)}if(null!=d)return this.hydrate(n,d)}return(t&Gt.Self?dl():this.parent).get(n,o=t&Gt.Optional&&o===os?null:o)}catch(l){if("NullInjectorError"===l.name){if((l[uo]=l[uo]||[]).unshift(vt(n)),r)throw l;return function Ca(e,n,o,t){const i=e[uo];throw n[B]&&i.unshift(n[B]),e.message=function ql(e,n,o,t=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=vt(n);if(Array.isArray(n))i=n.map(vt).join(" -> ");else if("object"==typeof n){let r=[];for(let a in n)if(n.hasOwnProperty(a)){let l=n[a];r.push(a+":"+("string"==typeof l?JSON.stringify(l):vt(l)))}i="{".concat(r.join(", "),"}")}return"".concat(o).concat(t?"("+t+")":"","[").concat(i,"]: ").concat(e.replace(y,"\n "))}("\n"+e.message,i,o,t),e.ngTokenPath=i,e[uo]=null,e}(l,n,"R3InjectorError",this.source)}throw l}finally{wi(a),ot(r)}}resolveInjectorInitializers(){const n=N(null),o=ot(this),t=wi(void 0);try{const r=this.get(Ql,To,Gt.Self);for(const a of r)a()}finally{ot(o),wi(t),N(n)}}toString(){const n=[],o=this.records;for(const t of o.keys())n.push(vt(t));return"R3Injector[".concat(n.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new et(205,!1)}processProvider(n){let o=xs(n=xn(n))?n:xn(n&&n.provide);const t=function M1(e){return Xl(e)?Au(void 0,e.useValue):Au(Qv(e),Gp)}(n);if(!xs(n)&&!0===n.multi){let i=this.records.get(o);i||(i=Au(void 0,Gp,!0),i.factory=()=>Bo(i.multi),this.records.set(o,i)),o=n,i.multi.push(n)}this.records.set(o,t)}hydrate(n,o){const t=N(null);try{return o.value===Gp&&(o.value=Zv,o.value=o.factory()),"object"==typeof o.value&&o.value&&function ar(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{N(t)}}injectableDefInScope(n){if(!n.providedIn)return!1;const o=xn(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 Ym(e){const n=jr(e),o=null!==n?n.factory:Kl(e);if(null!==o)return o;if(e instanceof At)throw new et(204,!1);if(e instanceof Function)return function b1(e){if(e.length>0)throw new et(204,!1);const o=function Ch(e){return e&&(e[kc]||e[Dc])||null}(e);return null!==o?()=>o.factory(e):()=>new e}(e);throw new et(204,!1)}function Qv(e,n,o){let t;if(xs(e)){const i=xn(e);return Kl(i)||Ym(i)}if(Xl(e))t=()=>xn(e.useValue);else if(function Nc(e){return!(!e||!e.useFactory)}(e))t=()=>e.useFactory(...Bo(e.deps||[]));else if(function Tu(e){return!(!e||!e.useExisting)}(e))t=()=>Se(xn(e.useExisting));else{const i=xn(e&&(e.useClass||e.provide));if(!function Ma(e){return!!e.deps}(e))return Kl(i)||Ym(i);t=()=>new i(...Bo(e.deps))}return t}function Au(e,n,o=!1){return{factory:e,value:n,multi:o?[]:void 0}}function Gi(e,n){for(const o of e)Array.isArray(o)?Gi(o,n):o&&wd(o)?Gi(o.\u0275providers,n):n(o)}function ya(e,n){e instanceof Iu&&e.assertNotDestroyed();const t=ot(e),i=wi(void 0);try{return n()}finally{ot(t),wi(i)}}function Jv(){return void 0!==zp()||null!=function Ke(){return me}()}function Rd(e){if(!Jv())throw new et(-203,!1)}const Lu=Function;const ci=0,Dt=1,vn=2,Ki=3,rs=4,ti=5,Qn=6,Yr=7,Fo=8,di=9,as=10,$n=11,Ru=12,nC=13,Bc=14,ui=15,Nu=16,$c=17,Ar=18,Bu=19,Zm=20,Hc=21,Vc=22,ec=23,Yn=25,Qm=1,ul=7,tc=9,Vi=10;var Jm=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Jm||{});function Wr(e){return Array.isArray(e)&&"object"==typeof e[Qm]}function Fr(e){return Array.isArray(e)&&!0===e[Qm]}function zc(e){return!!(4&e.flags)}function nc(e){return e.componentOffset>-1}function Bd(e){return!(1&~e.flags)}function ss(e){return!!e.template}function Kp(e){return!!(512&e[vn])}class Hu{constructor(n,o,t){this.previousValue=n,this.currentValue=o,this.firstChange=t}isFirstChange(){return this.firstChange}}function Vu(e,n,o,t){null!==n?n.applyValueToInputSignal(n,t):e[o]=t}function yo(){return t_}function t_(e){return e.type.prototype.ngOnChanges&&(e.setInput=rC),L1}function L1(){const e=Hd(this),n=null==e?void 0:e.current;if(n){const o=e.previous;if(o===Os)e.previous=n;else for(let t in n)o[t]=n[t];e.current=null,this.ngOnChanges(n)}}function rC(e,n,o,t,i){const r=this.declaredInputs[t],a=Hd(e)||function Jp(e,n){return e[oc]=n}(e,{previous:Os,current:null}),l=a.current||(a.current={}),d=a.previous,u=d[r];l[r]=new Hu(u&&u.currentValue,o,d===Os),Vu(e,n,i,o)}yo.ngInherit=!0;const oc="__ngSimpleChanges__";function Hd(e){return e[oc]||null}const pl=function(e,n,o){};let Gr=!1;function ni(e){for(;Array.isArray(e);)e=e[ci];return e}function zu(e,n){return ni(n[e])}function qr(e,n){return ni(n[e.index])}function Xp(e,n){return e.data[n]}function ju(e,n){return e[n]}function Ua(e,n){const o=n[e];return Wr(o)?o:o[ci]}function Vd(e){return!(128&~e[vn])}function Oa(e,n){return null==n?null:e[n]}function gl(e){e[$c]=0}function R1(e){1024&e[vn]||(e[vn]|=1024,Vd(e)&&Uu(e))}function Uc(e){var n;return!!(9216&e[vn]||null!==(n=e[ec])&&void 0!==n&&n.dirty)}function Rh(e){var n;if(null===(n=e[as].changeDetectionScheduler)||void 0===n||n.notify(1),Uc(e))Uu(e);else if(64&e[vn])if(function cC(){return Gr}())e[vn]|=1024,Uu(e);else{var o;null===(o=e[as].changeDetectionScheduler)||void 0===o||o.notify()}}function Uu(e){var n;null===(n=e[as].changeDetectionScheduler)||void 0===n||n.notify();let o=ls(e);for(;null!==o&&!(8192&o[vn])&&(o[vn]|=8192,Vd(o));)o=ls(o)}function eg(e,n){if(!(256&~e[vn]))throw new et(911,!1);null===e[Hc]&&(e[Hc]=[]),e[Hc].push(n)}function ls(e){const n=e[Ki];return Fr(n)?n[Ki]:n}const Hn={lFrame:MC(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function hC(){return Hn.bindingsEnabled}function zd(){return null!==Hn.skipHydrationRootTNode}function ht(){return Hn.lFrame.lView}function mo(){return Hn.lFrame.tView}function Q(e){return Hn.lFrame.contextLView=e,e[Fo]}function J(e){return Hn.lFrame.contextLView=null,e}function qo(){let e=i_();for(;null!==e&&64===e.type;)e=e.parent;return e}function i_(){return Hn.lFrame.currentTNode}function hl(e,n){const o=Hn.lFrame;o.currentTNode=e,o.isParent=n}function og(){return Hn.lFrame.isParent}function jd(){Hn.lFrame.isParent=!1}function la(){const e=Hn.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function ws(){return Hn.lFrame.bindingIndex++}function fl(e){const n=Hn.lFrame,o=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,o}function vC(e,n){const o=Hn.lFrame;o.bindingIndex=o.bindingRootIndex=e,$h(n)}function $h(e){Hn.lFrame.currentDirectiveIndex=e}function s_(e){const n=Hn.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Hh(){return Hn.lFrame.currentQueryIndex}function rc(e){Hn.lFrame.currentQueryIndex=e}function CC(e){const n=e[Dt];return 2===n.type?n.declTNode:1===n.type?e[ti]:null}function rg(e,n,o){if(o&Gt.SkipSelf){let i=n,r=e;for(;!(i=i.parent,null!==i||o&Gt.Host||(i=CC(r),null===i||(r=r[Bc],10&i.type))););if(null===i)return!1;n=i,e=r}const t=Hn.lFrame=bC();return t.currentTNode=n,t.lView=e,!0}function l_(e){const n=bC(),o=e[Dt];Hn.lFrame=n,n.currentTNode=o.firstChild,n.lView=e,n.tView=o,n.contextLView=e,n.bindingIndex=o.bindingStartIndex,n.inI18n=!1}function bC(){const e=Hn.lFrame,n=null===e?null:e.child;return null===n?MC(e):n}function MC(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 mi(){const e=Hn.lFrame;return Hn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const yC=mi;function ag(){const e=mi();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 _i(){return Hn.lFrame.selectedIndex}function ml(e){Hn.lFrame.selectedIndex=e}function oi(){const e=Hn.lFrame;return Xp(e.tView,e.selectedIndex)}function br(){Hn.lFrame.currentNamespace="svg"}let xC=!0;function Ud(){return xC}function ks(e){xC=e}function lg(e,n){for(let u=n.directiveStart,f=n.directiveEnd;u<f;u++){const O=e.data[u].type.prototype,{ngAfterContentInit:D,ngAfterContentChecked:L,ngAfterViewInit:Y,ngAfterViewChecked:X,ngOnDestroy:te}=O;var o,t,i,r,a,l,d;D&&(null!==(o=e.contentHooks)&&void 0!==o?o:e.contentHooks=[]).push(-u,D),L&&((null!==(t=e.contentHooks)&&void 0!==t?t:e.contentHooks=[]).push(u,L),(null!==(i=e.contentCheckHooks)&&void 0!==i?i:e.contentCheckHooks=[]).push(u,L)),Y&&(null!==(r=e.viewHooks)&&void 0!==r?r:e.viewHooks=[]).push(-u,Y),X&&((null!==(a=e.viewHooks)&&void 0!==a?a:e.viewHooks=[]).push(u,X),(null!==(l=e.viewCheckHooks)&&void 0!==l?l:e.viewCheckHooks=[]).push(u,X)),null!=te&&(null!==(d=e.destroyHooks)&&void 0!==d?d:e.destroyHooks=[]).push(u,te)}}function Vh(e,n,o){cg(e,n,3,o)}function ac(e,n,o,t){(3&e[vn])===o&&cg(e,n,o,t)}function u_(e,n){let o=e[vn];(3&o)===n&&(o&=16383,o+=1,e[vn]=o)}function cg(e,n,o,t){const r=null!=t?t:-1,a=n.length-1;let l=0;for(let d=void 0!==t?65535&e[$c]:0;d<a;d++)if("number"==typeof n[d+1]){if(l=n[d],null!=t&&l>=t)break}else n[d]<0&&(e[$c]+=65536),(l<r||-1==r)&&(zi(e,o,n,d),e[$c]=(4294901760&e[$c])+d+2),d++}function wC(e,n){pl(4,e,n);const o=N(null);try{n.call(e)}finally{N(o),pl(5,e,n)}}function zi(e,n,o,t){const i=o[t]<0,r=o[t+1],l=e[i?-o[t]:o[t]];i?e[vn]>>14<e[$c]>>16&&(3&e[vn])===n&&(e[vn]+=16384,wC(l,r)):wC(l,r)}const Gu=-1;class dg{constructor(n,o,t){this.factory=n,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=t}}function C(e){return e!==Gu}function P(e){return 32767&e}function I(e,n){let o=function k(e){return e>>16}(e),t=n;for(;o>0;)t=t[Bc],o--;return t}let F=!0;function ue(e){const n=F;return F=e,n}const je=255,$e=5;let it=0;const ft={};function Rt(e,n){const o=Bt(e,n);if(-1!==o)return o;const t=n[Dt];t.firstCreatePass&&(e.injectorIndex=n.length,Ut(t.data,e),Ut(n,null),Ut(t.blueprint,null));const i=qt(e,n),r=e.injectorIndex;if(C(i)){const a=P(i),l=I(i,n),d=l[Dt].data;for(let u=0;u<8;u++)n[r+u]=l[a+u]|d[a+u]}return n[r+8]=i,r}function Ut(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Bt(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function qt(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=nr(i),null===t)return Gu;if(o++,i=i[Bc],-1!==t.injectorIndex)return t.injectorIndex|o<<16}return Gu}function hn(e,n,o){!function kt(e,n,o){let t;"string"==typeof o?t=o.charCodeAt(0)||0:o.hasOwnProperty(il)&&(t=o[il]),null==t&&(t=o[il]=it++);const i=t&je;n.data[e+(i>>$e)]|=1<<i}(e,n,o)}function no(e,n,o){if(o&Gt.Optional||void 0!==e)return e;Ic()}function Ko(e,n,o,t){if(o&Gt.Optional&&void 0===t&&(t=null),!(o&(Gt.Self|Gt.Host))){const i=e[di],r=wi(void 0);try{return i?i.get(n,t,o&Gt.Optional):cl(n,t,o&Gt.Optional)}finally{wi(r)}}return no(t,0,o)}function tr(e,n,o,t=Gt.Default,i){if(null!==e){if(2048&n[vn]&&!(t&Gt.Self)){const a=function _l(e,n,o,t,i){let r=e,a=n;for(;null!==r&&null!==a&&2048&a[vn]&&!(512&a[vn]);){const l=Mi(r,a,o,t|Gt.Self,ft);if(l!==ft)return l;let d=r.parent;if(!d){const u=a[Zm];if(u){const f=u.get(o,ft,t);if(f!==ft)return f}d=nr(a),a=a[Bc]}r=d}return i}(e,n,o,t,ft);if(a!==ft)return a}const r=Mi(e,n,o,t,ft);if(r!==ft)return r}return Ko(n,o,t,i)}function Mi(e,n,o,t,i){const r=function ca(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(il)?e[il]:void 0;return"number"==typeof n?n>=0?n&je:Ku:n}(o);if("function"==typeof r){if(!rg(n,e,t))return t&Gt.Host?no(i,0,t):Ko(n,o,t,i);try{let a;if(a=r(t),null!=a||t&Gt.Optional)return a;Ic()}finally{yC()}}else if("number"==typeof r){let a=null,l=Bt(e,n),d=Gu,u=t&Gt.Host?n[ui][ti]:null;for((-1===l||t&Gt.SkipSelf)&&(d=-1===l?qt(e,n):n[l+8],d!==Gu&&Zi(t,!1)?(a=n[Dt],l=P(d),n=I(d,n)):l=-1);-1!==l;){const f=n[Dt];if(sr(r,l,f.data)){const v=Pa(l,n,o,a,t,u);if(v!==ft)return v}d=n[l+8],d!==Gu&&Zi(t,n[Dt].data[l+8]===u)&&sr(r,l,n)?(a=f,l=P(d),n=I(d,n)):l=-1}}return i}function Pa(e,n,o,t,i,r){const a=n[Dt],l=a.data[e+8],f=Mr(l,a,o,null==t?nc(l)&&F:t!=a&&!!(3&l.type),i&Gt.Host&&r===l);return null!==f?pi(n,a,f,l):ft}function Mr(e,n,o,t,i){const r=e.providerIndexes,a=n.data,l=1048575&r,d=e.directiveStart,f=r>>20,O=i?l+f:e.directiveEnd;for(let D=t?l:l+f;D<O;D++){const L=a[D];if(D<d&&o===L||D>=d&&L.type===o)return D}if(i){const D=a[d];if(D&&ss(D)&&D.type===o)return d}return null}function pi(e,n,o,t){let i=e[o];const r=n.data;if(function V1(e){return e instanceof dg}(i)){const a=i;a.resolving&&function ys(e,n){throw n&&". Dependency path: ".concat(n.join(" > ")," > ").concat(e),new et(-200,e)}(function Mo(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Vn(e)}(r[o]));const l=ue(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?wi(a.injectImpl):null;rg(e,t,Gt.Default);try{i=e[o]=a.factory(void 0,r,e,t),n.firstCreatePass&&o>=t.directiveStart&&function Uo(e,n,o){const{ngOnChanges:t,ngOnInit:i,ngDoCheck:r}=n.type.prototype;if(t){var a,l;const v=t_(n);(null!==(a=o.preOrderHooks)&&void 0!==a?a:o.preOrderHooks=[]).push(e,v),(null!==(l=o.preOrderCheckHooks)&&void 0!==l?l: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&&wi(u),ue(l),a.resolving=!1,yC()}}return i}function sr(e,n,o){return!!(o[n+(e>>$e)]&1<<e)}function Zi(e,n){return!(e&Gt.Self||e&Gt.Host&&n)}class Lo{constructor(n,o){this._tNode=n,this._lView=o}get(n,o,t){return tr(this._tNode,this._lView,n,wn(t),o)}}function Ku(){return new Lo(qo(),ht())}function nn(e){return oa(()=>{const n=e.prototype.constructor,o=n[$i]||lr(n),t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;){const r=i[$i]||lr(i);if(r&&r!==o)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function lr(e){return yd(e)?()=>{const n=lr(xn(e));return n&&n()}:Kl(e)}function nr(e){const n=e[Dt],o=n.type;return 2===o?n.declTNode:1===o?e[ti]:null}function ND(e,n=null,o=null,t){const i=BD(e,n,o,t);return i.resolveInjectorInitializers(),i}function BD(e,n=null,o=null,t,i=new Set){const r=[o||To,Su(e)];return t=t||("object"==typeof e?void 0:vt(e)),new Iu(r,n||dl(),t||null,i)}let ki=(()=>{var e;class n{static create(t,i){if(Array.isArray(t))return ND({name:""},i,t,"");{var r;const a=null!==(r=t.name)&&void 0!==r?r:"";return ND({name:a},t.parent,t.providers,a)}}}return(e=n).THROW_IF_NOT_FOUND=os,e.NULL=new Sd,e.\u0275prov=rt({token:e,providedIn:"any",factory:()=>Se(Up)}),e.__NG_ELEMENT_ID__=-1,n})();function z1(e){return e.ngOriginalError}class Wc{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&&z1(n);for(;o&&z1(o);)o=z1(o);return o||null}}const HD=new At("",{providedIn:"root",factory:()=>Ge(Wc).handleError.bind(void 0)});let zh=(()=>{var e;class n{}return(e=n).__NG_ELEMENT_ID__=bB,e.__NG_ENV_ID__=o=>o,n})();class CB extends zh{constructor(n){super(),this._lView=n}onDestroy(n){return eg(this._lView,n),()=>function Yu(e,n){if(null===e[Hc])return;const o=e[Hc].indexOf(n);-1!==o&&e[Hc].splice(o,1)}(this._lView,n)}}function bB(){return new CB(ht())}function MB(){return jh(qo(),ht())}function jh(e,n){return new Nn(qr(e,n))}let Nn=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=MB,n})();function zD(e){return e instanceof Nn?e.nativeElement:e}function j1(e){return n=>{setTimeout(e,void 0,n)}}const st=class yB extends sn{constructor(n=!1){var o;super(),this.destroyRef=void 0,this.__isAsync=n,Jv()&&(this.destroyRef=null!==(o=Ge(zh,{optional:!0}))&&void 0!==o?o:void 0)}emit(n){const o=N(null);try{super.next(n)}finally{N(o)}}subscribe(n,o,t){let i=n,r=o||(()=>null),a=t;if(n&&"object"==typeof n){var l,d,u;const v=n;i=null===(l=v.next)||void 0===l?void 0:l.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=j1(r),i&&(i=j1(i)),a&&(a=j1(a)));const f=super.subscribe({next:i,error:r,complete:a});return n instanceof Nt&&n.add(f),f}};function OB(){return this._results[Symbol.iterator]()}class U1{get changes(){var n;return null!==(n=this._changes)&&void 0!==n?n:this._changes=new st}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=U1.prototype;o[Symbol.iterator]||(o[Symbol.iterator]=OB)}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 aa(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function h1(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 kC(e){return!(128&~e.flags)}const Y1=new Map;let xB=0;const G1="__ngContext__";function xa(e,n){Wr(n)?(e[G1]=n[Bu],function kB(e){Y1.set(e[Bu],e)}(n)):e[G1]=n}function JD(e){return eS(e[Ru])}function XD(e){return eS(e[rs])}function eS(e){for(;null!==e&&!Fr(e);)e=e[rs];return e}let q1;function Zu(){if(void 0!==q1)return q1;if(typeof document<"u")return document;throw new et(210,!1)}const TC=new At("",{providedIn:"root",factory:()=>YB}),YB="ng",lS=new At(""),wa=new At("",{providedIn:"platform",factory:()=>"unknown"}),K1=new At(""),Z1=new At("",{providedIn:"root",factory:()=>{var e;return(null===(e=Zu().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let cS=()=>null;function tO(e,n,o=!1){return cS(e,n,o)}const hS=new At("",{providedIn:"root",factory:()=>!1});let BC,$C;function Gh(e){var n;return(null===(n=function rO(){if(void 0===BC&&(BC=null,Zn.trustedTypes))try{BC=Zn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return BC}())||void 0===n?void 0:n.createHTML(e))||e}function aO(){if(void 0===$C&&($C=null,Zn.trustedTypes))try{$C=Zn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $C}function mS(e){var n;return(null===(n=aO())||void 0===n?void 0:n.createHTML(e))||e}function vS(e){var n;return(null===(n=aO())||void 0===n?void 0:n.createScriptURL(e))||e}class ug{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(tl,")")}}class r$ extends ug{getTypeName(){return"HTML"}}class a$ extends ug{getTypeName(){return"Style"}}class s$ extends ug{getTypeName(){return"Script"}}class l$ extends ug{getTypeName(){return"URL"}}class c$ extends ug{getTypeName(){return"ResourceURL"}}function Ds(e){return e instanceof ug?e.changingThisBreaksApplicationSecurity:e}function Gc(e,n){const o=function d$(e){return e instanceof ug&&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(tl,")"))}return o===n}class m${constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const o=(new window.DOMParser).parseFromString(Gh(n),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(n):(o.removeChild(o.firstChild),o)}catch{return null}}}class _${constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const o=this.inertDocument.createElement("template");return o.innerHTML=Gh(n),o}}const C$=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function HC(e){return(e=String(e)).match(C$)?e:"unsafe:"+e}function Gd(e){const n={};for(const o of e.split(","))n[o]=!0;return n}function b_(...e){const n={};for(const o of e)for(const t in o)o.hasOwnProperty(t)&&(n[t]=!0);return n}const bS=Gd("area,br,col,hr,img,wbr"),MS=Gd("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yS=Gd("rp,rt"),sO=b_(bS,b_(MS,Gd("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")),b_(yS,Gd("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")),b_(yS,MS)),lO=Gd("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),OS=b_(lO,Gd("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"),Gd("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-labelledb