@rero/rero-ils-ui
Version:
User interface for RERO integrated library system (RERO ILS).
1 lines • 2.25 MB
JavaScript
(self.webpackChunkpublic_patron_profile=self.webpackChunkpublic_patron_profile||[]).push([[792],{6045:(It,ct,Le)=>{"use strict";function X(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){X(r,t,i,a,s,"next",d)}function s(d){X(r,t,i,a,s,"throw",d)}a(void 0)})}}function ae(e,n){return Object.is(e,n)}let se=null,oe=!1,G=1;const de=Symbol("SIGNAL");function V(e){const n=se;return se=e,n}const me={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 J(e){if(oe)throw new Error("");if(null===se)return;se.consumerOnSignalRead(e);const n=se.nextProducerIndex++;Ye(se),n<se.producerNode.length&&se.producerNode[n]!==e&&Ke(se)&&ot(se.producerNode[n],se.producerIndexOfThis[n]),se.producerNode[n]!==e&&(se.producerNode[n]=e,se.producerIndexOfThis[n]=Ke(se)?Ae(e,se,n):0),se.producerLastReadVersion[n]=e.version}function be(e){if((!Ke(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==G)){if(!e.producerMustRecompute(e)&&!_e(e))return e.dirty=!1,void(e.lastCleanEpoch=G);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=G}}function Oe(e){if(void 0===e.liveConsumerNode)return;const n=oe;oe=!0;try{for(const o of e.liveConsumerNode)o.dirty||Y(o)}finally{oe=n}}function pe(){var e;return!1!==(null===(e=se)||void 0===e?void 0:e.consumerAllowSignalWrites)}function Y(e){var n;e.dirty=!0,Oe(e),null===(n=e.consumerMarkedDirty)||void 0===n||n.call(e,e)}function K(e){return e&&(e.nextProducerIndex=0),V(e)}function Ie(e,n){if(V(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ke(e))for(let o=e.nextProducerIndex;o<e.producerNode.length;o++)ot(e.producerNode[o],e.producerIndexOfThis[o]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _e(e){Ye(e);for(let n=0;n<e.producerNode.length;n++){const o=e.producerNode[n],t=e.producerLastReadVersion[n];if(t!==o.version||(be(o),t!==o.version))return!0}return!1}function ke(e){if(Ye(e),Ke(e))for(let n=0;n<e.producerNode.length;n++)ot(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 Ae(e,n,o){if(ft(e),Ye(e),0===e.liveConsumerNode.length)for(let t=0;t<e.producerNode.length;t++)e.producerIndexOfThis[t]=Ae(e.producerNode[t],e,t);return e.liveConsumerIndexOfThis.push(o),e.liveConsumerNode.push(n)-1}function ot(e,n){if(ft(e),Ye(e),1===e.liveConsumerNode.length)for(let t=0;t<e.producerNode.length;t++)ot(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];Ye(i),i.producerIndexOfThis[t]=n}}function Ke(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 Ye(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 ft(e){var n,o;null!==(n=e.liveConsumerNode)&&void 0!==n||(e.liveConsumerNode=[]),null!==(o=e.liveConsumerIndexOfThis)&&void 0!==o||(e.liveConsumerIndexOfThis=[])}const yt=Symbol("UNSET"),Re=Symbol("COMPUTING"),Ue=Symbol("ERRORED"),Ze={...me,value:yt,dirty:!0,error:null,equal:ae,producerMustRecompute:e=>e.value===yt||e.value===Re,producerRecomputeValue(e){if(e.value===Re)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Re;const o=K(e);let t;try{t=e.computation()}catch(i){t=Ue,e.error=i}finally{Ie(e,o)}n!==yt&&n!==Ue&&t!==Ue&&e.equal(n,t)?e.value=n:(e.value=t,e.version++)}};let rn=function kt(){throw new Error};function Ft(){rn()}let ue=null;function Zt(e,n){pe()||Ft(),e.equal(e.value,n)||(e.value=n,function po(e){var n;e.version++,function Me(){G++}(),Oe(e),null===(n=ue)||void 0===n||n()}(e))}const Wt={...me,equal:ae,value:void 0};const Ho=()=>{},Sn={...me,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ho};function yn(e){return"function"==typeof e}function ji(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=ji(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 ai(e,n){if(e){const o=e.indexOf(n);0<=o&&e.splice(o,1)}}class $t{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(yn(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{li(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)li(n);else{if(n instanceof $t){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)&&ai(o,n)}remove(n){const{_finalizers:o}=this;o&&ai(o,n),n instanceof $t&&n._removeParent(this)}}$t.EMPTY=(()=>{const e=new $t;return e.closed=!0,e})();const Et=$t.EMPTY;function Yt(e){return e instanceof $t||e&&"closed"in e&&yn(e.remove)&&yn(e.add)&&yn(e.unsubscribe)}function li(e){yn(e)?e():e.unsubscribe()}const Mn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Io={setTimeout(e,n,...o){const{delegate:t}=Io;return null!=t&&t.setTimeout?t.setTimeout(e,n,...o):setTimeout(e,n,...o)},clearTimeout(e){const{delegate:n}=Io;return((null==n?void 0:n.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Zn(e){Io.setTimeout(()=>{const{onUnhandledError:n}=Mn;if(!n)throw e;n(e)})}function Ge(){}const qe=re("C",void 0,void 0);function re(e,n,o){return{kind:e,value:n,error:o}}let ge=null;function De(e){if(Mn.useDeprecatedSynchronousErrorHandling){const n=!ge;if(n&&(ge={errorThrown:!1,error:null}),e(),n){const{errorThrown:o,error:t}=ge;if(ge=null,o)throw t}}else e()}class I extends $t{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Yt(n)&&n.add(this)):this.destination=et}static create(n,o,t){return new te(n,o,t)}next(n){this.isStopped?fe(function W(e){return re("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?fe(function Ne(e){return re("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?fe(qe,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 R=Function.prototype.bind;function Q(e,n){return R.call(e,n)}class q{constructor(n){this.partialObserver=n}next(n){const{partialObserver:o}=this;if(o.next)try{o.next(n)}catch(t){he(t)}}error(n){const{partialObserver:o}=this;if(o.error)try{o.error(n)}catch(t){he(t)}else he(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(o){he(o)}}}class te extends I{constructor(n,o,t){let i;if(super(),yn(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&&Mn.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Q(n.next,r),error:n.error&&Q(n.error,r),complete:n.complete&&Q(n.complete,r)}):i=n}this.destination=new q(i)}}function he(e){Mn.useDeprecatedSynchronousErrorHandling?function D(e){Mn.useDeprecatedSynchronousErrorHandling&&ge&&(ge.errorThrown=!0,ge.error=e)}(e):Zn(e)}function fe(e,n){const{onStoppedNotification:o}=Mn;o&&Io.setTimeout(()=>o(e,n))}const et={closed:!0,next:Ge,error:function Ce(e){throw e},complete:Ge},bt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Mt(e){return e}function vt(e){return 0===e.length?Mt:1===e.length?e[0]:function(o){return e.reduce((t,i)=>i(t),o)}}let Nt=(()=>{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 Vn(e){return e&&e instanceof I||function sn(e){return e&&yn(e.next)&&yn(e.error)&&yn(e.complete)}(e)&&Yt(e)}(o)?o:new te(o,t,i);return De(()=>{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 te({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)}[bt](){return this}pipe(...o){return vt(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:Mn.Promise)&&void 0!==n?n:Promise}const so=ji(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let St=(()=>{class e extends Nt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(o){const t=new zt(this,this);return t.operator=o,t}_throwIfClosed(){if(this.closed)throw new so}next(o){De(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(o)}})}error(o){De(()=>{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(){De(()=>{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?Et:(this.currentObservers=null,r.push(o),new $t(()=>{this.currentObservers=null,ai(r,o)}))}_checkFinalizedStatuses(o){const{hasError:t,thrownError:i,isStopped:r}=this;t?o.error(i):r&&o.complete()}asObservable(){const o=new Nt;return o.source=this,o}}return e.create=(n,o)=>new zt(n,o),e})();class zt extends St{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:Et}}class pn extends St{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 yn(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 Pt(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 ze 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 He(e){return{toString:e}.toString()}const An="__parameters__";function fr(e,n,o){return He(()=>{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 C=d.hasOwnProperty(An)?d[An]:Object.defineProperty(d,An,{value:[]})[An];for(;C.length<=f;)C.push(null);return(C[f]=C[f]||[]).push(a),d}}return o&&(i.prototype=Object.create(o.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const go=globalThis;function gt(e){for(let n in e)if(e[n]===gt)return n;throw Error("Could not find renamed property on target object.")}function ln(e,n){for(const o in n)n.hasOwnProperty(o)&&!e.hasOwnProperty(o)&&(e[o]=n[o])}function Qe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Qe).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 Vt(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const Un=gt({__forward_ref__:gt});function Kt(e){return e.__forward_ref__=Kt,e.toString=function(){return Qe(this())},e}function Qt(e){return ci(e)?e():e}function ci(e){return"function"==typeof e&&e.hasOwnProperty(Un)&&e.__forward_ref__===Kt}function Dn(e,n,o,t){throw new Error("ASSERTION ERROR: ".concat(e)+(null==t?"":" [Expected=> ".concat(o," ").concat(t," ").concat(n," <=Actual]")))}function at(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bn(e){return{providers:e.providers||[],imports:e.imports||[]}}function pa(e){return Qp(e,Yc)||Qp(e,Wc)}function Qp(e,n){return e.hasOwnProperty(n)?e[n]:null}function rc(e){return e&&(e.hasOwnProperty(Jp)||e.hasOwnProperty(Xp))?e[Jp]:null}const Yc=gt({\u0275prov:gt}),Jp=gt({\u0275inj:gt}),Wc=gt({ngInjectableDef:gt}),Xp=gt({ngInjectorDef:gt});class qt{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=at({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return"InjectionToken ".concat(this._desc)}}function Vd(e){return e&&!!e.\u0275providers}const lc=gt({\u0275cmp:gt}),xa=gt({\u0275dir:gt}),Kc=gt({\u0275pipe:gt}),La=gt({\u0275mod:gt}),lr=gt({\u0275fac:gt}),Cl=gt({__NG_ELEMENT_ID__:gt}),bl=gt({__NG_ENV_ID__:gt});function ho(e){return"string"==typeof e?e:null==e?"":String(e)}function Zc(e,n){throw new ze(-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 eg;function tg(){return eg}function Zi(e){const n=eg;return eg=e,n}function Ol(e,n,o){const t=pa(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 Zc()}const bs={},Qc="__NG_DI_FLAG__",Ro="ngTempTokenPath",M=/\n/gm,z="__source";let Pe;function pt(e){const n=Pe;return Pe=e,n}function Ht(e,n=mn.Default){if(void 0===Pe)throw new ze(-203,!1);return null===Pe?Ol(e,void 0,n):Pe.get(e,n&mn.Optional?null:void 0,n)}function Se(e,n=mn.Default){return(tg()||Ht)(Qt(e),n)}function Xe(e,n=mn.Default){return Se(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 si(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 ze(900,!1);let i,r=mn.Default;for(let a=0;a<t.length;a++){const s=t[a],d=es(s);"number"==typeof d?-1===d?i=s.token:r|=d:i=s}n.push(Se(i,r))}else n.push(Se(t))}return n}function Ii(e,n){return e[Qc]=n,e.prototype[Qc]=n,e}function es(e){return e[Qc]}const Nu=Ii(fr("Optional"),8),ts=Ii(fr("SkipSelf"),4);function pc(e,n){return e.hasOwnProperty(lr)?e[lr]:null}function Bu(e,n){e.forEach(o=>Array.isArray(o)?Bu(o,n):n(o))}function Zm(e,n,o){n>=e.length?e.push(o):e.splice(n,0,o)}function $u(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ns(e,n,o){let t=jd(e,n);return t>=0?e[1|t]=o:(t=~t,function Qm(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 Jm(e,n){const o=jd(e,n);if(o>=0)return e[1|o]}function jd(e,n){return function Hu(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 js={},ei=[],hc=new qt(""),og=new qt("",-1),Fh=new qt("");class Ud{get(n,o=bs){if(o===bs){const t=new Error("NullInjectorError: No provider for ".concat(Qe(n),"!"));throw t.name="NullInjectorError",t}return o}}var Na=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Na||{}),os=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(os||{}),st=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(st||{});function Xm(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 Lh(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];Rh(r)?e.setProperty(n,r,a):e.setAttribute(n,r,a),t++}}return t}function e_(e){return 3===e||4===e||6===e}function Rh(e){return 64===e.charCodeAt(0)}function ig(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||sC(e,o,i,null,-1===o||2===o?n[++t]:null)}}return e}function sC(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 lC="ng-template";function Yd(e,n,o,t){let i=0;if(t){for(;i<n.length&&"string"==typeof n[i];i+=2)if("class"===n[i]&&-1!==Xm(n[i+1].toLowerCase(),o,0))return!0}else if(Jc(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 Jc(e){return 4===e.type&&e.value!==lC}function Vu(e,n,o){return n===(4!==e.type||o?e.value:lC)}function t_(e,n,o){let t=4;const i=e.attrs,r=null!==i?function Gd(e){for(let n=0;n<e.length;n++)if(e_(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&&!Vu(e,d,o)||""===d&&1===n.length){if(is(t))return!1;a=!0}}else if(8&t){if(null===i||!Yd(e,i,d,o)){if(is(t))return!1;a=!0}}else{const u=n[++s],f=cC(d,i,Jc(e),o);if(-1===f){if(is(t))return!1;a=!0;continue}if(""!==u){let C;if(C=f>r?"":i[f+1].toLowerCase(),2&t&&u!==C){if(is(t))return!1;a=!0}}}}else{if(!a&&!is(t)&&!is(d))return!1;if(a&&is(d))continue;a=!1,t=d|1&t}}return is(t)||a}function is(e){return!(1&e)}function cC(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 ka(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 Nh(e,n,o=!1){for(let t=0;t<n.length;t++)if(t_(e,n[t],o))return!0;return!1}function Xc(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 fc(e,n){return e?":not("+n.trim()+")":n}function Bh(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&&!is(a)&&(n+=fc(r,i),i=""),t=a,r=r||!is(t);o++}return""!==i&&(n+=fc(r,i)),n}function dt(e){return He(()=>{var n;const o=rg(e),t={...o,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Na.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||os.Emulated,styles:e.styles||ei,_:null,schemas:e.schemas||null,tView:null,id:""};gC(t);const i=e.dependencies;return t.directiveDefs=$h(i,!1),t.pipeDefs=$h(i,!0),t.id=function o_(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 uC(e){return Ao(e)||mr(e)}function n_(e){return null!==e}function On(e){return He(()=>({type:e.type,bootstrap:e.bootstrap||ei,declarations:e.declarations||ei,imports:e.imports||ei,exports:e.exports||ei,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function pC(e,n){if(null==e)return js;const o={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let a,s,d=st.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!==st.None?[i,d]:i,n[a]=s):o[a]=i}return o}function on(e){return He(()=>{const n=rg(e);return gC(n),n})}function Co(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[lc]||null}function mr(e){return e[xa]||null}function cr(e){return e[Kc]||null}function ea(e,n){const o=e[La]||null;if(!o&&!0===n)throw new Error("Type ".concat(Qe(e)," does not have '\u0275mod' property."));return o}function rg(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||js,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ei,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pC(e.inputs,n),outputs:pC(e.outputs),debugInfo:null}}function gC(e){var n;null===(n=e.features)||void 0===n||n.forEach(o=>o(e))}function $h(e,n){if(!e)return null;const o=n?cr:uC;return()=>("function"==typeof e?e():e).map(t=>o(t)).filter(n_)}function ed(e){return{\u0275providers:e}}function zu(...e){return{\u0275providers:qd(0,e),\u0275fromNgModule:!0}}function qd(e,...n){const o=[],t=new Set;let i;const r=a=>{o.push(a)};return Bu(n,a=>{const s=a;Kd(s,r,[],t)&&(i||(i=[]),i.push(s))}),void 0!==i&&hC(i,r),o}function hC(e,n){for(let o=0;o<e.length;o++){const{ngModule:t,providers:i}=e[o];Zd(i,r=>{n(r,t)})}}function Kd(e,n,o,t){if(!(e=Qt(e)))return!1;let i=null,r=rc(e);const a=!r&&Ao(e);if(r||a){if(a&&!a.standalone)return!1;i=e}else{const d=e.ngModule;if(r=rc(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)Kd(u,n,o,t)}}else{if(!r)return!1;{if(null!=r.imports&&!s){let u;t.add(i);try{Bu(r.imports,f=>{Kd(f,n,o,t)&&(u||(u=[]),u.push(f))})}finally{}void 0!==u&&hC(u,n)}if(!s){const u=pc(i)||(()=>new i);n({provide:i,useFactory:u,deps:ei},i),n({provide:Fh,useValue:i,multi:!0},i),n({provide:hc,useValue:()=>Se(i),multi:!0},i)}const d=r.providers;if(null!=d&&!s){const u=e;Zd(d,f=>{n(f,u)})}}}return i!==e&&void 0!==e.providers}function Zd(e,n){for(let o of e)Vd(o)&&(o=o.\u0275providers),Array.isArray(o)?Zd(o,n):n(o)}const fC=gt({provide:String,useValue:gt});function mc(e){return null!==e&&"object"==typeof e&&fC in e}function Ys(e){return"function"==typeof e}const Hh=new qt(""),ag={},mC={};let i_;function xl(){return void 0===i_&&(i_=new Ud),i_}class dr{}class Yu extends dr{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,_r(n,a=>this.processProvider(a)),this.records.set(og,Wu(void 0,this)),i.has("environment")&&this.records.set(dr,Wu(void 0,this));const r=this.records.get(Hh);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Fh,ei,mn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=V(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(),V(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const o=pt(this),t=Zi(void 0);try{return n()}finally{pt(o),Zi(t)}}get(n,o=bs,t=mn.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(bl))return n[bl](this);t=eo(t);const r=pt(this),a=Zi(void 0);try{if(!(t&mn.SkipSelf)){let d=this.records.get(n);if(void 0===d){const u=function ga(e){return"function"==typeof e||"object"==typeof e&&e instanceof qt}(n)&&pa(n);d=u&&this.injectableDefInScope(u)?Wu(r_(n),ag):null,this.records.set(n,d)}if(null!=d)return this.hydrate(n,d)}return(t&mn.Self?xl():this.parent).get(n,o=t&mn.Optional&&o===bs?null:o)}catch(s){if("NullInjectorError"===s.name){if((s[Ro]=s[Ro]||[]).unshift(Qe(n)),r)throw s;return function Ra(e,n,o,t){const i=e[Ro];throw n[z]&&i.unshift(n[z]),e.message=function uc(e,n,o,t=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Qe(n);if(Array.isArray(n))i=n.map(Qe).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):Qe(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{Zi(a),pt(r)}}resolveInjectorInitializers(){const n=V(null),o=pt(this),t=Zi(void 0);try{const r=this.get(hc,ei,mn.Self);for(const a of r)a()}finally{pt(o),Zi(t),V(n)}}toString(){const n=[],o=this.records;for(const t of o.keys())n.push(Qe(t));return"R3Injector[".concat(n.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new ze(205,!1)}processProvider(n){let o=Ys(n=Qt(n))?n:Qt(n&&n.provide);const t=function z1(e){return mc(e)?Wu(void 0,e.useValue):Wu(_C(e),ag)}(n);if(!Ys(n)&&!0===n.multi){let i=this.records.get(o);i||(i=Wu(void 0,ag,!0),i.factory=()=>si(i.multi),this.records.set(o,i)),o=n,i.multi.push(n)}this.records.set(o,t)}hydrate(n,o){const t=V(null);try{return o.value===ag&&(o.value=mC,o.value=o.factory()),"object"==typeof o.value&&o.value&&function Er(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{V(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 r_(e){const n=pa(e),o=null!==n?n.factory:pc(e);if(null!==o)return o;if(e instanceof qt)throw new ze(204,!1);if(e instanceof Function)return function V1(e){if(e.length>0)throw new ze(204,!1);const o=function Ih(e){return e&&(e[Yc]||e[Wc])||null}(e);return null!==o?()=>o.factory(e):()=>new e}(e);throw new ze(204,!1)}function _C(e,n,o){let t;if(Ys(e)){const i=Qt(e);return pc(i)||r_(i)}if(mc(e))t=()=>Qt(e.useValue);else if(function td(e){return!(!e||!e.useFactory)}(e))t=()=>e.useFactory(...si(e.deps||[]));else if(function ju(e){return!(!e||!e.useExisting)}(e))t=()=>Se(Qt(e.useExisting));else{const i=Qt(e&&(e.useClass||e.provide));if(!function Ba(e){return!!e.deps}(e))return pc(i)||r_(i);t=()=>new i(...si(e.deps))}return t}function Wu(e,n,o=!1){return{factory:e,value:n,multi:o?[]:void 0}}function _r(e,n){for(const o of e)Array.isArray(o)?_r(o,n):o&&Vd(o)?_r(o.\u0275providers,n):n(o)}function Da(e,n){e instanceof Yu&&e.assertNotDestroyed();const t=pt(e),i=Zi(void 0);try{return n()}finally{pt(t),Zi(i)}}function vC(){return void 0!==tg()||null!=function it(){return Pe}()}function Qd(e){if(!vC())throw new ze(-203,!1)}const qu=Function;const Ai=0,Ut=1,zn=2,Cr=3,Ms=4,Oi=5,xo=6,ha=7,ni=8,Fi=9,Ps=10,co=11,Ku=12,MC=13,nd=14,Li=15,Zu=16,od=17,ta=18,Qu=19,d_=20,id=21,rd=22,_c=23,mo=25,u_=1,wl=7,vc=9,ur=10;var p_=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(p_||{});function fa(e){return Array.isArray(e)&&"object"==typeof e[u_]}function na(e){return Array.isArray(e)&&!0===e[u_]}function ad(e){return!!(4&e.flags)}function Cc(e){return e.componentOffset>-1}function Xd(e){return!(1&~e.flags)}function Os(e){return!!e.template}function lg(e){return!!(512&e[zn])}class Xu{constructor(n,o,t){this.previousValue=n,this.currentValue=o,this.firstChange=t}isFirstChange(){return this.firstChange}}function ep(e,n,o,t){null!==n?n.applyValueToInputSignal(n,t):e[o]=t}function Wo(){return f_}function f_(e){return e.type.prototype.ngOnChanges&&(e.setInput=xC),nP}function nP(){const e=tu(this),n=null==e?void 0:e.current;if(n){const o=e.previous;if(o===js)e.previous=n;else for(let t in n)o[t]=n[t];e.current=null,this.ngOnChanges(n)}}function xC(e,n,o,t,i){const r=this.declaredInputs[t],a=tu(e)||function ug(e,n){return e[bc]=n}(e,{previous:js,current:null}),s=a.current||(a.current={}),d=a.previous,u=d[r];s[r]=new Xu(u&&u.currentValue,o,d===js),ep(e,n,i,o)}Wo.ngInherit=!0;const bc="__ngSimpleChanges__";function tu(e){return e[bc]||null}const kl=function(e,n,o){};let ma=!1;function xi(e){for(;Array.isArray(e);)e=e[Ai];return e}function tp(e,n){return xi(n[e])}function _a(e,n){return xi(n[e.index])}function pg(e,n){return e.data[n]}function np(e,n){return e[n]}function rs(e,n){const o=n[e];return fa(o)?o:o[Ai]}function nu(e){return!(128&~e[zn])}function $a(e,n){return null==n?null:e[n]}function Dl(e){e[od]=0}function oP(e){1024&e[zn]||(e[zn]|=1024,nu(e)&&op(e))}function ld(e){var n;return!!(9216&e[zn]||null!==(n=e[_c])&&void 0!==n&&n.dirty)}function Kh(e){var n;if(null===(n=e[Ps].changeDetectionScheduler)||void 0===n||n.notify(1),ld(e))op(e);else if(64&e[zn])if(function TC(){return ma}())e[zn]|=1024,op(e);else{var o;null===(o=e[Ps].changeDetectionScheduler)||void 0===o||o.notify()}}function op(e){var n;null===(n=e[Ps].changeDetectionScheduler)||void 0===n||n.notify();let o=xs(e);for(;null!==o&&!(8192&o[zn])&&(o[zn]|=8192,nu(o));)o=xs(o)}function gg(e,n){if(!(256&~e[zn]))throw new ze(911,!1);null===e[id]&&(e[id]=[]),e[id].push(n)}function ip(e,n){if(null===e[id])return;const o=e[id].indexOf(n);-1!==o&&e[id].splice(o,1)}function xs(e){const n=e[Cr];return na(n)?n[Cr]:n}const uo={lFrame:VC(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function FC(){return uo.bindingsEnabled}function ou(){return null!==uo.skipHydrationRootTNode}function Ot(){return uo.lFrame.lView}function zo(){return uo.lFrame.tView}function ee(e){return uo.lFrame.contextLView=e,e[ni]}function ne(e){return uo.lFrame.contextLView=null,e}function Ci(){let e=v_();for(;null!==e&&64===e.type;)e=e.parent;return e}function v_(){return uo.lFrame.currentTNode}function Tl(e,n){const o=uo.lFrame;o.currentTNode=e,o.isParent=n}function mg(){return uo.lFrame.isParent}function iu(){uo.lFrame.isParent=!1}function Ta(){const e=uo.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ws(){return uo.lFrame.bindingIndex++}function Sl(e){const n=uo.lFrame,o=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,o}function BC(e,n){const o=uo.lFrame;o.bindingIndex=o.bindingRootIndex=e,Jh(n)}function Jh(e){uo.lFrame.currentDirectiveIndex=e}function y_(e){const n=uo.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Xh(){return uo.lFrame.currentQueryIndex}function Mc(e){uo.lFrame.currentQueryIndex=e}function $C(e){const n=e[Ut];return 2===n.type?n.declTNode:1===n.type?e[Oi]:null}function vg(e,n,o){if(o&mn.SkipSelf){let i=n,r=e;for(;!(i=i.parent,null!==i||o&mn.Host||(i=$C(r),null===i||(r=r[nd],10&i.type))););if(null===i)return!1;n=i,e=r}const t=uo.lFrame=HC();return t.currentTNode=n,t.lView=e,!0}function M_(e){const n=HC(),o=e[Ut];uo.lFrame=n,n.currentTNode=o.firstChild,n.lView=e,n.tView=o,n.contextLView=e,n.bindingIndex=o.bindingStartIndex,n.inI18n=!1}function HC(){const e=uo.lFrame,n=null===e?null:e.child;return null===n?VC(e):n}function VC(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 Bi(){const e=uo.lFrame;return uo.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const zC=Bi;function Cg(){const e=Bi();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 uo.lFrame.selectedIndex}function El(e){uo.lFrame.selectedIndex=e}function wi(){const e=uo.lFrame;return pg(e.tView,e.selectedIndex)}function Wr(){uo.lFrame.currentNamespace="svg"}let YC=!0;function ru(){return YC}function Gs(e){YC=e}function yg(e,n){for(let u=n.directiveStart,f=n.directiveEnd;u<f;u++){const O=e.data[u].type.prototype,{ngAfterContentInit:S,ngAfterContentChecked:$,ngAfterViewInit:Z,ngAfterViewChecked:ie,ngOnDestroy:ce}=O;var o,t,i,r,a,s,d;S&&(null!==(o=e.contentHooks)&&void 0!==o?o:e.contentHooks=[]).push(-u,S),$&&((null!==(t=e.contentHooks)&&void 0!==t?t:e.contentHooks=[]).push(u,$),(null!==(i=e.contentCheckHooks)&&void 0!==i?i:e.contentCheckHooks=[]).push(u,$)),Z&&(null!==(r=e.viewHooks)&&void 0!==r?r:e.viewHooks=[]).push(-u,Z),ie&&((null!==(a=e.viewHooks)&&void 0!==a?a:e.viewHooks=[]).push(u,ie),(null!==(s=e.viewCheckHooks)&&void 0!==s?s:e.viewCheckHooks=[]).push(u,ie)),null!=ce&&(null!==(d=e.destroyHooks)&&void 0!==d?d:e.destroyHooks=[]).push(u,ce)}}function ef(e,n,o){Mg(e,n,3,o)}function Pc(e,n,o,t){(3&e[zn])===o&&Mg(e,n,o,t)}function x_(e,n){let o=e[zn];(3&o)===n&&(o&=16383,o+=1,e[zn]=o)}function Mg(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[od]:0;d<a;d++)if("number"==typeof n[d+1]){if(s=n[d],null!=t&&s>=t)break}else n[d]<0&&(e[od]+=65536),(s<r||-1==r)&&(pr(e,o,n,d),e[od]=(4294901760&e[od])+d+2),d++}function WC(e,n){kl(4,e,n);const o=V(null);try{n.call(e)}finally{V(o),kl(5,e,n)}}function pr(e,n,o,t){const i=o[t]<0,r=o[t+1],s=e[i?-o[t]:o[t]];i?e[zn]>>14<e[od]>>16&&(3&e[zn])===n&&(e[zn]+=16384,WC(s,r)):WC(s,r)}const ap=-1;class Pg{constructor(n,o,t){this.factory=n,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=t}}function y(e){return e!==ap}function k(e){return 32767&e}function A(e,n){let o=function T(e){return e>>16}(e),t=n;for(;o>0;)t=t[nd],o--;return t}let B=!0;function ve(e){const n=B;return B=e,n}const We=255,je=5;let ht=0;const xt={};function Xt(e,n){const o=tn(e,n);if(-1!==o)return o;const t=n[Ut];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(y(i)){const a=k(i),s=A(i,n),d=s[Ut].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=kr(i),null===t)return ap;if(o++,i=i[nd],-1!==t.injectorIndex)return t.injectorIndex|o<<16}return ap}function Rn(e,n,o){!function jt(e,n,o){let t;"string"==typeof o?t=o.charCodeAt(0)||0:o.hasOwnProperty(Cl)&&(t=o[Cl]),null==t&&(t=o[Cl]=ht++);const i=t&We;n.data[e+(i>>je)]|=1<<i}(e,n,o)}function To(e,n,o){if(o&mn.Optional||void 0!==e)return e;Zc()}function bi(e,n,o,t){if(o&mn.Optional&&void 0===t&&(t=null),!(o&(mn.Self|mn.Host))){const i=e[Fi],r=Zi(void 0);try{return i?i.get(n,t,o&mn.Optional):Ol(n,t,o&mn.Optional)}finally{Zi(r)}}return To(t,0,o)}function wr(e,n,o,t=mn.Default,i){if(null!==e){if(2048&n[zn]&&!(t&mn.Self)){const a=function Il(e,n,o,t,i){let r=e,a=n;for(;null!==r&&null!==a&&2048&a[zn]&&!(512&a[zn]);){const s=Yi(r,a,o,t|mn.Self,xt);if(s!==xt)return s;let d=r.parent;if(!d){const u=a[d_];if(u){const f=u.get(o,xt,t);if(f!==xt)return f}d=kr(a),a=a[nd]}r=d}return i}(e,n,o,t,xt);if(a!==xt)return a}const r=Yi(e,n,o,t,xt);if(r!==xt)return r}return bi(n,o,t,i)}function Yi(e,n,o,t,i){const r=function Sa(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Cl)?e[Cl]:void 0;return"number"==typeof n?n>=0?n&We:lp:n}(o);if("function"==typeof r){if(!vg(n,e,t))return t&mn.Host?To(i,0,t):bi(n,o,t,i);try{let a;if(a=r(t),null!=a||t&mn.Optional)return a;Zc()}finally{zC()}}else if("number"==typeof r){let a=null,s=tn(e,n),d=ap,u=t&mn.Host?n[Li][Oi]:null;for((-1===s||t&mn.SkipSelf)&&(d=-1===s?_n(e,n):n[s+8],d!==ap&&br(t,!1)?(a=n[Ut],s=k(d),n=A(d,n)):s=-1);-1!==s;){const f=n[Ut];if(Ir(r,s,f.data)){const C=Ha(s,n,o,a,t,u);if(C!==xt)return C}d=n[s+8],d!==ap&&br(t,n[Ut].data[s+8]===u)&&Ir(r,s,n)?(a=f,s=k(d),n=A(d,n)):s=-1}}return i}function Ha(e,n,o,t,i,r){const a=n[Ut],s=a.data[e+8],f=Gr(s,a,o,null==t?Cc(s)&&B:t!=a&&!!(3&s.type),i&mn.Host&&r===s);return null!==f?Ri(n,a,f,s):xt}function Gr(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 $=a[S];if(S<d&&o===$||S>=d&&$.type===o)return S}if(i){const S=a[d];if(S&&Os(S)&&S.type===o)return d}return null}function Ri(e,n,o,t){let i=e[o];const r=n.data;if(function lP(e){return e instanceof Pg}(i)){const a=i;a.resolving&&function zs(e,n){throw n&&". Dependency path: ".concat(n.join(" > ")," > ").concat(e),new ze(-200,e)}(function Yo(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=ve(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?Zi(a.injectImpl):null;vg(e,t,mn.Default);try{i=e[o]=a.factory(void 0,r,e,t),n.firstCreatePass&&o>=t.directiveStart&&function pi(e,n,o){const{ngOnChanges:t,ngOnInit:i,ngDoCheck:r}=n.type.prototype;if(t){var a,s;const C=f_(n);(null!==(a=o.preOrderHooks)&&void 0!==a?a:o.preOrderHooks=[]).push(e,C),(null!==(s=o.preOrderCheckHooks)&&void 0!==s?s:o.preOrderCheckHooks=[]).push(e,C)}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&&Zi(u),ve(s),a.resolving=!1,zC()}}return i}function Ir(e,n,o){return!!(o[n+(e>>je)]&1<<e)}function br(e,n){return!(e&mn.Self||e&mn.Host&&n)}class oi{constructor(n,o){this._tNode=n,this._lView=o}get(n,o,t){return wr(this._tNode,this._lView,n,eo(t),o)}}function lp(){return new oi(Ci(),Ot())}function xn(e){return He(()=>{const n=e.prototype.constructor,o=n[lr]||Ar(n),t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;){const r=i[lr]||Ar(i);if(r&&r!==o)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function Ar(e){return ci(e)?()=>{const n=Ar(Qt(e));return n&&n()}:pc(e)}function kr(e){const n=e[Ut],o=n.type;return 2===o?n.declTNode:1===o?e[Oi]:null}function sT(e,n=null,o=null,t){const i=lT(e,n,o,t);return i.resolveInjectorInitializers(),i}function lT(e,n=null,o=null,t,i=new Set){const r=[o||ei,zu(e)];return t=t||("object"==typeof e?void 0:Qe(e)),new Yu(r,n||xl(),t||null,i)}let Qi=(()=>{var e;class n{static create(t,i){if(Array.isArray(t))return sT({name:""},i,t,"");{var r;const a=null!==(r=t.name)&&void 0!==r?r:"";return sT({name:a},t.parent,t.providers,a)}}}return(e=n).THROW_IF_NOT_FOUND=bs,e.NULL=new Ud,e.\u0275prov=at({token:e,providedIn:"any",factory:()=>Se(og)}),e.__NG_ELEMENT_ID__=-1,n})();function cP(e){return e.ngOriginalError}class dd{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&&cP(n);for(;o&&cP(o);)o=cP(o);return o||null}}const dT=new qt("",{providedIn:"root",factory:()=>Xe(dd).handleError.bind(void 0)});let tf=(()=>{var e;class n{}return(e=n).__NG_ELEMENT_ID__=e$,e.__NG_ENV_ID__=o=>o,n})();class XB extends tf{constructor(n){super(),this._lView=n}onDestroy(n){return gg(this._lView,n),()=>ip(this._lView,n)}}function e$(){return new XB(Ot())}function t$(){return nf(Ci(),Ot())}function nf(e,n){return new to(_a(e,n))}let to=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=t$,n})();function pT(e){return e instanceof to?e.nativeElement:e}function dP(e){return n=>{setTimeout(e,void 0,n)}}const ut=class n$ extends St{constructor(n=!1){var o;super(),this.destroyRef=void 0,this.__isAsync=n,vC()&&(this.destroyRef=null!==(o=Xe(tf,{optional:!0}))&&void 0!==o?o:void 0)}emit(n){const o=V(null);try{super.next(n)}finally{V(o)}}subscribe(n,o,t){let i=n,r=o||(()=>null),a=t;if(n&&"object"==typeof n){var s,d,u;const C=n;i=null===(s=C.next)||void 0===s?void 0:s.bind(C),r=null===(d=C.error)||void 0===d?void 0:d.bind(C),a=null===(u=C.complete)||void 0===u?void 0:u.bind(C)}this.__isAsync&&(r=dP(r),i&&(i=dP(i)),a&&(a=dP(a)));const f=super.subscribe({next:i,error:r,complete:a});return n instanceof $t&&n.add(f),f}};function o$(){return this._results[Symbol.iterator]()}class uP{get changes(){var n;return null!==(n=this._changes)&&void 0!==n?n:this._changes=new ut}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=uP.prototype;o[Symbol.iterator]||(o[Symbol.iterator]=o$)}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 wa(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function L1(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 GC(e){return!(128&~e.flags)}const pP=new Map;let r$=0;const hP="__ngContext__";function Va(e,n){fa(n)?(e[hP]=n[Qu],function s$(e){pP.set(e[Qu],e)}(n)):e[hP]=n}function MT(e){return OT(e[Ku])}function PT(e){return OT(e[Ms])}function OT(e){for(;null!==e&&!na(e);)e=e[Ms];return e}let fP;function cp(){if(void 0!==fP)return fP;if(typeof document<"u")return document;throw new ze(210,!1)}const ZC=new qt("",{providedIn:"root",factory:()=>x$}),x$="ng",IT=new qt(""),Ea=new qt("",{providedIn:"platform",factory:()=>"unknown"}),mP=new qt(""),_P=new qt("",{providedIn:"root",factory:()=>{var e;return(null===(e=cp().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let AT=()=>null;function MP(e,n,o=!1){return AT(e,n,o)}const BT=new qt("",{providedIn:"root",factory:()=>!1});let ib,rb;function lf(e){var n;return(null===(n=function wP(){if(void 0===ib&&(ib=null,go.trustedTypes))try{ib=go.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ib}())||void 0===n?void 0:n.createHTML(e))||e}function kP(){if(void 0===rb&&(rb=null,go.trustedTypes))try{rb=go.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rb}function HT(e){var n;return(null===(n=kP())||void 0===n?void 0:n.createHTML(e))||e}function zT(e){var n;return(null===(n=kP())||void 0===n?void 0:n.createScriptURL(e))||e}class Og{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(jn,")")}}class $$ extends Og{getTypeName(){return"HTML"}}class H$ extends Og{getTypeName(){return"Style"}}class V$ extends Og{getTypeName(){return"Script"}}class z$ extends Og{getTypeName(){return"URL"}}class j$ extends Og{getTypeName(){return"ResourceURL"}}function qs(e){return e instanceof Og?e.changingThisBreaksApplicationSecurity:e}function ud(e,n){const o=function U$(e){return e instanceof Og&&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 Z${constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const o=(new window.DOMParser).parseFromString(lf(n),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(n):(o.removeChild(o.firstChild),o)}catch{return null}}}class Q${constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const o=this.inertDocument.createElement("template");return o.innerHTML=lf(n),o}}const X$=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ab(e){return(e=String(e)).match(X$)?e:"unsafe:"+e}function lu(e){const n={};for(const o of e.split(","))n[o]=!0;return n}function F_(...e){const n={};for(const o of e)for(const t in o)o.hasOwnProperty(t)&&(n[t]=!0);return n}const UT=lu("area,br,col,hr,img,wbr"),YT=lu("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),WT=lu("rp,rt"),DP=F_(UT,F_(YT,lu("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")),F_(WT,lu("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")),F_(WT,YT)),TP=lu("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),GT=F_(TP,lu("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"),lu("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-de